git-digger 1.5.19 → 1.5.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1266 -1266
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +91 -91
- package/kotlin/clikt-clikt.js +1806 -1731
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +473 -473
- package/kotlin/command-line-tools-digger-cli.js +72 -72
- package/kotlin/kotlin-kotlin-stdlib.js +1875 -1669
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +921 -921
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +322 -322
- package/kotlin/mordant-mordant.js +1385 -1385
- package/kotlin/tools-cli-tools.js +3 -3
- package/kotlin/tools-digger-core.js +159 -159
- package/kotlin/tools-digger-json.js +114 -114
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +73 -73
- package/package.json +1 -1
|
@@ -2,72 +2,72 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.p8;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.v7;
|
|
7
7
|
var VOID = kotlin_kotlin.$_$.g;
|
|
8
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
-
var Enum = kotlin_kotlin.$_$.
|
|
12
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
8
|
+
var Unit_instance = kotlin_kotlin.$_$.h3;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.q7;
|
|
10
|
+
var toString = kotlin_kotlin.$_$.vc;
|
|
11
|
+
var Enum = kotlin_kotlin.$_$.qb;
|
|
12
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.x2;
|
|
13
13
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
14
14
|
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c1;
|
|
15
|
-
var toLong = kotlin_kotlin.$_$.
|
|
16
|
-
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.
|
|
17
|
-
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.
|
|
18
|
-
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.
|
|
19
|
-
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.
|
|
20
|
-
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.
|
|
21
|
-
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.
|
|
22
|
-
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.
|
|
23
|
-
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.
|
|
24
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
25
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
26
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
15
|
+
var toLong = kotlin_kotlin.$_$.q8;
|
|
16
|
+
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.c2;
|
|
17
|
+
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.e2;
|
|
18
|
+
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.h2;
|
|
19
|
+
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.j2;
|
|
20
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.x1;
|
|
21
|
+
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.z1;
|
|
22
|
+
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.m2;
|
|
23
|
+
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.o2;
|
|
24
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p1;
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.d7;
|
|
26
|
+
var toString_0 = kotlin_kotlin.$_$.r8;
|
|
27
27
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
28
28
|
var SerializationException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
29
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
30
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
31
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
32
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
29
|
+
var charSequenceLength = kotlin_kotlin.$_$.g7;
|
|
30
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.h7;
|
|
31
|
+
var coerceAtLeast = kotlin_kotlin.$_$.v8;
|
|
32
|
+
var coerceAtMost = kotlin_kotlin.$_$.x8;
|
|
33
33
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
34
|
+
var equals = kotlin_kotlin.$_$.j7;
|
|
35
|
+
var fillArrayVal = kotlin_kotlin.$_$.k7;
|
|
36
36
|
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h1;
|
|
37
37
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
38
38
|
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1;
|
|
39
39
|
var ENUM = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
40
40
|
var PrimitiveKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
41
41
|
var PolymorphicKind = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
42
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
44
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.yb;
|
|
43
|
+
var objectCreate = kotlin_kotlin.$_$.o8;
|
|
44
|
+
var ensureNotNull = kotlin_kotlin.$_$.nc;
|
|
45
45
|
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
46
46
|
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
47
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
48
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
48
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.sc;
|
|
49
49
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
50
50
|
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
51
51
|
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
52
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
53
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
54
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
55
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
56
|
-
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
52
|
+
var isInterface = kotlin_kotlin.$_$.e8;
|
|
53
|
+
var isFinite = kotlin_kotlin.$_$.pc;
|
|
54
|
+
var isFinite_0 = kotlin_kotlin.$_$.oc;
|
|
55
|
+
var toString_1 = kotlin_kotlin.$_$.s1;
|
|
57
56
|
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
58
|
-
var
|
|
57
|
+
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
58
|
+
var Companion_getInstance = kotlin_kotlin.$_$.e3;
|
|
59
59
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
60
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
60
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.f3;
|
|
61
61
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
62
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
62
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.d3;
|
|
63
63
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
64
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
64
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.g3;
|
|
65
65
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
66
|
-
var setOf = kotlin_kotlin.$_$.
|
|
67
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
68
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
69
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
70
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
66
|
+
var setOf = kotlin_kotlin.$_$.x5;
|
|
67
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.r1;
|
|
68
|
+
var numberToChar = kotlin_kotlin.$_$.k8;
|
|
69
|
+
var charSequenceGet = kotlin_kotlin.$_$.f7;
|
|
70
|
+
var enumEntries = kotlin_kotlin.$_$.w6;
|
|
71
71
|
var ENUM_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
72
72
|
var MAP_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
73
73
|
var LIST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
initMetadataForClass(JsonEncodingException, 'JsonEncodingException', VOID, JsonException);
|
|
91
91
|
initMetadataForClass(Key, 'Key', Key);
|
|
92
92
|
initMetadataForClass(DescriptorSchemaCache, 'DescriptorSchemaCache', DescriptorSchemaCache);
|
|
93
|
-
initMetadataForClass(StreamingJsonEncoder, 'StreamingJsonEncoder', VOID, AbstractEncoder, [
|
|
93
|
+
initMetadataForClass(StreamingJsonEncoder, 'StreamingJsonEncoder', VOID, AbstractEncoder, [Encoder, CompositeEncoder, AbstractEncoder]);
|
|
94
94
|
initMetadataForClass(WriteMode, 'WriteMode', VOID, Enum);
|
|
95
95
|
initMetadataForClass(JsonToStringWriter, 'JsonToStringWriter', JsonToStringWriter);
|
|
96
96
|
//endregion
|
|
@@ -106,20 +106,20 @@
|
|
|
106
106
|
}
|
|
107
107
|
function Json(configuration, serializersModule) {
|
|
108
108
|
Default_getInstance();
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
109
|
+
this.b1b_1 = configuration;
|
|
110
|
+
this.c1b_1 = serializersModule;
|
|
111
|
+
this.d1b_1 = new DescriptorSchemaCache();
|
|
112
112
|
}
|
|
113
|
-
protoOf(Json).
|
|
114
|
-
return this.
|
|
113
|
+
protoOf(Json).jm = function () {
|
|
114
|
+
return this.c1b_1;
|
|
115
115
|
};
|
|
116
|
-
protoOf(Json).
|
|
116
|
+
protoOf(Json).e1b = function (serializer, value) {
|
|
117
117
|
var result = new JsonToStringWriter();
|
|
118
118
|
try {
|
|
119
119
|
encodeByWriter(this, result, serializer, value);
|
|
120
120
|
return result.toString();
|
|
121
121
|
}finally {
|
|
122
|
-
result.
|
|
122
|
+
result.g1b();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function JsonClassDiscriminator() {
|
|
@@ -141,25 +141,25 @@
|
|
|
141
141
|
decodeEnumsCaseInsensitive = decodeEnumsCaseInsensitive === VOID ? false : decodeEnumsCaseInsensitive;
|
|
142
142
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
143
143
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
144
|
+
this.h1b_1 = encodeDefaults;
|
|
145
|
+
this.i1b_1 = ignoreUnknownKeys;
|
|
146
|
+
this.j1b_1 = isLenient;
|
|
147
|
+
this.k1b_1 = allowStructuredMapKeys;
|
|
148
|
+
this.l1b_1 = prettyPrint;
|
|
149
|
+
this.m1b_1 = explicitNulls;
|
|
150
|
+
this.n1b_1 = prettyPrintIndent;
|
|
151
|
+
this.o1b_1 = coerceInputValues;
|
|
152
|
+
this.p1b_1 = useArrayPolymorphism;
|
|
153
|
+
this.q1b_1 = classDiscriminator;
|
|
154
|
+
this.r1b_1 = allowSpecialFloatingPointValues;
|
|
155
|
+
this.s1b_1 = useAlternativeNames;
|
|
156
|
+
this.t1b_1 = namingStrategy;
|
|
157
|
+
this.u1b_1 = decodeEnumsCaseInsensitive;
|
|
158
|
+
this.v1b_1 = allowTrailingComma;
|
|
159
|
+
this.w1b_1 = classDiscriminatorMode;
|
|
160
160
|
}
|
|
161
161
|
protoOf(JsonConfiguration).toString = function () {
|
|
162
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
162
|
+
return 'JsonConfiguration(encodeDefaults=' + this.h1b_1 + ', ignoreUnknownKeys=' + this.i1b_1 + ', isLenient=' + this.j1b_1 + ', ' + ('allowStructuredMapKeys=' + this.k1b_1 + ', prettyPrint=' + this.l1b_1 + ', explicitNulls=' + this.m1b_1 + ', ') + ("prettyPrintIndent='" + this.n1b_1 + "', coerceInputValues=" + this.o1b_1 + ', useArrayPolymorphism=' + this.p1b_1 + ', ') + ("classDiscriminator='" + this.q1b_1 + "', allowSpecialFloatingPointValues=" + this.r1b_1 + ', ') + ('useAlternativeNames=' + this.s1b_1 + ', namingStrategy=' + toString(this.t1b_1) + ', decodeEnumsCaseInsensitive=' + this.u1b_1 + ', ') + ('allowTrailingComma=' + this.v1b_1 + ', classDiscriminatorMode=' + this.w1b_1.toString() + ')');
|
|
163
163
|
};
|
|
164
164
|
var ClassDiscriminatorMode_NONE_instance;
|
|
165
165
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -197,133 +197,133 @@
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
function Composer(writer) {
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
200
|
+
this.x1b_1 = writer;
|
|
201
|
+
this.y1b_1 = true;
|
|
202
202
|
}
|
|
203
|
-
protoOf(Composer).
|
|
204
|
-
this.
|
|
203
|
+
protoOf(Composer).z1b = function () {
|
|
204
|
+
this.y1b_1 = true;
|
|
205
205
|
};
|
|
206
|
-
protoOf(Composer).
|
|
206
|
+
protoOf(Composer).a1c = function () {
|
|
207
207
|
return Unit_instance;
|
|
208
208
|
};
|
|
209
|
-
protoOf(Composer).
|
|
210
|
-
this.
|
|
209
|
+
protoOf(Composer).b1c = function () {
|
|
210
|
+
this.y1b_1 = false;
|
|
211
211
|
};
|
|
212
|
-
protoOf(Composer).
|
|
213
|
-
this.
|
|
212
|
+
protoOf(Composer).c1c = function () {
|
|
213
|
+
this.y1b_1 = false;
|
|
214
214
|
};
|
|
215
|
-
protoOf(Composer).
|
|
215
|
+
protoOf(Composer).d1c = function () {
|
|
216
216
|
return Unit_instance;
|
|
217
217
|
};
|
|
218
|
-
protoOf(Composer).
|
|
219
|
-
return this.
|
|
218
|
+
protoOf(Composer).e1c = function (v) {
|
|
219
|
+
return this.x1b_1.f1c(v);
|
|
220
220
|
};
|
|
221
|
-
protoOf(Composer).
|
|
222
|
-
return this.
|
|
221
|
+
protoOf(Composer).g1c = function (v) {
|
|
222
|
+
return this.x1b_1.h1c(v);
|
|
223
223
|
};
|
|
224
|
-
protoOf(Composer).
|
|
225
|
-
return this.
|
|
224
|
+
protoOf(Composer).i1c = function (v) {
|
|
225
|
+
return this.x1b_1.h1c(v.toString());
|
|
226
226
|
};
|
|
227
|
-
protoOf(Composer).
|
|
228
|
-
return this.
|
|
227
|
+
protoOf(Composer).j1c = function (v) {
|
|
228
|
+
return this.x1b_1.h1c(v.toString());
|
|
229
229
|
};
|
|
230
|
-
protoOf(Composer).
|
|
231
|
-
return this.
|
|
230
|
+
protoOf(Composer).k1c = function (v) {
|
|
231
|
+
return this.x1b_1.l1c(toLong(v));
|
|
232
232
|
};
|
|
233
|
-
protoOf(Composer).
|
|
234
|
-
return this.
|
|
233
|
+
protoOf(Composer).m1c = function (v) {
|
|
234
|
+
return this.x1b_1.l1c(toLong(v));
|
|
235
235
|
};
|
|
236
|
-
protoOf(Composer).
|
|
237
|
-
return this.
|
|
236
|
+
protoOf(Composer).n1c = function (v) {
|
|
237
|
+
return this.x1b_1.l1c(toLong(v));
|
|
238
238
|
};
|
|
239
|
-
protoOf(Composer).
|
|
240
|
-
return this.
|
|
239
|
+
protoOf(Composer).o1c = function (v) {
|
|
240
|
+
return this.x1b_1.l1c(v);
|
|
241
241
|
};
|
|
242
|
-
protoOf(Composer).
|
|
243
|
-
return this.
|
|
242
|
+
protoOf(Composer).p1c = function (v) {
|
|
243
|
+
return this.x1b_1.h1c(v.toString());
|
|
244
244
|
};
|
|
245
|
-
protoOf(Composer).
|
|
246
|
-
return this.
|
|
245
|
+
protoOf(Composer).q1c = function (value) {
|
|
246
|
+
return this.x1b_1.r1c(value);
|
|
247
247
|
};
|
|
248
248
|
function Composer_0(sb, json) {
|
|
249
|
-
return json.
|
|
249
|
+
return json.b1b_1.l1b_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
250
250
|
}
|
|
251
251
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
252
252
|
Composer.call(this, writer);
|
|
253
|
-
this.
|
|
253
|
+
this.u1c_1 = forceQuoting;
|
|
254
254
|
}
|
|
255
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
256
|
-
if (this.
|
|
255
|
+
protoOf(ComposerForUnsignedNumbers).n1c = function (v) {
|
|
256
|
+
if (this.u1c_1) {
|
|
257
257
|
// Inline function 'kotlin.toUInt' call
|
|
258
258
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
259
|
-
this.
|
|
259
|
+
this.q1c(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
260
260
|
} else {
|
|
261
261
|
// Inline function 'kotlin.toUInt' call
|
|
262
262
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
263
|
-
this.
|
|
263
|
+
this.g1c(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
267
|
-
if (this.
|
|
266
|
+
protoOf(ComposerForUnsignedNumbers).o1c = function (v) {
|
|
267
|
+
if (this.u1c_1) {
|
|
268
268
|
// Inline function 'kotlin.toULong' call
|
|
269
269
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
270
|
-
this.
|
|
270
|
+
this.q1c(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
271
271
|
} else {
|
|
272
272
|
// Inline function 'kotlin.toULong' call
|
|
273
273
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
274
|
-
this.
|
|
274
|
+
this.g1c(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
275
275
|
}
|
|
276
276
|
};
|
|
277
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
278
|
-
if (this.
|
|
277
|
+
protoOf(ComposerForUnsignedNumbers).k1c = function (v) {
|
|
278
|
+
if (this.u1c_1) {
|
|
279
279
|
// Inline function 'kotlin.toUByte' call
|
|
280
280
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
281
|
-
this.
|
|
281
|
+
this.q1c(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
282
282
|
} else {
|
|
283
283
|
// Inline function 'kotlin.toUByte' call
|
|
284
284
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
285
|
-
this.
|
|
285
|
+
this.g1c(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
289
|
-
if (this.
|
|
288
|
+
protoOf(ComposerForUnsignedNumbers).m1c = function (v) {
|
|
289
|
+
if (this.u1c_1) {
|
|
290
290
|
// Inline function 'kotlin.toUShort' call
|
|
291
291
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
292
|
-
this.
|
|
292
|
+
this.q1c(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
293
293
|
} else {
|
|
294
294
|
// Inline function 'kotlin.toUShort' call
|
|
295
295
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
296
|
-
this.
|
|
296
|
+
this.g1c(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
299
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
300
300
|
Composer.call(this, writer);
|
|
301
|
-
this.
|
|
301
|
+
this.x1c_1 = forceQuoting;
|
|
302
302
|
}
|
|
303
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
304
|
-
if (this.
|
|
305
|
-
protoOf(Composer).
|
|
303
|
+
protoOf(ComposerForUnquotedLiterals).q1c = function (value) {
|
|
304
|
+
if (this.x1c_1) {
|
|
305
|
+
protoOf(Composer).q1c.call(this, value);
|
|
306
306
|
} else {
|
|
307
|
-
protoOf(Composer).
|
|
307
|
+
protoOf(Composer).g1c.call(this, value);
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
310
|
function ComposerWithPrettyPrint(writer, json) {
|
|
311
311
|
Composer.call(this, writer);
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
312
|
+
this.a1d_1 = json;
|
|
313
|
+
this.b1d_1 = 0;
|
|
314
314
|
}
|
|
315
|
-
protoOf(ComposerWithPrettyPrint).
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
315
|
+
protoOf(ComposerWithPrettyPrint).z1b = function () {
|
|
316
|
+
this.y1b_1 = true;
|
|
317
|
+
this.b1d_1 = this.b1d_1 + 1 | 0;
|
|
318
318
|
};
|
|
319
|
-
protoOf(ComposerWithPrettyPrint).
|
|
320
|
-
this.
|
|
319
|
+
protoOf(ComposerWithPrettyPrint).a1c = function () {
|
|
320
|
+
this.b1d_1 = this.b1d_1 - 1 | 0;
|
|
321
321
|
};
|
|
322
|
-
protoOf(ComposerWithPrettyPrint).
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
322
|
+
protoOf(ComposerWithPrettyPrint).b1c = function () {
|
|
323
|
+
this.y1b_1 = false;
|
|
324
|
+
this.g1c('\n');
|
|
325
325
|
// Inline function 'kotlin.repeat' call
|
|
326
|
-
var times = this.
|
|
326
|
+
var times = this.b1d_1;
|
|
327
327
|
// Inline function 'kotlin.contracts.contract' call
|
|
328
328
|
var inductionVariable = 0;
|
|
329
329
|
if (inductionVariable < times)
|
|
@@ -331,26 +331,26 @@
|
|
|
331
331
|
var index = inductionVariable;
|
|
332
332
|
inductionVariable = inductionVariable + 1 | 0;
|
|
333
333
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
334
|
-
this.
|
|
334
|
+
this.g1c(this.a1d_1.b1b_1.n1b_1);
|
|
335
335
|
}
|
|
336
336
|
while (inductionVariable < times);
|
|
337
337
|
};
|
|
338
|
-
protoOf(ComposerWithPrettyPrint).
|
|
339
|
-
if (this.
|
|
340
|
-
this.
|
|
338
|
+
protoOf(ComposerWithPrettyPrint).c1c = function () {
|
|
339
|
+
if (this.y1b_1)
|
|
340
|
+
this.y1b_1 = false;
|
|
341
341
|
else {
|
|
342
|
-
this.
|
|
342
|
+
this.b1c();
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
|
-
protoOf(ComposerWithPrettyPrint).
|
|
346
|
-
this.
|
|
345
|
+
protoOf(ComposerWithPrettyPrint).d1c = function () {
|
|
346
|
+
this.e1c(_Char___init__impl__6a9atx(32));
|
|
347
347
|
};
|
|
348
348
|
function JsonEncodingException(message) {
|
|
349
349
|
JsonException.call(this, message);
|
|
350
350
|
captureStack(this, JsonEncodingException);
|
|
351
351
|
}
|
|
352
352
|
function InvalidKeyKindException(keyDescriptor) {
|
|
353
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
353
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.fk() + "' can't be used in JSON as a key in the map. " + ("It should have either primitive or enum kind, but its kind is '" + keyDescriptor.jk().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
354
354
|
}
|
|
355
355
|
function InvalidFloatingPointEncoded(value, output) {
|
|
356
356
|
return new JsonEncodingException('Unexpected special floating-point value ' + toString_0(value) + '. By default, ' + 'non-finite floating point values are prohibited because they do not conform JSON specification. ' + "It is possible to deserialize them using 'JsonBuilder.allowSpecialFloatingPointValues = true'\n" + ('Current output: ' + toString_0(minify(output))));
|
|
@@ -389,28 +389,28 @@
|
|
|
389
389
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
390
390
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
391
391
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
392
|
-
return strategy == null ? _this__u8e3s4.
|
|
392
|
+
return strategy == null ? _this__u8e3s4.lk(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
393
393
|
}
|
|
394
394
|
function namingStrategy(_this__u8e3s4, json) {
|
|
395
395
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
396
|
-
return equals(_this__u8e3s4.
|
|
396
|
+
return equals(_this__u8e3s4.jk(), CLASS_getInstance()) ? json.b1b_1.t1b_1 : null;
|
|
397
397
|
}
|
|
398
398
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
399
399
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
400
400
|
var tmp = get_schemaCache(json);
|
|
401
401
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
402
|
-
return tmp.
|
|
402
|
+
return tmp.d1d(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
403
403
|
}
|
|
404
404
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
405
405
|
return function () {
|
|
406
406
|
var tmp = 0;
|
|
407
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
407
|
+
var tmp_0 = $this_serializationNamesIndices.hk();
|
|
408
408
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
409
409
|
var tmp_1 = fillArrayVal(Array(tmp_0), null);
|
|
410
410
|
while (tmp < tmp_0) {
|
|
411
411
|
var tmp_2 = tmp;
|
|
412
|
-
var baseName = $this_serializationNamesIndices.
|
|
413
|
-
tmp_1[tmp_2] = $strategy.
|
|
412
|
+
var baseName = $this_serializationNamesIndices.lk(tmp_2);
|
|
413
|
+
tmp_1[tmp_2] = $strategy.e1d($this_serializationNamesIndices, tmp_2, baseName);
|
|
414
414
|
tmp = tmp + 1 | 0;
|
|
415
415
|
}
|
|
416
416
|
return tmp_1;
|
|
@@ -430,23 +430,23 @@
|
|
|
430
430
|
var size = get_entries().p();
|
|
431
431
|
var tmp$ret$0 = fillArrayVal(Array(size), null);
|
|
432
432
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
433
|
-
encoder.
|
|
433
|
+
encoder.gm(serializer, value);
|
|
434
434
|
}
|
|
435
435
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
436
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
436
|
+
var tmp0_iterator = _this__u8e3s4.gk().m();
|
|
437
437
|
while (tmp0_iterator.n()) {
|
|
438
438
|
var annotation = tmp0_iterator.o();
|
|
439
439
|
if (annotation instanceof JsonClassDiscriminator)
|
|
440
|
-
return annotation.
|
|
440
|
+
return annotation.n1d_1;
|
|
441
441
|
}
|
|
442
|
-
return json.
|
|
442
|
+
return json.b1b_1.q1b_1;
|
|
443
443
|
}
|
|
444
444
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
445
445
|
if (!(serializer instanceof SealedClassSerializer))
|
|
446
446
|
return Unit_instance;
|
|
447
|
-
if (jsonCachedSerialNames(actualSerializer.
|
|
448
|
-
var baseName = serializer.
|
|
449
|
-
var actualName = actualSerializer.
|
|
447
|
+
if (jsonCachedSerialNames(actualSerializer.gj()).d1(classDiscriminator)) {
|
|
448
|
+
var baseName = serializer.gj().fk();
|
|
449
|
+
var actualName = actualSerializer.gj().fk();
|
|
450
450
|
// Inline function 'kotlin.error' call
|
|
451
451
|
var message = "Sealed class '" + actualName + "' cannot be serialized as base class '" + baseName + "' because" + (" it has property name that conflicts with JSON class discriminator '" + classDiscriminator + "'. ") + 'You can either change class discriminator in JsonConfiguration, ' + 'rename property with @SerialName annotation or fall back to array polymorphism';
|
|
452
452
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -475,18 +475,18 @@
|
|
|
475
475
|
function Key() {
|
|
476
476
|
}
|
|
477
477
|
function DescriptorSchemaCache() {
|
|
478
|
-
this.
|
|
478
|
+
this.c1d_1 = createMapForCache(16);
|
|
479
479
|
}
|
|
480
|
-
protoOf(DescriptorSchemaCache).
|
|
480
|
+
protoOf(DescriptorSchemaCache).o1d = function (descriptor, key, value) {
|
|
481
481
|
// Inline function 'kotlin.collections.set' call
|
|
482
482
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
483
|
-
var this_0 = this.
|
|
484
|
-
var value_0 = this_0.
|
|
483
|
+
var this_0 = this.c1d_1;
|
|
484
|
+
var value_0 = this_0.w1(descriptor);
|
|
485
485
|
var tmp;
|
|
486
486
|
if (value_0 == null) {
|
|
487
487
|
// Inline function 'kotlinx.serialization.json.internal.DescriptorSchemaCache.set.<anonymous>' call
|
|
488
488
|
var answer = createMapForCache(2);
|
|
489
|
-
this_0.
|
|
489
|
+
this_0.e2(descriptor, answer);
|
|
490
490
|
tmp = answer;
|
|
491
491
|
} else {
|
|
492
492
|
tmp = value_0;
|
|
@@ -494,10 +494,10 @@
|
|
|
494
494
|
var this_1 = tmp;
|
|
495
495
|
var key_0 = key instanceof Key ? key : THROW_CCE();
|
|
496
496
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
497
|
-
this_1.
|
|
497
|
+
this_1.e2(key_0, value_1);
|
|
498
498
|
};
|
|
499
|
-
protoOf(DescriptorSchemaCache).
|
|
500
|
-
var tmp0_safe_receiver = this.
|
|
499
|
+
protoOf(DescriptorSchemaCache).d1d = function (descriptor, key, defaultValue) {
|
|
500
|
+
var tmp0_safe_receiver = this.p1d(descriptor, key);
|
|
501
501
|
if (tmp0_safe_receiver == null)
|
|
502
502
|
null;
|
|
503
503
|
else {
|
|
@@ -506,16 +506,16 @@
|
|
|
506
506
|
return tmp0_safe_receiver;
|
|
507
507
|
}
|
|
508
508
|
var value = defaultValue();
|
|
509
|
-
this.
|
|
509
|
+
this.o1d(descriptor, key, value);
|
|
510
510
|
return value;
|
|
511
511
|
};
|
|
512
|
-
protoOf(DescriptorSchemaCache).
|
|
513
|
-
var tmp0_safe_receiver = this.
|
|
512
|
+
protoOf(DescriptorSchemaCache).p1d = function (descriptor, key) {
|
|
513
|
+
var tmp0_safe_receiver = this.c1d_1.w1(descriptor);
|
|
514
514
|
var tmp;
|
|
515
515
|
if (tmp0_safe_receiver == null) {
|
|
516
516
|
tmp = null;
|
|
517
517
|
} else {
|
|
518
|
-
tmp = tmp0_safe_receiver.
|
|
518
|
+
tmp = tmp0_safe_receiver.w1(key instanceof Key ? key : THROW_CCE());
|
|
519
519
|
}
|
|
520
520
|
var tmp_0 = tmp;
|
|
521
521
|
return !(tmp_0 == null) ? tmp_0 : null;
|
|
@@ -533,52 +533,52 @@
|
|
|
533
533
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
534
534
|
}
|
|
535
535
|
function encodeTypeInfo($this, descriptor) {
|
|
536
|
-
$this.
|
|
537
|
-
$this.
|
|
538
|
-
$this.
|
|
539
|
-
$this.
|
|
540
|
-
$this.
|
|
536
|
+
$this.f1d_1.b1c();
|
|
537
|
+
$this.tl(ensureNotNull($this.m1d_1));
|
|
538
|
+
$this.f1d_1.e1c(_Char___init__impl__6a9atx(58));
|
|
539
|
+
$this.f1d_1.d1c();
|
|
540
|
+
$this.tl(descriptor.fk());
|
|
541
541
|
}
|
|
542
542
|
function StreamingJsonEncoder(composer, json, mode, modeReuseCache) {
|
|
543
543
|
AbstractEncoder.call(this);
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
552
|
-
var i = this.
|
|
553
|
-
if (!(this.
|
|
554
|
-
if (!(this.
|
|
555
|
-
this.
|
|
544
|
+
this.f1d_1 = composer;
|
|
545
|
+
this.g1d_1 = json;
|
|
546
|
+
this.h1d_1 = mode;
|
|
547
|
+
this.i1d_1 = modeReuseCache;
|
|
548
|
+
this.j1d_1 = this.g1d_1.jm();
|
|
549
|
+
this.k1d_1 = this.g1d_1.b1b_1;
|
|
550
|
+
this.l1d_1 = false;
|
|
551
|
+
this.m1d_1 = null;
|
|
552
|
+
var i = this.h1d_1.i2_1;
|
|
553
|
+
if (!(this.i1d_1 == null)) {
|
|
554
|
+
if (!(this.i1d_1[i] === null) || !(this.i1d_1[i] === this)) {
|
|
555
|
+
this.i1d_1[i] = this;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
protoOf(StreamingJsonEncoder).
|
|
560
|
-
return this.
|
|
559
|
+
protoOf(StreamingJsonEncoder).q1d = function () {
|
|
560
|
+
return this.g1d_1;
|
|
561
561
|
};
|
|
562
|
-
protoOf(StreamingJsonEncoder).
|
|
563
|
-
return this.
|
|
562
|
+
protoOf(StreamingJsonEncoder).jm = function () {
|
|
563
|
+
return this.j1d_1;
|
|
564
564
|
};
|
|
565
|
-
protoOf(StreamingJsonEncoder).
|
|
566
|
-
return this.
|
|
565
|
+
protoOf(StreamingJsonEncoder).mm = function (descriptor, index) {
|
|
566
|
+
return this.k1d_1.h1b_1;
|
|
567
567
|
};
|
|
568
|
-
protoOf(StreamingJsonEncoder).
|
|
568
|
+
protoOf(StreamingJsonEncoder).gm = function (serializer, value) {
|
|
569
569
|
$l$block: {
|
|
570
570
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
571
|
-
if (this.
|
|
572
|
-
serializer.
|
|
571
|
+
if (this.q1d().b1b_1.p1b_1) {
|
|
572
|
+
serializer.hj(this, value);
|
|
573
573
|
break $l$block;
|
|
574
574
|
}
|
|
575
575
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
576
576
|
var tmp;
|
|
577
577
|
if (isPolymorphicSerializer) {
|
|
578
|
-
tmp = !this.
|
|
578
|
+
tmp = !this.q1d().b1b_1.w1b_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
579
579
|
} else {
|
|
580
580
|
var tmp_0;
|
|
581
|
-
switch (this.
|
|
581
|
+
switch (this.q1d().b1b_1.w1b_1.i2_1) {
|
|
582
582
|
case 0:
|
|
583
583
|
case 2:
|
|
584
584
|
tmp_0 = false;
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
|
|
591
591
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically.<anonymous>' call
|
|
592
592
|
|
|
593
|
-
var it = serializer.
|
|
593
|
+
var it = serializer.gj().jk();
|
|
594
594
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
595
595
|
break;
|
|
596
596
|
default:
|
|
@@ -600,7 +600,7 @@
|
|
|
600
600
|
tmp = tmp_0;
|
|
601
601
|
}
|
|
602
602
|
var needDiscriminator = tmp;
|
|
603
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.
|
|
603
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.gj(), this.q1d()) : null;
|
|
604
604
|
var tmp_1;
|
|
605
605
|
if (isPolymorphicSerializer) {
|
|
606
606
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
// Inline function 'kotlin.contracts.contract' call
|
|
610
610
|
if (value == null) {
|
|
611
611
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically.<anonymous>' call
|
|
612
|
-
var message = 'Value for serializer ' + toString_0(serializer.
|
|
612
|
+
var message = 'Value for serializer ' + toString_0(serializer.gj()) + ' should always be non-null. Please report issue to the kotlinx.serialization tracker.';
|
|
613
613
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
614
614
|
} else {
|
|
615
615
|
break $l$block_0;
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
if (!(baseClassDiscriminator == null)) {
|
|
620
620
|
validateIfSealed$accessor$1ad0flx(serializer, actual, baseClassDiscriminator);
|
|
621
621
|
}
|
|
622
|
-
checkKind(actual.
|
|
622
|
+
checkKind(actual.gj().jk());
|
|
623
623
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
624
624
|
} else {
|
|
625
625
|
tmp_1 = serializer;
|
|
@@ -627,202 +627,202 @@
|
|
|
627
627
|
var actualSerializer = tmp_1;
|
|
628
628
|
if (!(baseClassDiscriminator == null)) {
|
|
629
629
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
630
|
-
this.
|
|
630
|
+
this.m1d_1 = baseClassDiscriminator;
|
|
631
631
|
}
|
|
632
|
-
actualSerializer.
|
|
632
|
+
actualSerializer.hj(this, value);
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
|
-
protoOf(StreamingJsonEncoder).
|
|
636
|
-
var newMode = switchMode(this.
|
|
637
|
-
if (!(newMode.
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
635
|
+
protoOf(StreamingJsonEncoder).gl = function (descriptor) {
|
|
636
|
+
var newMode = switchMode(this.g1d_1, descriptor);
|
|
637
|
+
if (!(newMode.t1d_1 === _Char___init__impl__6a9atx(0))) {
|
|
638
|
+
this.f1d_1.e1c(newMode.t1d_1);
|
|
639
|
+
this.f1d_1.z1b();
|
|
640
640
|
}
|
|
641
|
-
if (!(this.
|
|
641
|
+
if (!(this.m1d_1 == null)) {
|
|
642
642
|
encodeTypeInfo(this, descriptor);
|
|
643
|
-
this.
|
|
643
|
+
this.m1d_1 = null;
|
|
644
644
|
}
|
|
645
|
-
if (this.
|
|
645
|
+
if (this.h1d_1.equals(newMode)) {
|
|
646
646
|
return this;
|
|
647
647
|
}
|
|
648
|
-
var tmp0_safe_receiver = this.
|
|
649
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.
|
|
650
|
-
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
648
|
+
var tmp0_safe_receiver = this.i1d_1;
|
|
649
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver[newMode.i2_1];
|
|
650
|
+
return tmp1_elvis_lhs == null ? new StreamingJsonEncoder(this.f1d_1, this.g1d_1, newMode, this.i1d_1) : tmp1_elvis_lhs;
|
|
651
651
|
};
|
|
652
|
-
protoOf(StreamingJsonEncoder).
|
|
653
|
-
if (!(this.
|
|
654
|
-
this.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
652
|
+
protoOf(StreamingJsonEncoder).hl = function (descriptor) {
|
|
653
|
+
if (!(this.h1d_1.u1d_1 === _Char___init__impl__6a9atx(0))) {
|
|
654
|
+
this.f1d_1.a1c();
|
|
655
|
+
this.f1d_1.c1c();
|
|
656
|
+
this.f1d_1.e1c(this.h1d_1.u1d_1);
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
|
-
protoOf(StreamingJsonEncoder).
|
|
660
|
-
switch (this.
|
|
659
|
+
protoOf(StreamingJsonEncoder).il = function (descriptor, index) {
|
|
660
|
+
switch (this.h1d_1.i2_1) {
|
|
661
661
|
case 1:
|
|
662
|
-
if (!this.
|
|
663
|
-
this.
|
|
662
|
+
if (!this.f1d_1.y1b_1) {
|
|
663
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(44));
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
this.
|
|
666
|
+
this.f1d_1.b1c();
|
|
667
667
|
break;
|
|
668
668
|
case 2:
|
|
669
|
-
if (!this.
|
|
669
|
+
if (!this.f1d_1.y1b_1) {
|
|
670
670
|
var tmp = this;
|
|
671
671
|
var tmp_0;
|
|
672
672
|
if ((index % 2 | 0) === 0) {
|
|
673
|
-
this.
|
|
674
|
-
this.
|
|
673
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(44));
|
|
674
|
+
this.f1d_1.b1c();
|
|
675
675
|
tmp_0 = true;
|
|
676
676
|
} else {
|
|
677
|
-
this.
|
|
678
|
-
this.
|
|
677
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(58));
|
|
678
|
+
this.f1d_1.d1c();
|
|
679
679
|
tmp_0 = false;
|
|
680
680
|
}
|
|
681
|
-
tmp.
|
|
681
|
+
tmp.l1d_1 = tmp_0;
|
|
682
682
|
} else {
|
|
683
|
-
this.
|
|
684
|
-
this.
|
|
683
|
+
this.l1d_1 = true;
|
|
684
|
+
this.f1d_1.b1c();
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
break;
|
|
688
688
|
case 3:
|
|
689
689
|
if (index === 0)
|
|
690
|
-
this.
|
|
690
|
+
this.l1d_1 = true;
|
|
691
691
|
if (index === 1) {
|
|
692
|
-
this.
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
692
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(44));
|
|
693
|
+
this.f1d_1.d1c();
|
|
694
|
+
this.l1d_1 = false;
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
break;
|
|
698
698
|
default:
|
|
699
|
-
if (!this.
|
|
700
|
-
this.
|
|
699
|
+
if (!this.f1d_1.y1b_1) {
|
|
700
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(44));
|
|
701
701
|
}
|
|
702
702
|
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
706
|
-
this.
|
|
703
|
+
this.f1d_1.b1c();
|
|
704
|
+
this.tl(getJsonElementName(descriptor, this.g1d_1, index));
|
|
705
|
+
this.f1d_1.e1c(_Char___init__impl__6a9atx(58));
|
|
706
|
+
this.f1d_1.d1c();
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
return true;
|
|
710
710
|
};
|
|
711
|
-
protoOf(StreamingJsonEncoder).
|
|
712
|
-
if (!(value == null) || this.
|
|
713
|
-
protoOf(AbstractEncoder).
|
|
711
|
+
protoOf(StreamingJsonEncoder).hm = function (descriptor, index, serializer, value) {
|
|
712
|
+
if (!(value == null) || this.k1d_1.m1b_1) {
|
|
713
|
+
protoOf(AbstractEncoder).hm.call(this, descriptor, index, serializer, value);
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
|
-
protoOf(StreamingJsonEncoder).
|
|
716
|
+
protoOf(StreamingJsonEncoder).ul = function (descriptor) {
|
|
717
717
|
var tmp;
|
|
718
718
|
if (get_isUnsignedNumber(descriptor)) {
|
|
719
719
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
720
720
|
var tmp_0;
|
|
721
|
-
var tmp_1 = this.
|
|
721
|
+
var tmp_1 = this.f1d_1;
|
|
722
722
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
723
|
-
tmp_0 = this.
|
|
723
|
+
tmp_0 = this.f1d_1;
|
|
724
724
|
} else {
|
|
725
|
-
var p0 = this.
|
|
726
|
-
var p1 = this.
|
|
725
|
+
var p0 = this.f1d_1.x1b_1;
|
|
726
|
+
var p1 = this.l1d_1;
|
|
727
727
|
tmp_0 = new ComposerForUnsignedNumbers(p0, p1);
|
|
728
728
|
}
|
|
729
729
|
var tmp$ret$1 = tmp_0;
|
|
730
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
730
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.g1d_1, this.h1d_1, null);
|
|
731
731
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
732
732
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
733
733
|
var tmp_2;
|
|
734
|
-
var tmp_3 = this.
|
|
734
|
+
var tmp_3 = this.f1d_1;
|
|
735
735
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
736
|
-
tmp_2 = this.
|
|
736
|
+
tmp_2 = this.f1d_1;
|
|
737
737
|
} else {
|
|
738
|
-
var p0_0 = this.
|
|
739
|
-
var p1_0 = this.
|
|
738
|
+
var p0_0 = this.f1d_1.x1b_1;
|
|
739
|
+
var p1_0 = this.l1d_1;
|
|
740
740
|
tmp_2 = new ComposerForUnquotedLiterals(p0_0, p1_0);
|
|
741
741
|
}
|
|
742
742
|
var tmp$ret$3 = tmp_2;
|
|
743
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
743
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.g1d_1, this.h1d_1, null);
|
|
744
744
|
} else {
|
|
745
|
-
tmp = protoOf(AbstractEncoder).
|
|
745
|
+
tmp = protoOf(AbstractEncoder).ul.call(this, descriptor);
|
|
746
746
|
}
|
|
747
747
|
return tmp;
|
|
748
748
|
};
|
|
749
|
-
protoOf(StreamingJsonEncoder).
|
|
750
|
-
this.
|
|
749
|
+
protoOf(StreamingJsonEncoder).kl = function () {
|
|
750
|
+
this.f1d_1.g1c('null');
|
|
751
751
|
};
|
|
752
|
-
protoOf(StreamingJsonEncoder).
|
|
753
|
-
if (this.
|
|
754
|
-
this.
|
|
752
|
+
protoOf(StreamingJsonEncoder).ll = function (value) {
|
|
753
|
+
if (this.l1d_1) {
|
|
754
|
+
this.tl(value.toString());
|
|
755
755
|
} else {
|
|
756
|
-
this.
|
|
756
|
+
this.f1d_1.p1c(value);
|
|
757
757
|
}
|
|
758
758
|
};
|
|
759
|
-
protoOf(StreamingJsonEncoder).
|
|
760
|
-
if (this.
|
|
761
|
-
this.
|
|
759
|
+
protoOf(StreamingJsonEncoder).ml = function (value) {
|
|
760
|
+
if (this.l1d_1) {
|
|
761
|
+
this.tl(value.toString());
|
|
762
762
|
} else {
|
|
763
|
-
this.
|
|
763
|
+
this.f1d_1.k1c(value);
|
|
764
764
|
}
|
|
765
765
|
};
|
|
766
|
-
protoOf(StreamingJsonEncoder).
|
|
767
|
-
if (this.
|
|
768
|
-
this.
|
|
766
|
+
protoOf(StreamingJsonEncoder).nl = function (value) {
|
|
767
|
+
if (this.l1d_1) {
|
|
768
|
+
this.tl(value.toString());
|
|
769
769
|
} else {
|
|
770
|
-
this.
|
|
770
|
+
this.f1d_1.m1c(value);
|
|
771
771
|
}
|
|
772
772
|
};
|
|
773
|
-
protoOf(StreamingJsonEncoder).
|
|
774
|
-
if (this.
|
|
775
|
-
this.
|
|
773
|
+
protoOf(StreamingJsonEncoder).ol = function (value) {
|
|
774
|
+
if (this.l1d_1) {
|
|
775
|
+
this.tl(value.toString());
|
|
776
776
|
} else {
|
|
777
|
-
this.
|
|
777
|
+
this.f1d_1.n1c(value);
|
|
778
778
|
}
|
|
779
779
|
};
|
|
780
|
-
protoOf(StreamingJsonEncoder).
|
|
781
|
-
if (this.
|
|
782
|
-
this.
|
|
780
|
+
protoOf(StreamingJsonEncoder).pl = function (value) {
|
|
781
|
+
if (this.l1d_1) {
|
|
782
|
+
this.tl(value.toString());
|
|
783
783
|
} else {
|
|
784
|
-
this.
|
|
784
|
+
this.f1d_1.o1c(value);
|
|
785
785
|
}
|
|
786
786
|
};
|
|
787
|
-
protoOf(StreamingJsonEncoder).
|
|
788
|
-
if (this.
|
|
789
|
-
this.
|
|
787
|
+
protoOf(StreamingJsonEncoder).ql = function (value) {
|
|
788
|
+
if (this.l1d_1) {
|
|
789
|
+
this.tl(value.toString());
|
|
790
790
|
} else {
|
|
791
|
-
this.
|
|
791
|
+
this.f1d_1.i1c(value);
|
|
792
792
|
}
|
|
793
|
-
if (!this.
|
|
794
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
793
|
+
if (!this.k1d_1.r1b_1 && !isFinite(value)) {
|
|
794
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.f1d_1.x1b_1));
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
|
-
protoOf(StreamingJsonEncoder).
|
|
798
|
-
if (this.
|
|
799
|
-
this.
|
|
797
|
+
protoOf(StreamingJsonEncoder).rl = function (value) {
|
|
798
|
+
if (this.l1d_1) {
|
|
799
|
+
this.tl(value.toString());
|
|
800
800
|
} else {
|
|
801
|
-
this.
|
|
801
|
+
this.f1d_1.j1c(value);
|
|
802
802
|
}
|
|
803
|
-
if (!this.
|
|
804
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
803
|
+
if (!this.k1d_1.r1b_1 && !isFinite_0(value)) {
|
|
804
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.f1d_1.x1b_1));
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
protoOf(StreamingJsonEncoder).
|
|
808
|
-
this.
|
|
807
|
+
protoOf(StreamingJsonEncoder).sl = function (value) {
|
|
808
|
+
this.tl(toString_1(value));
|
|
809
809
|
};
|
|
810
|
-
protoOf(StreamingJsonEncoder).
|
|
811
|
-
return this.
|
|
810
|
+
protoOf(StreamingJsonEncoder).tl = function (value) {
|
|
811
|
+
return this.f1d_1.q1c(value);
|
|
812
812
|
};
|
|
813
813
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
814
814
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
815
|
-
return _this__u8e3s4.
|
|
815
|
+
return _this__u8e3s4.ik() && get_unsignedNumberDescriptors().d1(_this__u8e3s4);
|
|
816
816
|
}
|
|
817
817
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
818
818
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
819
|
-
return _this__u8e3s4.
|
|
819
|
+
return _this__u8e3s4.ik() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
820
820
|
}
|
|
821
821
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
822
822
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
823
823
|
if (!properties_initialized_StreamingJsonEncoder_kt_6ifwwk) {
|
|
824
824
|
properties_initialized_StreamingJsonEncoder_kt_6ifwwk = true;
|
|
825
|
-
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).
|
|
825
|
+
unsignedNumberDescriptors = setOf([serializer_0(Companion_getInstance()).gj(), serializer_1(Companion_getInstance_0()).gj(), serializer_2(Companion_getInstance_1()).gj(), serializer_3(Companion_getInstance_2()).gj()]);
|
|
826
826
|
}
|
|
827
827
|
}
|
|
828
828
|
function get_ESCAPE_STRINGS() {
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
}
|
|
852
852
|
function printQuoted(_this__u8e3s4, value) {
|
|
853
853
|
_init_properties_StringOps_kt__fcy1db();
|
|
854
|
-
_this__u8e3s4.
|
|
854
|
+
_this__u8e3s4.a8(_Char___init__impl__6a9atx(34));
|
|
855
855
|
var lastPos = 0;
|
|
856
856
|
var inductionVariable = 0;
|
|
857
857
|
var last = charSequenceLength(value) - 1 | 0;
|
|
@@ -863,18 +863,18 @@
|
|
|
863
863
|
var this_0 = charSequenceGet(value, i);
|
|
864
864
|
var c = Char__toInt_impl_vasixd(this_0);
|
|
865
865
|
if (c < get_ESCAPE_STRINGS().length && !(get_ESCAPE_STRINGS()[c] == null)) {
|
|
866
|
-
_this__u8e3s4.
|
|
867
|
-
_this__u8e3s4.
|
|
866
|
+
_this__u8e3s4.qb(value, lastPos, i);
|
|
867
|
+
_this__u8e3s4.z7(get_ESCAPE_STRINGS()[c]);
|
|
868
868
|
lastPos = i + 1 | 0;
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
while (inductionVariable <= last);
|
|
872
872
|
if (!(lastPos === 0)) {
|
|
873
|
-
_this__u8e3s4.
|
|
873
|
+
_this__u8e3s4.qb(value, lastPos, value.length);
|
|
874
874
|
} else {
|
|
875
|
-
_this__u8e3s4.
|
|
875
|
+
_this__u8e3s4.z7(value);
|
|
876
876
|
}
|
|
877
|
-
_this__u8e3s4.
|
|
877
|
+
_this__u8e3s4.a8(_Char___init__impl__6a9atx(34));
|
|
878
878
|
}
|
|
879
879
|
var properties_initialized_StringOps_kt_wzaea7;
|
|
880
880
|
function _init_properties_StringOps_kt__fcy1db() {
|
|
@@ -976,11 +976,11 @@
|
|
|
976
976
|
var $ENTRIES;
|
|
977
977
|
function WriteMode(name, ordinal, begin, end) {
|
|
978
978
|
Enum.call(this, name, ordinal);
|
|
979
|
-
this.
|
|
980
|
-
this.
|
|
979
|
+
this.t1d_1 = begin;
|
|
980
|
+
this.u1d_1 = end;
|
|
981
981
|
}
|
|
982
982
|
function switchMode(_this__u8e3s4, desc) {
|
|
983
|
-
var tmp0_subject = desc.
|
|
983
|
+
var tmp0_subject = desc.jk();
|
|
984
984
|
var tmp;
|
|
985
985
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
986
986
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -990,8 +990,8 @@
|
|
|
990
990
|
} else {
|
|
991
991
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
992
992
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
993
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
994
|
-
var keyKind = keyDescriptor.
|
|
993
|
+
var keyDescriptor = carrierDescriptor(desc.kk(0), _this__u8e3s4.jm());
|
|
994
|
+
var keyKind = keyDescriptor.jk();
|
|
995
995
|
var tmp_0;
|
|
996
996
|
var tmp_1;
|
|
997
997
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -1003,7 +1003,7 @@
|
|
|
1003
1003
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1004
1004
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
1005
1005
|
} else {
|
|
1006
|
-
if (_this__u8e3s4.
|
|
1006
|
+
if (_this__u8e3s4.b1b_1.k1b_1) {
|
|
1007
1007
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1008
1008
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
1009
1009
|
} else {
|
|
@@ -1020,12 +1020,12 @@
|
|
|
1020
1020
|
}
|
|
1021
1021
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
1022
1022
|
var tmp;
|
|
1023
|
-
if (equals(_this__u8e3s4.
|
|
1023
|
+
if (equals(_this__u8e3s4.jk(), CONTEXTUAL_getInstance())) {
|
|
1024
1024
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
1025
1025
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
1026
1026
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
1027
|
-
} else if (_this__u8e3s4.
|
|
1028
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
1027
|
+
} else if (_this__u8e3s4.ik()) {
|
|
1028
|
+
tmp = carrierDescriptor(_this__u8e3s4.kk(0), module_0);
|
|
1029
1029
|
} else {
|
|
1030
1030
|
tmp = _this__u8e3s4;
|
|
1031
1031
|
}
|
|
@@ -1048,28 +1048,28 @@
|
|
|
1048
1048
|
return WriteMode_POLY_OBJ_instance;
|
|
1049
1049
|
}
|
|
1050
1050
|
function get_schemaCache(_this__u8e3s4) {
|
|
1051
|
-
return _this__u8e3s4.
|
|
1051
|
+
return _this__u8e3s4.d1b_1;
|
|
1052
1052
|
}
|
|
1053
1053
|
function JsonToStringWriter() {
|
|
1054
|
-
this.
|
|
1054
|
+
this.f1b_1 = StringBuilder_init_$Create$(128);
|
|
1055
1055
|
}
|
|
1056
|
-
protoOf(JsonToStringWriter).
|
|
1057
|
-
this.
|
|
1056
|
+
protoOf(JsonToStringWriter).l1c = function (value) {
|
|
1057
|
+
this.f1b_1.tb(value);
|
|
1058
1058
|
};
|
|
1059
|
-
protoOf(JsonToStringWriter).
|
|
1060
|
-
this.
|
|
1059
|
+
protoOf(JsonToStringWriter).f1c = function (char) {
|
|
1060
|
+
this.f1b_1.a8(char);
|
|
1061
1061
|
};
|
|
1062
|
-
protoOf(JsonToStringWriter).
|
|
1063
|
-
this.
|
|
1062
|
+
protoOf(JsonToStringWriter).h1c = function (text) {
|
|
1063
|
+
this.f1b_1.z7(text);
|
|
1064
1064
|
};
|
|
1065
|
-
protoOf(JsonToStringWriter).
|
|
1066
|
-
printQuoted(this.
|
|
1065
|
+
protoOf(JsonToStringWriter).r1c = function (text) {
|
|
1066
|
+
printQuoted(this.f1b_1, text);
|
|
1067
1067
|
};
|
|
1068
|
-
protoOf(JsonToStringWriter).
|
|
1069
|
-
this.
|
|
1068
|
+
protoOf(JsonToStringWriter).g1b = function () {
|
|
1069
|
+
this.f1b_1.vb();
|
|
1070
1070
|
};
|
|
1071
1071
|
protoOf(JsonToStringWriter).toString = function () {
|
|
1072
|
-
return this.
|
|
1072
|
+
return this.f1b_1.toString();
|
|
1073
1073
|
};
|
|
1074
1074
|
function createMapForCache(initialCapacity) {
|
|
1075
1075
|
return HashMap_init_$Create$(initialCapacity);
|