git-digger 1.5.34 → 1.5.35
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/Kotlin-DateTime-library-kotlinx-datetime.js +1250 -1250
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +89 -89
- package/kotlin/clikt-clikt.js +1608 -1608
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +467 -467
- package/kotlin/command-line-tools-digger-cli.js +76 -76
- package/kotlin/kotlin-kotlin-stdlib.js +2018 -1732
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1123 -1063
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +326 -315
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1344 -1344
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +152 -152
- package/kotlin/tools-digger-json.js +114 -114
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +72 -72
- package/package.json +1 -1
|
@@ -2,141 +2,137 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.q8;
|
|
6
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.u7;
|
|
7
7
|
var VOID = kotlin_kotlin.$_$.g;
|
|
8
8
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.x2;
|
|
9
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
10
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
9
|
+
var Unit_instance = kotlin_kotlin.$_$.i3;
|
|
10
|
+
var emptyList = kotlin_kotlin.$_$.n4;
|
|
11
11
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
12
|
-
var lazy = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
12
|
+
var lazy = kotlin_kotlin.$_$.qc;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.t8;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.r7;
|
|
15
15
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
16
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
17
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
16
|
+
var KProperty1 = kotlin_kotlin.$_$.h9;
|
|
17
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.o7;
|
|
18
18
|
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.b1;
|
|
19
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
20
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
19
|
+
var objectCreate = kotlin_kotlin.$_$.p8;
|
|
20
|
+
var captureStack = kotlin_kotlin.$_$.e7;
|
|
21
21
|
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.c1;
|
|
22
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
23
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
22
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.sb;
|
|
23
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.f4;
|
|
24
24
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
26
|
-
var KClass = kotlin_kotlin.$_$.
|
|
27
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
28
|
-
var Triple = kotlin_kotlin.$_$.
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
26
|
+
var KClass = kotlin_kotlin.$_$.d9;
|
|
27
|
+
var isInterface = kotlin_kotlin.$_$.f8;
|
|
28
|
+
var Triple = kotlin_kotlin.$_$.zb;
|
|
29
29
|
var getKClass = kotlin_kotlin.$_$.f;
|
|
30
|
-
var Pair = kotlin_kotlin.$_$.
|
|
31
|
-
var Entry = kotlin_kotlin.$_$.
|
|
32
|
-
var
|
|
33
|
-
var KtMutableMap = kotlin_kotlin.$_$.
|
|
34
|
-
var
|
|
35
|
-
var HashMap = kotlin_kotlin.$_$.
|
|
36
|
-
var
|
|
37
|
-
var KtMutableSet = kotlin_kotlin.$_$.
|
|
38
|
-
var
|
|
39
|
-
var HashSet = kotlin_kotlin.$_$.
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
30
|
+
var Pair = kotlin_kotlin.$_$.vb;
|
|
31
|
+
var Entry = kotlin_kotlin.$_$.q3;
|
|
32
|
+
var KtMap = kotlin_kotlin.$_$.r3;
|
|
33
|
+
var KtMutableMap = kotlin_kotlin.$_$.t3;
|
|
34
|
+
var LinkedHashMap = kotlin_kotlin.$_$.n3;
|
|
35
|
+
var HashMap = kotlin_kotlin.$_$.l3;
|
|
36
|
+
var KtSet = kotlin_kotlin.$_$.v3;
|
|
37
|
+
var KtMutableSet = kotlin_kotlin.$_$.u3;
|
|
38
|
+
var LinkedHashSet = kotlin_kotlin.$_$.o3;
|
|
39
|
+
var HashSet = kotlin_kotlin.$_$.m3;
|
|
40
|
+
var Collection = kotlin_kotlin.$_$.k3;
|
|
41
|
+
var KtList = kotlin_kotlin.$_$.p3;
|
|
42
|
+
var KtMutableList = kotlin_kotlin.$_$.s3;
|
|
43
|
+
var ArrayList = kotlin_kotlin.$_$.j3;
|
|
44
|
+
var copyToArray = kotlin_kotlin.$_$.k4;
|
|
45
45
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.w1;
|
|
46
46
|
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.u1;
|
|
47
|
-
var Result = kotlin_kotlin.$_$.
|
|
48
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
49
|
-
var equals = kotlin_kotlin.$_$.
|
|
50
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
47
|
+
var Result = kotlin_kotlin.$_$.wb;
|
|
48
|
+
var ensureNotNull = kotlin_kotlin.$_$.nc;
|
|
49
|
+
var equals = kotlin_kotlin.$_$.k7;
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.p7;
|
|
51
51
|
var isBlank = kotlin_kotlin.$_$.ia;
|
|
52
52
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
53
|
-
var toList = kotlin_kotlin.$_$.
|
|
53
|
+
var toList = kotlin_kotlin.$_$.l6;
|
|
54
54
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
55
55
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
56
|
-
var toHashSet = kotlin_kotlin.$_$.
|
|
57
|
-
var toBooleanArray = kotlin_kotlin.$_$.
|
|
58
|
-
var withIndex = kotlin_kotlin.$_$.
|
|
59
|
-
var to = kotlin_kotlin.$_$.
|
|
60
|
-
var toMap = kotlin_kotlin.$_$.
|
|
61
|
-
var lazy_0 = kotlin_kotlin.$_$.
|
|
62
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
63
|
-
var until = kotlin_kotlin.$_$.
|
|
64
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
65
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
66
|
-
var Char = kotlin_kotlin.$_$.
|
|
56
|
+
var toHashSet = kotlin_kotlin.$_$.i6;
|
|
57
|
+
var toBooleanArray = kotlin_kotlin.$_$.h6;
|
|
58
|
+
var withIndex = kotlin_kotlin.$_$.r6;
|
|
59
|
+
var to = kotlin_kotlin.$_$.wc;
|
|
60
|
+
var toMap = kotlin_kotlin.$_$.m6;
|
|
61
|
+
var lazy_0 = kotlin_kotlin.$_$.rc;
|
|
62
|
+
var contentEquals = kotlin_kotlin.$_$.h4;
|
|
63
|
+
var until = kotlin_kotlin.$_$.c9;
|
|
64
|
+
var joinToString = kotlin_kotlin.$_$.y4;
|
|
65
|
+
var initMetadataForObject = kotlin_kotlin.$_$.w7;
|
|
66
|
+
var Char = kotlin_kotlin.$_$.mb;
|
|
67
67
|
var Duration__toIsoString_impl_9h6wsm = kotlin_kotlin.$_$.o1;
|
|
68
|
-
var Duration = kotlin_kotlin.$_$.
|
|
69
|
-
var
|
|
68
|
+
var Duration = kotlin_kotlin.$_$.jb;
|
|
69
|
+
var Uuid = kotlin_kotlin.$_$.kb;
|
|
70
|
+
var hashCode = kotlin_kotlin.$_$.q7;
|
|
70
71
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
71
|
-
var isArray = kotlin_kotlin.$_$.
|
|
72
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
72
|
+
var isArray = kotlin_kotlin.$_$.x7;
|
|
73
|
+
var arrayIterator = kotlin_kotlin.$_$.c7;
|
|
73
74
|
var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.o;
|
|
74
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
75
|
-
var KTypeParameter = kotlin_kotlin.$_$.
|
|
75
|
+
var toString_0 = kotlin_kotlin.$_$.vc;
|
|
76
|
+
var KTypeParameter = kotlin_kotlin.$_$.i9;
|
|
77
|
+
var contentHashCode = kotlin_kotlin.$_$.j4;
|
|
76
78
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
77
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
78
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
79
|
-
var emptyMap = kotlin_kotlin.$_$.
|
|
80
|
-
var
|
|
81
|
-
var
|
|
82
|
-
var isCharArray = kotlin_kotlin.$_$.z7;
|
|
79
|
+
var fillArrayVal = kotlin_kotlin.$_$.l7;
|
|
80
|
+
var booleanArray = kotlin_kotlin.$_$.d7;
|
|
81
|
+
var emptyMap = kotlin_kotlin.$_$.o4;
|
|
82
|
+
var Companion_getInstance = kotlin_kotlin.$_$.b3;
|
|
83
|
+
var isCharArray = kotlin_kotlin.$_$.a8;
|
|
83
84
|
var DoubleCompanionObject_instance = kotlin_kotlin.$_$.t2;
|
|
84
|
-
var isDoubleArray = kotlin_kotlin.$_$.
|
|
85
|
+
var isDoubleArray = kotlin_kotlin.$_$.c8;
|
|
85
86
|
var FloatCompanionObject_instance = kotlin_kotlin.$_$.u2;
|
|
86
|
-
var isFloatArray = kotlin_kotlin.$_$.
|
|
87
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
88
|
-
var isLongArray = kotlin_kotlin.$_$.
|
|
89
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
87
|
+
var isFloatArray = kotlin_kotlin.$_$.d8;
|
|
88
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.c3;
|
|
89
|
+
var isLongArray = kotlin_kotlin.$_$.g8;
|
|
90
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.g3;
|
|
90
91
|
var _ULongArray___get_size__impl__ju6dtr = kotlin_kotlin.$_$.l2;
|
|
91
|
-
var ULongArray = kotlin_kotlin.$_$.
|
|
92
|
+
var ULongArray = kotlin_kotlin.$_$.ec;
|
|
92
93
|
var ULongArray__get_impl_pr71q9 = kotlin_kotlin.$_$.k2;
|
|
93
94
|
var _ULong___get_data__impl__fggpzb = kotlin_kotlin.$_$.i2;
|
|
94
95
|
var IntCompanionObject_instance = kotlin_kotlin.$_$.v2;
|
|
95
|
-
var isIntArray = kotlin_kotlin.$_$.
|
|
96
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
96
|
+
var isIntArray = kotlin_kotlin.$_$.e8;
|
|
97
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.f3;
|
|
97
98
|
var _UIntArray___get_size__impl__r6l8ci = kotlin_kotlin.$_$.g2;
|
|
98
|
-
var UIntArray = kotlin_kotlin.$_$.
|
|
99
|
+
var UIntArray = kotlin_kotlin.$_$.cc;
|
|
99
100
|
var UIntArray__get_impl_gp5kza = kotlin_kotlin.$_$.f2;
|
|
100
101
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.d2;
|
|
101
102
|
var ShortCompanionObject_instance = kotlin_kotlin.$_$.w2;
|
|
102
|
-
var isShortArray = kotlin_kotlin.$_$.
|
|
103
|
-
var Companion_getInstance_3 = kotlin_kotlin.$_$.
|
|
103
|
+
var isShortArray = kotlin_kotlin.$_$.h8;
|
|
104
|
+
var Companion_getInstance_3 = kotlin_kotlin.$_$.h3;
|
|
104
105
|
var _UShortArray___get_size__impl__jqto1b = kotlin_kotlin.$_$.q2;
|
|
105
|
-
var UShortArray = kotlin_kotlin.$_$.
|
|
106
|
+
var UShortArray = kotlin_kotlin.$_$.gc;
|
|
106
107
|
var UShortArray__get_impl_fnbhmx = kotlin_kotlin.$_$.p2;
|
|
107
108
|
var _UShort___get_data__impl__g0245 = kotlin_kotlin.$_$.n2;
|
|
108
109
|
var ByteCompanionObject_instance = kotlin_kotlin.$_$.s2;
|
|
109
|
-
var isByteArray = kotlin_kotlin.$_$.
|
|
110
|
-
var Companion_getInstance_4 = kotlin_kotlin.$_$.
|
|
110
|
+
var isByteArray = kotlin_kotlin.$_$.z7;
|
|
111
|
+
var Companion_getInstance_4 = kotlin_kotlin.$_$.e3;
|
|
111
112
|
var _UByteArray___get_size__impl__h6pkdv = kotlin_kotlin.$_$.b2;
|
|
112
|
-
var UByteArray = kotlin_kotlin.$_$.
|
|
113
|
+
var UByteArray = kotlin_kotlin.$_$.ac;
|
|
113
114
|
var UByteArray__get_impl_t5f3hv = kotlin_kotlin.$_$.a2;
|
|
114
115
|
var _UByte___get_data__impl__jof9qr = kotlin_kotlin.$_$.y1;
|
|
115
116
|
var BooleanCompanionObject_instance = kotlin_kotlin.$_$.r2;
|
|
116
|
-
var isBooleanArray = kotlin_kotlin.$_$.
|
|
117
|
-
var Long = kotlin_kotlin.$_$.
|
|
118
|
-
var Unit = kotlin_kotlin.$_$.
|
|
119
|
-
var trimIndent = kotlin_kotlin.$_$.
|
|
120
|
-
var
|
|
121
|
-
var
|
|
122
|
-
var
|
|
123
|
-
var
|
|
124
|
-
var titlecase = kotlin_kotlin.$_$.db;
|
|
125
|
-
var isLowerCase = kotlin_kotlin.$_$.ka;
|
|
117
|
+
var isBooleanArray = kotlin_kotlin.$_$.y7;
|
|
118
|
+
var Long = kotlin_kotlin.$_$.ub;
|
|
119
|
+
var Unit = kotlin_kotlin.$_$.ic;
|
|
120
|
+
var trimIndent = kotlin_kotlin.$_$.fb;
|
|
121
|
+
var ULong = kotlin_kotlin.$_$.fc;
|
|
122
|
+
var UInt = kotlin_kotlin.$_$.dc;
|
|
123
|
+
var UShort = kotlin_kotlin.$_$.hc;
|
|
124
|
+
var UByte = kotlin_kotlin.$_$.bc;
|
|
126
125
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.y2;
|
|
127
|
-
var ULong = kotlin_kotlin.$_$.gc;
|
|
128
|
-
var UInt = kotlin_kotlin.$_$.ec;
|
|
129
|
-
var UShort = kotlin_kotlin.$_$.ic;
|
|
130
|
-
var UByte = kotlin_kotlin.$_$.cc;
|
|
131
126
|
var Companion_getInstance_5 = kotlin_kotlin.$_$.z2;
|
|
132
|
-
var
|
|
133
|
-
var
|
|
127
|
+
var Companion_getInstance_6 = kotlin_kotlin.$_$.a3;
|
|
128
|
+
var mapOf = kotlin_kotlin.$_$.k5;
|
|
129
|
+
var get_js = kotlin_kotlin.$_$.i8;
|
|
134
130
|
var findAssociatedObject = kotlin_kotlin.$_$.d;
|
|
135
|
-
var get_indices = kotlin_kotlin.$_$.
|
|
131
|
+
var get_indices = kotlin_kotlin.$_$.w4;
|
|
136
132
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
137
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
133
|
+
var Companion_instance = kotlin_kotlin.$_$.d3;
|
|
138
134
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t1;
|
|
139
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
135
|
+
var createFailure = kotlin_kotlin.$_$.mc;
|
|
140
136
|
//endregion
|
|
141
137
|
//region block: pre-declaration
|
|
142
138
|
initMetadataForInterface(SerializationStrategy, 'SerializationStrategy');
|
|
@@ -164,6 +160,8 @@
|
|
|
164
160
|
initMetadataForClass(SerialKind, 'SerialKind');
|
|
165
161
|
initMetadataForObject(ENUM, 'ENUM', VOID, SerialKind);
|
|
166
162
|
initMetadataForObject(CONTEXTUAL, 'CONTEXTUAL', VOID, SerialKind);
|
|
163
|
+
initMetadataForClass(PolymorphicKind, 'PolymorphicKind', VOID, SerialKind);
|
|
164
|
+
initMetadataForObject(OPEN, 'OPEN', VOID, PolymorphicKind);
|
|
167
165
|
initMetadataForClass(PrimitiveKind, 'PrimitiveKind', VOID, SerialKind);
|
|
168
166
|
initMetadataForObject(BOOLEAN, 'BOOLEAN', VOID, PrimitiveKind);
|
|
169
167
|
initMetadataForObject(BYTE, 'BYTE', VOID, PrimitiveKind);
|
|
@@ -179,26 +177,24 @@
|
|
|
179
177
|
initMetadataForObject(LIST, 'LIST', VOID, StructureKind);
|
|
180
178
|
initMetadataForObject(MAP, 'MAP', VOID, StructureKind);
|
|
181
179
|
initMetadataForObject(OBJECT, 'OBJECT', VOID, StructureKind);
|
|
182
|
-
initMetadataForClass(PolymorphicKind, 'PolymorphicKind', VOID, SerialKind);
|
|
183
|
-
initMetadataForObject(OPEN, 'OPEN', VOID, PolymorphicKind);
|
|
184
180
|
function encodeNotNullMark() {
|
|
185
181
|
}
|
|
186
182
|
function beginCollection(descriptor, collectionSize) {
|
|
187
|
-
return this.
|
|
183
|
+
return this.ql(descriptor);
|
|
188
184
|
}
|
|
189
185
|
function encodeSerializableValue(serializer, value) {
|
|
190
|
-
serializer.
|
|
186
|
+
serializer.pj(this, value);
|
|
191
187
|
}
|
|
192
188
|
function encodeNullableSerializableValue(serializer, value) {
|
|
193
|
-
var isNullabilitySupported = serializer.
|
|
189
|
+
var isNullabilitySupported = serializer.oj().lk();
|
|
194
190
|
if (isNullabilitySupported) {
|
|
195
|
-
return this.
|
|
191
|
+
return this.qm(isInterface(serializer, SerializationStrategy) ? serializer : THROW_CCE(), value);
|
|
196
192
|
}
|
|
197
193
|
if (value == null) {
|
|
198
|
-
this.
|
|
194
|
+
this.ul();
|
|
199
195
|
} else {
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
196
|
+
this.um();
|
|
197
|
+
this.qm(serializer, value);
|
|
202
198
|
}
|
|
203
199
|
}
|
|
204
200
|
initMetadataForInterface(Encoder, 'Encoder');
|
|
@@ -209,6 +205,7 @@
|
|
|
209
205
|
initMetadataForClass(AbstractEncoder, 'AbstractEncoder', VOID, VOID, [Encoder, CompositeEncoder]);
|
|
210
206
|
initMetadataForObject(NothingSerializer_0, 'NothingSerializer', VOID, VOID, [KSerializer]);
|
|
211
207
|
initMetadataForObject(DurationSerializer, 'DurationSerializer', VOID, VOID, [KSerializer]);
|
|
208
|
+
initMetadataForObject(UuidSerializer, 'UuidSerializer', VOID, VOID, [KSerializer]);
|
|
212
209
|
initMetadataForClass(ListLikeDescriptor, 'ListLikeDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
213
210
|
initMetadataForClass(ArrayListClassDesc, 'ArrayListClassDesc', VOID, ListLikeDescriptor);
|
|
214
211
|
initMetadataForClass(HashSetClassDesc, 'HashSetClassDesc', VOID, ListLikeDescriptor);
|
|
@@ -285,43 +282,43 @@
|
|
|
285
282
|
}
|
|
286
283
|
function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
287
284
|
return function ($this$buildSerialDescriptor) {
|
|
288
|
-
$this$buildSerialDescriptor.
|
|
289
|
-
$this$buildSerialDescriptor.
|
|
290
|
-
$this$buildSerialDescriptor.
|
|
285
|
+
$this$buildSerialDescriptor.yj('type', serializer_0(StringCompanionObject_instance).oj());
|
|
286
|
+
$this$buildSerialDescriptor.yj('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.zj_1.aa() + '>', CONTEXTUAL_getInstance(), []));
|
|
287
|
+
$this$buildSerialDescriptor.sj_1 = this$0.ak_1;
|
|
291
288
|
return Unit_instance;
|
|
292
289
|
};
|
|
293
290
|
}
|
|
294
291
|
function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
|
|
295
292
|
return function () {
|
|
296
293
|
var tmp = OPEN_getInstance();
|
|
297
|
-
return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.
|
|
294
|
+
return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.zj_1);
|
|
298
295
|
};
|
|
299
296
|
}
|
|
300
297
|
function PolymorphicSerializer(baseClass) {
|
|
301
298
|
AbstractPolymorphicSerializer.call(this);
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
299
|
+
this.zj_1 = baseClass;
|
|
300
|
+
this.ak_1 = emptyList();
|
|
304
301
|
var tmp = this;
|
|
305
302
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
306
|
-
tmp.
|
|
303
|
+
tmp.bk_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda(this));
|
|
307
304
|
}
|
|
308
|
-
protoOf(PolymorphicSerializer).
|
|
309
|
-
return this.
|
|
305
|
+
protoOf(PolymorphicSerializer).ck = function () {
|
|
306
|
+
return this.zj_1;
|
|
310
307
|
};
|
|
311
|
-
protoOf(PolymorphicSerializer).
|
|
312
|
-
var tmp0 = this.
|
|
308
|
+
protoOf(PolymorphicSerializer).oj = function () {
|
|
309
|
+
var tmp0 = this.bk_1;
|
|
313
310
|
// Inline function 'kotlin.getValue' call
|
|
314
311
|
descriptor$factory();
|
|
315
312
|
return tmp0.z();
|
|
316
313
|
};
|
|
317
314
|
protoOf(PolymorphicSerializer).toString = function () {
|
|
318
|
-
return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.
|
|
315
|
+
return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.zj_1) + ')';
|
|
319
316
|
};
|
|
320
317
|
function findPolymorphicSerializer(_this__u8e3s4, encoder, value) {
|
|
321
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
318
|
+
var tmp0_elvis_lhs = _this__u8e3s4.ek(encoder, value);
|
|
322
319
|
var tmp;
|
|
323
320
|
if (tmp0_elvis_lhs == null) {
|
|
324
|
-
throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.
|
|
321
|
+
throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.ck());
|
|
325
322
|
} else {
|
|
326
323
|
tmp = tmp0_elvis_lhs;
|
|
327
324
|
}
|
|
@@ -329,11 +326,22 @@
|
|
|
329
326
|
}
|
|
330
327
|
function descriptor$factory() {
|
|
331
328
|
return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
|
|
332
|
-
return receiver.
|
|
329
|
+
return receiver.oj();
|
|
333
330
|
}, null);
|
|
334
331
|
}
|
|
335
332
|
function SealedClassSerializer() {
|
|
336
333
|
}
|
|
334
|
+
protoOf(SealedClassSerializer).oj = function () {
|
|
335
|
+
var tmp0 = this.fk_1;
|
|
336
|
+
// Inline function 'kotlin.getValue' call
|
|
337
|
+
descriptor$factory_0();
|
|
338
|
+
return tmp0.z();
|
|
339
|
+
};
|
|
340
|
+
function descriptor$factory_0() {
|
|
341
|
+
return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
|
|
342
|
+
return receiver.oj();
|
|
343
|
+
}, null);
|
|
344
|
+
}
|
|
337
345
|
function SerializationException_init_$Init$($this) {
|
|
338
346
|
IllegalArgumentException_init_$Init$($this);
|
|
339
347
|
SerializationException.call($this);
|
|
@@ -417,15 +425,15 @@
|
|
|
417
425
|
}
|
|
418
426
|
function builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray) {
|
|
419
427
|
var tmp;
|
|
420
|
-
if (
|
|
428
|
+
if (_this__u8e3s4.equals(getKClass(Collection)) || _this__u8e3s4.equals(getKClass(KtList)) || (_this__u8e3s4.equals(getKClass(KtMutableList)) || _this__u8e3s4.equals(getKClass(ArrayList)))) {
|
|
421
429
|
tmp = new ArrayListSerializer(serializers.q(0));
|
|
422
430
|
} else if (_this__u8e3s4.equals(getKClass(HashSet))) {
|
|
423
431
|
tmp = new HashSetSerializer(serializers.q(0));
|
|
424
|
-
} else if (
|
|
432
|
+
} else if (_this__u8e3s4.equals(getKClass(KtSet)) || (_this__u8e3s4.equals(getKClass(KtMutableSet)) || _this__u8e3s4.equals(getKClass(LinkedHashSet)))) {
|
|
425
433
|
tmp = new LinkedHashSetSerializer(serializers.q(0));
|
|
426
434
|
} else if (_this__u8e3s4.equals(getKClass(HashMap))) {
|
|
427
435
|
tmp = new HashMapSerializer(serializers.q(0), serializers.q(1));
|
|
428
|
-
} else if (
|
|
436
|
+
} else if (_this__u8e3s4.equals(getKClass(KtMap)) || (_this__u8e3s4.equals(getKClass(KtMutableMap)) || _this__u8e3s4.equals(getKClass(LinkedHashMap)))) {
|
|
429
437
|
tmp = new LinkedHashMapSerializer(serializers.q(0), serializers.q(1));
|
|
430
438
|
} else if (_this__u8e3s4.equals(getKClass(Entry))) {
|
|
431
439
|
tmp = MapEntrySerializer(serializers.q(0), serializers.q(1));
|
|
@@ -452,9 +460,9 @@
|
|
|
452
460
|
}
|
|
453
461
|
function serializerByKTypeImpl(_this__u8e3s4, type, failOnMissingTypeArgSerializer) {
|
|
454
462
|
var rootClass = kclass(type);
|
|
455
|
-
var isNullable = type.
|
|
463
|
+
var isNullable = type.qa();
|
|
456
464
|
// Inline function 'kotlin.collections.map' call
|
|
457
|
-
var this_0 = type.
|
|
465
|
+
var this_0 = type.pa();
|
|
458
466
|
// Inline function 'kotlin.collections.mapTo' call
|
|
459
467
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
460
468
|
var _iterator__ex2g4s = this_0.m();
|
|
@@ -467,51 +475,76 @@
|
|
|
467
475
|
var typeArguments = destination;
|
|
468
476
|
var tmp;
|
|
469
477
|
if (typeArguments.j()) {
|
|
470
|
-
tmp = findCachedSerializer(rootClass, isNullable);
|
|
471
|
-
} else {
|
|
472
|
-
// Inline function 'kotlin.Result.getOrNull' call
|
|
473
|
-
var this_1 = findParametrizedCachedSerializer(rootClass, typeArguments, isNullable);
|
|
474
478
|
var tmp_0;
|
|
475
|
-
if (
|
|
479
|
+
if (isInterface_0(rootClass) && !(_this__u8e3s4.hk(rootClass) == null)) {
|
|
476
480
|
tmp_0 = null;
|
|
477
481
|
} else {
|
|
478
|
-
|
|
479
|
-
tmp_0 = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
482
|
+
tmp_0 = findCachedSerializer(rootClass, isNullable);
|
|
480
483
|
}
|
|
481
484
|
tmp = tmp_0;
|
|
485
|
+
} else {
|
|
486
|
+
var tmp_1;
|
|
487
|
+
if (_this__u8e3s4.gk()) {
|
|
488
|
+
tmp_1 = null;
|
|
489
|
+
} else {
|
|
490
|
+
// Inline function 'kotlin.Result.getOrNull' call
|
|
491
|
+
var this_1 = findParametrizedCachedSerializer(rootClass, typeArguments, isNullable);
|
|
492
|
+
var tmp_2;
|
|
493
|
+
if (_Result___get_isFailure__impl__jpiriv(this_1)) {
|
|
494
|
+
tmp_2 = null;
|
|
495
|
+
} else {
|
|
496
|
+
var tmp_3 = _Result___get_value__impl__bjfvqg(this_1);
|
|
497
|
+
tmp_2 = (tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE();
|
|
498
|
+
}
|
|
499
|
+
tmp_1 = tmp_2;
|
|
500
|
+
}
|
|
501
|
+
tmp = tmp_1;
|
|
482
502
|
}
|
|
483
503
|
var cachedSerializer = tmp;
|
|
484
|
-
if (cachedSerializer == null)
|
|
485
|
-
null;
|
|
486
|
-
else {
|
|
487
|
-
// Inline function 'kotlin.let' call
|
|
504
|
+
if (!(cachedSerializer == null))
|
|
488
505
|
return cachedSerializer;
|
|
489
|
-
|
|
490
|
-
var tmp_2;
|
|
506
|
+
var tmp_4;
|
|
491
507
|
if (typeArguments.j()) {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
var
|
|
495
|
-
var tmp_3;
|
|
508
|
+
var tmp0_elvis_lhs = serializerOrNull(rootClass);
|
|
509
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _this__u8e3s4.hk(rootClass) : tmp0_elvis_lhs;
|
|
510
|
+
var tmp_5;
|
|
496
511
|
if (tmp1_elvis_lhs == null) {
|
|
512
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
513
|
+
tmp_5 = isInterface_0(rootClass) ? new PolymorphicSerializer(rootClass) : null;
|
|
514
|
+
} else {
|
|
515
|
+
tmp_5 = tmp1_elvis_lhs;
|
|
516
|
+
}
|
|
517
|
+
tmp_4 = tmp_5;
|
|
518
|
+
} else {
|
|
519
|
+
var tmp2_elvis_lhs = serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer);
|
|
520
|
+
var tmp_6;
|
|
521
|
+
if (tmp2_elvis_lhs == null) {
|
|
497
522
|
return null;
|
|
498
523
|
} else {
|
|
499
|
-
|
|
524
|
+
tmp_6 = tmp2_elvis_lhs;
|
|
500
525
|
}
|
|
501
|
-
var serializers =
|
|
502
|
-
var
|
|
503
|
-
|
|
526
|
+
var serializers = tmp_6;
|
|
527
|
+
var tmp3_elvis_lhs = parametrizedSerializerOrNull(rootClass, serializers, serializerByKTypeImpl$lambda(typeArguments));
|
|
528
|
+
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? _this__u8e3s4.ik(rootClass, serializers) : tmp3_elvis_lhs;
|
|
529
|
+
var tmp_7;
|
|
530
|
+
if (tmp4_elvis_lhs == null) {
|
|
531
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
532
|
+
tmp_7 = isInterface_0(rootClass) ? new PolymorphicSerializer(rootClass) : null;
|
|
533
|
+
} else {
|
|
534
|
+
tmp_7 = tmp4_elvis_lhs;
|
|
535
|
+
}
|
|
536
|
+
tmp_4 = tmp_7;
|
|
504
537
|
}
|
|
505
|
-
var contextualSerializer =
|
|
506
|
-
var
|
|
538
|
+
var contextualSerializer = tmp_4;
|
|
539
|
+
var tmp_8;
|
|
507
540
|
if (contextualSerializer == null) {
|
|
508
|
-
|
|
541
|
+
tmp_8 = null;
|
|
509
542
|
} else {
|
|
510
543
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
511
|
-
|
|
544
|
+
tmp_8 = isInterface(contextualSerializer, KSerializer) ? contextualSerializer : THROW_CCE();
|
|
512
545
|
}
|
|
513
|
-
var
|
|
514
|
-
return
|
|
546
|
+
var tmp6_safe_receiver = tmp_8;
|
|
547
|
+
return tmp6_safe_receiver == null ? null : nullable(tmp6_safe_receiver, isNullable);
|
|
515
548
|
}
|
|
516
549
|
function nullable(_this__u8e3s4, shouldBeNullable) {
|
|
517
550
|
if (shouldBeNullable)
|
|
@@ -520,7 +553,7 @@
|
|
|
520
553
|
}
|
|
521
554
|
function serializerByKTypeImpl$lambda($typeArguments) {
|
|
522
555
|
return function () {
|
|
523
|
-
return $typeArguments.q(0).
|
|
556
|
+
return $typeArguments.q(0).oa();
|
|
524
557
|
};
|
|
525
558
|
}
|
|
526
559
|
function get_SERIALIZERS_CACHE() {
|
|
@@ -547,7 +580,7 @@
|
|
|
547
580
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
548
581
|
var tmp;
|
|
549
582
|
if (!isNullable) {
|
|
550
|
-
var tmp0_safe_receiver = get_SERIALIZERS_CACHE().
|
|
583
|
+
var tmp0_safe_receiver = get_SERIALIZERS_CACHE().jk(clazz);
|
|
551
584
|
var tmp_0;
|
|
552
585
|
if (tmp0_safe_receiver == null) {
|
|
553
586
|
tmp_0 = null;
|
|
@@ -557,7 +590,7 @@
|
|
|
557
590
|
}
|
|
558
591
|
tmp = tmp_0;
|
|
559
592
|
} else {
|
|
560
|
-
tmp = get_SERIALIZERS_CACHE_NULLABLE().
|
|
593
|
+
tmp = get_SERIALIZERS_CACHE_NULLABLE().jk(clazz);
|
|
561
594
|
}
|
|
562
595
|
return tmp;
|
|
563
596
|
}
|
|
@@ -565,29 +598,45 @@
|
|
|
565
598
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
566
599
|
var tmp;
|
|
567
600
|
if (!isNullable) {
|
|
568
|
-
var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().
|
|
601
|
+
var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().kk(clazz, types);
|
|
569
602
|
tmp = new Result(tmp_0) instanceof Result ? tmp_0 : THROW_CCE();
|
|
570
603
|
} else {
|
|
571
|
-
tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().
|
|
604
|
+
tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().kk(clazz, types);
|
|
572
605
|
}
|
|
573
606
|
return tmp;
|
|
574
607
|
}
|
|
575
608
|
function SERIALIZERS_CACHE$lambda(it) {
|
|
576
609
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
577
|
-
|
|
610
|
+
var tmp0_elvis_lhs = serializerOrNull(it);
|
|
611
|
+
var tmp;
|
|
612
|
+
if (tmp0_elvis_lhs == null) {
|
|
613
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
614
|
+
tmp = isInterface_0(it) ? new PolymorphicSerializer(it) : null;
|
|
615
|
+
} else {
|
|
616
|
+
tmp = tmp0_elvis_lhs;
|
|
617
|
+
}
|
|
618
|
+
return tmp;
|
|
578
619
|
}
|
|
579
620
|
function SERIALIZERS_CACHE_NULLABLE$lambda(it) {
|
|
580
621
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
581
|
-
var
|
|
582
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
|
|
622
|
+
var tmp0_elvis_lhs = serializerOrNull(it);
|
|
583
623
|
var tmp;
|
|
584
|
-
if (
|
|
585
|
-
|
|
624
|
+
if (tmp0_elvis_lhs == null) {
|
|
625
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
626
|
+
tmp = isInterface_0(it) ? new PolymorphicSerializer(it) : null;
|
|
627
|
+
} else {
|
|
628
|
+
tmp = tmp0_elvis_lhs;
|
|
629
|
+
}
|
|
630
|
+
var tmp1_safe_receiver = tmp;
|
|
631
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : get_nullable(tmp1_safe_receiver);
|
|
632
|
+
var tmp_0;
|
|
633
|
+
if (tmp2_safe_receiver == null) {
|
|
634
|
+
tmp_0 = null;
|
|
586
635
|
} else {
|
|
587
636
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
588
|
-
|
|
637
|
+
tmp_0 = isInterface(tmp2_safe_receiver, KSerializer) ? tmp2_safe_receiver : THROW_CCE();
|
|
589
638
|
}
|
|
590
|
-
return
|
|
639
|
+
return tmp_0;
|
|
591
640
|
}
|
|
592
641
|
function PARAMETRIZED_SERIALIZERS_CACHE$lambda(clazz, types) {
|
|
593
642
|
_init_properties_SerializersCache_kt__hgwi2p();
|
|
@@ -596,7 +645,7 @@
|
|
|
596
645
|
}
|
|
597
646
|
function PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda($types) {
|
|
598
647
|
return function () {
|
|
599
|
-
return $types.q(0).
|
|
648
|
+
return $types.q(0).oa();
|
|
600
649
|
};
|
|
601
650
|
}
|
|
602
651
|
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda(clazz, types) {
|
|
@@ -615,7 +664,7 @@
|
|
|
615
664
|
}
|
|
616
665
|
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda($types) {
|
|
617
666
|
return function () {
|
|
618
|
-
return $types.q(0).
|
|
667
|
+
return $types.q(0).oa();
|
|
619
668
|
};
|
|
620
669
|
}
|
|
621
670
|
var properties_initialized_SerializersCache_kt_q8kf25;
|
|
@@ -630,7 +679,7 @@
|
|
|
630
679
|
}
|
|
631
680
|
function get_nullable(_this__u8e3s4) {
|
|
632
681
|
var tmp;
|
|
633
|
-
if (_this__u8e3s4.
|
|
682
|
+
if (_this__u8e3s4.oj().lk()) {
|
|
634
683
|
tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
|
|
635
684
|
} else {
|
|
636
685
|
tmp = new NullableSerializer(_this__u8e3s4);
|
|
@@ -721,6 +770,9 @@
|
|
|
721
770
|
function serializer_14(_this__u8e3s4) {
|
|
722
771
|
return DurationSerializer_getInstance();
|
|
723
772
|
}
|
|
773
|
+
function serializer_15(_this__u8e3s4) {
|
|
774
|
+
return UuidSerializer_getInstance();
|
|
775
|
+
}
|
|
724
776
|
function MapEntrySerializer(keySerializer, valueSerializer) {
|
|
725
777
|
return new MapEntrySerializer_0(keySerializer, valueSerializer);
|
|
726
778
|
}
|
|
@@ -737,33 +789,12 @@
|
|
|
737
789
|
return new ContextDescriptor(_this__u8e3s4, context);
|
|
738
790
|
}
|
|
739
791
|
function ContextDescriptor(original, kClass) {
|
|
740
|
-
this.
|
|
741
|
-
this.
|
|
742
|
-
this.
|
|
792
|
+
this.mk_1 = original;
|
|
793
|
+
this.nk_1 = kClass;
|
|
794
|
+
this.ok_1 = this.mk_1.pk() + '<' + this.nk_1.aa() + '>';
|
|
743
795
|
}
|
|
744
|
-
protoOf(ContextDescriptor).
|
|
745
|
-
return this.
|
|
746
|
-
};
|
|
747
|
-
protoOf(ContextDescriptor).lk = function () {
|
|
748
|
-
return this.gk_1.lk();
|
|
749
|
-
};
|
|
750
|
-
protoOf(ContextDescriptor).mk = function () {
|
|
751
|
-
return this.gk_1.mk();
|
|
752
|
-
};
|
|
753
|
-
protoOf(ContextDescriptor).fk = function () {
|
|
754
|
-
return this.gk_1.fk();
|
|
755
|
-
};
|
|
756
|
-
protoOf(ContextDescriptor).nk = function () {
|
|
757
|
-
return this.gk_1.nk();
|
|
758
|
-
};
|
|
759
|
-
protoOf(ContextDescriptor).ok = function (index) {
|
|
760
|
-
return this.gk_1.ok(index);
|
|
761
|
-
};
|
|
762
|
-
protoOf(ContextDescriptor).pk = function (index) {
|
|
763
|
-
return this.gk_1.pk(index);
|
|
764
|
-
};
|
|
765
|
-
protoOf(ContextDescriptor).jk = function () {
|
|
766
|
-
return this.ik_1;
|
|
796
|
+
protoOf(ContextDescriptor).pk = function () {
|
|
797
|
+
return this.ok_1;
|
|
767
798
|
};
|
|
768
799
|
protoOf(ContextDescriptor).equals = function (other) {
|
|
769
800
|
var tmp0_elvis_lhs = other instanceof ContextDescriptor ? other : null;
|
|
@@ -774,15 +805,36 @@
|
|
|
774
805
|
tmp = tmp0_elvis_lhs;
|
|
775
806
|
}
|
|
776
807
|
var another = tmp;
|
|
777
|
-
return equals(this.
|
|
808
|
+
return equals(this.mk_1, another.mk_1) && another.nk_1.equals(this.nk_1);
|
|
778
809
|
};
|
|
779
810
|
protoOf(ContextDescriptor).hashCode = function () {
|
|
780
|
-
var result = this.
|
|
781
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
811
|
+
var result = this.nk_1.hashCode();
|
|
812
|
+
result = imul(31, result) + getStringHashCode(this.ok_1) | 0;
|
|
782
813
|
return result;
|
|
783
814
|
};
|
|
784
815
|
protoOf(ContextDescriptor).toString = function () {
|
|
785
|
-
return 'ContextDescriptor(kClass: ' + toString(this.
|
|
816
|
+
return 'ContextDescriptor(kClass: ' + toString(this.nk_1) + ', original: ' + toString(this.mk_1) + ')';
|
|
817
|
+
};
|
|
818
|
+
protoOf(ContextDescriptor).qk = function () {
|
|
819
|
+
return this.mk_1.qk();
|
|
820
|
+
};
|
|
821
|
+
protoOf(ContextDescriptor).lk = function () {
|
|
822
|
+
return this.mk_1.lk();
|
|
823
|
+
};
|
|
824
|
+
protoOf(ContextDescriptor).rk = function () {
|
|
825
|
+
return this.mk_1.rk();
|
|
826
|
+
};
|
|
827
|
+
protoOf(ContextDescriptor).sk = function () {
|
|
828
|
+
return this.mk_1.sk();
|
|
829
|
+
};
|
|
830
|
+
protoOf(ContextDescriptor).tk = function () {
|
|
831
|
+
return this.mk_1.tk();
|
|
832
|
+
};
|
|
833
|
+
protoOf(ContextDescriptor).uk = function (index) {
|
|
834
|
+
return this.mk_1.uk(index);
|
|
835
|
+
};
|
|
836
|
+
protoOf(ContextDescriptor).vk = function (index) {
|
|
837
|
+
return this.mk_1.vk(index);
|
|
786
838
|
};
|
|
787
839
|
function getContextualDescriptor(_this__u8e3s4, descriptor) {
|
|
788
840
|
var tmp0_safe_receiver = get_capturedKClass(descriptor);
|
|
@@ -792,18 +844,18 @@
|
|
|
792
844
|
} else {
|
|
793
845
|
// Inline function 'kotlin.let' call
|
|
794
846
|
// Inline function 'kotlinx.serialization.descriptors.getContextualDescriptor.<anonymous>' call
|
|
795
|
-
var tmp0_safe_receiver_0 = _this__u8e3s4.
|
|
796
|
-
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
847
|
+
var tmp0_safe_receiver_0 = _this__u8e3s4.hk(tmp0_safe_receiver);
|
|
848
|
+
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.oj();
|
|
797
849
|
}
|
|
798
850
|
return tmp;
|
|
799
851
|
}
|
|
800
852
|
function get_capturedKClass(_this__u8e3s4) {
|
|
801
853
|
var tmp;
|
|
802
854
|
if (_this__u8e3s4 instanceof ContextDescriptor) {
|
|
803
|
-
tmp = _this__u8e3s4.
|
|
855
|
+
tmp = _this__u8e3s4.nk_1;
|
|
804
856
|
} else {
|
|
805
857
|
if (_this__u8e3s4 instanceof SerialDescriptorForNullable) {
|
|
806
|
-
tmp = get_capturedKClass(_this__u8e3s4.
|
|
858
|
+
tmp = get_capturedKClass(_this__u8e3s4.wk_1);
|
|
807
859
|
} else {
|
|
808
860
|
tmp = null;
|
|
809
861
|
}
|
|
@@ -817,24 +869,24 @@
|
|
|
817
869
|
return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4);
|
|
818
870
|
}
|
|
819
871
|
function elementDescriptors$1($this_elementDescriptors) {
|
|
820
|
-
this.
|
|
821
|
-
this.
|
|
872
|
+
this.al_1 = $this_elementDescriptors;
|
|
873
|
+
this.zk_1 = $this_elementDescriptors.sk();
|
|
822
874
|
}
|
|
823
875
|
protoOf(elementDescriptors$1).n = function () {
|
|
824
|
-
return this.
|
|
876
|
+
return this.zk_1 > 0;
|
|
825
877
|
};
|
|
826
878
|
protoOf(elementDescriptors$1).o = function () {
|
|
827
|
-
var tmp = this.
|
|
828
|
-
var
|
|
829
|
-
this.
|
|
830
|
-
return this.
|
|
879
|
+
var tmp = this.al_1.sk();
|
|
880
|
+
var _unary__edvuaz = this.zk_1;
|
|
881
|
+
this.zk_1 = _unary__edvuaz - 1 | 0;
|
|
882
|
+
return this.al_1.vk(tmp - _unary__edvuaz | 0);
|
|
831
883
|
};
|
|
832
884
|
function elementDescriptors$$inlined$Iterable$1($this_elementDescriptors) {
|
|
833
|
-
this.
|
|
885
|
+
this.bl_1 = $this_elementDescriptors;
|
|
834
886
|
}
|
|
835
887
|
protoOf(elementDescriptors$$inlined$Iterable$1).m = function () {
|
|
836
888
|
// Inline function 'kotlinx.serialization.descriptors.<get-elementDescriptors>.<anonymous>' call
|
|
837
|
-
return new elementDescriptors$1(this.
|
|
889
|
+
return new elementDescriptors$1(this.bl_1);
|
|
838
890
|
};
|
|
839
891
|
function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
|
|
840
892
|
var tmp;
|
|
@@ -859,134 +911,115 @@
|
|
|
859
911
|
}
|
|
860
912
|
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
861
913
|
builder(sdBuilder);
|
|
862
|
-
return new SerialDescriptorImpl(serialName, kind, sdBuilder.
|
|
914
|
+
return new SerialDescriptorImpl(serialName, kind, sdBuilder.tj_1.p(), toList(typeParameters), sdBuilder);
|
|
863
915
|
}
|
|
864
916
|
function ClassSerialDescriptorBuilder(serialName) {
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
867
|
-
this.
|
|
868
|
-
this.pj_1 = ArrayList_init_$Create$_0();
|
|
869
|
-
this.qj_1 = HashSet_init_$Create$();
|
|
870
|
-
this.rj_1 = ArrayList_init_$Create$_0();
|
|
871
|
-
this.sj_1 = ArrayList_init_$Create$_0();
|
|
917
|
+
this.qj_1 = serialName;
|
|
918
|
+
this.rj_1 = false;
|
|
919
|
+
this.sj_1 = emptyList();
|
|
872
920
|
this.tj_1 = ArrayList_init_$Create$_0();
|
|
921
|
+
this.uj_1 = HashSet_init_$Create$();
|
|
922
|
+
this.vj_1 = ArrayList_init_$Create$_0();
|
|
923
|
+
this.wj_1 = ArrayList_init_$Create$_0();
|
|
924
|
+
this.xj_1 = ArrayList_init_$Create$_0();
|
|
873
925
|
}
|
|
874
|
-
protoOf(ClassSerialDescriptorBuilder).
|
|
926
|
+
protoOf(ClassSerialDescriptorBuilder).cl = function (elementName, descriptor, annotations, isOptional) {
|
|
875
927
|
// Inline function 'kotlin.require' call
|
|
876
|
-
if (!this.
|
|
928
|
+
if (!this.uj_1.e(elementName)) {
|
|
877
929
|
// Inline function 'kotlinx.serialization.descriptors.ClassSerialDescriptorBuilder.element.<anonymous>' call
|
|
878
|
-
var message = "Element with name '" + elementName + "' is already registered in " + this.
|
|
930
|
+
var message = "Element with name '" + elementName + "' is already registered in " + this.qj_1;
|
|
879
931
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
880
932
|
}
|
|
881
933
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
882
|
-
this.
|
|
934
|
+
this.tj_1.e(elementName);
|
|
883
935
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
884
|
-
this.
|
|
936
|
+
this.vj_1.e(descriptor);
|
|
885
937
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
886
|
-
this.
|
|
938
|
+
this.wj_1.e(annotations);
|
|
887
939
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
888
|
-
this.
|
|
940
|
+
this.xj_1.e(isOptional);
|
|
889
941
|
};
|
|
890
|
-
protoOf(ClassSerialDescriptorBuilder).
|
|
942
|
+
protoOf(ClassSerialDescriptorBuilder).yj = function (elementName, descriptor, annotations, isOptional, $super) {
|
|
891
943
|
annotations = annotations === VOID ? emptyList() : annotations;
|
|
892
944
|
isOptional = isOptional === VOID ? false : isOptional;
|
|
893
945
|
var tmp;
|
|
894
946
|
if ($super === VOID) {
|
|
895
|
-
this.
|
|
947
|
+
this.cl(elementName, descriptor, annotations, isOptional);
|
|
896
948
|
tmp = Unit_instance;
|
|
897
949
|
} else {
|
|
898
|
-
tmp = $super.
|
|
950
|
+
tmp = $super.cl.call(this, elementName, descriptor, annotations, isOptional);
|
|
899
951
|
}
|
|
900
952
|
return tmp;
|
|
901
953
|
};
|
|
902
|
-
function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
|
|
903
|
-
var tmp;
|
|
904
|
-
if (builderAction === VOID) {
|
|
905
|
-
tmp = buildClassSerialDescriptor$lambda;
|
|
906
|
-
} else {
|
|
907
|
-
tmp = builderAction;
|
|
908
|
-
}
|
|
909
|
-
builderAction = tmp;
|
|
910
|
-
// Inline function 'kotlin.text.isNotBlank' call
|
|
911
|
-
// Inline function 'kotlin.require' call
|
|
912
|
-
if (!!isBlank(serialName)) {
|
|
913
|
-
// Inline function 'kotlinx.serialization.descriptors.buildClassSerialDescriptor.<anonymous>' call
|
|
914
|
-
var message = 'Blank serial names are prohibited';
|
|
915
|
-
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
916
|
-
}
|
|
917
|
-
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
918
|
-
builderAction(sdBuilder);
|
|
919
|
-
return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.pj_1.p(), toList(typeParameters), sdBuilder);
|
|
920
|
-
}
|
|
921
954
|
function _get__hashCode__tgwhef($this) {
|
|
922
|
-
var tmp0 = $this.
|
|
955
|
+
var tmp0 = $this.ol_1;
|
|
923
956
|
// Inline function 'kotlin.getValue' call
|
|
924
957
|
_hashCode$factory();
|
|
925
958
|
return tmp0.z();
|
|
926
959
|
}
|
|
927
960
|
function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
|
|
928
961
|
return function () {
|
|
929
|
-
return hashCodeImpl(this$0, this$0.
|
|
962
|
+
return hashCodeImpl(this$0, this$0.nl_1);
|
|
930
963
|
};
|
|
931
964
|
}
|
|
932
965
|
function SerialDescriptorImpl$toString$lambda(this$0) {
|
|
933
966
|
return function (it) {
|
|
934
|
-
return this$0.
|
|
967
|
+
return this$0.uk(it) + ': ' + this$0.vk(it).pk();
|
|
935
968
|
};
|
|
936
969
|
}
|
|
937
970
|
function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) {
|
|
938
|
-
this.
|
|
939
|
-
this.
|
|
940
|
-
this.
|
|
941
|
-
this.
|
|
942
|
-
this.
|
|
971
|
+
this.dl_1 = serialName;
|
|
972
|
+
this.el_1 = kind;
|
|
973
|
+
this.fl_1 = elementsCount;
|
|
974
|
+
this.gl_1 = builder.sj_1;
|
|
975
|
+
this.hl_1 = toHashSet(builder.tj_1);
|
|
943
976
|
var tmp = this;
|
|
944
977
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
945
|
-
var this_0 = builder.
|
|
946
|
-
tmp.
|
|
947
|
-
this.
|
|
978
|
+
var this_0 = builder.tj_1;
|
|
979
|
+
tmp.il_1 = copyToArray(this_0);
|
|
980
|
+
this.jl_1 = compactArray(builder.vj_1);
|
|
948
981
|
var tmp_0 = this;
|
|
949
982
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
950
|
-
var this_1 = builder.
|
|
951
|
-
tmp_0.
|
|
952
|
-
this.
|
|
983
|
+
var this_1 = builder.wj_1;
|
|
984
|
+
tmp_0.kl_1 = copyToArray(this_1);
|
|
985
|
+
this.ll_1 = toBooleanArray(builder.xj_1);
|
|
953
986
|
var tmp_1 = this;
|
|
954
987
|
// Inline function 'kotlin.collections.map' call
|
|
955
|
-
var this_2 = withIndex(this.
|
|
988
|
+
var this_2 = withIndex(this.il_1);
|
|
956
989
|
// Inline function 'kotlin.collections.mapTo' call
|
|
957
990
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
|
|
958
991
|
var _iterator__ex2g4s = this_2.m();
|
|
959
992
|
while (_iterator__ex2g4s.n()) {
|
|
960
993
|
var item = _iterator__ex2g4s.o();
|
|
961
994
|
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.name2Index.<anonymous>' call
|
|
962
|
-
var tmp$ret$2 = to(item.
|
|
995
|
+
var tmp$ret$2 = to(item.ae_1, item.zd_1);
|
|
963
996
|
destination.e(tmp$ret$2);
|
|
964
997
|
}
|
|
965
|
-
tmp_1.
|
|
966
|
-
this.
|
|
998
|
+
tmp_1.ml_1 = toMap(destination);
|
|
999
|
+
this.nl_1 = compactArray(typeParameters);
|
|
967
1000
|
var tmp_2 = this;
|
|
968
|
-
tmp_2.
|
|
1001
|
+
tmp_2.ol_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
|
|
969
1002
|
}
|
|
970
|
-
protoOf(SerialDescriptorImpl).
|
|
971
|
-
return this.
|
|
1003
|
+
protoOf(SerialDescriptorImpl).pk = function () {
|
|
1004
|
+
return this.dl_1;
|
|
972
1005
|
};
|
|
973
|
-
protoOf(SerialDescriptorImpl).
|
|
974
|
-
return this.
|
|
1006
|
+
protoOf(SerialDescriptorImpl).qk = function () {
|
|
1007
|
+
return this.el_1;
|
|
975
1008
|
};
|
|
976
|
-
protoOf(SerialDescriptorImpl).
|
|
977
|
-
return this.
|
|
1009
|
+
protoOf(SerialDescriptorImpl).sk = function () {
|
|
1010
|
+
return this.fl_1;
|
|
978
1011
|
};
|
|
979
|
-
protoOf(SerialDescriptorImpl).
|
|
980
|
-
return this.
|
|
1012
|
+
protoOf(SerialDescriptorImpl).tk = function () {
|
|
1013
|
+
return this.gl_1;
|
|
981
1014
|
};
|
|
982
|
-
protoOf(SerialDescriptorImpl).
|
|
983
|
-
return this.
|
|
1015
|
+
protoOf(SerialDescriptorImpl).pl = function () {
|
|
1016
|
+
return this.hl_1;
|
|
984
1017
|
};
|
|
985
|
-
protoOf(SerialDescriptorImpl).
|
|
986
|
-
return getChecked(this.
|
|
1018
|
+
protoOf(SerialDescriptorImpl).uk = function (index) {
|
|
1019
|
+
return getChecked(this.il_1, index);
|
|
987
1020
|
};
|
|
988
|
-
protoOf(SerialDescriptorImpl).
|
|
989
|
-
return getChecked(this.
|
|
1021
|
+
protoOf(SerialDescriptorImpl).vk = function (index) {
|
|
1022
|
+
return getChecked(this.jl_1, index);
|
|
990
1023
|
};
|
|
991
1024
|
protoOf(SerialDescriptorImpl).equals = function (other) {
|
|
992
1025
|
var tmp$ret$0;
|
|
@@ -1000,30 +1033,30 @@
|
|
|
1000
1033
|
tmp$ret$0 = false;
|
|
1001
1034
|
break $l$block_5;
|
|
1002
1035
|
}
|
|
1003
|
-
if (!(this.
|
|
1036
|
+
if (!(this.pk() === other.pk())) {
|
|
1004
1037
|
tmp$ret$0 = false;
|
|
1005
1038
|
break $l$block_5;
|
|
1006
1039
|
}
|
|
1007
1040
|
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.equals.<anonymous>' call
|
|
1008
|
-
if (!contentEquals(this.
|
|
1041
|
+
if (!contentEquals(this.nl_1, other.nl_1)) {
|
|
1009
1042
|
tmp$ret$0 = false;
|
|
1010
1043
|
break $l$block_5;
|
|
1011
1044
|
}
|
|
1012
|
-
if (!(this.
|
|
1045
|
+
if (!(this.sk() === other.sk())) {
|
|
1013
1046
|
tmp$ret$0 = false;
|
|
1014
1047
|
break $l$block_5;
|
|
1015
1048
|
}
|
|
1016
1049
|
var inductionVariable = 0;
|
|
1017
|
-
var last = this.
|
|
1050
|
+
var last = this.sk();
|
|
1018
1051
|
if (inductionVariable < last)
|
|
1019
1052
|
do {
|
|
1020
1053
|
var index = inductionVariable;
|
|
1021
1054
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1022
|
-
if (!(this.
|
|
1055
|
+
if (!(this.vk(index).pk() === other.vk(index).pk())) {
|
|
1023
1056
|
tmp$ret$0 = false;
|
|
1024
1057
|
break $l$block_5;
|
|
1025
1058
|
}
|
|
1026
|
-
if (!equals(this.
|
|
1059
|
+
if (!equals(this.vk(index).qk(), other.vk(index).qk())) {
|
|
1027
1060
|
tmp$ret$0 = false;
|
|
1028
1061
|
break $l$block_5;
|
|
1029
1062
|
}
|
|
@@ -1037,10 +1070,29 @@
|
|
|
1037
1070
|
return _get__hashCode__tgwhef(this);
|
|
1038
1071
|
};
|
|
1039
1072
|
protoOf(SerialDescriptorImpl).toString = function () {
|
|
1040
|
-
var tmp = until(0, this.
|
|
1041
|
-
var tmp_0 = this.
|
|
1073
|
+
var tmp = until(0, this.fl_1);
|
|
1074
|
+
var tmp_0 = this.dl_1 + '(';
|
|
1042
1075
|
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, SerialDescriptorImpl$toString$lambda(this));
|
|
1043
1076
|
};
|
|
1077
|
+
function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
|
|
1078
|
+
var tmp;
|
|
1079
|
+
if (builderAction === VOID) {
|
|
1080
|
+
tmp = buildClassSerialDescriptor$lambda;
|
|
1081
|
+
} else {
|
|
1082
|
+
tmp = builderAction;
|
|
1083
|
+
}
|
|
1084
|
+
builderAction = tmp;
|
|
1085
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
1086
|
+
// Inline function 'kotlin.require' call
|
|
1087
|
+
if (!!isBlank(serialName)) {
|
|
1088
|
+
// Inline function 'kotlinx.serialization.descriptors.buildClassSerialDescriptor.<anonymous>' call
|
|
1089
|
+
var message = 'Blank serial names are prohibited';
|
|
1090
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1091
|
+
}
|
|
1092
|
+
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
1093
|
+
builderAction(sdBuilder);
|
|
1094
|
+
return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.tj_1.p(), toList(typeParameters), sdBuilder);
|
|
1095
|
+
}
|
|
1044
1096
|
function PrimitiveSerialDescriptor(serialName, kind) {
|
|
1045
1097
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1046
1098
|
// Inline function 'kotlin.require' call
|
|
@@ -1051,10 +1103,10 @@
|
|
|
1051
1103
|
}
|
|
1052
1104
|
return PrimitiveDescriptorSafe(serialName, kind);
|
|
1053
1105
|
}
|
|
1054
|
-
function buildSerialDescriptor$lambda(
|
|
1106
|
+
function buildSerialDescriptor$lambda(_this__u8e3s4) {
|
|
1055
1107
|
return Unit_instance;
|
|
1056
1108
|
}
|
|
1057
|
-
function buildClassSerialDescriptor$lambda(
|
|
1109
|
+
function buildClassSerialDescriptor$lambda(_this__u8e3s4) {
|
|
1058
1110
|
return Unit_instance;
|
|
1059
1111
|
}
|
|
1060
1112
|
function _hashCode$factory() {
|
|
@@ -1085,11 +1137,24 @@
|
|
|
1085
1137
|
function SerialKind() {
|
|
1086
1138
|
}
|
|
1087
1139
|
protoOf(SerialKind).toString = function () {
|
|
1088
|
-
return ensureNotNull(getKClassFromExpression(this).
|
|
1140
|
+
return ensureNotNull(getKClassFromExpression(this).aa());
|
|
1089
1141
|
};
|
|
1090
1142
|
protoOf(SerialKind).hashCode = function () {
|
|
1091
1143
|
return getStringHashCode(this.toString());
|
|
1092
1144
|
};
|
|
1145
|
+
function OPEN() {
|
|
1146
|
+
OPEN_instance = this;
|
|
1147
|
+
PolymorphicKind.call(this);
|
|
1148
|
+
}
|
|
1149
|
+
var OPEN_instance;
|
|
1150
|
+
function OPEN_getInstance() {
|
|
1151
|
+
if (OPEN_instance == null)
|
|
1152
|
+
new OPEN();
|
|
1153
|
+
return OPEN_instance;
|
|
1154
|
+
}
|
|
1155
|
+
function PolymorphicKind() {
|
|
1156
|
+
SerialKind.call(this);
|
|
1157
|
+
}
|
|
1093
1158
|
function BOOLEAN() {
|
|
1094
1159
|
BOOLEAN_instance = this;
|
|
1095
1160
|
PrimitiveKind.call(this);
|
|
@@ -1226,121 +1291,108 @@
|
|
|
1226
1291
|
function StructureKind() {
|
|
1227
1292
|
SerialKind.call(this);
|
|
1228
1293
|
}
|
|
1229
|
-
function OPEN() {
|
|
1230
|
-
OPEN_instance = this;
|
|
1231
|
-
PolymorphicKind.call(this);
|
|
1232
|
-
}
|
|
1233
|
-
var OPEN_instance;
|
|
1234
|
-
function OPEN_getInstance() {
|
|
1235
|
-
if (OPEN_instance == null)
|
|
1236
|
-
new OPEN();
|
|
1237
|
-
return OPEN_instance;
|
|
1238
|
-
}
|
|
1239
|
-
function PolymorphicKind() {
|
|
1240
|
-
SerialKind.call(this);
|
|
1241
|
-
}
|
|
1242
1294
|
function AbstractEncoder() {
|
|
1243
1295
|
}
|
|
1244
|
-
protoOf(AbstractEncoder).
|
|
1296
|
+
protoOf(AbstractEncoder).ql = function (descriptor) {
|
|
1245
1297
|
return this;
|
|
1246
1298
|
};
|
|
1247
|
-
protoOf(AbstractEncoder).
|
|
1299
|
+
protoOf(AbstractEncoder).rl = function (descriptor) {
|
|
1248
1300
|
};
|
|
1249
|
-
protoOf(AbstractEncoder).
|
|
1301
|
+
protoOf(AbstractEncoder).sl = function (descriptor, index) {
|
|
1250
1302
|
return true;
|
|
1251
1303
|
};
|
|
1252
|
-
protoOf(AbstractEncoder).
|
|
1304
|
+
protoOf(AbstractEncoder).tl = function (value) {
|
|
1253
1305
|
throw SerializationException_init_$Create$_0('Non-serializable ' + toString(getKClassFromExpression(value)) + ' is not supported by ' + toString(getKClassFromExpression(this)) + ' encoder');
|
|
1254
1306
|
};
|
|
1255
|
-
protoOf(AbstractEncoder).
|
|
1307
|
+
protoOf(AbstractEncoder).ul = function () {
|
|
1256
1308
|
throw SerializationException_init_$Create$_0("'null' is not supported by default");
|
|
1257
1309
|
};
|
|
1258
|
-
protoOf(AbstractEncoder).
|
|
1259
|
-
return this.
|
|
1310
|
+
protoOf(AbstractEncoder).vl = function (value) {
|
|
1311
|
+
return this.tl(value);
|
|
1260
1312
|
};
|
|
1261
|
-
protoOf(AbstractEncoder).
|
|
1262
|
-
return this.
|
|
1313
|
+
protoOf(AbstractEncoder).wl = function (value) {
|
|
1314
|
+
return this.tl(value);
|
|
1263
1315
|
};
|
|
1264
|
-
protoOf(AbstractEncoder).
|
|
1265
|
-
return this.
|
|
1316
|
+
protoOf(AbstractEncoder).xl = function (value) {
|
|
1317
|
+
return this.tl(value);
|
|
1266
1318
|
};
|
|
1267
|
-
protoOf(AbstractEncoder).
|
|
1268
|
-
return this.
|
|
1319
|
+
protoOf(AbstractEncoder).yl = function (value) {
|
|
1320
|
+
return this.tl(value);
|
|
1269
1321
|
};
|
|
1270
|
-
protoOf(AbstractEncoder).
|
|
1271
|
-
return this.
|
|
1322
|
+
protoOf(AbstractEncoder).zl = function (value) {
|
|
1323
|
+
return this.tl(value);
|
|
1272
1324
|
};
|
|
1273
|
-
protoOf(AbstractEncoder).
|
|
1274
|
-
return this.
|
|
1325
|
+
protoOf(AbstractEncoder).am = function (value) {
|
|
1326
|
+
return this.tl(value);
|
|
1275
1327
|
};
|
|
1276
|
-
protoOf(AbstractEncoder).
|
|
1277
|
-
return this.
|
|
1328
|
+
protoOf(AbstractEncoder).bm = function (value) {
|
|
1329
|
+
return this.tl(value);
|
|
1278
1330
|
};
|
|
1279
|
-
protoOf(AbstractEncoder).
|
|
1280
|
-
return this.
|
|
1331
|
+
protoOf(AbstractEncoder).cm = function (value) {
|
|
1332
|
+
return this.tl(new Char(value));
|
|
1281
1333
|
};
|
|
1282
|
-
protoOf(AbstractEncoder).
|
|
1283
|
-
return this.
|
|
1334
|
+
protoOf(AbstractEncoder).dm = function (value) {
|
|
1335
|
+
return this.tl(value);
|
|
1284
1336
|
};
|
|
1285
|
-
protoOf(AbstractEncoder).
|
|
1337
|
+
protoOf(AbstractEncoder).em = function (descriptor) {
|
|
1286
1338
|
return this;
|
|
1287
1339
|
};
|
|
1288
|
-
protoOf(AbstractEncoder).
|
|
1289
|
-
if (this.
|
|
1290
|
-
this.
|
|
1340
|
+
protoOf(AbstractEncoder).fm = function (descriptor, index, value) {
|
|
1341
|
+
if (this.sl(descriptor, index)) {
|
|
1342
|
+
this.vl(value);
|
|
1291
1343
|
}
|
|
1292
1344
|
};
|
|
1293
|
-
protoOf(AbstractEncoder).
|
|
1294
|
-
if (this.
|
|
1295
|
-
this.
|
|
1345
|
+
protoOf(AbstractEncoder).gm = function (descriptor, index, value) {
|
|
1346
|
+
if (this.sl(descriptor, index)) {
|
|
1347
|
+
this.wl(value);
|
|
1296
1348
|
}
|
|
1297
1349
|
};
|
|
1298
|
-
protoOf(AbstractEncoder).
|
|
1299
|
-
if (this.
|
|
1300
|
-
this.
|
|
1350
|
+
protoOf(AbstractEncoder).hm = function (descriptor, index, value) {
|
|
1351
|
+
if (this.sl(descriptor, index)) {
|
|
1352
|
+
this.xl(value);
|
|
1301
1353
|
}
|
|
1302
1354
|
};
|
|
1303
|
-
protoOf(AbstractEncoder).
|
|
1304
|
-
if (this.
|
|
1305
|
-
this.
|
|
1355
|
+
protoOf(AbstractEncoder).im = function (descriptor, index, value) {
|
|
1356
|
+
if (this.sl(descriptor, index)) {
|
|
1357
|
+
this.yl(value);
|
|
1306
1358
|
}
|
|
1307
1359
|
};
|
|
1308
|
-
protoOf(AbstractEncoder).
|
|
1309
|
-
if (this.
|
|
1310
|
-
this.
|
|
1360
|
+
protoOf(AbstractEncoder).jm = function (descriptor, index, value) {
|
|
1361
|
+
if (this.sl(descriptor, index)) {
|
|
1362
|
+
this.zl(value);
|
|
1311
1363
|
}
|
|
1312
1364
|
};
|
|
1313
|
-
protoOf(AbstractEncoder).
|
|
1314
|
-
if (this.
|
|
1315
|
-
this.
|
|
1365
|
+
protoOf(AbstractEncoder).km = function (descriptor, index, value) {
|
|
1366
|
+
if (this.sl(descriptor, index)) {
|
|
1367
|
+
this.am(value);
|
|
1316
1368
|
}
|
|
1317
1369
|
};
|
|
1318
|
-
protoOf(AbstractEncoder).
|
|
1319
|
-
if (this.
|
|
1320
|
-
this.
|
|
1370
|
+
protoOf(AbstractEncoder).lm = function (descriptor, index, value) {
|
|
1371
|
+
if (this.sl(descriptor, index)) {
|
|
1372
|
+
this.bm(value);
|
|
1321
1373
|
}
|
|
1322
1374
|
};
|
|
1323
|
-
protoOf(AbstractEncoder).
|
|
1324
|
-
if (this.
|
|
1325
|
-
this.
|
|
1375
|
+
protoOf(AbstractEncoder).mm = function (descriptor, index, value) {
|
|
1376
|
+
if (this.sl(descriptor, index)) {
|
|
1377
|
+
this.cm(value);
|
|
1326
1378
|
}
|
|
1327
1379
|
};
|
|
1328
|
-
protoOf(AbstractEncoder).
|
|
1329
|
-
if (this.
|
|
1330
|
-
this.
|
|
1380
|
+
protoOf(AbstractEncoder).nm = function (descriptor, index, value) {
|
|
1381
|
+
if (this.sl(descriptor, index)) {
|
|
1382
|
+
this.dm(value);
|
|
1331
1383
|
}
|
|
1332
1384
|
};
|
|
1333
|
-
protoOf(AbstractEncoder).
|
|
1334
|
-
return this.
|
|
1385
|
+
protoOf(AbstractEncoder).om = function (descriptor, index) {
|
|
1386
|
+
return this.sl(descriptor, index) ? this.em(descriptor.vk(index)) : NoOpEncoder_getInstance();
|
|
1335
1387
|
};
|
|
1336
|
-
protoOf(AbstractEncoder).
|
|
1337
|
-
if (this.
|
|
1338
|
-
this.
|
|
1388
|
+
protoOf(AbstractEncoder).pm = function (descriptor, index, serializer, value) {
|
|
1389
|
+
if (this.sl(descriptor, index)) {
|
|
1390
|
+
this.qm(serializer, value);
|
|
1339
1391
|
}
|
|
1340
1392
|
};
|
|
1341
|
-
protoOf(AbstractEncoder).
|
|
1342
|
-
if (this.
|
|
1343
|
-
this.
|
|
1393
|
+
protoOf(AbstractEncoder).rm = function (descriptor, index, serializer, value) {
|
|
1394
|
+
if (this.sl(descriptor, index)) {
|
|
1395
|
+
this.sm(serializer, value);
|
|
1344
1396
|
}
|
|
1345
1397
|
};
|
|
1346
1398
|
function Encoder() {
|
|
@@ -1349,51 +1401,51 @@
|
|
|
1349
1401
|
}
|
|
1350
1402
|
function AbstractPolymorphicSerializer() {
|
|
1351
1403
|
}
|
|
1352
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1404
|
+
protoOf(AbstractPolymorphicSerializer).dk = function (encoder, value) {
|
|
1353
1405
|
var actualSerializer = findPolymorphicSerializer(this, encoder, value);
|
|
1354
1406
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
1355
|
-
var descriptor = this.
|
|
1356
|
-
var composite = encoder.
|
|
1407
|
+
var descriptor = this.oj();
|
|
1408
|
+
var composite = encoder.ql(descriptor);
|
|
1357
1409
|
// Inline function 'kotlinx.serialization.internal.AbstractPolymorphicSerializer.serialize.<anonymous>' call
|
|
1358
|
-
composite.
|
|
1359
|
-
var tmp = this.
|
|
1410
|
+
composite.nm(this.oj(), 0, actualSerializer.oj().pk());
|
|
1411
|
+
var tmp = this.oj();
|
|
1360
1412
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
1361
1413
|
var tmp$ret$0 = isInterface(actualSerializer, SerializationStrategy) ? actualSerializer : THROW_CCE();
|
|
1362
|
-
composite.
|
|
1363
|
-
composite.
|
|
1414
|
+
composite.pm(tmp, 1, tmp$ret$0, value);
|
|
1415
|
+
composite.rl(descriptor);
|
|
1364
1416
|
};
|
|
1365
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1366
|
-
return this.
|
|
1417
|
+
protoOf(AbstractPolymorphicSerializer).pj = function (encoder, value) {
|
|
1418
|
+
return this.dk(encoder, !(value == null) ? value : THROW_CCE());
|
|
1367
1419
|
};
|
|
1368
|
-
protoOf(AbstractPolymorphicSerializer).
|
|
1369
|
-
return encoder.
|
|
1420
|
+
protoOf(AbstractPolymorphicSerializer).ek = function (encoder, value) {
|
|
1421
|
+
return encoder.tm().xm(this.ck(), value);
|
|
1370
1422
|
};
|
|
1371
1423
|
function throwSubtypeNotRegistered(subClass, baseClass) {
|
|
1372
|
-
var tmp0_elvis_lhs = subClass.
|
|
1424
|
+
var tmp0_elvis_lhs = subClass.aa();
|
|
1373
1425
|
throwSubtypeNotRegistered_0(tmp0_elvis_lhs == null ? toString(subClass) : tmp0_elvis_lhs, baseClass);
|
|
1374
1426
|
}
|
|
1375
1427
|
function throwSubtypeNotRegistered_0(subClassName, baseClass) {
|
|
1376
|
-
var scope = "in the polymorphic scope of '" + baseClass.
|
|
1377
|
-
throw SerializationException_init_$Create$_0(subClassName == null ? 'Class discriminator was missing and no default serializers were registered ' + scope + '.' : "Serializer for subclass '" + subClassName + "' is not found " + scope + '.\n' + ("Check if class with serial name '" + subClassName + "' exists and serializer is registered in a corresponding SerializersModule.\n") + ("To be registered automatically, class '" + subClassName + "' has to be '@Serializable', and the base class '" + baseClass.
|
|
1428
|
+
var scope = "in the polymorphic scope of '" + baseClass.aa() + "'";
|
|
1429
|
+
throw SerializationException_init_$Create$_0(subClassName == null ? 'Class discriminator was missing and no default serializers were registered ' + scope + '.' : "Serializer for subclass '" + subClassName + "' is not found " + scope + '.\n' + ("Check if class with serial name '" + subClassName + "' exists and serializer is registered in a corresponding SerializersModule.\n") + ("To be registered automatically, class '" + subClassName + "' has to be '@Serializable', and the base class '" + baseClass.aa() + "' has to be sealed and '@Serializable'."));
|
|
1378
1430
|
}
|
|
1379
1431
|
function NothingSerializer_0() {
|
|
1380
1432
|
NothingSerializer_instance = this;
|
|
1381
|
-
this.
|
|
1433
|
+
this.ym_1 = NothingSerialDescriptor_getInstance();
|
|
1382
1434
|
}
|
|
1383
|
-
protoOf(NothingSerializer_0).
|
|
1384
|
-
return this.
|
|
1435
|
+
protoOf(NothingSerializer_0).oj = function () {
|
|
1436
|
+
return this.ym_1;
|
|
1385
1437
|
};
|
|
1386
|
-
protoOf(NothingSerializer_0).
|
|
1438
|
+
protoOf(NothingSerializer_0).zm = function (encoder, value) {
|
|
1387
1439
|
throw SerializationException_init_$Create$_0("'kotlin.Nothing' cannot be serialized");
|
|
1388
1440
|
};
|
|
1389
|
-
protoOf(NothingSerializer_0).
|
|
1441
|
+
protoOf(NothingSerializer_0).pj = function (encoder, value) {
|
|
1390
1442
|
var tmp;
|
|
1391
1443
|
if (false) {
|
|
1392
1444
|
tmp = value;
|
|
1393
1445
|
} else {
|
|
1394
1446
|
tmp = THROW_CCE();
|
|
1395
1447
|
}
|
|
1396
|
-
return this.
|
|
1448
|
+
return this.zm(encoder, tmp);
|
|
1397
1449
|
};
|
|
1398
1450
|
var NothingSerializer_instance;
|
|
1399
1451
|
function NothingSerializer_getInstance() {
|
|
@@ -1403,16 +1455,16 @@
|
|
|
1403
1455
|
}
|
|
1404
1456
|
function DurationSerializer() {
|
|
1405
1457
|
DurationSerializer_instance = this;
|
|
1406
|
-
this.
|
|
1458
|
+
this.an_1 = new PrimitiveSerialDescriptor_0('kotlin.time.Duration', STRING_getInstance());
|
|
1407
1459
|
}
|
|
1408
|
-
protoOf(DurationSerializer).
|
|
1409
|
-
return this.
|
|
1460
|
+
protoOf(DurationSerializer).oj = function () {
|
|
1461
|
+
return this.an_1;
|
|
1410
1462
|
};
|
|
1411
|
-
protoOf(DurationSerializer).
|
|
1412
|
-
encoder.
|
|
1463
|
+
protoOf(DurationSerializer).bn = function (encoder, value) {
|
|
1464
|
+
encoder.dm(Duration__toIsoString_impl_9h6wsm(value));
|
|
1413
1465
|
};
|
|
1414
|
-
protoOf(DurationSerializer).
|
|
1415
|
-
return this.
|
|
1466
|
+
protoOf(DurationSerializer).pj = function (encoder, value) {
|
|
1467
|
+
return this.bn(encoder, value instanceof Duration ? value.eh_1 : THROW_CCE());
|
|
1416
1468
|
};
|
|
1417
1469
|
var DurationSerializer_instance;
|
|
1418
1470
|
function DurationSerializer_getInstance() {
|
|
@@ -1420,24 +1472,43 @@
|
|
|
1420
1472
|
new DurationSerializer();
|
|
1421
1473
|
return DurationSerializer_instance;
|
|
1422
1474
|
}
|
|
1475
|
+
function UuidSerializer() {
|
|
1476
|
+
UuidSerializer_instance = this;
|
|
1477
|
+
this.cn_1 = new PrimitiveSerialDescriptor_0('kotlin.uuid.Uuid', STRING_getInstance());
|
|
1478
|
+
}
|
|
1479
|
+
protoOf(UuidSerializer).oj = function () {
|
|
1480
|
+
return this.cn_1;
|
|
1481
|
+
};
|
|
1482
|
+
protoOf(UuidSerializer).dn = function (encoder, value) {
|
|
1483
|
+
encoder.dm(value.toString());
|
|
1484
|
+
};
|
|
1485
|
+
protoOf(UuidSerializer).pj = function (encoder, value) {
|
|
1486
|
+
return this.dn(encoder, value instanceof Uuid ? value : THROW_CCE());
|
|
1487
|
+
};
|
|
1488
|
+
var UuidSerializer_instance;
|
|
1489
|
+
function UuidSerializer_getInstance() {
|
|
1490
|
+
if (UuidSerializer_instance == null)
|
|
1491
|
+
new UuidSerializer();
|
|
1492
|
+
return UuidSerializer_instance;
|
|
1493
|
+
}
|
|
1423
1494
|
function CachedNames() {
|
|
1424
1495
|
}
|
|
1425
1496
|
function ArrayListClassDesc(elementDesc) {
|
|
1426
1497
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1427
1498
|
}
|
|
1428
|
-
protoOf(ArrayListClassDesc).
|
|
1499
|
+
protoOf(ArrayListClassDesc).pk = function () {
|
|
1429
1500
|
return 'kotlin.collections.ArrayList';
|
|
1430
1501
|
};
|
|
1431
1502
|
function HashSetClassDesc(elementDesc) {
|
|
1432
1503
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1433
1504
|
}
|
|
1434
|
-
protoOf(HashSetClassDesc).
|
|
1505
|
+
protoOf(HashSetClassDesc).pk = function () {
|
|
1435
1506
|
return 'kotlin.collections.HashSet';
|
|
1436
1507
|
};
|
|
1437
1508
|
function LinkedHashSetClassDesc(elementDesc) {
|
|
1438
1509
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1439
1510
|
}
|
|
1440
|
-
protoOf(LinkedHashSetClassDesc).
|
|
1511
|
+
protoOf(LinkedHashSetClassDesc).pk = function () {
|
|
1441
1512
|
return 'kotlin.collections.LinkedHashSet';
|
|
1442
1513
|
};
|
|
1443
1514
|
function HashMapClassDesc(keyDesc, valueDesc) {
|
|
@@ -1449,78 +1520,78 @@
|
|
|
1449
1520
|
function ArrayClassDesc(elementDesc) {
|
|
1450
1521
|
ListLikeDescriptor.call(this, elementDesc);
|
|
1451
1522
|
}
|
|
1452
|
-
protoOf(ArrayClassDesc).
|
|
1523
|
+
protoOf(ArrayClassDesc).pk = function () {
|
|
1453
1524
|
return 'kotlin.Array';
|
|
1454
1525
|
};
|
|
1455
1526
|
function ListLikeDescriptor(elementDescriptor) {
|
|
1456
|
-
this.
|
|
1457
|
-
this.
|
|
1527
|
+
this.gn_1 = elementDescriptor;
|
|
1528
|
+
this.hn_1 = 1;
|
|
1458
1529
|
}
|
|
1459
|
-
protoOf(ListLikeDescriptor).
|
|
1530
|
+
protoOf(ListLikeDescriptor).qk = function () {
|
|
1460
1531
|
return LIST_getInstance();
|
|
1461
1532
|
};
|
|
1462
|
-
protoOf(ListLikeDescriptor).
|
|
1463
|
-
return this.
|
|
1533
|
+
protoOf(ListLikeDescriptor).sk = function () {
|
|
1534
|
+
return this.hn_1;
|
|
1464
1535
|
};
|
|
1465
|
-
protoOf(ListLikeDescriptor).
|
|
1536
|
+
protoOf(ListLikeDescriptor).uk = function (index) {
|
|
1466
1537
|
return index.toString();
|
|
1467
1538
|
};
|
|
1468
|
-
protoOf(ListLikeDescriptor).
|
|
1539
|
+
protoOf(ListLikeDescriptor).vk = function (index) {
|
|
1469
1540
|
// Inline function 'kotlin.require' call
|
|
1470
1541
|
if (!(index >= 0)) {
|
|
1471
1542
|
// Inline function 'kotlinx.serialization.internal.ListLikeDescriptor.getElementDescriptor.<anonymous>' call
|
|
1472
|
-
var message = 'Illegal index ' + index + ', ' + this.
|
|
1543
|
+
var message = 'Illegal index ' + index + ', ' + this.pk() + ' expects only non-negative indices';
|
|
1473
1544
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1474
1545
|
}
|
|
1475
|
-
return this.
|
|
1546
|
+
return this.gn_1;
|
|
1476
1547
|
};
|
|
1477
1548
|
protoOf(ListLikeDescriptor).equals = function (other) {
|
|
1478
1549
|
if (this === other)
|
|
1479
1550
|
return true;
|
|
1480
1551
|
if (!(other instanceof ListLikeDescriptor))
|
|
1481
1552
|
return false;
|
|
1482
|
-
if (equals(this.
|
|
1553
|
+
if (equals(this.gn_1, other.gn_1) && this.pk() === other.pk())
|
|
1483
1554
|
return true;
|
|
1484
1555
|
return false;
|
|
1485
1556
|
};
|
|
1486
1557
|
protoOf(ListLikeDescriptor).hashCode = function () {
|
|
1487
|
-
return imul(hashCode(this.
|
|
1558
|
+
return imul(hashCode(this.gn_1), 31) + getStringHashCode(this.pk()) | 0;
|
|
1488
1559
|
};
|
|
1489
1560
|
protoOf(ListLikeDescriptor).toString = function () {
|
|
1490
|
-
return this.
|
|
1561
|
+
return this.pk() + '(' + toString(this.gn_1) + ')';
|
|
1491
1562
|
};
|
|
1492
1563
|
function MapLikeDescriptor(serialName, keyDescriptor, valueDescriptor) {
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1564
|
+
this.mn_1 = serialName;
|
|
1565
|
+
this.nn_1 = keyDescriptor;
|
|
1566
|
+
this.on_1 = valueDescriptor;
|
|
1567
|
+
this.pn_1 = 2;
|
|
1497
1568
|
}
|
|
1498
|
-
protoOf(MapLikeDescriptor).
|
|
1499
|
-
return this.
|
|
1569
|
+
protoOf(MapLikeDescriptor).pk = function () {
|
|
1570
|
+
return this.mn_1;
|
|
1500
1571
|
};
|
|
1501
|
-
protoOf(MapLikeDescriptor).
|
|
1572
|
+
protoOf(MapLikeDescriptor).qk = function () {
|
|
1502
1573
|
return MAP_getInstance();
|
|
1503
1574
|
};
|
|
1504
|
-
protoOf(MapLikeDescriptor).
|
|
1505
|
-
return this.
|
|
1575
|
+
protoOf(MapLikeDescriptor).sk = function () {
|
|
1576
|
+
return this.pn_1;
|
|
1506
1577
|
};
|
|
1507
|
-
protoOf(MapLikeDescriptor).
|
|
1578
|
+
protoOf(MapLikeDescriptor).uk = function (index) {
|
|
1508
1579
|
return index.toString();
|
|
1509
1580
|
};
|
|
1510
|
-
protoOf(MapLikeDescriptor).
|
|
1581
|
+
protoOf(MapLikeDescriptor).vk = function (index) {
|
|
1511
1582
|
// Inline function 'kotlin.require' call
|
|
1512
1583
|
if (!(index >= 0)) {
|
|
1513
1584
|
// Inline function 'kotlinx.serialization.internal.MapLikeDescriptor.getElementDescriptor.<anonymous>' call
|
|
1514
|
-
var message = 'Illegal index ' + index + ', ' + this.
|
|
1585
|
+
var message = 'Illegal index ' + index + ', ' + this.pk() + ' expects only non-negative indices';
|
|
1515
1586
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1516
1587
|
}
|
|
1517
1588
|
var tmp;
|
|
1518
1589
|
switch (index % 2 | 0) {
|
|
1519
1590
|
case 0:
|
|
1520
|
-
tmp = this.
|
|
1591
|
+
tmp = this.nn_1;
|
|
1521
1592
|
break;
|
|
1522
1593
|
case 1:
|
|
1523
|
-
tmp = this.
|
|
1594
|
+
tmp = this.on_1;
|
|
1524
1595
|
break;
|
|
1525
1596
|
default:
|
|
1526
1597
|
var message_0 = 'Unreached';
|
|
@@ -1533,138 +1604,138 @@
|
|
|
1533
1604
|
return true;
|
|
1534
1605
|
if (!(other instanceof MapLikeDescriptor))
|
|
1535
1606
|
return false;
|
|
1536
|
-
if (!(this.
|
|
1607
|
+
if (!(this.pk() === other.pk()))
|
|
1537
1608
|
return false;
|
|
1538
|
-
if (!equals(this.
|
|
1609
|
+
if (!equals(this.nn_1, other.nn_1))
|
|
1539
1610
|
return false;
|
|
1540
|
-
if (!equals(this.
|
|
1611
|
+
if (!equals(this.on_1, other.on_1))
|
|
1541
1612
|
return false;
|
|
1542
1613
|
return true;
|
|
1543
1614
|
};
|
|
1544
1615
|
protoOf(MapLikeDescriptor).hashCode = function () {
|
|
1545
|
-
var result = getStringHashCode(this.
|
|
1546
|
-
result = imul(31, result) + hashCode(this.
|
|
1547
|
-
result = imul(31, result) + hashCode(this.
|
|
1616
|
+
var result = getStringHashCode(this.pk());
|
|
1617
|
+
result = imul(31, result) + hashCode(this.nn_1) | 0;
|
|
1618
|
+
result = imul(31, result) + hashCode(this.on_1) | 0;
|
|
1548
1619
|
return result;
|
|
1549
1620
|
};
|
|
1550
1621
|
protoOf(MapLikeDescriptor).toString = function () {
|
|
1551
|
-
return this.
|
|
1622
|
+
return this.pk() + '(' + toString(this.nn_1) + ', ' + toString(this.on_1) + ')';
|
|
1552
1623
|
};
|
|
1553
1624
|
function PrimitiveArrayDescriptor(primitive) {
|
|
1554
1625
|
ListLikeDescriptor.call(this, primitive);
|
|
1555
|
-
this.
|
|
1626
|
+
this.un_1 = primitive.pk() + 'Array';
|
|
1556
1627
|
}
|
|
1557
|
-
protoOf(PrimitiveArrayDescriptor).
|
|
1558
|
-
return this.
|
|
1628
|
+
protoOf(PrimitiveArrayDescriptor).pk = function () {
|
|
1629
|
+
return this.un_1;
|
|
1559
1630
|
};
|
|
1560
1631
|
function ArrayListSerializer(element) {
|
|
1561
1632
|
CollectionSerializer.call(this, element);
|
|
1562
|
-
this.
|
|
1633
|
+
this.wn_1 = new ArrayListClassDesc(element.oj());
|
|
1563
1634
|
}
|
|
1564
|
-
protoOf(ArrayListSerializer).
|
|
1565
|
-
return this.
|
|
1635
|
+
protoOf(ArrayListSerializer).oj = function () {
|
|
1636
|
+
return this.wn_1;
|
|
1566
1637
|
};
|
|
1567
1638
|
function HashSetSerializer(eSerializer) {
|
|
1568
1639
|
CollectionSerializer.call(this, eSerializer);
|
|
1569
|
-
this.
|
|
1640
|
+
this.do_1 = new HashSetClassDesc(eSerializer.oj());
|
|
1570
1641
|
}
|
|
1571
|
-
protoOf(HashSetSerializer).
|
|
1572
|
-
return this.
|
|
1642
|
+
protoOf(HashSetSerializer).oj = function () {
|
|
1643
|
+
return this.do_1;
|
|
1573
1644
|
};
|
|
1574
1645
|
function LinkedHashSetSerializer(eSerializer) {
|
|
1575
1646
|
CollectionSerializer.call(this, eSerializer);
|
|
1576
|
-
this.
|
|
1647
|
+
this.fo_1 = new LinkedHashSetClassDesc(eSerializer.oj());
|
|
1577
1648
|
}
|
|
1578
|
-
protoOf(LinkedHashSetSerializer).
|
|
1579
|
-
return this.
|
|
1649
|
+
protoOf(LinkedHashSetSerializer).oj = function () {
|
|
1650
|
+
return this.fo_1;
|
|
1580
1651
|
};
|
|
1581
1652
|
function HashMapSerializer(kSerializer, vSerializer) {
|
|
1582
1653
|
MapLikeSerializer.call(this, kSerializer, vSerializer);
|
|
1583
|
-
this.
|
|
1654
|
+
this.io_1 = new HashMapClassDesc(kSerializer.oj(), vSerializer.oj());
|
|
1584
1655
|
}
|
|
1585
|
-
protoOf(HashMapSerializer).
|
|
1586
|
-
return this.
|
|
1656
|
+
protoOf(HashMapSerializer).oj = function () {
|
|
1657
|
+
return this.io_1;
|
|
1587
1658
|
};
|
|
1588
|
-
protoOf(HashMapSerializer).
|
|
1659
|
+
protoOf(HashMapSerializer).jo = function (_this__u8e3s4) {
|
|
1589
1660
|
return _this__u8e3s4.p();
|
|
1590
1661
|
};
|
|
1591
|
-
protoOf(HashMapSerializer).
|
|
1592
|
-
return this.
|
|
1662
|
+
protoOf(HashMapSerializer).ko = function (_this__u8e3s4) {
|
|
1663
|
+
return this.jo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1593
1664
|
};
|
|
1594
|
-
protoOf(HashMapSerializer).
|
|
1665
|
+
protoOf(HashMapSerializer).lo = function (_this__u8e3s4) {
|
|
1595
1666
|
// Inline function 'kotlin.collections.iterator' call
|
|
1596
1667
|
return _this__u8e3s4.x().m();
|
|
1597
1668
|
};
|
|
1598
|
-
protoOf(HashMapSerializer).
|
|
1599
|
-
return this.
|
|
1669
|
+
protoOf(HashMapSerializer).mo = function (_this__u8e3s4) {
|
|
1670
|
+
return this.lo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1600
1671
|
};
|
|
1601
1672
|
function LinkedHashMapSerializer(kSerializer, vSerializer) {
|
|
1602
1673
|
MapLikeSerializer.call(this, kSerializer, vSerializer);
|
|
1603
|
-
this.
|
|
1674
|
+
this.ro_1 = new LinkedHashMapClassDesc(kSerializer.oj(), vSerializer.oj());
|
|
1604
1675
|
}
|
|
1605
|
-
protoOf(LinkedHashMapSerializer).
|
|
1606
|
-
return this.
|
|
1676
|
+
protoOf(LinkedHashMapSerializer).oj = function () {
|
|
1677
|
+
return this.ro_1;
|
|
1607
1678
|
};
|
|
1608
|
-
protoOf(LinkedHashMapSerializer).
|
|
1679
|
+
protoOf(LinkedHashMapSerializer).jo = function (_this__u8e3s4) {
|
|
1609
1680
|
return _this__u8e3s4.p();
|
|
1610
1681
|
};
|
|
1611
|
-
protoOf(LinkedHashMapSerializer).
|
|
1612
|
-
return this.
|
|
1682
|
+
protoOf(LinkedHashMapSerializer).ko = function (_this__u8e3s4) {
|
|
1683
|
+
return this.jo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1613
1684
|
};
|
|
1614
|
-
protoOf(LinkedHashMapSerializer).
|
|
1685
|
+
protoOf(LinkedHashMapSerializer).lo = function (_this__u8e3s4) {
|
|
1615
1686
|
// Inline function 'kotlin.collections.iterator' call
|
|
1616
1687
|
return _this__u8e3s4.x().m();
|
|
1617
1688
|
};
|
|
1618
|
-
protoOf(LinkedHashMapSerializer).
|
|
1619
|
-
return this.
|
|
1689
|
+
protoOf(LinkedHashMapSerializer).mo = function (_this__u8e3s4) {
|
|
1690
|
+
return this.lo((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1620
1691
|
};
|
|
1621
1692
|
function ReferenceArraySerializer(kClass, eSerializer) {
|
|
1622
1693
|
CollectionLikeSerializer.call(this, eSerializer);
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1694
|
+
this.to_1 = kClass;
|
|
1695
|
+
this.uo_1 = new ArrayClassDesc(eSerializer.oj());
|
|
1625
1696
|
}
|
|
1626
|
-
protoOf(ReferenceArraySerializer).
|
|
1627
|
-
return this.
|
|
1697
|
+
protoOf(ReferenceArraySerializer).oj = function () {
|
|
1698
|
+
return this.uo_1;
|
|
1628
1699
|
};
|
|
1629
|
-
protoOf(ReferenceArraySerializer).
|
|
1700
|
+
protoOf(ReferenceArraySerializer).vo = function (_this__u8e3s4) {
|
|
1630
1701
|
return _this__u8e3s4.length;
|
|
1631
1702
|
};
|
|
1632
|
-
protoOf(ReferenceArraySerializer).
|
|
1633
|
-
return this.
|
|
1703
|
+
protoOf(ReferenceArraySerializer).ko = function (_this__u8e3s4) {
|
|
1704
|
+
return this.vo((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1634
1705
|
};
|
|
1635
|
-
protoOf(ReferenceArraySerializer).
|
|
1706
|
+
protoOf(ReferenceArraySerializer).wo = function (_this__u8e3s4) {
|
|
1636
1707
|
return arrayIterator(_this__u8e3s4);
|
|
1637
1708
|
};
|
|
1638
|
-
protoOf(ReferenceArraySerializer).
|
|
1639
|
-
return this.
|
|
1709
|
+
protoOf(ReferenceArraySerializer).mo = function (_this__u8e3s4) {
|
|
1710
|
+
return this.wo((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1640
1711
|
};
|
|
1641
1712
|
function CollectionSerializer(element) {
|
|
1642
1713
|
CollectionLikeSerializer.call(this, element);
|
|
1643
1714
|
}
|
|
1644
|
-
protoOf(CollectionSerializer).
|
|
1715
|
+
protoOf(CollectionSerializer).yn = function (_this__u8e3s4) {
|
|
1645
1716
|
return _this__u8e3s4.p();
|
|
1646
1717
|
};
|
|
1647
|
-
protoOf(CollectionSerializer).
|
|
1648
|
-
return this.
|
|
1718
|
+
protoOf(CollectionSerializer).ko = function (_this__u8e3s4) {
|
|
1719
|
+
return this.yn((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1649
1720
|
};
|
|
1650
|
-
protoOf(CollectionSerializer).
|
|
1721
|
+
protoOf(CollectionSerializer).zn = function (_this__u8e3s4) {
|
|
1651
1722
|
return _this__u8e3s4.m();
|
|
1652
1723
|
};
|
|
1653
|
-
protoOf(CollectionSerializer).
|
|
1654
|
-
return this.
|
|
1724
|
+
protoOf(CollectionSerializer).mo = function (_this__u8e3s4) {
|
|
1725
|
+
return this.zn((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1655
1726
|
};
|
|
1656
1727
|
function MapLikeSerializer(keySerializer, valueSerializer) {
|
|
1657
1728
|
AbstractCollectionSerializer.call(this);
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1729
|
+
this.no_1 = keySerializer;
|
|
1730
|
+
this.oo_1 = valueSerializer;
|
|
1660
1731
|
}
|
|
1661
|
-
protoOf(MapLikeSerializer).
|
|
1662
|
-
var size = this.
|
|
1732
|
+
protoOf(MapLikeSerializer).bo = function (encoder, value) {
|
|
1733
|
+
var size = this.ko(value);
|
|
1663
1734
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1664
|
-
var descriptor = this.
|
|
1665
|
-
var composite = encoder.
|
|
1735
|
+
var descriptor = this.oj();
|
|
1736
|
+
var composite = encoder.vm(descriptor, size);
|
|
1666
1737
|
// Inline function 'kotlinx.serialization.internal.MapLikeSerializer.serialize.<anonymous>' call
|
|
1667
|
-
var iterator = this.
|
|
1738
|
+
var iterator = this.mo(value);
|
|
1668
1739
|
var index = 0;
|
|
1669
1740
|
// Inline function 'kotlin.collections.forEach' call
|
|
1670
1741
|
// Inline function 'kotlin.collections.iterator' call
|
|
@@ -1676,84 +1747,84 @@
|
|
|
1676
1747
|
var k = element.y();
|
|
1677
1748
|
// Inline function 'kotlin.collections.component2' call
|
|
1678
1749
|
var v = element.z();
|
|
1679
|
-
var tmp = this.
|
|
1680
|
-
var
|
|
1681
|
-
index =
|
|
1682
|
-
composite.
|
|
1683
|
-
var tmp_0 = this.
|
|
1684
|
-
var
|
|
1685
|
-
index =
|
|
1686
|
-
composite.
|
|
1750
|
+
var tmp = this.oj();
|
|
1751
|
+
var _unary__edvuaz = index;
|
|
1752
|
+
index = _unary__edvuaz + 1 | 0;
|
|
1753
|
+
composite.pm(tmp, _unary__edvuaz, this.no_1, k);
|
|
1754
|
+
var tmp_0 = this.oj();
|
|
1755
|
+
var _unary__edvuaz_0 = index;
|
|
1756
|
+
index = _unary__edvuaz_0 + 1 | 0;
|
|
1757
|
+
composite.pm(tmp_0, _unary__edvuaz_0, this.oo_1, v);
|
|
1687
1758
|
}
|
|
1688
|
-
composite.
|
|
1759
|
+
composite.rl(descriptor);
|
|
1689
1760
|
};
|
|
1690
|
-
protoOf(MapLikeSerializer).
|
|
1691
|
-
return this.
|
|
1761
|
+
protoOf(MapLikeSerializer).pj = function (encoder, value) {
|
|
1762
|
+
return this.bo(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1692
1763
|
};
|
|
1693
1764
|
function CollectionLikeSerializer(elementSerializer) {
|
|
1694
1765
|
AbstractCollectionSerializer.call(this);
|
|
1695
|
-
this.
|
|
1766
|
+
this.ao_1 = elementSerializer;
|
|
1696
1767
|
}
|
|
1697
|
-
protoOf(CollectionLikeSerializer).
|
|
1698
|
-
var size = this.
|
|
1768
|
+
protoOf(CollectionLikeSerializer).bo = function (encoder, value) {
|
|
1769
|
+
var size = this.ko(value);
|
|
1699
1770
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1700
|
-
var descriptor = this.
|
|
1701
|
-
var composite = encoder.
|
|
1771
|
+
var descriptor = this.oj();
|
|
1772
|
+
var composite = encoder.vm(descriptor, size);
|
|
1702
1773
|
// Inline function 'kotlinx.serialization.internal.CollectionLikeSerializer.serialize.<anonymous>' call
|
|
1703
|
-
var iterator = this.
|
|
1774
|
+
var iterator = this.mo(value);
|
|
1704
1775
|
var inductionVariable = 0;
|
|
1705
1776
|
if (inductionVariable < size)
|
|
1706
1777
|
do {
|
|
1707
1778
|
var index = inductionVariable;
|
|
1708
1779
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1709
|
-
composite.
|
|
1780
|
+
composite.pm(this.oj(), index, this.ao_1, iterator.o());
|
|
1710
1781
|
}
|
|
1711
1782
|
while (inductionVariable < size);
|
|
1712
|
-
composite.
|
|
1783
|
+
composite.rl(descriptor);
|
|
1713
1784
|
};
|
|
1714
|
-
protoOf(CollectionLikeSerializer).
|
|
1715
|
-
return this.
|
|
1785
|
+
protoOf(CollectionLikeSerializer).pj = function (encoder, value) {
|
|
1786
|
+
return this.bo(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1716
1787
|
};
|
|
1717
1788
|
function AbstractCollectionSerializer() {
|
|
1718
1789
|
}
|
|
1719
1790
|
function PrimitiveArraySerializer(primitiveSerializer) {
|
|
1720
1791
|
CollectionLikeSerializer.call(this, primitiveSerializer);
|
|
1721
|
-
this.
|
|
1792
|
+
this.yo_1 = new PrimitiveArrayDescriptor(primitiveSerializer.oj());
|
|
1722
1793
|
}
|
|
1723
|
-
protoOf(PrimitiveArraySerializer).
|
|
1724
|
-
return this.
|
|
1794
|
+
protoOf(PrimitiveArraySerializer).oj = function () {
|
|
1795
|
+
return this.yo_1;
|
|
1725
1796
|
};
|
|
1726
|
-
protoOf(PrimitiveArraySerializer).
|
|
1797
|
+
protoOf(PrimitiveArraySerializer).zo = function (_this__u8e3s4) {
|
|
1727
1798
|
var message = 'This method lead to boxing and must not be used, use writeContents instead';
|
|
1728
1799
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1729
1800
|
};
|
|
1730
|
-
protoOf(PrimitiveArraySerializer).
|
|
1731
|
-
return this.
|
|
1801
|
+
protoOf(PrimitiveArraySerializer).mo = function (_this__u8e3s4) {
|
|
1802
|
+
return this.zo((_this__u8e3s4 == null ? true : !(_this__u8e3s4 == null)) ? _this__u8e3s4 : THROW_CCE());
|
|
1732
1803
|
};
|
|
1733
|
-
protoOf(PrimitiveArraySerializer).
|
|
1734
|
-
var size = this.
|
|
1804
|
+
protoOf(PrimitiveArraySerializer).bp = function (encoder, value) {
|
|
1805
|
+
var size = this.ko(value);
|
|
1735
1806
|
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1736
|
-
var descriptor = this.
|
|
1737
|
-
var composite = encoder.
|
|
1807
|
+
var descriptor = this.yo_1;
|
|
1808
|
+
var composite = encoder.vm(descriptor, size);
|
|
1738
1809
|
// Inline function 'kotlinx.serialization.internal.PrimitiveArraySerializer.serialize.<anonymous>' call
|
|
1739
|
-
this.
|
|
1740
|
-
composite.
|
|
1810
|
+
this.ap(composite, value, size);
|
|
1811
|
+
composite.rl(descriptor);
|
|
1741
1812
|
};
|
|
1742
|
-
protoOf(PrimitiveArraySerializer).
|
|
1743
|
-
return this.
|
|
1813
|
+
protoOf(PrimitiveArraySerializer).pj = function (encoder, value) {
|
|
1814
|
+
return this.bp(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1744
1815
|
};
|
|
1745
|
-
protoOf(PrimitiveArraySerializer).
|
|
1746
|
-
return this.
|
|
1816
|
+
protoOf(PrimitiveArraySerializer).bo = function (encoder, value) {
|
|
1817
|
+
return this.bp(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1747
1818
|
};
|
|
1748
1819
|
function InlinePrimitiveDescriptor(name, primitiveSerializer) {
|
|
1749
1820
|
return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
|
|
1750
1821
|
}
|
|
1751
1822
|
function InlineClassDescriptor(name, generatedSerializer) {
|
|
1752
1823
|
PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1);
|
|
1753
|
-
this.
|
|
1824
|
+
this.op_1 = true;
|
|
1754
1825
|
}
|
|
1755
|
-
protoOf(InlineClassDescriptor).
|
|
1756
|
-
return this.
|
|
1826
|
+
protoOf(InlineClassDescriptor).rk = function () {
|
|
1827
|
+
return this.op_1;
|
|
1757
1828
|
};
|
|
1758
1829
|
protoOf(InlineClassDescriptor).hashCode = function () {
|
|
1759
1830
|
return imul(protoOf(PluginGeneratedSerialDescriptor).hashCode.call(this), 31);
|
|
@@ -1770,30 +1841,30 @@
|
|
|
1770
1841
|
tmp$ret$0 = false;
|
|
1771
1842
|
break $l$block_5;
|
|
1772
1843
|
}
|
|
1773
|
-
if (!(this.
|
|
1844
|
+
if (!(this.pk() === other.pk())) {
|
|
1774
1845
|
tmp$ret$0 = false;
|
|
1775
1846
|
break $l$block_5;
|
|
1776
1847
|
}
|
|
1777
1848
|
// Inline function 'kotlinx.serialization.internal.InlineClassDescriptor.equals.<anonymous>' call
|
|
1778
|
-
if (!(other.
|
|
1849
|
+
if (!(other.op_1 && contentEquals(this.bq(), other.bq()))) {
|
|
1779
1850
|
tmp$ret$0 = false;
|
|
1780
1851
|
break $l$block_5;
|
|
1781
1852
|
}
|
|
1782
|
-
if (!(this.
|
|
1853
|
+
if (!(this.sk() === other.sk())) {
|
|
1783
1854
|
tmp$ret$0 = false;
|
|
1784
1855
|
break $l$block_5;
|
|
1785
1856
|
}
|
|
1786
1857
|
var inductionVariable = 0;
|
|
1787
|
-
var last = this.
|
|
1858
|
+
var last = this.sk();
|
|
1788
1859
|
if (inductionVariable < last)
|
|
1789
1860
|
do {
|
|
1790
1861
|
var index = inductionVariable;
|
|
1791
1862
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1792
|
-
if (!(this.
|
|
1863
|
+
if (!(this.vk(index).pk() === other.vk(index).pk())) {
|
|
1793
1864
|
tmp$ret$0 = false;
|
|
1794
1865
|
break $l$block_5;
|
|
1795
1866
|
}
|
|
1796
|
-
if (!equals(this.
|
|
1867
|
+
if (!equals(this.vk(index).qk(), other.vk(index).qk())) {
|
|
1797
1868
|
tmp$ret$0 = false;
|
|
1798
1869
|
break $l$block_5;
|
|
1799
1870
|
}
|
|
@@ -1804,19 +1875,19 @@
|
|
|
1804
1875
|
return tmp$ret$0;
|
|
1805
1876
|
};
|
|
1806
1877
|
function InlinePrimitiveDescriptor$1($primitiveSerializer) {
|
|
1807
|
-
this.
|
|
1878
|
+
this.dq_1 = $primitiveSerializer;
|
|
1808
1879
|
}
|
|
1809
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1880
|
+
protoOf(InlinePrimitiveDescriptor$1).eq = function () {
|
|
1810
1881
|
// Inline function 'kotlin.arrayOf' call
|
|
1811
1882
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1812
1883
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1813
|
-
return [this.
|
|
1884
|
+
return [this.dq_1];
|
|
1814
1885
|
};
|
|
1815
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1886
|
+
protoOf(InlinePrimitiveDescriptor$1).oj = function () {
|
|
1816
1887
|
var message = 'unsupported';
|
|
1817
1888
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1818
1889
|
};
|
|
1819
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
1890
|
+
protoOf(InlinePrimitiveDescriptor$1).pj = function (encoder, value) {
|
|
1820
1891
|
// Inline function 'kotlin.error' call
|
|
1821
1892
|
var message = 'unsupported';
|
|
1822
1893
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -1827,42 +1898,42 @@
|
|
|
1827
1898
|
function NoOpEncoder() {
|
|
1828
1899
|
NoOpEncoder_instance = this;
|
|
1829
1900
|
AbstractEncoder.call(this);
|
|
1830
|
-
this.
|
|
1901
|
+
this.gq_1 = EmptySerializersModule_0();
|
|
1831
1902
|
}
|
|
1832
|
-
protoOf(NoOpEncoder).
|
|
1833
|
-
return this.
|
|
1903
|
+
protoOf(NoOpEncoder).tm = function () {
|
|
1904
|
+
return this.gq_1;
|
|
1834
1905
|
};
|
|
1835
|
-
protoOf(NoOpEncoder).
|
|
1906
|
+
protoOf(NoOpEncoder).tl = function (value) {
|
|
1836
1907
|
return Unit_instance;
|
|
1837
1908
|
};
|
|
1838
|
-
protoOf(NoOpEncoder).
|
|
1909
|
+
protoOf(NoOpEncoder).ul = function () {
|
|
1839
1910
|
return Unit_instance;
|
|
1840
1911
|
};
|
|
1841
|
-
protoOf(NoOpEncoder).
|
|
1912
|
+
protoOf(NoOpEncoder).vl = function (value) {
|
|
1842
1913
|
return Unit_instance;
|
|
1843
1914
|
};
|
|
1844
|
-
protoOf(NoOpEncoder).
|
|
1915
|
+
protoOf(NoOpEncoder).wl = function (value) {
|
|
1845
1916
|
return Unit_instance;
|
|
1846
1917
|
};
|
|
1847
|
-
protoOf(NoOpEncoder).
|
|
1918
|
+
protoOf(NoOpEncoder).xl = function (value) {
|
|
1848
1919
|
return Unit_instance;
|
|
1849
1920
|
};
|
|
1850
|
-
protoOf(NoOpEncoder).
|
|
1921
|
+
protoOf(NoOpEncoder).yl = function (value) {
|
|
1851
1922
|
return Unit_instance;
|
|
1852
1923
|
};
|
|
1853
|
-
protoOf(NoOpEncoder).
|
|
1924
|
+
protoOf(NoOpEncoder).zl = function (value) {
|
|
1854
1925
|
return Unit_instance;
|
|
1855
1926
|
};
|
|
1856
|
-
protoOf(NoOpEncoder).
|
|
1927
|
+
protoOf(NoOpEncoder).am = function (value) {
|
|
1857
1928
|
return Unit_instance;
|
|
1858
1929
|
};
|
|
1859
|
-
protoOf(NoOpEncoder).
|
|
1930
|
+
protoOf(NoOpEncoder).bm = function (value) {
|
|
1860
1931
|
return Unit_instance;
|
|
1861
1932
|
};
|
|
1862
|
-
protoOf(NoOpEncoder).
|
|
1933
|
+
protoOf(NoOpEncoder).cm = function (value) {
|
|
1863
1934
|
return Unit_instance;
|
|
1864
1935
|
};
|
|
1865
|
-
protoOf(NoOpEncoder).
|
|
1936
|
+
protoOf(NoOpEncoder).dm = function (value) {
|
|
1866
1937
|
return Unit_instance;
|
|
1867
1938
|
};
|
|
1868
1939
|
var NoOpEncoder_instance;
|
|
@@ -1876,22 +1947,22 @@
|
|
|
1876
1947
|
}
|
|
1877
1948
|
function NothingSerialDescriptor() {
|
|
1878
1949
|
NothingSerialDescriptor_instance = this;
|
|
1879
|
-
this.
|
|
1880
|
-
this.
|
|
1950
|
+
this.hq_1 = OBJECT_getInstance();
|
|
1951
|
+
this.iq_1 = 'kotlin.Nothing';
|
|
1881
1952
|
}
|
|
1882
|
-
protoOf(NothingSerialDescriptor).
|
|
1883
|
-
return this.
|
|
1953
|
+
protoOf(NothingSerialDescriptor).qk = function () {
|
|
1954
|
+
return this.hq_1;
|
|
1884
1955
|
};
|
|
1885
|
-
protoOf(NothingSerialDescriptor).
|
|
1886
|
-
return this.
|
|
1956
|
+
protoOf(NothingSerialDescriptor).pk = function () {
|
|
1957
|
+
return this.iq_1;
|
|
1887
1958
|
};
|
|
1888
|
-
protoOf(NothingSerialDescriptor).
|
|
1959
|
+
protoOf(NothingSerialDescriptor).sk = function () {
|
|
1889
1960
|
return 0;
|
|
1890
1961
|
};
|
|
1891
|
-
protoOf(NothingSerialDescriptor).
|
|
1962
|
+
protoOf(NothingSerialDescriptor).uk = function (index) {
|
|
1892
1963
|
error(this);
|
|
1893
1964
|
};
|
|
1894
|
-
protoOf(NothingSerialDescriptor).
|
|
1965
|
+
protoOf(NothingSerialDescriptor).vk = function (index) {
|
|
1895
1966
|
error(this);
|
|
1896
1967
|
};
|
|
1897
1968
|
protoOf(NothingSerialDescriptor).toString = function () {
|
|
@@ -1901,7 +1972,7 @@
|
|
|
1901
1972
|
return this === other;
|
|
1902
1973
|
};
|
|
1903
1974
|
protoOf(NothingSerialDescriptor).hashCode = function () {
|
|
1904
|
-
return getStringHashCode(this.
|
|
1975
|
+
return getStringHashCode(this.iq_1) + imul(31, this.hq_1.hashCode()) | 0;
|
|
1905
1976
|
};
|
|
1906
1977
|
var NothingSerialDescriptor_instance;
|
|
1907
1978
|
function NothingSerialDescriptor_getInstance() {
|
|
@@ -1910,22 +1981,22 @@
|
|
|
1910
1981
|
return NothingSerialDescriptor_instance;
|
|
1911
1982
|
}
|
|
1912
1983
|
function NullableSerializer(serializer) {
|
|
1913
|
-
this.
|
|
1914
|
-
this.
|
|
1984
|
+
this.jq_1 = serializer;
|
|
1985
|
+
this.kq_1 = new SerialDescriptorForNullable(this.jq_1.oj());
|
|
1915
1986
|
}
|
|
1916
|
-
protoOf(NullableSerializer).
|
|
1917
|
-
return this.
|
|
1987
|
+
protoOf(NullableSerializer).oj = function () {
|
|
1988
|
+
return this.kq_1;
|
|
1918
1989
|
};
|
|
1919
|
-
protoOf(NullableSerializer).
|
|
1990
|
+
protoOf(NullableSerializer).lq = function (encoder, value) {
|
|
1920
1991
|
if (!(value == null)) {
|
|
1921
|
-
encoder.
|
|
1922
|
-
encoder.
|
|
1992
|
+
encoder.um();
|
|
1993
|
+
encoder.qm(this.jq_1, value);
|
|
1923
1994
|
} else {
|
|
1924
|
-
encoder.
|
|
1995
|
+
encoder.ul();
|
|
1925
1996
|
}
|
|
1926
1997
|
};
|
|
1927
|
-
protoOf(NullableSerializer).
|
|
1928
|
-
return this.
|
|
1998
|
+
protoOf(NullableSerializer).pj = function (encoder, value) {
|
|
1999
|
+
return this.lq(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1929
2000
|
};
|
|
1930
2001
|
protoOf(NullableSerializer).equals = function (other) {
|
|
1931
2002
|
if (this === other)
|
|
@@ -1934,43 +2005,25 @@
|
|
|
1934
2005
|
return false;
|
|
1935
2006
|
if (!(other instanceof NullableSerializer))
|
|
1936
2007
|
THROW_CCE();
|
|
1937
|
-
if (!equals(this.
|
|
2008
|
+
if (!equals(this.jq_1, other.jq_1))
|
|
1938
2009
|
return false;
|
|
1939
2010
|
return true;
|
|
1940
2011
|
};
|
|
1941
2012
|
protoOf(NullableSerializer).hashCode = function () {
|
|
1942
|
-
return hashCode(this.
|
|
2013
|
+
return hashCode(this.jq_1);
|
|
1943
2014
|
};
|
|
1944
2015
|
function SerialDescriptorForNullable(original) {
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1947
|
-
this.
|
|
2016
|
+
this.wk_1 = original;
|
|
2017
|
+
this.xk_1 = this.wk_1.pk() + '?';
|
|
2018
|
+
this.yk_1 = cachedSerialNames(this.wk_1);
|
|
1948
2019
|
}
|
|
1949
|
-
protoOf(SerialDescriptorForNullable).
|
|
1950
|
-
return this.
|
|
1951
|
-
};
|
|
1952
|
-
protoOf(SerialDescriptorForNullable).lk = function () {
|
|
1953
|
-
return this.qk_1.lk();
|
|
1954
|
-
};
|
|
1955
|
-
protoOf(SerialDescriptorForNullable).mk = function () {
|
|
1956
|
-
return this.qk_1.mk();
|
|
1957
|
-
};
|
|
1958
|
-
protoOf(SerialDescriptorForNullable).nk = function () {
|
|
1959
|
-
return this.qk_1.nk();
|
|
1960
|
-
};
|
|
1961
|
-
protoOf(SerialDescriptorForNullable).ok = function (index) {
|
|
1962
|
-
return this.qk_1.ok(index);
|
|
1963
|
-
};
|
|
1964
|
-
protoOf(SerialDescriptorForNullable).pk = function (index) {
|
|
1965
|
-
return this.qk_1.pk(index);
|
|
1966
|
-
};
|
|
1967
|
-
protoOf(SerialDescriptorForNullable).jk = function () {
|
|
1968
|
-
return this.rk_1;
|
|
2020
|
+
protoOf(SerialDescriptorForNullable).pk = function () {
|
|
2021
|
+
return this.xk_1;
|
|
1969
2022
|
};
|
|
1970
|
-
protoOf(SerialDescriptorForNullable).
|
|
1971
|
-
return this.
|
|
2023
|
+
protoOf(SerialDescriptorForNullable).pl = function () {
|
|
2024
|
+
return this.yk_1;
|
|
1972
2025
|
};
|
|
1973
|
-
protoOf(SerialDescriptorForNullable).
|
|
2026
|
+
protoOf(SerialDescriptorForNullable).lk = function () {
|
|
1974
2027
|
return true;
|
|
1975
2028
|
};
|
|
1976
2029
|
protoOf(SerialDescriptorForNullable).equals = function (other) {
|
|
@@ -1978,19 +2031,37 @@
|
|
|
1978
2031
|
return true;
|
|
1979
2032
|
if (!(other instanceof SerialDescriptorForNullable))
|
|
1980
2033
|
return false;
|
|
1981
|
-
if (!equals(this.
|
|
2034
|
+
if (!equals(this.wk_1, other.wk_1))
|
|
1982
2035
|
return false;
|
|
1983
2036
|
return true;
|
|
1984
2037
|
};
|
|
1985
2038
|
protoOf(SerialDescriptorForNullable).toString = function () {
|
|
1986
|
-
return toString(this.
|
|
2039
|
+
return toString(this.wk_1) + '?';
|
|
1987
2040
|
};
|
|
1988
2041
|
protoOf(SerialDescriptorForNullable).hashCode = function () {
|
|
1989
|
-
return imul(hashCode(this.
|
|
2042
|
+
return imul(hashCode(this.wk_1), 31);
|
|
2043
|
+
};
|
|
2044
|
+
protoOf(SerialDescriptorForNullable).qk = function () {
|
|
2045
|
+
return this.wk_1.qk();
|
|
2046
|
+
};
|
|
2047
|
+
protoOf(SerialDescriptorForNullable).rk = function () {
|
|
2048
|
+
return this.wk_1.rk();
|
|
2049
|
+
};
|
|
2050
|
+
protoOf(SerialDescriptorForNullable).sk = function () {
|
|
2051
|
+
return this.wk_1.sk();
|
|
2052
|
+
};
|
|
2053
|
+
protoOf(SerialDescriptorForNullable).tk = function () {
|
|
2054
|
+
return this.wk_1.tk();
|
|
2055
|
+
};
|
|
2056
|
+
protoOf(SerialDescriptorForNullable).uk = function (index) {
|
|
2057
|
+
return this.wk_1.uk(index);
|
|
2058
|
+
};
|
|
2059
|
+
protoOf(SerialDescriptorForNullable).vk = function (index) {
|
|
2060
|
+
return this.wk_1.vk(index);
|
|
1990
2061
|
};
|
|
1991
2062
|
function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
1992
2063
|
return function ($this$buildSerialDescriptor) {
|
|
1993
|
-
$this$buildSerialDescriptor.
|
|
2064
|
+
$this$buildSerialDescriptor.sj_1 = this$0.nq_1;
|
|
1994
2065
|
return Unit_instance;
|
|
1995
2066
|
};
|
|
1996
2067
|
}
|
|
@@ -2001,27 +2072,27 @@
|
|
|
2001
2072
|
};
|
|
2002
2073
|
}
|
|
2003
2074
|
function ObjectSerializer(serialName, objectInstance) {
|
|
2004
|
-
this.
|
|
2005
|
-
this.
|
|
2075
|
+
this.mq_1 = objectInstance;
|
|
2076
|
+
this.nq_1 = emptyList();
|
|
2006
2077
|
var tmp = this;
|
|
2007
2078
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2008
|
-
tmp.
|
|
2079
|
+
tmp.oq_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
|
|
2009
2080
|
}
|
|
2010
|
-
protoOf(ObjectSerializer).
|
|
2011
|
-
var tmp0 = this.
|
|
2081
|
+
protoOf(ObjectSerializer).oj = function () {
|
|
2082
|
+
var tmp0 = this.oq_1;
|
|
2012
2083
|
// Inline function 'kotlin.getValue' call
|
|
2013
|
-
descriptor$
|
|
2084
|
+
descriptor$factory_1();
|
|
2014
2085
|
return tmp0.z();
|
|
2015
2086
|
};
|
|
2016
|
-
protoOf(ObjectSerializer).
|
|
2017
|
-
encoder.
|
|
2087
|
+
protoOf(ObjectSerializer).dk = function (encoder, value) {
|
|
2088
|
+
encoder.ql(this.oj()).rl(this.oj());
|
|
2018
2089
|
};
|
|
2019
|
-
protoOf(ObjectSerializer).
|
|
2020
|
-
return this.
|
|
2090
|
+
protoOf(ObjectSerializer).pj = function (encoder, value) {
|
|
2091
|
+
return this.dk(encoder, !(value == null) ? value : THROW_CCE());
|
|
2021
2092
|
};
|
|
2022
|
-
function descriptor$
|
|
2093
|
+
function descriptor$factory_1() {
|
|
2023
2094
|
return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) {
|
|
2024
|
-
return receiver.
|
|
2095
|
+
return receiver.oj();
|
|
2025
2096
|
}, null);
|
|
2026
2097
|
}
|
|
2027
2098
|
function get_EMPTY_DESCRIPTOR_ARRAY() {
|
|
@@ -2032,16 +2103,16 @@
|
|
|
2032
2103
|
function cachedSerialNames(_this__u8e3s4) {
|
|
2033
2104
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2034
2105
|
if (isInterface(_this__u8e3s4, CachedNames))
|
|
2035
|
-
return _this__u8e3s4.
|
|
2036
|
-
var result = HashSet_init_$Create$_0(_this__u8e3s4.
|
|
2106
|
+
return _this__u8e3s4.pl();
|
|
2107
|
+
var result = HashSet_init_$Create$_0(_this__u8e3s4.sk());
|
|
2037
2108
|
var inductionVariable = 0;
|
|
2038
|
-
var last = _this__u8e3s4.
|
|
2109
|
+
var last = _this__u8e3s4.sk();
|
|
2039
2110
|
if (inductionVariable < last)
|
|
2040
2111
|
do {
|
|
2041
2112
|
var i = inductionVariable;
|
|
2042
2113
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2043
2114
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2044
|
-
var element = _this__u8e3s4.
|
|
2115
|
+
var element = _this__u8e3s4.uk(i);
|
|
2045
2116
|
result.e(element);
|
|
2046
2117
|
}
|
|
2047
2118
|
while (inductionVariable < last);
|
|
@@ -2049,13 +2120,13 @@
|
|
|
2049
2120
|
}
|
|
2050
2121
|
function kclass(_this__u8e3s4) {
|
|
2051
2122
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2052
|
-
var t = _this__u8e3s4.
|
|
2123
|
+
var t = _this__u8e3s4.oa();
|
|
2053
2124
|
var tmp;
|
|
2054
2125
|
if (!(t == null) ? isInterface(t, KClass) : false) {
|
|
2055
2126
|
tmp = t;
|
|
2056
2127
|
} else {
|
|
2057
2128
|
if (!(t == null) ? isInterface(t, KTypeParameter) : false) {
|
|
2058
|
-
throw IllegalArgumentException_init_$Create$('Captured type parameter ' +
|
|
2129
|
+
throw IllegalArgumentException_init_$Create$('Captured type parameter ' + toString(t) + ' from generic non-reified function. ' + ('Such functionality cannot be supported because ' + toString(t) + ' is erased, either specify serializer explicitly or make ') + ('calling function inline with reified ' + toString(t) + '.'));
|
|
2059
2130
|
} else {
|
|
2060
2131
|
throw IllegalArgumentException_init_$Create$('Only KClass supported as classifier, got ' + toString_0(t));
|
|
2061
2132
|
}
|
|
@@ -2065,13 +2136,13 @@
|
|
|
2065
2136
|
}
|
|
2066
2137
|
function typeOrThrow(_this__u8e3s4) {
|
|
2067
2138
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2068
|
-
var tmp0 = _this__u8e3s4.
|
|
2139
|
+
var tmp0 = _this__u8e3s4.hg_1;
|
|
2069
2140
|
var tmp$ret$1;
|
|
2070
2141
|
$l$block: {
|
|
2071
2142
|
// Inline function 'kotlin.requireNotNull' call
|
|
2072
2143
|
if (tmp0 == null) {
|
|
2073
2144
|
// Inline function 'kotlinx.serialization.internal.typeOrThrow.<anonymous>' call
|
|
2074
|
-
var message = 'Star projections in type arguments are not allowed, but had ' + toString_0(_this__u8e3s4.
|
|
2145
|
+
var message = 'Star projections in type arguments are not allowed, but had ' + toString_0(_this__u8e3s4.hg_1);
|
|
2075
2146
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2076
2147
|
} else {
|
|
2077
2148
|
tmp$ret$1 = tmp0;
|
|
@@ -2082,13 +2153,9 @@
|
|
|
2082
2153
|
}
|
|
2083
2154
|
function notRegisteredMessage(_this__u8e3s4) {
|
|
2084
2155
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2085
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2156
|
+
var tmp0_elvis_lhs = _this__u8e3s4.aa();
|
|
2086
2157
|
return notRegisteredMessage_0(tmp0_elvis_lhs == null ? '<local class name not available>' : tmp0_elvis_lhs);
|
|
2087
2158
|
}
|
|
2088
|
-
function notRegisteredMessage_0(className) {
|
|
2089
|
-
_init_properties_Platform_common_kt__3qzecs();
|
|
2090
|
-
return "Serializer for class '" + className + "' is not found.\n" + "Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied.\n";
|
|
2091
|
-
}
|
|
2092
2159
|
function compactArray(_this__u8e3s4) {
|
|
2093
2160
|
_init_properties_Platform_common_kt__3qzecs();
|
|
2094
2161
|
// Inline function 'kotlin.takeUnless' call
|
|
@@ -2111,6 +2178,10 @@
|
|
|
2111
2178
|
var tmp1_elvis_lhs = tmp_0;
|
|
2112
2179
|
return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
|
|
2113
2180
|
}
|
|
2181
|
+
function notRegisteredMessage_0(className) {
|
|
2182
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2183
|
+
return "Serializer for class '" + className + "' is not found.\n" + "Please ensure that class is marked as '@Serializable' and that the serialization compiler plugin is applied.\n";
|
|
2184
|
+
}
|
|
2114
2185
|
var properties_initialized_Platform_common_kt_i7q4ty;
|
|
2115
2186
|
function _init_properties_Platform_common_kt__3qzecs() {
|
|
2116
2187
|
if (!properties_initialized_Platform_common_kt_i7q4ty) {
|
|
@@ -2121,14 +2192,54 @@
|
|
|
2121
2192
|
EMPTY_DESCRIPTOR_ARRAY = [];
|
|
2122
2193
|
}
|
|
2123
2194
|
}
|
|
2195
|
+
function hashCodeImpl(_this__u8e3s4, typeParams) {
|
|
2196
|
+
var result = getStringHashCode(_this__u8e3s4.pk());
|
|
2197
|
+
result = imul(31, result) + contentHashCode(typeParams) | 0;
|
|
2198
|
+
var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
|
|
2199
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2200
|
+
// Inline function 'kotlin.collections.fold' call
|
|
2201
|
+
var accumulator = 1;
|
|
2202
|
+
var _iterator__ex2g4s = elementDescriptors.m();
|
|
2203
|
+
while (_iterator__ex2g4s.n()) {
|
|
2204
|
+
var element = _iterator__ex2g4s.o();
|
|
2205
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
2206
|
+
var hash = accumulator;
|
|
2207
|
+
var tmp = imul(31, hash);
|
|
2208
|
+
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
2209
|
+
// Inline function 'kotlin.hashCode' call
|
|
2210
|
+
var tmp0_safe_receiver = element.pk();
|
|
2211
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2212
|
+
accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
2213
|
+
}
|
|
2214
|
+
var namesHash = accumulator;
|
|
2215
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2216
|
+
// Inline function 'kotlin.collections.fold' call
|
|
2217
|
+
var accumulator_0 = 1;
|
|
2218
|
+
var _iterator__ex2g4s_0 = elementDescriptors.m();
|
|
2219
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
2220
|
+
var element_0 = _iterator__ex2g4s_0.o();
|
|
2221
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
2222
|
+
var hash_0 = accumulator_0;
|
|
2223
|
+
var tmp_0 = imul(31, hash_0);
|
|
2224
|
+
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
2225
|
+
// Inline function 'kotlin.hashCode' call
|
|
2226
|
+
var tmp0_safe_receiver_0 = element_0.qk();
|
|
2227
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2228
|
+
accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
2229
|
+
}
|
|
2230
|
+
var kindHash = accumulator_0;
|
|
2231
|
+
result = imul(31, result) + namesHash | 0;
|
|
2232
|
+
result = imul(31, result) + kindHash | 0;
|
|
2233
|
+
return result;
|
|
2234
|
+
}
|
|
2124
2235
|
function _get_childSerializers__7vnyfa($this) {
|
|
2125
|
-
var tmp0 = $this.
|
|
2236
|
+
var tmp0 = $this.yp_1;
|
|
2126
2237
|
// Inline function 'kotlin.getValue' call
|
|
2127
2238
|
childSerializers$factory();
|
|
2128
2239
|
return tmp0.z();
|
|
2129
2240
|
}
|
|
2130
2241
|
function _get__hashCode__tgwhef_0($this) {
|
|
2131
|
-
var tmp0 = $this.
|
|
2242
|
+
var tmp0 = $this.aq_1;
|
|
2132
2243
|
// Inline function 'kotlin.getValue' call
|
|
2133
2244
|
_hashCode$factory_0();
|
|
2134
2245
|
return tmp0.z();
|
|
@@ -2136,13 +2247,13 @@
|
|
|
2136
2247
|
function buildIndices($this) {
|
|
2137
2248
|
var indices = HashMap_init_$Create$();
|
|
2138
2249
|
var inductionVariable = 0;
|
|
2139
|
-
var last = $this.
|
|
2250
|
+
var last = $this.tp_1.length - 1 | 0;
|
|
2140
2251
|
if (inductionVariable <= last)
|
|
2141
2252
|
do {
|
|
2142
2253
|
var i = inductionVariable;
|
|
2143
2254
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2144
2255
|
// Inline function 'kotlin.collections.set' call
|
|
2145
|
-
var key = $this.
|
|
2256
|
+
var key = $this.tp_1[i];
|
|
2146
2257
|
indices.e2(key, i);
|
|
2147
2258
|
}
|
|
2148
2259
|
while (inductionVariable <= last);
|
|
@@ -2150,15 +2261,15 @@
|
|
|
2150
2261
|
}
|
|
2151
2262
|
function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
|
|
2152
2263
|
return function () {
|
|
2153
|
-
var tmp0_safe_receiver = this$0.
|
|
2154
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2264
|
+
var tmp0_safe_receiver = this$0.qp_1;
|
|
2265
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.eq();
|
|
2155
2266
|
return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
|
|
2156
2267
|
};
|
|
2157
2268
|
}
|
|
2158
2269
|
function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
|
|
2159
2270
|
return function () {
|
|
2160
|
-
var tmp0_safe_receiver = this$0.
|
|
2161
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2271
|
+
var tmp0_safe_receiver = this$0.qp_1;
|
|
2272
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fq();
|
|
2162
2273
|
var tmp;
|
|
2163
2274
|
if (tmp1_safe_receiver == null) {
|
|
2164
2275
|
tmp = null;
|
|
@@ -2172,7 +2283,7 @@
|
|
|
2172
2283
|
var item = tmp1_safe_receiver[inductionVariable];
|
|
2173
2284
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2174
2285
|
// Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.typeParameterDescriptors$delegate.<anonymous>.<anonymous>' call
|
|
2175
|
-
var tmp$ret$0 = item.
|
|
2286
|
+
var tmp$ret$0 = item.oj();
|
|
2176
2287
|
destination.e(tmp$ret$0);
|
|
2177
2288
|
}
|
|
2178
2289
|
tmp = destination;
|
|
@@ -2182,83 +2293,83 @@
|
|
|
2182
2293
|
}
|
|
2183
2294
|
function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
|
|
2184
2295
|
return function () {
|
|
2185
|
-
return hashCodeImpl(this$0, this$0.
|
|
2296
|
+
return hashCodeImpl(this$0, this$0.bq());
|
|
2186
2297
|
};
|
|
2187
2298
|
}
|
|
2188
2299
|
function PluginGeneratedSerialDescriptor$toString$lambda(this$0) {
|
|
2189
2300
|
return function (i) {
|
|
2190
|
-
return this$0.
|
|
2301
|
+
return this$0.uk(i) + ': ' + this$0.vk(i).pk();
|
|
2191
2302
|
};
|
|
2192
2303
|
}
|
|
2193
2304
|
function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) {
|
|
2194
2305
|
generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
|
|
2195
|
-
this.
|
|
2196
|
-
this.
|
|
2197
|
-
this.
|
|
2198
|
-
this.
|
|
2306
|
+
this.pp_1 = serialName;
|
|
2307
|
+
this.qp_1 = generatedSerializer;
|
|
2308
|
+
this.rp_1 = elementsCount;
|
|
2309
|
+
this.sp_1 = -1;
|
|
2199
2310
|
var tmp = this;
|
|
2200
2311
|
var tmp_0 = 0;
|
|
2201
|
-
var tmp_1 = this.
|
|
2312
|
+
var tmp_1 = this.rp_1;
|
|
2202
2313
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2203
2314
|
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
2204
2315
|
while (tmp_0 < tmp_1) {
|
|
2205
2316
|
tmp_2[tmp_0] = '[UNINITIALIZED]';
|
|
2206
2317
|
tmp_0 = tmp_0 + 1 | 0;
|
|
2207
2318
|
}
|
|
2208
|
-
tmp.
|
|
2319
|
+
tmp.tp_1 = tmp_2;
|
|
2209
2320
|
var tmp_3 = this;
|
|
2210
2321
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2211
|
-
var size = this.
|
|
2212
|
-
tmp_3.
|
|
2213
|
-
this.
|
|
2214
|
-
this.
|
|
2215
|
-
this.
|
|
2322
|
+
var size = this.rp_1;
|
|
2323
|
+
tmp_3.up_1 = fillArrayVal(Array(size), null);
|
|
2324
|
+
this.vp_1 = null;
|
|
2325
|
+
this.wp_1 = booleanArray(this.rp_1);
|
|
2326
|
+
this.xp_1 = emptyMap();
|
|
2216
2327
|
var tmp_4 = this;
|
|
2217
2328
|
var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2218
|
-
tmp_4.
|
|
2329
|
+
tmp_4.yp_1 = lazy(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
|
|
2219
2330
|
var tmp_6 = this;
|
|
2220
2331
|
var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2221
|
-
tmp_6.
|
|
2332
|
+
tmp_6.zp_1 = lazy(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
|
|
2222
2333
|
var tmp_8 = this;
|
|
2223
2334
|
var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2224
|
-
tmp_8.
|
|
2335
|
+
tmp_8.aq_1 = lazy(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
|
|
2225
2336
|
}
|
|
2226
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2227
|
-
return this.
|
|
2337
|
+
protoOf(PluginGeneratedSerialDescriptor).pk = function () {
|
|
2338
|
+
return this.pp_1;
|
|
2228
2339
|
};
|
|
2229
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2230
|
-
return this.
|
|
2340
|
+
protoOf(PluginGeneratedSerialDescriptor).sk = function () {
|
|
2341
|
+
return this.rp_1;
|
|
2231
2342
|
};
|
|
2232
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2343
|
+
protoOf(PluginGeneratedSerialDescriptor).qk = function () {
|
|
2233
2344
|
return CLASS_getInstance();
|
|
2234
2345
|
};
|
|
2235
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2236
|
-
var tmp0_elvis_lhs = this.
|
|
2346
|
+
protoOf(PluginGeneratedSerialDescriptor).tk = function () {
|
|
2347
|
+
var tmp0_elvis_lhs = this.vp_1;
|
|
2237
2348
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
2238
2349
|
};
|
|
2239
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2240
|
-
return this.
|
|
2350
|
+
protoOf(PluginGeneratedSerialDescriptor).pl = function () {
|
|
2351
|
+
return this.xp_1.x1();
|
|
2241
2352
|
};
|
|
2242
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2243
|
-
var tmp0 = this.
|
|
2353
|
+
protoOf(PluginGeneratedSerialDescriptor).bq = function () {
|
|
2354
|
+
var tmp0 = this.zp_1;
|
|
2244
2355
|
// Inline function 'kotlin.getValue' call
|
|
2245
2356
|
typeParameterDescriptors$factory();
|
|
2246
2357
|
return tmp0.z();
|
|
2247
2358
|
};
|
|
2248
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2251
|
-
this.
|
|
2252
|
-
this.
|
|
2253
|
-
if (this.
|
|
2254
|
-
this.
|
|
2359
|
+
protoOf(PluginGeneratedSerialDescriptor).cq = function (name, isOptional) {
|
|
2360
|
+
this.sp_1 = this.sp_1 + 1 | 0;
|
|
2361
|
+
this.tp_1[this.sp_1] = name;
|
|
2362
|
+
this.wp_1[this.sp_1] = isOptional;
|
|
2363
|
+
this.up_1[this.sp_1] = null;
|
|
2364
|
+
if (this.sp_1 === (this.rp_1 - 1 | 0)) {
|
|
2365
|
+
this.xp_1 = buildIndices(this);
|
|
2255
2366
|
}
|
|
2256
2367
|
};
|
|
2257
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2258
|
-
return getChecked(_get_childSerializers__7vnyfa(this), index).
|
|
2368
|
+
protoOf(PluginGeneratedSerialDescriptor).vk = function (index) {
|
|
2369
|
+
return getChecked(_get_childSerializers__7vnyfa(this), index).oj();
|
|
2259
2370
|
};
|
|
2260
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
2261
|
-
return getChecked(this.
|
|
2371
|
+
protoOf(PluginGeneratedSerialDescriptor).uk = function (index) {
|
|
2372
|
+
return getChecked(this.tp_1, index);
|
|
2262
2373
|
};
|
|
2263
2374
|
protoOf(PluginGeneratedSerialDescriptor).equals = function (other) {
|
|
2264
2375
|
var tmp$ret$0;
|
|
@@ -2272,30 +2383,30 @@
|
|
|
2272
2383
|
tmp$ret$0 = false;
|
|
2273
2384
|
break $l$block_5;
|
|
2274
2385
|
}
|
|
2275
|
-
if (!(this.
|
|
2386
|
+
if (!(this.pk() === other.pk())) {
|
|
2276
2387
|
tmp$ret$0 = false;
|
|
2277
2388
|
break $l$block_5;
|
|
2278
2389
|
}
|
|
2279
2390
|
// Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.equals.<anonymous>' call
|
|
2280
|
-
if (!contentEquals(this.
|
|
2391
|
+
if (!contentEquals(this.bq(), other.bq())) {
|
|
2281
2392
|
tmp$ret$0 = false;
|
|
2282
2393
|
break $l$block_5;
|
|
2283
2394
|
}
|
|
2284
|
-
if (!(this.
|
|
2395
|
+
if (!(this.sk() === other.sk())) {
|
|
2285
2396
|
tmp$ret$0 = false;
|
|
2286
2397
|
break $l$block_5;
|
|
2287
2398
|
}
|
|
2288
2399
|
var inductionVariable = 0;
|
|
2289
|
-
var last = this.
|
|
2400
|
+
var last = this.sk();
|
|
2290
2401
|
if (inductionVariable < last)
|
|
2291
2402
|
do {
|
|
2292
2403
|
var index = inductionVariable;
|
|
2293
2404
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2294
|
-
if (!(this.
|
|
2405
|
+
if (!(this.vk(index).pk() === other.vk(index).pk())) {
|
|
2295
2406
|
tmp$ret$0 = false;
|
|
2296
2407
|
break $l$block_5;
|
|
2297
2408
|
}
|
|
2298
|
-
if (!equals(this.
|
|
2409
|
+
if (!equals(this.vk(index).qk(), other.vk(index).qk())) {
|
|
2299
2410
|
tmp$ret$0 = false;
|
|
2300
2411
|
break $l$block_5;
|
|
2301
2412
|
}
|
|
@@ -2309,50 +2420,10 @@
|
|
|
2309
2420
|
return _get__hashCode__tgwhef_0(this);
|
|
2310
2421
|
};
|
|
2311
2422
|
protoOf(PluginGeneratedSerialDescriptor).toString = function () {
|
|
2312
|
-
var tmp = until(0, this.
|
|
2313
|
-
var tmp_0 = this.
|
|
2423
|
+
var tmp = until(0, this.rp_1);
|
|
2424
|
+
var tmp_0 = this.pk() + '(';
|
|
2314
2425
|
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, PluginGeneratedSerialDescriptor$toString$lambda(this));
|
|
2315
2426
|
};
|
|
2316
|
-
function hashCodeImpl(_this__u8e3s4, typeParams) {
|
|
2317
|
-
var result = getStringHashCode(_this__u8e3s4.jk());
|
|
2318
|
-
result = imul(31, result) + contentHashCode(typeParams) | 0;
|
|
2319
|
-
var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
|
|
2320
|
-
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2321
|
-
// Inline function 'kotlin.collections.fold' call
|
|
2322
|
-
var accumulator = 1;
|
|
2323
|
-
var _iterator__ex2g4s = elementDescriptors.m();
|
|
2324
|
-
while (_iterator__ex2g4s.n()) {
|
|
2325
|
-
var element = _iterator__ex2g4s.o();
|
|
2326
|
-
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
2327
|
-
var hash = accumulator;
|
|
2328
|
-
var tmp = imul(31, hash);
|
|
2329
|
-
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
2330
|
-
// Inline function 'kotlin.hashCode' call
|
|
2331
|
-
var tmp0_safe_receiver = element.jk();
|
|
2332
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2333
|
-
accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
2334
|
-
}
|
|
2335
|
-
var namesHash = accumulator;
|
|
2336
|
-
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
2337
|
-
// Inline function 'kotlin.collections.fold' call
|
|
2338
|
-
var accumulator_0 = 1;
|
|
2339
|
-
var _iterator__ex2g4s_0 = elementDescriptors.m();
|
|
2340
|
-
while (_iterator__ex2g4s_0.n()) {
|
|
2341
|
-
var element_0 = _iterator__ex2g4s_0.o();
|
|
2342
|
-
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
2343
|
-
var hash_0 = accumulator_0;
|
|
2344
|
-
var tmp_0 = imul(31, hash_0);
|
|
2345
|
-
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
2346
|
-
// Inline function 'kotlin.hashCode' call
|
|
2347
|
-
var tmp0_safe_receiver_0 = element_0.nk();
|
|
2348
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2349
|
-
accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
2350
|
-
}
|
|
2351
|
-
var kindHash = accumulator_0;
|
|
2352
|
-
result = imul(31, result) + namesHash | 0;
|
|
2353
|
-
result = imul(31, result) + kindHash | 0;
|
|
2354
|
-
return result;
|
|
2355
|
-
}
|
|
2356
2427
|
function childSerializers$factory() {
|
|
2357
2428
|
return getPropertyCallableRef('childSerializers', 1, KProperty1, function (receiver) {
|
|
2358
2429
|
return _get_childSerializers__7vnyfa(receiver);
|
|
@@ -2360,7 +2431,7 @@
|
|
|
2360
2431
|
}
|
|
2361
2432
|
function typeParameterDescriptors$factory() {
|
|
2362
2433
|
return getPropertyCallableRef('typeParameterDescriptors', 1, KProperty1, function (receiver) {
|
|
2363
|
-
return receiver.
|
|
2434
|
+
return receiver.bq();
|
|
2364
2435
|
}, null);
|
|
2365
2436
|
}
|
|
2366
2437
|
function _hashCode$factory_0() {
|
|
@@ -2391,24 +2462,24 @@
|
|
|
2391
2462
|
CharArraySerializer_instance = this;
|
|
2392
2463
|
PrimitiveArraySerializer.call(this, serializer_1(Companion_getInstance()));
|
|
2393
2464
|
}
|
|
2394
|
-
protoOf(CharArraySerializer_0).
|
|
2465
|
+
protoOf(CharArraySerializer_0).sq = function (_this__u8e3s4) {
|
|
2395
2466
|
return _this__u8e3s4.length;
|
|
2396
2467
|
};
|
|
2397
|
-
protoOf(CharArraySerializer_0).
|
|
2398
|
-
return this.
|
|
2468
|
+
protoOf(CharArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2469
|
+
return this.sq((!(_this__u8e3s4 == null) ? isCharArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2399
2470
|
};
|
|
2400
|
-
protoOf(CharArraySerializer_0).
|
|
2471
|
+
protoOf(CharArraySerializer_0).tq = function (encoder, content, size) {
|
|
2401
2472
|
var inductionVariable = 0;
|
|
2402
2473
|
if (inductionVariable < size)
|
|
2403
2474
|
do {
|
|
2404
2475
|
var i = inductionVariable;
|
|
2405
2476
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2406
|
-
encoder.
|
|
2477
|
+
encoder.mm(this.yo_1, i, content[i]);
|
|
2407
2478
|
}
|
|
2408
2479
|
while (inductionVariable < size);
|
|
2409
2480
|
};
|
|
2410
|
-
protoOf(CharArraySerializer_0).
|
|
2411
|
-
return this.
|
|
2481
|
+
protoOf(CharArraySerializer_0).ap = function (encoder, content, size) {
|
|
2482
|
+
return this.tq(encoder, (!(content == null) ? isCharArray(content) : false) ? content : THROW_CCE(), size);
|
|
2412
2483
|
};
|
|
2413
2484
|
var CharArraySerializer_instance;
|
|
2414
2485
|
function CharArraySerializer_getInstance() {
|
|
@@ -2420,24 +2491,24 @@
|
|
|
2420
2491
|
DoubleArraySerializer_instance = this;
|
|
2421
2492
|
PrimitiveArraySerializer.call(this, serializer_2(DoubleCompanionObject_instance));
|
|
2422
2493
|
}
|
|
2423
|
-
protoOf(DoubleArraySerializer_0).
|
|
2494
|
+
protoOf(DoubleArraySerializer_0).wq = function (_this__u8e3s4) {
|
|
2424
2495
|
return _this__u8e3s4.length;
|
|
2425
2496
|
};
|
|
2426
|
-
protoOf(DoubleArraySerializer_0).
|
|
2427
|
-
return this.
|
|
2497
|
+
protoOf(DoubleArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2498
|
+
return this.wq((!(_this__u8e3s4 == null) ? isDoubleArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2428
2499
|
};
|
|
2429
|
-
protoOf(DoubleArraySerializer_0).
|
|
2500
|
+
protoOf(DoubleArraySerializer_0).xq = function (encoder, content, size) {
|
|
2430
2501
|
var inductionVariable = 0;
|
|
2431
2502
|
if (inductionVariable < size)
|
|
2432
2503
|
do {
|
|
2433
2504
|
var i = inductionVariable;
|
|
2434
2505
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2435
|
-
encoder.
|
|
2506
|
+
encoder.lm(this.yo_1, i, content[i]);
|
|
2436
2507
|
}
|
|
2437
2508
|
while (inductionVariable < size);
|
|
2438
2509
|
};
|
|
2439
|
-
protoOf(DoubleArraySerializer_0).
|
|
2440
|
-
return this.
|
|
2510
|
+
protoOf(DoubleArraySerializer_0).ap = function (encoder, content, size) {
|
|
2511
|
+
return this.xq(encoder, (!(content == null) ? isDoubleArray(content) : false) ? content : THROW_CCE(), size);
|
|
2441
2512
|
};
|
|
2442
2513
|
var DoubleArraySerializer_instance;
|
|
2443
2514
|
function DoubleArraySerializer_getInstance() {
|
|
@@ -2449,24 +2520,24 @@
|
|
|
2449
2520
|
FloatArraySerializer_instance = this;
|
|
2450
2521
|
PrimitiveArraySerializer.call(this, serializer_3(FloatCompanionObject_instance));
|
|
2451
2522
|
}
|
|
2452
|
-
protoOf(FloatArraySerializer_0).
|
|
2523
|
+
protoOf(FloatArraySerializer_0).ar = function (_this__u8e3s4) {
|
|
2453
2524
|
return _this__u8e3s4.length;
|
|
2454
2525
|
};
|
|
2455
|
-
protoOf(FloatArraySerializer_0).
|
|
2456
|
-
return this.
|
|
2526
|
+
protoOf(FloatArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2527
|
+
return this.ar((!(_this__u8e3s4 == null) ? isFloatArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2457
2528
|
};
|
|
2458
|
-
protoOf(FloatArraySerializer_0).
|
|
2529
|
+
protoOf(FloatArraySerializer_0).br = function (encoder, content, size) {
|
|
2459
2530
|
var inductionVariable = 0;
|
|
2460
2531
|
if (inductionVariable < size)
|
|
2461
2532
|
do {
|
|
2462
2533
|
var i = inductionVariable;
|
|
2463
2534
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2464
|
-
encoder.
|
|
2535
|
+
encoder.km(this.yo_1, i, content[i]);
|
|
2465
2536
|
}
|
|
2466
2537
|
while (inductionVariable < size);
|
|
2467
2538
|
};
|
|
2468
|
-
protoOf(FloatArraySerializer_0).
|
|
2469
|
-
return this.
|
|
2539
|
+
protoOf(FloatArraySerializer_0).ap = function (encoder, content, size) {
|
|
2540
|
+
return this.br(encoder, (!(content == null) ? isFloatArray(content) : false) ? content : THROW_CCE(), size);
|
|
2470
2541
|
};
|
|
2471
2542
|
var FloatArraySerializer_instance;
|
|
2472
2543
|
function FloatArraySerializer_getInstance() {
|
|
@@ -2478,24 +2549,24 @@
|
|
|
2478
2549
|
LongArraySerializer_instance = this;
|
|
2479
2550
|
PrimitiveArraySerializer.call(this, serializer_4(Companion_getInstance_0()));
|
|
2480
2551
|
}
|
|
2481
|
-
protoOf(LongArraySerializer_0).
|
|
2552
|
+
protoOf(LongArraySerializer_0).er = function (_this__u8e3s4) {
|
|
2482
2553
|
return _this__u8e3s4.length;
|
|
2483
2554
|
};
|
|
2484
|
-
protoOf(LongArraySerializer_0).
|
|
2485
|
-
return this.
|
|
2555
|
+
protoOf(LongArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2556
|
+
return this.er((!(_this__u8e3s4 == null) ? isLongArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2486
2557
|
};
|
|
2487
|
-
protoOf(LongArraySerializer_0).
|
|
2558
|
+
protoOf(LongArraySerializer_0).fr = function (encoder, content, size) {
|
|
2488
2559
|
var inductionVariable = 0;
|
|
2489
2560
|
if (inductionVariable < size)
|
|
2490
2561
|
do {
|
|
2491
2562
|
var i = inductionVariable;
|
|
2492
2563
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2493
|
-
encoder.
|
|
2564
|
+
encoder.jm(this.yo_1, i, content[i]);
|
|
2494
2565
|
}
|
|
2495
2566
|
while (inductionVariable < size);
|
|
2496
2567
|
};
|
|
2497
|
-
protoOf(LongArraySerializer_0).
|
|
2498
|
-
return this.
|
|
2568
|
+
protoOf(LongArraySerializer_0).ap = function (encoder, content, size) {
|
|
2569
|
+
return this.fr(encoder, (!(content == null) ? isLongArray(content) : false) ? content : THROW_CCE(), size);
|
|
2499
2570
|
};
|
|
2500
2571
|
var LongArraySerializer_instance;
|
|
2501
2572
|
function LongArraySerializer_getInstance() {
|
|
@@ -2507,28 +2578,28 @@
|
|
|
2507
2578
|
ULongArraySerializer_instance = this;
|
|
2508
2579
|
PrimitiveArraySerializer.call(this, serializer_5(Companion_getInstance_1()));
|
|
2509
2580
|
}
|
|
2510
|
-
protoOf(ULongArraySerializer_0).
|
|
2581
|
+
protoOf(ULongArraySerializer_0).ir = function (_this__u8e3s4) {
|
|
2511
2582
|
return _ULongArray___get_size__impl__ju6dtr(_this__u8e3s4);
|
|
2512
2583
|
};
|
|
2513
|
-
protoOf(ULongArraySerializer_0).
|
|
2514
|
-
return this.
|
|
2584
|
+
protoOf(ULongArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2585
|
+
return this.ir(_this__u8e3s4 instanceof ULongArray ? _this__u8e3s4.bj_1 : THROW_CCE());
|
|
2515
2586
|
};
|
|
2516
|
-
protoOf(ULongArraySerializer_0).
|
|
2587
|
+
protoOf(ULongArraySerializer_0).jr = function (encoder, content, size) {
|
|
2517
2588
|
var inductionVariable = 0;
|
|
2518
2589
|
if (inductionVariable < size)
|
|
2519
2590
|
do {
|
|
2520
2591
|
var i = inductionVariable;
|
|
2521
2592
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2522
|
-
var tmp = encoder.
|
|
2593
|
+
var tmp = encoder.om(this.yo_1, i);
|
|
2523
2594
|
// Inline function 'kotlin.ULong.toLong' call
|
|
2524
2595
|
var this_0 = ULongArray__get_impl_pr71q9(content, i);
|
|
2525
2596
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(this_0);
|
|
2526
|
-
tmp.
|
|
2597
|
+
tmp.zl(tmp$ret$0);
|
|
2527
2598
|
}
|
|
2528
2599
|
while (inductionVariable < size);
|
|
2529
2600
|
};
|
|
2530
|
-
protoOf(ULongArraySerializer_0).
|
|
2531
|
-
return this.
|
|
2601
|
+
protoOf(ULongArraySerializer_0).ap = function (encoder, content, size) {
|
|
2602
|
+
return this.jr(encoder, content instanceof ULongArray ? content.bj_1 : THROW_CCE(), size);
|
|
2532
2603
|
};
|
|
2533
2604
|
var ULongArraySerializer_instance;
|
|
2534
2605
|
function ULongArraySerializer_getInstance() {
|
|
@@ -2540,24 +2611,24 @@
|
|
|
2540
2611
|
IntArraySerializer_instance = this;
|
|
2541
2612
|
PrimitiveArraySerializer.call(this, serializer_6(IntCompanionObject_instance));
|
|
2542
2613
|
}
|
|
2543
|
-
protoOf(IntArraySerializer_0).
|
|
2614
|
+
protoOf(IntArraySerializer_0).mr = function (_this__u8e3s4) {
|
|
2544
2615
|
return _this__u8e3s4.length;
|
|
2545
2616
|
};
|
|
2546
|
-
protoOf(IntArraySerializer_0).
|
|
2547
|
-
return this.
|
|
2617
|
+
protoOf(IntArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2618
|
+
return this.mr((!(_this__u8e3s4 == null) ? isIntArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2548
2619
|
};
|
|
2549
|
-
protoOf(IntArraySerializer_0).
|
|
2620
|
+
protoOf(IntArraySerializer_0).nr = function (encoder, content, size) {
|
|
2550
2621
|
var inductionVariable = 0;
|
|
2551
2622
|
if (inductionVariable < size)
|
|
2552
2623
|
do {
|
|
2553
2624
|
var i = inductionVariable;
|
|
2554
2625
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2555
|
-
encoder.
|
|
2626
|
+
encoder.im(this.yo_1, i, content[i]);
|
|
2556
2627
|
}
|
|
2557
2628
|
while (inductionVariable < size);
|
|
2558
2629
|
};
|
|
2559
|
-
protoOf(IntArraySerializer_0).
|
|
2560
|
-
return this.
|
|
2630
|
+
protoOf(IntArraySerializer_0).ap = function (encoder, content, size) {
|
|
2631
|
+
return this.nr(encoder, (!(content == null) ? isIntArray(content) : false) ? content : THROW_CCE(), size);
|
|
2561
2632
|
};
|
|
2562
2633
|
var IntArraySerializer_instance;
|
|
2563
2634
|
function IntArraySerializer_getInstance() {
|
|
@@ -2569,28 +2640,28 @@
|
|
|
2569
2640
|
UIntArraySerializer_instance = this;
|
|
2570
2641
|
PrimitiveArraySerializer.call(this, serializer_7(Companion_getInstance_2()));
|
|
2571
2642
|
}
|
|
2572
|
-
protoOf(UIntArraySerializer_0).
|
|
2643
|
+
protoOf(UIntArraySerializer_0).qr = function (_this__u8e3s4) {
|
|
2573
2644
|
return _UIntArray___get_size__impl__r6l8ci(_this__u8e3s4);
|
|
2574
2645
|
};
|
|
2575
|
-
protoOf(UIntArraySerializer_0).
|
|
2576
|
-
return this.
|
|
2646
|
+
protoOf(UIntArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2647
|
+
return this.qr(_this__u8e3s4 instanceof UIntArray ? _this__u8e3s4.qi_1 : THROW_CCE());
|
|
2577
2648
|
};
|
|
2578
|
-
protoOf(UIntArraySerializer_0).
|
|
2649
|
+
protoOf(UIntArraySerializer_0).rr = function (encoder, content, size) {
|
|
2579
2650
|
var inductionVariable = 0;
|
|
2580
2651
|
if (inductionVariable < size)
|
|
2581
2652
|
do {
|
|
2582
2653
|
var i = inductionVariable;
|
|
2583
2654
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2584
|
-
var tmp = encoder.
|
|
2655
|
+
var tmp = encoder.om(this.yo_1, i);
|
|
2585
2656
|
// Inline function 'kotlin.UInt.toInt' call
|
|
2586
2657
|
var this_0 = UIntArray__get_impl_gp5kza(content, i);
|
|
2587
2658
|
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
|
|
2588
|
-
tmp.
|
|
2659
|
+
tmp.yl(tmp$ret$0);
|
|
2589
2660
|
}
|
|
2590
2661
|
while (inductionVariable < size);
|
|
2591
2662
|
};
|
|
2592
|
-
protoOf(UIntArraySerializer_0).
|
|
2593
|
-
return this.
|
|
2663
|
+
protoOf(UIntArraySerializer_0).ap = function (encoder, content, size) {
|
|
2664
|
+
return this.rr(encoder, content instanceof UIntArray ? content.qi_1 : THROW_CCE(), size);
|
|
2594
2665
|
};
|
|
2595
2666
|
var UIntArraySerializer_instance;
|
|
2596
2667
|
function UIntArraySerializer_getInstance() {
|
|
@@ -2602,24 +2673,24 @@
|
|
|
2602
2673
|
ShortArraySerializer_instance = this;
|
|
2603
2674
|
PrimitiveArraySerializer.call(this, serializer_8(ShortCompanionObject_instance));
|
|
2604
2675
|
}
|
|
2605
|
-
protoOf(ShortArraySerializer_0).
|
|
2676
|
+
protoOf(ShortArraySerializer_0).ur = function (_this__u8e3s4) {
|
|
2606
2677
|
return _this__u8e3s4.length;
|
|
2607
2678
|
};
|
|
2608
|
-
protoOf(ShortArraySerializer_0).
|
|
2609
|
-
return this.
|
|
2679
|
+
protoOf(ShortArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2680
|
+
return this.ur((!(_this__u8e3s4 == null) ? isShortArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2610
2681
|
};
|
|
2611
|
-
protoOf(ShortArraySerializer_0).
|
|
2682
|
+
protoOf(ShortArraySerializer_0).vr = function (encoder, content, size) {
|
|
2612
2683
|
var inductionVariable = 0;
|
|
2613
2684
|
if (inductionVariable < size)
|
|
2614
2685
|
do {
|
|
2615
2686
|
var i = inductionVariable;
|
|
2616
2687
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2617
|
-
encoder.
|
|
2688
|
+
encoder.hm(this.yo_1, i, content[i]);
|
|
2618
2689
|
}
|
|
2619
2690
|
while (inductionVariable < size);
|
|
2620
2691
|
};
|
|
2621
|
-
protoOf(ShortArraySerializer_0).
|
|
2622
|
-
return this.
|
|
2692
|
+
protoOf(ShortArraySerializer_0).ap = function (encoder, content, size) {
|
|
2693
|
+
return this.vr(encoder, (!(content == null) ? isShortArray(content) : false) ? content : THROW_CCE(), size);
|
|
2623
2694
|
};
|
|
2624
2695
|
var ShortArraySerializer_instance;
|
|
2625
2696
|
function ShortArraySerializer_getInstance() {
|
|
@@ -2631,28 +2702,28 @@
|
|
|
2631
2702
|
UShortArraySerializer_instance = this;
|
|
2632
2703
|
PrimitiveArraySerializer.call(this, serializer_9(Companion_getInstance_3()));
|
|
2633
2704
|
}
|
|
2634
|
-
protoOf(UShortArraySerializer_0).
|
|
2705
|
+
protoOf(UShortArraySerializer_0).yr = function (_this__u8e3s4) {
|
|
2635
2706
|
return _UShortArray___get_size__impl__jqto1b(_this__u8e3s4);
|
|
2636
2707
|
};
|
|
2637
|
-
protoOf(UShortArraySerializer_0).
|
|
2638
|
-
return this.
|
|
2708
|
+
protoOf(UShortArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2709
|
+
return this.yr(_this__u8e3s4 instanceof UShortArray ? _this__u8e3s4.mj_1 : THROW_CCE());
|
|
2639
2710
|
};
|
|
2640
|
-
protoOf(UShortArraySerializer_0).
|
|
2711
|
+
protoOf(UShortArraySerializer_0).zr = function (encoder, content, size) {
|
|
2641
2712
|
var inductionVariable = 0;
|
|
2642
2713
|
if (inductionVariable < size)
|
|
2643
2714
|
do {
|
|
2644
2715
|
var i = inductionVariable;
|
|
2645
2716
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2646
|
-
var tmp = encoder.
|
|
2717
|
+
var tmp = encoder.om(this.yo_1, i);
|
|
2647
2718
|
// Inline function 'kotlin.UShort.toShort' call
|
|
2648
2719
|
var this_0 = UShortArray__get_impl_fnbhmx(content, i);
|
|
2649
2720
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0);
|
|
2650
|
-
tmp.
|
|
2721
|
+
tmp.xl(tmp$ret$0);
|
|
2651
2722
|
}
|
|
2652
2723
|
while (inductionVariable < size);
|
|
2653
2724
|
};
|
|
2654
|
-
protoOf(UShortArraySerializer_0).
|
|
2655
|
-
return this.
|
|
2725
|
+
protoOf(UShortArraySerializer_0).ap = function (encoder, content, size) {
|
|
2726
|
+
return this.zr(encoder, content instanceof UShortArray ? content.mj_1 : THROW_CCE(), size);
|
|
2656
2727
|
};
|
|
2657
2728
|
var UShortArraySerializer_instance;
|
|
2658
2729
|
function UShortArraySerializer_getInstance() {
|
|
@@ -2664,24 +2735,24 @@
|
|
|
2664
2735
|
ByteArraySerializer_instance = this;
|
|
2665
2736
|
PrimitiveArraySerializer.call(this, serializer_10(ByteCompanionObject_instance));
|
|
2666
2737
|
}
|
|
2667
|
-
protoOf(ByteArraySerializer_0).
|
|
2738
|
+
protoOf(ByteArraySerializer_0).cs = function (_this__u8e3s4) {
|
|
2668
2739
|
return _this__u8e3s4.length;
|
|
2669
2740
|
};
|
|
2670
|
-
protoOf(ByteArraySerializer_0).
|
|
2671
|
-
return this.
|
|
2741
|
+
protoOf(ByteArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2742
|
+
return this.cs((!(_this__u8e3s4 == null) ? isByteArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2672
2743
|
};
|
|
2673
|
-
protoOf(ByteArraySerializer_0).
|
|
2744
|
+
protoOf(ByteArraySerializer_0).ds = function (encoder, content, size) {
|
|
2674
2745
|
var inductionVariable = 0;
|
|
2675
2746
|
if (inductionVariable < size)
|
|
2676
2747
|
do {
|
|
2677
2748
|
var i = inductionVariable;
|
|
2678
2749
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2679
|
-
encoder.
|
|
2750
|
+
encoder.gm(this.yo_1, i, content[i]);
|
|
2680
2751
|
}
|
|
2681
2752
|
while (inductionVariable < size);
|
|
2682
2753
|
};
|
|
2683
|
-
protoOf(ByteArraySerializer_0).
|
|
2684
|
-
return this.
|
|
2754
|
+
protoOf(ByteArraySerializer_0).ap = function (encoder, content, size) {
|
|
2755
|
+
return this.ds(encoder, (!(content == null) ? isByteArray(content) : false) ? content : THROW_CCE(), size);
|
|
2685
2756
|
};
|
|
2686
2757
|
var ByteArraySerializer_instance;
|
|
2687
2758
|
function ByteArraySerializer_getInstance() {
|
|
@@ -2693,28 +2764,28 @@
|
|
|
2693
2764
|
UByteArraySerializer_instance = this;
|
|
2694
2765
|
PrimitiveArraySerializer.call(this, serializer_11(Companion_getInstance_4()));
|
|
2695
2766
|
}
|
|
2696
|
-
protoOf(UByteArraySerializer_0).
|
|
2767
|
+
protoOf(UByteArraySerializer_0).gs = function (_this__u8e3s4) {
|
|
2697
2768
|
return _UByteArray___get_size__impl__h6pkdv(_this__u8e3s4);
|
|
2698
2769
|
};
|
|
2699
|
-
protoOf(UByteArraySerializer_0).
|
|
2700
|
-
return this.
|
|
2770
|
+
protoOf(UByteArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2771
|
+
return this.gs(_this__u8e3s4 instanceof UByteArray ? _this__u8e3s4.fi_1 : THROW_CCE());
|
|
2701
2772
|
};
|
|
2702
|
-
protoOf(UByteArraySerializer_0).
|
|
2773
|
+
protoOf(UByteArraySerializer_0).hs = function (encoder, content, size) {
|
|
2703
2774
|
var inductionVariable = 0;
|
|
2704
2775
|
if (inductionVariable < size)
|
|
2705
2776
|
do {
|
|
2706
2777
|
var i = inductionVariable;
|
|
2707
2778
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2708
|
-
var tmp = encoder.
|
|
2779
|
+
var tmp = encoder.om(this.yo_1, i);
|
|
2709
2780
|
// Inline function 'kotlin.UByte.toByte' call
|
|
2710
2781
|
var this_0 = UByteArray__get_impl_t5f3hv(content, i);
|
|
2711
2782
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(this_0);
|
|
2712
|
-
tmp.
|
|
2783
|
+
tmp.wl(tmp$ret$0);
|
|
2713
2784
|
}
|
|
2714
2785
|
while (inductionVariable < size);
|
|
2715
2786
|
};
|
|
2716
|
-
protoOf(UByteArraySerializer_0).
|
|
2717
|
-
return this.
|
|
2787
|
+
protoOf(UByteArraySerializer_0).ap = function (encoder, content, size) {
|
|
2788
|
+
return this.hs(encoder, content instanceof UByteArray ? content.fi_1 : THROW_CCE(), size);
|
|
2718
2789
|
};
|
|
2719
2790
|
var UByteArraySerializer_instance;
|
|
2720
2791
|
function UByteArraySerializer_getInstance() {
|
|
@@ -2726,24 +2797,24 @@
|
|
|
2726
2797
|
BooleanArraySerializer_instance = this;
|
|
2727
2798
|
PrimitiveArraySerializer.call(this, serializer_12(BooleanCompanionObject_instance));
|
|
2728
2799
|
}
|
|
2729
|
-
protoOf(BooleanArraySerializer_0).
|
|
2800
|
+
protoOf(BooleanArraySerializer_0).ks = function (_this__u8e3s4) {
|
|
2730
2801
|
return _this__u8e3s4.length;
|
|
2731
2802
|
};
|
|
2732
|
-
protoOf(BooleanArraySerializer_0).
|
|
2733
|
-
return this.
|
|
2803
|
+
protoOf(BooleanArraySerializer_0).ko = function (_this__u8e3s4) {
|
|
2804
|
+
return this.ks((!(_this__u8e3s4 == null) ? isBooleanArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2734
2805
|
};
|
|
2735
|
-
protoOf(BooleanArraySerializer_0).
|
|
2806
|
+
protoOf(BooleanArraySerializer_0).ls = function (encoder, content, size) {
|
|
2736
2807
|
var inductionVariable = 0;
|
|
2737
2808
|
if (inductionVariable < size)
|
|
2738
2809
|
do {
|
|
2739
2810
|
var i = inductionVariable;
|
|
2740
2811
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2741
|
-
encoder.
|
|
2812
|
+
encoder.fm(this.yo_1, i, content[i]);
|
|
2742
2813
|
}
|
|
2743
2814
|
while (inductionVariable < size);
|
|
2744
2815
|
};
|
|
2745
|
-
protoOf(BooleanArraySerializer_0).
|
|
2746
|
-
return this.
|
|
2816
|
+
protoOf(BooleanArraySerializer_0).ap = function (encoder, content, size) {
|
|
2817
|
+
return this.ls(encoder, (!(content == null) ? isBooleanArray(content) : false) ? content : THROW_CCE(), size);
|
|
2747
2818
|
};
|
|
2748
2819
|
var BooleanArraySerializer_instance;
|
|
2749
2820
|
function BooleanArraySerializer_getInstance() {
|
|
@@ -2763,16 +2834,16 @@
|
|
|
2763
2834
|
}
|
|
2764
2835
|
function StringSerializer() {
|
|
2765
2836
|
StringSerializer_instance = this;
|
|
2766
|
-
this.
|
|
2837
|
+
this.ms_1 = new PrimitiveSerialDescriptor_0('kotlin.String', STRING_getInstance());
|
|
2767
2838
|
}
|
|
2768
|
-
protoOf(StringSerializer).
|
|
2769
|
-
return this.
|
|
2839
|
+
protoOf(StringSerializer).oj = function () {
|
|
2840
|
+
return this.ms_1;
|
|
2770
2841
|
};
|
|
2771
|
-
protoOf(StringSerializer).
|
|
2772
|
-
return encoder.
|
|
2842
|
+
protoOf(StringSerializer).ns = function (encoder, value) {
|
|
2843
|
+
return encoder.dm(value);
|
|
2773
2844
|
};
|
|
2774
|
-
protoOf(StringSerializer).
|
|
2775
|
-
return this.
|
|
2845
|
+
protoOf(StringSerializer).pj = function (encoder, value) {
|
|
2846
|
+
return this.ns(encoder, (!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
|
|
2776
2847
|
};
|
|
2777
2848
|
var StringSerializer_instance;
|
|
2778
2849
|
function StringSerializer_getInstance() {
|
|
@@ -2782,16 +2853,16 @@
|
|
|
2782
2853
|
}
|
|
2783
2854
|
function CharSerializer() {
|
|
2784
2855
|
CharSerializer_instance = this;
|
|
2785
|
-
this.
|
|
2856
|
+
this.os_1 = new PrimitiveSerialDescriptor_0('kotlin.Char', CHAR_getInstance());
|
|
2786
2857
|
}
|
|
2787
|
-
protoOf(CharSerializer).
|
|
2788
|
-
return this.
|
|
2858
|
+
protoOf(CharSerializer).oj = function () {
|
|
2859
|
+
return this.os_1;
|
|
2789
2860
|
};
|
|
2790
|
-
protoOf(CharSerializer).
|
|
2791
|
-
return encoder.
|
|
2861
|
+
protoOf(CharSerializer).ps = function (encoder, value) {
|
|
2862
|
+
return encoder.cm(value);
|
|
2792
2863
|
};
|
|
2793
|
-
protoOf(CharSerializer).
|
|
2794
|
-
return this.
|
|
2864
|
+
protoOf(CharSerializer).pj = function (encoder, value) {
|
|
2865
|
+
return this.ps(encoder, value instanceof Char ? value.f1_1 : THROW_CCE());
|
|
2795
2866
|
};
|
|
2796
2867
|
var CharSerializer_instance;
|
|
2797
2868
|
function CharSerializer_getInstance() {
|
|
@@ -2801,16 +2872,16 @@
|
|
|
2801
2872
|
}
|
|
2802
2873
|
function DoubleSerializer() {
|
|
2803
2874
|
DoubleSerializer_instance = this;
|
|
2804
|
-
this.
|
|
2875
|
+
this.qs_1 = new PrimitiveSerialDescriptor_0('kotlin.Double', DOUBLE_getInstance());
|
|
2805
2876
|
}
|
|
2806
|
-
protoOf(DoubleSerializer).
|
|
2807
|
-
return this.
|
|
2877
|
+
protoOf(DoubleSerializer).oj = function () {
|
|
2878
|
+
return this.qs_1;
|
|
2808
2879
|
};
|
|
2809
|
-
protoOf(DoubleSerializer).
|
|
2810
|
-
return encoder.
|
|
2880
|
+
protoOf(DoubleSerializer).rs = function (encoder, value) {
|
|
2881
|
+
return encoder.bm(value);
|
|
2811
2882
|
};
|
|
2812
|
-
protoOf(DoubleSerializer).
|
|
2813
|
-
return this.
|
|
2883
|
+
protoOf(DoubleSerializer).pj = function (encoder, value) {
|
|
2884
|
+
return this.rs(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2814
2885
|
};
|
|
2815
2886
|
var DoubleSerializer_instance;
|
|
2816
2887
|
function DoubleSerializer_getInstance() {
|
|
@@ -2820,16 +2891,16 @@
|
|
|
2820
2891
|
}
|
|
2821
2892
|
function FloatSerializer() {
|
|
2822
2893
|
FloatSerializer_instance = this;
|
|
2823
|
-
this.
|
|
2894
|
+
this.ss_1 = new PrimitiveSerialDescriptor_0('kotlin.Float', FLOAT_getInstance());
|
|
2824
2895
|
}
|
|
2825
|
-
protoOf(FloatSerializer).
|
|
2826
|
-
return this.
|
|
2896
|
+
protoOf(FloatSerializer).oj = function () {
|
|
2897
|
+
return this.ss_1;
|
|
2827
2898
|
};
|
|
2828
|
-
protoOf(FloatSerializer).
|
|
2829
|
-
return encoder.
|
|
2899
|
+
protoOf(FloatSerializer).ts = function (encoder, value) {
|
|
2900
|
+
return encoder.am(value);
|
|
2830
2901
|
};
|
|
2831
|
-
protoOf(FloatSerializer).
|
|
2832
|
-
return this.
|
|
2902
|
+
protoOf(FloatSerializer).pj = function (encoder, value) {
|
|
2903
|
+
return this.ts(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2833
2904
|
};
|
|
2834
2905
|
var FloatSerializer_instance;
|
|
2835
2906
|
function FloatSerializer_getInstance() {
|
|
@@ -2839,16 +2910,16 @@
|
|
|
2839
2910
|
}
|
|
2840
2911
|
function LongSerializer() {
|
|
2841
2912
|
LongSerializer_instance = this;
|
|
2842
|
-
this.
|
|
2913
|
+
this.us_1 = new PrimitiveSerialDescriptor_0('kotlin.Long', LONG_getInstance());
|
|
2843
2914
|
}
|
|
2844
|
-
protoOf(LongSerializer).
|
|
2845
|
-
return this.
|
|
2915
|
+
protoOf(LongSerializer).oj = function () {
|
|
2916
|
+
return this.us_1;
|
|
2846
2917
|
};
|
|
2847
|
-
protoOf(LongSerializer).
|
|
2848
|
-
return encoder.
|
|
2918
|
+
protoOf(LongSerializer).vs = function (encoder, value) {
|
|
2919
|
+
return encoder.zl(value);
|
|
2849
2920
|
};
|
|
2850
|
-
protoOf(LongSerializer).
|
|
2851
|
-
return this.
|
|
2921
|
+
protoOf(LongSerializer).pj = function (encoder, value) {
|
|
2922
|
+
return this.vs(encoder, value instanceof Long ? value : THROW_CCE());
|
|
2852
2923
|
};
|
|
2853
2924
|
var LongSerializer_instance;
|
|
2854
2925
|
function LongSerializer_getInstance() {
|
|
@@ -2858,16 +2929,16 @@
|
|
|
2858
2929
|
}
|
|
2859
2930
|
function IntSerializer() {
|
|
2860
2931
|
IntSerializer_instance = this;
|
|
2861
|
-
this.
|
|
2932
|
+
this.ws_1 = new PrimitiveSerialDescriptor_0('kotlin.Int', INT_getInstance());
|
|
2862
2933
|
}
|
|
2863
|
-
protoOf(IntSerializer).
|
|
2864
|
-
return this.
|
|
2934
|
+
protoOf(IntSerializer).oj = function () {
|
|
2935
|
+
return this.ws_1;
|
|
2865
2936
|
};
|
|
2866
|
-
protoOf(IntSerializer).
|
|
2867
|
-
return encoder.
|
|
2937
|
+
protoOf(IntSerializer).xs = function (encoder, value) {
|
|
2938
|
+
return encoder.yl(value);
|
|
2868
2939
|
};
|
|
2869
|
-
protoOf(IntSerializer).
|
|
2870
|
-
return this.
|
|
2940
|
+
protoOf(IntSerializer).pj = function (encoder, value) {
|
|
2941
|
+
return this.xs(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2871
2942
|
};
|
|
2872
2943
|
var IntSerializer_instance;
|
|
2873
2944
|
function IntSerializer_getInstance() {
|
|
@@ -2877,16 +2948,16 @@
|
|
|
2877
2948
|
}
|
|
2878
2949
|
function ShortSerializer() {
|
|
2879
2950
|
ShortSerializer_instance = this;
|
|
2880
|
-
this.
|
|
2951
|
+
this.ys_1 = new PrimitiveSerialDescriptor_0('kotlin.Short', SHORT_getInstance());
|
|
2881
2952
|
}
|
|
2882
|
-
protoOf(ShortSerializer).
|
|
2883
|
-
return this.
|
|
2953
|
+
protoOf(ShortSerializer).oj = function () {
|
|
2954
|
+
return this.ys_1;
|
|
2884
2955
|
};
|
|
2885
|
-
protoOf(ShortSerializer).
|
|
2886
|
-
return encoder.
|
|
2956
|
+
protoOf(ShortSerializer).zs = function (encoder, value) {
|
|
2957
|
+
return encoder.xl(value);
|
|
2887
2958
|
};
|
|
2888
|
-
protoOf(ShortSerializer).
|
|
2889
|
-
return this.
|
|
2959
|
+
protoOf(ShortSerializer).pj = function (encoder, value) {
|
|
2960
|
+
return this.zs(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2890
2961
|
};
|
|
2891
2962
|
var ShortSerializer_instance;
|
|
2892
2963
|
function ShortSerializer_getInstance() {
|
|
@@ -2896,16 +2967,16 @@
|
|
|
2896
2967
|
}
|
|
2897
2968
|
function ByteSerializer() {
|
|
2898
2969
|
ByteSerializer_instance = this;
|
|
2899
|
-
this.
|
|
2970
|
+
this.at_1 = new PrimitiveSerialDescriptor_0('kotlin.Byte', BYTE_getInstance());
|
|
2900
2971
|
}
|
|
2901
|
-
protoOf(ByteSerializer).
|
|
2902
|
-
return this.
|
|
2972
|
+
protoOf(ByteSerializer).oj = function () {
|
|
2973
|
+
return this.at_1;
|
|
2903
2974
|
};
|
|
2904
|
-
protoOf(ByteSerializer).
|
|
2905
|
-
return encoder.
|
|
2975
|
+
protoOf(ByteSerializer).bt = function (encoder, value) {
|
|
2976
|
+
return encoder.wl(value);
|
|
2906
2977
|
};
|
|
2907
|
-
protoOf(ByteSerializer).
|
|
2908
|
-
return this.
|
|
2978
|
+
protoOf(ByteSerializer).pj = function (encoder, value) {
|
|
2979
|
+
return this.bt(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
2909
2980
|
};
|
|
2910
2981
|
var ByteSerializer_instance;
|
|
2911
2982
|
function ByteSerializer_getInstance() {
|
|
@@ -2915,16 +2986,16 @@
|
|
|
2915
2986
|
}
|
|
2916
2987
|
function BooleanSerializer() {
|
|
2917
2988
|
BooleanSerializer_instance = this;
|
|
2918
|
-
this.
|
|
2989
|
+
this.ct_1 = new PrimitiveSerialDescriptor_0('kotlin.Boolean', BOOLEAN_getInstance());
|
|
2919
2990
|
}
|
|
2920
|
-
protoOf(BooleanSerializer).
|
|
2921
|
-
return this.
|
|
2991
|
+
protoOf(BooleanSerializer).oj = function () {
|
|
2992
|
+
return this.ct_1;
|
|
2922
2993
|
};
|
|
2923
|
-
protoOf(BooleanSerializer).
|
|
2924
|
-
return encoder.
|
|
2994
|
+
protoOf(BooleanSerializer).dt = function (encoder, value) {
|
|
2995
|
+
return encoder.vl(value);
|
|
2925
2996
|
};
|
|
2926
|
-
protoOf(BooleanSerializer).
|
|
2927
|
-
return this.
|
|
2997
|
+
protoOf(BooleanSerializer).pj = function (encoder, value) {
|
|
2998
|
+
return this.dt(encoder, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
|
|
2928
2999
|
};
|
|
2929
3000
|
var BooleanSerializer_instance;
|
|
2930
3001
|
function BooleanSerializer_getInstance() {
|
|
@@ -2934,16 +3005,16 @@
|
|
|
2934
3005
|
}
|
|
2935
3006
|
function UnitSerializer() {
|
|
2936
3007
|
UnitSerializer_instance = this;
|
|
2937
|
-
this.
|
|
3008
|
+
this.et_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
|
|
2938
3009
|
}
|
|
2939
|
-
protoOf(UnitSerializer).
|
|
2940
|
-
return this.
|
|
3010
|
+
protoOf(UnitSerializer).oj = function () {
|
|
3011
|
+
return this.et_1.oj();
|
|
2941
3012
|
};
|
|
2942
|
-
protoOf(UnitSerializer).
|
|
2943
|
-
this.
|
|
3013
|
+
protoOf(UnitSerializer).ft = function (encoder, value) {
|
|
3014
|
+
this.et_1.dk(encoder, Unit_instance);
|
|
2944
3015
|
};
|
|
2945
|
-
protoOf(UnitSerializer).
|
|
2946
|
-
return this.
|
|
3016
|
+
protoOf(UnitSerializer).pj = function (encoder, value) {
|
|
3017
|
+
return this.ft(encoder, value instanceof Unit ? value : THROW_CCE());
|
|
2947
3018
|
};
|
|
2948
3019
|
var UnitSerializer_instance;
|
|
2949
3020
|
function UnitSerializer_getInstance() {
|
|
@@ -2955,38 +3026,38 @@
|
|
|
2955
3026
|
throw IllegalStateException_init_$Create$('Primitive descriptor does not have elements');
|
|
2956
3027
|
}
|
|
2957
3028
|
function PrimitiveSerialDescriptor_0(serialName, kind) {
|
|
2958
|
-
this.
|
|
2959
|
-
this.
|
|
3029
|
+
this.gt_1 = serialName;
|
|
3030
|
+
this.ht_1 = kind;
|
|
2960
3031
|
}
|
|
2961
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
2962
|
-
return this.
|
|
3032
|
+
protoOf(PrimitiveSerialDescriptor_0).pk = function () {
|
|
3033
|
+
return this.gt_1;
|
|
2963
3034
|
};
|
|
2964
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
2965
|
-
return this.
|
|
3035
|
+
protoOf(PrimitiveSerialDescriptor_0).qk = function () {
|
|
3036
|
+
return this.ht_1;
|
|
2966
3037
|
};
|
|
2967
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3038
|
+
protoOf(PrimitiveSerialDescriptor_0).sk = function () {
|
|
2968
3039
|
return 0;
|
|
2969
3040
|
};
|
|
2970
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3041
|
+
protoOf(PrimitiveSerialDescriptor_0).uk = function (index) {
|
|
2971
3042
|
error_0(this);
|
|
2972
3043
|
};
|
|
2973
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3044
|
+
protoOf(PrimitiveSerialDescriptor_0).vk = function (index) {
|
|
2974
3045
|
error_0(this);
|
|
2975
3046
|
};
|
|
2976
3047
|
protoOf(PrimitiveSerialDescriptor_0).toString = function () {
|
|
2977
|
-
return 'PrimitiveDescriptor(' + this.
|
|
3048
|
+
return 'PrimitiveDescriptor(' + this.gt_1 + ')';
|
|
2978
3049
|
};
|
|
2979
3050
|
protoOf(PrimitiveSerialDescriptor_0).equals = function (other) {
|
|
2980
3051
|
if (this === other)
|
|
2981
3052
|
return true;
|
|
2982
3053
|
if (!(other instanceof PrimitiveSerialDescriptor_0))
|
|
2983
3054
|
return false;
|
|
2984
|
-
if (this.
|
|
3055
|
+
if (this.gt_1 === other.gt_1 && equals(this.ht_1, other.ht_1))
|
|
2985
3056
|
return true;
|
|
2986
3057
|
return false;
|
|
2987
3058
|
};
|
|
2988
3059
|
protoOf(PrimitiveSerialDescriptor_0).hashCode = function () {
|
|
2989
|
-
return getStringHashCode(this.
|
|
3060
|
+
return getStringHashCode(this.gt_1) + imul(31, this.ht_1.hashCode()) | 0;
|
|
2990
3061
|
};
|
|
2991
3062
|
function PrimitiveDescriptorSafe(serialName, kind) {
|
|
2992
3063
|
_init_properties_Primitives_kt__k0eto4();
|
|
@@ -2995,46 +3066,27 @@
|
|
|
2995
3066
|
}
|
|
2996
3067
|
function checkName(serialName) {
|
|
2997
3068
|
_init_properties_Primitives_kt__k0eto4();
|
|
2998
|
-
var
|
|
2999
|
-
var
|
|
3000
|
-
while (
|
|
3001
|
-
var primitive =
|
|
3002
|
-
var
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
throw IllegalArgumentException_init_$Create$(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exist ' + capitalize(simpleName) + 'Serializer.\n Please refer to SerialDescriptor documentation for additional information.\n '));
|
|
3069
|
+
var values = get_BUILTIN_SERIALIZERS().y1();
|
|
3070
|
+
var _iterator__ex2g4s = values.m();
|
|
3071
|
+
while (_iterator__ex2g4s.n()) {
|
|
3072
|
+
var primitive = _iterator__ex2g4s.o();
|
|
3073
|
+
var primitiveName = primitive.oj().pk();
|
|
3074
|
+
if (serialName === primitiveName) {
|
|
3075
|
+
throw IllegalArgumentException_init_$Create$(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exists ' + getKClassFromExpression(primitive).aa() + '.\n Please refer to SerialDescriptor documentation for additional information.\n '));
|
|
3006
3076
|
}
|
|
3007
3077
|
}
|
|
3008
3078
|
}
|
|
3009
|
-
function capitalize(_this__u8e3s4) {
|
|
3010
|
-
_init_properties_Primitives_kt__k0eto4();
|
|
3011
|
-
// Inline function 'kotlin.text.replaceFirstChar' call
|
|
3012
|
-
var tmp;
|
|
3013
|
-
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3014
|
-
if (charSequenceLength(_this__u8e3s4) > 0) {
|
|
3015
|
-
// Inline function 'kotlinx.serialization.internal.capitalize.<anonymous>' call
|
|
3016
|
-
var it = charSequenceGet(_this__u8e3s4, 0);
|
|
3017
|
-
var tmp$ret$1 = isLowerCase(it) ? titlecase(it) : toString_1(it);
|
|
3018
|
-
var tmp_0 = toString(tmp$ret$1);
|
|
3019
|
-
// Inline function 'kotlin.text.substring' call
|
|
3020
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3021
|
-
tmp = tmp_0 + _this__u8e3s4.substring(1);
|
|
3022
|
-
} else {
|
|
3023
|
-
tmp = _this__u8e3s4;
|
|
3024
|
-
}
|
|
3025
|
-
return tmp;
|
|
3026
|
-
}
|
|
3027
3079
|
var properties_initialized_Primitives_kt_6dpii6;
|
|
3028
3080
|
function _init_properties_Primitives_kt__k0eto4() {
|
|
3029
3081
|
if (!properties_initialized_Primitives_kt_6dpii6) {
|
|
3030
3082
|
properties_initialized_Primitives_kt_6dpii6 = true;
|
|
3031
|
-
BUILTIN_SERIALIZERS =
|
|
3083
|
+
BUILTIN_SERIALIZERS = initBuiltins();
|
|
3032
3084
|
}
|
|
3033
3085
|
}
|
|
3034
3086
|
function MapEntrySerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3035
3087
|
return function ($this$buildSerialDescriptor) {
|
|
3036
|
-
$this$buildSerialDescriptor.
|
|
3037
|
-
$this$buildSerialDescriptor.
|
|
3088
|
+
$this$buildSerialDescriptor.yj('key', $keySerializer.oj());
|
|
3089
|
+
$this$buildSerialDescriptor.yj('value', $valueSerializer.oj());
|
|
3038
3090
|
return Unit_instance;
|
|
3039
3091
|
};
|
|
3040
3092
|
}
|
|
@@ -3042,106 +3094,106 @@
|
|
|
3042
3094
|
KeyValueSerializer.call(this, keySerializer, valueSerializer);
|
|
3043
3095
|
var tmp = this;
|
|
3044
3096
|
var tmp_0 = MAP_getInstance();
|
|
3045
|
-
tmp.
|
|
3097
|
+
tmp.kt_1 = buildSerialDescriptor('kotlin.collections.Map.Entry', tmp_0, [], MapEntrySerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
3046
3098
|
}
|
|
3047
|
-
protoOf(MapEntrySerializer_0).
|
|
3048
|
-
return this.
|
|
3099
|
+
protoOf(MapEntrySerializer_0).oj = function () {
|
|
3100
|
+
return this.kt_1;
|
|
3049
3101
|
};
|
|
3050
|
-
protoOf(MapEntrySerializer_0).
|
|
3102
|
+
protoOf(MapEntrySerializer_0).lt = function (_this__u8e3s4) {
|
|
3051
3103
|
return _this__u8e3s4.y();
|
|
3052
3104
|
};
|
|
3053
|
-
protoOf(MapEntrySerializer_0).
|
|
3054
|
-
return this.
|
|
3105
|
+
protoOf(MapEntrySerializer_0).mt = function (_this__u8e3s4) {
|
|
3106
|
+
return this.lt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
3055
3107
|
};
|
|
3056
|
-
protoOf(MapEntrySerializer_0).
|
|
3108
|
+
protoOf(MapEntrySerializer_0).nt = function (_this__u8e3s4) {
|
|
3057
3109
|
return _this__u8e3s4.z();
|
|
3058
3110
|
};
|
|
3059
|
-
protoOf(MapEntrySerializer_0).
|
|
3060
|
-
return this.
|
|
3111
|
+
protoOf(MapEntrySerializer_0).ot = function (_this__u8e3s4) {
|
|
3112
|
+
return this.nt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
3061
3113
|
};
|
|
3062
3114
|
function PairSerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3063
3115
|
return function ($this$buildClassSerialDescriptor) {
|
|
3064
|
-
$this$buildClassSerialDescriptor.
|
|
3065
|
-
$this$buildClassSerialDescriptor.
|
|
3116
|
+
$this$buildClassSerialDescriptor.yj('first', $keySerializer.oj());
|
|
3117
|
+
$this$buildClassSerialDescriptor.yj('second', $valueSerializer.oj());
|
|
3066
3118
|
return Unit_instance;
|
|
3067
3119
|
};
|
|
3068
3120
|
}
|
|
3069
3121
|
function PairSerializer_0(keySerializer, valueSerializer) {
|
|
3070
3122
|
KeyValueSerializer.call(this, keySerializer, valueSerializer);
|
|
3071
3123
|
var tmp = this;
|
|
3072
|
-
tmp.
|
|
3124
|
+
tmp.ut_1 = buildClassSerialDescriptor('kotlin.Pair', [], PairSerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
3073
3125
|
}
|
|
3074
|
-
protoOf(PairSerializer_0).
|
|
3075
|
-
return this.
|
|
3126
|
+
protoOf(PairSerializer_0).oj = function () {
|
|
3127
|
+
return this.ut_1;
|
|
3076
3128
|
};
|
|
3077
|
-
protoOf(PairSerializer_0).
|
|
3078
|
-
return _this__u8e3s4.
|
|
3129
|
+
protoOf(PairSerializer_0).vt = function (_this__u8e3s4) {
|
|
3130
|
+
return _this__u8e3s4.u9_1;
|
|
3079
3131
|
};
|
|
3080
|
-
protoOf(PairSerializer_0).
|
|
3081
|
-
return this.
|
|
3132
|
+
protoOf(PairSerializer_0).mt = function (_this__u8e3s4) {
|
|
3133
|
+
return this.vt(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
3082
3134
|
};
|
|
3083
|
-
protoOf(PairSerializer_0).
|
|
3084
|
-
return _this__u8e3s4.
|
|
3135
|
+
protoOf(PairSerializer_0).wt = function (_this__u8e3s4) {
|
|
3136
|
+
return _this__u8e3s4.v9_1;
|
|
3085
3137
|
};
|
|
3086
|
-
protoOf(PairSerializer_0).
|
|
3087
|
-
return this.
|
|
3138
|
+
protoOf(PairSerializer_0).ot = function (_this__u8e3s4) {
|
|
3139
|
+
return this.wt(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
3088
3140
|
};
|
|
3089
3141
|
function TripleSerializer$descriptor$lambda(this$0) {
|
|
3090
3142
|
return function ($this$buildClassSerialDescriptor) {
|
|
3091
|
-
$this$buildClassSerialDescriptor.
|
|
3092
|
-
$this$buildClassSerialDescriptor.
|
|
3093
|
-
$this$buildClassSerialDescriptor.
|
|
3143
|
+
$this$buildClassSerialDescriptor.yj('first', this$0.xt_1.oj());
|
|
3144
|
+
$this$buildClassSerialDescriptor.yj('second', this$0.yt_1.oj());
|
|
3145
|
+
$this$buildClassSerialDescriptor.yj('third', this$0.zt_1.oj());
|
|
3094
3146
|
return Unit_instance;
|
|
3095
3147
|
};
|
|
3096
3148
|
}
|
|
3097
3149
|
function TripleSerializer_0(aSerializer, bSerializer, cSerializer) {
|
|
3098
|
-
this.
|
|
3099
|
-
this.
|
|
3100
|
-
this.
|
|
3150
|
+
this.xt_1 = aSerializer;
|
|
3151
|
+
this.yt_1 = bSerializer;
|
|
3152
|
+
this.zt_1 = cSerializer;
|
|
3101
3153
|
var tmp = this;
|
|
3102
|
-
tmp.
|
|
3154
|
+
tmp.au_1 = buildClassSerialDescriptor('kotlin.Triple', [], TripleSerializer$descriptor$lambda(this));
|
|
3103
3155
|
}
|
|
3104
|
-
protoOf(TripleSerializer_0).
|
|
3105
|
-
return this.
|
|
3156
|
+
protoOf(TripleSerializer_0).oj = function () {
|
|
3157
|
+
return this.au_1;
|
|
3106
3158
|
};
|
|
3107
|
-
protoOf(TripleSerializer_0).
|
|
3108
|
-
var structuredEncoder = encoder.
|
|
3109
|
-
structuredEncoder.
|
|
3110
|
-
structuredEncoder.
|
|
3111
|
-
structuredEncoder.
|
|
3112
|
-
structuredEncoder.
|
|
3159
|
+
protoOf(TripleSerializer_0).bu = function (encoder, value) {
|
|
3160
|
+
var structuredEncoder = encoder.ql(this.au_1);
|
|
3161
|
+
structuredEncoder.pm(this.au_1, 0, this.xt_1, value.lh_1);
|
|
3162
|
+
structuredEncoder.pm(this.au_1, 1, this.yt_1, value.mh_1);
|
|
3163
|
+
structuredEncoder.pm(this.au_1, 2, this.zt_1, value.nh_1);
|
|
3164
|
+
structuredEncoder.rl(this.au_1);
|
|
3113
3165
|
};
|
|
3114
|
-
protoOf(TripleSerializer_0).
|
|
3115
|
-
return this.
|
|
3166
|
+
protoOf(TripleSerializer_0).pj = function (encoder, value) {
|
|
3167
|
+
return this.bu(encoder, value instanceof Triple ? value : THROW_CCE());
|
|
3116
3168
|
};
|
|
3117
3169
|
function KeyValueSerializer(keySerializer, valueSerializer) {
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3170
|
+
this.pt_1 = keySerializer;
|
|
3171
|
+
this.qt_1 = valueSerializer;
|
|
3120
3172
|
}
|
|
3121
|
-
protoOf(KeyValueSerializer).
|
|
3122
|
-
var structuredEncoder = encoder.
|
|
3123
|
-
structuredEncoder.
|
|
3124
|
-
structuredEncoder.
|
|
3125
|
-
structuredEncoder.
|
|
3173
|
+
protoOf(KeyValueSerializer).rt = function (encoder, value) {
|
|
3174
|
+
var structuredEncoder = encoder.ql(this.oj());
|
|
3175
|
+
structuredEncoder.pm(this.oj(), 0, this.pt_1, this.mt(value));
|
|
3176
|
+
structuredEncoder.pm(this.oj(), 1, this.qt_1, this.ot(value));
|
|
3177
|
+
structuredEncoder.rl(this.oj());
|
|
3126
3178
|
};
|
|
3127
|
-
protoOf(KeyValueSerializer).
|
|
3128
|
-
return this.
|
|
3179
|
+
protoOf(KeyValueSerializer).pj = function (encoder, value) {
|
|
3180
|
+
return this.rt(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
3129
3181
|
};
|
|
3130
3182
|
function ULongSerializer() {
|
|
3131
3183
|
ULongSerializer_instance = this;
|
|
3132
|
-
this.
|
|
3184
|
+
this.cu_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_4(Companion_getInstance_0()));
|
|
3133
3185
|
}
|
|
3134
|
-
protoOf(ULongSerializer).
|
|
3135
|
-
return this.
|
|
3186
|
+
protoOf(ULongSerializer).oj = function () {
|
|
3187
|
+
return this.cu_1;
|
|
3136
3188
|
};
|
|
3137
|
-
protoOf(ULongSerializer).
|
|
3138
|
-
var tmp = encoder.
|
|
3189
|
+
protoOf(ULongSerializer).du = function (encoder, value) {
|
|
3190
|
+
var tmp = encoder.em(this.cu_1);
|
|
3139
3191
|
// Inline function 'kotlin.ULong.toLong' call
|
|
3140
3192
|
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(value);
|
|
3141
|
-
tmp.
|
|
3193
|
+
tmp.zl(tmp$ret$0);
|
|
3142
3194
|
};
|
|
3143
|
-
protoOf(ULongSerializer).
|
|
3144
|
-
return this.
|
|
3195
|
+
protoOf(ULongSerializer).pj = function (encoder, value) {
|
|
3196
|
+
return this.du(encoder, value instanceof ULong ? value.wi_1 : THROW_CCE());
|
|
3145
3197
|
};
|
|
3146
3198
|
var ULongSerializer_instance;
|
|
3147
3199
|
function ULongSerializer_getInstance() {
|
|
@@ -3151,19 +3203,19 @@
|
|
|
3151
3203
|
}
|
|
3152
3204
|
function UIntSerializer() {
|
|
3153
3205
|
UIntSerializer_instance = this;
|
|
3154
|
-
this.
|
|
3206
|
+
this.eu_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_6(IntCompanionObject_instance));
|
|
3155
3207
|
}
|
|
3156
|
-
protoOf(UIntSerializer).
|
|
3157
|
-
return this.
|
|
3208
|
+
protoOf(UIntSerializer).oj = function () {
|
|
3209
|
+
return this.eu_1;
|
|
3158
3210
|
};
|
|
3159
|
-
protoOf(UIntSerializer).
|
|
3160
|
-
var tmp = encoder.
|
|
3211
|
+
protoOf(UIntSerializer).fu = function (encoder, value) {
|
|
3212
|
+
var tmp = encoder.em(this.eu_1);
|
|
3161
3213
|
// Inline function 'kotlin.UInt.toInt' call
|
|
3162
3214
|
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(value);
|
|
3163
|
-
tmp.
|
|
3215
|
+
tmp.yl(tmp$ret$0);
|
|
3164
3216
|
};
|
|
3165
|
-
protoOf(UIntSerializer).
|
|
3166
|
-
return this.
|
|
3217
|
+
protoOf(UIntSerializer).pj = function (encoder, value) {
|
|
3218
|
+
return this.fu(encoder, value instanceof UInt ? value.li_1 : THROW_CCE());
|
|
3167
3219
|
};
|
|
3168
3220
|
var UIntSerializer_instance;
|
|
3169
3221
|
function UIntSerializer_getInstance() {
|
|
@@ -3173,19 +3225,19 @@
|
|
|
3173
3225
|
}
|
|
3174
3226
|
function UShortSerializer() {
|
|
3175
3227
|
UShortSerializer_instance = this;
|
|
3176
|
-
this.
|
|
3228
|
+
this.gu_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_8(ShortCompanionObject_instance));
|
|
3177
3229
|
}
|
|
3178
|
-
protoOf(UShortSerializer).
|
|
3179
|
-
return this.
|
|
3230
|
+
protoOf(UShortSerializer).oj = function () {
|
|
3231
|
+
return this.gu_1;
|
|
3180
3232
|
};
|
|
3181
|
-
protoOf(UShortSerializer).
|
|
3182
|
-
var tmp = encoder.
|
|
3233
|
+
protoOf(UShortSerializer).hu = function (encoder, value) {
|
|
3234
|
+
var tmp = encoder.em(this.gu_1);
|
|
3183
3235
|
// Inline function 'kotlin.UShort.toShort' call
|
|
3184
3236
|
var tmp$ret$0 = _UShort___get_data__impl__g0245(value);
|
|
3185
|
-
tmp.
|
|
3237
|
+
tmp.xl(tmp$ret$0);
|
|
3186
3238
|
};
|
|
3187
|
-
protoOf(UShortSerializer).
|
|
3188
|
-
return this.
|
|
3239
|
+
protoOf(UShortSerializer).pj = function (encoder, value) {
|
|
3240
|
+
return this.hu(encoder, value instanceof UShort ? value.hj_1 : THROW_CCE());
|
|
3189
3241
|
};
|
|
3190
3242
|
var UShortSerializer_instance;
|
|
3191
3243
|
function UShortSerializer_getInstance() {
|
|
@@ -3195,19 +3247,19 @@
|
|
|
3195
3247
|
}
|
|
3196
3248
|
function UByteSerializer() {
|
|
3197
3249
|
UByteSerializer_instance = this;
|
|
3198
|
-
this.
|
|
3250
|
+
this.iu_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_10(ByteCompanionObject_instance));
|
|
3199
3251
|
}
|
|
3200
|
-
protoOf(UByteSerializer).
|
|
3201
|
-
return this.
|
|
3252
|
+
protoOf(UByteSerializer).oj = function () {
|
|
3253
|
+
return this.iu_1;
|
|
3202
3254
|
};
|
|
3203
|
-
protoOf(UByteSerializer).
|
|
3204
|
-
var tmp = encoder.
|
|
3255
|
+
protoOf(UByteSerializer).ju = function (encoder, value) {
|
|
3256
|
+
var tmp = encoder.em(this.iu_1);
|
|
3205
3257
|
// Inline function 'kotlin.UByte.toByte' call
|
|
3206
3258
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(value);
|
|
3207
|
-
tmp.
|
|
3259
|
+
tmp.wl(tmp$ret$0);
|
|
3208
3260
|
};
|
|
3209
|
-
protoOf(UByteSerializer).
|
|
3210
|
-
return this.
|
|
3261
|
+
protoOf(UByteSerializer).pj = function (encoder, value) {
|
|
3262
|
+
return this.ju(encoder, value instanceof UByte ? value.ai_1 : THROW_CCE());
|
|
3211
3263
|
};
|
|
3212
3264
|
var UByteSerializer_instance;
|
|
3213
3265
|
function UByteSerializer_getInstance() {
|
|
@@ -3222,61 +3274,65 @@
|
|
|
3222
3274
|
var EmptySerializersModule;
|
|
3223
3275
|
function SerializersModule() {
|
|
3224
3276
|
}
|
|
3225
|
-
protoOf(SerializersModule).
|
|
3277
|
+
protoOf(SerializersModule).hk = function (kClass, typeArgumentsSerializers, $super) {
|
|
3226
3278
|
typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers;
|
|
3227
|
-
return $super === VOID ? this.
|
|
3279
|
+
return $super === VOID ? this.ik(kClass, typeArgumentsSerializers) : $super.ik.call(this, kClass, typeArgumentsSerializers);
|
|
3228
3280
|
};
|
|
3229
|
-
function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider) {
|
|
3281
|
+
function SerialModuleImpl(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider, hasInterfaceContextualSerializers) {
|
|
3230
3282
|
SerializersModule.call(this);
|
|
3231
|
-
this.
|
|
3232
|
-
this.
|
|
3233
|
-
this.
|
|
3234
|
-
this.
|
|
3235
|
-
this.
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3283
|
+
this.ku_1 = class2ContextualFactory;
|
|
3284
|
+
this.lu_1 = polyBase2Serializers;
|
|
3285
|
+
this.mu_1 = polyBase2DefaultSerializerProvider;
|
|
3286
|
+
this.nu_1 = polyBase2NamedSerializers;
|
|
3287
|
+
this.ou_1 = polyBase2DefaultDeserializerProvider;
|
|
3288
|
+
this.pu_1 = hasInterfaceContextualSerializers;
|
|
3289
|
+
}
|
|
3290
|
+
protoOf(SerialModuleImpl).gk = function () {
|
|
3291
|
+
return this.pu_1;
|
|
3292
|
+
};
|
|
3293
|
+
protoOf(SerialModuleImpl).xm = function (baseClass, value) {
|
|
3294
|
+
if (!baseClass.ba(value))
|
|
3239
3295
|
return null;
|
|
3240
|
-
var tmp0_safe_receiver = this.
|
|
3296
|
+
var tmp0_safe_receiver = this.lu_1.w1(baseClass);
|
|
3241
3297
|
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1(getKClassFromExpression(value));
|
|
3242
3298
|
var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy) : false) ? tmp : null;
|
|
3243
3299
|
if (!(registered == null))
|
|
3244
3300
|
return registered;
|
|
3245
|
-
var tmp_0 = this.
|
|
3301
|
+
var tmp_0 = this.mu_1.w1(baseClass);
|
|
3246
3302
|
var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
|
|
3247
3303
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
|
|
3248
3304
|
};
|
|
3249
|
-
protoOf(SerialModuleImpl).
|
|
3250
|
-
var tmp0_safe_receiver = this.
|
|
3251
|
-
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3305
|
+
protoOf(SerialModuleImpl).ik = function (kClass, typeArgumentsSerializers) {
|
|
3306
|
+
var tmp0_safe_receiver = this.ku_1.w1(kClass);
|
|
3307
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qu(typeArgumentsSerializers);
|
|
3252
3308
|
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
|
|
3253
3309
|
};
|
|
3254
3310
|
var properties_initialized_SerializersModule_kt_fjigjn;
|
|
3255
3311
|
function _init_properties_SerializersModule_kt__u78ha3() {
|
|
3256
3312
|
if (!properties_initialized_SerializersModule_kt_fjigjn) {
|
|
3257
3313
|
properties_initialized_SerializersModule_kt_fjigjn = true;
|
|
3258
|
-
EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap());
|
|
3314
|
+
EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap(), false);
|
|
3259
3315
|
}
|
|
3260
3316
|
}
|
|
3261
3317
|
function EmptySerializersModule_0() {
|
|
3262
3318
|
return get_EmptySerializersModuleLegacyJs();
|
|
3263
3319
|
}
|
|
3264
3320
|
function SerializableWith(serializer) {
|
|
3265
|
-
this.
|
|
3321
|
+
this.ru_1 = serializer;
|
|
3266
3322
|
}
|
|
3267
3323
|
protoOf(SerializableWith).equals = function (other) {
|
|
3268
3324
|
if (!(other instanceof SerializableWith))
|
|
3269
3325
|
return false;
|
|
3270
3326
|
var tmp0_other_with_cast = other instanceof SerializableWith ? other : THROW_CCE();
|
|
3271
|
-
if (!this.
|
|
3327
|
+
if (!this.ru_1.equals(tmp0_other_with_cast.ru_1))
|
|
3272
3328
|
return false;
|
|
3273
3329
|
return true;
|
|
3274
3330
|
};
|
|
3275
3331
|
protoOf(SerializableWith).hashCode = function () {
|
|
3276
|
-
return imul(getStringHashCode('serializer'), 127) ^ this.
|
|
3332
|
+
return imul(getStringHashCode('serializer'), 127) ^ this.ru_1.hashCode();
|
|
3277
3333
|
};
|
|
3278
3334
|
protoOf(SerializableWith).toString = function () {
|
|
3279
|
-
return '@kotlinx.serialization.SerializableWith(' + 'serializer=' + toString(this.
|
|
3335
|
+
return '@kotlinx.serialization.SerializableWith(' + 'serializer=' + toString(this.ru_1) + ')';
|
|
3280
3336
|
};
|
|
3281
3337
|
function createCache(factory) {
|
|
3282
3338
|
return new createCache$1(factory);
|
|
@@ -3284,22 +3340,35 @@
|
|
|
3284
3340
|
function createParametrizedCache(factory) {
|
|
3285
3341
|
return new createParametrizedCache$1(factory);
|
|
3286
3342
|
}
|
|
3343
|
+
function isInterface_0(_this__u8e3s4) {
|
|
3344
|
+
return get_isInterface(_this__u8e3s4);
|
|
3345
|
+
}
|
|
3346
|
+
function initBuiltins() {
|
|
3347
|
+
return mapOf([to(PrimitiveClasses_getInstance().bb(), serializer_0(StringCompanionObject_instance)), to(getKClass(Char), serializer_1(Companion_getInstance())), to(PrimitiveClasses_getInstance().eb(), CharArraySerializer()), to(PrimitiveClasses_getInstance().za(), serializer_2(DoubleCompanionObject_instance)), to(PrimitiveClasses_getInstance().kb(), DoubleArraySerializer()), to(PrimitiveClasses_getInstance().ya(), serializer_3(FloatCompanionObject_instance)), to(PrimitiveClasses_getInstance().jb(), FloatArraySerializer()), to(getKClass(Long), serializer_4(Companion_getInstance_0())), to(PrimitiveClasses_getInstance().ib(), LongArraySerializer()), to(getKClass(ULong), serializer_5(Companion_getInstance_1())), to(getKClass(ULongArray), ULongArraySerializer()), to(PrimitiveClasses_getInstance().xa(), serializer_6(IntCompanionObject_instance)), to(PrimitiveClasses_getInstance().hb(), IntArraySerializer()), to(getKClass(UInt), serializer_7(Companion_getInstance_2())), to(getKClass(UIntArray), UIntArraySerializer()), to(PrimitiveClasses_getInstance().wa(), serializer_8(ShortCompanionObject_instance)), to(PrimitiveClasses_getInstance().gb(), ShortArraySerializer()), to(getKClass(UShort), serializer_9(Companion_getInstance_3())), to(getKClass(UShortArray), UShortArraySerializer()), to(PrimitiveClasses_getInstance().va(), serializer_10(ByteCompanionObject_instance)), to(PrimitiveClasses_getInstance().fb(), ByteArraySerializer()), to(getKClass(UByte), serializer_11(Companion_getInstance_4())), to(getKClass(UByteArray), UByteArraySerializer()), to(PrimitiveClasses_getInstance().ua(), serializer_12(BooleanCompanionObject_instance)), to(PrimitiveClasses_getInstance().db(), BooleanArraySerializer()), to(getKClass(Unit), serializer_13(Unit_instance)), to(PrimitiveClasses_getInstance().ta(), NothingSerializer()), to(getKClass(Duration), serializer_14(Companion_getInstance_5())), to(getKClass(Uuid), serializer_15(Companion_getInstance_6()))]);
|
|
3348
|
+
}
|
|
3349
|
+
function get_isInterface(_this__u8e3s4) {
|
|
3350
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().ta())
|
|
3351
|
+
return false;
|
|
3352
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3353
|
+
var tmp0_safe_receiver = get_js(_this__u8e3s4).$metadata$;
|
|
3354
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kind) == 'interface';
|
|
3355
|
+
}
|
|
3287
3356
|
function compiledSerializerImpl(_this__u8e3s4) {
|
|
3288
|
-
var
|
|
3357
|
+
var tmp0_elvis_lhs = constructSerializerForGivenTypeArgs(_this__u8e3s4, []);
|
|
3289
3358
|
var tmp;
|
|
3290
|
-
if (
|
|
3359
|
+
if (tmp0_elvis_lhs == null) {
|
|
3291
3360
|
var tmp_0;
|
|
3292
|
-
if (_this__u8e3s4 === PrimitiveClasses_getInstance().
|
|
3361
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().ta()) {
|
|
3293
3362
|
tmp_0 = NothingSerializer_getInstance();
|
|
3294
3363
|
} else {
|
|
3295
3364
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3296
|
-
var
|
|
3297
|
-
tmp_0 =
|
|
3365
|
+
var tmp1_safe_receiver = get_js(_this__u8e3s4).Companion;
|
|
3366
|
+
tmp_0 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.serializer();
|
|
3298
3367
|
}
|
|
3299
3368
|
var tmp_1 = tmp_0;
|
|
3300
3369
|
tmp = (!(tmp_1 == null) ? isInterface(tmp_1, KSerializer) : false) ? tmp_1 : null;
|
|
3301
3370
|
} else {
|
|
3302
|
-
tmp =
|
|
3371
|
+
tmp = tmp0_elvis_lhs;
|
|
3303
3372
|
}
|
|
3304
3373
|
return tmp;
|
|
3305
3374
|
}
|
|
@@ -3307,7 +3376,7 @@
|
|
|
3307
3376
|
throw SerializationException_init_$Create$_0(notRegisteredMessage(_this__u8e3s4) + 'To get enum serializer on Kotlin/JS, it should be annotated with @Serializable annotation.');
|
|
3308
3377
|
}
|
|
3309
3378
|
function isReferenceArray(rootClass) {
|
|
3310
|
-
return rootClass.equals(PrimitiveClasses_getInstance().
|
|
3379
|
+
return rootClass.equals(PrimitiveClasses_getInstance().ab());
|
|
3311
3380
|
}
|
|
3312
3381
|
function constructSerializerForGivenTypeArgs(_this__u8e3s4, args) {
|
|
3313
3382
|
var tmp;
|
|
@@ -3316,17 +3385,13 @@
|
|
|
3316
3385
|
var assocObject = findAssociatedObject(_this__u8e3s4, getKClass(SerializableWith));
|
|
3317
3386
|
var tmp_0;
|
|
3318
3387
|
if (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) {
|
|
3319
|
-
tmp_0 =
|
|
3388
|
+
tmp_0 = isInterface(assocObject, KSerializer) ? assocObject : THROW_CCE();
|
|
3320
3389
|
} else {
|
|
3321
3390
|
if (!(assocObject == null) ? isInterface(assocObject, SerializerFactory) : false) {
|
|
3322
|
-
var tmp_1 = assocObject.
|
|
3391
|
+
var tmp_1 = assocObject.pq(args.slice());
|
|
3323
3392
|
tmp_0 = isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
|
|
3324
3393
|
} else {
|
|
3325
|
-
|
|
3326
|
-
tmp_0 = new PolymorphicSerializer(_this__u8e3s4);
|
|
3327
|
-
} else {
|
|
3328
|
-
tmp_0 = null;
|
|
3329
|
-
}
|
|
3394
|
+
tmp_0 = null;
|
|
3330
3395
|
}
|
|
3331
3396
|
}
|
|
3332
3397
|
tmp = tmp_0;
|
|
@@ -3338,32 +3403,27 @@
|
|
|
3338
3403
|
}
|
|
3339
3404
|
return tmp;
|
|
3340
3405
|
}
|
|
3341
|
-
function get_isInterface(_this__u8e3s4) {
|
|
3342
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3343
|
-
var tmp0_safe_receiver = get_js(_this__u8e3s4).$metadata$;
|
|
3344
|
-
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kind) == 'interface';
|
|
3345
|
-
}
|
|
3346
3406
|
function getChecked(_this__u8e3s4, index) {
|
|
3347
3407
|
if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false))
|
|
3348
3408
|
throw IndexOutOfBoundsException_init_$Create$('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4).toString());
|
|
3349
3409
|
return _this__u8e3s4[index];
|
|
3350
3410
|
}
|
|
3351
3411
|
function createCache$1($factory) {
|
|
3352
|
-
this.
|
|
3412
|
+
this.su_1 = $factory;
|
|
3353
3413
|
}
|
|
3354
|
-
protoOf(createCache$1).
|
|
3355
|
-
return this.
|
|
3414
|
+
protoOf(createCache$1).jk = function (key) {
|
|
3415
|
+
return this.su_1(key);
|
|
3356
3416
|
};
|
|
3357
3417
|
function createParametrizedCache$1($factory) {
|
|
3358
|
-
this.
|
|
3418
|
+
this.tu_1 = $factory;
|
|
3359
3419
|
}
|
|
3360
|
-
protoOf(createParametrizedCache$1).
|
|
3420
|
+
protoOf(createParametrizedCache$1).kk = function (key, types) {
|
|
3361
3421
|
// Inline function 'kotlin.runCatching' call
|
|
3362
3422
|
var tmp;
|
|
3363
3423
|
try {
|
|
3364
3424
|
// Inline function 'kotlinx.serialization.internal.<no name provided>.get.<anonymous>' call
|
|
3365
3425
|
// Inline function 'kotlin.Companion.success' call
|
|
3366
|
-
var value = this.
|
|
3426
|
+
var value = this.tu_1(key, types);
|
|
3367
3427
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
3368
3428
|
} catch ($p) {
|
|
3369
3429
|
var tmp_0;
|
|
@@ -3379,28 +3439,28 @@
|
|
|
3379
3439
|
return tmp;
|
|
3380
3440
|
};
|
|
3381
3441
|
//region block: post-declaration
|
|
3382
|
-
protoOf(SerialDescriptorImpl).
|
|
3383
|
-
protoOf(SerialDescriptorImpl).
|
|
3384
|
-
protoOf(AbstractEncoder).
|
|
3385
|
-
protoOf(AbstractEncoder).
|
|
3386
|
-
protoOf(AbstractEncoder).
|
|
3387
|
-
protoOf(AbstractEncoder).
|
|
3388
|
-
protoOf(AbstractEncoder).
|
|
3389
|
-
protoOf(ListLikeDescriptor).
|
|
3390
|
-
protoOf(ListLikeDescriptor).
|
|
3391
|
-
protoOf(ListLikeDescriptor).
|
|
3392
|
-
protoOf(MapLikeDescriptor).
|
|
3393
|
-
protoOf(MapLikeDescriptor).
|
|
3394
|
-
protoOf(MapLikeDescriptor).
|
|
3395
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
3396
|
-
protoOf(PluginGeneratedSerialDescriptor).
|
|
3397
|
-
protoOf(InlinePrimitiveDescriptor$1).
|
|
3398
|
-
protoOf(NothingSerialDescriptor).
|
|
3399
|
-
protoOf(NothingSerialDescriptor).
|
|
3400
|
-
protoOf(NothingSerialDescriptor).
|
|
3401
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3402
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3403
|
-
protoOf(PrimitiveSerialDescriptor_0).
|
|
3442
|
+
protoOf(SerialDescriptorImpl).lk = get_isNullable;
|
|
3443
|
+
protoOf(SerialDescriptorImpl).rk = get_isInline;
|
|
3444
|
+
protoOf(AbstractEncoder).um = encodeNotNullMark;
|
|
3445
|
+
protoOf(AbstractEncoder).vm = beginCollection;
|
|
3446
|
+
protoOf(AbstractEncoder).qm = encodeSerializableValue;
|
|
3447
|
+
protoOf(AbstractEncoder).sm = encodeNullableSerializableValue;
|
|
3448
|
+
protoOf(AbstractEncoder).wm = shouldEncodeElementDefault;
|
|
3449
|
+
protoOf(ListLikeDescriptor).lk = get_isNullable;
|
|
3450
|
+
protoOf(ListLikeDescriptor).rk = get_isInline;
|
|
3451
|
+
protoOf(ListLikeDescriptor).tk = get_annotations;
|
|
3452
|
+
protoOf(MapLikeDescriptor).lk = get_isNullable;
|
|
3453
|
+
protoOf(MapLikeDescriptor).rk = get_isInline;
|
|
3454
|
+
protoOf(MapLikeDescriptor).tk = get_annotations;
|
|
3455
|
+
protoOf(PluginGeneratedSerialDescriptor).lk = get_isNullable;
|
|
3456
|
+
protoOf(PluginGeneratedSerialDescriptor).rk = get_isInline;
|
|
3457
|
+
protoOf(InlinePrimitiveDescriptor$1).fq = typeParametersSerializers;
|
|
3458
|
+
protoOf(NothingSerialDescriptor).lk = get_isNullable;
|
|
3459
|
+
protoOf(NothingSerialDescriptor).rk = get_isInline;
|
|
3460
|
+
protoOf(NothingSerialDescriptor).tk = get_annotations;
|
|
3461
|
+
protoOf(PrimitiveSerialDescriptor_0).lk = get_isNullable;
|
|
3462
|
+
protoOf(PrimitiveSerialDescriptor_0).rk = get_isInline;
|
|
3463
|
+
protoOf(PrimitiveSerialDescriptor_0).tk = get_annotations;
|
|
3404
3464
|
//endregion
|
|
3405
3465
|
//region block: exports
|
|
3406
3466
|
_.$_$ = _.$_$ || {};
|