git-digger 1.5.39 → 1.5.43
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.mjs +5119 -0
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/kotlin/bin/digger +0 -0
- package/kotlin/clikt-clikt-mordant.mjs +310 -0
- package/kotlin/clikt-clikt-mordant.mjs.map +1 -0
- package/kotlin/clikt-clikt.mjs +6663 -0
- package/kotlin/clikt-clikt.mjs.map +1 -0
- package/kotlin/colormath-root-colormath.mjs +1675 -0
- package/kotlin/colormath-root-colormath.mjs.map +1 -0
- package/kotlin/command-line-tools-digger-cli.mjs +498 -0
- package/kotlin/command-line-tools-digger-cli.mjs.map +1 -0
- package/kotlin/kotlin-kotlin-stdlib.mjs +11790 -0
- package/kotlin/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +4 -0
- package/kotlin/{kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map → kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map} +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs +3640 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs +1140 -0
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/kotlin/mordant-mordant-omnibus.mjs +4 -0
- package/kotlin/{mordant-mordant-omnibus.js.map → mordant-mordant-omnibus.mjs.map} +1 -1
- package/kotlin/mordant-mordant.mjs +10332 -0
- package/kotlin/mordant-mordant.mjs.map +1 -0
- package/kotlin/tools-cli-tools.mjs +30 -0
- package/kotlin/tools-cli-tools.mjs.map +1 -0
- package/kotlin/tools-digger-core.mjs +666 -0
- package/kotlin/tools-digger-core.mjs.map +1 -0
- package/kotlin/tools-digger-json.mjs +263 -0
- package/kotlin/tools-digger-json.mjs.map +1 -0
- package/kotlin/tools-digger-model.mjs +109 -0
- package/kotlin/tools-digger-model.mjs.map +1 -0
- package/kotlin/tools-git-adapter.mjs +261 -0
- package/kotlin/tools-git-adapter.mjs.map +1 -0
- package/package.json +2 -2
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +0 -5104
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
- package/kotlin/clikt-clikt-mordant.js +0 -303
- package/kotlin/clikt-clikt-mordant.js.map +0 -1
- package/kotlin/clikt-clikt.js +0 -6742
- package/kotlin/clikt-clikt.js.map +0 -1
- package/kotlin/colormath-root-colormath.js +0 -1627
- package/kotlin/colormath-root-colormath.js.map +0 -1
- package/kotlin/command-line-tools-digger-cli.js +0 -563
- package/kotlin/command-line-tools-digger-cli.js.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib.js +0 -11651
- package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +0 -3509
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +0 -1118
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
- package/kotlin/mordant-mordant-omnibus.js +0 -8
- package/kotlin/mordant-mordant.js +0 -10271
- package/kotlin/mordant-mordant.js.map +0 -1
- package/kotlin/tools-cli-tools.js +0 -55
- package/kotlin/tools-cli-tools.js.map +0 -1
- package/kotlin/tools-digger-core.js +0 -659
- package/kotlin/tools-digger-core.js.map +0 -1
- package/kotlin/tools-digger-json.js +0 -256
- package/kotlin/tools-digger-json.js.map +0 -1
- package/kotlin/tools-digger-model.js +0 -107
- package/kotlin/tools-digger-model.js.map +0 -1
- package/kotlin/tools-git-adapter.js +0 -269
- package/kotlin/tools-git-adapter.js.map +0 -1
|
@@ -0,0 +1,3640 @@
|
|
|
1
|
+
import {
|
|
2
|
+
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
3
|
+
VOID7hggqo3abtya as VOID,
|
|
4
|
+
StringCompanionObject_instance2iflbktk67pca as StringCompanionObject_instance,
|
|
5
|
+
Unit_instance14hm69wy3kr8u as Unit_instance,
|
|
6
|
+
emptyList1g2z5xcrvp2zy as emptyList,
|
|
7
|
+
LazyThreadSafetyMode_PUBLICATION_getInstance2l411fkf5jrbp as LazyThreadSafetyMode_PUBLICATION_getInstance,
|
|
8
|
+
lazy1261dae0bgscp as lazy,
|
|
9
|
+
toString1pkumu07cwy4m as toString,
|
|
10
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
11
|
+
getKClassFromExpression3vpejubogshaw as getKClassFromExpression,
|
|
12
|
+
KProperty1ca4yb4wlo496 as KProperty1,
|
|
13
|
+
getPropertyCallableRef1ajb9in178r5r as getPropertyCallableRef,
|
|
14
|
+
captureStack1fzi4aczwc4hg as captureStack,
|
|
15
|
+
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
|
|
16
|
+
ArrayList3it5z8td81qkl as ArrayList,
|
|
17
|
+
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
18
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
19
|
+
KClass1cc9rfeybg8hs as KClass,
|
|
20
|
+
isInterface3d6p8outrmvmk as isInterface,
|
|
21
|
+
Triple1vhi3d0dgpnjb as Triple,
|
|
22
|
+
getKClass1s3j9wy1cofik as getKClass,
|
|
23
|
+
Paire9pteg33gng7 as Pair,
|
|
24
|
+
Entry2xmjmyutzoq3p as Entry,
|
|
25
|
+
KtMap140uvy3s5zad8 as KtMap,
|
|
26
|
+
KtMutableMap1kqeifoi36kpz as KtMutableMap,
|
|
27
|
+
LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap,
|
|
28
|
+
HashMap1a0ld5kgwhmhv as HashMap,
|
|
29
|
+
KtSetjrjc7fhfd6b9 as KtSet,
|
|
30
|
+
KtMutableSetwuwn7k5m570a as KtMutableSet,
|
|
31
|
+
LinkedHashSet2tkztfx86kyx2 as LinkedHashSet,
|
|
32
|
+
HashSet2dzve9y63nf0v as HashSet,
|
|
33
|
+
Collection1k04j3hzsbod0 as Collection,
|
|
34
|
+
KtList3hktaavzmj137 as KtList,
|
|
35
|
+
KtMutableList1beimitadwkna as KtMutableList,
|
|
36
|
+
copyToArray2j022khrow2yi as copyToArray,
|
|
37
|
+
_Result___get_value__impl__bjfvqgbxrwpgk5sesh as _Result___get_value__impl__bjfvqg,
|
|
38
|
+
_Result___get_isFailure__impl__jpiriv2jp2gwqhnirp8 as _Result___get_isFailure__impl__jpiriv,
|
|
39
|
+
Result3t1vadv16kmzk as Result,
|
|
40
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
41
|
+
equals2au1ep9vhcato as equals,
|
|
42
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
43
|
+
isBlank1dvkhjjvox3p0 as isBlank,
|
|
44
|
+
toList383f556t1dixk as toList,
|
|
45
|
+
toHashSet1qrcsl3g8ugc8 as toHashSet,
|
|
46
|
+
toBooleanArray2u3qw7fjwsmuh as toBooleanArray,
|
|
47
|
+
withIndex3s8q7w1g0hyfn as withIndex,
|
|
48
|
+
to2cs3ny02qtbcb as to,
|
|
49
|
+
toMap1vec9topfei08 as toMap,
|
|
50
|
+
lazy2hsh8ze7j6ikd as lazy_0,
|
|
51
|
+
contentEqualsaf55p28mnw74 as contentEquals,
|
|
52
|
+
until1jbpn0z3f8lbg as until,
|
|
53
|
+
joinToString1cxrrlmo0chqs as joinToString,
|
|
54
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
55
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
56
|
+
createThis2j2avj17cvnv2 as createThis,
|
|
57
|
+
Char19o2r8palgjof as Char,
|
|
58
|
+
Duration__toIsoString_impl_9h6wsm2kf5is6ue36 as Duration__toIsoString_impl_9h6wsm,
|
|
59
|
+
Duration5ynfiptaqcrg as Duration,
|
|
60
|
+
Uuid1zxgztb7abqxx as Uuid,
|
|
61
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
62
|
+
IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
|
|
63
|
+
isArray1hxjqtqy632bc as isArray,
|
|
64
|
+
arrayIterator3lgwvgteckzhv as arrayIterator,
|
|
65
|
+
toString30pk9tzaqopn as toString_0,
|
|
66
|
+
KTypeParameter1s8efufd4mbj5 as KTypeParameter,
|
|
67
|
+
contentHashCode2i020q5tbeh2s as contentHashCode,
|
|
68
|
+
fillArrayVali8eppxapiek4 as fillArrayVal,
|
|
69
|
+
booleanArray2jdug9b51huk7 as booleanArray,
|
|
70
|
+
emptyMapr06gerzljqtm as emptyMap,
|
|
71
|
+
Companion_getInstance36uki9uc3fsps as Companion_getInstance,
|
|
72
|
+
isCharArray21auq5hbrg68m as isCharArray,
|
|
73
|
+
DoubleCompanionObject_instanceciblawwgcicl as DoubleCompanionObject_instance,
|
|
74
|
+
isDoubleArray1wyh4nyf7pjxn as isDoubleArray,
|
|
75
|
+
FloatCompanionObject_instance3pcatcooqioqk as FloatCompanionObject_instance,
|
|
76
|
+
isFloatArrayjjscnqphw92j as isFloatArray,
|
|
77
|
+
Companion_getInstance2vaobcepcnf7z as Companion_getInstance_0,
|
|
78
|
+
isLongArray2fdt3z7yu3ef as isLongArray,
|
|
79
|
+
Companion_getInstance1mvktysd7mugj as Companion_getInstance_1,
|
|
80
|
+
_ULongArray___get_size__impl__ju6dtr5v7zdjz7p45k as _ULongArray___get_size__impl__ju6dtr,
|
|
81
|
+
ULongArray3nd0d80mdwjj8 as ULongArray,
|
|
82
|
+
ULongArray__get_impl_pr71q92g1kdq5mz2hdv as ULongArray__get_impl_pr71q9,
|
|
83
|
+
_ULong___get_data__impl__fggpzb77rs34yu2akv as _ULong___get_data__impl__fggpzb,
|
|
84
|
+
IntCompanionObject_instance1a9qdfxmssxfv as IntCompanionObject_instance,
|
|
85
|
+
isIntArrayeijsubfngq38 as isIntArray,
|
|
86
|
+
Companion_getInstance13gx1njt9e9uj as Companion_getInstance_2,
|
|
87
|
+
_UIntArray___get_size__impl__r6l8ci3qgksw2fv2zbg as _UIntArray___get_size__impl__r6l8ci,
|
|
88
|
+
UIntArrayrp6cv44n5v4y as UIntArray,
|
|
89
|
+
UIntArray__get_impl_gp5kzae60hwt0gkwo9 as UIntArray__get_impl_gp5kza,
|
|
90
|
+
_UInt___get_data__impl__f0vqqw1wfqgh301wggv as _UInt___get_data__impl__f0vqqw,
|
|
91
|
+
ShortCompanionObject_instance2jwrskkmak9m1 as ShortCompanionObject_instance,
|
|
92
|
+
isShortArraywz30zxwtqi8h as isShortArray,
|
|
93
|
+
Companion_getInstance12z43b8xpc5ug as Companion_getInstance_3,
|
|
94
|
+
_UShortArray___get_size__impl__jqto1b36yuj0vpbb4fa as _UShortArray___get_size__impl__jqto1b,
|
|
95
|
+
UShortArray11avpmknxdgvv as UShortArray,
|
|
96
|
+
UShortArray__get_impl_fnbhmx1y5d8996erjf3 as UShortArray__get_impl_fnbhmx,
|
|
97
|
+
_UShort___get_data__impl__g02453buibbzrpmeid as _UShort___get_data__impl__g0245,
|
|
98
|
+
ByteCompanionObject_instance2n6kdzwwtagd9 as ByteCompanionObject_instance,
|
|
99
|
+
isByteArray4nnzfn1x4o3w as isByteArray,
|
|
100
|
+
Companion_getInstance2ojplvvf2x2v2 as Companion_getInstance_4,
|
|
101
|
+
_UByteArray___get_size__impl__h6pkdv15deqqx7xzfdr as _UByteArray___get_size__impl__h6pkdv,
|
|
102
|
+
UByteArray2qu4d6gwssdf9 as UByteArray,
|
|
103
|
+
UByteArray__get_impl_t5f3hv1encpe8trq9zx as UByteArray__get_impl_t5f3hv,
|
|
104
|
+
_UByte___get_data__impl__jof9qr1jhbnu489etgz as _UByte___get_data__impl__jof9qr,
|
|
105
|
+
BooleanCompanionObject_instance2vl2vvm82he0e as BooleanCompanionObject_instance,
|
|
106
|
+
isBooleanArray35llghle4c6w1 as isBooleanArray,
|
|
107
|
+
Long2qws0ah9gnpki as Long,
|
|
108
|
+
Unitkvevlwgzwiuc as Unit,
|
|
109
|
+
trimIndent1qytc1wvt8suh as trimIndent,
|
|
110
|
+
ULong3f9k7s38t3rfp as ULong,
|
|
111
|
+
UInt1hthisrv6cndi as UInt,
|
|
112
|
+
UShort26xnqty60t7le as UShort,
|
|
113
|
+
UBytep4j7r1t64gz1 as UByte,
|
|
114
|
+
PrimitiveClasses_getInstance2khhb8173vcfl as PrimitiveClasses_getInstance,
|
|
115
|
+
Companion_getInstance1mc3g3aij23my as Companion_getInstance_5,
|
|
116
|
+
Companion_getInstance31zkbd7u6qrr4 as Companion_getInstance_6,
|
|
117
|
+
mapOf1xd03cq9cnmy8 as mapOf,
|
|
118
|
+
get_js1ale1wr4fbvs0 as get_js,
|
|
119
|
+
findAssociatedObject1kb88g16k1goa as findAssociatedObject,
|
|
120
|
+
IndexOutOfBoundsException1qfr429iumro0 as IndexOutOfBoundsException,
|
|
121
|
+
get_indicesc04v40g017hw as get_indices,
|
|
122
|
+
Companion_instance1et3290wko23u as Companion_instance,
|
|
123
|
+
_Result___init__impl__xyqfz8oelep8i0cbta as _Result___init__impl__xyqfz8,
|
|
124
|
+
createFailure8paxfkfa5dc7 as createFailure,
|
|
125
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
126
|
+
//region block: imports
|
|
127
|
+
var imul = Math.imul;
|
|
128
|
+
//endregion
|
|
129
|
+
//region block: pre-declaration
|
|
130
|
+
class SerializationStrategy {}
|
|
131
|
+
class KSerializer {}
|
|
132
|
+
class AbstractPolymorphicSerializer {
|
|
133
|
+
xo(encoder, value) {
|
|
134
|
+
var actualSerializer = findPolymorphicSerializer(this, encoder, value);
|
|
135
|
+
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
136
|
+
var descriptor = this.io();
|
|
137
|
+
var composite = encoder.rq(descriptor);
|
|
138
|
+
// Inline function 'kotlinx.serialization.internal.AbstractPolymorphicSerializer.serialize.<anonymous>' call
|
|
139
|
+
composite.or(this.io(), 0, actualSerializer.io().pp());
|
|
140
|
+
var tmp = this.io();
|
|
141
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
142
|
+
var tmp$ret$0 = isInterface(actualSerializer, SerializationStrategy) ? actualSerializer : THROW_CCE();
|
|
143
|
+
composite.qr(tmp, 1, tmp$ret$0, value);
|
|
144
|
+
composite.sq(descriptor);
|
|
145
|
+
}
|
|
146
|
+
jo(encoder, value) {
|
|
147
|
+
return this.xo(encoder, !(value == null) ? value : THROW_CCE());
|
|
148
|
+
}
|
|
149
|
+
yo(encoder, value) {
|
|
150
|
+
return encoder.ur().yr(this.wo(), value);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
class PolymorphicSerializer extends AbstractPolymorphicSerializer {
|
|
154
|
+
constructor(baseClass) {
|
|
155
|
+
super();
|
|
156
|
+
this.to_1 = baseClass;
|
|
157
|
+
this.uo_1 = emptyList();
|
|
158
|
+
var tmp = this;
|
|
159
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
160
|
+
tmp.vo_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda(this));
|
|
161
|
+
}
|
|
162
|
+
wo() {
|
|
163
|
+
return this.to_1;
|
|
164
|
+
}
|
|
165
|
+
io() {
|
|
166
|
+
var tmp0 = this.vo_1;
|
|
167
|
+
// Inline function 'kotlin.getValue' call
|
|
168
|
+
descriptor$factory();
|
|
169
|
+
return tmp0.s1();
|
|
170
|
+
}
|
|
171
|
+
toString() {
|
|
172
|
+
return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.to_1) + ')';
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
class SealedClassSerializer extends AbstractPolymorphicSerializer {
|
|
176
|
+
io() {
|
|
177
|
+
var tmp0 = this.zo_1;
|
|
178
|
+
// Inline function 'kotlin.getValue' call
|
|
179
|
+
descriptor$factory_0();
|
|
180
|
+
return tmp0.s1();
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
class SerializationException extends IllegalArgumentException {
|
|
184
|
+
static ep() {
|
|
185
|
+
var $this = this.rc();
|
|
186
|
+
init_kotlinx_serialization_SerializationException($this);
|
|
187
|
+
return $this;
|
|
188
|
+
}
|
|
189
|
+
static fp(message) {
|
|
190
|
+
var $this = this.s(message);
|
|
191
|
+
init_kotlinx_serialization_SerializationException($this);
|
|
192
|
+
return $this;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
class SerialDescriptor {}
|
|
196
|
+
function get_isNullable() {
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
function get_isInline() {
|
|
200
|
+
return false;
|
|
201
|
+
}
|
|
202
|
+
function get_annotations() {
|
|
203
|
+
return emptyList();
|
|
204
|
+
}
|
|
205
|
+
class ContextDescriptor {
|
|
206
|
+
constructor(original, kClass) {
|
|
207
|
+
this.mp_1 = original;
|
|
208
|
+
this.np_1 = kClass;
|
|
209
|
+
this.op_1 = this.mp_1.pp() + '<' + this.np_1.ce() + '>';
|
|
210
|
+
}
|
|
211
|
+
pp() {
|
|
212
|
+
return this.op_1;
|
|
213
|
+
}
|
|
214
|
+
equals(other) {
|
|
215
|
+
var tmp0_elvis_lhs = other instanceof ContextDescriptor ? other : null;
|
|
216
|
+
var tmp;
|
|
217
|
+
if (tmp0_elvis_lhs == null) {
|
|
218
|
+
return false;
|
|
219
|
+
} else {
|
|
220
|
+
tmp = tmp0_elvis_lhs;
|
|
221
|
+
}
|
|
222
|
+
var another = tmp;
|
|
223
|
+
return equals(this.mp_1, another.mp_1) && another.np_1.equals(this.np_1);
|
|
224
|
+
}
|
|
225
|
+
hashCode() {
|
|
226
|
+
var result = this.np_1.hashCode();
|
|
227
|
+
result = imul(31, result) + getStringHashCode(this.op_1) | 0;
|
|
228
|
+
return result;
|
|
229
|
+
}
|
|
230
|
+
toString() {
|
|
231
|
+
return 'ContextDescriptor(kClass: ' + toString(this.np_1) + ', original: ' + toString(this.mp_1) + ')';
|
|
232
|
+
}
|
|
233
|
+
qp() {
|
|
234
|
+
return this.mp_1.qp();
|
|
235
|
+
}
|
|
236
|
+
lp() {
|
|
237
|
+
return this.mp_1.lp();
|
|
238
|
+
}
|
|
239
|
+
rp() {
|
|
240
|
+
return this.mp_1.rp();
|
|
241
|
+
}
|
|
242
|
+
sp() {
|
|
243
|
+
return this.mp_1.sp();
|
|
244
|
+
}
|
|
245
|
+
tp() {
|
|
246
|
+
return this.mp_1.tp();
|
|
247
|
+
}
|
|
248
|
+
up(index) {
|
|
249
|
+
return this.mp_1.up(index);
|
|
250
|
+
}
|
|
251
|
+
vp(index) {
|
|
252
|
+
return this.mp_1.vp(index);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
class elementDescriptors$1 {
|
|
256
|
+
constructor($this_elementDescriptors) {
|
|
257
|
+
this.aq_1 = $this_elementDescriptors;
|
|
258
|
+
this.zp_1 = $this_elementDescriptors.sp();
|
|
259
|
+
}
|
|
260
|
+
e1() {
|
|
261
|
+
return this.zp_1 > 0;
|
|
262
|
+
}
|
|
263
|
+
f1() {
|
|
264
|
+
var tmp = this.aq_1.sp();
|
|
265
|
+
var _unary__edvuaz = this.zp_1;
|
|
266
|
+
this.zp_1 = _unary__edvuaz - 1 | 0;
|
|
267
|
+
return this.aq_1.vp(tmp - _unary__edvuaz | 0);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
class elementDescriptors$$inlined$Iterable$1 {
|
|
271
|
+
constructor($this_elementDescriptors) {
|
|
272
|
+
this.bq_1 = $this_elementDescriptors;
|
|
273
|
+
}
|
|
274
|
+
d1() {
|
|
275
|
+
// Inline function 'kotlinx.serialization.descriptors.<get-elementDescriptors>.<anonymous>' call
|
|
276
|
+
return new elementDescriptors$1(this.bq_1);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
class ClassSerialDescriptorBuilder {
|
|
280
|
+
constructor(serialName) {
|
|
281
|
+
this.ko_1 = serialName;
|
|
282
|
+
this.lo_1 = false;
|
|
283
|
+
this.mo_1 = emptyList();
|
|
284
|
+
this.no_1 = ArrayList.n();
|
|
285
|
+
this.oo_1 = HashSet.g9();
|
|
286
|
+
this.po_1 = ArrayList.n();
|
|
287
|
+
this.qo_1 = ArrayList.n();
|
|
288
|
+
this.ro_1 = ArrayList.n();
|
|
289
|
+
}
|
|
290
|
+
cq(elementName, descriptor, annotations, isOptional) {
|
|
291
|
+
// Inline function 'kotlin.require' call
|
|
292
|
+
if (!this.oo_1.o(elementName)) {
|
|
293
|
+
// Inline function 'kotlinx.serialization.descriptors.ClassSerialDescriptorBuilder.element.<anonymous>' call
|
|
294
|
+
var message = "Element with name '" + elementName + "' is already registered in " + this.ko_1;
|
|
295
|
+
throw IllegalArgumentException.s(toString(message));
|
|
296
|
+
}
|
|
297
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
298
|
+
this.no_1.o(elementName);
|
|
299
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
300
|
+
this.po_1.o(descriptor);
|
|
301
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
302
|
+
this.qo_1.o(annotations);
|
|
303
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
304
|
+
this.ro_1.o(isOptional);
|
|
305
|
+
}
|
|
306
|
+
so(elementName, descriptor, annotations, isOptional, $super) {
|
|
307
|
+
annotations = annotations === VOID ? emptyList() : annotations;
|
|
308
|
+
isOptional = isOptional === VOID ? false : isOptional;
|
|
309
|
+
var tmp;
|
|
310
|
+
if ($super === VOID) {
|
|
311
|
+
this.cq(elementName, descriptor, annotations, isOptional);
|
|
312
|
+
tmp = Unit_instance;
|
|
313
|
+
} else {
|
|
314
|
+
tmp = $super.cq.call(this, elementName, descriptor, annotations, isOptional);
|
|
315
|
+
}
|
|
316
|
+
return tmp;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
class CachedNames {}
|
|
320
|
+
class SerialDescriptorImpl {
|
|
321
|
+
constructor(serialName, kind, elementsCount, typeParameters, builder) {
|
|
322
|
+
this.dq_1 = serialName;
|
|
323
|
+
this.eq_1 = kind;
|
|
324
|
+
this.fq_1 = elementsCount;
|
|
325
|
+
this.gq_1 = builder.mo_1;
|
|
326
|
+
this.hq_1 = toHashSet(builder.no_1);
|
|
327
|
+
var tmp = this;
|
|
328
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
329
|
+
var this_0 = builder.no_1;
|
|
330
|
+
tmp.iq_1 = copyToArray(this_0);
|
|
331
|
+
this.jq_1 = compactArray(builder.po_1);
|
|
332
|
+
var tmp_0 = this;
|
|
333
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
334
|
+
var this_1 = builder.qo_1;
|
|
335
|
+
tmp_0.kq_1 = copyToArray(this_1);
|
|
336
|
+
this.lq_1 = toBooleanArray(builder.ro_1);
|
|
337
|
+
var tmp_1 = this;
|
|
338
|
+
// Inline function 'kotlin.collections.map' call
|
|
339
|
+
var this_2 = withIndex(this.iq_1);
|
|
340
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
341
|
+
var destination = ArrayList.k1(collectionSizeOrDefault(this_2, 10));
|
|
342
|
+
var _iterator__ex2g4s = this_2.d1();
|
|
343
|
+
while (_iterator__ex2g4s.e1()) {
|
|
344
|
+
var item = _iterator__ex2g4s.f1();
|
|
345
|
+
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.name2Index.<anonymous>' call
|
|
346
|
+
var tmp$ret$2 = to(item.ri_1, item.qi_1);
|
|
347
|
+
destination.o(tmp$ret$2);
|
|
348
|
+
}
|
|
349
|
+
tmp_1.mq_1 = toMap(destination);
|
|
350
|
+
this.nq_1 = compactArray(typeParameters);
|
|
351
|
+
var tmp_2 = this;
|
|
352
|
+
tmp_2.oq_1 = lazy_0(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
|
|
353
|
+
}
|
|
354
|
+
pp() {
|
|
355
|
+
return this.dq_1;
|
|
356
|
+
}
|
|
357
|
+
qp() {
|
|
358
|
+
return this.eq_1;
|
|
359
|
+
}
|
|
360
|
+
sp() {
|
|
361
|
+
return this.fq_1;
|
|
362
|
+
}
|
|
363
|
+
tp() {
|
|
364
|
+
return this.gq_1;
|
|
365
|
+
}
|
|
366
|
+
pq() {
|
|
367
|
+
return this.hq_1;
|
|
368
|
+
}
|
|
369
|
+
up(index) {
|
|
370
|
+
return getChecked(this.iq_1, index);
|
|
371
|
+
}
|
|
372
|
+
vp(index) {
|
|
373
|
+
return getChecked(this.jq_1, index);
|
|
374
|
+
}
|
|
375
|
+
equals(other) {
|
|
376
|
+
var tmp$ret$0;
|
|
377
|
+
$l$block_5: {
|
|
378
|
+
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
|
|
379
|
+
if (this === other) {
|
|
380
|
+
tmp$ret$0 = true;
|
|
381
|
+
break $l$block_5;
|
|
382
|
+
}
|
|
383
|
+
if (!(other instanceof SerialDescriptorImpl)) {
|
|
384
|
+
tmp$ret$0 = false;
|
|
385
|
+
break $l$block_5;
|
|
386
|
+
}
|
|
387
|
+
if (!(this.pp() === other.pp())) {
|
|
388
|
+
tmp$ret$0 = false;
|
|
389
|
+
break $l$block_5;
|
|
390
|
+
}
|
|
391
|
+
// Inline function 'kotlinx.serialization.descriptors.SerialDescriptorImpl.equals.<anonymous>' call
|
|
392
|
+
if (!contentEquals(this.nq_1, other.nq_1)) {
|
|
393
|
+
tmp$ret$0 = false;
|
|
394
|
+
break $l$block_5;
|
|
395
|
+
}
|
|
396
|
+
if (!(this.sp() === other.sp())) {
|
|
397
|
+
tmp$ret$0 = false;
|
|
398
|
+
break $l$block_5;
|
|
399
|
+
}
|
|
400
|
+
var inductionVariable = 0;
|
|
401
|
+
var last = this.sp();
|
|
402
|
+
if (inductionVariable < last)
|
|
403
|
+
do {
|
|
404
|
+
var index = inductionVariable;
|
|
405
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
406
|
+
if (!(this.vp(index).pp() === other.vp(index).pp())) {
|
|
407
|
+
tmp$ret$0 = false;
|
|
408
|
+
break $l$block_5;
|
|
409
|
+
}
|
|
410
|
+
if (!equals(this.vp(index).qp(), other.vp(index).qp())) {
|
|
411
|
+
tmp$ret$0 = false;
|
|
412
|
+
break $l$block_5;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
while (inductionVariable < last);
|
|
416
|
+
tmp$ret$0 = true;
|
|
417
|
+
}
|
|
418
|
+
return tmp$ret$0;
|
|
419
|
+
}
|
|
420
|
+
hashCode() {
|
|
421
|
+
return _get__hashCode__tgwhef(this);
|
|
422
|
+
}
|
|
423
|
+
toString() {
|
|
424
|
+
var tmp = until(0, this.fq_1);
|
|
425
|
+
var tmp_0 = this.dq_1 + '(';
|
|
426
|
+
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, SerialDescriptorImpl$toString$lambda(this));
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
class SerialKind {
|
|
430
|
+
toString() {
|
|
431
|
+
return ensureNotNull(getKClassFromExpression(this).ce());
|
|
432
|
+
}
|
|
433
|
+
hashCode() {
|
|
434
|
+
return getStringHashCode(this.toString());
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
class ENUM extends SerialKind {
|
|
438
|
+
constructor() {
|
|
439
|
+
ENUM_instance = null;
|
|
440
|
+
super();
|
|
441
|
+
ENUM_instance = this;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
class CONTEXTUAL extends SerialKind {
|
|
445
|
+
constructor() {
|
|
446
|
+
CONTEXTUAL_instance = null;
|
|
447
|
+
super();
|
|
448
|
+
CONTEXTUAL_instance = this;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
class PolymorphicKind extends SerialKind {}
|
|
452
|
+
class OPEN extends PolymorphicKind {
|
|
453
|
+
constructor() {
|
|
454
|
+
OPEN_instance = null;
|
|
455
|
+
super();
|
|
456
|
+
OPEN_instance = this;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
class PrimitiveKind extends SerialKind {}
|
|
460
|
+
class BOOLEAN extends PrimitiveKind {
|
|
461
|
+
constructor() {
|
|
462
|
+
BOOLEAN_instance = null;
|
|
463
|
+
super();
|
|
464
|
+
BOOLEAN_instance = this;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
class BYTE extends PrimitiveKind {
|
|
468
|
+
constructor() {
|
|
469
|
+
BYTE_instance = null;
|
|
470
|
+
super();
|
|
471
|
+
BYTE_instance = this;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
class CHAR extends PrimitiveKind {
|
|
475
|
+
constructor() {
|
|
476
|
+
CHAR_instance = null;
|
|
477
|
+
super();
|
|
478
|
+
CHAR_instance = this;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
class SHORT extends PrimitiveKind {
|
|
482
|
+
constructor() {
|
|
483
|
+
SHORT_instance = null;
|
|
484
|
+
super();
|
|
485
|
+
SHORT_instance = this;
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
class INT extends PrimitiveKind {
|
|
489
|
+
constructor() {
|
|
490
|
+
INT_instance = null;
|
|
491
|
+
super();
|
|
492
|
+
INT_instance = this;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
class LONG extends PrimitiveKind {
|
|
496
|
+
constructor() {
|
|
497
|
+
LONG_instance = null;
|
|
498
|
+
super();
|
|
499
|
+
LONG_instance = this;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
class FLOAT extends PrimitiveKind {
|
|
503
|
+
constructor() {
|
|
504
|
+
FLOAT_instance = null;
|
|
505
|
+
super();
|
|
506
|
+
FLOAT_instance = this;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
class DOUBLE extends PrimitiveKind {
|
|
510
|
+
constructor() {
|
|
511
|
+
DOUBLE_instance = null;
|
|
512
|
+
super();
|
|
513
|
+
DOUBLE_instance = this;
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
class STRING extends PrimitiveKind {
|
|
517
|
+
constructor() {
|
|
518
|
+
STRING_instance = null;
|
|
519
|
+
super();
|
|
520
|
+
STRING_instance = this;
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
class StructureKind extends SerialKind {}
|
|
524
|
+
class CLASS extends StructureKind {
|
|
525
|
+
constructor() {
|
|
526
|
+
CLASS_instance = null;
|
|
527
|
+
super();
|
|
528
|
+
CLASS_instance = this;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
class LIST extends StructureKind {
|
|
532
|
+
constructor() {
|
|
533
|
+
LIST_instance = null;
|
|
534
|
+
super();
|
|
535
|
+
LIST_instance = this;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
class MAP extends StructureKind {
|
|
539
|
+
constructor() {
|
|
540
|
+
MAP_instance = null;
|
|
541
|
+
super();
|
|
542
|
+
MAP_instance = this;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
class OBJECT extends StructureKind {
|
|
546
|
+
constructor() {
|
|
547
|
+
OBJECT_instance = null;
|
|
548
|
+
super();
|
|
549
|
+
OBJECT_instance = this;
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
class Encoder {}
|
|
553
|
+
function encodeNotNullMark() {
|
|
554
|
+
}
|
|
555
|
+
function beginCollection(descriptor, collectionSize) {
|
|
556
|
+
return this.rq(descriptor);
|
|
557
|
+
}
|
|
558
|
+
function encodeSerializableValue(serializer, value) {
|
|
559
|
+
serializer.jo(this, value);
|
|
560
|
+
}
|
|
561
|
+
function encodeNullableSerializableValue(serializer, value) {
|
|
562
|
+
var isNullabilitySupported = serializer.io().lp();
|
|
563
|
+
if (isNullabilitySupported) {
|
|
564
|
+
return this.rr(isInterface(serializer, SerializationStrategy) ? serializer : THROW_CCE(), value);
|
|
565
|
+
}
|
|
566
|
+
if (value == null) {
|
|
567
|
+
this.vq();
|
|
568
|
+
} else {
|
|
569
|
+
this.vr();
|
|
570
|
+
this.rr(serializer, value);
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
class CompositeEncoder {}
|
|
574
|
+
function shouldEncodeElementDefault(descriptor, index) {
|
|
575
|
+
return true;
|
|
576
|
+
}
|
|
577
|
+
class AbstractEncoder {
|
|
578
|
+
static qq() {
|
|
579
|
+
return createThis(this);
|
|
580
|
+
}
|
|
581
|
+
rq(descriptor) {
|
|
582
|
+
return this;
|
|
583
|
+
}
|
|
584
|
+
sq(descriptor) {
|
|
585
|
+
}
|
|
586
|
+
tq(descriptor, index) {
|
|
587
|
+
return true;
|
|
588
|
+
}
|
|
589
|
+
uq(value) {
|
|
590
|
+
throw SerializationException.fp('Non-serializable ' + toString(getKClassFromExpression(value)) + ' is not supported by ' + toString(getKClassFromExpression(this)) + ' encoder');
|
|
591
|
+
}
|
|
592
|
+
vq() {
|
|
593
|
+
throw SerializationException.fp("'null' is not supported by default");
|
|
594
|
+
}
|
|
595
|
+
wq(value) {
|
|
596
|
+
return this.uq(value);
|
|
597
|
+
}
|
|
598
|
+
xq(value) {
|
|
599
|
+
return this.uq(value);
|
|
600
|
+
}
|
|
601
|
+
yq(value) {
|
|
602
|
+
return this.uq(value);
|
|
603
|
+
}
|
|
604
|
+
zq(value) {
|
|
605
|
+
return this.uq(value);
|
|
606
|
+
}
|
|
607
|
+
ar(value) {
|
|
608
|
+
return this.uq(value);
|
|
609
|
+
}
|
|
610
|
+
br(value) {
|
|
611
|
+
return this.uq(value);
|
|
612
|
+
}
|
|
613
|
+
cr(value) {
|
|
614
|
+
return this.uq(value);
|
|
615
|
+
}
|
|
616
|
+
dr(value) {
|
|
617
|
+
return this.uq(new Char(value));
|
|
618
|
+
}
|
|
619
|
+
er(value) {
|
|
620
|
+
return this.uq(value);
|
|
621
|
+
}
|
|
622
|
+
fr(descriptor) {
|
|
623
|
+
return this;
|
|
624
|
+
}
|
|
625
|
+
gr(descriptor, index, value) {
|
|
626
|
+
if (this.tq(descriptor, index)) {
|
|
627
|
+
this.wq(value);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
hr(descriptor, index, value) {
|
|
631
|
+
if (this.tq(descriptor, index)) {
|
|
632
|
+
this.xq(value);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
ir(descriptor, index, value) {
|
|
636
|
+
if (this.tq(descriptor, index)) {
|
|
637
|
+
this.yq(value);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
jr(descriptor, index, value) {
|
|
641
|
+
if (this.tq(descriptor, index)) {
|
|
642
|
+
this.zq(value);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
kr(descriptor, index, value) {
|
|
646
|
+
if (this.tq(descriptor, index)) {
|
|
647
|
+
this.ar(value);
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
lr(descriptor, index, value) {
|
|
651
|
+
if (this.tq(descriptor, index)) {
|
|
652
|
+
this.br(value);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
mr(descriptor, index, value) {
|
|
656
|
+
if (this.tq(descriptor, index)) {
|
|
657
|
+
this.cr(value);
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
nr(descriptor, index, value) {
|
|
661
|
+
if (this.tq(descriptor, index)) {
|
|
662
|
+
this.dr(value);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
or(descriptor, index, value) {
|
|
666
|
+
if (this.tq(descriptor, index)) {
|
|
667
|
+
this.er(value);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
pr(descriptor, index) {
|
|
671
|
+
return this.tq(descriptor, index) ? this.fr(descriptor.vp(index)) : NoOpEncoder_getInstance();
|
|
672
|
+
}
|
|
673
|
+
qr(descriptor, index, serializer, value) {
|
|
674
|
+
if (this.tq(descriptor, index)) {
|
|
675
|
+
this.rr(serializer, value);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
sr(descriptor, index, serializer, value) {
|
|
679
|
+
if (this.tq(descriptor, index)) {
|
|
680
|
+
this.tr(serializer, value);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
class NothingSerializer {
|
|
685
|
+
constructor() {
|
|
686
|
+
NothingSerializer_instance = this;
|
|
687
|
+
this.zr_1 = NothingSerialDescriptor_getInstance();
|
|
688
|
+
}
|
|
689
|
+
io() {
|
|
690
|
+
return this.zr_1;
|
|
691
|
+
}
|
|
692
|
+
as(encoder, value) {
|
|
693
|
+
throw SerializationException.fp("'kotlin.Nothing' cannot be serialized");
|
|
694
|
+
}
|
|
695
|
+
jo(encoder, value) {
|
|
696
|
+
var tmp;
|
|
697
|
+
if (false) {
|
|
698
|
+
tmp = value;
|
|
699
|
+
} else {
|
|
700
|
+
tmp = THROW_CCE();
|
|
701
|
+
}
|
|
702
|
+
return this.as(encoder, tmp);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
class DurationSerializer {
|
|
706
|
+
constructor() {
|
|
707
|
+
DurationSerializer_instance = this;
|
|
708
|
+
this.bs_1 = new PrimitiveSerialDescriptor('kotlin.time.Duration', STRING_getInstance());
|
|
709
|
+
}
|
|
710
|
+
io() {
|
|
711
|
+
return this.bs_1;
|
|
712
|
+
}
|
|
713
|
+
cs(encoder, value) {
|
|
714
|
+
encoder.er(Duration__toIsoString_impl_9h6wsm(value));
|
|
715
|
+
}
|
|
716
|
+
jo(encoder, value) {
|
|
717
|
+
return this.cs(encoder, value instanceof Duration ? value.yl_1 : THROW_CCE());
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
class UuidSerializer {
|
|
721
|
+
constructor() {
|
|
722
|
+
UuidSerializer_instance = this;
|
|
723
|
+
this.ds_1 = new PrimitiveSerialDescriptor('kotlin.uuid.Uuid', STRING_getInstance());
|
|
724
|
+
}
|
|
725
|
+
io() {
|
|
726
|
+
return this.ds_1;
|
|
727
|
+
}
|
|
728
|
+
es(encoder, value) {
|
|
729
|
+
encoder.er(value.toString());
|
|
730
|
+
}
|
|
731
|
+
jo(encoder, value) {
|
|
732
|
+
return this.es(encoder, value instanceof Uuid ? value : THROW_CCE());
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
class ListLikeDescriptor {
|
|
736
|
+
constructor(elementDescriptor) {
|
|
737
|
+
this.hs_1 = elementDescriptor;
|
|
738
|
+
this.is_1 = 1;
|
|
739
|
+
}
|
|
740
|
+
qp() {
|
|
741
|
+
return LIST_getInstance();
|
|
742
|
+
}
|
|
743
|
+
sp() {
|
|
744
|
+
return this.is_1;
|
|
745
|
+
}
|
|
746
|
+
up(index) {
|
|
747
|
+
return index.toString();
|
|
748
|
+
}
|
|
749
|
+
vp(index) {
|
|
750
|
+
// Inline function 'kotlin.require' call
|
|
751
|
+
if (!(index >= 0)) {
|
|
752
|
+
// Inline function 'kotlinx.serialization.internal.ListLikeDescriptor.getElementDescriptor.<anonymous>' call
|
|
753
|
+
var message = 'Illegal index ' + index + ', ' + this.pp() + ' expects only non-negative indices';
|
|
754
|
+
throw IllegalArgumentException.s(toString(message));
|
|
755
|
+
}
|
|
756
|
+
return this.hs_1;
|
|
757
|
+
}
|
|
758
|
+
equals(other) {
|
|
759
|
+
if (this === other)
|
|
760
|
+
return true;
|
|
761
|
+
if (!(other instanceof ListLikeDescriptor))
|
|
762
|
+
return false;
|
|
763
|
+
if (equals(this.hs_1, other.hs_1) && this.pp() === other.pp())
|
|
764
|
+
return true;
|
|
765
|
+
return false;
|
|
766
|
+
}
|
|
767
|
+
hashCode() {
|
|
768
|
+
return imul(hashCode(this.hs_1), 31) + getStringHashCode(this.pp()) | 0;
|
|
769
|
+
}
|
|
770
|
+
toString() {
|
|
771
|
+
return this.pp() + '(' + toString(this.hs_1) + ')';
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
class ArrayListClassDesc extends ListLikeDescriptor {
|
|
775
|
+
pp() {
|
|
776
|
+
return 'kotlin.collections.ArrayList';
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
class HashSetClassDesc extends ListLikeDescriptor {
|
|
780
|
+
pp() {
|
|
781
|
+
return 'kotlin.collections.HashSet';
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
class LinkedHashSetClassDesc extends ListLikeDescriptor {
|
|
785
|
+
pp() {
|
|
786
|
+
return 'kotlin.collections.LinkedHashSet';
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
class MapLikeDescriptor {
|
|
790
|
+
constructor(serialName, keyDescriptor, valueDescriptor) {
|
|
791
|
+
this.ns_1 = serialName;
|
|
792
|
+
this.os_1 = keyDescriptor;
|
|
793
|
+
this.ps_1 = valueDescriptor;
|
|
794
|
+
this.qs_1 = 2;
|
|
795
|
+
}
|
|
796
|
+
pp() {
|
|
797
|
+
return this.ns_1;
|
|
798
|
+
}
|
|
799
|
+
qp() {
|
|
800
|
+
return MAP_getInstance();
|
|
801
|
+
}
|
|
802
|
+
sp() {
|
|
803
|
+
return this.qs_1;
|
|
804
|
+
}
|
|
805
|
+
up(index) {
|
|
806
|
+
return index.toString();
|
|
807
|
+
}
|
|
808
|
+
vp(index) {
|
|
809
|
+
// Inline function 'kotlin.require' call
|
|
810
|
+
if (!(index >= 0)) {
|
|
811
|
+
// Inline function 'kotlinx.serialization.internal.MapLikeDescriptor.getElementDescriptor.<anonymous>' call
|
|
812
|
+
var message = 'Illegal index ' + index + ', ' + this.pp() + ' expects only non-negative indices';
|
|
813
|
+
throw IllegalArgumentException.s(toString(message));
|
|
814
|
+
}
|
|
815
|
+
var tmp;
|
|
816
|
+
switch (index % 2 | 0) {
|
|
817
|
+
case 0:
|
|
818
|
+
tmp = this.os_1;
|
|
819
|
+
break;
|
|
820
|
+
case 1:
|
|
821
|
+
tmp = this.ps_1;
|
|
822
|
+
break;
|
|
823
|
+
default:
|
|
824
|
+
var message_0 = 'Unreached';
|
|
825
|
+
throw IllegalStateException.e4(toString(message_0));
|
|
826
|
+
}
|
|
827
|
+
return tmp;
|
|
828
|
+
}
|
|
829
|
+
equals(other) {
|
|
830
|
+
if (this === other)
|
|
831
|
+
return true;
|
|
832
|
+
if (!(other instanceof MapLikeDescriptor))
|
|
833
|
+
return false;
|
|
834
|
+
if (!(this.pp() === other.pp()))
|
|
835
|
+
return false;
|
|
836
|
+
if (!equals(this.os_1, other.os_1))
|
|
837
|
+
return false;
|
|
838
|
+
if (!equals(this.ps_1, other.ps_1))
|
|
839
|
+
return false;
|
|
840
|
+
return true;
|
|
841
|
+
}
|
|
842
|
+
hashCode() {
|
|
843
|
+
var result = getStringHashCode(this.pp());
|
|
844
|
+
result = imul(31, result) + hashCode(this.os_1) | 0;
|
|
845
|
+
result = imul(31, result) + hashCode(this.ps_1) | 0;
|
|
846
|
+
return result;
|
|
847
|
+
}
|
|
848
|
+
toString() {
|
|
849
|
+
return this.pp() + '(' + toString(this.os_1) + ', ' + toString(this.ps_1) + ')';
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
class HashMapClassDesc extends MapLikeDescriptor {
|
|
853
|
+
constructor(keyDesc, valueDesc) {
|
|
854
|
+
super('kotlin.collections.HashMap', keyDesc, valueDesc);
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
class LinkedHashMapClassDesc extends MapLikeDescriptor {
|
|
858
|
+
constructor(keyDesc, valueDesc) {
|
|
859
|
+
super('kotlin.collections.LinkedHashMap', keyDesc, valueDesc);
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
class ArrayClassDesc extends ListLikeDescriptor {
|
|
863
|
+
pp() {
|
|
864
|
+
return 'kotlin.Array';
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
class PrimitiveArrayDescriptor extends ListLikeDescriptor {
|
|
868
|
+
constructor(primitive) {
|
|
869
|
+
super(primitive);
|
|
870
|
+
this.vs_1 = primitive.pp() + 'Array';
|
|
871
|
+
}
|
|
872
|
+
pp() {
|
|
873
|
+
return this.vs_1;
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
class AbstractCollectionSerializer {}
|
|
877
|
+
class CollectionLikeSerializer extends AbstractCollectionSerializer {
|
|
878
|
+
constructor(elementSerializer) {
|
|
879
|
+
super();
|
|
880
|
+
this.bt_1 = elementSerializer;
|
|
881
|
+
}
|
|
882
|
+
ct(encoder, value) {
|
|
883
|
+
var size = this.lt(value);
|
|
884
|
+
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
885
|
+
var descriptor = this.io();
|
|
886
|
+
var composite = encoder.wr(descriptor, size);
|
|
887
|
+
// Inline function 'kotlinx.serialization.internal.CollectionLikeSerializer.serialize.<anonymous>' call
|
|
888
|
+
var iterator = this.nt(value);
|
|
889
|
+
var inductionVariable = 0;
|
|
890
|
+
if (inductionVariable < size)
|
|
891
|
+
do {
|
|
892
|
+
var index = inductionVariable;
|
|
893
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
894
|
+
composite.qr(this.io(), index, this.bt_1, iterator.f1());
|
|
895
|
+
}
|
|
896
|
+
while (inductionVariable < size);
|
|
897
|
+
composite.sq(descriptor);
|
|
898
|
+
}
|
|
899
|
+
jo(encoder, value) {
|
|
900
|
+
return this.ct(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
class CollectionSerializer extends CollectionLikeSerializer {
|
|
904
|
+
zs(_this__u8e3s4) {
|
|
905
|
+
return _this__u8e3s4.i1();
|
|
906
|
+
}
|
|
907
|
+
lt(_this__u8e3s4) {
|
|
908
|
+
return this.zs((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
909
|
+
}
|
|
910
|
+
at(_this__u8e3s4) {
|
|
911
|
+
return _this__u8e3s4.d1();
|
|
912
|
+
}
|
|
913
|
+
nt(_this__u8e3s4) {
|
|
914
|
+
return this.at((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Collection) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
class ArrayListSerializer extends CollectionSerializer {
|
|
918
|
+
constructor(element) {
|
|
919
|
+
super(element);
|
|
920
|
+
this.xs_1 = new ArrayListClassDesc(element.io());
|
|
921
|
+
}
|
|
922
|
+
io() {
|
|
923
|
+
return this.xs_1;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
class HashSetSerializer extends CollectionSerializer {
|
|
927
|
+
constructor(eSerializer) {
|
|
928
|
+
super(eSerializer);
|
|
929
|
+
this.et_1 = new HashSetClassDesc(eSerializer.io());
|
|
930
|
+
}
|
|
931
|
+
io() {
|
|
932
|
+
return this.et_1;
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
class LinkedHashSetSerializer extends CollectionSerializer {
|
|
936
|
+
constructor(eSerializer) {
|
|
937
|
+
super(eSerializer);
|
|
938
|
+
this.gt_1 = new LinkedHashSetClassDesc(eSerializer.io());
|
|
939
|
+
}
|
|
940
|
+
io() {
|
|
941
|
+
return this.gt_1;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
class MapLikeSerializer extends AbstractCollectionSerializer {
|
|
945
|
+
constructor(keySerializer, valueSerializer) {
|
|
946
|
+
super();
|
|
947
|
+
this.ot_1 = keySerializer;
|
|
948
|
+
this.pt_1 = valueSerializer;
|
|
949
|
+
}
|
|
950
|
+
ct(encoder, value) {
|
|
951
|
+
var size = this.lt(value);
|
|
952
|
+
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
953
|
+
var descriptor = this.io();
|
|
954
|
+
var composite = encoder.wr(descriptor, size);
|
|
955
|
+
// Inline function 'kotlinx.serialization.internal.MapLikeSerializer.serialize.<anonymous>' call
|
|
956
|
+
var iterator = this.nt(value);
|
|
957
|
+
var index = 0;
|
|
958
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
959
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
960
|
+
var _iterator__ex2g4s = iterator;
|
|
961
|
+
while (_iterator__ex2g4s.e1()) {
|
|
962
|
+
var element = _iterator__ex2g4s.f1();
|
|
963
|
+
// Inline function 'kotlinx.serialization.internal.MapLikeSerializer.serialize.<anonymous>.<anonymous>' call
|
|
964
|
+
// Inline function 'kotlin.collections.component1' call
|
|
965
|
+
var k = element.r1();
|
|
966
|
+
// Inline function 'kotlin.collections.component2' call
|
|
967
|
+
var v = element.s1();
|
|
968
|
+
var tmp = this.io();
|
|
969
|
+
var _unary__edvuaz = index;
|
|
970
|
+
index = _unary__edvuaz + 1 | 0;
|
|
971
|
+
composite.qr(tmp, _unary__edvuaz, this.ot_1, k);
|
|
972
|
+
var tmp_0 = this.io();
|
|
973
|
+
var _unary__edvuaz_0 = index;
|
|
974
|
+
index = _unary__edvuaz_0 + 1 | 0;
|
|
975
|
+
composite.qr(tmp_0, _unary__edvuaz_0, this.pt_1, v);
|
|
976
|
+
}
|
|
977
|
+
composite.sq(descriptor);
|
|
978
|
+
}
|
|
979
|
+
jo(encoder, value) {
|
|
980
|
+
return this.ct(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
class HashMapSerializer extends MapLikeSerializer {
|
|
984
|
+
constructor(kSerializer, vSerializer) {
|
|
985
|
+
super(kSerializer, vSerializer);
|
|
986
|
+
this.jt_1 = new HashMapClassDesc(kSerializer.io(), vSerializer.io());
|
|
987
|
+
}
|
|
988
|
+
io() {
|
|
989
|
+
return this.jt_1;
|
|
990
|
+
}
|
|
991
|
+
kt(_this__u8e3s4) {
|
|
992
|
+
return _this__u8e3s4.i1();
|
|
993
|
+
}
|
|
994
|
+
lt(_this__u8e3s4) {
|
|
995
|
+
return this.kt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
996
|
+
}
|
|
997
|
+
mt(_this__u8e3s4) {
|
|
998
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
999
|
+
return _this__u8e3s4.q1().d1();
|
|
1000
|
+
}
|
|
1001
|
+
nt(_this__u8e3s4) {
|
|
1002
|
+
return this.mt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
class LinkedHashMapSerializer extends MapLikeSerializer {
|
|
1006
|
+
constructor(kSerializer, vSerializer) {
|
|
1007
|
+
super(kSerializer, vSerializer);
|
|
1008
|
+
this.st_1 = new LinkedHashMapClassDesc(kSerializer.io(), vSerializer.io());
|
|
1009
|
+
}
|
|
1010
|
+
io() {
|
|
1011
|
+
return this.st_1;
|
|
1012
|
+
}
|
|
1013
|
+
kt(_this__u8e3s4) {
|
|
1014
|
+
return _this__u8e3s4.i1();
|
|
1015
|
+
}
|
|
1016
|
+
lt(_this__u8e3s4) {
|
|
1017
|
+
return this.kt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1018
|
+
}
|
|
1019
|
+
mt(_this__u8e3s4) {
|
|
1020
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
1021
|
+
return _this__u8e3s4.q1().d1();
|
|
1022
|
+
}
|
|
1023
|
+
nt(_this__u8e3s4) {
|
|
1024
|
+
return this.mt((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, KtMap) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
class ReferenceArraySerializer extends CollectionLikeSerializer {
|
|
1028
|
+
constructor(kClass, eSerializer) {
|
|
1029
|
+
super(eSerializer);
|
|
1030
|
+
this.ut_1 = kClass;
|
|
1031
|
+
this.vt_1 = new ArrayClassDesc(eSerializer.io());
|
|
1032
|
+
}
|
|
1033
|
+
io() {
|
|
1034
|
+
return this.vt_1;
|
|
1035
|
+
}
|
|
1036
|
+
wt(_this__u8e3s4) {
|
|
1037
|
+
return _this__u8e3s4.length;
|
|
1038
|
+
}
|
|
1039
|
+
lt(_this__u8e3s4) {
|
|
1040
|
+
return this.wt((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1041
|
+
}
|
|
1042
|
+
xt(_this__u8e3s4) {
|
|
1043
|
+
return arrayIterator(_this__u8e3s4);
|
|
1044
|
+
}
|
|
1045
|
+
nt(_this__u8e3s4) {
|
|
1046
|
+
return this.xt((!(_this__u8e3s4 == null) ? isArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
class PrimitiveArraySerializer extends CollectionLikeSerializer {
|
|
1050
|
+
constructor(primitiveSerializer) {
|
|
1051
|
+
super(primitiveSerializer);
|
|
1052
|
+
this.zt_1 = new PrimitiveArrayDescriptor(primitiveSerializer.io());
|
|
1053
|
+
}
|
|
1054
|
+
io() {
|
|
1055
|
+
return this.zt_1;
|
|
1056
|
+
}
|
|
1057
|
+
au(_this__u8e3s4) {
|
|
1058
|
+
var message = 'This method lead to boxing and must not be used, use writeContents instead';
|
|
1059
|
+
throw IllegalStateException.e4(toString(message));
|
|
1060
|
+
}
|
|
1061
|
+
nt(_this__u8e3s4) {
|
|
1062
|
+
return this.au((_this__u8e3s4 == null ? true : !(_this__u8e3s4 == null)) ? _this__u8e3s4 : THROW_CCE());
|
|
1063
|
+
}
|
|
1064
|
+
cu(encoder, value) {
|
|
1065
|
+
var size = this.lt(value);
|
|
1066
|
+
// Inline function 'kotlinx.serialization.encoding.encodeCollection' call
|
|
1067
|
+
var descriptor = this.zt_1;
|
|
1068
|
+
var composite = encoder.wr(descriptor, size);
|
|
1069
|
+
// Inline function 'kotlinx.serialization.internal.PrimitiveArraySerializer.serialize.<anonymous>' call
|
|
1070
|
+
this.bu(composite, value, size);
|
|
1071
|
+
composite.sq(descriptor);
|
|
1072
|
+
}
|
|
1073
|
+
jo(encoder, value) {
|
|
1074
|
+
return this.cu(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1075
|
+
}
|
|
1076
|
+
ct(encoder, value) {
|
|
1077
|
+
return this.cu(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
class PluginGeneratedSerialDescriptor {
|
|
1081
|
+
constructor(serialName, generatedSerializer, elementsCount) {
|
|
1082
|
+
generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
|
|
1083
|
+
this.qu_1 = serialName;
|
|
1084
|
+
this.ru_1 = generatedSerializer;
|
|
1085
|
+
this.su_1 = elementsCount;
|
|
1086
|
+
this.tu_1 = -1;
|
|
1087
|
+
var tmp = this;
|
|
1088
|
+
var tmp_0 = 0;
|
|
1089
|
+
var tmp_1 = this.su_1;
|
|
1090
|
+
// Inline function 'kotlin.arrayOfNulls' call
|
|
1091
|
+
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
1092
|
+
while (tmp_0 < tmp_1) {
|
|
1093
|
+
tmp_2[tmp_0] = '[UNINITIALIZED]';
|
|
1094
|
+
tmp_0 = tmp_0 + 1 | 0;
|
|
1095
|
+
}
|
|
1096
|
+
tmp.uu_1 = tmp_2;
|
|
1097
|
+
var tmp_3 = this;
|
|
1098
|
+
// Inline function 'kotlin.arrayOfNulls' call
|
|
1099
|
+
var size = this.su_1;
|
|
1100
|
+
tmp_3.vu_1 = fillArrayVal(Array(size), null);
|
|
1101
|
+
this.wu_1 = null;
|
|
1102
|
+
this.xu_1 = booleanArray(this.su_1);
|
|
1103
|
+
this.yu_1 = emptyMap();
|
|
1104
|
+
var tmp_4 = this;
|
|
1105
|
+
var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1106
|
+
tmp_4.zu_1 = lazy(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
|
|
1107
|
+
var tmp_6 = this;
|
|
1108
|
+
var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1109
|
+
tmp_6.av_1 = lazy(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
|
|
1110
|
+
var tmp_8 = this;
|
|
1111
|
+
var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1112
|
+
tmp_8.bv_1 = lazy(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
|
|
1113
|
+
}
|
|
1114
|
+
pp() {
|
|
1115
|
+
return this.qu_1;
|
|
1116
|
+
}
|
|
1117
|
+
sp() {
|
|
1118
|
+
return this.su_1;
|
|
1119
|
+
}
|
|
1120
|
+
qp() {
|
|
1121
|
+
return CLASS_getInstance();
|
|
1122
|
+
}
|
|
1123
|
+
tp() {
|
|
1124
|
+
var tmp0_elvis_lhs = this.wu_1;
|
|
1125
|
+
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1126
|
+
}
|
|
1127
|
+
pq() {
|
|
1128
|
+
return this.yu_1.q2();
|
|
1129
|
+
}
|
|
1130
|
+
cv() {
|
|
1131
|
+
var tmp0 = this.av_1;
|
|
1132
|
+
// Inline function 'kotlin.getValue' call
|
|
1133
|
+
typeParameterDescriptors$factory();
|
|
1134
|
+
return tmp0.s1();
|
|
1135
|
+
}
|
|
1136
|
+
dv(name, isOptional) {
|
|
1137
|
+
this.tu_1 = this.tu_1 + 1 | 0;
|
|
1138
|
+
this.uu_1[this.tu_1] = name;
|
|
1139
|
+
this.xu_1[this.tu_1] = isOptional;
|
|
1140
|
+
this.vu_1[this.tu_1] = null;
|
|
1141
|
+
if (this.tu_1 === (this.su_1 - 1 | 0)) {
|
|
1142
|
+
this.yu_1 = buildIndices(this);
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
vp(index) {
|
|
1146
|
+
return getChecked(_get_childSerializers__7vnyfa(this), index).io();
|
|
1147
|
+
}
|
|
1148
|
+
up(index) {
|
|
1149
|
+
return getChecked(this.uu_1, index);
|
|
1150
|
+
}
|
|
1151
|
+
equals(other) {
|
|
1152
|
+
var tmp$ret$0;
|
|
1153
|
+
$l$block_5: {
|
|
1154
|
+
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
|
|
1155
|
+
if (this === other) {
|
|
1156
|
+
tmp$ret$0 = true;
|
|
1157
|
+
break $l$block_5;
|
|
1158
|
+
}
|
|
1159
|
+
if (!(other instanceof PluginGeneratedSerialDescriptor)) {
|
|
1160
|
+
tmp$ret$0 = false;
|
|
1161
|
+
break $l$block_5;
|
|
1162
|
+
}
|
|
1163
|
+
if (!(this.pp() === other.pp())) {
|
|
1164
|
+
tmp$ret$0 = false;
|
|
1165
|
+
break $l$block_5;
|
|
1166
|
+
}
|
|
1167
|
+
// Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.equals.<anonymous>' call
|
|
1168
|
+
if (!contentEquals(this.cv(), other.cv())) {
|
|
1169
|
+
tmp$ret$0 = false;
|
|
1170
|
+
break $l$block_5;
|
|
1171
|
+
}
|
|
1172
|
+
if (!(this.sp() === other.sp())) {
|
|
1173
|
+
tmp$ret$0 = false;
|
|
1174
|
+
break $l$block_5;
|
|
1175
|
+
}
|
|
1176
|
+
var inductionVariable = 0;
|
|
1177
|
+
var last = this.sp();
|
|
1178
|
+
if (inductionVariable < last)
|
|
1179
|
+
do {
|
|
1180
|
+
var index = inductionVariable;
|
|
1181
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1182
|
+
if (!(this.vp(index).pp() === other.vp(index).pp())) {
|
|
1183
|
+
tmp$ret$0 = false;
|
|
1184
|
+
break $l$block_5;
|
|
1185
|
+
}
|
|
1186
|
+
if (!equals(this.vp(index).qp(), other.vp(index).qp())) {
|
|
1187
|
+
tmp$ret$0 = false;
|
|
1188
|
+
break $l$block_5;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
while (inductionVariable < last);
|
|
1192
|
+
tmp$ret$0 = true;
|
|
1193
|
+
}
|
|
1194
|
+
return tmp$ret$0;
|
|
1195
|
+
}
|
|
1196
|
+
hashCode() {
|
|
1197
|
+
return _get__hashCode__tgwhef_0(this);
|
|
1198
|
+
}
|
|
1199
|
+
toString() {
|
|
1200
|
+
var tmp = until(0, this.su_1);
|
|
1201
|
+
var tmp_0 = this.pp() + '(';
|
|
1202
|
+
return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, PluginGeneratedSerialDescriptor$toString$lambda(this));
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
class InlineClassDescriptor extends PluginGeneratedSerialDescriptor {
|
|
1206
|
+
constructor(name, generatedSerializer) {
|
|
1207
|
+
super(name, generatedSerializer, 1);
|
|
1208
|
+
this.pu_1 = true;
|
|
1209
|
+
}
|
|
1210
|
+
rp() {
|
|
1211
|
+
return this.pu_1;
|
|
1212
|
+
}
|
|
1213
|
+
hashCode() {
|
|
1214
|
+
return imul(super.hashCode(), 31);
|
|
1215
|
+
}
|
|
1216
|
+
equals(other) {
|
|
1217
|
+
var tmp$ret$0;
|
|
1218
|
+
$l$block_5: {
|
|
1219
|
+
// Inline function 'kotlinx.serialization.internal.equalsImpl' call
|
|
1220
|
+
if (this === other) {
|
|
1221
|
+
tmp$ret$0 = true;
|
|
1222
|
+
break $l$block_5;
|
|
1223
|
+
}
|
|
1224
|
+
if (!(other instanceof InlineClassDescriptor)) {
|
|
1225
|
+
tmp$ret$0 = false;
|
|
1226
|
+
break $l$block_5;
|
|
1227
|
+
}
|
|
1228
|
+
if (!(this.pp() === other.pp())) {
|
|
1229
|
+
tmp$ret$0 = false;
|
|
1230
|
+
break $l$block_5;
|
|
1231
|
+
}
|
|
1232
|
+
// Inline function 'kotlinx.serialization.internal.InlineClassDescriptor.equals.<anonymous>' call
|
|
1233
|
+
if (!(other.pu_1 && contentEquals(this.cv(), other.cv()))) {
|
|
1234
|
+
tmp$ret$0 = false;
|
|
1235
|
+
break $l$block_5;
|
|
1236
|
+
}
|
|
1237
|
+
if (!(this.sp() === other.sp())) {
|
|
1238
|
+
tmp$ret$0 = false;
|
|
1239
|
+
break $l$block_5;
|
|
1240
|
+
}
|
|
1241
|
+
var inductionVariable = 0;
|
|
1242
|
+
var last = this.sp();
|
|
1243
|
+
if (inductionVariable < last)
|
|
1244
|
+
do {
|
|
1245
|
+
var index = inductionVariable;
|
|
1246
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1247
|
+
if (!(this.vp(index).pp() === other.vp(index).pp())) {
|
|
1248
|
+
tmp$ret$0 = false;
|
|
1249
|
+
break $l$block_5;
|
|
1250
|
+
}
|
|
1251
|
+
if (!equals(this.vp(index).qp(), other.vp(index).qp())) {
|
|
1252
|
+
tmp$ret$0 = false;
|
|
1253
|
+
break $l$block_5;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
while (inductionVariable < last);
|
|
1257
|
+
tmp$ret$0 = true;
|
|
1258
|
+
}
|
|
1259
|
+
return tmp$ret$0;
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
class GeneratedSerializer {}
|
|
1263
|
+
function typeParametersSerializers() {
|
|
1264
|
+
return get_EMPTY_SERIALIZER_ARRAY();
|
|
1265
|
+
}
|
|
1266
|
+
class InlinePrimitiveDescriptor$1 {
|
|
1267
|
+
constructor($primitiveSerializer) {
|
|
1268
|
+
this.ev_1 = $primitiveSerializer;
|
|
1269
|
+
}
|
|
1270
|
+
fv() {
|
|
1271
|
+
// Inline function 'kotlin.arrayOf' call
|
|
1272
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1273
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1274
|
+
return [this.ev_1];
|
|
1275
|
+
}
|
|
1276
|
+
io() {
|
|
1277
|
+
var message = 'unsupported';
|
|
1278
|
+
throw IllegalStateException.e4(toString(message));
|
|
1279
|
+
}
|
|
1280
|
+
jo(encoder, value) {
|
|
1281
|
+
// Inline function 'kotlin.error' call
|
|
1282
|
+
var message = 'unsupported';
|
|
1283
|
+
throw IllegalStateException.e4(toString(message));
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
class NoOpEncoder extends AbstractEncoder {
|
|
1287
|
+
static iv() {
|
|
1288
|
+
NoOpEncoder_instance = null;
|
|
1289
|
+
var $this = this.qq();
|
|
1290
|
+
NoOpEncoder_instance = $this;
|
|
1291
|
+
$this.hv_1 = EmptySerializersModule_0();
|
|
1292
|
+
return $this;
|
|
1293
|
+
}
|
|
1294
|
+
ur() {
|
|
1295
|
+
return this.hv_1;
|
|
1296
|
+
}
|
|
1297
|
+
uq(value) {
|
|
1298
|
+
return Unit_instance;
|
|
1299
|
+
}
|
|
1300
|
+
vq() {
|
|
1301
|
+
return Unit_instance;
|
|
1302
|
+
}
|
|
1303
|
+
wq(value) {
|
|
1304
|
+
return Unit_instance;
|
|
1305
|
+
}
|
|
1306
|
+
xq(value) {
|
|
1307
|
+
return Unit_instance;
|
|
1308
|
+
}
|
|
1309
|
+
yq(value) {
|
|
1310
|
+
return Unit_instance;
|
|
1311
|
+
}
|
|
1312
|
+
zq(value) {
|
|
1313
|
+
return Unit_instance;
|
|
1314
|
+
}
|
|
1315
|
+
ar(value) {
|
|
1316
|
+
return Unit_instance;
|
|
1317
|
+
}
|
|
1318
|
+
br(value) {
|
|
1319
|
+
return Unit_instance;
|
|
1320
|
+
}
|
|
1321
|
+
cr(value) {
|
|
1322
|
+
return Unit_instance;
|
|
1323
|
+
}
|
|
1324
|
+
dr(value) {
|
|
1325
|
+
return Unit_instance;
|
|
1326
|
+
}
|
|
1327
|
+
er(value) {
|
|
1328
|
+
return Unit_instance;
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
class NothingSerialDescriptor {
|
|
1332
|
+
constructor() {
|
|
1333
|
+
NothingSerialDescriptor_instance = this;
|
|
1334
|
+
this.jv_1 = OBJECT_getInstance();
|
|
1335
|
+
this.kv_1 = 'kotlin.Nothing';
|
|
1336
|
+
}
|
|
1337
|
+
qp() {
|
|
1338
|
+
return this.jv_1;
|
|
1339
|
+
}
|
|
1340
|
+
pp() {
|
|
1341
|
+
return this.kv_1;
|
|
1342
|
+
}
|
|
1343
|
+
sp() {
|
|
1344
|
+
return 0;
|
|
1345
|
+
}
|
|
1346
|
+
up(index) {
|
|
1347
|
+
error(this);
|
|
1348
|
+
}
|
|
1349
|
+
vp(index) {
|
|
1350
|
+
error(this);
|
|
1351
|
+
}
|
|
1352
|
+
toString() {
|
|
1353
|
+
return 'NothingSerialDescriptor';
|
|
1354
|
+
}
|
|
1355
|
+
equals(other) {
|
|
1356
|
+
return this === other;
|
|
1357
|
+
}
|
|
1358
|
+
hashCode() {
|
|
1359
|
+
return getStringHashCode(this.kv_1) + imul(31, this.jv_1.hashCode()) | 0;
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
class NullableSerializer {
|
|
1363
|
+
constructor(serializer) {
|
|
1364
|
+
this.lv_1 = serializer;
|
|
1365
|
+
this.mv_1 = new SerialDescriptorForNullable(this.lv_1.io());
|
|
1366
|
+
}
|
|
1367
|
+
io() {
|
|
1368
|
+
return this.mv_1;
|
|
1369
|
+
}
|
|
1370
|
+
nv(encoder, value) {
|
|
1371
|
+
if (!(value == null)) {
|
|
1372
|
+
encoder.vr();
|
|
1373
|
+
encoder.rr(this.lv_1, value);
|
|
1374
|
+
} else {
|
|
1375
|
+
encoder.vq();
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
jo(encoder, value) {
|
|
1379
|
+
return this.nv(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1380
|
+
}
|
|
1381
|
+
equals(other) {
|
|
1382
|
+
if (this === other)
|
|
1383
|
+
return true;
|
|
1384
|
+
if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
|
|
1385
|
+
return false;
|
|
1386
|
+
if (!(other instanceof NullableSerializer))
|
|
1387
|
+
THROW_CCE();
|
|
1388
|
+
if (!equals(this.lv_1, other.lv_1))
|
|
1389
|
+
return false;
|
|
1390
|
+
return true;
|
|
1391
|
+
}
|
|
1392
|
+
hashCode() {
|
|
1393
|
+
return hashCode(this.lv_1);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
class SerialDescriptorForNullable {
|
|
1397
|
+
constructor(original) {
|
|
1398
|
+
this.wp_1 = original;
|
|
1399
|
+
this.xp_1 = this.wp_1.pp() + '?';
|
|
1400
|
+
this.yp_1 = cachedSerialNames(this.wp_1);
|
|
1401
|
+
}
|
|
1402
|
+
pp() {
|
|
1403
|
+
return this.xp_1;
|
|
1404
|
+
}
|
|
1405
|
+
pq() {
|
|
1406
|
+
return this.yp_1;
|
|
1407
|
+
}
|
|
1408
|
+
lp() {
|
|
1409
|
+
return true;
|
|
1410
|
+
}
|
|
1411
|
+
equals(other) {
|
|
1412
|
+
if (this === other)
|
|
1413
|
+
return true;
|
|
1414
|
+
if (!(other instanceof SerialDescriptorForNullable))
|
|
1415
|
+
return false;
|
|
1416
|
+
if (!equals(this.wp_1, other.wp_1))
|
|
1417
|
+
return false;
|
|
1418
|
+
return true;
|
|
1419
|
+
}
|
|
1420
|
+
toString() {
|
|
1421
|
+
return toString(this.wp_1) + '?';
|
|
1422
|
+
}
|
|
1423
|
+
hashCode() {
|
|
1424
|
+
return imul(hashCode(this.wp_1), 31);
|
|
1425
|
+
}
|
|
1426
|
+
qp() {
|
|
1427
|
+
return this.wp_1.qp();
|
|
1428
|
+
}
|
|
1429
|
+
rp() {
|
|
1430
|
+
return this.wp_1.rp();
|
|
1431
|
+
}
|
|
1432
|
+
sp() {
|
|
1433
|
+
return this.wp_1.sp();
|
|
1434
|
+
}
|
|
1435
|
+
tp() {
|
|
1436
|
+
return this.wp_1.tp();
|
|
1437
|
+
}
|
|
1438
|
+
up(index) {
|
|
1439
|
+
return this.wp_1.up(index);
|
|
1440
|
+
}
|
|
1441
|
+
vp(index) {
|
|
1442
|
+
return this.wp_1.vp(index);
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
class ObjectSerializer {
|
|
1446
|
+
constructor(serialName, objectInstance) {
|
|
1447
|
+
this.ov_1 = objectInstance;
|
|
1448
|
+
this.pv_1 = emptyList();
|
|
1449
|
+
var tmp = this;
|
|
1450
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1451
|
+
tmp.qv_1 = lazy(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
|
|
1452
|
+
}
|
|
1453
|
+
io() {
|
|
1454
|
+
var tmp0 = this.qv_1;
|
|
1455
|
+
// Inline function 'kotlin.getValue' call
|
|
1456
|
+
descriptor$factory_1();
|
|
1457
|
+
return tmp0.s1();
|
|
1458
|
+
}
|
|
1459
|
+
xo(encoder, value) {
|
|
1460
|
+
encoder.rq(this.io()).sq(this.io());
|
|
1461
|
+
}
|
|
1462
|
+
jo(encoder, value) {
|
|
1463
|
+
return this.xo(encoder, !(value == null) ? value : THROW_CCE());
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
class SerializerFactory {}
|
|
1467
|
+
class CharArraySerializer extends PrimitiveArraySerializer {
|
|
1468
|
+
constructor() {
|
|
1469
|
+
CharArraySerializer_instance = null;
|
|
1470
|
+
super(serializer_1(Companion_getInstance()));
|
|
1471
|
+
CharArraySerializer_instance = this;
|
|
1472
|
+
}
|
|
1473
|
+
uv(_this__u8e3s4) {
|
|
1474
|
+
return _this__u8e3s4.length;
|
|
1475
|
+
}
|
|
1476
|
+
lt(_this__u8e3s4) {
|
|
1477
|
+
return this.uv((!(_this__u8e3s4 == null) ? isCharArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1478
|
+
}
|
|
1479
|
+
vv(encoder, content, size) {
|
|
1480
|
+
var inductionVariable = 0;
|
|
1481
|
+
if (inductionVariable < size)
|
|
1482
|
+
do {
|
|
1483
|
+
var i = inductionVariable;
|
|
1484
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1485
|
+
encoder.nr(this.zt_1, i, content[i]);
|
|
1486
|
+
}
|
|
1487
|
+
while (inductionVariable < size);
|
|
1488
|
+
}
|
|
1489
|
+
bu(encoder, content, size) {
|
|
1490
|
+
return this.vv(encoder, (!(content == null) ? isCharArray(content) : false) ? content : THROW_CCE(), size);
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
class DoubleArraySerializer extends PrimitiveArraySerializer {
|
|
1494
|
+
constructor() {
|
|
1495
|
+
DoubleArraySerializer_instance = null;
|
|
1496
|
+
super(serializer_2(DoubleCompanionObject_instance));
|
|
1497
|
+
DoubleArraySerializer_instance = this;
|
|
1498
|
+
}
|
|
1499
|
+
yv(_this__u8e3s4) {
|
|
1500
|
+
return _this__u8e3s4.length;
|
|
1501
|
+
}
|
|
1502
|
+
lt(_this__u8e3s4) {
|
|
1503
|
+
return this.yv((!(_this__u8e3s4 == null) ? isDoubleArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1504
|
+
}
|
|
1505
|
+
zv(encoder, content, size) {
|
|
1506
|
+
var inductionVariable = 0;
|
|
1507
|
+
if (inductionVariable < size)
|
|
1508
|
+
do {
|
|
1509
|
+
var i = inductionVariable;
|
|
1510
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1511
|
+
encoder.mr(this.zt_1, i, content[i]);
|
|
1512
|
+
}
|
|
1513
|
+
while (inductionVariable < size);
|
|
1514
|
+
}
|
|
1515
|
+
bu(encoder, content, size) {
|
|
1516
|
+
return this.zv(encoder, (!(content == null) ? isDoubleArray(content) : false) ? content : THROW_CCE(), size);
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
class FloatArraySerializer extends PrimitiveArraySerializer {
|
|
1520
|
+
constructor() {
|
|
1521
|
+
FloatArraySerializer_instance = null;
|
|
1522
|
+
super(serializer_3(FloatCompanionObject_instance));
|
|
1523
|
+
FloatArraySerializer_instance = this;
|
|
1524
|
+
}
|
|
1525
|
+
cw(_this__u8e3s4) {
|
|
1526
|
+
return _this__u8e3s4.length;
|
|
1527
|
+
}
|
|
1528
|
+
lt(_this__u8e3s4) {
|
|
1529
|
+
return this.cw((!(_this__u8e3s4 == null) ? isFloatArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1530
|
+
}
|
|
1531
|
+
dw(encoder, content, size) {
|
|
1532
|
+
var inductionVariable = 0;
|
|
1533
|
+
if (inductionVariable < size)
|
|
1534
|
+
do {
|
|
1535
|
+
var i = inductionVariable;
|
|
1536
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1537
|
+
encoder.lr(this.zt_1, i, content[i]);
|
|
1538
|
+
}
|
|
1539
|
+
while (inductionVariable < size);
|
|
1540
|
+
}
|
|
1541
|
+
bu(encoder, content, size) {
|
|
1542
|
+
return this.dw(encoder, (!(content == null) ? isFloatArray(content) : false) ? content : THROW_CCE(), size);
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
class LongArraySerializer extends PrimitiveArraySerializer {
|
|
1546
|
+
constructor() {
|
|
1547
|
+
LongArraySerializer_instance = null;
|
|
1548
|
+
super(serializer_4(Companion_getInstance_0()));
|
|
1549
|
+
LongArraySerializer_instance = this;
|
|
1550
|
+
}
|
|
1551
|
+
gw(_this__u8e3s4) {
|
|
1552
|
+
return _this__u8e3s4.length;
|
|
1553
|
+
}
|
|
1554
|
+
lt(_this__u8e3s4) {
|
|
1555
|
+
return this.gw((!(_this__u8e3s4 == null) ? isLongArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1556
|
+
}
|
|
1557
|
+
hw(encoder, content, size) {
|
|
1558
|
+
var inductionVariable = 0;
|
|
1559
|
+
if (inductionVariable < size)
|
|
1560
|
+
do {
|
|
1561
|
+
var i = inductionVariable;
|
|
1562
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1563
|
+
encoder.kr(this.zt_1, i, content[i]);
|
|
1564
|
+
}
|
|
1565
|
+
while (inductionVariable < size);
|
|
1566
|
+
}
|
|
1567
|
+
bu(encoder, content, size) {
|
|
1568
|
+
return this.hw(encoder, (!(content == null) ? isLongArray(content) : false) ? content : THROW_CCE(), size);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
class ULongArraySerializer extends PrimitiveArraySerializer {
|
|
1572
|
+
constructor() {
|
|
1573
|
+
ULongArraySerializer_instance = null;
|
|
1574
|
+
super(serializer_5(Companion_getInstance_1()));
|
|
1575
|
+
ULongArraySerializer_instance = this;
|
|
1576
|
+
}
|
|
1577
|
+
kw(_this__u8e3s4) {
|
|
1578
|
+
return _ULongArray___get_size__impl__ju6dtr(_this__u8e3s4);
|
|
1579
|
+
}
|
|
1580
|
+
lt(_this__u8e3s4) {
|
|
1581
|
+
return this.kw(_this__u8e3s4 instanceof ULongArray ? _this__u8e3s4.vn_1 : THROW_CCE());
|
|
1582
|
+
}
|
|
1583
|
+
lw(encoder, content, size) {
|
|
1584
|
+
var inductionVariable = 0;
|
|
1585
|
+
if (inductionVariable < size)
|
|
1586
|
+
do {
|
|
1587
|
+
var i = inductionVariable;
|
|
1588
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1589
|
+
var tmp = encoder.pr(this.zt_1, i);
|
|
1590
|
+
// Inline function 'kotlin.ULong.toLong' call
|
|
1591
|
+
var this_0 = ULongArray__get_impl_pr71q9(content, i);
|
|
1592
|
+
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(this_0);
|
|
1593
|
+
tmp.ar(tmp$ret$0);
|
|
1594
|
+
}
|
|
1595
|
+
while (inductionVariable < size);
|
|
1596
|
+
}
|
|
1597
|
+
bu(encoder, content, size) {
|
|
1598
|
+
return this.lw(encoder, content instanceof ULongArray ? content.vn_1 : THROW_CCE(), size);
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
class IntArraySerializer extends PrimitiveArraySerializer {
|
|
1602
|
+
constructor() {
|
|
1603
|
+
IntArraySerializer_instance = null;
|
|
1604
|
+
super(serializer_6(IntCompanionObject_instance));
|
|
1605
|
+
IntArraySerializer_instance = this;
|
|
1606
|
+
}
|
|
1607
|
+
ow(_this__u8e3s4) {
|
|
1608
|
+
return _this__u8e3s4.length;
|
|
1609
|
+
}
|
|
1610
|
+
lt(_this__u8e3s4) {
|
|
1611
|
+
return this.ow((!(_this__u8e3s4 == null) ? isIntArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1612
|
+
}
|
|
1613
|
+
pw(encoder, content, size) {
|
|
1614
|
+
var inductionVariable = 0;
|
|
1615
|
+
if (inductionVariable < size)
|
|
1616
|
+
do {
|
|
1617
|
+
var i = inductionVariable;
|
|
1618
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1619
|
+
encoder.jr(this.zt_1, i, content[i]);
|
|
1620
|
+
}
|
|
1621
|
+
while (inductionVariable < size);
|
|
1622
|
+
}
|
|
1623
|
+
bu(encoder, content, size) {
|
|
1624
|
+
return this.pw(encoder, (!(content == null) ? isIntArray(content) : false) ? content : THROW_CCE(), size);
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
class UIntArraySerializer extends PrimitiveArraySerializer {
|
|
1628
|
+
constructor() {
|
|
1629
|
+
UIntArraySerializer_instance = null;
|
|
1630
|
+
super(serializer_7(Companion_getInstance_2()));
|
|
1631
|
+
UIntArraySerializer_instance = this;
|
|
1632
|
+
}
|
|
1633
|
+
sw(_this__u8e3s4) {
|
|
1634
|
+
return _UIntArray___get_size__impl__r6l8ci(_this__u8e3s4);
|
|
1635
|
+
}
|
|
1636
|
+
lt(_this__u8e3s4) {
|
|
1637
|
+
return this.sw(_this__u8e3s4 instanceof UIntArray ? _this__u8e3s4.kn_1 : THROW_CCE());
|
|
1638
|
+
}
|
|
1639
|
+
tw(encoder, content, size) {
|
|
1640
|
+
var inductionVariable = 0;
|
|
1641
|
+
if (inductionVariable < size)
|
|
1642
|
+
do {
|
|
1643
|
+
var i = inductionVariable;
|
|
1644
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1645
|
+
var tmp = encoder.pr(this.zt_1, i);
|
|
1646
|
+
// Inline function 'kotlin.UInt.toInt' call
|
|
1647
|
+
var this_0 = UIntArray__get_impl_gp5kza(content, i);
|
|
1648
|
+
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(this_0);
|
|
1649
|
+
tmp.zq(tmp$ret$0);
|
|
1650
|
+
}
|
|
1651
|
+
while (inductionVariable < size);
|
|
1652
|
+
}
|
|
1653
|
+
bu(encoder, content, size) {
|
|
1654
|
+
return this.tw(encoder, content instanceof UIntArray ? content.kn_1 : THROW_CCE(), size);
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
class ShortArraySerializer extends PrimitiveArraySerializer {
|
|
1658
|
+
constructor() {
|
|
1659
|
+
ShortArraySerializer_instance = null;
|
|
1660
|
+
super(serializer_8(ShortCompanionObject_instance));
|
|
1661
|
+
ShortArraySerializer_instance = this;
|
|
1662
|
+
}
|
|
1663
|
+
ww(_this__u8e3s4) {
|
|
1664
|
+
return _this__u8e3s4.length;
|
|
1665
|
+
}
|
|
1666
|
+
lt(_this__u8e3s4) {
|
|
1667
|
+
return this.ww((!(_this__u8e3s4 == null) ? isShortArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1668
|
+
}
|
|
1669
|
+
xw(encoder, content, size) {
|
|
1670
|
+
var inductionVariable = 0;
|
|
1671
|
+
if (inductionVariable < size)
|
|
1672
|
+
do {
|
|
1673
|
+
var i = inductionVariable;
|
|
1674
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1675
|
+
encoder.ir(this.zt_1, i, content[i]);
|
|
1676
|
+
}
|
|
1677
|
+
while (inductionVariable < size);
|
|
1678
|
+
}
|
|
1679
|
+
bu(encoder, content, size) {
|
|
1680
|
+
return this.xw(encoder, (!(content == null) ? isShortArray(content) : false) ? content : THROW_CCE(), size);
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
class UShortArraySerializer extends PrimitiveArraySerializer {
|
|
1684
|
+
constructor() {
|
|
1685
|
+
UShortArraySerializer_instance = null;
|
|
1686
|
+
super(serializer_9(Companion_getInstance_3()));
|
|
1687
|
+
UShortArraySerializer_instance = this;
|
|
1688
|
+
}
|
|
1689
|
+
ax(_this__u8e3s4) {
|
|
1690
|
+
return _UShortArray___get_size__impl__jqto1b(_this__u8e3s4);
|
|
1691
|
+
}
|
|
1692
|
+
lt(_this__u8e3s4) {
|
|
1693
|
+
return this.ax(_this__u8e3s4 instanceof UShortArray ? _this__u8e3s4.go_1 : THROW_CCE());
|
|
1694
|
+
}
|
|
1695
|
+
bx(encoder, content, size) {
|
|
1696
|
+
var inductionVariable = 0;
|
|
1697
|
+
if (inductionVariable < size)
|
|
1698
|
+
do {
|
|
1699
|
+
var i = inductionVariable;
|
|
1700
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1701
|
+
var tmp = encoder.pr(this.zt_1, i);
|
|
1702
|
+
// Inline function 'kotlin.UShort.toShort' call
|
|
1703
|
+
var this_0 = UShortArray__get_impl_fnbhmx(content, i);
|
|
1704
|
+
var tmp$ret$0 = _UShort___get_data__impl__g0245(this_0);
|
|
1705
|
+
tmp.yq(tmp$ret$0);
|
|
1706
|
+
}
|
|
1707
|
+
while (inductionVariable < size);
|
|
1708
|
+
}
|
|
1709
|
+
bu(encoder, content, size) {
|
|
1710
|
+
return this.bx(encoder, content instanceof UShortArray ? content.go_1 : THROW_CCE(), size);
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
class ByteArraySerializer extends PrimitiveArraySerializer {
|
|
1714
|
+
constructor() {
|
|
1715
|
+
ByteArraySerializer_instance = null;
|
|
1716
|
+
super(serializer_10(ByteCompanionObject_instance));
|
|
1717
|
+
ByteArraySerializer_instance = this;
|
|
1718
|
+
}
|
|
1719
|
+
ex(_this__u8e3s4) {
|
|
1720
|
+
return _this__u8e3s4.length;
|
|
1721
|
+
}
|
|
1722
|
+
lt(_this__u8e3s4) {
|
|
1723
|
+
return this.ex((!(_this__u8e3s4 == null) ? isByteArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1724
|
+
}
|
|
1725
|
+
fx(encoder, content, size) {
|
|
1726
|
+
var inductionVariable = 0;
|
|
1727
|
+
if (inductionVariable < size)
|
|
1728
|
+
do {
|
|
1729
|
+
var i = inductionVariable;
|
|
1730
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1731
|
+
encoder.hr(this.zt_1, i, content[i]);
|
|
1732
|
+
}
|
|
1733
|
+
while (inductionVariable < size);
|
|
1734
|
+
}
|
|
1735
|
+
bu(encoder, content, size) {
|
|
1736
|
+
return this.fx(encoder, (!(content == null) ? isByteArray(content) : false) ? content : THROW_CCE(), size);
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
class UByteArraySerializer extends PrimitiveArraySerializer {
|
|
1740
|
+
constructor() {
|
|
1741
|
+
UByteArraySerializer_instance = null;
|
|
1742
|
+
super(serializer_11(Companion_getInstance_4()));
|
|
1743
|
+
UByteArraySerializer_instance = this;
|
|
1744
|
+
}
|
|
1745
|
+
ix(_this__u8e3s4) {
|
|
1746
|
+
return _UByteArray___get_size__impl__h6pkdv(_this__u8e3s4);
|
|
1747
|
+
}
|
|
1748
|
+
lt(_this__u8e3s4) {
|
|
1749
|
+
return this.ix(_this__u8e3s4 instanceof UByteArray ? _this__u8e3s4.zm_1 : THROW_CCE());
|
|
1750
|
+
}
|
|
1751
|
+
jx(encoder, content, size) {
|
|
1752
|
+
var inductionVariable = 0;
|
|
1753
|
+
if (inductionVariable < size)
|
|
1754
|
+
do {
|
|
1755
|
+
var i = inductionVariable;
|
|
1756
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1757
|
+
var tmp = encoder.pr(this.zt_1, i);
|
|
1758
|
+
// Inline function 'kotlin.UByte.toByte' call
|
|
1759
|
+
var this_0 = UByteArray__get_impl_t5f3hv(content, i);
|
|
1760
|
+
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(this_0);
|
|
1761
|
+
tmp.xq(tmp$ret$0);
|
|
1762
|
+
}
|
|
1763
|
+
while (inductionVariable < size);
|
|
1764
|
+
}
|
|
1765
|
+
bu(encoder, content, size) {
|
|
1766
|
+
return this.jx(encoder, content instanceof UByteArray ? content.zm_1 : THROW_CCE(), size);
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
class BooleanArraySerializer extends PrimitiveArraySerializer {
|
|
1770
|
+
constructor() {
|
|
1771
|
+
BooleanArraySerializer_instance = null;
|
|
1772
|
+
super(serializer_12(BooleanCompanionObject_instance));
|
|
1773
|
+
BooleanArraySerializer_instance = this;
|
|
1774
|
+
}
|
|
1775
|
+
mx(_this__u8e3s4) {
|
|
1776
|
+
return _this__u8e3s4.length;
|
|
1777
|
+
}
|
|
1778
|
+
lt(_this__u8e3s4) {
|
|
1779
|
+
return this.mx((!(_this__u8e3s4 == null) ? isBooleanArray(_this__u8e3s4) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
1780
|
+
}
|
|
1781
|
+
nx(encoder, content, size) {
|
|
1782
|
+
var inductionVariable = 0;
|
|
1783
|
+
if (inductionVariable < size)
|
|
1784
|
+
do {
|
|
1785
|
+
var i = inductionVariable;
|
|
1786
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1787
|
+
encoder.gr(this.zt_1, i, content[i]);
|
|
1788
|
+
}
|
|
1789
|
+
while (inductionVariable < size);
|
|
1790
|
+
}
|
|
1791
|
+
bu(encoder, content, size) {
|
|
1792
|
+
return this.nx(encoder, (!(content == null) ? isBooleanArray(content) : false) ? content : THROW_CCE(), size);
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
class StringSerializer {
|
|
1796
|
+
constructor() {
|
|
1797
|
+
StringSerializer_instance = this;
|
|
1798
|
+
this.ox_1 = new PrimitiveSerialDescriptor('kotlin.String', STRING_getInstance());
|
|
1799
|
+
}
|
|
1800
|
+
io() {
|
|
1801
|
+
return this.ox_1;
|
|
1802
|
+
}
|
|
1803
|
+
px(encoder, value) {
|
|
1804
|
+
return encoder.er(value);
|
|
1805
|
+
}
|
|
1806
|
+
jo(encoder, value) {
|
|
1807
|
+
return this.px(encoder, (!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
class CharSerializer {
|
|
1811
|
+
constructor() {
|
|
1812
|
+
CharSerializer_instance = this;
|
|
1813
|
+
this.qx_1 = new PrimitiveSerialDescriptor('kotlin.Char', CHAR_getInstance());
|
|
1814
|
+
}
|
|
1815
|
+
io() {
|
|
1816
|
+
return this.qx_1;
|
|
1817
|
+
}
|
|
1818
|
+
rx(encoder, value) {
|
|
1819
|
+
return encoder.dr(value);
|
|
1820
|
+
}
|
|
1821
|
+
jo(encoder, value) {
|
|
1822
|
+
return this.rx(encoder, value instanceof Char ? value.y1_1 : THROW_CCE());
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
class DoubleSerializer {
|
|
1826
|
+
constructor() {
|
|
1827
|
+
DoubleSerializer_instance = this;
|
|
1828
|
+
this.sx_1 = new PrimitiveSerialDescriptor('kotlin.Double', DOUBLE_getInstance());
|
|
1829
|
+
}
|
|
1830
|
+
io() {
|
|
1831
|
+
return this.sx_1;
|
|
1832
|
+
}
|
|
1833
|
+
tx(encoder, value) {
|
|
1834
|
+
return encoder.cr(value);
|
|
1835
|
+
}
|
|
1836
|
+
jo(encoder, value) {
|
|
1837
|
+
return this.tx(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
class FloatSerializer {
|
|
1841
|
+
constructor() {
|
|
1842
|
+
FloatSerializer_instance = this;
|
|
1843
|
+
this.ux_1 = new PrimitiveSerialDescriptor('kotlin.Float', FLOAT_getInstance());
|
|
1844
|
+
}
|
|
1845
|
+
io() {
|
|
1846
|
+
return this.ux_1;
|
|
1847
|
+
}
|
|
1848
|
+
vx(encoder, value) {
|
|
1849
|
+
return encoder.br(value);
|
|
1850
|
+
}
|
|
1851
|
+
jo(encoder, value) {
|
|
1852
|
+
return this.vx(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
1853
|
+
}
|
|
1854
|
+
}
|
|
1855
|
+
class LongSerializer {
|
|
1856
|
+
constructor() {
|
|
1857
|
+
LongSerializer_instance = this;
|
|
1858
|
+
this.wx_1 = new PrimitiveSerialDescriptor('kotlin.Long', LONG_getInstance());
|
|
1859
|
+
}
|
|
1860
|
+
io() {
|
|
1861
|
+
return this.wx_1;
|
|
1862
|
+
}
|
|
1863
|
+
xx(encoder, value) {
|
|
1864
|
+
return encoder.ar(value);
|
|
1865
|
+
}
|
|
1866
|
+
jo(encoder, value) {
|
|
1867
|
+
return this.xx(encoder, value instanceof Long ? value : THROW_CCE());
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
class IntSerializer {
|
|
1871
|
+
constructor() {
|
|
1872
|
+
IntSerializer_instance = this;
|
|
1873
|
+
this.yx_1 = new PrimitiveSerialDescriptor('kotlin.Int', INT_getInstance());
|
|
1874
|
+
}
|
|
1875
|
+
io() {
|
|
1876
|
+
return this.yx_1;
|
|
1877
|
+
}
|
|
1878
|
+
zx(encoder, value) {
|
|
1879
|
+
return encoder.zq(value);
|
|
1880
|
+
}
|
|
1881
|
+
jo(encoder, value) {
|
|
1882
|
+
return this.zx(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
1883
|
+
}
|
|
1884
|
+
}
|
|
1885
|
+
class ShortSerializer {
|
|
1886
|
+
constructor() {
|
|
1887
|
+
ShortSerializer_instance = this;
|
|
1888
|
+
this.ay_1 = new PrimitiveSerialDescriptor('kotlin.Short', SHORT_getInstance());
|
|
1889
|
+
}
|
|
1890
|
+
io() {
|
|
1891
|
+
return this.ay_1;
|
|
1892
|
+
}
|
|
1893
|
+
by(encoder, value) {
|
|
1894
|
+
return encoder.yq(value);
|
|
1895
|
+
}
|
|
1896
|
+
jo(encoder, value) {
|
|
1897
|
+
return this.by(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
class ByteSerializer {
|
|
1901
|
+
constructor() {
|
|
1902
|
+
ByteSerializer_instance = this;
|
|
1903
|
+
this.cy_1 = new PrimitiveSerialDescriptor('kotlin.Byte', BYTE_getInstance());
|
|
1904
|
+
}
|
|
1905
|
+
io() {
|
|
1906
|
+
return this.cy_1;
|
|
1907
|
+
}
|
|
1908
|
+
dy(encoder, value) {
|
|
1909
|
+
return encoder.xq(value);
|
|
1910
|
+
}
|
|
1911
|
+
jo(encoder, value) {
|
|
1912
|
+
return this.dy(encoder, (!(value == null) ? typeof value === 'number' : false) ? value : THROW_CCE());
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
class BooleanSerializer {
|
|
1916
|
+
constructor() {
|
|
1917
|
+
BooleanSerializer_instance = this;
|
|
1918
|
+
this.ey_1 = new PrimitiveSerialDescriptor('kotlin.Boolean', BOOLEAN_getInstance());
|
|
1919
|
+
}
|
|
1920
|
+
io() {
|
|
1921
|
+
return this.ey_1;
|
|
1922
|
+
}
|
|
1923
|
+
fy(encoder, value) {
|
|
1924
|
+
return encoder.wq(value);
|
|
1925
|
+
}
|
|
1926
|
+
jo(encoder, value) {
|
|
1927
|
+
return this.fy(encoder, (!(value == null) ? typeof value === 'boolean' : false) ? value : THROW_CCE());
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
class UnitSerializer {
|
|
1931
|
+
constructor() {
|
|
1932
|
+
UnitSerializer_instance = this;
|
|
1933
|
+
this.gy_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
|
|
1934
|
+
}
|
|
1935
|
+
io() {
|
|
1936
|
+
return this.gy_1.io();
|
|
1937
|
+
}
|
|
1938
|
+
hy(encoder, value) {
|
|
1939
|
+
this.gy_1.xo(encoder, Unit_instance);
|
|
1940
|
+
}
|
|
1941
|
+
jo(encoder, value) {
|
|
1942
|
+
return this.hy(encoder, value instanceof Unit ? value : THROW_CCE());
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
class PrimitiveSerialDescriptor {
|
|
1946
|
+
constructor(serialName, kind) {
|
|
1947
|
+
this.iy_1 = serialName;
|
|
1948
|
+
this.jy_1 = kind;
|
|
1949
|
+
}
|
|
1950
|
+
pp() {
|
|
1951
|
+
return this.iy_1;
|
|
1952
|
+
}
|
|
1953
|
+
qp() {
|
|
1954
|
+
return this.jy_1;
|
|
1955
|
+
}
|
|
1956
|
+
sp() {
|
|
1957
|
+
return 0;
|
|
1958
|
+
}
|
|
1959
|
+
up(index) {
|
|
1960
|
+
error_0(this);
|
|
1961
|
+
}
|
|
1962
|
+
vp(index) {
|
|
1963
|
+
error_0(this);
|
|
1964
|
+
}
|
|
1965
|
+
toString() {
|
|
1966
|
+
return 'PrimitiveDescriptor(' + this.iy_1 + ')';
|
|
1967
|
+
}
|
|
1968
|
+
equals(other) {
|
|
1969
|
+
if (this === other)
|
|
1970
|
+
return true;
|
|
1971
|
+
if (!(other instanceof PrimitiveSerialDescriptor))
|
|
1972
|
+
return false;
|
|
1973
|
+
if (this.iy_1 === other.iy_1 && equals(this.jy_1, other.jy_1))
|
|
1974
|
+
return true;
|
|
1975
|
+
return false;
|
|
1976
|
+
}
|
|
1977
|
+
hashCode() {
|
|
1978
|
+
return getStringHashCode(this.iy_1) + imul(31, this.jy_1.hashCode()) | 0;
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
class KeyValueSerializer {
|
|
1982
|
+
constructor(keySerializer, valueSerializer) {
|
|
1983
|
+
this.ry_1 = keySerializer;
|
|
1984
|
+
this.sy_1 = valueSerializer;
|
|
1985
|
+
}
|
|
1986
|
+
ty(encoder, value) {
|
|
1987
|
+
var structuredEncoder = encoder.rq(this.io());
|
|
1988
|
+
structuredEncoder.qr(this.io(), 0, this.ry_1, this.oy(value));
|
|
1989
|
+
structuredEncoder.qr(this.io(), 1, this.sy_1, this.qy(value));
|
|
1990
|
+
structuredEncoder.sq(this.io());
|
|
1991
|
+
}
|
|
1992
|
+
jo(encoder, value) {
|
|
1993
|
+
return this.ty(encoder, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
class MapEntrySerializer extends KeyValueSerializer {
|
|
1997
|
+
constructor(keySerializer, valueSerializer) {
|
|
1998
|
+
super(keySerializer, valueSerializer);
|
|
1999
|
+
var tmp = this;
|
|
2000
|
+
var tmp_0 = MAP_getInstance();
|
|
2001
|
+
tmp.my_1 = buildSerialDescriptor('kotlin.collections.Map.Entry', tmp_0, [], MapEntrySerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
2002
|
+
}
|
|
2003
|
+
io() {
|
|
2004
|
+
return this.my_1;
|
|
2005
|
+
}
|
|
2006
|
+
ny(_this__u8e3s4) {
|
|
2007
|
+
return _this__u8e3s4.r1();
|
|
2008
|
+
}
|
|
2009
|
+
oy(_this__u8e3s4) {
|
|
2010
|
+
return this.ny((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2011
|
+
}
|
|
2012
|
+
py(_this__u8e3s4) {
|
|
2013
|
+
return _this__u8e3s4.s1();
|
|
2014
|
+
}
|
|
2015
|
+
qy(_this__u8e3s4) {
|
|
2016
|
+
return this.py((!(_this__u8e3s4 == null) ? isInterface(_this__u8e3s4, Entry) : false) ? _this__u8e3s4 : THROW_CCE());
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
class PairSerializer extends KeyValueSerializer {
|
|
2020
|
+
constructor(keySerializer, valueSerializer) {
|
|
2021
|
+
super(keySerializer, valueSerializer);
|
|
2022
|
+
var tmp = this;
|
|
2023
|
+
tmp.wy_1 = buildClassSerialDescriptor('kotlin.Pair', [], PairSerializer$descriptor$lambda(keySerializer, valueSerializer));
|
|
2024
|
+
}
|
|
2025
|
+
io() {
|
|
2026
|
+
return this.wy_1;
|
|
2027
|
+
}
|
|
2028
|
+
xy(_this__u8e3s4) {
|
|
2029
|
+
return _this__u8e3s4.wd_1;
|
|
2030
|
+
}
|
|
2031
|
+
oy(_this__u8e3s4) {
|
|
2032
|
+
return this.xy(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
2033
|
+
}
|
|
2034
|
+
yy(_this__u8e3s4) {
|
|
2035
|
+
return _this__u8e3s4.xd_1;
|
|
2036
|
+
}
|
|
2037
|
+
qy(_this__u8e3s4) {
|
|
2038
|
+
return this.yy(_this__u8e3s4 instanceof Pair ? _this__u8e3s4 : THROW_CCE());
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
class TripleSerializer {
|
|
2042
|
+
constructor(aSerializer, bSerializer, cSerializer) {
|
|
2043
|
+
this.zy_1 = aSerializer;
|
|
2044
|
+
this.az_1 = bSerializer;
|
|
2045
|
+
this.bz_1 = cSerializer;
|
|
2046
|
+
var tmp = this;
|
|
2047
|
+
tmp.cz_1 = buildClassSerialDescriptor('kotlin.Triple', [], TripleSerializer$descriptor$lambda(this));
|
|
2048
|
+
}
|
|
2049
|
+
io() {
|
|
2050
|
+
return this.cz_1;
|
|
2051
|
+
}
|
|
2052
|
+
dz(encoder, value) {
|
|
2053
|
+
var structuredEncoder = encoder.rq(this.cz_1);
|
|
2054
|
+
structuredEncoder.qr(this.cz_1, 0, this.zy_1, value.fm_1);
|
|
2055
|
+
structuredEncoder.qr(this.cz_1, 1, this.az_1, value.gm_1);
|
|
2056
|
+
structuredEncoder.qr(this.cz_1, 2, this.bz_1, value.hm_1);
|
|
2057
|
+
structuredEncoder.sq(this.cz_1);
|
|
2058
|
+
}
|
|
2059
|
+
jo(encoder, value) {
|
|
2060
|
+
return this.dz(encoder, value instanceof Triple ? value : THROW_CCE());
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
class ULongSerializer {
|
|
2064
|
+
constructor() {
|
|
2065
|
+
ULongSerializer_instance = this;
|
|
2066
|
+
this.ez_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_4(Companion_getInstance_0()));
|
|
2067
|
+
}
|
|
2068
|
+
io() {
|
|
2069
|
+
return this.ez_1;
|
|
2070
|
+
}
|
|
2071
|
+
fz(encoder, value) {
|
|
2072
|
+
var tmp = encoder.fr(this.ez_1);
|
|
2073
|
+
// Inline function 'kotlin.ULong.toLong' call
|
|
2074
|
+
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(value);
|
|
2075
|
+
tmp.ar(tmp$ret$0);
|
|
2076
|
+
}
|
|
2077
|
+
jo(encoder, value) {
|
|
2078
|
+
return this.fz(encoder, value instanceof ULong ? value.qn_1 : THROW_CCE());
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
class UIntSerializer {
|
|
2082
|
+
constructor() {
|
|
2083
|
+
UIntSerializer_instance = this;
|
|
2084
|
+
this.gz_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_6(IntCompanionObject_instance));
|
|
2085
|
+
}
|
|
2086
|
+
io() {
|
|
2087
|
+
return this.gz_1;
|
|
2088
|
+
}
|
|
2089
|
+
hz(encoder, value) {
|
|
2090
|
+
var tmp = encoder.fr(this.gz_1);
|
|
2091
|
+
// Inline function 'kotlin.UInt.toInt' call
|
|
2092
|
+
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(value);
|
|
2093
|
+
tmp.zq(tmp$ret$0);
|
|
2094
|
+
}
|
|
2095
|
+
jo(encoder, value) {
|
|
2096
|
+
return this.hz(encoder, value instanceof UInt ? value.fn_1 : THROW_CCE());
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
class UShortSerializer {
|
|
2100
|
+
constructor() {
|
|
2101
|
+
UShortSerializer_instance = this;
|
|
2102
|
+
this.iz_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_8(ShortCompanionObject_instance));
|
|
2103
|
+
}
|
|
2104
|
+
io() {
|
|
2105
|
+
return this.iz_1;
|
|
2106
|
+
}
|
|
2107
|
+
jz(encoder, value) {
|
|
2108
|
+
var tmp = encoder.fr(this.iz_1);
|
|
2109
|
+
// Inline function 'kotlin.UShort.toShort' call
|
|
2110
|
+
var tmp$ret$0 = _UShort___get_data__impl__g0245(value);
|
|
2111
|
+
tmp.yq(tmp$ret$0);
|
|
2112
|
+
}
|
|
2113
|
+
jo(encoder, value) {
|
|
2114
|
+
return this.jz(encoder, value instanceof UShort ? value.bo_1 : THROW_CCE());
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
class UByteSerializer {
|
|
2118
|
+
constructor() {
|
|
2119
|
+
UByteSerializer_instance = this;
|
|
2120
|
+
this.kz_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_10(ByteCompanionObject_instance));
|
|
2121
|
+
}
|
|
2122
|
+
io() {
|
|
2123
|
+
return this.kz_1;
|
|
2124
|
+
}
|
|
2125
|
+
lz(encoder, value) {
|
|
2126
|
+
var tmp = encoder.fr(this.kz_1);
|
|
2127
|
+
// Inline function 'kotlin.UByte.toByte' call
|
|
2128
|
+
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(value);
|
|
2129
|
+
tmp.xq(tmp$ret$0);
|
|
2130
|
+
}
|
|
2131
|
+
jo(encoder, value) {
|
|
2132
|
+
return this.lz(encoder, value instanceof UByte ? value.um_1 : THROW_CCE());
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
class SerializersModule {
|
|
2136
|
+
hp(kClass, typeArgumentsSerializers, $super) {
|
|
2137
|
+
typeArgumentsSerializers = typeArgumentsSerializers === VOID ? emptyList() : typeArgumentsSerializers;
|
|
2138
|
+
return $super === VOID ? this.ip(kClass, typeArgumentsSerializers) : $super.ip.call(this, kClass, typeArgumentsSerializers);
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
class SerialModuleImpl extends SerializersModule {
|
|
2142
|
+
constructor(class2ContextualFactory, polyBase2Serializers, polyBase2DefaultSerializerProvider, polyBase2NamedSerializers, polyBase2DefaultDeserializerProvider, hasInterfaceContextualSerializers) {
|
|
2143
|
+
super();
|
|
2144
|
+
this.mz_1 = class2ContextualFactory;
|
|
2145
|
+
this.nz_1 = polyBase2Serializers;
|
|
2146
|
+
this.oz_1 = polyBase2DefaultSerializerProvider;
|
|
2147
|
+
this.pz_1 = polyBase2NamedSerializers;
|
|
2148
|
+
this.qz_1 = polyBase2DefaultDeserializerProvider;
|
|
2149
|
+
this.rz_1 = hasInterfaceContextualSerializers;
|
|
2150
|
+
}
|
|
2151
|
+
gp() {
|
|
2152
|
+
return this.rz_1;
|
|
2153
|
+
}
|
|
2154
|
+
yr(baseClass, value) {
|
|
2155
|
+
if (!baseClass.de(value))
|
|
2156
|
+
return null;
|
|
2157
|
+
var tmp0_safe_receiver = this.nz_1.p2(baseClass);
|
|
2158
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p2(getKClassFromExpression(value));
|
|
2159
|
+
var registered = (!(tmp == null) ? isInterface(tmp, SerializationStrategy) : false) ? tmp : null;
|
|
2160
|
+
if (!(registered == null))
|
|
2161
|
+
return registered;
|
|
2162
|
+
var tmp_0 = this.oz_1.p2(baseClass);
|
|
2163
|
+
var tmp1_safe_receiver = (!(tmp_0 == null) ? typeof tmp_0 === 'function' : false) ? tmp_0 : null;
|
|
2164
|
+
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver(value);
|
|
2165
|
+
}
|
|
2166
|
+
ip(kClass, typeArgumentsSerializers) {
|
|
2167
|
+
var tmp0_safe_receiver = this.mz_1.p2(kClass);
|
|
2168
|
+
var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sz(typeArgumentsSerializers);
|
|
2169
|
+
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : null;
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
class SerializableWith {
|
|
2173
|
+
constructor(serializer) {
|
|
2174
|
+
this.tz_1 = serializer;
|
|
2175
|
+
}
|
|
2176
|
+
equals(other) {
|
|
2177
|
+
if (!(other instanceof SerializableWith))
|
|
2178
|
+
return false;
|
|
2179
|
+
var tmp0_other_with_cast = other instanceof SerializableWith ? other : THROW_CCE();
|
|
2180
|
+
if (!this.tz_1.equals(tmp0_other_with_cast.tz_1))
|
|
2181
|
+
return false;
|
|
2182
|
+
return true;
|
|
2183
|
+
}
|
|
2184
|
+
hashCode() {
|
|
2185
|
+
return imul(getStringHashCode('serializer'), 127) ^ this.tz_1.hashCode();
|
|
2186
|
+
}
|
|
2187
|
+
toString() {
|
|
2188
|
+
return '@kotlinx.serialization.SerializableWith(' + 'serializer=' + toString(this.tz_1) + ')';
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
class createCache$1 {
|
|
2192
|
+
constructor($factory) {
|
|
2193
|
+
this.uz_1 = $factory;
|
|
2194
|
+
}
|
|
2195
|
+
jp(key) {
|
|
2196
|
+
return this.uz_1(key);
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
class createParametrizedCache$1 {
|
|
2200
|
+
constructor($factory) {
|
|
2201
|
+
this.vz_1 = $factory;
|
|
2202
|
+
}
|
|
2203
|
+
kp(key, types) {
|
|
2204
|
+
// Inline function 'kotlin.runCatching' call
|
|
2205
|
+
var tmp;
|
|
2206
|
+
try {
|
|
2207
|
+
// Inline function 'kotlinx.serialization.internal.<no name provided>.get.<anonymous>' call
|
|
2208
|
+
// Inline function 'kotlin.Companion.success' call
|
|
2209
|
+
var value = this.vz_1(key, types);
|
|
2210
|
+
tmp = _Result___init__impl__xyqfz8(value);
|
|
2211
|
+
} catch ($p) {
|
|
2212
|
+
var tmp_0;
|
|
2213
|
+
if ($p instanceof Error) {
|
|
2214
|
+
var e = $p;
|
|
2215
|
+
// Inline function 'kotlin.Companion.failure' call
|
|
2216
|
+
tmp_0 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2217
|
+
} else {
|
|
2218
|
+
throw $p;
|
|
2219
|
+
}
|
|
2220
|
+
tmp = tmp_0;
|
|
2221
|
+
}
|
|
2222
|
+
return tmp;
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
//endregion
|
|
2226
|
+
function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
2227
|
+
return ($this$buildSerialDescriptor) => {
|
|
2228
|
+
$this$buildSerialDescriptor.so('type', serializer_0(StringCompanionObject_instance).io());
|
|
2229
|
+
$this$buildSerialDescriptor.so('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.to_1.ce() + '>', CONTEXTUAL_getInstance(), []));
|
|
2230
|
+
$this$buildSerialDescriptor.mo_1 = this$0.uo_1;
|
|
2231
|
+
return Unit_instance;
|
|
2232
|
+
};
|
|
2233
|
+
}
|
|
2234
|
+
function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
|
|
2235
|
+
return () => {
|
|
2236
|
+
var tmp = OPEN_getInstance();
|
|
2237
|
+
return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.to_1);
|
|
2238
|
+
};
|
|
2239
|
+
}
|
|
2240
|
+
function findPolymorphicSerializer(_this__u8e3s4, encoder, value) {
|
|
2241
|
+
var tmp0_elvis_lhs = _this__u8e3s4.yo(encoder, value);
|
|
2242
|
+
var tmp;
|
|
2243
|
+
if (tmp0_elvis_lhs == null) {
|
|
2244
|
+
throwSubtypeNotRegistered(getKClassFromExpression(value), _this__u8e3s4.wo());
|
|
2245
|
+
} else {
|
|
2246
|
+
tmp = tmp0_elvis_lhs;
|
|
2247
|
+
}
|
|
2248
|
+
return tmp;
|
|
2249
|
+
}
|
|
2250
|
+
function descriptor$factory() {
|
|
2251
|
+
return getPropertyCallableRef('descriptor', 1, KProperty1, (receiver) => receiver.io(), null);
|
|
2252
|
+
}
|
|
2253
|
+
function descriptor$factory_0() {
|
|
2254
|
+
return getPropertyCallableRef('descriptor', 1, KProperty1, (receiver) => receiver.io(), null);
|
|
2255
|
+
}
|
|
2256
|
+
function init_kotlinx_serialization_SerializationException(_this__u8e3s4) {
|
|
2257
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.dp_1);
|
|
2258
|
+
}
|
|
2259
|
+
function serializerOrNull(_this__u8e3s4) {
|
|
2260
|
+
var tmp0_elvis_lhs = compiledSerializerImpl(_this__u8e3s4);
|
|
2261
|
+
return tmp0_elvis_lhs == null ? builtinSerializerOrNull(_this__u8e3s4) : tmp0_elvis_lhs;
|
|
2262
|
+
}
|
|
2263
|
+
function serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer) {
|
|
2264
|
+
var tmp;
|
|
2265
|
+
if (failOnMissingTypeArgSerializer) {
|
|
2266
|
+
// Inline function 'kotlin.collections.map' call
|
|
2267
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
2268
|
+
var destination = ArrayList.k1(collectionSizeOrDefault(typeArguments, 10));
|
|
2269
|
+
var _iterator__ex2g4s = typeArguments.d1();
|
|
2270
|
+
while (_iterator__ex2g4s.e1()) {
|
|
2271
|
+
var item = _iterator__ex2g4s.f1();
|
|
2272
|
+
// Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
|
|
2273
|
+
var tmp$ret$0 = serializer(_this__u8e3s4, item);
|
|
2274
|
+
destination.o(tmp$ret$0);
|
|
2275
|
+
}
|
|
2276
|
+
tmp = destination;
|
|
2277
|
+
} else {
|
|
2278
|
+
// Inline function 'kotlin.collections.map' call
|
|
2279
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
2280
|
+
var destination_0 = ArrayList.k1(collectionSizeOrDefault(typeArguments, 10));
|
|
2281
|
+
var _iterator__ex2g4s_0 = typeArguments.d1();
|
|
2282
|
+
while (_iterator__ex2g4s_0.e1()) {
|
|
2283
|
+
var item_0 = _iterator__ex2g4s_0.f1();
|
|
2284
|
+
// Inline function 'kotlinx.serialization.serializersForParameters.<anonymous>' call
|
|
2285
|
+
var tmp0_elvis_lhs = serializerOrNull_0(_this__u8e3s4, item_0);
|
|
2286
|
+
var tmp_0;
|
|
2287
|
+
if (tmp0_elvis_lhs == null) {
|
|
2288
|
+
return null;
|
|
2289
|
+
} else {
|
|
2290
|
+
tmp_0 = tmp0_elvis_lhs;
|
|
2291
|
+
}
|
|
2292
|
+
var tmp$ret$3 = tmp_0;
|
|
2293
|
+
destination_0.o(tmp$ret$3);
|
|
2294
|
+
}
|
|
2295
|
+
tmp = destination_0;
|
|
2296
|
+
}
|
|
2297
|
+
var serializers = tmp;
|
|
2298
|
+
return serializers;
|
|
2299
|
+
}
|
|
2300
|
+
function parametrizedSerializerOrNull(_this__u8e3s4, serializers, elementClassifierIfArray) {
|
|
2301
|
+
var tmp0_elvis_lhs = builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray);
|
|
2302
|
+
return tmp0_elvis_lhs == null ? compiledParametrizedSerializer(_this__u8e3s4, serializers) : tmp0_elvis_lhs;
|
|
2303
|
+
}
|
|
2304
|
+
function serializer(_this__u8e3s4, type) {
|
|
2305
|
+
var tmp0_elvis_lhs = serializerByKTypeImpl(_this__u8e3s4, type, true);
|
|
2306
|
+
var tmp;
|
|
2307
|
+
if (tmp0_elvis_lhs == null) {
|
|
2308
|
+
platformSpecificSerializerNotRegistered(kclass(type));
|
|
2309
|
+
} else {
|
|
2310
|
+
tmp = tmp0_elvis_lhs;
|
|
2311
|
+
}
|
|
2312
|
+
return tmp;
|
|
2313
|
+
}
|
|
2314
|
+
function serializerOrNull_0(_this__u8e3s4, type) {
|
|
2315
|
+
return serializerByKTypeImpl(_this__u8e3s4, type, false);
|
|
2316
|
+
}
|
|
2317
|
+
function builtinParametrizedSerializer(_this__u8e3s4, serializers, elementClassifierIfArray) {
|
|
2318
|
+
var tmp;
|
|
2319
|
+
if (_this__u8e3s4.equals(getKClass(Collection)) || _this__u8e3s4.equals(getKClass(KtList)) || (_this__u8e3s4.equals(getKClass(KtMutableList)) || _this__u8e3s4.equals(getKClass(ArrayList)))) {
|
|
2320
|
+
tmp = new ArrayListSerializer(serializers.j1(0));
|
|
2321
|
+
} else if (_this__u8e3s4.equals(getKClass(HashSet))) {
|
|
2322
|
+
tmp = new HashSetSerializer(serializers.j1(0));
|
|
2323
|
+
} else if (_this__u8e3s4.equals(getKClass(KtSet)) || (_this__u8e3s4.equals(getKClass(KtMutableSet)) || _this__u8e3s4.equals(getKClass(LinkedHashSet)))) {
|
|
2324
|
+
tmp = new LinkedHashSetSerializer(serializers.j1(0));
|
|
2325
|
+
} else if (_this__u8e3s4.equals(getKClass(HashMap))) {
|
|
2326
|
+
tmp = new HashMapSerializer(serializers.j1(0), serializers.j1(1));
|
|
2327
|
+
} else if (_this__u8e3s4.equals(getKClass(KtMap)) || (_this__u8e3s4.equals(getKClass(KtMutableMap)) || _this__u8e3s4.equals(getKClass(LinkedHashMap)))) {
|
|
2328
|
+
tmp = new LinkedHashMapSerializer(serializers.j1(0), serializers.j1(1));
|
|
2329
|
+
} else if (_this__u8e3s4.equals(getKClass(Entry))) {
|
|
2330
|
+
tmp = MapEntrySerializer_0(serializers.j1(0), serializers.j1(1));
|
|
2331
|
+
} else if (_this__u8e3s4.equals(getKClass(Pair))) {
|
|
2332
|
+
tmp = PairSerializer_0(serializers.j1(0), serializers.j1(1));
|
|
2333
|
+
} else if (_this__u8e3s4.equals(getKClass(Triple))) {
|
|
2334
|
+
tmp = TripleSerializer_0(serializers.j1(0), serializers.j1(1), serializers.j1(2));
|
|
2335
|
+
} else {
|
|
2336
|
+
var tmp_0;
|
|
2337
|
+
if (isReferenceArray(_this__u8e3s4)) {
|
|
2338
|
+
var tmp_1 = elementClassifierIfArray();
|
|
2339
|
+
tmp_0 = ArraySerializer((!(tmp_1 == null) ? isInterface(tmp_1, KClass) : false) ? tmp_1 : THROW_CCE(), serializers.j1(0));
|
|
2340
|
+
} else {
|
|
2341
|
+
tmp_0 = null;
|
|
2342
|
+
}
|
|
2343
|
+
tmp = tmp_0;
|
|
2344
|
+
}
|
|
2345
|
+
return tmp;
|
|
2346
|
+
}
|
|
2347
|
+
function compiledParametrizedSerializer(_this__u8e3s4, serializers) {
|
|
2348
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2349
|
+
var tmp$ret$0 = copyToArray(serializers);
|
|
2350
|
+
return constructSerializerForGivenTypeArgs(_this__u8e3s4, tmp$ret$0.slice());
|
|
2351
|
+
}
|
|
2352
|
+
function serializerByKTypeImpl(_this__u8e3s4, type, failOnMissingTypeArgSerializer) {
|
|
2353
|
+
var rootClass = kclass(type);
|
|
2354
|
+
var isNullable = type.se();
|
|
2355
|
+
// Inline function 'kotlin.collections.map' call
|
|
2356
|
+
var this_0 = type.re();
|
|
2357
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
2358
|
+
var destination = ArrayList.k1(collectionSizeOrDefault(this_0, 10));
|
|
2359
|
+
var _iterator__ex2g4s = this_0.d1();
|
|
2360
|
+
while (_iterator__ex2g4s.e1()) {
|
|
2361
|
+
var item = _iterator__ex2g4s.f1();
|
|
2362
|
+
// Inline function 'kotlinx.serialization.serializerByKTypeImpl.stub_for_inlining' call
|
|
2363
|
+
var tmp$ret$0 = typeOrThrow(item);
|
|
2364
|
+
destination.o(tmp$ret$0);
|
|
2365
|
+
}
|
|
2366
|
+
var typeArguments = destination;
|
|
2367
|
+
var tmp;
|
|
2368
|
+
if (typeArguments.a1()) {
|
|
2369
|
+
var tmp_0;
|
|
2370
|
+
if (isInterface_0(rootClass) && !(_this__u8e3s4.hp(rootClass) == null)) {
|
|
2371
|
+
tmp_0 = null;
|
|
2372
|
+
} else {
|
|
2373
|
+
tmp_0 = findCachedSerializer(rootClass, isNullable);
|
|
2374
|
+
}
|
|
2375
|
+
tmp = tmp_0;
|
|
2376
|
+
} else {
|
|
2377
|
+
var tmp_1;
|
|
2378
|
+
if (_this__u8e3s4.gp()) {
|
|
2379
|
+
tmp_1 = null;
|
|
2380
|
+
} else {
|
|
2381
|
+
// Inline function 'kotlin.Result.getOrNull' call
|
|
2382
|
+
var this_1 = findParametrizedCachedSerializer(rootClass, typeArguments, isNullable);
|
|
2383
|
+
var tmp_2;
|
|
2384
|
+
if (_Result___get_isFailure__impl__jpiriv(this_1)) {
|
|
2385
|
+
tmp_2 = null;
|
|
2386
|
+
} else {
|
|
2387
|
+
var tmp_3 = _Result___get_value__impl__bjfvqg(this_1);
|
|
2388
|
+
tmp_2 = (tmp_3 == null ? true : !(tmp_3 == null)) ? tmp_3 : THROW_CCE();
|
|
2389
|
+
}
|
|
2390
|
+
tmp_1 = tmp_2;
|
|
2391
|
+
}
|
|
2392
|
+
tmp = tmp_1;
|
|
2393
|
+
}
|
|
2394
|
+
var cachedSerializer = tmp;
|
|
2395
|
+
if (!(cachedSerializer == null))
|
|
2396
|
+
return cachedSerializer;
|
|
2397
|
+
var tmp_4;
|
|
2398
|
+
if (typeArguments.a1()) {
|
|
2399
|
+
var tmp0_elvis_lhs = serializerOrNull(rootClass);
|
|
2400
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? _this__u8e3s4.hp(rootClass) : tmp0_elvis_lhs;
|
|
2401
|
+
var tmp_5;
|
|
2402
|
+
if (tmp1_elvis_lhs == null) {
|
|
2403
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
2404
|
+
tmp_5 = isInterface_0(rootClass) ? new PolymorphicSerializer(rootClass) : null;
|
|
2405
|
+
} else {
|
|
2406
|
+
tmp_5 = tmp1_elvis_lhs;
|
|
2407
|
+
}
|
|
2408
|
+
tmp_4 = tmp_5;
|
|
2409
|
+
} else {
|
|
2410
|
+
var tmp2_elvis_lhs = serializersForParameters(_this__u8e3s4, typeArguments, failOnMissingTypeArgSerializer);
|
|
2411
|
+
var tmp_6;
|
|
2412
|
+
if (tmp2_elvis_lhs == null) {
|
|
2413
|
+
return null;
|
|
2414
|
+
} else {
|
|
2415
|
+
tmp_6 = tmp2_elvis_lhs;
|
|
2416
|
+
}
|
|
2417
|
+
var serializers = tmp_6;
|
|
2418
|
+
var tmp3_elvis_lhs = parametrizedSerializerOrNull(rootClass, serializers, serializerByKTypeImpl$lambda(typeArguments));
|
|
2419
|
+
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? _this__u8e3s4.ip(rootClass, serializers) : tmp3_elvis_lhs;
|
|
2420
|
+
var tmp_7;
|
|
2421
|
+
if (tmp4_elvis_lhs == null) {
|
|
2422
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
2423
|
+
tmp_7 = isInterface_0(rootClass) ? new PolymorphicSerializer(rootClass) : null;
|
|
2424
|
+
} else {
|
|
2425
|
+
tmp_7 = tmp4_elvis_lhs;
|
|
2426
|
+
}
|
|
2427
|
+
tmp_4 = tmp_7;
|
|
2428
|
+
}
|
|
2429
|
+
var contextualSerializer = tmp_4;
|
|
2430
|
+
var tmp_8;
|
|
2431
|
+
if (contextualSerializer == null) {
|
|
2432
|
+
tmp_8 = null;
|
|
2433
|
+
} else {
|
|
2434
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2435
|
+
tmp_8 = isInterface(contextualSerializer, KSerializer) ? contextualSerializer : THROW_CCE();
|
|
2436
|
+
}
|
|
2437
|
+
var tmp6_safe_receiver = tmp_8;
|
|
2438
|
+
return tmp6_safe_receiver == null ? null : nullable(tmp6_safe_receiver, isNullable);
|
|
2439
|
+
}
|
|
2440
|
+
function nullable(_this__u8e3s4, shouldBeNullable) {
|
|
2441
|
+
if (shouldBeNullable)
|
|
2442
|
+
return get_nullable(_this__u8e3s4);
|
|
2443
|
+
return isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
|
|
2444
|
+
}
|
|
2445
|
+
function serializerByKTypeImpl$lambda($typeArguments) {
|
|
2446
|
+
return () => $typeArguments.j1(0).qe();
|
|
2447
|
+
}
|
|
2448
|
+
function get_SERIALIZERS_CACHE() {
|
|
2449
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2450
|
+
return SERIALIZERS_CACHE;
|
|
2451
|
+
}
|
|
2452
|
+
var SERIALIZERS_CACHE;
|
|
2453
|
+
function get_SERIALIZERS_CACHE_NULLABLE() {
|
|
2454
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2455
|
+
return SERIALIZERS_CACHE_NULLABLE;
|
|
2456
|
+
}
|
|
2457
|
+
var SERIALIZERS_CACHE_NULLABLE;
|
|
2458
|
+
function get_PARAMETRIZED_SERIALIZERS_CACHE() {
|
|
2459
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2460
|
+
return PARAMETRIZED_SERIALIZERS_CACHE;
|
|
2461
|
+
}
|
|
2462
|
+
var PARAMETRIZED_SERIALIZERS_CACHE;
|
|
2463
|
+
function get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE() {
|
|
2464
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2465
|
+
return PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
|
|
2466
|
+
}
|
|
2467
|
+
var PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE;
|
|
2468
|
+
function findCachedSerializer(clazz, isNullable) {
|
|
2469
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2470
|
+
var tmp;
|
|
2471
|
+
if (!isNullable) {
|
|
2472
|
+
var tmp0_safe_receiver = get_SERIALIZERS_CACHE().jp(clazz);
|
|
2473
|
+
var tmp_0;
|
|
2474
|
+
if (tmp0_safe_receiver == null) {
|
|
2475
|
+
tmp_0 = null;
|
|
2476
|
+
} else {
|
|
2477
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2478
|
+
tmp_0 = isInterface(tmp0_safe_receiver, KSerializer) ? tmp0_safe_receiver : THROW_CCE();
|
|
2479
|
+
}
|
|
2480
|
+
tmp = tmp_0;
|
|
2481
|
+
} else {
|
|
2482
|
+
tmp = get_SERIALIZERS_CACHE_NULLABLE().jp(clazz);
|
|
2483
|
+
}
|
|
2484
|
+
return tmp;
|
|
2485
|
+
}
|
|
2486
|
+
function findParametrizedCachedSerializer(clazz, types, isNullable) {
|
|
2487
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2488
|
+
var tmp;
|
|
2489
|
+
if (!isNullable) {
|
|
2490
|
+
var tmp_0 = get_PARAMETRIZED_SERIALIZERS_CACHE().kp(clazz, types);
|
|
2491
|
+
tmp = new Result(tmp_0) instanceof Result ? tmp_0 : THROW_CCE();
|
|
2492
|
+
} else {
|
|
2493
|
+
tmp = get_PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE().kp(clazz, types);
|
|
2494
|
+
}
|
|
2495
|
+
return tmp;
|
|
2496
|
+
}
|
|
2497
|
+
function SERIALIZERS_CACHE$lambda(it) {
|
|
2498
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2499
|
+
var tmp0_elvis_lhs = serializerOrNull(it);
|
|
2500
|
+
var tmp;
|
|
2501
|
+
if (tmp0_elvis_lhs == null) {
|
|
2502
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
2503
|
+
tmp = isInterface_0(it) ? new PolymorphicSerializer(it) : null;
|
|
2504
|
+
} else {
|
|
2505
|
+
tmp = tmp0_elvis_lhs;
|
|
2506
|
+
}
|
|
2507
|
+
return tmp;
|
|
2508
|
+
}
|
|
2509
|
+
function SERIALIZERS_CACHE_NULLABLE$lambda(it) {
|
|
2510
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2511
|
+
var tmp0_elvis_lhs = serializerOrNull(it);
|
|
2512
|
+
var tmp;
|
|
2513
|
+
if (tmp0_elvis_lhs == null) {
|
|
2514
|
+
// Inline function 'kotlinx.serialization.polymorphicIfInterface' call
|
|
2515
|
+
tmp = isInterface_0(it) ? new PolymorphicSerializer(it) : null;
|
|
2516
|
+
} else {
|
|
2517
|
+
tmp = tmp0_elvis_lhs;
|
|
2518
|
+
}
|
|
2519
|
+
var tmp1_safe_receiver = tmp;
|
|
2520
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : get_nullable(tmp1_safe_receiver);
|
|
2521
|
+
var tmp_0;
|
|
2522
|
+
if (tmp2_safe_receiver == null) {
|
|
2523
|
+
tmp_0 = null;
|
|
2524
|
+
} else {
|
|
2525
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2526
|
+
tmp_0 = isInterface(tmp2_safe_receiver, KSerializer) ? tmp2_safe_receiver : THROW_CCE();
|
|
2527
|
+
}
|
|
2528
|
+
return tmp_0;
|
|
2529
|
+
}
|
|
2530
|
+
function PARAMETRIZED_SERIALIZERS_CACHE$lambda(clazz, types) {
|
|
2531
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2532
|
+
var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
|
|
2533
|
+
return parametrizedSerializerOrNull(clazz, serializers, PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda(types));
|
|
2534
|
+
}
|
|
2535
|
+
function PARAMETRIZED_SERIALIZERS_CACHE$lambda$lambda($types) {
|
|
2536
|
+
return () => $types.j1(0).qe();
|
|
2537
|
+
}
|
|
2538
|
+
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda(clazz, types) {
|
|
2539
|
+
_init_properties_SerializersCache_kt__hgwi2p();
|
|
2540
|
+
var serializers = ensureNotNull(serializersForParameters(EmptySerializersModule_0(), types, true));
|
|
2541
|
+
var tmp0_safe_receiver = parametrizedSerializerOrNull(clazz, serializers, PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda(types));
|
|
2542
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_nullable(tmp0_safe_receiver);
|
|
2543
|
+
var tmp;
|
|
2544
|
+
if (tmp1_safe_receiver == null) {
|
|
2545
|
+
tmp = null;
|
|
2546
|
+
} else {
|
|
2547
|
+
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2548
|
+
tmp = isInterface(tmp1_safe_receiver, KSerializer) ? tmp1_safe_receiver : THROW_CCE();
|
|
2549
|
+
}
|
|
2550
|
+
return tmp;
|
|
2551
|
+
}
|
|
2552
|
+
function PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda$lambda($types) {
|
|
2553
|
+
return () => $types.j1(0).qe();
|
|
2554
|
+
}
|
|
2555
|
+
var properties_initialized_SerializersCache_kt_q8kf25;
|
|
2556
|
+
function _init_properties_SerializersCache_kt__hgwi2p() {
|
|
2557
|
+
if (!properties_initialized_SerializersCache_kt_q8kf25) {
|
|
2558
|
+
properties_initialized_SerializersCache_kt_q8kf25 = true;
|
|
2559
|
+
SERIALIZERS_CACHE = createCache(SERIALIZERS_CACHE$lambda);
|
|
2560
|
+
SERIALIZERS_CACHE_NULLABLE = createCache(SERIALIZERS_CACHE_NULLABLE$lambda);
|
|
2561
|
+
PARAMETRIZED_SERIALIZERS_CACHE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE$lambda);
|
|
2562
|
+
PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE = createParametrizedCache(PARAMETRIZED_SERIALIZERS_CACHE_NULLABLE$lambda);
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
function get_nullable(_this__u8e3s4) {
|
|
2566
|
+
var tmp;
|
|
2567
|
+
if (_this__u8e3s4.io().lp()) {
|
|
2568
|
+
tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
|
|
2569
|
+
} else {
|
|
2570
|
+
tmp = new NullableSerializer(_this__u8e3s4);
|
|
2571
|
+
}
|
|
2572
|
+
return tmp;
|
|
2573
|
+
}
|
|
2574
|
+
function serializer_0(_this__u8e3s4) {
|
|
2575
|
+
return StringSerializer_getInstance();
|
|
2576
|
+
}
|
|
2577
|
+
function serializer_1(_this__u8e3s4) {
|
|
2578
|
+
return CharSerializer_getInstance();
|
|
2579
|
+
}
|
|
2580
|
+
function CharArraySerializer_0() {
|
|
2581
|
+
return CharArraySerializer_getInstance();
|
|
2582
|
+
}
|
|
2583
|
+
function serializer_2(_this__u8e3s4) {
|
|
2584
|
+
return DoubleSerializer_getInstance();
|
|
2585
|
+
}
|
|
2586
|
+
function DoubleArraySerializer_0() {
|
|
2587
|
+
return DoubleArraySerializer_getInstance();
|
|
2588
|
+
}
|
|
2589
|
+
function serializer_3(_this__u8e3s4) {
|
|
2590
|
+
return FloatSerializer_getInstance();
|
|
2591
|
+
}
|
|
2592
|
+
function FloatArraySerializer_0() {
|
|
2593
|
+
return FloatArraySerializer_getInstance();
|
|
2594
|
+
}
|
|
2595
|
+
function serializer_4(_this__u8e3s4) {
|
|
2596
|
+
return LongSerializer_getInstance();
|
|
2597
|
+
}
|
|
2598
|
+
function LongArraySerializer_0() {
|
|
2599
|
+
return LongArraySerializer_getInstance();
|
|
2600
|
+
}
|
|
2601
|
+
function serializer_5(_this__u8e3s4) {
|
|
2602
|
+
return ULongSerializer_getInstance();
|
|
2603
|
+
}
|
|
2604
|
+
function ULongArraySerializer_0() {
|
|
2605
|
+
return ULongArraySerializer_getInstance();
|
|
2606
|
+
}
|
|
2607
|
+
function serializer_6(_this__u8e3s4) {
|
|
2608
|
+
return IntSerializer_getInstance();
|
|
2609
|
+
}
|
|
2610
|
+
function IntArraySerializer_0() {
|
|
2611
|
+
return IntArraySerializer_getInstance();
|
|
2612
|
+
}
|
|
2613
|
+
function serializer_7(_this__u8e3s4) {
|
|
2614
|
+
return UIntSerializer_getInstance();
|
|
2615
|
+
}
|
|
2616
|
+
function UIntArraySerializer_0() {
|
|
2617
|
+
return UIntArraySerializer_getInstance();
|
|
2618
|
+
}
|
|
2619
|
+
function serializer_8(_this__u8e3s4) {
|
|
2620
|
+
return ShortSerializer_getInstance();
|
|
2621
|
+
}
|
|
2622
|
+
function ShortArraySerializer_0() {
|
|
2623
|
+
return ShortArraySerializer_getInstance();
|
|
2624
|
+
}
|
|
2625
|
+
function serializer_9(_this__u8e3s4) {
|
|
2626
|
+
return UShortSerializer_getInstance();
|
|
2627
|
+
}
|
|
2628
|
+
function UShortArraySerializer_0() {
|
|
2629
|
+
return UShortArraySerializer_getInstance();
|
|
2630
|
+
}
|
|
2631
|
+
function serializer_10(_this__u8e3s4) {
|
|
2632
|
+
return ByteSerializer_getInstance();
|
|
2633
|
+
}
|
|
2634
|
+
function ByteArraySerializer_0() {
|
|
2635
|
+
return ByteArraySerializer_getInstance();
|
|
2636
|
+
}
|
|
2637
|
+
function serializer_11(_this__u8e3s4) {
|
|
2638
|
+
return UByteSerializer_getInstance();
|
|
2639
|
+
}
|
|
2640
|
+
function UByteArraySerializer_0() {
|
|
2641
|
+
return UByteArraySerializer_getInstance();
|
|
2642
|
+
}
|
|
2643
|
+
function serializer_12(_this__u8e3s4) {
|
|
2644
|
+
return BooleanSerializer_getInstance();
|
|
2645
|
+
}
|
|
2646
|
+
function BooleanArraySerializer_0() {
|
|
2647
|
+
return BooleanArraySerializer_getInstance();
|
|
2648
|
+
}
|
|
2649
|
+
function serializer_13(_this__u8e3s4) {
|
|
2650
|
+
return UnitSerializer_getInstance();
|
|
2651
|
+
}
|
|
2652
|
+
function NothingSerializer_0() {
|
|
2653
|
+
return NothingSerializer_getInstance();
|
|
2654
|
+
}
|
|
2655
|
+
function serializer_14(_this__u8e3s4) {
|
|
2656
|
+
return DurationSerializer_getInstance();
|
|
2657
|
+
}
|
|
2658
|
+
function serializer_15(_this__u8e3s4) {
|
|
2659
|
+
return UuidSerializer_getInstance();
|
|
2660
|
+
}
|
|
2661
|
+
function MapEntrySerializer_0(keySerializer, valueSerializer) {
|
|
2662
|
+
return new MapEntrySerializer(keySerializer, valueSerializer);
|
|
2663
|
+
}
|
|
2664
|
+
function PairSerializer_0(keySerializer, valueSerializer) {
|
|
2665
|
+
return new PairSerializer(keySerializer, valueSerializer);
|
|
2666
|
+
}
|
|
2667
|
+
function TripleSerializer_0(aSerializer, bSerializer, cSerializer) {
|
|
2668
|
+
return new TripleSerializer(aSerializer, bSerializer, cSerializer);
|
|
2669
|
+
}
|
|
2670
|
+
function ArraySerializer(kClass, elementSerializer) {
|
|
2671
|
+
return new ReferenceArraySerializer(kClass, elementSerializer);
|
|
2672
|
+
}
|
|
2673
|
+
function withContext(_this__u8e3s4, context) {
|
|
2674
|
+
return new ContextDescriptor(_this__u8e3s4, context);
|
|
2675
|
+
}
|
|
2676
|
+
function getContextualDescriptor(_this__u8e3s4, descriptor) {
|
|
2677
|
+
var tmp0_safe_receiver = get_capturedKClass(descriptor);
|
|
2678
|
+
var tmp;
|
|
2679
|
+
if (tmp0_safe_receiver == null) {
|
|
2680
|
+
tmp = null;
|
|
2681
|
+
} else {
|
|
2682
|
+
// Inline function 'kotlin.let' call
|
|
2683
|
+
// Inline function 'kotlinx.serialization.descriptors.getContextualDescriptor.<anonymous>' call
|
|
2684
|
+
var tmp0_safe_receiver_0 = _this__u8e3s4.hp(tmp0_safe_receiver);
|
|
2685
|
+
tmp = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.io();
|
|
2686
|
+
}
|
|
2687
|
+
return tmp;
|
|
2688
|
+
}
|
|
2689
|
+
function get_capturedKClass(_this__u8e3s4) {
|
|
2690
|
+
var tmp;
|
|
2691
|
+
if (_this__u8e3s4 instanceof ContextDescriptor) {
|
|
2692
|
+
tmp = _this__u8e3s4.np_1;
|
|
2693
|
+
} else {
|
|
2694
|
+
if (_this__u8e3s4 instanceof SerialDescriptorForNullable) {
|
|
2695
|
+
tmp = get_capturedKClass(_this__u8e3s4.wp_1);
|
|
2696
|
+
} else {
|
|
2697
|
+
tmp = null;
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
return tmp;
|
|
2701
|
+
}
|
|
2702
|
+
function get_elementDescriptors(_this__u8e3s4) {
|
|
2703
|
+
// Inline function 'kotlin.collections.Iterable' call
|
|
2704
|
+
return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4);
|
|
2705
|
+
}
|
|
2706
|
+
function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
|
|
2707
|
+
var tmp;
|
|
2708
|
+
if (builder === VOID) {
|
|
2709
|
+
tmp = buildSerialDescriptor$lambda;
|
|
2710
|
+
} else {
|
|
2711
|
+
tmp = builder;
|
|
2712
|
+
}
|
|
2713
|
+
builder = tmp;
|
|
2714
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
2715
|
+
// Inline function 'kotlin.require' call
|
|
2716
|
+
if (!!isBlank(serialName)) {
|
|
2717
|
+
// Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
|
|
2718
|
+
var message = 'Blank serial names are prohibited';
|
|
2719
|
+
throw IllegalArgumentException.s(toString(message));
|
|
2720
|
+
}
|
|
2721
|
+
// Inline function 'kotlin.require' call
|
|
2722
|
+
if (!!equals(kind, CLASS_getInstance())) {
|
|
2723
|
+
// Inline function 'kotlinx.serialization.descriptors.buildSerialDescriptor.<anonymous>' call
|
|
2724
|
+
var message_0 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead";
|
|
2725
|
+
throw IllegalArgumentException.s(toString(message_0));
|
|
2726
|
+
}
|
|
2727
|
+
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
2728
|
+
builder(sdBuilder);
|
|
2729
|
+
return new SerialDescriptorImpl(serialName, kind, sdBuilder.no_1.i1(), toList(typeParameters), sdBuilder);
|
|
2730
|
+
}
|
|
2731
|
+
function _get__hashCode__tgwhef($this) {
|
|
2732
|
+
var tmp0 = $this.oq_1;
|
|
2733
|
+
// Inline function 'kotlin.getValue' call
|
|
2734
|
+
_hashCode$factory();
|
|
2735
|
+
return tmp0.s1();
|
|
2736
|
+
}
|
|
2737
|
+
function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
|
|
2738
|
+
return () => hashCodeImpl(this$0, this$0.nq_1);
|
|
2739
|
+
}
|
|
2740
|
+
function SerialDescriptorImpl$toString$lambda(this$0) {
|
|
2741
|
+
return (it) => this$0.up(it) + ': ' + this$0.vp(it).pp();
|
|
2742
|
+
}
|
|
2743
|
+
function buildClassSerialDescriptor(serialName, typeParameters, builderAction) {
|
|
2744
|
+
var tmp;
|
|
2745
|
+
if (builderAction === VOID) {
|
|
2746
|
+
tmp = buildClassSerialDescriptor$lambda;
|
|
2747
|
+
} else {
|
|
2748
|
+
tmp = builderAction;
|
|
2749
|
+
}
|
|
2750
|
+
builderAction = tmp;
|
|
2751
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
2752
|
+
// Inline function 'kotlin.require' call
|
|
2753
|
+
if (!!isBlank(serialName)) {
|
|
2754
|
+
// Inline function 'kotlinx.serialization.descriptors.buildClassSerialDescriptor.<anonymous>' call
|
|
2755
|
+
var message = 'Blank serial names are prohibited';
|
|
2756
|
+
throw IllegalArgumentException.s(toString(message));
|
|
2757
|
+
}
|
|
2758
|
+
var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
|
|
2759
|
+
builderAction(sdBuilder);
|
|
2760
|
+
return new SerialDescriptorImpl(serialName, CLASS_getInstance(), sdBuilder.no_1.i1(), toList(typeParameters), sdBuilder);
|
|
2761
|
+
}
|
|
2762
|
+
function PrimitiveSerialDescriptor_0(serialName, kind) {
|
|
2763
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
2764
|
+
// Inline function 'kotlin.require' call
|
|
2765
|
+
if (!!isBlank(serialName)) {
|
|
2766
|
+
// Inline function 'kotlinx.serialization.descriptors.PrimitiveSerialDescriptor.<anonymous>' call
|
|
2767
|
+
var message = 'Blank serial names are prohibited';
|
|
2768
|
+
throw IllegalArgumentException.s(toString(message));
|
|
2769
|
+
}
|
|
2770
|
+
return PrimitiveDescriptorSafe(serialName, kind);
|
|
2771
|
+
}
|
|
2772
|
+
function buildSerialDescriptor$lambda(_this__u8e3s4) {
|
|
2773
|
+
return Unit_instance;
|
|
2774
|
+
}
|
|
2775
|
+
function buildClassSerialDescriptor$lambda(_this__u8e3s4) {
|
|
2776
|
+
return Unit_instance;
|
|
2777
|
+
}
|
|
2778
|
+
function _hashCode$factory() {
|
|
2779
|
+
return getPropertyCallableRef('_hashCode', 1, KProperty1, (receiver) => _get__hashCode__tgwhef(receiver), null);
|
|
2780
|
+
}
|
|
2781
|
+
var ENUM_instance;
|
|
2782
|
+
function ENUM_getInstance() {
|
|
2783
|
+
if (ENUM_instance === VOID)
|
|
2784
|
+
new ENUM();
|
|
2785
|
+
return ENUM_instance;
|
|
2786
|
+
}
|
|
2787
|
+
var CONTEXTUAL_instance;
|
|
2788
|
+
function CONTEXTUAL_getInstance() {
|
|
2789
|
+
if (CONTEXTUAL_instance === VOID)
|
|
2790
|
+
new CONTEXTUAL();
|
|
2791
|
+
return CONTEXTUAL_instance;
|
|
2792
|
+
}
|
|
2793
|
+
var OPEN_instance;
|
|
2794
|
+
function OPEN_getInstance() {
|
|
2795
|
+
if (OPEN_instance === VOID)
|
|
2796
|
+
new OPEN();
|
|
2797
|
+
return OPEN_instance;
|
|
2798
|
+
}
|
|
2799
|
+
var BOOLEAN_instance;
|
|
2800
|
+
function BOOLEAN_getInstance() {
|
|
2801
|
+
if (BOOLEAN_instance === VOID)
|
|
2802
|
+
new BOOLEAN();
|
|
2803
|
+
return BOOLEAN_instance;
|
|
2804
|
+
}
|
|
2805
|
+
var BYTE_instance;
|
|
2806
|
+
function BYTE_getInstance() {
|
|
2807
|
+
if (BYTE_instance === VOID)
|
|
2808
|
+
new BYTE();
|
|
2809
|
+
return BYTE_instance;
|
|
2810
|
+
}
|
|
2811
|
+
var CHAR_instance;
|
|
2812
|
+
function CHAR_getInstance() {
|
|
2813
|
+
if (CHAR_instance === VOID)
|
|
2814
|
+
new CHAR();
|
|
2815
|
+
return CHAR_instance;
|
|
2816
|
+
}
|
|
2817
|
+
var SHORT_instance;
|
|
2818
|
+
function SHORT_getInstance() {
|
|
2819
|
+
if (SHORT_instance === VOID)
|
|
2820
|
+
new SHORT();
|
|
2821
|
+
return SHORT_instance;
|
|
2822
|
+
}
|
|
2823
|
+
var INT_instance;
|
|
2824
|
+
function INT_getInstance() {
|
|
2825
|
+
if (INT_instance === VOID)
|
|
2826
|
+
new INT();
|
|
2827
|
+
return INT_instance;
|
|
2828
|
+
}
|
|
2829
|
+
var LONG_instance;
|
|
2830
|
+
function LONG_getInstance() {
|
|
2831
|
+
if (LONG_instance === VOID)
|
|
2832
|
+
new LONG();
|
|
2833
|
+
return LONG_instance;
|
|
2834
|
+
}
|
|
2835
|
+
var FLOAT_instance;
|
|
2836
|
+
function FLOAT_getInstance() {
|
|
2837
|
+
if (FLOAT_instance === VOID)
|
|
2838
|
+
new FLOAT();
|
|
2839
|
+
return FLOAT_instance;
|
|
2840
|
+
}
|
|
2841
|
+
var DOUBLE_instance;
|
|
2842
|
+
function DOUBLE_getInstance() {
|
|
2843
|
+
if (DOUBLE_instance === VOID)
|
|
2844
|
+
new DOUBLE();
|
|
2845
|
+
return DOUBLE_instance;
|
|
2846
|
+
}
|
|
2847
|
+
var STRING_instance;
|
|
2848
|
+
function STRING_getInstance() {
|
|
2849
|
+
if (STRING_instance === VOID)
|
|
2850
|
+
new STRING();
|
|
2851
|
+
return STRING_instance;
|
|
2852
|
+
}
|
|
2853
|
+
var CLASS_instance;
|
|
2854
|
+
function CLASS_getInstance() {
|
|
2855
|
+
if (CLASS_instance === VOID)
|
|
2856
|
+
new CLASS();
|
|
2857
|
+
return CLASS_instance;
|
|
2858
|
+
}
|
|
2859
|
+
var LIST_instance;
|
|
2860
|
+
function LIST_getInstance() {
|
|
2861
|
+
if (LIST_instance === VOID)
|
|
2862
|
+
new LIST();
|
|
2863
|
+
return LIST_instance;
|
|
2864
|
+
}
|
|
2865
|
+
var MAP_instance;
|
|
2866
|
+
function MAP_getInstance() {
|
|
2867
|
+
if (MAP_instance === VOID)
|
|
2868
|
+
new MAP();
|
|
2869
|
+
return MAP_instance;
|
|
2870
|
+
}
|
|
2871
|
+
var OBJECT_instance;
|
|
2872
|
+
function OBJECT_getInstance() {
|
|
2873
|
+
if (OBJECT_instance === VOID)
|
|
2874
|
+
new OBJECT();
|
|
2875
|
+
return OBJECT_instance;
|
|
2876
|
+
}
|
|
2877
|
+
function throwSubtypeNotRegistered(subClass, baseClass) {
|
|
2878
|
+
var tmp0_elvis_lhs = subClass.ce();
|
|
2879
|
+
throwSubtypeNotRegistered_0(tmp0_elvis_lhs == null ? toString(subClass) : tmp0_elvis_lhs, baseClass);
|
|
2880
|
+
}
|
|
2881
|
+
function throwSubtypeNotRegistered_0(subClassName, baseClass) {
|
|
2882
|
+
var scope = "in the polymorphic scope of '" + baseClass.ce() + "'";
|
|
2883
|
+
throw SerializationException.fp(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.ce() + "' has to be sealed and '@Serializable'."));
|
|
2884
|
+
}
|
|
2885
|
+
var NothingSerializer_instance;
|
|
2886
|
+
function NothingSerializer_getInstance() {
|
|
2887
|
+
if (NothingSerializer_instance === VOID)
|
|
2888
|
+
new NothingSerializer();
|
|
2889
|
+
return NothingSerializer_instance;
|
|
2890
|
+
}
|
|
2891
|
+
var DurationSerializer_instance;
|
|
2892
|
+
function DurationSerializer_getInstance() {
|
|
2893
|
+
if (DurationSerializer_instance === VOID)
|
|
2894
|
+
new DurationSerializer();
|
|
2895
|
+
return DurationSerializer_instance;
|
|
2896
|
+
}
|
|
2897
|
+
var UuidSerializer_instance;
|
|
2898
|
+
function UuidSerializer_getInstance() {
|
|
2899
|
+
if (UuidSerializer_instance === VOID)
|
|
2900
|
+
new UuidSerializer();
|
|
2901
|
+
return UuidSerializer_instance;
|
|
2902
|
+
}
|
|
2903
|
+
function InlinePrimitiveDescriptor(name, primitiveSerializer) {
|
|
2904
|
+
return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
|
|
2905
|
+
}
|
|
2906
|
+
function jsonCachedSerialNames(_this__u8e3s4) {
|
|
2907
|
+
return cachedSerialNames(_this__u8e3s4);
|
|
2908
|
+
}
|
|
2909
|
+
var NoOpEncoder_instance;
|
|
2910
|
+
function NoOpEncoder_getInstance() {
|
|
2911
|
+
if (NoOpEncoder_instance === VOID)
|
|
2912
|
+
NoOpEncoder.iv();
|
|
2913
|
+
return NoOpEncoder_instance;
|
|
2914
|
+
}
|
|
2915
|
+
function error($this) {
|
|
2916
|
+
throw IllegalStateException.e4('Descriptor for type `kotlin.Nothing` does not have elements');
|
|
2917
|
+
}
|
|
2918
|
+
var NothingSerialDescriptor_instance;
|
|
2919
|
+
function NothingSerialDescriptor_getInstance() {
|
|
2920
|
+
if (NothingSerialDescriptor_instance === VOID)
|
|
2921
|
+
new NothingSerialDescriptor();
|
|
2922
|
+
return NothingSerialDescriptor_instance;
|
|
2923
|
+
}
|
|
2924
|
+
function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
|
|
2925
|
+
return ($this$buildSerialDescriptor) => {
|
|
2926
|
+
$this$buildSerialDescriptor.mo_1 = this$0.pv_1;
|
|
2927
|
+
return Unit_instance;
|
|
2928
|
+
};
|
|
2929
|
+
}
|
|
2930
|
+
function ObjectSerializer$descriptor$delegate$lambda($serialName, this$0) {
|
|
2931
|
+
return () => {
|
|
2932
|
+
var tmp = OBJECT_getInstance();
|
|
2933
|
+
return buildSerialDescriptor($serialName, tmp, [], ObjectSerializer$descriptor$delegate$lambda$lambda(this$0));
|
|
2934
|
+
};
|
|
2935
|
+
}
|
|
2936
|
+
function descriptor$factory_1() {
|
|
2937
|
+
return getPropertyCallableRef('descriptor', 1, KProperty1, (receiver) => receiver.io(), null);
|
|
2938
|
+
}
|
|
2939
|
+
function get_EMPTY_DESCRIPTOR_ARRAY() {
|
|
2940
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2941
|
+
return EMPTY_DESCRIPTOR_ARRAY;
|
|
2942
|
+
}
|
|
2943
|
+
var EMPTY_DESCRIPTOR_ARRAY;
|
|
2944
|
+
function cachedSerialNames(_this__u8e3s4) {
|
|
2945
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2946
|
+
if (isInterface(_this__u8e3s4, CachedNames))
|
|
2947
|
+
return _this__u8e3s4.pq();
|
|
2948
|
+
var result = HashSet.h1(_this__u8e3s4.sp());
|
|
2949
|
+
var inductionVariable = 0;
|
|
2950
|
+
var last = _this__u8e3s4.sp();
|
|
2951
|
+
if (inductionVariable < last)
|
|
2952
|
+
do {
|
|
2953
|
+
var i = inductionVariable;
|
|
2954
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
2955
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
2956
|
+
var element = _this__u8e3s4.up(i);
|
|
2957
|
+
result.o(element);
|
|
2958
|
+
}
|
|
2959
|
+
while (inductionVariable < last);
|
|
2960
|
+
return result;
|
|
2961
|
+
}
|
|
2962
|
+
function kclass(_this__u8e3s4) {
|
|
2963
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2964
|
+
var t = _this__u8e3s4.qe();
|
|
2965
|
+
var tmp;
|
|
2966
|
+
if (!(t == null) ? isInterface(t, KClass) : false) {
|
|
2967
|
+
tmp = t;
|
|
2968
|
+
} else {
|
|
2969
|
+
if (!(t == null) ? isInterface(t, KTypeParameter) : false) {
|
|
2970
|
+
throw IllegalArgumentException.s('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) + '.'));
|
|
2971
|
+
} else {
|
|
2972
|
+
throw IllegalArgumentException.s('Only KClass supported as classifier, got ' + toString_0(t));
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
var tmp_0 = tmp;
|
|
2976
|
+
return isInterface(tmp_0, KClass) ? tmp_0 : THROW_CCE();
|
|
2977
|
+
}
|
|
2978
|
+
function typeOrThrow(_this__u8e3s4) {
|
|
2979
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2980
|
+
var tmp0 = _this__u8e3s4.bl_1;
|
|
2981
|
+
var tmp$ret$1;
|
|
2982
|
+
$l$block: {
|
|
2983
|
+
// Inline function 'kotlin.requireNotNull' call
|
|
2984
|
+
if (tmp0 == null) {
|
|
2985
|
+
// Inline function 'kotlinx.serialization.internal.typeOrThrow.<anonymous>' call
|
|
2986
|
+
var message = 'Star projections in type arguments are not allowed, but had ' + toString_0(_this__u8e3s4.bl_1);
|
|
2987
|
+
throw IllegalArgumentException.s(toString(message));
|
|
2988
|
+
} else {
|
|
2989
|
+
tmp$ret$1 = tmp0;
|
|
2990
|
+
break $l$block;
|
|
2991
|
+
}
|
|
2992
|
+
}
|
|
2993
|
+
return tmp$ret$1;
|
|
2994
|
+
}
|
|
2995
|
+
function notRegisteredMessage(_this__u8e3s4) {
|
|
2996
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
2997
|
+
var tmp0_elvis_lhs = _this__u8e3s4.ce();
|
|
2998
|
+
return notRegisteredMessage_0(tmp0_elvis_lhs == null ? '<local class name not available>' : tmp0_elvis_lhs);
|
|
2999
|
+
}
|
|
3000
|
+
function compactArray(_this__u8e3s4) {
|
|
3001
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
3002
|
+
// Inline function 'kotlin.takeUnless' call
|
|
3003
|
+
var tmp;
|
|
3004
|
+
// Inline function 'kotlinx.serialization.internal.compactArray.<anonymous>' call
|
|
3005
|
+
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
3006
|
+
if (!(_this__u8e3s4 == null || _this__u8e3s4.a1())) {
|
|
3007
|
+
tmp = _this__u8e3s4;
|
|
3008
|
+
} else {
|
|
3009
|
+
tmp = null;
|
|
3010
|
+
}
|
|
3011
|
+
var tmp0_safe_receiver = tmp;
|
|
3012
|
+
var tmp_0;
|
|
3013
|
+
if (tmp0_safe_receiver == null) {
|
|
3014
|
+
tmp_0 = null;
|
|
3015
|
+
} else {
|
|
3016
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3017
|
+
tmp_0 = copyToArray(tmp0_safe_receiver);
|
|
3018
|
+
}
|
|
3019
|
+
var tmp1_elvis_lhs = tmp_0;
|
|
3020
|
+
return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
|
|
3021
|
+
}
|
|
3022
|
+
function notRegisteredMessage_0(className) {
|
|
3023
|
+
_init_properties_Platform_common_kt__3qzecs();
|
|
3024
|
+
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";
|
|
3025
|
+
}
|
|
3026
|
+
var properties_initialized_Platform_common_kt_i7q4ty;
|
|
3027
|
+
function _init_properties_Platform_common_kt__3qzecs() {
|
|
3028
|
+
if (!properties_initialized_Platform_common_kt_i7q4ty) {
|
|
3029
|
+
properties_initialized_Platform_common_kt_i7q4ty = true;
|
|
3030
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3031
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3032
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3033
|
+
EMPTY_DESCRIPTOR_ARRAY = [];
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
function hashCodeImpl(_this__u8e3s4, typeParams) {
|
|
3037
|
+
var result = getStringHashCode(_this__u8e3s4.pp());
|
|
3038
|
+
result = imul(31, result) + contentHashCode(typeParams) | 0;
|
|
3039
|
+
var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
|
|
3040
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
3041
|
+
// Inline function 'kotlin.collections.fold' call
|
|
3042
|
+
var accumulator = 1;
|
|
3043
|
+
var _iterator__ex2g4s = elementDescriptors.d1();
|
|
3044
|
+
while (_iterator__ex2g4s.e1()) {
|
|
3045
|
+
var element = _iterator__ex2g4s.f1();
|
|
3046
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
3047
|
+
var hash = accumulator;
|
|
3048
|
+
var tmp = imul(31, hash);
|
|
3049
|
+
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
3050
|
+
// Inline function 'kotlin.hashCode' call
|
|
3051
|
+
var tmp0_safe_receiver = element.pp();
|
|
3052
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
3053
|
+
accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
3054
|
+
}
|
|
3055
|
+
var namesHash = accumulator;
|
|
3056
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
|
|
3057
|
+
// Inline function 'kotlin.collections.fold' call
|
|
3058
|
+
var accumulator_0 = 1;
|
|
3059
|
+
var _iterator__ex2g4s_0 = elementDescriptors.d1();
|
|
3060
|
+
while (_iterator__ex2g4s_0.e1()) {
|
|
3061
|
+
var element_0 = _iterator__ex2g4s_0.f1();
|
|
3062
|
+
// Inline function 'kotlinx.serialization.internal.elementsHashCodeBy.<anonymous>' call
|
|
3063
|
+
var hash_0 = accumulator_0;
|
|
3064
|
+
var tmp_0 = imul(31, hash_0);
|
|
3065
|
+
// Inline function 'kotlinx.serialization.internal.hashCodeImpl.<anonymous>' call
|
|
3066
|
+
// Inline function 'kotlin.hashCode' call
|
|
3067
|
+
var tmp0_safe_receiver_0 = element_0.qp();
|
|
3068
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
3069
|
+
accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
3070
|
+
}
|
|
3071
|
+
var kindHash = accumulator_0;
|
|
3072
|
+
result = imul(31, result) + namesHash | 0;
|
|
3073
|
+
result = imul(31, result) + kindHash | 0;
|
|
3074
|
+
return result;
|
|
3075
|
+
}
|
|
3076
|
+
function _get_childSerializers__7vnyfa($this) {
|
|
3077
|
+
var tmp0 = $this.zu_1;
|
|
3078
|
+
// Inline function 'kotlin.getValue' call
|
|
3079
|
+
childSerializers$factory();
|
|
3080
|
+
return tmp0.s1();
|
|
3081
|
+
}
|
|
3082
|
+
function _get__hashCode__tgwhef_0($this) {
|
|
3083
|
+
var tmp0 = $this.bv_1;
|
|
3084
|
+
// Inline function 'kotlin.getValue' call
|
|
3085
|
+
_hashCode$factory_0();
|
|
3086
|
+
return tmp0.s1();
|
|
3087
|
+
}
|
|
3088
|
+
function buildIndices($this) {
|
|
3089
|
+
var indices = HashMap.n7();
|
|
3090
|
+
var inductionVariable = 0;
|
|
3091
|
+
var last = $this.uu_1.length - 1 | 0;
|
|
3092
|
+
if (inductionVariable <= last)
|
|
3093
|
+
do {
|
|
3094
|
+
var i = inductionVariable;
|
|
3095
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3096
|
+
// Inline function 'kotlin.collections.set' call
|
|
3097
|
+
var key = $this.uu_1[i];
|
|
3098
|
+
indices.x2(key, i);
|
|
3099
|
+
}
|
|
3100
|
+
while (inductionVariable <= last);
|
|
3101
|
+
return indices;
|
|
3102
|
+
}
|
|
3103
|
+
function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
|
|
3104
|
+
return () => {
|
|
3105
|
+
var tmp0_safe_receiver = this$0.ru_1;
|
|
3106
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.fv();
|
|
3107
|
+
return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
|
|
3108
|
+
};
|
|
3109
|
+
}
|
|
3110
|
+
function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
|
|
3111
|
+
return () => {
|
|
3112
|
+
var tmp0_safe_receiver = this$0.ru_1;
|
|
3113
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gv();
|
|
3114
|
+
var tmp;
|
|
3115
|
+
if (tmp1_safe_receiver == null) {
|
|
3116
|
+
tmp = null;
|
|
3117
|
+
} else {
|
|
3118
|
+
// Inline function 'kotlin.collections.map' call
|
|
3119
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
3120
|
+
var destination = ArrayList.k1(tmp1_safe_receiver.length);
|
|
3121
|
+
var inductionVariable = 0;
|
|
3122
|
+
var last = tmp1_safe_receiver.length;
|
|
3123
|
+
while (inductionVariable < last) {
|
|
3124
|
+
var item = tmp1_safe_receiver[inductionVariable];
|
|
3125
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3126
|
+
// Inline function 'kotlinx.serialization.internal.PluginGeneratedSerialDescriptor.typeParameterDescriptors$delegate.<anonymous>.<anonymous>' call
|
|
3127
|
+
var tmp$ret$0 = item.io();
|
|
3128
|
+
destination.o(tmp$ret$0);
|
|
3129
|
+
}
|
|
3130
|
+
tmp = destination;
|
|
3131
|
+
}
|
|
3132
|
+
return compactArray(tmp);
|
|
3133
|
+
};
|
|
3134
|
+
}
|
|
3135
|
+
function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
|
|
3136
|
+
return () => hashCodeImpl(this$0, this$0.cv());
|
|
3137
|
+
}
|
|
3138
|
+
function PluginGeneratedSerialDescriptor$toString$lambda(this$0) {
|
|
3139
|
+
return (i) => this$0.up(i) + ': ' + this$0.vp(i).pp();
|
|
3140
|
+
}
|
|
3141
|
+
function childSerializers$factory() {
|
|
3142
|
+
return getPropertyCallableRef('childSerializers', 1, KProperty1, (receiver) => _get_childSerializers__7vnyfa(receiver), null);
|
|
3143
|
+
}
|
|
3144
|
+
function typeParameterDescriptors$factory() {
|
|
3145
|
+
return getPropertyCallableRef('typeParameterDescriptors', 1, KProperty1, (receiver) => receiver.cv(), null);
|
|
3146
|
+
}
|
|
3147
|
+
function _hashCode$factory_0() {
|
|
3148
|
+
return getPropertyCallableRef('_hashCode', 1, KProperty1, (receiver) => _get__hashCode__tgwhef_0(receiver), null);
|
|
3149
|
+
}
|
|
3150
|
+
function get_EMPTY_SERIALIZER_ARRAY() {
|
|
3151
|
+
_init_properties_PluginHelperInterfaces_kt__xgvzfp();
|
|
3152
|
+
return EMPTY_SERIALIZER_ARRAY;
|
|
3153
|
+
}
|
|
3154
|
+
var EMPTY_SERIALIZER_ARRAY;
|
|
3155
|
+
var properties_initialized_PluginHelperInterfaces_kt_ap8in1;
|
|
3156
|
+
function _init_properties_PluginHelperInterfaces_kt__xgvzfp() {
|
|
3157
|
+
if (!properties_initialized_PluginHelperInterfaces_kt_ap8in1) {
|
|
3158
|
+
properties_initialized_PluginHelperInterfaces_kt_ap8in1 = true;
|
|
3159
|
+
// Inline function 'kotlin.arrayOf' call
|
|
3160
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3161
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3162
|
+
EMPTY_SERIALIZER_ARRAY = [];
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
var CharArraySerializer_instance;
|
|
3166
|
+
function CharArraySerializer_getInstance() {
|
|
3167
|
+
if (CharArraySerializer_instance === VOID)
|
|
3168
|
+
new CharArraySerializer();
|
|
3169
|
+
return CharArraySerializer_instance;
|
|
3170
|
+
}
|
|
3171
|
+
var DoubleArraySerializer_instance;
|
|
3172
|
+
function DoubleArraySerializer_getInstance() {
|
|
3173
|
+
if (DoubleArraySerializer_instance === VOID)
|
|
3174
|
+
new DoubleArraySerializer();
|
|
3175
|
+
return DoubleArraySerializer_instance;
|
|
3176
|
+
}
|
|
3177
|
+
var FloatArraySerializer_instance;
|
|
3178
|
+
function FloatArraySerializer_getInstance() {
|
|
3179
|
+
if (FloatArraySerializer_instance === VOID)
|
|
3180
|
+
new FloatArraySerializer();
|
|
3181
|
+
return FloatArraySerializer_instance;
|
|
3182
|
+
}
|
|
3183
|
+
var LongArraySerializer_instance;
|
|
3184
|
+
function LongArraySerializer_getInstance() {
|
|
3185
|
+
if (LongArraySerializer_instance === VOID)
|
|
3186
|
+
new LongArraySerializer();
|
|
3187
|
+
return LongArraySerializer_instance;
|
|
3188
|
+
}
|
|
3189
|
+
var ULongArraySerializer_instance;
|
|
3190
|
+
function ULongArraySerializer_getInstance() {
|
|
3191
|
+
if (ULongArraySerializer_instance === VOID)
|
|
3192
|
+
new ULongArraySerializer();
|
|
3193
|
+
return ULongArraySerializer_instance;
|
|
3194
|
+
}
|
|
3195
|
+
var IntArraySerializer_instance;
|
|
3196
|
+
function IntArraySerializer_getInstance() {
|
|
3197
|
+
if (IntArraySerializer_instance === VOID)
|
|
3198
|
+
new IntArraySerializer();
|
|
3199
|
+
return IntArraySerializer_instance;
|
|
3200
|
+
}
|
|
3201
|
+
var UIntArraySerializer_instance;
|
|
3202
|
+
function UIntArraySerializer_getInstance() {
|
|
3203
|
+
if (UIntArraySerializer_instance === VOID)
|
|
3204
|
+
new UIntArraySerializer();
|
|
3205
|
+
return UIntArraySerializer_instance;
|
|
3206
|
+
}
|
|
3207
|
+
var ShortArraySerializer_instance;
|
|
3208
|
+
function ShortArraySerializer_getInstance() {
|
|
3209
|
+
if (ShortArraySerializer_instance === VOID)
|
|
3210
|
+
new ShortArraySerializer();
|
|
3211
|
+
return ShortArraySerializer_instance;
|
|
3212
|
+
}
|
|
3213
|
+
var UShortArraySerializer_instance;
|
|
3214
|
+
function UShortArraySerializer_getInstance() {
|
|
3215
|
+
if (UShortArraySerializer_instance === VOID)
|
|
3216
|
+
new UShortArraySerializer();
|
|
3217
|
+
return UShortArraySerializer_instance;
|
|
3218
|
+
}
|
|
3219
|
+
var ByteArraySerializer_instance;
|
|
3220
|
+
function ByteArraySerializer_getInstance() {
|
|
3221
|
+
if (ByteArraySerializer_instance === VOID)
|
|
3222
|
+
new ByteArraySerializer();
|
|
3223
|
+
return ByteArraySerializer_instance;
|
|
3224
|
+
}
|
|
3225
|
+
var UByteArraySerializer_instance;
|
|
3226
|
+
function UByteArraySerializer_getInstance() {
|
|
3227
|
+
if (UByteArraySerializer_instance === VOID)
|
|
3228
|
+
new UByteArraySerializer();
|
|
3229
|
+
return UByteArraySerializer_instance;
|
|
3230
|
+
}
|
|
3231
|
+
var BooleanArraySerializer_instance;
|
|
3232
|
+
function BooleanArraySerializer_getInstance() {
|
|
3233
|
+
if (BooleanArraySerializer_instance === VOID)
|
|
3234
|
+
new BooleanArraySerializer();
|
|
3235
|
+
return BooleanArraySerializer_instance;
|
|
3236
|
+
}
|
|
3237
|
+
function get_BUILTIN_SERIALIZERS() {
|
|
3238
|
+
_init_properties_Primitives_kt__k0eto4();
|
|
3239
|
+
return BUILTIN_SERIALIZERS;
|
|
3240
|
+
}
|
|
3241
|
+
var BUILTIN_SERIALIZERS;
|
|
3242
|
+
function builtinSerializerOrNull(_this__u8e3s4) {
|
|
3243
|
+
_init_properties_Primitives_kt__k0eto4();
|
|
3244
|
+
var tmp = get_BUILTIN_SERIALIZERS().p2(_this__u8e3s4);
|
|
3245
|
+
return (tmp == null ? true : isInterface(tmp, KSerializer)) ? tmp : THROW_CCE();
|
|
3246
|
+
}
|
|
3247
|
+
var StringSerializer_instance;
|
|
3248
|
+
function StringSerializer_getInstance() {
|
|
3249
|
+
if (StringSerializer_instance === VOID)
|
|
3250
|
+
new StringSerializer();
|
|
3251
|
+
return StringSerializer_instance;
|
|
3252
|
+
}
|
|
3253
|
+
var CharSerializer_instance;
|
|
3254
|
+
function CharSerializer_getInstance() {
|
|
3255
|
+
if (CharSerializer_instance === VOID)
|
|
3256
|
+
new CharSerializer();
|
|
3257
|
+
return CharSerializer_instance;
|
|
3258
|
+
}
|
|
3259
|
+
var DoubleSerializer_instance;
|
|
3260
|
+
function DoubleSerializer_getInstance() {
|
|
3261
|
+
if (DoubleSerializer_instance === VOID)
|
|
3262
|
+
new DoubleSerializer();
|
|
3263
|
+
return DoubleSerializer_instance;
|
|
3264
|
+
}
|
|
3265
|
+
var FloatSerializer_instance;
|
|
3266
|
+
function FloatSerializer_getInstance() {
|
|
3267
|
+
if (FloatSerializer_instance === VOID)
|
|
3268
|
+
new FloatSerializer();
|
|
3269
|
+
return FloatSerializer_instance;
|
|
3270
|
+
}
|
|
3271
|
+
var LongSerializer_instance;
|
|
3272
|
+
function LongSerializer_getInstance() {
|
|
3273
|
+
if (LongSerializer_instance === VOID)
|
|
3274
|
+
new LongSerializer();
|
|
3275
|
+
return LongSerializer_instance;
|
|
3276
|
+
}
|
|
3277
|
+
var IntSerializer_instance;
|
|
3278
|
+
function IntSerializer_getInstance() {
|
|
3279
|
+
if (IntSerializer_instance === VOID)
|
|
3280
|
+
new IntSerializer();
|
|
3281
|
+
return IntSerializer_instance;
|
|
3282
|
+
}
|
|
3283
|
+
var ShortSerializer_instance;
|
|
3284
|
+
function ShortSerializer_getInstance() {
|
|
3285
|
+
if (ShortSerializer_instance === VOID)
|
|
3286
|
+
new ShortSerializer();
|
|
3287
|
+
return ShortSerializer_instance;
|
|
3288
|
+
}
|
|
3289
|
+
var ByteSerializer_instance;
|
|
3290
|
+
function ByteSerializer_getInstance() {
|
|
3291
|
+
if (ByteSerializer_instance === VOID)
|
|
3292
|
+
new ByteSerializer();
|
|
3293
|
+
return ByteSerializer_instance;
|
|
3294
|
+
}
|
|
3295
|
+
var BooleanSerializer_instance;
|
|
3296
|
+
function BooleanSerializer_getInstance() {
|
|
3297
|
+
if (BooleanSerializer_instance === VOID)
|
|
3298
|
+
new BooleanSerializer();
|
|
3299
|
+
return BooleanSerializer_instance;
|
|
3300
|
+
}
|
|
3301
|
+
var UnitSerializer_instance;
|
|
3302
|
+
function UnitSerializer_getInstance() {
|
|
3303
|
+
if (UnitSerializer_instance === VOID)
|
|
3304
|
+
new UnitSerializer();
|
|
3305
|
+
return UnitSerializer_instance;
|
|
3306
|
+
}
|
|
3307
|
+
function error_0($this) {
|
|
3308
|
+
throw IllegalStateException.e4('Primitive descriptor does not have elements');
|
|
3309
|
+
}
|
|
3310
|
+
function PrimitiveDescriptorSafe(serialName, kind) {
|
|
3311
|
+
_init_properties_Primitives_kt__k0eto4();
|
|
3312
|
+
checkName(serialName);
|
|
3313
|
+
return new PrimitiveSerialDescriptor(serialName, kind);
|
|
3314
|
+
}
|
|
3315
|
+
function checkName(serialName) {
|
|
3316
|
+
_init_properties_Primitives_kt__k0eto4();
|
|
3317
|
+
var values = get_BUILTIN_SERIALIZERS().r2();
|
|
3318
|
+
var _iterator__ex2g4s = values.d1();
|
|
3319
|
+
while (_iterator__ex2g4s.e1()) {
|
|
3320
|
+
var primitive = _iterator__ex2g4s.f1();
|
|
3321
|
+
var primitiveName = primitive.io().pp();
|
|
3322
|
+
if (serialName === primitiveName) {
|
|
3323
|
+
throw IllegalArgumentException.s(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exists ' + getKClassFromExpression(primitive).ce() + '.\n Please refer to SerialDescriptor documentation for additional information.\n '));
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
var properties_initialized_Primitives_kt_6dpii6;
|
|
3328
|
+
function _init_properties_Primitives_kt__k0eto4() {
|
|
3329
|
+
if (!properties_initialized_Primitives_kt_6dpii6) {
|
|
3330
|
+
properties_initialized_Primitives_kt_6dpii6 = true;
|
|
3331
|
+
BUILTIN_SERIALIZERS = initBuiltins();
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
function MapEntrySerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3335
|
+
return ($this$buildSerialDescriptor) => {
|
|
3336
|
+
$this$buildSerialDescriptor.so('key', $keySerializer.io());
|
|
3337
|
+
$this$buildSerialDescriptor.so('value', $valueSerializer.io());
|
|
3338
|
+
return Unit_instance;
|
|
3339
|
+
};
|
|
3340
|
+
}
|
|
3341
|
+
function PairSerializer$descriptor$lambda($keySerializer, $valueSerializer) {
|
|
3342
|
+
return ($this$buildClassSerialDescriptor) => {
|
|
3343
|
+
$this$buildClassSerialDescriptor.so('first', $keySerializer.io());
|
|
3344
|
+
$this$buildClassSerialDescriptor.so('second', $valueSerializer.io());
|
|
3345
|
+
return Unit_instance;
|
|
3346
|
+
};
|
|
3347
|
+
}
|
|
3348
|
+
function TripleSerializer$descriptor$lambda(this$0) {
|
|
3349
|
+
return ($this$buildClassSerialDescriptor) => {
|
|
3350
|
+
$this$buildClassSerialDescriptor.so('first', this$0.zy_1.io());
|
|
3351
|
+
$this$buildClassSerialDescriptor.so('second', this$0.az_1.io());
|
|
3352
|
+
$this$buildClassSerialDescriptor.so('third', this$0.bz_1.io());
|
|
3353
|
+
return Unit_instance;
|
|
3354
|
+
};
|
|
3355
|
+
}
|
|
3356
|
+
var ULongSerializer_instance;
|
|
3357
|
+
function ULongSerializer_getInstance() {
|
|
3358
|
+
if (ULongSerializer_instance === VOID)
|
|
3359
|
+
new ULongSerializer();
|
|
3360
|
+
return ULongSerializer_instance;
|
|
3361
|
+
}
|
|
3362
|
+
var UIntSerializer_instance;
|
|
3363
|
+
function UIntSerializer_getInstance() {
|
|
3364
|
+
if (UIntSerializer_instance === VOID)
|
|
3365
|
+
new UIntSerializer();
|
|
3366
|
+
return UIntSerializer_instance;
|
|
3367
|
+
}
|
|
3368
|
+
var UShortSerializer_instance;
|
|
3369
|
+
function UShortSerializer_getInstance() {
|
|
3370
|
+
if (UShortSerializer_instance === VOID)
|
|
3371
|
+
new UShortSerializer();
|
|
3372
|
+
return UShortSerializer_instance;
|
|
3373
|
+
}
|
|
3374
|
+
var UByteSerializer_instance;
|
|
3375
|
+
function UByteSerializer_getInstance() {
|
|
3376
|
+
if (UByteSerializer_instance === VOID)
|
|
3377
|
+
new UByteSerializer();
|
|
3378
|
+
return UByteSerializer_instance;
|
|
3379
|
+
}
|
|
3380
|
+
function get_EmptySerializersModuleLegacyJs() {
|
|
3381
|
+
_init_properties_SerializersModule_kt__u78ha3();
|
|
3382
|
+
return EmptySerializersModule;
|
|
3383
|
+
}
|
|
3384
|
+
var EmptySerializersModule;
|
|
3385
|
+
var properties_initialized_SerializersModule_kt_fjigjn;
|
|
3386
|
+
function _init_properties_SerializersModule_kt__u78ha3() {
|
|
3387
|
+
if (!properties_initialized_SerializersModule_kt_fjigjn) {
|
|
3388
|
+
properties_initialized_SerializersModule_kt_fjigjn = true;
|
|
3389
|
+
EmptySerializersModule = new SerialModuleImpl(emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap(), false);
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
function EmptySerializersModule_0() {
|
|
3393
|
+
return get_EmptySerializersModuleLegacyJs();
|
|
3394
|
+
}
|
|
3395
|
+
function createCache(factory) {
|
|
3396
|
+
return new createCache$1(factory);
|
|
3397
|
+
}
|
|
3398
|
+
function createParametrizedCache(factory) {
|
|
3399
|
+
return new createParametrizedCache$1(factory);
|
|
3400
|
+
}
|
|
3401
|
+
function isInterface_0(_this__u8e3s4) {
|
|
3402
|
+
return get_isInterface(_this__u8e3s4);
|
|
3403
|
+
}
|
|
3404
|
+
function initBuiltins() {
|
|
3405
|
+
return mapOf([to(PrimitiveClasses_getInstance().df(), serializer_0(StringCompanionObject_instance)), to(getKClass(Char), serializer_1(Companion_getInstance())), to(PrimitiveClasses_getInstance().gf(), CharArraySerializer_0()), to(PrimitiveClasses_getInstance().bf(), serializer_2(DoubleCompanionObject_instance)), to(PrimitiveClasses_getInstance().mf(), DoubleArraySerializer_0()), to(PrimitiveClasses_getInstance().af(), serializer_3(FloatCompanionObject_instance)), to(PrimitiveClasses_getInstance().lf(), FloatArraySerializer_0()), to(getKClass(Long), serializer_4(Companion_getInstance_0())), to(PrimitiveClasses_getInstance().kf(), LongArraySerializer_0()), to(getKClass(ULong), serializer_5(Companion_getInstance_1())), to(getKClass(ULongArray), ULongArraySerializer_0()), to(PrimitiveClasses_getInstance().ze(), serializer_6(IntCompanionObject_instance)), to(PrimitiveClasses_getInstance().jf(), IntArraySerializer_0()), to(getKClass(UInt), serializer_7(Companion_getInstance_2())), to(getKClass(UIntArray), UIntArraySerializer_0()), to(PrimitiveClasses_getInstance().ye(), serializer_8(ShortCompanionObject_instance)), to(PrimitiveClasses_getInstance().if(), ShortArraySerializer_0()), to(getKClass(UShort), serializer_9(Companion_getInstance_3())), to(getKClass(UShortArray), UShortArraySerializer_0()), to(PrimitiveClasses_getInstance().xe(), serializer_10(ByteCompanionObject_instance)), to(PrimitiveClasses_getInstance().hf(), ByteArraySerializer_0()), to(getKClass(UByte), serializer_11(Companion_getInstance_4())), to(getKClass(UByteArray), UByteArraySerializer_0()), to(PrimitiveClasses_getInstance().we(), serializer_12(BooleanCompanionObject_instance)), to(PrimitiveClasses_getInstance().ff(), BooleanArraySerializer_0()), to(getKClass(Unit), serializer_13(Unit_instance)), to(PrimitiveClasses_getInstance().ve(), NothingSerializer_0()), to(getKClass(Duration), serializer_14(Companion_getInstance_5())), to(getKClass(Uuid), serializer_15(Companion_getInstance_6()))]);
|
|
3406
|
+
}
|
|
3407
|
+
function get_isInterface(_this__u8e3s4) {
|
|
3408
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().ve())
|
|
3409
|
+
return false;
|
|
3410
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3411
|
+
var tmp0_safe_receiver = get_js(_this__u8e3s4).$metadata$;
|
|
3412
|
+
return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kind) == 'interface';
|
|
3413
|
+
}
|
|
3414
|
+
function compiledSerializerImpl(_this__u8e3s4) {
|
|
3415
|
+
var tmp0_elvis_lhs = constructSerializerForGivenTypeArgs(_this__u8e3s4, []);
|
|
3416
|
+
var tmp;
|
|
3417
|
+
if (tmp0_elvis_lhs == null) {
|
|
3418
|
+
var tmp_0;
|
|
3419
|
+
if (_this__u8e3s4 === PrimitiveClasses_getInstance().ve()) {
|
|
3420
|
+
tmp_0 = NothingSerializer_getInstance();
|
|
3421
|
+
} else {
|
|
3422
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3423
|
+
var tmp1_safe_receiver = get_js(_this__u8e3s4).Companion;
|
|
3424
|
+
tmp_0 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.serializer();
|
|
3425
|
+
}
|
|
3426
|
+
var tmp_1 = tmp_0;
|
|
3427
|
+
tmp = (!(tmp_1 == null) ? isInterface(tmp_1, KSerializer) : false) ? tmp_1 : null;
|
|
3428
|
+
} else {
|
|
3429
|
+
tmp = tmp0_elvis_lhs;
|
|
3430
|
+
}
|
|
3431
|
+
return tmp;
|
|
3432
|
+
}
|
|
3433
|
+
function platformSpecificSerializerNotRegistered(_this__u8e3s4) {
|
|
3434
|
+
throw SerializationException.fp(notRegisteredMessage(_this__u8e3s4) + 'To get enum serializer on Kotlin/JS, it should be annotated with @Serializable annotation.');
|
|
3435
|
+
}
|
|
3436
|
+
function isReferenceArray(rootClass) {
|
|
3437
|
+
return rootClass.equals(PrimitiveClasses_getInstance().cf());
|
|
3438
|
+
}
|
|
3439
|
+
function constructSerializerForGivenTypeArgs(_this__u8e3s4, args) {
|
|
3440
|
+
var tmp;
|
|
3441
|
+
try {
|
|
3442
|
+
// Inline function 'kotlin.reflect.findAssociatedObject' call
|
|
3443
|
+
var assocObject = findAssociatedObject(_this__u8e3s4, getKClass(SerializableWith));
|
|
3444
|
+
var tmp_0;
|
|
3445
|
+
if (!(assocObject == null) ? isInterface(assocObject, KSerializer) : false) {
|
|
3446
|
+
tmp_0 = isInterface(assocObject, KSerializer) ? assocObject : THROW_CCE();
|
|
3447
|
+
} else {
|
|
3448
|
+
if (!(assocObject == null) ? isInterface(assocObject, SerializerFactory) : false) {
|
|
3449
|
+
var tmp_1 = assocObject.rv(args.slice());
|
|
3450
|
+
tmp_0 = isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
|
|
3451
|
+
} else {
|
|
3452
|
+
tmp_0 = null;
|
|
3453
|
+
}
|
|
3454
|
+
}
|
|
3455
|
+
tmp = tmp_0;
|
|
3456
|
+
} catch ($p) {
|
|
3457
|
+
var tmp_2;
|
|
3458
|
+
var e = $p;
|
|
3459
|
+
tmp_2 = null;
|
|
3460
|
+
tmp = tmp_2;
|
|
3461
|
+
}
|
|
3462
|
+
return tmp;
|
|
3463
|
+
}
|
|
3464
|
+
function getChecked(_this__u8e3s4, index) {
|
|
3465
|
+
if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false))
|
|
3466
|
+
throw IndexOutOfBoundsException.gd('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4).toString());
|
|
3467
|
+
return _this__u8e3s4[index];
|
|
3468
|
+
}
|
|
3469
|
+
//region block: post-declaration
|
|
3470
|
+
initMetadataForInterface(SerializationStrategy, 'SerializationStrategy');
|
|
3471
|
+
initMetadataForInterface(KSerializer, 'KSerializer', VOID, VOID, [SerializationStrategy]);
|
|
3472
|
+
initMetadataForClass(AbstractPolymorphicSerializer, 'AbstractPolymorphicSerializer', VOID, VOID, [KSerializer]);
|
|
3473
|
+
initMetadataForClass(PolymorphicSerializer, 'PolymorphicSerializer');
|
|
3474
|
+
initMetadataForClass(SealedClassSerializer, 'SealedClassSerializer');
|
|
3475
|
+
initMetadataForClass(SerializationException, 'SerializationException', SerializationException.ep);
|
|
3476
|
+
initMetadataForInterface(SerialDescriptor, 'SerialDescriptor');
|
|
3477
|
+
initMetadataForClass(ContextDescriptor, 'ContextDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
3478
|
+
initMetadataForClass(elementDescriptors$1);
|
|
3479
|
+
initMetadataForClass(elementDescriptors$$inlined$Iterable$1);
|
|
3480
|
+
initMetadataForClass(ClassSerialDescriptorBuilder, 'ClassSerialDescriptorBuilder');
|
|
3481
|
+
initMetadataForInterface(CachedNames, 'CachedNames');
|
|
3482
|
+
protoOf(SerialDescriptorImpl).lp = get_isNullable;
|
|
3483
|
+
protoOf(SerialDescriptorImpl).rp = get_isInline;
|
|
3484
|
+
initMetadataForClass(SerialDescriptorImpl, 'SerialDescriptorImpl', VOID, VOID, [SerialDescriptor, CachedNames]);
|
|
3485
|
+
initMetadataForClass(SerialKind, 'SerialKind');
|
|
3486
|
+
initMetadataForObject(ENUM, 'ENUM');
|
|
3487
|
+
initMetadataForObject(CONTEXTUAL, 'CONTEXTUAL');
|
|
3488
|
+
initMetadataForClass(PolymorphicKind, 'PolymorphicKind');
|
|
3489
|
+
initMetadataForObject(OPEN, 'OPEN');
|
|
3490
|
+
initMetadataForClass(PrimitiveKind, 'PrimitiveKind');
|
|
3491
|
+
initMetadataForObject(BOOLEAN, 'BOOLEAN');
|
|
3492
|
+
initMetadataForObject(BYTE, 'BYTE');
|
|
3493
|
+
initMetadataForObject(CHAR, 'CHAR');
|
|
3494
|
+
initMetadataForObject(SHORT, 'SHORT');
|
|
3495
|
+
initMetadataForObject(INT, 'INT');
|
|
3496
|
+
initMetadataForObject(LONG, 'LONG');
|
|
3497
|
+
initMetadataForObject(FLOAT, 'FLOAT');
|
|
3498
|
+
initMetadataForObject(DOUBLE, 'DOUBLE');
|
|
3499
|
+
initMetadataForObject(STRING, 'STRING');
|
|
3500
|
+
initMetadataForClass(StructureKind, 'StructureKind');
|
|
3501
|
+
initMetadataForObject(CLASS, 'CLASS');
|
|
3502
|
+
initMetadataForObject(LIST, 'LIST');
|
|
3503
|
+
initMetadataForObject(MAP, 'MAP');
|
|
3504
|
+
initMetadataForObject(OBJECT, 'OBJECT');
|
|
3505
|
+
initMetadataForInterface(Encoder, 'Encoder');
|
|
3506
|
+
initMetadataForInterface(CompositeEncoder, 'CompositeEncoder');
|
|
3507
|
+
protoOf(AbstractEncoder).vr = encodeNotNullMark;
|
|
3508
|
+
protoOf(AbstractEncoder).wr = beginCollection;
|
|
3509
|
+
protoOf(AbstractEncoder).rr = encodeSerializableValue;
|
|
3510
|
+
protoOf(AbstractEncoder).tr = encodeNullableSerializableValue;
|
|
3511
|
+
protoOf(AbstractEncoder).xr = shouldEncodeElementDefault;
|
|
3512
|
+
initMetadataForClass(AbstractEncoder, 'AbstractEncoder', VOID, VOID, [Encoder, CompositeEncoder]);
|
|
3513
|
+
initMetadataForObject(NothingSerializer, 'NothingSerializer', VOID, VOID, [KSerializer]);
|
|
3514
|
+
initMetadataForObject(DurationSerializer, 'DurationSerializer', VOID, VOID, [KSerializer]);
|
|
3515
|
+
initMetadataForObject(UuidSerializer, 'UuidSerializer', VOID, VOID, [KSerializer]);
|
|
3516
|
+
protoOf(ListLikeDescriptor).lp = get_isNullable;
|
|
3517
|
+
protoOf(ListLikeDescriptor).rp = get_isInline;
|
|
3518
|
+
protoOf(ListLikeDescriptor).tp = get_annotations;
|
|
3519
|
+
initMetadataForClass(ListLikeDescriptor, 'ListLikeDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
3520
|
+
initMetadataForClass(ArrayListClassDesc, 'ArrayListClassDesc');
|
|
3521
|
+
initMetadataForClass(HashSetClassDesc, 'HashSetClassDesc');
|
|
3522
|
+
initMetadataForClass(LinkedHashSetClassDesc, 'LinkedHashSetClassDesc');
|
|
3523
|
+
protoOf(MapLikeDescriptor).lp = get_isNullable;
|
|
3524
|
+
protoOf(MapLikeDescriptor).rp = get_isInline;
|
|
3525
|
+
protoOf(MapLikeDescriptor).tp = get_annotations;
|
|
3526
|
+
initMetadataForClass(MapLikeDescriptor, 'MapLikeDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
3527
|
+
initMetadataForClass(HashMapClassDesc, 'HashMapClassDesc');
|
|
3528
|
+
initMetadataForClass(LinkedHashMapClassDesc, 'LinkedHashMapClassDesc');
|
|
3529
|
+
initMetadataForClass(ArrayClassDesc, 'ArrayClassDesc');
|
|
3530
|
+
initMetadataForClass(PrimitiveArrayDescriptor, 'PrimitiveArrayDescriptor');
|
|
3531
|
+
initMetadataForClass(AbstractCollectionSerializer, 'AbstractCollectionSerializer', VOID, VOID, [KSerializer]);
|
|
3532
|
+
initMetadataForClass(CollectionLikeSerializer, 'CollectionLikeSerializer');
|
|
3533
|
+
initMetadataForClass(CollectionSerializer, 'CollectionSerializer');
|
|
3534
|
+
initMetadataForClass(ArrayListSerializer, 'ArrayListSerializer');
|
|
3535
|
+
initMetadataForClass(HashSetSerializer, 'HashSetSerializer');
|
|
3536
|
+
initMetadataForClass(LinkedHashSetSerializer, 'LinkedHashSetSerializer');
|
|
3537
|
+
initMetadataForClass(MapLikeSerializer, 'MapLikeSerializer');
|
|
3538
|
+
initMetadataForClass(HashMapSerializer, 'HashMapSerializer');
|
|
3539
|
+
initMetadataForClass(LinkedHashMapSerializer, 'LinkedHashMapSerializer');
|
|
3540
|
+
initMetadataForClass(ReferenceArraySerializer, 'ReferenceArraySerializer');
|
|
3541
|
+
initMetadataForClass(PrimitiveArraySerializer, 'PrimitiveArraySerializer');
|
|
3542
|
+
protoOf(PluginGeneratedSerialDescriptor).lp = get_isNullable;
|
|
3543
|
+
protoOf(PluginGeneratedSerialDescriptor).rp = get_isInline;
|
|
3544
|
+
initMetadataForClass(PluginGeneratedSerialDescriptor, 'PluginGeneratedSerialDescriptor', VOID, VOID, [SerialDescriptor, CachedNames]);
|
|
3545
|
+
initMetadataForClass(InlineClassDescriptor, 'InlineClassDescriptor');
|
|
3546
|
+
initMetadataForInterface(GeneratedSerializer, 'GeneratedSerializer', VOID, VOID, [KSerializer]);
|
|
3547
|
+
protoOf(InlinePrimitiveDescriptor$1).gv = typeParametersSerializers;
|
|
3548
|
+
initMetadataForClass(InlinePrimitiveDescriptor$1, VOID, VOID, VOID, [GeneratedSerializer]);
|
|
3549
|
+
initMetadataForObject(NoOpEncoder, 'NoOpEncoder');
|
|
3550
|
+
protoOf(NothingSerialDescriptor).lp = get_isNullable;
|
|
3551
|
+
protoOf(NothingSerialDescriptor).rp = get_isInline;
|
|
3552
|
+
protoOf(NothingSerialDescriptor).tp = get_annotations;
|
|
3553
|
+
initMetadataForObject(NothingSerialDescriptor, 'NothingSerialDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
3554
|
+
initMetadataForClass(NullableSerializer, 'NullableSerializer', VOID, VOID, [KSerializer]);
|
|
3555
|
+
initMetadataForClass(SerialDescriptorForNullable, 'SerialDescriptorForNullable', VOID, VOID, [SerialDescriptor, CachedNames]);
|
|
3556
|
+
initMetadataForClass(ObjectSerializer, 'ObjectSerializer', VOID, VOID, [KSerializer]);
|
|
3557
|
+
initMetadataForInterface(SerializerFactory, 'SerializerFactory');
|
|
3558
|
+
initMetadataForObject(CharArraySerializer, 'CharArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3559
|
+
initMetadataForObject(DoubleArraySerializer, 'DoubleArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3560
|
+
initMetadataForObject(FloatArraySerializer, 'FloatArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3561
|
+
initMetadataForObject(LongArraySerializer, 'LongArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3562
|
+
initMetadataForObject(ULongArraySerializer, 'ULongArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3563
|
+
initMetadataForObject(IntArraySerializer, 'IntArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3564
|
+
initMetadataForObject(UIntArraySerializer, 'UIntArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3565
|
+
initMetadataForObject(ShortArraySerializer, 'ShortArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3566
|
+
initMetadataForObject(UShortArraySerializer, 'UShortArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3567
|
+
initMetadataForObject(ByteArraySerializer, 'ByteArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3568
|
+
initMetadataForObject(UByteArraySerializer, 'UByteArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3569
|
+
initMetadataForObject(BooleanArraySerializer, 'BooleanArraySerializer', VOID, VOID, [KSerializer, PrimitiveArraySerializer]);
|
|
3570
|
+
initMetadataForObject(StringSerializer, 'StringSerializer', VOID, VOID, [KSerializer]);
|
|
3571
|
+
initMetadataForObject(CharSerializer, 'CharSerializer', VOID, VOID, [KSerializer]);
|
|
3572
|
+
initMetadataForObject(DoubleSerializer, 'DoubleSerializer', VOID, VOID, [KSerializer]);
|
|
3573
|
+
initMetadataForObject(FloatSerializer, 'FloatSerializer', VOID, VOID, [KSerializer]);
|
|
3574
|
+
initMetadataForObject(LongSerializer, 'LongSerializer', VOID, VOID, [KSerializer]);
|
|
3575
|
+
initMetadataForObject(IntSerializer, 'IntSerializer', VOID, VOID, [KSerializer]);
|
|
3576
|
+
initMetadataForObject(ShortSerializer, 'ShortSerializer', VOID, VOID, [KSerializer]);
|
|
3577
|
+
initMetadataForObject(ByteSerializer, 'ByteSerializer', VOID, VOID, [KSerializer]);
|
|
3578
|
+
initMetadataForObject(BooleanSerializer, 'BooleanSerializer', VOID, VOID, [KSerializer]);
|
|
3579
|
+
initMetadataForObject(UnitSerializer, 'UnitSerializer', VOID, VOID, [KSerializer]);
|
|
3580
|
+
protoOf(PrimitiveSerialDescriptor).lp = get_isNullable;
|
|
3581
|
+
protoOf(PrimitiveSerialDescriptor).rp = get_isInline;
|
|
3582
|
+
protoOf(PrimitiveSerialDescriptor).tp = get_annotations;
|
|
3583
|
+
initMetadataForClass(PrimitiveSerialDescriptor, 'PrimitiveSerialDescriptor', VOID, VOID, [SerialDescriptor]);
|
|
3584
|
+
initMetadataForClass(KeyValueSerializer, 'KeyValueSerializer', VOID, VOID, [KSerializer]);
|
|
3585
|
+
initMetadataForClass(MapEntrySerializer, 'MapEntrySerializer');
|
|
3586
|
+
initMetadataForClass(PairSerializer, 'PairSerializer');
|
|
3587
|
+
initMetadataForClass(TripleSerializer, 'TripleSerializer', VOID, VOID, [KSerializer]);
|
|
3588
|
+
initMetadataForObject(ULongSerializer, 'ULongSerializer', VOID, VOID, [KSerializer]);
|
|
3589
|
+
initMetadataForObject(UIntSerializer, 'UIntSerializer', VOID, VOID, [KSerializer]);
|
|
3590
|
+
initMetadataForObject(UShortSerializer, 'UShortSerializer', VOID, VOID, [KSerializer]);
|
|
3591
|
+
initMetadataForObject(UByteSerializer, 'UByteSerializer', VOID, VOID, [KSerializer]);
|
|
3592
|
+
initMetadataForClass(SerializersModule, 'SerializersModule');
|
|
3593
|
+
initMetadataForClass(SerialModuleImpl, 'SerialModuleImpl');
|
|
3594
|
+
initMetadataForClass(SerializableWith, 'SerializableWith', VOID, VOID, VOID, VOID, 0);
|
|
3595
|
+
initMetadataForClass(createCache$1);
|
|
3596
|
+
initMetadataForClass(createParametrizedCache$1);
|
|
3597
|
+
//endregion
|
|
3598
|
+
//region block: exports
|
|
3599
|
+
export {
|
|
3600
|
+
STRING_getInstance as STRING_getInstance2u10xjygh5c7g,
|
|
3601
|
+
CONTEXTUAL_getInstance as CONTEXTUAL_getInstance27x7ixba5zfl1,
|
|
3602
|
+
ENUM_getInstance as ENUM_getInstance2pzy56ztbjm7u,
|
|
3603
|
+
CLASS_getInstance as CLASS_getInstance277avqnuimd98,
|
|
3604
|
+
LIST_getInstance as LIST_getInstance33zrks0ni9s1a,
|
|
3605
|
+
MAP_getInstance as MAP_getInstance1g2gf9ptr5kcu,
|
|
3606
|
+
OBJECT_getInstance as OBJECT_getInstanceb5uv07b4zkes,
|
|
3607
|
+
IntSerializer_getInstance as IntSerializer_getInstance1qqxumiddm0tw,
|
|
3608
|
+
StringSerializer_getInstance as StringSerializer_getInstance2kpn94uehvuc4,
|
|
3609
|
+
get_nullable as get_nullable197rfua9r7fsz,
|
|
3610
|
+
serializer_0 as serializer1x79l67jvwntn,
|
|
3611
|
+
serializer_9 as serializer1q7c5q67ysppr,
|
|
3612
|
+
serializer_7 as serializer3ikrxnm8b29d6,
|
|
3613
|
+
serializer_11 as serializer36584sjyg5661,
|
|
3614
|
+
serializer_5 as serializer2lw83vwvpnyms,
|
|
3615
|
+
PolymorphicKind as PolymorphicKindla9gurooefwb,
|
|
3616
|
+
PrimitiveKind as PrimitiveKindndgbuh6is7ze,
|
|
3617
|
+
PrimitiveSerialDescriptor_0 as PrimitiveSerialDescriptor3egfp53lutxj2,
|
|
3618
|
+
ENUM as ENUMlmq49cvwy4ow,
|
|
3619
|
+
getContextualDescriptor as getContextualDescriptor2n1gf3b895yb8,
|
|
3620
|
+
AbstractEncoder as AbstractEncoder2gxtu3xmy3f8j,
|
|
3621
|
+
CompositeEncoder as CompositeEncoderknecpkexzn3v,
|
|
3622
|
+
Encoder as Encoderqvmrpqtq8hnu,
|
|
3623
|
+
AbstractPolymorphicSerializer as AbstractPolymorphicSerializer1ccxwp48nfy58,
|
|
3624
|
+
ArrayListSerializer as ArrayListSerializer7k5wnrulb3y6,
|
|
3625
|
+
typeParametersSerializers as typeParametersSerializers2likxjr48tr7y,
|
|
3626
|
+
GeneratedSerializer as GeneratedSerializer1f7t7hssdd2ws,
|
|
3627
|
+
InlinePrimitiveDescriptor as InlinePrimitiveDescriptor3i6ccn1a4fw94,
|
|
3628
|
+
PluginGeneratedSerialDescriptor as PluginGeneratedSerialDescriptorqdzeg5asqhfg,
|
|
3629
|
+
jsonCachedSerialNames as jsonCachedSerialNameslxufy2gu43jt,
|
|
3630
|
+
EmptySerializersModule_0 as EmptySerializersModule991ju6pz9b79,
|
|
3631
|
+
KSerializer as KSerializerzf77vz1967fq,
|
|
3632
|
+
SealedClassSerializer as SealedClassSerializeriwipiibk55zc,
|
|
3633
|
+
SerializationException as SerializationExceptioneqrdve3ts2n9,
|
|
3634
|
+
SerializationStrategy as SerializationStrategyh6ouydnm6hci,
|
|
3635
|
+
findPolymorphicSerializer as findPolymorphicSerializerk638ixyjovk5,
|
|
3636
|
+
serializer as serializer1i4e9ym37oxmo,
|
|
3637
|
+
};
|
|
3638
|
+
//endregion
|
|
3639
|
+
|
|
3640
|
+
//# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core.mjs.map
|