@flock/wirespec 0.8.46 → 0.8.47
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/arrow-arrow-atomic.js +16 -16
- package/arrow-arrow-continuations.js +3 -3
- package/arrow-arrow-core.js +91 -91
- package/kotlin-kotlin-stdlib-js-ir.js +2161 -4204
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-openapi-bindings.js +3576 -3576
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1563 -1564
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1176 -1187
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +1719 -2474
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.d.ts +0 -1
- package/wirespec-src-compiler-lib.js +310 -318
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +572 -572
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/clikt-clikt.js +0 -6790
- package/clikt-clikt.js.map +0 -1
- package/colormath-root-colormath.js +0 -1403
- package/colormath-root-colormath.js.map +0 -1
- package/markdown.js +0 -6858
- package/markdown.js.map +0 -1
- package/mordant-mordant.js +0 -11604
- package/mordant-mordant.js.map +0 -1
- package/wirespec-bin.js +0 -3
- package/wirespec-src-compiler-cli.js +0 -1408
- package/wirespec-src-compiler-cli.js.map +0 -1
|
@@ -17,36 +17,36 @@
|
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
23
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
24
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
26
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
27
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
28
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
29
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
30
|
-
var equals = kotlin_kotlin.$_$.
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.n7;
|
|
21
|
+
var objectMeta = kotlin_kotlin.$_$.m7;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.pa;
|
|
23
|
+
var setMetadataFor = kotlin_kotlin.$_$.o7;
|
|
24
|
+
var classMeta = kotlin_kotlin.$_$.m6;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.s7;
|
|
26
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
27
|
+
var charSequenceGet = kotlin_kotlin.$_$.j6;
|
|
28
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f1;
|
|
29
|
+
var Unit_getInstance = kotlin_kotlin.$_$.f3;
|
|
30
|
+
var equals = kotlin_kotlin.$_$.o6;
|
|
31
31
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
32
32
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
33
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
34
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
35
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
38
|
-
var Map = kotlin_kotlin.$_$.
|
|
39
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
40
|
-
var List = kotlin_kotlin.$_$.
|
|
41
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
42
|
-
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.
|
|
43
|
-
var lazy = kotlin_kotlin.$_$.
|
|
33
|
+
var interfaceMeta = kotlin_kotlin.$_$.u6;
|
|
34
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
35
|
+
var THROW_CCE = kotlin_kotlin.$_$.r9;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.t6;
|
|
37
|
+
var joinToString = kotlin_kotlin.$_$.z4;
|
|
38
|
+
var Map = kotlin_kotlin.$_$.q3;
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
40
|
+
var List = kotlin_kotlin.$_$.o3;
|
|
41
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.c;
|
|
42
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
43
|
+
var lazy = kotlin_kotlin.$_$.ka;
|
|
44
44
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
45
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
46
|
-
var toInt = kotlin_kotlin.$_$.
|
|
47
|
-
var toLong = kotlin_kotlin.$_$.
|
|
48
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
49
|
-
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
45
|
+
var getStringHashCode = kotlin_kotlin.$_$.s6;
|
|
46
|
+
var toInt = kotlin_kotlin.$_$.w8;
|
|
47
|
+
var toLong = kotlin_kotlin.$_$.x8;
|
|
48
|
+
var toDouble = kotlin_kotlin.$_$.u8;
|
|
49
|
+
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.v2;
|
|
50
50
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
51
51
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
52
52
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
@@ -58,42 +58,42 @@
|
|
|
58
58
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
59
59
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
60
60
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
61
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
62
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
61
|
+
var isInterface = kotlin_kotlin.$_$.d7;
|
|
62
|
+
var lazy_0 = kotlin_kotlin.$_$.la;
|
|
63
63
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
64
64
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
65
65
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
67
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.y7;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.r6;
|
|
68
68
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
69
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
69
|
+
var captureStack = kotlin_kotlin.$_$.h6;
|
|
70
70
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
71
71
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
72
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
73
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
74
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
75
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
72
|
+
var charSequenceLength = kotlin_kotlin.$_$.k6;
|
|
73
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.l6;
|
|
74
|
+
var coerceAtLeast = kotlin_kotlin.$_$.t7;
|
|
75
|
+
var coerceAtMost = kotlin_kotlin.$_$.u7;
|
|
76
76
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
77
77
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
78
78
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
79
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
80
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
84
|
-
var getValue = kotlin_kotlin.$_$.
|
|
85
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
86
|
-
var copyOf_0 = kotlin_kotlin.$_$.
|
|
87
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
79
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
80
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
81
|
+
var singleOrNull = kotlin_kotlin.$_$.p5;
|
|
82
|
+
var arrayIterator = kotlin_kotlin.$_$.f6;
|
|
83
|
+
var emptyMap = kotlin_kotlin.$_$.o4;
|
|
84
|
+
var getValue = kotlin_kotlin.$_$.w4;
|
|
85
|
+
var copyOf = kotlin_kotlin.$_$.i4;
|
|
86
|
+
var copyOf_0 = kotlin_kotlin.$_$.j4;
|
|
87
|
+
var fillArrayVal = kotlin_kotlin.$_$.p6;
|
|
88
88
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
89
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
90
|
-
var invoke = kotlin_kotlin.$_$.
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
92
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
93
|
-
var Unit = kotlin_kotlin.$_$.
|
|
94
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
89
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.h9;
|
|
90
|
+
var invoke = kotlin_kotlin.$_$.ha;
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.c6;
|
|
92
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.i9;
|
|
93
|
+
var Unit = kotlin_kotlin.$_$.ca;
|
|
94
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b6;
|
|
95
95
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
96
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
96
|
+
var getKClass = kotlin_kotlin.$_$.d;
|
|
97
97
|
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
98
98
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
99
99
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
@@ -102,65 +102,65 @@
|
|
|
102
102
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
103
103
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
104
104
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
105
|
-
var isObject = kotlin_kotlin.$_$.
|
|
105
|
+
var isObject = kotlin_kotlin.$_$.f7;
|
|
106
106
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
107
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
108
|
-
var contains = kotlin_kotlin.$_$.
|
|
109
|
-
var plus = kotlin_kotlin.$_$.
|
|
107
|
+
var ensureNotNull = kotlin_kotlin.$_$.ga;
|
|
108
|
+
var contains = kotlin_kotlin.$_$.d8;
|
|
109
|
+
var plus = kotlin_kotlin.$_$.na;
|
|
110
110
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
111
111
|
var decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
112
|
-
var toLong_0 = kotlin_kotlin.$_$.
|
|
113
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
114
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
115
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
112
|
+
var toLong_0 = kotlin_kotlin.$_$.q7;
|
|
113
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.k9;
|
|
114
|
+
var isFinite = kotlin_kotlin.$_$.ja;
|
|
115
|
+
var isFinite_0 = kotlin_kotlin.$_$.ia;
|
|
116
116
|
var decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
117
117
|
var decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
118
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
119
|
-
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.
|
|
120
|
-
var toULong = kotlin_kotlin.$_$.
|
|
121
|
-
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.
|
|
122
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
123
|
-
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.
|
|
124
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
125
|
-
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.
|
|
118
|
+
var toUInt = kotlin_kotlin.$_$.z8;
|
|
119
|
+
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.v1;
|
|
120
|
+
var toULong = kotlin_kotlin.$_$.a9;
|
|
121
|
+
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.c2;
|
|
122
|
+
var toUByte = kotlin_kotlin.$_$.y8;
|
|
123
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.o1;
|
|
124
|
+
var toUShort = kotlin_kotlin.$_$.b9;
|
|
125
|
+
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.j2;
|
|
126
126
|
var decodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
127
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
127
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.c3;
|
|
128
128
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
129
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
129
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.d3;
|
|
130
130
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
131
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
131
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.b3;
|
|
132
132
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
133
|
-
var Companion_getInstance_3 = kotlin_kotlin.$_$.
|
|
133
|
+
var Companion_getInstance_3 = kotlin_kotlin.$_$.e3;
|
|
134
134
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
135
|
-
var setOf = kotlin_kotlin.$_$.
|
|
136
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
137
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
138
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
139
|
-
var Char = kotlin_kotlin.$_$.
|
|
140
|
-
var toByte = kotlin_kotlin.$_$.
|
|
141
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
135
|
+
var setOf = kotlin_kotlin.$_$.o5;
|
|
136
|
+
var numberToChar = kotlin_kotlin.$_$.k7;
|
|
137
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.h1;
|
|
138
|
+
var equals_0 = kotlin_kotlin.$_$.g8;
|
|
139
|
+
var Char = kotlin_kotlin.$_$.g9;
|
|
140
|
+
var toByte = kotlin_kotlin.$_$.p7;
|
|
141
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ma;
|
|
142
142
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
143
|
-
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
144
|
-
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
145
|
-
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
146
|
-
var toShort = kotlin_kotlin.$_$.
|
|
147
|
-
var single = kotlin_kotlin.$_$.
|
|
143
|
+
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
144
|
+
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.q2;
|
|
145
|
+
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.u2;
|
|
146
|
+
var toShort = kotlin_kotlin.$_$.r7;
|
|
147
|
+
var single = kotlin_kotlin.$_$.q8;
|
|
148
148
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
149
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
150
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
151
|
-
var toList = kotlin_kotlin.$_$.
|
|
152
|
-
var Enum = kotlin_kotlin.$_$.
|
|
149
|
+
var emptySet = kotlin_kotlin.$_$.p4;
|
|
150
|
+
var plus_0 = kotlin_kotlin.$_$.j5;
|
|
151
|
+
var toList = kotlin_kotlin.$_$.u5;
|
|
152
|
+
var Enum = kotlin_kotlin.$_$.j9;
|
|
153
153
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
154
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
155
|
-
var last = kotlin_kotlin.$_$.
|
|
156
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
157
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
158
|
-
var Long = kotlin_kotlin.$_$.
|
|
159
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
160
|
-
var Companion_getInstance_4 = kotlin_kotlin.$_$.
|
|
161
|
-
var charArray = kotlin_kotlin.$_$.
|
|
162
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
163
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
154
|
+
var toString_0 = kotlin_kotlin.$_$.i1;
|
|
155
|
+
var last = kotlin_kotlin.$_$.e5;
|
|
156
|
+
var removeLast = kotlin_kotlin.$_$.n5;
|
|
157
|
+
var lastIndexOf = kotlin_kotlin.$_$.n8;
|
|
158
|
+
var Long = kotlin_kotlin.$_$.m9;
|
|
159
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.g1;
|
|
160
|
+
var Companion_getInstance_4 = kotlin_kotlin.$_$.z2;
|
|
161
|
+
var charArray = kotlin_kotlin.$_$.i6;
|
|
162
|
+
var indexOf = kotlin_kotlin.$_$.i8;
|
|
163
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
164
164
|
//endregion
|
|
165
165
|
//region block: pre-declaration
|
|
166
166
|
setMetadataFor(Json, 'Json', classMeta);
|
|
@@ -227,69 +227,69 @@
|
|
|
227
227
|
}
|
|
228
228
|
function Json(configuration, serializersModule) {
|
|
229
229
|
Default_getInstance();
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.rv_1 = configuration;
|
|
231
|
+
this.sv_1 = serializersModule;
|
|
232
|
+
this.tv_1 = new DescriptorSchemaCache();
|
|
233
233
|
}
|
|
234
|
-
protoOf(Json).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(Json).ij = function () {
|
|
235
|
+
return this.sv_1;
|
|
236
236
|
};
|
|
237
|
-
protoOf(Json).
|
|
237
|
+
protoOf(Json).uv = function (deserializer, string) {
|
|
238
238
|
var lexer = new StringJsonLexer(string);
|
|
239
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
240
|
-
var result = input.
|
|
241
|
-
lexer.
|
|
239
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.vf(), null);
|
|
240
|
+
var result = input.si(deserializer);
|
|
241
|
+
lexer.iw();
|
|
242
242
|
return result;
|
|
243
243
|
};
|
|
244
|
-
protoOf(Json).
|
|
244
|
+
protoOf(Json).vv = function (deserializer, element) {
|
|
245
245
|
return readJson(this, element, deserializer);
|
|
246
246
|
};
|
|
247
247
|
function Json_0(from, builderAction) {
|
|
248
248
|
from = from === VOID ? Default_getInstance() : from;
|
|
249
249
|
var builder = new JsonBuilder(from);
|
|
250
250
|
builderAction(builder);
|
|
251
|
-
var conf = builder.
|
|
252
|
-
return new JsonImpl(conf, builder.
|
|
251
|
+
var conf = builder.ib();
|
|
252
|
+
return new JsonImpl(conf, builder.ww_1);
|
|
253
253
|
}
|
|
254
254
|
function JsonBuilder(json) {
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
}
|
|
270
|
-
protoOf(JsonBuilder).
|
|
271
|
-
if (this.
|
|
255
|
+
this.jw_1 = json.rv_1.xw_1;
|
|
256
|
+
this.kw_1 = json.rv_1.cx_1;
|
|
257
|
+
this.lw_1 = json.rv_1.yw_1;
|
|
258
|
+
this.mw_1 = json.rv_1.zw_1;
|
|
259
|
+
this.nw_1 = json.rv_1.ax_1;
|
|
260
|
+
this.ow_1 = json.rv_1.bx_1;
|
|
261
|
+
this.pw_1 = json.rv_1.dx_1;
|
|
262
|
+
this.qw_1 = json.rv_1.ex_1;
|
|
263
|
+
this.rw_1 = json.rv_1.fx_1;
|
|
264
|
+
this.sw_1 = json.rv_1.gx_1;
|
|
265
|
+
this.tw_1 = json.rv_1.hx_1;
|
|
266
|
+
this.uw_1 = json.rv_1.ix_1;
|
|
267
|
+
this.vw_1 = json.rv_1.jx_1;
|
|
268
|
+
this.ww_1 = json.ij();
|
|
269
|
+
}
|
|
270
|
+
protoOf(JsonBuilder).ib = function () {
|
|
271
|
+
if (this.rw_1) {
|
|
272
272
|
// Inline function 'kotlin.require' call
|
|
273
273
|
// Inline function 'kotlin.contracts.contract' call
|
|
274
|
-
if (!(this.
|
|
274
|
+
if (!(this.sw_1 === 'type')) {
|
|
275
275
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
276
276
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
277
277
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
if (!this.
|
|
280
|
+
if (!this.ow_1) {
|
|
281
281
|
// Inline function 'kotlin.require' call
|
|
282
282
|
// Inline function 'kotlin.contracts.contract' call
|
|
283
|
-
if (!(this.
|
|
283
|
+
if (!(this.pw_1 === ' ')) {
|
|
284
284
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
285
285
|
var message_0 = 'Indent should not be specified when default printing mode is used';
|
|
286
286
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
287
287
|
}
|
|
288
|
-
} else if (!(this.
|
|
288
|
+
} else if (!(this.pw_1 === ' ')) {
|
|
289
289
|
var tmp$ret$3;
|
|
290
290
|
$l$block: {
|
|
291
291
|
// Inline function 'kotlin.text.all' call
|
|
292
|
-
var indexedObject = this.
|
|
292
|
+
var indexedObject = this.pw_1;
|
|
293
293
|
var inductionVariable = 0;
|
|
294
294
|
var last = indexedObject.length;
|
|
295
295
|
while (inductionVariable < last) {
|
|
@@ -308,17 +308,17 @@
|
|
|
308
308
|
// Inline function 'kotlin.contracts.contract' call
|
|
309
309
|
if (!allWhitespaces) {
|
|
310
310
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
311
|
-
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
311
|
+
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.pw_1;
|
|
312
312
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
return new JsonConfiguration(this.
|
|
315
|
+
return new JsonConfiguration(this.jw_1, this.lw_1, this.mw_1, this.nw_1, this.ow_1, this.kw_1, this.pw_1, this.qw_1, this.rw_1, this.sw_1, this.tw_1, this.uw_1, this.vw_1);
|
|
316
316
|
};
|
|
317
317
|
function validateConfiguration($this) {
|
|
318
|
-
if (equals($this.
|
|
318
|
+
if (equals($this.ij(), EmptySerializersModule()))
|
|
319
319
|
return Unit_getInstance();
|
|
320
|
-
var collector = new PolymorphismValidator($this.
|
|
321
|
-
$this.
|
|
320
|
+
var collector = new PolymorphismValidator($this.rv_1.fx_1, $this.rv_1.gx_1);
|
|
321
|
+
$this.ij().av(collector);
|
|
322
322
|
}
|
|
323
323
|
function JsonImpl(configuration, module_0) {
|
|
324
324
|
Json.call(this, configuration, module_0);
|
|
@@ -342,22 +342,22 @@
|
|
|
342
342
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
343
343
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
344
344
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
345
|
+
this.xw_1 = encodeDefaults;
|
|
346
|
+
this.yw_1 = ignoreUnknownKeys;
|
|
347
|
+
this.zw_1 = isLenient;
|
|
348
|
+
this.ax_1 = allowStructuredMapKeys;
|
|
349
|
+
this.bx_1 = prettyPrint;
|
|
350
|
+
this.cx_1 = explicitNulls;
|
|
351
|
+
this.dx_1 = prettyPrintIndent;
|
|
352
|
+
this.ex_1 = coerceInputValues;
|
|
353
|
+
this.fx_1 = useArrayPolymorphism;
|
|
354
|
+
this.gx_1 = classDiscriminator;
|
|
355
|
+
this.hx_1 = allowSpecialFloatingPointValues;
|
|
356
|
+
this.ix_1 = useAlternativeNames;
|
|
357
|
+
this.jx_1 = namingStrategy;
|
|
358
358
|
}
|
|
359
359
|
protoOf(JsonConfiguration).toString = function () {
|
|
360
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
360
|
+
return 'JsonConfiguration(encodeDefaults=' + this.xw_1 + ', ignoreUnknownKeys=' + this.yw_1 + ', isLenient=' + this.zw_1 + ', ' + ('allowStructuredMapKeys=' + this.ax_1 + ', prettyPrint=' + this.bx_1 + ', explicitNulls=' + this.cx_1 + ', ') + ("prettyPrintIndent='" + this.dx_1 + "', coerceInputValues=" + this.ex_1 + ', useArrayPolymorphism=' + this.fx_1 + ', ') + ("classDiscriminator='" + this.gx_1 + "', allowSpecialFloatingPointValues=" + this.hx_1 + ', useAlternativeNames=' + this.ix_1 + ', ') + ('namingStrategy=' + this.jx_1 + ')');
|
|
361
361
|
};
|
|
362
362
|
function JsonDecoder() {
|
|
363
363
|
}
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
JsonElement.call(this);
|
|
377
377
|
}
|
|
378
378
|
protoOf(JsonPrimitive).toString = function () {
|
|
379
|
-
return this.
|
|
379
|
+
return this.mx();
|
|
380
380
|
};
|
|
381
381
|
function Companion_0() {
|
|
382
382
|
Companion_instance_0 = this;
|
|
@@ -401,9 +401,9 @@
|
|
|
401
401
|
}
|
|
402
402
|
function JsonObject$toString$lambda(_name_for_destructuring_parameter_0__wldtmu) {
|
|
403
403
|
// Inline function 'kotlin.collections.component1' call
|
|
404
|
-
var k = _name_for_destructuring_parameter_0__wldtmu.
|
|
404
|
+
var k = _name_for_destructuring_parameter_0__wldtmu.p();
|
|
405
405
|
// Inline function 'kotlin.collections.component2' call
|
|
406
|
-
var v = _name_for_destructuring_parameter_0__wldtmu.
|
|
406
|
+
var v = _name_for_destructuring_parameter_0__wldtmu.q();
|
|
407
407
|
// Inline function 'kotlin.text.buildString' call
|
|
408
408
|
// Inline function 'kotlin.contracts.contract' call
|
|
409
409
|
// Inline function 'kotlin.apply' call
|
|
@@ -411,51 +411,51 @@
|
|
|
411
411
|
// Inline function 'kotlin.contracts.contract' call
|
|
412
412
|
// Inline function 'kotlinx.serialization.json.JsonObject.toString.<anonymous>.<anonymous>' call
|
|
413
413
|
printQuoted(tmp0_apply, k);
|
|
414
|
-
tmp0_apply.
|
|
415
|
-
tmp0_apply.
|
|
414
|
+
tmp0_apply.r4(_Char___init__impl__6a9atx(58));
|
|
415
|
+
tmp0_apply.t5(v);
|
|
416
416
|
return tmp0_apply.toString();
|
|
417
417
|
}
|
|
418
418
|
function JsonObject(content) {
|
|
419
419
|
Companion_getInstance_7();
|
|
420
420
|
JsonElement.call(this);
|
|
421
|
-
this.
|
|
421
|
+
this.nx_1 = content;
|
|
422
422
|
}
|
|
423
|
-
protoOf(JsonObject).
|
|
424
|
-
return this.
|
|
423
|
+
protoOf(JsonObject).o = function () {
|
|
424
|
+
return this.nx_1.o();
|
|
425
425
|
};
|
|
426
|
-
protoOf(JsonObject).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(JsonObject).z1 = function () {
|
|
427
|
+
return this.nx_1.z1();
|
|
428
428
|
};
|
|
429
429
|
protoOf(JsonObject).f = function () {
|
|
430
|
-
return this.
|
|
430
|
+
return this.nx_1.f();
|
|
431
431
|
};
|
|
432
|
-
protoOf(JsonObject).
|
|
433
|
-
return this.
|
|
432
|
+
protoOf(JsonObject).ox = function (key) {
|
|
433
|
+
return this.nx_1.v1(key);
|
|
434
434
|
};
|
|
435
|
-
protoOf(JsonObject).
|
|
435
|
+
protoOf(JsonObject).v1 = function (key) {
|
|
436
436
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
437
437
|
return false;
|
|
438
|
-
return this.
|
|
438
|
+
return this.ox((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
439
439
|
};
|
|
440
|
-
protoOf(JsonObject).
|
|
441
|
-
return this.
|
|
440
|
+
protoOf(JsonObject).px = function (key) {
|
|
441
|
+
return this.nx_1.y1(key);
|
|
442
442
|
};
|
|
443
|
-
protoOf(JsonObject).
|
|
443
|
+
protoOf(JsonObject).y1 = function (key) {
|
|
444
444
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
445
445
|
return null;
|
|
446
|
-
return this.
|
|
446
|
+
return this.px((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
447
447
|
};
|
|
448
|
-
protoOf(JsonObject).
|
|
449
|
-
return this.
|
|
448
|
+
protoOf(JsonObject).g = function () {
|
|
449
|
+
return this.nx_1.g();
|
|
450
450
|
};
|
|
451
451
|
protoOf(JsonObject).equals = function (other) {
|
|
452
|
-
return equals(this.
|
|
452
|
+
return equals(this.nx_1, other);
|
|
453
453
|
};
|
|
454
454
|
protoOf(JsonObject).hashCode = function () {
|
|
455
|
-
return hashCode(this.
|
|
455
|
+
return hashCode(this.nx_1);
|
|
456
456
|
};
|
|
457
457
|
protoOf(JsonObject).toString = function () {
|
|
458
|
-
var tmp = this.
|
|
458
|
+
var tmp = this.nx_1.o();
|
|
459
459
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
460
460
|
};
|
|
461
461
|
function get_jsonObject(_this__u8e3s4) {
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
}
|
|
472
472
|
function get_boolean(_this__u8e3s4) {
|
|
473
473
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
474
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.
|
|
474
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.mx());
|
|
475
475
|
var tmp;
|
|
476
476
|
if (tmp0_elvis_lhs == null) {
|
|
477
477
|
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
@@ -492,63 +492,52 @@
|
|
|
492
492
|
function JsonArray(content) {
|
|
493
493
|
Companion_getInstance_8();
|
|
494
494
|
JsonElement.call(this);
|
|
495
|
-
this.
|
|
495
|
+
this.qx_1 = content;
|
|
496
496
|
}
|
|
497
497
|
protoOf(JsonArray).f = function () {
|
|
498
|
-
return this.
|
|
498
|
+
return this.qx_1.f();
|
|
499
499
|
};
|
|
500
|
-
protoOf(JsonArray).
|
|
501
|
-
return this.
|
|
500
|
+
protoOf(JsonArray).rx = function (element) {
|
|
501
|
+
return this.qx_1.b1(element);
|
|
502
502
|
};
|
|
503
|
-
protoOf(JsonArray).
|
|
503
|
+
protoOf(JsonArray).b1 = function (element) {
|
|
504
504
|
if (!(element instanceof JsonElement))
|
|
505
505
|
return false;
|
|
506
|
-
return this.
|
|
507
|
-
};
|
|
508
|
-
protoOf(JsonArray).zz = function (elements) {
|
|
509
|
-
return this.xz_1.m1(elements);
|
|
506
|
+
return this.rx(element instanceof JsonElement ? element : THROW_CCE());
|
|
510
507
|
};
|
|
511
|
-
protoOf(JsonArray).
|
|
512
|
-
return this.
|
|
508
|
+
protoOf(JsonArray).sx = function (elements) {
|
|
509
|
+
return this.qx_1.c1(elements);
|
|
513
510
|
};
|
|
514
|
-
protoOf(JsonArray).
|
|
515
|
-
return this.
|
|
511
|
+
protoOf(JsonArray).c1 = function (elements) {
|
|
512
|
+
return this.sx(elements);
|
|
516
513
|
};
|
|
517
|
-
protoOf(JsonArray).
|
|
518
|
-
return this.
|
|
514
|
+
protoOf(JsonArray).h = function (index) {
|
|
515
|
+
return this.qx_1.h(index);
|
|
519
516
|
};
|
|
520
|
-
protoOf(JsonArray).
|
|
521
|
-
|
|
522
|
-
return -1;
|
|
523
|
-
return this.a10(element instanceof JsonElement ? element : THROW_CCE());
|
|
524
|
-
};
|
|
525
|
-
protoOf(JsonArray).l = function () {
|
|
526
|
-
return this.xz_1.l();
|
|
517
|
+
protoOf(JsonArray).g = function () {
|
|
518
|
+
return this.qx_1.g();
|
|
527
519
|
};
|
|
528
520
|
protoOf(JsonArray).c = function () {
|
|
529
|
-
return this.
|
|
530
|
-
};
|
|
531
|
-
protoOf(JsonArray).m = function (index) {
|
|
532
|
-
return this.xz_1.m(index);
|
|
521
|
+
return this.qx_1.c();
|
|
533
522
|
};
|
|
534
|
-
protoOf(JsonArray).
|
|
535
|
-
return this.
|
|
523
|
+
protoOf(JsonArray).i = function (index) {
|
|
524
|
+
return this.qx_1.i(index);
|
|
536
525
|
};
|
|
537
526
|
protoOf(JsonArray).equals = function (other) {
|
|
538
|
-
return equals(this.
|
|
527
|
+
return equals(this.qx_1, other);
|
|
539
528
|
};
|
|
540
529
|
protoOf(JsonArray).hashCode = function () {
|
|
541
|
-
return hashCode(this.
|
|
530
|
+
return hashCode(this.qx_1);
|
|
542
531
|
};
|
|
543
532
|
protoOf(JsonArray).toString = function () {
|
|
544
|
-
return joinToString(this.
|
|
533
|
+
return joinToString(this.qx_1, ',', '[', ']');
|
|
545
534
|
};
|
|
546
535
|
function error(_this__u8e3s4, element) {
|
|
547
536
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
548
537
|
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
549
538
|
}
|
|
550
539
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
551
|
-
return $this.
|
|
540
|
+
return $this.ux_1.q();
|
|
552
541
|
}
|
|
553
542
|
function JsonNull$_anonymous__enib48() {
|
|
554
543
|
return JsonNullSerializer_getInstance();
|
|
@@ -556,19 +545,19 @@
|
|
|
556
545
|
function JsonNull() {
|
|
557
546
|
JsonNull_instance = this;
|
|
558
547
|
JsonPrimitive.call(this);
|
|
559
|
-
this.
|
|
548
|
+
this.tx_1 = 'null';
|
|
560
549
|
var tmp = this;
|
|
561
550
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
562
|
-
tmp.
|
|
551
|
+
tmp.ux_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
563
552
|
}
|
|
564
|
-
protoOf(JsonNull).
|
|
565
|
-
return this.
|
|
553
|
+
protoOf(JsonNull).mx = function () {
|
|
554
|
+
return this.tx_1;
|
|
566
555
|
};
|
|
567
|
-
protoOf(JsonNull).
|
|
556
|
+
protoOf(JsonNull).vx = function () {
|
|
568
557
|
return _get_$cachedSerializer__te6jhj(this);
|
|
569
558
|
};
|
|
570
|
-
protoOf(JsonNull).
|
|
571
|
-
return this.
|
|
559
|
+
protoOf(JsonNull).cp = function (typeParamsSerializers) {
|
|
560
|
+
return this.vx();
|
|
572
561
|
};
|
|
573
562
|
var JsonNull_instance;
|
|
574
563
|
function JsonNull_getInstance() {
|
|
@@ -579,37 +568,37 @@
|
|
|
579
568
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
580
569
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
581
570
|
JsonPrimitive.call(this);
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
585
|
-
if (!(this.
|
|
571
|
+
this.wx_1 = isString;
|
|
572
|
+
this.xx_1 = coerceToInlineType;
|
|
573
|
+
this.yx_1 = toString(body);
|
|
574
|
+
if (!(this.xx_1 == null)) {
|
|
586
575
|
// Inline function 'kotlin.require' call
|
|
587
576
|
// Inline function 'kotlin.contracts.contract' call
|
|
588
577
|
// Inline function 'kotlin.require' call
|
|
589
578
|
// Inline function 'kotlin.contracts.contract' call
|
|
590
|
-
if (!this.
|
|
579
|
+
if (!this.xx_1.zg()) {
|
|
591
580
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
592
581
|
var message = 'Failed requirement.';
|
|
593
582
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
594
583
|
}
|
|
595
584
|
}
|
|
596
585
|
}
|
|
597
|
-
protoOf(JsonLiteral).
|
|
598
|
-
return this.
|
|
586
|
+
protoOf(JsonLiteral).mx = function () {
|
|
587
|
+
return this.yx_1;
|
|
599
588
|
};
|
|
600
589
|
protoOf(JsonLiteral).toString = function () {
|
|
601
590
|
var tmp;
|
|
602
|
-
if (this.
|
|
591
|
+
if (this.wx_1) {
|
|
603
592
|
// Inline function 'kotlin.text.buildString' call
|
|
604
593
|
// Inline function 'kotlin.contracts.contract' call
|
|
605
594
|
// Inline function 'kotlin.apply' call
|
|
606
595
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
607
596
|
// Inline function 'kotlin.contracts.contract' call
|
|
608
597
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
609
|
-
printQuoted(tmp0_apply, this.
|
|
598
|
+
printQuoted(tmp0_apply, this.yx_1);
|
|
610
599
|
tmp = tmp0_apply.toString();
|
|
611
600
|
} else {
|
|
612
|
-
tmp = this.
|
|
601
|
+
tmp = this.yx_1;
|
|
613
602
|
}
|
|
614
603
|
return tmp;
|
|
615
604
|
};
|
|
@@ -620,20 +609,20 @@
|
|
|
620
609
|
return false;
|
|
621
610
|
if (!(other instanceof JsonLiteral))
|
|
622
611
|
THROW_CCE();
|
|
623
|
-
if (!(this.
|
|
612
|
+
if (!(this.wx_1 === other.wx_1))
|
|
624
613
|
return false;
|
|
625
|
-
if (!(this.
|
|
614
|
+
if (!(this.yx_1 === other.yx_1))
|
|
626
615
|
return false;
|
|
627
616
|
return true;
|
|
628
617
|
};
|
|
629
618
|
protoOf(JsonLiteral).hashCode = function () {
|
|
630
|
-
var result = this.
|
|
631
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
619
|
+
var result = this.wx_1 | 0;
|
|
620
|
+
result = imul(31, result) + getStringHashCode(this.yx_1) | 0;
|
|
632
621
|
return result;
|
|
633
622
|
};
|
|
634
623
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
635
624
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
636
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
625
|
+
return toBooleanStrictOrNull(_this__u8e3s4.mx());
|
|
637
626
|
}
|
|
638
627
|
function JsonPrimitive_0(value) {
|
|
639
628
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -643,23 +632,23 @@
|
|
|
643
632
|
}
|
|
644
633
|
function get_int(_this__u8e3s4) {
|
|
645
634
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
646
|
-
return toInt(_this__u8e3s4.
|
|
635
|
+
return toInt(_this__u8e3s4.mx());
|
|
647
636
|
}
|
|
648
637
|
function get_long(_this__u8e3s4) {
|
|
649
638
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
650
|
-
return toLong(_this__u8e3s4.
|
|
639
|
+
return toLong(_this__u8e3s4.mx());
|
|
651
640
|
}
|
|
652
641
|
function get_float(_this__u8e3s4) {
|
|
653
642
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
654
643
|
// Inline function 'kotlin.text.toFloat' call
|
|
655
|
-
var tmp0_toFloat = _this__u8e3s4.
|
|
644
|
+
var tmp0_toFloat = _this__u8e3s4.mx();
|
|
656
645
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
657
646
|
// Inline function 'kotlin.js.asDynamic' call
|
|
658
647
|
return toDouble(tmp0_toFloat);
|
|
659
648
|
}
|
|
660
649
|
function get_double(_this__u8e3s4) {
|
|
661
650
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
662
|
-
return toDouble(_this__u8e3s4.
|
|
651
|
+
return toDouble(_this__u8e3s4.mx());
|
|
663
652
|
}
|
|
664
653
|
function get_contentOrNull(_this__u8e3s4) {
|
|
665
654
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -667,7 +656,7 @@
|
|
|
667
656
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
668
657
|
tmp = null;
|
|
669
658
|
} else {
|
|
670
|
-
tmp = _this__u8e3s4.
|
|
659
|
+
tmp = _this__u8e3s4.mx();
|
|
671
660
|
}
|
|
672
661
|
return tmp;
|
|
673
662
|
}
|
|
@@ -690,40 +679,40 @@
|
|
|
690
679
|
}
|
|
691
680
|
}
|
|
692
681
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
693
|
-
$this$buildSerialDescriptor.
|
|
694
|
-
$this$buildSerialDescriptor.
|
|
695
|
-
$this$buildSerialDescriptor.
|
|
696
|
-
$this$buildSerialDescriptor.
|
|
697
|
-
$this$buildSerialDescriptor.
|
|
682
|
+
$this$buildSerialDescriptor.fg('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
683
|
+
$this$buildSerialDescriptor.fg('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
684
|
+
$this$buildSerialDescriptor.fg('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
685
|
+
$this$buildSerialDescriptor.fg('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
686
|
+
$this$buildSerialDescriptor.fg('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
698
687
|
return Unit_getInstance();
|
|
699
688
|
}
|
|
700
689
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
701
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
690
|
+
return JsonPrimitiveSerializer_getInstance().zx_1;
|
|
702
691
|
}
|
|
703
692
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
704
|
-
return JsonNullSerializer_getInstance().
|
|
693
|
+
return JsonNullSerializer_getInstance().ay_1;
|
|
705
694
|
}
|
|
706
695
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
707
|
-
return JsonLiteralSerializer_getInstance().
|
|
696
|
+
return JsonLiteralSerializer_getInstance().by_1;
|
|
708
697
|
}
|
|
709
698
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
710
|
-
return JsonObjectSerializer_getInstance().
|
|
699
|
+
return JsonObjectSerializer_getInstance().cy_1;
|
|
711
700
|
}
|
|
712
701
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
713
|
-
return JsonArraySerializer_getInstance().
|
|
702
|
+
return JsonArraySerializer_getInstance().dy_1;
|
|
714
703
|
}
|
|
715
704
|
function JsonElementSerializer() {
|
|
716
705
|
JsonElementSerializer_instance = this;
|
|
717
706
|
var tmp = this;
|
|
718
707
|
var tmp_0 = SEALED_getInstance();
|
|
719
|
-
tmp.
|
|
708
|
+
tmp.ey_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
720
709
|
}
|
|
721
|
-
protoOf(JsonElementSerializer).
|
|
722
|
-
return this.
|
|
710
|
+
protoOf(JsonElementSerializer).vf = function () {
|
|
711
|
+
return this.ey_1;
|
|
723
712
|
};
|
|
724
|
-
protoOf(JsonElementSerializer).
|
|
713
|
+
protoOf(JsonElementSerializer).wf = function (decoder) {
|
|
725
714
|
var input = asJsonDecoder(decoder);
|
|
726
|
-
return input.
|
|
715
|
+
return input.lx();
|
|
727
716
|
};
|
|
728
717
|
var JsonElementSerializer_instance;
|
|
729
718
|
function JsonElementSerializer_getInstance() {
|
|
@@ -733,13 +722,13 @@
|
|
|
733
722
|
}
|
|
734
723
|
function JsonPrimitiveSerializer() {
|
|
735
724
|
JsonPrimitiveSerializer_instance = this;
|
|
736
|
-
this.
|
|
725
|
+
this.zx_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
737
726
|
}
|
|
738
|
-
protoOf(JsonPrimitiveSerializer).
|
|
739
|
-
return this.
|
|
727
|
+
protoOf(JsonPrimitiveSerializer).vf = function () {
|
|
728
|
+
return this.zx_1;
|
|
740
729
|
};
|
|
741
|
-
protoOf(JsonPrimitiveSerializer).
|
|
742
|
-
var result = asJsonDecoder(decoder).
|
|
730
|
+
protoOf(JsonPrimitiveSerializer).wf = function (decoder) {
|
|
731
|
+
var result = asJsonDecoder(decoder).lx();
|
|
743
732
|
if (!(result instanceof JsonPrimitive))
|
|
744
733
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
745
734
|
return result;
|
|
@@ -752,41 +741,41 @@
|
|
|
752
741
|
}
|
|
753
742
|
function JsonObjectDescriptor() {
|
|
754
743
|
JsonObjectDescriptor_instance = this;
|
|
755
|
-
this.
|
|
756
|
-
this.
|
|
744
|
+
this.fy_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).vf();
|
|
745
|
+
this.gy_1 = 'kotlinx.serialization.json.JsonObject';
|
|
757
746
|
}
|
|
758
|
-
protoOf(JsonObjectDescriptor).
|
|
759
|
-
return this.
|
|
747
|
+
protoOf(JsonObjectDescriptor).xg = function () {
|
|
748
|
+
return this.fy_1.xg();
|
|
760
749
|
};
|
|
761
|
-
protoOf(JsonObjectDescriptor).
|
|
762
|
-
return this.
|
|
750
|
+
protoOf(JsonObjectDescriptor).yg = function () {
|
|
751
|
+
return this.fy_1.yg();
|
|
763
752
|
};
|
|
764
|
-
protoOf(JsonObjectDescriptor).
|
|
765
|
-
return this.
|
|
753
|
+
protoOf(JsonObjectDescriptor).zg = function () {
|
|
754
|
+
return this.fy_1.zg();
|
|
766
755
|
};
|
|
767
|
-
protoOf(JsonObjectDescriptor).
|
|
768
|
-
return this.
|
|
756
|
+
protoOf(JsonObjectDescriptor).sg = function () {
|
|
757
|
+
return this.fy_1.sg();
|
|
769
758
|
};
|
|
770
|
-
protoOf(JsonObjectDescriptor).
|
|
771
|
-
return this.
|
|
759
|
+
protoOf(JsonObjectDescriptor).ah = function () {
|
|
760
|
+
return this.fy_1.ah();
|
|
772
761
|
};
|
|
773
|
-
protoOf(JsonObjectDescriptor).
|
|
774
|
-
return this.
|
|
762
|
+
protoOf(JsonObjectDescriptor).bh = function (index) {
|
|
763
|
+
return this.fy_1.bh(index);
|
|
775
764
|
};
|
|
776
|
-
protoOf(JsonObjectDescriptor).
|
|
777
|
-
return this.
|
|
765
|
+
protoOf(JsonObjectDescriptor).ch = function (index) {
|
|
766
|
+
return this.fy_1.ch(index);
|
|
778
767
|
};
|
|
779
|
-
protoOf(JsonObjectDescriptor).
|
|
780
|
-
return this.
|
|
768
|
+
protoOf(JsonObjectDescriptor).dh = function (name) {
|
|
769
|
+
return this.fy_1.dh(name);
|
|
781
770
|
};
|
|
782
|
-
protoOf(JsonObjectDescriptor).
|
|
783
|
-
return this.
|
|
771
|
+
protoOf(JsonObjectDescriptor).eh = function (index) {
|
|
772
|
+
return this.fy_1.eh(index);
|
|
784
773
|
};
|
|
785
|
-
protoOf(JsonObjectDescriptor).
|
|
786
|
-
return this.
|
|
774
|
+
protoOf(JsonObjectDescriptor).fh = function (index) {
|
|
775
|
+
return this.fy_1.fh(index);
|
|
787
776
|
};
|
|
788
|
-
protoOf(JsonObjectDescriptor).
|
|
789
|
-
return this.
|
|
777
|
+
protoOf(JsonObjectDescriptor).wg = function () {
|
|
778
|
+
return this.gy_1;
|
|
790
779
|
};
|
|
791
780
|
var JsonObjectDescriptor_instance;
|
|
792
781
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -796,14 +785,14 @@
|
|
|
796
785
|
}
|
|
797
786
|
function JsonObjectSerializer() {
|
|
798
787
|
JsonObjectSerializer_instance = this;
|
|
799
|
-
this.
|
|
788
|
+
this.cy_1 = JsonObjectDescriptor_getInstance();
|
|
800
789
|
}
|
|
801
|
-
protoOf(JsonObjectSerializer).
|
|
802
|
-
return this.
|
|
790
|
+
protoOf(JsonObjectSerializer).vf = function () {
|
|
791
|
+
return this.cy_1;
|
|
803
792
|
};
|
|
804
|
-
protoOf(JsonObjectSerializer).
|
|
793
|
+
protoOf(JsonObjectSerializer).wf = function (decoder) {
|
|
805
794
|
verify(decoder);
|
|
806
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
795
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).wf(decoder));
|
|
807
796
|
};
|
|
808
797
|
var JsonObjectSerializer_instance;
|
|
809
798
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -813,41 +802,41 @@
|
|
|
813
802
|
}
|
|
814
803
|
function JsonArrayDescriptor() {
|
|
815
804
|
JsonArrayDescriptor_instance = this;
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
805
|
+
this.hy_1 = ListSerializer(JsonElementSerializer_getInstance()).vf();
|
|
806
|
+
this.iy_1 = 'kotlinx.serialization.json.JsonArray';
|
|
818
807
|
}
|
|
819
|
-
protoOf(JsonArrayDescriptor).
|
|
820
|
-
return this.
|
|
808
|
+
protoOf(JsonArrayDescriptor).xg = function () {
|
|
809
|
+
return this.hy_1.xg();
|
|
821
810
|
};
|
|
822
|
-
protoOf(JsonArrayDescriptor).
|
|
823
|
-
return this.
|
|
811
|
+
protoOf(JsonArrayDescriptor).yg = function () {
|
|
812
|
+
return this.hy_1.yg();
|
|
824
813
|
};
|
|
825
|
-
protoOf(JsonArrayDescriptor).
|
|
826
|
-
return this.
|
|
814
|
+
protoOf(JsonArrayDescriptor).zg = function () {
|
|
815
|
+
return this.hy_1.zg();
|
|
827
816
|
};
|
|
828
|
-
protoOf(JsonArrayDescriptor).
|
|
829
|
-
return this.
|
|
817
|
+
protoOf(JsonArrayDescriptor).sg = function () {
|
|
818
|
+
return this.hy_1.sg();
|
|
830
819
|
};
|
|
831
|
-
protoOf(JsonArrayDescriptor).
|
|
832
|
-
return this.
|
|
820
|
+
protoOf(JsonArrayDescriptor).ah = function () {
|
|
821
|
+
return this.hy_1.ah();
|
|
833
822
|
};
|
|
834
|
-
protoOf(JsonArrayDescriptor).
|
|
835
|
-
return this.
|
|
823
|
+
protoOf(JsonArrayDescriptor).bh = function (index) {
|
|
824
|
+
return this.hy_1.bh(index);
|
|
836
825
|
};
|
|
837
|
-
protoOf(JsonArrayDescriptor).
|
|
838
|
-
return this.
|
|
826
|
+
protoOf(JsonArrayDescriptor).ch = function (index) {
|
|
827
|
+
return this.hy_1.ch(index);
|
|
839
828
|
};
|
|
840
|
-
protoOf(JsonArrayDescriptor).
|
|
841
|
-
return this.
|
|
829
|
+
protoOf(JsonArrayDescriptor).dh = function (name) {
|
|
830
|
+
return this.hy_1.dh(name);
|
|
842
831
|
};
|
|
843
|
-
protoOf(JsonArrayDescriptor).
|
|
844
|
-
return this.
|
|
832
|
+
protoOf(JsonArrayDescriptor).eh = function (index) {
|
|
833
|
+
return this.hy_1.eh(index);
|
|
845
834
|
};
|
|
846
|
-
protoOf(JsonArrayDescriptor).
|
|
847
|
-
return this.
|
|
835
|
+
protoOf(JsonArrayDescriptor).fh = function (index) {
|
|
836
|
+
return this.hy_1.fh(index);
|
|
848
837
|
};
|
|
849
|
-
protoOf(JsonArrayDescriptor).
|
|
850
|
-
return this.
|
|
838
|
+
protoOf(JsonArrayDescriptor).wg = function () {
|
|
839
|
+
return this.iy_1;
|
|
851
840
|
};
|
|
852
841
|
var JsonArrayDescriptor_instance;
|
|
853
842
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -857,14 +846,14 @@
|
|
|
857
846
|
}
|
|
858
847
|
function JsonArraySerializer() {
|
|
859
848
|
JsonArraySerializer_instance = this;
|
|
860
|
-
this.
|
|
849
|
+
this.dy_1 = JsonArrayDescriptor_getInstance();
|
|
861
850
|
}
|
|
862
|
-
protoOf(JsonArraySerializer).
|
|
863
|
-
return this.
|
|
851
|
+
protoOf(JsonArraySerializer).vf = function () {
|
|
852
|
+
return this.dy_1;
|
|
864
853
|
};
|
|
865
|
-
protoOf(JsonArraySerializer).
|
|
854
|
+
protoOf(JsonArraySerializer).wf = function (decoder) {
|
|
866
855
|
verify(decoder);
|
|
867
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
856
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).wf(decoder));
|
|
868
857
|
};
|
|
869
858
|
var JsonArraySerializer_instance;
|
|
870
859
|
function JsonArraySerializer_getInstance() {
|
|
@@ -877,17 +866,17 @@
|
|
|
877
866
|
}
|
|
878
867
|
function JsonNullSerializer() {
|
|
879
868
|
JsonNullSerializer_instance = this;
|
|
880
|
-
this.
|
|
869
|
+
this.ay_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
881
870
|
}
|
|
882
|
-
protoOf(JsonNullSerializer).
|
|
883
|
-
return this.
|
|
871
|
+
protoOf(JsonNullSerializer).vf = function () {
|
|
872
|
+
return this.ay_1;
|
|
884
873
|
};
|
|
885
|
-
protoOf(JsonNullSerializer).
|
|
874
|
+
protoOf(JsonNullSerializer).wf = function (decoder) {
|
|
886
875
|
verify(decoder);
|
|
887
|
-
if (decoder.
|
|
876
|
+
if (decoder.ei()) {
|
|
888
877
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
889
878
|
}
|
|
890
|
-
decoder.
|
|
879
|
+
decoder.fi();
|
|
891
880
|
return JsonNull_getInstance();
|
|
892
881
|
};
|
|
893
882
|
var JsonNullSerializer_instance;
|
|
@@ -898,13 +887,13 @@
|
|
|
898
887
|
}
|
|
899
888
|
function JsonLiteralSerializer() {
|
|
900
889
|
JsonLiteralSerializer_instance = this;
|
|
901
|
-
this.
|
|
890
|
+
this.by_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
902
891
|
}
|
|
903
|
-
protoOf(JsonLiteralSerializer).
|
|
904
|
-
return this.
|
|
892
|
+
protoOf(JsonLiteralSerializer).vf = function () {
|
|
893
|
+
return this.by_1;
|
|
905
894
|
};
|
|
906
|
-
protoOf(JsonLiteralSerializer).
|
|
907
|
-
var result = asJsonDecoder(decoder).
|
|
895
|
+
protoOf(JsonLiteralSerializer).wf = function (decoder) {
|
|
896
|
+
var result = asJsonDecoder(decoder).lx();
|
|
908
897
|
if (!(result instanceof JsonLiteral))
|
|
909
898
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
910
899
|
return result;
|
|
@@ -931,34 +920,34 @@
|
|
|
931
920
|
function _get_original__l7ku1m($this) {
|
|
932
921
|
// Inline function 'kotlin.getValue' call
|
|
933
922
|
original$factory();
|
|
934
|
-
return $this.
|
|
923
|
+
return $this.jy_1.q();
|
|
935
924
|
}
|
|
936
925
|
function defer$1($deferred) {
|
|
937
|
-
this.
|
|
926
|
+
this.jy_1 = lazy_0($deferred);
|
|
938
927
|
}
|
|
939
|
-
protoOf(defer$1).
|
|
940
|
-
return _get_original__l7ku1m(this).
|
|
928
|
+
protoOf(defer$1).wg = function () {
|
|
929
|
+
return _get_original__l7ku1m(this).wg();
|
|
941
930
|
};
|
|
942
|
-
protoOf(defer$1).
|
|
943
|
-
return _get_original__l7ku1m(this).
|
|
931
|
+
protoOf(defer$1).ah = function () {
|
|
932
|
+
return _get_original__l7ku1m(this).ah();
|
|
944
933
|
};
|
|
945
|
-
protoOf(defer$1).
|
|
946
|
-
return _get_original__l7ku1m(this).
|
|
934
|
+
protoOf(defer$1).yg = function () {
|
|
935
|
+
return _get_original__l7ku1m(this).yg();
|
|
947
936
|
};
|
|
948
|
-
protoOf(defer$1).
|
|
949
|
-
return _get_original__l7ku1m(this).
|
|
937
|
+
protoOf(defer$1).eh = function (index) {
|
|
938
|
+
return _get_original__l7ku1m(this).eh(index);
|
|
950
939
|
};
|
|
951
|
-
protoOf(defer$1).
|
|
952
|
-
return _get_original__l7ku1m(this).
|
|
940
|
+
protoOf(defer$1).dh = function (name) {
|
|
941
|
+
return _get_original__l7ku1m(this).dh(name);
|
|
953
942
|
};
|
|
954
|
-
protoOf(defer$1).
|
|
955
|
-
return _get_original__l7ku1m(this).
|
|
943
|
+
protoOf(defer$1).bh = function (index) {
|
|
944
|
+
return _get_original__l7ku1m(this).bh(index);
|
|
956
945
|
};
|
|
957
|
-
protoOf(defer$1).
|
|
958
|
-
return _get_original__l7ku1m(this).
|
|
946
|
+
protoOf(defer$1).ch = function (index) {
|
|
947
|
+
return _get_original__l7ku1m(this).ch(index);
|
|
959
948
|
};
|
|
960
|
-
protoOf(defer$1).
|
|
961
|
-
return _get_original__l7ku1m(this).
|
|
949
|
+
protoOf(defer$1).fh = function (index) {
|
|
950
|
+
return _get_original__l7ku1m(this).fh(index);
|
|
962
951
|
};
|
|
963
952
|
function original$factory() {
|
|
964
953
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -966,8 +955,8 @@
|
|
|
966
955
|
}, null);
|
|
967
956
|
}
|
|
968
957
|
function readIfAbsent($this, descriptor, index) {
|
|
969
|
-
$this.
|
|
970
|
-
return $this.
|
|
958
|
+
$this.ly_1 = !descriptor.fh(index) ? descriptor.ch(index).sg() : false;
|
|
959
|
+
return $this.ly_1;
|
|
971
960
|
}
|
|
972
961
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
973
962
|
var l = function (p0, p1) {
|
|
@@ -978,14 +967,14 @@
|
|
|
978
967
|
}
|
|
979
968
|
function JsonElementMarker(descriptor) {
|
|
980
969
|
var tmp = this;
|
|
981
|
-
tmp.
|
|
982
|
-
this.
|
|
970
|
+
tmp.ky_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
971
|
+
this.ly_1 = false;
|
|
983
972
|
}
|
|
984
|
-
protoOf(JsonElementMarker).
|
|
985
|
-
this.
|
|
973
|
+
protoOf(JsonElementMarker).vm = function (index) {
|
|
974
|
+
this.ky_1.vm(index);
|
|
986
975
|
};
|
|
987
|
-
protoOf(JsonElementMarker).
|
|
988
|
-
return this.
|
|
976
|
+
protoOf(JsonElementMarker).wm = function () {
|
|
977
|
+
return this.ky_1.wm();
|
|
989
978
|
};
|
|
990
979
|
function JsonDecodingException(message) {
|
|
991
980
|
JsonException.call(this, message);
|
|
@@ -995,14 +984,14 @@
|
|
|
995
984
|
return JsonDecodingException_1(offset, message + '\nJSON input: ' + minify(input, offset));
|
|
996
985
|
}
|
|
997
986
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
998
|
-
_this__u8e3s4.
|
|
987
|
+
_this__u8e3s4.my('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
999
988
|
}
|
|
1000
989
|
function JsonEncodingException(message) {
|
|
1001
990
|
JsonException.call(this, message);
|
|
1002
991
|
captureStack(this, JsonEncodingException);
|
|
1003
992
|
}
|
|
1004
993
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1005
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
994
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.wg() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.ah() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1006
995
|
}
|
|
1007
996
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1008
997
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1052,11 +1041,11 @@
|
|
|
1052
1041
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1053
1042
|
if (!(strategy == null))
|
|
1054
1043
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1055
|
-
var index = _this__u8e3s4.
|
|
1044
|
+
var index = _this__u8e3s4.dh(name);
|
|
1056
1045
|
Companion_getInstance();
|
|
1057
1046
|
if (!(index === -3))
|
|
1058
1047
|
return index;
|
|
1059
|
-
if (!json.
|
|
1048
|
+
if (!json.rv_1.ix_1)
|
|
1060
1049
|
return index;
|
|
1061
1050
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1062
1051
|
}
|
|
@@ -1066,18 +1055,18 @@
|
|
|
1066
1055
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1067
1056
|
Companion_getInstance();
|
|
1068
1057
|
if (index === -3)
|
|
1069
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1058
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.wg() + " does not contain element with name '" + name + "'" + suffix);
|
|
1070
1059
|
return index;
|
|
1071
1060
|
}
|
|
1072
1061
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1073
1062
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1074
|
-
return equals(_this__u8e3s4.
|
|
1063
|
+
return equals(_this__u8e3s4.ah(), CLASS_getInstance()) ? json.rv_1.jx_1 : null;
|
|
1075
1064
|
}
|
|
1076
1065
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1077
1066
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1078
1067
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1079
1068
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1080
|
-
return tmp.
|
|
1069
|
+
return tmp.oy(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1081
1070
|
}
|
|
1082
1071
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1083
1072
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1085,13 +1074,13 @@
|
|
|
1085
1074
|
var builder = LinkedHashMap_init_$Create$();
|
|
1086
1075
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1087
1076
|
var inductionVariable = 0;
|
|
1088
|
-
var last = _this__u8e3s4.
|
|
1077
|
+
var last = _this__u8e3s4.yg();
|
|
1089
1078
|
if (inductionVariable < last)
|
|
1090
1079
|
do {
|
|
1091
1080
|
var i = inductionVariable;
|
|
1092
1081
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1093
1082
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1094
|
-
var tmp0_filterIsInstance = _this__u8e3s4.
|
|
1083
|
+
var tmp0_filterIsInstance = _this__u8e3s4.bh(i);
|
|
1095
1084
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1096
1085
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
1097
1086
|
var tmp0_iterator = tmp0_filterIsInstance.c();
|
|
@@ -1102,7 +1091,7 @@
|
|
|
1102
1091
|
}
|
|
1103
1092
|
}
|
|
1104
1093
|
var tmp1_safe_receiver = singleOrNull(tmp0_filterIsInstanceTo);
|
|
1105
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1094
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.py_1;
|
|
1106
1095
|
if (tmp2_safe_receiver == null)
|
|
1107
1096
|
null;
|
|
1108
1097
|
else {
|
|
@@ -1119,13 +1108,13 @@
|
|
|
1119
1108
|
else {
|
|
1120
1109
|
// Inline function 'kotlin.let' call
|
|
1121
1110
|
// Inline function 'kotlin.contracts.contract' call
|
|
1122
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.
|
|
1111
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.qy(_this__u8e3s4, i, _this__u8e3s4.eh(i)), i);
|
|
1123
1112
|
}
|
|
1124
1113
|
}
|
|
1125
1114
|
while (inductionVariable < last);
|
|
1126
1115
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
1127
1116
|
var tmp;
|
|
1128
|
-
if (builder.
|
|
1117
|
+
if (builder.g()) {
|
|
1129
1118
|
// Inline function 'kotlinx.serialization.json.internal.buildDeserializationNamesMap.<anonymous>' call
|
|
1130
1119
|
tmp = emptyMap();
|
|
1131
1120
|
} else {
|
|
@@ -1134,7 +1123,7 @@
|
|
|
1134
1123
|
return tmp;
|
|
1135
1124
|
}
|
|
1136
1125
|
function getJsonNameIndex$getJsonNameIndexSlowPath($json, $this_getJsonNameIndex, $name) {
|
|
1137
|
-
var tmp0_elvis_lhs = deserializationNamesMap($json, $this_getJsonNameIndex).
|
|
1126
|
+
var tmp0_elvis_lhs = deserializationNamesMap($json, $this_getJsonNameIndex).y1($name);
|
|
1138
1127
|
var tmp;
|
|
1139
1128
|
if (tmp0_elvis_lhs == null) {
|
|
1140
1129
|
Companion_getInstance();
|
|
@@ -1147,11 +1136,11 @@
|
|
|
1147
1136
|
function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) {
|
|
1148
1137
|
// Inline function 'kotlin.collections.contains' call
|
|
1149
1138
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1150
|
-
if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).
|
|
1151
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1139
|
+
if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).v1(name)) {
|
|
1140
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.eh(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.eh(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1152
1141
|
}
|
|
1153
1142
|
// Inline function 'kotlin.collections.set' call
|
|
1154
|
-
_this__u8e3s4.
|
|
1143
|
+
_this__u8e3s4.w2(name, index);
|
|
1155
1144
|
}
|
|
1156
1145
|
function deserializationNamesMap$lambda($descriptor, $this_deserializationNamesMap) {
|
|
1157
1146
|
return function () {
|
|
@@ -1176,14 +1165,14 @@
|
|
|
1176
1165
|
return Tombstone_instance;
|
|
1177
1166
|
}
|
|
1178
1167
|
function resize($this) {
|
|
1179
|
-
var newSize = imul($this.
|
|
1180
|
-
$this.
|
|
1181
|
-
$this.
|
|
1168
|
+
var newSize = imul($this.ty_1, 2);
|
|
1169
|
+
$this.ry_1 = copyOf($this.ry_1, newSize);
|
|
1170
|
+
$this.sy_1 = copyOf_0($this.sy_1, newSize);
|
|
1182
1171
|
}
|
|
1183
1172
|
function JsonPath() {
|
|
1184
1173
|
var tmp = this;
|
|
1185
1174
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1186
|
-
tmp.
|
|
1175
|
+
tmp.ry_1 = fillArrayVal(Array(8), null);
|
|
1187
1176
|
var tmp_0 = this;
|
|
1188
1177
|
var tmp_1 = 0;
|
|
1189
1178
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1191,59 +1180,59 @@
|
|
|
1191
1180
|
tmp_2[tmp_1] = -1;
|
|
1192
1181
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1193
1182
|
}
|
|
1194
|
-
tmp_0.
|
|
1195
|
-
this.
|
|
1183
|
+
tmp_0.sy_1 = tmp_2;
|
|
1184
|
+
this.ty_1 = -1;
|
|
1196
1185
|
}
|
|
1197
|
-
protoOf(JsonPath).
|
|
1198
|
-
this.
|
|
1199
|
-
var depth = this.
|
|
1200
|
-
if (depth === this.
|
|
1186
|
+
protoOf(JsonPath).uy = function (sd) {
|
|
1187
|
+
this.ty_1 = this.ty_1 + 1 | 0;
|
|
1188
|
+
var depth = this.ty_1;
|
|
1189
|
+
if (depth === this.ry_1.length) {
|
|
1201
1190
|
resize(this);
|
|
1202
1191
|
}
|
|
1203
|
-
this.
|
|
1192
|
+
this.ry_1[depth] = sd;
|
|
1204
1193
|
};
|
|
1205
|
-
protoOf(JsonPath).
|
|
1206
|
-
this.
|
|
1194
|
+
protoOf(JsonPath).vy = function (index) {
|
|
1195
|
+
this.sy_1[this.ty_1] = index;
|
|
1207
1196
|
};
|
|
1208
|
-
protoOf(JsonPath).
|
|
1197
|
+
protoOf(JsonPath).wy = function (key) {
|
|
1209
1198
|
var tmp;
|
|
1210
|
-
if (!(this.
|
|
1211
|
-
this.
|
|
1212
|
-
tmp = this.
|
|
1199
|
+
if (!(this.sy_1[this.ty_1] === -2)) {
|
|
1200
|
+
this.ty_1 = this.ty_1 + 1 | 0;
|
|
1201
|
+
tmp = this.ty_1 === this.ry_1.length;
|
|
1213
1202
|
} else {
|
|
1214
1203
|
tmp = false;
|
|
1215
1204
|
}
|
|
1216
1205
|
if (tmp) {
|
|
1217
1206
|
resize(this);
|
|
1218
1207
|
}
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1208
|
+
this.ry_1[this.ty_1] = key;
|
|
1209
|
+
this.sy_1[this.ty_1] = -2;
|
|
1221
1210
|
};
|
|
1222
|
-
protoOf(JsonPath).
|
|
1223
|
-
if (this.
|
|
1224
|
-
this.
|
|
1211
|
+
protoOf(JsonPath).xy = function () {
|
|
1212
|
+
if (this.sy_1[this.ty_1] === -2) {
|
|
1213
|
+
this.ry_1[this.ty_1] = Tombstone_getInstance();
|
|
1225
1214
|
}
|
|
1226
1215
|
};
|
|
1227
|
-
protoOf(JsonPath).
|
|
1228
|
-
var depth = this.
|
|
1229
|
-
if (this.
|
|
1230
|
-
this.
|
|
1231
|
-
this.
|
|
1216
|
+
protoOf(JsonPath).yy = function () {
|
|
1217
|
+
var depth = this.ty_1;
|
|
1218
|
+
if (this.sy_1[depth] === -2) {
|
|
1219
|
+
this.sy_1[depth] = -1;
|
|
1220
|
+
this.ty_1 = this.ty_1 - 1 | 0;
|
|
1232
1221
|
}
|
|
1233
|
-
if (!(this.
|
|
1234
|
-
this.
|
|
1222
|
+
if (!(this.ty_1 === -1)) {
|
|
1223
|
+
this.ty_1 = this.ty_1 - 1 | 0;
|
|
1235
1224
|
}
|
|
1236
1225
|
};
|
|
1237
|
-
protoOf(JsonPath).
|
|
1226
|
+
protoOf(JsonPath).zy = function () {
|
|
1238
1227
|
// Inline function 'kotlin.text.buildString' call
|
|
1239
1228
|
// Inline function 'kotlin.contracts.contract' call
|
|
1240
1229
|
// Inline function 'kotlin.apply' call
|
|
1241
1230
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1242
1231
|
// Inline function 'kotlin.contracts.contract' call
|
|
1243
1232
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1244
|
-
tmp0_apply.
|
|
1233
|
+
tmp0_apply.u5('$');
|
|
1245
1234
|
// Inline function 'kotlin.repeat' call
|
|
1246
|
-
var tmp0_repeat = this.
|
|
1235
|
+
var tmp0_repeat = this.ty_1 + 1 | 0;
|
|
1247
1236
|
// Inline function 'kotlin.contracts.contract' call
|
|
1248
1237
|
var inductionVariable = 0;
|
|
1249
1238
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1251,28 +1240,28 @@
|
|
|
1251
1240
|
var index = inductionVariable;
|
|
1252
1241
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1253
1242
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1254
|
-
var element = this.
|
|
1243
|
+
var element = this.ry_1[index];
|
|
1255
1244
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1256
|
-
if (equals(element.
|
|
1257
|
-
if (!(this.
|
|
1258
|
-
tmp0_apply.
|
|
1259
|
-
tmp0_apply.
|
|
1260
|
-
tmp0_apply.
|
|
1245
|
+
if (equals(element.ah(), LIST_getInstance())) {
|
|
1246
|
+
if (!(this.sy_1[index] === -1)) {
|
|
1247
|
+
tmp0_apply.u5('[');
|
|
1248
|
+
tmp0_apply.t5(this.sy_1[index]);
|
|
1249
|
+
tmp0_apply.u5(']');
|
|
1261
1250
|
}
|
|
1262
1251
|
} else {
|
|
1263
|
-
var idx = this.
|
|
1252
|
+
var idx = this.sy_1[index];
|
|
1264
1253
|
if (idx >= 0) {
|
|
1265
|
-
tmp0_apply.
|
|
1266
|
-
tmp0_apply.
|
|
1254
|
+
tmp0_apply.u5('.');
|
|
1255
|
+
tmp0_apply.u5(element.eh(idx));
|
|
1267
1256
|
}
|
|
1268
1257
|
}
|
|
1269
1258
|
} else {
|
|
1270
1259
|
if (!(element === Tombstone_getInstance())) {
|
|
1271
|
-
tmp0_apply.
|
|
1272
|
-
tmp0_apply.
|
|
1273
|
-
tmp0_apply.
|
|
1274
|
-
tmp0_apply.
|
|
1275
|
-
tmp0_apply.
|
|
1260
|
+
tmp0_apply.u5('[');
|
|
1261
|
+
tmp0_apply.u5("'");
|
|
1262
|
+
tmp0_apply.t5(element);
|
|
1263
|
+
tmp0_apply.u5("'");
|
|
1264
|
+
tmp0_apply.u5(']');
|
|
1276
1265
|
}
|
|
1277
1266
|
}
|
|
1278
1267
|
}
|
|
@@ -1280,82 +1269,82 @@
|
|
|
1280
1269
|
return tmp0_apply.toString();
|
|
1281
1270
|
};
|
|
1282
1271
|
protoOf(JsonPath).toString = function () {
|
|
1283
|
-
return this.
|
|
1272
|
+
return this.zy();
|
|
1284
1273
|
};
|
|
1285
1274
|
function readObject($this) {
|
|
1286
1275
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1287
|
-
var lastToken = $this.
|
|
1288
|
-
if ($this.
|
|
1289
|
-
$this.
|
|
1276
|
+
var lastToken = $this.az_1.dz(get_TC_BEGIN_OBJ());
|
|
1277
|
+
if ($this.az_1.ez() === get_TC_COMMA()) {
|
|
1278
|
+
$this.az_1.my('Unexpected leading comma');
|
|
1290
1279
|
}
|
|
1291
1280
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1292
1281
|
var result = LinkedHashMap_init_$Create$();
|
|
1293
|
-
$l$loop: while ($this.
|
|
1294
|
-
var key = $this.
|
|
1295
|
-
$this.
|
|
1282
|
+
$l$loop: while ($this.az_1.fz()) {
|
|
1283
|
+
var key = $this.bz_1 ? $this.az_1.hz() : $this.az_1.gz();
|
|
1284
|
+
$this.az_1.dz(get_TC_COLON());
|
|
1296
1285
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1297
|
-
var element = $this.
|
|
1286
|
+
var element = $this.iz();
|
|
1298
1287
|
// Inline function 'kotlin.collections.set' call
|
|
1299
|
-
result.
|
|
1300
|
-
lastToken = $this.
|
|
1288
|
+
result.w2(key, element);
|
|
1289
|
+
lastToken = $this.az_1.jz();
|
|
1301
1290
|
var tmp0_subject = lastToken;
|
|
1302
1291
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1303
1292
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1304
1293
|
break $l$loop;
|
|
1305
1294
|
else {
|
|
1306
|
-
$this.
|
|
1295
|
+
$this.az_1.my('Expected end of the object or comma');
|
|
1307
1296
|
}
|
|
1308
1297
|
}
|
|
1309
1298
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1310
|
-
$this.
|
|
1299
|
+
$this.az_1.dz(get_TC_END_OBJ());
|
|
1311
1300
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1312
|
-
$this.
|
|
1301
|
+
$this.az_1.my('Unexpected trailing comma');
|
|
1313
1302
|
}
|
|
1314
1303
|
return new JsonObject(result);
|
|
1315
1304
|
}
|
|
1316
1305
|
function readObject_0(_this__u8e3s4, $this, $completion) {
|
|
1317
1306
|
var tmp = new $readObjectCOROUTINE$0($this, _this__u8e3s4, $completion);
|
|
1318
|
-
tmp.
|
|
1319
|
-
tmp.
|
|
1320
|
-
return tmp.
|
|
1307
|
+
tmp.of_1 = Unit_getInstance();
|
|
1308
|
+
tmp.pf_1 = null;
|
|
1309
|
+
return tmp.uf();
|
|
1321
1310
|
}
|
|
1322
1311
|
function readArray($this) {
|
|
1323
|
-
var lastToken = $this.
|
|
1324
|
-
if ($this.
|
|
1325
|
-
$this.
|
|
1312
|
+
var lastToken = $this.az_1.jz();
|
|
1313
|
+
if ($this.az_1.ez() === get_TC_COMMA()) {
|
|
1314
|
+
$this.az_1.my('Unexpected leading comma');
|
|
1326
1315
|
}
|
|
1327
1316
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1328
1317
|
var result = ArrayList_init_$Create$();
|
|
1329
|
-
while ($this.
|
|
1330
|
-
var element = $this.
|
|
1318
|
+
while ($this.az_1.fz()) {
|
|
1319
|
+
var element = $this.iz();
|
|
1331
1320
|
result.a(element);
|
|
1332
|
-
lastToken = $this.
|
|
1321
|
+
lastToken = $this.az_1.jz();
|
|
1333
1322
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1334
1323
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1335
|
-
var tmp0_require = $this.
|
|
1324
|
+
var tmp0_require = $this.az_1;
|
|
1336
1325
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1337
|
-
var tmp2_require = tmp0_require.
|
|
1326
|
+
var tmp2_require = tmp0_require.ew_1;
|
|
1338
1327
|
if (!tmp1_require) {
|
|
1339
1328
|
var tmp$ret$1;
|
|
1340
1329
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1341
1330
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1342
|
-
tmp0_require.
|
|
1331
|
+
tmp0_require.my(tmp$ret$1, tmp2_require);
|
|
1343
1332
|
}
|
|
1344
1333
|
}
|
|
1345
1334
|
}
|
|
1346
1335
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1347
|
-
$this.
|
|
1336
|
+
$this.az_1.dz(get_TC_END_LIST());
|
|
1348
1337
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1349
|
-
$this.
|
|
1338
|
+
$this.az_1.my('Unexpected trailing comma');
|
|
1350
1339
|
}
|
|
1351
1340
|
return new JsonArray(result);
|
|
1352
1341
|
}
|
|
1353
1342
|
function readValue($this, isString) {
|
|
1354
1343
|
var tmp;
|
|
1355
|
-
if ($this.
|
|
1356
|
-
tmp = $this.
|
|
1344
|
+
if ($this.bz_1 ? true : !isString) {
|
|
1345
|
+
tmp = $this.az_1.hz();
|
|
1357
1346
|
} else {
|
|
1358
|
-
tmp = $this.
|
|
1347
|
+
tmp = $this.az_1.gz();
|
|
1359
1348
|
}
|
|
1360
1349
|
var string = tmp;
|
|
1361
1350
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1366,53 +1355,53 @@
|
|
|
1366
1355
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1367
1356
|
}
|
|
1368
1357
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1369
|
-
this.
|
|
1358
|
+
this.f10_1 = this$0;
|
|
1370
1359
|
CoroutineImpl.call(this, resultContinuation);
|
|
1371
1360
|
}
|
|
1372
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1373
|
-
var tmp = this.
|
|
1374
|
-
tmp.
|
|
1375
|
-
tmp.
|
|
1376
|
-
return tmp.
|
|
1361
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).k10 = function ($this$$receiver, it, $completion) {
|
|
1362
|
+
var tmp = this.l10($this$$receiver, it, $completion);
|
|
1363
|
+
tmp.of_1 = Unit_getInstance();
|
|
1364
|
+
tmp.pf_1 = null;
|
|
1365
|
+
return tmp.uf();
|
|
1377
1366
|
};
|
|
1378
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1367
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).i6 = function (p1, p2, $completion) {
|
|
1379
1368
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1380
|
-
return this.
|
|
1369
|
+
return this.k10(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1381
1370
|
};
|
|
1382
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1383
|
-
var suspendResult = this.
|
|
1371
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).uf = function () {
|
|
1372
|
+
var suspendResult = this.of_1;
|
|
1384
1373
|
$sm: do
|
|
1385
1374
|
try {
|
|
1386
|
-
var tmp = this.
|
|
1375
|
+
var tmp = this.mf_1;
|
|
1387
1376
|
switch (tmp) {
|
|
1388
1377
|
case 0:
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1391
|
-
if (this.
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1378
|
+
this.nf_1 = 3;
|
|
1379
|
+
this.i10_1 = this.f10_1.az_1.ez();
|
|
1380
|
+
if (this.i10_1 === get_TC_STRING()) {
|
|
1381
|
+
this.j10_1 = readValue(this.f10_1, true);
|
|
1382
|
+
this.mf_1 = 2;
|
|
1394
1383
|
continue $sm;
|
|
1395
1384
|
} else {
|
|
1396
|
-
if (this.
|
|
1397
|
-
this.
|
|
1398
|
-
this.
|
|
1385
|
+
if (this.i10_1 === get_TC_OTHER()) {
|
|
1386
|
+
this.j10_1 = readValue(this.f10_1, false);
|
|
1387
|
+
this.mf_1 = 2;
|
|
1399
1388
|
continue $sm;
|
|
1400
1389
|
} else {
|
|
1401
|
-
if (this.
|
|
1402
|
-
this.
|
|
1403
|
-
suspendResult = readObject_0(this.
|
|
1390
|
+
if (this.i10_1 === get_TC_BEGIN_OBJ()) {
|
|
1391
|
+
this.mf_1 = 1;
|
|
1392
|
+
suspendResult = readObject_0(this.g10_1, this.f10_1, this);
|
|
1404
1393
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1405
1394
|
return suspendResult;
|
|
1406
1395
|
}
|
|
1407
1396
|
continue $sm;
|
|
1408
1397
|
} else {
|
|
1409
|
-
if (this.
|
|
1410
|
-
this.
|
|
1411
|
-
this.
|
|
1398
|
+
if (this.i10_1 === get_TC_BEGIN_LIST()) {
|
|
1399
|
+
this.j10_1 = readArray(this.f10_1);
|
|
1400
|
+
this.mf_1 = 2;
|
|
1412
1401
|
continue $sm;
|
|
1413
1402
|
} else {
|
|
1414
1403
|
var tmp_0 = this;
|
|
1415
|
-
this.
|
|
1404
|
+
this.f10_1.az_1.my("Can't begin reading element, unexpected token");
|
|
1416
1405
|
}
|
|
1417
1406
|
}
|
|
1418
1407
|
}
|
|
@@ -1420,71 +1409,71 @@
|
|
|
1420
1409
|
|
|
1421
1410
|
break;
|
|
1422
1411
|
case 1:
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1412
|
+
this.j10_1 = suspendResult;
|
|
1413
|
+
this.mf_1 = 2;
|
|
1425
1414
|
continue $sm;
|
|
1426
1415
|
case 2:
|
|
1427
|
-
return this.
|
|
1416
|
+
return this.j10_1;
|
|
1428
1417
|
case 3:
|
|
1429
|
-
throw this.
|
|
1418
|
+
throw this.pf_1;
|
|
1430
1419
|
}
|
|
1431
1420
|
} catch ($p) {
|
|
1432
1421
|
var e = $p;
|
|
1433
|
-
if (this.
|
|
1422
|
+
if (this.nf_1 === 3) {
|
|
1434
1423
|
throw e;
|
|
1435
1424
|
} else {
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1425
|
+
this.mf_1 = this.nf_1;
|
|
1426
|
+
this.pf_1 = e;
|
|
1438
1427
|
}
|
|
1439
1428
|
}
|
|
1440
1429
|
while (true);
|
|
1441
1430
|
};
|
|
1442
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1443
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1444
|
-
i.
|
|
1445
|
-
i.
|
|
1431
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l10 = function ($this$$receiver, it, completion) {
|
|
1432
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.f10_1, completion);
|
|
1433
|
+
i.g10_1 = $this$$receiver;
|
|
1434
|
+
i.h10_1 = it;
|
|
1446
1435
|
return i;
|
|
1447
1436
|
};
|
|
1448
1437
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1449
1438
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1450
1439
|
var l = function ($this$$receiver, it, $completion) {
|
|
1451
|
-
return i.
|
|
1440
|
+
return i.k10($this$$receiver, it, $completion);
|
|
1452
1441
|
};
|
|
1453
1442
|
l.$arity = 2;
|
|
1454
1443
|
return l;
|
|
1455
1444
|
}
|
|
1456
1445
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1457
1446
|
CoroutineImpl.call(this, resultContinuation);
|
|
1458
|
-
this.
|
|
1459
|
-
this.
|
|
1447
|
+
this.sz_1 = _this__u8e3s4;
|
|
1448
|
+
this.tz_1 = _this__u8e3s4_0;
|
|
1460
1449
|
}
|
|
1461
|
-
protoOf($readObjectCOROUTINE$0).
|
|
1462
|
-
var suspendResult = this.
|
|
1450
|
+
protoOf($readObjectCOROUTINE$0).uf = function () {
|
|
1451
|
+
var suspendResult = this.of_1;
|
|
1463
1452
|
$sm: do
|
|
1464
1453
|
try {
|
|
1465
|
-
var tmp = this.
|
|
1454
|
+
var tmp = this.mf_1;
|
|
1466
1455
|
switch (tmp) {
|
|
1467
1456
|
case 0:
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
if (this.
|
|
1471
|
-
this.
|
|
1457
|
+
this.nf_1 = 5;
|
|
1458
|
+
this.uz_1 = this.sz_1.az_1.dz(get_TC_BEGIN_OBJ());
|
|
1459
|
+
if (this.sz_1.az_1.ez() === get_TC_COMMA()) {
|
|
1460
|
+
this.sz_1.az_1.my('Unexpected leading comma');
|
|
1472
1461
|
}
|
|
1473
1462
|
|
|
1474
1463
|
var tmp_0 = this;
|
|
1475
|
-
tmp_0.
|
|
1476
|
-
this.
|
|
1464
|
+
tmp_0.vz_1 = LinkedHashMap_init_$Create$();
|
|
1465
|
+
this.mf_1 = 1;
|
|
1477
1466
|
continue $sm;
|
|
1478
1467
|
case 1:
|
|
1479
|
-
if (!this.
|
|
1480
|
-
this.
|
|
1468
|
+
if (!this.sz_1.az_1.fz()) {
|
|
1469
|
+
this.mf_1 = 4;
|
|
1481
1470
|
continue $sm;
|
|
1482
1471
|
}
|
|
1483
1472
|
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
suspendResult = this.
|
|
1473
|
+
this.wz_1 = this.sz_1.bz_1 ? this.sz_1.az_1.hz() : this.sz_1.az_1.gz();
|
|
1474
|
+
this.sz_1.az_1.dz(get_TC_COLON());
|
|
1475
|
+
this.mf_1 = 2;
|
|
1476
|
+
suspendResult = this.tz_1.a6(Unit_getInstance(), this);
|
|
1488
1477
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1489
1478
|
return suspendResult;
|
|
1490
1479
|
}
|
|
@@ -1492,54 +1481,54 @@
|
|
|
1492
1481
|
continue $sm;
|
|
1493
1482
|
case 2:
|
|
1494
1483
|
var element = suspendResult;
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
var tmp0_subject = this.
|
|
1484
|
+
this.vz_1.w2(this.wz_1, element);
|
|
1485
|
+
this.uz_1 = this.sz_1.az_1.jz();
|
|
1486
|
+
var tmp0_subject = this.uz_1;
|
|
1498
1487
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1499
|
-
this.
|
|
1488
|
+
this.mf_1 = 3;
|
|
1500
1489
|
continue $sm;
|
|
1501
1490
|
} else {
|
|
1502
1491
|
if (tmp0_subject === get_TC_END_OBJ()) {
|
|
1503
|
-
this.
|
|
1492
|
+
this.mf_1 = 4;
|
|
1504
1493
|
continue $sm;
|
|
1505
1494
|
} else {
|
|
1506
|
-
this.
|
|
1495
|
+
this.sz_1.az_1.my('Expected end of the object or comma');
|
|
1507
1496
|
}
|
|
1508
1497
|
}
|
|
1509
1498
|
|
|
1510
1499
|
break;
|
|
1511
1500
|
case 3:
|
|
1512
|
-
this.
|
|
1501
|
+
this.mf_1 = 1;
|
|
1513
1502
|
continue $sm;
|
|
1514
1503
|
case 4:
|
|
1515
|
-
if (this.
|
|
1516
|
-
this.
|
|
1517
|
-
} else if (this.
|
|
1518
|
-
this.
|
|
1504
|
+
if (this.uz_1 === get_TC_BEGIN_OBJ()) {
|
|
1505
|
+
this.sz_1.az_1.dz(get_TC_END_OBJ());
|
|
1506
|
+
} else if (this.uz_1 === get_TC_COMMA()) {
|
|
1507
|
+
this.sz_1.az_1.my('Unexpected trailing comma');
|
|
1519
1508
|
}
|
|
1520
1509
|
|
|
1521
|
-
return new JsonObject(this.
|
|
1510
|
+
return new JsonObject(this.vz_1);
|
|
1522
1511
|
case 5:
|
|
1523
|
-
throw this.
|
|
1512
|
+
throw this.pf_1;
|
|
1524
1513
|
}
|
|
1525
1514
|
} catch ($p) {
|
|
1526
1515
|
var e = $p;
|
|
1527
|
-
if (this.
|
|
1516
|
+
if (this.nf_1 === 5) {
|
|
1528
1517
|
throw e;
|
|
1529
1518
|
} else {
|
|
1530
|
-
this.
|
|
1531
|
-
this.
|
|
1519
|
+
this.mf_1 = this.nf_1;
|
|
1520
|
+
this.pf_1 = e;
|
|
1532
1521
|
}
|
|
1533
1522
|
}
|
|
1534
1523
|
while (true);
|
|
1535
1524
|
};
|
|
1536
1525
|
function JsonTreeReader(configuration, lexer) {
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1539
|
-
this.
|
|
1526
|
+
this.az_1 = lexer;
|
|
1527
|
+
this.bz_1 = configuration.zw_1;
|
|
1528
|
+
this.cz_1 = 0;
|
|
1540
1529
|
}
|
|
1541
|
-
protoOf(JsonTreeReader).
|
|
1542
|
-
var token = this.
|
|
1530
|
+
protoOf(JsonTreeReader).iz = function () {
|
|
1531
|
+
var token = this.az_1.ez();
|
|
1543
1532
|
var tmp;
|
|
1544
1533
|
if (token === get_TC_STRING()) {
|
|
1545
1534
|
tmp = readValue(this, true);
|
|
@@ -1547,53 +1536,53 @@
|
|
|
1547
1536
|
tmp = readValue(this, false);
|
|
1548
1537
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1549
1538
|
var tmp_0;
|
|
1550
|
-
this.
|
|
1551
|
-
if (this.
|
|
1539
|
+
this.cz_1 = this.cz_1 + 1 | 0;
|
|
1540
|
+
if (this.cz_1 === 200) {
|
|
1552
1541
|
tmp_0 = readDeepRecursive(this);
|
|
1553
1542
|
} else {
|
|
1554
1543
|
tmp_0 = readObject(this);
|
|
1555
1544
|
}
|
|
1556
1545
|
var result = tmp_0;
|
|
1557
|
-
this.
|
|
1546
|
+
this.cz_1 = this.cz_1 - 1 | 0;
|
|
1558
1547
|
tmp = result;
|
|
1559
1548
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1560
1549
|
tmp = readArray(this);
|
|
1561
1550
|
} else {
|
|
1562
|
-
this.
|
|
1551
|
+
this.az_1.my('Cannot begin reading element, unexpected token: ' + token);
|
|
1563
1552
|
}
|
|
1564
1553
|
return tmp;
|
|
1565
1554
|
};
|
|
1566
1555
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1567
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1556
|
+
var tmp0_iterator = _this__u8e3s4.xg().c();
|
|
1568
1557
|
while (tmp0_iterator.d()) {
|
|
1569
1558
|
var annotation = tmp0_iterator.e();
|
|
1570
1559
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1571
|
-
return annotation.
|
|
1560
|
+
return annotation.m10_1;
|
|
1572
1561
|
}
|
|
1573
|
-
return json.
|
|
1562
|
+
return json.rv_1.gx_1;
|
|
1574
1563
|
}
|
|
1575
1564
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1576
1565
|
var tmp;
|
|
1577
1566
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1578
1567
|
tmp = true;
|
|
1579
1568
|
} else {
|
|
1580
|
-
tmp = _this__u8e3s4.
|
|
1569
|
+
tmp = _this__u8e3s4.kx().rv_1.fx_1;
|
|
1581
1570
|
}
|
|
1582
1571
|
if (tmp) {
|
|
1583
|
-
return deserializer.
|
|
1572
|
+
return deserializer.wf(_this__u8e3s4);
|
|
1584
1573
|
}
|
|
1585
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1574
|
+
var discriminator = classDiscriminator(deserializer.vf(), _this__u8e3s4.kx());
|
|
1586
1575
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1587
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1588
|
-
var tmp1_cast = deserializer.
|
|
1576
|
+
var tmp0_cast = _this__u8e3s4.lx();
|
|
1577
|
+
var tmp1_cast = deserializer.vf();
|
|
1589
1578
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1590
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1579
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.wg() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1591
1580
|
}
|
|
1592
1581
|
var jsonTree = tmp0_cast;
|
|
1593
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1582
|
+
var tmp0_safe_receiver = jsonTree.px(discriminator);
|
|
1594
1583
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1595
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1596
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1584
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.mx();
|
|
1585
|
+
var tmp2_elvis_lhs = deserializer.kg(_this__u8e3s4, type);
|
|
1597
1586
|
var tmp_0;
|
|
1598
1587
|
if (tmp2_elvis_lhs == null) {
|
|
1599
1588
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1601,7 +1590,7 @@
|
|
|
1601
1590
|
tmp_0 = tmp2_elvis_lhs;
|
|
1602
1591
|
}
|
|
1603
1592
|
var actualSerializer = tmp_0;
|
|
1604
|
-
var tmp_1 = _this__u8e3s4.
|
|
1593
|
+
var tmp_1 = _this__u8e3s4.kx();
|
|
1605
1594
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1606
1595
|
}
|
|
1607
1596
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1609,7 +1598,7 @@
|
|
|
1609
1598
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1610
1599
|
}
|
|
1611
1600
|
function checkKind($this, descriptor, actualClass) {
|
|
1612
|
-
var kind = descriptor.
|
|
1601
|
+
var kind = descriptor.ah();
|
|
1613
1602
|
var tmp;
|
|
1614
1603
|
if (kind instanceof PolymorphicKind) {
|
|
1615
1604
|
tmp = true;
|
|
@@ -1617,9 +1606,9 @@
|
|
|
1617
1606
|
tmp = equals(kind, CONTEXTUAL_getInstance());
|
|
1618
1607
|
}
|
|
1619
1608
|
if (tmp) {
|
|
1620
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1609
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.vb() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1621
1610
|
}
|
|
1622
|
-
if ($this.
|
|
1611
|
+
if ($this.n10_1)
|
|
1623
1612
|
return Unit_getInstance();
|
|
1624
1613
|
var tmp_0;
|
|
1625
1614
|
var tmp_1;
|
|
@@ -1634,55 +1623,55 @@
|
|
|
1634
1623
|
tmp_0 = kind instanceof ENUM;
|
|
1635
1624
|
}
|
|
1636
1625
|
if (tmp_0) {
|
|
1637
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1626
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.vb() + ' of kind ' + kind + ' cannot be serialized polymorphically with class discriminator.');
|
|
1638
1627
|
}
|
|
1639
1628
|
}
|
|
1640
1629
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1641
1630
|
var inductionVariable = 0;
|
|
1642
|
-
var last = descriptor.
|
|
1631
|
+
var last = descriptor.yg();
|
|
1643
1632
|
if (inductionVariable < last)
|
|
1644
1633
|
do {
|
|
1645
1634
|
var i = inductionVariable;
|
|
1646
1635
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1647
|
-
var name = descriptor.
|
|
1648
|
-
if (name === $this.
|
|
1636
|
+
var name = descriptor.eh(i);
|
|
1637
|
+
if (name === $this.o10_1) {
|
|
1649
1638
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + actualClass + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation ' + 'or fall back to array polymorphism');
|
|
1650
1639
|
}
|
|
1651
1640
|
}
|
|
1652
1641
|
while (inductionVariable < last);
|
|
1653
1642
|
}
|
|
1654
1643
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1644
|
+
this.n10_1 = useArrayPolymorphism;
|
|
1645
|
+
this.o10_1 = discriminator;
|
|
1657
1646
|
}
|
|
1658
|
-
protoOf(PolymorphismValidator).
|
|
1647
|
+
protoOf(PolymorphismValidator).iv = function (kClass, provider) {
|
|
1659
1648
|
};
|
|
1660
|
-
protoOf(PolymorphismValidator).
|
|
1661
|
-
var descriptor = actualSerializer.
|
|
1649
|
+
protoOf(PolymorphismValidator).lv = function (baseClass, actualClass, actualSerializer) {
|
|
1650
|
+
var descriptor = actualSerializer.vf();
|
|
1662
1651
|
checkKind(this, descriptor, actualClass);
|
|
1663
|
-
if (!this.
|
|
1652
|
+
if (!this.n10_1) {
|
|
1664
1653
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1665
1654
|
}
|
|
1666
1655
|
};
|
|
1667
|
-
protoOf(PolymorphismValidator).
|
|
1656
|
+
protoOf(PolymorphismValidator).mv = function (baseClass, defaultSerializerProvider) {
|
|
1668
1657
|
};
|
|
1669
|
-
protoOf(PolymorphismValidator).
|
|
1658
|
+
protoOf(PolymorphismValidator).nv = function (baseClass, defaultDeserializerProvider) {
|
|
1670
1659
|
};
|
|
1671
1660
|
function Key() {
|
|
1672
1661
|
}
|
|
1673
1662
|
function DescriptorSchemaCache() {
|
|
1674
|
-
this.
|
|
1663
|
+
this.ny_1 = createMapForCache(16);
|
|
1675
1664
|
}
|
|
1676
|
-
protoOf(DescriptorSchemaCache).
|
|
1665
|
+
protoOf(DescriptorSchemaCache).p10 = function (descriptor, key, value) {
|
|
1677
1666
|
// Inline function 'kotlin.collections.set' call
|
|
1678
1667
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1679
|
-
var tmp0_getOrPut = this.
|
|
1680
|
-
var value_0 = tmp0_getOrPut.
|
|
1668
|
+
var tmp0_getOrPut = this.ny_1;
|
|
1669
|
+
var value_0 = tmp0_getOrPut.y1(descriptor);
|
|
1681
1670
|
var tmp;
|
|
1682
1671
|
if (value_0 == null) {
|
|
1683
1672
|
// Inline function 'kotlinx.serialization.json.internal.DescriptorSchemaCache.set.<anonymous>' call
|
|
1684
1673
|
var answer = createMapForCache(2);
|
|
1685
|
-
tmp0_getOrPut.
|
|
1674
|
+
tmp0_getOrPut.w2(descriptor, answer);
|
|
1686
1675
|
tmp = answer;
|
|
1687
1676
|
} else {
|
|
1688
1677
|
tmp = value_0;
|
|
@@ -1690,10 +1679,10 @@
|
|
|
1690
1679
|
var tmp1_set = tmp;
|
|
1691
1680
|
var tmp2_set = key instanceof Key ? key : THROW_CCE();
|
|
1692
1681
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1693
|
-
tmp1_set.
|
|
1682
|
+
tmp1_set.w2(tmp2_set, tmp3_set);
|
|
1694
1683
|
};
|
|
1695
|
-
protoOf(DescriptorSchemaCache).
|
|
1696
|
-
var tmp0_safe_receiver = this.
|
|
1684
|
+
protoOf(DescriptorSchemaCache).oy = function (descriptor, key, defaultValue) {
|
|
1685
|
+
var tmp0_safe_receiver = this.q10(descriptor, key);
|
|
1697
1686
|
if (tmp0_safe_receiver == null)
|
|
1698
1687
|
null;
|
|
1699
1688
|
else {
|
|
@@ -1702,35 +1691,35 @@
|
|
|
1702
1691
|
return tmp0_safe_receiver;
|
|
1703
1692
|
}
|
|
1704
1693
|
var value = defaultValue();
|
|
1705
|
-
this.
|
|
1694
|
+
this.p10(descriptor, key, value);
|
|
1706
1695
|
return value;
|
|
1707
1696
|
};
|
|
1708
|
-
protoOf(DescriptorSchemaCache).
|
|
1709
|
-
var tmp0_safe_receiver = this.
|
|
1697
|
+
protoOf(DescriptorSchemaCache).q10 = function (descriptor, key) {
|
|
1698
|
+
var tmp0_safe_receiver = this.ny_1.y1(descriptor);
|
|
1710
1699
|
var tmp;
|
|
1711
1700
|
if (tmp0_safe_receiver == null) {
|
|
1712
1701
|
tmp = null;
|
|
1713
1702
|
} else {
|
|
1714
|
-
tmp = tmp0_safe_receiver.
|
|
1703
|
+
tmp = tmp0_safe_receiver.y1(key instanceof Key ? key : THROW_CCE());
|
|
1715
1704
|
}
|
|
1716
1705
|
var tmp_0 = tmp;
|
|
1717
1706
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1718
1707
|
};
|
|
1719
1708
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1720
|
-
this.
|
|
1709
|
+
this.r10_1 = discriminatorToSkip;
|
|
1721
1710
|
}
|
|
1722
1711
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1723
1712
|
if (_this__u8e3s4 == null)
|
|
1724
1713
|
return false;
|
|
1725
|
-
if (_this__u8e3s4.
|
|
1726
|
-
_this__u8e3s4.
|
|
1714
|
+
if (_this__u8e3s4.r10_1 === unknownKey) {
|
|
1715
|
+
_this__u8e3s4.r10_1 = null;
|
|
1727
1716
|
return true;
|
|
1728
1717
|
}
|
|
1729
1718
|
return false;
|
|
1730
1719
|
}
|
|
1731
1720
|
function skipLeftoverElements($this, descriptor) {
|
|
1732
1721
|
$l$loop: while (true) {
|
|
1733
|
-
var tmp = $this.
|
|
1722
|
+
var tmp = $this.kj(descriptor);
|
|
1734
1723
|
Companion_getInstance();
|
|
1735
1724
|
if (!!(tmp === -1)) {
|
|
1736
1725
|
break $l$loop;
|
|
@@ -1738,52 +1727,52 @@
|
|
|
1738
1727
|
}
|
|
1739
1728
|
}
|
|
1740
1729
|
function checkLeadingComma($this) {
|
|
1741
|
-
if ($this.
|
|
1742
|
-
$this.
|
|
1730
|
+
if ($this.yv_1.ez() === get_TC_COMMA()) {
|
|
1731
|
+
$this.yv_1.my('Unexpected leading comma');
|
|
1743
1732
|
}
|
|
1744
1733
|
}
|
|
1745
1734
|
function decodeMapIndex($this) {
|
|
1746
1735
|
var hasComma = false;
|
|
1747
|
-
var decodingKey = !(($this.
|
|
1736
|
+
var decodingKey = !(($this.aw_1 % 2 | 0) === 0);
|
|
1748
1737
|
if (decodingKey) {
|
|
1749
|
-
if (!($this.
|
|
1750
|
-
hasComma = $this.
|
|
1738
|
+
if (!($this.aw_1 === -1)) {
|
|
1739
|
+
hasComma = $this.yv_1.t10();
|
|
1751
1740
|
}
|
|
1752
1741
|
} else {
|
|
1753
|
-
$this.
|
|
1742
|
+
$this.yv_1.s10(get_COLON());
|
|
1754
1743
|
}
|
|
1755
1744
|
var tmp;
|
|
1756
|
-
if ($this.
|
|
1745
|
+
if ($this.yv_1.fz()) {
|
|
1757
1746
|
if (decodingKey) {
|
|
1758
|
-
if ($this.
|
|
1747
|
+
if ($this.aw_1 === -1) {
|
|
1759
1748
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1760
|
-
var tmp0_require = $this.
|
|
1749
|
+
var tmp0_require = $this.yv_1;
|
|
1761
1750
|
var tmp1_require = !hasComma;
|
|
1762
|
-
var tmp2_require = tmp0_require.
|
|
1751
|
+
var tmp2_require = tmp0_require.ew_1;
|
|
1763
1752
|
if (!tmp1_require) {
|
|
1764
1753
|
var tmp$ret$0;
|
|
1765
1754
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1766
1755
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1767
|
-
tmp0_require.
|
|
1756
|
+
tmp0_require.my(tmp$ret$0, tmp2_require);
|
|
1768
1757
|
}
|
|
1769
1758
|
} else {
|
|
1770
1759
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1771
|
-
var tmp3_require = $this.
|
|
1760
|
+
var tmp3_require = $this.yv_1;
|
|
1772
1761
|
var tmp4_require = hasComma;
|
|
1773
|
-
var tmp5_require = tmp3_require.
|
|
1762
|
+
var tmp5_require = tmp3_require.ew_1;
|
|
1774
1763
|
if (!tmp4_require) {
|
|
1775
1764
|
var tmp$ret$1;
|
|
1776
1765
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1777
1766
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1778
|
-
tmp3_require.
|
|
1767
|
+
tmp3_require.my(tmp$ret$1, tmp5_require);
|
|
1779
1768
|
}
|
|
1780
1769
|
}
|
|
1781
1770
|
}
|
|
1782
|
-
$this.
|
|
1783
|
-
tmp = $this.
|
|
1771
|
+
$this.aw_1 = $this.aw_1 + 1 | 0;
|
|
1772
|
+
tmp = $this.aw_1;
|
|
1784
1773
|
} else {
|
|
1785
1774
|
if (hasComma) {
|
|
1786
|
-
$this.
|
|
1775
|
+
$this.yv_1.my("Expected '}', but had ',' instead");
|
|
1787
1776
|
}
|
|
1788
1777
|
Companion_getInstance();
|
|
1789
1778
|
tmp = -1;
|
|
@@ -1794,12 +1783,12 @@
|
|
|
1794
1783
|
var tmp$ret$1;
|
|
1795
1784
|
$l$block_2: {
|
|
1796
1785
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1797
|
-
var tmp0_tryCoerceValue = $this.
|
|
1798
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1786
|
+
var tmp0_tryCoerceValue = $this.wv_1;
|
|
1787
|
+
var tmp1_tryCoerceValue = descriptor.ch(index);
|
|
1799
1788
|
var tmp;
|
|
1800
|
-
if (!tmp1_tryCoerceValue.
|
|
1789
|
+
if (!tmp1_tryCoerceValue.sg()) {
|
|
1801
1790
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1802
|
-
tmp = $this.
|
|
1791
|
+
tmp = $this.yv_1.u10(true);
|
|
1803
1792
|
} else {
|
|
1804
1793
|
tmp = false;
|
|
1805
1794
|
}
|
|
@@ -1807,11 +1796,11 @@
|
|
|
1807
1796
|
tmp$ret$1 = true;
|
|
1808
1797
|
break $l$block_2;
|
|
1809
1798
|
}
|
|
1810
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1799
|
+
if (equals(tmp1_tryCoerceValue.ah(), ENUM_getInstance())) {
|
|
1811
1800
|
var tmp_0;
|
|
1812
|
-
if (tmp1_tryCoerceValue.
|
|
1801
|
+
if (tmp1_tryCoerceValue.sg()) {
|
|
1813
1802
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1814
|
-
tmp_0 = $this.
|
|
1803
|
+
tmp_0 = $this.yv_1.u10(false);
|
|
1815
1804
|
} else {
|
|
1816
1805
|
tmp_0 = false;
|
|
1817
1806
|
}
|
|
@@ -1820,7 +1809,7 @@
|
|
|
1820
1809
|
break $l$block_2;
|
|
1821
1810
|
}
|
|
1822
1811
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1823
|
-
var tmp0_elvis_lhs = $this.
|
|
1812
|
+
var tmp0_elvis_lhs = $this.yv_1.v10($this.cw_1.zw_1);
|
|
1824
1813
|
var tmp_1;
|
|
1825
1814
|
if (tmp0_elvis_lhs == null) {
|
|
1826
1815
|
tmp$ret$1 = false;
|
|
@@ -1833,7 +1822,7 @@
|
|
|
1833
1822
|
Companion_getInstance();
|
|
1834
1823
|
if (enumIndex === -3) {
|
|
1835
1824
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1836
|
-
$this.
|
|
1825
|
+
$this.yv_1.gz();
|
|
1837
1826
|
tmp$ret$1 = true;
|
|
1838
1827
|
break $l$block_2;
|
|
1839
1828
|
}
|
|
@@ -1843,25 +1832,25 @@
|
|
|
1843
1832
|
return tmp$ret$1;
|
|
1844
1833
|
}
|
|
1845
1834
|
function decodeObjectIndex($this, descriptor) {
|
|
1846
|
-
var hasComma = $this.
|
|
1847
|
-
while ($this.
|
|
1835
|
+
var hasComma = $this.yv_1.t10();
|
|
1836
|
+
while ($this.yv_1.fz()) {
|
|
1848
1837
|
hasComma = false;
|
|
1849
1838
|
var key = decodeStringKey($this);
|
|
1850
|
-
$this.
|
|
1851
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1839
|
+
$this.yv_1.s10(get_COLON());
|
|
1840
|
+
var index = getJsonNameIndex(descriptor, $this.wv_1, key);
|
|
1852
1841
|
var tmp;
|
|
1853
1842
|
Companion_getInstance();
|
|
1854
1843
|
if (!(index === -3)) {
|
|
1855
1844
|
var tmp_0;
|
|
1856
|
-
if ($this.
|
|
1857
|
-
hasComma = $this.
|
|
1845
|
+
if ($this.cw_1.ex_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1846
|
+
hasComma = $this.yv_1.t10();
|
|
1858
1847
|
tmp_0 = false;
|
|
1859
1848
|
} else {
|
|
1860
|
-
var tmp0_safe_receiver = $this.
|
|
1849
|
+
var tmp0_safe_receiver = $this.dw_1;
|
|
1861
1850
|
if (tmp0_safe_receiver == null)
|
|
1862
1851
|
null;
|
|
1863
1852
|
else {
|
|
1864
|
-
tmp0_safe_receiver.
|
|
1853
|
+
tmp0_safe_receiver.vm(index);
|
|
1865
1854
|
}
|
|
1866
1855
|
return index;
|
|
1867
1856
|
}
|
|
@@ -1875,10 +1864,10 @@
|
|
|
1875
1864
|
}
|
|
1876
1865
|
}
|
|
1877
1866
|
if (hasComma) {
|
|
1878
|
-
$this.
|
|
1867
|
+
$this.yv_1.my('Unexpected trailing comma');
|
|
1879
1868
|
}
|
|
1880
|
-
var tmp1_safe_receiver = $this.
|
|
1881
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1869
|
+
var tmp1_safe_receiver = $this.dw_1;
|
|
1870
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.wm();
|
|
1882
1871
|
var tmp_1;
|
|
1883
1872
|
if (tmp2_elvis_lhs == null) {
|
|
1884
1873
|
Companion_getInstance();
|
|
@@ -1889,25 +1878,25 @@
|
|
|
1889
1878
|
return tmp_1;
|
|
1890
1879
|
}
|
|
1891
1880
|
function handleUnknown($this, key) {
|
|
1892
|
-
if ($this.
|
|
1893
|
-
$this.
|
|
1881
|
+
if ($this.cw_1.yw_1 ? true : trySkip($this.bw_1, $this, key)) {
|
|
1882
|
+
$this.yv_1.x10($this.cw_1.zw_1);
|
|
1894
1883
|
} else {
|
|
1895
|
-
$this.
|
|
1884
|
+
$this.yv_1.w10(key);
|
|
1896
1885
|
}
|
|
1897
|
-
return $this.
|
|
1886
|
+
return $this.yv_1.t10();
|
|
1898
1887
|
}
|
|
1899
1888
|
function decodeListIndex($this) {
|
|
1900
|
-
var hasComma = $this.
|
|
1889
|
+
var hasComma = $this.yv_1.t10();
|
|
1901
1890
|
var tmp;
|
|
1902
|
-
if ($this.
|
|
1903
|
-
if (!($this.
|
|
1904
|
-
$this.
|
|
1891
|
+
if ($this.yv_1.fz()) {
|
|
1892
|
+
if (!($this.aw_1 === -1) ? !hasComma : false) {
|
|
1893
|
+
$this.yv_1.my('Expected end of the array or comma');
|
|
1905
1894
|
}
|
|
1906
|
-
$this.
|
|
1907
|
-
tmp = $this.
|
|
1895
|
+
$this.aw_1 = $this.aw_1 + 1 | 0;
|
|
1896
|
+
tmp = $this.aw_1;
|
|
1908
1897
|
} else {
|
|
1909
1898
|
if (hasComma) {
|
|
1910
|
-
$this.
|
|
1899
|
+
$this.yv_1.my('Unexpected trailing comma');
|
|
1911
1900
|
}
|
|
1912
1901
|
Companion_getInstance();
|
|
1913
1902
|
tmp = -1;
|
|
@@ -1916,55 +1905,55 @@
|
|
|
1916
1905
|
}
|
|
1917
1906
|
function decodeStringKey($this) {
|
|
1918
1907
|
var tmp;
|
|
1919
|
-
if ($this.
|
|
1920
|
-
tmp = $this.
|
|
1908
|
+
if ($this.cw_1.zw_1) {
|
|
1909
|
+
tmp = $this.yv_1.z10();
|
|
1921
1910
|
} else {
|
|
1922
|
-
tmp = $this.
|
|
1911
|
+
tmp = $this.yv_1.y10();
|
|
1923
1912
|
}
|
|
1924
1913
|
return tmp;
|
|
1925
1914
|
}
|
|
1926
1915
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
1927
1916
|
AbstractDecoder.call(this);
|
|
1928
|
-
this.
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1935
|
-
this.
|
|
1936
|
-
}
|
|
1937
|
-
protoOf(StreamingJsonDecoder).
|
|
1938
|
-
return this.
|
|
1917
|
+
this.wv_1 = json;
|
|
1918
|
+
this.xv_1 = mode;
|
|
1919
|
+
this.yv_1 = lexer;
|
|
1920
|
+
this.zv_1 = this.wv_1.ij();
|
|
1921
|
+
this.aw_1 = -1;
|
|
1922
|
+
this.bw_1 = discriminatorHolder;
|
|
1923
|
+
this.cw_1 = this.wv_1.rv_1;
|
|
1924
|
+
this.dw_1 = this.cw_1.cx_1 ? null : new JsonElementMarker(descriptor);
|
|
1925
|
+
}
|
|
1926
|
+
protoOf(StreamingJsonDecoder).kx = function () {
|
|
1927
|
+
return this.wv_1;
|
|
1939
1928
|
};
|
|
1940
|
-
protoOf(StreamingJsonDecoder).
|
|
1941
|
-
return this.
|
|
1929
|
+
protoOf(StreamingJsonDecoder).ij = function () {
|
|
1930
|
+
return this.zv_1;
|
|
1942
1931
|
};
|
|
1943
|
-
protoOf(StreamingJsonDecoder).
|
|
1944
|
-
return (new JsonTreeReader(this.
|
|
1932
|
+
protoOf(StreamingJsonDecoder).lx = function () {
|
|
1933
|
+
return (new JsonTreeReader(this.wv_1.rv_1, this.yv_1)).iz();
|
|
1945
1934
|
};
|
|
1946
|
-
protoOf(StreamingJsonDecoder).
|
|
1935
|
+
protoOf(StreamingJsonDecoder).si = function (deserializer) {
|
|
1947
1936
|
try {
|
|
1948
1937
|
var tmp;
|
|
1949
1938
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1950
1939
|
tmp = true;
|
|
1951
1940
|
} else {
|
|
1952
|
-
tmp = this.
|
|
1941
|
+
tmp = this.wv_1.rv_1.fx_1;
|
|
1953
1942
|
}
|
|
1954
1943
|
if (tmp) {
|
|
1955
|
-
return deserializer.
|
|
1944
|
+
return deserializer.wf(this);
|
|
1956
1945
|
}
|
|
1957
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1958
|
-
var type = this.
|
|
1946
|
+
var discriminator = classDiscriminator(deserializer.vf(), this.wv_1);
|
|
1947
|
+
var type = this.yv_1.a11(discriminator, this.cw_1.zw_1);
|
|
1959
1948
|
var actualSerializer = null;
|
|
1960
1949
|
if (!(type == null)) {
|
|
1961
|
-
actualSerializer = deserializer.
|
|
1950
|
+
actualSerializer = deserializer.kg(this, type);
|
|
1962
1951
|
}
|
|
1963
1952
|
if (actualSerializer == null) {
|
|
1964
1953
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
1965
1954
|
}
|
|
1966
|
-
this.
|
|
1967
|
-
var tmp_0 = actualSerializer.
|
|
1955
|
+
this.bw_1 = new DiscriminatorHolder(discriminator);
|
|
1956
|
+
var tmp_0 = actualSerializer.wf(this);
|
|
1968
1957
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
1969
1958
|
return result;
|
|
1970
1959
|
} catch ($p) {
|
|
@@ -1972,30 +1961,30 @@
|
|
|
1972
1961
|
var e = $p;
|
|
1973
1962
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
1974
1963
|
throw e;
|
|
1975
|
-
throw new MissingFieldException(e.
|
|
1964
|
+
throw new MissingFieldException(e.lg_1, plus(e.message, ' at path: ') + this.yv_1.fw_1.zy(), e);
|
|
1976
1965
|
} else {
|
|
1977
1966
|
throw $p;
|
|
1978
1967
|
}
|
|
1979
1968
|
}
|
|
1980
1969
|
};
|
|
1981
|
-
protoOf(StreamingJsonDecoder).
|
|
1982
|
-
var newMode = switchMode(this.
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1970
|
+
protoOf(StreamingJsonDecoder).ti = function (descriptor) {
|
|
1971
|
+
var newMode = switchMode(this.wv_1, descriptor);
|
|
1972
|
+
this.yv_1.fw_1.uy(descriptor);
|
|
1973
|
+
this.yv_1.s10(newMode.d11_1);
|
|
1985
1974
|
checkLeadingComma(this);
|
|
1986
1975
|
var tmp;
|
|
1987
|
-
switch (newMode.
|
|
1976
|
+
switch (newMode.d4_1) {
|
|
1988
1977
|
case 1:
|
|
1989
1978
|
case 2:
|
|
1990
1979
|
case 3:
|
|
1991
|
-
tmp = new StreamingJsonDecoder(this.
|
|
1980
|
+
tmp = new StreamingJsonDecoder(this.wv_1, newMode, this.yv_1, descriptor, this.bw_1);
|
|
1992
1981
|
break;
|
|
1993
1982
|
default:
|
|
1994
1983
|
var tmp_0;
|
|
1995
|
-
if (this.
|
|
1984
|
+
if (this.xv_1.equals(newMode) ? this.wv_1.rv_1.cx_1 : false) {
|
|
1996
1985
|
tmp_0 = this;
|
|
1997
1986
|
} else {
|
|
1998
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
1987
|
+
tmp_0 = new StreamingJsonDecoder(this.wv_1, newMode, this.yv_1, descriptor, this.bw_1);
|
|
1999
1988
|
}
|
|
2000
1989
|
|
|
2001
1990
|
tmp = tmp_0;
|
|
@@ -2003,41 +1992,41 @@
|
|
|
2003
1992
|
}
|
|
2004
1993
|
return tmp;
|
|
2005
1994
|
};
|
|
2006
|
-
protoOf(StreamingJsonDecoder).
|
|
2007
|
-
if (this.
|
|
1995
|
+
protoOf(StreamingJsonDecoder).ui = function (descriptor) {
|
|
1996
|
+
if (this.wv_1.rv_1.yw_1 ? descriptor.yg() === 0 : false) {
|
|
2008
1997
|
skipLeftoverElements(this, descriptor);
|
|
2009
1998
|
}
|
|
2010
|
-
this.
|
|
2011
|
-
this.
|
|
1999
|
+
this.yv_1.s10(this.xv_1.e11_1);
|
|
2000
|
+
this.yv_1.fw_1.yy();
|
|
2012
2001
|
};
|
|
2013
|
-
protoOf(StreamingJsonDecoder).
|
|
2002
|
+
protoOf(StreamingJsonDecoder).ei = function () {
|
|
2014
2003
|
var tmp;
|
|
2015
|
-
var tmp0_safe_receiver = this.
|
|
2016
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2004
|
+
var tmp0_safe_receiver = this.dw_1;
|
|
2005
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ly_1;
|
|
2017
2006
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2018
|
-
tmp = !this.
|
|
2007
|
+
tmp = !this.yv_1.f11();
|
|
2019
2008
|
} else {
|
|
2020
2009
|
tmp = false;
|
|
2021
2010
|
}
|
|
2022
2011
|
return tmp;
|
|
2023
2012
|
};
|
|
2024
|
-
protoOf(StreamingJsonDecoder).
|
|
2013
|
+
protoOf(StreamingJsonDecoder).fi = function () {
|
|
2025
2014
|
return null;
|
|
2026
2015
|
};
|
|
2027
|
-
protoOf(StreamingJsonDecoder).
|
|
2028
|
-
var isMapKey = this.
|
|
2016
|
+
protoOf(StreamingJsonDecoder).fj = function (descriptor, index, deserializer, previousValue) {
|
|
2017
|
+
var isMapKey = this.xv_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2029
2018
|
if (isMapKey) {
|
|
2030
|
-
this.
|
|
2019
|
+
this.yv_1.fw_1.xy();
|
|
2031
2020
|
}
|
|
2032
|
-
var value = protoOf(AbstractDecoder).
|
|
2021
|
+
var value = protoOf(AbstractDecoder).fj.call(this, descriptor, index, deserializer, previousValue);
|
|
2033
2022
|
if (isMapKey) {
|
|
2034
|
-
this.
|
|
2023
|
+
this.yv_1.fw_1.wy(value);
|
|
2035
2024
|
}
|
|
2036
2025
|
return value;
|
|
2037
2026
|
};
|
|
2038
|
-
protoOf(StreamingJsonDecoder).
|
|
2027
|
+
protoOf(StreamingJsonDecoder).kj = function (descriptor) {
|
|
2039
2028
|
var index;
|
|
2040
|
-
switch (this.
|
|
2029
|
+
switch (this.xv_1.d4_1) {
|
|
2041
2030
|
case 0:
|
|
2042
2031
|
index = decodeObjectIndex(this, descriptor);
|
|
2043
2032
|
break;
|
|
@@ -2048,50 +2037,50 @@
|
|
|
2048
2037
|
index = decodeListIndex(this);
|
|
2049
2038
|
break;
|
|
2050
2039
|
}
|
|
2051
|
-
if (!this.
|
|
2052
|
-
this.
|
|
2040
|
+
if (!this.xv_1.equals(WriteMode_MAP_getInstance())) {
|
|
2041
|
+
this.yv_1.fw_1.vy(index);
|
|
2053
2042
|
}
|
|
2054
2043
|
return index;
|
|
2055
2044
|
};
|
|
2056
|
-
protoOf(StreamingJsonDecoder).
|
|
2045
|
+
protoOf(StreamingJsonDecoder).gi = function () {
|
|
2057
2046
|
var tmp;
|
|
2058
|
-
if (this.
|
|
2059
|
-
tmp = this.
|
|
2047
|
+
if (this.cw_1.zw_1) {
|
|
2048
|
+
tmp = this.yv_1.h11();
|
|
2060
2049
|
} else {
|
|
2061
|
-
tmp = this.
|
|
2050
|
+
tmp = this.yv_1.g11();
|
|
2062
2051
|
}
|
|
2063
2052
|
return tmp;
|
|
2064
2053
|
};
|
|
2065
|
-
protoOf(StreamingJsonDecoder).
|
|
2066
|
-
var value = this.
|
|
2067
|
-
if (!value.equals(toLong_0(value.
|
|
2068
|
-
this.
|
|
2054
|
+
protoOf(StreamingJsonDecoder).hi = function () {
|
|
2055
|
+
var value = this.yv_1.i11();
|
|
2056
|
+
if (!value.equals(toLong_0(value.df()))) {
|
|
2057
|
+
this.yv_1.my("Failed to parse byte for input '" + toString(value) + "'");
|
|
2069
2058
|
}
|
|
2070
|
-
return value.
|
|
2059
|
+
return value.df();
|
|
2071
2060
|
};
|
|
2072
|
-
protoOf(StreamingJsonDecoder).
|
|
2073
|
-
var value = this.
|
|
2074
|
-
if (!value.equals(toLong_0(value.
|
|
2075
|
-
this.
|
|
2061
|
+
protoOf(StreamingJsonDecoder).ii = function () {
|
|
2062
|
+
var value = this.yv_1.i11();
|
|
2063
|
+
if (!value.equals(toLong_0(value.ef()))) {
|
|
2064
|
+
this.yv_1.my("Failed to parse short for input '" + toString(value) + "'");
|
|
2076
2065
|
}
|
|
2077
|
-
return value.
|
|
2066
|
+
return value.ef();
|
|
2078
2067
|
};
|
|
2079
|
-
protoOf(StreamingJsonDecoder).
|
|
2080
|
-
var value = this.
|
|
2081
|
-
if (!value.equals(toLong_0(value.
|
|
2082
|
-
this.
|
|
2068
|
+
protoOf(StreamingJsonDecoder).ji = function () {
|
|
2069
|
+
var value = this.yv_1.i11();
|
|
2070
|
+
if (!value.equals(toLong_0(value.l5()))) {
|
|
2071
|
+
this.yv_1.my("Failed to parse int for input '" + toString(value) + "'");
|
|
2083
2072
|
}
|
|
2084
|
-
return value.
|
|
2073
|
+
return value.l5();
|
|
2085
2074
|
};
|
|
2086
|
-
protoOf(StreamingJsonDecoder).
|
|
2087
|
-
return this.
|
|
2075
|
+
protoOf(StreamingJsonDecoder).ki = function () {
|
|
2076
|
+
return this.yv_1.i11();
|
|
2088
2077
|
};
|
|
2089
|
-
protoOf(StreamingJsonDecoder).
|
|
2078
|
+
protoOf(StreamingJsonDecoder).li = function () {
|
|
2090
2079
|
var tmp$ret$4;
|
|
2091
2080
|
$l$block: {
|
|
2092
2081
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2093
|
-
var tmp0_parseString = this.
|
|
2094
|
-
var input = tmp0_parseString.
|
|
2082
|
+
var tmp0_parseString = this.yv_1;
|
|
2083
|
+
var input = tmp0_parseString.hz();
|
|
2095
2084
|
try {
|
|
2096
2085
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2097
2086
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2102,24 +2091,24 @@
|
|
|
2102
2091
|
} catch ($p) {
|
|
2103
2092
|
if ($p instanceof IllegalArgumentException) {
|
|
2104
2093
|
var e = $p;
|
|
2105
|
-
tmp0_parseString.
|
|
2094
|
+
tmp0_parseString.my("Failed to parse type 'float' for input '" + input + "'");
|
|
2106
2095
|
} else {
|
|
2107
2096
|
throw $p;
|
|
2108
2097
|
}
|
|
2109
2098
|
}
|
|
2110
2099
|
}
|
|
2111
2100
|
var result = tmp$ret$4;
|
|
2112
|
-
var specialFp = this.
|
|
2101
|
+
var specialFp = this.wv_1.rv_1.hx_1;
|
|
2113
2102
|
if (specialFp ? true : isFinite(result))
|
|
2114
2103
|
return result;
|
|
2115
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2104
|
+
throwInvalidFloatingPointDecoded(this.yv_1, result);
|
|
2116
2105
|
};
|
|
2117
|
-
protoOf(StreamingJsonDecoder).
|
|
2106
|
+
protoOf(StreamingJsonDecoder).mi = function () {
|
|
2118
2107
|
var tmp$ret$1;
|
|
2119
2108
|
$l$block: {
|
|
2120
2109
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2121
|
-
var tmp0_parseString = this.
|
|
2122
|
-
var input = tmp0_parseString.
|
|
2110
|
+
var tmp0_parseString = this.yv_1;
|
|
2111
|
+
var input = tmp0_parseString.hz();
|
|
2123
2112
|
try {
|
|
2124
2113
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2125
2114
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2127,57 +2116,57 @@
|
|
|
2127
2116
|
} catch ($p) {
|
|
2128
2117
|
if ($p instanceof IllegalArgumentException) {
|
|
2129
2118
|
var e = $p;
|
|
2130
|
-
tmp0_parseString.
|
|
2119
|
+
tmp0_parseString.my("Failed to parse type 'double' for input '" + input + "'");
|
|
2131
2120
|
} else {
|
|
2132
2121
|
throw $p;
|
|
2133
2122
|
}
|
|
2134
2123
|
}
|
|
2135
2124
|
}
|
|
2136
2125
|
var result = tmp$ret$1;
|
|
2137
|
-
var specialFp = this.
|
|
2126
|
+
var specialFp = this.wv_1.rv_1.hx_1;
|
|
2138
2127
|
if (specialFp ? true : isFinite_0(result))
|
|
2139
2128
|
return result;
|
|
2140
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2129
|
+
throwInvalidFloatingPointDecoded(this.yv_1, result);
|
|
2141
2130
|
};
|
|
2142
|
-
protoOf(StreamingJsonDecoder).
|
|
2143
|
-
var string = this.
|
|
2131
|
+
protoOf(StreamingJsonDecoder).ni = function () {
|
|
2132
|
+
var string = this.yv_1.hz();
|
|
2144
2133
|
if (!(string.length === 1)) {
|
|
2145
|
-
this.
|
|
2134
|
+
this.yv_1.my("Expected single char, but got '" + string + "'");
|
|
2146
2135
|
}
|
|
2147
2136
|
return charSequenceGet(string, 0);
|
|
2148
2137
|
};
|
|
2149
|
-
protoOf(StreamingJsonDecoder).
|
|
2138
|
+
protoOf(StreamingJsonDecoder).oi = function () {
|
|
2150
2139
|
var tmp;
|
|
2151
|
-
if (this.
|
|
2152
|
-
tmp = this.
|
|
2140
|
+
if (this.cw_1.zw_1) {
|
|
2141
|
+
tmp = this.yv_1.z10();
|
|
2153
2142
|
} else {
|
|
2154
|
-
tmp = this.
|
|
2143
|
+
tmp = this.yv_1.gz();
|
|
2155
2144
|
}
|
|
2156
2145
|
return tmp;
|
|
2157
2146
|
};
|
|
2158
|
-
protoOf(StreamingJsonDecoder).
|
|
2159
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2147
|
+
protoOf(StreamingJsonDecoder).qi = function (descriptor) {
|
|
2148
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.yv_1, this.wv_1) : protoOf(AbstractDecoder).qi.call(this, descriptor);
|
|
2160
2149
|
};
|
|
2161
|
-
protoOf(StreamingJsonDecoder).
|
|
2162
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2150
|
+
protoOf(StreamingJsonDecoder).pi = function (enumDescriptor) {
|
|
2151
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.wv_1, this.oi(), ' at path ' + this.yv_1.fw_1.zy());
|
|
2163
2152
|
};
|
|
2164
2153
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2165
2154
|
AbstractDecoder.call(this);
|
|
2166
|
-
this.
|
|
2167
|
-
this.
|
|
2155
|
+
this.j11_1 = lexer;
|
|
2156
|
+
this.k11_1 = json.ij();
|
|
2168
2157
|
}
|
|
2169
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2170
|
-
return this.
|
|
2158
|
+
protoOf(JsonDecoderForUnsignedTypes).ij = function () {
|
|
2159
|
+
return this.k11_1;
|
|
2171
2160
|
};
|
|
2172
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2161
|
+
protoOf(JsonDecoderForUnsignedTypes).kj = function (descriptor) {
|
|
2173
2162
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2174
2163
|
};
|
|
2175
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2164
|
+
protoOf(JsonDecoderForUnsignedTypes).ji = function () {
|
|
2176
2165
|
var tmp$ret$2;
|
|
2177
2166
|
$l$block: {
|
|
2178
2167
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2179
|
-
var tmp0_parseString = this.
|
|
2180
|
-
var input = tmp0_parseString.
|
|
2168
|
+
var tmp0_parseString = this.j11_1;
|
|
2169
|
+
var input = tmp0_parseString.hz();
|
|
2181
2170
|
try {
|
|
2182
2171
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2183
2172
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2187,7 +2176,7 @@
|
|
|
2187
2176
|
} catch ($p) {
|
|
2188
2177
|
if ($p instanceof IllegalArgumentException) {
|
|
2189
2178
|
var e = $p;
|
|
2190
|
-
tmp0_parseString.
|
|
2179
|
+
tmp0_parseString.my("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2191
2180
|
} else {
|
|
2192
2181
|
throw $p;
|
|
2193
2182
|
}
|
|
@@ -2195,12 +2184,12 @@
|
|
|
2195
2184
|
}
|
|
2196
2185
|
return tmp$ret$2;
|
|
2197
2186
|
};
|
|
2198
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2187
|
+
protoOf(JsonDecoderForUnsignedTypes).ki = function () {
|
|
2199
2188
|
var tmp$ret$2;
|
|
2200
2189
|
$l$block: {
|
|
2201
2190
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2202
|
-
var tmp0_parseString = this.
|
|
2203
|
-
var input = tmp0_parseString.
|
|
2191
|
+
var tmp0_parseString = this.j11_1;
|
|
2192
|
+
var input = tmp0_parseString.hz();
|
|
2204
2193
|
try {
|
|
2205
2194
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2206
2195
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2210,7 +2199,7 @@
|
|
|
2210
2199
|
} catch ($p) {
|
|
2211
2200
|
if ($p instanceof IllegalArgumentException) {
|
|
2212
2201
|
var e = $p;
|
|
2213
|
-
tmp0_parseString.
|
|
2202
|
+
tmp0_parseString.my("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2214
2203
|
} else {
|
|
2215
2204
|
throw $p;
|
|
2216
2205
|
}
|
|
@@ -2218,12 +2207,12 @@
|
|
|
2218
2207
|
}
|
|
2219
2208
|
return tmp$ret$2;
|
|
2220
2209
|
};
|
|
2221
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2210
|
+
protoOf(JsonDecoderForUnsignedTypes).hi = function () {
|
|
2222
2211
|
var tmp$ret$2;
|
|
2223
2212
|
$l$block: {
|
|
2224
2213
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2225
|
-
var tmp0_parseString = this.
|
|
2226
|
-
var input = tmp0_parseString.
|
|
2214
|
+
var tmp0_parseString = this.j11_1;
|
|
2215
|
+
var input = tmp0_parseString.hz();
|
|
2227
2216
|
try {
|
|
2228
2217
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2229
2218
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2233,7 +2222,7 @@
|
|
|
2233
2222
|
} catch ($p) {
|
|
2234
2223
|
if ($p instanceof IllegalArgumentException) {
|
|
2235
2224
|
var e = $p;
|
|
2236
|
-
tmp0_parseString.
|
|
2225
|
+
tmp0_parseString.my("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2237
2226
|
} else {
|
|
2238
2227
|
throw $p;
|
|
2239
2228
|
}
|
|
@@ -2241,12 +2230,12 @@
|
|
|
2241
2230
|
}
|
|
2242
2231
|
return tmp$ret$2;
|
|
2243
2232
|
};
|
|
2244
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2233
|
+
protoOf(JsonDecoderForUnsignedTypes).ii = function () {
|
|
2245
2234
|
var tmp$ret$2;
|
|
2246
2235
|
$l$block: {
|
|
2247
2236
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2248
|
-
var tmp0_parseString = this.
|
|
2249
|
-
var input = tmp0_parseString.
|
|
2237
|
+
var tmp0_parseString = this.j11_1;
|
|
2238
|
+
var input = tmp0_parseString.hz();
|
|
2250
2239
|
try {
|
|
2251
2240
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2252
2241
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2256,7 +2245,7 @@
|
|
|
2256
2245
|
} catch ($p) {
|
|
2257
2246
|
if ($p instanceof IllegalArgumentException) {
|
|
2258
2247
|
var e = $p;
|
|
2259
|
-
tmp0_parseString.
|
|
2248
|
+
tmp0_parseString.my("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2260
2249
|
} else {
|
|
2261
2250
|
throw $p;
|
|
2262
2251
|
}
|
|
@@ -2271,13 +2260,13 @@
|
|
|
2271
2260
|
var unsignedNumberDescriptors;
|
|
2272
2261
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2273
2262
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2274
|
-
return _this__u8e3s4.
|
|
2263
|
+
return _this__u8e3s4.zg() ? get_unsignedNumberDescriptors().b1(_this__u8e3s4) : false;
|
|
2275
2264
|
}
|
|
2276
2265
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2277
2266
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2278
2267
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2279
2268
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2280
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2269
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).vf(), serializer_1(Companion_getInstance_1()).vf(), serializer_2(Companion_getInstance_2()).vf(), serializer_3(Companion_getInstance_3()).vf()]);
|
|
2281
2270
|
}
|
|
2282
2271
|
}
|
|
2283
2272
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2302,7 +2291,7 @@
|
|
|
2302
2291
|
}
|
|
2303
2292
|
function printQuoted(_this__u8e3s4, value) {
|
|
2304
2293
|
_init_properties_StringOps_kt__fcy1db();
|
|
2305
|
-
_this__u8e3s4.
|
|
2294
|
+
_this__u8e3s4.r4(get_STRING());
|
|
2306
2295
|
var lastPos = 0;
|
|
2307
2296
|
var inductionVariable = 0;
|
|
2308
2297
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -2314,18 +2303,18 @@
|
|
|
2314
2303
|
var tmp0_get_code_gknlva = charSequenceGet(value, i);
|
|
2315
2304
|
var c = Char__toInt_impl_vasixd(tmp0_get_code_gknlva);
|
|
2316
2305
|
if (c < get_ESCAPE_STRINGS().length ? !(get_ESCAPE_STRINGS()[c] == null) : false) {
|
|
2317
|
-
_this__u8e3s4.
|
|
2318
|
-
_this__u8e3s4.
|
|
2306
|
+
_this__u8e3s4.dd(value, lastPos, i);
|
|
2307
|
+
_this__u8e3s4.u5(get_ESCAPE_STRINGS()[c]);
|
|
2319
2308
|
lastPos = i + 1 | 0;
|
|
2320
2309
|
}
|
|
2321
2310
|
}
|
|
2322
2311
|
while (inductionVariable <= last);
|
|
2323
2312
|
if (!(lastPos === 0)) {
|
|
2324
|
-
_this__u8e3s4.
|
|
2313
|
+
_this__u8e3s4.dd(value, lastPos, value.length);
|
|
2325
2314
|
} else {
|
|
2326
|
-
_this__u8e3s4.
|
|
2315
|
+
_this__u8e3s4.u5(value);
|
|
2327
2316
|
}
|
|
2328
|
-
_this__u8e3s4.
|
|
2317
|
+
_this__u8e3s4.r4(get_STRING());
|
|
2329
2318
|
}
|
|
2330
2319
|
function toBooleanStrictOrNull(_this__u8e3s4) {
|
|
2331
2320
|
_init_properties_StringOps_kt__fcy1db();
|
|
@@ -2429,10 +2418,10 @@
|
|
|
2429
2418
|
}
|
|
2430
2419
|
}
|
|
2431
2420
|
var input = tmp;
|
|
2432
|
-
return input.
|
|
2421
|
+
return input.si(deserializer);
|
|
2433
2422
|
}
|
|
2434
2423
|
function currentObject($this) {
|
|
2435
|
-
var tmp0_safe_receiver = $this.
|
|
2424
|
+
var tmp0_safe_receiver = $this.mt();
|
|
2436
2425
|
var tmp;
|
|
2437
2426
|
if (tmp0_safe_receiver == null) {
|
|
2438
2427
|
tmp = null;
|
|
@@ -2440,10 +2429,10 @@
|
|
|
2440
2429
|
// Inline function 'kotlin.let' call
|
|
2441
2430
|
// Inline function 'kotlin.contracts.contract' call
|
|
2442
2431
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2443
|
-
tmp = $this.
|
|
2432
|
+
tmp = $this.q11(tmp0_safe_receiver);
|
|
2444
2433
|
}
|
|
2445
2434
|
var tmp1_elvis_lhs = tmp;
|
|
2446
|
-
return tmp1_elvis_lhs == null ? $this.
|
|
2435
|
+
return tmp1_elvis_lhs == null ? $this.q() : tmp1_elvis_lhs;
|
|
2447
2436
|
}
|
|
2448
2437
|
function unparsedPrimitive($this, primitive) {
|
|
2449
2438
|
throw JsonDecodingException_0(-1, "Failed to parse '" + primitive + "'", toString(currentObject($this)));
|
|
@@ -2460,31 +2449,31 @@
|
|
|
2460
2449
|
}
|
|
2461
2450
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2462
2451
|
NamedValueDecoder.call(this);
|
|
2463
|
-
this.
|
|
2464
|
-
this.
|
|
2465
|
-
this.
|
|
2452
|
+
this.n11_1 = json;
|
|
2453
|
+
this.o11_1 = value;
|
|
2454
|
+
this.p11_1 = this.kx().rv_1;
|
|
2466
2455
|
}
|
|
2467
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2468
|
-
return this.
|
|
2456
|
+
protoOf(AbstractJsonTreeDecoder).kx = function () {
|
|
2457
|
+
return this.n11_1;
|
|
2469
2458
|
};
|
|
2470
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2471
|
-
return this.
|
|
2459
|
+
protoOf(AbstractJsonTreeDecoder).q = function () {
|
|
2460
|
+
return this.o11_1;
|
|
2472
2461
|
};
|
|
2473
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2474
|
-
return this.
|
|
2462
|
+
protoOf(AbstractJsonTreeDecoder).ij = function () {
|
|
2463
|
+
return this.kx().ij();
|
|
2475
2464
|
};
|
|
2476
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2465
|
+
protoOf(AbstractJsonTreeDecoder).lx = function () {
|
|
2477
2466
|
return currentObject(this);
|
|
2478
2467
|
};
|
|
2479
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2468
|
+
protoOf(AbstractJsonTreeDecoder).si = function (deserializer) {
|
|
2480
2469
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2481
2470
|
};
|
|
2482
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2471
|
+
protoOf(AbstractJsonTreeDecoder).nt = function (parentName, childName) {
|
|
2483
2472
|
return childName;
|
|
2484
2473
|
};
|
|
2485
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2474
|
+
protoOf(AbstractJsonTreeDecoder).ti = function (descriptor) {
|
|
2486
2475
|
var currentObject_0 = currentObject(this);
|
|
2487
|
-
var tmp0_subject = descriptor.
|
|
2476
|
+
var tmp0_subject = descriptor.ah();
|
|
2488
2477
|
var tmp;
|
|
2489
2478
|
var tmp_0;
|
|
2490
2479
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2493,18 +2482,18 @@
|
|
|
2493
2482
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2494
2483
|
}
|
|
2495
2484
|
if (tmp_0) {
|
|
2496
|
-
var tmp_1 = this.
|
|
2485
|
+
var tmp_1 = this.kx();
|
|
2497
2486
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2498
2487
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2499
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2488
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.wg() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2500
2489
|
}
|
|
2501
2490
|
tmp = new JsonTreeListDecoder(tmp_1, currentObject_0);
|
|
2502
2491
|
} else {
|
|
2503
2492
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2504
2493
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2505
|
-
var tmp0_selectMapMode = this.
|
|
2506
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2507
|
-
var keyKind = keyDescriptor.
|
|
2494
|
+
var tmp0_selectMapMode = this.kx();
|
|
2495
|
+
var keyDescriptor = carrierDescriptor(descriptor.ch(0), tmp0_selectMapMode.ij());
|
|
2496
|
+
var keyKind = keyDescriptor.ah();
|
|
2508
2497
|
var tmp_2;
|
|
2509
2498
|
var tmp_3;
|
|
2510
2499
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2514,19 +2503,19 @@
|
|
|
2514
2503
|
}
|
|
2515
2504
|
if (tmp_3) {
|
|
2516
2505
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2517
|
-
var tmp_4 = this.
|
|
2506
|
+
var tmp_4 = this.kx();
|
|
2518
2507
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2519
2508
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2520
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2509
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.wg() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2521
2510
|
}
|
|
2522
2511
|
tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject_0);
|
|
2523
2512
|
} else {
|
|
2524
|
-
if (tmp0_selectMapMode.
|
|
2513
|
+
if (tmp0_selectMapMode.rv_1.ax_1) {
|
|
2525
2514
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2526
|
-
var tmp_5 = this.
|
|
2515
|
+
var tmp_5 = this.kx();
|
|
2527
2516
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2528
2517
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2529
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2518
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.wg() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2530
2519
|
}
|
|
2531
2520
|
tmp_2 = new JsonTreeListDecoder(tmp_5, currentObject_0);
|
|
2532
2521
|
} else {
|
|
@@ -2535,24 +2524,24 @@
|
|
|
2535
2524
|
}
|
|
2536
2525
|
tmp = tmp_2;
|
|
2537
2526
|
} else {
|
|
2538
|
-
var tmp_6 = this.
|
|
2527
|
+
var tmp_6 = this.kx();
|
|
2539
2528
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2540
2529
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2541
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2530
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.wg() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2542
2531
|
}
|
|
2543
2532
|
tmp = new JsonTreeDecoder(tmp_6, currentObject_0);
|
|
2544
2533
|
}
|
|
2545
2534
|
}
|
|
2546
2535
|
return tmp;
|
|
2547
2536
|
};
|
|
2548
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2537
|
+
protoOf(AbstractJsonTreeDecoder).ui = function (descriptor) {
|
|
2549
2538
|
};
|
|
2550
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2539
|
+
protoOf(AbstractJsonTreeDecoder).ei = function () {
|
|
2551
2540
|
var tmp = currentObject(this);
|
|
2552
2541
|
return !(tmp instanceof JsonNull);
|
|
2553
2542
|
};
|
|
2554
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2555
|
-
var currentElement = this.
|
|
2543
|
+
protoOf(AbstractJsonTreeDecoder).r11 = function (tag) {
|
|
2544
|
+
var currentElement = this.q11(tag);
|
|
2556
2545
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2557
2546
|
var tmp;
|
|
2558
2547
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2562,23 +2551,23 @@
|
|
|
2562
2551
|
}
|
|
2563
2552
|
return tmp;
|
|
2564
2553
|
};
|
|
2565
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2566
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2554
|
+
protoOf(AbstractJsonTreeDecoder).s11 = function (tag, enumDescriptor) {
|
|
2555
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.kx(), this.r11(tag).mx());
|
|
2567
2556
|
};
|
|
2568
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2569
|
-
return this.
|
|
2557
|
+
protoOf(AbstractJsonTreeDecoder).zt = function (tag, enumDescriptor) {
|
|
2558
|
+
return this.s11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2570
2559
|
};
|
|
2571
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2572
|
-
return !(this.
|
|
2560
|
+
protoOf(AbstractJsonTreeDecoder).t11 = function (tag) {
|
|
2561
|
+
return !(this.q11(tag) === JsonNull_getInstance());
|
|
2573
2562
|
};
|
|
2574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2575
|
-
return this.
|
|
2563
|
+
protoOf(AbstractJsonTreeDecoder).pt = function (tag) {
|
|
2564
|
+
return this.t11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2576
2565
|
};
|
|
2577
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2578
|
-
var value = this.
|
|
2579
|
-
if (!this.
|
|
2566
|
+
protoOf(AbstractJsonTreeDecoder).u11 = function (tag) {
|
|
2567
|
+
var value = this.r11(tag);
|
|
2568
|
+
if (!this.kx().rv_1.zw_1) {
|
|
2580
2569
|
var literal = asLiteral(value, this, 'boolean');
|
|
2581
|
-
if (literal.
|
|
2570
|
+
if (literal.wx_1)
|
|
2582
2571
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2583
2572
|
}
|
|
2584
2573
|
var tmp$ret$1;
|
|
@@ -2613,14 +2602,14 @@
|
|
|
2613
2602
|
}
|
|
2614
2603
|
return tmp$ret$1;
|
|
2615
2604
|
};
|
|
2616
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2617
|
-
return this.
|
|
2605
|
+
protoOf(AbstractJsonTreeDecoder).qt = function (tag) {
|
|
2606
|
+
return this.u11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2618
2607
|
};
|
|
2619
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2608
|
+
protoOf(AbstractJsonTreeDecoder).v11 = function (tag) {
|
|
2620
2609
|
var tmp$ret$1;
|
|
2621
2610
|
$l$block: {
|
|
2622
2611
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2623
|
-
var tmp0_primitive = this.
|
|
2612
|
+
var tmp0_primitive = this.r11(tag);
|
|
2624
2613
|
try {
|
|
2625
2614
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
2626
2615
|
var result = get_int(tmp0_primitive);
|
|
@@ -2651,14 +2640,14 @@
|
|
|
2651
2640
|
}
|
|
2652
2641
|
return tmp$ret$1;
|
|
2653
2642
|
};
|
|
2654
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2655
|
-
return this.
|
|
2643
|
+
protoOf(AbstractJsonTreeDecoder).rt = function (tag) {
|
|
2644
|
+
return this.v11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2656
2645
|
};
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2646
|
+
protoOf(AbstractJsonTreeDecoder).w11 = function (tag) {
|
|
2658
2647
|
var tmp$ret$1;
|
|
2659
2648
|
$l$block: {
|
|
2660
2649
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2661
|
-
var tmp0_primitive = this.
|
|
2650
|
+
var tmp0_primitive = this.r11(tag);
|
|
2662
2651
|
try {
|
|
2663
2652
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
2664
2653
|
var result = get_int(tmp0_primitive);
|
|
@@ -2689,14 +2678,14 @@
|
|
|
2689
2678
|
}
|
|
2690
2679
|
return tmp$ret$1;
|
|
2691
2680
|
};
|
|
2692
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2693
|
-
return this.
|
|
2681
|
+
protoOf(AbstractJsonTreeDecoder).st = function (tag) {
|
|
2682
|
+
return this.w11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2694
2683
|
};
|
|
2695
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2684
|
+
protoOf(AbstractJsonTreeDecoder).x11 = function (tag) {
|
|
2696
2685
|
var tmp$ret$1;
|
|
2697
2686
|
$l$block: {
|
|
2698
2687
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2699
|
-
var tmp0_primitive = this.
|
|
2688
|
+
var tmp0_primitive = this.r11(tag);
|
|
2700
2689
|
try {
|
|
2701
2690
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
2702
2691
|
var tmp0_elvis_lhs = get_int(tmp0_primitive);
|
|
@@ -2719,14 +2708,14 @@
|
|
|
2719
2708
|
}
|
|
2720
2709
|
return tmp$ret$1;
|
|
2721
2710
|
};
|
|
2722
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2723
|
-
return this.
|
|
2711
|
+
protoOf(AbstractJsonTreeDecoder).tt = function (tag) {
|
|
2712
|
+
return this.x11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2724
2713
|
};
|
|
2725
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2714
|
+
protoOf(AbstractJsonTreeDecoder).y11 = function (tag) {
|
|
2726
2715
|
var tmp$ret$1;
|
|
2727
2716
|
$l$block: {
|
|
2728
2717
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2729
|
-
var tmp0_primitive = this.
|
|
2718
|
+
var tmp0_primitive = this.r11(tag);
|
|
2730
2719
|
try {
|
|
2731
2720
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
2732
2721
|
var tmp0_elvis_lhs = get_long(tmp0_primitive);
|
|
@@ -2749,14 +2738,14 @@
|
|
|
2749
2738
|
}
|
|
2750
2739
|
return tmp$ret$1;
|
|
2751
2740
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2753
|
-
return this.
|
|
2741
|
+
protoOf(AbstractJsonTreeDecoder).ut = function (tag) {
|
|
2742
|
+
return this.y11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2754
2743
|
};
|
|
2755
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2744
|
+
protoOf(AbstractJsonTreeDecoder).z11 = function (tag) {
|
|
2756
2745
|
var tmp$ret$1;
|
|
2757
2746
|
$l$block: {
|
|
2758
2747
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2759
|
-
var tmp0_primitive = this.
|
|
2748
|
+
var tmp0_primitive = this.r11(tag);
|
|
2760
2749
|
try {
|
|
2761
2750
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
2762
2751
|
var tmp0_elvis_lhs = get_float(tmp0_primitive);
|
|
@@ -2778,19 +2767,19 @@
|
|
|
2778
2767
|
}
|
|
2779
2768
|
}
|
|
2780
2769
|
var result = tmp$ret$1;
|
|
2781
|
-
var specialFp = this.
|
|
2770
|
+
var specialFp = this.kx().rv_1.hx_1;
|
|
2782
2771
|
if (specialFp ? true : isFinite(result))
|
|
2783
2772
|
return result;
|
|
2784
2773
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2785
2774
|
};
|
|
2786
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2787
|
-
return this.
|
|
2775
|
+
protoOf(AbstractJsonTreeDecoder).vt = function (tag) {
|
|
2776
|
+
return this.z11((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2788
2777
|
};
|
|
2789
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2778
|
+
protoOf(AbstractJsonTreeDecoder).a12 = function (tag) {
|
|
2790
2779
|
var tmp$ret$1;
|
|
2791
2780
|
$l$block: {
|
|
2792
2781
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2793
|
-
var tmp0_primitive = this.
|
|
2782
|
+
var tmp0_primitive = this.r11(tag);
|
|
2794
2783
|
try {
|
|
2795
2784
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
2796
2785
|
var tmp0_elvis_lhs = get_double(tmp0_primitive);
|
|
@@ -2812,22 +2801,22 @@
|
|
|
2812
2801
|
}
|
|
2813
2802
|
}
|
|
2814
2803
|
var result = tmp$ret$1;
|
|
2815
|
-
var specialFp = this.
|
|
2804
|
+
var specialFp = this.kx().rv_1.hx_1;
|
|
2816
2805
|
if (specialFp ? true : isFinite_0(result))
|
|
2817
2806
|
return result;
|
|
2818
2807
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2819
2808
|
};
|
|
2820
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2821
|
-
return this.
|
|
2809
|
+
protoOf(AbstractJsonTreeDecoder).wt = function (tag) {
|
|
2810
|
+
return this.a12((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2822
2811
|
};
|
|
2823
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2812
|
+
protoOf(AbstractJsonTreeDecoder).b12 = function (tag) {
|
|
2824
2813
|
var tmp$ret$1;
|
|
2825
2814
|
$l$block: {
|
|
2826
2815
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2827
|
-
var tmp0_primitive = this.
|
|
2816
|
+
var tmp0_primitive = this.r11(tag);
|
|
2828
2817
|
try {
|
|
2829
2818
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
2830
|
-
var tmp0_elvis_lhs = single(tmp0_primitive.
|
|
2819
|
+
var tmp0_elvis_lhs = single(tmp0_primitive.mx());
|
|
2831
2820
|
var tmp;
|
|
2832
2821
|
var tmp_0 = tmp0_elvis_lhs;
|
|
2833
2822
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -2848,42 +2837,42 @@
|
|
|
2848
2837
|
}
|
|
2849
2838
|
return tmp$ret$1;
|
|
2850
2839
|
};
|
|
2851
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2852
|
-
return this.
|
|
2840
|
+
protoOf(AbstractJsonTreeDecoder).xt = function (tag) {
|
|
2841
|
+
return this.b12((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2853
2842
|
};
|
|
2854
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2855
|
-
var value = this.
|
|
2856
|
-
if (!this.
|
|
2843
|
+
protoOf(AbstractJsonTreeDecoder).c12 = function (tag) {
|
|
2844
|
+
var value = this.r11(tag);
|
|
2845
|
+
if (!this.kx().rv_1.zw_1) {
|
|
2857
2846
|
var literal = asLiteral(value, this, 'string');
|
|
2858
|
-
if (!literal.
|
|
2847
|
+
if (!literal.wx_1)
|
|
2859
2848
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2860
2849
|
}
|
|
2861
2850
|
if (value instanceof JsonNull)
|
|
2862
2851
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
2863
|
-
return value.
|
|
2852
|
+
return value.mx();
|
|
2864
2853
|
};
|
|
2865
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2866
|
-
return this.
|
|
2854
|
+
protoOf(AbstractJsonTreeDecoder).yt = function (tag) {
|
|
2855
|
+
return this.c12((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2867
2856
|
};
|
|
2868
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2869
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
2857
|
+
protoOf(AbstractJsonTreeDecoder).d12 = function (tag, inlineDescriptor) {
|
|
2858
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.r11(tag).mx()), this.kx()) : protoOf(NamedValueDecoder).au.call(this, tag, inlineDescriptor);
|
|
2870
2859
|
};
|
|
2871
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2872
|
-
return this.
|
|
2860
|
+
protoOf(AbstractJsonTreeDecoder).au = function (tag, inlineDescriptor) {
|
|
2861
|
+
return this.d12((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
2873
2862
|
};
|
|
2874
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2875
|
-
return !(this.
|
|
2863
|
+
protoOf(AbstractJsonTreeDecoder).qi = function (descriptor) {
|
|
2864
|
+
return !(this.mt() == null) ? protoOf(NamedValueDecoder).qi.call(this, descriptor) : (new JsonPrimitiveDecoder(this.kx(), this.q())).qi(descriptor);
|
|
2876
2865
|
};
|
|
2877
2866
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
2878
2867
|
var tmp$ret$1;
|
|
2879
2868
|
$l$block_2: {
|
|
2880
2869
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2881
|
-
var tmp0_tryCoerceValue = $this.
|
|
2882
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
2870
|
+
var tmp0_tryCoerceValue = $this.kx();
|
|
2871
|
+
var tmp1_tryCoerceValue = descriptor.ch(index);
|
|
2883
2872
|
var tmp;
|
|
2884
|
-
if (!tmp1_tryCoerceValue.
|
|
2873
|
+
if (!tmp1_tryCoerceValue.sg()) {
|
|
2885
2874
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2886
|
-
var tmp_0 = $this.
|
|
2875
|
+
var tmp_0 = $this.q11(tag);
|
|
2887
2876
|
tmp = tmp_0 instanceof JsonNull;
|
|
2888
2877
|
} else {
|
|
2889
2878
|
tmp = false;
|
|
@@ -2892,11 +2881,11 @@
|
|
|
2892
2881
|
tmp$ret$1 = true;
|
|
2893
2882
|
break $l$block_2;
|
|
2894
2883
|
}
|
|
2895
|
-
if (equals(tmp1_tryCoerceValue.
|
|
2884
|
+
if (equals(tmp1_tryCoerceValue.ah(), ENUM_getInstance())) {
|
|
2896
2885
|
var tmp_1;
|
|
2897
|
-
if (tmp1_tryCoerceValue.
|
|
2886
|
+
if (tmp1_tryCoerceValue.sg()) {
|
|
2898
2887
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2899
|
-
var tmp_2 = $this.
|
|
2888
|
+
var tmp_2 = $this.q11(tag);
|
|
2900
2889
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
2901
2890
|
} else {
|
|
2902
2891
|
tmp_1 = false;
|
|
@@ -2906,7 +2895,7 @@
|
|
|
2906
2895
|
break $l$block_2;
|
|
2907
2896
|
}
|
|
2908
2897
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2909
|
-
var tmp_3 = $this.
|
|
2898
|
+
var tmp_3 = $this.q11(tag);
|
|
2910
2899
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
2911
2900
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
2912
2901
|
var tmp_4;
|
|
@@ -2930,41 +2919,41 @@
|
|
|
2930
2919
|
return tmp$ret$1;
|
|
2931
2920
|
}
|
|
2932
2921
|
function absenceIsNull($this, descriptor, index) {
|
|
2933
|
-
$this.
|
|
2934
|
-
return $this.
|
|
2922
|
+
$this.n12_1 = (!$this.kx().rv_1.cx_1 ? !descriptor.fh(index) : false) ? descriptor.ch(index).sg() : false;
|
|
2923
|
+
return $this.n12_1;
|
|
2935
2924
|
}
|
|
2936
2925
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
2937
2926
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
2938
2927
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
2939
2928
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2945
|
-
}
|
|
2946
|
-
protoOf(JsonTreeDecoder).
|
|
2947
|
-
return this.
|
|
2948
|
-
};
|
|
2949
|
-
protoOf(JsonTreeDecoder).
|
|
2950
|
-
while (this.
|
|
2951
|
-
var tmp1 = this.
|
|
2952
|
-
this.
|
|
2953
|
-
var name = this.
|
|
2954
|
-
var index = this.
|
|
2955
|
-
this.
|
|
2929
|
+
this.j12_1 = value;
|
|
2930
|
+
this.k12_1 = polyDiscriminator;
|
|
2931
|
+
this.l12_1 = polyDescriptor;
|
|
2932
|
+
this.m12_1 = 0;
|
|
2933
|
+
this.n12_1 = false;
|
|
2934
|
+
}
|
|
2935
|
+
protoOf(JsonTreeDecoder).q = function () {
|
|
2936
|
+
return this.j12_1;
|
|
2937
|
+
};
|
|
2938
|
+
protoOf(JsonTreeDecoder).kj = function (descriptor) {
|
|
2939
|
+
while (this.m12_1 < descriptor.yg()) {
|
|
2940
|
+
var tmp1 = this.m12_1;
|
|
2941
|
+
this.m12_1 = tmp1 + 1 | 0;
|
|
2942
|
+
var name = this.ht(descriptor, tmp1);
|
|
2943
|
+
var index = this.m12_1 - 1 | 0;
|
|
2944
|
+
this.n12_1 = false;
|
|
2956
2945
|
var tmp;
|
|
2957
2946
|
var tmp_0;
|
|
2958
2947
|
// Inline function 'kotlin.collections.contains' call
|
|
2959
|
-
var tmp0_contains = this.
|
|
2948
|
+
var tmp0_contains = this.q();
|
|
2960
2949
|
// Inline function 'kotlin.collections.containsKey' call
|
|
2961
|
-
if ((isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).
|
|
2950
|
+
if ((isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).v1(name)) {
|
|
2962
2951
|
tmp_0 = true;
|
|
2963
2952
|
} else {
|
|
2964
2953
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
2965
2954
|
}
|
|
2966
2955
|
if (tmp_0) {
|
|
2967
|
-
tmp = !this.
|
|
2956
|
+
tmp = !this.p11_1.ex_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
2968
2957
|
} else {
|
|
2969
2958
|
tmp = false;
|
|
2970
2959
|
}
|
|
@@ -2975,21 +2964,21 @@
|
|
|
2975
2964
|
Companion_getInstance();
|
|
2976
2965
|
return -1;
|
|
2977
2966
|
};
|
|
2978
|
-
protoOf(JsonTreeDecoder).
|
|
2979
|
-
return !this.
|
|
2967
|
+
protoOf(JsonTreeDecoder).ei = function () {
|
|
2968
|
+
return !this.n12_1 ? protoOf(AbstractJsonTreeDecoder).ei.call(this) : false;
|
|
2980
2969
|
};
|
|
2981
|
-
protoOf(JsonTreeDecoder).
|
|
2982
|
-
var strategy = namingStrategy(descriptor, this.
|
|
2983
|
-
var baseName = descriptor.
|
|
2970
|
+
protoOf(JsonTreeDecoder).it = function (descriptor, index) {
|
|
2971
|
+
var strategy = namingStrategy(descriptor, this.kx());
|
|
2972
|
+
var baseName = descriptor.eh(index);
|
|
2984
2973
|
if (strategy == null) {
|
|
2985
|
-
if (!this.
|
|
2974
|
+
if (!this.p11_1.ix_1)
|
|
2986
2975
|
return baseName;
|
|
2987
|
-
if (this.
|
|
2976
|
+
if (this.q().z1().b1(baseName))
|
|
2988
2977
|
return baseName;
|
|
2989
2978
|
}
|
|
2990
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
2979
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.kx(), descriptor);
|
|
2991
2980
|
// Inline function 'kotlin.collections.find' call
|
|
2992
|
-
var tmp0_find = this.
|
|
2981
|
+
var tmp0_find = this.q().z1();
|
|
2993
2982
|
var tmp$ret$1;
|
|
2994
2983
|
$l$block: {
|
|
2995
2984
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -2997,7 +2986,7 @@
|
|
|
2997
2986
|
while (tmp0_iterator.d()) {
|
|
2998
2987
|
var element = tmp0_iterator.e();
|
|
2999
2988
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.elementName.<anonymous>' call
|
|
3000
|
-
if (deserializationNamesMap_0.
|
|
2989
|
+
if (deserializationNamesMap_0.y1(element) === index) {
|
|
3001
2990
|
tmp$ret$1 = element;
|
|
3002
2991
|
break $l$block;
|
|
3003
2992
|
}
|
|
@@ -3012,86 +3001,86 @@
|
|
|
3012
3001
|
// Inline function 'kotlin.contracts.contract' call
|
|
3013
3002
|
return tmp0_safe_receiver;
|
|
3014
3003
|
}
|
|
3015
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3004
|
+
var fallbackName = strategy == null ? null : strategy.qy(descriptor, index, baseName);
|
|
3016
3005
|
return fallbackName == null ? baseName : fallbackName;
|
|
3017
3006
|
};
|
|
3018
|
-
protoOf(JsonTreeDecoder).
|
|
3019
|
-
return getValue(this.
|
|
3007
|
+
protoOf(JsonTreeDecoder).q11 = function (tag) {
|
|
3008
|
+
return getValue(this.q(), tag);
|
|
3020
3009
|
};
|
|
3021
|
-
protoOf(JsonTreeDecoder).
|
|
3022
|
-
if (descriptor === this.
|
|
3010
|
+
protoOf(JsonTreeDecoder).ti = function (descriptor) {
|
|
3011
|
+
if (descriptor === this.l12_1)
|
|
3023
3012
|
return this;
|
|
3024
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3013
|
+
return protoOf(AbstractJsonTreeDecoder).ti.call(this, descriptor);
|
|
3025
3014
|
};
|
|
3026
|
-
protoOf(JsonTreeDecoder).
|
|
3015
|
+
protoOf(JsonTreeDecoder).ui = function (descriptor) {
|
|
3027
3016
|
var tmp;
|
|
3028
|
-
if (this.
|
|
3017
|
+
if (this.p11_1.yw_1) {
|
|
3029
3018
|
tmp = true;
|
|
3030
3019
|
} else {
|
|
3031
|
-
var tmp_0 = descriptor.
|
|
3020
|
+
var tmp_0 = descriptor.ah();
|
|
3032
3021
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3033
3022
|
}
|
|
3034
3023
|
if (tmp)
|
|
3035
3024
|
return Unit_getInstance();
|
|
3036
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3025
|
+
var strategy = namingStrategy(descriptor, this.kx());
|
|
3037
3026
|
var tmp_1;
|
|
3038
|
-
if (strategy == null ? !this.
|
|
3027
|
+
if (strategy == null ? !this.p11_1.ix_1 : false) {
|
|
3039
3028
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3040
3029
|
} else if (!(strategy == null)) {
|
|
3041
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3030
|
+
tmp_1 = deserializationNamesMap(this.kx(), descriptor).z1();
|
|
3042
3031
|
} else {
|
|
3043
3032
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3044
3033
|
var tmp$ret$0;
|
|
3045
3034
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3046
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3047
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3035
|
+
var tmp0_safe_receiver = get_schemaCache(this.kx()).q10(descriptor, get_JsonDeserializationNamesKey());
|
|
3036
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1();
|
|
3048
3037
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3049
3038
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
3050
3039
|
}
|
|
3051
3040
|
var names = tmp_1;
|
|
3052
|
-
var tmp1_iterator = this.
|
|
3041
|
+
var tmp1_iterator = this.q().z1().c();
|
|
3053
3042
|
while (tmp1_iterator.d()) {
|
|
3054
3043
|
var key = tmp1_iterator.e();
|
|
3055
|
-
if (!names.
|
|
3056
|
-
throw UnknownKeyException(key, this.
|
|
3044
|
+
if (!names.b1(key) ? !(key === this.k12_1) : false) {
|
|
3045
|
+
throw UnknownKeyException(key, this.q().toString());
|
|
3057
3046
|
}
|
|
3058
3047
|
}
|
|
3059
3048
|
};
|
|
3060
3049
|
function JsonTreeListDecoder(json, value) {
|
|
3061
3050
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3062
|
-
this.
|
|
3063
|
-
this.
|
|
3064
|
-
this.
|
|
3051
|
+
this.t12_1 = value;
|
|
3052
|
+
this.u12_1 = this.t12_1.f();
|
|
3053
|
+
this.v12_1 = -1;
|
|
3065
3054
|
}
|
|
3066
|
-
protoOf(JsonTreeListDecoder).
|
|
3067
|
-
return this.
|
|
3055
|
+
protoOf(JsonTreeListDecoder).q = function () {
|
|
3056
|
+
return this.t12_1;
|
|
3068
3057
|
};
|
|
3069
|
-
protoOf(JsonTreeListDecoder).
|
|
3058
|
+
protoOf(JsonTreeListDecoder).it = function (descriptor, index) {
|
|
3070
3059
|
return index.toString();
|
|
3071
3060
|
};
|
|
3072
|
-
protoOf(JsonTreeListDecoder).
|
|
3073
|
-
return this.
|
|
3061
|
+
protoOf(JsonTreeListDecoder).q11 = function (tag) {
|
|
3062
|
+
return this.t12_1.h(toInt(tag));
|
|
3074
3063
|
};
|
|
3075
|
-
protoOf(JsonTreeListDecoder).
|
|
3076
|
-
while (this.
|
|
3077
|
-
this.
|
|
3078
|
-
return this.
|
|
3064
|
+
protoOf(JsonTreeListDecoder).kj = function (descriptor) {
|
|
3065
|
+
while (this.v12_1 < (this.u12_1 - 1 | 0)) {
|
|
3066
|
+
this.v12_1 = this.v12_1 + 1 | 0;
|
|
3067
|
+
return this.v12_1;
|
|
3079
3068
|
}
|
|
3080
3069
|
Companion_getInstance();
|
|
3081
3070
|
return -1;
|
|
3082
3071
|
};
|
|
3083
3072
|
function JsonPrimitiveDecoder(json, value) {
|
|
3084
3073
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3085
|
-
this.
|
|
3086
|
-
this.
|
|
3074
|
+
this.b13_1 = value;
|
|
3075
|
+
this.bu(get_PRIMITIVE_TAG());
|
|
3087
3076
|
}
|
|
3088
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3089
|
-
return this.
|
|
3077
|
+
protoOf(JsonPrimitiveDecoder).q = function () {
|
|
3078
|
+
return this.b13_1;
|
|
3090
3079
|
};
|
|
3091
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3080
|
+
protoOf(JsonPrimitiveDecoder).kj = function (descriptor) {
|
|
3092
3081
|
return 0;
|
|
3093
3082
|
};
|
|
3094
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3083
|
+
protoOf(JsonPrimitiveDecoder).q11 = function (tag) {
|
|
3095
3084
|
// Inline function 'kotlin.require' call
|
|
3096
3085
|
// Inline function 'kotlin.contracts.contract' call
|
|
3097
3086
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3099,37 +3088,37 @@
|
|
|
3099
3088
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3100
3089
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3101
3090
|
}
|
|
3102
|
-
return this.
|
|
3091
|
+
return this.b13_1;
|
|
3103
3092
|
};
|
|
3104
3093
|
function JsonTreeMapDecoder(json, value) {
|
|
3105
3094
|
JsonTreeDecoder.call(this, json, value);
|
|
3106
|
-
this.
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3109
|
-
this.
|
|
3095
|
+
this.m13_1 = value;
|
|
3096
|
+
this.n13_1 = toList(this.m13_1.z1());
|
|
3097
|
+
this.o13_1 = imul(this.n13_1.f(), 2);
|
|
3098
|
+
this.p13_1 = -1;
|
|
3110
3099
|
}
|
|
3111
|
-
protoOf(JsonTreeMapDecoder).
|
|
3112
|
-
return this.
|
|
3100
|
+
protoOf(JsonTreeMapDecoder).q = function () {
|
|
3101
|
+
return this.m13_1;
|
|
3113
3102
|
};
|
|
3114
|
-
protoOf(JsonTreeMapDecoder).
|
|
3103
|
+
protoOf(JsonTreeMapDecoder).it = function (descriptor, index) {
|
|
3115
3104
|
var i = index / 2 | 0;
|
|
3116
|
-
return this.
|
|
3105
|
+
return this.n13_1.h(i);
|
|
3117
3106
|
};
|
|
3118
|
-
protoOf(JsonTreeMapDecoder).
|
|
3119
|
-
while (this.
|
|
3120
|
-
this.
|
|
3121
|
-
return this.
|
|
3107
|
+
protoOf(JsonTreeMapDecoder).kj = function (descriptor) {
|
|
3108
|
+
while (this.p13_1 < (this.o13_1 - 1 | 0)) {
|
|
3109
|
+
this.p13_1 = this.p13_1 + 1 | 0;
|
|
3110
|
+
return this.p13_1;
|
|
3122
3111
|
}
|
|
3123
3112
|
Companion_getInstance();
|
|
3124
3113
|
return -1;
|
|
3125
3114
|
};
|
|
3126
|
-
protoOf(JsonTreeMapDecoder).
|
|
3127
|
-
return (this.
|
|
3115
|
+
protoOf(JsonTreeMapDecoder).q11 = function (tag) {
|
|
3116
|
+
return (this.p13_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.m13_1, tag);
|
|
3128
3117
|
};
|
|
3129
|
-
protoOf(JsonTreeMapDecoder).
|
|
3118
|
+
protoOf(JsonTreeMapDecoder).ui = function (descriptor) {
|
|
3130
3119
|
};
|
|
3131
3120
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3132
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3121
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.vf())).si(deserializer);
|
|
3133
3122
|
}
|
|
3134
3123
|
function get_PRIMITIVE_TAG() {
|
|
3135
3124
|
return PRIMITIVE_TAG;
|
|
@@ -3151,11 +3140,11 @@
|
|
|
3151
3140
|
}
|
|
3152
3141
|
function WriteMode(name, ordinal, begin, end) {
|
|
3153
3142
|
Enum.call(this, name, ordinal);
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3143
|
+
this.d11_1 = begin;
|
|
3144
|
+
this.e11_1 = end;
|
|
3156
3145
|
}
|
|
3157
3146
|
function switchMode(_this__u8e3s4, desc) {
|
|
3158
|
-
var tmp0_subject = desc.
|
|
3147
|
+
var tmp0_subject = desc.ah();
|
|
3159
3148
|
var tmp;
|
|
3160
3149
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3161
3150
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3165,8 +3154,8 @@
|
|
|
3165
3154
|
} else {
|
|
3166
3155
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3167
3156
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3168
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3169
|
-
var keyKind = keyDescriptor.
|
|
3157
|
+
var keyDescriptor = carrierDescriptor(desc.ch(0), _this__u8e3s4.ij());
|
|
3158
|
+
var keyKind = keyDescriptor.ah();
|
|
3170
3159
|
var tmp_0;
|
|
3171
3160
|
var tmp_1;
|
|
3172
3161
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3178,7 +3167,7 @@
|
|
|
3178
3167
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3179
3168
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3180
3169
|
} else {
|
|
3181
|
-
if (_this__u8e3s4.
|
|
3170
|
+
if (_this__u8e3s4.rv_1.ax_1) {
|
|
3182
3171
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3183
3172
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3184
3173
|
} else {
|
|
@@ -3195,12 +3184,12 @@
|
|
|
3195
3184
|
}
|
|
3196
3185
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3197
3186
|
var tmp;
|
|
3198
|
-
if (equals(_this__u8e3s4.
|
|
3187
|
+
if (equals(_this__u8e3s4.ah(), CONTEXTUAL_getInstance())) {
|
|
3199
3188
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3200
3189
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3201
3190
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3202
|
-
} else if (_this__u8e3s4.
|
|
3203
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3191
|
+
} else if (_this__u8e3s4.zg()) {
|
|
3192
|
+
tmp = carrierDescriptor(_this__u8e3s4.ch(0), module_0);
|
|
3204
3193
|
} else {
|
|
3205
3194
|
tmp = _this__u8e3s4;
|
|
3206
3195
|
}
|
|
@@ -3223,59 +3212,59 @@
|
|
|
3223
3212
|
return WriteMode_POLY_OBJ_instance;
|
|
3224
3213
|
}
|
|
3225
3214
|
function appendEscape($this, lastPosition, current) {
|
|
3226
|
-
$this.
|
|
3215
|
+
$this.q13(lastPosition, current);
|
|
3227
3216
|
return appendEsc($this, current + 1 | 0);
|
|
3228
3217
|
}
|
|
3229
3218
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3230
|
-
$this.
|
|
3231
|
-
var result = $this.
|
|
3232
|
-
$this.
|
|
3219
|
+
$this.q13(lastPosition, currentPosition);
|
|
3220
|
+
var result = $this.hw_1.toString();
|
|
3221
|
+
$this.hw_1.ed(0);
|
|
3233
3222
|
return result;
|
|
3234
3223
|
}
|
|
3235
3224
|
function takePeeked($this) {
|
|
3236
3225
|
// Inline function 'kotlin.also' call
|
|
3237
|
-
var tmp0_also = ensureNotNull($this.
|
|
3226
|
+
var tmp0_also = ensureNotNull($this.gw_1);
|
|
3238
3227
|
// Inline function 'kotlin.contracts.contract' call
|
|
3239
3228
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3240
|
-
$this.
|
|
3229
|
+
$this.gw_1 = null;
|
|
3241
3230
|
return tmp0_also;
|
|
3242
3231
|
}
|
|
3243
3232
|
function wasUnquotedString($this) {
|
|
3244
|
-
return !(charSequenceGet($this.
|
|
3233
|
+
return !(charSequenceGet($this.r13(), $this.ew_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3245
3234
|
}
|
|
3246
3235
|
function appendEsc($this, startPosition) {
|
|
3247
3236
|
var currentPosition = startPosition;
|
|
3248
|
-
currentPosition = $this.
|
|
3237
|
+
currentPosition = $this.s13(currentPosition);
|
|
3249
3238
|
if (currentPosition === -1) {
|
|
3250
|
-
$this.
|
|
3239
|
+
$this.my('Expected escape sequence to continue, got EOF');
|
|
3251
3240
|
}
|
|
3252
|
-
var tmp = $this.
|
|
3241
|
+
var tmp = $this.r13();
|
|
3253
3242
|
var tmp0 = currentPosition;
|
|
3254
3243
|
currentPosition = tmp0 + 1 | 0;
|
|
3255
3244
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3256
3245
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3257
|
-
return appendHex($this, $this.
|
|
3246
|
+
return appendHex($this, $this.r13(), currentPosition);
|
|
3258
3247
|
}
|
|
3259
3248
|
var tmp$ret$0;
|
|
3260
3249
|
// Inline function 'kotlin.code' call
|
|
3261
3250
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3262
3251
|
var c = escapeToChar(tmp$ret$0);
|
|
3263
3252
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3264
|
-
$this.
|
|
3253
|
+
$this.my("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3265
3254
|
}
|
|
3266
|
-
$this.
|
|
3255
|
+
$this.hw_1.r4(c);
|
|
3267
3256
|
return currentPosition;
|
|
3268
3257
|
}
|
|
3269
3258
|
function appendHex($this, source, startPos) {
|
|
3270
3259
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3271
|
-
$this.
|
|
3272
|
-
$this.
|
|
3273
|
-
if (($this.
|
|
3274
|
-
$this.
|
|
3260
|
+
$this.ew_1 = startPos;
|
|
3261
|
+
$this.t13();
|
|
3262
|
+
if (($this.ew_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3263
|
+
$this.my('Unexpected EOF during unicode escape');
|
|
3275
3264
|
}
|
|
3276
|
-
return appendHex($this, source, $this.
|
|
3265
|
+
return appendHex($this, source, $this.ew_1);
|
|
3277
3266
|
}
|
|
3278
|
-
$this.
|
|
3267
|
+
$this.hw_1.r4(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));
|
|
3279
3268
|
return startPos + 4 | 0;
|
|
3280
3269
|
}
|
|
3281
3270
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3297,17 +3286,17 @@
|
|
|
3297
3286
|
// Inline function 'kotlin.code' call
|
|
3298
3287
|
tmp = (tmp_2 - 65 | 0) + 10 | 0;
|
|
3299
3288
|
} else {
|
|
3300
|
-
$this.
|
|
3289
|
+
$this.my("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3301
3290
|
}
|
|
3302
3291
|
return tmp;
|
|
3303
3292
|
}
|
|
3304
3293
|
function consumeBoolean($this, start) {
|
|
3305
|
-
var current = $this.
|
|
3306
|
-
if (current >= charSequenceLength($this.
|
|
3307
|
-
$this.
|
|
3294
|
+
var current = $this.s13(start);
|
|
3295
|
+
if (current >= charSequenceLength($this.r13()) ? true : current === -1) {
|
|
3296
|
+
$this.my('EOF');
|
|
3308
3297
|
}
|
|
3309
3298
|
// Inline function 'kotlin.code' call
|
|
3310
|
-
var tmp = $this.
|
|
3299
|
+
var tmp = $this.r13();
|
|
3311
3300
|
var tmp0 = current;
|
|
3312
3301
|
current = tmp0 + 1 | 0;
|
|
3313
3302
|
var tmp0_get_code_gknlva = charSequenceGet(tmp, tmp0);
|
|
@@ -3323,14 +3312,14 @@
|
|
|
3323
3312
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3324
3313
|
tmp_0 = false;
|
|
3325
3314
|
} else {
|
|
3326
|
-
$this.
|
|
3315
|
+
$this.my("Expected valid boolean literal prefix, but had '" + $this.hz() + "'");
|
|
3327
3316
|
}
|
|
3328
3317
|
}
|
|
3329
3318
|
return tmp_0;
|
|
3330
3319
|
}
|
|
3331
3320
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3332
|
-
if ((charSequenceLength($this.
|
|
3333
|
-
$this.
|
|
3321
|
+
if ((charSequenceLength($this.r13()) - current | 0) < literalSuffix.length) {
|
|
3322
|
+
$this.my('Unexpected end of boolean literal');
|
|
3334
3323
|
}
|
|
3335
3324
|
var inductionVariable = 0;
|
|
3336
3325
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3339,47 +3328,47 @@
|
|
|
3339
3328
|
var i = inductionVariable;
|
|
3340
3329
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3341
3330
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3342
|
-
var actual = charSequenceGet($this.
|
|
3331
|
+
var actual = charSequenceGet($this.r13(), current + i | 0);
|
|
3343
3332
|
// Inline function 'kotlin.code' call
|
|
3344
3333
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
3345
3334
|
// Inline function 'kotlin.code' call
|
|
3346
3335
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
3347
|
-
$this.
|
|
3336
|
+
$this.my("Expected valid boolean literal prefix, but had '" + $this.hz() + "'");
|
|
3348
3337
|
}
|
|
3349
3338
|
}
|
|
3350
3339
|
while (inductionVariable <= last);
|
|
3351
|
-
$this.
|
|
3340
|
+
$this.ew_1 = current + literalSuffix.length | 0;
|
|
3352
3341
|
}
|
|
3353
3342
|
function AbstractJsonLexer() {
|
|
3354
|
-
this.
|
|
3355
|
-
this.
|
|
3356
|
-
this.
|
|
3357
|
-
this.
|
|
3343
|
+
this.ew_1 = 0;
|
|
3344
|
+
this.fw_1 = new JsonPath();
|
|
3345
|
+
this.gw_1 = null;
|
|
3346
|
+
this.hw_1 = StringBuilder_init_$Create$();
|
|
3358
3347
|
}
|
|
3359
|
-
protoOf(AbstractJsonLexer).
|
|
3348
|
+
protoOf(AbstractJsonLexer).t13 = function () {
|
|
3360
3349
|
};
|
|
3361
|
-
protoOf(AbstractJsonLexer).
|
|
3350
|
+
protoOf(AbstractJsonLexer).u13 = function (c) {
|
|
3362
3351
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
3363
3352
|
};
|
|
3364
|
-
protoOf(AbstractJsonLexer).
|
|
3365
|
-
var nextToken = this.
|
|
3353
|
+
protoOf(AbstractJsonLexer).iw = function () {
|
|
3354
|
+
var nextToken = this.jz();
|
|
3366
3355
|
if (!(nextToken === 10)) {
|
|
3367
|
-
this.
|
|
3356
|
+
this.my('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.r13(), this.ew_1 - 1 | 0)) + ' instead');
|
|
3368
3357
|
}
|
|
3369
3358
|
};
|
|
3370
|
-
protoOf(AbstractJsonLexer).
|
|
3371
|
-
var token = this.
|
|
3359
|
+
protoOf(AbstractJsonLexer).dz = function (expected) {
|
|
3360
|
+
var token = this.jz();
|
|
3372
3361
|
if (!(token === expected)) {
|
|
3373
|
-
this.
|
|
3362
|
+
this.v13(expected);
|
|
3374
3363
|
}
|
|
3375
3364
|
return token;
|
|
3376
3365
|
};
|
|
3377
|
-
protoOf(AbstractJsonLexer).
|
|
3378
|
-
this.
|
|
3379
|
-
var source = this.
|
|
3380
|
-
var cpos = this.
|
|
3366
|
+
protoOf(AbstractJsonLexer).s10 = function (expected) {
|
|
3367
|
+
this.t13();
|
|
3368
|
+
var source = this.r13();
|
|
3369
|
+
var cpos = this.ew_1;
|
|
3381
3370
|
$l$loop_0: while (true) {
|
|
3382
|
-
cpos = this.
|
|
3371
|
+
cpos = this.s13(cpos);
|
|
3383
3372
|
if (cpos === -1)
|
|
3384
3373
|
break $l$loop_0;
|
|
3385
3374
|
var tmp0 = cpos;
|
|
@@ -3387,31 +3376,31 @@
|
|
|
3387
3376
|
var c = charSequenceGet(source, tmp0);
|
|
3388
3377
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
3389
3378
|
continue $l$loop_0;
|
|
3390
|
-
this.
|
|
3379
|
+
this.ew_1 = cpos;
|
|
3391
3380
|
if (c === expected)
|
|
3392
3381
|
return Unit_getInstance();
|
|
3393
|
-
this.
|
|
3382
|
+
this.w13(expected);
|
|
3394
3383
|
}
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3384
|
+
this.ew_1 = cpos;
|
|
3385
|
+
this.w13(expected);
|
|
3397
3386
|
};
|
|
3398
|
-
protoOf(AbstractJsonLexer).
|
|
3399
|
-
this.
|
|
3400
|
-
if ((this.
|
|
3401
|
-
this.
|
|
3387
|
+
protoOf(AbstractJsonLexer).w13 = function (expected) {
|
|
3388
|
+
this.ew_1 = this.ew_1 - 1 | 0;
|
|
3389
|
+
if ((this.ew_1 >= 0 ? expected === _Char___init__impl__6a9atx(34) : false) ? this.hz() === 'null' : false) {
|
|
3390
|
+
this.x13("Expected string literal but 'null' literal was found", this.ew_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3402
3391
|
}
|
|
3403
|
-
this.
|
|
3392
|
+
this.v13(charToTokenClass(expected));
|
|
3404
3393
|
};
|
|
3405
|
-
protoOf(AbstractJsonLexer).
|
|
3394
|
+
protoOf(AbstractJsonLexer).v13 = function (expectedToken) {
|
|
3406
3395
|
var expected = expectedToken === 1 ? "quotation mark '\"'" : expectedToken === 4 ? "comma ','" : expectedToken === 5 ? "colon ':'" : expectedToken === 6 ? "start of the object '{'" : expectedToken === 7 ? "end of the object '}'" : expectedToken === 8 ? "start of the array '['" : expectedToken === 9 ? "end of the array ']'" : 'valid token';
|
|
3407
|
-
var s = (this.
|
|
3408
|
-
this.
|
|
3396
|
+
var s = (this.ew_1 === charSequenceLength(this.r13()) ? true : this.ew_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.r13(), this.ew_1 - 1 | 0));
|
|
3397
|
+
this.my('Expected ' + expected + ", but had '" + s + "' instead", this.ew_1 - 1 | 0);
|
|
3409
3398
|
};
|
|
3410
|
-
protoOf(AbstractJsonLexer).
|
|
3411
|
-
var source = this.
|
|
3412
|
-
var cpos = this.
|
|
3399
|
+
protoOf(AbstractJsonLexer).ez = function () {
|
|
3400
|
+
var source = this.r13();
|
|
3401
|
+
var cpos = this.ew_1;
|
|
3413
3402
|
$l$loop_0: while (true) {
|
|
3414
|
-
cpos = this.
|
|
3403
|
+
cpos = this.s13(cpos);
|
|
3415
3404
|
if (cpos === -1)
|
|
3416
3405
|
break $l$loop_0;
|
|
3417
3406
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3419,16 +3408,16 @@
|
|
|
3419
3408
|
cpos = cpos + 1 | 0;
|
|
3420
3409
|
continue $l$loop_0;
|
|
3421
3410
|
}
|
|
3422
|
-
this.
|
|
3411
|
+
this.ew_1 = cpos;
|
|
3423
3412
|
return charToTokenClass(ch);
|
|
3424
3413
|
}
|
|
3425
|
-
this.
|
|
3414
|
+
this.ew_1 = cpos;
|
|
3426
3415
|
return 10;
|
|
3427
3416
|
};
|
|
3428
|
-
protoOf(AbstractJsonLexer).
|
|
3429
|
-
var current = this.
|
|
3430
|
-
current = this.
|
|
3431
|
-
var len = charSequenceLength(this.
|
|
3417
|
+
protoOf(AbstractJsonLexer).u10 = function (doConsume) {
|
|
3418
|
+
var current = this.y13();
|
|
3419
|
+
current = this.s13(current);
|
|
3420
|
+
var len = charSequenceLength(this.r13()) - current | 0;
|
|
3432
3421
|
if (len < 4 ? true : current === -1)
|
|
3433
3422
|
return false;
|
|
3434
3423
|
var inductionVariable = 0;
|
|
@@ -3436,63 +3425,63 @@
|
|
|
3436
3425
|
do {
|
|
3437
3426
|
var i = inductionVariable;
|
|
3438
3427
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3439
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
3428
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.r13(), current + i | 0)))
|
|
3440
3429
|
return false;
|
|
3441
3430
|
}
|
|
3442
3431
|
while (inductionVariable <= 3);
|
|
3443
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3432
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.r13(), current + 4 | 0)) === 0 : false)
|
|
3444
3433
|
return false;
|
|
3445
3434
|
if (doConsume) {
|
|
3446
|
-
this.
|
|
3435
|
+
this.ew_1 = current + 4 | 0;
|
|
3447
3436
|
}
|
|
3448
3437
|
return true;
|
|
3449
3438
|
};
|
|
3450
|
-
protoOf(AbstractJsonLexer).
|
|
3439
|
+
protoOf(AbstractJsonLexer).f11 = function (doConsume, $super) {
|
|
3451
3440
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3452
|
-
return $super === VOID ? this.
|
|
3441
|
+
return $super === VOID ? this.u10(doConsume) : $super.u10.call(this, doConsume);
|
|
3453
3442
|
};
|
|
3454
|
-
protoOf(AbstractJsonLexer).
|
|
3455
|
-
var current = this.
|
|
3443
|
+
protoOf(AbstractJsonLexer).y13 = function () {
|
|
3444
|
+
var current = this.ew_1;
|
|
3456
3445
|
$l$loop_0: while (true) {
|
|
3457
|
-
current = this.
|
|
3446
|
+
current = this.s13(current);
|
|
3458
3447
|
if (current === -1)
|
|
3459
3448
|
break $l$loop_0;
|
|
3460
|
-
var c = charSequenceGet(this.
|
|
3449
|
+
var c = charSequenceGet(this.r13(), current);
|
|
3461
3450
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3462
3451
|
current = current + 1 | 0;
|
|
3463
3452
|
} else {
|
|
3464
3453
|
break $l$loop_0;
|
|
3465
3454
|
}
|
|
3466
3455
|
}
|
|
3467
|
-
this.
|
|
3456
|
+
this.ew_1 = current;
|
|
3468
3457
|
return current;
|
|
3469
3458
|
};
|
|
3470
|
-
protoOf(AbstractJsonLexer).
|
|
3471
|
-
var token = this.
|
|
3459
|
+
protoOf(AbstractJsonLexer).v10 = function (isLenient) {
|
|
3460
|
+
var token = this.ez();
|
|
3472
3461
|
var tmp;
|
|
3473
3462
|
if (isLenient) {
|
|
3474
3463
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3475
3464
|
return null;
|
|
3476
|
-
tmp = this.
|
|
3465
|
+
tmp = this.hz();
|
|
3477
3466
|
} else {
|
|
3478
3467
|
if (!(token === 1))
|
|
3479
3468
|
return null;
|
|
3480
|
-
tmp = this.
|
|
3469
|
+
tmp = this.gz();
|
|
3481
3470
|
}
|
|
3482
3471
|
var string = tmp;
|
|
3483
|
-
this.
|
|
3472
|
+
this.gw_1 = string;
|
|
3484
3473
|
return string;
|
|
3485
3474
|
};
|
|
3486
|
-
protoOf(AbstractJsonLexer).
|
|
3475
|
+
protoOf(AbstractJsonLexer).z13 = function (startPos, endPos) {
|
|
3487
3476
|
// Inline function 'kotlin.text.substring' call
|
|
3488
|
-
var tmp0_substring = this.
|
|
3477
|
+
var tmp0_substring = this.r13();
|
|
3489
3478
|
return toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3490
3479
|
};
|
|
3491
|
-
protoOf(AbstractJsonLexer).
|
|
3492
|
-
if (!(this.
|
|
3480
|
+
protoOf(AbstractJsonLexer).gz = function () {
|
|
3481
|
+
if (!(this.gw_1 == null)) {
|
|
3493
3482
|
return takePeeked(this);
|
|
3494
3483
|
}
|
|
3495
|
-
return this.
|
|
3484
|
+
return this.y10();
|
|
3496
3485
|
};
|
|
3497
3486
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3498
3487
|
var currentPosition = current;
|
|
@@ -3502,19 +3491,19 @@
|
|
|
3502
3491
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
3503
3492
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3504
3493
|
usedAppend = true;
|
|
3505
|
-
currentPosition = this.
|
|
3494
|
+
currentPosition = this.s13(appendEscape(this, lastPosition, currentPosition));
|
|
3506
3495
|
if (currentPosition === -1) {
|
|
3507
|
-
this.
|
|
3496
|
+
this.my('EOF', currentPosition);
|
|
3508
3497
|
}
|
|
3509
3498
|
lastPosition = currentPosition;
|
|
3510
3499
|
} else {
|
|
3511
3500
|
currentPosition = currentPosition + 1 | 0;
|
|
3512
3501
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3513
3502
|
usedAppend = true;
|
|
3514
|
-
this.
|
|
3515
|
-
currentPosition = this.
|
|
3503
|
+
this.q13(lastPosition, currentPosition);
|
|
3504
|
+
currentPosition = this.s13(currentPosition);
|
|
3516
3505
|
if (currentPosition === -1) {
|
|
3517
|
-
this.
|
|
3506
|
+
this.my('EOF', currentPosition);
|
|
3518
3507
|
}
|
|
3519
3508
|
lastPosition = currentPosition;
|
|
3520
3509
|
}
|
|
@@ -3523,45 +3512,45 @@
|
|
|
3523
3512
|
}
|
|
3524
3513
|
var tmp;
|
|
3525
3514
|
if (!usedAppend) {
|
|
3526
|
-
tmp = this.
|
|
3515
|
+
tmp = this.z13(lastPosition, currentPosition);
|
|
3527
3516
|
} else {
|
|
3528
3517
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3529
3518
|
}
|
|
3530
3519
|
var string = tmp;
|
|
3531
|
-
this.
|
|
3520
|
+
this.ew_1 = currentPosition + 1 | 0;
|
|
3532
3521
|
return string;
|
|
3533
3522
|
};
|
|
3534
|
-
protoOf(AbstractJsonLexer).
|
|
3535
|
-
var result = this.
|
|
3523
|
+
protoOf(AbstractJsonLexer).z10 = function () {
|
|
3524
|
+
var result = this.hz();
|
|
3536
3525
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3537
|
-
this.
|
|
3526
|
+
this.my("Unexpected 'null' value instead of string literal");
|
|
3538
3527
|
}
|
|
3539
3528
|
return result;
|
|
3540
3529
|
};
|
|
3541
|
-
protoOf(AbstractJsonLexer).
|
|
3542
|
-
if (!(this.
|
|
3530
|
+
protoOf(AbstractJsonLexer).hz = function () {
|
|
3531
|
+
if (!(this.gw_1 == null)) {
|
|
3543
3532
|
return takePeeked(this);
|
|
3544
3533
|
}
|
|
3545
|
-
var current = this.
|
|
3546
|
-
if (current >= charSequenceLength(this.
|
|
3547
|
-
this.
|
|
3534
|
+
var current = this.y13();
|
|
3535
|
+
if (current >= charSequenceLength(this.r13()) ? true : current === -1) {
|
|
3536
|
+
this.my('EOF', current);
|
|
3548
3537
|
}
|
|
3549
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3538
|
+
var token = charToTokenClass(charSequenceGet(this.r13(), current));
|
|
3550
3539
|
if (token === 1) {
|
|
3551
|
-
return this.
|
|
3540
|
+
return this.gz();
|
|
3552
3541
|
}
|
|
3553
3542
|
if (!(token === 0)) {
|
|
3554
|
-
this.
|
|
3543
|
+
this.my('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.r13(), current)));
|
|
3555
3544
|
}
|
|
3556
3545
|
var usedAppend = false;
|
|
3557
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3546
|
+
while (charToTokenClass(charSequenceGet(this.r13(), current)) === 0) {
|
|
3558
3547
|
current = current + 1 | 0;
|
|
3559
|
-
if (current >= charSequenceLength(this.
|
|
3548
|
+
if (current >= charSequenceLength(this.r13())) {
|
|
3560
3549
|
usedAppend = true;
|
|
3561
|
-
this.
|
|
3562
|
-
var eof = this.
|
|
3550
|
+
this.q13(this.ew_1, current);
|
|
3551
|
+
var eof = this.s13(current);
|
|
3563
3552
|
if (eof === -1) {
|
|
3564
|
-
this.
|
|
3553
|
+
this.ew_1 = current;
|
|
3565
3554
|
return decodedString(this, 0, 0);
|
|
3566
3555
|
} else {
|
|
3567
3556
|
current = eof;
|
|
@@ -3570,32 +3559,32 @@
|
|
|
3570
3559
|
}
|
|
3571
3560
|
var tmp;
|
|
3572
3561
|
if (!usedAppend) {
|
|
3573
|
-
tmp = this.
|
|
3562
|
+
tmp = this.z13(this.ew_1, current);
|
|
3574
3563
|
} else {
|
|
3575
|
-
tmp = decodedString(this, this.
|
|
3564
|
+
tmp = decodedString(this, this.ew_1, current);
|
|
3576
3565
|
}
|
|
3577
3566
|
var result = tmp;
|
|
3578
|
-
this.
|
|
3567
|
+
this.ew_1 = current;
|
|
3579
3568
|
return result;
|
|
3580
3569
|
};
|
|
3581
|
-
protoOf(AbstractJsonLexer).
|
|
3582
|
-
this.
|
|
3570
|
+
protoOf(AbstractJsonLexer).q13 = function (fromIndex, toIndex) {
|
|
3571
|
+
this.hw_1.dd(this.r13(), fromIndex, toIndex);
|
|
3583
3572
|
};
|
|
3584
|
-
protoOf(AbstractJsonLexer).
|
|
3573
|
+
protoOf(AbstractJsonLexer).x10 = function (allowLenientStrings) {
|
|
3585
3574
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3586
3575
|
var tokenStack = ArrayList_init_$Create$();
|
|
3587
|
-
var lastToken = this.
|
|
3576
|
+
var lastToken = this.ez();
|
|
3588
3577
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3589
|
-
this.
|
|
3578
|
+
this.hz();
|
|
3590
3579
|
return Unit_getInstance();
|
|
3591
3580
|
}
|
|
3592
3581
|
$l$loop: while (true) {
|
|
3593
|
-
lastToken = this.
|
|
3582
|
+
lastToken = this.ez();
|
|
3594
3583
|
if (lastToken === 1) {
|
|
3595
3584
|
if (allowLenientStrings) {
|
|
3596
|
-
this.
|
|
3585
|
+
this.hz();
|
|
3597
3586
|
} else {
|
|
3598
|
-
this.
|
|
3587
|
+
this.y10();
|
|
3599
3588
|
}
|
|
3600
3589
|
continue $l$loop;
|
|
3601
3590
|
}
|
|
@@ -3604,29 +3593,29 @@
|
|
|
3604
3593
|
tokenStack.a(lastToken);
|
|
3605
3594
|
} else if (tmp0_subject === 9) {
|
|
3606
3595
|
if (!(last(tokenStack) === 8))
|
|
3607
|
-
throw JsonDecodingException_0(this.
|
|
3596
|
+
throw JsonDecodingException_0(this.ew_1, 'found ] instead of } at path: ' + this.fw_1, this.r13());
|
|
3608
3597
|
removeLast(tokenStack);
|
|
3609
3598
|
} else if (tmp0_subject === 7) {
|
|
3610
3599
|
if (!(last(tokenStack) === 6))
|
|
3611
|
-
throw JsonDecodingException_0(this.
|
|
3600
|
+
throw JsonDecodingException_0(this.ew_1, 'found } instead of ] at path: ' + this.fw_1, this.r13());
|
|
3612
3601
|
removeLast(tokenStack);
|
|
3613
3602
|
} else if (tmp0_subject === 10) {
|
|
3614
|
-
this.
|
|
3603
|
+
this.my('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3615
3604
|
}
|
|
3616
|
-
this.
|
|
3605
|
+
this.jz();
|
|
3617
3606
|
if (tokenStack.f() === 0)
|
|
3618
3607
|
return Unit_getInstance();
|
|
3619
3608
|
}
|
|
3620
3609
|
};
|
|
3621
3610
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3622
|
-
return "JsonReader(source='" + this.
|
|
3611
|
+
return "JsonReader(source='" + this.r13() + "', currentPosition=" + this.ew_1 + ')';
|
|
3623
3612
|
};
|
|
3624
|
-
protoOf(AbstractJsonLexer).
|
|
3625
|
-
var processed = this.
|
|
3613
|
+
protoOf(AbstractJsonLexer).w10 = function (key) {
|
|
3614
|
+
var processed = this.z13(0, this.ew_1);
|
|
3626
3615
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3627
|
-
this.
|
|
3616
|
+
this.x13("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3628
3617
|
};
|
|
3629
|
-
protoOf(AbstractJsonLexer).
|
|
3618
|
+
protoOf(AbstractJsonLexer).x13 = function (message, position, hint) {
|
|
3630
3619
|
var tmp;
|
|
3631
3620
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3632
3621
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -3635,24 +3624,24 @@
|
|
|
3635
3624
|
tmp = '\n' + hint;
|
|
3636
3625
|
}
|
|
3637
3626
|
var hintMessage = tmp;
|
|
3638
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3627
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.fw_1.zy() + hintMessage, this.r13());
|
|
3639
3628
|
};
|
|
3640
|
-
protoOf(AbstractJsonLexer).
|
|
3641
|
-
position = position === VOID ? this.
|
|
3629
|
+
protoOf(AbstractJsonLexer).my = function (message, position, hint, $super) {
|
|
3630
|
+
position = position === VOID ? this.ew_1 : position;
|
|
3642
3631
|
hint = hint === VOID ? '' : hint;
|
|
3643
|
-
return $super === VOID ? this.
|
|
3632
|
+
return $super === VOID ? this.x13(message, position, hint) : $super.x13.call(this, message, position, hint);
|
|
3644
3633
|
};
|
|
3645
|
-
protoOf(AbstractJsonLexer).
|
|
3646
|
-
var current = this.
|
|
3647
|
-
current = this.
|
|
3648
|
-
if (current >= charSequenceLength(this.
|
|
3649
|
-
this.
|
|
3634
|
+
protoOf(AbstractJsonLexer).i11 = function () {
|
|
3635
|
+
var current = this.y13();
|
|
3636
|
+
current = this.s13(current);
|
|
3637
|
+
if (current >= charSequenceLength(this.r13()) ? true : current === -1) {
|
|
3638
|
+
this.my('EOF');
|
|
3650
3639
|
}
|
|
3651
3640
|
var tmp;
|
|
3652
|
-
if (charSequenceGet(this.
|
|
3641
|
+
if (charSequenceGet(this.r13(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3653
3642
|
current = current + 1 | 0;
|
|
3654
|
-
if (current === charSequenceLength(this.
|
|
3655
|
-
this.
|
|
3643
|
+
if (current === charSequenceLength(this.r13())) {
|
|
3644
|
+
this.my('EOF');
|
|
3656
3645
|
}
|
|
3657
3646
|
tmp = true;
|
|
3658
3647
|
} else {
|
|
@@ -3664,10 +3653,10 @@
|
|
|
3664
3653
|
var start = current;
|
|
3665
3654
|
var hasChars = true;
|
|
3666
3655
|
$l$loop_0: while (hasChars) {
|
|
3667
|
-
var ch = charSequenceGet(this.
|
|
3656
|
+
var ch = charSequenceGet(this.r13(), current);
|
|
3668
3657
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
3669
3658
|
if (!(current === start)) {
|
|
3670
|
-
this.
|
|
3659
|
+
this.my("Unexpected symbol '-' in numeric literal");
|
|
3671
3660
|
}
|
|
3672
3661
|
isNegative = true;
|
|
3673
3662
|
current = current + 1 | 0;
|
|
@@ -3677,31 +3666,31 @@
|
|
|
3677
3666
|
if (!(token === 0))
|
|
3678
3667
|
break $l$loop_0;
|
|
3679
3668
|
current = current + 1 | 0;
|
|
3680
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3669
|
+
hasChars = !(current === charSequenceLength(this.r13()));
|
|
3681
3670
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3682
3671
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3683
|
-
this.
|
|
3672
|
+
this.my("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3684
3673
|
}
|
|
3685
3674
|
// Inline function 'kotlin.Long.minus' call
|
|
3686
3675
|
// Inline function 'kotlin.Long.times' call
|
|
3687
|
-
accumulator = accumulator.
|
|
3688
|
-
if (accumulator.
|
|
3689
|
-
this.
|
|
3676
|
+
accumulator = accumulator.u4(new Long(10, 0)).w4(toLong_0(digit));
|
|
3677
|
+
if (accumulator.y(new Long(0, 0)) > 0) {
|
|
3678
|
+
this.my('Numeric value overflow');
|
|
3690
3679
|
}
|
|
3691
3680
|
}
|
|
3692
3681
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3693
|
-
this.
|
|
3682
|
+
this.my('Expected numeric literal');
|
|
3694
3683
|
}
|
|
3695
3684
|
if (hasQuotation) {
|
|
3696
3685
|
if (!hasChars) {
|
|
3697
|
-
this.
|
|
3686
|
+
this.my('EOF');
|
|
3698
3687
|
}
|
|
3699
|
-
if (!(charSequenceGet(this.
|
|
3700
|
-
this.
|
|
3688
|
+
if (!(charSequenceGet(this.r13(), current) === _Char___init__impl__6a9atx(34))) {
|
|
3689
|
+
this.my('Expected closing quotation mark');
|
|
3701
3690
|
}
|
|
3702
3691
|
current = current + 1 | 0;
|
|
3703
3692
|
}
|
|
3704
|
-
this.
|
|
3693
|
+
this.ew_1 = current;
|
|
3705
3694
|
var tmp_0;
|
|
3706
3695
|
if (isNegative) {
|
|
3707
3696
|
tmp_0 = accumulator;
|
|
@@ -3709,23 +3698,23 @@
|
|
|
3709
3698
|
var tmp_1 = accumulator;
|
|
3710
3699
|
Companion_getInstance_4();
|
|
3711
3700
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
3712
|
-
tmp_0 = accumulator.
|
|
3701
|
+
tmp_0 = accumulator.s4();
|
|
3713
3702
|
} else {
|
|
3714
|
-
this.
|
|
3703
|
+
this.my('Numeric value overflow');
|
|
3715
3704
|
}
|
|
3716
3705
|
}
|
|
3717
3706
|
return tmp_0;
|
|
3718
3707
|
};
|
|
3719
|
-
protoOf(AbstractJsonLexer).
|
|
3720
|
-
return consumeBoolean(this, this.
|
|
3708
|
+
protoOf(AbstractJsonLexer).g11 = function () {
|
|
3709
|
+
return consumeBoolean(this, this.y13());
|
|
3721
3710
|
};
|
|
3722
|
-
protoOf(AbstractJsonLexer).
|
|
3723
|
-
var current = this.
|
|
3724
|
-
if (current === charSequenceLength(this.
|
|
3725
|
-
this.
|
|
3711
|
+
protoOf(AbstractJsonLexer).h11 = function () {
|
|
3712
|
+
var current = this.y13();
|
|
3713
|
+
if (current === charSequenceLength(this.r13())) {
|
|
3714
|
+
this.my('EOF');
|
|
3726
3715
|
}
|
|
3727
3716
|
var tmp;
|
|
3728
|
-
if (charSequenceGet(this.
|
|
3717
|
+
if (charSequenceGet(this.r13(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3729
3718
|
current = current + 1 | 0;
|
|
3730
3719
|
tmp = true;
|
|
3731
3720
|
} else {
|
|
@@ -3734,13 +3723,13 @@
|
|
|
3734
3723
|
var hasQuotation = tmp;
|
|
3735
3724
|
var result = consumeBoolean(this, current);
|
|
3736
3725
|
if (hasQuotation) {
|
|
3737
|
-
if (this.
|
|
3738
|
-
this.
|
|
3726
|
+
if (this.ew_1 === charSequenceLength(this.r13())) {
|
|
3727
|
+
this.my('EOF');
|
|
3739
3728
|
}
|
|
3740
|
-
if (!(charSequenceGet(this.
|
|
3741
|
-
this.
|
|
3729
|
+
if (!(charSequenceGet(this.r13(), this.ew_1) === _Char___init__impl__6a9atx(34))) {
|
|
3730
|
+
this.my('Expected closing quotation mark');
|
|
3742
3731
|
}
|
|
3743
|
-
this.
|
|
3732
|
+
this.ew_1 = this.ew_1 + 1 | 0;
|
|
3744
3733
|
}
|
|
3745
3734
|
return result;
|
|
3746
3735
|
};
|
|
@@ -3748,7 +3737,7 @@
|
|
|
3748
3737
|
var tmp;
|
|
3749
3738
|
// Inline function 'kotlin.code' call
|
|
3750
3739
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
3751
|
-
var tmp_0 = CharMappings_getInstance().
|
|
3740
|
+
var tmp_0 = CharMappings_getInstance().b14_1;
|
|
3752
3741
|
// Inline function 'kotlin.code' call
|
|
3753
3742
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
3754
3743
|
} else {
|
|
@@ -3845,7 +3834,7 @@
|
|
|
3845
3834
|
}
|
|
3846
3835
|
var TC_OTHER;
|
|
3847
3836
|
function escapeToChar(c) {
|
|
3848
|
-
return c < 117 ? CharMappings_getInstance().
|
|
3837
|
+
return c < 117 ? CharMappings_getInstance().a14_1[c] : _Char___init__impl__6a9atx(0);
|
|
3849
3838
|
}
|
|
3850
3839
|
function initEscape($this) {
|
|
3851
3840
|
var inductionVariable = 0;
|
|
@@ -3892,7 +3881,7 @@
|
|
|
3892
3881
|
var tmp$ret$0;
|
|
3893
3882
|
// Inline function 'kotlin.code' call
|
|
3894
3883
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
3895
|
-
$this.
|
|
3884
|
+
$this.a14_1[tmp$ret$0] = numberToChar(c);
|
|
3896
3885
|
}
|
|
3897
3886
|
}
|
|
3898
3887
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -3902,7 +3891,7 @@
|
|
|
3902
3891
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
3903
3892
|
}
|
|
3904
3893
|
function initC2TC($this, c, cl) {
|
|
3905
|
-
$this.
|
|
3894
|
+
$this.b14_1[c] = cl;
|
|
3906
3895
|
}
|
|
3907
3896
|
function initC2TC_0($this, c, cl) {
|
|
3908
3897
|
var tmp$ret$0;
|
|
@@ -3912,8 +3901,8 @@
|
|
|
3912
3901
|
}
|
|
3913
3902
|
function CharMappings() {
|
|
3914
3903
|
CharMappings_instance = this;
|
|
3915
|
-
this.
|
|
3916
|
-
this.
|
|
3904
|
+
this.a14_1 = charArray(117);
|
|
3905
|
+
this.b14_1 = new Int8Array(126);
|
|
3917
3906
|
initEscape(this);
|
|
3918
3907
|
initCharToToken(this);
|
|
3919
3908
|
}
|
|
@@ -3925,19 +3914,19 @@
|
|
|
3925
3914
|
}
|
|
3926
3915
|
function StringJsonLexer(source) {
|
|
3927
3916
|
AbstractJsonLexer.call(this);
|
|
3928
|
-
this.
|
|
3917
|
+
this.g14_1 = source;
|
|
3929
3918
|
}
|
|
3930
|
-
protoOf(StringJsonLexer).
|
|
3931
|
-
return this.
|
|
3919
|
+
protoOf(StringJsonLexer).r13 = function () {
|
|
3920
|
+
return this.g14_1;
|
|
3932
3921
|
};
|
|
3933
|
-
protoOf(StringJsonLexer).
|
|
3934
|
-
return position < this.
|
|
3922
|
+
protoOf(StringJsonLexer).s13 = function (position) {
|
|
3923
|
+
return position < this.g14_1.length ? position : -1;
|
|
3935
3924
|
};
|
|
3936
|
-
protoOf(StringJsonLexer).
|
|
3937
|
-
var source = this.
|
|
3938
|
-
$l$loop: while (!(this.
|
|
3939
|
-
var tmp1 = this.
|
|
3940
|
-
this.
|
|
3925
|
+
protoOf(StringJsonLexer).jz = function () {
|
|
3926
|
+
var source = this.g14_1;
|
|
3927
|
+
$l$loop: while (!(this.ew_1 === -1) ? this.ew_1 < source.length : false) {
|
|
3928
|
+
var tmp1 = this.ew_1;
|
|
3929
|
+
this.ew_1 = tmp1 + 1 | 0;
|
|
3941
3930
|
var ch = charSequenceGet(source, tmp1);
|
|
3942
3931
|
var tc = charToTokenClass(ch);
|
|
3943
3932
|
var tmp;
|
|
@@ -3950,136 +3939,136 @@
|
|
|
3950
3939
|
}
|
|
3951
3940
|
return get_TC_EOF();
|
|
3952
3941
|
};
|
|
3953
|
-
protoOf(StringJsonLexer).
|
|
3954
|
-
var current = this.
|
|
3955
|
-
if (current === this.
|
|
3942
|
+
protoOf(StringJsonLexer).t10 = function () {
|
|
3943
|
+
var current = this.y13();
|
|
3944
|
+
if (current === this.g14_1.length ? true : current === -1)
|
|
3956
3945
|
return false;
|
|
3957
|
-
if (charSequenceGet(this.
|
|
3958
|
-
this.
|
|
3946
|
+
if (charSequenceGet(this.g14_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
3947
|
+
this.ew_1 = this.ew_1 + 1 | 0;
|
|
3959
3948
|
return true;
|
|
3960
3949
|
}
|
|
3961
3950
|
return false;
|
|
3962
3951
|
};
|
|
3963
|
-
protoOf(StringJsonLexer).
|
|
3964
|
-
var current = this.
|
|
3952
|
+
protoOf(StringJsonLexer).fz = function () {
|
|
3953
|
+
var current = this.ew_1;
|
|
3965
3954
|
if (current === -1)
|
|
3966
3955
|
return false;
|
|
3967
|
-
$l$loop: while (current < this.
|
|
3968
|
-
var c = charSequenceGet(this.
|
|
3956
|
+
$l$loop: while (current < this.g14_1.length) {
|
|
3957
|
+
var c = charSequenceGet(this.g14_1, current);
|
|
3969
3958
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3970
3959
|
current = current + 1 | 0;
|
|
3971
3960
|
continue $l$loop;
|
|
3972
3961
|
}
|
|
3973
|
-
this.
|
|
3974
|
-
return this.
|
|
3962
|
+
this.ew_1 = current;
|
|
3963
|
+
return this.u13(c);
|
|
3975
3964
|
}
|
|
3976
|
-
this.
|
|
3965
|
+
this.ew_1 = current;
|
|
3977
3966
|
return false;
|
|
3978
3967
|
};
|
|
3979
|
-
protoOf(StringJsonLexer).
|
|
3980
|
-
var current = this.
|
|
3968
|
+
protoOf(StringJsonLexer).y13 = function () {
|
|
3969
|
+
var current = this.ew_1;
|
|
3981
3970
|
if (current === -1)
|
|
3982
3971
|
return current;
|
|
3983
|
-
$l$loop: while (current < this.
|
|
3984
|
-
var c = charSequenceGet(this.
|
|
3972
|
+
$l$loop: while (current < this.g14_1.length) {
|
|
3973
|
+
var c = charSequenceGet(this.g14_1, current);
|
|
3985
3974
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3986
3975
|
current = current + 1 | 0;
|
|
3987
3976
|
} else {
|
|
3988
3977
|
break $l$loop;
|
|
3989
3978
|
}
|
|
3990
3979
|
}
|
|
3991
|
-
this.
|
|
3980
|
+
this.ew_1 = current;
|
|
3992
3981
|
return current;
|
|
3993
3982
|
};
|
|
3994
|
-
protoOf(StringJsonLexer).
|
|
3995
|
-
if (this.
|
|
3996
|
-
this.
|
|
3983
|
+
protoOf(StringJsonLexer).s10 = function (expected) {
|
|
3984
|
+
if (this.ew_1 === -1) {
|
|
3985
|
+
this.w13(expected);
|
|
3997
3986
|
}
|
|
3998
|
-
var source = this.
|
|
3999
|
-
$l$loop: while (this.
|
|
4000
|
-
var tmp1 = this.
|
|
4001
|
-
this.
|
|
3987
|
+
var source = this.g14_1;
|
|
3988
|
+
$l$loop: while (this.ew_1 < source.length) {
|
|
3989
|
+
var tmp1 = this.ew_1;
|
|
3990
|
+
this.ew_1 = tmp1 + 1 | 0;
|
|
4002
3991
|
var c = charSequenceGet(source, tmp1);
|
|
4003
3992
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4004
3993
|
continue $l$loop;
|
|
4005
3994
|
if (c === expected)
|
|
4006
3995
|
return Unit_getInstance();
|
|
4007
|
-
this.
|
|
3996
|
+
this.w13(expected);
|
|
4008
3997
|
}
|
|
4009
|
-
this.
|
|
3998
|
+
this.w13(expected);
|
|
4010
3999
|
};
|
|
4011
|
-
protoOf(StringJsonLexer).
|
|
4012
|
-
this.
|
|
4013
|
-
var current = this.
|
|
4014
|
-
var closingQuote = indexOf(this.
|
|
4000
|
+
protoOf(StringJsonLexer).y10 = function () {
|
|
4001
|
+
this.s10(get_STRING());
|
|
4002
|
+
var current = this.ew_1;
|
|
4003
|
+
var closingQuote = indexOf(this.g14_1, _Char___init__impl__6a9atx(34), current);
|
|
4015
4004
|
if (closingQuote === -1) {
|
|
4016
|
-
this.
|
|
4005
|
+
this.v13(get_TC_STRING());
|
|
4017
4006
|
}
|
|
4018
4007
|
var inductionVariable = current;
|
|
4019
4008
|
if (inductionVariable < closingQuote)
|
|
4020
4009
|
do {
|
|
4021
4010
|
var i = inductionVariable;
|
|
4022
4011
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4023
|
-
if (charSequenceGet(this.
|
|
4024
|
-
return this.consumeString2(this.
|
|
4012
|
+
if (charSequenceGet(this.g14_1, i) === get_STRING_ESC()) {
|
|
4013
|
+
return this.consumeString2(this.g14_1, this.ew_1, i);
|
|
4025
4014
|
}
|
|
4026
4015
|
}
|
|
4027
4016
|
while (inductionVariable < closingQuote);
|
|
4028
|
-
this.
|
|
4017
|
+
this.ew_1 = closingQuote + 1 | 0;
|
|
4029
4018
|
// Inline function 'kotlin.text.substring' call
|
|
4030
4019
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4031
|
-
return this.
|
|
4020
|
+
return this.g14_1.substring(current, closingQuote);
|
|
4032
4021
|
};
|
|
4033
|
-
protoOf(StringJsonLexer).
|
|
4034
|
-
var positionSnapshot = this.
|
|
4022
|
+
protoOf(StringJsonLexer).a11 = function (keyToMatch, isLenient) {
|
|
4023
|
+
var positionSnapshot = this.ew_1;
|
|
4035
4024
|
try {
|
|
4036
|
-
if (!(this.
|
|
4025
|
+
if (!(this.jz() === get_TC_BEGIN_OBJ()))
|
|
4037
4026
|
return null;
|
|
4038
|
-
var firstKey = isLenient ? this.
|
|
4027
|
+
var firstKey = isLenient ? this.y10() : this.z10();
|
|
4039
4028
|
if (firstKey === keyToMatch) {
|
|
4040
|
-
if (!(this.
|
|
4029
|
+
if (!(this.jz() === get_TC_COLON()))
|
|
4041
4030
|
return null;
|
|
4042
|
-
var result = isLenient ? this.
|
|
4031
|
+
var result = isLenient ? this.gz() : this.z10();
|
|
4043
4032
|
return result;
|
|
4044
4033
|
}
|
|
4045
4034
|
return null;
|
|
4046
4035
|
}finally {
|
|
4047
|
-
this.
|
|
4036
|
+
this.ew_1 = positionSnapshot;
|
|
4048
4037
|
}
|
|
4049
4038
|
};
|
|
4050
4039
|
function get_schemaCache(_this__u8e3s4) {
|
|
4051
|
-
return _this__u8e3s4.
|
|
4040
|
+
return _this__u8e3s4.tv_1;
|
|
4052
4041
|
}
|
|
4053
4042
|
function createMapForCache(initialCapacity) {
|
|
4054
4043
|
return HashMap_init_$Create$(initialCapacity);
|
|
4055
4044
|
}
|
|
4056
4045
|
//region block: post-declaration
|
|
4057
|
-
protoOf(defer$1).
|
|
4058
|
-
protoOf(defer$1).
|
|
4059
|
-
protoOf(defer$1).
|
|
4060
|
-
protoOf(PolymorphismValidator).
|
|
4061
|
-
protoOf(StreamingJsonDecoder).
|
|
4062
|
-
protoOf(StreamingJsonDecoder).
|
|
4063
|
-
protoOf(StreamingJsonDecoder).
|
|
4064
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4065
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4066
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4067
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4068
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4069
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4070
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4071
|
-
protoOf(JsonTreeDecoder).
|
|
4072
|
-
protoOf(JsonTreeDecoder).
|
|
4073
|
-
protoOf(JsonTreeDecoder).
|
|
4074
|
-
protoOf(JsonTreeListDecoder).
|
|
4075
|
-
protoOf(JsonTreeListDecoder).
|
|
4076
|
-
protoOf(JsonTreeListDecoder).
|
|
4077
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4078
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4079
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4080
|
-
protoOf(JsonTreeMapDecoder).
|
|
4081
|
-
protoOf(JsonTreeMapDecoder).
|
|
4082
|
-
protoOf(JsonTreeMapDecoder).
|
|
4046
|
+
protoOf(defer$1).sg = get_isNullable;
|
|
4047
|
+
protoOf(defer$1).zg = get_isInline;
|
|
4048
|
+
protoOf(defer$1).xg = get_annotations;
|
|
4049
|
+
protoOf(PolymorphismValidator).kv = contextual;
|
|
4050
|
+
protoOf(StreamingJsonDecoder).gj = decodeSerializableElement$default;
|
|
4051
|
+
protoOf(StreamingJsonDecoder).jj = decodeSequentially;
|
|
4052
|
+
protoOf(StreamingJsonDecoder).lj = decodeCollectionSize;
|
|
4053
|
+
protoOf(JsonDecoderForUnsignedTypes).si = decodeSerializableValue;
|
|
4054
|
+
protoOf(JsonDecoderForUnsignedTypes).gj = decodeSerializableElement$default;
|
|
4055
|
+
protoOf(JsonDecoderForUnsignedTypes).jj = decodeSequentially;
|
|
4056
|
+
protoOf(JsonDecoderForUnsignedTypes).lj = decodeCollectionSize;
|
|
4057
|
+
protoOf(AbstractJsonTreeDecoder).gj = decodeSerializableElement$default;
|
|
4058
|
+
protoOf(AbstractJsonTreeDecoder).jj = decodeSequentially;
|
|
4059
|
+
protoOf(AbstractJsonTreeDecoder).lj = decodeCollectionSize;
|
|
4060
|
+
protoOf(JsonTreeDecoder).gj = decodeSerializableElement$default;
|
|
4061
|
+
protoOf(JsonTreeDecoder).jj = decodeSequentially;
|
|
4062
|
+
protoOf(JsonTreeDecoder).lj = decodeCollectionSize;
|
|
4063
|
+
protoOf(JsonTreeListDecoder).gj = decodeSerializableElement$default;
|
|
4064
|
+
protoOf(JsonTreeListDecoder).jj = decodeSequentially;
|
|
4065
|
+
protoOf(JsonTreeListDecoder).lj = decodeCollectionSize;
|
|
4066
|
+
protoOf(JsonPrimitiveDecoder).gj = decodeSerializableElement$default;
|
|
4067
|
+
protoOf(JsonPrimitiveDecoder).jj = decodeSequentially;
|
|
4068
|
+
protoOf(JsonPrimitiveDecoder).lj = decodeCollectionSize;
|
|
4069
|
+
protoOf(JsonTreeMapDecoder).gj = decodeSerializableElement$default;
|
|
4070
|
+
protoOf(JsonTreeMapDecoder).jj = decodeSequentially;
|
|
4071
|
+
protoOf(JsonTreeMapDecoder).lj = decodeCollectionSize;
|
|
4083
4072
|
//endregion
|
|
4084
4073
|
//region block: init
|
|
4085
4074
|
PRIMITIVE_TAG = 'primitive';
|