game_client_logic_deb 1.3.72 → 1.3.75
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/Kaverit-kaverit-js-ir.js +60 -60
- package/Kodein-kodein-di-js-ir.js +505 -505
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +36 -36
- package/Logic_Debertz-core.js +1075 -1093
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8366 -8402
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +5 -17
- package/Logic_Debertz-game_client.js +3265 -3083
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1724 -1724
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1225 -1225
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +67 -163
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +13 -13
|
@@ -240,17 +240,17 @@
|
|
|
240
240
|
}
|
|
241
241
|
function Json(configuration, serializersModule) {
|
|
242
242
|
Default_getInstance();
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
243
|
+
this.w22_1 = configuration;
|
|
244
|
+
this.x22_1 = serializersModule;
|
|
245
|
+
this.y22_1 = new DescriptorSchemaCache();
|
|
246
246
|
}
|
|
247
|
-
Json.prototype.
|
|
248
|
-
return this.
|
|
247
|
+
Json.prototype.z22 = function () {
|
|
248
|
+
return this.w22_1;
|
|
249
249
|
};
|
|
250
|
-
Json.prototype.
|
|
251
|
-
return this.
|
|
250
|
+
Json.prototype.k1j = function () {
|
|
251
|
+
return this.x22_1;
|
|
252
252
|
};
|
|
253
|
-
Json.prototype.
|
|
253
|
+
Json.prototype.i1j = function (serializer, value) {
|
|
254
254
|
var result = new JsonToStringWriter();
|
|
255
255
|
try {
|
|
256
256
|
encodeByWriter(this, result, serializer, value);
|
|
@@ -259,19 +259,19 @@
|
|
|
259
259
|
result.dq();
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
|
-
Json.prototype.
|
|
262
|
+
Json.prototype.j1j = function (deserializer, string) {
|
|
263
263
|
var lexer = new StringJsonLexer(string);
|
|
264
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
265
|
-
var result = input.
|
|
266
|
-
lexer.
|
|
264
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.i1i(), null);
|
|
265
|
+
var result = input.p1l(deserializer);
|
|
266
|
+
lexer.n23();
|
|
267
267
|
return result;
|
|
268
268
|
};
|
|
269
269
|
Json.$metadata$ = classMeta('Json', [StringFormat]);
|
|
270
270
|
function Json_0(from, builderAction) {
|
|
271
271
|
var builder = new JsonBuilder(from);
|
|
272
272
|
builderAction(builder);
|
|
273
|
-
var conf = builder.
|
|
274
|
-
return new JsonImpl(conf, builder.
|
|
273
|
+
var conf = builder.d1r();
|
|
274
|
+
return new JsonImpl(conf, builder.a24_1);
|
|
275
275
|
}
|
|
276
276
|
function Json$default(from, builderAction, $mask0, $handler) {
|
|
277
277
|
if (!(($mask0 & 1) === 0))
|
|
@@ -279,27 +279,27 @@
|
|
|
279
279
|
return Json_0(from, builderAction);
|
|
280
280
|
}
|
|
281
281
|
function JsonBuilder(json) {
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
}
|
|
296
|
-
JsonBuilder.prototype.
|
|
297
|
-
return this.
|
|
298
|
-
};
|
|
299
|
-
JsonBuilder.prototype.
|
|
300
|
-
if (this.
|
|
282
|
+
this.o23_1 = json.w22_1.b24_1;
|
|
283
|
+
this.p23_1 = json.w22_1.g24_1;
|
|
284
|
+
this.q23_1 = json.w22_1.c24_1;
|
|
285
|
+
this.r23_1 = json.w22_1.d24_1;
|
|
286
|
+
this.s23_1 = json.w22_1.e24_1;
|
|
287
|
+
this.t23_1 = json.w22_1.f24_1;
|
|
288
|
+
this.u23_1 = json.w22_1.h24_1;
|
|
289
|
+
this.v23_1 = json.w22_1.i24_1;
|
|
290
|
+
this.w23_1 = json.w22_1.j24_1;
|
|
291
|
+
this.x23_1 = json.w22_1.k24_1;
|
|
292
|
+
this.y23_1 = json.w22_1.l24_1;
|
|
293
|
+
this.z23_1 = json.w22_1.m24_1;
|
|
294
|
+
this.a24_1 = json.k1j();
|
|
295
|
+
}
|
|
296
|
+
JsonBuilder.prototype.n24 = function () {
|
|
297
|
+
return this.u23_1;
|
|
298
|
+
};
|
|
299
|
+
JsonBuilder.prototype.d1r = function () {
|
|
300
|
+
if (this.w23_1) {
|
|
301
301
|
// Inline function 'kotlin.require' call
|
|
302
|
-
var tmp0_require = this.
|
|
302
|
+
var tmp0_require = this.x23_1 === 'type';
|
|
303
303
|
// Inline function 'kotlin.contracts.contract' call
|
|
304
304
|
if (!tmp0_require) {
|
|
305
305
|
var tmp$ret$0;
|
|
@@ -309,9 +309,9 @@
|
|
|
309
309
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
if (!this.
|
|
312
|
+
if (!this.t23_1) {
|
|
313
313
|
// Inline function 'kotlin.require' call
|
|
314
|
-
var tmp1_require = this.
|
|
314
|
+
var tmp1_require = this.u23_1 === ' ';
|
|
315
315
|
// Inline function 'kotlin.contracts.contract' call
|
|
316
316
|
if (!tmp1_require) {
|
|
317
317
|
var tmp$ret$1;
|
|
@@ -320,11 +320,11 @@
|
|
|
320
320
|
var message_0 = tmp$ret$1;
|
|
321
321
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
322
322
|
}
|
|
323
|
-
} else if (!(this.
|
|
323
|
+
} else if (!(this.u23_1 === ' ')) {
|
|
324
324
|
var tmp$ret$3;
|
|
325
325
|
$l$block: {
|
|
326
326
|
// Inline function 'kotlin.text.all' call
|
|
327
|
-
var tmp2_all = this.
|
|
327
|
+
var tmp2_all = this.u23_1;
|
|
328
328
|
var indexedObject = tmp2_all;
|
|
329
329
|
var inductionVariable = 0;
|
|
330
330
|
var last = indexedObject.length;
|
|
@@ -347,19 +347,19 @@
|
|
|
347
347
|
if (!allWhitespaces) {
|
|
348
348
|
var tmp$ret$4;
|
|
349
349
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
350
|
-
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
350
|
+
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.u23_1;
|
|
351
351
|
var message_1 = tmp$ret$4;
|
|
352
352
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
return new JsonConfiguration(this.
|
|
355
|
+
return new JsonConfiguration(this.o23_1, this.q23_1, this.r23_1, this.s23_1, this.t23_1, this.p23_1, this.u23_1, this.v23_1, this.w23_1, this.x23_1, this.y23_1, this.z23_1);
|
|
356
356
|
};
|
|
357
357
|
JsonBuilder.$metadata$ = classMeta('JsonBuilder');
|
|
358
358
|
function validateConfiguration($this) {
|
|
359
|
-
if (equals($this.
|
|
359
|
+
if (equals($this.k1j(), EmptySerializersModule()))
|
|
360
360
|
return Unit_getInstance();
|
|
361
|
-
var collector = new PolymorphismValidator($this.
|
|
362
|
-
$this.
|
|
361
|
+
var collector = new PolymorphismValidator($this.w22_1.j24_1, $this.w22_1.k24_1);
|
|
362
|
+
$this.k1j().a22(collector);
|
|
363
363
|
}
|
|
364
364
|
function JsonImpl(configuration, module_0) {
|
|
365
365
|
Json.call(this, configuration, module_0);
|
|
@@ -404,27 +404,27 @@
|
|
|
404
404
|
return JsonConfiguration_init_$Init$(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames, $mask0, $marker, Object.create(JsonConfiguration.prototype));
|
|
405
405
|
}
|
|
406
406
|
function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowStructuredMapKeys, prettyPrint, explicitNulls, prettyPrintIndent, coerceInputValues, useArrayPolymorphism, classDiscriminator, allowSpecialFloatingPointValues, useAlternativeNames) {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
}
|
|
420
|
-
JsonConfiguration.prototype.
|
|
421
|
-
return this.
|
|
422
|
-
};
|
|
423
|
-
JsonConfiguration.prototype.
|
|
424
|
-
return this.
|
|
407
|
+
this.b24_1 = encodeDefaults;
|
|
408
|
+
this.c24_1 = ignoreUnknownKeys;
|
|
409
|
+
this.d24_1 = isLenient;
|
|
410
|
+
this.e24_1 = allowStructuredMapKeys;
|
|
411
|
+
this.f24_1 = prettyPrint;
|
|
412
|
+
this.g24_1 = explicitNulls;
|
|
413
|
+
this.h24_1 = prettyPrintIndent;
|
|
414
|
+
this.i24_1 = coerceInputValues;
|
|
415
|
+
this.j24_1 = useArrayPolymorphism;
|
|
416
|
+
this.k24_1 = classDiscriminator;
|
|
417
|
+
this.l24_1 = allowSpecialFloatingPointValues;
|
|
418
|
+
this.m24_1 = useAlternativeNames;
|
|
419
|
+
}
|
|
420
|
+
JsonConfiguration.prototype.o24 = function () {
|
|
421
|
+
return this.d24_1;
|
|
422
|
+
};
|
|
423
|
+
JsonConfiguration.prototype.n24 = function () {
|
|
424
|
+
return this.h24_1;
|
|
425
425
|
};
|
|
426
426
|
JsonConfiguration.prototype.toString = function () {
|
|
427
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
427
|
+
return 'JsonConfiguration(encodeDefaults=' + this.b24_1 + ', ignoreUnknownKeys=' + this.c24_1 + ', isLenient=' + this.d24_1 + ', ' + ('allowStructuredMapKeys=' + this.e24_1 + ', prettyPrint=' + this.f24_1 + ', explicitNulls=' + this.g24_1 + ', ') + ("prettyPrintIndent='" + this.h24_1 + "', coerceInputValues=" + this.i24_1 + ', useArrayPolymorphism=' + this.j24_1 + ', ') + ("classDiscriminator='" + this.k24_1 + "', allowSpecialFloatingPointValues=" + this.l24_1 + ')');
|
|
428
428
|
};
|
|
429
429
|
JsonConfiguration.$metadata$ = classMeta('JsonConfiguration');
|
|
430
430
|
function JsonDecoder() {
|
|
@@ -457,56 +457,56 @@
|
|
|
457
457
|
function JsonArray(content) {
|
|
458
458
|
Companion_getInstance_6();
|
|
459
459
|
JsonElement.call(this);
|
|
460
|
-
this.
|
|
460
|
+
this.r24_1 = content;
|
|
461
461
|
}
|
|
462
462
|
JsonArray.prototype.i = function () {
|
|
463
|
-
return this.
|
|
463
|
+
return this.r24_1.i();
|
|
464
464
|
};
|
|
465
|
-
JsonArray.prototype.
|
|
466
|
-
return this.
|
|
465
|
+
JsonArray.prototype.s24 = function (element) {
|
|
466
|
+
return this.r24_1.r1(element);
|
|
467
467
|
};
|
|
468
468
|
JsonArray.prototype.r1 = function (element) {
|
|
469
469
|
if (!(element instanceof JsonElement))
|
|
470
470
|
return false;
|
|
471
|
-
return this.
|
|
471
|
+
return this.s24(element instanceof JsonElement ? element : THROW_CCE());
|
|
472
472
|
};
|
|
473
|
-
JsonArray.prototype.
|
|
474
|
-
return this.
|
|
473
|
+
JsonArray.prototype.t24 = function (elements) {
|
|
474
|
+
return this.r24_1.s1(elements);
|
|
475
475
|
};
|
|
476
476
|
JsonArray.prototype.s1 = function (elements) {
|
|
477
|
-
return this.
|
|
477
|
+
return this.t24(elements);
|
|
478
478
|
};
|
|
479
479
|
JsonArray.prototype.j = function (index) {
|
|
480
|
-
return this.
|
|
480
|
+
return this.r24_1.j(index);
|
|
481
481
|
};
|
|
482
|
-
JsonArray.prototype.
|
|
483
|
-
return this.
|
|
482
|
+
JsonArray.prototype.u24 = function (element) {
|
|
483
|
+
return this.r24_1.t2(element);
|
|
484
484
|
};
|
|
485
485
|
JsonArray.prototype.t2 = function (element) {
|
|
486
486
|
if (!(element instanceof JsonElement))
|
|
487
487
|
return -1;
|
|
488
|
-
return this.
|
|
488
|
+
return this.u24(element instanceof JsonElement ? element : THROW_CCE());
|
|
489
489
|
};
|
|
490
490
|
JsonArray.prototype.k = function () {
|
|
491
|
-
return this.
|
|
491
|
+
return this.r24_1.k();
|
|
492
492
|
};
|
|
493
493
|
JsonArray.prototype.f = function () {
|
|
494
|
-
return this.
|
|
494
|
+
return this.r24_1.f();
|
|
495
495
|
};
|
|
496
496
|
JsonArray.prototype.m = function (index) {
|
|
497
|
-
return this.
|
|
497
|
+
return this.r24_1.m(index);
|
|
498
498
|
};
|
|
499
499
|
JsonArray.prototype.u2 = function (fromIndex, toIndex) {
|
|
500
|
-
return this.
|
|
500
|
+
return this.r24_1.u2(fromIndex, toIndex);
|
|
501
501
|
};
|
|
502
502
|
JsonArray.prototype.equals = function (other) {
|
|
503
|
-
return equals(this.
|
|
503
|
+
return equals(this.r24_1, other);
|
|
504
504
|
};
|
|
505
505
|
JsonArray.prototype.hashCode = function () {
|
|
506
|
-
return hashCode(this.
|
|
506
|
+
return hashCode(this.r24_1);
|
|
507
507
|
};
|
|
508
508
|
JsonArray.prototype.toString = function () {
|
|
509
|
-
return joinToString$default(this.
|
|
509
|
+
return joinToString$default(this.r24_1, ',', '[', ']', 0, null, null, 56, null);
|
|
510
510
|
};
|
|
511
511
|
JsonArray.$metadata$ = classMeta('JsonArray', [List], undefined, {0: JsonArraySerializer_getInstance}, undefined, JsonElement.prototype);
|
|
512
512
|
function Companion_1() {
|
|
@@ -546,44 +546,44 @@
|
|
|
546
546
|
function JsonObject(content) {
|
|
547
547
|
Companion_getInstance_7();
|
|
548
548
|
JsonElement.call(this);
|
|
549
|
-
this.
|
|
549
|
+
this.v24_1 = content;
|
|
550
550
|
}
|
|
551
551
|
JsonObject.prototype.a1 = function () {
|
|
552
|
-
return this.
|
|
552
|
+
return this.v24_1.a1();
|
|
553
553
|
};
|
|
554
554
|
JsonObject.prototype.m2 = function () {
|
|
555
|
-
return this.
|
|
555
|
+
return this.v24_1.m2();
|
|
556
556
|
};
|
|
557
557
|
JsonObject.prototype.i = function () {
|
|
558
|
-
return this.
|
|
558
|
+
return this.v24_1.i();
|
|
559
559
|
};
|
|
560
|
-
JsonObject.prototype.
|
|
561
|
-
return this.
|
|
560
|
+
JsonObject.prototype.w24 = function (key) {
|
|
561
|
+
return this.v24_1.j2(key);
|
|
562
562
|
};
|
|
563
563
|
JsonObject.prototype.j2 = function (key) {
|
|
564
564
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
565
565
|
return false;
|
|
566
|
-
return this.
|
|
566
|
+
return this.w24((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
567
567
|
};
|
|
568
|
-
JsonObject.prototype.
|
|
569
|
-
return this.
|
|
568
|
+
JsonObject.prototype.x24 = function (key) {
|
|
569
|
+
return this.v24_1.n(key);
|
|
570
570
|
};
|
|
571
571
|
JsonObject.prototype.n = function (key) {
|
|
572
572
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
573
573
|
return null;
|
|
574
|
-
return this.
|
|
574
|
+
return this.x24((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
575
575
|
};
|
|
576
576
|
JsonObject.prototype.k = function () {
|
|
577
|
-
return this.
|
|
577
|
+
return this.v24_1.k();
|
|
578
578
|
};
|
|
579
579
|
JsonObject.prototype.equals = function (other) {
|
|
580
|
-
return equals(this.
|
|
580
|
+
return equals(this.v24_1, other);
|
|
581
581
|
};
|
|
582
582
|
JsonObject.prototype.hashCode = function () {
|
|
583
|
-
return hashCode(this.
|
|
583
|
+
return hashCode(this.v24_1);
|
|
584
584
|
};
|
|
585
585
|
JsonObject.prototype.toString = function () {
|
|
586
|
-
var tmp = this.
|
|
586
|
+
var tmp = this.v24_1.a1();
|
|
587
587
|
return joinToString$default(tmp, ',', '{', '}', 0, null, JsonObject$toString$lambda, 24, null);
|
|
588
588
|
};
|
|
589
589
|
JsonObject.$metadata$ = classMeta('JsonObject', [Map], undefined, {0: JsonObjectSerializer_getInstance}, undefined, JsonElement.prototype);
|
|
@@ -602,20 +602,20 @@
|
|
|
602
602
|
JsonElement.call(this);
|
|
603
603
|
}
|
|
604
604
|
JsonPrimitive.prototype.toString = function () {
|
|
605
|
-
return this.
|
|
605
|
+
return this.y24();
|
|
606
606
|
};
|
|
607
607
|
JsonPrimitive.$metadata$ = classMeta('JsonPrimitive', undefined, undefined, {0: JsonPrimitiveSerializer_getInstance}, undefined, JsonElement.prototype);
|
|
608
608
|
function JsonLiteral(body, isString) {
|
|
609
609
|
JsonPrimitive.call(this);
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
610
|
+
this.z24_1 = isString;
|
|
611
|
+
this.a25_1 = toString(body);
|
|
612
612
|
}
|
|
613
|
-
JsonLiteral.prototype.
|
|
614
|
-
return this.
|
|
613
|
+
JsonLiteral.prototype.y24 = function () {
|
|
614
|
+
return this.a25_1;
|
|
615
615
|
};
|
|
616
616
|
JsonLiteral.prototype.toString = function () {
|
|
617
617
|
var tmp;
|
|
618
|
-
if (this.
|
|
618
|
+
if (this.z24_1) {
|
|
619
619
|
var tmp$ret$1;
|
|
620
620
|
// Inline function 'kotlin.text.buildString' call
|
|
621
621
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -624,12 +624,12 @@
|
|
|
624
624
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
625
625
|
// Inline function 'kotlin.contracts.contract' call
|
|
626
626
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
627
|
-
printQuoted(tmp0_apply, this.
|
|
627
|
+
printQuoted(tmp0_apply, this.a25_1);
|
|
628
628
|
tmp$ret$0 = tmp0_apply;
|
|
629
629
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
630
630
|
tmp = tmp$ret$1;
|
|
631
631
|
} else {
|
|
632
|
-
tmp = this.
|
|
632
|
+
tmp = this.a25_1;
|
|
633
633
|
}
|
|
634
634
|
return tmp;
|
|
635
635
|
};
|
|
@@ -642,15 +642,15 @@
|
|
|
642
642
|
other;
|
|
643
643
|
else
|
|
644
644
|
THROW_CCE();
|
|
645
|
-
if (!(this.
|
|
645
|
+
if (!(this.z24_1 === other.z24_1))
|
|
646
646
|
return false;
|
|
647
|
-
if (!(this.
|
|
647
|
+
if (!(this.a25_1 === other.a25_1))
|
|
648
648
|
return false;
|
|
649
649
|
return true;
|
|
650
650
|
};
|
|
651
651
|
JsonLiteral.prototype.hashCode = function () {
|
|
652
|
-
var result = this.
|
|
653
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
652
|
+
var result = this.z24_1 | 0;
|
|
653
|
+
result = imul(31, result) + getStringHashCode(this.a25_1) | 0;
|
|
654
654
|
return result;
|
|
655
655
|
};
|
|
656
656
|
JsonLiteral.$metadata$ = classMeta('JsonLiteral', undefined, undefined, undefined, undefined, JsonPrimitive.prototype);
|
|
@@ -660,19 +660,19 @@
|
|
|
660
660
|
function JsonNull() {
|
|
661
661
|
JsonNull_instance = this;
|
|
662
662
|
JsonPrimitive.call(this);
|
|
663
|
-
this.
|
|
663
|
+
this.b25_1 = 'null';
|
|
664
664
|
var tmp = this;
|
|
665
665
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
666
|
-
tmp.
|
|
666
|
+
tmp.c25_1 = lazy(tmp_0, JsonNull$$cachedSerializer$delegate$_anonymous__7w2ks1);
|
|
667
667
|
}
|
|
668
|
-
JsonNull.prototype.
|
|
669
|
-
return this.
|
|
668
|
+
JsonNull.prototype.y24 = function () {
|
|
669
|
+
return this.b25_1;
|
|
670
670
|
};
|
|
671
|
-
JsonNull.prototype.
|
|
672
|
-
return this.
|
|
671
|
+
JsonNull.prototype.d25 = function () {
|
|
672
|
+
return this.c25_1.c2();
|
|
673
673
|
};
|
|
674
|
-
JsonNull.prototype.
|
|
675
|
-
return this.
|
|
674
|
+
JsonNull.prototype.t1t = function (typeParamsSerializers) {
|
|
675
|
+
return this.d25();
|
|
676
676
|
};
|
|
677
677
|
JsonNull.$metadata$ = objectMeta('JsonNull', [SerializerFactory], undefined, {0: JsonNullSerializer_getInstance}, undefined, JsonPrimitive.prototype);
|
|
678
678
|
var JsonNull_instance;
|
|
@@ -687,18 +687,18 @@
|
|
|
687
687
|
return new JsonLiteral(value, true);
|
|
688
688
|
}
|
|
689
689
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
690
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
690
|
+
return toBooleanStrictOrNull(_this__u8e3s4.y24());
|
|
691
691
|
}
|
|
692
692
|
function get_int(_this__u8e3s4) {
|
|
693
|
-
return toInt(_this__u8e3s4.
|
|
693
|
+
return toInt(_this__u8e3s4.y24());
|
|
694
694
|
}
|
|
695
695
|
function get_long(_this__u8e3s4) {
|
|
696
|
-
return toLong(_this__u8e3s4.
|
|
696
|
+
return toLong(_this__u8e3s4.y24());
|
|
697
697
|
}
|
|
698
698
|
function get_float(_this__u8e3s4) {
|
|
699
699
|
var tmp$ret$2;
|
|
700
700
|
// Inline function 'kotlin.text.toFloat' call
|
|
701
|
-
var tmp0_toFloat = _this__u8e3s4.
|
|
701
|
+
var tmp0_toFloat = _this__u8e3s4.y24();
|
|
702
702
|
var tmp$ret$1;
|
|
703
703
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
704
704
|
var tmp0_unsafeCast = toDouble(tmp0_toFloat);
|
|
@@ -710,22 +710,22 @@
|
|
|
710
710
|
return tmp$ret$2;
|
|
711
711
|
}
|
|
712
712
|
function get_double(_this__u8e3s4) {
|
|
713
|
-
return toDouble(_this__u8e3s4.
|
|
713
|
+
return toDouble(_this__u8e3s4.y24());
|
|
714
714
|
}
|
|
715
715
|
function get_contentOrNull(_this__u8e3s4) {
|
|
716
716
|
var tmp;
|
|
717
717
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
718
718
|
tmp = null;
|
|
719
719
|
} else {
|
|
720
|
-
tmp = _this__u8e3s4.
|
|
720
|
+
tmp = _this__u8e3s4.y24();
|
|
721
721
|
}
|
|
722
722
|
return tmp;
|
|
723
723
|
}
|
|
724
724
|
function get_longOrNull(_this__u8e3s4) {
|
|
725
|
-
return toLongOrNull(_this__u8e3s4.
|
|
725
|
+
return toLongOrNull(_this__u8e3s4.y24());
|
|
726
726
|
}
|
|
727
727
|
function get_doubleOrNull(_this__u8e3s4) {
|
|
728
|
-
return toDoubleOrNull(_this__u8e3s4.
|
|
728
|
+
return toDoubleOrNull(_this__u8e3s4.y24());
|
|
729
729
|
}
|
|
730
730
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
731
731
|
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonPrimitive ? _this__u8e3s4 : null;
|
|
@@ -742,62 +742,62 @@
|
|
|
742
742
|
}
|
|
743
743
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
744
744
|
var tmp = defer(JsonElementSerializer$descriptor$lambda$lambda);
|
|
745
|
-
$this$buildSerialDescriptor.
|
|
745
|
+
$this$buildSerialDescriptor.w1i('JsonPrimitive', tmp, null, false, 12, null);
|
|
746
746
|
var tmp_0 = defer(JsonElementSerializer$descriptor$lambda$lambda_0);
|
|
747
|
-
$this$buildSerialDescriptor.
|
|
747
|
+
$this$buildSerialDescriptor.w1i('JsonNull', tmp_0, null, false, 12, null);
|
|
748
748
|
var tmp_1 = defer(JsonElementSerializer$descriptor$lambda$lambda_1);
|
|
749
|
-
$this$buildSerialDescriptor.
|
|
749
|
+
$this$buildSerialDescriptor.w1i('JsonLiteral', tmp_1, null, false, 12, null);
|
|
750
750
|
var tmp_2 = defer(JsonElementSerializer$descriptor$lambda$lambda_2);
|
|
751
|
-
$this$buildSerialDescriptor.
|
|
751
|
+
$this$buildSerialDescriptor.w1i('JsonObject', tmp_2, null, false, 12, null);
|
|
752
752
|
var tmp_3 = defer(JsonElementSerializer$descriptor$lambda$lambda_3);
|
|
753
|
-
$this$buildSerialDescriptor.
|
|
753
|
+
$this$buildSerialDescriptor.w1i('JsonArray', tmp_3, null, false, 12, null);
|
|
754
754
|
return Unit_getInstance();
|
|
755
755
|
}
|
|
756
756
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
757
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
757
|
+
return JsonPrimitiveSerializer_getInstance().e25_1;
|
|
758
758
|
}
|
|
759
759
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
760
|
-
return JsonNullSerializer_getInstance().
|
|
760
|
+
return JsonNullSerializer_getInstance().f25_1;
|
|
761
761
|
}
|
|
762
762
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
763
|
-
return JsonLiteralSerializer_getInstance().
|
|
763
|
+
return JsonLiteralSerializer_getInstance().g25_1;
|
|
764
764
|
}
|
|
765
765
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
766
|
-
return JsonObjectSerializer_getInstance().
|
|
766
|
+
return JsonObjectSerializer_getInstance().h25_1;
|
|
767
767
|
}
|
|
768
768
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
769
|
-
return JsonArraySerializer_getInstance().
|
|
769
|
+
return JsonArraySerializer_getInstance().i25_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.j25_1 = buildSerialDescriptor$default('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda, 4, null);
|
|
776
776
|
}
|
|
777
|
-
JsonElementSerializer.prototype.
|
|
778
|
-
return this.
|
|
777
|
+
JsonElementSerializer.prototype.i1i = function () {
|
|
778
|
+
return this.j25_1;
|
|
779
779
|
};
|
|
780
|
-
JsonElementSerializer.prototype.
|
|
780
|
+
JsonElementSerializer.prototype.k25 = function (encoder, value) {
|
|
781
781
|
verify(encoder);
|
|
782
782
|
var tmp0_subject = value;
|
|
783
783
|
if (tmp0_subject instanceof JsonPrimitive) {
|
|
784
|
-
encoder.
|
|
784
|
+
encoder.h1n(JsonPrimitiveSerializer_getInstance(), value);
|
|
785
785
|
} else {
|
|
786
786
|
if (tmp0_subject instanceof JsonObject) {
|
|
787
|
-
encoder.
|
|
787
|
+
encoder.h1n(JsonObjectSerializer_getInstance(), value);
|
|
788
788
|
} else {
|
|
789
789
|
if (tmp0_subject instanceof JsonArray) {
|
|
790
|
-
encoder.
|
|
790
|
+
encoder.h1n(JsonArraySerializer_getInstance(), value);
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
};
|
|
795
|
-
JsonElementSerializer.prototype.
|
|
796
|
-
return this.
|
|
795
|
+
JsonElementSerializer.prototype.j1i = function (encoder, value) {
|
|
796
|
+
return this.k25(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
797
797
|
};
|
|
798
|
-
JsonElementSerializer.prototype.
|
|
798
|
+
JsonElementSerializer.prototype.k1i = function (decoder) {
|
|
799
799
|
var input = asJsonDecoder(decoder);
|
|
800
|
-
return input.
|
|
800
|
+
return input.q24();
|
|
801
801
|
};
|
|
802
802
|
JsonElementSerializer.$metadata$ = objectMeta('JsonElementSerializer', [KSerializer]);
|
|
803
803
|
var JsonElementSerializer_instance;
|
|
@@ -808,41 +808,41 @@
|
|
|
808
808
|
}
|
|
809
809
|
function JsonArrayDescriptor() {
|
|
810
810
|
JsonArrayDescriptor_instance = this;
|
|
811
|
-
this.
|
|
812
|
-
this.
|
|
811
|
+
this.l25_1 = ListSerializer(JsonElementSerializer_getInstance()).i1i();
|
|
812
|
+
this.m25_1 = 'kotlinx.serialization.json.JsonArray';
|
|
813
813
|
}
|
|
814
|
-
JsonArrayDescriptor.prototype.
|
|
815
|
-
return this.
|
|
814
|
+
JsonArrayDescriptor.prototype.u1j = function () {
|
|
815
|
+
return this.l25_1.u1j();
|
|
816
816
|
};
|
|
817
|
-
JsonArrayDescriptor.prototype.
|
|
818
|
-
return this.
|
|
817
|
+
JsonArrayDescriptor.prototype.v1j = function () {
|
|
818
|
+
return this.l25_1.v1j();
|
|
819
819
|
};
|
|
820
|
-
JsonArrayDescriptor.prototype.
|
|
821
|
-
return this.
|
|
820
|
+
JsonArrayDescriptor.prototype.w1j = function () {
|
|
821
|
+
return this.l25_1.w1j();
|
|
822
822
|
};
|
|
823
|
-
JsonArrayDescriptor.prototype.
|
|
824
|
-
return this.
|
|
823
|
+
JsonArrayDescriptor.prototype.q1j = function () {
|
|
824
|
+
return this.l25_1.q1j();
|
|
825
825
|
};
|
|
826
|
-
JsonArrayDescriptor.prototype.
|
|
827
|
-
return this.
|
|
826
|
+
JsonArrayDescriptor.prototype.x1j = function () {
|
|
827
|
+
return this.l25_1.x1j();
|
|
828
828
|
};
|
|
829
|
-
JsonArrayDescriptor.prototype.
|
|
830
|
-
return this.
|
|
829
|
+
JsonArrayDescriptor.prototype.y1j = function (index) {
|
|
830
|
+
return this.l25_1.y1j(index);
|
|
831
831
|
};
|
|
832
|
-
JsonArrayDescriptor.prototype.
|
|
833
|
-
return this.
|
|
832
|
+
JsonArrayDescriptor.prototype.z1j = function (index) {
|
|
833
|
+
return this.l25_1.z1j(index);
|
|
834
834
|
};
|
|
835
|
-
JsonArrayDescriptor.prototype.
|
|
836
|
-
return this.
|
|
835
|
+
JsonArrayDescriptor.prototype.a1k = function (name) {
|
|
836
|
+
return this.l25_1.a1k(name);
|
|
837
837
|
};
|
|
838
|
-
JsonArrayDescriptor.prototype.
|
|
839
|
-
return this.
|
|
838
|
+
JsonArrayDescriptor.prototype.b1k = function (index) {
|
|
839
|
+
return this.l25_1.b1k(index);
|
|
840
840
|
};
|
|
841
|
-
JsonArrayDescriptor.prototype.
|
|
842
|
-
return this.
|
|
841
|
+
JsonArrayDescriptor.prototype.c1k = function (index) {
|
|
842
|
+
return this.l25_1.c1k(index);
|
|
843
843
|
};
|
|
844
|
-
JsonArrayDescriptor.prototype.
|
|
845
|
-
return this.
|
|
844
|
+
JsonArrayDescriptor.prototype.f1j = function () {
|
|
845
|
+
return this.m25_1;
|
|
846
846
|
};
|
|
847
847
|
JsonArrayDescriptor.$metadata$ = objectMeta('JsonArrayDescriptor', [SerialDescriptor]);
|
|
848
848
|
var JsonArrayDescriptor_instance;
|
|
@@ -853,21 +853,21 @@
|
|
|
853
853
|
}
|
|
854
854
|
function JsonArraySerializer() {
|
|
855
855
|
JsonArraySerializer_instance = this;
|
|
856
|
-
this.
|
|
856
|
+
this.i25_1 = JsonArrayDescriptor_getInstance();
|
|
857
857
|
}
|
|
858
|
-
JsonArraySerializer.prototype.
|
|
859
|
-
return this.
|
|
858
|
+
JsonArraySerializer.prototype.i1i = function () {
|
|
859
|
+
return this.i25_1;
|
|
860
860
|
};
|
|
861
|
-
JsonArraySerializer.prototype.
|
|
861
|
+
JsonArraySerializer.prototype.n25 = function (encoder, value) {
|
|
862
862
|
verify(encoder);
|
|
863
|
-
ListSerializer(JsonElementSerializer_getInstance()).
|
|
863
|
+
ListSerializer(JsonElementSerializer_getInstance()).j1i(encoder, value);
|
|
864
864
|
};
|
|
865
|
-
JsonArraySerializer.prototype.
|
|
866
|
-
return this.
|
|
865
|
+
JsonArraySerializer.prototype.j1i = function (encoder, value) {
|
|
866
|
+
return this.n25(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
867
867
|
};
|
|
868
|
-
JsonArraySerializer.prototype.
|
|
868
|
+
JsonArraySerializer.prototype.k1i = function (decoder) {
|
|
869
869
|
verify_0(decoder);
|
|
870
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
870
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).k1i(decoder));
|
|
871
871
|
};
|
|
872
872
|
JsonArraySerializer.$metadata$ = objectMeta('JsonArraySerializer', [KSerializer]);
|
|
873
873
|
var JsonArraySerializer_instance;
|
|
@@ -878,41 +878,41 @@
|
|
|
878
878
|
}
|
|
879
879
|
function JsonObjectDescriptor() {
|
|
880
880
|
JsonObjectDescriptor_instance = this;
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
881
|
+
this.o25_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).i1i();
|
|
882
|
+
this.p25_1 = 'kotlinx.serialization.json.JsonObject';
|
|
883
883
|
}
|
|
884
|
-
JsonObjectDescriptor.prototype.
|
|
885
|
-
return this.
|
|
884
|
+
JsonObjectDescriptor.prototype.u1j = function () {
|
|
885
|
+
return this.o25_1.u1j();
|
|
886
886
|
};
|
|
887
|
-
JsonObjectDescriptor.prototype.
|
|
888
|
-
return this.
|
|
887
|
+
JsonObjectDescriptor.prototype.v1j = function () {
|
|
888
|
+
return this.o25_1.v1j();
|
|
889
889
|
};
|
|
890
|
-
JsonObjectDescriptor.prototype.
|
|
891
|
-
return this.
|
|
890
|
+
JsonObjectDescriptor.prototype.w1j = function () {
|
|
891
|
+
return this.o25_1.w1j();
|
|
892
892
|
};
|
|
893
|
-
JsonObjectDescriptor.prototype.
|
|
894
|
-
return this.
|
|
893
|
+
JsonObjectDescriptor.prototype.q1j = function () {
|
|
894
|
+
return this.o25_1.q1j();
|
|
895
895
|
};
|
|
896
|
-
JsonObjectDescriptor.prototype.
|
|
897
|
-
return this.
|
|
896
|
+
JsonObjectDescriptor.prototype.x1j = function () {
|
|
897
|
+
return this.o25_1.x1j();
|
|
898
898
|
};
|
|
899
|
-
JsonObjectDescriptor.prototype.
|
|
900
|
-
return this.
|
|
899
|
+
JsonObjectDescriptor.prototype.y1j = function (index) {
|
|
900
|
+
return this.o25_1.y1j(index);
|
|
901
901
|
};
|
|
902
|
-
JsonObjectDescriptor.prototype.
|
|
903
|
-
return this.
|
|
902
|
+
JsonObjectDescriptor.prototype.z1j = function (index) {
|
|
903
|
+
return this.o25_1.z1j(index);
|
|
904
904
|
};
|
|
905
|
-
JsonObjectDescriptor.prototype.
|
|
906
|
-
return this.
|
|
905
|
+
JsonObjectDescriptor.prototype.a1k = function (name) {
|
|
906
|
+
return this.o25_1.a1k(name);
|
|
907
907
|
};
|
|
908
|
-
JsonObjectDescriptor.prototype.
|
|
909
|
-
return this.
|
|
908
|
+
JsonObjectDescriptor.prototype.b1k = function (index) {
|
|
909
|
+
return this.o25_1.b1k(index);
|
|
910
910
|
};
|
|
911
|
-
JsonObjectDescriptor.prototype.
|
|
912
|
-
return this.
|
|
911
|
+
JsonObjectDescriptor.prototype.c1k = function (index) {
|
|
912
|
+
return this.o25_1.c1k(index);
|
|
913
913
|
};
|
|
914
|
-
JsonObjectDescriptor.prototype.
|
|
915
|
-
return this.
|
|
914
|
+
JsonObjectDescriptor.prototype.f1j = function () {
|
|
915
|
+
return this.p25_1;
|
|
916
916
|
};
|
|
917
917
|
JsonObjectDescriptor.$metadata$ = objectMeta('JsonObjectDescriptor', [SerialDescriptor]);
|
|
918
918
|
var JsonObjectDescriptor_instance;
|
|
@@ -923,21 +923,21 @@
|
|
|
923
923
|
}
|
|
924
924
|
function JsonObjectSerializer() {
|
|
925
925
|
JsonObjectSerializer_instance = this;
|
|
926
|
-
this.
|
|
926
|
+
this.h25_1 = JsonObjectDescriptor_getInstance();
|
|
927
927
|
}
|
|
928
|
-
JsonObjectSerializer.prototype.
|
|
929
|
-
return this.
|
|
928
|
+
JsonObjectSerializer.prototype.i1i = function () {
|
|
929
|
+
return this.h25_1;
|
|
930
930
|
};
|
|
931
|
-
JsonObjectSerializer.prototype.
|
|
931
|
+
JsonObjectSerializer.prototype.q25 = function (encoder, value) {
|
|
932
932
|
verify(encoder);
|
|
933
|
-
MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
933
|
+
MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).j1i(encoder, value);
|
|
934
934
|
};
|
|
935
|
-
JsonObjectSerializer.prototype.
|
|
936
|
-
return this.
|
|
935
|
+
JsonObjectSerializer.prototype.j1i = function (encoder, value) {
|
|
936
|
+
return this.q25(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
937
937
|
};
|
|
938
|
-
JsonObjectSerializer.prototype.
|
|
938
|
+
JsonObjectSerializer.prototype.k1i = function (decoder) {
|
|
939
939
|
verify_0(decoder);
|
|
940
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
940
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).k1i(decoder));
|
|
941
941
|
};
|
|
942
942
|
JsonObjectSerializer.$metadata$ = objectMeta('JsonObjectSerializer', [KSerializer]);
|
|
943
943
|
var JsonObjectSerializer_instance;
|
|
@@ -950,29 +950,29 @@
|
|
|
950
950
|
JsonPrimitiveSerializer_instance = this;
|
|
951
951
|
var tmp = this;
|
|
952
952
|
var tmp_0 = STRING_getInstance();
|
|
953
|
-
tmp.
|
|
953
|
+
tmp.e25_1 = buildSerialDescriptor$default('kotlinx.serialization.json.JsonPrimitive', tmp_0, [], null, 12, null);
|
|
954
954
|
}
|
|
955
|
-
JsonPrimitiveSerializer.prototype.
|
|
956
|
-
return this.
|
|
955
|
+
JsonPrimitiveSerializer.prototype.i1i = function () {
|
|
956
|
+
return this.e25_1;
|
|
957
957
|
};
|
|
958
|
-
JsonPrimitiveSerializer.prototype.
|
|
958
|
+
JsonPrimitiveSerializer.prototype.r25 = function (encoder, value) {
|
|
959
959
|
verify(encoder);
|
|
960
960
|
var tmp;
|
|
961
961
|
if (value instanceof JsonNull) {
|
|
962
|
-
encoder.
|
|
962
|
+
encoder.h1n(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
963
963
|
tmp = Unit_getInstance();
|
|
964
964
|
} else {
|
|
965
965
|
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
966
|
-
encoder.
|
|
966
|
+
encoder.h1n(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
967
967
|
tmp = Unit_getInstance();
|
|
968
968
|
}
|
|
969
969
|
return tmp;
|
|
970
970
|
};
|
|
971
|
-
JsonPrimitiveSerializer.prototype.
|
|
972
|
-
return this.
|
|
971
|
+
JsonPrimitiveSerializer.prototype.j1i = function (encoder, value) {
|
|
972
|
+
return this.r25(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
973
973
|
};
|
|
974
|
-
JsonPrimitiveSerializer.prototype.
|
|
975
|
-
var result = asJsonDecoder(decoder).
|
|
974
|
+
JsonPrimitiveSerializer.prototype.k1i = function (decoder) {
|
|
975
|
+
var result = asJsonDecoder(decoder).q24();
|
|
976
976
|
if (!(result instanceof JsonPrimitive))
|
|
977
977
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
978
978
|
return result;
|
|
@@ -988,24 +988,24 @@
|
|
|
988
988
|
JsonNullSerializer_instance = this;
|
|
989
989
|
var tmp = this;
|
|
990
990
|
var tmp_0 = ENUM_getInstance();
|
|
991
|
-
tmp.
|
|
991
|
+
tmp.f25_1 = buildSerialDescriptor$default('kotlinx.serialization.json.JsonNull', tmp_0, [], null, 12, null);
|
|
992
992
|
}
|
|
993
|
-
JsonNullSerializer.prototype.
|
|
994
|
-
return this.
|
|
993
|
+
JsonNullSerializer.prototype.i1i = function () {
|
|
994
|
+
return this.f25_1;
|
|
995
995
|
};
|
|
996
|
-
JsonNullSerializer.prototype.
|
|
996
|
+
JsonNullSerializer.prototype.s25 = function (encoder, value) {
|
|
997
997
|
verify(encoder);
|
|
998
|
-
encoder.
|
|
998
|
+
encoder.k1m();
|
|
999
999
|
};
|
|
1000
|
-
JsonNullSerializer.prototype.
|
|
1001
|
-
return this.
|
|
1000
|
+
JsonNullSerializer.prototype.j1i = function (encoder, value) {
|
|
1001
|
+
return this.s25(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
1002
1002
|
};
|
|
1003
|
-
JsonNullSerializer.prototype.
|
|
1003
|
+
JsonNullSerializer.prototype.k1i = function (decoder) {
|
|
1004
1004
|
verify_0(decoder);
|
|
1005
|
-
if (decoder.
|
|
1005
|
+
if (decoder.b1l()) {
|
|
1006
1006
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
1007
1007
|
}
|
|
1008
|
-
decoder.
|
|
1008
|
+
decoder.c1l();
|
|
1009
1009
|
return JsonNull_getInstance();
|
|
1010
1010
|
};
|
|
1011
1011
|
JsonNullSerializer.$metadata$ = objectMeta('JsonNullSerializer', [KSerializer]);
|
|
@@ -1020,15 +1020,15 @@
|
|
|
1020
1020
|
}
|
|
1021
1021
|
function JsonLiteralSerializer() {
|
|
1022
1022
|
JsonLiteralSerializer_instance = this;
|
|
1023
|
-
this.
|
|
1023
|
+
this.g25_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
1024
1024
|
}
|
|
1025
|
-
JsonLiteralSerializer.prototype.
|
|
1026
|
-
return this.
|
|
1025
|
+
JsonLiteralSerializer.prototype.i1i = function () {
|
|
1026
|
+
return this.g25_1;
|
|
1027
1027
|
};
|
|
1028
|
-
JsonLiteralSerializer.prototype.
|
|
1028
|
+
JsonLiteralSerializer.prototype.t25 = function (encoder, value) {
|
|
1029
1029
|
verify(encoder);
|
|
1030
|
-
if (value.
|
|
1031
|
-
return encoder.
|
|
1030
|
+
if (value.z24_1) {
|
|
1031
|
+
return encoder.t1m(value.a25_1);
|
|
1032
1032
|
}
|
|
1033
1033
|
var tmp0_safe_receiver = get_longOrNull(value);
|
|
1034
1034
|
if (tmp0_safe_receiver == null)
|
|
@@ -1037,9 +1037,9 @@
|
|
|
1037
1037
|
var tmp$ret$0;
|
|
1038
1038
|
// Inline function 'kotlin.let' call
|
|
1039
1039
|
// Inline function 'kotlin.contracts.contract' call
|
|
1040
|
-
return encoder.
|
|
1040
|
+
return encoder.p1m(tmp0_safe_receiver);
|
|
1041
1041
|
}
|
|
1042
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1042
|
+
var tmp1_safe_receiver = toULongOrNull(value.a25_1);
|
|
1043
1043
|
var tmp = tmp1_safe_receiver;
|
|
1044
1044
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1045
1045
|
null;
|
|
@@ -1047,11 +1047,11 @@
|
|
|
1047
1047
|
var tmp$ret$2;
|
|
1048
1048
|
// Inline function 'kotlin.let' call
|
|
1049
1049
|
// Inline function 'kotlin.contracts.contract' call
|
|
1050
|
-
var tmp_0 = encoder.
|
|
1050
|
+
var tmp_0 = encoder.v1m(serializer_0(Companion_getInstance()).i1i());
|
|
1051
1051
|
var tmp$ret$1;
|
|
1052
1052
|
// Inline function 'kotlin.ULong.toLong' call
|
|
1053
1053
|
tmp$ret$1 = _ULong___get_data__impl__fggpzb(tmp1_safe_receiver);
|
|
1054
|
-
tmp_0.
|
|
1054
|
+
tmp_0.p1m(tmp$ret$1);
|
|
1055
1055
|
return Unit_getInstance();
|
|
1056
1056
|
}
|
|
1057
1057
|
var tmp2_safe_receiver = get_doubleOrNull(value);
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
var tmp$ret$3;
|
|
1062
1062
|
// Inline function 'kotlin.let' call
|
|
1063
1063
|
// Inline function 'kotlin.contracts.contract' call
|
|
1064
|
-
return encoder.
|
|
1064
|
+
return encoder.r1m(tmp2_safe_receiver);
|
|
1065
1065
|
}
|
|
1066
1066
|
var tmp3_safe_receiver = get_booleanOrNull(value);
|
|
1067
1067
|
if (tmp3_safe_receiver == null)
|
|
@@ -1070,15 +1070,15 @@
|
|
|
1070
1070
|
var tmp$ret$4;
|
|
1071
1071
|
// Inline function 'kotlin.let' call
|
|
1072
1072
|
// Inline function 'kotlin.contracts.contract' call
|
|
1073
|
-
return encoder.
|
|
1073
|
+
return encoder.l1m(tmp3_safe_receiver);
|
|
1074
1074
|
}
|
|
1075
|
-
encoder.
|
|
1075
|
+
encoder.t1m(value.a25_1);
|
|
1076
1076
|
};
|
|
1077
|
-
JsonLiteralSerializer.prototype.
|
|
1078
|
-
return this.
|
|
1077
|
+
JsonLiteralSerializer.prototype.j1i = function (encoder, value) {
|
|
1078
|
+
return this.t25(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1079
1079
|
};
|
|
1080
|
-
JsonLiteralSerializer.prototype.
|
|
1081
|
-
var result = asJsonDecoder(decoder).
|
|
1080
|
+
JsonLiteralSerializer.prototype.k1i = function (decoder) {
|
|
1081
|
+
var result = asJsonDecoder(decoder).q24();
|
|
1082
1082
|
if (!(result instanceof JsonLiteral))
|
|
1083
1083
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
1084
1084
|
return result;
|
|
@@ -1120,35 +1120,35 @@
|
|
|
1120
1120
|
var tmp$ret$0;
|
|
1121
1121
|
// Inline function 'kotlin.getValue' call
|
|
1122
1122
|
var tmp0_getValue = original$factory();
|
|
1123
|
-
tmp$ret$0 = $this.
|
|
1123
|
+
tmp$ret$0 = $this.u25_1.c2();
|
|
1124
1124
|
return tmp$ret$0;
|
|
1125
1125
|
}
|
|
1126
1126
|
function defer$1($deferred) {
|
|
1127
|
-
this.
|
|
1127
|
+
this.u25_1 = lazy_0($deferred);
|
|
1128
1128
|
}
|
|
1129
|
-
defer$1.prototype.
|
|
1130
|
-
return _get_original__l7ku1m(this).
|
|
1129
|
+
defer$1.prototype.f1j = function () {
|
|
1130
|
+
return _get_original__l7ku1m(this).f1j();
|
|
1131
1131
|
};
|
|
1132
|
-
defer$1.prototype.
|
|
1133
|
-
return _get_original__l7ku1m(this).
|
|
1132
|
+
defer$1.prototype.x1j = function () {
|
|
1133
|
+
return _get_original__l7ku1m(this).x1j();
|
|
1134
1134
|
};
|
|
1135
|
-
defer$1.prototype.
|
|
1136
|
-
return _get_original__l7ku1m(this).
|
|
1135
|
+
defer$1.prototype.v1j = function () {
|
|
1136
|
+
return _get_original__l7ku1m(this).v1j();
|
|
1137
1137
|
};
|
|
1138
|
-
defer$1.prototype.
|
|
1139
|
-
return _get_original__l7ku1m(this).
|
|
1138
|
+
defer$1.prototype.b1k = function (index) {
|
|
1139
|
+
return _get_original__l7ku1m(this).b1k(index);
|
|
1140
1140
|
};
|
|
1141
|
-
defer$1.prototype.
|
|
1142
|
-
return _get_original__l7ku1m(this).
|
|
1141
|
+
defer$1.prototype.a1k = function (name) {
|
|
1142
|
+
return _get_original__l7ku1m(this).a1k(name);
|
|
1143
1143
|
};
|
|
1144
|
-
defer$1.prototype.
|
|
1145
|
-
return _get_original__l7ku1m(this).
|
|
1144
|
+
defer$1.prototype.y1j = function (index) {
|
|
1145
|
+
return _get_original__l7ku1m(this).y1j(index);
|
|
1146
1146
|
};
|
|
1147
|
-
defer$1.prototype.
|
|
1148
|
-
return _get_original__l7ku1m(this).
|
|
1147
|
+
defer$1.prototype.z1j = function (index) {
|
|
1148
|
+
return _get_original__l7ku1m(this).z1j(index);
|
|
1149
1149
|
};
|
|
1150
|
-
defer$1.prototype.
|
|
1151
|
-
return _get_original__l7ku1m(this).
|
|
1150
|
+
defer$1.prototype.c1k = function (index) {
|
|
1151
|
+
return _get_original__l7ku1m(this).c1k(index);
|
|
1152
1152
|
};
|
|
1153
1153
|
defer$1.$metadata$ = classMeta(undefined, [SerialDescriptor]);
|
|
1154
1154
|
function original$factory() {
|
|
@@ -1160,133 +1160,133 @@
|
|
|
1160
1160
|
}
|
|
1161
1161
|
JsonEncoder.$metadata$ = interfaceMeta('JsonEncoder', [Encoder, CompositeEncoder]);
|
|
1162
1162
|
function Composer(writer) {
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1163
|
+
this.v25_1 = writer;
|
|
1164
|
+
this.w25_1 = true;
|
|
1165
1165
|
}
|
|
1166
|
-
Composer.prototype.
|
|
1167
|
-
this.
|
|
1166
|
+
Composer.prototype.x25 = function () {
|
|
1167
|
+
this.w25_1 = true;
|
|
1168
1168
|
};
|
|
1169
|
-
Composer.prototype.
|
|
1169
|
+
Composer.prototype.y25 = function () {
|
|
1170
1170
|
return Unit_getInstance();
|
|
1171
1171
|
};
|
|
1172
|
-
Composer.prototype.
|
|
1173
|
-
this.
|
|
1172
|
+
Composer.prototype.z25 = function () {
|
|
1173
|
+
this.w25_1 = false;
|
|
1174
1174
|
};
|
|
1175
|
-
Composer.prototype.
|
|
1175
|
+
Composer.prototype.a26 = function () {
|
|
1176
1176
|
return Unit_getInstance();
|
|
1177
1177
|
};
|
|
1178
|
-
Composer.prototype.
|
|
1179
|
-
return this.
|
|
1178
|
+
Composer.prototype.b26 = function (v) {
|
|
1179
|
+
return this.v25_1.c26(v);
|
|
1180
1180
|
};
|
|
1181
|
-
Composer.prototype.
|
|
1182
|
-
return this.
|
|
1181
|
+
Composer.prototype.d26 = function (v) {
|
|
1182
|
+
return this.v25_1.e26(v);
|
|
1183
1183
|
};
|
|
1184
|
-
Composer.prototype.
|
|
1185
|
-
return this.
|
|
1184
|
+
Composer.prototype.f26 = function (v) {
|
|
1185
|
+
return this.v25_1.e26(v.toString());
|
|
1186
1186
|
};
|
|
1187
|
-
Composer.prototype.
|
|
1188
|
-
return this.
|
|
1187
|
+
Composer.prototype.g26 = function (v) {
|
|
1188
|
+
return this.v25_1.e26(v.toString());
|
|
1189
1189
|
};
|
|
1190
|
-
Composer.prototype.
|
|
1191
|
-
return this.
|
|
1190
|
+
Composer.prototype.h26 = function (v) {
|
|
1191
|
+
return this.v25_1.i26(toLong_0(v));
|
|
1192
1192
|
};
|
|
1193
|
-
Composer.prototype.
|
|
1194
|
-
return this.
|
|
1193
|
+
Composer.prototype.j26 = function (v) {
|
|
1194
|
+
return this.v25_1.i26(toLong_0(v));
|
|
1195
1195
|
};
|
|
1196
|
-
Composer.prototype.
|
|
1197
|
-
return this.
|
|
1196
|
+
Composer.prototype.k26 = function (v) {
|
|
1197
|
+
return this.v25_1.i26(toLong_0(v));
|
|
1198
1198
|
};
|
|
1199
|
-
Composer.prototype.
|
|
1200
|
-
return this.
|
|
1199
|
+
Composer.prototype.l26 = function (v) {
|
|
1200
|
+
return this.v25_1.i26(v);
|
|
1201
1201
|
};
|
|
1202
|
-
Composer.prototype.
|
|
1203
|
-
return this.
|
|
1202
|
+
Composer.prototype.m26 = function (v) {
|
|
1203
|
+
return this.v25_1.e26(v.toString());
|
|
1204
1204
|
};
|
|
1205
|
-
Composer.prototype.
|
|
1206
|
-
return this.
|
|
1205
|
+
Composer.prototype.n26 = function (value) {
|
|
1206
|
+
return this.v25_1.o26(value);
|
|
1207
1207
|
};
|
|
1208
1208
|
Composer.$metadata$ = classMeta('Composer');
|
|
1209
1209
|
function Composer_0(sb, json) {
|
|
1210
|
-
return json.
|
|
1210
|
+
return json.w22_1.f24_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1211
1211
|
}
|
|
1212
1212
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1213
1213
|
Composer.call(this, writer);
|
|
1214
|
-
this.
|
|
1214
|
+
this.r26_1 = forceQuoting;
|
|
1215
1215
|
}
|
|
1216
|
-
ComposerForUnsignedNumbers.prototype.
|
|
1217
|
-
if (this.
|
|
1216
|
+
ComposerForUnsignedNumbers.prototype.k26 = function (v) {
|
|
1217
|
+
if (this.r26_1) {
|
|
1218
1218
|
var tmp$ret$0;
|
|
1219
1219
|
// Inline function 'kotlin.toUInt' call
|
|
1220
1220
|
tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1221
|
-
this.
|
|
1221
|
+
this.n26(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1222
1222
|
} else {
|
|
1223
1223
|
var tmp$ret$1;
|
|
1224
1224
|
// Inline function 'kotlin.toUInt' call
|
|
1225
1225
|
tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1226
|
-
this.
|
|
1226
|
+
this.d26(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1227
1227
|
}
|
|
1228
1228
|
};
|
|
1229
|
-
ComposerForUnsignedNumbers.prototype.
|
|
1230
|
-
if (this.
|
|
1229
|
+
ComposerForUnsignedNumbers.prototype.l26 = function (v) {
|
|
1230
|
+
if (this.r26_1) {
|
|
1231
1231
|
var tmp$ret$0;
|
|
1232
1232
|
// Inline function 'kotlin.toULong' call
|
|
1233
1233
|
tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1234
|
-
this.
|
|
1234
|
+
this.n26(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1235
1235
|
} else {
|
|
1236
1236
|
var tmp$ret$1;
|
|
1237
1237
|
// Inline function 'kotlin.toULong' call
|
|
1238
1238
|
tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1239
|
-
this.
|
|
1239
|
+
this.d26(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
|
-
ComposerForUnsignedNumbers.prototype.
|
|
1243
|
-
if (this.
|
|
1242
|
+
ComposerForUnsignedNumbers.prototype.h26 = function (v) {
|
|
1243
|
+
if (this.r26_1) {
|
|
1244
1244
|
var tmp$ret$0;
|
|
1245
1245
|
// Inline function 'kotlin.toUByte' call
|
|
1246
1246
|
tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1247
|
-
this.
|
|
1247
|
+
this.n26(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1248
1248
|
} else {
|
|
1249
1249
|
var tmp$ret$1;
|
|
1250
1250
|
// Inline function 'kotlin.toUByte' call
|
|
1251
1251
|
tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1252
|
-
this.
|
|
1252
|
+
this.d26(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1253
1253
|
}
|
|
1254
1254
|
};
|
|
1255
|
-
ComposerForUnsignedNumbers.prototype.
|
|
1256
|
-
if (this.
|
|
1255
|
+
ComposerForUnsignedNumbers.prototype.j26 = function (v) {
|
|
1256
|
+
if (this.r26_1) {
|
|
1257
1257
|
var tmp$ret$0;
|
|
1258
1258
|
// Inline function 'kotlin.toUShort' call
|
|
1259
1259
|
tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1260
|
-
this.
|
|
1260
|
+
this.n26(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1261
1261
|
} else {
|
|
1262
1262
|
var tmp$ret$1;
|
|
1263
1263
|
// Inline function 'kotlin.toUShort' call
|
|
1264
1264
|
tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1265
|
-
this.
|
|
1265
|
+
this.d26(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1266
1266
|
}
|
|
1267
1267
|
};
|
|
1268
1268
|
ComposerForUnsignedNumbers.$metadata$ = classMeta('ComposerForUnsignedNumbers', undefined, undefined, undefined, undefined, Composer.prototype);
|
|
1269
1269
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1270
1270
|
Composer.call(this, writer);
|
|
1271
|
-
this.
|
|
1272
|
-
this.
|
|
1271
|
+
this.u26_1 = json;
|
|
1272
|
+
this.v26_1 = 0;
|
|
1273
1273
|
}
|
|
1274
|
-
ComposerWithPrettyPrint.prototype.
|
|
1275
|
-
this.
|
|
1274
|
+
ComposerWithPrettyPrint.prototype.x25 = function () {
|
|
1275
|
+
this.w25_1 = true;
|
|
1276
1276
|
var tmp0_this = this;
|
|
1277
|
-
var tmp1 = tmp0_this.
|
|
1278
|
-
tmp0_this.
|
|
1277
|
+
var tmp1 = tmp0_this.v26_1;
|
|
1278
|
+
tmp0_this.v26_1 = tmp1 + 1 | 0;
|
|
1279
1279
|
};
|
|
1280
|
-
ComposerWithPrettyPrint.prototype.
|
|
1280
|
+
ComposerWithPrettyPrint.prototype.y25 = function () {
|
|
1281
1281
|
var tmp0_this = this;
|
|
1282
|
-
var tmp1 = tmp0_this.
|
|
1283
|
-
tmp0_this.
|
|
1282
|
+
var tmp1 = tmp0_this.v26_1;
|
|
1283
|
+
tmp0_this.v26_1 = tmp1 - 1 | 0;
|
|
1284
1284
|
};
|
|
1285
|
-
ComposerWithPrettyPrint.prototype.
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1285
|
+
ComposerWithPrettyPrint.prototype.z25 = function () {
|
|
1286
|
+
this.w25_1 = false;
|
|
1287
|
+
this.d26('\n');
|
|
1288
1288
|
// Inline function 'kotlin.repeat' call
|
|
1289
|
-
var tmp0_repeat = this.
|
|
1289
|
+
var tmp0_repeat = this.v26_1;
|
|
1290
1290
|
// Inline function 'kotlin.contracts.contract' call
|
|
1291
1291
|
var inductionVariable = 0;
|
|
1292
1292
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1294,17 +1294,17 @@
|
|
|
1294
1294
|
var index = inductionVariable;
|
|
1295
1295
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1296
1296
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
1297
|
-
this.
|
|
1297
|
+
this.d26(this.u26_1.w22_1.h24_1);
|
|
1298
1298
|
}
|
|
1299
1299
|
while (inductionVariable < tmp0_repeat);
|
|
1300
1300
|
};
|
|
1301
|
-
ComposerWithPrettyPrint.prototype.
|
|
1302
|
-
this.
|
|
1301
|
+
ComposerWithPrettyPrint.prototype.a26 = function () {
|
|
1302
|
+
this.b26(_Char___init__impl__6a9atx(32));
|
|
1303
1303
|
};
|
|
1304
1304
|
ComposerWithPrettyPrint.$metadata$ = classMeta('ComposerWithPrettyPrint', undefined, undefined, undefined, undefined, Composer.prototype);
|
|
1305
1305
|
function readIfAbsent($this, descriptor, index) {
|
|
1306
|
-
$this.
|
|
1307
|
-
return $this.
|
|
1306
|
+
$this.x26_1 = !descriptor.c1k(index) ? descriptor.z1j(index).q1j() : false;
|
|
1307
|
+
return $this.x26_1;
|
|
1308
1308
|
}
|
|
1309
1309
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1310
1310
|
var l = function (p0, p1) {
|
|
@@ -1315,19 +1315,19 @@
|
|
|
1315
1315
|
}
|
|
1316
1316
|
function JsonElementMarker(descriptor) {
|
|
1317
1317
|
var tmp = this;
|
|
1318
|
-
tmp.
|
|
1319
|
-
this.
|
|
1318
|
+
tmp.w26_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1319
|
+
this.x26_1 = false;
|
|
1320
1320
|
}
|
|
1321
|
-
JsonElementMarker.prototype.
|
|
1322
|
-
this.
|
|
1321
|
+
JsonElementMarker.prototype.o1r = function (index) {
|
|
1322
|
+
this.w26_1.o1r(index);
|
|
1323
1323
|
};
|
|
1324
|
-
JsonElementMarker.prototype.
|
|
1325
|
-
return this.
|
|
1324
|
+
JsonElementMarker.prototype.p1r = function () {
|
|
1325
|
+
return this.w26_1.p1r();
|
|
1326
1326
|
};
|
|
1327
1327
|
JsonElementMarker.$metadata$ = classMeta('JsonElementMarker');
|
|
1328
1328
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1329
1329
|
var tmp = 'Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification';
|
|
1330
|
-
_this__u8e3s4.
|
|
1330
|
+
_this__u8e3s4.y26(tmp, 0, get_specialFlowingValuesHint(), 2, null);
|
|
1331
1331
|
}
|
|
1332
1332
|
function JsonEncodingException(message) {
|
|
1333
1333
|
JsonException.call(this, message);
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
}
|
|
1336
1336
|
JsonEncodingException.$metadata$ = classMeta('JsonEncodingException', undefined, undefined, undefined, undefined, JsonException.prototype);
|
|
1337
1337
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1338
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1338
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.f1j() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.x1j() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1339
1339
|
}
|
|
1340
1340
|
function JsonDecodingException(message) {
|
|
1341
1341
|
JsonException.call(this, message);
|
|
@@ -1404,9 +1404,9 @@
|
|
|
1404
1404
|
var JsonAlternativeNamesKey;
|
|
1405
1405
|
function tryCoerceValue(_this__u8e3s4, elementDescriptor, peekNull, peekString, onEnumCoercing) {
|
|
1406
1406
|
init_properties_JsonNamesMap_kt_1j2xk2();
|
|
1407
|
-
if (!elementDescriptor.
|
|
1407
|
+
if (!elementDescriptor.q1j() ? peekNull() : false)
|
|
1408
1408
|
return true;
|
|
1409
|
-
if (equals(elementDescriptor.
|
|
1409
|
+
if (equals(elementDescriptor.x1j(), ENUM_getInstance())) {
|
|
1410
1410
|
var tmp0_elvis_lhs = peekString();
|
|
1411
1411
|
var tmp;
|
|
1412
1412
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1426,15 +1426,15 @@
|
|
|
1426
1426
|
}
|
|
1427
1427
|
function getJsonNameIndex(_this__u8e3s4, json, name) {
|
|
1428
1428
|
init_properties_JsonNamesMap_kt_1j2xk2();
|
|
1429
|
-
var index = _this__u8e3s4.
|
|
1429
|
+
var index = _this__u8e3s4.a1k(name);
|
|
1430
1430
|
Companion_getInstance_0();
|
|
1431
1431
|
if (!(index === -3))
|
|
1432
1432
|
return index;
|
|
1433
|
-
if (!json.
|
|
1433
|
+
if (!json.w22_1.m24_1)
|
|
1434
1434
|
return index;
|
|
1435
1435
|
var tmp = get_schemaCache(json);
|
|
1436
1436
|
var tmp_0 = get_JsonAlternativeNamesKey();
|
|
1437
|
-
var alternativeNamesMap = tmp.
|
|
1437
|
+
var alternativeNamesMap = tmp.a27(_this__u8e3s4, tmp_0, buildAlternativeNamesMap$ref(_this__u8e3s4));
|
|
1438
1438
|
var tmp0_elvis_lhs = alternativeNamesMap.n(name);
|
|
1439
1439
|
var tmp_1;
|
|
1440
1440
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1450,7 +1450,7 @@
|
|
|
1450
1450
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1451
1451
|
Companion_getInstance_0();
|
|
1452
1452
|
if (index === -3)
|
|
1453
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1453
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.f1j() + " does not contain element with name '" + name + "'" + suffix);
|
|
1454
1454
|
return index;
|
|
1455
1455
|
}
|
|
1456
1456
|
function getJsonNameIndexOrThrow$default(_this__u8e3s4, json, name, suffix, $mask0, $handler) {
|
|
@@ -1462,14 +1462,14 @@
|
|
|
1462
1462
|
init_properties_JsonNamesMap_kt_1j2xk2();
|
|
1463
1463
|
var builder = null;
|
|
1464
1464
|
var inductionVariable = 0;
|
|
1465
|
-
var last = _this__u8e3s4.
|
|
1465
|
+
var last = _this__u8e3s4.v1j();
|
|
1466
1466
|
if (inductionVariable < last)
|
|
1467
1467
|
do {
|
|
1468
1468
|
var i = inductionVariable;
|
|
1469
1469
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1470
1470
|
var tmp$ret$1;
|
|
1471
1471
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1472
|
-
var tmp0_filterIsInstance = _this__u8e3s4.
|
|
1472
|
+
var tmp0_filterIsInstance = _this__u8e3s4.y1j(i);
|
|
1473
1473
|
var tmp$ret$0;
|
|
1474
1474
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1475
1475
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
@@ -1483,7 +1483,7 @@
|
|
|
1483
1483
|
tmp$ret$0 = tmp0_filterIsInstanceTo;
|
|
1484
1484
|
tmp$ret$1 = tmp$ret$0;
|
|
1485
1485
|
var tmp1_safe_receiver = singleOrNull(tmp$ret$1);
|
|
1486
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1486
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b27_1;
|
|
1487
1487
|
if (tmp2_safe_receiver == null)
|
|
1488
1488
|
null;
|
|
1489
1489
|
else {
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
var element_0 = tmp0_iterator_0.h();
|
|
1494
1494
|
// Inline function 'kotlinx.serialization.json.internal.buildAlternativeNamesMap.<anonymous>' call
|
|
1495
1495
|
if (builder == null)
|
|
1496
|
-
builder = createMapForCache(_this__u8e3s4.
|
|
1496
|
+
builder = createMapForCache(_this__u8e3s4.v1j());
|
|
1497
1497
|
buildAlternativeNamesMap$putOrThrow(ensureNotNull(builder), _this__u8e3s4, element_0, i);
|
|
1498
1498
|
}
|
|
1499
1499
|
}
|
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).j2(name);
|
|
1511
1511
|
tmp$ret$1 = tmp$ret$0;
|
|
1512
1512
|
if (tmp$ret$1) {
|
|
1513
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildAlternativeNamesMap.
|
|
1513
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildAlternativeNamesMap.b1k(index) + ' is already one of the names for property ' + ($this_buildAlternativeNamesMap.b1k(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildAlternativeNamesMap));
|
|
1514
1514
|
}
|
|
1515
1515
|
// Inline function 'kotlin.collections.set' call
|
|
1516
1516
|
_this__u8e3s4.o(name, index);
|
|
@@ -1541,16 +1541,16 @@
|
|
|
1541
1541
|
return Tombstone_instance;
|
|
1542
1542
|
}
|
|
1543
1543
|
function resize($this) {
|
|
1544
|
-
var newSize = imul($this.
|
|
1545
|
-
$this.
|
|
1546
|
-
$this.
|
|
1544
|
+
var newSize = imul($this.e27_1, 2);
|
|
1545
|
+
$this.c27_1 = copyOf($this.c27_1, newSize);
|
|
1546
|
+
$this.d27_1 = copyOf_0($this.d27_1, newSize);
|
|
1547
1547
|
}
|
|
1548
1548
|
function JsonPath() {
|
|
1549
1549
|
var tmp = this;
|
|
1550
1550
|
var tmp$ret$0;
|
|
1551
1551
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1552
1552
|
tmp$ret$0 = fillArrayVal(Array(8), null);
|
|
1553
|
-
tmp.
|
|
1553
|
+
tmp.c27_1 = tmp$ret$0;
|
|
1554
1554
|
var tmp_0 = this;
|
|
1555
1555
|
var tmp_1 = 0;
|
|
1556
1556
|
var tmp_2 = 8;
|
|
@@ -1563,56 +1563,56 @@
|
|
|
1563
1563
|
tmp_3[tmp_4] = tmp$ret$1;
|
|
1564
1564
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1565
1565
|
}
|
|
1566
|
-
tmp_0.
|
|
1567
|
-
this.
|
|
1566
|
+
tmp_0.d27_1 = tmp_3;
|
|
1567
|
+
this.e27_1 = -1;
|
|
1568
1568
|
}
|
|
1569
|
-
JsonPath.prototype.
|
|
1569
|
+
JsonPath.prototype.f27 = function (sd) {
|
|
1570
1570
|
var tmp0_this = this;
|
|
1571
|
-
tmp0_this.
|
|
1572
|
-
var depth = tmp0_this.
|
|
1573
|
-
if (depth === this.
|
|
1571
|
+
tmp0_this.e27_1 = tmp0_this.e27_1 + 1 | 0;
|
|
1572
|
+
var depth = tmp0_this.e27_1;
|
|
1573
|
+
if (depth === this.c27_1.length) {
|
|
1574
1574
|
resize(this);
|
|
1575
1575
|
}
|
|
1576
|
-
this.
|
|
1576
|
+
this.c27_1[depth] = sd;
|
|
1577
1577
|
};
|
|
1578
|
-
JsonPath.prototype.
|
|
1579
|
-
this.
|
|
1578
|
+
JsonPath.prototype.g27 = function (index) {
|
|
1579
|
+
this.d27_1[this.e27_1] = index;
|
|
1580
1580
|
};
|
|
1581
|
-
JsonPath.prototype.
|
|
1581
|
+
JsonPath.prototype.h27 = function (key) {
|
|
1582
1582
|
var tmp;
|
|
1583
|
-
if (!(this.
|
|
1583
|
+
if (!(this.d27_1[this.e27_1] === -2)) {
|
|
1584
1584
|
var tmp0_this = this;
|
|
1585
|
-
tmp0_this.
|
|
1586
|
-
tmp = tmp0_this.
|
|
1585
|
+
tmp0_this.e27_1 = tmp0_this.e27_1 + 1 | 0;
|
|
1586
|
+
tmp = tmp0_this.e27_1 === this.c27_1.length;
|
|
1587
1587
|
} else {
|
|
1588
1588
|
tmp = false;
|
|
1589
1589
|
}
|
|
1590
1590
|
if (tmp) {
|
|
1591
1591
|
resize(this);
|
|
1592
1592
|
}
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1593
|
+
this.c27_1[this.e27_1] = key;
|
|
1594
|
+
this.d27_1[this.e27_1] = -2;
|
|
1595
1595
|
};
|
|
1596
|
-
JsonPath.prototype.
|
|
1597
|
-
if (this.
|
|
1598
|
-
this.
|
|
1596
|
+
JsonPath.prototype.i27 = function () {
|
|
1597
|
+
if (this.d27_1[this.e27_1] === -2) {
|
|
1598
|
+
this.c27_1[this.e27_1] = Tombstone_getInstance();
|
|
1599
1599
|
}
|
|
1600
1600
|
};
|
|
1601
|
-
JsonPath.prototype.
|
|
1602
|
-
var depth = this.
|
|
1603
|
-
if (this.
|
|
1604
|
-
this.
|
|
1601
|
+
JsonPath.prototype.j27 = function () {
|
|
1602
|
+
var depth = this.e27_1;
|
|
1603
|
+
if (this.d27_1[depth] === -2) {
|
|
1604
|
+
this.d27_1[depth] = -1;
|
|
1605
1605
|
var tmp0_this = this;
|
|
1606
|
-
var tmp1 = tmp0_this.
|
|
1607
|
-
tmp0_this.
|
|
1606
|
+
var tmp1 = tmp0_this.e27_1;
|
|
1607
|
+
tmp0_this.e27_1 = tmp1 - 1 | 0;
|
|
1608
1608
|
}
|
|
1609
|
-
if (!(this.
|
|
1609
|
+
if (!(this.e27_1 === -1)) {
|
|
1610
1610
|
var tmp2_this = this;
|
|
1611
|
-
var tmp3 = tmp2_this.
|
|
1612
|
-
tmp2_this.
|
|
1611
|
+
var tmp3 = tmp2_this.e27_1;
|
|
1612
|
+
tmp2_this.e27_1 = tmp3 - 1 | 0;
|
|
1613
1613
|
}
|
|
1614
1614
|
};
|
|
1615
|
-
JsonPath.prototype.
|
|
1615
|
+
JsonPath.prototype.k27 = function () {
|
|
1616
1616
|
var tmp$ret$1;
|
|
1617
1617
|
// Inline function 'kotlin.text.buildString' call
|
|
1618
1618
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1623,7 +1623,7 @@
|
|
|
1623
1623
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1624
1624
|
tmp0_apply.c8('$');
|
|
1625
1625
|
// Inline function 'kotlin.repeat' call
|
|
1626
|
-
var tmp0_repeat = this.
|
|
1626
|
+
var tmp0_repeat = this.e27_1 + 1 | 0;
|
|
1627
1627
|
// Inline function 'kotlin.contracts.contract' call
|
|
1628
1628
|
var inductionVariable = 0;
|
|
1629
1629
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1631,19 +1631,19 @@
|
|
|
1631
1631
|
var index = inductionVariable;
|
|
1632
1632
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1633
1633
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1634
|
-
var element = this.
|
|
1634
|
+
var element = this.c27_1[index];
|
|
1635
1635
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1636
|
-
if (equals(element.
|
|
1637
|
-
if (!(this.
|
|
1636
|
+
if (equals(element.x1j(), LIST_getInstance())) {
|
|
1637
|
+
if (!(this.d27_1[index] === -1)) {
|
|
1638
1638
|
tmp0_apply.c8('[');
|
|
1639
|
-
tmp0_apply.b8(this.
|
|
1639
|
+
tmp0_apply.b8(this.d27_1[index]);
|
|
1640
1640
|
tmp0_apply.c8(']');
|
|
1641
1641
|
}
|
|
1642
1642
|
} else {
|
|
1643
|
-
var idx = this.
|
|
1643
|
+
var idx = this.d27_1[index];
|
|
1644
1644
|
if (idx >= 0) {
|
|
1645
1645
|
tmp0_apply.c8('.');
|
|
1646
|
-
tmp0_apply.c8(element.
|
|
1646
|
+
tmp0_apply.c8(element.b1k(idx));
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
1649
|
} else {
|
|
@@ -1662,7 +1662,7 @@
|
|
|
1662
1662
|
return tmp$ret$1;
|
|
1663
1663
|
};
|
|
1664
1664
|
JsonPath.prototype.toString = function () {
|
|
1665
|
-
return this.
|
|
1665
|
+
return this.k27();
|
|
1666
1666
|
};
|
|
1667
1667
|
JsonPath.$metadata$ = classMeta('JsonPath');
|
|
1668
1668
|
function encodeByWriter(_this__u8e3s4, writer, serializer, value) {
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
var tmp0_arrayOfNulls = values().length;
|
|
1673
1673
|
tmp$ret$0 = fillArrayVal(Array(tmp0_arrayOfNulls), null);
|
|
1674
1674
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, _this__u8e3s4, tmp, tmp$ret$0);
|
|
1675
|
-
encoder.
|
|
1675
|
+
encoder.h1n(serializer, value);
|
|
1676
1676
|
}
|
|
1677
1677
|
function JsonWriter() {
|
|
1678
1678
|
}
|
|
@@ -1680,37 +1680,37 @@
|
|
|
1680
1680
|
function readObject($this) {
|
|
1681
1681
|
var tmp$ret$2;
|
|
1682
1682
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1683
|
-
var lastToken = $this.
|
|
1684
|
-
if ($this.
|
|
1685
|
-
$this.
|
|
1683
|
+
var lastToken = $this.t27_1.w27(get_TC_BEGIN_OBJ());
|
|
1684
|
+
if ($this.t27_1.x27() === get_TC_COMMA()) {
|
|
1685
|
+
$this.t27_1.y26('Unexpected leading comma', 0, null, 6, null);
|
|
1686
1686
|
}
|
|
1687
1687
|
var tmp$ret$0;
|
|
1688
1688
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1689
1689
|
tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
1690
1690
|
var result = tmp$ret$0;
|
|
1691
|
-
$l$loop: while ($this.
|
|
1692
|
-
var key = $this.
|
|
1693
|
-
$this.
|
|
1691
|
+
$l$loop: while ($this.t27_1.y27()) {
|
|
1692
|
+
var key = $this.u27_1 ? $this.t27_1.a28() : $this.t27_1.z27();
|
|
1693
|
+
$this.t27_1.w27(get_TC_COLON());
|
|
1694
1694
|
var tmp$ret$1;
|
|
1695
1695
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1696
|
-
tmp$ret$1 = $this.
|
|
1696
|
+
tmp$ret$1 = $this.b28();
|
|
1697
1697
|
var element = tmp$ret$1;
|
|
1698
1698
|
// Inline function 'kotlin.collections.set' call
|
|
1699
1699
|
result.o(key, element);
|
|
1700
|
-
lastToken = $this.
|
|
1700
|
+
lastToken = $this.t27_1.c28();
|
|
1701
1701
|
var tmp0_subject = lastToken;
|
|
1702
1702
|
if (tmp0_subject === get_TC_COMMA())
|
|
1703
1703
|
;
|
|
1704
1704
|
else if (tmp0_subject === get_TC_END_OBJ())
|
|
1705
1705
|
break $l$loop;
|
|
1706
1706
|
else {
|
|
1707
|
-
$this.
|
|
1707
|
+
$this.t27_1.y26('Expected end of the object or comma', 0, null, 6, null);
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1711
|
-
$this.
|
|
1711
|
+
$this.t27_1.w27(get_TC_END_OBJ());
|
|
1712
1712
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1713
|
-
$this.
|
|
1713
|
+
$this.t27_1.y26('Unexpected trailing comma', 0, null, 6, null);
|
|
1714
1714
|
}
|
|
1715
1715
|
tmp$ret$2 = new JsonObject(result);
|
|
1716
1716
|
return tmp$ret$2;
|
|
@@ -1722,45 +1722,45 @@
|
|
|
1722
1722
|
return tmp.vj();
|
|
1723
1723
|
}
|
|
1724
1724
|
function readArray($this) {
|
|
1725
|
-
var lastToken = $this.
|
|
1726
|
-
if ($this.
|
|
1727
|
-
$this.
|
|
1725
|
+
var lastToken = $this.t27_1.c28();
|
|
1726
|
+
if ($this.t27_1.x27() === get_TC_COMMA()) {
|
|
1727
|
+
$this.t27_1.y26('Unexpected leading comma', 0, null, 6, null);
|
|
1728
1728
|
}
|
|
1729
1729
|
var tmp$ret$0;
|
|
1730
1730
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1731
1731
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1732
1732
|
var result = tmp$ret$0;
|
|
1733
|
-
while ($this.
|
|
1734
|
-
var element = $this.
|
|
1733
|
+
while ($this.t27_1.y27()) {
|
|
1734
|
+
var element = $this.b28();
|
|
1735
1735
|
result.a(element);
|
|
1736
|
-
lastToken = $this.
|
|
1736
|
+
lastToken = $this.t27_1.c28();
|
|
1737
1737
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1738
1738
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1739
|
-
var tmp0_require = $this.
|
|
1739
|
+
var tmp0_require = $this.t27_1;
|
|
1740
1740
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1741
|
-
var tmp2_require = tmp0_require.
|
|
1741
|
+
var tmp2_require = tmp0_require.j23_1;
|
|
1742
1742
|
if (!tmp1_require) {
|
|
1743
1743
|
var tmp$ret$1;
|
|
1744
1744
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1745
1745
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1746
1746
|
var tmp = tmp$ret$1;
|
|
1747
|
-
tmp0_require.
|
|
1747
|
+
tmp0_require.y26(tmp, tmp2_require, null, 4, null);
|
|
1748
1748
|
}
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
1751
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1752
|
-
$this.
|
|
1752
|
+
$this.t27_1.w27(get_TC_END_LIST());
|
|
1753
1753
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1754
|
-
$this.
|
|
1754
|
+
$this.t27_1.y26('Unexpected trailing comma', 0, null, 6, null);
|
|
1755
1755
|
}
|
|
1756
1756
|
return new JsonArray(result);
|
|
1757
1757
|
}
|
|
1758
1758
|
function readValue($this, isString) {
|
|
1759
1759
|
var tmp;
|
|
1760
|
-
if ($this.
|
|
1761
|
-
tmp = $this.
|
|
1760
|
+
if ($this.u27_1 ? true : !isString) {
|
|
1761
|
+
tmp = $this.t27_1.a28();
|
|
1762
1762
|
} else {
|
|
1763
|
-
tmp = $this.
|
|
1763
|
+
tmp = $this.t27_1.z27();
|
|
1764
1764
|
}
|
|
1765
1765
|
var string = tmp;
|
|
1766
1766
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1771,18 +1771,18 @@
|
|
|
1771
1771
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1772
1772
|
}
|
|
1773
1773
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1774
|
-
this.
|
|
1774
|
+
this.y28_1 = this$0;
|
|
1775
1775
|
CoroutineImpl.call(this, resultContinuation);
|
|
1776
1776
|
}
|
|
1777
|
-
JsonTreeReader$readDeepRecursive$slambda.prototype.
|
|
1778
|
-
var tmp = this.
|
|
1777
|
+
JsonTreeReader$readDeepRecursive$slambda.prototype.d29 = function ($this$$receiver, it, $cont) {
|
|
1778
|
+
var tmp = this.e29($this$$receiver, it, $cont);
|
|
1779
1779
|
tmp.oj_1 = Unit_getInstance();
|
|
1780
1780
|
tmp.pj_1 = null;
|
|
1781
1781
|
return tmp.vj();
|
|
1782
1782
|
};
|
|
1783
1783
|
JsonTreeReader$readDeepRecursive$slambda.prototype.p8 = function (p1, p2, $cont) {
|
|
1784
1784
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1785
|
-
return this.
|
|
1785
|
+
return this.d29(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $cont);
|
|
1786
1786
|
};
|
|
1787
1787
|
JsonTreeReader$readDeepRecursive$slambda.prototype.vj = function () {
|
|
1788
1788
|
var suspendResult = this.oj_1;
|
|
@@ -1792,32 +1792,32 @@
|
|
|
1792
1792
|
switch (tmp) {
|
|
1793
1793
|
case 0:
|
|
1794
1794
|
this.nj_1 = 3;
|
|
1795
|
-
this.
|
|
1796
|
-
if (this.
|
|
1797
|
-
this.
|
|
1795
|
+
this.b29_1 = this.y28_1.t27_1.x27();
|
|
1796
|
+
if (this.b29_1 === get_TC_STRING()) {
|
|
1797
|
+
this.c29_1 = readValue(this.y28_1, true);
|
|
1798
1798
|
this.mj_1 = 2;
|
|
1799
1799
|
continue $sm;
|
|
1800
1800
|
} else {
|
|
1801
|
-
if (this.
|
|
1802
|
-
this.
|
|
1801
|
+
if (this.b29_1 === get_TC_OTHER()) {
|
|
1802
|
+
this.c29_1 = readValue(this.y28_1, false);
|
|
1803
1803
|
this.mj_1 = 2;
|
|
1804
1804
|
continue $sm;
|
|
1805
1805
|
} else {
|
|
1806
|
-
if (this.
|
|
1806
|
+
if (this.b29_1 === get_TC_BEGIN_OBJ()) {
|
|
1807
1807
|
this.mj_1 = 1;
|
|
1808
|
-
suspendResult = readObject_0(this.
|
|
1808
|
+
suspendResult = readObject_0(this.z28_1, this.y28_1, this);
|
|
1809
1809
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1810
1810
|
return suspendResult;
|
|
1811
1811
|
}
|
|
1812
1812
|
continue $sm;
|
|
1813
1813
|
} else {
|
|
1814
|
-
if (this.
|
|
1815
|
-
this.
|
|
1814
|
+
if (this.b29_1 === get_TC_BEGIN_LIST()) {
|
|
1815
|
+
this.c29_1 = readArray(this.y28_1);
|
|
1816
1816
|
this.mj_1 = 2;
|
|
1817
1817
|
continue $sm;
|
|
1818
1818
|
} else {
|
|
1819
1819
|
var tmp_0 = this;
|
|
1820
|
-
this.
|
|
1820
|
+
this.y28_1.t27_1.y26("Can't begin reading element, unexpected token", 0, null, 6, null);
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
1823
|
}
|
|
@@ -1825,11 +1825,11 @@
|
|
|
1825
1825
|
|
|
1826
1826
|
break;
|
|
1827
1827
|
case 1:
|
|
1828
|
-
this.
|
|
1828
|
+
this.c29_1 = suspendResult;
|
|
1829
1829
|
this.mj_1 = 2;
|
|
1830
1830
|
continue $sm;
|
|
1831
1831
|
case 2:
|
|
1832
|
-
return this.
|
|
1832
|
+
return this.c29_1;
|
|
1833
1833
|
case 3:
|
|
1834
1834
|
throw this.pj_1;
|
|
1835
1835
|
}
|
|
@@ -1843,25 +1843,25 @@
|
|
|
1843
1843
|
}
|
|
1844
1844
|
while (true);
|
|
1845
1845
|
};
|
|
1846
|
-
JsonTreeReader$readDeepRecursive$slambda.prototype.
|
|
1847
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1848
|
-
i.
|
|
1849
|
-
i.
|
|
1846
|
+
JsonTreeReader$readDeepRecursive$slambda.prototype.e29 = function ($this$$receiver, it, completion) {
|
|
1847
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.y28_1, completion);
|
|
1848
|
+
i.z28_1 = $this$$receiver;
|
|
1849
|
+
i.a29_1 = it;
|
|
1850
1850
|
return i;
|
|
1851
1851
|
};
|
|
1852
1852
|
JsonTreeReader$readDeepRecursive$slambda.$metadata$ = classMeta('JsonTreeReader$readDeepRecursive$slambda', undefined, undefined, undefined, [2], CoroutineImpl.prototype);
|
|
1853
1853
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1854
1854
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1855
1855
|
var l = function ($this$$receiver, it, $cont) {
|
|
1856
|
-
return i.
|
|
1856
|
+
return i.d29($this$$receiver, it, $cont);
|
|
1857
1857
|
};
|
|
1858
1858
|
l.$arity = 2;
|
|
1859
1859
|
return l;
|
|
1860
1860
|
}
|
|
1861
1861
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1862
1862
|
CoroutineImpl.call(this, resultContinuation);
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1863
|
+
this.l28_1 = _this__u8e3s4;
|
|
1864
|
+
this.m28_1 = _this__u8e3s4_0;
|
|
1865
1865
|
}
|
|
1866
1866
|
$readObjectCOROUTINE$0.prototype.vj = function () {
|
|
1867
1867
|
var suspendResult = this.oj_1;
|
|
@@ -1871,26 +1871,26 @@
|
|
|
1871
1871
|
switch (tmp) {
|
|
1872
1872
|
case 0:
|
|
1873
1873
|
this.nj_1 = 5;
|
|
1874
|
-
this.
|
|
1875
|
-
if (this.
|
|
1876
|
-
this.
|
|
1874
|
+
this.n28_1 = this.l28_1.t27_1.w27(get_TC_BEGIN_OBJ());
|
|
1875
|
+
if (this.l28_1.t27_1.x27() === get_TC_COMMA()) {
|
|
1876
|
+
this.l28_1.t27_1.y26('Unexpected leading comma', 0, null, 6, null);
|
|
1877
1877
|
}
|
|
1878
1878
|
|
|
1879
1879
|
var tmp_0 = this;
|
|
1880
|
-
tmp_0.
|
|
1880
|
+
tmp_0.o28_1 = LinkedHashMap_init_$Create$();
|
|
1881
1881
|
this.mj_1 = 1;
|
|
1882
1882
|
continue $sm;
|
|
1883
1883
|
case 1:
|
|
1884
|
-
if (!this.
|
|
1884
|
+
if (!this.l28_1.t27_1.y27()) {
|
|
1885
1885
|
this.mj_1 = 4;
|
|
1886
1886
|
continue $sm;
|
|
1887
1887
|
}
|
|
1888
1888
|
|
|
1889
|
-
this.
|
|
1890
|
-
this.
|
|
1889
|
+
this.p28_1 = this.l28_1.u27_1 ? this.l28_1.t27_1.a28() : this.l28_1.t27_1.z27();
|
|
1890
|
+
this.l28_1.t27_1.w27(get_TC_COLON());
|
|
1891
1891
|
;
|
|
1892
1892
|
this.mj_1 = 2;
|
|
1893
|
-
suspendResult = this.
|
|
1893
|
+
suspendResult = this.m28_1.h8(Unit_getInstance(), this);
|
|
1894
1894
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1895
1895
|
return suspendResult;
|
|
1896
1896
|
}
|
|
@@ -1898,10 +1898,10 @@
|
|
|
1898
1898
|
continue $sm;
|
|
1899
1899
|
case 2:
|
|
1900
1900
|
var element = suspendResult;
|
|
1901
|
-
this.
|
|
1901
|
+
this.o28_1.o(this.p28_1, element);
|
|
1902
1902
|
;
|
|
1903
|
-
this.
|
|
1904
|
-
var tmp0_subject = this.
|
|
1903
|
+
this.n28_1 = this.l28_1.t27_1.c28();
|
|
1904
|
+
var tmp0_subject = this.n28_1;
|
|
1905
1905
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1906
1906
|
this.mj_1 = 3;
|
|
1907
1907
|
continue $sm;
|
|
@@ -1910,7 +1910,7 @@
|
|
|
1910
1910
|
this.mj_1 = 4;
|
|
1911
1911
|
continue $sm;
|
|
1912
1912
|
} else {
|
|
1913
|
-
this.
|
|
1913
|
+
this.l28_1.t27_1.y26('Expected end of the object or comma', 0, null, 6, null);
|
|
1914
1914
|
}
|
|
1915
1915
|
}
|
|
1916
1916
|
|
|
@@ -1919,13 +1919,13 @@
|
|
|
1919
1919
|
this.mj_1 = 1;
|
|
1920
1920
|
continue $sm;
|
|
1921
1921
|
case 4:
|
|
1922
|
-
if (this.
|
|
1923
|
-
this.
|
|
1924
|
-
} else if (this.
|
|
1925
|
-
this.
|
|
1922
|
+
if (this.n28_1 === get_TC_BEGIN_OBJ()) {
|
|
1923
|
+
this.l28_1.t27_1.w27(get_TC_END_OBJ());
|
|
1924
|
+
} else if (this.n28_1 === get_TC_COMMA()) {
|
|
1925
|
+
this.l28_1.t27_1.y26('Unexpected trailing comma', 0, null, 6, null);
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
-
return new JsonObject(this.
|
|
1928
|
+
return new JsonObject(this.o28_1);
|
|
1929
1929
|
case 5:
|
|
1930
1930
|
throw this.pj_1;
|
|
1931
1931
|
}
|
|
@@ -1941,12 +1941,12 @@
|
|
|
1941
1941
|
};
|
|
1942
1942
|
$readObjectCOROUTINE$0.$metadata$ = classMeta('$readObjectCOROUTINE$0', undefined, undefined, undefined, undefined, CoroutineImpl.prototype);
|
|
1943
1943
|
function JsonTreeReader(configuration, lexer) {
|
|
1944
|
-
this.
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1944
|
+
this.t27_1 = lexer;
|
|
1945
|
+
this.u27_1 = configuration.d24_1;
|
|
1946
|
+
this.v27_1 = 0;
|
|
1947
1947
|
}
|
|
1948
|
-
JsonTreeReader.prototype.
|
|
1949
|
-
var token = this.
|
|
1948
|
+
JsonTreeReader.prototype.b28 = function () {
|
|
1949
|
+
var token = this.t27_1.x27();
|
|
1950
1950
|
var tmp;
|
|
1951
1951
|
if (token === get_TC_STRING()) {
|
|
1952
1952
|
tmp = readValue(this, true);
|
|
@@ -1955,58 +1955,58 @@
|
|
|
1955
1955
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1956
1956
|
var tmp_0;
|
|
1957
1957
|
var tmp0_this = this;
|
|
1958
|
-
tmp0_this.
|
|
1959
|
-
if (tmp0_this.
|
|
1958
|
+
tmp0_this.v27_1 = tmp0_this.v27_1 + 1 | 0;
|
|
1959
|
+
if (tmp0_this.v27_1 === 200) {
|
|
1960
1960
|
tmp_0 = readDeepRecursive(this);
|
|
1961
1961
|
} else {
|
|
1962
1962
|
tmp_0 = readObject(this);
|
|
1963
1963
|
}
|
|
1964
1964
|
var result = tmp_0;
|
|
1965
1965
|
var tmp1_this = this;
|
|
1966
|
-
tmp1_this.
|
|
1966
|
+
tmp1_this.v27_1 = tmp1_this.v27_1 - 1 | 0;
|
|
1967
1967
|
tmp = result;
|
|
1968
1968
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1969
1969
|
tmp = readArray(this);
|
|
1970
1970
|
} else {
|
|
1971
1971
|
var tmp_1 = 'Cannot begin reading element, unexpected token: ' + token;
|
|
1972
|
-
this.
|
|
1972
|
+
this.t27_1.y26(tmp_1, 0, null, 6, null);
|
|
1973
1973
|
}
|
|
1974
1974
|
return tmp;
|
|
1975
1975
|
};
|
|
1976
1976
|
JsonTreeReader.$metadata$ = classMeta('JsonTreeReader');
|
|
1977
1977
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1978
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1978
|
+
var tmp0_iterator = _this__u8e3s4.u1j().f();
|
|
1979
1979
|
while (tmp0_iterator.g()) {
|
|
1980
1980
|
var annotation = tmp0_iterator.h();
|
|
1981
1981
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1982
|
-
return annotation.
|
|
1982
|
+
return annotation.f29_1;
|
|
1983
1983
|
}
|
|
1984
|
-
return json.
|
|
1984
|
+
return json.w22_1.k24_1;
|
|
1985
1985
|
}
|
|
1986
1986
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1987
1987
|
var tmp;
|
|
1988
1988
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1989
1989
|
tmp = true;
|
|
1990
1990
|
} else {
|
|
1991
|
-
tmp = _this__u8e3s4.
|
|
1991
|
+
tmp = _this__u8e3s4.p24().w22_1.j24_1;
|
|
1992
1992
|
}
|
|
1993
1993
|
if (tmp) {
|
|
1994
|
-
return deserializer.
|
|
1994
|
+
return deserializer.k1i(_this__u8e3s4);
|
|
1995
1995
|
}
|
|
1996
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1996
|
+
var discriminator = classDiscriminator(deserializer.i1i(), _this__u8e3s4.p24());
|
|
1997
1997
|
var tmp$ret$0;
|
|
1998
1998
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1999
|
-
var tmp0_cast = _this__u8e3s4.
|
|
2000
|
-
var tmp1_cast = deserializer.
|
|
1999
|
+
var tmp0_cast = _this__u8e3s4.q24();
|
|
2000
|
+
var tmp1_cast = deserializer.i1i();
|
|
2001
2001
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
2002
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
2002
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.f1j() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
2003
2003
|
}
|
|
2004
2004
|
tmp$ret$0 = tmp0_cast;
|
|
2005
2005
|
var jsonTree = tmp$ret$0;
|
|
2006
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2006
|
+
var tmp0_safe_receiver = jsonTree.x24(discriminator);
|
|
2007
2007
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2008
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2009
|
-
var tmp2_elvis_lhs = deserializer.
|
|
2008
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.y24();
|
|
2009
|
+
var tmp2_elvis_lhs = deserializer.y1i(_this__u8e3s4, type);
|
|
2010
2010
|
var tmp_0;
|
|
2011
2011
|
if (tmp2_elvis_lhs == null) {
|
|
2012
2012
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -2014,7 +2014,7 @@
|
|
|
2014
2014
|
tmp_0 = tmp2_elvis_lhs;
|
|
2015
2015
|
}
|
|
2016
2016
|
var actualSerializer = tmp_0;
|
|
2017
|
-
var tmp_1 = _this__u8e3s4.
|
|
2017
|
+
var tmp_1 = _this__u8e3s4.p24();
|
|
2018
2018
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
2019
2019
|
}
|
|
2020
2020
|
function encodePolymorphically(_this__u8e3s4, serializer, value, ifPolymorphic) {
|
|
@@ -2022,19 +2022,19 @@
|
|
|
2022
2022
|
if (!(serializer instanceof AbstractPolymorphicSerializer)) {
|
|
2023
2023
|
tmp = true;
|
|
2024
2024
|
} else {
|
|
2025
|
-
tmp = _this__u8e3s4.
|
|
2025
|
+
tmp = _this__u8e3s4.p24().w22_1.j24_1;
|
|
2026
2026
|
}
|
|
2027
2027
|
if (tmp) {
|
|
2028
|
-
serializer.
|
|
2028
|
+
serializer.j1i(_this__u8e3s4, value);
|
|
2029
2029
|
return Unit_getInstance();
|
|
2030
2030
|
}
|
|
2031
2031
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2032
|
-
var baseClassDiscriminator = classDiscriminator(serializer.
|
|
2032
|
+
var baseClassDiscriminator = classDiscriminator(serializer.i1i(), _this__u8e3s4.p24());
|
|
2033
2033
|
var actualSerializer = findPolymorphicSerializer(casted, _this__u8e3s4, isObject(value) ? value : THROW_CCE());
|
|
2034
2034
|
validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator);
|
|
2035
|
-
checkKind(actualSerializer.
|
|
2035
|
+
checkKind(actualSerializer.i1i().x1j());
|
|
2036
2036
|
ifPolymorphic(baseClassDiscriminator);
|
|
2037
|
-
actualSerializer.
|
|
2037
|
+
actualSerializer.j1i(_this__u8e3s4, value);
|
|
2038
2038
|
}
|
|
2039
2039
|
function throwSerializerNotFound(type, jsonTree) {
|
|
2040
2040
|
var suffix = type == null ? "missing class discriminator ('null')" : "class discriminator '" + type + "'";
|
|
@@ -2043,9 +2043,9 @@
|
|
|
2043
2043
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2044
2044
|
if (!(serializer instanceof SealedClassSerializer))
|
|
2045
2045
|
return Unit_getInstance();
|
|
2046
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
2047
|
-
var baseName = serializer.
|
|
2048
|
-
var actualName = actualSerializer.
|
|
2046
|
+
if (jsonCachedSerialNames(actualSerializer.i1i()).r1(classDiscriminator)) {
|
|
2047
|
+
var baseName = serializer.i1i().f1j();
|
|
2048
|
+
var actualName = actualSerializer.i1i().f1j();
|
|
2049
2049
|
// Inline function 'kotlin.error' call
|
|
2050
2050
|
var tmp0_error = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation or fall back to array polymorphism';
|
|
2051
2051
|
throw IllegalStateException_init_$Create$(toString(tmp0_error));
|
|
@@ -2069,7 +2069,7 @@
|
|
|
2069
2069
|
return validateIfSealed(serializer, actualSerializer, classDiscriminator);
|
|
2070
2070
|
}
|
|
2071
2071
|
function checkKind_0($this, descriptor, actualClass) {
|
|
2072
|
-
var kind = descriptor.
|
|
2072
|
+
var kind = descriptor.x1j();
|
|
2073
2073
|
var tmp;
|
|
2074
2074
|
if (kind instanceof PolymorphicKind) {
|
|
2075
2075
|
tmp = true;
|
|
@@ -2079,7 +2079,7 @@
|
|
|
2079
2079
|
if (tmp) {
|
|
2080
2080
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.of() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
2081
2081
|
}
|
|
2082
|
-
if ($this.
|
|
2082
|
+
if ($this.g29_1)
|
|
2083
2083
|
return Unit_getInstance();
|
|
2084
2084
|
var tmp_0;
|
|
2085
2085
|
var tmp_1;
|
|
@@ -2099,47 +2099,47 @@
|
|
|
2099
2099
|
}
|
|
2100
2100
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
2101
2101
|
var inductionVariable = 0;
|
|
2102
|
-
var last = descriptor.
|
|
2102
|
+
var last = descriptor.v1j();
|
|
2103
2103
|
if (inductionVariable < last)
|
|
2104
2104
|
do {
|
|
2105
2105
|
var i = inductionVariable;
|
|
2106
2106
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2107
|
-
var name = descriptor.
|
|
2108
|
-
if (name === $this.
|
|
2107
|
+
var name = descriptor.b1k(i);
|
|
2108
|
+
if (name === $this.h29_1) {
|
|
2109
2109
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + 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');
|
|
2110
2110
|
}
|
|
2111
2111
|
}
|
|
2112
2112
|
while (inductionVariable < last);
|
|
2113
2113
|
}
|
|
2114
2114
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
2115
|
-
this.
|
|
2116
|
-
this.
|
|
2115
|
+
this.g29_1 = useArrayPolymorphism;
|
|
2116
|
+
this.h29_1 = discriminator;
|
|
2117
2117
|
}
|
|
2118
|
-
PolymorphismValidator.prototype.
|
|
2118
|
+
PolymorphismValidator.prototype.i22 = function (kClass, provider) {
|
|
2119
2119
|
};
|
|
2120
|
-
PolymorphismValidator.prototype.
|
|
2121
|
-
var descriptor = actualSerializer.
|
|
2120
|
+
PolymorphismValidator.prototype.l22 = function (baseClass, actualClass, actualSerializer) {
|
|
2121
|
+
var descriptor = actualSerializer.i1i();
|
|
2122
2122
|
checkKind_0(this, descriptor, actualClass);
|
|
2123
|
-
if (!this.
|
|
2123
|
+
if (!this.g29_1) {
|
|
2124
2124
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
2125
2125
|
}
|
|
2126
2126
|
};
|
|
2127
|
-
PolymorphismValidator.prototype.
|
|
2127
|
+
PolymorphismValidator.prototype.m22 = function (baseClass, defaultSerializerProvider) {
|
|
2128
2128
|
};
|
|
2129
|
-
PolymorphismValidator.prototype.
|
|
2129
|
+
PolymorphismValidator.prototype.n22 = function (baseClass, defaultDeserializerProvider) {
|
|
2130
2130
|
};
|
|
2131
2131
|
PolymorphismValidator.$metadata$ = classMeta('PolymorphismValidator', [SerializersModuleCollector]);
|
|
2132
2132
|
function Key() {
|
|
2133
2133
|
}
|
|
2134
2134
|
Key.$metadata$ = classMeta('Key');
|
|
2135
2135
|
function DescriptorSchemaCache() {
|
|
2136
|
-
this.
|
|
2136
|
+
this.z26_1 = createMapForCache(1);
|
|
2137
2137
|
}
|
|
2138
|
-
DescriptorSchemaCache.prototype.
|
|
2138
|
+
DescriptorSchemaCache.prototype.i29 = function (descriptor, key, value) {
|
|
2139
2139
|
// Inline function 'kotlin.collections.set' call
|
|
2140
2140
|
var tmp$ret$1;
|
|
2141
2141
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2142
|
-
var tmp0_getOrPut = this.
|
|
2142
|
+
var tmp0_getOrPut = this.z26_1;
|
|
2143
2143
|
var value_0 = tmp0_getOrPut.n(descriptor);
|
|
2144
2144
|
var tmp;
|
|
2145
2145
|
if (value_0 == null) {
|
|
@@ -2158,8 +2158,8 @@
|
|
|
2158
2158
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
2159
2159
|
tmp1_set.o(tmp2_set, tmp3_set);
|
|
2160
2160
|
};
|
|
2161
|
-
DescriptorSchemaCache.prototype.
|
|
2162
|
-
var tmp0_safe_receiver = this.
|
|
2161
|
+
DescriptorSchemaCache.prototype.a27 = function (descriptor, key, defaultValue) {
|
|
2162
|
+
var tmp0_safe_receiver = this.j29(descriptor, key);
|
|
2163
2163
|
if (tmp0_safe_receiver == null)
|
|
2164
2164
|
null;
|
|
2165
2165
|
else {
|
|
@@ -2169,11 +2169,11 @@
|
|
|
2169
2169
|
return tmp0_safe_receiver;
|
|
2170
2170
|
}
|
|
2171
2171
|
var value = defaultValue();
|
|
2172
|
-
this.
|
|
2172
|
+
this.i29(descriptor, key, value);
|
|
2173
2173
|
return value;
|
|
2174
2174
|
};
|
|
2175
|
-
DescriptorSchemaCache.prototype.
|
|
2176
|
-
var tmp0_safe_receiver = this.
|
|
2175
|
+
DescriptorSchemaCache.prototype.j29 = function (descriptor, key) {
|
|
2176
|
+
var tmp0_safe_receiver = this.z26_1.n(descriptor);
|
|
2177
2177
|
var tmp;
|
|
2178
2178
|
if (tmp0_safe_receiver == null) {
|
|
2179
2179
|
tmp = null;
|
|
@@ -2185,21 +2185,21 @@
|
|
|
2185
2185
|
};
|
|
2186
2186
|
DescriptorSchemaCache.$metadata$ = classMeta('DescriptorSchemaCache');
|
|
2187
2187
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2188
|
-
this.
|
|
2188
|
+
this.k29_1 = discriminatorToSkip;
|
|
2189
2189
|
}
|
|
2190
2190
|
DiscriminatorHolder.$metadata$ = classMeta('DiscriminatorHolder');
|
|
2191
2191
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
2192
2192
|
if (_this__u8e3s4 == null)
|
|
2193
2193
|
return false;
|
|
2194
|
-
if (_this__u8e3s4.
|
|
2195
|
-
_this__u8e3s4.
|
|
2194
|
+
if (_this__u8e3s4.k29_1 === unknownKey) {
|
|
2195
|
+
_this__u8e3s4.k29_1 = null;
|
|
2196
2196
|
return true;
|
|
2197
2197
|
}
|
|
2198
2198
|
return false;
|
|
2199
2199
|
}
|
|
2200
2200
|
function skipLeftoverElements($this, descriptor) {
|
|
2201
2201
|
$l$loop: while (true) {
|
|
2202
|
-
var tmp = $this.
|
|
2202
|
+
var tmp = $this.g1m(descriptor);
|
|
2203
2203
|
Companion_getInstance_0();
|
|
2204
2204
|
if (!!(tmp === -1)) {
|
|
2205
2205
|
break $l$loop;
|
|
@@ -2207,55 +2207,55 @@
|
|
|
2207
2207
|
}
|
|
2208
2208
|
}
|
|
2209
2209
|
function checkLeadingComma($this) {
|
|
2210
|
-
if ($this.
|
|
2211
|
-
$this.
|
|
2210
|
+
if ($this.d23_1.x27() === get_TC_COMMA()) {
|
|
2211
|
+
$this.d23_1.y26('Unexpected leading comma', 0, null, 6, null);
|
|
2212
2212
|
}
|
|
2213
2213
|
}
|
|
2214
2214
|
function decodeMapIndex($this) {
|
|
2215
2215
|
var hasComma = false;
|
|
2216
|
-
var decodingKey = !(($this.
|
|
2216
|
+
var decodingKey = !(($this.f23_1 % 2 | 0) === 0);
|
|
2217
2217
|
if (decodingKey) {
|
|
2218
|
-
if (!($this.
|
|
2219
|
-
hasComma = $this.
|
|
2218
|
+
if (!($this.f23_1 === -1)) {
|
|
2219
|
+
hasComma = $this.d23_1.m29();
|
|
2220
2220
|
}
|
|
2221
2221
|
} else {
|
|
2222
|
-
$this.
|
|
2222
|
+
$this.d23_1.l29(get_COLON());
|
|
2223
2223
|
}
|
|
2224
2224
|
var tmp;
|
|
2225
|
-
if ($this.
|
|
2225
|
+
if ($this.d23_1.y27()) {
|
|
2226
2226
|
if (decodingKey) {
|
|
2227
|
-
if ($this.
|
|
2227
|
+
if ($this.f23_1 === -1) {
|
|
2228
2228
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2229
|
-
var tmp0_require = $this.
|
|
2229
|
+
var tmp0_require = $this.d23_1;
|
|
2230
2230
|
var tmp1_require = !hasComma;
|
|
2231
|
-
var tmp2_require = tmp0_require.
|
|
2231
|
+
var tmp2_require = tmp0_require.j23_1;
|
|
2232
2232
|
if (!tmp1_require) {
|
|
2233
2233
|
var tmp$ret$0;
|
|
2234
2234
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2235
2235
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
2236
2236
|
var tmp_0 = tmp$ret$0;
|
|
2237
|
-
tmp0_require.
|
|
2237
|
+
tmp0_require.y26(tmp_0, tmp2_require, null, 4, null);
|
|
2238
2238
|
}
|
|
2239
2239
|
} else {
|
|
2240
2240
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2241
|
-
var tmp3_require = $this.
|
|
2241
|
+
var tmp3_require = $this.d23_1;
|
|
2242
2242
|
var tmp4_require = hasComma;
|
|
2243
|
-
var tmp5_require = tmp3_require.
|
|
2243
|
+
var tmp5_require = tmp3_require.j23_1;
|
|
2244
2244
|
if (!tmp4_require) {
|
|
2245
2245
|
var tmp$ret$1;
|
|
2246
2246
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2247
2247
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
2248
2248
|
var tmp_1 = tmp$ret$1;
|
|
2249
|
-
tmp3_require.
|
|
2249
|
+
tmp3_require.y26(tmp_1, tmp5_require, null, 4, null);
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
}
|
|
2253
2253
|
var tmp0_this = $this;
|
|
2254
|
-
tmp0_this.
|
|
2255
|
-
tmp = tmp0_this.
|
|
2254
|
+
tmp0_this.f23_1 = tmp0_this.f23_1 + 1 | 0;
|
|
2255
|
+
tmp = tmp0_this.f23_1;
|
|
2256
2256
|
} else {
|
|
2257
2257
|
if (hasComma) {
|
|
2258
|
-
$this.
|
|
2258
|
+
$this.d23_1.y26("Expected '}', but had ',' instead", 0, null, 6, null);
|
|
2259
2259
|
}
|
|
2260
2260
|
Companion_getInstance_0();
|
|
2261
2261
|
tmp = -1;
|
|
@@ -2266,13 +2266,13 @@
|
|
|
2266
2266
|
var tmp$ret$1;
|
|
2267
2267
|
$l$block_1: {
|
|
2268
2268
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2269
|
-
var tmp0_tryCoerceValue = $this.
|
|
2270
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
2269
|
+
var tmp0_tryCoerceValue = $this.b23_1;
|
|
2270
|
+
var tmp1_tryCoerceValue = descriptor.z1j(index);
|
|
2271
2271
|
var tmp;
|
|
2272
|
-
if (!tmp1_tryCoerceValue.
|
|
2272
|
+
if (!tmp1_tryCoerceValue.q1j()) {
|
|
2273
2273
|
var tmp$ret$0;
|
|
2274
2274
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2275
|
-
tmp$ret$0 = !$this.
|
|
2275
|
+
tmp$ret$0 = !$this.d23_1.n29();
|
|
2276
2276
|
tmp = tmp$ret$0;
|
|
2277
2277
|
} else {
|
|
2278
2278
|
tmp = false;
|
|
@@ -2281,10 +2281,10 @@
|
|
|
2281
2281
|
tmp$ret$1 = true;
|
|
2282
2282
|
break $l$block_1;
|
|
2283
2283
|
}
|
|
2284
|
-
if (equals(tmp1_tryCoerceValue.
|
|
2284
|
+
if (equals(tmp1_tryCoerceValue.x1j(), ENUM_getInstance())) {
|
|
2285
2285
|
var tmp$ret$2;
|
|
2286
2286
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2287
|
-
tmp$ret$2 = $this.
|
|
2287
|
+
tmp$ret$2 = $this.d23_1.o29($this.h23_1.d24_1);
|
|
2288
2288
|
var tmp0_elvis_lhs = tmp$ret$2;
|
|
2289
2289
|
var tmp_0;
|
|
2290
2290
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2298,7 +2298,7 @@
|
|
|
2298
2298
|
Companion_getInstance_0();
|
|
2299
2299
|
if (enumIndex === -3) {
|
|
2300
2300
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2301
|
-
$this.
|
|
2301
|
+
$this.d23_1.z27();
|
|
2302
2302
|
tmp$ret$1 = true;
|
|
2303
2303
|
break $l$block_1;
|
|
2304
2304
|
}
|
|
@@ -2308,25 +2308,25 @@
|
|
|
2308
2308
|
return tmp$ret$1;
|
|
2309
2309
|
}
|
|
2310
2310
|
function decodeObjectIndex($this, descriptor) {
|
|
2311
|
-
var hasComma = $this.
|
|
2312
|
-
while ($this.
|
|
2311
|
+
var hasComma = $this.d23_1.m29();
|
|
2312
|
+
while ($this.d23_1.y27()) {
|
|
2313
2313
|
hasComma = false;
|
|
2314
2314
|
var key = decodeStringKey($this);
|
|
2315
|
-
$this.
|
|
2316
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2315
|
+
$this.d23_1.l29(get_COLON());
|
|
2316
|
+
var index = getJsonNameIndex(descriptor, $this.b23_1, key);
|
|
2317
2317
|
var tmp;
|
|
2318
2318
|
Companion_getInstance_0();
|
|
2319
2319
|
if (!(index === -3)) {
|
|
2320
2320
|
var tmp_0;
|
|
2321
|
-
if ($this.
|
|
2322
|
-
hasComma = $this.
|
|
2321
|
+
if ($this.h23_1.i24_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
2322
|
+
hasComma = $this.d23_1.m29();
|
|
2323
2323
|
tmp_0 = false;
|
|
2324
2324
|
} else {
|
|
2325
|
-
var tmp0_safe_receiver = $this.
|
|
2325
|
+
var tmp0_safe_receiver = $this.i23_1;
|
|
2326
2326
|
if (tmp0_safe_receiver == null)
|
|
2327
2327
|
null;
|
|
2328
2328
|
else {
|
|
2329
|
-
tmp0_safe_receiver.
|
|
2329
|
+
tmp0_safe_receiver.o1r(index);
|
|
2330
2330
|
}
|
|
2331
2331
|
return index;
|
|
2332
2332
|
}
|
|
@@ -2340,10 +2340,10 @@
|
|
|
2340
2340
|
}
|
|
2341
2341
|
}
|
|
2342
2342
|
if (hasComma) {
|
|
2343
|
-
$this.
|
|
2343
|
+
$this.d23_1.y26('Unexpected trailing comma', 0, null, 6, null);
|
|
2344
2344
|
}
|
|
2345
|
-
var tmp1_safe_receiver = $this.
|
|
2346
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2345
|
+
var tmp1_safe_receiver = $this.i23_1;
|
|
2346
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p1r();
|
|
2347
2347
|
var tmp_1;
|
|
2348
2348
|
if (tmp2_elvis_lhs == null) {
|
|
2349
2349
|
Companion_getInstance_0();
|
|
@@ -2354,26 +2354,26 @@
|
|
|
2354
2354
|
return tmp_1;
|
|
2355
2355
|
}
|
|
2356
2356
|
function handleUnknown($this, key) {
|
|
2357
|
-
if ($this.
|
|
2358
|
-
$this.
|
|
2357
|
+
if ($this.h23_1.c24_1 ? true : trySkip($this.g23_1, $this, key)) {
|
|
2358
|
+
$this.d23_1.q29($this.h23_1.d24_1);
|
|
2359
2359
|
} else {
|
|
2360
|
-
$this.
|
|
2360
|
+
$this.d23_1.p29(key);
|
|
2361
2361
|
}
|
|
2362
|
-
return $this.
|
|
2362
|
+
return $this.d23_1.m29();
|
|
2363
2363
|
}
|
|
2364
2364
|
function decodeListIndex($this) {
|
|
2365
|
-
var hasComma = $this.
|
|
2365
|
+
var hasComma = $this.d23_1.m29();
|
|
2366
2366
|
var tmp;
|
|
2367
|
-
if ($this.
|
|
2368
|
-
if (!($this.
|
|
2369
|
-
$this.
|
|
2367
|
+
if ($this.d23_1.y27()) {
|
|
2368
|
+
if (!($this.f23_1 === -1) ? !hasComma : false) {
|
|
2369
|
+
$this.d23_1.y26('Expected end of the array or comma', 0, null, 6, null);
|
|
2370
2370
|
}
|
|
2371
2371
|
var tmp0_this = $this;
|
|
2372
|
-
tmp0_this.
|
|
2373
|
-
tmp = tmp0_this.
|
|
2372
|
+
tmp0_this.f23_1 = tmp0_this.f23_1 + 1 | 0;
|
|
2373
|
+
tmp = tmp0_this.f23_1;
|
|
2374
2374
|
} else {
|
|
2375
2375
|
if (hasComma) {
|
|
2376
|
-
$this.
|
|
2376
|
+
$this.d23_1.y26('Unexpected trailing comma', 0, null, 6, null);
|
|
2377
2377
|
}
|
|
2378
2378
|
Companion_getInstance_0();
|
|
2379
2379
|
tmp = -1;
|
|
@@ -2382,72 +2382,72 @@
|
|
|
2382
2382
|
}
|
|
2383
2383
|
function decodeStringKey($this) {
|
|
2384
2384
|
var tmp;
|
|
2385
|
-
if ($this.
|
|
2386
|
-
tmp = $this.
|
|
2385
|
+
if ($this.h23_1.d24_1) {
|
|
2386
|
+
tmp = $this.d23_1.s29();
|
|
2387
2387
|
} else {
|
|
2388
|
-
tmp = $this.
|
|
2388
|
+
tmp = $this.d23_1.r29();
|
|
2389
2389
|
}
|
|
2390
2390
|
return tmp;
|
|
2391
2391
|
}
|
|
2392
2392
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2393
2393
|
AbstractDecoder.call(this);
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2398
|
-
this.
|
|
2399
|
-
this.
|
|
2400
|
-
this.
|
|
2401
|
-
this.
|
|
2402
|
-
}
|
|
2403
|
-
StreamingJsonDecoder.prototype.
|
|
2404
|
-
return this.
|
|
2405
|
-
};
|
|
2406
|
-
StreamingJsonDecoder.prototype.
|
|
2407
|
-
return this.
|
|
2408
|
-
};
|
|
2409
|
-
StreamingJsonDecoder.prototype.
|
|
2410
|
-
return this.
|
|
2394
|
+
this.b23_1 = json;
|
|
2395
|
+
this.c23_1 = mode;
|
|
2396
|
+
this.d23_1 = lexer;
|
|
2397
|
+
this.e23_1 = this.b23_1.k1j();
|
|
2398
|
+
this.f23_1 = -1;
|
|
2399
|
+
this.g23_1 = discriminatorHolder;
|
|
2400
|
+
this.h23_1 = this.b23_1.w22_1;
|
|
2401
|
+
this.i23_1 = this.h23_1.g24_1 ? null : new JsonElementMarker(descriptor);
|
|
2402
|
+
}
|
|
2403
|
+
StreamingJsonDecoder.prototype.p24 = function () {
|
|
2404
|
+
return this.b23_1;
|
|
2405
|
+
};
|
|
2406
|
+
StreamingJsonDecoder.prototype.t29 = function () {
|
|
2407
|
+
return this.d23_1;
|
|
2408
|
+
};
|
|
2409
|
+
StreamingJsonDecoder.prototype.k1j = function () {
|
|
2410
|
+
return this.e23_1;
|
|
2411
2411
|
};
|
|
2412
|
-
StreamingJsonDecoder.prototype.
|
|
2413
|
-
return (new JsonTreeReader(this.
|
|
2412
|
+
StreamingJsonDecoder.prototype.q24 = function () {
|
|
2413
|
+
return (new JsonTreeReader(this.b23_1.w22_1, this.d23_1)).b28();
|
|
2414
2414
|
};
|
|
2415
|
-
StreamingJsonDecoder.prototype.
|
|
2415
|
+
StreamingJsonDecoder.prototype.p1l = function (deserializer) {
|
|
2416
2416
|
try {
|
|
2417
2417
|
var tmp;
|
|
2418
2418
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2419
2419
|
tmp = true;
|
|
2420
2420
|
} else {
|
|
2421
|
-
tmp = this.
|
|
2421
|
+
tmp = this.b23_1.w22_1.j24_1;
|
|
2422
2422
|
}
|
|
2423
2423
|
if (tmp) {
|
|
2424
|
-
return deserializer.
|
|
2424
|
+
return deserializer.k1i(this);
|
|
2425
2425
|
}
|
|
2426
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2427
|
-
var type = this.
|
|
2426
|
+
var discriminator = classDiscriminator(deserializer.i1i(), this.b23_1);
|
|
2427
|
+
var type = this.d23_1.u29(discriminator, this.h23_1.d24_1);
|
|
2428
2428
|
var actualSerializer = null;
|
|
2429
2429
|
if (!(type == null)) {
|
|
2430
|
-
actualSerializer = deserializer.
|
|
2430
|
+
actualSerializer = deserializer.y1i(this, type);
|
|
2431
2431
|
}
|
|
2432
2432
|
if (actualSerializer == null) {
|
|
2433
2433
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
2434
2434
|
}
|
|
2435
|
-
this.
|
|
2436
|
-
var tmp_0 = actualSerializer.
|
|
2435
|
+
this.g23_1 = new DiscriminatorHolder(discriminator);
|
|
2436
|
+
var tmp_0 = actualSerializer.k1i(this);
|
|
2437
2437
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
2438
2438
|
return result;
|
|
2439
2439
|
} catch ($p) {
|
|
2440
2440
|
if ($p instanceof MissingFieldException) {
|
|
2441
|
-
throw new MissingFieldException($p.
|
|
2441
|
+
throw new MissingFieldException($p.l1j_1, plus($p.message, ' at path: ') + this.d23_1.k23_1.k27(), $p);
|
|
2442
2442
|
} else {
|
|
2443
2443
|
throw $p;
|
|
2444
2444
|
}
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
|
-
StreamingJsonDecoder.prototype.
|
|
2448
|
-
var newMode = switchMode(this.
|
|
2449
|
-
this.
|
|
2450
|
-
this.
|
|
2447
|
+
StreamingJsonDecoder.prototype.q1l = function (descriptor) {
|
|
2448
|
+
var newMode = switchMode(this.b23_1, descriptor);
|
|
2449
|
+
this.d23_1.k23_1.f27(descriptor);
|
|
2450
|
+
this.d23_1.l29(newMode.x29_1);
|
|
2451
2451
|
checkLeadingComma(this);
|
|
2452
2452
|
var tmp0_subject = newMode;
|
|
2453
2453
|
var tmp0 = tmp0_subject.e5_1;
|
|
@@ -2456,14 +2456,14 @@
|
|
|
2456
2456
|
case 1:
|
|
2457
2457
|
case 2:
|
|
2458
2458
|
case 3:
|
|
2459
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2459
|
+
tmp = new StreamingJsonDecoder(this.b23_1, newMode, this.d23_1, descriptor, this.g23_1);
|
|
2460
2460
|
break;
|
|
2461
2461
|
default:
|
|
2462
2462
|
var tmp_0;
|
|
2463
|
-
if (this.
|
|
2463
|
+
if (this.c23_1.equals(newMode) ? this.b23_1.w22_1.g24_1 : false) {
|
|
2464
2464
|
tmp_0 = this;
|
|
2465
2465
|
} else {
|
|
2466
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2466
|
+
tmp_0 = new StreamingJsonDecoder(this.b23_1, newMode, this.d23_1, descriptor, this.g23_1);
|
|
2467
2467
|
}
|
|
2468
2468
|
|
|
2469
2469
|
tmp = tmp_0;
|
|
@@ -2471,40 +2471,40 @@
|
|
|
2471
2471
|
}
|
|
2472
2472
|
return tmp;
|
|
2473
2473
|
};
|
|
2474
|
-
StreamingJsonDecoder.prototype.
|
|
2475
|
-
if (this.
|
|
2474
|
+
StreamingJsonDecoder.prototype.r1l = function (descriptor) {
|
|
2475
|
+
if (this.b23_1.w22_1.c24_1 ? descriptor.v1j() === 0 : false) {
|
|
2476
2476
|
skipLeftoverElements(this, descriptor);
|
|
2477
2477
|
}
|
|
2478
|
-
this.
|
|
2479
|
-
this.
|
|
2478
|
+
this.d23_1.l29(this.c23_1.y29_1);
|
|
2479
|
+
this.d23_1.k23_1.j27();
|
|
2480
2480
|
};
|
|
2481
|
-
StreamingJsonDecoder.prototype.
|
|
2481
|
+
StreamingJsonDecoder.prototype.b1l = function () {
|
|
2482
2482
|
var tmp;
|
|
2483
|
-
var tmp0_safe_receiver = this.
|
|
2484
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2483
|
+
var tmp0_safe_receiver = this.i23_1;
|
|
2484
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x26_1;
|
|
2485
2485
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2486
|
-
tmp = this.
|
|
2486
|
+
tmp = this.d23_1.n29();
|
|
2487
2487
|
} else {
|
|
2488
2488
|
tmp = false;
|
|
2489
2489
|
}
|
|
2490
2490
|
return tmp;
|
|
2491
2491
|
};
|
|
2492
|
-
StreamingJsonDecoder.prototype.
|
|
2492
|
+
StreamingJsonDecoder.prototype.c1l = function () {
|
|
2493
2493
|
return null;
|
|
2494
2494
|
};
|
|
2495
|
-
StreamingJsonDecoder.prototype.
|
|
2496
|
-
var isMapKey = this.
|
|
2495
|
+
StreamingJsonDecoder.prototype.c1m = function (descriptor, index, deserializer, previousValue) {
|
|
2496
|
+
var isMapKey = this.c23_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2497
2497
|
if (isMapKey) {
|
|
2498
|
-
this.
|
|
2498
|
+
this.d23_1.k23_1.i27();
|
|
2499
2499
|
}
|
|
2500
|
-
var value = AbstractDecoder.prototype.
|
|
2500
|
+
var value = AbstractDecoder.prototype.c1m.call(this, descriptor, index, deserializer, previousValue);
|
|
2501
2501
|
if (isMapKey) {
|
|
2502
|
-
this.
|
|
2502
|
+
this.d23_1.k23_1.h27(value);
|
|
2503
2503
|
}
|
|
2504
2504
|
return value;
|
|
2505
2505
|
};
|
|
2506
|
-
StreamingJsonDecoder.prototype.
|
|
2507
|
-
var tmp0_subject = this.
|
|
2506
|
+
StreamingJsonDecoder.prototype.g1m = function (descriptor) {
|
|
2507
|
+
var tmp0_subject = this.c23_1;
|
|
2508
2508
|
var tmp0 = tmp0_subject.e5_1;
|
|
2509
2509
|
{
|
|
2510
2510
|
var index;
|
|
@@ -2520,53 +2520,53 @@
|
|
|
2520
2520
|
break;
|
|
2521
2521
|
}
|
|
2522
2522
|
}
|
|
2523
|
-
if (!this.
|
|
2524
|
-
this.
|
|
2523
|
+
if (!this.c23_1.equals(WriteMode_MAP_getInstance())) {
|
|
2524
|
+
this.d23_1.k23_1.g27(index);
|
|
2525
2525
|
}
|
|
2526
2526
|
return index;
|
|
2527
2527
|
};
|
|
2528
|
-
StreamingJsonDecoder.prototype.
|
|
2528
|
+
StreamingJsonDecoder.prototype.d1l = function () {
|
|
2529
2529
|
var tmp;
|
|
2530
|
-
if (this.
|
|
2531
|
-
tmp = this.
|
|
2530
|
+
if (this.h23_1.d24_1) {
|
|
2531
|
+
tmp = this.d23_1.a2a();
|
|
2532
2532
|
} else {
|
|
2533
|
-
tmp = this.
|
|
2533
|
+
tmp = this.d23_1.z29();
|
|
2534
2534
|
}
|
|
2535
2535
|
return tmp;
|
|
2536
2536
|
};
|
|
2537
|
-
StreamingJsonDecoder.prototype.
|
|
2538
|
-
var value = this.
|
|
2537
|
+
StreamingJsonDecoder.prototype.e1l = function () {
|
|
2538
|
+
var value = this.d23_1.b2a();
|
|
2539
2539
|
if (!value.equals(toLong_0(value.dj()))) {
|
|
2540
2540
|
var tmp = "Failed to parse byte for input '" + toString(value) + "'";
|
|
2541
|
-
this.
|
|
2541
|
+
this.d23_1.y26(tmp, 0, null, 6, null);
|
|
2542
2542
|
}
|
|
2543
2543
|
return value.dj();
|
|
2544
2544
|
};
|
|
2545
|
-
StreamingJsonDecoder.prototype.
|
|
2546
|
-
var value = this.
|
|
2545
|
+
StreamingJsonDecoder.prototype.f1l = function () {
|
|
2546
|
+
var value = this.d23_1.b2a();
|
|
2547
2547
|
if (!value.equals(toLong_0(value.ej()))) {
|
|
2548
2548
|
var tmp = "Failed to parse short for input '" + toString(value) + "'";
|
|
2549
|
-
this.
|
|
2549
|
+
this.d23_1.y26(tmp, 0, null, 6, null);
|
|
2550
2550
|
}
|
|
2551
2551
|
return value.ej();
|
|
2552
2552
|
};
|
|
2553
|
-
StreamingJsonDecoder.prototype.
|
|
2554
|
-
var value = this.
|
|
2553
|
+
StreamingJsonDecoder.prototype.g1l = function () {
|
|
2554
|
+
var value = this.d23_1.b2a();
|
|
2555
2555
|
if (!value.equals(toLong_0(value.t5()))) {
|
|
2556
2556
|
var tmp = "Failed to parse int for input '" + toString(value) + "'";
|
|
2557
|
-
this.
|
|
2557
|
+
this.d23_1.y26(tmp, 0, null, 6, null);
|
|
2558
2558
|
}
|
|
2559
2559
|
return value.t5();
|
|
2560
2560
|
};
|
|
2561
|
-
StreamingJsonDecoder.prototype.
|
|
2562
|
-
return this.
|
|
2561
|
+
StreamingJsonDecoder.prototype.h1l = function () {
|
|
2562
|
+
return this.d23_1.b2a();
|
|
2563
2563
|
};
|
|
2564
|
-
StreamingJsonDecoder.prototype.
|
|
2564
|
+
StreamingJsonDecoder.prototype.i1l = function () {
|
|
2565
2565
|
var tmp$ret$4;
|
|
2566
2566
|
$l$block: {
|
|
2567
2567
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2568
|
-
var tmp0_parseString = this.
|
|
2569
|
-
var input = tmp0_parseString.
|
|
2568
|
+
var tmp0_parseString = this.d23_1;
|
|
2569
|
+
var input = tmp0_parseString.a28();
|
|
2570
2570
|
try {
|
|
2571
2571
|
var tmp$ret$3;
|
|
2572
2572
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
@@ -2586,24 +2586,24 @@
|
|
|
2586
2586
|
} catch ($p) {
|
|
2587
2587
|
if ($p instanceof IllegalArgumentException) {
|
|
2588
2588
|
var tmp = "Failed to parse type 'float' for input '" + input + "'";
|
|
2589
|
-
tmp0_parseString.
|
|
2589
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2590
2590
|
} else {
|
|
2591
2591
|
throw $p;
|
|
2592
2592
|
}
|
|
2593
2593
|
}
|
|
2594
2594
|
}
|
|
2595
2595
|
var result = tmp$ret$4;
|
|
2596
|
-
var specialFp = this.
|
|
2596
|
+
var specialFp = this.b23_1.w22_1.l24_1;
|
|
2597
2597
|
if (specialFp ? true : isFinite(result))
|
|
2598
2598
|
return result;
|
|
2599
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2599
|
+
throwInvalidFloatingPointDecoded(this.d23_1, result);
|
|
2600
2600
|
};
|
|
2601
|
-
StreamingJsonDecoder.prototype.
|
|
2601
|
+
StreamingJsonDecoder.prototype.j1l = function () {
|
|
2602
2602
|
var tmp$ret$1;
|
|
2603
2603
|
$l$block: {
|
|
2604
2604
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2605
|
-
var tmp0_parseString = this.
|
|
2606
|
-
var input = tmp0_parseString.
|
|
2605
|
+
var tmp0_parseString = this.d23_1;
|
|
2606
|
+
var input = tmp0_parseString.a28();
|
|
2607
2607
|
try {
|
|
2608
2608
|
var tmp$ret$0;
|
|
2609
2609
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
@@ -2613,50 +2613,50 @@
|
|
|
2613
2613
|
} catch ($p) {
|
|
2614
2614
|
if ($p instanceof IllegalArgumentException) {
|
|
2615
2615
|
var tmp = "Failed to parse type 'double' for input '" + input + "'";
|
|
2616
|
-
tmp0_parseString.
|
|
2616
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2617
2617
|
} else {
|
|
2618
2618
|
throw $p;
|
|
2619
2619
|
}
|
|
2620
2620
|
}
|
|
2621
2621
|
}
|
|
2622
2622
|
var result = tmp$ret$1;
|
|
2623
|
-
var specialFp = this.
|
|
2623
|
+
var specialFp = this.b23_1.w22_1.l24_1;
|
|
2624
2624
|
if (specialFp ? true : isFinite_0(result))
|
|
2625
2625
|
return result;
|
|
2626
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2626
|
+
throwInvalidFloatingPointDecoded(this.d23_1, result);
|
|
2627
2627
|
};
|
|
2628
|
-
StreamingJsonDecoder.prototype.
|
|
2629
|
-
var string = this.
|
|
2628
|
+
StreamingJsonDecoder.prototype.k1l = function () {
|
|
2629
|
+
var string = this.d23_1.a28();
|
|
2630
2630
|
if (!(string.length === 1)) {
|
|
2631
2631
|
var tmp = "Expected single char, but got '" + string + "'";
|
|
2632
|
-
this.
|
|
2632
|
+
this.d23_1.y26(tmp, 0, null, 6, null);
|
|
2633
2633
|
}
|
|
2634
2634
|
return charSequenceGet(string, 0);
|
|
2635
2635
|
};
|
|
2636
|
-
StreamingJsonDecoder.prototype.
|
|
2636
|
+
StreamingJsonDecoder.prototype.l1l = function () {
|
|
2637
2637
|
var tmp;
|
|
2638
|
-
if (this.
|
|
2639
|
-
tmp = this.
|
|
2638
|
+
if (this.h23_1.d24_1) {
|
|
2639
|
+
tmp = this.d23_1.s29();
|
|
2640
2640
|
} else {
|
|
2641
|
-
tmp = this.
|
|
2641
|
+
tmp = this.d23_1.z27();
|
|
2642
2642
|
}
|
|
2643
2643
|
return tmp;
|
|
2644
2644
|
};
|
|
2645
|
-
StreamingJsonDecoder.prototype.
|
|
2646
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2645
|
+
StreamingJsonDecoder.prototype.n1l = function (descriptor) {
|
|
2646
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.d23_1, this.b23_1) : AbstractDecoder.prototype.n1l.call(this, descriptor);
|
|
2647
2647
|
};
|
|
2648
|
-
StreamingJsonDecoder.prototype.
|
|
2649
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2648
|
+
StreamingJsonDecoder.prototype.m1l = function (enumDescriptor) {
|
|
2649
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.b23_1, this.l1l(), ' at path ' + this.d23_1.k23_1.k27());
|
|
2650
2650
|
};
|
|
2651
2651
|
StreamingJsonDecoder.$metadata$ = classMeta('StreamingJsonDecoder', [JsonDecoder], undefined, undefined, undefined, AbstractDecoder.prototype);
|
|
2652
2652
|
function parseString(_this__u8e3s4, expectedType, block) {
|
|
2653
|
-
var input = _this__u8e3s4.
|
|
2653
|
+
var input = _this__u8e3s4.a28();
|
|
2654
2654
|
try {
|
|
2655
2655
|
return block(input);
|
|
2656
2656
|
} catch ($p) {
|
|
2657
2657
|
if ($p instanceof IllegalArgumentException) {
|
|
2658
2658
|
var tmp = "Failed to parse type '" + expectedType + "' for input '" + input + "'";
|
|
2659
|
-
_this__u8e3s4.
|
|
2659
|
+
_this__u8e3s4.y26(tmp, 0, null, 6, null);
|
|
2660
2660
|
} else {
|
|
2661
2661
|
throw $p;
|
|
2662
2662
|
}
|
|
@@ -2664,21 +2664,21 @@
|
|
|
2664
2664
|
}
|
|
2665
2665
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2666
2666
|
AbstractDecoder.call(this);
|
|
2667
|
-
this.
|
|
2668
|
-
this.
|
|
2667
|
+
this.c2a_1 = lexer;
|
|
2668
|
+
this.d2a_1 = json.k1j();
|
|
2669
2669
|
}
|
|
2670
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2671
|
-
return this.
|
|
2670
|
+
JsonDecoderForUnsignedTypes.prototype.k1j = function () {
|
|
2671
|
+
return this.d2a_1;
|
|
2672
2672
|
};
|
|
2673
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2673
|
+
JsonDecoderForUnsignedTypes.prototype.g1m = function (descriptor) {
|
|
2674
2674
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2675
2675
|
};
|
|
2676
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2676
|
+
JsonDecoderForUnsignedTypes.prototype.g1l = function () {
|
|
2677
2677
|
var tmp$ret$2;
|
|
2678
2678
|
$l$block: {
|
|
2679
2679
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2680
|
-
var tmp0_parseString = this.
|
|
2681
|
-
var input = tmp0_parseString.
|
|
2680
|
+
var tmp0_parseString = this.c2a_1;
|
|
2681
|
+
var input = tmp0_parseString.a28();
|
|
2682
2682
|
try {
|
|
2683
2683
|
var tmp$ret$1;
|
|
2684
2684
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
@@ -2692,7 +2692,7 @@
|
|
|
2692
2692
|
} catch ($p) {
|
|
2693
2693
|
if ($p instanceof IllegalArgumentException) {
|
|
2694
2694
|
var tmp = "Failed to parse type 'UInt' for input '" + input + "'";
|
|
2695
|
-
tmp0_parseString.
|
|
2695
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2696
2696
|
} else {
|
|
2697
2697
|
throw $p;
|
|
2698
2698
|
}
|
|
@@ -2700,12 +2700,12 @@
|
|
|
2700
2700
|
}
|
|
2701
2701
|
return tmp$ret$2;
|
|
2702
2702
|
};
|
|
2703
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2703
|
+
JsonDecoderForUnsignedTypes.prototype.h1l = function () {
|
|
2704
2704
|
var tmp$ret$2;
|
|
2705
2705
|
$l$block: {
|
|
2706
2706
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2707
|
-
var tmp0_parseString = this.
|
|
2708
|
-
var input = tmp0_parseString.
|
|
2707
|
+
var tmp0_parseString = this.c2a_1;
|
|
2708
|
+
var input = tmp0_parseString.a28();
|
|
2709
2709
|
try {
|
|
2710
2710
|
var tmp$ret$1;
|
|
2711
2711
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
@@ -2719,7 +2719,7 @@
|
|
|
2719
2719
|
} catch ($p) {
|
|
2720
2720
|
if ($p instanceof IllegalArgumentException) {
|
|
2721
2721
|
var tmp = "Failed to parse type 'ULong' for input '" + input + "'";
|
|
2722
|
-
tmp0_parseString.
|
|
2722
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2723
2723
|
} else {
|
|
2724
2724
|
throw $p;
|
|
2725
2725
|
}
|
|
@@ -2727,12 +2727,12 @@
|
|
|
2727
2727
|
}
|
|
2728
2728
|
return tmp$ret$2;
|
|
2729
2729
|
};
|
|
2730
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2730
|
+
JsonDecoderForUnsignedTypes.prototype.e1l = function () {
|
|
2731
2731
|
var tmp$ret$2;
|
|
2732
2732
|
$l$block: {
|
|
2733
2733
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2734
|
-
var tmp0_parseString = this.
|
|
2735
|
-
var input = tmp0_parseString.
|
|
2734
|
+
var tmp0_parseString = this.c2a_1;
|
|
2735
|
+
var input = tmp0_parseString.a28();
|
|
2736
2736
|
try {
|
|
2737
2737
|
var tmp$ret$1;
|
|
2738
2738
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
@@ -2746,7 +2746,7 @@
|
|
|
2746
2746
|
} catch ($p) {
|
|
2747
2747
|
if ($p instanceof IllegalArgumentException) {
|
|
2748
2748
|
var tmp = "Failed to parse type 'UByte' for input '" + input + "'";
|
|
2749
|
-
tmp0_parseString.
|
|
2749
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2750
2750
|
} else {
|
|
2751
2751
|
throw $p;
|
|
2752
2752
|
}
|
|
@@ -2754,12 +2754,12 @@
|
|
|
2754
2754
|
}
|
|
2755
2755
|
return tmp$ret$2;
|
|
2756
2756
|
};
|
|
2757
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
2757
|
+
JsonDecoderForUnsignedTypes.prototype.f1l = function () {
|
|
2758
2758
|
var tmp$ret$2;
|
|
2759
2759
|
$l$block: {
|
|
2760
2760
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2761
|
-
var tmp0_parseString = this.
|
|
2762
|
-
var input = tmp0_parseString.
|
|
2761
|
+
var tmp0_parseString = this.c2a_1;
|
|
2762
|
+
var input = tmp0_parseString.a28();
|
|
2763
2763
|
try {
|
|
2764
2764
|
var tmp$ret$1;
|
|
2765
2765
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
@@ -2773,7 +2773,7 @@
|
|
|
2773
2773
|
} catch ($p) {
|
|
2774
2774
|
if ($p instanceof IllegalArgumentException) {
|
|
2775
2775
|
var tmp = "Failed to parse type 'UShort' for input '" + input + "'";
|
|
2776
|
-
tmp0_parseString.
|
|
2776
|
+
tmp0_parseString.y26(tmp, 0, null, 6, null);
|
|
2777
2777
|
} else {
|
|
2778
2778
|
throw $p;
|
|
2779
2779
|
}
|
|
@@ -2795,49 +2795,49 @@
|
|
|
2795
2795
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, Object.create(StreamingJsonEncoder.prototype));
|
|
2796
2796
|
}
|
|
2797
2797
|
function encodeTypeInfo($this, descriptor) {
|
|
2798
|
-
$this.
|
|
2799
|
-
$this.
|
|
2800
|
-
$this.
|
|
2801
|
-
$this.
|
|
2802
|
-
$this.
|
|
2798
|
+
$this.l27_1.z25();
|
|
2799
|
+
$this.t1m(ensureNotNull($this.s27_1));
|
|
2800
|
+
$this.l27_1.b26(get_COLON());
|
|
2801
|
+
$this.l27_1.a26();
|
|
2802
|
+
$this.t1m(descriptor.f1j());
|
|
2803
2803
|
}
|
|
2804
2804
|
function composerForUnsignedNumbers($this) {
|
|
2805
2805
|
var tmp;
|
|
2806
|
-
var tmp_0 = $this.
|
|
2806
|
+
var tmp_0 = $this.l27_1;
|
|
2807
2807
|
if (tmp_0 instanceof ComposerForUnsignedNumbers) {
|
|
2808
|
-
tmp = $this.
|
|
2808
|
+
tmp = $this.l27_1;
|
|
2809
2809
|
} else {
|
|
2810
|
-
tmp = new ComposerForUnsignedNumbers($this.
|
|
2810
|
+
tmp = new ComposerForUnsignedNumbers($this.l27_1.v25_1, $this.r27_1);
|
|
2811
2811
|
}
|
|
2812
2812
|
return tmp;
|
|
2813
2813
|
}
|
|
2814
2814
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2815
2815
|
AbstractEncoder.call(this);
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2820
|
-
this.
|
|
2821
|
-
this.
|
|
2822
|
-
this.
|
|
2823
|
-
this.
|
|
2824
|
-
var i = this.
|
|
2825
|
-
if (!(this.
|
|
2826
|
-
if (!(this.
|
|
2827
|
-
this.
|
|
2816
|
+
this.l27_1 = composer;
|
|
2817
|
+
this.m27_1 = json;
|
|
2818
|
+
this.n27_1 = mode;
|
|
2819
|
+
this.o27_1 = modeReuseCache;
|
|
2820
|
+
this.p27_1 = this.m27_1.k1j();
|
|
2821
|
+
this.q27_1 = this.m27_1.w22_1;
|
|
2822
|
+
this.r27_1 = false;
|
|
2823
|
+
this.s27_1 = null;
|
|
2824
|
+
var i = this.n27_1.e5_1;
|
|
2825
|
+
if (!(this.o27_1 == null)) {
|
|
2826
|
+
if (!(this.o27_1[i] === null) ? true : !(this.o27_1[i] === this)) {
|
|
2827
|
+
this.o27_1[i] = this;
|
|
2828
2828
|
}
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
|
-
StreamingJsonEncoder.prototype.
|
|
2832
|
-
return this.
|
|
2831
|
+
StreamingJsonEncoder.prototype.p24 = function () {
|
|
2832
|
+
return this.m27_1;
|
|
2833
2833
|
};
|
|
2834
|
-
StreamingJsonEncoder.prototype.
|
|
2835
|
-
return this.
|
|
2834
|
+
StreamingJsonEncoder.prototype.k1j = function () {
|
|
2835
|
+
return this.p27_1;
|
|
2836
2836
|
};
|
|
2837
|
-
StreamingJsonEncoder.prototype.
|
|
2838
|
-
return this.
|
|
2837
|
+
StreamingJsonEncoder.prototype.m1n = function (descriptor, index) {
|
|
2838
|
+
return this.q27_1.b24_1;
|
|
2839
2839
|
};
|
|
2840
|
-
StreamingJsonEncoder.prototype.
|
|
2840
|
+
StreamingJsonEncoder.prototype.h1n = function (serializer, value) {
|
|
2841
2841
|
var tmp$ret$0;
|
|
2842
2842
|
$l$block: {
|
|
2843
2843
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
@@ -2845,189 +2845,189 @@
|
|
|
2845
2845
|
if (!(serializer instanceof AbstractPolymorphicSerializer)) {
|
|
2846
2846
|
tmp = true;
|
|
2847
2847
|
} else {
|
|
2848
|
-
tmp = this.
|
|
2848
|
+
tmp = this.p24().w22_1.j24_1;
|
|
2849
2849
|
}
|
|
2850
2850
|
if (tmp) {
|
|
2851
|
-
serializer.
|
|
2851
|
+
serializer.j1i(this, value);
|
|
2852
2852
|
tmp$ret$0 = Unit_getInstance();
|
|
2853
2853
|
break $l$block;
|
|
2854
2854
|
}
|
|
2855
2855
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2856
|
-
var baseClassDiscriminator = classDiscriminator(serializer.
|
|
2856
|
+
var baseClassDiscriminator = classDiscriminator(serializer.i1i(), this.p24());
|
|
2857
2857
|
var actualSerializer = findPolymorphicSerializer(casted, this, isObject(value) ? value : THROW_CCE());
|
|
2858
2858
|
validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator);
|
|
2859
|
-
checkKind(actualSerializer.
|
|
2859
|
+
checkKind(actualSerializer.i1i().x1j());
|
|
2860
2860
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
2861
|
-
this.
|
|
2862
|
-
actualSerializer.
|
|
2861
|
+
this.s27_1 = baseClassDiscriminator;
|
|
2862
|
+
actualSerializer.j1i(this, value);
|
|
2863
2863
|
}
|
|
2864
2864
|
};
|
|
2865
|
-
StreamingJsonEncoder.prototype.
|
|
2866
|
-
var newMode = switchMode(this.
|
|
2867
|
-
if (!equals(new Char(newMode.
|
|
2868
|
-
this.
|
|
2869
|
-
this.
|
|
2865
|
+
StreamingJsonEncoder.prototype.q1l = function (descriptor) {
|
|
2866
|
+
var newMode = switchMode(this.m27_1, descriptor);
|
|
2867
|
+
if (!equals(new Char(newMode.x29_1), new Char(get_INVALID()))) {
|
|
2868
|
+
this.l27_1.b26(newMode.x29_1);
|
|
2869
|
+
this.l27_1.x25();
|
|
2870
2870
|
}
|
|
2871
|
-
if (!(this.
|
|
2871
|
+
if (!(this.s27_1 == null)) {
|
|
2872
2872
|
encodeTypeInfo(this, descriptor);
|
|
2873
|
-
this.
|
|
2873
|
+
this.s27_1 = null;
|
|
2874
2874
|
}
|
|
2875
|
-
if (this.
|
|
2875
|
+
if (this.n27_1.equals(newMode)) {
|
|
2876
2876
|
return this;
|
|
2877
2877
|
}
|
|
2878
|
-
var tmp0_safe_receiver = this.
|
|
2878
|
+
var tmp0_safe_receiver = this.o27_1;
|
|
2879
2879
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.e5_1];
|
|
2880
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2880
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.l27_1, this.m27_1, newMode, this.o27_1) : tmp1_elvis_lhs;
|
|
2881
2881
|
};
|
|
2882
|
-
StreamingJsonEncoder.prototype.
|
|
2883
|
-
if (!equals(new Char(this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2886
|
-
this.
|
|
2882
|
+
StreamingJsonEncoder.prototype.r1l = function (descriptor) {
|
|
2883
|
+
if (!equals(new Char(this.n27_1.y29_1), new Char(get_INVALID()))) {
|
|
2884
|
+
this.l27_1.y25();
|
|
2885
|
+
this.l27_1.z25();
|
|
2886
|
+
this.l27_1.b26(this.n27_1.y29_1);
|
|
2887
2887
|
}
|
|
2888
2888
|
};
|
|
2889
|
-
StreamingJsonEncoder.prototype.
|
|
2890
|
-
var tmp0_subject = this.
|
|
2889
|
+
StreamingJsonEncoder.prototype.i1m = function (descriptor, index) {
|
|
2890
|
+
var tmp0_subject = this.n27_1;
|
|
2891
2891
|
var tmp0 = tmp0_subject.e5_1;
|
|
2892
2892
|
switch (tmp0) {
|
|
2893
2893
|
case 1:
|
|
2894
|
-
if (!this.
|
|
2895
|
-
this.
|
|
2894
|
+
if (!this.l27_1.w25_1) {
|
|
2895
|
+
this.l27_1.b26(get_COMMA());
|
|
2896
2896
|
}
|
|
2897
2897
|
|
|
2898
|
-
this.
|
|
2898
|
+
this.l27_1.z25();
|
|
2899
2899
|
;
|
|
2900
2900
|
break;
|
|
2901
2901
|
case 2:
|
|
2902
|
-
if (!this.
|
|
2902
|
+
if (!this.l27_1.w25_1) {
|
|
2903
2903
|
var tmp = this;
|
|
2904
2904
|
var tmp_0;
|
|
2905
2905
|
if ((index % 2 | 0) === 0) {
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2906
|
+
this.l27_1.b26(get_COMMA());
|
|
2907
|
+
this.l27_1.z25();
|
|
2908
2908
|
tmp_0 = true;
|
|
2909
2909
|
} else {
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2910
|
+
this.l27_1.b26(get_COLON());
|
|
2911
|
+
this.l27_1.a26();
|
|
2912
2912
|
tmp_0 = false;
|
|
2913
2913
|
}
|
|
2914
|
-
tmp.
|
|
2914
|
+
tmp.r27_1 = tmp_0;
|
|
2915
2915
|
} else {
|
|
2916
|
-
this.
|
|
2917
|
-
this.
|
|
2916
|
+
this.r27_1 = true;
|
|
2917
|
+
this.l27_1.z25();
|
|
2918
2918
|
}
|
|
2919
2919
|
|
|
2920
2920
|
break;
|
|
2921
2921
|
case 3:
|
|
2922
2922
|
if (index === 0)
|
|
2923
|
-
this.
|
|
2923
|
+
this.r27_1 = true;
|
|
2924
2924
|
if (index === 1) {
|
|
2925
|
-
this.
|
|
2926
|
-
this.
|
|
2927
|
-
this.
|
|
2925
|
+
this.l27_1.b26(get_COMMA());
|
|
2926
|
+
this.l27_1.a26();
|
|
2927
|
+
this.r27_1 = false;
|
|
2928
2928
|
}
|
|
2929
2929
|
|
|
2930
2930
|
break;
|
|
2931
2931
|
default:
|
|
2932
|
-
if (!this.
|
|
2933
|
-
this.
|
|
2932
|
+
if (!this.l27_1.w25_1) {
|
|
2933
|
+
this.l27_1.b26(get_COMMA());
|
|
2934
2934
|
}
|
|
2935
2935
|
|
|
2936
|
-
this.
|
|
2937
|
-
this.
|
|
2938
|
-
this.
|
|
2939
|
-
this.
|
|
2936
|
+
this.l27_1.z25();
|
|
2937
|
+
this.t1m(descriptor.b1k(index));
|
|
2938
|
+
this.l27_1.b26(get_COLON());
|
|
2939
|
+
this.l27_1.a26();
|
|
2940
2940
|
;
|
|
2941
2941
|
break;
|
|
2942
2942
|
}
|
|
2943
2943
|
return true;
|
|
2944
2944
|
};
|
|
2945
|
-
StreamingJsonEncoder.prototype.
|
|
2946
|
-
if (!(value == null) ? true : this.
|
|
2947
|
-
AbstractEncoder.prototype.
|
|
2945
|
+
StreamingJsonEncoder.prototype.i1n = function (descriptor, index, serializer, value) {
|
|
2946
|
+
if (!(value == null) ? true : this.q27_1.g24_1) {
|
|
2947
|
+
AbstractEncoder.prototype.i1n.call(this, descriptor, index, serializer, value);
|
|
2948
2948
|
}
|
|
2949
2949
|
};
|
|
2950
|
-
StreamingJsonEncoder.prototype.
|
|
2951
|
-
return get_isUnsignedNumber(descriptor) ? new StreamingJsonEncoder(composerForUnsignedNumbers(this), this.
|
|
2950
|
+
StreamingJsonEncoder.prototype.v1m = function (descriptor) {
|
|
2951
|
+
return get_isUnsignedNumber(descriptor) ? new StreamingJsonEncoder(composerForUnsignedNumbers(this), this.m27_1, this.n27_1, null) : AbstractEncoder.prototype.v1m.call(this, descriptor);
|
|
2952
2952
|
};
|
|
2953
|
-
StreamingJsonEncoder.prototype.
|
|
2954
|
-
this.
|
|
2953
|
+
StreamingJsonEncoder.prototype.k1m = function () {
|
|
2954
|
+
this.l27_1.d26(get_NULL());
|
|
2955
2955
|
};
|
|
2956
|
-
StreamingJsonEncoder.prototype.
|
|
2957
|
-
if (this.
|
|
2958
|
-
this.
|
|
2956
|
+
StreamingJsonEncoder.prototype.l1m = function (value) {
|
|
2957
|
+
if (this.r27_1) {
|
|
2958
|
+
this.t1m(value.toString());
|
|
2959
2959
|
} else {
|
|
2960
|
-
this.
|
|
2960
|
+
this.l27_1.m26(value);
|
|
2961
2961
|
}
|
|
2962
2962
|
};
|
|
2963
|
-
StreamingJsonEncoder.prototype.
|
|
2964
|
-
if (this.
|
|
2965
|
-
this.
|
|
2963
|
+
StreamingJsonEncoder.prototype.m1m = function (value) {
|
|
2964
|
+
if (this.r27_1) {
|
|
2965
|
+
this.t1m(value.toString());
|
|
2966
2966
|
} else {
|
|
2967
|
-
this.
|
|
2967
|
+
this.l27_1.h26(value);
|
|
2968
2968
|
}
|
|
2969
2969
|
};
|
|
2970
|
-
StreamingJsonEncoder.prototype.
|
|
2971
|
-
if (this.
|
|
2972
|
-
this.
|
|
2970
|
+
StreamingJsonEncoder.prototype.n1m = function (value) {
|
|
2971
|
+
if (this.r27_1) {
|
|
2972
|
+
this.t1m(value.toString());
|
|
2973
2973
|
} else {
|
|
2974
|
-
this.
|
|
2974
|
+
this.l27_1.j26(value);
|
|
2975
2975
|
}
|
|
2976
2976
|
};
|
|
2977
|
-
StreamingJsonEncoder.prototype.
|
|
2978
|
-
if (this.
|
|
2979
|
-
this.
|
|
2977
|
+
StreamingJsonEncoder.prototype.o1m = function (value) {
|
|
2978
|
+
if (this.r27_1) {
|
|
2979
|
+
this.t1m(value.toString());
|
|
2980
2980
|
} else {
|
|
2981
|
-
this.
|
|
2981
|
+
this.l27_1.k26(value);
|
|
2982
2982
|
}
|
|
2983
2983
|
};
|
|
2984
|
-
StreamingJsonEncoder.prototype.
|
|
2985
|
-
if (this.
|
|
2986
|
-
this.
|
|
2984
|
+
StreamingJsonEncoder.prototype.p1m = function (value) {
|
|
2985
|
+
if (this.r27_1) {
|
|
2986
|
+
this.t1m(value.toString());
|
|
2987
2987
|
} else {
|
|
2988
|
-
this.
|
|
2988
|
+
this.l27_1.l26(value);
|
|
2989
2989
|
}
|
|
2990
2990
|
};
|
|
2991
|
-
StreamingJsonEncoder.prototype.
|
|
2992
|
-
if (this.
|
|
2993
|
-
this.
|
|
2991
|
+
StreamingJsonEncoder.prototype.q1m = function (value) {
|
|
2992
|
+
if (this.r27_1) {
|
|
2993
|
+
this.t1m(value.toString());
|
|
2994
2994
|
} else {
|
|
2995
|
-
this.
|
|
2995
|
+
this.l27_1.f26(value);
|
|
2996
2996
|
}
|
|
2997
|
-
if (!this.
|
|
2998
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
2997
|
+
if (!this.q27_1.l24_1 ? !isFinite(value) : false) {
|
|
2998
|
+
throw InvalidFloatingPointEncoded(value, toString(this.l27_1.v25_1));
|
|
2999
2999
|
}
|
|
3000
3000
|
};
|
|
3001
|
-
StreamingJsonEncoder.prototype.
|
|
3002
|
-
if (this.
|
|
3003
|
-
this.
|
|
3001
|
+
StreamingJsonEncoder.prototype.r1m = function (value) {
|
|
3002
|
+
if (this.r27_1) {
|
|
3003
|
+
this.t1m(value.toString());
|
|
3004
3004
|
} else {
|
|
3005
|
-
this.
|
|
3005
|
+
this.l27_1.g26(value);
|
|
3006
3006
|
}
|
|
3007
|
-
if (!this.
|
|
3008
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3007
|
+
if (!this.q27_1.l24_1 ? !isFinite_0(value) : false) {
|
|
3008
|
+
throw InvalidFloatingPointEncoded(value, toString(this.l27_1.v25_1));
|
|
3009
3009
|
}
|
|
3010
3010
|
};
|
|
3011
|
-
StreamingJsonEncoder.prototype.
|
|
3012
|
-
this.
|
|
3011
|
+
StreamingJsonEncoder.prototype.s1m = function (value) {
|
|
3012
|
+
this.t1m(toString_0(value));
|
|
3013
3013
|
};
|
|
3014
|
-
StreamingJsonEncoder.prototype.
|
|
3015
|
-
return this.
|
|
3014
|
+
StreamingJsonEncoder.prototype.t1m = function (value) {
|
|
3015
|
+
return this.l27_1.n26(value);
|
|
3016
3016
|
};
|
|
3017
|
-
StreamingJsonEncoder.prototype.
|
|
3018
|
-
this.
|
|
3017
|
+
StreamingJsonEncoder.prototype.u1m = function (enumDescriptor, index) {
|
|
3018
|
+
this.t1m(enumDescriptor.b1k(index));
|
|
3019
3019
|
};
|
|
3020
3020
|
StreamingJsonEncoder.$metadata$ = classMeta('StreamingJsonEncoder', [JsonEncoder], undefined, undefined, undefined, AbstractEncoder.prototype);
|
|
3021
3021
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
3022
3022
|
init_properties_StreamingJsonEncoder_kt_qkpchk();
|
|
3023
|
-
return _this__u8e3s4.
|
|
3023
|
+
return _this__u8e3s4.w1j() ? get_unsignedNumberDescriptors().r1(_this__u8e3s4) : false;
|
|
3024
3024
|
}
|
|
3025
3025
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
3026
3026
|
function init_properties_StreamingJsonEncoder_kt_qkpchk() {
|
|
3027
3027
|
if (properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
3028
3028
|
} else {
|
|
3029
3029
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
3030
|
-
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_1()).
|
|
3030
|
+
unsignedNumberDescriptors = setOf([serializer_1(Companion_getInstance_1()).i1i(), serializer_0(Companion_getInstance()).i1i(), serializer_2(Companion_getInstance_2()).i1i(), serializer_3(Companion_getInstance_3()).i1i()]);
|
|
3031
3031
|
}
|
|
3032
3032
|
}
|
|
3033
3033
|
function get_ESCAPE_STRINGS() {
|
|
@@ -3209,7 +3209,7 @@
|
|
|
3209
3209
|
}
|
|
3210
3210
|
}
|
|
3211
3211
|
function currentObject($this) {
|
|
3212
|
-
var tmp0_safe_receiver = $this.
|
|
3212
|
+
var tmp0_safe_receiver = $this.l1z();
|
|
3213
3213
|
var tmp;
|
|
3214
3214
|
if (tmp0_safe_receiver == null) {
|
|
3215
3215
|
tmp = null;
|
|
@@ -3219,7 +3219,7 @@
|
|
|
3219
3219
|
// Inline function 'kotlin.contracts.contract' call
|
|
3220
3220
|
var tmp$ret$0;
|
|
3221
3221
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
3222
|
-
tmp$ret$0 = $this.
|
|
3222
|
+
tmp$ret$0 = $this.j2a(tmp0_safe_receiver);
|
|
3223
3223
|
tmp$ret$1 = tmp$ret$0;
|
|
3224
3224
|
tmp = tmp$ret$1;
|
|
3225
3225
|
}
|
|
@@ -3241,31 +3241,31 @@
|
|
|
3241
3241
|
}
|
|
3242
3242
|
function AbstractJsonTreeDecoder(json, value) {
|
|
3243
3243
|
NamedValueDecoder.call(this);
|
|
3244
|
-
this.
|
|
3245
|
-
this.
|
|
3246
|
-
this.
|
|
3244
|
+
this.g2a_1 = json;
|
|
3245
|
+
this.h2a_1 = value;
|
|
3246
|
+
this.i2a_1 = this.p24().w22_1;
|
|
3247
3247
|
}
|
|
3248
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3249
|
-
return this.
|
|
3248
|
+
AbstractJsonTreeDecoder.prototype.p24 = function () {
|
|
3249
|
+
return this.g2a_1;
|
|
3250
3250
|
};
|
|
3251
3251
|
AbstractJsonTreeDecoder.prototype.c2 = function () {
|
|
3252
|
-
return this.
|
|
3252
|
+
return this.h2a_1;
|
|
3253
3253
|
};
|
|
3254
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3255
|
-
return this.
|
|
3254
|
+
AbstractJsonTreeDecoder.prototype.k1j = function () {
|
|
3255
|
+
return this.p24().k1j();
|
|
3256
3256
|
};
|
|
3257
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3257
|
+
AbstractJsonTreeDecoder.prototype.q24 = function () {
|
|
3258
3258
|
return currentObject(this);
|
|
3259
3259
|
};
|
|
3260
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3260
|
+
AbstractJsonTreeDecoder.prototype.p1l = function (deserializer) {
|
|
3261
3261
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
3262
3262
|
};
|
|
3263
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3263
|
+
AbstractJsonTreeDecoder.prototype.m1z = function (parentName, childName) {
|
|
3264
3264
|
return childName;
|
|
3265
3265
|
};
|
|
3266
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3266
|
+
AbstractJsonTreeDecoder.prototype.q1l = function (descriptor) {
|
|
3267
3267
|
var currentObject_0 = currentObject(this);
|
|
3268
|
-
var tmp0_subject = descriptor.
|
|
3268
|
+
var tmp0_subject = descriptor.x1j();
|
|
3269
3269
|
var tmp;
|
|
3270
3270
|
var tmp_0;
|
|
3271
3271
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -3274,11 +3274,11 @@
|
|
|
3274
3274
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3275
3275
|
}
|
|
3276
3276
|
if (tmp_0) {
|
|
3277
|
-
var tmp_1 = this.
|
|
3277
|
+
var tmp_1 = this.p24();
|
|
3278
3278
|
var tmp$ret$0;
|
|
3279
3279
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3280
3280
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
3281
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
3281
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.f1j() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3282
3282
|
}
|
|
3283
3283
|
tmp$ret$0 = currentObject_0;
|
|
3284
3284
|
tmp = new JsonTreeListDecoder(tmp_1, tmp$ret$0);
|
|
@@ -3286,9 +3286,9 @@
|
|
|
3286
3286
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3287
3287
|
var tmp$ret$5;
|
|
3288
3288
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3289
|
-
var tmp0_selectMapMode = this.
|
|
3290
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
3291
|
-
var keyKind = keyDescriptor.
|
|
3289
|
+
var tmp0_selectMapMode = this.p24();
|
|
3290
|
+
var keyDescriptor = carrierDescriptor(descriptor.z1j(0), tmp0_selectMapMode.k1j());
|
|
3291
|
+
var keyKind = keyDescriptor.x1j();
|
|
3292
3292
|
var tmp_2;
|
|
3293
3293
|
var tmp_3;
|
|
3294
3294
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3299,24 +3299,24 @@
|
|
|
3299
3299
|
if (tmp_3) {
|
|
3300
3300
|
var tmp$ret$2;
|
|
3301
3301
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3302
|
-
var tmp_4 = this.
|
|
3302
|
+
var tmp_4 = this.p24();
|
|
3303
3303
|
var tmp$ret$1;
|
|
3304
3304
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3305
3305
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
3306
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
3306
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.f1j() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3307
3307
|
}
|
|
3308
3308
|
tmp$ret$1 = currentObject_0;
|
|
3309
3309
|
tmp$ret$2 = new JsonTreeMapDecoder(tmp_4, tmp$ret$1);
|
|
3310
3310
|
tmp_2 = tmp$ret$2;
|
|
3311
3311
|
} else {
|
|
3312
|
-
if (tmp0_selectMapMode.
|
|
3312
|
+
if (tmp0_selectMapMode.w22_1.e24_1) {
|
|
3313
3313
|
var tmp$ret$4;
|
|
3314
3314
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3315
|
-
var tmp_5 = this.
|
|
3315
|
+
var tmp_5 = this.p24();
|
|
3316
3316
|
var tmp$ret$3;
|
|
3317
3317
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3318
3318
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
3319
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
3319
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.f1j() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3320
3320
|
}
|
|
3321
3321
|
tmp$ret$3 = currentObject_0;
|
|
3322
3322
|
tmp$ret$4 = new JsonTreeListDecoder(tmp_5, tmp$ret$3);
|
|
@@ -3328,11 +3328,11 @@
|
|
|
3328
3328
|
tmp$ret$5 = tmp_2;
|
|
3329
3329
|
tmp = tmp$ret$5;
|
|
3330
3330
|
} else {
|
|
3331
|
-
var tmp_6 = this.
|
|
3331
|
+
var tmp_6 = this.p24();
|
|
3332
3332
|
var tmp$ret$6;
|
|
3333
3333
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3334
3334
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
3335
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
3335
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.f1j() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
3336
3336
|
}
|
|
3337
3337
|
tmp$ret$6 = currentObject_0;
|
|
3338
3338
|
var tmp_7 = tmp$ret$6;
|
|
@@ -3341,14 +3341,14 @@
|
|
|
3341
3341
|
}
|
|
3342
3342
|
return tmp;
|
|
3343
3343
|
};
|
|
3344
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3344
|
+
AbstractJsonTreeDecoder.prototype.r1l = function (descriptor) {
|
|
3345
3345
|
};
|
|
3346
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3346
|
+
AbstractJsonTreeDecoder.prototype.b1l = function () {
|
|
3347
3347
|
var tmp = currentObject(this);
|
|
3348
3348
|
return !(tmp instanceof JsonNull);
|
|
3349
3349
|
};
|
|
3350
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3351
|
-
var currentElement = this.
|
|
3350
|
+
AbstractJsonTreeDecoder.prototype.k2a = function (tag) {
|
|
3351
|
+
var currentElement = this.j2a(tag);
|
|
3352
3352
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
3353
3353
|
var tmp;
|
|
3354
3354
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -3358,25 +3358,25 @@
|
|
|
3358
3358
|
}
|
|
3359
3359
|
return tmp;
|
|
3360
3360
|
};
|
|
3361
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3362
|
-
var tmp = this.
|
|
3363
|
-
var tmp_0 = this.
|
|
3361
|
+
AbstractJsonTreeDecoder.prototype.l2a = function (tag, enumDescriptor) {
|
|
3362
|
+
var tmp = this.p24();
|
|
3363
|
+
var tmp_0 = this.k2a(tag).y24();
|
|
3364
3364
|
return getJsonNameIndexOrThrow$default(enumDescriptor, tmp, tmp_0, null, 4, null);
|
|
3365
3365
|
};
|
|
3366
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3367
|
-
return this.
|
|
3366
|
+
AbstractJsonTreeDecoder.prototype.y1z = function (tag, enumDescriptor) {
|
|
3367
|
+
return this.l2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3368
3368
|
};
|
|
3369
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3370
|
-
return !(this.
|
|
3369
|
+
AbstractJsonTreeDecoder.prototype.m2a = function (tag) {
|
|
3370
|
+
return !(this.j2a(tag) === JsonNull_getInstance());
|
|
3371
3371
|
};
|
|
3372
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3373
|
-
return this.
|
|
3372
|
+
AbstractJsonTreeDecoder.prototype.o1z = function (tag) {
|
|
3373
|
+
return this.m2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3374
3374
|
};
|
|
3375
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3376
|
-
var value = this.
|
|
3377
|
-
if (!this.
|
|
3375
|
+
AbstractJsonTreeDecoder.prototype.n2a = function (tag) {
|
|
3376
|
+
var value = this.k2a(tag);
|
|
3377
|
+
if (!this.p24().w22_1.d24_1) {
|
|
3378
3378
|
var literal = asLiteral(value, this, 'boolean');
|
|
3379
|
-
if (literal.
|
|
3379
|
+
if (literal.z24_1)
|
|
3380
3380
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3381
3381
|
}
|
|
3382
3382
|
var tmp$ret$1;
|
|
@@ -3412,14 +3412,14 @@
|
|
|
3412
3412
|
}
|
|
3413
3413
|
return tmp$ret$1;
|
|
3414
3414
|
};
|
|
3415
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3416
|
-
return this.
|
|
3415
|
+
AbstractJsonTreeDecoder.prototype.p1z = function (tag) {
|
|
3416
|
+
return this.n2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3417
3417
|
};
|
|
3418
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3418
|
+
AbstractJsonTreeDecoder.prototype.o2a = function (tag) {
|
|
3419
3419
|
var tmp$ret$1;
|
|
3420
3420
|
$l$block: {
|
|
3421
3421
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3422
|
-
var tmp0_primitive = this.
|
|
3422
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3423
3423
|
try {
|
|
3424
3424
|
var tmp$ret$0;
|
|
3425
3425
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
@@ -3451,14 +3451,14 @@
|
|
|
3451
3451
|
}
|
|
3452
3452
|
return tmp$ret$1;
|
|
3453
3453
|
};
|
|
3454
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3455
|
-
return this.
|
|
3454
|
+
AbstractJsonTreeDecoder.prototype.q1z = function (tag) {
|
|
3455
|
+
return this.o2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3456
3456
|
};
|
|
3457
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3457
|
+
AbstractJsonTreeDecoder.prototype.p2a = function (tag) {
|
|
3458
3458
|
var tmp$ret$1;
|
|
3459
3459
|
$l$block: {
|
|
3460
3460
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3461
|
-
var tmp0_primitive = this.
|
|
3461
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3462
3462
|
try {
|
|
3463
3463
|
var tmp$ret$0;
|
|
3464
3464
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
@@ -3490,14 +3490,14 @@
|
|
|
3490
3490
|
}
|
|
3491
3491
|
return tmp$ret$1;
|
|
3492
3492
|
};
|
|
3493
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3494
|
-
return this.
|
|
3493
|
+
AbstractJsonTreeDecoder.prototype.r1z = function (tag) {
|
|
3494
|
+
return this.p2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3495
3495
|
};
|
|
3496
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3496
|
+
AbstractJsonTreeDecoder.prototype.q2a = function (tag) {
|
|
3497
3497
|
var tmp$ret$1;
|
|
3498
3498
|
$l$block: {
|
|
3499
3499
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3500
|
-
var tmp0_primitive = this.
|
|
3500
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3501
3501
|
try {
|
|
3502
3502
|
var tmp$ret$0;
|
|
3503
3503
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
@@ -3521,14 +3521,14 @@
|
|
|
3521
3521
|
}
|
|
3522
3522
|
return tmp$ret$1;
|
|
3523
3523
|
};
|
|
3524
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3525
|
-
return this.
|
|
3524
|
+
AbstractJsonTreeDecoder.prototype.s1z = function (tag) {
|
|
3525
|
+
return this.q2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3526
3526
|
};
|
|
3527
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3527
|
+
AbstractJsonTreeDecoder.prototype.r2a = function (tag) {
|
|
3528
3528
|
var tmp$ret$1;
|
|
3529
3529
|
$l$block: {
|
|
3530
3530
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3531
|
-
var tmp0_primitive = this.
|
|
3531
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3532
3532
|
try {
|
|
3533
3533
|
var tmp$ret$0;
|
|
3534
3534
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
@@ -3552,14 +3552,14 @@
|
|
|
3552
3552
|
}
|
|
3553
3553
|
return tmp$ret$1;
|
|
3554
3554
|
};
|
|
3555
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3556
|
-
return this.
|
|
3555
|
+
AbstractJsonTreeDecoder.prototype.t1z = function (tag) {
|
|
3556
|
+
return this.r2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3557
3557
|
};
|
|
3558
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3558
|
+
AbstractJsonTreeDecoder.prototype.s2a = function (tag) {
|
|
3559
3559
|
var tmp$ret$1;
|
|
3560
3560
|
$l$block: {
|
|
3561
3561
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3562
|
-
var tmp0_primitive = this.
|
|
3562
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3563
3563
|
try {
|
|
3564
3564
|
var tmp$ret$0;
|
|
3565
3565
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
@@ -3582,19 +3582,19 @@
|
|
|
3582
3582
|
}
|
|
3583
3583
|
}
|
|
3584
3584
|
var result = tmp$ret$1;
|
|
3585
|
-
var specialFp = this.
|
|
3585
|
+
var specialFp = this.p24().w22_1.l24_1;
|
|
3586
3586
|
if (specialFp ? true : isFinite(result))
|
|
3587
3587
|
return result;
|
|
3588
3588
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3589
3589
|
};
|
|
3590
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3591
|
-
return this.
|
|
3590
|
+
AbstractJsonTreeDecoder.prototype.u1z = function (tag) {
|
|
3591
|
+
return this.s2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3592
3592
|
};
|
|
3593
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3593
|
+
AbstractJsonTreeDecoder.prototype.t2a = function (tag) {
|
|
3594
3594
|
var tmp$ret$1;
|
|
3595
3595
|
$l$block: {
|
|
3596
3596
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3597
|
-
var tmp0_primitive = this.
|
|
3597
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3598
3598
|
try {
|
|
3599
3599
|
var tmp$ret$0;
|
|
3600
3600
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
@@ -3617,23 +3617,23 @@
|
|
|
3617
3617
|
}
|
|
3618
3618
|
}
|
|
3619
3619
|
var result = tmp$ret$1;
|
|
3620
|
-
var specialFp = this.
|
|
3620
|
+
var specialFp = this.p24().w22_1.l24_1;
|
|
3621
3621
|
if (specialFp ? true : isFinite_0(result))
|
|
3622
3622
|
return result;
|
|
3623
3623
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3624
3624
|
};
|
|
3625
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3626
|
-
return this.
|
|
3625
|
+
AbstractJsonTreeDecoder.prototype.v1z = function (tag) {
|
|
3626
|
+
return this.t2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3627
3627
|
};
|
|
3628
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3628
|
+
AbstractJsonTreeDecoder.prototype.u2a = function (tag) {
|
|
3629
3629
|
var tmp$ret$1;
|
|
3630
3630
|
$l$block: {
|
|
3631
3631
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3632
|
-
var tmp0_primitive = this.
|
|
3632
|
+
var tmp0_primitive = this.k2a(tag);
|
|
3633
3633
|
try {
|
|
3634
3634
|
var tmp$ret$0;
|
|
3635
3635
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3636
|
-
tmp$ret$0 = single(tmp0_primitive.
|
|
3636
|
+
tmp$ret$0 = single(tmp0_primitive.y24());
|
|
3637
3637
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
3638
3638
|
var tmp;
|
|
3639
3639
|
var tmp_0 = tmp0_elvis_lhs;
|
|
@@ -3654,28 +3654,28 @@
|
|
|
3654
3654
|
}
|
|
3655
3655
|
return tmp$ret$1;
|
|
3656
3656
|
};
|
|
3657
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3658
|
-
return this.
|
|
3657
|
+
AbstractJsonTreeDecoder.prototype.w1z = function (tag) {
|
|
3658
|
+
return this.u2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3659
3659
|
};
|
|
3660
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3661
|
-
var value = this.
|
|
3662
|
-
if (!this.
|
|
3660
|
+
AbstractJsonTreeDecoder.prototype.v2a = function (tag) {
|
|
3661
|
+
var value = this.k2a(tag);
|
|
3662
|
+
if (!this.p24().w22_1.d24_1) {
|
|
3663
3663
|
var literal = asLiteral(value, this, 'string');
|
|
3664
|
-
if (!literal.
|
|
3664
|
+
if (!literal.z24_1)
|
|
3665
3665
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3666
3666
|
}
|
|
3667
3667
|
if (value instanceof JsonNull)
|
|
3668
3668
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
3669
|
-
return value.
|
|
3669
|
+
return value.y24();
|
|
3670
3670
|
};
|
|
3671
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3672
|
-
return this.
|
|
3671
|
+
AbstractJsonTreeDecoder.prototype.x1z = function (tag) {
|
|
3672
|
+
return this.v2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3673
3673
|
};
|
|
3674
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3675
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
3674
|
+
AbstractJsonTreeDecoder.prototype.w2a = function (tag, inlineDescriptor) {
|
|
3675
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.k2a(tag).y24()), this.p24()) : NamedValueDecoder.prototype.z1z.call(this, tag, inlineDescriptor);
|
|
3676
3676
|
};
|
|
3677
|
-
AbstractJsonTreeDecoder.prototype.
|
|
3678
|
-
return this.
|
|
3677
|
+
AbstractJsonTreeDecoder.prototype.z1z = function (tag, inlineDescriptor) {
|
|
3678
|
+
return this.w2a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3679
3679
|
};
|
|
3680
3680
|
AbstractJsonTreeDecoder.$metadata$ = classMeta('AbstractJsonTreeDecoder', [JsonDecoder], undefined, undefined, undefined, NamedValueDecoder.prototype);
|
|
3681
3681
|
function JsonTreeDecoder_init_$Init$(json, value, polyDiscriminator, polyDescriptor, $mask0, $marker, $this) {
|
|
@@ -3693,13 +3693,13 @@
|
|
|
3693
3693
|
var tmp$ret$1;
|
|
3694
3694
|
$l$block_1: {
|
|
3695
3695
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3696
|
-
var tmp0_tryCoerceValue = $this.
|
|
3697
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
3696
|
+
var tmp0_tryCoerceValue = $this.p24();
|
|
3697
|
+
var tmp1_tryCoerceValue = descriptor.z1j(index);
|
|
3698
3698
|
var tmp;
|
|
3699
|
-
if (!tmp1_tryCoerceValue.
|
|
3699
|
+
if (!tmp1_tryCoerceValue.q1j()) {
|
|
3700
3700
|
var tmp$ret$0;
|
|
3701
3701
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3702
|
-
var tmp_0 = $this.
|
|
3702
|
+
var tmp_0 = $this.j2a(tag);
|
|
3703
3703
|
tmp$ret$0 = tmp_0 instanceof JsonNull;
|
|
3704
3704
|
tmp = tmp$ret$0;
|
|
3705
3705
|
} else {
|
|
@@ -3709,10 +3709,10 @@
|
|
|
3709
3709
|
tmp$ret$1 = true;
|
|
3710
3710
|
break $l$block_1;
|
|
3711
3711
|
}
|
|
3712
|
-
if (equals(tmp1_tryCoerceValue.
|
|
3712
|
+
if (equals(tmp1_tryCoerceValue.x1j(), ENUM_getInstance())) {
|
|
3713
3713
|
var tmp$ret$2;
|
|
3714
3714
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3715
|
-
var tmp_1 = $this.
|
|
3715
|
+
var tmp_1 = $this.j2a(tag);
|
|
3716
3716
|
var tmp0_safe_receiver = tmp_1 instanceof JsonPrimitive ? tmp_1 : null;
|
|
3717
3717
|
tmp$ret$2 = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3718
3718
|
var tmp0_elvis_lhs = tmp$ret$2;
|
|
@@ -3739,8 +3739,8 @@
|
|
|
3739
3739
|
return tmp$ret$1;
|
|
3740
3740
|
}
|
|
3741
3741
|
function absenceIsNull($this, descriptor, index) {
|
|
3742
|
-
$this.
|
|
3743
|
-
return $this.
|
|
3742
|
+
$this.g2b_1 = (!$this.p24().w22_1.g24_1 ? !descriptor.c1k(index) : false) ? descriptor.z1j(index).q1j() : false;
|
|
3743
|
+
return $this.g2b_1;
|
|
3744
3744
|
}
|
|
3745
3745
|
function buildAlternativeNamesMap$ref_0($boundThis) {
|
|
3746
3746
|
var l = function () {
|
|
@@ -3751,23 +3751,23 @@
|
|
|
3751
3751
|
}
|
|
3752
3752
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3753
3753
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3754
|
-
this.
|
|
3755
|
-
this.
|
|
3756
|
-
this.
|
|
3757
|
-
this.
|
|
3758
|
-
this.
|
|
3754
|
+
this.c2b_1 = value;
|
|
3755
|
+
this.d2b_1 = polyDiscriminator;
|
|
3756
|
+
this.e2b_1 = polyDescriptor;
|
|
3757
|
+
this.f2b_1 = 0;
|
|
3758
|
+
this.g2b_1 = false;
|
|
3759
3759
|
}
|
|
3760
3760
|
JsonTreeDecoder.prototype.c2 = function () {
|
|
3761
|
-
return this.
|
|
3761
|
+
return this.c2b_1;
|
|
3762
3762
|
};
|
|
3763
|
-
JsonTreeDecoder.prototype.
|
|
3764
|
-
while (this.
|
|
3763
|
+
JsonTreeDecoder.prototype.g1m = function (descriptor) {
|
|
3764
|
+
while (this.f2b_1 < descriptor.v1j()) {
|
|
3765
3765
|
var tmp0_this = this;
|
|
3766
|
-
var tmp1 = tmp0_this.
|
|
3767
|
-
tmp0_this.
|
|
3768
|
-
var name = this.
|
|
3769
|
-
var index = this.
|
|
3770
|
-
this.
|
|
3766
|
+
var tmp1 = tmp0_this.f2b_1;
|
|
3767
|
+
tmp0_this.f2b_1 = tmp1 + 1 | 0;
|
|
3768
|
+
var name = this.g1z(descriptor, tmp1);
|
|
3769
|
+
var index = this.f2b_1 - 1 | 0;
|
|
3770
|
+
this.g2b_1 = false;
|
|
3771
3771
|
var tmp;
|
|
3772
3772
|
var tmp_0;
|
|
3773
3773
|
var tmp$ret$1;
|
|
@@ -3783,7 +3783,7 @@
|
|
|
3783
3783
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3784
3784
|
}
|
|
3785
3785
|
if (tmp_0) {
|
|
3786
|
-
tmp = !this.
|
|
3786
|
+
tmp = !this.i2a_1.i24_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3787
3787
|
} else {
|
|
3788
3788
|
tmp = false;
|
|
3789
3789
|
}
|
|
@@ -3794,18 +3794,18 @@
|
|
|
3794
3794
|
Companion_getInstance_0();
|
|
3795
3795
|
return -1;
|
|
3796
3796
|
};
|
|
3797
|
-
JsonTreeDecoder.prototype.
|
|
3798
|
-
return !this.
|
|
3797
|
+
JsonTreeDecoder.prototype.b1l = function () {
|
|
3798
|
+
return !this.g2b_1 ? AbstractJsonTreeDecoder.prototype.b1l.call(this) : false;
|
|
3799
3799
|
};
|
|
3800
|
-
JsonTreeDecoder.prototype.
|
|
3801
|
-
var mainName = desc.
|
|
3802
|
-
if (!this.
|
|
3800
|
+
JsonTreeDecoder.prototype.h1z = function (desc, index) {
|
|
3801
|
+
var mainName = desc.b1k(index);
|
|
3802
|
+
if (!this.i2a_1.m24_1)
|
|
3803
3803
|
return mainName;
|
|
3804
3804
|
if (this.c2().m2().r1(mainName))
|
|
3805
3805
|
return mainName;
|
|
3806
|
-
var tmp = get_schemaCache(this.
|
|
3806
|
+
var tmp = get_schemaCache(this.p24());
|
|
3807
3807
|
var tmp_0 = get_JsonAlternativeNamesKey();
|
|
3808
|
-
var alternativeNamesMap = tmp.
|
|
3808
|
+
var alternativeNamesMap = tmp.a27(desc, tmp_0, buildAlternativeNamesMap$ref_0(desc));
|
|
3809
3809
|
var tmp$ret$2;
|
|
3810
3810
|
// Inline function 'kotlin.collections.find' call
|
|
3811
3811
|
var tmp0_find = this.c2().m2();
|
|
@@ -3830,32 +3830,32 @@
|
|
|
3830
3830
|
var tmp0_elvis_lhs = nameInObject;
|
|
3831
3831
|
return tmp0_elvis_lhs == null ? mainName : tmp0_elvis_lhs;
|
|
3832
3832
|
};
|
|
3833
|
-
JsonTreeDecoder.prototype.
|
|
3833
|
+
JsonTreeDecoder.prototype.j2a = function (tag) {
|
|
3834
3834
|
return getValue(this.c2(), tag);
|
|
3835
3835
|
};
|
|
3836
|
-
JsonTreeDecoder.prototype.
|
|
3837
|
-
if (descriptor === this.
|
|
3836
|
+
JsonTreeDecoder.prototype.q1l = function (descriptor) {
|
|
3837
|
+
if (descriptor === this.e2b_1)
|
|
3838
3838
|
return this;
|
|
3839
|
-
return AbstractJsonTreeDecoder.prototype.
|
|
3839
|
+
return AbstractJsonTreeDecoder.prototype.q1l.call(this, descriptor);
|
|
3840
3840
|
};
|
|
3841
|
-
JsonTreeDecoder.prototype.
|
|
3841
|
+
JsonTreeDecoder.prototype.r1l = function (descriptor) {
|
|
3842
3842
|
var tmp;
|
|
3843
|
-
if (this.
|
|
3843
|
+
if (this.i2a_1.c24_1) {
|
|
3844
3844
|
tmp = true;
|
|
3845
3845
|
} else {
|
|
3846
|
-
var tmp_0 = descriptor.
|
|
3846
|
+
var tmp_0 = descriptor.x1j();
|
|
3847
3847
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3848
3848
|
}
|
|
3849
3849
|
if (tmp)
|
|
3850
3850
|
return Unit_getInstance();
|
|
3851
3851
|
var tmp_1;
|
|
3852
|
-
if (!this.
|
|
3852
|
+
if (!this.i2a_1.m24_1) {
|
|
3853
3853
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3854
3854
|
} else {
|
|
3855
3855
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3856
3856
|
var tmp$ret$0;
|
|
3857
3857
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3858
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3858
|
+
var tmp0_safe_receiver = get_schemaCache(this.p24()).j29(descriptor, get_JsonAlternativeNamesKey());
|
|
3859
3859
|
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m2();
|
|
3860
3860
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3861
3861
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3865,7 +3865,7 @@
|
|
|
3865
3865
|
var tmp1_iterator = this.c2().m2().f();
|
|
3866
3866
|
while (tmp1_iterator.g()) {
|
|
3867
3867
|
var key = tmp1_iterator.h();
|
|
3868
|
-
if (!names.r1(key) ? !(key === this.
|
|
3868
|
+
if (!names.r1(key) ? !(key === this.d2b_1) : false) {
|
|
3869
3869
|
throw UnknownKeyException(key, this.c2().toString());
|
|
3870
3870
|
}
|
|
3871
3871
|
}
|
|
@@ -3873,25 +3873,25 @@
|
|
|
3873
3873
|
JsonTreeDecoder.$metadata$ = classMeta('JsonTreeDecoder', undefined, undefined, undefined, undefined, AbstractJsonTreeDecoder.prototype);
|
|
3874
3874
|
function JsonTreeListDecoder(json, value) {
|
|
3875
3875
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3876
|
-
this.
|
|
3877
|
-
this.
|
|
3878
|
-
this.
|
|
3876
|
+
this.m2b_1 = value;
|
|
3877
|
+
this.n2b_1 = this.m2b_1.i();
|
|
3878
|
+
this.o2b_1 = -1;
|
|
3879
3879
|
}
|
|
3880
3880
|
JsonTreeListDecoder.prototype.c2 = function () {
|
|
3881
|
-
return this.
|
|
3881
|
+
return this.m2b_1;
|
|
3882
3882
|
};
|
|
3883
|
-
JsonTreeListDecoder.prototype.
|
|
3883
|
+
JsonTreeListDecoder.prototype.h1z = function (desc, index) {
|
|
3884
3884
|
return index.toString();
|
|
3885
3885
|
};
|
|
3886
|
-
JsonTreeListDecoder.prototype.
|
|
3887
|
-
return this.
|
|
3886
|
+
JsonTreeListDecoder.prototype.j2a = function (tag) {
|
|
3887
|
+
return this.m2b_1.j(toInt(tag));
|
|
3888
3888
|
};
|
|
3889
|
-
JsonTreeListDecoder.prototype.
|
|
3890
|
-
while (this.
|
|
3889
|
+
JsonTreeListDecoder.prototype.g1m = function (descriptor) {
|
|
3890
|
+
while (this.o2b_1 < (this.n2b_1 - 1 | 0)) {
|
|
3891
3891
|
var tmp0_this = this;
|
|
3892
|
-
var tmp1 = tmp0_this.
|
|
3893
|
-
tmp0_this.
|
|
3894
|
-
return this.
|
|
3892
|
+
var tmp1 = tmp0_this.o2b_1;
|
|
3893
|
+
tmp0_this.o2b_1 = tmp1 + 1 | 0;
|
|
3894
|
+
return this.o2b_1;
|
|
3895
3895
|
}
|
|
3896
3896
|
Companion_getInstance_0();
|
|
3897
3897
|
return -1;
|
|
@@ -3899,36 +3899,36 @@
|
|
|
3899
3899
|
JsonTreeListDecoder.$metadata$ = classMeta('JsonTreeListDecoder', undefined, undefined, undefined, undefined, AbstractJsonTreeDecoder.prototype);
|
|
3900
3900
|
function JsonTreeMapDecoder(json, value) {
|
|
3901
3901
|
JsonTreeDecoder_init_$Init$(json, value, null, null, 12, null, this);
|
|
3902
|
-
this.
|
|
3903
|
-
this.
|
|
3904
|
-
this.
|
|
3905
|
-
this.
|
|
3902
|
+
this.z2b_1 = value;
|
|
3903
|
+
this.a2c_1 = toList(this.z2b_1.m2());
|
|
3904
|
+
this.b2c_1 = imul(this.a2c_1.i(), 2);
|
|
3905
|
+
this.c2c_1 = -1;
|
|
3906
3906
|
}
|
|
3907
3907
|
JsonTreeMapDecoder.prototype.c2 = function () {
|
|
3908
|
-
return this.
|
|
3908
|
+
return this.z2b_1;
|
|
3909
3909
|
};
|
|
3910
|
-
JsonTreeMapDecoder.prototype.
|
|
3910
|
+
JsonTreeMapDecoder.prototype.h1z = function (desc, index) {
|
|
3911
3911
|
var i = index / 2 | 0;
|
|
3912
|
-
return this.
|
|
3912
|
+
return this.a2c_1.j(i);
|
|
3913
3913
|
};
|
|
3914
|
-
JsonTreeMapDecoder.prototype.
|
|
3915
|
-
while (this.
|
|
3914
|
+
JsonTreeMapDecoder.prototype.g1m = function (descriptor) {
|
|
3915
|
+
while (this.c2c_1 < (this.b2c_1 - 1 | 0)) {
|
|
3916
3916
|
var tmp0_this = this;
|
|
3917
|
-
var tmp1 = tmp0_this.
|
|
3918
|
-
tmp0_this.
|
|
3919
|
-
return this.
|
|
3917
|
+
var tmp1 = tmp0_this.c2c_1;
|
|
3918
|
+
tmp0_this.c2c_1 = tmp1 + 1 | 0;
|
|
3919
|
+
return this.c2c_1;
|
|
3920
3920
|
}
|
|
3921
3921
|
Companion_getInstance_0();
|
|
3922
3922
|
return -1;
|
|
3923
3923
|
};
|
|
3924
|
-
JsonTreeMapDecoder.prototype.
|
|
3925
|
-
return (this.
|
|
3924
|
+
JsonTreeMapDecoder.prototype.j2a = function (tag) {
|
|
3925
|
+
return (this.c2c_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.z2b_1, tag);
|
|
3926
3926
|
};
|
|
3927
|
-
JsonTreeMapDecoder.prototype.
|
|
3927
|
+
JsonTreeMapDecoder.prototype.r1l = function (descriptor) {
|
|
3928
3928
|
};
|
|
3929
3929
|
JsonTreeMapDecoder.$metadata$ = classMeta('JsonTreeMapDecoder', undefined, undefined, undefined, undefined, JsonTreeDecoder.prototype);
|
|
3930
3930
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3931
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3931
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.i1i())).p1l(deserializer);
|
|
3932
3932
|
}
|
|
3933
3933
|
var WriteMode_OBJ_instance;
|
|
3934
3934
|
var WriteMode_LIST_instance;
|
|
@@ -3949,12 +3949,12 @@
|
|
|
3949
3949
|
}
|
|
3950
3950
|
function WriteMode(name, ordinal, begin, end) {
|
|
3951
3951
|
Enum.call(this, name, ordinal);
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3952
|
+
this.x29_1 = begin;
|
|
3953
|
+
this.y29_1 = end;
|
|
3954
3954
|
}
|
|
3955
3955
|
WriteMode.$metadata$ = classMeta('WriteMode', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
3956
3956
|
function switchMode(_this__u8e3s4, desc) {
|
|
3957
|
-
var tmp0_subject = desc.
|
|
3957
|
+
var tmp0_subject = desc.x1j();
|
|
3958
3958
|
var tmp;
|
|
3959
3959
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3960
3960
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3965,8 +3965,8 @@
|
|
|
3965
3965
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3966
3966
|
var tmp$ret$2;
|
|
3967
3967
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3968
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3969
|
-
var keyKind = keyDescriptor.
|
|
3968
|
+
var keyDescriptor = carrierDescriptor(desc.z1j(0), _this__u8e3s4.k1j());
|
|
3969
|
+
var keyKind = keyDescriptor.x1j();
|
|
3970
3970
|
var tmp_0;
|
|
3971
3971
|
var tmp_1;
|
|
3972
3972
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3980,7 +3980,7 @@
|
|
|
3980
3980
|
tmp$ret$0 = WriteMode_MAP_getInstance();
|
|
3981
3981
|
tmp_0 = tmp$ret$0;
|
|
3982
3982
|
} else {
|
|
3983
|
-
if (_this__u8e3s4.
|
|
3983
|
+
if (_this__u8e3s4.w22_1.e24_1) {
|
|
3984
3984
|
var tmp$ret$1;
|
|
3985
3985
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3986
3986
|
tmp$ret$1 = WriteMode_LIST_getInstance();
|
|
@@ -3999,8 +3999,8 @@
|
|
|
3999
3999
|
return tmp;
|
|
4000
4000
|
}
|
|
4001
4001
|
function selectMapMode(_this__u8e3s4, mapDescriptor, ifMap, ifList) {
|
|
4002
|
-
var keyDescriptor = carrierDescriptor(mapDescriptor.
|
|
4003
|
-
var keyKind = keyDescriptor.
|
|
4002
|
+
var keyDescriptor = carrierDescriptor(mapDescriptor.z1j(0), _this__u8e3s4.k1j());
|
|
4003
|
+
var keyKind = keyDescriptor.x1j();
|
|
4004
4004
|
var tmp;
|
|
4005
4005
|
var tmp_0;
|
|
4006
4006
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -4011,7 +4011,7 @@
|
|
|
4011
4011
|
if (tmp_0) {
|
|
4012
4012
|
tmp = ifMap();
|
|
4013
4013
|
} else {
|
|
4014
|
-
if (_this__u8e3s4.
|
|
4014
|
+
if (_this__u8e3s4.w22_1.e24_1) {
|
|
4015
4015
|
tmp = ifList();
|
|
4016
4016
|
} else {
|
|
4017
4017
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4021,12 +4021,12 @@
|
|
|
4021
4021
|
}
|
|
4022
4022
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
4023
4023
|
var tmp;
|
|
4024
|
-
if (equals(_this__u8e3s4.
|
|
4024
|
+
if (equals(_this__u8e3s4.x1j(), CONTEXTUAL_getInstance())) {
|
|
4025
4025
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
4026
4026
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
4027
4027
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
4028
|
-
} else if (_this__u8e3s4.
|
|
4029
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
4028
|
+
} else if (_this__u8e3s4.w1j()) {
|
|
4029
|
+
tmp = carrierDescriptor(_this__u8e3s4.z1j(0), module_0);
|
|
4030
4030
|
} else {
|
|
4031
4031
|
tmp = _this__u8e3s4;
|
|
4032
4032
|
}
|
|
@@ -4049,40 +4049,40 @@
|
|
|
4049
4049
|
return WriteMode_POLY_OBJ_instance;
|
|
4050
4050
|
}
|
|
4051
4051
|
function appendEscape($this, lastPosition, current) {
|
|
4052
|
-
$this.
|
|
4052
|
+
$this.d2c(lastPosition, current);
|
|
4053
4053
|
return appendEsc($this, current + 1 | 0);
|
|
4054
4054
|
}
|
|
4055
4055
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4056
|
-
$this.
|
|
4057
|
-
var result = $this.
|
|
4058
|
-
$this.
|
|
4056
|
+
$this.d2c(lastPosition, currentPosition);
|
|
4057
|
+
var result = $this.m23_1.toString();
|
|
4058
|
+
$this.m23_1.th(0);
|
|
4059
4059
|
return result;
|
|
4060
4060
|
}
|
|
4061
4061
|
function takePeeked($this) {
|
|
4062
4062
|
var tmp$ret$0;
|
|
4063
4063
|
// Inline function 'kotlin.also' call
|
|
4064
|
-
var tmp0_also = ensureNotNull($this.
|
|
4064
|
+
var tmp0_also = ensureNotNull($this.l23_1);
|
|
4065
4065
|
// Inline function 'kotlin.contracts.contract' call
|
|
4066
4066
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
4067
|
-
$this.
|
|
4067
|
+
$this.l23_1 = null;
|
|
4068
4068
|
tmp$ret$0 = tmp0_also;
|
|
4069
4069
|
return tmp$ret$0;
|
|
4070
4070
|
}
|
|
4071
4071
|
function wasUnquotedString($this) {
|
|
4072
|
-
return !equals(new Char(charSequenceGet($this.
|
|
4072
|
+
return !equals(new Char(charSequenceGet($this.e2c(), $this.j23_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34)));
|
|
4073
4073
|
}
|
|
4074
4074
|
function appendEsc($this, startPosition) {
|
|
4075
4075
|
var currentPosition = startPosition;
|
|
4076
|
-
currentPosition = $this.
|
|
4076
|
+
currentPosition = $this.f2c(currentPosition);
|
|
4077
4077
|
if (currentPosition === -1) {
|
|
4078
|
-
$this.
|
|
4078
|
+
$this.y26('Expected escape sequence to continue, got EOF', 0, null, 6, null);
|
|
4079
4079
|
}
|
|
4080
|
-
var tmp = $this.
|
|
4080
|
+
var tmp = $this.e2c();
|
|
4081
4081
|
var tmp0 = currentPosition;
|
|
4082
4082
|
currentPosition = tmp0 + 1 | 0;
|
|
4083
4083
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
4084
4084
|
if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
4085
|
-
return appendHex($this, $this.
|
|
4085
|
+
return appendHex($this, $this.e2c(), currentPosition);
|
|
4086
4086
|
}
|
|
4087
4087
|
var tmp$ret$0;
|
|
4088
4088
|
// Inline function 'kotlin.code' call
|
|
@@ -4090,21 +4090,21 @@
|
|
|
4090
4090
|
var c = escapeToChar(tmp$ret$0);
|
|
4091
4091
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) {
|
|
4092
4092
|
var tmp_0 = "Invalid escaped char '" + new Char(currentChar) + "'";
|
|
4093
|
-
$this.
|
|
4093
|
+
$this.y26(tmp_0, 0, null, 6, null);
|
|
4094
4094
|
}
|
|
4095
|
-
$this.
|
|
4095
|
+
$this.m23_1.g7(c);
|
|
4096
4096
|
return currentPosition;
|
|
4097
4097
|
}
|
|
4098
4098
|
function appendHex($this, source, startPos) {
|
|
4099
4099
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4100
|
-
$this.
|
|
4101
|
-
$this.
|
|
4102
|
-
if (($this.
|
|
4103
|
-
$this.
|
|
4100
|
+
$this.j23_1 = startPos;
|
|
4101
|
+
$this.g2c();
|
|
4102
|
+
if (($this.j23_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4103
|
+
$this.y26('Unexpected EOF during unicode escape', 0, null, 6, null);
|
|
4104
4104
|
}
|
|
4105
|
-
return appendHex($this, source, $this.
|
|
4105
|
+
return appendHex($this, source, $this.j23_1);
|
|
4106
4106
|
}
|
|
4107
|
-
$this.
|
|
4107
|
+
$this.m23_1.g7(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));
|
|
4108
4108
|
return startPos + 4 | 0;
|
|
4109
4109
|
}
|
|
4110
4110
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4139,18 +4139,18 @@
|
|
|
4139
4139
|
tmp = (tmp_2 - tmp$ret$5 | 0) + 10 | 0;
|
|
4140
4140
|
} else {
|
|
4141
4141
|
var tmp_3 = "Invalid toHexChar char '" + new Char(character) + "' in unicode escape";
|
|
4142
|
-
$this.
|
|
4142
|
+
$this.y26(tmp_3, 0, null, 6, null);
|
|
4143
4143
|
}
|
|
4144
4144
|
return tmp;
|
|
4145
4145
|
}
|
|
4146
4146
|
function consumeBoolean($this, start) {
|
|
4147
|
-
var current = $this.
|
|
4148
|
-
if (current >= charSequenceLength($this.
|
|
4149
|
-
$this.
|
|
4147
|
+
var current = $this.f2c(start);
|
|
4148
|
+
if (current >= charSequenceLength($this.e2c()) ? true : current === -1) {
|
|
4149
|
+
$this.y26('EOF', 0, null, 6, null);
|
|
4150
4150
|
}
|
|
4151
4151
|
var tmp$ret$0;
|
|
4152
4152
|
// Inline function 'kotlin.code' call
|
|
4153
|
-
var tmp = $this.
|
|
4153
|
+
var tmp = $this.e2c();
|
|
4154
4154
|
var tmp0 = current;
|
|
4155
4155
|
current = tmp0 + 1 | 0;
|
|
4156
4156
|
var tmp0__get_code__88qj9g = charSequenceGet(tmp, tmp0);
|
|
@@ -4171,15 +4171,15 @@
|
|
|
4171
4171
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4172
4172
|
tmp_0 = false;
|
|
4173
4173
|
} else {
|
|
4174
|
-
var tmp_1 = "Expected valid boolean literal prefix, but had '" + $this.
|
|
4175
|
-
$this.
|
|
4174
|
+
var tmp_1 = "Expected valid boolean literal prefix, but had '" + $this.a28() + "'";
|
|
4175
|
+
$this.y26(tmp_1, 0, null, 6, null);
|
|
4176
4176
|
}
|
|
4177
4177
|
}
|
|
4178
4178
|
return tmp_0;
|
|
4179
4179
|
}
|
|
4180
4180
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4181
|
-
if ((charSequenceLength($this.
|
|
4182
|
-
$this.
|
|
4181
|
+
if ((charSequenceLength($this.e2c()) - current | 0) < literalSuffix.length) {
|
|
4182
|
+
$this.y26('Unexpected end of boolean literal', 0, null, 6, null);
|
|
4183
4183
|
}
|
|
4184
4184
|
var inductionVariable = 0;
|
|
4185
4185
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4188,7 +4188,7 @@
|
|
|
4188
4188
|
var i = inductionVariable;
|
|
4189
4189
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4190
4190
|
var expected = charSequenceGet(literalSuffix, i);
|
|
4191
|
-
var actual = charSequenceGet($this.
|
|
4191
|
+
var actual = charSequenceGet($this.e2c(), current + i | 0);
|
|
4192
4192
|
var tmp$ret$0;
|
|
4193
4193
|
// Inline function 'kotlin.code' call
|
|
4194
4194
|
tmp$ret$0 = Char__toInt_impl_vasixd(expected);
|
|
@@ -4197,45 +4197,45 @@
|
|
|
4197
4197
|
// Inline function 'kotlin.code' call
|
|
4198
4198
|
tmp$ret$1 = Char__toInt_impl_vasixd(actual);
|
|
4199
4199
|
if (!(tmp === (tmp$ret$1 | 32))) {
|
|
4200
|
-
var tmp_0 = "Expected valid boolean literal prefix, but had '" + $this.
|
|
4201
|
-
$this.
|
|
4200
|
+
var tmp_0 = "Expected valid boolean literal prefix, but had '" + $this.a28() + "'";
|
|
4201
|
+
$this.y26(tmp_0, 0, null, 6, null);
|
|
4202
4202
|
}
|
|
4203
4203
|
}
|
|
4204
4204
|
while (inductionVariable <= last);
|
|
4205
|
-
$this.
|
|
4205
|
+
$this.j23_1 = current + literalSuffix.length | 0;
|
|
4206
4206
|
}
|
|
4207
4207
|
function AbstractJsonLexer() {
|
|
4208
|
-
this.
|
|
4209
|
-
this.
|
|
4210
|
-
this.
|
|
4211
|
-
this.
|
|
4208
|
+
this.j23_1 = 0;
|
|
4209
|
+
this.k23_1 = new JsonPath();
|
|
4210
|
+
this.l23_1 = null;
|
|
4211
|
+
this.m23_1 = StringBuilder_init_$Create$();
|
|
4212
4212
|
}
|
|
4213
|
-
AbstractJsonLexer.prototype.
|
|
4213
|
+
AbstractJsonLexer.prototype.g2c = function () {
|
|
4214
4214
|
};
|
|
4215
|
-
AbstractJsonLexer.prototype.
|
|
4215
|
+
AbstractJsonLexer.prototype.h2c = function (c) {
|
|
4216
4216
|
var tmp0_subject = c;
|
|
4217
4217
|
return (((equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(125))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(93)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(58)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(44)))) ? false : true;
|
|
4218
4218
|
};
|
|
4219
|
-
AbstractJsonLexer.prototype.
|
|
4220
|
-
var nextToken = this.
|
|
4219
|
+
AbstractJsonLexer.prototype.n23 = function () {
|
|
4220
|
+
var nextToken = this.c28();
|
|
4221
4221
|
if (!(nextToken === 10)) {
|
|
4222
|
-
var tmp = 'Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.
|
|
4223
|
-
this.
|
|
4222
|
+
var tmp = 'Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.e2c(), this.j23_1 - 1 | 0)) + ' instead';
|
|
4223
|
+
this.y26(tmp, 0, null, 6, null);
|
|
4224
4224
|
}
|
|
4225
4225
|
};
|
|
4226
|
-
AbstractJsonLexer.prototype.
|
|
4227
|
-
var token = this.
|
|
4226
|
+
AbstractJsonLexer.prototype.w27 = function (expected) {
|
|
4227
|
+
var token = this.c28();
|
|
4228
4228
|
if (!(token === expected)) {
|
|
4229
|
-
this.
|
|
4229
|
+
this.i2c(expected);
|
|
4230
4230
|
}
|
|
4231
4231
|
return token;
|
|
4232
4232
|
};
|
|
4233
|
-
AbstractJsonLexer.prototype.
|
|
4234
|
-
this.
|
|
4235
|
-
var source = this.
|
|
4236
|
-
var cpos = this.
|
|
4233
|
+
AbstractJsonLexer.prototype.l29 = function (expected) {
|
|
4234
|
+
this.g2c();
|
|
4235
|
+
var source = this.e2c();
|
|
4236
|
+
var cpos = this.j23_1;
|
|
4237
4237
|
$l$loop_0: while (true) {
|
|
4238
|
-
cpos = this.
|
|
4238
|
+
cpos = this.f2c(cpos);
|
|
4239
4239
|
if (cpos === -1)
|
|
4240
4240
|
break $l$loop_0;
|
|
4241
4241
|
var tmp0 = cpos;
|
|
@@ -4243,35 +4243,35 @@
|
|
|
4243
4243
|
var c = charSequenceGet(source, tmp0);
|
|
4244
4244
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4245
4245
|
continue $l$loop_0;
|
|
4246
|
-
this.
|
|
4246
|
+
this.j23_1 = cpos;
|
|
4247
4247
|
if (equals(new Char(c), new Char(expected)))
|
|
4248
4248
|
return Unit_getInstance();
|
|
4249
|
-
this.
|
|
4249
|
+
this.j2c(expected);
|
|
4250
4250
|
}
|
|
4251
|
-
this.
|
|
4252
|
-
this.
|
|
4251
|
+
this.j23_1 = cpos;
|
|
4252
|
+
this.j2c(expected);
|
|
4253
4253
|
};
|
|
4254
|
-
AbstractJsonLexer.prototype.
|
|
4254
|
+
AbstractJsonLexer.prototype.j2c = function (expected) {
|
|
4255
4255
|
var tmp0_this = this;
|
|
4256
|
-
tmp0_this.
|
|
4257
|
-
if ((this.
|
|
4258
|
-
this.
|
|
4256
|
+
tmp0_this.j23_1 = tmp0_this.j23_1 - 1 | 0;
|
|
4257
|
+
if ((this.j23_1 >= 0 ? equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) : false) ? this.a28() === 'null' : false) {
|
|
4258
|
+
this.k2c("Expected string literal but 'null' literal was found", this.j23_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
4259
4259
|
}
|
|
4260
|
-
this.
|
|
4260
|
+
this.i2c(charToTokenClass(expected));
|
|
4261
4261
|
};
|
|
4262
|
-
AbstractJsonLexer.prototype.
|
|
4262
|
+
AbstractJsonLexer.prototype.i2c = function (expectedToken) {
|
|
4263
4263
|
var tmp0_subject = expectedToken;
|
|
4264
4264
|
var expected = tmp0_subject === 1 ? "quotation mark '\"'" : tmp0_subject === 4 ? "comma ','" : tmp0_subject === 5 ? "colon ':'" : tmp0_subject === 6 ? "start of the object '{'" : tmp0_subject === 7 ? "end of the object '}'" : tmp0_subject === 8 ? "start of the array '['" : tmp0_subject === 9 ? "end of the array ']'" : 'valid token';
|
|
4265
|
-
var s = (this.
|
|
4265
|
+
var s = (this.j23_1 === charSequenceLength(this.e2c()) ? true : this.j23_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.e2c(), this.j23_1 - 1 | 0));
|
|
4266
4266
|
var tmp = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
4267
|
-
var tmp_0 = this.
|
|
4268
|
-
this.
|
|
4267
|
+
var tmp_0 = this.j23_1 - 1 | 0;
|
|
4268
|
+
this.y26(tmp, tmp_0, null, 4, null);
|
|
4269
4269
|
};
|
|
4270
|
-
AbstractJsonLexer.prototype.
|
|
4271
|
-
var source = this.
|
|
4272
|
-
var cpos = this.
|
|
4270
|
+
AbstractJsonLexer.prototype.x27 = function () {
|
|
4271
|
+
var source = this.e2c();
|
|
4272
|
+
var cpos = this.j23_1;
|
|
4273
4273
|
$l$loop_0: while (true) {
|
|
4274
|
-
cpos = this.
|
|
4274
|
+
cpos = this.f2c(cpos);
|
|
4275
4275
|
if (cpos === -1)
|
|
4276
4276
|
break $l$loop_0;
|
|
4277
4277
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4279,16 +4279,16 @@
|
|
|
4279
4279
|
cpos = cpos + 1 | 0;
|
|
4280
4280
|
continue $l$loop_0;
|
|
4281
4281
|
}
|
|
4282
|
-
this.
|
|
4282
|
+
this.j23_1 = cpos;
|
|
4283
4283
|
return charToTokenClass(ch);
|
|
4284
4284
|
}
|
|
4285
|
-
this.
|
|
4285
|
+
this.j23_1 = cpos;
|
|
4286
4286
|
return 10;
|
|
4287
4287
|
};
|
|
4288
|
-
AbstractJsonLexer.prototype.
|
|
4289
|
-
var current = this.
|
|
4290
|
-
current = this.
|
|
4291
|
-
var len = charSequenceLength(this.
|
|
4288
|
+
AbstractJsonLexer.prototype.n29 = function () {
|
|
4289
|
+
var current = this.l2c();
|
|
4290
|
+
current = this.f2c(current);
|
|
4291
|
+
var len = charSequenceLength(this.e2c()) - current | 0;
|
|
4292
4292
|
if (len < 4 ? true : current === -1)
|
|
4293
4293
|
return true;
|
|
4294
4294
|
var inductionVariable = 0;
|
|
@@ -4296,59 +4296,59 @@
|
|
|
4296
4296
|
do {
|
|
4297
4297
|
var i = inductionVariable;
|
|
4298
4298
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4299
|
-
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.
|
|
4299
|
+
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.e2c(), current + i | 0))))
|
|
4300
4300
|
return true;
|
|
4301
4301
|
}
|
|
4302
4302
|
while (inductionVariable <= 3);
|
|
4303
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
4303
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.e2c(), current + 4 | 0)) === 0 : false)
|
|
4304
4304
|
return true;
|
|
4305
|
-
this.
|
|
4305
|
+
this.j23_1 = current + 4 | 0;
|
|
4306
4306
|
return false;
|
|
4307
4307
|
};
|
|
4308
|
-
AbstractJsonLexer.prototype.
|
|
4309
|
-
var current = this.
|
|
4308
|
+
AbstractJsonLexer.prototype.l2c = function () {
|
|
4309
|
+
var current = this.j23_1;
|
|
4310
4310
|
$l$loop_0: while (true) {
|
|
4311
|
-
current = this.
|
|
4311
|
+
current = this.f2c(current);
|
|
4312
4312
|
if (current === -1)
|
|
4313
4313
|
break $l$loop_0;
|
|
4314
|
-
var c = charSequenceGet(this.
|
|
4314
|
+
var c = charSequenceGet(this.e2c(), current);
|
|
4315
4315
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4316
4316
|
current = current + 1 | 0;
|
|
4317
4317
|
} else {
|
|
4318
4318
|
break $l$loop_0;
|
|
4319
4319
|
}
|
|
4320
4320
|
}
|
|
4321
|
-
this.
|
|
4321
|
+
this.j23_1 = current;
|
|
4322
4322
|
return current;
|
|
4323
4323
|
};
|
|
4324
|
-
AbstractJsonLexer.prototype.
|
|
4325
|
-
var token = this.
|
|
4324
|
+
AbstractJsonLexer.prototype.o29 = function (isLenient) {
|
|
4325
|
+
var token = this.x27();
|
|
4326
4326
|
var tmp;
|
|
4327
4327
|
if (isLenient) {
|
|
4328
4328
|
if (!(token === 1) ? !(token === 0) : false)
|
|
4329
4329
|
return null;
|
|
4330
|
-
tmp = this.
|
|
4330
|
+
tmp = this.a28();
|
|
4331
4331
|
} else {
|
|
4332
4332
|
if (!(token === 1))
|
|
4333
4333
|
return null;
|
|
4334
|
-
tmp = this.
|
|
4334
|
+
tmp = this.z27();
|
|
4335
4335
|
}
|
|
4336
4336
|
var string = tmp;
|
|
4337
|
-
this.
|
|
4337
|
+
this.l23_1 = string;
|
|
4338
4338
|
return string;
|
|
4339
4339
|
};
|
|
4340
|
-
AbstractJsonLexer.prototype.
|
|
4340
|
+
AbstractJsonLexer.prototype.m2c = function (startPos, endPos) {
|
|
4341
4341
|
var tmp$ret$0;
|
|
4342
4342
|
// Inline function 'kotlin.text.substring' call
|
|
4343
|
-
var tmp0_substring = this.
|
|
4343
|
+
var tmp0_substring = this.e2c();
|
|
4344
4344
|
tmp$ret$0 = toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
4345
4345
|
return tmp$ret$0;
|
|
4346
4346
|
};
|
|
4347
|
-
AbstractJsonLexer.prototype.
|
|
4348
|
-
if (!(this.
|
|
4347
|
+
AbstractJsonLexer.prototype.z27 = function () {
|
|
4348
|
+
if (!(this.l23_1 == null)) {
|
|
4349
4349
|
return takePeeked(this);
|
|
4350
4350
|
}
|
|
4351
|
-
return this.
|
|
4351
|
+
return this.r29();
|
|
4352
4352
|
};
|
|
4353
4353
|
AbstractJsonLexer.prototype.consumeString2 = function (source, startPosition, current) {
|
|
4354
4354
|
var currentPosition = current;
|
|
@@ -4358,21 +4358,21 @@
|
|
|
4358
4358
|
while (!equals(new Char(char), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4359
4359
|
if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
4360
4360
|
usedAppend = true;
|
|
4361
|
-
currentPosition = this.
|
|
4361
|
+
currentPosition = this.f2c(appendEscape(this, lastPosition, currentPosition));
|
|
4362
4362
|
if (currentPosition === -1) {
|
|
4363
4363
|
var tmp = currentPosition;
|
|
4364
|
-
this.
|
|
4364
|
+
this.y26('EOF', tmp, null, 4, null);
|
|
4365
4365
|
}
|
|
4366
4366
|
lastPosition = currentPosition;
|
|
4367
4367
|
} else {
|
|
4368
4368
|
currentPosition = currentPosition + 1 | 0;
|
|
4369
4369
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4370
4370
|
usedAppend = true;
|
|
4371
|
-
this.
|
|
4372
|
-
currentPosition = this.
|
|
4371
|
+
this.d2c(lastPosition, currentPosition);
|
|
4372
|
+
currentPosition = this.f2c(currentPosition);
|
|
4373
4373
|
if (currentPosition === -1) {
|
|
4374
4374
|
var tmp_0 = currentPosition;
|
|
4375
|
-
this.
|
|
4375
|
+
this.y26('EOF', tmp_0, null, 4, null);
|
|
4376
4376
|
}
|
|
4377
4377
|
lastPosition = currentPosition;
|
|
4378
4378
|
}
|
|
@@ -4381,47 +4381,47 @@
|
|
|
4381
4381
|
}
|
|
4382
4382
|
var tmp_1;
|
|
4383
4383
|
if (!usedAppend) {
|
|
4384
|
-
tmp_1 = this.
|
|
4384
|
+
tmp_1 = this.m2c(lastPosition, currentPosition);
|
|
4385
4385
|
} else {
|
|
4386
4386
|
tmp_1 = decodedString(this, lastPosition, currentPosition);
|
|
4387
4387
|
}
|
|
4388
4388
|
var string = tmp_1;
|
|
4389
|
-
this.
|
|
4389
|
+
this.j23_1 = currentPosition + 1 | 0;
|
|
4390
4390
|
return string;
|
|
4391
4391
|
};
|
|
4392
|
-
AbstractJsonLexer.prototype.
|
|
4393
|
-
var result = this.
|
|
4392
|
+
AbstractJsonLexer.prototype.s29 = function () {
|
|
4393
|
+
var result = this.a28();
|
|
4394
4394
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
4395
|
-
this.
|
|
4395
|
+
this.y26("Unexpected 'null' value instead of string literal", 0, null, 6, null);
|
|
4396
4396
|
}
|
|
4397
4397
|
return result;
|
|
4398
4398
|
};
|
|
4399
|
-
AbstractJsonLexer.prototype.
|
|
4400
|
-
if (!(this.
|
|
4399
|
+
AbstractJsonLexer.prototype.a28 = function () {
|
|
4400
|
+
if (!(this.l23_1 == null)) {
|
|
4401
4401
|
return takePeeked(this);
|
|
4402
4402
|
}
|
|
4403
|
-
var current = this.
|
|
4404
|
-
if (current >= charSequenceLength(this.
|
|
4403
|
+
var current = this.l2c();
|
|
4404
|
+
if (current >= charSequenceLength(this.e2c()) ? true : current === -1) {
|
|
4405
4405
|
var tmp = current;
|
|
4406
|
-
this.
|
|
4406
|
+
this.y26('EOF', tmp, null, 4, null);
|
|
4407
4407
|
}
|
|
4408
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4408
|
+
var token = charToTokenClass(charSequenceGet(this.e2c(), current));
|
|
4409
4409
|
if (token === 1) {
|
|
4410
|
-
return this.
|
|
4410
|
+
return this.z27();
|
|
4411
4411
|
}
|
|
4412
4412
|
if (!(token === 0)) {
|
|
4413
|
-
var tmp_0 = 'Expected beginning of the string, but got ' + new Char(charSequenceGet(this.
|
|
4414
|
-
this.
|
|
4413
|
+
var tmp_0 = 'Expected beginning of the string, but got ' + new Char(charSequenceGet(this.e2c(), current));
|
|
4414
|
+
this.y26(tmp_0, 0, null, 6, null);
|
|
4415
4415
|
}
|
|
4416
4416
|
var usedAppend = false;
|
|
4417
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4417
|
+
while (charToTokenClass(charSequenceGet(this.e2c(), current)) === 0) {
|
|
4418
4418
|
current = current + 1 | 0;
|
|
4419
|
-
if (current >= charSequenceLength(this.
|
|
4419
|
+
if (current >= charSequenceLength(this.e2c())) {
|
|
4420
4420
|
usedAppend = true;
|
|
4421
|
-
this.
|
|
4422
|
-
var eof = this.
|
|
4421
|
+
this.d2c(this.j23_1, current);
|
|
4422
|
+
var eof = this.f2c(current);
|
|
4423
4423
|
if (eof === -1) {
|
|
4424
|
-
this.
|
|
4424
|
+
this.j23_1 = current;
|
|
4425
4425
|
return decodedString(this, 0, 0);
|
|
4426
4426
|
} else {
|
|
4427
4427
|
current = eof;
|
|
@@ -4430,40 +4430,40 @@
|
|
|
4430
4430
|
}
|
|
4431
4431
|
var tmp_1;
|
|
4432
4432
|
if (!usedAppend) {
|
|
4433
|
-
tmp_1 = this.
|
|
4433
|
+
tmp_1 = this.m2c(this.j23_1, current);
|
|
4434
4434
|
} else {
|
|
4435
|
-
tmp_1 = decodedString(this, this.
|
|
4435
|
+
tmp_1 = decodedString(this, this.j23_1, current);
|
|
4436
4436
|
}
|
|
4437
4437
|
var result = tmp_1;
|
|
4438
|
-
this.
|
|
4438
|
+
this.j23_1 = current;
|
|
4439
4439
|
return result;
|
|
4440
4440
|
};
|
|
4441
|
-
AbstractJsonLexer.prototype.
|
|
4442
|
-
this.
|
|
4441
|
+
AbstractJsonLexer.prototype.d2c = function (fromIndex, toIndex) {
|
|
4442
|
+
this.m23_1.sh(this.e2c(), fromIndex, toIndex);
|
|
4443
4443
|
};
|
|
4444
|
-
AbstractJsonLexer.prototype.
|
|
4444
|
+
AbstractJsonLexer.prototype.n2c = function (condition, position, message) {
|
|
4445
4445
|
if (!condition) {
|
|
4446
4446
|
var tmp = message();
|
|
4447
|
-
this.
|
|
4447
|
+
this.y26(tmp, position, null, 4, null);
|
|
4448
4448
|
}
|
|
4449
4449
|
};
|
|
4450
|
-
AbstractJsonLexer.prototype.
|
|
4450
|
+
AbstractJsonLexer.prototype.q29 = function (allowLenientStrings) {
|
|
4451
4451
|
var tmp$ret$0;
|
|
4452
4452
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4453
4453
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
4454
4454
|
var tokenStack = tmp$ret$0;
|
|
4455
|
-
var lastToken = this.
|
|
4455
|
+
var lastToken = this.x27();
|
|
4456
4456
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
4457
|
-
this.
|
|
4457
|
+
this.a28();
|
|
4458
4458
|
return Unit_getInstance();
|
|
4459
4459
|
}
|
|
4460
4460
|
$l$loop: while (true) {
|
|
4461
|
-
lastToken = this.
|
|
4461
|
+
lastToken = this.x27();
|
|
4462
4462
|
if (lastToken === 1) {
|
|
4463
4463
|
if (allowLenientStrings) {
|
|
4464
|
-
this.
|
|
4464
|
+
this.a28();
|
|
4465
4465
|
} else {
|
|
4466
|
-
this.
|
|
4466
|
+
this.r29();
|
|
4467
4467
|
}
|
|
4468
4468
|
continue $l$loop;
|
|
4469
4469
|
}
|
|
@@ -4472,29 +4472,29 @@
|
|
|
4472
4472
|
tokenStack.a(lastToken);
|
|
4473
4473
|
} else if (tmp0_subject === 9) {
|
|
4474
4474
|
if (!(last(tokenStack) === 8))
|
|
4475
|
-
throw JsonDecodingException_0(this.
|
|
4475
|
+
throw JsonDecodingException_0(this.j23_1, 'found ] instead of } at path: ' + this.k23_1, this.e2c());
|
|
4476
4476
|
removeLast(tokenStack);
|
|
4477
4477
|
} else if (tmp0_subject === 7) {
|
|
4478
4478
|
if (!(last(tokenStack) === 6))
|
|
4479
|
-
throw JsonDecodingException_0(this.
|
|
4479
|
+
throw JsonDecodingException_0(this.j23_1, 'found } instead of ] at path: ' + this.k23_1, this.e2c());
|
|
4480
4480
|
removeLast(tokenStack);
|
|
4481
4481
|
} else if (tmp0_subject === 10) {
|
|
4482
|
-
this.
|
|
4482
|
+
this.y26('Unexpected end of input due to malformed JSON during ignoring unknown keys', 0, null, 6, null);
|
|
4483
4483
|
}
|
|
4484
|
-
this.
|
|
4484
|
+
this.c28();
|
|
4485
4485
|
if (tokenStack.i() === 0)
|
|
4486
4486
|
return Unit_getInstance();
|
|
4487
4487
|
}
|
|
4488
4488
|
};
|
|
4489
4489
|
AbstractJsonLexer.prototype.toString = function () {
|
|
4490
|
-
return "JsonReader(source='" + this.
|
|
4490
|
+
return "JsonReader(source='" + this.e2c() + "', currentPosition=" + this.j23_1 + ')';
|
|
4491
4491
|
};
|
|
4492
|
-
AbstractJsonLexer.prototype.
|
|
4493
|
-
var processed = this.
|
|
4492
|
+
AbstractJsonLexer.prototype.p29 = function (key) {
|
|
4493
|
+
var processed = this.m2c(0, this.j23_1);
|
|
4494
4494
|
var lastIndexOf = lastIndexOf$default(processed, key, 0, false, 6, null);
|
|
4495
|
-
this.
|
|
4495
|
+
this.k2c("Encountered an unknown key '" + key + "'", lastIndexOf, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4496
4496
|
};
|
|
4497
|
-
AbstractJsonLexer.prototype.
|
|
4497
|
+
AbstractJsonLexer.prototype.k2c = function (message, position, hint) {
|
|
4498
4498
|
var tmp;
|
|
4499
4499
|
var tmp$ret$0;
|
|
4500
4500
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -4505,26 +4505,26 @@
|
|
|
4505
4505
|
tmp = '\n' + hint;
|
|
4506
4506
|
}
|
|
4507
4507
|
var hintMessage = tmp;
|
|
4508
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4508
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.k23_1.k27() + hintMessage, this.e2c());
|
|
4509
4509
|
};
|
|
4510
|
-
AbstractJsonLexer.prototype.
|
|
4510
|
+
AbstractJsonLexer.prototype.y26 = function (message, position, hint, $mask0, $handler) {
|
|
4511
4511
|
if (!(($mask0 & 2) === 0))
|
|
4512
|
-
position = this.
|
|
4512
|
+
position = this.j23_1;
|
|
4513
4513
|
if (!(($mask0 & 4) === 0))
|
|
4514
4514
|
hint = '';
|
|
4515
|
-
return this.
|
|
4515
|
+
return this.k2c(message, position, hint);
|
|
4516
4516
|
};
|
|
4517
|
-
AbstractJsonLexer.prototype.
|
|
4518
|
-
var current = this.
|
|
4519
|
-
current = this.
|
|
4520
|
-
if (current >= charSequenceLength(this.
|
|
4521
|
-
this.
|
|
4517
|
+
AbstractJsonLexer.prototype.b2a = function () {
|
|
4518
|
+
var current = this.l2c();
|
|
4519
|
+
current = this.f2c(current);
|
|
4520
|
+
if (current >= charSequenceLength(this.e2c()) ? true : current === -1) {
|
|
4521
|
+
this.y26('EOF', 0, null, 6, null);
|
|
4522
4522
|
}
|
|
4523
4523
|
var tmp;
|
|
4524
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4524
|
+
if (equals(new Char(charSequenceGet(this.e2c(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4525
4525
|
current = current + 1 | 0;
|
|
4526
|
-
if (current === charSequenceLength(this.
|
|
4527
|
-
this.
|
|
4526
|
+
if (current === charSequenceLength(this.e2c())) {
|
|
4527
|
+
this.y26('EOF', 0, null, 6, null);
|
|
4528
4528
|
}
|
|
4529
4529
|
tmp = true;
|
|
4530
4530
|
} else {
|
|
@@ -4536,10 +4536,10 @@
|
|
|
4536
4536
|
var start = current;
|
|
4537
4537
|
var hasChars = true;
|
|
4538
4538
|
$l$loop_0: while (hasChars) {
|
|
4539
|
-
var ch = charSequenceGet(this.
|
|
4539
|
+
var ch = charSequenceGet(this.e2c(), current);
|
|
4540
4540
|
if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
4541
4541
|
if (!(current === start)) {
|
|
4542
|
-
this.
|
|
4542
|
+
this.y26("Unexpected symbol '-' in numeric literal", 0, null, 6, null);
|
|
4543
4543
|
}
|
|
4544
4544
|
isNegative = true;
|
|
4545
4545
|
current = current + 1 | 0;
|
|
@@ -4549,11 +4549,11 @@
|
|
|
4549
4549
|
if (!(token === 0))
|
|
4550
4550
|
break $l$loop_0;
|
|
4551
4551
|
current = current + 1 | 0;
|
|
4552
|
-
hasChars = !(current === charSequenceLength(this.
|
|
4552
|
+
hasChars = !(current === charSequenceLength(this.e2c()));
|
|
4553
4553
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4554
4554
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4555
4555
|
var tmp_0 = "Unexpected symbol '" + new Char(ch) + "' in numeric literal";
|
|
4556
|
-
this.
|
|
4556
|
+
this.y26(tmp_0, 0, null, 6, null);
|
|
4557
4557
|
}
|
|
4558
4558
|
var tmp$ret$1;
|
|
4559
4559
|
// Inline function 'kotlin.Long.minus' call
|
|
@@ -4565,22 +4565,22 @@
|
|
|
4565
4565
|
tmp$ret$1 = tmp1_minus.q5(toLong_0(digit));
|
|
4566
4566
|
accumulator = tmp$ret$1;
|
|
4567
4567
|
if (accumulator.i1(new Long(0, 0)) > 0) {
|
|
4568
|
-
this.
|
|
4568
|
+
this.y26('Numeric value overflow', 0, null, 6, null);
|
|
4569
4569
|
}
|
|
4570
4570
|
}
|
|
4571
4571
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
4572
|
-
this.
|
|
4572
|
+
this.y26('Expected numeric literal', 0, null, 6, null);
|
|
4573
4573
|
}
|
|
4574
4574
|
if (hasQuotation) {
|
|
4575
4575
|
if (!hasChars) {
|
|
4576
|
-
this.
|
|
4576
|
+
this.y26('EOF', 0, null, 6, null);
|
|
4577
4577
|
}
|
|
4578
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4579
|
-
this.
|
|
4578
|
+
if (!equals(new Char(charSequenceGet(this.e2c(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4579
|
+
this.y26('Expected closing quotation mark', 0, null, 6, null);
|
|
4580
4580
|
}
|
|
4581
4581
|
current = current + 1 | 0;
|
|
4582
4582
|
}
|
|
4583
|
-
this.
|
|
4583
|
+
this.j23_1 = current;
|
|
4584
4584
|
var tmp_1;
|
|
4585
4585
|
if (isNegative) {
|
|
4586
4586
|
tmp_1 = accumulator;
|
|
@@ -4590,21 +4590,21 @@
|
|
|
4590
4590
|
if (!tmp_2.equals(new Long(0, -2147483648))) {
|
|
4591
4591
|
tmp_1 = accumulator.v5();
|
|
4592
4592
|
} else {
|
|
4593
|
-
this.
|
|
4593
|
+
this.y26('Numeric value overflow', 0, null, 6, null);
|
|
4594
4594
|
}
|
|
4595
4595
|
}
|
|
4596
4596
|
return tmp_1;
|
|
4597
4597
|
};
|
|
4598
|
-
AbstractJsonLexer.prototype.
|
|
4599
|
-
return consumeBoolean(this, this.
|
|
4598
|
+
AbstractJsonLexer.prototype.z29 = function () {
|
|
4599
|
+
return consumeBoolean(this, this.l2c());
|
|
4600
4600
|
};
|
|
4601
|
-
AbstractJsonLexer.prototype.
|
|
4602
|
-
var current = this.
|
|
4603
|
-
if (current === charSequenceLength(this.
|
|
4604
|
-
this.
|
|
4601
|
+
AbstractJsonLexer.prototype.a2a = function () {
|
|
4602
|
+
var current = this.l2c();
|
|
4603
|
+
if (current === charSequenceLength(this.e2c())) {
|
|
4604
|
+
this.y26('EOF', 0, null, 6, null);
|
|
4605
4605
|
}
|
|
4606
4606
|
var tmp;
|
|
4607
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4607
|
+
if (equals(new Char(charSequenceGet(this.e2c(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4608
4608
|
current = current + 1 | 0;
|
|
4609
4609
|
tmp = true;
|
|
4610
4610
|
} else {
|
|
@@ -4613,14 +4613,14 @@
|
|
|
4613
4613
|
var hasQuotation = tmp;
|
|
4614
4614
|
var result = consumeBoolean(this, current);
|
|
4615
4615
|
if (hasQuotation) {
|
|
4616
|
-
if (this.
|
|
4617
|
-
this.
|
|
4616
|
+
if (this.j23_1 === charSequenceLength(this.e2c())) {
|
|
4617
|
+
this.y26('EOF', 0, null, 6, null);
|
|
4618
4618
|
}
|
|
4619
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4620
|
-
this.
|
|
4619
|
+
if (!equals(new Char(charSequenceGet(this.e2c(), this.j23_1)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4620
|
+
this.y26('Expected closing quotation mark', 0, null, 6, null);
|
|
4621
4621
|
}
|
|
4622
4622
|
var tmp0_this = this;
|
|
4623
|
-
tmp0_this.
|
|
4623
|
+
tmp0_this.j23_1 = tmp0_this.j23_1 + 1 | 0;
|
|
4624
4624
|
}
|
|
4625
4625
|
return result;
|
|
4626
4626
|
};
|
|
@@ -4631,7 +4631,7 @@
|
|
|
4631
4631
|
// Inline function 'kotlin.code' call
|
|
4632
4632
|
tmp$ret$0 = Char__toInt_impl_vasixd(c);
|
|
4633
4633
|
if (tmp$ret$0 < 126) {
|
|
4634
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4634
|
+
var tmp_0 = CharMappings_getInstance().p2c_1;
|
|
4635
4635
|
var tmp$ret$1;
|
|
4636
4636
|
// Inline function 'kotlin.code' call
|
|
4637
4637
|
tmp$ret$1 = Char__toInt_impl_vasixd(c);
|
|
@@ -4726,7 +4726,7 @@
|
|
|
4726
4726
|
}
|
|
4727
4727
|
var TC_OTHER;
|
|
4728
4728
|
function escapeToChar(c) {
|
|
4729
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4729
|
+
return c < 117 ? CharMappings_getInstance().o2c_1[c] : _Char___init__impl__6a9atx(0);
|
|
4730
4730
|
}
|
|
4731
4731
|
function get_ignoreUnknownKeysHint() {
|
|
4732
4732
|
return ignoreUnknownKeysHint;
|
|
@@ -4777,7 +4777,7 @@
|
|
|
4777
4777
|
var tmp$ret$0;
|
|
4778
4778
|
// Inline function 'kotlin.code' call
|
|
4779
4779
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4780
|
-
$this.
|
|
4780
|
+
$this.o2c_1[tmp$ret$0] = numberToChar(c);
|
|
4781
4781
|
}
|
|
4782
4782
|
}
|
|
4783
4783
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4787,7 +4787,7 @@
|
|
|
4787
4787
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4788
4788
|
}
|
|
4789
4789
|
function initC2TC($this, c, cl) {
|
|
4790
|
-
$this.
|
|
4790
|
+
$this.p2c_1[c] = cl;
|
|
4791
4791
|
}
|
|
4792
4792
|
function initC2TC_0($this, c, cl) {
|
|
4793
4793
|
var tmp$ret$0;
|
|
@@ -4797,8 +4797,8 @@
|
|
|
4797
4797
|
}
|
|
4798
4798
|
function CharMappings() {
|
|
4799
4799
|
CharMappings_instance = this;
|
|
4800
|
-
this.
|
|
4801
|
-
this.
|
|
4800
|
+
this.o2c_1 = charArray(117);
|
|
4801
|
+
this.p2c_1 = new Int8Array(126);
|
|
4802
4802
|
initEscape(this);
|
|
4803
4803
|
initCharToToken(this);
|
|
4804
4804
|
}
|
|
@@ -4819,20 +4819,20 @@
|
|
|
4819
4819
|
var allowStructuredMapKeysHint;
|
|
4820
4820
|
function StringJsonLexer(source) {
|
|
4821
4821
|
AbstractJsonLexer.call(this);
|
|
4822
|
-
this.
|
|
4822
|
+
this.u2c_1 = source;
|
|
4823
4823
|
}
|
|
4824
|
-
StringJsonLexer.prototype.
|
|
4825
|
-
return this.
|
|
4824
|
+
StringJsonLexer.prototype.e2c = function () {
|
|
4825
|
+
return this.u2c_1;
|
|
4826
4826
|
};
|
|
4827
|
-
StringJsonLexer.prototype.
|
|
4828
|
-
return position < this.
|
|
4827
|
+
StringJsonLexer.prototype.f2c = function (position) {
|
|
4828
|
+
return position < this.u2c_1.length ? position : -1;
|
|
4829
4829
|
};
|
|
4830
|
-
StringJsonLexer.prototype.
|
|
4831
|
-
var source = this.
|
|
4832
|
-
$l$loop: while (!(this.
|
|
4830
|
+
StringJsonLexer.prototype.c28 = function () {
|
|
4831
|
+
var source = this.u2c_1;
|
|
4832
|
+
$l$loop: while (!(this.j23_1 === -1) ? this.j23_1 < source.length : false) {
|
|
4833
4833
|
var tmp0_this = this;
|
|
4834
|
-
var tmp1 = tmp0_this.
|
|
4835
|
-
tmp0_this.
|
|
4834
|
+
var tmp1 = tmp0_this.j23_1;
|
|
4835
|
+
tmp0_this.j23_1 = tmp1 + 1 | 0;
|
|
4836
4836
|
var ch = charSequenceGet(source, tmp1);
|
|
4837
4837
|
var tc = charToTokenClass(ch);
|
|
4838
4838
|
var tmp;
|
|
@@ -4845,167 +4845,167 @@
|
|
|
4845
4845
|
}
|
|
4846
4846
|
return get_TC_EOF();
|
|
4847
4847
|
};
|
|
4848
|
-
StringJsonLexer.prototype.
|
|
4849
|
-
var current = this.
|
|
4850
|
-
if (current === this.
|
|
4848
|
+
StringJsonLexer.prototype.m29 = function () {
|
|
4849
|
+
var current = this.l2c();
|
|
4850
|
+
if (current === this.u2c_1.length ? true : current === -1)
|
|
4851
4851
|
return false;
|
|
4852
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4852
|
+
if (equals(new Char(charSequenceGet(this.u2c_1, current)), new Char(_Char___init__impl__6a9atx(44)))) {
|
|
4853
4853
|
var tmp0_this = this;
|
|
4854
|
-
tmp0_this.
|
|
4854
|
+
tmp0_this.j23_1 = tmp0_this.j23_1 + 1 | 0;
|
|
4855
4855
|
return true;
|
|
4856
4856
|
}
|
|
4857
4857
|
return false;
|
|
4858
4858
|
};
|
|
4859
|
-
StringJsonLexer.prototype.
|
|
4860
|
-
var current = this.
|
|
4859
|
+
StringJsonLexer.prototype.y27 = function () {
|
|
4860
|
+
var current = this.j23_1;
|
|
4861
4861
|
if (current === -1)
|
|
4862
4862
|
return false;
|
|
4863
|
-
$l$loop: while (current < this.
|
|
4864
|
-
var c = charSequenceGet(this.
|
|
4863
|
+
$l$loop: while (current < this.u2c_1.length) {
|
|
4864
|
+
var c = charSequenceGet(this.u2c_1, current);
|
|
4865
4865
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4866
4866
|
current = current + 1 | 0;
|
|
4867
4867
|
continue $l$loop;
|
|
4868
4868
|
}
|
|
4869
|
-
this.
|
|
4870
|
-
return this.
|
|
4869
|
+
this.j23_1 = current;
|
|
4870
|
+
return this.h2c(c);
|
|
4871
4871
|
}
|
|
4872
|
-
this.
|
|
4872
|
+
this.j23_1 = current;
|
|
4873
4873
|
return false;
|
|
4874
4874
|
};
|
|
4875
|
-
StringJsonLexer.prototype.
|
|
4876
|
-
var current = this.
|
|
4875
|
+
StringJsonLexer.prototype.l2c = function () {
|
|
4876
|
+
var current = this.j23_1;
|
|
4877
4877
|
if (current === -1)
|
|
4878
4878
|
return current;
|
|
4879
|
-
$l$loop: while (current < this.
|
|
4880
|
-
var c = charSequenceGet(this.
|
|
4879
|
+
$l$loop: while (current < this.u2c_1.length) {
|
|
4880
|
+
var c = charSequenceGet(this.u2c_1, current);
|
|
4881
4881
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4882
4882
|
current = current + 1 | 0;
|
|
4883
4883
|
} else {
|
|
4884
4884
|
break $l$loop;
|
|
4885
4885
|
}
|
|
4886
4886
|
}
|
|
4887
|
-
this.
|
|
4887
|
+
this.j23_1 = current;
|
|
4888
4888
|
return current;
|
|
4889
4889
|
};
|
|
4890
|
-
StringJsonLexer.prototype.
|
|
4891
|
-
if (this.
|
|
4892
|
-
this.
|
|
4890
|
+
StringJsonLexer.prototype.l29 = function (expected) {
|
|
4891
|
+
if (this.j23_1 === -1) {
|
|
4892
|
+
this.j2c(expected);
|
|
4893
4893
|
}
|
|
4894
|
-
var source = this.
|
|
4895
|
-
$l$loop: while (this.
|
|
4894
|
+
var source = this.u2c_1;
|
|
4895
|
+
$l$loop: while (this.j23_1 < source.length) {
|
|
4896
4896
|
var tmp0_this = this;
|
|
4897
|
-
var tmp1 = tmp0_this.
|
|
4898
|
-
tmp0_this.
|
|
4897
|
+
var tmp1 = tmp0_this.j23_1;
|
|
4898
|
+
tmp0_this.j23_1 = tmp1 + 1 | 0;
|
|
4899
4899
|
var c = charSequenceGet(source, tmp1);
|
|
4900
4900
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4901
4901
|
continue $l$loop;
|
|
4902
4902
|
if (equals(new Char(c), new Char(expected)))
|
|
4903
4903
|
return Unit_getInstance();
|
|
4904
|
-
this.
|
|
4904
|
+
this.j2c(expected);
|
|
4905
4905
|
}
|
|
4906
|
-
this.
|
|
4906
|
+
this.j2c(expected);
|
|
4907
4907
|
};
|
|
4908
|
-
StringJsonLexer.prototype.
|
|
4909
|
-
this.
|
|
4910
|
-
var current = this.
|
|
4908
|
+
StringJsonLexer.prototype.r29 = function () {
|
|
4909
|
+
this.l29(get_STRING());
|
|
4910
|
+
var current = this.j23_1;
|
|
4911
4911
|
var tmp = _Char___init__impl__6a9atx(34);
|
|
4912
|
-
var closingQuote = indexOf$default(this.
|
|
4912
|
+
var closingQuote = indexOf$default(this.u2c_1, tmp, current, false, 4, null);
|
|
4913
4913
|
if (closingQuote === -1) {
|
|
4914
|
-
this.
|
|
4914
|
+
this.i2c(get_TC_STRING());
|
|
4915
4915
|
}
|
|
4916
4916
|
var inductionVariable = current;
|
|
4917
4917
|
if (inductionVariable < closingQuote)
|
|
4918
4918
|
do {
|
|
4919
4919
|
var i = inductionVariable;
|
|
4920
4920
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4921
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4922
|
-
return this.consumeString2(this.
|
|
4921
|
+
if (equals(new Char(charSequenceGet(this.u2c_1, i)), new Char(get_STRING_ESC()))) {
|
|
4922
|
+
return this.consumeString2(this.u2c_1, this.j23_1, i);
|
|
4923
4923
|
}
|
|
4924
4924
|
}
|
|
4925
4925
|
while (inductionVariable < closingQuote);
|
|
4926
|
-
this.
|
|
4926
|
+
this.j23_1 = closingQuote + 1 | 0;
|
|
4927
4927
|
var tmp$ret$1;
|
|
4928
4928
|
// Inline function 'kotlin.text.substring' call
|
|
4929
|
-
var tmp0_substring = this.
|
|
4929
|
+
var tmp0_substring = this.u2c_1;
|
|
4930
4930
|
var tmp$ret$0;
|
|
4931
4931
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4932
4932
|
tmp$ret$0 = tmp0_substring;
|
|
4933
4933
|
tmp$ret$1 = tmp$ret$0.substring(current, closingQuote);
|
|
4934
4934
|
return tmp$ret$1;
|
|
4935
4935
|
};
|
|
4936
|
-
StringJsonLexer.prototype.
|
|
4937
|
-
var positionSnapshot = this.
|
|
4936
|
+
StringJsonLexer.prototype.u29 = function (keyToMatch, isLenient) {
|
|
4937
|
+
var positionSnapshot = this.j23_1;
|
|
4938
4938
|
try {
|
|
4939
|
-
if (!(this.
|
|
4939
|
+
if (!(this.c28() === get_TC_BEGIN_OBJ()))
|
|
4940
4940
|
return null;
|
|
4941
|
-
var firstKey = isLenient ? this.
|
|
4941
|
+
var firstKey = isLenient ? this.r29() : this.s29();
|
|
4942
4942
|
if (firstKey === keyToMatch) {
|
|
4943
|
-
if (!(this.
|
|
4943
|
+
if (!(this.c28() === get_TC_COLON()))
|
|
4944
4944
|
return null;
|
|
4945
|
-
var result = isLenient ? this.
|
|
4945
|
+
var result = isLenient ? this.z27() : this.s29();
|
|
4946
4946
|
return result;
|
|
4947
4947
|
}
|
|
4948
4948
|
return null;
|
|
4949
4949
|
}finally {
|
|
4950
|
-
this.
|
|
4950
|
+
this.j23_1 = positionSnapshot;
|
|
4951
4951
|
}
|
|
4952
4952
|
};
|
|
4953
4953
|
StringJsonLexer.$metadata$ = classMeta('StringJsonLexer', undefined, undefined, undefined, undefined, AbstractJsonLexer.prototype);
|
|
4954
4954
|
function get_schemaCache(_this__u8e3s4) {
|
|
4955
|
-
return _this__u8e3s4.
|
|
4955
|
+
return _this__u8e3s4.y22_1;
|
|
4956
4956
|
}
|
|
4957
4957
|
function JsonToStringWriter() {
|
|
4958
|
-
this.
|
|
4958
|
+
this.a23_1 = StringBuilder_init_$Create$_0(128);
|
|
4959
4959
|
}
|
|
4960
|
-
JsonToStringWriter.prototype.
|
|
4961
|
-
this.
|
|
4960
|
+
JsonToStringWriter.prototype.i26 = function (value) {
|
|
4961
|
+
this.a23_1.b8(value);
|
|
4962
4962
|
};
|
|
4963
|
-
JsonToStringWriter.prototype.
|
|
4964
|
-
this.
|
|
4963
|
+
JsonToStringWriter.prototype.c26 = function (char) {
|
|
4964
|
+
this.a23_1.g7(char);
|
|
4965
4965
|
};
|
|
4966
|
-
JsonToStringWriter.prototype.
|
|
4967
|
-
this.
|
|
4966
|
+
JsonToStringWriter.prototype.e26 = function (text) {
|
|
4967
|
+
this.a23_1.c8(text);
|
|
4968
4968
|
};
|
|
4969
|
-
JsonToStringWriter.prototype.
|
|
4970
|
-
printQuoted(this.
|
|
4969
|
+
JsonToStringWriter.prototype.o26 = function (text) {
|
|
4970
|
+
printQuoted(this.a23_1, text);
|
|
4971
4971
|
};
|
|
4972
4972
|
JsonToStringWriter.prototype.dq = function () {
|
|
4973
|
-
this.
|
|
4973
|
+
this.a23_1.uh();
|
|
4974
4974
|
};
|
|
4975
4975
|
JsonToStringWriter.prototype.toString = function () {
|
|
4976
|
-
return this.
|
|
4976
|
+
return this.a23_1.toString();
|
|
4977
4977
|
};
|
|
4978
4978
|
JsonToStringWriter.$metadata$ = classMeta('JsonToStringWriter', [JsonWriter]);
|
|
4979
4979
|
function createMapForCache(initialCapacity) {
|
|
4980
4980
|
return HashMap_init_$Create$(initialCapacity);
|
|
4981
4981
|
}
|
|
4982
4982
|
//region block: post-declaration
|
|
4983
|
-
defer$1.prototype.
|
|
4984
|
-
defer$1.prototype.
|
|
4985
|
-
defer$1.prototype.
|
|
4986
|
-
PolymorphismValidator.prototype.
|
|
4987
|
-
StreamingJsonDecoder.prototype.
|
|
4988
|
-
StreamingJsonDecoder.prototype.
|
|
4989
|
-
StreamingJsonDecoder.prototype.
|
|
4990
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
4991
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
4992
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
4993
|
-
JsonDecoderForUnsignedTypes.prototype.
|
|
4994
|
-
StreamingJsonEncoder.prototype.
|
|
4995
|
-
StreamingJsonEncoder.prototype.
|
|
4996
|
-
StreamingJsonEncoder.prototype.
|
|
4997
|
-
AbstractJsonTreeDecoder.prototype.
|
|
4998
|
-
AbstractJsonTreeDecoder.prototype.
|
|
4999
|
-
AbstractJsonTreeDecoder.prototype.
|
|
5000
|
-
JsonTreeDecoder.prototype.
|
|
5001
|
-
JsonTreeDecoder.prototype.
|
|
5002
|
-
JsonTreeDecoder.prototype.
|
|
5003
|
-
JsonTreeListDecoder.prototype.
|
|
5004
|
-
JsonTreeListDecoder.prototype.
|
|
5005
|
-
JsonTreeListDecoder.prototype.
|
|
5006
|
-
JsonTreeMapDecoder.prototype.
|
|
5007
|
-
JsonTreeMapDecoder.prototype.
|
|
5008
|
-
JsonTreeMapDecoder.prototype.
|
|
4983
|
+
defer$1.prototype.q1j = get_isNullable;
|
|
4984
|
+
defer$1.prototype.w1j = get_isInline;
|
|
4985
|
+
defer$1.prototype.u1j = get_annotations;
|
|
4986
|
+
PolymorphismValidator.prototype.k22 = contextual;
|
|
4987
|
+
StreamingJsonDecoder.prototype.d1m = decodeSerializableElement$default;
|
|
4988
|
+
StreamingJsonDecoder.prototype.f1m = decodeSequentially;
|
|
4989
|
+
StreamingJsonDecoder.prototype.h1m = decodeCollectionSize;
|
|
4990
|
+
JsonDecoderForUnsignedTypes.prototype.p1l = decodeSerializableValue;
|
|
4991
|
+
JsonDecoderForUnsignedTypes.prototype.d1m = decodeSerializableElement$default;
|
|
4992
|
+
JsonDecoderForUnsignedTypes.prototype.f1m = decodeSequentially;
|
|
4993
|
+
JsonDecoderForUnsignedTypes.prototype.h1m = decodeCollectionSize;
|
|
4994
|
+
StreamingJsonEncoder.prototype.k1n = encodeNotNullMark;
|
|
4995
|
+
StreamingJsonEncoder.prototype.l1n = beginCollection;
|
|
4996
|
+
StreamingJsonEncoder.prototype.j1n = encodeNullableSerializableValue;
|
|
4997
|
+
AbstractJsonTreeDecoder.prototype.d1m = decodeSerializableElement$default;
|
|
4998
|
+
AbstractJsonTreeDecoder.prototype.f1m = decodeSequentially;
|
|
4999
|
+
AbstractJsonTreeDecoder.prototype.h1m = decodeCollectionSize;
|
|
5000
|
+
JsonTreeDecoder.prototype.d1m = decodeSerializableElement$default;
|
|
5001
|
+
JsonTreeDecoder.prototype.f1m = decodeSequentially;
|
|
5002
|
+
JsonTreeDecoder.prototype.h1m = decodeCollectionSize;
|
|
5003
|
+
JsonTreeListDecoder.prototype.d1m = decodeSerializableElement$default;
|
|
5004
|
+
JsonTreeListDecoder.prototype.f1m = decodeSequentially;
|
|
5005
|
+
JsonTreeListDecoder.prototype.h1m = decodeCollectionSize;
|
|
5006
|
+
JsonTreeMapDecoder.prototype.d1m = decodeSerializableElement$default;
|
|
5007
|
+
JsonTreeMapDecoder.prototype.f1m = decodeSequentially;
|
|
5008
|
+
JsonTreeMapDecoder.prototype.h1m = decodeCollectionSize;
|
|
5009
5009
|
//endregion
|
|
5010
5010
|
//region block: init
|
|
5011
5011
|
TC_WHITESPACE = 3;
|