@solibo/solibo-sdk 1.1.4 → 1.1.9
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/KmLogging-logging.mjs +99 -99
- package/KotlinBigInteger-bignum.mjs +1126 -1126
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +256 -256
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1063 -1063
- package/ktor-ktor-client-auth.mjs +245 -245
- package/ktor-ktor-client-content-negotiation.mjs +121 -121
- package/ktor-ktor-client-core.mjs +2427 -2427
- package/ktor-ktor-client-logging.mjs +597 -597
- package/ktor-ktor-client-mock.mjs +46 -46
- package/ktor-ktor-http-cio.mjs +289 -289
- package/ktor-ktor-http.mjs +308 -304
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +5 -5
- package/ktor-ktor-serialization-kotlinx.mjs +110 -110
- package/ktor-ktor-serialization.mjs +50 -50
- package/ktor-ktor-websockets.mjs +317 -317
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +30590 -30100
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +35 -1964
- package/solibo-sdk-sdk.mjs +2824 -2171
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -259,12 +259,12 @@ function Default_getInstance() {
|
|
|
259
259
|
}
|
|
260
260
|
function Json(configuration, serializersModule) {
|
|
261
261
|
Default_getInstance();
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
262
|
+
this.h61_1 = configuration;
|
|
263
|
+
this.i61_1 = serializersModule;
|
|
264
|
+
this.j61_1 = new DescriptorSchemaCache();
|
|
265
265
|
}
|
|
266
266
|
protoOf(Json).jt = function () {
|
|
267
|
-
return this.
|
|
267
|
+
return this.i61_1;
|
|
268
268
|
};
|
|
269
269
|
protoOf(Json).fu = function (serializer, value) {
|
|
270
270
|
var result = new JsonToStringWriter();
|
|
@@ -279,60 +279,60 @@ protoOf(Json).gu = function (deserializer, string) {
|
|
|
279
279
|
var lexer = StringJsonLexer_0(this, string);
|
|
280
280
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.ys(), null);
|
|
281
281
|
var result = input.nt(deserializer);
|
|
282
|
-
lexer.
|
|
282
|
+
lexer.y61();
|
|
283
283
|
return result;
|
|
284
284
|
};
|
|
285
|
-
protoOf(Json).
|
|
285
|
+
protoOf(Json).k61 = function (string) {
|
|
286
286
|
return this.gu(JsonElementSerializer_getInstance(), string);
|
|
287
287
|
};
|
|
288
288
|
function Json_0(from, builderAction) {
|
|
289
289
|
from = from === VOID ? Default_getInstance() : from;
|
|
290
290
|
var builder = new JsonBuilder(from);
|
|
291
291
|
builderAction(builder);
|
|
292
|
-
var conf = builder.
|
|
293
|
-
return new JsonImpl(conf, builder.
|
|
292
|
+
var conf = builder.r62();
|
|
293
|
+
return new JsonImpl(conf, builder.q62_1);
|
|
294
294
|
}
|
|
295
295
|
function JsonBuilder(json) {
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
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
|
-
}
|
|
315
|
-
protoOf(JsonBuilder).
|
|
316
|
-
if (this.
|
|
296
|
+
this.z61_1 = json.h61_1.s62_1;
|
|
297
|
+
this.a62_1 = json.h61_1.x62_1;
|
|
298
|
+
this.b62_1 = json.h61_1.t62_1;
|
|
299
|
+
this.c62_1 = json.h61_1.u62_1;
|
|
300
|
+
this.d62_1 = json.h61_1.w62_1;
|
|
301
|
+
this.e62_1 = json.h61_1.y62_1;
|
|
302
|
+
this.f62_1 = json.h61_1.z62_1;
|
|
303
|
+
this.g62_1 = json.h61_1.b63_1;
|
|
304
|
+
this.h62_1 = json.h61_1.i63_1;
|
|
305
|
+
this.i62_1 = json.h61_1.d63_1;
|
|
306
|
+
this.j62_1 = json.h61_1.e63_1;
|
|
307
|
+
this.k62_1 = json.h61_1.f63_1;
|
|
308
|
+
this.l62_1 = json.h61_1.g63_1;
|
|
309
|
+
this.m62_1 = json.h61_1.h63_1;
|
|
310
|
+
this.n62_1 = json.h61_1.c63_1;
|
|
311
|
+
this.o62_1 = json.h61_1.v62_1;
|
|
312
|
+
this.p62_1 = json.h61_1.a63_1;
|
|
313
|
+
this.q62_1 = json.jt();
|
|
314
|
+
}
|
|
315
|
+
protoOf(JsonBuilder).r62 = function () {
|
|
316
|
+
if (this.p62_1) {
|
|
317
317
|
// Inline function 'kotlin.require' call
|
|
318
|
-
if (!(this.
|
|
318
|
+
if (!(this.g62_1 === 'type')) {
|
|
319
319
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
320
320
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
321
321
|
}
|
|
322
322
|
// Inline function 'kotlin.require' call
|
|
323
|
-
if (!this.
|
|
323
|
+
if (!this.h62_1.equals(ClassDiscriminatorMode_POLYMORPHIC_getInstance())) {
|
|
324
324
|
var message_0 = 'useArrayPolymorphism option can only be used if classDiscriminatorMode in a default POLYMORPHIC state.';
|
|
325
325
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
if (!this.
|
|
328
|
+
if (!this.d62_1) {
|
|
329
329
|
// Inline function 'kotlin.require' call
|
|
330
|
-
if (!(this.
|
|
330
|
+
if (!(this.e62_1 === ' ')) {
|
|
331
331
|
var message_1 = 'Indent should not be specified when default printing mode is used';
|
|
332
332
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
333
333
|
}
|
|
334
|
-
} else if (!(this.
|
|
335
|
-
var tmp0 = this.
|
|
334
|
+
} else if (!(this.e62_1 === ' ')) {
|
|
335
|
+
var tmp0 = this.e62_1;
|
|
336
336
|
var tmp$ret$7;
|
|
337
337
|
$l$block: {
|
|
338
338
|
// Inline function 'kotlin.text.all' call
|
|
@@ -350,16 +350,16 @@ protoOf(JsonBuilder).q62 = function () {
|
|
|
350
350
|
var allWhitespaces = tmp$ret$7;
|
|
351
351
|
// Inline function 'kotlin.require' call
|
|
352
352
|
if (!allWhitespaces) {
|
|
353
|
-
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
353
|
+
var message_2 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.e62_1;
|
|
354
354
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
return new JsonConfiguration(this.
|
|
357
|
+
return new JsonConfiguration(this.z61_1, this.b62_1, this.c62_1, this.o62_1, this.d62_1, this.a62_1, this.e62_1, this.f62_1, this.p62_1, this.g62_1, this.n62_1, this.i62_1, this.j62_1, this.k62_1, this.l62_1, this.m62_1, this.h62_1);
|
|
358
358
|
};
|
|
359
359
|
function validateConfiguration($this) {
|
|
360
360
|
if (equals($this.jt(), EmptySerializersModule()))
|
|
361
361
|
return Unit_instance;
|
|
362
|
-
var collector = new JsonSerializersModuleValidator($this.
|
|
362
|
+
var collector = new JsonSerializersModuleValidator($this.h61_1);
|
|
363
363
|
$this.jt().n1d(collector);
|
|
364
364
|
}
|
|
365
365
|
function JsonImpl(configuration, module_0) {
|
|
@@ -390,26 +390,26 @@ function JsonConfiguration(encodeDefaults, ignoreUnknownKeys, isLenient, allowSt
|
|
|
390
390
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
391
391
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
392
392
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
393
|
+
this.s62_1 = encodeDefaults;
|
|
394
|
+
this.t62_1 = ignoreUnknownKeys;
|
|
395
|
+
this.u62_1 = isLenient;
|
|
396
|
+
this.v62_1 = allowStructuredMapKeys;
|
|
397
|
+
this.w62_1 = prettyPrint;
|
|
398
|
+
this.x62_1 = explicitNulls;
|
|
399
|
+
this.y62_1 = prettyPrintIndent;
|
|
400
|
+
this.z62_1 = coerceInputValues;
|
|
401
|
+
this.a63_1 = useArrayPolymorphism;
|
|
402
|
+
this.b63_1 = classDiscriminator;
|
|
403
|
+
this.c63_1 = allowSpecialFloatingPointValues;
|
|
404
|
+
this.d63_1 = useAlternativeNames;
|
|
405
|
+
this.e63_1 = namingStrategy;
|
|
406
|
+
this.f63_1 = decodeEnumsCaseInsensitive;
|
|
407
|
+
this.g63_1 = allowTrailingComma;
|
|
408
|
+
this.h63_1 = allowComments;
|
|
409
|
+
this.i63_1 = classDiscriminatorMode;
|
|
410
410
|
}
|
|
411
411
|
protoOf(JsonConfiguration).toString = function () {
|
|
412
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
412
|
+
return 'JsonConfiguration(encodeDefaults=' + this.s62_1 + ', ignoreUnknownKeys=' + this.t62_1 + ', isLenient=' + this.u62_1 + ', ' + ('allowStructuredMapKeys=' + this.v62_1 + ', prettyPrint=' + this.w62_1 + ', explicitNulls=' + this.x62_1 + ', ') + ("prettyPrintIndent='" + this.y62_1 + "', coerceInputValues=" + this.z62_1 + ', useArrayPolymorphism=' + this.a63_1 + ', ') + ("classDiscriminator='" + this.b63_1 + "', allowSpecialFloatingPointValues=" + this.c63_1 + ', ') + ('useAlternativeNames=' + this.d63_1 + ', namingStrategy=' + toString_0(this.e63_1) + ', decodeEnumsCaseInsensitive=' + this.f63_1 + ', ') + ('allowTrailingComma=' + this.g63_1 + ', allowComments=' + this.h63_1 + ', classDiscriminatorMode=' + this.i63_1.toString() + ')');
|
|
413
413
|
};
|
|
414
414
|
var ClassDiscriminatorMode_NONE_instance;
|
|
415
415
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -459,7 +459,7 @@ function JsonPrimitive() {
|
|
|
459
459
|
JsonElement.call(this);
|
|
460
460
|
}
|
|
461
461
|
protoOf(JsonPrimitive).toString = function () {
|
|
462
|
-
return this.
|
|
462
|
+
return this.n4c();
|
|
463
463
|
};
|
|
464
464
|
function Companion_1() {
|
|
465
465
|
}
|
|
@@ -482,39 +482,39 @@ function JsonObject$toString$lambda(_destruct__k2r9zo) {
|
|
|
482
482
|
}
|
|
483
483
|
function JsonObject(content) {
|
|
484
484
|
JsonElement.call(this);
|
|
485
|
-
this.
|
|
485
|
+
this.m63_1 = content;
|
|
486
486
|
}
|
|
487
487
|
protoOf(JsonObject).equals = function (other) {
|
|
488
|
-
return equals(this.
|
|
488
|
+
return equals(this.m63_1, other);
|
|
489
489
|
};
|
|
490
490
|
protoOf(JsonObject).hashCode = function () {
|
|
491
|
-
return hashCode(this.
|
|
491
|
+
return hashCode(this.m63_1);
|
|
492
492
|
};
|
|
493
493
|
protoOf(JsonObject).toString = function () {
|
|
494
|
-
var tmp = this.
|
|
494
|
+
var tmp = this.m63_1.l1();
|
|
495
495
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
496
496
|
};
|
|
497
497
|
protoOf(JsonObject).r = function () {
|
|
498
|
-
return this.
|
|
498
|
+
return this.m63_1.r();
|
|
499
499
|
};
|
|
500
500
|
protoOf(JsonObject).m35 = function (key) {
|
|
501
|
-
return this.
|
|
501
|
+
return this.m63_1.x2(key);
|
|
502
502
|
};
|
|
503
503
|
protoOf(JsonObject).x2 = function (key) {
|
|
504
504
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
505
505
|
return false;
|
|
506
506
|
return this.m35((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
507
507
|
};
|
|
508
|
-
protoOf(JsonObject).
|
|
509
|
-
return this.
|
|
508
|
+
protoOf(JsonObject).n63 = function (value) {
|
|
509
|
+
return this.m63_1.y2(value);
|
|
510
510
|
};
|
|
511
511
|
protoOf(JsonObject).y2 = function (value) {
|
|
512
512
|
if (!(value instanceof JsonElement))
|
|
513
513
|
return false;
|
|
514
|
-
return this.
|
|
514
|
+
return this.n63(value instanceof JsonElement ? value : THROW_CCE());
|
|
515
515
|
};
|
|
516
516
|
protoOf(JsonObject).o35 = function (key) {
|
|
517
|
-
return this.
|
|
517
|
+
return this.m63_1.z2(key);
|
|
518
518
|
};
|
|
519
519
|
protoOf(JsonObject).z2 = function (key) {
|
|
520
520
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
@@ -522,19 +522,19 @@ protoOf(JsonObject).z2 = function (key) {
|
|
|
522
522
|
return this.o35((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
523
523
|
};
|
|
524
524
|
protoOf(JsonObject).asJsReadonlyMapView = function () {
|
|
525
|
-
return this.
|
|
525
|
+
return this.m63_1.asJsReadonlyMapView();
|
|
526
526
|
};
|
|
527
527
|
protoOf(JsonObject).g1 = function () {
|
|
528
|
-
return this.
|
|
528
|
+
return this.m63_1.g1();
|
|
529
529
|
};
|
|
530
530
|
protoOf(JsonObject).a3 = function () {
|
|
531
|
-
return this.
|
|
531
|
+
return this.m63_1.a3();
|
|
532
532
|
};
|
|
533
533
|
protoOf(JsonObject).b3 = function () {
|
|
534
|
-
return this.
|
|
534
|
+
return this.m63_1.b3();
|
|
535
535
|
};
|
|
536
536
|
protoOf(JsonObject).l1 = function () {
|
|
537
|
-
return this.
|
|
537
|
+
return this.m63_1.l1();
|
|
538
538
|
};
|
|
539
539
|
function Companion_2() {
|
|
540
540
|
}
|
|
@@ -544,87 +544,87 @@ function Companion_getInstance_6() {
|
|
|
544
544
|
}
|
|
545
545
|
function JsonArray(content) {
|
|
546
546
|
JsonElement.call(this);
|
|
547
|
-
this.
|
|
547
|
+
this.o63_1 = content;
|
|
548
548
|
}
|
|
549
549
|
protoOf(JsonArray).equals = function (other) {
|
|
550
|
-
return equals(this.
|
|
550
|
+
return equals(this.o63_1, other);
|
|
551
551
|
};
|
|
552
552
|
protoOf(JsonArray).hashCode = function () {
|
|
553
|
-
return hashCode(this.
|
|
553
|
+
return hashCode(this.o63_1);
|
|
554
554
|
};
|
|
555
555
|
protoOf(JsonArray).toString = function () {
|
|
556
|
-
return joinToString(this.
|
|
556
|
+
return joinToString(this.o63_1, ',', '[', ']');
|
|
557
557
|
};
|
|
558
558
|
protoOf(JsonArray).r = function () {
|
|
559
|
-
return this.
|
|
559
|
+
return this.o63_1.r();
|
|
560
560
|
};
|
|
561
|
-
protoOf(JsonArray).
|
|
562
|
-
return this.
|
|
561
|
+
protoOf(JsonArray).p63 = function (element) {
|
|
562
|
+
return this.o63_1.q2(element);
|
|
563
563
|
};
|
|
564
564
|
protoOf(JsonArray).q2 = function (element) {
|
|
565
565
|
if (!(element instanceof JsonElement))
|
|
566
566
|
return false;
|
|
567
|
-
return this.
|
|
567
|
+
return this.p63(element instanceof JsonElement ? element : THROW_CCE());
|
|
568
568
|
};
|
|
569
569
|
protoOf(JsonArray).t = function () {
|
|
570
|
-
return this.
|
|
570
|
+
return this.o63_1.t();
|
|
571
571
|
};
|
|
572
|
-
protoOf(JsonArray).
|
|
573
|
-
return this.
|
|
572
|
+
protoOf(JsonArray).q63 = function (elements) {
|
|
573
|
+
return this.o63_1.r2(elements);
|
|
574
574
|
};
|
|
575
575
|
protoOf(JsonArray).r2 = function (elements) {
|
|
576
|
-
return this.
|
|
576
|
+
return this.q63(elements);
|
|
577
577
|
};
|
|
578
578
|
protoOf(JsonArray).h1 = function (index) {
|
|
579
|
-
return this.
|
|
579
|
+
return this.o63_1.h1(index);
|
|
580
580
|
};
|
|
581
|
-
protoOf(JsonArray).
|
|
582
|
-
return this.
|
|
581
|
+
protoOf(JsonArray).r63 = function (element) {
|
|
582
|
+
return this.o63_1.s2(element);
|
|
583
583
|
};
|
|
584
584
|
protoOf(JsonArray).s2 = function (element) {
|
|
585
585
|
if (!(element instanceof JsonElement))
|
|
586
586
|
return -1;
|
|
587
|
-
return this.
|
|
587
|
+
return this.r63(element instanceof JsonElement ? element : THROW_CCE());
|
|
588
588
|
};
|
|
589
|
-
protoOf(JsonArray).
|
|
590
|
-
return this.
|
|
589
|
+
protoOf(JsonArray).s63 = function (element) {
|
|
590
|
+
return this.o63_1.t2(element);
|
|
591
591
|
};
|
|
592
592
|
protoOf(JsonArray).t2 = function (element) {
|
|
593
593
|
if (!(element instanceof JsonElement))
|
|
594
594
|
return -1;
|
|
595
|
-
return this.
|
|
595
|
+
return this.s63(element instanceof JsonElement ? element : THROW_CCE());
|
|
596
596
|
};
|
|
597
597
|
protoOf(JsonArray).u2 = function () {
|
|
598
|
-
return this.
|
|
598
|
+
return this.o63_1.u2();
|
|
599
599
|
};
|
|
600
600
|
protoOf(JsonArray).i1 = function (index) {
|
|
601
|
-
return this.
|
|
601
|
+
return this.o63_1.i1(index);
|
|
602
602
|
};
|
|
603
603
|
protoOf(JsonArray).v2 = function (fromIndex, toIndex) {
|
|
604
|
-
return this.
|
|
604
|
+
return this.o63_1.v2(fromIndex, toIndex);
|
|
605
605
|
};
|
|
606
606
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
607
|
-
return this.
|
|
607
|
+
return this.o63_1.asJsReadonlyArrayView();
|
|
608
608
|
};
|
|
609
609
|
protoOf(JsonArray).g1 = function () {
|
|
610
|
-
return this.
|
|
610
|
+
return this.o63_1.g1();
|
|
611
611
|
};
|
|
612
612
|
function JsonNull() {
|
|
613
613
|
JsonNull_instance = this;
|
|
614
614
|
JsonPrimitive.call(this);
|
|
615
|
-
this.
|
|
615
|
+
this.t63_1 = 'null';
|
|
616
616
|
}
|
|
617
|
-
protoOf(JsonNull).
|
|
617
|
+
protoOf(JsonNull).l63 = function () {
|
|
618
618
|
return false;
|
|
619
619
|
};
|
|
620
|
-
protoOf(JsonNull).
|
|
621
|
-
return this.
|
|
620
|
+
protoOf(JsonNull).n4c = function () {
|
|
621
|
+
return this.t63_1;
|
|
622
622
|
};
|
|
623
|
-
protoOf(JsonNull).
|
|
623
|
+
protoOf(JsonNull).u63 = function () {
|
|
624
624
|
return JsonNullSerializer_getInstance();
|
|
625
625
|
};
|
|
626
626
|
protoOf(JsonNull).e15 = function (typeParamsSerializers) {
|
|
627
|
-
return this.
|
|
627
|
+
return this.u63();
|
|
628
628
|
};
|
|
629
629
|
var JsonNull_instance;
|
|
630
630
|
function JsonNull_getInstance() {
|
|
@@ -635,34 +635,34 @@ function JsonNull_getInstance() {
|
|
|
635
635
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
636
636
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
637
637
|
JsonPrimitive.call(this);
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
641
|
-
if (!(this.
|
|
638
|
+
this.v63_1 = isString;
|
|
639
|
+
this.w63_1 = coerceToInlineType;
|
|
640
|
+
this.x63_1 = toString(body);
|
|
641
|
+
if (!(this.w63_1 == null)) {
|
|
642
642
|
// Inline function 'kotlin.require' call
|
|
643
643
|
// Inline function 'kotlin.require' call
|
|
644
|
-
if (!this.
|
|
644
|
+
if (!this.w63_1.xu()) {
|
|
645
645
|
var message = 'Failed requirement.';
|
|
646
646
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
protoOf(JsonLiteral).
|
|
651
|
-
return this.
|
|
650
|
+
protoOf(JsonLiteral).l63 = function () {
|
|
651
|
+
return this.v63_1;
|
|
652
652
|
};
|
|
653
|
-
protoOf(JsonLiteral).
|
|
654
|
-
return this.
|
|
653
|
+
protoOf(JsonLiteral).n4c = function () {
|
|
654
|
+
return this.x63_1;
|
|
655
655
|
};
|
|
656
656
|
protoOf(JsonLiteral).toString = function () {
|
|
657
657
|
var tmp;
|
|
658
|
-
if (this.
|
|
658
|
+
if (this.v63_1) {
|
|
659
659
|
// Inline function 'kotlin.text.buildString' call
|
|
660
660
|
// Inline function 'kotlin.apply' call
|
|
661
661
|
var this_0 = StringBuilder_init_$Create$();
|
|
662
|
-
printQuoted(this_0, this.
|
|
662
|
+
printQuoted(this_0, this.x63_1);
|
|
663
663
|
tmp = this_0.toString();
|
|
664
664
|
} else {
|
|
665
|
-
tmp = this.
|
|
665
|
+
tmp = this.x63_1;
|
|
666
666
|
}
|
|
667
667
|
return tmp;
|
|
668
668
|
};
|
|
@@ -673,36 +673,36 @@ protoOf(JsonLiteral).equals = function (other) {
|
|
|
673
673
|
return false;
|
|
674
674
|
if (!(other instanceof JsonLiteral))
|
|
675
675
|
THROW_CCE();
|
|
676
|
-
if (!(this.
|
|
676
|
+
if (!(this.v63_1 === other.v63_1))
|
|
677
677
|
return false;
|
|
678
|
-
if (!(this.
|
|
678
|
+
if (!(this.x63_1 === other.x63_1))
|
|
679
679
|
return false;
|
|
680
680
|
return true;
|
|
681
681
|
};
|
|
682
682
|
protoOf(JsonLiteral).hashCode = function () {
|
|
683
|
-
var result = getBooleanHashCode(this.
|
|
684
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
683
|
+
var result = getBooleanHashCode(this.v63_1);
|
|
684
|
+
result = imul(31, result) + getStringHashCode(this.x63_1) | 0;
|
|
685
685
|
return result;
|
|
686
686
|
};
|
|
687
687
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
688
688
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
689
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
689
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.n4c());
|
|
690
690
|
}
|
|
691
691
|
function parseLongImpl(_this__u8e3s4) {
|
|
692
692
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
693
|
-
return (new StringJsonLexer(_this__u8e3s4.
|
|
693
|
+
return (new StringJsonLexer(_this__u8e3s4.n4c())).y63();
|
|
694
694
|
}
|
|
695
695
|
function get_float(_this__u8e3s4) {
|
|
696
696
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
697
697
|
// Inline function 'kotlin.text.toFloat' call
|
|
698
|
-
var this_0 = _this__u8e3s4.
|
|
698
|
+
var this_0 = _this__u8e3s4.n4c();
|
|
699
699
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
700
700
|
// Inline function 'kotlin.js.asDynamic' call
|
|
701
701
|
return toDouble(this_0);
|
|
702
702
|
}
|
|
703
703
|
function get_double(_this__u8e3s4) {
|
|
704
704
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
705
|
-
return toDouble(_this__u8e3s4.
|
|
705
|
+
return toDouble(_this__u8e3s4.n4c());
|
|
706
706
|
}
|
|
707
707
|
function get_contentOrNull(_this__u8e3s4) {
|
|
708
708
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -710,7 +710,7 @@ function get_contentOrNull(_this__u8e3s4) {
|
|
|
710
710
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
711
711
|
tmp = null;
|
|
712
712
|
} else {
|
|
713
|
-
tmp = _this__u8e3s4.
|
|
713
|
+
tmp = _this__u8e3s4.n4c();
|
|
714
714
|
}
|
|
715
715
|
return tmp;
|
|
716
716
|
}
|
|
@@ -756,13 +756,13 @@ function _init_properties_JsonElement_kt__7cbdc2() {
|
|
|
756
756
|
function JsonObjectBuilder() {
|
|
757
757
|
var tmp = this;
|
|
758
758
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
759
|
-
tmp.
|
|
759
|
+
tmp.z63_1 = LinkedHashMap_init_$Create$();
|
|
760
760
|
}
|
|
761
|
-
protoOf(JsonObjectBuilder).
|
|
762
|
-
return this.
|
|
761
|
+
protoOf(JsonObjectBuilder).a64 = function (key, element) {
|
|
762
|
+
return this.z63_1.c3(key, element);
|
|
763
763
|
};
|
|
764
|
-
protoOf(JsonObjectBuilder).
|
|
765
|
-
return new JsonObject(this.
|
|
764
|
+
protoOf(JsonObjectBuilder).r62 = function () {
|
|
765
|
+
return new JsonObject(this.z63_1);
|
|
766
766
|
};
|
|
767
767
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
768
768
|
$this$buildSerialDescriptor.rt('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
@@ -773,30 +773,30 @@ function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
|
773
773
|
return Unit_instance;
|
|
774
774
|
}
|
|
775
775
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
776
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
776
|
+
return JsonPrimitiveSerializer_getInstance().b64_1;
|
|
777
777
|
}
|
|
778
778
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
779
|
-
return JsonNullSerializer_getInstance().
|
|
779
|
+
return JsonNullSerializer_getInstance().c64_1;
|
|
780
780
|
}
|
|
781
781
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
782
|
-
return JsonLiteralSerializer_getInstance().
|
|
782
|
+
return JsonLiteralSerializer_getInstance().d64_1;
|
|
783
783
|
}
|
|
784
784
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
785
|
-
return JsonObjectSerializer_getInstance().
|
|
785
|
+
return JsonObjectSerializer_getInstance().e64_1;
|
|
786
786
|
}
|
|
787
787
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
788
|
-
return JsonArraySerializer_getInstance().
|
|
788
|
+
return JsonArraySerializer_getInstance().f64_1;
|
|
789
789
|
}
|
|
790
790
|
function JsonElementSerializer() {
|
|
791
791
|
JsonElementSerializer_instance = this;
|
|
792
792
|
var tmp = this;
|
|
793
793
|
var tmp_0 = SEALED_getInstance();
|
|
794
|
-
tmp.
|
|
794
|
+
tmp.g64_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
795
795
|
}
|
|
796
796
|
protoOf(JsonElementSerializer).ys = function () {
|
|
797
|
-
return this.
|
|
797
|
+
return this.g64_1;
|
|
798
798
|
};
|
|
799
|
-
protoOf(JsonElementSerializer).
|
|
799
|
+
protoOf(JsonElementSerializer).h64 = function (encoder, value) {
|
|
800
800
|
verify(encoder);
|
|
801
801
|
if (value instanceof JsonPrimitive) {
|
|
802
802
|
encoder.kt(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -813,11 +813,11 @@ protoOf(JsonElementSerializer).g64 = function (encoder, value) {
|
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
815
|
protoOf(JsonElementSerializer).lt = function (encoder, value) {
|
|
816
|
-
return this.
|
|
816
|
+
return this.h64(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
817
817
|
};
|
|
818
818
|
protoOf(JsonElementSerializer).mt = function (decoder) {
|
|
819
819
|
var input = asJsonDecoder(decoder);
|
|
820
|
-
return input.
|
|
820
|
+
return input.k63();
|
|
821
821
|
};
|
|
822
822
|
var JsonElementSerializer_instance;
|
|
823
823
|
function JsonElementSerializer_getInstance() {
|
|
@@ -830,12 +830,12 @@ function defer(deferred) {
|
|
|
830
830
|
}
|
|
831
831
|
function JsonPrimitiveSerializer() {
|
|
832
832
|
JsonPrimitiveSerializer_instance = this;
|
|
833
|
-
this.
|
|
833
|
+
this.b64_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
834
834
|
}
|
|
835
835
|
protoOf(JsonPrimitiveSerializer).ys = function () {
|
|
836
|
-
return this.
|
|
836
|
+
return this.b64_1;
|
|
837
837
|
};
|
|
838
|
-
protoOf(JsonPrimitiveSerializer).
|
|
838
|
+
protoOf(JsonPrimitiveSerializer).i64 = function (encoder, value) {
|
|
839
839
|
verify(encoder);
|
|
840
840
|
var tmp;
|
|
841
841
|
if (value instanceof JsonNull) {
|
|
@@ -849,10 +849,10 @@ protoOf(JsonPrimitiveSerializer).h64 = function (encoder, value) {
|
|
|
849
849
|
return tmp;
|
|
850
850
|
};
|
|
851
851
|
protoOf(JsonPrimitiveSerializer).lt = function (encoder, value) {
|
|
852
|
-
return this.
|
|
852
|
+
return this.i64(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
853
853
|
};
|
|
854
854
|
protoOf(JsonPrimitiveSerializer).mt = function (decoder) {
|
|
855
|
-
var result = asJsonDecoder(decoder).
|
|
855
|
+
var result = asJsonDecoder(decoder).k63();
|
|
856
856
|
if (!(result instanceof JsonPrimitive))
|
|
857
857
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
858
858
|
return result;
|
|
@@ -865,17 +865,17 @@ function JsonPrimitiveSerializer_getInstance() {
|
|
|
865
865
|
}
|
|
866
866
|
function JsonNullSerializer() {
|
|
867
867
|
JsonNullSerializer_instance = this;
|
|
868
|
-
this.
|
|
868
|
+
this.c64_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
869
869
|
}
|
|
870
870
|
protoOf(JsonNullSerializer).ys = function () {
|
|
871
|
-
return this.
|
|
871
|
+
return this.c64_1;
|
|
872
872
|
};
|
|
873
|
-
protoOf(JsonNullSerializer).
|
|
873
|
+
protoOf(JsonNullSerializer).j64 = function (encoder, value) {
|
|
874
874
|
verify(encoder);
|
|
875
875
|
encoder.ix();
|
|
876
876
|
};
|
|
877
877
|
protoOf(JsonNullSerializer).lt = function (encoder, value) {
|
|
878
|
-
return this.
|
|
878
|
+
return this.j64(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
879
879
|
};
|
|
880
880
|
protoOf(JsonNullSerializer).mt = function (decoder) {
|
|
881
881
|
verify_0(decoder);
|
|
@@ -893,27 +893,27 @@ function JsonNullSerializer_getInstance() {
|
|
|
893
893
|
}
|
|
894
894
|
function JsonLiteralSerializer() {
|
|
895
895
|
JsonLiteralSerializer_instance = this;
|
|
896
|
-
this.
|
|
896
|
+
this.d64_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
897
897
|
}
|
|
898
898
|
protoOf(JsonLiteralSerializer).ys = function () {
|
|
899
|
-
return this.
|
|
899
|
+
return this.d64_1;
|
|
900
900
|
};
|
|
901
|
-
protoOf(JsonLiteralSerializer).
|
|
901
|
+
protoOf(JsonLiteralSerializer).k64 = function (encoder, value) {
|
|
902
902
|
verify(encoder);
|
|
903
|
-
if (value.
|
|
904
|
-
return encoder.rx(value.
|
|
903
|
+
if (value.v63_1) {
|
|
904
|
+
return encoder.rx(value.x63_1);
|
|
905
905
|
}
|
|
906
|
-
if (!(value.
|
|
907
|
-
return encoder.tx(value.
|
|
906
|
+
if (!(value.w63_1 == null)) {
|
|
907
|
+
return encoder.tx(value.w63_1).rx(value.x63_1);
|
|
908
908
|
}
|
|
909
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
909
|
+
var tmp0_safe_receiver = toLongOrNull(value.x63_1);
|
|
910
910
|
if (tmp0_safe_receiver == null)
|
|
911
911
|
null;
|
|
912
912
|
else {
|
|
913
913
|
// Inline function 'kotlin.let' call
|
|
914
914
|
return encoder.nx(tmp0_safe_receiver);
|
|
915
915
|
}
|
|
916
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
916
|
+
var tmp1_safe_receiver = toULongOrNull(value.x63_1);
|
|
917
917
|
var tmp = tmp1_safe_receiver;
|
|
918
918
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
919
919
|
null;
|
|
@@ -927,27 +927,27 @@ protoOf(JsonLiteralSerializer).j64 = function (encoder, value) {
|
|
|
927
927
|
tmp_1.nx(tmp$ret$1);
|
|
928
928
|
return Unit_instance;
|
|
929
929
|
}
|
|
930
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
930
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.x63_1);
|
|
931
931
|
if (tmp2_safe_receiver == null)
|
|
932
932
|
null;
|
|
933
933
|
else {
|
|
934
934
|
// Inline function 'kotlin.let' call
|
|
935
935
|
return encoder.px(tmp2_safe_receiver);
|
|
936
936
|
}
|
|
937
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
937
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.x63_1);
|
|
938
938
|
if (tmp3_safe_receiver == null)
|
|
939
939
|
null;
|
|
940
940
|
else {
|
|
941
941
|
// Inline function 'kotlin.let' call
|
|
942
942
|
return encoder.jx(tmp3_safe_receiver);
|
|
943
943
|
}
|
|
944
|
-
encoder.rx(value.
|
|
944
|
+
encoder.rx(value.x63_1);
|
|
945
945
|
};
|
|
946
946
|
protoOf(JsonLiteralSerializer).lt = function (encoder, value) {
|
|
947
|
-
return this.
|
|
947
|
+
return this.k64(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
948
948
|
};
|
|
949
949
|
protoOf(JsonLiteralSerializer).mt = function (decoder) {
|
|
950
|
-
var result = asJsonDecoder(decoder).
|
|
950
|
+
var result = asJsonDecoder(decoder).k63();
|
|
951
951
|
if (!(result instanceof JsonLiteral))
|
|
952
952
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
953
953
|
return result;
|
|
@@ -960,41 +960,41 @@ function JsonLiteralSerializer_getInstance() {
|
|
|
960
960
|
}
|
|
961
961
|
function JsonObjectDescriptor() {
|
|
962
962
|
JsonObjectDescriptor_instance = this;
|
|
963
|
-
this.
|
|
964
|
-
this.
|
|
963
|
+
this.l64_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).ys();
|
|
964
|
+
this.m64_1 = 'kotlinx.serialization.json.JsonObject';
|
|
965
965
|
}
|
|
966
966
|
protoOf(JsonObjectDescriptor).du = function () {
|
|
967
|
-
return this.
|
|
967
|
+
return this.m64_1;
|
|
968
968
|
};
|
|
969
969
|
protoOf(JsonObjectDescriptor).zu = function (index) {
|
|
970
|
-
return this.
|
|
970
|
+
return this.l64_1.zu(index);
|
|
971
971
|
};
|
|
972
972
|
protoOf(JsonObjectDescriptor).av = function (name) {
|
|
973
|
-
return this.
|
|
973
|
+
return this.l64_1.av(name);
|
|
974
974
|
};
|
|
975
975
|
protoOf(JsonObjectDescriptor).bv = function (index) {
|
|
976
|
-
return this.
|
|
976
|
+
return this.l64_1.bv(index);
|
|
977
977
|
};
|
|
978
978
|
protoOf(JsonObjectDescriptor).cv = function (index) {
|
|
979
|
-
return this.
|
|
979
|
+
return this.l64_1.cv(index);
|
|
980
980
|
};
|
|
981
981
|
protoOf(JsonObjectDescriptor).dv = function (index) {
|
|
982
|
-
return this.
|
|
982
|
+
return this.l64_1.dv(index);
|
|
983
983
|
};
|
|
984
984
|
protoOf(JsonObjectDescriptor).wu = function () {
|
|
985
|
-
return this.
|
|
985
|
+
return this.l64_1.wu();
|
|
986
986
|
};
|
|
987
987
|
protoOf(JsonObjectDescriptor).pu = function () {
|
|
988
|
-
return this.
|
|
988
|
+
return this.l64_1.pu();
|
|
989
989
|
};
|
|
990
990
|
protoOf(JsonObjectDescriptor).xu = function () {
|
|
991
|
-
return this.
|
|
991
|
+
return this.l64_1.xu();
|
|
992
992
|
};
|
|
993
993
|
protoOf(JsonObjectDescriptor).yu = function () {
|
|
994
|
-
return this.
|
|
994
|
+
return this.l64_1.yu();
|
|
995
995
|
};
|
|
996
996
|
protoOf(JsonObjectDescriptor).zs = function () {
|
|
997
|
-
return this.
|
|
997
|
+
return this.l64_1.zs();
|
|
998
998
|
};
|
|
999
999
|
var JsonObjectDescriptor_instance;
|
|
1000
1000
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -1004,17 +1004,17 @@ function JsonObjectDescriptor_getInstance() {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
function JsonObjectSerializer() {
|
|
1006
1006
|
JsonObjectSerializer_instance = this;
|
|
1007
|
-
this.
|
|
1007
|
+
this.e64_1 = JsonObjectDescriptor_getInstance();
|
|
1008
1008
|
}
|
|
1009
1009
|
protoOf(JsonObjectSerializer).ys = function () {
|
|
1010
|
-
return this.
|
|
1010
|
+
return this.e64_1;
|
|
1011
1011
|
};
|
|
1012
|
-
protoOf(JsonObjectSerializer).
|
|
1012
|
+
protoOf(JsonObjectSerializer).n64 = function (encoder, value) {
|
|
1013
1013
|
verify(encoder);
|
|
1014
1014
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).lt(encoder, value);
|
|
1015
1015
|
};
|
|
1016
1016
|
protoOf(JsonObjectSerializer).lt = function (encoder, value) {
|
|
1017
|
-
return this.
|
|
1017
|
+
return this.n64(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
1018
1018
|
};
|
|
1019
1019
|
protoOf(JsonObjectSerializer).mt = function (decoder) {
|
|
1020
1020
|
verify_0(decoder);
|
|
@@ -1028,41 +1028,41 @@ function JsonObjectSerializer_getInstance() {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
function JsonArrayDescriptor() {
|
|
1030
1030
|
JsonArrayDescriptor_instance = this;
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1031
|
+
this.o64_1 = ListSerializer(JsonElementSerializer_getInstance()).ys();
|
|
1032
|
+
this.p64_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1033
1033
|
}
|
|
1034
1034
|
protoOf(JsonArrayDescriptor).du = function () {
|
|
1035
|
-
return this.
|
|
1035
|
+
return this.p64_1;
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(JsonArrayDescriptor).zu = function (index) {
|
|
1038
|
-
return this.
|
|
1038
|
+
return this.o64_1.zu(index);
|
|
1039
1039
|
};
|
|
1040
1040
|
protoOf(JsonArrayDescriptor).av = function (name) {
|
|
1041
|
-
return this.
|
|
1041
|
+
return this.o64_1.av(name);
|
|
1042
1042
|
};
|
|
1043
1043
|
protoOf(JsonArrayDescriptor).bv = function (index) {
|
|
1044
|
-
return this.
|
|
1044
|
+
return this.o64_1.bv(index);
|
|
1045
1045
|
};
|
|
1046
1046
|
protoOf(JsonArrayDescriptor).cv = function (index) {
|
|
1047
|
-
return this.
|
|
1047
|
+
return this.o64_1.cv(index);
|
|
1048
1048
|
};
|
|
1049
1049
|
protoOf(JsonArrayDescriptor).dv = function (index) {
|
|
1050
|
-
return this.
|
|
1050
|
+
return this.o64_1.dv(index);
|
|
1051
1051
|
};
|
|
1052
1052
|
protoOf(JsonArrayDescriptor).wu = function () {
|
|
1053
|
-
return this.
|
|
1053
|
+
return this.o64_1.wu();
|
|
1054
1054
|
};
|
|
1055
1055
|
protoOf(JsonArrayDescriptor).pu = function () {
|
|
1056
|
-
return this.
|
|
1056
|
+
return this.o64_1.pu();
|
|
1057
1057
|
};
|
|
1058
1058
|
protoOf(JsonArrayDescriptor).xu = function () {
|
|
1059
|
-
return this.
|
|
1059
|
+
return this.o64_1.xu();
|
|
1060
1060
|
};
|
|
1061
1061
|
protoOf(JsonArrayDescriptor).yu = function () {
|
|
1062
|
-
return this.
|
|
1062
|
+
return this.o64_1.yu();
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(JsonArrayDescriptor).zs = function () {
|
|
1065
|
-
return this.
|
|
1065
|
+
return this.o64_1.zs();
|
|
1066
1066
|
};
|
|
1067
1067
|
var JsonArrayDescriptor_instance;
|
|
1068
1068
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -1072,17 +1072,17 @@ function JsonArrayDescriptor_getInstance() {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
function JsonArraySerializer() {
|
|
1074
1074
|
JsonArraySerializer_instance = this;
|
|
1075
|
-
this.
|
|
1075
|
+
this.f64_1 = JsonArrayDescriptor_getInstance();
|
|
1076
1076
|
}
|
|
1077
1077
|
protoOf(JsonArraySerializer).ys = function () {
|
|
1078
|
-
return this.
|
|
1078
|
+
return this.f64_1;
|
|
1079
1079
|
};
|
|
1080
|
-
protoOf(JsonArraySerializer).
|
|
1080
|
+
protoOf(JsonArraySerializer).q64 = function (encoder, value) {
|
|
1081
1081
|
verify(encoder);
|
|
1082
1082
|
ListSerializer(JsonElementSerializer_getInstance()).lt(encoder, value);
|
|
1083
1083
|
};
|
|
1084
1084
|
protoOf(JsonArraySerializer).lt = function (encoder, value) {
|
|
1085
|
-
return this.
|
|
1085
|
+
return this.q64(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1086
1086
|
};
|
|
1087
1087
|
protoOf(JsonArraySerializer).mt = function (decoder) {
|
|
1088
1088
|
verify_0(decoder);
|
|
@@ -1121,7 +1121,7 @@ function asJsonEncoder(_this__u8e3s4) {
|
|
|
1121
1121
|
return tmp;
|
|
1122
1122
|
}
|
|
1123
1123
|
function _get_original__l7ku1m($this) {
|
|
1124
|
-
var tmp0 = $this.
|
|
1124
|
+
var tmp0 = $this.r64_1;
|
|
1125
1125
|
var tmp = KProperty1;
|
|
1126
1126
|
// Inline function 'kotlin.getValue' call
|
|
1127
1127
|
getPropertyCallableRef('original', 1, tmp, defer$o$_get_original_$ref_3cje7k(), null);
|
|
@@ -1133,7 +1133,7 @@ function defer$o$_get_original_$ref_3cje7k() {
|
|
|
1133
1133
|
};
|
|
1134
1134
|
}
|
|
1135
1135
|
function defer$1($deferred) {
|
|
1136
|
-
this.
|
|
1136
|
+
this.r64_1 = lazy($deferred);
|
|
1137
1137
|
}
|
|
1138
1138
|
protoOf(defer$1).du = function () {
|
|
1139
1139
|
return _get_original__l7ku1m(this).du();
|
|
@@ -1162,155 +1162,155 @@ protoOf(defer$1).dv = function (index) {
|
|
|
1162
1162
|
function JsonEncoder() {
|
|
1163
1163
|
}
|
|
1164
1164
|
function Composer(writer) {
|
|
1165
|
-
this.
|
|
1166
|
-
this.
|
|
1165
|
+
this.s64_1 = writer;
|
|
1166
|
+
this.t64_1 = true;
|
|
1167
1167
|
}
|
|
1168
|
-
protoOf(Composer).t64 = function () {
|
|
1169
|
-
this.s64_1 = true;
|
|
1170
|
-
};
|
|
1171
1168
|
protoOf(Composer).u64 = function () {
|
|
1172
|
-
|
|
1169
|
+
this.t64_1 = true;
|
|
1173
1170
|
};
|
|
1174
1171
|
protoOf(Composer).v64 = function () {
|
|
1175
|
-
|
|
1172
|
+
return Unit_instance;
|
|
1176
1173
|
};
|
|
1177
1174
|
protoOf(Composer).w64 = function () {
|
|
1178
|
-
this.
|
|
1175
|
+
this.t64_1 = false;
|
|
1179
1176
|
};
|
|
1180
1177
|
protoOf(Composer).x64 = function () {
|
|
1181
|
-
|
|
1178
|
+
this.t64_1 = false;
|
|
1182
1179
|
};
|
|
1183
|
-
protoOf(Composer).y64 = function (
|
|
1184
|
-
return
|
|
1180
|
+
protoOf(Composer).y64 = function () {
|
|
1181
|
+
return Unit_instance;
|
|
1185
1182
|
};
|
|
1186
|
-
protoOf(Composer).
|
|
1187
|
-
return this.
|
|
1183
|
+
protoOf(Composer).z64 = function (v) {
|
|
1184
|
+
return this.s64_1.a65(v);
|
|
1188
1185
|
};
|
|
1189
|
-
protoOf(Composer).
|
|
1190
|
-
return this.
|
|
1186
|
+
protoOf(Composer).b65 = function (v) {
|
|
1187
|
+
return this.s64_1.c65(v);
|
|
1191
1188
|
};
|
|
1192
1189
|
protoOf(Composer).d65 = function (v) {
|
|
1193
|
-
return this.
|
|
1190
|
+
return this.s64_1.c65(v.toString());
|
|
1194
1191
|
};
|
|
1195
1192
|
protoOf(Composer).e65 = function (v) {
|
|
1196
|
-
return this.
|
|
1193
|
+
return this.s64_1.c65(v.toString());
|
|
1197
1194
|
};
|
|
1198
|
-
protoOf(Composer).
|
|
1199
|
-
return this.
|
|
1195
|
+
protoOf(Composer).f65 = function (v) {
|
|
1196
|
+
return this.s64_1.g65(fromInt(v));
|
|
1200
1197
|
};
|
|
1201
1198
|
protoOf(Composer).h65 = function (v) {
|
|
1202
|
-
return this.
|
|
1199
|
+
return this.s64_1.g65(fromInt(v));
|
|
1203
1200
|
};
|
|
1204
1201
|
protoOf(Composer).i65 = function (v) {
|
|
1205
|
-
return this.
|
|
1202
|
+
return this.s64_1.g65(fromInt(v));
|
|
1206
1203
|
};
|
|
1207
1204
|
protoOf(Composer).j65 = function (v) {
|
|
1208
|
-
return this.
|
|
1205
|
+
return this.s64_1.g65(v);
|
|
1206
|
+
};
|
|
1207
|
+
protoOf(Composer).k65 = function (v) {
|
|
1208
|
+
return this.s64_1.c65(v.toString());
|
|
1209
1209
|
};
|
|
1210
|
-
protoOf(Composer).
|
|
1211
|
-
return this.
|
|
1210
|
+
protoOf(Composer).l65 = function (value) {
|
|
1211
|
+
return this.s64_1.m65(value);
|
|
1212
1212
|
};
|
|
1213
1213
|
function Composer_0(sb, json) {
|
|
1214
|
-
return json.
|
|
1214
|
+
return json.h61_1.w62_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1215
1215
|
}
|
|
1216
1216
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1217
1217
|
Composer.call(this, writer);
|
|
1218
|
-
this.
|
|
1218
|
+
this.p65_1 = forceQuoting;
|
|
1219
1219
|
}
|
|
1220
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1221
|
-
if (this.
|
|
1220
|
+
protoOf(ComposerForUnsignedNumbers).i65 = function (v) {
|
|
1221
|
+
if (this.p65_1) {
|
|
1222
1222
|
// Inline function 'kotlin.toUInt' call
|
|
1223
1223
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1224
|
-
this.
|
|
1224
|
+
this.l65(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1225
1225
|
} else {
|
|
1226
1226
|
// Inline function 'kotlin.toUInt' call
|
|
1227
1227
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1228
|
-
this.
|
|
1228
|
+
this.b65(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1229
1229
|
}
|
|
1230
1230
|
};
|
|
1231
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1232
|
-
if (this.
|
|
1231
|
+
protoOf(ComposerForUnsignedNumbers).j65 = function (v) {
|
|
1232
|
+
if (this.p65_1) {
|
|
1233
1233
|
// Inline function 'kotlin.toULong' call
|
|
1234
1234
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1235
|
-
this.
|
|
1235
|
+
this.l65(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1236
1236
|
} else {
|
|
1237
1237
|
// Inline function 'kotlin.toULong' call
|
|
1238
1238
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1239
|
-
this.
|
|
1239
|
+
this.b65(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1240
1240
|
}
|
|
1241
1241
|
};
|
|
1242
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1243
|
-
if (this.
|
|
1242
|
+
protoOf(ComposerForUnsignedNumbers).f65 = function (v) {
|
|
1243
|
+
if (this.p65_1) {
|
|
1244
1244
|
// Inline function 'kotlin.toUByte' call
|
|
1245
1245
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1246
|
-
this.
|
|
1246
|
+
this.l65(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1247
1247
|
} else {
|
|
1248
1248
|
// Inline function 'kotlin.toUByte' call
|
|
1249
1249
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1250
|
-
this.
|
|
1250
|
+
this.b65(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1251
1251
|
}
|
|
1252
1252
|
};
|
|
1253
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1254
|
-
if (this.
|
|
1253
|
+
protoOf(ComposerForUnsignedNumbers).h65 = function (v) {
|
|
1254
|
+
if (this.p65_1) {
|
|
1255
1255
|
// Inline function 'kotlin.toUShort' call
|
|
1256
1256
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1257
|
-
this.
|
|
1257
|
+
this.l65(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1258
1258
|
} else {
|
|
1259
1259
|
// Inline function 'kotlin.toUShort' call
|
|
1260
1260
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1261
|
-
this.
|
|
1261
|
+
this.b65(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1262
1262
|
}
|
|
1263
1263
|
};
|
|
1264
1264
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1265
1265
|
Composer.call(this, writer);
|
|
1266
|
-
this.
|
|
1266
|
+
this.s65_1 = forceQuoting;
|
|
1267
1267
|
}
|
|
1268
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1269
|
-
if (this.
|
|
1270
|
-
protoOf(Composer).
|
|
1268
|
+
protoOf(ComposerForUnquotedLiterals).l65 = function (value) {
|
|
1269
|
+
if (this.s65_1) {
|
|
1270
|
+
protoOf(Composer).l65.call(this, value);
|
|
1271
1271
|
} else {
|
|
1272
|
-
protoOf(Composer).
|
|
1272
|
+
protoOf(Composer).b65.call(this, value);
|
|
1273
1273
|
}
|
|
1274
1274
|
};
|
|
1275
1275
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1276
1276
|
Composer.call(this, writer);
|
|
1277
|
-
this.
|
|
1278
|
-
this.
|
|
1277
|
+
this.v65_1 = json;
|
|
1278
|
+
this.w65_1 = 0;
|
|
1279
1279
|
}
|
|
1280
|
-
protoOf(ComposerWithPrettyPrint).t64 = function () {
|
|
1281
|
-
this.s64_1 = true;
|
|
1282
|
-
this.v65_1 = this.v65_1 + 1 | 0;
|
|
1283
|
-
};
|
|
1284
1280
|
protoOf(ComposerWithPrettyPrint).u64 = function () {
|
|
1285
|
-
this.
|
|
1281
|
+
this.t64_1 = true;
|
|
1282
|
+
this.w65_1 = this.w65_1 + 1 | 0;
|
|
1286
1283
|
};
|
|
1287
1284
|
protoOf(ComposerWithPrettyPrint).v64 = function () {
|
|
1288
|
-
this.
|
|
1289
|
-
|
|
1285
|
+
this.w65_1 = this.w65_1 - 1 | 0;
|
|
1286
|
+
};
|
|
1287
|
+
protoOf(ComposerWithPrettyPrint).w64 = function () {
|
|
1288
|
+
this.t64_1 = false;
|
|
1289
|
+
this.b65('\n');
|
|
1290
1290
|
// Inline function 'kotlin.repeat' call
|
|
1291
|
-
var times = this.
|
|
1291
|
+
var times = this.w65_1;
|
|
1292
1292
|
var inductionVariable = 0;
|
|
1293
1293
|
if (inductionVariable < times)
|
|
1294
1294
|
do {
|
|
1295
1295
|
var index = inductionVariable;
|
|
1296
1296
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1297
|
-
this.
|
|
1297
|
+
this.b65(this.v65_1.h61_1.y62_1);
|
|
1298
1298
|
}
|
|
1299
1299
|
while (inductionVariable < times);
|
|
1300
1300
|
};
|
|
1301
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1302
|
-
if (this.
|
|
1303
|
-
this.
|
|
1301
|
+
protoOf(ComposerWithPrettyPrint).x64 = function () {
|
|
1302
|
+
if (this.t64_1)
|
|
1303
|
+
this.t64_1 = false;
|
|
1304
1304
|
else {
|
|
1305
|
-
this.
|
|
1305
|
+
this.w64();
|
|
1306
1306
|
}
|
|
1307
1307
|
};
|
|
1308
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1309
|
-
this.
|
|
1308
|
+
protoOf(ComposerWithPrettyPrint).y64 = function () {
|
|
1309
|
+
this.z64(_Char___init__impl__6a9atx(32));
|
|
1310
1310
|
};
|
|
1311
1311
|
function readIfAbsent($this, descriptor, index) {
|
|
1312
|
-
$this.
|
|
1313
|
-
return $this.
|
|
1312
|
+
$this.y65_1 = (!descriptor.dv(index) && descriptor.cv(index).pu());
|
|
1313
|
+
return $this.y65_1;
|
|
1314
1314
|
}
|
|
1315
1315
|
function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
1316
1316
|
var l = function (_this__u8e3s4, p0_0) {
|
|
@@ -1322,14 +1322,14 @@ function JsonElementMarker$readIfAbsent$ref(p0) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function JsonElementMarker(descriptor) {
|
|
1324
1324
|
var tmp = this;
|
|
1325
|
-
tmp.
|
|
1326
|
-
this.
|
|
1325
|
+
tmp.x65_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1326
|
+
this.y65_1 = false;
|
|
1327
1327
|
}
|
|
1328
|
-
protoOf(JsonElementMarker).
|
|
1329
|
-
this.
|
|
1328
|
+
protoOf(JsonElementMarker).z65 = function (index) {
|
|
1329
|
+
this.x65_1.u12(index);
|
|
1330
1330
|
};
|
|
1331
|
-
protoOf(JsonElementMarker).
|
|
1332
|
-
return this.
|
|
1331
|
+
protoOf(JsonElementMarker).a66 = function () {
|
|
1332
|
+
return this.x65_1.v12();
|
|
1333
1333
|
};
|
|
1334
1334
|
function JsonDecodingException(message) {
|
|
1335
1335
|
JsonException.call(this, message);
|
|
@@ -1368,10 +1368,10 @@ function minify(_this__u8e3s4, offset) {
|
|
|
1368
1368
|
}
|
|
1369
1369
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1370
1370
|
entity = entity === VOID ? 'object' : entity;
|
|
1371
|
-
_this__u8e3s4.
|
|
1371
|
+
_this__u8e3s4.b66('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.u61_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1372
1372
|
}
|
|
1373
1373
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1374
|
-
_this__u8e3s4.
|
|
1374
|
+
_this__u8e3s4.c66('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1375
1375
|
}
|
|
1376
1376
|
function JsonEncodingException(message) {
|
|
1377
1377
|
JsonException.call(this, message);
|
|
@@ -1402,7 +1402,7 @@ var JsonSerializationNamesKey;
|
|
|
1402
1402
|
function ignoreUnknownKeys(_this__u8e3s4, json) {
|
|
1403
1403
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1404
1404
|
var tmp;
|
|
1405
|
-
if (json.
|
|
1405
|
+
if (json.h61_1.t62_1) {
|
|
1406
1406
|
tmp = true;
|
|
1407
1407
|
} else {
|
|
1408
1408
|
var tmp0 = _this__u8e3s4.zs();
|
|
@@ -1447,7 +1447,7 @@ function getJsonNameIndex(_this__u8e3s4, json, name) {
|
|
|
1447
1447
|
var index = _this__u8e3s4.av(name);
|
|
1448
1448
|
if (!(index === -3))
|
|
1449
1449
|
return index;
|
|
1450
|
-
if (!json.
|
|
1450
|
+
if (!json.h61_1.d63_1)
|
|
1451
1451
|
return index;
|
|
1452
1452
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1453
1453
|
}
|
|
@@ -1466,17 +1466,17 @@ function getJsonElementName(_this__u8e3s4, json, index) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1468
1468
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1469
|
-
return equals(_this__u8e3s4.wu(), CLASS_getInstance()) ? json.
|
|
1469
|
+
return equals(_this__u8e3s4.wu(), CLASS_getInstance()) ? json.h61_1.e63_1 : null;
|
|
1470
1470
|
}
|
|
1471
1471
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1472
1472
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1473
1473
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1474
1474
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1475
|
-
return tmp.
|
|
1475
|
+
return tmp.e66(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1476
1476
|
}
|
|
1477
1477
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1478
1478
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1479
|
-
return _this__u8e3s4.
|
|
1479
|
+
return _this__u8e3s4.h61_1.f63_1 && equals(descriptor.wu(), ENUM_getInstance());
|
|
1480
1480
|
}
|
|
1481
1481
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1482
1482
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1487,7 +1487,7 @@ function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
|
1487
1487
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1488
1488
|
var tmp = get_schemaCache(json);
|
|
1489
1489
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1490
|
-
return tmp.
|
|
1490
|
+
return tmp.e66(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1491
1491
|
}
|
|
1492
1492
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1493
1493
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1513,7 +1513,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
}
|
|
1515
1515
|
var tmp0_safe_receiver = singleOrNull(destination);
|
|
1516
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1516
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f66_1;
|
|
1517
1517
|
if (tmp1_safe_receiver == null)
|
|
1518
1518
|
null;
|
|
1519
1519
|
else {
|
|
@@ -1540,7 +1540,7 @@ function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
|
1540
1540
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1541
1541
|
tmp_0 = _this__u8e3s4.zu(i).toLowerCase();
|
|
1542
1542
|
} else if (!(strategyForClasses == null)) {
|
|
1543
|
-
tmp_0 = strategyForClasses.
|
|
1543
|
+
tmp_0 = strategyForClasses.g66(_this__u8e3s4, i, _this__u8e3s4.zu(i));
|
|
1544
1544
|
} else {
|
|
1545
1545
|
tmp_0 = null;
|
|
1546
1546
|
}
|
|
@@ -1576,7 +1576,7 @@ function serializationNamesIndices$lambda($this_serializationNamesIndices, $stra
|
|
|
1576
1576
|
while (tmp < tmp_0) {
|
|
1577
1577
|
var tmp_2 = tmp;
|
|
1578
1578
|
var baseName = $this_serializationNamesIndices.zu(tmp_2);
|
|
1579
|
-
tmp_1[tmp_2] = $strategy.
|
|
1579
|
+
tmp_1[tmp_2] = $strategy.g66($this_serializationNamesIndices, tmp_2, baseName);
|
|
1580
1580
|
tmp = tmp + 1 | 0;
|
|
1581
1581
|
}
|
|
1582
1582
|
return tmp_1;
|
|
@@ -1607,8 +1607,8 @@ function Tombstone_getInstance() {
|
|
|
1607
1607
|
return Tombstone_instance;
|
|
1608
1608
|
}
|
|
1609
1609
|
function resize($this) {
|
|
1610
|
-
var newSize = imul($this.
|
|
1611
|
-
$this.
|
|
1610
|
+
var newSize = imul($this.j66_1, 2);
|
|
1611
|
+
$this.h66_1 = copyOf($this.h66_1, newSize);
|
|
1612
1612
|
var tmp = 0;
|
|
1613
1613
|
var tmp_0 = new Int32Array(newSize);
|
|
1614
1614
|
while (tmp < newSize) {
|
|
@@ -1617,7 +1617,7 @@ function resize($this) {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
var newIndices = tmp_0;
|
|
1619
1619
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1620
|
-
var this_0 = $this.
|
|
1620
|
+
var this_0 = $this.i66_1;
|
|
1621
1621
|
var endIndex = this_0.length;
|
|
1622
1622
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1623
1623
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1625,12 +1625,12 @@ function resize($this) {
|
|
|
1625
1625
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1626
1626
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1627
1627
|
arrayCopy(tmp_1, newIndices, 0, 0, endIndex);
|
|
1628
|
-
$this.
|
|
1628
|
+
$this.i66_1 = newIndices;
|
|
1629
1629
|
}
|
|
1630
1630
|
function JsonPath() {
|
|
1631
1631
|
var tmp = this;
|
|
1632
1632
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1633
|
-
tmp.
|
|
1633
|
+
tmp.h66_1 = Array(8);
|
|
1634
1634
|
var tmp_0 = this;
|
|
1635
1635
|
var tmp_1 = 0;
|
|
1636
1636
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1638,71 +1638,71 @@ function JsonPath() {
|
|
|
1638
1638
|
tmp_2[tmp_1] = -1;
|
|
1639
1639
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1640
1640
|
}
|
|
1641
|
-
tmp_0.
|
|
1642
|
-
this.
|
|
1641
|
+
tmp_0.i66_1 = tmp_2;
|
|
1642
|
+
this.j66_1 = -1;
|
|
1643
1643
|
}
|
|
1644
|
-
protoOf(JsonPath).
|
|
1645
|
-
this.
|
|
1646
|
-
var depth = this.
|
|
1647
|
-
if (depth === this.
|
|
1644
|
+
protoOf(JsonPath).k66 = function (sd) {
|
|
1645
|
+
this.j66_1 = this.j66_1 + 1 | 0;
|
|
1646
|
+
var depth = this.j66_1;
|
|
1647
|
+
if (depth === this.h66_1.length) {
|
|
1648
1648
|
resize(this);
|
|
1649
1649
|
}
|
|
1650
|
-
this.
|
|
1650
|
+
this.h66_1[depth] = sd;
|
|
1651
1651
|
};
|
|
1652
|
-
protoOf(JsonPath).
|
|
1653
|
-
this.
|
|
1652
|
+
protoOf(JsonPath).l66 = function (index) {
|
|
1653
|
+
this.i66_1[this.j66_1] = index;
|
|
1654
1654
|
};
|
|
1655
|
-
protoOf(JsonPath).
|
|
1655
|
+
protoOf(JsonPath).m66 = function (key) {
|
|
1656
1656
|
var tmp;
|
|
1657
|
-
if (!(this.
|
|
1658
|
-
this.
|
|
1659
|
-
tmp = this.
|
|
1657
|
+
if (!(this.i66_1[this.j66_1] === -2)) {
|
|
1658
|
+
this.j66_1 = this.j66_1 + 1 | 0;
|
|
1659
|
+
tmp = this.j66_1 === this.h66_1.length;
|
|
1660
1660
|
} else {
|
|
1661
1661
|
tmp = false;
|
|
1662
1662
|
}
|
|
1663
1663
|
if (tmp) {
|
|
1664
1664
|
resize(this);
|
|
1665
1665
|
}
|
|
1666
|
-
this.
|
|
1667
|
-
this.
|
|
1666
|
+
this.h66_1[this.j66_1] = key;
|
|
1667
|
+
this.i66_1[this.j66_1] = -2;
|
|
1668
1668
|
};
|
|
1669
|
-
protoOf(JsonPath).
|
|
1670
|
-
if (this.
|
|
1671
|
-
this.
|
|
1669
|
+
protoOf(JsonPath).n66 = function () {
|
|
1670
|
+
if (this.i66_1[this.j66_1] === -2) {
|
|
1671
|
+
this.h66_1[this.j66_1] = Tombstone_instance;
|
|
1672
1672
|
}
|
|
1673
1673
|
};
|
|
1674
|
-
protoOf(JsonPath).
|
|
1675
|
-
var depth = this.
|
|
1676
|
-
if (this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1674
|
+
protoOf(JsonPath).o66 = function () {
|
|
1675
|
+
var depth = this.j66_1;
|
|
1676
|
+
if (this.i66_1[depth] === -2) {
|
|
1677
|
+
this.i66_1[depth] = -1;
|
|
1678
|
+
this.j66_1 = this.j66_1 - 1 | 0;
|
|
1679
1679
|
}
|
|
1680
|
-
if (!(this.
|
|
1681
|
-
this.
|
|
1680
|
+
if (!(this.j66_1 === -1)) {
|
|
1681
|
+
this.j66_1 = this.j66_1 - 1 | 0;
|
|
1682
1682
|
}
|
|
1683
1683
|
};
|
|
1684
|
-
protoOf(JsonPath).
|
|
1684
|
+
protoOf(JsonPath).p66 = function () {
|
|
1685
1685
|
// Inline function 'kotlin.text.buildString' call
|
|
1686
1686
|
// Inline function 'kotlin.apply' call
|
|
1687
1687
|
var this_0 = StringBuilder_init_$Create$();
|
|
1688
1688
|
this_0.q('$');
|
|
1689
1689
|
// Inline function 'kotlin.repeat' call
|
|
1690
|
-
var times = this.
|
|
1690
|
+
var times = this.j66_1 + 1 | 0;
|
|
1691
1691
|
var inductionVariable = 0;
|
|
1692
1692
|
if (inductionVariable < times)
|
|
1693
1693
|
do {
|
|
1694
1694
|
var index = inductionVariable;
|
|
1695
1695
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1696
|
-
var element = this.
|
|
1696
|
+
var element = this.h66_1[index];
|
|
1697
1697
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1698
1698
|
if (equals(element.wu(), LIST_getInstance())) {
|
|
1699
|
-
if (!(this.
|
|
1699
|
+
if (!(this.i66_1[index] === -1)) {
|
|
1700
1700
|
this_0.q('[');
|
|
1701
|
-
this_0.bd(this.
|
|
1701
|
+
this_0.bd(this.i66_1[index]);
|
|
1702
1702
|
this_0.q(']');
|
|
1703
1703
|
}
|
|
1704
1704
|
} else {
|
|
1705
|
-
var idx = this.
|
|
1705
|
+
var idx = this.i66_1[index];
|
|
1706
1706
|
if (idx >= 0) {
|
|
1707
1707
|
this_0.q('.');
|
|
1708
1708
|
this_0.q(element.zu(idx));
|
|
@@ -1722,7 +1722,7 @@ protoOf(JsonPath).o66 = function () {
|
|
|
1722
1722
|
return this_0.toString();
|
|
1723
1723
|
};
|
|
1724
1724
|
protoOf(JsonPath).toString = function () {
|
|
1725
|
-
return this.
|
|
1725
|
+
return this.p66();
|
|
1726
1726
|
};
|
|
1727
1727
|
function checkKind($this, descriptor, actualClass) {
|
|
1728
1728
|
var kind = descriptor.wu();
|
|
@@ -1735,9 +1735,9 @@ function checkKind($this, descriptor, actualClass) {
|
|
|
1735
1735
|
if (tmp) {
|
|
1736
1736
|
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.'));
|
|
1737
1737
|
}
|
|
1738
|
-
if ($this.
|
|
1738
|
+
if ($this.r66_1)
|
|
1739
1739
|
return Unit_instance;
|
|
1740
|
-
if (!$this.
|
|
1740
|
+
if (!$this.s66_1)
|
|
1741
1741
|
return Unit_instance;
|
|
1742
1742
|
var tmp_0;
|
|
1743
1743
|
var tmp_1;
|
|
@@ -1763,23 +1763,23 @@ function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
|
1763
1763
|
var i = inductionVariable;
|
|
1764
1764
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1765
1765
|
var name = descriptor.zu(i);
|
|
1766
|
-
if (name === $this.
|
|
1766
|
+
if (name === $this.q66_1) {
|
|
1767
1767
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
while (inductionVariable < last);
|
|
1771
1771
|
}
|
|
1772
1772
|
function JsonSerializersModuleValidator(configuration) {
|
|
1773
|
-
this.
|
|
1774
|
-
this.
|
|
1775
|
-
this.
|
|
1773
|
+
this.q66_1 = configuration.b63_1;
|
|
1774
|
+
this.r66_1 = configuration.a63_1;
|
|
1775
|
+
this.s66_1 = !configuration.i63_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
1776
1776
|
}
|
|
1777
1777
|
protoOf(JsonSerializersModuleValidator).w1d = function (kClass, provider) {
|
|
1778
1778
|
};
|
|
1779
1779
|
protoOf(JsonSerializersModuleValidator).z1d = function (baseClass, actualClass, actualSerializer) {
|
|
1780
1780
|
var descriptor = actualSerializer.ys();
|
|
1781
1781
|
checkKind(this, descriptor, actualClass);
|
|
1782
|
-
if (!this.
|
|
1782
|
+
if (!this.r66_1 && this.s66_1) {
|
|
1783
1783
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1784
1784
|
}
|
|
1785
1785
|
};
|
|
@@ -1797,34 +1797,34 @@ function encodeByWriter(json, writer, serializer, value) {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
function readObject($this) {
|
|
1799
1799
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1800
|
-
var lastToken = $this.
|
|
1801
|
-
if ($this.
|
|
1802
|
-
$this.
|
|
1800
|
+
var lastToken = $this.c67_1.g67(6);
|
|
1801
|
+
if ($this.c67_1.h67() === 4) {
|
|
1802
|
+
$this.c67_1.c66('Unexpected leading comma');
|
|
1803
1803
|
}
|
|
1804
1804
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1805
1805
|
var result = LinkedHashMap_init_$Create$();
|
|
1806
|
-
$l$loop: while ($this.
|
|
1807
|
-
var key = $this.
|
|
1808
|
-
$this.
|
|
1809
|
-
var element = $this.
|
|
1806
|
+
$l$loop: while ($this.c67_1.i67()) {
|
|
1807
|
+
var key = $this.d67_1 ? $this.c67_1.k67() : $this.c67_1.j67();
|
|
1808
|
+
$this.c67_1.g67(5);
|
|
1809
|
+
var element = $this.l67();
|
|
1810
1810
|
// Inline function 'kotlin.collections.set' call
|
|
1811
1811
|
result.c3(key, element);
|
|
1812
|
-
lastToken = $this.
|
|
1812
|
+
lastToken = $this.c67_1.m67();
|
|
1813
1813
|
var tmp0_subject = lastToken;
|
|
1814
1814
|
if (tmp0_subject !== 4)
|
|
1815
1815
|
if (tmp0_subject === 7)
|
|
1816
1816
|
break $l$loop;
|
|
1817
1817
|
else {
|
|
1818
|
-
$this.
|
|
1818
|
+
$this.c67_1.c66('Expected end of the object or comma');
|
|
1819
1819
|
}
|
|
1820
1820
|
}
|
|
1821
1821
|
if (lastToken === 6) {
|
|
1822
|
-
$this.
|
|
1822
|
+
$this.c67_1.g67(7);
|
|
1823
1823
|
} else if (lastToken === 4) {
|
|
1824
|
-
if (!$this.
|
|
1825
|
-
invalidTrailingComma($this.
|
|
1824
|
+
if (!$this.e67_1) {
|
|
1825
|
+
invalidTrailingComma($this.c67_1);
|
|
1826
1826
|
}
|
|
1827
|
-
$this.
|
|
1827
|
+
$this.c67_1.g67(7);
|
|
1828
1828
|
}
|
|
1829
1829
|
return new JsonObject(result);
|
|
1830
1830
|
}
|
|
@@ -1835,43 +1835,43 @@ function readObject_0($this, _this__u8e3s4, $completion) {
|
|
|
1835
1835
|
return tmp.t9();
|
|
1836
1836
|
}
|
|
1837
1837
|
function readArray($this) {
|
|
1838
|
-
var lastToken = $this.
|
|
1839
|
-
if ($this.
|
|
1840
|
-
$this.
|
|
1838
|
+
var lastToken = $this.c67_1.m67();
|
|
1839
|
+
if ($this.c67_1.h67() === 4) {
|
|
1840
|
+
$this.c67_1.c66('Unexpected leading comma');
|
|
1841
1841
|
}
|
|
1842
1842
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1843
1843
|
var result = ArrayList_init_$Create$();
|
|
1844
|
-
while ($this.
|
|
1845
|
-
var element = $this.
|
|
1844
|
+
while ($this.c67_1.i67()) {
|
|
1845
|
+
var element = $this.l67();
|
|
1846
1846
|
result.e1(element);
|
|
1847
|
-
lastToken = $this.
|
|
1847
|
+
lastToken = $this.c67_1.m67();
|
|
1848
1848
|
if (!(lastToken === 4)) {
|
|
1849
|
-
var tmp0 = $this.
|
|
1849
|
+
var tmp0 = $this.c67_1;
|
|
1850
1850
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1851
1851
|
var condition = lastToken === 9;
|
|
1852
|
-
var position = tmp0.
|
|
1852
|
+
var position = tmp0.u61_1;
|
|
1853
1853
|
if (!condition) {
|
|
1854
1854
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1855
|
-
tmp0.
|
|
1855
|
+
tmp0.c66(tmp$ret$1, position);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
if (lastToken === 8) {
|
|
1860
|
-
$this.
|
|
1860
|
+
$this.c67_1.g67(9);
|
|
1861
1861
|
} else if (lastToken === 4) {
|
|
1862
|
-
if (!$this.
|
|
1863
|
-
invalidTrailingComma($this.
|
|
1862
|
+
if (!$this.e67_1) {
|
|
1863
|
+
invalidTrailingComma($this.c67_1, 'array');
|
|
1864
1864
|
}
|
|
1865
|
-
$this.
|
|
1865
|
+
$this.c67_1.g67(9);
|
|
1866
1866
|
}
|
|
1867
1867
|
return new JsonArray(result);
|
|
1868
1868
|
}
|
|
1869
1869
|
function readValue($this, isString) {
|
|
1870
1870
|
var tmp;
|
|
1871
|
-
if ($this.
|
|
1872
|
-
tmp = $this.
|
|
1871
|
+
if ($this.d67_1 || !isString) {
|
|
1872
|
+
tmp = $this.c67_1.k67();
|
|
1873
1873
|
} else {
|
|
1874
|
-
tmp = $this.
|
|
1874
|
+
tmp = $this.c67_1.j67();
|
|
1875
1875
|
}
|
|
1876
1876
|
var string = tmp;
|
|
1877
1877
|
if (!isString && string === 'null')
|
|
@@ -1882,18 +1882,18 @@ function readDeepRecursive($this) {
|
|
|
1882
1882
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1883
1883
|
}
|
|
1884
1884
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1885
|
-
this.
|
|
1885
|
+
this.j68_1 = this$0;
|
|
1886
1886
|
CoroutineImpl.call(this, resultContinuation);
|
|
1887
1887
|
}
|
|
1888
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1889
|
-
var tmp = this.
|
|
1888
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).n68 = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1889
|
+
var tmp = this.o68($this$DeepRecursiveFunction, it, $completion);
|
|
1890
1890
|
tmp.n9_1 = Unit_instance;
|
|
1891
1891
|
tmp.o9_1 = null;
|
|
1892
1892
|
return tmp.t9();
|
|
1893
1893
|
};
|
|
1894
1894
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).ga = function (p1, p2, $completion) {
|
|
1895
1895
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1896
|
-
return this.
|
|
1896
|
+
return this.n68(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1897
1897
|
};
|
|
1898
1898
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).t9 = function () {
|
|
1899
1899
|
var suspendResult = this.n9_1;
|
|
@@ -1903,32 +1903,32 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).t9 = function () {
|
|
|
1903
1903
|
switch (tmp) {
|
|
1904
1904
|
case 0:
|
|
1905
1905
|
this.m9_1 = 3;
|
|
1906
|
-
var tmp0_subject = this.
|
|
1906
|
+
var tmp0_subject = this.j68_1.c67_1.h67();
|
|
1907
1907
|
if (tmp0_subject === 1) {
|
|
1908
|
-
this.
|
|
1908
|
+
this.m68_1 = readValue(this.j68_1, true);
|
|
1909
1909
|
this.l9_1 = 2;
|
|
1910
1910
|
continue $sm;
|
|
1911
1911
|
} else {
|
|
1912
1912
|
if (tmp0_subject === 0) {
|
|
1913
|
-
this.
|
|
1913
|
+
this.m68_1 = readValue(this.j68_1, false);
|
|
1914
1914
|
this.l9_1 = 2;
|
|
1915
1915
|
continue $sm;
|
|
1916
1916
|
} else {
|
|
1917
1917
|
if (tmp0_subject === 6) {
|
|
1918
1918
|
this.l9_1 = 1;
|
|
1919
|
-
suspendResult = readObject_0(this.
|
|
1919
|
+
suspendResult = readObject_0(this.j68_1, this.k68_1, this);
|
|
1920
1920
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1921
1921
|
return suspendResult;
|
|
1922
1922
|
}
|
|
1923
1923
|
continue $sm;
|
|
1924
1924
|
} else {
|
|
1925
1925
|
if (tmp0_subject === 8) {
|
|
1926
|
-
this.
|
|
1926
|
+
this.m68_1 = readArray(this.j68_1);
|
|
1927
1927
|
this.l9_1 = 2;
|
|
1928
1928
|
continue $sm;
|
|
1929
1929
|
} else {
|
|
1930
1930
|
var tmp_0 = this;
|
|
1931
|
-
this.
|
|
1931
|
+
this.j68_1.c67_1.c66("Can't begin reading element, unexpected token");
|
|
1932
1932
|
}
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
@@ -1936,11 +1936,11 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).t9 = function () {
|
|
|
1936
1936
|
|
|
1937
1937
|
break;
|
|
1938
1938
|
case 1:
|
|
1939
|
-
this.
|
|
1939
|
+
this.m68_1 = suspendResult;
|
|
1940
1940
|
this.l9_1 = 2;
|
|
1941
1941
|
continue $sm;
|
|
1942
1942
|
case 2:
|
|
1943
|
-
return this.
|
|
1943
|
+
return this.m68_1;
|
|
1944
1944
|
case 3:
|
|
1945
1945
|
throw this.o9_1;
|
|
1946
1946
|
}
|
|
@@ -1955,24 +1955,24 @@ protoOf(JsonTreeReader$readDeepRecursive$slambda).t9 = function () {
|
|
|
1955
1955
|
}
|
|
1956
1956
|
while (true);
|
|
1957
1957
|
};
|
|
1958
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1959
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1960
|
-
i.
|
|
1961
|
-
i.
|
|
1958
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).o68 = function ($this$DeepRecursiveFunction, it, completion) {
|
|
1959
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.j68_1, completion);
|
|
1960
|
+
i.k68_1 = $this$DeepRecursiveFunction;
|
|
1961
|
+
i.l68_1 = it;
|
|
1962
1962
|
return i;
|
|
1963
1963
|
};
|
|
1964
1964
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1965
1965
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1966
1966
|
var l = function ($this$DeepRecursiveFunction, it, $completion) {
|
|
1967
|
-
return i.
|
|
1967
|
+
return i.n68($this$DeepRecursiveFunction, it, $completion);
|
|
1968
1968
|
};
|
|
1969
1969
|
l.$arity = 2;
|
|
1970
1970
|
return l;
|
|
1971
1971
|
}
|
|
1972
1972
|
function $readObjectCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1973
1973
|
CoroutineImpl.call(this, resultContinuation);
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1974
|
+
this.v67_1 = _this__u8e3s4;
|
|
1975
|
+
this.w67_1 = _this__u8e3s4_0;
|
|
1976
1976
|
}
|
|
1977
1977
|
protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
1978
1978
|
var suspendResult = this.n9_1;
|
|
@@ -1982,26 +1982,26 @@ protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
|
1982
1982
|
switch (tmp) {
|
|
1983
1983
|
case 0:
|
|
1984
1984
|
this.m9_1 = 5;
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1987
|
-
if (this.
|
|
1988
|
-
this.
|
|
1985
|
+
this.y67_1 = this.v67_1;
|
|
1986
|
+
this.z67_1 = this.y67_1.c67_1.g67(6);
|
|
1987
|
+
if (this.y67_1.c67_1.h67() === 4) {
|
|
1988
|
+
this.y67_1.c67_1.c66('Unexpected leading comma');
|
|
1989
1989
|
}
|
|
1990
1990
|
|
|
1991
1991
|
var tmp_0 = this;
|
|
1992
|
-
tmp_0.
|
|
1992
|
+
tmp_0.x67_1 = LinkedHashMap_init_$Create$();
|
|
1993
1993
|
this.l9_1 = 1;
|
|
1994
1994
|
continue $sm;
|
|
1995
1995
|
case 1:
|
|
1996
|
-
if (!this.
|
|
1996
|
+
if (!this.y67_1.c67_1.i67()) {
|
|
1997
1997
|
this.l9_1 = 4;
|
|
1998
1998
|
continue $sm;
|
|
1999
1999
|
}
|
|
2000
2000
|
|
|
2001
|
-
this.
|
|
2002
|
-
this.
|
|
2001
|
+
this.a68_1 = this.y67_1.d67_1 ? this.y67_1.c67_1.k67() : this.y67_1.c67_1.j67();
|
|
2002
|
+
this.y67_1.c67_1.g67(5);
|
|
2003
2003
|
this.l9_1 = 2;
|
|
2004
|
-
suspendResult = this.
|
|
2004
|
+
suspendResult = this.w67_1.zp(Unit_instance, this);
|
|
2005
2005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2006
2006
|
return suspendResult;
|
|
2007
2007
|
}
|
|
@@ -2009,11 +2009,11 @@ protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
|
2009
2009
|
continue $sm;
|
|
2010
2010
|
case 2:
|
|
2011
2011
|
var element = suspendResult;
|
|
2012
|
-
var tmp0 = this.
|
|
2013
|
-
var key = this.
|
|
2012
|
+
var tmp0 = this.x67_1;
|
|
2013
|
+
var key = this.a68_1;
|
|
2014
2014
|
tmp0.c3(key, element);
|
|
2015
|
-
this.
|
|
2016
|
-
var tmp0_subject = this.
|
|
2015
|
+
this.z67_1 = this.y67_1.c67_1.m67();
|
|
2016
|
+
var tmp0_subject = this.z67_1;
|
|
2017
2017
|
if (tmp0_subject === 4) {
|
|
2018
2018
|
this.l9_1 = 3;
|
|
2019
2019
|
continue $sm;
|
|
@@ -2022,7 +2022,7 @@ protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
|
2022
2022
|
this.l9_1 = 4;
|
|
2023
2023
|
continue $sm;
|
|
2024
2024
|
} else {
|
|
2025
|
-
this.
|
|
2025
|
+
this.y67_1.c67_1.c66('Expected end of the object or comma');
|
|
2026
2026
|
}
|
|
2027
2027
|
}
|
|
2028
2028
|
|
|
@@ -2031,16 +2031,16 @@ protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
|
2031
2031
|
this.l9_1 = 1;
|
|
2032
2032
|
continue $sm;
|
|
2033
2033
|
case 4:
|
|
2034
|
-
if (this.
|
|
2035
|
-
this.
|
|
2036
|
-
} else if (this.
|
|
2037
|
-
if (!this.
|
|
2038
|
-
invalidTrailingComma(this.
|
|
2034
|
+
if (this.z67_1 === 6) {
|
|
2035
|
+
this.y67_1.c67_1.g67(7);
|
|
2036
|
+
} else if (this.z67_1 === 4) {
|
|
2037
|
+
if (!this.y67_1.e67_1) {
|
|
2038
|
+
invalidTrailingComma(this.y67_1.c67_1);
|
|
2039
2039
|
}
|
|
2040
|
-
this.
|
|
2040
|
+
this.y67_1.c67_1.g67(7);
|
|
2041
2041
|
}
|
|
2042
2042
|
|
|
2043
|
-
return new JsonObject(this.
|
|
2043
|
+
return new JsonObject(this.x67_1);
|
|
2044
2044
|
case 5:
|
|
2045
2045
|
throw this.o9_1;
|
|
2046
2046
|
}
|
|
@@ -2056,13 +2056,13 @@ protoOf($readObjectCOROUTINE$).t9 = function () {
|
|
|
2056
2056
|
while (true);
|
|
2057
2057
|
};
|
|
2058
2058
|
function JsonTreeReader(configuration, lexer) {
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2062
|
-
this.
|
|
2059
|
+
this.c67_1 = lexer;
|
|
2060
|
+
this.d67_1 = configuration.u62_1;
|
|
2061
|
+
this.e67_1 = configuration.g63_1;
|
|
2062
|
+
this.f67_1 = 0;
|
|
2063
2063
|
}
|
|
2064
|
-
protoOf(JsonTreeReader).
|
|
2065
|
-
var token = this.
|
|
2064
|
+
protoOf(JsonTreeReader).l67 = function () {
|
|
2065
|
+
var token = this.c67_1.h67();
|
|
2066
2066
|
var tmp;
|
|
2067
2067
|
if (token === 1) {
|
|
2068
2068
|
tmp = readValue(this, true);
|
|
@@ -2070,19 +2070,19 @@ protoOf(JsonTreeReader).k67 = function () {
|
|
|
2070
2070
|
tmp = readValue(this, false);
|
|
2071
2071
|
} else if (token === 6) {
|
|
2072
2072
|
var tmp_0;
|
|
2073
|
-
this.
|
|
2074
|
-
if (this.
|
|
2073
|
+
this.f67_1 = this.f67_1 + 1 | 0;
|
|
2074
|
+
if (this.f67_1 === 200) {
|
|
2075
2075
|
tmp_0 = readDeepRecursive(this);
|
|
2076
2076
|
} else {
|
|
2077
2077
|
tmp_0 = readObject(this);
|
|
2078
2078
|
}
|
|
2079
2079
|
var result = tmp_0;
|
|
2080
|
-
this.
|
|
2080
|
+
this.f67_1 = this.f67_1 - 1 | 0;
|
|
2081
2081
|
tmp = result;
|
|
2082
2082
|
} else if (token === 8) {
|
|
2083
2083
|
tmp = readArray(this);
|
|
2084
2084
|
} else {
|
|
2085
|
-
this.
|
|
2085
|
+
this.c67_1.c66('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
2086
2086
|
}
|
|
2087
2087
|
return tmp;
|
|
2088
2088
|
};
|
|
@@ -2091,9 +2091,9 @@ function classDiscriminator(_this__u8e3s4, json) {
|
|
|
2091
2091
|
while (_iterator__ex2g4s.u()) {
|
|
2092
2092
|
var annotation = _iterator__ex2g4s.v();
|
|
2093
2093
|
if (annotation instanceof JsonClassDiscriminator)
|
|
2094
|
-
return annotation.
|
|
2094
|
+
return annotation.p68_1;
|
|
2095
2095
|
}
|
|
2096
|
-
return json.
|
|
2096
|
+
return json.h61_1.b63_1;
|
|
2097
2097
|
}
|
|
2098
2098
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2099
2099
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2129,11 +2129,11 @@ function access$validateIfSealed$tPolymorphicKt(serializer, actualSerializer, cl
|
|
|
2129
2129
|
function Key() {
|
|
2130
2130
|
}
|
|
2131
2131
|
function DescriptorSchemaCache() {
|
|
2132
|
-
this.
|
|
2132
|
+
this.d66_1 = createMapForCache(16);
|
|
2133
2133
|
}
|
|
2134
|
-
protoOf(DescriptorSchemaCache).
|
|
2134
|
+
protoOf(DescriptorSchemaCache).q68 = function (descriptor, key, value) {
|
|
2135
2135
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2136
|
-
var this_0 = this.
|
|
2136
|
+
var this_0 = this.d66_1;
|
|
2137
2137
|
var value_0 = this_0.z2(descriptor);
|
|
2138
2138
|
var tmp;
|
|
2139
2139
|
if (value_0 == null) {
|
|
@@ -2149,8 +2149,8 @@ protoOf(DescriptorSchemaCache).p68 = function (descriptor, key, value) {
|
|
|
2149
2149
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2150
2150
|
tmp0.c3(tmp2, value_1);
|
|
2151
2151
|
};
|
|
2152
|
-
protoOf(DescriptorSchemaCache).
|
|
2153
|
-
var tmp0_safe_receiver = this.
|
|
2152
|
+
protoOf(DescriptorSchemaCache).e66 = function (descriptor, key, defaultValue) {
|
|
2153
|
+
var tmp0_safe_receiver = this.r68(descriptor, key);
|
|
2154
2154
|
if (tmp0_safe_receiver == null)
|
|
2155
2155
|
null;
|
|
2156
2156
|
else {
|
|
@@ -2158,11 +2158,11 @@ protoOf(DescriptorSchemaCache).d66 = function (descriptor, key, defaultValue) {
|
|
|
2158
2158
|
return tmp0_safe_receiver;
|
|
2159
2159
|
}
|
|
2160
2160
|
var value = defaultValue();
|
|
2161
|
-
this.
|
|
2161
|
+
this.q68(descriptor, key, value);
|
|
2162
2162
|
return value;
|
|
2163
2163
|
};
|
|
2164
|
-
protoOf(DescriptorSchemaCache).
|
|
2165
|
-
var tmp0_safe_receiver = this.
|
|
2164
|
+
protoOf(DescriptorSchemaCache).r68 = function (descriptor, key) {
|
|
2165
|
+
var tmp0_safe_receiver = this.d66_1.z2(descriptor);
|
|
2166
2166
|
var tmp;
|
|
2167
2167
|
if (tmp0_safe_receiver == null) {
|
|
2168
2168
|
tmp = null;
|
|
@@ -2173,13 +2173,13 @@ protoOf(DescriptorSchemaCache).q68 = function (descriptor, key) {
|
|
|
2173
2173
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2174
2174
|
};
|
|
2175
2175
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2176
|
-
this.
|
|
2176
|
+
this.s68_1 = discriminatorToSkip;
|
|
2177
2177
|
}
|
|
2178
2178
|
function trySkip($this, _this__u8e3s4, unknownKey) {
|
|
2179
2179
|
if (_this__u8e3s4 == null)
|
|
2180
2180
|
return false;
|
|
2181
|
-
if (_this__u8e3s4.
|
|
2182
|
-
_this__u8e3s4.
|
|
2181
|
+
if (_this__u8e3s4.s68_1 === unknownKey) {
|
|
2182
|
+
_this__u8e3s4.s68_1 = null;
|
|
2183
2183
|
return true;
|
|
2184
2184
|
}
|
|
2185
2185
|
return false;
|
|
@@ -2189,55 +2189,55 @@ function skipLeftoverElements($this, descriptor) {
|
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
2191
|
function checkLeadingComma($this) {
|
|
2192
|
-
if ($this.
|
|
2193
|
-
$this.
|
|
2192
|
+
if ($this.o61_1.h67() === 4) {
|
|
2193
|
+
$this.o61_1.c66('Unexpected leading comma');
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
2196
2196
|
function decodeMapIndex($this) {
|
|
2197
2197
|
var hasComma = false;
|
|
2198
|
-
var decodingKey = !(($this.
|
|
2198
|
+
var decodingKey = !(($this.q61_1 % 2 | 0) === 0);
|
|
2199
2199
|
if (decodingKey) {
|
|
2200
|
-
if (!($this.
|
|
2201
|
-
hasComma = $this.
|
|
2200
|
+
if (!($this.q61_1 === -1)) {
|
|
2201
|
+
hasComma = $this.o61_1.u68();
|
|
2202
2202
|
}
|
|
2203
2203
|
} else {
|
|
2204
|
-
$this.
|
|
2204
|
+
$this.o61_1.t68(_Char___init__impl__6a9atx(58));
|
|
2205
2205
|
}
|
|
2206
2206
|
var tmp;
|
|
2207
|
-
if ($this.
|
|
2207
|
+
if ($this.o61_1.i67()) {
|
|
2208
2208
|
if (decodingKey) {
|
|
2209
|
-
if ($this.
|
|
2210
|
-
var tmp0 = $this.
|
|
2209
|
+
if ($this.q61_1 === -1) {
|
|
2210
|
+
var tmp0 = $this.o61_1;
|
|
2211
2211
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2212
2212
|
var condition = !hasComma;
|
|
2213
|
-
var position = tmp0.
|
|
2213
|
+
var position = tmp0.u61_1;
|
|
2214
2214
|
if (!condition) {
|
|
2215
2215
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2216
|
-
tmp0.
|
|
2216
|
+
tmp0.c66(tmp$ret$0, position);
|
|
2217
2217
|
}
|
|
2218
2218
|
} else {
|
|
2219
|
-
var tmp0_0 = $this.
|
|
2219
|
+
var tmp0_0 = $this.o61_1;
|
|
2220
2220
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2221
2221
|
var condition_0 = hasComma;
|
|
2222
|
-
var position_0 = tmp0_0.
|
|
2222
|
+
var position_0 = tmp0_0.u61_1;
|
|
2223
2223
|
if (!condition_0) {
|
|
2224
2224
|
var tmp$ret$2 = 'Expected comma after the key-value pair';
|
|
2225
|
-
tmp0_0.
|
|
2225
|
+
tmp0_0.c66(tmp$ret$2, position_0);
|
|
2226
2226
|
}
|
|
2227
2227
|
}
|
|
2228
2228
|
}
|
|
2229
|
-
$this.
|
|
2230
|
-
tmp = $this.
|
|
2229
|
+
$this.q61_1 = $this.q61_1 + 1 | 0;
|
|
2230
|
+
tmp = $this.q61_1;
|
|
2231
2231
|
} else {
|
|
2232
|
-
if (hasComma && !$this.
|
|
2233
|
-
invalidTrailingComma($this.
|
|
2232
|
+
if (hasComma && !$this.m61_1.h61_1.g63_1) {
|
|
2233
|
+
invalidTrailingComma($this.o61_1);
|
|
2234
2234
|
}
|
|
2235
2235
|
tmp = -1;
|
|
2236
2236
|
}
|
|
2237
2237
|
return tmp;
|
|
2238
2238
|
}
|
|
2239
2239
|
function coerceInputValue($this, descriptor, index) {
|
|
2240
|
-
var tmp0 = $this.
|
|
2240
|
+
var tmp0 = $this.m61_1;
|
|
2241
2241
|
var tmp$ret$1;
|
|
2242
2242
|
$l$block_2: {
|
|
2243
2243
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -2245,7 +2245,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2245
2245
|
var elementDescriptor = descriptor.cv(index);
|
|
2246
2246
|
var tmp;
|
|
2247
2247
|
if (isOptional && !elementDescriptor.pu()) {
|
|
2248
|
-
tmp = $this.
|
|
2248
|
+
tmp = $this.o61_1.v68(true);
|
|
2249
2249
|
} else {
|
|
2250
2250
|
tmp = false;
|
|
2251
2251
|
}
|
|
@@ -2256,7 +2256,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2256
2256
|
if (equals(elementDescriptor.wu(), ENUM_getInstance())) {
|
|
2257
2257
|
var tmp_0;
|
|
2258
2258
|
if (elementDescriptor.pu()) {
|
|
2259
|
-
tmp_0 = $this.
|
|
2259
|
+
tmp_0 = $this.o61_1.v68(false);
|
|
2260
2260
|
} else {
|
|
2261
2261
|
tmp_0 = false;
|
|
2262
2262
|
}
|
|
@@ -2264,7 +2264,7 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2264
2264
|
tmp$ret$1 = false;
|
|
2265
2265
|
break $l$block_2;
|
|
2266
2266
|
}
|
|
2267
|
-
var tmp0_elvis_lhs = $this.
|
|
2267
|
+
var tmp0_elvis_lhs = $this.o61_1.w68($this.s61_1.u62_1);
|
|
2268
2268
|
var tmp_1;
|
|
2269
2269
|
if (tmp0_elvis_lhs == null) {
|
|
2270
2270
|
tmp$ret$1 = false;
|
|
@@ -2274,9 +2274,9 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
var enumValue = tmp_1;
|
|
2276
2276
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
2277
|
-
var coerceToNull = !tmp0.
|
|
2277
|
+
var coerceToNull = !tmp0.h61_1.x62_1 && elementDescriptor.pu();
|
|
2278
2278
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
2279
|
-
$this.
|
|
2279
|
+
$this.o61_1.j67();
|
|
2280
2280
|
tmp$ret$1 = true;
|
|
2281
2281
|
break $l$block_2;
|
|
2282
2282
|
}
|
|
@@ -2286,24 +2286,24 @@ function coerceInputValue($this, descriptor, index) {
|
|
|
2286
2286
|
return tmp$ret$1;
|
|
2287
2287
|
}
|
|
2288
2288
|
function decodeObjectIndex($this, descriptor) {
|
|
2289
|
-
var hasComma = $this.
|
|
2290
|
-
while ($this.
|
|
2289
|
+
var hasComma = $this.o61_1.u68();
|
|
2290
|
+
while ($this.o61_1.i67()) {
|
|
2291
2291
|
hasComma = false;
|
|
2292
2292
|
var key = decodeStringKey($this);
|
|
2293
|
-
$this.
|
|
2294
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2293
|
+
$this.o61_1.t68(_Char___init__impl__6a9atx(58));
|
|
2294
|
+
var index = getJsonNameIndex(descriptor, $this.m61_1, key);
|
|
2295
2295
|
var tmp;
|
|
2296
2296
|
if (!(index === -3)) {
|
|
2297
2297
|
var tmp_0;
|
|
2298
|
-
if ($this.
|
|
2299
|
-
hasComma = $this.
|
|
2298
|
+
if ($this.s61_1.z62_1 && coerceInputValue($this, descriptor, index)) {
|
|
2299
|
+
hasComma = $this.o61_1.u68();
|
|
2300
2300
|
tmp_0 = false;
|
|
2301
2301
|
} else {
|
|
2302
|
-
var tmp0_safe_receiver = $this.
|
|
2302
|
+
var tmp0_safe_receiver = $this.t61_1;
|
|
2303
2303
|
if (tmp0_safe_receiver == null)
|
|
2304
2304
|
null;
|
|
2305
2305
|
else {
|
|
2306
|
-
tmp0_safe_receiver.
|
|
2306
|
+
tmp0_safe_receiver.z65(index);
|
|
2307
2307
|
}
|
|
2308
2308
|
return index;
|
|
2309
2309
|
}
|
|
@@ -2316,34 +2316,34 @@ function decodeObjectIndex($this, descriptor) {
|
|
|
2316
2316
|
hasComma = handleUnknown($this, descriptor, key);
|
|
2317
2317
|
}
|
|
2318
2318
|
}
|
|
2319
|
-
if (hasComma && !$this.
|
|
2320
|
-
invalidTrailingComma($this.
|
|
2319
|
+
if (hasComma && !$this.m61_1.h61_1.g63_1) {
|
|
2320
|
+
invalidTrailingComma($this.o61_1);
|
|
2321
2321
|
}
|
|
2322
|
-
var tmp1_safe_receiver = $this.
|
|
2323
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
2322
|
+
var tmp1_safe_receiver = $this.t61_1;
|
|
2323
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a66();
|
|
2324
2324
|
return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
|
|
2325
2325
|
}
|
|
2326
2326
|
function handleUnknown($this, descriptor, key) {
|
|
2327
|
-
if (ignoreUnknownKeys(descriptor, $this.
|
|
2328
|
-
$this.
|
|
2327
|
+
if (ignoreUnknownKeys(descriptor, $this.m61_1) || trySkip($this, $this.r61_1, key)) {
|
|
2328
|
+
$this.o61_1.y68($this.s61_1.u62_1);
|
|
2329
2329
|
} else {
|
|
2330
|
-
$this.
|
|
2331
|
-
$this.
|
|
2330
|
+
$this.o61_1.v61_1.o66();
|
|
2331
|
+
$this.o61_1.x68(key);
|
|
2332
2332
|
}
|
|
2333
|
-
return $this.
|
|
2333
|
+
return $this.o61_1.u68();
|
|
2334
2334
|
}
|
|
2335
2335
|
function decodeListIndex($this) {
|
|
2336
|
-
var hasComma = $this.
|
|
2336
|
+
var hasComma = $this.o61_1.u68();
|
|
2337
2337
|
var tmp;
|
|
2338
|
-
if ($this.
|
|
2339
|
-
if (!($this.
|
|
2340
|
-
$this.
|
|
2338
|
+
if ($this.o61_1.i67()) {
|
|
2339
|
+
if (!($this.q61_1 === -1) && !hasComma) {
|
|
2340
|
+
$this.o61_1.c66('Expected end of the array or comma');
|
|
2341
2341
|
}
|
|
2342
|
-
$this.
|
|
2343
|
-
tmp = $this.
|
|
2342
|
+
$this.q61_1 = $this.q61_1 + 1 | 0;
|
|
2343
|
+
tmp = $this.q61_1;
|
|
2344
2344
|
} else {
|
|
2345
|
-
if (hasComma && !$this.
|
|
2346
|
-
invalidTrailingComma($this.
|
|
2345
|
+
if (hasComma && !$this.m61_1.h61_1.g63_1) {
|
|
2346
|
+
invalidTrailingComma($this.o61_1, 'array');
|
|
2347
2347
|
}
|
|
2348
2348
|
tmp = -1;
|
|
2349
2349
|
}
|
|
@@ -2351,32 +2351,32 @@ function decodeListIndex($this) {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
function decodeStringKey($this) {
|
|
2353
2353
|
var tmp;
|
|
2354
|
-
if ($this.
|
|
2355
|
-
tmp = $this.
|
|
2354
|
+
if ($this.s61_1.u62_1) {
|
|
2355
|
+
tmp = $this.o61_1.a69();
|
|
2356
2356
|
} else {
|
|
2357
|
-
tmp = $this.
|
|
2357
|
+
tmp = $this.o61_1.z68();
|
|
2358
2358
|
}
|
|
2359
2359
|
return tmp;
|
|
2360
2360
|
}
|
|
2361
2361
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2362
2362
|
AbstractDecoder.call(this);
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2366
|
-
this.
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2370
|
-
this.
|
|
2371
|
-
}
|
|
2372
|
-
protoOf(StreamingJsonDecoder).
|
|
2373
|
-
return this.
|
|
2363
|
+
this.m61_1 = json;
|
|
2364
|
+
this.n61_1 = mode;
|
|
2365
|
+
this.o61_1 = lexer;
|
|
2366
|
+
this.p61_1 = this.m61_1.jt();
|
|
2367
|
+
this.q61_1 = -1;
|
|
2368
|
+
this.r61_1 = discriminatorHolder;
|
|
2369
|
+
this.s61_1 = this.m61_1.h61_1;
|
|
2370
|
+
this.t61_1 = this.s61_1.x62_1 ? null : new JsonElementMarker(descriptor);
|
|
2371
|
+
}
|
|
2372
|
+
protoOf(StreamingJsonDecoder).j63 = function () {
|
|
2373
|
+
return this.m61_1;
|
|
2374
2374
|
};
|
|
2375
2375
|
protoOf(StreamingJsonDecoder).jt = function () {
|
|
2376
|
-
return this.
|
|
2376
|
+
return this.p61_1;
|
|
2377
2377
|
};
|
|
2378
|
-
protoOf(StreamingJsonDecoder).
|
|
2379
|
-
return (new JsonTreeReader(this.
|
|
2378
|
+
protoOf(StreamingJsonDecoder).k63 = function () {
|
|
2379
|
+
return (new JsonTreeReader(this.m61_1.h61_1, this.o61_1)).l67();
|
|
2380
2380
|
};
|
|
2381
2381
|
protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
2382
2382
|
try {
|
|
@@ -2384,13 +2384,13 @@ protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
|
2384
2384
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2385
2385
|
tmp = true;
|
|
2386
2386
|
} else {
|
|
2387
|
-
tmp = this.
|
|
2387
|
+
tmp = this.m61_1.h61_1.a63_1;
|
|
2388
2388
|
}
|
|
2389
2389
|
if (tmp) {
|
|
2390
2390
|
return deserializer.mt(this);
|
|
2391
2391
|
}
|
|
2392
|
-
var discriminator = classDiscriminator(deserializer.ys(), this.
|
|
2393
|
-
var tmp0_elvis_lhs = this.
|
|
2392
|
+
var discriminator = classDiscriminator(deserializer.ys(), this.m61_1);
|
|
2393
|
+
var tmp0_elvis_lhs = this.o61_1.b69(discriminator, this.s61_1.u62_1);
|
|
2394
2394
|
var tmp_0;
|
|
2395
2395
|
if (tmp0_elvis_lhs == null) {
|
|
2396
2396
|
var tmp2 = isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE();
|
|
@@ -2401,20 +2401,20 @@ protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
|
2401
2401
|
if (!(tmp2 instanceof AbstractPolymorphicSerializer)) {
|
|
2402
2402
|
tmp_1 = true;
|
|
2403
2403
|
} else {
|
|
2404
|
-
tmp_1 = this.
|
|
2404
|
+
tmp_1 = this.j63().h61_1.a63_1;
|
|
2405
2405
|
}
|
|
2406
2406
|
if (tmp_1) {
|
|
2407
2407
|
tmp$ret$0 = tmp2.mt(this);
|
|
2408
2408
|
break $l$block;
|
|
2409
2409
|
}
|
|
2410
|
-
var discriminator_0 = classDiscriminator(tmp2.ys(), this.
|
|
2411
|
-
var tmp0 = this.
|
|
2410
|
+
var discriminator_0 = classDiscriminator(tmp2.ys(), this.j63());
|
|
2411
|
+
var tmp0 = this.k63();
|
|
2412
2412
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2413
2413
|
var serialName = tmp2.ys().du();
|
|
2414
2414
|
if (!(tmp0 instanceof JsonObject)) {
|
|
2415
2415
|
var tmp_2 = getKClass(JsonObject).o();
|
|
2416
2416
|
var tmp_3 = getKClassFromExpression(tmp0).o();
|
|
2417
|
-
var tmp$ret$1 = this.
|
|
2417
|
+
var tmp$ret$1 = this.o61_1.v61_1.p66();
|
|
2418
2418
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2419
2419
|
}
|
|
2420
2420
|
var jsonTree = tmp0;
|
|
@@ -2435,7 +2435,7 @@ protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
|
2435
2435
|
}
|
|
2436
2436
|
var tmp_6 = tmp_4;
|
|
2437
2437
|
var actualSerializer = isInterface(tmp_6, DeserializationStrategy) ? tmp_6 : THROW_CCE();
|
|
2438
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
2438
|
+
tmp$ret$0 = readPolymorphicJson(this.j63(), discriminator_0, jsonTree, actualSerializer);
|
|
2439
2439
|
}
|
|
2440
2440
|
return tmp$ret$0;
|
|
2441
2441
|
} else {
|
|
@@ -2451,7 +2451,7 @@ protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
|
2451
2451
|
var it_0 = $p;
|
|
2452
2452
|
var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2453
2453
|
var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
|
|
2454
|
-
this.
|
|
2454
|
+
this.o61_1.c66(message, VOID, hint);
|
|
2455
2455
|
} else {
|
|
2456
2456
|
throw $p;
|
|
2457
2457
|
}
|
|
@@ -2459,37 +2459,37 @@ protoOf(StreamingJsonDecoder).nt = function (deserializer) {
|
|
|
2459
2459
|
}
|
|
2460
2460
|
var tmp_9 = tmp_7;
|
|
2461
2461
|
var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy) ? tmp_9 : THROW_CCE();
|
|
2462
|
-
this.
|
|
2462
|
+
this.r61_1 = new DiscriminatorHolder(discriminator);
|
|
2463
2463
|
return actualSerializer_0.mt(this);
|
|
2464
2464
|
} catch ($p) {
|
|
2465
2465
|
if ($p instanceof MissingFieldException) {
|
|
2466
2466
|
var e = $p;
|
|
2467
2467
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2468
2468
|
throw e;
|
|
2469
|
-
throw MissingFieldException_init_$Create$(e.ju_1, plus(e.message, ' at path: ') + this.
|
|
2469
|
+
throw MissingFieldException_init_$Create$(e.ju_1, plus(e.message, ' at path: ') + this.o61_1.v61_1.p66(), e);
|
|
2470
2470
|
} else {
|
|
2471
2471
|
throw $p;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
};
|
|
2475
2475
|
protoOf(StreamingJsonDecoder).nw = function (descriptor) {
|
|
2476
|
-
var newMode = switchMode(this.
|
|
2477
|
-
this.
|
|
2478
|
-
this.
|
|
2476
|
+
var newMode = switchMode(this.m61_1, descriptor);
|
|
2477
|
+
this.o61_1.v61_1.k66(descriptor);
|
|
2478
|
+
this.o61_1.t68(newMode.e69_1);
|
|
2479
2479
|
checkLeadingComma(this);
|
|
2480
2480
|
var tmp;
|
|
2481
2481
|
switch (newMode.a1_1) {
|
|
2482
2482
|
case 1:
|
|
2483
2483
|
case 2:
|
|
2484
2484
|
case 3:
|
|
2485
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2485
|
+
tmp = new StreamingJsonDecoder(this.m61_1, newMode, this.o61_1, descriptor, this.r61_1);
|
|
2486
2486
|
break;
|
|
2487
2487
|
default:
|
|
2488
2488
|
var tmp_0;
|
|
2489
|
-
if (this.
|
|
2489
|
+
if (this.n61_1.equals(newMode) && this.m61_1.h61_1.x62_1) {
|
|
2490
2490
|
tmp_0 = this;
|
|
2491
2491
|
} else {
|
|
2492
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2492
|
+
tmp_0 = new StreamingJsonDecoder(this.m61_1, newMode, this.o61_1, descriptor, this.r61_1);
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
tmp = tmp_0;
|
|
@@ -2498,21 +2498,21 @@ protoOf(StreamingJsonDecoder).nw = function (descriptor) {
|
|
|
2498
2498
|
return tmp;
|
|
2499
2499
|
};
|
|
2500
2500
|
protoOf(StreamingJsonDecoder).ow = function (descriptor) {
|
|
2501
|
-
if (descriptor.yu() === 0 && ignoreUnknownKeys(descriptor, this.
|
|
2501
|
+
if (descriptor.yu() === 0 && ignoreUnknownKeys(descriptor, this.m61_1)) {
|
|
2502
2502
|
skipLeftoverElements(this, descriptor);
|
|
2503
2503
|
}
|
|
2504
|
-
if (this.
|
|
2505
|
-
invalidTrailingComma(this.
|
|
2504
|
+
if (this.o61_1.u68() && !this.m61_1.h61_1.g63_1) {
|
|
2505
|
+
invalidTrailingComma(this.o61_1, '');
|
|
2506
2506
|
}
|
|
2507
|
-
this.
|
|
2508
|
-
this.
|
|
2507
|
+
this.o61_1.t68(this.n61_1.f69_1);
|
|
2508
|
+
this.o61_1.v61_1.o66();
|
|
2509
2509
|
};
|
|
2510
2510
|
protoOf(StreamingJsonDecoder).zv = function () {
|
|
2511
2511
|
var tmp;
|
|
2512
|
-
var tmp0_safe_receiver = this.
|
|
2513
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2512
|
+
var tmp0_safe_receiver = this.t61_1;
|
|
2513
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y65_1;
|
|
2514
2514
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2515
|
-
tmp = !this.
|
|
2515
|
+
tmp = !this.o61_1.g69();
|
|
2516
2516
|
} else {
|
|
2517
2517
|
tmp = false;
|
|
2518
2518
|
}
|
|
@@ -2522,19 +2522,19 @@ protoOf(StreamingJsonDecoder).aw = function () {
|
|
|
2522
2522
|
return null;
|
|
2523
2523
|
};
|
|
2524
2524
|
protoOf(StreamingJsonDecoder).zw = function (descriptor, index, deserializer, previousValue) {
|
|
2525
|
-
var isMapKey = this.
|
|
2525
|
+
var isMapKey = this.n61_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
|
|
2526
2526
|
if (isMapKey) {
|
|
2527
|
-
this.
|
|
2527
|
+
this.o61_1.v61_1.n66();
|
|
2528
2528
|
}
|
|
2529
2529
|
var value = protoOf(AbstractDecoder).zw.call(this, descriptor, index, deserializer, previousValue);
|
|
2530
2530
|
if (isMapKey) {
|
|
2531
|
-
this.
|
|
2531
|
+
this.o61_1.v61_1.m66(value);
|
|
2532
2532
|
}
|
|
2533
2533
|
return value;
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(StreamingJsonDecoder).ex = function (descriptor) {
|
|
2536
2536
|
var index;
|
|
2537
|
-
switch (this.
|
|
2537
|
+
switch (this.n61_1.a1_1) {
|
|
2538
2538
|
case 0:
|
|
2539
2539
|
index = decodeObjectIndex(this, descriptor);
|
|
2540
2540
|
break;
|
|
@@ -2545,44 +2545,44 @@ protoOf(StreamingJsonDecoder).ex = function (descriptor) {
|
|
|
2545
2545
|
index = decodeListIndex(this);
|
|
2546
2546
|
break;
|
|
2547
2547
|
}
|
|
2548
|
-
if (!this.
|
|
2549
|
-
this.
|
|
2548
|
+
if (!this.n61_1.equals(WriteMode_MAP_getInstance())) {
|
|
2549
|
+
this.o61_1.v61_1.l66(index);
|
|
2550
2550
|
}
|
|
2551
2551
|
return index;
|
|
2552
2552
|
};
|
|
2553
2553
|
protoOf(StreamingJsonDecoder).bw = function () {
|
|
2554
|
-
return this.
|
|
2554
|
+
return this.o61_1.h69();
|
|
2555
2555
|
};
|
|
2556
2556
|
protoOf(StreamingJsonDecoder).cw = function () {
|
|
2557
|
-
var value = this.
|
|
2557
|
+
var value = this.o61_1.i69();
|
|
2558
2558
|
if (!(value === fromInt(convertToByte(value)))) {
|
|
2559
|
-
this.
|
|
2559
|
+
this.o61_1.c66("Failed to parse byte for input '" + value.toString() + "'");
|
|
2560
2560
|
}
|
|
2561
2561
|
return convertToByte(value);
|
|
2562
2562
|
};
|
|
2563
2563
|
protoOf(StreamingJsonDecoder).dw = function () {
|
|
2564
|
-
var value = this.
|
|
2564
|
+
var value = this.o61_1.i69();
|
|
2565
2565
|
if (!(value === fromInt(convertToShort(value)))) {
|
|
2566
|
-
this.
|
|
2566
|
+
this.o61_1.c66("Failed to parse short for input '" + value.toString() + "'");
|
|
2567
2567
|
}
|
|
2568
2568
|
return convertToShort(value);
|
|
2569
2569
|
};
|
|
2570
2570
|
protoOf(StreamingJsonDecoder).ew = function () {
|
|
2571
|
-
var value = this.
|
|
2571
|
+
var value = this.o61_1.i69();
|
|
2572
2572
|
if (!(value === fromInt(convertToInt(value)))) {
|
|
2573
|
-
this.
|
|
2573
|
+
this.o61_1.c66("Failed to parse int for input '" + value.toString() + "'");
|
|
2574
2574
|
}
|
|
2575
2575
|
return convertToInt(value);
|
|
2576
2576
|
};
|
|
2577
2577
|
protoOf(StreamingJsonDecoder).fw = function () {
|
|
2578
|
-
return this.
|
|
2578
|
+
return this.o61_1.i69();
|
|
2579
2579
|
};
|
|
2580
2580
|
protoOf(StreamingJsonDecoder).gw = function () {
|
|
2581
|
-
var tmp0 = this.
|
|
2581
|
+
var tmp0 = this.o61_1;
|
|
2582
2582
|
var tmp$ret$4;
|
|
2583
2583
|
$l$block: {
|
|
2584
2584
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2585
|
-
var input = tmp0.
|
|
2585
|
+
var input = tmp0.k67();
|
|
2586
2586
|
try {
|
|
2587
2587
|
// Inline function 'kotlin.text.toFloat' call
|
|
2588
2588
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -2592,82 +2592,82 @@ protoOf(StreamingJsonDecoder).gw = function () {
|
|
|
2592
2592
|
} catch ($p) {
|
|
2593
2593
|
if ($p instanceof IllegalArgumentException) {
|
|
2594
2594
|
var e = $p;
|
|
2595
|
-
tmp0.
|
|
2595
|
+
tmp0.c66("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2596
2596
|
} else {
|
|
2597
2597
|
throw $p;
|
|
2598
2598
|
}
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
2601
|
var result = tmp$ret$4;
|
|
2602
|
-
var specialFp = this.
|
|
2602
|
+
var specialFp = this.m61_1.h61_1.c63_1;
|
|
2603
2603
|
if (specialFp || isFinite(result))
|
|
2604
2604
|
return result;
|
|
2605
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2605
|
+
throwInvalidFloatingPointDecoded(this.o61_1, result);
|
|
2606
2606
|
};
|
|
2607
2607
|
protoOf(StreamingJsonDecoder).hw = function () {
|
|
2608
|
-
var tmp0 = this.
|
|
2608
|
+
var tmp0 = this.o61_1;
|
|
2609
2609
|
var tmp$ret$1;
|
|
2610
2610
|
$l$block: {
|
|
2611
2611
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2612
|
-
var input = tmp0.
|
|
2612
|
+
var input = tmp0.k67();
|
|
2613
2613
|
try {
|
|
2614
2614
|
tmp$ret$1 = toDouble(input);
|
|
2615
2615
|
break $l$block;
|
|
2616
2616
|
} catch ($p) {
|
|
2617
2617
|
if ($p instanceof IllegalArgumentException) {
|
|
2618
2618
|
var e = $p;
|
|
2619
|
-
tmp0.
|
|
2619
|
+
tmp0.c66("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2620
2620
|
} else {
|
|
2621
2621
|
throw $p;
|
|
2622
2622
|
}
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
2625
|
var result = tmp$ret$1;
|
|
2626
|
-
var specialFp = this.
|
|
2626
|
+
var specialFp = this.m61_1.h61_1.c63_1;
|
|
2627
2627
|
if (specialFp || isFinite_0(result))
|
|
2628
2628
|
return result;
|
|
2629
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2629
|
+
throwInvalidFloatingPointDecoded(this.o61_1, result);
|
|
2630
2630
|
};
|
|
2631
2631
|
protoOf(StreamingJsonDecoder).iw = function () {
|
|
2632
|
-
var string = this.
|
|
2632
|
+
var string = this.o61_1.k67();
|
|
2633
2633
|
if (!(string.length === 1)) {
|
|
2634
|
-
this.
|
|
2634
|
+
this.o61_1.c66("Expected single char, but got '" + string + "'");
|
|
2635
2635
|
}
|
|
2636
2636
|
return charCodeAt(string, 0);
|
|
2637
2637
|
};
|
|
2638
2638
|
protoOf(StreamingJsonDecoder).jw = function () {
|
|
2639
2639
|
var tmp;
|
|
2640
|
-
if (this.
|
|
2641
|
-
tmp = this.
|
|
2640
|
+
if (this.s61_1.u62_1) {
|
|
2641
|
+
tmp = this.o61_1.a69();
|
|
2642
2642
|
} else {
|
|
2643
|
-
tmp = this.
|
|
2643
|
+
tmp = this.o61_1.j67();
|
|
2644
2644
|
}
|
|
2645
2645
|
return tmp;
|
|
2646
2646
|
};
|
|
2647
2647
|
protoOf(StreamingJsonDecoder).lw = function (descriptor) {
|
|
2648
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2648
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.o61_1, this.m61_1) : protoOf(AbstractDecoder).lw.call(this, descriptor);
|
|
2649
2649
|
};
|
|
2650
2650
|
protoOf(StreamingJsonDecoder).kw = function (enumDescriptor) {
|
|
2651
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2651
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.m61_1, this.jw(), ' at path ' + this.o61_1.v61_1.p66());
|
|
2652
2652
|
};
|
|
2653
2653
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2654
2654
|
AbstractDecoder.call(this);
|
|
2655
|
-
this.
|
|
2656
|
-
this.
|
|
2655
|
+
this.j69_1 = lexer;
|
|
2656
|
+
this.k69_1 = json.jt();
|
|
2657
2657
|
}
|
|
2658
2658
|
protoOf(JsonDecoderForUnsignedTypes).jt = function () {
|
|
2659
|
-
return this.
|
|
2659
|
+
return this.k69_1;
|
|
2660
2660
|
};
|
|
2661
2661
|
protoOf(JsonDecoderForUnsignedTypes).ex = function (descriptor) {
|
|
2662
2662
|
var message = 'unsupported';
|
|
2663
2663
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2664
2664
|
};
|
|
2665
2665
|
protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
2666
|
-
var tmp0 = this.
|
|
2666
|
+
var tmp0 = this.j69_1;
|
|
2667
2667
|
var tmp$ret$2;
|
|
2668
2668
|
$l$block: {
|
|
2669
2669
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2670
|
-
var input = tmp0.
|
|
2670
|
+
var input = tmp0.k67();
|
|
2671
2671
|
try {
|
|
2672
2672
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2673
2673
|
var this_0 = toUInt(input);
|
|
@@ -2676,7 +2676,7 @@ protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
|
2676
2676
|
} catch ($p) {
|
|
2677
2677
|
if ($p instanceof IllegalArgumentException) {
|
|
2678
2678
|
var e = $p;
|
|
2679
|
-
tmp0.
|
|
2679
|
+
tmp0.c66("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2680
2680
|
} else {
|
|
2681
2681
|
throw $p;
|
|
2682
2682
|
}
|
|
@@ -2685,11 +2685,11 @@ protoOf(JsonDecoderForUnsignedTypes).ew = function () {
|
|
|
2685
2685
|
return tmp$ret$2;
|
|
2686
2686
|
};
|
|
2687
2687
|
protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
2688
|
-
var tmp0 = this.
|
|
2688
|
+
var tmp0 = this.j69_1;
|
|
2689
2689
|
var tmp$ret$2;
|
|
2690
2690
|
$l$block: {
|
|
2691
2691
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2692
|
-
var input = tmp0.
|
|
2692
|
+
var input = tmp0.k67();
|
|
2693
2693
|
try {
|
|
2694
2694
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2695
2695
|
var this_0 = toULong(input);
|
|
@@ -2698,7 +2698,7 @@ protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
|
2698
2698
|
} catch ($p) {
|
|
2699
2699
|
if ($p instanceof IllegalArgumentException) {
|
|
2700
2700
|
var e = $p;
|
|
2701
|
-
tmp0.
|
|
2701
|
+
tmp0.c66("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2702
2702
|
} else {
|
|
2703
2703
|
throw $p;
|
|
2704
2704
|
}
|
|
@@ -2707,11 +2707,11 @@ protoOf(JsonDecoderForUnsignedTypes).fw = function () {
|
|
|
2707
2707
|
return tmp$ret$2;
|
|
2708
2708
|
};
|
|
2709
2709
|
protoOf(JsonDecoderForUnsignedTypes).cw = function () {
|
|
2710
|
-
var tmp0 = this.
|
|
2710
|
+
var tmp0 = this.j69_1;
|
|
2711
2711
|
var tmp$ret$2;
|
|
2712
2712
|
$l$block: {
|
|
2713
2713
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2714
|
-
var input = tmp0.
|
|
2714
|
+
var input = tmp0.k67();
|
|
2715
2715
|
try {
|
|
2716
2716
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2717
2717
|
var this_0 = toUByte(input);
|
|
@@ -2720,7 +2720,7 @@ protoOf(JsonDecoderForUnsignedTypes).cw = function () {
|
|
|
2720
2720
|
} catch ($p) {
|
|
2721
2721
|
if ($p instanceof IllegalArgumentException) {
|
|
2722
2722
|
var e = $p;
|
|
2723
|
-
tmp0.
|
|
2723
|
+
tmp0.c66("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2724
2724
|
} else {
|
|
2725
2725
|
throw $p;
|
|
2726
2726
|
}
|
|
@@ -2729,11 +2729,11 @@ protoOf(JsonDecoderForUnsignedTypes).cw = function () {
|
|
|
2729
2729
|
return tmp$ret$2;
|
|
2730
2730
|
};
|
|
2731
2731
|
protoOf(JsonDecoderForUnsignedTypes).dw = function () {
|
|
2732
|
-
var tmp0 = this.
|
|
2732
|
+
var tmp0 = this.j69_1;
|
|
2733
2733
|
var tmp$ret$2;
|
|
2734
2734
|
$l$block: {
|
|
2735
2735
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2736
|
-
var input = tmp0.
|
|
2736
|
+
var input = tmp0.k67();
|
|
2737
2737
|
try {
|
|
2738
2738
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2739
2739
|
var this_0 = toUShort(input);
|
|
@@ -2742,7 +2742,7 @@ protoOf(JsonDecoderForUnsignedTypes).dw = function () {
|
|
|
2742
2742
|
} catch ($p) {
|
|
2743
2743
|
if ($p instanceof IllegalArgumentException) {
|
|
2744
2744
|
var e = $p;
|
|
2745
|
-
tmp0.
|
|
2745
|
+
tmp0.c66("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2746
2746
|
} else {
|
|
2747
2747
|
throw $p;
|
|
2748
2748
|
}
|
|
@@ -2763,53 +2763,53 @@ function StreamingJsonEncoder_init_$Create$(output, json, mode, modeReuseCache)
|
|
|
2763
2763
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2764
2764
|
}
|
|
2765
2765
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
2766
|
-
$this.
|
|
2766
|
+
$this.t66_1.w64();
|
|
2767
2767
|
$this.rx(discriminator);
|
|
2768
|
-
$this.
|
|
2769
|
-
$this.
|
|
2768
|
+
$this.t66_1.z64(_Char___init__impl__6a9atx(58));
|
|
2769
|
+
$this.t66_1.y64();
|
|
2770
2770
|
$this.rx(serialName);
|
|
2771
2771
|
}
|
|
2772
2772
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2773
2773
|
AbstractEncoder.call(this);
|
|
2774
|
-
this.
|
|
2775
|
-
this.
|
|
2776
|
-
this.
|
|
2777
|
-
this.
|
|
2778
|
-
this.
|
|
2779
|
-
this.
|
|
2780
|
-
this.
|
|
2781
|
-
this.z66_1 = null;
|
|
2774
|
+
this.t66_1 = composer;
|
|
2775
|
+
this.u66_1 = json;
|
|
2776
|
+
this.v66_1 = mode;
|
|
2777
|
+
this.w66_1 = modeReuseCache;
|
|
2778
|
+
this.x66_1 = this.u66_1.jt();
|
|
2779
|
+
this.y66_1 = this.u66_1.h61_1;
|
|
2780
|
+
this.z66_1 = false;
|
|
2782
2781
|
this.a67_1 = null;
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2782
|
+
this.b67_1 = null;
|
|
2783
|
+
var i = this.v66_1.a1_1;
|
|
2784
|
+
if (!(this.w66_1 == null)) {
|
|
2785
|
+
if (!(this.w66_1[i] === null) || !(this.w66_1[i] === this)) {
|
|
2786
|
+
this.w66_1[i] = this;
|
|
2787
2787
|
}
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
|
-
protoOf(StreamingJsonEncoder).
|
|
2791
|
-
return this.
|
|
2790
|
+
protoOf(StreamingJsonEncoder).j63 = function () {
|
|
2791
|
+
return this.u66_1;
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(StreamingJsonEncoder).jt = function () {
|
|
2794
|
-
return this.
|
|
2794
|
+
return this.x66_1;
|
|
2795
2795
|
};
|
|
2796
2796
|
protoOf(StreamingJsonEncoder).jy = function (descriptor, index) {
|
|
2797
|
-
return this.
|
|
2797
|
+
return this.y66_1.s62_1;
|
|
2798
2798
|
};
|
|
2799
2799
|
protoOf(StreamingJsonEncoder).kt = function (serializer, value) {
|
|
2800
2800
|
$l$block: {
|
|
2801
2801
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
2802
|
-
if (this.
|
|
2802
|
+
if (this.j63().h61_1.a63_1) {
|
|
2803
2803
|
serializer.lt(this, value);
|
|
2804
2804
|
break $l$block;
|
|
2805
2805
|
}
|
|
2806
2806
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
2807
2807
|
var tmp;
|
|
2808
2808
|
if (isPolymorphicSerializer) {
|
|
2809
|
-
tmp = !this.
|
|
2809
|
+
tmp = !this.j63().h61_1.i63_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
2810
2810
|
} else {
|
|
2811
2811
|
var tmp_0;
|
|
2812
|
-
switch (this.
|
|
2812
|
+
switch (this.j63().h61_1.i63_1.a1_1) {
|
|
2813
2813
|
case 0:
|
|
2814
2814
|
case 2:
|
|
2815
2815
|
tmp_0 = false;
|
|
@@ -2827,7 +2827,7 @@ protoOf(StreamingJsonEncoder).kt = function (serializer, value) {
|
|
|
2827
2827
|
tmp = tmp_0;
|
|
2828
2828
|
}
|
|
2829
2829
|
var needDiscriminator = tmp;
|
|
2830
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ys(), this.
|
|
2830
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.ys(), this.j63()) : null;
|
|
2831
2831
|
var tmp_1;
|
|
2832
2832
|
if (isPolymorphicSerializer) {
|
|
2833
2833
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -2852,93 +2852,93 @@ protoOf(StreamingJsonEncoder).kt = function (serializer, value) {
|
|
|
2852
2852
|
var actualSerializer = tmp_1;
|
|
2853
2853
|
if (!(baseClassDiscriminator == null)) {
|
|
2854
2854
|
var serialName = actualSerializer.ys().du();
|
|
2855
|
-
this.
|
|
2856
|
-
this.
|
|
2855
|
+
this.a67_1 = baseClassDiscriminator;
|
|
2856
|
+
this.b67_1 = serialName;
|
|
2857
2857
|
}
|
|
2858
2858
|
actualSerializer.lt(this, value);
|
|
2859
2859
|
}
|
|
2860
2860
|
};
|
|
2861
2861
|
protoOf(StreamingJsonEncoder).nw = function (descriptor) {
|
|
2862
|
-
var newMode = switchMode(this.
|
|
2863
|
-
if (!(newMode.
|
|
2864
|
-
this.
|
|
2865
|
-
this.
|
|
2862
|
+
var newMode = switchMode(this.u66_1, descriptor);
|
|
2863
|
+
if (!(newMode.e69_1 === _Char___init__impl__6a9atx(0))) {
|
|
2864
|
+
this.t66_1.z64(newMode.e69_1);
|
|
2865
|
+
this.t66_1.u64();
|
|
2866
2866
|
}
|
|
2867
|
-
var discriminator = this.
|
|
2867
|
+
var discriminator = this.a67_1;
|
|
2868
2868
|
if (!(discriminator == null)) {
|
|
2869
|
-
var tmp0_elvis_lhs = this.
|
|
2869
|
+
var tmp0_elvis_lhs = this.b67_1;
|
|
2870
2870
|
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.du() : tmp0_elvis_lhs);
|
|
2871
|
-
this.z66_1 = null;
|
|
2872
2871
|
this.a67_1 = null;
|
|
2872
|
+
this.b67_1 = null;
|
|
2873
2873
|
}
|
|
2874
|
-
if (this.
|
|
2874
|
+
if (this.v66_1.equals(newMode)) {
|
|
2875
2875
|
return this;
|
|
2876
2876
|
}
|
|
2877
|
-
var tmp1_safe_receiver = this.
|
|
2877
|
+
var tmp1_safe_receiver = this.w66_1;
|
|
2878
2878
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.a1_1];
|
|
2879
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2879
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.t66_1, this.u66_1, newMode, this.w66_1) : tmp2_elvis_lhs;
|
|
2880
2880
|
};
|
|
2881
2881
|
protoOf(StreamingJsonEncoder).ow = function (descriptor) {
|
|
2882
|
-
if (!(this.
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2882
|
+
if (!(this.v66_1.f69_1 === _Char___init__impl__6a9atx(0))) {
|
|
2883
|
+
this.t66_1.v64();
|
|
2884
|
+
this.t66_1.x64();
|
|
2885
|
+
this.t66_1.z64(this.v66_1.f69_1);
|
|
2886
2886
|
}
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(StreamingJsonEncoder).gx = function (descriptor, index) {
|
|
2889
|
-
switch (this.
|
|
2889
|
+
switch (this.v66_1.a1_1) {
|
|
2890
2890
|
case 1:
|
|
2891
|
-
if (!this.
|
|
2892
|
-
this.
|
|
2891
|
+
if (!this.t66_1.t64_1) {
|
|
2892
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(44));
|
|
2893
2893
|
}
|
|
2894
2894
|
|
|
2895
|
-
this.
|
|
2895
|
+
this.t66_1.w64();
|
|
2896
2896
|
break;
|
|
2897
2897
|
case 2:
|
|
2898
|
-
if (!this.
|
|
2898
|
+
if (!this.t66_1.t64_1) {
|
|
2899
2899
|
var tmp = this;
|
|
2900
2900
|
var tmp_0;
|
|
2901
2901
|
if ((index % 2 | 0) === 0) {
|
|
2902
|
-
this.
|
|
2903
|
-
this.
|
|
2902
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(44));
|
|
2903
|
+
this.t66_1.w64();
|
|
2904
2904
|
tmp_0 = true;
|
|
2905
2905
|
} else {
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2906
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(58));
|
|
2907
|
+
this.t66_1.y64();
|
|
2908
2908
|
tmp_0 = false;
|
|
2909
2909
|
}
|
|
2910
|
-
tmp.
|
|
2910
|
+
tmp.z66_1 = tmp_0;
|
|
2911
2911
|
} else {
|
|
2912
|
-
this.
|
|
2913
|
-
this.
|
|
2912
|
+
this.z66_1 = true;
|
|
2913
|
+
this.t66_1.w64();
|
|
2914
2914
|
}
|
|
2915
2915
|
|
|
2916
2916
|
break;
|
|
2917
2917
|
case 3:
|
|
2918
2918
|
if (index === 0)
|
|
2919
|
-
this.
|
|
2919
|
+
this.z66_1 = true;
|
|
2920
2920
|
if (index === 1) {
|
|
2921
|
-
this.
|
|
2922
|
-
this.
|
|
2923
|
-
this.
|
|
2921
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(44));
|
|
2922
|
+
this.t66_1.y64();
|
|
2923
|
+
this.z66_1 = false;
|
|
2924
2924
|
}
|
|
2925
2925
|
|
|
2926
2926
|
break;
|
|
2927
2927
|
default:
|
|
2928
|
-
if (!this.
|
|
2929
|
-
this.
|
|
2928
|
+
if (!this.t66_1.t64_1) {
|
|
2929
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(44));
|
|
2930
2930
|
}
|
|
2931
2931
|
|
|
2932
|
-
this.
|
|
2933
|
-
this.rx(getJsonElementName(descriptor, this.
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2932
|
+
this.t66_1.w64();
|
|
2933
|
+
this.rx(getJsonElementName(descriptor, this.u66_1, index));
|
|
2934
|
+
this.t66_1.z64(_Char___init__impl__6a9atx(58));
|
|
2935
|
+
this.t66_1.y64();
|
|
2936
2936
|
break;
|
|
2937
2937
|
}
|
|
2938
2938
|
return true;
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(StreamingJsonEncoder).fy = function (descriptor, index, serializer, value) {
|
|
2941
|
-
if (!(value == null) || this.
|
|
2941
|
+
if (!(value == null) || this.y66_1.x62_1) {
|
|
2942
2942
|
protoOf(AbstractEncoder).fy.call(this, descriptor, index, serializer, value);
|
|
2943
2943
|
}
|
|
2944
2944
|
};
|
|
@@ -2947,32 +2947,32 @@ protoOf(StreamingJsonEncoder).tx = function (descriptor) {
|
|
|
2947
2947
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2948
2948
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2949
2949
|
var tmp_0;
|
|
2950
|
-
var tmp_1 = this.
|
|
2950
|
+
var tmp_1 = this.t66_1;
|
|
2951
2951
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2952
|
-
tmp_0 = this.
|
|
2952
|
+
tmp_0 = this.t66_1;
|
|
2953
2953
|
} else {
|
|
2954
|
-
var tmp0 = this.
|
|
2955
|
-
var p1 = this.
|
|
2954
|
+
var tmp0 = this.t66_1.s64_1;
|
|
2955
|
+
var p1 = this.z66_1;
|
|
2956
2956
|
tmp_0 = new ComposerForUnsignedNumbers(tmp0, p1);
|
|
2957
2957
|
}
|
|
2958
2958
|
var tmp$ret$1 = tmp_0;
|
|
2959
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2959
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.u66_1, this.v66_1, null);
|
|
2960
2960
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2961
2961
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2962
2962
|
var tmp_2;
|
|
2963
|
-
var tmp_3 = this.
|
|
2963
|
+
var tmp_3 = this.t66_1;
|
|
2964
2964
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2965
|
-
tmp_2 = this.
|
|
2965
|
+
tmp_2 = this.t66_1;
|
|
2966
2966
|
} else {
|
|
2967
|
-
var tmp0_0 = this.
|
|
2968
|
-
var p1_0 = this.
|
|
2967
|
+
var tmp0_0 = this.t66_1.s64_1;
|
|
2968
|
+
var p1_0 = this.z66_1;
|
|
2969
2969
|
tmp_2 = new ComposerForUnquotedLiterals(tmp0_0, p1_0);
|
|
2970
2970
|
}
|
|
2971
2971
|
var tmp$ret$3 = tmp_2;
|
|
2972
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2973
|
-
} else if (!(this.
|
|
2972
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.u66_1, this.v66_1, null);
|
|
2973
|
+
} else if (!(this.a67_1 == null)) {
|
|
2974
2974
|
// Inline function 'kotlin.apply' call
|
|
2975
|
-
this.
|
|
2975
|
+
this.b67_1 = descriptor.du();
|
|
2976
2976
|
tmp = this;
|
|
2977
2977
|
} else {
|
|
2978
2978
|
tmp = protoOf(AbstractEncoder).tx.call(this, descriptor);
|
|
@@ -2980,68 +2980,68 @@ protoOf(StreamingJsonEncoder).tx = function (descriptor) {
|
|
|
2980
2980
|
return tmp;
|
|
2981
2981
|
};
|
|
2982
2982
|
protoOf(StreamingJsonEncoder).ix = function () {
|
|
2983
|
-
this.
|
|
2983
|
+
this.t66_1.b65('null');
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(StreamingJsonEncoder).jx = function (value) {
|
|
2986
|
-
if (this.
|
|
2986
|
+
if (this.z66_1) {
|
|
2987
2987
|
this.rx(value.toString());
|
|
2988
2988
|
} else {
|
|
2989
|
-
this.
|
|
2989
|
+
this.t66_1.k65(value);
|
|
2990
2990
|
}
|
|
2991
2991
|
};
|
|
2992
2992
|
protoOf(StreamingJsonEncoder).kx = function (value) {
|
|
2993
|
-
if (this.
|
|
2993
|
+
if (this.z66_1) {
|
|
2994
2994
|
this.rx(value.toString());
|
|
2995
2995
|
} else {
|
|
2996
|
-
this.
|
|
2996
|
+
this.t66_1.f65(value);
|
|
2997
2997
|
}
|
|
2998
2998
|
};
|
|
2999
2999
|
protoOf(StreamingJsonEncoder).lx = function (value) {
|
|
3000
|
-
if (this.
|
|
3000
|
+
if (this.z66_1) {
|
|
3001
3001
|
this.rx(value.toString());
|
|
3002
3002
|
} else {
|
|
3003
|
-
this.
|
|
3003
|
+
this.t66_1.h65(value);
|
|
3004
3004
|
}
|
|
3005
3005
|
};
|
|
3006
3006
|
protoOf(StreamingJsonEncoder).mx = function (value) {
|
|
3007
|
-
if (this.
|
|
3007
|
+
if (this.z66_1) {
|
|
3008
3008
|
this.rx(value.toString());
|
|
3009
3009
|
} else {
|
|
3010
|
-
this.
|
|
3010
|
+
this.t66_1.i65(value);
|
|
3011
3011
|
}
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(StreamingJsonEncoder).nx = function (value) {
|
|
3014
|
-
if (this.
|
|
3014
|
+
if (this.z66_1) {
|
|
3015
3015
|
this.rx(value.toString());
|
|
3016
3016
|
} else {
|
|
3017
|
-
this.
|
|
3017
|
+
this.t66_1.j65(value);
|
|
3018
3018
|
}
|
|
3019
3019
|
};
|
|
3020
3020
|
protoOf(StreamingJsonEncoder).ox = function (value) {
|
|
3021
|
-
if (this.
|
|
3021
|
+
if (this.z66_1) {
|
|
3022
3022
|
this.rx(value.toString());
|
|
3023
3023
|
} else {
|
|
3024
|
-
this.
|
|
3024
|
+
this.t66_1.d65(value);
|
|
3025
3025
|
}
|
|
3026
|
-
if (!this.
|
|
3027
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3026
|
+
if (!this.y66_1.c63_1 && !isFinite(value)) {
|
|
3027
|
+
throw InvalidFloatingPointEncoded(value, toString(this.t66_1.s64_1));
|
|
3028
3028
|
}
|
|
3029
3029
|
};
|
|
3030
3030
|
protoOf(StreamingJsonEncoder).px = function (value) {
|
|
3031
|
-
if (this.
|
|
3031
|
+
if (this.z66_1) {
|
|
3032
3032
|
this.rx(value.toString());
|
|
3033
3033
|
} else {
|
|
3034
|
-
this.
|
|
3034
|
+
this.t66_1.e65(value);
|
|
3035
3035
|
}
|
|
3036
|
-
if (!this.
|
|
3037
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
3036
|
+
if (!this.y66_1.c63_1 && !isFinite_0(value)) {
|
|
3037
|
+
throw InvalidFloatingPointEncoded(value, toString(this.t66_1.s64_1));
|
|
3038
3038
|
}
|
|
3039
3039
|
};
|
|
3040
3040
|
protoOf(StreamingJsonEncoder).qx = function (value) {
|
|
3041
3041
|
this.rx(toString_1(value));
|
|
3042
3042
|
};
|
|
3043
3043
|
protoOf(StreamingJsonEncoder).rx = function (value) {
|
|
3044
|
-
return this.
|
|
3044
|
+
return this.t66_1.l65(value);
|
|
3045
3045
|
};
|
|
3046
3046
|
protoOf(StreamingJsonEncoder).sx = function (enumDescriptor, index) {
|
|
3047
3047
|
this.rx(enumDescriptor.zu(index));
|
|
@@ -3215,42 +3215,42 @@ function _init_properties_StringOps_kt__fcy1db() {
|
|
|
3215
3215
|
}
|
|
3216
3216
|
function unparsedPrimitive($this, literal, primitive, tag) {
|
|
3217
3217
|
var type = startsWith(primitive, 'i') ? 'an ' + primitive : 'a ' + primitive;
|
|
3218
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.
|
|
3218
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal '" + literal.toString() + "' as " + type + ' value at element: ' + $this.r69(tag), toString($this.s69()));
|
|
3219
3219
|
}
|
|
3220
3220
|
function AbstractJsonTreeDecoder(json, value, polymorphicDiscriminator) {
|
|
3221
3221
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3222
3222
|
NamedValueDecoder.call(this);
|
|
3223
|
-
this.
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3226
|
-
this.
|
|
3223
|
+
this.n69_1 = json;
|
|
3224
|
+
this.o69_1 = value;
|
|
3225
|
+
this.p69_1 = polymorphicDiscriminator;
|
|
3226
|
+
this.q69_1 = this.j63().h61_1;
|
|
3227
3227
|
}
|
|
3228
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3229
|
-
return this.
|
|
3228
|
+
protoOf(AbstractJsonTreeDecoder).j63 = function () {
|
|
3229
|
+
return this.n69_1;
|
|
3230
3230
|
};
|
|
3231
3231
|
protoOf(AbstractJsonTreeDecoder).n1 = function () {
|
|
3232
|
-
return this.
|
|
3232
|
+
return this.o69_1;
|
|
3233
3233
|
};
|
|
3234
3234
|
protoOf(AbstractJsonTreeDecoder).jt = function () {
|
|
3235
|
-
return this.
|
|
3235
|
+
return this.j63().jt();
|
|
3236
3236
|
};
|
|
3237
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3237
|
+
protoOf(AbstractJsonTreeDecoder).s69 = function () {
|
|
3238
3238
|
var tmp0_safe_receiver = this.w1a();
|
|
3239
3239
|
var tmp;
|
|
3240
3240
|
if (tmp0_safe_receiver == null) {
|
|
3241
3241
|
tmp = null;
|
|
3242
3242
|
} else {
|
|
3243
3243
|
// Inline function 'kotlin.let' call
|
|
3244
|
-
tmp = this.
|
|
3244
|
+
tmp = this.t69(tmp0_safe_receiver);
|
|
3245
3245
|
}
|
|
3246
3246
|
var tmp1_elvis_lhs = tmp;
|
|
3247
3247
|
return tmp1_elvis_lhs == null ? this.n1() : tmp1_elvis_lhs;
|
|
3248
3248
|
};
|
|
3249
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3249
|
+
protoOf(AbstractJsonTreeDecoder).r69 = function (currentTag) {
|
|
3250
3250
|
return this.y1a() + ('.' + currentTag);
|
|
3251
3251
|
};
|
|
3252
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3253
|
-
return this.
|
|
3252
|
+
protoOf(AbstractJsonTreeDecoder).k63 = function () {
|
|
3253
|
+
return this.s69();
|
|
3254
3254
|
};
|
|
3255
3255
|
protoOf(AbstractJsonTreeDecoder).nt = function (deserializer) {
|
|
3256
3256
|
var tmp$ret$0;
|
|
@@ -3260,14 +3260,14 @@ protoOf(AbstractJsonTreeDecoder).nt = function (deserializer) {
|
|
|
3260
3260
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
3261
3261
|
tmp = true;
|
|
3262
3262
|
} else {
|
|
3263
|
-
tmp = this.
|
|
3263
|
+
tmp = this.j63().h61_1.a63_1;
|
|
3264
3264
|
}
|
|
3265
3265
|
if (tmp) {
|
|
3266
3266
|
tmp$ret$0 = deserializer.mt(this);
|
|
3267
3267
|
break $l$block;
|
|
3268
3268
|
}
|
|
3269
|
-
var discriminator = classDiscriminator(deserializer.ys(), this.
|
|
3270
|
-
var tmp0 = this.
|
|
3269
|
+
var discriminator = classDiscriminator(deserializer.ys(), this.j63());
|
|
3270
|
+
var tmp0 = this.k63();
|
|
3271
3271
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3272
3272
|
var serialName = deserializer.ys().du();
|
|
3273
3273
|
if (!(tmp0 instanceof JsonObject)) {
|
|
@@ -3294,7 +3294,7 @@ protoOf(AbstractJsonTreeDecoder).nt = function (deserializer) {
|
|
|
3294
3294
|
}
|
|
3295
3295
|
var tmp_4 = tmp_2;
|
|
3296
3296
|
var actualSerializer = isInterface(tmp_4, DeserializationStrategy) ? tmp_4 : THROW_CCE();
|
|
3297
|
-
tmp$ret$0 = readPolymorphicJson(this.
|
|
3297
|
+
tmp$ret$0 = readPolymorphicJson(this.j63(), discriminator, jsonTree, actualSerializer);
|
|
3298
3298
|
}
|
|
3299
3299
|
return tmp$ret$0;
|
|
3300
3300
|
};
|
|
@@ -3302,7 +3302,7 @@ protoOf(AbstractJsonTreeDecoder).x1a = function (parentName, childName) {
|
|
|
3302
3302
|
return childName;
|
|
3303
3303
|
};
|
|
3304
3304
|
protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
3305
|
-
var currentObject = this.
|
|
3305
|
+
var currentObject = this.s69();
|
|
3306
3306
|
var tmp0_subject = descriptor.wu();
|
|
3307
3307
|
var tmp;
|
|
3308
3308
|
var tmp_0;
|
|
@@ -3312,7 +3312,7 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3312
3312
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3313
3313
|
}
|
|
3314
3314
|
if (tmp_0) {
|
|
3315
|
-
var tmp_1 = this.
|
|
3315
|
+
var tmp_1 = this.j63();
|
|
3316
3316
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3317
3317
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3318
3318
|
var serialName = descriptor.du();
|
|
@@ -3326,7 +3326,7 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3326
3326
|
} else {
|
|
3327
3327
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3328
3328
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3329
|
-
var this_0 = this.
|
|
3329
|
+
var this_0 = this.j63();
|
|
3330
3330
|
var keyDescriptor = carrierDescriptor(descriptor.cv(0), this_0.jt());
|
|
3331
3331
|
var keyKind = keyDescriptor.wu();
|
|
3332
3332
|
var tmp_4;
|
|
@@ -3337,7 +3337,7 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3337
3337
|
tmp_5 = equals(keyKind, ENUM_getInstance());
|
|
3338
3338
|
}
|
|
3339
3339
|
if (tmp_5) {
|
|
3340
|
-
var tmp_6 = this.
|
|
3340
|
+
var tmp_6 = this.j63();
|
|
3341
3341
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3342
3342
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3343
3343
|
var serialName_0 = descriptor.du();
|
|
@@ -3349,8 +3349,8 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3349
3349
|
}
|
|
3350
3350
|
tmp_4 = new JsonTreeMapDecoder(tmp_6, currentObject);
|
|
3351
3351
|
} else {
|
|
3352
|
-
if (this_0.
|
|
3353
|
-
var tmp_9 = this.
|
|
3352
|
+
if (this_0.h61_1.v62_1) {
|
|
3353
|
+
var tmp_9 = this.j63();
|
|
3354
3354
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3355
3355
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3356
3356
|
var serialName_1 = descriptor.du();
|
|
@@ -3367,7 +3367,7 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3367
3367
|
}
|
|
3368
3368
|
tmp = tmp_4;
|
|
3369
3369
|
} else {
|
|
3370
|
-
var tmp_12 = this.
|
|
3370
|
+
var tmp_12 = this.j63();
|
|
3371
3371
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3372
3372
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3373
3373
|
var serialName_2 = descriptor.du();
|
|
@@ -3377,7 +3377,7 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3377
3377
|
var tmp$ret$12 = this.y1a();
|
|
3378
3378
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_13 + ', but had ' + tmp_14 + ' as the serialized body of ' + serialName_2 + ' at element: ' + tmp$ret$12, toString(currentObject));
|
|
3379
3379
|
}
|
|
3380
|
-
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.
|
|
3380
|
+
tmp = new JsonTreeDecoder(tmp_12, currentObject, this.p69_1);
|
|
3381
3381
|
}
|
|
3382
3382
|
}
|
|
3383
3383
|
return tmp;
|
|
@@ -3385,44 +3385,44 @@ protoOf(AbstractJsonTreeDecoder).nw = function (descriptor) {
|
|
|
3385
3385
|
protoOf(AbstractJsonTreeDecoder).ow = function (descriptor) {
|
|
3386
3386
|
};
|
|
3387
3387
|
protoOf(AbstractJsonTreeDecoder).zv = function () {
|
|
3388
|
-
var tmp = this.
|
|
3388
|
+
var tmp = this.s69();
|
|
3389
3389
|
return !(tmp instanceof JsonNull);
|
|
3390
3390
|
};
|
|
3391
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3392
|
-
var tmp = this.
|
|
3391
|
+
protoOf(AbstractJsonTreeDecoder).u69 = function (tag, enumDescriptor) {
|
|
3392
|
+
var tmp = this.j63();
|
|
3393
3393
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3394
|
-
var tmp2 = this.
|
|
3394
|
+
var tmp2 = this.t69(tag);
|
|
3395
3395
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3396
3396
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3397
3397
|
var serialName = enumDescriptor.du();
|
|
3398
3398
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3399
3399
|
var tmp_0 = getKClass(JsonPrimitive).o();
|
|
3400
3400
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3401
|
-
var tmp$ret$0 = this.
|
|
3401
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3402
3402
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3403
3403
|
}
|
|
3404
|
-
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.
|
|
3404
|
+
return getJsonNameIndexOrThrow(enumDescriptor, tmp, tmp2.n4c());
|
|
3405
3405
|
};
|
|
3406
3406
|
protoOf(AbstractJsonTreeDecoder).k1b = function (tag, enumDescriptor) {
|
|
3407
|
-
return this.
|
|
3407
|
+
return this.u69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3408
3408
|
};
|
|
3409
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3410
|
-
return !(this.
|
|
3409
|
+
protoOf(AbstractJsonTreeDecoder).v69 = function (tag) {
|
|
3410
|
+
return !(this.t69(tag) === JsonNull_getInstance());
|
|
3411
3411
|
};
|
|
3412
3412
|
protoOf(AbstractJsonTreeDecoder).a1b = function (tag) {
|
|
3413
|
-
return this.
|
|
3413
|
+
return this.v69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3414
3414
|
};
|
|
3415
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3415
|
+
protoOf(AbstractJsonTreeDecoder).w69 = function (tag) {
|
|
3416
3416
|
var tmp$ret$4;
|
|
3417
3417
|
$l$block: {
|
|
3418
3418
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3419
3419
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3420
3420
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3421
|
-
var value = this.
|
|
3421
|
+
var value = this.t69(tag);
|
|
3422
3422
|
if (!(value instanceof JsonPrimitive)) {
|
|
3423
3423
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3424
3424
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3425
|
-
var tmp$ret$0 = this.
|
|
3425
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3426
3426
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'boolean' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3427
3427
|
}
|
|
3428
3428
|
var literal = value;
|
|
@@ -3448,19 +3448,19 @@ protoOf(AbstractJsonTreeDecoder).v69 = function (tag) {
|
|
|
3448
3448
|
return tmp$ret$4;
|
|
3449
3449
|
};
|
|
3450
3450
|
protoOf(AbstractJsonTreeDecoder).b1b = function (tag) {
|
|
3451
|
-
return this.
|
|
3451
|
+
return this.w69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3452
3452
|
};
|
|
3453
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3453
|
+
protoOf(AbstractJsonTreeDecoder).x69 = function (tag) {
|
|
3454
3454
|
var tmp$ret$5;
|
|
3455
3455
|
$l$block: {
|
|
3456
3456
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3457
3457
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3458
3458
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3459
|
-
var value = this.
|
|
3459
|
+
var value = this.t69(tag);
|
|
3460
3460
|
if (!(value instanceof JsonPrimitive)) {
|
|
3461
3461
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3462
3462
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3463
|
-
var tmp$ret$0 = this.
|
|
3463
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3464
3464
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'byte' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3465
3465
|
}
|
|
3466
3466
|
var literal = value;
|
|
@@ -3495,19 +3495,19 @@ protoOf(AbstractJsonTreeDecoder).w69 = function (tag) {
|
|
|
3495
3495
|
return tmp$ret$5;
|
|
3496
3496
|
};
|
|
3497
3497
|
protoOf(AbstractJsonTreeDecoder).c1b = function (tag) {
|
|
3498
|
-
return this.
|
|
3498
|
+
return this.x69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3499
3499
|
};
|
|
3500
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3500
|
+
protoOf(AbstractJsonTreeDecoder).y69 = function (tag) {
|
|
3501
3501
|
var tmp$ret$5;
|
|
3502
3502
|
$l$block: {
|
|
3503
3503
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3504
3504
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3505
3505
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3506
|
-
var value = this.
|
|
3506
|
+
var value = this.t69(tag);
|
|
3507
3507
|
if (!(value instanceof JsonPrimitive)) {
|
|
3508
3508
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3509
3509
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3510
|
-
var tmp$ret$0 = this.
|
|
3510
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3511
3511
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'short' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3512
3512
|
}
|
|
3513
3513
|
var literal = value;
|
|
@@ -3542,19 +3542,19 @@ protoOf(AbstractJsonTreeDecoder).x69 = function (tag) {
|
|
|
3542
3542
|
return tmp$ret$5;
|
|
3543
3543
|
};
|
|
3544
3544
|
protoOf(AbstractJsonTreeDecoder).d1b = function (tag) {
|
|
3545
|
-
return this.
|
|
3545
|
+
return this.y69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3546
3546
|
};
|
|
3547
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3547
|
+
protoOf(AbstractJsonTreeDecoder).z69 = function (tag) {
|
|
3548
3548
|
var tmp$ret$5;
|
|
3549
3549
|
$l$block: {
|
|
3550
3550
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3551
3551
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3552
3552
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3553
|
-
var value = this.
|
|
3553
|
+
var value = this.t69(tag);
|
|
3554
3554
|
if (!(value instanceof JsonPrimitive)) {
|
|
3555
3555
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3556
3556
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3557
|
-
var tmp$ret$0 = this.
|
|
3557
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3558
3558
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'int' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3559
3559
|
}
|
|
3560
3560
|
var literal = value;
|
|
@@ -3589,19 +3589,19 @@ protoOf(AbstractJsonTreeDecoder).y69 = function (tag) {
|
|
|
3589
3589
|
return tmp$ret$5;
|
|
3590
3590
|
};
|
|
3591
3591
|
protoOf(AbstractJsonTreeDecoder).e1b = function (tag) {
|
|
3592
|
-
return this.
|
|
3592
|
+
return this.z69((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3593
3593
|
};
|
|
3594
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3594
|
+
protoOf(AbstractJsonTreeDecoder).a6a = function (tag) {
|
|
3595
3595
|
var tmp$ret$4;
|
|
3596
3596
|
$l$block: {
|
|
3597
3597
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3598
3598
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3599
3599
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3600
|
-
var value = this.
|
|
3600
|
+
var value = this.t69(tag);
|
|
3601
3601
|
if (!(value instanceof JsonPrimitive)) {
|
|
3602
3602
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3603
3603
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3604
|
-
var tmp$ret$0 = this.
|
|
3604
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3605
3605
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'long' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3606
3606
|
}
|
|
3607
3607
|
var literal = value;
|
|
@@ -3627,19 +3627,19 @@ protoOf(AbstractJsonTreeDecoder).z69 = function (tag) {
|
|
|
3627
3627
|
return tmp$ret$4;
|
|
3628
3628
|
};
|
|
3629
3629
|
protoOf(AbstractJsonTreeDecoder).f1b = function (tag) {
|
|
3630
|
-
return this.
|
|
3630
|
+
return this.a6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3631
3631
|
};
|
|
3632
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3632
|
+
protoOf(AbstractJsonTreeDecoder).b6a = function (tag) {
|
|
3633
3633
|
var tmp$ret$4;
|
|
3634
3634
|
$l$block: {
|
|
3635
3635
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3636
3636
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3637
3637
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3638
|
-
var value = this.
|
|
3638
|
+
var value = this.t69(tag);
|
|
3639
3639
|
if (!(value instanceof JsonPrimitive)) {
|
|
3640
3640
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3641
3641
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3642
|
-
var tmp$ret$0 = this.
|
|
3642
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3643
3643
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'float' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3644
3644
|
}
|
|
3645
3645
|
var literal = value;
|
|
@@ -3663,25 +3663,25 @@ protoOf(AbstractJsonTreeDecoder).a6a = function (tag) {
|
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
var result = tmp$ret$4;
|
|
3666
|
-
var specialFp = this.
|
|
3666
|
+
var specialFp = this.j63().h61_1.c63_1;
|
|
3667
3667
|
if (specialFp || isFinite(result))
|
|
3668
3668
|
return result;
|
|
3669
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3669
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.s69()));
|
|
3670
3670
|
};
|
|
3671
3671
|
protoOf(AbstractJsonTreeDecoder).g1b = function (tag) {
|
|
3672
|
-
return this.
|
|
3672
|
+
return this.b6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3673
3673
|
};
|
|
3674
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3674
|
+
protoOf(AbstractJsonTreeDecoder).c6a = function (tag) {
|
|
3675
3675
|
var tmp$ret$4;
|
|
3676
3676
|
$l$block: {
|
|
3677
3677
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3678
3678
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3679
3679
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3680
|
-
var value = this.
|
|
3680
|
+
var value = this.t69(tag);
|
|
3681
3681
|
if (!(value instanceof JsonPrimitive)) {
|
|
3682
3682
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3683
3683
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3684
|
-
var tmp$ret$0 = this.
|
|
3684
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3685
3685
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'double' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3686
3686
|
}
|
|
3687
3687
|
var literal = value;
|
|
@@ -3705,30 +3705,30 @@ protoOf(AbstractJsonTreeDecoder).b6a = function (tag) {
|
|
|
3705
3705
|
}
|
|
3706
3706
|
}
|
|
3707
3707
|
var result = tmp$ret$4;
|
|
3708
|
-
var specialFp = this.
|
|
3708
|
+
var specialFp = this.j63().h61_1.c63_1;
|
|
3709
3709
|
if (specialFp || isFinite_0(result))
|
|
3710
3710
|
return result;
|
|
3711
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3711
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.s69()));
|
|
3712
3712
|
};
|
|
3713
3713
|
protoOf(AbstractJsonTreeDecoder).h1b = function (tag) {
|
|
3714
|
-
return this.
|
|
3714
|
+
return this.c6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3715
3715
|
};
|
|
3716
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3716
|
+
protoOf(AbstractJsonTreeDecoder).d6a = function (tag) {
|
|
3717
3717
|
var tmp$ret$4;
|
|
3718
3718
|
$l$block: {
|
|
3719
3719
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3720
3720
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3721
3721
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3722
|
-
var value = this.
|
|
3722
|
+
var value = this.t69(tag);
|
|
3723
3723
|
if (!(value instanceof JsonPrimitive)) {
|
|
3724
3724
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3725
3725
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3726
|
-
var tmp$ret$0 = this.
|
|
3726
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3727
3727
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'char' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3728
3728
|
}
|
|
3729
3729
|
var literal = value;
|
|
3730
3730
|
try {
|
|
3731
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3731
|
+
var tmp0_elvis_lhs = new Char(single(literal.n4c()));
|
|
3732
3732
|
var tmp_1;
|
|
3733
3733
|
if (tmp0_elvis_lhs == null) {
|
|
3734
3734
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3749,80 +3749,80 @@ protoOf(AbstractJsonTreeDecoder).c6a = function (tag) {
|
|
|
3749
3749
|
return tmp$ret$4;
|
|
3750
3750
|
};
|
|
3751
3751
|
protoOf(AbstractJsonTreeDecoder).i1b = function (tag) {
|
|
3752
|
-
return this.
|
|
3752
|
+
return this.d6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3753
3753
|
};
|
|
3754
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3754
|
+
protoOf(AbstractJsonTreeDecoder).e6a = function (tag) {
|
|
3755
3755
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3756
3756
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3757
|
-
var value = this.
|
|
3757
|
+
var value = this.t69(tag);
|
|
3758
3758
|
if (!(value instanceof JsonPrimitive)) {
|
|
3759
3759
|
var tmp = getKClass(JsonPrimitive).o();
|
|
3760
3760
|
var tmp_0 = getKClassFromExpression(value).o();
|
|
3761
|
-
var tmp$ret$0 = this.
|
|
3761
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3762
3762
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp + ', but had ' + tmp_0 + ' as the serialized body of ' + 'string' + ' at element: ' + tmp$ret$0, toString(value));
|
|
3763
3763
|
}
|
|
3764
3764
|
var value_0 = value;
|
|
3765
3765
|
if (!(value_0 instanceof JsonLiteral))
|
|
3766
|
-
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.
|
|
3767
|
-
if (!value_0.
|
|
3768
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.
|
|
3766
|
+
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.r69(tag), toString(this.s69()));
|
|
3767
|
+
if (!value_0.v63_1 && !this.j63().h61_1.u62_1) {
|
|
3768
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.r69(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.s69()));
|
|
3769
3769
|
}
|
|
3770
|
-
return value_0.
|
|
3770
|
+
return value_0.x63_1;
|
|
3771
3771
|
};
|
|
3772
3772
|
protoOf(AbstractJsonTreeDecoder).j1b = function (tag) {
|
|
3773
|
-
return this.
|
|
3773
|
+
return this.e6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3774
3774
|
};
|
|
3775
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3775
|
+
protoOf(AbstractJsonTreeDecoder).f6a = function (tag, inlineDescriptor) {
|
|
3776
3776
|
var tmp;
|
|
3777
3777
|
if (get_isUnsignedNumber(inlineDescriptor)) {
|
|
3778
|
-
var tmp_0 = this.
|
|
3778
|
+
var tmp_0 = this.j63();
|
|
3779
3779
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.getPrimitiveValue' call
|
|
3780
|
-
var tmp2 = this.
|
|
3780
|
+
var tmp2 = this.t69(tag);
|
|
3781
3781
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3782
3782
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3783
3783
|
var serialName = inlineDescriptor.du();
|
|
3784
3784
|
if (!(tmp2 instanceof JsonPrimitive)) {
|
|
3785
3785
|
var tmp_1 = getKClass(JsonPrimitive).o();
|
|
3786
3786
|
var tmp_2 = getKClassFromExpression(tmp2).o();
|
|
3787
|
-
var tmp$ret$0 = this.
|
|
3787
|
+
var tmp$ret$0 = this.r69(tag);
|
|
3788
3788
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3789
3789
|
}
|
|
3790
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3791
|
-
tmp = new JsonDecoderForUnsignedTypes(lexer, this.
|
|
3790
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.n4c());
|
|
3791
|
+
tmp = new JsonDecoderForUnsignedTypes(lexer, this.j63());
|
|
3792
3792
|
} else {
|
|
3793
3793
|
tmp = protoOf(NamedValueDecoder).l1b.call(this, tag, inlineDescriptor);
|
|
3794
3794
|
}
|
|
3795
3795
|
return tmp;
|
|
3796
3796
|
};
|
|
3797
3797
|
protoOf(AbstractJsonTreeDecoder).l1b = function (tag, inlineDescriptor) {
|
|
3798
|
-
return this.
|
|
3798
|
+
return this.f6a((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3799
3799
|
};
|
|
3800
3800
|
protoOf(AbstractJsonTreeDecoder).lw = function (descriptor) {
|
|
3801
|
-
return !(this.w1a() == null) ? protoOf(NamedValueDecoder).lw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.
|
|
3801
|
+
return !(this.w1a() == null) ? protoOf(NamedValueDecoder).lw.call(this, descriptor) : (new JsonPrimitiveDecoder(this.j63(), this.n1(), this.p69_1)).lw(descriptor);
|
|
3802
3802
|
};
|
|
3803
3803
|
function setForceNull($this, descriptor, index) {
|
|
3804
|
-
$this.
|
|
3805
|
-
return $this.
|
|
3804
|
+
$this.p6a_1 = (!$this.j63().h61_1.x62_1 && !descriptor.dv(index) && descriptor.cv(index).pu());
|
|
3805
|
+
return $this.p6a_1;
|
|
3806
3806
|
}
|
|
3807
3807
|
function JsonTreeDecoder(json, value, polymorphicDiscriminator, polyDescriptor) {
|
|
3808
3808
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
3809
3809
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3810
3810
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
3811
|
-
this.
|
|
3812
|
-
this.
|
|
3813
|
-
this.
|
|
3814
|
-
this.
|
|
3811
|
+
this.m6a_1 = value;
|
|
3812
|
+
this.n6a_1 = polyDescriptor;
|
|
3813
|
+
this.o6a_1 = 0;
|
|
3814
|
+
this.p6a_1 = false;
|
|
3815
3815
|
}
|
|
3816
3816
|
protoOf(JsonTreeDecoder).n1 = function () {
|
|
3817
|
-
return this.
|
|
3817
|
+
return this.m6a_1;
|
|
3818
3818
|
};
|
|
3819
3819
|
protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
3820
|
-
$l$loop: while (this.
|
|
3821
|
-
var _unary__edvuaz = this.
|
|
3822
|
-
this.
|
|
3820
|
+
$l$loop: while (this.o6a_1 < descriptor.yu()) {
|
|
3821
|
+
var _unary__edvuaz = this.o6a_1;
|
|
3822
|
+
this.o6a_1 = _unary__edvuaz + 1 | 0;
|
|
3823
3823
|
var name = this.r1a(descriptor, _unary__edvuaz);
|
|
3824
|
-
var index = this.
|
|
3825
|
-
this.
|
|
3824
|
+
var index = this.o6a_1 - 1 | 0;
|
|
3825
|
+
this.p6a_1 = false;
|
|
3826
3826
|
var tmp;
|
|
3827
3827
|
// Inline function 'kotlin.collections.contains' call
|
|
3828
3828
|
// Inline function 'kotlin.collections.containsKey' call
|
|
@@ -3833,9 +3833,9 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3833
3833
|
tmp = setForceNull(this, descriptor, index);
|
|
3834
3834
|
}
|
|
3835
3835
|
if (tmp) {
|
|
3836
|
-
if (!this.
|
|
3836
|
+
if (!this.q69_1.z62_1)
|
|
3837
3837
|
return index;
|
|
3838
|
-
var tmp0 = this.
|
|
3838
|
+
var tmp0 = this.j63();
|
|
3839
3839
|
var tmp$ret$3;
|
|
3840
3840
|
$l$block_2: {
|
|
3841
3841
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
@@ -3843,7 +3843,7 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3843
3843
|
var elementDescriptor = descriptor.cv(index);
|
|
3844
3844
|
var tmp_0;
|
|
3845
3845
|
if (isOptional && !elementDescriptor.pu()) {
|
|
3846
|
-
var tmp_1 = this.
|
|
3846
|
+
var tmp_1 = this.q6a(name);
|
|
3847
3847
|
tmp_0 = tmp_1 instanceof JsonNull;
|
|
3848
3848
|
} else {
|
|
3849
3849
|
tmp_0 = false;
|
|
@@ -3855,7 +3855,7 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3855
3855
|
if (equals(elementDescriptor.wu(), ENUM_getInstance())) {
|
|
3856
3856
|
var tmp_2;
|
|
3857
3857
|
if (elementDescriptor.pu()) {
|
|
3858
|
-
var tmp_3 = this.
|
|
3858
|
+
var tmp_3 = this.q6a(name);
|
|
3859
3859
|
tmp_2 = tmp_3 instanceof JsonNull;
|
|
3860
3860
|
} else {
|
|
3861
3861
|
tmp_2 = false;
|
|
@@ -3864,7 +3864,7 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3864
3864
|
tmp$ret$3 = false;
|
|
3865
3865
|
break $l$block_2;
|
|
3866
3866
|
}
|
|
3867
|
-
var tmp_4 = this.
|
|
3867
|
+
var tmp_4 = this.q6a(name);
|
|
3868
3868
|
var tmp0_safe_receiver = tmp_4 instanceof JsonPrimitive ? tmp_4 : null;
|
|
3869
3869
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3870
3870
|
var tmp_5;
|
|
@@ -3876,7 +3876,7 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3876
3876
|
}
|
|
3877
3877
|
var enumValue = tmp_5;
|
|
3878
3878
|
var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
|
|
3879
|
-
var coerceToNull = !tmp0.
|
|
3879
|
+
var coerceToNull = !tmp0.h61_1.x62_1 && elementDescriptor.pu();
|
|
3880
3880
|
if (enumIndex === -3 && (isOptional || coerceToNull)) {
|
|
3881
3881
|
if (setForceNull(this, descriptor, index))
|
|
3882
3882
|
return index;
|
|
@@ -3894,18 +3894,18 @@ protoOf(JsonTreeDecoder).ex = function (descriptor) {
|
|
|
3894
3894
|
return -1;
|
|
3895
3895
|
};
|
|
3896
3896
|
protoOf(JsonTreeDecoder).zv = function () {
|
|
3897
|
-
return !this.
|
|
3897
|
+
return !this.p6a_1 && protoOf(AbstractJsonTreeDecoder).zv.call(this);
|
|
3898
3898
|
};
|
|
3899
3899
|
protoOf(JsonTreeDecoder).s1a = function (descriptor, index) {
|
|
3900
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3900
|
+
var strategy = namingStrategy(descriptor, this.j63());
|
|
3901
3901
|
var baseName = descriptor.zu(index);
|
|
3902
3902
|
if (strategy == null) {
|
|
3903
|
-
if (!this.
|
|
3903
|
+
if (!this.q69_1.d63_1)
|
|
3904
3904
|
return baseName;
|
|
3905
3905
|
if (this.n1().a3().q2(baseName))
|
|
3906
3906
|
return baseName;
|
|
3907
3907
|
}
|
|
3908
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3908
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.j63(), descriptor);
|
|
3909
3909
|
// Inline function 'kotlin.collections.find' call
|
|
3910
3910
|
var tmp0 = this.n1().a3();
|
|
3911
3911
|
var tmp$ret$1;
|
|
@@ -3928,35 +3928,35 @@ protoOf(JsonTreeDecoder).s1a = function (descriptor, index) {
|
|
|
3928
3928
|
// Inline function 'kotlin.let' call
|
|
3929
3929
|
return tmp0_safe_receiver;
|
|
3930
3930
|
}
|
|
3931
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3931
|
+
var fallbackName = strategy == null ? null : strategy.g66(descriptor, index, baseName);
|
|
3932
3932
|
return fallbackName == null ? baseName : fallbackName;
|
|
3933
3933
|
};
|
|
3934
|
-
protoOf(JsonTreeDecoder).
|
|
3934
|
+
protoOf(JsonTreeDecoder).t69 = function (tag) {
|
|
3935
3935
|
return getValue(this.n1(), tag);
|
|
3936
3936
|
};
|
|
3937
|
-
protoOf(JsonTreeDecoder).
|
|
3937
|
+
protoOf(JsonTreeDecoder).q6a = function (tag) {
|
|
3938
3938
|
return this.n1().o35(tag);
|
|
3939
3939
|
};
|
|
3940
3940
|
protoOf(JsonTreeDecoder).nw = function (descriptor) {
|
|
3941
|
-
if (descriptor === this.
|
|
3942
|
-
var tmp = this.
|
|
3943
|
-
var tmp2 = this.
|
|
3941
|
+
if (descriptor === this.n6a_1) {
|
|
3942
|
+
var tmp = this.j63();
|
|
3943
|
+
var tmp2 = this.s69();
|
|
3944
3944
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.cast' call
|
|
3945
3945
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3946
|
-
var serialName = this.
|
|
3946
|
+
var serialName = this.n6a_1.du();
|
|
3947
3947
|
if (!(tmp2 instanceof JsonObject)) {
|
|
3948
3948
|
var tmp_0 = getKClass(JsonObject).o();
|
|
3949
3949
|
var tmp_1 = getKClassFromExpression(tmp2).o();
|
|
3950
3950
|
var tmp$ret$0 = this.y1a();
|
|
3951
3951
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3952
3952
|
}
|
|
3953
|
-
return new JsonTreeDecoder(tmp, tmp2, this.
|
|
3953
|
+
return new JsonTreeDecoder(tmp, tmp2, this.p69_1, this.n6a_1);
|
|
3954
3954
|
}
|
|
3955
3955
|
return protoOf(AbstractJsonTreeDecoder).nw.call(this, descriptor);
|
|
3956
3956
|
};
|
|
3957
3957
|
protoOf(JsonTreeDecoder).ow = function (descriptor) {
|
|
3958
3958
|
var tmp;
|
|
3959
|
-
if (ignoreUnknownKeys(descriptor, this.
|
|
3959
|
+
if (ignoreUnknownKeys(descriptor, this.j63())) {
|
|
3960
3960
|
tmp = true;
|
|
3961
3961
|
} else {
|
|
3962
3962
|
var tmp_0 = descriptor.wu();
|
|
@@ -3964,15 +3964,15 @@ protoOf(JsonTreeDecoder).ow = function (descriptor) {
|
|
|
3964
3964
|
}
|
|
3965
3965
|
if (tmp)
|
|
3966
3966
|
return Unit_instance;
|
|
3967
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3967
|
+
var strategy = namingStrategy(descriptor, this.j63());
|
|
3968
3968
|
var tmp_1;
|
|
3969
|
-
if (strategy == null && !this.
|
|
3969
|
+
if (strategy == null && !this.q69_1.d63_1) {
|
|
3970
3970
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3971
3971
|
} else if (!(strategy == null)) {
|
|
3972
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3972
|
+
tmp_1 = deserializationNamesMap(this.j63(), descriptor).a3();
|
|
3973
3973
|
} else {
|
|
3974
3974
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3975
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3975
|
+
var tmp0_safe_receiver = get_schemaCache(this.j63()).r68(descriptor, get_JsonDeserializationNamesKey());
|
|
3976
3976
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3977
3977
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a3();
|
|
3978
3978
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3982,76 +3982,76 @@ protoOf(JsonTreeDecoder).ow = function (descriptor) {
|
|
|
3982
3982
|
var _iterator__ex2g4s = this.n1().a3().t();
|
|
3983
3983
|
while (_iterator__ex2g4s.u()) {
|
|
3984
3984
|
var key = _iterator__ex2g4s.v();
|
|
3985
|
-
if (!names.q2(key) && !(key === this.
|
|
3985
|
+
if (!names.q2(key) && !(key === this.p69_1)) {
|
|
3986
3986
|
throw JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "' at element: " + this.y1a() + '\n' + "Use 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.n1().toString()))));
|
|
3987
3987
|
}
|
|
3988
3988
|
}
|
|
3989
3989
|
};
|
|
3990
3990
|
function JsonTreeListDecoder(json, value) {
|
|
3991
3991
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3992
|
-
this.
|
|
3993
|
-
this.
|
|
3994
|
-
this.
|
|
3992
|
+
this.x6a_1 = value;
|
|
3993
|
+
this.y6a_1 = this.x6a_1.g1();
|
|
3994
|
+
this.z6a_1 = -1;
|
|
3995
3995
|
}
|
|
3996
3996
|
protoOf(JsonTreeListDecoder).n1 = function () {
|
|
3997
|
-
return this.
|
|
3997
|
+
return this.x6a_1;
|
|
3998
3998
|
};
|
|
3999
3999
|
protoOf(JsonTreeListDecoder).s1a = function (descriptor, index) {
|
|
4000
4000
|
return index.toString();
|
|
4001
4001
|
};
|
|
4002
|
-
protoOf(JsonTreeListDecoder).
|
|
4003
|
-
return this.
|
|
4002
|
+
protoOf(JsonTreeListDecoder).t69 = function (tag) {
|
|
4003
|
+
return this.x6a_1.h1(toInt(tag));
|
|
4004
4004
|
};
|
|
4005
4005
|
protoOf(JsonTreeListDecoder).ex = function (descriptor) {
|
|
4006
|
-
while (this.
|
|
4007
|
-
this.
|
|
4008
|
-
return this.
|
|
4006
|
+
while (this.z6a_1 < (this.y6a_1 - 1 | 0)) {
|
|
4007
|
+
this.z6a_1 = this.z6a_1 + 1 | 0;
|
|
4008
|
+
return this.z6a_1;
|
|
4009
4009
|
}
|
|
4010
4010
|
return -1;
|
|
4011
4011
|
};
|
|
4012
4012
|
function JsonPrimitiveDecoder(json, value, polymorphicDiscriminator) {
|
|
4013
4013
|
polymorphicDiscriminator = polymorphicDiscriminator === VOID ? null : polymorphicDiscriminator;
|
|
4014
4014
|
AbstractJsonTreeDecoder.call(this, json, value, polymorphicDiscriminator);
|
|
4015
|
-
this.
|
|
4015
|
+
this.g6b_1 = value;
|
|
4016
4016
|
this.m1b('primitive');
|
|
4017
4017
|
}
|
|
4018
4018
|
protoOf(JsonPrimitiveDecoder).n1 = function () {
|
|
4019
|
-
return this.
|
|
4019
|
+
return this.g6b_1;
|
|
4020
4020
|
};
|
|
4021
4021
|
protoOf(JsonPrimitiveDecoder).ex = function (descriptor) {
|
|
4022
4022
|
return 0;
|
|
4023
4023
|
};
|
|
4024
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4024
|
+
protoOf(JsonPrimitiveDecoder).t69 = function (tag) {
|
|
4025
4025
|
// Inline function 'kotlin.require' call
|
|
4026
4026
|
if (!(tag === 'primitive')) {
|
|
4027
4027
|
var message = "This input can only handle primitives with 'primitive' tag";
|
|
4028
4028
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
4029
4029
|
}
|
|
4030
|
-
return this.
|
|
4030
|
+
return this.g6b_1;
|
|
4031
4031
|
};
|
|
4032
4032
|
function JsonTreeMapDecoder(json, value) {
|
|
4033
4033
|
JsonTreeDecoder.call(this, json, value);
|
|
4034
|
-
this.
|
|
4035
|
-
this.
|
|
4036
|
-
this.
|
|
4037
|
-
this.
|
|
4034
|
+
this.r6b_1 = value;
|
|
4035
|
+
this.s6b_1 = toList(this.r6b_1.a3());
|
|
4036
|
+
this.t6b_1 = imul(this.s6b_1.g1(), 2);
|
|
4037
|
+
this.u6b_1 = -1;
|
|
4038
4038
|
}
|
|
4039
4039
|
protoOf(JsonTreeMapDecoder).n1 = function () {
|
|
4040
|
-
return this.
|
|
4040
|
+
return this.r6b_1;
|
|
4041
4041
|
};
|
|
4042
4042
|
protoOf(JsonTreeMapDecoder).s1a = function (descriptor, index) {
|
|
4043
4043
|
var i = index / 2 | 0;
|
|
4044
|
-
return this.
|
|
4044
|
+
return this.s6b_1.h1(i);
|
|
4045
4045
|
};
|
|
4046
4046
|
protoOf(JsonTreeMapDecoder).ex = function (descriptor) {
|
|
4047
|
-
while (this.
|
|
4048
|
-
this.
|
|
4049
|
-
return this.
|
|
4047
|
+
while (this.u6b_1 < (this.t6b_1 - 1 | 0)) {
|
|
4048
|
+
this.u6b_1 = this.u6b_1 + 1 | 0;
|
|
4049
|
+
return this.u6b_1;
|
|
4050
4050
|
}
|
|
4051
4051
|
return -1;
|
|
4052
4052
|
};
|
|
4053
|
-
protoOf(JsonTreeMapDecoder).
|
|
4054
|
-
return (this.
|
|
4053
|
+
protoOf(JsonTreeMapDecoder).t69 = function (tag) {
|
|
4054
|
+
return (this.u6b_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.r6b_1, tag);
|
|
4055
4055
|
};
|
|
4056
4056
|
protoOf(JsonTreeMapDecoder).ow = function (descriptor) {
|
|
4057
4057
|
};
|
|
@@ -4083,8 +4083,8 @@ function WriteMode_initEntries() {
|
|
|
4083
4083
|
var $ENTRIES;
|
|
4084
4084
|
function WriteMode(name, ordinal, begin, end) {
|
|
4085
4085
|
Enum.call(this, name, ordinal);
|
|
4086
|
-
this.
|
|
4087
|
-
this.
|
|
4086
|
+
this.e69_1 = begin;
|
|
4087
|
+
this.f69_1 = end;
|
|
4088
4088
|
}
|
|
4089
4089
|
function switchMode(_this__u8e3s4, desc) {
|
|
4090
4090
|
var tmp0_subject = desc.wu();
|
|
@@ -4109,7 +4109,7 @@ function switchMode(_this__u8e3s4, desc) {
|
|
|
4109
4109
|
if (tmp_1) {
|
|
4110
4110
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
4111
4111
|
} else {
|
|
4112
|
-
if (_this__u8e3s4.
|
|
4112
|
+
if (_this__u8e3s4.h61_1.v62_1) {
|
|
4113
4113
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
4114
4114
|
} else {
|
|
4115
4115
|
throw InvalidKeyKindException(keyDescriptor);
|
|
@@ -4153,56 +4153,56 @@ function WriteMode_POLY_OBJ_getInstance() {
|
|
|
4153
4153
|
return WriteMode_POLY_OBJ_instance;
|
|
4154
4154
|
}
|
|
4155
4155
|
function appendEscape($this, lastPosition, current) {
|
|
4156
|
-
$this.
|
|
4156
|
+
$this.v6b(lastPosition, current);
|
|
4157
4157
|
return appendEsc($this, current + 1 | 0);
|
|
4158
4158
|
}
|
|
4159
4159
|
function decodedString($this, lastPosition, currentPosition) {
|
|
4160
|
-
$this.
|
|
4161
|
-
var result = $this.
|
|
4162
|
-
$this.
|
|
4160
|
+
$this.v6b(lastPosition, currentPosition);
|
|
4161
|
+
var result = $this.x61_1.toString();
|
|
4162
|
+
$this.x61_1.ed(0);
|
|
4163
4163
|
return result;
|
|
4164
4164
|
}
|
|
4165
4165
|
function takePeeked($this) {
|
|
4166
4166
|
// Inline function 'kotlin.also' call
|
|
4167
|
-
var this_0 = ensureNotNull($this.
|
|
4168
|
-
$this.
|
|
4167
|
+
var this_0 = ensureNotNull($this.w61_1);
|
|
4168
|
+
$this.w61_1 = null;
|
|
4169
4169
|
return this_0;
|
|
4170
4170
|
}
|
|
4171
4171
|
function wasUnquotedString($this) {
|
|
4172
|
-
return !(charSequenceGet($this.
|
|
4172
|
+
return !(charSequenceGet($this.w6b(), $this.u61_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
4173
4173
|
}
|
|
4174
4174
|
function appendEsc($this, startPosition) {
|
|
4175
4175
|
var currentPosition = startPosition;
|
|
4176
|
-
currentPosition = $this.
|
|
4176
|
+
currentPosition = $this.x6b(currentPosition);
|
|
4177
4177
|
if (currentPosition === -1) {
|
|
4178
|
-
$this.
|
|
4178
|
+
$this.c66('Expected escape sequence to continue, got EOF');
|
|
4179
4179
|
}
|
|
4180
|
-
var tmp = $this.
|
|
4180
|
+
var tmp = $this.w6b();
|
|
4181
4181
|
var _unary__edvuaz = currentPosition;
|
|
4182
4182
|
currentPosition = _unary__edvuaz + 1 | 0;
|
|
4183
4183
|
var currentChar = charSequenceGet(tmp, _unary__edvuaz);
|
|
4184
4184
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
4185
|
-
return appendHex($this, $this.
|
|
4185
|
+
return appendHex($this, $this.w6b(), currentPosition);
|
|
4186
4186
|
}
|
|
4187
4187
|
// Inline function 'kotlin.code' call
|
|
4188
4188
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
4189
4189
|
var c = escapeToChar(tmp$ret$0);
|
|
4190
4190
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
4191
|
-
$this.
|
|
4191
|
+
$this.c66("Invalid escaped char '" + toString_1(currentChar) + "'");
|
|
4192
4192
|
}
|
|
4193
|
-
$this.
|
|
4193
|
+
$this.x61_1.s(c);
|
|
4194
4194
|
return currentPosition;
|
|
4195
4195
|
}
|
|
4196
4196
|
function appendHex($this, source, startPos) {
|
|
4197
4197
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
4198
|
-
$this.
|
|
4199
|
-
$this.
|
|
4200
|
-
if (($this.
|
|
4201
|
-
$this.
|
|
4198
|
+
$this.u61_1 = startPos;
|
|
4199
|
+
$this.y6b();
|
|
4200
|
+
if (($this.u61_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
4201
|
+
$this.c66('Unexpected EOF during unicode escape');
|
|
4202
4202
|
}
|
|
4203
|
-
return appendHex($this, source, $this.
|
|
4203
|
+
return appendHex($this, source, $this.u61_1);
|
|
4204
4204
|
}
|
|
4205
|
-
$this.
|
|
4205
|
+
$this.x61_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));
|
|
4206
4206
|
return startPos + 4 | 0;
|
|
4207
4207
|
}
|
|
4208
4208
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -4227,16 +4227,16 @@ function fromHexChar($this, source, currentPosition) {
|
|
|
4227
4227
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
4228
4228
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
4229
4229
|
} else {
|
|
4230
|
-
$this.
|
|
4230
|
+
$this.c66("Invalid toHexChar char '" + toString_1(character) + "' in unicode escape");
|
|
4231
4231
|
}
|
|
4232
4232
|
return tmp;
|
|
4233
4233
|
}
|
|
4234
4234
|
function consumeBoolean2($this, start) {
|
|
4235
|
-
var current = $this.
|
|
4236
|
-
if (current >= charSequenceLength($this.
|
|
4237
|
-
$this.
|
|
4235
|
+
var current = $this.x6b(start);
|
|
4236
|
+
if (current >= charSequenceLength($this.w6b()) || current === -1) {
|
|
4237
|
+
$this.c66('EOF');
|
|
4238
4238
|
}
|
|
4239
|
-
var tmp = $this.
|
|
4239
|
+
var tmp = $this.w6b();
|
|
4240
4240
|
var _unary__edvuaz = current;
|
|
4241
4241
|
current = _unary__edvuaz + 1 | 0;
|
|
4242
4242
|
// Inline function 'kotlin.code' call
|
|
@@ -4255,14 +4255,14 @@ function consumeBoolean2($this, start) {
|
|
|
4255
4255
|
consumeBooleanLiteral($this, 'alse', current);
|
|
4256
4256
|
tmp_0 = false;
|
|
4257
4257
|
} else {
|
|
4258
|
-
$this.
|
|
4258
|
+
$this.c66("Expected valid boolean literal prefix, but had '" + $this.k67() + "'");
|
|
4259
4259
|
}
|
|
4260
4260
|
}
|
|
4261
4261
|
return tmp_0;
|
|
4262
4262
|
}
|
|
4263
4263
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
4264
|
-
if ((charSequenceLength($this.
|
|
4265
|
-
$this.
|
|
4264
|
+
if ((charSequenceLength($this.w6b()) - current | 0) < literalSuffix.length) {
|
|
4265
|
+
$this.c66('Unexpected end of boolean literal');
|
|
4266
4266
|
}
|
|
4267
4267
|
var inductionVariable = 0;
|
|
4268
4268
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -4271,16 +4271,16 @@ function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
|
4271
4271
|
var i = inductionVariable;
|
|
4272
4272
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4273
4273
|
var expected = charCodeAt(literalSuffix, i);
|
|
4274
|
-
var actual = charSequenceGet($this.
|
|
4274
|
+
var actual = charSequenceGet($this.w6b(), current + i | 0);
|
|
4275
4275
|
// Inline function 'kotlin.code' call
|
|
4276
4276
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
4277
4277
|
// Inline function 'kotlin.code' call
|
|
4278
4278
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
4279
|
-
$this.
|
|
4279
|
+
$this.c66("Expected valid boolean literal prefix, but had '" + $this.k67() + "'");
|
|
4280
4280
|
}
|
|
4281
4281
|
}
|
|
4282
4282
|
while (inductionVariable <= last);
|
|
4283
|
-
$this.
|
|
4283
|
+
$this.u61_1 = current + literalSuffix.length | 0;
|
|
4284
4284
|
}
|
|
4285
4285
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4286
4286
|
var tmp;
|
|
@@ -4304,77 +4304,77 @@ function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponent
|
|
|
4304
4304
|
return tmp;
|
|
4305
4305
|
}
|
|
4306
4306
|
function AbstractJsonLexer() {
|
|
4307
|
-
this.
|
|
4308
|
-
this.
|
|
4309
|
-
this.
|
|
4310
|
-
this.
|
|
4307
|
+
this.u61_1 = 0;
|
|
4308
|
+
this.v61_1 = new JsonPath();
|
|
4309
|
+
this.w61_1 = null;
|
|
4310
|
+
this.x61_1 = StringBuilder_init_$Create$();
|
|
4311
4311
|
}
|
|
4312
|
-
protoOf(AbstractJsonLexer).
|
|
4312
|
+
protoOf(AbstractJsonLexer).y6b = function () {
|
|
4313
4313
|
};
|
|
4314
|
-
protoOf(AbstractJsonLexer).
|
|
4315
|
-
var current = this.
|
|
4316
|
-
var source = this.
|
|
4314
|
+
protoOf(AbstractJsonLexer).u68 = function () {
|
|
4315
|
+
var current = this.z6b();
|
|
4316
|
+
var source = this.w6b();
|
|
4317
4317
|
if (current >= charSequenceLength(source) || current === -1)
|
|
4318
4318
|
return false;
|
|
4319
4319
|
if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
|
|
4320
|
-
this.
|
|
4320
|
+
this.u61_1 = this.u61_1 + 1 | 0;
|
|
4321
4321
|
return true;
|
|
4322
4322
|
}
|
|
4323
4323
|
return false;
|
|
4324
4324
|
};
|
|
4325
|
-
protoOf(AbstractJsonLexer).
|
|
4325
|
+
protoOf(AbstractJsonLexer).a6c = function (c) {
|
|
4326
4326
|
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;
|
|
4327
4327
|
};
|
|
4328
|
-
protoOf(AbstractJsonLexer).
|
|
4329
|
-
var nextToken = this.
|
|
4328
|
+
protoOf(AbstractJsonLexer).y61 = function () {
|
|
4329
|
+
var nextToken = this.m67();
|
|
4330
4330
|
if (!(nextToken === 10)) {
|
|
4331
|
-
this.
|
|
4331
|
+
this.c66('Expected EOF after parsing, but had ' + toString_1(charSequenceGet(this.w6b(), this.u61_1 - 1 | 0)) + ' instead');
|
|
4332
4332
|
}
|
|
4333
4333
|
};
|
|
4334
|
-
protoOf(AbstractJsonLexer).
|
|
4335
|
-
var token = this.
|
|
4334
|
+
protoOf(AbstractJsonLexer).g67 = function (expected) {
|
|
4335
|
+
var token = this.m67();
|
|
4336
4336
|
if (!(token === expected)) {
|
|
4337
4337
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4338
4338
|
var expected_0 = tokenDescription(expected);
|
|
4339
|
-
var position = true ? this.
|
|
4340
|
-
var s = this.
|
|
4339
|
+
var position = true ? this.u61_1 - 1 | 0 : this.u61_1;
|
|
4340
|
+
var s = this.u61_1 === charSequenceLength(this.w6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.w6b(), position));
|
|
4341
4341
|
var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4342
|
-
this.
|
|
4342
|
+
this.c66(tmp$ret$0, position);
|
|
4343
4343
|
}
|
|
4344
4344
|
return token;
|
|
4345
4345
|
};
|
|
4346
|
-
protoOf(AbstractJsonLexer).
|
|
4347
|
-
if (this.
|
|
4346
|
+
protoOf(AbstractJsonLexer).b6c = function (expected) {
|
|
4347
|
+
if (this.u61_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
|
|
4348
4348
|
var tmp$ret$1;
|
|
4349
4349
|
$l$block: {
|
|
4350
4350
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4351
|
-
var snapshot = this.
|
|
4351
|
+
var snapshot = this.u61_1;
|
|
4352
4352
|
try {
|
|
4353
|
-
this.
|
|
4354
|
-
tmp$ret$1 = this.
|
|
4353
|
+
this.u61_1 = this.u61_1 - 1 | 0;
|
|
4354
|
+
tmp$ret$1 = this.k67();
|
|
4355
4355
|
break $l$block;
|
|
4356
4356
|
}finally {
|
|
4357
|
-
this.
|
|
4357
|
+
this.u61_1 = snapshot;
|
|
4358
4358
|
}
|
|
4359
4359
|
}
|
|
4360
4360
|
var inputLiteral = tmp$ret$1;
|
|
4361
4361
|
if (inputLiteral === 'null') {
|
|
4362
|
-
this.
|
|
4362
|
+
this.b66("Expected string literal but 'null' literal was found", this.u61_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
|
|
4363
4363
|
}
|
|
4364
4364
|
}
|
|
4365
4365
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4366
4366
|
var expectedToken = charToTokenClass(expected);
|
|
4367
4367
|
var expected_0 = tokenDescription(expectedToken);
|
|
4368
|
-
var position = true ? this.
|
|
4369
|
-
var s = this.
|
|
4368
|
+
var position = true ? this.u61_1 - 1 | 0 : this.u61_1;
|
|
4369
|
+
var s = this.u61_1 === charSequenceLength(this.w6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.w6b(), position));
|
|
4370
4370
|
var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
|
|
4371
|
-
this.
|
|
4371
|
+
this.c66(tmp$ret$2, position);
|
|
4372
4372
|
};
|
|
4373
|
-
protoOf(AbstractJsonLexer).
|
|
4374
|
-
var source = this.
|
|
4375
|
-
var cpos = this.
|
|
4373
|
+
protoOf(AbstractJsonLexer).h67 = function () {
|
|
4374
|
+
var source = this.w6b();
|
|
4375
|
+
var cpos = this.u61_1;
|
|
4376
4376
|
$l$loop_0: while (true) {
|
|
4377
|
-
cpos = this.
|
|
4377
|
+
cpos = this.x6b(cpos);
|
|
4378
4378
|
if (cpos === -1)
|
|
4379
4379
|
break $l$loop_0;
|
|
4380
4380
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4382,16 +4382,16 @@ protoOf(AbstractJsonLexer).g67 = function () {
|
|
|
4382
4382
|
cpos = cpos + 1 | 0;
|
|
4383
4383
|
continue $l$loop_0;
|
|
4384
4384
|
}
|
|
4385
|
-
this.
|
|
4385
|
+
this.u61_1 = cpos;
|
|
4386
4386
|
return charToTokenClass(ch);
|
|
4387
4387
|
}
|
|
4388
|
-
this.
|
|
4388
|
+
this.u61_1 = cpos;
|
|
4389
4389
|
return 10;
|
|
4390
4390
|
};
|
|
4391
|
-
protoOf(AbstractJsonLexer).
|
|
4392
|
-
var current = this.
|
|
4393
|
-
current = this.
|
|
4394
|
-
var len = charSequenceLength(this.
|
|
4391
|
+
protoOf(AbstractJsonLexer).v68 = function (doConsume) {
|
|
4392
|
+
var current = this.z6b();
|
|
4393
|
+
current = this.x6b(current);
|
|
4394
|
+
var len = charSequenceLength(this.w6b()) - current | 0;
|
|
4395
4395
|
if (len < 4 || current === -1)
|
|
4396
4396
|
return false;
|
|
4397
4397
|
var inductionVariable = 0;
|
|
@@ -4399,50 +4399,50 @@ protoOf(AbstractJsonLexer).u68 = function (doConsume) {
|
|
|
4399
4399
|
do {
|
|
4400
4400
|
var i = inductionVariable;
|
|
4401
4401
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4402
|
-
if (!(charCodeAt('null', i) === charSequenceGet(this.
|
|
4402
|
+
if (!(charCodeAt('null', i) === charSequenceGet(this.w6b(), current + i | 0)))
|
|
4403
4403
|
return false;
|
|
4404
4404
|
}
|
|
4405
4405
|
while (inductionVariable <= 3);
|
|
4406
|
-
if (len > 4 && charToTokenClass(charSequenceGet(this.
|
|
4406
|
+
if (len > 4 && charToTokenClass(charSequenceGet(this.w6b(), current + 4 | 0)) === 0)
|
|
4407
4407
|
return false;
|
|
4408
4408
|
if (doConsume) {
|
|
4409
|
-
this.
|
|
4409
|
+
this.u61_1 = current + 4 | 0;
|
|
4410
4410
|
}
|
|
4411
4411
|
return true;
|
|
4412
4412
|
};
|
|
4413
|
-
protoOf(AbstractJsonLexer).
|
|
4413
|
+
protoOf(AbstractJsonLexer).g69 = function (doConsume, $super) {
|
|
4414
4414
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4415
|
-
return $super === VOID ? this.
|
|
4415
|
+
return $super === VOID ? this.v68(doConsume) : $super.v68.call(this, doConsume);
|
|
4416
4416
|
};
|
|
4417
|
-
protoOf(AbstractJsonLexer).
|
|
4418
|
-
var token = this.
|
|
4417
|
+
protoOf(AbstractJsonLexer).w68 = function (isLenient) {
|
|
4418
|
+
var token = this.h67();
|
|
4419
4419
|
var tmp;
|
|
4420
4420
|
if (isLenient) {
|
|
4421
4421
|
if (!(token === 1) && !(token === 0))
|
|
4422
4422
|
return null;
|
|
4423
|
-
tmp = this.
|
|
4423
|
+
tmp = this.k67();
|
|
4424
4424
|
} else {
|
|
4425
4425
|
if (!(token === 1))
|
|
4426
4426
|
return null;
|
|
4427
|
-
tmp = this.
|
|
4427
|
+
tmp = this.j67();
|
|
4428
4428
|
}
|
|
4429
4429
|
var string = tmp;
|
|
4430
|
-
this.
|
|
4430
|
+
this.w61_1 = string;
|
|
4431
4431
|
return string;
|
|
4432
4432
|
};
|
|
4433
|
-
protoOf(AbstractJsonLexer).
|
|
4434
|
-
this.
|
|
4433
|
+
protoOf(AbstractJsonLexer).c6c = function () {
|
|
4434
|
+
this.w61_1 = null;
|
|
4435
4435
|
};
|
|
4436
4436
|
protoOf(AbstractJsonLexer).q2l = function (startPos, endPos) {
|
|
4437
4437
|
// Inline function 'kotlin.text.substring' call
|
|
4438
|
-
var this_0 = this.
|
|
4438
|
+
var this_0 = this.w6b();
|
|
4439
4439
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4440
4440
|
};
|
|
4441
|
-
protoOf(AbstractJsonLexer).
|
|
4442
|
-
if (!(this.
|
|
4441
|
+
protoOf(AbstractJsonLexer).j67 = function () {
|
|
4442
|
+
if (!(this.w61_1 == null)) {
|
|
4443
4443
|
return takePeeked(this);
|
|
4444
4444
|
}
|
|
4445
|
-
return this.
|
|
4445
|
+
return this.z68();
|
|
4446
4446
|
};
|
|
4447
4447
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4448
4448
|
var currentPosition = current;
|
|
@@ -4452,19 +4452,19 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4452
4452
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4453
4453
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4454
4454
|
usedAppend = true;
|
|
4455
|
-
currentPosition = this.
|
|
4455
|
+
currentPosition = this.x6b(appendEscape(this, lastPosition, currentPosition));
|
|
4456
4456
|
if (currentPosition === -1) {
|
|
4457
|
-
this.
|
|
4457
|
+
this.c66('Unexpected EOF', currentPosition);
|
|
4458
4458
|
}
|
|
4459
4459
|
lastPosition = currentPosition;
|
|
4460
4460
|
} else {
|
|
4461
4461
|
currentPosition = currentPosition + 1 | 0;
|
|
4462
4462
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4463
4463
|
usedAppend = true;
|
|
4464
|
-
this.
|
|
4465
|
-
currentPosition = this.
|
|
4464
|
+
this.v6b(lastPosition, currentPosition);
|
|
4465
|
+
currentPosition = this.x6b(currentPosition);
|
|
4466
4466
|
if (currentPosition === -1) {
|
|
4467
|
-
this.
|
|
4467
|
+
this.c66('Unexpected EOF', currentPosition);
|
|
4468
4468
|
}
|
|
4469
4469
|
lastPosition = currentPosition;
|
|
4470
4470
|
}
|
|
@@ -4478,40 +4478,40 @@ protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, cur
|
|
|
4478
4478
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4479
4479
|
}
|
|
4480
4480
|
var string = tmp;
|
|
4481
|
-
this.
|
|
4481
|
+
this.u61_1 = currentPosition + 1 | 0;
|
|
4482
4482
|
return string;
|
|
4483
4483
|
};
|
|
4484
|
-
protoOf(AbstractJsonLexer).
|
|
4485
|
-
var result = this.
|
|
4484
|
+
protoOf(AbstractJsonLexer).a69 = function () {
|
|
4485
|
+
var result = this.k67();
|
|
4486
4486
|
if (result === 'null' && wasUnquotedString(this)) {
|
|
4487
|
-
this.
|
|
4487
|
+
this.c66("Unexpected 'null' value instead of string literal");
|
|
4488
4488
|
}
|
|
4489
4489
|
return result;
|
|
4490
4490
|
};
|
|
4491
|
-
protoOf(AbstractJsonLexer).
|
|
4492
|
-
if (!(this.
|
|
4491
|
+
protoOf(AbstractJsonLexer).k67 = function () {
|
|
4492
|
+
if (!(this.w61_1 == null)) {
|
|
4493
4493
|
return takePeeked(this);
|
|
4494
4494
|
}
|
|
4495
|
-
var current = this.
|
|
4496
|
-
if (current >= charSequenceLength(this.
|
|
4497
|
-
this.
|
|
4495
|
+
var current = this.z6b();
|
|
4496
|
+
if (current >= charSequenceLength(this.w6b()) || current === -1) {
|
|
4497
|
+
this.c66('EOF', current);
|
|
4498
4498
|
}
|
|
4499
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4499
|
+
var token = charToTokenClass(charSequenceGet(this.w6b(), current));
|
|
4500
4500
|
if (token === 1) {
|
|
4501
|
-
return this.
|
|
4501
|
+
return this.j67();
|
|
4502
4502
|
}
|
|
4503
4503
|
if (!(token === 0)) {
|
|
4504
|
-
this.
|
|
4504
|
+
this.c66('Expected beginning of the string, but got ' + toString_1(charSequenceGet(this.w6b(), current)));
|
|
4505
4505
|
}
|
|
4506
4506
|
var usedAppend = false;
|
|
4507
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4507
|
+
while (charToTokenClass(charSequenceGet(this.w6b(), current)) === 0) {
|
|
4508
4508
|
current = current + 1 | 0;
|
|
4509
|
-
if (current >= charSequenceLength(this.
|
|
4509
|
+
if (current >= charSequenceLength(this.w6b())) {
|
|
4510
4510
|
usedAppend = true;
|
|
4511
|
-
this.
|
|
4512
|
-
var eof = this.
|
|
4511
|
+
this.v6b(this.u61_1, current);
|
|
4512
|
+
var eof = this.x6b(current);
|
|
4513
4513
|
if (eof === -1) {
|
|
4514
|
-
this.
|
|
4514
|
+
this.u61_1 = current;
|
|
4515
4515
|
return decodedString(this, 0, 0);
|
|
4516
4516
|
} else {
|
|
4517
4517
|
current = eof;
|
|
@@ -4520,32 +4520,32 @@ protoOf(AbstractJsonLexer).j67 = function () {
|
|
|
4520
4520
|
}
|
|
4521
4521
|
var tmp;
|
|
4522
4522
|
if (!usedAppend) {
|
|
4523
|
-
tmp = this.q2l(this.
|
|
4523
|
+
tmp = this.q2l(this.u61_1, current);
|
|
4524
4524
|
} else {
|
|
4525
|
-
tmp = decodedString(this, this.
|
|
4525
|
+
tmp = decodedString(this, this.u61_1, current);
|
|
4526
4526
|
}
|
|
4527
4527
|
var result = tmp;
|
|
4528
|
-
this.
|
|
4528
|
+
this.u61_1 = current;
|
|
4529
4529
|
return result;
|
|
4530
4530
|
};
|
|
4531
|
-
protoOf(AbstractJsonLexer).
|
|
4532
|
-
this.
|
|
4531
|
+
protoOf(AbstractJsonLexer).v6b = function (fromIndex, toIndex) {
|
|
4532
|
+
this.x61_1.yc(this.w6b(), fromIndex, toIndex);
|
|
4533
4533
|
};
|
|
4534
|
-
protoOf(AbstractJsonLexer).
|
|
4534
|
+
protoOf(AbstractJsonLexer).y68 = function (allowLenientStrings) {
|
|
4535
4535
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4536
4536
|
var tokenStack = ArrayList_init_$Create$();
|
|
4537
|
-
var lastToken = this.
|
|
4537
|
+
var lastToken = this.h67();
|
|
4538
4538
|
if (!(lastToken === 8) && !(lastToken === 6)) {
|
|
4539
|
-
this.
|
|
4539
|
+
this.k67();
|
|
4540
4540
|
return Unit_instance;
|
|
4541
4541
|
}
|
|
4542
4542
|
$l$loop: while (true) {
|
|
4543
|
-
lastToken = this.
|
|
4543
|
+
lastToken = this.h67();
|
|
4544
4544
|
if (lastToken === 1) {
|
|
4545
4545
|
if (allowLenientStrings)
|
|
4546
|
-
this.
|
|
4546
|
+
this.k67();
|
|
4547
4547
|
else
|
|
4548
|
-
this.
|
|
4548
|
+
this.z68();
|
|
4549
4549
|
continue $l$loop;
|
|
4550
4550
|
}
|
|
4551
4551
|
var tmp0_subject = lastToken;
|
|
@@ -4553,29 +4553,29 @@ protoOf(AbstractJsonLexer).x68 = function (allowLenientStrings) {
|
|
|
4553
4553
|
tokenStack.e1(lastToken);
|
|
4554
4554
|
} else if (tmp0_subject === 9) {
|
|
4555
4555
|
if (!(last(tokenStack) === 8))
|
|
4556
|
-
throw JsonDecodingException_0(this.
|
|
4556
|
+
throw JsonDecodingException_0(this.u61_1, 'found ] instead of } at path: ' + this.v61_1.toString(), this.w6b());
|
|
4557
4557
|
removeLast(tokenStack);
|
|
4558
4558
|
} else if (tmp0_subject === 7) {
|
|
4559
4559
|
if (!(last(tokenStack) === 6))
|
|
4560
|
-
throw JsonDecodingException_0(this.
|
|
4560
|
+
throw JsonDecodingException_0(this.u61_1, 'found } instead of ] at path: ' + this.v61_1.toString(), this.w6b());
|
|
4561
4561
|
removeLast(tokenStack);
|
|
4562
4562
|
} else if (tmp0_subject === 10) {
|
|
4563
|
-
this.
|
|
4563
|
+
this.c66('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4564
4564
|
}
|
|
4565
|
-
this.
|
|
4565
|
+
this.m67();
|
|
4566
4566
|
if (tokenStack.g1() === 0)
|
|
4567
4567
|
return Unit_instance;
|
|
4568
4568
|
}
|
|
4569
4569
|
};
|
|
4570
4570
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4571
|
-
return "JsonReader(source='" + toString(this.
|
|
4571
|
+
return "JsonReader(source='" + toString(this.w6b()) + "', currentPosition=" + this.u61_1 + ')';
|
|
4572
4572
|
};
|
|
4573
|
-
protoOf(AbstractJsonLexer).
|
|
4574
|
-
var processed = this.q2l(0, this.
|
|
4573
|
+
protoOf(AbstractJsonLexer).x68 = function (key) {
|
|
4574
|
+
var processed = this.q2l(0, this.u61_1);
|
|
4575
4575
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4576
|
-
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.
|
|
4576
|
+
throw new JsonDecodingException("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.v61_1.p66() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString(minify(this.w6b(), lastIndexOf_0))));
|
|
4577
4577
|
};
|
|
4578
|
-
protoOf(AbstractJsonLexer).
|
|
4578
|
+
protoOf(AbstractJsonLexer).b66 = function (message, position, hint) {
|
|
4579
4579
|
var tmp;
|
|
4580
4580
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4581
4581
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4584,24 +4584,24 @@ protoOf(AbstractJsonLexer).a66 = function (message, position, hint) {
|
|
|
4584
4584
|
tmp = '\n' + hint;
|
|
4585
4585
|
}
|
|
4586
4586
|
var hintMessage = tmp;
|
|
4587
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4587
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.v61_1.p66() + hintMessage, this.w6b());
|
|
4588
4588
|
};
|
|
4589
|
-
protoOf(AbstractJsonLexer).
|
|
4590
|
-
position = position === VOID ? this.
|
|
4589
|
+
protoOf(AbstractJsonLexer).c66 = function (message, position, hint, $super) {
|
|
4590
|
+
position = position === VOID ? this.u61_1 : position;
|
|
4591
4591
|
hint = hint === VOID ? '' : hint;
|
|
4592
|
-
return $super === VOID ? this.
|
|
4592
|
+
return $super === VOID ? this.b66(message, position, hint) : $super.b66.call(this, message, position, hint);
|
|
4593
4593
|
};
|
|
4594
|
-
protoOf(AbstractJsonLexer).
|
|
4595
|
-
var current = this.
|
|
4596
|
-
current = this.
|
|
4597
|
-
if (current >= charSequenceLength(this.
|
|
4598
|
-
this.
|
|
4594
|
+
protoOf(AbstractJsonLexer).i69 = function () {
|
|
4595
|
+
var current = this.z6b();
|
|
4596
|
+
current = this.x6b(current);
|
|
4597
|
+
if (current >= charSequenceLength(this.w6b()) || current === -1) {
|
|
4598
|
+
this.c66('EOF');
|
|
4599
4599
|
}
|
|
4600
4600
|
var tmp;
|
|
4601
|
-
if (charSequenceGet(this.
|
|
4601
|
+
if (charSequenceGet(this.w6b(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4602
4602
|
current = current + 1 | 0;
|
|
4603
|
-
if (current === charSequenceLength(this.
|
|
4604
|
-
this.
|
|
4603
|
+
if (current === charSequenceLength(this.w6b())) {
|
|
4604
|
+
this.c66('EOF');
|
|
4605
4605
|
}
|
|
4606
4606
|
tmp = true;
|
|
4607
4607
|
} else {
|
|
@@ -4614,11 +4614,11 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4614
4614
|
var isExponentPositive = false;
|
|
4615
4615
|
var hasExponent = false;
|
|
4616
4616
|
var start = current;
|
|
4617
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4618
|
-
var ch = charSequenceGet(this.
|
|
4617
|
+
$l$loop_4: while (!(current === charSequenceLength(this.w6b()))) {
|
|
4618
|
+
var ch = charSequenceGet(this.w6b(), current);
|
|
4619
4619
|
if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
|
|
4620
4620
|
if (current === start) {
|
|
4621
|
-
this.
|
|
4621
|
+
this.c66('Unexpected symbol ' + toString_1(ch) + ' in numeric literal');
|
|
4622
4622
|
}
|
|
4623
4623
|
isExponentPositive = true;
|
|
4624
4624
|
hasExponent = true;
|
|
@@ -4627,7 +4627,7 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4627
4627
|
}
|
|
4628
4628
|
if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
|
|
4629
4629
|
if (current === start) {
|
|
4630
|
-
this.
|
|
4630
|
+
this.c66("Unexpected symbol '-' in numeric literal");
|
|
4631
4631
|
}
|
|
4632
4632
|
isExponentPositive = false;
|
|
4633
4633
|
current = current + 1 | 0;
|
|
@@ -4635,7 +4635,7 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
|
|
4637
4637
|
if (current === start) {
|
|
4638
|
-
this.
|
|
4638
|
+
this.c66("Unexpected symbol '+' in numeric literal");
|
|
4639
4639
|
}
|
|
4640
4640
|
isExponentPositive = true;
|
|
4641
4641
|
current = current + 1 | 0;
|
|
@@ -4643,7 +4643,7 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4643
4643
|
}
|
|
4644
4644
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4645
4645
|
if (!(current === start)) {
|
|
4646
|
-
this.
|
|
4646
|
+
this.c66("Unexpected symbol '-' in numeric literal");
|
|
4647
4647
|
}
|
|
4648
4648
|
isNegative = true;
|
|
4649
4649
|
current = current + 1 | 0;
|
|
@@ -4655,7 +4655,7 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4655
4655
|
current = current + 1 | 0;
|
|
4656
4656
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4657
4657
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4658
|
-
this.
|
|
4658
|
+
this.c66("Unexpected symbol '" + toString_1(ch) + "' in numeric literal");
|
|
4659
4659
|
}
|
|
4660
4660
|
if (hasExponent) {
|
|
4661
4661
|
// Inline function 'kotlin.Long.times' call
|
|
@@ -4671,31 +4671,31 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4671
4671
|
var this_3 = multiply(this_2, fromInt(10));
|
|
4672
4672
|
accumulator = subtract(this_3, fromInt(digit));
|
|
4673
4673
|
if (accumulator > 0n) {
|
|
4674
|
-
this.
|
|
4674
|
+
this.c66('Numeric value overflow');
|
|
4675
4675
|
}
|
|
4676
4676
|
}
|
|
4677
4677
|
var hasChars = !(current === start);
|
|
4678
4678
|
if (start === current || (isNegative && start === (current - 1 | 0))) {
|
|
4679
|
-
this.
|
|
4679
|
+
this.c66('Expected numeric literal');
|
|
4680
4680
|
}
|
|
4681
4681
|
if (hasQuotation) {
|
|
4682
4682
|
if (!hasChars) {
|
|
4683
|
-
this.
|
|
4683
|
+
this.c66('EOF');
|
|
4684
4684
|
}
|
|
4685
|
-
if (!(charSequenceGet(this.
|
|
4686
|
-
this.
|
|
4685
|
+
if (!(charSequenceGet(this.w6b(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4686
|
+
this.c66('Expected closing quotation mark');
|
|
4687
4687
|
}
|
|
4688
4688
|
current = current + 1 | 0;
|
|
4689
4689
|
}
|
|
4690
|
-
this.
|
|
4690
|
+
this.u61_1 = current;
|
|
4691
4691
|
if (hasExponent) {
|
|
4692
4692
|
var doubleAccumulator = toNumber(accumulator) * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4693
4693
|
if (doubleAccumulator > toNumber(9223372036854775807n) || doubleAccumulator < toNumber(-9223372036854775808n)) {
|
|
4694
|
-
this.
|
|
4694
|
+
this.c66('Numeric value overflow');
|
|
4695
4695
|
}
|
|
4696
4696
|
// Inline function 'kotlin.math.floor' call
|
|
4697
4697
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4698
|
-
this.
|
|
4698
|
+
this.c66("Can't convert " + doubleAccumulator + ' to Long');
|
|
4699
4699
|
}
|
|
4700
4700
|
accumulator = numberToLong(doubleAccumulator);
|
|
4701
4701
|
}
|
|
@@ -4705,30 +4705,30 @@ protoOf(AbstractJsonLexer).h69 = function () {
|
|
|
4705
4705
|
} else if (!(accumulator === -9223372036854775808n)) {
|
|
4706
4706
|
tmp_0 = negate(accumulator);
|
|
4707
4707
|
} else {
|
|
4708
|
-
this.
|
|
4708
|
+
this.c66('Numeric value overflow');
|
|
4709
4709
|
}
|
|
4710
4710
|
return tmp_0;
|
|
4711
4711
|
};
|
|
4712
|
-
protoOf(AbstractJsonLexer).
|
|
4713
|
-
var result = this.
|
|
4714
|
-
var next = this.
|
|
4712
|
+
protoOf(AbstractJsonLexer).y63 = function () {
|
|
4713
|
+
var result = this.i69();
|
|
4714
|
+
var next = this.m67();
|
|
4715
4715
|
if (!(next === 10)) {
|
|
4716
4716
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
4717
4717
|
var expected = tokenDescription(10);
|
|
4718
|
-
var position = true ? this.
|
|
4719
|
-
var s = this.
|
|
4718
|
+
var position = true ? this.u61_1 - 1 | 0 : this.u61_1;
|
|
4719
|
+
var s = this.u61_1 === charSequenceLength(this.w6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.w6b(), position));
|
|
4720
4720
|
var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
|
|
4721
|
-
this.
|
|
4721
|
+
this.c66(tmp$ret$0, position);
|
|
4722
4722
|
}
|
|
4723
4723
|
return result;
|
|
4724
4724
|
};
|
|
4725
|
-
protoOf(AbstractJsonLexer).
|
|
4726
|
-
var current = this.
|
|
4727
|
-
if (current === charSequenceLength(this.
|
|
4728
|
-
this.
|
|
4725
|
+
protoOf(AbstractJsonLexer).h69 = function () {
|
|
4726
|
+
var current = this.z6b();
|
|
4727
|
+
if (current === charSequenceLength(this.w6b())) {
|
|
4728
|
+
this.c66('EOF');
|
|
4729
4729
|
}
|
|
4730
4730
|
var tmp;
|
|
4731
|
-
if (charSequenceGet(this.
|
|
4731
|
+
if (charSequenceGet(this.w6b(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4732
4732
|
current = current + 1 | 0;
|
|
4733
4733
|
tmp = true;
|
|
4734
4734
|
} else {
|
|
@@ -4737,13 +4737,13 @@ protoOf(AbstractJsonLexer).g69 = function () {
|
|
|
4737
4737
|
var hasQuotation = tmp;
|
|
4738
4738
|
var result = consumeBoolean2(this, current);
|
|
4739
4739
|
if (hasQuotation) {
|
|
4740
|
-
if (this.
|
|
4741
|
-
this.
|
|
4740
|
+
if (this.u61_1 === charSequenceLength(this.w6b())) {
|
|
4741
|
+
this.c66('EOF');
|
|
4742
4742
|
}
|
|
4743
|
-
if (!(charSequenceGet(this.
|
|
4744
|
-
this.
|
|
4743
|
+
if (!(charSequenceGet(this.w6b(), this.u61_1) === _Char___init__impl__6a9atx(34))) {
|
|
4744
|
+
this.c66('Expected closing quotation mark');
|
|
4745
4745
|
}
|
|
4746
|
-
this.
|
|
4746
|
+
this.u61_1 = this.u61_1 + 1 | 0;
|
|
4747
4747
|
}
|
|
4748
4748
|
return result;
|
|
4749
4749
|
};
|
|
@@ -4751,7 +4751,7 @@ function charToTokenClass(c) {
|
|
|
4751
4751
|
var tmp;
|
|
4752
4752
|
// Inline function 'kotlin.code' call
|
|
4753
4753
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4754
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4754
|
+
var tmp_0 = CharMappings_getInstance().e6c_1;
|
|
4755
4755
|
// Inline function 'kotlin.code' call
|
|
4756
4756
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4757
4757
|
} else {
|
|
@@ -4763,7 +4763,7 @@ function tokenDescription(token) {
|
|
|
4763
4763
|
return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
|
|
4764
4764
|
}
|
|
4765
4765
|
function escapeToChar(c) {
|
|
4766
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4766
|
+
return c < 117 ? CharMappings_getInstance().d6c_1[c] : _Char___init__impl__6a9atx(0);
|
|
4767
4767
|
}
|
|
4768
4768
|
function initEscape($this) {
|
|
4769
4769
|
var inductionVariable = 0;
|
|
@@ -4809,7 +4809,7 @@ function initC2ESC($this, c, esc) {
|
|
|
4809
4809
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4810
4810
|
// Inline function 'kotlin.code' call
|
|
4811
4811
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4812
|
-
$this.
|
|
4812
|
+
$this.d6c_1[tmp$ret$0] = numberToChar(c);
|
|
4813
4813
|
}
|
|
4814
4814
|
}
|
|
4815
4815
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4818,7 +4818,7 @@ function initC2ESC_0($this, c, esc) {
|
|
|
4818
4818
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4819
4819
|
}
|
|
4820
4820
|
function initC2TC($this, c, cl) {
|
|
4821
|
-
$this.
|
|
4821
|
+
$this.e6c_1[c] = cl;
|
|
4822
4822
|
}
|
|
4823
4823
|
function initC2TC_0($this, c, cl) {
|
|
4824
4824
|
// Inline function 'kotlin.code' call
|
|
@@ -4827,8 +4827,8 @@ function initC2TC_0($this, c, cl) {
|
|
|
4827
4827
|
}
|
|
4828
4828
|
function CharMappings() {
|
|
4829
4829
|
CharMappings_instance = this;
|
|
4830
|
-
this.
|
|
4831
|
-
this.
|
|
4830
|
+
this.d6c_1 = charArray(117);
|
|
4831
|
+
this.e6c_1 = new Int8Array(126);
|
|
4832
4832
|
initEscape(this);
|
|
4833
4833
|
initCharToToken(this);
|
|
4834
4834
|
}
|
|
@@ -4841,48 +4841,48 @@ function CharMappings_getInstance() {
|
|
|
4841
4841
|
function StringJsonLexerWithComments(source) {
|
|
4842
4842
|
StringJsonLexer.call(this, source);
|
|
4843
4843
|
}
|
|
4844
|
-
protoOf(StringJsonLexerWithComments).
|
|
4845
|
-
var source = this.
|
|
4846
|
-
var cpos = this.
|
|
4844
|
+
protoOf(StringJsonLexerWithComments).m67 = function () {
|
|
4845
|
+
var source = this.w6b();
|
|
4846
|
+
var cpos = this.z6b();
|
|
4847
4847
|
if (cpos >= source.length || cpos === -1)
|
|
4848
4848
|
return 10;
|
|
4849
|
-
this.
|
|
4849
|
+
this.u61_1 = cpos + 1 | 0;
|
|
4850
4850
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4851
4851
|
};
|
|
4852
|
-
protoOf(StringJsonLexerWithComments).
|
|
4853
|
-
var current = this.
|
|
4854
|
-
if (current >= this.
|
|
4852
|
+
protoOf(StringJsonLexerWithComments).i67 = function () {
|
|
4853
|
+
var current = this.z6b();
|
|
4854
|
+
if (current >= this.w6b().length || current === -1)
|
|
4855
4855
|
return false;
|
|
4856
|
-
return this.
|
|
4856
|
+
return this.a6c(charCodeAt(this.w6b(), current));
|
|
4857
4857
|
};
|
|
4858
|
-
protoOf(StringJsonLexerWithComments).
|
|
4859
|
-
var source = this.
|
|
4860
|
-
var current = this.
|
|
4858
|
+
protoOf(StringJsonLexerWithComments).t68 = function (expected) {
|
|
4859
|
+
var source = this.w6b();
|
|
4860
|
+
var current = this.z6b();
|
|
4861
4861
|
if (current >= source.length || current === -1) {
|
|
4862
|
-
this.
|
|
4863
|
-
this.
|
|
4862
|
+
this.u61_1 = -1;
|
|
4863
|
+
this.b6c(expected);
|
|
4864
4864
|
}
|
|
4865
4865
|
var c = charCodeAt(source, current);
|
|
4866
|
-
this.
|
|
4866
|
+
this.u61_1 = current + 1 | 0;
|
|
4867
4867
|
if (c === expected)
|
|
4868
4868
|
return Unit_instance;
|
|
4869
4869
|
else {
|
|
4870
|
-
this.
|
|
4870
|
+
this.b6c(expected);
|
|
4871
4871
|
}
|
|
4872
4872
|
};
|
|
4873
|
-
protoOf(StringJsonLexerWithComments).
|
|
4874
|
-
var source = this.
|
|
4875
|
-
var cpos = this.
|
|
4873
|
+
protoOf(StringJsonLexerWithComments).h67 = function () {
|
|
4874
|
+
var source = this.w6b();
|
|
4875
|
+
var cpos = this.z6b();
|
|
4876
4876
|
if (cpos >= source.length || cpos === -1)
|
|
4877
4877
|
return 10;
|
|
4878
|
-
this.
|
|
4878
|
+
this.u61_1 = cpos;
|
|
4879
4879
|
return charToTokenClass(charCodeAt(source, cpos));
|
|
4880
4880
|
};
|
|
4881
|
-
protoOf(StringJsonLexerWithComments).
|
|
4882
|
-
var current = this.
|
|
4881
|
+
protoOf(StringJsonLexerWithComments).z6b = function () {
|
|
4882
|
+
var current = this.u61_1;
|
|
4883
4883
|
if (current === -1)
|
|
4884
4884
|
return current;
|
|
4885
|
-
var source = this.
|
|
4885
|
+
var source = this.w6b();
|
|
4886
4886
|
$l$loop_1: while (current < source.length) {
|
|
4887
4887
|
var c = charCodeAt(source, current);
|
|
4888
4888
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4903,8 +4903,8 @@ protoOf(StringJsonLexerWithComments).y6b = function () {
|
|
|
4903
4903
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(42)) {
|
|
4904
4904
|
current = indexOf(source, '*/', current + 2 | 0);
|
|
4905
4905
|
if (current === -1) {
|
|
4906
|
-
this.
|
|
4907
|
-
this.
|
|
4906
|
+
this.u61_1 = source.length;
|
|
4907
|
+
this.c66('Expected end of the block comment: "*/", but had EOF instead');
|
|
4908
4908
|
} else {
|
|
4909
4909
|
current = current + 2 | 0;
|
|
4910
4910
|
}
|
|
@@ -4913,22 +4913,22 @@ protoOf(StringJsonLexerWithComments).y6b = function () {
|
|
|
4913
4913
|
}
|
|
4914
4914
|
break $l$loop_1;
|
|
4915
4915
|
}
|
|
4916
|
-
this.
|
|
4916
|
+
this.u61_1 = current;
|
|
4917
4917
|
return current;
|
|
4918
4918
|
};
|
|
4919
4919
|
function StringJsonLexer(source) {
|
|
4920
4920
|
AbstractJsonLexer.call(this);
|
|
4921
|
-
this.
|
|
4921
|
+
this.o6c_1 = source;
|
|
4922
4922
|
}
|
|
4923
|
-
protoOf(StringJsonLexer).
|
|
4924
|
-
return this.
|
|
4923
|
+
protoOf(StringJsonLexer).w6b = function () {
|
|
4924
|
+
return this.o6c_1;
|
|
4925
4925
|
};
|
|
4926
|
-
protoOf(StringJsonLexer).
|
|
4927
|
-
return position < this.
|
|
4926
|
+
protoOf(StringJsonLexer).x6b = function (position) {
|
|
4927
|
+
return position < this.w6b().length ? position : -1;
|
|
4928
4928
|
};
|
|
4929
|
-
protoOf(StringJsonLexer).
|
|
4930
|
-
var source = this.
|
|
4931
|
-
var cpos = this.
|
|
4929
|
+
protoOf(StringJsonLexer).m67 = function () {
|
|
4930
|
+
var source = this.w6b();
|
|
4931
|
+
var cpos = this.u61_1;
|
|
4932
4932
|
$l$loop: while (!(cpos === -1) && cpos < source.length) {
|
|
4933
4933
|
var _unary__edvuaz = cpos;
|
|
4934
4934
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4936,17 +4936,17 @@ protoOf(StringJsonLexer).l67 = function () {
|
|
|
4936
4936
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4937
4937
|
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))
|
|
4938
4938
|
continue $l$loop;
|
|
4939
|
-
this.
|
|
4939
|
+
this.u61_1 = cpos;
|
|
4940
4940
|
return charToTokenClass(c);
|
|
4941
4941
|
}
|
|
4942
|
-
this.
|
|
4942
|
+
this.u61_1 = source.length;
|
|
4943
4943
|
return 10;
|
|
4944
4944
|
};
|
|
4945
|
-
protoOf(StringJsonLexer).
|
|
4946
|
-
var current = this.
|
|
4945
|
+
protoOf(StringJsonLexer).i67 = function () {
|
|
4946
|
+
var current = this.u61_1;
|
|
4947
4947
|
if (current === -1)
|
|
4948
4948
|
return false;
|
|
4949
|
-
var source = this.
|
|
4949
|
+
var source = this.w6b();
|
|
4950
4950
|
$l$loop: while (current < source.length) {
|
|
4951
4951
|
var c = charCodeAt(source, current);
|
|
4952
4952
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4954,17 +4954,17 @@ protoOf(StringJsonLexer).h67 = function () {
|
|
|
4954
4954
|
current = current + 1 | 0;
|
|
4955
4955
|
continue $l$loop;
|
|
4956
4956
|
}
|
|
4957
|
-
this.
|
|
4958
|
-
return this.
|
|
4957
|
+
this.u61_1 = current;
|
|
4958
|
+
return this.a6c(c);
|
|
4959
4959
|
}
|
|
4960
|
-
this.
|
|
4960
|
+
this.u61_1 = current;
|
|
4961
4961
|
return false;
|
|
4962
4962
|
};
|
|
4963
|
-
protoOf(StringJsonLexer).
|
|
4964
|
-
var current = this.
|
|
4963
|
+
protoOf(StringJsonLexer).z6b = function () {
|
|
4964
|
+
var current = this.u61_1;
|
|
4965
4965
|
if (current === -1)
|
|
4966
4966
|
return current;
|
|
4967
|
-
var source = this.
|
|
4967
|
+
var source = this.w6b();
|
|
4968
4968
|
$l$loop: while (current < source.length) {
|
|
4969
4969
|
var c = charCodeAt(source, current);
|
|
4970
4970
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
@@ -4974,15 +4974,15 @@ protoOf(StringJsonLexer).y6b = function () {
|
|
|
4974
4974
|
break $l$loop;
|
|
4975
4975
|
}
|
|
4976
4976
|
}
|
|
4977
|
-
this.
|
|
4977
|
+
this.u61_1 = current;
|
|
4978
4978
|
return current;
|
|
4979
4979
|
};
|
|
4980
|
-
protoOf(StringJsonLexer).
|
|
4981
|
-
if (this.
|
|
4982
|
-
this.
|
|
4980
|
+
protoOf(StringJsonLexer).t68 = function (expected) {
|
|
4981
|
+
if (this.u61_1 === -1) {
|
|
4982
|
+
this.b6c(expected);
|
|
4983
4983
|
}
|
|
4984
|
-
var source = this.
|
|
4985
|
-
var cpos = this.
|
|
4984
|
+
var source = this.w6b();
|
|
4985
|
+
var cpos = this.u61_1;
|
|
4986
4986
|
$l$loop: while (cpos < source.length) {
|
|
4987
4987
|
var _unary__edvuaz = cpos;
|
|
4988
4988
|
cpos = _unary__edvuaz + 1 | 0;
|
|
@@ -4990,83 +4990,83 @@ protoOf(StringJsonLexer).s68 = function (expected) {
|
|
|
4990
4990
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.isWs' call
|
|
4991
4991
|
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))
|
|
4992
4992
|
continue $l$loop;
|
|
4993
|
-
this.
|
|
4993
|
+
this.u61_1 = cpos;
|
|
4994
4994
|
if (c === expected)
|
|
4995
4995
|
return Unit_instance;
|
|
4996
|
-
this.
|
|
4996
|
+
this.b6c(expected);
|
|
4997
4997
|
}
|
|
4998
|
-
this.
|
|
4999
|
-
this.
|
|
4998
|
+
this.u61_1 = -1;
|
|
4999
|
+
this.b6c(expected);
|
|
5000
5000
|
};
|
|
5001
|
-
protoOf(StringJsonLexer).
|
|
5002
|
-
this.
|
|
5003
|
-
var current = this.
|
|
5004
|
-
var closingQuote = indexOf_0(this.
|
|
5001
|
+
protoOf(StringJsonLexer).z68 = function () {
|
|
5002
|
+
this.t68(_Char___init__impl__6a9atx(34));
|
|
5003
|
+
var current = this.u61_1;
|
|
5004
|
+
var closingQuote = indexOf_0(this.w6b(), _Char___init__impl__6a9atx(34), current);
|
|
5005
5005
|
if (closingQuote === -1) {
|
|
5006
|
-
this.
|
|
5006
|
+
this.k67();
|
|
5007
5007
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
|
|
5008
5008
|
var expected = tokenDescription(1);
|
|
5009
|
-
var position = false ? this.
|
|
5010
|
-
var s = this.
|
|
5009
|
+
var position = false ? this.u61_1 - 1 | 0 : this.u61_1;
|
|
5010
|
+
var s = this.u61_1 === charSequenceLength(this.w6b()) || position < 0 ? 'EOF' : toString_1(charSequenceGet(this.w6b(), position));
|
|
5011
5011
|
var tmp$ret$0 = 'Expected ' + expected + ", but had '" + s + "' instead";
|
|
5012
|
-
this.
|
|
5012
|
+
this.c66(tmp$ret$0, position);
|
|
5013
5013
|
}
|
|
5014
5014
|
var inductionVariable = current;
|
|
5015
5015
|
if (inductionVariable < closingQuote)
|
|
5016
5016
|
do {
|
|
5017
5017
|
var i = inductionVariable;
|
|
5018
5018
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5019
|
-
if (charCodeAt(this.
|
|
5020
|
-
return this.consumeString2(this.
|
|
5019
|
+
if (charCodeAt(this.w6b(), i) === _Char___init__impl__6a9atx(92)) {
|
|
5020
|
+
return this.consumeString2(this.w6b(), this.u61_1, i);
|
|
5021
5021
|
}
|
|
5022
5022
|
}
|
|
5023
5023
|
while (inductionVariable < closingQuote);
|
|
5024
|
-
this.
|
|
5025
|
-
return substring(this.
|
|
5024
|
+
this.u61_1 = closingQuote + 1 | 0;
|
|
5025
|
+
return substring(this.w6b(), current, closingQuote);
|
|
5026
5026
|
};
|
|
5027
|
-
protoOf(StringJsonLexer).
|
|
5028
|
-
var positionSnapshot = this.
|
|
5027
|
+
protoOf(StringJsonLexer).b69 = function (keyToMatch, isLenient) {
|
|
5028
|
+
var positionSnapshot = this.u61_1;
|
|
5029
5029
|
try {
|
|
5030
|
-
if (!(this.
|
|
5030
|
+
if (!(this.m67() === 6))
|
|
5031
5031
|
return null;
|
|
5032
|
-
var firstKey = this.
|
|
5032
|
+
var firstKey = this.w68(isLenient);
|
|
5033
5033
|
if (!(firstKey === keyToMatch))
|
|
5034
5034
|
return null;
|
|
5035
|
-
this.
|
|
5036
|
-
if (!(this.
|
|
5035
|
+
this.c6c();
|
|
5036
|
+
if (!(this.m67() === 5))
|
|
5037
5037
|
return null;
|
|
5038
|
-
return this.
|
|
5038
|
+
return this.w68(isLenient);
|
|
5039
5039
|
}finally {
|
|
5040
|
-
this.
|
|
5041
|
-
this.
|
|
5040
|
+
this.u61_1 = positionSnapshot;
|
|
5041
|
+
this.c6c();
|
|
5042
5042
|
}
|
|
5043
5043
|
};
|
|
5044
5044
|
function StringJsonLexer_0(json, source) {
|
|
5045
|
-
return !json.
|
|
5045
|
+
return !json.h61_1.h63_1 ? new StringJsonLexer(source) : new StringJsonLexerWithComments(source);
|
|
5046
5046
|
}
|
|
5047
5047
|
function get_schemaCache(_this__u8e3s4) {
|
|
5048
|
-
return _this__u8e3s4.
|
|
5048
|
+
return _this__u8e3s4.j61_1;
|
|
5049
5049
|
}
|
|
5050
5050
|
function JsonToStringWriter() {
|
|
5051
|
-
this.
|
|
5051
|
+
this.l61_1 = StringBuilder_init_$Create$_0(128);
|
|
5052
5052
|
}
|
|
5053
|
-
protoOf(JsonToStringWriter).
|
|
5054
|
-
this.
|
|
5053
|
+
protoOf(JsonToStringWriter).g65 = function (value) {
|
|
5054
|
+
this.l61_1.cd(value);
|
|
5055
5055
|
};
|
|
5056
|
-
protoOf(JsonToStringWriter).
|
|
5057
|
-
this.
|
|
5056
|
+
protoOf(JsonToStringWriter).a65 = function (char) {
|
|
5057
|
+
this.l61_1.s(char);
|
|
5058
5058
|
};
|
|
5059
|
-
protoOf(JsonToStringWriter).
|
|
5060
|
-
this.
|
|
5059
|
+
protoOf(JsonToStringWriter).c65 = function (text) {
|
|
5060
|
+
this.l61_1.q(text);
|
|
5061
5061
|
};
|
|
5062
|
-
protoOf(JsonToStringWriter).
|
|
5063
|
-
printQuoted(this.
|
|
5062
|
+
protoOf(JsonToStringWriter).m65 = function (text) {
|
|
5063
|
+
printQuoted(this.l61_1, text);
|
|
5064
5064
|
};
|
|
5065
5065
|
protoOf(JsonToStringWriter).x2i = function () {
|
|
5066
|
-
this.
|
|
5066
|
+
this.l61_1.fd();
|
|
5067
5067
|
};
|
|
5068
5068
|
protoOf(JsonToStringWriter).toString = function () {
|
|
5069
|
-
return this.
|
|
5069
|
+
return this.l61_1.toString();
|
|
5070
5070
|
};
|
|
5071
5071
|
function createMapForCache(initialCapacity) {
|
|
5072
5072
|
return HashMap_init_$Create$(initialCapacity);
|