@flock/wirespec 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +309 -309
- package/kotlin/arrow-arrow-atomic.js +1 -1
- package/kotlin/arrow-arrow-continuations.js +1 -1
- package/kotlin/arrow-arrow-core.js +5 -5
- package/kotlin/kotlin-kotlin-stdlib-js-ir.js +108 -94
- package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin/kotlin-openapi-bindings.js +3446 -3446
- package/kotlin/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1360 -1330
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1122 -1113
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlin/wirespec-cli.js +96 -96
- package/kotlin/wirespec-core.js +353 -282
- package/kotlin/wirespec-core.js.map +1 -1
- package/kotlin/wirespec-lib.js +45 -45
- package/kotlin/wirespec-openapi.js +1503 -1177
- package/kotlin/wirespec-openapi.js.map +1 -1
- package/package.json +1 -1
- package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
- package/sync-hashes/arrow-arrow-atomic.js.hash +1 -1
- package/sync-hashes/arrow-arrow-continuations.js.hash +1 -1
- package/sync-hashes/arrow-arrow-core.js.hash +1 -1
- package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
- package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
- package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
- package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
- package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
- package/sync-hashes/wirespec-cli.js.hash +1 -1
- package/sync-hashes/wirespec-core.js.hash +1 -1
- package/sync-hashes/wirespec-core.js.map.hash +1 -1
- package/sync-hashes/wirespec-lib.js.hash +1 -1
- package/sync-hashes/wirespec-openapi.js.hash +1 -1
- package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
|
@@ -19,48 +19,48 @@
|
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
20
20
|
var protoOf = kotlin_kotlin.$_$.t7;
|
|
21
21
|
var objectMeta = kotlin_kotlin.$_$.s7;
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.za;
|
|
23
23
|
var setMetadataFor = kotlin_kotlin.$_$.u7;
|
|
24
24
|
var classMeta = kotlin_kotlin.$_$.q6;
|
|
25
25
|
var Unit_getInstance = kotlin_kotlin.$_$.i3;
|
|
26
26
|
var toString = kotlin_kotlin.$_$.y7;
|
|
27
27
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
28
28
|
var charSequenceGet = kotlin_kotlin.$_$.n6;
|
|
29
|
-
var Char = kotlin_kotlin.$_$.
|
|
29
|
+
var Char = kotlin_kotlin.$_$.n9;
|
|
30
30
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.i1;
|
|
31
31
|
var equals = kotlin_kotlin.$_$.s6;
|
|
32
32
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
33
33
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
34
34
|
var interfaceMeta = kotlin_kotlin.$_$.z6;
|
|
35
|
-
var
|
|
36
|
-
var THROW_CCE = kotlin_kotlin.$_$.y9;
|
|
35
|
+
var THROW_CCE = kotlin_kotlin.$_$.z9;
|
|
37
36
|
var hashCode = kotlin_kotlin.$_$.y6;
|
|
38
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
37
|
+
var joinToString = kotlin_kotlin.$_$.b5;
|
|
38
|
+
var List = kotlin_kotlin.$_$.s3;
|
|
39
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
39
40
|
var Map = kotlin_kotlin.$_$.u3;
|
|
40
41
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
41
|
-
var List = kotlin_kotlin.$_$.s3;
|
|
42
42
|
var getKClassFromExpression = kotlin_kotlin.$_$.c;
|
|
43
43
|
var getStringHashCode = kotlin_kotlin.$_$.x6;
|
|
44
44
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.e;
|
|
45
|
-
var lazy = kotlin_kotlin.$_$.
|
|
45
|
+
var lazy = kotlin_kotlin.$_$.sa;
|
|
46
46
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
47
|
-
var toInt = kotlin_kotlin.$_$.
|
|
48
|
-
var toLong = kotlin_kotlin.$_$.
|
|
49
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
47
|
+
var toInt = kotlin_kotlin.$_$.d9;
|
|
48
|
+
var toLong = kotlin_kotlin.$_$.e9;
|
|
49
|
+
var toDouble = kotlin_kotlin.$_$.b9;
|
|
50
50
|
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.y2;
|
|
51
51
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
52
52
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
53
53
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
54
54
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
55
55
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
56
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
57
|
-
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
58
56
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
59
57
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
58
|
+
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
59
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
60
60
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
61
61
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
62
62
|
var isInterface = kotlin_kotlin.$_$.i7;
|
|
63
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
63
|
+
var lazy_0 = kotlin_kotlin.$_$.ta;
|
|
64
64
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
65
65
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
66
66
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
@@ -82,16 +82,16 @@
|
|
|
82
82
|
var singleOrNull = kotlin_kotlin.$_$.t5;
|
|
83
83
|
var arrayIterator = kotlin_kotlin.$_$.i6;
|
|
84
84
|
var emptyMap = kotlin_kotlin.$_$.s4;
|
|
85
|
-
var getValue = kotlin_kotlin.$_$.
|
|
85
|
+
var getValue = kotlin_kotlin.$_$.y4;
|
|
86
86
|
var copyOf = kotlin_kotlin.$_$.n4;
|
|
87
87
|
var copyOf_0 = kotlin_kotlin.$_$.o4;
|
|
88
88
|
var fillArrayVal = kotlin_kotlin.$_$.t6;
|
|
89
89
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
90
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
91
|
-
var invoke = kotlin_kotlin.$_$.
|
|
90
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.o9;
|
|
91
|
+
var invoke = kotlin_kotlin.$_$.pa;
|
|
92
92
|
var CoroutineImpl = kotlin_kotlin.$_$.g6;
|
|
93
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
94
|
-
var Unit = kotlin_kotlin.$_$.
|
|
93
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.p9;
|
|
94
|
+
var Unit = kotlin_kotlin.$_$.ka;
|
|
95
95
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f6;
|
|
96
96
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
97
97
|
var getKClass = kotlin_kotlin.$_$.d;
|
|
@@ -105,22 +105,24 @@
|
|
|
105
105
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
106
106
|
var isObject = kotlin_kotlin.$_$.k7;
|
|
107
107
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
108
|
-
var
|
|
108
|
+
var ensureNotNull = kotlin_kotlin.$_$.oa;
|
|
109
|
+
var contains = kotlin_kotlin.$_$.l8;
|
|
110
|
+
var plus = kotlin_kotlin.$_$.va;
|
|
109
111
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
110
112
|
var decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
111
113
|
var toLong_0 = kotlin_kotlin.$_$.w7;
|
|
112
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
113
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
114
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
114
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.s9;
|
|
115
|
+
var isFinite = kotlin_kotlin.$_$.ra;
|
|
116
|
+
var isFinite_0 = kotlin_kotlin.$_$.qa;
|
|
115
117
|
var decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
116
118
|
var decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
117
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
119
|
+
var toUInt = kotlin_kotlin.$_$.g9;
|
|
118
120
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.y1;
|
|
119
|
-
var toULong = kotlin_kotlin.$_$.
|
|
121
|
+
var toULong = kotlin_kotlin.$_$.h9;
|
|
120
122
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.f2;
|
|
121
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
123
|
+
var toUByte = kotlin_kotlin.$_$.f9;
|
|
122
124
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.r1;
|
|
123
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
125
|
+
var toUShort = kotlin_kotlin.$_$.i9;
|
|
124
126
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.m2;
|
|
125
127
|
var decodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
126
128
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.f3;
|
|
@@ -134,31 +136,30 @@
|
|
|
134
136
|
var setOf = kotlin_kotlin.$_$.s5;
|
|
135
137
|
var numberToChar = kotlin_kotlin.$_$.q7;
|
|
136
138
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.k1;
|
|
137
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
139
|
+
var equals_0 = kotlin_kotlin.$_$.p8;
|
|
138
140
|
var toByte = kotlin_kotlin.$_$.v7;
|
|
139
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
141
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ua;
|
|
140
142
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
141
143
|
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.z;
|
|
142
144
|
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.t2;
|
|
143
145
|
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.x2;
|
|
144
146
|
var toShort = kotlin_kotlin.$_$.x7;
|
|
145
|
-
var single = kotlin_kotlin.$_$.
|
|
147
|
+
var single = kotlin_kotlin.$_$.v8;
|
|
146
148
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
147
149
|
var emptySet = kotlin_kotlin.$_$.t4;
|
|
148
150
|
var plus_0 = kotlin_kotlin.$_$.n5;
|
|
149
151
|
var toList = kotlin_kotlin.$_$.y5;
|
|
150
|
-
var Enum = kotlin_kotlin.$_$.
|
|
152
|
+
var Enum = kotlin_kotlin.$_$.q9;
|
|
151
153
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
152
|
-
var ensureNotNull = kotlin_kotlin.$_$.na;
|
|
153
154
|
var toString_0 = kotlin_kotlin.$_$.l1;
|
|
154
155
|
var last = kotlin_kotlin.$_$.f5;
|
|
155
156
|
var removeLast = kotlin_kotlin.$_$.r5;
|
|
156
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
157
|
-
var Long = kotlin_kotlin.$_$.
|
|
157
|
+
var lastIndexOf = kotlin_kotlin.$_$.t8;
|
|
158
|
+
var Long = kotlin_kotlin.$_$.u9;
|
|
158
159
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.j1;
|
|
159
160
|
var Companion_getInstance_4 = kotlin_kotlin.$_$.c3;
|
|
160
161
|
var charArray = kotlin_kotlin.$_$.m6;
|
|
161
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
162
|
+
var indexOf = kotlin_kotlin.$_$.q8;
|
|
162
163
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
163
164
|
//endregion
|
|
164
165
|
//region block: pre-declaration
|
|
@@ -173,19 +174,19 @@
|
|
|
173
174
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
174
175
|
setMetadataFor(JsonElement, 'JsonElement', classMeta, VOID, VOID, VOID, {0: JsonElementSerializer_getInstance});
|
|
175
176
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
176
|
-
setMetadataFor(JsonObject, 'JsonObject', classMeta, JsonElement, [JsonElement, Map], VOID, {0: JsonObjectSerializer_getInstance});
|
|
177
|
-
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
178
177
|
setMetadataFor(JsonPrimitive, 'JsonPrimitive', classMeta, JsonElement, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
179
|
-
setMetadataFor(
|
|
178
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
180
179
|
setMetadataFor(JsonArray, 'JsonArray', classMeta, JsonElement, [JsonElement, List], VOID, {0: JsonArraySerializer_getInstance});
|
|
180
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
181
|
+
setMetadataFor(JsonObject, 'JsonObject', classMeta, JsonElement, [JsonElement, Map], VOID, {0: JsonObjectSerializer_getInstance});
|
|
181
182
|
setMetadataFor(JsonLiteral, 'JsonLiteral', classMeta, JsonPrimitive);
|
|
182
183
|
setMetadataFor(JsonNull, 'JsonNull', objectMeta, JsonPrimitive, [JsonPrimitive, SerializerFactory], VOID, {0: JsonNull_getInstance});
|
|
183
184
|
setMetadataFor(JsonElementSerializer, 'JsonElementSerializer', objectMeta, VOID, [KSerializer]);
|
|
184
|
-
setMetadataFor(JsonObjectDescriptor, 'JsonObjectDescriptor', objectMeta, VOID, [SerialDescriptor]);
|
|
185
|
-
setMetadataFor(JsonObjectSerializer, 'JsonObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
186
185
|
setMetadataFor(JsonPrimitiveSerializer, 'JsonPrimitiveSerializer', objectMeta, VOID, [KSerializer]);
|
|
187
186
|
setMetadataFor(JsonArrayDescriptor, 'JsonArrayDescriptor', objectMeta, VOID, [SerialDescriptor]);
|
|
188
187
|
setMetadataFor(JsonArraySerializer, 'JsonArraySerializer', objectMeta, VOID, [KSerializer]);
|
|
188
|
+
setMetadataFor(JsonObjectDescriptor, 'JsonObjectDescriptor', objectMeta, VOID, [SerialDescriptor]);
|
|
189
|
+
setMetadataFor(JsonObjectSerializer, 'JsonObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
189
190
|
setMetadataFor(JsonNullSerializer, 'JsonNullSerializer', objectMeta, VOID, [KSerializer]);
|
|
190
191
|
setMetadataFor(JsonLiteralSerializer, 'JsonLiteralSerializer', objectMeta, VOID, [KSerializer]);
|
|
191
192
|
setMetadataFor(defer$1, VOID, classMeta, VOID, [SerialDescriptor]);
|
|
@@ -226,50 +227,50 @@
|
|
|
226
227
|
}
|
|
227
228
|
function Json(configuration, serializersModule) {
|
|
228
229
|
Default_getInstance();
|
|
229
|
-
this.
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
230
|
+
this.v11_1 = configuration;
|
|
231
|
+
this.w11_1 = serializersModule;
|
|
232
|
+
this.x11_1 = new DescriptorSchemaCache();
|
|
232
233
|
}
|
|
233
|
-
protoOf(Json).
|
|
234
|
-
return this.
|
|
234
|
+
protoOf(Json).lp = function () {
|
|
235
|
+
return this.w11_1;
|
|
235
236
|
};
|
|
236
|
-
protoOf(Json).
|
|
237
|
+
protoOf(Json).y11 = function (deserializer, string) {
|
|
237
238
|
var lexer = new StringJsonLexer(string);
|
|
238
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
239
|
-
var result = input.
|
|
240
|
-
lexer.
|
|
239
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.yl(), null);
|
|
240
|
+
var result = input.vo(deserializer);
|
|
241
|
+
lexer.m12();
|
|
241
242
|
return result;
|
|
242
243
|
};
|
|
243
|
-
protoOf(Json).
|
|
244
|
+
protoOf(Json).z11 = function (deserializer, element) {
|
|
244
245
|
return readJson(this, element, deserializer);
|
|
245
246
|
};
|
|
246
247
|
function Json_0(from, builderAction) {
|
|
247
248
|
from = from === VOID ? Default_getInstance() : from;
|
|
248
249
|
var builder = new JsonBuilder(from);
|
|
249
250
|
builderAction(builder);
|
|
250
|
-
var conf = builder.
|
|
251
|
-
return new JsonImpl(conf, builder.
|
|
251
|
+
var conf = builder.rs();
|
|
252
|
+
return new JsonImpl(conf, builder.a13_1);
|
|
252
253
|
}
|
|
253
254
|
function JsonBuilder(json) {
|
|
254
|
-
this.
|
|
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
|
-
}
|
|
269
|
-
protoOf(JsonBuilder).
|
|
270
|
-
if (this.
|
|
255
|
+
this.n12_1 = json.v11_1.b13_1;
|
|
256
|
+
this.o12_1 = json.v11_1.g13_1;
|
|
257
|
+
this.p12_1 = json.v11_1.c13_1;
|
|
258
|
+
this.q12_1 = json.v11_1.d13_1;
|
|
259
|
+
this.r12_1 = json.v11_1.e13_1;
|
|
260
|
+
this.s12_1 = json.v11_1.f13_1;
|
|
261
|
+
this.t12_1 = json.v11_1.h13_1;
|
|
262
|
+
this.u12_1 = json.v11_1.i13_1;
|
|
263
|
+
this.v12_1 = json.v11_1.j13_1;
|
|
264
|
+
this.w12_1 = json.v11_1.k13_1;
|
|
265
|
+
this.x12_1 = json.v11_1.l13_1;
|
|
266
|
+
this.y12_1 = json.v11_1.m13_1;
|
|
267
|
+
this.z12_1 = json.v11_1.n13_1;
|
|
268
|
+
this.a13_1 = json.lp();
|
|
269
|
+
}
|
|
270
|
+
protoOf(JsonBuilder).rs = function () {
|
|
271
|
+
if (this.v12_1) {
|
|
271
272
|
// Inline function 'kotlin.require' call
|
|
272
|
-
var tmp0_require = this.
|
|
273
|
+
var tmp0_require = this.w12_1 === 'type';
|
|
273
274
|
// Inline function 'kotlin.contracts.contract' call
|
|
274
275
|
if (!tmp0_require) {
|
|
275
276
|
var tmp$ret$0;
|
|
@@ -279,9 +280,9 @@
|
|
|
279
280
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
280
281
|
}
|
|
281
282
|
}
|
|
282
|
-
if (!this.
|
|
283
|
+
if (!this.s12_1) {
|
|
283
284
|
// Inline function 'kotlin.require' call
|
|
284
|
-
var tmp1_require = this.
|
|
285
|
+
var tmp1_require = this.t12_1 === ' ';
|
|
285
286
|
// Inline function 'kotlin.contracts.contract' call
|
|
286
287
|
if (!tmp1_require) {
|
|
287
288
|
var tmp$ret$1;
|
|
@@ -290,11 +291,11 @@
|
|
|
290
291
|
var message_0 = tmp$ret$1;
|
|
291
292
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
292
293
|
}
|
|
293
|
-
} else if (!(this.
|
|
294
|
+
} else if (!(this.t12_1 === ' ')) {
|
|
294
295
|
var tmp$ret$3;
|
|
295
296
|
$l$block: {
|
|
296
297
|
// Inline function 'kotlin.text.all' call
|
|
297
|
-
var tmp2_all = this.
|
|
298
|
+
var tmp2_all = this.t12_1;
|
|
298
299
|
var indexedObject = tmp2_all;
|
|
299
300
|
var inductionVariable = 0;
|
|
300
301
|
var last = indexedObject.length;
|
|
@@ -317,18 +318,18 @@
|
|
|
317
318
|
if (!allWhitespaces) {
|
|
318
319
|
var tmp$ret$4;
|
|
319
320
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
320
|
-
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
321
|
+
tmp$ret$4 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.t12_1;
|
|
321
322
|
var message_1 = tmp$ret$4;
|
|
322
323
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
323
324
|
}
|
|
324
325
|
}
|
|
325
|
-
return new JsonConfiguration(this.
|
|
326
|
+
return new JsonConfiguration(this.n12_1, this.p12_1, this.q12_1, this.r12_1, this.s12_1, this.o12_1, this.t12_1, this.u12_1, this.v12_1, this.w12_1, this.x12_1, this.y12_1, this.z12_1);
|
|
326
327
|
};
|
|
327
328
|
function validateConfiguration($this) {
|
|
328
|
-
if (equals($this.
|
|
329
|
+
if (equals($this.lp(), EmptySerializersModule()))
|
|
329
330
|
return Unit_getInstance();
|
|
330
|
-
var collector = new PolymorphismValidator($this.
|
|
331
|
-
$this.
|
|
331
|
+
var collector = new PolymorphismValidator($this.v11_1.j13_1, $this.v11_1.k13_1);
|
|
332
|
+
$this.lp().e11(collector);
|
|
332
333
|
}
|
|
333
334
|
function JsonImpl(configuration, module_0) {
|
|
334
335
|
Json.call(this, configuration, module_0);
|
|
@@ -352,22 +353,22 @@
|
|
|
352
353
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
353
354
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
354
355
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
356
|
+
this.b13_1 = encodeDefaults;
|
|
357
|
+
this.c13_1 = ignoreUnknownKeys;
|
|
358
|
+
this.d13_1 = isLenient;
|
|
359
|
+
this.e13_1 = allowStructuredMapKeys;
|
|
360
|
+
this.f13_1 = prettyPrint;
|
|
361
|
+
this.g13_1 = explicitNulls;
|
|
362
|
+
this.h13_1 = prettyPrintIndent;
|
|
363
|
+
this.i13_1 = coerceInputValues;
|
|
364
|
+
this.j13_1 = useArrayPolymorphism;
|
|
365
|
+
this.k13_1 = classDiscriminator;
|
|
366
|
+
this.l13_1 = allowSpecialFloatingPointValues;
|
|
367
|
+
this.m13_1 = useAlternativeNames;
|
|
368
|
+
this.n13_1 = namingStrategy;
|
|
368
369
|
}
|
|
369
370
|
protoOf(JsonConfiguration).toString = function () {
|
|
370
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
371
|
+
return 'JsonConfiguration(encodeDefaults=' + this.b13_1 + ', ignoreUnknownKeys=' + this.c13_1 + ', isLenient=' + this.d13_1 + ', ' + ('allowStructuredMapKeys=' + this.e13_1 + ', prettyPrint=' + this.f13_1 + ', explicitNulls=' + this.g13_1 + ', ') + ("prettyPrintIndent='" + this.h13_1 + "', coerceInputValues=" + this.i13_1 + ', useArrayPolymorphism=' + this.j13_1 + ', ') + ("classDiscriminator='" + this.k13_1 + "', allowSpecialFloatingPointValues=" + this.l13_1 + ', useAlternativeNames=' + this.m13_1 + ', ') + ('namingStrategy=' + this.n13_1 + ')');
|
|
371
372
|
};
|
|
372
373
|
function JsonDecoder() {
|
|
373
374
|
}
|
|
@@ -393,6 +394,80 @@
|
|
|
393
394
|
new Companion_0();
|
|
394
395
|
return Companion_instance_0;
|
|
395
396
|
}
|
|
397
|
+
function JsonPrimitive() {
|
|
398
|
+
Companion_getInstance_6();
|
|
399
|
+
JsonElement.call(this);
|
|
400
|
+
}
|
|
401
|
+
protoOf(JsonPrimitive).toString = function () {
|
|
402
|
+
return this.q13();
|
|
403
|
+
};
|
|
404
|
+
function Companion_1() {
|
|
405
|
+
Companion_instance_1 = this;
|
|
406
|
+
}
|
|
407
|
+
var Companion_instance_1;
|
|
408
|
+
function Companion_getInstance_7() {
|
|
409
|
+
if (Companion_instance_1 == null)
|
|
410
|
+
new Companion_1();
|
|
411
|
+
return Companion_instance_1;
|
|
412
|
+
}
|
|
413
|
+
function JsonArray(content) {
|
|
414
|
+
Companion_getInstance_7();
|
|
415
|
+
JsonElement.call(this);
|
|
416
|
+
this.r13_1 = content;
|
|
417
|
+
}
|
|
418
|
+
protoOf(JsonArray).f = function () {
|
|
419
|
+
return this.r13_1.f();
|
|
420
|
+
};
|
|
421
|
+
protoOf(JsonArray).s13 = function (element) {
|
|
422
|
+
return this.r13_1.i1(element);
|
|
423
|
+
};
|
|
424
|
+
protoOf(JsonArray).i1 = function (element) {
|
|
425
|
+
if (!(element instanceof JsonElement))
|
|
426
|
+
return false;
|
|
427
|
+
return this.s13(element instanceof JsonElement ? element : THROW_CCE());
|
|
428
|
+
};
|
|
429
|
+
protoOf(JsonArray).t13 = function (elements) {
|
|
430
|
+
return this.r13_1.j1(elements);
|
|
431
|
+
};
|
|
432
|
+
protoOf(JsonArray).j1 = function (elements) {
|
|
433
|
+
return this.t13(elements);
|
|
434
|
+
};
|
|
435
|
+
protoOf(JsonArray).h = function (index) {
|
|
436
|
+
return this.r13_1.h(index);
|
|
437
|
+
};
|
|
438
|
+
protoOf(JsonArray).g = function () {
|
|
439
|
+
return this.r13_1.g();
|
|
440
|
+
};
|
|
441
|
+
protoOf(JsonArray).c = function () {
|
|
442
|
+
return this.r13_1.c();
|
|
443
|
+
};
|
|
444
|
+
protoOf(JsonArray).p1 = function () {
|
|
445
|
+
return this.r13_1.p1();
|
|
446
|
+
};
|
|
447
|
+
protoOf(JsonArray).i = function (index) {
|
|
448
|
+
return this.r13_1.i(index);
|
|
449
|
+
};
|
|
450
|
+
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
451
|
+
return this.r13_1.s(fromIndex, toIndex);
|
|
452
|
+
};
|
|
453
|
+
protoOf(JsonArray).equals = function (other) {
|
|
454
|
+
return equals(this.r13_1, other);
|
|
455
|
+
};
|
|
456
|
+
protoOf(JsonArray).hashCode = function () {
|
|
457
|
+
return hashCode(this.r13_1);
|
|
458
|
+
};
|
|
459
|
+
protoOf(JsonArray).toString = function () {
|
|
460
|
+
return joinToString(this.r13_1, ',', '[', ']');
|
|
461
|
+
};
|
|
462
|
+
function Companion_2() {
|
|
463
|
+
Companion_instance_2 = this;
|
|
464
|
+
}
|
|
465
|
+
var Companion_instance_2;
|
|
466
|
+
function Companion_getInstance_8() {
|
|
467
|
+
if (Companion_instance_2 == null)
|
|
468
|
+
new Companion_2();
|
|
469
|
+
return Companion_instance_2;
|
|
470
|
+
}
|
|
396
471
|
function JsonObject$toString$lambda(_name_for_destructuring_parameter_0__wldtmu) {
|
|
397
472
|
var tmp$ret$0;
|
|
398
473
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -418,46 +493,46 @@
|
|
|
418
493
|
return tmp$ret$3;
|
|
419
494
|
}
|
|
420
495
|
function JsonObject(content) {
|
|
421
|
-
|
|
496
|
+
Companion_getInstance_8();
|
|
422
497
|
JsonElement.call(this);
|
|
423
|
-
this.
|
|
498
|
+
this.u13_1 = content;
|
|
424
499
|
}
|
|
425
500
|
protoOf(JsonObject).u = function () {
|
|
426
|
-
return this.
|
|
501
|
+
return this.u13_1.u();
|
|
427
502
|
};
|
|
428
503
|
protoOf(JsonObject).n2 = function () {
|
|
429
|
-
return this.
|
|
504
|
+
return this.u13_1.n2();
|
|
430
505
|
};
|
|
431
506
|
protoOf(JsonObject).f = function () {
|
|
432
|
-
return this.
|
|
507
|
+
return this.u13_1.f();
|
|
433
508
|
};
|
|
434
|
-
protoOf(JsonObject).
|
|
435
|
-
return this.
|
|
509
|
+
protoOf(JsonObject).v13 = function (key) {
|
|
510
|
+
return this.u13_1.i2(key);
|
|
436
511
|
};
|
|
437
512
|
protoOf(JsonObject).i2 = function (key) {
|
|
438
513
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
439
514
|
return false;
|
|
440
|
-
return this.
|
|
515
|
+
return this.v13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
441
516
|
};
|
|
442
|
-
protoOf(JsonObject).
|
|
443
|
-
return this.
|
|
517
|
+
protoOf(JsonObject).w13 = function (key) {
|
|
518
|
+
return this.u13_1.m2(key);
|
|
444
519
|
};
|
|
445
520
|
protoOf(JsonObject).m2 = function (key) {
|
|
446
521
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
447
522
|
return null;
|
|
448
|
-
return this.
|
|
523
|
+
return this.w13((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
449
524
|
};
|
|
450
525
|
protoOf(JsonObject).g = function () {
|
|
451
|
-
return this.
|
|
526
|
+
return this.u13_1.g();
|
|
452
527
|
};
|
|
453
528
|
protoOf(JsonObject).equals = function (other) {
|
|
454
|
-
return equals(this.
|
|
529
|
+
return equals(this.u13_1, other);
|
|
455
530
|
};
|
|
456
531
|
protoOf(JsonObject).hashCode = function () {
|
|
457
|
-
return hashCode(this.
|
|
532
|
+
return hashCode(this.u13_1);
|
|
458
533
|
};
|
|
459
534
|
protoOf(JsonObject).toString = function () {
|
|
460
|
-
var tmp = this.
|
|
535
|
+
var tmp = this.u13_1.u();
|
|
461
536
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
462
537
|
};
|
|
463
538
|
function get_jsonObject(_this__u8e3s4) {
|
|
@@ -471,25 +546,9 @@
|
|
|
471
546
|
}
|
|
472
547
|
return tmp;
|
|
473
548
|
}
|
|
474
|
-
function Companion_1() {
|
|
475
|
-
Companion_instance_1 = this;
|
|
476
|
-
}
|
|
477
|
-
var Companion_instance_1;
|
|
478
|
-
function Companion_getInstance_7() {
|
|
479
|
-
if (Companion_instance_1 == null)
|
|
480
|
-
new Companion_1();
|
|
481
|
-
return Companion_instance_1;
|
|
482
|
-
}
|
|
483
|
-
function JsonPrimitive() {
|
|
484
|
-
Companion_getInstance_7();
|
|
485
|
-
JsonElement.call(this);
|
|
486
|
-
}
|
|
487
|
-
protoOf(JsonPrimitive).toString = function () {
|
|
488
|
-
return this.n13();
|
|
489
|
-
};
|
|
490
549
|
function get_boolean(_this__u8e3s4) {
|
|
491
550
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
492
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.
|
|
551
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.q13());
|
|
493
552
|
var tmp;
|
|
494
553
|
if (tmp0_elvis_lhs == null) {
|
|
495
554
|
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
@@ -498,77 +557,15 @@
|
|
|
498
557
|
}
|
|
499
558
|
return tmp;
|
|
500
559
|
}
|
|
501
|
-
function Companion_2() {
|
|
502
|
-
Companion_instance_2 = this;
|
|
503
|
-
}
|
|
504
|
-
var Companion_instance_2;
|
|
505
|
-
function Companion_getInstance_8() {
|
|
506
|
-
if (Companion_instance_2 == null)
|
|
507
|
-
new Companion_2();
|
|
508
|
-
return Companion_instance_2;
|
|
509
|
-
}
|
|
510
|
-
function JsonArray(content) {
|
|
511
|
-
Companion_getInstance_8();
|
|
512
|
-
JsonElement.call(this);
|
|
513
|
-
this.o13_1 = content;
|
|
514
|
-
}
|
|
515
|
-
protoOf(JsonArray).f = function () {
|
|
516
|
-
return this.o13_1.f();
|
|
517
|
-
};
|
|
518
|
-
protoOf(JsonArray).p13 = function (element) {
|
|
519
|
-
return this.o13_1.i1(element);
|
|
520
|
-
};
|
|
521
|
-
protoOf(JsonArray).i1 = function (element) {
|
|
522
|
-
if (!(element instanceof JsonElement))
|
|
523
|
-
return false;
|
|
524
|
-
return this.p13(element instanceof JsonElement ? element : THROW_CCE());
|
|
525
|
-
};
|
|
526
|
-
protoOf(JsonArray).q13 = function (elements) {
|
|
527
|
-
return this.o13_1.j1(elements);
|
|
528
|
-
};
|
|
529
|
-
protoOf(JsonArray).j1 = function (elements) {
|
|
530
|
-
return this.q13(elements);
|
|
531
|
-
};
|
|
532
|
-
protoOf(JsonArray).h = function (index) {
|
|
533
|
-
return this.o13_1.h(index);
|
|
534
|
-
};
|
|
535
|
-
protoOf(JsonArray).g = function () {
|
|
536
|
-
return this.o13_1.g();
|
|
537
|
-
};
|
|
538
|
-
protoOf(JsonArray).c = function () {
|
|
539
|
-
return this.o13_1.c();
|
|
540
|
-
};
|
|
541
|
-
protoOf(JsonArray).p1 = function () {
|
|
542
|
-
return this.o13_1.p1();
|
|
543
|
-
};
|
|
544
|
-
protoOf(JsonArray).i = function (index) {
|
|
545
|
-
return this.o13_1.i(index);
|
|
546
|
-
};
|
|
547
|
-
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
548
|
-
return this.o13_1.s(fromIndex, toIndex);
|
|
549
|
-
};
|
|
550
|
-
protoOf(JsonArray).equals = function (other) {
|
|
551
|
-
return equals(this.o13_1, other);
|
|
552
|
-
};
|
|
553
|
-
protoOf(JsonArray).hashCode = function () {
|
|
554
|
-
return hashCode(this.o13_1);
|
|
555
|
-
};
|
|
556
|
-
protoOf(JsonArray).toString = function () {
|
|
557
|
-
return joinToString(this.o13_1, ',', '[', ']');
|
|
558
|
-
};
|
|
559
|
-
function error(_this__u8e3s4, element) {
|
|
560
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
561
|
-
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
562
|
-
}
|
|
563
560
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
564
561
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
565
562
|
JsonPrimitive.call(this);
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
569
|
-
if (!(this.
|
|
563
|
+
this.x13_1 = isString;
|
|
564
|
+
this.y13_1 = coerceToInlineType;
|
|
565
|
+
this.z13_1 = toString(body);
|
|
566
|
+
if (!(this.y13_1 == null)) {
|
|
570
567
|
// Inline function 'kotlin.require' call
|
|
571
|
-
var tmp0_require = this.
|
|
568
|
+
var tmp0_require = this.y13_1.cn();
|
|
572
569
|
// Inline function 'kotlin.contracts.contract' call
|
|
573
570
|
// Inline function 'kotlin.require' call
|
|
574
571
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -581,12 +578,12 @@
|
|
|
581
578
|
}
|
|
582
579
|
}
|
|
583
580
|
}
|
|
584
|
-
protoOf(JsonLiteral).
|
|
585
|
-
return this.
|
|
581
|
+
protoOf(JsonLiteral).q13 = function () {
|
|
582
|
+
return this.z13_1;
|
|
586
583
|
};
|
|
587
584
|
protoOf(JsonLiteral).toString = function () {
|
|
588
585
|
var tmp;
|
|
589
|
-
if (this.
|
|
586
|
+
if (this.x13_1) {
|
|
590
587
|
var tmp$ret$1;
|
|
591
588
|
// Inline function 'kotlin.text.buildString' call
|
|
592
589
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -595,12 +592,12 @@
|
|
|
595
592
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
596
593
|
// Inline function 'kotlin.contracts.contract' call
|
|
597
594
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
598
|
-
printQuoted(tmp0_apply, this.
|
|
595
|
+
printQuoted(tmp0_apply, this.z13_1);
|
|
599
596
|
tmp$ret$0 = tmp0_apply;
|
|
600
597
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
601
598
|
tmp = tmp$ret$1;
|
|
602
599
|
} else {
|
|
603
|
-
tmp = this.
|
|
600
|
+
tmp = this.z13_1;
|
|
604
601
|
}
|
|
605
602
|
return tmp;
|
|
606
603
|
};
|
|
@@ -613,36 +610,39 @@
|
|
|
613
610
|
other;
|
|
614
611
|
else
|
|
615
612
|
THROW_CCE();
|
|
616
|
-
if (!(this.
|
|
613
|
+
if (!(this.x13_1 === other.x13_1))
|
|
617
614
|
return false;
|
|
618
|
-
if (!(this.
|
|
615
|
+
if (!(this.z13_1 === other.z13_1))
|
|
619
616
|
return false;
|
|
620
617
|
return true;
|
|
621
618
|
};
|
|
622
619
|
protoOf(JsonLiteral).hashCode = function () {
|
|
623
|
-
var result = this.
|
|
624
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
620
|
+
var result = this.x13_1 | 0;
|
|
621
|
+
result = imul(31, result) + getStringHashCode(this.z13_1) | 0;
|
|
625
622
|
return result;
|
|
626
623
|
};
|
|
627
|
-
function
|
|
624
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
625
|
+
return $this.b14_1.w();
|
|
626
|
+
}
|
|
627
|
+
function JsonNull$_anonymous__enib48() {
|
|
628
628
|
return JsonNullSerializer_getInstance();
|
|
629
629
|
}
|
|
630
630
|
function JsonNull() {
|
|
631
631
|
JsonNull_instance = this;
|
|
632
632
|
JsonPrimitive.call(this);
|
|
633
|
-
this.
|
|
633
|
+
this.a14_1 = 'null';
|
|
634
634
|
var tmp = this;
|
|
635
635
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
636
|
-
tmp.
|
|
636
|
+
tmp.b14_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
637
637
|
}
|
|
638
|
-
protoOf(JsonNull).
|
|
639
|
-
return this.
|
|
638
|
+
protoOf(JsonNull).q13 = function () {
|
|
639
|
+
return this.a14_1;
|
|
640
640
|
};
|
|
641
|
-
protoOf(JsonNull).
|
|
642
|
-
return this
|
|
641
|
+
protoOf(JsonNull).c14 = function () {
|
|
642
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
643
643
|
};
|
|
644
|
-
protoOf(JsonNull).
|
|
645
|
-
return this.
|
|
644
|
+
protoOf(JsonNull).gv = function (typeParamsSerializers) {
|
|
645
|
+
return this.c14();
|
|
646
646
|
};
|
|
647
647
|
var JsonNull_instance;
|
|
648
648
|
function JsonNull_getInstance() {
|
|
@@ -650,9 +650,13 @@
|
|
|
650
650
|
new JsonNull();
|
|
651
651
|
return JsonNull_instance;
|
|
652
652
|
}
|
|
653
|
+
function error(_this__u8e3s4, element) {
|
|
654
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
655
|
+
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
656
|
+
}
|
|
653
657
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
654
658
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
655
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
659
|
+
return toBooleanStrictOrNull(_this__u8e3s4.q13());
|
|
656
660
|
}
|
|
657
661
|
function JsonPrimitive_0(value) {
|
|
658
662
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -662,17 +666,17 @@
|
|
|
662
666
|
}
|
|
663
667
|
function get_int(_this__u8e3s4) {
|
|
664
668
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
665
|
-
return toInt(_this__u8e3s4.
|
|
669
|
+
return toInt(_this__u8e3s4.q13());
|
|
666
670
|
}
|
|
667
671
|
function get_long(_this__u8e3s4) {
|
|
668
672
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
669
|
-
return toLong(_this__u8e3s4.
|
|
673
|
+
return toLong(_this__u8e3s4.q13());
|
|
670
674
|
}
|
|
671
675
|
function get_float(_this__u8e3s4) {
|
|
672
676
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
673
677
|
var tmp$ret$2;
|
|
674
678
|
// Inline function 'kotlin.text.toFloat' call
|
|
675
|
-
var tmp1_toFloat = _this__u8e3s4.
|
|
679
|
+
var tmp1_toFloat = _this__u8e3s4.q13();
|
|
676
680
|
var tmp$ret$1;
|
|
677
681
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
678
682
|
var tmp0_unsafeCast = toDouble(tmp1_toFloat);
|
|
@@ -685,7 +689,7 @@
|
|
|
685
689
|
}
|
|
686
690
|
function get_double(_this__u8e3s4) {
|
|
687
691
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
688
|
-
return toDouble(_this__u8e3s4.
|
|
692
|
+
return toDouble(_this__u8e3s4.q13());
|
|
689
693
|
}
|
|
690
694
|
function get_contentOrNull(_this__u8e3s4) {
|
|
691
695
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -693,7 +697,7 @@
|
|
|
693
697
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
694
698
|
tmp = null;
|
|
695
699
|
} else {
|
|
696
|
-
tmp = _this__u8e3s4.
|
|
700
|
+
tmp = _this__u8e3s4.q13();
|
|
697
701
|
}
|
|
698
702
|
return tmp;
|
|
699
703
|
}
|
|
@@ -717,40 +721,40 @@
|
|
|
717
721
|
}
|
|
718
722
|
}
|
|
719
723
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
720
|
-
$this$buildSerialDescriptor.
|
|
721
|
-
$this$buildSerialDescriptor.
|
|
722
|
-
$this$buildSerialDescriptor.
|
|
723
|
-
$this$buildSerialDescriptor.
|
|
724
|
-
$this$buildSerialDescriptor.
|
|
724
|
+
$this$buildSerialDescriptor.im('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
725
|
+
$this$buildSerialDescriptor.im('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
726
|
+
$this$buildSerialDescriptor.im('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
727
|
+
$this$buildSerialDescriptor.im('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
728
|
+
$this$buildSerialDescriptor.im('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
725
729
|
return Unit_getInstance();
|
|
726
730
|
}
|
|
727
731
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
728
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
732
|
+
return JsonPrimitiveSerializer_getInstance().d14_1;
|
|
729
733
|
}
|
|
730
734
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
731
|
-
return JsonNullSerializer_getInstance().
|
|
735
|
+
return JsonNullSerializer_getInstance().e14_1;
|
|
732
736
|
}
|
|
733
737
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
734
|
-
return JsonLiteralSerializer_getInstance().
|
|
738
|
+
return JsonLiteralSerializer_getInstance().f14_1;
|
|
735
739
|
}
|
|
736
740
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
737
|
-
return JsonObjectSerializer_getInstance().
|
|
741
|
+
return JsonObjectSerializer_getInstance().g14_1;
|
|
738
742
|
}
|
|
739
743
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
740
|
-
return JsonArraySerializer_getInstance().
|
|
744
|
+
return JsonArraySerializer_getInstance().h14_1;
|
|
741
745
|
}
|
|
742
746
|
function JsonElementSerializer() {
|
|
743
747
|
JsonElementSerializer_instance = this;
|
|
744
748
|
var tmp = this;
|
|
745
749
|
var tmp_0 = SEALED_getInstance();
|
|
746
|
-
tmp.
|
|
750
|
+
tmp.i14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
747
751
|
}
|
|
748
|
-
protoOf(JsonElementSerializer).
|
|
749
|
-
return this.
|
|
752
|
+
protoOf(JsonElementSerializer).yl = function () {
|
|
753
|
+
return this.i14_1;
|
|
750
754
|
};
|
|
751
|
-
protoOf(JsonElementSerializer).
|
|
755
|
+
protoOf(JsonElementSerializer).zl = function (decoder) {
|
|
752
756
|
var input = asJsonDecoder(decoder);
|
|
753
|
-
return input.
|
|
757
|
+
return input.p13();
|
|
754
758
|
};
|
|
755
759
|
var JsonElementSerializer_instance;
|
|
756
760
|
function JsonElementSerializer_getInstance() {
|
|
@@ -758,76 +762,15 @@
|
|
|
758
762
|
new JsonElementSerializer();
|
|
759
763
|
return JsonElementSerializer_instance;
|
|
760
764
|
}
|
|
761
|
-
function JsonObjectDescriptor() {
|
|
762
|
-
JsonObjectDescriptor_instance = this;
|
|
763
|
-
this.d14_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).sl();
|
|
764
|
-
this.e14_1 = 'kotlinx.serialization.json.JsonObject';
|
|
765
|
-
}
|
|
766
|
-
protoOf(JsonObjectDescriptor).um = function () {
|
|
767
|
-
return this.d14_1.um();
|
|
768
|
-
};
|
|
769
|
-
protoOf(JsonObjectDescriptor).vm = function () {
|
|
770
|
-
return this.d14_1.vm();
|
|
771
|
-
};
|
|
772
|
-
protoOf(JsonObjectDescriptor).wm = function () {
|
|
773
|
-
return this.d14_1.wm();
|
|
774
|
-
};
|
|
775
|
-
protoOf(JsonObjectDescriptor).pm = function () {
|
|
776
|
-
return this.d14_1.pm();
|
|
777
|
-
};
|
|
778
|
-
protoOf(JsonObjectDescriptor).xm = function () {
|
|
779
|
-
return this.d14_1.xm();
|
|
780
|
-
};
|
|
781
|
-
protoOf(JsonObjectDescriptor).ym = function (index) {
|
|
782
|
-
return this.d14_1.ym(index);
|
|
783
|
-
};
|
|
784
|
-
protoOf(JsonObjectDescriptor).zm = function (index) {
|
|
785
|
-
return this.d14_1.zm(index);
|
|
786
|
-
};
|
|
787
|
-
protoOf(JsonObjectDescriptor).an = function (name) {
|
|
788
|
-
return this.d14_1.an(name);
|
|
789
|
-
};
|
|
790
|
-
protoOf(JsonObjectDescriptor).bn = function (index) {
|
|
791
|
-
return this.d14_1.bn(index);
|
|
792
|
-
};
|
|
793
|
-
protoOf(JsonObjectDescriptor).cn = function (index) {
|
|
794
|
-
return this.d14_1.cn(index);
|
|
795
|
-
};
|
|
796
|
-
protoOf(JsonObjectDescriptor).tm = function () {
|
|
797
|
-
return this.e14_1;
|
|
798
|
-
};
|
|
799
|
-
var JsonObjectDescriptor_instance;
|
|
800
|
-
function JsonObjectDescriptor_getInstance() {
|
|
801
|
-
if (JsonObjectDescriptor_instance == null)
|
|
802
|
-
new JsonObjectDescriptor();
|
|
803
|
-
return JsonObjectDescriptor_instance;
|
|
804
|
-
}
|
|
805
|
-
function JsonObjectSerializer() {
|
|
806
|
-
JsonObjectSerializer_instance = this;
|
|
807
|
-
this.a14_1 = JsonObjectDescriptor_getInstance();
|
|
808
|
-
}
|
|
809
|
-
protoOf(JsonObjectSerializer).sl = function () {
|
|
810
|
-
return this.a14_1;
|
|
811
|
-
};
|
|
812
|
-
protoOf(JsonObjectSerializer).tl = function (decoder) {
|
|
813
|
-
verify(decoder);
|
|
814
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).tl(decoder));
|
|
815
|
-
};
|
|
816
|
-
var JsonObjectSerializer_instance;
|
|
817
|
-
function JsonObjectSerializer_getInstance() {
|
|
818
|
-
if (JsonObjectSerializer_instance == null)
|
|
819
|
-
new JsonObjectSerializer();
|
|
820
|
-
return JsonObjectSerializer_instance;
|
|
821
|
-
}
|
|
822
765
|
function JsonPrimitiveSerializer() {
|
|
823
766
|
JsonPrimitiveSerializer_instance = this;
|
|
824
|
-
this.
|
|
767
|
+
this.d14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
825
768
|
}
|
|
826
|
-
protoOf(JsonPrimitiveSerializer).
|
|
827
|
-
return this.
|
|
769
|
+
protoOf(JsonPrimitiveSerializer).yl = function () {
|
|
770
|
+
return this.d14_1;
|
|
828
771
|
};
|
|
829
|
-
protoOf(JsonPrimitiveSerializer).
|
|
830
|
-
var result = asJsonDecoder(decoder).
|
|
772
|
+
protoOf(JsonPrimitiveSerializer).zl = function (decoder) {
|
|
773
|
+
var result = asJsonDecoder(decoder).p13();
|
|
831
774
|
if (!(result instanceof JsonPrimitive))
|
|
832
775
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
833
776
|
return result;
|
|
@@ -840,41 +783,41 @@
|
|
|
840
783
|
}
|
|
841
784
|
function JsonArrayDescriptor() {
|
|
842
785
|
JsonArrayDescriptor_instance = this;
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
786
|
+
this.j14_1 = ListSerializer(JsonElementSerializer_getInstance()).yl();
|
|
787
|
+
this.k14_1 = 'kotlinx.serialization.json.JsonArray';
|
|
845
788
|
}
|
|
846
|
-
protoOf(JsonArrayDescriptor).
|
|
847
|
-
return this.
|
|
789
|
+
protoOf(JsonArrayDescriptor).an = function () {
|
|
790
|
+
return this.j14_1.an();
|
|
848
791
|
};
|
|
849
|
-
protoOf(JsonArrayDescriptor).
|
|
850
|
-
return this.
|
|
792
|
+
protoOf(JsonArrayDescriptor).bn = function () {
|
|
793
|
+
return this.j14_1.bn();
|
|
851
794
|
};
|
|
852
|
-
protoOf(JsonArrayDescriptor).
|
|
853
|
-
return this.
|
|
795
|
+
protoOf(JsonArrayDescriptor).cn = function () {
|
|
796
|
+
return this.j14_1.cn();
|
|
854
797
|
};
|
|
855
|
-
protoOf(JsonArrayDescriptor).
|
|
856
|
-
return this.
|
|
798
|
+
protoOf(JsonArrayDescriptor).vm = function () {
|
|
799
|
+
return this.j14_1.vm();
|
|
857
800
|
};
|
|
858
|
-
protoOf(JsonArrayDescriptor).
|
|
859
|
-
return this.
|
|
801
|
+
protoOf(JsonArrayDescriptor).dn = function () {
|
|
802
|
+
return this.j14_1.dn();
|
|
860
803
|
};
|
|
861
|
-
protoOf(JsonArrayDescriptor).
|
|
862
|
-
return this.
|
|
804
|
+
protoOf(JsonArrayDescriptor).en = function (index) {
|
|
805
|
+
return this.j14_1.en(index);
|
|
863
806
|
};
|
|
864
|
-
protoOf(JsonArrayDescriptor).
|
|
865
|
-
return this.
|
|
807
|
+
protoOf(JsonArrayDescriptor).fn = function (index) {
|
|
808
|
+
return this.j14_1.fn(index);
|
|
866
809
|
};
|
|
867
|
-
protoOf(JsonArrayDescriptor).
|
|
868
|
-
return this.
|
|
810
|
+
protoOf(JsonArrayDescriptor).gn = function (name) {
|
|
811
|
+
return this.j14_1.gn(name);
|
|
869
812
|
};
|
|
870
|
-
protoOf(JsonArrayDescriptor).
|
|
871
|
-
return this.
|
|
813
|
+
protoOf(JsonArrayDescriptor).hn = function (index) {
|
|
814
|
+
return this.j14_1.hn(index);
|
|
872
815
|
};
|
|
873
|
-
protoOf(JsonArrayDescriptor).
|
|
874
|
-
return this.
|
|
816
|
+
protoOf(JsonArrayDescriptor).in = function (index) {
|
|
817
|
+
return this.j14_1.in(index);
|
|
875
818
|
};
|
|
876
|
-
protoOf(JsonArrayDescriptor).
|
|
877
|
-
return this.
|
|
819
|
+
protoOf(JsonArrayDescriptor).zm = function () {
|
|
820
|
+
return this.k14_1;
|
|
878
821
|
};
|
|
879
822
|
var JsonArrayDescriptor_instance;
|
|
880
823
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -884,14 +827,14 @@
|
|
|
884
827
|
}
|
|
885
828
|
function JsonArraySerializer() {
|
|
886
829
|
JsonArraySerializer_instance = this;
|
|
887
|
-
this.
|
|
830
|
+
this.h14_1 = JsonArrayDescriptor_getInstance();
|
|
888
831
|
}
|
|
889
|
-
protoOf(JsonArraySerializer).
|
|
890
|
-
return this.
|
|
832
|
+
protoOf(JsonArraySerializer).yl = function () {
|
|
833
|
+
return this.h14_1;
|
|
891
834
|
};
|
|
892
|
-
protoOf(JsonArraySerializer).
|
|
835
|
+
protoOf(JsonArraySerializer).zl = function (decoder) {
|
|
893
836
|
verify(decoder);
|
|
894
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
837
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).zl(decoder));
|
|
895
838
|
};
|
|
896
839
|
var JsonArraySerializer_instance;
|
|
897
840
|
function JsonArraySerializer_getInstance() {
|
|
@@ -899,19 +842,80 @@
|
|
|
899
842
|
new JsonArraySerializer();
|
|
900
843
|
return JsonArraySerializer_instance;
|
|
901
844
|
}
|
|
845
|
+
function JsonObjectDescriptor() {
|
|
846
|
+
JsonObjectDescriptor_instance = this;
|
|
847
|
+
this.l14_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).yl();
|
|
848
|
+
this.m14_1 = 'kotlinx.serialization.json.JsonObject';
|
|
849
|
+
}
|
|
850
|
+
protoOf(JsonObjectDescriptor).an = function () {
|
|
851
|
+
return this.l14_1.an();
|
|
852
|
+
};
|
|
853
|
+
protoOf(JsonObjectDescriptor).bn = function () {
|
|
854
|
+
return this.l14_1.bn();
|
|
855
|
+
};
|
|
856
|
+
protoOf(JsonObjectDescriptor).cn = function () {
|
|
857
|
+
return this.l14_1.cn();
|
|
858
|
+
};
|
|
859
|
+
protoOf(JsonObjectDescriptor).vm = function () {
|
|
860
|
+
return this.l14_1.vm();
|
|
861
|
+
};
|
|
862
|
+
protoOf(JsonObjectDescriptor).dn = function () {
|
|
863
|
+
return this.l14_1.dn();
|
|
864
|
+
};
|
|
865
|
+
protoOf(JsonObjectDescriptor).en = function (index) {
|
|
866
|
+
return this.l14_1.en(index);
|
|
867
|
+
};
|
|
868
|
+
protoOf(JsonObjectDescriptor).fn = function (index) {
|
|
869
|
+
return this.l14_1.fn(index);
|
|
870
|
+
};
|
|
871
|
+
protoOf(JsonObjectDescriptor).gn = function (name) {
|
|
872
|
+
return this.l14_1.gn(name);
|
|
873
|
+
};
|
|
874
|
+
protoOf(JsonObjectDescriptor).hn = function (index) {
|
|
875
|
+
return this.l14_1.hn(index);
|
|
876
|
+
};
|
|
877
|
+
protoOf(JsonObjectDescriptor).in = function (index) {
|
|
878
|
+
return this.l14_1.in(index);
|
|
879
|
+
};
|
|
880
|
+
protoOf(JsonObjectDescriptor).zm = function () {
|
|
881
|
+
return this.m14_1;
|
|
882
|
+
};
|
|
883
|
+
var JsonObjectDescriptor_instance;
|
|
884
|
+
function JsonObjectDescriptor_getInstance() {
|
|
885
|
+
if (JsonObjectDescriptor_instance == null)
|
|
886
|
+
new JsonObjectDescriptor();
|
|
887
|
+
return JsonObjectDescriptor_instance;
|
|
888
|
+
}
|
|
889
|
+
function JsonObjectSerializer() {
|
|
890
|
+
JsonObjectSerializer_instance = this;
|
|
891
|
+
this.g14_1 = JsonObjectDescriptor_getInstance();
|
|
892
|
+
}
|
|
893
|
+
protoOf(JsonObjectSerializer).yl = function () {
|
|
894
|
+
return this.g14_1;
|
|
895
|
+
};
|
|
896
|
+
protoOf(JsonObjectSerializer).zl = function (decoder) {
|
|
897
|
+
verify(decoder);
|
|
898
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).zl(decoder));
|
|
899
|
+
};
|
|
900
|
+
var JsonObjectSerializer_instance;
|
|
901
|
+
function JsonObjectSerializer_getInstance() {
|
|
902
|
+
if (JsonObjectSerializer_instance == null)
|
|
903
|
+
new JsonObjectSerializer();
|
|
904
|
+
return JsonObjectSerializer_instance;
|
|
905
|
+
}
|
|
902
906
|
function JsonNullSerializer() {
|
|
903
907
|
JsonNullSerializer_instance = this;
|
|
904
|
-
this.
|
|
908
|
+
this.e14_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
905
909
|
}
|
|
906
|
-
protoOf(JsonNullSerializer).
|
|
907
|
-
return this.
|
|
910
|
+
protoOf(JsonNullSerializer).yl = function () {
|
|
911
|
+
return this.e14_1;
|
|
908
912
|
};
|
|
909
|
-
protoOf(JsonNullSerializer).
|
|
913
|
+
protoOf(JsonNullSerializer).zl = function (decoder) {
|
|
910
914
|
verify(decoder);
|
|
911
|
-
if (decoder.
|
|
915
|
+
if (decoder.ho()) {
|
|
912
916
|
throw new JsonDecodingException("Expected 'null' literal");
|
|
913
917
|
}
|
|
914
|
-
decoder.
|
|
918
|
+
decoder.io();
|
|
915
919
|
return JsonNull_getInstance();
|
|
916
920
|
};
|
|
917
921
|
var JsonNullSerializer_instance;
|
|
@@ -925,13 +929,13 @@
|
|
|
925
929
|
}
|
|
926
930
|
function JsonLiteralSerializer() {
|
|
927
931
|
JsonLiteralSerializer_instance = this;
|
|
928
|
-
this.
|
|
932
|
+
this.f14_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
929
933
|
}
|
|
930
|
-
protoOf(JsonLiteralSerializer).
|
|
931
|
-
return this.
|
|
934
|
+
protoOf(JsonLiteralSerializer).yl = function () {
|
|
935
|
+
return this.f14_1;
|
|
932
936
|
};
|
|
933
|
-
protoOf(JsonLiteralSerializer).
|
|
934
|
-
var result = asJsonDecoder(decoder).
|
|
937
|
+
protoOf(JsonLiteralSerializer).zl = function (decoder) {
|
|
938
|
+
var result = asJsonDecoder(decoder).p13();
|
|
935
939
|
if (!(result instanceof JsonLiteral))
|
|
936
940
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
937
941
|
return result;
|
|
@@ -959,35 +963,35 @@
|
|
|
959
963
|
var tmp$ret$0;
|
|
960
964
|
// Inline function 'kotlin.getValue' call
|
|
961
965
|
var tmp0_getValue = original$factory();
|
|
962
|
-
tmp$ret$0 = $this.
|
|
966
|
+
tmp$ret$0 = $this.n14_1.w();
|
|
963
967
|
return tmp$ret$0;
|
|
964
968
|
}
|
|
965
969
|
function defer$1($deferred) {
|
|
966
|
-
this.
|
|
970
|
+
this.n14_1 = lazy_0($deferred);
|
|
967
971
|
}
|
|
968
|
-
protoOf(defer$1).
|
|
969
|
-
return _get_original__l7ku1m(this).
|
|
972
|
+
protoOf(defer$1).zm = function () {
|
|
973
|
+
return _get_original__l7ku1m(this).zm();
|
|
970
974
|
};
|
|
971
|
-
protoOf(defer$1).
|
|
972
|
-
return _get_original__l7ku1m(this).
|
|
975
|
+
protoOf(defer$1).dn = function () {
|
|
976
|
+
return _get_original__l7ku1m(this).dn();
|
|
973
977
|
};
|
|
974
|
-
protoOf(defer$1).
|
|
975
|
-
return _get_original__l7ku1m(this).
|
|
978
|
+
protoOf(defer$1).bn = function () {
|
|
979
|
+
return _get_original__l7ku1m(this).bn();
|
|
976
980
|
};
|
|
977
|
-
protoOf(defer$1).
|
|
978
|
-
return _get_original__l7ku1m(this).
|
|
981
|
+
protoOf(defer$1).hn = function (index) {
|
|
982
|
+
return _get_original__l7ku1m(this).hn(index);
|
|
979
983
|
};
|
|
980
|
-
protoOf(defer$1).
|
|
981
|
-
return _get_original__l7ku1m(this).
|
|
984
|
+
protoOf(defer$1).gn = function (name) {
|
|
985
|
+
return _get_original__l7ku1m(this).gn(name);
|
|
982
986
|
};
|
|
983
|
-
protoOf(defer$1).
|
|
984
|
-
return _get_original__l7ku1m(this).
|
|
987
|
+
protoOf(defer$1).en = function (index) {
|
|
988
|
+
return _get_original__l7ku1m(this).en(index);
|
|
985
989
|
};
|
|
986
|
-
protoOf(defer$1).
|
|
987
|
-
return _get_original__l7ku1m(this).
|
|
990
|
+
protoOf(defer$1).fn = function (index) {
|
|
991
|
+
return _get_original__l7ku1m(this).fn(index);
|
|
988
992
|
};
|
|
989
|
-
protoOf(defer$1).
|
|
990
|
-
return _get_original__l7ku1m(this).
|
|
993
|
+
protoOf(defer$1).in = function (index) {
|
|
994
|
+
return _get_original__l7ku1m(this).in(index);
|
|
991
995
|
};
|
|
992
996
|
function original$factory() {
|
|
993
997
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -995,8 +999,8 @@
|
|
|
995
999
|
}, null);
|
|
996
1000
|
}
|
|
997
1001
|
function readIfAbsent($this, descriptor, index) {
|
|
998
|
-
$this.
|
|
999
|
-
return $this.
|
|
1002
|
+
$this.p14_1 = !descriptor.in(index) ? descriptor.fn(index).vm() : false;
|
|
1003
|
+
return $this.p14_1;
|
|
1000
1004
|
}
|
|
1001
1005
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1002
1006
|
var l = function (p0, p1) {
|
|
@@ -1007,14 +1011,14 @@
|
|
|
1007
1011
|
}
|
|
1008
1012
|
function JsonElementMarker(descriptor) {
|
|
1009
1013
|
var tmp = this;
|
|
1010
|
-
tmp.
|
|
1011
|
-
this.
|
|
1014
|
+
tmp.o14_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1015
|
+
this.p14_1 = false;
|
|
1012
1016
|
}
|
|
1013
|
-
protoOf(JsonElementMarker).
|
|
1014
|
-
this.
|
|
1017
|
+
protoOf(JsonElementMarker).zs = function (index) {
|
|
1018
|
+
this.o14_1.zs(index);
|
|
1015
1019
|
};
|
|
1016
|
-
protoOf(JsonElementMarker).
|
|
1017
|
-
return this.
|
|
1020
|
+
protoOf(JsonElementMarker).at = function () {
|
|
1021
|
+
return this.o14_1.at();
|
|
1018
1022
|
};
|
|
1019
1023
|
function JsonDecodingException(message) {
|
|
1020
1024
|
JsonException.call(this, message);
|
|
@@ -1056,14 +1060,14 @@
|
|
|
1056
1060
|
return prefix + tmp$ret$1 + suffix;
|
|
1057
1061
|
}
|
|
1058
1062
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1059
|
-
_this__u8e3s4.
|
|
1063
|
+
_this__u8e3s4.q14('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());
|
|
1060
1064
|
}
|
|
1061
1065
|
function JsonEncodingException(message) {
|
|
1062
1066
|
JsonException.call(this, message);
|
|
1063
1067
|
captureStack(this, JsonEncodingException);
|
|
1064
1068
|
}
|
|
1065
1069
|
function InvalidKeyKindException(keyDescriptor) {
|
|
1066
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
1070
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.zm() + "' 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.dn() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1067
1071
|
}
|
|
1068
1072
|
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1069
1073
|
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
@@ -1085,11 +1089,11 @@
|
|
|
1085
1089
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1086
1090
|
if (!(strategy == null))
|
|
1087
1091
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1088
|
-
var index = _this__u8e3s4.
|
|
1092
|
+
var index = _this__u8e3s4.gn(name);
|
|
1089
1093
|
Companion_getInstance();
|
|
1090
1094
|
if (!(index === -3))
|
|
1091
1095
|
return index;
|
|
1092
|
-
if (!json.
|
|
1096
|
+
if (!json.v11_1.m13_1)
|
|
1093
1097
|
return index;
|
|
1094
1098
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1095
1099
|
}
|
|
@@ -1099,18 +1103,18 @@
|
|
|
1099
1103
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1100
1104
|
Companion_getInstance();
|
|
1101
1105
|
if (index === -3)
|
|
1102
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1106
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.zm() + " does not contain element with name '" + name + "'" + suffix);
|
|
1103
1107
|
return index;
|
|
1104
1108
|
}
|
|
1105
1109
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1106
1110
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1107
|
-
return equals(_this__u8e3s4.
|
|
1111
|
+
return equals(_this__u8e3s4.dn(), CLASS_getInstance()) ? json.v11_1.n13_1 : null;
|
|
1108
1112
|
}
|
|
1109
1113
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1110
1114
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1111
1115
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1112
1116
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1113
|
-
return tmp.
|
|
1117
|
+
return tmp.s14(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1114
1118
|
}
|
|
1115
1119
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1116
1120
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1120,14 +1124,14 @@
|
|
|
1120
1124
|
var builder = tmp$ret$0;
|
|
1121
1125
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1122
1126
|
var inductionVariable = 0;
|
|
1123
|
-
var last = _this__u8e3s4.
|
|
1127
|
+
var last = _this__u8e3s4.bn();
|
|
1124
1128
|
if (inductionVariable < last)
|
|
1125
1129
|
do {
|
|
1126
1130
|
var i = inductionVariable;
|
|
1127
1131
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1128
1132
|
var tmp$ret$2;
|
|
1129
1133
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1130
|
-
var tmp1_filterIsInstance = _this__u8e3s4.
|
|
1134
|
+
var tmp1_filterIsInstance = _this__u8e3s4.en(i);
|
|
1131
1135
|
var tmp$ret$1;
|
|
1132
1136
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1133
1137
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
@@ -1141,7 +1145,7 @@
|
|
|
1141
1145
|
tmp$ret$1 = tmp0_filterIsInstanceTo;
|
|
1142
1146
|
tmp$ret$2 = tmp$ret$1;
|
|
1143
1147
|
var tmp1_safe_receiver = singleOrNull(tmp$ret$2);
|
|
1144
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1148
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t14_1;
|
|
1145
1149
|
if (tmp2_safe_receiver == null)
|
|
1146
1150
|
null;
|
|
1147
1151
|
else {
|
|
@@ -1160,7 +1164,7 @@
|
|
|
1160
1164
|
var tmp$ret$3;
|
|
1161
1165
|
// Inline function 'kotlin.let' call
|
|
1162
1166
|
// Inline function 'kotlin.contracts.contract' call
|
|
1163
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.
|
|
1167
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, tmp3_safe_receiver.u14(_this__u8e3s4, i, _this__u8e3s4.hn(i)), i);
|
|
1164
1168
|
tmp$ret$3 = Unit_getInstance();
|
|
1165
1169
|
}
|
|
1166
1170
|
}
|
|
@@ -1198,7 +1202,7 @@
|
|
|
1198
1202
|
tmp$ret$0 = (isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).i2(name);
|
|
1199
1203
|
tmp$ret$1 = tmp$ret$0;
|
|
1200
1204
|
if (tmp$ret$1) {
|
|
1201
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1205
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.hn(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.hn(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1202
1206
|
}
|
|
1203
1207
|
// Inline function 'kotlin.collections.set' call
|
|
1204
1208
|
_this__u8e3s4.k3(name, index);
|
|
@@ -1227,16 +1231,16 @@
|
|
|
1227
1231
|
return Tombstone_instance;
|
|
1228
1232
|
}
|
|
1229
1233
|
function resize($this) {
|
|
1230
|
-
var newSize = imul($this.
|
|
1231
|
-
$this.
|
|
1232
|
-
$this.
|
|
1234
|
+
var newSize = imul($this.x14_1, 2);
|
|
1235
|
+
$this.v14_1 = copyOf($this.v14_1, newSize);
|
|
1236
|
+
$this.w14_1 = copyOf_0($this.w14_1, newSize);
|
|
1233
1237
|
}
|
|
1234
1238
|
function JsonPath() {
|
|
1235
1239
|
var tmp = this;
|
|
1236
1240
|
var tmp$ret$0;
|
|
1237
1241
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1238
1242
|
tmp$ret$0 = fillArrayVal(Array(8), null);
|
|
1239
|
-
tmp.
|
|
1243
|
+
tmp.v14_1 = tmp$ret$0;
|
|
1240
1244
|
var tmp_0 = this;
|
|
1241
1245
|
var tmp_1 = 0;
|
|
1242
1246
|
var tmp_2 = 8;
|
|
@@ -1249,56 +1253,56 @@
|
|
|
1249
1253
|
tmp_3[tmp_4] = tmp$ret$1;
|
|
1250
1254
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1251
1255
|
}
|
|
1252
|
-
tmp_0.
|
|
1253
|
-
this.
|
|
1256
|
+
tmp_0.w14_1 = tmp_3;
|
|
1257
|
+
this.x14_1 = -1;
|
|
1254
1258
|
}
|
|
1255
|
-
protoOf(JsonPath).
|
|
1259
|
+
protoOf(JsonPath).y14 = function (sd) {
|
|
1256
1260
|
var tmp0_this = this;
|
|
1257
|
-
tmp0_this.
|
|
1258
|
-
var depth = tmp0_this.
|
|
1259
|
-
if (depth === this.
|
|
1261
|
+
tmp0_this.x14_1 = tmp0_this.x14_1 + 1 | 0;
|
|
1262
|
+
var depth = tmp0_this.x14_1;
|
|
1263
|
+
if (depth === this.v14_1.length) {
|
|
1260
1264
|
resize(this);
|
|
1261
1265
|
}
|
|
1262
|
-
this.
|
|
1266
|
+
this.v14_1[depth] = sd;
|
|
1263
1267
|
};
|
|
1264
|
-
protoOf(JsonPath).
|
|
1265
|
-
this.
|
|
1268
|
+
protoOf(JsonPath).z14 = function (index) {
|
|
1269
|
+
this.w14_1[this.x14_1] = index;
|
|
1266
1270
|
};
|
|
1267
|
-
protoOf(JsonPath).
|
|
1271
|
+
protoOf(JsonPath).a15 = function (key) {
|
|
1268
1272
|
var tmp;
|
|
1269
|
-
if (!(this.
|
|
1273
|
+
if (!(this.w14_1[this.x14_1] === -2)) {
|
|
1270
1274
|
var tmp0_this = this;
|
|
1271
|
-
tmp0_this.
|
|
1272
|
-
tmp = tmp0_this.
|
|
1275
|
+
tmp0_this.x14_1 = tmp0_this.x14_1 + 1 | 0;
|
|
1276
|
+
tmp = tmp0_this.x14_1 === this.v14_1.length;
|
|
1273
1277
|
} else {
|
|
1274
1278
|
tmp = false;
|
|
1275
1279
|
}
|
|
1276
1280
|
if (tmp) {
|
|
1277
1281
|
resize(this);
|
|
1278
1282
|
}
|
|
1279
|
-
this.
|
|
1280
|
-
this.
|
|
1283
|
+
this.v14_1[this.x14_1] = key;
|
|
1284
|
+
this.w14_1[this.x14_1] = -2;
|
|
1281
1285
|
};
|
|
1282
|
-
protoOf(JsonPath).
|
|
1283
|
-
if (this.
|
|
1284
|
-
this.
|
|
1286
|
+
protoOf(JsonPath).b15 = function () {
|
|
1287
|
+
if (this.w14_1[this.x14_1] === -2) {
|
|
1288
|
+
this.v14_1[this.x14_1] = Tombstone_getInstance();
|
|
1285
1289
|
}
|
|
1286
1290
|
};
|
|
1287
|
-
protoOf(JsonPath).
|
|
1288
|
-
var depth = this.
|
|
1289
|
-
if (this.
|
|
1290
|
-
this.
|
|
1291
|
+
protoOf(JsonPath).c15 = function () {
|
|
1292
|
+
var depth = this.x14_1;
|
|
1293
|
+
if (this.w14_1[depth] === -2) {
|
|
1294
|
+
this.w14_1[depth] = -1;
|
|
1291
1295
|
var tmp0_this = this;
|
|
1292
|
-
var tmp1 = tmp0_this.
|
|
1293
|
-
tmp0_this.
|
|
1296
|
+
var tmp1 = tmp0_this.x14_1;
|
|
1297
|
+
tmp0_this.x14_1 = tmp1 - 1 | 0;
|
|
1294
1298
|
}
|
|
1295
|
-
if (!(this.
|
|
1299
|
+
if (!(this.x14_1 === -1)) {
|
|
1296
1300
|
var tmp2_this = this;
|
|
1297
|
-
var tmp3 = tmp2_this.
|
|
1298
|
-
tmp2_this.
|
|
1301
|
+
var tmp3 = tmp2_this.x14_1;
|
|
1302
|
+
tmp2_this.x14_1 = tmp3 - 1 | 0;
|
|
1299
1303
|
}
|
|
1300
1304
|
};
|
|
1301
|
-
protoOf(JsonPath).
|
|
1305
|
+
protoOf(JsonPath).d15 = function () {
|
|
1302
1306
|
var tmp$ret$1;
|
|
1303
1307
|
// Inline function 'kotlin.text.buildString' call
|
|
1304
1308
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1309,7 +1313,7 @@
|
|
|
1309
1313
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1310
1314
|
tmp0_apply.y5('$');
|
|
1311
1315
|
// Inline function 'kotlin.repeat' call
|
|
1312
|
-
var tmp0_repeat = this.
|
|
1316
|
+
var tmp0_repeat = this.x14_1 + 1 | 0;
|
|
1313
1317
|
// Inline function 'kotlin.contracts.contract' call
|
|
1314
1318
|
var inductionVariable = 0;
|
|
1315
1319
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1317,19 +1321,19 @@
|
|
|
1317
1321
|
var index = inductionVariable;
|
|
1318
1322
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1319
1323
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1320
|
-
var element = this.
|
|
1324
|
+
var element = this.v14_1[index];
|
|
1321
1325
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1322
|
-
if (equals(element.
|
|
1323
|
-
if (!(this.
|
|
1326
|
+
if (equals(element.dn(), LIST_getInstance())) {
|
|
1327
|
+
if (!(this.w14_1[index] === -1)) {
|
|
1324
1328
|
tmp0_apply.y5('[');
|
|
1325
|
-
tmp0_apply.x5(this.
|
|
1329
|
+
tmp0_apply.x5(this.w14_1[index]);
|
|
1326
1330
|
tmp0_apply.y5(']');
|
|
1327
1331
|
}
|
|
1328
1332
|
} else {
|
|
1329
|
-
var idx = this.
|
|
1333
|
+
var idx = this.w14_1[index];
|
|
1330
1334
|
if (idx >= 0) {
|
|
1331
1335
|
tmp0_apply.y5('.');
|
|
1332
|
-
tmp0_apply.y5(element.
|
|
1336
|
+
tmp0_apply.y5(element.hn(idx));
|
|
1333
1337
|
}
|
|
1334
1338
|
}
|
|
1335
1339
|
} else {
|
|
@@ -1348,42 +1352,42 @@
|
|
|
1348
1352
|
return tmp$ret$1;
|
|
1349
1353
|
};
|
|
1350
1354
|
protoOf(JsonPath).toString = function () {
|
|
1351
|
-
return this.
|
|
1355
|
+
return this.d15();
|
|
1352
1356
|
};
|
|
1353
1357
|
function readObject($this) {
|
|
1354
1358
|
var tmp$ret$2;
|
|
1355
1359
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1356
|
-
var lastToken = $this.
|
|
1357
|
-
if ($this.
|
|
1358
|
-
$this.
|
|
1360
|
+
var lastToken = $this.e15_1.h15(get_TC_BEGIN_OBJ());
|
|
1361
|
+
if ($this.e15_1.i15() === get_TC_COMMA()) {
|
|
1362
|
+
$this.e15_1.q14('Unexpected leading comma');
|
|
1359
1363
|
}
|
|
1360
1364
|
var tmp$ret$0;
|
|
1361
1365
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1362
1366
|
tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
1363
1367
|
var result = tmp$ret$0;
|
|
1364
|
-
$l$loop: while ($this.
|
|
1365
|
-
var key = $this.
|
|
1366
|
-
$this.
|
|
1368
|
+
$l$loop: while ($this.e15_1.j15()) {
|
|
1369
|
+
var key = $this.f15_1 ? $this.e15_1.l15() : $this.e15_1.k15();
|
|
1370
|
+
$this.e15_1.h15(get_TC_COLON());
|
|
1367
1371
|
var tmp$ret$1;
|
|
1368
1372
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1369
|
-
tmp$ret$1 = $this.
|
|
1373
|
+
tmp$ret$1 = $this.m15();
|
|
1370
1374
|
var element = tmp$ret$1;
|
|
1371
1375
|
// Inline function 'kotlin.collections.set' call
|
|
1372
1376
|
result.k3(key, element);
|
|
1373
|
-
lastToken = $this.
|
|
1377
|
+
lastToken = $this.e15_1.n15();
|
|
1374
1378
|
var tmp0_subject = lastToken;
|
|
1375
1379
|
if (tmp0_subject === get_TC_COMMA())
|
|
1376
1380
|
;
|
|
1377
1381
|
else if (tmp0_subject === get_TC_END_OBJ())
|
|
1378
1382
|
break $l$loop;
|
|
1379
1383
|
else {
|
|
1380
|
-
$this.
|
|
1384
|
+
$this.e15_1.q14('Expected end of the object or comma');
|
|
1381
1385
|
}
|
|
1382
1386
|
}
|
|
1383
1387
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1384
|
-
$this.
|
|
1388
|
+
$this.e15_1.h15(get_TC_END_OBJ());
|
|
1385
1389
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1386
|
-
$this.
|
|
1390
|
+
$this.e15_1.q14('Unexpected trailing comma');
|
|
1387
1391
|
}
|
|
1388
1392
|
tmp$ret$2 = new JsonObject(result);
|
|
1389
1393
|
return tmp$ret$2;
|
|
@@ -1395,44 +1399,44 @@
|
|
|
1395
1399
|
return tmp.bg();
|
|
1396
1400
|
}
|
|
1397
1401
|
function readArray($this) {
|
|
1398
|
-
var lastToken = $this.
|
|
1399
|
-
if ($this.
|
|
1400
|
-
$this.
|
|
1402
|
+
var lastToken = $this.e15_1.n15();
|
|
1403
|
+
if ($this.e15_1.i15() === get_TC_COMMA()) {
|
|
1404
|
+
$this.e15_1.q14('Unexpected leading comma');
|
|
1401
1405
|
}
|
|
1402
1406
|
var tmp$ret$0;
|
|
1403
1407
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1404
1408
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1405
1409
|
var result = tmp$ret$0;
|
|
1406
|
-
while ($this.
|
|
1407
|
-
var element = $this.
|
|
1410
|
+
while ($this.e15_1.j15()) {
|
|
1411
|
+
var element = $this.m15();
|
|
1408
1412
|
result.a(element);
|
|
1409
|
-
lastToken = $this.
|
|
1413
|
+
lastToken = $this.e15_1.n15();
|
|
1410
1414
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1411
1415
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1412
|
-
var tmp0_require = $this.
|
|
1416
|
+
var tmp0_require = $this.e15_1;
|
|
1413
1417
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1414
|
-
var tmp2_require = tmp0_require.
|
|
1418
|
+
var tmp2_require = tmp0_require.i12_1;
|
|
1415
1419
|
if (!tmp1_require) {
|
|
1416
1420
|
var tmp$ret$1;
|
|
1417
1421
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1418
1422
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1419
|
-
tmp0_require.
|
|
1423
|
+
tmp0_require.q14(tmp$ret$1, tmp2_require);
|
|
1420
1424
|
}
|
|
1421
1425
|
}
|
|
1422
1426
|
}
|
|
1423
1427
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1424
|
-
$this.
|
|
1428
|
+
$this.e15_1.h15(get_TC_END_LIST());
|
|
1425
1429
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1426
|
-
$this.
|
|
1430
|
+
$this.e15_1.q14('Unexpected trailing comma');
|
|
1427
1431
|
}
|
|
1428
1432
|
return new JsonArray(result);
|
|
1429
1433
|
}
|
|
1430
1434
|
function readValue($this, isString) {
|
|
1431
1435
|
var tmp;
|
|
1432
|
-
if ($this.
|
|
1433
|
-
tmp = $this.
|
|
1436
|
+
if ($this.f15_1 ? true : !isString) {
|
|
1437
|
+
tmp = $this.e15_1.l15();
|
|
1434
1438
|
} else {
|
|
1435
|
-
tmp = $this.
|
|
1439
|
+
tmp = $this.e15_1.k15();
|
|
1436
1440
|
}
|
|
1437
1441
|
var string = tmp;
|
|
1438
1442
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1443,18 +1447,18 @@
|
|
|
1443
1447
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1444
1448
|
}
|
|
1445
1449
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1446
|
-
this.
|
|
1450
|
+
this.j16_1 = this$0;
|
|
1447
1451
|
CoroutineImpl.call(this, resultContinuation);
|
|
1448
1452
|
}
|
|
1449
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1450
|
-
var tmp = this.
|
|
1453
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).o16 = function ($this$$receiver, it, $completion) {
|
|
1454
|
+
var tmp = this.p16($this$$receiver, it, $completion);
|
|
1451
1455
|
tmp.vf_1 = Unit_getInstance();
|
|
1452
1456
|
tmp.wf_1 = null;
|
|
1453
1457
|
return tmp.bg();
|
|
1454
1458
|
};
|
|
1455
1459
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).m6 = function (p1, p2, $completion) {
|
|
1456
1460
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1457
|
-
return this.
|
|
1461
|
+
return this.o16(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1458
1462
|
};
|
|
1459
1463
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).bg = function () {
|
|
1460
1464
|
var suspendResult = this.vf_1;
|
|
@@ -1464,32 +1468,32 @@
|
|
|
1464
1468
|
switch (tmp) {
|
|
1465
1469
|
case 0:
|
|
1466
1470
|
this.uf_1 = 3;
|
|
1467
|
-
this.
|
|
1468
|
-
if (this.
|
|
1469
|
-
this.
|
|
1471
|
+
this.m16_1 = this.j16_1.e15_1.i15();
|
|
1472
|
+
if (this.m16_1 === get_TC_STRING()) {
|
|
1473
|
+
this.n16_1 = readValue(this.j16_1, true);
|
|
1470
1474
|
this.tf_1 = 2;
|
|
1471
1475
|
continue $sm;
|
|
1472
1476
|
} else {
|
|
1473
|
-
if (this.
|
|
1474
|
-
this.
|
|
1477
|
+
if (this.m16_1 === get_TC_OTHER()) {
|
|
1478
|
+
this.n16_1 = readValue(this.j16_1, false);
|
|
1475
1479
|
this.tf_1 = 2;
|
|
1476
1480
|
continue $sm;
|
|
1477
1481
|
} else {
|
|
1478
|
-
if (this.
|
|
1482
|
+
if (this.m16_1 === get_TC_BEGIN_OBJ()) {
|
|
1479
1483
|
this.tf_1 = 1;
|
|
1480
|
-
suspendResult = readObject_0(this.
|
|
1484
|
+
suspendResult = readObject_0(this.k16_1, this.j16_1, this);
|
|
1481
1485
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1482
1486
|
return suspendResult;
|
|
1483
1487
|
}
|
|
1484
1488
|
continue $sm;
|
|
1485
1489
|
} else {
|
|
1486
|
-
if (this.
|
|
1487
|
-
this.
|
|
1490
|
+
if (this.m16_1 === get_TC_BEGIN_LIST()) {
|
|
1491
|
+
this.n16_1 = readArray(this.j16_1);
|
|
1488
1492
|
this.tf_1 = 2;
|
|
1489
1493
|
continue $sm;
|
|
1490
1494
|
} else {
|
|
1491
1495
|
var tmp_0 = this;
|
|
1492
|
-
this.
|
|
1496
|
+
this.j16_1.e15_1.q14("Can't begin reading element, unexpected token");
|
|
1493
1497
|
}
|
|
1494
1498
|
}
|
|
1495
1499
|
}
|
|
@@ -1497,11 +1501,11 @@
|
|
|
1497
1501
|
|
|
1498
1502
|
break;
|
|
1499
1503
|
case 1:
|
|
1500
|
-
this.
|
|
1504
|
+
this.n16_1 = suspendResult;
|
|
1501
1505
|
this.tf_1 = 2;
|
|
1502
1506
|
continue $sm;
|
|
1503
1507
|
case 2:
|
|
1504
|
-
return this.
|
|
1508
|
+
return this.n16_1;
|
|
1505
1509
|
case 3:
|
|
1506
1510
|
throw this.wf_1;
|
|
1507
1511
|
}
|
|
@@ -1516,24 +1520,24 @@
|
|
|
1516
1520
|
}
|
|
1517
1521
|
while (true);
|
|
1518
1522
|
};
|
|
1519
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1520
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1521
|
-
i.
|
|
1522
|
-
i.
|
|
1523
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).p16 = function ($this$$receiver, it, completion) {
|
|
1524
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.j16_1, completion);
|
|
1525
|
+
i.k16_1 = $this$$receiver;
|
|
1526
|
+
i.l16_1 = it;
|
|
1523
1527
|
return i;
|
|
1524
1528
|
};
|
|
1525
1529
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1526
1530
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1527
1531
|
var l = function ($this$$receiver, it, $completion) {
|
|
1528
|
-
return i.
|
|
1532
|
+
return i.o16($this$$receiver, it, $completion);
|
|
1529
1533
|
};
|
|
1530
1534
|
l.$arity = 2;
|
|
1531
1535
|
return l;
|
|
1532
1536
|
}
|
|
1533
1537
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1534
1538
|
CoroutineImpl.call(this, resultContinuation);
|
|
1535
|
-
this.
|
|
1536
|
-
this.
|
|
1539
|
+
this.w15_1 = _this__u8e3s4;
|
|
1540
|
+
this.x15_1 = _this__u8e3s4_0;
|
|
1537
1541
|
}
|
|
1538
1542
|
protoOf($readObjectCOROUTINE$0).bg = function () {
|
|
1539
1543
|
var suspendResult = this.vf_1;
|
|
@@ -1543,26 +1547,26 @@
|
|
|
1543
1547
|
switch (tmp) {
|
|
1544
1548
|
case 0:
|
|
1545
1549
|
this.uf_1 = 5;
|
|
1546
|
-
this.
|
|
1547
|
-
if (this.
|
|
1548
|
-
this.
|
|
1550
|
+
this.y15_1 = this.w15_1.e15_1.h15(get_TC_BEGIN_OBJ());
|
|
1551
|
+
if (this.w15_1.e15_1.i15() === get_TC_COMMA()) {
|
|
1552
|
+
this.w15_1.e15_1.q14('Unexpected leading comma');
|
|
1549
1553
|
}
|
|
1550
1554
|
|
|
1551
1555
|
var tmp_0 = this;
|
|
1552
|
-
tmp_0.
|
|
1556
|
+
tmp_0.z15_1 = LinkedHashMap_init_$Create$();
|
|
1553
1557
|
this.tf_1 = 1;
|
|
1554
1558
|
continue $sm;
|
|
1555
1559
|
case 1:
|
|
1556
|
-
if (!this.
|
|
1560
|
+
if (!this.w15_1.e15_1.j15()) {
|
|
1557
1561
|
this.tf_1 = 4;
|
|
1558
1562
|
continue $sm;
|
|
1559
1563
|
}
|
|
1560
1564
|
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1565
|
+
this.a16_1 = this.w15_1.f15_1 ? this.w15_1.e15_1.l15() : this.w15_1.e15_1.k15();
|
|
1566
|
+
this.w15_1.e15_1.h15(get_TC_COLON());
|
|
1563
1567
|
;
|
|
1564
1568
|
this.tf_1 = 2;
|
|
1565
|
-
suspendResult = this.
|
|
1569
|
+
suspendResult = this.x15_1.e6(Unit_getInstance(), this);
|
|
1566
1570
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1567
1571
|
return suspendResult;
|
|
1568
1572
|
}
|
|
@@ -1570,10 +1574,10 @@
|
|
|
1570
1574
|
continue $sm;
|
|
1571
1575
|
case 2:
|
|
1572
1576
|
var element = suspendResult;
|
|
1573
|
-
this.
|
|
1577
|
+
this.z15_1.k3(this.a16_1, element);
|
|
1574
1578
|
;
|
|
1575
|
-
this.
|
|
1576
|
-
var tmp0_subject = this.
|
|
1579
|
+
this.y15_1 = this.w15_1.e15_1.n15();
|
|
1580
|
+
var tmp0_subject = this.y15_1;
|
|
1577
1581
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1578
1582
|
this.tf_1 = 3;
|
|
1579
1583
|
continue $sm;
|
|
@@ -1582,7 +1586,7 @@
|
|
|
1582
1586
|
this.tf_1 = 4;
|
|
1583
1587
|
continue $sm;
|
|
1584
1588
|
} else {
|
|
1585
|
-
this.
|
|
1589
|
+
this.w15_1.e15_1.q14('Expected end of the object or comma');
|
|
1586
1590
|
}
|
|
1587
1591
|
}
|
|
1588
1592
|
|
|
@@ -1591,13 +1595,13 @@
|
|
|
1591
1595
|
this.tf_1 = 1;
|
|
1592
1596
|
continue $sm;
|
|
1593
1597
|
case 4:
|
|
1594
|
-
if (this.
|
|
1595
|
-
this.
|
|
1596
|
-
} else if (this.
|
|
1597
|
-
this.
|
|
1598
|
+
if (this.y15_1 === get_TC_BEGIN_OBJ()) {
|
|
1599
|
+
this.w15_1.e15_1.h15(get_TC_END_OBJ());
|
|
1600
|
+
} else if (this.y15_1 === get_TC_COMMA()) {
|
|
1601
|
+
this.w15_1.e15_1.q14('Unexpected trailing comma');
|
|
1598
1602
|
}
|
|
1599
1603
|
|
|
1600
|
-
return new JsonObject(this.
|
|
1604
|
+
return new JsonObject(this.z15_1);
|
|
1601
1605
|
case 5:
|
|
1602
1606
|
throw this.wf_1;
|
|
1603
1607
|
}
|
|
@@ -1613,12 +1617,12 @@
|
|
|
1613
1617
|
while (true);
|
|
1614
1618
|
};
|
|
1615
1619
|
function JsonTreeReader(configuration, lexer) {
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1620
|
+
this.e15_1 = lexer;
|
|
1621
|
+
this.f15_1 = configuration.d13_1;
|
|
1622
|
+
this.g15_1 = 0;
|
|
1619
1623
|
}
|
|
1620
|
-
protoOf(JsonTreeReader).
|
|
1621
|
-
var token = this.
|
|
1624
|
+
protoOf(JsonTreeReader).m15 = function () {
|
|
1625
|
+
var token = this.e15_1.i15();
|
|
1622
1626
|
var tmp;
|
|
1623
1627
|
if (token === get_TC_STRING()) {
|
|
1624
1628
|
tmp = readValue(this, true);
|
|
@@ -1627,56 +1631,56 @@
|
|
|
1627
1631
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1628
1632
|
var tmp_0;
|
|
1629
1633
|
var tmp0_this = this;
|
|
1630
|
-
tmp0_this.
|
|
1631
|
-
if (tmp0_this.
|
|
1634
|
+
tmp0_this.g15_1 = tmp0_this.g15_1 + 1 | 0;
|
|
1635
|
+
if (tmp0_this.g15_1 === 200) {
|
|
1632
1636
|
tmp_0 = readDeepRecursive(this);
|
|
1633
1637
|
} else {
|
|
1634
1638
|
tmp_0 = readObject(this);
|
|
1635
1639
|
}
|
|
1636
1640
|
var result = tmp_0;
|
|
1637
1641
|
var tmp1_this = this;
|
|
1638
|
-
tmp1_this.
|
|
1642
|
+
tmp1_this.g15_1 = tmp1_this.g15_1 - 1 | 0;
|
|
1639
1643
|
tmp = result;
|
|
1640
1644
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1641
1645
|
tmp = readArray(this);
|
|
1642
1646
|
} else {
|
|
1643
|
-
this.
|
|
1647
|
+
this.e15_1.q14('Cannot begin reading element, unexpected token: ' + token);
|
|
1644
1648
|
}
|
|
1645
1649
|
return tmp;
|
|
1646
1650
|
};
|
|
1647
1651
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1648
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1652
|
+
var tmp0_iterator = _this__u8e3s4.an().c();
|
|
1649
1653
|
while (tmp0_iterator.d()) {
|
|
1650
1654
|
var annotation = tmp0_iterator.e();
|
|
1651
1655
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1652
|
-
return annotation.
|
|
1656
|
+
return annotation.q16_1;
|
|
1653
1657
|
}
|
|
1654
|
-
return json.
|
|
1658
|
+
return json.v11_1.k13_1;
|
|
1655
1659
|
}
|
|
1656
1660
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1657
1661
|
var tmp;
|
|
1658
1662
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1659
1663
|
tmp = true;
|
|
1660
1664
|
} else {
|
|
1661
|
-
tmp = _this__u8e3s4.
|
|
1665
|
+
tmp = _this__u8e3s4.o13().v11_1.j13_1;
|
|
1662
1666
|
}
|
|
1663
1667
|
if (tmp) {
|
|
1664
|
-
return deserializer.
|
|
1668
|
+
return deserializer.zl(_this__u8e3s4);
|
|
1665
1669
|
}
|
|
1666
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1670
|
+
var discriminator = classDiscriminator(deserializer.yl(), _this__u8e3s4.o13());
|
|
1667
1671
|
var tmp$ret$0;
|
|
1668
1672
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1669
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1670
|
-
var tmp1_cast = deserializer.
|
|
1673
|
+
var tmp0_cast = _this__u8e3s4.p13();
|
|
1674
|
+
var tmp1_cast = deserializer.yl();
|
|
1671
1675
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1672
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1676
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.zm() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1673
1677
|
}
|
|
1674
1678
|
tmp$ret$0 = tmp0_cast;
|
|
1675
1679
|
var jsonTree = tmp$ret$0;
|
|
1676
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1680
|
+
var tmp0_safe_receiver = jsonTree.w13(discriminator);
|
|
1677
1681
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1678
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1679
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1682
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q13();
|
|
1683
|
+
var tmp2_elvis_lhs = deserializer.nm(_this__u8e3s4, type);
|
|
1680
1684
|
var tmp_0;
|
|
1681
1685
|
if (tmp2_elvis_lhs == null) {
|
|
1682
1686
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1684,7 +1688,7 @@
|
|
|
1684
1688
|
tmp_0 = tmp2_elvis_lhs;
|
|
1685
1689
|
}
|
|
1686
1690
|
var actualSerializer = tmp_0;
|
|
1687
|
-
var tmp_1 = _this__u8e3s4.
|
|
1691
|
+
var tmp_1 = _this__u8e3s4.o13();
|
|
1688
1692
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1689
1693
|
}
|
|
1690
1694
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1692,7 +1696,7 @@
|
|
|
1692
1696
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1693
1697
|
}
|
|
1694
1698
|
function checkKind($this, descriptor, actualClass) {
|
|
1695
|
-
var kind = descriptor.
|
|
1699
|
+
var kind = descriptor.dn();
|
|
1696
1700
|
var tmp;
|
|
1697
1701
|
if (kind instanceof PolymorphicKind) {
|
|
1698
1702
|
tmp = true;
|
|
@@ -1702,7 +1706,7 @@
|
|
|
1702
1706
|
if (tmp) {
|
|
1703
1707
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.fc() + " 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.'));
|
|
1704
1708
|
}
|
|
1705
|
-
if ($this.
|
|
1709
|
+
if ($this.r16_1)
|
|
1706
1710
|
return Unit_getInstance();
|
|
1707
1711
|
var tmp_0;
|
|
1708
1712
|
var tmp_1;
|
|
@@ -1722,45 +1726,45 @@
|
|
|
1722
1726
|
}
|
|
1723
1727
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1724
1728
|
var inductionVariable = 0;
|
|
1725
|
-
var last = descriptor.
|
|
1729
|
+
var last = descriptor.bn();
|
|
1726
1730
|
if (inductionVariable < last)
|
|
1727
1731
|
do {
|
|
1728
1732
|
var i = inductionVariable;
|
|
1729
1733
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1730
|
-
var name = descriptor.
|
|
1731
|
-
if (name === $this.
|
|
1734
|
+
var name = descriptor.hn(i);
|
|
1735
|
+
if (name === $this.s16_1) {
|
|
1732
1736
|
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');
|
|
1733
1737
|
}
|
|
1734
1738
|
}
|
|
1735
1739
|
while (inductionVariable < last);
|
|
1736
1740
|
}
|
|
1737
1741
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1742
|
+
this.r16_1 = useArrayPolymorphism;
|
|
1743
|
+
this.s16_1 = discriminator;
|
|
1740
1744
|
}
|
|
1741
|
-
protoOf(PolymorphismValidator).
|
|
1745
|
+
protoOf(PolymorphismValidator).m11 = function (kClass, provider) {
|
|
1742
1746
|
};
|
|
1743
|
-
protoOf(PolymorphismValidator).
|
|
1744
|
-
var descriptor = actualSerializer.
|
|
1747
|
+
protoOf(PolymorphismValidator).p11 = function (baseClass, actualClass, actualSerializer) {
|
|
1748
|
+
var descriptor = actualSerializer.yl();
|
|
1745
1749
|
checkKind(this, descriptor, actualClass);
|
|
1746
|
-
if (!this.
|
|
1750
|
+
if (!this.r16_1) {
|
|
1747
1751
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1748
1752
|
}
|
|
1749
1753
|
};
|
|
1750
|
-
protoOf(PolymorphismValidator).
|
|
1754
|
+
protoOf(PolymorphismValidator).q11 = function (baseClass, defaultSerializerProvider) {
|
|
1751
1755
|
};
|
|
1752
|
-
protoOf(PolymorphismValidator).
|
|
1756
|
+
protoOf(PolymorphismValidator).r11 = function (baseClass, defaultDeserializerProvider) {
|
|
1753
1757
|
};
|
|
1754
1758
|
function Key() {
|
|
1755
1759
|
}
|
|
1756
1760
|
function DescriptorSchemaCache() {
|
|
1757
|
-
this.
|
|
1761
|
+
this.r14_1 = createMapForCache(16);
|
|
1758
1762
|
}
|
|
1759
|
-
protoOf(DescriptorSchemaCache).
|
|
1763
|
+
protoOf(DescriptorSchemaCache).t16 = function (descriptor, key, value) {
|
|
1760
1764
|
// Inline function 'kotlin.collections.set' call
|
|
1761
1765
|
var tmp$ret$1;
|
|
1762
1766
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1763
|
-
var tmp0_getOrPut = this.
|
|
1767
|
+
var tmp0_getOrPut = this.r14_1;
|
|
1764
1768
|
var value_0 = tmp0_getOrPut.m2(descriptor);
|
|
1765
1769
|
var tmp;
|
|
1766
1770
|
if (value_0 == null) {
|
|
@@ -1779,8 +1783,8 @@
|
|
|
1779
1783
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1780
1784
|
tmp1_set.k3(tmp2_set, tmp3_set);
|
|
1781
1785
|
};
|
|
1782
|
-
protoOf(DescriptorSchemaCache).
|
|
1783
|
-
var tmp0_safe_receiver = this.
|
|
1786
|
+
protoOf(DescriptorSchemaCache).s14 = function (descriptor, key, defaultValue) {
|
|
1787
|
+
var tmp0_safe_receiver = this.u16(descriptor, key);
|
|
1784
1788
|
if (tmp0_safe_receiver == null)
|
|
1785
1789
|
null;
|
|
1786
1790
|
else {
|
|
@@ -1790,11 +1794,11 @@
|
|
|
1790
1794
|
return tmp0_safe_receiver;
|
|
1791
1795
|
}
|
|
1792
1796
|
var value = defaultValue();
|
|
1793
|
-
this.
|
|
1797
|
+
this.t16(descriptor, key, value);
|
|
1794
1798
|
return value;
|
|
1795
1799
|
};
|
|
1796
|
-
protoOf(DescriptorSchemaCache).
|
|
1797
|
-
var tmp0_safe_receiver = this.
|
|
1800
|
+
protoOf(DescriptorSchemaCache).u16 = function (descriptor, key) {
|
|
1801
|
+
var tmp0_safe_receiver = this.r14_1.m2(descriptor);
|
|
1798
1802
|
var tmp;
|
|
1799
1803
|
if (tmp0_safe_receiver == null) {
|
|
1800
1804
|
tmp = null;
|
|
@@ -1805,20 +1809,20 @@
|
|
|
1805
1809
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1806
1810
|
};
|
|
1807
1811
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1808
|
-
this.
|
|
1812
|
+
this.v16_1 = discriminatorToSkip;
|
|
1809
1813
|
}
|
|
1810
1814
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1811
1815
|
if (_this__u8e3s4 == null)
|
|
1812
1816
|
return false;
|
|
1813
|
-
if (_this__u8e3s4.
|
|
1814
|
-
_this__u8e3s4.
|
|
1817
|
+
if (_this__u8e3s4.v16_1 === unknownKey) {
|
|
1818
|
+
_this__u8e3s4.v16_1 = null;
|
|
1815
1819
|
return true;
|
|
1816
1820
|
}
|
|
1817
1821
|
return false;
|
|
1818
1822
|
}
|
|
1819
1823
|
function skipLeftoverElements($this, descriptor) {
|
|
1820
1824
|
$l$loop: while (true) {
|
|
1821
|
-
var tmp = $this.
|
|
1825
|
+
var tmp = $this.np(descriptor);
|
|
1822
1826
|
Companion_getInstance();
|
|
1823
1827
|
if (!!(tmp === -1)) {
|
|
1824
1828
|
break $l$loop;
|
|
@@ -1826,53 +1830,53 @@
|
|
|
1826
1830
|
}
|
|
1827
1831
|
}
|
|
1828
1832
|
function checkLeadingComma($this) {
|
|
1829
|
-
if ($this.
|
|
1830
|
-
$this.
|
|
1833
|
+
if ($this.c12_1.i15() === get_TC_COMMA()) {
|
|
1834
|
+
$this.c12_1.q14('Unexpected leading comma');
|
|
1831
1835
|
}
|
|
1832
1836
|
}
|
|
1833
1837
|
function decodeMapIndex($this) {
|
|
1834
1838
|
var hasComma = false;
|
|
1835
|
-
var decodingKey = !(($this.
|
|
1839
|
+
var decodingKey = !(($this.e12_1 % 2 | 0) === 0);
|
|
1836
1840
|
if (decodingKey) {
|
|
1837
|
-
if (!($this.
|
|
1838
|
-
hasComma = $this.
|
|
1841
|
+
if (!($this.e12_1 === -1)) {
|
|
1842
|
+
hasComma = $this.c12_1.x16();
|
|
1839
1843
|
}
|
|
1840
1844
|
} else {
|
|
1841
|
-
$this.
|
|
1845
|
+
$this.c12_1.w16(get_COLON());
|
|
1842
1846
|
}
|
|
1843
1847
|
var tmp;
|
|
1844
|
-
if ($this.
|
|
1848
|
+
if ($this.c12_1.j15()) {
|
|
1845
1849
|
if (decodingKey) {
|
|
1846
|
-
if ($this.
|
|
1850
|
+
if ($this.e12_1 === -1) {
|
|
1847
1851
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1848
|
-
var tmp0_require = $this.
|
|
1852
|
+
var tmp0_require = $this.c12_1;
|
|
1849
1853
|
var tmp1_require = !hasComma;
|
|
1850
|
-
var tmp2_require = tmp0_require.
|
|
1854
|
+
var tmp2_require = tmp0_require.i12_1;
|
|
1851
1855
|
if (!tmp1_require) {
|
|
1852
1856
|
var tmp$ret$0;
|
|
1853
1857
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1854
1858
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1855
|
-
tmp0_require.
|
|
1859
|
+
tmp0_require.q14(tmp$ret$0, tmp2_require);
|
|
1856
1860
|
}
|
|
1857
1861
|
} else {
|
|
1858
1862
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1859
|
-
var tmp3_require = $this.
|
|
1863
|
+
var tmp3_require = $this.c12_1;
|
|
1860
1864
|
var tmp4_require = hasComma;
|
|
1861
|
-
var tmp5_require = tmp3_require.
|
|
1865
|
+
var tmp5_require = tmp3_require.i12_1;
|
|
1862
1866
|
if (!tmp4_require) {
|
|
1863
1867
|
var tmp$ret$1;
|
|
1864
1868
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1865
1869
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1866
|
-
tmp3_require.
|
|
1870
|
+
tmp3_require.q14(tmp$ret$1, tmp5_require);
|
|
1867
1871
|
}
|
|
1868
1872
|
}
|
|
1869
1873
|
}
|
|
1870
1874
|
var tmp0_this = $this;
|
|
1871
|
-
tmp0_this.
|
|
1872
|
-
tmp = tmp0_this.
|
|
1875
|
+
tmp0_this.e12_1 = tmp0_this.e12_1 + 1 | 0;
|
|
1876
|
+
tmp = tmp0_this.e12_1;
|
|
1873
1877
|
} else {
|
|
1874
1878
|
if (hasComma) {
|
|
1875
|
-
$this.
|
|
1879
|
+
$this.c12_1.q14("Expected '}', but had ',' instead");
|
|
1876
1880
|
}
|
|
1877
1881
|
Companion_getInstance();
|
|
1878
1882
|
tmp = -1;
|
|
@@ -1883,13 +1887,13 @@
|
|
|
1883
1887
|
var tmp$ret$1;
|
|
1884
1888
|
$l$block_2: {
|
|
1885
1889
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1886
|
-
var tmp0_tryCoerceValue = $this.
|
|
1887
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1890
|
+
var tmp0_tryCoerceValue = $this.a12_1;
|
|
1891
|
+
var tmp1_tryCoerceValue = descriptor.fn(index);
|
|
1888
1892
|
var tmp;
|
|
1889
|
-
if (!tmp1_tryCoerceValue.
|
|
1893
|
+
if (!tmp1_tryCoerceValue.vm()) {
|
|
1890
1894
|
var tmp$ret$0;
|
|
1891
1895
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1892
|
-
tmp$ret$0 = $this.
|
|
1896
|
+
tmp$ret$0 = $this.c12_1.y16(true);
|
|
1893
1897
|
tmp = tmp$ret$0;
|
|
1894
1898
|
} else {
|
|
1895
1899
|
tmp = false;
|
|
@@ -1898,12 +1902,12 @@
|
|
|
1898
1902
|
tmp$ret$1 = true;
|
|
1899
1903
|
break $l$block_2;
|
|
1900
1904
|
}
|
|
1901
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1905
|
+
if (equals(tmp1_tryCoerceValue.dn(), ENUM_getInstance())) {
|
|
1902
1906
|
var tmp_0;
|
|
1903
|
-
if (tmp1_tryCoerceValue.
|
|
1907
|
+
if (tmp1_tryCoerceValue.vm()) {
|
|
1904
1908
|
var tmp$ret$2;
|
|
1905
1909
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1906
|
-
tmp$ret$2 = $this.
|
|
1910
|
+
tmp$ret$2 = $this.c12_1.y16(false);
|
|
1907
1911
|
tmp_0 = tmp$ret$2;
|
|
1908
1912
|
} else {
|
|
1909
1913
|
tmp_0 = false;
|
|
@@ -1914,7 +1918,7 @@
|
|
|
1914
1918
|
}
|
|
1915
1919
|
var tmp$ret$3;
|
|
1916
1920
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1917
|
-
tmp$ret$3 = $this.
|
|
1921
|
+
tmp$ret$3 = $this.c12_1.z16($this.g12_1.d13_1);
|
|
1918
1922
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
1919
1923
|
var tmp_1;
|
|
1920
1924
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -1928,7 +1932,7 @@
|
|
|
1928
1932
|
Companion_getInstance();
|
|
1929
1933
|
if (enumIndex === -3) {
|
|
1930
1934
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1931
|
-
$this.
|
|
1935
|
+
$this.c12_1.k15();
|
|
1932
1936
|
tmp$ret$1 = true;
|
|
1933
1937
|
break $l$block_2;
|
|
1934
1938
|
}
|
|
@@ -1938,25 +1942,25 @@
|
|
|
1938
1942
|
return tmp$ret$1;
|
|
1939
1943
|
}
|
|
1940
1944
|
function decodeObjectIndex($this, descriptor) {
|
|
1941
|
-
var hasComma = $this.
|
|
1942
|
-
while ($this.
|
|
1945
|
+
var hasComma = $this.c12_1.x16();
|
|
1946
|
+
while ($this.c12_1.j15()) {
|
|
1943
1947
|
hasComma = false;
|
|
1944
1948
|
var key = decodeStringKey($this);
|
|
1945
|
-
$this.
|
|
1946
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1949
|
+
$this.c12_1.w16(get_COLON());
|
|
1950
|
+
var index = getJsonNameIndex(descriptor, $this.a12_1, key);
|
|
1947
1951
|
var tmp;
|
|
1948
1952
|
Companion_getInstance();
|
|
1949
1953
|
if (!(index === -3)) {
|
|
1950
1954
|
var tmp_0;
|
|
1951
|
-
if ($this.
|
|
1952
|
-
hasComma = $this.
|
|
1955
|
+
if ($this.g12_1.i13_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1956
|
+
hasComma = $this.c12_1.x16();
|
|
1953
1957
|
tmp_0 = false;
|
|
1954
1958
|
} else {
|
|
1955
|
-
var tmp0_safe_receiver = $this.
|
|
1959
|
+
var tmp0_safe_receiver = $this.h12_1;
|
|
1956
1960
|
if (tmp0_safe_receiver == null)
|
|
1957
1961
|
null;
|
|
1958
1962
|
else {
|
|
1959
|
-
tmp0_safe_receiver.
|
|
1963
|
+
tmp0_safe_receiver.zs(index);
|
|
1960
1964
|
}
|
|
1961
1965
|
return index;
|
|
1962
1966
|
}
|
|
@@ -1970,10 +1974,10 @@
|
|
|
1970
1974
|
}
|
|
1971
1975
|
}
|
|
1972
1976
|
if (hasComma) {
|
|
1973
|
-
$this.
|
|
1977
|
+
$this.c12_1.q14('Unexpected trailing comma');
|
|
1974
1978
|
}
|
|
1975
|
-
var tmp1_safe_receiver = $this.
|
|
1976
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1979
|
+
var tmp1_safe_receiver = $this.h12_1;
|
|
1980
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.at();
|
|
1977
1981
|
var tmp_1;
|
|
1978
1982
|
if (tmp2_elvis_lhs == null) {
|
|
1979
1983
|
Companion_getInstance();
|
|
@@ -1984,26 +1988,26 @@
|
|
|
1984
1988
|
return tmp_1;
|
|
1985
1989
|
}
|
|
1986
1990
|
function handleUnknown($this, key) {
|
|
1987
|
-
if ($this.
|
|
1988
|
-
$this.
|
|
1991
|
+
if ($this.g12_1.c13_1 ? true : trySkip($this.f12_1, $this, key)) {
|
|
1992
|
+
$this.c12_1.b17($this.g12_1.d13_1);
|
|
1989
1993
|
} else {
|
|
1990
|
-
$this.
|
|
1994
|
+
$this.c12_1.a17(key);
|
|
1991
1995
|
}
|
|
1992
|
-
return $this.
|
|
1996
|
+
return $this.c12_1.x16();
|
|
1993
1997
|
}
|
|
1994
1998
|
function decodeListIndex($this) {
|
|
1995
|
-
var hasComma = $this.
|
|
1999
|
+
var hasComma = $this.c12_1.x16();
|
|
1996
2000
|
var tmp;
|
|
1997
|
-
if ($this.
|
|
1998
|
-
if (!($this.
|
|
1999
|
-
$this.
|
|
2001
|
+
if ($this.c12_1.j15()) {
|
|
2002
|
+
if (!($this.e12_1 === -1) ? !hasComma : false) {
|
|
2003
|
+
$this.c12_1.q14('Expected end of the array or comma');
|
|
2000
2004
|
}
|
|
2001
2005
|
var tmp0_this = $this;
|
|
2002
|
-
tmp0_this.
|
|
2003
|
-
tmp = tmp0_this.
|
|
2006
|
+
tmp0_this.e12_1 = tmp0_this.e12_1 + 1 | 0;
|
|
2007
|
+
tmp = tmp0_this.e12_1;
|
|
2004
2008
|
} else {
|
|
2005
2009
|
if (hasComma) {
|
|
2006
|
-
$this.
|
|
2010
|
+
$this.c12_1.q14('Unexpected trailing comma');
|
|
2007
2011
|
}
|
|
2008
2012
|
Companion_getInstance();
|
|
2009
2013
|
tmp = -1;
|
|
@@ -2012,70 +2016,72 @@
|
|
|
2012
2016
|
}
|
|
2013
2017
|
function decodeStringKey($this) {
|
|
2014
2018
|
var tmp;
|
|
2015
|
-
if ($this.
|
|
2016
|
-
tmp = $this.
|
|
2019
|
+
if ($this.g12_1.d13_1) {
|
|
2020
|
+
tmp = $this.c12_1.d17();
|
|
2017
2021
|
} else {
|
|
2018
|
-
tmp = $this.
|
|
2022
|
+
tmp = $this.c12_1.c17();
|
|
2019
2023
|
}
|
|
2020
2024
|
return tmp;
|
|
2021
2025
|
}
|
|
2022
2026
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2023
2027
|
AbstractDecoder.call(this);
|
|
2024
|
-
this.
|
|
2025
|
-
this.
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
-
this.
|
|
2028
|
+
this.a12_1 = json;
|
|
2029
|
+
this.b12_1 = mode;
|
|
2030
|
+
this.c12_1 = lexer;
|
|
2031
|
+
this.d12_1 = this.a12_1.lp();
|
|
2032
|
+
this.e12_1 = -1;
|
|
2033
|
+
this.f12_1 = discriminatorHolder;
|
|
2034
|
+
this.g12_1 = this.a12_1.v11_1;
|
|
2035
|
+
this.h12_1 = this.g12_1.g13_1 ? null : new JsonElementMarker(descriptor);
|
|
2032
2036
|
}
|
|
2033
|
-
protoOf(StreamingJsonDecoder).
|
|
2034
|
-
return this.
|
|
2037
|
+
protoOf(StreamingJsonDecoder).o13 = function () {
|
|
2038
|
+
return this.a12_1;
|
|
2035
2039
|
};
|
|
2036
|
-
protoOf(StreamingJsonDecoder).
|
|
2037
|
-
return this.
|
|
2040
|
+
protoOf(StreamingJsonDecoder).lp = function () {
|
|
2041
|
+
return this.d12_1;
|
|
2038
2042
|
};
|
|
2039
|
-
protoOf(StreamingJsonDecoder).
|
|
2040
|
-
return (new JsonTreeReader(this.
|
|
2043
|
+
protoOf(StreamingJsonDecoder).p13 = function () {
|
|
2044
|
+
return (new JsonTreeReader(this.a12_1.v11_1, this.c12_1)).m15();
|
|
2041
2045
|
};
|
|
2042
|
-
protoOf(StreamingJsonDecoder).
|
|
2046
|
+
protoOf(StreamingJsonDecoder).vo = function (deserializer) {
|
|
2043
2047
|
try {
|
|
2044
2048
|
var tmp;
|
|
2045
2049
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2046
2050
|
tmp = true;
|
|
2047
2051
|
} else {
|
|
2048
|
-
tmp = this.
|
|
2052
|
+
tmp = this.a12_1.v11_1.j13_1;
|
|
2049
2053
|
}
|
|
2050
2054
|
if (tmp) {
|
|
2051
|
-
return deserializer.
|
|
2055
|
+
return deserializer.zl(this);
|
|
2052
2056
|
}
|
|
2053
|
-
var discriminator = classDiscriminator(deserializer.
|
|
2054
|
-
var type = this.
|
|
2057
|
+
var discriminator = classDiscriminator(deserializer.yl(), this.a12_1);
|
|
2058
|
+
var type = this.c12_1.e17(discriminator, this.g12_1.d13_1);
|
|
2055
2059
|
var actualSerializer = null;
|
|
2056
2060
|
if (!(type == null)) {
|
|
2057
|
-
actualSerializer = deserializer.
|
|
2061
|
+
actualSerializer = deserializer.nm(this, type);
|
|
2058
2062
|
}
|
|
2059
2063
|
if (actualSerializer == null) {
|
|
2060
2064
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
2061
2065
|
}
|
|
2062
|
-
this.
|
|
2063
|
-
var tmp_0 = actualSerializer.
|
|
2066
|
+
this.f12_1 = new DiscriminatorHolder(discriminator);
|
|
2067
|
+
var tmp_0 = actualSerializer.zl(this);
|
|
2064
2068
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
2065
2069
|
return result;
|
|
2066
2070
|
} catch ($p) {
|
|
2067
2071
|
if ($p instanceof MissingFieldException) {
|
|
2068
2072
|
var e = $p;
|
|
2069
|
-
|
|
2073
|
+
if (contains(ensureNotNull(e.message), 'at path'))
|
|
2074
|
+
throw e;
|
|
2075
|
+
throw new MissingFieldException(e.om_1, plus(e.message, ' at path: ') + this.c12_1.j12_1.d15(), e);
|
|
2070
2076
|
} else {
|
|
2071
2077
|
throw $p;
|
|
2072
2078
|
}
|
|
2073
2079
|
}
|
|
2074
2080
|
};
|
|
2075
|
-
protoOf(StreamingJsonDecoder).
|
|
2076
|
-
var newMode = switchMode(this.
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2081
|
+
protoOf(StreamingJsonDecoder).wo = function (descriptor) {
|
|
2082
|
+
var newMode = switchMode(this.a12_1, descriptor);
|
|
2083
|
+
this.c12_1.j12_1.y14(descriptor);
|
|
2084
|
+
this.c12_1.w16(newMode.h17_1);
|
|
2079
2085
|
checkLeadingComma(this);
|
|
2080
2086
|
var tmp0_subject = newMode;
|
|
2081
2087
|
var tmp0 = tmp0_subject.q4_1;
|
|
@@ -2084,14 +2090,14 @@
|
|
|
2084
2090
|
case 1:
|
|
2085
2091
|
case 2:
|
|
2086
2092
|
case 3:
|
|
2087
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2093
|
+
tmp = new StreamingJsonDecoder(this.a12_1, newMode, this.c12_1, descriptor, this.f12_1);
|
|
2088
2094
|
break;
|
|
2089
2095
|
default:
|
|
2090
2096
|
var tmp_0;
|
|
2091
|
-
if (this.
|
|
2097
|
+
if (this.b12_1.equals(newMode) ? this.a12_1.v11_1.g13_1 : false) {
|
|
2092
2098
|
tmp_0 = this;
|
|
2093
2099
|
} else {
|
|
2094
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2100
|
+
tmp_0 = new StreamingJsonDecoder(this.a12_1, newMode, this.c12_1, descriptor, this.f12_1);
|
|
2095
2101
|
}
|
|
2096
2102
|
|
|
2097
2103
|
tmp = tmp_0;
|
|
@@ -2099,40 +2105,40 @@
|
|
|
2099
2105
|
}
|
|
2100
2106
|
return tmp;
|
|
2101
2107
|
};
|
|
2102
|
-
protoOf(StreamingJsonDecoder).
|
|
2103
|
-
if (this.
|
|
2108
|
+
protoOf(StreamingJsonDecoder).xo = function (descriptor) {
|
|
2109
|
+
if (this.a12_1.v11_1.c13_1 ? descriptor.bn() === 0 : false) {
|
|
2104
2110
|
skipLeftoverElements(this, descriptor);
|
|
2105
2111
|
}
|
|
2106
|
-
this.
|
|
2107
|
-
this.
|
|
2112
|
+
this.c12_1.w16(this.b12_1.i17_1);
|
|
2113
|
+
this.c12_1.j12_1.c15();
|
|
2108
2114
|
};
|
|
2109
|
-
protoOf(StreamingJsonDecoder).
|
|
2115
|
+
protoOf(StreamingJsonDecoder).ho = function () {
|
|
2110
2116
|
var tmp;
|
|
2111
|
-
var tmp0_safe_receiver = this.
|
|
2112
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2117
|
+
var tmp0_safe_receiver = this.h12_1;
|
|
2118
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p14_1;
|
|
2113
2119
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2114
|
-
tmp = !this.
|
|
2120
|
+
tmp = !this.c12_1.j17();
|
|
2115
2121
|
} else {
|
|
2116
2122
|
tmp = false;
|
|
2117
2123
|
}
|
|
2118
2124
|
return tmp;
|
|
2119
2125
|
};
|
|
2120
|
-
protoOf(StreamingJsonDecoder).
|
|
2126
|
+
protoOf(StreamingJsonDecoder).io = function () {
|
|
2121
2127
|
return null;
|
|
2122
2128
|
};
|
|
2123
|
-
protoOf(StreamingJsonDecoder).
|
|
2124
|
-
var isMapKey = this.
|
|
2129
|
+
protoOf(StreamingJsonDecoder).ip = function (descriptor, index, deserializer, previousValue) {
|
|
2130
|
+
var isMapKey = this.b12_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2125
2131
|
if (isMapKey) {
|
|
2126
|
-
this.
|
|
2132
|
+
this.c12_1.j12_1.b15();
|
|
2127
2133
|
}
|
|
2128
|
-
var value = protoOf(AbstractDecoder).
|
|
2134
|
+
var value = protoOf(AbstractDecoder).ip.call(this, descriptor, index, deserializer, previousValue);
|
|
2129
2135
|
if (isMapKey) {
|
|
2130
|
-
this.
|
|
2136
|
+
this.c12_1.j12_1.a15(value);
|
|
2131
2137
|
}
|
|
2132
2138
|
return value;
|
|
2133
2139
|
};
|
|
2134
|
-
protoOf(StreamingJsonDecoder).
|
|
2135
|
-
var tmp0_subject = this.
|
|
2140
|
+
protoOf(StreamingJsonDecoder).np = function (descriptor) {
|
|
2141
|
+
var tmp0_subject = this.b12_1;
|
|
2136
2142
|
var tmp0 = tmp0_subject.q4_1;
|
|
2137
2143
|
{
|
|
2138
2144
|
var index;
|
|
@@ -2148,50 +2154,50 @@
|
|
|
2148
2154
|
break;
|
|
2149
2155
|
}
|
|
2150
2156
|
}
|
|
2151
|
-
if (!this.
|
|
2152
|
-
this.
|
|
2157
|
+
if (!this.b12_1.equals(WriteMode_MAP_getInstance())) {
|
|
2158
|
+
this.c12_1.j12_1.z14(index);
|
|
2153
2159
|
}
|
|
2154
2160
|
return index;
|
|
2155
2161
|
};
|
|
2156
|
-
protoOf(StreamingJsonDecoder).
|
|
2162
|
+
protoOf(StreamingJsonDecoder).jo = function () {
|
|
2157
2163
|
var tmp;
|
|
2158
|
-
if (this.
|
|
2159
|
-
tmp = this.
|
|
2164
|
+
if (this.g12_1.d13_1) {
|
|
2165
|
+
tmp = this.c12_1.l17();
|
|
2160
2166
|
} else {
|
|
2161
|
-
tmp = this.
|
|
2167
|
+
tmp = this.c12_1.k17();
|
|
2162
2168
|
}
|
|
2163
2169
|
return tmp;
|
|
2164
2170
|
};
|
|
2165
|
-
protoOf(StreamingJsonDecoder).
|
|
2166
|
-
var value = this.
|
|
2171
|
+
protoOf(StreamingJsonDecoder).ko = function () {
|
|
2172
|
+
var value = this.c12_1.m17();
|
|
2167
2173
|
if (!value.equals(toLong_0(value.kf()))) {
|
|
2168
|
-
this.
|
|
2174
|
+
this.c12_1.q14("Failed to parse byte for input '" + toString(value) + "'");
|
|
2169
2175
|
}
|
|
2170
2176
|
return value.kf();
|
|
2171
2177
|
};
|
|
2172
|
-
protoOf(StreamingJsonDecoder).
|
|
2173
|
-
var value = this.
|
|
2178
|
+
protoOf(StreamingJsonDecoder).lo = function () {
|
|
2179
|
+
var value = this.c12_1.m17();
|
|
2174
2180
|
if (!value.equals(toLong_0(value.lf()))) {
|
|
2175
|
-
this.
|
|
2181
|
+
this.c12_1.q14("Failed to parse short for input '" + toString(value) + "'");
|
|
2176
2182
|
}
|
|
2177
2183
|
return value.lf();
|
|
2178
2184
|
};
|
|
2179
|
-
protoOf(StreamingJsonDecoder).
|
|
2180
|
-
var value = this.
|
|
2185
|
+
protoOf(StreamingJsonDecoder).mo = function () {
|
|
2186
|
+
var value = this.c12_1.m17();
|
|
2181
2187
|
if (!value.equals(toLong_0(value.p5()))) {
|
|
2182
|
-
this.
|
|
2188
|
+
this.c12_1.q14("Failed to parse int for input '" + toString(value) + "'");
|
|
2183
2189
|
}
|
|
2184
2190
|
return value.p5();
|
|
2185
2191
|
};
|
|
2186
|
-
protoOf(StreamingJsonDecoder).
|
|
2187
|
-
return this.
|
|
2192
|
+
protoOf(StreamingJsonDecoder).no = function () {
|
|
2193
|
+
return this.c12_1.m17();
|
|
2188
2194
|
};
|
|
2189
|
-
protoOf(StreamingJsonDecoder).
|
|
2195
|
+
protoOf(StreamingJsonDecoder).oo = function () {
|
|
2190
2196
|
var tmp$ret$4;
|
|
2191
2197
|
$l$block: {
|
|
2192
2198
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2193
|
-
var tmp0_parseString = this.
|
|
2194
|
-
var input = tmp0_parseString.
|
|
2199
|
+
var tmp0_parseString = this.c12_1;
|
|
2200
|
+
var input = tmp0_parseString.l15();
|
|
2195
2201
|
try {
|
|
2196
2202
|
var tmp$ret$3;
|
|
2197
2203
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
@@ -2211,24 +2217,24 @@
|
|
|
2211
2217
|
} catch ($p) {
|
|
2212
2218
|
if ($p instanceof IllegalArgumentException) {
|
|
2213
2219
|
var e = $p;
|
|
2214
|
-
tmp0_parseString.
|
|
2220
|
+
tmp0_parseString.q14("Failed to parse type 'float' for input '" + input + "'");
|
|
2215
2221
|
} else {
|
|
2216
2222
|
throw $p;
|
|
2217
2223
|
}
|
|
2218
2224
|
}
|
|
2219
2225
|
}
|
|
2220
2226
|
var result = tmp$ret$4;
|
|
2221
|
-
var specialFp = this.
|
|
2227
|
+
var specialFp = this.a12_1.v11_1.l13_1;
|
|
2222
2228
|
if (specialFp ? true : isFinite(result))
|
|
2223
2229
|
return result;
|
|
2224
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2230
|
+
throwInvalidFloatingPointDecoded(this.c12_1, result);
|
|
2225
2231
|
};
|
|
2226
|
-
protoOf(StreamingJsonDecoder).
|
|
2232
|
+
protoOf(StreamingJsonDecoder).po = function () {
|
|
2227
2233
|
var tmp$ret$1;
|
|
2228
2234
|
$l$block: {
|
|
2229
2235
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2230
|
-
var tmp0_parseString = this.
|
|
2231
|
-
var input = tmp0_parseString.
|
|
2236
|
+
var tmp0_parseString = this.c12_1;
|
|
2237
|
+
var input = tmp0_parseString.l15();
|
|
2232
2238
|
try {
|
|
2233
2239
|
var tmp$ret$0;
|
|
2234
2240
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
@@ -2238,57 +2244,57 @@
|
|
|
2238
2244
|
} catch ($p) {
|
|
2239
2245
|
if ($p instanceof IllegalArgumentException) {
|
|
2240
2246
|
var e = $p;
|
|
2241
|
-
tmp0_parseString.
|
|
2247
|
+
tmp0_parseString.q14("Failed to parse type 'double' for input '" + input + "'");
|
|
2242
2248
|
} else {
|
|
2243
2249
|
throw $p;
|
|
2244
2250
|
}
|
|
2245
2251
|
}
|
|
2246
2252
|
}
|
|
2247
2253
|
var result = tmp$ret$1;
|
|
2248
|
-
var specialFp = this.
|
|
2254
|
+
var specialFp = this.a12_1.v11_1.l13_1;
|
|
2249
2255
|
if (specialFp ? true : isFinite_0(result))
|
|
2250
2256
|
return result;
|
|
2251
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2257
|
+
throwInvalidFloatingPointDecoded(this.c12_1, result);
|
|
2252
2258
|
};
|
|
2253
|
-
protoOf(StreamingJsonDecoder).
|
|
2254
|
-
var string = this.
|
|
2259
|
+
protoOf(StreamingJsonDecoder).qo = function () {
|
|
2260
|
+
var string = this.c12_1.l15();
|
|
2255
2261
|
if (!(string.length === 1)) {
|
|
2256
|
-
this.
|
|
2262
|
+
this.c12_1.q14("Expected single char, but got '" + string + "'");
|
|
2257
2263
|
}
|
|
2258
2264
|
return charSequenceGet(string, 0);
|
|
2259
2265
|
};
|
|
2260
|
-
protoOf(StreamingJsonDecoder).
|
|
2266
|
+
protoOf(StreamingJsonDecoder).ro = function () {
|
|
2261
2267
|
var tmp;
|
|
2262
|
-
if (this.
|
|
2263
|
-
tmp = this.
|
|
2268
|
+
if (this.g12_1.d13_1) {
|
|
2269
|
+
tmp = this.c12_1.d17();
|
|
2264
2270
|
} else {
|
|
2265
|
-
tmp = this.
|
|
2271
|
+
tmp = this.c12_1.k15();
|
|
2266
2272
|
}
|
|
2267
2273
|
return tmp;
|
|
2268
2274
|
};
|
|
2269
|
-
protoOf(StreamingJsonDecoder).
|
|
2270
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2275
|
+
protoOf(StreamingJsonDecoder).to = function (descriptor) {
|
|
2276
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.c12_1, this.a12_1) : protoOf(AbstractDecoder).to.call(this, descriptor);
|
|
2271
2277
|
};
|
|
2272
|
-
protoOf(StreamingJsonDecoder).
|
|
2273
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2278
|
+
protoOf(StreamingJsonDecoder).so = function (enumDescriptor) {
|
|
2279
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.a12_1, this.ro(), ' at path ' + this.c12_1.j12_1.d15());
|
|
2274
2280
|
};
|
|
2275
2281
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2276
2282
|
AbstractDecoder.call(this);
|
|
2277
|
-
this.
|
|
2278
|
-
this.
|
|
2283
|
+
this.n17_1 = lexer;
|
|
2284
|
+
this.o17_1 = json.lp();
|
|
2279
2285
|
}
|
|
2280
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2281
|
-
return this.
|
|
2286
|
+
protoOf(JsonDecoderForUnsignedTypes).lp = function () {
|
|
2287
|
+
return this.o17_1;
|
|
2282
2288
|
};
|
|
2283
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2289
|
+
protoOf(JsonDecoderForUnsignedTypes).np = function (descriptor) {
|
|
2284
2290
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2285
2291
|
};
|
|
2286
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2292
|
+
protoOf(JsonDecoderForUnsignedTypes).mo = function () {
|
|
2287
2293
|
var tmp$ret$2;
|
|
2288
2294
|
$l$block: {
|
|
2289
2295
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2290
|
-
var tmp0_parseString = this.
|
|
2291
|
-
var input = tmp0_parseString.
|
|
2296
|
+
var tmp0_parseString = this.n17_1;
|
|
2297
|
+
var input = tmp0_parseString.l15();
|
|
2292
2298
|
try {
|
|
2293
2299
|
var tmp$ret$1;
|
|
2294
2300
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
@@ -2302,7 +2308,7 @@
|
|
|
2302
2308
|
} catch ($p) {
|
|
2303
2309
|
if ($p instanceof IllegalArgumentException) {
|
|
2304
2310
|
var e = $p;
|
|
2305
|
-
tmp0_parseString.
|
|
2311
|
+
tmp0_parseString.q14("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2306
2312
|
} else {
|
|
2307
2313
|
throw $p;
|
|
2308
2314
|
}
|
|
@@ -2310,12 +2316,12 @@
|
|
|
2310
2316
|
}
|
|
2311
2317
|
return tmp$ret$2;
|
|
2312
2318
|
};
|
|
2313
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2319
|
+
protoOf(JsonDecoderForUnsignedTypes).no = function () {
|
|
2314
2320
|
var tmp$ret$2;
|
|
2315
2321
|
$l$block: {
|
|
2316
2322
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2317
|
-
var tmp0_parseString = this.
|
|
2318
|
-
var input = tmp0_parseString.
|
|
2323
|
+
var tmp0_parseString = this.n17_1;
|
|
2324
|
+
var input = tmp0_parseString.l15();
|
|
2319
2325
|
try {
|
|
2320
2326
|
var tmp$ret$1;
|
|
2321
2327
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
@@ -2329,7 +2335,7 @@
|
|
|
2329
2335
|
} catch ($p) {
|
|
2330
2336
|
if ($p instanceof IllegalArgumentException) {
|
|
2331
2337
|
var e = $p;
|
|
2332
|
-
tmp0_parseString.
|
|
2338
|
+
tmp0_parseString.q14("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2333
2339
|
} else {
|
|
2334
2340
|
throw $p;
|
|
2335
2341
|
}
|
|
@@ -2337,12 +2343,12 @@
|
|
|
2337
2343
|
}
|
|
2338
2344
|
return tmp$ret$2;
|
|
2339
2345
|
};
|
|
2340
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2346
|
+
protoOf(JsonDecoderForUnsignedTypes).ko = function () {
|
|
2341
2347
|
var tmp$ret$2;
|
|
2342
2348
|
$l$block: {
|
|
2343
2349
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2344
|
-
var tmp0_parseString = this.
|
|
2345
|
-
var input = tmp0_parseString.
|
|
2350
|
+
var tmp0_parseString = this.n17_1;
|
|
2351
|
+
var input = tmp0_parseString.l15();
|
|
2346
2352
|
try {
|
|
2347
2353
|
var tmp$ret$1;
|
|
2348
2354
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
@@ -2356,7 +2362,7 @@
|
|
|
2356
2362
|
} catch ($p) {
|
|
2357
2363
|
if ($p instanceof IllegalArgumentException) {
|
|
2358
2364
|
var e = $p;
|
|
2359
|
-
tmp0_parseString.
|
|
2365
|
+
tmp0_parseString.q14("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2360
2366
|
} else {
|
|
2361
2367
|
throw $p;
|
|
2362
2368
|
}
|
|
@@ -2364,12 +2370,12 @@
|
|
|
2364
2370
|
}
|
|
2365
2371
|
return tmp$ret$2;
|
|
2366
2372
|
};
|
|
2367
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2373
|
+
protoOf(JsonDecoderForUnsignedTypes).lo = function () {
|
|
2368
2374
|
var tmp$ret$2;
|
|
2369
2375
|
$l$block: {
|
|
2370
2376
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2371
|
-
var tmp0_parseString = this.
|
|
2372
|
-
var input = tmp0_parseString.
|
|
2377
|
+
var tmp0_parseString = this.n17_1;
|
|
2378
|
+
var input = tmp0_parseString.l15();
|
|
2373
2379
|
try {
|
|
2374
2380
|
var tmp$ret$1;
|
|
2375
2381
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
@@ -2383,7 +2389,7 @@
|
|
|
2383
2389
|
} catch ($p) {
|
|
2384
2390
|
if ($p instanceof IllegalArgumentException) {
|
|
2385
2391
|
var e = $p;
|
|
2386
|
-
tmp0_parseString.
|
|
2392
|
+
tmp0_parseString.q14("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2387
2393
|
} else {
|
|
2388
2394
|
throw $p;
|
|
2389
2395
|
}
|
|
@@ -2398,14 +2404,14 @@
|
|
|
2398
2404
|
var unsignedNumberDescriptors;
|
|
2399
2405
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2400
2406
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2401
|
-
return _this__u8e3s4.
|
|
2407
|
+
return _this__u8e3s4.cn() ? get_unsignedNumberDescriptors().i1(_this__u8e3s4) : false;
|
|
2402
2408
|
}
|
|
2403
2409
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2404
2410
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2405
2411
|
if (properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2406
2412
|
} else {
|
|
2407
2413
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2408
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2414
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).yl(), serializer_1(Companion_getInstance_1()).yl(), serializer_2(Companion_getInstance_2()).yl(), serializer_3(Companion_getInstance_3()).yl()]);
|
|
2409
2415
|
}
|
|
2410
2416
|
}
|
|
2411
2417
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2609,10 +2615,10 @@
|
|
|
2609
2615
|
}
|
|
2610
2616
|
}
|
|
2611
2617
|
var input = tmp;
|
|
2612
|
-
return input.
|
|
2618
|
+
return input.vo(deserializer);
|
|
2613
2619
|
}
|
|
2614
2620
|
function currentObject($this) {
|
|
2615
|
-
var tmp0_safe_receiver = $this.
|
|
2621
|
+
var tmp0_safe_receiver = $this.qz();
|
|
2616
2622
|
var tmp;
|
|
2617
2623
|
if (tmp0_safe_receiver == null) {
|
|
2618
2624
|
tmp = null;
|
|
@@ -2622,7 +2628,7 @@
|
|
|
2622
2628
|
// Inline function 'kotlin.contracts.contract' call
|
|
2623
2629
|
var tmp$ret$0;
|
|
2624
2630
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2625
|
-
tmp$ret$0 = $this.
|
|
2631
|
+
tmp$ret$0 = $this.u17(tmp0_safe_receiver);
|
|
2626
2632
|
tmp$ret$1 = tmp$ret$0;
|
|
2627
2633
|
tmp = tmp$ret$1;
|
|
2628
2634
|
}
|
|
@@ -2644,31 +2650,31 @@
|
|
|
2644
2650
|
}
|
|
2645
2651
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2646
2652
|
NamedValueDecoder.call(this);
|
|
2647
|
-
this.
|
|
2648
|
-
this.
|
|
2649
|
-
this.
|
|
2653
|
+
this.r17_1 = json;
|
|
2654
|
+
this.s17_1 = value;
|
|
2655
|
+
this.t17_1 = this.o13().v11_1;
|
|
2650
2656
|
}
|
|
2651
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2652
|
-
return this.
|
|
2657
|
+
protoOf(AbstractJsonTreeDecoder).o13 = function () {
|
|
2658
|
+
return this.r17_1;
|
|
2653
2659
|
};
|
|
2654
2660
|
protoOf(AbstractJsonTreeDecoder).w = function () {
|
|
2655
|
-
return this.
|
|
2661
|
+
return this.s17_1;
|
|
2656
2662
|
};
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2658
|
-
return this.
|
|
2663
|
+
protoOf(AbstractJsonTreeDecoder).lp = function () {
|
|
2664
|
+
return this.o13().lp();
|
|
2659
2665
|
};
|
|
2660
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2666
|
+
protoOf(AbstractJsonTreeDecoder).p13 = function () {
|
|
2661
2667
|
return currentObject(this);
|
|
2662
2668
|
};
|
|
2663
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2669
|
+
protoOf(AbstractJsonTreeDecoder).vo = function (deserializer) {
|
|
2664
2670
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2665
2671
|
};
|
|
2666
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2672
|
+
protoOf(AbstractJsonTreeDecoder).rz = function (parentName, childName) {
|
|
2667
2673
|
return childName;
|
|
2668
2674
|
};
|
|
2669
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2675
|
+
protoOf(AbstractJsonTreeDecoder).wo = function (descriptor) {
|
|
2670
2676
|
var currentObject_0 = currentObject(this);
|
|
2671
|
-
var tmp0_subject = descriptor.
|
|
2677
|
+
var tmp0_subject = descriptor.dn();
|
|
2672
2678
|
var tmp;
|
|
2673
2679
|
var tmp_0;
|
|
2674
2680
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2677,11 +2683,11 @@
|
|
|
2677
2683
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2678
2684
|
}
|
|
2679
2685
|
if (tmp_0) {
|
|
2680
|
-
var tmp_1 = this.
|
|
2686
|
+
var tmp_1 = this.o13();
|
|
2681
2687
|
var tmp$ret$0;
|
|
2682
2688
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2683
2689
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2684
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2690
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.zm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2685
2691
|
}
|
|
2686
2692
|
tmp$ret$0 = currentObject_0;
|
|
2687
2693
|
tmp = new JsonTreeListDecoder(tmp_1, tmp$ret$0);
|
|
@@ -2689,9 +2695,9 @@
|
|
|
2689
2695
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2690
2696
|
var tmp$ret$5;
|
|
2691
2697
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2692
|
-
var tmp0_selectMapMode = this.
|
|
2693
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2694
|
-
var keyKind = keyDescriptor.
|
|
2698
|
+
var tmp0_selectMapMode = this.o13();
|
|
2699
|
+
var keyDescriptor = carrierDescriptor(descriptor.fn(0), tmp0_selectMapMode.lp());
|
|
2700
|
+
var keyKind = keyDescriptor.dn();
|
|
2695
2701
|
var tmp_2;
|
|
2696
2702
|
var tmp_3;
|
|
2697
2703
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2702,24 +2708,24 @@
|
|
|
2702
2708
|
if (tmp_3) {
|
|
2703
2709
|
var tmp$ret$2;
|
|
2704
2710
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2705
|
-
var tmp_4 = this.
|
|
2711
|
+
var tmp_4 = this.o13();
|
|
2706
2712
|
var tmp$ret$1;
|
|
2707
2713
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2708
2714
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2709
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2715
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.zm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2710
2716
|
}
|
|
2711
2717
|
tmp$ret$1 = currentObject_0;
|
|
2712
2718
|
tmp$ret$2 = new JsonTreeMapDecoder(tmp_4, tmp$ret$1);
|
|
2713
2719
|
tmp_2 = tmp$ret$2;
|
|
2714
2720
|
} else {
|
|
2715
|
-
if (tmp0_selectMapMode.
|
|
2721
|
+
if (tmp0_selectMapMode.v11_1.e13_1) {
|
|
2716
2722
|
var tmp$ret$4;
|
|
2717
2723
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2718
|
-
var tmp_5 = this.
|
|
2724
|
+
var tmp_5 = this.o13();
|
|
2719
2725
|
var tmp$ret$3;
|
|
2720
2726
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2721
2727
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2722
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2728
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.zm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2723
2729
|
}
|
|
2724
2730
|
tmp$ret$3 = currentObject_0;
|
|
2725
2731
|
tmp$ret$4 = new JsonTreeListDecoder(tmp_5, tmp$ret$3);
|
|
@@ -2731,11 +2737,11 @@
|
|
|
2731
2737
|
tmp$ret$5 = tmp_2;
|
|
2732
2738
|
tmp = tmp$ret$5;
|
|
2733
2739
|
} else {
|
|
2734
|
-
var tmp_6 = this.
|
|
2740
|
+
var tmp_6 = this.o13();
|
|
2735
2741
|
var tmp$ret$6;
|
|
2736
2742
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2737
2743
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2738
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2744
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.zm() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2739
2745
|
}
|
|
2740
2746
|
tmp$ret$6 = currentObject_0;
|
|
2741
2747
|
tmp = new JsonTreeDecoder(tmp_6, tmp$ret$6);
|
|
@@ -2743,14 +2749,14 @@
|
|
|
2743
2749
|
}
|
|
2744
2750
|
return tmp;
|
|
2745
2751
|
};
|
|
2746
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2752
|
+
protoOf(AbstractJsonTreeDecoder).xo = function (descriptor) {
|
|
2747
2753
|
};
|
|
2748
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2754
|
+
protoOf(AbstractJsonTreeDecoder).ho = function () {
|
|
2749
2755
|
var tmp = currentObject(this);
|
|
2750
2756
|
return !(tmp instanceof JsonNull);
|
|
2751
2757
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2753
|
-
var currentElement = this.
|
|
2758
|
+
protoOf(AbstractJsonTreeDecoder).v17 = function (tag) {
|
|
2759
|
+
var currentElement = this.u17(tag);
|
|
2754
2760
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2755
2761
|
var tmp;
|
|
2756
2762
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2760,23 +2766,23 @@
|
|
|
2760
2766
|
}
|
|
2761
2767
|
return tmp;
|
|
2762
2768
|
};
|
|
2763
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2764
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2769
|
+
protoOf(AbstractJsonTreeDecoder).w17 = function (tag, enumDescriptor) {
|
|
2770
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.o13(), this.v17(tag).q13());
|
|
2765
2771
|
};
|
|
2766
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2767
|
-
return this.
|
|
2772
|
+
protoOf(AbstractJsonTreeDecoder).d10 = function (tag, enumDescriptor) {
|
|
2773
|
+
return this.w17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2768
2774
|
};
|
|
2769
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2770
|
-
return !(this.
|
|
2775
|
+
protoOf(AbstractJsonTreeDecoder).x17 = function (tag) {
|
|
2776
|
+
return !(this.u17(tag) === JsonNull_getInstance());
|
|
2771
2777
|
};
|
|
2772
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2773
|
-
return this.
|
|
2778
|
+
protoOf(AbstractJsonTreeDecoder).tz = function (tag) {
|
|
2779
|
+
return this.x17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2774
2780
|
};
|
|
2775
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2776
|
-
var value = this.
|
|
2777
|
-
if (!this.
|
|
2781
|
+
protoOf(AbstractJsonTreeDecoder).y17 = function (tag) {
|
|
2782
|
+
var value = this.v17(tag);
|
|
2783
|
+
if (!this.o13().v11_1.d13_1) {
|
|
2778
2784
|
var literal = asLiteral(value, this, 'boolean');
|
|
2779
|
-
if (literal.
|
|
2785
|
+
if (literal.x13_1)
|
|
2780
2786
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2781
2787
|
}
|
|
2782
2788
|
var tmp$ret$1;
|
|
@@ -2813,14 +2819,14 @@
|
|
|
2813
2819
|
}
|
|
2814
2820
|
return tmp$ret$1;
|
|
2815
2821
|
};
|
|
2816
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2817
|
-
return this.
|
|
2822
|
+
protoOf(AbstractJsonTreeDecoder).uz = function (tag) {
|
|
2823
|
+
return this.y17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2818
2824
|
};
|
|
2819
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2825
|
+
protoOf(AbstractJsonTreeDecoder).z17 = function (tag) {
|
|
2820
2826
|
var tmp$ret$1;
|
|
2821
2827
|
$l$block: {
|
|
2822
2828
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2823
|
-
var tmp0_primitive = this.
|
|
2829
|
+
var tmp0_primitive = this.v17(tag);
|
|
2824
2830
|
try {
|
|
2825
2831
|
var tmp$ret$0;
|
|
2826
2832
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
@@ -2853,14 +2859,14 @@
|
|
|
2853
2859
|
}
|
|
2854
2860
|
return tmp$ret$1;
|
|
2855
2861
|
};
|
|
2856
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2857
|
-
return this.
|
|
2862
|
+
protoOf(AbstractJsonTreeDecoder).vz = function (tag) {
|
|
2863
|
+
return this.z17((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2858
2864
|
};
|
|
2859
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2865
|
+
protoOf(AbstractJsonTreeDecoder).a18 = function (tag) {
|
|
2860
2866
|
var tmp$ret$1;
|
|
2861
2867
|
$l$block: {
|
|
2862
2868
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2863
|
-
var tmp0_primitive = this.
|
|
2869
|
+
var tmp0_primitive = this.v17(tag);
|
|
2864
2870
|
try {
|
|
2865
2871
|
var tmp$ret$0;
|
|
2866
2872
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
@@ -2893,14 +2899,14 @@
|
|
|
2893
2899
|
}
|
|
2894
2900
|
return tmp$ret$1;
|
|
2895
2901
|
};
|
|
2896
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2897
|
-
return this.
|
|
2902
|
+
protoOf(AbstractJsonTreeDecoder).wz = function (tag) {
|
|
2903
|
+
return this.a18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2898
2904
|
};
|
|
2899
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2905
|
+
protoOf(AbstractJsonTreeDecoder).b18 = function (tag) {
|
|
2900
2906
|
var tmp$ret$1;
|
|
2901
2907
|
$l$block: {
|
|
2902
2908
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2903
|
-
var tmp0_primitive = this.
|
|
2909
|
+
var tmp0_primitive = this.v17(tag);
|
|
2904
2910
|
try {
|
|
2905
2911
|
var tmp$ret$0;
|
|
2906
2912
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
@@ -2925,14 +2931,14 @@
|
|
|
2925
2931
|
}
|
|
2926
2932
|
return tmp$ret$1;
|
|
2927
2933
|
};
|
|
2928
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2929
|
-
return this.
|
|
2934
|
+
protoOf(AbstractJsonTreeDecoder).xz = function (tag) {
|
|
2935
|
+
return this.b18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2930
2936
|
};
|
|
2931
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2937
|
+
protoOf(AbstractJsonTreeDecoder).c18 = function (tag) {
|
|
2932
2938
|
var tmp$ret$1;
|
|
2933
2939
|
$l$block: {
|
|
2934
2940
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2935
|
-
var tmp0_primitive = this.
|
|
2941
|
+
var tmp0_primitive = this.v17(tag);
|
|
2936
2942
|
try {
|
|
2937
2943
|
var tmp$ret$0;
|
|
2938
2944
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
@@ -2957,14 +2963,14 @@
|
|
|
2957
2963
|
}
|
|
2958
2964
|
return tmp$ret$1;
|
|
2959
2965
|
};
|
|
2960
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2961
|
-
return this.
|
|
2966
|
+
protoOf(AbstractJsonTreeDecoder).yz = function (tag) {
|
|
2967
|
+
return this.c18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2962
2968
|
};
|
|
2963
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2969
|
+
protoOf(AbstractJsonTreeDecoder).d18 = function (tag) {
|
|
2964
2970
|
var tmp$ret$1;
|
|
2965
2971
|
$l$block: {
|
|
2966
2972
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2967
|
-
var tmp0_primitive = this.
|
|
2973
|
+
var tmp0_primitive = this.v17(tag);
|
|
2968
2974
|
try {
|
|
2969
2975
|
var tmp$ret$0;
|
|
2970
2976
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
@@ -2988,19 +2994,19 @@
|
|
|
2988
2994
|
}
|
|
2989
2995
|
}
|
|
2990
2996
|
var result = tmp$ret$1;
|
|
2991
|
-
var specialFp = this.
|
|
2997
|
+
var specialFp = this.o13().v11_1.l13_1;
|
|
2992
2998
|
if (specialFp ? true : isFinite(result))
|
|
2993
2999
|
return result;
|
|
2994
3000
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2995
3001
|
};
|
|
2996
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2997
|
-
return this.
|
|
3002
|
+
protoOf(AbstractJsonTreeDecoder).zz = function (tag) {
|
|
3003
|
+
return this.d18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2998
3004
|
};
|
|
2999
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3005
|
+
protoOf(AbstractJsonTreeDecoder).e18 = function (tag) {
|
|
3000
3006
|
var tmp$ret$1;
|
|
3001
3007
|
$l$block: {
|
|
3002
3008
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3003
|
-
var tmp0_primitive = this.
|
|
3009
|
+
var tmp0_primitive = this.v17(tag);
|
|
3004
3010
|
try {
|
|
3005
3011
|
var tmp$ret$0;
|
|
3006
3012
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
@@ -3024,23 +3030,23 @@
|
|
|
3024
3030
|
}
|
|
3025
3031
|
}
|
|
3026
3032
|
var result = tmp$ret$1;
|
|
3027
|
-
var specialFp = this.
|
|
3033
|
+
var specialFp = this.o13().v11_1.l13_1;
|
|
3028
3034
|
if (specialFp ? true : isFinite_0(result))
|
|
3029
3035
|
return result;
|
|
3030
3036
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
3031
3037
|
};
|
|
3032
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3033
|
-
return this.
|
|
3038
|
+
protoOf(AbstractJsonTreeDecoder).a10 = function (tag) {
|
|
3039
|
+
return this.e18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3034
3040
|
};
|
|
3035
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3041
|
+
protoOf(AbstractJsonTreeDecoder).f18 = function (tag) {
|
|
3036
3042
|
var tmp$ret$1;
|
|
3037
3043
|
$l$block: {
|
|
3038
3044
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3039
|
-
var tmp0_primitive = this.
|
|
3045
|
+
var tmp0_primitive = this.v17(tag);
|
|
3040
3046
|
try {
|
|
3041
3047
|
var tmp$ret$0;
|
|
3042
3048
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3043
|
-
tmp$ret$0 = single(tmp0_primitive.
|
|
3049
|
+
tmp$ret$0 = single(tmp0_primitive.q13());
|
|
3044
3050
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
3045
3051
|
var tmp;
|
|
3046
3052
|
var tmp_0 = tmp0_elvis_lhs;
|
|
@@ -3062,40 +3068,43 @@
|
|
|
3062
3068
|
}
|
|
3063
3069
|
return tmp$ret$1;
|
|
3064
3070
|
};
|
|
3065
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3066
|
-
return this.
|
|
3071
|
+
protoOf(AbstractJsonTreeDecoder).b10 = function (tag) {
|
|
3072
|
+
return this.f18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3067
3073
|
};
|
|
3068
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3069
|
-
var value = this.
|
|
3070
|
-
if (!this.
|
|
3074
|
+
protoOf(AbstractJsonTreeDecoder).g18 = function (tag) {
|
|
3075
|
+
var value = this.v17(tag);
|
|
3076
|
+
if (!this.o13().v11_1.d13_1) {
|
|
3071
3077
|
var literal = asLiteral(value, this, 'string');
|
|
3072
|
-
if (!literal.
|
|
3078
|
+
if (!literal.x13_1)
|
|
3073
3079
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
3074
3080
|
}
|
|
3075
3081
|
if (value instanceof JsonNull)
|
|
3076
3082
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
3077
|
-
return value.
|
|
3083
|
+
return value.q13();
|
|
3078
3084
|
};
|
|
3079
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3080
|
-
return this.
|
|
3085
|
+
protoOf(AbstractJsonTreeDecoder).c10 = function (tag) {
|
|
3086
|
+
return this.g18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3087
|
+
};
|
|
3088
|
+
protoOf(AbstractJsonTreeDecoder).h18 = function (tag, inlineDescriptor) {
|
|
3089
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.v17(tag).q13()), this.o13()) : protoOf(NamedValueDecoder).e10.call(this, tag, inlineDescriptor);
|
|
3081
3090
|
};
|
|
3082
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3083
|
-
return
|
|
3091
|
+
protoOf(AbstractJsonTreeDecoder).e10 = function (tag, inlineDescriptor) {
|
|
3092
|
+
return this.h18((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3084
3093
|
};
|
|
3085
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3086
|
-
return this.
|
|
3094
|
+
protoOf(AbstractJsonTreeDecoder).to = function (descriptor) {
|
|
3095
|
+
return !(this.qz() == null) ? protoOf(NamedValueDecoder).to.call(this, descriptor) : (new JsonPrimitiveDecoder(this.o13(), this.w())).to(descriptor);
|
|
3087
3096
|
};
|
|
3088
3097
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3089
3098
|
var tmp$ret$1;
|
|
3090
3099
|
$l$block_2: {
|
|
3091
3100
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3092
|
-
var tmp0_tryCoerceValue = $this.
|
|
3093
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
3101
|
+
var tmp0_tryCoerceValue = $this.o13();
|
|
3102
|
+
var tmp1_tryCoerceValue = descriptor.fn(index);
|
|
3094
3103
|
var tmp;
|
|
3095
|
-
if (!tmp1_tryCoerceValue.
|
|
3104
|
+
if (!tmp1_tryCoerceValue.vm()) {
|
|
3096
3105
|
var tmp$ret$0;
|
|
3097
3106
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3098
|
-
var tmp_0 = $this.
|
|
3107
|
+
var tmp_0 = $this.u17(tag);
|
|
3099
3108
|
tmp$ret$0 = tmp_0 instanceof JsonNull;
|
|
3100
3109
|
tmp = tmp$ret$0;
|
|
3101
3110
|
} else {
|
|
@@ -3105,12 +3114,12 @@
|
|
|
3105
3114
|
tmp$ret$1 = true;
|
|
3106
3115
|
break $l$block_2;
|
|
3107
3116
|
}
|
|
3108
|
-
if (equals(tmp1_tryCoerceValue.
|
|
3117
|
+
if (equals(tmp1_tryCoerceValue.dn(), ENUM_getInstance())) {
|
|
3109
3118
|
var tmp_1;
|
|
3110
|
-
if (tmp1_tryCoerceValue.
|
|
3119
|
+
if (tmp1_tryCoerceValue.vm()) {
|
|
3111
3120
|
var tmp$ret$2;
|
|
3112
3121
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3113
|
-
var tmp_2 = $this.
|
|
3122
|
+
var tmp_2 = $this.u17(tag);
|
|
3114
3123
|
tmp$ret$2 = tmp_2 instanceof JsonNull;
|
|
3115
3124
|
tmp_1 = tmp$ret$2;
|
|
3116
3125
|
} else {
|
|
@@ -3122,7 +3131,7 @@
|
|
|
3122
3131
|
}
|
|
3123
3132
|
var tmp$ret$3;
|
|
3124
3133
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3125
|
-
var tmp_3 = $this.
|
|
3134
|
+
var tmp_3 = $this.u17(tag);
|
|
3126
3135
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3127
3136
|
tmp$ret$3 = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3128
3137
|
var tmp0_elvis_lhs = tmp$ret$3;
|
|
@@ -3149,30 +3158,30 @@
|
|
|
3149
3158
|
return tmp$ret$1;
|
|
3150
3159
|
}
|
|
3151
3160
|
function absenceIsNull($this, descriptor, index) {
|
|
3152
|
-
$this.
|
|
3153
|
-
return $this.
|
|
3161
|
+
$this.r18_1 = (!$this.o13().v11_1.g13_1 ? !descriptor.in(index) : false) ? descriptor.fn(index).vm() : false;
|
|
3162
|
+
return $this.r18_1;
|
|
3154
3163
|
}
|
|
3155
3164
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3156
3165
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3157
3166
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3158
3167
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3159
|
-
this.
|
|
3160
|
-
this.
|
|
3161
|
-
this.
|
|
3162
|
-
this.
|
|
3163
|
-
this.
|
|
3168
|
+
this.n18_1 = value;
|
|
3169
|
+
this.o18_1 = polyDiscriminator;
|
|
3170
|
+
this.p18_1 = polyDescriptor;
|
|
3171
|
+
this.q18_1 = 0;
|
|
3172
|
+
this.r18_1 = false;
|
|
3164
3173
|
}
|
|
3165
3174
|
protoOf(JsonTreeDecoder).w = function () {
|
|
3166
|
-
return this.
|
|
3175
|
+
return this.n18_1;
|
|
3167
3176
|
};
|
|
3168
|
-
protoOf(JsonTreeDecoder).
|
|
3169
|
-
while (this.
|
|
3177
|
+
protoOf(JsonTreeDecoder).np = function (descriptor) {
|
|
3178
|
+
while (this.q18_1 < descriptor.bn()) {
|
|
3170
3179
|
var tmp0_this = this;
|
|
3171
|
-
var tmp1 = tmp0_this.
|
|
3172
|
-
tmp0_this.
|
|
3173
|
-
var name = this.
|
|
3174
|
-
var index = this.
|
|
3175
|
-
this.
|
|
3180
|
+
var tmp1 = tmp0_this.q18_1;
|
|
3181
|
+
tmp0_this.q18_1 = tmp1 + 1 | 0;
|
|
3182
|
+
var name = this.lz(descriptor, tmp1);
|
|
3183
|
+
var index = this.q18_1 - 1 | 0;
|
|
3184
|
+
this.r18_1 = false;
|
|
3176
3185
|
var tmp;
|
|
3177
3186
|
var tmp_0;
|
|
3178
3187
|
var tmp$ret$1;
|
|
@@ -3188,7 +3197,7 @@
|
|
|
3188
3197
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3189
3198
|
}
|
|
3190
3199
|
if (tmp_0) {
|
|
3191
|
-
tmp = !this.
|
|
3200
|
+
tmp = !this.t17_1.i13_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3192
3201
|
} else {
|
|
3193
3202
|
tmp = false;
|
|
3194
3203
|
}
|
|
@@ -3199,19 +3208,19 @@
|
|
|
3199
3208
|
Companion_getInstance();
|
|
3200
3209
|
return -1;
|
|
3201
3210
|
};
|
|
3202
|
-
protoOf(JsonTreeDecoder).
|
|
3203
|
-
return !this.
|
|
3211
|
+
protoOf(JsonTreeDecoder).ho = function () {
|
|
3212
|
+
return !this.r18_1 ? protoOf(AbstractJsonTreeDecoder).ho.call(this) : false;
|
|
3204
3213
|
};
|
|
3205
|
-
protoOf(JsonTreeDecoder).
|
|
3206
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3207
|
-
var baseName = descriptor.
|
|
3214
|
+
protoOf(JsonTreeDecoder).mz = function (descriptor, index) {
|
|
3215
|
+
var strategy = namingStrategy(descriptor, this.o13());
|
|
3216
|
+
var baseName = descriptor.hn(index);
|
|
3208
3217
|
if (strategy == null) {
|
|
3209
|
-
if (!this.
|
|
3218
|
+
if (!this.t17_1.m13_1)
|
|
3210
3219
|
return baseName;
|
|
3211
3220
|
if (this.w().n2().i1(baseName))
|
|
3212
3221
|
return baseName;
|
|
3213
3222
|
}
|
|
3214
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3223
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.o13(), descriptor);
|
|
3215
3224
|
var tmp$ret$2;
|
|
3216
3225
|
// Inline function 'kotlin.collections.find' call
|
|
3217
3226
|
var tmp0_find = this.w().n2();
|
|
@@ -3242,39 +3251,39 @@
|
|
|
3242
3251
|
return tmp0_safe_receiver;
|
|
3243
3252
|
}
|
|
3244
3253
|
var tmp1_safe_receiver = strategy;
|
|
3245
|
-
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3254
|
+
var fallbackName = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u14(descriptor, index, baseName);
|
|
3246
3255
|
var tmp2_elvis_lhs = fallbackName;
|
|
3247
3256
|
return tmp2_elvis_lhs == null ? baseName : tmp2_elvis_lhs;
|
|
3248
3257
|
};
|
|
3249
|
-
protoOf(JsonTreeDecoder).
|
|
3258
|
+
protoOf(JsonTreeDecoder).u17 = function (tag) {
|
|
3250
3259
|
return getValue(this.w(), tag);
|
|
3251
3260
|
};
|
|
3252
|
-
protoOf(JsonTreeDecoder).
|
|
3253
|
-
if (descriptor === this.
|
|
3261
|
+
protoOf(JsonTreeDecoder).wo = function (descriptor) {
|
|
3262
|
+
if (descriptor === this.p18_1)
|
|
3254
3263
|
return this;
|
|
3255
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3264
|
+
return protoOf(AbstractJsonTreeDecoder).wo.call(this, descriptor);
|
|
3256
3265
|
};
|
|
3257
|
-
protoOf(JsonTreeDecoder).
|
|
3266
|
+
protoOf(JsonTreeDecoder).xo = function (descriptor) {
|
|
3258
3267
|
var tmp;
|
|
3259
|
-
if (this.
|
|
3268
|
+
if (this.t17_1.c13_1) {
|
|
3260
3269
|
tmp = true;
|
|
3261
3270
|
} else {
|
|
3262
|
-
var tmp_0 = descriptor.
|
|
3271
|
+
var tmp_0 = descriptor.dn();
|
|
3263
3272
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3264
3273
|
}
|
|
3265
3274
|
if (tmp)
|
|
3266
3275
|
return Unit_getInstance();
|
|
3267
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3276
|
+
var strategy = namingStrategy(descriptor, this.o13());
|
|
3268
3277
|
var tmp_1;
|
|
3269
|
-
if (strategy == null ? !this.
|
|
3278
|
+
if (strategy == null ? !this.t17_1.m13_1 : false) {
|
|
3270
3279
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3271
3280
|
} else if (!(strategy == null)) {
|
|
3272
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3281
|
+
tmp_1 = deserializationNamesMap(this.o13(), descriptor).n2();
|
|
3273
3282
|
} else {
|
|
3274
3283
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3275
3284
|
var tmp$ret$0;
|
|
3276
3285
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3277
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3286
|
+
var tmp0_safe_receiver = get_schemaCache(this.o13()).u16(descriptor, get_JsonDeserializationNamesKey());
|
|
3278
3287
|
var tmp0_orEmpty = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n2();
|
|
3279
3288
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
3280
3289
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -3284,48 +3293,48 @@
|
|
|
3284
3293
|
var tmp1_iterator = this.w().n2().c();
|
|
3285
3294
|
while (tmp1_iterator.d()) {
|
|
3286
3295
|
var key = tmp1_iterator.e();
|
|
3287
|
-
if (!names.i1(key) ? !(key === this.
|
|
3296
|
+
if (!names.i1(key) ? !(key === this.o18_1) : false) {
|
|
3288
3297
|
throw UnknownKeyException(key, this.w().toString());
|
|
3289
3298
|
}
|
|
3290
3299
|
}
|
|
3291
3300
|
};
|
|
3292
3301
|
function JsonTreeListDecoder(json, value) {
|
|
3293
3302
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3294
|
-
this.
|
|
3295
|
-
this.
|
|
3296
|
-
this.
|
|
3303
|
+
this.x18_1 = value;
|
|
3304
|
+
this.y18_1 = this.x18_1.f();
|
|
3305
|
+
this.z18_1 = -1;
|
|
3297
3306
|
}
|
|
3298
3307
|
protoOf(JsonTreeListDecoder).w = function () {
|
|
3299
|
-
return this.
|
|
3308
|
+
return this.x18_1;
|
|
3300
3309
|
};
|
|
3301
|
-
protoOf(JsonTreeListDecoder).
|
|
3310
|
+
protoOf(JsonTreeListDecoder).mz = function (descriptor, index) {
|
|
3302
3311
|
return index.toString();
|
|
3303
3312
|
};
|
|
3304
|
-
protoOf(JsonTreeListDecoder).
|
|
3305
|
-
return this.
|
|
3313
|
+
protoOf(JsonTreeListDecoder).u17 = function (tag) {
|
|
3314
|
+
return this.x18_1.h(toInt(tag));
|
|
3306
3315
|
};
|
|
3307
|
-
protoOf(JsonTreeListDecoder).
|
|
3308
|
-
while (this.
|
|
3316
|
+
protoOf(JsonTreeListDecoder).np = function (descriptor) {
|
|
3317
|
+
while (this.z18_1 < (this.y18_1 - 1 | 0)) {
|
|
3309
3318
|
var tmp0_this = this;
|
|
3310
|
-
var tmp1 = tmp0_this.
|
|
3311
|
-
tmp0_this.
|
|
3312
|
-
return this.
|
|
3319
|
+
var tmp1 = tmp0_this.z18_1;
|
|
3320
|
+
tmp0_this.z18_1 = tmp1 + 1 | 0;
|
|
3321
|
+
return this.z18_1;
|
|
3313
3322
|
}
|
|
3314
3323
|
Companion_getInstance();
|
|
3315
3324
|
return -1;
|
|
3316
3325
|
};
|
|
3317
3326
|
function JsonPrimitiveDecoder(json, value) {
|
|
3318
3327
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3319
|
-
this.
|
|
3320
|
-
this.
|
|
3328
|
+
this.f19_1 = value;
|
|
3329
|
+
this.f10(get_PRIMITIVE_TAG());
|
|
3321
3330
|
}
|
|
3322
3331
|
protoOf(JsonPrimitiveDecoder).w = function () {
|
|
3323
|
-
return this.
|
|
3332
|
+
return this.f19_1;
|
|
3324
3333
|
};
|
|
3325
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3334
|
+
protoOf(JsonPrimitiveDecoder).np = function (descriptor) {
|
|
3326
3335
|
return 0;
|
|
3327
3336
|
};
|
|
3328
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3337
|
+
protoOf(JsonPrimitiveDecoder).u17 = function (tag) {
|
|
3329
3338
|
// Inline function 'kotlin.require' call
|
|
3330
3339
|
var tmp0_require = tag === get_PRIMITIVE_TAG();
|
|
3331
3340
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3336,39 +3345,39 @@
|
|
|
3336
3345
|
var message = tmp$ret$0;
|
|
3337
3346
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3338
3347
|
}
|
|
3339
|
-
return this.
|
|
3348
|
+
return this.f19_1;
|
|
3340
3349
|
};
|
|
3341
3350
|
function JsonTreeMapDecoder(json, value) {
|
|
3342
3351
|
JsonTreeDecoder.call(this, json, value);
|
|
3343
|
-
this.
|
|
3344
|
-
this.
|
|
3345
|
-
this.
|
|
3346
|
-
this.
|
|
3352
|
+
this.q19_1 = value;
|
|
3353
|
+
this.r19_1 = toList(this.q19_1.n2());
|
|
3354
|
+
this.s19_1 = imul(this.r19_1.f(), 2);
|
|
3355
|
+
this.t19_1 = -1;
|
|
3347
3356
|
}
|
|
3348
3357
|
protoOf(JsonTreeMapDecoder).w = function () {
|
|
3349
|
-
return this.
|
|
3358
|
+
return this.q19_1;
|
|
3350
3359
|
};
|
|
3351
|
-
protoOf(JsonTreeMapDecoder).
|
|
3360
|
+
protoOf(JsonTreeMapDecoder).mz = function (descriptor, index) {
|
|
3352
3361
|
var i = index / 2 | 0;
|
|
3353
|
-
return this.
|
|
3362
|
+
return this.r19_1.h(i);
|
|
3354
3363
|
};
|
|
3355
|
-
protoOf(JsonTreeMapDecoder).
|
|
3356
|
-
while (this.
|
|
3364
|
+
protoOf(JsonTreeMapDecoder).np = function (descriptor) {
|
|
3365
|
+
while (this.t19_1 < (this.s19_1 - 1 | 0)) {
|
|
3357
3366
|
var tmp0_this = this;
|
|
3358
|
-
var tmp1 = tmp0_this.
|
|
3359
|
-
tmp0_this.
|
|
3360
|
-
return this.
|
|
3367
|
+
var tmp1 = tmp0_this.t19_1;
|
|
3368
|
+
tmp0_this.t19_1 = tmp1 + 1 | 0;
|
|
3369
|
+
return this.t19_1;
|
|
3361
3370
|
}
|
|
3362
3371
|
Companion_getInstance();
|
|
3363
3372
|
return -1;
|
|
3364
3373
|
};
|
|
3365
|
-
protoOf(JsonTreeMapDecoder).
|
|
3366
|
-
return (this.
|
|
3374
|
+
protoOf(JsonTreeMapDecoder).u17 = function (tag) {
|
|
3375
|
+
return (this.t19_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.q19_1, tag);
|
|
3367
3376
|
};
|
|
3368
|
-
protoOf(JsonTreeMapDecoder).
|
|
3377
|
+
protoOf(JsonTreeMapDecoder).xo = function (descriptor) {
|
|
3369
3378
|
};
|
|
3370
3379
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3371
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3380
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.yl())).vo(deserializer);
|
|
3372
3381
|
}
|
|
3373
3382
|
function get_PRIMITIVE_TAG() {
|
|
3374
3383
|
return PRIMITIVE_TAG;
|
|
@@ -3390,11 +3399,11 @@
|
|
|
3390
3399
|
}
|
|
3391
3400
|
function WriteMode(name, ordinal, begin, end) {
|
|
3392
3401
|
Enum.call(this, name, ordinal);
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3402
|
+
this.h17_1 = begin;
|
|
3403
|
+
this.i17_1 = end;
|
|
3395
3404
|
}
|
|
3396
3405
|
function switchMode(_this__u8e3s4, desc) {
|
|
3397
|
-
var tmp0_subject = desc.
|
|
3406
|
+
var tmp0_subject = desc.dn();
|
|
3398
3407
|
var tmp;
|
|
3399
3408
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3400
3409
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3405,8 +3414,8 @@
|
|
|
3405
3414
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3406
3415
|
var tmp$ret$2;
|
|
3407
3416
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3408
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3409
|
-
var keyKind = keyDescriptor.
|
|
3417
|
+
var keyDescriptor = carrierDescriptor(desc.fn(0), _this__u8e3s4.lp());
|
|
3418
|
+
var keyKind = keyDescriptor.dn();
|
|
3410
3419
|
var tmp_0;
|
|
3411
3420
|
var tmp_1;
|
|
3412
3421
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3420,7 +3429,7 @@
|
|
|
3420
3429
|
tmp$ret$0 = WriteMode_MAP_getInstance();
|
|
3421
3430
|
tmp_0 = tmp$ret$0;
|
|
3422
3431
|
} else {
|
|
3423
|
-
if (_this__u8e3s4.
|
|
3432
|
+
if (_this__u8e3s4.v11_1.e13_1) {
|
|
3424
3433
|
var tmp$ret$1;
|
|
3425
3434
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3426
3435
|
tmp$ret$1 = WriteMode_LIST_getInstance();
|
|
@@ -3440,12 +3449,12 @@
|
|
|
3440
3449
|
}
|
|
3441
3450
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3442
3451
|
var tmp;
|
|
3443
|
-
if (equals(_this__u8e3s4.
|
|
3452
|
+
if (equals(_this__u8e3s4.dn(), CONTEXTUAL_getInstance())) {
|
|
3444
3453
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3445
3454
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3446
3455
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3447
|
-
} else if (_this__u8e3s4.
|
|
3448
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3456
|
+
} else if (_this__u8e3s4.cn()) {
|
|
3457
|
+
tmp = carrierDescriptor(_this__u8e3s4.fn(0), module_0);
|
|
3449
3458
|
} else {
|
|
3450
3459
|
tmp = _this__u8e3s4;
|
|
3451
3460
|
}
|
|
@@ -3472,61 +3481,61 @@
|
|
|
3472
3481
|
}
|
|
3473
3482
|
var STRING;
|
|
3474
3483
|
function appendEscape($this, lastPosition, current) {
|
|
3475
|
-
$this.
|
|
3484
|
+
$this.u19(lastPosition, current);
|
|
3476
3485
|
return appendEsc($this, current + 1 | 0);
|
|
3477
3486
|
}
|
|
3478
3487
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3479
|
-
$this.
|
|
3480
|
-
var result = $this.
|
|
3481
|
-
$this.
|
|
3488
|
+
$this.u19(lastPosition, currentPosition);
|
|
3489
|
+
var result = $this.l12_1.toString();
|
|
3490
|
+
$this.l12_1.pd(0);
|
|
3482
3491
|
return result;
|
|
3483
3492
|
}
|
|
3484
3493
|
function takePeeked($this) {
|
|
3485
3494
|
var tmp$ret$0;
|
|
3486
3495
|
// Inline function 'kotlin.also' call
|
|
3487
|
-
var tmp0_also = ensureNotNull($this.
|
|
3496
|
+
var tmp0_also = ensureNotNull($this.k12_1);
|
|
3488
3497
|
// Inline function 'kotlin.contracts.contract' call
|
|
3489
3498
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3490
|
-
$this.
|
|
3499
|
+
$this.k12_1 = null;
|
|
3491
3500
|
tmp$ret$0 = tmp0_also;
|
|
3492
3501
|
return tmp$ret$0;
|
|
3493
3502
|
}
|
|
3494
3503
|
function wasUnquotedString($this) {
|
|
3495
|
-
return !equals(new Char(charSequenceGet($this.
|
|
3504
|
+
return !equals(new Char(charSequenceGet($this.v19(), $this.i12_1 - 1 | 0)), new Char(_Char___init__impl__6a9atx(34)));
|
|
3496
3505
|
}
|
|
3497
3506
|
function appendEsc($this, startPosition) {
|
|
3498
3507
|
var currentPosition = startPosition;
|
|
3499
|
-
currentPosition = $this.
|
|
3508
|
+
currentPosition = $this.w19(currentPosition);
|
|
3500
3509
|
if (currentPosition === -1) {
|
|
3501
|
-
$this.
|
|
3510
|
+
$this.q14('Expected escape sequence to continue, got EOF');
|
|
3502
3511
|
}
|
|
3503
|
-
var tmp = $this.
|
|
3512
|
+
var tmp = $this.v19();
|
|
3504
3513
|
var tmp0 = currentPosition;
|
|
3505
3514
|
currentPosition = tmp0 + 1 | 0;
|
|
3506
3515
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3507
3516
|
if (equals(new Char(currentChar), new Char(_Char___init__impl__6a9atx(117)))) {
|
|
3508
|
-
return appendHex($this, $this.
|
|
3517
|
+
return appendHex($this, $this.v19(), currentPosition);
|
|
3509
3518
|
}
|
|
3510
3519
|
var tmp$ret$0;
|
|
3511
3520
|
// Inline function 'kotlin.code' call
|
|
3512
3521
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3513
3522
|
var c = escapeToChar(tmp$ret$0);
|
|
3514
3523
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(0)))) {
|
|
3515
|
-
$this.
|
|
3524
|
+
$this.q14("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3516
3525
|
}
|
|
3517
|
-
$this.
|
|
3526
|
+
$this.l12_1.x4(c);
|
|
3518
3527
|
return currentPosition;
|
|
3519
3528
|
}
|
|
3520
3529
|
function appendHex($this, source, startPos) {
|
|
3521
3530
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3522
|
-
$this.
|
|
3523
|
-
$this.
|
|
3524
|
-
if (($this.
|
|
3525
|
-
$this.
|
|
3531
|
+
$this.i12_1 = startPos;
|
|
3532
|
+
$this.x19();
|
|
3533
|
+
if (($this.i12_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3534
|
+
$this.q14('Unexpected EOF during unicode escape');
|
|
3526
3535
|
}
|
|
3527
|
-
return appendHex($this, source, $this.
|
|
3536
|
+
return appendHex($this, source, $this.i12_1);
|
|
3528
3537
|
}
|
|
3529
|
-
$this.
|
|
3538
|
+
$this.l12_1.x4(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));
|
|
3530
3539
|
return startPos + 4 | 0;
|
|
3531
3540
|
}
|
|
3532
3541
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3560,18 +3569,18 @@
|
|
|
3560
3569
|
tmp$ret$5 = 65;
|
|
3561
3570
|
tmp = (tmp_2 - tmp$ret$5 | 0) + 10 | 0;
|
|
3562
3571
|
} else {
|
|
3563
|
-
$this.
|
|
3572
|
+
$this.q14("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3564
3573
|
}
|
|
3565
3574
|
return tmp;
|
|
3566
3575
|
}
|
|
3567
3576
|
function consumeBoolean($this, start) {
|
|
3568
|
-
var current = $this.
|
|
3569
|
-
if (current >= charSequenceLength($this.
|
|
3570
|
-
$this.
|
|
3577
|
+
var current = $this.w19(start);
|
|
3578
|
+
if (current >= charSequenceLength($this.v19()) ? true : current === -1) {
|
|
3579
|
+
$this.q14('EOF');
|
|
3571
3580
|
}
|
|
3572
3581
|
var tmp$ret$0;
|
|
3573
3582
|
// Inline function 'kotlin.code' call
|
|
3574
|
-
var tmp = $this.
|
|
3583
|
+
var tmp = $this.v19();
|
|
3575
3584
|
var tmp0 = current;
|
|
3576
3585
|
current = tmp0 + 1 | 0;
|
|
3577
3586
|
var tmp0__get_code__88qj9g = charSequenceGet(tmp, tmp0);
|
|
@@ -3592,14 +3601,14 @@
|
|
|
3592
3601
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3593
3602
|
tmp_0 = false;
|
|
3594
3603
|
} else {
|
|
3595
|
-
$this.
|
|
3604
|
+
$this.q14("Expected valid boolean literal prefix, but had '" + $this.l15() + "'");
|
|
3596
3605
|
}
|
|
3597
3606
|
}
|
|
3598
3607
|
return tmp_0;
|
|
3599
3608
|
}
|
|
3600
3609
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3601
|
-
if ((charSequenceLength($this.
|
|
3602
|
-
$this.
|
|
3610
|
+
if ((charSequenceLength($this.v19()) - current | 0) < literalSuffix.length) {
|
|
3611
|
+
$this.q14('Unexpected end of boolean literal');
|
|
3603
3612
|
}
|
|
3604
3613
|
var inductionVariable = 0;
|
|
3605
3614
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3608,7 +3617,7 @@
|
|
|
3608
3617
|
var i = inductionVariable;
|
|
3609
3618
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3610
3619
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3611
|
-
var actual = charSequenceGet($this.
|
|
3620
|
+
var actual = charSequenceGet($this.v19(), current + i | 0);
|
|
3612
3621
|
var tmp$ret$0;
|
|
3613
3622
|
// Inline function 'kotlin.code' call
|
|
3614
3623
|
tmp$ret$0 = Char__toInt_impl_vasixd(expected);
|
|
@@ -3617,43 +3626,43 @@
|
|
|
3617
3626
|
// Inline function 'kotlin.code' call
|
|
3618
3627
|
tmp$ret$1 = Char__toInt_impl_vasixd(actual);
|
|
3619
3628
|
if (!(tmp === (tmp$ret$1 | 32))) {
|
|
3620
|
-
$this.
|
|
3629
|
+
$this.q14("Expected valid boolean literal prefix, but had '" + $this.l15() + "'");
|
|
3621
3630
|
}
|
|
3622
3631
|
}
|
|
3623
3632
|
while (inductionVariable <= last);
|
|
3624
|
-
$this.
|
|
3633
|
+
$this.i12_1 = current + literalSuffix.length | 0;
|
|
3625
3634
|
}
|
|
3626
3635
|
function AbstractJsonLexer() {
|
|
3627
|
-
this.
|
|
3628
|
-
this.
|
|
3629
|
-
this.
|
|
3630
|
-
this.
|
|
3636
|
+
this.i12_1 = 0;
|
|
3637
|
+
this.j12_1 = new JsonPath();
|
|
3638
|
+
this.k12_1 = null;
|
|
3639
|
+
this.l12_1 = StringBuilder_init_$Create$();
|
|
3631
3640
|
}
|
|
3632
|
-
protoOf(AbstractJsonLexer).
|
|
3641
|
+
protoOf(AbstractJsonLexer).x19 = function () {
|
|
3633
3642
|
};
|
|
3634
|
-
protoOf(AbstractJsonLexer).
|
|
3643
|
+
protoOf(AbstractJsonLexer).y19 = function (c) {
|
|
3635
3644
|
var tmp0_subject = c;
|
|
3636
3645
|
return (((equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(125))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(93)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(58)))) ? true : equals(new Char(tmp0_subject), new Char(_Char___init__impl__6a9atx(44)))) ? false : true;
|
|
3637
3646
|
};
|
|
3638
|
-
protoOf(AbstractJsonLexer).
|
|
3639
|
-
var nextToken = this.
|
|
3647
|
+
protoOf(AbstractJsonLexer).m12 = function () {
|
|
3648
|
+
var nextToken = this.n15();
|
|
3640
3649
|
if (!(nextToken === 10)) {
|
|
3641
|
-
this.
|
|
3650
|
+
this.q14('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.v19(), this.i12_1 - 1 | 0)) + ' instead');
|
|
3642
3651
|
}
|
|
3643
3652
|
};
|
|
3644
|
-
protoOf(AbstractJsonLexer).
|
|
3645
|
-
var token = this.
|
|
3653
|
+
protoOf(AbstractJsonLexer).h15 = function (expected) {
|
|
3654
|
+
var token = this.n15();
|
|
3646
3655
|
if (!(token === expected)) {
|
|
3647
|
-
this.
|
|
3656
|
+
this.z19(expected);
|
|
3648
3657
|
}
|
|
3649
3658
|
return token;
|
|
3650
3659
|
};
|
|
3651
|
-
protoOf(AbstractJsonLexer).
|
|
3652
|
-
this.
|
|
3653
|
-
var source = this.
|
|
3654
|
-
var cpos = this.
|
|
3660
|
+
protoOf(AbstractJsonLexer).w16 = function (expected) {
|
|
3661
|
+
this.x19();
|
|
3662
|
+
var source = this.v19();
|
|
3663
|
+
var cpos = this.i12_1;
|
|
3655
3664
|
$l$loop_0: while (true) {
|
|
3656
|
-
cpos = this.
|
|
3665
|
+
cpos = this.w19(cpos);
|
|
3657
3666
|
if (cpos === -1)
|
|
3658
3667
|
break $l$loop_0;
|
|
3659
3668
|
var tmp0 = cpos;
|
|
@@ -3661,33 +3670,33 @@
|
|
|
3661
3670
|
var c = charSequenceGet(source, tmp0);
|
|
3662
3671
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
3663
3672
|
continue $l$loop_0;
|
|
3664
|
-
this.
|
|
3673
|
+
this.i12_1 = cpos;
|
|
3665
3674
|
if (equals(new Char(c), new Char(expected)))
|
|
3666
3675
|
return Unit_getInstance();
|
|
3667
|
-
this.
|
|
3676
|
+
this.a1a(expected);
|
|
3668
3677
|
}
|
|
3669
|
-
this.
|
|
3670
|
-
this.
|
|
3678
|
+
this.i12_1 = cpos;
|
|
3679
|
+
this.a1a(expected);
|
|
3671
3680
|
};
|
|
3672
|
-
protoOf(AbstractJsonLexer).
|
|
3681
|
+
protoOf(AbstractJsonLexer).a1a = function (expected) {
|
|
3673
3682
|
var tmp0_this = this;
|
|
3674
|
-
tmp0_this.
|
|
3675
|
-
if ((this.
|
|
3676
|
-
this.
|
|
3683
|
+
tmp0_this.i12_1 = tmp0_this.i12_1 - 1 | 0;
|
|
3684
|
+
if ((this.i12_1 >= 0 ? equals(new Char(expected), new Char(_Char___init__impl__6a9atx(34))) : false) ? this.l15() === 'null' : false) {
|
|
3685
|
+
this.b1a("Expected string literal but 'null' literal was found", this.i12_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3677
3686
|
}
|
|
3678
|
-
this.
|
|
3687
|
+
this.z19(charToTokenClass(expected));
|
|
3679
3688
|
};
|
|
3680
|
-
protoOf(AbstractJsonLexer).
|
|
3689
|
+
protoOf(AbstractJsonLexer).z19 = function (expectedToken) {
|
|
3681
3690
|
var tmp0_subject = expectedToken;
|
|
3682
3691
|
var expected = tmp0_subject === 1 ? "quotation mark '\"'" : tmp0_subject === 4 ? "comma ','" : tmp0_subject === 5 ? "colon ':'" : tmp0_subject === 6 ? "start of the object '{'" : tmp0_subject === 7 ? "end of the object '}'" : tmp0_subject === 8 ? "start of the array '['" : tmp0_subject === 9 ? "end of the array ']'" : 'valid token';
|
|
3683
|
-
var s = (this.
|
|
3684
|
-
this.
|
|
3692
|
+
var s = (this.i12_1 === charSequenceLength(this.v19()) ? true : this.i12_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.v19(), this.i12_1 - 1 | 0));
|
|
3693
|
+
this.q14('Expected ' + expected + ", but had '" + s + "' instead", this.i12_1 - 1 | 0);
|
|
3685
3694
|
};
|
|
3686
|
-
protoOf(AbstractJsonLexer).
|
|
3687
|
-
var source = this.
|
|
3688
|
-
var cpos = this.
|
|
3695
|
+
protoOf(AbstractJsonLexer).i15 = function () {
|
|
3696
|
+
var source = this.v19();
|
|
3697
|
+
var cpos = this.i12_1;
|
|
3689
3698
|
$l$loop_0: while (true) {
|
|
3690
|
-
cpos = this.
|
|
3699
|
+
cpos = this.w19(cpos);
|
|
3691
3700
|
if (cpos === -1)
|
|
3692
3701
|
break $l$loop_0;
|
|
3693
3702
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3695,16 +3704,16 @@
|
|
|
3695
3704
|
cpos = cpos + 1 | 0;
|
|
3696
3705
|
continue $l$loop_0;
|
|
3697
3706
|
}
|
|
3698
|
-
this.
|
|
3707
|
+
this.i12_1 = cpos;
|
|
3699
3708
|
return charToTokenClass(ch);
|
|
3700
3709
|
}
|
|
3701
|
-
this.
|
|
3710
|
+
this.i12_1 = cpos;
|
|
3702
3711
|
return 10;
|
|
3703
3712
|
};
|
|
3704
|
-
protoOf(AbstractJsonLexer).
|
|
3705
|
-
var current = this.
|
|
3706
|
-
current = this.
|
|
3707
|
-
var len = charSequenceLength(this.
|
|
3713
|
+
protoOf(AbstractJsonLexer).y16 = function (doConsume) {
|
|
3714
|
+
var current = this.c1a();
|
|
3715
|
+
current = this.w19(current);
|
|
3716
|
+
var len = charSequenceLength(this.v19()) - current | 0;
|
|
3708
3717
|
if (len < 4 ? true : current === -1)
|
|
3709
3718
|
return false;
|
|
3710
3719
|
var inductionVariable = 0;
|
|
@@ -3712,65 +3721,65 @@
|
|
|
3712
3721
|
do {
|
|
3713
3722
|
var i = inductionVariable;
|
|
3714
3723
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3715
|
-
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.
|
|
3724
|
+
if (!equals(new Char(charSequenceGet('null', i)), new Char(charSequenceGet(this.v19(), current + i | 0))))
|
|
3716
3725
|
return false;
|
|
3717
3726
|
}
|
|
3718
3727
|
while (inductionVariable <= 3);
|
|
3719
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3728
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.v19(), current + 4 | 0)) === 0 : false)
|
|
3720
3729
|
return false;
|
|
3721
3730
|
if (doConsume) {
|
|
3722
|
-
this.
|
|
3731
|
+
this.i12_1 = current + 4 | 0;
|
|
3723
3732
|
}
|
|
3724
3733
|
return true;
|
|
3725
3734
|
};
|
|
3726
|
-
protoOf(AbstractJsonLexer).
|
|
3735
|
+
protoOf(AbstractJsonLexer).j17 = function (doConsume, $super) {
|
|
3727
3736
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3728
|
-
return $super === VOID ? this.
|
|
3737
|
+
return $super === VOID ? this.y16(doConsume) : $super.y16.call(this, doConsume);
|
|
3729
3738
|
};
|
|
3730
|
-
protoOf(AbstractJsonLexer).
|
|
3731
|
-
var current = this.
|
|
3739
|
+
protoOf(AbstractJsonLexer).c1a = function () {
|
|
3740
|
+
var current = this.i12_1;
|
|
3732
3741
|
$l$loop_0: while (true) {
|
|
3733
|
-
current = this.
|
|
3742
|
+
current = this.w19(current);
|
|
3734
3743
|
if (current === -1)
|
|
3735
3744
|
break $l$loop_0;
|
|
3736
|
-
var c = charSequenceGet(this.
|
|
3745
|
+
var c = charSequenceGet(this.v19(), current);
|
|
3737
3746
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
3738
3747
|
current = current + 1 | 0;
|
|
3739
3748
|
} else {
|
|
3740
3749
|
break $l$loop_0;
|
|
3741
3750
|
}
|
|
3742
3751
|
}
|
|
3743
|
-
this.
|
|
3752
|
+
this.i12_1 = current;
|
|
3744
3753
|
return current;
|
|
3745
3754
|
};
|
|
3746
|
-
protoOf(AbstractJsonLexer).
|
|
3747
|
-
var token = this.
|
|
3755
|
+
protoOf(AbstractJsonLexer).z16 = function (isLenient) {
|
|
3756
|
+
var token = this.i15();
|
|
3748
3757
|
var tmp;
|
|
3749
3758
|
if (isLenient) {
|
|
3750
3759
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3751
3760
|
return null;
|
|
3752
|
-
tmp = this.
|
|
3761
|
+
tmp = this.l15();
|
|
3753
3762
|
} else {
|
|
3754
3763
|
if (!(token === 1))
|
|
3755
3764
|
return null;
|
|
3756
|
-
tmp = this.
|
|
3765
|
+
tmp = this.k15();
|
|
3757
3766
|
}
|
|
3758
3767
|
var string = tmp;
|
|
3759
|
-
this.
|
|
3768
|
+
this.k12_1 = string;
|
|
3760
3769
|
return string;
|
|
3761
3770
|
};
|
|
3762
|
-
protoOf(AbstractJsonLexer).
|
|
3771
|
+
protoOf(AbstractJsonLexer).d1a = function (startPos, endPos) {
|
|
3763
3772
|
var tmp$ret$0;
|
|
3764
3773
|
// Inline function 'kotlin.text.substring' call
|
|
3765
|
-
var tmp0_substring = this.
|
|
3774
|
+
var tmp0_substring = this.v19();
|
|
3766
3775
|
tmp$ret$0 = toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3767
3776
|
return tmp$ret$0;
|
|
3768
3777
|
};
|
|
3769
|
-
protoOf(AbstractJsonLexer).
|
|
3770
|
-
if (!(this.
|
|
3778
|
+
protoOf(AbstractJsonLexer).k15 = function () {
|
|
3779
|
+
if (!(this.k12_1 == null)) {
|
|
3771
3780
|
return takePeeked(this);
|
|
3772
3781
|
}
|
|
3773
|
-
return this.
|
|
3782
|
+
return this.c17();
|
|
3774
3783
|
};
|
|
3775
3784
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3776
3785
|
var currentPosition = current;
|
|
@@ -3780,19 +3789,19 @@
|
|
|
3780
3789
|
while (!equals(new Char(char), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3781
3790
|
if (equals(new Char(char), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
3782
3791
|
usedAppend = true;
|
|
3783
|
-
currentPosition = this.
|
|
3792
|
+
currentPosition = this.w19(appendEscape(this, lastPosition, currentPosition));
|
|
3784
3793
|
if (currentPosition === -1) {
|
|
3785
|
-
this.
|
|
3794
|
+
this.q14('EOF', currentPosition);
|
|
3786
3795
|
}
|
|
3787
3796
|
lastPosition = currentPosition;
|
|
3788
3797
|
} else {
|
|
3789
3798
|
currentPosition = currentPosition + 1 | 0;
|
|
3790
3799
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3791
3800
|
usedAppend = true;
|
|
3792
|
-
this.
|
|
3793
|
-
currentPosition = this.
|
|
3801
|
+
this.u19(lastPosition, currentPosition);
|
|
3802
|
+
currentPosition = this.w19(currentPosition);
|
|
3794
3803
|
if (currentPosition === -1) {
|
|
3795
|
-
this.
|
|
3804
|
+
this.q14('EOF', currentPosition);
|
|
3796
3805
|
}
|
|
3797
3806
|
lastPosition = currentPosition;
|
|
3798
3807
|
}
|
|
@@ -3801,45 +3810,45 @@
|
|
|
3801
3810
|
}
|
|
3802
3811
|
var tmp;
|
|
3803
3812
|
if (!usedAppend) {
|
|
3804
|
-
tmp = this.
|
|
3813
|
+
tmp = this.d1a(lastPosition, currentPosition);
|
|
3805
3814
|
} else {
|
|
3806
3815
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3807
3816
|
}
|
|
3808
3817
|
var string = tmp;
|
|
3809
|
-
this.
|
|
3818
|
+
this.i12_1 = currentPosition + 1 | 0;
|
|
3810
3819
|
return string;
|
|
3811
3820
|
};
|
|
3812
|
-
protoOf(AbstractJsonLexer).
|
|
3813
|
-
var result = this.
|
|
3821
|
+
protoOf(AbstractJsonLexer).d17 = function () {
|
|
3822
|
+
var result = this.l15();
|
|
3814
3823
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3815
|
-
this.
|
|
3824
|
+
this.q14("Unexpected 'null' value instead of string literal");
|
|
3816
3825
|
}
|
|
3817
3826
|
return result;
|
|
3818
3827
|
};
|
|
3819
|
-
protoOf(AbstractJsonLexer).
|
|
3820
|
-
if (!(this.
|
|
3828
|
+
protoOf(AbstractJsonLexer).l15 = function () {
|
|
3829
|
+
if (!(this.k12_1 == null)) {
|
|
3821
3830
|
return takePeeked(this);
|
|
3822
3831
|
}
|
|
3823
|
-
var current = this.
|
|
3824
|
-
if (current >= charSequenceLength(this.
|
|
3825
|
-
this.
|
|
3832
|
+
var current = this.c1a();
|
|
3833
|
+
if (current >= charSequenceLength(this.v19()) ? true : current === -1) {
|
|
3834
|
+
this.q14('EOF', current);
|
|
3826
3835
|
}
|
|
3827
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3836
|
+
var token = charToTokenClass(charSequenceGet(this.v19(), current));
|
|
3828
3837
|
if (token === 1) {
|
|
3829
|
-
return this.
|
|
3838
|
+
return this.k15();
|
|
3830
3839
|
}
|
|
3831
3840
|
if (!(token === 0)) {
|
|
3832
|
-
this.
|
|
3841
|
+
this.q14('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.v19(), current)));
|
|
3833
3842
|
}
|
|
3834
3843
|
var usedAppend = false;
|
|
3835
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3844
|
+
while (charToTokenClass(charSequenceGet(this.v19(), current)) === 0) {
|
|
3836
3845
|
current = current + 1 | 0;
|
|
3837
|
-
if (current >= charSequenceLength(this.
|
|
3846
|
+
if (current >= charSequenceLength(this.v19())) {
|
|
3838
3847
|
usedAppend = true;
|
|
3839
|
-
this.
|
|
3840
|
-
var eof = this.
|
|
3848
|
+
this.u19(this.i12_1, current);
|
|
3849
|
+
var eof = this.w19(current);
|
|
3841
3850
|
if (eof === -1) {
|
|
3842
|
-
this.
|
|
3851
|
+
this.i12_1 = current;
|
|
3843
3852
|
return decodedString(this, 0, 0);
|
|
3844
3853
|
} else {
|
|
3845
3854
|
current = eof;
|
|
@@ -3848,34 +3857,34 @@
|
|
|
3848
3857
|
}
|
|
3849
3858
|
var tmp;
|
|
3850
3859
|
if (!usedAppend) {
|
|
3851
|
-
tmp = this.
|
|
3860
|
+
tmp = this.d1a(this.i12_1, current);
|
|
3852
3861
|
} else {
|
|
3853
|
-
tmp = decodedString(this, this.
|
|
3862
|
+
tmp = decodedString(this, this.i12_1, current);
|
|
3854
3863
|
}
|
|
3855
3864
|
var result = tmp;
|
|
3856
|
-
this.
|
|
3865
|
+
this.i12_1 = current;
|
|
3857
3866
|
return result;
|
|
3858
3867
|
};
|
|
3859
|
-
protoOf(AbstractJsonLexer).
|
|
3860
|
-
this.
|
|
3868
|
+
protoOf(AbstractJsonLexer).u19 = function (fromIndex, toIndex) {
|
|
3869
|
+
this.l12_1.od(this.v19(), fromIndex, toIndex);
|
|
3861
3870
|
};
|
|
3862
|
-
protoOf(AbstractJsonLexer).
|
|
3871
|
+
protoOf(AbstractJsonLexer).b17 = function (allowLenientStrings) {
|
|
3863
3872
|
var tmp$ret$0;
|
|
3864
3873
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3865
3874
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
3866
3875
|
var tokenStack = tmp$ret$0;
|
|
3867
|
-
var lastToken = this.
|
|
3876
|
+
var lastToken = this.i15();
|
|
3868
3877
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3869
|
-
this.
|
|
3878
|
+
this.l15();
|
|
3870
3879
|
return Unit_getInstance();
|
|
3871
3880
|
}
|
|
3872
3881
|
$l$loop: while (true) {
|
|
3873
|
-
lastToken = this.
|
|
3882
|
+
lastToken = this.i15();
|
|
3874
3883
|
if (lastToken === 1) {
|
|
3875
3884
|
if (allowLenientStrings) {
|
|
3876
|
-
this.
|
|
3885
|
+
this.l15();
|
|
3877
3886
|
} else {
|
|
3878
|
-
this.
|
|
3887
|
+
this.c17();
|
|
3879
3888
|
}
|
|
3880
3889
|
continue $l$loop;
|
|
3881
3890
|
}
|
|
@@ -3884,29 +3893,29 @@
|
|
|
3884
3893
|
tokenStack.a(lastToken);
|
|
3885
3894
|
} else if (tmp0_subject === 9) {
|
|
3886
3895
|
if (!(last(tokenStack) === 8))
|
|
3887
|
-
throw JsonDecodingException_0(this.
|
|
3896
|
+
throw JsonDecodingException_0(this.i12_1, 'found ] instead of } at path: ' + this.j12_1, this.v19());
|
|
3888
3897
|
removeLast(tokenStack);
|
|
3889
3898
|
} else if (tmp0_subject === 7) {
|
|
3890
3899
|
if (!(last(tokenStack) === 6))
|
|
3891
|
-
throw JsonDecodingException_0(this.
|
|
3900
|
+
throw JsonDecodingException_0(this.i12_1, 'found } instead of ] at path: ' + this.j12_1, this.v19());
|
|
3892
3901
|
removeLast(tokenStack);
|
|
3893
3902
|
} else if (tmp0_subject === 10) {
|
|
3894
|
-
this.
|
|
3903
|
+
this.q14('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3895
3904
|
}
|
|
3896
|
-
this.
|
|
3905
|
+
this.n15();
|
|
3897
3906
|
if (tokenStack.f() === 0)
|
|
3898
3907
|
return Unit_getInstance();
|
|
3899
3908
|
}
|
|
3900
3909
|
};
|
|
3901
3910
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3902
|
-
return "JsonReader(source='" + this.
|
|
3911
|
+
return "JsonReader(source='" + this.v19() + "', currentPosition=" + this.i12_1 + ')';
|
|
3903
3912
|
};
|
|
3904
|
-
protoOf(AbstractJsonLexer).
|
|
3905
|
-
var processed = this.
|
|
3913
|
+
protoOf(AbstractJsonLexer).a17 = function (key) {
|
|
3914
|
+
var processed = this.d1a(0, this.i12_1);
|
|
3906
3915
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3907
|
-
this.
|
|
3916
|
+
this.b1a("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3908
3917
|
};
|
|
3909
|
-
protoOf(AbstractJsonLexer).
|
|
3918
|
+
protoOf(AbstractJsonLexer).b1a = function (message, position, hint) {
|
|
3910
3919
|
var tmp;
|
|
3911
3920
|
var tmp$ret$0;
|
|
3912
3921
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3917,24 +3926,24 @@
|
|
|
3917
3926
|
tmp = '\n' + hint;
|
|
3918
3927
|
}
|
|
3919
3928
|
var hintMessage = tmp;
|
|
3920
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3929
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.j12_1.d15() + hintMessage, this.v19());
|
|
3921
3930
|
};
|
|
3922
|
-
protoOf(AbstractJsonLexer).
|
|
3923
|
-
position = position === VOID ? this.
|
|
3931
|
+
protoOf(AbstractJsonLexer).q14 = function (message, position, hint, $super) {
|
|
3932
|
+
position = position === VOID ? this.i12_1 : position;
|
|
3924
3933
|
hint = hint === VOID ? '' : hint;
|
|
3925
|
-
return $super === VOID ? this.
|
|
3934
|
+
return $super === VOID ? this.b1a(message, position, hint) : $super.b1a.call(this, message, position, hint);
|
|
3926
3935
|
};
|
|
3927
|
-
protoOf(AbstractJsonLexer).
|
|
3928
|
-
var current = this.
|
|
3929
|
-
current = this.
|
|
3930
|
-
if (current >= charSequenceLength(this.
|
|
3931
|
-
this.
|
|
3936
|
+
protoOf(AbstractJsonLexer).m17 = function () {
|
|
3937
|
+
var current = this.c1a();
|
|
3938
|
+
current = this.w19(current);
|
|
3939
|
+
if (current >= charSequenceLength(this.v19()) ? true : current === -1) {
|
|
3940
|
+
this.q14('EOF');
|
|
3932
3941
|
}
|
|
3933
3942
|
var tmp;
|
|
3934
|
-
if (equals(new Char(charSequenceGet(this.
|
|
3943
|
+
if (equals(new Char(charSequenceGet(this.v19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3935
3944
|
current = current + 1 | 0;
|
|
3936
|
-
if (current === charSequenceLength(this.
|
|
3937
|
-
this.
|
|
3945
|
+
if (current === charSequenceLength(this.v19())) {
|
|
3946
|
+
this.q14('EOF');
|
|
3938
3947
|
}
|
|
3939
3948
|
tmp = true;
|
|
3940
3949
|
} else {
|
|
@@ -3946,10 +3955,10 @@
|
|
|
3946
3955
|
var start = current;
|
|
3947
3956
|
var hasChars = true;
|
|
3948
3957
|
$l$loop_0: while (hasChars) {
|
|
3949
|
-
var ch = charSequenceGet(this.
|
|
3958
|
+
var ch = charSequenceGet(this.v19(), current);
|
|
3950
3959
|
if (equals(new Char(ch), new Char(_Char___init__impl__6a9atx(45)))) {
|
|
3951
3960
|
if (!(current === start)) {
|
|
3952
|
-
this.
|
|
3961
|
+
this.q14("Unexpected symbol '-' in numeric literal");
|
|
3953
3962
|
}
|
|
3954
3963
|
isNegative = true;
|
|
3955
3964
|
current = current + 1 | 0;
|
|
@@ -3959,10 +3968,10 @@
|
|
|
3959
3968
|
if (!(token === 0))
|
|
3960
3969
|
break $l$loop_0;
|
|
3961
3970
|
current = current + 1 | 0;
|
|
3962
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3971
|
+
hasChars = !(current === charSequenceLength(this.v19()));
|
|
3963
3972
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3964
3973
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3965
|
-
this.
|
|
3974
|
+
this.q14("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3966
3975
|
}
|
|
3967
3976
|
var tmp$ret$1;
|
|
3968
3977
|
// Inline function 'kotlin.Long.minus' call
|
|
@@ -3974,22 +3983,22 @@
|
|
|
3974
3983
|
tmp$ret$1 = tmp1_minus.c5(toLong_0(digit));
|
|
3975
3984
|
accumulator = tmp$ret$1;
|
|
3976
3985
|
if (accumulator.e1(new Long(0, 0)) > 0) {
|
|
3977
|
-
this.
|
|
3986
|
+
this.q14('Numeric value overflow');
|
|
3978
3987
|
}
|
|
3979
3988
|
}
|
|
3980
3989
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3981
|
-
this.
|
|
3990
|
+
this.q14('Expected numeric literal');
|
|
3982
3991
|
}
|
|
3983
3992
|
if (hasQuotation) {
|
|
3984
3993
|
if (!hasChars) {
|
|
3985
|
-
this.
|
|
3994
|
+
this.q14('EOF');
|
|
3986
3995
|
}
|
|
3987
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
3988
|
-
this.
|
|
3996
|
+
if (!equals(new Char(charSequenceGet(this.v19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
3997
|
+
this.q14('Expected closing quotation mark');
|
|
3989
3998
|
}
|
|
3990
3999
|
current = current + 1 | 0;
|
|
3991
4000
|
}
|
|
3992
|
-
this.
|
|
4001
|
+
this.i12_1 = current;
|
|
3993
4002
|
var tmp_0;
|
|
3994
4003
|
if (isNegative) {
|
|
3995
4004
|
tmp_0 = accumulator;
|
|
@@ -3999,21 +4008,21 @@
|
|
|
3999
4008
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
4000
4009
|
tmp_0 = accumulator.y4();
|
|
4001
4010
|
} else {
|
|
4002
|
-
this.
|
|
4011
|
+
this.q14('Numeric value overflow');
|
|
4003
4012
|
}
|
|
4004
4013
|
}
|
|
4005
4014
|
return tmp_0;
|
|
4006
4015
|
};
|
|
4007
|
-
protoOf(AbstractJsonLexer).
|
|
4008
|
-
return consumeBoolean(this, this.
|
|
4016
|
+
protoOf(AbstractJsonLexer).k17 = function () {
|
|
4017
|
+
return consumeBoolean(this, this.c1a());
|
|
4009
4018
|
};
|
|
4010
|
-
protoOf(AbstractJsonLexer).
|
|
4011
|
-
var current = this.
|
|
4012
|
-
if (current === charSequenceLength(this.
|
|
4013
|
-
this.
|
|
4019
|
+
protoOf(AbstractJsonLexer).l17 = function () {
|
|
4020
|
+
var current = this.c1a();
|
|
4021
|
+
if (current === charSequenceLength(this.v19())) {
|
|
4022
|
+
this.q14('EOF');
|
|
4014
4023
|
}
|
|
4015
4024
|
var tmp;
|
|
4016
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4025
|
+
if (equals(new Char(charSequenceGet(this.v19(), current)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4017
4026
|
current = current + 1 | 0;
|
|
4018
4027
|
tmp = true;
|
|
4019
4028
|
} else {
|
|
@@ -4022,14 +4031,14 @@
|
|
|
4022
4031
|
var hasQuotation = tmp;
|
|
4023
4032
|
var result = consumeBoolean(this, current);
|
|
4024
4033
|
if (hasQuotation) {
|
|
4025
|
-
if (this.
|
|
4026
|
-
this.
|
|
4034
|
+
if (this.i12_1 === charSequenceLength(this.v19())) {
|
|
4035
|
+
this.q14('EOF');
|
|
4027
4036
|
}
|
|
4028
|
-
if (!equals(new Char(charSequenceGet(this.
|
|
4029
|
-
this.
|
|
4037
|
+
if (!equals(new Char(charSequenceGet(this.v19(), this.i12_1)), new Char(_Char___init__impl__6a9atx(34)))) {
|
|
4038
|
+
this.q14('Expected closing quotation mark');
|
|
4030
4039
|
}
|
|
4031
4040
|
var tmp0_this = this;
|
|
4032
|
-
tmp0_this.
|
|
4041
|
+
tmp0_this.i12_1 = tmp0_this.i12_1 + 1 | 0;
|
|
4033
4042
|
}
|
|
4034
4043
|
return result;
|
|
4035
4044
|
};
|
|
@@ -4039,7 +4048,7 @@
|
|
|
4039
4048
|
// Inline function 'kotlin.code' call
|
|
4040
4049
|
tmp$ret$0 = Char__toInt_impl_vasixd(c);
|
|
4041
4050
|
if (tmp$ret$0 < 126) {
|
|
4042
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4051
|
+
var tmp_0 = CharMappings_getInstance().f1a_1;
|
|
4043
4052
|
var tmp$ret$1;
|
|
4044
4053
|
// Inline function 'kotlin.code' call
|
|
4045
4054
|
tmp$ret$1 = Char__toInt_impl_vasixd(c);
|
|
@@ -4122,7 +4131,7 @@
|
|
|
4122
4131
|
}
|
|
4123
4132
|
var TC_OTHER;
|
|
4124
4133
|
function escapeToChar(c) {
|
|
4125
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4134
|
+
return c < 117 ? CharMappings_getInstance().e1a_1[c] : _Char___init__impl__6a9atx(0);
|
|
4126
4135
|
}
|
|
4127
4136
|
function get_ignoreUnknownKeysHint() {
|
|
4128
4137
|
return ignoreUnknownKeysHint;
|
|
@@ -4173,7 +4182,7 @@
|
|
|
4173
4182
|
var tmp$ret$0;
|
|
4174
4183
|
// Inline function 'kotlin.code' call
|
|
4175
4184
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4176
|
-
$this.
|
|
4185
|
+
$this.e1a_1[tmp$ret$0] = numberToChar(c);
|
|
4177
4186
|
}
|
|
4178
4187
|
}
|
|
4179
4188
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4183,7 +4192,7 @@
|
|
|
4183
4192
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4184
4193
|
}
|
|
4185
4194
|
function initC2TC($this, c, cl) {
|
|
4186
|
-
$this.
|
|
4195
|
+
$this.f1a_1[c] = cl;
|
|
4187
4196
|
}
|
|
4188
4197
|
function initC2TC_0($this, c, cl) {
|
|
4189
4198
|
var tmp$ret$0;
|
|
@@ -4193,8 +4202,8 @@
|
|
|
4193
4202
|
}
|
|
4194
4203
|
function CharMappings() {
|
|
4195
4204
|
CharMappings_instance = this;
|
|
4196
|
-
this.
|
|
4197
|
-
this.
|
|
4205
|
+
this.e1a_1 = charArray(117);
|
|
4206
|
+
this.f1a_1 = new Int8Array(126);
|
|
4198
4207
|
initEscape(this);
|
|
4199
4208
|
initCharToToken(this);
|
|
4200
4209
|
}
|
|
@@ -4214,20 +4223,20 @@
|
|
|
4214
4223
|
var allowStructuredMapKeysHint;
|
|
4215
4224
|
function StringJsonLexer(source) {
|
|
4216
4225
|
AbstractJsonLexer.call(this);
|
|
4217
|
-
this.
|
|
4226
|
+
this.k1a_1 = source;
|
|
4218
4227
|
}
|
|
4219
|
-
protoOf(StringJsonLexer).
|
|
4220
|
-
return this.
|
|
4228
|
+
protoOf(StringJsonLexer).v19 = function () {
|
|
4229
|
+
return this.k1a_1;
|
|
4221
4230
|
};
|
|
4222
|
-
protoOf(StringJsonLexer).
|
|
4223
|
-
return position < this.
|
|
4231
|
+
protoOf(StringJsonLexer).w19 = function (position) {
|
|
4232
|
+
return position < this.k1a_1.length ? position : -1;
|
|
4224
4233
|
};
|
|
4225
|
-
protoOf(StringJsonLexer).
|
|
4226
|
-
var source = this.
|
|
4227
|
-
$l$loop: while (!(this.
|
|
4234
|
+
protoOf(StringJsonLexer).n15 = function () {
|
|
4235
|
+
var source = this.k1a_1;
|
|
4236
|
+
$l$loop: while (!(this.i12_1 === -1) ? this.i12_1 < source.length : false) {
|
|
4228
4237
|
var tmp0_this = this;
|
|
4229
|
-
var tmp1 = tmp0_this.
|
|
4230
|
-
tmp0_this.
|
|
4238
|
+
var tmp1 = tmp0_this.i12_1;
|
|
4239
|
+
tmp0_this.i12_1 = tmp1 + 1 | 0;
|
|
4231
4240
|
var ch = charSequenceGet(source, tmp1);
|
|
4232
4241
|
var tc = charToTokenClass(ch);
|
|
4233
4242
|
var tmp;
|
|
@@ -4240,143 +4249,143 @@
|
|
|
4240
4249
|
}
|
|
4241
4250
|
return get_TC_EOF();
|
|
4242
4251
|
};
|
|
4243
|
-
protoOf(StringJsonLexer).
|
|
4244
|
-
var current = this.
|
|
4245
|
-
if (current === this.
|
|
4252
|
+
protoOf(StringJsonLexer).x16 = function () {
|
|
4253
|
+
var current = this.c1a();
|
|
4254
|
+
if (current === this.k1a_1.length ? true : current === -1)
|
|
4246
4255
|
return false;
|
|
4247
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4256
|
+
if (equals(new Char(charSequenceGet(this.k1a_1, current)), new Char(_Char___init__impl__6a9atx(44)))) {
|
|
4248
4257
|
var tmp0_this = this;
|
|
4249
|
-
tmp0_this.
|
|
4258
|
+
tmp0_this.i12_1 = tmp0_this.i12_1 + 1 | 0;
|
|
4250
4259
|
return true;
|
|
4251
4260
|
}
|
|
4252
4261
|
return false;
|
|
4253
4262
|
};
|
|
4254
|
-
protoOf(StringJsonLexer).
|
|
4255
|
-
var current = this.
|
|
4263
|
+
protoOf(StringJsonLexer).j15 = function () {
|
|
4264
|
+
var current = this.i12_1;
|
|
4256
4265
|
if (current === -1)
|
|
4257
4266
|
return false;
|
|
4258
|
-
$l$loop: while (current < this.
|
|
4259
|
-
var c = charSequenceGet(this.
|
|
4267
|
+
$l$loop: while (current < this.k1a_1.length) {
|
|
4268
|
+
var c = charSequenceGet(this.k1a_1, current);
|
|
4260
4269
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4261
4270
|
current = current + 1 | 0;
|
|
4262
4271
|
continue $l$loop;
|
|
4263
4272
|
}
|
|
4264
|
-
this.
|
|
4265
|
-
return this.
|
|
4273
|
+
this.i12_1 = current;
|
|
4274
|
+
return this.y19(c);
|
|
4266
4275
|
}
|
|
4267
|
-
this.
|
|
4276
|
+
this.i12_1 = current;
|
|
4268
4277
|
return false;
|
|
4269
4278
|
};
|
|
4270
|
-
protoOf(StringJsonLexer).
|
|
4271
|
-
var current = this.
|
|
4279
|
+
protoOf(StringJsonLexer).c1a = function () {
|
|
4280
|
+
var current = this.i12_1;
|
|
4272
4281
|
if (current === -1)
|
|
4273
4282
|
return current;
|
|
4274
|
-
$l$loop: while (current < this.
|
|
4275
|
-
var c = charSequenceGet(this.
|
|
4283
|
+
$l$loop: while (current < this.k1a_1.length) {
|
|
4284
|
+
var c = charSequenceGet(this.k1a_1, current);
|
|
4276
4285
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9)))) {
|
|
4277
4286
|
current = current + 1 | 0;
|
|
4278
4287
|
} else {
|
|
4279
4288
|
break $l$loop;
|
|
4280
4289
|
}
|
|
4281
4290
|
}
|
|
4282
|
-
this.
|
|
4291
|
+
this.i12_1 = current;
|
|
4283
4292
|
return current;
|
|
4284
4293
|
};
|
|
4285
|
-
protoOf(StringJsonLexer).
|
|
4286
|
-
if (this.
|
|
4287
|
-
this.
|
|
4294
|
+
protoOf(StringJsonLexer).w16 = function (expected) {
|
|
4295
|
+
if (this.i12_1 === -1) {
|
|
4296
|
+
this.a1a(expected);
|
|
4288
4297
|
}
|
|
4289
|
-
var source = this.
|
|
4290
|
-
$l$loop: while (this.
|
|
4298
|
+
var source = this.k1a_1;
|
|
4299
|
+
$l$loop: while (this.i12_1 < source.length) {
|
|
4291
4300
|
var tmp0_this = this;
|
|
4292
|
-
var tmp1 = tmp0_this.
|
|
4293
|
-
tmp0_this.
|
|
4301
|
+
var tmp1 = tmp0_this.i12_1;
|
|
4302
|
+
tmp0_this.i12_1 = tmp1 + 1 | 0;
|
|
4294
4303
|
var c = charSequenceGet(source, tmp1);
|
|
4295
4304
|
if (((equals(new Char(c), new Char(_Char___init__impl__6a9atx(32))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(10)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(13)))) ? true : equals(new Char(c), new Char(_Char___init__impl__6a9atx(9))))
|
|
4296
4305
|
continue $l$loop;
|
|
4297
4306
|
if (equals(new Char(c), new Char(expected)))
|
|
4298
4307
|
return Unit_getInstance();
|
|
4299
|
-
this.
|
|
4308
|
+
this.a1a(expected);
|
|
4300
4309
|
}
|
|
4301
|
-
this.
|
|
4310
|
+
this.a1a(expected);
|
|
4302
4311
|
};
|
|
4303
|
-
protoOf(StringJsonLexer).
|
|
4304
|
-
this.
|
|
4305
|
-
var current = this.
|
|
4306
|
-
var closingQuote = indexOf(this.
|
|
4312
|
+
protoOf(StringJsonLexer).c17 = function () {
|
|
4313
|
+
this.w16(get_STRING());
|
|
4314
|
+
var current = this.i12_1;
|
|
4315
|
+
var closingQuote = indexOf(this.k1a_1, _Char___init__impl__6a9atx(34), current);
|
|
4307
4316
|
if (closingQuote === -1) {
|
|
4308
|
-
this.
|
|
4317
|
+
this.z19(get_TC_STRING());
|
|
4309
4318
|
}
|
|
4310
4319
|
var inductionVariable = current;
|
|
4311
4320
|
if (inductionVariable < closingQuote)
|
|
4312
4321
|
do {
|
|
4313
4322
|
var i = inductionVariable;
|
|
4314
4323
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4315
|
-
if (equals(new Char(charSequenceGet(this.
|
|
4316
|
-
return this.consumeString2(this.
|
|
4324
|
+
if (equals(new Char(charSequenceGet(this.k1a_1, i)), new Char(get_STRING_ESC()))) {
|
|
4325
|
+
return this.consumeString2(this.k1a_1, this.i12_1, i);
|
|
4317
4326
|
}
|
|
4318
4327
|
}
|
|
4319
4328
|
while (inductionVariable < closingQuote);
|
|
4320
|
-
this.
|
|
4329
|
+
this.i12_1 = closingQuote + 1 | 0;
|
|
4321
4330
|
var tmp$ret$1;
|
|
4322
4331
|
// Inline function 'kotlin.text.substring' call
|
|
4323
|
-
var tmp0_substring = this.
|
|
4332
|
+
var tmp0_substring = this.k1a_1;
|
|
4324
4333
|
var tmp$ret$0;
|
|
4325
4334
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4326
4335
|
tmp$ret$0 = tmp0_substring;
|
|
4327
4336
|
tmp$ret$1 = tmp$ret$0.substring(current, closingQuote);
|
|
4328
4337
|
return tmp$ret$1;
|
|
4329
4338
|
};
|
|
4330
|
-
protoOf(StringJsonLexer).
|
|
4331
|
-
var positionSnapshot = this.
|
|
4339
|
+
protoOf(StringJsonLexer).e17 = function (keyToMatch, isLenient) {
|
|
4340
|
+
var positionSnapshot = this.i12_1;
|
|
4332
4341
|
try {
|
|
4333
|
-
if (!(this.
|
|
4342
|
+
if (!(this.n15() === get_TC_BEGIN_OBJ()))
|
|
4334
4343
|
return null;
|
|
4335
|
-
var firstKey = isLenient ? this.
|
|
4344
|
+
var firstKey = isLenient ? this.c17() : this.d17();
|
|
4336
4345
|
if (firstKey === keyToMatch) {
|
|
4337
|
-
if (!(this.
|
|
4346
|
+
if (!(this.n15() === get_TC_COLON()))
|
|
4338
4347
|
return null;
|
|
4339
|
-
var result = isLenient ? this.
|
|
4348
|
+
var result = isLenient ? this.k15() : this.d17();
|
|
4340
4349
|
return result;
|
|
4341
4350
|
}
|
|
4342
4351
|
return null;
|
|
4343
4352
|
}finally {
|
|
4344
|
-
this.
|
|
4353
|
+
this.i12_1 = positionSnapshot;
|
|
4345
4354
|
}
|
|
4346
4355
|
};
|
|
4347
4356
|
function get_schemaCache(_this__u8e3s4) {
|
|
4348
|
-
return _this__u8e3s4.
|
|
4357
|
+
return _this__u8e3s4.x11_1;
|
|
4349
4358
|
}
|
|
4350
4359
|
function createMapForCache(initialCapacity) {
|
|
4351
4360
|
return HashMap_init_$Create$(initialCapacity);
|
|
4352
4361
|
}
|
|
4353
4362
|
//region block: post-declaration
|
|
4354
|
-
protoOf(defer$1).
|
|
4355
|
-
protoOf(defer$1).
|
|
4356
|
-
protoOf(defer$1).
|
|
4357
|
-
protoOf(PolymorphismValidator).
|
|
4358
|
-
protoOf(StreamingJsonDecoder).
|
|
4359
|
-
protoOf(StreamingJsonDecoder).
|
|
4360
|
-
protoOf(StreamingJsonDecoder).
|
|
4361
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4362
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4363
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4364
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4365
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4366
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4367
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4368
|
-
protoOf(JsonTreeDecoder).
|
|
4369
|
-
protoOf(JsonTreeDecoder).
|
|
4370
|
-
protoOf(JsonTreeDecoder).
|
|
4371
|
-
protoOf(JsonTreeListDecoder).
|
|
4372
|
-
protoOf(JsonTreeListDecoder).
|
|
4373
|
-
protoOf(JsonTreeListDecoder).
|
|
4374
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4375
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4376
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4377
|
-
protoOf(JsonTreeMapDecoder).
|
|
4378
|
-
protoOf(JsonTreeMapDecoder).
|
|
4379
|
-
protoOf(JsonTreeMapDecoder).
|
|
4363
|
+
protoOf(defer$1).vm = get_isNullable;
|
|
4364
|
+
protoOf(defer$1).cn = get_isInline;
|
|
4365
|
+
protoOf(defer$1).an = get_annotations;
|
|
4366
|
+
protoOf(PolymorphismValidator).o11 = contextual;
|
|
4367
|
+
protoOf(StreamingJsonDecoder).jp = decodeSerializableElement$default;
|
|
4368
|
+
protoOf(StreamingJsonDecoder).mp = decodeSequentially;
|
|
4369
|
+
protoOf(StreamingJsonDecoder).op = decodeCollectionSize;
|
|
4370
|
+
protoOf(JsonDecoderForUnsignedTypes).vo = decodeSerializableValue;
|
|
4371
|
+
protoOf(JsonDecoderForUnsignedTypes).jp = decodeSerializableElement$default;
|
|
4372
|
+
protoOf(JsonDecoderForUnsignedTypes).mp = decodeSequentially;
|
|
4373
|
+
protoOf(JsonDecoderForUnsignedTypes).op = decodeCollectionSize;
|
|
4374
|
+
protoOf(AbstractJsonTreeDecoder).jp = decodeSerializableElement$default;
|
|
4375
|
+
protoOf(AbstractJsonTreeDecoder).mp = decodeSequentially;
|
|
4376
|
+
protoOf(AbstractJsonTreeDecoder).op = decodeCollectionSize;
|
|
4377
|
+
protoOf(JsonTreeDecoder).jp = decodeSerializableElement$default;
|
|
4378
|
+
protoOf(JsonTreeDecoder).mp = decodeSequentially;
|
|
4379
|
+
protoOf(JsonTreeDecoder).op = decodeCollectionSize;
|
|
4380
|
+
protoOf(JsonTreeListDecoder).jp = decodeSerializableElement$default;
|
|
4381
|
+
protoOf(JsonTreeListDecoder).mp = decodeSequentially;
|
|
4382
|
+
protoOf(JsonTreeListDecoder).op = decodeCollectionSize;
|
|
4383
|
+
protoOf(JsonPrimitiveDecoder).jp = decodeSerializableElement$default;
|
|
4384
|
+
protoOf(JsonPrimitiveDecoder).mp = decodeSequentially;
|
|
4385
|
+
protoOf(JsonPrimitiveDecoder).op = decodeCollectionSize;
|
|
4386
|
+
protoOf(JsonTreeMapDecoder).jp = decodeSerializableElement$default;
|
|
4387
|
+
protoOf(JsonTreeMapDecoder).mp = decodeSequentially;
|
|
4388
|
+
protoOf(JsonTreeMapDecoder).op = decodeCollectionSize;
|
|
4380
4389
|
//endregion
|
|
4381
4390
|
//region block: init
|
|
4382
4391
|
PRIMITIVE_TAG = 'primitive';
|