@dmarket/p2p-tracker-core 1.4.0-beta → 1.4.1-SNAPSHOT-development.327
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/dmarket-p2p-tracker-core-domain.mjs +4023 -3936
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +15 -7
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2098 -2098
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +451 -451
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +626 -554
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1165 -1165
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/ktor-ktor-client-core.mjs +1928 -1928
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +319 -319
- package/ktor-ktor-http.mjs +793 -793
- package/ktor-ktor-io.mjs +628 -628
- package/ktor-ktor-utils.mjs +673 -673
- package/ktor-ktor-websockets.mjs +388 -388
- package/p2p-tracker-core.mjs +9196 -8377
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -268,74 +268,74 @@ function Default_getInstance() {
|
|
|
268
268
|
}
|
|
269
269
|
function Json(configuration, serializersModule) {
|
|
270
270
|
Default_getInstance();
|
|
271
|
-
this.
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
271
|
+
this.t1d_1 = configuration;
|
|
272
|
+
this.u1d_1 = serializersModule;
|
|
273
|
+
this.v1d_1 = new DescriptorSchemaCache();
|
|
274
274
|
}
|
|
275
275
|
protoOf(Json).fx = function () {
|
|
276
|
-
return this.
|
|
276
|
+
return this.u1d_1;
|
|
277
277
|
};
|
|
278
|
-
protoOf(Json).
|
|
278
|
+
protoOf(Json).w1d = function (serializer, value) {
|
|
279
279
|
var result = new JsonToStringWriter();
|
|
280
280
|
try {
|
|
281
281
|
encodeByWriter(this, result, serializer, value);
|
|
282
282
|
return result.toString();
|
|
283
283
|
}finally {
|
|
284
|
-
result.
|
|
284
|
+
result.a1e();
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
|
-
protoOf(Json).
|
|
287
|
+
protoOf(Json).x1d = function (deserializer, string) {
|
|
288
288
|
var lexer = StringJsonLexer_0(this, string);
|
|
289
289
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ot(), null);
|
|
290
290
|
var result = input.pw(deserializer);
|
|
291
|
-
lexer.
|
|
291
|
+
lexer.o1e();
|
|
292
292
|
return result;
|
|
293
293
|
};
|
|
294
|
-
protoOf(Json).
|
|
295
|
-
return this.
|
|
294
|
+
protoOf(Json).y1d = function (string) {
|
|
295
|
+
return this.x1d(JsonElementSerializer_getInstance(), string);
|
|
296
296
|
};
|
|
297
297
|
function JsonBuilder(json) {
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
}
|
|
318
|
-
protoOf(JsonBuilder).
|
|
319
|
-
if (this.
|
|
298
|
+
this.p1e_1 = json.t1d_1.i1f_1;
|
|
299
|
+
this.q1e_1 = json.t1d_1.n1f_1;
|
|
300
|
+
this.r1e_1 = json.t1d_1.j1f_1;
|
|
301
|
+
this.s1e_1 = json.t1d_1.k1f_1;
|
|
302
|
+
this.t1e_1 = json.t1d_1.m1f_1;
|
|
303
|
+
this.u1e_1 = json.t1d_1.o1f_1;
|
|
304
|
+
this.v1e_1 = json.t1d_1.p1f_1;
|
|
305
|
+
this.w1e_1 = json.t1d_1.r1f_1;
|
|
306
|
+
this.x1e_1 = json.t1d_1.y1f_1;
|
|
307
|
+
this.y1e_1 = json.t1d_1.t1f_1;
|
|
308
|
+
this.z1e_1 = json.t1d_1.u1f_1;
|
|
309
|
+
this.a1f_1 = json.t1d_1.v1f_1;
|
|
310
|
+
this.b1f_1 = json.t1d_1.w1f_1;
|
|
311
|
+
this.c1f_1 = json.t1d_1.x1f_1;
|
|
312
|
+
this.d1f_1 = json.t1d_1.s1f_1;
|
|
313
|
+
this.e1f_1 = json.t1d_1.l1f_1;
|
|
314
|
+
this.f1f_1 = json.t1d_1.q1f_1;
|
|
315
|
+
this.g1f_1 = json.fx();
|
|
316
|
+
this.h1f_1 = json.t1d_1.z1f_1;
|
|
317
|
+
}
|
|
318
|
+
protoOf(JsonBuilder).a1g = function () {
|
|
319
|
+
if (this.f1f_1) {
|
|
320
320
|
// Inline function 'kotlin.require' call
|
|
321
|
-
if (!(this.
|
|
321
|
+
if (!(this.w1e_1 === 'type')) {
|
|
322
322
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
323
323
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
324
324
|
}
|
|
325
325
|
// Inline function 'kotlin.require' call
|
|
326
|
-
if (!this.
|
|
326
|
+
if (!this.x1e_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
327
327
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
328
328
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
if (!this.
|
|
331
|
+
if (!this.t1e_1) {
|
|
332
332
|
// Inline function 'kotlin.require' call
|
|
333
|
-
if (!(this.
|
|
333
|
+
if (!(this.u1e_1 === ' ')) {
|
|
334
334
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
335
335
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
336
336
|
}
|
|
337
|
-
} else if (!(this.
|
|
338
|
-
var tmp0 = this.
|
|
337
|
+
} else if (!(this.u1e_1 === ' ')) {
|
|
338
|
+
var tmp0 = this.u1e_1;
|
|
339
339
|
var tmp$ret$6;
|
|
340
340
|
$l$block: {
|
|
341
341
|
// Inline function 'kotlin.text.all' call
|
|
@@ -353,24 +353,24 @@ protoOf(JsonBuilder).y1f = function () {
|
|
|
353
353
|
var allWhitespaces = tmp$ret$6;
|
|
354
354
|
// Inline function 'kotlin.require' call
|
|
355
355
|
if (!allWhitespaces) {
|
|
356
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
356
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.u1e_1;
|
|
357
357
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
return new JsonConfiguration(this.
|
|
360
|
+
return new JsonConfiguration(this.p1e_1, this.r1e_1, this.s1e_1, this.e1f_1, this.t1e_1, this.q1e_1, this.u1e_1, this.v1e_1, this.f1f_1, this.w1e_1, this.d1f_1, this.y1e_1, this.z1e_1, this.a1f_1, this.b1f_1, this.c1f_1, this.x1e_1, this.h1f_1);
|
|
361
361
|
};
|
|
362
362
|
function Json_0(from, builderAction) {
|
|
363
363
|
from = from === VOID ? Default_getInstance() : from;
|
|
364
364
|
var builder = new JsonBuilder(from);
|
|
365
365
|
builderAction(builder);
|
|
366
|
-
var conf = builder.
|
|
367
|
-
return new JsonImpl(conf, builder.
|
|
366
|
+
var conf = builder.a1g();
|
|
367
|
+
return new JsonImpl(conf, builder.g1f_1);
|
|
368
368
|
}
|
|
369
369
|
function validateConfiguration($this) {
|
|
370
370
|
if (equals($this.fx(), EmptySerializersModule()))
|
|
371
371
|
return Unit_instance;
|
|
372
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
373
|
-
$this.fx().
|
|
372
|
+
var collector = new JsonSerializersModuleValidator($this.t1d_1);
|
|
373
|
+
$this.fx().b1d(collector);
|
|
374
374
|
}
|
|
375
375
|
function JsonImpl(configuration, module_0) {
|
|
376
376
|
Json.call(this, configuration, module_0);
|
|
@@ -401,27 +401,27 @@ function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowSt
|
|
|
401
401
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
402
402
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
403
403
|
exceptionsWithDebugInfo = exceptionsWithDebugInfo === VOID ? true : exceptionsWithDebugInfo;
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
421
|
-
this.
|
|
404
|
+
this.i1f_1 = encodeDefaults;
|
|
405
|
+
this.j1f_1 = ignoreUnknownKeys;
|
|
406
|
+
this.k1f_1 = isLenient;
|
|
407
|
+
this.l1f_1 = allowStructuredMapKeys;
|
|
408
|
+
this.m1f_1 = prettyPrint;
|
|
409
|
+
this.n1f_1 = explicitNulls;
|
|
410
|
+
this.o1f_1 = prettyPrintIndent;
|
|
411
|
+
this.p1f_1 = coerceInputValues;
|
|
412
|
+
this.q1f_1 = useArrayPolymorphism;
|
|
413
|
+
this.r1f_1 = classDiscriminator;
|
|
414
|
+
this.s1f_1 = allowSpecialFloatingPointValues;
|
|
415
|
+
this.t1f_1 = useAlternativeNames;
|
|
416
|
+
this.u1f_1 = namingStrategy;
|
|
417
|
+
this.v1f_1 = decodeEnumsCaseInsensitive;
|
|
418
|
+
this.w1f_1 = allowTrailingComma;
|
|
419
|
+
this.x1f_1 = allowComments;
|
|
420
|
+
this.y1f_1 = classDiscriminatorMode;
|
|
421
|
+
this.z1f_1 = exceptionsWithDebugInfo;
|
|
422
422
|
}
|
|
423
423
|
protoOf(JsonConfiguration).toString = function () {
|
|
424
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
424
|
+
return 'JsonConfiguration(encodeDefaults=' + this.i1f_1 + ', ignoreUnknownKeys=' + this.j1f_1 + ', isLenient=' + this.k1f_1 + ', ' + ('allowStructuredMapKeys=' + this.l1f_1 + ', prettyPrint=' + this.m1f_1 + ', explicitNulls=' + this.n1f_1 + ', ') + ("prettyPrintIndent='" + this.o1f_1 + "', coerceInputValues=" + this.p1f_1 + ', useArrayPolymorphism=' + this.q1f_1 + ', ') + ("classDiscriminator='" + this.r1f_1 + "', allowSpecialFloatingPointValues=" + this.s1f_1 + ', ') + ('useAlternativeNames=' + this.t1f_1 + ', namingStrategy=' + toString_0(this.u1f_1) + ', decodeEnumsCaseInsensitive=' + this.v1f_1 + ', ') + ('allowTrailingComma=' + this.w1f_1 + ', allowComments=' + this.x1f_1 + ', classDiscriminatorMode=' + this.y1f_1.toString() + ', exceptionsWithDebugInfo=' + this.z1f_1 + ')');
|
|
425
425
|
};
|
|
426
426
|
var ClassDiscriminatorMode_NONE_instance;
|
|
427
427
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -478,31 +478,31 @@ function JsonObject$toString$lambda(_destruct__k2r9zo) {
|
|
|
478
478
|
}
|
|
479
479
|
function JsonObject(content) {
|
|
480
480
|
JsonElement.call(this);
|
|
481
|
-
this.
|
|
481
|
+
this.d1g_1 = content;
|
|
482
482
|
}
|
|
483
483
|
protoOf(JsonObject).equals = function (other) {
|
|
484
|
-
return equals(this.
|
|
484
|
+
return equals(this.d1g_1, other);
|
|
485
485
|
};
|
|
486
486
|
protoOf(JsonObject).hashCode = function () {
|
|
487
|
-
return hashCode(this.
|
|
487
|
+
return hashCode(this.d1g_1);
|
|
488
488
|
};
|
|
489
489
|
protoOf(JsonObject).toString = function () {
|
|
490
|
-
var tmp = this.
|
|
490
|
+
var tmp = this.d1g_1.n1();
|
|
491
491
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
492
492
|
};
|
|
493
493
|
protoOf(JsonObject).r = function () {
|
|
494
|
-
return this.
|
|
494
|
+
return this.d1g_1.r();
|
|
495
495
|
};
|
|
496
|
-
protoOf(JsonObject).
|
|
497
|
-
return this.
|
|
496
|
+
protoOf(JsonObject).e1g = function (key) {
|
|
497
|
+
return this.d1g_1.v2(key);
|
|
498
498
|
};
|
|
499
499
|
protoOf(JsonObject).v2 = function (key) {
|
|
500
500
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
501
501
|
return false;
|
|
502
|
-
return this.
|
|
502
|
+
return this.e1g((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
503
503
|
};
|
|
504
504
|
protoOf(JsonObject).ae = function (key) {
|
|
505
|
-
return this.
|
|
505
|
+
return this.d1g_1.x2(key);
|
|
506
506
|
};
|
|
507
507
|
protoOf(JsonObject).x2 = function (key) {
|
|
508
508
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -510,16 +510,16 @@ protoOf(JsonObject).x2 = function (key) {
|
|
|
510
510
|
return this.ae((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
511
511
|
};
|
|
512
512
|
protoOf(JsonObject).e1 = function () {
|
|
513
|
-
return this.
|
|
513
|
+
return this.d1g_1.e1();
|
|
514
514
|
};
|
|
515
515
|
protoOf(JsonObject).y2 = function () {
|
|
516
|
-
return this.
|
|
516
|
+
return this.d1g_1.y2();
|
|
517
517
|
};
|
|
518
518
|
protoOf(JsonObject).z2 = function () {
|
|
519
|
-
return this.
|
|
519
|
+
return this.d1g_1.z2();
|
|
520
520
|
};
|
|
521
521
|
protoOf(JsonObject).n1 = function () {
|
|
522
|
-
return this.
|
|
522
|
+
return this.d1g_1.n1();
|
|
523
523
|
};
|
|
524
524
|
function Companion_0() {
|
|
525
525
|
}
|
|
@@ -537,70 +537,70 @@ function Companion_getInstance_5() {
|
|
|
537
537
|
}
|
|
538
538
|
function JsonArray(content) {
|
|
539
539
|
JsonElement.call(this);
|
|
540
|
-
this.
|
|
540
|
+
this.f1g_1 = content;
|
|
541
541
|
}
|
|
542
542
|
protoOf(JsonArray).equals = function (other) {
|
|
543
|
-
return equals(this.
|
|
543
|
+
return equals(this.f1g_1, other);
|
|
544
544
|
};
|
|
545
545
|
protoOf(JsonArray).hashCode = function () {
|
|
546
|
-
return hashCode(this.
|
|
546
|
+
return hashCode(this.f1g_1);
|
|
547
547
|
};
|
|
548
548
|
protoOf(JsonArray).toString = function () {
|
|
549
|
-
return joinToString(this.
|
|
549
|
+
return joinToString(this.f1g_1, ',', '[', ']');
|
|
550
550
|
};
|
|
551
551
|
protoOf(JsonArray).r = function () {
|
|
552
|
-
return this.
|
|
552
|
+
return this.f1g_1.r();
|
|
553
553
|
};
|
|
554
|
-
protoOf(JsonArray).
|
|
555
|
-
return this.
|
|
554
|
+
protoOf(JsonArray).g1g = function (element) {
|
|
555
|
+
return this.f1g_1.d1(element);
|
|
556
556
|
};
|
|
557
557
|
protoOf(JsonArray).d1 = function (element) {
|
|
558
558
|
if (!(element instanceof JsonElement))
|
|
559
559
|
return false;
|
|
560
|
-
return this.
|
|
560
|
+
return this.g1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
561
561
|
};
|
|
562
562
|
protoOf(JsonArray).t = function () {
|
|
563
|
-
return this.
|
|
563
|
+
return this.f1g_1.t();
|
|
564
564
|
};
|
|
565
|
-
protoOf(JsonArray).
|
|
566
|
-
return this.
|
|
565
|
+
protoOf(JsonArray).h1g = function (elements) {
|
|
566
|
+
return this.f1g_1.q2(elements);
|
|
567
567
|
};
|
|
568
568
|
protoOf(JsonArray).q2 = function (elements) {
|
|
569
|
-
return this.
|
|
569
|
+
return this.h1g(elements);
|
|
570
570
|
};
|
|
571
571
|
protoOf(JsonArray).f1 = function (index) {
|
|
572
|
-
return this.
|
|
572
|
+
return this.f1g_1.f1(index);
|
|
573
573
|
};
|
|
574
|
-
protoOf(JsonArray).
|
|
575
|
-
return this.
|
|
574
|
+
protoOf(JsonArray).i1g = function (element) {
|
|
575
|
+
return this.f1g_1.l1(element);
|
|
576
576
|
};
|
|
577
577
|
protoOf(JsonArray).l1 = function (element) {
|
|
578
578
|
if (!(element instanceof JsonElement))
|
|
579
579
|
return -1;
|
|
580
|
-
return this.
|
|
580
|
+
return this.i1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
581
581
|
};
|
|
582
|
-
protoOf(JsonArray).
|
|
583
|
-
return this.
|
|
582
|
+
protoOf(JsonArray).j1g = function (element) {
|
|
583
|
+
return this.f1g_1.r2(element);
|
|
584
584
|
};
|
|
585
585
|
protoOf(JsonArray).r2 = function (element) {
|
|
586
586
|
if (!(element instanceof JsonElement))
|
|
587
587
|
return -1;
|
|
588
|
-
return this.
|
|
588
|
+
return this.j1g(element instanceof JsonElement ? element : THROW_CCE());
|
|
589
589
|
};
|
|
590
590
|
protoOf(JsonArray).s2 = function () {
|
|
591
|
-
return this.
|
|
591
|
+
return this.f1g_1.s2();
|
|
592
592
|
};
|
|
593
593
|
protoOf(JsonArray).k1 = function (index) {
|
|
594
|
-
return this.
|
|
594
|
+
return this.f1g_1.k1(index);
|
|
595
595
|
};
|
|
596
596
|
protoOf(JsonArray).t2 = function (fromIndex, toIndex) {
|
|
597
|
-
return this.
|
|
597
|
+
return this.f1g_1.t2(fromIndex, toIndex);
|
|
598
598
|
};
|
|
599
599
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
600
|
-
return this.
|
|
600
|
+
return this.f1g_1.asJsReadonlyArrayView();
|
|
601
601
|
};
|
|
602
602
|
protoOf(JsonArray).e1 = function () {
|
|
603
|
-
return this.
|
|
603
|
+
return this.f1g_1.e1();
|
|
604
604
|
};
|
|
605
605
|
function Companion_2() {
|
|
606
606
|
}
|
|
@@ -612,24 +612,24 @@ function JsonPrimitive() {
|
|
|
612
612
|
JsonElement.call(this);
|
|
613
613
|
}
|
|
614
614
|
protoOf(JsonPrimitive).toString = function () {
|
|
615
|
-
return this.
|
|
615
|
+
return this.l1g();
|
|
616
616
|
};
|
|
617
617
|
function JsonNull() {
|
|
618
618
|
JsonNull_instance = this;
|
|
619
619
|
JsonPrimitive.call(this);
|
|
620
|
-
this.
|
|
620
|
+
this.m1g_1 = 'null';
|
|
621
621
|
}
|
|
622
|
-
protoOf(JsonNull).
|
|
622
|
+
protoOf(JsonNull).k1g = function () {
|
|
623
623
|
return false;
|
|
624
624
|
};
|
|
625
|
-
protoOf(JsonNull).j1g = function () {
|
|
626
|
-
return this.k1g_1;
|
|
627
|
-
};
|
|
628
625
|
protoOf(JsonNull).l1g = function () {
|
|
626
|
+
return this.m1g_1;
|
|
627
|
+
};
|
|
628
|
+
protoOf(JsonNull).n1g = function () {
|
|
629
629
|
return JsonNullSerializer_getInstance();
|
|
630
630
|
};
|
|
631
|
-
protoOf(JsonNull).
|
|
632
|
-
return this.
|
|
631
|
+
protoOf(JsonNull).i15 = function (typeParamsSerializers) {
|
|
632
|
+
return this.n1g();
|
|
633
633
|
};
|
|
634
634
|
var JsonNull_instance;
|
|
635
635
|
function JsonNull_getInstance() {
|
|
@@ -652,34 +652,34 @@ function JsonPrimitive_1(value) {
|
|
|
652
652
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
653
653
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
654
654
|
JsonPrimitive.call(this);
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
657
|
-
this.
|
|
658
|
-
if (!(this.
|
|
655
|
+
this.o1g_1 = isString;
|
|
656
|
+
this.p1g_1 = coerceToInlineType;
|
|
657
|
+
this.q1g_1 = toString(body);
|
|
658
|
+
if (!(this.p1g_1 == null)) {
|
|
659
659
|
// Inline function 'kotlin.require' call
|
|
660
660
|
// Inline function 'kotlin.require' call
|
|
661
|
-
if (!this.
|
|
661
|
+
if (!this.p1g_1.yu()) {
|
|
662
662
|
var message = 'Failed requirement.';
|
|
663
663
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
664
664
|
}
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
protoOf(JsonLiteral).
|
|
668
|
-
return this.m1g_1;
|
|
669
|
-
};
|
|
670
|
-
protoOf(JsonLiteral).j1g = function () {
|
|
667
|
+
protoOf(JsonLiteral).k1g = function () {
|
|
671
668
|
return this.o1g_1;
|
|
672
669
|
};
|
|
670
|
+
protoOf(JsonLiteral).l1g = function () {
|
|
671
|
+
return this.q1g_1;
|
|
672
|
+
};
|
|
673
673
|
protoOf(JsonLiteral).toString = function () {
|
|
674
674
|
var tmp;
|
|
675
|
-
if (this.
|
|
675
|
+
if (this.o1g_1) {
|
|
676
676
|
// Inline function 'kotlin.text.buildString' call
|
|
677
677
|
// Inline function 'kotlin.apply' call
|
|
678
678
|
var this_0 = StringBuilder_init_$Create$();
|
|
679
|
-
printQuoted(this_0, this.
|
|
679
|
+
printQuoted(this_0, this.q1g_1);
|
|
680
680
|
tmp = this_0.toString();
|
|
681
681
|
} else {
|
|
682
|
-
tmp = this.
|
|
682
|
+
tmp = this.q1g_1;
|
|
683
683
|
}
|
|
684
684
|
return tmp;
|
|
685
685
|
};
|
|
@@ -690,15 +690,15 @@ protoOf(JsonLiteral).equals = function (other) {
|
|
|
690
690
|
return false;
|
|
691
691
|
if (!(other instanceof JsonLiteral))
|
|
692
692
|
THROW_CCE();
|
|
693
|
-
if (!(this.m1g_1 === other.m1g_1))
|
|
694
|
-
return false;
|
|
695
693
|
if (!(this.o1g_1 === other.o1g_1))
|
|
696
694
|
return false;
|
|
695
|
+
if (!(this.q1g_1 === other.q1g_1))
|
|
696
|
+
return false;
|
|
697
697
|
return true;
|
|
698
698
|
};
|
|
699
699
|
protoOf(JsonLiteral).hashCode = function () {
|
|
700
|
-
var result = getBooleanHashCode(this.
|
|
701
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
700
|
+
var result = getBooleanHashCode(this.o1g_1);
|
|
701
|
+
result = imul(31, result) + getStringHashCode(this.q1g_1) | 0;
|
|
702
702
|
return result;
|
|
703
703
|
};
|
|
704
704
|
function get_jsonPrimitive(_this__u8e3s4) {
|
|
@@ -718,29 +718,29 @@ function get_contentOrNull(_this__u8e3s4) {
|
|
|
718
718
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
719
719
|
tmp = null;
|
|
720
720
|
} else {
|
|
721
|
-
tmp = _this__u8e3s4.
|
|
721
|
+
tmp = _this__u8e3s4.l1g();
|
|
722
722
|
}
|
|
723
723
|
return tmp;
|
|
724
724
|
}
|
|
725
725
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
726
726
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
727
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
727
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.l1g());
|
|
728
728
|
}
|
|
729
729
|
function parseLongImpl(_this__u8e3s4) {
|
|
730
730
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
731
|
-
return StringJsonLexer_0(Default_getInstance(), _this__u8e3s4.
|
|
731
|
+
return StringJsonLexer_0(Default_getInstance(), _this__u8e3s4.l1g()).r1g();
|
|
732
732
|
}
|
|
733
733
|
function get_float(_this__u8e3s4) {
|
|
734
734
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
735
735
|
// Inline function 'kotlin.text.toFloat' call
|
|
736
|
-
var this_0 = _this__u8e3s4.
|
|
736
|
+
var this_0 = _this__u8e3s4.l1g();
|
|
737
737
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
738
738
|
// Inline function 'kotlin.js.asDynamic' call
|
|
739
739
|
return toDouble(this_0);
|
|
740
740
|
}
|
|
741
741
|
function get_double(_this__u8e3s4) {
|
|
742
742
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
743
|
-
return toDouble(_this__u8e3s4.
|
|
743
|
+
return toDouble(_this__u8e3s4.l1g());
|
|
744
744
|
}
|
|
745
745
|
function JsonPrimitive_2(value) {
|
|
746
746
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -791,52 +791,52 @@ function _init_properties_JsonElement_kt__7cbdc2() {
|
|
|
791
791
|
function JsonObjectBuilder() {
|
|
792
792
|
var tmp = this;
|
|
793
793
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
794
|
-
tmp.
|
|
794
|
+
tmp.s1g_1 = LinkedHashMap_init_$Create$();
|
|
795
795
|
}
|
|
796
|
-
protoOf(JsonObjectBuilder).
|
|
797
|
-
return this.
|
|
796
|
+
protoOf(JsonObjectBuilder).t1g = function (key, element) {
|
|
797
|
+
return this.s1g_1.g3(key, element);
|
|
798
798
|
};
|
|
799
|
-
protoOf(JsonObjectBuilder).
|
|
800
|
-
return new JsonObject(this.
|
|
799
|
+
protoOf(JsonObjectBuilder).a1g = function () {
|
|
800
|
+
return new JsonObject(this.s1g_1);
|
|
801
801
|
};
|
|
802
802
|
function put(_this__u8e3s4, key, value) {
|
|
803
|
-
return _this__u8e3s4.
|
|
803
|
+
return _this__u8e3s4.t1g(key, JsonPrimitive_0(value));
|
|
804
804
|
}
|
|
805
805
|
function put_0(_this__u8e3s4, key, value) {
|
|
806
|
-
return _this__u8e3s4.
|
|
806
|
+
return _this__u8e3s4.t1g(key, JsonPrimitive_1(value));
|
|
807
807
|
}
|
|
808
808
|
function putJsonArray(_this__u8e3s4, key, builderAction) {
|
|
809
809
|
// Inline function 'kotlinx.serialization.json.buildJsonArray' call
|
|
810
810
|
var builder = new JsonArrayBuilder();
|
|
811
811
|
builderAction(builder);
|
|
812
|
-
var tmp$ret$0 = builder.
|
|
813
|
-
return _this__u8e3s4.
|
|
812
|
+
var tmp$ret$0 = builder.a1g();
|
|
813
|
+
return _this__u8e3s4.t1g(key, tmp$ret$0);
|
|
814
814
|
}
|
|
815
815
|
function JsonArrayBuilder() {
|
|
816
816
|
var tmp = this;
|
|
817
817
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
818
|
-
tmp.
|
|
818
|
+
tmp.u1g_1 = ArrayList_init_$Create$();
|
|
819
819
|
}
|
|
820
|
-
protoOf(JsonArrayBuilder).
|
|
820
|
+
protoOf(JsonArrayBuilder).v1g = function (element) {
|
|
821
821
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
822
|
-
this.
|
|
822
|
+
this.u1g_1.b1(element);
|
|
823
823
|
return true;
|
|
824
824
|
};
|
|
825
|
-
protoOf(JsonArrayBuilder).
|
|
826
|
-
return new JsonArray(this.
|
|
825
|
+
protoOf(JsonArrayBuilder).a1g = function () {
|
|
826
|
+
return new JsonArray(this.u1g_1);
|
|
827
827
|
};
|
|
828
828
|
function put_1(_this__u8e3s4, key, value) {
|
|
829
|
-
return _this__u8e3s4.
|
|
829
|
+
return _this__u8e3s4.t1g(key, JsonPrimitive_2(value));
|
|
830
830
|
}
|
|
831
831
|
function addJsonObject(_this__u8e3s4, builderAction) {
|
|
832
832
|
// Inline function 'kotlinx.serialization.json.buildJsonObject' call
|
|
833
833
|
var builder = new JsonObjectBuilder();
|
|
834
834
|
builderAction(builder);
|
|
835
|
-
var tmp$ret$0 = builder.
|
|
836
|
-
return _this__u8e3s4.
|
|
835
|
+
var tmp$ret$0 = builder.a1g();
|
|
836
|
+
return _this__u8e3s4.v1g(tmp$ret$0);
|
|
837
837
|
}
|
|
838
838
|
function add_0(_this__u8e3s4, value) {
|
|
839
|
-
return _this__u8e3s4.
|
|
839
|
+
return _this__u8e3s4.v1g(JsonPrimitive_1(value));
|
|
840
840
|
}
|
|
841
841
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
842
842
|
$this$buildSerialDescriptor.cu('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
@@ -847,30 +847,30 @@ function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
|
847
847
|
return Unit_instance;
|
|
848
848
|
}
|
|
849
849
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
850
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
850
|
+
return JsonPrimitiveSerializer_getInstance().w1g_1;
|
|
851
851
|
}
|
|
852
852
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
853
|
-
return JsonNullSerializer_getInstance().
|
|
853
|
+
return JsonNullSerializer_getInstance().x1g_1;
|
|
854
854
|
}
|
|
855
855
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
856
|
-
return JsonLiteralSerializer_getInstance().
|
|
856
|
+
return JsonLiteralSerializer_getInstance().y1g_1;
|
|
857
857
|
}
|
|
858
858
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
859
|
-
return JsonObjectSerializer_getInstance().
|
|
859
|
+
return JsonObjectSerializer_getInstance().z1g_1;
|
|
860
860
|
}
|
|
861
861
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
862
|
-
return JsonArraySerializer_getInstance().
|
|
862
|
+
return JsonArraySerializer_getInstance().a1h_1;
|
|
863
863
|
}
|
|
864
864
|
function JsonElementSerializer() {
|
|
865
865
|
JsonElementSerializer_instance = this;
|
|
866
866
|
var tmp = this;
|
|
867
867
|
var tmp_0 = SEALED_getInstance();
|
|
868
|
-
tmp.
|
|
868
|
+
tmp.b1h_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
869
869
|
}
|
|
870
870
|
protoOf(JsonElementSerializer).ot = function () {
|
|
871
|
-
return this.
|
|
871
|
+
return this.b1h_1;
|
|
872
872
|
};
|
|
873
|
-
protoOf(JsonElementSerializer).
|
|
873
|
+
protoOf(JsonElementSerializer).c1h = function (encoder, value) {
|
|
874
874
|
verify(encoder);
|
|
875
875
|
if (value instanceof JsonPrimitive) {
|
|
876
876
|
encoder.iy(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -887,11 +887,11 @@ protoOf(JsonElementSerializer).a1h = function (encoder, value) {
|
|
|
887
887
|
}
|
|
888
888
|
};
|
|
889
889
|
protoOf(JsonElementSerializer).pt = function (encoder, value) {
|
|
890
|
-
return this.
|
|
890
|
+
return this.c1h(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
891
891
|
};
|
|
892
892
|
protoOf(JsonElementSerializer).qt = function (decoder) {
|
|
893
893
|
var input = asJsonDecoder(decoder);
|
|
894
|
-
return input.
|
|
894
|
+
return input.c1g();
|
|
895
895
|
};
|
|
896
896
|
var JsonElementSerializer_instance;
|
|
897
897
|
function JsonElementSerializer_getInstance() {
|
|
@@ -901,41 +901,41 @@ function JsonElementSerializer_getInstance() {
|
|
|
901
901
|
}
|
|
902
902
|
function JsonObjectDescriptor() {
|
|
903
903
|
JsonObjectDescriptor_instance = this;
|
|
904
|
-
this.
|
|
905
|
-
this.
|
|
904
|
+
this.d1h_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ot();
|
|
905
|
+
this.e1h_1 = 'kotlinx.serialization.json.JsonObject';
|
|
906
906
|
}
|
|
907
907
|
protoOf(JsonObjectDescriptor).wu = function () {
|
|
908
|
-
return this.
|
|
908
|
+
return this.e1h_1;
|
|
909
909
|
};
|
|
910
910
|
protoOf(JsonObjectDescriptor).bv = function (index) {
|
|
911
|
-
return this.
|
|
911
|
+
return this.d1h_1.bv(index);
|
|
912
912
|
};
|
|
913
913
|
protoOf(JsonObjectDescriptor).cv = function (name) {
|
|
914
|
-
return this.
|
|
914
|
+
return this.d1h_1.cv(name);
|
|
915
915
|
};
|
|
916
916
|
protoOf(JsonObjectDescriptor).dv = function (index) {
|
|
917
|
-
return this.
|
|
917
|
+
return this.d1h_1.dv(index);
|
|
918
918
|
};
|
|
919
919
|
protoOf(JsonObjectDescriptor).ev = function (index) {
|
|
920
|
-
return this.
|
|
920
|
+
return this.d1h_1.ev(index);
|
|
921
921
|
};
|
|
922
922
|
protoOf(JsonObjectDescriptor).fv = function (index) {
|
|
923
|
-
return this.
|
|
923
|
+
return this.d1h_1.fv(index);
|
|
924
924
|
};
|
|
925
925
|
protoOf(JsonObjectDescriptor).xu = function () {
|
|
926
|
-
return this.
|
|
926
|
+
return this.d1h_1.xu();
|
|
927
927
|
};
|
|
928
928
|
protoOf(JsonObjectDescriptor).pu = function () {
|
|
929
|
-
return this.
|
|
929
|
+
return this.d1h_1.pu();
|
|
930
930
|
};
|
|
931
931
|
protoOf(JsonObjectDescriptor).yu = function () {
|
|
932
|
-
return this.
|
|
932
|
+
return this.d1h_1.yu();
|
|
933
933
|
};
|
|
934
934
|
protoOf(JsonObjectDescriptor).zu = function () {
|
|
935
|
-
return this.
|
|
935
|
+
return this.d1h_1.zu();
|
|
936
936
|
};
|
|
937
937
|
protoOf(JsonObjectDescriptor).av = function () {
|
|
938
|
-
return this.
|
|
938
|
+
return this.d1h_1.av();
|
|
939
939
|
};
|
|
940
940
|
var JsonObjectDescriptor_instance;
|
|
941
941
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -945,17 +945,17 @@ function JsonObjectDescriptor_getInstance() {
|
|
|
945
945
|
}
|
|
946
946
|
function JsonObjectSerializer() {
|
|
947
947
|
JsonObjectSerializer_instance = this;
|
|
948
|
-
this.
|
|
948
|
+
this.z1g_1 = JsonObjectDescriptor_getInstance();
|
|
949
949
|
}
|
|
950
950
|
protoOf(JsonObjectSerializer).ot = function () {
|
|
951
|
-
return this.
|
|
951
|
+
return this.z1g_1;
|
|
952
952
|
};
|
|
953
|
-
protoOf(JsonObjectSerializer).
|
|
953
|
+
protoOf(JsonObjectSerializer).f1h = function (encoder, value) {
|
|
954
954
|
verify(encoder);
|
|
955
955
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).pt(encoder, value);
|
|
956
956
|
};
|
|
957
957
|
protoOf(JsonObjectSerializer).pt = function (encoder, value) {
|
|
958
|
-
return this.
|
|
958
|
+
return this.f1h(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
959
959
|
};
|
|
960
960
|
protoOf(JsonObjectSerializer).qt = function (decoder) {
|
|
961
961
|
verify_0(decoder);
|
|
@@ -969,41 +969,41 @@ function JsonObjectSerializer_getInstance() {
|
|
|
969
969
|
}
|
|
970
970
|
function JsonArrayDescriptor() {
|
|
971
971
|
JsonArrayDescriptor_instance = this;
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
972
|
+
this.g1h_1 = ListSerializer(JsonElementSerializer_getInstance()).ot();
|
|
973
|
+
this.h1h_1 = 'kotlinx.serialization.json.JsonArray';
|
|
974
974
|
}
|
|
975
975
|
protoOf(JsonArrayDescriptor).wu = function () {
|
|
976
|
-
return this.
|
|
976
|
+
return this.h1h_1;
|
|
977
977
|
};
|
|
978
978
|
protoOf(JsonArrayDescriptor).bv = function (index) {
|
|
979
|
-
return this.
|
|
979
|
+
return this.g1h_1.bv(index);
|
|
980
980
|
};
|
|
981
981
|
protoOf(JsonArrayDescriptor).cv = function (name) {
|
|
982
|
-
return this.
|
|
982
|
+
return this.g1h_1.cv(name);
|
|
983
983
|
};
|
|
984
984
|
protoOf(JsonArrayDescriptor).dv = function (index) {
|
|
985
|
-
return this.
|
|
985
|
+
return this.g1h_1.dv(index);
|
|
986
986
|
};
|
|
987
987
|
protoOf(JsonArrayDescriptor).ev = function (index) {
|
|
988
|
-
return this.
|
|
988
|
+
return this.g1h_1.ev(index);
|
|
989
989
|
};
|
|
990
990
|
protoOf(JsonArrayDescriptor).fv = function (index) {
|
|
991
|
-
return this.
|
|
991
|
+
return this.g1h_1.fv(index);
|
|
992
992
|
};
|
|
993
993
|
protoOf(JsonArrayDescriptor).xu = function () {
|
|
994
|
-
return this.
|
|
994
|
+
return this.g1h_1.xu();
|
|
995
995
|
};
|
|
996
996
|
protoOf(JsonArrayDescriptor).pu = function () {
|
|
997
|
-
return this.
|
|
997
|
+
return this.g1h_1.pu();
|
|
998
998
|
};
|
|
999
999
|
protoOf(JsonArrayDescriptor).yu = function () {
|
|
1000
|
-
return this.
|
|
1000
|
+
return this.g1h_1.yu();
|
|
1001
1001
|
};
|
|
1002
1002
|
protoOf(JsonArrayDescriptor).zu = function () {
|
|
1003
|
-
return this.
|
|
1003
|
+
return this.g1h_1.zu();
|
|
1004
1004
|
};
|
|
1005
1005
|
protoOf(JsonArrayDescriptor).av = function () {
|
|
1006
|
-
return this.
|
|
1006
|
+
return this.g1h_1.av();
|
|
1007
1007
|
};
|
|
1008
1008
|
var JsonArrayDescriptor_instance;
|
|
1009
1009
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1013,17 +1013,17 @@ function JsonArrayDescriptor_getInstance() {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
function JsonArraySerializer() {
|
|
1015
1015
|
JsonArraySerializer_instance = this;
|
|
1016
|
-
this.
|
|
1016
|
+
this.a1h_1 = JsonArrayDescriptor_getInstance();
|
|
1017
1017
|
}
|
|
1018
1018
|
protoOf(JsonArraySerializer).ot = function () {
|
|
1019
|
-
return this.
|
|
1019
|
+
return this.a1h_1;
|
|
1020
1020
|
};
|
|
1021
|
-
protoOf(JsonArraySerializer).
|
|
1021
|
+
protoOf(JsonArraySerializer).i1h = function (encoder, value) {
|
|
1022
1022
|
verify(encoder);
|
|
1023
1023
|
ListSerializer(JsonElementSerializer_getInstance()).pt(encoder, value);
|
|
1024
1024
|
};
|
|
1025
1025
|
protoOf(JsonArraySerializer).pt = function (encoder, value) {
|
|
1026
|
-
return this.
|
|
1026
|
+
return this.i1h(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1027
1027
|
};
|
|
1028
1028
|
protoOf(JsonArraySerializer).qt = function (decoder) {
|
|
1029
1029
|
verify_0(decoder);
|
|
@@ -1037,12 +1037,12 @@ function JsonArraySerializer_getInstance() {
|
|
|
1037
1037
|
}
|
|
1038
1038
|
function JsonPrimitiveSerializer() {
|
|
1039
1039
|
JsonPrimitiveSerializer_instance = this;
|
|
1040
|
-
this.
|
|
1040
|
+
this.w1g_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
1041
1041
|
}
|
|
1042
1042
|
protoOf(JsonPrimitiveSerializer).ot = function () {
|
|
1043
|
-
return this.
|
|
1043
|
+
return this.w1g_1;
|
|
1044
1044
|
};
|
|
1045
|
-
protoOf(JsonPrimitiveSerializer).
|
|
1045
|
+
protoOf(JsonPrimitiveSerializer).j1h = function (encoder, value) {
|
|
1046
1046
|
verify(encoder);
|
|
1047
1047
|
var tmp;
|
|
1048
1048
|
if (value instanceof JsonNull) {
|
|
@@ -1056,16 +1056,16 @@ protoOf(JsonPrimitiveSerializer).h1h = function (encoder, value) {
|
|
|
1056
1056
|
return tmp;
|
|
1057
1057
|
};
|
|
1058
1058
|
protoOf(JsonPrimitiveSerializer).pt = function (encoder, value) {
|
|
1059
|
-
return this.
|
|
1059
|
+
return this.j1h(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
1060
1060
|
};
|
|
1061
1061
|
protoOf(JsonPrimitiveSerializer).qt = function (decoder) {
|
|
1062
1062
|
var jsonDecoder = asJsonDecoder(decoder);
|
|
1063
|
-
var result = jsonDecoder.
|
|
1063
|
+
var result = jsonDecoder.c1g();
|
|
1064
1064
|
if (!(result instanceof JsonPrimitive)) {
|
|
1065
1065
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
1066
1066
|
var shortMessage = 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result));
|
|
1067
1067
|
var tmp;
|
|
1068
|
-
if (jsonDecoder.
|
|
1068
|
+
if (jsonDecoder.b1g().t1d_1.z1f_1) {
|
|
1069
1069
|
var tmp$ret$3 = toString(result);
|
|
1070
1070
|
tmp = toString(minify(tmp$ret$3));
|
|
1071
1071
|
} else {
|
|
@@ -1084,17 +1084,17 @@ function JsonPrimitiveSerializer_getInstance() {
|
|
|
1084
1084
|
}
|
|
1085
1085
|
function JsonNullSerializer() {
|
|
1086
1086
|
JsonNullSerializer_instance = this;
|
|
1087
|
-
this.
|
|
1087
|
+
this.x1g_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
1088
1088
|
}
|
|
1089
1089
|
protoOf(JsonNullSerializer).ot = function () {
|
|
1090
|
-
return this.
|
|
1090
|
+
return this.x1g_1;
|
|
1091
1091
|
};
|
|
1092
|
-
protoOf(JsonNullSerializer).
|
|
1092
|
+
protoOf(JsonNullSerializer).k1h = function (encoder, value) {
|
|
1093
1093
|
verify(encoder);
|
|
1094
1094
|
encoder.lx();
|
|
1095
1095
|
};
|
|
1096
1096
|
protoOf(JsonNullSerializer).pt = function (encoder, value) {
|
|
1097
|
-
return this.
|
|
1097
|
+
return this.k1h(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
1098
1098
|
};
|
|
1099
1099
|
protoOf(JsonNullSerializer).qt = function (decoder) {
|
|
1100
1100
|
verify_0(decoder);
|
|
@@ -1115,27 +1115,27 @@ function defer(deferred) {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
function JsonLiteralSerializer() {
|
|
1117
1117
|
JsonLiteralSerializer_instance = this;
|
|
1118
|
-
this.
|
|
1118
|
+
this.y1g_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
1119
1119
|
}
|
|
1120
1120
|
protoOf(JsonLiteralSerializer).ot = function () {
|
|
1121
|
-
return this.
|
|
1121
|
+
return this.y1g_1;
|
|
1122
1122
|
};
|
|
1123
|
-
protoOf(JsonLiteralSerializer).
|
|
1123
|
+
protoOf(JsonLiteralSerializer).l1h = function (encoder, value) {
|
|
1124
1124
|
verify(encoder);
|
|
1125
|
-
if (value.
|
|
1126
|
-
return encoder.ux(value.
|
|
1125
|
+
if (value.o1g_1) {
|
|
1126
|
+
return encoder.ux(value.q1g_1);
|
|
1127
1127
|
}
|
|
1128
|
-
if (!(value.
|
|
1129
|
-
return encoder.wx(value.
|
|
1128
|
+
if (!(value.p1g_1 == null)) {
|
|
1129
|
+
return encoder.wx(value.p1g_1).ux(value.q1g_1);
|
|
1130
1130
|
}
|
|
1131
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
1131
|
+
var tmp0_safe_receiver = toLongOrNull(value.q1g_1);
|
|
1132
1132
|
if (tmp0_safe_receiver == null)
|
|
1133
1133
|
null;
|
|
1134
1134
|
else {
|
|
1135
1135
|
// Inline function 'kotlin.let' call
|
|
1136
1136
|
return encoder.qx(tmp0_safe_receiver);
|
|
1137
1137
|
}
|
|
1138
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1138
|
+
var tmp1_safe_receiver = toULongOrNull(value.q1g_1);
|
|
1139
1139
|
var tmp = tmp1_safe_receiver;
|
|
1140
1140
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1141
1141
|
null;
|
|
@@ -1149,33 +1149,33 @@ protoOf(JsonLiteralSerializer).j1h = function (encoder, value) {
|
|
|
1149
1149
|
tmp_1.qx(tmp$ret$4);
|
|
1150
1150
|
return Unit_instance;
|
|
1151
1151
|
}
|
|
1152
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
1152
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.q1g_1);
|
|
1153
1153
|
if (tmp2_safe_receiver == null)
|
|
1154
1154
|
null;
|
|
1155
1155
|
else {
|
|
1156
1156
|
// Inline function 'kotlin.let' call
|
|
1157
1157
|
return encoder.sx(tmp2_safe_receiver);
|
|
1158
1158
|
}
|
|
1159
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1159
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.q1g_1);
|
|
1160
1160
|
if (tmp3_safe_receiver == null)
|
|
1161
1161
|
null;
|
|
1162
1162
|
else {
|
|
1163
1163
|
// Inline function 'kotlin.let' call
|
|
1164
1164
|
return encoder.mx(tmp3_safe_receiver);
|
|
1165
1165
|
}
|
|
1166
|
-
encoder.ux(value.
|
|
1166
|
+
encoder.ux(value.q1g_1);
|
|
1167
1167
|
};
|
|
1168
1168
|
protoOf(JsonLiteralSerializer).pt = function (encoder, value) {
|
|
1169
|
-
return this.
|
|
1169
|
+
return this.l1h(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1170
1170
|
};
|
|
1171
1171
|
protoOf(JsonLiteralSerializer).qt = function (decoder) {
|
|
1172
1172
|
var jsonDecoder = asJsonDecoder(decoder);
|
|
1173
|
-
var result = jsonDecoder.
|
|
1173
|
+
var result = jsonDecoder.c1g();
|
|
1174
1174
|
if (!(result instanceof JsonLiteral)) {
|
|
1175
1175
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
1176
1176
|
var shortMessage = 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result));
|
|
1177
1177
|
var tmp;
|
|
1178
|
-
if (jsonDecoder.
|
|
1178
|
+
if (jsonDecoder.b1g().t1d_1.z1f_1) {
|
|
1179
1179
|
var tmp$ret$3 = toString(result);
|
|
1180
1180
|
tmp = toString(minify(tmp$ret$3));
|
|
1181
1181
|
} else {
|
|
@@ -1219,7 +1219,7 @@ function asJsonEncoder(_this__u8e3s4) {
|
|
|
1219
1219
|
return tmp;
|
|
1220
1220
|
}
|
|
1221
1221
|
function _get_original__l7ku1m($this) {
|
|
1222
|
-
var tmp0 = $this.
|
|
1222
|
+
var tmp0 = $this.m1h_1;
|
|
1223
1223
|
var tmp = KProperty1;
|
|
1224
1224
|
// Inline function 'kotlin.getValue' call
|
|
1225
1225
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1231,7 +1231,7 @@ function defer$o$_get_original_$ref_3cje7k() {
|
|
|
1231
1231
|
}, 1, 0, 9);
|
|
1232
1232
|
}
|
|
1233
1233
|
function defer$1($deferred) {
|
|
1234
|
-
this.
|
|
1234
|
+
this.m1h_1 = lazy($deferred);
|
|
1235
1235
|
}
|
|
1236
1236
|
protoOf(defer$1).wu = function () {
|
|
1237
1237
|
return _get_original__l7ku1m(this).wu();
|
|
@@ -1262,180 +1262,180 @@ function JsonEncoder() {
|
|
|
1262
1262
|
function JsonDecodingException(fullMessage, shortMessage, offset, path, input, hint) {
|
|
1263
1263
|
JsonException.call(this, fullMessage);
|
|
1264
1264
|
captureStack(this, JsonDecodingException);
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1269
|
-
this.
|
|
1265
|
+
this.o1h_1 = shortMessage;
|
|
1266
|
+
this.p1h_1 = offset;
|
|
1267
|
+
this.q1h_1 = path;
|
|
1268
|
+
this.r1h_1 = input;
|
|
1269
|
+
this.s1h_1 = hint;
|
|
1270
1270
|
}
|
|
1271
1271
|
function JsonException(message) {
|
|
1272
1272
|
SerializationException_init_$Init$(message, this);
|
|
1273
1273
|
captureStack(this, JsonException);
|
|
1274
|
-
this.
|
|
1274
|
+
this.t1h_1 = message;
|
|
1275
1275
|
delete this.message;
|
|
1276
1276
|
}
|
|
1277
1277
|
protoOf(JsonException).e = function () {
|
|
1278
|
-
return this.
|
|
1278
|
+
return this.t1h_1;
|
|
1279
1279
|
};
|
|
1280
1280
|
function JsonEncodingException(shortMessage, classSerialName, hint) {
|
|
1281
1281
|
classSerialName = classSerialName === VOID ? null : classSerialName;
|
|
1282
1282
|
hint = hint === VOID ? null : hint;
|
|
1283
1283
|
JsonException.call(this, formatEncodingException(shortMessage, hint));
|
|
1284
1284
|
captureStack(this, JsonEncodingException);
|
|
1285
|
-
this.
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1285
|
+
this.v1h_1 = shortMessage;
|
|
1286
|
+
this.w1h_1 = classSerialName;
|
|
1287
|
+
this.x1h_1 = hint;
|
|
1288
1288
|
}
|
|
1289
1289
|
function Composer(writer) {
|
|
1290
|
-
this.
|
|
1291
|
-
this.
|
|
1290
|
+
this.y1h_1 = writer;
|
|
1291
|
+
this.z1h_1 = true;
|
|
1292
1292
|
}
|
|
1293
|
-
protoOf(Composer).y1h = function () {
|
|
1294
|
-
this.x1h_1 = true;
|
|
1295
|
-
};
|
|
1296
|
-
protoOf(Composer).z1h = function () {
|
|
1297
|
-
return Unit_instance;
|
|
1298
|
-
};
|
|
1299
1293
|
protoOf(Composer).a1i = function () {
|
|
1300
|
-
this.
|
|
1294
|
+
this.z1h_1 = true;
|
|
1301
1295
|
};
|
|
1302
1296
|
protoOf(Composer).b1i = function () {
|
|
1303
|
-
|
|
1297
|
+
return Unit_instance;
|
|
1304
1298
|
};
|
|
1305
1299
|
protoOf(Composer).c1i = function () {
|
|
1306
|
-
|
|
1300
|
+
this.z1h_1 = false;
|
|
1307
1301
|
};
|
|
1308
|
-
protoOf(Composer).d1i = function (
|
|
1309
|
-
|
|
1302
|
+
protoOf(Composer).d1i = function () {
|
|
1303
|
+
this.z1h_1 = false;
|
|
1304
|
+
};
|
|
1305
|
+
protoOf(Composer).e1i = function () {
|
|
1306
|
+
return Unit_instance;
|
|
1310
1307
|
};
|
|
1311
1308
|
protoOf(Composer).f1i = function (v) {
|
|
1312
|
-
return this.
|
|
1309
|
+
return this.y1h_1.g1i(v);
|
|
1313
1310
|
};
|
|
1314
1311
|
protoOf(Composer).h1i = function (v) {
|
|
1315
|
-
return this.
|
|
1316
|
-
};
|
|
1317
|
-
protoOf(Composer).i1i = function (v) {
|
|
1318
|
-
return this.w1h_1.g1i(v.toString());
|
|
1312
|
+
return this.y1h_1.i1i(v);
|
|
1319
1313
|
};
|
|
1320
1314
|
protoOf(Composer).j1i = function (v) {
|
|
1321
|
-
return this.
|
|
1315
|
+
return this.y1h_1.i1i(v.toString());
|
|
1322
1316
|
};
|
|
1323
|
-
protoOf(Composer).
|
|
1324
|
-
return this.
|
|
1317
|
+
protoOf(Composer).k1i = function (v) {
|
|
1318
|
+
return this.y1h_1.i1i(v.toString());
|
|
1325
1319
|
};
|
|
1326
|
-
protoOf(Composer).
|
|
1327
|
-
return this.
|
|
1320
|
+
protoOf(Composer).l1i = function (v) {
|
|
1321
|
+
return this.y1h_1.m1i(fromInt(v));
|
|
1328
1322
|
};
|
|
1329
1323
|
protoOf(Composer).n1i = function (v) {
|
|
1330
|
-
return this.
|
|
1324
|
+
return this.y1h_1.m1i(fromInt(v));
|
|
1331
1325
|
};
|
|
1332
1326
|
protoOf(Composer).o1i = function (v) {
|
|
1333
|
-
return this.
|
|
1327
|
+
return this.y1h_1.m1i(fromInt(v));
|
|
1334
1328
|
};
|
|
1335
|
-
protoOf(Composer).p1i = function (
|
|
1336
|
-
return this.
|
|
1329
|
+
protoOf(Composer).p1i = function (v) {
|
|
1330
|
+
return this.y1h_1.m1i(v);
|
|
1331
|
+
};
|
|
1332
|
+
protoOf(Composer).q1i = function (v) {
|
|
1333
|
+
return this.y1h_1.i1i(v.toString());
|
|
1334
|
+
};
|
|
1335
|
+
protoOf(Composer).r1i = function (value) {
|
|
1336
|
+
return this.y1h_1.s1i(value);
|
|
1337
1337
|
};
|
|
1338
1338
|
function Composer_0(sb, json) {
|
|
1339
|
-
return json.
|
|
1339
|
+
return json.t1d_1.m1f_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1340
1340
|
}
|
|
1341
1341
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1342
1342
|
Composer.call(this, writer);
|
|
1343
|
-
this.
|
|
1343
|
+
this.v1i_1 = forceQuoting;
|
|
1344
1344
|
}
|
|
1345
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1346
|
-
if (this.
|
|
1345
|
+
protoOf(ComposerForUnsignedNumbers).o1i = function (v) {
|
|
1346
|
+
if (this.v1i_1) {
|
|
1347
1347
|
// Inline function 'kotlin.toUInt' call
|
|
1348
1348
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1349
|
-
this.
|
|
1349
|
+
this.r1i(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1350
1350
|
} else {
|
|
1351
1351
|
// Inline function 'kotlin.toUInt' call
|
|
1352
1352
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1353
|
-
this.
|
|
1353
|
+
this.h1i(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1354
1354
|
}
|
|
1355
1355
|
};
|
|
1356
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1357
|
-
if (this.
|
|
1356
|
+
protoOf(ComposerForUnsignedNumbers).p1i = function (v) {
|
|
1357
|
+
if (this.v1i_1) {
|
|
1358
1358
|
// Inline function 'kotlin.toULong' call
|
|
1359
1359
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1360
|
-
this.
|
|
1360
|
+
this.r1i(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1361
1361
|
} else {
|
|
1362
1362
|
// Inline function 'kotlin.toULong' call
|
|
1363
1363
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1364
|
-
this.
|
|
1364
|
+
this.h1i(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1365
1365
|
}
|
|
1366
1366
|
};
|
|
1367
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1368
|
-
if (this.
|
|
1367
|
+
protoOf(ComposerForUnsignedNumbers).l1i = function (v) {
|
|
1368
|
+
if (this.v1i_1) {
|
|
1369
1369
|
// Inline function 'kotlin.toUByte' call
|
|
1370
1370
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1371
|
-
this.
|
|
1371
|
+
this.r1i(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1372
1372
|
} else {
|
|
1373
1373
|
// Inline function 'kotlin.toUByte' call
|
|
1374
1374
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1375
|
-
this.
|
|
1375
|
+
this.h1i(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1376
1376
|
}
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1379
|
-
if (this.
|
|
1378
|
+
protoOf(ComposerForUnsignedNumbers).n1i = function (v) {
|
|
1379
|
+
if (this.v1i_1) {
|
|
1380
1380
|
// Inline function 'kotlin.toUShort' call
|
|
1381
1381
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1382
|
-
this.
|
|
1382
|
+
this.r1i(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1383
1383
|
} else {
|
|
1384
1384
|
// Inline function 'kotlin.toUShort' call
|
|
1385
1385
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1386
|
-
this.
|
|
1386
|
+
this.h1i(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1387
1387
|
}
|
|
1388
1388
|
};
|
|
1389
1389
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1390
1390
|
Composer.call(this, writer);
|
|
1391
|
-
this.
|
|
1391
|
+
this.y1i_1 = forceQuoting;
|
|
1392
1392
|
}
|
|
1393
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1394
|
-
if (this.
|
|
1395
|
-
protoOf(Composer).
|
|
1393
|
+
protoOf(ComposerForUnquotedLiterals).r1i = function (value) {
|
|
1394
|
+
if (this.y1i_1) {
|
|
1395
|
+
protoOf(Composer).r1i.call(this, value);
|
|
1396
1396
|
} else {
|
|
1397
|
-
protoOf(Composer).
|
|
1397
|
+
protoOf(Composer).h1i.call(this, value);
|
|
1398
1398
|
}
|
|
1399
1399
|
};
|
|
1400
1400
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1401
1401
|
Composer.call(this, writer);
|
|
1402
|
-
this.
|
|
1403
|
-
this.
|
|
1402
|
+
this.b1j_1 = json;
|
|
1403
|
+
this.c1j_1 = 0;
|
|
1404
1404
|
}
|
|
1405
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1406
|
-
this.
|
|
1407
|
-
this.
|
|
1405
|
+
protoOf(ComposerWithPrettyPrint).a1i = function () {
|
|
1406
|
+
this.z1h_1 = true;
|
|
1407
|
+
this.c1j_1 = this.c1j_1 + 1 | 0;
|
|
1408
1408
|
};
|
|
1409
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1410
|
-
this.
|
|
1409
|
+
protoOf(ComposerWithPrettyPrint).b1i = function () {
|
|
1410
|
+
this.c1j_1 = this.c1j_1 - 1 | 0;
|
|
1411
1411
|
};
|
|
1412
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1413
|
-
this.
|
|
1414
|
-
this.
|
|
1412
|
+
protoOf(ComposerWithPrettyPrint).c1i = function () {
|
|
1413
|
+
this.z1h_1 = false;
|
|
1414
|
+
this.h1i('\n');
|
|
1415
1415
|
// Inline function 'kotlin.repeat' call
|
|
1416
|
-
var times = this.
|
|
1416
|
+
var times = this.c1j_1;
|
|
1417
1417
|
var inductionVariable = 0;
|
|
1418
1418
|
if (inductionVariable < times)
|
|
1419
1419
|
do {
|
|
1420
1420
|
var index = inductionVariable;
|
|
1421
1421
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1422
|
-
this.
|
|
1422
|
+
this.h1i(this.b1j_1.t1d_1.o1f_1);
|
|
1423
1423
|
}
|
|
1424
1424
|
while (inductionVariable < times);
|
|
1425
1425
|
};
|
|
1426
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1427
|
-
if (this.
|
|
1428
|
-
this.
|
|
1426
|
+
protoOf(ComposerWithPrettyPrint).d1i = function () {
|
|
1427
|
+
if (this.z1h_1)
|
|
1428
|
+
this.z1h_1 = false;
|
|
1429
1429
|
else {
|
|
1430
|
-
this.
|
|
1430
|
+
this.c1i();
|
|
1431
1431
|
}
|
|
1432
1432
|
};
|
|
1433
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1434
|
-
this.
|
|
1433
|
+
protoOf(ComposerWithPrettyPrint).e1i = function () {
|
|
1434
|
+
this.f1i(_Char___init__impl__6a9atx(32));
|
|
1435
1435
|
};
|
|
1436
1436
|
function readIfAbsent($this, descriptor, index) {
|
|
1437
|
-
$this.
|
|
1438
|
-
return $this.
|
|
1437
|
+
$this.e1j_1 = (!descriptor.fv(index) && descriptor.ev(index).pu());
|
|
1438
|
+
return $this.e1j_1;
|
|
1439
1439
|
}
|
|
1440
1440
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1441
1441
|
return constructCallableReference(function (p0_0, p1) {
|
|
@@ -1445,14 +1445,14 @@ function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
function JsonElementMarker(descriptor) {
|
|
1447
1447
|
var tmp = this;
|
|
1448
|
-
tmp.
|
|
1449
|
-
this.
|
|
1448
|
+
tmp.d1j_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1449
|
+
this.e1j_1 = false;
|
|
1450
1450
|
}
|
|
1451
|
-
protoOf(JsonElementMarker).
|
|
1452
|
-
this.
|
|
1451
|
+
protoOf(JsonElementMarker).f1j = function (index) {
|
|
1452
|
+
this.d1j_1.y12(index);
|
|
1453
1453
|
};
|
|
1454
|
-
protoOf(JsonElementMarker).
|
|
1455
|
-
return this.
|
|
1454
|
+
protoOf(JsonElementMarker).g1j = function () {
|
|
1455
|
+
return this.d1j_1.z12();
|
|
1456
1456
|
};
|
|
1457
1457
|
function minify(_this__u8e3s4, offset) {
|
|
1458
1458
|
offset = offset === VOID ? -1 : offset;
|
|
@@ -1506,10 +1506,10 @@ function formatDecodingException(offset, shortMessage, path, hint, input) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1508
1508
|
entity = entity === VOID ? 'object' : entity;
|
|
1509
|
-
_this__u8e3s4.
|
|
1509
|
+
_this__u8e3s4.h1j('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.k1e_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1510
1510
|
}
|
|
1511
1511
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1512
|
-
_this__u8e3s4.
|
|
1512
|
+
_this__u8e3s4.i1j(nonFiniteFpMessage(result, null), VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1513
1513
|
}
|
|
1514
1514
|
function InvalidFloatingPointEncoded(value, key) {
|
|
1515
1515
|
key = key === VOID ? null : key;
|
|
@@ -1524,7 +1524,7 @@ function access$nonFiniteFpMessage$tJsonExceptionsKt(value, key) {
|
|
|
1524
1524
|
function decodingExceptionOf_0(_this__u8e3s4, shortMessage, offset, path, hint, input) {
|
|
1525
1525
|
// Inline function 'kotlinx.serialization.json.internal.ifDebugInput' call
|
|
1526
1526
|
var tmp;
|
|
1527
|
-
if (_this__u8e3s4.
|
|
1527
|
+
if (_this__u8e3s4.j1e_1.z1f_1) {
|
|
1528
1528
|
tmp = toString(minify(input, offset));
|
|
1529
1529
|
} else {
|
|
1530
1530
|
tmp = null;
|
|
@@ -1558,7 +1558,7 @@ var JsonSerializationNamesKey;
|
|
|
1558
1558
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1559
1559
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1560
1560
|
var tmp;
|
|
1561
|
-
if (json.
|
|
1561
|
+
if (json.t1d_1.j1f_1) {
|
|
1562
1562
|
tmp = true;
|
|
1563
1563
|
} else {
|
|
1564
1564
|
var tmp0 = _this__u8e3s4.av();
|
|
@@ -1603,7 +1603,7 @@ function getJsonNameIndex(_this__u8e3s4, json, name) {
|
|
|
1603
1603
|
var index = _this__u8e3s4.cv(name);
|
|
1604
1604
|
if (!(index === -3))
|
|
1605
1605
|
return index;
|
|
1606
|
-
if (!json.
|
|
1606
|
+
if (!json.t1d_1.t1f_1)
|
|
1607
1607
|
return index;
|
|
1608
1608
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1609
1609
|
}
|
|
@@ -1622,13 +1622,13 @@ function getJsonElementName(_this__u8e3s4, json, index) {
|
|
|
1622
1622
|
}
|
|
1623
1623
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1624
1624
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1625
|
-
return equals(_this__u8e3s4.xu(), CLASS_getInstance()) ? json.
|
|
1625
|
+
return equals(_this__u8e3s4.xu(), CLASS_getInstance()) ? json.t1d_1.u1f_1 : null;
|
|
1626
1626
|
}
|
|
1627
1627
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1628
1628
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1629
1629
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1630
1630
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1631
|
-
return tmp.
|
|
1631
|
+
return tmp.k1j(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1632
1632
|
}
|
|
1633
1633
|
function getJsonEncodedNames(_this__u8e3s4, json) {
|
|
1634
1634
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1637,7 +1637,7 @@ function getJsonEncodedNames(_this__u8e3s4, json) {
|
|
|
1637
1637
|
}
|
|
1638
1638
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1639
1639
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1640
|
-
return _this__u8e3s4.
|
|
1640
|
+
return _this__u8e3s4.t1d_1.v1f_1 && equals(descriptor.xu(), ENUM_getInstance());
|
|
1641
1641
|
}
|
|
1642
1642
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1643
1643
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1648,7 +1648,7 @@ function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
|
1648
1648
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1649
1649
|
var tmp = get_schemaCache(json);
|
|
1650
1650
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1651
|
-
return tmp.
|
|
1651
|
+
return tmp.k1j(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1652
1652
|
}
|
|
1653
1653
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1654
1654
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1674,7 +1674,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
1676
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1677
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1677
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l1j_1;
|
|
1678
1678
|
if (tmp1_safe_receiver == null)
|
|
1679
1679
|
null;
|
|
1680
1680
|
else {
|
|
@@ -1701,7 +1701,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1701
1701
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1702
1702
|
tmp_0 = _this__u8e3s4.bv(i).toLowerCase();
|
|
1703
1703
|
} else if (!(strategyForClasses == null)) {
|
|
1704
|
-
tmp_0 = strategyForClasses.
|
|
1704
|
+
tmp_0 = strategyForClasses.m1j(_this__u8e3s4, i, _this__u8e3s4.bv(i));
|
|
1705
1705
|
} else {
|
|
1706
1706
|
tmp_0 = null;
|
|
1707
1707
|
}
|
|
@@ -1739,7 +1739,7 @@ function serializationNamesIndices$lambda($this_serializationNamesIndices, $stra
|
|
|
1739
1739
|
while (tmp < tmp_0) {
|
|
1740
1740
|
var tmp_2 = tmp;
|
|
1741
1741
|
var baseName = $this_serializationNamesIndices.bv(tmp_2);
|
|
1742
|
-
var name = $strategy.
|
|
1742
|
+
var name = $strategy.m1j($this_serializationNamesIndices, tmp_2, baseName);
|
|
1743
1743
|
if (!trackingSet.b1(name))
|
|
1744
1744
|
throw new JsonEncodingException("The transformed name '" + name + "' for property " + baseName + ' already exists ' + ('in ' + toString($this_serializationNamesIndices)), $this_serializationNamesIndices.wu());
|
|
1745
1745
|
tmp_1[tmp_2] = name;
|
|
@@ -1779,8 +1779,8 @@ function RedactedKey_getInstance() {
|
|
|
1779
1779
|
return RedactedKey_instance;
|
|
1780
1780
|
}
|
|
1781
1781
|
function resize($this) {
|
|
1782
|
-
var newSize = imul($this.
|
|
1783
|
-
$this.
|
|
1782
|
+
var newSize = imul($this.q1j_1, 2);
|
|
1783
|
+
$this.o1j_1 = copyOf($this.o1j_1, newSize);
|
|
1784
1784
|
var tmp = 0;
|
|
1785
1785
|
var tmp_0 = new Int32Array(newSize);
|
|
1786
1786
|
while (tmp < newSize) {
|
|
@@ -1789,7 +1789,7 @@ function resize($this) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
var newIndices = tmp_0;
|
|
1791
1791
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1792
|
-
var this_0 = $this.
|
|
1792
|
+
var this_0 = $this.p1j_1;
|
|
1793
1793
|
var endIndex = this_0.length;
|
|
1794
1794
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1795
1795
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1797,13 +1797,13 @@ function resize($this) {
|
|
|
1797
1797
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1798
1798
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1799
1799
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1800
|
-
$this.
|
|
1800
|
+
$this.p1j_1 = newIndices;
|
|
1801
1801
|
}
|
|
1802
1802
|
function JsonPath(configuration) {
|
|
1803
|
-
this.
|
|
1803
|
+
this.n1j_1 = configuration;
|
|
1804
1804
|
var tmp = this;
|
|
1805
1805
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1806
|
-
tmp.
|
|
1806
|
+
tmp.o1j_1 = Array(8);
|
|
1807
1807
|
var tmp_0 = this;
|
|
1808
1808
|
var tmp_1 = 0;
|
|
1809
1809
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1811,71 +1811,71 @@ function JsonPath(configuration) {
|
|
|
1811
1811
|
tmp_2[tmp_1] = -1;
|
|
1812
1812
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1813
1813
|
}
|
|
1814
|
-
tmp_0.
|
|
1815
|
-
this.
|
|
1814
|
+
tmp_0.p1j_1 = tmp_2;
|
|
1815
|
+
this.q1j_1 = -1;
|
|
1816
1816
|
}
|
|
1817
|
-
protoOf(JsonPath).
|
|
1818
|
-
this.
|
|
1819
|
-
var depth = this.
|
|
1820
|
-
if (depth === this.
|
|
1817
|
+
protoOf(JsonPath).r1j = function (sd) {
|
|
1818
|
+
this.q1j_1 = this.q1j_1 + 1 | 0;
|
|
1819
|
+
var depth = this.q1j_1;
|
|
1820
|
+
if (depth === this.o1j_1.length) {
|
|
1821
1821
|
resize(this);
|
|
1822
1822
|
}
|
|
1823
|
-
this.
|
|
1823
|
+
this.o1j_1[depth] = sd;
|
|
1824
1824
|
};
|
|
1825
|
-
protoOf(JsonPath).
|
|
1826
|
-
this.
|
|
1825
|
+
protoOf(JsonPath).s1j = function (index) {
|
|
1826
|
+
this.p1j_1[this.q1j_1] = index;
|
|
1827
1827
|
};
|
|
1828
|
-
protoOf(JsonPath).
|
|
1828
|
+
protoOf(JsonPath).t1j = function (key) {
|
|
1829
1829
|
var tmp;
|
|
1830
|
-
if (!(this.
|
|
1831
|
-
this.
|
|
1832
|
-
tmp = this.
|
|
1830
|
+
if (!(this.p1j_1[this.q1j_1] === -2)) {
|
|
1831
|
+
this.q1j_1 = this.q1j_1 + 1 | 0;
|
|
1832
|
+
tmp = this.q1j_1 === this.o1j_1.length;
|
|
1833
1833
|
} else {
|
|
1834
1834
|
tmp = false;
|
|
1835
1835
|
}
|
|
1836
1836
|
if (tmp) {
|
|
1837
1837
|
resize(this);
|
|
1838
1838
|
}
|
|
1839
|
-
this.
|
|
1840
|
-
this.
|
|
1839
|
+
this.o1j_1[this.q1j_1] = this.n1j_1.z1f_1 ? key : RedactedKey_instance;
|
|
1840
|
+
this.p1j_1[this.q1j_1] = -2;
|
|
1841
1841
|
};
|
|
1842
|
-
protoOf(JsonPath).
|
|
1843
|
-
if (this.
|
|
1844
|
-
this.
|
|
1842
|
+
protoOf(JsonPath).u1j = function () {
|
|
1843
|
+
if (this.p1j_1[this.q1j_1] === -2) {
|
|
1844
|
+
this.o1j_1[this.q1j_1] = Tombstone_instance;
|
|
1845
1845
|
}
|
|
1846
1846
|
};
|
|
1847
|
-
protoOf(JsonPath).
|
|
1848
|
-
var depth = this.
|
|
1849
|
-
if (this.
|
|
1850
|
-
this.
|
|
1851
|
-
this.
|
|
1847
|
+
protoOf(JsonPath).v1j = function () {
|
|
1848
|
+
var depth = this.q1j_1;
|
|
1849
|
+
if (this.p1j_1[depth] === -2) {
|
|
1850
|
+
this.p1j_1[depth] = -1;
|
|
1851
|
+
this.q1j_1 = this.q1j_1 - 1 | 0;
|
|
1852
1852
|
}
|
|
1853
|
-
if (!(this.
|
|
1854
|
-
this.
|
|
1853
|
+
if (!(this.q1j_1 === -1)) {
|
|
1854
|
+
this.q1j_1 = this.q1j_1 - 1 | 0;
|
|
1855
1855
|
}
|
|
1856
1856
|
};
|
|
1857
|
-
protoOf(JsonPath).
|
|
1857
|
+
protoOf(JsonPath).w1j = function () {
|
|
1858
1858
|
// Inline function 'kotlin.text.buildString' call
|
|
1859
1859
|
// Inline function 'kotlin.apply' call
|
|
1860
1860
|
var this_0 = StringBuilder_init_$Create$();
|
|
1861
1861
|
this_0.q('$');
|
|
1862
1862
|
// Inline function 'kotlin.repeat' call
|
|
1863
|
-
var times = this.
|
|
1863
|
+
var times = this.q1j_1 + 1 | 0;
|
|
1864
1864
|
var inductionVariable = 0;
|
|
1865
1865
|
if (inductionVariable < times)
|
|
1866
1866
|
do {
|
|
1867
1867
|
var index = inductionVariable;
|
|
1868
1868
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1869
|
-
var element = this.
|
|
1869
|
+
var element = this.o1j_1[index];
|
|
1870
1870
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1871
1871
|
if (equals(element.xu(), LIST_getInstance())) {
|
|
1872
|
-
if (!(this.
|
|
1872
|
+
if (!(this.p1j_1[index] === -1)) {
|
|
1873
1873
|
this_0.q('[');
|
|
1874
|
-
this_0.sc(this.
|
|
1874
|
+
this_0.sc(this.p1j_1[index]);
|
|
1875
1875
|
this_0.q(']');
|
|
1876
1876
|
}
|
|
1877
1877
|
} else {
|
|
1878
|
-
var idx = this.
|
|
1878
|
+
var idx = this.p1j_1[index];
|
|
1879
1879
|
if (idx >= 0) {
|
|
1880
1880
|
this_0.q('.');
|
|
1881
1881
|
this_0.q(element.bv(idx));
|
|
@@ -1899,7 +1899,7 @@ protoOf(JsonPath).u1j = function () {
|
|
|
1899
1899
|
return this_0.toString();
|
|
1900
1900
|
};
|
|
1901
1901
|
protoOf(JsonPath).toString = function () {
|
|
1902
|
-
return this.
|
|
1902
|
+
return this.w1j();
|
|
1903
1903
|
};
|
|
1904
1904
|
function checkKind($this, descriptor, actualClass) {
|
|
1905
1905
|
var kind = descriptor.xu();
|
|
@@ -1912,9 +1912,9 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
1912
1912
|
if (tmp) {
|
|
1913
1913
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.o() + " 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.'));
|
|
1914
1914
|
}
|
|
1915
|
-
if ($this.
|
|
1915
|
+
if ($this.x1j_1)
|
|
1916
1916
|
return Unit_instance;
|
|
1917
|
-
if (!$this.
|
|
1917
|
+
if (!$this.y1j_1)
|
|
1918
1918
|
return Unit_instance;
|
|
1919
1919
|
var tmp_0;
|
|
1920
1920
|
var tmp_1;
|
|
@@ -1933,18 +1933,18 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
1935
|
function JsonSerializersModuleValidator(configuration) {
|
|
1936
|
-
this.
|
|
1937
|
-
this.
|
|
1936
|
+
this.x1j_1 = configuration.q1f_1;
|
|
1937
|
+
this.y1j_1 = !configuration.y1f_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1938
1938
|
}
|
|
1939
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1939
|
+
protoOf(JsonSerializersModuleValidator).k1d = function (kClass, provider) {
|
|
1940
1940
|
};
|
|
1941
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1941
|
+
protoOf(JsonSerializersModuleValidator).n1d = function (baseClass, actualClass, actualSerializer) {
|
|
1942
1942
|
var descriptor = actualSerializer.ot();
|
|
1943
1943
|
checkKind(this, descriptor, actualClass);
|
|
1944
1944
|
};
|
|
1945
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1945
|
+
protoOf(JsonSerializersModuleValidator).o1d = function (baseClass, defaultSerializerProvider) {
|
|
1946
1946
|
};
|
|
1947
|
-
protoOf(JsonSerializersModuleValidator).
|
|
1947
|
+
protoOf(JsonSerializersModuleValidator).p1d = function (baseClass, defaultDeserializerProvider) {
|
|
1948
1948
|
};
|
|
1949
1949
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1950
1950
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1956,34 +1956,34 @@ function encodeByWriter(json, writer, serializer, value) {
|
|
|
1956
1956
|
}
|
|
1957
1957
|
function readObject($this) {
|
|
1958
1958
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1959
|
-
var lastToken = $this.
|
|
1960
|
-
if ($this.
|
|
1961
|
-
$this.
|
|
1959
|
+
var lastToken = $this.i1k_1.m1k(6);
|
|
1960
|
+
if ($this.i1k_1.n1k() === 4) {
|
|
1961
|
+
$this.i1k_1.i1j('Unexpected leading comma');
|
|
1962
1962
|
}
|
|
1963
1963
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1964
1964
|
var result = LinkedHashMap_init_$Create$();
|
|
1965
|
-
$l$loop: while ($this.
|
|
1966
|
-
var key = $this.
|
|
1967
|
-
$this.
|
|
1968
|
-
var element = $this.
|
|
1965
|
+
$l$loop: while ($this.i1k_1.o1k()) {
|
|
1966
|
+
var key = $this.j1k_1 ? $this.i1k_1.q1k() : $this.i1k_1.p1k();
|
|
1967
|
+
$this.i1k_1.m1k(5);
|
|
1968
|
+
var element = $this.r1k();
|
|
1969
1969
|
// Inline function 'kotlin.collections.set' call
|
|
1970
1970
|
result.g3(key, element);
|
|
1971
|
-
lastToken = $this.
|
|
1971
|
+
lastToken = $this.i1k_1.s1k();
|
|
1972
1972
|
var tmp0_subject = lastToken;
|
|
1973
1973
|
if (tmp0_subject !== 4)
|
|
1974
1974
|
if (tmp0_subject === 7)
|
|
1975
1975
|
break $l$loop;
|
|
1976
1976
|
else {
|
|
1977
|
-
$this.
|
|
1977
|
+
$this.i1k_1.i1j('Expected end of the object or comma');
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
1980
|
if (lastToken === 6) {
|
|
1981
|
-
$this.
|
|
1981
|
+
$this.i1k_1.m1k(7);
|
|
1982
1982
|
} else if (lastToken === 4) {
|
|
1983
|
-
if (!$this.
|
|
1984
|
-
invalidTrailingComma($this.
|
|
1983
|
+
if (!$this.k1k_1) {
|
|
1984
|
+
invalidTrailingComma($this.i1k_1);
|
|
1985
1985
|
}
|
|
1986
|
-
$this.
|
|
1986
|
+
$this.i1k_1.m1k(7);
|
|
1987
1987
|
}
|
|
1988
1988
|
return new JsonObject(result);
|
|
1989
1989
|
}
|
|
@@ -1994,43 +1994,43 @@ function readObject_0($this, $receiver, $completion) {
|
|
|
1994
1994
|
return tmp.j9();
|
|
1995
1995
|
}
|
|
1996
1996
|
function readArray($this) {
|
|
1997
|
-
var lastToken = $this.
|
|
1998
|
-
if ($this.
|
|
1999
|
-
$this.
|
|
1997
|
+
var lastToken = $this.i1k_1.s1k();
|
|
1998
|
+
if ($this.i1k_1.n1k() === 4) {
|
|
1999
|
+
$this.i1k_1.i1j('Unexpected leading comma');
|
|
2000
2000
|
}
|
|
2001
2001
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
2002
2002
|
var result = ArrayList_init_$Create$();
|
|
2003
|
-
while ($this.
|
|
2004
|
-
var element = $this.
|
|
2003
|
+
while ($this.i1k_1.o1k()) {
|
|
2004
|
+
var element = $this.r1k();
|
|
2005
2005
|
result.b1(element);
|
|
2006
|
-
lastToken = $this.
|
|
2006
|
+
lastToken = $this.i1k_1.s1k();
|
|
2007
2007
|
if (!(lastToken === 4)) {
|
|
2008
|
-
var tmp0 = $this.
|
|
2008
|
+
var tmp0 = $this.i1k_1;
|
|
2009
2009
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2010
2010
|
var condition = lastToken === 9;
|
|
2011
|
-
var position = tmp0.
|
|
2011
|
+
var position = tmp0.k1e_1;
|
|
2012
2012
|
if (!condition) {
|
|
2013
2013
|
var tmp$ret$2 = 'Expected end of the array or comma';
|
|
2014
|
-
tmp0.
|
|
2014
|
+
tmp0.i1j(tmp$ret$2, position);
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
if (lastToken === 8) {
|
|
2019
|
-
$this.
|
|
2019
|
+
$this.i1k_1.m1k(9);
|
|
2020
2020
|
} else if (lastToken === 4) {
|
|
2021
|
-
if (!$this.
|
|
2022
|
-
invalidTrailingComma($this.
|
|
2021
|
+
if (!$this.k1k_1) {
|
|
2022
|
+
invalidTrailingComma($this.i1k_1, 'array');
|
|
2023
2023
|
}
|
|
2024
|
-
$this.
|
|
2024
|
+
$this.i1k_1.m1k(9);
|
|
2025
2025
|
}
|
|
2026
2026
|
return new JsonArray(result);
|
|
2027
2027
|
}
|
|
2028
2028
|
function readValue($this, isString) {
|
|
2029
2029
|
var tmp;
|
|
2030
|
-
if ($this.
|
|
2031
|
-
tmp = $this.
|
|
2030
|
+
if ($this.j1k_1 || !isString) {
|
|
2031
|
+
tmp = $this.i1k_1.q1k();
|
|
2032
2032
|
} else {
|
|
2033
|
-
tmp = $this.
|
|
2033
|
+
tmp = $this.i1k_1.p1k();
|
|
2034
2034
|
}
|
|
2035
2035
|
var string = tmp;
|
|
2036
2036
|
if (!isString && string === 'null')
|
|
@@ -2041,18 +2041,18 @@ function readDeepRecursive($this) {
|
|
|
2041
2041
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
2042
2042
|
}
|
|
2043
2043
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
2044
|
-
this.
|
|
2044
|
+
this.p1l_1 = this$0;
|
|
2045
2045
|
CoroutineImpl.call(this, resultContinuation);
|
|
2046
2046
|
}
|
|
2047
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
2048
|
-
var tmp = this.
|
|
2047
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).t1l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
2048
|
+
var tmp = this.u1l($this$DeepRecursiveFunction, it, $completion);
|
|
2049
2049
|
tmp.d9_1 = Unit_instance;
|
|
2050
2050
|
tmp.e9_1 = null;
|
|
2051
2051
|
return tmp.j9();
|
|
2052
2052
|
};
|
|
2053
2053
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).x9 = function (p1, p2, $completion) {
|
|
2054
2054
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
2055
|
-
return this.
|
|
2055
|
+
return this.t1l(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
2056
2056
|
};
|
|
2057
2057
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).j9 = function () {
|
|
2058
2058
|
var suspendResult = this.d9_1;
|
|
@@ -2062,32 +2062,32 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).j9 = function () {
|
|
|
2062
2062
|
switch (tmp) {
|
|
2063
2063
|
case 0:
|
|
2064
2064
|
this.c9_1 = 3;
|
|
2065
|
-
var tmp0_subject = this.
|
|
2065
|
+
var tmp0_subject = this.p1l_1.i1k_1.n1k();
|
|
2066
2066
|
if (tmp0_subject === 1) {
|
|
2067
|
-
this.
|
|
2067
|
+
this.s1l_1 = readValue(this.p1l_1, true);
|
|
2068
2068
|
this.b9_1 = 2;
|
|
2069
2069
|
continue $sm;
|
|
2070
2070
|
} else {
|
|
2071
2071
|
if (tmp0_subject === 0) {
|
|
2072
|
-
this.
|
|
2072
|
+
this.s1l_1 = readValue(this.p1l_1, false);
|
|
2073
2073
|
this.b9_1 = 2;
|
|
2074
2074
|
continue $sm;
|
|
2075
2075
|
} else {
|
|
2076
2076
|
if (tmp0_subject === 6) {
|
|
2077
2077
|
this.b9_1 = 1;
|
|
2078
|
-
suspendResult = readObject_0(this.
|
|
2078
|
+
suspendResult = readObject_0(this.p1l_1, this.q1l_1, this);
|
|
2079
2079
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2080
2080
|
return suspendResult;
|
|
2081
2081
|
}
|
|
2082
2082
|
continue $sm;
|
|
2083
2083
|
} else {
|
|
2084
2084
|
if (tmp0_subject === 8) {
|
|
2085
|
-
this.
|
|
2085
|
+
this.s1l_1 = readArray(this.p1l_1);
|
|
2086
2086
|
this.b9_1 = 2;
|
|
2087
2087
|
continue $sm;
|
|
2088
2088
|
} else {
|
|
2089
2089
|
var tmp_0 = this;
|
|
2090
|
-
this.
|
|
2090
|
+
this.p1l_1.i1k_1.i1j("Can't begin reading element, unexpected token");
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
@@ -2095,11 +2095,11 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).j9 = function () {
|
|
|
2095
2095
|
|
|
2096
2096
|
break;
|
|
2097
2097
|
case 1:
|
|
2098
|
-
this.
|
|
2098
|
+
this.s1l_1 = suspendResult;
|
|
2099
2099
|
this.b9_1 = 2;
|
|
2100
2100
|
continue $sm;
|
|
2101
2101
|
case 2:
|
|
2102
|
-
return this.
|
|
2102
|
+
return this.s1l_1;
|
|
2103
2103
|
case 3:
|
|
2104
2104
|
throw this.e9_1;
|
|
2105
2105
|
}
|
|
@@ -2114,22 +2114,22 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).j9 = function () {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
while (true);
|
|
2116
2116
|
};
|
|
2117
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
2118
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
2119
|
-
i.
|
|
2120
|
-
i.
|
|
2117
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).u1l = function ($this$DeepRecursiveFunction, it, completion) {
|
|
2118
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.p1l_1, completion);
|
|
2119
|
+
i.q1l_1 = $this$DeepRecursiveFunction;
|
|
2120
|
+
i.r1l_1 = it;
|
|
2121
2121
|
return i;
|
|
2122
2122
|
};
|
|
2123
2123
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
2124
2124
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
2125
2125
|
return constructCallableReference(function ($this$DeepRecursiveFunction, it, $completion) {
|
|
2126
|
-
return i.
|
|
2126
|
+
return i.t1l($this$DeepRecursiveFunction, it, $completion);
|
|
2127
2127
|
}, 2);
|
|
2128
2128
|
}
|
|
2129
2129
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
2130
2130
|
CoroutineImpl.call(this, resultContinuation);
|
|
2131
|
-
this.
|
|
2132
|
-
this.
|
|
2131
|
+
this.b1l_1 = _this__u8e3s4;
|
|
2132
|
+
this.c1l_1 = _this__u8e3s4_0;
|
|
2133
2133
|
}
|
|
2134
2134
|
protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
2135
2135
|
var suspendResult = this.d9_1;
|
|
@@ -2139,26 +2139,26 @@ protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
|
2139
2139
|
switch (tmp) {
|
|
2140
2140
|
case 0:
|
|
2141
2141
|
this.c9_1 = 5;
|
|
2142
|
-
this.
|
|
2143
|
-
this.
|
|
2144
|
-
if (this.
|
|
2145
|
-
this.
|
|
2142
|
+
this.e1l_1 = this.b1l_1;
|
|
2143
|
+
this.f1l_1 = this.e1l_1.i1k_1.m1k(6);
|
|
2144
|
+
if (this.e1l_1.i1k_1.n1k() === 4) {
|
|
2145
|
+
this.e1l_1.i1k_1.i1j('Unexpected leading comma');
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
2148
|
var tmp_0 = this;
|
|
2149
|
-
tmp_0.
|
|
2149
|
+
tmp_0.d1l_1 = LinkedHashMap_init_$Create$();
|
|
2150
2150
|
this.b9_1 = 1;
|
|
2151
2151
|
continue $sm;
|
|
2152
2152
|
case 1:
|
|
2153
|
-
if (!this.
|
|
2153
|
+
if (!this.e1l_1.i1k_1.o1k()) {
|
|
2154
2154
|
this.b9_1 = 4;
|
|
2155
2155
|
continue $sm;
|
|
2156
2156
|
}
|
|
2157
2157
|
|
|
2158
|
-
this.
|
|
2159
|
-
this.
|
|
2158
|
+
this.g1l_1 = this.e1l_1.j1k_1 ? this.e1l_1.i1k_1.q1k() : this.e1l_1.i1k_1.p1k();
|
|
2159
|
+
this.e1l_1.i1k_1.m1k(5);
|
|
2160
2160
|
this.b9_1 = 2;
|
|
2161
|
-
suspendResult = this.
|
|
2161
|
+
suspendResult = this.c1l_1.xq(Unit_instance, this);
|
|
2162
2162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2163
2163
|
return suspendResult;
|
|
2164
2164
|
}
|
|
@@ -2166,11 +2166,11 @@ protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
|
2166
2166
|
continue $sm;
|
|
2167
2167
|
case 2:
|
|
2168
2168
|
var element = suspendResult;
|
|
2169
|
-
var tmp0 = this.
|
|
2170
|
-
var key = this.
|
|
2169
|
+
var tmp0 = this.d1l_1;
|
|
2170
|
+
var key = this.g1l_1;
|
|
2171
2171
|
tmp0.g3(key, element);
|
|
2172
|
-
this.
|
|
2173
|
-
var tmp0_subject = this.
|
|
2172
|
+
this.f1l_1 = this.e1l_1.i1k_1.s1k();
|
|
2173
|
+
var tmp0_subject = this.f1l_1;
|
|
2174
2174
|
if (tmp0_subject === 4) {
|
|
2175
2175
|
this.b9_1 = 3;
|
|
2176
2176
|
continue $sm;
|
|
@@ -2179,7 +2179,7 @@ protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
|
2179
2179
|
this.b9_1 = 4;
|
|
2180
2180
|
continue $sm;
|
|
2181
2181
|
} else {
|
|
2182
|
-
this.
|
|
2182
|
+
this.e1l_1.i1k_1.i1j('Expected end of the object or comma');
|
|
2183
2183
|
}
|
|
2184
2184
|
}
|
|
2185
2185
|
|
|
@@ -2188,16 +2188,16 @@ protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
|
2188
2188
|
this.b9_1 = 1;
|
|
2189
2189
|
continue $sm;
|
|
2190
2190
|
case 4:
|
|
2191
|
-
if (this.
|
|
2192
|
-
this.
|
|
2193
|
-
} else if (this.
|
|
2194
|
-
if (!this.
|
|
2195
|
-
invalidTrailingComma(this.
|
|
2191
|
+
if (this.f1l_1 === 6) {
|
|
2192
|
+
this.e1l_1.i1k_1.m1k(7);
|
|
2193
|
+
} else if (this.f1l_1 === 4) {
|
|
2194
|
+
if (!this.e1l_1.k1k_1) {
|
|
2195
|
+
invalidTrailingComma(this.e1l_1.i1k_1);
|
|
2196
2196
|
}
|
|
2197
|
-
this.
|
|
2197
|
+
this.e1l_1.i1k_1.m1k(7);
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
return new JsonObject(this.
|
|
2200
|
+
return new JsonObject(this.d1l_1);
|
|
2201
2201
|
case 5:
|
|
2202
2202
|
throw this.e9_1;
|
|
2203
2203
|
}
|
|
@@ -2213,13 +2213,13 @@ protoOf($readObjectCOROUTINE$).j9 = function () {
|
|
|
2213
2213
|
while (true);
|
|
2214
2214
|
};
|
|
2215
2215
|
function JsonTreeReader(configuration, lexer) {
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2216
|
+
this.i1k_1 = lexer;
|
|
2217
|
+
this.j1k_1 = configuration.k1f_1;
|
|
2218
|
+
this.k1k_1 = configuration.w1f_1;
|
|
2219
|
+
this.l1k_1 = 0;
|
|
2220
2220
|
}
|
|
2221
|
-
protoOf(JsonTreeReader).
|
|
2222
|
-
var token = this.
|
|
2221
|
+
protoOf(JsonTreeReader).r1k = function () {
|
|
2222
|
+
var token = this.i1k_1.n1k();
|
|
2223
2223
|
var tmp;
|
|
2224
2224
|
if (token === 1) {
|
|
2225
2225
|
tmp = readValue(this, true);
|
|
@@ -2227,19 +2227,19 @@ protoOf(JsonTreeReader).p1k = function () {
|
|
|
2227
2227
|
tmp = readValue(this, false);
|
|
2228
2228
|
} else if (token === 6) {
|
|
2229
2229
|
var tmp_0;
|
|
2230
|
-
this.
|
|
2231
|
-
if (this.
|
|
2230
|
+
this.l1k_1 = this.l1k_1 + 1 | 0;
|
|
2231
|
+
if (this.l1k_1 === 200) {
|
|
2232
2232
|
tmp_0 = readDeepRecursive(this);
|
|
2233
2233
|
} else {
|
|
2234
2234
|
tmp_0 = readObject(this);
|
|
2235
2235
|
}
|
|
2236
2236
|
var result = tmp_0;
|
|
2237
|
-
this.
|
|
2237
|
+
this.l1k_1 = this.l1k_1 - 1 | 0;
|
|
2238
2238
|
tmp = result;
|
|
2239
2239
|
} else if (token === 8) {
|
|
2240
2240
|
tmp = readArray(this);
|
|
2241
2241
|
} else {
|
|
2242
|
-
this.
|
|
2242
|
+
this.i1k_1.i1j('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2243
2243
|
}
|
|
2244
2244
|
return tmp;
|
|
2245
2245
|
};
|
|
@@ -2248,9 +2248,9 @@ function classDiscriminator(_this__u8e3s4, json) {
|
|
|
2248
2248
|
while (_iterator__ex2g4s.u()) {
|
|
2249
2249
|
var annotation = _iterator__ex2g4s.v();
|
|
2250
2250
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2251
|
-
return annotation.
|
|
2251
|
+
return annotation.v1l_1;
|
|
2252
2252
|
}
|
|
2253
|
-
return json.
|
|
2253
|
+
return json.t1d_1.r1f_1;
|
|
2254
2254
|
}
|
|
2255
2255
|
function access$checkEncodingConflicts$tPolymorphicKt($receiver, serializer, actualSerializer, classDiscriminator) {
|
|
2256
2256
|
return checkEncodingConflicts($receiver, serializer, actualSerializer, classDiscriminator);
|
|
@@ -2276,7 +2276,7 @@ function checkEncodingConflicts(_this__u8e3s4, serializer, actualSerializer, cla
|
|
|
2276
2276
|
if (getJsonEncodedNames(actualSerializer.ot(), _this__u8e3s4).d1(classDiscriminator)) {
|
|
2277
2277
|
var baseName = serializer.ot().wu();
|
|
2278
2278
|
var actualName = actualSerializer.ot().wu();
|
|
2279
|
-
var text = _this__u8e3s4.
|
|
2279
|
+
var text = _this__u8e3s4.t1d_1.y1f_1.equals(ClassDiscriminatorMode_ALL_JSON_OBJECTS_getInstance()) && baseName === actualName ? 'in ALL_JSON_OBJECTS class discriminator mode' : "as base class '" + baseName + "'";
|
|
2280
2280
|
var tmp0_shortMessage = "Class '" + actualName + "' cannot be serialized " + text + ' because' + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'.");
|
|
2281
2281
|
var tmp1_hint = 'You can either change class discriminator in JsonConfiguration, or rename property with @SerialName annotation.';
|
|
2282
2282
|
throw new JsonEncodingException(tmp0_shortMessage, actualName, tmp1_hint);
|
|
@@ -2285,11 +2285,11 @@ function checkEncodingConflicts(_this__u8e3s4, serializer, actualSerializer, cla
|
|
|
2285
2285
|
function Key() {
|
|
2286
2286
|
}
|
|
2287
2287
|
function DescriptorSchemaCache() {
|
|
2288
|
-
this.
|
|
2288
|
+
this.j1j_1 = createMapForCache(16);
|
|
2289
2289
|
}
|
|
2290
|
-
protoOf(DescriptorSchemaCache).
|
|
2290
|
+
protoOf(DescriptorSchemaCache).w1l = function (descriptor, key, value) {
|
|
2291
2291
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2292
|
-
var this_0 = this.
|
|
2292
|
+
var this_0 = this.j1j_1;
|
|
2293
2293
|
var value_0 = this_0.x2(descriptor);
|
|
2294
2294
|
var tmp;
|
|
2295
2295
|
if (value_0 == null) {
|
|
@@ -2305,8 +2305,8 @@ protoOf(DescriptorSchemaCache).u1l = function (descriptor, key, value) {
|
|
|
2305
2305
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2306
2306
|
tmp0.g3(tmp2, value_1);
|
|
2307
2307
|
};
|
|
2308
|
-
protoOf(DescriptorSchemaCache).
|
|
2309
|
-
var tmp0_safe_receiver = this.
|
|
2308
|
+
protoOf(DescriptorSchemaCache).k1j = function (descriptor, key, defaultValue) {
|
|
2309
|
+
var tmp0_safe_receiver = this.x1l(descriptor, key);
|
|
2310
2310
|
if (tmp0_safe_receiver == null)
|
|
2311
2311
|
null;
|
|
2312
2312
|
else {
|
|
@@ -2314,11 +2314,11 @@ protoOf(DescriptorSchemaCache).i1j = function (descriptor, key, defaultValue) {
|
|
|
2314
2314
|
return tmp0_safe_receiver;
|
|
2315
2315
|
}
|
|
2316
2316
|
var value = defaultValue();
|
|
2317
|
-
this.
|
|
2317
|
+
this.w1l(descriptor, key, value);
|
|
2318
2318
|
return value;
|
|
2319
2319
|
};
|
|
2320
|
-
protoOf(DescriptorSchemaCache).
|
|
2321
|
-
var tmp0_safe_receiver = this.
|
|
2320
|
+
protoOf(DescriptorSchemaCache).x1l = function (descriptor, key) {
|
|
2321
|
+
var tmp0_safe_receiver = this.j1j_1.x2(descriptor);
|
|
2322
2322
|
var tmp;
|
|
2323
2323
|
if (tmp0_safe_receiver == null) {
|
|
2324
2324
|
tmp = null;
|
|
@@ -2329,13 +2329,13 @@ protoOf(DescriptorSchemaCache).v1l = function (descriptor, key) {
|
|
|
2329
2329
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2330
2330
|
};
|
|
2331
2331
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2332
|
-
this.
|
|
2332
|
+
this.y1l_1 = discriminatorToSkip;
|
|
2333
2333
|
}
|
|
2334
2334
|
function trySkip($this, $receiver, unknownKey) {
|
|
2335
2335
|
if ($receiver == null)
|
|
2336
2336
|
return false;
|
|
2337
|
-
if ($receiver.
|
|
2338
|
-
$receiver.
|
|
2337
|
+
if ($receiver.y1l_1 === unknownKey) {
|
|
2338
|
+
$receiver.y1l_1 = null;
|
|
2339
2339
|
return true;
|
|
2340
2340
|
}
|
|
2341
2341
|
return false;
|
|
@@ -2345,55 +2345,55 @@ function skipLeftoverElements($this, descriptor) {
|
|
|
2345
2345
|
}
|
|
2346
2346
|
}
|
|
2347
2347
|
function checkLeadingComma($this) {
|
|
2348
|
-
if ($this.
|
|
2349
|
-
$this.
|
|
2348
|
+
if ($this.d1e_1.n1k() === 4) {
|
|
2349
|
+
$this.d1e_1.i1j('Unexpected leading comma');
|
|
2350
2350
|
}
|
|
2351
2351
|
}
|
|
2352
2352
|
function decodeMapIndex($this) {
|
|
2353
2353
|
var hasComma = false;
|
|
2354
|
-
var decodingKey = !(($this.
|
|
2354
|
+
var decodingKey = !(($this.f1e_1 % 2 | 0) === 0);
|
|
2355
2355
|
if (decodingKey) {
|
|
2356
|
-
if (!($this.
|
|
2357
|
-
hasComma = $this.
|
|
2356
|
+
if (!($this.f1e_1 === -1)) {
|
|
2357
|
+
hasComma = $this.d1e_1.a1m();
|
|
2358
2358
|
}
|
|
2359
2359
|
} else {
|
|
2360
|
-
$this.
|
|
2360
|
+
$this.d1e_1.z1l(_Char___init__impl__6a9atx(58));
|
|
2361
2361
|
}
|
|
2362
2362
|
var tmp;
|
|
2363
|
-
if ($this.
|
|
2363
|
+
if ($this.d1e_1.o1k()) {
|
|
2364
2364
|
if (decodingKey) {
|
|
2365
|
-
if ($this.
|
|
2366
|
-
var tmp0 = $this.
|
|
2365
|
+
if ($this.f1e_1 === -1) {
|
|
2366
|
+
var tmp0 = $this.d1e_1;
|
|
2367
2367
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2368
2368
|
var condition = !hasComma;
|
|
2369
|
-
var position = tmp0.
|
|
2369
|
+
var position = tmp0.k1e_1;
|
|
2370
2370
|
if (!condition) {
|
|
2371
2371
|
var tmp$ret$1 = 'Unexpected leading comma';
|
|
2372
|
-
tmp0.
|
|
2372
|
+
tmp0.i1j(tmp$ret$1, position);
|
|
2373
2373
|
}
|
|
2374
2374
|
} else {
|
|
2375
|
-
var tmp0_0 = $this.
|
|
2375
|
+
var tmp0_0 = $this.d1e_1;
|
|
2376
2376
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2377
2377
|
var condition_0 = hasComma;
|
|
2378
|
-
var position_0 = tmp0_0.
|
|
2378
|
+
var position_0 = tmp0_0.k1e_1;
|
|
2379
2379
|
if (!condition_0) {
|
|
2380
2380
|
var tmp$ret$3 = 'Expected comma after the key-value pair';
|
|
2381
|
-
tmp0_0.
|
|
2381
|
+
tmp0_0.i1j(tmp$ret$3, position_0);
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
2384
2384
|
}
|
|
2385
|
-
$this.
|
|
2386
|
-
tmp = $this.
|
|
2385
|
+
$this.f1e_1 = $this.f1e_1 + 1 | 0;
|
|
2386
|
+
tmp = $this.f1e_1;
|
|
2387
2387
|
} else {
|
|
2388
|
-
if (hasComma && !$this.
|
|
2389
|
-
invalidTrailingComma($this.
|
|
2388
|
+
if (hasComma && !$this.b1e_1.t1d_1.w1f_1) {
|
|
2389
|
+
invalidTrailingComma($this.d1e_1);
|
|
2390
2390
|
}
|
|
2391
2391
|
tmp = -1;
|
|
2392
2392
|
}
|
|
2393
2393
|
return tmp;
|
|
2394
2394
|
}
|
|
2395
2395
|
function coerceInputValue($this, descriptor, index) {
|
|
2396
|
-
var tmp0 = $this.
|
|
2396
|
+
var tmp0 = $this.b1e_1;
|
|
2397
2397
|
var tmp$ret$0;
|
|
2398
2398
|
$l$block_2: {
|
|
2399
2399
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2401,7 +2401,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2401
2401
|
var elementDescriptor = descriptor.ev(index);
|
|
2402
2402
|
var tmp;
|
|
2403
2403
|
if (isOptional && !elementDescriptor.pu()) {
|
|
2404
|
-
tmp = $this.
|
|
2404
|
+
tmp = $this.d1e_1.b1m(true);
|
|
2405
2405
|
} else {
|
|
2406
2406
|
tmp = false;
|
|
2407
2407
|
}
|
|
@@ -2412,7 +2412,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2412
2412
|
if (equals(elementDescriptor.xu(), ENUM_getInstance())) {
|
|
2413
2413
|
var tmp_0;
|
|
2414
2414
|
if (elementDescriptor.pu()) {
|
|
2415
|
-
tmp_0 = $this.
|
|
2415
|
+
tmp_0 = $this.d1e_1.b1m(false);
|
|
2416
2416
|
} else {
|
|
2417
2417
|
tmp_0 = false;
|
|
2418
2418
|
}
|
|
@@ -2420,7 +2420,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2420
2420
|
tmp$ret$0 = false;
|
|
2421
2421
|
break $l$block_2;
|
|
2422
2422
|
}
|
|
2423
|
-
var tmp0_elvis_lhs = $this.
|
|
2423
|
+
var tmp0_elvis_lhs = $this.d1e_1.c1m($this.h1e_1.k1f_1);
|
|
2424
2424
|
var tmp_1;
|
|
2425
2425
|
if (tmp0_elvis_lhs == null) {
|
|
2426
2426
|
tmp$ret$0 = false;
|
|
@@ -2430,9 +2430,9 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2430
2430
|
}
|
|
2431
2431
|
var enumValue = tmp_1;
|
|
2432
2432
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2433
|
-
var coerceToNull = !tmp0.
|
|
2433
|
+
var coerceToNull = !tmp0.t1d_1.n1f_1 && elementDescriptor.pu();
|
|
2434
2434
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2435
|
-
$this.
|
|
2435
|
+
$this.d1e_1.p1k();
|
|
2436
2436
|
tmp$ret$0 = true;
|
|
2437
2437
|
break $l$block_2;
|
|
2438
2438
|
}
|
|
@@ -2442,24 +2442,24 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2442
2442
|
return tmp$ret$0;
|
|
2443
2443
|
}
|
|
2444
2444
|
function decodeObjectIndex($this, descriptor) {
|
|
2445
|
-
var hasComma = $this.
|
|
2446
|
-
while ($this.
|
|
2445
|
+
var hasComma = $this.d1e_1.a1m();
|
|
2446
|
+
while ($this.d1e_1.o1k()) {
|
|
2447
2447
|
hasComma = false;
|
|
2448
2448
|
var key = decodeStringKey($this);
|
|
2449
|
-
$this.
|
|
2450
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2449
|
+
$this.d1e_1.z1l(_Char___init__impl__6a9atx(58));
|
|
2450
|
+
var index = getJsonNameIndex(descriptor, $this.b1e_1, key);
|
|
2451
2451
|
var tmp;
|
|
2452
2452
|
if (!(index === -3)) {
|
|
2453
2453
|
var tmp_0;
|
|
2454
|
-
if ($this.
|
|
2455
|
-
hasComma = $this.
|
|
2454
|
+
if ($this.h1e_1.p1f_1 && coerceInputValue($this, descriptor, index)) {
|
|
2455
|
+
hasComma = $this.d1e_1.a1m();
|
|
2456
2456
|
tmp_0 = false;
|
|
2457
2457
|
} else {
|
|
2458
|
-
var tmp0_safe_receiver = $this.
|
|
2458
|
+
var tmp0_safe_receiver = $this.i1e_1;
|
|
2459
2459
|
if (tmp0_safe_receiver == null)
|
|
2460
2460
|
null;
|
|
2461
2461
|
else {
|
|
2462
|
-
tmp0_safe_receiver.
|
|
2462
|
+
tmp0_safe_receiver.f1j(index);
|
|
2463
2463
|
}
|
|
2464
2464
|
return index;
|
|
2465
2465
|
}
|
|
@@ -2472,34 +2472,34 @@ function decodeObjectIndex($this, descriptor) {
|
|
|
2472
2472
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2473
2473
|
}
|
|
2474
2474
|
}
|
|
2475
|
-
if (hasComma && !$this.
|
|
2476
|
-
invalidTrailingComma($this.
|
|
2475
|
+
if (hasComma && !$this.b1e_1.t1d_1.w1f_1) {
|
|
2476
|
+
invalidTrailingComma($this.d1e_1);
|
|
2477
2477
|
}
|
|
2478
|
-
var tmp1_safe_receiver = $this.
|
|
2479
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2478
|
+
var tmp1_safe_receiver = $this.i1e_1;
|
|
2479
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g1j();
|
|
2480
2480
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2481
2481
|
}
|
|
2482
2482
|
function handleUnknown($this, descriptor, key) {
|
|
2483
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2484
|
-
$this.
|
|
2483
|
+
if (ignoreUnknownKeys(descriptor, $this.b1e_1) || trySkip($this, $this.g1e_1, key)) {
|
|
2484
|
+
$this.d1e_1.e1m($this.h1e_1.k1f_1);
|
|
2485
2485
|
} else {
|
|
2486
|
-
$this.
|
|
2487
|
-
$this.
|
|
2486
|
+
$this.d1e_1.l1e_1.v1j();
|
|
2487
|
+
$this.d1e_1.d1m(key);
|
|
2488
2488
|
}
|
|
2489
|
-
return $this.
|
|
2489
|
+
return $this.d1e_1.a1m();
|
|
2490
2490
|
}
|
|
2491
2491
|
function decodeListIndex($this) {
|
|
2492
|
-
var hasComma = $this.
|
|
2492
|
+
var hasComma = $this.d1e_1.a1m();
|
|
2493
2493
|
var tmp;
|
|
2494
|
-
if ($this.
|
|
2495
|
-
if (!($this.
|
|
2496
|
-
$this.
|
|
2494
|
+
if ($this.d1e_1.o1k()) {
|
|
2495
|
+
if (!($this.f1e_1 === -1) && !hasComma) {
|
|
2496
|
+
$this.d1e_1.i1j('Expected end of the array or comma');
|
|
2497
2497
|
}
|
|
2498
|
-
$this.
|
|
2499
|
-
tmp = $this.
|
|
2498
|
+
$this.f1e_1 = $this.f1e_1 + 1 | 0;
|
|
2499
|
+
tmp = $this.f1e_1;
|
|
2500
2500
|
} else {
|
|
2501
|
-
if (hasComma && !$this.
|
|
2502
|
-
invalidTrailingComma($this.
|
|
2501
|
+
if (hasComma && !$this.b1e_1.t1d_1.w1f_1) {
|
|
2502
|
+
invalidTrailingComma($this.d1e_1, 'array');
|
|
2503
2503
|
}
|
|
2504
2504
|
tmp = -1;
|
|
2505
2505
|
}
|
|
@@ -2507,32 +2507,32 @@ function decodeListIndex($this) {
|
|
|
2507
2507
|
}
|
|
2508
2508
|
function decodeStringKey($this) {
|
|
2509
2509
|
var tmp;
|
|
2510
|
-
if ($this.
|
|
2511
|
-
tmp = $this.
|
|
2510
|
+
if ($this.h1e_1.k1f_1) {
|
|
2511
|
+
tmp = $this.d1e_1.g1m();
|
|
2512
2512
|
} else {
|
|
2513
|
-
tmp = $this.
|
|
2513
|
+
tmp = $this.d1e_1.f1m();
|
|
2514
2514
|
}
|
|
2515
2515
|
return tmp;
|
|
2516
2516
|
}
|
|
2517
2517
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2518
2518
|
AbstractDecoder.call(this);
|
|
2519
|
-
this.
|
|
2520
|
-
this.
|
|
2521
|
-
this.
|
|
2522
|
-
this.
|
|
2523
|
-
this.
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2526
|
-
this.
|
|
2527
|
-
}
|
|
2528
|
-
protoOf(StreamingJsonDecoder).
|
|
2529
|
-
return this.
|
|
2519
|
+
this.b1e_1 = json;
|
|
2520
|
+
this.c1e_1 = mode;
|
|
2521
|
+
this.d1e_1 = lexer;
|
|
2522
|
+
this.e1e_1 = this.b1e_1.fx();
|
|
2523
|
+
this.f1e_1 = -1;
|
|
2524
|
+
this.g1e_1 = discriminatorHolder;
|
|
2525
|
+
this.h1e_1 = this.b1e_1.t1d_1;
|
|
2526
|
+
this.i1e_1 = this.h1e_1.n1f_1 ? null : new JsonElementMarker(descriptor);
|
|
2527
|
+
}
|
|
2528
|
+
protoOf(StreamingJsonDecoder).b1g = function () {
|
|
2529
|
+
return this.b1e_1;
|
|
2530
2530
|
};
|
|
2531
2531
|
protoOf(StreamingJsonDecoder).fx = function () {
|
|
2532
|
-
return this.
|
|
2532
|
+
return this.e1e_1;
|
|
2533
2533
|
};
|
|
2534
|
-
protoOf(StreamingJsonDecoder).
|
|
2535
|
-
return (new JsonTreeReader(this.
|
|
2534
|
+
protoOf(StreamingJsonDecoder).c1g = function () {
|
|
2535
|
+
return (new JsonTreeReader(this.b1e_1.t1d_1, this.d1e_1)).r1k();
|
|
2536
2536
|
};
|
|
2537
2537
|
protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
2538
2538
|
try {
|
|
@@ -2540,13 +2540,13 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2540
2540
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2541
2541
|
tmp = true;
|
|
2542
2542
|
} else {
|
|
2543
|
-
tmp = this.
|
|
2543
|
+
tmp = this.b1e_1.t1d_1.q1f_1;
|
|
2544
2544
|
}
|
|
2545
2545
|
if (tmp) {
|
|
2546
2546
|
return deserializer.qt(this);
|
|
2547
2547
|
}
|
|
2548
|
-
var discriminator = classDiscriminator(deserializer.ot(), this.
|
|
2549
|
-
var tmp0_elvis_lhs = this.
|
|
2548
|
+
var discriminator = classDiscriminator(deserializer.ot(), this.b1e_1);
|
|
2549
|
+
var tmp0_elvis_lhs = this.d1e_1.h1m(discriminator, this.h1e_1.k1f_1);
|
|
2550
2550
|
var tmp_0;
|
|
2551
2551
|
if (tmp0_elvis_lhs == null) {
|
|
2552
2552
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2557,22 +2557,22 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2557
2557
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2558
2558
|
tmp_1 = true;
|
|
2559
2559
|
} else {
|
|
2560
|
-
tmp_1 = this.
|
|
2560
|
+
tmp_1 = this.b1g().t1d_1.q1f_1;
|
|
2561
2561
|
}
|
|
2562
2562
|
if (tmp_1) {
|
|
2563
2563
|
tmp$ret$0 = tmp2.qt(this);
|
|
2564
2564
|
break $l$block;
|
|
2565
2565
|
}
|
|
2566
|
-
var discriminator_0 = classDiscriminator(tmp2.ot(), this.
|
|
2567
|
-
var tmp2_0 = this.
|
|
2566
|
+
var discriminator_0 = classDiscriminator(tmp2.ot(), this.b1g());
|
|
2567
|
+
var tmp2_0 = this.c1g();
|
|
2568
2568
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2569
2569
|
var serialName = tmp2.ot().wu();
|
|
2570
2570
|
if (!(tmp2_0 instanceof JsonObject)) {
|
|
2571
2571
|
var tmp2_1 = 'Expected ' + getKClass(JsonObject).o() + ', but had ' + getKClassFromExpression(tmp2_0).o() + ' as the serialized body of ' + serialName;
|
|
2572
2572
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
2573
|
-
var path = this.
|
|
2573
|
+
var path = this.d1e_1.l1e_1.w1j();
|
|
2574
2574
|
var tmp_2;
|
|
2575
|
-
if (this.
|
|
2575
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
2576
2576
|
var tmp$ret$6 = toString(tmp2_0);
|
|
2577
2577
|
tmp_2 = toString(minify(tmp$ret$6));
|
|
2578
2578
|
} else {
|
|
@@ -2595,7 +2595,7 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2595
2595
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
2596
2596
|
var shortMessage = ensureNotNull(it.message);
|
|
2597
2597
|
var tmp_5;
|
|
2598
|
-
if (this.
|
|
2598
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
2599
2599
|
var tmp$ret$10 = jsonTree.toString();
|
|
2600
2600
|
tmp_5 = toString(minify(tmp$ret$10));
|
|
2601
2601
|
} else {
|
|
@@ -2609,7 +2609,7 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2609
2609
|
}
|
|
2610
2610
|
var tmp_6 = tmp_3;
|
|
2611
2611
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2612
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2612
|
+
tmp$ret$0 = readPolymorphicJson(this.b1g(), discriminator_0, jsonTree, actualSerializer);
|
|
2613
2613
|
}
|
|
2614
2614
|
return tmp$ret$0;
|
|
2615
2615
|
} else {
|
|
@@ -2625,7 +2625,7 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2625
2625
|
var it_0 = $p_0;
|
|
2626
2626
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2627
2627
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2628
|
-
this.
|
|
2628
|
+
this.d1e_1.i1j(message, VOID, hint);
|
|
2629
2629
|
} else {
|
|
2630
2630
|
throw $p_0;
|
|
2631
2631
|
}
|
|
@@ -2633,37 +2633,37 @@ protoOf(StreamingJsonDecoder).pw = function (deserializer) {
|
|
|
2633
2633
|
}
|
|
2634
2634
|
var tmp_9 = tmp_7;
|
|
2635
2635
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2636
|
-
this.
|
|
2636
|
+
this.g1e_1 = new DiscriminatorHolder(discriminator);
|
|
2637
2637
|
return actualSerializer_0.qt(this);
|
|
2638
2638
|
} catch ($p_1) {
|
|
2639
2639
|
if ($p_1 instanceof MissingFieldException) {
|
|
2640
2640
|
var e = $p_1;
|
|
2641
2641
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2642
2642
|
throw e;
|
|
2643
|
-
throw missingFieldExceptionWithNewMessage(e, plus(e.message, ' at path: ') + this.
|
|
2643
|
+
throw missingFieldExceptionWithNewMessage(e, plus(e.message, ' at path: ') + this.d1e_1.l1e_1.w1j());
|
|
2644
2644
|
} else {
|
|
2645
2645
|
throw $p_1;
|
|
2646
2646
|
}
|
|
2647
2647
|
}
|
|
2648
2648
|
};
|
|
2649
2649
|
protoOf(StreamingJsonDecoder).qw = function (descriptor) {
|
|
2650
|
-
var newMode = switchMode(this.
|
|
2651
|
-
this.
|
|
2652
|
-
this.
|
|
2650
|
+
var newMode = switchMode(this.b1e_1, descriptor);
|
|
2651
|
+
this.d1e_1.l1e_1.r1j(descriptor);
|
|
2652
|
+
this.d1e_1.z1l(newMode.k1m_1);
|
|
2653
2653
|
checkLeadingComma(this);
|
|
2654
2654
|
var tmp;
|
|
2655
2655
|
switch (newMode.a1_1) {
|
|
2656
2656
|
case 1:
|
|
2657
2657
|
case 2:
|
|
2658
2658
|
case 3:
|
|
2659
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2659
|
+
tmp = new StreamingJsonDecoder(this.b1e_1, newMode, this.d1e_1, descriptor, this.g1e_1);
|
|
2660
2660
|
break;
|
|
2661
2661
|
default:
|
|
2662
2662
|
var tmp_0;
|
|
2663
|
-
if (this.
|
|
2663
|
+
if (this.c1e_1.equals(newMode) && this.b1e_1.t1d_1.n1f_1) {
|
|
2664
2664
|
tmp_0 = this;
|
|
2665
2665
|
} else {
|
|
2666
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2666
|
+
tmp_0 = new StreamingJsonDecoder(this.b1e_1, newMode, this.d1e_1, descriptor, this.g1e_1);
|
|
2667
2667
|
}
|
|
2668
2668
|
|
|
2669
2669
|
tmp = tmp_0;
|
|
@@ -2672,21 +2672,21 @@ protoOf(StreamingJsonDecoder).qw = function (descriptor) {
|
|
|
2672
2672
|
return tmp;
|
|
2673
2673
|
};
|
|
2674
2674
|
protoOf(StreamingJsonDecoder).rw = function (descriptor) {
|
|
2675
|
-
if (descriptor.zu() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2675
|
+
if (descriptor.zu() === 0 && ignoreUnknownKeys(descriptor, this.b1e_1)) {
|
|
2676
2676
|
skipLeftoverElements(this, descriptor);
|
|
2677
2677
|
}
|
|
2678
|
-
if (this.
|
|
2679
|
-
invalidTrailingComma(this.
|
|
2678
|
+
if (this.d1e_1.a1m() && !this.b1e_1.t1d_1.w1f_1) {
|
|
2679
|
+
invalidTrailingComma(this.d1e_1, '');
|
|
2680
2680
|
}
|
|
2681
|
-
this.
|
|
2682
|
-
this.
|
|
2681
|
+
this.d1e_1.z1l(this.c1e_1.l1m_1);
|
|
2682
|
+
this.d1e_1.l1e_1.v1j();
|
|
2683
2683
|
};
|
|
2684
2684
|
protoOf(StreamingJsonDecoder).bw = function () {
|
|
2685
2685
|
var tmp;
|
|
2686
|
-
var tmp0_safe_receiver = this.
|
|
2687
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2686
|
+
var tmp0_safe_receiver = this.i1e_1;
|
|
2687
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e1j_1;
|
|
2688
2688
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2689
|
-
tmp = !this.
|
|
2689
|
+
tmp = !this.d1e_1.m1m();
|
|
2690
2690
|
} else {
|
|
2691
2691
|
tmp = false;
|
|
2692
2692
|
}
|
|
@@ -2696,19 +2696,19 @@ protoOf(StreamingJsonDecoder).cw = function () {
|
|
|
2696
2696
|
return null;
|
|
2697
2697
|
};
|
|
2698
2698
|
protoOf(StreamingJsonDecoder).cx = function (descriptor, index, deserializer, previousValue) {
|
|
2699
|
-
var isMapKey = this.
|
|
2699
|
+
var isMapKey = this.c1e_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2700
2700
|
if (isMapKey) {
|
|
2701
|
-
this.
|
|
2701
|
+
this.d1e_1.l1e_1.u1j();
|
|
2702
2702
|
}
|
|
2703
2703
|
var value = protoOf(AbstractDecoder).cx.call(this, descriptor, index, deserializer, previousValue);
|
|
2704
2704
|
if (isMapKey) {
|
|
2705
|
-
this.
|
|
2705
|
+
this.d1e_1.l1e_1.t1j(value);
|
|
2706
2706
|
}
|
|
2707
2707
|
return value;
|
|
2708
2708
|
};
|
|
2709
2709
|
protoOf(StreamingJsonDecoder).hx = function (descriptor) {
|
|
2710
2710
|
var index;
|
|
2711
|
-
switch (this.
|
|
2711
|
+
switch (this.c1e_1.a1_1) {
|
|
2712
2712
|
case 0:
|
|
2713
2713
|
index = decodeObjectIndex(this, descriptor);
|
|
2714
2714
|
break;
|
|
@@ -2719,44 +2719,44 @@ protoOf(StreamingJsonDecoder).hx = function (descriptor) {
|
|
|
2719
2719
|
index = decodeListIndex(this);
|
|
2720
2720
|
break;
|
|
2721
2721
|
}
|
|
2722
|
-
if (!this.
|
|
2723
|
-
this.
|
|
2722
|
+
if (!this.c1e_1.equals(WriteMode_MAP_getInstance())) {
|
|
2723
|
+
this.d1e_1.l1e_1.s1j(index);
|
|
2724
2724
|
}
|
|
2725
2725
|
return index;
|
|
2726
2726
|
};
|
|
2727
2727
|
protoOf(StreamingJsonDecoder).dw = function () {
|
|
2728
|
-
return this.
|
|
2728
|
+
return this.d1e_1.n1m();
|
|
2729
2729
|
};
|
|
2730
2730
|
protoOf(StreamingJsonDecoder).ew = function () {
|
|
2731
|
-
var value = this.
|
|
2731
|
+
var value = this.d1e_1.o1m();
|
|
2732
2732
|
if (!equalsLong(value, fromInt(convertToByte(value)))) {
|
|
2733
|
-
this.
|
|
2733
|
+
this.d1e_1.i1j("Failed to parse byte for input '" + value.toString() + "'");
|
|
2734
2734
|
}
|
|
2735
2735
|
return convertToByte(value);
|
|
2736
2736
|
};
|
|
2737
2737
|
protoOf(StreamingJsonDecoder).fw = function () {
|
|
2738
|
-
var value = this.
|
|
2738
|
+
var value = this.d1e_1.o1m();
|
|
2739
2739
|
if (!equalsLong(value, fromInt(convertToShort(value)))) {
|
|
2740
|
-
this.
|
|
2740
|
+
this.d1e_1.i1j("Failed to parse short for input '" + value.toString() + "'");
|
|
2741
2741
|
}
|
|
2742
2742
|
return convertToShort(value);
|
|
2743
2743
|
};
|
|
2744
2744
|
protoOf(StreamingJsonDecoder).gw = function () {
|
|
2745
|
-
var value = this.
|
|
2745
|
+
var value = this.d1e_1.o1m();
|
|
2746
2746
|
if (!equalsLong(value, fromInt(convertToInt(value)))) {
|
|
2747
|
-
this.
|
|
2747
|
+
this.d1e_1.i1j("Failed to parse int for input '" + value.toString() + "'");
|
|
2748
2748
|
}
|
|
2749
2749
|
return convertToInt(value);
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(StreamingJsonDecoder).hw = function () {
|
|
2752
|
-
return this.
|
|
2752
|
+
return this.d1e_1.o1m();
|
|
2753
2753
|
};
|
|
2754
2754
|
protoOf(StreamingJsonDecoder).iw = function () {
|
|
2755
|
-
var tmp0 = this.
|
|
2755
|
+
var tmp0 = this.d1e_1;
|
|
2756
2756
|
var tmp$ret$0;
|
|
2757
2757
|
$l$block: {
|
|
2758
2758
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2759
|
-
var input = tmp0.
|
|
2759
|
+
var input = tmp0.q1k();
|
|
2760
2760
|
try {
|
|
2761
2761
|
// Inline function 'kotlin.text.toFloat' call
|
|
2762
2762
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2766,71 +2766,71 @@ protoOf(StreamingJsonDecoder).iw = function () {
|
|
|
2766
2766
|
} catch ($p) {
|
|
2767
2767
|
if ($p instanceof IllegalArgumentException) {
|
|
2768
2768
|
var e = $p;
|
|
2769
|
-
tmp0.
|
|
2769
|
+
tmp0.i1j("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2770
2770
|
} else {
|
|
2771
2771
|
throw $p;
|
|
2772
2772
|
}
|
|
2773
2773
|
}
|
|
2774
2774
|
}
|
|
2775
2775
|
var result = tmp$ret$0;
|
|
2776
|
-
var specialFp = this.
|
|
2776
|
+
var specialFp = this.b1e_1.t1d_1.s1f_1;
|
|
2777
2777
|
if (specialFp || isFinite(result))
|
|
2778
2778
|
return result;
|
|
2779
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2779
|
+
throwInvalidFloatingPointDecoded(this.d1e_1, result);
|
|
2780
2780
|
};
|
|
2781
2781
|
protoOf(StreamingJsonDecoder).jw = function () {
|
|
2782
|
-
var tmp0 = this.
|
|
2782
|
+
var tmp0 = this.d1e_1;
|
|
2783
2783
|
var tmp$ret$0;
|
|
2784
2784
|
$l$block: {
|
|
2785
2785
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2786
|
-
var input = tmp0.
|
|
2786
|
+
var input = tmp0.q1k();
|
|
2787
2787
|
try {
|
|
2788
2788
|
tmp$ret$0 = toDouble(input);
|
|
2789
2789
|
break $l$block;
|
|
2790
2790
|
} catch ($p) {
|
|
2791
2791
|
if ($p instanceof IllegalArgumentException) {
|
|
2792
2792
|
var e = $p;
|
|
2793
|
-
tmp0.
|
|
2793
|
+
tmp0.i1j("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2794
2794
|
} else {
|
|
2795
2795
|
throw $p;
|
|
2796
2796
|
}
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
var result = tmp$ret$0;
|
|
2800
|
-
var specialFp = this.
|
|
2800
|
+
var specialFp = this.b1e_1.t1d_1.s1f_1;
|
|
2801
2801
|
if (specialFp || isFinite_0(result))
|
|
2802
2802
|
return result;
|
|
2803
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2803
|
+
throwInvalidFloatingPointDecoded(this.d1e_1, result);
|
|
2804
2804
|
};
|
|
2805
2805
|
protoOf(StreamingJsonDecoder).kw = function () {
|
|
2806
|
-
var string = this.
|
|
2806
|
+
var string = this.d1e_1.q1k();
|
|
2807
2807
|
if (!(string.length === 1)) {
|
|
2808
|
-
this.
|
|
2808
|
+
this.d1e_1.i1j("Expected single char, but got '" + string + "'");
|
|
2809
2809
|
}
|
|
2810
2810
|
return charCodeAt(string, 0);
|
|
2811
2811
|
};
|
|
2812
2812
|
protoOf(StreamingJsonDecoder).lw = function () {
|
|
2813
2813
|
var tmp;
|
|
2814
|
-
if (this.
|
|
2815
|
-
tmp = this.
|
|
2814
|
+
if (this.h1e_1.k1f_1) {
|
|
2815
|
+
tmp = this.d1e_1.g1m();
|
|
2816
2816
|
} else {
|
|
2817
|
-
tmp = this.
|
|
2817
|
+
tmp = this.d1e_1.p1k();
|
|
2818
2818
|
}
|
|
2819
2819
|
return tmp;
|
|
2820
2820
|
};
|
|
2821
2821
|
protoOf(StreamingJsonDecoder).nw = function (descriptor) {
|
|
2822
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2822
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.d1e_1, this.b1e_1) : protoOf(AbstractDecoder).nw.call(this, descriptor);
|
|
2823
2823
|
};
|
|
2824
2824
|
protoOf(StreamingJsonDecoder).mw = function (enumDescriptor) {
|
|
2825
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2825
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.b1e_1, this.lw(), ' at path ' + this.d1e_1.l1e_1.w1j());
|
|
2826
2826
|
};
|
|
2827
2827
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2828
2828
|
AbstractDecoder.call(this);
|
|
2829
|
-
this.
|
|
2830
|
-
this.
|
|
2829
|
+
this.p1m_1 = lexer;
|
|
2830
|
+
this.q1m_1 = json.fx();
|
|
2831
2831
|
}
|
|
2832
2832
|
protoOf(JsonDecoderForUnsignedTypes).fx = function () {
|
|
2833
|
-
return this.
|
|
2833
|
+
return this.q1m_1;
|
|
2834
2834
|
};
|
|
2835
2835
|
protoOf(JsonDecoderForUnsignedTypes).hx = function (descriptor) {
|
|
2836
2836
|
// Inline function 'kotlin.error' call
|
|
@@ -2838,11 +2838,11 @@ protoOf(JsonDecoderForUnsignedTypes).hx = function (descriptor) {
|
|
|
2838
2838
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2839
2839
|
};
|
|
2840
2840
|
protoOf(JsonDecoderForUnsignedTypes).gw = function () {
|
|
2841
|
-
var tmp0 = this.
|
|
2841
|
+
var tmp0 = this.p1m_1;
|
|
2842
2842
|
var tmp$ret$0;
|
|
2843
2843
|
$l$block: {
|
|
2844
2844
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2845
|
-
var input = tmp0.
|
|
2845
|
+
var input = tmp0.q1k();
|
|
2846
2846
|
try {
|
|
2847
2847
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2848
2848
|
var this_0 = toUInt(input);
|
|
@@ -2851,7 +2851,7 @@ protoOf(JsonDecoderForUnsignedTypes).gw = function () {
|
|
|
2851
2851
|
} catch ($p) {
|
|
2852
2852
|
if ($p instanceof IllegalArgumentException) {
|
|
2853
2853
|
var e = $p;
|
|
2854
|
-
tmp0.
|
|
2854
|
+
tmp0.i1j("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2855
2855
|
} else {
|
|
2856
2856
|
throw $p;
|
|
2857
2857
|
}
|
|
@@ -2860,11 +2860,11 @@ protoOf(JsonDecoderForUnsignedTypes).gw = function () {
|
|
|
2860
2860
|
return tmp$ret$0;
|
|
2861
2861
|
};
|
|
2862
2862
|
protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
2863
|
-
var tmp0 = this.
|
|
2863
|
+
var tmp0 = this.p1m_1;
|
|
2864
2864
|
var tmp$ret$0;
|
|
2865
2865
|
$l$block: {
|
|
2866
2866
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2867
|
-
var input = tmp0.
|
|
2867
|
+
var input = tmp0.q1k();
|
|
2868
2868
|
try {
|
|
2869
2869
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2870
2870
|
var this_0 = toULong(input);
|
|
@@ -2873,7 +2873,7 @@ protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
|
2873
2873
|
} catch ($p) {
|
|
2874
2874
|
if ($p instanceof IllegalArgumentException) {
|
|
2875
2875
|
var e = $p;
|
|
2876
|
-
tmp0.
|
|
2876
|
+
tmp0.i1j("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2877
2877
|
} else {
|
|
2878
2878
|
throw $p;
|
|
2879
2879
|
}
|
|
@@ -2882,11 +2882,11 @@ protoOf(JsonDecoderForUnsignedTypes).hw = function () {
|
|
|
2882
2882
|
return tmp$ret$0;
|
|
2883
2883
|
};
|
|
2884
2884
|
protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
2885
|
-
var tmp0 = this.
|
|
2885
|
+
var tmp0 = this.p1m_1;
|
|
2886
2886
|
var tmp$ret$0;
|
|
2887
2887
|
$l$block: {
|
|
2888
2888
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2889
|
-
var input = tmp0.
|
|
2889
|
+
var input = tmp0.q1k();
|
|
2890
2890
|
try {
|
|
2891
2891
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2892
2892
|
var this_0 = toUByte(input);
|
|
@@ -2895,7 +2895,7 @@ protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
|
2895
2895
|
} catch ($p) {
|
|
2896
2896
|
if ($p instanceof IllegalArgumentException) {
|
|
2897
2897
|
var e = $p;
|
|
2898
|
-
tmp0.
|
|
2898
|
+
tmp0.i1j("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2899
2899
|
} else {
|
|
2900
2900
|
throw $p;
|
|
2901
2901
|
}
|
|
@@ -2904,11 +2904,11 @@ protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
|
2904
2904
|
return tmp$ret$0;
|
|
2905
2905
|
};
|
|
2906
2906
|
protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
2907
|
-
var tmp0 = this.
|
|
2907
|
+
var tmp0 = this.p1m_1;
|
|
2908
2908
|
var tmp$ret$0;
|
|
2909
2909
|
$l$block: {
|
|
2910
2910
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2911
|
-
var input = tmp0.
|
|
2911
|
+
var input = tmp0.q1k();
|
|
2912
2912
|
try {
|
|
2913
2913
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2914
2914
|
var this_0 = toUShort(input);
|
|
@@ -2917,7 +2917,7 @@ protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
|
2917
2917
|
} catch ($p) {
|
|
2918
2918
|
if ($p instanceof IllegalArgumentException) {
|
|
2919
2919
|
var e = $p;
|
|
2920
|
-
tmp0.
|
|
2920
|
+
tmp0.i1j("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2921
2921
|
} else {
|
|
2922
2922
|
throw $p;
|
|
2923
2923
|
}
|
|
@@ -2938,53 +2938,53 @@ function StreamingJsonEncoder_init_$Create$(output, json, mode, modeReuseCache)
|
|
|
2938
2938
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2939
2939
|
}
|
|
2940
2940
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2941
|
-
$this.
|
|
2941
|
+
$this.z1j_1.c1i();
|
|
2942
2942
|
$this.ux(discriminator);
|
|
2943
|
-
$this.
|
|
2944
|
-
$this.
|
|
2943
|
+
$this.z1j_1.f1i(_Char___init__impl__6a9atx(58));
|
|
2944
|
+
$this.z1j_1.e1i();
|
|
2945
2945
|
$this.ux(serialName);
|
|
2946
2946
|
}
|
|
2947
2947
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2948
2948
|
AbstractEncoder.call(this);
|
|
2949
|
-
this.
|
|
2950
|
-
this.
|
|
2951
|
-
this.
|
|
2952
|
-
this.
|
|
2953
|
-
this.
|
|
2954
|
-
this.
|
|
2955
|
-
this.
|
|
2956
|
-
this.
|
|
2957
|
-
this.
|
|
2958
|
-
var i = this.
|
|
2959
|
-
if (!(this.
|
|
2960
|
-
if (!(this.
|
|
2961
|
-
this.
|
|
2949
|
+
this.z1j_1 = composer;
|
|
2950
|
+
this.a1k_1 = json;
|
|
2951
|
+
this.b1k_1 = mode;
|
|
2952
|
+
this.c1k_1 = modeReuseCache;
|
|
2953
|
+
this.d1k_1 = this.a1k_1.fx();
|
|
2954
|
+
this.e1k_1 = this.a1k_1.t1d_1;
|
|
2955
|
+
this.f1k_1 = false;
|
|
2956
|
+
this.g1k_1 = null;
|
|
2957
|
+
this.h1k_1 = null;
|
|
2958
|
+
var i = this.b1k_1.a1_1;
|
|
2959
|
+
if (!(this.c1k_1 == null)) {
|
|
2960
|
+
if (!(this.c1k_1[i] === null) || !(this.c1k_1[i] === this)) {
|
|
2961
|
+
this.c1k_1[i] = this;
|
|
2962
2962
|
}
|
|
2963
2963
|
}
|
|
2964
2964
|
}
|
|
2965
|
-
protoOf(StreamingJsonEncoder).
|
|
2966
|
-
return this.
|
|
2965
|
+
protoOf(StreamingJsonEncoder).b1g = function () {
|
|
2966
|
+
return this.a1k_1;
|
|
2967
2967
|
};
|
|
2968
2968
|
protoOf(StreamingJsonEncoder).fx = function () {
|
|
2969
|
-
return this.
|
|
2969
|
+
return this.d1k_1;
|
|
2970
2970
|
};
|
|
2971
2971
|
protoOf(StreamingJsonEncoder).ny = function (descriptor, index) {
|
|
2972
|
-
return this.
|
|
2972
|
+
return this.e1k_1.i1f_1;
|
|
2973
2973
|
};
|
|
2974
2974
|
protoOf(StreamingJsonEncoder).iy = function (serializer, value) {
|
|
2975
2975
|
$l$block: {
|
|
2976
2976
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2977
|
-
if (this.
|
|
2977
|
+
if (this.b1g().t1d_1.q1f_1) {
|
|
2978
2978
|
serializer.pt(this, value);
|
|
2979
2979
|
break $l$block;
|
|
2980
2980
|
}
|
|
2981
2981
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2982
2982
|
var tmp;
|
|
2983
2983
|
if (isPolymorphicSerializer) {
|
|
2984
|
-
tmp = !this.
|
|
2984
|
+
tmp = !this.b1g().t1d_1.y1f_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2985
2985
|
} else {
|
|
2986
2986
|
var tmp_0;
|
|
2987
|
-
switch (this.
|
|
2987
|
+
switch (this.b1g().t1d_1.y1f_1.a1_1) {
|
|
2988
2988
|
case 0:
|
|
2989
2989
|
case 2:
|
|
2990
2990
|
tmp_0 = false;
|
|
@@ -3002,7 +3002,7 @@ protoOf(StreamingJsonEncoder).iy = function (serializer, value) {
|
|
|
3002
3002
|
tmp = tmp_0;
|
|
3003
3003
|
}
|
|
3004
3004
|
var needDiscriminator = tmp;
|
|
3005
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ot(), this.
|
|
3005
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ot(), this.b1g()) : null;
|
|
3006
3006
|
var tmp_1;
|
|
3007
3007
|
if (isPolymorphicSerializer) {
|
|
3008
3008
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -3022,96 +3022,96 @@ protoOf(StreamingJsonEncoder).iy = function (serializer, value) {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
var actualSerializer = tmp_1;
|
|
3024
3024
|
if (!(baseClassDiscriminator == null)) {
|
|
3025
|
-
access$checkEncodingConflicts$tPolymorphicKt(this.
|
|
3025
|
+
access$checkEncodingConflicts$tPolymorphicKt(this.b1g(), serializer, actualSerializer, baseClassDiscriminator);
|
|
3026
3026
|
checkKind_0(actualSerializer.ot().xu());
|
|
3027
3027
|
var serialName = actualSerializer.ot().wu();
|
|
3028
|
-
this.
|
|
3029
|
-
this.
|
|
3028
|
+
this.g1k_1 = baseClassDiscriminator;
|
|
3029
|
+
this.h1k_1 = serialName;
|
|
3030
3030
|
}
|
|
3031
3031
|
actualSerializer.pt(this, value);
|
|
3032
3032
|
}
|
|
3033
3033
|
};
|
|
3034
3034
|
protoOf(StreamingJsonEncoder).qw = function (descriptor) {
|
|
3035
|
-
var newMode = switchMode(this.
|
|
3036
|
-
if (!(newMode.
|
|
3037
|
-
this.
|
|
3038
|
-
this.
|
|
3035
|
+
var newMode = switchMode(this.a1k_1, descriptor);
|
|
3036
|
+
if (!(newMode.k1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
3037
|
+
this.z1j_1.f1i(newMode.k1m_1);
|
|
3038
|
+
this.z1j_1.a1i();
|
|
3039
3039
|
}
|
|
3040
|
-
var discriminator = this.
|
|
3040
|
+
var discriminator = this.g1k_1;
|
|
3041
3041
|
if (!(discriminator == null)) {
|
|
3042
|
-
var tmp0_elvis_lhs = this.
|
|
3042
|
+
var tmp0_elvis_lhs = this.h1k_1;
|
|
3043
3043
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.wu() : tmp0_elvis_lhs);
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
3044
|
+
this.g1k_1 = null;
|
|
3045
|
+
this.h1k_1 = null;
|
|
3046
3046
|
}
|
|
3047
|
-
if (this.
|
|
3047
|
+
if (this.b1k_1.equals(newMode)) {
|
|
3048
3048
|
return this;
|
|
3049
3049
|
}
|
|
3050
|
-
var tmp1_safe_receiver = this.
|
|
3050
|
+
var tmp1_safe_receiver = this.c1k_1;
|
|
3051
3051
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
3052
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
3052
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.z1j_1, this.a1k_1, newMode, this.c1k_1) : tmp2_elvis_lhs;
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(StreamingJsonEncoder).rw = function (descriptor) {
|
|
3055
|
-
if (!(this.
|
|
3056
|
-
this.
|
|
3057
|
-
this.
|
|
3058
|
-
this.
|
|
3055
|
+
if (!(this.b1k_1.l1m_1 === _Char___init__impl__6a9atx(0))) {
|
|
3056
|
+
this.z1j_1.b1i();
|
|
3057
|
+
this.z1j_1.d1i();
|
|
3058
|
+
this.z1j_1.f1i(this.b1k_1.l1m_1);
|
|
3059
3059
|
}
|
|
3060
3060
|
};
|
|
3061
3061
|
protoOf(StreamingJsonEncoder).jx = function (descriptor, index) {
|
|
3062
|
-
switch (this.
|
|
3062
|
+
switch (this.b1k_1.a1_1) {
|
|
3063
3063
|
case 1:
|
|
3064
|
-
if (!this.
|
|
3065
|
-
this.
|
|
3064
|
+
if (!this.z1j_1.z1h_1) {
|
|
3065
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(44));
|
|
3066
3066
|
}
|
|
3067
3067
|
|
|
3068
|
-
this.
|
|
3068
|
+
this.z1j_1.c1i();
|
|
3069
3069
|
break;
|
|
3070
3070
|
case 2:
|
|
3071
|
-
if (!this.
|
|
3071
|
+
if (!this.z1j_1.z1h_1) {
|
|
3072
3072
|
var tmp = this;
|
|
3073
3073
|
var tmp_0;
|
|
3074
3074
|
if ((index % 2 | 0) === 0) {
|
|
3075
|
-
this.
|
|
3076
|
-
this.
|
|
3075
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(44));
|
|
3076
|
+
this.z1j_1.c1i();
|
|
3077
3077
|
tmp_0 = true;
|
|
3078
3078
|
} else {
|
|
3079
|
-
this.
|
|
3080
|
-
this.
|
|
3079
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(58));
|
|
3080
|
+
this.z1j_1.e1i();
|
|
3081
3081
|
tmp_0 = false;
|
|
3082
3082
|
}
|
|
3083
|
-
tmp.
|
|
3083
|
+
tmp.f1k_1 = tmp_0;
|
|
3084
3084
|
} else {
|
|
3085
|
-
this.
|
|
3086
|
-
this.
|
|
3085
|
+
this.f1k_1 = true;
|
|
3086
|
+
this.z1j_1.c1i();
|
|
3087
3087
|
}
|
|
3088
3088
|
|
|
3089
3089
|
break;
|
|
3090
3090
|
case 3:
|
|
3091
3091
|
if (index === 0)
|
|
3092
|
-
this.
|
|
3092
|
+
this.f1k_1 = true;
|
|
3093
3093
|
if (index === 1) {
|
|
3094
|
-
this.
|
|
3095
|
-
this.
|
|
3096
|
-
this.
|
|
3094
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(44));
|
|
3095
|
+
this.z1j_1.e1i();
|
|
3096
|
+
this.f1k_1 = false;
|
|
3097
3097
|
}
|
|
3098
3098
|
|
|
3099
3099
|
break;
|
|
3100
3100
|
default:
|
|
3101
|
-
if (!this.
|
|
3102
|
-
this.
|
|
3101
|
+
if (!this.z1j_1.z1h_1) {
|
|
3102
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(44));
|
|
3103
3103
|
}
|
|
3104
3104
|
|
|
3105
|
-
this.
|
|
3106
|
-
this.ux(getJsonElementName(descriptor, this.
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3105
|
+
this.z1j_1.c1i();
|
|
3106
|
+
this.ux(getJsonElementName(descriptor, this.a1k_1, index));
|
|
3107
|
+
this.z1j_1.f1i(_Char___init__impl__6a9atx(58));
|
|
3108
|
+
this.z1j_1.e1i();
|
|
3109
3109
|
break;
|
|
3110
3110
|
}
|
|
3111
3111
|
return true;
|
|
3112
3112
|
};
|
|
3113
3113
|
protoOf(StreamingJsonEncoder).jy = function (descriptor, index, serializer, value) {
|
|
3114
|
-
if (!(value == null) || this.
|
|
3114
|
+
if (!(value == null) || this.e1k_1.n1f_1) {
|
|
3115
3115
|
protoOf(AbstractEncoder).jy.call(this, descriptor, index, serializer, value);
|
|
3116
3116
|
}
|
|
3117
3117
|
};
|
|
@@ -3120,32 +3120,32 @@ protoOf(StreamingJsonEncoder).wx = function (descriptor) {
|
|
|
3120
3120
|
if (get_isUnsignedNumber(descriptor)) {
|
|
3121
3121
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
3122
3122
|
var tmp_0;
|
|
3123
|
-
var tmp_1 = this.
|
|
3123
|
+
var tmp_1 = this.z1j_1;
|
|
3124
3124
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
3125
|
-
tmp_0 = this.
|
|
3125
|
+
tmp_0 = this.z1j_1;
|
|
3126
3126
|
} else {
|
|
3127
|
-
var tmp0 = this.
|
|
3128
|
-
var p1 = this.
|
|
3127
|
+
var tmp0 = this.z1j_1.y1h_1;
|
|
3128
|
+
var p1 = this.f1k_1;
|
|
3129
3129
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
3130
3130
|
}
|
|
3131
3131
|
var tmp$ret$0 = tmp_0;
|
|
3132
|
-
tmp = new StreamingJsonEncoder(tmp$ret$0, this.
|
|
3132
|
+
tmp = new StreamingJsonEncoder(tmp$ret$0, this.a1k_1, this.b1k_1, null);
|
|
3133
3133
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
3134
3134
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
3135
3135
|
var tmp_2;
|
|
3136
|
-
var tmp_3 = this.
|
|
3136
|
+
var tmp_3 = this.z1j_1;
|
|
3137
3137
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
3138
|
-
tmp_2 = this.
|
|
3138
|
+
tmp_2 = this.z1j_1;
|
|
3139
3139
|
} else {
|
|
3140
|
-
var tmp0_0 = this.
|
|
3141
|
-
var p1_0 = this.
|
|
3140
|
+
var tmp0_0 = this.z1j_1.y1h_1;
|
|
3141
|
+
var p1_0 = this.f1k_1;
|
|
3142
3142
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
3143
3143
|
}
|
|
3144
3144
|
var tmp$ret$2 = tmp_2;
|
|
3145
|
-
tmp = new StreamingJsonEncoder(tmp$ret$2, this.
|
|
3146
|
-
} else if (!(this.
|
|
3145
|
+
tmp = new StreamingJsonEncoder(tmp$ret$2, this.a1k_1, this.b1k_1, null);
|
|
3146
|
+
} else if (!(this.g1k_1 == null)) {
|
|
3147
3147
|
// Inline function 'kotlin.apply' call
|
|
3148
|
-
this.
|
|
3148
|
+
this.h1k_1 = descriptor.wu();
|
|
3149
3149
|
tmp = this;
|
|
3150
3150
|
} else {
|
|
3151
3151
|
tmp = protoOf(AbstractEncoder).wx.call(this, descriptor);
|
|
@@ -3153,60 +3153,60 @@ protoOf(StreamingJsonEncoder).wx = function (descriptor) {
|
|
|
3153
3153
|
return tmp;
|
|
3154
3154
|
};
|
|
3155
3155
|
protoOf(StreamingJsonEncoder).lx = function () {
|
|
3156
|
-
this.
|
|
3156
|
+
this.z1j_1.h1i('null');
|
|
3157
3157
|
};
|
|
3158
3158
|
protoOf(StreamingJsonEncoder).mx = function (value) {
|
|
3159
|
-
if (this.
|
|
3159
|
+
if (this.f1k_1) {
|
|
3160
3160
|
this.ux(value.toString());
|
|
3161
3161
|
} else {
|
|
3162
|
-
this.
|
|
3162
|
+
this.z1j_1.q1i(value);
|
|
3163
3163
|
}
|
|
3164
3164
|
};
|
|
3165
3165
|
protoOf(StreamingJsonEncoder).nx = function (value) {
|
|
3166
|
-
if (this.
|
|
3166
|
+
if (this.f1k_1) {
|
|
3167
3167
|
this.ux(value.toString());
|
|
3168
3168
|
} else {
|
|
3169
|
-
this.
|
|
3169
|
+
this.z1j_1.l1i(value);
|
|
3170
3170
|
}
|
|
3171
3171
|
};
|
|
3172
3172
|
protoOf(StreamingJsonEncoder).ox = function (value) {
|
|
3173
|
-
if (this.
|
|
3173
|
+
if (this.f1k_1) {
|
|
3174
3174
|
this.ux(value.toString());
|
|
3175
3175
|
} else {
|
|
3176
|
-
this.
|
|
3176
|
+
this.z1j_1.n1i(value);
|
|
3177
3177
|
}
|
|
3178
3178
|
};
|
|
3179
3179
|
protoOf(StreamingJsonEncoder).px = function (value) {
|
|
3180
|
-
if (this.
|
|
3180
|
+
if (this.f1k_1) {
|
|
3181
3181
|
this.ux(value.toString());
|
|
3182
3182
|
} else {
|
|
3183
|
-
this.
|
|
3183
|
+
this.z1j_1.o1i(value);
|
|
3184
3184
|
}
|
|
3185
3185
|
};
|
|
3186
3186
|
protoOf(StreamingJsonEncoder).qx = function (value) {
|
|
3187
|
-
if (this.
|
|
3187
|
+
if (this.f1k_1) {
|
|
3188
3188
|
this.ux(value.toString());
|
|
3189
3189
|
} else {
|
|
3190
|
-
this.
|
|
3190
|
+
this.z1j_1.p1i(value);
|
|
3191
3191
|
}
|
|
3192
3192
|
};
|
|
3193
3193
|
protoOf(StreamingJsonEncoder).rx = function (value) {
|
|
3194
|
-
if (this.
|
|
3194
|
+
if (this.f1k_1) {
|
|
3195
3195
|
this.ux(value.toString());
|
|
3196
3196
|
} else {
|
|
3197
|
-
this.
|
|
3197
|
+
this.z1j_1.j1i(value);
|
|
3198
3198
|
}
|
|
3199
|
-
if (!this.
|
|
3199
|
+
if (!this.e1k_1.s1f_1 && !isFinite(value)) {
|
|
3200
3200
|
throw InvalidFloatingPointEncoded(value);
|
|
3201
3201
|
}
|
|
3202
3202
|
};
|
|
3203
3203
|
protoOf(StreamingJsonEncoder).sx = function (value) {
|
|
3204
|
-
if (this.
|
|
3204
|
+
if (this.f1k_1) {
|
|
3205
3205
|
this.ux(value.toString());
|
|
3206
3206
|
} else {
|
|
3207
|
-
this.
|
|
3207
|
+
this.z1j_1.k1i(value);
|
|
3208
3208
|
}
|
|
3209
|
-
if (!this.
|
|
3209
|
+
if (!this.e1k_1.s1f_1 && !isFinite_0(value)) {
|
|
3210
3210
|
throw InvalidFloatingPointEncoded(value);
|
|
3211
3211
|
}
|
|
3212
3212
|
};
|
|
@@ -3214,7 +3214,7 @@ protoOf(StreamingJsonEncoder).tx = function (value) {
|
|
|
3214
3214
|
this.ux(toString_1(value));
|
|
3215
3215
|
};
|
|
3216
3216
|
protoOf(StreamingJsonEncoder).ux = function (value) {
|
|
3217
|
-
return this.
|
|
3217
|
+
return this.z1j_1.r1i(value);
|
|
3218
3218
|
};
|
|
3219
3219
|
protoOf(StreamingJsonEncoder).vx = function (enumDescriptor, index) {
|
|
3220
3220
|
this.ux(enumDescriptor.bv(index));
|
|
@@ -3393,10 +3393,10 @@ function unparsedPrimitive($this, literal, primitive, tag) {
|
|
|
3393
3393
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3394
3394
|
var tmp2 = "Failed to parse literal '" + literal.toString() + "' as " + type + ' value';
|
|
3395
3395
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3396
|
-
var path = $this.
|
|
3396
|
+
var path = $this.x1m(tag);
|
|
3397
3397
|
var tmp;
|
|
3398
|
-
if ($this.
|
|
3399
|
-
var tmp$ret$3 = toString($this.
|
|
3398
|
+
if ($this.b1g().t1d_1.z1f_1) {
|
|
3399
|
+
var tmp$ret$3 = toString($this.y1m());
|
|
3400
3400
|
tmp = toString(minify(tmp$ret$3));
|
|
3401
3401
|
} else {
|
|
3402
3402
|
tmp = null;
|
|
@@ -3407,37 +3407,37 @@ function unparsedPrimitive($this, literal, primitive, tag) {
|
|
|
3407
3407
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3408
3408
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3409
3409
|
NamedValueDecoder.call(this);
|
|
3410
|
-
this.
|
|
3411
|
-
this.
|
|
3412
|
-
this.
|
|
3413
|
-
this.
|
|
3410
|
+
this.t1m_1 = json;
|
|
3411
|
+
this.u1m_1 = value;
|
|
3412
|
+
this.v1m_1 = polymorphicDiscriminator;
|
|
3413
|
+
this.w1m_1 = this.b1g().t1d_1;
|
|
3414
3414
|
}
|
|
3415
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3416
|
-
return this.
|
|
3415
|
+
protoOf(AbstractJsonTreeDecoder).b1g = function () {
|
|
3416
|
+
return this.t1m_1;
|
|
3417
3417
|
};
|
|
3418
3418
|
protoOf(AbstractJsonTreeDecoder).p1 = function () {
|
|
3419
|
-
return this.
|
|
3419
|
+
return this.u1m_1;
|
|
3420
3420
|
};
|
|
3421
3421
|
protoOf(AbstractJsonTreeDecoder).fx = function () {
|
|
3422
|
-
return this.
|
|
3422
|
+
return this.b1g().fx();
|
|
3423
3423
|
};
|
|
3424
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3425
|
-
var tmp0_safe_receiver = this.
|
|
3424
|
+
protoOf(AbstractJsonTreeDecoder).y1m = function () {
|
|
3425
|
+
var tmp0_safe_receiver = this.a1b();
|
|
3426
3426
|
var tmp;
|
|
3427
3427
|
if (tmp0_safe_receiver == null) {
|
|
3428
3428
|
tmp = null;
|
|
3429
3429
|
} else {
|
|
3430
3430
|
// Inline function 'kotlin.let' call
|
|
3431
|
-
tmp = this.
|
|
3431
|
+
tmp = this.z1m(tmp0_safe_receiver);
|
|
3432
3432
|
}
|
|
3433
3433
|
var tmp1_elvis_lhs = tmp;
|
|
3434
3434
|
return tmp1_elvis_lhs == null ? this.p1() : tmp1_elvis_lhs;
|
|
3435
3435
|
};
|
|
3436
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3437
|
-
return this.
|
|
3436
|
+
protoOf(AbstractJsonTreeDecoder).x1m = function (currentTag) {
|
|
3437
|
+
return this.c1b() + ('.' + currentTag);
|
|
3438
3438
|
};
|
|
3439
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3440
|
-
return this.
|
|
3439
|
+
protoOf(AbstractJsonTreeDecoder).c1g = function () {
|
|
3440
|
+
return this.y1m();
|
|
3441
3441
|
};
|
|
3442
3442
|
protoOf(AbstractJsonTreeDecoder).pw = function (deserializer) {
|
|
3443
3443
|
var tmp$ret$0;
|
|
@@ -3447,22 +3447,22 @@ protoOf(AbstractJsonTreeDecoder).pw = function (deserializer) {
|
|
|
3447
3447
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3448
3448
|
tmp = true;
|
|
3449
3449
|
} else {
|
|
3450
|
-
tmp = this.
|
|
3450
|
+
tmp = this.b1g().t1d_1.q1f_1;
|
|
3451
3451
|
}
|
|
3452
3452
|
if (tmp) {
|
|
3453
3453
|
tmp$ret$0 = deserializer.qt(this);
|
|
3454
3454
|
break $l$block;
|
|
3455
3455
|
}
|
|
3456
|
-
var discriminator = classDiscriminator(deserializer.ot(), this.
|
|
3457
|
-
var tmp2 = this.
|
|
3456
|
+
var discriminator = classDiscriminator(deserializer.ot(), this.b1g());
|
|
3457
|
+
var tmp2 = this.c1g();
|
|
3458
3458
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3459
3459
|
var serialName = deserializer.ot().wu();
|
|
3460
3460
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3461
3461
|
var tmp2_0 = 'Expected ' + getKClass(JsonObject).o() + ', but had ' + getKClassFromExpression(tmp2).o() + ' as the serialized body of ' + serialName;
|
|
3462
3462
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3463
|
-
var path = this.
|
|
3463
|
+
var path = this.c1b();
|
|
3464
3464
|
var tmp_0;
|
|
3465
|
-
if (this.
|
|
3465
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3466
3466
|
var tmp$ret$6 = toString(tmp2);
|
|
3467
3467
|
tmp_0 = toString(minify(tmp$ret$6));
|
|
3468
3468
|
} else {
|
|
@@ -3485,7 +3485,7 @@ protoOf(AbstractJsonTreeDecoder).pw = function (deserializer) {
|
|
|
3485
3485
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3486
3486
|
var shortMessage = ensureNotNull(it.message);
|
|
3487
3487
|
var tmp_3;
|
|
3488
|
-
if (this.
|
|
3488
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3489
3489
|
var tmp$ret$10 = jsonTree.toString();
|
|
3490
3490
|
tmp_3 = toString(minify(tmp$ret$10));
|
|
3491
3491
|
} else {
|
|
@@ -3499,15 +3499,15 @@ protoOf(AbstractJsonTreeDecoder).pw = function (deserializer) {
|
|
|
3499
3499
|
}
|
|
3500
3500
|
var tmp_4 = tmp_1;
|
|
3501
3501
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3502
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3502
|
+
tmp$ret$0 = readPolymorphicJson(this.b1g(), discriminator, jsonTree, actualSerializer);
|
|
3503
3503
|
}
|
|
3504
3504
|
return tmp$ret$0;
|
|
3505
3505
|
};
|
|
3506
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3506
|
+
protoOf(AbstractJsonTreeDecoder).b1b = function (parentName, childName) {
|
|
3507
3507
|
return childName;
|
|
3508
3508
|
};
|
|
3509
3509
|
protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
3510
|
-
var currentObject = this.
|
|
3510
|
+
var currentObject = this.y1m();
|
|
3511
3511
|
var tmp0_subject = descriptor.xu();
|
|
3512
3512
|
var tmp;
|
|
3513
3513
|
var tmp_0;
|
|
@@ -3517,16 +3517,16 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3517
3517
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3518
3518
|
}
|
|
3519
3519
|
if (tmp_0) {
|
|
3520
|
-
var tmp_1 = this.
|
|
3520
|
+
var tmp_1 = this.b1g();
|
|
3521
3521
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3522
3522
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3523
3523
|
var serialName = descriptor.wu();
|
|
3524
3524
|
if (!(currentObject instanceof JsonArray)) {
|
|
3525
3525
|
var tmp2 = 'Expected ' + getKClass(JsonArray).o() + ', but had ' + getKClassFromExpression(currentObject).o() + ' as the serialized body of ' + serialName;
|
|
3526
3526
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3527
|
-
var path = this.
|
|
3527
|
+
var path = this.c1b();
|
|
3528
3528
|
var tmp_2;
|
|
3529
|
-
if (this.
|
|
3529
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3530
3530
|
var tmp$ret$6 = toString(currentObject);
|
|
3531
3531
|
tmp_2 = toString(minify(tmp$ret$6));
|
|
3532
3532
|
} else {
|
|
@@ -3539,7 +3539,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3539
3539
|
} else {
|
|
3540
3540
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3541
3541
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3542
|
-
var this_0 = this.
|
|
3542
|
+
var this_0 = this.b1g();
|
|
3543
3543
|
var keyDescriptor = carrierDescriptor(descriptor.ev(0), this_0.fx());
|
|
3544
3544
|
var keyKind = keyDescriptor.xu();
|
|
3545
3545
|
var tmp_3;
|
|
@@ -3550,16 +3550,16 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3550
3550
|
tmp_4 = equals(keyKind, ENUM_getInstance());
|
|
3551
3551
|
}
|
|
3552
3552
|
if (tmp_4) {
|
|
3553
|
-
var tmp_5 = this.
|
|
3553
|
+
var tmp_5 = this.b1g();
|
|
3554
3554
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3555
3555
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3556
3556
|
var serialName_0 = descriptor.wu();
|
|
3557
3557
|
if (!(currentObject instanceof JsonObject)) {
|
|
3558
3558
|
var tmp2_0 = 'Expected ' + getKClass(JsonObject).o() + ', but had ' + getKClassFromExpression(currentObject).o() + ' as the serialized body of ' + serialName_0;
|
|
3559
3559
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3560
|
-
var path_0 = this.
|
|
3560
|
+
var path_0 = this.c1b();
|
|
3561
3561
|
var tmp_6;
|
|
3562
|
-
if (this.
|
|
3562
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3563
3563
|
var tmp$ret$15 = toString(currentObject);
|
|
3564
3564
|
tmp_6 = toString(minify(tmp$ret$15));
|
|
3565
3565
|
} else {
|
|
@@ -3570,17 +3570,17 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3570
3570
|
}
|
|
3571
3571
|
tmp_3 = new JsonTreeMapDecoder(tmp_5, currentObject);
|
|
3572
3572
|
} else {
|
|
3573
|
-
if (this_0.
|
|
3574
|
-
var tmp_7 = this.
|
|
3573
|
+
if (this_0.t1d_1.l1f_1) {
|
|
3574
|
+
var tmp_7 = this.b1g();
|
|
3575
3575
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3576
3576
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3577
3577
|
var serialName_1 = descriptor.wu();
|
|
3578
3578
|
if (!(currentObject instanceof JsonArray)) {
|
|
3579
3579
|
var tmp2_1 = 'Expected ' + getKClass(JsonArray).o() + ', but had ' + getKClassFromExpression(currentObject).o() + ' as the serialized body of ' + serialName_1;
|
|
3580
3580
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3581
|
-
var path_1 = this.
|
|
3581
|
+
var path_1 = this.c1b();
|
|
3582
3582
|
var tmp_8;
|
|
3583
|
-
if (this.
|
|
3583
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3584
3584
|
var tmp$ret$23 = toString(currentObject);
|
|
3585
3585
|
tmp_8 = toString(minify(tmp$ret$23));
|
|
3586
3586
|
} else {
|
|
@@ -3596,16 +3596,16 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3596
3596
|
}
|
|
3597
3597
|
tmp = tmp_3;
|
|
3598
3598
|
} else {
|
|
3599
|
-
var tmp_9 = this.
|
|
3599
|
+
var tmp_9 = this.b1g();
|
|
3600
3600
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3601
3601
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3602
3602
|
var serialName_2 = descriptor.wu();
|
|
3603
3603
|
if (!(currentObject instanceof JsonObject)) {
|
|
3604
3604
|
var tmp2_2 = 'Expected ' + getKClass(JsonObject).o() + ', but had ' + getKClassFromExpression(currentObject).o() + ' as the serialized body of ' + serialName_2;
|
|
3605
3605
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3606
|
-
var path_2 = this.
|
|
3606
|
+
var path_2 = this.c1b();
|
|
3607
3607
|
var tmp_10;
|
|
3608
|
-
if (this.
|
|
3608
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3609
3609
|
var tmp$ret$30 = toString(currentObject);
|
|
3610
3610
|
tmp_10 = toString(minify(tmp$ret$30));
|
|
3611
3611
|
} else {
|
|
@@ -3614,7 +3614,7 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3614
3614
|
var inputValue_2 = tmp_10;
|
|
3615
3615
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_2, path_2, null, inputValue_2), tmp2_2, -1, path_2, inputValue_2, null);
|
|
3616
3616
|
}
|
|
3617
|
-
tmp = new JsonTreeDecoder(tmp_9, currentObject, this.
|
|
3617
|
+
tmp = new JsonTreeDecoder(tmp_9, currentObject, this.v1m_1);
|
|
3618
3618
|
}
|
|
3619
3619
|
}
|
|
3620
3620
|
return tmp;
|
|
@@ -3622,22 +3622,22 @@ protoOf(AbstractJsonTreeDecoder).qw = function (descriptor) {
|
|
|
3622
3622
|
protoOf(AbstractJsonTreeDecoder).rw = function (descriptor) {
|
|
3623
3623
|
};
|
|
3624
3624
|
protoOf(AbstractJsonTreeDecoder).bw = function () {
|
|
3625
|
-
var tmp = this.
|
|
3625
|
+
var tmp = this.y1m();
|
|
3626
3626
|
return !(tmp instanceof JsonNull);
|
|
3627
3627
|
};
|
|
3628
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3629
|
-
var tmp = this.
|
|
3628
|
+
protoOf(AbstractJsonTreeDecoder).a1n = function (tag, enumDescriptor) {
|
|
3629
|
+
var tmp = this.b1g();
|
|
3630
3630
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3631
|
-
var tmp2 = this.
|
|
3631
|
+
var tmp2 = this.z1m(tag);
|
|
3632
3632
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3633
3633
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3634
3634
|
var serialName = enumDescriptor.wu();
|
|
3635
3635
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3636
3636
|
var tmp2_0 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(tmp2).o() + ' as the serialized body of ' + serialName;
|
|
3637
3637
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3638
|
-
var path = this.
|
|
3638
|
+
var path = this.x1m(tag);
|
|
3639
3639
|
var tmp_0;
|
|
3640
|
-
if (this.
|
|
3640
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3641
3641
|
var tmp$ret$7 = toString(tmp2);
|
|
3642
3642
|
tmp_0 = toString(minify(tmp$ret$7));
|
|
3643
3643
|
} else {
|
|
@@ -3646,30 +3646,30 @@ protoOf(AbstractJsonTreeDecoder).y1m = function (tag, enumDescriptor) {
|
|
|
3646
3646
|
var inputValue = tmp_0;
|
|
3647
3647
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, path, null, inputValue), tmp2_0, -1, path, inputValue, null);
|
|
3648
3648
|
}
|
|
3649
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3649
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.l1g());
|
|
3650
3650
|
};
|
|
3651
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3652
|
-
return this.
|
|
3651
|
+
protoOf(AbstractJsonTreeDecoder).o1b = function (tag, enumDescriptor) {
|
|
3652
|
+
return this.a1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3653
3653
|
};
|
|
3654
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3655
|
-
return !(this.
|
|
3654
|
+
protoOf(AbstractJsonTreeDecoder).b1n = function (tag) {
|
|
3655
|
+
return !(this.z1m(tag) === JsonNull_getInstance());
|
|
3656
3656
|
};
|
|
3657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3658
|
-
return this.
|
|
3657
|
+
protoOf(AbstractJsonTreeDecoder).e1b = function (tag) {
|
|
3658
|
+
return this.b1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3659
3659
|
};
|
|
3660
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3660
|
+
protoOf(AbstractJsonTreeDecoder).c1n = function (tag) {
|
|
3661
3661
|
var tmp$ret$0;
|
|
3662
3662
|
$l$block: {
|
|
3663
3663
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3664
3664
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3665
3665
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3666
|
-
var value = this.
|
|
3666
|
+
var value = this.z1m(tag);
|
|
3667
3667
|
if (!(value instanceof JsonPrimitive)) {
|
|
3668
3668
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'boolean';
|
|
3669
3669
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3670
|
-
var path = this.
|
|
3670
|
+
var path = this.x1m(tag);
|
|
3671
3671
|
var tmp;
|
|
3672
|
-
if (this.
|
|
3672
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3673
3673
|
var tmp$ret$7 = toString(value);
|
|
3674
3674
|
tmp = toString(minify(tmp$ret$7));
|
|
3675
3675
|
} else {
|
|
@@ -3700,22 +3700,22 @@ protoOf(AbstractJsonTreeDecoder).a1n = function (tag) {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
return tmp$ret$0;
|
|
3702
3702
|
};
|
|
3703
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3704
|
-
return this.
|
|
3703
|
+
protoOf(AbstractJsonTreeDecoder).f1b = function (tag) {
|
|
3704
|
+
return this.c1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3705
3705
|
};
|
|
3706
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3706
|
+
protoOf(AbstractJsonTreeDecoder).d1n = function (tag) {
|
|
3707
3707
|
var tmp$ret$0;
|
|
3708
3708
|
$l$block: {
|
|
3709
3709
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3710
3710
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3711
3711
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3712
|
-
var value = this.
|
|
3712
|
+
var value = this.z1m(tag);
|
|
3713
3713
|
if (!(value instanceof JsonPrimitive)) {
|
|
3714
3714
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'byte';
|
|
3715
3715
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3716
|
-
var path = this.
|
|
3716
|
+
var path = this.x1m(tag);
|
|
3717
3717
|
var tmp;
|
|
3718
|
-
if (this.
|
|
3718
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3719
3719
|
var tmp$ret$7 = toString(value);
|
|
3720
3720
|
tmp = toString(minify(tmp$ret$7));
|
|
3721
3721
|
} else {
|
|
@@ -3755,22 +3755,22 @@ protoOf(AbstractJsonTreeDecoder).b1n = function (tag) {
|
|
|
3755
3755
|
}
|
|
3756
3756
|
return tmp$ret$0;
|
|
3757
3757
|
};
|
|
3758
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3759
|
-
return this.
|
|
3758
|
+
protoOf(AbstractJsonTreeDecoder).g1b = function (tag) {
|
|
3759
|
+
return this.d1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3760
3760
|
};
|
|
3761
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3761
|
+
protoOf(AbstractJsonTreeDecoder).e1n = function (tag) {
|
|
3762
3762
|
var tmp$ret$0;
|
|
3763
3763
|
$l$block: {
|
|
3764
3764
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3765
3765
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3766
3766
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3767
|
-
var value = this.
|
|
3767
|
+
var value = this.z1m(tag);
|
|
3768
3768
|
if (!(value instanceof JsonPrimitive)) {
|
|
3769
3769
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'short';
|
|
3770
3770
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3771
|
-
var path = this.
|
|
3771
|
+
var path = this.x1m(tag);
|
|
3772
3772
|
var tmp;
|
|
3773
|
-
if (this.
|
|
3773
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3774
3774
|
var tmp$ret$7 = toString(value);
|
|
3775
3775
|
tmp = toString(minify(tmp$ret$7));
|
|
3776
3776
|
} else {
|
|
@@ -3810,22 +3810,22 @@ protoOf(AbstractJsonTreeDecoder).c1n = function (tag) {
|
|
|
3810
3810
|
}
|
|
3811
3811
|
return tmp$ret$0;
|
|
3812
3812
|
};
|
|
3813
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3814
|
-
return this.
|
|
3813
|
+
protoOf(AbstractJsonTreeDecoder).h1b = function (tag) {
|
|
3814
|
+
return this.e1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3815
3815
|
};
|
|
3816
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3816
|
+
protoOf(AbstractJsonTreeDecoder).f1n = function (tag) {
|
|
3817
3817
|
var tmp$ret$0;
|
|
3818
3818
|
$l$block: {
|
|
3819
3819
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3820
3820
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3821
3821
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3822
|
-
var value = this.
|
|
3822
|
+
var value = this.z1m(tag);
|
|
3823
3823
|
if (!(value instanceof JsonPrimitive)) {
|
|
3824
3824
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'int';
|
|
3825
3825
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3826
|
-
var path = this.
|
|
3826
|
+
var path = this.x1m(tag);
|
|
3827
3827
|
var tmp;
|
|
3828
|
-
if (this.
|
|
3828
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3829
3829
|
var tmp$ret$7 = toString(value);
|
|
3830
3830
|
tmp = toString(minify(tmp$ret$7));
|
|
3831
3831
|
} else {
|
|
@@ -3865,22 +3865,22 @@ protoOf(AbstractJsonTreeDecoder).d1n = function (tag) {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
return tmp$ret$0;
|
|
3867
3867
|
};
|
|
3868
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3869
|
-
return this.
|
|
3868
|
+
protoOf(AbstractJsonTreeDecoder).i1b = function (tag) {
|
|
3869
|
+
return this.f1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3870
3870
|
};
|
|
3871
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3871
|
+
protoOf(AbstractJsonTreeDecoder).g1n = function (tag) {
|
|
3872
3872
|
var tmp$ret$0;
|
|
3873
3873
|
$l$block: {
|
|
3874
3874
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3875
3875
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3876
3876
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3877
|
-
var value = this.
|
|
3877
|
+
var value = this.z1m(tag);
|
|
3878
3878
|
if (!(value instanceof JsonPrimitive)) {
|
|
3879
3879
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'long';
|
|
3880
3880
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3881
|
-
var path = this.
|
|
3881
|
+
var path = this.x1m(tag);
|
|
3882
3882
|
var tmp;
|
|
3883
|
-
if (this.
|
|
3883
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3884
3884
|
var tmp$ret$7 = toString(value);
|
|
3885
3885
|
tmp = toString(minify(tmp$ret$7));
|
|
3886
3886
|
} else {
|
|
@@ -3911,22 +3911,22 @@ protoOf(AbstractJsonTreeDecoder).e1n = function (tag) {
|
|
|
3911
3911
|
}
|
|
3912
3912
|
return tmp$ret$0;
|
|
3913
3913
|
};
|
|
3914
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3915
|
-
return this.
|
|
3914
|
+
protoOf(AbstractJsonTreeDecoder).j1b = function (tag) {
|
|
3915
|
+
return this.g1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3916
3916
|
};
|
|
3917
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3917
|
+
protoOf(AbstractJsonTreeDecoder).h1n = function (tag) {
|
|
3918
3918
|
var tmp$ret$0;
|
|
3919
3919
|
$l$block: {
|
|
3920
3920
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3921
3921
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3922
3922
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3923
|
-
var value = this.
|
|
3923
|
+
var value = this.z1m(tag);
|
|
3924
3924
|
if (!(value instanceof JsonPrimitive)) {
|
|
3925
3925
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'float';
|
|
3926
3926
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3927
|
-
var path = this.
|
|
3927
|
+
var path = this.x1m(tag);
|
|
3928
3928
|
var tmp;
|
|
3929
|
-
if (this.
|
|
3929
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3930
3930
|
var tmp$ret$7 = toString(value);
|
|
3931
3931
|
tmp = toString(minify(tmp$ret$7));
|
|
3932
3932
|
} else {
|
|
@@ -3956,7 +3956,7 @@ protoOf(AbstractJsonTreeDecoder).f1n = function (tag) {
|
|
|
3956
3956
|
}
|
|
3957
3957
|
}
|
|
3958
3958
|
var result = tmp$ret$0;
|
|
3959
|
-
var specialFp = this.
|
|
3959
|
+
var specialFp = this.b1g().t1d_1.s1f_1;
|
|
3960
3960
|
if (specialFp || isFinite(result))
|
|
3961
3961
|
return result;
|
|
3962
3962
|
// Inline function 'kotlinx.serialization.json.internal.InvalidFloatingPointDecoded' call
|
|
@@ -3964,8 +3964,8 @@ protoOf(AbstractJsonTreeDecoder).f1n = function (tag) {
|
|
|
3964
3964
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3965
3965
|
var hint = "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'";
|
|
3966
3966
|
var tmp_1;
|
|
3967
|
-
if (this.
|
|
3968
|
-
var tmp$ret$13 = toString(this.
|
|
3967
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3968
|
+
var tmp$ret$13 = toString(this.y1m());
|
|
3969
3969
|
tmp_1 = toString(minify(tmp$ret$13));
|
|
3970
3970
|
} else {
|
|
3971
3971
|
tmp_1 = null;
|
|
@@ -3973,22 +3973,22 @@ protoOf(AbstractJsonTreeDecoder).f1n = function (tag) {
|
|
|
3973
3973
|
var inputValue_0 = tmp_1;
|
|
3974
3974
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, null, hint, inputValue_0), tmp2_0, -1, null, inputValue_0, hint);
|
|
3975
3975
|
};
|
|
3976
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3977
|
-
return this.
|
|
3976
|
+
protoOf(AbstractJsonTreeDecoder).k1b = function (tag) {
|
|
3977
|
+
return this.h1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3978
3978
|
};
|
|
3979
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3979
|
+
protoOf(AbstractJsonTreeDecoder).i1n = function (tag) {
|
|
3980
3980
|
var tmp$ret$0;
|
|
3981
3981
|
$l$block: {
|
|
3982
3982
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3983
3983
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3984
3984
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3985
|
-
var value = this.
|
|
3985
|
+
var value = this.z1m(tag);
|
|
3986
3986
|
if (!(value instanceof JsonPrimitive)) {
|
|
3987
3987
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'double';
|
|
3988
3988
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
3989
|
-
var path = this.
|
|
3989
|
+
var path = this.x1m(tag);
|
|
3990
3990
|
var tmp;
|
|
3991
|
-
if (this.
|
|
3991
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
3992
3992
|
var tmp$ret$7 = toString(value);
|
|
3993
3993
|
tmp = toString(minify(tmp$ret$7));
|
|
3994
3994
|
} else {
|
|
@@ -4018,7 +4018,7 @@ protoOf(AbstractJsonTreeDecoder).g1n = function (tag) {
|
|
|
4018
4018
|
}
|
|
4019
4019
|
}
|
|
4020
4020
|
var result = tmp$ret$0;
|
|
4021
|
-
var specialFp = this.
|
|
4021
|
+
var specialFp = this.b1g().t1d_1.s1f_1;
|
|
4022
4022
|
if (specialFp || isFinite_0(result))
|
|
4023
4023
|
return result;
|
|
4024
4024
|
// Inline function 'kotlinx.serialization.json.internal.InvalidFloatingPointDecoded' call
|
|
@@ -4026,8 +4026,8 @@ protoOf(AbstractJsonTreeDecoder).g1n = function (tag) {
|
|
|
4026
4026
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4027
4027
|
var hint = "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'";
|
|
4028
4028
|
var tmp_1;
|
|
4029
|
-
if (this.
|
|
4030
|
-
var tmp$ret$13 = toString(this.
|
|
4029
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4030
|
+
var tmp$ret$13 = toString(this.y1m());
|
|
4031
4031
|
tmp_1 = toString(minify(tmp$ret$13));
|
|
4032
4032
|
} else {
|
|
4033
4033
|
tmp_1 = null;
|
|
@@ -4035,22 +4035,22 @@ protoOf(AbstractJsonTreeDecoder).g1n = function (tag) {
|
|
|
4035
4035
|
var inputValue_0 = tmp_1;
|
|
4036
4036
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, null, hint, inputValue_0), tmp2_0, -1, null, inputValue_0, hint);
|
|
4037
4037
|
};
|
|
4038
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4039
|
-
return this.
|
|
4038
|
+
protoOf(AbstractJsonTreeDecoder).l1b = function (tag) {
|
|
4039
|
+
return this.i1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
4040
4040
|
};
|
|
4041
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4041
|
+
protoOf(AbstractJsonTreeDecoder).j1n = function (tag) {
|
|
4042
4042
|
var tmp$ret$0;
|
|
4043
4043
|
$l$block: {
|
|
4044
4044
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
4045
4045
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
4046
4046
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
4047
|
-
var value = this.
|
|
4047
|
+
var value = this.z1m(tag);
|
|
4048
4048
|
if (!(value instanceof JsonPrimitive)) {
|
|
4049
4049
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'char';
|
|
4050
4050
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4051
|
-
var path = this.
|
|
4051
|
+
var path = this.x1m(tag);
|
|
4052
4052
|
var tmp;
|
|
4053
|
-
if (this.
|
|
4053
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4054
4054
|
var tmp$ret$7 = toString(value);
|
|
4055
4055
|
tmp = toString(minify(tmp$ret$7));
|
|
4056
4056
|
} else {
|
|
@@ -4061,7 +4061,7 @@ protoOf(AbstractJsonTreeDecoder).h1n = function (tag) {
|
|
|
4061
4061
|
}
|
|
4062
4062
|
var literal = value;
|
|
4063
4063
|
try {
|
|
4064
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
4064
|
+
var tmp0_elvis_lhs = new Char(single(literal.l1g()));
|
|
4065
4065
|
var tmp_0;
|
|
4066
4066
|
if (tmp0_elvis_lhs == null) {
|
|
4067
4067
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -4081,19 +4081,19 @@ protoOf(AbstractJsonTreeDecoder).h1n = function (tag) {
|
|
|
4081
4081
|
}
|
|
4082
4082
|
return tmp$ret$0;
|
|
4083
4083
|
};
|
|
4084
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4085
|
-
return this.
|
|
4084
|
+
protoOf(AbstractJsonTreeDecoder).m1b = function (tag) {
|
|
4085
|
+
return this.j1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
4086
4086
|
};
|
|
4087
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4087
|
+
protoOf(AbstractJsonTreeDecoder).k1n = function (tag) {
|
|
4088
4088
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
4089
4089
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
4090
|
-
var value = this.
|
|
4090
|
+
var value = this.z1m(tag);
|
|
4091
4091
|
if (!(value instanceof JsonPrimitive)) {
|
|
4092
4092
|
var tmp2 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(value).o() + ' as the serialized body of ' + 'string';
|
|
4093
4093
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4094
|
-
var path = this.
|
|
4094
|
+
var path = this.x1m(tag);
|
|
4095
4095
|
var tmp;
|
|
4096
|
-
if (this.
|
|
4096
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4097
4097
|
var tmp$ret$6 = toString(value);
|
|
4098
4098
|
tmp = toString(minify(tmp$ret$6));
|
|
4099
4099
|
} else {
|
|
@@ -4105,12 +4105,12 @@ protoOf(AbstractJsonTreeDecoder).i1n = function (tag) {
|
|
|
4105
4105
|
var value_0 = value;
|
|
4106
4106
|
if (!(value_0 instanceof JsonLiteral)) {
|
|
4107
4107
|
var tmp2_0 = "Expected string value for a non-null key '" + tag + "', got null literal instead";
|
|
4108
|
-
var tmp4 = this.
|
|
4108
|
+
var tmp4 = this.x1m(tag);
|
|
4109
4109
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4110
4110
|
var hint = "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.";
|
|
4111
4111
|
var tmp_0;
|
|
4112
|
-
if (this.
|
|
4113
|
-
var tmp$ret$10 = toString(this.
|
|
4112
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4113
|
+
var tmp$ret$10 = toString(this.y1m());
|
|
4114
4114
|
tmp_0 = toString(minify(tmp$ret$10));
|
|
4115
4115
|
} else {
|
|
4116
4116
|
tmp_0 = null;
|
|
@@ -4118,14 +4118,14 @@ protoOf(AbstractJsonTreeDecoder).i1n = function (tag) {
|
|
|
4118
4118
|
var inputValue_0 = tmp_0;
|
|
4119
4119
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, tmp4, hint, inputValue_0), tmp2_0, -1, tmp4, inputValue_0, hint);
|
|
4120
4120
|
}
|
|
4121
|
-
if (!value_0.
|
|
4121
|
+
if (!value_0.o1g_1 && !this.b1g().t1d_1.k1f_1) {
|
|
4122
4122
|
var tmp2_1 = "String literal for value of key '" + tag + "' should be quoted";
|
|
4123
|
-
var tmp4_0 = this.
|
|
4123
|
+
var tmp4_0 = this.x1m(tag);
|
|
4124
4124
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4125
4125
|
var hint_0 = "Use 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.";
|
|
4126
4126
|
var tmp_1;
|
|
4127
|
-
if (this.
|
|
4128
|
-
var tmp$ret$14 = toString(this.
|
|
4127
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4128
|
+
var tmp$ret$14 = toString(this.y1m());
|
|
4129
4129
|
tmp_1 = toString(minify(tmp$ret$14));
|
|
4130
4130
|
} else {
|
|
4131
4131
|
tmp_1 = null;
|
|
@@ -4133,26 +4133,26 @@ protoOf(AbstractJsonTreeDecoder).i1n = function (tag) {
|
|
|
4133
4133
|
var inputValue_1 = tmp_1;
|
|
4134
4134
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_1, tmp4_0, hint_0, inputValue_1), tmp2_1, -1, tmp4_0, inputValue_1, hint_0);
|
|
4135
4135
|
}
|
|
4136
|
-
return value_0.
|
|
4136
|
+
return value_0.q1g_1;
|
|
4137
4137
|
};
|
|
4138
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4139
|
-
return this.
|
|
4138
|
+
protoOf(AbstractJsonTreeDecoder).n1b = function (tag) {
|
|
4139
|
+
return this.k1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
4140
4140
|
};
|
|
4141
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4141
|
+
protoOf(AbstractJsonTreeDecoder).l1n = function (tag, inlineDescriptor) {
|
|
4142
4142
|
var tmp;
|
|
4143
4143
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
4144
|
-
var tmp_0 = this.
|
|
4144
|
+
var tmp_0 = this.b1g();
|
|
4145
4145
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
4146
|
-
var tmp2 = this.
|
|
4146
|
+
var tmp2 = this.z1m(tag);
|
|
4147
4147
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
4148
4148
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
4149
4149
|
var serialName = inlineDescriptor.wu();
|
|
4150
4150
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
4151
4151
|
var tmp2_0 = 'Expected ' + getKClass(JsonPrimitive).o() + ', but had ' + getKClassFromExpression(tmp2).o() + ' as the serialized body of ' + serialName;
|
|
4152
4152
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4153
|
-
var path = this.
|
|
4153
|
+
var path = this.x1m(tag);
|
|
4154
4154
|
var tmp_1;
|
|
4155
|
-
if (this.
|
|
4155
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4156
4156
|
var tmp$ret$7 = toString(tmp2);
|
|
4157
4157
|
tmp_1 = toString(minify(tmp$ret$7));
|
|
4158
4158
|
} else {
|
|
@@ -4161,42 +4161,42 @@ protoOf(AbstractJsonTreeDecoder).j1n = function (tag, inlineDescriptor) {
|
|
|
4161
4161
|
var inputValue = tmp_1;
|
|
4162
4162
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, path, null, inputValue), tmp2_0, -1, path, inputValue, null);
|
|
4163
4163
|
}
|
|
4164
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
4165
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
4164
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.l1g());
|
|
4165
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.b1g());
|
|
4166
4166
|
} else {
|
|
4167
|
-
tmp = protoOf(NamedValueDecoder).
|
|
4167
|
+
tmp = protoOf(NamedValueDecoder).p1b.call(this, tag, inlineDescriptor);
|
|
4168
4168
|
}
|
|
4169
4169
|
return tmp;
|
|
4170
4170
|
};
|
|
4171
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4172
|
-
return this.
|
|
4171
|
+
protoOf(AbstractJsonTreeDecoder).p1b = function (tag, inlineDescriptor) {
|
|
4172
|
+
return this.l1n((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
4173
4173
|
};
|
|
4174
4174
|
protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
4175
|
-
return !(this.
|
|
4175
|
+
return !(this.a1b() == null) ? protoOf(NamedValueDecoder).nw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.b1g(), this.p1(), this.v1m_1)).nw(descriptor);
|
|
4176
4176
|
};
|
|
4177
4177
|
function setForceNull($this, descriptor, index) {
|
|
4178
|
-
$this.
|
|
4179
|
-
return $this.
|
|
4178
|
+
$this.v1n_1 = (!$this.b1g().t1d_1.n1f_1 && !descriptor.fv(index) && descriptor.ev(index).pu());
|
|
4179
|
+
return $this.v1n_1;
|
|
4180
4180
|
}
|
|
4181
4181
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
4182
4182
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4183
4183
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
4184
4184
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4185
|
-
this.
|
|
4186
|
-
this.
|
|
4187
|
-
this.
|
|
4188
|
-
this.
|
|
4185
|
+
this.s1n_1 = value;
|
|
4186
|
+
this.t1n_1 = polyDescriptor;
|
|
4187
|
+
this.u1n_1 = 0;
|
|
4188
|
+
this.v1n_1 = false;
|
|
4189
4189
|
}
|
|
4190
4190
|
protoOf(JsonTreeDecoder).p1 = function () {
|
|
4191
|
-
return this.
|
|
4191
|
+
return this.s1n_1;
|
|
4192
4192
|
};
|
|
4193
4193
|
protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
4194
|
-
$l$loop: while (this.
|
|
4195
|
-
var _unary__edvuaz = this.
|
|
4196
|
-
this.
|
|
4197
|
-
var name = this.
|
|
4198
|
-
var index = this.
|
|
4199
|
-
this.
|
|
4194
|
+
$l$loop: while (this.u1n_1 < descriptor.zu()) {
|
|
4195
|
+
var _unary__edvuaz = this.u1n_1;
|
|
4196
|
+
this.u1n_1 = _unary__edvuaz + 1 | 0;
|
|
4197
|
+
var name = this.v1a(descriptor, _unary__edvuaz);
|
|
4198
|
+
var index = this.u1n_1 - 1 | 0;
|
|
4199
|
+
this.v1n_1 = false;
|
|
4200
4200
|
var tmp;
|
|
4201
4201
|
// Inline function 'kotlin.collections.contains' call
|
|
4202
4202
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -4207,9 +4207,9 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4207
4207
|
tmp = setForceNull(this, descriptor, index);
|
|
4208
4208
|
}
|
|
4209
4209
|
if (tmp) {
|
|
4210
|
-
if (!this.
|
|
4210
|
+
if (!this.w1m_1.p1f_1)
|
|
4211
4211
|
return index;
|
|
4212
|
-
var tmp0 = this.
|
|
4212
|
+
var tmp0 = this.b1g();
|
|
4213
4213
|
var tmp$ret$2;
|
|
4214
4214
|
$l$block_2: {
|
|
4215
4215
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -4217,7 +4217,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4217
4217
|
var elementDescriptor = descriptor.ev(index);
|
|
4218
4218
|
var tmp_0;
|
|
4219
4219
|
if (isOptional && !elementDescriptor.pu()) {
|
|
4220
|
-
var tmp_1 = this.
|
|
4220
|
+
var tmp_1 = this.w1n(name);
|
|
4221
4221
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
4222
4222
|
} else {
|
|
4223
4223
|
tmp_0 = false;
|
|
@@ -4229,7 +4229,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4229
4229
|
if (equals(elementDescriptor.xu(), ENUM_getInstance())) {
|
|
4230
4230
|
var tmp_2;
|
|
4231
4231
|
if (elementDescriptor.pu()) {
|
|
4232
|
-
var tmp_3 = this.
|
|
4232
|
+
var tmp_3 = this.w1n(name);
|
|
4233
4233
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
4234
4234
|
} else {
|
|
4235
4235
|
tmp_2 = false;
|
|
@@ -4238,7 +4238,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4238
4238
|
tmp$ret$2 = false;
|
|
4239
4239
|
break $l$block_2;
|
|
4240
4240
|
}
|
|
4241
|
-
var tmp_4 = this.
|
|
4241
|
+
var tmp_4 = this.w1n(name);
|
|
4242
4242
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
4243
4243
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
4244
4244
|
var tmp_5;
|
|
@@ -4250,7 +4250,7 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4250
4250
|
}
|
|
4251
4251
|
var enumValue = tmp_5;
|
|
4252
4252
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
4253
|
-
var coerceToNull = !tmp0.
|
|
4253
|
+
var coerceToNull = !tmp0.t1d_1.n1f_1 && elementDescriptor.pu();
|
|
4254
4254
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
4255
4255
|
if (setForceNull(this, descriptor, index))
|
|
4256
4256
|
return index;
|
|
@@ -4268,18 +4268,18 @@ protoOf(JsonTreeDecoder).hx = function (descriptor) {
|
|
|
4268
4268
|
return -1;
|
|
4269
4269
|
};
|
|
4270
4270
|
protoOf(JsonTreeDecoder).bw = function () {
|
|
4271
|
-
return !this.
|
|
4271
|
+
return !this.v1n_1 && protoOf(AbstractJsonTreeDecoder).bw.call(this);
|
|
4272
4272
|
};
|
|
4273
|
-
protoOf(JsonTreeDecoder).
|
|
4274
|
-
var strategy = namingStrategy(descriptor, this.
|
|
4273
|
+
protoOf(JsonTreeDecoder).w1a = function (descriptor, index) {
|
|
4274
|
+
var strategy = namingStrategy(descriptor, this.b1g());
|
|
4275
4275
|
var baseName = descriptor.bv(index);
|
|
4276
4276
|
if (strategy == null) {
|
|
4277
|
-
if (!this.
|
|
4277
|
+
if (!this.w1m_1.t1f_1)
|
|
4278
4278
|
return baseName;
|
|
4279
4279
|
if (this.p1().y2().d1(baseName))
|
|
4280
4280
|
return baseName;
|
|
4281
4281
|
}
|
|
4282
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
4282
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.b1g(), descriptor);
|
|
4283
4283
|
// Inline function 'kotlin.collections.find' call
|
|
4284
4284
|
var tmp0 = this.p1().y2();
|
|
4285
4285
|
var tmp$ret$1;
|
|
@@ -4302,28 +4302,28 @@ protoOf(JsonTreeDecoder).u1a = function (descriptor, index) {
|
|
|
4302
4302
|
// Inline function 'kotlin.let' call
|
|
4303
4303
|
return tmp0_safe_receiver;
|
|
4304
4304
|
}
|
|
4305
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
4305
|
+
var fallbackName = strategy == null ? null : strategy.m1j(descriptor, index, baseName);
|
|
4306
4306
|
return fallbackName == null ? baseName : fallbackName;
|
|
4307
4307
|
};
|
|
4308
|
-
protoOf(JsonTreeDecoder).
|
|
4308
|
+
protoOf(JsonTreeDecoder).z1m = function (tag) {
|
|
4309
4309
|
return getValue(this.p1(), tag);
|
|
4310
4310
|
};
|
|
4311
|
-
protoOf(JsonTreeDecoder).
|
|
4311
|
+
protoOf(JsonTreeDecoder).w1n = function (tag) {
|
|
4312
4312
|
return this.p1().ae(tag);
|
|
4313
4313
|
};
|
|
4314
4314
|
protoOf(JsonTreeDecoder).qw = function (descriptor) {
|
|
4315
|
-
if (descriptor === this.
|
|
4316
|
-
var tmp = this.
|
|
4317
|
-
var tmp2 = this.
|
|
4315
|
+
if (descriptor === this.t1n_1) {
|
|
4316
|
+
var tmp = this.b1g();
|
|
4317
|
+
var tmp2 = this.y1m();
|
|
4318
4318
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
4319
4319
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
4320
|
-
var serialName = this.
|
|
4320
|
+
var serialName = this.t1n_1.wu();
|
|
4321
4321
|
if (!(tmp2 instanceof JsonObject)) {
|
|
4322
4322
|
var tmp2_0 = 'Expected ' + getKClass(JsonObject).o() + ', but had ' + getKClassFromExpression(tmp2).o() + ' as the serialized body of ' + serialName;
|
|
4323
4323
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4324
|
-
var path = this.
|
|
4324
|
+
var path = this.c1b();
|
|
4325
4325
|
var tmp_0;
|
|
4326
|
-
if (this.
|
|
4326
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4327
4327
|
var tmp$ret$6 = toString(tmp2);
|
|
4328
4328
|
tmp_0 = toString(minify(tmp$ret$6));
|
|
4329
4329
|
} else {
|
|
@@ -4332,13 +4332,13 @@ protoOf(JsonTreeDecoder).qw = function (descriptor) {
|
|
|
4332
4332
|
var inputValue = tmp_0;
|
|
4333
4333
|
throw new JsonDecodingException(access$formatDecodingException$tJsonExceptionsKt(-1, tmp2_0, path, null, inputValue), tmp2_0, -1, path, inputValue, null);
|
|
4334
4334
|
}
|
|
4335
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
4335
|
+
return new JsonTreeDecoder(tmp, tmp2, this.v1m_1, this.t1n_1);
|
|
4336
4336
|
}
|
|
4337
4337
|
return protoOf(AbstractJsonTreeDecoder).qw.call(this, descriptor);
|
|
4338
4338
|
};
|
|
4339
4339
|
protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
4340
4340
|
var tmp;
|
|
4341
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
4341
|
+
if (ignoreUnknownKeys(descriptor, this.b1g())) {
|
|
4342
4342
|
tmp = true;
|
|
4343
4343
|
} else {
|
|
4344
4344
|
var tmp_0 = descriptor.xu();
|
|
@@ -4346,15 +4346,15 @@ protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
|
4346
4346
|
}
|
|
4347
4347
|
if (tmp)
|
|
4348
4348
|
return Unit_instance;
|
|
4349
|
-
var strategy = namingStrategy(descriptor, this.
|
|
4349
|
+
var strategy = namingStrategy(descriptor, this.b1g());
|
|
4350
4350
|
var tmp_1;
|
|
4351
|
-
if (strategy == null && !this.
|
|
4351
|
+
if (strategy == null && !this.w1m_1.t1f_1) {
|
|
4352
4352
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
4353
4353
|
} else if (!(strategy == null)) {
|
|
4354
|
-
tmp_1 = deserializationNamesMap(this.
|
|
4354
|
+
tmp_1 = deserializationNamesMap(this.b1g(), descriptor).y2();
|
|
4355
4355
|
} else {
|
|
4356
4356
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
4357
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
4357
|
+
var tmp0_safe_receiver = get_schemaCache(this.b1g()).x1l(descriptor, get_JsonDeserializationNamesKey());
|
|
4358
4358
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
4359
4359
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y2();
|
|
4360
4360
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -4364,13 +4364,13 @@ protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
|
4364
4364
|
var _iterator__ex2g4s = this.p1().y2().t();
|
|
4365
4365
|
while (_iterator__ex2g4s.u()) {
|
|
4366
4366
|
var key = _iterator__ex2g4s.v();
|
|
4367
|
-
if (!names.d1(key) && !(key === this.
|
|
4367
|
+
if (!names.d1(key) && !(key === this.v1m_1)) {
|
|
4368
4368
|
var tmp2 = "Encountered an unknown key '" + key + "'";
|
|
4369
|
-
var tmp4 = this.
|
|
4369
|
+
var tmp4 = this.c1b();
|
|
4370
4370
|
// Inline function 'kotlinx.serialization.json.internal.decodingExceptionOf' call
|
|
4371
4371
|
var hint = "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.";
|
|
4372
4372
|
var tmp_3;
|
|
4373
|
-
if (this.
|
|
4373
|
+
if (this.b1g().t1d_1.z1f_1) {
|
|
4374
4374
|
var tmp$ret$4 = this.p1().toString();
|
|
4375
4375
|
tmp_3 = toString(minify(tmp$ret$4));
|
|
4376
4376
|
} else {
|
|
@@ -4383,69 +4383,69 @@ protoOf(JsonTreeDecoder).rw = function (descriptor) {
|
|
|
4383
4383
|
};
|
|
4384
4384
|
function JsonTreeListDecoder(json, value) {
|
|
4385
4385
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
4386
|
-
this.
|
|
4387
|
-
this.
|
|
4388
|
-
this.
|
|
4386
|
+
this.d1o_1 = value;
|
|
4387
|
+
this.e1o_1 = this.d1o_1.e1();
|
|
4388
|
+
this.f1o_1 = -1;
|
|
4389
4389
|
}
|
|
4390
4390
|
protoOf(JsonTreeListDecoder).p1 = function () {
|
|
4391
|
-
return this.
|
|
4391
|
+
return this.d1o_1;
|
|
4392
4392
|
};
|
|
4393
|
-
protoOf(JsonTreeListDecoder).
|
|
4393
|
+
protoOf(JsonTreeListDecoder).w1a = function (descriptor, index) {
|
|
4394
4394
|
return index.toString();
|
|
4395
4395
|
};
|
|
4396
|
-
protoOf(JsonTreeListDecoder).
|
|
4397
|
-
return this.
|
|
4396
|
+
protoOf(JsonTreeListDecoder).z1m = function (tag) {
|
|
4397
|
+
return this.d1o_1.f1(toInt(tag));
|
|
4398
4398
|
};
|
|
4399
4399
|
protoOf(JsonTreeListDecoder).hx = function (descriptor) {
|
|
4400
|
-
while (this.
|
|
4401
|
-
this.
|
|
4402
|
-
return this.
|
|
4400
|
+
while (this.f1o_1 < (this.e1o_1 - 1 | 0)) {
|
|
4401
|
+
this.f1o_1 = this.f1o_1 + 1 | 0;
|
|
4402
|
+
return this.f1o_1;
|
|
4403
4403
|
}
|
|
4404
4404
|
return -1;
|
|
4405
4405
|
};
|
|
4406
4406
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4407
4407
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4408
4408
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4409
|
-
this.
|
|
4410
|
-
this.
|
|
4409
|
+
this.m1o_1 = value;
|
|
4410
|
+
this.q1b('primitive');
|
|
4411
4411
|
}
|
|
4412
4412
|
protoOf(JsonPrimitiveDecoder).p1 = function () {
|
|
4413
|
-
return this.
|
|
4413
|
+
return this.m1o_1;
|
|
4414
4414
|
};
|
|
4415
4415
|
protoOf(JsonPrimitiveDecoder).hx = function (descriptor) {
|
|
4416
4416
|
return 0;
|
|
4417
4417
|
};
|
|
4418
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4418
|
+
protoOf(JsonPrimitiveDecoder).z1m = function (tag) {
|
|
4419
4419
|
// Inline function 'kotlin.require' call
|
|
4420
4420
|
if (!(tag === 'primitive')) {
|
|
4421
4421
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4422
4422
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4423
4423
|
}
|
|
4424
|
-
return this.
|
|
4424
|
+
return this.m1o_1;
|
|
4425
4425
|
};
|
|
4426
4426
|
function JsonTreeMapDecoder(json, value) {
|
|
4427
4427
|
JsonTreeDecoder.call(this, json, value);
|
|
4428
|
-
this.
|
|
4429
|
-
this.
|
|
4430
|
-
this.
|
|
4431
|
-
this.
|
|
4428
|
+
this.x1o_1 = value;
|
|
4429
|
+
this.y1o_1 = toList(this.x1o_1.y2());
|
|
4430
|
+
this.z1o_1 = imul(this.y1o_1.e1(), 2);
|
|
4431
|
+
this.a1p_1 = -1;
|
|
4432
4432
|
}
|
|
4433
4433
|
protoOf(JsonTreeMapDecoder).p1 = function () {
|
|
4434
|
-
return this.
|
|
4434
|
+
return this.x1o_1;
|
|
4435
4435
|
};
|
|
4436
|
-
protoOf(JsonTreeMapDecoder).
|
|
4436
|
+
protoOf(JsonTreeMapDecoder).w1a = function (descriptor, index) {
|
|
4437
4437
|
var i = index / 2 | 0;
|
|
4438
|
-
return this.
|
|
4438
|
+
return this.y1o_1.f1(i);
|
|
4439
4439
|
};
|
|
4440
4440
|
protoOf(JsonTreeMapDecoder).hx = function (descriptor) {
|
|
4441
|
-
while (this.
|
|
4442
|
-
this.
|
|
4443
|
-
return this.
|
|
4441
|
+
while (this.a1p_1 < (this.z1o_1 - 1 | 0)) {
|
|
4442
|
+
this.a1p_1 = this.a1p_1 + 1 | 0;
|
|
4443
|
+
return this.a1p_1;
|
|
4444
4444
|
}
|
|
4445
4445
|
return -1;
|
|
4446
4446
|
};
|
|
4447
|
-
protoOf(JsonTreeMapDecoder).
|
|
4448
|
-
return (this.
|
|
4447
|
+
protoOf(JsonTreeMapDecoder).z1m = function (tag) {
|
|
4448
|
+
return (this.a1p_1 % 2 | 0) === 0 ? JsonPrimitive_1(tag) : getValue(this.x1o_1, tag);
|
|
4449
4449
|
};
|
|
4450
4450
|
protoOf(JsonTreeMapDecoder).rw = function (descriptor) {
|
|
4451
4451
|
};
|
|
@@ -4474,8 +4474,8 @@ function WriteMode_initEntries() {
|
|
|
4474
4474
|
var $ENTRIES;
|
|
4475
4475
|
function WriteMode(name, ordinal, begin, end) {
|
|
4476
4476
|
Enum.call(this, name, ordinal);
|
|
4477
|
-
this.
|
|
4478
|
-
this.
|
|
4477
|
+
this.k1m_1 = begin;
|
|
4478
|
+
this.l1m_1 = end;
|
|
4479
4479
|
}
|
|
4480
4480
|
function switchMode(_this__u8e3s4, desc) {
|
|
4481
4481
|
var tmp0_subject = desc.xu();
|
|
@@ -4500,7 +4500,7 @@ function switchMode(_this__u8e3s4, desc) {
|
|
|
4500
4500
|
if (tmp_1) {
|
|
4501
4501
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4502
4502
|
} else {
|
|
4503
|
-
if (_this__u8e3s4.
|
|
4503
|
+
if (_this__u8e3s4.t1d_1.l1f_1) {
|
|
4504
4504
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4505
4505
|
} else {
|
|
4506
4506
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4544,56 +4544,56 @@ function WriteMode_POLY_OBJ_getInstance() {
|
|
|
4544
4544
|
return WriteMode_POLY_OBJ_instance;
|
|
4545
4545
|
}
|
|
4546
4546
|
function appendEscape($this, lastPosition, current) {
|
|
4547
|
-
$this.
|
|
4547
|
+
$this.b1p(lastPosition, current);
|
|
4548
4548
|
return appendEsc($this, current + 1 | 0);
|
|
4549
4549
|
}
|
|
4550
4550
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4551
|
-
$this.
|
|
4552
|
-
var result = $this.
|
|
4553
|
-
$this.
|
|
4551
|
+
$this.b1p(lastPosition, currentPosition);
|
|
4552
|
+
var result = $this.n1e_1.toString();
|
|
4553
|
+
$this.n1e_1.vc(0);
|
|
4554
4554
|
return result;
|
|
4555
4555
|
}
|
|
4556
4556
|
function takePeeked($this) {
|
|
4557
4557
|
// Inline function 'kotlin.also' call
|
|
4558
|
-
var this_0 = ensureNotNull($this.
|
|
4559
|
-
$this.
|
|
4558
|
+
var this_0 = ensureNotNull($this.m1e_1);
|
|
4559
|
+
$this.m1e_1 = null;
|
|
4560
4560
|
return this_0;
|
|
4561
4561
|
}
|
|
4562
4562
|
function wasUnquotedString($this) {
|
|
4563
|
-
return !(charSequenceGet($this.
|
|
4563
|
+
return !(charSequenceGet($this.c1p(), $this.k1e_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4564
4564
|
}
|
|
4565
4565
|
function appendEsc($this, startPosition) {
|
|
4566
4566
|
var currentPosition = startPosition;
|
|
4567
|
-
currentPosition = $this.
|
|
4567
|
+
currentPosition = $this.d1p(currentPosition);
|
|
4568
4568
|
if (currentPosition === -1) {
|
|
4569
|
-
$this.
|
|
4569
|
+
$this.i1j('Expected escape sequence to continue, got EOF');
|
|
4570
4570
|
}
|
|
4571
|
-
var tmp = $this.
|
|
4571
|
+
var tmp = $this.c1p();
|
|
4572
4572
|
var _unary__edvuaz = currentPosition;
|
|
4573
4573
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4574
4574
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4575
4575
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4576
|
-
return appendHex($this, $this.
|
|
4576
|
+
return appendHex($this, $this.c1p(), currentPosition);
|
|
4577
4577
|
}
|
|
4578
4578
|
// Inline function 'kotlin.code' call
|
|
4579
4579
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4580
4580
|
var c = escapeToChar(tmp$ret$0);
|
|
4581
4581
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4582
|
-
$this.
|
|
4582
|
+
$this.i1j("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4583
4583
|
}
|
|
4584
|
-
$this.
|
|
4584
|
+
$this.n1e_1.s(c);
|
|
4585
4585
|
return currentPosition;
|
|
4586
4586
|
}
|
|
4587
4587
|
function appendHex($this, source, startPos) {
|
|
4588
4588
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4589
|
-
$this.
|
|
4590
|
-
$this.
|
|
4591
|
-
if (($this.
|
|
4592
|
-
$this.
|
|
4589
|
+
$this.k1e_1 = startPos;
|
|
4590
|
+
$this.e1p();
|
|
4591
|
+
if (($this.k1e_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4592
|
+
$this.i1j('Unexpected EOF during unicode escape');
|
|
4593
4593
|
}
|
|
4594
|
-
return appendHex($this, source, $this.
|
|
4594
|
+
return appendHex($this, source, $this.k1e_1);
|
|
4595
4595
|
}
|
|
4596
|
-
$this.
|
|
4596
|
+
$this.n1e_1.s(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));
|
|
4597
4597
|
return startPos + 4 | 0;
|
|
4598
4598
|
}
|
|
4599
4599
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4618,16 +4618,16 @@ function fromHexChar($this, source, currentPosition) {
|
|
|
4618
4618
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4619
4619
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4620
4620
|
} else {
|
|
4621
|
-
$this.
|
|
4621
|
+
$this.i1j("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4622
4622
|
}
|
|
4623
4623
|
return tmp;
|
|
4624
4624
|
}
|
|
4625
4625
|
function consumeBoolean2($this, start) {
|
|
4626
|
-
var current = $this.
|
|
4627
|
-
if (current >= charSequenceLength($this.
|
|
4628
|
-
$this.
|
|
4626
|
+
var current = $this.d1p(start);
|
|
4627
|
+
if (current >= charSequenceLength($this.c1p()) || current === -1) {
|
|
4628
|
+
$this.i1j('EOF');
|
|
4629
4629
|
}
|
|
4630
|
-
var tmp = $this.
|
|
4630
|
+
var tmp = $this.c1p();
|
|
4631
4631
|
var _unary__edvuaz = current;
|
|
4632
4632
|
current = _unary__edvuaz + 1 | 0;
|
|
4633
4633
|
// Inline function 'kotlin.code' call
|
|
@@ -4646,14 +4646,14 @@ function consumeBoolean2($this, start) {
|
|
|
4646
4646
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4647
4647
|
tmp_0 = false;
|
|
4648
4648
|
} else {
|
|
4649
|
-
$this.
|
|
4649
|
+
$this.i1j("Expected valid boolean literal prefix, but had '" + $this.q1k() + "'");
|
|
4650
4650
|
}
|
|
4651
4651
|
}
|
|
4652
4652
|
return tmp_0;
|
|
4653
4653
|
}
|
|
4654
4654
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4655
|
-
if ((charSequenceLength($this.
|
|
4656
|
-
$this.
|
|
4655
|
+
if ((charSequenceLength($this.c1p()) - current | 0) < literalSuffix.length) {
|
|
4656
|
+
$this.i1j('Unexpected end of boolean literal');
|
|
4657
4657
|
}
|
|
4658
4658
|
var inductionVariable = 0;
|
|
4659
4659
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4662,16 +4662,16 @@ function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
|
4662
4662
|
var i = inductionVariable;
|
|
4663
4663
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4664
4664
|
var expected = charCodeAt(literalSuffix, i);
|
|
4665
|
-
var actual = charSequenceGet($this.
|
|
4665
|
+
var actual = charSequenceGet($this.c1p(), current + i | 0);
|
|
4666
4666
|
// Inline function 'kotlin.code' call
|
|
4667
4667
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4668
4668
|
// Inline function 'kotlin.code' call
|
|
4669
4669
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4670
|
-
$this.
|
|
4670
|
+
$this.i1j("Expected valid boolean literal prefix, but had '" + $this.q1k() + "'");
|
|
4671
4671
|
}
|
|
4672
4672
|
}
|
|
4673
4673
|
while (inductionVariable <= last);
|
|
4674
|
-
$this.
|
|
4674
|
+
$this.k1e_1 = current + literalSuffix.length | 0;
|
|
4675
4675
|
}
|
|
4676
4676
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4677
4677
|
var tmp;
|
|
@@ -4695,78 +4695,78 @@ function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponent
|
|
|
4695
4695
|
return tmp;
|
|
4696
4696
|
}
|
|
4697
4697
|
function AbstractJsonLexer(configuration) {
|
|
4698
|
-
this.
|
|
4699
|
-
this.
|
|
4700
|
-
this.
|
|
4701
|
-
this.
|
|
4702
|
-
this.
|
|
4698
|
+
this.j1e_1 = configuration;
|
|
4699
|
+
this.k1e_1 = 0;
|
|
4700
|
+
this.l1e_1 = new JsonPath(this.j1e_1);
|
|
4701
|
+
this.m1e_1 = null;
|
|
4702
|
+
this.n1e_1 = StringBuilder_init_$Create$();
|
|
4703
4703
|
}
|
|
4704
|
-
protoOf(AbstractJsonLexer).
|
|
4704
|
+
protoOf(AbstractJsonLexer).e1p = function () {
|
|
4705
4705
|
};
|
|
4706
|
-
protoOf(AbstractJsonLexer).
|
|
4707
|
-
var current = this.
|
|
4708
|
-
var source = this.
|
|
4706
|
+
protoOf(AbstractJsonLexer).a1m = function () {
|
|
4707
|
+
var current = this.f1p();
|
|
4708
|
+
var source = this.c1p();
|
|
4709
4709
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4710
4710
|
return false;
|
|
4711
4711
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4712
|
-
this.
|
|
4712
|
+
this.k1e_1 = this.k1e_1 + 1 | 0;
|
|
4713
4713
|
return true;
|
|
4714
4714
|
}
|
|
4715
4715
|
return false;
|
|
4716
4716
|
};
|
|
4717
|
-
protoOf(AbstractJsonLexer).
|
|
4717
|
+
protoOf(AbstractJsonLexer).g1p = function (c) {
|
|
4718
4718
|
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;
|
|
4719
4719
|
};
|
|
4720
|
-
protoOf(AbstractJsonLexer).
|
|
4721
|
-
var nextToken = this.
|
|
4720
|
+
protoOf(AbstractJsonLexer).o1e = function () {
|
|
4721
|
+
var nextToken = this.s1k();
|
|
4722
4722
|
if (!(nextToken === 10)) {
|
|
4723
|
-
this.
|
|
4723
|
+
this.i1j('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.c1p(), this.k1e_1 - 1 | 0)) + ' instead');
|
|
4724
4724
|
}
|
|
4725
4725
|
};
|
|
4726
|
-
protoOf(AbstractJsonLexer).
|
|
4727
|
-
var token = this.
|
|
4726
|
+
protoOf(AbstractJsonLexer).m1k = function (expected) {
|
|
4727
|
+
var token = this.s1k();
|
|
4728
4728
|
if (!(token === expected)) {
|
|
4729
4729
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4730
4730
|
var expected_0 = tokenDescription(expected);
|
|
4731
|
-
var position = true && this.
|
|
4732
|
-
var s = this.
|
|
4731
|
+
var position = true && this.k1e_1 > 0 ? this.k1e_1 - 1 | 0 : this.k1e_1;
|
|
4732
|
+
var s = this.k1e_1 === charSequenceLength(this.c1p()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.c1p(), position));
|
|
4733
4733
|
var tmp$ret$1 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4734
|
-
this.
|
|
4734
|
+
this.i1j(tmp$ret$1, position);
|
|
4735
4735
|
}
|
|
4736
4736
|
return token;
|
|
4737
4737
|
};
|
|
4738
|
-
protoOf(AbstractJsonLexer).
|
|
4739
|
-
if (this.
|
|
4738
|
+
protoOf(AbstractJsonLexer).h1p = function (expected) {
|
|
4739
|
+
if (this.k1e_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4740
4740
|
var tmp$ret$0;
|
|
4741
4741
|
$l$block: {
|
|
4742
4742
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4743
|
-
var snapshot = this.
|
|
4743
|
+
var snapshot = this.k1e_1;
|
|
4744
4744
|
try {
|
|
4745
|
-
this.
|
|
4746
|
-
tmp$ret$0 = this.
|
|
4745
|
+
this.k1e_1 = this.k1e_1 - 1 | 0;
|
|
4746
|
+
tmp$ret$0 = this.q1k();
|
|
4747
4747
|
break $l$block;
|
|
4748
4748
|
}finally {
|
|
4749
|
-
this.
|
|
4749
|
+
this.k1e_1 = snapshot;
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
4752
|
var inputLiteral = tmp$ret$0;
|
|
4753
4753
|
if (inputLiteral === 'null') {
|
|
4754
|
-
this.
|
|
4754
|
+
this.h1j("Expected string literal but 'null' literal was found", this.k1e_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4755
4755
|
}
|
|
4756
4756
|
}
|
|
4757
4757
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4758
4758
|
var expectedToken = charToTokenClass(expected);
|
|
4759
4759
|
var expected_0 = tokenDescription(expectedToken);
|
|
4760
|
-
var position = true && this.
|
|
4761
|
-
var s = this.
|
|
4760
|
+
var position = true && this.k1e_1 > 0 ? this.k1e_1 - 1 | 0 : this.k1e_1;
|
|
4761
|
+
var s = this.k1e_1 === charSequenceLength(this.c1p()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.c1p(), position));
|
|
4762
4762
|
var tmp$ret$3 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4763
|
-
this.
|
|
4763
|
+
this.i1j(tmp$ret$3, position);
|
|
4764
4764
|
};
|
|
4765
|
-
protoOf(AbstractJsonLexer).
|
|
4766
|
-
var source = this.
|
|
4767
|
-
var cpos = this.
|
|
4765
|
+
protoOf(AbstractJsonLexer).n1k = function () {
|
|
4766
|
+
var source = this.c1p();
|
|
4767
|
+
var cpos = this.k1e_1;
|
|
4768
4768
|
$l$loop_0: while (true) {
|
|
4769
|
-
cpos = this.
|
|
4769
|
+
cpos = this.d1p(cpos);
|
|
4770
4770
|
if (cpos === -1)
|
|
4771
4771
|
break $l$loop_0;
|
|
4772
4772
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4774,16 +4774,16 @@ protoOf(AbstractJsonLexer).l1k = function () {
|
|
|
4774
4774
|
cpos = cpos + 1 | 0;
|
|
4775
4775
|
continue $l$loop_0;
|
|
4776
4776
|
}
|
|
4777
|
-
this.
|
|
4777
|
+
this.k1e_1 = cpos;
|
|
4778
4778
|
return charToTokenClass(ch);
|
|
4779
4779
|
}
|
|
4780
|
-
this.
|
|
4780
|
+
this.k1e_1 = cpos;
|
|
4781
4781
|
return 10;
|
|
4782
4782
|
};
|
|
4783
|
-
protoOf(AbstractJsonLexer).
|
|
4784
|
-
var current = this.
|
|
4785
|
-
current = this.
|
|
4786
|
-
var len = charSequenceLength(this.
|
|
4783
|
+
protoOf(AbstractJsonLexer).b1m = function (doConsume) {
|
|
4784
|
+
var current = this.f1p();
|
|
4785
|
+
current = this.d1p(current);
|
|
4786
|
+
var len = charSequenceLength(this.c1p()) - current | 0;
|
|
4787
4787
|
if (len < 4 || current === -1)
|
|
4788
4788
|
return false;
|
|
4789
4789
|
var inductionVariable = 0;
|
|
@@ -4791,50 +4791,50 @@ protoOf(AbstractJsonLexer).z1l = function (doConsume) {
|
|
|
4791
4791
|
do {
|
|
4792
4792
|
var i = inductionVariable;
|
|
4793
4793
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4794
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4794
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.c1p(), current + i | 0)))
|
|
4795
4795
|
return false;
|
|
4796
4796
|
}
|
|
4797
4797
|
while (inductionVariable <= 3);
|
|
4798
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4798
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.c1p(), current + 4 | 0)) === 0)
|
|
4799
4799
|
return false;
|
|
4800
4800
|
if (doConsume) {
|
|
4801
|
-
this.
|
|
4801
|
+
this.k1e_1 = current + 4 | 0;
|
|
4802
4802
|
}
|
|
4803
4803
|
return true;
|
|
4804
4804
|
};
|
|
4805
|
-
protoOf(AbstractJsonLexer).
|
|
4805
|
+
protoOf(AbstractJsonLexer).m1m = function (doConsume, $super) {
|
|
4806
4806
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4807
|
-
return $super === VOID ? this.
|
|
4807
|
+
return $super === VOID ? this.b1m(doConsume) : $super.b1m.call(this, doConsume);
|
|
4808
4808
|
};
|
|
4809
|
-
protoOf(AbstractJsonLexer).
|
|
4810
|
-
var token = this.
|
|
4809
|
+
protoOf(AbstractJsonLexer).c1m = function (isLenient) {
|
|
4810
|
+
var token = this.n1k();
|
|
4811
4811
|
var tmp;
|
|
4812
4812
|
if (isLenient) {
|
|
4813
4813
|
if (!(token === 1) && !(token === 0))
|
|
4814
4814
|
return null;
|
|
4815
|
-
tmp = this.
|
|
4815
|
+
tmp = this.q1k();
|
|
4816
4816
|
} else {
|
|
4817
4817
|
if (!(token === 1))
|
|
4818
4818
|
return null;
|
|
4819
|
-
tmp = this.
|
|
4819
|
+
tmp = this.p1k();
|
|
4820
4820
|
}
|
|
4821
4821
|
var string = tmp;
|
|
4822
|
-
this.
|
|
4822
|
+
this.m1e_1 = string;
|
|
4823
4823
|
return string;
|
|
4824
4824
|
};
|
|
4825
|
-
protoOf(AbstractJsonLexer).
|
|
4826
|
-
this.
|
|
4825
|
+
protoOf(AbstractJsonLexer).i1p = function () {
|
|
4826
|
+
this.m1e_1 = null;
|
|
4827
4827
|
};
|
|
4828
|
-
protoOf(AbstractJsonLexer).
|
|
4828
|
+
protoOf(AbstractJsonLexer).j1p = function (startPos, endPos) {
|
|
4829
4829
|
// Inline function 'kotlin.text.substring' call
|
|
4830
|
-
var this_0 = this.
|
|
4830
|
+
var this_0 = this.c1p();
|
|
4831
4831
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4832
4832
|
};
|
|
4833
|
-
protoOf(AbstractJsonLexer).
|
|
4834
|
-
if (!(this.
|
|
4833
|
+
protoOf(AbstractJsonLexer).p1k = function () {
|
|
4834
|
+
if (!(this.m1e_1 == null)) {
|
|
4835
4835
|
return takePeeked(this);
|
|
4836
4836
|
}
|
|
4837
|
-
return this.
|
|
4837
|
+
return this.f1m();
|
|
4838
4838
|
};
|
|
4839
4839
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4840
4840
|
var currentPosition = current;
|
|
@@ -4844,19 +4844,19 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4844
4844
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4845
4845
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4846
4846
|
usedAppend = true;
|
|
4847
|
-
currentPosition = this.
|
|
4847
|
+
currentPosition = this.d1p(appendEscape(this, lastPosition, currentPosition));
|
|
4848
4848
|
if (currentPosition === -1) {
|
|
4849
|
-
this.
|
|
4849
|
+
this.i1j('Unexpected EOF', currentPosition);
|
|
4850
4850
|
}
|
|
4851
4851
|
lastPosition = currentPosition;
|
|
4852
4852
|
} else {
|
|
4853
4853
|
currentPosition = currentPosition + 1 | 0;
|
|
4854
4854
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4855
4855
|
usedAppend = true;
|
|
4856
|
-
this.
|
|
4857
|
-
currentPosition = this.
|
|
4856
|
+
this.b1p(lastPosition, currentPosition);
|
|
4857
|
+
currentPosition = this.d1p(currentPosition);
|
|
4858
4858
|
if (currentPosition === -1) {
|
|
4859
|
-
this.
|
|
4859
|
+
this.i1j('Unexpected EOF', currentPosition);
|
|
4860
4860
|
}
|
|
4861
4861
|
lastPosition = currentPosition;
|
|
4862
4862
|
}
|
|
@@ -4865,45 +4865,45 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4865
4865
|
}
|
|
4866
4866
|
var tmp;
|
|
4867
4867
|
if (!usedAppend) {
|
|
4868
|
-
tmp = this.
|
|
4868
|
+
tmp = this.j1p(lastPosition, currentPosition);
|
|
4869
4869
|
} else {
|
|
4870
4870
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4871
4871
|
}
|
|
4872
4872
|
var string = tmp;
|
|
4873
|
-
this.
|
|
4873
|
+
this.k1e_1 = currentPosition + 1 | 0;
|
|
4874
4874
|
return string;
|
|
4875
4875
|
};
|
|
4876
|
-
protoOf(AbstractJsonLexer).
|
|
4877
|
-
var result = this.
|
|
4876
|
+
protoOf(AbstractJsonLexer).g1m = function () {
|
|
4877
|
+
var result = this.q1k();
|
|
4878
4878
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4879
|
-
this.
|
|
4879
|
+
this.i1j("Unexpected 'null' value instead of string literal");
|
|
4880
4880
|
}
|
|
4881
4881
|
return result;
|
|
4882
4882
|
};
|
|
4883
|
-
protoOf(AbstractJsonLexer).
|
|
4884
|
-
if (!(this.
|
|
4883
|
+
protoOf(AbstractJsonLexer).q1k = function () {
|
|
4884
|
+
if (!(this.m1e_1 == null)) {
|
|
4885
4885
|
return takePeeked(this);
|
|
4886
4886
|
}
|
|
4887
|
-
var current = this.
|
|
4888
|
-
if (current >= charSequenceLength(this.
|
|
4889
|
-
this.
|
|
4887
|
+
var current = this.f1p();
|
|
4888
|
+
if (current >= charSequenceLength(this.c1p()) || current === -1) {
|
|
4889
|
+
this.i1j('EOF', current);
|
|
4890
4890
|
}
|
|
4891
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4891
|
+
var token = charToTokenClass(charSequenceGet(this.c1p(), current));
|
|
4892
4892
|
if (token === 1) {
|
|
4893
|
-
return this.
|
|
4893
|
+
return this.p1k();
|
|
4894
4894
|
}
|
|
4895
4895
|
if (!(token === 0)) {
|
|
4896
|
-
this.
|
|
4896
|
+
this.i1j('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.c1p(), current)));
|
|
4897
4897
|
}
|
|
4898
4898
|
var usedAppend = false;
|
|
4899
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4899
|
+
while (charToTokenClass(charSequenceGet(this.c1p(), current)) === 0) {
|
|
4900
4900
|
current = current + 1 | 0;
|
|
4901
|
-
if (current >= charSequenceLength(this.
|
|
4901
|
+
if (current >= charSequenceLength(this.c1p())) {
|
|
4902
4902
|
usedAppend = true;
|
|
4903
|
-
this.
|
|
4904
|
-
var eof = this.
|
|
4903
|
+
this.b1p(this.k1e_1, current);
|
|
4904
|
+
var eof = this.d1p(current);
|
|
4905
4905
|
if (eof === -1) {
|
|
4906
|
-
this.
|
|
4906
|
+
this.k1e_1 = current;
|
|
4907
4907
|
return decodedString(this, 0, 0);
|
|
4908
4908
|
} else {
|
|
4909
4909
|
current = eof;
|
|
@@ -4912,32 +4912,32 @@ protoOf(AbstractJsonLexer).o1k = function () {
|
|
|
4912
4912
|
}
|
|
4913
4913
|
var tmp;
|
|
4914
4914
|
if (!usedAppend) {
|
|
4915
|
-
tmp = this.
|
|
4915
|
+
tmp = this.j1p(this.k1e_1, current);
|
|
4916
4916
|
} else {
|
|
4917
|
-
tmp = decodedString(this, this.
|
|
4917
|
+
tmp = decodedString(this, this.k1e_1, current);
|
|
4918
4918
|
}
|
|
4919
4919
|
var result = tmp;
|
|
4920
|
-
this.
|
|
4920
|
+
this.k1e_1 = current;
|
|
4921
4921
|
return result;
|
|
4922
4922
|
};
|
|
4923
|
-
protoOf(AbstractJsonLexer).
|
|
4924
|
-
this.
|
|
4923
|
+
protoOf(AbstractJsonLexer).b1p = function (fromIndex, toIndex) {
|
|
4924
|
+
this.n1e_1.pc(this.c1p(), fromIndex, toIndex);
|
|
4925
4925
|
};
|
|
4926
|
-
protoOf(AbstractJsonLexer).
|
|
4926
|
+
protoOf(AbstractJsonLexer).e1m = function (allowLenientStrings) {
|
|
4927
4927
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4928
4928
|
var tokenStack = ArrayList_init_$Create$();
|
|
4929
|
-
var lastToken = this.
|
|
4929
|
+
var lastToken = this.n1k();
|
|
4930
4930
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4931
|
-
this.
|
|
4931
|
+
this.q1k();
|
|
4932
4932
|
return Unit_instance;
|
|
4933
4933
|
}
|
|
4934
4934
|
$l$loop: while (true) {
|
|
4935
|
-
lastToken = this.
|
|
4935
|
+
lastToken = this.n1k();
|
|
4936
4936
|
if (lastToken === 1) {
|
|
4937
4937
|
if (allowLenientStrings)
|
|
4938
|
-
this.
|
|
4938
|
+
this.q1k();
|
|
4939
4939
|
else
|
|
4940
|
-
this.
|
|
4940
|
+
this.f1m();
|
|
4941
4941
|
continue $l$loop;
|
|
4942
4942
|
}
|
|
4943
4943
|
var tmp0_subject = lastToken;
|
|
@@ -4945,49 +4945,49 @@ protoOf(AbstractJsonLexer).c1m = function (allowLenientStrings) {
|
|
|
4945
4945
|
tokenStack.b1(lastToken);
|
|
4946
4946
|
} else if (tmp0_subject === 9) {
|
|
4947
4947
|
if (!(last(tokenStack) === 8)) {
|
|
4948
|
-
this.
|
|
4948
|
+
this.i1j('found ] instead of }');
|
|
4949
4949
|
}
|
|
4950
4950
|
removeLast(tokenStack);
|
|
4951
4951
|
} else if (tmp0_subject === 7) {
|
|
4952
4952
|
if (!(last(tokenStack) === 6)) {
|
|
4953
|
-
this.
|
|
4953
|
+
this.i1j('found } instead of ]');
|
|
4954
4954
|
}
|
|
4955
4955
|
removeLast(tokenStack);
|
|
4956
4956
|
} else if (tmp0_subject === 10) {
|
|
4957
|
-
this.
|
|
4957
|
+
this.i1j('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4958
4958
|
}
|
|
4959
|
-
this.
|
|
4959
|
+
this.s1k();
|
|
4960
4960
|
if (tokenStack.e1() === 0)
|
|
4961
4961
|
return Unit_instance;
|
|
4962
4962
|
}
|
|
4963
4963
|
};
|
|
4964
4964
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4965
|
-
return "JsonReader(source='" + toString(this.
|
|
4965
|
+
return "JsonReader(source='" + toString(this.c1p()) + "', currentPosition=" + this.k1e_1 + ')';
|
|
4966
4966
|
};
|
|
4967
|
-
protoOf(AbstractJsonLexer).
|
|
4968
|
-
var processed = this.
|
|
4967
|
+
protoOf(AbstractJsonLexer).d1m = function (key) {
|
|
4968
|
+
var processed = this.j1p(0, this.k1e_1);
|
|
4969
4969
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4970
|
-
this.
|
|
4970
|
+
this.h1j("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.");
|
|
4971
4971
|
};
|
|
4972
|
-
protoOf(AbstractJsonLexer).
|
|
4973
|
-
throw decodingExceptionOf_0(this, message, position, this.
|
|
4972
|
+
protoOf(AbstractJsonLexer).h1j = function (message, position, hint) {
|
|
4973
|
+
throw decodingExceptionOf_0(this, message, position, this.l1e_1.w1j(), hint, this.c1p());
|
|
4974
4974
|
};
|
|
4975
|
-
protoOf(AbstractJsonLexer).
|
|
4976
|
-
position = position === VOID ? this.
|
|
4975
|
+
protoOf(AbstractJsonLexer).i1j = function (message, position, hint, $super) {
|
|
4976
|
+
position = position === VOID ? this.k1e_1 : position;
|
|
4977
4977
|
hint = hint === VOID ? null : hint;
|
|
4978
|
-
return $super === VOID ? this.
|
|
4978
|
+
return $super === VOID ? this.h1j(message, position, hint) : $super.h1j.call(this, message, position, hint);
|
|
4979
4979
|
};
|
|
4980
|
-
protoOf(AbstractJsonLexer).
|
|
4981
|
-
var current = this.
|
|
4982
|
-
current = this.
|
|
4983
|
-
if (current >= charSequenceLength(this.
|
|
4984
|
-
this.
|
|
4980
|
+
protoOf(AbstractJsonLexer).o1m = function () {
|
|
4981
|
+
var current = this.f1p();
|
|
4982
|
+
current = this.d1p(current);
|
|
4983
|
+
if (current >= charSequenceLength(this.c1p()) || current === -1) {
|
|
4984
|
+
this.i1j('EOF');
|
|
4985
4985
|
}
|
|
4986
4986
|
var tmp;
|
|
4987
|
-
if (charSequenceGet(this.
|
|
4987
|
+
if (charSequenceGet(this.c1p(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4988
4988
|
current = current + 1 | 0;
|
|
4989
|
-
if (current === charSequenceLength(this.
|
|
4990
|
-
this.
|
|
4989
|
+
if (current === charSequenceLength(this.c1p())) {
|
|
4990
|
+
this.i1j('EOF');
|
|
4991
4991
|
}
|
|
4992
4992
|
tmp = true;
|
|
4993
4993
|
} else {
|
|
@@ -5000,11 +5000,11 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5000
5000
|
var isExponentPositive = false;
|
|
5001
5001
|
var hasExponent = false;
|
|
5002
5002
|
var start = current;
|
|
5003
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
5004
|
-
var ch = charSequenceGet(this.
|
|
5003
|
+
$l$loop_4: while (!(current === charSequenceLength(this.c1p()))) {
|
|
5004
|
+
var ch = charSequenceGet(this.c1p(), current);
|
|
5005
5005
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
5006
5006
|
if (current === start) {
|
|
5007
|
-
this.
|
|
5007
|
+
this.i1j("Unexpected symbol '" + toString_1(ch) + "' in numeric literal", current);
|
|
5008
5008
|
}
|
|
5009
5009
|
isExponentPositive = true;
|
|
5010
5010
|
hasExponent = true;
|
|
@@ -5013,7 +5013,7 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5013
5013
|
}
|
|
5014
5014
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
5015
5015
|
if (current === start) {
|
|
5016
|
-
this.
|
|
5016
|
+
this.i1j("Unexpected symbol '-' in numeric literal", current);
|
|
5017
5017
|
}
|
|
5018
5018
|
isExponentPositive = false;
|
|
5019
5019
|
current = current + 1 | 0;
|
|
@@ -5021,7 +5021,7 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5021
5021
|
}
|
|
5022
5022
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
5023
5023
|
if (current === start) {
|
|
5024
|
-
this.
|
|
5024
|
+
this.i1j("Unexpected symbol '+' in numeric literal", current);
|
|
5025
5025
|
}
|
|
5026
5026
|
isExponentPositive = true;
|
|
5027
5027
|
current = current + 1 | 0;
|
|
@@ -5029,7 +5029,7 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5029
5029
|
}
|
|
5030
5030
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
5031
5031
|
if (!(current === start)) {
|
|
5032
|
-
this.
|
|
5032
|
+
this.i1j("Unexpected symbol '-' in numeric literal", current);
|
|
5033
5033
|
}
|
|
5034
5034
|
isNegative = true;
|
|
5035
5035
|
current = current + 1 | 0;
|
|
@@ -5041,7 +5041,7 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5041
5041
|
current = current + 1 | 0;
|
|
5042
5042
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
5043
5043
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
5044
|
-
this.
|
|
5044
|
+
this.i1j("Unexpected symbol '" + toString_1(ch) + "' in numeric literal", current - 1 | 0);
|
|
5045
5045
|
}
|
|
5046
5046
|
if (hasExponent) {
|
|
5047
5047
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -5057,31 +5057,31 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5057
5057
|
var this_3 = multiply(this_2, fromInt(10));
|
|
5058
5058
|
accumulator = subtract(this_3, fromInt(digit));
|
|
5059
5059
|
if (compare(accumulator, new Long(0, 0)) > 0) {
|
|
5060
|
-
this.
|
|
5060
|
+
this.i1j('Numeric value overflow');
|
|
5061
5061
|
}
|
|
5062
5062
|
}
|
|
5063
5063
|
var hasChars = !(current === start);
|
|
5064
5064
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
5065
|
-
this.
|
|
5065
|
+
this.i1j('Expected numeric literal', current);
|
|
5066
5066
|
}
|
|
5067
5067
|
if (hasQuotation) {
|
|
5068
5068
|
if (!hasChars) {
|
|
5069
|
-
this.
|
|
5069
|
+
this.i1j('EOF');
|
|
5070
5070
|
}
|
|
5071
|
-
if (!(charSequenceGet(this.
|
|
5072
|
-
this.
|
|
5071
|
+
if (!(charSequenceGet(this.c1p(), current) === _Char___init__impl__6a9atx(34))) {
|
|
5072
|
+
this.i1j('Expected closing quotation mark', current);
|
|
5073
5073
|
}
|
|
5074
5074
|
current = current + 1 | 0;
|
|
5075
5075
|
}
|
|
5076
|
-
this.
|
|
5076
|
+
this.k1e_1 = current;
|
|
5077
5077
|
if (hasExponent) {
|
|
5078
5078
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
5079
5079
|
if (doubleAccumulator > toNumber(new Long(-1, 2147483647)) || doubleAccumulator < toNumber(new Long(0, -2147483648))) {
|
|
5080
|
-
this.
|
|
5080
|
+
this.i1j('Numeric value overflow');
|
|
5081
5081
|
}
|
|
5082
5082
|
// Inline function 'kotlin.math.floor' call
|
|
5083
5083
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
5084
|
-
this.
|
|
5084
|
+
this.i1j("Can't convert " + doubleAccumulator + ' to Long');
|
|
5085
5085
|
}
|
|
5086
5086
|
accumulator = numberToLong(doubleAccumulator);
|
|
5087
5087
|
}
|
|
@@ -5091,30 +5091,30 @@ protoOf(AbstractJsonLexer).m1m = function () {
|
|
|
5091
5091
|
} else if (!equalsLong(accumulator, new Long(0, -2147483648))) {
|
|
5092
5092
|
tmp_0 = negate(accumulator);
|
|
5093
5093
|
} else {
|
|
5094
|
-
this.
|
|
5094
|
+
this.i1j('Numeric value overflow');
|
|
5095
5095
|
}
|
|
5096
5096
|
return tmp_0;
|
|
5097
5097
|
};
|
|
5098
|
-
protoOf(AbstractJsonLexer).
|
|
5099
|
-
var result = this.
|
|
5100
|
-
var next = this.
|
|
5098
|
+
protoOf(AbstractJsonLexer).r1g = function () {
|
|
5099
|
+
var result = this.o1m();
|
|
5100
|
+
var next = this.s1k();
|
|
5101
5101
|
if (!(next === 10)) {
|
|
5102
5102
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5103
5103
|
var expected = tokenDescription(10);
|
|
5104
|
-
var position = true && this.
|
|
5105
|
-
var s = this.
|
|
5104
|
+
var position = true && this.k1e_1 > 0 ? this.k1e_1 - 1 | 0 : this.k1e_1;
|
|
5105
|
+
var s = this.k1e_1 === charSequenceLength(this.c1p()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.c1p(), position));
|
|
5106
5106
|
var tmp$ret$1 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
5107
|
-
this.
|
|
5107
|
+
this.i1j(tmp$ret$1, position);
|
|
5108
5108
|
}
|
|
5109
5109
|
return result;
|
|
5110
5110
|
};
|
|
5111
|
-
protoOf(AbstractJsonLexer).
|
|
5112
|
-
var current = this.
|
|
5113
|
-
if (current === charSequenceLength(this.
|
|
5114
|
-
this.
|
|
5111
|
+
protoOf(AbstractJsonLexer).n1m = function () {
|
|
5112
|
+
var current = this.f1p();
|
|
5113
|
+
if (current === charSequenceLength(this.c1p())) {
|
|
5114
|
+
this.i1j('EOF');
|
|
5115
5115
|
}
|
|
5116
5116
|
var tmp;
|
|
5117
|
-
if (charSequenceGet(this.
|
|
5117
|
+
if (charSequenceGet(this.c1p(), current) === _Char___init__impl__6a9atx(34)) {
|
|
5118
5118
|
current = current + 1 | 0;
|
|
5119
5119
|
tmp = true;
|
|
5120
5120
|
} else {
|
|
@@ -5123,13 +5123,13 @@ protoOf(AbstractJsonLexer).l1m = function () {
|
|
|
5123
5123
|
var hasQuotation = tmp;
|
|
5124
5124
|
var result = consumeBoolean2(this, current);
|
|
5125
5125
|
if (hasQuotation) {
|
|
5126
|
-
if (this.
|
|
5127
|
-
this.
|
|
5126
|
+
if (this.k1e_1 === charSequenceLength(this.c1p())) {
|
|
5127
|
+
this.i1j('EOF');
|
|
5128
5128
|
}
|
|
5129
|
-
if (!(charSequenceGet(this.
|
|
5130
|
-
this.
|
|
5129
|
+
if (!(charSequenceGet(this.c1p(), this.k1e_1) === _Char___init__impl__6a9atx(34))) {
|
|
5130
|
+
this.i1j('Expected closing quotation mark');
|
|
5131
5131
|
}
|
|
5132
|
-
this.
|
|
5132
|
+
this.k1e_1 = this.k1e_1 + 1 | 0;
|
|
5133
5133
|
}
|
|
5134
5134
|
return result;
|
|
5135
5135
|
};
|
|
@@ -5140,7 +5140,7 @@ function charToTokenClass(c) {
|
|
|
5140
5140
|
var tmp;
|
|
5141
5141
|
// Inline function 'kotlin.code' call
|
|
5142
5142
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
5143
|
-
var tmp_0 = CharMappings_getInstance().
|
|
5143
|
+
var tmp_0 = CharMappings_getInstance().l1p_1;
|
|
5144
5144
|
// Inline function 'kotlin.code' call
|
|
5145
5145
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
5146
5146
|
} else {
|
|
@@ -5149,7 +5149,7 @@ function charToTokenClass(c) {
|
|
|
5149
5149
|
return tmp;
|
|
5150
5150
|
}
|
|
5151
5151
|
function escapeToChar(c) {
|
|
5152
|
-
return c < 117 ? CharMappings_getInstance().
|
|
5152
|
+
return c < 117 ? CharMappings_getInstance().k1p_1[c] : _Char___init__impl__6a9atx(0);
|
|
5153
5153
|
}
|
|
5154
5154
|
function initEscape($this) {
|
|
5155
5155
|
var inductionVariable = 0;
|
|
@@ -5195,7 +5195,7 @@ function initC2ESC($this, c, esc) {
|
|
|
5195
5195
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
5196
5196
|
// Inline function 'kotlin.code' call
|
|
5197
5197
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
5198
|
-
$this.
|
|
5198
|
+
$this.k1p_1[tmp$ret$0] = numberToChar(c);
|
|
5199
5199
|
}
|
|
5200
5200
|
}
|
|
5201
5201
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -5204,7 +5204,7 @@ function initC2ESC_0($this, c, esc) {
|
|
|
5204
5204
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
5205
5205
|
}
|
|
5206
5206
|
function initC2TC($this, c, cl) {
|
|
5207
|
-
$this.
|
|
5207
|
+
$this.l1p_1[c] = cl;
|
|
5208
5208
|
}
|
|
5209
5209
|
function initC2TC_0($this, c, cl) {
|
|
5210
5210
|
// Inline function 'kotlin.code' call
|
|
@@ -5213,8 +5213,8 @@ function initC2TC_0($this, c, cl) {
|
|
|
5213
5213
|
}
|
|
5214
5214
|
function CharMappings() {
|
|
5215
5215
|
CharMappings_instance = this;
|
|
5216
|
-
this.
|
|
5217
|
-
this.
|
|
5216
|
+
this.k1p_1 = charArray(117);
|
|
5217
|
+
this.l1p_1 = new Int8Array(126);
|
|
5218
5218
|
initEscape(this);
|
|
5219
5219
|
initCharToToken(this);
|
|
5220
5220
|
}
|
|
@@ -5227,48 +5227,48 @@ function CharMappings_getInstance() {
|
|
|
5227
5227
|
function StringJsonLexerWithComments(source, configuration) {
|
|
5228
5228
|
StringJsonLexer.call(this, source, configuration);
|
|
5229
5229
|
}
|
|
5230
|
-
protoOf(StringJsonLexerWithComments).
|
|
5231
|
-
var source = this.
|
|
5232
|
-
var cpos = this.
|
|
5230
|
+
protoOf(StringJsonLexerWithComments).s1k = function () {
|
|
5231
|
+
var source = this.c1p();
|
|
5232
|
+
var cpos = this.f1p();
|
|
5233
5233
|
if (cpos >= source.length || cpos === -1)
|
|
5234
5234
|
return 10;
|
|
5235
|
-
this.
|
|
5235
|
+
this.k1e_1 = cpos + 1 | 0;
|
|
5236
5236
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
5237
5237
|
};
|
|
5238
|
-
protoOf(StringJsonLexerWithComments).
|
|
5239
|
-
var current = this.
|
|
5240
|
-
if (current >= this.
|
|
5238
|
+
protoOf(StringJsonLexerWithComments).o1k = function () {
|
|
5239
|
+
var current = this.f1p();
|
|
5240
|
+
if (current >= this.c1p().length || current === -1)
|
|
5241
5241
|
return false;
|
|
5242
|
-
return this.
|
|
5242
|
+
return this.g1p(charCodeAt(this.c1p(), current));
|
|
5243
5243
|
};
|
|
5244
|
-
protoOf(StringJsonLexerWithComments).
|
|
5245
|
-
var source = this.
|
|
5246
|
-
var current = this.
|
|
5244
|
+
protoOf(StringJsonLexerWithComments).z1l = function (expected) {
|
|
5245
|
+
var source = this.c1p();
|
|
5246
|
+
var current = this.f1p();
|
|
5247
5247
|
if (current >= source.length || current === -1) {
|
|
5248
|
-
this.
|
|
5249
|
-
this.
|
|
5248
|
+
this.k1e_1 = -1;
|
|
5249
|
+
this.h1p(expected);
|
|
5250
5250
|
}
|
|
5251
5251
|
var c = charCodeAt(source, current);
|
|
5252
|
-
this.
|
|
5252
|
+
this.k1e_1 = current + 1 | 0;
|
|
5253
5253
|
if (c === expected)
|
|
5254
5254
|
return Unit_instance;
|
|
5255
5255
|
else {
|
|
5256
|
-
this.
|
|
5256
|
+
this.h1p(expected);
|
|
5257
5257
|
}
|
|
5258
5258
|
};
|
|
5259
|
-
protoOf(StringJsonLexerWithComments).
|
|
5260
|
-
var source = this.
|
|
5261
|
-
var cpos = this.
|
|
5259
|
+
protoOf(StringJsonLexerWithComments).n1k = function () {
|
|
5260
|
+
var source = this.c1p();
|
|
5261
|
+
var cpos = this.f1p();
|
|
5262
5262
|
if (cpos >= source.length || cpos === -1)
|
|
5263
5263
|
return 10;
|
|
5264
|
-
this.
|
|
5264
|
+
this.k1e_1 = cpos;
|
|
5265
5265
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
5266
5266
|
};
|
|
5267
|
-
protoOf(StringJsonLexerWithComments).
|
|
5268
|
-
var current = this.
|
|
5267
|
+
protoOf(StringJsonLexerWithComments).f1p = function () {
|
|
5268
|
+
var current = this.k1e_1;
|
|
5269
5269
|
if (current === -1)
|
|
5270
5270
|
return current;
|
|
5271
|
-
var source = this.
|
|
5271
|
+
var source = this.c1p();
|
|
5272
5272
|
$l$loop_1: while (current < source.length) {
|
|
5273
5273
|
var c = charCodeAt(source, current);
|
|
5274
5274
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -5289,8 +5289,8 @@ protoOf(StringJsonLexerWithComments).d1p = function () {
|
|
|
5289
5289
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
5290
5290
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
5291
5291
|
if (current === -1) {
|
|
5292
|
-
this.
|
|
5293
|
-
this.
|
|
5292
|
+
this.k1e_1 = source.length;
|
|
5293
|
+
this.i1j('Expected end of the block comment: "*/", but had EOF instead');
|
|
5294
5294
|
} else {
|
|
5295
5295
|
current = current + 2 | 0;
|
|
5296
5296
|
}
|
|
@@ -5299,22 +5299,22 @@ protoOf(StringJsonLexerWithComments).d1p = function () {
|
|
|
5299
5299
|
}
|
|
5300
5300
|
break $l$loop_1;
|
|
5301
5301
|
}
|
|
5302
|
-
this.
|
|
5302
|
+
this.k1e_1 = current;
|
|
5303
5303
|
return current;
|
|
5304
5304
|
};
|
|
5305
5305
|
function StringJsonLexer(source, configuration) {
|
|
5306
5306
|
AbstractJsonLexer.call(this, configuration);
|
|
5307
|
-
this.
|
|
5307
|
+
this.x1p_1 = source;
|
|
5308
5308
|
}
|
|
5309
|
-
protoOf(StringJsonLexer).
|
|
5310
|
-
return this.
|
|
5309
|
+
protoOf(StringJsonLexer).c1p = function () {
|
|
5310
|
+
return this.x1p_1;
|
|
5311
5311
|
};
|
|
5312
|
-
protoOf(StringJsonLexer).
|
|
5313
|
-
return position < this.
|
|
5312
|
+
protoOf(StringJsonLexer).d1p = function (position) {
|
|
5313
|
+
return position < this.c1p().length ? position : -1;
|
|
5314
5314
|
};
|
|
5315
|
-
protoOf(StringJsonLexer).
|
|
5316
|
-
var source = this.
|
|
5317
|
-
var cpos = this.
|
|
5315
|
+
protoOf(StringJsonLexer).s1k = function () {
|
|
5316
|
+
var source = this.c1p();
|
|
5317
|
+
var cpos = this.k1e_1;
|
|
5318
5318
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
5319
5319
|
var _unary__edvuaz = cpos;
|
|
5320
5320
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -5322,17 +5322,17 @@ protoOf(StringJsonLexer).q1k = function () {
|
|
|
5322
5322
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
5323
5323
|
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))
|
|
5324
5324
|
continue $l$loop;
|
|
5325
|
-
this.
|
|
5325
|
+
this.k1e_1 = cpos;
|
|
5326
5326
|
return charToTokenClass(c);
|
|
5327
5327
|
}
|
|
5328
|
-
this.
|
|
5328
|
+
this.k1e_1 = source.length;
|
|
5329
5329
|
return 10;
|
|
5330
5330
|
};
|
|
5331
|
-
protoOf(StringJsonLexer).
|
|
5332
|
-
var current = this.
|
|
5331
|
+
protoOf(StringJsonLexer).o1k = function () {
|
|
5332
|
+
var current = this.k1e_1;
|
|
5333
5333
|
if (current === -1)
|
|
5334
5334
|
return false;
|
|
5335
|
-
var source = this.
|
|
5335
|
+
var source = this.c1p();
|
|
5336
5336
|
$l$loop: while (current < source.length) {
|
|
5337
5337
|
var c = charCodeAt(source, current);
|
|
5338
5338
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -5340,17 +5340,17 @@ protoOf(StringJsonLexer).m1k = function () {
|
|
|
5340
5340
|
current = current + 1 | 0;
|
|
5341
5341
|
continue $l$loop;
|
|
5342
5342
|
}
|
|
5343
|
-
this.
|
|
5344
|
-
return this.
|
|
5343
|
+
this.k1e_1 = current;
|
|
5344
|
+
return this.g1p(c);
|
|
5345
5345
|
}
|
|
5346
|
-
this.
|
|
5346
|
+
this.k1e_1 = current;
|
|
5347
5347
|
return false;
|
|
5348
5348
|
};
|
|
5349
|
-
protoOf(StringJsonLexer).
|
|
5350
|
-
var current = this.
|
|
5349
|
+
protoOf(StringJsonLexer).f1p = function () {
|
|
5350
|
+
var current = this.k1e_1;
|
|
5351
5351
|
if (current === -1)
|
|
5352
5352
|
return current;
|
|
5353
|
-
var source = this.
|
|
5353
|
+
var source = this.c1p();
|
|
5354
5354
|
$l$loop: while (current < source.length) {
|
|
5355
5355
|
var c = charCodeAt(source, current);
|
|
5356
5356
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -5360,15 +5360,15 @@ protoOf(StringJsonLexer).d1p = function () {
|
|
|
5360
5360
|
break $l$loop;
|
|
5361
5361
|
}
|
|
5362
5362
|
}
|
|
5363
|
-
this.
|
|
5363
|
+
this.k1e_1 = current;
|
|
5364
5364
|
return current;
|
|
5365
5365
|
};
|
|
5366
|
-
protoOf(StringJsonLexer).
|
|
5367
|
-
if (this.
|
|
5368
|
-
this.
|
|
5366
|
+
protoOf(StringJsonLexer).z1l = function (expected) {
|
|
5367
|
+
if (this.k1e_1 === -1) {
|
|
5368
|
+
this.h1p(expected);
|
|
5369
5369
|
}
|
|
5370
|
-
var source = this.
|
|
5371
|
-
var cpos = this.
|
|
5370
|
+
var source = this.c1p();
|
|
5371
|
+
var cpos = this.k1e_1;
|
|
5372
5372
|
$l$loop: while (cpos < source.length) {
|
|
5373
5373
|
var _unary__edvuaz = cpos;
|
|
5374
5374
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -5376,83 +5376,83 @@ protoOf(StringJsonLexer).x1l = function (expected) {
|
|
|
5376
5376
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
5377
5377
|
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))
|
|
5378
5378
|
continue $l$loop;
|
|
5379
|
-
this.
|
|
5379
|
+
this.k1e_1 = cpos;
|
|
5380
5380
|
if (c === expected)
|
|
5381
5381
|
return Unit_instance;
|
|
5382
|
-
this.
|
|
5382
|
+
this.h1p(expected);
|
|
5383
5383
|
}
|
|
5384
|
-
this.
|
|
5385
|
-
this.
|
|
5384
|
+
this.k1e_1 = -1;
|
|
5385
|
+
this.h1p(expected);
|
|
5386
5386
|
};
|
|
5387
|
-
protoOf(StringJsonLexer).
|
|
5388
|
-
this.
|
|
5389
|
-
var current = this.
|
|
5390
|
-
var closingQuote = indexOf_0(this.
|
|
5387
|
+
protoOf(StringJsonLexer).f1m = function () {
|
|
5388
|
+
this.z1l(_Char___init__impl__6a9atx(34));
|
|
5389
|
+
var current = this.k1e_1;
|
|
5390
|
+
var closingQuote = indexOf_0(this.c1p(), _Char___init__impl__6a9atx(34), current);
|
|
5391
5391
|
if (closingQuote === -1) {
|
|
5392
|
-
this.
|
|
5392
|
+
this.q1k();
|
|
5393
5393
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5394
5394
|
var expected = tokenDescription(1);
|
|
5395
|
-
var position = false && this.
|
|
5396
|
-
var s = this.
|
|
5395
|
+
var position = false && this.k1e_1 > 0 ? this.k1e_1 - 1 | 0 : this.k1e_1;
|
|
5396
|
+
var s = this.k1e_1 === charSequenceLength(this.c1p()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.c1p(), position));
|
|
5397
5397
|
var tmp$ret$1 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5398
|
-
this.
|
|
5398
|
+
this.i1j(tmp$ret$1, position);
|
|
5399
5399
|
}
|
|
5400
5400
|
var inductionVariable = current;
|
|
5401
5401
|
if (inductionVariable < closingQuote)
|
|
5402
5402
|
do {
|
|
5403
5403
|
var i = inductionVariable;
|
|
5404
5404
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5405
|
-
if (charCodeAt(this.
|
|
5406
|
-
return this.consumeString2(this.
|
|
5405
|
+
if (charCodeAt(this.c1p(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5406
|
+
return this.consumeString2(this.c1p(), this.k1e_1, i);
|
|
5407
5407
|
}
|
|
5408
5408
|
}
|
|
5409
5409
|
while (inductionVariable < closingQuote);
|
|
5410
|
-
this.
|
|
5411
|
-
return substring(this.
|
|
5410
|
+
this.k1e_1 = closingQuote + 1 | 0;
|
|
5411
|
+
return substring(this.c1p(), current, closingQuote);
|
|
5412
5412
|
};
|
|
5413
|
-
protoOf(StringJsonLexer).
|
|
5414
|
-
var positionSnapshot = this.
|
|
5413
|
+
protoOf(StringJsonLexer).h1m = function (keyToMatch, isLenient) {
|
|
5414
|
+
var positionSnapshot = this.k1e_1;
|
|
5415
5415
|
try {
|
|
5416
|
-
if (!(this.
|
|
5416
|
+
if (!(this.s1k() === 6))
|
|
5417
5417
|
return null;
|
|
5418
|
-
var firstKey = this.
|
|
5418
|
+
var firstKey = this.c1m(isLenient);
|
|
5419
5419
|
if (!(firstKey === keyToMatch))
|
|
5420
5420
|
return null;
|
|
5421
|
-
this.
|
|
5422
|
-
if (!(this.
|
|
5421
|
+
this.i1p();
|
|
5422
|
+
if (!(this.s1k() === 5))
|
|
5423
5423
|
return null;
|
|
5424
|
-
return this.
|
|
5424
|
+
return this.c1m(isLenient);
|
|
5425
5425
|
}finally {
|
|
5426
|
-
this.
|
|
5427
|
-
this.
|
|
5426
|
+
this.k1e_1 = positionSnapshot;
|
|
5427
|
+
this.i1p();
|
|
5428
5428
|
}
|
|
5429
5429
|
};
|
|
5430
5430
|
function StringJsonLexer_0(json, source) {
|
|
5431
|
-
return !json.
|
|
5431
|
+
return !json.t1d_1.x1f_1 ? new StringJsonLexer(source, json.t1d_1) : new StringJsonLexerWithComments(source, json.t1d_1);
|
|
5432
5432
|
}
|
|
5433
5433
|
function get_schemaCache(_this__u8e3s4) {
|
|
5434
|
-
return _this__u8e3s4.
|
|
5434
|
+
return _this__u8e3s4.v1d_1;
|
|
5435
5435
|
}
|
|
5436
5436
|
function JsonToStringWriter() {
|
|
5437
|
-
this.
|
|
5437
|
+
this.z1d_1 = StringBuilder_init_$Create$_0(128);
|
|
5438
5438
|
}
|
|
5439
|
-
protoOf(JsonToStringWriter).
|
|
5440
|
-
this.
|
|
5439
|
+
protoOf(JsonToStringWriter).m1i = function (value) {
|
|
5440
|
+
this.z1d_1.tc(value);
|
|
5441
5441
|
};
|
|
5442
|
-
protoOf(JsonToStringWriter).
|
|
5443
|
-
this.
|
|
5442
|
+
protoOf(JsonToStringWriter).g1i = function (char) {
|
|
5443
|
+
this.z1d_1.s(char);
|
|
5444
5444
|
};
|
|
5445
|
-
protoOf(JsonToStringWriter).
|
|
5446
|
-
this.
|
|
5445
|
+
protoOf(JsonToStringWriter).i1i = function (text) {
|
|
5446
|
+
this.z1d_1.q(text);
|
|
5447
5447
|
};
|
|
5448
|
-
protoOf(JsonToStringWriter).
|
|
5449
|
-
printQuoted(this.
|
|
5448
|
+
protoOf(JsonToStringWriter).s1i = function (text) {
|
|
5449
|
+
printQuoted(this.z1d_1, text);
|
|
5450
5450
|
};
|
|
5451
|
-
protoOf(JsonToStringWriter).
|
|
5452
|
-
this.
|
|
5451
|
+
protoOf(JsonToStringWriter).a1e = function () {
|
|
5452
|
+
this.z1d_1.wc();
|
|
5453
5453
|
};
|
|
5454
5454
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5455
|
-
return this.
|
|
5455
|
+
return this.z1d_1.toString();
|
|
5456
5456
|
};
|
|
5457
5457
|
function createMapForCache(initialCapacity) {
|
|
5458
5458
|
return HashMap_init_$Create$(initialCapacity);
|
|
@@ -5464,7 +5464,7 @@ protoOf(defer$1).av = get_annotations;
|
|
|
5464
5464
|
defineProp(protoOf(JsonException), 'message', function () {
|
|
5465
5465
|
return this.e();
|
|
5466
5466
|
});
|
|
5467
|
-
protoOf(JsonSerializersModuleValidator).
|
|
5467
|
+
protoOf(JsonSerializersModuleValidator).m1d = contextual;
|
|
5468
5468
|
//endregion
|
|
5469
5469
|
//region block: init
|
|
5470
5470
|
Companion_instance = new Companion();
|