@themoment-team/datagsm-shared 20260529.0.0-33

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.
@@ -0,0 +1,1781 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-serialization-kotlinx-serialization-core'.");
9
+ }
10
+ globalThis['kotlinx-serialization-kotlinx-serialization-core'] = factory(typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined' ? {} : globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var imul = Math.imul;
16
+ var protoOf = kotlin_kotlin.$_$.c2;
17
+ var initMetadataForInterface = kotlin_kotlin.$_$.z1;
18
+ var THROW_CCE = kotlin_kotlin.$_$.o2;
19
+ var isInterface = kotlin_kotlin.$_$.b2;
20
+ var initMetadataForClass = kotlin_kotlin.$_$.x1;
21
+ var isBlank = kotlin_kotlin.$_$.i2;
22
+ var toString = kotlin_kotlin.$_$.d2;
23
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h;
24
+ var Unit_instance = kotlin_kotlin.$_$.a1;
25
+ var emptyList = kotlin_kotlin.$_$.f1;
26
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
27
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.g;
28
+ var VOID = kotlin_kotlin.$_$.a;
29
+ var equals = kotlin_kotlin.$_$.s1;
30
+ var toList = kotlin_kotlin.$_$.m1;
31
+ var KProperty1 = kotlin_kotlin.$_$.h2;
32
+ var getPropertyCallableRef = kotlin_kotlin.$_$.u1;
33
+ var toHashSet = kotlin_kotlin.$_$.l1;
34
+ var copyToArray = kotlin_kotlin.$_$.e1;
35
+ var toBooleanArray = kotlin_kotlin.$_$.k1;
36
+ var withIndex = kotlin_kotlin.$_$.o1;
37
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b1;
38
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.c;
39
+ var to = kotlin_kotlin.$_$.d3;
40
+ var toMap = kotlin_kotlin.$_$.n1;
41
+ var lazy = kotlin_kotlin.$_$.b3;
42
+ var contentEquals = kotlin_kotlin.$_$.c1;
43
+ var initMetadataForObject = kotlin_kotlin.$_$.a2;
44
+ var getKClassFromExpression = kotlin_kotlin.$_$.f2;
45
+ var ensureNotNull = kotlin_kotlin.$_$.z2;
46
+ var getStringHashCode = kotlin_kotlin.$_$.v1;
47
+ var hashCode = kotlin_kotlin.$_$.w1;
48
+ var joinToString = kotlin_kotlin.$_$.i1;
49
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.i;
50
+ var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.b;
51
+ var lazy_0 = kotlin_kotlin.$_$.a3;
52
+ var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.f;
53
+ var contentHashCode = kotlin_kotlin.$_$.d1;
54
+ var until = kotlin_kotlin.$_$.e2;
55
+ var HashMap_init_$Create$ = kotlin_kotlin.$_$.e;
56
+ var booleanArray = kotlin_kotlin.$_$.q1;
57
+ var emptyMap = kotlin_kotlin.$_$.g1;
58
+ var Companion_getInstance = kotlin_kotlin.$_$.u;
59
+ var DoubleCompanionObject_instance = kotlin_kotlin.$_$.m;
60
+ var FloatCompanionObject_instance = kotlin_kotlin.$_$.n;
61
+ var Companion_instance = kotlin_kotlin.$_$.v;
62
+ var Companion_getInstance_0 = kotlin_kotlin.$_$.y;
63
+ var IntCompanionObject_instance = kotlin_kotlin.$_$.o;
64
+ var Companion_getInstance_1 = kotlin_kotlin.$_$.x;
65
+ var ShortCompanionObject_instance = kotlin_kotlin.$_$.p;
66
+ var Companion_getInstance_2 = kotlin_kotlin.$_$.z;
67
+ var ByteCompanionObject_instance = kotlin_kotlin.$_$.l;
68
+ var Companion_getInstance_3 = kotlin_kotlin.$_$.w;
69
+ var BooleanCompanionObject_instance = kotlin_kotlin.$_$.k;
70
+ var trimIndent = kotlin_kotlin.$_$.j2;
71
+ var get_indices = kotlin_kotlin.$_$.h1;
72
+ var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.j;
73
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.r;
74
+ var StringCompanionObject_instance = kotlin_kotlin.$_$.q;
75
+ var Char = kotlin_kotlin.$_$.m2;
76
+ var getKClass = kotlin_kotlin.$_$.g2;
77
+ var get_longArrayClass = kotlin_kotlin.$_$.p1;
78
+ var ULong = kotlin_kotlin.$_$.v2;
79
+ var ULongArray = kotlin_kotlin.$_$.u2;
80
+ var UInt = kotlin_kotlin.$_$.t2;
81
+ var UIntArray = kotlin_kotlin.$_$.s2;
82
+ var UShort = kotlin_kotlin.$_$.x2;
83
+ var UShortArray = kotlin_kotlin.$_$.w2;
84
+ var UByte = kotlin_kotlin.$_$.r2;
85
+ var UByteArray = kotlin_kotlin.$_$.q2;
86
+ var Unit = kotlin_kotlin.$_$.y2;
87
+ var Duration = kotlin_kotlin.$_$.k2;
88
+ var Companion_getInstance_4 = kotlin_kotlin.$_$.s;
89
+ var Uuid = kotlin_kotlin.$_$.l2;
90
+ var Companion_getInstance_5 = kotlin_kotlin.$_$.t;
91
+ var mapOf = kotlin_kotlin.$_$.j1;
92
+ //endregion
93
+ //region block: pre-declaration
94
+ initMetadataForInterface(KSerializer, 'KSerializer');
95
+ function get_isNullable() {
96
+ return false;
97
+ }
98
+ initMetadataForInterface(SerialDescriptor, 'SerialDescriptor');
99
+ initMetadataForClass(elementDescriptors$1);
100
+ initMetadataForClass(elementDescriptors$$inlined$Iterable$1);
101
+ initMetadataForClass(elementNames$1);
102
+ initMetadataForClass(elementNames$$inlined$Iterable$1);
103
+ initMetadataForClass(ClassSerialDescriptorBuilder, 'ClassSerialDescriptorBuilder');
104
+ initMetadataForInterface(CachedNames, 'CachedNames');
105
+ initMetadataForClass(SerialDescriptorImpl, 'SerialDescriptorImpl', VOID, VOID, [SerialDescriptor, CachedNames]);
106
+ initMetadataForClass(SerialKind, 'SerialKind');
107
+ initMetadataForClass(PrimitiveKind, 'PrimitiveKind', VOID, SerialKind);
108
+ initMetadataForObject(BOOLEAN, 'BOOLEAN', VOID, PrimitiveKind);
109
+ initMetadataForObject(BYTE, 'BYTE', VOID, PrimitiveKind);
110
+ initMetadataForObject(CHAR, 'CHAR', VOID, PrimitiveKind);
111
+ initMetadataForObject(SHORT, 'SHORT', VOID, PrimitiveKind);
112
+ initMetadataForObject(INT, 'INT', VOID, PrimitiveKind);
113
+ initMetadataForObject(LONG, 'LONG', VOID, PrimitiveKind);
114
+ initMetadataForObject(FLOAT, 'FLOAT', VOID, PrimitiveKind);
115
+ initMetadataForObject(DOUBLE, 'DOUBLE', VOID, PrimitiveKind);
116
+ initMetadataForObject(STRING, 'STRING', VOID, PrimitiveKind);
117
+ initMetadataForObject(ENUM, 'ENUM', VOID, SerialKind);
118
+ initMetadataForClass(StructureKind, 'StructureKind', VOID, SerialKind);
119
+ initMetadataForObject(CLASS, 'CLASS', VOID, StructureKind);
120
+ initMetadataForObject(LIST, 'LIST', VOID, StructureKind);
121
+ initMetadataForObject(OBJECT, 'OBJECT', VOID, StructureKind);
122
+ initMetadataForObject(NothingSerializer_0, 'NothingSerializer', VOID, VOID, [KSerializer]);
123
+ initMetadataForObject(DurationSerializer, 'DurationSerializer', VOID, VOID, [KSerializer]);
124
+ initMetadataForObject(UuidSerializer, 'UuidSerializer', VOID, VOID, [KSerializer]);
125
+ initMetadataForClass(ListLikeDescriptor, 'ListLikeDescriptor', VOID, VOID, [SerialDescriptor]);
126
+ initMetadataForClass(ArrayClassDesc, 'ArrayClassDesc', VOID, ListLikeDescriptor);
127
+ initMetadataForClass(PrimitiveArrayDescriptor, 'PrimitiveArrayDescriptor', VOID, ListLikeDescriptor);
128
+ initMetadataForClass(AbstractCollectionSerializer, 'AbstractCollectionSerializer', VOID, VOID, [KSerializer]);
129
+ initMetadataForClass(CollectionLikeSerializer, 'CollectionLikeSerializer', VOID, AbstractCollectionSerializer);
130
+ initMetadataForClass(ReferenceArraySerializer, 'ReferenceArraySerializer', VOID, CollectionLikeSerializer);
131
+ initMetadataForClass(PrimitiveArraySerializer, 'PrimitiveArraySerializer', VOID, CollectionLikeSerializer);
132
+ initMetadataForClass(EnumSerializer, 'EnumSerializer', VOID, VOID, [KSerializer]);
133
+ initMetadataForClass(PluginGeneratedSerialDescriptor, 'PluginGeneratedSerialDescriptor', VOID, VOID, [SerialDescriptor, CachedNames]);
134
+ initMetadataForClass(EnumDescriptor, 'EnumDescriptor', VOID, PluginGeneratedSerialDescriptor);
135
+ initMetadataForClass(InlineClassDescriptor, 'InlineClassDescriptor', VOID, PluginGeneratedSerialDescriptor);
136
+ function typeParametersSerializers() {
137
+ return get_EMPTY_SERIALIZER_ARRAY();
138
+ }
139
+ initMetadataForInterface(GeneratedSerializer, 'GeneratedSerializer', VOID, VOID, [KSerializer]);
140
+ initMetadataForClass(InlinePrimitiveDescriptor$1, VOID, VOID, VOID, [GeneratedSerializer]);
141
+ initMetadataForObject(NothingSerialDescriptor, 'NothingSerialDescriptor', VOID, VOID, [SerialDescriptor]);
142
+ initMetadataForClass(NullableSerializer, 'NullableSerializer', VOID, VOID, [KSerializer]);
143
+ initMetadataForClass(SerialDescriptorForNullable, 'SerialDescriptorForNullable', VOID, VOID, [SerialDescriptor, CachedNames]);
144
+ initMetadataForClass(ObjectSerializer, 'ObjectSerializer', VOID, VOID, [KSerializer]);
145
+ initMetadataForObject(CharArraySerializer_0, 'CharArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
146
+ initMetadataForObject(DoubleArraySerializer_0, 'DoubleArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
147
+ initMetadataForObject(FloatArraySerializer_0, 'FloatArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
148
+ initMetadataForObject(LongArraySerializer_0, 'LongArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
149
+ initMetadataForObject(ULongArraySerializer_0, 'ULongArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
150
+ initMetadataForObject(IntArraySerializer_0, 'IntArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
151
+ initMetadataForObject(UIntArraySerializer_0, 'UIntArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
152
+ initMetadataForObject(ShortArraySerializer_0, 'ShortArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
153
+ initMetadataForObject(UShortArraySerializer_0, 'UShortArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
154
+ initMetadataForObject(ByteArraySerializer_0, 'ByteArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
155
+ initMetadataForObject(UByteArraySerializer_0, 'UByteArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
156
+ initMetadataForObject(BooleanArraySerializer_0, 'BooleanArraySerializer', VOID, PrimitiveArraySerializer, [KSerializer, PrimitiveArraySerializer]);
157
+ initMetadataForObject(StringSerializer, 'StringSerializer', VOID, VOID, [KSerializer]);
158
+ initMetadataForClass(PrimitiveSerialDescriptor_0, 'PrimitiveSerialDescriptor', VOID, VOID, [SerialDescriptor]);
159
+ initMetadataForObject(IntSerializer, 'IntSerializer', VOID, VOID, [KSerializer]);
160
+ initMetadataForObject(LongSerializer, 'LongSerializer', VOID, VOID, [KSerializer]);
161
+ initMetadataForObject(ByteSerializer, 'ByteSerializer', VOID, VOID, [KSerializer]);
162
+ initMetadataForObject(ShortSerializer, 'ShortSerializer', VOID, VOID, [KSerializer]);
163
+ initMetadataForObject(CharSerializer, 'CharSerializer', VOID, VOID, [KSerializer]);
164
+ initMetadataForObject(DoubleSerializer, 'DoubleSerializer', VOID, VOID, [KSerializer]);
165
+ initMetadataForObject(FloatSerializer, 'FloatSerializer', VOID, VOID, [KSerializer]);
166
+ initMetadataForObject(BooleanSerializer, 'BooleanSerializer', VOID, VOID, [KSerializer]);
167
+ initMetadataForObject(UnitSerializer, 'UnitSerializer', VOID, VOID, [KSerializer]);
168
+ initMetadataForObject(UIntSerializer, 'UIntSerializer', VOID, VOID, [KSerializer]);
169
+ initMetadataForObject(ULongSerializer, 'ULongSerializer', VOID, VOID, [KSerializer]);
170
+ initMetadataForObject(UByteSerializer, 'UByteSerializer', VOID, VOID, [KSerializer]);
171
+ initMetadataForObject(UShortSerializer, 'UShortSerializer', VOID, VOID, [KSerializer]);
172
+ initMetadataForClass(SerializableWith, 'SerializableWith', VOID, VOID, VOID, VOID, 0);
173
+ //endregion
174
+ function KSerializer() {
175
+ }
176
+ function serializer(_this__u8e3s4) {
177
+ return StringSerializer_getInstance();
178
+ }
179
+ function serializer_0(_this__u8e3s4) {
180
+ return UIntSerializer_getInstance();
181
+ }
182
+ function serializer_1(_this__u8e3s4) {
183
+ return ULongSerializer_getInstance();
184
+ }
185
+ function serializer_2(_this__u8e3s4) {
186
+ return UByteSerializer_getInstance();
187
+ }
188
+ function serializer_3(_this__u8e3s4) {
189
+ return UShortSerializer_getInstance();
190
+ }
191
+ function get_nullable(_this__u8e3s4) {
192
+ var tmp;
193
+ if (_this__u8e3s4.gb().hb()) {
194
+ tmp = isInterface(_this__u8e3s4, KSerializer) ? _this__u8e3s4 : THROW_CCE();
195
+ } else {
196
+ tmp = new NullableSerializer(_this__u8e3s4);
197
+ }
198
+ return tmp;
199
+ }
200
+ function serializer_4(_this__u8e3s4) {
201
+ return IntSerializer_getInstance();
202
+ }
203
+ function serializer_5(_this__u8e3s4) {
204
+ return LongSerializer_getInstance();
205
+ }
206
+ function serializer_6(_this__u8e3s4) {
207
+ return ByteSerializer_getInstance();
208
+ }
209
+ function serializer_7(_this__u8e3s4) {
210
+ return ShortSerializer_getInstance();
211
+ }
212
+ function serializer_8(_this__u8e3s4) {
213
+ return CharSerializer_getInstance();
214
+ }
215
+ function CharArraySerializer() {
216
+ return CharArraySerializer_getInstance();
217
+ }
218
+ function serializer_9(_this__u8e3s4) {
219
+ return DoubleSerializer_getInstance();
220
+ }
221
+ function DoubleArraySerializer() {
222
+ return DoubleArraySerializer_getInstance();
223
+ }
224
+ function serializer_10(_this__u8e3s4) {
225
+ return FloatSerializer_getInstance();
226
+ }
227
+ function FloatArraySerializer() {
228
+ return FloatArraySerializer_getInstance();
229
+ }
230
+ function LongArraySerializer() {
231
+ return LongArraySerializer_getInstance();
232
+ }
233
+ function ULongArraySerializer() {
234
+ return ULongArraySerializer_getInstance();
235
+ }
236
+ function IntArraySerializer() {
237
+ return IntArraySerializer_getInstance();
238
+ }
239
+ function UIntArraySerializer() {
240
+ return UIntArraySerializer_getInstance();
241
+ }
242
+ function ShortArraySerializer() {
243
+ return ShortArraySerializer_getInstance();
244
+ }
245
+ function UShortArraySerializer() {
246
+ return UShortArraySerializer_getInstance();
247
+ }
248
+ function ByteArraySerializer() {
249
+ return ByteArraySerializer_getInstance();
250
+ }
251
+ function UByteArraySerializer() {
252
+ return UByteArraySerializer_getInstance();
253
+ }
254
+ function serializer_11(_this__u8e3s4) {
255
+ return BooleanSerializer_getInstance();
256
+ }
257
+ function BooleanArraySerializer() {
258
+ return BooleanArraySerializer_getInstance();
259
+ }
260
+ function serializer_12(_this__u8e3s4) {
261
+ return UnitSerializer_getInstance();
262
+ }
263
+ function NothingSerializer() {
264
+ return NothingSerializer_getInstance();
265
+ }
266
+ function serializer_13(_this__u8e3s4) {
267
+ return DurationSerializer_getInstance();
268
+ }
269
+ function serializer_14(_this__u8e3s4) {
270
+ return UuidSerializer_getInstance();
271
+ }
272
+ function SerialDescriptor() {
273
+ }
274
+ function get_elementDescriptors(_this__u8e3s4) {
275
+ // Inline function 'kotlin.collections.Iterable' call
276
+ return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4);
277
+ }
278
+ function get_elementNames(_this__u8e3s4) {
279
+ // Inline function 'kotlin.collections.Iterable' call
280
+ return new elementNames$$inlined$Iterable$1(_this__u8e3s4);
281
+ }
282
+ function elementDescriptors$1($this_elementDescriptors) {
283
+ this.ob_1 = $this_elementDescriptors;
284
+ this.nb_1 = $this_elementDescriptors.kb();
285
+ }
286
+ protoOf(elementDescriptors$1).h = function () {
287
+ return this.nb_1 > 0;
288
+ };
289
+ protoOf(elementDescriptors$1).i = function () {
290
+ var tmp = this.ob_1.kb();
291
+ var _unary__edvuaz = this.nb_1;
292
+ this.nb_1 = _unary__edvuaz - 1 | 0;
293
+ return this.ob_1.mb(tmp - _unary__edvuaz | 0);
294
+ };
295
+ function elementDescriptors$$inlined$Iterable$1($this_elementDescriptors) {
296
+ this.pb_1 = $this_elementDescriptors;
297
+ }
298
+ protoOf(elementDescriptors$$inlined$Iterable$1).g = function () {
299
+ return new elementDescriptors$1(this.pb_1);
300
+ };
301
+ function elementNames$1($this_elementNames) {
302
+ this.rb_1 = $this_elementNames;
303
+ this.qb_1 = $this_elementNames.kb();
304
+ }
305
+ protoOf(elementNames$1).h = function () {
306
+ return this.qb_1 > 0;
307
+ };
308
+ protoOf(elementNames$1).i = function () {
309
+ var tmp = this.rb_1.kb();
310
+ var _unary__edvuaz = this.qb_1;
311
+ this.qb_1 = _unary__edvuaz - 1 | 0;
312
+ return this.rb_1.lb(tmp - _unary__edvuaz | 0);
313
+ };
314
+ function elementNames$$inlined$Iterable$1($this_elementNames) {
315
+ this.sb_1 = $this_elementNames;
316
+ }
317
+ protoOf(elementNames$$inlined$Iterable$1).g = function () {
318
+ return new elementNames$1(this.sb_1);
319
+ };
320
+ function PrimitiveSerialDescriptor(serialName, kind) {
321
+ // Inline function 'kotlin.text.isNotBlank' call
322
+ // Inline function 'kotlin.require' call
323
+ if (!!isBlank(serialName)) {
324
+ var message = 'Blank serial names are prohibited';
325
+ throw IllegalArgumentException_init_$Create$(toString(message));
326
+ }
327
+ return PrimitiveDescriptorSafe(serialName, kind);
328
+ }
329
+ function ClassSerialDescriptorBuilder(serialName) {
330
+ this.tb_1 = serialName;
331
+ this.ub_1 = false;
332
+ this.vb_1 = emptyList();
333
+ this.wb_1 = ArrayList_init_$Create$();
334
+ this.xb_1 = HashSet_init_$Create$();
335
+ this.yb_1 = ArrayList_init_$Create$();
336
+ this.zb_1 = ArrayList_init_$Create$();
337
+ this.ac_1 = ArrayList_init_$Create$();
338
+ }
339
+ function buildSerialDescriptor(serialName, kind, typeParameters, builder) {
340
+ var tmp;
341
+ if (builder === VOID) {
342
+ tmp = buildSerialDescriptor$lambda;
343
+ } else {
344
+ tmp = builder;
345
+ }
346
+ builder = tmp;
347
+ // Inline function 'kotlin.text.isNotBlank' call
348
+ // Inline function 'kotlin.require' call
349
+ if (!!isBlank(serialName)) {
350
+ var message = 'Blank serial names are prohibited';
351
+ throw IllegalArgumentException_init_$Create$(toString(message));
352
+ }
353
+ // Inline function 'kotlin.require' call
354
+ if (!!equals(kind, CLASS_getInstance())) {
355
+ var message_0 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead";
356
+ throw IllegalArgumentException_init_$Create$(toString(message_0));
357
+ }
358
+ var sdBuilder = new ClassSerialDescriptorBuilder(serialName);
359
+ builder(sdBuilder);
360
+ return new SerialDescriptorImpl(serialName, kind, sdBuilder.wb_1.j(), toList(typeParameters), sdBuilder);
361
+ }
362
+ function _get__hashCode__tgwhef($this) {
363
+ var tmp0 = $this.mc_1;
364
+ var tmp = KProperty1;
365
+ // Inline function 'kotlin.getValue' call
366
+ getPropertyCallableRef('_hashCode', 1, tmp, SerialDescriptorImpl$_get__hashCode_$ref_2v7wzp(), null);
367
+ return tmp0.h1();
368
+ }
369
+ function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) {
370
+ return function () {
371
+ return hashCodeImpl(this$0, this$0.lc_1);
372
+ };
373
+ }
374
+ function SerialDescriptorImpl$_get__hashCode_$ref_2v7wzp() {
375
+ return function (p0) {
376
+ return _get__hashCode__tgwhef(p0);
377
+ };
378
+ }
379
+ function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) {
380
+ this.bc_1 = serialName;
381
+ this.cc_1 = kind;
382
+ this.dc_1 = elementsCount;
383
+ this.ec_1 = builder.vb_1;
384
+ this.fc_1 = toHashSet(builder.wb_1);
385
+ var tmp = this;
386
+ // Inline function 'kotlin.collections.toTypedArray' call
387
+ var this_0 = builder.wb_1;
388
+ tmp.gc_1 = copyToArray(this_0);
389
+ this.hc_1 = compactArray(builder.yb_1);
390
+ var tmp_0 = this;
391
+ // Inline function 'kotlin.collections.toTypedArray' call
392
+ var this_1 = builder.zb_1;
393
+ tmp_0.ic_1 = copyToArray(this_1);
394
+ this.jc_1 = toBooleanArray(builder.ac_1);
395
+ var tmp_1 = this;
396
+ // Inline function 'kotlin.collections.map' call
397
+ var this_2 = withIndex(this.gc_1);
398
+ // Inline function 'kotlin.collections.mapTo' call
399
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
400
+ var _iterator__ex2g4s = this_2.g();
401
+ while (_iterator__ex2g4s.h()) {
402
+ var item = _iterator__ex2g4s.i();
403
+ var tmp$ret$2 = to(item.t7_1, item.s7_1);
404
+ destination.k(tmp$ret$2);
405
+ }
406
+ tmp_1.kc_1 = toMap(destination);
407
+ this.lc_1 = compactArray(typeParameters);
408
+ var tmp_2 = this;
409
+ tmp_2.mc_1 = lazy(SerialDescriptorImpl$_hashCode$delegate$lambda(this));
410
+ }
411
+ protoOf(SerialDescriptorImpl).ib = function () {
412
+ return this.bc_1;
413
+ };
414
+ protoOf(SerialDescriptorImpl).jb = function () {
415
+ return this.cc_1;
416
+ };
417
+ protoOf(SerialDescriptorImpl).kb = function () {
418
+ return this.dc_1;
419
+ };
420
+ protoOf(SerialDescriptorImpl).nc = function () {
421
+ return this.fc_1;
422
+ };
423
+ protoOf(SerialDescriptorImpl).lb = function (index) {
424
+ return getChecked(this.gc_1, index);
425
+ };
426
+ protoOf(SerialDescriptorImpl).mb = function (index) {
427
+ return getChecked(this.hc_1, index);
428
+ };
429
+ protoOf(SerialDescriptorImpl).equals = function (other) {
430
+ var tmp$ret$0;
431
+ $l$block_5: {
432
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
433
+ if (this === other) {
434
+ tmp$ret$0 = true;
435
+ break $l$block_5;
436
+ }
437
+ if (!(other instanceof SerialDescriptorImpl)) {
438
+ tmp$ret$0 = false;
439
+ break $l$block_5;
440
+ }
441
+ if (!(this.ib() === other.ib())) {
442
+ tmp$ret$0 = false;
443
+ break $l$block_5;
444
+ }
445
+ if (!contentEquals(this.lc_1, other.lc_1)) {
446
+ tmp$ret$0 = false;
447
+ break $l$block_5;
448
+ }
449
+ if (!(this.kb() === other.kb())) {
450
+ tmp$ret$0 = false;
451
+ break $l$block_5;
452
+ }
453
+ var inductionVariable = 0;
454
+ var last = this.kb();
455
+ if (inductionVariable < last)
456
+ do {
457
+ var index = inductionVariable;
458
+ inductionVariable = inductionVariable + 1 | 0;
459
+ if (!(this.mb(index).ib() === other.mb(index).ib())) {
460
+ tmp$ret$0 = false;
461
+ break $l$block_5;
462
+ }
463
+ if (!equals(this.mb(index).jb(), other.mb(index).jb())) {
464
+ tmp$ret$0 = false;
465
+ break $l$block_5;
466
+ }
467
+ }
468
+ while (inductionVariable < last);
469
+ tmp$ret$0 = true;
470
+ }
471
+ return tmp$ret$0;
472
+ };
473
+ protoOf(SerialDescriptorImpl).hashCode = function () {
474
+ return _get__hashCode__tgwhef(this);
475
+ };
476
+ protoOf(SerialDescriptorImpl).toString = function () {
477
+ return toStringImpl(this);
478
+ };
479
+ function buildSerialDescriptor$lambda(_this__u8e3s4) {
480
+ return Unit_instance;
481
+ }
482
+ function BOOLEAN() {
483
+ BOOLEAN_instance = this;
484
+ PrimitiveKind.call(this);
485
+ }
486
+ var BOOLEAN_instance;
487
+ function BOOLEAN_getInstance() {
488
+ if (BOOLEAN_instance == null)
489
+ new BOOLEAN();
490
+ return BOOLEAN_instance;
491
+ }
492
+ function BYTE() {
493
+ BYTE_instance = this;
494
+ PrimitiveKind.call(this);
495
+ }
496
+ var BYTE_instance;
497
+ function BYTE_getInstance() {
498
+ if (BYTE_instance == null)
499
+ new BYTE();
500
+ return BYTE_instance;
501
+ }
502
+ function CHAR() {
503
+ CHAR_instance = this;
504
+ PrimitiveKind.call(this);
505
+ }
506
+ var CHAR_instance;
507
+ function CHAR_getInstance() {
508
+ if (CHAR_instance == null)
509
+ new CHAR();
510
+ return CHAR_instance;
511
+ }
512
+ function SHORT() {
513
+ SHORT_instance = this;
514
+ PrimitiveKind.call(this);
515
+ }
516
+ var SHORT_instance;
517
+ function SHORT_getInstance() {
518
+ if (SHORT_instance == null)
519
+ new SHORT();
520
+ return SHORT_instance;
521
+ }
522
+ function INT() {
523
+ INT_instance = this;
524
+ PrimitiveKind.call(this);
525
+ }
526
+ var INT_instance;
527
+ function INT_getInstance() {
528
+ if (INT_instance == null)
529
+ new INT();
530
+ return INT_instance;
531
+ }
532
+ function LONG() {
533
+ LONG_instance = this;
534
+ PrimitiveKind.call(this);
535
+ }
536
+ var LONG_instance;
537
+ function LONG_getInstance() {
538
+ if (LONG_instance == null)
539
+ new LONG();
540
+ return LONG_instance;
541
+ }
542
+ function FLOAT() {
543
+ FLOAT_instance = this;
544
+ PrimitiveKind.call(this);
545
+ }
546
+ var FLOAT_instance;
547
+ function FLOAT_getInstance() {
548
+ if (FLOAT_instance == null)
549
+ new FLOAT();
550
+ return FLOAT_instance;
551
+ }
552
+ function DOUBLE() {
553
+ DOUBLE_instance = this;
554
+ PrimitiveKind.call(this);
555
+ }
556
+ var DOUBLE_instance;
557
+ function DOUBLE_getInstance() {
558
+ if (DOUBLE_instance == null)
559
+ new DOUBLE();
560
+ return DOUBLE_instance;
561
+ }
562
+ function STRING() {
563
+ STRING_instance = this;
564
+ PrimitiveKind.call(this);
565
+ }
566
+ var STRING_instance;
567
+ function STRING_getInstance() {
568
+ if (STRING_instance == null)
569
+ new STRING();
570
+ return STRING_instance;
571
+ }
572
+ function PrimitiveKind() {
573
+ SerialKind.call(this);
574
+ }
575
+ function ENUM() {
576
+ ENUM_instance = this;
577
+ SerialKind.call(this);
578
+ }
579
+ var ENUM_instance;
580
+ function ENUM_getInstance() {
581
+ if (ENUM_instance == null)
582
+ new ENUM();
583
+ return ENUM_instance;
584
+ }
585
+ function SerialKind() {
586
+ }
587
+ protoOf(SerialKind).toString = function () {
588
+ return ensureNotNull(getKClassFromExpression(this).z5());
589
+ };
590
+ protoOf(SerialKind).hashCode = function () {
591
+ return getStringHashCode(this.toString());
592
+ };
593
+ function CLASS() {
594
+ CLASS_instance = this;
595
+ StructureKind.call(this);
596
+ }
597
+ var CLASS_instance;
598
+ function CLASS_getInstance() {
599
+ if (CLASS_instance == null)
600
+ new CLASS();
601
+ return CLASS_instance;
602
+ }
603
+ function LIST() {
604
+ LIST_instance = this;
605
+ StructureKind.call(this);
606
+ }
607
+ var LIST_instance;
608
+ function LIST_getInstance() {
609
+ if (LIST_instance == null)
610
+ new LIST();
611
+ return LIST_instance;
612
+ }
613
+ function OBJECT() {
614
+ OBJECT_instance = this;
615
+ StructureKind.call(this);
616
+ }
617
+ var OBJECT_instance;
618
+ function OBJECT_getInstance() {
619
+ if (OBJECT_instance == null)
620
+ new OBJECT();
621
+ return OBJECT_instance;
622
+ }
623
+ function StructureKind() {
624
+ SerialKind.call(this);
625
+ }
626
+ function NothingSerializer_0() {
627
+ NothingSerializer_instance = this;
628
+ this.oc_1 = NothingSerialDescriptor_getInstance();
629
+ }
630
+ protoOf(NothingSerializer_0).gb = function () {
631
+ return this.oc_1;
632
+ };
633
+ var NothingSerializer_instance;
634
+ function NothingSerializer_getInstance() {
635
+ if (NothingSerializer_instance == null)
636
+ new NothingSerializer_0();
637
+ return NothingSerializer_instance;
638
+ }
639
+ function DurationSerializer() {
640
+ DurationSerializer_instance = this;
641
+ this.pc_1 = new PrimitiveSerialDescriptor_0('kotlin.time.Duration', STRING_getInstance());
642
+ }
643
+ protoOf(DurationSerializer).gb = function () {
644
+ return this.pc_1;
645
+ };
646
+ var DurationSerializer_instance;
647
+ function DurationSerializer_getInstance() {
648
+ if (DurationSerializer_instance == null)
649
+ new DurationSerializer();
650
+ return DurationSerializer_instance;
651
+ }
652
+ function UuidSerializer() {
653
+ UuidSerializer_instance = this;
654
+ this.qc_1 = new PrimitiveSerialDescriptor_0('kotlin.uuid.Uuid', STRING_getInstance());
655
+ }
656
+ protoOf(UuidSerializer).gb = function () {
657
+ return this.qc_1;
658
+ };
659
+ var UuidSerializer_instance;
660
+ function UuidSerializer_getInstance() {
661
+ if (UuidSerializer_instance == null)
662
+ new UuidSerializer();
663
+ return UuidSerializer_instance;
664
+ }
665
+ function CachedNames() {
666
+ }
667
+ function ArrayClassDesc(elementDesc) {
668
+ ListLikeDescriptor.call(this, elementDesc);
669
+ }
670
+ protoOf(ArrayClassDesc).ib = function () {
671
+ return 'kotlin.Array';
672
+ };
673
+ function ListLikeDescriptor(elementDescriptor) {
674
+ this.tc_1 = elementDescriptor;
675
+ this.uc_1 = 1;
676
+ }
677
+ protoOf(ListLikeDescriptor).jb = function () {
678
+ return LIST_getInstance();
679
+ };
680
+ protoOf(ListLikeDescriptor).kb = function () {
681
+ return this.uc_1;
682
+ };
683
+ protoOf(ListLikeDescriptor).lb = function (index) {
684
+ return index.toString();
685
+ };
686
+ protoOf(ListLikeDescriptor).mb = function (index) {
687
+ // Inline function 'kotlin.require' call
688
+ if (!(index >= 0)) {
689
+ var message = 'Illegal index ' + index + ', ' + this.ib() + ' expects only non-negative indices';
690
+ throw IllegalArgumentException_init_$Create$(toString(message));
691
+ }
692
+ return this.tc_1;
693
+ };
694
+ protoOf(ListLikeDescriptor).equals = function (other) {
695
+ if (this === other)
696
+ return true;
697
+ if (!(other instanceof ListLikeDescriptor))
698
+ return false;
699
+ if (equals(this.tc_1, other.tc_1) && this.ib() === other.ib())
700
+ return true;
701
+ return false;
702
+ };
703
+ protoOf(ListLikeDescriptor).hashCode = function () {
704
+ return imul(hashCode(this.tc_1), 31) + getStringHashCode(this.ib()) | 0;
705
+ };
706
+ protoOf(ListLikeDescriptor).toString = function () {
707
+ return this.ib() + '(' + toString(this.tc_1) + ')';
708
+ };
709
+ function PrimitiveArrayDescriptor(primitive) {
710
+ ListLikeDescriptor.call(this, primitive);
711
+ this.xc_1 = primitive.ib() + 'Array';
712
+ }
713
+ protoOf(PrimitiveArrayDescriptor).ib = function () {
714
+ return this.xc_1;
715
+ };
716
+ function ReferenceArraySerializer(kClass, eSerializer) {
717
+ CollectionLikeSerializer.call(this, eSerializer);
718
+ this.zc_1 = kClass;
719
+ this.ad_1 = new ArrayClassDesc(eSerializer.gb());
720
+ }
721
+ protoOf(ReferenceArraySerializer).gb = function () {
722
+ return this.ad_1;
723
+ };
724
+ function CollectionLikeSerializer(elementSerializer) {
725
+ AbstractCollectionSerializer.call(this);
726
+ this.bd_1 = elementSerializer;
727
+ }
728
+ function AbstractCollectionSerializer() {
729
+ }
730
+ function PrimitiveArraySerializer(primitiveSerializer) {
731
+ CollectionLikeSerializer.call(this, primitiveSerializer);
732
+ this.dd_1 = new PrimitiveArrayDescriptor(primitiveSerializer.gb());
733
+ }
734
+ protoOf(PrimitiveArraySerializer).gb = function () {
735
+ return this.dd_1;
736
+ };
737
+ function createSimpleEnumSerializer(serialName, values) {
738
+ return new EnumSerializer(serialName, values);
739
+ }
740
+ function createUnmarkedDescriptor($this, serialName) {
741
+ var d = new EnumDescriptor(serialName, $this.ed_1.length);
742
+ // Inline function 'kotlin.collections.forEach' call
743
+ var indexedObject = $this.ed_1;
744
+ var inductionVariable = 0;
745
+ var last = indexedObject.length;
746
+ while (inductionVariable < last) {
747
+ var element = indexedObject[inductionVariable];
748
+ inductionVariable = inductionVariable + 1 | 0;
749
+ d.td(element.o1_1);
750
+ }
751
+ return d;
752
+ }
753
+ function EnumSerializer$descriptor$delegate$lambda(this$0, $serialName) {
754
+ return function () {
755
+ var tmp0_elvis_lhs = this$0.fd_1;
756
+ return tmp0_elvis_lhs == null ? createUnmarkedDescriptor(this$0, $serialName) : tmp0_elvis_lhs;
757
+ };
758
+ }
759
+ function EnumSerializer$_get_descriptor_$ref_j67dlw() {
760
+ return function (p0) {
761
+ return p0.gb();
762
+ };
763
+ }
764
+ function EnumSerializer(serialName, values) {
765
+ this.ed_1 = values;
766
+ this.fd_1 = null;
767
+ var tmp = this;
768
+ tmp.gd_1 = lazy(EnumSerializer$descriptor$delegate$lambda(this, serialName));
769
+ }
770
+ protoOf(EnumSerializer).gb = function () {
771
+ var tmp0 = this.gd_1;
772
+ var tmp = KProperty1;
773
+ // Inline function 'kotlin.getValue' call
774
+ getPropertyCallableRef('descriptor', 1, tmp, EnumSerializer$_get_descriptor_$ref_j67dlw(), null);
775
+ return tmp0.h1();
776
+ };
777
+ protoOf(EnumSerializer).toString = function () {
778
+ return 'kotlinx.serialization.internal.EnumSerializer<' + this.gb().ib() + '>';
779
+ };
780
+ function _get_elementDescriptors__y23q9p($this) {
781
+ var tmp0 = $this.he_1;
782
+ var tmp = KProperty1;
783
+ // Inline function 'kotlin.getValue' call
784
+ getPropertyCallableRef('elementDescriptors', 1, tmp, EnumDescriptor$_get_elementDescriptors_$ref_5lvk4a(), null);
785
+ return tmp0.h1();
786
+ }
787
+ function EnumDescriptor$elementDescriptors$delegate$lambda($elementsCount, $name, this$0) {
788
+ return function () {
789
+ var tmp = 0;
790
+ var tmp_0 = $elementsCount;
791
+ // Inline function 'kotlin.arrayOfNulls' call
792
+ var tmp_1 = Array(tmp_0);
793
+ while (tmp < tmp_0) {
794
+ var tmp_2 = tmp;
795
+ tmp_1[tmp_2] = buildSerialDescriptor($name + '.' + this$0.lb(tmp_2), OBJECT_getInstance(), []);
796
+ tmp = tmp + 1 | 0;
797
+ }
798
+ return tmp_1;
799
+ };
800
+ }
801
+ function EnumDescriptor$_get_elementDescriptors_$ref_5lvk4a() {
802
+ return function (p0) {
803
+ return _get_elementDescriptors__y23q9p(p0);
804
+ };
805
+ }
806
+ function EnumDescriptor(name, elementsCount) {
807
+ PluginGeneratedSerialDescriptor.call(this, name, VOID, elementsCount);
808
+ this.ge_1 = ENUM_getInstance();
809
+ var tmp = this;
810
+ tmp.he_1 = lazy(EnumDescriptor$elementDescriptors$delegate$lambda(elementsCount, name, this));
811
+ }
812
+ protoOf(EnumDescriptor).jb = function () {
813
+ return this.ge_1;
814
+ };
815
+ protoOf(EnumDescriptor).mb = function (index) {
816
+ return getChecked(_get_elementDescriptors__y23q9p(this), index);
817
+ };
818
+ protoOf(EnumDescriptor).equals = function (other) {
819
+ if (this === other)
820
+ return true;
821
+ if (other == null)
822
+ return false;
823
+ if (!(!(other == null) ? isInterface(other, SerialDescriptor) : false))
824
+ return false;
825
+ if (!(other.jb() === ENUM_getInstance()))
826
+ return false;
827
+ if (!(this.ib() === other.ib()))
828
+ return false;
829
+ if (!equals(cachedSerialNames(this), cachedSerialNames(other)))
830
+ return false;
831
+ return true;
832
+ };
833
+ protoOf(EnumDescriptor).toString = function () {
834
+ return joinToString(get_elementNames(this), ', ', this.ib() + '(', ')');
835
+ };
836
+ protoOf(EnumDescriptor).hashCode = function () {
837
+ var result = getStringHashCode(this.ib());
838
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
839
+ // Inline function 'kotlin.collections.fold' call
840
+ var accumulator = 1;
841
+ var _iterator__ex2g4s = get_elementNames(this).g();
842
+ while (_iterator__ex2g4s.h()) {
843
+ var element = _iterator__ex2g4s.i();
844
+ var hash = accumulator;
845
+ var tmp = imul(31, hash);
846
+ // Inline function 'kotlin.hashCode' call
847
+ var tmp1_elvis_lhs = element == null ? null : hashCode(element);
848
+ accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
849
+ }
850
+ var elementsHashCode = accumulator;
851
+ result = imul(31, result) + elementsHashCode | 0;
852
+ return result;
853
+ };
854
+ function InlinePrimitiveDescriptor(name, primitiveSerializer) {
855
+ return new InlineClassDescriptor(name, new InlinePrimitiveDescriptor$1(primitiveSerializer));
856
+ }
857
+ function InlineClassDescriptor(name, generatedSerializer) {
858
+ PluginGeneratedSerialDescriptor.call(this, name, generatedSerializer, 1);
859
+ this.we_1 = true;
860
+ }
861
+ protoOf(InlineClassDescriptor).hashCode = function () {
862
+ return imul(protoOf(PluginGeneratedSerialDescriptor).hashCode.call(this), 31);
863
+ };
864
+ protoOf(InlineClassDescriptor).equals = function (other) {
865
+ var tmp$ret$0;
866
+ $l$block_5: {
867
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
868
+ if (this === other) {
869
+ tmp$ret$0 = true;
870
+ break $l$block_5;
871
+ }
872
+ if (!(other instanceof InlineClassDescriptor)) {
873
+ tmp$ret$0 = false;
874
+ break $l$block_5;
875
+ }
876
+ if (!(this.ib() === other.ib())) {
877
+ tmp$ret$0 = false;
878
+ break $l$block_5;
879
+ }
880
+ if (!(other.we_1 && contentEquals(this.ie(), other.ie()))) {
881
+ tmp$ret$0 = false;
882
+ break $l$block_5;
883
+ }
884
+ if (!(this.kb() === other.kb())) {
885
+ tmp$ret$0 = false;
886
+ break $l$block_5;
887
+ }
888
+ var inductionVariable = 0;
889
+ var last = this.kb();
890
+ if (inductionVariable < last)
891
+ do {
892
+ var index = inductionVariable;
893
+ inductionVariable = inductionVariable + 1 | 0;
894
+ if (!(this.mb(index).ib() === other.mb(index).ib())) {
895
+ tmp$ret$0 = false;
896
+ break $l$block_5;
897
+ }
898
+ if (!equals(this.mb(index).jb(), other.mb(index).jb())) {
899
+ tmp$ret$0 = false;
900
+ break $l$block_5;
901
+ }
902
+ }
903
+ while (inductionVariable < last);
904
+ tmp$ret$0 = true;
905
+ }
906
+ return tmp$ret$0;
907
+ };
908
+ function InlinePrimitiveDescriptor$1($primitiveSerializer) {
909
+ this.xe_1 = $primitiveSerializer;
910
+ }
911
+ protoOf(InlinePrimitiveDescriptor$1).ye = function () {
912
+ // Inline function 'kotlin.arrayOf' call
913
+ // Inline function 'kotlin.js.unsafeCast' call
914
+ // Inline function 'kotlin.js.asDynamic' call
915
+ return [this.xe_1];
916
+ };
917
+ protoOf(InlinePrimitiveDescriptor$1).gb = function () {
918
+ var message = 'unsupported';
919
+ throw IllegalStateException_init_$Create$(toString(message));
920
+ };
921
+ function error($this) {
922
+ throw IllegalStateException_init_$Create$('Descriptor for type `kotlin.Nothing` does not have elements');
923
+ }
924
+ function NothingSerialDescriptor() {
925
+ NothingSerialDescriptor_instance = this;
926
+ this.af_1 = OBJECT_getInstance();
927
+ this.bf_1 = 'kotlin.Nothing';
928
+ }
929
+ protoOf(NothingSerialDescriptor).jb = function () {
930
+ return this.af_1;
931
+ };
932
+ protoOf(NothingSerialDescriptor).ib = function () {
933
+ return this.bf_1;
934
+ };
935
+ protoOf(NothingSerialDescriptor).kb = function () {
936
+ return 0;
937
+ };
938
+ protoOf(NothingSerialDescriptor).lb = function (index) {
939
+ error(this);
940
+ };
941
+ protoOf(NothingSerialDescriptor).mb = function (index) {
942
+ error(this);
943
+ };
944
+ protoOf(NothingSerialDescriptor).toString = function () {
945
+ return 'NothingSerialDescriptor';
946
+ };
947
+ protoOf(NothingSerialDescriptor).equals = function (other) {
948
+ return this === other;
949
+ };
950
+ protoOf(NothingSerialDescriptor).hashCode = function () {
951
+ return getStringHashCode(this.bf_1) + imul(31, this.af_1.hashCode()) | 0;
952
+ };
953
+ var NothingSerialDescriptor_instance;
954
+ function NothingSerialDescriptor_getInstance() {
955
+ if (NothingSerialDescriptor_instance == null)
956
+ new NothingSerialDescriptor();
957
+ return NothingSerialDescriptor_instance;
958
+ }
959
+ function NullableSerializer(serializer) {
960
+ this.cf_1 = serializer;
961
+ this.df_1 = new SerialDescriptorForNullable(this.cf_1.gb());
962
+ }
963
+ protoOf(NullableSerializer).gb = function () {
964
+ return this.df_1;
965
+ };
966
+ protoOf(NullableSerializer).equals = function (other) {
967
+ if (this === other)
968
+ return true;
969
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
970
+ return false;
971
+ if (!(other instanceof NullableSerializer))
972
+ THROW_CCE();
973
+ if (!equals(this.cf_1, other.cf_1))
974
+ return false;
975
+ return true;
976
+ };
977
+ protoOf(NullableSerializer).hashCode = function () {
978
+ return hashCode(this.cf_1);
979
+ };
980
+ function SerialDescriptorForNullable(original) {
981
+ this.ef_1 = original;
982
+ this.ff_1 = this.ef_1.ib() + '?';
983
+ this.gf_1 = cachedSerialNames(this.ef_1);
984
+ }
985
+ protoOf(SerialDescriptorForNullable).ib = function () {
986
+ return this.ff_1;
987
+ };
988
+ protoOf(SerialDescriptorForNullable).nc = function () {
989
+ return this.gf_1;
990
+ };
991
+ protoOf(SerialDescriptorForNullable).hb = function () {
992
+ return true;
993
+ };
994
+ protoOf(SerialDescriptorForNullable).equals = function (other) {
995
+ if (this === other)
996
+ return true;
997
+ if (!(other instanceof SerialDescriptorForNullable))
998
+ return false;
999
+ if (!equals(this.ef_1, other.ef_1))
1000
+ return false;
1001
+ return true;
1002
+ };
1003
+ protoOf(SerialDescriptorForNullable).toString = function () {
1004
+ return toString(this.ef_1) + '?';
1005
+ };
1006
+ protoOf(SerialDescriptorForNullable).hashCode = function () {
1007
+ return imul(hashCode(this.ef_1), 31);
1008
+ };
1009
+ protoOf(SerialDescriptorForNullable).jb = function () {
1010
+ return this.ef_1.jb();
1011
+ };
1012
+ protoOf(SerialDescriptorForNullable).kb = function () {
1013
+ return this.ef_1.kb();
1014
+ };
1015
+ protoOf(SerialDescriptorForNullable).lb = function (index) {
1016
+ return this.ef_1.lb(index);
1017
+ };
1018
+ protoOf(SerialDescriptorForNullable).mb = function (index) {
1019
+ return this.ef_1.mb(index);
1020
+ };
1021
+ function ObjectSerializer$descriptor$delegate$lambda$lambda(this$0) {
1022
+ return function ($this$buildSerialDescriptor) {
1023
+ $this$buildSerialDescriptor.vb_1 = this$0.if_1;
1024
+ return Unit_instance;
1025
+ };
1026
+ }
1027
+ function ObjectSerializer$descriptor$delegate$lambda($serialName, this$0) {
1028
+ return function () {
1029
+ var tmp = OBJECT_getInstance();
1030
+ return buildSerialDescriptor($serialName, tmp, [], ObjectSerializer$descriptor$delegate$lambda$lambda(this$0));
1031
+ };
1032
+ }
1033
+ function ObjectSerializer$_get_descriptor_$ref_7z4xb6() {
1034
+ return function (p0) {
1035
+ return p0.gb();
1036
+ };
1037
+ }
1038
+ function ObjectSerializer(serialName, objectInstance) {
1039
+ this.hf_1 = objectInstance;
1040
+ this.if_1 = emptyList();
1041
+ var tmp = this;
1042
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1043
+ tmp.jf_1 = lazy_0(tmp_0, ObjectSerializer$descriptor$delegate$lambda(serialName, this));
1044
+ }
1045
+ protoOf(ObjectSerializer).gb = function () {
1046
+ var tmp0 = this.jf_1;
1047
+ var tmp = KProperty1;
1048
+ // Inline function 'kotlin.getValue' call
1049
+ getPropertyCallableRef('descriptor', 1, tmp, ObjectSerializer$_get_descriptor_$ref_7z4xb6(), null);
1050
+ return tmp0.h1();
1051
+ };
1052
+ function get_EMPTY_DESCRIPTOR_ARRAY() {
1053
+ _init_properties_Platform_common_kt__3qzecs();
1054
+ return EMPTY_DESCRIPTOR_ARRAY;
1055
+ }
1056
+ var EMPTY_DESCRIPTOR_ARRAY;
1057
+ function compactArray(_this__u8e3s4) {
1058
+ _init_properties_Platform_common_kt__3qzecs();
1059
+ // Inline function 'kotlin.takeUnless' call
1060
+ var tmp;
1061
+ // Inline function 'kotlin.collections.isNullOrEmpty' call
1062
+ if (!(_this__u8e3s4 == null || _this__u8e3s4.c1())) {
1063
+ tmp = _this__u8e3s4;
1064
+ } else {
1065
+ tmp = null;
1066
+ }
1067
+ var tmp0_safe_receiver = tmp;
1068
+ var tmp_0;
1069
+ if (tmp0_safe_receiver == null) {
1070
+ tmp_0 = null;
1071
+ } else {
1072
+ // Inline function 'kotlin.collections.toTypedArray' call
1073
+ tmp_0 = copyToArray(tmp0_safe_receiver);
1074
+ }
1075
+ var tmp1_elvis_lhs = tmp_0;
1076
+ return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs;
1077
+ }
1078
+ function cachedSerialNames(_this__u8e3s4) {
1079
+ _init_properties_Platform_common_kt__3qzecs();
1080
+ if (isInterface(_this__u8e3s4, CachedNames))
1081
+ return _this__u8e3s4.nc();
1082
+ var result = HashSet_init_$Create$_0(_this__u8e3s4.kb());
1083
+ var inductionVariable = 0;
1084
+ var last = _this__u8e3s4.kb();
1085
+ if (inductionVariable < last)
1086
+ do {
1087
+ var i = inductionVariable;
1088
+ inductionVariable = inductionVariable + 1 | 0;
1089
+ // Inline function 'kotlin.collections.plusAssign' call
1090
+ var element = _this__u8e3s4.lb(i);
1091
+ result.k(element);
1092
+ }
1093
+ while (inductionVariable < last);
1094
+ return result;
1095
+ }
1096
+ var properties_initialized_Platform_common_kt_i7q4ty;
1097
+ function _init_properties_Platform_common_kt__3qzecs() {
1098
+ if (!properties_initialized_Platform_common_kt_i7q4ty) {
1099
+ properties_initialized_Platform_common_kt_i7q4ty = true;
1100
+ // Inline function 'kotlin.arrayOf' call
1101
+ // Inline function 'kotlin.js.unsafeCast' call
1102
+ // Inline function 'kotlin.js.asDynamic' call
1103
+ EMPTY_DESCRIPTOR_ARRAY = [];
1104
+ }
1105
+ }
1106
+ function hashCodeImpl(_this__u8e3s4, typeParams) {
1107
+ var result = getStringHashCode(_this__u8e3s4.ib());
1108
+ result = imul(31, result) + contentHashCode(typeParams) | 0;
1109
+ var elementDescriptors = get_elementDescriptors(_this__u8e3s4);
1110
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
1111
+ // Inline function 'kotlin.collections.fold' call
1112
+ var accumulator = 1;
1113
+ var _iterator__ex2g4s = elementDescriptors.g();
1114
+ while (_iterator__ex2g4s.h()) {
1115
+ var element = _iterator__ex2g4s.i();
1116
+ var hash = accumulator;
1117
+ var tmp = imul(31, hash);
1118
+ // Inline function 'kotlin.hashCode' call
1119
+ var tmp0_safe_receiver = element.ib();
1120
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
1121
+ accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
1122
+ }
1123
+ var namesHash = accumulator;
1124
+ // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call
1125
+ // Inline function 'kotlin.collections.fold' call
1126
+ var accumulator_0 = 1;
1127
+ var _iterator__ex2g4s_0 = elementDescriptors.g();
1128
+ while (_iterator__ex2g4s_0.h()) {
1129
+ var element_0 = _iterator__ex2g4s_0.i();
1130
+ var hash_0 = accumulator_0;
1131
+ var tmp_0 = imul(31, hash_0);
1132
+ // Inline function 'kotlin.hashCode' call
1133
+ var tmp0_safe_receiver_0 = element_0.jb();
1134
+ var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
1135
+ accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
1136
+ }
1137
+ var kindHash = accumulator_0;
1138
+ result = imul(31, result) + namesHash | 0;
1139
+ result = imul(31, result) + kindHash | 0;
1140
+ return result;
1141
+ }
1142
+ function toStringImpl(_this__u8e3s4) {
1143
+ var tmp = until(0, _this__u8e3s4.kb());
1144
+ var tmp_0 = _this__u8e3s4.ib() + '(';
1145
+ return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, toStringImpl$lambda(_this__u8e3s4));
1146
+ }
1147
+ function _get_childSerializers__7vnyfa($this) {
1148
+ var tmp0 = $this.qd_1;
1149
+ var tmp = KProperty1;
1150
+ // Inline function 'kotlin.getValue' call
1151
+ getPropertyCallableRef('childSerializers', 1, tmp, PluginGeneratedSerialDescriptor$_get_childSerializers_$ref_e7suca(), null);
1152
+ return tmp0.h1();
1153
+ }
1154
+ function _get__hashCode__tgwhef_0($this) {
1155
+ var tmp0 = $this.sd_1;
1156
+ var tmp = KProperty1;
1157
+ // Inline function 'kotlin.getValue' call
1158
+ getPropertyCallableRef('_hashCode', 1, tmp, PluginGeneratedSerialDescriptor$_get__hashCode_$ref_cmj4vz(), null);
1159
+ return tmp0.h1();
1160
+ }
1161
+ function buildIndices($this) {
1162
+ var indices = HashMap_init_$Create$();
1163
+ var inductionVariable = 0;
1164
+ var last = $this.ld_1.length - 1 | 0;
1165
+ if (inductionVariable <= last)
1166
+ do {
1167
+ var i = inductionVariable;
1168
+ inductionVariable = inductionVariable + 1 | 0;
1169
+ // Inline function 'kotlin.collections.set' call
1170
+ var key = $this.ld_1[i];
1171
+ indices.x2(key, i);
1172
+ }
1173
+ while (inductionVariable <= last);
1174
+ return indices;
1175
+ }
1176
+ function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) {
1177
+ return function () {
1178
+ var tmp0_safe_receiver = this$0.id_1;
1179
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ye();
1180
+ return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs;
1181
+ };
1182
+ }
1183
+ function PluginGeneratedSerialDescriptor$_get_childSerializers_$ref_e7suca() {
1184
+ return function (p0) {
1185
+ return _get_childSerializers__7vnyfa(p0);
1186
+ };
1187
+ }
1188
+ function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) {
1189
+ return function () {
1190
+ var tmp0_safe_receiver = this$0.id_1;
1191
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ze();
1192
+ var tmp;
1193
+ if (tmp1_safe_receiver == null) {
1194
+ tmp = null;
1195
+ } else {
1196
+ // Inline function 'kotlin.collections.map' call
1197
+ // Inline function 'kotlin.collections.mapTo' call
1198
+ var destination = ArrayList_init_$Create$_0(tmp1_safe_receiver.length);
1199
+ var inductionVariable = 0;
1200
+ var last = tmp1_safe_receiver.length;
1201
+ while (inductionVariable < last) {
1202
+ var item = tmp1_safe_receiver[inductionVariable];
1203
+ inductionVariable = inductionVariable + 1 | 0;
1204
+ var tmp$ret$0 = item.gb();
1205
+ destination.k(tmp$ret$0);
1206
+ }
1207
+ tmp = destination;
1208
+ }
1209
+ return compactArray(tmp);
1210
+ };
1211
+ }
1212
+ function PluginGeneratedSerialDescriptor$_get_typeParameterDescriptors_$ref_jk3pka() {
1213
+ return function (p0) {
1214
+ return p0.ie();
1215
+ };
1216
+ }
1217
+ function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) {
1218
+ return function () {
1219
+ return hashCodeImpl(this$0, this$0.ie());
1220
+ };
1221
+ }
1222
+ function PluginGeneratedSerialDescriptor$_get__hashCode_$ref_cmj4vz() {
1223
+ return function (p0) {
1224
+ return _get__hashCode__tgwhef_0(p0);
1225
+ };
1226
+ }
1227
+ function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) {
1228
+ generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer;
1229
+ this.hd_1 = serialName;
1230
+ this.id_1 = generatedSerializer;
1231
+ this.jd_1 = elementsCount;
1232
+ this.kd_1 = -1;
1233
+ var tmp = this;
1234
+ var tmp_0 = 0;
1235
+ var tmp_1 = this.jd_1;
1236
+ // Inline function 'kotlin.arrayOfNulls' call
1237
+ var tmp_2 = Array(tmp_1);
1238
+ while (tmp_0 < tmp_1) {
1239
+ tmp_2[tmp_0] = '[UNINITIALIZED]';
1240
+ tmp_0 = tmp_0 + 1 | 0;
1241
+ }
1242
+ tmp.ld_1 = tmp_2;
1243
+ var tmp_3 = this;
1244
+ // Inline function 'kotlin.arrayOfNulls' call
1245
+ var size = this.jd_1;
1246
+ tmp_3.md_1 = Array(size);
1247
+ this.nd_1 = null;
1248
+ this.od_1 = booleanArray(this.jd_1);
1249
+ this.pd_1 = emptyMap();
1250
+ var tmp_4 = this;
1251
+ var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1252
+ tmp_4.qd_1 = lazy_0(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this));
1253
+ var tmp_6 = this;
1254
+ var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1255
+ tmp_6.rd_1 = lazy_0(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this));
1256
+ var tmp_8 = this;
1257
+ var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1258
+ tmp_8.sd_1 = lazy_0(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this));
1259
+ }
1260
+ protoOf(PluginGeneratedSerialDescriptor).ib = function () {
1261
+ return this.hd_1;
1262
+ };
1263
+ protoOf(PluginGeneratedSerialDescriptor).kb = function () {
1264
+ return this.jd_1;
1265
+ };
1266
+ protoOf(PluginGeneratedSerialDescriptor).jb = function () {
1267
+ return CLASS_getInstance();
1268
+ };
1269
+ protoOf(PluginGeneratedSerialDescriptor).nc = function () {
1270
+ return this.pd_1.l1();
1271
+ };
1272
+ protoOf(PluginGeneratedSerialDescriptor).ie = function () {
1273
+ var tmp0 = this.rd_1;
1274
+ var tmp = KProperty1;
1275
+ // Inline function 'kotlin.getValue' call
1276
+ getPropertyCallableRef('typeParameterDescriptors', 1, tmp, PluginGeneratedSerialDescriptor$_get_typeParameterDescriptors_$ref_jk3pka(), null);
1277
+ return tmp0.h1();
1278
+ };
1279
+ protoOf(PluginGeneratedSerialDescriptor).je = function (name, isOptional) {
1280
+ this.kd_1 = this.kd_1 + 1 | 0;
1281
+ this.ld_1[this.kd_1] = name;
1282
+ this.od_1[this.kd_1] = isOptional;
1283
+ this.md_1[this.kd_1] = null;
1284
+ if (this.kd_1 === (this.jd_1 - 1 | 0)) {
1285
+ this.pd_1 = buildIndices(this);
1286
+ }
1287
+ };
1288
+ protoOf(PluginGeneratedSerialDescriptor).td = function (name, isOptional, $super) {
1289
+ isOptional = isOptional === VOID ? false : isOptional;
1290
+ var tmp;
1291
+ if ($super === VOID) {
1292
+ this.je(name, isOptional);
1293
+ tmp = Unit_instance;
1294
+ } else {
1295
+ tmp = $super.je.call(this, name, isOptional);
1296
+ }
1297
+ return tmp;
1298
+ };
1299
+ protoOf(PluginGeneratedSerialDescriptor).mb = function (index) {
1300
+ return getChecked(_get_childSerializers__7vnyfa(this), index).gb();
1301
+ };
1302
+ protoOf(PluginGeneratedSerialDescriptor).lb = function (index) {
1303
+ return getChecked(this.ld_1, index);
1304
+ };
1305
+ protoOf(PluginGeneratedSerialDescriptor).equals = function (other) {
1306
+ var tmp$ret$0;
1307
+ $l$block_5: {
1308
+ // Inline function 'kotlinx.serialization.internal.equalsImpl' call
1309
+ if (this === other) {
1310
+ tmp$ret$0 = true;
1311
+ break $l$block_5;
1312
+ }
1313
+ if (!(other instanceof PluginGeneratedSerialDescriptor)) {
1314
+ tmp$ret$0 = false;
1315
+ break $l$block_5;
1316
+ }
1317
+ if (!(this.ib() === other.ib())) {
1318
+ tmp$ret$0 = false;
1319
+ break $l$block_5;
1320
+ }
1321
+ if (!contentEquals(this.ie(), other.ie())) {
1322
+ tmp$ret$0 = false;
1323
+ break $l$block_5;
1324
+ }
1325
+ if (!(this.kb() === other.kb())) {
1326
+ tmp$ret$0 = false;
1327
+ break $l$block_5;
1328
+ }
1329
+ var inductionVariable = 0;
1330
+ var last = this.kb();
1331
+ if (inductionVariable < last)
1332
+ do {
1333
+ var index = inductionVariable;
1334
+ inductionVariable = inductionVariable + 1 | 0;
1335
+ if (!(this.mb(index).ib() === other.mb(index).ib())) {
1336
+ tmp$ret$0 = false;
1337
+ break $l$block_5;
1338
+ }
1339
+ if (!equals(this.mb(index).jb(), other.mb(index).jb())) {
1340
+ tmp$ret$0 = false;
1341
+ break $l$block_5;
1342
+ }
1343
+ }
1344
+ while (inductionVariable < last);
1345
+ tmp$ret$0 = true;
1346
+ }
1347
+ return tmp$ret$0;
1348
+ };
1349
+ protoOf(PluginGeneratedSerialDescriptor).hashCode = function () {
1350
+ return _get__hashCode__tgwhef_0(this);
1351
+ };
1352
+ protoOf(PluginGeneratedSerialDescriptor).toString = function () {
1353
+ return toStringImpl(this);
1354
+ };
1355
+ function toStringImpl$lambda($this_toStringImpl) {
1356
+ return function (i) {
1357
+ return $this_toStringImpl.lb(i) + ': ' + $this_toStringImpl.mb(i).ib();
1358
+ };
1359
+ }
1360
+ function get_EMPTY_SERIALIZER_ARRAY() {
1361
+ _init_properties_PluginHelperInterfaces_kt__xgvzfp();
1362
+ return EMPTY_SERIALIZER_ARRAY;
1363
+ }
1364
+ var EMPTY_SERIALIZER_ARRAY;
1365
+ function GeneratedSerializer() {
1366
+ }
1367
+ var properties_initialized_PluginHelperInterfaces_kt_ap8in1;
1368
+ function _init_properties_PluginHelperInterfaces_kt__xgvzfp() {
1369
+ if (!properties_initialized_PluginHelperInterfaces_kt_ap8in1) {
1370
+ properties_initialized_PluginHelperInterfaces_kt_ap8in1 = true;
1371
+ // Inline function 'kotlin.arrayOf' call
1372
+ // Inline function 'kotlin.js.unsafeCast' call
1373
+ // Inline function 'kotlin.js.asDynamic' call
1374
+ EMPTY_SERIALIZER_ARRAY = [];
1375
+ }
1376
+ }
1377
+ function CharArraySerializer_0() {
1378
+ CharArraySerializer_instance = this;
1379
+ PrimitiveArraySerializer.call(this, serializer_8(Companion_getInstance()));
1380
+ }
1381
+ var CharArraySerializer_instance;
1382
+ function CharArraySerializer_getInstance() {
1383
+ if (CharArraySerializer_instance == null)
1384
+ new CharArraySerializer_0();
1385
+ return CharArraySerializer_instance;
1386
+ }
1387
+ function DoubleArraySerializer_0() {
1388
+ DoubleArraySerializer_instance = this;
1389
+ PrimitiveArraySerializer.call(this, serializer_9(DoubleCompanionObject_instance));
1390
+ }
1391
+ var DoubleArraySerializer_instance;
1392
+ function DoubleArraySerializer_getInstance() {
1393
+ if (DoubleArraySerializer_instance == null)
1394
+ new DoubleArraySerializer_0();
1395
+ return DoubleArraySerializer_instance;
1396
+ }
1397
+ function FloatArraySerializer_0() {
1398
+ FloatArraySerializer_instance = this;
1399
+ PrimitiveArraySerializer.call(this, serializer_10(FloatCompanionObject_instance));
1400
+ }
1401
+ var FloatArraySerializer_instance;
1402
+ function FloatArraySerializer_getInstance() {
1403
+ if (FloatArraySerializer_instance == null)
1404
+ new FloatArraySerializer_0();
1405
+ return FloatArraySerializer_instance;
1406
+ }
1407
+ function LongArraySerializer_0() {
1408
+ LongArraySerializer_instance = this;
1409
+ PrimitiveArraySerializer.call(this, serializer_5(Companion_instance));
1410
+ }
1411
+ var LongArraySerializer_instance;
1412
+ function LongArraySerializer_getInstance() {
1413
+ if (LongArraySerializer_instance == null)
1414
+ new LongArraySerializer_0();
1415
+ return LongArraySerializer_instance;
1416
+ }
1417
+ function ULongArraySerializer_0() {
1418
+ ULongArraySerializer_instance = this;
1419
+ PrimitiveArraySerializer.call(this, serializer_1(Companion_getInstance_0()));
1420
+ }
1421
+ var ULongArraySerializer_instance;
1422
+ function ULongArraySerializer_getInstance() {
1423
+ if (ULongArraySerializer_instance == null)
1424
+ new ULongArraySerializer_0();
1425
+ return ULongArraySerializer_instance;
1426
+ }
1427
+ function IntArraySerializer_0() {
1428
+ IntArraySerializer_instance = this;
1429
+ PrimitiveArraySerializer.call(this, serializer_4(IntCompanionObject_instance));
1430
+ }
1431
+ var IntArraySerializer_instance;
1432
+ function IntArraySerializer_getInstance() {
1433
+ if (IntArraySerializer_instance == null)
1434
+ new IntArraySerializer_0();
1435
+ return IntArraySerializer_instance;
1436
+ }
1437
+ function UIntArraySerializer_0() {
1438
+ UIntArraySerializer_instance = this;
1439
+ PrimitiveArraySerializer.call(this, serializer_0(Companion_getInstance_1()));
1440
+ }
1441
+ var UIntArraySerializer_instance;
1442
+ function UIntArraySerializer_getInstance() {
1443
+ if (UIntArraySerializer_instance == null)
1444
+ new UIntArraySerializer_0();
1445
+ return UIntArraySerializer_instance;
1446
+ }
1447
+ function ShortArraySerializer_0() {
1448
+ ShortArraySerializer_instance = this;
1449
+ PrimitiveArraySerializer.call(this, serializer_7(ShortCompanionObject_instance));
1450
+ }
1451
+ var ShortArraySerializer_instance;
1452
+ function ShortArraySerializer_getInstance() {
1453
+ if (ShortArraySerializer_instance == null)
1454
+ new ShortArraySerializer_0();
1455
+ return ShortArraySerializer_instance;
1456
+ }
1457
+ function UShortArraySerializer_0() {
1458
+ UShortArraySerializer_instance = this;
1459
+ PrimitiveArraySerializer.call(this, serializer_3(Companion_getInstance_2()));
1460
+ }
1461
+ var UShortArraySerializer_instance;
1462
+ function UShortArraySerializer_getInstance() {
1463
+ if (UShortArraySerializer_instance == null)
1464
+ new UShortArraySerializer_0();
1465
+ return UShortArraySerializer_instance;
1466
+ }
1467
+ function ByteArraySerializer_0() {
1468
+ ByteArraySerializer_instance = this;
1469
+ PrimitiveArraySerializer.call(this, serializer_6(ByteCompanionObject_instance));
1470
+ }
1471
+ var ByteArraySerializer_instance;
1472
+ function ByteArraySerializer_getInstance() {
1473
+ if (ByteArraySerializer_instance == null)
1474
+ new ByteArraySerializer_0();
1475
+ return ByteArraySerializer_instance;
1476
+ }
1477
+ function UByteArraySerializer_0() {
1478
+ UByteArraySerializer_instance = this;
1479
+ PrimitiveArraySerializer.call(this, serializer_2(Companion_getInstance_3()));
1480
+ }
1481
+ var UByteArraySerializer_instance;
1482
+ function UByteArraySerializer_getInstance() {
1483
+ if (UByteArraySerializer_instance == null)
1484
+ new UByteArraySerializer_0();
1485
+ return UByteArraySerializer_instance;
1486
+ }
1487
+ function BooleanArraySerializer_0() {
1488
+ BooleanArraySerializer_instance = this;
1489
+ PrimitiveArraySerializer.call(this, serializer_11(BooleanCompanionObject_instance));
1490
+ }
1491
+ var BooleanArraySerializer_instance;
1492
+ function BooleanArraySerializer_getInstance() {
1493
+ if (BooleanArraySerializer_instance == null)
1494
+ new BooleanArraySerializer_0();
1495
+ return BooleanArraySerializer_instance;
1496
+ }
1497
+ function get_BUILTIN_SERIALIZERS() {
1498
+ _init_properties_Primitives_kt__k0eto4();
1499
+ return BUILTIN_SERIALIZERS;
1500
+ }
1501
+ var BUILTIN_SERIALIZERS;
1502
+ function StringSerializer() {
1503
+ StringSerializer_instance = this;
1504
+ this.kf_1 = new PrimitiveSerialDescriptor_0('kotlin.String', STRING_getInstance());
1505
+ }
1506
+ protoOf(StringSerializer).gb = function () {
1507
+ return this.kf_1;
1508
+ };
1509
+ var StringSerializer_instance;
1510
+ function StringSerializer_getInstance() {
1511
+ if (StringSerializer_instance == null)
1512
+ new StringSerializer();
1513
+ return StringSerializer_instance;
1514
+ }
1515
+ function PrimitiveDescriptorSafe(serialName, kind) {
1516
+ _init_properties_Primitives_kt__k0eto4();
1517
+ checkNameIsNotAPrimitive(serialName);
1518
+ return new PrimitiveSerialDescriptor_0(serialName, kind);
1519
+ }
1520
+ function error_0($this) {
1521
+ throw IllegalStateException_init_$Create$('Primitive descriptor ' + $this.lf_1 + ' does not have elements');
1522
+ }
1523
+ function PrimitiveSerialDescriptor_0(serialName, kind) {
1524
+ this.lf_1 = serialName;
1525
+ this.mf_1 = kind;
1526
+ }
1527
+ protoOf(PrimitiveSerialDescriptor_0).ib = function () {
1528
+ return this.lf_1;
1529
+ };
1530
+ protoOf(PrimitiveSerialDescriptor_0).jb = function () {
1531
+ return this.mf_1;
1532
+ };
1533
+ protoOf(PrimitiveSerialDescriptor_0).kb = function () {
1534
+ return 0;
1535
+ };
1536
+ protoOf(PrimitiveSerialDescriptor_0).lb = function (index) {
1537
+ error_0(this);
1538
+ };
1539
+ protoOf(PrimitiveSerialDescriptor_0).mb = function (index) {
1540
+ error_0(this);
1541
+ };
1542
+ protoOf(PrimitiveSerialDescriptor_0).toString = function () {
1543
+ return 'PrimitiveDescriptor(' + this.lf_1 + ')';
1544
+ };
1545
+ protoOf(PrimitiveSerialDescriptor_0).equals = function (other) {
1546
+ if (this === other)
1547
+ return true;
1548
+ if (!(other instanceof PrimitiveSerialDescriptor_0))
1549
+ return false;
1550
+ if (this.lf_1 === other.lf_1 && equals(this.mf_1, other.mf_1))
1551
+ return true;
1552
+ return false;
1553
+ };
1554
+ protoOf(PrimitiveSerialDescriptor_0).hashCode = function () {
1555
+ return getStringHashCode(this.lf_1) + imul(31, this.mf_1.hashCode()) | 0;
1556
+ };
1557
+ function checkNameIsNotAPrimitive(serialName) {
1558
+ _init_properties_Primitives_kt__k0eto4();
1559
+ var values = get_BUILTIN_SERIALIZERS().m1();
1560
+ var _iterator__ex2g4s = values.g();
1561
+ while (_iterator__ex2g4s.h()) {
1562
+ var primitive = _iterator__ex2g4s.i();
1563
+ var primitiveName = primitive.gb().ib();
1564
+ if (serialName === primitiveName) {
1565
+ throw IllegalArgumentException_init_$Create$(trimIndent('\n The name of serial descriptor should uniquely identify associated serializer.\n For serial name ' + serialName + ' there already exists ' + getKClassFromExpression(primitive).z5() + '.\n Please refer to SerialDescriptor documentation for additional information.\n '));
1566
+ }
1567
+ }
1568
+ }
1569
+ function IntSerializer() {
1570
+ IntSerializer_instance = this;
1571
+ this.nf_1 = new PrimitiveSerialDescriptor_0('kotlin.Int', INT_getInstance());
1572
+ }
1573
+ protoOf(IntSerializer).gb = function () {
1574
+ return this.nf_1;
1575
+ };
1576
+ var IntSerializer_instance;
1577
+ function IntSerializer_getInstance() {
1578
+ if (IntSerializer_instance == null)
1579
+ new IntSerializer();
1580
+ return IntSerializer_instance;
1581
+ }
1582
+ function LongSerializer() {
1583
+ LongSerializer_instance = this;
1584
+ this.of_1 = new PrimitiveSerialDescriptor_0('kotlin.Long', LONG_getInstance());
1585
+ }
1586
+ protoOf(LongSerializer).gb = function () {
1587
+ return this.of_1;
1588
+ };
1589
+ var LongSerializer_instance;
1590
+ function LongSerializer_getInstance() {
1591
+ if (LongSerializer_instance == null)
1592
+ new LongSerializer();
1593
+ return LongSerializer_instance;
1594
+ }
1595
+ function ByteSerializer() {
1596
+ ByteSerializer_instance = this;
1597
+ this.pf_1 = new PrimitiveSerialDescriptor_0('kotlin.Byte', BYTE_getInstance());
1598
+ }
1599
+ protoOf(ByteSerializer).gb = function () {
1600
+ return this.pf_1;
1601
+ };
1602
+ var ByteSerializer_instance;
1603
+ function ByteSerializer_getInstance() {
1604
+ if (ByteSerializer_instance == null)
1605
+ new ByteSerializer();
1606
+ return ByteSerializer_instance;
1607
+ }
1608
+ function ShortSerializer() {
1609
+ ShortSerializer_instance = this;
1610
+ this.qf_1 = new PrimitiveSerialDescriptor_0('kotlin.Short', SHORT_getInstance());
1611
+ }
1612
+ protoOf(ShortSerializer).gb = function () {
1613
+ return this.qf_1;
1614
+ };
1615
+ var ShortSerializer_instance;
1616
+ function ShortSerializer_getInstance() {
1617
+ if (ShortSerializer_instance == null)
1618
+ new ShortSerializer();
1619
+ return ShortSerializer_instance;
1620
+ }
1621
+ function CharSerializer() {
1622
+ CharSerializer_instance = this;
1623
+ this.rf_1 = new PrimitiveSerialDescriptor_0('kotlin.Char', CHAR_getInstance());
1624
+ }
1625
+ protoOf(CharSerializer).gb = function () {
1626
+ return this.rf_1;
1627
+ };
1628
+ var CharSerializer_instance;
1629
+ function CharSerializer_getInstance() {
1630
+ if (CharSerializer_instance == null)
1631
+ new CharSerializer();
1632
+ return CharSerializer_instance;
1633
+ }
1634
+ function DoubleSerializer() {
1635
+ DoubleSerializer_instance = this;
1636
+ this.sf_1 = new PrimitiveSerialDescriptor_0('kotlin.Double', DOUBLE_getInstance());
1637
+ }
1638
+ protoOf(DoubleSerializer).gb = function () {
1639
+ return this.sf_1;
1640
+ };
1641
+ var DoubleSerializer_instance;
1642
+ function DoubleSerializer_getInstance() {
1643
+ if (DoubleSerializer_instance == null)
1644
+ new DoubleSerializer();
1645
+ return DoubleSerializer_instance;
1646
+ }
1647
+ function FloatSerializer() {
1648
+ FloatSerializer_instance = this;
1649
+ this.tf_1 = new PrimitiveSerialDescriptor_0('kotlin.Float', FLOAT_getInstance());
1650
+ }
1651
+ protoOf(FloatSerializer).gb = function () {
1652
+ return this.tf_1;
1653
+ };
1654
+ var FloatSerializer_instance;
1655
+ function FloatSerializer_getInstance() {
1656
+ if (FloatSerializer_instance == null)
1657
+ new FloatSerializer();
1658
+ return FloatSerializer_instance;
1659
+ }
1660
+ function BooleanSerializer() {
1661
+ BooleanSerializer_instance = this;
1662
+ this.uf_1 = new PrimitiveSerialDescriptor_0('kotlin.Boolean', BOOLEAN_getInstance());
1663
+ }
1664
+ protoOf(BooleanSerializer).gb = function () {
1665
+ return this.uf_1;
1666
+ };
1667
+ var BooleanSerializer_instance;
1668
+ function BooleanSerializer_getInstance() {
1669
+ if (BooleanSerializer_instance == null)
1670
+ new BooleanSerializer();
1671
+ return BooleanSerializer_instance;
1672
+ }
1673
+ function UnitSerializer() {
1674
+ UnitSerializer_instance = this;
1675
+ this.vf_1 = new ObjectSerializer('kotlin.Unit', Unit_instance);
1676
+ }
1677
+ protoOf(UnitSerializer).gb = function () {
1678
+ return this.vf_1.gb();
1679
+ };
1680
+ var UnitSerializer_instance;
1681
+ function UnitSerializer_getInstance() {
1682
+ if (UnitSerializer_instance == null)
1683
+ new UnitSerializer();
1684
+ return UnitSerializer_instance;
1685
+ }
1686
+ var properties_initialized_Primitives_kt_6dpii6;
1687
+ function _init_properties_Primitives_kt__k0eto4() {
1688
+ if (!properties_initialized_Primitives_kt_6dpii6) {
1689
+ properties_initialized_Primitives_kt_6dpii6 = true;
1690
+ BUILTIN_SERIALIZERS = initBuiltins();
1691
+ }
1692
+ }
1693
+ function UIntSerializer() {
1694
+ UIntSerializer_instance = this;
1695
+ this.wf_1 = InlinePrimitiveDescriptor('kotlin.UInt', serializer_4(IntCompanionObject_instance));
1696
+ }
1697
+ protoOf(UIntSerializer).gb = function () {
1698
+ return this.wf_1;
1699
+ };
1700
+ var UIntSerializer_instance;
1701
+ function UIntSerializer_getInstance() {
1702
+ if (UIntSerializer_instance == null)
1703
+ new UIntSerializer();
1704
+ return UIntSerializer_instance;
1705
+ }
1706
+ function ULongSerializer() {
1707
+ ULongSerializer_instance = this;
1708
+ this.xf_1 = InlinePrimitiveDescriptor('kotlin.ULong', serializer_5(Companion_instance));
1709
+ }
1710
+ protoOf(ULongSerializer).gb = function () {
1711
+ return this.xf_1;
1712
+ };
1713
+ var ULongSerializer_instance;
1714
+ function ULongSerializer_getInstance() {
1715
+ if (ULongSerializer_instance == null)
1716
+ new ULongSerializer();
1717
+ return ULongSerializer_instance;
1718
+ }
1719
+ function UByteSerializer() {
1720
+ UByteSerializer_instance = this;
1721
+ this.yf_1 = InlinePrimitiveDescriptor('kotlin.UByte', serializer_6(ByteCompanionObject_instance));
1722
+ }
1723
+ protoOf(UByteSerializer).gb = function () {
1724
+ return this.yf_1;
1725
+ };
1726
+ var UByteSerializer_instance;
1727
+ function UByteSerializer_getInstance() {
1728
+ if (UByteSerializer_instance == null)
1729
+ new UByteSerializer();
1730
+ return UByteSerializer_instance;
1731
+ }
1732
+ function UShortSerializer() {
1733
+ UShortSerializer_instance = this;
1734
+ this.zf_1 = InlinePrimitiveDescriptor('kotlin.UShort', serializer_7(ShortCompanionObject_instance));
1735
+ }
1736
+ protoOf(UShortSerializer).gb = function () {
1737
+ return this.zf_1;
1738
+ };
1739
+ var UShortSerializer_instance;
1740
+ function UShortSerializer_getInstance() {
1741
+ if (UShortSerializer_instance == null)
1742
+ new UShortSerializer();
1743
+ return UShortSerializer_instance;
1744
+ }
1745
+ function SerializableWith() {
1746
+ }
1747
+ function getChecked(_this__u8e3s4, index) {
1748
+ if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false))
1749
+ throw IndexOutOfBoundsException_init_$Create$('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4).toString());
1750
+ return _this__u8e3s4[index];
1751
+ }
1752
+ function initBuiltins() {
1753
+ return mapOf([to(PrimitiveClasses_getInstance().s6(), serializer(StringCompanionObject_instance)), to(getKClass(Char), serializer_8(Companion_getInstance())), to(PrimitiveClasses_getInstance().v6(), CharArraySerializer()), to(PrimitiveClasses_getInstance().q6(), serializer_9(DoubleCompanionObject_instance)), to(PrimitiveClasses_getInstance().a7(), DoubleArraySerializer()), to(PrimitiveClasses_getInstance().p6(), serializer_10(FloatCompanionObject_instance)), to(PrimitiveClasses_getInstance().z6(), FloatArraySerializer()), to(PrimitiveClasses_getInstance().o6(), serializer_5(Companion_instance)), to(get_longArrayClass(), LongArraySerializer()), to(getKClass(ULong), serializer_1(Companion_getInstance_0())), to(getKClass(ULongArray), ULongArraySerializer()), to(PrimitiveClasses_getInstance().n6(), serializer_4(IntCompanionObject_instance)), to(PrimitiveClasses_getInstance().y6(), IntArraySerializer()), to(getKClass(UInt), serializer_0(Companion_getInstance_1())), to(getKClass(UIntArray), UIntArraySerializer()), to(PrimitiveClasses_getInstance().m6(), serializer_7(ShortCompanionObject_instance)), to(PrimitiveClasses_getInstance().x6(), ShortArraySerializer()), to(getKClass(UShort), serializer_3(Companion_getInstance_2())), to(getKClass(UShortArray), UShortArraySerializer()), to(PrimitiveClasses_getInstance().l6(), serializer_6(ByteCompanionObject_instance)), to(PrimitiveClasses_getInstance().w6(), ByteArraySerializer()), to(getKClass(UByte), serializer_2(Companion_getInstance_3())), to(getKClass(UByteArray), UByteArraySerializer()), to(PrimitiveClasses_getInstance().k6(), serializer_11(BooleanCompanionObject_instance)), to(PrimitiveClasses_getInstance().u6(), BooleanArraySerializer()), to(getKClass(Unit), serializer_12(Unit_instance)), to(PrimitiveClasses_getInstance().j6(), NothingSerializer()), to(getKClass(Duration), serializer_13(Companion_getInstance_4())), to(getKClass(Uuid), serializer_14(Companion_getInstance_5()))]);
1754
+ }
1755
+ //region block: post-declaration
1756
+ protoOf(SerialDescriptorImpl).hb = get_isNullable;
1757
+ protoOf(ListLikeDescriptor).hb = get_isNullable;
1758
+ protoOf(PluginGeneratedSerialDescriptor).hb = get_isNullable;
1759
+ protoOf(InlinePrimitiveDescriptor$1).ze = typeParametersSerializers;
1760
+ protoOf(NothingSerialDescriptor).hb = get_isNullable;
1761
+ protoOf(PrimitiveSerialDescriptor_0).hb = get_isNullable;
1762
+ //endregion
1763
+ //region block: exports
1764
+ _.$_$ = _.$_$ || {};
1765
+ _.$_$.a = STRING_getInstance;
1766
+ _.$_$.b = IntSerializer_getInstance;
1767
+ _.$_$.c = LongSerializer_getInstance;
1768
+ _.$_$.d = StringSerializer_getInstance;
1769
+ _.$_$.e = get_nullable;
1770
+ _.$_$.f = PrimitiveSerialDescriptor;
1771
+ _.$_$.g = typeParametersSerializers;
1772
+ _.$_$.h = GeneratedSerializer;
1773
+ _.$_$.i = PluginGeneratedSerialDescriptor;
1774
+ _.$_$.j = ReferenceArraySerializer;
1775
+ _.$_$.k = createSimpleEnumSerializer;
1776
+ _.$_$.l = KSerializer;
1777
+ //endregion
1778
+ return _;
1779
+ }));
1780
+
1781
+ //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core.js.map