@flock/wirespec 0.8.56 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-atomic.js +21 -21
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-continuations.js +8 -8
- package/arrow-arrow-core.js +100 -100
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +1985 -1985
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +421 -421
- package/colormath-root-colormath.js.map +1 -1
- package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +11311 -10651
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-openapi-bindings.js +3637 -3637
- package/kotlin-openapi-bindings.js.map +1 -1
- package/kotlin-rgxgen.js +4328 -0
- package/kotlin-rgxgen.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1640 -1640
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1328 -1320
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/markdown.js +2128 -2131
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +2279 -2287
- package/mordant-mordant.js.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.js +2091 -2015
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +480 -431
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +855 -855
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-generator.js +311 -0
- package/wirespec-src-generator.js.map +1 -0
- package/wirespec-src-plugin-arguments.js +123 -119
- package/wirespec-src-plugin-arguments.js.map +1 -1
- package/wirespec-src-plugin-cli.js +252 -232
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.d.ts +6 -0
- package/wirespec-src-plugin-npm.js +52 -7
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
|
@@ -1,97 +1,97 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlin-kotlin-stdlib
|
|
3
|
+
define(['exports', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlin-kotlin-stdlib
|
|
5
|
+
factory(module.exports, require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlinx-serialization-kotlinx-serialization-core-js-ir'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-json-js-ir'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core-js-ir' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core-js-ir' is loaded prior to 'kotlinx-serialization-kotlinx-serialization-json-js-ir'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof this['kotlin-kotlin-stdlib
|
|
11
|
-
throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-json-js-ir'. Its dependency 'kotlin-kotlin-stdlib
|
|
10
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-json-js-ir'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-serialization-kotlinx-serialization-json-js-ir'.");
|
|
12
12
|
}
|
|
13
|
-
root['kotlinx-serialization-kotlinx-serialization-json-js-ir'] = factory(typeof this['kotlinx-serialization-kotlinx-serialization-json-js-ir'] === 'undefined' ? {} : this['kotlinx-serialization-kotlinx-serialization-json-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlin-kotlin-stdlib
|
|
13
|
+
root['kotlinx-serialization-kotlinx-serialization-json-js-ir'] = factory(typeof this['kotlinx-serialization-kotlinx-serialization-json-js-ir'] === 'undefined' ? {} : this['kotlinx-serialization-kotlinx-serialization-json-js-ir'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir'], this['kotlin-kotlin-stdlib']);
|
|
14
14
|
}
|
|
15
15
|
}(this, function (_, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_kotlin) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
19
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
22
|
-
var VOID = kotlin_kotlin.$_$.
|
|
23
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
24
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
26
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
27
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
28
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
29
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
30
|
-
var equals = kotlin_kotlin.$_$.
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.ca;
|
|
21
|
+
var objectMeta = kotlin_kotlin.$_$.ba;
|
|
22
|
+
var VOID = kotlin_kotlin.$_$.gf;
|
|
23
|
+
var setMetadataFor = kotlin_kotlin.$_$.da;
|
|
24
|
+
var classMeta = kotlin_kotlin.$_$.x8;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.ha;
|
|
26
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
27
|
+
var charSequenceGet = kotlin_kotlin.$_$.u8;
|
|
28
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
29
|
+
var Unit_getInstance = kotlin_kotlin.$_$.x3;
|
|
30
|
+
var equals = kotlin_kotlin.$_$.a9;
|
|
31
31
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
32
32
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
33
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
34
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
35
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
38
|
-
var Map = kotlin_kotlin.$_$.
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.h;
|
|
43
|
-
var lazy = kotlin_kotlin.$_$.ee;
|
|
33
|
+
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
34
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
35
|
+
var THROW_CCE = kotlin_kotlin.$_$.he;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.f9;
|
|
37
|
+
var joinToString = kotlin_kotlin.$_$.f6;
|
|
38
|
+
var Map = kotlin_kotlin.$_$.j4;
|
|
39
|
+
var List = kotlin_kotlin.$_$.h4;
|
|
40
|
+
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.i;
|
|
41
|
+
var lazy = kotlin_kotlin.$_$.af;
|
|
44
42
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
43
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
44
|
+
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
45
|
+
var toInt = kotlin_kotlin.$_$.cd;
|
|
46
|
+
var toLong = kotlin_kotlin.$_$.fd;
|
|
47
|
+
var toDouble = kotlin_kotlin.$_$.ad;
|
|
48
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
49
|
+
var StringCompanionObject_getInstance = kotlin_kotlin.$_$.l3;
|
|
50
50
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
51
51
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
52
52
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
53
53
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
54
54
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
55
55
|
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
56
|
+
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
57
|
+
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
56
58
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
57
59
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
58
60
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var isInterface = kotlin_kotlin.$_$.d9;
|
|
62
|
-
var lazy_0 = kotlin_kotlin.$_$.fe;
|
|
61
|
+
var isInterface = kotlin_kotlin.$_$.p9;
|
|
62
|
+
var lazy_0 = kotlin_kotlin.$_$.bf;
|
|
63
63
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
64
64
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
65
65
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
67
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.wa;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.d9;
|
|
68
68
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
69
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
69
|
+
var captureStack = kotlin_kotlin.$_$.r8;
|
|
70
70
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
71
71
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
72
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
73
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
74
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
75
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
72
|
+
var charSequenceLength = kotlin_kotlin.$_$.v8;
|
|
73
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.w8;
|
|
74
|
+
var coerceAtLeast = kotlin_kotlin.$_$.na;
|
|
75
|
+
var coerceAtMost = kotlin_kotlin.$_$.pa;
|
|
76
76
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
77
77
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
78
78
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
79
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
80
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
84
|
-
var getValue = kotlin_kotlin.$_$.
|
|
85
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
86
|
-
var copyOf_0 = kotlin_kotlin.$_$.
|
|
87
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
79
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
80
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
81
|
+
var singleOrNull = kotlin_kotlin.$_$.h7;
|
|
82
|
+
var arrayIterator = kotlin_kotlin.$_$.p8;
|
|
83
|
+
var emptyMap = kotlin_kotlin.$_$.p5;
|
|
84
|
+
var getValue = kotlin_kotlin.$_$.a6;
|
|
85
|
+
var copyOf = kotlin_kotlin.$_$.i5;
|
|
86
|
+
var copyOf_0 = kotlin_kotlin.$_$.j5;
|
|
87
|
+
var fillArrayVal = kotlin_kotlin.$_$.b9;
|
|
88
88
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
89
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
90
|
-
var invoke = kotlin_kotlin.$_$.
|
|
91
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
92
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
93
|
-
var Unit = kotlin_kotlin.$_$.
|
|
94
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
89
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.vd;
|
|
90
|
+
var invoke = kotlin_kotlin.$_$.xe;
|
|
91
|
+
var CoroutineImpl = kotlin_kotlin.$_$.j8;
|
|
92
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.wd;
|
|
93
|
+
var Unit = kotlin_kotlin.$_$.se;
|
|
94
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.i8;
|
|
95
95
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
96
96
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
97
97
|
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
@@ -102,65 +102,65 @@
|
|
|
102
102
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
103
103
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
104
104
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
105
|
-
var isObject = kotlin_kotlin.$_$.
|
|
105
|
+
var isObject = kotlin_kotlin.$_$.r9;
|
|
106
106
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
107
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
108
|
-
var contains = kotlin_kotlin.$_$.
|
|
109
|
-
var plus = kotlin_kotlin.$_$.
|
|
107
|
+
var ensureNotNull = kotlin_kotlin.$_$.we;
|
|
108
|
+
var contains = kotlin_kotlin.$_$.mb;
|
|
109
|
+
var plus = kotlin_kotlin.$_$.df;
|
|
110
110
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
111
111
|
var decodeSerializableElement$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
112
|
-
var toLong_0 = kotlin_kotlin.$_$.
|
|
113
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
114
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
115
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
112
|
+
var toLong_0 = kotlin_kotlin.$_$.fa;
|
|
113
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.zd;
|
|
114
|
+
var isFinite = kotlin_kotlin.$_$.ze;
|
|
115
|
+
var isFinite_0 = kotlin_kotlin.$_$.ye;
|
|
116
116
|
var decodeSequentially = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
117
117
|
var decodeCollectionSize = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
118
|
-
var toUInt = kotlin_kotlin.$_$.
|
|
119
|
-
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.
|
|
120
|
-
var toULong = kotlin_kotlin.$_$.
|
|
121
|
-
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.
|
|
122
|
-
var toUByte = kotlin_kotlin.$_$.
|
|
123
|
-
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.
|
|
124
|
-
var toUShort = kotlin_kotlin.$_$.
|
|
125
|
-
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.
|
|
118
|
+
var toUInt = kotlin_kotlin.$_$.hd;
|
|
119
|
+
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.l2;
|
|
120
|
+
var toULong = kotlin_kotlin.$_$.id;
|
|
121
|
+
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.s2;
|
|
122
|
+
var toUByte = kotlin_kotlin.$_$.gd;
|
|
123
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.e2;
|
|
124
|
+
var toUShort = kotlin_kotlin.$_$.jd;
|
|
125
|
+
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.z2;
|
|
126
126
|
var decodeSerializableValue = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
127
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
127
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.u3;
|
|
128
128
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
129
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
129
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.v3;
|
|
130
130
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
131
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
131
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.t3;
|
|
132
132
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
133
|
-
var Companion_getInstance_3 = kotlin_kotlin.$_$.
|
|
133
|
+
var Companion_getInstance_3 = kotlin_kotlin.$_$.w3;
|
|
134
134
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
135
|
-
var setOf = kotlin_kotlin.$_$.
|
|
136
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
137
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
138
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
139
|
-
var Char = kotlin_kotlin.$_$.
|
|
140
|
-
var toByte = kotlin_kotlin.$_$.
|
|
141
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
135
|
+
var setOf = kotlin_kotlin.$_$.g7;
|
|
136
|
+
var numberToChar = kotlin_kotlin.$_$.x9;
|
|
137
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.w1;
|
|
138
|
+
var equals_0 = kotlin_kotlin.$_$.sb;
|
|
139
|
+
var Char = kotlin_kotlin.$_$.rd;
|
|
140
|
+
var toByte = kotlin_kotlin.$_$.ea;
|
|
141
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.cf;
|
|
142
142
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
143
|
-
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
144
|
-
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
145
|
-
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
146
|
-
var toShort = kotlin_kotlin.$_$.
|
|
147
|
-
var single = kotlin_kotlin.$_$.
|
|
143
|
+
var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.f1;
|
|
144
|
+
var ByteCompanionObject_getInstance = kotlin_kotlin.$_$.g3;
|
|
145
|
+
var ShortCompanionObject_getInstance = kotlin_kotlin.$_$.k3;
|
|
146
|
+
var toShort = kotlin_kotlin.$_$.ga;
|
|
147
|
+
var single = kotlin_kotlin.$_$.pc;
|
|
148
148
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
149
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
150
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
151
|
-
var toList = kotlin_kotlin.$_$.
|
|
152
|
-
var Enum = kotlin_kotlin.$_$.
|
|
149
|
+
var emptySet = kotlin_kotlin.$_$.q5;
|
|
150
|
+
var plus_0 = kotlin_kotlin.$_$.a7;
|
|
151
|
+
var toList = kotlin_kotlin.$_$.v7;
|
|
152
|
+
var Enum = kotlin_kotlin.$_$.xd;
|
|
153
153
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
154
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
155
|
-
var last = kotlin_kotlin.$_$.
|
|
156
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
157
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
158
|
-
var Long = kotlin_kotlin.$_$.
|
|
159
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
160
|
-
var Companion_getInstance_4 = kotlin_kotlin.$_$.
|
|
161
|
-
var charArray = kotlin_kotlin.$_$.
|
|
162
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
163
|
-
var HashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
154
|
+
var toString_0 = kotlin_kotlin.$_$.x1;
|
|
155
|
+
var last = kotlin_kotlin.$_$.q6;
|
|
156
|
+
var removeLast = kotlin_kotlin.$_$.e7;
|
|
157
|
+
var lastIndexOf = kotlin_kotlin.$_$.gc;
|
|
158
|
+
var Long = kotlin_kotlin.$_$.be;
|
|
159
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.v1;
|
|
160
|
+
var Companion_getInstance_4 = kotlin_kotlin.$_$.r3;
|
|
161
|
+
var charArray = kotlin_kotlin.$_$.t8;
|
|
162
|
+
var indexOf = kotlin_kotlin.$_$.wb;
|
|
163
|
+
var HashMap_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
164
164
|
//endregion
|
|
165
165
|
//region block: pre-declaration
|
|
166
166
|
setMetadataFor(Json, 'Json', classMeta);
|
|
@@ -173,8 +173,8 @@
|
|
|
173
173
|
setMetadataFor(JsonDecoder, 'JsonDecoder', interfaceMeta, VOID, [Decoder, CompositeDecoder]);
|
|
174
174
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
175
175
|
setMetadataFor(JsonElement, 'JsonElement', classMeta, VOID, VOID, VOID, {0: JsonElementSerializer_getInstance});
|
|
176
|
-
setMetadataFor(JsonPrimitive, 'JsonPrimitive', classMeta, JsonElement, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
177
176
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
177
|
+
setMetadataFor(JsonPrimitive, 'JsonPrimitive', classMeta, JsonElement, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
178
178
|
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
179
179
|
setMetadataFor(JsonObject, 'JsonObject', classMeta, JsonElement, [JsonElement, Map], VOID, {0: JsonObjectSerializer_getInstance});
|
|
180
180
|
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
@@ -183,12 +183,12 @@
|
|
|
183
183
|
setMetadataFor(JsonLiteral, 'JsonLiteral', classMeta, JsonPrimitive);
|
|
184
184
|
setMetadataFor(JsonElementSerializer, 'JsonElementSerializer', objectMeta, VOID, [KSerializer]);
|
|
185
185
|
setMetadataFor(JsonPrimitiveSerializer, 'JsonPrimitiveSerializer', objectMeta, VOID, [KSerializer]);
|
|
186
|
+
setMetadataFor(JsonNullSerializer, 'JsonNullSerializer', objectMeta, VOID, [KSerializer]);
|
|
187
|
+
setMetadataFor(JsonLiteralSerializer, 'JsonLiteralSerializer', objectMeta, VOID, [KSerializer]);
|
|
186
188
|
setMetadataFor(JsonObjectDescriptor, 'JsonObjectDescriptor', objectMeta, VOID, [SerialDescriptor]);
|
|
187
189
|
setMetadataFor(JsonObjectSerializer, 'JsonObjectSerializer', objectMeta, VOID, [KSerializer]);
|
|
188
190
|
setMetadataFor(JsonArrayDescriptor, 'JsonArrayDescriptor', objectMeta, VOID, [SerialDescriptor]);
|
|
189
191
|
setMetadataFor(JsonArraySerializer, 'JsonArraySerializer', objectMeta, VOID, [KSerializer]);
|
|
190
|
-
setMetadataFor(JsonNullSerializer, 'JsonNullSerializer', objectMeta, VOID, [KSerializer]);
|
|
191
|
-
setMetadataFor(JsonLiteralSerializer, 'JsonLiteralSerializer', objectMeta, VOID, [KSerializer]);
|
|
192
192
|
setMetadataFor(defer$1, VOID, classMeta, VOID, [SerialDescriptor]);
|
|
193
193
|
setMetadataFor(JsonElementMarker, 'JsonElementMarker', classMeta);
|
|
194
194
|
setMetadataFor(JsonException, 'JsonException', classMeta, SerializationException);
|
|
@@ -227,69 +227,69 @@
|
|
|
227
227
|
}
|
|
228
228
|
function Json(configuration, serializersModule) {
|
|
229
229
|
Default_getInstance();
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
232
|
-
this.
|
|
230
|
+
this.sy_1 = configuration;
|
|
231
|
+
this.ty_1 = serializersModule;
|
|
232
|
+
this.uy_1 = new DescriptorSchemaCache();
|
|
233
233
|
}
|
|
234
|
-
protoOf(Json).
|
|
235
|
-
return this.
|
|
234
|
+
protoOf(Json).jm = function () {
|
|
235
|
+
return this.ty_1;
|
|
236
236
|
};
|
|
237
|
-
protoOf(Json).
|
|
237
|
+
protoOf(Json).vy = function (deserializer, string) {
|
|
238
238
|
var lexer = new StringJsonLexer(string);
|
|
239
|
-
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.
|
|
240
|
-
var result = input.
|
|
241
|
-
lexer.
|
|
239
|
+
var input = new StreamingJsonDecoder(this, WriteMode_OBJ_getInstance(), lexer, deserializer.wi(), null);
|
|
240
|
+
var result = input.tl(deserializer);
|
|
241
|
+
lexer.jz();
|
|
242
242
|
return result;
|
|
243
243
|
};
|
|
244
|
-
protoOf(Json).
|
|
244
|
+
protoOf(Json).wy = function (deserializer, element) {
|
|
245
245
|
return readJson(this, element, deserializer);
|
|
246
246
|
};
|
|
247
247
|
function Json_0(from, builderAction) {
|
|
248
248
|
from = from === VOID ? Default_getInstance() : from;
|
|
249
249
|
var builder = new JsonBuilder(from);
|
|
250
250
|
builderAction(builder);
|
|
251
|
-
var conf = builder.
|
|
252
|
-
return new JsonImpl(conf, builder.
|
|
251
|
+
var conf = builder.b3();
|
|
252
|
+
return new JsonImpl(conf, builder.xz_1);
|
|
253
253
|
}
|
|
254
254
|
function JsonBuilder(json) {
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
}
|
|
270
|
-
protoOf(JsonBuilder).
|
|
271
|
-
if (this.
|
|
255
|
+
this.kz_1 = json.sy_1.yz_1;
|
|
256
|
+
this.lz_1 = json.sy_1.d10_1;
|
|
257
|
+
this.mz_1 = json.sy_1.zz_1;
|
|
258
|
+
this.nz_1 = json.sy_1.a10_1;
|
|
259
|
+
this.oz_1 = json.sy_1.b10_1;
|
|
260
|
+
this.pz_1 = json.sy_1.c10_1;
|
|
261
|
+
this.qz_1 = json.sy_1.e10_1;
|
|
262
|
+
this.rz_1 = json.sy_1.f10_1;
|
|
263
|
+
this.sz_1 = json.sy_1.g10_1;
|
|
264
|
+
this.tz_1 = json.sy_1.h10_1;
|
|
265
|
+
this.uz_1 = json.sy_1.i10_1;
|
|
266
|
+
this.vz_1 = json.sy_1.j10_1;
|
|
267
|
+
this.wz_1 = json.sy_1.k10_1;
|
|
268
|
+
this.xz_1 = json.jm();
|
|
269
|
+
}
|
|
270
|
+
protoOf(JsonBuilder).b3 = function () {
|
|
271
|
+
if (this.sz_1) {
|
|
272
272
|
// Inline function 'kotlin.require' call
|
|
273
273
|
// Inline function 'kotlin.contracts.contract' call
|
|
274
|
-
if (!(this.
|
|
274
|
+
if (!(this.tz_1 === 'type')) {
|
|
275
275
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
276
276
|
var message = 'Class discriminator should not be specified when array polymorphism is specified';
|
|
277
277
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
if (!this.
|
|
280
|
+
if (!this.pz_1) {
|
|
281
281
|
// Inline function 'kotlin.require' call
|
|
282
282
|
// Inline function 'kotlin.contracts.contract' call
|
|
283
|
-
if (!(this.
|
|
283
|
+
if (!(this.qz_1 === ' ')) {
|
|
284
284
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
285
285
|
var message_0 = 'Indent should not be specified when default printing mode is used';
|
|
286
286
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
287
287
|
}
|
|
288
|
-
} else if (!(this.
|
|
288
|
+
} else if (!(this.qz_1 === ' ')) {
|
|
289
289
|
var tmp$ret$3;
|
|
290
290
|
$l$block: {
|
|
291
291
|
// Inline function 'kotlin.text.all' call
|
|
292
|
-
var indexedObject = this.
|
|
292
|
+
var indexedObject = this.qz_1;
|
|
293
293
|
var inductionVariable = 0;
|
|
294
294
|
var last = indexedObject.length;
|
|
295
295
|
while (inductionVariable < last) {
|
|
@@ -308,17 +308,17 @@
|
|
|
308
308
|
// Inline function 'kotlin.contracts.contract' call
|
|
309
309
|
if (!allWhitespaces) {
|
|
310
310
|
// Inline function 'kotlinx.serialization.json.JsonBuilder.build.<anonymous>' call
|
|
311
|
-
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.
|
|
311
|
+
var message_1 = 'Only whitespace, tab, newline and carriage return are allowed as pretty print symbols. Had ' + this.qz_1;
|
|
312
312
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
return new JsonConfiguration(this.
|
|
315
|
+
return new JsonConfiguration(this.kz_1, this.mz_1, this.nz_1, this.oz_1, this.pz_1, this.lz_1, this.qz_1, this.rz_1, this.sz_1, this.tz_1, this.uz_1, this.vz_1, this.wz_1);
|
|
316
316
|
};
|
|
317
317
|
function validateConfiguration($this) {
|
|
318
|
-
if (equals($this.
|
|
318
|
+
if (equals($this.jm(), EmptySerializersModule()))
|
|
319
319
|
return Unit_getInstance();
|
|
320
|
-
var collector = new PolymorphismValidator($this.
|
|
321
|
-
$this.
|
|
320
|
+
var collector = new PolymorphismValidator($this.sy_1.g10_1, $this.sy_1.h10_1);
|
|
321
|
+
$this.jm().by(collector);
|
|
322
322
|
}
|
|
323
323
|
function JsonImpl(configuration, module_0) {
|
|
324
324
|
Json.call(this, configuration, module_0);
|
|
@@ -342,22 +342,22 @@
|
|
|
342
342
|
allowSpecialFloatingPointValues = allowSpecialFloatingPointValues === VOID ? false : allowSpecialFloatingPointValues;
|
|
343
343
|
useAlternativeNames = useAlternativeNames === VOID ? true : useAlternativeNames;
|
|
344
344
|
namingStrategy = namingStrategy === VOID ? null : namingStrategy;
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
345
|
+
this.yz_1 = encodeDefaults;
|
|
346
|
+
this.zz_1 = ignoreUnknownKeys;
|
|
347
|
+
this.a10_1 = isLenient;
|
|
348
|
+
this.b10_1 = allowStructuredMapKeys;
|
|
349
|
+
this.c10_1 = prettyPrint;
|
|
350
|
+
this.d10_1 = explicitNulls;
|
|
351
|
+
this.e10_1 = prettyPrintIndent;
|
|
352
|
+
this.f10_1 = coerceInputValues;
|
|
353
|
+
this.g10_1 = useArrayPolymorphism;
|
|
354
|
+
this.h10_1 = classDiscriminator;
|
|
355
|
+
this.i10_1 = allowSpecialFloatingPointValues;
|
|
356
|
+
this.j10_1 = useAlternativeNames;
|
|
357
|
+
this.k10_1 = namingStrategy;
|
|
358
358
|
}
|
|
359
359
|
protoOf(JsonConfiguration).toString = function () {
|
|
360
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
360
|
+
return 'JsonConfiguration(encodeDefaults=' + this.yz_1 + ', ignoreUnknownKeys=' + this.zz_1 + ', isLenient=' + this.a10_1 + ', ' + ('allowStructuredMapKeys=' + this.b10_1 + ', prettyPrint=' + this.c10_1 + ', explicitNulls=' + this.d10_1 + ', ') + ("prettyPrintIndent='" + this.e10_1 + "', coerceInputValues=" + this.f10_1 + ', useArrayPolymorphism=' + this.g10_1 + ', ') + ("classDiscriminator='" + this.h10_1 + "', allowSpecialFloatingPointValues=" + this.i10_1 + ', useAlternativeNames=' + this.j10_1 + ', ') + ('namingStrategy=' + this.k10_1 + ')');
|
|
361
361
|
};
|
|
362
362
|
function JsonDecoder() {
|
|
363
363
|
}
|
|
@@ -371,13 +371,9 @@
|
|
|
371
371
|
new Companion();
|
|
372
372
|
return Companion_instance;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function JsonElement() {
|
|
375
375
|
Companion_getInstance_5();
|
|
376
|
-
JsonElement.call(this);
|
|
377
376
|
}
|
|
378
|
-
protoOf(JsonPrimitive).toString = function () {
|
|
379
|
-
return this.uz();
|
|
380
|
-
};
|
|
381
377
|
function Companion_0() {
|
|
382
378
|
Companion_instance_0 = this;
|
|
383
379
|
}
|
|
@@ -387,9 +383,13 @@
|
|
|
387
383
|
new Companion_0();
|
|
388
384
|
return Companion_instance_0;
|
|
389
385
|
}
|
|
390
|
-
function
|
|
386
|
+
function JsonPrimitive() {
|
|
391
387
|
Companion_getInstance_6();
|
|
388
|
+
JsonElement.call(this);
|
|
392
389
|
}
|
|
390
|
+
protoOf(JsonPrimitive).toString = function () {
|
|
391
|
+
return this.n10();
|
|
392
|
+
};
|
|
393
393
|
function Companion_1() {
|
|
394
394
|
Companion_instance_1 = this;
|
|
395
395
|
}
|
|
@@ -401,9 +401,9 @@
|
|
|
401
401
|
}
|
|
402
402
|
function JsonObject$toString$lambda(_name_for_destructuring_parameter_0__wldtmu) {
|
|
403
403
|
// Inline function 'kotlin.collections.component1' call
|
|
404
|
-
var k = _name_for_destructuring_parameter_0__wldtmu.
|
|
404
|
+
var k = _name_for_destructuring_parameter_0__wldtmu.o2();
|
|
405
405
|
// Inline function 'kotlin.collections.component2' call
|
|
406
|
-
var v = _name_for_destructuring_parameter_0__wldtmu.
|
|
406
|
+
var v = _name_for_destructuring_parameter_0__wldtmu.p2();
|
|
407
407
|
// Inline function 'kotlin.text.buildString' call
|
|
408
408
|
// Inline function 'kotlin.contracts.contract' call
|
|
409
409
|
// Inline function 'kotlin.apply' call
|
|
@@ -411,75 +411,53 @@
|
|
|
411
411
|
// Inline function 'kotlin.contracts.contract' call
|
|
412
412
|
// Inline function 'kotlinx.serialization.json.JsonObject.toString.<anonymous>.<anonymous>' call
|
|
413
413
|
printQuoted(tmp0_apply, k);
|
|
414
|
-
tmp0_apply.
|
|
415
|
-
tmp0_apply.
|
|
414
|
+
tmp0_apply.g5(_Char___init__impl__6a9atx(58));
|
|
415
|
+
tmp0_apply.e5(v);
|
|
416
416
|
return tmp0_apply.toString();
|
|
417
417
|
}
|
|
418
418
|
function JsonObject(content) {
|
|
419
419
|
Companion_getInstance_7();
|
|
420
420
|
JsonElement.call(this);
|
|
421
|
-
this.
|
|
421
|
+
this.o10_1 = content;
|
|
422
422
|
}
|
|
423
|
-
protoOf(JsonObject).
|
|
424
|
-
return this.
|
|
423
|
+
protoOf(JsonObject).n2 = function () {
|
|
424
|
+
return this.o10_1.n2();
|
|
425
425
|
};
|
|
426
|
-
protoOf(JsonObject).
|
|
427
|
-
return this.
|
|
426
|
+
protoOf(JsonObject).k2 = function () {
|
|
427
|
+
return this.o10_1.k2();
|
|
428
428
|
};
|
|
429
|
-
protoOf(JsonObject).
|
|
430
|
-
return this.
|
|
429
|
+
protoOf(JsonObject).n = function () {
|
|
430
|
+
return this.o10_1.n();
|
|
431
431
|
};
|
|
432
|
-
protoOf(JsonObject).
|
|
433
|
-
return this.
|
|
432
|
+
protoOf(JsonObject).p10 = function (key) {
|
|
433
|
+
return this.o10_1.s2(key);
|
|
434
434
|
};
|
|
435
|
-
protoOf(JsonObject).
|
|
435
|
+
protoOf(JsonObject).s2 = function (key) {
|
|
436
436
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
437
437
|
return false;
|
|
438
|
-
return this.
|
|
438
|
+
return this.p10((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
439
439
|
};
|
|
440
|
-
protoOf(JsonObject).
|
|
441
|
-
return this.
|
|
440
|
+
protoOf(JsonObject).g9 = function (key) {
|
|
441
|
+
return this.o10_1.u2(key);
|
|
442
442
|
};
|
|
443
|
-
protoOf(JsonObject).
|
|
443
|
+
protoOf(JsonObject).u2 = function (key) {
|
|
444
444
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
445
445
|
return null;
|
|
446
|
-
return this.
|
|
446
|
+
return this.g9((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
447
447
|
};
|
|
448
|
-
protoOf(JsonObject).
|
|
449
|
-
return this.
|
|
448
|
+
protoOf(JsonObject).c1 = function () {
|
|
449
|
+
return this.o10_1.c1();
|
|
450
450
|
};
|
|
451
451
|
protoOf(JsonObject).equals = function (other) {
|
|
452
|
-
return equals(this.
|
|
452
|
+
return equals(this.o10_1, other);
|
|
453
453
|
};
|
|
454
454
|
protoOf(JsonObject).hashCode = function () {
|
|
455
|
-
return hashCode(this.
|
|
455
|
+
return hashCode(this.o10_1);
|
|
456
456
|
};
|
|
457
457
|
protoOf(JsonObject).toString = function () {
|
|
458
|
-
var tmp = this.
|
|
458
|
+
var tmp = this.o10_1.n2();
|
|
459
459
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
460
460
|
};
|
|
461
|
-
function get_jsonObject(_this__u8e3s4) {
|
|
462
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
463
|
-
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonObject ? _this__u8e3s4 : null;
|
|
464
|
-
var tmp;
|
|
465
|
-
if (tmp0_elvis_lhs == null) {
|
|
466
|
-
error(_this__u8e3s4, 'JsonObject');
|
|
467
|
-
} else {
|
|
468
|
-
tmp = tmp0_elvis_lhs;
|
|
469
|
-
}
|
|
470
|
-
return tmp;
|
|
471
|
-
}
|
|
472
|
-
function get_boolean(_this__u8e3s4) {
|
|
473
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
474
|
-
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.uz());
|
|
475
|
-
var tmp;
|
|
476
|
-
if (tmp0_elvis_lhs == null) {
|
|
477
|
-
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
478
|
-
} else {
|
|
479
|
-
tmp = tmp0_elvis_lhs;
|
|
480
|
-
}
|
|
481
|
-
return tmp;
|
|
482
|
-
}
|
|
483
461
|
function Companion_2() {
|
|
484
462
|
Companion_instance_2 = this;
|
|
485
463
|
}
|
|
@@ -492,63 +470,51 @@
|
|
|
492
470
|
function JsonArray(content) {
|
|
493
471
|
Companion_getInstance_8();
|
|
494
472
|
JsonElement.call(this);
|
|
495
|
-
this.
|
|
473
|
+
this.q10_1 = content;
|
|
496
474
|
}
|
|
497
|
-
protoOf(JsonArray).
|
|
498
|
-
return this.
|
|
475
|
+
protoOf(JsonArray).n = function () {
|
|
476
|
+
return this.q10_1.n();
|
|
499
477
|
};
|
|
500
|
-
protoOf(JsonArray).
|
|
501
|
-
return this.
|
|
478
|
+
protoOf(JsonArray).r10 = function (element) {
|
|
479
|
+
return this.q10_1.r(element);
|
|
502
480
|
};
|
|
503
|
-
protoOf(JsonArray).
|
|
481
|
+
protoOf(JsonArray).r = function (element) {
|
|
504
482
|
if (!(element instanceof JsonElement))
|
|
505
483
|
return false;
|
|
506
|
-
return this.
|
|
484
|
+
return this.r10(element instanceof JsonElement ? element : THROW_CCE());
|
|
507
485
|
};
|
|
508
|
-
protoOf(JsonArray).
|
|
509
|
-
return this.
|
|
486
|
+
protoOf(JsonArray).s10 = function (elements) {
|
|
487
|
+
return this.q10_1.b1(elements);
|
|
510
488
|
};
|
|
511
|
-
protoOf(JsonArray).
|
|
512
|
-
return this.
|
|
489
|
+
protoOf(JsonArray).b1 = function (elements) {
|
|
490
|
+
return this.s10(elements);
|
|
513
491
|
};
|
|
514
|
-
protoOf(JsonArray).
|
|
515
|
-
return this.
|
|
492
|
+
protoOf(JsonArray).g1 = function (index) {
|
|
493
|
+
return this.q10_1.g1(index);
|
|
516
494
|
};
|
|
517
|
-
protoOf(JsonArray).
|
|
518
|
-
return this.
|
|
495
|
+
protoOf(JsonArray).c1 = function () {
|
|
496
|
+
return this.q10_1.c1();
|
|
519
497
|
};
|
|
520
|
-
protoOf(JsonArray).
|
|
521
|
-
|
|
522
|
-
return -1;
|
|
523
|
-
return this.a10(element instanceof JsonElement ? element : THROW_CCE());
|
|
524
|
-
};
|
|
525
|
-
protoOf(JsonArray).g = function () {
|
|
526
|
-
return this.xz_1.g();
|
|
498
|
+
protoOf(JsonArray).v = function () {
|
|
499
|
+
return this.q10_1.v();
|
|
527
500
|
};
|
|
528
|
-
protoOf(JsonArray).
|
|
529
|
-
return this.
|
|
501
|
+
protoOf(JsonArray).a2 = function (index) {
|
|
502
|
+
return this.q10_1.a2(index);
|
|
530
503
|
};
|
|
531
|
-
protoOf(JsonArray).
|
|
532
|
-
return this.
|
|
533
|
-
};
|
|
534
|
-
protoOf(JsonArray).s = function (fromIndex, toIndex) {
|
|
535
|
-
return this.xz_1.s(fromIndex, toIndex);
|
|
504
|
+
protoOf(JsonArray).b2 = function (fromIndex, toIndex) {
|
|
505
|
+
return this.q10_1.b2(fromIndex, toIndex);
|
|
536
506
|
};
|
|
537
507
|
protoOf(JsonArray).equals = function (other) {
|
|
538
|
-
return equals(this.
|
|
508
|
+
return equals(this.q10_1, other);
|
|
539
509
|
};
|
|
540
510
|
protoOf(JsonArray).hashCode = function () {
|
|
541
|
-
return hashCode(this.
|
|
511
|
+
return hashCode(this.q10_1);
|
|
542
512
|
};
|
|
543
513
|
protoOf(JsonArray).toString = function () {
|
|
544
|
-
return joinToString(this.
|
|
514
|
+
return joinToString(this.q10_1, ',', '[', ']');
|
|
545
515
|
};
|
|
546
|
-
function error(_this__u8e3s4, element) {
|
|
547
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
548
|
-
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
549
|
-
}
|
|
550
516
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
551
|
-
return $this.
|
|
517
|
+
return $this.u10_1.p2();
|
|
552
518
|
}
|
|
553
519
|
function JsonNull$_anonymous__enib48() {
|
|
554
520
|
return JsonNullSerializer_getInstance();
|
|
@@ -556,19 +522,19 @@
|
|
|
556
522
|
function JsonNull() {
|
|
557
523
|
JsonNull_instance = this;
|
|
558
524
|
JsonPrimitive.call(this);
|
|
559
|
-
this.
|
|
525
|
+
this.t10_1 = 'null';
|
|
560
526
|
var tmp = this;
|
|
561
527
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
562
|
-
tmp.
|
|
528
|
+
tmp.u10_1 = lazy(tmp_0, JsonNull$_anonymous__enib48);
|
|
563
529
|
}
|
|
564
|
-
protoOf(JsonNull).
|
|
565
|
-
return this.
|
|
530
|
+
protoOf(JsonNull).n10 = function () {
|
|
531
|
+
return this.t10_1;
|
|
566
532
|
};
|
|
567
|
-
protoOf(JsonNull).
|
|
533
|
+
protoOf(JsonNull).v10 = function () {
|
|
568
534
|
return _get_$cachedSerializer__te6jhj(this);
|
|
569
535
|
};
|
|
570
|
-
protoOf(JsonNull).
|
|
571
|
-
return this.
|
|
536
|
+
protoOf(JsonNull).ds = function (typeParamsSerializers) {
|
|
537
|
+
return this.v10();
|
|
572
538
|
};
|
|
573
539
|
var JsonNull_instance;
|
|
574
540
|
function JsonNull_getInstance() {
|
|
@@ -579,37 +545,37 @@
|
|
|
579
545
|
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
580
546
|
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
581
547
|
JsonPrimitive.call(this);
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
585
|
-
if (!(this.
|
|
548
|
+
this.w10_1 = isString;
|
|
549
|
+
this.x10_1 = coerceToInlineType;
|
|
550
|
+
this.y10_1 = toString(body);
|
|
551
|
+
if (!(this.x10_1 == null)) {
|
|
586
552
|
// Inline function 'kotlin.require' call
|
|
587
553
|
// Inline function 'kotlin.contracts.contract' call
|
|
588
554
|
// Inline function 'kotlin.require' call
|
|
589
555
|
// Inline function 'kotlin.contracts.contract' call
|
|
590
|
-
if (!this.
|
|
556
|
+
if (!this.x10_1.ak()) {
|
|
591
557
|
// Inline function 'kotlin.require.<anonymous>' call
|
|
592
558
|
var message = 'Failed requirement.';
|
|
593
559
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
594
560
|
}
|
|
595
561
|
}
|
|
596
562
|
}
|
|
597
|
-
protoOf(JsonLiteral).
|
|
598
|
-
return this.
|
|
563
|
+
protoOf(JsonLiteral).n10 = function () {
|
|
564
|
+
return this.y10_1;
|
|
599
565
|
};
|
|
600
566
|
protoOf(JsonLiteral).toString = function () {
|
|
601
567
|
var tmp;
|
|
602
|
-
if (this.
|
|
568
|
+
if (this.w10_1) {
|
|
603
569
|
// Inline function 'kotlin.text.buildString' call
|
|
604
570
|
// Inline function 'kotlin.contracts.contract' call
|
|
605
571
|
// Inline function 'kotlin.apply' call
|
|
606
572
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
607
573
|
// Inline function 'kotlin.contracts.contract' call
|
|
608
574
|
// Inline function 'kotlinx.serialization.json.JsonLiteral.toString.<anonymous>' call
|
|
609
|
-
printQuoted(tmp0_apply, this.
|
|
575
|
+
printQuoted(tmp0_apply, this.y10_1);
|
|
610
576
|
tmp = tmp0_apply.toString();
|
|
611
577
|
} else {
|
|
612
|
-
tmp = this.
|
|
578
|
+
tmp = this.y10_1;
|
|
613
579
|
}
|
|
614
580
|
return tmp;
|
|
615
581
|
};
|
|
@@ -620,22 +586,34 @@
|
|
|
620
586
|
return false;
|
|
621
587
|
if (!(other instanceof JsonLiteral))
|
|
622
588
|
THROW_CCE();
|
|
623
|
-
if (!(this.
|
|
589
|
+
if (!(this.w10_1 === other.w10_1))
|
|
624
590
|
return false;
|
|
625
|
-
if (!(this.
|
|
591
|
+
if (!(this.y10_1 === other.y10_1))
|
|
626
592
|
return false;
|
|
627
593
|
return true;
|
|
628
594
|
};
|
|
629
595
|
protoOf(JsonLiteral).hashCode = function () {
|
|
630
|
-
var result = this.
|
|
631
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
596
|
+
var result = this.w10_1 | 0;
|
|
597
|
+
result = imul(31, result) + getStringHashCode(this.y10_1) | 0;
|
|
632
598
|
return result;
|
|
633
599
|
};
|
|
634
600
|
function get_booleanOrNull(_this__u8e3s4) {
|
|
635
601
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
636
|
-
return toBooleanStrictOrNull(_this__u8e3s4.
|
|
602
|
+
return toBooleanStrictOrNull(_this__u8e3s4.n10());
|
|
637
603
|
}
|
|
638
604
|
function JsonPrimitive_0(value) {
|
|
605
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
606
|
+
if (value == null)
|
|
607
|
+
return JsonNull_getInstance();
|
|
608
|
+
return new JsonLiteral(value, false);
|
|
609
|
+
}
|
|
610
|
+
function JsonPrimitive_1(value) {
|
|
611
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
612
|
+
if (value == null)
|
|
613
|
+
return JsonNull_getInstance();
|
|
614
|
+
return new JsonLiteral(value, false);
|
|
615
|
+
}
|
|
616
|
+
function JsonPrimitive_2(value) {
|
|
639
617
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
640
618
|
if (value == null)
|
|
641
619
|
return JsonNull_getInstance();
|
|
@@ -643,23 +621,23 @@
|
|
|
643
621
|
}
|
|
644
622
|
function get_int(_this__u8e3s4) {
|
|
645
623
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
646
|
-
return toInt(_this__u8e3s4.
|
|
624
|
+
return toInt(_this__u8e3s4.n10());
|
|
647
625
|
}
|
|
648
626
|
function get_long(_this__u8e3s4) {
|
|
649
627
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
650
|
-
return toLong(_this__u8e3s4.
|
|
628
|
+
return toLong(_this__u8e3s4.n10());
|
|
651
629
|
}
|
|
652
630
|
function get_float(_this__u8e3s4) {
|
|
653
631
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
654
632
|
// Inline function 'kotlin.text.toFloat' call
|
|
655
|
-
var tmp0_toFloat = _this__u8e3s4.
|
|
633
|
+
var tmp0_toFloat = _this__u8e3s4.n10();
|
|
656
634
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
657
635
|
// Inline function 'kotlin.js.asDynamic' call
|
|
658
636
|
return toDouble(tmp0_toFloat);
|
|
659
637
|
}
|
|
660
638
|
function get_double(_this__u8e3s4) {
|
|
661
639
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
662
|
-
return toDouble(_this__u8e3s4.
|
|
640
|
+
return toDouble(_this__u8e3s4.n10());
|
|
663
641
|
}
|
|
664
642
|
function get_contentOrNull(_this__u8e3s4) {
|
|
665
643
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -667,7 +645,7 @@
|
|
|
667
645
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
668
646
|
tmp = null;
|
|
669
647
|
} else {
|
|
670
|
-
tmp = _this__u8e3s4.
|
|
648
|
+
tmp = _this__u8e3s4.n10();
|
|
671
649
|
}
|
|
672
650
|
return tmp;
|
|
673
651
|
}
|
|
@@ -682,6 +660,32 @@
|
|
|
682
660
|
}
|
|
683
661
|
return tmp;
|
|
684
662
|
}
|
|
663
|
+
function error(_this__u8e3s4, element) {
|
|
664
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
665
|
+
throw IllegalArgumentException_init_$Create$('Element ' + getKClassFromExpression(_this__u8e3s4) + ' is not a ' + element);
|
|
666
|
+
}
|
|
667
|
+
function get_jsonObject(_this__u8e3s4) {
|
|
668
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
669
|
+
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonObject ? _this__u8e3s4 : null;
|
|
670
|
+
var tmp;
|
|
671
|
+
if (tmp0_elvis_lhs == null) {
|
|
672
|
+
error(_this__u8e3s4, 'JsonObject');
|
|
673
|
+
} else {
|
|
674
|
+
tmp = tmp0_elvis_lhs;
|
|
675
|
+
}
|
|
676
|
+
return tmp;
|
|
677
|
+
}
|
|
678
|
+
function get_boolean(_this__u8e3s4) {
|
|
679
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
680
|
+
var tmp0_elvis_lhs = toBooleanStrictOrNull(_this__u8e3s4.n10());
|
|
681
|
+
var tmp;
|
|
682
|
+
if (tmp0_elvis_lhs == null) {
|
|
683
|
+
throw IllegalStateException_init_$Create$('' + _this__u8e3s4 + ' does not represent a Boolean');
|
|
684
|
+
} else {
|
|
685
|
+
tmp = tmp0_elvis_lhs;
|
|
686
|
+
}
|
|
687
|
+
return tmp;
|
|
688
|
+
}
|
|
685
689
|
var properties_initialized_JsonElement_kt_abxy8s;
|
|
686
690
|
function _init_properties_JsonElement_kt__7cbdc2() {
|
|
687
691
|
if (!properties_initialized_JsonElement_kt_abxy8s) {
|
|
@@ -690,40 +694,40 @@
|
|
|
690
694
|
}
|
|
691
695
|
}
|
|
692
696
|
function JsonElementSerializer$descriptor$lambda($this$buildSerialDescriptor) {
|
|
693
|
-
$this$buildSerialDescriptor.
|
|
694
|
-
$this$buildSerialDescriptor.
|
|
695
|
-
$this$buildSerialDescriptor.
|
|
696
|
-
$this$buildSerialDescriptor.
|
|
697
|
-
$this$buildSerialDescriptor.
|
|
697
|
+
$this$buildSerialDescriptor.gj('JsonPrimitive', defer(JsonElementSerializer$descriptor$lambda$lambda));
|
|
698
|
+
$this$buildSerialDescriptor.gj('JsonNull', defer(JsonElementSerializer$descriptor$lambda$lambda_0));
|
|
699
|
+
$this$buildSerialDescriptor.gj('JsonLiteral', defer(JsonElementSerializer$descriptor$lambda$lambda_1));
|
|
700
|
+
$this$buildSerialDescriptor.gj('JsonObject', defer(JsonElementSerializer$descriptor$lambda$lambda_2));
|
|
701
|
+
$this$buildSerialDescriptor.gj('JsonArray', defer(JsonElementSerializer$descriptor$lambda$lambda_3));
|
|
698
702
|
return Unit_getInstance();
|
|
699
703
|
}
|
|
700
704
|
function JsonElementSerializer$descriptor$lambda$lambda() {
|
|
701
|
-
return JsonPrimitiveSerializer_getInstance().
|
|
705
|
+
return JsonPrimitiveSerializer_getInstance().z10_1;
|
|
702
706
|
}
|
|
703
707
|
function JsonElementSerializer$descriptor$lambda$lambda_0() {
|
|
704
|
-
return JsonNullSerializer_getInstance().
|
|
708
|
+
return JsonNullSerializer_getInstance().a11_1;
|
|
705
709
|
}
|
|
706
710
|
function JsonElementSerializer$descriptor$lambda$lambda_1() {
|
|
707
|
-
return JsonLiteralSerializer_getInstance().
|
|
711
|
+
return JsonLiteralSerializer_getInstance().b11_1;
|
|
708
712
|
}
|
|
709
713
|
function JsonElementSerializer$descriptor$lambda$lambda_2() {
|
|
710
|
-
return JsonObjectSerializer_getInstance().
|
|
714
|
+
return JsonObjectSerializer_getInstance().c11_1;
|
|
711
715
|
}
|
|
712
716
|
function JsonElementSerializer$descriptor$lambda$lambda_3() {
|
|
713
|
-
return JsonArraySerializer_getInstance().
|
|
717
|
+
return JsonArraySerializer_getInstance().d11_1;
|
|
714
718
|
}
|
|
715
719
|
function JsonElementSerializer() {
|
|
716
720
|
JsonElementSerializer_instance = this;
|
|
717
721
|
var tmp = this;
|
|
718
722
|
var tmp_0 = SEALED_getInstance();
|
|
719
|
-
tmp.
|
|
723
|
+
tmp.e11_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonElement', tmp_0, [], JsonElementSerializer$descriptor$lambda);
|
|
720
724
|
}
|
|
721
|
-
protoOf(JsonElementSerializer).
|
|
722
|
-
return this.
|
|
725
|
+
protoOf(JsonElementSerializer).wi = function () {
|
|
726
|
+
return this.e11_1;
|
|
723
727
|
};
|
|
724
|
-
protoOf(JsonElementSerializer).
|
|
728
|
+
protoOf(JsonElementSerializer).xi = function (decoder) {
|
|
725
729
|
var input = asJsonDecoder(decoder);
|
|
726
|
-
return input.
|
|
730
|
+
return input.m10();
|
|
727
731
|
};
|
|
728
732
|
var JsonElementSerializer_instance;
|
|
729
733
|
function JsonElementSerializer_getInstance() {
|
|
@@ -731,15 +735,18 @@
|
|
|
731
735
|
new JsonElementSerializer();
|
|
732
736
|
return JsonElementSerializer_instance;
|
|
733
737
|
}
|
|
738
|
+
function defer(deferred) {
|
|
739
|
+
return new defer$1(deferred);
|
|
740
|
+
}
|
|
734
741
|
function JsonPrimitiveSerializer() {
|
|
735
742
|
JsonPrimitiveSerializer_instance = this;
|
|
736
|
-
this.
|
|
743
|
+
this.z10_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
737
744
|
}
|
|
738
|
-
protoOf(JsonPrimitiveSerializer).
|
|
739
|
-
return this.
|
|
745
|
+
protoOf(JsonPrimitiveSerializer).wi = function () {
|
|
746
|
+
return this.z10_1;
|
|
740
747
|
};
|
|
741
|
-
protoOf(JsonPrimitiveSerializer).
|
|
742
|
-
var result = asJsonDecoder(decoder).
|
|
748
|
+
protoOf(JsonPrimitiveSerializer).xi = function (decoder) {
|
|
749
|
+
var result = asJsonDecoder(decoder).m10();
|
|
743
750
|
if (!(result instanceof JsonPrimitive))
|
|
744
751
|
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + getKClassFromExpression(result), toString(result));
|
|
745
752
|
return result;
|
|
@@ -750,43 +757,83 @@
|
|
|
750
757
|
new JsonPrimitiveSerializer();
|
|
751
758
|
return JsonPrimitiveSerializer_instance;
|
|
752
759
|
}
|
|
760
|
+
function JsonNullSerializer() {
|
|
761
|
+
JsonNullSerializer_instance = this;
|
|
762
|
+
this.a11_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
763
|
+
}
|
|
764
|
+
protoOf(JsonNullSerializer).wi = function () {
|
|
765
|
+
return this.a11_1;
|
|
766
|
+
};
|
|
767
|
+
protoOf(JsonNullSerializer).xi = function (decoder) {
|
|
768
|
+
verify(decoder);
|
|
769
|
+
if (decoder.fl()) {
|
|
770
|
+
throw new JsonDecodingException("Expected 'null' literal");
|
|
771
|
+
}
|
|
772
|
+
decoder.gl();
|
|
773
|
+
return JsonNull_getInstance();
|
|
774
|
+
};
|
|
775
|
+
var JsonNullSerializer_instance;
|
|
776
|
+
function JsonNullSerializer_getInstance() {
|
|
777
|
+
if (JsonNullSerializer_instance == null)
|
|
778
|
+
new JsonNullSerializer();
|
|
779
|
+
return JsonNullSerializer_instance;
|
|
780
|
+
}
|
|
781
|
+
function JsonLiteralSerializer() {
|
|
782
|
+
JsonLiteralSerializer_instance = this;
|
|
783
|
+
this.b11_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
784
|
+
}
|
|
785
|
+
protoOf(JsonLiteralSerializer).wi = function () {
|
|
786
|
+
return this.b11_1;
|
|
787
|
+
};
|
|
788
|
+
protoOf(JsonLiteralSerializer).xi = function (decoder) {
|
|
789
|
+
var result = asJsonDecoder(decoder).m10();
|
|
790
|
+
if (!(result instanceof JsonLiteral))
|
|
791
|
+
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
792
|
+
return result;
|
|
793
|
+
};
|
|
794
|
+
var JsonLiteralSerializer_instance;
|
|
795
|
+
function JsonLiteralSerializer_getInstance() {
|
|
796
|
+
if (JsonLiteralSerializer_instance == null)
|
|
797
|
+
new JsonLiteralSerializer();
|
|
798
|
+
return JsonLiteralSerializer_instance;
|
|
799
|
+
}
|
|
753
800
|
function JsonObjectDescriptor() {
|
|
754
801
|
JsonObjectDescriptor_instance = this;
|
|
755
|
-
this.
|
|
756
|
-
this.
|
|
802
|
+
this.f11_1 = MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).wi();
|
|
803
|
+
this.g11_1 = 'kotlinx.serialization.json.JsonObject';
|
|
757
804
|
}
|
|
758
|
-
protoOf(JsonObjectDescriptor).
|
|
759
|
-
return this.
|
|
805
|
+
protoOf(JsonObjectDescriptor).yj = function () {
|
|
806
|
+
return this.f11_1.yj();
|
|
760
807
|
};
|
|
761
|
-
protoOf(JsonObjectDescriptor).
|
|
762
|
-
return this.
|
|
808
|
+
protoOf(JsonObjectDescriptor).zj = function () {
|
|
809
|
+
return this.f11_1.zj();
|
|
763
810
|
};
|
|
764
|
-
protoOf(JsonObjectDescriptor).
|
|
765
|
-
return this.
|
|
811
|
+
protoOf(JsonObjectDescriptor).ak = function () {
|
|
812
|
+
return this.f11_1.ak();
|
|
766
813
|
};
|
|
767
|
-
protoOf(JsonObjectDescriptor).
|
|
768
|
-
return this.
|
|
814
|
+
protoOf(JsonObjectDescriptor).tj = function () {
|
|
815
|
+
return this.f11_1.tj();
|
|
769
816
|
};
|
|
770
|
-
protoOf(JsonObjectDescriptor).
|
|
771
|
-
return this.
|
|
817
|
+
protoOf(JsonObjectDescriptor).bk = function () {
|
|
818
|
+
return this.f11_1.bk();
|
|
772
819
|
};
|
|
773
|
-
protoOf(JsonObjectDescriptor).
|
|
774
|
-
return this.
|
|
820
|
+
protoOf(JsonObjectDescriptor).ck = function (index) {
|
|
821
|
+
return this.f11_1.ck(index);
|
|
775
822
|
};
|
|
776
|
-
protoOf(JsonObjectDescriptor).
|
|
777
|
-
return this.
|
|
823
|
+
protoOf(JsonObjectDescriptor).dk = function (index) {
|
|
824
|
+
return this.f11_1.dk(index);
|
|
778
825
|
};
|
|
779
|
-
protoOf(JsonObjectDescriptor).
|
|
780
|
-
return this.
|
|
826
|
+
protoOf(JsonObjectDescriptor).ek = function (name) {
|
|
827
|
+
return this.f11_1.ek(name);
|
|
781
828
|
};
|
|
782
|
-
protoOf(JsonObjectDescriptor).
|
|
783
|
-
return this.
|
|
829
|
+
protoOf(JsonObjectDescriptor).fk = function (index) {
|
|
830
|
+
return this.f11_1.fk(index);
|
|
784
831
|
};
|
|
785
|
-
protoOf(JsonObjectDescriptor).
|
|
786
|
-
return this.
|
|
832
|
+
protoOf(JsonObjectDescriptor).gk = function (index) {
|
|
833
|
+
return this.f11_1.gk(index);
|
|
787
834
|
};
|
|
788
|
-
protoOf(JsonObjectDescriptor).
|
|
789
|
-
return this.
|
|
835
|
+
protoOf(JsonObjectDescriptor).xj = function () {
|
|
836
|
+
return this.g11_1;
|
|
790
837
|
};
|
|
791
838
|
var JsonObjectDescriptor_instance;
|
|
792
839
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -796,14 +843,14 @@
|
|
|
796
843
|
}
|
|
797
844
|
function JsonObjectSerializer() {
|
|
798
845
|
JsonObjectSerializer_instance = this;
|
|
799
|
-
this.
|
|
846
|
+
this.c11_1 = JsonObjectDescriptor_getInstance();
|
|
800
847
|
}
|
|
801
|
-
protoOf(JsonObjectSerializer).
|
|
802
|
-
return this.
|
|
848
|
+
protoOf(JsonObjectSerializer).wi = function () {
|
|
849
|
+
return this.c11_1;
|
|
803
850
|
};
|
|
804
|
-
protoOf(JsonObjectSerializer).
|
|
851
|
+
protoOf(JsonObjectSerializer).xi = function (decoder) {
|
|
805
852
|
verify(decoder);
|
|
806
|
-
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).
|
|
853
|
+
return new JsonObject(MapSerializer(serializer(StringCompanionObject_getInstance()), JsonElementSerializer_getInstance()).xi(decoder));
|
|
807
854
|
};
|
|
808
855
|
var JsonObjectSerializer_instance;
|
|
809
856
|
function JsonObjectSerializer_getInstance() {
|
|
@@ -813,41 +860,41 @@
|
|
|
813
860
|
}
|
|
814
861
|
function JsonArrayDescriptor() {
|
|
815
862
|
JsonArrayDescriptor_instance = this;
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
863
|
+
this.h11_1 = ListSerializer(JsonElementSerializer_getInstance()).wi();
|
|
864
|
+
this.i11_1 = 'kotlinx.serialization.json.JsonArray';
|
|
818
865
|
}
|
|
819
|
-
protoOf(JsonArrayDescriptor).
|
|
820
|
-
return this.
|
|
866
|
+
protoOf(JsonArrayDescriptor).yj = function () {
|
|
867
|
+
return this.h11_1.yj();
|
|
821
868
|
};
|
|
822
|
-
protoOf(JsonArrayDescriptor).
|
|
823
|
-
return this.
|
|
869
|
+
protoOf(JsonArrayDescriptor).zj = function () {
|
|
870
|
+
return this.h11_1.zj();
|
|
824
871
|
};
|
|
825
|
-
protoOf(JsonArrayDescriptor).
|
|
826
|
-
return this.
|
|
872
|
+
protoOf(JsonArrayDescriptor).ak = function () {
|
|
873
|
+
return this.h11_1.ak();
|
|
827
874
|
};
|
|
828
|
-
protoOf(JsonArrayDescriptor).
|
|
829
|
-
return this.
|
|
875
|
+
protoOf(JsonArrayDescriptor).tj = function () {
|
|
876
|
+
return this.h11_1.tj();
|
|
830
877
|
};
|
|
831
|
-
protoOf(JsonArrayDescriptor).
|
|
832
|
-
return this.
|
|
878
|
+
protoOf(JsonArrayDescriptor).bk = function () {
|
|
879
|
+
return this.h11_1.bk();
|
|
833
880
|
};
|
|
834
|
-
protoOf(JsonArrayDescriptor).
|
|
835
|
-
return this.
|
|
881
|
+
protoOf(JsonArrayDescriptor).ck = function (index) {
|
|
882
|
+
return this.h11_1.ck(index);
|
|
836
883
|
};
|
|
837
|
-
protoOf(JsonArrayDescriptor).
|
|
838
|
-
return this.
|
|
884
|
+
protoOf(JsonArrayDescriptor).dk = function (index) {
|
|
885
|
+
return this.h11_1.dk(index);
|
|
839
886
|
};
|
|
840
|
-
protoOf(JsonArrayDescriptor).
|
|
841
|
-
return this.
|
|
887
|
+
protoOf(JsonArrayDescriptor).ek = function (name) {
|
|
888
|
+
return this.h11_1.ek(name);
|
|
842
889
|
};
|
|
843
|
-
protoOf(JsonArrayDescriptor).
|
|
844
|
-
return this.
|
|
890
|
+
protoOf(JsonArrayDescriptor).fk = function (index) {
|
|
891
|
+
return this.h11_1.fk(index);
|
|
845
892
|
};
|
|
846
|
-
protoOf(JsonArrayDescriptor).
|
|
847
|
-
return this.
|
|
893
|
+
protoOf(JsonArrayDescriptor).gk = function (index) {
|
|
894
|
+
return this.h11_1.gk(index);
|
|
848
895
|
};
|
|
849
|
-
protoOf(JsonArrayDescriptor).
|
|
850
|
-
return this.
|
|
896
|
+
protoOf(JsonArrayDescriptor).xj = function () {
|
|
897
|
+
return this.i11_1;
|
|
851
898
|
};
|
|
852
899
|
var JsonArrayDescriptor_instance;
|
|
853
900
|
function JsonArrayDescriptor_getInstance() {
|
|
@@ -857,14 +904,14 @@
|
|
|
857
904
|
}
|
|
858
905
|
function JsonArraySerializer() {
|
|
859
906
|
JsonArraySerializer_instance = this;
|
|
860
|
-
this.
|
|
907
|
+
this.d11_1 = JsonArrayDescriptor_getInstance();
|
|
861
908
|
}
|
|
862
|
-
protoOf(JsonArraySerializer).
|
|
863
|
-
return this.
|
|
909
|
+
protoOf(JsonArraySerializer).wi = function () {
|
|
910
|
+
return this.d11_1;
|
|
864
911
|
};
|
|
865
|
-
protoOf(JsonArraySerializer).
|
|
912
|
+
protoOf(JsonArraySerializer).xi = function (decoder) {
|
|
866
913
|
verify(decoder);
|
|
867
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).
|
|
914
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).xi(decoder));
|
|
868
915
|
};
|
|
869
916
|
var JsonArraySerializer_instance;
|
|
870
917
|
function JsonArraySerializer_getInstance() {
|
|
@@ -872,49 +919,6 @@
|
|
|
872
919
|
new JsonArraySerializer();
|
|
873
920
|
return JsonArraySerializer_instance;
|
|
874
921
|
}
|
|
875
|
-
function defer(deferred) {
|
|
876
|
-
return new defer$1(deferred);
|
|
877
|
-
}
|
|
878
|
-
function JsonNullSerializer() {
|
|
879
|
-
JsonNullSerializer_instance = this;
|
|
880
|
-
this.i10_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
881
|
-
}
|
|
882
|
-
protoOf(JsonNullSerializer).di = function () {
|
|
883
|
-
return this.i10_1;
|
|
884
|
-
};
|
|
885
|
-
protoOf(JsonNullSerializer).ei = function (decoder) {
|
|
886
|
-
verify(decoder);
|
|
887
|
-
if (decoder.mk()) {
|
|
888
|
-
throw new JsonDecodingException("Expected 'null' literal");
|
|
889
|
-
}
|
|
890
|
-
decoder.nk();
|
|
891
|
-
return JsonNull_getInstance();
|
|
892
|
-
};
|
|
893
|
-
var JsonNullSerializer_instance;
|
|
894
|
-
function JsonNullSerializer_getInstance() {
|
|
895
|
-
if (JsonNullSerializer_instance == null)
|
|
896
|
-
new JsonNullSerializer();
|
|
897
|
-
return JsonNullSerializer_instance;
|
|
898
|
-
}
|
|
899
|
-
function JsonLiteralSerializer() {
|
|
900
|
-
JsonLiteralSerializer_instance = this;
|
|
901
|
-
this.j10_1 = PrimitiveSerialDescriptor('kotlinx.serialization.json.JsonLiteral', STRING_getInstance());
|
|
902
|
-
}
|
|
903
|
-
protoOf(JsonLiteralSerializer).di = function () {
|
|
904
|
-
return this.j10_1;
|
|
905
|
-
};
|
|
906
|
-
protoOf(JsonLiteralSerializer).ei = function (decoder) {
|
|
907
|
-
var result = asJsonDecoder(decoder).tz();
|
|
908
|
-
if (!(result instanceof JsonLiteral))
|
|
909
|
-
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonLiteral, had ' + getKClassFromExpression(result), toString(result));
|
|
910
|
-
return result;
|
|
911
|
-
};
|
|
912
|
-
var JsonLiteralSerializer_instance;
|
|
913
|
-
function JsonLiteralSerializer_getInstance() {
|
|
914
|
-
if (JsonLiteralSerializer_instance == null)
|
|
915
|
-
new JsonLiteralSerializer();
|
|
916
|
-
return JsonLiteralSerializer_instance;
|
|
917
|
-
}
|
|
918
922
|
function asJsonDecoder(_this__u8e3s4) {
|
|
919
923
|
var tmp0_elvis_lhs = isInterface(_this__u8e3s4, JsonDecoder) ? _this__u8e3s4 : null;
|
|
920
924
|
var tmp;
|
|
@@ -931,34 +935,34 @@
|
|
|
931
935
|
function _get_original__l7ku1m($this) {
|
|
932
936
|
// Inline function 'kotlin.getValue' call
|
|
933
937
|
original$factory();
|
|
934
|
-
return $this.
|
|
938
|
+
return $this.j11_1.p2();
|
|
935
939
|
}
|
|
936
940
|
function defer$1($deferred) {
|
|
937
|
-
this.
|
|
941
|
+
this.j11_1 = lazy_0($deferred);
|
|
938
942
|
}
|
|
939
|
-
protoOf(defer$1).
|
|
940
|
-
return _get_original__l7ku1m(this).
|
|
943
|
+
protoOf(defer$1).xj = function () {
|
|
944
|
+
return _get_original__l7ku1m(this).xj();
|
|
941
945
|
};
|
|
942
|
-
protoOf(defer$1).
|
|
943
|
-
return _get_original__l7ku1m(this).
|
|
946
|
+
protoOf(defer$1).bk = function () {
|
|
947
|
+
return _get_original__l7ku1m(this).bk();
|
|
944
948
|
};
|
|
945
|
-
protoOf(defer$1).
|
|
946
|
-
return _get_original__l7ku1m(this).
|
|
949
|
+
protoOf(defer$1).zj = function () {
|
|
950
|
+
return _get_original__l7ku1m(this).zj();
|
|
947
951
|
};
|
|
948
|
-
protoOf(defer$1).
|
|
949
|
-
return _get_original__l7ku1m(this).
|
|
952
|
+
protoOf(defer$1).fk = function (index) {
|
|
953
|
+
return _get_original__l7ku1m(this).fk(index);
|
|
950
954
|
};
|
|
951
|
-
protoOf(defer$1).
|
|
952
|
-
return _get_original__l7ku1m(this).
|
|
955
|
+
protoOf(defer$1).ek = function (name) {
|
|
956
|
+
return _get_original__l7ku1m(this).ek(name);
|
|
953
957
|
};
|
|
954
|
-
protoOf(defer$1).
|
|
955
|
-
return _get_original__l7ku1m(this).
|
|
958
|
+
protoOf(defer$1).ck = function (index) {
|
|
959
|
+
return _get_original__l7ku1m(this).ck(index);
|
|
956
960
|
};
|
|
957
|
-
protoOf(defer$1).
|
|
958
|
-
return _get_original__l7ku1m(this).
|
|
961
|
+
protoOf(defer$1).dk = function (index) {
|
|
962
|
+
return _get_original__l7ku1m(this).dk(index);
|
|
959
963
|
};
|
|
960
|
-
protoOf(defer$1).
|
|
961
|
-
return _get_original__l7ku1m(this).
|
|
964
|
+
protoOf(defer$1).gk = function (index) {
|
|
965
|
+
return _get_original__l7ku1m(this).gk(index);
|
|
962
966
|
};
|
|
963
967
|
function original$factory() {
|
|
964
968
|
return getPropertyCallableRef('original', 1, KProperty1, function (receiver) {
|
|
@@ -966,8 +970,8 @@
|
|
|
966
970
|
}, null);
|
|
967
971
|
}
|
|
968
972
|
function readIfAbsent($this, descriptor, index) {
|
|
969
|
-
$this.
|
|
970
|
-
return $this.
|
|
973
|
+
$this.l11_1 = !descriptor.gk(index) ? descriptor.dk(index).tj() : false;
|
|
974
|
+
return $this.l11_1;
|
|
971
975
|
}
|
|
972
976
|
function JsonElementMarker$readIfAbsent$ref($boundThis) {
|
|
973
977
|
var l = function (p0, p1) {
|
|
@@ -978,14 +982,14 @@
|
|
|
978
982
|
}
|
|
979
983
|
function JsonElementMarker(descriptor) {
|
|
980
984
|
var tmp = this;
|
|
981
|
-
tmp.
|
|
982
|
-
this.
|
|
985
|
+
tmp.k11_1 = new ElementMarker(descriptor, JsonElementMarker$readIfAbsent$ref(this));
|
|
986
|
+
this.l11_1 = false;
|
|
983
987
|
}
|
|
984
|
-
protoOf(JsonElementMarker).
|
|
985
|
-
this.
|
|
988
|
+
protoOf(JsonElementMarker).wp = function (index) {
|
|
989
|
+
this.k11_1.wp(index);
|
|
986
990
|
};
|
|
987
|
-
protoOf(JsonElementMarker).
|
|
988
|
-
return this.
|
|
991
|
+
protoOf(JsonElementMarker).xp = function () {
|
|
992
|
+
return this.k11_1.xp();
|
|
989
993
|
};
|
|
990
994
|
function JsonDecodingException(message) {
|
|
991
995
|
JsonException.call(this, message);
|
|
@@ -994,29 +998,13 @@
|
|
|
994
998
|
function JsonDecodingException_0(offset, message, input) {
|
|
995
999
|
return JsonDecodingException_1(offset, message + '\nJSON input: ' + minify(input, offset));
|
|
996
1000
|
}
|
|
997
|
-
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
998
|
-
_this__u8e3s4.u10('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, get_specialFlowingValuesHint());
|
|
999
|
-
}
|
|
1000
|
-
function JsonEncodingException(message) {
|
|
1001
|
-
JsonException.call(this, message);
|
|
1002
|
-
captureStack(this, JsonEncodingException);
|
|
1003
|
-
}
|
|
1004
|
-
function InvalidKeyKindException(keyDescriptor) {
|
|
1005
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.ej() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.ij() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1006
|
-
}
|
|
1007
|
-
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1008
|
-
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
1009
|
-
}
|
|
1010
|
-
function JsonDecodingException_1(offset, message) {
|
|
1011
|
-
return new JsonDecodingException(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
|
|
1012
|
-
}
|
|
1013
|
-
function UnknownKeyException(key, input) {
|
|
1014
|
-
return JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "'.\n" + (get_ignoreUnknownKeysHint() + '\n') + ('Current input: ' + minify(input)));
|
|
1015
|
-
}
|
|
1016
1001
|
function JsonException(message) {
|
|
1017
1002
|
SerializationException_init_$Init$(message, this);
|
|
1018
1003
|
captureStack(this, JsonException);
|
|
1019
1004
|
}
|
|
1005
|
+
function JsonDecodingException_1(offset, message) {
|
|
1006
|
+
return new JsonDecodingException(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
|
|
1007
|
+
}
|
|
1020
1008
|
function minify(_this__u8e3s4, offset) {
|
|
1021
1009
|
offset = offset === VOID ? -1 : offset;
|
|
1022
1010
|
if (charSequenceLength(_this__u8e3s4) < 200)
|
|
@@ -1038,6 +1026,22 @@
|
|
|
1038
1026
|
var tmp2_substring = coerceAtMost(end, charSequenceLength(_this__u8e3s4));
|
|
1039
1027
|
return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp1_substring, tmp2_substring)) + suffix;
|
|
1040
1028
|
}
|
|
1029
|
+
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1030
|
+
_this__u8e3s4.m11('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());
|
|
1031
|
+
}
|
|
1032
|
+
function JsonEncodingException(message) {
|
|
1033
|
+
JsonException.call(this, message);
|
|
1034
|
+
captureStack(this, JsonEncodingException);
|
|
1035
|
+
}
|
|
1036
|
+
function InvalidKeyKindException(keyDescriptor) {
|
|
1037
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.xj() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.bk() + "'.\n") + get_allowStructuredMapKeysHint());
|
|
1038
|
+
}
|
|
1039
|
+
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1040
|
+
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
1041
|
+
}
|
|
1042
|
+
function UnknownKeyException(key, input) {
|
|
1043
|
+
return JsonDecodingException_1(-1, "Encountered an unknown key '" + key + "'.\n" + (get_ignoreUnknownKeysHint() + '\n') + ('Current input: ' + minify(input)));
|
|
1044
|
+
}
|
|
1041
1045
|
function unexpectedFpErrorMessage(value, key, output) {
|
|
1042
1046
|
return 'Unexpected special floating-point value ' + toString(value) + ' with key ' + key + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification. ' + (get_specialFlowingValuesHint() + '\n') + ('Current output: ' + minify(output));
|
|
1043
1047
|
}
|
|
@@ -1052,11 +1056,11 @@
|
|
|
1052
1056
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1053
1057
|
if (!(strategy == null))
|
|
1054
1058
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1055
|
-
var index = _this__u8e3s4.
|
|
1059
|
+
var index = _this__u8e3s4.ek(name);
|
|
1056
1060
|
Companion_getInstance();
|
|
1057
1061
|
if (!(index === -3))
|
|
1058
1062
|
return index;
|
|
1059
|
-
if (!json.
|
|
1063
|
+
if (!json.sy_1.j10_1)
|
|
1060
1064
|
return index;
|
|
1061
1065
|
return getJsonNameIndex$getJsonNameIndexSlowPath(json, _this__u8e3s4, name);
|
|
1062
1066
|
}
|
|
@@ -1066,18 +1070,18 @@
|
|
|
1066
1070
|
var index = getJsonNameIndex(_this__u8e3s4, json, name);
|
|
1067
1071
|
Companion_getInstance();
|
|
1068
1072
|
if (index === -3)
|
|
1069
|
-
throw SerializationException_init_$Create$(_this__u8e3s4.
|
|
1073
|
+
throw SerializationException_init_$Create$(_this__u8e3s4.xj() + " does not contain element with name '" + name + "'" + suffix);
|
|
1070
1074
|
return index;
|
|
1071
1075
|
}
|
|
1072
1076
|
function namingStrategy(_this__u8e3s4, json) {
|
|
1073
1077
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1074
|
-
return equals(_this__u8e3s4.
|
|
1078
|
+
return equals(_this__u8e3s4.bk(), CLASS_getInstance()) ? json.sy_1.k10_1 : null;
|
|
1075
1079
|
}
|
|
1076
1080
|
function deserializationNamesMap(_this__u8e3s4, descriptor) {
|
|
1077
1081
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
1078
1082
|
var tmp = get_schemaCache(_this__u8e3s4);
|
|
1079
1083
|
var tmp_0 = get_JsonDeserializationNamesKey();
|
|
1080
|
-
return tmp.
|
|
1084
|
+
return tmp.o11(descriptor, tmp_0, deserializationNamesMap$lambda(descriptor, _this__u8e3s4));
|
|
1081
1085
|
}
|
|
1082
1086
|
function buildDeserializationNamesMap(_this__u8e3s4, json) {
|
|
1083
1087
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
@@ -1085,31 +1089,31 @@
|
|
|
1085
1089
|
var builder = LinkedHashMap_init_$Create$();
|
|
1086
1090
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
1087
1091
|
var inductionVariable = 0;
|
|
1088
|
-
var last = _this__u8e3s4.
|
|
1092
|
+
var last = _this__u8e3s4.zj();
|
|
1089
1093
|
if (inductionVariable < last)
|
|
1090
1094
|
do {
|
|
1091
1095
|
var i = inductionVariable;
|
|
1092
1096
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1093
1097
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
1094
|
-
var tmp0_filterIsInstance = _this__u8e3s4.
|
|
1098
|
+
var tmp0_filterIsInstance = _this__u8e3s4.ck(i);
|
|
1095
1099
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
1096
1100
|
var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
|
|
1097
|
-
var tmp0_iterator = tmp0_filterIsInstance.
|
|
1098
|
-
while (tmp0_iterator.
|
|
1099
|
-
var element = tmp0_iterator.
|
|
1101
|
+
var tmp0_iterator = tmp0_filterIsInstance.v();
|
|
1102
|
+
while (tmp0_iterator.w()) {
|
|
1103
|
+
var element = tmp0_iterator.y();
|
|
1100
1104
|
if (element instanceof JsonNames) {
|
|
1101
|
-
tmp0_filterIsInstanceTo.
|
|
1105
|
+
tmp0_filterIsInstanceTo.s(element);
|
|
1102
1106
|
}
|
|
1103
1107
|
}
|
|
1104
1108
|
var tmp1_safe_receiver = singleOrNull(tmp0_filterIsInstanceTo);
|
|
1105
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1109
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p11_1;
|
|
1106
1110
|
if (tmp2_safe_receiver == null)
|
|
1107
1111
|
null;
|
|
1108
1112
|
else {
|
|
1109
1113
|
// Inline function 'kotlin.collections.forEach' call
|
|
1110
1114
|
var tmp0_iterator_0 = arrayIterator(tmp2_safe_receiver);
|
|
1111
|
-
while (tmp0_iterator_0.
|
|
1112
|
-
var element_0 = tmp0_iterator_0.
|
|
1115
|
+
while (tmp0_iterator_0.w()) {
|
|
1116
|
+
var element_0 = tmp0_iterator_0.y();
|
|
1113
1117
|
// Inline function 'kotlinx.serialization.json.internal.buildDeserializationNamesMap.<anonymous>' call
|
|
1114
1118
|
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, element_0, i);
|
|
1115
1119
|
}
|
|
@@ -1119,13 +1123,13 @@
|
|
|
1119
1123
|
else {
|
|
1120
1124
|
// Inline function 'kotlin.let' call
|
|
1121
1125
|
// Inline function 'kotlin.contracts.contract' call
|
|
1122
|
-
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.
|
|
1126
|
+
buildDeserializationNamesMap$putOrThrow(builder, _this__u8e3s4, strategy.q11(_this__u8e3s4, i, _this__u8e3s4.fk(i)), i);
|
|
1123
1127
|
}
|
|
1124
1128
|
}
|
|
1125
1129
|
while (inductionVariable < last);
|
|
1126
1130
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
1127
1131
|
var tmp;
|
|
1128
|
-
if (builder.
|
|
1132
|
+
if (builder.c1()) {
|
|
1129
1133
|
// Inline function 'kotlinx.serialization.json.internal.buildDeserializationNamesMap.<anonymous>' call
|
|
1130
1134
|
tmp = emptyMap();
|
|
1131
1135
|
} else {
|
|
@@ -1134,7 +1138,7 @@
|
|
|
1134
1138
|
return tmp;
|
|
1135
1139
|
}
|
|
1136
1140
|
function getJsonNameIndex$getJsonNameIndexSlowPath($json, $this_getJsonNameIndex, $name) {
|
|
1137
|
-
var tmp0_elvis_lhs = deserializationNamesMap($json, $this_getJsonNameIndex).
|
|
1141
|
+
var tmp0_elvis_lhs = deserializationNamesMap($json, $this_getJsonNameIndex).u2($name);
|
|
1138
1142
|
var tmp;
|
|
1139
1143
|
if (tmp0_elvis_lhs == null) {
|
|
1140
1144
|
Companion_getInstance();
|
|
@@ -1147,11 +1151,11 @@
|
|
|
1147
1151
|
function buildDeserializationNamesMap$putOrThrow(_this__u8e3s4, $this_buildDeserializationNamesMap, name, index) {
|
|
1148
1152
|
// Inline function 'kotlin.collections.contains' call
|
|
1149
1153
|
// Inline function 'kotlin.collections.containsKey' call
|
|
1150
|
-
if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).
|
|
1151
|
-
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.
|
|
1154
|
+
if ((isInterface(_this__u8e3s4, Map) ? _this__u8e3s4 : THROW_CCE()).s2(name)) {
|
|
1155
|
+
throw new JsonException("The suggested name '" + name + "' for property " + $this_buildDeserializationNamesMap.fk(index) + ' is already one of the names for property ' + ($this_buildDeserializationNamesMap.fk(getValue(_this__u8e3s4, name)) + ' in ' + $this_buildDeserializationNamesMap));
|
|
1152
1156
|
}
|
|
1153
1157
|
// Inline function 'kotlin.collections.set' call
|
|
1154
|
-
_this__u8e3s4.
|
|
1158
|
+
_this__u8e3s4.l2(name, index);
|
|
1155
1159
|
}
|
|
1156
1160
|
function deserializationNamesMap$lambda($descriptor, $this_deserializationNamesMap) {
|
|
1157
1161
|
return function () {
|
|
@@ -1176,14 +1180,14 @@
|
|
|
1176
1180
|
return Tombstone_instance;
|
|
1177
1181
|
}
|
|
1178
1182
|
function resize($this) {
|
|
1179
|
-
var newSize = imul($this.
|
|
1180
|
-
$this.
|
|
1181
|
-
$this.
|
|
1183
|
+
var newSize = imul($this.t11_1, 2);
|
|
1184
|
+
$this.r11_1 = copyOf($this.r11_1, newSize);
|
|
1185
|
+
$this.s11_1 = copyOf_0($this.s11_1, newSize);
|
|
1182
1186
|
}
|
|
1183
1187
|
function JsonPath() {
|
|
1184
1188
|
var tmp = this;
|
|
1185
1189
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1186
|
-
tmp.
|
|
1190
|
+
tmp.r11_1 = fillArrayVal(Array(8), null);
|
|
1187
1191
|
var tmp_0 = this;
|
|
1188
1192
|
var tmp_1 = 0;
|
|
1189
1193
|
var tmp_2 = new Int32Array(8);
|
|
@@ -1191,59 +1195,59 @@
|
|
|
1191
1195
|
tmp_2[tmp_1] = -1;
|
|
1192
1196
|
tmp_1 = tmp_1 + 1 | 0;
|
|
1193
1197
|
}
|
|
1194
|
-
tmp_0.
|
|
1195
|
-
this.
|
|
1198
|
+
tmp_0.s11_1 = tmp_2;
|
|
1199
|
+
this.t11_1 = -1;
|
|
1196
1200
|
}
|
|
1197
|
-
protoOf(JsonPath).
|
|
1198
|
-
this.
|
|
1199
|
-
var depth = this.
|
|
1200
|
-
if (depth === this.
|
|
1201
|
+
protoOf(JsonPath).u11 = function (sd) {
|
|
1202
|
+
this.t11_1 = this.t11_1 + 1 | 0;
|
|
1203
|
+
var depth = this.t11_1;
|
|
1204
|
+
if (depth === this.r11_1.length) {
|
|
1201
1205
|
resize(this);
|
|
1202
1206
|
}
|
|
1203
|
-
this.
|
|
1207
|
+
this.r11_1[depth] = sd;
|
|
1204
1208
|
};
|
|
1205
|
-
protoOf(JsonPath).
|
|
1206
|
-
this.
|
|
1209
|
+
protoOf(JsonPath).v11 = function (index) {
|
|
1210
|
+
this.s11_1[this.t11_1] = index;
|
|
1207
1211
|
};
|
|
1208
|
-
protoOf(JsonPath).
|
|
1212
|
+
protoOf(JsonPath).w11 = function (key) {
|
|
1209
1213
|
var tmp;
|
|
1210
|
-
if (!(this.
|
|
1211
|
-
this.
|
|
1212
|
-
tmp = this.
|
|
1214
|
+
if (!(this.s11_1[this.t11_1] === -2)) {
|
|
1215
|
+
this.t11_1 = this.t11_1 + 1 | 0;
|
|
1216
|
+
tmp = this.t11_1 === this.r11_1.length;
|
|
1213
1217
|
} else {
|
|
1214
1218
|
tmp = false;
|
|
1215
1219
|
}
|
|
1216
1220
|
if (tmp) {
|
|
1217
1221
|
resize(this);
|
|
1218
1222
|
}
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1223
|
+
this.r11_1[this.t11_1] = key;
|
|
1224
|
+
this.s11_1[this.t11_1] = -2;
|
|
1221
1225
|
};
|
|
1222
|
-
protoOf(JsonPath).
|
|
1223
|
-
if (this.
|
|
1224
|
-
this.
|
|
1226
|
+
protoOf(JsonPath).x11 = function () {
|
|
1227
|
+
if (this.s11_1[this.t11_1] === -2) {
|
|
1228
|
+
this.r11_1[this.t11_1] = Tombstone_getInstance();
|
|
1225
1229
|
}
|
|
1226
1230
|
};
|
|
1227
|
-
protoOf(JsonPath).
|
|
1228
|
-
var depth = this.
|
|
1229
|
-
if (this.
|
|
1230
|
-
this.
|
|
1231
|
-
this.
|
|
1231
|
+
protoOf(JsonPath).y11 = function () {
|
|
1232
|
+
var depth = this.t11_1;
|
|
1233
|
+
if (this.s11_1[depth] === -2) {
|
|
1234
|
+
this.s11_1[depth] = -1;
|
|
1235
|
+
this.t11_1 = this.t11_1 - 1 | 0;
|
|
1232
1236
|
}
|
|
1233
|
-
if (!(this.
|
|
1234
|
-
this.
|
|
1237
|
+
if (!(this.t11_1 === -1)) {
|
|
1238
|
+
this.t11_1 = this.t11_1 - 1 | 0;
|
|
1235
1239
|
}
|
|
1236
1240
|
};
|
|
1237
|
-
protoOf(JsonPath).
|
|
1241
|
+
protoOf(JsonPath).z11 = function () {
|
|
1238
1242
|
// Inline function 'kotlin.text.buildString' call
|
|
1239
1243
|
// Inline function 'kotlin.contracts.contract' call
|
|
1240
1244
|
// Inline function 'kotlin.apply' call
|
|
1241
1245
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1242
1246
|
// Inline function 'kotlin.contracts.contract' call
|
|
1243
1247
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>' call
|
|
1244
|
-
tmp0_apply.
|
|
1248
|
+
tmp0_apply.f5('$');
|
|
1245
1249
|
// Inline function 'kotlin.repeat' call
|
|
1246
|
-
var tmp0_repeat = this.
|
|
1250
|
+
var tmp0_repeat = this.t11_1 + 1 | 0;
|
|
1247
1251
|
// Inline function 'kotlin.contracts.contract' call
|
|
1248
1252
|
var inductionVariable = 0;
|
|
1249
1253
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -1251,28 +1255,28 @@
|
|
|
1251
1255
|
var index = inductionVariable;
|
|
1252
1256
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1253
1257
|
// Inline function 'kotlinx.serialization.json.internal.JsonPath.getPath.<anonymous>.<anonymous>' call
|
|
1254
|
-
var element = this.
|
|
1258
|
+
var element = this.r11_1[index];
|
|
1255
1259
|
if (!(element == null) ? isInterface(element, SerialDescriptor) : false) {
|
|
1256
|
-
if (equals(element.
|
|
1257
|
-
if (!(this.
|
|
1258
|
-
tmp0_apply.
|
|
1259
|
-
tmp0_apply.
|
|
1260
|
-
tmp0_apply.
|
|
1260
|
+
if (equals(element.bk(), LIST_getInstance())) {
|
|
1261
|
+
if (!(this.s11_1[index] === -1)) {
|
|
1262
|
+
tmp0_apply.f5('[');
|
|
1263
|
+
tmp0_apply.e5(this.s11_1[index]);
|
|
1264
|
+
tmp0_apply.f5(']');
|
|
1261
1265
|
}
|
|
1262
1266
|
} else {
|
|
1263
|
-
var idx = this.
|
|
1267
|
+
var idx = this.s11_1[index];
|
|
1264
1268
|
if (idx >= 0) {
|
|
1265
|
-
tmp0_apply.
|
|
1266
|
-
tmp0_apply.
|
|
1269
|
+
tmp0_apply.f5('.');
|
|
1270
|
+
tmp0_apply.f5(element.fk(idx));
|
|
1267
1271
|
}
|
|
1268
1272
|
}
|
|
1269
1273
|
} else {
|
|
1270
1274
|
if (!(element === Tombstone_getInstance())) {
|
|
1271
|
-
tmp0_apply.
|
|
1272
|
-
tmp0_apply.
|
|
1273
|
-
tmp0_apply.
|
|
1274
|
-
tmp0_apply.
|
|
1275
|
-
tmp0_apply.
|
|
1275
|
+
tmp0_apply.f5('[');
|
|
1276
|
+
tmp0_apply.f5("'");
|
|
1277
|
+
tmp0_apply.e5(element);
|
|
1278
|
+
tmp0_apply.f5("'");
|
|
1279
|
+
tmp0_apply.f5(']');
|
|
1276
1280
|
}
|
|
1277
1281
|
}
|
|
1278
1282
|
}
|
|
@@ -1280,82 +1284,82 @@
|
|
|
1280
1284
|
return tmp0_apply.toString();
|
|
1281
1285
|
};
|
|
1282
1286
|
protoOf(JsonPath).toString = function () {
|
|
1283
|
-
return this.
|
|
1287
|
+
return this.z11();
|
|
1284
1288
|
};
|
|
1285
1289
|
function readObject($this) {
|
|
1286
1290
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
|
|
1287
|
-
var lastToken = $this.
|
|
1288
|
-
if ($this.
|
|
1289
|
-
$this.
|
|
1291
|
+
var lastToken = $this.a12_1.d12(get_TC_BEGIN_OBJ());
|
|
1292
|
+
if ($this.a12_1.e12() === get_TC_COMMA()) {
|
|
1293
|
+
$this.a12_1.m11('Unexpected leading comma');
|
|
1290
1294
|
}
|
|
1291
1295
|
// Inline function 'kotlin.collections.linkedMapOf' call
|
|
1292
1296
|
var result = LinkedHashMap_init_$Create$();
|
|
1293
|
-
$l$loop: while ($this.
|
|
1294
|
-
var key = $this.
|
|
1295
|
-
$this.
|
|
1297
|
+
$l$loop: while ($this.a12_1.f12()) {
|
|
1298
|
+
var key = $this.b12_1 ? $this.a12_1.h12() : $this.a12_1.g12();
|
|
1299
|
+
$this.a12_1.d12(get_TC_COLON());
|
|
1296
1300
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObject.<anonymous>' call
|
|
1297
|
-
var element = $this.
|
|
1301
|
+
var element = $this.i12();
|
|
1298
1302
|
// Inline function 'kotlin.collections.set' call
|
|
1299
|
-
result.
|
|
1300
|
-
lastToken = $this.
|
|
1303
|
+
result.l2(key, element);
|
|
1304
|
+
lastToken = $this.a12_1.j12();
|
|
1301
1305
|
var tmp0_subject = lastToken;
|
|
1302
1306
|
if (tmp0_subject !== get_TC_COMMA())
|
|
1303
1307
|
if (tmp0_subject === get_TC_END_OBJ())
|
|
1304
1308
|
break $l$loop;
|
|
1305
1309
|
else {
|
|
1306
|
-
$this.
|
|
1310
|
+
$this.a12_1.m11('Expected end of the object or comma');
|
|
1307
1311
|
}
|
|
1308
1312
|
}
|
|
1309
1313
|
if (lastToken === get_TC_BEGIN_OBJ()) {
|
|
1310
|
-
$this.
|
|
1314
|
+
$this.a12_1.d12(get_TC_END_OBJ());
|
|
1311
1315
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1312
|
-
$this.
|
|
1316
|
+
$this.a12_1.m11('Unexpected trailing comma');
|
|
1313
1317
|
}
|
|
1314
1318
|
return new JsonObject(result);
|
|
1315
1319
|
}
|
|
1316
1320
|
function readObject_0(_this__u8e3s4, $this, $completion) {
|
|
1317
1321
|
var tmp = new $readObjectCOROUTINE$0($this, _this__u8e3s4, $completion);
|
|
1318
|
-
tmp.
|
|
1319
|
-
tmp.
|
|
1320
|
-
return tmp.
|
|
1322
|
+
tmp.ac_1 = Unit_getInstance();
|
|
1323
|
+
tmp.bc_1 = null;
|
|
1324
|
+
return tmp.jc();
|
|
1321
1325
|
}
|
|
1322
1326
|
function readArray($this) {
|
|
1323
|
-
var lastToken = $this.
|
|
1324
|
-
if ($this.
|
|
1325
|
-
$this.
|
|
1327
|
+
var lastToken = $this.a12_1.j12();
|
|
1328
|
+
if ($this.a12_1.e12() === get_TC_COMMA()) {
|
|
1329
|
+
$this.a12_1.m11('Unexpected leading comma');
|
|
1326
1330
|
}
|
|
1327
1331
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
1328
1332
|
var result = ArrayList_init_$Create$();
|
|
1329
|
-
while ($this.
|
|
1330
|
-
var element = $this.
|
|
1331
|
-
result.
|
|
1332
|
-
lastToken = $this.
|
|
1333
|
+
while ($this.a12_1.f12()) {
|
|
1334
|
+
var element = $this.i12();
|
|
1335
|
+
result.s(element);
|
|
1336
|
+
lastToken = $this.a12_1.j12();
|
|
1333
1337
|
if (!(lastToken === get_TC_COMMA())) {
|
|
1334
1338
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1335
|
-
var tmp0_require = $this.
|
|
1339
|
+
var tmp0_require = $this.a12_1;
|
|
1336
1340
|
var tmp1_require = lastToken === get_TC_END_LIST();
|
|
1337
|
-
var tmp2_require = tmp0_require.
|
|
1341
|
+
var tmp2_require = tmp0_require.fz_1;
|
|
1338
1342
|
if (!tmp1_require) {
|
|
1339
1343
|
var tmp$ret$1;
|
|
1340
1344
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readArray.<anonymous>' call
|
|
1341
1345
|
tmp$ret$1 = 'Expected end of the array or comma';
|
|
1342
|
-
tmp0_require.
|
|
1346
|
+
tmp0_require.m11(tmp$ret$1, tmp2_require);
|
|
1343
1347
|
}
|
|
1344
1348
|
}
|
|
1345
1349
|
}
|
|
1346
1350
|
if (lastToken === get_TC_BEGIN_LIST()) {
|
|
1347
|
-
$this.
|
|
1351
|
+
$this.a12_1.d12(get_TC_END_LIST());
|
|
1348
1352
|
} else if (lastToken === get_TC_COMMA()) {
|
|
1349
|
-
$this.
|
|
1353
|
+
$this.a12_1.m11('Unexpected trailing comma');
|
|
1350
1354
|
}
|
|
1351
1355
|
return new JsonArray(result);
|
|
1352
1356
|
}
|
|
1353
1357
|
function readValue($this, isString) {
|
|
1354
1358
|
var tmp;
|
|
1355
|
-
if ($this.
|
|
1356
|
-
tmp = $this.
|
|
1359
|
+
if ($this.b12_1 ? true : !isString) {
|
|
1360
|
+
tmp = $this.a12_1.h12();
|
|
1357
1361
|
} else {
|
|
1358
|
-
tmp = $this.
|
|
1362
|
+
tmp = $this.a12_1.g12();
|
|
1359
1363
|
}
|
|
1360
1364
|
var string = tmp;
|
|
1361
1365
|
if (!isString ? string === get_NULL() : false)
|
|
@@ -1366,53 +1370,53 @@
|
|
|
1366
1370
|
return invoke(new DeepRecursiveFunction(JsonTreeReader$readDeepRecursive$slambda_0($this, null)), Unit_getInstance());
|
|
1367
1371
|
}
|
|
1368
1372
|
function JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation) {
|
|
1369
|
-
this.
|
|
1373
|
+
this.f13_1 = this$0;
|
|
1370
1374
|
CoroutineImpl.call(this, resultContinuation);
|
|
1371
1375
|
}
|
|
1372
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1373
|
-
var tmp = this.
|
|
1374
|
-
tmp.
|
|
1375
|
-
tmp.
|
|
1376
|
-
return tmp.
|
|
1376
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).k13 = function ($this$$receiver, it, $completion) {
|
|
1377
|
+
var tmp = this.l13($this$$receiver, it, $completion);
|
|
1378
|
+
tmp.ac_1 = Unit_getInstance();
|
|
1379
|
+
tmp.bc_1 = null;
|
|
1380
|
+
return tmp.jc();
|
|
1377
1381
|
};
|
|
1378
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1382
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).qg = function (p1, p2, $completion) {
|
|
1379
1383
|
var tmp = p1 instanceof DeepRecursiveScope ? p1 : THROW_CCE();
|
|
1380
|
-
return this.
|
|
1384
|
+
return this.k13(tmp, p2 instanceof Unit ? p2 : THROW_CCE(), $completion);
|
|
1381
1385
|
};
|
|
1382
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1383
|
-
var suspendResult = this.
|
|
1386
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).jc = function () {
|
|
1387
|
+
var suspendResult = this.ac_1;
|
|
1384
1388
|
$sm: do
|
|
1385
1389
|
try {
|
|
1386
|
-
var tmp = this.
|
|
1390
|
+
var tmp = this.yb_1;
|
|
1387
1391
|
switch (tmp) {
|
|
1388
1392
|
case 0:
|
|
1389
|
-
this.
|
|
1390
|
-
this.
|
|
1391
|
-
if (this.
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1393
|
+
this.zb_1 = 3;
|
|
1394
|
+
this.i13_1 = this.f13_1.a12_1.e12();
|
|
1395
|
+
if (this.i13_1 === get_TC_STRING()) {
|
|
1396
|
+
this.j13_1 = readValue(this.f13_1, true);
|
|
1397
|
+
this.yb_1 = 2;
|
|
1394
1398
|
continue $sm;
|
|
1395
1399
|
} else {
|
|
1396
|
-
if (this.
|
|
1397
|
-
this.
|
|
1398
|
-
this.
|
|
1400
|
+
if (this.i13_1 === get_TC_OTHER()) {
|
|
1401
|
+
this.j13_1 = readValue(this.f13_1, false);
|
|
1402
|
+
this.yb_1 = 2;
|
|
1399
1403
|
continue $sm;
|
|
1400
1404
|
} else {
|
|
1401
|
-
if (this.
|
|
1402
|
-
this.
|
|
1403
|
-
suspendResult = readObject_0(this.
|
|
1405
|
+
if (this.i13_1 === get_TC_BEGIN_OBJ()) {
|
|
1406
|
+
this.yb_1 = 1;
|
|
1407
|
+
suspendResult = readObject_0(this.g13_1, this.f13_1, this);
|
|
1404
1408
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1405
1409
|
return suspendResult;
|
|
1406
1410
|
}
|
|
1407
1411
|
continue $sm;
|
|
1408
1412
|
} else {
|
|
1409
|
-
if (this.
|
|
1410
|
-
this.
|
|
1411
|
-
this.
|
|
1413
|
+
if (this.i13_1 === get_TC_BEGIN_LIST()) {
|
|
1414
|
+
this.j13_1 = readArray(this.f13_1);
|
|
1415
|
+
this.yb_1 = 2;
|
|
1412
1416
|
continue $sm;
|
|
1413
1417
|
} else {
|
|
1414
1418
|
var tmp_0 = this;
|
|
1415
|
-
this.
|
|
1419
|
+
this.f13_1.a12_1.m11("Can't begin reading element, unexpected token");
|
|
1416
1420
|
}
|
|
1417
1421
|
}
|
|
1418
1422
|
}
|
|
@@ -1420,71 +1424,71 @@
|
|
|
1420
1424
|
|
|
1421
1425
|
break;
|
|
1422
1426
|
case 1:
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1427
|
+
this.j13_1 = suspendResult;
|
|
1428
|
+
this.yb_1 = 2;
|
|
1425
1429
|
continue $sm;
|
|
1426
1430
|
case 2:
|
|
1427
|
-
return this.
|
|
1431
|
+
return this.j13_1;
|
|
1428
1432
|
case 3:
|
|
1429
|
-
throw this.
|
|
1433
|
+
throw this.bc_1;
|
|
1430
1434
|
}
|
|
1431
1435
|
} catch ($p) {
|
|
1432
1436
|
var e = $p;
|
|
1433
|
-
if (this.
|
|
1437
|
+
if (this.zb_1 === 3) {
|
|
1434
1438
|
throw e;
|
|
1435
1439
|
} else {
|
|
1436
|
-
this.
|
|
1437
|
-
this.
|
|
1440
|
+
this.yb_1 = this.zb_1;
|
|
1441
|
+
this.bc_1 = e;
|
|
1438
1442
|
}
|
|
1439
1443
|
}
|
|
1440
1444
|
while (true);
|
|
1441
1445
|
};
|
|
1442
|
-
protoOf(JsonTreeReader$readDeepRecursive$slambda).
|
|
1443
|
-
var i = new JsonTreeReader$readDeepRecursive$slambda(this.
|
|
1444
|
-
i.
|
|
1445
|
-
i.
|
|
1446
|
+
protoOf(JsonTreeReader$readDeepRecursive$slambda).l13 = function ($this$$receiver, it, completion) {
|
|
1447
|
+
var i = new JsonTreeReader$readDeepRecursive$slambda(this.f13_1, completion);
|
|
1448
|
+
i.g13_1 = $this$$receiver;
|
|
1449
|
+
i.h13_1 = it;
|
|
1446
1450
|
return i;
|
|
1447
1451
|
};
|
|
1448
1452
|
function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
|
|
1449
1453
|
var i = new JsonTreeReader$readDeepRecursive$slambda(this$0, resultContinuation);
|
|
1450
1454
|
var l = function ($this$$receiver, it, $completion) {
|
|
1451
|
-
return i.
|
|
1455
|
+
return i.k13($this$$receiver, it, $completion);
|
|
1452
1456
|
};
|
|
1453
1457
|
l.$arity = 2;
|
|
1454
1458
|
return l;
|
|
1455
1459
|
}
|
|
1456
1460
|
function $readObjectCOROUTINE$0(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
|
|
1457
1461
|
CoroutineImpl.call(this, resultContinuation);
|
|
1458
|
-
this.
|
|
1459
|
-
this.
|
|
1462
|
+
this.s12_1 = _this__u8e3s4;
|
|
1463
|
+
this.t12_1 = _this__u8e3s4_0;
|
|
1460
1464
|
}
|
|
1461
|
-
protoOf($readObjectCOROUTINE$0).
|
|
1462
|
-
var suspendResult = this.
|
|
1465
|
+
protoOf($readObjectCOROUTINE$0).jc = function () {
|
|
1466
|
+
var suspendResult = this.ac_1;
|
|
1463
1467
|
$sm: do
|
|
1464
1468
|
try {
|
|
1465
|
-
var tmp = this.
|
|
1469
|
+
var tmp = this.yb_1;
|
|
1466
1470
|
switch (tmp) {
|
|
1467
1471
|
case 0:
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1470
|
-
if (this.a12_1.
|
|
1471
|
-
this.a12_1.
|
|
1472
|
+
this.zb_1 = 5;
|
|
1473
|
+
this.u12_1 = this.s12_1.a12_1.d12(get_TC_BEGIN_OBJ());
|
|
1474
|
+
if (this.s12_1.a12_1.e12() === get_TC_COMMA()) {
|
|
1475
|
+
this.s12_1.a12_1.m11('Unexpected leading comma');
|
|
1472
1476
|
}
|
|
1473
1477
|
|
|
1474
1478
|
var tmp_0 = this;
|
|
1475
|
-
tmp_0.
|
|
1476
|
-
this.
|
|
1479
|
+
tmp_0.v12_1 = LinkedHashMap_init_$Create$();
|
|
1480
|
+
this.yb_1 = 1;
|
|
1477
1481
|
continue $sm;
|
|
1478
1482
|
case 1:
|
|
1479
|
-
if (!this.a12_1.
|
|
1480
|
-
this.
|
|
1483
|
+
if (!this.s12_1.a12_1.f12()) {
|
|
1484
|
+
this.yb_1 = 4;
|
|
1481
1485
|
continue $sm;
|
|
1482
1486
|
}
|
|
1483
1487
|
|
|
1484
|
-
this.
|
|
1485
|
-
this.a12_1.
|
|
1486
|
-
this.
|
|
1487
|
-
suspendResult = this.
|
|
1488
|
+
this.w12_1 = this.s12_1.b12_1 ? this.s12_1.a12_1.h12() : this.s12_1.a12_1.g12();
|
|
1489
|
+
this.s12_1.a12_1.d12(get_TC_COLON());
|
|
1490
|
+
this.yb_1 = 2;
|
|
1491
|
+
suspendResult = this.t12_1.ig(Unit_getInstance(), this);
|
|
1488
1492
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1489
1493
|
return suspendResult;
|
|
1490
1494
|
}
|
|
@@ -1492,54 +1496,54 @@
|
|
|
1492
1496
|
continue $sm;
|
|
1493
1497
|
case 2:
|
|
1494
1498
|
var element = suspendResult;
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
var tmp0_subject = this.
|
|
1499
|
+
this.v12_1.l2(this.w12_1, element);
|
|
1500
|
+
this.u12_1 = this.s12_1.a12_1.j12();
|
|
1501
|
+
var tmp0_subject = this.u12_1;
|
|
1498
1502
|
if (tmp0_subject === get_TC_COMMA()) {
|
|
1499
|
-
this.
|
|
1503
|
+
this.yb_1 = 3;
|
|
1500
1504
|
continue $sm;
|
|
1501
1505
|
} else {
|
|
1502
1506
|
if (tmp0_subject === get_TC_END_OBJ()) {
|
|
1503
|
-
this.
|
|
1507
|
+
this.yb_1 = 4;
|
|
1504
1508
|
continue $sm;
|
|
1505
1509
|
} else {
|
|
1506
|
-
this.a12_1.
|
|
1510
|
+
this.s12_1.a12_1.m11('Expected end of the object or comma');
|
|
1507
1511
|
}
|
|
1508
1512
|
}
|
|
1509
1513
|
|
|
1510
1514
|
break;
|
|
1511
1515
|
case 3:
|
|
1512
|
-
this.
|
|
1516
|
+
this.yb_1 = 1;
|
|
1513
1517
|
continue $sm;
|
|
1514
1518
|
case 4:
|
|
1515
|
-
if (this.
|
|
1516
|
-
this.a12_1.
|
|
1517
|
-
} else if (this.
|
|
1518
|
-
this.a12_1.
|
|
1519
|
+
if (this.u12_1 === get_TC_BEGIN_OBJ()) {
|
|
1520
|
+
this.s12_1.a12_1.d12(get_TC_END_OBJ());
|
|
1521
|
+
} else if (this.u12_1 === get_TC_COMMA()) {
|
|
1522
|
+
this.s12_1.a12_1.m11('Unexpected trailing comma');
|
|
1519
1523
|
}
|
|
1520
1524
|
|
|
1521
|
-
return new JsonObject(this.
|
|
1525
|
+
return new JsonObject(this.v12_1);
|
|
1522
1526
|
case 5:
|
|
1523
|
-
throw this.
|
|
1527
|
+
throw this.bc_1;
|
|
1524
1528
|
}
|
|
1525
1529
|
} catch ($p) {
|
|
1526
1530
|
var e = $p;
|
|
1527
|
-
if (this.
|
|
1531
|
+
if (this.zb_1 === 5) {
|
|
1528
1532
|
throw e;
|
|
1529
1533
|
} else {
|
|
1530
|
-
this.
|
|
1531
|
-
this.
|
|
1534
|
+
this.yb_1 = this.zb_1;
|
|
1535
|
+
this.bc_1 = e;
|
|
1532
1536
|
}
|
|
1533
1537
|
}
|
|
1534
1538
|
while (true);
|
|
1535
1539
|
};
|
|
1536
1540
|
function JsonTreeReader(configuration, lexer) {
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1539
|
-
this.
|
|
1541
|
+
this.a12_1 = lexer;
|
|
1542
|
+
this.b12_1 = configuration.a10_1;
|
|
1543
|
+
this.c12_1 = 0;
|
|
1540
1544
|
}
|
|
1541
|
-
protoOf(JsonTreeReader).
|
|
1542
|
-
var token = this.
|
|
1545
|
+
protoOf(JsonTreeReader).i12 = function () {
|
|
1546
|
+
var token = this.a12_1.e12();
|
|
1543
1547
|
var tmp;
|
|
1544
1548
|
if (token === get_TC_STRING()) {
|
|
1545
1549
|
tmp = readValue(this, true);
|
|
@@ -1547,53 +1551,53 @@
|
|
|
1547
1551
|
tmp = readValue(this, false);
|
|
1548
1552
|
} else if (token === get_TC_BEGIN_OBJ()) {
|
|
1549
1553
|
var tmp_0;
|
|
1550
|
-
this.
|
|
1551
|
-
if (this.
|
|
1554
|
+
this.c12_1 = this.c12_1 + 1 | 0;
|
|
1555
|
+
if (this.c12_1 === 200) {
|
|
1552
1556
|
tmp_0 = readDeepRecursive(this);
|
|
1553
1557
|
} else {
|
|
1554
1558
|
tmp_0 = readObject(this);
|
|
1555
1559
|
}
|
|
1556
1560
|
var result = tmp_0;
|
|
1557
|
-
this.
|
|
1561
|
+
this.c12_1 = this.c12_1 - 1 | 0;
|
|
1558
1562
|
tmp = result;
|
|
1559
1563
|
} else if (token === get_TC_BEGIN_LIST()) {
|
|
1560
1564
|
tmp = readArray(this);
|
|
1561
1565
|
} else {
|
|
1562
|
-
this.
|
|
1566
|
+
this.a12_1.m11('Cannot begin reading element, unexpected token: ' + token);
|
|
1563
1567
|
}
|
|
1564
1568
|
return tmp;
|
|
1565
1569
|
};
|
|
1566
1570
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
1567
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
1568
|
-
while (tmp0_iterator.
|
|
1569
|
-
var annotation = tmp0_iterator.
|
|
1571
|
+
var tmp0_iterator = _this__u8e3s4.yj().v();
|
|
1572
|
+
while (tmp0_iterator.w()) {
|
|
1573
|
+
var annotation = tmp0_iterator.y();
|
|
1570
1574
|
if (annotation instanceof JsonClassDiscriminator)
|
|
1571
|
-
return annotation.
|
|
1575
|
+
return annotation.m13_1;
|
|
1572
1576
|
}
|
|
1573
|
-
return json.
|
|
1577
|
+
return json.sy_1.h10_1;
|
|
1574
1578
|
}
|
|
1575
1579
|
function decodeSerializableValuePolymorphic(_this__u8e3s4, deserializer) {
|
|
1576
1580
|
var tmp;
|
|
1577
1581
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1578
1582
|
tmp = true;
|
|
1579
1583
|
} else {
|
|
1580
|
-
tmp = _this__u8e3s4.
|
|
1584
|
+
tmp = _this__u8e3s4.l10().sy_1.g10_1;
|
|
1581
1585
|
}
|
|
1582
1586
|
if (tmp) {
|
|
1583
|
-
return deserializer.
|
|
1587
|
+
return deserializer.xi(_this__u8e3s4);
|
|
1584
1588
|
}
|
|
1585
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1589
|
+
var discriminator = classDiscriminator(deserializer.wi(), _this__u8e3s4.l10());
|
|
1586
1590
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
1587
|
-
var tmp0_cast = _this__u8e3s4.
|
|
1588
|
-
var tmp1_cast = deserializer.
|
|
1591
|
+
var tmp0_cast = _this__u8e3s4.m10();
|
|
1592
|
+
var tmp1_cast = deserializer.wi();
|
|
1589
1593
|
if (!(tmp0_cast instanceof JsonObject)) {
|
|
1590
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.
|
|
1594
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + tmp1_cast.xj() + ', but had ' + getKClassFromExpression(tmp0_cast));
|
|
1591
1595
|
}
|
|
1592
1596
|
var jsonTree = tmp0_cast;
|
|
1593
|
-
var tmp0_safe_receiver = jsonTree.
|
|
1597
|
+
var tmp0_safe_receiver = jsonTree.g9(discriminator);
|
|
1594
1598
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
1595
|
-
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1596
|
-
var tmp2_elvis_lhs = deserializer.
|
|
1599
|
+
var type = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n10();
|
|
1600
|
+
var tmp2_elvis_lhs = deserializer.lj(_this__u8e3s4, type);
|
|
1597
1601
|
var tmp_0;
|
|
1598
1602
|
if (tmp2_elvis_lhs == null) {
|
|
1599
1603
|
throwSerializerNotFound(type, jsonTree);
|
|
@@ -1601,7 +1605,7 @@
|
|
|
1601
1605
|
tmp_0 = tmp2_elvis_lhs;
|
|
1602
1606
|
}
|
|
1603
1607
|
var actualSerializer = tmp_0;
|
|
1604
|
-
var tmp_1 = _this__u8e3s4.
|
|
1608
|
+
var tmp_1 = _this__u8e3s4.l10();
|
|
1605
1609
|
return readPolymorphicJson(tmp_1, discriminator, jsonTree, isInterface(actualSerializer, DeserializationStrategy) ? actualSerializer : THROW_CCE());
|
|
1606
1610
|
}
|
|
1607
1611
|
function throwSerializerNotFound(type, jsonTree) {
|
|
@@ -1609,7 +1613,7 @@
|
|
|
1609
1613
|
throw JsonDecodingException_0(-1, 'Polymorphic serializer was not found for ' + suffix, jsonTree.toString());
|
|
1610
1614
|
}
|
|
1611
1615
|
function checkKind($this, descriptor, actualClass) {
|
|
1612
|
-
var kind = descriptor.
|
|
1616
|
+
var kind = descriptor.bk();
|
|
1613
1617
|
var tmp;
|
|
1614
1618
|
if (kind instanceof PolymorphicKind) {
|
|
1615
1619
|
tmp = true;
|
|
@@ -1617,9 +1621,9 @@
|
|
|
1617
1621
|
tmp = equals(kind, CONTEXTUAL_getInstance());
|
|
1618
1622
|
}
|
|
1619
1623
|
if (tmp) {
|
|
1620
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1624
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.d6() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
|
|
1621
1625
|
}
|
|
1622
|
-
if ($this.
|
|
1626
|
+
if ($this.n13_1)
|
|
1623
1627
|
return Unit_getInstance();
|
|
1624
1628
|
var tmp_0;
|
|
1625
1629
|
var tmp_1;
|
|
@@ -1634,55 +1638,55 @@
|
|
|
1634
1638
|
tmp_0 = kind instanceof ENUM;
|
|
1635
1639
|
}
|
|
1636
1640
|
if (tmp_0) {
|
|
1637
|
-
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.
|
|
1641
|
+
throw IllegalArgumentException_init_$Create$('Serializer for ' + actualClass.d6() + ' of kind ' + kind + ' cannot be serialized polymorphically with class discriminator.');
|
|
1638
1642
|
}
|
|
1639
1643
|
}
|
|
1640
1644
|
function checkDiscriminatorCollisions($this, descriptor, actualClass) {
|
|
1641
1645
|
var inductionVariable = 0;
|
|
1642
|
-
var last = descriptor.
|
|
1646
|
+
var last = descriptor.zj();
|
|
1643
1647
|
if (inductionVariable < last)
|
|
1644
1648
|
do {
|
|
1645
1649
|
var i = inductionVariable;
|
|
1646
1650
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1647
|
-
var name = descriptor.
|
|
1648
|
-
if (name === $this.
|
|
1651
|
+
var name = descriptor.fk(i);
|
|
1652
|
+
if (name === $this.o13_1) {
|
|
1649
1653
|
throw IllegalArgumentException_init_$Create$('Polymorphic serializer for ' + actualClass + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation ' + 'or fall back to array polymorphism');
|
|
1650
1654
|
}
|
|
1651
1655
|
}
|
|
1652
1656
|
while (inductionVariable < last);
|
|
1653
1657
|
}
|
|
1654
1658
|
function PolymorphismValidator(useArrayPolymorphism, discriminator) {
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1659
|
+
this.n13_1 = useArrayPolymorphism;
|
|
1660
|
+
this.o13_1 = discriminator;
|
|
1657
1661
|
}
|
|
1658
|
-
protoOf(PolymorphismValidator).
|
|
1662
|
+
protoOf(PolymorphismValidator).jy = function (kClass, provider) {
|
|
1659
1663
|
};
|
|
1660
|
-
protoOf(PolymorphismValidator).
|
|
1661
|
-
var descriptor = actualSerializer.
|
|
1664
|
+
protoOf(PolymorphismValidator).my = function (baseClass, actualClass, actualSerializer) {
|
|
1665
|
+
var descriptor = actualSerializer.wi();
|
|
1662
1666
|
checkKind(this, descriptor, actualClass);
|
|
1663
|
-
if (!this.
|
|
1667
|
+
if (!this.n13_1) {
|
|
1664
1668
|
checkDiscriminatorCollisions(this, descriptor, actualClass);
|
|
1665
1669
|
}
|
|
1666
1670
|
};
|
|
1667
|
-
protoOf(PolymorphismValidator).
|
|
1671
|
+
protoOf(PolymorphismValidator).ny = function (baseClass, defaultSerializerProvider) {
|
|
1668
1672
|
};
|
|
1669
|
-
protoOf(PolymorphismValidator).
|
|
1673
|
+
protoOf(PolymorphismValidator).oy = function (baseClass, defaultDeserializerProvider) {
|
|
1670
1674
|
};
|
|
1671
1675
|
function Key() {
|
|
1672
1676
|
}
|
|
1673
1677
|
function DescriptorSchemaCache() {
|
|
1674
|
-
this.
|
|
1678
|
+
this.n11_1 = createMapForCache(16);
|
|
1675
1679
|
}
|
|
1676
|
-
protoOf(DescriptorSchemaCache).
|
|
1680
|
+
protoOf(DescriptorSchemaCache).p13 = function (descriptor, key, value) {
|
|
1677
1681
|
// Inline function 'kotlin.collections.set' call
|
|
1678
1682
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1679
|
-
var tmp0_getOrPut = this.
|
|
1680
|
-
var value_0 = tmp0_getOrPut.
|
|
1683
|
+
var tmp0_getOrPut = this.n11_1;
|
|
1684
|
+
var value_0 = tmp0_getOrPut.u2(descriptor);
|
|
1681
1685
|
var tmp;
|
|
1682
1686
|
if (value_0 == null) {
|
|
1683
1687
|
// Inline function 'kotlinx.serialization.json.internal.DescriptorSchemaCache.set.<anonymous>' call
|
|
1684
1688
|
var answer = createMapForCache(2);
|
|
1685
|
-
tmp0_getOrPut.
|
|
1689
|
+
tmp0_getOrPut.l2(descriptor, answer);
|
|
1686
1690
|
tmp = answer;
|
|
1687
1691
|
} else {
|
|
1688
1692
|
tmp = value_0;
|
|
@@ -1690,10 +1694,10 @@
|
|
|
1690
1694
|
var tmp1_set = tmp;
|
|
1691
1695
|
var tmp2_set = key instanceof Key ? key : THROW_CCE();
|
|
1692
1696
|
var tmp3_set = isObject(value) ? value : THROW_CCE();
|
|
1693
|
-
tmp1_set.
|
|
1697
|
+
tmp1_set.l2(tmp2_set, tmp3_set);
|
|
1694
1698
|
};
|
|
1695
|
-
protoOf(DescriptorSchemaCache).
|
|
1696
|
-
var tmp0_safe_receiver = this.
|
|
1699
|
+
protoOf(DescriptorSchemaCache).o11 = function (descriptor, key, defaultValue) {
|
|
1700
|
+
var tmp0_safe_receiver = this.q13(descriptor, key);
|
|
1697
1701
|
if (tmp0_safe_receiver == null)
|
|
1698
1702
|
null;
|
|
1699
1703
|
else {
|
|
@@ -1702,35 +1706,35 @@
|
|
|
1702
1706
|
return tmp0_safe_receiver;
|
|
1703
1707
|
}
|
|
1704
1708
|
var value = defaultValue();
|
|
1705
|
-
this.
|
|
1709
|
+
this.p13(descriptor, key, value);
|
|
1706
1710
|
return value;
|
|
1707
1711
|
};
|
|
1708
|
-
protoOf(DescriptorSchemaCache).
|
|
1709
|
-
var tmp0_safe_receiver = this.
|
|
1712
|
+
protoOf(DescriptorSchemaCache).q13 = function (descriptor, key) {
|
|
1713
|
+
var tmp0_safe_receiver = this.n11_1.u2(descriptor);
|
|
1710
1714
|
var tmp;
|
|
1711
1715
|
if (tmp0_safe_receiver == null) {
|
|
1712
1716
|
tmp = null;
|
|
1713
1717
|
} else {
|
|
1714
|
-
tmp = tmp0_safe_receiver.
|
|
1718
|
+
tmp = tmp0_safe_receiver.u2(key instanceof Key ? key : THROW_CCE());
|
|
1715
1719
|
}
|
|
1716
1720
|
var tmp_0 = tmp;
|
|
1717
1721
|
return isObject(tmp_0) ? tmp_0 : null;
|
|
1718
1722
|
};
|
|
1719
1723
|
function DiscriminatorHolder(discriminatorToSkip) {
|
|
1720
|
-
this.
|
|
1724
|
+
this.r13_1 = discriminatorToSkip;
|
|
1721
1725
|
}
|
|
1722
1726
|
function trySkip(_this__u8e3s4, $this, unknownKey) {
|
|
1723
1727
|
if (_this__u8e3s4 == null)
|
|
1724
1728
|
return false;
|
|
1725
|
-
if (_this__u8e3s4.
|
|
1726
|
-
_this__u8e3s4.
|
|
1729
|
+
if (_this__u8e3s4.r13_1 === unknownKey) {
|
|
1730
|
+
_this__u8e3s4.r13_1 = null;
|
|
1727
1731
|
return true;
|
|
1728
1732
|
}
|
|
1729
1733
|
return false;
|
|
1730
1734
|
}
|
|
1731
1735
|
function skipLeftoverElements($this, descriptor) {
|
|
1732
1736
|
$l$loop: while (true) {
|
|
1733
|
-
var tmp = $this.
|
|
1737
|
+
var tmp = $this.lm(descriptor);
|
|
1734
1738
|
Companion_getInstance();
|
|
1735
1739
|
if (!!(tmp === -1)) {
|
|
1736
1740
|
break $l$loop;
|
|
@@ -1738,52 +1742,52 @@
|
|
|
1738
1742
|
}
|
|
1739
1743
|
}
|
|
1740
1744
|
function checkLeadingComma($this) {
|
|
1741
|
-
if ($this.
|
|
1742
|
-
$this.
|
|
1745
|
+
if ($this.zy_1.e12() === get_TC_COMMA()) {
|
|
1746
|
+
$this.zy_1.m11('Unexpected leading comma');
|
|
1743
1747
|
}
|
|
1744
1748
|
}
|
|
1745
1749
|
function decodeMapIndex($this) {
|
|
1746
1750
|
var hasComma = false;
|
|
1747
|
-
var decodingKey = !(($this.
|
|
1751
|
+
var decodingKey = !(($this.bz_1 % 2 | 0) === 0);
|
|
1748
1752
|
if (decodingKey) {
|
|
1749
|
-
if (!($this.
|
|
1750
|
-
hasComma = $this.
|
|
1753
|
+
if (!($this.bz_1 === -1)) {
|
|
1754
|
+
hasComma = $this.zy_1.t13();
|
|
1751
1755
|
}
|
|
1752
1756
|
} else {
|
|
1753
|
-
$this.
|
|
1757
|
+
$this.zy_1.s13(get_COLON());
|
|
1754
1758
|
}
|
|
1755
1759
|
var tmp;
|
|
1756
|
-
if ($this.
|
|
1760
|
+
if ($this.zy_1.f12()) {
|
|
1757
1761
|
if (decodingKey) {
|
|
1758
|
-
if ($this.
|
|
1762
|
+
if ($this.bz_1 === -1) {
|
|
1759
1763
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1760
|
-
var tmp0_require = $this.
|
|
1764
|
+
var tmp0_require = $this.zy_1;
|
|
1761
1765
|
var tmp1_require = !hasComma;
|
|
1762
|
-
var tmp2_require = tmp0_require.
|
|
1766
|
+
var tmp2_require = tmp0_require.fz_1;
|
|
1763
1767
|
if (!tmp1_require) {
|
|
1764
1768
|
var tmp$ret$0;
|
|
1765
1769
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1766
1770
|
tmp$ret$0 = 'Unexpected trailing comma';
|
|
1767
|
-
tmp0_require.
|
|
1771
|
+
tmp0_require.m11(tmp$ret$0, tmp2_require);
|
|
1768
1772
|
}
|
|
1769
1773
|
} else {
|
|
1770
1774
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
|
|
1771
|
-
var tmp3_require = $this.
|
|
1775
|
+
var tmp3_require = $this.zy_1;
|
|
1772
1776
|
var tmp4_require = hasComma;
|
|
1773
|
-
var tmp5_require = tmp3_require.
|
|
1777
|
+
var tmp5_require = tmp3_require.fz_1;
|
|
1774
1778
|
if (!tmp4_require) {
|
|
1775
1779
|
var tmp$ret$1;
|
|
1776
1780
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeMapIndex.<anonymous>' call
|
|
1777
1781
|
tmp$ret$1 = 'Expected comma after the key-value pair';
|
|
1778
|
-
tmp3_require.
|
|
1782
|
+
tmp3_require.m11(tmp$ret$1, tmp5_require);
|
|
1779
1783
|
}
|
|
1780
1784
|
}
|
|
1781
1785
|
}
|
|
1782
|
-
$this.
|
|
1783
|
-
tmp = $this.
|
|
1786
|
+
$this.bz_1 = $this.bz_1 + 1 | 0;
|
|
1787
|
+
tmp = $this.bz_1;
|
|
1784
1788
|
} else {
|
|
1785
1789
|
if (hasComma) {
|
|
1786
|
-
$this.
|
|
1790
|
+
$this.zy_1.m11("Expected '}', but had ',' instead");
|
|
1787
1791
|
}
|
|
1788
1792
|
Companion_getInstance();
|
|
1789
1793
|
tmp = -1;
|
|
@@ -1794,12 +1798,12 @@
|
|
|
1794
1798
|
var tmp$ret$1;
|
|
1795
1799
|
$l$block_2: {
|
|
1796
1800
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
1797
|
-
var tmp0_tryCoerceValue = $this.
|
|
1798
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
1801
|
+
var tmp0_tryCoerceValue = $this.xy_1;
|
|
1802
|
+
var tmp1_tryCoerceValue = descriptor.dk(index);
|
|
1799
1803
|
var tmp;
|
|
1800
|
-
if (!tmp1_tryCoerceValue.
|
|
1804
|
+
if (!tmp1_tryCoerceValue.tj()) {
|
|
1801
1805
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1802
|
-
tmp = $this.
|
|
1806
|
+
tmp = $this.zy_1.u13(true);
|
|
1803
1807
|
} else {
|
|
1804
1808
|
tmp = false;
|
|
1805
1809
|
}
|
|
@@ -1807,11 +1811,11 @@
|
|
|
1807
1811
|
tmp$ret$1 = true;
|
|
1808
1812
|
break $l$block_2;
|
|
1809
1813
|
}
|
|
1810
|
-
if (equals(tmp1_tryCoerceValue.
|
|
1814
|
+
if (equals(tmp1_tryCoerceValue.bk(), ENUM_getInstance())) {
|
|
1811
1815
|
var tmp_0;
|
|
1812
|
-
if (tmp1_tryCoerceValue.
|
|
1816
|
+
if (tmp1_tryCoerceValue.tj()) {
|
|
1813
1817
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1814
|
-
tmp_0 = $this.
|
|
1818
|
+
tmp_0 = $this.zy_1.u13(false);
|
|
1815
1819
|
} else {
|
|
1816
1820
|
tmp_0 = false;
|
|
1817
1821
|
}
|
|
@@ -1820,7 +1824,7 @@
|
|
|
1820
1824
|
break $l$block_2;
|
|
1821
1825
|
}
|
|
1822
1826
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1823
|
-
var tmp0_elvis_lhs = $this.
|
|
1827
|
+
var tmp0_elvis_lhs = $this.zy_1.v13($this.dz_1.a10_1);
|
|
1824
1828
|
var tmp_1;
|
|
1825
1829
|
if (tmp0_elvis_lhs == null) {
|
|
1826
1830
|
tmp$ret$1 = false;
|
|
@@ -1833,7 +1837,7 @@
|
|
|
1833
1837
|
Companion_getInstance();
|
|
1834
1838
|
if (enumIndex === -3) {
|
|
1835
1839
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.coerceInputValue.<anonymous>' call
|
|
1836
|
-
$this.
|
|
1840
|
+
$this.zy_1.g12();
|
|
1837
1841
|
tmp$ret$1 = true;
|
|
1838
1842
|
break $l$block_2;
|
|
1839
1843
|
}
|
|
@@ -1843,25 +1847,25 @@
|
|
|
1843
1847
|
return tmp$ret$1;
|
|
1844
1848
|
}
|
|
1845
1849
|
function decodeObjectIndex($this, descriptor) {
|
|
1846
|
-
var hasComma = $this.
|
|
1847
|
-
while ($this.
|
|
1850
|
+
var hasComma = $this.zy_1.t13();
|
|
1851
|
+
while ($this.zy_1.f12()) {
|
|
1848
1852
|
hasComma = false;
|
|
1849
1853
|
var key = decodeStringKey($this);
|
|
1850
|
-
$this.
|
|
1851
|
-
var index = getJsonNameIndex(descriptor, $this.
|
|
1854
|
+
$this.zy_1.s13(get_COLON());
|
|
1855
|
+
var index = getJsonNameIndex(descriptor, $this.xy_1, key);
|
|
1852
1856
|
var tmp;
|
|
1853
1857
|
Companion_getInstance();
|
|
1854
1858
|
if (!(index === -3)) {
|
|
1855
1859
|
var tmp_0;
|
|
1856
|
-
if ($this.
|
|
1857
|
-
hasComma = $this.
|
|
1860
|
+
if ($this.dz_1.f10_1 ? coerceInputValue($this, descriptor, index) : false) {
|
|
1861
|
+
hasComma = $this.zy_1.t13();
|
|
1858
1862
|
tmp_0 = false;
|
|
1859
1863
|
} else {
|
|
1860
|
-
var tmp0_safe_receiver = $this.
|
|
1864
|
+
var tmp0_safe_receiver = $this.ez_1;
|
|
1861
1865
|
if (tmp0_safe_receiver == null)
|
|
1862
1866
|
null;
|
|
1863
1867
|
else {
|
|
1864
|
-
tmp0_safe_receiver.
|
|
1868
|
+
tmp0_safe_receiver.wp(index);
|
|
1865
1869
|
}
|
|
1866
1870
|
return index;
|
|
1867
1871
|
}
|
|
@@ -1875,10 +1879,10 @@
|
|
|
1875
1879
|
}
|
|
1876
1880
|
}
|
|
1877
1881
|
if (hasComma) {
|
|
1878
|
-
$this.
|
|
1882
|
+
$this.zy_1.m11('Unexpected trailing comma');
|
|
1879
1883
|
}
|
|
1880
|
-
var tmp1_safe_receiver = $this.
|
|
1881
|
-
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1884
|
+
var tmp1_safe_receiver = $this.ez_1;
|
|
1885
|
+
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.xp();
|
|
1882
1886
|
var tmp_1;
|
|
1883
1887
|
if (tmp2_elvis_lhs == null) {
|
|
1884
1888
|
Companion_getInstance();
|
|
@@ -1889,25 +1893,25 @@
|
|
|
1889
1893
|
return tmp_1;
|
|
1890
1894
|
}
|
|
1891
1895
|
function handleUnknown($this, key) {
|
|
1892
|
-
if ($this.
|
|
1893
|
-
$this.
|
|
1896
|
+
if ($this.dz_1.zz_1 ? true : trySkip($this.cz_1, $this, key)) {
|
|
1897
|
+
$this.zy_1.x13($this.dz_1.a10_1);
|
|
1894
1898
|
} else {
|
|
1895
|
-
$this.
|
|
1899
|
+
$this.zy_1.w13(key);
|
|
1896
1900
|
}
|
|
1897
|
-
return $this.
|
|
1901
|
+
return $this.zy_1.t13();
|
|
1898
1902
|
}
|
|
1899
1903
|
function decodeListIndex($this) {
|
|
1900
|
-
var hasComma = $this.
|
|
1904
|
+
var hasComma = $this.zy_1.t13();
|
|
1901
1905
|
var tmp;
|
|
1902
|
-
if ($this.
|
|
1903
|
-
if (!($this.
|
|
1904
|
-
$this.
|
|
1906
|
+
if ($this.zy_1.f12()) {
|
|
1907
|
+
if (!($this.bz_1 === -1) ? !hasComma : false) {
|
|
1908
|
+
$this.zy_1.m11('Expected end of the array or comma');
|
|
1905
1909
|
}
|
|
1906
|
-
$this.
|
|
1907
|
-
tmp = $this.
|
|
1910
|
+
$this.bz_1 = $this.bz_1 + 1 | 0;
|
|
1911
|
+
tmp = $this.bz_1;
|
|
1908
1912
|
} else {
|
|
1909
1913
|
if (hasComma) {
|
|
1910
|
-
$this.
|
|
1914
|
+
$this.zy_1.m11('Unexpected trailing comma');
|
|
1911
1915
|
}
|
|
1912
1916
|
Companion_getInstance();
|
|
1913
1917
|
tmp = -1;
|
|
@@ -1916,55 +1920,55 @@
|
|
|
1916
1920
|
}
|
|
1917
1921
|
function decodeStringKey($this) {
|
|
1918
1922
|
var tmp;
|
|
1919
|
-
if ($this.
|
|
1920
|
-
tmp = $this.
|
|
1923
|
+
if ($this.dz_1.a10_1) {
|
|
1924
|
+
tmp = $this.zy_1.z13();
|
|
1921
1925
|
} else {
|
|
1922
|
-
tmp = $this.
|
|
1926
|
+
tmp = $this.zy_1.y13();
|
|
1923
1927
|
}
|
|
1924
1928
|
return tmp;
|
|
1925
1929
|
}
|
|
1926
1930
|
function StreamingJsonDecoder(json, mode, lexer, descriptor, discriminatorHolder) {
|
|
1927
1931
|
AbstractDecoder.call(this);
|
|
1928
|
-
this.
|
|
1929
|
-
this.
|
|
1930
|
-
this.
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1933
|
-
this.
|
|
1934
|
-
this.
|
|
1935
|
-
this.
|
|
1932
|
+
this.xy_1 = json;
|
|
1933
|
+
this.yy_1 = mode;
|
|
1934
|
+
this.zy_1 = lexer;
|
|
1935
|
+
this.az_1 = this.xy_1.jm();
|
|
1936
|
+
this.bz_1 = -1;
|
|
1937
|
+
this.cz_1 = discriminatorHolder;
|
|
1938
|
+
this.dz_1 = this.xy_1.sy_1;
|
|
1939
|
+
this.ez_1 = this.dz_1.d10_1 ? null : new JsonElementMarker(descriptor);
|
|
1936
1940
|
}
|
|
1937
|
-
protoOf(StreamingJsonDecoder).
|
|
1938
|
-
return this.
|
|
1941
|
+
protoOf(StreamingJsonDecoder).l10 = function () {
|
|
1942
|
+
return this.xy_1;
|
|
1939
1943
|
};
|
|
1940
|
-
protoOf(StreamingJsonDecoder).
|
|
1941
|
-
return this.
|
|
1944
|
+
protoOf(StreamingJsonDecoder).jm = function () {
|
|
1945
|
+
return this.az_1;
|
|
1942
1946
|
};
|
|
1943
|
-
protoOf(StreamingJsonDecoder).
|
|
1944
|
-
return (new JsonTreeReader(this.
|
|
1947
|
+
protoOf(StreamingJsonDecoder).m10 = function () {
|
|
1948
|
+
return (new JsonTreeReader(this.xy_1.sy_1, this.zy_1)).i12();
|
|
1945
1949
|
};
|
|
1946
|
-
protoOf(StreamingJsonDecoder).
|
|
1950
|
+
protoOf(StreamingJsonDecoder).tl = function (deserializer) {
|
|
1947
1951
|
try {
|
|
1948
1952
|
var tmp;
|
|
1949
1953
|
if (!(deserializer instanceof AbstractPolymorphicSerializer)) {
|
|
1950
1954
|
tmp = true;
|
|
1951
1955
|
} else {
|
|
1952
|
-
tmp = this.
|
|
1956
|
+
tmp = this.xy_1.sy_1.g10_1;
|
|
1953
1957
|
}
|
|
1954
1958
|
if (tmp) {
|
|
1955
|
-
return deserializer.
|
|
1959
|
+
return deserializer.xi(this);
|
|
1956
1960
|
}
|
|
1957
|
-
var discriminator = classDiscriminator(deserializer.
|
|
1958
|
-
var type = this.
|
|
1961
|
+
var discriminator = classDiscriminator(deserializer.wi(), this.xy_1);
|
|
1962
|
+
var type = this.zy_1.a14(discriminator, this.dz_1.a10_1);
|
|
1959
1963
|
var actualSerializer = null;
|
|
1960
1964
|
if (!(type == null)) {
|
|
1961
|
-
actualSerializer = deserializer.
|
|
1965
|
+
actualSerializer = deserializer.lj(this, type);
|
|
1962
1966
|
}
|
|
1963
1967
|
if (actualSerializer == null) {
|
|
1964
1968
|
return decodeSerializableValuePolymorphic(this, isInterface(deserializer, DeserializationStrategy) ? deserializer : THROW_CCE());
|
|
1965
1969
|
}
|
|
1966
|
-
this.
|
|
1967
|
-
var tmp_0 = actualSerializer.
|
|
1970
|
+
this.cz_1 = new DiscriminatorHolder(discriminator);
|
|
1971
|
+
var tmp_0 = actualSerializer.xi(this);
|
|
1968
1972
|
var result = isObject(tmp_0) ? tmp_0 : THROW_CCE();
|
|
1969
1973
|
return result;
|
|
1970
1974
|
} catch ($p) {
|
|
@@ -1972,30 +1976,30 @@
|
|
|
1972
1976
|
var e = $p;
|
|
1973
1977
|
if (contains(ensureNotNull(e.message), 'at path'))
|
|
1974
1978
|
throw e;
|
|
1975
|
-
throw new MissingFieldException(e.
|
|
1979
|
+
throw new MissingFieldException(e.mj_1, plus(e.message, ' at path: ') + this.zy_1.gz_1.z11(), e);
|
|
1976
1980
|
} else {
|
|
1977
1981
|
throw $p;
|
|
1978
1982
|
}
|
|
1979
1983
|
}
|
|
1980
1984
|
};
|
|
1981
|
-
protoOf(StreamingJsonDecoder).
|
|
1982
|
-
var newMode = switchMode(this.
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1985
|
+
protoOf(StreamingJsonDecoder).ul = function (descriptor) {
|
|
1986
|
+
var newMode = switchMode(this.xy_1, descriptor);
|
|
1987
|
+
this.zy_1.gz_1.u11(descriptor);
|
|
1988
|
+
this.zy_1.s13(newMode.d14_1);
|
|
1985
1989
|
checkLeadingComma(this);
|
|
1986
1990
|
var tmp;
|
|
1987
|
-
switch (newMode.
|
|
1991
|
+
switch (newMode.c9_1) {
|
|
1988
1992
|
case 1:
|
|
1989
1993
|
case 2:
|
|
1990
1994
|
case 3:
|
|
1991
|
-
tmp = new StreamingJsonDecoder(this.
|
|
1995
|
+
tmp = new StreamingJsonDecoder(this.xy_1, newMode, this.zy_1, descriptor, this.cz_1);
|
|
1992
1996
|
break;
|
|
1993
1997
|
default:
|
|
1994
1998
|
var tmp_0;
|
|
1995
|
-
if (this.
|
|
1999
|
+
if (this.yy_1.equals(newMode) ? this.xy_1.sy_1.d10_1 : false) {
|
|
1996
2000
|
tmp_0 = this;
|
|
1997
2001
|
} else {
|
|
1998
|
-
tmp_0 = new StreamingJsonDecoder(this.
|
|
2002
|
+
tmp_0 = new StreamingJsonDecoder(this.xy_1, newMode, this.zy_1, descriptor, this.cz_1);
|
|
1999
2003
|
}
|
|
2000
2004
|
|
|
2001
2005
|
tmp = tmp_0;
|
|
@@ -2003,41 +2007,41 @@
|
|
|
2003
2007
|
}
|
|
2004
2008
|
return tmp;
|
|
2005
2009
|
};
|
|
2006
|
-
protoOf(StreamingJsonDecoder).
|
|
2007
|
-
if (this.
|
|
2010
|
+
protoOf(StreamingJsonDecoder).vl = function (descriptor) {
|
|
2011
|
+
if (this.xy_1.sy_1.zz_1 ? descriptor.zj() === 0 : false) {
|
|
2008
2012
|
skipLeftoverElements(this, descriptor);
|
|
2009
2013
|
}
|
|
2010
|
-
this.
|
|
2011
|
-
this.
|
|
2014
|
+
this.zy_1.s13(this.yy_1.e14_1);
|
|
2015
|
+
this.zy_1.gz_1.y11();
|
|
2012
2016
|
};
|
|
2013
|
-
protoOf(StreamingJsonDecoder).
|
|
2017
|
+
protoOf(StreamingJsonDecoder).fl = function () {
|
|
2014
2018
|
var tmp;
|
|
2015
|
-
var tmp0_safe_receiver = this.
|
|
2016
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2019
|
+
var tmp0_safe_receiver = this.ez_1;
|
|
2020
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l11_1;
|
|
2017
2021
|
if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
|
|
2018
|
-
tmp = !this.
|
|
2022
|
+
tmp = !this.zy_1.f14();
|
|
2019
2023
|
} else {
|
|
2020
2024
|
tmp = false;
|
|
2021
2025
|
}
|
|
2022
2026
|
return tmp;
|
|
2023
2027
|
};
|
|
2024
|
-
protoOf(StreamingJsonDecoder).
|
|
2028
|
+
protoOf(StreamingJsonDecoder).gl = function () {
|
|
2025
2029
|
return null;
|
|
2026
2030
|
};
|
|
2027
|
-
protoOf(StreamingJsonDecoder).
|
|
2028
|
-
var isMapKey = this.
|
|
2031
|
+
protoOf(StreamingJsonDecoder).gm = function (descriptor, index, deserializer, previousValue) {
|
|
2032
|
+
var isMapKey = this.yy_1.equals(WriteMode_MAP_getInstance()) ? (index & 1) === 0 : false;
|
|
2029
2033
|
if (isMapKey) {
|
|
2030
|
-
this.
|
|
2034
|
+
this.zy_1.gz_1.x11();
|
|
2031
2035
|
}
|
|
2032
|
-
var value = protoOf(AbstractDecoder).
|
|
2036
|
+
var value = protoOf(AbstractDecoder).gm.call(this, descriptor, index, deserializer, previousValue);
|
|
2033
2037
|
if (isMapKey) {
|
|
2034
|
-
this.
|
|
2038
|
+
this.zy_1.gz_1.w11(value);
|
|
2035
2039
|
}
|
|
2036
2040
|
return value;
|
|
2037
2041
|
};
|
|
2038
|
-
protoOf(StreamingJsonDecoder).
|
|
2042
|
+
protoOf(StreamingJsonDecoder).lm = function (descriptor) {
|
|
2039
2043
|
var index;
|
|
2040
|
-
switch (this.
|
|
2044
|
+
switch (this.yy_1.c9_1) {
|
|
2041
2045
|
case 0:
|
|
2042
2046
|
index = decodeObjectIndex(this, descriptor);
|
|
2043
2047
|
break;
|
|
@@ -2048,50 +2052,50 @@
|
|
|
2048
2052
|
index = decodeListIndex(this);
|
|
2049
2053
|
break;
|
|
2050
2054
|
}
|
|
2051
|
-
if (!this.
|
|
2052
|
-
this.
|
|
2055
|
+
if (!this.yy_1.equals(WriteMode_MAP_getInstance())) {
|
|
2056
|
+
this.zy_1.gz_1.v11(index);
|
|
2053
2057
|
}
|
|
2054
2058
|
return index;
|
|
2055
2059
|
};
|
|
2056
|
-
protoOf(StreamingJsonDecoder).
|
|
2060
|
+
protoOf(StreamingJsonDecoder).hl = function () {
|
|
2057
2061
|
var tmp;
|
|
2058
|
-
if (this.
|
|
2059
|
-
tmp = this.
|
|
2062
|
+
if (this.dz_1.a10_1) {
|
|
2063
|
+
tmp = this.zy_1.h14();
|
|
2060
2064
|
} else {
|
|
2061
|
-
tmp = this.
|
|
2065
|
+
tmp = this.zy_1.g14();
|
|
2062
2066
|
}
|
|
2063
2067
|
return tmp;
|
|
2064
2068
|
};
|
|
2065
|
-
protoOf(StreamingJsonDecoder).
|
|
2066
|
-
var value = this.
|
|
2067
|
-
if (!value.equals(toLong_0(value.
|
|
2068
|
-
this.
|
|
2069
|
+
protoOf(StreamingJsonDecoder).il = function () {
|
|
2070
|
+
var value = this.zy_1.i14();
|
|
2071
|
+
if (!value.equals(toLong_0(value.ob()))) {
|
|
2072
|
+
this.zy_1.m11("Failed to parse byte for input '" + toString(value) + "'");
|
|
2069
2073
|
}
|
|
2070
|
-
return value.
|
|
2074
|
+
return value.ob();
|
|
2071
2075
|
};
|
|
2072
|
-
protoOf(StreamingJsonDecoder).
|
|
2073
|
-
var value = this.
|
|
2074
|
-
if (!value.equals(toLong_0(value.
|
|
2075
|
-
this.
|
|
2076
|
+
protoOf(StreamingJsonDecoder).jl = function () {
|
|
2077
|
+
var value = this.zy_1.i14();
|
|
2078
|
+
if (!value.equals(toLong_0(value.pb()))) {
|
|
2079
|
+
this.zy_1.m11("Failed to parse short for input '" + toString(value) + "'");
|
|
2076
2080
|
}
|
|
2077
|
-
return value.
|
|
2081
|
+
return value.pb();
|
|
2078
2082
|
};
|
|
2079
|
-
protoOf(StreamingJsonDecoder).
|
|
2080
|
-
var value = this.
|
|
2081
|
-
if (!value.equals(toLong_0(value.
|
|
2082
|
-
this.
|
|
2083
|
+
protoOf(StreamingJsonDecoder).kl = function () {
|
|
2084
|
+
var value = this.zy_1.i14();
|
|
2085
|
+
if (!value.equals(toLong_0(value.qb()))) {
|
|
2086
|
+
this.zy_1.m11("Failed to parse int for input '" + toString(value) + "'");
|
|
2083
2087
|
}
|
|
2084
|
-
return value.
|
|
2088
|
+
return value.qb();
|
|
2085
2089
|
};
|
|
2086
|
-
protoOf(StreamingJsonDecoder).
|
|
2087
|
-
return this.
|
|
2090
|
+
protoOf(StreamingJsonDecoder).ll = function () {
|
|
2091
|
+
return this.zy_1.i14();
|
|
2088
2092
|
};
|
|
2089
|
-
protoOf(StreamingJsonDecoder).
|
|
2093
|
+
protoOf(StreamingJsonDecoder).ml = function () {
|
|
2090
2094
|
var tmp$ret$4;
|
|
2091
2095
|
$l$block: {
|
|
2092
2096
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2093
|
-
var tmp0_parseString = this.
|
|
2094
|
-
var input = tmp0_parseString.
|
|
2097
|
+
var tmp0_parseString = this.zy_1;
|
|
2098
|
+
var input = tmp0_parseString.h12();
|
|
2095
2099
|
try {
|
|
2096
2100
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeFloat.<anonymous>' call
|
|
2097
2101
|
// Inline function 'kotlin.text.toFloat' call
|
|
@@ -2102,24 +2106,24 @@
|
|
|
2102
2106
|
} catch ($p) {
|
|
2103
2107
|
if ($p instanceof IllegalArgumentException) {
|
|
2104
2108
|
var e = $p;
|
|
2105
|
-
tmp0_parseString.
|
|
2109
|
+
tmp0_parseString.m11("Failed to parse type 'float' for input '" + input + "'");
|
|
2106
2110
|
} else {
|
|
2107
2111
|
throw $p;
|
|
2108
2112
|
}
|
|
2109
2113
|
}
|
|
2110
2114
|
}
|
|
2111
2115
|
var result = tmp$ret$4;
|
|
2112
|
-
var specialFp = this.
|
|
2116
|
+
var specialFp = this.xy_1.sy_1.i10_1;
|
|
2113
2117
|
if (specialFp ? true : isFinite(result))
|
|
2114
2118
|
return result;
|
|
2115
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2119
|
+
throwInvalidFloatingPointDecoded(this.zy_1, result);
|
|
2116
2120
|
};
|
|
2117
|
-
protoOf(StreamingJsonDecoder).
|
|
2121
|
+
protoOf(StreamingJsonDecoder).nl = function () {
|
|
2118
2122
|
var tmp$ret$1;
|
|
2119
2123
|
$l$block: {
|
|
2120
2124
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2121
|
-
var tmp0_parseString = this.
|
|
2122
|
-
var input = tmp0_parseString.
|
|
2125
|
+
var tmp0_parseString = this.zy_1;
|
|
2126
|
+
var input = tmp0_parseString.h12();
|
|
2123
2127
|
try {
|
|
2124
2128
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeDouble.<anonymous>' call
|
|
2125
2129
|
tmp$ret$1 = toDouble(input);
|
|
@@ -2127,57 +2131,57 @@
|
|
|
2127
2131
|
} catch ($p) {
|
|
2128
2132
|
if ($p instanceof IllegalArgumentException) {
|
|
2129
2133
|
var e = $p;
|
|
2130
|
-
tmp0_parseString.
|
|
2134
|
+
tmp0_parseString.m11("Failed to parse type 'double' for input '" + input + "'");
|
|
2131
2135
|
} else {
|
|
2132
2136
|
throw $p;
|
|
2133
2137
|
}
|
|
2134
2138
|
}
|
|
2135
2139
|
}
|
|
2136
2140
|
var result = tmp$ret$1;
|
|
2137
|
-
var specialFp = this.
|
|
2141
|
+
var specialFp = this.xy_1.sy_1.i10_1;
|
|
2138
2142
|
if (specialFp ? true : isFinite_0(result))
|
|
2139
2143
|
return result;
|
|
2140
|
-
throwInvalidFloatingPointDecoded(this.
|
|
2144
|
+
throwInvalidFloatingPointDecoded(this.zy_1, result);
|
|
2141
2145
|
};
|
|
2142
|
-
protoOf(StreamingJsonDecoder).
|
|
2143
|
-
var string = this.
|
|
2146
|
+
protoOf(StreamingJsonDecoder).ol = function () {
|
|
2147
|
+
var string = this.zy_1.h12();
|
|
2144
2148
|
if (!(string.length === 1)) {
|
|
2145
|
-
this.
|
|
2149
|
+
this.zy_1.m11("Expected single char, but got '" + string + "'");
|
|
2146
2150
|
}
|
|
2147
2151
|
return charSequenceGet(string, 0);
|
|
2148
2152
|
};
|
|
2149
|
-
protoOf(StreamingJsonDecoder).
|
|
2153
|
+
protoOf(StreamingJsonDecoder).pl = function () {
|
|
2150
2154
|
var tmp;
|
|
2151
|
-
if (this.
|
|
2152
|
-
tmp = this.
|
|
2155
|
+
if (this.dz_1.a10_1) {
|
|
2156
|
+
tmp = this.zy_1.z13();
|
|
2153
2157
|
} else {
|
|
2154
|
-
tmp = this.
|
|
2158
|
+
tmp = this.zy_1.g12();
|
|
2155
2159
|
}
|
|
2156
2160
|
return tmp;
|
|
2157
2161
|
};
|
|
2158
|
-
protoOf(StreamingJsonDecoder).
|
|
2159
|
-
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.
|
|
2162
|
+
protoOf(StreamingJsonDecoder).rl = function (descriptor) {
|
|
2163
|
+
return get_isUnsignedNumber(descriptor) ? new JsonDecoderForUnsignedTypes(this.zy_1, this.xy_1) : protoOf(AbstractDecoder).rl.call(this, descriptor);
|
|
2160
2164
|
};
|
|
2161
|
-
protoOf(StreamingJsonDecoder).
|
|
2162
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2165
|
+
protoOf(StreamingJsonDecoder).ql = function (enumDescriptor) {
|
|
2166
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.xy_1, this.pl(), ' at path ' + this.zy_1.gz_1.z11());
|
|
2163
2167
|
};
|
|
2164
2168
|
function JsonDecoderForUnsignedTypes(lexer, json) {
|
|
2165
2169
|
AbstractDecoder.call(this);
|
|
2166
|
-
this.
|
|
2167
|
-
this.
|
|
2170
|
+
this.j14_1 = lexer;
|
|
2171
|
+
this.k14_1 = json.jm();
|
|
2168
2172
|
}
|
|
2169
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2170
|
-
return this.
|
|
2173
|
+
protoOf(JsonDecoderForUnsignedTypes).jm = function () {
|
|
2174
|
+
return this.k14_1;
|
|
2171
2175
|
};
|
|
2172
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2176
|
+
protoOf(JsonDecoderForUnsignedTypes).lm = function (descriptor) {
|
|
2173
2177
|
throw IllegalStateException_init_$Create$('unsupported');
|
|
2174
2178
|
};
|
|
2175
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2179
|
+
protoOf(JsonDecoderForUnsignedTypes).kl = function () {
|
|
2176
2180
|
var tmp$ret$2;
|
|
2177
2181
|
$l$block: {
|
|
2178
2182
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2179
|
-
var tmp0_parseString = this.
|
|
2180
|
-
var input = tmp0_parseString.
|
|
2183
|
+
var tmp0_parseString = this.j14_1;
|
|
2184
|
+
var input = tmp0_parseString.h12();
|
|
2181
2185
|
try {
|
|
2182
2186
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeInt.<anonymous>' call
|
|
2183
2187
|
// Inline function 'kotlin.UInt.toInt' call
|
|
@@ -2187,7 +2191,7 @@
|
|
|
2187
2191
|
} catch ($p) {
|
|
2188
2192
|
if ($p instanceof IllegalArgumentException) {
|
|
2189
2193
|
var e = $p;
|
|
2190
|
-
tmp0_parseString.
|
|
2194
|
+
tmp0_parseString.m11("Failed to parse type 'UInt' for input '" + input + "'");
|
|
2191
2195
|
} else {
|
|
2192
2196
|
throw $p;
|
|
2193
2197
|
}
|
|
@@ -2195,12 +2199,12 @@
|
|
|
2195
2199
|
}
|
|
2196
2200
|
return tmp$ret$2;
|
|
2197
2201
|
};
|
|
2198
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2202
|
+
protoOf(JsonDecoderForUnsignedTypes).ll = function () {
|
|
2199
2203
|
var tmp$ret$2;
|
|
2200
2204
|
$l$block: {
|
|
2201
2205
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2202
|
-
var tmp0_parseString = this.
|
|
2203
|
-
var input = tmp0_parseString.
|
|
2206
|
+
var tmp0_parseString = this.j14_1;
|
|
2207
|
+
var input = tmp0_parseString.h12();
|
|
2204
2208
|
try {
|
|
2205
2209
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeLong.<anonymous>' call
|
|
2206
2210
|
// Inline function 'kotlin.ULong.toLong' call
|
|
@@ -2210,7 +2214,7 @@
|
|
|
2210
2214
|
} catch ($p) {
|
|
2211
2215
|
if ($p instanceof IllegalArgumentException) {
|
|
2212
2216
|
var e = $p;
|
|
2213
|
-
tmp0_parseString.
|
|
2217
|
+
tmp0_parseString.m11("Failed to parse type 'ULong' for input '" + input + "'");
|
|
2214
2218
|
} else {
|
|
2215
2219
|
throw $p;
|
|
2216
2220
|
}
|
|
@@ -2218,12 +2222,12 @@
|
|
|
2218
2222
|
}
|
|
2219
2223
|
return tmp$ret$2;
|
|
2220
2224
|
};
|
|
2221
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2225
|
+
protoOf(JsonDecoderForUnsignedTypes).il = function () {
|
|
2222
2226
|
var tmp$ret$2;
|
|
2223
2227
|
$l$block: {
|
|
2224
2228
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2225
|
-
var tmp0_parseString = this.
|
|
2226
|
-
var input = tmp0_parseString.
|
|
2229
|
+
var tmp0_parseString = this.j14_1;
|
|
2230
|
+
var input = tmp0_parseString.h12();
|
|
2227
2231
|
try {
|
|
2228
2232
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeByte.<anonymous>' call
|
|
2229
2233
|
// Inline function 'kotlin.UByte.toByte' call
|
|
@@ -2233,7 +2237,7 @@
|
|
|
2233
2237
|
} catch ($p) {
|
|
2234
2238
|
if ($p instanceof IllegalArgumentException) {
|
|
2235
2239
|
var e = $p;
|
|
2236
|
-
tmp0_parseString.
|
|
2240
|
+
tmp0_parseString.m11("Failed to parse type 'UByte' for input '" + input + "'");
|
|
2237
2241
|
} else {
|
|
2238
2242
|
throw $p;
|
|
2239
2243
|
}
|
|
@@ -2241,12 +2245,12 @@
|
|
|
2241
2245
|
}
|
|
2242
2246
|
return tmp$ret$2;
|
|
2243
2247
|
};
|
|
2244
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
2248
|
+
protoOf(JsonDecoderForUnsignedTypes).jl = function () {
|
|
2245
2249
|
var tmp$ret$2;
|
|
2246
2250
|
$l$block: {
|
|
2247
2251
|
// Inline function 'kotlinx.serialization.json.internal.parseString' call
|
|
2248
|
-
var tmp0_parseString = this.
|
|
2249
|
-
var input = tmp0_parseString.
|
|
2252
|
+
var tmp0_parseString = this.j14_1;
|
|
2253
|
+
var input = tmp0_parseString.h12();
|
|
2250
2254
|
try {
|
|
2251
2255
|
// Inline function 'kotlinx.serialization.json.internal.JsonDecoderForUnsignedTypes.decodeShort.<anonymous>' call
|
|
2252
2256
|
// Inline function 'kotlin.UShort.toShort' call
|
|
@@ -2256,7 +2260,7 @@
|
|
|
2256
2260
|
} catch ($p) {
|
|
2257
2261
|
if ($p instanceof IllegalArgumentException) {
|
|
2258
2262
|
var e = $p;
|
|
2259
|
-
tmp0_parseString.
|
|
2263
|
+
tmp0_parseString.m11("Failed to parse type 'UShort' for input '" + input + "'");
|
|
2260
2264
|
} else {
|
|
2261
2265
|
throw $p;
|
|
2262
2266
|
}
|
|
@@ -2271,13 +2275,13 @@
|
|
|
2271
2275
|
var unsignedNumberDescriptors;
|
|
2272
2276
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
2273
2277
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
2274
|
-
return _this__u8e3s4.
|
|
2278
|
+
return _this__u8e3s4.ak() ? get_unsignedNumberDescriptors().r(_this__u8e3s4) : false;
|
|
2275
2279
|
}
|
|
2276
2280
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
2277
2281
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
2278
2282
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
2279
2283
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
2280
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).
|
|
2284
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance_0()).wi(), serializer_1(Companion_getInstance_1()).wi(), serializer_2(Companion_getInstance_2()).wi(), serializer_3(Companion_getInstance_3()).wi()]);
|
|
2281
2285
|
}
|
|
2282
2286
|
}
|
|
2283
2287
|
function get_ESCAPE_STRINGS() {
|
|
@@ -2302,7 +2306,7 @@
|
|
|
2302
2306
|
}
|
|
2303
2307
|
function printQuoted(_this__u8e3s4, value) {
|
|
2304
2308
|
_init_properties_StringOps_kt__fcy1db();
|
|
2305
|
-
_this__u8e3s4.
|
|
2309
|
+
_this__u8e3s4.g5(get_STRING());
|
|
2306
2310
|
var lastPos = 0;
|
|
2307
2311
|
var inductionVariable = 0;
|
|
2308
2312
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -2314,18 +2318,18 @@
|
|
|
2314
2318
|
var tmp0_get_code_gknlva = charSequenceGet(value, i);
|
|
2315
2319
|
var c = Char__toInt_impl_vasixd(tmp0_get_code_gknlva);
|
|
2316
2320
|
if (c < get_ESCAPE_STRINGS().length ? !(get_ESCAPE_STRINGS()[c] == null) : false) {
|
|
2317
|
-
_this__u8e3s4.
|
|
2318
|
-
_this__u8e3s4.
|
|
2321
|
+
_this__u8e3s4.n7(value, lastPos, i);
|
|
2322
|
+
_this__u8e3s4.f5(get_ESCAPE_STRINGS()[c]);
|
|
2319
2323
|
lastPos = i + 1 | 0;
|
|
2320
2324
|
}
|
|
2321
2325
|
}
|
|
2322
2326
|
while (inductionVariable <= last);
|
|
2323
2327
|
if (!(lastPos === 0)) {
|
|
2324
|
-
_this__u8e3s4.
|
|
2328
|
+
_this__u8e3s4.n7(value, lastPos, value.length);
|
|
2325
2329
|
} else {
|
|
2326
|
-
_this__u8e3s4.
|
|
2330
|
+
_this__u8e3s4.f5(value);
|
|
2327
2331
|
}
|
|
2328
|
-
_this__u8e3s4.
|
|
2332
|
+
_this__u8e3s4.g5(get_STRING());
|
|
2329
2333
|
}
|
|
2330
2334
|
function toBooleanStrictOrNull(_this__u8e3s4) {
|
|
2331
2335
|
_init_properties_StringOps_kt__fcy1db();
|
|
@@ -2429,10 +2433,10 @@
|
|
|
2429
2433
|
}
|
|
2430
2434
|
}
|
|
2431
2435
|
var input = tmp;
|
|
2432
|
-
return input.
|
|
2436
|
+
return input.tl(deserializer);
|
|
2433
2437
|
}
|
|
2434
2438
|
function currentObject($this) {
|
|
2435
|
-
var tmp0_safe_receiver = $this.
|
|
2439
|
+
var tmp0_safe_receiver = $this.nw();
|
|
2436
2440
|
var tmp;
|
|
2437
2441
|
if (tmp0_safe_receiver == null) {
|
|
2438
2442
|
tmp = null;
|
|
@@ -2440,10 +2444,10 @@
|
|
|
2440
2444
|
// Inline function 'kotlin.let' call
|
|
2441
2445
|
// Inline function 'kotlin.contracts.contract' call
|
|
2442
2446
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.currentObject.<anonymous>' call
|
|
2443
|
-
tmp = $this.
|
|
2447
|
+
tmp = $this.q14(tmp0_safe_receiver);
|
|
2444
2448
|
}
|
|
2445
2449
|
var tmp1_elvis_lhs = tmp;
|
|
2446
|
-
return tmp1_elvis_lhs == null ? $this.
|
|
2450
|
+
return tmp1_elvis_lhs == null ? $this.p2() : tmp1_elvis_lhs;
|
|
2447
2451
|
}
|
|
2448
2452
|
function unparsedPrimitive($this, primitive) {
|
|
2449
2453
|
throw JsonDecodingException_0(-1, "Failed to parse '" + primitive + "'", toString(currentObject($this)));
|
|
@@ -2460,31 +2464,31 @@
|
|
|
2460
2464
|
}
|
|
2461
2465
|
function AbstractJsonTreeDecoder(json, value) {
|
|
2462
2466
|
NamedValueDecoder.call(this);
|
|
2463
|
-
this.
|
|
2464
|
-
this.
|
|
2465
|
-
this.
|
|
2467
|
+
this.n14_1 = json;
|
|
2468
|
+
this.o14_1 = value;
|
|
2469
|
+
this.p14_1 = this.l10().sy_1;
|
|
2466
2470
|
}
|
|
2467
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2468
|
-
return this.
|
|
2471
|
+
protoOf(AbstractJsonTreeDecoder).l10 = function () {
|
|
2472
|
+
return this.n14_1;
|
|
2469
2473
|
};
|
|
2470
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2471
|
-
return this.
|
|
2474
|
+
protoOf(AbstractJsonTreeDecoder).p2 = function () {
|
|
2475
|
+
return this.o14_1;
|
|
2472
2476
|
};
|
|
2473
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2474
|
-
return this.
|
|
2477
|
+
protoOf(AbstractJsonTreeDecoder).jm = function () {
|
|
2478
|
+
return this.l10().jm();
|
|
2475
2479
|
};
|
|
2476
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2480
|
+
protoOf(AbstractJsonTreeDecoder).m10 = function () {
|
|
2477
2481
|
return currentObject(this);
|
|
2478
2482
|
};
|
|
2479
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2483
|
+
protoOf(AbstractJsonTreeDecoder).tl = function (deserializer) {
|
|
2480
2484
|
return decodeSerializableValuePolymorphic(this, deserializer);
|
|
2481
2485
|
};
|
|
2482
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2486
|
+
protoOf(AbstractJsonTreeDecoder).ow = function (parentName, childName) {
|
|
2483
2487
|
return childName;
|
|
2484
2488
|
};
|
|
2485
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2489
|
+
protoOf(AbstractJsonTreeDecoder).ul = function (descriptor) {
|
|
2486
2490
|
var currentObject_0 = currentObject(this);
|
|
2487
|
-
var tmp0_subject = descriptor.
|
|
2491
|
+
var tmp0_subject = descriptor.bk();
|
|
2488
2492
|
var tmp;
|
|
2489
2493
|
var tmp_0;
|
|
2490
2494
|
if (equals(tmp0_subject, LIST_getInstance())) {
|
|
@@ -2493,18 +2497,18 @@
|
|
|
2493
2497
|
tmp_0 = tmp0_subject instanceof PolymorphicKind;
|
|
2494
2498
|
}
|
|
2495
2499
|
if (tmp_0) {
|
|
2496
|
-
var tmp_1 = this.
|
|
2500
|
+
var tmp_1 = this.l10();
|
|
2497
2501
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2498
2502
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2499
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2503
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.xj() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2500
2504
|
}
|
|
2501
2505
|
tmp = new JsonTreeListDecoder(tmp_1, currentObject_0);
|
|
2502
2506
|
} else {
|
|
2503
2507
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
2504
2508
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
2505
|
-
var tmp0_selectMapMode = this.
|
|
2506
|
-
var keyDescriptor = carrierDescriptor(descriptor.
|
|
2507
|
-
var keyKind = keyDescriptor.
|
|
2509
|
+
var tmp0_selectMapMode = this.l10();
|
|
2510
|
+
var keyDescriptor = carrierDescriptor(descriptor.dk(0), tmp0_selectMapMode.jm());
|
|
2511
|
+
var keyKind = keyDescriptor.bk();
|
|
2508
2512
|
var tmp_2;
|
|
2509
2513
|
var tmp_3;
|
|
2510
2514
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -2514,19 +2518,19 @@
|
|
|
2514
2518
|
}
|
|
2515
2519
|
if (tmp_3) {
|
|
2516
2520
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2517
|
-
var tmp_4 = this.
|
|
2521
|
+
var tmp_4 = this.l10();
|
|
2518
2522
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2519
2523
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2520
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2524
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.xj() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2521
2525
|
}
|
|
2522
2526
|
tmp_2 = new JsonTreeMapDecoder(tmp_4, currentObject_0);
|
|
2523
2527
|
} else {
|
|
2524
|
-
if (tmp0_selectMapMode.
|
|
2528
|
+
if (tmp0_selectMapMode.sy_1.b10_1) {
|
|
2525
2529
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.beginStructure.<anonymous>' call
|
|
2526
|
-
var tmp_5 = this.
|
|
2530
|
+
var tmp_5 = this.l10();
|
|
2527
2531
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2528
2532
|
if (!(currentObject_0 instanceof JsonArray)) {
|
|
2529
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.
|
|
2533
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonArray) + ' as the serialized body of ' + descriptor.xj() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2530
2534
|
}
|
|
2531
2535
|
tmp_2 = new JsonTreeListDecoder(tmp_5, currentObject_0);
|
|
2532
2536
|
} else {
|
|
@@ -2535,24 +2539,24 @@
|
|
|
2535
2539
|
}
|
|
2536
2540
|
tmp = tmp_2;
|
|
2537
2541
|
} else {
|
|
2538
|
-
var tmp_6 = this.
|
|
2542
|
+
var tmp_6 = this.l10();
|
|
2539
2543
|
// Inline function 'kotlinx.serialization.json.internal.cast' call
|
|
2540
2544
|
if (!(currentObject_0 instanceof JsonObject)) {
|
|
2541
|
-
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.
|
|
2545
|
+
throw JsonDecodingException_1(-1, 'Expected ' + getKClass(JsonObject) + ' as the serialized body of ' + descriptor.xj() + ', but had ' + getKClassFromExpression(currentObject_0));
|
|
2542
2546
|
}
|
|
2543
2547
|
tmp = new JsonTreeDecoder(tmp_6, currentObject_0);
|
|
2544
2548
|
}
|
|
2545
2549
|
}
|
|
2546
2550
|
return tmp;
|
|
2547
2551
|
};
|
|
2548
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2552
|
+
protoOf(AbstractJsonTreeDecoder).vl = function (descriptor) {
|
|
2549
2553
|
};
|
|
2550
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2554
|
+
protoOf(AbstractJsonTreeDecoder).fl = function () {
|
|
2551
2555
|
var tmp = currentObject(this);
|
|
2552
2556
|
return !(tmp instanceof JsonNull);
|
|
2553
2557
|
};
|
|
2554
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2555
|
-
var currentElement = this.
|
|
2558
|
+
protoOf(AbstractJsonTreeDecoder).r14 = function (tag) {
|
|
2559
|
+
var currentElement = this.q14(tag);
|
|
2556
2560
|
var tmp0_elvis_lhs = currentElement instanceof JsonPrimitive ? currentElement : null;
|
|
2557
2561
|
var tmp;
|
|
2558
2562
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2562,23 +2566,23 @@
|
|
|
2562
2566
|
}
|
|
2563
2567
|
return tmp;
|
|
2564
2568
|
};
|
|
2565
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2566
|
-
return getJsonNameIndexOrThrow(enumDescriptor, this.
|
|
2569
|
+
protoOf(AbstractJsonTreeDecoder).s14 = function (tag, enumDescriptor) {
|
|
2570
|
+
return getJsonNameIndexOrThrow(enumDescriptor, this.l10(), this.r14(tag).n10());
|
|
2567
2571
|
};
|
|
2568
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2569
|
-
return this.
|
|
2572
|
+
protoOf(AbstractJsonTreeDecoder).ax = function (tag, enumDescriptor) {
|
|
2573
|
+
return this.s14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), enumDescriptor);
|
|
2570
2574
|
};
|
|
2571
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2572
|
-
return !(this.
|
|
2575
|
+
protoOf(AbstractJsonTreeDecoder).t14 = function (tag) {
|
|
2576
|
+
return !(this.q14(tag) === JsonNull_getInstance());
|
|
2573
2577
|
};
|
|
2574
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2575
|
-
return this.
|
|
2578
|
+
protoOf(AbstractJsonTreeDecoder).qw = function (tag) {
|
|
2579
|
+
return this.t14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2576
2580
|
};
|
|
2577
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2578
|
-
var value = this.
|
|
2579
|
-
if (!this.
|
|
2581
|
+
protoOf(AbstractJsonTreeDecoder).u14 = function (tag) {
|
|
2582
|
+
var value = this.r14(tag);
|
|
2583
|
+
if (!this.l10().sy_1.a10_1) {
|
|
2580
2584
|
var literal = asLiteral(value, this, 'boolean');
|
|
2581
|
-
if (literal.
|
|
2585
|
+
if (literal.w10_1)
|
|
2582
2586
|
throw JsonDecodingException_0(-1, "Boolean literal for key '" + tag + "' should be unquoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2583
2587
|
}
|
|
2584
2588
|
var tmp$ret$1;
|
|
@@ -2613,14 +2617,14 @@
|
|
|
2613
2617
|
}
|
|
2614
2618
|
return tmp$ret$1;
|
|
2615
2619
|
};
|
|
2616
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2617
|
-
return this.
|
|
2620
|
+
protoOf(AbstractJsonTreeDecoder).rw = function (tag) {
|
|
2621
|
+
return this.u14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2618
2622
|
};
|
|
2619
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2623
|
+
protoOf(AbstractJsonTreeDecoder).v14 = function (tag) {
|
|
2620
2624
|
var tmp$ret$1;
|
|
2621
2625
|
$l$block: {
|
|
2622
2626
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2623
|
-
var tmp0_primitive = this.
|
|
2627
|
+
var tmp0_primitive = this.r14(tag);
|
|
2624
2628
|
try {
|
|
2625
2629
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedByte.<anonymous>' call
|
|
2626
2630
|
var result = get_int(tmp0_primitive);
|
|
@@ -2651,14 +2655,14 @@
|
|
|
2651
2655
|
}
|
|
2652
2656
|
return tmp$ret$1;
|
|
2653
2657
|
};
|
|
2654
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2655
|
-
return this.
|
|
2658
|
+
protoOf(AbstractJsonTreeDecoder).sw = function (tag) {
|
|
2659
|
+
return this.v14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2656
2660
|
};
|
|
2657
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2661
|
+
protoOf(AbstractJsonTreeDecoder).w14 = function (tag) {
|
|
2658
2662
|
var tmp$ret$1;
|
|
2659
2663
|
$l$block: {
|
|
2660
2664
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2661
|
-
var tmp0_primitive = this.
|
|
2665
|
+
var tmp0_primitive = this.r14(tag);
|
|
2662
2666
|
try {
|
|
2663
2667
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedShort.<anonymous>' call
|
|
2664
2668
|
var result = get_int(tmp0_primitive);
|
|
@@ -2689,14 +2693,14 @@
|
|
|
2689
2693
|
}
|
|
2690
2694
|
return tmp$ret$1;
|
|
2691
2695
|
};
|
|
2692
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2693
|
-
return this.
|
|
2696
|
+
protoOf(AbstractJsonTreeDecoder).tw = function (tag) {
|
|
2697
|
+
return this.w14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2694
2698
|
};
|
|
2695
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2699
|
+
protoOf(AbstractJsonTreeDecoder).x14 = function (tag) {
|
|
2696
2700
|
var tmp$ret$1;
|
|
2697
2701
|
$l$block: {
|
|
2698
2702
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2699
|
-
var tmp0_primitive = this.
|
|
2703
|
+
var tmp0_primitive = this.r14(tag);
|
|
2700
2704
|
try {
|
|
2701
2705
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedInt.<anonymous>' call
|
|
2702
2706
|
var tmp0_elvis_lhs = get_int(tmp0_primitive);
|
|
@@ -2719,14 +2723,14 @@
|
|
|
2719
2723
|
}
|
|
2720
2724
|
return tmp$ret$1;
|
|
2721
2725
|
};
|
|
2722
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2723
|
-
return this.
|
|
2726
|
+
protoOf(AbstractJsonTreeDecoder).uw = function (tag) {
|
|
2727
|
+
return this.x14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2724
2728
|
};
|
|
2725
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2729
|
+
protoOf(AbstractJsonTreeDecoder).y14 = function (tag) {
|
|
2726
2730
|
var tmp$ret$1;
|
|
2727
2731
|
$l$block: {
|
|
2728
2732
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2729
|
-
var tmp0_primitive = this.
|
|
2733
|
+
var tmp0_primitive = this.r14(tag);
|
|
2730
2734
|
try {
|
|
2731
2735
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedLong.<anonymous>' call
|
|
2732
2736
|
var tmp0_elvis_lhs = get_long(tmp0_primitive);
|
|
@@ -2749,14 +2753,14 @@
|
|
|
2749
2753
|
}
|
|
2750
2754
|
return tmp$ret$1;
|
|
2751
2755
|
};
|
|
2752
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2753
|
-
return this.
|
|
2756
|
+
protoOf(AbstractJsonTreeDecoder).vw = function (tag) {
|
|
2757
|
+
return this.y14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2754
2758
|
};
|
|
2755
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2759
|
+
protoOf(AbstractJsonTreeDecoder).z14 = function (tag) {
|
|
2756
2760
|
var tmp$ret$1;
|
|
2757
2761
|
$l$block: {
|
|
2758
2762
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2759
|
-
var tmp0_primitive = this.
|
|
2763
|
+
var tmp0_primitive = this.r14(tag);
|
|
2760
2764
|
try {
|
|
2761
2765
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedFloat.<anonymous>' call
|
|
2762
2766
|
var tmp0_elvis_lhs = get_float(tmp0_primitive);
|
|
@@ -2778,19 +2782,19 @@
|
|
|
2778
2782
|
}
|
|
2779
2783
|
}
|
|
2780
2784
|
var result = tmp$ret$1;
|
|
2781
|
-
var specialFp = this.
|
|
2785
|
+
var specialFp = this.l10().sy_1.i10_1;
|
|
2782
2786
|
if (specialFp ? true : isFinite(result))
|
|
2783
2787
|
return result;
|
|
2784
2788
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2785
2789
|
};
|
|
2786
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2787
|
-
return this.
|
|
2790
|
+
protoOf(AbstractJsonTreeDecoder).ww = function (tag) {
|
|
2791
|
+
return this.z14((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2788
2792
|
};
|
|
2789
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2793
|
+
protoOf(AbstractJsonTreeDecoder).a15 = function (tag) {
|
|
2790
2794
|
var tmp$ret$1;
|
|
2791
2795
|
$l$block: {
|
|
2792
2796
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2793
|
-
var tmp0_primitive = this.
|
|
2797
|
+
var tmp0_primitive = this.r14(tag);
|
|
2794
2798
|
try {
|
|
2795
2799
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedDouble.<anonymous>' call
|
|
2796
2800
|
var tmp0_elvis_lhs = get_double(tmp0_primitive);
|
|
@@ -2812,22 +2816,22 @@
|
|
|
2812
2816
|
}
|
|
2813
2817
|
}
|
|
2814
2818
|
var result = tmp$ret$1;
|
|
2815
|
-
var specialFp = this.
|
|
2819
|
+
var specialFp = this.l10().sy_1.i10_1;
|
|
2816
2820
|
if (specialFp ? true : isFinite_0(result))
|
|
2817
2821
|
return result;
|
|
2818
2822
|
throw InvalidFloatingPointDecoded(result, tag, toString(currentObject(this)));
|
|
2819
2823
|
};
|
|
2820
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2821
|
-
return this.
|
|
2824
|
+
protoOf(AbstractJsonTreeDecoder).xw = function (tag) {
|
|
2825
|
+
return this.a15((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2822
2826
|
};
|
|
2823
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2827
|
+
protoOf(AbstractJsonTreeDecoder).b15 = function (tag) {
|
|
2824
2828
|
var tmp$ret$1;
|
|
2825
2829
|
$l$block: {
|
|
2826
2830
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.primitive' call
|
|
2827
|
-
var tmp0_primitive = this.
|
|
2831
|
+
var tmp0_primitive = this.r14(tag);
|
|
2828
2832
|
try {
|
|
2829
2833
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeTaggedChar.<anonymous>' call
|
|
2830
|
-
var tmp0_elvis_lhs = single(tmp0_primitive.
|
|
2834
|
+
var tmp0_elvis_lhs = single(tmp0_primitive.n10());
|
|
2831
2835
|
var tmp;
|
|
2832
2836
|
var tmp_0 = tmp0_elvis_lhs;
|
|
2833
2837
|
if ((tmp_0 == null ? null : new Char(tmp_0)) == null) {
|
|
@@ -2848,42 +2852,42 @@
|
|
|
2848
2852
|
}
|
|
2849
2853
|
return tmp$ret$1;
|
|
2850
2854
|
};
|
|
2851
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2852
|
-
return this.
|
|
2855
|
+
protoOf(AbstractJsonTreeDecoder).yw = function (tag) {
|
|
2856
|
+
return this.b15((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2853
2857
|
};
|
|
2854
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2855
|
-
var value = this.
|
|
2856
|
-
if (!this.
|
|
2858
|
+
protoOf(AbstractJsonTreeDecoder).c15 = function (tag) {
|
|
2859
|
+
var value = this.r14(tag);
|
|
2860
|
+
if (!this.l10().sy_1.a10_1) {
|
|
2857
2861
|
var literal = asLiteral(value, this, 'string');
|
|
2858
|
-
if (!literal.
|
|
2862
|
+
if (!literal.w10_1)
|
|
2859
2863
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted.\n" + get_lenientHint(), toString(currentObject(this)));
|
|
2860
2864
|
}
|
|
2861
2865
|
if (value instanceof JsonNull)
|
|
2862
2866
|
throw JsonDecodingException_0(-1, "Unexpected 'null' value instead of string literal", toString(currentObject(this)));
|
|
2863
|
-
return value.
|
|
2867
|
+
return value.n10();
|
|
2864
2868
|
};
|
|
2865
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2866
|
-
return this.
|
|
2869
|
+
protoOf(AbstractJsonTreeDecoder).zw = function (tag) {
|
|
2870
|
+
return this.c15((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
2867
2871
|
};
|
|
2868
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2869
|
-
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.
|
|
2872
|
+
protoOf(AbstractJsonTreeDecoder).d15 = function (tag, inlineDescriptor) {
|
|
2873
|
+
return get_isUnsignedNumber(inlineDescriptor) ? new JsonDecoderForUnsignedTypes(new StringJsonLexer(this.r14(tag).n10()), this.l10()) : protoOf(NamedValueDecoder).bx.call(this, tag, inlineDescriptor);
|
|
2870
2874
|
};
|
|
2871
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2872
|
-
return this.
|
|
2875
|
+
protoOf(AbstractJsonTreeDecoder).bx = function (tag, inlineDescriptor) {
|
|
2876
|
+
return this.d15((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE(), inlineDescriptor);
|
|
2873
2877
|
};
|
|
2874
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
2875
|
-
return !(this.
|
|
2878
|
+
protoOf(AbstractJsonTreeDecoder).rl = function (descriptor) {
|
|
2879
|
+
return !(this.nw() == null) ? protoOf(NamedValueDecoder).rl.call(this, descriptor) : (new JsonPrimitiveDecoder(this.l10(), this.p2())).rl(descriptor);
|
|
2876
2880
|
};
|
|
2877
2881
|
function coerceInputValue_0($this, descriptor, index, tag) {
|
|
2878
2882
|
var tmp$ret$1;
|
|
2879
2883
|
$l$block_2: {
|
|
2880
2884
|
// Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
|
|
2881
|
-
var tmp0_tryCoerceValue = $this.
|
|
2882
|
-
var tmp1_tryCoerceValue = descriptor.
|
|
2885
|
+
var tmp0_tryCoerceValue = $this.l10();
|
|
2886
|
+
var tmp1_tryCoerceValue = descriptor.dk(index);
|
|
2883
2887
|
var tmp;
|
|
2884
|
-
if (!tmp1_tryCoerceValue.
|
|
2888
|
+
if (!tmp1_tryCoerceValue.tj()) {
|
|
2885
2889
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2886
|
-
var tmp_0 = $this.
|
|
2890
|
+
var tmp_0 = $this.q14(tag);
|
|
2887
2891
|
tmp = tmp_0 instanceof JsonNull;
|
|
2888
2892
|
} else {
|
|
2889
2893
|
tmp = false;
|
|
@@ -2892,11 +2896,11 @@
|
|
|
2892
2896
|
tmp$ret$1 = true;
|
|
2893
2897
|
break $l$block_2;
|
|
2894
2898
|
}
|
|
2895
|
-
if (equals(tmp1_tryCoerceValue.
|
|
2899
|
+
if (equals(tmp1_tryCoerceValue.bk(), ENUM_getInstance())) {
|
|
2896
2900
|
var tmp_1;
|
|
2897
|
-
if (tmp1_tryCoerceValue.
|
|
2901
|
+
if (tmp1_tryCoerceValue.tj()) {
|
|
2898
2902
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2899
|
-
var tmp_2 = $this.
|
|
2903
|
+
var tmp_2 = $this.q14(tag);
|
|
2900
2904
|
tmp_1 = tmp_2 instanceof JsonNull;
|
|
2901
2905
|
} else {
|
|
2902
2906
|
tmp_1 = false;
|
|
@@ -2906,7 +2910,7 @@
|
|
|
2906
2910
|
break $l$block_2;
|
|
2907
2911
|
}
|
|
2908
2912
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.coerceInputValue.<anonymous>' call
|
|
2909
|
-
var tmp_3 = $this.
|
|
2913
|
+
var tmp_3 = $this.q14(tag);
|
|
2910
2914
|
var tmp0_safe_receiver = tmp_3 instanceof JsonPrimitive ? tmp_3 : null;
|
|
2911
2915
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : get_contentOrNull(tmp0_safe_receiver);
|
|
2912
2916
|
var tmp_4;
|
|
@@ -2930,41 +2934,41 @@
|
|
|
2930
2934
|
return tmp$ret$1;
|
|
2931
2935
|
}
|
|
2932
2936
|
function absenceIsNull($this, descriptor, index) {
|
|
2933
|
-
$this.
|
|
2934
|
-
return $this.
|
|
2937
|
+
$this.n15_1 = (!$this.l10().sy_1.d10_1 ? !descriptor.gk(index) : false) ? descriptor.dk(index).tj() : false;
|
|
2938
|
+
return $this.n15_1;
|
|
2935
2939
|
}
|
|
2936
2940
|
function JsonTreeDecoder(json, value, polyDiscriminator, polyDescriptor) {
|
|
2937
2941
|
polyDiscriminator = polyDiscriminator === VOID ? null : polyDiscriminator;
|
|
2938
2942
|
polyDescriptor = polyDescriptor === VOID ? null : polyDescriptor;
|
|
2939
2943
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2944
|
-
this.
|
|
2945
|
-
}
|
|
2946
|
-
protoOf(JsonTreeDecoder).
|
|
2947
|
-
return this.
|
|
2948
|
-
};
|
|
2949
|
-
protoOf(JsonTreeDecoder).
|
|
2950
|
-
while (this.
|
|
2951
|
-
var tmp1 = this.
|
|
2952
|
-
this.
|
|
2953
|
-
var name = this.
|
|
2954
|
-
var index = this.
|
|
2955
|
-
this.
|
|
2944
|
+
this.j15_1 = value;
|
|
2945
|
+
this.k15_1 = polyDiscriminator;
|
|
2946
|
+
this.l15_1 = polyDescriptor;
|
|
2947
|
+
this.m15_1 = 0;
|
|
2948
|
+
this.n15_1 = false;
|
|
2949
|
+
}
|
|
2950
|
+
protoOf(JsonTreeDecoder).p2 = function () {
|
|
2951
|
+
return this.j15_1;
|
|
2952
|
+
};
|
|
2953
|
+
protoOf(JsonTreeDecoder).lm = function (descriptor) {
|
|
2954
|
+
while (this.m15_1 < descriptor.zj()) {
|
|
2955
|
+
var tmp1 = this.m15_1;
|
|
2956
|
+
this.m15_1 = tmp1 + 1 | 0;
|
|
2957
|
+
var name = this.iw(descriptor, tmp1);
|
|
2958
|
+
var index = this.m15_1 - 1 | 0;
|
|
2959
|
+
this.n15_1 = false;
|
|
2956
2960
|
var tmp;
|
|
2957
2961
|
var tmp_0;
|
|
2958
2962
|
// Inline function 'kotlin.collections.contains' call
|
|
2959
|
-
var tmp0_contains = this.
|
|
2963
|
+
var tmp0_contains = this.p2();
|
|
2960
2964
|
// Inline function 'kotlin.collections.containsKey' call
|
|
2961
|
-
if ((isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).
|
|
2965
|
+
if ((isInterface(tmp0_contains, Map) ? tmp0_contains : THROW_CCE()).s2(name)) {
|
|
2962
2966
|
tmp_0 = true;
|
|
2963
2967
|
} else {
|
|
2964
2968
|
tmp_0 = absenceIsNull(this, descriptor, index);
|
|
2965
2969
|
}
|
|
2966
2970
|
if (tmp_0) {
|
|
2967
|
-
tmp = !this.
|
|
2971
|
+
tmp = !this.p14_1.f10_1 ? true : !coerceInputValue_0(this, descriptor, index, name);
|
|
2968
2972
|
} else {
|
|
2969
2973
|
tmp = false;
|
|
2970
2974
|
}
|
|
@@ -2975,29 +2979,29 @@
|
|
|
2975
2979
|
Companion_getInstance();
|
|
2976
2980
|
return -1;
|
|
2977
2981
|
};
|
|
2978
|
-
protoOf(JsonTreeDecoder).
|
|
2979
|
-
return !this.
|
|
2982
|
+
protoOf(JsonTreeDecoder).fl = function () {
|
|
2983
|
+
return !this.n15_1 ? protoOf(AbstractJsonTreeDecoder).fl.call(this) : false;
|
|
2980
2984
|
};
|
|
2981
|
-
protoOf(JsonTreeDecoder).
|
|
2982
|
-
var strategy = namingStrategy(descriptor, this.
|
|
2983
|
-
var baseName = descriptor.
|
|
2985
|
+
protoOf(JsonTreeDecoder).jw = function (descriptor, index) {
|
|
2986
|
+
var strategy = namingStrategy(descriptor, this.l10());
|
|
2987
|
+
var baseName = descriptor.fk(index);
|
|
2984
2988
|
if (strategy == null) {
|
|
2985
|
-
if (!this.
|
|
2989
|
+
if (!this.p14_1.j10_1)
|
|
2986
2990
|
return baseName;
|
|
2987
|
-
if (this.
|
|
2991
|
+
if (this.p2().k2().r(baseName))
|
|
2988
2992
|
return baseName;
|
|
2989
2993
|
}
|
|
2990
|
-
var deserializationNamesMap_0 = deserializationNamesMap(this.
|
|
2994
|
+
var deserializationNamesMap_0 = deserializationNamesMap(this.l10(), descriptor);
|
|
2991
2995
|
// Inline function 'kotlin.collections.find' call
|
|
2992
|
-
var tmp0_find = this.
|
|
2996
|
+
var tmp0_find = this.p2().k2();
|
|
2993
2997
|
var tmp$ret$1;
|
|
2994
2998
|
$l$block: {
|
|
2995
2999
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
2996
|
-
var tmp0_iterator = tmp0_find.
|
|
2997
|
-
while (tmp0_iterator.
|
|
2998
|
-
var element = tmp0_iterator.
|
|
3000
|
+
var tmp0_iterator = tmp0_find.v();
|
|
3001
|
+
while (tmp0_iterator.w()) {
|
|
3002
|
+
var element = tmp0_iterator.y();
|
|
2999
3003
|
// Inline function 'kotlinx.serialization.json.internal.JsonTreeDecoder.elementName.<anonymous>' call
|
|
3000
|
-
if (deserializationNamesMap_0.
|
|
3004
|
+
if (deserializationNamesMap_0.u2(element) === index) {
|
|
3001
3005
|
tmp$ret$1 = element;
|
|
3002
3006
|
break $l$block;
|
|
3003
3007
|
}
|
|
@@ -3012,86 +3016,86 @@
|
|
|
3012
3016
|
// Inline function 'kotlin.contracts.contract' call
|
|
3013
3017
|
return tmp0_safe_receiver;
|
|
3014
3018
|
}
|
|
3015
|
-
var fallbackName = strategy == null ? null : strategy.
|
|
3019
|
+
var fallbackName = strategy == null ? null : strategy.q11(descriptor, index, baseName);
|
|
3016
3020
|
return fallbackName == null ? baseName : fallbackName;
|
|
3017
3021
|
};
|
|
3018
|
-
protoOf(JsonTreeDecoder).
|
|
3019
|
-
return getValue(this.
|
|
3022
|
+
protoOf(JsonTreeDecoder).q14 = function (tag) {
|
|
3023
|
+
return getValue(this.p2(), tag);
|
|
3020
3024
|
};
|
|
3021
|
-
protoOf(JsonTreeDecoder).
|
|
3022
|
-
if (descriptor === this.
|
|
3025
|
+
protoOf(JsonTreeDecoder).ul = function (descriptor) {
|
|
3026
|
+
if (descriptor === this.l15_1)
|
|
3023
3027
|
return this;
|
|
3024
|
-
return protoOf(AbstractJsonTreeDecoder).
|
|
3028
|
+
return protoOf(AbstractJsonTreeDecoder).ul.call(this, descriptor);
|
|
3025
3029
|
};
|
|
3026
|
-
protoOf(JsonTreeDecoder).
|
|
3030
|
+
protoOf(JsonTreeDecoder).vl = function (descriptor) {
|
|
3027
3031
|
var tmp;
|
|
3028
|
-
if (this.
|
|
3032
|
+
if (this.p14_1.zz_1) {
|
|
3029
3033
|
tmp = true;
|
|
3030
3034
|
} else {
|
|
3031
|
-
var tmp_0 = descriptor.
|
|
3035
|
+
var tmp_0 = descriptor.bk();
|
|
3032
3036
|
tmp = tmp_0 instanceof PolymorphicKind;
|
|
3033
3037
|
}
|
|
3034
3038
|
if (tmp)
|
|
3035
3039
|
return Unit_getInstance();
|
|
3036
|
-
var strategy = namingStrategy(descriptor, this.
|
|
3040
|
+
var strategy = namingStrategy(descriptor, this.l10());
|
|
3037
3041
|
var tmp_1;
|
|
3038
|
-
if (strategy == null ? !this.
|
|
3042
|
+
if (strategy == null ? !this.p14_1.j10_1 : false) {
|
|
3039
3043
|
tmp_1 = jsonCachedSerialNames(descriptor);
|
|
3040
3044
|
} else if (!(strategy == null)) {
|
|
3041
|
-
tmp_1 = deserializationNamesMap(this.
|
|
3045
|
+
tmp_1 = deserializationNamesMap(this.l10(), descriptor).k2();
|
|
3042
3046
|
} else {
|
|
3043
3047
|
var tmp_2 = jsonCachedSerialNames(descriptor);
|
|
3044
3048
|
var tmp$ret$0;
|
|
3045
3049
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3046
|
-
var tmp0_safe_receiver = get_schemaCache(this.
|
|
3047
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3050
|
+
var tmp0_safe_receiver = get_schemaCache(this.l10()).q13(descriptor, get_JsonDeserializationNamesKey());
|
|
3051
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k2();
|
|
3048
3052
|
tmp$ret$0 = tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
3049
3053
|
tmp_1 = plus_0(tmp_2, tmp$ret$0);
|
|
3050
3054
|
}
|
|
3051
3055
|
var names = tmp_1;
|
|
3052
|
-
var tmp1_iterator = this.
|
|
3053
|
-
while (tmp1_iterator.
|
|
3054
|
-
var key = tmp1_iterator.
|
|
3055
|
-
if (!names.
|
|
3056
|
-
throw UnknownKeyException(key, this.
|
|
3056
|
+
var tmp1_iterator = this.p2().k2().v();
|
|
3057
|
+
while (tmp1_iterator.w()) {
|
|
3058
|
+
var key = tmp1_iterator.y();
|
|
3059
|
+
if (!names.r(key) ? !(key === this.k15_1) : false) {
|
|
3060
|
+
throw UnknownKeyException(key, this.p2().toString());
|
|
3057
3061
|
}
|
|
3058
3062
|
}
|
|
3059
3063
|
};
|
|
3060
3064
|
function JsonTreeListDecoder(json, value) {
|
|
3061
3065
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3062
|
-
this.
|
|
3063
|
-
this.
|
|
3064
|
-
this.
|
|
3066
|
+
this.t15_1 = value;
|
|
3067
|
+
this.u15_1 = this.t15_1.n();
|
|
3068
|
+
this.v15_1 = -1;
|
|
3065
3069
|
}
|
|
3066
|
-
protoOf(JsonTreeListDecoder).
|
|
3067
|
-
return this.
|
|
3070
|
+
protoOf(JsonTreeListDecoder).p2 = function () {
|
|
3071
|
+
return this.t15_1;
|
|
3068
3072
|
};
|
|
3069
|
-
protoOf(JsonTreeListDecoder).
|
|
3073
|
+
protoOf(JsonTreeListDecoder).jw = function (descriptor, index) {
|
|
3070
3074
|
return index.toString();
|
|
3071
3075
|
};
|
|
3072
|
-
protoOf(JsonTreeListDecoder).
|
|
3073
|
-
return this.
|
|
3076
|
+
protoOf(JsonTreeListDecoder).q14 = function (tag) {
|
|
3077
|
+
return this.t15_1.g1(toInt(tag));
|
|
3074
3078
|
};
|
|
3075
|
-
protoOf(JsonTreeListDecoder).
|
|
3076
|
-
while (this.
|
|
3077
|
-
this.
|
|
3078
|
-
return this.
|
|
3079
|
+
protoOf(JsonTreeListDecoder).lm = function (descriptor) {
|
|
3080
|
+
while (this.v15_1 < (this.u15_1 - 1 | 0)) {
|
|
3081
|
+
this.v15_1 = this.v15_1 + 1 | 0;
|
|
3082
|
+
return this.v15_1;
|
|
3079
3083
|
}
|
|
3080
3084
|
Companion_getInstance();
|
|
3081
3085
|
return -1;
|
|
3082
3086
|
};
|
|
3083
3087
|
function JsonPrimitiveDecoder(json, value) {
|
|
3084
3088
|
AbstractJsonTreeDecoder.call(this, json, value);
|
|
3085
|
-
this.
|
|
3086
|
-
this.
|
|
3089
|
+
this.b16_1 = value;
|
|
3090
|
+
this.cx(get_PRIMITIVE_TAG());
|
|
3087
3091
|
}
|
|
3088
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3089
|
-
return this.
|
|
3092
|
+
protoOf(JsonPrimitiveDecoder).p2 = function () {
|
|
3093
|
+
return this.b16_1;
|
|
3090
3094
|
};
|
|
3091
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3095
|
+
protoOf(JsonPrimitiveDecoder).lm = function (descriptor) {
|
|
3092
3096
|
return 0;
|
|
3093
3097
|
};
|
|
3094
|
-
protoOf(JsonPrimitiveDecoder).
|
|
3098
|
+
protoOf(JsonPrimitiveDecoder).q14 = function (tag) {
|
|
3095
3099
|
// Inline function 'kotlin.require' call
|
|
3096
3100
|
// Inline function 'kotlin.contracts.contract' call
|
|
3097
3101
|
if (!(tag === get_PRIMITIVE_TAG())) {
|
|
@@ -3099,37 +3103,37 @@
|
|
|
3099
3103
|
var message = "This input can only handle primitives with '" + get_PRIMITIVE_TAG() + "' tag";
|
|
3100
3104
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3101
3105
|
}
|
|
3102
|
-
return this.
|
|
3106
|
+
return this.b16_1;
|
|
3103
3107
|
};
|
|
3104
3108
|
function JsonTreeMapDecoder(json, value) {
|
|
3105
3109
|
JsonTreeDecoder.call(this, json, value);
|
|
3106
|
-
this.
|
|
3107
|
-
this.
|
|
3108
|
-
this.
|
|
3109
|
-
this.
|
|
3110
|
+
this.m16_1 = value;
|
|
3111
|
+
this.n16_1 = toList(this.m16_1.k2());
|
|
3112
|
+
this.o16_1 = imul(this.n16_1.n(), 2);
|
|
3113
|
+
this.p16_1 = -1;
|
|
3110
3114
|
}
|
|
3111
|
-
protoOf(JsonTreeMapDecoder).
|
|
3112
|
-
return this.
|
|
3115
|
+
protoOf(JsonTreeMapDecoder).p2 = function () {
|
|
3116
|
+
return this.m16_1;
|
|
3113
3117
|
};
|
|
3114
|
-
protoOf(JsonTreeMapDecoder).
|
|
3118
|
+
protoOf(JsonTreeMapDecoder).jw = function (descriptor, index) {
|
|
3115
3119
|
var i = index / 2 | 0;
|
|
3116
|
-
return this.
|
|
3120
|
+
return this.n16_1.g1(i);
|
|
3117
3121
|
};
|
|
3118
|
-
protoOf(JsonTreeMapDecoder).
|
|
3119
|
-
while (this.
|
|
3120
|
-
this.
|
|
3121
|
-
return this.
|
|
3122
|
+
protoOf(JsonTreeMapDecoder).lm = function (descriptor) {
|
|
3123
|
+
while (this.p16_1 < (this.o16_1 - 1 | 0)) {
|
|
3124
|
+
this.p16_1 = this.p16_1 + 1 | 0;
|
|
3125
|
+
return this.p16_1;
|
|
3122
3126
|
}
|
|
3123
3127
|
Companion_getInstance();
|
|
3124
3128
|
return -1;
|
|
3125
3129
|
};
|
|
3126
|
-
protoOf(JsonTreeMapDecoder).
|
|
3127
|
-
return (this.
|
|
3130
|
+
protoOf(JsonTreeMapDecoder).q14 = function (tag) {
|
|
3131
|
+
return (this.p16_1 % 2 | 0) === 0 ? JsonPrimitive_2(tag) : getValue(this.m16_1, tag);
|
|
3128
3132
|
};
|
|
3129
|
-
protoOf(JsonTreeMapDecoder).
|
|
3133
|
+
protoOf(JsonTreeMapDecoder).vl = function (descriptor) {
|
|
3130
3134
|
};
|
|
3131
3135
|
function readPolymorphicJson(_this__u8e3s4, discriminator, element, deserializer) {
|
|
3132
|
-
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.
|
|
3136
|
+
return (new JsonTreeDecoder(_this__u8e3s4, element, discriminator, deserializer.wi())).tl(deserializer);
|
|
3133
3137
|
}
|
|
3134
3138
|
function get_PRIMITIVE_TAG() {
|
|
3135
3139
|
return PRIMITIVE_TAG;
|
|
@@ -3151,11 +3155,11 @@
|
|
|
3151
3155
|
}
|
|
3152
3156
|
function WriteMode(name, ordinal, begin, end) {
|
|
3153
3157
|
Enum.call(this, name, ordinal);
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3158
|
+
this.d14_1 = begin;
|
|
3159
|
+
this.e14_1 = end;
|
|
3156
3160
|
}
|
|
3157
3161
|
function switchMode(_this__u8e3s4, desc) {
|
|
3158
|
-
var tmp0_subject = desc.
|
|
3162
|
+
var tmp0_subject = desc.bk();
|
|
3159
3163
|
var tmp;
|
|
3160
3164
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
3161
3165
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -3165,8 +3169,8 @@
|
|
|
3165
3169
|
} else {
|
|
3166
3170
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
3167
3171
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
3168
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
3169
|
-
var keyKind = keyDescriptor.
|
|
3172
|
+
var keyDescriptor = carrierDescriptor(desc.dk(0), _this__u8e3s4.jm());
|
|
3173
|
+
var keyKind = keyDescriptor.bk();
|
|
3170
3174
|
var tmp_0;
|
|
3171
3175
|
var tmp_1;
|
|
3172
3176
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -3178,7 +3182,7 @@
|
|
|
3178
3182
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3179
3183
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
3180
3184
|
} else {
|
|
3181
|
-
if (_this__u8e3s4.
|
|
3185
|
+
if (_this__u8e3s4.sy_1.b10_1) {
|
|
3182
3186
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
3183
3187
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
3184
3188
|
} else {
|
|
@@ -3195,12 +3199,12 @@
|
|
|
3195
3199
|
}
|
|
3196
3200
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
3197
3201
|
var tmp;
|
|
3198
|
-
if (equals(_this__u8e3s4.
|
|
3202
|
+
if (equals(_this__u8e3s4.bk(), CONTEXTUAL_getInstance())) {
|
|
3199
3203
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
3200
3204
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
3201
3205
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
3202
|
-
} else if (_this__u8e3s4.
|
|
3203
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
3206
|
+
} else if (_this__u8e3s4.ak()) {
|
|
3207
|
+
tmp = carrierDescriptor(_this__u8e3s4.dk(0), module_0);
|
|
3204
3208
|
} else {
|
|
3205
3209
|
tmp = _this__u8e3s4;
|
|
3206
3210
|
}
|
|
@@ -3222,60 +3226,64 @@
|
|
|
3222
3226
|
WriteMode_initEntries();
|
|
3223
3227
|
return WriteMode_POLY_OBJ_instance;
|
|
3224
3228
|
}
|
|
3229
|
+
function get_STRING() {
|
|
3230
|
+
return STRING;
|
|
3231
|
+
}
|
|
3232
|
+
var STRING;
|
|
3225
3233
|
function appendEscape($this, lastPosition, current) {
|
|
3226
|
-
$this.
|
|
3234
|
+
$this.q16(lastPosition, current);
|
|
3227
3235
|
return appendEsc($this, current + 1 | 0);
|
|
3228
3236
|
}
|
|
3229
3237
|
function decodedString($this, lastPosition, currentPosition) {
|
|
3230
|
-
$this.
|
|
3231
|
-
var result = $this.
|
|
3232
|
-
$this.
|
|
3238
|
+
$this.q16(lastPosition, currentPosition);
|
|
3239
|
+
var result = $this.iz_1.toString();
|
|
3240
|
+
$this.iz_1.s7(0);
|
|
3233
3241
|
return result;
|
|
3234
3242
|
}
|
|
3235
3243
|
function takePeeked($this) {
|
|
3236
3244
|
// Inline function 'kotlin.also' call
|
|
3237
|
-
var tmp0_also = ensureNotNull($this.
|
|
3245
|
+
var tmp0_also = ensureNotNull($this.hz_1);
|
|
3238
3246
|
// Inline function 'kotlin.contracts.contract' call
|
|
3239
3247
|
// Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.takePeeked.<anonymous>' call
|
|
3240
|
-
$this.
|
|
3248
|
+
$this.hz_1 = null;
|
|
3241
3249
|
return tmp0_also;
|
|
3242
3250
|
}
|
|
3243
3251
|
function wasUnquotedString($this) {
|
|
3244
|
-
return !(charSequenceGet($this.
|
|
3252
|
+
return !(charSequenceGet($this.r16(), $this.fz_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
|
|
3245
3253
|
}
|
|
3246
3254
|
function appendEsc($this, startPosition) {
|
|
3247
3255
|
var currentPosition = startPosition;
|
|
3248
|
-
currentPosition = $this.
|
|
3256
|
+
currentPosition = $this.s16(currentPosition);
|
|
3249
3257
|
if (currentPosition === -1) {
|
|
3250
|
-
$this.
|
|
3258
|
+
$this.m11('Expected escape sequence to continue, got EOF');
|
|
3251
3259
|
}
|
|
3252
|
-
var tmp = $this.
|
|
3260
|
+
var tmp = $this.r16();
|
|
3253
3261
|
var tmp0 = currentPosition;
|
|
3254
3262
|
currentPosition = tmp0 + 1 | 0;
|
|
3255
3263
|
var currentChar = charSequenceGet(tmp, tmp0);
|
|
3256
3264
|
if (currentChar === _Char___init__impl__6a9atx(117)) {
|
|
3257
|
-
return appendHex($this, $this.
|
|
3265
|
+
return appendHex($this, $this.r16(), currentPosition);
|
|
3258
3266
|
}
|
|
3259
3267
|
var tmp$ret$0;
|
|
3260
3268
|
// Inline function 'kotlin.code' call
|
|
3261
3269
|
tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
|
|
3262
3270
|
var c = escapeToChar(tmp$ret$0);
|
|
3263
3271
|
if (c === _Char___init__impl__6a9atx(0)) {
|
|
3264
|
-
$this.
|
|
3272
|
+
$this.m11("Invalid escaped char '" + new Char(currentChar) + "'");
|
|
3265
3273
|
}
|
|
3266
|
-
$this.
|
|
3274
|
+
$this.iz_1.g5(c);
|
|
3267
3275
|
return currentPosition;
|
|
3268
3276
|
}
|
|
3269
3277
|
function appendHex($this, source, startPos) {
|
|
3270
3278
|
if ((startPos + 4 | 0) >= charSequenceLength(source)) {
|
|
3271
|
-
$this.
|
|
3272
|
-
$this.
|
|
3273
|
-
if (($this.
|
|
3274
|
-
$this.
|
|
3279
|
+
$this.fz_1 = startPos;
|
|
3280
|
+
$this.t16();
|
|
3281
|
+
if (($this.fz_1 + 4 | 0) >= charSequenceLength(source)) {
|
|
3282
|
+
$this.m11('Unexpected EOF during unicode escape');
|
|
3275
3283
|
}
|
|
3276
|
-
return appendHex($this, source, $this.
|
|
3284
|
+
return appendHex($this, source, $this.fz_1);
|
|
3277
3285
|
}
|
|
3278
|
-
$this.
|
|
3286
|
+
$this.iz_1.g5(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
|
|
3279
3287
|
return startPos + 4 | 0;
|
|
3280
3288
|
}
|
|
3281
3289
|
function fromHexChar($this, source, currentPosition) {
|
|
@@ -3297,17 +3305,17 @@
|
|
|
3297
3305
|
// Inline function 'kotlin.code' call
|
|
3298
3306
|
tmp = (tmp_2 - 65 | 0) + 10 | 0;
|
|
3299
3307
|
} else {
|
|
3300
|
-
$this.
|
|
3308
|
+
$this.m11("Invalid toHexChar char '" + new Char(character) + "' in unicode escape");
|
|
3301
3309
|
}
|
|
3302
3310
|
return tmp;
|
|
3303
3311
|
}
|
|
3304
3312
|
function consumeBoolean($this, start) {
|
|
3305
|
-
var current = $this.
|
|
3306
|
-
if (current >= charSequenceLength($this.
|
|
3307
|
-
$this.
|
|
3313
|
+
var current = $this.s16(start);
|
|
3314
|
+
if (current >= charSequenceLength($this.r16()) ? true : current === -1) {
|
|
3315
|
+
$this.m11('EOF');
|
|
3308
3316
|
}
|
|
3309
3317
|
// Inline function 'kotlin.code' call
|
|
3310
|
-
var tmp = $this.
|
|
3318
|
+
var tmp = $this.r16();
|
|
3311
3319
|
var tmp0 = current;
|
|
3312
3320
|
current = tmp0 + 1 | 0;
|
|
3313
3321
|
var tmp0_get_code_gknlva = charSequenceGet(tmp, tmp0);
|
|
@@ -3323,14 +3331,14 @@
|
|
|
3323
3331
|
consumeBooleanLiteral($this, 'alse', current);
|
|
3324
3332
|
tmp_0 = false;
|
|
3325
3333
|
} else {
|
|
3326
|
-
$this.
|
|
3334
|
+
$this.m11("Expected valid boolean literal prefix, but had '" + $this.h12() + "'");
|
|
3327
3335
|
}
|
|
3328
3336
|
}
|
|
3329
3337
|
return tmp_0;
|
|
3330
3338
|
}
|
|
3331
3339
|
function consumeBooleanLiteral($this, literalSuffix, current) {
|
|
3332
|
-
if ((charSequenceLength($this.
|
|
3333
|
-
$this.
|
|
3340
|
+
if ((charSequenceLength($this.r16()) - current | 0) < literalSuffix.length) {
|
|
3341
|
+
$this.m11('Unexpected end of boolean literal');
|
|
3334
3342
|
}
|
|
3335
3343
|
var inductionVariable = 0;
|
|
3336
3344
|
var last = charSequenceLength(literalSuffix) - 1 | 0;
|
|
@@ -3339,47 +3347,47 @@
|
|
|
3339
3347
|
var i = inductionVariable;
|
|
3340
3348
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3341
3349
|
var expected = charSequenceGet(literalSuffix, i);
|
|
3342
|
-
var actual = charSequenceGet($this.
|
|
3350
|
+
var actual = charSequenceGet($this.r16(), current + i | 0);
|
|
3343
3351
|
// Inline function 'kotlin.code' call
|
|
3344
3352
|
var tmp = Char__toInt_impl_vasixd(expected);
|
|
3345
3353
|
// Inline function 'kotlin.code' call
|
|
3346
3354
|
if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
|
|
3347
|
-
$this.
|
|
3355
|
+
$this.m11("Expected valid boolean literal prefix, but had '" + $this.h12() + "'");
|
|
3348
3356
|
}
|
|
3349
3357
|
}
|
|
3350
3358
|
while (inductionVariable <= last);
|
|
3351
|
-
$this.
|
|
3359
|
+
$this.fz_1 = current + literalSuffix.length | 0;
|
|
3352
3360
|
}
|
|
3353
3361
|
function AbstractJsonLexer() {
|
|
3354
|
-
this.
|
|
3355
|
-
this.
|
|
3356
|
-
this.
|
|
3357
|
-
this.
|
|
3362
|
+
this.fz_1 = 0;
|
|
3363
|
+
this.gz_1 = new JsonPath();
|
|
3364
|
+
this.hz_1 = null;
|
|
3365
|
+
this.iz_1 = StringBuilder_init_$Create$();
|
|
3358
3366
|
}
|
|
3359
|
-
protoOf(AbstractJsonLexer).
|
|
3367
|
+
protoOf(AbstractJsonLexer).t16 = function () {
|
|
3360
3368
|
};
|
|
3361
|
-
protoOf(AbstractJsonLexer).
|
|
3369
|
+
protoOf(AbstractJsonLexer).u16 = function (c) {
|
|
3362
3370
|
return (((c === _Char___init__impl__6a9atx(125) ? true : c === _Char___init__impl__6a9atx(93)) ? true : c === _Char___init__impl__6a9atx(58)) ? true : c === _Char___init__impl__6a9atx(44)) ? false : true;
|
|
3363
3371
|
};
|
|
3364
|
-
protoOf(AbstractJsonLexer).
|
|
3365
|
-
var nextToken = this.
|
|
3372
|
+
protoOf(AbstractJsonLexer).jz = function () {
|
|
3373
|
+
var nextToken = this.j12();
|
|
3366
3374
|
if (!(nextToken === 10)) {
|
|
3367
|
-
this.
|
|
3375
|
+
this.m11('Expected EOF after parsing, but had ' + new Char(charSequenceGet(this.r16(), this.fz_1 - 1 | 0)) + ' instead');
|
|
3368
3376
|
}
|
|
3369
3377
|
};
|
|
3370
|
-
protoOf(AbstractJsonLexer).
|
|
3371
|
-
var token = this.
|
|
3378
|
+
protoOf(AbstractJsonLexer).d12 = function (expected) {
|
|
3379
|
+
var token = this.j12();
|
|
3372
3380
|
if (!(token === expected)) {
|
|
3373
|
-
this.
|
|
3381
|
+
this.v16(expected);
|
|
3374
3382
|
}
|
|
3375
3383
|
return token;
|
|
3376
3384
|
};
|
|
3377
|
-
protoOf(AbstractJsonLexer).
|
|
3378
|
-
this.
|
|
3379
|
-
var source = this.
|
|
3380
|
-
var cpos = this.
|
|
3385
|
+
protoOf(AbstractJsonLexer).s13 = function (expected) {
|
|
3386
|
+
this.t16();
|
|
3387
|
+
var source = this.r16();
|
|
3388
|
+
var cpos = this.fz_1;
|
|
3381
3389
|
$l$loop_0: while (true) {
|
|
3382
|
-
cpos = this.
|
|
3390
|
+
cpos = this.s16(cpos);
|
|
3383
3391
|
if (cpos === -1)
|
|
3384
3392
|
break $l$loop_0;
|
|
3385
3393
|
var tmp0 = cpos;
|
|
@@ -3387,31 +3395,31 @@
|
|
|
3387
3395
|
var c = charSequenceGet(source, tmp0);
|
|
3388
3396
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
3389
3397
|
continue $l$loop_0;
|
|
3390
|
-
this.
|
|
3398
|
+
this.fz_1 = cpos;
|
|
3391
3399
|
if (c === expected)
|
|
3392
3400
|
return Unit_getInstance();
|
|
3393
|
-
this.
|
|
3401
|
+
this.w16(expected);
|
|
3394
3402
|
}
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3403
|
+
this.fz_1 = cpos;
|
|
3404
|
+
this.w16(expected);
|
|
3397
3405
|
};
|
|
3398
|
-
protoOf(AbstractJsonLexer).
|
|
3399
|
-
this.
|
|
3400
|
-
if ((this.
|
|
3401
|
-
this.
|
|
3406
|
+
protoOf(AbstractJsonLexer).w16 = function (expected) {
|
|
3407
|
+
this.fz_1 = this.fz_1 - 1 | 0;
|
|
3408
|
+
if ((this.fz_1 >= 0 ? expected === _Char___init__impl__6a9atx(34) : false) ? this.h12() === 'null' : false) {
|
|
3409
|
+
this.x16("Expected string literal but 'null' literal was found", this.fz_1 - 4 | 0, "Use 'coerceInputValues = true' in 'Json {}` builder to coerce nulls to default values.");
|
|
3402
3410
|
}
|
|
3403
|
-
this.
|
|
3411
|
+
this.v16(charToTokenClass(expected));
|
|
3404
3412
|
};
|
|
3405
|
-
protoOf(AbstractJsonLexer).
|
|
3413
|
+
protoOf(AbstractJsonLexer).v16 = function (expectedToken) {
|
|
3406
3414
|
var expected = expectedToken === 1 ? "quotation mark '\"'" : expectedToken === 4 ? "comma ','" : expectedToken === 5 ? "colon ':'" : expectedToken === 6 ? "start of the object '{'" : expectedToken === 7 ? "end of the object '}'" : expectedToken === 8 ? "start of the array '['" : expectedToken === 9 ? "end of the array ']'" : 'valid token';
|
|
3407
|
-
var s = (this.
|
|
3408
|
-
this.
|
|
3415
|
+
var s = (this.fz_1 === charSequenceLength(this.r16()) ? true : this.fz_1 <= 0) ? 'EOF' : toString_0(charSequenceGet(this.r16(), this.fz_1 - 1 | 0));
|
|
3416
|
+
this.m11('Expected ' + expected + ", but had '" + s + "' instead", this.fz_1 - 1 | 0);
|
|
3409
3417
|
};
|
|
3410
|
-
protoOf(AbstractJsonLexer).
|
|
3411
|
-
var source = this.
|
|
3412
|
-
var cpos = this.
|
|
3418
|
+
protoOf(AbstractJsonLexer).e12 = function () {
|
|
3419
|
+
var source = this.r16();
|
|
3420
|
+
var cpos = this.fz_1;
|
|
3413
3421
|
$l$loop_0: while (true) {
|
|
3414
|
-
cpos = this.
|
|
3422
|
+
cpos = this.s16(cpos);
|
|
3415
3423
|
if (cpos === -1)
|
|
3416
3424
|
break $l$loop_0;
|
|
3417
3425
|
var ch = charSequenceGet(source, cpos);
|
|
@@ -3419,16 +3427,16 @@
|
|
|
3419
3427
|
cpos = cpos + 1 | 0;
|
|
3420
3428
|
continue $l$loop_0;
|
|
3421
3429
|
}
|
|
3422
|
-
this.
|
|
3430
|
+
this.fz_1 = cpos;
|
|
3423
3431
|
return charToTokenClass(ch);
|
|
3424
3432
|
}
|
|
3425
|
-
this.
|
|
3433
|
+
this.fz_1 = cpos;
|
|
3426
3434
|
return 10;
|
|
3427
3435
|
};
|
|
3428
|
-
protoOf(AbstractJsonLexer).
|
|
3429
|
-
var current = this.
|
|
3430
|
-
current = this.
|
|
3431
|
-
var len = charSequenceLength(this.
|
|
3436
|
+
protoOf(AbstractJsonLexer).u13 = function (doConsume) {
|
|
3437
|
+
var current = this.y16();
|
|
3438
|
+
current = this.s16(current);
|
|
3439
|
+
var len = charSequenceLength(this.r16()) - current | 0;
|
|
3432
3440
|
if (len < 4 ? true : current === -1)
|
|
3433
3441
|
return false;
|
|
3434
3442
|
var inductionVariable = 0;
|
|
@@ -3436,63 +3444,63 @@
|
|
|
3436
3444
|
do {
|
|
3437
3445
|
var i = inductionVariable;
|
|
3438
3446
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3439
|
-
if (!(charSequenceGet('null', i) === charSequenceGet(this.
|
|
3447
|
+
if (!(charSequenceGet('null', i) === charSequenceGet(this.r16(), current + i | 0)))
|
|
3440
3448
|
return false;
|
|
3441
3449
|
}
|
|
3442
3450
|
while (inductionVariable <= 3);
|
|
3443
|
-
if (len > 4 ? charToTokenClass(charSequenceGet(this.
|
|
3451
|
+
if (len > 4 ? charToTokenClass(charSequenceGet(this.r16(), current + 4 | 0)) === 0 : false)
|
|
3444
3452
|
return false;
|
|
3445
3453
|
if (doConsume) {
|
|
3446
|
-
this.
|
|
3454
|
+
this.fz_1 = current + 4 | 0;
|
|
3447
3455
|
}
|
|
3448
3456
|
return true;
|
|
3449
3457
|
};
|
|
3450
|
-
protoOf(AbstractJsonLexer).
|
|
3458
|
+
protoOf(AbstractJsonLexer).f14 = function (doConsume, $super) {
|
|
3451
3459
|
doConsume = doConsume === VOID ? true : doConsume;
|
|
3452
|
-
return $super === VOID ? this.
|
|
3460
|
+
return $super === VOID ? this.u13(doConsume) : $super.u13.call(this, doConsume);
|
|
3453
3461
|
};
|
|
3454
|
-
protoOf(AbstractJsonLexer).
|
|
3455
|
-
var current = this.
|
|
3462
|
+
protoOf(AbstractJsonLexer).y16 = function () {
|
|
3463
|
+
var current = this.fz_1;
|
|
3456
3464
|
$l$loop_0: while (true) {
|
|
3457
|
-
current = this.
|
|
3465
|
+
current = this.s16(current);
|
|
3458
3466
|
if (current === -1)
|
|
3459
3467
|
break $l$loop_0;
|
|
3460
|
-
var c = charSequenceGet(this.
|
|
3468
|
+
var c = charSequenceGet(this.r16(), current);
|
|
3461
3469
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3462
3470
|
current = current + 1 | 0;
|
|
3463
3471
|
} else {
|
|
3464
3472
|
break $l$loop_0;
|
|
3465
3473
|
}
|
|
3466
3474
|
}
|
|
3467
|
-
this.
|
|
3475
|
+
this.fz_1 = current;
|
|
3468
3476
|
return current;
|
|
3469
3477
|
};
|
|
3470
|
-
protoOf(AbstractJsonLexer).
|
|
3471
|
-
var token = this.
|
|
3478
|
+
protoOf(AbstractJsonLexer).v13 = function (isLenient) {
|
|
3479
|
+
var token = this.e12();
|
|
3472
3480
|
var tmp;
|
|
3473
3481
|
if (isLenient) {
|
|
3474
3482
|
if (!(token === 1) ? !(token === 0) : false)
|
|
3475
3483
|
return null;
|
|
3476
|
-
tmp = this.
|
|
3484
|
+
tmp = this.h12();
|
|
3477
3485
|
} else {
|
|
3478
3486
|
if (!(token === 1))
|
|
3479
3487
|
return null;
|
|
3480
|
-
tmp = this.
|
|
3488
|
+
tmp = this.g12();
|
|
3481
3489
|
}
|
|
3482
3490
|
var string = tmp;
|
|
3483
|
-
this.
|
|
3491
|
+
this.hz_1 = string;
|
|
3484
3492
|
return string;
|
|
3485
3493
|
};
|
|
3486
|
-
protoOf(AbstractJsonLexer).
|
|
3494
|
+
protoOf(AbstractJsonLexer).z16 = function (startPos, endPos) {
|
|
3487
3495
|
// Inline function 'kotlin.text.substring' call
|
|
3488
|
-
var tmp0_substring = this.
|
|
3496
|
+
var tmp0_substring = this.r16();
|
|
3489
3497
|
return toString(charSequenceSubSequence(tmp0_substring, startPos, endPos));
|
|
3490
3498
|
};
|
|
3491
|
-
protoOf(AbstractJsonLexer).
|
|
3492
|
-
if (!(this.
|
|
3499
|
+
protoOf(AbstractJsonLexer).g12 = function () {
|
|
3500
|
+
if (!(this.hz_1 == null)) {
|
|
3493
3501
|
return takePeeked(this);
|
|
3494
3502
|
}
|
|
3495
|
-
return this.
|
|
3503
|
+
return this.y13();
|
|
3496
3504
|
};
|
|
3497
3505
|
protoOf(AbstractJsonLexer).consumeString2 = function (source, startPosition, current) {
|
|
3498
3506
|
var currentPosition = current;
|
|
@@ -3502,19 +3510,19 @@
|
|
|
3502
3510
|
while (!(char === _Char___init__impl__6a9atx(34))) {
|
|
3503
3511
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3504
3512
|
usedAppend = true;
|
|
3505
|
-
currentPosition = this.
|
|
3513
|
+
currentPosition = this.s16(appendEscape(this, lastPosition, currentPosition));
|
|
3506
3514
|
if (currentPosition === -1) {
|
|
3507
|
-
this.
|
|
3515
|
+
this.m11('EOF', currentPosition);
|
|
3508
3516
|
}
|
|
3509
3517
|
lastPosition = currentPosition;
|
|
3510
3518
|
} else {
|
|
3511
3519
|
currentPosition = currentPosition + 1 | 0;
|
|
3512
3520
|
if (currentPosition >= charSequenceLength(source)) {
|
|
3513
3521
|
usedAppend = true;
|
|
3514
|
-
this.
|
|
3515
|
-
currentPosition = this.
|
|
3522
|
+
this.q16(lastPosition, currentPosition);
|
|
3523
|
+
currentPosition = this.s16(currentPosition);
|
|
3516
3524
|
if (currentPosition === -1) {
|
|
3517
|
-
this.
|
|
3525
|
+
this.m11('EOF', currentPosition);
|
|
3518
3526
|
}
|
|
3519
3527
|
lastPosition = currentPosition;
|
|
3520
3528
|
}
|
|
@@ -3523,45 +3531,45 @@
|
|
|
3523
3531
|
}
|
|
3524
3532
|
var tmp;
|
|
3525
3533
|
if (!usedAppend) {
|
|
3526
|
-
tmp = this.
|
|
3534
|
+
tmp = this.z16(lastPosition, currentPosition);
|
|
3527
3535
|
} else {
|
|
3528
3536
|
tmp = decodedString(this, lastPosition, currentPosition);
|
|
3529
3537
|
}
|
|
3530
3538
|
var string = tmp;
|
|
3531
|
-
this.
|
|
3539
|
+
this.fz_1 = currentPosition + 1 | 0;
|
|
3532
3540
|
return string;
|
|
3533
3541
|
};
|
|
3534
|
-
protoOf(AbstractJsonLexer).
|
|
3535
|
-
var result = this.
|
|
3542
|
+
protoOf(AbstractJsonLexer).z13 = function () {
|
|
3543
|
+
var result = this.h12();
|
|
3536
3544
|
if (result === 'null' ? wasUnquotedString(this) : false) {
|
|
3537
|
-
this.
|
|
3545
|
+
this.m11("Unexpected 'null' value instead of string literal");
|
|
3538
3546
|
}
|
|
3539
3547
|
return result;
|
|
3540
3548
|
};
|
|
3541
|
-
protoOf(AbstractJsonLexer).
|
|
3542
|
-
if (!(this.
|
|
3549
|
+
protoOf(AbstractJsonLexer).h12 = function () {
|
|
3550
|
+
if (!(this.hz_1 == null)) {
|
|
3543
3551
|
return takePeeked(this);
|
|
3544
3552
|
}
|
|
3545
|
-
var current = this.
|
|
3546
|
-
if (current >= charSequenceLength(this.
|
|
3547
|
-
this.
|
|
3553
|
+
var current = this.y16();
|
|
3554
|
+
if (current >= charSequenceLength(this.r16()) ? true : current === -1) {
|
|
3555
|
+
this.m11('EOF', current);
|
|
3548
3556
|
}
|
|
3549
|
-
var token = charToTokenClass(charSequenceGet(this.
|
|
3557
|
+
var token = charToTokenClass(charSequenceGet(this.r16(), current));
|
|
3550
3558
|
if (token === 1) {
|
|
3551
|
-
return this.
|
|
3559
|
+
return this.g12();
|
|
3552
3560
|
}
|
|
3553
3561
|
if (!(token === 0)) {
|
|
3554
|
-
this.
|
|
3562
|
+
this.m11('Expected beginning of the string, but got ' + new Char(charSequenceGet(this.r16(), current)));
|
|
3555
3563
|
}
|
|
3556
3564
|
var usedAppend = false;
|
|
3557
|
-
while (charToTokenClass(charSequenceGet(this.
|
|
3565
|
+
while (charToTokenClass(charSequenceGet(this.r16(), current)) === 0) {
|
|
3558
3566
|
current = current + 1 | 0;
|
|
3559
|
-
if (current >= charSequenceLength(this.
|
|
3567
|
+
if (current >= charSequenceLength(this.r16())) {
|
|
3560
3568
|
usedAppend = true;
|
|
3561
|
-
this.
|
|
3562
|
-
var eof = this.
|
|
3569
|
+
this.q16(this.fz_1, current);
|
|
3570
|
+
var eof = this.s16(current);
|
|
3563
3571
|
if (eof === -1) {
|
|
3564
|
-
this.
|
|
3572
|
+
this.fz_1 = current;
|
|
3565
3573
|
return decodedString(this, 0, 0);
|
|
3566
3574
|
} else {
|
|
3567
3575
|
current = eof;
|
|
@@ -3570,63 +3578,63 @@
|
|
|
3570
3578
|
}
|
|
3571
3579
|
var tmp;
|
|
3572
3580
|
if (!usedAppend) {
|
|
3573
|
-
tmp = this.
|
|
3581
|
+
tmp = this.z16(this.fz_1, current);
|
|
3574
3582
|
} else {
|
|
3575
|
-
tmp = decodedString(this, this.
|
|
3583
|
+
tmp = decodedString(this, this.fz_1, current);
|
|
3576
3584
|
}
|
|
3577
3585
|
var result = tmp;
|
|
3578
|
-
this.
|
|
3586
|
+
this.fz_1 = current;
|
|
3579
3587
|
return result;
|
|
3580
3588
|
};
|
|
3581
|
-
protoOf(AbstractJsonLexer).
|
|
3582
|
-
this.
|
|
3589
|
+
protoOf(AbstractJsonLexer).q16 = function (fromIndex, toIndex) {
|
|
3590
|
+
this.iz_1.n7(this.r16(), fromIndex, toIndex);
|
|
3583
3591
|
};
|
|
3584
|
-
protoOf(AbstractJsonLexer).
|
|
3592
|
+
protoOf(AbstractJsonLexer).x13 = function (allowLenientStrings) {
|
|
3585
3593
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3586
3594
|
var tokenStack = ArrayList_init_$Create$();
|
|
3587
|
-
var lastToken = this.
|
|
3595
|
+
var lastToken = this.e12();
|
|
3588
3596
|
if (!(lastToken === 8) ? !(lastToken === 6) : false) {
|
|
3589
|
-
this.
|
|
3597
|
+
this.h12();
|
|
3590
3598
|
return Unit_getInstance();
|
|
3591
3599
|
}
|
|
3592
3600
|
$l$loop: while (true) {
|
|
3593
|
-
lastToken = this.
|
|
3601
|
+
lastToken = this.e12();
|
|
3594
3602
|
if (lastToken === 1) {
|
|
3595
3603
|
if (allowLenientStrings) {
|
|
3596
|
-
this.
|
|
3604
|
+
this.h12();
|
|
3597
3605
|
} else {
|
|
3598
|
-
this.
|
|
3606
|
+
this.y13();
|
|
3599
3607
|
}
|
|
3600
3608
|
continue $l$loop;
|
|
3601
3609
|
}
|
|
3602
3610
|
var tmp0_subject = lastToken;
|
|
3603
3611
|
if (tmp0_subject === 8 ? true : tmp0_subject === 6) {
|
|
3604
|
-
tokenStack.
|
|
3612
|
+
tokenStack.s(lastToken);
|
|
3605
3613
|
} else if (tmp0_subject === 9) {
|
|
3606
3614
|
if (!(last(tokenStack) === 8))
|
|
3607
|
-
throw JsonDecodingException_0(this.
|
|
3615
|
+
throw JsonDecodingException_0(this.fz_1, 'found ] instead of } at path: ' + this.gz_1, this.r16());
|
|
3608
3616
|
removeLast(tokenStack);
|
|
3609
3617
|
} else if (tmp0_subject === 7) {
|
|
3610
3618
|
if (!(last(tokenStack) === 6))
|
|
3611
|
-
throw JsonDecodingException_0(this.
|
|
3619
|
+
throw JsonDecodingException_0(this.fz_1, 'found } instead of ] at path: ' + this.gz_1, this.r16());
|
|
3612
3620
|
removeLast(tokenStack);
|
|
3613
3621
|
} else if (tmp0_subject === 10) {
|
|
3614
|
-
this.
|
|
3622
|
+
this.m11('Unexpected end of input due to malformed JSON during ignoring unknown keys');
|
|
3615
3623
|
}
|
|
3616
|
-
this.
|
|
3617
|
-
if (tokenStack.
|
|
3624
|
+
this.j12();
|
|
3625
|
+
if (tokenStack.n() === 0)
|
|
3618
3626
|
return Unit_getInstance();
|
|
3619
3627
|
}
|
|
3620
3628
|
};
|
|
3621
3629
|
protoOf(AbstractJsonLexer).toString = function () {
|
|
3622
|
-
return "JsonReader(source='" + this.
|
|
3630
|
+
return "JsonReader(source='" + this.r16() + "', currentPosition=" + this.fz_1 + ')';
|
|
3623
3631
|
};
|
|
3624
|
-
protoOf(AbstractJsonLexer).
|
|
3625
|
-
var processed = this.
|
|
3632
|
+
protoOf(AbstractJsonLexer).w13 = function (key) {
|
|
3633
|
+
var processed = this.z16(0, this.fz_1);
|
|
3626
3634
|
var lastIndexOf_0 = lastIndexOf(processed, key);
|
|
3627
|
-
this.
|
|
3635
|
+
this.x16("Encountered an unknown key '" + key + "'", lastIndexOf_0, "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.");
|
|
3628
3636
|
};
|
|
3629
|
-
protoOf(AbstractJsonLexer).
|
|
3637
|
+
protoOf(AbstractJsonLexer).x16 = function (message, position, hint) {
|
|
3630
3638
|
var tmp;
|
|
3631
3639
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3632
3640
|
if (charSequenceLength(hint) === 0) {
|
|
@@ -3635,24 +3643,24 @@
|
|
|
3635
3643
|
tmp = '\n' + hint;
|
|
3636
3644
|
}
|
|
3637
3645
|
var hintMessage = tmp;
|
|
3638
|
-
throw JsonDecodingException_0(position, message + ' at path: ' + this.
|
|
3646
|
+
throw JsonDecodingException_0(position, message + ' at path: ' + this.gz_1.z11() + hintMessage, this.r16());
|
|
3639
3647
|
};
|
|
3640
|
-
protoOf(AbstractJsonLexer).
|
|
3641
|
-
position = position === VOID ? this.
|
|
3648
|
+
protoOf(AbstractJsonLexer).m11 = function (message, position, hint, $super) {
|
|
3649
|
+
position = position === VOID ? this.fz_1 : position;
|
|
3642
3650
|
hint = hint === VOID ? '' : hint;
|
|
3643
|
-
return $super === VOID ? this.
|
|
3651
|
+
return $super === VOID ? this.x16(message, position, hint) : $super.x16.call(this, message, position, hint);
|
|
3644
3652
|
};
|
|
3645
|
-
protoOf(AbstractJsonLexer).
|
|
3646
|
-
var current = this.
|
|
3647
|
-
current = this.
|
|
3648
|
-
if (current >= charSequenceLength(this.
|
|
3649
|
-
this.
|
|
3653
|
+
protoOf(AbstractJsonLexer).i14 = function () {
|
|
3654
|
+
var current = this.y16();
|
|
3655
|
+
current = this.s16(current);
|
|
3656
|
+
if (current >= charSequenceLength(this.r16()) ? true : current === -1) {
|
|
3657
|
+
this.m11('EOF');
|
|
3650
3658
|
}
|
|
3651
3659
|
var tmp;
|
|
3652
|
-
if (charSequenceGet(this.
|
|
3660
|
+
if (charSequenceGet(this.r16(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3653
3661
|
current = current + 1 | 0;
|
|
3654
|
-
if (current === charSequenceLength(this.
|
|
3655
|
-
this.
|
|
3662
|
+
if (current === charSequenceLength(this.r16())) {
|
|
3663
|
+
this.m11('EOF');
|
|
3656
3664
|
}
|
|
3657
3665
|
tmp = true;
|
|
3658
3666
|
} else {
|
|
@@ -3664,10 +3672,10 @@
|
|
|
3664
3672
|
var start = current;
|
|
3665
3673
|
var hasChars = true;
|
|
3666
3674
|
$l$loop_0: while (hasChars) {
|
|
3667
|
-
var ch = charSequenceGet(this.
|
|
3675
|
+
var ch = charSequenceGet(this.r16(), current);
|
|
3668
3676
|
if (ch === _Char___init__impl__6a9atx(45)) {
|
|
3669
3677
|
if (!(current === start)) {
|
|
3670
|
-
this.
|
|
3678
|
+
this.m11("Unexpected symbol '-' in numeric literal");
|
|
3671
3679
|
}
|
|
3672
3680
|
isNegative = true;
|
|
3673
3681
|
current = current + 1 | 0;
|
|
@@ -3677,31 +3685,31 @@
|
|
|
3677
3685
|
if (!(token === 0))
|
|
3678
3686
|
break $l$loop_0;
|
|
3679
3687
|
current = current + 1 | 0;
|
|
3680
|
-
hasChars = !(current === charSequenceLength(this.
|
|
3688
|
+
hasChars = !(current === charSequenceLength(this.r16()));
|
|
3681
3689
|
var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
|
|
3682
3690
|
if (!(0 <= digit ? digit <= 9 : false)) {
|
|
3683
|
-
this.
|
|
3691
|
+
this.m11("Unexpected symbol '" + new Char(ch) + "' in numeric literal");
|
|
3684
3692
|
}
|
|
3685
3693
|
// Inline function 'kotlin.Long.minus' call
|
|
3686
3694
|
// Inline function 'kotlin.Long.times' call
|
|
3687
|
-
accumulator = accumulator.
|
|
3688
|
-
if (accumulator.
|
|
3689
|
-
this.
|
|
3695
|
+
accumulator = accumulator.ba(new Long(10, 0)).eb(toLong_0(digit));
|
|
3696
|
+
if (accumulator.ca(new Long(0, 0)) > 0) {
|
|
3697
|
+
this.m11('Numeric value overflow');
|
|
3690
3698
|
}
|
|
3691
3699
|
}
|
|
3692
3700
|
if (start === current ? true : isNegative ? start === (current - 1 | 0) : false) {
|
|
3693
|
-
this.
|
|
3701
|
+
this.m11('Expected numeric literal');
|
|
3694
3702
|
}
|
|
3695
3703
|
if (hasQuotation) {
|
|
3696
3704
|
if (!hasChars) {
|
|
3697
|
-
this.
|
|
3705
|
+
this.m11('EOF');
|
|
3698
3706
|
}
|
|
3699
|
-
if (!(charSequenceGet(this.
|
|
3700
|
-
this.
|
|
3707
|
+
if (!(charSequenceGet(this.r16(), current) === _Char___init__impl__6a9atx(34))) {
|
|
3708
|
+
this.m11('Expected closing quotation mark');
|
|
3701
3709
|
}
|
|
3702
3710
|
current = current + 1 | 0;
|
|
3703
3711
|
}
|
|
3704
|
-
this.
|
|
3712
|
+
this.fz_1 = current;
|
|
3705
3713
|
var tmp_0;
|
|
3706
3714
|
if (isNegative) {
|
|
3707
3715
|
tmp_0 = accumulator;
|
|
@@ -3709,23 +3717,23 @@
|
|
|
3709
3717
|
var tmp_1 = accumulator;
|
|
3710
3718
|
Companion_getInstance_4();
|
|
3711
3719
|
if (!tmp_1.equals(new Long(0, -2147483648))) {
|
|
3712
|
-
tmp_0 = accumulator.
|
|
3720
|
+
tmp_0 = accumulator.gb();
|
|
3713
3721
|
} else {
|
|
3714
|
-
this.
|
|
3722
|
+
this.m11('Numeric value overflow');
|
|
3715
3723
|
}
|
|
3716
3724
|
}
|
|
3717
3725
|
return tmp_0;
|
|
3718
3726
|
};
|
|
3719
|
-
protoOf(AbstractJsonLexer).
|
|
3720
|
-
return consumeBoolean(this, this.
|
|
3727
|
+
protoOf(AbstractJsonLexer).g14 = function () {
|
|
3728
|
+
return consumeBoolean(this, this.y16());
|
|
3721
3729
|
};
|
|
3722
|
-
protoOf(AbstractJsonLexer).
|
|
3723
|
-
var current = this.
|
|
3724
|
-
if (current === charSequenceLength(this.
|
|
3725
|
-
this.
|
|
3730
|
+
protoOf(AbstractJsonLexer).h14 = function () {
|
|
3731
|
+
var current = this.y16();
|
|
3732
|
+
if (current === charSequenceLength(this.r16())) {
|
|
3733
|
+
this.m11('EOF');
|
|
3726
3734
|
}
|
|
3727
3735
|
var tmp;
|
|
3728
|
-
if (charSequenceGet(this.
|
|
3736
|
+
if (charSequenceGet(this.r16(), current) === _Char___init__impl__6a9atx(34)) {
|
|
3729
3737
|
current = current + 1 | 0;
|
|
3730
3738
|
tmp = true;
|
|
3731
3739
|
} else {
|
|
@@ -3734,13 +3742,13 @@
|
|
|
3734
3742
|
var hasQuotation = tmp;
|
|
3735
3743
|
var result = consumeBoolean(this, current);
|
|
3736
3744
|
if (hasQuotation) {
|
|
3737
|
-
if (this.
|
|
3738
|
-
this.
|
|
3745
|
+
if (this.fz_1 === charSequenceLength(this.r16())) {
|
|
3746
|
+
this.m11('EOF');
|
|
3739
3747
|
}
|
|
3740
|
-
if (!(charSequenceGet(this.
|
|
3741
|
-
this.
|
|
3748
|
+
if (!(charSequenceGet(this.r16(), this.fz_1) === _Char___init__impl__6a9atx(34))) {
|
|
3749
|
+
this.m11('Expected closing quotation mark');
|
|
3742
3750
|
}
|
|
3743
|
-
this.
|
|
3751
|
+
this.fz_1 = this.fz_1 + 1 | 0;
|
|
3744
3752
|
}
|
|
3745
3753
|
return result;
|
|
3746
3754
|
};
|
|
@@ -3748,7 +3756,7 @@
|
|
|
3748
3756
|
var tmp;
|
|
3749
3757
|
// Inline function 'kotlin.code' call
|
|
3750
3758
|
if (Char__toInt_impl_vasixd(c) < 126) {
|
|
3751
|
-
var tmp_0 = CharMappings_getInstance().
|
|
3759
|
+
var tmp_0 = CharMappings_getInstance().b17_1;
|
|
3752
3760
|
// Inline function 'kotlin.code' call
|
|
3753
3761
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
3754
3762
|
} else {
|
|
@@ -3764,10 +3772,6 @@
|
|
|
3764
3772
|
return TC_EOF;
|
|
3765
3773
|
}
|
|
3766
3774
|
var TC_EOF;
|
|
3767
|
-
function get_STRING() {
|
|
3768
|
-
return STRING;
|
|
3769
|
-
}
|
|
3770
|
-
var STRING;
|
|
3771
3775
|
function get_TC_STRING() {
|
|
3772
3776
|
return TC_STRING;
|
|
3773
3777
|
}
|
|
@@ -3812,18 +3816,6 @@
|
|
|
3812
3816
|
return lenientHint;
|
|
3813
3817
|
}
|
|
3814
3818
|
var lenientHint;
|
|
3815
|
-
function get_specialFlowingValuesHint() {
|
|
3816
|
-
return specialFlowingValuesHint;
|
|
3817
|
-
}
|
|
3818
|
-
var specialFlowingValuesHint;
|
|
3819
|
-
function get_allowStructuredMapKeysHint() {
|
|
3820
|
-
return allowStructuredMapKeysHint;
|
|
3821
|
-
}
|
|
3822
|
-
var allowStructuredMapKeysHint;
|
|
3823
|
-
function get_ignoreUnknownKeysHint() {
|
|
3824
|
-
return ignoreUnknownKeysHint;
|
|
3825
|
-
}
|
|
3826
|
-
var ignoreUnknownKeysHint;
|
|
3827
3819
|
function get_NULL() {
|
|
3828
3820
|
return NULL;
|
|
3829
3821
|
}
|
|
@@ -3845,8 +3837,12 @@
|
|
|
3845
3837
|
}
|
|
3846
3838
|
var TC_OTHER;
|
|
3847
3839
|
function escapeToChar(c) {
|
|
3848
|
-
return c < 117 ? CharMappings_getInstance().
|
|
3840
|
+
return c < 117 ? CharMappings_getInstance().a17_1[c] : _Char___init__impl__6a9atx(0);
|
|
3841
|
+
}
|
|
3842
|
+
function get_ignoreUnknownKeysHint() {
|
|
3843
|
+
return ignoreUnknownKeysHint;
|
|
3849
3844
|
}
|
|
3845
|
+
var ignoreUnknownKeysHint;
|
|
3850
3846
|
function initEscape($this) {
|
|
3851
3847
|
var inductionVariable = 0;
|
|
3852
3848
|
if (inductionVariable <= 31)
|
|
@@ -3892,7 +3888,7 @@
|
|
|
3892
3888
|
var tmp$ret$0;
|
|
3893
3889
|
// Inline function 'kotlin.code' call
|
|
3894
3890
|
tmp$ret$0 = Char__toInt_impl_vasixd(esc);
|
|
3895
|
-
$this.
|
|
3891
|
+
$this.a17_1[tmp$ret$0] = numberToChar(c);
|
|
3896
3892
|
}
|
|
3897
3893
|
}
|
|
3898
3894
|
function initC2ESC_0($this, c, esc) {
|
|
@@ -3902,7 +3898,7 @@
|
|
|
3902
3898
|
return initC2ESC($this, tmp$ret$0, esc);
|
|
3903
3899
|
}
|
|
3904
3900
|
function initC2TC($this, c, cl) {
|
|
3905
|
-
$this.
|
|
3901
|
+
$this.b17_1[c] = cl;
|
|
3906
3902
|
}
|
|
3907
3903
|
function initC2TC_0($this, c, cl) {
|
|
3908
3904
|
var tmp$ret$0;
|
|
@@ -3912,8 +3908,8 @@
|
|
|
3912
3908
|
}
|
|
3913
3909
|
function CharMappings() {
|
|
3914
3910
|
CharMappings_instance = this;
|
|
3915
|
-
this.
|
|
3916
|
-
this.
|
|
3911
|
+
this.a17_1 = charArray(117);
|
|
3912
|
+
this.b17_1 = new Int8Array(126);
|
|
3917
3913
|
initEscape(this);
|
|
3918
3914
|
initCharToToken(this);
|
|
3919
3915
|
}
|
|
@@ -3923,21 +3919,29 @@
|
|
|
3923
3919
|
new CharMappings();
|
|
3924
3920
|
return CharMappings_instance;
|
|
3925
3921
|
}
|
|
3922
|
+
function get_specialFlowingValuesHint() {
|
|
3923
|
+
return specialFlowingValuesHint;
|
|
3924
|
+
}
|
|
3925
|
+
var specialFlowingValuesHint;
|
|
3926
|
+
function get_allowStructuredMapKeysHint() {
|
|
3927
|
+
return allowStructuredMapKeysHint;
|
|
3928
|
+
}
|
|
3929
|
+
var allowStructuredMapKeysHint;
|
|
3926
3930
|
function StringJsonLexer(source) {
|
|
3927
3931
|
AbstractJsonLexer.call(this);
|
|
3928
|
-
this.
|
|
3932
|
+
this.g17_1 = source;
|
|
3929
3933
|
}
|
|
3930
|
-
protoOf(StringJsonLexer).
|
|
3931
|
-
return this.
|
|
3934
|
+
protoOf(StringJsonLexer).r16 = function () {
|
|
3935
|
+
return this.g17_1;
|
|
3932
3936
|
};
|
|
3933
|
-
protoOf(StringJsonLexer).
|
|
3934
|
-
return position < this.
|
|
3937
|
+
protoOf(StringJsonLexer).s16 = function (position) {
|
|
3938
|
+
return position < this.g17_1.length ? position : -1;
|
|
3935
3939
|
};
|
|
3936
|
-
protoOf(StringJsonLexer).
|
|
3937
|
-
var source = this.
|
|
3938
|
-
$l$loop: while (!(this.
|
|
3939
|
-
var tmp1 = this.
|
|
3940
|
-
this.
|
|
3940
|
+
protoOf(StringJsonLexer).j12 = function () {
|
|
3941
|
+
var source = this.g17_1;
|
|
3942
|
+
$l$loop: while (!(this.fz_1 === -1) ? this.fz_1 < source.length : false) {
|
|
3943
|
+
var tmp1 = this.fz_1;
|
|
3944
|
+
this.fz_1 = tmp1 + 1 | 0;
|
|
3941
3945
|
var ch = charSequenceGet(source, tmp1);
|
|
3942
3946
|
var tc = charToTokenClass(ch);
|
|
3943
3947
|
var tmp;
|
|
@@ -3950,142 +3954,142 @@
|
|
|
3950
3954
|
}
|
|
3951
3955
|
return get_TC_EOF();
|
|
3952
3956
|
};
|
|
3953
|
-
protoOf(StringJsonLexer).
|
|
3954
|
-
var current = this.
|
|
3955
|
-
if (current === this.
|
|
3957
|
+
protoOf(StringJsonLexer).t13 = function () {
|
|
3958
|
+
var current = this.y16();
|
|
3959
|
+
if (current === this.g17_1.length ? true : current === -1)
|
|
3956
3960
|
return false;
|
|
3957
|
-
if (charSequenceGet(this.
|
|
3958
|
-
this.
|
|
3961
|
+
if (charSequenceGet(this.g17_1, current) === _Char___init__impl__6a9atx(44)) {
|
|
3962
|
+
this.fz_1 = this.fz_1 + 1 | 0;
|
|
3959
3963
|
return true;
|
|
3960
3964
|
}
|
|
3961
3965
|
return false;
|
|
3962
3966
|
};
|
|
3963
|
-
protoOf(StringJsonLexer).
|
|
3964
|
-
var current = this.
|
|
3967
|
+
protoOf(StringJsonLexer).f12 = function () {
|
|
3968
|
+
var current = this.fz_1;
|
|
3965
3969
|
if (current === -1)
|
|
3966
3970
|
return false;
|
|
3967
|
-
$l$loop: while (current < this.
|
|
3968
|
-
var c = charSequenceGet(this.
|
|
3971
|
+
$l$loop: while (current < this.g17_1.length) {
|
|
3972
|
+
var c = charSequenceGet(this.g17_1, current);
|
|
3969
3973
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3970
3974
|
current = current + 1 | 0;
|
|
3971
3975
|
continue $l$loop;
|
|
3972
3976
|
}
|
|
3973
|
-
this.
|
|
3974
|
-
return this.
|
|
3977
|
+
this.fz_1 = current;
|
|
3978
|
+
return this.u16(c);
|
|
3975
3979
|
}
|
|
3976
|
-
this.
|
|
3980
|
+
this.fz_1 = current;
|
|
3977
3981
|
return false;
|
|
3978
3982
|
};
|
|
3979
|
-
protoOf(StringJsonLexer).
|
|
3980
|
-
var current = this.
|
|
3983
|
+
protoOf(StringJsonLexer).y16 = function () {
|
|
3984
|
+
var current = this.fz_1;
|
|
3981
3985
|
if (current === -1)
|
|
3982
3986
|
return current;
|
|
3983
|
-
$l$loop: while (current < this.
|
|
3984
|
-
var c = charSequenceGet(this.
|
|
3987
|
+
$l$loop: while (current < this.g17_1.length) {
|
|
3988
|
+
var c = charSequenceGet(this.g17_1, current);
|
|
3985
3989
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9)) {
|
|
3986
3990
|
current = current + 1 | 0;
|
|
3987
3991
|
} else {
|
|
3988
3992
|
break $l$loop;
|
|
3989
3993
|
}
|
|
3990
3994
|
}
|
|
3991
|
-
this.
|
|
3995
|
+
this.fz_1 = current;
|
|
3992
3996
|
return current;
|
|
3993
3997
|
};
|
|
3994
|
-
protoOf(StringJsonLexer).
|
|
3995
|
-
if (this.
|
|
3996
|
-
this.
|
|
3998
|
+
protoOf(StringJsonLexer).s13 = function (expected) {
|
|
3999
|
+
if (this.fz_1 === -1) {
|
|
4000
|
+
this.w16(expected);
|
|
3997
4001
|
}
|
|
3998
|
-
var source = this.
|
|
3999
|
-
$l$loop: while (this.
|
|
4000
|
-
var tmp1 = this.
|
|
4001
|
-
this.
|
|
4002
|
+
var source = this.g17_1;
|
|
4003
|
+
$l$loop: while (this.fz_1 < source.length) {
|
|
4004
|
+
var tmp1 = this.fz_1;
|
|
4005
|
+
this.fz_1 = tmp1 + 1 | 0;
|
|
4002
4006
|
var c = charSequenceGet(source, tmp1);
|
|
4003
4007
|
if (((c === _Char___init__impl__6a9atx(32) ? true : c === _Char___init__impl__6a9atx(10)) ? true : c === _Char___init__impl__6a9atx(13)) ? true : c === _Char___init__impl__6a9atx(9))
|
|
4004
4008
|
continue $l$loop;
|
|
4005
4009
|
if (c === expected)
|
|
4006
4010
|
return Unit_getInstance();
|
|
4007
|
-
this.
|
|
4011
|
+
this.w16(expected);
|
|
4008
4012
|
}
|
|
4009
|
-
this.
|
|
4013
|
+
this.w16(expected);
|
|
4010
4014
|
};
|
|
4011
|
-
protoOf(StringJsonLexer).
|
|
4012
|
-
this.
|
|
4013
|
-
var current = this.
|
|
4014
|
-
var closingQuote = indexOf(this.
|
|
4015
|
+
protoOf(StringJsonLexer).y13 = function () {
|
|
4016
|
+
this.s13(get_STRING());
|
|
4017
|
+
var current = this.fz_1;
|
|
4018
|
+
var closingQuote = indexOf(this.g17_1, _Char___init__impl__6a9atx(34), current);
|
|
4015
4019
|
if (closingQuote === -1) {
|
|
4016
|
-
this.
|
|
4020
|
+
this.v16(get_TC_STRING());
|
|
4017
4021
|
}
|
|
4018
4022
|
var inductionVariable = current;
|
|
4019
4023
|
if (inductionVariable < closingQuote)
|
|
4020
4024
|
do {
|
|
4021
4025
|
var i = inductionVariable;
|
|
4022
4026
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4023
|
-
if (charSequenceGet(this.
|
|
4024
|
-
return this.consumeString2(this.
|
|
4027
|
+
if (charSequenceGet(this.g17_1, i) === get_STRING_ESC()) {
|
|
4028
|
+
return this.consumeString2(this.g17_1, this.fz_1, i);
|
|
4025
4029
|
}
|
|
4026
4030
|
}
|
|
4027
4031
|
while (inductionVariable < closingQuote);
|
|
4028
|
-
this.
|
|
4032
|
+
this.fz_1 = closingQuote + 1 | 0;
|
|
4029
4033
|
// Inline function 'kotlin.text.substring' call
|
|
4030
4034
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4031
|
-
return this.
|
|
4035
|
+
return this.g17_1.substring(current, closingQuote);
|
|
4032
4036
|
};
|
|
4033
|
-
protoOf(StringJsonLexer).
|
|
4034
|
-
var positionSnapshot = this.
|
|
4037
|
+
protoOf(StringJsonLexer).a14 = function (keyToMatch, isLenient) {
|
|
4038
|
+
var positionSnapshot = this.fz_1;
|
|
4035
4039
|
try {
|
|
4036
|
-
if (!(this.
|
|
4040
|
+
if (!(this.j12() === get_TC_BEGIN_OBJ()))
|
|
4037
4041
|
return null;
|
|
4038
|
-
var firstKey = isLenient ? this.
|
|
4042
|
+
var firstKey = isLenient ? this.y13() : this.z13();
|
|
4039
4043
|
if (firstKey === keyToMatch) {
|
|
4040
|
-
if (!(this.
|
|
4044
|
+
if (!(this.j12() === get_TC_COLON()))
|
|
4041
4045
|
return null;
|
|
4042
|
-
var result = isLenient ? this.
|
|
4046
|
+
var result = isLenient ? this.g12() : this.z13();
|
|
4043
4047
|
return result;
|
|
4044
4048
|
}
|
|
4045
4049
|
return null;
|
|
4046
4050
|
}finally {
|
|
4047
|
-
this.
|
|
4051
|
+
this.fz_1 = positionSnapshot;
|
|
4048
4052
|
}
|
|
4049
4053
|
};
|
|
4050
4054
|
function get_schemaCache(_this__u8e3s4) {
|
|
4051
|
-
return _this__u8e3s4.
|
|
4055
|
+
return _this__u8e3s4.uy_1;
|
|
4052
4056
|
}
|
|
4053
4057
|
function createMapForCache(initialCapacity) {
|
|
4054
4058
|
return HashMap_init_$Create$(initialCapacity);
|
|
4055
4059
|
}
|
|
4056
4060
|
//region block: post-declaration
|
|
4057
|
-
protoOf(defer$1).
|
|
4058
|
-
protoOf(defer$1).
|
|
4059
|
-
protoOf(defer$1).
|
|
4060
|
-
protoOf(PolymorphismValidator).
|
|
4061
|
-
protoOf(StreamingJsonDecoder).
|
|
4062
|
-
protoOf(StreamingJsonDecoder).
|
|
4063
|
-
protoOf(StreamingJsonDecoder).
|
|
4064
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4065
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4066
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4067
|
-
protoOf(JsonDecoderForUnsignedTypes).
|
|
4068
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4069
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4070
|
-
protoOf(AbstractJsonTreeDecoder).
|
|
4071
|
-
protoOf(JsonTreeDecoder).
|
|
4072
|
-
protoOf(JsonTreeDecoder).
|
|
4073
|
-
protoOf(JsonTreeDecoder).
|
|
4074
|
-
protoOf(JsonTreeListDecoder).
|
|
4075
|
-
protoOf(JsonTreeListDecoder).
|
|
4076
|
-
protoOf(JsonTreeListDecoder).
|
|
4077
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4078
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4079
|
-
protoOf(JsonPrimitiveDecoder).
|
|
4080
|
-
protoOf(JsonTreeMapDecoder).
|
|
4081
|
-
protoOf(JsonTreeMapDecoder).
|
|
4082
|
-
protoOf(JsonTreeMapDecoder).
|
|
4061
|
+
protoOf(defer$1).tj = get_isNullable;
|
|
4062
|
+
protoOf(defer$1).ak = get_isInline;
|
|
4063
|
+
protoOf(defer$1).yj = get_annotations;
|
|
4064
|
+
protoOf(PolymorphismValidator).ly = contextual;
|
|
4065
|
+
protoOf(StreamingJsonDecoder).hm = decodeSerializableElement$default;
|
|
4066
|
+
protoOf(StreamingJsonDecoder).km = decodeSequentially;
|
|
4067
|
+
protoOf(StreamingJsonDecoder).mm = decodeCollectionSize;
|
|
4068
|
+
protoOf(JsonDecoderForUnsignedTypes).tl = decodeSerializableValue;
|
|
4069
|
+
protoOf(JsonDecoderForUnsignedTypes).hm = decodeSerializableElement$default;
|
|
4070
|
+
protoOf(JsonDecoderForUnsignedTypes).km = decodeSequentially;
|
|
4071
|
+
protoOf(JsonDecoderForUnsignedTypes).mm = decodeCollectionSize;
|
|
4072
|
+
protoOf(AbstractJsonTreeDecoder).hm = decodeSerializableElement$default;
|
|
4073
|
+
protoOf(AbstractJsonTreeDecoder).km = decodeSequentially;
|
|
4074
|
+
protoOf(AbstractJsonTreeDecoder).mm = decodeCollectionSize;
|
|
4075
|
+
protoOf(JsonTreeDecoder).hm = decodeSerializableElement$default;
|
|
4076
|
+
protoOf(JsonTreeDecoder).km = decodeSequentially;
|
|
4077
|
+
protoOf(JsonTreeDecoder).mm = decodeCollectionSize;
|
|
4078
|
+
protoOf(JsonTreeListDecoder).hm = decodeSerializableElement$default;
|
|
4079
|
+
protoOf(JsonTreeListDecoder).km = decodeSequentially;
|
|
4080
|
+
protoOf(JsonTreeListDecoder).mm = decodeCollectionSize;
|
|
4081
|
+
protoOf(JsonPrimitiveDecoder).hm = decodeSerializableElement$default;
|
|
4082
|
+
protoOf(JsonPrimitiveDecoder).km = decodeSequentially;
|
|
4083
|
+
protoOf(JsonPrimitiveDecoder).mm = decodeCollectionSize;
|
|
4084
|
+
protoOf(JsonTreeMapDecoder).hm = decodeSerializableElement$default;
|
|
4085
|
+
protoOf(JsonTreeMapDecoder).km = decodeSequentially;
|
|
4086
|
+
protoOf(JsonTreeMapDecoder).mm = decodeCollectionSize;
|
|
4083
4087
|
//endregion
|
|
4084
4088
|
//region block: init
|
|
4085
4089
|
PRIMITIVE_TAG = 'primitive';
|
|
4090
|
+
STRING = _Char___init__impl__6a9atx(34);
|
|
4086
4091
|
TC_WHITESPACE = 3;
|
|
4087
4092
|
TC_EOF = 10;
|
|
4088
|
-
STRING = _Char___init__impl__6a9atx(34);
|
|
4089
4093
|
TC_STRING = 1;
|
|
4090
4094
|
STRING_ESC = _Char___init__impl__6a9atx(92);
|
|
4091
4095
|
TC_BEGIN_OBJ = 6;
|
|
@@ -4097,26 +4101,30 @@
|
|
|
4097
4101
|
BEGIN_LIST = _Char___init__impl__6a9atx(91);
|
|
4098
4102
|
END_LIST = _Char___init__impl__6a9atx(93);
|
|
4099
4103
|
lenientHint = "Use 'isLenient = true' in 'Json {}` builder to accept non-compliant JSON.";
|
|
4100
|
-
specialFlowingValuesHint = "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'";
|
|
4101
|
-
allowStructuredMapKeysHint = "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.";
|
|
4102
|
-
ignoreUnknownKeysHint = "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.";
|
|
4103
4104
|
NULL = 'null';
|
|
4104
4105
|
TC_END_OBJ = 7;
|
|
4105
4106
|
TC_BEGIN_LIST = 8;
|
|
4106
4107
|
TC_END_LIST = 9;
|
|
4107
4108
|
TC_OTHER = 0;
|
|
4109
|
+
ignoreUnknownKeysHint = "Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.";
|
|
4110
|
+
specialFlowingValuesHint = "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'";
|
|
4111
|
+
allowStructuredMapKeysHint = "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.";
|
|
4108
4112
|
//endregion
|
|
4109
4113
|
//region block: exports
|
|
4110
4114
|
_.$_$ = _.$_$ || {};
|
|
4111
4115
|
_.$_$.a = JsonElementSerializer_getInstance;
|
|
4112
|
-
_.$_$.b =
|
|
4113
|
-
_.$_$.c =
|
|
4114
|
-
_.$_$.d =
|
|
4115
|
-
_.$_$.e =
|
|
4116
|
-
_.$_$.f =
|
|
4117
|
-
_.$_$.g =
|
|
4118
|
-
_.$_$.h =
|
|
4119
|
-
_.$_$.i =
|
|
4116
|
+
_.$_$.b = JsonNull_getInstance;
|
|
4117
|
+
_.$_$.c = JsonPrimitiveSerializer_getInstance;
|
|
4118
|
+
_.$_$.d = JsonArray;
|
|
4119
|
+
_.$_$.e = JsonDecoder;
|
|
4120
|
+
_.$_$.f = JsonObject;
|
|
4121
|
+
_.$_$.g = JsonPrimitive_2;
|
|
4122
|
+
_.$_$.h = JsonPrimitive_0;
|
|
4123
|
+
_.$_$.i = JsonPrimitive_1;
|
|
4124
|
+
_.$_$.j = JsonPrimitive;
|
|
4125
|
+
_.$_$.k = Json_0;
|
|
4126
|
+
_.$_$.l = get_boolean;
|
|
4127
|
+
_.$_$.m = get_jsonObject;
|
|
4120
4128
|
//endregion
|
|
4121
4129
|
return _;
|
|
4122
4130
|
}));
|