@doordeck/doordeck-headless-sdk 0.67.0 → 0.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1172 -1172
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
- package/kotlin/doordeck-sdk.js +7574 -11735
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlinx-coroutines-core.js +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1058 -1058
- package/kotlin/ktor-ktor-client-ktor-client-core.js +825 -813
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +203 -203
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +119 -119
- package/kotlin/ktor-ktor-http.js +6 -11
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +5 -5
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +104 -104
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +1 -1
- package/package.json +1 -1
|
@@ -247,12 +247,12 @@
|
|
|
247
247
|
}
|
|
248
248
|
function Json(configuration, serializersModule) {
|
|
249
249
|
Default_getInstance();
|
|
250
|
-
this.
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
250
|
+
this.u4g_1 = configuration;
|
|
251
|
+
this.v4g_1 = serializersModule;
|
|
252
|
+
this.w4g_1 = new DescriptorSchemaCache();
|
|
253
253
|
}
|
|
254
254
|
protoOf(Json).w1n = function () {
|
|
255
|
-
return this.
|
|
255
|
+
return this.v4g_1;
|
|
256
256
|
};
|
|
257
257
|
protoOf(Json).u1n = function (serializer, value) {
|
|
258
258
|
var result = new JsonToStringWriter();
|
|
@@ -260,70 +260,70 @@
|
|
|
260
260
|
encodeByWriter(this, result, serializer, value);
|
|
261
261
|
return result.toString();
|
|
262
262
|
}finally {
|
|
263
|
-
result.
|
|
263
|
+
result.z4g();
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
266
|
protoOf(Json).v1n = function (deserializer, string) {
|
|
267
267
|
var lexer = StringJsonLexer_0(this, string);
|
|
268
268
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.r1m(), null);
|
|
269
269
|
var result = input.e1q(deserializer);
|
|
270
|
-
lexer.
|
|
270
|
+
lexer.m4h();
|
|
271
271
|
return result;
|
|
272
272
|
};
|
|
273
|
-
protoOf(Json).
|
|
273
|
+
protoOf(Json).x4g = function (string) {
|
|
274
274
|
return this.v1n(JsonElementSerializer_getInstance(), string);
|
|
275
275
|
};
|
|
276
276
|
function Json_0(from, builderAction) {
|
|
277
277
|
from = from === VOID ? Default_getInstance() : from;
|
|
278
278
|
var builder = new JsonBuilder(from);
|
|
279
279
|
builderAction(builder);
|
|
280
|
-
var conf = builder.
|
|
281
|
-
return new JsonImpl(conf, builder.
|
|
280
|
+
var conf = builder.f4i();
|
|
281
|
+
return new JsonImpl(conf, builder.e4i_1);
|
|
282
282
|
}
|
|
283
283
|
function JsonBuilder(json) {
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
}
|
|
303
|
-
protoOf(JsonBuilder).
|
|
304
|
-
if (this.
|
|
284
|
+
this.n4h_1 = json.u4g_1.g4i_1;
|
|
285
|
+
this.o4h_1 = json.u4g_1.l4i_1;
|
|
286
|
+
this.p4h_1 = json.u4g_1.h4i_1;
|
|
287
|
+
this.q4h_1 = json.u4g_1.i4i_1;
|
|
288
|
+
this.r4h_1 = json.u4g_1.k4i_1;
|
|
289
|
+
this.s4h_1 = json.u4g_1.m4i_1;
|
|
290
|
+
this.t4h_1 = json.u4g_1.n4i_1;
|
|
291
|
+
this.u4h_1 = json.u4g_1.p4i_1;
|
|
292
|
+
this.v4h_1 = json.u4g_1.w4i_1;
|
|
293
|
+
this.w4h_1 = json.u4g_1.r4i_1;
|
|
294
|
+
this.x4h_1 = json.u4g_1.s4i_1;
|
|
295
|
+
this.y4h_1 = json.u4g_1.t4i_1;
|
|
296
|
+
this.z4h_1 = json.u4g_1.u4i_1;
|
|
297
|
+
this.a4i_1 = json.u4g_1.v4i_1;
|
|
298
|
+
this.b4i_1 = json.u4g_1.q4i_1;
|
|
299
|
+
this.c4i_1 = json.u4g_1.j4i_1;
|
|
300
|
+
this.d4i_1 = json.u4g_1.o4i_1;
|
|
301
|
+
this.e4i_1 = json.w1n();
|
|
302
|
+
}
|
|
303
|
+
protoOf(JsonBuilder).f4i = function () {
|
|
304
|
+
if (this.d4i_1) {
|
|
305
305
|
// Inline function 'kotlin.require' call
|
|
306
|
-
if (!(this.
|
|
306
|
+
if (!(this.u4h_1 === 'type')) {
|
|
307
307
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
308
308
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
309
309
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
310
310
|
}
|
|
311
311
|
// Inline function 'kotlin.require' call
|
|
312
|
-
if (!this.
|
|
312
|
+
if (!this.v4h_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
313
313
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
314
314
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
315
315
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
if (!this.
|
|
318
|
+
if (!this.r4h_1) {
|
|
319
319
|
// Inline function 'kotlin.require' call
|
|
320
|
-
if (!(this.
|
|
320
|
+
if (!(this.s4h_1 === ' ')) {
|
|
321
321
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
322
322
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
323
323
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
324
324
|
}
|
|
325
|
-
} else if (!(this.
|
|
326
|
-
var tmp3 = this.
|
|
325
|
+
} else if (!(this.s4h_1 === ' ')) {
|
|
326
|
+
var tmp3 = this.s4h_1;
|
|
327
327
|
var tmp$ret$4;
|
|
328
328
|
$l$block: {
|
|
329
329
|
// Inline function 'kotlin.text.all' call
|
|
@@ -343,16 +343,16 @@
|
|
|
343
343
|
// Inline function 'kotlin.require' call
|
|
344
344
|
if (!allWhitespaces) {
|
|
345
345
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
346
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
346
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.s4h_1;
|
|
347
347
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
return new JsonConfiguration(this.
|
|
350
|
+
return new JsonConfiguration(this.n4h_1, this.p4h_1, this.q4h_1, this.c4i_1, this.r4h_1, this.o4h_1, this.s4h_1, this.t4h_1, this.d4i_1, this.u4h_1, this.b4i_1, this.w4h_1, this.x4h_1, this.y4h_1, this.z4h_1, this.a4i_1, this.v4h_1);
|
|
351
351
|
};
|
|
352
352
|
function validateConfiguration($this) {
|
|
353
353
|
if (equals($this.w1n(), EmptySerializersModule()))
|
|
354
354
|
return Unit_instance;
|
|
355
|
-
var collector = new PolymorphismValidator($this.
|
|
355
|
+
var collector = new PolymorphismValidator($this.u4g_1.o4i_1, $this.u4g_1.p4i_1);
|
|
356
356
|
$this.w1n().m26(collector);
|
|
357
357
|
}
|
|
358
358
|
function JsonImpl(configuration, module_0) {
|
|
@@ -360,21 +360,21 @@
|
|
|
360
360
|
validateConfiguration(this);
|
|
361
361
|
}
|
|
362
362
|
function JsonClassDiscriminator(discriminator) {
|
|
363
|
-
this.
|
|
363
|
+
this.x4i_1 = discriminator;
|
|
364
364
|
}
|
|
365
365
|
protoOf(JsonClassDiscriminator).equals = function (other) {
|
|
366
366
|
if (!(other instanceof JsonClassDiscriminator))
|
|
367
367
|
return false;
|
|
368
368
|
var tmp0_other_with_cast = other instanceof JsonClassDiscriminator ? other : THROW_CCE();
|
|
369
|
-
if (!(this.
|
|
369
|
+
if (!(this.x4i_1 === tmp0_other_with_cast.x4i_1))
|
|
370
370
|
return false;
|
|
371
371
|
return true;
|
|
372
372
|
};
|
|
373
373
|
protoOf(JsonClassDiscriminator).hashCode = function () {
|
|
374
|
-
return imul(getStringHashCode('discriminator'), 127) ^ getStringHashCode(this.
|
|
374
|
+
return imul(getStringHashCode('discriminator'), 127) ^ getStringHashCode(this.x4i_1);
|
|
375
375
|
};
|
|
376
376
|
protoOf(JsonClassDiscriminator).toString = function () {
|
|
377
|
-
return '@kotlinx.serialization.json.JsonClassDiscriminator(' + 'discriminator=' + this.
|
|
377
|
+
return '@kotlinx.serialization.json.JsonClassDiscriminator(' + 'discriminator=' + this.x4i_1 + ')';
|
|
378
378
|
};
|
|
379
379
|
function JsonNames() {
|
|
380
380
|
}
|
|
@@ -396,26 +396,26 @@
|
|
|
396
396
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
397
397
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
398
398
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
399
|
+
this.g4i_1 = encodeDefaults;
|
|
400
|
+
this.h4i_1 = ignoreUnknownKeys;
|
|
401
|
+
this.i4i_1 = isLenient;
|
|
402
|
+
this.j4i_1 = allowStructuredMapKeys;
|
|
403
|
+
this.k4i_1 = prettyPrint;
|
|
404
|
+
this.l4i_1 = explicitNulls;
|
|
405
|
+
this.m4i_1 = prettyPrintIndent;
|
|
406
|
+
this.n4i_1 = coerceInputValues;
|
|
407
|
+
this.o4i_1 = useArrayPolymorphism;
|
|
408
|
+
this.p4i_1 = classDiscriminator;
|
|
409
|
+
this.q4i_1 = allowSpecialFloatingPointValues;
|
|
410
|
+
this.r4i_1 = useAlternativeNames;
|
|
411
|
+
this.s4i_1 = namingStrategy;
|
|
412
|
+
this.t4i_1 = decodeEnumsCaseInsensitive;
|
|
413
|
+
this.u4i_1 = allowTrailingComma;
|
|
414
|
+
this.v4i_1 = allowComments;
|
|
415
|
+
this.w4i_1 = classDiscriminatorMode;
|
|
416
416
|
}
|
|
417
417
|
protoOf(JsonConfiguration).toString = function () {
|
|
418
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
418
|
+
return 'JsonConfiguration(encodeDefaults=' + this.g4i_1 + ', ignoreUnknownKeys=' + this.h4i_1 + ', isLenient=' + this.i4i_1 + ', ' + ('allowStructuredMapKeys=' + this.j4i_1 + ', prettyPrint=' + this.k4i_1 + ', explicitNulls=' + this.l4i_1 + ', ') + ("prettyPrintIndent='" + this.m4i_1 + "', coerceInputValues=" + this.n4i_1 + ', useArrayPolymorphism=' + this.o4i_1 + ', ') + ("classDiscriminator='" + this.p4i_1 + "', allowSpecialFloatingPointValues=" + this.q4i_1 + ', ') + ('useAlternativeNames=' + this.r4i_1 + ', namingStrategy=' + toString_0(this.s4i_1) + ', decodeEnumsCaseInsensitive=' + this.t4i_1 + ', ') + ('allowTrailingComma=' + this.u4i_1 + ', allowComments=' + this.v4i_1 + ', classDiscriminatorMode=' + this.w4i_1.toString() + ')');
|
|
419
419
|
};
|
|
420
420
|
var ClassDiscriminatorMode_NONE_instance;
|
|
421
421
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
JsonElement.call(this);
|
|
466
466
|
}
|
|
467
467
|
protoOf(JsonPrimitive).toString = function () {
|
|
468
|
-
return this.
|
|
468
|
+
return this.a4j();
|
|
469
469
|
};
|
|
470
470
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
471
471
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -500,39 +500,39 @@
|
|
|
500
500
|
}
|
|
501
501
|
function JsonObject(content) {
|
|
502
502
|
JsonElement.call(this);
|
|
503
|
-
this.
|
|
503
|
+
this.b4j_1 = content;
|
|
504
504
|
}
|
|
505
505
|
protoOf(JsonObject).equals = function (other) {
|
|
506
|
-
return equals(this.
|
|
506
|
+
return equals(this.b4j_1, other);
|
|
507
507
|
};
|
|
508
508
|
protoOf(JsonObject).hashCode = function () {
|
|
509
|
-
return hashCode(this.
|
|
509
|
+
return hashCode(this.b4j_1);
|
|
510
510
|
};
|
|
511
511
|
protoOf(JsonObject).toString = function () {
|
|
512
|
-
var tmp = this.
|
|
512
|
+
var tmp = this.b4j_1.x();
|
|
513
513
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
514
514
|
};
|
|
515
515
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
516
|
-
return this.
|
|
516
|
+
return this.b4j_1.asJsReadonlyMapView();
|
|
517
517
|
};
|
|
518
518
|
protoOf(JsonObject).q27 = function (key) {
|
|
519
|
-
return this.
|
|
519
|
+
return this.b4j_1.i2(key);
|
|
520
520
|
};
|
|
521
521
|
protoOf(JsonObject).i2 = function (key) {
|
|
522
522
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
523
523
|
return false;
|
|
524
524
|
return this.q27((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
525
525
|
};
|
|
526
|
-
protoOf(JsonObject).
|
|
527
|
-
return this.
|
|
526
|
+
protoOf(JsonObject).c4j = function (value) {
|
|
527
|
+
return this.b4j_1.j2(value);
|
|
528
528
|
};
|
|
529
529
|
protoOf(JsonObject).j2 = function (value) {
|
|
530
530
|
if (!(value instanceof JsonElement))
|
|
531
531
|
return false;
|
|
532
|
-
return this.
|
|
532
|
+
return this.c4j(value instanceof JsonElement ? value : THROW_CCE());
|
|
533
533
|
};
|
|
534
534
|
protoOf(JsonObject).s27 = function (key) {
|
|
535
|
-
return this.
|
|
535
|
+
return this.b4j_1.k2(key);
|
|
536
536
|
};
|
|
537
537
|
protoOf(JsonObject).k2 = function (key) {
|
|
538
538
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -540,19 +540,19 @@
|
|
|
540
540
|
return this.s27((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
541
541
|
};
|
|
542
542
|
protoOf(JsonObject).h = function () {
|
|
543
|
-
return this.
|
|
543
|
+
return this.b4j_1.h();
|
|
544
544
|
};
|
|
545
545
|
protoOf(JsonObject).x = function () {
|
|
546
|
-
return this.
|
|
546
|
+
return this.b4j_1.x();
|
|
547
547
|
};
|
|
548
548
|
protoOf(JsonObject).l2 = function () {
|
|
549
|
-
return this.
|
|
549
|
+
return this.b4j_1.l2();
|
|
550
550
|
};
|
|
551
551
|
protoOf(JsonObject).s = function () {
|
|
552
|
-
return this.
|
|
552
|
+
return this.b4j_1.s();
|
|
553
553
|
};
|
|
554
554
|
protoOf(JsonObject).m2 = function () {
|
|
555
|
-
return this.
|
|
555
|
+
return this.b4j_1.m2();
|
|
556
556
|
};
|
|
557
557
|
function get_jsonObject(_this__u8e3s4) {
|
|
558
558
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -572,16 +572,16 @@
|
|
|
572
572
|
function JsonNull() {
|
|
573
573
|
JsonNull_instance = this;
|
|
574
574
|
JsonPrimitive.call(this);
|
|
575
|
-
this.
|
|
575
|
+
this.d4j_1 = 'null';
|
|
576
576
|
}
|
|
577
|
-
protoOf(JsonNull).
|
|
578
|
-
return this.
|
|
577
|
+
protoOf(JsonNull).a4j = function () {
|
|
578
|
+
return this.d4j_1;
|
|
579
579
|
};
|
|
580
|
-
protoOf(JsonNull).
|
|
580
|
+
protoOf(JsonNull).e4j = function () {
|
|
581
581
|
return JsonNullSerializer_getInstance();
|
|
582
582
|
};
|
|
583
583
|
protoOf(JsonNull).t1y = function (typeParamsSerializers) {
|
|
584
|
-
return this.
|
|
584
|
+
return this.e4j();
|
|
585
585
|
};
|
|
586
586
|
var JsonNull_instance;
|
|
587
587
|
function JsonNull_getInstance() {
|
|
@@ -598,33 +598,33 @@
|
|
|
598
598
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
599
599
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
600
600
|
JsonPrimitive.call(this);
|
|
601
|
-
this.
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
if (!(this.
|
|
601
|
+
this.f4j_1 = isString;
|
|
602
|
+
this.g4j_1 = coerceToInlineType;
|
|
603
|
+
this.h4j_1 = toString(body);
|
|
604
|
+
if (!(this.g4j_1 == null)) {
|
|
605
605
|
// Inline function 'kotlin.require' call
|
|
606
606
|
// Inline function 'kotlin.require' call
|
|
607
|
-
if (!this.
|
|
607
|
+
if (!this.g4j_1.k1o()) {
|
|
608
608
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
609
609
|
var message = 'Failed requirement.';
|
|
610
610
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
protoOf(JsonLiteral).
|
|
615
|
-
return this.
|
|
614
|
+
protoOf(JsonLiteral).a4j = function () {
|
|
615
|
+
return this.h4j_1;
|
|
616
616
|
};
|
|
617
617
|
protoOf(JsonLiteral).toString = function () {
|
|
618
618
|
var tmp;
|
|
619
|
-
if (this.
|
|
619
|
+
if (this.f4j_1) {
|
|
620
620
|
// Inline function 'kotlin.text.buildString' call
|
|
621
621
|
// Inline function 'kotlin.apply' call
|
|
622
622
|
var this_0 = StringBuilder_init_$Create$();
|
|
623
623
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
624
|
-
printQuoted(this_0, this.
|
|
624
|
+
printQuoted(this_0, this.h4j_1);
|
|
625
625
|
tmp = this_0.toString();
|
|
626
626
|
} else {
|
|
627
|
-
tmp = this.
|
|
627
|
+
tmp = this.h4j_1;
|
|
628
628
|
}
|
|
629
629
|
return tmp;
|
|
630
630
|
};
|
|
@@ -635,15 +635,15 @@
|
|
|
635
635
|
return false;
|
|
636
636
|
if (!(other instanceof JsonLiteral))
|
|
637
637
|
THROW_CCE();
|
|
638
|
-
if (!(this.
|
|
638
|
+
if (!(this.f4j_1 === other.f4j_1))
|
|
639
639
|
return false;
|
|
640
|
-
if (!(this.
|
|
640
|
+
if (!(this.h4j_1 === other.h4j_1))
|
|
641
641
|
return false;
|
|
642
642
|
return true;
|
|
643
643
|
};
|
|
644
644
|
protoOf(JsonLiteral).hashCode = function () {
|
|
645
|
-
var result = getBooleanHashCode(this.
|
|
646
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
645
|
+
var result = getBooleanHashCode(this.f4j_1);
|
|
646
|
+
result = imul(31, result) + getStringHashCode(this.h4j_1) | 0;
|
|
647
647
|
return result;
|
|
648
648
|
};
|
|
649
649
|
function Companion_2() {
|
|
@@ -654,74 +654,74 @@
|
|
|
654
654
|
}
|
|
655
655
|
function JsonArray(content) {
|
|
656
656
|
JsonElement.call(this);
|
|
657
|
-
this.
|
|
657
|
+
this.i4j_1 = content;
|
|
658
658
|
}
|
|
659
659
|
protoOf(JsonArray).equals = function (other) {
|
|
660
|
-
return equals(this.
|
|
660
|
+
return equals(this.i4j_1, other);
|
|
661
661
|
};
|
|
662
662
|
protoOf(JsonArray).hashCode = function () {
|
|
663
|
-
return hashCode(this.
|
|
663
|
+
return hashCode(this.i4j_1);
|
|
664
664
|
};
|
|
665
665
|
protoOf(JsonArray).toString = function () {
|
|
666
|
-
return joinToString(this.
|
|
666
|
+
return joinToString(this.i4j_1, ',', '[', ']');
|
|
667
667
|
};
|
|
668
668
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
669
|
-
return this.
|
|
669
|
+
return this.i4j_1.asJsReadonlyArrayView();
|
|
670
670
|
};
|
|
671
|
-
protoOf(JsonArray).
|
|
672
|
-
return this.
|
|
671
|
+
protoOf(JsonArray).j4j = function (element) {
|
|
672
|
+
return this.i4j_1.x1(element);
|
|
673
673
|
};
|
|
674
674
|
protoOf(JsonArray).x1 = function (element) {
|
|
675
675
|
if (!(element instanceof JsonElement))
|
|
676
676
|
return false;
|
|
677
|
-
return this.
|
|
677
|
+
return this.j4j(element instanceof JsonElement ? element : THROW_CCE());
|
|
678
678
|
};
|
|
679
|
-
protoOf(JsonArray).
|
|
680
|
-
return this.
|
|
679
|
+
protoOf(JsonArray).k4j = function (elements) {
|
|
680
|
+
return this.i4j_1.y1(elements);
|
|
681
681
|
};
|
|
682
682
|
protoOf(JsonArray).y1 = function (elements) {
|
|
683
|
-
return this.
|
|
683
|
+
return this.k4j(elements);
|
|
684
684
|
};
|
|
685
685
|
protoOf(JsonArray).u = function (index) {
|
|
686
|
-
return this.
|
|
686
|
+
return this.i4j_1.u(index);
|
|
687
687
|
};
|
|
688
|
-
protoOf(JsonArray).
|
|
689
|
-
return this.
|
|
688
|
+
protoOf(JsonArray).l4j = function (element) {
|
|
689
|
+
return this.i4j_1.z1(element);
|
|
690
690
|
};
|
|
691
691
|
protoOf(JsonArray).z1 = function (element) {
|
|
692
692
|
if (!(element instanceof JsonElement))
|
|
693
693
|
return -1;
|
|
694
|
-
return this.
|
|
694
|
+
return this.l4j(element instanceof JsonElement ? element : THROW_CCE());
|
|
695
695
|
};
|
|
696
696
|
protoOf(JsonArray).h = function () {
|
|
697
|
-
return this.
|
|
697
|
+
return this.i4j_1.h();
|
|
698
698
|
};
|
|
699
699
|
protoOf(JsonArray).p = function () {
|
|
700
|
-
return this.
|
|
700
|
+
return this.i4j_1.p();
|
|
701
701
|
};
|
|
702
|
-
protoOf(JsonArray).
|
|
703
|
-
return this.
|
|
702
|
+
protoOf(JsonArray).m4j = function (element) {
|
|
703
|
+
return this.i4j_1.a2(element);
|
|
704
704
|
};
|
|
705
705
|
protoOf(JsonArray).a2 = function (element) {
|
|
706
706
|
if (!(element instanceof JsonElement))
|
|
707
707
|
return -1;
|
|
708
|
-
return this.
|
|
708
|
+
return this.m4j(element instanceof JsonElement ? element : THROW_CCE());
|
|
709
709
|
};
|
|
710
710
|
protoOf(JsonArray).b2 = function () {
|
|
711
|
-
return this.
|
|
711
|
+
return this.i4j_1.b2();
|
|
712
712
|
};
|
|
713
713
|
protoOf(JsonArray).v = function (index) {
|
|
714
|
-
return this.
|
|
714
|
+
return this.i4j_1.v(index);
|
|
715
715
|
};
|
|
716
716
|
protoOf(JsonArray).c2 = function (fromIndex, toIndex) {
|
|
717
|
-
return this.
|
|
717
|
+
return this.i4j_1.c2(fromIndex, toIndex);
|
|
718
718
|
};
|
|
719
719
|
protoOf(JsonArray).s = function () {
|
|
720
|
-
return this.
|
|
720
|
+
return this.i4j_1.s();
|
|
721
721
|
};
|
|
722
722
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
723
723
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
724
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
724
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.a4j());
|
|
725
725
|
}
|
|
726
726
|
function get_int(_this__u8e3s4) {
|
|
727
727
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -729,7 +729,7 @@
|
|
|
729
729
|
var tmp;
|
|
730
730
|
try {
|
|
731
731
|
// Inline function 'kotlinx.serialization.json.<get-int>.<anonymous>' call
|
|
732
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
732
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.a4j())).n4j();
|
|
733
733
|
} catch ($p) {
|
|
734
734
|
var tmp_0;
|
|
735
735
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
// Inline function 'kotlin.ranges.contains' call
|
|
744
744
|
var this_0 = numberRangeToNumber(-2147483648, 2147483647);
|
|
745
745
|
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
746
|
-
throw NumberFormatException_init_$Create$(_this__u8e3s4.
|
|
746
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.a4j() + ' is not an Int');
|
|
747
747
|
return result.j1();
|
|
748
748
|
}
|
|
749
749
|
function get_long(_this__u8e3s4) {
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
var tmp;
|
|
753
753
|
try {
|
|
754
754
|
// Inline function 'kotlinx.serialization.json.<get-long>.<anonymous>' call
|
|
755
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
755
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.a4j())).n4j();
|
|
756
756
|
} catch ($p) {
|
|
757
757
|
var tmp_0;
|
|
758
758
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -767,14 +767,14 @@
|
|
|
767
767
|
function get_float(_this__u8e3s4) {
|
|
768
768
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
769
769
|
// Inline function 'kotlin.text.toFloat' call
|
|
770
|
-
var this_0 = _this__u8e3s4.
|
|
770
|
+
var this_0 = _this__u8e3s4.a4j();
|
|
771
771
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
772
772
|
// Inline function 'kotlin.js.asDynamic' call
|
|
773
773
|
return toDouble(this_0);
|
|
774
774
|
}
|
|
775
775
|
function get_double(_this__u8e3s4) {
|
|
776
776
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
777
|
-
return toDouble(_this__u8e3s4.
|
|
777
|
+
return toDouble(_this__u8e3s4.a4j());
|
|
778
778
|
}
|
|
779
779
|
function get_contentOrNull(_this__u8e3s4) {
|
|
780
780
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
783
783
|
tmp = null;
|
|
784
784
|
} else {
|
|
785
|
-
tmp = _this__u8e3s4.
|
|
785
|
+
tmp = _this__u8e3s4.a4j();
|
|
786
786
|
}
|
|
787
787
|
return tmp;
|
|
788
788
|
}
|
|
@@ -802,30 +802,30 @@
|
|
|
802
802
|
return Unit_instance;
|
|
803
803
|
}
|
|
804
804
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
805
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
805
|
+
return JsonPrimitiveSerializer_getInstance().o4j_1;
|
|
806
806
|
}
|
|
807
807
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
808
|
-
return JsonNullSerializer_getInstance().
|
|
808
|
+
return JsonNullSerializer_getInstance().p4j_1;
|
|
809
809
|
}
|
|
810
810
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
811
|
-
return JsonLiteralSerializer_getInstance().
|
|
811
|
+
return JsonLiteralSerializer_getInstance().q4j_1;
|
|
812
812
|
}
|
|
813
813
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
814
|
-
return JsonObjectSerializer_getInstance().
|
|
814
|
+
return JsonObjectSerializer_getInstance().r4j_1;
|
|
815
815
|
}
|
|
816
816
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
817
|
-
return JsonArraySerializer_getInstance().
|
|
817
|
+
return JsonArraySerializer_getInstance().s4j_1;
|
|
818
818
|
}
|
|
819
819
|
function JsonElementSerializer() {
|
|
820
820
|
JsonElementSerializer_instance = this;
|
|
821
821
|
var tmp = this;
|
|
822
822
|
var tmp_0 = SEALED_getInstance();
|
|
823
|
-
tmp.
|
|
823
|
+
tmp.t4j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
824
824
|
}
|
|
825
825
|
protoOf(JsonElementSerializer).r1m = function () {
|
|
826
|
-
return this.
|
|
826
|
+
return this.t4j_1;
|
|
827
827
|
};
|
|
828
|
-
protoOf(JsonElementSerializer).
|
|
828
|
+
protoOf(JsonElementSerializer).u4j = function (encoder, value) {
|
|
829
829
|
verify(encoder);
|
|
830
830
|
if (value instanceof JsonPrimitive) {
|
|
831
831
|
encoder.w1r(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -842,11 +842,11 @@
|
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
844
|
protoOf(JsonElementSerializer).s1m = function (encoder, value) {
|
|
845
|
-
return this.
|
|
845
|
+
return this.u4j(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
846
846
|
};
|
|
847
847
|
protoOf(JsonElementSerializer).t1m = function (decoder) {
|
|
848
848
|
var input = asJsonDecoder(decoder);
|
|
849
|
-
return input.
|
|
849
|
+
return input.z4i();
|
|
850
850
|
};
|
|
851
851
|
var JsonElementSerializer_instance;
|
|
852
852
|
function JsonElementSerializer_getInstance() {
|
|
@@ -856,12 +856,12 @@
|
|
|
856
856
|
}
|
|
857
857
|
function JsonPrimitiveSerializer() {
|
|
858
858
|
JsonPrimitiveSerializer_instance = this;
|
|
859
|
-
this.
|
|
859
|
+
this.o4j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
860
860
|
}
|
|
861
861
|
protoOf(JsonPrimitiveSerializer).r1m = function () {
|
|
862
|
-
return this.
|
|
862
|
+
return this.o4j_1;
|
|
863
863
|
};
|
|
864
|
-
protoOf(JsonPrimitiveSerializer).
|
|
864
|
+
protoOf(JsonPrimitiveSerializer).v4j = function (encoder, value) {
|
|
865
865
|
verify(encoder);
|
|
866
866
|
var tmp;
|
|
867
867
|
if (value instanceof JsonNull) {
|
|
@@ -875,10 +875,10 @@
|
|
|
875
875
|
return tmp;
|
|
876
876
|
};
|
|
877
877
|
protoOf(JsonPrimitiveSerializer).s1m = function (encoder, value) {
|
|
878
|
-
return this.
|
|
878
|
+
return this.v4j(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
879
879
|
};
|
|
880
880
|
protoOf(JsonPrimitiveSerializer).t1m = function (decoder) {
|
|
881
|
-
var result = asJsonDecoder(decoder).
|
|
881
|
+
var result = asJsonDecoder(decoder).z4i();
|
|
882
882
|
if (!(result instanceof JsonPrimitive))
|
|
883
883
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
884
884
|
return result;
|
|
@@ -891,41 +891,41 @@
|
|
|
891
891
|
}
|
|
892
892
|
function JsonObjectDescriptor() {
|
|
893
893
|
JsonObjectDescriptor_instance = this;
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
894
|
+
this.w4j_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).r1m();
|
|
895
|
+
this.x4j_1 = 'kotlinx.serialization.json.JsonObject';
|
|
896
896
|
}
|
|
897
897
|
protoOf(JsonObjectDescriptor).s1n = function () {
|
|
898
|
-
return this.
|
|
898
|
+
return this.x4j_1;
|
|
899
899
|
};
|
|
900
900
|
protoOf(JsonObjectDescriptor).n1o = function (index) {
|
|
901
|
-
return this.
|
|
901
|
+
return this.w4j_1.n1o(index);
|
|
902
902
|
};
|
|
903
903
|
protoOf(JsonObjectDescriptor).o1o = function (name) {
|
|
904
|
-
return this.
|
|
904
|
+
return this.w4j_1.o1o(name);
|
|
905
905
|
};
|
|
906
906
|
protoOf(JsonObjectDescriptor).p1o = function (index) {
|
|
907
|
-
return this.
|
|
907
|
+
return this.w4j_1.p1o(index);
|
|
908
908
|
};
|
|
909
909
|
protoOf(JsonObjectDescriptor).q1o = function (index) {
|
|
910
|
-
return this.
|
|
910
|
+
return this.w4j_1.q1o(index);
|
|
911
911
|
};
|
|
912
912
|
protoOf(JsonObjectDescriptor).r1o = function (index) {
|
|
913
|
-
return this.
|
|
913
|
+
return this.w4j_1.r1o(index);
|
|
914
914
|
};
|
|
915
915
|
protoOf(JsonObjectDescriptor).j1o = function () {
|
|
916
|
-
return this.
|
|
916
|
+
return this.w4j_1.j1o();
|
|
917
917
|
};
|
|
918
918
|
protoOf(JsonObjectDescriptor).f1o = function () {
|
|
919
|
-
return this.
|
|
919
|
+
return this.w4j_1.f1o();
|
|
920
920
|
};
|
|
921
921
|
protoOf(JsonObjectDescriptor).k1o = function () {
|
|
922
|
-
return this.
|
|
922
|
+
return this.w4j_1.k1o();
|
|
923
923
|
};
|
|
924
924
|
protoOf(JsonObjectDescriptor).l1o = function () {
|
|
925
|
-
return this.
|
|
925
|
+
return this.w4j_1.l1o();
|
|
926
926
|
};
|
|
927
927
|
protoOf(JsonObjectDescriptor).m1o = function () {
|
|
928
|
-
return this.
|
|
928
|
+
return this.w4j_1.m1o();
|
|
929
929
|
};
|
|
930
930
|
var JsonObjectDescriptor_instance;
|
|
931
931
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -935,17 +935,17 @@
|
|
|
935
935
|
}
|
|
936
936
|
function JsonObjectSerializer() {
|
|
937
937
|
JsonObjectSerializer_instance = this;
|
|
938
|
-
this.
|
|
938
|
+
this.r4j_1 = JsonObjectDescriptor_getInstance();
|
|
939
939
|
}
|
|
940
940
|
protoOf(JsonObjectSerializer).r1m = function () {
|
|
941
|
-
return this.
|
|
941
|
+
return this.r4j_1;
|
|
942
942
|
};
|
|
943
|
-
protoOf(JsonObjectSerializer).
|
|
943
|
+
protoOf(JsonObjectSerializer).y4j = function (encoder, value) {
|
|
944
944
|
verify(encoder);
|
|
945
945
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).s1m(encoder, value);
|
|
946
946
|
};
|
|
947
947
|
protoOf(JsonObjectSerializer).s1m = function (encoder, value) {
|
|
948
|
-
return this.
|
|
948
|
+
return this.y4j(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
949
949
|
};
|
|
950
950
|
protoOf(JsonObjectSerializer).t1m = function (decoder) {
|
|
951
951
|
verify_0(decoder);
|
|
@@ -959,41 +959,41 @@
|
|
|
959
959
|
}
|
|
960
960
|
function JsonArrayDescriptor() {
|
|
961
961
|
JsonArrayDescriptor_instance = this;
|
|
962
|
-
this.
|
|
963
|
-
this.
|
|
962
|
+
this.z4j_1 = ListSerializer(JsonElementSerializer_getInstance()).r1m();
|
|
963
|
+
this.a4k_1 = 'kotlinx.serialization.json.JsonArray';
|
|
964
964
|
}
|
|
965
965
|
protoOf(JsonArrayDescriptor).s1n = function () {
|
|
966
|
-
return this.
|
|
966
|
+
return this.a4k_1;
|
|
967
967
|
};
|
|
968
968
|
protoOf(JsonArrayDescriptor).n1o = function (index) {
|
|
969
|
-
return this.
|
|
969
|
+
return this.z4j_1.n1o(index);
|
|
970
970
|
};
|
|
971
971
|
protoOf(JsonArrayDescriptor).o1o = function (name) {
|
|
972
|
-
return this.
|
|
972
|
+
return this.z4j_1.o1o(name);
|
|
973
973
|
};
|
|
974
974
|
protoOf(JsonArrayDescriptor).p1o = function (index) {
|
|
975
|
-
return this.
|
|
975
|
+
return this.z4j_1.p1o(index);
|
|
976
976
|
};
|
|
977
977
|
protoOf(JsonArrayDescriptor).q1o = function (index) {
|
|
978
|
-
return this.
|
|
978
|
+
return this.z4j_1.q1o(index);
|
|
979
979
|
};
|
|
980
980
|
protoOf(JsonArrayDescriptor).r1o = function (index) {
|
|
981
|
-
return this.
|
|
981
|
+
return this.z4j_1.r1o(index);
|
|
982
982
|
};
|
|
983
983
|
protoOf(JsonArrayDescriptor).j1o = function () {
|
|
984
|
-
return this.
|
|
984
|
+
return this.z4j_1.j1o();
|
|
985
985
|
};
|
|
986
986
|
protoOf(JsonArrayDescriptor).f1o = function () {
|
|
987
|
-
return this.
|
|
987
|
+
return this.z4j_1.f1o();
|
|
988
988
|
};
|
|
989
989
|
protoOf(JsonArrayDescriptor).k1o = function () {
|
|
990
|
-
return this.
|
|
990
|
+
return this.z4j_1.k1o();
|
|
991
991
|
};
|
|
992
992
|
protoOf(JsonArrayDescriptor).l1o = function () {
|
|
993
|
-
return this.
|
|
993
|
+
return this.z4j_1.l1o();
|
|
994
994
|
};
|
|
995
995
|
protoOf(JsonArrayDescriptor).m1o = function () {
|
|
996
|
-
return this.
|
|
996
|
+
return this.z4j_1.m1o();
|
|
997
997
|
};
|
|
998
998
|
var JsonArrayDescriptor_instance;
|
|
999
999
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1003,17 +1003,17 @@
|
|
|
1003
1003
|
}
|
|
1004
1004
|
function JsonArraySerializer() {
|
|
1005
1005
|
JsonArraySerializer_instance = this;
|
|
1006
|
-
this.
|
|
1006
|
+
this.s4j_1 = JsonArrayDescriptor_getInstance();
|
|
1007
1007
|
}
|
|
1008
1008
|
protoOf(JsonArraySerializer).r1m = function () {
|
|
1009
|
-
return this.
|
|
1009
|
+
return this.s4j_1;
|
|
1010
1010
|
};
|
|
1011
|
-
protoOf(JsonArraySerializer).
|
|
1011
|
+
protoOf(JsonArraySerializer).b4k = function (encoder, value) {
|
|
1012
1012
|
verify(encoder);
|
|
1013
1013
|
ListSerializer(JsonElementSerializer_getInstance()).s1m(encoder, value);
|
|
1014
1014
|
};
|
|
1015
1015
|
protoOf(JsonArraySerializer).s1m = function (encoder, value) {
|
|
1016
|
-
return this.
|
|
1016
|
+
return this.b4k(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1017
1017
|
};
|
|
1018
1018
|
protoOf(JsonArraySerializer).t1m = function (decoder) {
|
|
1019
1019
|
verify_0(decoder);
|
|
@@ -1030,17 +1030,17 @@
|
|
|
1030
1030
|
}
|
|
1031
1031
|
function JsonNullSerializer() {
|
|
1032
1032
|
JsonNullSerializer_instance = this;
|
|
1033
|
-
this.
|
|
1033
|
+
this.p4j_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
1034
1034
|
}
|
|
1035
1035
|
protoOf(JsonNullSerializer).r1m = function () {
|
|
1036
|
-
return this.
|
|
1036
|
+
return this.p4j_1;
|
|
1037
1037
|
};
|
|
1038
|
-
protoOf(JsonNullSerializer).
|
|
1038
|
+
protoOf(JsonNullSerializer).c4k = function (encoder, value) {
|
|
1039
1039
|
verify(encoder);
|
|
1040
1040
|
encoder.z1q();
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(JsonNullSerializer).s1m = function (encoder, value) {
|
|
1043
|
-
return this.
|
|
1043
|
+
return this.c4k(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
1044
1044
|
};
|
|
1045
1045
|
protoOf(JsonNullSerializer).t1m = function (decoder) {
|
|
1046
1046
|
verify_0(decoder);
|
|
@@ -1058,27 +1058,27 @@
|
|
|
1058
1058
|
}
|
|
1059
1059
|
function JsonLiteralSerializer() {
|
|
1060
1060
|
JsonLiteralSerializer_instance = this;
|
|
1061
|
-
this.
|
|
1061
|
+
this.q4j_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
1062
1062
|
}
|
|
1063
1063
|
protoOf(JsonLiteralSerializer).r1m = function () {
|
|
1064
|
-
return this.
|
|
1064
|
+
return this.q4j_1;
|
|
1065
1065
|
};
|
|
1066
|
-
protoOf(JsonLiteralSerializer).
|
|
1066
|
+
protoOf(JsonLiteralSerializer).d4k = function (encoder, value) {
|
|
1067
1067
|
verify(encoder);
|
|
1068
|
-
if (value.
|
|
1069
|
-
return encoder.i1r(value.
|
|
1068
|
+
if (value.f4j_1) {
|
|
1069
|
+
return encoder.i1r(value.h4j_1);
|
|
1070
1070
|
}
|
|
1071
|
-
if (!(value.
|
|
1072
|
-
return encoder.k1r(value.
|
|
1071
|
+
if (!(value.g4j_1 == null)) {
|
|
1072
|
+
return encoder.k1r(value.g4j_1).i1r(value.h4j_1);
|
|
1073
1073
|
}
|
|
1074
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
1074
|
+
var tmp0_safe_receiver = toLongOrNull(value.h4j_1);
|
|
1075
1075
|
if (tmp0_safe_receiver == null)
|
|
1076
1076
|
null;
|
|
1077
1077
|
else {
|
|
1078
1078
|
// Inline function 'kotlin.let' call
|
|
1079
1079
|
return encoder.e1r(tmp0_safe_receiver);
|
|
1080
1080
|
}
|
|
1081
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1081
|
+
var tmp1_safe_receiver = toULongOrNull(value.h4j_1);
|
|
1082
1082
|
var tmp = tmp1_safe_receiver;
|
|
1083
1083
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1084
1084
|
null;
|
|
@@ -1092,27 +1092,27 @@
|
|
|
1092
1092
|
tmp_1.e1r(tmp$ret$1);
|
|
1093
1093
|
return Unit_instance;
|
|
1094
1094
|
}
|
|
1095
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
1095
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.h4j_1);
|
|
1096
1096
|
if (tmp2_safe_receiver == null)
|
|
1097
1097
|
null;
|
|
1098
1098
|
else {
|
|
1099
1099
|
// Inline function 'kotlin.let' call
|
|
1100
1100
|
return encoder.g1r(tmp2_safe_receiver);
|
|
1101
1101
|
}
|
|
1102
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1102
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.h4j_1);
|
|
1103
1103
|
if (tmp3_safe_receiver == null)
|
|
1104
1104
|
null;
|
|
1105
1105
|
else {
|
|
1106
1106
|
// Inline function 'kotlin.let' call
|
|
1107
1107
|
return encoder.a1r(tmp3_safe_receiver);
|
|
1108
1108
|
}
|
|
1109
|
-
encoder.i1r(value.
|
|
1109
|
+
encoder.i1r(value.h4j_1);
|
|
1110
1110
|
};
|
|
1111
1111
|
protoOf(JsonLiteralSerializer).s1m = function (encoder, value) {
|
|
1112
|
-
return this.
|
|
1112
|
+
return this.d4k(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1113
1113
|
};
|
|
1114
1114
|
protoOf(JsonLiteralSerializer).t1m = function (decoder) {
|
|
1115
|
-
var result = asJsonDecoder(decoder).
|
|
1115
|
+
var result = asJsonDecoder(decoder).z4i();
|
|
1116
1116
|
if (!(result instanceof JsonLiteral))
|
|
1117
1117
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
1118
1118
|
return result;
|
|
@@ -1150,13 +1150,13 @@
|
|
|
1150
1150
|
return tmp;
|
|
1151
1151
|
}
|
|
1152
1152
|
function _get_original__l7ku1m($this) {
|
|
1153
|
-
var tmp0 = $this.
|
|
1153
|
+
var tmp0 = $this.e4k_1;
|
|
1154
1154
|
// Inline function 'kotlin.getValue' call
|
|
1155
1155
|
original$factory();
|
|
1156
1156
|
return tmp0.z();
|
|
1157
1157
|
}
|
|
1158
1158
|
function defer$1($deferred) {
|
|
1159
|
-
this.
|
|
1159
|
+
this.e4k_1 = lazy($deferred);
|
|
1160
1160
|
}
|
|
1161
1161
|
protoOf(defer$1).s1n = function () {
|
|
1162
1162
|
return _get_original__l7ku1m(this).s1n();
|
|
@@ -1190,156 +1190,156 @@
|
|
|
1190
1190
|
function JsonEncoder() {
|
|
1191
1191
|
}
|
|
1192
1192
|
function Composer(writer) {
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1193
|
+
this.f4k_1 = writer;
|
|
1194
|
+
this.g4k_1 = true;
|
|
1195
1195
|
}
|
|
1196
|
-
protoOf(Composer).g4k = function () {
|
|
1197
|
-
this.f4k_1 = true;
|
|
1198
|
-
};
|
|
1199
1196
|
protoOf(Composer).h4k = function () {
|
|
1200
|
-
|
|
1197
|
+
this.g4k_1 = true;
|
|
1201
1198
|
};
|
|
1202
1199
|
protoOf(Composer).i4k = function () {
|
|
1203
|
-
|
|
1200
|
+
return Unit_instance;
|
|
1204
1201
|
};
|
|
1205
1202
|
protoOf(Composer).j4k = function () {
|
|
1206
|
-
this.
|
|
1203
|
+
this.g4k_1 = false;
|
|
1207
1204
|
};
|
|
1208
1205
|
protoOf(Composer).k4k = function () {
|
|
1209
|
-
|
|
1206
|
+
this.g4k_1 = false;
|
|
1210
1207
|
};
|
|
1211
|
-
protoOf(Composer).l4k = function (
|
|
1212
|
-
return
|
|
1208
|
+
protoOf(Composer).l4k = function () {
|
|
1209
|
+
return Unit_instance;
|
|
1213
1210
|
};
|
|
1214
|
-
protoOf(Composer).
|
|
1215
|
-
return this.
|
|
1211
|
+
protoOf(Composer).m4k = function (v) {
|
|
1212
|
+
return this.f4k_1.n4k(v);
|
|
1216
1213
|
};
|
|
1217
|
-
protoOf(Composer).
|
|
1218
|
-
return this.
|
|
1214
|
+
protoOf(Composer).o4k = function (v) {
|
|
1215
|
+
return this.f4k_1.p4k(v);
|
|
1219
1216
|
};
|
|
1220
1217
|
protoOf(Composer).q4k = function (v) {
|
|
1221
|
-
return this.
|
|
1218
|
+
return this.f4k_1.p4k(v.toString());
|
|
1222
1219
|
};
|
|
1223
1220
|
protoOf(Composer).r4k = function (v) {
|
|
1224
|
-
return this.
|
|
1221
|
+
return this.f4k_1.p4k(v.toString());
|
|
1225
1222
|
};
|
|
1226
|
-
protoOf(Composer).
|
|
1227
|
-
return this.
|
|
1223
|
+
protoOf(Composer).s4k = function (v) {
|
|
1224
|
+
return this.f4k_1.t4k(toLong(v));
|
|
1228
1225
|
};
|
|
1229
1226
|
protoOf(Composer).u4k = function (v) {
|
|
1230
|
-
return this.
|
|
1227
|
+
return this.f4k_1.t4k(toLong(v));
|
|
1231
1228
|
};
|
|
1232
1229
|
protoOf(Composer).v4k = function (v) {
|
|
1233
|
-
return this.
|
|
1230
|
+
return this.f4k_1.t4k(toLong(v));
|
|
1234
1231
|
};
|
|
1235
1232
|
protoOf(Composer).w4k = function (v) {
|
|
1236
|
-
return this.
|
|
1233
|
+
return this.f4k_1.t4k(v);
|
|
1234
|
+
};
|
|
1235
|
+
protoOf(Composer).x4k = function (v) {
|
|
1236
|
+
return this.f4k_1.p4k(v.toString());
|
|
1237
1237
|
};
|
|
1238
|
-
protoOf(Composer).
|
|
1239
|
-
return this.
|
|
1238
|
+
protoOf(Composer).y4k = function (value) {
|
|
1239
|
+
return this.f4k_1.z4k(value);
|
|
1240
1240
|
};
|
|
1241
1241
|
function Composer_0(sb, json) {
|
|
1242
|
-
return json.
|
|
1242
|
+
return json.u4g_1.k4i_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1243
1243
|
}
|
|
1244
1244
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1245
1245
|
Composer.call(this, writer);
|
|
1246
|
-
this.
|
|
1246
|
+
this.c4l_1 = forceQuoting;
|
|
1247
1247
|
}
|
|
1248
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1249
|
-
if (this.
|
|
1248
|
+
protoOf(ComposerForUnsignedNumbers).v4k = function (v) {
|
|
1249
|
+
if (this.c4l_1) {
|
|
1250
1250
|
// Inline function 'kotlin.toUInt' call
|
|
1251
1251
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1252
|
-
this.
|
|
1252
|
+
this.y4k(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1253
1253
|
} else {
|
|
1254
1254
|
// Inline function 'kotlin.toUInt' call
|
|
1255
1255
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1256
|
-
this.
|
|
1256
|
+
this.o4k(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1257
1257
|
}
|
|
1258
1258
|
};
|
|
1259
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1260
|
-
if (this.
|
|
1259
|
+
protoOf(ComposerForUnsignedNumbers).w4k = function (v) {
|
|
1260
|
+
if (this.c4l_1) {
|
|
1261
1261
|
// Inline function 'kotlin.toULong' call
|
|
1262
1262
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1263
|
-
this.
|
|
1263
|
+
this.y4k(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1264
1264
|
} else {
|
|
1265
1265
|
// Inline function 'kotlin.toULong' call
|
|
1266
1266
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1267
|
-
this.
|
|
1267
|
+
this.o4k(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1268
1268
|
}
|
|
1269
1269
|
};
|
|
1270
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1271
|
-
if (this.
|
|
1270
|
+
protoOf(ComposerForUnsignedNumbers).s4k = function (v) {
|
|
1271
|
+
if (this.c4l_1) {
|
|
1272
1272
|
// Inline function 'kotlin.toUByte' call
|
|
1273
1273
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1274
|
-
this.
|
|
1274
|
+
this.y4k(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1275
1275
|
} else {
|
|
1276
1276
|
// Inline function 'kotlin.toUByte' call
|
|
1277
1277
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1278
|
-
this.
|
|
1278
|
+
this.o4k(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1279
1279
|
}
|
|
1280
1280
|
};
|
|
1281
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1282
|
-
if (this.
|
|
1281
|
+
protoOf(ComposerForUnsignedNumbers).u4k = function (v) {
|
|
1282
|
+
if (this.c4l_1) {
|
|
1283
1283
|
// Inline function 'kotlin.toUShort' call
|
|
1284
1284
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1285
|
-
this.
|
|
1285
|
+
this.y4k(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1286
1286
|
} else {
|
|
1287
1287
|
// Inline function 'kotlin.toUShort' call
|
|
1288
1288
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1289
|
-
this.
|
|
1289
|
+
this.o4k(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1290
1290
|
}
|
|
1291
1291
|
};
|
|
1292
1292
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1293
1293
|
Composer.call(this, writer);
|
|
1294
|
-
this.
|
|
1294
|
+
this.f4l_1 = forceQuoting;
|
|
1295
1295
|
}
|
|
1296
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1297
|
-
if (this.
|
|
1298
|
-
protoOf(Composer).
|
|
1296
|
+
protoOf(ComposerForUnquotedLiterals).y4k = function (value) {
|
|
1297
|
+
if (this.f4l_1) {
|
|
1298
|
+
protoOf(Composer).y4k.call(this, value);
|
|
1299
1299
|
} else {
|
|
1300
|
-
protoOf(Composer).
|
|
1300
|
+
protoOf(Composer).o4k.call(this, value);
|
|
1301
1301
|
}
|
|
1302
1302
|
};
|
|
1303
1303
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1304
1304
|
Composer.call(this, writer);
|
|
1305
|
-
this.
|
|
1306
|
-
this.
|
|
1305
|
+
this.i4l_1 = json;
|
|
1306
|
+
this.j4l_1 = 0;
|
|
1307
1307
|
}
|
|
1308
|
-
protoOf(ComposerWithPrettyPrint).g4k = function () {
|
|
1309
|
-
this.f4k_1 = true;
|
|
1310
|
-
this.i4l_1 = this.i4l_1 + 1 | 0;
|
|
1311
|
-
};
|
|
1312
1308
|
protoOf(ComposerWithPrettyPrint).h4k = function () {
|
|
1313
|
-
this.
|
|
1309
|
+
this.g4k_1 = true;
|
|
1310
|
+
this.j4l_1 = this.j4l_1 + 1 | 0;
|
|
1314
1311
|
};
|
|
1315
1312
|
protoOf(ComposerWithPrettyPrint).i4k = function () {
|
|
1316
|
-
this.
|
|
1317
|
-
|
|
1313
|
+
this.j4l_1 = this.j4l_1 - 1 | 0;
|
|
1314
|
+
};
|
|
1315
|
+
protoOf(ComposerWithPrettyPrint).j4k = function () {
|
|
1316
|
+
this.g4k_1 = false;
|
|
1317
|
+
this.o4k('\n');
|
|
1318
1318
|
// Inline function 'kotlin.repeat' call
|
|
1319
|
-
var times = this.
|
|
1319
|
+
var times = this.j4l_1;
|
|
1320
1320
|
var inductionVariable = 0;
|
|
1321
1321
|
if (inductionVariable < times)
|
|
1322
1322
|
do {
|
|
1323
1323
|
var index = inductionVariable;
|
|
1324
1324
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1325
1325
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
1326
|
-
this.
|
|
1326
|
+
this.o4k(this.i4l_1.u4g_1.m4i_1);
|
|
1327
1327
|
}
|
|
1328
1328
|
while (inductionVariable < times);
|
|
1329
1329
|
};
|
|
1330
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1331
|
-
if (this.
|
|
1332
|
-
this.
|
|
1330
|
+
protoOf(ComposerWithPrettyPrint).k4k = function () {
|
|
1331
|
+
if (this.g4k_1)
|
|
1332
|
+
this.g4k_1 = false;
|
|
1333
1333
|
else {
|
|
1334
|
-
this.
|
|
1334
|
+
this.j4k();
|
|
1335
1335
|
}
|
|
1336
1336
|
};
|
|
1337
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1338
|
-
this.
|
|
1337
|
+
protoOf(ComposerWithPrettyPrint).l4k = function () {
|
|
1338
|
+
this.m4k(_Char___init__impl__6a9atx(32));
|
|
1339
1339
|
};
|
|
1340
1340
|
function readIfAbsent($this, descriptor, index) {
|
|
1341
|
-
$this.
|
|
1342
|
-
return $this.
|
|
1341
|
+
$this.l4l_1 = (!descriptor.r1o(index) && descriptor.q1o(index).f1o());
|
|
1342
|
+
return $this.l4l_1;
|
|
1343
1343
|
}
|
|
1344
1344
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1345
1345
|
var l = function (p0, p1) {
|
|
@@ -1350,21 +1350,21 @@
|
|
|
1350
1350
|
}
|
|
1351
1351
|
function JsonElementMarker(descriptor) {
|
|
1352
1352
|
var tmp = this;
|
|
1353
|
-
tmp.
|
|
1354
|
-
this.
|
|
1353
|
+
tmp.k4l_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1354
|
+
this.l4l_1 = false;
|
|
1355
1355
|
}
|
|
1356
|
-
protoOf(JsonElementMarker).
|
|
1357
|
-
this.
|
|
1356
|
+
protoOf(JsonElementMarker).m4l = function (index) {
|
|
1357
|
+
this.k4l_1.k1w(index);
|
|
1358
1358
|
};
|
|
1359
|
-
protoOf(JsonElementMarker).
|
|
1360
|
-
return this.
|
|
1359
|
+
protoOf(JsonElementMarker).n4l = function () {
|
|
1360
|
+
return this.k4l_1.l1w();
|
|
1361
1361
|
};
|
|
1362
1362
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1363
1363
|
entity = entity === VOID ? 'object' : entity;
|
|
1364
|
-
_this__u8e3s4.
|
|
1364
|
+
_this__u8e3s4.o4l('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.i4h_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them.");
|
|
1365
1365
|
}
|
|
1366
1366
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1367
|
-
_this__u8e3s4.
|
|
1367
|
+
_this__u8e3s4.p4l('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1368
1368
|
}
|
|
1369
1369
|
function JsonEncodingException(message) {
|
|
1370
1370
|
JsonException.call(this, message);
|
|
@@ -1444,7 +1444,7 @@
|
|
|
1444
1444
|
var index = _this__u8e3s4.o1o(name);
|
|
1445
1445
|
if (!(index === -3))
|
|
1446
1446
|
return index;
|
|
1447
|
-
if (!json.
|
|
1447
|
+
if (!json.u4g_1.r4i_1)
|
|
1448
1448
|
return index;
|
|
1449
1449
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1450
1450
|
}
|
|
@@ -1463,17 +1463,17 @@
|
|
|
1463
1463
|
}
|
|
1464
1464
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1465
1465
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1466
|
-
return equals(_this__u8e3s4.j1o(), CLASS_getInstance()) ? json.
|
|
1466
|
+
return equals(_this__u8e3s4.j1o(), CLASS_getInstance()) ? json.u4g_1.s4i_1 : null;
|
|
1467
1467
|
}
|
|
1468
1468
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1469
1469
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1470
1470
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1471
1471
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1472
|
-
return tmp.
|
|
1472
|
+
return tmp.r4l(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1473
1473
|
}
|
|
1474
1474
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1475
1475
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1476
|
-
return _this__u8e3s4.
|
|
1476
|
+
return _this__u8e3s4.u4g_1.t4i_1 && equals(descriptor.j1o(), ENUM_getInstance());
|
|
1477
1477
|
}
|
|
1478
1478
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1479
1479
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1484,7 +1484,7 @@
|
|
|
1484
1484
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1485
1485
|
var tmp = get_schemaCache(json);
|
|
1486
1486
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1487
|
-
return tmp.
|
|
1487
|
+
return tmp.r4l(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1488
1488
|
}
|
|
1489
1489
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1490
1490
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
1512
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1513
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1513
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s4l_1;
|
|
1514
1514
|
if (tmp1_safe_receiver == null)
|
|
1515
1515
|
null;
|
|
1516
1516
|
else {
|
|
@@ -1538,7 +1538,7 @@
|
|
|
1538
1538
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1539
1539
|
tmp_0 = _this__u8e3s4.n1o(i).toLowerCase();
|
|
1540
1540
|
} else if (!(strategyForClasses == null)) {
|
|
1541
|
-
tmp_0 = strategyForClasses.
|
|
1541
|
+
tmp_0 = strategyForClasses.t4l(_this__u8e3s4, i, _this__u8e3s4.n1o(i));
|
|
1542
1542
|
} else {
|
|
1543
1543
|
tmp_0 = null;
|
|
1544
1544
|
}
|
|
@@ -1586,7 +1586,7 @@
|
|
|
1586
1586
|
while (tmp < tmp_0) {
|
|
1587
1587
|
var tmp_2 = tmp;
|
|
1588
1588
|
var baseName = $this_serializationNamesIndices.n1o(tmp_2);
|
|
1589
|
-
tmp_1[tmp_2] = $strategy.
|
|
1589
|
+
tmp_1[tmp_2] = $strategy.t4l($this_serializationNamesIndices, tmp_2, baseName);
|
|
1590
1590
|
tmp = tmp + 1 | 0;
|
|
1591
1591
|
}
|
|
1592
1592
|
return tmp_1;
|
|
@@ -1607,14 +1607,14 @@
|
|
|
1607
1607
|
return Tombstone_instance;
|
|
1608
1608
|
}
|
|
1609
1609
|
function resize($this) {
|
|
1610
|
-
var newSize = imul($this.
|
|
1611
|
-
$this.
|
|
1612
|
-
$this.
|
|
1610
|
+
var newSize = imul($this.w4l_1, 2);
|
|
1611
|
+
$this.u4l_1 = copyOf($this.u4l_1, newSize);
|
|
1612
|
+
$this.v4l_1 = copyOf_0($this.v4l_1, newSize);
|
|
1613
1613
|
}
|
|
1614
1614
|
function JsonPath() {
|
|
1615
1615
|
var tmp = this;
|
|
1616
1616
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1617
|
-
tmp.
|
|
1617
|
+
tmp.u4l_1 = fillArrayVal(Array(8), null);
|
|
1618
1618
|
var tmp_0 = this;
|
|
1619
1619
|
var tmp_1 = 0;
|
|
1620
1620
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1622,73 +1622,73 @@
|
|
|
1622
1622
|
tmp_2[tmp_1] = -1;
|
|
1623
1623
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1624
1624
|
}
|
|
1625
|
-
tmp_0.
|
|
1626
|
-
this.
|
|
1625
|
+
tmp_0.v4l_1 = tmp_2;
|
|
1626
|
+
this.w4l_1 = -1;
|
|
1627
1627
|
}
|
|
1628
|
-
protoOf(JsonPath).
|
|
1629
|
-
this.
|
|
1630
|
-
var depth = this.
|
|
1631
|
-
if (depth === this.
|
|
1628
|
+
protoOf(JsonPath).x4l = function (sd) {
|
|
1629
|
+
this.w4l_1 = this.w4l_1 + 1 | 0;
|
|
1630
|
+
var depth = this.w4l_1;
|
|
1631
|
+
if (depth === this.u4l_1.length) {
|
|
1632
1632
|
resize(this);
|
|
1633
1633
|
}
|
|
1634
|
-
this.
|
|
1634
|
+
this.u4l_1[depth] = sd;
|
|
1635
1635
|
};
|
|
1636
|
-
protoOf(JsonPath).
|
|
1637
|
-
this.
|
|
1636
|
+
protoOf(JsonPath).y4l = function (index) {
|
|
1637
|
+
this.v4l_1[this.w4l_1] = index;
|
|
1638
1638
|
};
|
|
1639
|
-
protoOf(JsonPath).
|
|
1639
|
+
protoOf(JsonPath).z4l = function (key) {
|
|
1640
1640
|
var tmp;
|
|
1641
|
-
if (!(this.
|
|
1642
|
-
this.
|
|
1643
|
-
tmp = this.
|
|
1641
|
+
if (!(this.v4l_1[this.w4l_1] === -2)) {
|
|
1642
|
+
this.w4l_1 = this.w4l_1 + 1 | 0;
|
|
1643
|
+
tmp = this.w4l_1 === this.u4l_1.length;
|
|
1644
1644
|
} else {
|
|
1645
1645
|
tmp = false;
|
|
1646
1646
|
}
|
|
1647
1647
|
if (tmp) {
|
|
1648
1648
|
resize(this);
|
|
1649
1649
|
}
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1650
|
+
this.u4l_1[this.w4l_1] = key;
|
|
1651
|
+
this.v4l_1[this.w4l_1] = -2;
|
|
1652
1652
|
};
|
|
1653
|
-
protoOf(JsonPath).
|
|
1654
|
-
if (this.
|
|
1655
|
-
this.
|
|
1653
|
+
protoOf(JsonPath).a4m = function () {
|
|
1654
|
+
if (this.v4l_1[this.w4l_1] === -2) {
|
|
1655
|
+
this.u4l_1[this.w4l_1] = Tombstone_instance;
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
1658
|
-
protoOf(JsonPath).
|
|
1659
|
-
var depth = this.
|
|
1660
|
-
if (this.
|
|
1661
|
-
this.
|
|
1662
|
-
this.
|
|
1658
|
+
protoOf(JsonPath).b4m = function () {
|
|
1659
|
+
var depth = this.w4l_1;
|
|
1660
|
+
if (this.v4l_1[depth] === -2) {
|
|
1661
|
+
this.v4l_1[depth] = -1;
|
|
1662
|
+
this.w4l_1 = this.w4l_1 - 1 | 0;
|
|
1663
1663
|
}
|
|
1664
|
-
if (!(this.
|
|
1665
|
-
this.
|
|
1664
|
+
if (!(this.w4l_1 === -1)) {
|
|
1665
|
+
this.w4l_1 = this.w4l_1 - 1 | 0;
|
|
1666
1666
|
}
|
|
1667
1667
|
};
|
|
1668
|
-
protoOf(JsonPath).
|
|
1668
|
+
protoOf(JsonPath).c4m = function () {
|
|
1669
1669
|
// Inline function 'kotlin.text.buildString' call
|
|
1670
1670
|
// Inline function 'kotlin.apply' call
|
|
1671
1671
|
var this_0 = StringBuilder_init_$Create$();
|
|
1672
1672
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1673
1673
|
this_0.o8('$');
|
|
1674
1674
|
// Inline function 'kotlin.repeat' call
|
|
1675
|
-
var times = this.
|
|
1675
|
+
var times = this.w4l_1 + 1 | 0;
|
|
1676
1676
|
var inductionVariable = 0;
|
|
1677
1677
|
if (inductionVariable < times)
|
|
1678
1678
|
do {
|
|
1679
1679
|
var index = inductionVariable;
|
|
1680
1680
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1681
1681
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1682
|
-
var element = this.
|
|
1682
|
+
var element = this.u4l_1[index];
|
|
1683
1683
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1684
1684
|
if (equals(element.j1o(), LIST_getInstance())) {
|
|
1685
|
-
if (!(this.
|
|
1685
|
+
if (!(this.v4l_1[index] === -1)) {
|
|
1686
1686
|
this_0.o8('[');
|
|
1687
|
-
this_0.wc(this.
|
|
1687
|
+
this_0.wc(this.v4l_1[index]);
|
|
1688
1688
|
this_0.o8(']');
|
|
1689
1689
|
}
|
|
1690
1690
|
} else {
|
|
1691
|
-
var idx = this.
|
|
1691
|
+
var idx = this.v4l_1[index];
|
|
1692
1692
|
if (idx >= 0) {
|
|
1693
1693
|
this_0.o8('.');
|
|
1694
1694
|
this_0.o8(element.n1o(idx));
|
|
@@ -1708,7 +1708,7 @@
|
|
|
1708
1708
|
return this_0.toString();
|
|
1709
1709
|
};
|
|
1710
1710
|
protoOf(JsonPath).toString = function () {
|
|
1711
|
-
return this.
|
|
1711
|
+
return this.c4m();
|
|
1712
1712
|
};
|
|
1713
1713
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1714
1714
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1720,35 +1720,35 @@
|
|
|
1720
1720
|
}
|
|
1721
1721
|
function readObject($this) {
|
|
1722
1722
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1723
|
-
var lastToken = $this.
|
|
1724
|
-
if ($this.
|
|
1725
|
-
$this.
|
|
1723
|
+
var lastToken = $this.m4m_1.q4m(6);
|
|
1724
|
+
if ($this.m4m_1.r4m() === 4) {
|
|
1725
|
+
$this.m4m_1.p4l('Unexpected leading comma');
|
|
1726
1726
|
}
|
|
1727
1727
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1728
1728
|
var result = LinkedHashMap_init_$Create$();
|
|
1729
|
-
$l$loop: while ($this.
|
|
1730
|
-
var key = $this.
|
|
1731
|
-
$this.
|
|
1729
|
+
$l$loop: while ($this.m4m_1.s4m()) {
|
|
1730
|
+
var key = $this.n4m_1 ? $this.m4m_1.u4m() : $this.m4m_1.t4m();
|
|
1731
|
+
$this.m4m_1.q4m(5);
|
|
1732
1732
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1733
|
-
var element = $this.
|
|
1733
|
+
var element = $this.v4m();
|
|
1734
1734
|
// Inline function 'kotlin.collections.set' call
|
|
1735
1735
|
result.n2(key, element);
|
|
1736
|
-
lastToken = $this.
|
|
1736
|
+
lastToken = $this.m4m_1.w4m();
|
|
1737
1737
|
var tmp0_subject = lastToken;
|
|
1738
1738
|
if (tmp0_subject !== 4)
|
|
1739
1739
|
if (tmp0_subject === 7)
|
|
1740
1740
|
break $l$loop;
|
|
1741
1741
|
else {
|
|
1742
|
-
$this.
|
|
1742
|
+
$this.m4m_1.p4l('Expected end of the object or comma');
|
|
1743
1743
|
}
|
|
1744
1744
|
}
|
|
1745
1745
|
if (lastToken === 6) {
|
|
1746
|
-
$this.
|
|
1746
|
+
$this.m4m_1.q4m(7);
|
|
1747
1747
|
} else if (lastToken === 4) {
|
|
1748
|
-
if (!$this.
|
|
1749
|
-
invalidTrailingComma($this.
|
|
1748
|
+
if (!$this.o4m_1) {
|
|
1749
|
+
invalidTrailingComma($this.m4m_1);
|
|
1750
1750
|
}
|
|
1751
|
-
$this.
|
|
1751
|
+
$this.m4m_1.q4m(7);
|
|
1752
1752
|
}
|
|
1753
1753
|
return new JsonObject(result);
|
|
1754
1754
|
}
|
|
@@ -1759,44 +1759,44 @@
|
|
|
1759
1759
|
return tmp.l9();
|
|
1760
1760
|
}
|
|
1761
1761
|
function readArray($this) {
|
|
1762
|
-
var lastToken = $this.
|
|
1763
|
-
if ($this.
|
|
1764
|
-
$this.
|
|
1762
|
+
var lastToken = $this.m4m_1.w4m();
|
|
1763
|
+
if ($this.m4m_1.r4m() === 4) {
|
|
1764
|
+
$this.m4m_1.p4l('Unexpected leading comma');
|
|
1765
1765
|
}
|
|
1766
1766
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1767
1767
|
var result = ArrayList_init_$Create$();
|
|
1768
|
-
while ($this.
|
|
1769
|
-
var element = $this.
|
|
1768
|
+
while ($this.m4m_1.s4m()) {
|
|
1769
|
+
var element = $this.v4m();
|
|
1770
1770
|
result.k(element);
|
|
1771
|
-
lastToken = $this.
|
|
1771
|
+
lastToken = $this.m4m_1.w4m();
|
|
1772
1772
|
if (!(lastToken === 4)) {
|
|
1773
|
-
var tmp0 = $this.
|
|
1773
|
+
var tmp0 = $this.m4m_1;
|
|
1774
1774
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1775
1775
|
var condition = lastToken === 9;
|
|
1776
|
-
var position = tmp0.
|
|
1776
|
+
var position = tmp0.i4h_1;
|
|
1777
1777
|
if (!condition) {
|
|
1778
1778
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1779
1779
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1780
|
-
tmp0.
|
|
1780
|
+
tmp0.p4l(tmp$ret$1, position);
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
1783
|
}
|
|
1784
1784
|
if (lastToken === 8) {
|
|
1785
|
-
$this.
|
|
1785
|
+
$this.m4m_1.q4m(9);
|
|
1786
1786
|
} else if (lastToken === 4) {
|
|
1787
|
-
if (!$this.
|
|
1788
|
-
invalidTrailingComma($this.
|
|
1787
|
+
if (!$this.o4m_1) {
|
|
1788
|
+
invalidTrailingComma($this.m4m_1, 'array');
|
|
1789
1789
|
}
|
|
1790
|
-
$this.
|
|
1790
|
+
$this.m4m_1.q4m(9);
|
|
1791
1791
|
}
|
|
1792
1792
|
return new JsonArray(result);
|
|
1793
1793
|
}
|
|
1794
1794
|
function readValue($this, isString) {
|
|
1795
1795
|
var tmp;
|
|
1796
|
-
if ($this.
|
|
1797
|
-
tmp = $this.
|
|
1796
|
+
if ($this.n4m_1 || !isString) {
|
|
1797
|
+
tmp = $this.m4m_1.u4m();
|
|
1798
1798
|
} else {
|
|
1799
|
-
tmp = $this.
|
|
1799
|
+
tmp = $this.m4m_1.t4m();
|
|
1800
1800
|
}
|
|
1801
1801
|
var string = tmp;
|
|
1802
1802
|
if (!isString && string === 'null')
|
|
@@ -1807,18 +1807,18 @@
|
|
|
1807
1807
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1808
1808
|
}
|
|
1809
1809
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1810
|
-
this.
|
|
1810
|
+
this.u4n_1 = this$0;
|
|
1811
1811
|
CoroutineImpl.call(this, resultContinuation);
|
|
1812
1812
|
}
|
|
1813
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1814
|
-
var tmp = this.
|
|
1813
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).z4n = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1814
|
+
var tmp = this.a4o($this$DeepRecursiveFunction, it, $completion);
|
|
1815
1815
|
tmp.f9_1 = Unit_instance;
|
|
1816
1816
|
tmp.g9_1 = null;
|
|
1817
1817
|
return tmp.l9();
|
|
1818
1818
|
};
|
|
1819
1819
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).w9 = function (p1, p2, $completion) {
|
|
1820
1820
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1821
|
-
return this.
|
|
1821
|
+
return this.z4n(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1822
1822
|
};
|
|
1823
1823
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).l9 = function () {
|
|
1824
1824
|
var suspendResult = this.f9_1;
|
|
@@ -1828,32 +1828,32 @@
|
|
|
1828
1828
|
switch (tmp) {
|
|
1829
1829
|
case 0:
|
|
1830
1830
|
this.e9_1 = 3;
|
|
1831
|
-
this.
|
|
1832
|
-
if (this.
|
|
1833
|
-
this.
|
|
1831
|
+
this.x4n_1 = this.u4n_1.m4m_1.r4m();
|
|
1832
|
+
if (this.x4n_1 === 1) {
|
|
1833
|
+
this.y4n_1 = readValue(this.u4n_1, true);
|
|
1834
1834
|
this.d9_1 = 2;
|
|
1835
1835
|
continue $sm;
|
|
1836
1836
|
} else {
|
|
1837
|
-
if (this.
|
|
1838
|
-
this.
|
|
1837
|
+
if (this.x4n_1 === 0) {
|
|
1838
|
+
this.y4n_1 = readValue(this.u4n_1, false);
|
|
1839
1839
|
this.d9_1 = 2;
|
|
1840
1840
|
continue $sm;
|
|
1841
1841
|
} else {
|
|
1842
|
-
if (this.
|
|
1842
|
+
if (this.x4n_1 === 6) {
|
|
1843
1843
|
this.d9_1 = 1;
|
|
1844
|
-
suspendResult = readObject_0(this.
|
|
1844
|
+
suspendResult = readObject_0(this.v4n_1, this.u4n_1, this);
|
|
1845
1845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1846
1846
|
return suspendResult;
|
|
1847
1847
|
}
|
|
1848
1848
|
continue $sm;
|
|
1849
1849
|
} else {
|
|
1850
|
-
if (this.
|
|
1851
|
-
this.
|
|
1850
|
+
if (this.x4n_1 === 8) {
|
|
1851
|
+
this.y4n_1 = readArray(this.u4n_1);
|
|
1852
1852
|
this.d9_1 = 2;
|
|
1853
1853
|
continue $sm;
|
|
1854
1854
|
} else {
|
|
1855
1855
|
var tmp_0 = this;
|
|
1856
|
-
this.
|
|
1856
|
+
this.u4n_1.m4m_1.p4l("Can't begin reading element, unexpected token");
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
@@ -1861,11 +1861,11 @@
|
|
|
1861
1861
|
|
|
1862
1862
|
break;
|
|
1863
1863
|
case 1:
|
|
1864
|
-
this.
|
|
1864
|
+
this.y4n_1 = suspendResult;
|
|
1865
1865
|
this.d9_1 = 2;
|
|
1866
1866
|
continue $sm;
|
|
1867
1867
|
case 2:
|
|
1868
|
-
return this.
|
|
1868
|
+
return this.y4n_1;
|
|
1869
1869
|
case 3:
|
|
1870
1870
|
throw this.g9_1;
|
|
1871
1871
|
}
|
|
@@ -1880,24 +1880,24 @@
|
|
|
1880
1880
|
}
|
|
1881
1881
|
while (true);
|
|
1882
1882
|
};
|
|
1883
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1884
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1885
|
-
i.
|
|
1886
|
-
i.
|
|
1883
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).a4o = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1884
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.u4n_1, completion);
|
|
1885
|
+
i.v4n_1 = $this$DeepRecursiveFunction;
|
|
1886
|
+
i.w4n_1 = it;
|
|
1887
1887
|
return i;
|
|
1888
1888
|
};
|
|
1889
1889
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1890
1890
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1891
1891
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1892
|
-
return i.
|
|
1892
|
+
return i.z4n($this$DeepRecursiveFunction, it, $completion);
|
|
1893
1893
|
};
|
|
1894
1894
|
l.$arity = 2;
|
|
1895
1895
|
return l;
|
|
1896
1896
|
}
|
|
1897
1897
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1898
1898
|
CoroutineImpl.call(this, resultContinuation);
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1899
|
+
this.f4n_1 = _this__u8e3s4;
|
|
1900
|
+
this.g4n_1 = _this__u8e3s4_0;
|
|
1901
1901
|
}
|
|
1902
1902
|
protoOf($readObjectCOROUTINE$0).l9 = function () {
|
|
1903
1903
|
var suspendResult = this.f9_1;
|
|
@@ -1908,27 +1908,27 @@
|
|
|
1908
1908
|
case 0:
|
|
1909
1909
|
this.e9_1 = 5;
|
|
1910
1910
|
var tmp_0 = this;
|
|
1911
|
-
tmp_0.
|
|
1912
|
-
this.
|
|
1913
|
-
this.
|
|
1914
|
-
if (this.
|
|
1915
|
-
this.
|
|
1911
|
+
tmp_0.h4n_1 = this.f4n_1;
|
|
1912
|
+
this.i4n_1 = this.h4n_1;
|
|
1913
|
+
this.j4n_1 = this.i4n_1.m4m_1.q4m(6);
|
|
1914
|
+
if (this.i4n_1.m4m_1.r4m() === 4) {
|
|
1915
|
+
this.i4n_1.m4m_1.p4l('Unexpected leading comma');
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
1918
|
var tmp_1 = this;
|
|
1919
|
-
tmp_1.
|
|
1919
|
+
tmp_1.k4n_1 = LinkedHashMap_init_$Create$();
|
|
1920
1920
|
this.d9_1 = 1;
|
|
1921
1921
|
continue $sm;
|
|
1922
1922
|
case 1:
|
|
1923
|
-
if (!this.
|
|
1923
|
+
if (!this.i4n_1.m4m_1.s4m()) {
|
|
1924
1924
|
this.d9_1 = 4;
|
|
1925
1925
|
continue $sm;
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
-
this.
|
|
1929
|
-
this.
|
|
1928
|
+
this.l4n_1 = this.i4n_1.n4m_1 ? this.i4n_1.m4m_1.u4m() : this.i4n_1.m4m_1.t4m();
|
|
1929
|
+
this.i4n_1.m4m_1.q4m(5);
|
|
1930
1930
|
this.d9_1 = 2;
|
|
1931
|
-
suspendResult = this.
|
|
1931
|
+
suspendResult = this.g4n_1.yj(Unit_instance, this);
|
|
1932
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1933
1933
|
return suspendResult;
|
|
1934
1934
|
}
|
|
@@ -1936,11 +1936,11 @@
|
|
|
1936
1936
|
continue $sm;
|
|
1937
1937
|
case 2:
|
|
1938
1938
|
var element = suspendResult;
|
|
1939
|
-
var tmp0 = this.
|
|
1940
|
-
var key = this.
|
|
1939
|
+
var tmp0 = this.k4n_1;
|
|
1940
|
+
var key = this.l4n_1;
|
|
1941
1941
|
tmp0.n2(key, element);
|
|
1942
|
-
this.
|
|
1943
|
-
var tmp0_subject = this.
|
|
1942
|
+
this.j4n_1 = this.i4n_1.m4m_1.w4m();
|
|
1943
|
+
var tmp0_subject = this.j4n_1;
|
|
1944
1944
|
if (tmp0_subject === 4) {
|
|
1945
1945
|
this.d9_1 = 3;
|
|
1946
1946
|
continue $sm;
|
|
@@ -1949,7 +1949,7 @@
|
|
|
1949
1949
|
this.d9_1 = 4;
|
|
1950
1950
|
continue $sm;
|
|
1951
1951
|
} else {
|
|
1952
|
-
this.
|
|
1952
|
+
this.i4n_1.m4m_1.p4l('Expected end of the object or comma');
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
1955
|
|
|
@@ -1958,16 +1958,16 @@
|
|
|
1958
1958
|
this.d9_1 = 1;
|
|
1959
1959
|
continue $sm;
|
|
1960
1960
|
case 4:
|
|
1961
|
-
if (this.
|
|
1962
|
-
this.
|
|
1963
|
-
} else if (this.
|
|
1964
|
-
if (!this.
|
|
1965
|
-
invalidTrailingComma(this.
|
|
1961
|
+
if (this.j4n_1 === 6) {
|
|
1962
|
+
this.i4n_1.m4m_1.q4m(7);
|
|
1963
|
+
} else if (this.j4n_1 === 4) {
|
|
1964
|
+
if (!this.i4n_1.o4m_1) {
|
|
1965
|
+
invalidTrailingComma(this.i4n_1.m4m_1);
|
|
1966
1966
|
}
|
|
1967
|
-
this.
|
|
1967
|
+
this.i4n_1.m4m_1.q4m(7);
|
|
1968
1968
|
}
|
|
1969
1969
|
|
|
1970
|
-
return new JsonObject(this.
|
|
1970
|
+
return new JsonObject(this.k4n_1);
|
|
1971
1971
|
case 5:
|
|
1972
1972
|
throw this.g9_1;
|
|
1973
1973
|
}
|
|
@@ -1983,13 +1983,13 @@
|
|
|
1983
1983
|
while (true);
|
|
1984
1984
|
};
|
|
1985
1985
|
function JsonTreeReader(configuration, lexer) {
|
|
1986
|
-
this.
|
|
1987
|
-
this.
|
|
1988
|
-
this.
|
|
1989
|
-
this.
|
|
1986
|
+
this.m4m_1 = lexer;
|
|
1987
|
+
this.n4m_1 = configuration.i4i_1;
|
|
1988
|
+
this.o4m_1 = configuration.u4i_1;
|
|
1989
|
+
this.p4m_1 = 0;
|
|
1990
1990
|
}
|
|
1991
|
-
protoOf(JsonTreeReader).
|
|
1992
|
-
var token = this.
|
|
1991
|
+
protoOf(JsonTreeReader).v4m = function () {
|
|
1992
|
+
var token = this.m4m_1.r4m();
|
|
1993
1993
|
var tmp;
|
|
1994
1994
|
if (token === 1) {
|
|
1995
1995
|
tmp = readValue(this, true);
|
|
@@ -1997,19 +1997,19 @@
|
|
|
1997
1997
|
tmp = readValue(this, false);
|
|
1998
1998
|
} else if (token === 6) {
|
|
1999
1999
|
var tmp_0;
|
|
2000
|
-
this.
|
|
2001
|
-
if (this.
|
|
2000
|
+
this.p4m_1 = this.p4m_1 + 1 | 0;
|
|
2001
|
+
if (this.p4m_1 === 200) {
|
|
2002
2002
|
tmp_0 = readDeepRecursive(this);
|
|
2003
2003
|
} else {
|
|
2004
2004
|
tmp_0 = readObject(this);
|
|
2005
2005
|
}
|
|
2006
2006
|
var result = tmp_0;
|
|
2007
|
-
this.
|
|
2007
|
+
this.p4m_1 = this.p4m_1 - 1 | 0;
|
|
2008
2008
|
tmp = result;
|
|
2009
2009
|
} else if (token === 8) {
|
|
2010
2010
|
tmp = readArray(this);
|
|
2011
2011
|
} else {
|
|
2012
|
-
this.
|
|
2012
|
+
this.m4m_1.p4l('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2013
2013
|
}
|
|
2014
2014
|
return tmp;
|
|
2015
2015
|
};
|
|
@@ -2018,9 +2018,9 @@
|
|
|
2018
2018
|
while (_iterator__ex2g4s.q()) {
|
|
2019
2019
|
var annotation = _iterator__ex2g4s.r();
|
|
2020
2020
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2021
|
-
return annotation.
|
|
2021
|
+
return annotation.x4i_1;
|
|
2022
2022
|
}
|
|
2023
|
-
return json.
|
|
2023
|
+
return json.u4g_1.p4i_1;
|
|
2024
2024
|
}
|
|
2025
2025
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2026
2026
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2064,7 +2064,7 @@
|
|
|
2064
2064
|
if (tmp) {
|
|
2065
2065
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.db() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
2066
2066
|
}
|
|
2067
|
-
if ($this.
|
|
2067
|
+
if ($this.b4o_1)
|
|
2068
2068
|
return Unit_instance;
|
|
2069
2069
|
var tmp_0;
|
|
2070
2070
|
var tmp_1;
|
|
@@ -2090,22 +2090,22 @@
|
|
|
2090
2090
|
var i = inductionVariable;
|
|
2091
2091
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2092
2092
|
var name = descriptor.n1o(i);
|
|
2093
|
-
if (name === $this.
|
|
2093
|
+
if (name === $this.c4o_1) {
|
|
2094
2094
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation ' + 'or fall back to array polymorphism');
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
while (inductionVariable < last);
|
|
2098
2098
|
}
|
|
2099
2099
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
2100
|
-
this.
|
|
2101
|
-
this.
|
|
2100
|
+
this.b4o_1 = useArrayPolymorphism;
|
|
2101
|
+
this.c4o_1 = discriminator;
|
|
2102
2102
|
}
|
|
2103
2103
|
protoOf(PolymorphismValidator).v26 = function (kClass, provider) {
|
|
2104
2104
|
};
|
|
2105
2105
|
protoOf(PolymorphismValidator).y26 = function (baseClass, actualClass, actualSerializer) {
|
|
2106
2106
|
var descriptor = actualSerializer.r1m();
|
|
2107
2107
|
checkKind_0(this, descriptor, actualClass);
|
|
2108
|
-
if (!this.
|
|
2108
|
+
if (!this.b4o_1) {
|
|
2109
2109
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
2110
2110
|
}
|
|
2111
2111
|
};
|
|
@@ -2116,11 +2116,11 @@
|
|
|
2116
2116
|
function Key() {
|
|
2117
2117
|
}
|
|
2118
2118
|
function DescriptorSchemaCache() {
|
|
2119
|
-
this.
|
|
2119
|
+
this.q4l_1 = createMapForCache(16);
|
|
2120
2120
|
}
|
|
2121
|
-
protoOf(DescriptorSchemaCache).
|
|
2121
|
+
protoOf(DescriptorSchemaCache).d4o = function (descriptor, key, value) {
|
|
2122
2122
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2123
|
-
var this_0 = this.
|
|
2123
|
+
var this_0 = this.q4l_1;
|
|
2124
2124
|
var value_0 = this_0.k2(descriptor);
|
|
2125
2125
|
var tmp;
|
|
2126
2126
|
if (value_0 == null) {
|
|
@@ -2137,8 +2137,8 @@
|
|
|
2137
2137
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2138
2138
|
tmp2.n2(tmp3, value_1);
|
|
2139
2139
|
};
|
|
2140
|
-
protoOf(DescriptorSchemaCache).
|
|
2141
|
-
var tmp0_safe_receiver = this.
|
|
2140
|
+
protoOf(DescriptorSchemaCache).r4l = function (descriptor, key, defaultValue) {
|
|
2141
|
+
var tmp0_safe_receiver = this.e4o(descriptor, key);
|
|
2142
2142
|
if (tmp0_safe_receiver == null)
|
|
2143
2143
|
null;
|
|
2144
2144
|
else {
|
|
@@ -2146,11 +2146,11 @@
|
|
|
2146
2146
|
return tmp0_safe_receiver;
|
|
2147
2147
|
}
|
|
2148
2148
|
var value = defaultValue();
|
|
2149
|
-
this.
|
|
2149
|
+
this.d4o(descriptor, key, value);
|
|
2150
2150
|
return value;
|
|
2151
2151
|
};
|
|
2152
|
-
protoOf(DescriptorSchemaCache).
|
|
2153
|
-
var tmp0_safe_receiver = this.
|
|
2152
|
+
protoOf(DescriptorSchemaCache).e4o = function (descriptor, key) {
|
|
2153
|
+
var tmp0_safe_receiver = this.q4l_1.k2(descriptor);
|
|
2154
2154
|
var tmp;
|
|
2155
2155
|
if (tmp0_safe_receiver == null) {
|
|
2156
2156
|
tmp = null;
|
|
@@ -2161,13 +2161,13 @@
|
|
|
2161
2161
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2162
2162
|
};
|
|
2163
2163
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2164
|
-
this.
|
|
2164
|
+
this.f4o_1 = discriminatorToSkip;
|
|
2165
2165
|
}
|
|
2166
2166
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
2167
2167
|
if (_this__u8e3s4 == null)
|
|
2168
2168
|
return false;
|
|
2169
|
-
if (_this__u8e3s4.
|
|
2170
|
-
_this__u8e3s4.
|
|
2169
|
+
if (_this__u8e3s4.f4o_1 === unknownKey) {
|
|
2170
|
+
_this__u8e3s4.f4o_1 = null;
|
|
2171
2171
|
return true;
|
|
2172
2172
|
}
|
|
2173
2173
|
return false;
|
|
@@ -2177,57 +2177,57 @@
|
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
function checkLeadingComma($this) {
|
|
2180
|
-
if ($this.
|
|
2181
|
-
$this.
|
|
2180
|
+
if ($this.c4h_1.r4m() === 4) {
|
|
2181
|
+
$this.c4h_1.p4l('Unexpected leading comma');
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
function decodeMapIndex($this) {
|
|
2185
2185
|
var hasComma = false;
|
|
2186
|
-
var decodingKey = !(($this.
|
|
2186
|
+
var decodingKey = !(($this.e4h_1 % 2 | 0) === 0);
|
|
2187
2187
|
if (decodingKey) {
|
|
2188
|
-
if (!($this.
|
|
2189
|
-
hasComma = $this.
|
|
2188
|
+
if (!($this.e4h_1 === -1)) {
|
|
2189
|
+
hasComma = $this.c4h_1.h4o();
|
|
2190
2190
|
}
|
|
2191
2191
|
} else {
|
|
2192
|
-
$this.
|
|
2192
|
+
$this.c4h_1.g4o(_Char___init__impl__6a9atx(58));
|
|
2193
2193
|
}
|
|
2194
2194
|
var tmp;
|
|
2195
|
-
if ($this.
|
|
2195
|
+
if ($this.c4h_1.s4m()) {
|
|
2196
2196
|
if (decodingKey) {
|
|
2197
|
-
if ($this.
|
|
2198
|
-
var tmp0 = $this.
|
|
2197
|
+
if ($this.e4h_1 === -1) {
|
|
2198
|
+
var tmp0 = $this.c4h_1;
|
|
2199
2199
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2200
2200
|
var condition = !hasComma;
|
|
2201
|
-
var position = tmp0.
|
|
2201
|
+
var position = tmp0.i4h_1;
|
|
2202
2202
|
if (!condition) {
|
|
2203
2203
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2204
2204
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2205
|
-
tmp0.
|
|
2205
|
+
tmp0.p4l(tmp$ret$0, position);
|
|
2206
2206
|
}
|
|
2207
2207
|
} else {
|
|
2208
|
-
var tmp3 = $this.
|
|
2208
|
+
var tmp3 = $this.c4h_1;
|
|
2209
2209
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2210
2210
|
var condition_0 = hasComma;
|
|
2211
|
-
var position_0 = tmp3.
|
|
2211
|
+
var position_0 = tmp3.i4h_1;
|
|
2212
2212
|
if (!condition_0) {
|
|
2213
2213
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2214
2214
|
var tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
2215
|
-
tmp3.
|
|
2215
|
+
tmp3.p4l(tmp$ret$1, position_0);
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
|
-
$this.
|
|
2220
|
-
tmp = $this.
|
|
2219
|
+
$this.e4h_1 = $this.e4h_1 + 1 | 0;
|
|
2220
|
+
tmp = $this.e4h_1;
|
|
2221
2221
|
} else {
|
|
2222
|
-
if (hasComma && !$this.
|
|
2223
|
-
invalidTrailingComma($this.
|
|
2222
|
+
if (hasComma && !$this.a4h_1.u4g_1.u4i_1) {
|
|
2223
|
+
invalidTrailingComma($this.c4h_1);
|
|
2224
2224
|
}
|
|
2225
2225
|
tmp = -1;
|
|
2226
2226
|
}
|
|
2227
2227
|
return tmp;
|
|
2228
2228
|
}
|
|
2229
2229
|
function coerceInputValue($this, descriptor, index) {
|
|
2230
|
-
var tmp0 = $this.
|
|
2230
|
+
var tmp0 = $this.a4h_1;
|
|
2231
2231
|
var tmp$ret$1;
|
|
2232
2232
|
$l$block_2: {
|
|
2233
2233
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2236,7 +2236,7 @@
|
|
|
2236
2236
|
var tmp;
|
|
2237
2237
|
if (isOptional && !elementDescriptor.f1o()) {
|
|
2238
2238
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2239
|
-
tmp = $this.
|
|
2239
|
+
tmp = $this.c4h_1.i4o(true);
|
|
2240
2240
|
} else {
|
|
2241
2241
|
tmp = false;
|
|
2242
2242
|
}
|
|
@@ -2248,7 +2248,7 @@
|
|
|
2248
2248
|
var tmp_0;
|
|
2249
2249
|
if (elementDescriptor.f1o()) {
|
|
2250
2250
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2251
|
-
tmp_0 = $this.
|
|
2251
|
+
tmp_0 = $this.c4h_1.i4o(false);
|
|
2252
2252
|
} else {
|
|
2253
2253
|
tmp_0 = false;
|
|
2254
2254
|
}
|
|
@@ -2257,7 +2257,7 @@
|
|
|
2257
2257
|
break $l$block_2;
|
|
2258
2258
|
}
|
|
2259
2259
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2260
|
-
var tmp0_elvis_lhs = $this.
|
|
2260
|
+
var tmp0_elvis_lhs = $this.c4h_1.j4o($this.g4h_1.i4i_1);
|
|
2261
2261
|
var tmp_1;
|
|
2262
2262
|
if (tmp0_elvis_lhs == null) {
|
|
2263
2263
|
tmp$ret$1 = false;
|
|
@@ -2267,10 +2267,10 @@
|
|
|
2267
2267
|
}
|
|
2268
2268
|
var enumValue = tmp_1;
|
|
2269
2269
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2270
|
-
var coerceToNull = !tmp0.
|
|
2270
|
+
var coerceToNull = !tmp0.u4g_1.l4i_1 && elementDescriptor.f1o();
|
|
2271
2271
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2272
2272
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2273
|
-
$this.
|
|
2273
|
+
$this.c4h_1.t4m();
|
|
2274
2274
|
tmp$ret$1 = true;
|
|
2275
2275
|
break $l$block_2;
|
|
2276
2276
|
}
|
|
@@ -2280,24 +2280,24 @@
|
|
|
2280
2280
|
return tmp$ret$1;
|
|
2281
2281
|
}
|
|
2282
2282
|
function decodeObjectIndex($this, descriptor) {
|
|
2283
|
-
var hasComma = $this.
|
|
2284
|
-
while ($this.
|
|
2283
|
+
var hasComma = $this.c4h_1.h4o();
|
|
2284
|
+
while ($this.c4h_1.s4m()) {
|
|
2285
2285
|
hasComma = false;
|
|
2286
2286
|
var key = decodeStringKey($this);
|
|
2287
|
-
$this.
|
|
2288
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2287
|
+
$this.c4h_1.g4o(_Char___init__impl__6a9atx(58));
|
|
2288
|
+
var index = getJsonNameIndex(descriptor, $this.a4h_1, key);
|
|
2289
2289
|
var tmp;
|
|
2290
2290
|
if (!(index === -3)) {
|
|
2291
2291
|
var tmp_0;
|
|
2292
|
-
if ($this.
|
|
2293
|
-
hasComma = $this.
|
|
2292
|
+
if ($this.g4h_1.n4i_1 && coerceInputValue($this, descriptor, index)) {
|
|
2293
|
+
hasComma = $this.c4h_1.h4o();
|
|
2294
2294
|
tmp_0 = false;
|
|
2295
2295
|
} else {
|
|
2296
|
-
var tmp0_safe_receiver = $this.
|
|
2296
|
+
var tmp0_safe_receiver = $this.h4h_1;
|
|
2297
2297
|
if (tmp0_safe_receiver == null)
|
|
2298
2298
|
null;
|
|
2299
2299
|
else {
|
|
2300
|
-
tmp0_safe_receiver.
|
|
2300
|
+
tmp0_safe_receiver.m4l(index);
|
|
2301
2301
|
}
|
|
2302
2302
|
return index;
|
|
2303
2303
|
}
|
|
@@ -2310,33 +2310,33 @@
|
|
|
2310
2310
|
hasComma = handleUnknown($this, key);
|
|
2311
2311
|
}
|
|
2312
2312
|
}
|
|
2313
|
-
if (hasComma && !$this.
|
|
2314
|
-
invalidTrailingComma($this.
|
|
2313
|
+
if (hasComma && !$this.a4h_1.u4g_1.u4i_1) {
|
|
2314
|
+
invalidTrailingComma($this.c4h_1);
|
|
2315
2315
|
}
|
|
2316
|
-
var tmp1_safe_receiver = $this.
|
|
2317
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2316
|
+
var tmp1_safe_receiver = $this.h4h_1;
|
|
2317
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n4l();
|
|
2318
2318
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2319
2319
|
}
|
|
2320
2320
|
function handleUnknown($this, key) {
|
|
2321
|
-
if ($this.
|
|
2322
|
-
$this.
|
|
2321
|
+
if ($this.g4h_1.h4i_1 || trySkip($this.f4h_1, $this, key)) {
|
|
2322
|
+
$this.c4h_1.l4o($this.g4h_1.i4i_1);
|
|
2323
2323
|
} else {
|
|
2324
|
-
$this.
|
|
2324
|
+
$this.c4h_1.k4o(key);
|
|
2325
2325
|
}
|
|
2326
|
-
return $this.
|
|
2326
|
+
return $this.c4h_1.h4o();
|
|
2327
2327
|
}
|
|
2328
2328
|
function decodeListIndex($this) {
|
|
2329
|
-
var hasComma = $this.
|
|
2329
|
+
var hasComma = $this.c4h_1.h4o();
|
|
2330
2330
|
var tmp;
|
|
2331
|
-
if ($this.
|
|
2332
|
-
if (!($this.
|
|
2333
|
-
$this.
|
|
2331
|
+
if ($this.c4h_1.s4m()) {
|
|
2332
|
+
if (!($this.e4h_1 === -1) && !hasComma) {
|
|
2333
|
+
$this.c4h_1.p4l('Expected end of the array or comma');
|
|
2334
2334
|
}
|
|
2335
|
-
$this.
|
|
2336
|
-
tmp = $this.
|
|
2335
|
+
$this.e4h_1 = $this.e4h_1 + 1 | 0;
|
|
2336
|
+
tmp = $this.e4h_1;
|
|
2337
2337
|
} else {
|
|
2338
|
-
if (hasComma && !$this.
|
|
2339
|
-
invalidTrailingComma($this.
|
|
2338
|
+
if (hasComma && !$this.a4h_1.u4g_1.u4i_1) {
|
|
2339
|
+
invalidTrailingComma($this.c4h_1, 'array');
|
|
2340
2340
|
}
|
|
2341
2341
|
tmp = -1;
|
|
2342
2342
|
}
|
|
@@ -2344,32 +2344,32 @@
|
|
|
2344
2344
|
}
|
|
2345
2345
|
function decodeStringKey($this) {
|
|
2346
2346
|
var tmp;
|
|
2347
|
-
if ($this.
|
|
2348
|
-
tmp = $this.
|
|
2347
|
+
if ($this.g4h_1.i4i_1) {
|
|
2348
|
+
tmp = $this.c4h_1.n4o();
|
|
2349
2349
|
} else {
|
|
2350
|
-
tmp = $this.
|
|
2350
|
+
tmp = $this.c4h_1.m4o();
|
|
2351
2351
|
}
|
|
2352
2352
|
return tmp;
|
|
2353
2353
|
}
|
|
2354
2354
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2355
2355
|
AbstractDecoder.call(this);
|
|
2356
|
-
this.
|
|
2357
|
-
this.
|
|
2358
|
-
this.
|
|
2359
|
-
this.
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
this.
|
|
2364
|
-
}
|
|
2365
|
-
protoOf(StreamingJsonDecoder).
|
|
2366
|
-
return this.
|
|
2356
|
+
this.a4h_1 = json;
|
|
2357
|
+
this.b4h_1 = mode;
|
|
2358
|
+
this.c4h_1 = lexer;
|
|
2359
|
+
this.d4h_1 = this.a4h_1.w1n();
|
|
2360
|
+
this.e4h_1 = -1;
|
|
2361
|
+
this.f4h_1 = discriminatorHolder;
|
|
2362
|
+
this.g4h_1 = this.a4h_1.u4g_1;
|
|
2363
|
+
this.h4h_1 = this.g4h_1.l4i_1 ? null : new JsonElementMarker(descriptor);
|
|
2364
|
+
}
|
|
2365
|
+
protoOf(StreamingJsonDecoder).y4i = function () {
|
|
2366
|
+
return this.a4h_1;
|
|
2367
2367
|
};
|
|
2368
2368
|
protoOf(StreamingJsonDecoder).w1n = function () {
|
|
2369
|
-
return this.
|
|
2369
|
+
return this.d4h_1;
|
|
2370
2370
|
};
|
|
2371
|
-
protoOf(StreamingJsonDecoder).
|
|
2372
|
-
return (new JsonTreeReader(this.
|
|
2371
|
+
protoOf(StreamingJsonDecoder).z4i = function () {
|
|
2372
|
+
return (new JsonTreeReader(this.a4h_1.u4g_1, this.c4h_1)).v4m();
|
|
2373
2373
|
};
|
|
2374
2374
|
protoOf(StreamingJsonDecoder).e1q = function (deserializer) {
|
|
2375
2375
|
try {
|
|
@@ -2377,13 +2377,13 @@
|
|
|
2377
2377
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2378
2378
|
tmp = true;
|
|
2379
2379
|
} else {
|
|
2380
|
-
tmp = this.
|
|
2380
|
+
tmp = this.a4h_1.u4g_1.o4i_1;
|
|
2381
2381
|
}
|
|
2382
2382
|
if (tmp) {
|
|
2383
2383
|
return deserializer.t1m(this);
|
|
2384
2384
|
}
|
|
2385
|
-
var discriminator = classDiscriminator(deserializer.r1m(), this.
|
|
2386
|
-
var tmp0_elvis_lhs = this.
|
|
2385
|
+
var discriminator = classDiscriminator(deserializer.r1m(), this.a4h_1);
|
|
2386
|
+
var tmp0_elvis_lhs = this.c4h_1.o4o(discriminator, this.g4h_1.i4i_1);
|
|
2387
2387
|
var tmp_0;
|
|
2388
2388
|
if (tmp0_elvis_lhs == null) {
|
|
2389
2389
|
var tmp1 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2394,21 +2394,21 @@
|
|
|
2394
2394
|
if (!(tmp1 instanceof AbstractPolymorphicSerializer)) {
|
|
2395
2395
|
tmp_1 = true;
|
|
2396
2396
|
} else {
|
|
2397
|
-
tmp_1 = this.
|
|
2397
|
+
tmp_1 = this.y4i().u4g_1.o4i_1;
|
|
2398
2398
|
}
|
|
2399
2399
|
if (tmp_1) {
|
|
2400
2400
|
tmp$ret$0 = tmp1.t1m(this);
|
|
2401
2401
|
break $l$block;
|
|
2402
2402
|
}
|
|
2403
|
-
var discriminator_0 = classDiscriminator(tmp1.r1m(), this.
|
|
2404
|
-
var tmp0 = this.
|
|
2403
|
+
var discriminator_0 = classDiscriminator(tmp1.r1m(), this.y4i());
|
|
2404
|
+
var tmp0 = this.z4i();
|
|
2405
2405
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2406
2406
|
var serialName = tmp1.r1m().s1n();
|
|
2407
2407
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2408
2408
|
var tmp_2 = getKClass(JsonObject).db();
|
|
2409
2409
|
var tmp_3 = getKClassFromExpression(tmp0).db();
|
|
2410
2410
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue.<anonymous>' call
|
|
2411
|
-
var tmp$ret$1 = this.
|
|
2411
|
+
var tmp$ret$1 = this.c4h_1.j4h_1.c4m();
|
|
2412
2412
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2413
2413
|
}
|
|
2414
2414
|
var jsonTree = tmp0;
|
|
@@ -2429,7 +2429,7 @@
|
|
|
2429
2429
|
}
|
|
2430
2430
|
var tmp_6 = tmp_4;
|
|
2431
2431
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2432
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2432
|
+
tmp$ret$0 = readPolymorphicJson(this.y4i(), discriminator_0, jsonTree, actualSerializer);
|
|
2433
2433
|
}
|
|
2434
2434
|
return tmp$ret$0;
|
|
2435
2435
|
} else {
|
|
@@ -2445,7 +2445,7 @@
|
|
|
2445
2445
|
var it_0 = $p;
|
|
2446
2446
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2447
2447
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2448
|
-
this.
|
|
2448
|
+
this.c4h_1.p4l(message, VOID, hint);
|
|
2449
2449
|
} else {
|
|
2450
2450
|
throw $p;
|
|
2451
2451
|
}
|
|
@@ -2453,37 +2453,37 @@
|
|
|
2453
2453
|
}
|
|
2454
2454
|
var tmp_9 = tmp_7;
|
|
2455
2455
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2456
|
-
this.
|
|
2456
|
+
this.f4h_1 = new DiscriminatorHolder(discriminator);
|
|
2457
2457
|
return actualSerializer_0.t1m(this);
|
|
2458
2458
|
} catch ($p) {
|
|
2459
2459
|
if ($p instanceof MissingFieldException) {
|
|
2460
2460
|
var e = $p;
|
|
2461
2461
|
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2462
2462
|
throw e;
|
|
2463
|
-
throw new MissingFieldException(e.z1n_1, plus(e.message, ' at path: ') + this.
|
|
2463
|
+
throw new MissingFieldException(e.z1n_1, plus(e.message, ' at path: ') + this.c4h_1.j4h_1.c4m(), e);
|
|
2464
2464
|
} else {
|
|
2465
2465
|
throw $p;
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
2468
2468
|
};
|
|
2469
2469
|
protoOf(StreamingJsonDecoder).f1q = function (descriptor) {
|
|
2470
|
-
var newMode = switchMode(this.
|
|
2471
|
-
this.
|
|
2472
|
-
this.
|
|
2470
|
+
var newMode = switchMode(this.a4h_1, descriptor);
|
|
2471
|
+
this.c4h_1.j4h_1.x4l(descriptor);
|
|
2472
|
+
this.c4h_1.g4o(newMode.r4o_1);
|
|
2473
2473
|
checkLeadingComma(this);
|
|
2474
2474
|
var tmp;
|
|
2475
2475
|
switch (newMode.r2_1) {
|
|
2476
2476
|
case 1:
|
|
2477
2477
|
case 2:
|
|
2478
2478
|
case 3:
|
|
2479
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2479
|
+
tmp = new StreamingJsonDecoder(this.a4h_1, newMode, this.c4h_1, descriptor, this.f4h_1);
|
|
2480
2480
|
break;
|
|
2481
2481
|
default:
|
|
2482
2482
|
var tmp_0;
|
|
2483
|
-
if (this.
|
|
2483
|
+
if (this.b4h_1.equals(newMode) && this.a4h_1.u4g_1.l4i_1) {
|
|
2484
2484
|
tmp_0 = this;
|
|
2485
2485
|
} else {
|
|
2486
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2486
|
+
tmp_0 = new StreamingJsonDecoder(this.a4h_1, newMode, this.c4h_1, descriptor, this.f4h_1);
|
|
2487
2487
|
}
|
|
2488
2488
|
|
|
2489
2489
|
tmp = tmp_0;
|
|
@@ -2492,21 +2492,21 @@
|
|
|
2492
2492
|
return tmp;
|
|
2493
2493
|
};
|
|
2494
2494
|
protoOf(StreamingJsonDecoder).g1q = function (descriptor) {
|
|
2495
|
-
if (this.
|
|
2495
|
+
if (this.a4h_1.u4g_1.h4i_1 && descriptor.l1o() === 0) {
|
|
2496
2496
|
skipLeftoverElements(this, descriptor);
|
|
2497
2497
|
}
|
|
2498
|
-
if (this.
|
|
2499
|
-
invalidTrailingComma(this.
|
|
2498
|
+
if (this.c4h_1.h4o() && !this.a4h_1.u4g_1.u4i_1) {
|
|
2499
|
+
invalidTrailingComma(this.c4h_1, '');
|
|
2500
2500
|
}
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2501
|
+
this.c4h_1.g4o(this.b4h_1.s4o_1);
|
|
2502
|
+
this.c4h_1.j4h_1.b4m();
|
|
2503
2503
|
};
|
|
2504
2504
|
protoOf(StreamingJsonDecoder).q1p = function () {
|
|
2505
2505
|
var tmp;
|
|
2506
|
-
var tmp0_safe_receiver = this.
|
|
2507
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2506
|
+
var tmp0_safe_receiver = this.h4h_1;
|
|
2507
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l4l_1;
|
|
2508
2508
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2509
|
-
tmp = !this.
|
|
2509
|
+
tmp = !this.c4h_1.t4o();
|
|
2510
2510
|
} else {
|
|
2511
2511
|
tmp = false;
|
|
2512
2512
|
}
|
|
@@ -2516,19 +2516,19 @@
|
|
|
2516
2516
|
return null;
|
|
2517
2517
|
};
|
|
2518
2518
|
protoOf(StreamingJsonDecoder).r1q = function (descriptor, index, deserializer, previousValue) {
|
|
2519
|
-
var isMapKey = this.
|
|
2519
|
+
var isMapKey = this.b4h_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2520
2520
|
if (isMapKey) {
|
|
2521
|
-
this.
|
|
2521
|
+
this.c4h_1.j4h_1.a4m();
|
|
2522
2522
|
}
|
|
2523
2523
|
var value = protoOf(AbstractDecoder).r1q.call(this, descriptor, index, deserializer, previousValue);
|
|
2524
2524
|
if (isMapKey) {
|
|
2525
|
-
this.
|
|
2525
|
+
this.c4h_1.j4h_1.z4l(value);
|
|
2526
2526
|
}
|
|
2527
2527
|
return value;
|
|
2528
2528
|
};
|
|
2529
2529
|
protoOf(StreamingJsonDecoder).v1q = function (descriptor) {
|
|
2530
2530
|
var index;
|
|
2531
|
-
switch (this.
|
|
2531
|
+
switch (this.b4h_1.r2_1) {
|
|
2532
2532
|
case 0:
|
|
2533
2533
|
index = decodeObjectIndex(this, descriptor);
|
|
2534
2534
|
break;
|
|
@@ -2539,44 +2539,44 @@
|
|
|
2539
2539
|
index = decodeListIndex(this);
|
|
2540
2540
|
break;
|
|
2541
2541
|
}
|
|
2542
|
-
if (!this.
|
|
2543
|
-
this.
|
|
2542
|
+
if (!this.b4h_1.equals(WriteMode_MAP_getInstance())) {
|
|
2543
|
+
this.c4h_1.j4h_1.y4l(index);
|
|
2544
2544
|
}
|
|
2545
2545
|
return index;
|
|
2546
2546
|
};
|
|
2547
2547
|
protoOf(StreamingJsonDecoder).s1p = function () {
|
|
2548
|
-
return this.
|
|
2548
|
+
return this.c4h_1.u4o();
|
|
2549
2549
|
};
|
|
2550
2550
|
protoOf(StreamingJsonDecoder).t1p = function () {
|
|
2551
|
-
var value = this.
|
|
2551
|
+
var value = this.c4h_1.n4j();
|
|
2552
2552
|
if (!value.equals(toLong(value.o3()))) {
|
|
2553
|
-
this.
|
|
2553
|
+
this.c4h_1.p4l("Failed to parse byte for input '" + value.toString() + "'");
|
|
2554
2554
|
}
|
|
2555
2555
|
return value.o3();
|
|
2556
2556
|
};
|
|
2557
2557
|
protoOf(StreamingJsonDecoder).u1p = function () {
|
|
2558
|
-
var value = this.
|
|
2558
|
+
var value = this.c4h_1.n4j();
|
|
2559
2559
|
if (!value.equals(toLong(value.p3()))) {
|
|
2560
|
-
this.
|
|
2560
|
+
this.c4h_1.p4l("Failed to parse short for input '" + value.toString() + "'");
|
|
2561
2561
|
}
|
|
2562
2562
|
return value.p3();
|
|
2563
2563
|
};
|
|
2564
2564
|
protoOf(StreamingJsonDecoder).v1p = function () {
|
|
2565
|
-
var value = this.
|
|
2565
|
+
var value = this.c4h_1.n4j();
|
|
2566
2566
|
if (!value.equals(toLong(value.j1()))) {
|
|
2567
|
-
this.
|
|
2567
|
+
this.c4h_1.p4l("Failed to parse int for input '" + value.toString() + "'");
|
|
2568
2568
|
}
|
|
2569
2569
|
return value.j1();
|
|
2570
2570
|
};
|
|
2571
2571
|
protoOf(StreamingJsonDecoder).w1p = function () {
|
|
2572
|
-
return this.
|
|
2572
|
+
return this.c4h_1.n4j();
|
|
2573
2573
|
};
|
|
2574
2574
|
protoOf(StreamingJsonDecoder).x1p = function () {
|
|
2575
|
-
var tmp0 = this.
|
|
2575
|
+
var tmp0 = this.c4h_1;
|
|
2576
2576
|
var tmp$ret$4;
|
|
2577
2577
|
$l$block: {
|
|
2578
2578
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2579
|
-
var input = tmp0.
|
|
2579
|
+
var input = tmp0.u4m();
|
|
2580
2580
|
try {
|
|
2581
2581
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2582
2582
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2587,24 +2587,24 @@
|
|
|
2587
2587
|
} catch ($p) {
|
|
2588
2588
|
if ($p instanceof IllegalArgumentException) {
|
|
2589
2589
|
var e = $p;
|
|
2590
|
-
tmp0.
|
|
2590
|
+
tmp0.p4l("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2591
2591
|
} else {
|
|
2592
2592
|
throw $p;
|
|
2593
2593
|
}
|
|
2594
2594
|
}
|
|
2595
2595
|
}
|
|
2596
2596
|
var result = tmp$ret$4;
|
|
2597
|
-
var specialFp = this.
|
|
2597
|
+
var specialFp = this.a4h_1.u4g_1.q4i_1;
|
|
2598
2598
|
if (specialFp || isFinite(result))
|
|
2599
2599
|
return result;
|
|
2600
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2600
|
+
throwInvalidFloatingPointDecoded(this.c4h_1, result);
|
|
2601
2601
|
};
|
|
2602
2602
|
protoOf(StreamingJsonDecoder).y1p = function () {
|
|
2603
|
-
var tmp0 = this.
|
|
2603
|
+
var tmp0 = this.c4h_1;
|
|
2604
2604
|
var tmp$ret$1;
|
|
2605
2605
|
$l$block: {
|
|
2606
2606
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2607
|
-
var input = tmp0.
|
|
2607
|
+
var input = tmp0.u4m();
|
|
2608
2608
|
try {
|
|
2609
2609
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2610
2610
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2612,58 +2612,58 @@
|
|
|
2612
2612
|
} catch ($p) {
|
|
2613
2613
|
if ($p instanceof IllegalArgumentException) {
|
|
2614
2614
|
var e = $p;
|
|
2615
|
-
tmp0.
|
|
2615
|
+
tmp0.p4l("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2616
2616
|
} else {
|
|
2617
2617
|
throw $p;
|
|
2618
2618
|
}
|
|
2619
2619
|
}
|
|
2620
2620
|
}
|
|
2621
2621
|
var result = tmp$ret$1;
|
|
2622
|
-
var specialFp = this.
|
|
2622
|
+
var specialFp = this.a4h_1.u4g_1.q4i_1;
|
|
2623
2623
|
if (specialFp || isFinite_0(result))
|
|
2624
2624
|
return result;
|
|
2625
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2625
|
+
throwInvalidFloatingPointDecoded(this.c4h_1, result);
|
|
2626
2626
|
};
|
|
2627
2627
|
protoOf(StreamingJsonDecoder).z1p = function () {
|
|
2628
|
-
var string = this.
|
|
2628
|
+
var string = this.c4h_1.u4m();
|
|
2629
2629
|
if (!(string.length === 1)) {
|
|
2630
|
-
this.
|
|
2630
|
+
this.c4h_1.p4l("Expected single char, but got '" + string + "'");
|
|
2631
2631
|
}
|
|
2632
2632
|
return charSequenceGet(string, 0);
|
|
2633
2633
|
};
|
|
2634
2634
|
protoOf(StreamingJsonDecoder).a1q = function () {
|
|
2635
2635
|
var tmp;
|
|
2636
|
-
if (this.
|
|
2637
|
-
tmp = this.
|
|
2636
|
+
if (this.g4h_1.i4i_1) {
|
|
2637
|
+
tmp = this.c4h_1.n4o();
|
|
2638
2638
|
} else {
|
|
2639
|
-
tmp = this.
|
|
2639
|
+
tmp = this.c4h_1.t4m();
|
|
2640
2640
|
}
|
|
2641
2641
|
return tmp;
|
|
2642
2642
|
};
|
|
2643
2643
|
protoOf(StreamingJsonDecoder).c1q = function (descriptor) {
|
|
2644
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2644
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.c4h_1, this.a4h_1) : protoOf(AbstractDecoder).c1q.call(this, descriptor);
|
|
2645
2645
|
};
|
|
2646
2646
|
protoOf(StreamingJsonDecoder).b1q = function (enumDescriptor) {
|
|
2647
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2647
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.a4h_1, this.a1q(), ' at path ' + this.c4h_1.j4h_1.c4m());
|
|
2648
2648
|
};
|
|
2649
2649
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2650
2650
|
AbstractDecoder.call(this);
|
|
2651
|
-
this.
|
|
2652
|
-
this.
|
|
2651
|
+
this.v4o_1 = lexer;
|
|
2652
|
+
this.w4o_1 = json.w1n();
|
|
2653
2653
|
}
|
|
2654
2654
|
protoOf(JsonDecoderForUnsignedTypes).w1n = function () {
|
|
2655
|
-
return this.
|
|
2655
|
+
return this.w4o_1;
|
|
2656
2656
|
};
|
|
2657
2657
|
protoOf(JsonDecoderForUnsignedTypes).v1q = function (descriptor) {
|
|
2658
2658
|
var message = 'unsupported';
|
|
2659
2659
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2660
2660
|
};
|
|
2661
2661
|
protoOf(JsonDecoderForUnsignedTypes).v1p = function () {
|
|
2662
|
-
var tmp0 = this.
|
|
2662
|
+
var tmp0 = this.v4o_1;
|
|
2663
2663
|
var tmp$ret$2;
|
|
2664
2664
|
$l$block: {
|
|
2665
2665
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2666
|
-
var input = tmp0.
|
|
2666
|
+
var input = tmp0.u4m();
|
|
2667
2667
|
try {
|
|
2668
2668
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2669
2669
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2673,7 +2673,7 @@
|
|
|
2673
2673
|
} catch ($p) {
|
|
2674
2674
|
if ($p instanceof IllegalArgumentException) {
|
|
2675
2675
|
var e = $p;
|
|
2676
|
-
tmp0.
|
|
2676
|
+
tmp0.p4l("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2677
2677
|
} else {
|
|
2678
2678
|
throw $p;
|
|
2679
2679
|
}
|
|
@@ -2682,11 +2682,11 @@
|
|
|
2682
2682
|
return tmp$ret$2;
|
|
2683
2683
|
};
|
|
2684
2684
|
protoOf(JsonDecoderForUnsignedTypes).w1p = function () {
|
|
2685
|
-
var tmp0 = this.
|
|
2685
|
+
var tmp0 = this.v4o_1;
|
|
2686
2686
|
var tmp$ret$2;
|
|
2687
2687
|
$l$block: {
|
|
2688
2688
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2689
|
-
var input = tmp0.
|
|
2689
|
+
var input = tmp0.u4m();
|
|
2690
2690
|
try {
|
|
2691
2691
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2692
2692
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
} catch ($p) {
|
|
2697
2697
|
if ($p instanceof IllegalArgumentException) {
|
|
2698
2698
|
var e = $p;
|
|
2699
|
-
tmp0.
|
|
2699
|
+
tmp0.p4l("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2700
2700
|
} else {
|
|
2701
2701
|
throw $p;
|
|
2702
2702
|
}
|
|
@@ -2705,11 +2705,11 @@
|
|
|
2705
2705
|
return tmp$ret$2;
|
|
2706
2706
|
};
|
|
2707
2707
|
protoOf(JsonDecoderForUnsignedTypes).t1p = function () {
|
|
2708
|
-
var tmp0 = this.
|
|
2708
|
+
var tmp0 = this.v4o_1;
|
|
2709
2709
|
var tmp$ret$2;
|
|
2710
2710
|
$l$block: {
|
|
2711
2711
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2712
|
-
var input = tmp0.
|
|
2712
|
+
var input = tmp0.u4m();
|
|
2713
2713
|
try {
|
|
2714
2714
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2715
2715
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2719,7 +2719,7 @@
|
|
|
2719
2719
|
} catch ($p) {
|
|
2720
2720
|
if ($p instanceof IllegalArgumentException) {
|
|
2721
2721
|
var e = $p;
|
|
2722
|
-
tmp0.
|
|
2722
|
+
tmp0.p4l("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2723
2723
|
} else {
|
|
2724
2724
|
throw $p;
|
|
2725
2725
|
}
|
|
@@ -2728,11 +2728,11 @@
|
|
|
2728
2728
|
return tmp$ret$2;
|
|
2729
2729
|
};
|
|
2730
2730
|
protoOf(JsonDecoderForUnsignedTypes).u1p = function () {
|
|
2731
|
-
var tmp0 = this.
|
|
2731
|
+
var tmp0 = this.v4o_1;
|
|
2732
2732
|
var tmp$ret$2;
|
|
2733
2733
|
$l$block: {
|
|
2734
2734
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2735
|
-
var input = tmp0.
|
|
2735
|
+
var input = tmp0.u4m();
|
|
2736
2736
|
try {
|
|
2737
2737
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2738
2738
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2742,7 +2742,7 @@
|
|
|
2742
2742
|
} catch ($p) {
|
|
2743
2743
|
if ($p instanceof IllegalArgumentException) {
|
|
2744
2744
|
var e = $p;
|
|
2745
|
-
tmp0.
|
|
2745
|
+
tmp0.p4l("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2746
2746
|
} else {
|
|
2747
2747
|
throw $p;
|
|
2748
2748
|
}
|
|
@@ -2763,53 +2763,53 @@
|
|
|
2763
2763
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2764
2764
|
}
|
|
2765
2765
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2766
|
-
$this.
|
|
2766
|
+
$this.d4m_1.j4k();
|
|
2767
2767
|
$this.i1r(discriminator);
|
|
2768
|
-
$this.
|
|
2769
|
-
$this.
|
|
2768
|
+
$this.d4m_1.m4k(_Char___init__impl__6a9atx(58));
|
|
2769
|
+
$this.d4m_1.l4k();
|
|
2770
2770
|
$this.i1r(serialName);
|
|
2771
2771
|
}
|
|
2772
2772
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2773
2773
|
AbstractEncoder.call(this);
|
|
2774
|
-
this.
|
|
2775
|
-
this.
|
|
2776
|
-
this.
|
|
2777
|
-
this.
|
|
2778
|
-
this.
|
|
2779
|
-
this.
|
|
2780
|
-
this.
|
|
2781
|
-
this.j4m_1 = null;
|
|
2774
|
+
this.d4m_1 = composer;
|
|
2775
|
+
this.e4m_1 = json;
|
|
2776
|
+
this.f4m_1 = mode;
|
|
2777
|
+
this.g4m_1 = modeReuseCache;
|
|
2778
|
+
this.h4m_1 = this.e4m_1.w1n();
|
|
2779
|
+
this.i4m_1 = this.e4m_1.u4g_1;
|
|
2780
|
+
this.j4m_1 = false;
|
|
2782
2781
|
this.k4m_1 = null;
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2782
|
+
this.l4m_1 = null;
|
|
2783
|
+
var i = this.f4m_1.r2_1;
|
|
2784
|
+
if (!(this.g4m_1 == null)) {
|
|
2785
|
+
if (!(this.g4m_1[i] === null) || !(this.g4m_1[i] === this)) {
|
|
2786
|
+
this.g4m_1[i] = this;
|
|
2787
2787
|
}
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
|
-
protoOf(StreamingJsonEncoder).
|
|
2791
|
-
return this.
|
|
2790
|
+
protoOf(StreamingJsonEncoder).y4i = function () {
|
|
2791
|
+
return this.e4m_1;
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(StreamingJsonEncoder).w1n = function () {
|
|
2794
|
-
return this.
|
|
2794
|
+
return this.h4m_1;
|
|
2795
2795
|
};
|
|
2796
2796
|
protoOf(StreamingJsonEncoder).b1s = function (descriptor, index) {
|
|
2797
|
-
return this.
|
|
2797
|
+
return this.i4m_1.g4i_1;
|
|
2798
2798
|
};
|
|
2799
2799
|
protoOf(StreamingJsonEncoder).w1r = function (serializer, value) {
|
|
2800
2800
|
$l$block: {
|
|
2801
2801
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2802
|
-
if (this.
|
|
2802
|
+
if (this.y4i().u4g_1.o4i_1) {
|
|
2803
2803
|
serializer.s1m(this, value);
|
|
2804
2804
|
break $l$block;
|
|
2805
2805
|
}
|
|
2806
2806
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2807
2807
|
var tmp;
|
|
2808
2808
|
if (isPolymorphicSerializer) {
|
|
2809
|
-
tmp = !this.
|
|
2809
|
+
tmp = !this.y4i().u4g_1.w4i_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2810
2810
|
} else {
|
|
2811
2811
|
var tmp_0;
|
|
2812
|
-
switch (this.
|
|
2812
|
+
switch (this.y4i().u4g_1.w4i_1.r2_1) {
|
|
2813
2813
|
case 0:
|
|
2814
2814
|
case 2:
|
|
2815
2815
|
tmp_0 = false;
|
|
@@ -2829,7 +2829,7 @@
|
|
|
2829
2829
|
tmp = tmp_0;
|
|
2830
2830
|
}
|
|
2831
2831
|
var needDiscriminator = tmp;
|
|
2832
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.r1m(), this.
|
|
2832
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.r1m(), this.y4i()) : null;
|
|
2833
2833
|
var tmp_1;
|
|
2834
2834
|
if (isPolymorphicSerializer) {
|
|
2835
2835
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2856,93 +2856,93 @@
|
|
|
2856
2856
|
if (!(baseClassDiscriminator == null)) {
|
|
2857
2857
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
2858
2858
|
var serialName = actualSerializer.r1m().s1n();
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2859
|
+
this.k4m_1 = baseClassDiscriminator;
|
|
2860
|
+
this.l4m_1 = serialName;
|
|
2861
2861
|
}
|
|
2862
2862
|
actualSerializer.s1m(this, value);
|
|
2863
2863
|
}
|
|
2864
2864
|
};
|
|
2865
2865
|
protoOf(StreamingJsonEncoder).f1q = function (descriptor) {
|
|
2866
|
-
var newMode = switchMode(this.
|
|
2867
|
-
if (!(newMode.
|
|
2868
|
-
this.
|
|
2869
|
-
this.
|
|
2866
|
+
var newMode = switchMode(this.e4m_1, descriptor);
|
|
2867
|
+
if (!(newMode.r4o_1 === _Char___init__impl__6a9atx(0))) {
|
|
2868
|
+
this.d4m_1.m4k(newMode.r4o_1);
|
|
2869
|
+
this.d4m_1.h4k();
|
|
2870
2870
|
}
|
|
2871
|
-
var discriminator = this.
|
|
2871
|
+
var discriminator = this.k4m_1;
|
|
2872
2872
|
if (!(discriminator == null)) {
|
|
2873
|
-
var tmp0_elvis_lhs = this.
|
|
2873
|
+
var tmp0_elvis_lhs = this.l4m_1;
|
|
2874
2874
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.s1n() : tmp0_elvis_lhs);
|
|
2875
|
-
this.j4m_1 = null;
|
|
2876
2875
|
this.k4m_1 = null;
|
|
2876
|
+
this.l4m_1 = null;
|
|
2877
2877
|
}
|
|
2878
|
-
if (this.
|
|
2878
|
+
if (this.f4m_1.equals(newMode)) {
|
|
2879
2879
|
return this;
|
|
2880
2880
|
}
|
|
2881
|
-
var tmp1_safe_receiver = this.
|
|
2881
|
+
var tmp1_safe_receiver = this.g4m_1;
|
|
2882
2882
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.r2_1];
|
|
2883
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2883
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.d4m_1, this.e4m_1, newMode, this.g4m_1) : tmp2_elvis_lhs;
|
|
2884
2884
|
};
|
|
2885
2885
|
protoOf(StreamingJsonEncoder).g1q = function (descriptor) {
|
|
2886
|
-
if (!(this.
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2889
|
-
this.
|
|
2886
|
+
if (!(this.f4m_1.s4o_1 === _Char___init__impl__6a9atx(0))) {
|
|
2887
|
+
this.d4m_1.i4k();
|
|
2888
|
+
this.d4m_1.k4k();
|
|
2889
|
+
this.d4m_1.m4k(this.f4m_1.s4o_1);
|
|
2890
2890
|
}
|
|
2891
2891
|
};
|
|
2892
2892
|
protoOf(StreamingJsonEncoder).x1q = function (descriptor, index) {
|
|
2893
|
-
switch (this.
|
|
2893
|
+
switch (this.f4m_1.r2_1) {
|
|
2894
2894
|
case 1:
|
|
2895
|
-
if (!this.
|
|
2896
|
-
this.
|
|
2895
|
+
if (!this.d4m_1.g4k_1) {
|
|
2896
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(44));
|
|
2897
2897
|
}
|
|
2898
2898
|
|
|
2899
|
-
this.
|
|
2899
|
+
this.d4m_1.j4k();
|
|
2900
2900
|
break;
|
|
2901
2901
|
case 2:
|
|
2902
|
-
if (!this.
|
|
2902
|
+
if (!this.d4m_1.g4k_1) {
|
|
2903
2903
|
var tmp = this;
|
|
2904
2904
|
var tmp_0;
|
|
2905
2905
|
if ((index % 2 | 0) === 0) {
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2906
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(44));
|
|
2907
|
+
this.d4m_1.j4k();
|
|
2908
2908
|
tmp_0 = true;
|
|
2909
2909
|
} else {
|
|
2910
|
-
this.
|
|
2911
|
-
this.
|
|
2910
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(58));
|
|
2911
|
+
this.d4m_1.l4k();
|
|
2912
2912
|
tmp_0 = false;
|
|
2913
2913
|
}
|
|
2914
|
-
tmp.
|
|
2914
|
+
tmp.j4m_1 = tmp_0;
|
|
2915
2915
|
} else {
|
|
2916
|
-
this.
|
|
2917
|
-
this.
|
|
2916
|
+
this.j4m_1 = true;
|
|
2917
|
+
this.d4m_1.j4k();
|
|
2918
2918
|
}
|
|
2919
2919
|
|
|
2920
2920
|
break;
|
|
2921
2921
|
case 3:
|
|
2922
2922
|
if (index === 0)
|
|
2923
|
-
this.
|
|
2923
|
+
this.j4m_1 = true;
|
|
2924
2924
|
if (index === 1) {
|
|
2925
|
-
this.
|
|
2926
|
-
this.
|
|
2927
|
-
this.
|
|
2925
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(44));
|
|
2926
|
+
this.d4m_1.l4k();
|
|
2927
|
+
this.j4m_1 = false;
|
|
2928
2928
|
}
|
|
2929
2929
|
|
|
2930
2930
|
break;
|
|
2931
2931
|
default:
|
|
2932
|
-
if (!this.
|
|
2933
|
-
this.
|
|
2932
|
+
if (!this.d4m_1.g4k_1) {
|
|
2933
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(44));
|
|
2934
2934
|
}
|
|
2935
2935
|
|
|
2936
|
-
this.
|
|
2937
|
-
this.i1r(getJsonElementName(descriptor, this.
|
|
2938
|
-
this.
|
|
2939
|
-
this.
|
|
2936
|
+
this.d4m_1.j4k();
|
|
2937
|
+
this.i1r(getJsonElementName(descriptor, this.e4m_1, index));
|
|
2938
|
+
this.d4m_1.m4k(_Char___init__impl__6a9atx(58));
|
|
2939
|
+
this.d4m_1.l4k();
|
|
2940
2940
|
break;
|
|
2941
2941
|
}
|
|
2942
2942
|
return true;
|
|
2943
2943
|
};
|
|
2944
2944
|
protoOf(StreamingJsonEncoder).x1r = function (descriptor, index, serializer, value) {
|
|
2945
|
-
if (!(value == null) || this.
|
|
2945
|
+
if (!(value == null) || this.i4m_1.l4i_1) {
|
|
2946
2946
|
protoOf(AbstractEncoder).x1r.call(this, descriptor, index, serializer, value);
|
|
2947
2947
|
}
|
|
2948
2948
|
};
|
|
@@ -2951,35 +2951,35 @@
|
|
|
2951
2951
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2952
2952
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2953
2953
|
var tmp_0;
|
|
2954
|
-
var tmp_1 = this.
|
|
2954
|
+
var tmp_1 = this.d4m_1;
|
|
2955
2955
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2956
|
-
tmp_0 = this.
|
|
2956
|
+
tmp_0 = this.d4m_1;
|
|
2957
2957
|
} else {
|
|
2958
|
-
var tmp1 = this.
|
|
2958
|
+
var tmp1 = this.d4m_1.f4k_1;
|
|
2959
2959
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
2960
|
-
var p1 = this.
|
|
2960
|
+
var p1 = this.j4m_1;
|
|
2961
2961
|
tmp_0 = new ComposerForUnsignedNumbers(tmp1, p1);
|
|
2962
2962
|
}
|
|
2963
2963
|
var tmp$ret$1 = tmp_0;
|
|
2964
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2964
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.e4m_1, this.f4m_1, null);
|
|
2965
2965
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2966
2966
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2967
2967
|
var tmp_2;
|
|
2968
|
-
var tmp_3 = this.
|
|
2968
|
+
var tmp_3 = this.d4m_1;
|
|
2969
2969
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2970
|
-
tmp_2 = this.
|
|
2970
|
+
tmp_2 = this.d4m_1;
|
|
2971
2971
|
} else {
|
|
2972
|
-
var tmp4 = this.
|
|
2972
|
+
var tmp4 = this.d4m_1.f4k_1;
|
|
2973
2973
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
2974
|
-
var p1_0 = this.
|
|
2974
|
+
var p1_0 = this.j4m_1;
|
|
2975
2975
|
tmp_2 = new ComposerForUnquotedLiterals(tmp4, p1_0);
|
|
2976
2976
|
}
|
|
2977
2977
|
var tmp$ret$3 = tmp_2;
|
|
2978
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2979
|
-
} else if (!(this.
|
|
2978
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.e4m_1, this.f4m_1, null);
|
|
2979
|
+
} else if (!(this.k4m_1 == null)) {
|
|
2980
2980
|
// Inline function 'kotlin.apply' call
|
|
2981
2981
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.<anonymous>' call
|
|
2982
|
-
this.
|
|
2982
|
+
this.l4m_1 = descriptor.s1n();
|
|
2983
2983
|
tmp = this;
|
|
2984
2984
|
} else {
|
|
2985
2985
|
tmp = protoOf(AbstractEncoder).k1r.call(this, descriptor);
|
|
@@ -2987,68 +2987,68 @@
|
|
|
2987
2987
|
return tmp;
|
|
2988
2988
|
};
|
|
2989
2989
|
protoOf(StreamingJsonEncoder).z1q = function () {
|
|
2990
|
-
this.
|
|
2990
|
+
this.d4m_1.o4k('null');
|
|
2991
2991
|
};
|
|
2992
2992
|
protoOf(StreamingJsonEncoder).a1r = function (value) {
|
|
2993
|
-
if (this.
|
|
2993
|
+
if (this.j4m_1) {
|
|
2994
2994
|
this.i1r(value.toString());
|
|
2995
2995
|
} else {
|
|
2996
|
-
this.
|
|
2996
|
+
this.d4m_1.x4k(value);
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
2999
2999
|
protoOf(StreamingJsonEncoder).b1r = function (value) {
|
|
3000
|
-
if (this.
|
|
3000
|
+
if (this.j4m_1) {
|
|
3001
3001
|
this.i1r(value.toString());
|
|
3002
3002
|
} else {
|
|
3003
|
-
this.
|
|
3003
|
+
this.d4m_1.s4k(value);
|
|
3004
3004
|
}
|
|
3005
3005
|
};
|
|
3006
3006
|
protoOf(StreamingJsonEncoder).c1r = function (value) {
|
|
3007
|
-
if (this.
|
|
3007
|
+
if (this.j4m_1) {
|
|
3008
3008
|
this.i1r(value.toString());
|
|
3009
3009
|
} else {
|
|
3010
|
-
this.
|
|
3010
|
+
this.d4m_1.u4k(value);
|
|
3011
3011
|
}
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(StreamingJsonEncoder).d1r = function (value) {
|
|
3014
|
-
if (this.
|
|
3014
|
+
if (this.j4m_1) {
|
|
3015
3015
|
this.i1r(value.toString());
|
|
3016
3016
|
} else {
|
|
3017
|
-
this.
|
|
3017
|
+
this.d4m_1.v4k(value);
|
|
3018
3018
|
}
|
|
3019
3019
|
};
|
|
3020
3020
|
protoOf(StreamingJsonEncoder).e1r = function (value) {
|
|
3021
|
-
if (this.
|
|
3021
|
+
if (this.j4m_1) {
|
|
3022
3022
|
this.i1r(value.toString());
|
|
3023
3023
|
} else {
|
|
3024
|
-
this.
|
|
3024
|
+
this.d4m_1.w4k(value);
|
|
3025
3025
|
}
|
|
3026
3026
|
};
|
|
3027
3027
|
protoOf(StreamingJsonEncoder).f1r = function (value) {
|
|
3028
|
-
if (this.
|
|
3028
|
+
if (this.j4m_1) {
|
|
3029
3029
|
this.i1r(value.toString());
|
|
3030
3030
|
} else {
|
|
3031
|
-
this.
|
|
3031
|
+
this.d4m_1.q4k(value);
|
|
3032
3032
|
}
|
|
3033
|
-
if (!this.
|
|
3034
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3033
|
+
if (!this.i4m_1.q4i_1 && !isFinite(value)) {
|
|
3034
|
+
throw InvalidFloatingPointEncoded(value, toString(this.d4m_1.f4k_1));
|
|
3035
3035
|
}
|
|
3036
3036
|
};
|
|
3037
3037
|
protoOf(StreamingJsonEncoder).g1r = function (value) {
|
|
3038
|
-
if (this.
|
|
3038
|
+
if (this.j4m_1) {
|
|
3039
3039
|
this.i1r(value.toString());
|
|
3040
3040
|
} else {
|
|
3041
|
-
this.
|
|
3041
|
+
this.d4m_1.r4k(value);
|
|
3042
3042
|
}
|
|
3043
|
-
if (!this.
|
|
3044
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3043
|
+
if (!this.i4m_1.q4i_1 && !isFinite_0(value)) {
|
|
3044
|
+
throw InvalidFloatingPointEncoded(value, toString(this.d4m_1.f4k_1));
|
|
3045
3045
|
}
|
|
3046
3046
|
};
|
|
3047
3047
|
protoOf(StreamingJsonEncoder).h1r = function (value) {
|
|
3048
3048
|
this.i1r(toString_1(value));
|
|
3049
3049
|
};
|
|
3050
3050
|
protoOf(StreamingJsonEncoder).i1r = function (value) {
|
|
3051
|
-
return this.
|
|
3051
|
+
return this.d4m_1.y4k(value);
|
|
3052
3052
|
};
|
|
3053
3053
|
protoOf(StreamingJsonEncoder).j1r = function (enumDescriptor, index) {
|
|
3054
3054
|
this.i1r(enumDescriptor.n1o(index));
|
|
@@ -3224,26 +3224,26 @@
|
|
|
3224
3224
|
}
|
|
3225
3225
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3226
3226
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3227
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3227
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.d4p(tag), toString($this.e4p()));
|
|
3228
3228
|
}
|
|
3229
3229
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3230
3230
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3231
3231
|
NamedValueDecoder.call(this);
|
|
3232
|
-
this.
|
|
3233
|
-
this.
|
|
3234
|
-
this.
|
|
3235
|
-
this.
|
|
3232
|
+
this.z4o_1 = json;
|
|
3233
|
+
this.a4p_1 = value;
|
|
3234
|
+
this.b4p_1 = polymorphicDiscriminator;
|
|
3235
|
+
this.c4p_1 = this.y4i().u4g_1;
|
|
3236
3236
|
}
|
|
3237
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3238
|
-
return this.
|
|
3237
|
+
protoOf(AbstractJsonTreeDecoder).y4i = function () {
|
|
3238
|
+
return this.z4o_1;
|
|
3239
3239
|
};
|
|
3240
3240
|
protoOf(AbstractJsonTreeDecoder).z = function () {
|
|
3241
|
-
return this.
|
|
3241
|
+
return this.a4p_1;
|
|
3242
3242
|
};
|
|
3243
3243
|
protoOf(AbstractJsonTreeDecoder).w1n = function () {
|
|
3244
|
-
return this.
|
|
3244
|
+
return this.y4i().w1n();
|
|
3245
3245
|
};
|
|
3246
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3246
|
+
protoOf(AbstractJsonTreeDecoder).e4p = function () {
|
|
3247
3247
|
var tmp0_safe_receiver = this.l24();
|
|
3248
3248
|
var tmp;
|
|
3249
3249
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3251,16 +3251,16 @@
|
|
|
3251
3251
|
} else {
|
|
3252
3252
|
// Inline function 'kotlin.let' call
|
|
3253
3253
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
3254
|
-
tmp = this.
|
|
3254
|
+
tmp = this.f4p(tmp0_safe_receiver);
|
|
3255
3255
|
}
|
|
3256
3256
|
var tmp1_elvis_lhs = tmp;
|
|
3257
3257
|
return tmp1_elvis_lhs == null ? this.z() : tmp1_elvis_lhs;
|
|
3258
3258
|
};
|
|
3259
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3259
|
+
protoOf(AbstractJsonTreeDecoder).d4p = function (currentTag) {
|
|
3260
3260
|
return this.n24() + ('.' + currentTag);
|
|
3261
3261
|
};
|
|
3262
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3263
|
-
return this.
|
|
3262
|
+
protoOf(AbstractJsonTreeDecoder).z4i = function () {
|
|
3263
|
+
return this.e4p();
|
|
3264
3264
|
};
|
|
3265
3265
|
protoOf(AbstractJsonTreeDecoder).e1q = function (deserializer) {
|
|
3266
3266
|
var tmp$ret$0;
|
|
@@ -3270,14 +3270,14 @@
|
|
|
3270
3270
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3271
3271
|
tmp = true;
|
|
3272
3272
|
} else {
|
|
3273
|
-
tmp = this.
|
|
3273
|
+
tmp = this.y4i().u4g_1.o4i_1;
|
|
3274
3274
|
}
|
|
3275
3275
|
if (tmp) {
|
|
3276
3276
|
tmp$ret$0 = deserializer.t1m(this);
|
|
3277
3277
|
break $l$block;
|
|
3278
3278
|
}
|
|
3279
|
-
var discriminator = classDiscriminator(deserializer.r1m(), this.
|
|
3280
|
-
var tmp0 = this.
|
|
3279
|
+
var discriminator = classDiscriminator(deserializer.r1m(), this.y4i());
|
|
3280
|
+
var tmp0 = this.z4i();
|
|
3281
3281
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3282
3282
|
var serialName = deserializer.r1m().s1n();
|
|
3283
3283
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3305,7 +3305,7 @@
|
|
|
3305
3305
|
}
|
|
3306
3306
|
var tmp_4 = tmp_2;
|
|
3307
3307
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3308
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3308
|
+
tmp$ret$0 = readPolymorphicJson(this.y4i(), discriminator, jsonTree, actualSerializer);
|
|
3309
3309
|
}
|
|
3310
3310
|
return tmp$ret$0;
|
|
3311
3311
|
};
|
|
@@ -3313,7 +3313,7 @@
|
|
|
3313
3313
|
return childName;
|
|
3314
3314
|
};
|
|
3315
3315
|
protoOf(AbstractJsonTreeDecoder).f1q = function (descriptor) {
|
|
3316
|
-
var currentObject = this.
|
|
3316
|
+
var currentObject = this.e4p();
|
|
3317
3317
|
var tmp0_subject = descriptor.j1o();
|
|
3318
3318
|
var tmp;
|
|
3319
3319
|
var tmp_0;
|
|
@@ -3323,7 +3323,7 @@
|
|
|
3323
3323
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3324
3324
|
}
|
|
3325
3325
|
if (tmp_0) {
|
|
3326
|
-
var tmp_1 = this.
|
|
3326
|
+
var tmp_1 = this.y4i();
|
|
3327
3327
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3328
3328
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3329
3329
|
var serialName = descriptor.s1n();
|
|
@@ -3338,7 +3338,7 @@
|
|
|
3338
3338
|
} else {
|
|
3339
3339
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3340
3340
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3341
|
-
var this_0 = this.
|
|
3341
|
+
var this_0 = this.y4i();
|
|
3342
3342
|
var keyDescriptor = carrierDescriptor(descriptor.q1o(0), this_0.w1n());
|
|
3343
3343
|
var keyKind = keyDescriptor.j1o();
|
|
3344
3344
|
var tmp_4;
|
|
@@ -3350,7 +3350,7 @@
|
|
|
3350
3350
|
}
|
|
3351
3351
|
if (tmp_5) {
|
|
3352
3352
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3353
|
-
var tmp_6 = this.
|
|
3353
|
+
var tmp_6 = this.y4i();
|
|
3354
3354
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3355
3355
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3356
3356
|
var serialName_0 = descriptor.s1n();
|
|
@@ -3363,9 +3363,9 @@
|
|
|
3363
3363
|
}
|
|
3364
3364
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3365
3365
|
} else {
|
|
3366
|
-
if (this_0.
|
|
3366
|
+
if (this_0.u4g_1.j4i_1) {
|
|
3367
3367
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3368
|
-
var tmp_9 = this.
|
|
3368
|
+
var tmp_9 = this.y4i();
|
|
3369
3369
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3370
3370
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3371
3371
|
var serialName_1 = descriptor.s1n();
|
|
@@ -3383,7 +3383,7 @@
|
|
|
3383
3383
|
}
|
|
3384
3384
|
tmp = tmp_4;
|
|
3385
3385
|
} else {
|
|
3386
|
-
var tmp_12 = this.
|
|
3386
|
+
var tmp_12 = this.y4i();
|
|
3387
3387
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3388
3388
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3389
3389
|
var serialName_2 = descriptor.s1n();
|
|
@@ -3394,7 +3394,7 @@
|
|
|
3394
3394
|
var tmp$ret$12 = this.n24();
|
|
3395
3395
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3396
3396
|
}
|
|
3397
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3397
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.b4p_1);
|
|
3398
3398
|
}
|
|
3399
3399
|
}
|
|
3400
3400
|
return tmp;
|
|
@@ -3402,13 +3402,13 @@
|
|
|
3402
3402
|
protoOf(AbstractJsonTreeDecoder).g1q = function (descriptor) {
|
|
3403
3403
|
};
|
|
3404
3404
|
protoOf(AbstractJsonTreeDecoder).q1p = function () {
|
|
3405
|
-
var tmp = this.
|
|
3405
|
+
var tmp = this.e4p();
|
|
3406
3406
|
return !(tmp instanceof JsonNull);
|
|
3407
3407
|
};
|
|
3408
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3409
|
-
var tmp = this.
|
|
3408
|
+
protoOf(AbstractJsonTreeDecoder).g4p = function (tag, enumDescriptor) {
|
|
3409
|
+
var tmp = this.y4i();
|
|
3410
3410
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3411
|
-
var tmp1 = this.
|
|
3411
|
+
var tmp1 = this.f4p(tag);
|
|
3412
3412
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3413
3413
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3414
3414
|
var serialName = enumDescriptor.s1n();
|
|
@@ -3416,32 +3416,32 @@
|
|
|
3416
3416
|
var tmp_0 = getKClass(JsonPrimitive).db();
|
|
3417
3417
|
var tmp_1 = getKClassFromExpression(tmp1).db();
|
|
3418
3418
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3419
|
-
var tmp$ret$0 = this.
|
|
3419
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3420
3420
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp1));
|
|
3421
3421
|
}
|
|
3422
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp1.
|
|
3422
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp1.a4j());
|
|
3423
3423
|
};
|
|
3424
3424
|
protoOf(AbstractJsonTreeDecoder).z24 = function (tag, enumDescriptor) {
|
|
3425
|
-
return this.
|
|
3425
|
+
return this.g4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3426
3426
|
};
|
|
3427
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3428
|
-
return !(this.
|
|
3427
|
+
protoOf(AbstractJsonTreeDecoder).h4p = function (tag) {
|
|
3428
|
+
return !(this.f4p(tag) === JsonNull_getInstance());
|
|
3429
3429
|
};
|
|
3430
3430
|
protoOf(AbstractJsonTreeDecoder).p24 = function (tag) {
|
|
3431
|
-
return this.
|
|
3431
|
+
return this.h4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3432
3432
|
};
|
|
3433
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3433
|
+
protoOf(AbstractJsonTreeDecoder).i4p = function (tag) {
|
|
3434
3434
|
var tmp$ret$4;
|
|
3435
3435
|
$l$block: {
|
|
3436
3436
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3437
3437
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3438
3438
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3439
|
-
var value = this.
|
|
3439
|
+
var value = this.f4p(tag);
|
|
3440
3440
|
if (!(value instanceof JsonPrimitive)) {
|
|
3441
3441
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3442
3442
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3443
3443
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3444
|
-
var tmp$ret$0 = this.
|
|
3444
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3445
3445
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3446
3446
|
}
|
|
3447
3447
|
var literal = value;
|
|
@@ -3468,20 +3468,20 @@
|
|
|
3468
3468
|
return tmp$ret$4;
|
|
3469
3469
|
};
|
|
3470
3470
|
protoOf(AbstractJsonTreeDecoder).q24 = function (tag) {
|
|
3471
|
-
return this.
|
|
3471
|
+
return this.i4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3472
3472
|
};
|
|
3473
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3473
|
+
protoOf(AbstractJsonTreeDecoder).j4p = function (tag) {
|
|
3474
3474
|
var tmp$ret$4;
|
|
3475
3475
|
$l$block: {
|
|
3476
3476
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3477
3477
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3478
3478
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3479
|
-
var value = this.
|
|
3479
|
+
var value = this.f4p(tag);
|
|
3480
3480
|
if (!(value instanceof JsonPrimitive)) {
|
|
3481
3481
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3482
3482
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3483
3483
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3484
|
-
var tmp$ret$0 = this.
|
|
3484
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3485
3485
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3486
3486
|
}
|
|
3487
3487
|
var literal = value;
|
|
@@ -3509,20 +3509,20 @@
|
|
|
3509
3509
|
return tmp$ret$4;
|
|
3510
3510
|
};
|
|
3511
3511
|
protoOf(AbstractJsonTreeDecoder).r24 = function (tag) {
|
|
3512
|
-
return this.
|
|
3512
|
+
return this.j4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3513
3513
|
};
|
|
3514
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3514
|
+
protoOf(AbstractJsonTreeDecoder).k4p = function (tag) {
|
|
3515
3515
|
var tmp$ret$4;
|
|
3516
3516
|
$l$block: {
|
|
3517
3517
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3518
3518
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3519
3519
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3520
|
-
var value = this.
|
|
3520
|
+
var value = this.f4p(tag);
|
|
3521
3521
|
if (!(value instanceof JsonPrimitive)) {
|
|
3522
3522
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3523
3523
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3524
3524
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3525
|
-
var tmp$ret$0 = this.
|
|
3525
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3526
3526
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3527
3527
|
}
|
|
3528
3528
|
var literal = value;
|
|
@@ -3550,20 +3550,20 @@
|
|
|
3550
3550
|
return tmp$ret$4;
|
|
3551
3551
|
};
|
|
3552
3552
|
protoOf(AbstractJsonTreeDecoder).s24 = function (tag) {
|
|
3553
|
-
return this.
|
|
3553
|
+
return this.k4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3554
3554
|
};
|
|
3555
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3555
|
+
protoOf(AbstractJsonTreeDecoder).l4p = function (tag) {
|
|
3556
3556
|
var tmp$ret$4;
|
|
3557
3557
|
$l$block: {
|
|
3558
3558
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3559
3559
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3560
3560
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3561
|
-
var value = this.
|
|
3561
|
+
var value = this.f4p(tag);
|
|
3562
3562
|
if (!(value instanceof JsonPrimitive)) {
|
|
3563
3563
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3564
3564
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3565
3565
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3566
|
-
var tmp$ret$0 = this.
|
|
3566
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3567
3567
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3568
3568
|
}
|
|
3569
3569
|
var literal = value;
|
|
@@ -3590,20 +3590,20 @@
|
|
|
3590
3590
|
return tmp$ret$4;
|
|
3591
3591
|
};
|
|
3592
3592
|
protoOf(AbstractJsonTreeDecoder).t24 = function (tag) {
|
|
3593
|
-
return this.
|
|
3593
|
+
return this.l4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3594
3594
|
};
|
|
3595
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3595
|
+
protoOf(AbstractJsonTreeDecoder).m4p = function (tag) {
|
|
3596
3596
|
var tmp$ret$4;
|
|
3597
3597
|
$l$block: {
|
|
3598
3598
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3599
3599
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3600
3600
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3601
|
-
var value = this.
|
|
3601
|
+
var value = this.f4p(tag);
|
|
3602
3602
|
if (!(value instanceof JsonPrimitive)) {
|
|
3603
3603
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3604
3604
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3605
3605
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3606
|
-
var tmp$ret$0 = this.
|
|
3606
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3607
3607
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3608
3608
|
}
|
|
3609
3609
|
var literal = value;
|
|
@@ -3630,20 +3630,20 @@
|
|
|
3630
3630
|
return tmp$ret$4;
|
|
3631
3631
|
};
|
|
3632
3632
|
protoOf(AbstractJsonTreeDecoder).u24 = function (tag) {
|
|
3633
|
-
return this.
|
|
3633
|
+
return this.m4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3634
3634
|
};
|
|
3635
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3635
|
+
protoOf(AbstractJsonTreeDecoder).n4p = function (tag) {
|
|
3636
3636
|
var tmp$ret$4;
|
|
3637
3637
|
$l$block: {
|
|
3638
3638
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3639
3639
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3640
3640
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3641
|
-
var value = this.
|
|
3641
|
+
var value = this.f4p(tag);
|
|
3642
3642
|
if (!(value instanceof JsonPrimitive)) {
|
|
3643
3643
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3644
3644
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3645
3645
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3646
|
-
var tmp$ret$0 = this.
|
|
3646
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3647
3647
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3648
3648
|
}
|
|
3649
3649
|
var literal = value;
|
|
@@ -3668,26 +3668,26 @@
|
|
|
3668
3668
|
}
|
|
3669
3669
|
}
|
|
3670
3670
|
var result = tmp$ret$4;
|
|
3671
|
-
var specialFp = this.
|
|
3671
|
+
var specialFp = this.y4i().u4g_1.q4i_1;
|
|
3672
3672
|
if (specialFp || isFinite(result))
|
|
3673
3673
|
return result;
|
|
3674
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3674
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.e4p()));
|
|
3675
3675
|
};
|
|
3676
3676
|
protoOf(AbstractJsonTreeDecoder).v24 = function (tag) {
|
|
3677
|
-
return this.
|
|
3677
|
+
return this.n4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3678
3678
|
};
|
|
3679
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3679
|
+
protoOf(AbstractJsonTreeDecoder).o4p = function (tag) {
|
|
3680
3680
|
var tmp$ret$4;
|
|
3681
3681
|
$l$block: {
|
|
3682
3682
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3683
3683
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3684
3684
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3685
|
-
var value = this.
|
|
3685
|
+
var value = this.f4p(tag);
|
|
3686
3686
|
if (!(value instanceof JsonPrimitive)) {
|
|
3687
3687
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3688
3688
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3689
3689
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3690
|
-
var tmp$ret$0 = this.
|
|
3690
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3691
3691
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3692
3692
|
}
|
|
3693
3693
|
var literal = value;
|
|
@@ -3712,32 +3712,32 @@
|
|
|
3712
3712
|
}
|
|
3713
3713
|
}
|
|
3714
3714
|
var result = tmp$ret$4;
|
|
3715
|
-
var specialFp = this.
|
|
3715
|
+
var specialFp = this.y4i().u4g_1.q4i_1;
|
|
3716
3716
|
if (specialFp || isFinite_0(result))
|
|
3717
3717
|
return result;
|
|
3718
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3718
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.e4p()));
|
|
3719
3719
|
};
|
|
3720
3720
|
protoOf(AbstractJsonTreeDecoder).w24 = function (tag) {
|
|
3721
|
-
return this.
|
|
3721
|
+
return this.o4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3723
|
+
protoOf(AbstractJsonTreeDecoder).p4p = function (tag) {
|
|
3724
3724
|
var tmp$ret$4;
|
|
3725
3725
|
$l$block: {
|
|
3726
3726
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3727
3727
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3728
3728
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3729
|
-
var value = this.
|
|
3729
|
+
var value = this.f4p(tag);
|
|
3730
3730
|
if (!(value instanceof JsonPrimitive)) {
|
|
3731
3731
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3732
3732
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3733
3733
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3734
|
-
var tmp$ret$0 = this.
|
|
3734
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3735
3735
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3736
3736
|
}
|
|
3737
3737
|
var literal = value;
|
|
3738
3738
|
try {
|
|
3739
3739
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3740
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3740
|
+
var tmp0_elvis_lhs = new Char(single(literal.a4j()));
|
|
3741
3741
|
var tmp_1;
|
|
3742
3742
|
if (tmp0_elvis_lhs == null) {
|
|
3743
3743
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3758,36 +3758,36 @@
|
|
|
3758
3758
|
return tmp$ret$4;
|
|
3759
3759
|
};
|
|
3760
3760
|
protoOf(AbstractJsonTreeDecoder).x24 = function (tag) {
|
|
3761
|
-
return this.
|
|
3761
|
+
return this.p4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3762
3762
|
};
|
|
3763
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3763
|
+
protoOf(AbstractJsonTreeDecoder).q4p = function (tag) {
|
|
3764
3764
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3765
3765
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3766
|
-
var value = this.
|
|
3766
|
+
var value = this.f4p(tag);
|
|
3767
3767
|
if (!(value instanceof JsonPrimitive)) {
|
|
3768
3768
|
var tmp = getKClass(JsonPrimitive).db();
|
|
3769
3769
|
var tmp_0 = getKClassFromExpression(value).db();
|
|
3770
3770
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3771
|
-
var tmp$ret$0 = this.
|
|
3771
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3772
3772
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3773
3773
|
}
|
|
3774
3774
|
var value_0 = value;
|
|
3775
3775
|
if (!(value_0 instanceof JsonLiteral))
|
|
3776
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3777
|
-
if (!value_0.
|
|
3778
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3776
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.d4p(tag), toString(this.e4p()));
|
|
3777
|
+
if (!value_0.f4j_1 && !this.y4i().u4g_1.i4i_1) {
|
|
3778
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.d4p(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.e4p()));
|
|
3779
3779
|
}
|
|
3780
|
-
return value_0.
|
|
3780
|
+
return value_0.h4j_1;
|
|
3781
3781
|
};
|
|
3782
3782
|
protoOf(AbstractJsonTreeDecoder).y24 = function (tag) {
|
|
3783
|
-
return this.
|
|
3783
|
+
return this.q4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3784
3784
|
};
|
|
3785
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3785
|
+
protoOf(AbstractJsonTreeDecoder).r4p = function (tag, inlineDescriptor) {
|
|
3786
3786
|
var tmp;
|
|
3787
3787
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3788
|
-
var tmp_0 = this.
|
|
3788
|
+
var tmp_0 = this.y4i();
|
|
3789
3789
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3790
|
-
var tmp1 = this.
|
|
3790
|
+
var tmp1 = this.f4p(tag);
|
|
3791
3791
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3792
3792
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3793
3793
|
var serialName = inlineDescriptor.s1n();
|
|
@@ -3795,24 +3795,24 @@
|
|
|
3795
3795
|
var tmp_1 = getKClass(JsonPrimitive).db();
|
|
3796
3796
|
var tmp_2 = getKClassFromExpression(tmp1).db();
|
|
3797
3797
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast.<anonymous>' call
|
|
3798
|
-
var tmp$ret$0 = this.
|
|
3798
|
+
var tmp$ret$0 = this.d4p(tag);
|
|
3799
3799
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp1));
|
|
3800
3800
|
}
|
|
3801
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp1.
|
|
3802
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3801
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp1.a4j());
|
|
3802
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.y4i());
|
|
3803
3803
|
} else {
|
|
3804
3804
|
tmp = protoOf(NamedValueDecoder).a25.call(this, tag, inlineDescriptor);
|
|
3805
3805
|
}
|
|
3806
3806
|
return tmp;
|
|
3807
3807
|
};
|
|
3808
3808
|
protoOf(AbstractJsonTreeDecoder).a25 = function (tag, inlineDescriptor) {
|
|
3809
|
-
return this.
|
|
3809
|
+
return this.r4p((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3810
3810
|
};
|
|
3811
3811
|
protoOf(AbstractJsonTreeDecoder).c1q = function (descriptor) {
|
|
3812
|
-
return !(this.l24() == null) ? protoOf(NamedValueDecoder).c1q.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3812
|
+
return !(this.l24() == null) ? protoOf(NamedValueDecoder).c1q.call(this, descriptor) : (new JsonPrimitiveDecoder(this.y4i(), this.z(), this.b4p_1)).c1q(descriptor);
|
|
3813
3813
|
};
|
|
3814
3814
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3815
|
-
var tmp0 = $this.
|
|
3815
|
+
var tmp0 = $this.y4i();
|
|
3816
3816
|
var tmp$ret$1;
|
|
3817
3817
|
$l$block_2: {
|
|
3818
3818
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3821,7 +3821,7 @@
|
|
|
3821
3821
|
var tmp;
|
|
3822
3822
|
if (isOptional && !elementDescriptor.f1o()) {
|
|
3823
3823
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3824
|
-
var tmp_0 = $this.
|
|
3824
|
+
var tmp_0 = $this.f4p(tag);
|
|
3825
3825
|
tmp = tmp_0 instanceof JsonNull;
|
|
3826
3826
|
} else {
|
|
3827
3827
|
tmp = false;
|
|
@@ -3834,7 +3834,7 @@
|
|
|
3834
3834
|
var tmp_1;
|
|
3835
3835
|
if (elementDescriptor.f1o()) {
|
|
3836
3836
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3837
|
-
var tmp_2 = $this.
|
|
3837
|
+
var tmp_2 = $this.f4p(tag);
|
|
3838
3838
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
3839
3839
|
} else {
|
|
3840
3840
|
tmp_1 = false;
|
|
@@ -3844,7 +3844,7 @@
|
|
|
3844
3844
|
break $l$block_2;
|
|
3845
3845
|
}
|
|
3846
3846
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3847
|
-
var tmp_3 = $this.
|
|
3847
|
+
var tmp_3 = $this.f4p(tag);
|
|
3848
3848
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3849
3849
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3850
3850
|
var tmp_4;
|
|
@@ -3856,7 +3856,7 @@
|
|
|
3856
3856
|
}
|
|
3857
3857
|
var enumValue = tmp_4;
|
|
3858
3858
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3859
|
-
var coerceToNull = !tmp0.
|
|
3859
|
+
var coerceToNull = !tmp0.u4g_1.l4i_1 && elementDescriptor.f1o();
|
|
3860
3860
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3861
3861
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue.<anonymous>' call
|
|
3862
3862
|
tmp$ret$1 = true;
|
|
@@ -3868,28 +3868,28 @@
|
|
|
3868
3868
|
return tmp$ret$1;
|
|
3869
3869
|
}
|
|
3870
3870
|
function absenceIsNull($this, descriptor, index) {
|
|
3871
|
-
$this.
|
|
3872
|
-
return $this.
|
|
3871
|
+
$this.b4q_1 = (!$this.y4i().u4g_1.l4i_1 && !descriptor.r1o(index) && descriptor.q1o(index).f1o());
|
|
3872
|
+
return $this.b4q_1;
|
|
3873
3873
|
}
|
|
3874
3874
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3875
3875
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3876
3876
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3877
3877
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3878
|
-
this.
|
|
3879
|
-
this.
|
|
3880
|
-
this.
|
|
3881
|
-
this.
|
|
3878
|
+
this.y4p_1 = value;
|
|
3879
|
+
this.z4p_1 = polyDescriptor;
|
|
3880
|
+
this.a4q_1 = 0;
|
|
3881
|
+
this.b4q_1 = false;
|
|
3882
3882
|
}
|
|
3883
3883
|
protoOf(JsonTreeDecoder).z = function () {
|
|
3884
|
-
return this.
|
|
3884
|
+
return this.y4p_1;
|
|
3885
3885
|
};
|
|
3886
3886
|
protoOf(JsonTreeDecoder).v1q = function (descriptor) {
|
|
3887
|
-
while (this.
|
|
3888
|
-
var _unary__edvuaz = this.
|
|
3889
|
-
this.
|
|
3887
|
+
while (this.a4q_1 < descriptor.l1o()) {
|
|
3888
|
+
var _unary__edvuaz = this.a4q_1;
|
|
3889
|
+
this.a4q_1 = _unary__edvuaz + 1 | 0;
|
|
3890
3890
|
var name = this.g24(descriptor, _unary__edvuaz);
|
|
3891
|
-
var index = this.
|
|
3892
|
-
this.
|
|
3891
|
+
var index = this.a4q_1 - 1 | 0;
|
|
3892
|
+
this.b4q_1 = false;
|
|
3893
3893
|
var tmp;
|
|
3894
3894
|
var tmp_0;
|
|
3895
3895
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -3901,7 +3901,7 @@
|
|
|
3901
3901
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3902
3902
|
}
|
|
3903
3903
|
if (tmp_0) {
|
|
3904
|
-
tmp = !this.
|
|
3904
|
+
tmp = !this.c4p_1.n4i_1 || !coerceInputValue_0(this, descriptor, index, name);
|
|
3905
3905
|
} else {
|
|
3906
3906
|
tmp = false;
|
|
3907
3907
|
}
|
|
@@ -3912,18 +3912,18 @@
|
|
|
3912
3912
|
return -1;
|
|
3913
3913
|
};
|
|
3914
3914
|
protoOf(JsonTreeDecoder).q1p = function () {
|
|
3915
|
-
return !this.
|
|
3915
|
+
return !this.b4q_1 && protoOf(AbstractJsonTreeDecoder).q1p.call(this);
|
|
3916
3916
|
};
|
|
3917
3917
|
protoOf(JsonTreeDecoder).h24 = function (descriptor, index) {
|
|
3918
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3918
|
+
var strategy = namingStrategy(descriptor, this.y4i());
|
|
3919
3919
|
var baseName = descriptor.n1o(index);
|
|
3920
3920
|
if (strategy == null) {
|
|
3921
|
-
if (!this.
|
|
3921
|
+
if (!this.c4p_1.r4i_1)
|
|
3922
3922
|
return baseName;
|
|
3923
3923
|
if (this.z().l2().x1(baseName))
|
|
3924
3924
|
return baseName;
|
|
3925
3925
|
}
|
|
3926
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3926
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.y4i(), descriptor);
|
|
3927
3927
|
// Inline function 'kotlin.collections.find' call
|
|
3928
3928
|
var tmp0 = this.z().l2();
|
|
3929
3929
|
var tmp$ret$1;
|
|
@@ -3947,19 +3947,19 @@
|
|
|
3947
3947
|
// Inline function 'kotlin.let' call
|
|
3948
3948
|
return tmp0_safe_receiver;
|
|
3949
3949
|
}
|
|
3950
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3950
|
+
var fallbackName = strategy == null ? null : strategy.t4l(descriptor, index, baseName);
|
|
3951
3951
|
return fallbackName == null ? baseName : fallbackName;
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(JsonTreeDecoder).
|
|
3953
|
+
protoOf(JsonTreeDecoder).f4p = function (tag) {
|
|
3954
3954
|
return getValue(this.z(), tag);
|
|
3955
3955
|
};
|
|
3956
3956
|
protoOf(JsonTreeDecoder).f1q = function (descriptor) {
|
|
3957
|
-
if (descriptor === this.
|
|
3958
|
-
var tmp = this.
|
|
3959
|
-
var tmp1 = this.
|
|
3957
|
+
if (descriptor === this.z4p_1) {
|
|
3958
|
+
var tmp = this.y4i();
|
|
3959
|
+
var tmp1 = this.e4p();
|
|
3960
3960
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3961
3961
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3962
|
-
var serialName = this.
|
|
3962
|
+
var serialName = this.z4p_1.s1n();
|
|
3963
3963
|
if (!(tmp1 instanceof JsonObject)) {
|
|
3964
3964
|
var tmp_0 = getKClass(JsonObject).db();
|
|
3965
3965
|
var tmp_1 = getKClassFromExpression(tmp1).db();
|
|
@@ -3967,13 +3967,13 @@
|
|
|
3967
3967
|
var tmp$ret$0 = this.n24();
|
|
3968
3968
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp1));
|
|
3969
3969
|
}
|
|
3970
|
-
return new JsonTreeDecoder(tmp, tmp1, this.
|
|
3970
|
+
return new JsonTreeDecoder(tmp, tmp1, this.b4p_1, this.z4p_1);
|
|
3971
3971
|
}
|
|
3972
3972
|
return protoOf(AbstractJsonTreeDecoder).f1q.call(this, descriptor);
|
|
3973
3973
|
};
|
|
3974
3974
|
protoOf(JsonTreeDecoder).g1q = function (descriptor) {
|
|
3975
3975
|
var tmp;
|
|
3976
|
-
if (this.
|
|
3976
|
+
if (this.c4p_1.h4i_1) {
|
|
3977
3977
|
tmp = true;
|
|
3978
3978
|
} else {
|
|
3979
3979
|
var tmp_0 = descriptor.j1o();
|
|
@@ -3981,15 +3981,15 @@
|
|
|
3981
3981
|
}
|
|
3982
3982
|
if (tmp)
|
|
3983
3983
|
return Unit_instance;
|
|
3984
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3984
|
+
var strategy = namingStrategy(descriptor, this.y4i());
|
|
3985
3985
|
var tmp_1;
|
|
3986
|
-
if (strategy == null && !this.
|
|
3986
|
+
if (strategy == null && !this.c4p_1.r4i_1) {
|
|
3987
3987
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3988
3988
|
} else if (!(strategy == null)) {
|
|
3989
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3989
|
+
tmp_1 = deserializationNamesMap(this.y4i(), descriptor).l2();
|
|
3990
3990
|
} else {
|
|
3991
3991
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3992
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3992
|
+
var tmp0_safe_receiver = get_schemaCache(this.y4i()).e4o(descriptor, get_JsonDeserializationNamesKey());
|
|
3993
3993
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3994
3994
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l2();
|
|
3995
3995
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3999,77 +3999,77 @@
|
|
|
3999
3999
|
var _iterator__ex2g4s = this.z().l2().p();
|
|
4000
4000
|
while (_iterator__ex2g4s.q()) {
|
|
4001
4001
|
var key = _iterator__ex2g4s.r();
|
|
4002
|
-
if (!names.x1(key) && !(key === this.
|
|
4002
|
+
if (!names.x1(key) && !(key === this.b4p_1)) {
|
|
4003
4003
|
throw UnknownKeyException(key, this.z().toString());
|
|
4004
4004
|
}
|
|
4005
4005
|
}
|
|
4006
4006
|
};
|
|
4007
4007
|
function JsonTreeListDecoder(json, value) {
|
|
4008
4008
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
4009
|
-
this.
|
|
4010
|
-
this.
|
|
4011
|
-
this.
|
|
4009
|
+
this.i4q_1 = value;
|
|
4010
|
+
this.j4q_1 = this.i4q_1.s();
|
|
4011
|
+
this.k4q_1 = -1;
|
|
4012
4012
|
}
|
|
4013
4013
|
protoOf(JsonTreeListDecoder).z = function () {
|
|
4014
|
-
return this.
|
|
4014
|
+
return this.i4q_1;
|
|
4015
4015
|
};
|
|
4016
4016
|
protoOf(JsonTreeListDecoder).h24 = function (descriptor, index) {
|
|
4017
4017
|
return index.toString();
|
|
4018
4018
|
};
|
|
4019
|
-
protoOf(JsonTreeListDecoder).
|
|
4020
|
-
return this.
|
|
4019
|
+
protoOf(JsonTreeListDecoder).f4p = function (tag) {
|
|
4020
|
+
return this.i4q_1.u(toInt(tag));
|
|
4021
4021
|
};
|
|
4022
4022
|
protoOf(JsonTreeListDecoder).v1q = function (descriptor) {
|
|
4023
|
-
while (this.
|
|
4024
|
-
this.
|
|
4025
|
-
return this.
|
|
4023
|
+
while (this.k4q_1 < (this.j4q_1 - 1 | 0)) {
|
|
4024
|
+
this.k4q_1 = this.k4q_1 + 1 | 0;
|
|
4025
|
+
return this.k4q_1;
|
|
4026
4026
|
}
|
|
4027
4027
|
return -1;
|
|
4028
4028
|
};
|
|
4029
4029
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4030
4030
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4031
4031
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4032
|
-
this.
|
|
4032
|
+
this.r4q_1 = value;
|
|
4033
4033
|
this.b25('primitive');
|
|
4034
4034
|
}
|
|
4035
4035
|
protoOf(JsonPrimitiveDecoder).z = function () {
|
|
4036
|
-
return this.
|
|
4036
|
+
return this.r4q_1;
|
|
4037
4037
|
};
|
|
4038
4038
|
protoOf(JsonPrimitiveDecoder).v1q = function (descriptor) {
|
|
4039
4039
|
return 0;
|
|
4040
4040
|
};
|
|
4041
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4041
|
+
protoOf(JsonPrimitiveDecoder).f4p = function (tag) {
|
|
4042
4042
|
// Inline function 'kotlin.require' call
|
|
4043
4043
|
if (!(tag === 'primitive')) {
|
|
4044
4044
|
// Inline function 'kotlinx.serialization.json.internal.JsonPrimitiveDecoder.currentElement.<anonymous>' call
|
|
4045
4045
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4046
4046
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4047
4047
|
}
|
|
4048
|
-
return this.
|
|
4048
|
+
return this.r4q_1;
|
|
4049
4049
|
};
|
|
4050
4050
|
function JsonTreeMapDecoder(json, value) {
|
|
4051
4051
|
JsonTreeDecoder.call(this, json, value);
|
|
4052
|
-
this.
|
|
4053
|
-
this.
|
|
4054
|
-
this.
|
|
4055
|
-
this.
|
|
4052
|
+
this.c4r_1 = value;
|
|
4053
|
+
this.d4r_1 = toList(this.c4r_1.l2());
|
|
4054
|
+
this.e4r_1 = imul(this.d4r_1.s(), 2);
|
|
4055
|
+
this.f4r_1 = -1;
|
|
4056
4056
|
}
|
|
4057
4057
|
protoOf(JsonTreeMapDecoder).z = function () {
|
|
4058
|
-
return this.
|
|
4058
|
+
return this.c4r_1;
|
|
4059
4059
|
};
|
|
4060
4060
|
protoOf(JsonTreeMapDecoder).h24 = function (descriptor, index) {
|
|
4061
4061
|
var i = index / 2 | 0;
|
|
4062
|
-
return this.
|
|
4062
|
+
return this.d4r_1.u(i);
|
|
4063
4063
|
};
|
|
4064
4064
|
protoOf(JsonTreeMapDecoder).v1q = function (descriptor) {
|
|
4065
|
-
while (this.
|
|
4066
|
-
this.
|
|
4067
|
-
return this.
|
|
4065
|
+
while (this.f4r_1 < (this.e4r_1 - 1 | 0)) {
|
|
4066
|
+
this.f4r_1 = this.f4r_1 + 1 | 0;
|
|
4067
|
+
return this.f4r_1;
|
|
4068
4068
|
}
|
|
4069
4069
|
return -1;
|
|
4070
4070
|
};
|
|
4071
|
-
protoOf(JsonTreeMapDecoder).
|
|
4072
|
-
return (this.
|
|
4071
|
+
protoOf(JsonTreeMapDecoder).f4p = function (tag) {
|
|
4072
|
+
return (this.f4r_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.c4r_1, tag);
|
|
4073
4073
|
};
|
|
4074
4074
|
protoOf(JsonTreeMapDecoder).g1q = function (descriptor) {
|
|
4075
4075
|
};
|
|
@@ -4101,8 +4101,8 @@
|
|
|
4101
4101
|
var $ENTRIES;
|
|
4102
4102
|
function WriteMode(name, ordinal, begin, end) {
|
|
4103
4103
|
Enum.call(this, name, ordinal);
|
|
4104
|
-
this.
|
|
4105
|
-
this.
|
|
4104
|
+
this.r4o_1 = begin;
|
|
4105
|
+
this.s4o_1 = end;
|
|
4106
4106
|
}
|
|
4107
4107
|
function switchMode(_this__u8e3s4, desc) {
|
|
4108
4108
|
var tmp0_subject = desc.j1o();
|
|
@@ -4128,7 +4128,7 @@
|
|
|
4128
4128
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
4129
4129
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4130
4130
|
} else {
|
|
4131
|
-
if (_this__u8e3s4.
|
|
4131
|
+
if (_this__u8e3s4.u4g_1.j4i_1) {
|
|
4132
4132
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
4133
4133
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4134
4134
|
} else {
|
|
@@ -4173,57 +4173,57 @@
|
|
|
4173
4173
|
return WriteMode_POLY_OBJ_instance;
|
|
4174
4174
|
}
|
|
4175
4175
|
function appendEscape($this, lastPosition, current) {
|
|
4176
|
-
$this.
|
|
4176
|
+
$this.g4r(lastPosition, current);
|
|
4177
4177
|
return appendEsc($this, current + 1 | 0);
|
|
4178
4178
|
}
|
|
4179
4179
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4180
|
-
$this.
|
|
4181
|
-
var result = $this.
|
|
4182
|
-
$this.
|
|
4180
|
+
$this.g4r(lastPosition, currentPosition);
|
|
4181
|
+
var result = $this.l4h_1.toString();
|
|
4182
|
+
$this.l4h_1.zc(0);
|
|
4183
4183
|
return result;
|
|
4184
4184
|
}
|
|
4185
4185
|
function takePeeked($this) {
|
|
4186
4186
|
// Inline function 'kotlin.also' call
|
|
4187
|
-
var this_0 = ensureNotNull($this.
|
|
4187
|
+
var this_0 = ensureNotNull($this.k4h_1);
|
|
4188
4188
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
4189
|
-
$this.
|
|
4189
|
+
$this.k4h_1 = null;
|
|
4190
4190
|
return this_0;
|
|
4191
4191
|
}
|
|
4192
4192
|
function wasUnquotedString($this) {
|
|
4193
|
-
return !(charSequenceGet($this.
|
|
4193
|
+
return !(charSequenceGet($this.h4r(), $this.i4h_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4194
4194
|
}
|
|
4195
4195
|
function appendEsc($this, startPosition) {
|
|
4196
4196
|
var currentPosition = startPosition;
|
|
4197
|
-
currentPosition = $this.
|
|
4197
|
+
currentPosition = $this.i4r(currentPosition);
|
|
4198
4198
|
if (currentPosition === -1) {
|
|
4199
|
-
$this.
|
|
4199
|
+
$this.p4l('Expected escape sequence to continue, got EOF');
|
|
4200
4200
|
}
|
|
4201
|
-
var tmp = $this.
|
|
4201
|
+
var tmp = $this.h4r();
|
|
4202
4202
|
var _unary__edvuaz = currentPosition;
|
|
4203
4203
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4204
4204
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4205
4205
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4206
|
-
return appendHex($this, $this.
|
|
4206
|
+
return appendHex($this, $this.h4r(), currentPosition);
|
|
4207
4207
|
}
|
|
4208
4208
|
// Inline function 'kotlin.code' call
|
|
4209
4209
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4210
4210
|
var c = escapeToChar(tmp$ret$0);
|
|
4211
4211
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4212
|
-
$this.
|
|
4212
|
+
$this.p4l("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4213
4213
|
}
|
|
4214
|
-
$this.
|
|
4214
|
+
$this.l4h_1.p8(c);
|
|
4215
4215
|
return currentPosition;
|
|
4216
4216
|
}
|
|
4217
4217
|
function appendHex($this, source, startPos) {
|
|
4218
4218
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4219
|
-
$this.
|
|
4220
|
-
$this.
|
|
4221
|
-
if (($this.
|
|
4222
|
-
$this.
|
|
4219
|
+
$this.i4h_1 = startPos;
|
|
4220
|
+
$this.j4r();
|
|
4221
|
+
if (($this.i4h_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4222
|
+
$this.p4l('Unexpected EOF during unicode escape');
|
|
4223
4223
|
}
|
|
4224
|
-
return appendHex($this, source, $this.
|
|
4224
|
+
return appendHex($this, source, $this.i4h_1);
|
|
4225
4225
|
}
|
|
4226
|
-
$this.
|
|
4226
|
+
$this.l4h_1.p8(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));
|
|
4227
4227
|
return startPos + 4 | 0;
|
|
4228
4228
|
}
|
|
4229
4229
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4248,16 +4248,16 @@
|
|
|
4248
4248
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4249
4249
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4250
4250
|
} else {
|
|
4251
|
-
$this.
|
|
4251
|
+
$this.p4l("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4252
4252
|
}
|
|
4253
4253
|
return tmp;
|
|
4254
4254
|
}
|
|
4255
4255
|
function consumeBoolean2($this, start) {
|
|
4256
|
-
var current = $this.
|
|
4257
|
-
if (current >= charSequenceLength($this.
|
|
4258
|
-
$this.
|
|
4256
|
+
var current = $this.i4r(start);
|
|
4257
|
+
if (current >= charSequenceLength($this.h4r()) || current === -1) {
|
|
4258
|
+
$this.p4l('EOF');
|
|
4259
4259
|
}
|
|
4260
|
-
var tmp = $this.
|
|
4260
|
+
var tmp = $this.h4r();
|
|
4261
4261
|
var _unary__edvuaz = current;
|
|
4262
4262
|
current = _unary__edvuaz + 1 | 0;
|
|
4263
4263
|
// Inline function 'kotlin.code' call
|
|
@@ -4276,14 +4276,14 @@
|
|
|
4276
4276
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4277
4277
|
tmp_0 = false;
|
|
4278
4278
|
} else {
|
|
4279
|
-
$this.
|
|
4279
|
+
$this.p4l("Expected valid boolean literal prefix, but had '" + $this.u4m() + "'");
|
|
4280
4280
|
}
|
|
4281
4281
|
}
|
|
4282
4282
|
return tmp_0;
|
|
4283
4283
|
}
|
|
4284
4284
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4285
|
-
if ((charSequenceLength($this.
|
|
4286
|
-
$this.
|
|
4285
|
+
if ((charSequenceLength($this.h4r()) - current | 0) < literalSuffix.length) {
|
|
4286
|
+
$this.p4l('Unexpected end of boolean literal');
|
|
4287
4287
|
}
|
|
4288
4288
|
var inductionVariable = 0;
|
|
4289
4289
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4292,16 +4292,16 @@
|
|
|
4292
4292
|
var i = inductionVariable;
|
|
4293
4293
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4294
4294
|
var expected = charSequenceGet(literalSuffix, i);
|
|
4295
|
-
var actual = charSequenceGet($this.
|
|
4295
|
+
var actual = charSequenceGet($this.h4r(), current + i | 0);
|
|
4296
4296
|
// Inline function 'kotlin.code' call
|
|
4297
4297
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4298
4298
|
// Inline function 'kotlin.code' call
|
|
4299
4299
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4300
|
-
$this.
|
|
4300
|
+
$this.p4l("Expected valid boolean literal prefix, but had '" + $this.u4m() + "'");
|
|
4301
4301
|
}
|
|
4302
4302
|
}
|
|
4303
4303
|
while (inductionVariable <= last);
|
|
4304
|
-
$this.
|
|
4304
|
+
$this.i4h_1 = current + literalSuffix.length | 0;
|
|
4305
4305
|
}
|
|
4306
4306
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4307
4307
|
var tmp;
|
|
@@ -4325,77 +4325,77 @@
|
|
|
4325
4325
|
return tmp;
|
|
4326
4326
|
}
|
|
4327
4327
|
function AbstractJsonLexer() {
|
|
4328
|
-
this.
|
|
4329
|
-
this.
|
|
4330
|
-
this.
|
|
4331
|
-
this.
|
|
4328
|
+
this.i4h_1 = 0;
|
|
4329
|
+
this.j4h_1 = new JsonPath();
|
|
4330
|
+
this.k4h_1 = null;
|
|
4331
|
+
this.l4h_1 = StringBuilder_init_$Create$();
|
|
4332
4332
|
}
|
|
4333
|
-
protoOf(AbstractJsonLexer).
|
|
4333
|
+
protoOf(AbstractJsonLexer).j4r = function () {
|
|
4334
4334
|
};
|
|
4335
|
-
protoOf(AbstractJsonLexer).
|
|
4336
|
-
var current = this.
|
|
4337
|
-
var source = this.
|
|
4335
|
+
protoOf(AbstractJsonLexer).h4o = function () {
|
|
4336
|
+
var current = this.k4r();
|
|
4337
|
+
var source = this.h4r();
|
|
4338
4338
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4339
4339
|
return false;
|
|
4340
4340
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4341
|
-
this.
|
|
4341
|
+
this.i4h_1 = this.i4h_1 + 1 | 0;
|
|
4342
4342
|
return true;
|
|
4343
4343
|
}
|
|
4344
4344
|
return false;
|
|
4345
4345
|
};
|
|
4346
|
-
protoOf(AbstractJsonLexer).
|
|
4346
|
+
protoOf(AbstractJsonLexer).l4r = function (c) {
|
|
4347
4347
|
return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4348
4348
|
};
|
|
4349
|
-
protoOf(AbstractJsonLexer).
|
|
4350
|
-
var nextToken = this.
|
|
4349
|
+
protoOf(AbstractJsonLexer).m4h = function () {
|
|
4350
|
+
var nextToken = this.w4m();
|
|
4351
4351
|
if (!(nextToken === 10)) {
|
|
4352
|
-
this.
|
|
4352
|
+
this.p4l('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.h4r(), this.i4h_1 - 1 | 0)) + ' instead');
|
|
4353
4353
|
}
|
|
4354
4354
|
};
|
|
4355
|
-
protoOf(AbstractJsonLexer).
|
|
4356
|
-
var token = this.
|
|
4355
|
+
protoOf(AbstractJsonLexer).q4m = function (expected) {
|
|
4356
|
+
var token = this.w4m();
|
|
4357
4357
|
if (!(token === expected)) {
|
|
4358
|
-
this.
|
|
4358
|
+
this.m4r(expected);
|
|
4359
4359
|
}
|
|
4360
4360
|
return token;
|
|
4361
4361
|
};
|
|
4362
|
-
protoOf(AbstractJsonLexer).
|
|
4363
|
-
if (this.
|
|
4362
|
+
protoOf(AbstractJsonLexer).n4r = function (expected) {
|
|
4363
|
+
if (this.i4h_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4364
4364
|
var tmp$ret$1;
|
|
4365
4365
|
$l$block: {
|
|
4366
4366
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4367
|
-
var snapshot = this.
|
|
4367
|
+
var snapshot = this.i4h_1;
|
|
4368
4368
|
try {
|
|
4369
4369
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken.<anonymous>' call
|
|
4370
|
-
this.
|
|
4371
|
-
tmp$ret$1 = this.
|
|
4370
|
+
this.i4h_1 = this.i4h_1 - 1 | 0;
|
|
4371
|
+
tmp$ret$1 = this.u4m();
|
|
4372
4372
|
break $l$block;
|
|
4373
4373
|
}finally {
|
|
4374
|
-
this.
|
|
4374
|
+
this.i4h_1 = snapshot;
|
|
4375
4375
|
}
|
|
4376
4376
|
}
|
|
4377
4377
|
var inputLiteral = tmp$ret$1;
|
|
4378
4378
|
if (inputLiteral === 'null') {
|
|
4379
|
-
this.
|
|
4379
|
+
this.o4l("Expected string literal but 'null' literal was found", this.i4h_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4380
4380
|
}
|
|
4381
4381
|
}
|
|
4382
|
-
this.
|
|
4382
|
+
this.m4r(charToTokenClass(expected));
|
|
4383
4383
|
};
|
|
4384
|
-
protoOf(AbstractJsonLexer).
|
|
4384
|
+
protoOf(AbstractJsonLexer).o4r = function (expectedToken, wasConsumed) {
|
|
4385
4385
|
var expected = tokenDescription(expectedToken);
|
|
4386
|
-
var position = wasConsumed ? this.
|
|
4387
|
-
var s = this.
|
|
4388
|
-
this.
|
|
4386
|
+
var position = wasConsumed ? this.i4h_1 - 1 | 0 : this.i4h_1;
|
|
4387
|
+
var s = this.i4h_1 === charSequenceLength(this.h4r()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.h4r(), position));
|
|
4388
|
+
this.p4l('Expected ' + expected + ", but had '" + s + "' instead", position);
|
|
4389
4389
|
};
|
|
4390
|
-
protoOf(AbstractJsonLexer).
|
|
4390
|
+
protoOf(AbstractJsonLexer).m4r = function (expectedToken, wasConsumed, $super) {
|
|
4391
4391
|
wasConsumed = wasConsumed === VOID ? true : wasConsumed;
|
|
4392
|
-
return $super === VOID ? this.
|
|
4392
|
+
return $super === VOID ? this.o4r(expectedToken, wasConsumed) : $super.o4r.call(this, expectedToken, wasConsumed);
|
|
4393
4393
|
};
|
|
4394
|
-
protoOf(AbstractJsonLexer).
|
|
4395
|
-
var source = this.
|
|
4396
|
-
var cpos = this.
|
|
4394
|
+
protoOf(AbstractJsonLexer).r4m = function () {
|
|
4395
|
+
var source = this.h4r();
|
|
4396
|
+
var cpos = this.i4h_1;
|
|
4397
4397
|
$l$loop_0: while (true) {
|
|
4398
|
-
cpos = this.
|
|
4398
|
+
cpos = this.i4r(cpos);
|
|
4399
4399
|
if (cpos === -1)
|
|
4400
4400
|
break $l$loop_0;
|
|
4401
4401
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4403,16 +4403,16 @@
|
|
|
4403
4403
|
cpos = cpos + 1 | 0;
|
|
4404
4404
|
continue $l$loop_0;
|
|
4405
4405
|
}
|
|
4406
|
-
this.
|
|
4406
|
+
this.i4h_1 = cpos;
|
|
4407
4407
|
return charToTokenClass(ch);
|
|
4408
4408
|
}
|
|
4409
|
-
this.
|
|
4409
|
+
this.i4h_1 = cpos;
|
|
4410
4410
|
return 10;
|
|
4411
4411
|
};
|
|
4412
|
-
protoOf(AbstractJsonLexer).
|
|
4413
|
-
var current = this.
|
|
4414
|
-
current = this.
|
|
4415
|
-
var len = charSequenceLength(this.
|
|
4412
|
+
protoOf(AbstractJsonLexer).i4o = function (doConsume) {
|
|
4413
|
+
var current = this.k4r();
|
|
4414
|
+
current = this.i4r(current);
|
|
4415
|
+
var len = charSequenceLength(this.h4r()) - current | 0;
|
|
4416
4416
|
if (len < 4 || current === -1)
|
|
4417
4417
|
return false;
|
|
4418
4418
|
var inductionVariable = 0;
|
|
@@ -4420,50 +4420,50 @@
|
|
|
4420
4420
|
do {
|
|
4421
4421
|
var i = inductionVariable;
|
|
4422
4422
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4423
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
4423
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.h4r(), current + i | 0)))
|
|
4424
4424
|
return false;
|
|
4425
4425
|
}
|
|
4426
4426
|
while (inductionVariable <= 3);
|
|
4427
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4427
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.h4r(), current + 4 | 0)) === 0)
|
|
4428
4428
|
return false;
|
|
4429
4429
|
if (doConsume) {
|
|
4430
|
-
this.
|
|
4430
|
+
this.i4h_1 = current + 4 | 0;
|
|
4431
4431
|
}
|
|
4432
4432
|
return true;
|
|
4433
4433
|
};
|
|
4434
|
-
protoOf(AbstractJsonLexer).
|
|
4434
|
+
protoOf(AbstractJsonLexer).t4o = function (doConsume, $super) {
|
|
4435
4435
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4436
|
-
return $super === VOID ? this.
|
|
4436
|
+
return $super === VOID ? this.i4o(doConsume) : $super.i4o.call(this, doConsume);
|
|
4437
4437
|
};
|
|
4438
|
-
protoOf(AbstractJsonLexer).
|
|
4439
|
-
var token = this.
|
|
4438
|
+
protoOf(AbstractJsonLexer).j4o = function (isLenient) {
|
|
4439
|
+
var token = this.r4m();
|
|
4440
4440
|
var tmp;
|
|
4441
4441
|
if (isLenient) {
|
|
4442
4442
|
if (!(token === 1) && !(token === 0))
|
|
4443
4443
|
return null;
|
|
4444
|
-
tmp = this.
|
|
4444
|
+
tmp = this.u4m();
|
|
4445
4445
|
} else {
|
|
4446
4446
|
if (!(token === 1))
|
|
4447
4447
|
return null;
|
|
4448
|
-
tmp = this.
|
|
4448
|
+
tmp = this.t4m();
|
|
4449
4449
|
}
|
|
4450
4450
|
var string = tmp;
|
|
4451
|
-
this.
|
|
4451
|
+
this.k4h_1 = string;
|
|
4452
4452
|
return string;
|
|
4453
4453
|
};
|
|
4454
|
-
protoOf(AbstractJsonLexer).
|
|
4455
|
-
this.
|
|
4454
|
+
protoOf(AbstractJsonLexer).p4r = function () {
|
|
4455
|
+
this.k4h_1 = null;
|
|
4456
4456
|
};
|
|
4457
|
-
protoOf(AbstractJsonLexer).
|
|
4457
|
+
protoOf(AbstractJsonLexer).q4r = function (startPos, endPos) {
|
|
4458
4458
|
// Inline function 'kotlin.text.substring' call
|
|
4459
|
-
var this_0 = this.
|
|
4459
|
+
var this_0 = this.h4r();
|
|
4460
4460
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4461
4461
|
};
|
|
4462
|
-
protoOf(AbstractJsonLexer).
|
|
4463
|
-
if (!(this.
|
|
4462
|
+
protoOf(AbstractJsonLexer).t4m = function () {
|
|
4463
|
+
if (!(this.k4h_1 == null)) {
|
|
4464
4464
|
return takePeeked(this);
|
|
4465
4465
|
}
|
|
4466
|
-
return this.
|
|
4466
|
+
return this.m4o();
|
|
4467
4467
|
};
|
|
4468
4468
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4469
4469
|
var currentPosition = current;
|
|
@@ -4473,19 +4473,19 @@
|
|
|
4473
4473
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4474
4474
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4475
4475
|
usedAppend = true;
|
|
4476
|
-
currentPosition = this.
|
|
4476
|
+
currentPosition = this.i4r(appendEscape(this, lastPosition, currentPosition));
|
|
4477
4477
|
if (currentPosition === -1) {
|
|
4478
|
-
this.
|
|
4478
|
+
this.p4l('Unexpected EOF', currentPosition);
|
|
4479
4479
|
}
|
|
4480
4480
|
lastPosition = currentPosition;
|
|
4481
4481
|
} else {
|
|
4482
4482
|
currentPosition = currentPosition + 1 | 0;
|
|
4483
4483
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4484
4484
|
usedAppend = true;
|
|
4485
|
-
this.
|
|
4486
|
-
currentPosition = this.
|
|
4485
|
+
this.g4r(lastPosition, currentPosition);
|
|
4486
|
+
currentPosition = this.i4r(currentPosition);
|
|
4487
4487
|
if (currentPosition === -1) {
|
|
4488
|
-
this.
|
|
4488
|
+
this.p4l('Unexpected EOF', currentPosition);
|
|
4489
4489
|
}
|
|
4490
4490
|
lastPosition = currentPosition;
|
|
4491
4491
|
}
|
|
@@ -4494,45 +4494,45 @@
|
|
|
4494
4494
|
}
|
|
4495
4495
|
var tmp;
|
|
4496
4496
|
if (!usedAppend) {
|
|
4497
|
-
tmp = this.
|
|
4497
|
+
tmp = this.q4r(lastPosition, currentPosition);
|
|
4498
4498
|
} else {
|
|
4499
4499
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4500
4500
|
}
|
|
4501
4501
|
var string = tmp;
|
|
4502
|
-
this.
|
|
4502
|
+
this.i4h_1 = currentPosition + 1 | 0;
|
|
4503
4503
|
return string;
|
|
4504
4504
|
};
|
|
4505
|
-
protoOf(AbstractJsonLexer).
|
|
4506
|
-
var result = this.
|
|
4505
|
+
protoOf(AbstractJsonLexer).n4o = function () {
|
|
4506
|
+
var result = this.u4m();
|
|
4507
4507
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4508
|
-
this.
|
|
4508
|
+
this.p4l("Unexpected 'null' value instead of string literal");
|
|
4509
4509
|
}
|
|
4510
4510
|
return result;
|
|
4511
4511
|
};
|
|
4512
|
-
protoOf(AbstractJsonLexer).
|
|
4513
|
-
if (!(this.
|
|
4512
|
+
protoOf(AbstractJsonLexer).u4m = function () {
|
|
4513
|
+
if (!(this.k4h_1 == null)) {
|
|
4514
4514
|
return takePeeked(this);
|
|
4515
4515
|
}
|
|
4516
|
-
var current = this.
|
|
4517
|
-
if (current >= charSequenceLength(this.
|
|
4518
|
-
this.
|
|
4516
|
+
var current = this.k4r();
|
|
4517
|
+
if (current >= charSequenceLength(this.h4r()) || current === -1) {
|
|
4518
|
+
this.p4l('EOF', current);
|
|
4519
4519
|
}
|
|
4520
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4520
|
+
var token = charToTokenClass(charSequenceGet(this.h4r(), current));
|
|
4521
4521
|
if (token === 1) {
|
|
4522
|
-
return this.
|
|
4522
|
+
return this.t4m();
|
|
4523
4523
|
}
|
|
4524
4524
|
if (!(token === 0)) {
|
|
4525
|
-
this.
|
|
4525
|
+
this.p4l('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.h4r(), current)));
|
|
4526
4526
|
}
|
|
4527
4527
|
var usedAppend = false;
|
|
4528
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4528
|
+
while (charToTokenClass(charSequenceGet(this.h4r(), current)) === 0) {
|
|
4529
4529
|
current = current + 1 | 0;
|
|
4530
|
-
if (current >= charSequenceLength(this.
|
|
4530
|
+
if (current >= charSequenceLength(this.h4r())) {
|
|
4531
4531
|
usedAppend = true;
|
|
4532
|
-
this.
|
|
4533
|
-
var eof = this.
|
|
4532
|
+
this.g4r(this.i4h_1, current);
|
|
4533
|
+
var eof = this.i4r(current);
|
|
4534
4534
|
if (eof === -1) {
|
|
4535
|
-
this.
|
|
4535
|
+
this.i4h_1 = current;
|
|
4536
4536
|
return decodedString(this, 0, 0);
|
|
4537
4537
|
} else {
|
|
4538
4538
|
current = eof;
|
|
@@ -4541,32 +4541,32 @@
|
|
|
4541
4541
|
}
|
|
4542
4542
|
var tmp;
|
|
4543
4543
|
if (!usedAppend) {
|
|
4544
|
-
tmp = this.
|
|
4544
|
+
tmp = this.q4r(this.i4h_1, current);
|
|
4545
4545
|
} else {
|
|
4546
|
-
tmp = decodedString(this, this.
|
|
4546
|
+
tmp = decodedString(this, this.i4h_1, current);
|
|
4547
4547
|
}
|
|
4548
4548
|
var result = tmp;
|
|
4549
|
-
this.
|
|
4549
|
+
this.i4h_1 = current;
|
|
4550
4550
|
return result;
|
|
4551
4551
|
};
|
|
4552
|
-
protoOf(AbstractJsonLexer).
|
|
4553
|
-
this.
|
|
4552
|
+
protoOf(AbstractJsonLexer).g4r = function (fromIndex, toIndex) {
|
|
4553
|
+
this.l4h_1.tc(this.h4r(), fromIndex, toIndex);
|
|
4554
4554
|
};
|
|
4555
|
-
protoOf(AbstractJsonLexer).
|
|
4555
|
+
protoOf(AbstractJsonLexer).l4o = function (allowLenientStrings) {
|
|
4556
4556
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4557
4557
|
var tokenStack = ArrayList_init_$Create$();
|
|
4558
|
-
var lastToken = this.
|
|
4558
|
+
var lastToken = this.r4m();
|
|
4559
4559
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4560
|
-
this.
|
|
4560
|
+
this.u4m();
|
|
4561
4561
|
return Unit_instance;
|
|
4562
4562
|
}
|
|
4563
4563
|
$l$loop: while (true) {
|
|
4564
|
-
lastToken = this.
|
|
4564
|
+
lastToken = this.r4m();
|
|
4565
4565
|
if (lastToken === 1) {
|
|
4566
4566
|
if (allowLenientStrings)
|
|
4567
|
-
this.
|
|
4567
|
+
this.u4m();
|
|
4568
4568
|
else
|
|
4569
|
-
this.
|
|
4569
|
+
this.m4o();
|
|
4570
4570
|
continue $l$loop;
|
|
4571
4571
|
}
|
|
4572
4572
|
var tmp0_subject = lastToken;
|
|
@@ -4574,29 +4574,29 @@
|
|
|
4574
4574
|
tokenStack.k(lastToken);
|
|
4575
4575
|
} else if (tmp0_subject === 9) {
|
|
4576
4576
|
if (!(last(tokenStack) === 8))
|
|
4577
|
-
throw JsonDecodingException_0(this.
|
|
4577
|
+
throw JsonDecodingException_0(this.i4h_1, 'found ] instead of } at path: ' + this.j4h_1.toString(), this.h4r());
|
|
4578
4578
|
removeLast(tokenStack);
|
|
4579
4579
|
} else if (tmp0_subject === 7) {
|
|
4580
4580
|
if (!(last(tokenStack) === 6))
|
|
4581
|
-
throw JsonDecodingException_0(this.
|
|
4581
|
+
throw JsonDecodingException_0(this.i4h_1, 'found } instead of ] at path: ' + this.j4h_1.toString(), this.h4r());
|
|
4582
4582
|
removeLast(tokenStack);
|
|
4583
4583
|
} else if (tmp0_subject === 10) {
|
|
4584
|
-
this.
|
|
4584
|
+
this.p4l('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4585
4585
|
}
|
|
4586
|
-
this.
|
|
4586
|
+
this.w4m();
|
|
4587
4587
|
if (tokenStack.s() === 0)
|
|
4588
4588
|
return Unit_instance;
|
|
4589
4589
|
}
|
|
4590
4590
|
};
|
|
4591
4591
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4592
|
-
return "JsonReader(source='" + toString(this.
|
|
4592
|
+
return "JsonReader(source='" + toString(this.h4r()) + "', currentPosition=" + this.i4h_1 + ')';
|
|
4593
4593
|
};
|
|
4594
|
-
protoOf(AbstractJsonLexer).
|
|
4595
|
-
var processed = this.
|
|
4594
|
+
protoOf(AbstractJsonLexer).k4o = function (key) {
|
|
4595
|
+
var processed = this.q4r(0, this.i4h_1);
|
|
4596
4596
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4597
|
-
this.
|
|
4597
|
+
this.o4l("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4598
4598
|
};
|
|
4599
|
-
protoOf(AbstractJsonLexer).
|
|
4599
|
+
protoOf(AbstractJsonLexer).o4l = function (message, position, hint) {
|
|
4600
4600
|
var tmp;
|
|
4601
4601
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4602
4602
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4605,24 +4605,24 @@
|
|
|
4605
4605
|
tmp = '\n' + hint;
|
|
4606
4606
|
}
|
|
4607
4607
|
var hintMessage = tmp;
|
|
4608
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4608
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.j4h_1.c4m() + hintMessage, this.h4r());
|
|
4609
4609
|
};
|
|
4610
|
-
protoOf(AbstractJsonLexer).
|
|
4611
|
-
position = position === VOID ? this.
|
|
4610
|
+
protoOf(AbstractJsonLexer).p4l = function (message, position, hint, $super) {
|
|
4611
|
+
position = position === VOID ? this.i4h_1 : position;
|
|
4612
4612
|
hint = hint === VOID ? '' : hint;
|
|
4613
|
-
return $super === VOID ? this.
|
|
4613
|
+
return $super === VOID ? this.o4l(message, position, hint) : $super.o4l.call(this, message, position, hint);
|
|
4614
4614
|
};
|
|
4615
|
-
protoOf(AbstractJsonLexer).
|
|
4616
|
-
var current = this.
|
|
4617
|
-
current = this.
|
|
4618
|
-
if (current >= charSequenceLength(this.
|
|
4619
|
-
this.
|
|
4615
|
+
protoOf(AbstractJsonLexer).n4j = function () {
|
|
4616
|
+
var current = this.k4r();
|
|
4617
|
+
current = this.i4r(current);
|
|
4618
|
+
if (current >= charSequenceLength(this.h4r()) || current === -1) {
|
|
4619
|
+
this.p4l('EOF');
|
|
4620
4620
|
}
|
|
4621
4621
|
var tmp;
|
|
4622
|
-
if (charSequenceGet(this.
|
|
4622
|
+
if (charSequenceGet(this.h4r(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4623
4623
|
current = current + 1 | 0;
|
|
4624
|
-
if (current === charSequenceLength(this.
|
|
4625
|
-
this.
|
|
4624
|
+
if (current === charSequenceLength(this.h4r())) {
|
|
4625
|
+
this.p4l('EOF');
|
|
4626
4626
|
}
|
|
4627
4627
|
tmp = true;
|
|
4628
4628
|
} else {
|
|
@@ -4635,11 +4635,11 @@
|
|
|
4635
4635
|
var isExponentPositive = false;
|
|
4636
4636
|
var hasExponent = false;
|
|
4637
4637
|
var start = current;
|
|
4638
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4639
|
-
var ch = charSequenceGet(this.
|
|
4638
|
+
$l$loop_4: while (!(current === charSequenceLength(this.h4r()))) {
|
|
4639
|
+
var ch = charSequenceGet(this.h4r(), current);
|
|
4640
4640
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4641
4641
|
if (current === start) {
|
|
4642
|
-
this.
|
|
4642
|
+
this.p4l('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4643
4643
|
}
|
|
4644
4644
|
isExponentPositive = true;
|
|
4645
4645
|
hasExponent = true;
|
|
@@ -4648,7 +4648,7 @@
|
|
|
4648
4648
|
}
|
|
4649
4649
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4650
4650
|
if (current === start) {
|
|
4651
|
-
this.
|
|
4651
|
+
this.p4l("Unexpected symbol '-' in numeric literal");
|
|
4652
4652
|
}
|
|
4653
4653
|
isExponentPositive = false;
|
|
4654
4654
|
current = current + 1 | 0;
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
}
|
|
4657
4657
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4658
4658
|
if (current === start) {
|
|
4659
|
-
this.
|
|
4659
|
+
this.p4l("Unexpected symbol '+' in numeric literal");
|
|
4660
4660
|
}
|
|
4661
4661
|
isExponentPositive = true;
|
|
4662
4662
|
current = current + 1 | 0;
|
|
@@ -4664,7 +4664,7 @@
|
|
|
4664
4664
|
}
|
|
4665
4665
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4666
4666
|
if (!(current === start)) {
|
|
4667
|
-
this.
|
|
4667
|
+
this.p4l("Unexpected symbol '-' in numeric literal");
|
|
4668
4668
|
}
|
|
4669
4669
|
isNegative = true;
|
|
4670
4670
|
current = current + 1 | 0;
|
|
@@ -4676,7 +4676,7 @@
|
|
|
4676
4676
|
current = current + 1 | 0;
|
|
4677
4677
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4678
4678
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4679
|
-
this.
|
|
4679
|
+
this.p4l("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4680
4680
|
}
|
|
4681
4681
|
if (hasExponent) {
|
|
4682
4682
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4688,31 +4688,31 @@
|
|
|
4688
4688
|
// Inline function 'kotlin.Long.minus' call
|
|
4689
4689
|
accumulator = accumulator.b3(toLong(10)).a3(toLong(digit));
|
|
4690
4690
|
if (accumulator.e1(new Long(0, 0)) > 0) {
|
|
4691
|
-
this.
|
|
4691
|
+
this.p4l('Numeric value overflow');
|
|
4692
4692
|
}
|
|
4693
4693
|
}
|
|
4694
4694
|
var hasChars = !(current === start);
|
|
4695
4695
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4696
|
-
this.
|
|
4696
|
+
this.p4l('Expected numeric literal');
|
|
4697
4697
|
}
|
|
4698
4698
|
if (hasQuotation) {
|
|
4699
4699
|
if (!hasChars) {
|
|
4700
|
-
this.
|
|
4700
|
+
this.p4l('EOF');
|
|
4701
4701
|
}
|
|
4702
|
-
if (!(charSequenceGet(this.
|
|
4703
|
-
this.
|
|
4702
|
+
if (!(charSequenceGet(this.h4r(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4703
|
+
this.p4l('Expected closing quotation mark');
|
|
4704
4704
|
}
|
|
4705
4705
|
current = current + 1 | 0;
|
|
4706
4706
|
}
|
|
4707
|
-
this.
|
|
4707
|
+
this.i4h_1 = current;
|
|
4708
4708
|
if (hasExponent) {
|
|
4709
4709
|
var doubleAccumulator = accumulator.q3() * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4710
4710
|
if (doubleAccumulator > (new Long(-1, 2147483647)).q3() || doubleAccumulator < (new Long(0, -2147483648)).q3()) {
|
|
4711
|
-
this.
|
|
4711
|
+
this.p4l('Numeric value overflow');
|
|
4712
4712
|
}
|
|
4713
4713
|
// Inline function 'kotlin.math.floor' call
|
|
4714
4714
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4715
|
-
this.
|
|
4715
|
+
this.p4l("Can't convert " + doubleAccumulator + ' to Long');
|
|
4716
4716
|
}
|
|
4717
4717
|
accumulator = numberToLong(doubleAccumulator);
|
|
4718
4718
|
}
|
|
@@ -4722,17 +4722,17 @@
|
|
|
4722
4722
|
} else if (!accumulator.equals(new Long(0, -2147483648))) {
|
|
4723
4723
|
tmp_0 = accumulator.g3();
|
|
4724
4724
|
} else {
|
|
4725
|
-
this.
|
|
4725
|
+
this.p4l('Numeric value overflow');
|
|
4726
4726
|
}
|
|
4727
4727
|
return tmp_0;
|
|
4728
4728
|
};
|
|
4729
|
-
protoOf(AbstractJsonLexer).
|
|
4730
|
-
var current = this.
|
|
4731
|
-
if (current === charSequenceLength(this.
|
|
4732
|
-
this.
|
|
4729
|
+
protoOf(AbstractJsonLexer).u4o = function () {
|
|
4730
|
+
var current = this.k4r();
|
|
4731
|
+
if (current === charSequenceLength(this.h4r())) {
|
|
4732
|
+
this.p4l('EOF');
|
|
4733
4733
|
}
|
|
4734
4734
|
var tmp;
|
|
4735
|
-
if (charSequenceGet(this.
|
|
4735
|
+
if (charSequenceGet(this.h4r(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4736
4736
|
current = current + 1 | 0;
|
|
4737
4737
|
tmp = true;
|
|
4738
4738
|
} else {
|
|
@@ -4741,13 +4741,13 @@
|
|
|
4741
4741
|
var hasQuotation = tmp;
|
|
4742
4742
|
var result = consumeBoolean2(this, current);
|
|
4743
4743
|
if (hasQuotation) {
|
|
4744
|
-
if (this.
|
|
4745
|
-
this.
|
|
4744
|
+
if (this.i4h_1 === charSequenceLength(this.h4r())) {
|
|
4745
|
+
this.p4l('EOF');
|
|
4746
4746
|
}
|
|
4747
|
-
if (!(charSequenceGet(this.
|
|
4748
|
-
this.
|
|
4747
|
+
if (!(charSequenceGet(this.h4r(), this.i4h_1) === _Char___init__impl__6a9atx(34))) {
|
|
4748
|
+
this.p4l('Expected closing quotation mark');
|
|
4749
4749
|
}
|
|
4750
|
-
this.
|
|
4750
|
+
this.i4h_1 = this.i4h_1 + 1 | 0;
|
|
4751
4751
|
}
|
|
4752
4752
|
return result;
|
|
4753
4753
|
};
|
|
@@ -4755,7 +4755,7 @@
|
|
|
4755
4755
|
var tmp;
|
|
4756
4756
|
// Inline function 'kotlin.code' call
|
|
4757
4757
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4758
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4758
|
+
var tmp_0 = CharMappings_getInstance().s4r_1;
|
|
4759
4759
|
// Inline function 'kotlin.code' call
|
|
4760
4760
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4761
4761
|
} else {
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4768
4768
|
}
|
|
4769
4769
|
function escapeToChar(c) {
|
|
4770
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4770
|
+
return c < 117 ? CharMappings_getInstance().r4r_1[c] : _Char___init__impl__6a9atx(0);
|
|
4771
4771
|
}
|
|
4772
4772
|
function initEscape($this) {
|
|
4773
4773
|
var inductionVariable = 0;
|
|
@@ -4813,7 +4813,7 @@
|
|
|
4813
4813
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4814
4814
|
// Inline function 'kotlin.code' call
|
|
4815
4815
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4816
|
-
$this.
|
|
4816
|
+
$this.r4r_1[tmp$ret$0] = numberToChar(c);
|
|
4817
4817
|
}
|
|
4818
4818
|
}
|
|
4819
4819
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4822,7 +4822,7 @@
|
|
|
4822
4822
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4823
4823
|
}
|
|
4824
4824
|
function initC2TC($this, c, cl) {
|
|
4825
|
-
$this.
|
|
4825
|
+
$this.s4r_1[c] = cl;
|
|
4826
4826
|
}
|
|
4827
4827
|
function initC2TC_0($this, c, cl) {
|
|
4828
4828
|
// Inline function 'kotlin.code' call
|
|
@@ -4831,8 +4831,8 @@
|
|
|
4831
4831
|
}
|
|
4832
4832
|
function CharMappings() {
|
|
4833
4833
|
CharMappings_instance = this;
|
|
4834
|
-
this.
|
|
4835
|
-
this.
|
|
4834
|
+
this.r4r_1 = charArray(117);
|
|
4835
|
+
this.s4r_1 = new Int8Array(126);
|
|
4836
4836
|
initEscape(this);
|
|
4837
4837
|
initCharToToken(this);
|
|
4838
4838
|
}
|
|
@@ -4845,48 +4845,48 @@
|
|
|
4845
4845
|
function StringJsonLexerWithComments(source) {
|
|
4846
4846
|
StringJsonLexer.call(this, source);
|
|
4847
4847
|
}
|
|
4848
|
-
protoOf(StringJsonLexerWithComments).
|
|
4849
|
-
var source = this.
|
|
4850
|
-
var cpos = this.
|
|
4848
|
+
protoOf(StringJsonLexerWithComments).w4m = function () {
|
|
4849
|
+
var source = this.h4r();
|
|
4850
|
+
var cpos = this.k4r();
|
|
4851
4851
|
if (cpos >= source.length || cpos === -1)
|
|
4852
4852
|
return 10;
|
|
4853
|
-
this.
|
|
4853
|
+
this.i4h_1 = cpos + 1 | 0;
|
|
4854
4854
|
return charToTokenClass(charSequenceGet(source, cpos));
|
|
4855
4855
|
};
|
|
4856
|
-
protoOf(StringJsonLexerWithComments).
|
|
4857
|
-
var current = this.
|
|
4858
|
-
if (current >= this.
|
|
4856
|
+
protoOf(StringJsonLexerWithComments).s4m = function () {
|
|
4857
|
+
var current = this.k4r();
|
|
4858
|
+
if (current >= this.h4r().length || current === -1)
|
|
4859
4859
|
return false;
|
|
4860
|
-
return this.
|
|
4860
|
+
return this.l4r(charSequenceGet(this.h4r(), current));
|
|
4861
4861
|
};
|
|
4862
|
-
protoOf(StringJsonLexerWithComments).
|
|
4863
|
-
var source = this.
|
|
4864
|
-
var current = this.
|
|
4862
|
+
protoOf(StringJsonLexerWithComments).g4o = function (expected) {
|
|
4863
|
+
var source = this.h4r();
|
|
4864
|
+
var current = this.k4r();
|
|
4865
4865
|
if (current >= source.length || current === -1) {
|
|
4866
|
-
this.
|
|
4867
|
-
this.
|
|
4866
|
+
this.i4h_1 = -1;
|
|
4867
|
+
this.n4r(expected);
|
|
4868
4868
|
}
|
|
4869
4869
|
var c = charSequenceGet(source, current);
|
|
4870
|
-
this.
|
|
4870
|
+
this.i4h_1 = current + 1 | 0;
|
|
4871
4871
|
if (c === expected)
|
|
4872
4872
|
return Unit_instance;
|
|
4873
4873
|
else {
|
|
4874
|
-
this.
|
|
4874
|
+
this.n4r(expected);
|
|
4875
4875
|
}
|
|
4876
4876
|
};
|
|
4877
|
-
protoOf(StringJsonLexerWithComments).
|
|
4878
|
-
var source = this.
|
|
4879
|
-
var cpos = this.
|
|
4877
|
+
protoOf(StringJsonLexerWithComments).r4m = function () {
|
|
4878
|
+
var source = this.h4r();
|
|
4879
|
+
var cpos = this.k4r();
|
|
4880
4880
|
if (cpos >= source.length || cpos === -1)
|
|
4881
4881
|
return 10;
|
|
4882
|
-
this.
|
|
4882
|
+
this.i4h_1 = cpos;
|
|
4883
4883
|
return charToTokenClass(charSequenceGet(source, cpos));
|
|
4884
4884
|
};
|
|
4885
|
-
protoOf(StringJsonLexerWithComments).
|
|
4886
|
-
var current = this.
|
|
4885
|
+
protoOf(StringJsonLexerWithComments).k4r = function () {
|
|
4886
|
+
var current = this.i4h_1;
|
|
4887
4887
|
if (current === -1)
|
|
4888
4888
|
return current;
|
|
4889
|
-
var source = this.
|
|
4889
|
+
var source = this.h4r();
|
|
4890
4890
|
$l$loop_1: while (current < source.length) {
|
|
4891
4891
|
var c = charSequenceGet(source, current);
|
|
4892
4892
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4907,8 +4907,8 @@
|
|
|
4907
4907
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4908
4908
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4909
4909
|
if (current === -1) {
|
|
4910
|
-
this.
|
|
4911
|
-
this.
|
|
4910
|
+
this.i4h_1 = source.length;
|
|
4911
|
+
this.p4l('Expected end of the block comment: "*/", but had EOF instead');
|
|
4912
4912
|
} else {
|
|
4913
4913
|
current = current + 2 | 0;
|
|
4914
4914
|
}
|
|
@@ -4917,22 +4917,22 @@
|
|
|
4917
4917
|
}
|
|
4918
4918
|
break $l$loop_1;
|
|
4919
4919
|
}
|
|
4920
|
-
this.
|
|
4920
|
+
this.i4h_1 = current;
|
|
4921
4921
|
return current;
|
|
4922
4922
|
};
|
|
4923
4923
|
function StringJsonLexer(source) {
|
|
4924
4924
|
AbstractJsonLexer.call(this);
|
|
4925
|
-
this.
|
|
4925
|
+
this.c4s_1 = source;
|
|
4926
4926
|
}
|
|
4927
|
-
protoOf(StringJsonLexer).
|
|
4928
|
-
return this.
|
|
4927
|
+
protoOf(StringJsonLexer).h4r = function () {
|
|
4928
|
+
return this.c4s_1;
|
|
4929
4929
|
};
|
|
4930
|
-
protoOf(StringJsonLexer).
|
|
4931
|
-
return position < this.
|
|
4930
|
+
protoOf(StringJsonLexer).i4r = function (position) {
|
|
4931
|
+
return position < this.h4r().length ? position : -1;
|
|
4932
4932
|
};
|
|
4933
|
-
protoOf(StringJsonLexer).
|
|
4934
|
-
var source = this.
|
|
4935
|
-
var cpos = this.
|
|
4933
|
+
protoOf(StringJsonLexer).w4m = function () {
|
|
4934
|
+
var source = this.h4r();
|
|
4935
|
+
var cpos = this.i4h_1;
|
|
4936
4936
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4937
4937
|
var _unary__edvuaz = cpos;
|
|
4938
4938
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4940,17 +4940,17 @@
|
|
|
4940
4940
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4941
4941
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4942
4942
|
continue $l$loop;
|
|
4943
|
-
this.
|
|
4943
|
+
this.i4h_1 = cpos;
|
|
4944
4944
|
return charToTokenClass(c);
|
|
4945
4945
|
}
|
|
4946
|
-
this.
|
|
4946
|
+
this.i4h_1 = source.length;
|
|
4947
4947
|
return 10;
|
|
4948
4948
|
};
|
|
4949
|
-
protoOf(StringJsonLexer).
|
|
4950
|
-
var current = this.
|
|
4949
|
+
protoOf(StringJsonLexer).s4m = function () {
|
|
4950
|
+
var current = this.i4h_1;
|
|
4951
4951
|
if (current === -1)
|
|
4952
4952
|
return false;
|
|
4953
|
-
var source = this.
|
|
4953
|
+
var source = this.h4r();
|
|
4954
4954
|
$l$loop: while (current < source.length) {
|
|
4955
4955
|
var c = charSequenceGet(source, current);
|
|
4956
4956
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4958,17 +4958,17 @@
|
|
|
4958
4958
|
current = current + 1 | 0;
|
|
4959
4959
|
continue $l$loop;
|
|
4960
4960
|
}
|
|
4961
|
-
this.
|
|
4962
|
-
return this.
|
|
4961
|
+
this.i4h_1 = current;
|
|
4962
|
+
return this.l4r(c);
|
|
4963
4963
|
}
|
|
4964
|
-
this.
|
|
4964
|
+
this.i4h_1 = current;
|
|
4965
4965
|
return false;
|
|
4966
4966
|
};
|
|
4967
|
-
protoOf(StringJsonLexer).
|
|
4968
|
-
var current = this.
|
|
4967
|
+
protoOf(StringJsonLexer).k4r = function () {
|
|
4968
|
+
var current = this.i4h_1;
|
|
4969
4969
|
if (current === -1)
|
|
4970
4970
|
return current;
|
|
4971
|
-
var source = this.
|
|
4971
|
+
var source = this.h4r();
|
|
4972
4972
|
$l$loop: while (current < source.length) {
|
|
4973
4973
|
var c = charSequenceGet(source, current);
|
|
4974
4974
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4978,15 +4978,15 @@
|
|
|
4978
4978
|
break $l$loop;
|
|
4979
4979
|
}
|
|
4980
4980
|
}
|
|
4981
|
-
this.
|
|
4981
|
+
this.i4h_1 = current;
|
|
4982
4982
|
return current;
|
|
4983
4983
|
};
|
|
4984
|
-
protoOf(StringJsonLexer).
|
|
4985
|
-
if (this.
|
|
4986
|
-
this.
|
|
4984
|
+
protoOf(StringJsonLexer).g4o = function (expected) {
|
|
4985
|
+
if (this.i4h_1 === -1) {
|
|
4986
|
+
this.n4r(expected);
|
|
4987
4987
|
}
|
|
4988
|
-
var source = this.
|
|
4989
|
-
var cpos = this.
|
|
4988
|
+
var source = this.h4r();
|
|
4989
|
+
var cpos = this.i4h_1;
|
|
4990
4990
|
$l$loop: while (cpos < source.length) {
|
|
4991
4991
|
var _unary__edvuaz = cpos;
|
|
4992
4992
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4994,80 +4994,80 @@
|
|
|
4994
4994
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4995
4995
|
if (c === _Char___init__impl__6a9atx(32) || c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13) || c === _Char___init__impl__6a9atx(9))
|
|
4996
4996
|
continue $l$loop;
|
|
4997
|
-
this.
|
|
4997
|
+
this.i4h_1 = cpos;
|
|
4998
4998
|
if (c === expected)
|
|
4999
4999
|
return Unit_instance;
|
|
5000
|
-
this.
|
|
5000
|
+
this.n4r(expected);
|
|
5001
5001
|
}
|
|
5002
|
-
this.
|
|
5003
|
-
this.
|
|
5002
|
+
this.i4h_1 = -1;
|
|
5003
|
+
this.n4r(expected);
|
|
5004
5004
|
};
|
|
5005
|
-
protoOf(StringJsonLexer).
|
|
5006
|
-
this.
|
|
5007
|
-
var current = this.
|
|
5008
|
-
var closingQuote = indexOf_0(this.
|
|
5005
|
+
protoOf(StringJsonLexer).m4o = function () {
|
|
5006
|
+
this.g4o(_Char___init__impl__6a9atx(34));
|
|
5007
|
+
var current = this.i4h_1;
|
|
5008
|
+
var closingQuote = indexOf_0(this.h4r(), _Char___init__impl__6a9atx(34), current);
|
|
5009
5009
|
if (closingQuote === -1) {
|
|
5010
|
-
this.
|
|
5011
|
-
this.
|
|
5010
|
+
this.u4m();
|
|
5011
|
+
this.o4r(1, false);
|
|
5012
5012
|
}
|
|
5013
5013
|
var inductionVariable = current;
|
|
5014
5014
|
if (inductionVariable < closingQuote)
|
|
5015
5015
|
do {
|
|
5016
5016
|
var i = inductionVariable;
|
|
5017
5017
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5018
|
-
if (charSequenceGet(this.
|
|
5019
|
-
return this.consumeString2(this.
|
|
5018
|
+
if (charSequenceGet(this.h4r(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5019
|
+
return this.consumeString2(this.h4r(), this.i4h_1, i);
|
|
5020
5020
|
}
|
|
5021
5021
|
}
|
|
5022
5022
|
while (inductionVariable < closingQuote);
|
|
5023
|
-
this.
|
|
5023
|
+
this.i4h_1 = closingQuote + 1 | 0;
|
|
5024
5024
|
// Inline function 'kotlin.text.substring' call
|
|
5025
5025
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5026
|
-
return this.
|
|
5026
|
+
return this.h4r().substring(current, closingQuote);
|
|
5027
5027
|
};
|
|
5028
|
-
protoOf(StringJsonLexer).
|
|
5029
|
-
var positionSnapshot = this.
|
|
5028
|
+
protoOf(StringJsonLexer).o4o = function (keyToMatch, isLenient) {
|
|
5029
|
+
var positionSnapshot = this.i4h_1;
|
|
5030
5030
|
try {
|
|
5031
|
-
if (!(this.
|
|
5031
|
+
if (!(this.w4m() === 6))
|
|
5032
5032
|
return null;
|
|
5033
|
-
var firstKey = this.
|
|
5033
|
+
var firstKey = this.j4o(isLenient);
|
|
5034
5034
|
if (!(firstKey === keyToMatch))
|
|
5035
5035
|
return null;
|
|
5036
|
-
this.
|
|
5037
|
-
if (!(this.
|
|
5036
|
+
this.p4r();
|
|
5037
|
+
if (!(this.w4m() === 5))
|
|
5038
5038
|
return null;
|
|
5039
|
-
return this.
|
|
5039
|
+
return this.j4o(isLenient);
|
|
5040
5040
|
}finally {
|
|
5041
|
-
this.
|
|
5042
|
-
this.
|
|
5041
|
+
this.i4h_1 = positionSnapshot;
|
|
5042
|
+
this.p4r();
|
|
5043
5043
|
}
|
|
5044
5044
|
};
|
|
5045
5045
|
function StringJsonLexer_0(json, source) {
|
|
5046
|
-
return !json.
|
|
5046
|
+
return !json.u4g_1.v4i_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5047
5047
|
}
|
|
5048
5048
|
function get_schemaCache(_this__u8e3s4) {
|
|
5049
|
-
return _this__u8e3s4.
|
|
5049
|
+
return _this__u8e3s4.w4g_1;
|
|
5050
5050
|
}
|
|
5051
5051
|
function JsonToStringWriter() {
|
|
5052
|
-
this.
|
|
5052
|
+
this.y4g_1 = StringBuilder_init_$Create$_0(128);
|
|
5053
5053
|
}
|
|
5054
|
-
protoOf(JsonToStringWriter).
|
|
5055
|
-
this.
|
|
5054
|
+
protoOf(JsonToStringWriter).t4k = function (value) {
|
|
5055
|
+
this.y4g_1.xc(value);
|
|
5056
5056
|
};
|
|
5057
|
-
protoOf(JsonToStringWriter).
|
|
5058
|
-
this.
|
|
5057
|
+
protoOf(JsonToStringWriter).n4k = function (char) {
|
|
5058
|
+
this.y4g_1.p8(char);
|
|
5059
5059
|
};
|
|
5060
|
-
protoOf(JsonToStringWriter).
|
|
5061
|
-
this.
|
|
5060
|
+
protoOf(JsonToStringWriter).p4k = function (text) {
|
|
5061
|
+
this.y4g_1.o8(text);
|
|
5062
5062
|
};
|
|
5063
|
-
protoOf(JsonToStringWriter).
|
|
5064
|
-
printQuoted(this.
|
|
5063
|
+
protoOf(JsonToStringWriter).z4k = function (text) {
|
|
5064
|
+
printQuoted(this.y4g_1, text);
|
|
5065
5065
|
};
|
|
5066
|
-
protoOf(JsonToStringWriter).
|
|
5067
|
-
this.
|
|
5066
|
+
protoOf(JsonToStringWriter).z4g = function () {
|
|
5067
|
+
this.y4g_1.ad();
|
|
5068
5068
|
};
|
|
5069
5069
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5070
|
-
return this.
|
|
5070
|
+
return this.y4g_1.toString();
|
|
5071
5071
|
};
|
|
5072
5072
|
function createMapForCache(initialCapacity) {
|
|
5073
5073
|
return HashMap_init_$Create$(initialCapacity);
|