raspberry_games_engine_helpers 1.8.434 → 1.8.435
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kosi-Kaverit-kaverit.js +56 -56
- package/Kosi-Kodein-kodein-di.js +493 -493
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1401 -1401
- package/Logic_Debertz-core.js +660 -660
- package/Logic_Debertz-engine.d.ts +3 -2
- package/Logic_Debertz-engine.js +8298 -8083
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1074 -1074
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +29 -16
- package/raspberry-cardgame-lib-core.js.map +1 -1
|
@@ -271,77 +271,77 @@
|
|
|
271
271
|
}
|
|
272
272
|
function Json(configuration, serializersModule) {
|
|
273
273
|
Default_getInstance();
|
|
274
|
-
this.
|
|
275
|
-
this.
|
|
276
|
-
this.
|
|
274
|
+
this.r23_1 = configuration;
|
|
275
|
+
this.s23_1 = serializersModule;
|
|
276
|
+
this.t23_1 = new DescriptorSchemaCache();
|
|
277
277
|
}
|
|
278
278
|
protoOf(Json).ao = function () {
|
|
279
|
-
return this.
|
|
279
|
+
return this.s23_1;
|
|
280
280
|
};
|
|
281
|
-
protoOf(Json).
|
|
281
|
+
protoOf(Json).u23 = function (serializer, value) {
|
|
282
282
|
var result = new JsonToStringWriter();
|
|
283
283
|
try {
|
|
284
284
|
encodeByWriter(this, result, serializer, value);
|
|
285
285
|
return result.toString();
|
|
286
286
|
}finally {
|
|
287
|
-
result.
|
|
287
|
+
result.x23();
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
protoOf(Json).
|
|
290
|
+
protoOf(Json).v23 = function (deserializer, string) {
|
|
291
291
|
var lexer = StringJsonLexer_0(this, string);
|
|
292
292
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ck(), null);
|
|
293
293
|
var result = input.kn(deserializer);
|
|
294
|
-
lexer.
|
|
294
|
+
lexer.k24();
|
|
295
295
|
return result;
|
|
296
296
|
};
|
|
297
297
|
function Json_0(from, builderAction) {
|
|
298
298
|
from = from === VOID ? Default_getInstance() : from;
|
|
299
299
|
var builder = new JsonBuilder(from);
|
|
300
300
|
builderAction(builder);
|
|
301
|
-
var conf = builder.
|
|
302
|
-
return new JsonImpl(conf, builder.
|
|
301
|
+
var conf = builder.d25();
|
|
302
|
+
return new JsonImpl(conf, builder.c25_1);
|
|
303
303
|
}
|
|
304
304
|
function JsonBuilder(json) {
|
|
305
|
-
this.
|
|
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
|
-
}
|
|
324
|
-
protoOf(JsonBuilder).
|
|
325
|
-
if (this.
|
|
305
|
+
this.l24_1 = json.r23_1.e25_1;
|
|
306
|
+
this.m24_1 = json.r23_1.j25_1;
|
|
307
|
+
this.n24_1 = json.r23_1.f25_1;
|
|
308
|
+
this.o24_1 = json.r23_1.g25_1;
|
|
309
|
+
this.p24_1 = json.r23_1.i25_1;
|
|
310
|
+
this.q24_1 = json.r23_1.k25_1;
|
|
311
|
+
this.r24_1 = json.r23_1.l25_1;
|
|
312
|
+
this.s24_1 = json.r23_1.n25_1;
|
|
313
|
+
this.t24_1 = json.r23_1.u25_1;
|
|
314
|
+
this.u24_1 = json.r23_1.p25_1;
|
|
315
|
+
this.v24_1 = json.r23_1.q25_1;
|
|
316
|
+
this.w24_1 = json.r23_1.r25_1;
|
|
317
|
+
this.x24_1 = json.r23_1.s25_1;
|
|
318
|
+
this.y24_1 = json.r23_1.t25_1;
|
|
319
|
+
this.z24_1 = json.r23_1.o25_1;
|
|
320
|
+
this.a25_1 = json.r23_1.h25_1;
|
|
321
|
+
this.b25_1 = json.r23_1.m25_1;
|
|
322
|
+
this.c25_1 = json.ao();
|
|
323
|
+
}
|
|
324
|
+
protoOf(JsonBuilder).d25 = function () {
|
|
325
|
+
if (this.b25_1) {
|
|
326
326
|
// Inline function 'kotlin.require' call
|
|
327
|
-
if (!(this.
|
|
327
|
+
if (!(this.s24_1 === 'type')) {
|
|
328
328
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
329
329
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
330
330
|
}
|
|
331
331
|
// Inline function 'kotlin.require' call
|
|
332
|
-
if (!this.
|
|
332
|
+
if (!this.t24_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
333
333
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
334
334
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
if (!this.
|
|
337
|
+
if (!this.p24_1) {
|
|
338
338
|
// Inline function 'kotlin.require' call
|
|
339
|
-
if (!(this.
|
|
339
|
+
if (!(this.q24_1 === ' ')) {
|
|
340
340
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
341
341
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
342
342
|
}
|
|
343
|
-
} else if (!(this.
|
|
344
|
-
var tmp0 = this.
|
|
343
|
+
} else if (!(this.q24_1 === ' ')) {
|
|
344
|
+
var tmp0 = this.q24_1;
|
|
345
345
|
var tmp$ret$7;
|
|
346
346
|
$l$block: {
|
|
347
347
|
// Inline function 'kotlin.text.all' call
|
|
@@ -359,16 +359,16 @@
|
|
|
359
359
|
var allWhitespaces = tmp$ret$7;
|
|
360
360
|
// Inline function 'kotlin.require' call
|
|
361
361
|
if (!allWhitespaces) {
|
|
362
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
362
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.q24_1;
|
|
363
363
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
return new JsonConfiguration(this.
|
|
366
|
+
return new JsonConfiguration(this.l24_1, this.n24_1, this.o24_1, this.a25_1, this.p24_1, this.m24_1, this.q24_1, this.r24_1, this.b25_1, this.s24_1, this.z24_1, this.u24_1, this.v24_1, this.w24_1, this.x24_1, this.y24_1, this.t24_1);
|
|
367
367
|
};
|
|
368
368
|
function validateConfiguration($this) {
|
|
369
369
|
if (equals($this.ao(), EmptySerializersModule()))
|
|
370
370
|
return Unit_instance;
|
|
371
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
371
|
+
var collector = new JsonSerializersModuleValidator($this.r23_1);
|
|
372
372
|
$this.ao().m14(collector);
|
|
373
373
|
}
|
|
374
374
|
function JsonImpl(configuration, module_0) {
|
|
@@ -399,26 +399,26 @@
|
|
|
399
399
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
400
400
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
401
401
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
402
|
-
this.
|
|
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.
|
|
402
|
+
this.e25_1 = encodeDefaults;
|
|
403
|
+
this.f25_1 = ignoreUnknownKeys;
|
|
404
|
+
this.g25_1 = isLenient;
|
|
405
|
+
this.h25_1 = allowStructuredMapKeys;
|
|
406
|
+
this.i25_1 = prettyPrint;
|
|
407
|
+
this.j25_1 = explicitNulls;
|
|
408
|
+
this.k25_1 = prettyPrintIndent;
|
|
409
|
+
this.l25_1 = coerceInputValues;
|
|
410
|
+
this.m25_1 = useArrayPolymorphism;
|
|
411
|
+
this.n25_1 = classDiscriminator;
|
|
412
|
+
this.o25_1 = allowSpecialFloatingPointValues;
|
|
413
|
+
this.p25_1 = useAlternativeNames;
|
|
414
|
+
this.q25_1 = namingStrategy;
|
|
415
|
+
this.r25_1 = decodeEnumsCaseInsensitive;
|
|
416
|
+
this.s25_1 = allowTrailingComma;
|
|
417
|
+
this.t25_1 = allowComments;
|
|
418
|
+
this.u25_1 = classDiscriminatorMode;
|
|
419
419
|
}
|
|
420
420
|
protoOf(JsonConfiguration).toString = function () {
|
|
421
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
421
|
+
return 'JsonConfiguration(encodeDefaults=' + this.e25_1 + ', ignoreUnknownKeys=' + this.f25_1 + ', isLenient=' + this.g25_1 + ', ' + ('allowStructuredMapKeys=' + this.h25_1 + ', prettyPrint=' + this.i25_1 + ', explicitNulls=' + this.j25_1 + ', ') + ("prettyPrintIndent='" + this.k25_1 + "', coerceInputValues=" + this.l25_1 + ', useArrayPolymorphism=' + this.m25_1 + ', ') + ("classDiscriminator='" + this.n25_1 + "', allowSpecialFloatingPointValues=" + this.o25_1 + ', ') + ('useAlternativeNames=' + this.p25_1 + ', namingStrategy=' + toString_0(this.q25_1) + ', decodeEnumsCaseInsensitive=' + this.r25_1 + ', ') + ('allowTrailingComma=' + this.s25_1 + ', allowComments=' + this.t25_1 + ', classDiscriminatorMode=' + this.u25_1.toString() + ')');
|
|
422
422
|
};
|
|
423
423
|
var ClassDiscriminatorMode_NONE_instance;
|
|
424
424
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -468,7 +468,7 @@
|
|
|
468
468
|
JsonElement.call(this);
|
|
469
469
|
}
|
|
470
470
|
protoOf(JsonPrimitive).toString = function () {
|
|
471
|
-
return this.
|
|
471
|
+
return this.x25();
|
|
472
472
|
};
|
|
473
473
|
function Companion_1() {
|
|
474
474
|
}
|
|
@@ -491,59 +491,59 @@
|
|
|
491
491
|
}
|
|
492
492
|
function JsonObject(content) {
|
|
493
493
|
JsonElement.call(this);
|
|
494
|
-
this.
|
|
494
|
+
this.y25_1 = content;
|
|
495
495
|
}
|
|
496
496
|
protoOf(JsonObject).equals = function (other) {
|
|
497
|
-
return equals(this.
|
|
497
|
+
return equals(this.y25_1, other);
|
|
498
498
|
};
|
|
499
499
|
protoOf(JsonObject).hashCode = function () {
|
|
500
|
-
return hashCode(this.
|
|
500
|
+
return hashCode(this.y25_1);
|
|
501
501
|
};
|
|
502
502
|
protoOf(JsonObject).toString = function () {
|
|
503
|
-
var tmp = this.
|
|
503
|
+
var tmp = this.y25_1.u();
|
|
504
504
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
505
505
|
};
|
|
506
506
|
protoOf(JsonObject).r = function () {
|
|
507
|
-
return this.
|
|
507
|
+
return this.y25_1.r();
|
|
508
508
|
};
|
|
509
|
-
protoOf(JsonObject).
|
|
510
|
-
return this.
|
|
509
|
+
protoOf(JsonObject).z25 = function (key) {
|
|
510
|
+
return this.y25_1.w1(key);
|
|
511
511
|
};
|
|
512
512
|
protoOf(JsonObject).w1 = function (key) {
|
|
513
513
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
514
514
|
return false;
|
|
515
|
-
return this.
|
|
515
|
+
return this.z25((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
516
516
|
};
|
|
517
|
-
protoOf(JsonObject).
|
|
518
|
-
return this.
|
|
517
|
+
protoOf(JsonObject).a26 = function (value) {
|
|
518
|
+
return this.y25_1.x1(value);
|
|
519
519
|
};
|
|
520
520
|
protoOf(JsonObject).x1 = function (value) {
|
|
521
521
|
if (!(value instanceof JsonElement))
|
|
522
522
|
return false;
|
|
523
|
-
return this.
|
|
523
|
+
return this.a26(value instanceof JsonElement ? value : THROW_CCE());
|
|
524
524
|
};
|
|
525
|
-
protoOf(JsonObject).
|
|
526
|
-
return this.
|
|
525
|
+
protoOf(JsonObject).b26 = function (key) {
|
|
526
|
+
return this.y25_1.y1(key);
|
|
527
527
|
};
|
|
528
528
|
protoOf(JsonObject).y1 = function (key) {
|
|
529
529
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
530
530
|
return null;
|
|
531
|
-
return this.
|
|
531
|
+
return this.b26((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
532
532
|
};
|
|
533
533
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
534
|
-
return this.
|
|
534
|
+
return this.y25_1.asJsReadonlyMapView();
|
|
535
535
|
};
|
|
536
536
|
protoOf(JsonObject).o = function () {
|
|
537
|
-
return this.
|
|
537
|
+
return this.y25_1.o();
|
|
538
538
|
};
|
|
539
539
|
protoOf(JsonObject).z1 = function () {
|
|
540
|
-
return this.
|
|
540
|
+
return this.y25_1.z1();
|
|
541
541
|
};
|
|
542
542
|
protoOf(JsonObject).a2 = function () {
|
|
543
|
-
return this.
|
|
543
|
+
return this.y25_1.a2();
|
|
544
544
|
};
|
|
545
545
|
protoOf(JsonObject).u = function () {
|
|
546
|
-
return this.
|
|
546
|
+
return this.y25_1.u();
|
|
547
547
|
};
|
|
548
548
|
function Companion_2() {
|
|
549
549
|
}
|
|
@@ -553,84 +553,84 @@
|
|
|
553
553
|
}
|
|
554
554
|
function JsonArray(content) {
|
|
555
555
|
JsonElement.call(this);
|
|
556
|
-
this.
|
|
556
|
+
this.c26_1 = content;
|
|
557
557
|
}
|
|
558
558
|
protoOf(JsonArray).equals = function (other) {
|
|
559
|
-
return equals(this.
|
|
559
|
+
return equals(this.c26_1, other);
|
|
560
560
|
};
|
|
561
561
|
protoOf(JsonArray).hashCode = function () {
|
|
562
|
-
return hashCode(this.
|
|
562
|
+
return hashCode(this.c26_1);
|
|
563
563
|
};
|
|
564
564
|
protoOf(JsonArray).toString = function () {
|
|
565
|
-
return joinToString(this.
|
|
565
|
+
return joinToString(this.c26_1, ',', '[', ']');
|
|
566
566
|
};
|
|
567
567
|
protoOf(JsonArray).r = function () {
|
|
568
|
-
return this.
|
|
568
|
+
return this.c26_1.r();
|
|
569
569
|
};
|
|
570
|
-
protoOf(JsonArray).
|
|
571
|
-
return this.
|
|
570
|
+
protoOf(JsonArray).d26 = function (element) {
|
|
571
|
+
return this.c26_1.o1(element);
|
|
572
572
|
};
|
|
573
573
|
protoOf(JsonArray).o1 = function (element) {
|
|
574
574
|
if (!(element instanceof JsonElement))
|
|
575
575
|
return false;
|
|
576
|
-
return this.
|
|
576
|
+
return this.d26(element instanceof JsonElement ? element : THROW_CCE());
|
|
577
577
|
};
|
|
578
578
|
protoOf(JsonArray).l = function () {
|
|
579
|
-
return this.
|
|
579
|
+
return this.c26_1.l();
|
|
580
580
|
};
|
|
581
|
-
protoOf(JsonArray).
|
|
582
|
-
return this.
|
|
581
|
+
protoOf(JsonArray).e26 = function (elements) {
|
|
582
|
+
return this.c26_1.p1(elements);
|
|
583
583
|
};
|
|
584
584
|
protoOf(JsonArray).p1 = function (elements) {
|
|
585
|
-
return this.
|
|
585
|
+
return this.e26(elements);
|
|
586
586
|
};
|
|
587
587
|
protoOf(JsonArray).p = function (index) {
|
|
588
|
-
return this.
|
|
588
|
+
return this.c26_1.p(index);
|
|
589
589
|
};
|
|
590
|
-
protoOf(JsonArray).
|
|
591
|
-
return this.
|
|
590
|
+
protoOf(JsonArray).f26 = function (element) {
|
|
591
|
+
return this.c26_1.q1(element);
|
|
592
592
|
};
|
|
593
593
|
protoOf(JsonArray).q1 = function (element) {
|
|
594
594
|
if (!(element instanceof JsonElement))
|
|
595
595
|
return -1;
|
|
596
|
-
return this.
|
|
596
|
+
return this.f26(element instanceof JsonElement ? element : THROW_CCE());
|
|
597
597
|
};
|
|
598
|
-
protoOf(JsonArray).
|
|
599
|
-
return this.
|
|
598
|
+
protoOf(JsonArray).g26 = function (element) {
|
|
599
|
+
return this.c26_1.r1(element);
|
|
600
600
|
};
|
|
601
601
|
protoOf(JsonArray).r1 = function (element) {
|
|
602
602
|
if (!(element instanceof JsonElement))
|
|
603
603
|
return -1;
|
|
604
|
-
return this.
|
|
604
|
+
return this.g26(element instanceof JsonElement ? element : THROW_CCE());
|
|
605
605
|
};
|
|
606
606
|
protoOf(JsonArray).s1 = function () {
|
|
607
|
-
return this.
|
|
607
|
+
return this.c26_1.s1();
|
|
608
608
|
};
|
|
609
609
|
protoOf(JsonArray).s = function (index) {
|
|
610
|
-
return this.
|
|
610
|
+
return this.c26_1.s(index);
|
|
611
611
|
};
|
|
612
612
|
protoOf(JsonArray).t1 = function (fromIndex, toIndex) {
|
|
613
|
-
return this.
|
|
613
|
+
return this.c26_1.t1(fromIndex, toIndex);
|
|
614
614
|
};
|
|
615
615
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
616
|
-
return this.
|
|
616
|
+
return this.c26_1.asJsReadonlyArrayView();
|
|
617
617
|
};
|
|
618
618
|
protoOf(JsonArray).o = function () {
|
|
619
|
-
return this.
|
|
619
|
+
return this.c26_1.o();
|
|
620
620
|
};
|
|
621
621
|
function JsonNull() {
|
|
622
622
|
JsonNull_instance = this;
|
|
623
623
|
JsonPrimitive.call(this);
|
|
624
|
-
this.
|
|
624
|
+
this.h26_1 = 'null';
|
|
625
625
|
}
|
|
626
|
-
protoOf(JsonNull).
|
|
627
|
-
return this.
|
|
626
|
+
protoOf(JsonNull).x25 = function () {
|
|
627
|
+
return this.h26_1;
|
|
628
628
|
};
|
|
629
|
-
protoOf(JsonNull).
|
|
629
|
+
protoOf(JsonNull).e18 = function () {
|
|
630
630
|
return JsonNullSerializer_getInstance();
|
|
631
631
|
};
|
|
632
632
|
protoOf(JsonNull).dw = function (typeParamsSerializers) {
|
|
633
|
-
return this.
|
|
633
|
+
return this.e18();
|
|
634
634
|
};
|
|
635
635
|
var JsonNull_instance;
|
|
636
636
|
function JsonNull_getInstance() {
|
|
@@ -641,31 +641,31 @@
|
|
|
641
641
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
642
642
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
643
643
|
JsonPrimitive.call(this);
|
|
644
|
-
this.
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
647
|
-
if (!(this.
|
|
644
|
+
this.i26_1 = isString;
|
|
645
|
+
this.j26_1 = coerceToInlineType;
|
|
646
|
+
this.k26_1 = toString(body);
|
|
647
|
+
if (!(this.j26_1 == null)) {
|
|
648
648
|
// Inline function 'kotlin.require' call
|
|
649
649
|
// Inline function 'kotlin.require' call
|
|
650
|
-
if (!this.
|
|
650
|
+
if (!this.j26_1.tl()) {
|
|
651
651
|
var message = 'Failed requirement.';
|
|
652
652
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
protoOf(JsonLiteral).
|
|
657
|
-
return this.
|
|
656
|
+
protoOf(JsonLiteral).x25 = function () {
|
|
657
|
+
return this.k26_1;
|
|
658
658
|
};
|
|
659
659
|
protoOf(JsonLiteral).toString = function () {
|
|
660
660
|
var tmp;
|
|
661
|
-
if (this.
|
|
661
|
+
if (this.i26_1) {
|
|
662
662
|
// Inline function 'kotlin.text.buildString' call
|
|
663
663
|
// Inline function 'kotlin.apply' call
|
|
664
664
|
var this_0 = StringBuilder_init_$Create$();
|
|
665
|
-
printQuoted(this_0, this.
|
|
665
|
+
printQuoted(this_0, this.k26_1);
|
|
666
666
|
tmp = this_0.toString();
|
|
667
667
|
} else {
|
|
668
|
-
tmp = this.
|
|
668
|
+
tmp = this.k26_1;
|
|
669
669
|
}
|
|
670
670
|
return tmp;
|
|
671
671
|
};
|
|
@@ -676,36 +676,36 @@
|
|
|
676
676
|
return false;
|
|
677
677
|
if (!(other instanceof JsonLiteral))
|
|
678
678
|
THROW_CCE();
|
|
679
|
-
if (!(this.
|
|
679
|
+
if (!(this.i26_1 === other.i26_1))
|
|
680
680
|
return false;
|
|
681
|
-
if (!(this.
|
|
681
|
+
if (!(this.k26_1 === other.k26_1))
|
|
682
682
|
return false;
|
|
683
683
|
return true;
|
|
684
684
|
};
|
|
685
685
|
protoOf(JsonLiteral).hashCode = function () {
|
|
686
|
-
var result = getBooleanHashCode(this.
|
|
687
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
686
|
+
var result = getBooleanHashCode(this.i26_1);
|
|
687
|
+
result = imul(31, result) + getStringHashCode(this.k26_1) | 0;
|
|
688
688
|
return result;
|
|
689
689
|
};
|
|
690
690
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
691
691
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
692
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
692
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.x25());
|
|
693
693
|
}
|
|
694
694
|
function parseLongImpl(_this__u8e3s4) {
|
|
695
695
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
696
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
696
|
+
return (new StringJsonLexer(_this__u8e3s4.x25())).l26();
|
|
697
697
|
}
|
|
698
698
|
function get_float(_this__u8e3s4) {
|
|
699
699
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
700
700
|
// Inline function 'kotlin.text.toFloat' call
|
|
701
|
-
var this_0 = _this__u8e3s4.
|
|
701
|
+
var this_0 = _this__u8e3s4.x25();
|
|
702
702
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
703
703
|
// Inline function 'kotlin.js.asDynamic' call
|
|
704
704
|
return toDouble(this_0);
|
|
705
705
|
}
|
|
706
706
|
function get_double(_this__u8e3s4) {
|
|
707
707
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
708
|
-
return toDouble(_this__u8e3s4.
|
|
708
|
+
return toDouble(_this__u8e3s4.x25());
|
|
709
709
|
}
|
|
710
710
|
function get_contentOrNull(_this__u8e3s4) {
|
|
711
711
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -713,7 +713,7 @@
|
|
|
713
713
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
714
714
|
tmp = null;
|
|
715
715
|
} else {
|
|
716
|
-
tmp = _this__u8e3s4.
|
|
716
|
+
tmp = _this__u8e3s4.x25();
|
|
717
717
|
}
|
|
718
718
|
return tmp;
|
|
719
719
|
}
|
|
@@ -754,30 +754,30 @@
|
|
|
754
754
|
return Unit_instance;
|
|
755
755
|
}
|
|
756
756
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
757
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
757
|
+
return JsonPrimitiveSerializer_getInstance().m26_1;
|
|
758
758
|
}
|
|
759
759
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
760
|
-
return JsonNullSerializer_getInstance().
|
|
760
|
+
return JsonNullSerializer_getInstance().n26_1;
|
|
761
761
|
}
|
|
762
762
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
763
|
-
return JsonLiteralSerializer_getInstance().
|
|
763
|
+
return JsonLiteralSerializer_getInstance().o26_1;
|
|
764
764
|
}
|
|
765
765
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
766
|
-
return JsonObjectSerializer_getInstance().
|
|
766
|
+
return JsonObjectSerializer_getInstance().p26_1;
|
|
767
767
|
}
|
|
768
768
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
769
|
-
return JsonArraySerializer_getInstance().
|
|
769
|
+
return JsonArraySerializer_getInstance().q26_1;
|
|
770
770
|
}
|
|
771
771
|
function JsonElementSerializer() {
|
|
772
772
|
JsonElementSerializer_instance = this;
|
|
773
773
|
var tmp = this;
|
|
774
774
|
var tmp_0 = SEALED_getInstance();
|
|
775
|
-
tmp.
|
|
775
|
+
tmp.r26_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
776
776
|
}
|
|
777
777
|
protoOf(JsonElementSerializer).ck = function () {
|
|
778
|
-
return this.
|
|
778
|
+
return this.r26_1;
|
|
779
779
|
};
|
|
780
|
-
protoOf(JsonElementSerializer).
|
|
780
|
+
protoOf(JsonElementSerializer).s26 = function (encoder, value) {
|
|
781
781
|
verify(encoder);
|
|
782
782
|
if (value instanceof JsonPrimitive) {
|
|
783
783
|
encoder.dp(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -794,11 +794,11 @@
|
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
796
|
protoOf(JsonElementSerializer).dk = function (encoder, value) {
|
|
797
|
-
return this.
|
|
797
|
+
return this.s26(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
798
798
|
};
|
|
799
799
|
protoOf(JsonElementSerializer).ek = function (decoder) {
|
|
800
800
|
var input = asJsonDecoder(decoder);
|
|
801
|
-
return input.
|
|
801
|
+
return input.w25();
|
|
802
802
|
};
|
|
803
803
|
var JsonElementSerializer_instance;
|
|
804
804
|
function JsonElementSerializer_getInstance() {
|
|
@@ -811,12 +811,12 @@
|
|
|
811
811
|
}
|
|
812
812
|
function JsonPrimitiveSerializer() {
|
|
813
813
|
JsonPrimitiveSerializer_instance = this;
|
|
814
|
-
this.
|
|
814
|
+
this.m26_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
815
815
|
}
|
|
816
816
|
protoOf(JsonPrimitiveSerializer).ck = function () {
|
|
817
|
-
return this.
|
|
817
|
+
return this.m26_1;
|
|
818
818
|
};
|
|
819
|
-
protoOf(JsonPrimitiveSerializer).
|
|
819
|
+
protoOf(JsonPrimitiveSerializer).t26 = function (encoder, value) {
|
|
820
820
|
verify(encoder);
|
|
821
821
|
var tmp;
|
|
822
822
|
if (value instanceof JsonNull) {
|
|
@@ -830,10 +830,10 @@
|
|
|
830
830
|
return tmp;
|
|
831
831
|
};
|
|
832
832
|
protoOf(JsonPrimitiveSerializer).dk = function (encoder, value) {
|
|
833
|
-
return this.
|
|
833
|
+
return this.t26(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
834
834
|
};
|
|
835
835
|
protoOf(JsonPrimitiveSerializer).ek = function (decoder) {
|
|
836
|
-
var result = asJsonDecoder(decoder).
|
|
836
|
+
var result = asJsonDecoder(decoder).w25();
|
|
837
837
|
if (!(result instanceof JsonPrimitive))
|
|
838
838
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
839
839
|
return result;
|
|
@@ -846,17 +846,17 @@
|
|
|
846
846
|
}
|
|
847
847
|
function JsonNullSerializer() {
|
|
848
848
|
JsonNullSerializer_instance = this;
|
|
849
|
-
this.
|
|
849
|
+
this.n26_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
850
850
|
}
|
|
851
851
|
protoOf(JsonNullSerializer).ck = function () {
|
|
852
|
-
return this.
|
|
852
|
+
return this.n26_1;
|
|
853
853
|
};
|
|
854
|
-
protoOf(JsonNullSerializer).
|
|
854
|
+
protoOf(JsonNullSerializer).u26 = function (encoder, value) {
|
|
855
855
|
verify(encoder);
|
|
856
856
|
encoder.go();
|
|
857
857
|
};
|
|
858
858
|
protoOf(JsonNullSerializer).dk = function (encoder, value) {
|
|
859
|
-
return this.
|
|
859
|
+
return this.u26(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
860
860
|
};
|
|
861
861
|
protoOf(JsonNullSerializer).ek = function (decoder) {
|
|
862
862
|
verify_0(decoder);
|
|
@@ -874,27 +874,27 @@
|
|
|
874
874
|
}
|
|
875
875
|
function JsonLiteralSerializer() {
|
|
876
876
|
JsonLiteralSerializer_instance = this;
|
|
877
|
-
this.
|
|
877
|
+
this.o26_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
878
878
|
}
|
|
879
879
|
protoOf(JsonLiteralSerializer).ck = function () {
|
|
880
|
-
return this.
|
|
880
|
+
return this.o26_1;
|
|
881
881
|
};
|
|
882
|
-
protoOf(JsonLiteralSerializer).
|
|
882
|
+
protoOf(JsonLiteralSerializer).v26 = function (encoder, value) {
|
|
883
883
|
verify(encoder);
|
|
884
|
-
if (value.
|
|
885
|
-
return encoder.po(value.
|
|
884
|
+
if (value.i26_1) {
|
|
885
|
+
return encoder.po(value.k26_1);
|
|
886
886
|
}
|
|
887
|
-
if (!(value.
|
|
888
|
-
return encoder.ro(value.
|
|
887
|
+
if (!(value.j26_1 == null)) {
|
|
888
|
+
return encoder.ro(value.j26_1).po(value.k26_1);
|
|
889
889
|
}
|
|
890
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
890
|
+
var tmp0_safe_receiver = toLongOrNull(value.k26_1);
|
|
891
891
|
if (tmp0_safe_receiver == null)
|
|
892
892
|
null;
|
|
893
893
|
else {
|
|
894
894
|
// Inline function 'kotlin.let' call
|
|
895
895
|
return encoder.lo(tmp0_safe_receiver);
|
|
896
896
|
}
|
|
897
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
897
|
+
var tmp1_safe_receiver = toULongOrNull(value.k26_1);
|
|
898
898
|
var tmp = tmp1_safe_receiver;
|
|
899
899
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
900
900
|
null;
|
|
@@ -908,27 +908,27 @@
|
|
|
908
908
|
tmp_1.lo(tmp$ret$1);
|
|
909
909
|
return Unit_instance;
|
|
910
910
|
}
|
|
911
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
911
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.k26_1);
|
|
912
912
|
if (tmp2_safe_receiver == null)
|
|
913
913
|
null;
|
|
914
914
|
else {
|
|
915
915
|
// Inline function 'kotlin.let' call
|
|
916
916
|
return encoder.no(tmp2_safe_receiver);
|
|
917
917
|
}
|
|
918
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
918
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.k26_1);
|
|
919
919
|
if (tmp3_safe_receiver == null)
|
|
920
920
|
null;
|
|
921
921
|
else {
|
|
922
922
|
// Inline function 'kotlin.let' call
|
|
923
923
|
return encoder.ho(tmp3_safe_receiver);
|
|
924
924
|
}
|
|
925
|
-
encoder.po(value.
|
|
925
|
+
encoder.po(value.k26_1);
|
|
926
926
|
};
|
|
927
927
|
protoOf(JsonLiteralSerializer).dk = function (encoder, value) {
|
|
928
|
-
return this.
|
|
928
|
+
return this.v26(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
929
929
|
};
|
|
930
930
|
protoOf(JsonLiteralSerializer).ek = function (decoder) {
|
|
931
|
-
var result = asJsonDecoder(decoder).
|
|
931
|
+
var result = asJsonDecoder(decoder).w25();
|
|
932
932
|
if (!(result instanceof JsonLiteral))
|
|
933
933
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
934
934
|
return result;
|
|
@@ -941,41 +941,41 @@
|
|
|
941
941
|
}
|
|
942
942
|
function JsonObjectDescriptor() {
|
|
943
943
|
JsonObjectDescriptor_instance = this;
|
|
944
|
-
this.
|
|
945
|
-
this.
|
|
944
|
+
this.w26_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ck();
|
|
945
|
+
this.x26_1 = 'kotlinx.serialization.json.JsonObject';
|
|
946
946
|
}
|
|
947
947
|
protoOf(JsonObjectDescriptor).dl = function () {
|
|
948
|
-
return this.
|
|
948
|
+
return this.x26_1;
|
|
949
949
|
};
|
|
950
950
|
protoOf(JsonObjectDescriptor).wl = function (index) {
|
|
951
|
-
return this.
|
|
951
|
+
return this.w26_1.wl(index);
|
|
952
952
|
};
|
|
953
953
|
protoOf(JsonObjectDescriptor).xl = function (name) {
|
|
954
|
-
return this.
|
|
954
|
+
return this.w26_1.xl(name);
|
|
955
955
|
};
|
|
956
956
|
protoOf(JsonObjectDescriptor).yl = function (index) {
|
|
957
|
-
return this.
|
|
957
|
+
return this.w26_1.yl(index);
|
|
958
958
|
};
|
|
959
959
|
protoOf(JsonObjectDescriptor).zl = function (index) {
|
|
960
|
-
return this.
|
|
960
|
+
return this.w26_1.zl(index);
|
|
961
961
|
};
|
|
962
962
|
protoOf(JsonObjectDescriptor).am = function (index) {
|
|
963
|
-
return this.
|
|
963
|
+
return this.w26_1.am(index);
|
|
964
964
|
};
|
|
965
965
|
protoOf(JsonObjectDescriptor).sl = function () {
|
|
966
|
-
return this.
|
|
966
|
+
return this.w26_1.sl();
|
|
967
967
|
};
|
|
968
968
|
protoOf(JsonObjectDescriptor).ll = function () {
|
|
969
|
-
return this.
|
|
969
|
+
return this.w26_1.ll();
|
|
970
970
|
};
|
|
971
971
|
protoOf(JsonObjectDescriptor).tl = function () {
|
|
972
|
-
return this.
|
|
972
|
+
return this.w26_1.tl();
|
|
973
973
|
};
|
|
974
974
|
protoOf(JsonObjectDescriptor).ul = function () {
|
|
975
|
-
return this.
|
|
975
|
+
return this.w26_1.ul();
|
|
976
976
|
};
|
|
977
977
|
protoOf(JsonObjectDescriptor).vl = function () {
|
|
978
|
-
return this.
|
|
978
|
+
return this.w26_1.vl();
|
|
979
979
|
};
|
|
980
980
|
var JsonObjectDescriptor_instance;
|
|
981
981
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -985,17 +985,17 @@
|
|
|
985
985
|
}
|
|
986
986
|
function JsonObjectSerializer() {
|
|
987
987
|
JsonObjectSerializer_instance = this;
|
|
988
|
-
this.
|
|
988
|
+
this.p26_1 = JsonObjectDescriptor_getInstance();
|
|
989
989
|
}
|
|
990
990
|
protoOf(JsonObjectSerializer).ck = function () {
|
|
991
|
-
return this.
|
|
991
|
+
return this.p26_1;
|
|
992
992
|
};
|
|
993
|
-
protoOf(JsonObjectSerializer).
|
|
993
|
+
protoOf(JsonObjectSerializer).y26 = function (encoder, value) {
|
|
994
994
|
verify(encoder);
|
|
995
995
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).dk(encoder, value);
|
|
996
996
|
};
|
|
997
997
|
protoOf(JsonObjectSerializer).dk = function (encoder, value) {
|
|
998
|
-
return this.
|
|
998
|
+
return this.y26(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
999
999
|
};
|
|
1000
1000
|
protoOf(JsonObjectSerializer).ek = function (decoder) {
|
|
1001
1001
|
verify_0(decoder);
|
|
@@ -1009,41 +1009,41 @@
|
|
|
1009
1009
|
}
|
|
1010
1010
|
function JsonArrayDescriptor() {
|
|
1011
1011
|
JsonArrayDescriptor_instance = this;
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1012
|
+
this.z26_1 = ListSerializer(JsonElementSerializer_getInstance()).ck();
|
|
1013
|
+
this.a27_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1014
1014
|
}
|
|
1015
1015
|
protoOf(JsonArrayDescriptor).dl = function () {
|
|
1016
|
-
return this.
|
|
1016
|
+
return this.a27_1;
|
|
1017
1017
|
};
|
|
1018
1018
|
protoOf(JsonArrayDescriptor).wl = function (index) {
|
|
1019
|
-
return this.
|
|
1019
|
+
return this.z26_1.wl(index);
|
|
1020
1020
|
};
|
|
1021
1021
|
protoOf(JsonArrayDescriptor).xl = function (name) {
|
|
1022
|
-
return this.
|
|
1022
|
+
return this.z26_1.xl(name);
|
|
1023
1023
|
};
|
|
1024
1024
|
protoOf(JsonArrayDescriptor).yl = function (index) {
|
|
1025
|
-
return this.
|
|
1025
|
+
return this.z26_1.yl(index);
|
|
1026
1026
|
};
|
|
1027
1027
|
protoOf(JsonArrayDescriptor).zl = function (index) {
|
|
1028
|
-
return this.
|
|
1028
|
+
return this.z26_1.zl(index);
|
|
1029
1029
|
};
|
|
1030
1030
|
protoOf(JsonArrayDescriptor).am = function (index) {
|
|
1031
|
-
return this.
|
|
1031
|
+
return this.z26_1.am(index);
|
|
1032
1032
|
};
|
|
1033
1033
|
protoOf(JsonArrayDescriptor).sl = function () {
|
|
1034
|
-
return this.
|
|
1034
|
+
return this.z26_1.sl();
|
|
1035
1035
|
};
|
|
1036
1036
|
protoOf(JsonArrayDescriptor).ll = function () {
|
|
1037
|
-
return this.
|
|
1037
|
+
return this.z26_1.ll();
|
|
1038
1038
|
};
|
|
1039
1039
|
protoOf(JsonArrayDescriptor).tl = function () {
|
|
1040
|
-
return this.
|
|
1040
|
+
return this.z26_1.tl();
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(JsonArrayDescriptor).ul = function () {
|
|
1043
|
-
return this.
|
|
1043
|
+
return this.z26_1.ul();
|
|
1044
1044
|
};
|
|
1045
1045
|
protoOf(JsonArrayDescriptor).vl = function () {
|
|
1046
|
-
return this.
|
|
1046
|
+
return this.z26_1.vl();
|
|
1047
1047
|
};
|
|
1048
1048
|
var JsonArrayDescriptor_instance;
|
|
1049
1049
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1053,17 +1053,17 @@
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function JsonArraySerializer() {
|
|
1055
1055
|
JsonArraySerializer_instance = this;
|
|
1056
|
-
this.
|
|
1056
|
+
this.q26_1 = JsonArrayDescriptor_getInstance();
|
|
1057
1057
|
}
|
|
1058
1058
|
protoOf(JsonArraySerializer).ck = function () {
|
|
1059
|
-
return this.
|
|
1059
|
+
return this.q26_1;
|
|
1060
1060
|
};
|
|
1061
|
-
protoOf(JsonArraySerializer).
|
|
1061
|
+
protoOf(JsonArraySerializer).b27 = function (encoder, value) {
|
|
1062
1062
|
verify(encoder);
|
|
1063
1063
|
ListSerializer(JsonElementSerializer_getInstance()).dk(encoder, value);
|
|
1064
1064
|
};
|
|
1065
1065
|
protoOf(JsonArraySerializer).dk = function (encoder, value) {
|
|
1066
|
-
return this.
|
|
1066
|
+
return this.b27(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1067
1067
|
};
|
|
1068
1068
|
protoOf(JsonArraySerializer).ek = function (decoder) {
|
|
1069
1069
|
verify_0(decoder);
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
return tmp;
|
|
1103
1103
|
}
|
|
1104
1104
|
function _get_original__l7ku1m($this) {
|
|
1105
|
-
var tmp0 = $this.
|
|
1105
|
+
var tmp0 = $this.c27_1;
|
|
1106
1106
|
var tmp = KProperty1;
|
|
1107
1107
|
// Inline function 'kotlin.getValue' call
|
|
1108
1108
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1114,7 +1114,7 @@
|
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
1116
|
function defer$1($deferred) {
|
|
1117
|
-
this.
|
|
1117
|
+
this.c27_1 = lazy($deferred);
|
|
1118
1118
|
}
|
|
1119
1119
|
protoOf(defer$1).dl = function () {
|
|
1120
1120
|
return _get_original__l7ku1m(this).dl();
|
|
@@ -1143,155 +1143,155 @@
|
|
|
1143
1143
|
function JsonEncoder() {
|
|
1144
1144
|
}
|
|
1145
1145
|
function Composer(writer) {
|
|
1146
|
-
this.
|
|
1147
|
-
this.
|
|
1146
|
+
this.d27_1 = writer;
|
|
1147
|
+
this.e27_1 = true;
|
|
1148
1148
|
}
|
|
1149
|
-
protoOf(Composer).
|
|
1150
|
-
this.
|
|
1149
|
+
protoOf(Composer).f27 = function () {
|
|
1150
|
+
this.e27_1 = true;
|
|
1151
1151
|
};
|
|
1152
|
-
protoOf(Composer).
|
|
1152
|
+
protoOf(Composer).g27 = function () {
|
|
1153
1153
|
return Unit_instance;
|
|
1154
1154
|
};
|
|
1155
|
-
protoOf(Composer).
|
|
1156
|
-
this.
|
|
1155
|
+
protoOf(Composer).h27 = function () {
|
|
1156
|
+
this.e27_1 = false;
|
|
1157
1157
|
};
|
|
1158
|
-
protoOf(Composer).
|
|
1159
|
-
this.
|
|
1158
|
+
protoOf(Composer).i27 = function () {
|
|
1159
|
+
this.e27_1 = false;
|
|
1160
1160
|
};
|
|
1161
|
-
protoOf(Composer).
|
|
1161
|
+
protoOf(Composer).j27 = function () {
|
|
1162
1162
|
return Unit_instance;
|
|
1163
1163
|
};
|
|
1164
|
-
protoOf(Composer).g27 = function (v) {
|
|
1165
|
-
return this.z26_1.h27(v);
|
|
1166
|
-
};
|
|
1167
|
-
protoOf(Composer).i27 = function (v) {
|
|
1168
|
-
return this.z26_1.j27(v);
|
|
1169
|
-
};
|
|
1170
1164
|
protoOf(Composer).k27 = function (v) {
|
|
1171
|
-
return this.
|
|
1172
|
-
};
|
|
1173
|
-
protoOf(Composer).l27 = function (v) {
|
|
1174
|
-
return this.z26_1.j27(v.toString());
|
|
1165
|
+
return this.d27_1.l27(v);
|
|
1175
1166
|
};
|
|
1176
1167
|
protoOf(Composer).m27 = function (v) {
|
|
1177
|
-
return this.
|
|
1168
|
+
return this.d27_1.n27(v);
|
|
1178
1169
|
};
|
|
1179
1170
|
protoOf(Composer).o27 = function (v) {
|
|
1180
|
-
return this.
|
|
1171
|
+
return this.d27_1.n27(v.toString());
|
|
1181
1172
|
};
|
|
1182
1173
|
protoOf(Composer).p27 = function (v) {
|
|
1183
|
-
return this.
|
|
1174
|
+
return this.d27_1.n27(v.toString());
|
|
1184
1175
|
};
|
|
1185
1176
|
protoOf(Composer).q27 = function (v) {
|
|
1186
|
-
return this.
|
|
1177
|
+
return this.d27_1.r27(fromInt(v));
|
|
1178
|
+
};
|
|
1179
|
+
protoOf(Composer).s27 = function (v) {
|
|
1180
|
+
return this.d27_1.r27(fromInt(v));
|
|
1181
|
+
};
|
|
1182
|
+
protoOf(Composer).t27 = function (v) {
|
|
1183
|
+
return this.d27_1.r27(fromInt(v));
|
|
1184
|
+
};
|
|
1185
|
+
protoOf(Composer).u27 = function (v) {
|
|
1186
|
+
return this.d27_1.r27(v);
|
|
1187
1187
|
};
|
|
1188
|
-
protoOf(Composer).
|
|
1189
|
-
return this.
|
|
1188
|
+
protoOf(Composer).v27 = function (v) {
|
|
1189
|
+
return this.d27_1.n27(v.toString());
|
|
1190
1190
|
};
|
|
1191
|
-
protoOf(Composer).
|
|
1192
|
-
return this.
|
|
1191
|
+
protoOf(Composer).w27 = function (value) {
|
|
1192
|
+
return this.d27_1.x27(value);
|
|
1193
1193
|
};
|
|
1194
1194
|
function Composer_0(sb, json) {
|
|
1195
|
-
return json.
|
|
1195
|
+
return json.r23_1.i25_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1196
1196
|
}
|
|
1197
1197
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1198
1198
|
Composer.call(this, writer);
|
|
1199
|
-
this.
|
|
1199
|
+
this.a28_1 = forceQuoting;
|
|
1200
1200
|
}
|
|
1201
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1202
|
-
if (this.
|
|
1201
|
+
protoOf(ComposerForUnsignedNumbers).t27 = function (v) {
|
|
1202
|
+
if (this.a28_1) {
|
|
1203
1203
|
// Inline function 'kotlin.toUInt' call
|
|
1204
1204
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1205
|
-
this.
|
|
1205
|
+
this.w27(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1206
1206
|
} else {
|
|
1207
1207
|
// Inline function 'kotlin.toUInt' call
|
|
1208
1208
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1209
|
-
this.
|
|
1209
|
+
this.m27(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1210
1210
|
}
|
|
1211
1211
|
};
|
|
1212
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1213
|
-
if (this.
|
|
1212
|
+
protoOf(ComposerForUnsignedNumbers).u27 = function (v) {
|
|
1213
|
+
if (this.a28_1) {
|
|
1214
1214
|
// Inline function 'kotlin.toULong' call
|
|
1215
1215
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1216
|
-
this.
|
|
1216
|
+
this.w27(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1217
1217
|
} else {
|
|
1218
1218
|
// Inline function 'kotlin.toULong' call
|
|
1219
1219
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1220
|
-
this.
|
|
1220
|
+
this.m27(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1224
|
-
if (this.
|
|
1223
|
+
protoOf(ComposerForUnsignedNumbers).q27 = function (v) {
|
|
1224
|
+
if (this.a28_1) {
|
|
1225
1225
|
// Inline function 'kotlin.toUByte' call
|
|
1226
1226
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1227
|
-
this.
|
|
1227
|
+
this.w27(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1228
1228
|
} else {
|
|
1229
1229
|
// Inline function 'kotlin.toUByte' call
|
|
1230
1230
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1231
|
-
this.
|
|
1231
|
+
this.m27(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1232
1232
|
}
|
|
1233
1233
|
};
|
|
1234
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1235
|
-
if (this.
|
|
1234
|
+
protoOf(ComposerForUnsignedNumbers).s27 = function (v) {
|
|
1235
|
+
if (this.a28_1) {
|
|
1236
1236
|
// Inline function 'kotlin.toUShort' call
|
|
1237
1237
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1238
|
-
this.
|
|
1238
|
+
this.w27(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1239
1239
|
} else {
|
|
1240
1240
|
// Inline function 'kotlin.toUShort' call
|
|
1241
1241
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1242
|
-
this.
|
|
1242
|
+
this.m27(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
1245
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1246
1246
|
Composer.call(this, writer);
|
|
1247
|
-
this.
|
|
1247
|
+
this.d28_1 = forceQuoting;
|
|
1248
1248
|
}
|
|
1249
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1250
|
-
if (this.
|
|
1251
|
-
protoOf(Composer).
|
|
1249
|
+
protoOf(ComposerForUnquotedLiterals).w27 = function (value) {
|
|
1250
|
+
if (this.d28_1) {
|
|
1251
|
+
protoOf(Composer).w27.call(this, value);
|
|
1252
1252
|
} else {
|
|
1253
|
-
protoOf(Composer).
|
|
1253
|
+
protoOf(Composer).m27.call(this, value);
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
1256
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1257
1257
|
Composer.call(this, writer);
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1258
|
+
this.g28_1 = json;
|
|
1259
|
+
this.h28_1 = 0;
|
|
1260
1260
|
}
|
|
1261
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1262
|
-
this.
|
|
1263
|
-
this.
|
|
1261
|
+
protoOf(ComposerWithPrettyPrint).f27 = function () {
|
|
1262
|
+
this.e27_1 = true;
|
|
1263
|
+
this.h28_1 = this.h28_1 + 1 | 0;
|
|
1264
1264
|
};
|
|
1265
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1266
|
-
this.
|
|
1265
|
+
protoOf(ComposerWithPrettyPrint).g27 = function () {
|
|
1266
|
+
this.h28_1 = this.h28_1 - 1 | 0;
|
|
1267
1267
|
};
|
|
1268
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1269
|
-
this.
|
|
1270
|
-
this.
|
|
1268
|
+
protoOf(ComposerWithPrettyPrint).h27 = function () {
|
|
1269
|
+
this.e27_1 = false;
|
|
1270
|
+
this.m27('\n');
|
|
1271
1271
|
// Inline function 'kotlin.repeat' call
|
|
1272
|
-
var times = this.
|
|
1272
|
+
var times = this.h28_1;
|
|
1273
1273
|
var inductionVariable = 0;
|
|
1274
1274
|
if (inductionVariable < times)
|
|
1275
1275
|
do {
|
|
1276
1276
|
var index = inductionVariable;
|
|
1277
1277
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1278
|
-
this.
|
|
1278
|
+
this.m27(this.g28_1.r23_1.k25_1);
|
|
1279
1279
|
}
|
|
1280
1280
|
while (inductionVariable < times);
|
|
1281
1281
|
};
|
|
1282
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1283
|
-
if (this.
|
|
1284
|
-
this.
|
|
1282
|
+
protoOf(ComposerWithPrettyPrint).i27 = function () {
|
|
1283
|
+
if (this.e27_1)
|
|
1284
|
+
this.e27_1 = false;
|
|
1285
1285
|
else {
|
|
1286
|
-
this.
|
|
1286
|
+
this.h27();
|
|
1287
1287
|
}
|
|
1288
1288
|
};
|
|
1289
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1290
|
-
this.
|
|
1289
|
+
protoOf(ComposerWithPrettyPrint).j27 = function () {
|
|
1290
|
+
this.k27(_Char___init__impl__6a9atx(32));
|
|
1291
1291
|
};
|
|
1292
1292
|
function readIfAbsent($this, descriptor, index) {
|
|
1293
|
-
$this.
|
|
1294
|
-
return $this.
|
|
1293
|
+
$this.j28_1 = (!descriptor.am(index) && descriptor.zl(index).ll());
|
|
1294
|
+
return $this.j28_1;
|
|
1295
1295
|
}
|
|
1296
1296
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1297
1297
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1303,14 +1303,14 @@
|
|
|
1303
1303
|
}
|
|
1304
1304
|
function JsonElementMarker(descriptor) {
|
|
1305
1305
|
var tmp = this;
|
|
1306
|
-
tmp.
|
|
1307
|
-
this.
|
|
1306
|
+
tmp.i28_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1307
|
+
this.j28_1 = false;
|
|
1308
1308
|
}
|
|
1309
|
-
protoOf(JsonElementMarker).
|
|
1310
|
-
this.
|
|
1309
|
+
protoOf(JsonElementMarker).k28 = function (index) {
|
|
1310
|
+
this.i28_1.tt(index);
|
|
1311
1311
|
};
|
|
1312
|
-
protoOf(JsonElementMarker).
|
|
1313
|
-
return this.
|
|
1312
|
+
protoOf(JsonElementMarker).l28 = function () {
|
|
1313
|
+
return this.i28_1.ut();
|
|
1314
1314
|
};
|
|
1315
1315
|
function JsonDecodingException(message) {
|
|
1316
1316
|
JsonException.call(this, message);
|
|
@@ -1349,10 +1349,10 @@
|
|
|
1349
1349
|
}
|
|
1350
1350
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1351
1351
|
entity = entity === VOID ? 'object' : entity;
|
|
1352
|
-
_this__u8e3s4.
|
|
1352
|
+
_this__u8e3s4.m28('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.g24_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1353
1353
|
}
|
|
1354
1354
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1355
|
-
_this__u8e3s4.
|
|
1355
|
+
_this__u8e3s4.n28('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'");
|
|
1356
1356
|
}
|
|
1357
1357
|
function JsonEncodingException(message) {
|
|
1358
1358
|
JsonException.call(this, message);
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1384
1384
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1385
1385
|
var tmp;
|
|
1386
|
-
if (json.
|
|
1386
|
+
if (json.r23_1.f25_1) {
|
|
1387
1387
|
tmp = true;
|
|
1388
1388
|
} else {
|
|
1389
1389
|
var tmp0 = _this__u8e3s4.vl();
|
|
@@ -1428,7 +1428,7 @@
|
|
|
1428
1428
|
var index = _this__u8e3s4.xl(name);
|
|
1429
1429
|
if (!(index === -3))
|
|
1430
1430
|
return index;
|
|
1431
|
-
if (!json.
|
|
1431
|
+
if (!json.r23_1.p25_1)
|
|
1432
1432
|
return index;
|
|
1433
1433
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1434
1434
|
}
|
|
@@ -1447,17 +1447,17 @@
|
|
|
1447
1447
|
}
|
|
1448
1448
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1449
1449
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1450
|
-
return equals(_this__u8e3s4.sl(), CLASS_getInstance()) ? json.
|
|
1450
|
+
return equals(_this__u8e3s4.sl(), CLASS_getInstance()) ? json.r23_1.q25_1 : null;
|
|
1451
1451
|
}
|
|
1452
1452
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1453
1453
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1454
1454
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1455
1455
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1456
|
-
return tmp.
|
|
1456
|
+
return tmp.p28(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1457
1457
|
}
|
|
1458
1458
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1459
1459
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1460
|
-
return _this__u8e3s4.
|
|
1460
|
+
return _this__u8e3s4.r23_1.r25_1 && equals(descriptor.sl(), ENUM_getInstance());
|
|
1461
1461
|
}
|
|
1462
1462
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1463
1463
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1469
1469
|
var tmp = get_schemaCache(json);
|
|
1470
1470
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1471
|
-
return tmp.
|
|
1471
|
+
return tmp.p28(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1472
1472
|
}
|
|
1473
1473
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1474
1474
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1494,7 +1494,7 @@
|
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
1496
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1497
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1497
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q28_1;
|
|
1498
1498
|
if (tmp1_safe_receiver == null)
|
|
1499
1499
|
null;
|
|
1500
1500
|
else {
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1522
1522
|
tmp_0 = _this__u8e3s4.wl(i).toLowerCase();
|
|
1523
1523
|
} else if (!(strategyForClasses == null)) {
|
|
1524
|
-
tmp_0 = strategyForClasses.
|
|
1524
|
+
tmp_0 = strategyForClasses.r28(_this__u8e3s4, i, _this__u8e3s4.wl(i));
|
|
1525
1525
|
} else {
|
|
1526
1526
|
tmp_0 = null;
|
|
1527
1527
|
}
|
|
@@ -1567,7 +1567,7 @@
|
|
|
1567
1567
|
while (tmp < tmp_0) {
|
|
1568
1568
|
var tmp_2 = tmp;
|
|
1569
1569
|
var baseName = $this_serializationNamesIndices.wl(tmp_2);
|
|
1570
|
-
tmp_1[tmp_2] = $strategy.
|
|
1570
|
+
tmp_1[tmp_2] = $strategy.r28($this_serializationNamesIndices, tmp_2, baseName);
|
|
1571
1571
|
tmp = tmp + 1 | 0;
|
|
1572
1572
|
}
|
|
1573
1573
|
return tmp_1;
|
|
@@ -1588,8 +1588,8 @@
|
|
|
1588
1588
|
return Tombstone_instance;
|
|
1589
1589
|
}
|
|
1590
1590
|
function resize($this) {
|
|
1591
|
-
var newSize = imul($this.
|
|
1592
|
-
$this.
|
|
1591
|
+
var newSize = imul($this.u28_1, 2);
|
|
1592
|
+
$this.s28_1 = copyOf($this.s28_1, newSize);
|
|
1593
1593
|
var tmp = 0;
|
|
1594
1594
|
var tmp_0 = new Int32Array(newSize);
|
|
1595
1595
|
while (tmp < newSize) {
|
|
@@ -1598,7 +1598,7 @@
|
|
|
1598
1598
|
}
|
|
1599
1599
|
var newIndices = tmp_0;
|
|
1600
1600
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1601
|
-
var this_0 = $this.
|
|
1601
|
+
var this_0 = $this.t28_1;
|
|
1602
1602
|
var endIndex = this_0.length;
|
|
1603
1603
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1604
1604
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1606,12 +1606,12 @@
|
|
|
1606
1606
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1607
1607
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1608
1608
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1609
|
-
$this.
|
|
1609
|
+
$this.t28_1 = newIndices;
|
|
1610
1610
|
}
|
|
1611
1611
|
function JsonPath() {
|
|
1612
1612
|
var tmp = this;
|
|
1613
1613
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1614
|
-
tmp.
|
|
1614
|
+
tmp.s28_1 = Array(8);
|
|
1615
1615
|
var tmp_0 = this;
|
|
1616
1616
|
var tmp_1 = 0;
|
|
1617
1617
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1619,71 +1619,71 @@
|
|
|
1619
1619
|
tmp_2[tmp_1] = -1;
|
|
1620
1620
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1621
1621
|
}
|
|
1622
|
-
tmp_0.
|
|
1623
|
-
this.
|
|
1622
|
+
tmp_0.t28_1 = tmp_2;
|
|
1623
|
+
this.u28_1 = -1;
|
|
1624
1624
|
}
|
|
1625
|
-
protoOf(JsonPath).
|
|
1626
|
-
this.
|
|
1627
|
-
var depth = this.
|
|
1628
|
-
if (depth === this.
|
|
1625
|
+
protoOf(JsonPath).v28 = function (sd) {
|
|
1626
|
+
this.u28_1 = this.u28_1 + 1 | 0;
|
|
1627
|
+
var depth = this.u28_1;
|
|
1628
|
+
if (depth === this.s28_1.length) {
|
|
1629
1629
|
resize(this);
|
|
1630
1630
|
}
|
|
1631
|
-
this.
|
|
1631
|
+
this.s28_1[depth] = sd;
|
|
1632
1632
|
};
|
|
1633
|
-
protoOf(JsonPath).
|
|
1634
|
-
this.
|
|
1633
|
+
protoOf(JsonPath).w28 = function (index) {
|
|
1634
|
+
this.t28_1[this.u28_1] = index;
|
|
1635
1635
|
};
|
|
1636
|
-
protoOf(JsonPath).
|
|
1636
|
+
protoOf(JsonPath).x28 = function (key) {
|
|
1637
1637
|
var tmp;
|
|
1638
|
-
if (!(this.
|
|
1639
|
-
this.
|
|
1640
|
-
tmp = this.
|
|
1638
|
+
if (!(this.t28_1[this.u28_1] === -2)) {
|
|
1639
|
+
this.u28_1 = this.u28_1 + 1 | 0;
|
|
1640
|
+
tmp = this.u28_1 === this.s28_1.length;
|
|
1641
1641
|
} else {
|
|
1642
1642
|
tmp = false;
|
|
1643
1643
|
}
|
|
1644
1644
|
if (tmp) {
|
|
1645
1645
|
resize(this);
|
|
1646
1646
|
}
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1647
|
+
this.s28_1[this.u28_1] = key;
|
|
1648
|
+
this.t28_1[this.u28_1] = -2;
|
|
1649
1649
|
};
|
|
1650
|
-
protoOf(JsonPath).
|
|
1651
|
-
if (this.
|
|
1652
|
-
this.
|
|
1650
|
+
protoOf(JsonPath).y28 = function () {
|
|
1651
|
+
if (this.t28_1[this.u28_1] === -2) {
|
|
1652
|
+
this.s28_1[this.u28_1] = Tombstone_instance;
|
|
1653
1653
|
}
|
|
1654
1654
|
};
|
|
1655
|
-
protoOf(JsonPath).
|
|
1656
|
-
var depth = this.
|
|
1657
|
-
if (this.
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1655
|
+
protoOf(JsonPath).z28 = function () {
|
|
1656
|
+
var depth = this.u28_1;
|
|
1657
|
+
if (this.t28_1[depth] === -2) {
|
|
1658
|
+
this.t28_1[depth] = -1;
|
|
1659
|
+
this.u28_1 = this.u28_1 - 1 | 0;
|
|
1660
1660
|
}
|
|
1661
|
-
if (!(this.
|
|
1662
|
-
this.
|
|
1661
|
+
if (!(this.u28_1 === -1)) {
|
|
1662
|
+
this.u28_1 = this.u28_1 - 1 | 0;
|
|
1663
1663
|
}
|
|
1664
1664
|
};
|
|
1665
|
-
protoOf(JsonPath).
|
|
1665
|
+
protoOf(JsonPath).a29 = function () {
|
|
1666
1666
|
// Inline function 'kotlin.text.buildString' call
|
|
1667
1667
|
// Inline function 'kotlin.apply' call
|
|
1668
1668
|
var this_0 = StringBuilder_init_$Create$();
|
|
1669
1669
|
this_0.q7('$');
|
|
1670
1670
|
// Inline function 'kotlin.repeat' call
|
|
1671
|
-
var times = this.
|
|
1671
|
+
var times = this.u28_1 + 1 | 0;
|
|
1672
1672
|
var inductionVariable = 0;
|
|
1673
1673
|
if (inductionVariable < times)
|
|
1674
1674
|
do {
|
|
1675
1675
|
var index = inductionVariable;
|
|
1676
1676
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1677
|
-
var element = this.
|
|
1677
|
+
var element = this.s28_1[index];
|
|
1678
1678
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1679
1679
|
if (equals(element.sl(), LIST_getInstance())) {
|
|
1680
|
-
if (!(this.
|
|
1680
|
+
if (!(this.t28_1[index] === -1)) {
|
|
1681
1681
|
this_0.q7('[');
|
|
1682
|
-
this_0.ka(this.
|
|
1682
|
+
this_0.ka(this.t28_1[index]);
|
|
1683
1683
|
this_0.q7(']');
|
|
1684
1684
|
}
|
|
1685
1685
|
} else {
|
|
1686
|
-
var idx = this.
|
|
1686
|
+
var idx = this.t28_1[index];
|
|
1687
1687
|
if (idx >= 0) {
|
|
1688
1688
|
this_0.q7('.');
|
|
1689
1689
|
this_0.q7(element.wl(idx));
|
|
@@ -1703,7 +1703,7 @@
|
|
|
1703
1703
|
return this_0.toString();
|
|
1704
1704
|
};
|
|
1705
1705
|
protoOf(JsonPath).toString = function () {
|
|
1706
|
-
return this.
|
|
1706
|
+
return this.a29();
|
|
1707
1707
|
};
|
|
1708
1708
|
function checkKind($this, descriptor, actualClass) {
|
|
1709
1709
|
var kind = descriptor.sl();
|
|
@@ -1716,9 +1716,9 @@
|
|
|
1716
1716
|
if (tmp) {
|
|
1717
1717
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.w8() + " 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.'));
|
|
1718
1718
|
}
|
|
1719
|
-
if ($this.
|
|
1719
|
+
if ($this.c29_1)
|
|
1720
1720
|
return Unit_instance;
|
|
1721
|
-
if (!$this.
|
|
1721
|
+
if (!$this.d29_1)
|
|
1722
1722
|
return Unit_instance;
|
|
1723
1723
|
var tmp_0;
|
|
1724
1724
|
var tmp_1;
|
|
@@ -1744,23 +1744,23 @@
|
|
|
1744
1744
|
var i = inductionVariable;
|
|
1745
1745
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1746
1746
|
var name = descriptor.wl(i);
|
|
1747
|
-
if (name === $this.
|
|
1747
|
+
if (name === $this.b29_1) {
|
|
1748
1748
|
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');
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
1751
|
while (inductionVariable < last);
|
|
1752
1752
|
}
|
|
1753
1753
|
function JsonSerializersModuleValidator(configuration) {
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1756
|
-
this.
|
|
1754
|
+
this.b29_1 = configuration.n25_1;
|
|
1755
|
+
this.c29_1 = configuration.m25_1;
|
|
1756
|
+
this.d29_1 = !configuration.u25_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1757
1757
|
}
|
|
1758
1758
|
protoOf(JsonSerializersModuleValidator).v14 = function (kClass, provider) {
|
|
1759
1759
|
};
|
|
1760
1760
|
protoOf(JsonSerializersModuleValidator).y14 = function (baseClass, actualClass, actualSerializer) {
|
|
1761
1761
|
var descriptor = actualSerializer.ck();
|
|
1762
1762
|
checkKind(this, descriptor, actualClass);
|
|
1763
|
-
if (!this.
|
|
1763
|
+
if (!this.c29_1 && this.d29_1) {
|
|
1764
1764
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1765
1765
|
}
|
|
1766
1766
|
};
|
|
@@ -1778,34 +1778,34 @@
|
|
|
1778
1778
|
}
|
|
1779
1779
|
function readObject($this) {
|
|
1780
1780
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1781
|
-
var lastToken = $this.
|
|
1782
|
-
if ($this.
|
|
1783
|
-
$this.
|
|
1781
|
+
var lastToken = $this.n29_1.r29(6);
|
|
1782
|
+
if ($this.n29_1.s29() === 4) {
|
|
1783
|
+
$this.n29_1.n28('Unexpected leading comma');
|
|
1784
1784
|
}
|
|
1785
1785
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1786
1786
|
var result = LinkedHashMap_init_$Create$();
|
|
1787
|
-
$l$loop: while ($this.
|
|
1788
|
-
var key = $this.
|
|
1789
|
-
$this.
|
|
1790
|
-
var element = $this.
|
|
1787
|
+
$l$loop: while ($this.n29_1.t29()) {
|
|
1788
|
+
var key = $this.o29_1 ? $this.n29_1.v29() : $this.n29_1.u29();
|
|
1789
|
+
$this.n29_1.r29(5);
|
|
1790
|
+
var element = $this.w29();
|
|
1791
1791
|
// Inline function 'kotlin.collections.set' call
|
|
1792
1792
|
result.b2(key, element);
|
|
1793
|
-
lastToken = $this.
|
|
1793
|
+
lastToken = $this.n29_1.x29();
|
|
1794
1794
|
var tmp0_subject = lastToken;
|
|
1795
1795
|
if (tmp0_subject !== 4)
|
|
1796
1796
|
if (tmp0_subject === 7)
|
|
1797
1797
|
break $l$loop;
|
|
1798
1798
|
else {
|
|
1799
|
-
$this.
|
|
1799
|
+
$this.n29_1.n28('Expected end of the object or comma');
|
|
1800
1800
|
}
|
|
1801
1801
|
}
|
|
1802
1802
|
if (lastToken === 6) {
|
|
1803
|
-
$this.
|
|
1803
|
+
$this.n29_1.r29(7);
|
|
1804
1804
|
} else if (lastToken === 4) {
|
|
1805
|
-
if (!$this.
|
|
1806
|
-
invalidTrailingComma($this.
|
|
1805
|
+
if (!$this.p29_1) {
|
|
1806
|
+
invalidTrailingComma($this.n29_1);
|
|
1807
1807
|
}
|
|
1808
|
-
$this.
|
|
1808
|
+
$this.n29_1.r29(7);
|
|
1809
1809
|
}
|
|
1810
1810
|
return new JsonObject(result);
|
|
1811
1811
|
}
|
|
@@ -1816,43 +1816,43 @@
|
|
|
1816
1816
|
return tmp.g8();
|
|
1817
1817
|
}
|
|
1818
1818
|
function readArray($this) {
|
|
1819
|
-
var lastToken = $this.
|
|
1820
|
-
if ($this.
|
|
1821
|
-
$this.
|
|
1819
|
+
var lastToken = $this.n29_1.x29();
|
|
1820
|
+
if ($this.n29_1.s29() === 4) {
|
|
1821
|
+
$this.n29_1.n28('Unexpected leading comma');
|
|
1822
1822
|
}
|
|
1823
1823
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1824
1824
|
var result = ArrayList_init_$Create$();
|
|
1825
|
-
while ($this.
|
|
1826
|
-
var element = $this.
|
|
1825
|
+
while ($this.n29_1.t29()) {
|
|
1826
|
+
var element = $this.w29();
|
|
1827
1827
|
result.j(element);
|
|
1828
|
-
lastToken = $this.
|
|
1828
|
+
lastToken = $this.n29_1.x29();
|
|
1829
1829
|
if (!(lastToken === 4)) {
|
|
1830
|
-
var tmp0 = $this.
|
|
1830
|
+
var tmp0 = $this.n29_1;
|
|
1831
1831
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1832
1832
|
var condition = lastToken === 9;
|
|
1833
|
-
var position = tmp0.
|
|
1833
|
+
var position = tmp0.g24_1;
|
|
1834
1834
|
if (!condition) {
|
|
1835
1835
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1836
|
-
tmp0.
|
|
1836
|
+
tmp0.n28(tmp$ret$1, position);
|
|
1837
1837
|
}
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
if (lastToken === 8) {
|
|
1841
|
-
$this.
|
|
1841
|
+
$this.n29_1.r29(9);
|
|
1842
1842
|
} else if (lastToken === 4) {
|
|
1843
|
-
if (!$this.
|
|
1844
|
-
invalidTrailingComma($this.
|
|
1843
|
+
if (!$this.p29_1) {
|
|
1844
|
+
invalidTrailingComma($this.n29_1, 'array');
|
|
1845
1845
|
}
|
|
1846
|
-
$this.
|
|
1846
|
+
$this.n29_1.r29(9);
|
|
1847
1847
|
}
|
|
1848
1848
|
return new JsonArray(result);
|
|
1849
1849
|
}
|
|
1850
1850
|
function readValue($this, isString) {
|
|
1851
1851
|
var tmp;
|
|
1852
|
-
if ($this.
|
|
1853
|
-
tmp = $this.
|
|
1852
|
+
if ($this.o29_1 || !isString) {
|
|
1853
|
+
tmp = $this.n29_1.v29();
|
|
1854
1854
|
} else {
|
|
1855
|
-
tmp = $this.
|
|
1855
|
+
tmp = $this.n29_1.u29();
|
|
1856
1856
|
}
|
|
1857
1857
|
var string = tmp;
|
|
1858
1858
|
if (!isString && string === 'null')
|
|
@@ -1863,18 +1863,18 @@
|
|
|
1863
1863
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1864
1864
|
}
|
|
1865
1865
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1866
|
-
this.
|
|
1866
|
+
this.u2a_1 = this$0;
|
|
1867
1867
|
CoroutineImpl.call(this, resultContinuation);
|
|
1868
1868
|
}
|
|
1869
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1870
|
-
var tmp = this.
|
|
1869
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).y2a = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1870
|
+
var tmp = this.z2a($this$DeepRecursiveFunction, it, $completion);
|
|
1871
1871
|
tmp.a8_1 = Unit_instance;
|
|
1872
1872
|
tmp.b8_1 = null;
|
|
1873
1873
|
return tmp.g8();
|
|
1874
1874
|
};
|
|
1875
1875
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).m8 = function (p1, p2, $completion) {
|
|
1876
1876
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1877
|
-
return this.
|
|
1877
|
+
return this.y2a(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1878
1878
|
};
|
|
1879
1879
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).g8 = function () {
|
|
1880
1880
|
var suspendResult = this.a8_1;
|
|
@@ -1884,32 +1884,32 @@
|
|
|
1884
1884
|
switch (tmp) {
|
|
1885
1885
|
case 0:
|
|
1886
1886
|
this.z7_1 = 3;
|
|
1887
|
-
var tmp0_subject = this.
|
|
1887
|
+
var tmp0_subject = this.u2a_1.n29_1.s29();
|
|
1888
1888
|
if (tmp0_subject === 1) {
|
|
1889
|
-
this.
|
|
1889
|
+
this.x2a_1 = readValue(this.u2a_1, true);
|
|
1890
1890
|
this.y7_1 = 2;
|
|
1891
1891
|
continue $sm;
|
|
1892
1892
|
} else {
|
|
1893
1893
|
if (tmp0_subject === 0) {
|
|
1894
|
-
this.
|
|
1894
|
+
this.x2a_1 = readValue(this.u2a_1, false);
|
|
1895
1895
|
this.y7_1 = 2;
|
|
1896
1896
|
continue $sm;
|
|
1897
1897
|
} else {
|
|
1898
1898
|
if (tmp0_subject === 6) {
|
|
1899
1899
|
this.y7_1 = 1;
|
|
1900
|
-
suspendResult = readObject_0(this.
|
|
1900
|
+
suspendResult = readObject_0(this.u2a_1, this.v2a_1, this);
|
|
1901
1901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1902
1902
|
return suspendResult;
|
|
1903
1903
|
}
|
|
1904
1904
|
continue $sm;
|
|
1905
1905
|
} else {
|
|
1906
1906
|
if (tmp0_subject === 8) {
|
|
1907
|
-
this.
|
|
1907
|
+
this.x2a_1 = readArray(this.u2a_1);
|
|
1908
1908
|
this.y7_1 = 2;
|
|
1909
1909
|
continue $sm;
|
|
1910
1910
|
} else {
|
|
1911
1911
|
var tmp_0 = this;
|
|
1912
|
-
this.
|
|
1912
|
+
this.u2a_1.n29_1.n28("Can't begin reading element, unexpected token");
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
@@ -1917,11 +1917,11 @@
|
|
|
1917
1917
|
|
|
1918
1918
|
break;
|
|
1919
1919
|
case 1:
|
|
1920
|
-
this.
|
|
1920
|
+
this.x2a_1 = suspendResult;
|
|
1921
1921
|
this.y7_1 = 2;
|
|
1922
1922
|
continue $sm;
|
|
1923
1923
|
case 2:
|
|
1924
|
-
return this.
|
|
1924
|
+
return this.x2a_1;
|
|
1925
1925
|
case 3:
|
|
1926
1926
|
throw this.b8_1;
|
|
1927
1927
|
}
|
|
@@ -1936,24 +1936,24 @@
|
|
|
1936
1936
|
}
|
|
1937
1937
|
while (true);
|
|
1938
1938
|
};
|
|
1939
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1940
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1941
|
-
i.
|
|
1942
|
-
i.
|
|
1939
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).z2a = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1940
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.u2a_1, completion);
|
|
1941
|
+
i.v2a_1 = $this$DeepRecursiveFunction;
|
|
1942
|
+
i.w2a_1 = it;
|
|
1943
1943
|
return i;
|
|
1944
1944
|
};
|
|
1945
1945
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1946
1946
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1947
1947
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1948
|
-
return i.
|
|
1948
|
+
return i.y2a($this$DeepRecursiveFunction, it, $completion);
|
|
1949
1949
|
};
|
|
1950
1950
|
l.$arity = 2;
|
|
1951
1951
|
return l;
|
|
1952
1952
|
}
|
|
1953
1953
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1954
1954
|
CoroutineImpl.call(this, resultContinuation);
|
|
1955
|
-
this.
|
|
1956
|
-
this.
|
|
1955
|
+
this.g2a_1 = _this__u8e3s4;
|
|
1956
|
+
this.h2a_1 = _this__u8e3s4_0;
|
|
1957
1957
|
}
|
|
1958
1958
|
protoOf($readObjectCOROUTINE$).g8 = function () {
|
|
1959
1959
|
var suspendResult = this.a8_1;
|
|
@@ -1963,26 +1963,26 @@
|
|
|
1963
1963
|
switch (tmp) {
|
|
1964
1964
|
case 0:
|
|
1965
1965
|
this.z7_1 = 5;
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
if (this.
|
|
1969
|
-
this.
|
|
1966
|
+
this.j2a_1 = this.g2a_1;
|
|
1967
|
+
this.k2a_1 = this.j2a_1.n29_1.r29(6);
|
|
1968
|
+
if (this.j2a_1.n29_1.s29() === 4) {
|
|
1969
|
+
this.j2a_1.n29_1.n28('Unexpected leading comma');
|
|
1970
1970
|
}
|
|
1971
1971
|
|
|
1972
1972
|
var tmp_0 = this;
|
|
1973
|
-
tmp_0.
|
|
1973
|
+
tmp_0.i2a_1 = LinkedHashMap_init_$Create$();
|
|
1974
1974
|
this.y7_1 = 1;
|
|
1975
1975
|
continue $sm;
|
|
1976
1976
|
case 1:
|
|
1977
|
-
if (!this.
|
|
1977
|
+
if (!this.j2a_1.n29_1.t29()) {
|
|
1978
1978
|
this.y7_1 = 4;
|
|
1979
1979
|
continue $sm;
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
this.
|
|
1983
|
-
this.
|
|
1982
|
+
this.l2a_1 = this.j2a_1.o29_1 ? this.j2a_1.n29_1.v29() : this.j2a_1.n29_1.u29();
|
|
1983
|
+
this.j2a_1.n29_1.r29(5);
|
|
1984
1984
|
this.y7_1 = 2;
|
|
1985
|
-
suspendResult = this.
|
|
1985
|
+
suspendResult = this.h2a_1.ph(Unit_instance, this);
|
|
1986
1986
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1987
1987
|
return suspendResult;
|
|
1988
1988
|
}
|
|
@@ -1990,11 +1990,11 @@
|
|
|
1990
1990
|
continue $sm;
|
|
1991
1991
|
case 2:
|
|
1992
1992
|
var element = suspendResult;
|
|
1993
|
-
var tmp0 = this.
|
|
1994
|
-
var key = this.
|
|
1993
|
+
var tmp0 = this.i2a_1;
|
|
1994
|
+
var key = this.l2a_1;
|
|
1995
1995
|
tmp0.b2(key, element);
|
|
1996
|
-
this.
|
|
1997
|
-
var tmp0_subject = this.
|
|
1996
|
+
this.k2a_1 = this.j2a_1.n29_1.x29();
|
|
1997
|
+
var tmp0_subject = this.k2a_1;
|
|
1998
1998
|
if (tmp0_subject === 4) {
|
|
1999
1999
|
this.y7_1 = 3;
|
|
2000
2000
|
continue $sm;
|
|
@@ -2003,7 +2003,7 @@
|
|
|
2003
2003
|
this.y7_1 = 4;
|
|
2004
2004
|
continue $sm;
|
|
2005
2005
|
} else {
|
|
2006
|
-
this.
|
|
2006
|
+
this.j2a_1.n29_1.n28('Expected end of the object or comma');
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
@@ -2012,16 +2012,16 @@
|
|
|
2012
2012
|
this.y7_1 = 1;
|
|
2013
2013
|
continue $sm;
|
|
2014
2014
|
case 4:
|
|
2015
|
-
if (this.
|
|
2016
|
-
this.
|
|
2017
|
-
} else if (this.
|
|
2018
|
-
if (!this.
|
|
2019
|
-
invalidTrailingComma(this.
|
|
2015
|
+
if (this.k2a_1 === 6) {
|
|
2016
|
+
this.j2a_1.n29_1.r29(7);
|
|
2017
|
+
} else if (this.k2a_1 === 4) {
|
|
2018
|
+
if (!this.j2a_1.p29_1) {
|
|
2019
|
+
invalidTrailingComma(this.j2a_1.n29_1);
|
|
2020
2020
|
}
|
|
2021
|
-
this.
|
|
2021
|
+
this.j2a_1.n29_1.r29(7);
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
|
-
return new JsonObject(this.
|
|
2024
|
+
return new JsonObject(this.i2a_1);
|
|
2025
2025
|
case 5:
|
|
2026
2026
|
throw this.b8_1;
|
|
2027
2027
|
}
|
|
@@ -2037,13 +2037,13 @@
|
|
|
2037
2037
|
while (true);
|
|
2038
2038
|
};
|
|
2039
2039
|
function JsonTreeReader(configuration, lexer) {
|
|
2040
|
-
this.
|
|
2041
|
-
this.
|
|
2042
|
-
this.
|
|
2043
|
-
this.
|
|
2040
|
+
this.n29_1 = lexer;
|
|
2041
|
+
this.o29_1 = configuration.g25_1;
|
|
2042
|
+
this.p29_1 = configuration.s25_1;
|
|
2043
|
+
this.q29_1 = 0;
|
|
2044
2044
|
}
|
|
2045
|
-
protoOf(JsonTreeReader).
|
|
2046
|
-
var token = this.
|
|
2045
|
+
protoOf(JsonTreeReader).w29 = function () {
|
|
2046
|
+
var token = this.n29_1.s29();
|
|
2047
2047
|
var tmp;
|
|
2048
2048
|
if (token === 1) {
|
|
2049
2049
|
tmp = readValue(this, true);
|
|
@@ -2051,19 +2051,19 @@
|
|
|
2051
2051
|
tmp = readValue(this, false);
|
|
2052
2052
|
} else if (token === 6) {
|
|
2053
2053
|
var tmp_0;
|
|
2054
|
-
this.
|
|
2055
|
-
if (this.
|
|
2054
|
+
this.q29_1 = this.q29_1 + 1 | 0;
|
|
2055
|
+
if (this.q29_1 === 200) {
|
|
2056
2056
|
tmp_0 = readDeepRecursive(this);
|
|
2057
2057
|
} else {
|
|
2058
2058
|
tmp_0 = readObject(this);
|
|
2059
2059
|
}
|
|
2060
2060
|
var result = tmp_0;
|
|
2061
|
-
this.
|
|
2061
|
+
this.q29_1 = this.q29_1 - 1 | 0;
|
|
2062
2062
|
tmp = result;
|
|
2063
2063
|
} else if (token === 8) {
|
|
2064
2064
|
tmp = readArray(this);
|
|
2065
2065
|
} else {
|
|
2066
|
-
this.
|
|
2066
|
+
this.n29_1.n28('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2067
2067
|
}
|
|
2068
2068
|
return tmp;
|
|
2069
2069
|
};
|
|
@@ -2072,9 +2072,9 @@
|
|
|
2072
2072
|
while (_iterator__ex2g4s.m()) {
|
|
2073
2073
|
var annotation = _iterator__ex2g4s.n();
|
|
2074
2074
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2075
|
-
return annotation.
|
|
2075
|
+
return annotation.a2b_1;
|
|
2076
2076
|
}
|
|
2077
|
-
return json.
|
|
2077
|
+
return json.r23_1.n25_1;
|
|
2078
2078
|
}
|
|
2079
2079
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2080
2080
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2110,11 +2110,11 @@
|
|
|
2110
2110
|
function Key() {
|
|
2111
2111
|
}
|
|
2112
2112
|
function DescriptorSchemaCache() {
|
|
2113
|
-
this.
|
|
2113
|
+
this.o28_1 = createMapForCache(16);
|
|
2114
2114
|
}
|
|
2115
|
-
protoOf(DescriptorSchemaCache).
|
|
2115
|
+
protoOf(DescriptorSchemaCache).b2b = function (descriptor, key, value) {
|
|
2116
2116
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2117
|
-
var this_0 = this.
|
|
2117
|
+
var this_0 = this.o28_1;
|
|
2118
2118
|
var value_0 = this_0.y1(descriptor);
|
|
2119
2119
|
var tmp;
|
|
2120
2120
|
if (value_0 == null) {
|
|
@@ -2130,8 +2130,8 @@
|
|
|
2130
2130
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2131
2131
|
tmp0.b2(tmp2, value_1);
|
|
2132
2132
|
};
|
|
2133
|
-
protoOf(DescriptorSchemaCache).
|
|
2134
|
-
var tmp0_safe_receiver = this.
|
|
2133
|
+
protoOf(DescriptorSchemaCache).p28 = function (descriptor, key, defaultValue) {
|
|
2134
|
+
var tmp0_safe_receiver = this.c2b(descriptor, key);
|
|
2135
2135
|
if (tmp0_safe_receiver == null)
|
|
2136
2136
|
null;
|
|
2137
2137
|
else {
|
|
@@ -2139,11 +2139,11 @@
|
|
|
2139
2139
|
return tmp0_safe_receiver;
|
|
2140
2140
|
}
|
|
2141
2141
|
var value = defaultValue();
|
|
2142
|
-
this.
|
|
2142
|
+
this.b2b(descriptor, key, value);
|
|
2143
2143
|
return value;
|
|
2144
2144
|
};
|
|
2145
|
-
protoOf(DescriptorSchemaCache).
|
|
2146
|
-
var tmp0_safe_receiver = this.
|
|
2145
|
+
protoOf(DescriptorSchemaCache).c2b = function (descriptor, key) {
|
|
2146
|
+
var tmp0_safe_receiver = this.o28_1.y1(descriptor);
|
|
2147
2147
|
var tmp;
|
|
2148
2148
|
if (tmp0_safe_receiver == null) {
|
|
2149
2149
|
tmp = null;
|
|
@@ -2154,13 +2154,13 @@
|
|
|
2154
2154
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2155
2155
|
};
|
|
2156
2156
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2157
|
-
this.
|
|
2157
|
+
this.d2b_1 = discriminatorToSkip;
|
|
2158
2158
|
}
|
|
2159
2159
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2160
2160
|
if (_this__u8e3s4 == null)
|
|
2161
2161
|
return false;
|
|
2162
|
-
if (_this__u8e3s4.
|
|
2163
|
-
_this__u8e3s4.
|
|
2162
|
+
if (_this__u8e3s4.d2b_1 === unknownKey) {
|
|
2163
|
+
_this__u8e3s4.d2b_1 = null;
|
|
2164
2164
|
return true;
|
|
2165
2165
|
}
|
|
2166
2166
|
return false;
|
|
@@ -2170,55 +2170,55 @@
|
|
|
2170
2170
|
}
|
|
2171
2171
|
}
|
|
2172
2172
|
function checkLeadingComma($this) {
|
|
2173
|
-
if ($this.
|
|
2174
|
-
$this.
|
|
2173
|
+
if ($this.a24_1.s29() === 4) {
|
|
2174
|
+
$this.a24_1.n28('Unexpected leading comma');
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
2177
|
function decodeMapIndex($this) {
|
|
2178
2178
|
var hasComma = false;
|
|
2179
|
-
var decodingKey = !(($this.
|
|
2179
|
+
var decodingKey = !(($this.c24_1 % 2 | 0) === 0);
|
|
2180
2180
|
if (decodingKey) {
|
|
2181
|
-
if (!($this.
|
|
2182
|
-
hasComma = $this.
|
|
2181
|
+
if (!($this.c24_1 === -1)) {
|
|
2182
|
+
hasComma = $this.a24_1.f2b();
|
|
2183
2183
|
}
|
|
2184
2184
|
} else {
|
|
2185
|
-
$this.
|
|
2185
|
+
$this.a24_1.e2b(_Char___init__impl__6a9atx(58));
|
|
2186
2186
|
}
|
|
2187
2187
|
var tmp;
|
|
2188
|
-
if ($this.
|
|
2188
|
+
if ($this.a24_1.t29()) {
|
|
2189
2189
|
if (decodingKey) {
|
|
2190
|
-
if ($this.
|
|
2191
|
-
var tmp0 = $this.
|
|
2190
|
+
if ($this.c24_1 === -1) {
|
|
2191
|
+
var tmp0 = $this.a24_1;
|
|
2192
2192
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2193
2193
|
var condition = !hasComma;
|
|
2194
|
-
var position = tmp0.
|
|
2194
|
+
var position = tmp0.g24_1;
|
|
2195
2195
|
if (!condition) {
|
|
2196
2196
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2197
|
-
tmp0.
|
|
2197
|
+
tmp0.n28(tmp$ret$0, position);
|
|
2198
2198
|
}
|
|
2199
2199
|
} else {
|
|
2200
|
-
var tmp0_0 = $this.
|
|
2200
|
+
var tmp0_0 = $this.a24_1;
|
|
2201
2201
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2202
2202
|
var condition_0 = hasComma;
|
|
2203
|
-
var position_0 = tmp0_0.
|
|
2203
|
+
var position_0 = tmp0_0.g24_1;
|
|
2204
2204
|
if (!condition_0) {
|
|
2205
2205
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2206
|
-
tmp0_0.
|
|
2206
|
+
tmp0_0.n28(tmp$ret$2, position_0);
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
2209
|
}
|
|
2210
|
-
$this.
|
|
2211
|
-
tmp = $this.
|
|
2210
|
+
$this.c24_1 = $this.c24_1 + 1 | 0;
|
|
2211
|
+
tmp = $this.c24_1;
|
|
2212
2212
|
} else {
|
|
2213
|
-
if (hasComma && !$this.
|
|
2214
|
-
invalidTrailingComma($this.
|
|
2213
|
+
if (hasComma && !$this.y23_1.r23_1.s25_1) {
|
|
2214
|
+
invalidTrailingComma($this.a24_1);
|
|
2215
2215
|
}
|
|
2216
2216
|
tmp = -1;
|
|
2217
2217
|
}
|
|
2218
2218
|
return tmp;
|
|
2219
2219
|
}
|
|
2220
2220
|
function coerceInputValue($this, descriptor, index) {
|
|
2221
|
-
var tmp0 = $this.
|
|
2221
|
+
var tmp0 = $this.y23_1;
|
|
2222
2222
|
var tmp$ret$1;
|
|
2223
2223
|
$l$block_2: {
|
|
2224
2224
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2226,7 +2226,7 @@
|
|
|
2226
2226
|
var elementDescriptor = descriptor.zl(index);
|
|
2227
2227
|
var tmp;
|
|
2228
2228
|
if (isOptional && !elementDescriptor.ll()) {
|
|
2229
|
-
tmp = $this.
|
|
2229
|
+
tmp = $this.a24_1.g2b(true);
|
|
2230
2230
|
} else {
|
|
2231
2231
|
tmp = false;
|
|
2232
2232
|
}
|
|
@@ -2237,7 +2237,7 @@
|
|
|
2237
2237
|
if (equals(elementDescriptor.sl(), ENUM_getInstance())) {
|
|
2238
2238
|
var tmp_0;
|
|
2239
2239
|
if (elementDescriptor.ll()) {
|
|
2240
|
-
tmp_0 = $this.
|
|
2240
|
+
tmp_0 = $this.a24_1.g2b(false);
|
|
2241
2241
|
} else {
|
|
2242
2242
|
tmp_0 = false;
|
|
2243
2243
|
}
|
|
@@ -2245,7 +2245,7 @@
|
|
|
2245
2245
|
tmp$ret$1 = false;
|
|
2246
2246
|
break $l$block_2;
|
|
2247
2247
|
}
|
|
2248
|
-
var tmp0_elvis_lhs = $this.
|
|
2248
|
+
var tmp0_elvis_lhs = $this.a24_1.h2b($this.e24_1.g25_1);
|
|
2249
2249
|
var tmp_1;
|
|
2250
2250
|
if (tmp0_elvis_lhs == null) {
|
|
2251
2251
|
tmp$ret$1 = false;
|
|
@@ -2255,9 +2255,9 @@
|
|
|
2255
2255
|
}
|
|
2256
2256
|
var enumValue = tmp_1;
|
|
2257
2257
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2258
|
-
var coerceToNull = !tmp0.
|
|
2258
|
+
var coerceToNull = !tmp0.r23_1.j25_1 && elementDescriptor.ll();
|
|
2259
2259
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2260
|
-
$this.
|
|
2260
|
+
$this.a24_1.u29();
|
|
2261
2261
|
tmp$ret$1 = true;
|
|
2262
2262
|
break $l$block_2;
|
|
2263
2263
|
}
|
|
@@ -2267,24 +2267,24 @@
|
|
|
2267
2267
|
return tmp$ret$1;
|
|
2268
2268
|
}
|
|
2269
2269
|
function decodeObjectIndex($this, descriptor) {
|
|
2270
|
-
var hasComma = $this.
|
|
2271
|
-
while ($this.
|
|
2270
|
+
var hasComma = $this.a24_1.f2b();
|
|
2271
|
+
while ($this.a24_1.t29()) {
|
|
2272
2272
|
hasComma = false;
|
|
2273
2273
|
var key = decodeStringKey($this);
|
|
2274
|
-
$this.
|
|
2275
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2274
|
+
$this.a24_1.e2b(_Char___init__impl__6a9atx(58));
|
|
2275
|
+
var index = getJsonNameIndex(descriptor, $this.y23_1, key);
|
|
2276
2276
|
var tmp;
|
|
2277
2277
|
if (!(index === -3)) {
|
|
2278
2278
|
var tmp_0;
|
|
2279
|
-
if ($this.
|
|
2280
|
-
hasComma = $this.
|
|
2279
|
+
if ($this.e24_1.l25_1 && coerceInputValue($this, descriptor, index)) {
|
|
2280
|
+
hasComma = $this.a24_1.f2b();
|
|
2281
2281
|
tmp_0 = false;
|
|
2282
2282
|
} else {
|
|
2283
|
-
var tmp0_safe_receiver = $this.
|
|
2283
|
+
var tmp0_safe_receiver = $this.f24_1;
|
|
2284
2284
|
if (tmp0_safe_receiver == null)
|
|
2285
2285
|
null;
|
|
2286
2286
|
else {
|
|
2287
|
-
tmp0_safe_receiver.
|
|
2287
|
+
tmp0_safe_receiver.k28(index);
|
|
2288
2288
|
}
|
|
2289
2289
|
return index;
|
|
2290
2290
|
}
|
|
@@ -2297,34 +2297,34 @@
|
|
|
2297
2297
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2298
2298
|
}
|
|
2299
2299
|
}
|
|
2300
|
-
if (hasComma && !$this.
|
|
2301
|
-
invalidTrailingComma($this.
|
|
2300
|
+
if (hasComma && !$this.y23_1.r23_1.s25_1) {
|
|
2301
|
+
invalidTrailingComma($this.a24_1);
|
|
2302
2302
|
}
|
|
2303
|
-
var tmp1_safe_receiver = $this.
|
|
2304
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2303
|
+
var tmp1_safe_receiver = $this.f24_1;
|
|
2304
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l28();
|
|
2305
2305
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2306
2306
|
}
|
|
2307
2307
|
function handleUnknown($this, descriptor, key) {
|
|
2308
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2309
|
-
$this.
|
|
2308
|
+
if (ignoreUnknownKeys(descriptor, $this.y23_1) || trySkip($this, $this.d24_1, key)) {
|
|
2309
|
+
$this.a24_1.j2b($this.e24_1.g25_1);
|
|
2310
2310
|
} else {
|
|
2311
|
-
$this.
|
|
2312
|
-
$this.
|
|
2311
|
+
$this.a24_1.h24_1.z28();
|
|
2312
|
+
$this.a24_1.i2b(key);
|
|
2313
2313
|
}
|
|
2314
|
-
return $this.
|
|
2314
|
+
return $this.a24_1.f2b();
|
|
2315
2315
|
}
|
|
2316
2316
|
function decodeListIndex($this) {
|
|
2317
|
-
var hasComma = $this.
|
|
2317
|
+
var hasComma = $this.a24_1.f2b();
|
|
2318
2318
|
var tmp;
|
|
2319
|
-
if ($this.
|
|
2320
|
-
if (!($this.
|
|
2321
|
-
$this.
|
|
2319
|
+
if ($this.a24_1.t29()) {
|
|
2320
|
+
if (!($this.c24_1 === -1) && !hasComma) {
|
|
2321
|
+
$this.a24_1.n28('Expected end of the array or comma');
|
|
2322
2322
|
}
|
|
2323
|
-
$this.
|
|
2324
|
-
tmp = $this.
|
|
2323
|
+
$this.c24_1 = $this.c24_1 + 1 | 0;
|
|
2324
|
+
tmp = $this.c24_1;
|
|
2325
2325
|
} else {
|
|
2326
|
-
if (hasComma && !$this.
|
|
2327
|
-
invalidTrailingComma($this.
|
|
2326
|
+
if (hasComma && !$this.y23_1.r23_1.s25_1) {
|
|
2327
|
+
invalidTrailingComma($this.a24_1, 'array');
|
|
2328
2328
|
}
|
|
2329
2329
|
tmp = -1;
|
|
2330
2330
|
}
|
|
@@ -2332,32 +2332,32 @@
|
|
|
2332
2332
|
}
|
|
2333
2333
|
function decodeStringKey($this) {
|
|
2334
2334
|
var tmp;
|
|
2335
|
-
if ($this.
|
|
2336
|
-
tmp = $this.
|
|
2335
|
+
if ($this.e24_1.g25_1) {
|
|
2336
|
+
tmp = $this.a24_1.l2b();
|
|
2337
2337
|
} else {
|
|
2338
|
-
tmp = $this.
|
|
2338
|
+
tmp = $this.a24_1.k2b();
|
|
2339
2339
|
}
|
|
2340
2340
|
return tmp;
|
|
2341
2341
|
}
|
|
2342
2342
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2343
2343
|
AbstractDecoder.call(this);
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
2350
|
-
this.
|
|
2351
|
-
this.
|
|
2352
|
-
}
|
|
2353
|
-
protoOf(StreamingJsonDecoder).
|
|
2354
|
-
return this.
|
|
2344
|
+
this.y23_1 = json;
|
|
2345
|
+
this.z23_1 = mode;
|
|
2346
|
+
this.a24_1 = lexer;
|
|
2347
|
+
this.b24_1 = this.y23_1.ao();
|
|
2348
|
+
this.c24_1 = -1;
|
|
2349
|
+
this.d24_1 = discriminatorHolder;
|
|
2350
|
+
this.e24_1 = this.y23_1.r23_1;
|
|
2351
|
+
this.f24_1 = this.e24_1.j25_1 ? null : new JsonElementMarker(descriptor);
|
|
2352
|
+
}
|
|
2353
|
+
protoOf(StreamingJsonDecoder).v25 = function () {
|
|
2354
|
+
return this.y23_1;
|
|
2355
2355
|
};
|
|
2356
2356
|
protoOf(StreamingJsonDecoder).ao = function () {
|
|
2357
|
-
return this.
|
|
2357
|
+
return this.b24_1;
|
|
2358
2358
|
};
|
|
2359
|
-
protoOf(StreamingJsonDecoder).
|
|
2360
|
-
return (new JsonTreeReader(this.
|
|
2359
|
+
protoOf(StreamingJsonDecoder).w25 = function () {
|
|
2360
|
+
return (new JsonTreeReader(this.y23_1.r23_1, this.a24_1)).w29();
|
|
2361
2361
|
};
|
|
2362
2362
|
protoOf(StreamingJsonDecoder).kn = function (deserializer) {
|
|
2363
2363
|
try {
|
|
@@ -2365,13 +2365,13 @@
|
|
|
2365
2365
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2366
2366
|
tmp = true;
|
|
2367
2367
|
} else {
|
|
2368
|
-
tmp = this.
|
|
2368
|
+
tmp = this.y23_1.r23_1.m25_1;
|
|
2369
2369
|
}
|
|
2370
2370
|
if (tmp) {
|
|
2371
2371
|
return deserializer.ek(this);
|
|
2372
2372
|
}
|
|
2373
|
-
var discriminator = classDiscriminator(deserializer.ck(), this.
|
|
2374
|
-
var tmp0_elvis_lhs = this.
|
|
2373
|
+
var discriminator = classDiscriminator(deserializer.ck(), this.y23_1);
|
|
2374
|
+
var tmp0_elvis_lhs = this.a24_1.m2b(discriminator, this.e24_1.g25_1);
|
|
2375
2375
|
var tmp_0;
|
|
2376
2376
|
if (tmp0_elvis_lhs == null) {
|
|
2377
2377
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2382,24 +2382,24 @@
|
|
|
2382
2382
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2383
2383
|
tmp_1 = true;
|
|
2384
2384
|
} else {
|
|
2385
|
-
tmp_1 = this.
|
|
2385
|
+
tmp_1 = this.v25().r23_1.m25_1;
|
|
2386
2386
|
}
|
|
2387
2387
|
if (tmp_1) {
|
|
2388
2388
|
tmp$ret$0 = tmp2.ek(this);
|
|
2389
2389
|
break $l$block;
|
|
2390
2390
|
}
|
|
2391
|
-
var discriminator_0 = classDiscriminator(tmp2.ck(), this.
|
|
2392
|
-
var tmp0 = this.
|
|
2391
|
+
var discriminator_0 = classDiscriminator(tmp2.ck(), this.v25());
|
|
2392
|
+
var tmp0 = this.w25();
|
|
2393
2393
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2394
2394
|
var serialName = tmp2.ck().dl();
|
|
2395
2395
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2396
2396
|
var tmp_2 = getKClass(JsonObject).w8();
|
|
2397
2397
|
var tmp_3 = getKClassFromExpression(tmp0).w8();
|
|
2398
|
-
var tmp$ret$1 = this.
|
|
2398
|
+
var tmp$ret$1 = this.a24_1.h24_1.a29();
|
|
2399
2399
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2400
2400
|
}
|
|
2401
2401
|
var jsonTree = tmp0;
|
|
2402
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2402
|
+
var tmp0_safe_receiver = jsonTree.b26(discriminator_0);
|
|
2403
2403
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2404
2404
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2405
2405
|
var tmp_4;
|
|
@@ -2416,7 +2416,7 @@
|
|
|
2416
2416
|
}
|
|
2417
2417
|
var tmp_6 = tmp_4;
|
|
2418
2418
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2419
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2419
|
+
tmp$ret$0 = readPolymorphicJson(this.v25(), discriminator_0, jsonTree, actualSerializer);
|
|
2420
2420
|
}
|
|
2421
2421
|
return tmp$ret$0;
|
|
2422
2422
|
} else {
|
|
@@ -2432,7 +2432,7 @@
|
|
|
2432
2432
|
var it_0 = $p;
|
|
2433
2433
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2434
2434
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2435
|
-
this.
|
|
2435
|
+
this.a24_1.n28(message, VOID, hint);
|
|
2436
2436
|
} else {
|
|
2437
2437
|
throw $p;
|
|
2438
2438
|
}
|
|
@@ -2440,37 +2440,37 @@
|
|
|
2440
2440
|
}
|
|
2441
2441
|
var tmp_9 = tmp_7;
|
|
2442
2442
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2443
|
-
this.
|
|
2443
|
+
this.d24_1 = new DiscriminatorHolder(discriminator);
|
|
2444
2444
|
return actualSerializer_0.ek(this);
|
|
2445
2445
|
} catch ($p) {
|
|
2446
2446
|
if ($p instanceof MissingFieldException) {
|
|
2447
2447
|
var e = $p;
|
|
2448
2448
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2449
2449
|
throw e;
|
|
2450
|
-
throw new MissingFieldException(e.fl_1, plus(e.message, ' at path: ') + this.
|
|
2450
|
+
throw new MissingFieldException(e.fl_1, plus(e.message, ' at path: ') + this.a24_1.h24_1.a29(), e);
|
|
2451
2451
|
} else {
|
|
2452
2452
|
throw $p;
|
|
2453
2453
|
}
|
|
2454
2454
|
}
|
|
2455
2455
|
};
|
|
2456
2456
|
protoOf(StreamingJsonDecoder).ln = function (descriptor) {
|
|
2457
|
-
var newMode = switchMode(this.
|
|
2458
|
-
this.
|
|
2459
|
-
this.
|
|
2457
|
+
var newMode = switchMode(this.y23_1, descriptor);
|
|
2458
|
+
this.a24_1.h24_1.v28(descriptor);
|
|
2459
|
+
this.a24_1.e2b(newMode.p2b_1);
|
|
2460
2460
|
checkLeadingComma(this);
|
|
2461
2461
|
var tmp;
|
|
2462
2462
|
switch (newMode.h2_1) {
|
|
2463
2463
|
case 1:
|
|
2464
2464
|
case 2:
|
|
2465
2465
|
case 3:
|
|
2466
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2466
|
+
tmp = new StreamingJsonDecoder(this.y23_1, newMode, this.a24_1, descriptor, this.d24_1);
|
|
2467
2467
|
break;
|
|
2468
2468
|
default:
|
|
2469
2469
|
var tmp_0;
|
|
2470
|
-
if (this.
|
|
2470
|
+
if (this.z23_1.equals(newMode) && this.y23_1.r23_1.j25_1) {
|
|
2471
2471
|
tmp_0 = this;
|
|
2472
2472
|
} else {
|
|
2473
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2473
|
+
tmp_0 = new StreamingJsonDecoder(this.y23_1, newMode, this.a24_1, descriptor, this.d24_1);
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
2476
2476
|
tmp = tmp_0;
|
|
@@ -2479,21 +2479,21 @@
|
|
|
2479
2479
|
return tmp;
|
|
2480
2480
|
};
|
|
2481
2481
|
protoOf(StreamingJsonDecoder).mn = function (descriptor) {
|
|
2482
|
-
if (descriptor.ul() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2482
|
+
if (descriptor.ul() === 0 && ignoreUnknownKeys(descriptor, this.y23_1)) {
|
|
2483
2483
|
skipLeftoverElements(this, descriptor);
|
|
2484
2484
|
}
|
|
2485
|
-
if (this.
|
|
2486
|
-
invalidTrailingComma(this.
|
|
2485
|
+
if (this.a24_1.f2b() && !this.y23_1.r23_1.s25_1) {
|
|
2486
|
+
invalidTrailingComma(this.a24_1, '');
|
|
2487
2487
|
}
|
|
2488
|
-
this.
|
|
2489
|
-
this.
|
|
2488
|
+
this.a24_1.e2b(this.z23_1.q2b_1);
|
|
2489
|
+
this.a24_1.h24_1.z28();
|
|
2490
2490
|
};
|
|
2491
2491
|
protoOf(StreamingJsonDecoder).wm = function () {
|
|
2492
2492
|
var tmp;
|
|
2493
|
-
var tmp0_safe_receiver = this.
|
|
2494
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2493
|
+
var tmp0_safe_receiver = this.f24_1;
|
|
2494
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j28_1;
|
|
2495
2495
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2496
|
-
tmp = !this.
|
|
2496
|
+
tmp = !this.a24_1.r2b();
|
|
2497
2497
|
} else {
|
|
2498
2498
|
tmp = false;
|
|
2499
2499
|
}
|
|
@@ -2503,19 +2503,19 @@
|
|
|
2503
2503
|
return null;
|
|
2504
2504
|
};
|
|
2505
2505
|
protoOf(StreamingJsonDecoder).xn = function (descriptor, index, deserializer, previousValue) {
|
|
2506
|
-
var isMapKey = this.
|
|
2506
|
+
var isMapKey = this.z23_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2507
2507
|
if (isMapKey) {
|
|
2508
|
-
this.
|
|
2508
|
+
this.a24_1.h24_1.y28();
|
|
2509
2509
|
}
|
|
2510
2510
|
var value = protoOf(AbstractDecoder).xn.call(this, descriptor, index, deserializer, previousValue);
|
|
2511
2511
|
if (isMapKey) {
|
|
2512
|
-
this.
|
|
2512
|
+
this.a24_1.h24_1.x28(value);
|
|
2513
2513
|
}
|
|
2514
2514
|
return value;
|
|
2515
2515
|
};
|
|
2516
2516
|
protoOf(StreamingJsonDecoder).co = function (descriptor) {
|
|
2517
2517
|
var index;
|
|
2518
|
-
switch (this.
|
|
2518
|
+
switch (this.z23_1.h2_1) {
|
|
2519
2519
|
case 0:
|
|
2520
2520
|
index = decodeObjectIndex(this, descriptor);
|
|
2521
2521
|
break;
|
|
@@ -2526,44 +2526,44 @@
|
|
|
2526
2526
|
index = decodeListIndex(this);
|
|
2527
2527
|
break;
|
|
2528
2528
|
}
|
|
2529
|
-
if (!this.
|
|
2530
|
-
this.
|
|
2529
|
+
if (!this.z23_1.equals(WriteMode_MAP_getInstance())) {
|
|
2530
|
+
this.a24_1.h24_1.w28(index);
|
|
2531
2531
|
}
|
|
2532
2532
|
return index;
|
|
2533
2533
|
};
|
|
2534
2534
|
protoOf(StreamingJsonDecoder).ym = function () {
|
|
2535
|
-
return this.
|
|
2535
|
+
return this.a24_1.s2b();
|
|
2536
2536
|
};
|
|
2537
2537
|
protoOf(StreamingJsonDecoder).zm = function () {
|
|
2538
|
-
var value = this.
|
|
2538
|
+
var value = this.a24_1.t2b();
|
|
2539
2539
|
if (!equalsLong(value, fromInt(convertToByte(value)))) {
|
|
2540
|
-
this.
|
|
2540
|
+
this.a24_1.n28("Failed to parse byte for input '" + value.toString() + "'");
|
|
2541
2541
|
}
|
|
2542
2542
|
return convertToByte(value);
|
|
2543
2543
|
};
|
|
2544
2544
|
protoOf(StreamingJsonDecoder).an = function () {
|
|
2545
|
-
var value = this.
|
|
2545
|
+
var value = this.a24_1.t2b();
|
|
2546
2546
|
if (!equalsLong(value, fromInt(convertToShort(value)))) {
|
|
2547
|
-
this.
|
|
2547
|
+
this.a24_1.n28("Failed to parse short for input '" + value.toString() + "'");
|
|
2548
2548
|
}
|
|
2549
2549
|
return convertToShort(value);
|
|
2550
2550
|
};
|
|
2551
2551
|
protoOf(StreamingJsonDecoder).bn = function () {
|
|
2552
|
-
var value = this.
|
|
2552
|
+
var value = this.a24_1.t2b();
|
|
2553
2553
|
if (!equalsLong(value, fromInt(convertToInt(value)))) {
|
|
2554
|
-
this.
|
|
2554
|
+
this.a24_1.n28("Failed to parse int for input '" + value.toString() + "'");
|
|
2555
2555
|
}
|
|
2556
2556
|
return convertToInt(value);
|
|
2557
2557
|
};
|
|
2558
2558
|
protoOf(StreamingJsonDecoder).cn = function () {
|
|
2559
|
-
return this.
|
|
2559
|
+
return this.a24_1.t2b();
|
|
2560
2560
|
};
|
|
2561
2561
|
protoOf(StreamingJsonDecoder).dn = function () {
|
|
2562
|
-
var tmp0 = this.
|
|
2562
|
+
var tmp0 = this.a24_1;
|
|
2563
2563
|
var tmp$ret$4;
|
|
2564
2564
|
$l$block: {
|
|
2565
2565
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2566
|
-
var input = tmp0.
|
|
2566
|
+
var input = tmp0.v29();
|
|
2567
2567
|
try {
|
|
2568
2568
|
// Inline function 'kotlin.text.toFloat' call
|
|
2569
2569
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2573,82 +2573,82 @@
|
|
|
2573
2573
|
} catch ($p) {
|
|
2574
2574
|
if ($p instanceof IllegalArgumentException) {
|
|
2575
2575
|
var e = $p;
|
|
2576
|
-
tmp0.
|
|
2576
|
+
tmp0.n28("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2577
2577
|
} else {
|
|
2578
2578
|
throw $p;
|
|
2579
2579
|
}
|
|
2580
2580
|
}
|
|
2581
2581
|
}
|
|
2582
2582
|
var result = tmp$ret$4;
|
|
2583
|
-
var specialFp = this.
|
|
2583
|
+
var specialFp = this.y23_1.r23_1.o25_1;
|
|
2584
2584
|
if (specialFp || isFinite(result))
|
|
2585
2585
|
return result;
|
|
2586
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2586
|
+
throwInvalidFloatingPointDecoded(this.a24_1, result);
|
|
2587
2587
|
};
|
|
2588
2588
|
protoOf(StreamingJsonDecoder).en = function () {
|
|
2589
|
-
var tmp0 = this.
|
|
2589
|
+
var tmp0 = this.a24_1;
|
|
2590
2590
|
var tmp$ret$1;
|
|
2591
2591
|
$l$block: {
|
|
2592
2592
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2593
|
-
var input = tmp0.
|
|
2593
|
+
var input = tmp0.v29();
|
|
2594
2594
|
try {
|
|
2595
2595
|
tmp$ret$1 = toDouble(input);
|
|
2596
2596
|
break $l$block;
|
|
2597
2597
|
} catch ($p) {
|
|
2598
2598
|
if ($p instanceof IllegalArgumentException) {
|
|
2599
2599
|
var e = $p;
|
|
2600
|
-
tmp0.
|
|
2600
|
+
tmp0.n28("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2601
2601
|
} else {
|
|
2602
2602
|
throw $p;
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
2605
|
}
|
|
2606
2606
|
var result = tmp$ret$1;
|
|
2607
|
-
var specialFp = this.
|
|
2607
|
+
var specialFp = this.y23_1.r23_1.o25_1;
|
|
2608
2608
|
if (specialFp || isFinite_0(result))
|
|
2609
2609
|
return result;
|
|
2610
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2610
|
+
throwInvalidFloatingPointDecoded(this.a24_1, result);
|
|
2611
2611
|
};
|
|
2612
2612
|
protoOf(StreamingJsonDecoder).fn = function () {
|
|
2613
|
-
var string = this.
|
|
2613
|
+
var string = this.a24_1.v29();
|
|
2614
2614
|
if (!(string.length === 1)) {
|
|
2615
|
-
this.
|
|
2615
|
+
this.a24_1.n28("Expected single char, but got '" + string + "'");
|
|
2616
2616
|
}
|
|
2617
2617
|
return charCodeAt(string, 0);
|
|
2618
2618
|
};
|
|
2619
2619
|
protoOf(StreamingJsonDecoder).gn = function () {
|
|
2620
2620
|
var tmp;
|
|
2621
|
-
if (this.
|
|
2622
|
-
tmp = this.
|
|
2621
|
+
if (this.e24_1.g25_1) {
|
|
2622
|
+
tmp = this.a24_1.l2b();
|
|
2623
2623
|
} else {
|
|
2624
|
-
tmp = this.
|
|
2624
|
+
tmp = this.a24_1.u29();
|
|
2625
2625
|
}
|
|
2626
2626
|
return tmp;
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(StreamingJsonDecoder).in = function (descriptor) {
|
|
2629
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2629
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.a24_1, this.y23_1) : protoOf(AbstractDecoder).in.call(this, descriptor);
|
|
2630
2630
|
};
|
|
2631
2631
|
protoOf(StreamingJsonDecoder).hn = function (enumDescriptor) {
|
|
2632
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2632
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.y23_1, this.gn(), ' at path ' + this.a24_1.h24_1.a29());
|
|
2633
2633
|
};
|
|
2634
2634
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2635
2635
|
AbstractDecoder.call(this);
|
|
2636
|
-
this.
|
|
2637
|
-
this.
|
|
2636
|
+
this.u2b_1 = lexer;
|
|
2637
|
+
this.v2b_1 = json.ao();
|
|
2638
2638
|
}
|
|
2639
2639
|
protoOf(JsonDecoderForUnsignedTypes).ao = function () {
|
|
2640
|
-
return this.
|
|
2640
|
+
return this.v2b_1;
|
|
2641
2641
|
};
|
|
2642
2642
|
protoOf(JsonDecoderForUnsignedTypes).co = function (descriptor) {
|
|
2643
2643
|
var message = 'unsupported';
|
|
2644
2644
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2645
2645
|
};
|
|
2646
2646
|
protoOf(JsonDecoderForUnsignedTypes).bn = function () {
|
|
2647
|
-
var tmp0 = this.
|
|
2647
|
+
var tmp0 = this.u2b_1;
|
|
2648
2648
|
var tmp$ret$2;
|
|
2649
2649
|
$l$block: {
|
|
2650
2650
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2651
|
-
var input = tmp0.
|
|
2651
|
+
var input = tmp0.v29();
|
|
2652
2652
|
try {
|
|
2653
2653
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2654
2654
|
var this_0 = toUInt(input);
|
|
@@ -2657,7 +2657,7 @@
|
|
|
2657
2657
|
} catch ($p) {
|
|
2658
2658
|
if ($p instanceof IllegalArgumentException) {
|
|
2659
2659
|
var e = $p;
|
|
2660
|
-
tmp0.
|
|
2660
|
+
tmp0.n28("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2661
2661
|
} else {
|
|
2662
2662
|
throw $p;
|
|
2663
2663
|
}
|
|
@@ -2666,11 +2666,11 @@
|
|
|
2666
2666
|
return tmp$ret$2;
|
|
2667
2667
|
};
|
|
2668
2668
|
protoOf(JsonDecoderForUnsignedTypes).cn = function () {
|
|
2669
|
-
var tmp0 = this.
|
|
2669
|
+
var tmp0 = this.u2b_1;
|
|
2670
2670
|
var tmp$ret$2;
|
|
2671
2671
|
$l$block: {
|
|
2672
2672
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2673
|
-
var input = tmp0.
|
|
2673
|
+
var input = tmp0.v29();
|
|
2674
2674
|
try {
|
|
2675
2675
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2676
2676
|
var this_0 = toULong(input);
|
|
@@ -2679,7 +2679,7 @@
|
|
|
2679
2679
|
} catch ($p) {
|
|
2680
2680
|
if ($p instanceof IllegalArgumentException) {
|
|
2681
2681
|
var e = $p;
|
|
2682
|
-
tmp0.
|
|
2682
|
+
tmp0.n28("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2683
2683
|
} else {
|
|
2684
2684
|
throw $p;
|
|
2685
2685
|
}
|
|
@@ -2688,11 +2688,11 @@
|
|
|
2688
2688
|
return tmp$ret$2;
|
|
2689
2689
|
};
|
|
2690
2690
|
protoOf(JsonDecoderForUnsignedTypes).zm = function () {
|
|
2691
|
-
var tmp0 = this.
|
|
2691
|
+
var tmp0 = this.u2b_1;
|
|
2692
2692
|
var tmp$ret$2;
|
|
2693
2693
|
$l$block: {
|
|
2694
2694
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2695
|
-
var input = tmp0.
|
|
2695
|
+
var input = tmp0.v29();
|
|
2696
2696
|
try {
|
|
2697
2697
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2698
2698
|
var this_0 = toUByte(input);
|
|
@@ -2701,7 +2701,7 @@
|
|
|
2701
2701
|
} catch ($p) {
|
|
2702
2702
|
if ($p instanceof IllegalArgumentException) {
|
|
2703
2703
|
var e = $p;
|
|
2704
|
-
tmp0.
|
|
2704
|
+
tmp0.n28("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2705
2705
|
} else {
|
|
2706
2706
|
throw $p;
|
|
2707
2707
|
}
|
|
@@ -2710,11 +2710,11 @@
|
|
|
2710
2710
|
return tmp$ret$2;
|
|
2711
2711
|
};
|
|
2712
2712
|
protoOf(JsonDecoderForUnsignedTypes).an = function () {
|
|
2713
|
-
var tmp0 = this.
|
|
2713
|
+
var tmp0 = this.u2b_1;
|
|
2714
2714
|
var tmp$ret$2;
|
|
2715
2715
|
$l$block: {
|
|
2716
2716
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2717
|
-
var input = tmp0.
|
|
2717
|
+
var input = tmp0.v29();
|
|
2718
2718
|
try {
|
|
2719
2719
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2720
2720
|
var this_0 = toUShort(input);
|
|
@@ -2723,7 +2723,7 @@
|
|
|
2723
2723
|
} catch ($p) {
|
|
2724
2724
|
if ($p instanceof IllegalArgumentException) {
|
|
2725
2725
|
var e = $p;
|
|
2726
|
-
tmp0.
|
|
2726
|
+
tmp0.n28("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2727
2727
|
} else {
|
|
2728
2728
|
throw $p;
|
|
2729
2729
|
}
|
|
@@ -2744,53 +2744,53 @@
|
|
|
2744
2744
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2745
2745
|
}
|
|
2746
2746
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2747
|
-
$this.
|
|
2747
|
+
$this.e29_1.h27();
|
|
2748
2748
|
$this.po(discriminator);
|
|
2749
|
-
$this.
|
|
2750
|
-
$this.
|
|
2749
|
+
$this.e29_1.k27(_Char___init__impl__6a9atx(58));
|
|
2750
|
+
$this.e29_1.j27();
|
|
2751
2751
|
$this.po(serialName);
|
|
2752
2752
|
}
|
|
2753
2753
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2754
2754
|
AbstractEncoder.call(this);
|
|
2755
|
-
this.
|
|
2756
|
-
this.
|
|
2757
|
-
this.
|
|
2758
|
-
this.
|
|
2759
|
-
this.
|
|
2760
|
-
this.
|
|
2761
|
-
this.
|
|
2762
|
-
this.
|
|
2763
|
-
this.
|
|
2764
|
-
var i = this.
|
|
2765
|
-
if (!(this.
|
|
2766
|
-
if (!(this.
|
|
2767
|
-
this.
|
|
2755
|
+
this.e29_1 = composer;
|
|
2756
|
+
this.f29_1 = json;
|
|
2757
|
+
this.g29_1 = mode;
|
|
2758
|
+
this.h29_1 = modeReuseCache;
|
|
2759
|
+
this.i29_1 = this.f29_1.ao();
|
|
2760
|
+
this.j29_1 = this.f29_1.r23_1;
|
|
2761
|
+
this.k29_1 = false;
|
|
2762
|
+
this.l29_1 = null;
|
|
2763
|
+
this.m29_1 = null;
|
|
2764
|
+
var i = this.g29_1.h2_1;
|
|
2765
|
+
if (!(this.h29_1 == null)) {
|
|
2766
|
+
if (!(this.h29_1[i] === null) || !(this.h29_1[i] === this)) {
|
|
2767
|
+
this.h29_1[i] = this;
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
2770
|
}
|
|
2771
|
-
protoOf(StreamingJsonEncoder).
|
|
2772
|
-
return this.
|
|
2771
|
+
protoOf(StreamingJsonEncoder).v25 = function () {
|
|
2772
|
+
return this.f29_1;
|
|
2773
2773
|
};
|
|
2774
2774
|
protoOf(StreamingJsonEncoder).ao = function () {
|
|
2775
|
-
return this.
|
|
2775
|
+
return this.i29_1;
|
|
2776
2776
|
};
|
|
2777
2777
|
protoOf(StreamingJsonEncoder).ip = function (descriptor, index) {
|
|
2778
|
-
return this.
|
|
2778
|
+
return this.j29_1.e25_1;
|
|
2779
2779
|
};
|
|
2780
2780
|
protoOf(StreamingJsonEncoder).dp = function (serializer, value) {
|
|
2781
2781
|
$l$block: {
|
|
2782
2782
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2783
|
-
if (this.
|
|
2783
|
+
if (this.v25().r23_1.m25_1) {
|
|
2784
2784
|
serializer.dk(this, value);
|
|
2785
2785
|
break $l$block;
|
|
2786
2786
|
}
|
|
2787
2787
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2788
2788
|
var tmp;
|
|
2789
2789
|
if (isPolymorphicSerializer) {
|
|
2790
|
-
tmp = !this.
|
|
2790
|
+
tmp = !this.v25().r23_1.u25_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2791
2791
|
} else {
|
|
2792
2792
|
var tmp_0;
|
|
2793
|
-
switch (this.
|
|
2793
|
+
switch (this.v25().r23_1.u25_1.h2_1) {
|
|
2794
2794
|
case 0:
|
|
2795
2795
|
case 2:
|
|
2796
2796
|
tmp_0 = false;
|
|
@@ -2808,7 +2808,7 @@
|
|
|
2808
2808
|
tmp = tmp_0;
|
|
2809
2809
|
}
|
|
2810
2810
|
var needDiscriminator = tmp;
|
|
2811
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ck(), this.
|
|
2811
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ck(), this.v25()) : null;
|
|
2812
2812
|
var tmp_1;
|
|
2813
2813
|
if (isPolymorphicSerializer) {
|
|
2814
2814
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2833,93 +2833,93 @@
|
|
|
2833
2833
|
var actualSerializer = tmp_1;
|
|
2834
2834
|
if (!(baseClassDiscriminator == null)) {
|
|
2835
2835
|
var serialName = actualSerializer.ck().dl();
|
|
2836
|
-
this.
|
|
2837
|
-
this.
|
|
2836
|
+
this.l29_1 = baseClassDiscriminator;
|
|
2837
|
+
this.m29_1 = serialName;
|
|
2838
2838
|
}
|
|
2839
2839
|
actualSerializer.dk(this, value);
|
|
2840
2840
|
}
|
|
2841
2841
|
};
|
|
2842
2842
|
protoOf(StreamingJsonEncoder).ln = function (descriptor) {
|
|
2843
|
-
var newMode = switchMode(this.
|
|
2844
|
-
if (!(newMode.
|
|
2845
|
-
this.
|
|
2846
|
-
this.
|
|
2843
|
+
var newMode = switchMode(this.f29_1, descriptor);
|
|
2844
|
+
if (!(newMode.p2b_1 === _Char___init__impl__6a9atx(0))) {
|
|
2845
|
+
this.e29_1.k27(newMode.p2b_1);
|
|
2846
|
+
this.e29_1.f27();
|
|
2847
2847
|
}
|
|
2848
|
-
var discriminator = this.
|
|
2848
|
+
var discriminator = this.l29_1;
|
|
2849
2849
|
if (!(discriminator == null)) {
|
|
2850
|
-
var tmp0_elvis_lhs = this.
|
|
2850
|
+
var tmp0_elvis_lhs = this.m29_1;
|
|
2851
2851
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.dl() : tmp0_elvis_lhs);
|
|
2852
|
-
this.
|
|
2853
|
-
this.
|
|
2852
|
+
this.l29_1 = null;
|
|
2853
|
+
this.m29_1 = null;
|
|
2854
2854
|
}
|
|
2855
|
-
if (this.
|
|
2855
|
+
if (this.g29_1.equals(newMode)) {
|
|
2856
2856
|
return this;
|
|
2857
2857
|
}
|
|
2858
|
-
var tmp1_safe_receiver = this.
|
|
2858
|
+
var tmp1_safe_receiver = this.h29_1;
|
|
2859
2859
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.h2_1];
|
|
2860
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2860
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.e29_1, this.f29_1, newMode, this.h29_1) : tmp2_elvis_lhs;
|
|
2861
2861
|
};
|
|
2862
2862
|
protoOf(StreamingJsonEncoder).mn = function (descriptor) {
|
|
2863
|
-
if (!(this.
|
|
2864
|
-
this.
|
|
2865
|
-
this.
|
|
2866
|
-
this.
|
|
2863
|
+
if (!(this.g29_1.q2b_1 === _Char___init__impl__6a9atx(0))) {
|
|
2864
|
+
this.e29_1.g27();
|
|
2865
|
+
this.e29_1.i27();
|
|
2866
|
+
this.e29_1.k27(this.g29_1.q2b_1);
|
|
2867
2867
|
}
|
|
2868
2868
|
};
|
|
2869
2869
|
protoOf(StreamingJsonEncoder).eo = function (descriptor, index) {
|
|
2870
|
-
switch (this.
|
|
2870
|
+
switch (this.g29_1.h2_1) {
|
|
2871
2871
|
case 1:
|
|
2872
|
-
if (!this.
|
|
2873
|
-
this.
|
|
2872
|
+
if (!this.e29_1.e27_1) {
|
|
2873
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(44));
|
|
2874
2874
|
}
|
|
2875
2875
|
|
|
2876
|
-
this.
|
|
2876
|
+
this.e29_1.h27();
|
|
2877
2877
|
break;
|
|
2878
2878
|
case 2:
|
|
2879
|
-
if (!this.
|
|
2879
|
+
if (!this.e29_1.e27_1) {
|
|
2880
2880
|
var tmp = this;
|
|
2881
2881
|
var tmp_0;
|
|
2882
2882
|
if ((index % 2 | 0) === 0) {
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2883
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(44));
|
|
2884
|
+
this.e29_1.h27();
|
|
2885
2885
|
tmp_0 = true;
|
|
2886
2886
|
} else {
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2887
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(58));
|
|
2888
|
+
this.e29_1.j27();
|
|
2889
2889
|
tmp_0 = false;
|
|
2890
2890
|
}
|
|
2891
|
-
tmp.
|
|
2891
|
+
tmp.k29_1 = tmp_0;
|
|
2892
2892
|
} else {
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2893
|
+
this.k29_1 = true;
|
|
2894
|
+
this.e29_1.h27();
|
|
2895
2895
|
}
|
|
2896
2896
|
|
|
2897
2897
|
break;
|
|
2898
2898
|
case 3:
|
|
2899
2899
|
if (index === 0)
|
|
2900
|
-
this.
|
|
2900
|
+
this.k29_1 = true;
|
|
2901
2901
|
if (index === 1) {
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2904
|
-
this.
|
|
2902
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(44));
|
|
2903
|
+
this.e29_1.j27();
|
|
2904
|
+
this.k29_1 = false;
|
|
2905
2905
|
}
|
|
2906
2906
|
|
|
2907
2907
|
break;
|
|
2908
2908
|
default:
|
|
2909
|
-
if (!this.
|
|
2910
|
-
this.
|
|
2909
|
+
if (!this.e29_1.e27_1) {
|
|
2910
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(44));
|
|
2911
2911
|
}
|
|
2912
2912
|
|
|
2913
|
-
this.
|
|
2914
|
-
this.po(getJsonElementName(descriptor, this.
|
|
2915
|
-
this.
|
|
2916
|
-
this.
|
|
2913
|
+
this.e29_1.h27();
|
|
2914
|
+
this.po(getJsonElementName(descriptor, this.f29_1, index));
|
|
2915
|
+
this.e29_1.k27(_Char___init__impl__6a9atx(58));
|
|
2916
|
+
this.e29_1.j27();
|
|
2917
2917
|
break;
|
|
2918
2918
|
}
|
|
2919
2919
|
return true;
|
|
2920
2920
|
};
|
|
2921
2921
|
protoOf(StreamingJsonEncoder).ep = function (descriptor, index, serializer, value) {
|
|
2922
|
-
if (!(value == null) || this.
|
|
2922
|
+
if (!(value == null) || this.j29_1.j25_1) {
|
|
2923
2923
|
protoOf(AbstractEncoder).ep.call(this, descriptor, index, serializer, value);
|
|
2924
2924
|
}
|
|
2925
2925
|
};
|
|
@@ -2928,32 +2928,32 @@
|
|
|
2928
2928
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2929
2929
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2930
2930
|
var tmp_0;
|
|
2931
|
-
var tmp_1 = this.
|
|
2931
|
+
var tmp_1 = this.e29_1;
|
|
2932
2932
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2933
|
-
tmp_0 = this.
|
|
2933
|
+
tmp_0 = this.e29_1;
|
|
2934
2934
|
} else {
|
|
2935
|
-
var tmp0 = this.
|
|
2936
|
-
var p1 = this.
|
|
2935
|
+
var tmp0 = this.e29_1.d27_1;
|
|
2936
|
+
var p1 = this.k29_1;
|
|
2937
2937
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2938
2938
|
}
|
|
2939
2939
|
var tmp$ret$1 = tmp_0;
|
|
2940
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2940
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.f29_1, this.g29_1, null);
|
|
2941
2941
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2942
2942
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2943
2943
|
var tmp_2;
|
|
2944
|
-
var tmp_3 = this.
|
|
2944
|
+
var tmp_3 = this.e29_1;
|
|
2945
2945
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2946
|
-
tmp_2 = this.
|
|
2946
|
+
tmp_2 = this.e29_1;
|
|
2947
2947
|
} else {
|
|
2948
|
-
var tmp0_0 = this.
|
|
2949
|
-
var p1_0 = this.
|
|
2948
|
+
var tmp0_0 = this.e29_1.d27_1;
|
|
2949
|
+
var p1_0 = this.k29_1;
|
|
2950
2950
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2951
2951
|
}
|
|
2952
2952
|
var tmp$ret$3 = tmp_2;
|
|
2953
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2954
|
-
} else if (!(this.
|
|
2953
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.f29_1, this.g29_1, null);
|
|
2954
|
+
} else if (!(this.l29_1 == null)) {
|
|
2955
2955
|
// Inline function 'kotlin.apply' call
|
|
2956
|
-
this.
|
|
2956
|
+
this.m29_1 = descriptor.dl();
|
|
2957
2957
|
tmp = this;
|
|
2958
2958
|
} else {
|
|
2959
2959
|
tmp = protoOf(AbstractEncoder).ro.call(this, descriptor);
|
|
@@ -2961,68 +2961,68 @@
|
|
|
2961
2961
|
return tmp;
|
|
2962
2962
|
};
|
|
2963
2963
|
protoOf(StreamingJsonEncoder).go = function () {
|
|
2964
|
-
this.
|
|
2964
|
+
this.e29_1.m27('null');
|
|
2965
2965
|
};
|
|
2966
2966
|
protoOf(StreamingJsonEncoder).ho = function (value) {
|
|
2967
|
-
if (this.
|
|
2967
|
+
if (this.k29_1) {
|
|
2968
2968
|
this.po(value.toString());
|
|
2969
2969
|
} else {
|
|
2970
|
-
this.
|
|
2970
|
+
this.e29_1.v27(value);
|
|
2971
2971
|
}
|
|
2972
2972
|
};
|
|
2973
2973
|
protoOf(StreamingJsonEncoder).io = function (value) {
|
|
2974
|
-
if (this.
|
|
2974
|
+
if (this.k29_1) {
|
|
2975
2975
|
this.po(value.toString());
|
|
2976
2976
|
} else {
|
|
2977
|
-
this.
|
|
2977
|
+
this.e29_1.q27(value);
|
|
2978
2978
|
}
|
|
2979
2979
|
};
|
|
2980
2980
|
protoOf(StreamingJsonEncoder).jo = function (value) {
|
|
2981
|
-
if (this.
|
|
2981
|
+
if (this.k29_1) {
|
|
2982
2982
|
this.po(value.toString());
|
|
2983
2983
|
} else {
|
|
2984
|
-
this.
|
|
2984
|
+
this.e29_1.s27(value);
|
|
2985
2985
|
}
|
|
2986
2986
|
};
|
|
2987
2987
|
protoOf(StreamingJsonEncoder).ko = function (value) {
|
|
2988
|
-
if (this.
|
|
2988
|
+
if (this.k29_1) {
|
|
2989
2989
|
this.po(value.toString());
|
|
2990
2990
|
} else {
|
|
2991
|
-
this.
|
|
2991
|
+
this.e29_1.t27(value);
|
|
2992
2992
|
}
|
|
2993
2993
|
};
|
|
2994
2994
|
protoOf(StreamingJsonEncoder).lo = function (value) {
|
|
2995
|
-
if (this.
|
|
2995
|
+
if (this.k29_1) {
|
|
2996
2996
|
this.po(value.toString());
|
|
2997
2997
|
} else {
|
|
2998
|
-
this.
|
|
2998
|
+
this.e29_1.u27(value);
|
|
2999
2999
|
}
|
|
3000
3000
|
};
|
|
3001
3001
|
protoOf(StreamingJsonEncoder).mo = function (value) {
|
|
3002
|
-
if (this.
|
|
3002
|
+
if (this.k29_1) {
|
|
3003
3003
|
this.po(value.toString());
|
|
3004
3004
|
} else {
|
|
3005
|
-
this.
|
|
3005
|
+
this.e29_1.o27(value);
|
|
3006
3006
|
}
|
|
3007
|
-
if (!this.
|
|
3008
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3007
|
+
if (!this.j29_1.o25_1 && !isFinite(value)) {
|
|
3008
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e29_1.d27_1));
|
|
3009
3009
|
}
|
|
3010
3010
|
};
|
|
3011
3011
|
protoOf(StreamingJsonEncoder).no = function (value) {
|
|
3012
|
-
if (this.
|
|
3012
|
+
if (this.k29_1) {
|
|
3013
3013
|
this.po(value.toString());
|
|
3014
3014
|
} else {
|
|
3015
|
-
this.
|
|
3015
|
+
this.e29_1.p27(value);
|
|
3016
3016
|
}
|
|
3017
|
-
if (!this.
|
|
3018
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3017
|
+
if (!this.j29_1.o25_1 && !isFinite_0(value)) {
|
|
3018
|
+
throw InvalidFloatingPointEncoded(value, toString(this.e29_1.d27_1));
|
|
3019
3019
|
}
|
|
3020
3020
|
};
|
|
3021
3021
|
protoOf(StreamingJsonEncoder).oo = function (value) {
|
|
3022
3022
|
this.po(toString_1(value));
|
|
3023
3023
|
};
|
|
3024
3024
|
protoOf(StreamingJsonEncoder).po = function (value) {
|
|
3025
|
-
return this.
|
|
3025
|
+
return this.e29_1.w27(value);
|
|
3026
3026
|
};
|
|
3027
3027
|
protoOf(StreamingJsonEncoder).qo = function (enumDescriptor, index) {
|
|
3028
3028
|
this.po(enumDescriptor.wl(index));
|
|
@@ -3196,42 +3196,42 @@
|
|
|
3196
3196
|
}
|
|
3197
3197
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3198
3198
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3199
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3199
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.c2c(tag), toString($this.d2c()));
|
|
3200
3200
|
}
|
|
3201
3201
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3202
3202
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3203
3203
|
NamedValueDecoder.call(this);
|
|
3204
|
-
this.
|
|
3205
|
-
this.
|
|
3206
|
-
this.
|
|
3207
|
-
this.
|
|
3204
|
+
this.y2b_1 = json;
|
|
3205
|
+
this.z2b_1 = value;
|
|
3206
|
+
this.a2c_1 = polymorphicDiscriminator;
|
|
3207
|
+
this.b2c_1 = this.v25().r23_1;
|
|
3208
3208
|
}
|
|
3209
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3210
|
-
return this.
|
|
3209
|
+
protoOf(AbstractJsonTreeDecoder).v25 = function () {
|
|
3210
|
+
return this.y2b_1;
|
|
3211
3211
|
};
|
|
3212
3212
|
protoOf(AbstractJsonTreeDecoder).v1 = function () {
|
|
3213
|
-
return this.
|
|
3213
|
+
return this.z2b_1;
|
|
3214
3214
|
};
|
|
3215
3215
|
protoOf(AbstractJsonTreeDecoder).ao = function () {
|
|
3216
|
-
return this.
|
|
3216
|
+
return this.v25().ao();
|
|
3217
3217
|
};
|
|
3218
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3218
|
+
protoOf(AbstractJsonTreeDecoder).d2c = function () {
|
|
3219
3219
|
var tmp0_safe_receiver = this.v11();
|
|
3220
3220
|
var tmp;
|
|
3221
3221
|
if (tmp0_safe_receiver == null) {
|
|
3222
3222
|
tmp = null;
|
|
3223
3223
|
} else {
|
|
3224
3224
|
// Inline function 'kotlin.let' call
|
|
3225
|
-
tmp = this.
|
|
3225
|
+
tmp = this.e2c(tmp0_safe_receiver);
|
|
3226
3226
|
}
|
|
3227
3227
|
var tmp1_elvis_lhs = tmp;
|
|
3228
3228
|
return tmp1_elvis_lhs == null ? this.v1() : tmp1_elvis_lhs;
|
|
3229
3229
|
};
|
|
3230
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3230
|
+
protoOf(AbstractJsonTreeDecoder).c2c = function (currentTag) {
|
|
3231
3231
|
return this.x11() + ('.' + currentTag);
|
|
3232
3232
|
};
|
|
3233
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3234
|
-
return this.
|
|
3233
|
+
protoOf(AbstractJsonTreeDecoder).w25 = function () {
|
|
3234
|
+
return this.d2c();
|
|
3235
3235
|
};
|
|
3236
3236
|
protoOf(AbstractJsonTreeDecoder).kn = function (deserializer) {
|
|
3237
3237
|
var tmp$ret$0;
|
|
@@ -3241,14 +3241,14 @@
|
|
|
3241
3241
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3242
3242
|
tmp = true;
|
|
3243
3243
|
} else {
|
|
3244
|
-
tmp = this.
|
|
3244
|
+
tmp = this.v25().r23_1.m25_1;
|
|
3245
3245
|
}
|
|
3246
3246
|
if (tmp) {
|
|
3247
3247
|
tmp$ret$0 = deserializer.ek(this);
|
|
3248
3248
|
break $l$block;
|
|
3249
3249
|
}
|
|
3250
|
-
var discriminator = classDiscriminator(deserializer.ck(), this.
|
|
3251
|
-
var tmp0 = this.
|
|
3250
|
+
var discriminator = classDiscriminator(deserializer.ck(), this.v25());
|
|
3251
|
+
var tmp0 = this.w25();
|
|
3252
3252
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3253
3253
|
var serialName = deserializer.ck().dl();
|
|
3254
3254
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3258,7 +3258,7 @@
|
|
|
3258
3258
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3259
3259
|
}
|
|
3260
3260
|
var jsonTree = tmp0;
|
|
3261
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3261
|
+
var tmp0_safe_receiver = jsonTree.b26(discriminator);
|
|
3262
3262
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3263
3263
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3264
3264
|
var tmp_2;
|
|
@@ -3275,7 +3275,7 @@
|
|
|
3275
3275
|
}
|
|
3276
3276
|
var tmp_4 = tmp_2;
|
|
3277
3277
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3278
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3278
|
+
tmp$ret$0 = readPolymorphicJson(this.v25(), discriminator, jsonTree, actualSerializer);
|
|
3279
3279
|
}
|
|
3280
3280
|
return tmp$ret$0;
|
|
3281
3281
|
};
|
|
@@ -3283,7 +3283,7 @@
|
|
|
3283
3283
|
return childName;
|
|
3284
3284
|
};
|
|
3285
3285
|
protoOf(AbstractJsonTreeDecoder).ln = function (descriptor) {
|
|
3286
|
-
var currentObject = this.
|
|
3286
|
+
var currentObject = this.d2c();
|
|
3287
3287
|
var tmp0_subject = descriptor.sl();
|
|
3288
3288
|
var tmp;
|
|
3289
3289
|
var tmp_0;
|
|
@@ -3293,7 +3293,7 @@
|
|
|
3293
3293
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3294
3294
|
}
|
|
3295
3295
|
if (tmp_0) {
|
|
3296
|
-
var tmp_1 = this.
|
|
3296
|
+
var tmp_1 = this.v25();
|
|
3297
3297
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3298
3298
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3299
3299
|
var serialName = descriptor.dl();
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
} else {
|
|
3308
3308
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3309
3309
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3310
|
-
var this_0 = this.
|
|
3310
|
+
var this_0 = this.v25();
|
|
3311
3311
|
var keyDescriptor = carrierDescriptor(descriptor.zl(0), this_0.ao());
|
|
3312
3312
|
var keyKind = keyDescriptor.sl();
|
|
3313
3313
|
var tmp_4;
|
|
@@ -3318,7 +3318,7 @@
|
|
|
3318
3318
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3319
3319
|
}
|
|
3320
3320
|
if (tmp_5) {
|
|
3321
|
-
var tmp_6 = this.
|
|
3321
|
+
var tmp_6 = this.v25();
|
|
3322
3322
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3323
3323
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3324
3324
|
var serialName_0 = descriptor.dl();
|
|
@@ -3330,8 +3330,8 @@
|
|
|
3330
3330
|
}
|
|
3331
3331
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3332
3332
|
} else {
|
|
3333
|
-
if (this_0.
|
|
3334
|
-
var tmp_9 = this.
|
|
3333
|
+
if (this_0.r23_1.h25_1) {
|
|
3334
|
+
var tmp_9 = this.v25();
|
|
3335
3335
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3336
3336
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3337
3337
|
var serialName_1 = descriptor.dl();
|
|
@@ -3348,7 +3348,7 @@
|
|
|
3348
3348
|
}
|
|
3349
3349
|
tmp = tmp_4;
|
|
3350
3350
|
} else {
|
|
3351
|
-
var tmp_12 = this.
|
|
3351
|
+
var tmp_12 = this.v25();
|
|
3352
3352
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3353
3353
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3354
3354
|
var serialName_2 = descriptor.dl();
|
|
@@ -3358,7 +3358,7 @@
|
|
|
3358
3358
|
var tmp$ret$12 = this.x11();
|
|
3359
3359
|
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));
|
|
3360
3360
|
}
|
|
3361
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3361
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.a2c_1);
|
|
3362
3362
|
}
|
|
3363
3363
|
}
|
|
3364
3364
|
return tmp;
|
|
@@ -3366,44 +3366,44 @@
|
|
|
3366
3366
|
protoOf(AbstractJsonTreeDecoder).mn = function (descriptor) {
|
|
3367
3367
|
};
|
|
3368
3368
|
protoOf(AbstractJsonTreeDecoder).wm = function () {
|
|
3369
|
-
var tmp = this.
|
|
3369
|
+
var tmp = this.d2c();
|
|
3370
3370
|
return !(tmp instanceof JsonNull);
|
|
3371
3371
|
};
|
|
3372
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3373
|
-
var tmp = this.
|
|
3372
|
+
protoOf(AbstractJsonTreeDecoder).f2c = function (tag, enumDescriptor) {
|
|
3373
|
+
var tmp = this.v25();
|
|
3374
3374
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3375
|
-
var tmp2 = this.
|
|
3375
|
+
var tmp2 = this.e2c(tag);
|
|
3376
3376
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3377
3377
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3378
3378
|
var serialName = enumDescriptor.dl();
|
|
3379
3379
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3380
3380
|
var tmp_0 = getKClass(JsonPrimitive).w8();
|
|
3381
3381
|
var tmp_1 = getKClassFromExpression(tmp2).w8();
|
|
3382
|
-
var tmp$ret$0 = this.
|
|
3382
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3383
3383
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3384
3384
|
}
|
|
3385
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3385
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.x25());
|
|
3386
3386
|
};
|
|
3387
3387
|
protoOf(AbstractJsonTreeDecoder).j12 = function (tag, enumDescriptor) {
|
|
3388
|
-
return this.
|
|
3388
|
+
return this.f2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3389
3389
|
};
|
|
3390
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3391
|
-
return !(this.
|
|
3390
|
+
protoOf(AbstractJsonTreeDecoder).g2c = function (tag) {
|
|
3391
|
+
return !(this.e2c(tag) === JsonNull_getInstance());
|
|
3392
3392
|
};
|
|
3393
3393
|
protoOf(AbstractJsonTreeDecoder).z11 = function (tag) {
|
|
3394
|
-
return this.
|
|
3394
|
+
return this.g2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3395
3395
|
};
|
|
3396
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3396
|
+
protoOf(AbstractJsonTreeDecoder).h2c = function (tag) {
|
|
3397
3397
|
var tmp$ret$4;
|
|
3398
3398
|
$l$block: {
|
|
3399
3399
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3400
3400
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3401
3401
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3402
|
-
var value = this.
|
|
3402
|
+
var value = this.e2c(tag);
|
|
3403
3403
|
if (!(value instanceof JsonPrimitive)) {
|
|
3404
3404
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3405
3405
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3406
|
-
var tmp$ret$0 = this.
|
|
3406
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3407
3407
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3408
3408
|
}
|
|
3409
3409
|
var literal = value;
|
|
@@ -3429,19 +3429,19 @@
|
|
|
3429
3429
|
return tmp$ret$4;
|
|
3430
3430
|
};
|
|
3431
3431
|
protoOf(AbstractJsonTreeDecoder).a12 = function (tag) {
|
|
3432
|
-
return this.
|
|
3432
|
+
return this.h2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3433
3433
|
};
|
|
3434
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3434
|
+
protoOf(AbstractJsonTreeDecoder).i2c = function (tag) {
|
|
3435
3435
|
var tmp$ret$5;
|
|
3436
3436
|
$l$block: {
|
|
3437
3437
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3438
3438
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3439
3439
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3440
|
-
var value = this.
|
|
3440
|
+
var value = this.e2c(tag);
|
|
3441
3441
|
if (!(value instanceof JsonPrimitive)) {
|
|
3442
3442
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3443
3443
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3444
|
-
var tmp$ret$0 = this.
|
|
3444
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3445
3445
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3446
3446
|
}
|
|
3447
3447
|
var literal = value;
|
|
@@ -3476,19 +3476,19 @@
|
|
|
3476
3476
|
return tmp$ret$5;
|
|
3477
3477
|
};
|
|
3478
3478
|
protoOf(AbstractJsonTreeDecoder).b12 = function (tag) {
|
|
3479
|
-
return this.
|
|
3479
|
+
return this.i2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3480
3480
|
};
|
|
3481
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3481
|
+
protoOf(AbstractJsonTreeDecoder).j2c = function (tag) {
|
|
3482
3482
|
var tmp$ret$5;
|
|
3483
3483
|
$l$block: {
|
|
3484
3484
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3485
3485
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3486
3486
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3487
|
-
var value = this.
|
|
3487
|
+
var value = this.e2c(tag);
|
|
3488
3488
|
if (!(value instanceof JsonPrimitive)) {
|
|
3489
3489
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3490
3490
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3491
|
-
var tmp$ret$0 = this.
|
|
3491
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3492
3492
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3493
3493
|
}
|
|
3494
3494
|
var literal = value;
|
|
@@ -3523,19 +3523,19 @@
|
|
|
3523
3523
|
return tmp$ret$5;
|
|
3524
3524
|
};
|
|
3525
3525
|
protoOf(AbstractJsonTreeDecoder).c12 = function (tag) {
|
|
3526
|
-
return this.
|
|
3526
|
+
return this.j2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3527
3527
|
};
|
|
3528
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3528
|
+
protoOf(AbstractJsonTreeDecoder).k2c = function (tag) {
|
|
3529
3529
|
var tmp$ret$5;
|
|
3530
3530
|
$l$block: {
|
|
3531
3531
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3532
3532
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3533
3533
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3534
|
-
var value = this.
|
|
3534
|
+
var value = this.e2c(tag);
|
|
3535
3535
|
if (!(value instanceof JsonPrimitive)) {
|
|
3536
3536
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3537
3537
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3538
|
-
var tmp$ret$0 = this.
|
|
3538
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3539
3539
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3540
3540
|
}
|
|
3541
3541
|
var literal = value;
|
|
@@ -3570,19 +3570,19 @@
|
|
|
3570
3570
|
return tmp$ret$5;
|
|
3571
3571
|
};
|
|
3572
3572
|
protoOf(AbstractJsonTreeDecoder).d12 = function (tag) {
|
|
3573
|
-
return this.
|
|
3573
|
+
return this.k2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3574
3574
|
};
|
|
3575
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3575
|
+
protoOf(AbstractJsonTreeDecoder).l2c = function (tag) {
|
|
3576
3576
|
var tmp$ret$4;
|
|
3577
3577
|
$l$block: {
|
|
3578
3578
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3579
3579
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3580
3580
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3581
|
-
var value = this.
|
|
3581
|
+
var value = this.e2c(tag);
|
|
3582
3582
|
if (!(value instanceof JsonPrimitive)) {
|
|
3583
3583
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3584
3584
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3585
|
-
var tmp$ret$0 = this.
|
|
3585
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3586
3586
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3587
3587
|
}
|
|
3588
3588
|
var literal = value;
|
|
@@ -3608,19 +3608,19 @@
|
|
|
3608
3608
|
return tmp$ret$4;
|
|
3609
3609
|
};
|
|
3610
3610
|
protoOf(AbstractJsonTreeDecoder).e12 = function (tag) {
|
|
3611
|
-
return this.
|
|
3611
|
+
return this.l2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3612
3612
|
};
|
|
3613
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3613
|
+
protoOf(AbstractJsonTreeDecoder).m2c = function (tag) {
|
|
3614
3614
|
var tmp$ret$4;
|
|
3615
3615
|
$l$block: {
|
|
3616
3616
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3617
3617
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3618
3618
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3619
|
-
var value = this.
|
|
3619
|
+
var value = this.e2c(tag);
|
|
3620
3620
|
if (!(value instanceof JsonPrimitive)) {
|
|
3621
3621
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3622
3622
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3623
|
-
var tmp$ret$0 = this.
|
|
3623
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3624
3624
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3625
3625
|
}
|
|
3626
3626
|
var literal = value;
|
|
@@ -3644,25 +3644,25 @@
|
|
|
3644
3644
|
}
|
|
3645
3645
|
}
|
|
3646
3646
|
var result = tmp$ret$4;
|
|
3647
|
-
var specialFp = this.
|
|
3647
|
+
var specialFp = this.v25().r23_1.o25_1;
|
|
3648
3648
|
if (specialFp || isFinite(result))
|
|
3649
3649
|
return result;
|
|
3650
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3650
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.d2c()));
|
|
3651
3651
|
};
|
|
3652
3652
|
protoOf(AbstractJsonTreeDecoder).f12 = function (tag) {
|
|
3653
|
-
return this.
|
|
3653
|
+
return this.m2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3654
3654
|
};
|
|
3655
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3655
|
+
protoOf(AbstractJsonTreeDecoder).n2c = function (tag) {
|
|
3656
3656
|
var tmp$ret$4;
|
|
3657
3657
|
$l$block: {
|
|
3658
3658
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3659
3659
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3660
3660
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3661
|
-
var value = this.
|
|
3661
|
+
var value = this.e2c(tag);
|
|
3662
3662
|
if (!(value instanceof JsonPrimitive)) {
|
|
3663
3663
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3664
3664
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3665
|
-
var tmp$ret$0 = this.
|
|
3665
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3666
3666
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3667
3667
|
}
|
|
3668
3668
|
var literal = value;
|
|
@@ -3686,30 +3686,30 @@
|
|
|
3686
3686
|
}
|
|
3687
3687
|
}
|
|
3688
3688
|
var result = tmp$ret$4;
|
|
3689
|
-
var specialFp = this.
|
|
3689
|
+
var specialFp = this.v25().r23_1.o25_1;
|
|
3690
3690
|
if (specialFp || isFinite_0(result))
|
|
3691
3691
|
return result;
|
|
3692
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3692
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.d2c()));
|
|
3693
3693
|
};
|
|
3694
3694
|
protoOf(AbstractJsonTreeDecoder).g12 = function (tag) {
|
|
3695
|
-
return this.
|
|
3695
|
+
return this.n2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3696
3696
|
};
|
|
3697
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3697
|
+
protoOf(AbstractJsonTreeDecoder).o2c = function (tag) {
|
|
3698
3698
|
var tmp$ret$4;
|
|
3699
3699
|
$l$block: {
|
|
3700
3700
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3701
3701
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3702
3702
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3703
|
-
var value = this.
|
|
3703
|
+
var value = this.e2c(tag);
|
|
3704
3704
|
if (!(value instanceof JsonPrimitive)) {
|
|
3705
3705
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3706
3706
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3707
|
-
var tmp$ret$0 = this.
|
|
3707
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3708
3708
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3709
3709
|
}
|
|
3710
3710
|
var literal = value;
|
|
3711
3711
|
try {
|
|
3712
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3712
|
+
var tmp0_elvis_lhs = new Char(single(literal.x25()));
|
|
3713
3713
|
var tmp_1;
|
|
3714
3714
|
if (tmp0_elvis_lhs == null) {
|
|
3715
3715
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3730,80 +3730,80 @@
|
|
|
3730
3730
|
return tmp$ret$4;
|
|
3731
3731
|
};
|
|
3732
3732
|
protoOf(AbstractJsonTreeDecoder).h12 = function (tag) {
|
|
3733
|
-
return this.
|
|
3733
|
+
return this.o2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3734
3734
|
};
|
|
3735
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3735
|
+
protoOf(AbstractJsonTreeDecoder).p2c = function (tag) {
|
|
3736
3736
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3737
3737
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3738
|
-
var value = this.
|
|
3738
|
+
var value = this.e2c(tag);
|
|
3739
3739
|
if (!(value instanceof JsonPrimitive)) {
|
|
3740
3740
|
var tmp = getKClass(JsonPrimitive).w8();
|
|
3741
3741
|
var tmp_0 = getKClassFromExpression(value).w8();
|
|
3742
|
-
var tmp$ret$0 = this.
|
|
3742
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3743
3743
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3744
3744
|
}
|
|
3745
3745
|
var value_0 = value;
|
|
3746
3746
|
if (!(value_0 instanceof JsonLiteral))
|
|
3747
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3748
|
-
if (!value_0.
|
|
3749
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3747
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.c2c(tag), toString(this.d2c()));
|
|
3748
|
+
if (!value_0.i26_1 && !this.v25().r23_1.g25_1) {
|
|
3749
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.c2c(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.d2c()));
|
|
3750
3750
|
}
|
|
3751
|
-
return value_0.
|
|
3751
|
+
return value_0.k26_1;
|
|
3752
3752
|
};
|
|
3753
3753
|
protoOf(AbstractJsonTreeDecoder).i12 = function (tag) {
|
|
3754
|
-
return this.
|
|
3754
|
+
return this.p2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3755
3755
|
};
|
|
3756
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3756
|
+
protoOf(AbstractJsonTreeDecoder).q2c = function (tag, inlineDescriptor) {
|
|
3757
3757
|
var tmp;
|
|
3758
3758
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3759
|
-
var tmp_0 = this.
|
|
3759
|
+
var tmp_0 = this.v25();
|
|
3760
3760
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3761
|
-
var tmp2 = this.
|
|
3761
|
+
var tmp2 = this.e2c(tag);
|
|
3762
3762
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3763
3763
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3764
3764
|
var serialName = inlineDescriptor.dl();
|
|
3765
3765
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3766
3766
|
var tmp_1 = getKClass(JsonPrimitive).w8();
|
|
3767
3767
|
var tmp_2 = getKClassFromExpression(tmp2).w8();
|
|
3768
|
-
var tmp$ret$0 = this.
|
|
3768
|
+
var tmp$ret$0 = this.c2c(tag);
|
|
3769
3769
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3770
3770
|
}
|
|
3771
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3772
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3771
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.x25());
|
|
3772
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.v25());
|
|
3773
3773
|
} else {
|
|
3774
3774
|
tmp = protoOf(NamedValueDecoder).k12.call(this, tag, inlineDescriptor);
|
|
3775
3775
|
}
|
|
3776
3776
|
return tmp;
|
|
3777
3777
|
};
|
|
3778
3778
|
protoOf(AbstractJsonTreeDecoder).k12 = function (tag, inlineDescriptor) {
|
|
3779
|
-
return this.
|
|
3779
|
+
return this.q2c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3780
3780
|
};
|
|
3781
3781
|
protoOf(AbstractJsonTreeDecoder).in = function (descriptor) {
|
|
3782
|
-
return !(this.v11() == null) ? protoOf(NamedValueDecoder).in.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3782
|
+
return !(this.v11() == null) ? protoOf(NamedValueDecoder).in.call(this, descriptor) : (new JsonPrimitiveDecoder(this.v25(), this.v1(), this.a2c_1)).in(descriptor);
|
|
3783
3783
|
};
|
|
3784
3784
|
function setForceNull($this, descriptor, index) {
|
|
3785
|
-
$this.
|
|
3786
|
-
return $this.
|
|
3785
|
+
$this.a2d_1 = (!$this.v25().r23_1.j25_1 && !descriptor.am(index) && descriptor.zl(index).ll());
|
|
3786
|
+
return $this.a2d_1;
|
|
3787
3787
|
}
|
|
3788
3788
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3789
3789
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3790
3790
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3791
3791
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3795
|
-
this.
|
|
3792
|
+
this.x2c_1 = value;
|
|
3793
|
+
this.y2c_1 = polyDescriptor;
|
|
3794
|
+
this.z2c_1 = 0;
|
|
3795
|
+
this.a2d_1 = false;
|
|
3796
3796
|
}
|
|
3797
3797
|
protoOf(JsonTreeDecoder).v1 = function () {
|
|
3798
|
-
return this.
|
|
3798
|
+
return this.x2c_1;
|
|
3799
3799
|
};
|
|
3800
3800
|
protoOf(JsonTreeDecoder).co = function (descriptor) {
|
|
3801
|
-
$l$loop: while (this.
|
|
3802
|
-
var _unary__edvuaz = this.
|
|
3803
|
-
this.
|
|
3801
|
+
$l$loop: while (this.z2c_1 < descriptor.ul()) {
|
|
3802
|
+
var _unary__edvuaz = this.z2c_1;
|
|
3803
|
+
this.z2c_1 = _unary__edvuaz + 1 | 0;
|
|
3804
3804
|
var name = this.q11(descriptor, _unary__edvuaz);
|
|
3805
|
-
var index = this.
|
|
3806
|
-
this.
|
|
3805
|
+
var index = this.z2c_1 - 1 | 0;
|
|
3806
|
+
this.a2d_1 = false;
|
|
3807
3807
|
var tmp;
|
|
3808
3808
|
// Inline function 'kotlin.collections.contains' call
|
|
3809
3809
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3814,9 +3814,9 @@
|
|
|
3814
3814
|
tmp = setForceNull(this, descriptor, index);
|
|
3815
3815
|
}
|
|
3816
3816
|
if (tmp) {
|
|
3817
|
-
if (!this.
|
|
3817
|
+
if (!this.b2c_1.l25_1)
|
|
3818
3818
|
return index;
|
|
3819
|
-
var tmp0 = this.
|
|
3819
|
+
var tmp0 = this.v25();
|
|
3820
3820
|
var tmp$ret$3;
|
|
3821
3821
|
$l$block_2: {
|
|
3822
3822
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3824,7 +3824,7 @@
|
|
|
3824
3824
|
var elementDescriptor = descriptor.zl(index);
|
|
3825
3825
|
var tmp_0;
|
|
3826
3826
|
if (isOptional && !elementDescriptor.ll()) {
|
|
3827
|
-
var tmp_1 = this.
|
|
3827
|
+
var tmp_1 = this.b2d(name);
|
|
3828
3828
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3829
3829
|
} else {
|
|
3830
3830
|
tmp_0 = false;
|
|
@@ -3836,7 +3836,7 @@
|
|
|
3836
3836
|
if (equals(elementDescriptor.sl(), ENUM_getInstance())) {
|
|
3837
3837
|
var tmp_2;
|
|
3838
3838
|
if (elementDescriptor.ll()) {
|
|
3839
|
-
var tmp_3 = this.
|
|
3839
|
+
var tmp_3 = this.b2d(name);
|
|
3840
3840
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3841
3841
|
} else {
|
|
3842
3842
|
tmp_2 = false;
|
|
@@ -3845,7 +3845,7 @@
|
|
|
3845
3845
|
tmp$ret$3 = false;
|
|
3846
3846
|
break $l$block_2;
|
|
3847
3847
|
}
|
|
3848
|
-
var tmp_4 = this.
|
|
3848
|
+
var tmp_4 = this.b2d(name);
|
|
3849
3849
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3850
3850
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3851
3851
|
var tmp_5;
|
|
@@ -3857,7 +3857,7 @@
|
|
|
3857
3857
|
}
|
|
3858
3858
|
var enumValue = tmp_5;
|
|
3859
3859
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3860
|
-
var coerceToNull = !tmp0.
|
|
3860
|
+
var coerceToNull = !tmp0.r23_1.j25_1 && elementDescriptor.ll();
|
|
3861
3861
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3862
3862
|
if (setForceNull(this, descriptor, index))
|
|
3863
3863
|
return index;
|
|
@@ -3875,18 +3875,18 @@
|
|
|
3875
3875
|
return -1;
|
|
3876
3876
|
};
|
|
3877
3877
|
protoOf(JsonTreeDecoder).wm = function () {
|
|
3878
|
-
return !this.
|
|
3878
|
+
return !this.a2d_1 && protoOf(AbstractJsonTreeDecoder).wm.call(this);
|
|
3879
3879
|
};
|
|
3880
3880
|
protoOf(JsonTreeDecoder).r11 = function (descriptor, index) {
|
|
3881
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3881
|
+
var strategy = namingStrategy(descriptor, this.v25());
|
|
3882
3882
|
var baseName = descriptor.wl(index);
|
|
3883
3883
|
if (strategy == null) {
|
|
3884
|
-
if (!this.
|
|
3884
|
+
if (!this.b2c_1.p25_1)
|
|
3885
3885
|
return baseName;
|
|
3886
3886
|
if (this.v1().z1().o1(baseName))
|
|
3887
3887
|
return baseName;
|
|
3888
3888
|
}
|
|
3889
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3889
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.v25(), descriptor);
|
|
3890
3890
|
// Inline function 'kotlin.collections.find' call
|
|
3891
3891
|
var tmp0 = this.v1().z1();
|
|
3892
3892
|
var tmp$ret$1;
|
|
@@ -3909,35 +3909,35 @@
|
|
|
3909
3909
|
// Inline function 'kotlin.let' call
|
|
3910
3910
|
return tmp0_safe_receiver;
|
|
3911
3911
|
}
|
|
3912
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3912
|
+
var fallbackName = strategy == null ? null : strategy.r28(descriptor, index, baseName);
|
|
3913
3913
|
return fallbackName == null ? baseName : fallbackName;
|
|
3914
3914
|
};
|
|
3915
|
-
protoOf(JsonTreeDecoder).
|
|
3915
|
+
protoOf(JsonTreeDecoder).e2c = function (tag) {
|
|
3916
3916
|
return getValue(this.v1(), tag);
|
|
3917
3917
|
};
|
|
3918
|
-
protoOf(JsonTreeDecoder).
|
|
3919
|
-
return this.v1().
|
|
3918
|
+
protoOf(JsonTreeDecoder).b2d = function (tag) {
|
|
3919
|
+
return this.v1().b26(tag);
|
|
3920
3920
|
};
|
|
3921
3921
|
protoOf(JsonTreeDecoder).ln = function (descriptor) {
|
|
3922
|
-
if (descriptor === this.
|
|
3923
|
-
var tmp = this.
|
|
3924
|
-
var tmp2 = this.
|
|
3922
|
+
if (descriptor === this.y2c_1) {
|
|
3923
|
+
var tmp = this.v25();
|
|
3924
|
+
var tmp2 = this.d2c();
|
|
3925
3925
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3926
3926
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3927
|
-
var serialName = this.
|
|
3927
|
+
var serialName = this.y2c_1.dl();
|
|
3928
3928
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3929
3929
|
var tmp_0 = getKClass(JsonObject).w8();
|
|
3930
3930
|
var tmp_1 = getKClassFromExpression(tmp2).w8();
|
|
3931
3931
|
var tmp$ret$0 = this.x11();
|
|
3932
3932
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3933
3933
|
}
|
|
3934
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3934
|
+
return new JsonTreeDecoder(tmp, tmp2, this.a2c_1, this.y2c_1);
|
|
3935
3935
|
}
|
|
3936
3936
|
return protoOf(AbstractJsonTreeDecoder).ln.call(this, descriptor);
|
|
3937
3937
|
};
|
|
3938
3938
|
protoOf(JsonTreeDecoder).mn = function (descriptor) {
|
|
3939
3939
|
var tmp;
|
|
3940
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3940
|
+
if (ignoreUnknownKeys(descriptor, this.v25())) {
|
|
3941
3941
|
tmp = true;
|
|
3942
3942
|
} else {
|
|
3943
3943
|
var tmp_0 = descriptor.sl();
|
|
@@ -3945,15 +3945,15 @@
|
|
|
3945
3945
|
}
|
|
3946
3946
|
if (tmp)
|
|
3947
3947
|
return Unit_instance;
|
|
3948
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3948
|
+
var strategy = namingStrategy(descriptor, this.v25());
|
|
3949
3949
|
var tmp_1;
|
|
3950
|
-
if (strategy == null && !this.
|
|
3950
|
+
if (strategy == null && !this.b2c_1.p25_1) {
|
|
3951
3951
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3952
3952
|
} else if (!(strategy == null)) {
|
|
3953
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3953
|
+
tmp_1 = deserializationNamesMap(this.v25(), descriptor).z1();
|
|
3954
3954
|
} else {
|
|
3955
3955
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3956
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3956
|
+
var tmp0_safe_receiver = get_schemaCache(this.v25()).c2b(descriptor, get_JsonDeserializationNamesKey());
|
|
3957
3957
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3958
3958
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1();
|
|
3959
3959
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3963,76 +3963,76 @@
|
|
|
3963
3963
|
var _iterator__ex2g4s = this.v1().z1().l();
|
|
3964
3964
|
while (_iterator__ex2g4s.m()) {
|
|
3965
3965
|
var key = _iterator__ex2g4s.n();
|
|
3966
|
-
if (!names.o1(key) && !(key === this.
|
|
3966
|
+
if (!names.o1(key) && !(key === this.a2c_1)) {
|
|
3967
3967
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.x11() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.v1().toString()))));
|
|
3968
3968
|
}
|
|
3969
3969
|
}
|
|
3970
3970
|
};
|
|
3971
3971
|
function JsonTreeListDecoder(json, value) {
|
|
3972
3972
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3973
|
-
this.
|
|
3974
|
-
this.
|
|
3975
|
-
this.
|
|
3973
|
+
this.i2d_1 = value;
|
|
3974
|
+
this.j2d_1 = this.i2d_1.o();
|
|
3975
|
+
this.k2d_1 = -1;
|
|
3976
3976
|
}
|
|
3977
3977
|
protoOf(JsonTreeListDecoder).v1 = function () {
|
|
3978
|
-
return this.
|
|
3978
|
+
return this.i2d_1;
|
|
3979
3979
|
};
|
|
3980
3980
|
protoOf(JsonTreeListDecoder).r11 = function (descriptor, index) {
|
|
3981
3981
|
return index.toString();
|
|
3982
3982
|
};
|
|
3983
|
-
protoOf(JsonTreeListDecoder).
|
|
3984
|
-
return this.
|
|
3983
|
+
protoOf(JsonTreeListDecoder).e2c = function (tag) {
|
|
3984
|
+
return this.i2d_1.p(toInt(tag));
|
|
3985
3985
|
};
|
|
3986
3986
|
protoOf(JsonTreeListDecoder).co = function (descriptor) {
|
|
3987
|
-
while (this.
|
|
3988
|
-
this.
|
|
3989
|
-
return this.
|
|
3987
|
+
while (this.k2d_1 < (this.j2d_1 - 1 | 0)) {
|
|
3988
|
+
this.k2d_1 = this.k2d_1 + 1 | 0;
|
|
3989
|
+
return this.k2d_1;
|
|
3990
3990
|
}
|
|
3991
3991
|
return -1;
|
|
3992
3992
|
};
|
|
3993
3993
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
3994
3994
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3995
3995
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3996
|
-
this.
|
|
3996
|
+
this.r2d_1 = value;
|
|
3997
3997
|
this.l12('primitive');
|
|
3998
3998
|
}
|
|
3999
3999
|
protoOf(JsonPrimitiveDecoder).v1 = function () {
|
|
4000
|
-
return this.
|
|
4000
|
+
return this.r2d_1;
|
|
4001
4001
|
};
|
|
4002
4002
|
protoOf(JsonPrimitiveDecoder).co = function (descriptor) {
|
|
4003
4003
|
return 0;
|
|
4004
4004
|
};
|
|
4005
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4005
|
+
protoOf(JsonPrimitiveDecoder).e2c = function (tag) {
|
|
4006
4006
|
// Inline function 'kotlin.require' call
|
|
4007
4007
|
if (!(tag === 'primitive')) {
|
|
4008
4008
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4009
4009
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4010
4010
|
}
|
|
4011
|
-
return this.
|
|
4011
|
+
return this.r2d_1;
|
|
4012
4012
|
};
|
|
4013
4013
|
function JsonTreeMapDecoder(json, value) {
|
|
4014
4014
|
JsonTreeDecoder.call(this, json, value);
|
|
4015
|
-
this.
|
|
4016
|
-
this.
|
|
4017
|
-
this.
|
|
4018
|
-
this.
|
|
4015
|
+
this.c2e_1 = value;
|
|
4016
|
+
this.d2e_1 = toList(this.c2e_1.z1());
|
|
4017
|
+
this.e2e_1 = imul(this.d2e_1.o(), 2);
|
|
4018
|
+
this.f2e_1 = -1;
|
|
4019
4019
|
}
|
|
4020
4020
|
protoOf(JsonTreeMapDecoder).v1 = function () {
|
|
4021
|
-
return this.
|
|
4021
|
+
return this.c2e_1;
|
|
4022
4022
|
};
|
|
4023
4023
|
protoOf(JsonTreeMapDecoder).r11 = function (descriptor, index) {
|
|
4024
4024
|
var i = index / 2 | 0;
|
|
4025
|
-
return this.
|
|
4025
|
+
return this.d2e_1.p(i);
|
|
4026
4026
|
};
|
|
4027
4027
|
protoOf(JsonTreeMapDecoder).co = function (descriptor) {
|
|
4028
|
-
while (this.
|
|
4029
|
-
this.
|
|
4030
|
-
return this.
|
|
4028
|
+
while (this.f2e_1 < (this.e2e_1 - 1 | 0)) {
|
|
4029
|
+
this.f2e_1 = this.f2e_1 + 1 | 0;
|
|
4030
|
+
return this.f2e_1;
|
|
4031
4031
|
}
|
|
4032
4032
|
return -1;
|
|
4033
4033
|
};
|
|
4034
|
-
protoOf(JsonTreeMapDecoder).
|
|
4035
|
-
return (this.
|
|
4034
|
+
protoOf(JsonTreeMapDecoder).e2c = function (tag) {
|
|
4035
|
+
return (this.f2e_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.c2e_1, tag);
|
|
4036
4036
|
};
|
|
4037
4037
|
protoOf(JsonTreeMapDecoder).mn = function (descriptor) {
|
|
4038
4038
|
};
|
|
@@ -4064,8 +4064,8 @@
|
|
|
4064
4064
|
var $ENTRIES;
|
|
4065
4065
|
function WriteMode(name, ordinal, begin, end) {
|
|
4066
4066
|
Enum.call(this, name, ordinal);
|
|
4067
|
-
this.
|
|
4068
|
-
this.
|
|
4067
|
+
this.p2b_1 = begin;
|
|
4068
|
+
this.q2b_1 = end;
|
|
4069
4069
|
}
|
|
4070
4070
|
function switchMode(_this__u8e3s4, desc) {
|
|
4071
4071
|
var tmp0_subject = desc.sl();
|
|
@@ -4090,7 +4090,7 @@
|
|
|
4090
4090
|
if (tmp_1) {
|
|
4091
4091
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4092
4092
|
} else {
|
|
4093
|
-
if (_this__u8e3s4.
|
|
4093
|
+
if (_this__u8e3s4.r23_1.h25_1) {
|
|
4094
4094
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4095
4095
|
} else {
|
|
4096
4096
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4134,56 +4134,56 @@
|
|
|
4134
4134
|
return WriteMode_POLY_OBJ_instance;
|
|
4135
4135
|
}
|
|
4136
4136
|
function appendEscape($this, lastPosition, current) {
|
|
4137
|
-
$this.
|
|
4137
|
+
$this.g2e(lastPosition, current);
|
|
4138
4138
|
return appendEsc($this, current + 1 | 0);
|
|
4139
4139
|
}
|
|
4140
4140
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4141
|
-
$this.
|
|
4142
|
-
var result = $this.
|
|
4143
|
-
$this.
|
|
4141
|
+
$this.g2e(lastPosition, currentPosition);
|
|
4142
|
+
var result = $this.j24_1.toString();
|
|
4143
|
+
$this.j24_1.na(0);
|
|
4144
4144
|
return result;
|
|
4145
4145
|
}
|
|
4146
4146
|
function takePeeked($this) {
|
|
4147
4147
|
// Inline function 'kotlin.also' call
|
|
4148
|
-
var this_0 = ensureNotNull($this.
|
|
4149
|
-
$this.
|
|
4148
|
+
var this_0 = ensureNotNull($this.i24_1);
|
|
4149
|
+
$this.i24_1 = null;
|
|
4150
4150
|
return this_0;
|
|
4151
4151
|
}
|
|
4152
4152
|
function wasUnquotedString($this) {
|
|
4153
|
-
return !(charSequenceGet($this.
|
|
4153
|
+
return !(charSequenceGet($this.h2e(), $this.g24_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4154
4154
|
}
|
|
4155
4155
|
function appendEsc($this, startPosition) {
|
|
4156
4156
|
var currentPosition = startPosition;
|
|
4157
|
-
currentPosition = $this.
|
|
4157
|
+
currentPosition = $this.i2e(currentPosition);
|
|
4158
4158
|
if (currentPosition === -1) {
|
|
4159
|
-
$this.
|
|
4159
|
+
$this.n28('Expected escape sequence to continue, got EOF');
|
|
4160
4160
|
}
|
|
4161
|
-
var tmp = $this.
|
|
4161
|
+
var tmp = $this.h2e();
|
|
4162
4162
|
var _unary__edvuaz = currentPosition;
|
|
4163
4163
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4164
4164
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4165
4165
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4166
|
-
return appendHex($this, $this.
|
|
4166
|
+
return appendHex($this, $this.h2e(), currentPosition);
|
|
4167
4167
|
}
|
|
4168
4168
|
// Inline function 'kotlin.code' call
|
|
4169
4169
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4170
4170
|
var c = escapeToChar(tmp$ret$0);
|
|
4171
4171
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4172
|
-
$this.
|
|
4172
|
+
$this.n28("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4173
4173
|
}
|
|
4174
|
-
$this.
|
|
4174
|
+
$this.j24_1.r7(c);
|
|
4175
4175
|
return currentPosition;
|
|
4176
4176
|
}
|
|
4177
4177
|
function appendHex($this, source, startPos) {
|
|
4178
4178
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4179
|
-
$this.
|
|
4180
|
-
$this.
|
|
4181
|
-
if (($this.
|
|
4182
|
-
$this.
|
|
4179
|
+
$this.g24_1 = startPos;
|
|
4180
|
+
$this.j2e();
|
|
4181
|
+
if (($this.g24_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4182
|
+
$this.n28('Unexpected EOF during unicode escape');
|
|
4183
4183
|
}
|
|
4184
|
-
return appendHex($this, source, $this.
|
|
4184
|
+
return appendHex($this, source, $this.g24_1);
|
|
4185
4185
|
}
|
|
4186
|
-
$this.
|
|
4186
|
+
$this.j24_1.r7(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));
|
|
4187
4187
|
return startPos + 4 | 0;
|
|
4188
4188
|
}
|
|
4189
4189
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4208,16 +4208,16 @@
|
|
|
4208
4208
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4209
4209
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4210
4210
|
} else {
|
|
4211
|
-
$this.
|
|
4211
|
+
$this.n28("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4212
4212
|
}
|
|
4213
4213
|
return tmp;
|
|
4214
4214
|
}
|
|
4215
4215
|
function consumeBoolean2($this, start) {
|
|
4216
|
-
var current = $this.
|
|
4217
|
-
if (current >= charSequenceLength($this.
|
|
4218
|
-
$this.
|
|
4216
|
+
var current = $this.i2e(start);
|
|
4217
|
+
if (current >= charSequenceLength($this.h2e()) || current === -1) {
|
|
4218
|
+
$this.n28('EOF');
|
|
4219
4219
|
}
|
|
4220
|
-
var tmp = $this.
|
|
4220
|
+
var tmp = $this.h2e();
|
|
4221
4221
|
var _unary__edvuaz = current;
|
|
4222
4222
|
current = _unary__edvuaz + 1 | 0;
|
|
4223
4223
|
// Inline function 'kotlin.code' call
|
|
@@ -4236,14 +4236,14 @@
|
|
|
4236
4236
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4237
4237
|
tmp_0 = false;
|
|
4238
4238
|
} else {
|
|
4239
|
-
$this.
|
|
4239
|
+
$this.n28("Expected valid boolean literal prefix, but had '" + $this.v29() + "'");
|
|
4240
4240
|
}
|
|
4241
4241
|
}
|
|
4242
4242
|
return tmp_0;
|
|
4243
4243
|
}
|
|
4244
4244
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4245
|
-
if ((charSequenceLength($this.
|
|
4246
|
-
$this.
|
|
4245
|
+
if ((charSequenceLength($this.h2e()) - current | 0) < literalSuffix.length) {
|
|
4246
|
+
$this.n28('Unexpected end of boolean literal');
|
|
4247
4247
|
}
|
|
4248
4248
|
var inductionVariable = 0;
|
|
4249
4249
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4252,16 +4252,16 @@
|
|
|
4252
4252
|
var i = inductionVariable;
|
|
4253
4253
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4254
4254
|
var expected = charCodeAt(literalSuffix, i);
|
|
4255
|
-
var actual = charSequenceGet($this.
|
|
4255
|
+
var actual = charSequenceGet($this.h2e(), current + i | 0);
|
|
4256
4256
|
// Inline function 'kotlin.code' call
|
|
4257
4257
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4258
4258
|
// Inline function 'kotlin.code' call
|
|
4259
4259
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4260
|
-
$this.
|
|
4260
|
+
$this.n28("Expected valid boolean literal prefix, but had '" + $this.v29() + "'");
|
|
4261
4261
|
}
|
|
4262
4262
|
}
|
|
4263
4263
|
while (inductionVariable <= last);
|
|
4264
|
-
$this.
|
|
4264
|
+
$this.g24_1 = current + literalSuffix.length | 0;
|
|
4265
4265
|
}
|
|
4266
4266
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4267
4267
|
var tmp;
|
|
@@ -4285,77 +4285,77 @@
|
|
|
4285
4285
|
return tmp;
|
|
4286
4286
|
}
|
|
4287
4287
|
function AbstractJsonLexer() {
|
|
4288
|
-
this.
|
|
4289
|
-
this.
|
|
4290
|
-
this.
|
|
4291
|
-
this.
|
|
4288
|
+
this.g24_1 = 0;
|
|
4289
|
+
this.h24_1 = new JsonPath();
|
|
4290
|
+
this.i24_1 = null;
|
|
4291
|
+
this.j24_1 = StringBuilder_init_$Create$();
|
|
4292
4292
|
}
|
|
4293
|
-
protoOf(AbstractJsonLexer).
|
|
4293
|
+
protoOf(AbstractJsonLexer).j2e = function () {
|
|
4294
4294
|
};
|
|
4295
|
-
protoOf(AbstractJsonLexer).
|
|
4296
|
-
var current = this.
|
|
4297
|
-
var source = this.
|
|
4295
|
+
protoOf(AbstractJsonLexer).f2b = function () {
|
|
4296
|
+
var current = this.k2e();
|
|
4297
|
+
var source = this.h2e();
|
|
4298
4298
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4299
4299
|
return false;
|
|
4300
4300
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4301
|
-
this.
|
|
4301
|
+
this.g24_1 = this.g24_1 + 1 | 0;
|
|
4302
4302
|
return true;
|
|
4303
4303
|
}
|
|
4304
4304
|
return false;
|
|
4305
4305
|
};
|
|
4306
|
-
protoOf(AbstractJsonLexer).
|
|
4306
|
+
protoOf(AbstractJsonLexer).l2e = function (c) {
|
|
4307
4307
|
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;
|
|
4308
4308
|
};
|
|
4309
|
-
protoOf(AbstractJsonLexer).
|
|
4310
|
-
var nextToken = this.
|
|
4309
|
+
protoOf(AbstractJsonLexer).k24 = function () {
|
|
4310
|
+
var nextToken = this.x29();
|
|
4311
4311
|
if (!(nextToken === 10)) {
|
|
4312
|
-
this.
|
|
4312
|
+
this.n28('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.h2e(), this.g24_1 - 1 | 0)) + ' instead');
|
|
4313
4313
|
}
|
|
4314
4314
|
};
|
|
4315
|
-
protoOf(AbstractJsonLexer).
|
|
4316
|
-
var token = this.
|
|
4315
|
+
protoOf(AbstractJsonLexer).r29 = function (expected) {
|
|
4316
|
+
var token = this.x29();
|
|
4317
4317
|
if (!(token === expected)) {
|
|
4318
4318
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4319
4319
|
var expected_0 = tokenDescription(expected);
|
|
4320
|
-
var position = true ? this.
|
|
4321
|
-
var s = this.
|
|
4320
|
+
var position = true ? this.g24_1 - 1 | 0 : this.g24_1;
|
|
4321
|
+
var s = this.g24_1 === charSequenceLength(this.h2e()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h2e(), position));
|
|
4322
4322
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4323
|
-
this.
|
|
4323
|
+
this.n28(tmp$ret$0, position);
|
|
4324
4324
|
}
|
|
4325
4325
|
return token;
|
|
4326
4326
|
};
|
|
4327
|
-
protoOf(AbstractJsonLexer).
|
|
4328
|
-
if (this.
|
|
4327
|
+
protoOf(AbstractJsonLexer).m2e = function (expected) {
|
|
4328
|
+
if (this.g24_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4329
4329
|
var tmp$ret$1;
|
|
4330
4330
|
$l$block: {
|
|
4331
4331
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4332
|
-
var snapshot = this.
|
|
4332
|
+
var snapshot = this.g24_1;
|
|
4333
4333
|
try {
|
|
4334
|
-
this.
|
|
4335
|
-
tmp$ret$1 = this.
|
|
4334
|
+
this.g24_1 = this.g24_1 - 1 | 0;
|
|
4335
|
+
tmp$ret$1 = this.v29();
|
|
4336
4336
|
break $l$block;
|
|
4337
4337
|
}finally {
|
|
4338
|
-
this.
|
|
4338
|
+
this.g24_1 = snapshot;
|
|
4339
4339
|
}
|
|
4340
4340
|
}
|
|
4341
4341
|
var inputLiteral = tmp$ret$1;
|
|
4342
4342
|
if (inputLiteral === 'null') {
|
|
4343
|
-
this.
|
|
4343
|
+
this.m28("Expected string literal but 'null' literal was found", this.g24_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
4346
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4347
4347
|
var expectedToken = charToTokenClass(expected);
|
|
4348
4348
|
var expected_0 = tokenDescription(expectedToken);
|
|
4349
|
-
var position = true ? this.
|
|
4350
|
-
var s = this.
|
|
4349
|
+
var position = true ? this.g24_1 - 1 | 0 : this.g24_1;
|
|
4350
|
+
var s = this.g24_1 === charSequenceLength(this.h2e()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h2e(), position));
|
|
4351
4351
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4352
|
-
this.
|
|
4352
|
+
this.n28(tmp$ret$2, position);
|
|
4353
4353
|
};
|
|
4354
|
-
protoOf(AbstractJsonLexer).
|
|
4355
|
-
var source = this.
|
|
4356
|
-
var cpos = this.
|
|
4354
|
+
protoOf(AbstractJsonLexer).s29 = function () {
|
|
4355
|
+
var source = this.h2e();
|
|
4356
|
+
var cpos = this.g24_1;
|
|
4357
4357
|
$l$loop_0: while (true) {
|
|
4358
|
-
cpos = this.
|
|
4358
|
+
cpos = this.i2e(cpos);
|
|
4359
4359
|
if (cpos === -1)
|
|
4360
4360
|
break $l$loop_0;
|
|
4361
4361
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4363,16 +4363,16 @@
|
|
|
4363
4363
|
cpos = cpos + 1 | 0;
|
|
4364
4364
|
continue $l$loop_0;
|
|
4365
4365
|
}
|
|
4366
|
-
this.
|
|
4366
|
+
this.g24_1 = cpos;
|
|
4367
4367
|
return charToTokenClass(ch);
|
|
4368
4368
|
}
|
|
4369
|
-
this.
|
|
4369
|
+
this.g24_1 = cpos;
|
|
4370
4370
|
return 10;
|
|
4371
4371
|
};
|
|
4372
|
-
protoOf(AbstractJsonLexer).
|
|
4373
|
-
var current = this.
|
|
4374
|
-
current = this.
|
|
4375
|
-
var len = charSequenceLength(this.
|
|
4372
|
+
protoOf(AbstractJsonLexer).g2b = function (doConsume) {
|
|
4373
|
+
var current = this.k2e();
|
|
4374
|
+
current = this.i2e(current);
|
|
4375
|
+
var len = charSequenceLength(this.h2e()) - current | 0;
|
|
4376
4376
|
if (len < 4 || current === -1)
|
|
4377
4377
|
return false;
|
|
4378
4378
|
var inductionVariable = 0;
|
|
@@ -4380,50 +4380,50 @@
|
|
|
4380
4380
|
do {
|
|
4381
4381
|
var i = inductionVariable;
|
|
4382
4382
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4383
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4383
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.h2e(), current + i | 0)))
|
|
4384
4384
|
return false;
|
|
4385
4385
|
}
|
|
4386
4386
|
while (inductionVariable <= 3);
|
|
4387
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4387
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.h2e(), current + 4 | 0)) === 0)
|
|
4388
4388
|
return false;
|
|
4389
4389
|
if (doConsume) {
|
|
4390
|
-
this.
|
|
4390
|
+
this.g24_1 = current + 4 | 0;
|
|
4391
4391
|
}
|
|
4392
4392
|
return true;
|
|
4393
4393
|
};
|
|
4394
|
-
protoOf(AbstractJsonLexer).
|
|
4394
|
+
protoOf(AbstractJsonLexer).r2b = function (doConsume, $super) {
|
|
4395
4395
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4396
|
-
return $super === VOID ? this.
|
|
4396
|
+
return $super === VOID ? this.g2b(doConsume) : $super.g2b.call(this, doConsume);
|
|
4397
4397
|
};
|
|
4398
|
-
protoOf(AbstractJsonLexer).
|
|
4399
|
-
var token = this.
|
|
4398
|
+
protoOf(AbstractJsonLexer).h2b = function (isLenient) {
|
|
4399
|
+
var token = this.s29();
|
|
4400
4400
|
var tmp;
|
|
4401
4401
|
if (isLenient) {
|
|
4402
4402
|
if (!(token === 1) && !(token === 0))
|
|
4403
4403
|
return null;
|
|
4404
|
-
tmp = this.
|
|
4404
|
+
tmp = this.v29();
|
|
4405
4405
|
} else {
|
|
4406
4406
|
if (!(token === 1))
|
|
4407
4407
|
return null;
|
|
4408
|
-
tmp = this.
|
|
4408
|
+
tmp = this.u29();
|
|
4409
4409
|
}
|
|
4410
4410
|
var string = tmp;
|
|
4411
|
-
this.
|
|
4411
|
+
this.i24_1 = string;
|
|
4412
4412
|
return string;
|
|
4413
4413
|
};
|
|
4414
|
-
protoOf(AbstractJsonLexer).
|
|
4415
|
-
this.
|
|
4414
|
+
protoOf(AbstractJsonLexer).n2e = function () {
|
|
4415
|
+
this.i24_1 = null;
|
|
4416
4416
|
};
|
|
4417
|
-
protoOf(AbstractJsonLexer).
|
|
4417
|
+
protoOf(AbstractJsonLexer).o2e = function (startPos, endPos) {
|
|
4418
4418
|
// Inline function 'kotlin.text.substring' call
|
|
4419
|
-
var this_0 = this.
|
|
4419
|
+
var this_0 = this.h2e();
|
|
4420
4420
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4421
4421
|
};
|
|
4422
|
-
protoOf(AbstractJsonLexer).
|
|
4423
|
-
if (!(this.
|
|
4422
|
+
protoOf(AbstractJsonLexer).u29 = function () {
|
|
4423
|
+
if (!(this.i24_1 == null)) {
|
|
4424
4424
|
return takePeeked(this);
|
|
4425
4425
|
}
|
|
4426
|
-
return this.
|
|
4426
|
+
return this.k2b();
|
|
4427
4427
|
};
|
|
4428
4428
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4429
4429
|
var currentPosition = current;
|
|
@@ -4433,19 +4433,19 @@
|
|
|
4433
4433
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4434
4434
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4435
4435
|
usedAppend = true;
|
|
4436
|
-
currentPosition = this.
|
|
4436
|
+
currentPosition = this.i2e(appendEscape(this, lastPosition, currentPosition));
|
|
4437
4437
|
if (currentPosition === -1) {
|
|
4438
|
-
this.
|
|
4438
|
+
this.n28('Unexpected EOF', currentPosition);
|
|
4439
4439
|
}
|
|
4440
4440
|
lastPosition = currentPosition;
|
|
4441
4441
|
} else {
|
|
4442
4442
|
currentPosition = currentPosition + 1 | 0;
|
|
4443
4443
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4444
4444
|
usedAppend = true;
|
|
4445
|
-
this.
|
|
4446
|
-
currentPosition = this.
|
|
4445
|
+
this.g2e(lastPosition, currentPosition);
|
|
4446
|
+
currentPosition = this.i2e(currentPosition);
|
|
4447
4447
|
if (currentPosition === -1) {
|
|
4448
|
-
this.
|
|
4448
|
+
this.n28('Unexpected EOF', currentPosition);
|
|
4449
4449
|
}
|
|
4450
4450
|
lastPosition = currentPosition;
|
|
4451
4451
|
}
|
|
@@ -4454,45 +4454,45 @@
|
|
|
4454
4454
|
}
|
|
4455
4455
|
var tmp;
|
|
4456
4456
|
if (!usedAppend) {
|
|
4457
|
-
tmp = this.
|
|
4457
|
+
tmp = this.o2e(lastPosition, currentPosition);
|
|
4458
4458
|
} else {
|
|
4459
4459
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4460
4460
|
}
|
|
4461
4461
|
var string = tmp;
|
|
4462
|
-
this.
|
|
4462
|
+
this.g24_1 = currentPosition + 1 | 0;
|
|
4463
4463
|
return string;
|
|
4464
4464
|
};
|
|
4465
|
-
protoOf(AbstractJsonLexer).
|
|
4466
|
-
var result = this.
|
|
4465
|
+
protoOf(AbstractJsonLexer).l2b = function () {
|
|
4466
|
+
var result = this.v29();
|
|
4467
4467
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4468
|
-
this.
|
|
4468
|
+
this.n28("Unexpected 'null' value instead of string literal");
|
|
4469
4469
|
}
|
|
4470
4470
|
return result;
|
|
4471
4471
|
};
|
|
4472
|
-
protoOf(AbstractJsonLexer).
|
|
4473
|
-
if (!(this.
|
|
4472
|
+
protoOf(AbstractJsonLexer).v29 = function () {
|
|
4473
|
+
if (!(this.i24_1 == null)) {
|
|
4474
4474
|
return takePeeked(this);
|
|
4475
4475
|
}
|
|
4476
|
-
var current = this.
|
|
4477
|
-
if (current >= charSequenceLength(this.
|
|
4478
|
-
this.
|
|
4476
|
+
var current = this.k2e();
|
|
4477
|
+
if (current >= charSequenceLength(this.h2e()) || current === -1) {
|
|
4478
|
+
this.n28('EOF', current);
|
|
4479
4479
|
}
|
|
4480
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4480
|
+
var token = charToTokenClass(charSequenceGet(this.h2e(), current));
|
|
4481
4481
|
if (token === 1) {
|
|
4482
|
-
return this.
|
|
4482
|
+
return this.u29();
|
|
4483
4483
|
}
|
|
4484
4484
|
if (!(token === 0)) {
|
|
4485
|
-
this.
|
|
4485
|
+
this.n28('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.h2e(), current)));
|
|
4486
4486
|
}
|
|
4487
4487
|
var usedAppend = false;
|
|
4488
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4488
|
+
while (charToTokenClass(charSequenceGet(this.h2e(), current)) === 0) {
|
|
4489
4489
|
current = current + 1 | 0;
|
|
4490
|
-
if (current >= charSequenceLength(this.
|
|
4490
|
+
if (current >= charSequenceLength(this.h2e())) {
|
|
4491
4491
|
usedAppend = true;
|
|
4492
|
-
this.
|
|
4493
|
-
var eof = this.
|
|
4492
|
+
this.g2e(this.g24_1, current);
|
|
4493
|
+
var eof = this.i2e(current);
|
|
4494
4494
|
if (eof === -1) {
|
|
4495
|
-
this.
|
|
4495
|
+
this.g24_1 = current;
|
|
4496
4496
|
return decodedString(this, 0, 0);
|
|
4497
4497
|
} else {
|
|
4498
4498
|
current = eof;
|
|
@@ -4501,32 +4501,32 @@
|
|
|
4501
4501
|
}
|
|
4502
4502
|
var tmp;
|
|
4503
4503
|
if (!usedAppend) {
|
|
4504
|
-
tmp = this.
|
|
4504
|
+
tmp = this.o2e(this.g24_1, current);
|
|
4505
4505
|
} else {
|
|
4506
|
-
tmp = decodedString(this, this.
|
|
4506
|
+
tmp = decodedString(this, this.g24_1, current);
|
|
4507
4507
|
}
|
|
4508
4508
|
var result = tmp;
|
|
4509
|
-
this.
|
|
4509
|
+
this.g24_1 = current;
|
|
4510
4510
|
return result;
|
|
4511
4511
|
};
|
|
4512
|
-
protoOf(AbstractJsonLexer).
|
|
4513
|
-
this.
|
|
4512
|
+
protoOf(AbstractJsonLexer).g2e = function (fromIndex, toIndex) {
|
|
4513
|
+
this.j24_1.ha(this.h2e(), fromIndex, toIndex);
|
|
4514
4514
|
};
|
|
4515
|
-
protoOf(AbstractJsonLexer).
|
|
4515
|
+
protoOf(AbstractJsonLexer).j2b = function (allowLenientStrings) {
|
|
4516
4516
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4517
4517
|
var tokenStack = ArrayList_init_$Create$();
|
|
4518
|
-
var lastToken = this.
|
|
4518
|
+
var lastToken = this.s29();
|
|
4519
4519
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4520
|
-
this.
|
|
4520
|
+
this.v29();
|
|
4521
4521
|
return Unit_instance;
|
|
4522
4522
|
}
|
|
4523
4523
|
$l$loop: while (true) {
|
|
4524
|
-
lastToken = this.
|
|
4524
|
+
lastToken = this.s29();
|
|
4525
4525
|
if (lastToken === 1) {
|
|
4526
4526
|
if (allowLenientStrings)
|
|
4527
|
-
this.
|
|
4527
|
+
this.v29();
|
|
4528
4528
|
else
|
|
4529
|
-
this.
|
|
4529
|
+
this.k2b();
|
|
4530
4530
|
continue $l$loop;
|
|
4531
4531
|
}
|
|
4532
4532
|
var tmp0_subject = lastToken;
|
|
@@ -4534,29 +4534,29 @@
|
|
|
4534
4534
|
tokenStack.j(lastToken);
|
|
4535
4535
|
} else if (tmp0_subject === 9) {
|
|
4536
4536
|
if (!(last(tokenStack) === 8))
|
|
4537
|
-
throw JsonDecodingException_0(this.
|
|
4537
|
+
throw JsonDecodingException_0(this.g24_1, 'found ] instead of } at path: ' + this.h24_1.toString(), this.h2e());
|
|
4538
4538
|
removeLast(tokenStack);
|
|
4539
4539
|
} else if (tmp0_subject === 7) {
|
|
4540
4540
|
if (!(last(tokenStack) === 6))
|
|
4541
|
-
throw JsonDecodingException_0(this.
|
|
4541
|
+
throw JsonDecodingException_0(this.g24_1, 'found } instead of ] at path: ' + this.h24_1.toString(), this.h2e());
|
|
4542
4542
|
removeLast(tokenStack);
|
|
4543
4543
|
} else if (tmp0_subject === 10) {
|
|
4544
|
-
this.
|
|
4544
|
+
this.n28('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4545
4545
|
}
|
|
4546
|
-
this.
|
|
4546
|
+
this.x29();
|
|
4547
4547
|
if (tokenStack.o() === 0)
|
|
4548
4548
|
return Unit_instance;
|
|
4549
4549
|
}
|
|
4550
4550
|
};
|
|
4551
4551
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4552
|
-
return "JsonReader(source='" + toString(this.
|
|
4552
|
+
return "JsonReader(source='" + toString(this.h2e()) + "', currentPosition=" + this.g24_1 + ')';
|
|
4553
4553
|
};
|
|
4554
|
-
protoOf(AbstractJsonLexer).
|
|
4555
|
-
var processed = this.
|
|
4554
|
+
protoOf(AbstractJsonLexer).i2b = function (key) {
|
|
4555
|
+
var processed = this.o2e(0, this.g24_1);
|
|
4556
4556
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4557
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4557
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.h24_1.a29() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.h2e(), lastIndexOf_0))));
|
|
4558
4558
|
};
|
|
4559
|
-
protoOf(AbstractJsonLexer).
|
|
4559
|
+
protoOf(AbstractJsonLexer).m28 = function (message, position, hint) {
|
|
4560
4560
|
var tmp;
|
|
4561
4561
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4562
4562
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4565,24 +4565,24 @@
|
|
|
4565
4565
|
tmp = '\n' + hint;
|
|
4566
4566
|
}
|
|
4567
4567
|
var hintMessage = tmp;
|
|
4568
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4568
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.h24_1.a29() + hintMessage, this.h2e());
|
|
4569
4569
|
};
|
|
4570
|
-
protoOf(AbstractJsonLexer).
|
|
4571
|
-
position = position === VOID ? this.
|
|
4570
|
+
protoOf(AbstractJsonLexer).n28 = function (message, position, hint, $super) {
|
|
4571
|
+
position = position === VOID ? this.g24_1 : position;
|
|
4572
4572
|
hint = hint === VOID ? '' : hint;
|
|
4573
|
-
return $super === VOID ? this.
|
|
4573
|
+
return $super === VOID ? this.m28(message, position, hint) : $super.m28.call(this, message, position, hint);
|
|
4574
4574
|
};
|
|
4575
|
-
protoOf(AbstractJsonLexer).
|
|
4576
|
-
var current = this.
|
|
4577
|
-
current = this.
|
|
4578
|
-
if (current >= charSequenceLength(this.
|
|
4579
|
-
this.
|
|
4575
|
+
protoOf(AbstractJsonLexer).t2b = function () {
|
|
4576
|
+
var current = this.k2e();
|
|
4577
|
+
current = this.i2e(current);
|
|
4578
|
+
if (current >= charSequenceLength(this.h2e()) || current === -1) {
|
|
4579
|
+
this.n28('EOF');
|
|
4580
4580
|
}
|
|
4581
4581
|
var tmp;
|
|
4582
|
-
if (charSequenceGet(this.
|
|
4582
|
+
if (charSequenceGet(this.h2e(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4583
4583
|
current = current + 1 | 0;
|
|
4584
|
-
if (current === charSequenceLength(this.
|
|
4585
|
-
this.
|
|
4584
|
+
if (current === charSequenceLength(this.h2e())) {
|
|
4585
|
+
this.n28('EOF');
|
|
4586
4586
|
}
|
|
4587
4587
|
tmp = true;
|
|
4588
4588
|
} else {
|
|
@@ -4595,11 +4595,11 @@
|
|
|
4595
4595
|
var isExponentPositive = false;
|
|
4596
4596
|
var hasExponent = false;
|
|
4597
4597
|
var start = current;
|
|
4598
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4599
|
-
var ch = charSequenceGet(this.
|
|
4598
|
+
$l$loop_4: while (!(current === charSequenceLength(this.h2e()))) {
|
|
4599
|
+
var ch = charSequenceGet(this.h2e(), current);
|
|
4600
4600
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4601
4601
|
if (current === start) {
|
|
4602
|
-
this.
|
|
4602
|
+
this.n28('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4603
4603
|
}
|
|
4604
4604
|
isExponentPositive = true;
|
|
4605
4605
|
hasExponent = true;
|
|
@@ -4608,7 +4608,7 @@
|
|
|
4608
4608
|
}
|
|
4609
4609
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4610
4610
|
if (current === start) {
|
|
4611
|
-
this.
|
|
4611
|
+
this.n28("Unexpected symbol '-' in numeric literal");
|
|
4612
4612
|
}
|
|
4613
4613
|
isExponentPositive = false;
|
|
4614
4614
|
current = current + 1 | 0;
|
|
@@ -4616,7 +4616,7 @@
|
|
|
4616
4616
|
}
|
|
4617
4617
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4618
4618
|
if (current === start) {
|
|
4619
|
-
this.
|
|
4619
|
+
this.n28("Unexpected symbol '+' in numeric literal");
|
|
4620
4620
|
}
|
|
4621
4621
|
isExponentPositive = true;
|
|
4622
4622
|
current = current + 1 | 0;
|
|
@@ -4624,7 +4624,7 @@
|
|
|
4624
4624
|
}
|
|
4625
4625
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4626
4626
|
if (!(current === start)) {
|
|
4627
|
-
this.
|
|
4627
|
+
this.n28("Unexpected symbol '-' in numeric literal");
|
|
4628
4628
|
}
|
|
4629
4629
|
isNegative = true;
|
|
4630
4630
|
current = current + 1 | 0;
|
|
@@ -4636,7 +4636,7 @@
|
|
|
4636
4636
|
current = current + 1 | 0;
|
|
4637
4637
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4638
4638
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4639
|
-
this.
|
|
4639
|
+
this.n28("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4640
4640
|
}
|
|
4641
4641
|
if (hasExponent) {
|
|
4642
4642
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4652,31 +4652,31 @@
|
|
|
4652
4652
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4653
4653
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4654
4654
|
if (compare(accumulator, new Long(0, 0)) > 0) {
|
|
4655
|
-
this.
|
|
4655
|
+
this.n28('Numeric value overflow');
|
|
4656
4656
|
}
|
|
4657
4657
|
}
|
|
4658
4658
|
var hasChars = !(current === start);
|
|
4659
4659
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4660
|
-
this.
|
|
4660
|
+
this.n28('Expected numeric literal');
|
|
4661
4661
|
}
|
|
4662
4662
|
if (hasQuotation) {
|
|
4663
4663
|
if (!hasChars) {
|
|
4664
|
-
this.
|
|
4664
|
+
this.n28('EOF');
|
|
4665
4665
|
}
|
|
4666
|
-
if (!(charSequenceGet(this.
|
|
4667
|
-
this.
|
|
4666
|
+
if (!(charSequenceGet(this.h2e(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4667
|
+
this.n28('Expected closing quotation mark');
|
|
4668
4668
|
}
|
|
4669
4669
|
current = current + 1 | 0;
|
|
4670
4670
|
}
|
|
4671
|
-
this.
|
|
4671
|
+
this.g24_1 = current;
|
|
4672
4672
|
if (hasExponent) {
|
|
4673
4673
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4674
4674
|
if (doubleAccumulator > toNumber(new Long(-1, 2147483647)) || doubleAccumulator < toNumber(new Long(0, -2147483648))) {
|
|
4675
|
-
this.
|
|
4675
|
+
this.n28('Numeric value overflow');
|
|
4676
4676
|
}
|
|
4677
4677
|
// Inline function 'kotlin.math.floor' call
|
|
4678
4678
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4679
|
-
this.
|
|
4679
|
+
this.n28("Can't convert " + doubleAccumulator + ' to Long');
|
|
4680
4680
|
}
|
|
4681
4681
|
accumulator = numberToLong(doubleAccumulator);
|
|
4682
4682
|
}
|
|
@@ -4686,30 +4686,30 @@
|
|
|
4686
4686
|
} else if (!equalsLong(accumulator, new Long(0, -2147483648))) {
|
|
4687
4687
|
tmp_0 = negate(accumulator);
|
|
4688
4688
|
} else {
|
|
4689
|
-
this.
|
|
4689
|
+
this.n28('Numeric value overflow');
|
|
4690
4690
|
}
|
|
4691
4691
|
return tmp_0;
|
|
4692
4692
|
};
|
|
4693
|
-
protoOf(AbstractJsonLexer).
|
|
4694
|
-
var result = this.
|
|
4695
|
-
var next = this.
|
|
4693
|
+
protoOf(AbstractJsonLexer).l26 = function () {
|
|
4694
|
+
var result = this.t2b();
|
|
4695
|
+
var next = this.x29();
|
|
4696
4696
|
if (!(next === 10)) {
|
|
4697
4697
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4698
4698
|
var expected = tokenDescription(10);
|
|
4699
|
-
var position = true ? this.
|
|
4700
|
-
var s = this.
|
|
4699
|
+
var position = true ? this.g24_1 - 1 | 0 : this.g24_1;
|
|
4700
|
+
var s = this.g24_1 === charSequenceLength(this.h2e()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h2e(), position));
|
|
4701
4701
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4702
|
-
this.
|
|
4702
|
+
this.n28(tmp$ret$0, position);
|
|
4703
4703
|
}
|
|
4704
4704
|
return result;
|
|
4705
4705
|
};
|
|
4706
|
-
protoOf(AbstractJsonLexer).
|
|
4707
|
-
var current = this.
|
|
4708
|
-
if (current === charSequenceLength(this.
|
|
4709
|
-
this.
|
|
4706
|
+
protoOf(AbstractJsonLexer).s2b = function () {
|
|
4707
|
+
var current = this.k2e();
|
|
4708
|
+
if (current === charSequenceLength(this.h2e())) {
|
|
4709
|
+
this.n28('EOF');
|
|
4710
4710
|
}
|
|
4711
4711
|
var tmp;
|
|
4712
|
-
if (charSequenceGet(this.
|
|
4712
|
+
if (charSequenceGet(this.h2e(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4713
4713
|
current = current + 1 | 0;
|
|
4714
4714
|
tmp = true;
|
|
4715
4715
|
} else {
|
|
@@ -4718,13 +4718,13 @@
|
|
|
4718
4718
|
var hasQuotation = tmp;
|
|
4719
4719
|
var result = consumeBoolean2(this, current);
|
|
4720
4720
|
if (hasQuotation) {
|
|
4721
|
-
if (this.
|
|
4722
|
-
this.
|
|
4721
|
+
if (this.g24_1 === charSequenceLength(this.h2e())) {
|
|
4722
|
+
this.n28('EOF');
|
|
4723
4723
|
}
|
|
4724
|
-
if (!(charSequenceGet(this.
|
|
4725
|
-
this.
|
|
4724
|
+
if (!(charSequenceGet(this.h2e(), this.g24_1) === _Char___init__impl__6a9atx(34))) {
|
|
4725
|
+
this.n28('Expected closing quotation mark');
|
|
4726
4726
|
}
|
|
4727
|
-
this.
|
|
4727
|
+
this.g24_1 = this.g24_1 + 1 | 0;
|
|
4728
4728
|
}
|
|
4729
4729
|
return result;
|
|
4730
4730
|
};
|
|
@@ -4732,7 +4732,7 @@
|
|
|
4732
4732
|
var tmp;
|
|
4733
4733
|
// Inline function 'kotlin.code' call
|
|
4734
4734
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4735
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4735
|
+
var tmp_0 = CharMappings_getInstance().q2e_1;
|
|
4736
4736
|
// Inline function 'kotlin.code' call
|
|
4737
4737
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4738
4738
|
} else {
|
|
@@ -4744,7 +4744,7 @@
|
|
|
4744
4744
|
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';
|
|
4745
4745
|
}
|
|
4746
4746
|
function escapeToChar(c) {
|
|
4747
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4747
|
+
return c < 117 ? CharMappings_getInstance().p2e_1[c] : _Char___init__impl__6a9atx(0);
|
|
4748
4748
|
}
|
|
4749
4749
|
function initEscape($this) {
|
|
4750
4750
|
var inductionVariable = 0;
|
|
@@ -4790,7 +4790,7 @@
|
|
|
4790
4790
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4791
4791
|
// Inline function 'kotlin.code' call
|
|
4792
4792
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4793
|
-
$this.
|
|
4793
|
+
$this.p2e_1[tmp$ret$0] = numberToChar(c);
|
|
4794
4794
|
}
|
|
4795
4795
|
}
|
|
4796
4796
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4799,7 +4799,7 @@
|
|
|
4799
4799
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4800
4800
|
}
|
|
4801
4801
|
function initC2TC($this, c, cl) {
|
|
4802
|
-
$this.
|
|
4802
|
+
$this.q2e_1[c] = cl;
|
|
4803
4803
|
}
|
|
4804
4804
|
function initC2TC_0($this, c, cl) {
|
|
4805
4805
|
// Inline function 'kotlin.code' call
|
|
@@ -4808,8 +4808,8 @@
|
|
|
4808
4808
|
}
|
|
4809
4809
|
function CharMappings() {
|
|
4810
4810
|
CharMappings_instance = this;
|
|
4811
|
-
this.
|
|
4812
|
-
this.
|
|
4811
|
+
this.p2e_1 = charArray(117);
|
|
4812
|
+
this.q2e_1 = new Int8Array(126);
|
|
4813
4813
|
initEscape(this);
|
|
4814
4814
|
initCharToToken(this);
|
|
4815
4815
|
}
|
|
@@ -4822,48 +4822,48 @@
|
|
|
4822
4822
|
function StringJsonLexerWithComments(source) {
|
|
4823
4823
|
StringJsonLexer.call(this, source);
|
|
4824
4824
|
}
|
|
4825
|
-
protoOf(StringJsonLexerWithComments).
|
|
4826
|
-
var source = this.
|
|
4827
|
-
var cpos = this.
|
|
4825
|
+
protoOf(StringJsonLexerWithComments).x29 = function () {
|
|
4826
|
+
var source = this.h2e();
|
|
4827
|
+
var cpos = this.k2e();
|
|
4828
4828
|
if (cpos >= source.length || cpos === -1)
|
|
4829
4829
|
return 10;
|
|
4830
|
-
this.
|
|
4830
|
+
this.g24_1 = cpos + 1 | 0;
|
|
4831
4831
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4832
4832
|
};
|
|
4833
|
-
protoOf(StringJsonLexerWithComments).
|
|
4834
|
-
var current = this.
|
|
4835
|
-
if (current >= this.
|
|
4833
|
+
protoOf(StringJsonLexerWithComments).t29 = function () {
|
|
4834
|
+
var current = this.k2e();
|
|
4835
|
+
if (current >= this.h2e().length || current === -1)
|
|
4836
4836
|
return false;
|
|
4837
|
-
return this.
|
|
4837
|
+
return this.l2e(charCodeAt(this.h2e(), current));
|
|
4838
4838
|
};
|
|
4839
|
-
protoOf(StringJsonLexerWithComments).
|
|
4840
|
-
var source = this.
|
|
4841
|
-
var current = this.
|
|
4839
|
+
protoOf(StringJsonLexerWithComments).e2b = function (expected) {
|
|
4840
|
+
var source = this.h2e();
|
|
4841
|
+
var current = this.k2e();
|
|
4842
4842
|
if (current >= source.length || current === -1) {
|
|
4843
|
-
this.
|
|
4844
|
-
this.
|
|
4843
|
+
this.g24_1 = -1;
|
|
4844
|
+
this.m2e(expected);
|
|
4845
4845
|
}
|
|
4846
4846
|
var c = charCodeAt(source, current);
|
|
4847
|
-
this.
|
|
4847
|
+
this.g24_1 = current + 1 | 0;
|
|
4848
4848
|
if (c === expected)
|
|
4849
4849
|
return Unit_instance;
|
|
4850
4850
|
else {
|
|
4851
|
-
this.
|
|
4851
|
+
this.m2e(expected);
|
|
4852
4852
|
}
|
|
4853
4853
|
};
|
|
4854
|
-
protoOf(StringJsonLexerWithComments).
|
|
4855
|
-
var source = this.
|
|
4856
|
-
var cpos = this.
|
|
4854
|
+
protoOf(StringJsonLexerWithComments).s29 = function () {
|
|
4855
|
+
var source = this.h2e();
|
|
4856
|
+
var cpos = this.k2e();
|
|
4857
4857
|
if (cpos >= source.length || cpos === -1)
|
|
4858
4858
|
return 10;
|
|
4859
|
-
this.
|
|
4859
|
+
this.g24_1 = cpos;
|
|
4860
4860
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4861
4861
|
};
|
|
4862
|
-
protoOf(StringJsonLexerWithComments).
|
|
4863
|
-
var current = this.
|
|
4862
|
+
protoOf(StringJsonLexerWithComments).k2e = function () {
|
|
4863
|
+
var current = this.g24_1;
|
|
4864
4864
|
if (current === -1)
|
|
4865
4865
|
return current;
|
|
4866
|
-
var source = this.
|
|
4866
|
+
var source = this.h2e();
|
|
4867
4867
|
$l$loop_1: while (current < source.length) {
|
|
4868
4868
|
var c = charCodeAt(source, current);
|
|
4869
4869
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4884,8 +4884,8 @@
|
|
|
4884
4884
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4885
4885
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4886
4886
|
if (current === -1) {
|
|
4887
|
-
this.
|
|
4888
|
-
this.
|
|
4887
|
+
this.g24_1 = source.length;
|
|
4888
|
+
this.n28('Expected end of the block comment: "*/", but had EOF instead');
|
|
4889
4889
|
} else {
|
|
4890
4890
|
current = current + 2 | 0;
|
|
4891
4891
|
}
|
|
@@ -4894,22 +4894,22 @@
|
|
|
4894
4894
|
}
|
|
4895
4895
|
break $l$loop_1;
|
|
4896
4896
|
}
|
|
4897
|
-
this.
|
|
4897
|
+
this.g24_1 = current;
|
|
4898
4898
|
return current;
|
|
4899
4899
|
};
|
|
4900
4900
|
function StringJsonLexer(source) {
|
|
4901
4901
|
AbstractJsonLexer.call(this);
|
|
4902
|
-
this.
|
|
4902
|
+
this.a2f_1 = source;
|
|
4903
4903
|
}
|
|
4904
|
-
protoOf(StringJsonLexer).
|
|
4905
|
-
return this.
|
|
4904
|
+
protoOf(StringJsonLexer).h2e = function () {
|
|
4905
|
+
return this.a2f_1;
|
|
4906
4906
|
};
|
|
4907
|
-
protoOf(StringJsonLexer).
|
|
4908
|
-
return position < this.
|
|
4907
|
+
protoOf(StringJsonLexer).i2e = function (position) {
|
|
4908
|
+
return position < this.h2e().length ? position : -1;
|
|
4909
4909
|
};
|
|
4910
|
-
protoOf(StringJsonLexer).
|
|
4911
|
-
var source = this.
|
|
4912
|
-
var cpos = this.
|
|
4910
|
+
protoOf(StringJsonLexer).x29 = function () {
|
|
4911
|
+
var source = this.h2e();
|
|
4912
|
+
var cpos = this.g24_1;
|
|
4913
4913
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4914
4914
|
var _unary__edvuaz = cpos;
|
|
4915
4915
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4917,17 +4917,17 @@
|
|
|
4917
4917
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4918
4918
|
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))
|
|
4919
4919
|
continue $l$loop;
|
|
4920
|
-
this.
|
|
4920
|
+
this.g24_1 = cpos;
|
|
4921
4921
|
return charToTokenClass(c);
|
|
4922
4922
|
}
|
|
4923
|
-
this.
|
|
4923
|
+
this.g24_1 = source.length;
|
|
4924
4924
|
return 10;
|
|
4925
4925
|
};
|
|
4926
|
-
protoOf(StringJsonLexer).
|
|
4927
|
-
var current = this.
|
|
4926
|
+
protoOf(StringJsonLexer).t29 = function () {
|
|
4927
|
+
var current = this.g24_1;
|
|
4928
4928
|
if (current === -1)
|
|
4929
4929
|
return false;
|
|
4930
|
-
var source = this.
|
|
4930
|
+
var source = this.h2e();
|
|
4931
4931
|
$l$loop: while (current < source.length) {
|
|
4932
4932
|
var c = charCodeAt(source, current);
|
|
4933
4933
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4935,17 +4935,17 @@
|
|
|
4935
4935
|
current = current + 1 | 0;
|
|
4936
4936
|
continue $l$loop;
|
|
4937
4937
|
}
|
|
4938
|
-
this.
|
|
4939
|
-
return this.
|
|
4938
|
+
this.g24_1 = current;
|
|
4939
|
+
return this.l2e(c);
|
|
4940
4940
|
}
|
|
4941
|
-
this.
|
|
4941
|
+
this.g24_1 = current;
|
|
4942
4942
|
return false;
|
|
4943
4943
|
};
|
|
4944
|
-
protoOf(StringJsonLexer).
|
|
4945
|
-
var current = this.
|
|
4944
|
+
protoOf(StringJsonLexer).k2e = function () {
|
|
4945
|
+
var current = this.g24_1;
|
|
4946
4946
|
if (current === -1)
|
|
4947
4947
|
return current;
|
|
4948
|
-
var source = this.
|
|
4948
|
+
var source = this.h2e();
|
|
4949
4949
|
$l$loop: while (current < source.length) {
|
|
4950
4950
|
var c = charCodeAt(source, current);
|
|
4951
4951
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4955,15 +4955,15 @@
|
|
|
4955
4955
|
break $l$loop;
|
|
4956
4956
|
}
|
|
4957
4957
|
}
|
|
4958
|
-
this.
|
|
4958
|
+
this.g24_1 = current;
|
|
4959
4959
|
return current;
|
|
4960
4960
|
};
|
|
4961
|
-
protoOf(StringJsonLexer).
|
|
4962
|
-
if (this.
|
|
4963
|
-
this.
|
|
4961
|
+
protoOf(StringJsonLexer).e2b = function (expected) {
|
|
4962
|
+
if (this.g24_1 === -1) {
|
|
4963
|
+
this.m2e(expected);
|
|
4964
4964
|
}
|
|
4965
|
-
var source = this.
|
|
4966
|
-
var cpos = this.
|
|
4965
|
+
var source = this.h2e();
|
|
4966
|
+
var cpos = this.g24_1;
|
|
4967
4967
|
$l$loop: while (cpos < source.length) {
|
|
4968
4968
|
var _unary__edvuaz = cpos;
|
|
4969
4969
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4971,83 +4971,83 @@
|
|
|
4971
4971
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4972
4972
|
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))
|
|
4973
4973
|
continue $l$loop;
|
|
4974
|
-
this.
|
|
4974
|
+
this.g24_1 = cpos;
|
|
4975
4975
|
if (c === expected)
|
|
4976
4976
|
return Unit_instance;
|
|
4977
|
-
this.
|
|
4977
|
+
this.m2e(expected);
|
|
4978
4978
|
}
|
|
4979
|
-
this.
|
|
4980
|
-
this.
|
|
4979
|
+
this.g24_1 = -1;
|
|
4980
|
+
this.m2e(expected);
|
|
4981
4981
|
};
|
|
4982
|
-
protoOf(StringJsonLexer).
|
|
4983
|
-
this.
|
|
4984
|
-
var current = this.
|
|
4985
|
-
var closingQuote = indexOf_0(this.
|
|
4982
|
+
protoOf(StringJsonLexer).k2b = function () {
|
|
4983
|
+
this.e2b(_Char___init__impl__6a9atx(34));
|
|
4984
|
+
var current = this.g24_1;
|
|
4985
|
+
var closingQuote = indexOf_0(this.h2e(), _Char___init__impl__6a9atx(34), current);
|
|
4986
4986
|
if (closingQuote === -1) {
|
|
4987
|
-
this.
|
|
4987
|
+
this.v29();
|
|
4988
4988
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4989
4989
|
var expected = tokenDescription(1);
|
|
4990
|
-
var position = false ? this.
|
|
4991
|
-
var s = this.
|
|
4990
|
+
var position = false ? this.g24_1 - 1 | 0 : this.g24_1;
|
|
4991
|
+
var s = this.g24_1 === charSequenceLength(this.h2e()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h2e(), position));
|
|
4992
4992
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
4993
|
-
this.
|
|
4993
|
+
this.n28(tmp$ret$0, position);
|
|
4994
4994
|
}
|
|
4995
4995
|
var inductionVariable = current;
|
|
4996
4996
|
if (inductionVariable < closingQuote)
|
|
4997
4997
|
do {
|
|
4998
4998
|
var i = inductionVariable;
|
|
4999
4999
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5000
|
-
if (charCodeAt(this.
|
|
5001
|
-
return this.consumeString2(this.
|
|
5000
|
+
if (charCodeAt(this.h2e(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5001
|
+
return this.consumeString2(this.h2e(), this.g24_1, i);
|
|
5002
5002
|
}
|
|
5003
5003
|
}
|
|
5004
5004
|
while (inductionVariable < closingQuote);
|
|
5005
|
-
this.
|
|
5006
|
-
return substring(this.
|
|
5005
|
+
this.g24_1 = closingQuote + 1 | 0;
|
|
5006
|
+
return substring(this.h2e(), current, closingQuote);
|
|
5007
5007
|
};
|
|
5008
|
-
protoOf(StringJsonLexer).
|
|
5009
|
-
var positionSnapshot = this.
|
|
5008
|
+
protoOf(StringJsonLexer).m2b = function (keyToMatch, isLenient) {
|
|
5009
|
+
var positionSnapshot = this.g24_1;
|
|
5010
5010
|
try {
|
|
5011
|
-
if (!(this.
|
|
5011
|
+
if (!(this.x29() === 6))
|
|
5012
5012
|
return null;
|
|
5013
|
-
var firstKey = this.
|
|
5013
|
+
var firstKey = this.h2b(isLenient);
|
|
5014
5014
|
if (!(firstKey === keyToMatch))
|
|
5015
5015
|
return null;
|
|
5016
|
-
this.
|
|
5017
|
-
if (!(this.
|
|
5016
|
+
this.n2e();
|
|
5017
|
+
if (!(this.x29() === 5))
|
|
5018
5018
|
return null;
|
|
5019
|
-
return this.
|
|
5019
|
+
return this.h2b(isLenient);
|
|
5020
5020
|
}finally {
|
|
5021
|
-
this.
|
|
5022
|
-
this.
|
|
5021
|
+
this.g24_1 = positionSnapshot;
|
|
5022
|
+
this.n2e();
|
|
5023
5023
|
}
|
|
5024
5024
|
};
|
|
5025
5025
|
function StringJsonLexer_0(json, source) {
|
|
5026
|
-
return !json.
|
|
5026
|
+
return !json.r23_1.t25_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5027
5027
|
}
|
|
5028
5028
|
function get_schemaCache(_this__u8e3s4) {
|
|
5029
|
-
return _this__u8e3s4.
|
|
5029
|
+
return _this__u8e3s4.t23_1;
|
|
5030
5030
|
}
|
|
5031
5031
|
function JsonToStringWriter() {
|
|
5032
|
-
this.
|
|
5032
|
+
this.w23_1 = StringBuilder_init_$Create$_0(128);
|
|
5033
5033
|
}
|
|
5034
|
-
protoOf(JsonToStringWriter).
|
|
5035
|
-
this.
|
|
5034
|
+
protoOf(JsonToStringWriter).r27 = function (value) {
|
|
5035
|
+
this.w23_1.la(value);
|
|
5036
5036
|
};
|
|
5037
|
-
protoOf(JsonToStringWriter).
|
|
5038
|
-
this.
|
|
5037
|
+
protoOf(JsonToStringWriter).l27 = function (char) {
|
|
5038
|
+
this.w23_1.r7(char);
|
|
5039
5039
|
};
|
|
5040
|
-
protoOf(JsonToStringWriter).
|
|
5041
|
-
this.
|
|
5040
|
+
protoOf(JsonToStringWriter).n27 = function (text) {
|
|
5041
|
+
this.w23_1.q7(text);
|
|
5042
5042
|
};
|
|
5043
|
-
protoOf(JsonToStringWriter).
|
|
5044
|
-
printQuoted(this.
|
|
5043
|
+
protoOf(JsonToStringWriter).x27 = function (text) {
|
|
5044
|
+
printQuoted(this.w23_1, text);
|
|
5045
5045
|
};
|
|
5046
|
-
protoOf(JsonToStringWriter).
|
|
5047
|
-
this.
|
|
5046
|
+
protoOf(JsonToStringWriter).x23 = function () {
|
|
5047
|
+
this.w23_1.oa();
|
|
5048
5048
|
};
|
|
5049
5049
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5050
|
-
return this.
|
|
5050
|
+
return this.w23_1.toString();
|
|
5051
5051
|
};
|
|
5052
5052
|
function createMapForCache(initialCapacity) {
|
|
5053
5053
|
return HashMap_init_$Create$(initialCapacity);
|