@guardian/feast-multiplatform-library 8.0.5 → 8.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/feast-multiplatform-library-library.d.ts +13 -2
- package/kotlin/feast-multiplatform-library-library.js +1455 -984
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +317 -307
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +172 -172
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +481 -454
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,90 +3,95 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.y7;
|
|
7
|
+
var initMetadataForObject = kotlin_kotlin.$_$.g7;
|
|
8
8
|
var VOID = kotlin_kotlin.$_$.b;
|
|
9
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
13
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
14
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
15
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
16
|
-
var equals = kotlin_kotlin.$_$.
|
|
17
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
18
|
-
var Enum = kotlin_kotlin.$_$.
|
|
9
|
+
var Unit_instance = kotlin_kotlin.$_$.n3;
|
|
10
|
+
var initMetadataForClass = kotlin_kotlin.$_$.b7;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.a8;
|
|
12
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
13
|
+
var charSequenceLength = kotlin_kotlin.$_$.s6;
|
|
14
|
+
var charSequenceGet = kotlin_kotlin.$_$.r6;
|
|
15
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d1;
|
|
16
|
+
var equals = kotlin_kotlin.$_$.v6;
|
|
17
|
+
var toString_0 = kotlin_kotlin.$_$.db;
|
|
18
|
+
var Enum = kotlin_kotlin.$_$.z9;
|
|
19
19
|
var Decoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
20
20
|
var CompositeDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
21
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.e7;
|
|
22
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.c7;
|
|
23
|
+
var NumberFormatException_init_$Create$ = kotlin_kotlin.$_$.b1;
|
|
24
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.u7;
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.ga;
|
|
26
|
+
var ClosedRange = kotlin_kotlin.$_$.c8;
|
|
27
|
+
var isInterface = kotlin_kotlin.$_$.p7;
|
|
28
|
+
var contains = kotlin_kotlin.$_$.f8;
|
|
29
|
+
var convertToInt = kotlin_kotlin.$_$.a6;
|
|
30
|
+
var toDouble = kotlin_kotlin.$_$.h9;
|
|
23
31
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
24
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
32
|
+
var hashCode = kotlin_kotlin.$_$.a7;
|
|
33
|
+
var joinToString = kotlin_kotlin.$_$.x4;
|
|
34
|
+
var KtMap = kotlin_kotlin.$_$.w3;
|
|
35
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.j8;
|
|
36
|
+
var KtList = kotlin_kotlin.$_$.u3;
|
|
29
37
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
30
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
31
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
32
|
-
var
|
|
33
|
-
var toDouble = kotlin_kotlin.$_$.e9;
|
|
34
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.y2;
|
|
38
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.w6;
|
|
39
|
+
var getStringHashCode = kotlin_kotlin.$_$.z6;
|
|
40
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.b3;
|
|
35
41
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
36
42
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
37
43
|
var SEALED_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
38
44
|
var buildSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
39
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
45
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ab;
|
|
40
46
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
47
|
+
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
41
48
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
42
49
|
var SerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
43
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
44
|
-
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
45
50
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
46
51
|
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
47
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
48
|
-
var toULongOrNull = kotlin_kotlin.$_$.
|
|
49
|
-
var ULong = kotlin_kotlin.$_$.
|
|
50
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
52
|
+
var toLongOrNull = kotlin_kotlin.$_$.k9;
|
|
53
|
+
var toULongOrNull = kotlin_kotlin.$_$.n9;
|
|
54
|
+
var ULong = kotlin_kotlin.$_$.na;
|
|
55
|
+
var Companion_getInstance = kotlin_kotlin.$_$.l3;
|
|
51
56
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
52
|
-
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.
|
|
53
|
-
var toDoubleOrNull = kotlin_kotlin.$_$.
|
|
54
|
-
var toBooleanStrictOrNull = kotlin_kotlin.$_$.
|
|
55
|
-
var
|
|
56
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
57
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
58
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
59
|
-
var lazy = kotlin_kotlin.$_$.
|
|
57
|
+
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.e2;
|
|
58
|
+
var toDoubleOrNull = kotlin_kotlin.$_$.g9;
|
|
59
|
+
var toBooleanStrictOrNull = kotlin_kotlin.$_$.f9;
|
|
60
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
61
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
62
|
+
var KProperty1 = kotlin_kotlin.$_$.m8;
|
|
63
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y6;
|
|
64
|
+
var lazy = kotlin_kotlin.$_$.za;
|
|
60
65
|
var get_isNullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
61
66
|
var get_isInline = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b1;
|
|
62
67
|
var get_annotations = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
63
68
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m1;
|
|
64
69
|
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
65
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
66
|
-
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.
|
|
67
|
-
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.
|
|
68
|
-
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.
|
|
69
|
-
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.
|
|
70
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
71
|
-
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.
|
|
72
|
-
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.
|
|
73
|
-
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.
|
|
70
|
+
var fromInt = kotlin_kotlin.$_$.d6;
|
|
71
|
+
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.u1;
|
|
72
|
+
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.w1;
|
|
73
|
+
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.d2;
|
|
74
|
+
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.f2;
|
|
75
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.l1;
|
|
76
|
+
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.n1;
|
|
77
|
+
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.m2;
|
|
78
|
+
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.o2;
|
|
74
79
|
var ElementMarker = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
75
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
76
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.q6;
|
|
77
|
-
var coerceAtLeast = kotlin_kotlin.$_$.a8;
|
|
78
|
-
var coerceAtMost = kotlin_kotlin.$_$.b8;
|
|
80
|
+
var captureStack = kotlin_kotlin.$_$.n6;
|
|
79
81
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
80
82
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
81
|
-
var
|
|
83
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.t6;
|
|
84
|
+
var coerceAtLeast = kotlin_kotlin.$_$.d8;
|
|
85
|
+
var coerceAtMost = kotlin_kotlin.$_$.e8;
|
|
86
|
+
var Collection = kotlin_kotlin.$_$.p3;
|
|
82
87
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
83
88
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
84
89
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.e;
|
|
85
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
86
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
87
|
-
var getValue = kotlin_kotlin.$_$.
|
|
88
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
89
|
-
var arrayCopy = kotlin_kotlin.$_$.
|
|
90
|
+
var singleOrNull = kotlin_kotlin.$_$.l5;
|
|
91
|
+
var emptyMap = kotlin_kotlin.$_$.s4;
|
|
92
|
+
var getValue = kotlin_kotlin.$_$.u4;
|
|
93
|
+
var copyOf = kotlin_kotlin.$_$.o4;
|
|
94
|
+
var arrayCopy = kotlin_kotlin.$_$.b4;
|
|
90
95
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
91
96
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
92
97
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
@@ -95,89 +100,85 @@
|
|
|
95
100
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
96
101
|
var contextual = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
|
|
97
102
|
var SerializersModuleCollector = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
98
|
-
var DeepRecursiveFunction = kotlin_kotlin.$_$.
|
|
99
|
-
var invoke = kotlin_kotlin.$_$.
|
|
100
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
101
|
-
var DeepRecursiveScope = kotlin_kotlin.$_$.
|
|
102
|
-
var Unit = kotlin_kotlin.$_$.
|
|
103
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
104
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
105
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
103
|
+
var DeepRecursiveFunction = kotlin_kotlin.$_$.x9;
|
|
104
|
+
var invoke = kotlin_kotlin.$_$.va;
|
|
105
|
+
var CoroutineImpl = kotlin_kotlin.$_$.t5;
|
|
106
|
+
var DeepRecursiveScope = kotlin_kotlin.$_$.y9;
|
|
107
|
+
var Unit = kotlin_kotlin.$_$.qa;
|
|
108
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s5;
|
|
109
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.f7;
|
|
110
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.d7;
|
|
106
111
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
|
|
107
112
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
108
113
|
var AbstractDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
109
114
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1;
|
|
110
115
|
var DeserializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
111
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
116
|
+
var getKClass = kotlin_kotlin.$_$.k8;
|
|
112
117
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
113
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
114
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
115
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
116
|
-
var substringAfter = kotlin_kotlin.$_$.
|
|
117
|
-
var
|
|
118
|
-
var plus = kotlin_kotlin.$_$.
|
|
118
|
+
var ensureNotNull = kotlin_kotlin.$_$.ua;
|
|
119
|
+
var substringBefore = kotlin_kotlin.$_$.b9;
|
|
120
|
+
var removeSuffix = kotlin_kotlin.$_$.w8;
|
|
121
|
+
var substringAfter = kotlin_kotlin.$_$.a9;
|
|
122
|
+
var contains_0 = kotlin_kotlin.$_$.o8;
|
|
123
|
+
var plus = kotlin_kotlin.$_$.bb;
|
|
119
124
|
var MissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
120
|
-
var convertToByte = kotlin_kotlin.$_$.
|
|
121
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
122
|
-
var convertToShort = kotlin_kotlin.$_$.
|
|
123
|
-
var
|
|
124
|
-
var
|
|
125
|
-
var
|
|
126
|
-
var
|
|
127
|
-
var
|
|
128
|
-
var
|
|
129
|
-
var
|
|
130
|
-
var
|
|
131
|
-
var
|
|
132
|
-
var
|
|
133
|
-
var
|
|
134
|
-
var
|
|
135
|
-
var objectCreate = kotlin_kotlin.$_$.u7;
|
|
125
|
+
var convertToByte = kotlin_kotlin.$_$.z5;
|
|
126
|
+
var equalsLong = kotlin_kotlin.$_$.c6;
|
|
127
|
+
var convertToShort = kotlin_kotlin.$_$.b6;
|
|
128
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.ba;
|
|
129
|
+
var isFinite = kotlin_kotlin.$_$.xa;
|
|
130
|
+
var isFinite_0 = kotlin_kotlin.$_$.wa;
|
|
131
|
+
var charCodeAt = kotlin_kotlin.$_$.q6;
|
|
132
|
+
var toUInt = kotlin_kotlin.$_$.m9;
|
|
133
|
+
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.v1;
|
|
134
|
+
var toULong = kotlin_kotlin.$_$.o9;
|
|
135
|
+
var toUByte = kotlin_kotlin.$_$.l9;
|
|
136
|
+
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.m1;
|
|
137
|
+
var toUShort = kotlin_kotlin.$_$.p9;
|
|
138
|
+
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.n2;
|
|
139
|
+
var objectCreate = kotlin_kotlin.$_$.x7;
|
|
136
140
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
137
141
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
138
142
|
var findPolymorphicSerializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
139
143
|
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
140
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
141
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
144
|
+
var toString_1 = kotlin_kotlin.$_$.g1;
|
|
145
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.k3;
|
|
142
146
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
143
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
147
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.j3;
|
|
144
148
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
145
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
149
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.m3;
|
|
146
150
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
147
|
-
var setOf = kotlin_kotlin.$_$.
|
|
148
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
149
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
150
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
151
|
-
var toByte = kotlin_kotlin.$_$.
|
|
152
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
151
|
+
var setOf = kotlin_kotlin.$_$.k5;
|
|
152
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.f1;
|
|
153
|
+
var numberToChar = kotlin_kotlin.$_$.v7;
|
|
154
|
+
var equals_0 = kotlin_kotlin.$_$.q8;
|
|
155
|
+
var toByte = kotlin_kotlin.$_$.z7;
|
|
156
|
+
var startsWith = kotlin_kotlin.$_$.z8;
|
|
153
157
|
var NamedValueDecoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t1;
|
|
154
|
-
var
|
|
155
|
-
var
|
|
156
|
-
var
|
|
157
|
-
var
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
var
|
|
161
|
-
var toInt = kotlin_kotlin.$_$.g9;
|
|
162
|
-
var toList = kotlin_kotlin.$_$.l5;
|
|
163
|
-
var enumEntries = kotlin_kotlin.$_$.r5;
|
|
158
|
+
var single = kotlin_kotlin.$_$.y8;
|
|
159
|
+
var Char = kotlin_kotlin.$_$.v9;
|
|
160
|
+
var emptySet = kotlin_kotlin.$_$.t4;
|
|
161
|
+
var plus_0 = kotlin_kotlin.$_$.h5;
|
|
162
|
+
var toInt = kotlin_kotlin.$_$.j9;
|
|
163
|
+
var toList = kotlin_kotlin.$_$.o5;
|
|
164
|
+
var enumEntries = kotlin_kotlin.$_$.u5;
|
|
164
165
|
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
165
|
-
var toNumber = kotlin_kotlin.$_$.
|
|
166
|
-
var last = kotlin_kotlin.$_$.
|
|
167
|
-
var removeLast = kotlin_kotlin.$_$.
|
|
168
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
169
|
-
var Long = kotlin_kotlin.$_$.
|
|
170
|
-
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.
|
|
171
|
-
var multiply = kotlin_kotlin.$_$.
|
|
172
|
-
var add = kotlin_kotlin.$_$.
|
|
173
|
-
var subtract = kotlin_kotlin.$_$.
|
|
174
|
-
var compare = kotlin_kotlin.$_$.
|
|
175
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
176
|
-
var negate = kotlin_kotlin.$_$.
|
|
177
|
-
var charArray = kotlin_kotlin.$_$.
|
|
178
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
179
|
-
var indexOf_0 = kotlin_kotlin.$_$.
|
|
180
|
-
var substring = kotlin_kotlin.$_$.
|
|
166
|
+
var toNumber = kotlin_kotlin.$_$.k6;
|
|
167
|
+
var last = kotlin_kotlin.$_$.b5;
|
|
168
|
+
var removeLast = kotlin_kotlin.$_$.i5;
|
|
169
|
+
var lastIndexOf = kotlin_kotlin.$_$.v8;
|
|
170
|
+
var Long = kotlin_kotlin.$_$.da;
|
|
171
|
+
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.e1;
|
|
172
|
+
var multiply = kotlin_kotlin.$_$.f6;
|
|
173
|
+
var add = kotlin_kotlin.$_$.w5;
|
|
174
|
+
var subtract = kotlin_kotlin.$_$.j6;
|
|
175
|
+
var compare = kotlin_kotlin.$_$.y5;
|
|
176
|
+
var numberToLong = kotlin_kotlin.$_$.h6;
|
|
177
|
+
var negate = kotlin_kotlin.$_$.g6;
|
|
178
|
+
var charArray = kotlin_kotlin.$_$.p6;
|
|
179
|
+
var indexOf = kotlin_kotlin.$_$.s8;
|
|
180
|
+
var indexOf_0 = kotlin_kotlin.$_$.t8;
|
|
181
|
+
var substring = kotlin_kotlin.$_$.d9;
|
|
181
182
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.s;
|
|
182
183
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
183
184
|
//endregion
|
|
@@ -194,22 +195,22 @@
|
|
|
194
195
|
initMetadataForInterface(JsonDecoder, 'JsonDecoder', VOID, VOID, [Decoder, CompositeDecoder]);
|
|
195
196
|
initMetadataForCompanion(Companion);
|
|
196
197
|
initMetadataForClass(JsonElement, 'JsonElement', VOID, VOID, VOID, VOID, VOID, {0: JsonElementSerializer_getInstance});
|
|
197
|
-
initMetadataForClass(JsonObject, 'JsonObject', VOID, JsonElement, [JsonElement, KtMap], VOID, VOID, {0: JsonObjectSerializer_getInstance});
|
|
198
198
|
initMetadataForCompanion(Companion_0);
|
|
199
199
|
initMetadataForClass(JsonPrimitive, 'JsonPrimitive', VOID, JsonElement, VOID, VOID, VOID, {0: JsonPrimitiveSerializer_getInstance});
|
|
200
|
-
initMetadataForObject(JsonNull, 'JsonNull', VOID, JsonPrimitive, [JsonPrimitive, SerializerFactory], VOID, VOID, {0: JsonNullSerializer_getInstance});
|
|
201
200
|
initMetadataForCompanion(Companion_1);
|
|
202
|
-
initMetadataForClass(
|
|
201
|
+
initMetadataForClass(JsonObject, 'JsonObject', VOID, JsonElement, [JsonElement, KtMap], VOID, VOID, {0: JsonObjectSerializer_getInstance});
|
|
203
202
|
initMetadataForCompanion(Companion_2);
|
|
204
203
|
initMetadataForClass(JsonArray, 'JsonArray', VOID, JsonElement, [JsonElement, KtList], VOID, VOID, {0: JsonArraySerializer_getInstance});
|
|
204
|
+
initMetadataForObject(JsonNull, 'JsonNull', VOID, JsonPrimitive, [JsonPrimitive, SerializerFactory], VOID, VOID, {0: JsonNullSerializer_getInstance});
|
|
205
|
+
initMetadataForClass(JsonLiteral, 'JsonLiteral', VOID, JsonPrimitive);
|
|
205
206
|
initMetadataForObject(JsonElementSerializer, 'JsonElementSerializer', VOID, VOID, [KSerializer]);
|
|
207
|
+
initMetadataForObject(JsonPrimitiveSerializer, 'JsonPrimitiveSerializer', VOID, VOID, [KSerializer]);
|
|
206
208
|
initMetadataForObject(JsonObjectDescriptor, 'JsonObjectDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
207
209
|
initMetadataForObject(JsonObjectSerializer, 'JsonObjectSerializer', VOID, VOID, [KSerializer]);
|
|
208
|
-
initMetadataForObject(JsonArrayDescriptor, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
209
|
-
initMetadataForObject(JsonArraySerializer, 'JsonArraySerializer', VOID, VOID, [KSerializer]);
|
|
210
|
-
initMetadataForObject(JsonPrimitiveSerializer, 'JsonPrimitiveSerializer', VOID, VOID, [KSerializer]);
|
|
211
210
|
initMetadataForObject(JsonNullSerializer, 'JsonNullSerializer', VOID, VOID, [KSerializer]);
|
|
212
211
|
initMetadataForObject(JsonLiteralSerializer, 'JsonLiteralSerializer', VOID, VOID, [KSerializer]);
|
|
212
|
+
initMetadataForObject(JsonArrayDescriptor, 'JsonArrayDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
213
|
+
initMetadataForObject(JsonArraySerializer, 'JsonArraySerializer', VOID, VOID, [KSerializer]);
|
|
213
214
|
initMetadataForClass(defer$1, VOID, VOID, VOID, [SerialDescriptor]);
|
|
214
215
|
initMetadataForInterface(JsonEncoder, 'JsonEncoder', VOID, VOID, [Encoder, CompositeEncoder]);
|
|
215
216
|
initMetadataForClass(Composer, 'Composer');
|
|
@@ -218,8 +219,8 @@
|
|
|
218
219
|
initMetadataForClass(ComposerWithPrettyPrint, 'ComposerWithPrettyPrint', VOID, Composer);
|
|
219
220
|
initMetadataForClass(JsonElementMarker, 'JsonElementMarker');
|
|
220
221
|
initMetadataForClass(JsonException, 'JsonException', VOID, SerializationException);
|
|
221
|
-
initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
|
|
222
222
|
initMetadataForClass(JsonDecodingException, 'JsonDecodingException', VOID, JsonException);
|
|
223
|
+
initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
|
|
223
224
|
initMetadataForObject(Tombstone, 'Tombstone');
|
|
224
225
|
initMetadataForClass(JsonPath, 'JsonPath', JsonPath);
|
|
225
226
|
initMetadataForClass(JsonSerializersModuleValidator, 'JsonSerializersModuleValidator', VOID, VOID, [SerializersModuleCollector]);
|
|
@@ -447,6 +448,67 @@
|
|
|
447
448
|
function Companion_getInstance_3() {
|
|
448
449
|
return Companion_instance;
|
|
449
450
|
}
|
|
451
|
+
function JsonElement() {
|
|
452
|
+
}
|
|
453
|
+
function get_int(_this__u8e3s4) {
|
|
454
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
455
|
+
// Inline function 'kotlinx.serialization.json.exceptionToNumberFormatException' call
|
|
456
|
+
var tmp;
|
|
457
|
+
try {
|
|
458
|
+
tmp = parseLongImpl(_this__u8e3s4);
|
|
459
|
+
} catch ($p) {
|
|
460
|
+
var tmp_0;
|
|
461
|
+
if ($p instanceof JsonDecodingException) {
|
|
462
|
+
var e = $p;
|
|
463
|
+
throw NumberFormatException_init_$Create$(e.message);
|
|
464
|
+
} else {
|
|
465
|
+
throw $p;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
var result = tmp;
|
|
469
|
+
// Inline function 'kotlin.ranges.contains' call
|
|
470
|
+
var this_0 = numberRangeToNumber(-2147483648, 2147483647);
|
|
471
|
+
if (!contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result))
|
|
472
|
+
throw NumberFormatException_init_$Create$(_this__u8e3s4.o14() + ' is not an Int');
|
|
473
|
+
return convertToInt(result);
|
|
474
|
+
}
|
|
475
|
+
function Companion_0() {
|
|
476
|
+
}
|
|
477
|
+
var Companion_instance_0;
|
|
478
|
+
function Companion_getInstance_4() {
|
|
479
|
+
return Companion_instance_0;
|
|
480
|
+
}
|
|
481
|
+
function JsonPrimitive() {
|
|
482
|
+
JsonElement.call(this);
|
|
483
|
+
}
|
|
484
|
+
protoOf(JsonPrimitive).toString = function () {
|
|
485
|
+
return this.o14();
|
|
486
|
+
};
|
|
487
|
+
function get_jsonPrimitive(_this__u8e3s4) {
|
|
488
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
489
|
+
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonPrimitive ? _this__u8e3s4 : null;
|
|
490
|
+
var tmp;
|
|
491
|
+
if (tmp0_elvis_lhs == null) {
|
|
492
|
+
error(_this__u8e3s4, 'JsonPrimitive');
|
|
493
|
+
} else {
|
|
494
|
+
tmp = tmp0_elvis_lhs;
|
|
495
|
+
}
|
|
496
|
+
return tmp;
|
|
497
|
+
}
|
|
498
|
+
function get_float(_this__u8e3s4) {
|
|
499
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
500
|
+
// Inline function 'kotlin.text.toFloat' call
|
|
501
|
+
var this_0 = _this__u8e3s4.o14();
|
|
502
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
503
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
504
|
+
return toDouble(this_0);
|
|
505
|
+
}
|
|
506
|
+
function Companion_1() {
|
|
507
|
+
}
|
|
508
|
+
var Companion_instance_1;
|
|
509
|
+
function Companion_getInstance_5() {
|
|
510
|
+
return Companion_instance_1;
|
|
511
|
+
}
|
|
450
512
|
function JsonObject$toString$lambda(_destruct__k2r9zo) {
|
|
451
513
|
// Inline function 'kotlin.collections.component1' call
|
|
452
514
|
var k = _destruct__k2r9zo.s1();
|
|
@@ -462,48 +524,48 @@
|
|
|
462
524
|
}
|
|
463
525
|
function JsonObject(content) {
|
|
464
526
|
JsonElement.call(this);
|
|
465
|
-
this.
|
|
527
|
+
this.p14_1 = content;
|
|
466
528
|
}
|
|
467
529
|
protoOf(JsonObject).equals = function (other) {
|
|
468
|
-
return equals(this.
|
|
530
|
+
return equals(this.p14_1, other);
|
|
469
531
|
};
|
|
470
532
|
protoOf(JsonObject).hashCode = function () {
|
|
471
|
-
return hashCode(this.
|
|
533
|
+
return hashCode(this.p14_1);
|
|
472
534
|
};
|
|
473
535
|
protoOf(JsonObject).toString = function () {
|
|
474
|
-
var tmp = this.
|
|
536
|
+
var tmp = this.p14_1.z1();
|
|
475
537
|
return joinToString(tmp, ',', '{', '}', VOID, VOID, JsonObject$toString$lambda);
|
|
476
538
|
};
|
|
477
539
|
protoOf(JsonObject).o = function () {
|
|
478
|
-
return this.
|
|
540
|
+
return this.p14_1.o();
|
|
479
541
|
};
|
|
480
|
-
protoOf(JsonObject).
|
|
481
|
-
return this.
|
|
542
|
+
protoOf(JsonObject).q14 = function (key) {
|
|
543
|
+
return this.p14_1.u1(key);
|
|
482
544
|
};
|
|
483
545
|
protoOf(JsonObject).u1 = function (key) {
|
|
484
546
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
485
547
|
return false;
|
|
486
|
-
return this.
|
|
548
|
+
return this.q14((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
487
549
|
};
|
|
488
|
-
protoOf(JsonObject).
|
|
489
|
-
return this.
|
|
550
|
+
protoOf(JsonObject).r14 = function (key) {
|
|
551
|
+
return this.p14_1.w1(key);
|
|
490
552
|
};
|
|
491
553
|
protoOf(JsonObject).w1 = function (key) {
|
|
492
554
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
493
555
|
return null;
|
|
494
|
-
return this.
|
|
556
|
+
return this.r14((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
495
557
|
};
|
|
496
558
|
protoOf(JsonObject).k = function () {
|
|
497
|
-
return this.
|
|
559
|
+
return this.p14_1.k();
|
|
498
560
|
};
|
|
499
561
|
protoOf(JsonObject).x1 = function () {
|
|
500
|
-
return this.
|
|
562
|
+
return this.p14_1.x1();
|
|
501
563
|
};
|
|
502
564
|
protoOf(JsonObject).y1 = function () {
|
|
503
|
-
return this.
|
|
565
|
+
return this.p14_1.y1();
|
|
504
566
|
};
|
|
505
567
|
protoOf(JsonObject).z1 = function () {
|
|
506
|
-
return this.
|
|
568
|
+
return this.p14_1.z1();
|
|
507
569
|
};
|
|
508
570
|
function get_jsonObject(_this__u8e3s4) {
|
|
509
571
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -516,105 +578,14 @@
|
|
|
516
578
|
}
|
|
517
579
|
return tmp;
|
|
518
580
|
}
|
|
519
|
-
function
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
function Companion_getInstance_4() {
|
|
523
|
-
return Companion_instance_0;
|
|
524
|
-
}
|
|
525
|
-
function JsonElement() {
|
|
581
|
+
function parseLongImpl(_this__u8e3s4) {
|
|
582
|
+
_init_properties_JsonElement_kt__7cbdc2();
|
|
583
|
+
return (new StringJsonLexer(_this__u8e3s4.o14())).s14();
|
|
526
584
|
}
|
|
527
585
|
function error(_this__u8e3s4, element) {
|
|
528
586
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
529
587
|
throw IllegalArgumentException_init_$Create$('Element ' + toString(getKClassFromExpression(_this__u8e3s4)) + ' is not a ' + element);
|
|
530
588
|
}
|
|
531
|
-
function JsonNull() {
|
|
532
|
-
JsonNull_instance = this;
|
|
533
|
-
JsonPrimitive.call(this);
|
|
534
|
-
this.r14_1 = 'null';
|
|
535
|
-
}
|
|
536
|
-
protoOf(JsonNull).s14 = function () {
|
|
537
|
-
return this.r14_1;
|
|
538
|
-
};
|
|
539
|
-
protoOf(JsonNull).t14 = function () {
|
|
540
|
-
return JsonNullSerializer_getInstance();
|
|
541
|
-
};
|
|
542
|
-
protoOf(JsonNull).wt = function (typeParamsSerializers) {
|
|
543
|
-
return this.t14();
|
|
544
|
-
};
|
|
545
|
-
var JsonNull_instance;
|
|
546
|
-
function JsonNull_getInstance() {
|
|
547
|
-
if (JsonNull_instance == null)
|
|
548
|
-
new JsonNull();
|
|
549
|
-
return JsonNull_instance;
|
|
550
|
-
}
|
|
551
|
-
function Companion_1() {
|
|
552
|
-
}
|
|
553
|
-
var Companion_instance_1;
|
|
554
|
-
function Companion_getInstance_5() {
|
|
555
|
-
return Companion_instance_1;
|
|
556
|
-
}
|
|
557
|
-
function JsonPrimitive() {
|
|
558
|
-
JsonElement.call(this);
|
|
559
|
-
}
|
|
560
|
-
protoOf(JsonPrimitive).toString = function () {
|
|
561
|
-
return this.s14();
|
|
562
|
-
};
|
|
563
|
-
function JsonPrimitive_0(value) {
|
|
564
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
565
|
-
if (value == null)
|
|
566
|
-
return JsonNull_getInstance();
|
|
567
|
-
return new JsonLiteral(value, true);
|
|
568
|
-
}
|
|
569
|
-
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
570
|
-
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
571
|
-
JsonPrimitive.call(this);
|
|
572
|
-
this.u14_1 = isString;
|
|
573
|
-
this.v14_1 = coerceToInlineType;
|
|
574
|
-
this.w14_1 = toString(body);
|
|
575
|
-
if (!(this.v14_1 == null)) {
|
|
576
|
-
// Inline function 'kotlin.require' call
|
|
577
|
-
// Inline function 'kotlin.require' call
|
|
578
|
-
if (!this.v14_1.hk()) {
|
|
579
|
-
var message = 'Failed requirement.';
|
|
580
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
protoOf(JsonLiteral).s14 = function () {
|
|
585
|
-
return this.w14_1;
|
|
586
|
-
};
|
|
587
|
-
protoOf(JsonLiteral).toString = function () {
|
|
588
|
-
var tmp;
|
|
589
|
-
if (this.u14_1) {
|
|
590
|
-
// Inline function 'kotlin.text.buildString' call
|
|
591
|
-
// Inline function 'kotlin.apply' call
|
|
592
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
593
|
-
printQuoted(this_0, this.w14_1);
|
|
594
|
-
tmp = this_0.toString();
|
|
595
|
-
} else {
|
|
596
|
-
tmp = this.w14_1;
|
|
597
|
-
}
|
|
598
|
-
return tmp;
|
|
599
|
-
};
|
|
600
|
-
protoOf(JsonLiteral).equals = function (other) {
|
|
601
|
-
if (this === other)
|
|
602
|
-
return true;
|
|
603
|
-
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
604
|
-
return false;
|
|
605
|
-
if (!(other instanceof JsonLiteral))
|
|
606
|
-
THROW_CCE();
|
|
607
|
-
if (!(this.u14_1 === other.u14_1))
|
|
608
|
-
return false;
|
|
609
|
-
if (!(this.w14_1 === other.w14_1))
|
|
610
|
-
return false;
|
|
611
|
-
return true;
|
|
612
|
-
};
|
|
613
|
-
protoOf(JsonLiteral).hashCode = function () {
|
|
614
|
-
var result = getBooleanHashCode(this.u14_1);
|
|
615
|
-
result = imul(31, result) + getStringHashCode(this.w14_1) | 0;
|
|
616
|
-
return result;
|
|
617
|
-
};
|
|
618
589
|
function Companion_2() {
|
|
619
590
|
}
|
|
620
591
|
var Companion_instance_2;
|
|
@@ -623,90 +594,153 @@
|
|
|
623
594
|
}
|
|
624
595
|
function JsonArray(content) {
|
|
625
596
|
JsonElement.call(this);
|
|
626
|
-
this.
|
|
597
|
+
this.t14_1 = content;
|
|
627
598
|
}
|
|
628
599
|
protoOf(JsonArray).equals = function (other) {
|
|
629
|
-
return equals(this.
|
|
600
|
+
return equals(this.t14_1, other);
|
|
630
601
|
};
|
|
631
602
|
protoOf(JsonArray).hashCode = function () {
|
|
632
|
-
return hashCode(this.
|
|
603
|
+
return hashCode(this.t14_1);
|
|
633
604
|
};
|
|
634
605
|
protoOf(JsonArray).toString = function () {
|
|
635
|
-
return joinToString(this.
|
|
606
|
+
return joinToString(this.t14_1, ',', '[', ']');
|
|
636
607
|
};
|
|
637
608
|
protoOf(JsonArray).o = function () {
|
|
638
|
-
return this.
|
|
609
|
+
return this.t14_1.o();
|
|
639
610
|
};
|
|
640
|
-
protoOf(JsonArray).
|
|
641
|
-
return this.
|
|
611
|
+
protoOf(JsonArray).u14 = function (element) {
|
|
612
|
+
return this.t14_1.l(element);
|
|
642
613
|
};
|
|
643
614
|
protoOf(JsonArray).l = function (element) {
|
|
644
615
|
if (!(element instanceof JsonElement))
|
|
645
616
|
return false;
|
|
646
|
-
return this.
|
|
617
|
+
return this.u14(element instanceof JsonElement ? element : THROW_CCE());
|
|
647
618
|
};
|
|
648
619
|
protoOf(JsonArray).h = function () {
|
|
649
|
-
return this.
|
|
620
|
+
return this.t14_1.h();
|
|
650
621
|
};
|
|
651
|
-
protoOf(JsonArray).
|
|
652
|
-
return this.
|
|
622
|
+
protoOf(JsonArray).v14 = function (elements) {
|
|
623
|
+
return this.t14_1.n1(elements);
|
|
653
624
|
};
|
|
654
625
|
protoOf(JsonArray).n1 = function (elements) {
|
|
655
|
-
return this.
|
|
626
|
+
return this.v14(elements);
|
|
656
627
|
};
|
|
657
628
|
protoOf(JsonArray).n = function (index) {
|
|
658
|
-
return this.
|
|
629
|
+
return this.t14_1.n(index);
|
|
659
630
|
};
|
|
660
|
-
protoOf(JsonArray).
|
|
661
|
-
return this.
|
|
631
|
+
protoOf(JsonArray).w14 = function (element) {
|
|
632
|
+
return this.t14_1.m(element);
|
|
662
633
|
};
|
|
663
634
|
protoOf(JsonArray).m = function (element) {
|
|
664
635
|
if (!(element instanceof JsonElement))
|
|
665
636
|
return -1;
|
|
666
|
-
return this.
|
|
637
|
+
return this.w14(element instanceof JsonElement ? element : THROW_CCE());
|
|
667
638
|
};
|
|
668
|
-
protoOf(JsonArray).
|
|
669
|
-
return this.
|
|
639
|
+
protoOf(JsonArray).x14 = function (element) {
|
|
640
|
+
return this.t14_1.o1(element);
|
|
670
641
|
};
|
|
671
642
|
protoOf(JsonArray).o1 = function (element) {
|
|
672
643
|
if (!(element instanceof JsonElement))
|
|
673
644
|
return -1;
|
|
674
|
-
return this.
|
|
645
|
+
return this.x14(element instanceof JsonElement ? element : THROW_CCE());
|
|
675
646
|
};
|
|
676
647
|
protoOf(JsonArray).p1 = function () {
|
|
677
|
-
return this.
|
|
648
|
+
return this.t14_1.p1();
|
|
678
649
|
};
|
|
679
650
|
protoOf(JsonArray).q1 = function (index) {
|
|
680
|
-
return this.
|
|
651
|
+
return this.t14_1.q1(index);
|
|
681
652
|
};
|
|
682
653
|
protoOf(JsonArray).r1 = function (fromIndex, toIndex) {
|
|
683
|
-
return this.
|
|
654
|
+
return this.t14_1.r1(fromIndex, toIndex);
|
|
684
655
|
};
|
|
685
656
|
protoOf(JsonArray).asJsReadonlyArrayView = function () {
|
|
686
|
-
return this.
|
|
657
|
+
return this.t14_1.asJsReadonlyArrayView();
|
|
687
658
|
};
|
|
688
659
|
protoOf(JsonArray).k = function () {
|
|
689
|
-
return this.
|
|
660
|
+
return this.t14_1.k();
|
|
690
661
|
};
|
|
691
|
-
function
|
|
692
|
-
|
|
693
|
-
|
|
662
|
+
function JsonNull() {
|
|
663
|
+
JsonNull_instance = this;
|
|
664
|
+
JsonPrimitive.call(this);
|
|
665
|
+
this.y14_1 = 'null';
|
|
694
666
|
}
|
|
695
|
-
function
|
|
667
|
+
protoOf(JsonNull).o14 = function () {
|
|
668
|
+
return this.y14_1;
|
|
669
|
+
};
|
|
670
|
+
protoOf(JsonNull).z14 = function () {
|
|
671
|
+
return JsonNullSerializer_getInstance();
|
|
672
|
+
};
|
|
673
|
+
protoOf(JsonNull).wt = function (typeParamsSerializers) {
|
|
674
|
+
return this.z14();
|
|
675
|
+
};
|
|
676
|
+
var JsonNull_instance;
|
|
677
|
+
function JsonNull_getInstance() {
|
|
678
|
+
if (JsonNull_instance == null)
|
|
679
|
+
new JsonNull();
|
|
680
|
+
return JsonNull_instance;
|
|
681
|
+
}
|
|
682
|
+
function JsonLiteral(body, isString, coerceToInlineType) {
|
|
683
|
+
coerceToInlineType = coerceToInlineType === VOID ? null : coerceToInlineType;
|
|
684
|
+
JsonPrimitive.call(this);
|
|
685
|
+
this.a15_1 = isString;
|
|
686
|
+
this.b15_1 = coerceToInlineType;
|
|
687
|
+
this.c15_1 = toString(body);
|
|
688
|
+
if (!(this.b15_1 == null)) {
|
|
689
|
+
// Inline function 'kotlin.require' call
|
|
690
|
+
// Inline function 'kotlin.require' call
|
|
691
|
+
if (!this.b15_1.hk()) {
|
|
692
|
+
var message = 'Failed requirement.';
|
|
693
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
protoOf(JsonLiteral).o14 = function () {
|
|
698
|
+
return this.c15_1;
|
|
699
|
+
};
|
|
700
|
+
protoOf(JsonLiteral).toString = function () {
|
|
701
|
+
var tmp;
|
|
702
|
+
if (this.a15_1) {
|
|
703
|
+
// Inline function 'kotlin.text.buildString' call
|
|
704
|
+
// Inline function 'kotlin.apply' call
|
|
705
|
+
var this_0 = StringBuilder_init_$Create$();
|
|
706
|
+
printQuoted(this_0, this.c15_1);
|
|
707
|
+
tmp = this_0.toString();
|
|
708
|
+
} else {
|
|
709
|
+
tmp = this.c15_1;
|
|
710
|
+
}
|
|
711
|
+
return tmp;
|
|
712
|
+
};
|
|
713
|
+
protoOf(JsonLiteral).equals = function (other) {
|
|
714
|
+
if (this === other)
|
|
715
|
+
return true;
|
|
716
|
+
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
717
|
+
return false;
|
|
718
|
+
if (!(other instanceof JsonLiteral))
|
|
719
|
+
THROW_CCE();
|
|
720
|
+
if (!(this.a15_1 === other.a15_1))
|
|
721
|
+
return false;
|
|
722
|
+
if (!(this.c15_1 === other.c15_1))
|
|
723
|
+
return false;
|
|
724
|
+
return true;
|
|
725
|
+
};
|
|
726
|
+
protoOf(JsonLiteral).hashCode = function () {
|
|
727
|
+
var result = getBooleanHashCode(this.a15_1);
|
|
728
|
+
result = imul(31, result) + getStringHashCode(this.c15_1) | 0;
|
|
729
|
+
return result;
|
|
730
|
+
};
|
|
731
|
+
function JsonPrimitive_0(value) {
|
|
696
732
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
697
|
-
|
|
733
|
+
if (value == null)
|
|
734
|
+
return JsonNull_getInstance();
|
|
735
|
+
return new JsonLiteral(value, true);
|
|
698
736
|
}
|
|
699
|
-
function
|
|
737
|
+
function get_booleanOrNull(_this__u8e3s4) {
|
|
700
738
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
701
|
-
|
|
702
|
-
var this_0 = _this__u8e3s4.s14();
|
|
703
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
704
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
705
|
-
return toDouble(this_0);
|
|
739
|
+
return toBooleanStrictOrNull_0(_this__u8e3s4.o14());
|
|
706
740
|
}
|
|
707
741
|
function get_double(_this__u8e3s4) {
|
|
708
742
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
709
|
-
return toDouble(_this__u8e3s4.
|
|
743
|
+
return toDouble(_this__u8e3s4.o14());
|
|
710
744
|
}
|
|
711
745
|
function get_contentOrNull(_this__u8e3s4) {
|
|
712
746
|
_init_properties_JsonElement_kt__7cbdc2();
|
|
@@ -714,18 +748,7 @@
|
|
|
714
748
|
if (_this__u8e3s4 instanceof JsonNull) {
|
|
715
749
|
tmp = null;
|
|
716
750
|
} else {
|
|
717
|
-
tmp = _this__u8e3s4.
|
|
718
|
-
}
|
|
719
|
-
return tmp;
|
|
720
|
-
}
|
|
721
|
-
function get_jsonPrimitive(_this__u8e3s4) {
|
|
722
|
-
_init_properties_JsonElement_kt__7cbdc2();
|
|
723
|
-
var tmp0_elvis_lhs = _this__u8e3s4 instanceof JsonPrimitive ? _this__u8e3s4 : null;
|
|
724
|
-
var tmp;
|
|
725
|
-
if (tmp0_elvis_lhs == null) {
|
|
726
|
-
error(_this__u8e3s4, 'JsonPrimitive');
|
|
727
|
-
} else {
|
|
728
|
-
tmp = tmp0_elvis_lhs;
|
|
751
|
+
tmp = _this__u8e3s4.o14();
|
|
729
752
|
}
|
|
730
753
|
return tmp;
|
|
731
754
|
}
|
|
@@ -797,43 +820,78 @@
|
|
|
797
820
|
new JsonElementSerializer();
|
|
798
821
|
return JsonElementSerializer_instance;
|
|
799
822
|
}
|
|
823
|
+
function JsonPrimitiveSerializer() {
|
|
824
|
+
JsonPrimitiveSerializer_instance = this;
|
|
825
|
+
this.d15_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
826
|
+
}
|
|
827
|
+
protoOf(JsonPrimitiveSerializer).bj = function () {
|
|
828
|
+
return this.d15_1;
|
|
829
|
+
};
|
|
830
|
+
protoOf(JsonPrimitiveSerializer).k15 = function (encoder, value) {
|
|
831
|
+
verify(encoder);
|
|
832
|
+
var tmp;
|
|
833
|
+
if (value instanceof JsonNull) {
|
|
834
|
+
encoder.pn(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
835
|
+
tmp = Unit_instance;
|
|
836
|
+
} else {
|
|
837
|
+
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
838
|
+
encoder.pn(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
839
|
+
tmp = Unit_instance;
|
|
840
|
+
}
|
|
841
|
+
return tmp;
|
|
842
|
+
};
|
|
843
|
+
protoOf(JsonPrimitiveSerializer).cj = function (encoder, value) {
|
|
844
|
+
return this.k15(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
845
|
+
};
|
|
846
|
+
protoOf(JsonPrimitiveSerializer).dj = function (decoder) {
|
|
847
|
+
var result = asJsonDecoder(decoder).n14();
|
|
848
|
+
if (!(result instanceof JsonPrimitive))
|
|
849
|
+
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
850
|
+
return result;
|
|
851
|
+
};
|
|
852
|
+
var JsonPrimitiveSerializer_instance;
|
|
853
|
+
function JsonPrimitiveSerializer_getInstance() {
|
|
854
|
+
if (JsonPrimitiveSerializer_instance == null)
|
|
855
|
+
new JsonPrimitiveSerializer();
|
|
856
|
+
return JsonPrimitiveSerializer_instance;
|
|
857
|
+
}
|
|
800
858
|
function JsonObjectDescriptor() {
|
|
801
859
|
JsonObjectDescriptor_instance = this;
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
860
|
+
this.l15_1 = MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).bj();
|
|
861
|
+
this.m15_1 = 'kotlinx.serialization.json.JsonObject';
|
|
804
862
|
}
|
|
805
863
|
protoOf(JsonObjectDescriptor).fk = function () {
|
|
806
|
-
return this.
|
|
864
|
+
return this.m15_1;
|
|
807
865
|
};
|
|
808
866
|
protoOf(JsonObjectDescriptor).kk = function (index) {
|
|
809
|
-
return this.
|
|
867
|
+
return this.l15_1.kk(index);
|
|
810
868
|
};
|
|
811
869
|
protoOf(JsonObjectDescriptor).lk = function (name) {
|
|
812
|
-
return this.
|
|
870
|
+
return this.l15_1.lk(name);
|
|
813
871
|
};
|
|
814
872
|
protoOf(JsonObjectDescriptor).mk = function (index) {
|
|
815
|
-
return this.
|
|
873
|
+
return this.l15_1.mk(index);
|
|
816
874
|
};
|
|
817
875
|
protoOf(JsonObjectDescriptor).nk = function (index) {
|
|
818
|
-
return this.
|
|
876
|
+
return this.l15_1.nk(index);
|
|
819
877
|
};
|
|
820
878
|
protoOf(JsonObjectDescriptor).ok = function (index) {
|
|
821
|
-
return this.
|
|
879
|
+
return this.l15_1.ok(index);
|
|
822
880
|
};
|
|
823
881
|
protoOf(JsonObjectDescriptor).gk = function () {
|
|
824
|
-
return this.
|
|
882
|
+
return this.l15_1.gk();
|
|
825
883
|
};
|
|
826
884
|
protoOf(JsonObjectDescriptor).bk = function () {
|
|
827
|
-
return this.
|
|
885
|
+
return this.l15_1.bk();
|
|
828
886
|
};
|
|
829
887
|
protoOf(JsonObjectDescriptor).hk = function () {
|
|
830
|
-
return this.
|
|
888
|
+
return this.l15_1.hk();
|
|
831
889
|
};
|
|
832
890
|
protoOf(JsonObjectDescriptor).ik = function () {
|
|
833
|
-
return this.
|
|
891
|
+
return this.l15_1.ik();
|
|
834
892
|
};
|
|
835
893
|
protoOf(JsonObjectDescriptor).jk = function () {
|
|
836
|
-
return this.
|
|
894
|
+
return this.l15_1.jk();
|
|
837
895
|
};
|
|
838
896
|
var JsonObjectDescriptor_instance;
|
|
839
897
|
function JsonObjectDescriptor_getInstance() {
|
|
@@ -848,12 +906,12 @@
|
|
|
848
906
|
protoOf(JsonObjectSerializer).bj = function () {
|
|
849
907
|
return this.g15_1;
|
|
850
908
|
};
|
|
851
|
-
protoOf(JsonObjectSerializer).
|
|
909
|
+
protoOf(JsonObjectSerializer).n15 = function (encoder, value) {
|
|
852
910
|
verify(encoder);
|
|
853
911
|
MapSerializer(serializer(StringCompanionObject_instance), JsonElementSerializer_getInstance()).cj(encoder, value);
|
|
854
912
|
};
|
|
855
913
|
protoOf(JsonObjectSerializer).cj = function (encoder, value) {
|
|
856
|
-
return this.
|
|
914
|
+
return this.n15(encoder, value instanceof JsonObject ? value : THROW_CCE());
|
|
857
915
|
};
|
|
858
916
|
protoOf(JsonObjectSerializer).dj = function (decoder) {
|
|
859
917
|
verify_0(decoder);
|
|
@@ -865,112 +923,9 @@
|
|
|
865
923
|
new JsonObjectSerializer();
|
|
866
924
|
return JsonObjectSerializer_instance;
|
|
867
925
|
}
|
|
868
|
-
function JsonArrayDescriptor() {
|
|
869
|
-
JsonArrayDescriptor_instance = this;
|
|
870
|
-
this.n15_1 = ListSerializer(JsonElementSerializer_getInstance()).bj();
|
|
871
|
-
this.o15_1 = 'kotlinx.serialization.json.JsonArray';
|
|
872
|
-
}
|
|
873
|
-
protoOf(JsonArrayDescriptor).fk = function () {
|
|
874
|
-
return this.o15_1;
|
|
875
|
-
};
|
|
876
|
-
protoOf(JsonArrayDescriptor).kk = function (index) {
|
|
877
|
-
return this.n15_1.kk(index);
|
|
878
|
-
};
|
|
879
|
-
protoOf(JsonArrayDescriptor).lk = function (name) {
|
|
880
|
-
return this.n15_1.lk(name);
|
|
881
|
-
};
|
|
882
|
-
protoOf(JsonArrayDescriptor).mk = function (index) {
|
|
883
|
-
return this.n15_1.mk(index);
|
|
884
|
-
};
|
|
885
|
-
protoOf(JsonArrayDescriptor).nk = function (index) {
|
|
886
|
-
return this.n15_1.nk(index);
|
|
887
|
-
};
|
|
888
|
-
protoOf(JsonArrayDescriptor).ok = function (index) {
|
|
889
|
-
return this.n15_1.ok(index);
|
|
890
|
-
};
|
|
891
|
-
protoOf(JsonArrayDescriptor).gk = function () {
|
|
892
|
-
return this.n15_1.gk();
|
|
893
|
-
};
|
|
894
|
-
protoOf(JsonArrayDescriptor).bk = function () {
|
|
895
|
-
return this.n15_1.bk();
|
|
896
|
-
};
|
|
897
|
-
protoOf(JsonArrayDescriptor).hk = function () {
|
|
898
|
-
return this.n15_1.hk();
|
|
899
|
-
};
|
|
900
|
-
protoOf(JsonArrayDescriptor).ik = function () {
|
|
901
|
-
return this.n15_1.ik();
|
|
902
|
-
};
|
|
903
|
-
protoOf(JsonArrayDescriptor).jk = function () {
|
|
904
|
-
return this.n15_1.jk();
|
|
905
|
-
};
|
|
906
|
-
var JsonArrayDescriptor_instance;
|
|
907
|
-
function JsonArrayDescriptor_getInstance() {
|
|
908
|
-
if (JsonArrayDescriptor_instance == null)
|
|
909
|
-
new JsonArrayDescriptor();
|
|
910
|
-
return JsonArrayDescriptor_instance;
|
|
911
|
-
}
|
|
912
|
-
function JsonArraySerializer() {
|
|
913
|
-
JsonArraySerializer_instance = this;
|
|
914
|
-
this.h15_1 = JsonArrayDescriptor_getInstance();
|
|
915
|
-
}
|
|
916
|
-
protoOf(JsonArraySerializer).bj = function () {
|
|
917
|
-
return this.h15_1;
|
|
918
|
-
};
|
|
919
|
-
protoOf(JsonArraySerializer).p15 = function (encoder, value) {
|
|
920
|
-
verify(encoder);
|
|
921
|
-
ListSerializer(JsonElementSerializer_getInstance()).cj(encoder, value);
|
|
922
|
-
};
|
|
923
|
-
protoOf(JsonArraySerializer).cj = function (encoder, value) {
|
|
924
|
-
return this.p15(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
925
|
-
};
|
|
926
|
-
protoOf(JsonArraySerializer).dj = function (decoder) {
|
|
927
|
-
verify_0(decoder);
|
|
928
|
-
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).dj(decoder));
|
|
929
|
-
};
|
|
930
|
-
var JsonArraySerializer_instance;
|
|
931
|
-
function JsonArraySerializer_getInstance() {
|
|
932
|
-
if (JsonArraySerializer_instance == null)
|
|
933
|
-
new JsonArraySerializer();
|
|
934
|
-
return JsonArraySerializer_instance;
|
|
935
|
-
}
|
|
936
926
|
function defer(deferred) {
|
|
937
927
|
return new defer$1(deferred);
|
|
938
928
|
}
|
|
939
|
-
function JsonPrimitiveSerializer() {
|
|
940
|
-
JsonPrimitiveSerializer_instance = this;
|
|
941
|
-
this.d15_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonPrimitive', STRING_getInstance(), []);
|
|
942
|
-
}
|
|
943
|
-
protoOf(JsonPrimitiveSerializer).bj = function () {
|
|
944
|
-
return this.d15_1;
|
|
945
|
-
};
|
|
946
|
-
protoOf(JsonPrimitiveSerializer).q15 = function (encoder, value) {
|
|
947
|
-
verify(encoder);
|
|
948
|
-
var tmp;
|
|
949
|
-
if (value instanceof JsonNull) {
|
|
950
|
-
encoder.pn(JsonNullSerializer_getInstance(), JsonNull_getInstance());
|
|
951
|
-
tmp = Unit_instance;
|
|
952
|
-
} else {
|
|
953
|
-
var tmp_0 = JsonLiteralSerializer_getInstance();
|
|
954
|
-
encoder.pn(tmp_0, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
955
|
-
tmp = Unit_instance;
|
|
956
|
-
}
|
|
957
|
-
return tmp;
|
|
958
|
-
};
|
|
959
|
-
protoOf(JsonPrimitiveSerializer).cj = function (encoder, value) {
|
|
960
|
-
return this.q15(encoder, value instanceof JsonPrimitive ? value : THROW_CCE());
|
|
961
|
-
};
|
|
962
|
-
protoOf(JsonPrimitiveSerializer).dj = function (decoder) {
|
|
963
|
-
var result = asJsonDecoder(decoder).n14();
|
|
964
|
-
if (!(result instanceof JsonPrimitive))
|
|
965
|
-
throw JsonDecodingException_0(-1, 'Unexpected JSON element, expected JsonPrimitive, had ' + toString(getKClassFromExpression(result)), toString(result));
|
|
966
|
-
return result;
|
|
967
|
-
};
|
|
968
|
-
var JsonPrimitiveSerializer_instance;
|
|
969
|
-
function JsonPrimitiveSerializer_getInstance() {
|
|
970
|
-
if (JsonPrimitiveSerializer_instance == null)
|
|
971
|
-
new JsonPrimitiveSerializer();
|
|
972
|
-
return JsonPrimitiveSerializer_instance;
|
|
973
|
-
}
|
|
974
929
|
function JsonNullSerializer() {
|
|
975
930
|
JsonNullSerializer_instance = this;
|
|
976
931
|
this.e15_1 = buildSerialDescriptor('kotlinx.serialization.json.JsonNull', ENUM_getInstance(), []);
|
|
@@ -978,12 +933,12 @@
|
|
|
978
933
|
protoOf(JsonNullSerializer).bj = function () {
|
|
979
934
|
return this.e15_1;
|
|
980
935
|
};
|
|
981
|
-
protoOf(JsonNullSerializer).
|
|
936
|
+
protoOf(JsonNullSerializer).o15 = function (encoder, value) {
|
|
982
937
|
verify(encoder);
|
|
983
938
|
encoder.tm();
|
|
984
939
|
};
|
|
985
940
|
protoOf(JsonNullSerializer).cj = function (encoder, value) {
|
|
986
|
-
return this.
|
|
941
|
+
return this.o15(encoder, value instanceof JsonNull ? value : THROW_CCE());
|
|
987
942
|
};
|
|
988
943
|
protoOf(JsonNullSerializer).dj = function (decoder) {
|
|
989
944
|
verify_0(decoder);
|
|
@@ -1006,22 +961,22 @@
|
|
|
1006
961
|
protoOf(JsonLiteralSerializer).bj = function () {
|
|
1007
962
|
return this.f15_1;
|
|
1008
963
|
};
|
|
1009
|
-
protoOf(JsonLiteralSerializer).
|
|
964
|
+
protoOf(JsonLiteralSerializer).p15 = function (encoder, value) {
|
|
1010
965
|
verify(encoder);
|
|
1011
|
-
if (value.
|
|
1012
|
-
return encoder.cn(value.
|
|
966
|
+
if (value.a15_1) {
|
|
967
|
+
return encoder.cn(value.c15_1);
|
|
1013
968
|
}
|
|
1014
|
-
if (!(value.
|
|
1015
|
-
return encoder.dn(value.
|
|
969
|
+
if (!(value.b15_1 == null)) {
|
|
970
|
+
return encoder.dn(value.b15_1).cn(value.c15_1);
|
|
1016
971
|
}
|
|
1017
|
-
var tmp0_safe_receiver = toLongOrNull(value.
|
|
972
|
+
var tmp0_safe_receiver = toLongOrNull(value.c15_1);
|
|
1018
973
|
if (tmp0_safe_receiver == null)
|
|
1019
974
|
null;
|
|
1020
975
|
else {
|
|
1021
976
|
// Inline function 'kotlin.let' call
|
|
1022
977
|
return encoder.ym(tmp0_safe_receiver);
|
|
1023
978
|
}
|
|
1024
|
-
var tmp1_safe_receiver = toULongOrNull(value.
|
|
979
|
+
var tmp1_safe_receiver = toULongOrNull(value.c15_1);
|
|
1025
980
|
var tmp = tmp1_safe_receiver;
|
|
1026
981
|
if ((tmp == null ? null : new ULong(tmp)) == null)
|
|
1027
982
|
null;
|
|
@@ -1035,24 +990,24 @@
|
|
|
1035
990
|
tmp_1.ym(tmp$ret$1);
|
|
1036
991
|
return Unit_instance;
|
|
1037
992
|
}
|
|
1038
|
-
var tmp2_safe_receiver = toDoubleOrNull(value.
|
|
993
|
+
var tmp2_safe_receiver = toDoubleOrNull(value.c15_1);
|
|
1039
994
|
if (tmp2_safe_receiver == null)
|
|
1040
995
|
null;
|
|
1041
996
|
else {
|
|
1042
997
|
// Inline function 'kotlin.let' call
|
|
1043
998
|
return encoder.an(tmp2_safe_receiver);
|
|
1044
999
|
}
|
|
1045
|
-
var tmp3_safe_receiver = toBooleanStrictOrNull(value.
|
|
1000
|
+
var tmp3_safe_receiver = toBooleanStrictOrNull(value.c15_1);
|
|
1046
1001
|
if (tmp3_safe_receiver == null)
|
|
1047
1002
|
null;
|
|
1048
1003
|
else {
|
|
1049
1004
|
// Inline function 'kotlin.let' call
|
|
1050
1005
|
return encoder.um(tmp3_safe_receiver);
|
|
1051
1006
|
}
|
|
1052
|
-
encoder.cn(value.
|
|
1007
|
+
encoder.cn(value.c15_1);
|
|
1053
1008
|
};
|
|
1054
1009
|
protoOf(JsonLiteralSerializer).cj = function (encoder, value) {
|
|
1055
|
-
return this.
|
|
1010
|
+
return this.p15(encoder, value instanceof JsonLiteral ? value : THROW_CCE());
|
|
1056
1011
|
};
|
|
1057
1012
|
protoOf(JsonLiteralSerializer).dj = function (decoder) {
|
|
1058
1013
|
var result = asJsonDecoder(decoder).n14();
|
|
@@ -1066,6 +1021,74 @@
|
|
|
1066
1021
|
new JsonLiteralSerializer();
|
|
1067
1022
|
return JsonLiteralSerializer_instance;
|
|
1068
1023
|
}
|
|
1024
|
+
function JsonArrayDescriptor() {
|
|
1025
|
+
JsonArrayDescriptor_instance = this;
|
|
1026
|
+
this.q15_1 = ListSerializer(JsonElementSerializer_getInstance()).bj();
|
|
1027
|
+
this.r15_1 = 'kotlinx.serialization.json.JsonArray';
|
|
1028
|
+
}
|
|
1029
|
+
protoOf(JsonArrayDescriptor).fk = function () {
|
|
1030
|
+
return this.r15_1;
|
|
1031
|
+
};
|
|
1032
|
+
protoOf(JsonArrayDescriptor).kk = function (index) {
|
|
1033
|
+
return this.q15_1.kk(index);
|
|
1034
|
+
};
|
|
1035
|
+
protoOf(JsonArrayDescriptor).lk = function (name) {
|
|
1036
|
+
return this.q15_1.lk(name);
|
|
1037
|
+
};
|
|
1038
|
+
protoOf(JsonArrayDescriptor).mk = function (index) {
|
|
1039
|
+
return this.q15_1.mk(index);
|
|
1040
|
+
};
|
|
1041
|
+
protoOf(JsonArrayDescriptor).nk = function (index) {
|
|
1042
|
+
return this.q15_1.nk(index);
|
|
1043
|
+
};
|
|
1044
|
+
protoOf(JsonArrayDescriptor).ok = function (index) {
|
|
1045
|
+
return this.q15_1.ok(index);
|
|
1046
|
+
};
|
|
1047
|
+
protoOf(JsonArrayDescriptor).gk = function () {
|
|
1048
|
+
return this.q15_1.gk();
|
|
1049
|
+
};
|
|
1050
|
+
protoOf(JsonArrayDescriptor).bk = function () {
|
|
1051
|
+
return this.q15_1.bk();
|
|
1052
|
+
};
|
|
1053
|
+
protoOf(JsonArrayDescriptor).hk = function () {
|
|
1054
|
+
return this.q15_1.hk();
|
|
1055
|
+
};
|
|
1056
|
+
protoOf(JsonArrayDescriptor).ik = function () {
|
|
1057
|
+
return this.q15_1.ik();
|
|
1058
|
+
};
|
|
1059
|
+
protoOf(JsonArrayDescriptor).jk = function () {
|
|
1060
|
+
return this.q15_1.jk();
|
|
1061
|
+
};
|
|
1062
|
+
var JsonArrayDescriptor_instance;
|
|
1063
|
+
function JsonArrayDescriptor_getInstance() {
|
|
1064
|
+
if (JsonArrayDescriptor_instance == null)
|
|
1065
|
+
new JsonArrayDescriptor();
|
|
1066
|
+
return JsonArrayDescriptor_instance;
|
|
1067
|
+
}
|
|
1068
|
+
function JsonArraySerializer() {
|
|
1069
|
+
JsonArraySerializer_instance = this;
|
|
1070
|
+
this.h15_1 = JsonArrayDescriptor_getInstance();
|
|
1071
|
+
}
|
|
1072
|
+
protoOf(JsonArraySerializer).bj = function () {
|
|
1073
|
+
return this.h15_1;
|
|
1074
|
+
};
|
|
1075
|
+
protoOf(JsonArraySerializer).s15 = function (encoder, value) {
|
|
1076
|
+
verify(encoder);
|
|
1077
|
+
ListSerializer(JsonElementSerializer_getInstance()).cj(encoder, value);
|
|
1078
|
+
};
|
|
1079
|
+
protoOf(JsonArraySerializer).cj = function (encoder, value) {
|
|
1080
|
+
return this.s15(encoder, value instanceof JsonArray ? value : THROW_CCE());
|
|
1081
|
+
};
|
|
1082
|
+
protoOf(JsonArraySerializer).dj = function (decoder) {
|
|
1083
|
+
verify_0(decoder);
|
|
1084
|
+
return new JsonArray(ListSerializer(JsonElementSerializer_getInstance()).dj(decoder));
|
|
1085
|
+
};
|
|
1086
|
+
var JsonArraySerializer_instance;
|
|
1087
|
+
function JsonArraySerializer_getInstance() {
|
|
1088
|
+
if (JsonArraySerializer_instance == null)
|
|
1089
|
+
new JsonArraySerializer();
|
|
1090
|
+
return JsonArraySerializer_instance;
|
|
1091
|
+
}
|
|
1069
1092
|
function verify(encoder) {
|
|
1070
1093
|
asJsonEncoder(encoder);
|
|
1071
1094
|
}
|
|
@@ -1303,20 +1326,6 @@
|
|
|
1303
1326
|
protoOf(JsonElementMarker).c17 = function () {
|
|
1304
1327
|
return this.z16_1.gs();
|
|
1305
1328
|
};
|
|
1306
|
-
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1307
|
-
entity = entity === VOID ? 'object' : entity;
|
|
1308
|
-
_this__u8e3s4.d17('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.x12_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1309
|
-
}
|
|
1310
|
-
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1311
|
-
_this__u8e3s4.e17('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1312
|
-
}
|
|
1313
|
-
function JsonEncodingException(message) {
|
|
1314
|
-
JsonException.call(this, message);
|
|
1315
|
-
captureStack(this, JsonEncodingException);
|
|
1316
|
-
}
|
|
1317
|
-
function InvalidKeyKindException(keyDescriptor) {
|
|
1318
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.fk() + "' 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.gk().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
1319
|
-
}
|
|
1320
1329
|
function JsonDecodingException(message) {
|
|
1321
1330
|
JsonException.call(this, message);
|
|
1322
1331
|
captureStack(this, JsonDecodingException);
|
|
@@ -1324,8 +1333,9 @@
|
|
|
1324
1333
|
function JsonDecodingException_0(offset, message, input) {
|
|
1325
1334
|
return JsonDecodingException_1(offset, message + '\nJSON input: ' + toString(minify(input, offset)));
|
|
1326
1335
|
}
|
|
1327
|
-
function
|
|
1328
|
-
|
|
1336
|
+
function JsonException(message) {
|
|
1337
|
+
SerializationException_init_$Init$(message, this);
|
|
1338
|
+
captureStack(this, JsonException);
|
|
1329
1339
|
}
|
|
1330
1340
|
function JsonDecodingException_1(offset, message) {
|
|
1331
1341
|
return new JsonDecodingException(offset >= 0 ? 'Unexpected JSON token at offset ' + offset + ': ' + message : message);
|
|
@@ -1351,13 +1361,26 @@
|
|
|
1351
1361
|
var endIndex_0 = coerceAtMost(end, charSequenceLength(_this__u8e3s4));
|
|
1352
1362
|
return prefix + toString(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex_0)) + suffix;
|
|
1353
1363
|
}
|
|
1364
|
+
function invalidTrailingComma(_this__u8e3s4, entity) {
|
|
1365
|
+
entity = entity === VOID ? 'object' : entity;
|
|
1366
|
+
_this__u8e3s4.d17('Trailing comma before the end of JSON ' + entity, _this__u8e3s4.x12_1 - 1 | 0, "Trailing commas are non-complaint JSON and not allowed by default. Use 'allowTrailingComma = true' in 'Json {}' builder to support them.");
|
|
1367
|
+
}
|
|
1368
|
+
function throwInvalidFloatingPointDecoded(_this__u8e3s4, result) {
|
|
1369
|
+
_this__u8e3s4.e17('Unexpected special floating-point value ' + toString(result) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification', VOID, "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'");
|
|
1370
|
+
}
|
|
1371
|
+
function JsonEncodingException(message) {
|
|
1372
|
+
JsonException.call(this, message);
|
|
1373
|
+
captureStack(this, JsonEncodingException);
|
|
1374
|
+
}
|
|
1375
|
+
function InvalidKeyKindException(keyDescriptor) {
|
|
1376
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.fk() + "' 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.gk().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
1377
|
+
}
|
|
1378
|
+
function InvalidFloatingPointDecoded(value, key, output) {
|
|
1379
|
+
return JsonDecodingException_1(-1, unexpectedFpErrorMessage(value, key, output));
|
|
1380
|
+
}
|
|
1354
1381
|
function InvalidFloatingPointEncoded(value, output) {
|
|
1355
1382
|
return new JsonEncodingException('Unexpected special floating-point value ' + toString(value) + '. By default, ' + "non-finite floating point values are prohibited because they do not conform JSON specification. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output))));
|
|
1356
1383
|
}
|
|
1357
|
-
function JsonException(message) {
|
|
1358
|
-
SerializationException_init_$Init$(message, this);
|
|
1359
|
-
captureStack(this, JsonException);
|
|
1360
|
-
}
|
|
1361
1384
|
function unexpectedFpErrorMessage(value, key, output) {
|
|
1362
1385
|
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. It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString(minify(output)));
|
|
1363
1386
|
}
|
|
@@ -2382,7 +2405,7 @@
|
|
|
2382
2405
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
2383
2406
|
}
|
|
2384
2407
|
var jsonTree = tmp0;
|
|
2385
|
-
var tmp0_safe_receiver = jsonTree.
|
|
2408
|
+
var tmp0_safe_receiver = jsonTree.r14(discriminator_0);
|
|
2386
2409
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
2387
2410
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
2388
2411
|
var tmp_4;
|
|
@@ -2428,7 +2451,7 @@
|
|
|
2428
2451
|
} catch ($p) {
|
|
2429
2452
|
if ($p instanceof MissingFieldException) {
|
|
2430
2453
|
var e = $p;
|
|
2431
|
-
if (
|
|
2454
|
+
if (contains_0(ensureNotNull(e.message), 'at path'))
|
|
2432
2455
|
throw e;
|
|
2433
2456
|
throw new MissingFieldException(e.vj_1, plus(e.message, ' at path: ') + this.r12_1.y12_1.r17(), e);
|
|
2434
2457
|
} else {
|
|
@@ -3259,7 +3282,7 @@
|
|
|
3259
3282
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_0 + ', but had ' + tmp_1 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
|
|
3260
3283
|
}
|
|
3261
3284
|
var jsonTree = tmp0;
|
|
3262
|
-
var tmp0_safe_receiver = jsonTree.
|
|
3285
|
+
var tmp0_safe_receiver = jsonTree.r14(discriminator);
|
|
3263
3286
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
|
|
3264
3287
|
var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
|
|
3265
3288
|
var tmp_2;
|
|
@@ -3433,7 +3456,7 @@
|
|
|
3433
3456
|
var tmp_1;
|
|
3434
3457
|
// Inline function 'kotlin.ranges.contains' call
|
|
3435
3458
|
var this_0 = numberRangeToNumber(-128, 127);
|
|
3436
|
-
if (
|
|
3459
|
+
if (contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result)) {
|
|
3437
3460
|
tmp_1 = convertToByte(result);
|
|
3438
3461
|
} else {
|
|
3439
3462
|
tmp_1 = null;
|
|
@@ -3480,7 +3503,7 @@
|
|
|
3480
3503
|
var tmp_1;
|
|
3481
3504
|
// Inline function 'kotlin.ranges.contains' call
|
|
3482
3505
|
var this_0 = numberRangeToNumber(-32768, 32767);
|
|
3483
|
-
if (
|
|
3506
|
+
if (contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result)) {
|
|
3484
3507
|
tmp_1 = convertToShort(result);
|
|
3485
3508
|
} else {
|
|
3486
3509
|
tmp_1 = null;
|
|
@@ -3527,7 +3550,7 @@
|
|
|
3527
3550
|
var tmp_1;
|
|
3528
3551
|
// Inline function 'kotlin.ranges.contains' call
|
|
3529
3552
|
var this_0 = numberRangeToNumber(-2147483648, 2147483647);
|
|
3530
|
-
if (
|
|
3553
|
+
if (contains(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), result)) {
|
|
3531
3554
|
tmp_1 = convertToInt(result);
|
|
3532
3555
|
} else {
|
|
3533
3556
|
tmp_1 = null;
|
|
@@ -3692,7 +3715,7 @@
|
|
|
3692
3715
|
}
|
|
3693
3716
|
var literal = value;
|
|
3694
3717
|
try {
|
|
3695
|
-
var tmp0_elvis_lhs = new Char(single(literal.
|
|
3718
|
+
var tmp0_elvis_lhs = new Char(single(literal.o14()));
|
|
3696
3719
|
var tmp_1;
|
|
3697
3720
|
if (tmp0_elvis_lhs == null) {
|
|
3698
3721
|
unparsedPrimitive(this, literal, 'char', tag);
|
|
@@ -3728,10 +3751,10 @@
|
|
|
3728
3751
|
var value_0 = value;
|
|
3729
3752
|
if (!(value_0 instanceof JsonLiteral))
|
|
3730
3753
|
throw JsonDecodingException_0(-1, "Expected string value for a non-null key '" + tag + "', got null literal instead at element: " + this.t1a(tag), toString(this.u1a()));
|
|
3731
|
-
if (!value_0.
|
|
3754
|
+
if (!value_0.a15_1 && !this.m14().g12_1.x13_1) {
|
|
3732
3755
|
throw JsonDecodingException_0(-1, "String literal for key '" + tag + "' should be quoted at element: " + this.t1a(tag) + ".\nUse 'isLenient = true' in 'Json {}' builder to accept non-compliant JSON.", toString(this.u1a()));
|
|
3733
3756
|
}
|
|
3734
|
-
return value_0.
|
|
3757
|
+
return value_0.c15_1;
|
|
3735
3758
|
};
|
|
3736
3759
|
protoOf(AbstractJsonTreeDecoder).b10 = function (tag) {
|
|
3737
3760
|
return this.f1b((!(tag == null) ? typeof tag === 'string' : false) ? tag : THROW_CCE());
|
|
@@ -3751,7 +3774,7 @@
|
|
|
3751
3774
|
var tmp$ret$0 = this.t1a(tag);
|
|
3752
3775
|
throw JsonDecodingException_0(-1, 'Expected ' + tmp_1 + ', but had ' + tmp_2 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$0, toString(tmp2));
|
|
3753
3776
|
}
|
|
3754
|
-
var lexer = StringJsonLexer_0(tmp_0, tmp2.
|
|
3777
|
+
var lexer = StringJsonLexer_0(tmp_0, tmp2.o14());
|
|
3755
3778
|
tmp = new JsonDecoderForUnsignedTypes(lexer, this.m14());
|
|
3756
3779
|
} else {
|
|
3757
3780
|
tmp = protoOf(NamedValueDecoder).c10.call(this, tag, inlineDescriptor);
|
|
@@ -3899,7 +3922,7 @@
|
|
|
3899
3922
|
return getValue(this.t1(), tag);
|
|
3900
3923
|
};
|
|
3901
3924
|
protoOf(JsonTreeDecoder).r1b = function (tag) {
|
|
3902
|
-
return this.t1().
|
|
3925
|
+
return this.t1().r14(tag);
|
|
3903
3926
|
};
|
|
3904
3927
|
protoOf(JsonTreeDecoder).yl = function (descriptor) {
|
|
3905
3928
|
if (descriptor === this.o1b_1) {
|
|
@@ -4673,7 +4696,7 @@
|
|
|
4673
4696
|
}
|
|
4674
4697
|
return tmp_0;
|
|
4675
4698
|
};
|
|
4676
|
-
protoOf(AbstractJsonLexer).
|
|
4699
|
+
protoOf(AbstractJsonLexer).s14 = function () {
|
|
4677
4700
|
var result = this.k1a();
|
|
4678
4701
|
var next = this.o18();
|
|
4679
4702
|
if (!(next === 10)) {
|
|
@@ -5051,8 +5074,12 @@
|
|
|
5051
5074
|
//region block: exports
|
|
5052
5075
|
_.$_$ = _.$_$ || {};
|
|
5053
5076
|
_.$_$.a = Default_getInstance;
|
|
5054
|
-
_.$_$.b =
|
|
5055
|
-
_.$_$.c =
|
|
5077
|
+
_.$_$.b = JsonElementSerializer_getInstance;
|
|
5078
|
+
_.$_$.c = Json_0;
|
|
5079
|
+
_.$_$.d = get_float;
|
|
5080
|
+
_.$_$.e = get_int;
|
|
5081
|
+
_.$_$.f = get_jsonObject;
|
|
5082
|
+
_.$_$.g = get_jsonPrimitive;
|
|
5056
5083
|
//endregion
|
|
5057
5084
|
return _;
|
|
5058
5085
|
}(module.exports, require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlin-kotlin-stdlib.js')));
|