game_client_logic_deb 1.8.69 → 1.8.71
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/88b0986a7186d029-atomicfu-js-ir.js +20 -20
- package/Kosi-Kaverit-kaverit.js +65 -65
- package/Kosi-Kodein-kodein-di.js +550 -550
- package/Kotlin-DateTime-library-kotlinx-datetime.js +111 -111
- package/Logic_Debertz-core.js +1632 -1399
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10672 -10457
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +61 -7
- package/Logic_Debertz-game_client.js +3363 -3312
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +377 -376
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +280 -283
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +850 -773
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1114 -1114
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1998 -1998
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid.js +25 -25
|
@@ -16,71 +16,71 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
19
|
+
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.va;
|
|
21
|
+
var objectMeta = kotlin_kotlin.$_$.ua;
|
|
22
|
+
var setMetadataFor = kotlin_kotlin.$_$.wa;
|
|
23
23
|
var Unit_instance = kotlin_kotlin.$_$.y4;
|
|
24
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
24
|
+
var classMeta = kotlin_kotlin.$_$.s9;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.f;
|
|
26
|
-
var toString = kotlin_kotlin.$_$.
|
|
26
|
+
var toString = kotlin_kotlin.$_$.ab;
|
|
27
27
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
28
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
29
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
28
|
+
var charSequenceLength = kotlin_kotlin.$_$.q9;
|
|
29
|
+
var charSequenceGet = kotlin_kotlin.$_$.p9;
|
|
30
30
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
31
|
+
var equals = kotlin_kotlin.$_$.v9;
|
|
32
32
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
33
33
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
34
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
34
|
+
var interfaceMeta = kotlin_kotlin.$_$.ca;
|
|
35
35
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
36
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
37
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
38
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
36
|
+
var THROW_CCE = kotlin_kotlin.$_$.ud;
|
|
37
|
+
var hashCode = kotlin_kotlin.$_$.ba;
|
|
38
|
+
var joinToString = kotlin_kotlin.$_$.b7;
|
|
39
39
|
var Map = kotlin_kotlin.$_$.h5;
|
|
40
40
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
41
|
-
var lazy = kotlin_kotlin.$_$.
|
|
41
|
+
var lazy = kotlin_kotlin.$_$.pe;
|
|
42
42
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
43
43
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
44
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
45
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
44
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.x9;
|
|
45
|
+
var getStringHashCode = kotlin_kotlin.$_$.aa;
|
|
46
46
|
var List = kotlin_kotlin.$_$.f5;
|
|
47
47
|
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
48
48
|
var IntCompanionObject_instance = kotlin_kotlin.$_$.k4;
|
|
49
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
50
|
-
var ClosedRange = kotlin_kotlin.$_$.
|
|
51
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
52
|
-
var contains = kotlin_kotlin.$_$.
|
|
53
|
-
var toDouble = kotlin_kotlin.$_$.
|
|
49
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.pa;
|
|
50
|
+
var ClosedRange = kotlin_kotlin.$_$.db;
|
|
51
|
+
var isInterface = kotlin_kotlin.$_$.ka;
|
|
52
|
+
var contains = kotlin_kotlin.$_$.hb;
|
|
53
|
+
var toDouble = kotlin_kotlin.$_$.qc;
|
|
54
54
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.m4;
|
|
55
55
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
56
56
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
57
57
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
58
58
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
59
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
59
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
60
60
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
61
61
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
62
62
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
63
63
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
64
64
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
65
65
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
66
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
67
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
68
|
-
var ULong = kotlin_kotlin.$_$.
|
|
66
|
+
var toLongOrNull = kotlin_kotlin.$_$.tc;
|
|
67
|
+
var toULongOrNull = kotlin_kotlin.$_$.wc;
|
|
68
|
+
var ULong = kotlin_kotlin.$_$.ce;
|
|
69
69
|
var Companion_getInstance = kotlin_kotlin.$_$.w4;
|
|
70
70
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
71
71
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.n3;
|
|
72
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
73
|
-
var toBooleanStrictOrNull = kotlin_kotlin.$_$.
|
|
72
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.pc;
|
|
73
|
+
var toBooleanStrictOrNull = kotlin_kotlin.$_$.oc;
|
|
74
74
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
75
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
75
|
+
var lazy_0 = kotlin_kotlin.$_$.qe;
|
|
76
76
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
77
77
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
78
78
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
79
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
80
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
79
|
+
var KProperty1 = kotlin_kotlin.$_$.mb;
|
|
80
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.z9;
|
|
81
81
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
82
82
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
83
|
-
var toLong = kotlin_kotlin.$_$.
|
|
83
|
+
var toLong = kotlin_kotlin.$_$.ya;
|
|
84
84
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.d3;
|
|
85
85
|
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.f3;
|
|
86
86
|
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.m3;
|
|
@@ -90,64 +90,64 @@
|
|
|
90
90
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.v3;
|
|
91
91
|
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.x3;
|
|
92
92
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
93
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
94
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
93
|
+
var captureStack = kotlin_kotlin.$_$.m9;
|
|
94
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
95
95
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
96
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
97
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
98
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
96
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.r9;
|
|
97
|
+
var coerceAtLeast = kotlin_kotlin.$_$.eb;
|
|
98
|
+
var coerceAtMost = kotlin_kotlin.$_$.fb;
|
|
99
99
|
var Companion_instance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
100
100
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
101
101
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
102
102
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
103
103
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
104
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
104
|
+
var singleOrNull = kotlin_kotlin.$_$.z7;
|
|
105
105
|
var emptyMap = kotlin_kotlin.$_$.m6;
|
|
106
|
-
var getValue = kotlin_kotlin.$_$.
|
|
107
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
106
|
+
var getValue = kotlin_kotlin.$_$.w6;
|
|
107
|
+
var fillArrayVal = kotlin_kotlin.$_$.w9;
|
|
108
108
|
var copyOf = kotlin_kotlin.$_$.h6;
|
|
109
109
|
var copyOf_0 = kotlin_kotlin.$_$.i6;
|
|
110
110
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
111
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
112
|
-
var invoke = kotlin_kotlin.$_$.
|
|
113
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
114
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
115
|
-
var Unit = kotlin_kotlin.$_$.
|
|
116
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
111
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.hd;
|
|
112
|
+
var invoke = kotlin_kotlin.$_$.me;
|
|
113
|
+
var CoroutineImpl = kotlin_kotlin.$_$.g9;
|
|
114
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.id;
|
|
115
|
+
var Unit = kotlin_kotlin.$_$.fe;
|
|
116
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s8;
|
|
117
117
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
118
118
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
119
|
-
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
120
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
121
|
-
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
122
|
-
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
123
|
-
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
119
|
+
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
120
|
+
var ensureNotNull = kotlin_kotlin.$_$.le;
|
|
121
|
+
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
122
|
+
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
123
|
+
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
124
124
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
125
125
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
126
126
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
127
127
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
128
128
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
129
|
-
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
130
|
-
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
129
|
+
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
130
|
+
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
131
131
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
132
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
133
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
134
|
-
var substringAfter = kotlin_kotlin.$_$.
|
|
135
|
-
var contains_0 = kotlin_kotlin.$_$.
|
|
136
|
-
var plus = kotlin_kotlin.$_$.
|
|
137
|
-
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
138
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
139
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
140
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
141
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
132
|
+
var substringBefore = kotlin_kotlin.$_$.lc;
|
|
133
|
+
var removeSuffix = kotlin_kotlin.$_$.ec;
|
|
134
|
+
var substringAfter = kotlin_kotlin.$_$.kc;
|
|
135
|
+
var contains_0 = kotlin_kotlin.$_$.vb;
|
|
136
|
+
var plus = kotlin_kotlin.$_$.se;
|
|
137
|
+
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
138
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.md;
|
|
139
|
+
var isFinite = kotlin_kotlin.$_$.oe;
|
|
140
|
+
var isFinite_0 = kotlin_kotlin.$_$.ne;
|
|
141
|
+
var toUInt = kotlin_kotlin.$_$.vc;
|
|
142
142
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.e3;
|
|
143
|
-
var toULong = kotlin_kotlin.$_$.
|
|
144
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
143
|
+
var toULong = kotlin_kotlin.$_$.xc;
|
|
144
|
+
var toUByte = kotlin_kotlin.$_$.uc;
|
|
145
145
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.v2;
|
|
146
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
146
|
+
var toUShort = kotlin_kotlin.$_$.yc;
|
|
147
147
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.w3;
|
|
148
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
148
|
+
var objectCreate = kotlin_kotlin.$_$.ta;
|
|
149
149
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
150
|
-
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
150
|
+
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
151
151
|
var toString_0 = kotlin_kotlin.$_$.p2;
|
|
152
152
|
var Companion_getInstance_0 = kotlin_kotlin.$_$.v4;
|
|
153
153
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
@@ -155,34 +155,34 @@
|
|
|
155
155
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
156
156
|
var Companion_getInstance_2 = kotlin_kotlin.$_$.x4;
|
|
157
157
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
158
|
-
var setOf = kotlin_kotlin.$_$.
|
|
158
|
+
var setOf = kotlin_kotlin.$_$.y7;
|
|
159
159
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.o2;
|
|
160
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
161
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
160
|
+
var numberToChar = kotlin_kotlin.$_$.qa;
|
|
161
|
+
var equals_0 = kotlin_kotlin.$_$.yb;
|
|
162
162
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
163
163
|
var ByteCompanionObject_instance = kotlin_kotlin.$_$.h4;
|
|
164
|
-
var toByte = kotlin_kotlin.$_$.
|
|
164
|
+
var toByte = kotlin_kotlin.$_$.xa;
|
|
165
165
|
var ShortCompanionObject_instance = kotlin_kotlin.$_$.l4;
|
|
166
|
-
var toShort = kotlin_kotlin.$_$.
|
|
167
|
-
var single = kotlin_kotlin.$_$.
|
|
168
|
-
var Char = kotlin_kotlin.$_$.
|
|
166
|
+
var toShort = kotlin_kotlin.$_$.za;
|
|
167
|
+
var single = kotlin_kotlin.$_$.hc;
|
|
168
|
+
var Char = kotlin_kotlin.$_$.ed;
|
|
169
169
|
var emptySet = kotlin_kotlin.$_$.n6;
|
|
170
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
171
|
-
var toInt = kotlin_kotlin.$_$.
|
|
172
|
-
var toList = kotlin_kotlin.$_$.
|
|
173
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
174
|
-
var Enum = kotlin_kotlin.$_$.
|
|
170
|
+
var plus_0 = kotlin_kotlin.$_$.s7;
|
|
171
|
+
var toInt = kotlin_kotlin.$_$.sc;
|
|
172
|
+
var toList = kotlin_kotlin.$_$.i8;
|
|
173
|
+
var enumEntries = kotlin_kotlin.$_$.i9;
|
|
174
|
+
var Enum = kotlin_kotlin.$_$.jd;
|
|
175
175
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
176
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
177
|
-
var last = kotlin_kotlin.$_$.
|
|
178
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
179
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
180
|
-
var Long = kotlin_kotlin.$_$.
|
|
176
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.re;
|
|
177
|
+
var last = kotlin_kotlin.$_$.g7;
|
|
178
|
+
var removeLast = kotlin_kotlin.$_$.x7;
|
|
179
|
+
var lastIndexOf = kotlin_kotlin.$_$.cc;
|
|
180
|
+
var Long = kotlin_kotlin.$_$.od;
|
|
181
181
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.m2;
|
|
182
182
|
var Companion_getInstance_3 = kotlin_kotlin.$_$.s4;
|
|
183
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
184
|
-
var charArray = kotlin_kotlin.$_$.
|
|
185
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
183
|
+
var numberToLong = kotlin_kotlin.$_$.sa;
|
|
184
|
+
var charArray = kotlin_kotlin.$_$.o9;
|
|
185
|
+
var indexOf = kotlin_kotlin.$_$.zb;
|
|
186
186
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.d1;
|
|
187
187
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
188
188
|
//endregion
|
|
@@ -258,27 +258,27 @@
|
|
|
258
258
|
}
|
|
259
259
|
function Json(configuration, serializersModule) {
|
|
260
260
|
Default_getInstance();
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
261
|
+
this.o14_1 = configuration;
|
|
262
|
+
this.p14_1 = serializersModule;
|
|
263
|
+
this.q14_1 = new DescriptorSchemaCache();
|
|
264
264
|
}
|
|
265
265
|
protoOf(Json).mn = function () {
|
|
266
|
-
return this.
|
|
266
|
+
return this.p14_1;
|
|
267
267
|
};
|
|
268
|
-
protoOf(Json).
|
|
268
|
+
protoOf(Json).r14 = function (serializer, value) {
|
|
269
269
|
var result = new JsonToStringWriter();
|
|
270
270
|
try {
|
|
271
271
|
encodeByWriter(this, result, serializer, value);
|
|
272
272
|
return result.toString();
|
|
273
273
|
}finally {
|
|
274
|
-
result.
|
|
274
|
+
result.u14();
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
protoOf(Json).
|
|
277
|
+
protoOf(Json).s14 = function (deserializer, string) {
|
|
278
278
|
var lexer = new StringJsonLexer(string);
|
|
279
279
|
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.pj(), null);
|
|
280
280
|
var result = input.wm(deserializer);
|
|
281
|
-
lexer.
|
|
281
|
+
lexer.h15();
|
|
282
282
|
return result;
|
|
283
283
|
};
|
|
284
284
|
function Json_0(from, builderAction) {
|
|
@@ -286,49 +286,49 @@
|
|
|
286
286
|
var builder = new JsonBuilder(from);
|
|
287
287
|
builderAction(builder);
|
|
288
288
|
var conf = builder.os();
|
|
289
|
-
return new JsonImpl(conf, builder.
|
|
289
|
+
return new JsonImpl(conf, builder.x15_1);
|
|
290
290
|
}
|
|
291
291
|
function JsonBuilder(json) {
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
292
|
+
this.i15_1 = json.o14_1.y15_1;
|
|
293
|
+
this.j15_1 = json.o14_1.d16_1;
|
|
294
|
+
this.k15_1 = json.o14_1.z15_1;
|
|
295
|
+
this.l15_1 = json.o14_1.a16_1;
|
|
296
|
+
this.m15_1 = json.o14_1.b16_1;
|
|
297
|
+
this.n15_1 = json.o14_1.c16_1;
|
|
298
|
+
this.o15_1 = json.o14_1.e16_1;
|
|
299
|
+
this.p15_1 = json.o14_1.f16_1;
|
|
300
|
+
this.q15_1 = json.o14_1.g16_1;
|
|
301
|
+
this.r15_1 = json.o14_1.h16_1;
|
|
302
|
+
this.s15_1 = json.o14_1.i16_1;
|
|
303
|
+
this.t15_1 = json.o14_1.j16_1;
|
|
304
|
+
this.u15_1 = json.o14_1.k16_1;
|
|
305
|
+
this.v15_1 = json.o14_1.l16_1;
|
|
306
|
+
this.w15_1 = json.o14_1.m16_1;
|
|
307
|
+
this.x15_1 = json.mn();
|
|
308
308
|
}
|
|
309
309
|
protoOf(JsonBuilder).os = function () {
|
|
310
|
-
if (this.
|
|
310
|
+
if (this.q15_1) {
|
|
311
311
|
// Inline function 'kotlin.require' call
|
|
312
312
|
// Inline function 'kotlin.contracts.contract' call
|
|
313
|
-
if (!(this.
|
|
313
|
+
if (!(this.r15_1 === 'type')) {
|
|
314
314
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
315
315
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
316
316
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
if (!this.
|
|
319
|
+
if (!this.n15_1) {
|
|
320
320
|
// Inline function 'kotlin.require' call
|
|
321
321
|
// Inline function 'kotlin.contracts.contract' call
|
|
322
|
-
if (!(this.
|
|
322
|
+
if (!(this.o15_1 === ' ')) {
|
|
323
323
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
324
324
|
var message_0 = 'Indent should not be specified when default printing mode is used';
|
|
325
325
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
326
326
|
}
|
|
327
|
-
} else if (!(this.
|
|
327
|
+
} else if (!(this.o15_1 === ' ')) {
|
|
328
328
|
var tmp$ret$3;
|
|
329
329
|
$l$block: {
|
|
330
330
|
// Inline function 'kotlin.text.all' call
|
|
331
|
-
var indexedObject = this.
|
|
331
|
+
var indexedObject = this.o15_1;
|
|
332
332
|
var inductionVariable = 0;
|
|
333
333
|
while (inductionVariable < charSequenceLength(indexedObject)) {
|
|
334
334
|
var element = charSequenceGet(indexedObject, inductionVariable);
|
|
@@ -346,17 +346,17 @@
|
|
|
346
346
|
// Inline function 'kotlin.contracts.contract' call
|
|
347
347
|
if (!allWhitespaces) {
|
|
348
348
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
349
|
-
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
349
|
+
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.o15_1;
|
|
350
350
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
return new JsonConfiguration(this.
|
|
353
|
+
return new JsonConfiguration(this.i15_1, this.k15_1, this.l15_1, this.m15_1, this.n15_1, this.j15_1, this.o15_1, this.p15_1, this.q15_1, this.r15_1, this.s15_1, this.t15_1, this.u15_1, this.v15_1, this.w15_1);
|
|
354
354
|
};
|
|
355
355
|
function validateConfiguration($this) {
|
|
356
356
|
if (equals($this.mn(), EmptySerializersModule()))
|
|
357
357
|
return Unit_instance;
|
|
358
|
-
var collector = new PolymorphismValidator($this.
|
|
359
|
-
$this.mn().
|
|
358
|
+
var collector = new PolymorphismValidator($this.o14_1.g16_1, $this.o14_1.h16_1);
|
|
359
|
+
$this.mn().t13(collector);
|
|
360
360
|
}
|
|
361
361
|
function JsonImpl(configuration, module_0) {
|
|
362
362
|
Json.call(this, configuration, module_0);
|
|
@@ -382,24 +382,24 @@
|
|
|
382
382
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
383
383
|
decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive === VOID ? false : decodeEnumsCaseInsensitive;
|
|
384
384
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
385
|
-
this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
385
|
+
this.y15_1 = encodeDefaults;
|
|
386
|
+
this.z15_1 = ignoreUnknownKeys;
|
|
387
|
+
this.a16_1 = isLenient;
|
|
388
|
+
this.b16_1 = allowStructuredMapKeys;
|
|
389
|
+
this.c16_1 = prettyPrint;
|
|
390
|
+
this.d16_1 = explicitNulls;
|
|
391
|
+
this.e16_1 = prettyPrintIndent;
|
|
392
|
+
this.f16_1 = coerceInputValues;
|
|
393
|
+
this.g16_1 = useArrayPolymorphism;
|
|
394
|
+
this.h16_1 = classDiscriminator;
|
|
395
|
+
this.i16_1 = allowSpecialFloatingPointValues;
|
|
396
|
+
this.j16_1 = useAlternativeNames;
|
|
397
|
+
this.k16_1 = namingStrategy;
|
|
398
|
+
this.l16_1 = decodeEnumsCaseInsensitive;
|
|
399
|
+
this.m16_1 = allowTrailingComma;
|
|
400
400
|
}
|
|
401
401
|
protoOf(JsonConfiguration).toString = function () {
|
|
402
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
402
|
+
return 'JsonConfiguration(encodeDefaults=' + this.y15_1 + ', ignoreUnknownKeys=' + this.z15_1 + ', isLenient=' + this.a16_1 + ', ' + ('allowStructuredMapKeys=' + this.b16_1 + ', prettyPrint=' + this.c16_1 + ', explicitNulls=' + this.d16_1 + ', ') + ("prettyPrintIndent='" + this.e16_1 + "', coerceInputValues=" + this.f16_1 + ', useArrayPolymorphism=' + this.g16_1 + ', ') + ("classDiscriminator='" + this.h16_1 + "', allowSpecialFloatingPointValues=" + this.i16_1 + ', useAlternativeNames=' + this.j16_1 + ', ') + ('namingStrategy=' + this.k16_1 + ', decodeEnumsCaseInsensitive=' + this.l16_1 + ', allowTrailingComma=' + this.m16_1 + ')');
|
|
403
403
|
};
|
|
404
404
|
function JsonDecoder() {
|
|
405
405
|
}
|
|
@@ -440,48 +440,48 @@
|
|
|
440
440
|
}
|
|
441
441
|
function JsonObject(content) {
|
|
442
442
|
JsonElement.call(this);
|
|
443
|
-
this.
|
|
443
|
+
this.p16_1 = content;
|
|
444
444
|
}
|
|
445
445
|
protoOf(JsonObject).m2 = function () {
|
|
446
|
-
return this.
|
|
446
|
+
return this.p16_1.m2();
|
|
447
447
|
};
|
|
448
448
|
protoOf(JsonObject).j2 = function () {
|
|
449
|
-
return this.
|
|
449
|
+
return this.p16_1.j2();
|
|
450
450
|
};
|
|
451
451
|
protoOf(JsonObject).n = function () {
|
|
452
|
-
return this.
|
|
452
|
+
return this.p16_1.n();
|
|
453
453
|
};
|
|
454
|
-
protoOf(JsonObject).
|
|
455
|
-
return this.
|
|
454
|
+
protoOf(JsonObject).q16 = function (key) {
|
|
455
|
+
return this.p16_1.r2(key);
|
|
456
456
|
};
|
|
457
457
|
protoOf(JsonObject).r2 = function (key) {
|
|
458
458
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
459
459
|
return false;
|
|
460
|
-
return this.
|
|
460
|
+
return this.q16((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
461
461
|
};
|
|
462
|
-
protoOf(JsonObject).
|
|
463
|
-
return this.
|
|
462
|
+
protoOf(JsonObject).r16 = function (key) {
|
|
463
|
+
return this.p16_1.t2(key);
|
|
464
464
|
};
|
|
465
465
|
protoOf(JsonObject).t2 = function (key) {
|
|
466
466
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
467
467
|
return null;
|
|
468
|
-
return this.
|
|
468
|
+
return this.r16((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
469
469
|
};
|
|
470
470
|
protoOf(JsonObject).c1 = function () {
|
|
471
|
-
return this.
|
|
471
|
+
return this.p16_1.c1();
|
|
472
472
|
};
|
|
473
473
|
protoOf(JsonObject).equals = function (other) {
|
|
474
|
-
return equals(this.
|
|
474
|
+
return equals(this.p16_1, other);
|
|
475
475
|
};
|
|
476
476
|
protoOf(JsonObject).hashCode = function () {
|
|
477
|
-
return hashCode(this.
|
|
477
|
+
return hashCode(this.p16_1);
|
|
478
478
|
};
|
|
479
479
|
protoOf(JsonObject).toString = function () {
|
|
480
|
-
var tmp = this.
|
|
480
|
+
var tmp = this.p16_1.m2();
|
|
481
481
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
482
482
|
};
|
|
483
483
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
484
|
-
return $this.
|
|
484
|
+
return $this.t16_1.o2();
|
|
485
485
|
}
|
|
486
486
|
function JsonNull$_anonymous__enib48() {
|
|
487
487
|
return JsonNullSerializer_getInstance();
|
|
@@ -489,19 +489,19 @@
|
|
|
489
489
|
function JsonNull() {
|
|
490
490
|
JsonNull_instance = this;
|
|
491
491
|
JsonPrimitive.call(this);
|
|
492
|
-
this.
|
|
492
|
+
this.s16_1 = 'null';
|
|
493
493
|
var tmp = this;
|
|
494
494
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
495
|
-
tmp.
|
|
495
|
+
tmp.t16_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
496
496
|
}
|
|
497
|
-
protoOf(JsonNull).
|
|
498
|
-
return this.
|
|
497
|
+
protoOf(JsonNull).u16 = function () {
|
|
498
|
+
return this.s16_1;
|
|
499
499
|
};
|
|
500
|
-
protoOf(JsonNull).
|
|
500
|
+
protoOf(JsonNull).v16 = function () {
|
|
501
501
|
return _get_$cachedSerializer__te6jhj(this);
|
|
502
502
|
};
|
|
503
|
-
protoOf(JsonNull).
|
|
504
|
-
return this.
|
|
503
|
+
protoOf(JsonNull).mv = function (typeParamsSerializers) {
|
|
504
|
+
return this.v16();
|
|
505
505
|
};
|
|
506
506
|
var JsonNull_instance;
|
|
507
507
|
function JsonNull_getInstance() {
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
JsonElement.call(this);
|
|
520
520
|
}
|
|
521
521
|
protoOf(JsonPrimitive).toString = function () {
|
|
522
|
-
return this.
|
|
522
|
+
return this.u16();
|
|
523
523
|
};
|
|
524
524
|
function JsonPrimitive_0(value) {
|
|
525
525
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -530,37 +530,37 @@
|
|
|
530
530
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
531
531
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
532
532
|
JsonPrimitive.call(this);
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
if (!(this.
|
|
533
|
+
this.w16_1 = isString;
|
|
534
|
+
this.x16_1 = coerceToInlineType;
|
|
535
|
+
this.y16_1 = toString(body);
|
|
536
|
+
if (!(this.x16_1 == null)) {
|
|
537
537
|
// Inline function 'kotlin.require' call
|
|
538
538
|
// Inline function 'kotlin.contracts.contract' call
|
|
539
539
|
// Inline function 'kotlin.require' call
|
|
540
540
|
// Inline function 'kotlin.contracts.contract' call
|
|
541
|
-
if (!this.
|
|
541
|
+
if (!this.x16_1.dl()) {
|
|
542
542
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
543
543
|
var message = 'Failed requirement.';
|
|
544
544
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
protoOf(JsonLiteral).
|
|
549
|
-
return this.
|
|
548
|
+
protoOf(JsonLiteral).u16 = function () {
|
|
549
|
+
return this.y16_1;
|
|
550
550
|
};
|
|
551
551
|
protoOf(JsonLiteral).toString = function () {
|
|
552
552
|
var tmp;
|
|
553
|
-
if (this.
|
|
553
|
+
if (this.w16_1) {
|
|
554
554
|
// Inline function 'kotlin.text.buildString' call
|
|
555
555
|
// Inline function 'kotlin.contracts.contract' call
|
|
556
556
|
// Inline function 'kotlin.apply' call
|
|
557
557
|
var this_0 = StringBuilder_init_$Create$();
|
|
558
558
|
// Inline function 'kotlin.contracts.contract' call
|
|
559
559
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
560
|
-
printQuoted(this_0, this.
|
|
560
|
+
printQuoted(this_0, this.y16_1);
|
|
561
561
|
tmp = this_0.toString();
|
|
562
562
|
} else {
|
|
563
|
-
tmp = this.
|
|
563
|
+
tmp = this.y16_1;
|
|
564
564
|
}
|
|
565
565
|
return tmp;
|
|
566
566
|
};
|
|
@@ -571,15 +571,15 @@
|
|
|
571
571
|
return false;
|
|
572
572
|
if (!(other instanceof JsonLiteral))
|
|
573
573
|
THROW_CCE();
|
|
574
|
-
if (!(this.u16_1 === other.u16_1))
|
|
575
|
-
return false;
|
|
576
574
|
if (!(this.w16_1 === other.w16_1))
|
|
577
575
|
return false;
|
|
576
|
+
if (!(this.y16_1 === other.y16_1))
|
|
577
|
+
return false;
|
|
578
578
|
return true;
|
|
579
579
|
};
|
|
580
580
|
protoOf(JsonLiteral).hashCode = function () {
|
|
581
|
-
var result = getBooleanHashCode(this.
|
|
582
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
581
|
+
var result = getBooleanHashCode(this.w16_1);
|
|
582
|
+
result = imul(31, result) + getStringHashCode(this.y16_1) | 0;
|
|
583
583
|
return result;
|
|
584
584
|
};
|
|
585
585
|
function Companion_2() {
|
|
@@ -590,60 +590,60 @@
|
|
|
590
590
|
}
|
|
591
591
|
function JsonArray(content) {
|
|
592
592
|
JsonElement.call(this);
|
|
593
|
-
this.
|
|
593
|
+
this.z16_1 = content;
|
|
594
594
|
}
|
|
595
595
|
protoOf(JsonArray).n = function () {
|
|
596
|
-
return this.
|
|
596
|
+
return this.z16_1.n();
|
|
597
597
|
};
|
|
598
|
-
protoOf(JsonArray).
|
|
599
|
-
return this.
|
|
598
|
+
protoOf(JsonArray).a17 = function (element) {
|
|
599
|
+
return this.z16_1.r(element);
|
|
600
600
|
};
|
|
601
601
|
protoOf(JsonArray).r = function (element) {
|
|
602
602
|
if (!(element instanceof JsonElement))
|
|
603
603
|
return false;
|
|
604
|
-
return this.
|
|
604
|
+
return this.a17(element instanceof JsonElement ? element : THROW_CCE());
|
|
605
605
|
};
|
|
606
|
-
protoOf(JsonArray).
|
|
607
|
-
return this.
|
|
606
|
+
protoOf(JsonArray).b17 = function (elements) {
|
|
607
|
+
return this.z16_1.b1(elements);
|
|
608
608
|
};
|
|
609
609
|
protoOf(JsonArray).b1 = function (elements) {
|
|
610
|
-
return this.
|
|
610
|
+
return this.b17(elements);
|
|
611
611
|
};
|
|
612
612
|
protoOf(JsonArray).g1 = function (index) {
|
|
613
|
-
return this.
|
|
613
|
+
return this.z16_1.g1(index);
|
|
614
614
|
};
|
|
615
|
-
protoOf(JsonArray).
|
|
616
|
-
return this.
|
|
615
|
+
protoOf(JsonArray).c17 = function (element) {
|
|
616
|
+
return this.z16_1.y1(element);
|
|
617
617
|
};
|
|
618
618
|
protoOf(JsonArray).y1 = function (element) {
|
|
619
619
|
if (!(element instanceof JsonElement))
|
|
620
620
|
return -1;
|
|
621
|
-
return this.
|
|
621
|
+
return this.c17(element instanceof JsonElement ? element : THROW_CCE());
|
|
622
622
|
};
|
|
623
623
|
protoOf(JsonArray).c1 = function () {
|
|
624
|
-
return this.
|
|
624
|
+
return this.z16_1.c1();
|
|
625
625
|
};
|
|
626
626
|
protoOf(JsonArray).v = function () {
|
|
627
|
-
return this.
|
|
627
|
+
return this.z16_1.v();
|
|
628
628
|
};
|
|
629
629
|
protoOf(JsonArray).z1 = function (index) {
|
|
630
|
-
return this.
|
|
630
|
+
return this.z16_1.z1(index);
|
|
631
631
|
};
|
|
632
632
|
protoOf(JsonArray).a2 = function (fromIndex, toIndex) {
|
|
633
|
-
return this.
|
|
633
|
+
return this.z16_1.a2(fromIndex, toIndex);
|
|
634
634
|
};
|
|
635
635
|
protoOf(JsonArray).equals = function (other) {
|
|
636
|
-
return equals(this.
|
|
636
|
+
return equals(this.z16_1, other);
|
|
637
637
|
};
|
|
638
638
|
protoOf(JsonArray).hashCode = function () {
|
|
639
|
-
return hashCode(this.
|
|
639
|
+
return hashCode(this.z16_1);
|
|
640
640
|
};
|
|
641
641
|
protoOf(JsonArray).toString = function () {
|
|
642
|
-
return joinToString(this.
|
|
642
|
+
return joinToString(this.z16_1, ',', '[', ']');
|
|
643
643
|
};
|
|
644
644
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
645
645
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
646
|
-
return toBooleanStrictOrNull_0(_this__u8e3s4.
|
|
646
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.u16());
|
|
647
647
|
}
|
|
648
648
|
function get_int(_this__u8e3s4) {
|
|
649
649
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
var tmp;
|
|
652
652
|
try {
|
|
653
653
|
// Inline function 'kotlinx.serialization.json.<get-int>.<anonymous>' call
|
|
654
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
654
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.u16())).d17();
|
|
655
655
|
} catch ($p) {
|
|
656
656
|
var tmp_0;
|
|
657
657
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -665,7 +665,7 @@
|
|
|
665
665
|
// Inline function 'kotlin.ranges.contains' call
|
|
666
666
|
var this_0 = numberRangeToNumber(IntCompanionObject_instance.MIN_VALUE, IntCompanionObject_instance.MAX_VALUE);
|
|
667
667
|
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
668
|
-
throw NumberFormatException_init_$Create$(_this__u8e3s4.
|
|
668
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.u16() + ' is not an Int');
|
|
669
669
|
return result.s8();
|
|
670
670
|
}
|
|
671
671
|
function get_long(_this__u8e3s4) {
|
|
@@ -674,7 +674,7 @@
|
|
|
674
674
|
var tmp;
|
|
675
675
|
try {
|
|
676
676
|
// Inline function 'kotlinx.serialization.json.<get-long>.<anonymous>' call
|
|
677
|
-
tmp = (new StringJsonLexer(_this__u8e3s4.
|
|
677
|
+
tmp = (new StringJsonLexer(_this__u8e3s4.u16())).d17();
|
|
678
678
|
} catch ($p) {
|
|
679
679
|
var tmp_0;
|
|
680
680
|
if ($p instanceof JsonDecodingException) {
|
|
@@ -689,14 +689,14 @@
|
|
|
689
689
|
function get_float(_this__u8e3s4) {
|
|
690
690
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
691
691
|
// Inline function 'kotlin.text.toFloat' call
|
|
692
|
-
var this_0 = _this__u8e3s4.
|
|
692
|
+
var this_0 = _this__u8e3s4.u16();
|
|
693
693
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
694
694
|
// Inline function 'kotlin.js.asDynamic' call
|
|
695
695
|
return toDouble(this_0);
|
|
696
696
|
}
|
|
697
697
|
function get_double(_this__u8e3s4) {
|
|
698
698
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
699
|
-
return toDouble(_this__u8e3s4.
|
|
699
|
+
return toDouble(_this__u8e3s4.u16());
|
|
700
700
|
}
|
|
701
701
|
function get_contentOrNull(_this__u8e3s4) {
|
|
702
702
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
705
705
|
tmp = null;
|
|
706
706
|
} else {
|
|
707
|
-
tmp = _this__u8e3s4.
|
|
707
|
+
tmp = _this__u8e3s4.u16();
|
|
708
708
|
}
|
|
709
709
|
return tmp;
|
|
710
710
|
}
|
|
@@ -739,30 +739,30 @@
|
|
|
739
739
|
return Unit_instance;
|
|
740
740
|
}
|
|
741
741
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
742
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
742
|
+
return JsonPrimitiveSerializer_getInstance().e17_1;
|
|
743
743
|
}
|
|
744
744
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
745
|
-
return JsonNullSerializer_getInstance().
|
|
745
|
+
return JsonNullSerializer_getInstance().f17_1;
|
|
746
746
|
}
|
|
747
747
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
748
|
-
return JsonLiteralSerializer_getInstance().
|
|
748
|
+
return JsonLiteralSerializer_getInstance().g17_1;
|
|
749
749
|
}
|
|
750
750
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
751
|
-
return JsonObjectSerializer_getInstance().
|
|
751
|
+
return JsonObjectSerializer_getInstance().h17_1;
|
|
752
752
|
}
|
|
753
753
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
754
|
-
return JsonArraySerializer_getInstance().
|
|
754
|
+
return JsonArraySerializer_getInstance().i17_1;
|
|
755
755
|
}
|
|
756
756
|
function JsonElementSerializer() {
|
|
757
757
|
JsonElementSerializer_instance = this;
|
|
758
758
|
var tmp = this;
|
|
759
759
|
var tmp_0 = SEALED_getInstance();
|
|
760
|
-
tmp.
|
|
760
|
+
tmp.j17_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
761
761
|
}
|
|
762
762
|
protoOf(JsonElementSerializer).pj = function () {
|
|
763
|
-
return this.
|
|
763
|
+
return this.j17_1;
|
|
764
764
|
};
|
|
765
|
-
protoOf(JsonElementSerializer).
|
|
765
|
+
protoOf(JsonElementSerializer).k17 = function (encoder, value) {
|
|
766
766
|
verify(encoder);
|
|
767
767
|
if (value instanceof JsonPrimitive) {
|
|
768
768
|
encoder.po(JsonPrimitiveSerializer_getInstance(), value);
|
|
@@ -777,11 +777,11 @@
|
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
779
|
protoOf(JsonElementSerializer).qj = function (encoder, value) {
|
|
780
|
-
return this.
|
|
780
|
+
return this.k17(encoder, value instanceof JsonElement ? value : THROW_CCE());
|
|
781
781
|
};
|
|
782
782
|
protoOf(JsonElementSerializer).rj = function (decoder) {
|
|
783
783
|
var input = asJsonDecoder(decoder);
|
|
784
|
-
return input.
|
|
784
|
+
return input.o16();
|
|
785
785
|
};
|
|
786
786
|
var JsonElementSerializer_instance;
|
|
787
787
|
function JsonElementSerializer_getInstance() {
|
|
@@ -791,41 +791,41 @@
|
|
|
791
791
|
}
|
|
792
792
|
function JsonObjectDescriptor() {
|
|
793
793
|
JsonObjectDescriptor_instance = this;
|
|
794
|
-
this.
|
|
795
|
-
this.
|
|
794
|
+
this.l17_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).pj();
|
|
795
|
+
this.m17_1 = 'kotlinx.serialization.json.JsonObject';
|
|
796
796
|
}
|
|
797
797
|
protoOf(JsonObjectDescriptor).bl = function () {
|
|
798
|
-
return this.
|
|
798
|
+
return this.l17_1.bl();
|
|
799
799
|
};
|
|
800
800
|
protoOf(JsonObjectDescriptor).cl = function () {
|
|
801
|
-
return this.
|
|
801
|
+
return this.l17_1.cl();
|
|
802
802
|
};
|
|
803
803
|
protoOf(JsonObjectDescriptor).dl = function () {
|
|
804
|
-
return this.
|
|
804
|
+
return this.l17_1.dl();
|
|
805
805
|
};
|
|
806
806
|
protoOf(JsonObjectDescriptor).xk = function () {
|
|
807
|
-
return this.
|
|
807
|
+
return this.l17_1.xk();
|
|
808
808
|
};
|
|
809
809
|
protoOf(JsonObjectDescriptor).el = function () {
|
|
810
|
-
return this.
|
|
810
|
+
return this.l17_1.el();
|
|
811
811
|
};
|
|
812
812
|
protoOf(JsonObjectDescriptor).fl = function (index) {
|
|
813
|
-
return this.
|
|
813
|
+
return this.l17_1.fl(index);
|
|
814
814
|
};
|
|
815
815
|
protoOf(JsonObjectDescriptor).gl = function (index) {
|
|
816
|
-
return this.
|
|
816
|
+
return this.l17_1.gl(index);
|
|
817
817
|
};
|
|
818
818
|
protoOf(JsonObjectDescriptor).hl = function (name) {
|
|
819
|
-
return this.
|
|
819
|
+
return this.l17_1.hl(name);
|
|
820
820
|
};
|
|
821
821
|
protoOf(JsonObjectDescriptor).il = function (index) {
|
|
822
|
-
return this.
|
|
822
|
+
return this.l17_1.il(index);
|
|
823
823
|
};
|
|
824
824
|
protoOf(JsonObjectDescriptor).jl = function (index) {
|
|
825
|
-
return this.
|
|
825
|
+
return this.l17_1.jl(index);
|
|
826
826
|
};
|
|
827
827
|
protoOf(JsonObjectDescriptor).qk = function () {
|
|
828
|
-
return this.
|
|
828
|
+
return this.m17_1;
|
|
829
829
|
};
|
|
830
830
|
var JsonObjectDescriptor_instance;
|
|
831
831
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -835,17 +835,17 @@
|
|
|
835
835
|
}
|
|
836
836
|
function JsonObjectSerializer() {
|
|
837
837
|
JsonObjectSerializer_instance = this;
|
|
838
|
-
this.
|
|
838
|
+
this.h17_1 = JsonObjectDescriptor_getInstance();
|
|
839
839
|
}
|
|
840
840
|
protoOf(JsonObjectSerializer).pj = function () {
|
|
841
|
-
return this.
|
|
841
|
+
return this.h17_1;
|
|
842
842
|
};
|
|
843
|
-
protoOf(JsonObjectSerializer).
|
|
843
|
+
protoOf(JsonObjectSerializer).n17 = function (encoder, value) {
|
|
844
844
|
verify(encoder);
|
|
845
845
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).qj(encoder, value);
|
|
846
846
|
};
|
|
847
847
|
protoOf(JsonObjectSerializer).qj = function (encoder, value) {
|
|
848
|
-
return this.
|
|
848
|
+
return this.n17(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
849
849
|
};
|
|
850
850
|
protoOf(JsonObjectSerializer).rj = function (decoder) {
|
|
851
851
|
verify_0(decoder);
|
|
@@ -859,41 +859,41 @@
|
|
|
859
859
|
}
|
|
860
860
|
function JsonArrayDescriptor() {
|
|
861
861
|
JsonArrayDescriptor_instance = this;
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
862
|
+
this.o17_1 = ListSerializer(JsonElementSerializer_getInstance()).pj();
|
|
863
|
+
this.p17_1 = 'kotlinx.serialization.json.JsonArray';
|
|
864
864
|
}
|
|
865
865
|
protoOf(JsonArrayDescriptor).bl = function () {
|
|
866
|
-
return this.
|
|
866
|
+
return this.o17_1.bl();
|
|
867
867
|
};
|
|
868
868
|
protoOf(JsonArrayDescriptor).cl = function () {
|
|
869
|
-
return this.
|
|
869
|
+
return this.o17_1.cl();
|
|
870
870
|
};
|
|
871
871
|
protoOf(JsonArrayDescriptor).dl = function () {
|
|
872
|
-
return this.
|
|
872
|
+
return this.o17_1.dl();
|
|
873
873
|
};
|
|
874
874
|
protoOf(JsonArrayDescriptor).xk = function () {
|
|
875
|
-
return this.
|
|
875
|
+
return this.o17_1.xk();
|
|
876
876
|
};
|
|
877
877
|
protoOf(JsonArrayDescriptor).el = function () {
|
|
878
|
-
return this.
|
|
878
|
+
return this.o17_1.el();
|
|
879
879
|
};
|
|
880
880
|
protoOf(JsonArrayDescriptor).fl = function (index) {
|
|
881
|
-
return this.
|
|
881
|
+
return this.o17_1.fl(index);
|
|
882
882
|
};
|
|
883
883
|
protoOf(JsonArrayDescriptor).gl = function (index) {
|
|
884
|
-
return this.
|
|
884
|
+
return this.o17_1.gl(index);
|
|
885
885
|
};
|
|
886
886
|
protoOf(JsonArrayDescriptor).hl = function (name) {
|
|
887
|
-
return this.
|
|
887
|
+
return this.o17_1.hl(name);
|
|
888
888
|
};
|
|
889
889
|
protoOf(JsonArrayDescriptor).il = function (index) {
|
|
890
|
-
return this.
|
|
890
|
+
return this.o17_1.il(index);
|
|
891
891
|
};
|
|
892
892
|
protoOf(JsonArrayDescriptor).jl = function (index) {
|
|
893
|
-
return this.
|
|
893
|
+
return this.o17_1.jl(index);
|
|
894
894
|
};
|
|
895
895
|
protoOf(JsonArrayDescriptor).qk = function () {
|
|
896
|
-
return this.
|
|
896
|
+
return this.p17_1;
|
|
897
897
|
};
|
|
898
898
|
var JsonArrayDescriptor_instance;
|
|
899
899
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -903,17 +903,17 @@
|
|
|
903
903
|
}
|
|
904
904
|
function JsonArraySerializer() {
|
|
905
905
|
JsonArraySerializer_instance = this;
|
|
906
|
-
this.
|
|
906
|
+
this.i17_1 = JsonArrayDescriptor_getInstance();
|
|
907
907
|
}
|
|
908
908
|
protoOf(JsonArraySerializer).pj = function () {
|
|
909
|
-
return this.
|
|
909
|
+
return this.i17_1;
|
|
910
910
|
};
|
|
911
|
-
protoOf(JsonArraySerializer).
|
|
911
|
+
protoOf(JsonArraySerializer).q17 = function (encoder, value) {
|
|
912
912
|
verify(encoder);
|
|
913
913
|
ListSerializer(JsonElementSerializer_getInstance()).qj(encoder, value);
|
|
914
914
|
};
|
|
915
915
|
protoOf(JsonArraySerializer).qj = function (encoder, value) {
|
|
916
|
-
return this.
|
|
916
|
+
return this.q17(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
917
917
|
};
|
|
918
918
|
protoOf(JsonArraySerializer).rj = function (decoder) {
|
|
919
919
|
verify_0(decoder);
|
|
@@ -930,12 +930,12 @@
|
|
|
930
930
|
}
|
|
931
931
|
function JsonPrimitiveSerializer() {
|
|
932
932
|
JsonPrimitiveSerializer_instance = this;
|
|
933
|
-
this.
|
|
933
|
+
this.e17_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
934
934
|
}
|
|
935
935
|
protoOf(JsonPrimitiveSerializer).pj = function () {
|
|
936
|
-
return this.
|
|
936
|
+
return this.e17_1;
|
|
937
937
|
};
|
|
938
|
-
protoOf(JsonPrimitiveSerializer).
|
|
938
|
+
protoOf(JsonPrimitiveSerializer).r17 = function (encoder, value) {
|
|
939
939
|
verify(encoder);
|
|
940
940
|
var tmp;
|
|
941
941
|
if (value instanceof JsonNull) {
|
|
@@ -949,10 +949,10 @@
|
|
|
949
949
|
return tmp;
|
|
950
950
|
};
|
|
951
951
|
protoOf(JsonPrimitiveSerializer).qj = function (encoder, value) {
|
|
952
|
-
return this.
|
|
952
|
+
return this.r17(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
953
953
|
};
|
|
954
954
|
protoOf(JsonPrimitiveSerializer).rj = function (decoder) {
|
|
955
|
-
var result = asJsonDecoder(decoder).
|
|
955
|
+
var result = asJsonDecoder(decoder).o16();
|
|
956
956
|
if (!(result instanceof JsonPrimitive))
|
|
957
957
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
958
958
|
return result;
|
|
@@ -965,17 +965,17 @@
|
|
|
965
965
|
}
|
|
966
966
|
function JsonNullSerializer() {
|
|
967
967
|
JsonNullSerializer_instance = this;
|
|
968
|
-
this.
|
|
968
|
+
this.f17_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
969
969
|
}
|
|
970
970
|
protoOf(JsonNullSerializer).pj = function () {
|
|
971
|
-
return this.
|
|
971
|
+
return this.f17_1;
|
|
972
972
|
};
|
|
973
|
-
protoOf(JsonNullSerializer).
|
|
973
|
+
protoOf(JsonNullSerializer).s17 = function (encoder, value) {
|
|
974
974
|
verify(encoder);
|
|
975
975
|
encoder.sn();
|
|
976
976
|
};
|
|
977
977
|
protoOf(JsonNullSerializer).qj = function (encoder, value) {
|
|
978
|
-
return this.
|
|
978
|
+
return this.s17(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
979
979
|
};
|
|
980
980
|
protoOf(JsonNullSerializer).rj = function (decoder) {
|
|
981
981
|
verify_0(decoder);
|
|
@@ -993,20 +993,20 @@
|
|
|
993
993
|
}
|
|
994
994
|
function JsonLiteralSerializer() {
|
|
995
995
|
JsonLiteralSerializer_instance = this;
|
|
996
|
-
this.
|
|
996
|
+
this.g17_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
997
997
|
}
|
|
998
998
|
protoOf(JsonLiteralSerializer).pj = function () {
|
|
999
|
-
return this.
|
|
999
|
+
return this.g17_1;
|
|
1000
1000
|
};
|
|
1001
|
-
protoOf(JsonLiteralSerializer).
|
|
1001
|
+
protoOf(JsonLiteralSerializer).t17 = function (encoder, value) {
|
|
1002
1002
|
verify(encoder);
|
|
1003
|
-
if (value.
|
|
1004
|
-
return encoder.bo(value.
|
|
1003
|
+
if (value.w16_1) {
|
|
1004
|
+
return encoder.bo(value.y16_1);
|
|
1005
1005
|
}
|
|
1006
|
-
if (!(value.
|
|
1007
|
-
return encoder.do(value.
|
|
1006
|
+
if (!(value.x16_1 == null)) {
|
|
1007
|
+
return encoder.do(value.x16_1).bo(value.y16_1);
|
|
1008
1008
|
}
|
|
1009
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
1009
|
+
var tmp0_safe_receiver = toLongOrNull(value.y16_1);
|
|
1010
1010
|
if (tmp0_safe_receiver == null)
|
|
1011
1011
|
null;
|
|
1012
1012
|
else {
|
|
@@ -1014,7 +1014,7 @@
|
|
|
1014
1014
|
// Inline function 'kotlin.contracts.contract' call
|
|
1015
1015
|
return encoder.xn(tmp0_safe_receiver);
|
|
1016
1016
|
}
|
|
1017
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
1017
|
+
var tmp1_safe_receiver = toULongOrNull(value.y16_1);
|
|
1018
1018
|
var tmp = tmp1_safe_receiver;
|
|
1019
1019
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1020
1020
|
null;
|
|
@@ -1029,7 +1029,7 @@
|
|
|
1029
1029
|
tmp_1.xn(tmp$ret$1);
|
|
1030
1030
|
return Unit_instance;
|
|
1031
1031
|
}
|
|
1032
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
1032
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.y16_1);
|
|
1033
1033
|
if (tmp2_safe_receiver == null)
|
|
1034
1034
|
null;
|
|
1035
1035
|
else {
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
// Inline function 'kotlin.contracts.contract' call
|
|
1038
1038
|
return encoder.zn(tmp2_safe_receiver);
|
|
1039
1039
|
}
|
|
1040
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1040
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.y16_1);
|
|
1041
1041
|
if (tmp3_safe_receiver == null)
|
|
1042
1042
|
null;
|
|
1043
1043
|
else {
|
|
@@ -1045,13 +1045,13 @@
|
|
|
1045
1045
|
// Inline function 'kotlin.contracts.contract' call
|
|
1046
1046
|
return encoder.tn(tmp3_safe_receiver);
|
|
1047
1047
|
}
|
|
1048
|
-
encoder.bo(value.
|
|
1048
|
+
encoder.bo(value.y16_1);
|
|
1049
1049
|
};
|
|
1050
1050
|
protoOf(JsonLiteralSerializer).qj = function (encoder, value) {
|
|
1051
|
-
return this.
|
|
1051
|
+
return this.t17(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1052
1052
|
};
|
|
1053
1053
|
protoOf(JsonLiteralSerializer).rj = function (decoder) {
|
|
1054
|
-
var result = asJsonDecoder(decoder).
|
|
1054
|
+
var result = asJsonDecoder(decoder).o16();
|
|
1055
1055
|
if (!(result instanceof JsonLiteral))
|
|
1056
1056
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
1057
1057
|
return result;
|
|
@@ -1090,12 +1090,12 @@
|
|
|
1090
1090
|
}
|
|
1091
1091
|
function _get_original__l7ku1m($this) {
|
|
1092
1092
|
// Inline function 'kotlin.getValue' call
|
|
1093
|
-
var this_0 = $this.
|
|
1093
|
+
var this_0 = $this.u17_1;
|
|
1094
1094
|
original$factory();
|
|
1095
1095
|
return this_0.o2();
|
|
1096
1096
|
}
|
|
1097
1097
|
function defer$1($deferred) {
|
|
1098
|
-
this.
|
|
1098
|
+
this.u17_1 = lazy_0($deferred);
|
|
1099
1099
|
}
|
|
1100
1100
|
protoOf(defer$1).qk = function () {
|
|
1101
1101
|
return _get_original__l7ku1m(this).qk();
|
|
@@ -1129,130 +1129,130 @@
|
|
|
1129
1129
|
function JsonEncoder() {
|
|
1130
1130
|
}
|
|
1131
1131
|
function Composer(writer) {
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1132
|
+
this.v17_1 = writer;
|
|
1133
|
+
this.w17_1 = true;
|
|
1134
1134
|
}
|
|
1135
|
-
protoOf(Composer).v17 = function () {
|
|
1136
|
-
this.u17_1 = true;
|
|
1137
|
-
};
|
|
1138
|
-
protoOf(Composer).w17 = function () {
|
|
1139
|
-
return Unit_instance;
|
|
1140
|
-
};
|
|
1141
1135
|
protoOf(Composer).x17 = function () {
|
|
1142
|
-
this.
|
|
1136
|
+
this.w17_1 = true;
|
|
1143
1137
|
};
|
|
1144
1138
|
protoOf(Composer).y17 = function () {
|
|
1145
1139
|
return Unit_instance;
|
|
1146
1140
|
};
|
|
1147
|
-
protoOf(Composer).z17 = function (
|
|
1148
|
-
|
|
1141
|
+
protoOf(Composer).z17 = function () {
|
|
1142
|
+
this.w17_1 = false;
|
|
1143
|
+
};
|
|
1144
|
+
protoOf(Composer).a18 = function () {
|
|
1145
|
+
return Unit_instance;
|
|
1149
1146
|
};
|
|
1150
1147
|
protoOf(Composer).b18 = function (v) {
|
|
1151
|
-
return this.
|
|
1148
|
+
return this.v17_1.c18(v);
|
|
1152
1149
|
};
|
|
1153
1150
|
protoOf(Composer).d18 = function (v) {
|
|
1154
|
-
return this.
|
|
1155
|
-
};
|
|
1156
|
-
protoOf(Composer).e18 = function (v) {
|
|
1157
|
-
return this.t17_1.c18(v.toString());
|
|
1151
|
+
return this.v17_1.e18(v);
|
|
1158
1152
|
};
|
|
1159
1153
|
protoOf(Composer).f18 = function (v) {
|
|
1160
|
-
return this.
|
|
1154
|
+
return this.v17_1.e18(v.toString());
|
|
1161
1155
|
};
|
|
1162
|
-
protoOf(Composer).
|
|
1163
|
-
return this.
|
|
1156
|
+
protoOf(Composer).g18 = function (v) {
|
|
1157
|
+
return this.v17_1.e18(v.toString());
|
|
1164
1158
|
};
|
|
1165
|
-
protoOf(Composer).
|
|
1166
|
-
return this.
|
|
1159
|
+
protoOf(Composer).h18 = function (v) {
|
|
1160
|
+
return this.v17_1.i18(toLong(v));
|
|
1167
1161
|
};
|
|
1168
1162
|
protoOf(Composer).j18 = function (v) {
|
|
1169
|
-
return this.
|
|
1163
|
+
return this.v17_1.i18(toLong(v));
|
|
1170
1164
|
};
|
|
1171
1165
|
protoOf(Composer).k18 = function (v) {
|
|
1172
|
-
return this.
|
|
1166
|
+
return this.v17_1.i18(toLong(v));
|
|
1167
|
+
};
|
|
1168
|
+
protoOf(Composer).l18 = function (v) {
|
|
1169
|
+
return this.v17_1.i18(v);
|
|
1173
1170
|
};
|
|
1174
|
-
protoOf(Composer).
|
|
1175
|
-
return this.
|
|
1171
|
+
protoOf(Composer).m18 = function (v) {
|
|
1172
|
+
return this.v17_1.e18(v.toString());
|
|
1173
|
+
};
|
|
1174
|
+
protoOf(Composer).n18 = function (value) {
|
|
1175
|
+
return this.v17_1.o18(value);
|
|
1176
1176
|
};
|
|
1177
1177
|
function Composer_0(sb, json) {
|
|
1178
|
-
return json.
|
|
1178
|
+
return json.o14_1.c16_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
1179
1179
|
}
|
|
1180
1180
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
1181
1181
|
Composer.call(this, writer);
|
|
1182
|
-
this.
|
|
1182
|
+
this.r18_1 = forceQuoting;
|
|
1183
1183
|
}
|
|
1184
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1185
|
-
if (this.
|
|
1184
|
+
protoOf(ComposerForUnsignedNumbers).k18 = function (v) {
|
|
1185
|
+
if (this.r18_1) {
|
|
1186
1186
|
// Inline function 'kotlin.toUInt' call
|
|
1187
1187
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
1188
|
-
this.
|
|
1188
|
+
this.n18(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
1189
1189
|
} else {
|
|
1190
1190
|
// Inline function 'kotlin.toUInt' call
|
|
1191
1191
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
1192
|
-
this.
|
|
1192
|
+
this.d18(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
1193
1193
|
}
|
|
1194
1194
|
};
|
|
1195
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1196
|
-
if (this.
|
|
1195
|
+
protoOf(ComposerForUnsignedNumbers).l18 = function (v) {
|
|
1196
|
+
if (this.r18_1) {
|
|
1197
1197
|
// Inline function 'kotlin.toULong' call
|
|
1198
1198
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
1199
|
-
this.
|
|
1199
|
+
this.n18(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
1200
1200
|
} else {
|
|
1201
1201
|
// Inline function 'kotlin.toULong' call
|
|
1202
1202
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
1203
|
-
this.
|
|
1203
|
+
this.d18(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
1204
1204
|
}
|
|
1205
1205
|
};
|
|
1206
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1207
|
-
if (this.
|
|
1206
|
+
protoOf(ComposerForUnsignedNumbers).h18 = function (v) {
|
|
1207
|
+
if (this.r18_1) {
|
|
1208
1208
|
// Inline function 'kotlin.toUByte' call
|
|
1209
1209
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
1210
|
-
this.
|
|
1210
|
+
this.n18(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
1211
1211
|
} else {
|
|
1212
1212
|
// Inline function 'kotlin.toUByte' call
|
|
1213
1213
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
1214
|
-
this.
|
|
1214
|
+
this.d18(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
1215
1215
|
}
|
|
1216
1216
|
};
|
|
1217
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
1218
|
-
if (this.
|
|
1217
|
+
protoOf(ComposerForUnsignedNumbers).j18 = function (v) {
|
|
1218
|
+
if (this.r18_1) {
|
|
1219
1219
|
// Inline function 'kotlin.toUShort' call
|
|
1220
1220
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
1221
|
-
this.
|
|
1221
|
+
this.n18(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
1222
1222
|
} else {
|
|
1223
1223
|
// Inline function 'kotlin.toUShort' call
|
|
1224
1224
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
1225
|
-
this.
|
|
1225
|
+
this.d18(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
1226
1226
|
}
|
|
1227
1227
|
};
|
|
1228
1228
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
1229
1229
|
Composer.call(this, writer);
|
|
1230
|
-
this.
|
|
1230
|
+
this.u18_1 = forceQuoting;
|
|
1231
1231
|
}
|
|
1232
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
1233
|
-
if (this.
|
|
1234
|
-
protoOf(Composer).
|
|
1232
|
+
protoOf(ComposerForUnquotedLiterals).n18 = function (value) {
|
|
1233
|
+
if (this.u18_1) {
|
|
1234
|
+
protoOf(Composer).n18.call(this, value);
|
|
1235
1235
|
} else {
|
|
1236
|
-
protoOf(Composer).
|
|
1236
|
+
protoOf(Composer).d18.call(this, value);
|
|
1237
1237
|
}
|
|
1238
1238
|
};
|
|
1239
1239
|
function ComposerWithPrettyPrint(writer, json) {
|
|
1240
1240
|
Composer.call(this, writer);
|
|
1241
|
-
this.
|
|
1242
|
-
this.
|
|
1241
|
+
this.x18_1 = json;
|
|
1242
|
+
this.y18_1 = 0;
|
|
1243
1243
|
}
|
|
1244
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1244
|
+
protoOf(ComposerWithPrettyPrint).x17 = function () {
|
|
1245
|
+
this.w17_1 = true;
|
|
1246
|
+
this.y18_1 = this.y18_1 + 1 | 0;
|
|
1247
1247
|
};
|
|
1248
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1249
|
-
this.
|
|
1248
|
+
protoOf(ComposerWithPrettyPrint).y17 = function () {
|
|
1249
|
+
this.y18_1 = this.y18_1 - 1 | 0;
|
|
1250
1250
|
};
|
|
1251
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1252
|
-
this.
|
|
1253
|
-
this.
|
|
1251
|
+
protoOf(ComposerWithPrettyPrint).z17 = function () {
|
|
1252
|
+
this.w17_1 = false;
|
|
1253
|
+
this.d18('\n');
|
|
1254
1254
|
// Inline function 'kotlin.repeat' call
|
|
1255
|
-
var times = this.
|
|
1255
|
+
var times = this.y18_1;
|
|
1256
1256
|
// Inline function 'kotlin.contracts.contract' call
|
|
1257
1257
|
var inductionVariable = 0;
|
|
1258
1258
|
if (inductionVariable < times)
|
|
@@ -1260,16 +1260,16 @@
|
|
|
1260
1260
|
var index = inductionVariable;
|
|
1261
1261
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1262
1262
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
1263
|
-
this.
|
|
1263
|
+
this.d18(this.x18_1.o14_1.e16_1);
|
|
1264
1264
|
}
|
|
1265
1265
|
while (inductionVariable < times);
|
|
1266
1266
|
};
|
|
1267
|
-
protoOf(ComposerWithPrettyPrint).
|
|
1268
|
-
this.
|
|
1267
|
+
protoOf(ComposerWithPrettyPrint).a18 = function () {
|
|
1268
|
+
this.b18(_Char___init__impl__6a9atx(32));
|
|
1269
1269
|
};
|
|
1270
1270
|
function readIfAbsent($this, descriptor, index) {
|
|
1271
|
-
$this.
|
|
1272
|
-
return $this.
|
|
1271
|
+
$this.a19_1 = !descriptor.jl(index) ? descriptor.gl(index).xk() : false;
|
|
1272
|
+
return $this.a19_1;
|
|
1273
1273
|
}
|
|
1274
1274
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
1275
1275
|
var l = function (p0, p1) {
|
|
@@ -1280,21 +1280,21 @@
|
|
|
1280
1280
|
}
|
|
1281
1281
|
function JsonElementMarker(descriptor) {
|
|
1282
1282
|
var tmp = this;
|
|
1283
|
-
tmp.
|
|
1284
|
-
this.
|
|
1283
|
+
tmp.z18_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
1284
|
+
this.a19_1 = false;
|
|
1285
1285
|
}
|
|
1286
1286
|
protoOf(JsonElementMarker).ct = function (index) {
|
|
1287
|
-
this.
|
|
1287
|
+
this.z18_1.ct(index);
|
|
1288
1288
|
};
|
|
1289
1289
|
protoOf(JsonElementMarker).dt = function () {
|
|
1290
|
-
return this.
|
|
1290
|
+
return this.z18_1.dt();
|
|
1291
1291
|
};
|
|
1292
1292
|
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1293
1293
|
entity = entity === VOID ? 'object' : entity;
|
|
1294
|
-
_this__u8e3s4.
|
|
1294
|
+
_this__u8e3s4.b19('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.d15_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingCommas = true' in 'Json {}' builder to support them.");
|
|
1295
1295
|
}
|
|
1296
1296
|
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1297
|
-
_this__u8e3s4.
|
|
1297
|
+
_this__u8e3s4.c19('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());
|
|
1298
1298
|
}
|
|
1299
1299
|
function JsonEncodingException(message) {
|
|
1300
1300
|
JsonException.call(this, message);
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
var index = _this__u8e3s4.hl(name);
|
|
1375
1375
|
if (!(index === -3))
|
|
1376
1376
|
return index;
|
|
1377
|
-
if (!json.
|
|
1377
|
+
if (!json.o14_1.j16_1)
|
|
1378
1378
|
return index;
|
|
1379
1379
|
return getJsonNameIndexSlowPath(_this__u8e3s4, json, name);
|
|
1380
1380
|
}
|
|
@@ -1393,17 +1393,17 @@
|
|
|
1393
1393
|
}
|
|
1394
1394
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1395
1395
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1396
|
-
return equals(_this__u8e3s4.el(), CLASS_getInstance()) ? json.
|
|
1396
|
+
return equals(_this__u8e3s4.el(), CLASS_getInstance()) ? json.o14_1.k16_1 : null;
|
|
1397
1397
|
}
|
|
1398
1398
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1399
1399
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1400
1400
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1401
1401
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1402
|
-
return tmp.
|
|
1402
|
+
return tmp.e19(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1403
1403
|
}
|
|
1404
1404
|
function decodeCaseInsensitive(_this__u8e3s4, descriptor) {
|
|
1405
1405
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1406
|
-
return _this__u8e3s4.
|
|
1406
|
+
return _this__u8e3s4.o14_1.l16_1 ? equals(descriptor.el(), ENUM_getInstance()) : false;
|
|
1407
1407
|
}
|
|
1408
1408
|
function getJsonNameIndexSlowPath(_this__u8e3s4, json, name) {
|
|
1409
1409
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1420,7 +1420,7 @@
|
|
|
1420
1420
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1421
1421
|
var tmp = get_schemaCache(json);
|
|
1422
1422
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
1423
|
-
return tmp.
|
|
1423
|
+
return tmp.e19(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
1424
1424
|
}
|
|
1425
1425
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1426
1426
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1446,7 +1446,7 @@
|
|
|
1446
1446
|
}
|
|
1447
1447
|
}
|
|
1448
1448
|
var tmp1_safe_receiver = singleOrNull(destination);
|
|
1449
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1449
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f19_1;
|
|
1450
1450
|
if (tmp2_safe_receiver == null)
|
|
1451
1451
|
null;
|
|
1452
1452
|
else {
|
|
@@ -1474,7 +1474,7 @@
|
|
|
1474
1474
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1475
1475
|
tmp_0 = _this__u8e3s4.il(i).toLowerCase();
|
|
1476
1476
|
} else if (!(strategyForClasses == null)) {
|
|
1477
|
-
tmp_0 = strategyForClasses.
|
|
1477
|
+
tmp_0 = strategyForClasses.g19(_this__u8e3s4, i, _this__u8e3s4.il(i));
|
|
1478
1478
|
} else {
|
|
1479
1479
|
tmp_0 = null;
|
|
1480
1480
|
}
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
while (tmp < tmp_0) {
|
|
1523
1523
|
var tmp_2 = tmp;
|
|
1524
1524
|
var baseName = $this_serializationNamesIndices.il(tmp_2);
|
|
1525
|
-
tmp_1[tmp_2] = $strategy.
|
|
1525
|
+
tmp_1[tmp_2] = $strategy.g19($this_serializationNamesIndices, tmp_2, baseName);
|
|
1526
1526
|
tmp = tmp + 1 | 0;
|
|
1527
1527
|
}
|
|
1528
1528
|
return tmp_1;
|
|
@@ -1543,14 +1543,14 @@
|
|
|
1543
1543
|
return Tombstone_instance;
|
|
1544
1544
|
}
|
|
1545
1545
|
function resize($this) {
|
|
1546
|
-
var newSize = imul($this.
|
|
1547
|
-
$this.
|
|
1548
|
-
$this.
|
|
1546
|
+
var newSize = imul($this.j19_1, 2);
|
|
1547
|
+
$this.h19_1 = copyOf($this.h19_1, newSize);
|
|
1548
|
+
$this.i19_1 = copyOf_0($this.i19_1, newSize);
|
|
1549
1549
|
}
|
|
1550
1550
|
function JsonPath() {
|
|
1551
1551
|
var tmp = this;
|
|
1552
1552
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1553
|
-
tmp.
|
|
1553
|
+
tmp.h19_1 = fillArrayVal(Array(8), null);
|
|
1554
1554
|
var tmp_0 = this;
|
|
1555
1555
|
var tmp_1 = 0;
|
|
1556
1556
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1558,50 +1558,50 @@
|
|
|
1558
1558
|
tmp_2[tmp_1] = -1;
|
|
1559
1559
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1560
1560
|
}
|
|
1561
|
-
tmp_0.
|
|
1562
|
-
this.
|
|
1561
|
+
tmp_0.i19_1 = tmp_2;
|
|
1562
|
+
this.j19_1 = -1;
|
|
1563
1563
|
}
|
|
1564
|
-
protoOf(JsonPath).
|
|
1565
|
-
this.
|
|
1566
|
-
var depth = this.
|
|
1567
|
-
if (depth === this.
|
|
1564
|
+
protoOf(JsonPath).k19 = function (sd) {
|
|
1565
|
+
this.j19_1 = this.j19_1 + 1 | 0;
|
|
1566
|
+
var depth = this.j19_1;
|
|
1567
|
+
if (depth === this.h19_1.length) {
|
|
1568
1568
|
resize(this);
|
|
1569
1569
|
}
|
|
1570
|
-
this.
|
|
1570
|
+
this.h19_1[depth] = sd;
|
|
1571
1571
|
};
|
|
1572
|
-
protoOf(JsonPath).
|
|
1573
|
-
this.
|
|
1572
|
+
protoOf(JsonPath).l19 = function (index) {
|
|
1573
|
+
this.i19_1[this.j19_1] = index;
|
|
1574
1574
|
};
|
|
1575
|
-
protoOf(JsonPath).
|
|
1575
|
+
protoOf(JsonPath).m19 = function (key) {
|
|
1576
1576
|
var tmp;
|
|
1577
|
-
if (!(this.
|
|
1578
|
-
this.
|
|
1579
|
-
tmp = this.
|
|
1577
|
+
if (!(this.i19_1[this.j19_1] === -2)) {
|
|
1578
|
+
this.j19_1 = this.j19_1 + 1 | 0;
|
|
1579
|
+
tmp = this.j19_1 === this.h19_1.length;
|
|
1580
1580
|
} else {
|
|
1581
1581
|
tmp = false;
|
|
1582
1582
|
}
|
|
1583
1583
|
if (tmp) {
|
|
1584
1584
|
resize(this);
|
|
1585
1585
|
}
|
|
1586
|
-
this.
|
|
1587
|
-
this.
|
|
1586
|
+
this.h19_1[this.j19_1] = key;
|
|
1587
|
+
this.i19_1[this.j19_1] = -2;
|
|
1588
1588
|
};
|
|
1589
|
-
protoOf(JsonPath).
|
|
1590
|
-
if (this.
|
|
1591
|
-
this.
|
|
1589
|
+
protoOf(JsonPath).n19 = function () {
|
|
1590
|
+
if (this.i19_1[this.j19_1] === -2) {
|
|
1591
|
+
this.h19_1[this.j19_1] = Tombstone_instance;
|
|
1592
1592
|
}
|
|
1593
1593
|
};
|
|
1594
|
-
protoOf(JsonPath).
|
|
1595
|
-
var depth = this.
|
|
1596
|
-
if (this.
|
|
1597
|
-
this.
|
|
1598
|
-
this.
|
|
1594
|
+
protoOf(JsonPath).o19 = function () {
|
|
1595
|
+
var depth = this.j19_1;
|
|
1596
|
+
if (this.i19_1[depth] === -2) {
|
|
1597
|
+
this.i19_1[depth] = -1;
|
|
1598
|
+
this.j19_1 = this.j19_1 - 1 | 0;
|
|
1599
1599
|
}
|
|
1600
|
-
if (!(this.
|
|
1601
|
-
this.
|
|
1600
|
+
if (!(this.j19_1 === -1)) {
|
|
1601
|
+
this.j19_1 = this.j19_1 - 1 | 0;
|
|
1602
1602
|
}
|
|
1603
1603
|
};
|
|
1604
|
-
protoOf(JsonPath).
|
|
1604
|
+
protoOf(JsonPath).p19 = function () {
|
|
1605
1605
|
// Inline function 'kotlin.text.buildString' call
|
|
1606
1606
|
// Inline function 'kotlin.contracts.contract' call
|
|
1607
1607
|
// Inline function 'kotlin.apply' call
|
|
@@ -1610,7 +1610,7 @@
|
|
|
1610
1610
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1611
1611
|
this_0.e5('$');
|
|
1612
1612
|
// Inline function 'kotlin.repeat' call
|
|
1613
|
-
var times = this.
|
|
1613
|
+
var times = this.j19_1 + 1 | 0;
|
|
1614
1614
|
// Inline function 'kotlin.contracts.contract' call
|
|
1615
1615
|
var inductionVariable = 0;
|
|
1616
1616
|
if (inductionVariable < times)
|
|
@@ -1618,16 +1618,16 @@
|
|
|
1618
1618
|
var index = inductionVariable;
|
|
1619
1619
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1620
1620
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1621
|
-
var element = this.
|
|
1621
|
+
var element = this.h19_1[index];
|
|
1622
1622
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1623
1623
|
if (equals(element.el(), LIST_getInstance())) {
|
|
1624
|
-
if (!(this.
|
|
1624
|
+
if (!(this.i19_1[index] === -1)) {
|
|
1625
1625
|
this_0.e5('[');
|
|
1626
|
-
this_0.j7(this.
|
|
1626
|
+
this_0.j7(this.i19_1[index]);
|
|
1627
1627
|
this_0.e5(']');
|
|
1628
1628
|
}
|
|
1629
1629
|
} else {
|
|
1630
|
-
var idx = this.
|
|
1630
|
+
var idx = this.i19_1[index];
|
|
1631
1631
|
if (idx >= 0) {
|
|
1632
1632
|
this_0.e5('.');
|
|
1633
1633
|
this_0.e5(element.il(idx));
|
|
@@ -1647,7 +1647,7 @@
|
|
|
1647
1647
|
return this_0.toString();
|
|
1648
1648
|
};
|
|
1649
1649
|
protoOf(JsonPath).toString = function () {
|
|
1650
|
-
return this.
|
|
1650
|
+
return this.p19();
|
|
1651
1651
|
};
|
|
1652
1652
|
function encodeByWriter(json, writer, serializer, value) {
|
|
1653
1653
|
var tmp = WriteMode_OBJ_getInstance();
|
|
@@ -1659,35 +1659,35 @@
|
|
|
1659
1659
|
}
|
|
1660
1660
|
function readObject($this) {
|
|
1661
1661
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1662
|
-
var lastToken = $this.
|
|
1663
|
-
if ($this.
|
|
1664
|
-
$this.
|
|
1662
|
+
var lastToken = $this.y19_1.c1a(get_TC_BEGIN_OBJ());
|
|
1663
|
+
if ($this.y19_1.d1a() === get_TC_COMMA()) {
|
|
1664
|
+
$this.y19_1.c19('Unexpected leading comma');
|
|
1665
1665
|
}
|
|
1666
1666
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1667
1667
|
var result = LinkedHashMap_init_$Create$();
|
|
1668
|
-
$l$loop: while ($this.
|
|
1669
|
-
var key = $this.
|
|
1670
|
-
$this.
|
|
1668
|
+
$l$loop: while ($this.y19_1.e1a()) {
|
|
1669
|
+
var key = $this.z19_1 ? $this.y19_1.g1a() : $this.y19_1.f1a();
|
|
1670
|
+
$this.y19_1.c1a(get_TC_COLON());
|
|
1671
1671
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1672
|
-
var element = $this.
|
|
1672
|
+
var element = $this.h1a();
|
|
1673
1673
|
// Inline function 'kotlin.collections.set' call
|
|
1674
1674
|
result.k2(key, element);
|
|
1675
|
-
lastToken = $this.
|
|
1675
|
+
lastToken = $this.y19_1.i1a();
|
|
1676
1676
|
var tmp0_subject = lastToken;
|
|
1677
1677
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1678
1678
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1679
1679
|
break $l$loop;
|
|
1680
1680
|
else {
|
|
1681
|
-
$this.
|
|
1681
|
+
$this.y19_1.c19('Expected end of the object or comma');
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
1684
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1685
|
-
$this.
|
|
1685
|
+
$this.y19_1.c1a(get_TC_END_OBJ());
|
|
1686
1686
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1687
|
-
if (!$this.
|
|
1688
|
-
invalidTrailingComma($this.
|
|
1687
|
+
if (!$this.a1a_1) {
|
|
1688
|
+
invalidTrailingComma($this.y19_1);
|
|
1689
1689
|
}
|
|
1690
|
-
$this.
|
|
1690
|
+
$this.y19_1.c1a(get_TC_END_OBJ());
|
|
1691
1691
|
}
|
|
1692
1692
|
return new JsonObject(result);
|
|
1693
1693
|
}
|
|
@@ -1698,44 +1698,44 @@
|
|
|
1698
1698
|
return tmp.ya();
|
|
1699
1699
|
}
|
|
1700
1700
|
function readArray($this) {
|
|
1701
|
-
var lastToken = $this.
|
|
1702
|
-
if ($this.
|
|
1703
|
-
$this.
|
|
1701
|
+
var lastToken = $this.y19_1.i1a();
|
|
1702
|
+
if ($this.y19_1.d1a() === get_TC_COMMA()) {
|
|
1703
|
+
$this.y19_1.c19('Unexpected leading comma');
|
|
1704
1704
|
}
|
|
1705
1705
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1706
1706
|
var result = ArrayList_init_$Create$();
|
|
1707
|
-
while ($this.
|
|
1708
|
-
var element = $this.
|
|
1707
|
+
while ($this.y19_1.e1a()) {
|
|
1708
|
+
var element = $this.h1a();
|
|
1709
1709
|
result.s(element);
|
|
1710
|
-
lastToken = $this.
|
|
1710
|
+
lastToken = $this.y19_1.i1a();
|
|
1711
1711
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1712
1712
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1713
|
-
var this_0 = $this.
|
|
1713
|
+
var this_0 = $this.y19_1;
|
|
1714
1714
|
var condition = lastToken === get_TC_END_LIST();
|
|
1715
|
-
var position = this_0.
|
|
1715
|
+
var position = this_0.d15_1;
|
|
1716
1716
|
if (!condition) {
|
|
1717
1717
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1718
1718
|
var tmp$ret$1 = 'Expected end of the array or comma';
|
|
1719
|
-
this_0.
|
|
1719
|
+
this_0.c19(tmp$ret$1, position);
|
|
1720
1720
|
}
|
|
1721
1721
|
}
|
|
1722
1722
|
}
|
|
1723
1723
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1724
|
-
$this.
|
|
1724
|
+
$this.y19_1.c1a(get_TC_END_LIST());
|
|
1725
1725
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1726
|
-
if (!$this.
|
|
1727
|
-
invalidTrailingComma($this.
|
|
1726
|
+
if (!$this.a1a_1) {
|
|
1727
|
+
invalidTrailingComma($this.y19_1, 'array');
|
|
1728
1728
|
}
|
|
1729
|
-
$this.
|
|
1729
|
+
$this.y19_1.c1a(get_TC_END_LIST());
|
|
1730
1730
|
}
|
|
1731
1731
|
return new JsonArray(result);
|
|
1732
1732
|
}
|
|
1733
1733
|
function readValue($this, isString) {
|
|
1734
1734
|
var tmp;
|
|
1735
|
-
if ($this.
|
|
1736
|
-
tmp = $this.
|
|
1735
|
+
if ($this.z19_1 ? true : !isString) {
|
|
1736
|
+
tmp = $this.y19_1.g1a();
|
|
1737
1737
|
} else {
|
|
1738
|
-
tmp = $this.
|
|
1738
|
+
tmp = $this.y19_1.f1a();
|
|
1739
1739
|
}
|
|
1740
1740
|
var string = tmp;
|
|
1741
1741
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1746,18 +1746,18 @@
|
|
|
1746
1746
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_instance);
|
|
1747
1747
|
}
|
|
1748
1748
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1749
|
-
this.
|
|
1749
|
+
this.f1b_1 = this$0;
|
|
1750
1750
|
CoroutineImpl.call(this, resultContinuation);
|
|
1751
1751
|
}
|
|
1752
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1753
|
-
var tmp = this.
|
|
1752
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).k1b = function ($this$$receiver, it, $completion) {
|
|
1753
|
+
var tmp = this.l1b($this$$receiver, it, $completion);
|
|
1754
1754
|
tmp.na_1 = Unit_instance;
|
|
1755
1755
|
tmp.oa_1 = null;
|
|
1756
1756
|
return tmp.ya();
|
|
1757
1757
|
};
|
|
1758
1758
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).hh = function (p1, p2, $completion) {
|
|
1759
1759
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1760
|
-
return this.
|
|
1760
|
+
return this.k1b(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1761
1761
|
};
|
|
1762
1762
|
protoOf(JsonTreeReader$readDeepRecursive$slambda).ya = function () {
|
|
1763
1763
|
var suspendResult = this.na_1;
|
|
@@ -1767,32 +1767,32 @@
|
|
|
1767
1767
|
switch (tmp) {
|
|
1768
1768
|
case 0:
|
|
1769
1769
|
this.ma_1 = 3;
|
|
1770
|
-
this.
|
|
1771
|
-
if (this.
|
|
1772
|
-
this.
|
|
1770
|
+
this.i1b_1 = this.f1b_1.y19_1.d1a();
|
|
1771
|
+
if (this.i1b_1 === get_TC_STRING()) {
|
|
1772
|
+
this.j1b_1 = readValue(this.f1b_1, true);
|
|
1773
1773
|
this.la_1 = 2;
|
|
1774
1774
|
continue $sm;
|
|
1775
1775
|
} else {
|
|
1776
|
-
if (this.
|
|
1777
|
-
this.
|
|
1776
|
+
if (this.i1b_1 === get_TC_OTHER()) {
|
|
1777
|
+
this.j1b_1 = readValue(this.f1b_1, false);
|
|
1778
1778
|
this.la_1 = 2;
|
|
1779
1779
|
continue $sm;
|
|
1780
1780
|
} else {
|
|
1781
|
-
if (this.
|
|
1781
|
+
if (this.i1b_1 === get_TC_BEGIN_OBJ()) {
|
|
1782
1782
|
this.la_1 = 1;
|
|
1783
|
-
suspendResult = readObject_0(this.
|
|
1783
|
+
suspendResult = readObject_0(this.g1b_1, this.f1b_1, this);
|
|
1784
1784
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1785
1785
|
return suspendResult;
|
|
1786
1786
|
}
|
|
1787
1787
|
continue $sm;
|
|
1788
1788
|
} else {
|
|
1789
|
-
if (this.
|
|
1790
|
-
this.
|
|
1789
|
+
if (this.i1b_1 === get_TC_BEGIN_LIST()) {
|
|
1790
|
+
this.j1b_1 = readArray(this.f1b_1);
|
|
1791
1791
|
this.la_1 = 2;
|
|
1792
1792
|
continue $sm;
|
|
1793
1793
|
} else {
|
|
1794
1794
|
var tmp_0 = this;
|
|
1795
|
-
this.
|
|
1795
|
+
this.f1b_1.y19_1.c19("Can't begin reading element, unexpected token");
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
@@ -1800,11 +1800,11 @@
|
|
|
1800
1800
|
|
|
1801
1801
|
break;
|
|
1802
1802
|
case 1:
|
|
1803
|
-
this.
|
|
1803
|
+
this.j1b_1 = suspendResult;
|
|
1804
1804
|
this.la_1 = 2;
|
|
1805
1805
|
continue $sm;
|
|
1806
1806
|
case 2:
|
|
1807
|
-
return this.
|
|
1807
|
+
return this.j1b_1;
|
|
1808
1808
|
case 3:
|
|
1809
1809
|
throw this.oa_1;
|
|
1810
1810
|
}
|
|
@@ -1819,24 +1819,24 @@
|
|
|
1819
1819
|
}
|
|
1820
1820
|
while (true);
|
|
1821
1821
|
};
|
|
1822
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1823
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1824
|
-
i.
|
|
1825
|
-
i.
|
|
1822
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l1b = function ($this$$receiver, it, completion) {
|
|
1823
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.f1b_1, completion);
|
|
1824
|
+
i.g1b_1 = $this$$receiver;
|
|
1825
|
+
i.h1b_1 = it;
|
|
1826
1826
|
return i;
|
|
1827
1827
|
};
|
|
1828
1828
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1829
1829
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1830
1830
|
var l = function ($this$$receiver, it, $completion) {
|
|
1831
|
-
return i.
|
|
1831
|
+
return i.k1b($this$$receiver, it, $completion);
|
|
1832
1832
|
};
|
|
1833
1833
|
l.$arity = 2;
|
|
1834
1834
|
return l;
|
|
1835
1835
|
}
|
|
1836
1836
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1837
1837
|
CoroutineImpl.call(this, resultContinuation);
|
|
1838
|
-
this.
|
|
1839
|
-
this.
|
|
1838
|
+
this.r1a_1 = _this__u8e3s4;
|
|
1839
|
+
this.s1a_1 = _this__u8e3s4_0;
|
|
1840
1840
|
}
|
|
1841
1841
|
protoOf($readObjectCOROUTINE$0).ya = function () {
|
|
1842
1842
|
var suspendResult = this.na_1;
|
|
@@ -1847,26 +1847,26 @@
|
|
|
1847
1847
|
case 0:
|
|
1848
1848
|
this.ma_1 = 5;
|
|
1849
1849
|
var tmp_0 = this;
|
|
1850
|
-
tmp_0.
|
|
1851
|
-
this.
|
|
1852
|
-
if (this.
|
|
1853
|
-
this.
|
|
1850
|
+
tmp_0.t1a_1 = this.r1a_1;
|
|
1851
|
+
this.u1a_1 = this.t1a_1.y19_1.c1a(get_TC_BEGIN_OBJ());
|
|
1852
|
+
if (this.t1a_1.y19_1.d1a() === get_TC_COMMA()) {
|
|
1853
|
+
this.t1a_1.y19_1.c19('Unexpected leading comma');
|
|
1854
1854
|
}
|
|
1855
1855
|
|
|
1856
1856
|
var tmp_1 = this;
|
|
1857
|
-
tmp_1.
|
|
1857
|
+
tmp_1.v1a_1 = LinkedHashMap_init_$Create$();
|
|
1858
1858
|
this.la_1 = 1;
|
|
1859
1859
|
continue $sm;
|
|
1860
1860
|
case 1:
|
|
1861
|
-
if (!this.
|
|
1861
|
+
if (!this.t1a_1.y19_1.e1a()) {
|
|
1862
1862
|
this.la_1 = 4;
|
|
1863
1863
|
continue $sm;
|
|
1864
1864
|
}
|
|
1865
1865
|
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1866
|
+
this.w1a_1 = this.t1a_1.z19_1 ? this.t1a_1.y19_1.g1a() : this.t1a_1.y19_1.f1a();
|
|
1867
|
+
this.t1a_1.y19_1.c1a(get_TC_COLON());
|
|
1868
1868
|
this.la_1 = 2;
|
|
1869
|
-
suspendResult = this.
|
|
1869
|
+
suspendResult = this.s1a_1.zg(Unit_instance, this);
|
|
1870
1870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1871
1871
|
return suspendResult;
|
|
1872
1872
|
}
|
|
@@ -1874,11 +1874,11 @@
|
|
|
1874
1874
|
continue $sm;
|
|
1875
1875
|
case 2:
|
|
1876
1876
|
var element = suspendResult;
|
|
1877
|
-
var this_0 = this.
|
|
1878
|
-
var key = this.
|
|
1877
|
+
var this_0 = this.v1a_1;
|
|
1878
|
+
var key = this.w1a_1;
|
|
1879
1879
|
this_0.k2(key, element);
|
|
1880
|
-
this.
|
|
1881
|
-
var tmp0_subject = this.
|
|
1880
|
+
this.u1a_1 = this.t1a_1.y19_1.i1a();
|
|
1881
|
+
var tmp0_subject = this.u1a_1;
|
|
1882
1882
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1883
1883
|
this.la_1 = 3;
|
|
1884
1884
|
continue $sm;
|
|
@@ -1887,7 +1887,7 @@
|
|
|
1887
1887
|
this.la_1 = 4;
|
|
1888
1888
|
continue $sm;
|
|
1889
1889
|
} else {
|
|
1890
|
-
this.
|
|
1890
|
+
this.t1a_1.y19_1.c19('Expected end of the object or comma');
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
|
|
@@ -1896,16 +1896,16 @@
|
|
|
1896
1896
|
this.la_1 = 1;
|
|
1897
1897
|
continue $sm;
|
|
1898
1898
|
case 4:
|
|
1899
|
-
if (this.
|
|
1900
|
-
this.
|
|
1901
|
-
} else if (this.
|
|
1902
|
-
if (!this.
|
|
1903
|
-
invalidTrailingComma(this.
|
|
1899
|
+
if (this.u1a_1 === get_TC_BEGIN_OBJ()) {
|
|
1900
|
+
this.t1a_1.y19_1.c1a(get_TC_END_OBJ());
|
|
1901
|
+
} else if (this.u1a_1 === get_TC_COMMA()) {
|
|
1902
|
+
if (!this.t1a_1.a1a_1) {
|
|
1903
|
+
invalidTrailingComma(this.t1a_1.y19_1);
|
|
1904
1904
|
}
|
|
1905
|
-
this.
|
|
1905
|
+
this.t1a_1.y19_1.c1a(get_TC_END_OBJ());
|
|
1906
1906
|
}
|
|
1907
1907
|
|
|
1908
|
-
return new JsonObject(this.
|
|
1908
|
+
return new JsonObject(this.v1a_1);
|
|
1909
1909
|
case 5:
|
|
1910
1910
|
throw this.oa_1;
|
|
1911
1911
|
}
|
|
@@ -1921,13 +1921,13 @@
|
|
|
1921
1921
|
while (true);
|
|
1922
1922
|
};
|
|
1923
1923
|
function JsonTreeReader(configuration, lexer) {
|
|
1924
|
-
this.
|
|
1925
|
-
this.
|
|
1926
|
-
this.
|
|
1927
|
-
this.
|
|
1924
|
+
this.y19_1 = lexer;
|
|
1925
|
+
this.z19_1 = configuration.a16_1;
|
|
1926
|
+
this.a1a_1 = configuration.m16_1;
|
|
1927
|
+
this.b1a_1 = 0;
|
|
1928
1928
|
}
|
|
1929
|
-
protoOf(JsonTreeReader).
|
|
1930
|
-
var token = this.
|
|
1929
|
+
protoOf(JsonTreeReader).h1a = function () {
|
|
1930
|
+
var token = this.y19_1.d1a();
|
|
1931
1931
|
var tmp;
|
|
1932
1932
|
if (token === get_TC_STRING()) {
|
|
1933
1933
|
tmp = readValue(this, true);
|
|
@@ -1935,19 +1935,19 @@
|
|
|
1935
1935
|
tmp = readValue(this, false);
|
|
1936
1936
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1937
1937
|
var tmp_0;
|
|
1938
|
-
this.
|
|
1939
|
-
if (this.
|
|
1938
|
+
this.b1a_1 = this.b1a_1 + 1 | 0;
|
|
1939
|
+
if (this.b1a_1 === 200) {
|
|
1940
1940
|
tmp_0 = readDeepRecursive(this);
|
|
1941
1941
|
} else {
|
|
1942
1942
|
tmp_0 = readObject(this);
|
|
1943
1943
|
}
|
|
1944
1944
|
var result = tmp_0;
|
|
1945
|
-
this.
|
|
1945
|
+
this.b1a_1 = this.b1a_1 - 1 | 0;
|
|
1946
1946
|
tmp = result;
|
|
1947
1947
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1948
1948
|
tmp = readArray(this);
|
|
1949
1949
|
} else {
|
|
1950
|
-
this.
|
|
1950
|
+
this.y19_1.c19('Cannot read Json element because of unexpected ' + tokenDescription(token));
|
|
1951
1951
|
}
|
|
1952
1952
|
return tmp;
|
|
1953
1953
|
};
|
|
@@ -1956,29 +1956,29 @@
|
|
|
1956
1956
|
while (tmp0_iterator.w()) {
|
|
1957
1957
|
var annotation = tmp0_iterator.y();
|
|
1958
1958
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1959
|
-
return annotation.
|
|
1959
|
+
return annotation.m1b_1;
|
|
1960
1960
|
}
|
|
1961
|
-
return json.
|
|
1961
|
+
return json.o14_1.h16_1;
|
|
1962
1962
|
}
|
|
1963
1963
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1964
1964
|
var tmp;
|
|
1965
1965
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1966
1966
|
tmp = true;
|
|
1967
1967
|
} else {
|
|
1968
|
-
tmp = _this__u8e3s4.
|
|
1968
|
+
tmp = _this__u8e3s4.n16().o14_1.g16_1;
|
|
1969
1969
|
}
|
|
1970
1970
|
if (tmp) {
|
|
1971
1971
|
return deserializer.rj(_this__u8e3s4);
|
|
1972
1972
|
}
|
|
1973
|
-
var discriminator = classDiscriminator(deserializer.pj(), _this__u8e3s4.
|
|
1973
|
+
var discriminator = classDiscriminator(deserializer.pj(), _this__u8e3s4.n16());
|
|
1974
1974
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1975
|
-
var value = _this__u8e3s4.
|
|
1975
|
+
var value = _this__u8e3s4.o16();
|
|
1976
1976
|
var descriptor = deserializer.pj();
|
|
1977
1977
|
if (!(value instanceof JsonObject)) {
|
|
1978
1978
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.qk() + ', but had ' + getKClassFromExpression(value));
|
|
1979
1979
|
}
|
|
1980
1980
|
var jsonTree = value;
|
|
1981
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1981
|
+
var tmp0_safe_receiver = jsonTree.r16(discriminator);
|
|
1982
1982
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1983
1983
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
1984
1984
|
var tmp_0;
|
|
@@ -1995,7 +1995,7 @@
|
|
|
1995
1995
|
}
|
|
1996
1996
|
var tmp_2 = tmp_0;
|
|
1997
1997
|
var actualSerializer = isInterface(tmp_2, DeserializationStrategy) ? tmp_2 : THROW_CCE();
|
|
1998
|
-
return readPolymorphicJson(_this__u8e3s4.
|
|
1998
|
+
return readPolymorphicJson(_this__u8e3s4.n16(), discriminator, jsonTree, actualSerializer);
|
|
1999
1999
|
}
|
|
2000
2000
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
2001
2001
|
if (!(serializer instanceof SealedClassSerializer))
|
|
@@ -2039,7 +2039,7 @@
|
|
|
2039
2039
|
if (tmp) {
|
|
2040
2040
|
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.v5() + " 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.'));
|
|
2041
2041
|
}
|
|
2042
|
-
if ($this.
|
|
2042
|
+
if ($this.n1b_1)
|
|
2043
2043
|
return Unit_instance;
|
|
2044
2044
|
var tmp_0;
|
|
2045
2045
|
var tmp_1;
|
|
@@ -2065,38 +2065,38 @@
|
|
|
2065
2065
|
var i = inductionVariable;
|
|
2066
2066
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2067
2067
|
var name = descriptor.il(i);
|
|
2068
|
-
if (name === $this.
|
|
2068
|
+
if (name === $this.o1b_1) {
|
|
2069
2069
|
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');
|
|
2070
2070
|
}
|
|
2071
2071
|
}
|
|
2072
2072
|
while (inductionVariable < last);
|
|
2073
2073
|
}
|
|
2074
2074
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
2075
|
-
this.
|
|
2076
|
-
this.
|
|
2075
|
+
this.n1b_1 = useArrayPolymorphism;
|
|
2076
|
+
this.o1b_1 = discriminator;
|
|
2077
2077
|
}
|
|
2078
|
-
protoOf(PolymorphismValidator).
|
|
2078
|
+
protoOf(PolymorphismValidator).b14 = function (kClass, provider) {
|
|
2079
2079
|
};
|
|
2080
|
-
protoOf(PolymorphismValidator).
|
|
2080
|
+
protoOf(PolymorphismValidator).e14 = function (baseClass, actualClass, actualSerializer) {
|
|
2081
2081
|
var descriptor = actualSerializer.pj();
|
|
2082
2082
|
checkKind_0(this, descriptor, actualClass);
|
|
2083
|
-
if (!this.
|
|
2083
|
+
if (!this.n1b_1) {
|
|
2084
2084
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
2085
2085
|
}
|
|
2086
2086
|
};
|
|
2087
|
-
protoOf(PolymorphismValidator).
|
|
2087
|
+
protoOf(PolymorphismValidator).f14 = function (baseClass, defaultSerializerProvider) {
|
|
2088
2088
|
};
|
|
2089
|
-
protoOf(PolymorphismValidator).
|
|
2089
|
+
protoOf(PolymorphismValidator).g14 = function (baseClass, defaultDeserializerProvider) {
|
|
2090
2090
|
};
|
|
2091
2091
|
function Key() {
|
|
2092
2092
|
}
|
|
2093
2093
|
function DescriptorSchemaCache() {
|
|
2094
|
-
this.
|
|
2094
|
+
this.d19_1 = createMapForCache(16);
|
|
2095
2095
|
}
|
|
2096
|
-
protoOf(DescriptorSchemaCache).
|
|
2096
|
+
protoOf(DescriptorSchemaCache).p1b = function (descriptor, key, value) {
|
|
2097
2097
|
// Inline function 'kotlin.collections.set' call
|
|
2098
2098
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2099
|
-
var this_0 = this.
|
|
2099
|
+
var this_0 = this.d19_1;
|
|
2100
2100
|
var value_0 = this_0.t2(descriptor);
|
|
2101
2101
|
var tmp;
|
|
2102
2102
|
if (value_0 == null) {
|
|
@@ -2112,8 +2112,8 @@
|
|
|
2112
2112
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
2113
2113
|
this_1.k2(key_0, value_1);
|
|
2114
2114
|
};
|
|
2115
|
-
protoOf(DescriptorSchemaCache).
|
|
2116
|
-
var tmp0_safe_receiver = this.
|
|
2115
|
+
protoOf(DescriptorSchemaCache).e19 = function (descriptor, key, defaultValue) {
|
|
2116
|
+
var tmp0_safe_receiver = this.q1b(descriptor, key);
|
|
2117
2117
|
if (tmp0_safe_receiver == null)
|
|
2118
2118
|
null;
|
|
2119
2119
|
else {
|
|
@@ -2122,11 +2122,11 @@
|
|
|
2122
2122
|
return tmp0_safe_receiver;
|
|
2123
2123
|
}
|
|
2124
2124
|
var value = defaultValue();
|
|
2125
|
-
this.
|
|
2125
|
+
this.p1b(descriptor, key, value);
|
|
2126
2126
|
return value;
|
|
2127
2127
|
};
|
|
2128
|
-
protoOf(DescriptorSchemaCache).
|
|
2129
|
-
var tmp0_safe_receiver = this.
|
|
2128
|
+
protoOf(DescriptorSchemaCache).q1b = function (descriptor, key) {
|
|
2129
|
+
var tmp0_safe_receiver = this.d19_1.t2(descriptor);
|
|
2130
2130
|
var tmp;
|
|
2131
2131
|
if (tmp0_safe_receiver == null) {
|
|
2132
2132
|
tmp = null;
|
|
@@ -2137,13 +2137,13 @@
|
|
|
2137
2137
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
2138
2138
|
};
|
|
2139
2139
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
2140
|
-
this.
|
|
2140
|
+
this.r1b_1 = discriminatorToSkip;
|
|
2141
2141
|
}
|
|
2142
2142
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
2143
2143
|
if (_this__u8e3s4 == null)
|
|
2144
2144
|
return false;
|
|
2145
|
-
if (_this__u8e3s4.
|
|
2146
|
-
_this__u8e3s4.
|
|
2145
|
+
if (_this__u8e3s4.r1b_1 === unknownKey) {
|
|
2146
|
+
_this__u8e3s4.r1b_1 = null;
|
|
2147
2147
|
return true;
|
|
2148
2148
|
}
|
|
2149
2149
|
return false;
|
|
@@ -2157,50 +2157,50 @@
|
|
|
2157
2157
|
}
|
|
2158
2158
|
}
|
|
2159
2159
|
function checkLeadingComma($this) {
|
|
2160
|
-
if ($this.
|
|
2161
|
-
$this.
|
|
2160
|
+
if ($this.x14_1.d1a() === get_TC_COMMA()) {
|
|
2161
|
+
$this.x14_1.c19('Unexpected leading comma');
|
|
2162
2162
|
}
|
|
2163
2163
|
}
|
|
2164
2164
|
function decodeMapIndex($this) {
|
|
2165
2165
|
var hasComma = false;
|
|
2166
|
-
var decodingKey = !(($this.
|
|
2166
|
+
var decodingKey = !(($this.z14_1 % 2 | 0) === 0);
|
|
2167
2167
|
if (decodingKey) {
|
|
2168
|
-
if (!($this.
|
|
2169
|
-
hasComma = $this.
|
|
2168
|
+
if (!($this.z14_1 === -1)) {
|
|
2169
|
+
hasComma = $this.x14_1.t1b();
|
|
2170
2170
|
}
|
|
2171
2171
|
} else {
|
|
2172
|
-
$this.
|
|
2172
|
+
$this.x14_1.s1b(get_COLON());
|
|
2173
2173
|
}
|
|
2174
2174
|
var tmp;
|
|
2175
|
-
if ($this.
|
|
2175
|
+
if ($this.x14_1.e1a()) {
|
|
2176
2176
|
if (decodingKey) {
|
|
2177
|
-
if ($this.
|
|
2177
|
+
if ($this.z14_1 === -1) {
|
|
2178
2178
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2179
|
-
var this_0 = $this.
|
|
2179
|
+
var this_0 = $this.x14_1;
|
|
2180
2180
|
var condition = !hasComma;
|
|
2181
|
-
var position = this_0.
|
|
2181
|
+
var position = this_0.d15_1;
|
|
2182
2182
|
if (!condition) {
|
|
2183
2183
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2184
2184
|
var tmp$ret$0 = 'Unexpected leading comma';
|
|
2185
|
-
this_0.
|
|
2185
|
+
this_0.c19(tmp$ret$0, position);
|
|
2186
2186
|
}
|
|
2187
2187
|
} else {
|
|
2188
2188
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
2189
|
-
var this_1 = $this.
|
|
2189
|
+
var this_1 = $this.x14_1;
|
|
2190
2190
|
var condition_0 = hasComma;
|
|
2191
|
-
var position_0 = this_1.
|
|
2191
|
+
var position_0 = this_1.d15_1;
|
|
2192
2192
|
if (!condition_0) {
|
|
2193
2193
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
2194
2194
|
var tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
2195
|
-
this_1.
|
|
2195
|
+
this_1.c19(tmp$ret$1, position_0);
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
2198
|
}
|
|
2199
|
-
$this.
|
|
2200
|
-
tmp = $this.
|
|
2199
|
+
$this.z14_1 = $this.z14_1 + 1 | 0;
|
|
2200
|
+
tmp = $this.z14_1;
|
|
2201
2201
|
} else {
|
|
2202
|
-
if (hasComma ? !$this.
|
|
2203
|
-
invalidTrailingComma($this.
|
|
2202
|
+
if (hasComma ? !$this.v14_1.o14_1.m16_1 : false) {
|
|
2203
|
+
invalidTrailingComma($this.x14_1);
|
|
2204
2204
|
}
|
|
2205
2205
|
tmp = -1;
|
|
2206
2206
|
}
|
|
@@ -2210,12 +2210,12 @@
|
|
|
2210
2210
|
var tmp$ret$1;
|
|
2211
2211
|
$l$block_2: {
|
|
2212
2212
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2213
|
-
var this_0 = $this.
|
|
2213
|
+
var this_0 = $this.v14_1;
|
|
2214
2214
|
var elementDescriptor = descriptor.gl(index);
|
|
2215
2215
|
var tmp;
|
|
2216
2216
|
if (!elementDescriptor.xk()) {
|
|
2217
2217
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2218
|
-
tmp = $this.
|
|
2218
|
+
tmp = $this.x14_1.u1b(true);
|
|
2219
2219
|
} else {
|
|
2220
2220
|
tmp = false;
|
|
2221
2221
|
}
|
|
@@ -2227,7 +2227,7 @@
|
|
|
2227
2227
|
var tmp_0;
|
|
2228
2228
|
if (elementDescriptor.xk()) {
|
|
2229
2229
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2230
|
-
tmp_0 = $this.
|
|
2230
|
+
tmp_0 = $this.x14_1.u1b(false);
|
|
2231
2231
|
} else {
|
|
2232
2232
|
tmp_0 = false;
|
|
2233
2233
|
}
|
|
@@ -2236,7 +2236,7 @@
|
|
|
2236
2236
|
break $l$block_2;
|
|
2237
2237
|
}
|
|
2238
2238
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2239
|
-
var tmp0_elvis_lhs = $this.
|
|
2239
|
+
var tmp0_elvis_lhs = $this.x14_1.v1b($this.b15_1.a16_1);
|
|
2240
2240
|
var tmp_1;
|
|
2241
2241
|
if (tmp0_elvis_lhs == null) {
|
|
2242
2242
|
tmp$ret$1 = false;
|
|
@@ -2248,7 +2248,7 @@
|
|
|
2248
2248
|
var enumIndex = getJsonNameIndex(elementDescriptor, this_0, enumValue);
|
|
2249
2249
|
if (enumIndex === -3) {
|
|
2250
2250
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
2251
|
-
$this.
|
|
2251
|
+
$this.x14_1.f1a();
|
|
2252
2252
|
tmp$ret$1 = true;
|
|
2253
2253
|
break $l$block_2;
|
|
2254
2254
|
}
|
|
@@ -2258,20 +2258,20 @@
|
|
|
2258
2258
|
return tmp$ret$1;
|
|
2259
2259
|
}
|
|
2260
2260
|
function decodeObjectIndex($this, descriptor) {
|
|
2261
|
-
var hasComma = $this.
|
|
2262
|
-
while ($this.
|
|
2261
|
+
var hasComma = $this.x14_1.t1b();
|
|
2262
|
+
while ($this.x14_1.e1a()) {
|
|
2263
2263
|
hasComma = false;
|
|
2264
2264
|
var key = decodeStringKey($this);
|
|
2265
|
-
$this.
|
|
2266
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
2265
|
+
$this.x14_1.s1b(get_COLON());
|
|
2266
|
+
var index = getJsonNameIndex(descriptor, $this.v14_1, key);
|
|
2267
2267
|
var tmp;
|
|
2268
2268
|
if (!(index === -3)) {
|
|
2269
2269
|
var tmp_0;
|
|
2270
|
-
if ($this.
|
|
2271
|
-
hasComma = $this.
|
|
2270
|
+
if ($this.b15_1.f16_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
2271
|
+
hasComma = $this.x14_1.t1b();
|
|
2272
2272
|
tmp_0 = false;
|
|
2273
2273
|
} else {
|
|
2274
|
-
var tmp0_safe_receiver = $this.
|
|
2274
|
+
var tmp0_safe_receiver = $this.c15_1;
|
|
2275
2275
|
if (tmp0_safe_receiver == null)
|
|
2276
2276
|
null;
|
|
2277
2277
|
else {
|
|
@@ -2288,10 +2288,10 @@
|
|
|
2288
2288
|
hasComma = handleUnknown($this, key);
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
|
-
if (hasComma ? !$this.
|
|
2292
|
-
invalidTrailingComma($this.
|
|
2291
|
+
if (hasComma ? !$this.v14_1.o14_1.m16_1 : false) {
|
|
2292
|
+
invalidTrailingComma($this.x14_1);
|
|
2293
2293
|
}
|
|
2294
|
-
var tmp1_safe_receiver = $this.
|
|
2294
|
+
var tmp1_safe_receiver = $this.c15_1;
|
|
2295
2295
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.dt();
|
|
2296
2296
|
var tmp_1;
|
|
2297
2297
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -2302,25 +2302,25 @@
|
|
|
2302
2302
|
return tmp_1;
|
|
2303
2303
|
}
|
|
2304
2304
|
function handleUnknown($this, key) {
|
|
2305
|
-
if ($this.
|
|
2306
|
-
$this.
|
|
2305
|
+
if ($this.b15_1.z15_1 ? true : trySkip($this.a15_1, $this, key)) {
|
|
2306
|
+
$this.x14_1.x1b($this.b15_1.a16_1);
|
|
2307
2307
|
} else {
|
|
2308
|
-
$this.
|
|
2308
|
+
$this.x14_1.w1b(key);
|
|
2309
2309
|
}
|
|
2310
|
-
return $this.
|
|
2310
|
+
return $this.x14_1.t1b();
|
|
2311
2311
|
}
|
|
2312
2312
|
function decodeListIndex($this) {
|
|
2313
|
-
var hasComma = $this.
|
|
2313
|
+
var hasComma = $this.x14_1.t1b();
|
|
2314
2314
|
var tmp;
|
|
2315
|
-
if ($this.
|
|
2316
|
-
if (!($this.
|
|
2317
|
-
$this.
|
|
2315
|
+
if ($this.x14_1.e1a()) {
|
|
2316
|
+
if (!($this.z14_1 === -1) ? !hasComma : false) {
|
|
2317
|
+
$this.x14_1.c19('Expected end of the array or comma');
|
|
2318
2318
|
}
|
|
2319
|
-
$this.
|
|
2320
|
-
tmp = $this.
|
|
2319
|
+
$this.z14_1 = $this.z14_1 + 1 | 0;
|
|
2320
|
+
tmp = $this.z14_1;
|
|
2321
2321
|
} else {
|
|
2322
|
-
if (hasComma ? !$this.
|
|
2323
|
-
invalidTrailingComma($this.
|
|
2322
|
+
if (hasComma ? !$this.v14_1.o14_1.m16_1 : false) {
|
|
2323
|
+
invalidTrailingComma($this.x14_1, 'array');
|
|
2324
2324
|
}
|
|
2325
2325
|
tmp = -1;
|
|
2326
2326
|
}
|
|
@@ -2328,32 +2328,32 @@
|
|
|
2328
2328
|
}
|
|
2329
2329
|
function decodeStringKey($this) {
|
|
2330
2330
|
var tmp;
|
|
2331
|
-
if ($this.
|
|
2332
|
-
tmp = $this.
|
|
2331
|
+
if ($this.b15_1.a16_1) {
|
|
2332
|
+
tmp = $this.x14_1.z1b();
|
|
2333
2333
|
} else {
|
|
2334
|
-
tmp = $this.
|
|
2334
|
+
tmp = $this.x14_1.y1b();
|
|
2335
2335
|
}
|
|
2336
2336
|
return tmp;
|
|
2337
2337
|
}
|
|
2338
2338
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
2339
2339
|
AbstractDecoder.call(this);
|
|
2340
|
-
this.
|
|
2341
|
-
this.
|
|
2342
|
-
this.
|
|
2343
|
-
this.
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2346
|
-
this.
|
|
2347
|
-
this.
|
|
2348
|
-
}
|
|
2349
|
-
protoOf(StreamingJsonDecoder).
|
|
2350
|
-
return this.
|
|
2340
|
+
this.v14_1 = json;
|
|
2341
|
+
this.w14_1 = mode;
|
|
2342
|
+
this.x14_1 = lexer;
|
|
2343
|
+
this.y14_1 = this.v14_1.mn();
|
|
2344
|
+
this.z14_1 = -1;
|
|
2345
|
+
this.a15_1 = discriminatorHolder;
|
|
2346
|
+
this.b15_1 = this.v14_1.o14_1;
|
|
2347
|
+
this.c15_1 = this.b15_1.d16_1 ? null : new JsonElementMarker(descriptor);
|
|
2348
|
+
}
|
|
2349
|
+
protoOf(StreamingJsonDecoder).n16 = function () {
|
|
2350
|
+
return this.v14_1;
|
|
2351
2351
|
};
|
|
2352
2352
|
protoOf(StreamingJsonDecoder).mn = function () {
|
|
2353
|
-
return this.
|
|
2353
|
+
return this.y14_1;
|
|
2354
2354
|
};
|
|
2355
|
-
protoOf(StreamingJsonDecoder).
|
|
2356
|
-
return (new JsonTreeReader(this.
|
|
2355
|
+
protoOf(StreamingJsonDecoder).o16 = function () {
|
|
2356
|
+
return (new JsonTreeReader(this.v14_1.o14_1, this.x14_1)).h1a();
|
|
2357
2357
|
};
|
|
2358
2358
|
protoOf(StreamingJsonDecoder).wm = function (deserializer) {
|
|
2359
2359
|
try {
|
|
@@ -2361,13 +2361,13 @@
|
|
|
2361
2361
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
2362
2362
|
tmp = true;
|
|
2363
2363
|
} else {
|
|
2364
|
-
tmp = this.
|
|
2364
|
+
tmp = this.v14_1.o14_1.g16_1;
|
|
2365
2365
|
}
|
|
2366
2366
|
if (tmp) {
|
|
2367
2367
|
return deserializer.rj(this);
|
|
2368
2368
|
}
|
|
2369
|
-
var discriminator = classDiscriminator(deserializer.pj(), this.
|
|
2370
|
-
var tmp0_elvis_lhs = this.
|
|
2369
|
+
var discriminator = classDiscriminator(deserializer.pj(), this.v14_1);
|
|
2370
|
+
var tmp0_elvis_lhs = this.x14_1.a1c(discriminator, this.b15_1.a16_1);
|
|
2371
2371
|
var tmp_0;
|
|
2372
2372
|
if (tmp0_elvis_lhs == null) {
|
|
2373
2373
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
@@ -2384,7 +2384,7 @@
|
|
|
2384
2384
|
var it = $p;
|
|
2385
2385
|
var message = removeSuffix(substringBefore(ensureNotNull(it.message), _Char___init__impl__6a9atx(10)), '.');
|
|
2386
2386
|
var hint = substringAfter(ensureNotNull(it.message), _Char___init__impl__6a9atx(10), '');
|
|
2387
|
-
this.
|
|
2387
|
+
this.x14_1.c19(message, VOID, hint);
|
|
2388
2388
|
} else {
|
|
2389
2389
|
throw $p;
|
|
2390
2390
|
}
|
|
@@ -2392,37 +2392,37 @@
|
|
|
2392
2392
|
}
|
|
2393
2393
|
var tmp_3 = tmp_1;
|
|
2394
2394
|
var actualSerializer = isInterface(tmp_3, DeserializationStrategy) ? tmp_3 : THROW_CCE();
|
|
2395
|
-
this.
|
|
2395
|
+
this.a15_1 = new DiscriminatorHolder(discriminator);
|
|
2396
2396
|
return actualSerializer.rj(this);
|
|
2397
2397
|
} catch ($p) {
|
|
2398
2398
|
if ($p instanceof MissingFieldException) {
|
|
2399
2399
|
var e = $p;
|
|
2400
2400
|
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2401
2401
|
throw e;
|
|
2402
|
-
throw new MissingFieldException(e.sk_1, plus(e.message, ' at path: ') + this.
|
|
2402
|
+
throw new MissingFieldException(e.sk_1, plus(e.message, ' at path: ') + this.x14_1.e15_1.p19(), e);
|
|
2403
2403
|
} else {
|
|
2404
2404
|
throw $p;
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
2407
|
};
|
|
2408
2408
|
protoOf(StreamingJsonDecoder).xm = function (descriptor) {
|
|
2409
|
-
var newMode = switchMode(this.
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2409
|
+
var newMode = switchMode(this.v14_1, descriptor);
|
|
2410
|
+
this.x14_1.e15_1.k19(descriptor);
|
|
2411
|
+
this.x14_1.s1b(newMode.d1c_1);
|
|
2412
2412
|
checkLeadingComma(this);
|
|
2413
2413
|
var tmp;
|
|
2414
2414
|
switch (newMode.g8_1) {
|
|
2415
2415
|
case 1:
|
|
2416
2416
|
case 2:
|
|
2417
2417
|
case 3:
|
|
2418
|
-
tmp = new StreamingJsonDecoder(this.
|
|
2418
|
+
tmp = new StreamingJsonDecoder(this.v14_1, newMode, this.x14_1, descriptor, this.a15_1);
|
|
2419
2419
|
break;
|
|
2420
2420
|
default:
|
|
2421
2421
|
var tmp_0;
|
|
2422
|
-
if (this.
|
|
2422
|
+
if (this.w14_1.equals(newMode) ? this.v14_1.o14_1.d16_1 : false) {
|
|
2423
2423
|
tmp_0 = this;
|
|
2424
2424
|
} else {
|
|
2425
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2425
|
+
tmp_0 = new StreamingJsonDecoder(this.v14_1, newMode, this.x14_1, descriptor, this.a15_1);
|
|
2426
2426
|
}
|
|
2427
2427
|
|
|
2428
2428
|
tmp = tmp_0;
|
|
@@ -2431,21 +2431,21 @@
|
|
|
2431
2431
|
return tmp;
|
|
2432
2432
|
};
|
|
2433
2433
|
protoOf(StreamingJsonDecoder).ym = function (descriptor) {
|
|
2434
|
-
if (this.
|
|
2434
|
+
if (this.v14_1.o14_1.z15_1 ? descriptor.cl() === 0 : false) {
|
|
2435
2435
|
skipLeftoverElements(this, descriptor);
|
|
2436
2436
|
}
|
|
2437
|
-
if (this.
|
|
2438
|
-
invalidTrailingComma(this.
|
|
2437
|
+
if (this.x14_1.t1b() ? !this.v14_1.o14_1.m16_1 : false) {
|
|
2438
|
+
invalidTrailingComma(this.x14_1, '');
|
|
2439
2439
|
}
|
|
2440
|
-
this.
|
|
2441
|
-
this.
|
|
2440
|
+
this.x14_1.s1b(this.w14_1.e1c_1);
|
|
2441
|
+
this.x14_1.e15_1.o19();
|
|
2442
2442
|
};
|
|
2443
2443
|
protoOf(StreamingJsonDecoder).im = function () {
|
|
2444
2444
|
var tmp;
|
|
2445
|
-
var tmp0_safe_receiver = this.
|
|
2446
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2445
|
+
var tmp0_safe_receiver = this.c15_1;
|
|
2446
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a19_1;
|
|
2447
2447
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2448
|
-
tmp = !this.
|
|
2448
|
+
tmp = !this.x14_1.f1c();
|
|
2449
2449
|
} else {
|
|
2450
2450
|
tmp = false;
|
|
2451
2451
|
}
|
|
@@ -2455,19 +2455,19 @@
|
|
|
2455
2455
|
return null;
|
|
2456
2456
|
};
|
|
2457
2457
|
protoOf(StreamingJsonDecoder).jn = function (descriptor, index, deserializer, previousValue) {
|
|
2458
|
-
var isMapKey = this.
|
|
2458
|
+
var isMapKey = this.w14_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2459
2459
|
if (isMapKey) {
|
|
2460
|
-
this.
|
|
2460
|
+
this.x14_1.e15_1.n19();
|
|
2461
2461
|
}
|
|
2462
2462
|
var value = protoOf(AbstractDecoder).jn.call(this, descriptor, index, deserializer, previousValue);
|
|
2463
2463
|
if (isMapKey) {
|
|
2464
|
-
this.
|
|
2464
|
+
this.x14_1.e15_1.m19(value);
|
|
2465
2465
|
}
|
|
2466
2466
|
return value;
|
|
2467
2467
|
};
|
|
2468
2468
|
protoOf(StreamingJsonDecoder).on = function (descriptor) {
|
|
2469
2469
|
var index;
|
|
2470
|
-
switch (this.
|
|
2470
|
+
switch (this.w14_1.g8_1) {
|
|
2471
2471
|
case 0:
|
|
2472
2472
|
index = decodeObjectIndex(this, descriptor);
|
|
2473
2473
|
break;
|
|
@@ -2478,44 +2478,44 @@
|
|
|
2478
2478
|
index = decodeListIndex(this);
|
|
2479
2479
|
break;
|
|
2480
2480
|
}
|
|
2481
|
-
if (!this.
|
|
2482
|
-
this.
|
|
2481
|
+
if (!this.w14_1.equals(WriteMode_MAP_getInstance())) {
|
|
2482
|
+
this.x14_1.e15_1.l19(index);
|
|
2483
2483
|
}
|
|
2484
2484
|
return index;
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(StreamingJsonDecoder).km = function () {
|
|
2487
|
-
return this.
|
|
2487
|
+
return this.x14_1.g1c();
|
|
2488
2488
|
};
|
|
2489
2489
|
protoOf(StreamingJsonDecoder).lm = function () {
|
|
2490
|
-
var value = this.
|
|
2490
|
+
var value = this.x14_1.d17();
|
|
2491
2491
|
if (!value.equals(toLong(value.ba()))) {
|
|
2492
|
-
this.
|
|
2492
|
+
this.x14_1.c19("Failed to parse byte for input '" + value.toString() + "'");
|
|
2493
2493
|
}
|
|
2494
2494
|
return value.ba();
|
|
2495
2495
|
};
|
|
2496
2496
|
protoOf(StreamingJsonDecoder).mm = function () {
|
|
2497
|
-
var value = this.
|
|
2497
|
+
var value = this.x14_1.d17();
|
|
2498
2498
|
if (!value.equals(toLong(value.ca()))) {
|
|
2499
|
-
this.
|
|
2499
|
+
this.x14_1.c19("Failed to parse short for input '" + value.toString() + "'");
|
|
2500
2500
|
}
|
|
2501
2501
|
return value.ca();
|
|
2502
2502
|
};
|
|
2503
2503
|
protoOf(StreamingJsonDecoder).nm = function () {
|
|
2504
|
-
var value = this.
|
|
2504
|
+
var value = this.x14_1.d17();
|
|
2505
2505
|
if (!value.equals(toLong(value.s8()))) {
|
|
2506
|
-
this.
|
|
2506
|
+
this.x14_1.c19("Failed to parse int for input '" + value.toString() + "'");
|
|
2507
2507
|
}
|
|
2508
2508
|
return value.s8();
|
|
2509
2509
|
};
|
|
2510
2510
|
protoOf(StreamingJsonDecoder).om = function () {
|
|
2511
|
-
return this.
|
|
2511
|
+
return this.x14_1.d17();
|
|
2512
2512
|
};
|
|
2513
2513
|
protoOf(StreamingJsonDecoder).pm = function () {
|
|
2514
2514
|
var tmp$ret$4;
|
|
2515
2515
|
$l$block: {
|
|
2516
2516
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2517
|
-
var this_0 = this.
|
|
2518
|
-
var input = this_0.
|
|
2517
|
+
var this_0 = this.x14_1;
|
|
2518
|
+
var input = this_0.g1a();
|
|
2519
2519
|
try {
|
|
2520
2520
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2521
2521
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2526,24 +2526,24 @@
|
|
|
2526
2526
|
} catch ($p) {
|
|
2527
2527
|
if ($p instanceof IllegalArgumentException) {
|
|
2528
2528
|
var e = $p;
|
|
2529
|
-
this_0.
|
|
2529
|
+
this_0.c19("Failed to parse type '" + 'float' + "' for input '" + input + "'");
|
|
2530
2530
|
} else {
|
|
2531
2531
|
throw $p;
|
|
2532
2532
|
}
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
2535
2535
|
var result = tmp$ret$4;
|
|
2536
|
-
var specialFp = this.
|
|
2536
|
+
var specialFp = this.v14_1.o14_1.i16_1;
|
|
2537
2537
|
if (specialFp ? true : isFinite(result))
|
|
2538
2538
|
return result;
|
|
2539
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2539
|
+
throwInvalidFloatingPointDecoded(this.x14_1, result);
|
|
2540
2540
|
};
|
|
2541
2541
|
protoOf(StreamingJsonDecoder).qm = function () {
|
|
2542
2542
|
var tmp$ret$1;
|
|
2543
2543
|
$l$block: {
|
|
2544
2544
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2545
|
-
var this_0 = this.
|
|
2546
|
-
var input = this_0.
|
|
2545
|
+
var this_0 = this.x14_1;
|
|
2546
|
+
var input = this_0.g1a();
|
|
2547
2547
|
try {
|
|
2548
2548
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2549
2549
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2551,47 +2551,47 @@
|
|
|
2551
2551
|
} catch ($p) {
|
|
2552
2552
|
if ($p instanceof IllegalArgumentException) {
|
|
2553
2553
|
var e = $p;
|
|
2554
|
-
this_0.
|
|
2554
|
+
this_0.c19("Failed to parse type '" + 'double' + "' for input '" + input + "'");
|
|
2555
2555
|
} else {
|
|
2556
2556
|
throw $p;
|
|
2557
2557
|
}
|
|
2558
2558
|
}
|
|
2559
2559
|
}
|
|
2560
2560
|
var result = tmp$ret$1;
|
|
2561
|
-
var specialFp = this.
|
|
2561
|
+
var specialFp = this.v14_1.o14_1.i16_1;
|
|
2562
2562
|
if (specialFp ? true : isFinite_0(result))
|
|
2563
2563
|
return result;
|
|
2564
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2564
|
+
throwInvalidFloatingPointDecoded(this.x14_1, result);
|
|
2565
2565
|
};
|
|
2566
2566
|
protoOf(StreamingJsonDecoder).rm = function () {
|
|
2567
|
-
var string = this.
|
|
2567
|
+
var string = this.x14_1.g1a();
|
|
2568
2568
|
if (!(string.length === 1)) {
|
|
2569
|
-
this.
|
|
2569
|
+
this.x14_1.c19("Expected single char, but got '" + string + "'");
|
|
2570
2570
|
}
|
|
2571
2571
|
return charSequenceGet(string, 0);
|
|
2572
2572
|
};
|
|
2573
2573
|
protoOf(StreamingJsonDecoder).sm = function () {
|
|
2574
2574
|
var tmp;
|
|
2575
|
-
if (this.
|
|
2576
|
-
tmp = this.
|
|
2575
|
+
if (this.b15_1.a16_1) {
|
|
2576
|
+
tmp = this.x14_1.z1b();
|
|
2577
2577
|
} else {
|
|
2578
|
-
tmp = this.
|
|
2578
|
+
tmp = this.x14_1.f1a();
|
|
2579
2579
|
}
|
|
2580
2580
|
return tmp;
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(StreamingJsonDecoder).um = function (descriptor) {
|
|
2583
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2583
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.x14_1, this.v14_1) : protoOf(AbstractDecoder).um.call(this, descriptor);
|
|
2584
2584
|
};
|
|
2585
2585
|
protoOf(StreamingJsonDecoder).tm = function (enumDescriptor) {
|
|
2586
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2586
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.v14_1, this.sm(), ' at path ' + this.x14_1.e15_1.p19());
|
|
2587
2587
|
};
|
|
2588
2588
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2589
2589
|
AbstractDecoder.call(this);
|
|
2590
|
-
this.
|
|
2591
|
-
this.
|
|
2590
|
+
this.h1c_1 = lexer;
|
|
2591
|
+
this.i1c_1 = json.mn();
|
|
2592
2592
|
}
|
|
2593
2593
|
protoOf(JsonDecoderForUnsignedTypes).mn = function () {
|
|
2594
|
-
return this.
|
|
2594
|
+
return this.i1c_1;
|
|
2595
2595
|
};
|
|
2596
2596
|
protoOf(JsonDecoderForUnsignedTypes).on = function (descriptor) {
|
|
2597
2597
|
var message = 'unsupported';
|
|
@@ -2601,8 +2601,8 @@
|
|
|
2601
2601
|
var tmp$ret$2;
|
|
2602
2602
|
$l$block: {
|
|
2603
2603
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2604
|
-
var this_0 = this.
|
|
2605
|
-
var input = this_0.
|
|
2604
|
+
var this_0 = this.h1c_1;
|
|
2605
|
+
var input = this_0.g1a();
|
|
2606
2606
|
try {
|
|
2607
2607
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2608
2608
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2612,7 +2612,7 @@
|
|
|
2612
2612
|
} catch ($p) {
|
|
2613
2613
|
if ($p instanceof IllegalArgumentException) {
|
|
2614
2614
|
var e = $p;
|
|
2615
|
-
this_0.
|
|
2615
|
+
this_0.c19("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
|
|
2616
2616
|
} else {
|
|
2617
2617
|
throw $p;
|
|
2618
2618
|
}
|
|
@@ -2624,8 +2624,8 @@
|
|
|
2624
2624
|
var tmp$ret$2;
|
|
2625
2625
|
$l$block: {
|
|
2626
2626
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2627
|
-
var this_0 = this.
|
|
2628
|
-
var input = this_0.
|
|
2627
|
+
var this_0 = this.h1c_1;
|
|
2628
|
+
var input = this_0.g1a();
|
|
2629
2629
|
try {
|
|
2630
2630
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2631
2631
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2635,7 +2635,7 @@
|
|
|
2635
2635
|
} catch ($p) {
|
|
2636
2636
|
if ($p instanceof IllegalArgumentException) {
|
|
2637
2637
|
var e = $p;
|
|
2638
|
-
this_0.
|
|
2638
|
+
this_0.c19("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
|
|
2639
2639
|
} else {
|
|
2640
2640
|
throw $p;
|
|
2641
2641
|
}
|
|
@@ -2647,8 +2647,8 @@
|
|
|
2647
2647
|
var tmp$ret$2;
|
|
2648
2648
|
$l$block: {
|
|
2649
2649
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2650
|
-
var this_0 = this.
|
|
2651
|
-
var input = this_0.
|
|
2650
|
+
var this_0 = this.h1c_1;
|
|
2651
|
+
var input = this_0.g1a();
|
|
2652
2652
|
try {
|
|
2653
2653
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2654
2654
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2658,7 +2658,7 @@
|
|
|
2658
2658
|
} catch ($p) {
|
|
2659
2659
|
if ($p instanceof IllegalArgumentException) {
|
|
2660
2660
|
var e = $p;
|
|
2661
|
-
this_0.
|
|
2661
|
+
this_0.c19("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
|
|
2662
2662
|
} else {
|
|
2663
2663
|
throw $p;
|
|
2664
2664
|
}
|
|
@@ -2670,8 +2670,8 @@
|
|
|
2670
2670
|
var tmp$ret$2;
|
|
2671
2671
|
$l$block: {
|
|
2672
2672
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2673
|
-
var this_0 = this.
|
|
2674
|
-
var input = this_0.
|
|
2673
|
+
var this_0 = this.h1c_1;
|
|
2674
|
+
var input = this_0.g1a();
|
|
2675
2675
|
try {
|
|
2676
2676
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2677
2677
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2681,7 +2681,7 @@
|
|
|
2681
2681
|
} catch ($p) {
|
|
2682
2682
|
if ($p instanceof IllegalArgumentException) {
|
|
2683
2683
|
var e = $p;
|
|
2684
|
-
this_0.
|
|
2684
|
+
this_0.c19("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
|
|
2685
2685
|
} else {
|
|
2686
2686
|
throw $p;
|
|
2687
2687
|
}
|
|
@@ -2702,37 +2702,37 @@
|
|
|
2702
2702
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
2703
2703
|
}
|
|
2704
2704
|
function encodeTypeInfo($this, descriptor) {
|
|
2705
|
-
$this.
|
|
2706
|
-
$this.bo(ensureNotNull($this.
|
|
2707
|
-
$this.
|
|
2708
|
-
$this.
|
|
2705
|
+
$this.q19_1.z17();
|
|
2706
|
+
$this.bo(ensureNotNull($this.x19_1));
|
|
2707
|
+
$this.q19_1.b18(get_COLON());
|
|
2708
|
+
$this.q19_1.a18();
|
|
2709
2709
|
$this.bo(descriptor.qk());
|
|
2710
2710
|
}
|
|
2711
2711
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
2712
2712
|
AbstractEncoder.call(this);
|
|
2713
|
-
this.
|
|
2714
|
-
this.
|
|
2715
|
-
this.
|
|
2716
|
-
this.
|
|
2717
|
-
this.
|
|
2718
|
-
this.
|
|
2719
|
-
this.
|
|
2720
|
-
this.
|
|
2721
|
-
var i = this.
|
|
2722
|
-
if (!(this.
|
|
2723
|
-
if (!(this.
|
|
2724
|
-
this.
|
|
2713
|
+
this.q19_1 = composer;
|
|
2714
|
+
this.r19_1 = json;
|
|
2715
|
+
this.s19_1 = mode;
|
|
2716
|
+
this.t19_1 = modeReuseCache;
|
|
2717
|
+
this.u19_1 = this.r19_1.mn();
|
|
2718
|
+
this.v19_1 = this.r19_1.o14_1;
|
|
2719
|
+
this.w19_1 = false;
|
|
2720
|
+
this.x19_1 = null;
|
|
2721
|
+
var i = this.s19_1.g8_1;
|
|
2722
|
+
if (!(this.t19_1 == null)) {
|
|
2723
|
+
if (!(this.t19_1[i] === null) ? true : !(this.t19_1[i] === this)) {
|
|
2724
|
+
this.t19_1[i] = this;
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
|
-
protoOf(StreamingJsonEncoder).
|
|
2729
|
-
return this.
|
|
2728
|
+
protoOf(StreamingJsonEncoder).n16 = function () {
|
|
2729
|
+
return this.r19_1;
|
|
2730
2730
|
};
|
|
2731
2731
|
protoOf(StreamingJsonEncoder).mn = function () {
|
|
2732
|
-
return this.
|
|
2732
|
+
return this.u19_1;
|
|
2733
2733
|
};
|
|
2734
2734
|
protoOf(StreamingJsonEncoder).uo = function (descriptor, index) {
|
|
2735
|
-
return this.
|
|
2735
|
+
return this.v19_1.y15_1;
|
|
2736
2736
|
};
|
|
2737
2737
|
protoOf(StreamingJsonEncoder).po = function (serializer, value) {
|
|
2738
2738
|
$l$block: {
|
|
@@ -2741,100 +2741,100 @@
|
|
|
2741
2741
|
if (!(serializer instanceof AbstractPolymorphicSerializer)) {
|
|
2742
2742
|
tmp = true;
|
|
2743
2743
|
} else {
|
|
2744
|
-
tmp = this.
|
|
2744
|
+
tmp = this.n16().o14_1.g16_1;
|
|
2745
2745
|
}
|
|
2746
2746
|
if (tmp) {
|
|
2747
2747
|
serializer.qj(this, value);
|
|
2748
2748
|
break $l$block;
|
|
2749
2749
|
}
|
|
2750
2750
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
2751
|
-
var baseClassDiscriminator = classDiscriminator(serializer.pj(), this.
|
|
2751
|
+
var baseClassDiscriminator = classDiscriminator(serializer.pj(), this.n16());
|
|
2752
2752
|
var actualSerializer = findPolymorphicSerializer_0(casted, this, !(value == null) ? value : THROW_CCE());
|
|
2753
2753
|
validateIfSealed$accessor$1ad0flx(casted, actualSerializer, baseClassDiscriminator);
|
|
2754
2754
|
checkKind(actualSerializer.pj().el());
|
|
2755
2755
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
2756
|
-
this.
|
|
2756
|
+
this.x19_1 = baseClassDiscriminator;
|
|
2757
2757
|
actualSerializer.qj(this, value);
|
|
2758
2758
|
}
|
|
2759
2759
|
};
|
|
2760
2760
|
protoOf(StreamingJsonEncoder).xm = function (descriptor) {
|
|
2761
|
-
var newMode = switchMode(this.
|
|
2762
|
-
if (!(newMode.
|
|
2763
|
-
this.
|
|
2764
|
-
this.
|
|
2761
|
+
var newMode = switchMode(this.r19_1, descriptor);
|
|
2762
|
+
if (!(newMode.d1c_1 === get_INVALID())) {
|
|
2763
|
+
this.q19_1.b18(newMode.d1c_1);
|
|
2764
|
+
this.q19_1.x17();
|
|
2765
2765
|
}
|
|
2766
|
-
if (!(this.
|
|
2766
|
+
if (!(this.x19_1 == null)) {
|
|
2767
2767
|
encodeTypeInfo(this, descriptor);
|
|
2768
|
-
this.
|
|
2768
|
+
this.x19_1 = null;
|
|
2769
2769
|
}
|
|
2770
|
-
if (this.
|
|
2770
|
+
if (this.s19_1.equals(newMode)) {
|
|
2771
2771
|
return this;
|
|
2772
2772
|
}
|
|
2773
|
-
var tmp0_safe_receiver = this.
|
|
2773
|
+
var tmp0_safe_receiver = this.t19_1;
|
|
2774
2774
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.g8_1];
|
|
2775
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
2775
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.q19_1, this.r19_1, newMode, this.t19_1) : tmp1_elvis_lhs;
|
|
2776
2776
|
};
|
|
2777
2777
|
protoOf(StreamingJsonEncoder).ym = function (descriptor) {
|
|
2778
|
-
if (!(this.
|
|
2779
|
-
this.
|
|
2780
|
-
this.
|
|
2781
|
-
this.
|
|
2778
|
+
if (!(this.s19_1.e1c_1 === get_INVALID())) {
|
|
2779
|
+
this.q19_1.y17();
|
|
2780
|
+
this.q19_1.z17();
|
|
2781
|
+
this.q19_1.b18(this.s19_1.e1c_1);
|
|
2782
2782
|
}
|
|
2783
2783
|
};
|
|
2784
2784
|
protoOf(StreamingJsonEncoder).qn = function (descriptor, index) {
|
|
2785
|
-
switch (this.
|
|
2785
|
+
switch (this.s19_1.g8_1) {
|
|
2786
2786
|
case 1:
|
|
2787
|
-
if (!this.
|
|
2788
|
-
this.
|
|
2787
|
+
if (!this.q19_1.w17_1) {
|
|
2788
|
+
this.q19_1.b18(get_COMMA());
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
|
-
this.
|
|
2791
|
+
this.q19_1.z17();
|
|
2792
2792
|
break;
|
|
2793
2793
|
case 2:
|
|
2794
|
-
if (!this.
|
|
2794
|
+
if (!this.q19_1.w17_1) {
|
|
2795
2795
|
var tmp = this;
|
|
2796
2796
|
var tmp_0;
|
|
2797
2797
|
if ((index % 2 | 0) === 0) {
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2798
|
+
this.q19_1.b18(get_COMMA());
|
|
2799
|
+
this.q19_1.z17();
|
|
2800
2800
|
tmp_0 = true;
|
|
2801
2801
|
} else {
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2802
|
+
this.q19_1.b18(get_COLON());
|
|
2803
|
+
this.q19_1.a18();
|
|
2804
2804
|
tmp_0 = false;
|
|
2805
2805
|
}
|
|
2806
|
-
tmp.
|
|
2806
|
+
tmp.w19_1 = tmp_0;
|
|
2807
2807
|
} else {
|
|
2808
|
-
this.
|
|
2809
|
-
this.
|
|
2808
|
+
this.w19_1 = true;
|
|
2809
|
+
this.q19_1.z17();
|
|
2810
2810
|
}
|
|
2811
2811
|
|
|
2812
2812
|
break;
|
|
2813
2813
|
case 3:
|
|
2814
2814
|
if (index === 0)
|
|
2815
|
-
this.
|
|
2815
|
+
this.w19_1 = true;
|
|
2816
2816
|
if (index === 1) {
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2819
|
-
this.
|
|
2817
|
+
this.q19_1.b18(get_COMMA());
|
|
2818
|
+
this.q19_1.a18();
|
|
2819
|
+
this.w19_1 = false;
|
|
2820
2820
|
}
|
|
2821
2821
|
|
|
2822
2822
|
break;
|
|
2823
2823
|
default:
|
|
2824
|
-
if (!this.
|
|
2825
|
-
this.
|
|
2824
|
+
if (!this.q19_1.w17_1) {
|
|
2825
|
+
this.q19_1.b18(get_COMMA());
|
|
2826
2826
|
}
|
|
2827
2827
|
|
|
2828
|
-
this.
|
|
2829
|
-
this.bo(getJsonElementName(descriptor, this.
|
|
2830
|
-
this.
|
|
2831
|
-
this.
|
|
2828
|
+
this.q19_1.z17();
|
|
2829
|
+
this.bo(getJsonElementName(descriptor, this.r19_1, index));
|
|
2830
|
+
this.q19_1.b18(get_COLON());
|
|
2831
|
+
this.q19_1.a18();
|
|
2832
2832
|
break;
|
|
2833
2833
|
}
|
|
2834
2834
|
return true;
|
|
2835
2835
|
};
|
|
2836
2836
|
protoOf(StreamingJsonEncoder).qo = function (descriptor, index, serializer, value) {
|
|
2837
|
-
if (!(value == null) ? true : this.
|
|
2837
|
+
if (!(value == null) ? true : this.v19_1.d16_1) {
|
|
2838
2838
|
protoOf(AbstractEncoder).qo.call(this, descriptor, index, serializer, value);
|
|
2839
2839
|
}
|
|
2840
2840
|
};
|
|
@@ -2843,93 +2843,93 @@
|
|
|
2843
2843
|
if (get_isUnsignedNumber(descriptor)) {
|
|
2844
2844
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2845
2845
|
var tmp_0;
|
|
2846
|
-
var tmp_1 = this.
|
|
2846
|
+
var tmp_1 = this.q19_1;
|
|
2847
2847
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
2848
|
-
tmp_0 = this.
|
|
2848
|
+
tmp_0 = this.q19_1;
|
|
2849
2849
|
} else {
|
|
2850
|
-
tmp_0 = new ComposerForUnsignedNumbers(this.
|
|
2850
|
+
tmp_0 = new ComposerForUnsignedNumbers(this.q19_1.v17_1, this.w19_1);
|
|
2851
2851
|
}
|
|
2852
2852
|
var tmp$ret$1 = tmp_0;
|
|
2853
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
2853
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.r19_1, this.s19_1, null);
|
|
2854
2854
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
2855
2855
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
2856
2856
|
var tmp_2;
|
|
2857
|
-
var tmp_3 = this.
|
|
2857
|
+
var tmp_3 = this.q19_1;
|
|
2858
2858
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
2859
|
-
tmp_2 = this.
|
|
2859
|
+
tmp_2 = this.q19_1;
|
|
2860
2860
|
} else {
|
|
2861
|
-
tmp_2 = new ComposerForUnquotedLiterals(this.
|
|
2861
|
+
tmp_2 = new ComposerForUnquotedLiterals(this.q19_1.v17_1, this.w19_1);
|
|
2862
2862
|
}
|
|
2863
2863
|
var tmp$ret$3 = tmp_2;
|
|
2864
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
2864
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.r19_1, this.s19_1, null);
|
|
2865
2865
|
} else {
|
|
2866
2866
|
tmp = protoOf(AbstractEncoder).do.call(this, descriptor);
|
|
2867
2867
|
}
|
|
2868
2868
|
return tmp;
|
|
2869
2869
|
};
|
|
2870
2870
|
protoOf(StreamingJsonEncoder).sn = function () {
|
|
2871
|
-
this.
|
|
2871
|
+
this.q19_1.d18(get_NULL());
|
|
2872
2872
|
};
|
|
2873
2873
|
protoOf(StreamingJsonEncoder).tn = function (value) {
|
|
2874
|
-
if (this.
|
|
2874
|
+
if (this.w19_1) {
|
|
2875
2875
|
this.bo(value.toString());
|
|
2876
2876
|
} else {
|
|
2877
|
-
this.
|
|
2877
|
+
this.q19_1.m18(value);
|
|
2878
2878
|
}
|
|
2879
2879
|
};
|
|
2880
2880
|
protoOf(StreamingJsonEncoder).un = function (value) {
|
|
2881
|
-
if (this.
|
|
2881
|
+
if (this.w19_1) {
|
|
2882
2882
|
this.bo(value.toString());
|
|
2883
2883
|
} else {
|
|
2884
|
-
this.
|
|
2884
|
+
this.q19_1.h18(value);
|
|
2885
2885
|
}
|
|
2886
2886
|
};
|
|
2887
2887
|
protoOf(StreamingJsonEncoder).vn = function (value) {
|
|
2888
|
-
if (this.
|
|
2888
|
+
if (this.w19_1) {
|
|
2889
2889
|
this.bo(value.toString());
|
|
2890
2890
|
} else {
|
|
2891
|
-
this.
|
|
2891
|
+
this.q19_1.j18(value);
|
|
2892
2892
|
}
|
|
2893
2893
|
};
|
|
2894
2894
|
protoOf(StreamingJsonEncoder).wn = function (value) {
|
|
2895
|
-
if (this.
|
|
2895
|
+
if (this.w19_1) {
|
|
2896
2896
|
this.bo(value.toString());
|
|
2897
2897
|
} else {
|
|
2898
|
-
this.
|
|
2898
|
+
this.q19_1.k18(value);
|
|
2899
2899
|
}
|
|
2900
2900
|
};
|
|
2901
2901
|
protoOf(StreamingJsonEncoder).xn = function (value) {
|
|
2902
|
-
if (this.
|
|
2902
|
+
if (this.w19_1) {
|
|
2903
2903
|
this.bo(value.toString());
|
|
2904
2904
|
} else {
|
|
2905
|
-
this.
|
|
2905
|
+
this.q19_1.l18(value);
|
|
2906
2906
|
}
|
|
2907
2907
|
};
|
|
2908
2908
|
protoOf(StreamingJsonEncoder).yn = function (value) {
|
|
2909
|
-
if (this.
|
|
2909
|
+
if (this.w19_1) {
|
|
2910
2910
|
this.bo(value.toString());
|
|
2911
2911
|
} else {
|
|
2912
|
-
this.
|
|
2912
|
+
this.q19_1.f18(value);
|
|
2913
2913
|
}
|
|
2914
|
-
if (!this.
|
|
2915
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
2914
|
+
if (!this.v19_1.i16_1 ? !isFinite(value) : false) {
|
|
2915
|
+
throw InvalidFloatingPointEncoded(value, toString(this.q19_1.v17_1));
|
|
2916
2916
|
}
|
|
2917
2917
|
};
|
|
2918
2918
|
protoOf(StreamingJsonEncoder).zn = function (value) {
|
|
2919
|
-
if (this.
|
|
2919
|
+
if (this.w19_1) {
|
|
2920
2920
|
this.bo(value.toString());
|
|
2921
2921
|
} else {
|
|
2922
|
-
this.
|
|
2922
|
+
this.q19_1.g18(value);
|
|
2923
2923
|
}
|
|
2924
|
-
if (!this.
|
|
2925
|
-
throw InvalidFloatingPointEncoded(value, toString(this.
|
|
2924
|
+
if (!this.v19_1.i16_1 ? !isFinite_0(value) : false) {
|
|
2925
|
+
throw InvalidFloatingPointEncoded(value, toString(this.q19_1.v17_1));
|
|
2926
2926
|
}
|
|
2927
2927
|
};
|
|
2928
2928
|
protoOf(StreamingJsonEncoder).ao = function (value) {
|
|
2929
2929
|
this.bo(toString_0(value));
|
|
2930
2930
|
};
|
|
2931
2931
|
protoOf(StreamingJsonEncoder).bo = function (value) {
|
|
2932
|
-
return this.
|
|
2932
|
+
return this.q19_1.n18(value);
|
|
2933
2933
|
};
|
|
2934
2934
|
protoOf(StreamingJsonEncoder).co = function (enumDescriptor, index) {
|
|
2935
2935
|
this.bo(enumDescriptor.il(index));
|
|
@@ -3080,7 +3080,7 @@
|
|
|
3080
3080
|
}
|
|
3081
3081
|
}
|
|
3082
3082
|
function unparsedPrimitive($this, primitive) {
|
|
3083
|
-
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.
|
|
3083
|
+
throw JsonDecodingException_0(-1, "Failed to parse literal as '" + primitive + "' value", toString($this.o1c()));
|
|
3084
3084
|
}
|
|
3085
3085
|
function asLiteral(_this__u8e3s4, $this, type) {
|
|
3086
3086
|
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonLiteral ? _this__u8e3s4 : null;
|
|
@@ -3094,21 +3094,21 @@
|
|
|
3094
3094
|
}
|
|
3095
3095
|
function AbstractJsonTreeDecoder(json, value) {
|
|
3096
3096
|
NamedValueDecoder.call(this);
|
|
3097
|
-
this.
|
|
3098
|
-
this.
|
|
3099
|
-
this.
|
|
3097
|
+
this.l1c_1 = json;
|
|
3098
|
+
this.m1c_1 = value;
|
|
3099
|
+
this.n1c_1 = this.n16().o14_1;
|
|
3100
3100
|
}
|
|
3101
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3102
|
-
return this.
|
|
3101
|
+
protoOf(AbstractJsonTreeDecoder).n16 = function () {
|
|
3102
|
+
return this.l1c_1;
|
|
3103
3103
|
};
|
|
3104
3104
|
protoOf(AbstractJsonTreeDecoder).o2 = function () {
|
|
3105
|
-
return this.
|
|
3105
|
+
return this.m1c_1;
|
|
3106
3106
|
};
|
|
3107
3107
|
protoOf(AbstractJsonTreeDecoder).mn = function () {
|
|
3108
|
-
return this.
|
|
3108
|
+
return this.n16().mn();
|
|
3109
3109
|
};
|
|
3110
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3111
|
-
var tmp0_safe_receiver = this.
|
|
3110
|
+
protoOf(AbstractJsonTreeDecoder).o1c = function () {
|
|
3111
|
+
var tmp0_safe_receiver = this.e11();
|
|
3112
3112
|
var tmp;
|
|
3113
3113
|
if (tmp0_safe_receiver == null) {
|
|
3114
3114
|
tmp = null;
|
|
@@ -3116,22 +3116,22 @@
|
|
|
3116
3116
|
// Inline function 'kotlin.let' call
|
|
3117
3117
|
// Inline function 'kotlin.contracts.contract' call
|
|
3118
3118
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
3119
|
-
tmp = this.
|
|
3119
|
+
tmp = this.p1c(tmp0_safe_receiver);
|
|
3120
3120
|
}
|
|
3121
3121
|
var tmp1_elvis_lhs = tmp;
|
|
3122
3122
|
return tmp1_elvis_lhs == null ? this.o2() : tmp1_elvis_lhs;
|
|
3123
3123
|
};
|
|
3124
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3125
|
-
return this.
|
|
3124
|
+
protoOf(AbstractJsonTreeDecoder).o16 = function () {
|
|
3125
|
+
return this.o1c();
|
|
3126
3126
|
};
|
|
3127
3127
|
protoOf(AbstractJsonTreeDecoder).wm = function (deserializer) {
|
|
3128
3128
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
3129
3129
|
};
|
|
3130
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3130
|
+
protoOf(AbstractJsonTreeDecoder).f11 = function (parentName, childName) {
|
|
3131
3131
|
return childName;
|
|
3132
3132
|
};
|
|
3133
3133
|
protoOf(AbstractJsonTreeDecoder).xm = function (descriptor) {
|
|
3134
|
-
var currentObject = this.
|
|
3134
|
+
var currentObject = this.o1c();
|
|
3135
3135
|
var tmp0_subject = descriptor.el();
|
|
3136
3136
|
var tmp;
|
|
3137
3137
|
var tmp_0;
|
|
@@ -3141,7 +3141,7 @@
|
|
|
3141
3141
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
3142
3142
|
}
|
|
3143
3143
|
if (tmp_0) {
|
|
3144
|
-
var tmp_1 = this.
|
|
3144
|
+
var tmp_1 = this.n16();
|
|
3145
3145
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3146
3146
|
if (!(currentObject instanceof JsonArray)) {
|
|
3147
3147
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.qk() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -3150,7 +3150,7 @@
|
|
|
3150
3150
|
} else {
|
|
3151
3151
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3152
3152
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3153
|
-
var this_0 = this.
|
|
3153
|
+
var this_0 = this.n16();
|
|
3154
3154
|
var keyDescriptor = carrierDescriptor(descriptor.gl(0), this_0.mn());
|
|
3155
3155
|
var keyKind = keyDescriptor.el();
|
|
3156
3156
|
var tmp_2;
|
|
@@ -3162,16 +3162,16 @@
|
|
|
3162
3162
|
}
|
|
3163
3163
|
if (tmp_3) {
|
|
3164
3164
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3165
|
-
var tmp_4 = this.
|
|
3165
|
+
var tmp_4 = this.n16();
|
|
3166
3166
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3167
3167
|
if (!(currentObject instanceof JsonObject)) {
|
|
3168
3168
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.qk() + ', but had ' + getKClassFromExpression(currentObject));
|
|
3169
3169
|
}
|
|
3170
3170
|
tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject);
|
|
3171
3171
|
} else {
|
|
3172
|
-
if (this_0.
|
|
3172
|
+
if (this_0.o14_1.b16_1) {
|
|
3173
3173
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
3174
|
-
var tmp_5 = this.
|
|
3174
|
+
var tmp_5 = this.n16();
|
|
3175
3175
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3176
3176
|
if (!(currentObject instanceof JsonArray)) {
|
|
3177
3177
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.qk() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -3183,7 +3183,7 @@
|
|
|
3183
3183
|
}
|
|
3184
3184
|
tmp = tmp_2;
|
|
3185
3185
|
} else {
|
|
3186
|
-
var tmp_6 = this.
|
|
3186
|
+
var tmp_6 = this.n16();
|
|
3187
3187
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3188
3188
|
if (!(currentObject instanceof JsonObject)) {
|
|
3189
3189
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.qk() + ', but had ' + getKClassFromExpression(currentObject));
|
|
@@ -3196,37 +3196,37 @@
|
|
|
3196
3196
|
protoOf(AbstractJsonTreeDecoder).ym = function (descriptor) {
|
|
3197
3197
|
};
|
|
3198
3198
|
protoOf(AbstractJsonTreeDecoder).im = function () {
|
|
3199
|
-
var tmp = this.
|
|
3199
|
+
var tmp = this.o1c();
|
|
3200
3200
|
return !(tmp instanceof JsonNull);
|
|
3201
3201
|
};
|
|
3202
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3203
|
-
var currentElement = this.
|
|
3202
|
+
protoOf(AbstractJsonTreeDecoder).q1c = function (tag) {
|
|
3203
|
+
var currentElement = this.p1c(tag);
|
|
3204
3204
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
3205
3205
|
var tmp;
|
|
3206
3206
|
if (tmp0_elvis_lhs == null) {
|
|
3207
|
-
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.
|
|
3207
|
+
throw JsonDecodingException_0(-1, 'Expected JsonPrimitive at ' + tag + ', found ' + currentElement, toString(this.o1c()));
|
|
3208
3208
|
} else {
|
|
3209
3209
|
tmp = tmp0_elvis_lhs;
|
|
3210
3210
|
}
|
|
3211
3211
|
return tmp;
|
|
3212
3212
|
};
|
|
3213
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3214
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
3213
|
+
protoOf(AbstractJsonTreeDecoder).r1c = function (tag, enumDescriptor) {
|
|
3214
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.n16(), this.q1c(tag).u16());
|
|
3215
3215
|
};
|
|
3216
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3217
|
-
return this.
|
|
3216
|
+
protoOf(AbstractJsonTreeDecoder).r11 = function (tag, enumDescriptor) {
|
|
3217
|
+
return this.r1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
3218
3218
|
};
|
|
3219
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3220
|
-
return !(this.
|
|
3219
|
+
protoOf(AbstractJsonTreeDecoder).s1c = function (tag) {
|
|
3220
|
+
return !(this.p1c(tag) === JsonNull_getInstance());
|
|
3221
3221
|
};
|
|
3222
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3223
|
-
return this.
|
|
3222
|
+
protoOf(AbstractJsonTreeDecoder).h11 = function (tag) {
|
|
3223
|
+
return this.s1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3224
3224
|
};
|
|
3225
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3225
|
+
protoOf(AbstractJsonTreeDecoder).t1c = function (tag) {
|
|
3226
3226
|
var tmp$ret$1;
|
|
3227
3227
|
$l$block: {
|
|
3228
3228
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3229
|
-
var this_0 = this.
|
|
3229
|
+
var this_0 = this.q1c(tag);
|
|
3230
3230
|
try {
|
|
3231
3231
|
var tmp0_elvis_lhs = get_booleanOrNull(this_0);
|
|
3232
3232
|
var tmp;
|
|
@@ -3248,14 +3248,14 @@
|
|
|
3248
3248
|
}
|
|
3249
3249
|
return tmp$ret$1;
|
|
3250
3250
|
};
|
|
3251
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3252
|
-
return this.
|
|
3251
|
+
protoOf(AbstractJsonTreeDecoder).i11 = function (tag) {
|
|
3252
|
+
return this.t1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3253
3253
|
};
|
|
3254
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3254
|
+
protoOf(AbstractJsonTreeDecoder).u1c = function (tag) {
|
|
3255
3255
|
var tmp$ret$1;
|
|
3256
3256
|
$l$block: {
|
|
3257
3257
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3258
|
-
var this_0 = this.
|
|
3258
|
+
var this_0 = this.q1c(tag);
|
|
3259
3259
|
try {
|
|
3260
3260
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
3261
3261
|
var result = get_int(this_0);
|
|
@@ -3286,14 +3286,14 @@
|
|
|
3286
3286
|
}
|
|
3287
3287
|
return tmp$ret$1;
|
|
3288
3288
|
};
|
|
3289
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3290
|
-
return this.
|
|
3289
|
+
protoOf(AbstractJsonTreeDecoder).j11 = function (tag) {
|
|
3290
|
+
return this.u1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3291
3291
|
};
|
|
3292
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3292
|
+
protoOf(AbstractJsonTreeDecoder).v1c = function (tag) {
|
|
3293
3293
|
var tmp$ret$1;
|
|
3294
3294
|
$l$block: {
|
|
3295
3295
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3296
|
-
var this_0 = this.
|
|
3296
|
+
var this_0 = this.q1c(tag);
|
|
3297
3297
|
try {
|
|
3298
3298
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
3299
3299
|
var result = get_int(this_0);
|
|
@@ -3324,14 +3324,14 @@
|
|
|
3324
3324
|
}
|
|
3325
3325
|
return tmp$ret$1;
|
|
3326
3326
|
};
|
|
3327
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3328
|
-
return this.
|
|
3327
|
+
protoOf(AbstractJsonTreeDecoder).k11 = function (tag) {
|
|
3328
|
+
return this.v1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3329
3329
|
};
|
|
3330
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3330
|
+
protoOf(AbstractJsonTreeDecoder).w1c = function (tag) {
|
|
3331
3331
|
var tmp$ret$1;
|
|
3332
3332
|
$l$block: {
|
|
3333
3333
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3334
|
-
var this_0 = this.
|
|
3334
|
+
var this_0 = this.q1c(tag);
|
|
3335
3335
|
try {
|
|
3336
3336
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
3337
3337
|
var tmp0_elvis_lhs = get_int(this_0);
|
|
@@ -3354,14 +3354,14 @@
|
|
|
3354
3354
|
}
|
|
3355
3355
|
return tmp$ret$1;
|
|
3356
3356
|
};
|
|
3357
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3358
|
-
return this.
|
|
3357
|
+
protoOf(AbstractJsonTreeDecoder).l11 = function (tag) {
|
|
3358
|
+
return this.w1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3359
3359
|
};
|
|
3360
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3360
|
+
protoOf(AbstractJsonTreeDecoder).x1c = function (tag) {
|
|
3361
3361
|
var tmp$ret$1;
|
|
3362
3362
|
$l$block: {
|
|
3363
3363
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3364
|
-
var this_0 = this.
|
|
3364
|
+
var this_0 = this.q1c(tag);
|
|
3365
3365
|
try {
|
|
3366
3366
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
3367
3367
|
var tmp0_elvis_lhs = get_long(this_0);
|
|
@@ -3384,14 +3384,14 @@
|
|
|
3384
3384
|
}
|
|
3385
3385
|
return tmp$ret$1;
|
|
3386
3386
|
};
|
|
3387
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3388
|
-
return this.
|
|
3387
|
+
protoOf(AbstractJsonTreeDecoder).m11 = function (tag) {
|
|
3388
|
+
return this.x1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3389
3389
|
};
|
|
3390
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3390
|
+
protoOf(AbstractJsonTreeDecoder).y1c = function (tag) {
|
|
3391
3391
|
var tmp$ret$1;
|
|
3392
3392
|
$l$block: {
|
|
3393
3393
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3394
|
-
var this_0 = this.
|
|
3394
|
+
var this_0 = this.q1c(tag);
|
|
3395
3395
|
try {
|
|
3396
3396
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
3397
3397
|
var tmp0_elvis_lhs = get_float(this_0);
|
|
@@ -3413,19 +3413,19 @@
|
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
3415
|
var result = tmp$ret$1;
|
|
3416
|
-
var specialFp = this.
|
|
3416
|
+
var specialFp = this.n16().o14_1.i16_1;
|
|
3417
3417
|
if (specialFp ? true : isFinite(result))
|
|
3418
3418
|
return result;
|
|
3419
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3419
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.o1c()));
|
|
3420
3420
|
};
|
|
3421
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3422
|
-
return this.
|
|
3421
|
+
protoOf(AbstractJsonTreeDecoder).n11 = function (tag) {
|
|
3422
|
+
return this.y1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3423
3423
|
};
|
|
3424
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3424
|
+
protoOf(AbstractJsonTreeDecoder).z1c = function (tag) {
|
|
3425
3425
|
var tmp$ret$1;
|
|
3426
3426
|
$l$block: {
|
|
3427
3427
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3428
|
-
var this_0 = this.
|
|
3428
|
+
var this_0 = this.q1c(tag);
|
|
3429
3429
|
try {
|
|
3430
3430
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
3431
3431
|
var tmp0_elvis_lhs = get_double(this_0);
|
|
@@ -3447,22 +3447,22 @@
|
|
|
3447
3447
|
}
|
|
3448
3448
|
}
|
|
3449
3449
|
var result = tmp$ret$1;
|
|
3450
|
-
var specialFp = this.
|
|
3450
|
+
var specialFp = this.n16().o14_1.i16_1;
|
|
3451
3451
|
if (specialFp ? true : isFinite_0(result))
|
|
3452
3452
|
return result;
|
|
3453
|
-
throw InvalidFloatingPointDecoded(result, tag, toString(this.
|
|
3453
|
+
throw InvalidFloatingPointDecoded(result, tag, toString(this.o1c()));
|
|
3454
3454
|
};
|
|
3455
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3456
|
-
return this.
|
|
3455
|
+
protoOf(AbstractJsonTreeDecoder).o11 = function (tag) {
|
|
3456
|
+
return this.z1c((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3457
3457
|
};
|
|
3458
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3458
|
+
protoOf(AbstractJsonTreeDecoder).a1d = function (tag) {
|
|
3459
3459
|
var tmp$ret$1;
|
|
3460
3460
|
$l$block: {
|
|
3461
3461
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
3462
|
-
var this_0 = this.
|
|
3462
|
+
var this_0 = this.q1c(tag);
|
|
3463
3463
|
try {
|
|
3464
3464
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
3465
|
-
var tmp0_elvis_lhs = single(this_0.
|
|
3465
|
+
var tmp0_elvis_lhs = single(this_0.u16());
|
|
3466
3466
|
var tmp;
|
|
3467
3467
|
var tmp_0 = tmp0_elvis_lhs;
|
|
3468
3468
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -3483,42 +3483,42 @@
|
|
|
3483
3483
|
}
|
|
3484
3484
|
return tmp$ret$1;
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3487
|
-
return this.
|
|
3486
|
+
protoOf(AbstractJsonTreeDecoder).p11 = function (tag) {
|
|
3487
|
+
return this.a1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3488
3488
|
};
|
|
3489
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3490
|
-
var value = this.
|
|
3491
|
-
if (!this.
|
|
3489
|
+
protoOf(AbstractJsonTreeDecoder).b1d = function (tag) {
|
|
3490
|
+
var value = this.q1c(tag);
|
|
3491
|
+
if (!this.n16().o14_1.a16_1) {
|
|
3492
3492
|
var literal = asLiteral(value, this, 'string');
|
|
3493
|
-
if (!literal.
|
|
3494
|
-
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.
|
|
3493
|
+
if (!literal.w16_1)
|
|
3494
|
+
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(this.o1c()));
|
|
3495
3495
|
}
|
|
3496
3496
|
if (value instanceof JsonNull)
|
|
3497
|
-
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.
|
|
3498
|
-
return value.
|
|
3497
|
+
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(this.o1c()));
|
|
3498
|
+
return value.u16();
|
|
3499
3499
|
};
|
|
3500
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3501
|
-
return this.
|
|
3500
|
+
protoOf(AbstractJsonTreeDecoder).q11 = function (tag) {
|
|
3501
|
+
return this.b1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
3502
3502
|
};
|
|
3503
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3504
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
3503
|
+
protoOf(AbstractJsonTreeDecoder).c1d = function (tag, inlineDescriptor) {
|
|
3504
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.q1c(tag).u16()), this.n16()) : protoOf(NamedValueDecoder).s11.call(this, tag, inlineDescriptor);
|
|
3505
3505
|
};
|
|
3506
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
3507
|
-
return this.
|
|
3506
|
+
protoOf(AbstractJsonTreeDecoder).s11 = function (tag, inlineDescriptor) {
|
|
3507
|
+
return this.c1d((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
3508
3508
|
};
|
|
3509
3509
|
protoOf(AbstractJsonTreeDecoder).um = function (descriptor) {
|
|
3510
|
-
return !(this.
|
|
3510
|
+
return !(this.e11() == null) ? protoOf(NamedValueDecoder).um.call(this, descriptor) : (new JsonPrimitiveDecoder(this.n16(), this.o2())).um(descriptor);
|
|
3511
3511
|
};
|
|
3512
3512
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
3513
3513
|
var tmp$ret$1;
|
|
3514
3514
|
$l$block_2: {
|
|
3515
3515
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
3516
|
-
var this_0 = $this.
|
|
3516
|
+
var this_0 = $this.n16();
|
|
3517
3517
|
var elementDescriptor = descriptor.gl(index);
|
|
3518
3518
|
var tmp;
|
|
3519
3519
|
if (!elementDescriptor.xk()) {
|
|
3520
3520
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3521
|
-
var tmp_0 = $this.
|
|
3521
|
+
var tmp_0 = $this.p1c(tag);
|
|
3522
3522
|
tmp = tmp_0 instanceof JsonNull;
|
|
3523
3523
|
} else {
|
|
3524
3524
|
tmp = false;
|
|
@@ -3531,7 +3531,7 @@
|
|
|
3531
3531
|
var tmp_1;
|
|
3532
3532
|
if (elementDescriptor.xk()) {
|
|
3533
3533
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3534
|
-
var tmp_2 = $this.
|
|
3534
|
+
var tmp_2 = $this.p1c(tag);
|
|
3535
3535
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
3536
3536
|
} else {
|
|
3537
3537
|
tmp_1 = false;
|
|
@@ -3541,7 +3541,7 @@
|
|
|
3541
3541
|
break $l$block_2;
|
|
3542
3542
|
}
|
|
3543
3543
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
3544
|
-
var tmp_3 = $this.
|
|
3544
|
+
var tmp_3 = $this.p1c(tag);
|
|
3545
3545
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
3546
3546
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
3547
3547
|
var tmp_4;
|
|
@@ -3564,29 +3564,29 @@
|
|
|
3564
3564
|
return tmp$ret$1;
|
|
3565
3565
|
}
|
|
3566
3566
|
function absenceIsNull($this, descriptor, index) {
|
|
3567
|
-
$this.
|
|
3568
|
-
return $this.
|
|
3567
|
+
$this.m1d_1 = (!$this.n16().o14_1.d16_1 ? !descriptor.jl(index) : false) ? descriptor.gl(index).xk() : false;
|
|
3568
|
+
return $this.m1d_1;
|
|
3569
3569
|
}
|
|
3570
3570
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
3571
3571
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
3572
3572
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
3573
3573
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3574
|
-
this.
|
|
3575
|
-
this.
|
|
3576
|
-
this.
|
|
3577
|
-
this.
|
|
3578
|
-
this.
|
|
3574
|
+
this.i1d_1 = value;
|
|
3575
|
+
this.j1d_1 = polyDiscriminator;
|
|
3576
|
+
this.k1d_1 = polyDescriptor;
|
|
3577
|
+
this.l1d_1 = 0;
|
|
3578
|
+
this.m1d_1 = false;
|
|
3579
3579
|
}
|
|
3580
3580
|
protoOf(JsonTreeDecoder).o2 = function () {
|
|
3581
|
-
return this.
|
|
3581
|
+
return this.i1d_1;
|
|
3582
3582
|
};
|
|
3583
3583
|
protoOf(JsonTreeDecoder).on = function (descriptor) {
|
|
3584
|
-
while (this.
|
|
3585
|
-
var tmp1 = this.
|
|
3586
|
-
this.
|
|
3587
|
-
var name = this.
|
|
3588
|
-
var index = this.
|
|
3589
|
-
this.
|
|
3584
|
+
while (this.l1d_1 < descriptor.cl()) {
|
|
3585
|
+
var tmp1 = this.l1d_1;
|
|
3586
|
+
this.l1d_1 = tmp1 + 1 | 0;
|
|
3587
|
+
var name = this.z10(descriptor, tmp1);
|
|
3588
|
+
var index = this.l1d_1 - 1 | 0;
|
|
3589
|
+
this.m1d_1 = false;
|
|
3590
3590
|
var tmp;
|
|
3591
3591
|
var tmp_0;
|
|
3592
3592
|
// Inline function 'kotlin.collections.contains' call
|
|
@@ -3598,7 +3598,7 @@
|
|
|
3598
3598
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
3599
3599
|
}
|
|
3600
3600
|
if (tmp_0) {
|
|
3601
|
-
tmp = !this.
|
|
3601
|
+
tmp = !this.n1c_1.f16_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
3602
3602
|
} else {
|
|
3603
3603
|
tmp = false;
|
|
3604
3604
|
}
|
|
@@ -3609,18 +3609,18 @@
|
|
|
3609
3609
|
return -1;
|
|
3610
3610
|
};
|
|
3611
3611
|
protoOf(JsonTreeDecoder).im = function () {
|
|
3612
|
-
return !this.
|
|
3612
|
+
return !this.m1d_1 ? protoOf(AbstractJsonTreeDecoder).im.call(this) : false;
|
|
3613
3613
|
};
|
|
3614
|
-
protoOf(JsonTreeDecoder).
|
|
3615
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3614
|
+
protoOf(JsonTreeDecoder).a11 = function (descriptor, index) {
|
|
3615
|
+
var strategy = namingStrategy(descriptor, this.n16());
|
|
3616
3616
|
var baseName = descriptor.il(index);
|
|
3617
3617
|
if (strategy == null) {
|
|
3618
|
-
if (!this.
|
|
3618
|
+
if (!this.n1c_1.j16_1)
|
|
3619
3619
|
return baseName;
|
|
3620
3620
|
if (this.o2().j2().r(baseName))
|
|
3621
3621
|
return baseName;
|
|
3622
3622
|
}
|
|
3623
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
3623
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.n16(), descriptor);
|
|
3624
3624
|
// Inline function 'kotlin.collections.find' call
|
|
3625
3625
|
var this_0 = this.o2().j2();
|
|
3626
3626
|
var tmp$ret$1;
|
|
@@ -3645,28 +3645,28 @@
|
|
|
3645
3645
|
// Inline function 'kotlin.contracts.contract' call
|
|
3646
3646
|
return tmp0_safe_receiver;
|
|
3647
3647
|
}
|
|
3648
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3648
|
+
var fallbackName = strategy == null ? null : strategy.g19(descriptor, index, baseName);
|
|
3649
3649
|
return fallbackName == null ? baseName : fallbackName;
|
|
3650
3650
|
};
|
|
3651
|
-
protoOf(JsonTreeDecoder).
|
|
3651
|
+
protoOf(JsonTreeDecoder).p1c = function (tag) {
|
|
3652
3652
|
return getValue(this.o2(), tag);
|
|
3653
3653
|
};
|
|
3654
3654
|
protoOf(JsonTreeDecoder).xm = function (descriptor) {
|
|
3655
|
-
if (descriptor === this.
|
|
3656
|
-
var tmp = this.
|
|
3655
|
+
if (descriptor === this.k1d_1) {
|
|
3656
|
+
var tmp = this.n16();
|
|
3657
3657
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
3658
|
-
var value = this.
|
|
3659
|
-
var descriptor_0 = this.
|
|
3658
|
+
var value = this.o1c();
|
|
3659
|
+
var descriptor_0 = this.k1d_1;
|
|
3660
3660
|
if (!(value instanceof JsonObject)) {
|
|
3661
3661
|
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor_0.qk() + ', but had ' + getKClassFromExpression(value));
|
|
3662
3662
|
}
|
|
3663
|
-
return new JsonTreeDecoder(tmp, value, this.
|
|
3663
|
+
return new JsonTreeDecoder(tmp, value, this.j1d_1, this.k1d_1);
|
|
3664
3664
|
}
|
|
3665
3665
|
return protoOf(AbstractJsonTreeDecoder).xm.call(this, descriptor);
|
|
3666
3666
|
};
|
|
3667
3667
|
protoOf(JsonTreeDecoder).ym = function (descriptor) {
|
|
3668
3668
|
var tmp;
|
|
3669
|
-
if (this.
|
|
3669
|
+
if (this.n1c_1.z15_1) {
|
|
3670
3670
|
tmp = true;
|
|
3671
3671
|
} else {
|
|
3672
3672
|
var tmp_0 = descriptor.el();
|
|
@@ -3674,16 +3674,16 @@
|
|
|
3674
3674
|
}
|
|
3675
3675
|
if (tmp)
|
|
3676
3676
|
return Unit_instance;
|
|
3677
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3677
|
+
var strategy = namingStrategy(descriptor, this.n16());
|
|
3678
3678
|
var tmp_1;
|
|
3679
|
-
if (strategy == null ? !this.
|
|
3679
|
+
if (strategy == null ? !this.n1c_1.j16_1 : false) {
|
|
3680
3680
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3681
3681
|
} else if (!(strategy == null)) {
|
|
3682
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3682
|
+
tmp_1 = deserializationNamesMap(this.n16(), descriptor).j2();
|
|
3683
3683
|
} else {
|
|
3684
3684
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3685
3685
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3686
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3686
|
+
var tmp0_safe_receiver = get_schemaCache(this.n16()).q1b(descriptor, get_JsonDeserializationNamesKey());
|
|
3687
3687
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j2();
|
|
3688
3688
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3689
3689
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
@@ -3692,45 +3692,45 @@
|
|
|
3692
3692
|
var tmp1_iterator = this.o2().j2().v();
|
|
3693
3693
|
while (tmp1_iterator.w()) {
|
|
3694
3694
|
var key = tmp1_iterator.y();
|
|
3695
|
-
if (!names.r(key) ? !(key === this.
|
|
3695
|
+
if (!names.r(key) ? !(key === this.j1d_1) : false) {
|
|
3696
3696
|
throw UnknownKeyException(key, this.o2().toString());
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
3699
3699
|
};
|
|
3700
3700
|
function JsonTreeListDecoder(json, value) {
|
|
3701
3701
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3702
|
-
this.
|
|
3703
|
-
this.
|
|
3704
|
-
this.
|
|
3702
|
+
this.s1d_1 = value;
|
|
3703
|
+
this.t1d_1 = this.s1d_1.n();
|
|
3704
|
+
this.u1d_1 = -1;
|
|
3705
3705
|
}
|
|
3706
3706
|
protoOf(JsonTreeListDecoder).o2 = function () {
|
|
3707
|
-
return this.
|
|
3707
|
+
return this.s1d_1;
|
|
3708
3708
|
};
|
|
3709
|
-
protoOf(JsonTreeListDecoder).
|
|
3709
|
+
protoOf(JsonTreeListDecoder).a11 = function (descriptor, index) {
|
|
3710
3710
|
return index.toString();
|
|
3711
3711
|
};
|
|
3712
|
-
protoOf(JsonTreeListDecoder).
|
|
3713
|
-
return this.
|
|
3712
|
+
protoOf(JsonTreeListDecoder).p1c = function (tag) {
|
|
3713
|
+
return this.s1d_1.g1(toInt(tag));
|
|
3714
3714
|
};
|
|
3715
3715
|
protoOf(JsonTreeListDecoder).on = function (descriptor) {
|
|
3716
|
-
while (this.
|
|
3717
|
-
this.
|
|
3718
|
-
return this.
|
|
3716
|
+
while (this.u1d_1 < (this.t1d_1 - 1 | 0)) {
|
|
3717
|
+
this.u1d_1 = this.u1d_1 + 1 | 0;
|
|
3718
|
+
return this.u1d_1;
|
|
3719
3719
|
}
|
|
3720
3720
|
return -1;
|
|
3721
3721
|
};
|
|
3722
3722
|
function JsonPrimitiveDecoder(json, value) {
|
|
3723
3723
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3724
|
-
this.
|
|
3725
|
-
this.
|
|
3724
|
+
this.a1e_1 = value;
|
|
3725
|
+
this.t11(get_PRIMITIVE_TAG());
|
|
3726
3726
|
}
|
|
3727
3727
|
protoOf(JsonPrimitiveDecoder).o2 = function () {
|
|
3728
|
-
return this.
|
|
3728
|
+
return this.a1e_1;
|
|
3729
3729
|
};
|
|
3730
3730
|
protoOf(JsonPrimitiveDecoder).on = function (descriptor) {
|
|
3731
3731
|
return 0;
|
|
3732
3732
|
};
|
|
3733
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3733
|
+
protoOf(JsonPrimitiveDecoder).p1c = function (tag) {
|
|
3734
3734
|
// Inline function 'kotlin.require' call
|
|
3735
3735
|
// Inline function 'kotlin.contracts.contract' call
|
|
3736
3736
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3738,31 +3738,31 @@
|
|
|
3738
3738
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3739
3739
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3740
3740
|
}
|
|
3741
|
-
return this.
|
|
3741
|
+
return this.a1e_1;
|
|
3742
3742
|
};
|
|
3743
3743
|
function JsonTreeMapDecoder(json, value) {
|
|
3744
3744
|
JsonTreeDecoder.call(this, json, value);
|
|
3745
|
-
this.
|
|
3746
|
-
this.
|
|
3747
|
-
this.
|
|
3748
|
-
this.
|
|
3745
|
+
this.l1e_1 = value;
|
|
3746
|
+
this.m1e_1 = toList(this.l1e_1.j2());
|
|
3747
|
+
this.n1e_1 = imul(this.m1e_1.n(), 2);
|
|
3748
|
+
this.o1e_1 = -1;
|
|
3749
3749
|
}
|
|
3750
3750
|
protoOf(JsonTreeMapDecoder).o2 = function () {
|
|
3751
|
-
return this.
|
|
3751
|
+
return this.l1e_1;
|
|
3752
3752
|
};
|
|
3753
|
-
protoOf(JsonTreeMapDecoder).
|
|
3753
|
+
protoOf(JsonTreeMapDecoder).a11 = function (descriptor, index) {
|
|
3754
3754
|
var i = index / 2 | 0;
|
|
3755
|
-
return this.
|
|
3755
|
+
return this.m1e_1.g1(i);
|
|
3756
3756
|
};
|
|
3757
3757
|
protoOf(JsonTreeMapDecoder).on = function (descriptor) {
|
|
3758
|
-
while (this.
|
|
3759
|
-
this.
|
|
3760
|
-
return this.
|
|
3758
|
+
while (this.o1e_1 < (this.n1e_1 - 1 | 0)) {
|
|
3759
|
+
this.o1e_1 = this.o1e_1 + 1 | 0;
|
|
3760
|
+
return this.o1e_1;
|
|
3761
3761
|
}
|
|
3762
3762
|
return -1;
|
|
3763
3763
|
};
|
|
3764
|
-
protoOf(JsonTreeMapDecoder).
|
|
3765
|
-
return (this.
|
|
3764
|
+
protoOf(JsonTreeMapDecoder).p1c = function (tag) {
|
|
3765
|
+
return (this.o1e_1 % 2 | 0) === 0 ? JsonPrimitive_0(tag) : getValue(this.l1e_1, tag);
|
|
3766
3766
|
};
|
|
3767
3767
|
protoOf(JsonTreeMapDecoder).ym = function (descriptor) {
|
|
3768
3768
|
};
|
|
@@ -3798,8 +3798,8 @@
|
|
|
3798
3798
|
var $ENTRIES;
|
|
3799
3799
|
function WriteMode(name, ordinal, begin, end) {
|
|
3800
3800
|
Enum.call(this, name, ordinal);
|
|
3801
|
-
this.
|
|
3802
|
-
this.
|
|
3801
|
+
this.d1c_1 = begin;
|
|
3802
|
+
this.e1c_1 = end;
|
|
3803
3803
|
}
|
|
3804
3804
|
function switchMode(_this__u8e3s4, desc) {
|
|
3805
3805
|
var tmp0_subject = desc.el();
|
|
@@ -3825,7 +3825,7 @@
|
|
|
3825
3825
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3826
3826
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3827
3827
|
} else {
|
|
3828
|
-
if (_this__u8e3s4.
|
|
3828
|
+
if (_this__u8e3s4.o14_1.b16_1) {
|
|
3829
3829
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3830
3830
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3831
3831
|
} else {
|
|
@@ -3870,58 +3870,58 @@
|
|
|
3870
3870
|
return WriteMode_POLY_OBJ_instance;
|
|
3871
3871
|
}
|
|
3872
3872
|
function appendEscape($this, lastPosition, current) {
|
|
3873
|
-
$this.
|
|
3873
|
+
$this.p1e(lastPosition, current);
|
|
3874
3874
|
return appendEsc($this, current + 1 | 0);
|
|
3875
3875
|
}
|
|
3876
3876
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3877
|
-
$this.
|
|
3878
|
-
var result = $this.
|
|
3879
|
-
$this.
|
|
3877
|
+
$this.p1e(lastPosition, currentPosition);
|
|
3878
|
+
var result = $this.g15_1.toString();
|
|
3879
|
+
$this.g15_1.m7(0);
|
|
3880
3880
|
return result;
|
|
3881
3881
|
}
|
|
3882
3882
|
function takePeeked($this) {
|
|
3883
3883
|
// Inline function 'kotlin.also' call
|
|
3884
|
-
var this_0 = ensureNotNull($this.
|
|
3884
|
+
var this_0 = ensureNotNull($this.f15_1);
|
|
3885
3885
|
// Inline function 'kotlin.contracts.contract' call
|
|
3886
3886
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3887
|
-
$this.
|
|
3887
|
+
$this.f15_1 = null;
|
|
3888
3888
|
return this_0;
|
|
3889
3889
|
}
|
|
3890
3890
|
function wasUnquotedString($this) {
|
|
3891
|
-
return !(charSequenceGet($this.
|
|
3891
|
+
return !(charSequenceGet($this.q1e(), $this.d15_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3892
3892
|
}
|
|
3893
3893
|
function appendEsc($this, startPosition) {
|
|
3894
3894
|
var currentPosition = startPosition;
|
|
3895
|
-
currentPosition = $this.
|
|
3895
|
+
currentPosition = $this.r1e(currentPosition);
|
|
3896
3896
|
if (currentPosition === -1) {
|
|
3897
|
-
$this.
|
|
3897
|
+
$this.c19('Expected escape sequence to continue, got EOF');
|
|
3898
3898
|
}
|
|
3899
|
-
var tmp = $this.
|
|
3899
|
+
var tmp = $this.q1e();
|
|
3900
3900
|
var tmp0 = currentPosition;
|
|
3901
3901
|
currentPosition = tmp0 + 1 | 0;
|
|
3902
3902
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3903
3903
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3904
|
-
return appendHex($this, $this.
|
|
3904
|
+
return appendHex($this, $this.q1e(), currentPosition);
|
|
3905
3905
|
}
|
|
3906
3906
|
// Inline function 'kotlin.code' call
|
|
3907
3907
|
var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3908
3908
|
var c = escapeToChar(tmp$ret$0);
|
|
3909
3909
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3910
|
-
$this.
|
|
3910
|
+
$this.c19("Invalid escaped char '" + toString_0(currentChar) + "'");
|
|
3911
3911
|
}
|
|
3912
|
-
$this.
|
|
3912
|
+
$this.g15_1.f5(c);
|
|
3913
3913
|
return currentPosition;
|
|
3914
3914
|
}
|
|
3915
3915
|
function appendHex($this, source, startPos) {
|
|
3916
3916
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3917
|
-
$this.
|
|
3918
|
-
$this.
|
|
3919
|
-
if (($this.
|
|
3920
|
-
$this.
|
|
3917
|
+
$this.d15_1 = startPos;
|
|
3918
|
+
$this.s1e();
|
|
3919
|
+
if (($this.d15_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3920
|
+
$this.c19('Unexpected EOF during unicode escape');
|
|
3921
3921
|
}
|
|
3922
|
-
return appendHex($this, source, $this.
|
|
3922
|
+
return appendHex($this, source, $this.d15_1);
|
|
3923
3923
|
}
|
|
3924
|
-
$this.
|
|
3924
|
+
$this.g15_1.f5(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));
|
|
3925
3925
|
return startPos + 4 | 0;
|
|
3926
3926
|
}
|
|
3927
3927
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3946,17 +3946,17 @@
|
|
|
3946
3946
|
var this_2 = _Char___init__impl__6a9atx(65);
|
|
3947
3947
|
tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
|
|
3948
3948
|
} else {
|
|
3949
|
-
$this.
|
|
3949
|
+
$this.c19("Invalid toHexChar char '" + toString_0(character) + "' in unicode escape");
|
|
3950
3950
|
}
|
|
3951
3951
|
return tmp;
|
|
3952
3952
|
}
|
|
3953
3953
|
function consumeBoolean($this, start) {
|
|
3954
|
-
var current = $this.
|
|
3955
|
-
if (current >= charSequenceLength($this.
|
|
3956
|
-
$this.
|
|
3954
|
+
var current = $this.r1e(start);
|
|
3955
|
+
if (current >= charSequenceLength($this.q1e()) ? true : current === -1) {
|
|
3956
|
+
$this.c19('EOF');
|
|
3957
3957
|
}
|
|
3958
3958
|
// Inline function 'kotlin.code' call
|
|
3959
|
-
var tmp = $this.
|
|
3959
|
+
var tmp = $this.q1e();
|
|
3960
3960
|
var tmp0 = current;
|
|
3961
3961
|
current = tmp0 + 1 | 0;
|
|
3962
3962
|
var this_0 = charSequenceGet(tmp, tmp0);
|
|
@@ -3974,14 +3974,14 @@
|
|
|
3974
3974
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3975
3975
|
tmp_0 = false;
|
|
3976
3976
|
} else {
|
|
3977
|
-
$this.
|
|
3977
|
+
$this.c19("Expected valid boolean literal prefix, but had '" + $this.g1a() + "'");
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
return tmp_0;
|
|
3981
3981
|
}
|
|
3982
3982
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3983
|
-
if ((charSequenceLength($this.
|
|
3984
|
-
$this.
|
|
3983
|
+
if ((charSequenceLength($this.q1e()) - current | 0) < literalSuffix.length) {
|
|
3984
|
+
$this.c19('Unexpected end of boolean literal');
|
|
3985
3985
|
}
|
|
3986
3986
|
var inductionVariable = 0;
|
|
3987
3987
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3990,16 +3990,16 @@
|
|
|
3990
3990
|
var i = inductionVariable;
|
|
3991
3991
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3992
3992
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3993
|
-
var actual = charSequenceGet($this.
|
|
3993
|
+
var actual = charSequenceGet($this.q1e(), current + i | 0);
|
|
3994
3994
|
// Inline function 'kotlin.code' call
|
|
3995
3995
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
3996
3996
|
// Inline function 'kotlin.code' call
|
|
3997
3997
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
3998
|
-
$this.
|
|
3998
|
+
$this.c19("Expected valid boolean literal prefix, but had '" + $this.g1a() + "'");
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
while (inductionVariable <= last);
|
|
4002
|
-
$this.
|
|
4002
|
+
$this.d15_1 = current + literalSuffix.length | 0;
|
|
4003
4003
|
}
|
|
4004
4004
|
function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
|
|
4005
4005
|
var tmp;
|
|
@@ -4023,35 +4023,35 @@
|
|
|
4023
4023
|
return tmp;
|
|
4024
4024
|
}
|
|
4025
4025
|
function AbstractJsonLexer() {
|
|
4026
|
-
this.
|
|
4027
|
-
this.
|
|
4028
|
-
this.
|
|
4029
|
-
this.
|
|
4026
|
+
this.d15_1 = 0;
|
|
4027
|
+
this.e15_1 = new JsonPath();
|
|
4028
|
+
this.f15_1 = null;
|
|
4029
|
+
this.g15_1 = StringBuilder_init_$Create$();
|
|
4030
4030
|
}
|
|
4031
|
-
protoOf(AbstractJsonLexer).
|
|
4031
|
+
protoOf(AbstractJsonLexer).s1e = function () {
|
|
4032
4032
|
};
|
|
4033
|
-
protoOf(AbstractJsonLexer).
|
|
4033
|
+
protoOf(AbstractJsonLexer).t1e = function (c) {
|
|
4034
4034
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
4035
4035
|
};
|
|
4036
|
-
protoOf(AbstractJsonLexer).
|
|
4037
|
-
var nextToken = this.
|
|
4036
|
+
protoOf(AbstractJsonLexer).h15 = function () {
|
|
4037
|
+
var nextToken = this.i1a();
|
|
4038
4038
|
if (!(nextToken === 10)) {
|
|
4039
|
-
this.
|
|
4039
|
+
this.c19('Expected EOF after parsing, but had ' + toString_0(charSequenceGet(this.q1e(), this.d15_1 - 1 | 0)) + ' instead');
|
|
4040
4040
|
}
|
|
4041
4041
|
};
|
|
4042
|
-
protoOf(AbstractJsonLexer).
|
|
4043
|
-
var token = this.
|
|
4042
|
+
protoOf(AbstractJsonLexer).c1a = function (expected) {
|
|
4043
|
+
var token = this.i1a();
|
|
4044
4044
|
if (!(token === expected)) {
|
|
4045
|
-
this.
|
|
4045
|
+
this.u1e(expected);
|
|
4046
4046
|
}
|
|
4047
4047
|
return token;
|
|
4048
4048
|
};
|
|
4049
|
-
protoOf(AbstractJsonLexer).
|
|
4050
|
-
this.
|
|
4051
|
-
var source = this.
|
|
4052
|
-
var cpos = this.
|
|
4049
|
+
protoOf(AbstractJsonLexer).s1b = function (expected) {
|
|
4050
|
+
this.s1e();
|
|
4051
|
+
var source = this.q1e();
|
|
4052
|
+
var cpos = this.d15_1;
|
|
4053
4053
|
$l$loop_0: while (true) {
|
|
4054
|
-
cpos = this.
|
|
4054
|
+
cpos = this.r1e(cpos);
|
|
4055
4055
|
if (cpos === -1)
|
|
4056
4056
|
break $l$loop_0;
|
|
4057
4057
|
var tmp0 = cpos;
|
|
@@ -4059,51 +4059,51 @@
|
|
|
4059
4059
|
var c = charSequenceGet(source, tmp0);
|
|
4060
4060
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4061
4061
|
continue $l$loop_0;
|
|
4062
|
-
this.
|
|
4062
|
+
this.d15_1 = cpos;
|
|
4063
4063
|
if (c === expected)
|
|
4064
4064
|
return Unit_instance;
|
|
4065
|
-
this.
|
|
4065
|
+
this.v1e(expected);
|
|
4066
4066
|
}
|
|
4067
|
-
this.
|
|
4068
|
-
this.
|
|
4067
|
+
this.d15_1 = cpos;
|
|
4068
|
+
this.v1e(expected);
|
|
4069
4069
|
};
|
|
4070
|
-
protoOf(AbstractJsonLexer).
|
|
4071
|
-
if (this.
|
|
4070
|
+
protoOf(AbstractJsonLexer).v1e = function (expected) {
|
|
4071
|
+
if (this.d15_1 > 0 ? expected === _Char___init__impl__6a9atx(34) : false) {
|
|
4072
4072
|
var tmp$ret$1;
|
|
4073
4073
|
$l$block: {
|
|
4074
4074
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
|
|
4075
|
-
var snapshot = this.
|
|
4075
|
+
var snapshot = this.d15_1;
|
|
4076
4076
|
try {
|
|
4077
4077
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken.<anonymous>' call
|
|
4078
|
-
this.
|
|
4079
|
-
tmp$ret$1 = this.
|
|
4078
|
+
this.d15_1 = this.d15_1 - 1 | 0;
|
|
4079
|
+
tmp$ret$1 = this.g1a();
|
|
4080
4080
|
break $l$block;
|
|
4081
4081
|
}finally {
|
|
4082
|
-
this.
|
|
4082
|
+
this.d15_1 = snapshot;
|
|
4083
4083
|
}
|
|
4084
4084
|
}
|
|
4085
4085
|
var inputLiteral = tmp$ret$1;
|
|
4086
4086
|
if (inputLiteral === 'null') {
|
|
4087
|
-
this.
|
|
4087
|
+
this.b19("Expected string literal but 'null' literal was found", this.d15_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls to default values.");
|
|
4088
4088
|
}
|
|
4089
4089
|
}
|
|
4090
|
-
this.
|
|
4090
|
+
this.u1e(charToTokenClass(expected));
|
|
4091
4091
|
};
|
|
4092
|
-
protoOf(AbstractJsonLexer).
|
|
4092
|
+
protoOf(AbstractJsonLexer).w1e = function (expectedToken, wasConsumed) {
|
|
4093
4093
|
var expected = tokenDescription(expectedToken);
|
|
4094
|
-
var position = wasConsumed ? this.
|
|
4095
|
-
var s = (this.
|
|
4096
|
-
this.
|
|
4094
|
+
var position = wasConsumed ? this.d15_1 - 1 | 0 : this.d15_1;
|
|
4095
|
+
var s = (this.d15_1 === charSequenceLength(this.q1e()) ? true : position < 0) ? 'EOF' : toString_0(charSequenceGet(this.q1e(), position));
|
|
4096
|
+
this.c19('Expected ' + expected + ", but had '" + s + "' instead", position);
|
|
4097
4097
|
};
|
|
4098
|
-
protoOf(AbstractJsonLexer).
|
|
4098
|
+
protoOf(AbstractJsonLexer).u1e = function (expectedToken, wasConsumed, $super) {
|
|
4099
4099
|
wasConsumed = wasConsumed === VOID ? true : wasConsumed;
|
|
4100
|
-
return $super === VOID ? this.
|
|
4100
|
+
return $super === VOID ? this.w1e(expectedToken, wasConsumed) : $super.w1e.call(this, expectedToken, wasConsumed);
|
|
4101
4101
|
};
|
|
4102
|
-
protoOf(AbstractJsonLexer).
|
|
4103
|
-
var source = this.
|
|
4104
|
-
var cpos = this.
|
|
4102
|
+
protoOf(AbstractJsonLexer).d1a = function () {
|
|
4103
|
+
var source = this.q1e();
|
|
4104
|
+
var cpos = this.d15_1;
|
|
4105
4105
|
$l$loop_0: while (true) {
|
|
4106
|
-
cpos = this.
|
|
4106
|
+
cpos = this.r1e(cpos);
|
|
4107
4107
|
if (cpos === -1)
|
|
4108
4108
|
break $l$loop_0;
|
|
4109
4109
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -4111,16 +4111,16 @@
|
|
|
4111
4111
|
cpos = cpos + 1 | 0;
|
|
4112
4112
|
continue $l$loop_0;
|
|
4113
4113
|
}
|
|
4114
|
-
this.
|
|
4114
|
+
this.d15_1 = cpos;
|
|
4115
4115
|
return charToTokenClass(ch);
|
|
4116
4116
|
}
|
|
4117
|
-
this.
|
|
4117
|
+
this.d15_1 = cpos;
|
|
4118
4118
|
return 10;
|
|
4119
4119
|
};
|
|
4120
|
-
protoOf(AbstractJsonLexer).
|
|
4121
|
-
var current = this.
|
|
4122
|
-
current = this.
|
|
4123
|
-
var len = charSequenceLength(this.
|
|
4120
|
+
protoOf(AbstractJsonLexer).u1b = function (doConsume) {
|
|
4121
|
+
var current = this.x1e();
|
|
4122
|
+
current = this.r1e(current);
|
|
4123
|
+
var len = charSequenceLength(this.q1e()) - current | 0;
|
|
4124
4124
|
if (len < 4 ? true : current === -1)
|
|
4125
4125
|
return false;
|
|
4126
4126
|
var inductionVariable = 0;
|
|
@@ -4128,66 +4128,66 @@
|
|
|
4128
4128
|
do {
|
|
4129
4129
|
var i = inductionVariable;
|
|
4130
4130
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4131
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
4131
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.q1e(), current + i | 0)))
|
|
4132
4132
|
return false;
|
|
4133
4133
|
}
|
|
4134
4134
|
while (inductionVariable <= 3);
|
|
4135
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
4135
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.q1e(), current + 4 | 0)) === 0 : false)
|
|
4136
4136
|
return false;
|
|
4137
4137
|
if (doConsume) {
|
|
4138
|
-
this.
|
|
4138
|
+
this.d15_1 = current + 4 | 0;
|
|
4139
4139
|
}
|
|
4140
4140
|
return true;
|
|
4141
4141
|
};
|
|
4142
|
-
protoOf(AbstractJsonLexer).
|
|
4142
|
+
protoOf(AbstractJsonLexer).f1c = function (doConsume, $super) {
|
|
4143
4143
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
4144
|
-
return $super === VOID ? this.
|
|
4144
|
+
return $super === VOID ? this.u1b(doConsume) : $super.u1b.call(this, doConsume);
|
|
4145
4145
|
};
|
|
4146
|
-
protoOf(AbstractJsonLexer).
|
|
4147
|
-
var current = this.
|
|
4146
|
+
protoOf(AbstractJsonLexer).x1e = function () {
|
|
4147
|
+
var current = this.d15_1;
|
|
4148
4148
|
$l$loop_0: while (true) {
|
|
4149
|
-
current = this.
|
|
4149
|
+
current = this.r1e(current);
|
|
4150
4150
|
if (current === -1)
|
|
4151
4151
|
break $l$loop_0;
|
|
4152
|
-
var c = charSequenceGet(this.
|
|
4152
|
+
var c = charSequenceGet(this.q1e(), current);
|
|
4153
4153
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4154
4154
|
current = current + 1 | 0;
|
|
4155
4155
|
} else {
|
|
4156
4156
|
break $l$loop_0;
|
|
4157
4157
|
}
|
|
4158
4158
|
}
|
|
4159
|
-
this.
|
|
4159
|
+
this.d15_1 = current;
|
|
4160
4160
|
return current;
|
|
4161
4161
|
};
|
|
4162
|
-
protoOf(AbstractJsonLexer).
|
|
4163
|
-
var token = this.
|
|
4162
|
+
protoOf(AbstractJsonLexer).v1b = function (isLenient) {
|
|
4163
|
+
var token = this.d1a();
|
|
4164
4164
|
var tmp;
|
|
4165
4165
|
if (isLenient) {
|
|
4166
4166
|
if (!(token === 1) ? !(token === 0) : false)
|
|
4167
4167
|
return null;
|
|
4168
|
-
tmp = this.
|
|
4168
|
+
tmp = this.g1a();
|
|
4169
4169
|
} else {
|
|
4170
4170
|
if (!(token === 1))
|
|
4171
4171
|
return null;
|
|
4172
|
-
tmp = this.
|
|
4172
|
+
tmp = this.f1a();
|
|
4173
4173
|
}
|
|
4174
4174
|
var string = tmp;
|
|
4175
|
-
this.
|
|
4175
|
+
this.f15_1 = string;
|
|
4176
4176
|
return string;
|
|
4177
4177
|
};
|
|
4178
|
-
protoOf(AbstractJsonLexer).
|
|
4179
|
-
this.
|
|
4178
|
+
protoOf(AbstractJsonLexer).y1e = function () {
|
|
4179
|
+
this.f15_1 = null;
|
|
4180
4180
|
};
|
|
4181
|
-
protoOf(AbstractJsonLexer).
|
|
4181
|
+
protoOf(AbstractJsonLexer).z1e = function (startPos, endPos) {
|
|
4182
4182
|
// Inline function 'kotlin.text.substring' call
|
|
4183
|
-
var this_0 = this.
|
|
4183
|
+
var this_0 = this.q1e();
|
|
4184
4184
|
return toString(charSequenceSubSequence(this_0, startPos, endPos));
|
|
4185
4185
|
};
|
|
4186
|
-
protoOf(AbstractJsonLexer).
|
|
4187
|
-
if (!(this.
|
|
4186
|
+
protoOf(AbstractJsonLexer).f1a = function () {
|
|
4187
|
+
if (!(this.f15_1 == null)) {
|
|
4188
4188
|
return takePeeked(this);
|
|
4189
4189
|
}
|
|
4190
|
-
return this.
|
|
4190
|
+
return this.y1b();
|
|
4191
4191
|
};
|
|
4192
4192
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
4193
4193
|
var currentPosition = current;
|
|
@@ -4197,19 +4197,19 @@
|
|
|
4197
4197
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
4198
4198
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
4199
4199
|
usedAppend = true;
|
|
4200
|
-
currentPosition = this.
|
|
4200
|
+
currentPosition = this.r1e(appendEscape(this, lastPosition, currentPosition));
|
|
4201
4201
|
if (currentPosition === -1) {
|
|
4202
|
-
this.
|
|
4202
|
+
this.c19('Unexpected EOF', currentPosition);
|
|
4203
4203
|
}
|
|
4204
4204
|
lastPosition = currentPosition;
|
|
4205
4205
|
} else {
|
|
4206
4206
|
currentPosition = currentPosition + 1 | 0;
|
|
4207
4207
|
if (currentPosition >= charSequenceLength(source)) {
|
|
4208
4208
|
usedAppend = true;
|
|
4209
|
-
this.
|
|
4210
|
-
currentPosition = this.
|
|
4209
|
+
this.p1e(lastPosition, currentPosition);
|
|
4210
|
+
currentPosition = this.r1e(currentPosition);
|
|
4211
4211
|
if (currentPosition === -1) {
|
|
4212
|
-
this.
|
|
4212
|
+
this.c19('Unexpected EOF', currentPosition);
|
|
4213
4213
|
}
|
|
4214
4214
|
lastPosition = currentPosition;
|
|
4215
4215
|
}
|
|
@@ -4218,45 +4218,45 @@
|
|
|
4218
4218
|
}
|
|
4219
4219
|
var tmp;
|
|
4220
4220
|
if (!usedAppend) {
|
|
4221
|
-
tmp = this.
|
|
4221
|
+
tmp = this.z1e(lastPosition, currentPosition);
|
|
4222
4222
|
} else {
|
|
4223
4223
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
4224
4224
|
}
|
|
4225
4225
|
var string = tmp;
|
|
4226
|
-
this.
|
|
4226
|
+
this.d15_1 = currentPosition + 1 | 0;
|
|
4227
4227
|
return string;
|
|
4228
4228
|
};
|
|
4229
|
-
protoOf(AbstractJsonLexer).
|
|
4230
|
-
var result = this.
|
|
4229
|
+
protoOf(AbstractJsonLexer).z1b = function () {
|
|
4230
|
+
var result = this.g1a();
|
|
4231
4231
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
4232
|
-
this.
|
|
4232
|
+
this.c19("Unexpected 'null' value instead of string literal");
|
|
4233
4233
|
}
|
|
4234
4234
|
return result;
|
|
4235
4235
|
};
|
|
4236
|
-
protoOf(AbstractJsonLexer).
|
|
4237
|
-
if (!(this.
|
|
4236
|
+
protoOf(AbstractJsonLexer).g1a = function () {
|
|
4237
|
+
if (!(this.f15_1 == null)) {
|
|
4238
4238
|
return takePeeked(this);
|
|
4239
4239
|
}
|
|
4240
|
-
var current = this.
|
|
4241
|
-
if (current >= charSequenceLength(this.
|
|
4242
|
-
this.
|
|
4240
|
+
var current = this.x1e();
|
|
4241
|
+
if (current >= charSequenceLength(this.q1e()) ? true : current === -1) {
|
|
4242
|
+
this.c19('EOF', current);
|
|
4243
4243
|
}
|
|
4244
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
4244
|
+
var token = charToTokenClass(charSequenceGet(this.q1e(), current));
|
|
4245
4245
|
if (token === 1) {
|
|
4246
|
-
return this.
|
|
4246
|
+
return this.f1a();
|
|
4247
4247
|
}
|
|
4248
4248
|
if (!(token === 0)) {
|
|
4249
|
-
this.
|
|
4249
|
+
this.c19('Expected beginning of the string, but got ' + toString_0(charSequenceGet(this.q1e(), current)));
|
|
4250
4250
|
}
|
|
4251
4251
|
var usedAppend = false;
|
|
4252
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
4252
|
+
while (charToTokenClass(charSequenceGet(this.q1e(), current)) === 0) {
|
|
4253
4253
|
current = current + 1 | 0;
|
|
4254
|
-
if (current >= charSequenceLength(this.
|
|
4254
|
+
if (current >= charSequenceLength(this.q1e())) {
|
|
4255
4255
|
usedAppend = true;
|
|
4256
|
-
this.
|
|
4257
|
-
var eof = this.
|
|
4256
|
+
this.p1e(this.d15_1, current);
|
|
4257
|
+
var eof = this.r1e(current);
|
|
4258
4258
|
if (eof === -1) {
|
|
4259
|
-
this.
|
|
4259
|
+
this.d15_1 = current;
|
|
4260
4260
|
return decodedString(this, 0, 0);
|
|
4261
4261
|
} else {
|
|
4262
4262
|
current = eof;
|
|
@@ -4265,32 +4265,32 @@
|
|
|
4265
4265
|
}
|
|
4266
4266
|
var tmp;
|
|
4267
4267
|
if (!usedAppend) {
|
|
4268
|
-
tmp = this.
|
|
4268
|
+
tmp = this.z1e(this.d15_1, current);
|
|
4269
4269
|
} else {
|
|
4270
|
-
tmp = decodedString(this, this.
|
|
4270
|
+
tmp = decodedString(this, this.d15_1, current);
|
|
4271
4271
|
}
|
|
4272
4272
|
var result = tmp;
|
|
4273
|
-
this.
|
|
4273
|
+
this.d15_1 = current;
|
|
4274
4274
|
return result;
|
|
4275
4275
|
};
|
|
4276
|
-
protoOf(AbstractJsonLexer).
|
|
4277
|
-
this.
|
|
4276
|
+
protoOf(AbstractJsonLexer).p1e = function (fromIndex, toIndex) {
|
|
4277
|
+
this.g15_1.h7(this.q1e(), fromIndex, toIndex);
|
|
4278
4278
|
};
|
|
4279
|
-
protoOf(AbstractJsonLexer).
|
|
4279
|
+
protoOf(AbstractJsonLexer).x1b = function (allowLenientStrings) {
|
|
4280
4280
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4281
4281
|
var tokenStack = ArrayList_init_$Create$();
|
|
4282
|
-
var lastToken = this.
|
|
4282
|
+
var lastToken = this.d1a();
|
|
4283
4283
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
4284
|
-
this.
|
|
4284
|
+
this.g1a();
|
|
4285
4285
|
return Unit_instance;
|
|
4286
4286
|
}
|
|
4287
4287
|
$l$loop: while (true) {
|
|
4288
|
-
lastToken = this.
|
|
4288
|
+
lastToken = this.d1a();
|
|
4289
4289
|
if (lastToken === 1) {
|
|
4290
4290
|
if (allowLenientStrings) {
|
|
4291
|
-
this.
|
|
4291
|
+
this.g1a();
|
|
4292
4292
|
} else {
|
|
4293
|
-
this.
|
|
4293
|
+
this.y1b();
|
|
4294
4294
|
}
|
|
4295
4295
|
continue $l$loop;
|
|
4296
4296
|
}
|
|
@@ -4299,29 +4299,29 @@
|
|
|
4299
4299
|
tokenStack.s(lastToken);
|
|
4300
4300
|
} else if (tmp0_subject === 9) {
|
|
4301
4301
|
if (!(last(tokenStack) === 8))
|
|
4302
|
-
throw JsonDecodingException_0(this.
|
|
4302
|
+
throw JsonDecodingException_0(this.d15_1, 'found ] instead of } at path: ' + this.e15_1, this.q1e());
|
|
4303
4303
|
removeLast(tokenStack);
|
|
4304
4304
|
} else if (tmp0_subject === 7) {
|
|
4305
4305
|
if (!(last(tokenStack) === 6))
|
|
4306
|
-
throw JsonDecodingException_0(this.
|
|
4306
|
+
throw JsonDecodingException_0(this.d15_1, 'found } instead of ] at path: ' + this.e15_1, this.q1e());
|
|
4307
4307
|
removeLast(tokenStack);
|
|
4308
4308
|
} else if (tmp0_subject === 10) {
|
|
4309
|
-
this.
|
|
4309
|
+
this.c19('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
4310
4310
|
}
|
|
4311
|
-
this.
|
|
4311
|
+
this.i1a();
|
|
4312
4312
|
if (tokenStack.n() === 0)
|
|
4313
4313
|
return Unit_instance;
|
|
4314
4314
|
}
|
|
4315
4315
|
};
|
|
4316
4316
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
4317
|
-
return "JsonReader(source='" + this.
|
|
4317
|
+
return "JsonReader(source='" + this.q1e() + "', currentPosition=" + this.d15_1 + ')';
|
|
4318
4318
|
};
|
|
4319
|
-
protoOf(AbstractJsonLexer).
|
|
4320
|
-
var processed = this.
|
|
4319
|
+
protoOf(AbstractJsonLexer).w1b = function (key) {
|
|
4320
|
+
var processed = this.z1e(0, this.d15_1);
|
|
4321
4321
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
4322
|
-
this.
|
|
4322
|
+
this.b19("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
4323
4323
|
};
|
|
4324
|
-
protoOf(AbstractJsonLexer).
|
|
4324
|
+
protoOf(AbstractJsonLexer).b19 = function (message, position, hint) {
|
|
4325
4325
|
var tmp;
|
|
4326
4326
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4327
4327
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -4330,24 +4330,24 @@
|
|
|
4330
4330
|
tmp = '\n' + hint;
|
|
4331
4331
|
}
|
|
4332
4332
|
var hintMessage = tmp;
|
|
4333
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
4333
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.e15_1.p19() + hintMessage, this.q1e());
|
|
4334
4334
|
};
|
|
4335
|
-
protoOf(AbstractJsonLexer).
|
|
4336
|
-
position = position === VOID ? this.
|
|
4335
|
+
protoOf(AbstractJsonLexer).c19 = function (message, position, hint, $super) {
|
|
4336
|
+
position = position === VOID ? this.d15_1 : position;
|
|
4337
4337
|
hint = hint === VOID ? '' : hint;
|
|
4338
|
-
return $super === VOID ? this.
|
|
4338
|
+
return $super === VOID ? this.b19(message, position, hint) : $super.b19.call(this, message, position, hint);
|
|
4339
4339
|
};
|
|
4340
|
-
protoOf(AbstractJsonLexer).
|
|
4341
|
-
var current = this.
|
|
4342
|
-
current = this.
|
|
4343
|
-
if (current >= charSequenceLength(this.
|
|
4344
|
-
this.
|
|
4340
|
+
protoOf(AbstractJsonLexer).d17 = function () {
|
|
4341
|
+
var current = this.x1e();
|
|
4342
|
+
current = this.r1e(current);
|
|
4343
|
+
if (current >= charSequenceLength(this.q1e()) ? true : current === -1) {
|
|
4344
|
+
this.c19('EOF');
|
|
4345
4345
|
}
|
|
4346
4346
|
var tmp;
|
|
4347
|
-
if (charSequenceGet(this.
|
|
4347
|
+
if (charSequenceGet(this.q1e(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4348
4348
|
current = current + 1 | 0;
|
|
4349
|
-
if (current === charSequenceLength(this.
|
|
4350
|
-
this.
|
|
4349
|
+
if (current === charSequenceLength(this.q1e())) {
|
|
4350
|
+
this.c19('EOF');
|
|
4351
4351
|
}
|
|
4352
4352
|
tmp = true;
|
|
4353
4353
|
} else {
|
|
@@ -4360,11 +4360,11 @@
|
|
|
4360
4360
|
var isExponentPositive = false;
|
|
4361
4361
|
var hasExponent = false;
|
|
4362
4362
|
var start = current;
|
|
4363
|
-
$l$loop_4: while (!(current === charSequenceLength(this.
|
|
4364
|
-
var ch = charSequenceGet(this.
|
|
4363
|
+
$l$loop_4: while (!(current === charSequenceLength(this.q1e()))) {
|
|
4364
|
+
var ch = charSequenceGet(this.q1e(), current);
|
|
4365
4365
|
if ((ch === _Char___init__impl__6a9atx(101) ? true : ch === _Char___init__impl__6a9atx(69)) ? !hasExponent : false) {
|
|
4366
4366
|
if (current === start) {
|
|
4367
|
-
this.
|
|
4367
|
+
this.c19('Unexpected symbol ' + toString_0(ch) + ' in numeric literal');
|
|
4368
4368
|
}
|
|
4369
4369
|
isExponentPositive = true;
|
|
4370
4370
|
hasExponent = true;
|
|
@@ -4373,7 +4373,7 @@
|
|
|
4373
4373
|
}
|
|
4374
4374
|
if (ch === _Char___init__impl__6a9atx(45) ? hasExponent : false) {
|
|
4375
4375
|
if (current === start) {
|
|
4376
|
-
this.
|
|
4376
|
+
this.c19("Unexpected symbol '-' in numeric literal");
|
|
4377
4377
|
}
|
|
4378
4378
|
isExponentPositive = false;
|
|
4379
4379
|
current = current + 1 | 0;
|
|
@@ -4381,7 +4381,7 @@
|
|
|
4381
4381
|
}
|
|
4382
4382
|
if (ch === _Char___init__impl__6a9atx(43) ? hasExponent : false) {
|
|
4383
4383
|
if (current === start) {
|
|
4384
|
-
this.
|
|
4384
|
+
this.c19("Unexpected symbol '+' in numeric literal");
|
|
4385
4385
|
}
|
|
4386
4386
|
isExponentPositive = true;
|
|
4387
4387
|
current = current + 1 | 0;
|
|
@@ -4389,7 +4389,7 @@
|
|
|
4389
4389
|
}
|
|
4390
4390
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
4391
4391
|
if (!(current === start)) {
|
|
4392
|
-
this.
|
|
4392
|
+
this.c19("Unexpected symbol '-' in numeric literal");
|
|
4393
4393
|
}
|
|
4394
4394
|
isNegative = true;
|
|
4395
4395
|
current = current + 1 | 0;
|
|
@@ -4401,7 +4401,7 @@
|
|
|
4401
4401
|
current = current + 1 | 0;
|
|
4402
4402
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
4403
4403
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
4404
|
-
this.
|
|
4404
|
+
this.c19("Unexpected symbol '" + toString_0(ch) + "' in numeric literal");
|
|
4405
4405
|
}
|
|
4406
4406
|
if (hasExponent) {
|
|
4407
4407
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -4413,23 +4413,23 @@
|
|
|
4413
4413
|
// Inline function 'kotlin.Long.times' call
|
|
4414
4414
|
accumulator = accumulator.j8(toLong(10)).p9(toLong(digit));
|
|
4415
4415
|
if (accumulator.k8(new Long(0, 0)) > 0) {
|
|
4416
|
-
this.
|
|
4416
|
+
this.c19('Numeric value overflow');
|
|
4417
4417
|
}
|
|
4418
4418
|
}
|
|
4419
4419
|
var hasChars = !(current === start);
|
|
4420
4420
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
4421
|
-
this.
|
|
4421
|
+
this.c19('Expected numeric literal');
|
|
4422
4422
|
}
|
|
4423
4423
|
if (hasQuotation) {
|
|
4424
4424
|
if (!hasChars) {
|
|
4425
|
-
this.
|
|
4425
|
+
this.c19('EOF');
|
|
4426
4426
|
}
|
|
4427
|
-
if (!(charSequenceGet(this.
|
|
4428
|
-
this.
|
|
4427
|
+
if (!(charSequenceGet(this.q1e(), current) === _Char___init__impl__6a9atx(34))) {
|
|
4428
|
+
this.c19('Expected closing quotation mark');
|
|
4429
4429
|
}
|
|
4430
4430
|
current = current + 1 | 0;
|
|
4431
4431
|
}
|
|
4432
|
-
this.
|
|
4432
|
+
this.d15_1 = current;
|
|
4433
4433
|
if (hasExponent) {
|
|
4434
4434
|
var doubleAccumulator = accumulator.s5() * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
|
|
4435
4435
|
var tmp_0;
|
|
@@ -4441,11 +4441,11 @@
|
|
|
4441
4441
|
tmp_0 = doubleAccumulator < (new Long(0, -2147483648)).s5();
|
|
4442
4442
|
}
|
|
4443
4443
|
if (tmp_0) {
|
|
4444
|
-
this.
|
|
4444
|
+
this.c19('Numeric value overflow');
|
|
4445
4445
|
}
|
|
4446
4446
|
// Inline function 'kotlin.math.floor' call
|
|
4447
4447
|
if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
|
|
4448
|
-
this.
|
|
4448
|
+
this.c19("Can't convert " + doubleAccumulator + ' to Long');
|
|
4449
4449
|
}
|
|
4450
4450
|
accumulator = numberToLong(doubleAccumulator);
|
|
4451
4451
|
}
|
|
@@ -4458,18 +4458,18 @@
|
|
|
4458
4458
|
if (!tmp_2.equals(new Long(0, -2147483648))) {
|
|
4459
4459
|
tmp_1 = accumulator.t9();
|
|
4460
4460
|
} else {
|
|
4461
|
-
this.
|
|
4461
|
+
this.c19('Numeric value overflow');
|
|
4462
4462
|
}
|
|
4463
4463
|
}
|
|
4464
4464
|
return tmp_1;
|
|
4465
4465
|
};
|
|
4466
|
-
protoOf(AbstractJsonLexer).
|
|
4467
|
-
var current = this.
|
|
4468
|
-
if (current === charSequenceLength(this.
|
|
4469
|
-
this.
|
|
4466
|
+
protoOf(AbstractJsonLexer).g1c = function () {
|
|
4467
|
+
var current = this.x1e();
|
|
4468
|
+
if (current === charSequenceLength(this.q1e())) {
|
|
4469
|
+
this.c19('EOF');
|
|
4470
4470
|
}
|
|
4471
4471
|
var tmp;
|
|
4472
|
-
if (charSequenceGet(this.
|
|
4472
|
+
if (charSequenceGet(this.q1e(), current) === _Char___init__impl__6a9atx(34)) {
|
|
4473
4473
|
current = current + 1 | 0;
|
|
4474
4474
|
tmp = true;
|
|
4475
4475
|
} else {
|
|
@@ -4478,13 +4478,13 @@
|
|
|
4478
4478
|
var hasQuotation = tmp;
|
|
4479
4479
|
var result = consumeBoolean(this, current);
|
|
4480
4480
|
if (hasQuotation) {
|
|
4481
|
-
if (this.
|
|
4482
|
-
this.
|
|
4481
|
+
if (this.d15_1 === charSequenceLength(this.q1e())) {
|
|
4482
|
+
this.c19('EOF');
|
|
4483
4483
|
}
|
|
4484
|
-
if (!(charSequenceGet(this.
|
|
4485
|
-
this.
|
|
4484
|
+
if (!(charSequenceGet(this.q1e(), this.d15_1) === _Char___init__impl__6a9atx(34))) {
|
|
4485
|
+
this.c19('Expected closing quotation mark');
|
|
4486
4486
|
}
|
|
4487
|
-
this.
|
|
4487
|
+
this.d15_1 = this.d15_1 + 1 | 0;
|
|
4488
4488
|
}
|
|
4489
4489
|
return result;
|
|
4490
4490
|
};
|
|
@@ -4492,7 +4492,7 @@
|
|
|
4492
4492
|
var tmp;
|
|
4493
4493
|
// Inline function 'kotlin.code' call
|
|
4494
4494
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
4495
|
-
var tmp_0 = CharMappings_getInstance().
|
|
4495
|
+
var tmp_0 = CharMappings_getInstance().b1f_1;
|
|
4496
4496
|
// Inline function 'kotlin.code' call
|
|
4497
4497
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
4498
4498
|
} else {
|
|
@@ -4576,7 +4576,7 @@
|
|
|
4576
4576
|
}
|
|
4577
4577
|
var TC_OTHER;
|
|
4578
4578
|
function escapeToChar(c) {
|
|
4579
|
-
return c < 117 ? CharMappings_getInstance().
|
|
4579
|
+
return c < 117 ? CharMappings_getInstance().a1f_1[c] : _Char___init__impl__6a9atx(0);
|
|
4580
4580
|
}
|
|
4581
4581
|
function get_TC_BEGIN_LIST() {
|
|
4582
4582
|
return TC_BEGIN_LIST;
|
|
@@ -4638,7 +4638,7 @@
|
|
|
4638
4638
|
if (!(esc === _Char___init__impl__6a9atx(117))) {
|
|
4639
4639
|
// Inline function 'kotlin.code' call
|
|
4640
4640
|
var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
4641
|
-
$this.
|
|
4641
|
+
$this.a1f_1[tmp$ret$0] = numberToChar(c);
|
|
4642
4642
|
}
|
|
4643
4643
|
}
|
|
4644
4644
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -4647,7 +4647,7 @@
|
|
|
4647
4647
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
4648
4648
|
}
|
|
4649
4649
|
function initC2TC($this, c, cl) {
|
|
4650
|
-
$this.
|
|
4650
|
+
$this.b1f_1[c] = cl;
|
|
4651
4651
|
}
|
|
4652
4652
|
function initC2TC_0($this, c, cl) {
|
|
4653
4653
|
// Inline function 'kotlin.code' call
|
|
@@ -4656,8 +4656,8 @@
|
|
|
4656
4656
|
}
|
|
4657
4657
|
function CharMappings() {
|
|
4658
4658
|
CharMappings_instance = this;
|
|
4659
|
-
this.
|
|
4660
|
-
this.
|
|
4659
|
+
this.a1f_1 = charArray(117);
|
|
4660
|
+
this.b1f_1 = new Int8Array(126);
|
|
4661
4661
|
initEscape(this);
|
|
4662
4662
|
initCharToToken(this);
|
|
4663
4663
|
}
|
|
@@ -4677,19 +4677,19 @@
|
|
|
4677
4677
|
var allowStructuredMapKeysHint;
|
|
4678
4678
|
function StringJsonLexer(source) {
|
|
4679
4679
|
AbstractJsonLexer.call(this);
|
|
4680
|
-
this.
|
|
4680
|
+
this.g1f_1 = source;
|
|
4681
4681
|
}
|
|
4682
|
-
protoOf(StringJsonLexer).
|
|
4683
|
-
return this.
|
|
4682
|
+
protoOf(StringJsonLexer).q1e = function () {
|
|
4683
|
+
return this.g1f_1;
|
|
4684
4684
|
};
|
|
4685
|
-
protoOf(StringJsonLexer).
|
|
4686
|
-
return position < this.
|
|
4685
|
+
protoOf(StringJsonLexer).r1e = function (position) {
|
|
4686
|
+
return position < this.g1f_1.length ? position : -1;
|
|
4687
4687
|
};
|
|
4688
|
-
protoOf(StringJsonLexer).
|
|
4689
|
-
var source = this.
|
|
4690
|
-
$l$loop: while (!(this.
|
|
4691
|
-
var tmp1 = this.
|
|
4692
|
-
this.
|
|
4688
|
+
protoOf(StringJsonLexer).i1a = function () {
|
|
4689
|
+
var source = this.g1f_1;
|
|
4690
|
+
$l$loop: while (!(this.d15_1 === -1) ? this.d15_1 < source.length : false) {
|
|
4691
|
+
var tmp1 = this.d15_1;
|
|
4692
|
+
this.d15_1 = tmp1 + 1 | 0;
|
|
4693
4693
|
var ch = charSequenceGet(source, tmp1);
|
|
4694
4694
|
var tc = charToTokenClass(ch);
|
|
4695
4695
|
var tmp;
|
|
@@ -4702,128 +4702,128 @@
|
|
|
4702
4702
|
}
|
|
4703
4703
|
return get_TC_EOF();
|
|
4704
4704
|
};
|
|
4705
|
-
protoOf(StringJsonLexer).
|
|
4706
|
-
var current = this.
|
|
4707
|
-
if (current === this.
|
|
4705
|
+
protoOf(StringJsonLexer).t1b = function () {
|
|
4706
|
+
var current = this.x1e();
|
|
4707
|
+
if (current === this.g1f_1.length ? true : current === -1)
|
|
4708
4708
|
return false;
|
|
4709
|
-
if (charSequenceGet(this.
|
|
4710
|
-
this.
|
|
4709
|
+
if (charSequenceGet(this.g1f_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
4710
|
+
this.d15_1 = this.d15_1 + 1 | 0;
|
|
4711
4711
|
return true;
|
|
4712
4712
|
}
|
|
4713
4713
|
return false;
|
|
4714
4714
|
};
|
|
4715
|
-
protoOf(StringJsonLexer).
|
|
4716
|
-
var current = this.
|
|
4715
|
+
protoOf(StringJsonLexer).e1a = function () {
|
|
4716
|
+
var current = this.d15_1;
|
|
4717
4717
|
if (current === -1)
|
|
4718
4718
|
return false;
|
|
4719
|
-
$l$loop: while (current < this.
|
|
4720
|
-
var c = charSequenceGet(this.
|
|
4719
|
+
$l$loop: while (current < this.g1f_1.length) {
|
|
4720
|
+
var c = charSequenceGet(this.g1f_1, current);
|
|
4721
4721
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4722
4722
|
current = current + 1 | 0;
|
|
4723
4723
|
continue $l$loop;
|
|
4724
4724
|
}
|
|
4725
|
-
this.
|
|
4726
|
-
return this.
|
|
4725
|
+
this.d15_1 = current;
|
|
4726
|
+
return this.t1e(c);
|
|
4727
4727
|
}
|
|
4728
|
-
this.
|
|
4728
|
+
this.d15_1 = current;
|
|
4729
4729
|
return false;
|
|
4730
4730
|
};
|
|
4731
|
-
protoOf(StringJsonLexer).
|
|
4732
|
-
var current = this.
|
|
4731
|
+
protoOf(StringJsonLexer).x1e = function () {
|
|
4732
|
+
var current = this.d15_1;
|
|
4733
4733
|
if (current === -1)
|
|
4734
4734
|
return current;
|
|
4735
|
-
$l$loop: while (current < this.
|
|
4736
|
-
var c = charSequenceGet(this.
|
|
4735
|
+
$l$loop: while (current < this.g1f_1.length) {
|
|
4736
|
+
var c = charSequenceGet(this.g1f_1, current);
|
|
4737
4737
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
4738
4738
|
current = current + 1 | 0;
|
|
4739
4739
|
} else {
|
|
4740
4740
|
break $l$loop;
|
|
4741
4741
|
}
|
|
4742
4742
|
}
|
|
4743
|
-
this.
|
|
4743
|
+
this.d15_1 = current;
|
|
4744
4744
|
return current;
|
|
4745
4745
|
};
|
|
4746
|
-
protoOf(StringJsonLexer).
|
|
4747
|
-
if (this.
|
|
4748
|
-
this.
|
|
4746
|
+
protoOf(StringJsonLexer).s1b = function (expected) {
|
|
4747
|
+
if (this.d15_1 === -1) {
|
|
4748
|
+
this.v1e(expected);
|
|
4749
4749
|
}
|
|
4750
|
-
var source = this.
|
|
4751
|
-
$l$loop: while (this.
|
|
4752
|
-
var tmp1 = this.
|
|
4753
|
-
this.
|
|
4750
|
+
var source = this.g1f_1;
|
|
4751
|
+
$l$loop: while (this.d15_1 < source.length) {
|
|
4752
|
+
var tmp1 = this.d15_1;
|
|
4753
|
+
this.d15_1 = tmp1 + 1 | 0;
|
|
4754
4754
|
var c = charSequenceGet(source, tmp1);
|
|
4755
4755
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4756
4756
|
continue $l$loop;
|
|
4757
4757
|
if (c === expected)
|
|
4758
4758
|
return Unit_instance;
|
|
4759
|
-
this.
|
|
4759
|
+
this.v1e(expected);
|
|
4760
4760
|
}
|
|
4761
|
-
this.
|
|
4762
|
-
this.
|
|
4761
|
+
this.d15_1 = -1;
|
|
4762
|
+
this.v1e(expected);
|
|
4763
4763
|
};
|
|
4764
|
-
protoOf(StringJsonLexer).
|
|
4765
|
-
this.
|
|
4766
|
-
var current = this.
|
|
4767
|
-
var closingQuote = indexOf(this.
|
|
4764
|
+
protoOf(StringJsonLexer).y1b = function () {
|
|
4765
|
+
this.s1b(get_STRING());
|
|
4766
|
+
var current = this.d15_1;
|
|
4767
|
+
var closingQuote = indexOf(this.g1f_1, _Char___init__impl__6a9atx(34), current);
|
|
4768
4768
|
if (closingQuote === -1) {
|
|
4769
|
-
this.
|
|
4770
|
-
this.
|
|
4769
|
+
this.g1a();
|
|
4770
|
+
this.w1e(get_TC_STRING(), false);
|
|
4771
4771
|
}
|
|
4772
4772
|
var inductionVariable = current;
|
|
4773
4773
|
if (inductionVariable < closingQuote)
|
|
4774
4774
|
do {
|
|
4775
4775
|
var i = inductionVariable;
|
|
4776
4776
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4777
|
-
if (charSequenceGet(this.
|
|
4778
|
-
return this.consumeString2(this.
|
|
4777
|
+
if (charSequenceGet(this.g1f_1, i) === get_STRING_ESC()) {
|
|
4778
|
+
return this.consumeString2(this.g1f_1, this.d15_1, i);
|
|
4779
4779
|
}
|
|
4780
4780
|
}
|
|
4781
4781
|
while (inductionVariable < closingQuote);
|
|
4782
|
-
this.
|
|
4782
|
+
this.d15_1 = closingQuote + 1 | 0;
|
|
4783
4783
|
// Inline function 'kotlin.text.substring' call
|
|
4784
4784
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4785
|
-
return this.
|
|
4785
|
+
return this.g1f_1.substring(current, closingQuote);
|
|
4786
4786
|
};
|
|
4787
|
-
protoOf(StringJsonLexer).
|
|
4788
|
-
var positionSnapshot = this.
|
|
4787
|
+
protoOf(StringJsonLexer).a1c = function (keyToMatch, isLenient) {
|
|
4788
|
+
var positionSnapshot = this.d15_1;
|
|
4789
4789
|
try {
|
|
4790
|
-
if (!(this.
|
|
4790
|
+
if (!(this.i1a() === get_TC_BEGIN_OBJ()))
|
|
4791
4791
|
return null;
|
|
4792
|
-
var firstKey = this.
|
|
4792
|
+
var firstKey = this.v1b(isLenient);
|
|
4793
4793
|
if (!(firstKey === keyToMatch))
|
|
4794
4794
|
return null;
|
|
4795
|
-
this.
|
|
4796
|
-
if (!(this.
|
|
4795
|
+
this.y1e();
|
|
4796
|
+
if (!(this.i1a() === get_TC_COLON()))
|
|
4797
4797
|
return null;
|
|
4798
|
-
return this.
|
|
4798
|
+
return this.v1b(isLenient);
|
|
4799
4799
|
}finally {
|
|
4800
|
-
this.
|
|
4801
|
-
this.
|
|
4800
|
+
this.d15_1 = positionSnapshot;
|
|
4801
|
+
this.y1e();
|
|
4802
4802
|
}
|
|
4803
4803
|
};
|
|
4804
4804
|
function get_schemaCache(_this__u8e3s4) {
|
|
4805
|
-
return _this__u8e3s4.
|
|
4805
|
+
return _this__u8e3s4.q14_1;
|
|
4806
4806
|
}
|
|
4807
4807
|
function JsonToStringWriter() {
|
|
4808
|
-
this.
|
|
4808
|
+
this.t14_1 = StringBuilder_init_$Create$_0(128);
|
|
4809
4809
|
}
|
|
4810
|
-
protoOf(JsonToStringWriter).
|
|
4811
|
-
this.
|
|
4810
|
+
protoOf(JsonToStringWriter).i18 = function (value) {
|
|
4811
|
+
this.t14_1.k7(value);
|
|
4812
4812
|
};
|
|
4813
|
-
protoOf(JsonToStringWriter).
|
|
4814
|
-
this.
|
|
4813
|
+
protoOf(JsonToStringWriter).c18 = function (char) {
|
|
4814
|
+
this.t14_1.f5(char);
|
|
4815
4815
|
};
|
|
4816
|
-
protoOf(JsonToStringWriter).
|
|
4817
|
-
this.
|
|
4816
|
+
protoOf(JsonToStringWriter).e18 = function (text) {
|
|
4817
|
+
this.t14_1.e5(text);
|
|
4818
4818
|
};
|
|
4819
|
-
protoOf(JsonToStringWriter).
|
|
4820
|
-
printQuoted(this.
|
|
4819
|
+
protoOf(JsonToStringWriter).o18 = function (text) {
|
|
4820
|
+
printQuoted(this.t14_1, text);
|
|
4821
4821
|
};
|
|
4822
|
-
protoOf(JsonToStringWriter).
|
|
4823
|
-
this.
|
|
4822
|
+
protoOf(JsonToStringWriter).u14 = function () {
|
|
4823
|
+
this.t14_1.n7();
|
|
4824
4824
|
};
|
|
4825
4825
|
protoOf(JsonToStringWriter).toString = function () {
|
|
4826
|
-
return this.
|
|
4826
|
+
return this.t14_1.toString();
|
|
4827
4827
|
};
|
|
4828
4828
|
function createMapForCache(initialCapacity) {
|
|
4829
4829
|
return HashMap_init_$Create$(initialCapacity);
|
|
@@ -4832,7 +4832,7 @@
|
|
|
4832
4832
|
protoOf(defer$1).xk = get_isNullable;
|
|
4833
4833
|
protoOf(defer$1).dl = get_isInline;
|
|
4834
4834
|
protoOf(defer$1).bl = get_annotations;
|
|
4835
|
-
protoOf(PolymorphismValidator).
|
|
4835
|
+
protoOf(PolymorphismValidator).d14 = contextual;
|
|
4836
4836
|
//endregion
|
|
4837
4837
|
//region block: init
|
|
4838
4838
|
Companion_instance_0 = new Companion();
|