git-digger 1.6.1 → 1.6.2
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 +2152 -1428
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/bin/digger +0 -0
- package/kotlin/clikt-clikt-mordant.js +98 -98
- package/kotlin/clikt-clikt.js +1832 -1830
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +463 -463
- package/kotlin/command-line-tools-digger-cli.js +77 -77
- package/kotlin/kotlin-kotlin-stdlib.js +908 -885
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1029 -899
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +329 -329
- package/kotlin/mordant-mordant.js +1588 -1588
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-digger-core.js +199 -199
- package/kotlin/tools-digger-json.js +121 -121
- package/kotlin/tools-digger-model.js +60 -60
- package/kotlin/tools-git-adapter.js +92 -92
- package/package.json +1 -1
|
@@ -1,77 +1,77 @@
|
|
|
1
1
|
(function (_, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_kotlin) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
4
|
+
var EmptySerializersModule = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g1;
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.s8;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.y7;
|
|
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.$_$.j3;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.t7;
|
|
10
|
+
var toString = kotlin_kotlin.$_$.xc;
|
|
11
|
+
var Enum = kotlin_kotlin.$_$.sb;
|
|
12
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.y2;
|
|
13
13
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
14
|
-
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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.$_$.
|
|
27
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
14
|
+
var InlinePrimitiveDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
15
|
+
var toLong = kotlin_kotlin.$_$.u8;
|
|
16
|
+
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.d2;
|
|
17
|
+
var UInt__toString_impl_dbgl21 = kotlin_kotlin.$_$.f2;
|
|
18
|
+
var _ULong___init__impl__c78o9k = kotlin_kotlin.$_$.i2;
|
|
19
|
+
var ULong__toString_impl_f9au7k = kotlin_kotlin.$_$.k2;
|
|
20
|
+
var _UByte___init__impl__g9hnc4 = kotlin_kotlin.$_$.y1;
|
|
21
|
+
var UByte__toString_impl_v72jg = kotlin_kotlin.$_$.a2;
|
|
22
|
+
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.n2;
|
|
23
|
+
var UShort__toString_impl_edaoee = kotlin_kotlin.$_$.p2;
|
|
24
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
|
|
25
|
+
var captureStack = kotlin_kotlin.$_$.g7;
|
|
26
|
+
var toString_0 = kotlin_kotlin.$_$.v8;
|
|
27
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j1;
|
|
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.$_$.j7;
|
|
30
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.k7;
|
|
31
|
+
var coerceAtLeast = kotlin_kotlin.$_$.z8;
|
|
32
|
+
var coerceAtMost = kotlin_kotlin.$_$.b9;
|
|
33
33
|
var CLASS_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
|
|
34
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
36
|
-
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
34
|
+
var equals = kotlin_kotlin.$_$.m7;
|
|
35
|
+
var fillArrayVal = kotlin_kotlin.$_$.n7;
|
|
36
|
+
var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i1;
|
|
37
37
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
38
|
-
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
38
|
+
var jsonCachedSerialNames = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f1;
|
|
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 AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
45
|
-
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
+
var THROW_CCE = kotlin_kotlin.$_$.ac;
|
|
43
|
+
var objectCreate = kotlin_kotlin.$_$.r8;
|
|
44
|
+
var AbstractEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
45
|
+
var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
46
46
|
var OBJECT_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
47
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
47
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.uc;
|
|
48
48
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
49
|
-
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
50
|
-
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
51
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
52
|
-
var isFinite = kotlin_kotlin.$_$.
|
|
53
|
-
var isFinite_0 = kotlin_kotlin.$_$.
|
|
54
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
49
|
+
var findPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l1;
|
|
50
|
+
var SerializationStrategy = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k1;
|
|
51
|
+
var isInterface = kotlin_kotlin.$_$.h8;
|
|
52
|
+
var isFinite = kotlin_kotlin.$_$.rc;
|
|
53
|
+
var isFinite_0 = kotlin_kotlin.$_$.qc;
|
|
54
|
+
var toString_1 = kotlin_kotlin.$_$.t1;
|
|
55
|
+
var Encoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
56
|
+
var CompositeEncoder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
57
|
+
var Companion_getInstance = kotlin_kotlin.$_$.g3;
|
|
58
58
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
|
|
59
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
59
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.h3;
|
|
60
60
|
var serializer_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
61
|
-
var Companion_getInstance_1 = kotlin_kotlin.$_$.
|
|
61
|
+
var Companion_getInstance_1 = kotlin_kotlin.$_$.f3;
|
|
62
62
|
var serializer_2 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
63
|
-
var Companion_getInstance_2 = kotlin_kotlin.$_$.
|
|
63
|
+
var Companion_getInstance_2 = kotlin_kotlin.$_$.i3;
|
|
64
64
|
var serializer_3 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
65
|
-
var setOf = kotlin_kotlin.$_$.
|
|
66
|
-
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.
|
|
67
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
68
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
69
|
-
var toByte = kotlin_kotlin.$_$.
|
|
70
|
-
var enumEntries = kotlin_kotlin.$_$.
|
|
65
|
+
var setOf = kotlin_kotlin.$_$.z5;
|
|
66
|
+
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.s1;
|
|
67
|
+
var numberToChar = kotlin_kotlin.$_$.n8;
|
|
68
|
+
var charSequenceGet = kotlin_kotlin.$_$.i7;
|
|
69
|
+
var toByte = kotlin_kotlin.$_$.t8;
|
|
70
|
+
var enumEntries = kotlin_kotlin.$_$.z6;
|
|
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;
|
|
74
|
-
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
74
|
+
var getContextualDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
75
75
|
var CONTEXTUAL_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
76
76
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
77
77
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
@@ -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.g1d_1 = configuration;
|
|
110
|
+
this.h1d_1 = serializersModule;
|
|
111
|
+
this.i1d_1 = new DescriptorSchemaCache();
|
|
112
112
|
}
|
|
113
|
-
protoOf(Json).
|
|
114
|
-
return this.
|
|
113
|
+
protoOf(Json).bn = function () {
|
|
114
|
+
return this.h1d_1;
|
|
115
115
|
};
|
|
116
|
-
protoOf(Json).
|
|
116
|
+
protoOf(Json).j1d = 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.l1d();
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function JsonClassDiscriminator() {
|
|
@@ -142,26 +142,26 @@
|
|
|
142
142
|
allowTrailingComma = allowTrailingComma === VOID ? false : allowTrailingComma;
|
|
143
143
|
allowComments = allowComments === VOID ? false : allowComments;
|
|
144
144
|
classDiscriminatorMode = classDiscriminatorMode === VOID ? ClassDiscriminatorMode_POLYMORPHIC_getInstance() : classDiscriminatorMode;
|
|
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.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
145
|
+
this.m1d_1 = encodeDefaults;
|
|
146
|
+
this.n1d_1 = ignoreUnknownKeys;
|
|
147
|
+
this.o1d_1 = isLenient;
|
|
148
|
+
this.p1d_1 = allowStructuredMapKeys;
|
|
149
|
+
this.q1d_1 = prettyPrint;
|
|
150
|
+
this.r1d_1 = explicitNulls;
|
|
151
|
+
this.s1d_1 = prettyPrintIndent;
|
|
152
|
+
this.t1d_1 = coerceInputValues;
|
|
153
|
+
this.u1d_1 = useArrayPolymorphism;
|
|
154
|
+
this.v1d_1 = classDiscriminator;
|
|
155
|
+
this.w1d_1 = allowSpecialFloatingPointValues;
|
|
156
|
+
this.x1d_1 = useAlternativeNames;
|
|
157
|
+
this.y1d_1 = namingStrategy;
|
|
158
|
+
this.z1d_1 = decodeEnumsCaseInsensitive;
|
|
159
|
+
this.a1e_1 = allowTrailingComma;
|
|
160
|
+
this.b1e_1 = allowComments;
|
|
161
|
+
this.c1e_1 = classDiscriminatorMode;
|
|
162
162
|
}
|
|
163
163
|
protoOf(JsonConfiguration).toString = function () {
|
|
164
|
-
return 'JsonConfiguration(encodeDefaults=' + this.
|
|
164
|
+
return 'JsonConfiguration(encodeDefaults=' + this.m1d_1 + ', ignoreUnknownKeys=' + this.n1d_1 + ', isLenient=' + this.o1d_1 + ', ' + ('allowStructuredMapKeys=' + this.p1d_1 + ', prettyPrint=' + this.q1d_1 + ', explicitNulls=' + this.r1d_1 + ', ') + ("prettyPrintIndent='" + this.s1d_1 + "', coerceInputValues=" + this.t1d_1 + ', useArrayPolymorphism=' + this.u1d_1 + ', ') + ("classDiscriminator='" + this.v1d_1 + "', allowSpecialFloatingPointValues=" + this.w1d_1 + ', ') + ('useAlternativeNames=' + this.x1d_1 + ', namingStrategy=' + toString(this.y1d_1) + ', decodeEnumsCaseInsensitive=' + this.z1d_1 + ', ') + ('allowTrailingComma=' + this.a1e_1 + ', allowComments=' + this.b1e_1 + ', classDiscriminatorMode=' + this.c1e_1.toString() + ')');
|
|
165
165
|
};
|
|
166
166
|
var ClassDiscriminatorMode_NONE_instance;
|
|
167
167
|
var ClassDiscriminatorMode_ALL_JSON_OBJECTS_instance;
|
|
@@ -199,159 +199,159 @@
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
function Composer(writer) {
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
202
|
+
this.d1e_1 = writer;
|
|
203
|
+
this.e1e_1 = true;
|
|
204
204
|
}
|
|
205
|
-
protoOf(Composer).
|
|
206
|
-
this.
|
|
205
|
+
protoOf(Composer).f1e = function () {
|
|
206
|
+
this.e1e_1 = true;
|
|
207
207
|
};
|
|
208
|
-
protoOf(Composer).
|
|
208
|
+
protoOf(Composer).g1e = function () {
|
|
209
209
|
return Unit_instance;
|
|
210
210
|
};
|
|
211
|
-
protoOf(Composer).
|
|
212
|
-
this.
|
|
211
|
+
protoOf(Composer).h1e = function () {
|
|
212
|
+
this.e1e_1 = false;
|
|
213
213
|
};
|
|
214
|
-
protoOf(Composer).
|
|
215
|
-
this.
|
|
214
|
+
protoOf(Composer).i1e = function () {
|
|
215
|
+
this.e1e_1 = false;
|
|
216
216
|
};
|
|
217
|
-
protoOf(Composer).
|
|
217
|
+
protoOf(Composer).j1e = function () {
|
|
218
218
|
return Unit_instance;
|
|
219
219
|
};
|
|
220
|
-
protoOf(Composer).
|
|
221
|
-
return this.
|
|
220
|
+
protoOf(Composer).k1e = function (v) {
|
|
221
|
+
return this.d1e_1.l1e(v);
|
|
222
222
|
};
|
|
223
|
-
protoOf(Composer).
|
|
224
|
-
return this.
|
|
223
|
+
protoOf(Composer).m1e = function (v) {
|
|
224
|
+
return this.d1e_1.n1e(v);
|
|
225
225
|
};
|
|
226
|
-
protoOf(Composer).
|
|
227
|
-
return this.
|
|
226
|
+
protoOf(Composer).o1e = function (v) {
|
|
227
|
+
return this.d1e_1.n1e(v.toString());
|
|
228
228
|
};
|
|
229
|
-
protoOf(Composer).
|
|
230
|
-
return this.
|
|
229
|
+
protoOf(Composer).p1e = function (v) {
|
|
230
|
+
return this.d1e_1.n1e(v.toString());
|
|
231
231
|
};
|
|
232
|
-
protoOf(Composer).
|
|
233
|
-
return this.
|
|
232
|
+
protoOf(Composer).q1e = function (v) {
|
|
233
|
+
return this.d1e_1.r1e(toLong(v));
|
|
234
234
|
};
|
|
235
|
-
protoOf(Composer).
|
|
236
|
-
return this.
|
|
235
|
+
protoOf(Composer).s1e = function (v) {
|
|
236
|
+
return this.d1e_1.r1e(toLong(v));
|
|
237
237
|
};
|
|
238
|
-
protoOf(Composer).
|
|
239
|
-
return this.
|
|
238
|
+
protoOf(Composer).t1e = function (v) {
|
|
239
|
+
return this.d1e_1.r1e(toLong(v));
|
|
240
240
|
};
|
|
241
|
-
protoOf(Composer).
|
|
242
|
-
return this.
|
|
241
|
+
protoOf(Composer).u1e = function (v) {
|
|
242
|
+
return this.d1e_1.r1e(v);
|
|
243
243
|
};
|
|
244
|
-
protoOf(Composer).
|
|
245
|
-
return this.
|
|
244
|
+
protoOf(Composer).v1e = function (v) {
|
|
245
|
+
return this.d1e_1.n1e(v.toString());
|
|
246
246
|
};
|
|
247
|
-
protoOf(Composer).
|
|
248
|
-
return this.
|
|
247
|
+
protoOf(Composer).w1e = function (value) {
|
|
248
|
+
return this.d1e_1.x1e(value);
|
|
249
249
|
};
|
|
250
250
|
function Composer_0(sb, json) {
|
|
251
|
-
return json.
|
|
251
|
+
return json.g1d_1.q1d_1 ? new ComposerWithPrettyPrint(sb, json) : new Composer(sb);
|
|
252
252
|
}
|
|
253
253
|
function ComposerForUnsignedNumbers(writer, forceQuoting) {
|
|
254
254
|
Composer.call(this, writer);
|
|
255
|
-
this.
|
|
255
|
+
this.a1f_1 = forceQuoting;
|
|
256
256
|
}
|
|
257
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
258
|
-
if (this.
|
|
257
|
+
protoOf(ComposerForUnsignedNumbers).t1e = function (v) {
|
|
258
|
+
if (this.a1f_1) {
|
|
259
259
|
// Inline function 'kotlin.toUInt' call
|
|
260
260
|
var tmp$ret$0 = _UInt___init__impl__l7qpdl(v);
|
|
261
|
-
this.
|
|
261
|
+
this.w1e(UInt__toString_impl_dbgl21(tmp$ret$0));
|
|
262
262
|
} else {
|
|
263
263
|
// Inline function 'kotlin.toUInt' call
|
|
264
264
|
var tmp$ret$1 = _UInt___init__impl__l7qpdl(v);
|
|
265
|
-
this.
|
|
265
|
+
this.m1e(UInt__toString_impl_dbgl21(tmp$ret$1));
|
|
266
266
|
}
|
|
267
267
|
};
|
|
268
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
269
|
-
if (this.
|
|
268
|
+
protoOf(ComposerForUnsignedNumbers).u1e = function (v) {
|
|
269
|
+
if (this.a1f_1) {
|
|
270
270
|
// Inline function 'kotlin.toULong' call
|
|
271
271
|
var tmp$ret$0 = _ULong___init__impl__c78o9k(v);
|
|
272
|
-
this.
|
|
272
|
+
this.w1e(ULong__toString_impl_f9au7k(tmp$ret$0));
|
|
273
273
|
} else {
|
|
274
274
|
// Inline function 'kotlin.toULong' call
|
|
275
275
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(v);
|
|
276
|
-
this.
|
|
276
|
+
this.m1e(ULong__toString_impl_f9au7k(tmp$ret$1));
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
280
|
-
if (this.
|
|
279
|
+
protoOf(ComposerForUnsignedNumbers).q1e = function (v) {
|
|
280
|
+
if (this.a1f_1) {
|
|
281
281
|
// Inline function 'kotlin.toUByte' call
|
|
282
282
|
var tmp$ret$0 = _UByte___init__impl__g9hnc4(v);
|
|
283
|
-
this.
|
|
283
|
+
this.w1e(UByte__toString_impl_v72jg(tmp$ret$0));
|
|
284
284
|
} else {
|
|
285
285
|
// Inline function 'kotlin.toUByte' call
|
|
286
286
|
var tmp$ret$1 = _UByte___init__impl__g9hnc4(v);
|
|
287
|
-
this.
|
|
287
|
+
this.m1e(UByte__toString_impl_v72jg(tmp$ret$1));
|
|
288
288
|
}
|
|
289
289
|
};
|
|
290
|
-
protoOf(ComposerForUnsignedNumbers).
|
|
291
|
-
if (this.
|
|
290
|
+
protoOf(ComposerForUnsignedNumbers).s1e = function (v) {
|
|
291
|
+
if (this.a1f_1) {
|
|
292
292
|
// Inline function 'kotlin.toUShort' call
|
|
293
293
|
var tmp$ret$0 = _UShort___init__impl__jigrne(v);
|
|
294
|
-
this.
|
|
294
|
+
this.w1e(UShort__toString_impl_edaoee(tmp$ret$0));
|
|
295
295
|
} else {
|
|
296
296
|
// Inline function 'kotlin.toUShort' call
|
|
297
297
|
var tmp$ret$1 = _UShort___init__impl__jigrne(v);
|
|
298
|
-
this.
|
|
298
|
+
this.m1e(UShort__toString_impl_edaoee(tmp$ret$1));
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
function ComposerForUnquotedLiterals(writer, forceQuoting) {
|
|
302
302
|
Composer.call(this, writer);
|
|
303
|
-
this.
|
|
303
|
+
this.d1f_1 = forceQuoting;
|
|
304
304
|
}
|
|
305
|
-
protoOf(ComposerForUnquotedLiterals).
|
|
306
|
-
if (this.
|
|
307
|
-
protoOf(Composer).
|
|
305
|
+
protoOf(ComposerForUnquotedLiterals).w1e = function (value) {
|
|
306
|
+
if (this.d1f_1) {
|
|
307
|
+
protoOf(Composer).w1e.call(this, value);
|
|
308
308
|
} else {
|
|
309
|
-
protoOf(Composer).
|
|
309
|
+
protoOf(Composer).m1e.call(this, value);
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
function ComposerWithPrettyPrint(writer, json) {
|
|
313
313
|
Composer.call(this, writer);
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
314
|
+
this.g1f_1 = json;
|
|
315
|
+
this.h1f_1 = 0;
|
|
316
316
|
}
|
|
317
|
-
protoOf(ComposerWithPrettyPrint).
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
317
|
+
protoOf(ComposerWithPrettyPrint).f1e = function () {
|
|
318
|
+
this.e1e_1 = true;
|
|
319
|
+
this.h1f_1 = this.h1f_1 + 1 | 0;
|
|
320
320
|
};
|
|
321
|
-
protoOf(ComposerWithPrettyPrint).
|
|
322
|
-
this.
|
|
321
|
+
protoOf(ComposerWithPrettyPrint).g1e = function () {
|
|
322
|
+
this.h1f_1 = this.h1f_1 - 1 | 0;
|
|
323
323
|
};
|
|
324
|
-
protoOf(ComposerWithPrettyPrint).
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
324
|
+
protoOf(ComposerWithPrettyPrint).h1e = function () {
|
|
325
|
+
this.e1e_1 = false;
|
|
326
|
+
this.m1e('\n');
|
|
327
327
|
// Inline function 'kotlin.repeat' call
|
|
328
|
-
var times = this.
|
|
328
|
+
var times = this.h1f_1;
|
|
329
329
|
var inductionVariable = 0;
|
|
330
330
|
if (inductionVariable < times)
|
|
331
331
|
do {
|
|
332
332
|
var index = inductionVariable;
|
|
333
333
|
inductionVariable = inductionVariable + 1 | 0;
|
|
334
334
|
// Inline function 'kotlinx.serialization.json.internal.ComposerWithPrettyPrint.nextItem.<anonymous>' call
|
|
335
|
-
this.
|
|
335
|
+
this.m1e(this.g1f_1.g1d_1.s1d_1);
|
|
336
336
|
}
|
|
337
337
|
while (inductionVariable < times);
|
|
338
338
|
};
|
|
339
|
-
protoOf(ComposerWithPrettyPrint).
|
|
340
|
-
if (this.
|
|
341
|
-
this.
|
|
339
|
+
protoOf(ComposerWithPrettyPrint).i1e = function () {
|
|
340
|
+
if (this.e1e_1)
|
|
341
|
+
this.e1e_1 = false;
|
|
342
342
|
else {
|
|
343
|
-
this.
|
|
343
|
+
this.h1e();
|
|
344
344
|
}
|
|
345
345
|
};
|
|
346
|
-
protoOf(ComposerWithPrettyPrint).
|
|
347
|
-
this.
|
|
346
|
+
protoOf(ComposerWithPrettyPrint).j1e = function () {
|
|
347
|
+
this.k1e(_Char___init__impl__6a9atx(32));
|
|
348
348
|
};
|
|
349
349
|
function JsonEncodingException(message) {
|
|
350
350
|
JsonException.call(this, message);
|
|
351
351
|
captureStack(this, JsonEncodingException);
|
|
352
352
|
}
|
|
353
353
|
function InvalidKeyKindException(keyDescriptor) {
|
|
354
|
-
return new JsonEncodingException("Value of type '" + keyDescriptor.
|
|
354
|
+
return new JsonEncodingException("Value of type '" + keyDescriptor.nk() + "' 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.yk().toString() + "'.\n") + "Use 'allowStructuredMapKeys = true' in 'Json {}' builder to convert such maps to [key1, value1, key2, value2,...] arrays.");
|
|
355
355
|
}
|
|
356
356
|
function InvalidFloatingPointEncoded(value, output) {
|
|
357
357
|
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))));
|
|
@@ -390,28 +390,28 @@
|
|
|
390
390
|
function getJsonElementName(_this__u8e3s4, json, index) {
|
|
391
391
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
392
392
|
var strategy = namingStrategy(_this__u8e3s4, json);
|
|
393
|
-
return strategy == null ? _this__u8e3s4.
|
|
393
|
+
return strategy == null ? _this__u8e3s4.cl(index) : serializationNamesIndices(_this__u8e3s4, json, strategy)[index];
|
|
394
394
|
}
|
|
395
395
|
function namingStrategy(_this__u8e3s4, json) {
|
|
396
396
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
397
|
-
return equals(_this__u8e3s4.
|
|
397
|
+
return equals(_this__u8e3s4.yk(), CLASS_getInstance()) ? json.g1d_1.y1d_1 : null;
|
|
398
398
|
}
|
|
399
399
|
function serializationNamesIndices(_this__u8e3s4, json, strategy) {
|
|
400
400
|
_init_properties_JsonNamesMap_kt__cbbp0k();
|
|
401
401
|
var tmp = get_schemaCache(json);
|
|
402
402
|
var tmp_0 = get_JsonSerializationNamesKey();
|
|
403
|
-
return tmp.
|
|
403
|
+
return tmp.j1f(_this__u8e3s4, tmp_0, serializationNamesIndices$lambda(_this__u8e3s4, strategy));
|
|
404
404
|
}
|
|
405
405
|
function serializationNamesIndices$lambda($this_serializationNamesIndices, $strategy) {
|
|
406
406
|
return function () {
|
|
407
407
|
var tmp = 0;
|
|
408
|
-
var tmp_0 = $this_serializationNamesIndices.
|
|
408
|
+
var tmp_0 = $this_serializationNamesIndices.al();
|
|
409
409
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
410
410
|
var tmp_1 = fillArrayVal(Array(tmp_0), null);
|
|
411
411
|
while (tmp < tmp_0) {
|
|
412
412
|
var tmp_2 = tmp;
|
|
413
|
-
var baseName = $this_serializationNamesIndices.
|
|
414
|
-
tmp_1[tmp_2] = $strategy.
|
|
413
|
+
var baseName = $this_serializationNamesIndices.cl(tmp_2);
|
|
414
|
+
tmp_1[tmp_2] = $strategy.k1f($this_serializationNamesIndices, tmp_2, baseName);
|
|
415
415
|
tmp = tmp + 1 | 0;
|
|
416
416
|
}
|
|
417
417
|
return tmp_1;
|
|
@@ -428,26 +428,26 @@
|
|
|
428
428
|
function encodeByWriter(json, writer, serializer, value) {
|
|
429
429
|
var tmp = WriteMode_OBJ_getInstance();
|
|
430
430
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
431
|
-
var size = get_entries().
|
|
431
|
+
var size = get_entries().s();
|
|
432
432
|
var tmp$ret$0 = fillArrayVal(Array(size), null);
|
|
433
433
|
var encoder = StreamingJsonEncoder_init_$Create$(writer, json, tmp, tmp$ret$0);
|
|
434
|
-
encoder.
|
|
434
|
+
encoder.ym(serializer, value);
|
|
435
435
|
}
|
|
436
436
|
function classDiscriminator(_this__u8e3s4, json) {
|
|
437
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
438
|
-
while (_iterator__ex2g4s.
|
|
439
|
-
var annotation = _iterator__ex2g4s.
|
|
437
|
+
var _iterator__ex2g4s = _this__u8e3s4.bl().p();
|
|
438
|
+
while (_iterator__ex2g4s.q()) {
|
|
439
|
+
var annotation = _iterator__ex2g4s.r();
|
|
440
440
|
if (annotation instanceof JsonClassDiscriminator)
|
|
441
|
-
return annotation.
|
|
441
|
+
return annotation.u1f_1;
|
|
442
442
|
}
|
|
443
|
-
return json.
|
|
443
|
+
return json.g1d_1.v1d_1;
|
|
444
444
|
}
|
|
445
445
|
function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
|
|
446
446
|
if (!(serializer instanceof SealedClassSerializer))
|
|
447
447
|
return Unit_instance;
|
|
448
448
|
if (jsonCachedSerialNames(actualSerializer.oj()).d1(classDiscriminator)) {
|
|
449
|
-
var baseName = serializer.oj().
|
|
450
|
-
var actualName = actualSerializer.oj().
|
|
449
|
+
var baseName = serializer.oj().nk();
|
|
450
|
+
var actualName = actualSerializer.oj().nk();
|
|
451
451
|
// Inline function 'kotlin.error' call
|
|
452
452
|
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';
|
|
453
453
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -476,11 +476,11 @@
|
|
|
476
476
|
function Key() {
|
|
477
477
|
}
|
|
478
478
|
function DescriptorSchemaCache() {
|
|
479
|
-
this.
|
|
479
|
+
this.i1f_1 = createMapForCache(16);
|
|
480
480
|
}
|
|
481
|
-
protoOf(DescriptorSchemaCache).
|
|
481
|
+
protoOf(DescriptorSchemaCache).v1f = function (descriptor, key, value) {
|
|
482
482
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
483
|
-
var this_0 = this.
|
|
483
|
+
var this_0 = this.i1f_1;
|
|
484
484
|
var value_0 = this_0.w1(descriptor);
|
|
485
485
|
var tmp;
|
|
486
486
|
if (value_0 == null) {
|
|
@@ -497,8 +497,8 @@
|
|
|
497
497
|
var value_1 = !(value == null) ? value : THROW_CCE();
|
|
498
498
|
tmp2.e2(tmp3, value_1);
|
|
499
499
|
};
|
|
500
|
-
protoOf(DescriptorSchemaCache).
|
|
501
|
-
var tmp0_safe_receiver = this.
|
|
500
|
+
protoOf(DescriptorSchemaCache).j1f = function (descriptor, key, defaultValue) {
|
|
501
|
+
var tmp0_safe_receiver = this.w1f(descriptor, key);
|
|
502
502
|
if (tmp0_safe_receiver == null)
|
|
503
503
|
null;
|
|
504
504
|
else {
|
|
@@ -506,11 +506,11 @@
|
|
|
506
506
|
return tmp0_safe_receiver;
|
|
507
507
|
}
|
|
508
508
|
var value = defaultValue();
|
|
509
|
-
this.
|
|
509
|
+
this.v1f(descriptor, key, value);
|
|
510
510
|
return value;
|
|
511
511
|
};
|
|
512
|
-
protoOf(DescriptorSchemaCache).
|
|
513
|
-
var tmp0_safe_receiver = this.
|
|
512
|
+
protoOf(DescriptorSchemaCache).w1f = function (descriptor, key) {
|
|
513
|
+
var tmp0_safe_receiver = this.i1f_1.w1(descriptor);
|
|
514
514
|
var tmp;
|
|
515
515
|
if (tmp0_safe_receiver == null) {
|
|
516
516
|
tmp = null;
|
|
@@ -533,53 +533,53 @@
|
|
|
533
533
|
return StreamingJsonEncoder_init_$Init$(output, json, mode, modeReuseCache, objectCreate(protoOf(StreamingJsonEncoder)));
|
|
534
534
|
}
|
|
535
535
|
function encodeTypeInfo($this, discriminator, serialName) {
|
|
536
|
-
$this.
|
|
537
|
-
$this.
|
|
538
|
-
$this.
|
|
539
|
-
$this.
|
|
540
|
-
$this.
|
|
536
|
+
$this.l1f_1.h1e();
|
|
537
|
+
$this.lm(discriminator);
|
|
538
|
+
$this.l1f_1.k1e(_Char___init__impl__6a9atx(58));
|
|
539
|
+
$this.l1f_1.j1e();
|
|
540
|
+
$this.lm(serialName);
|
|
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
|
-
this.
|
|
553
|
-
var i = this.
|
|
554
|
-
if (!(this.
|
|
555
|
-
if (!(this.
|
|
556
|
-
this.
|
|
544
|
+
this.l1f_1 = composer;
|
|
545
|
+
this.m1f_1 = json;
|
|
546
|
+
this.n1f_1 = mode;
|
|
547
|
+
this.o1f_1 = modeReuseCache;
|
|
548
|
+
this.p1f_1 = this.m1f_1.bn();
|
|
549
|
+
this.q1f_1 = this.m1f_1.g1d_1;
|
|
550
|
+
this.r1f_1 = false;
|
|
551
|
+
this.s1f_1 = null;
|
|
552
|
+
this.t1f_1 = null;
|
|
553
|
+
var i = this.n1f_1.i2_1;
|
|
554
|
+
if (!(this.o1f_1 == null)) {
|
|
555
|
+
if (!(this.o1f_1[i] === null) || !(this.o1f_1[i] === this)) {
|
|
556
|
+
this.o1f_1[i] = this;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
|
-
protoOf(StreamingJsonEncoder).
|
|
561
|
-
return this.
|
|
560
|
+
protoOf(StreamingJsonEncoder).x1f = function () {
|
|
561
|
+
return this.m1f_1;
|
|
562
562
|
};
|
|
563
|
-
protoOf(StreamingJsonEncoder).
|
|
564
|
-
return this.
|
|
563
|
+
protoOf(StreamingJsonEncoder).bn = function () {
|
|
564
|
+
return this.p1f_1;
|
|
565
565
|
};
|
|
566
|
-
protoOf(StreamingJsonEncoder).
|
|
567
|
-
return this.
|
|
566
|
+
protoOf(StreamingJsonEncoder).en = function (descriptor, index) {
|
|
567
|
+
return this.q1f_1.m1d_1;
|
|
568
568
|
};
|
|
569
|
-
protoOf(StreamingJsonEncoder).
|
|
569
|
+
protoOf(StreamingJsonEncoder).ym = function (serializer, value) {
|
|
570
570
|
$l$block: {
|
|
571
571
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically' call
|
|
572
|
-
if (this.
|
|
572
|
+
if (this.x1f().g1d_1.u1d_1) {
|
|
573
573
|
serializer.pj(this, value);
|
|
574
574
|
break $l$block;
|
|
575
575
|
}
|
|
576
576
|
var isPolymorphicSerializer = serializer instanceof AbstractPolymorphicSerializer;
|
|
577
577
|
var tmp;
|
|
578
578
|
if (isPolymorphicSerializer) {
|
|
579
|
-
tmp = !this.
|
|
579
|
+
tmp = !this.x1f().g1d_1.c1e_1.equals(ClassDiscriminatorMode_NONE_getInstance());
|
|
580
580
|
} else {
|
|
581
581
|
var tmp_0;
|
|
582
|
-
switch (this.
|
|
582
|
+
switch (this.x1f().g1d_1.c1e_1.i2_1) {
|
|
583
583
|
case 0:
|
|
584
584
|
case 2:
|
|
585
585
|
tmp_0 = false;
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
|
|
590
590
|
// Inline function 'kotlinx.serialization.json.internal.encodePolymorphically.<anonymous>' call
|
|
591
591
|
|
|
592
|
-
var it = serializer.oj().
|
|
592
|
+
var it = serializer.oj().yk();
|
|
593
593
|
tmp_0 = equals(it, CLASS_getInstance()) || equals(it, OBJECT_getInstance());
|
|
594
594
|
break;
|
|
595
595
|
default:
|
|
@@ -599,7 +599,7 @@
|
|
|
599
599
|
tmp = tmp_0;
|
|
600
600
|
}
|
|
601
601
|
var needDiscriminator = tmp;
|
|
602
|
-
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.oj(), this.
|
|
602
|
+
var baseClassDiscriminator = needDiscriminator ? classDiscriminator(serializer.oj(), this.x1f()) : null;
|
|
603
603
|
var tmp_1;
|
|
604
604
|
if (isPolymorphicSerializer) {
|
|
605
605
|
var casted = serializer instanceof AbstractPolymorphicSerializer ? serializer : THROW_CCE();
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
if (!(baseClassDiscriminator == null)) {
|
|
618
618
|
access$validateIfSealed$tPolymorphicKt(serializer, actual, baseClassDiscriminator);
|
|
619
619
|
}
|
|
620
|
-
checkKind(actual.oj().
|
|
620
|
+
checkKind(actual.oj().yk());
|
|
621
621
|
tmp_1 = isInterface(actual, SerializationStrategy) ? actual : THROW_CCE();
|
|
622
622
|
} else {
|
|
623
623
|
tmp_1 = serializer;
|
|
@@ -625,208 +625,208 @@
|
|
|
625
625
|
var actualSerializer = tmp_1;
|
|
626
626
|
if (!(baseClassDiscriminator == null)) {
|
|
627
627
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue.<anonymous>' call
|
|
628
|
-
var serialName = actualSerializer.oj().
|
|
629
|
-
this.
|
|
630
|
-
this.
|
|
628
|
+
var serialName = actualSerializer.oj().nk();
|
|
629
|
+
this.s1f_1 = baseClassDiscriminator;
|
|
630
|
+
this.t1f_1 = serialName;
|
|
631
631
|
}
|
|
632
632
|
actualSerializer.pj(this, value);
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
|
-
protoOf(StreamingJsonEncoder).
|
|
636
|
-
var newMode = switchMode(this.
|
|
637
|
-
if (!(newMode.
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
635
|
+
protoOf(StreamingJsonEncoder).yl = function (descriptor) {
|
|
636
|
+
var newMode = switchMode(this.m1f_1, descriptor);
|
|
637
|
+
if (!(newMode.a1g_1 === _Char___init__impl__6a9atx(0))) {
|
|
638
|
+
this.l1f_1.k1e(newMode.a1g_1);
|
|
639
|
+
this.l1f_1.f1e();
|
|
640
640
|
}
|
|
641
|
-
var discriminator = this.
|
|
641
|
+
var discriminator = this.s1f_1;
|
|
642
642
|
if (!(discriminator == null)) {
|
|
643
|
-
var tmp0_elvis_lhs = this.
|
|
644
|
-
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
643
|
+
var tmp0_elvis_lhs = this.t1f_1;
|
|
644
|
+
encodeTypeInfo(this, discriminator, tmp0_elvis_lhs == null ? descriptor.nk() : tmp0_elvis_lhs);
|
|
645
|
+
this.s1f_1 = null;
|
|
646
|
+
this.t1f_1 = null;
|
|
647
647
|
}
|
|
648
|
-
if (this.
|
|
648
|
+
if (this.n1f_1.equals(newMode)) {
|
|
649
649
|
return this;
|
|
650
650
|
}
|
|
651
|
-
var tmp1_safe_receiver = this.
|
|
651
|
+
var tmp1_safe_receiver = this.o1f_1;
|
|
652
652
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver[newMode.i2_1];
|
|
653
|
-
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.
|
|
653
|
+
return tmp2_elvis_lhs == null ? new StreamingJsonEncoder(this.l1f_1, this.m1f_1, newMode, this.o1f_1) : tmp2_elvis_lhs;
|
|
654
654
|
};
|
|
655
|
-
protoOf(StreamingJsonEncoder).
|
|
656
|
-
if (!(this.
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
655
|
+
protoOf(StreamingJsonEncoder).zl = function (descriptor) {
|
|
656
|
+
if (!(this.n1f_1.b1g_1 === _Char___init__impl__6a9atx(0))) {
|
|
657
|
+
this.l1f_1.g1e();
|
|
658
|
+
this.l1f_1.i1e();
|
|
659
|
+
this.l1f_1.k1e(this.n1f_1.b1g_1);
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
|
-
protoOf(StreamingJsonEncoder).
|
|
663
|
-
switch (this.
|
|
662
|
+
protoOf(StreamingJsonEncoder).am = function (descriptor, index) {
|
|
663
|
+
switch (this.n1f_1.i2_1) {
|
|
664
664
|
case 1:
|
|
665
|
-
if (!this.
|
|
666
|
-
this.
|
|
665
|
+
if (!this.l1f_1.e1e_1) {
|
|
666
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(44));
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
this.
|
|
669
|
+
this.l1f_1.h1e();
|
|
670
670
|
break;
|
|
671
671
|
case 2:
|
|
672
|
-
if (!this.
|
|
672
|
+
if (!this.l1f_1.e1e_1) {
|
|
673
673
|
var tmp = this;
|
|
674
674
|
var tmp_0;
|
|
675
675
|
if ((index % 2 | 0) === 0) {
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
676
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(44));
|
|
677
|
+
this.l1f_1.h1e();
|
|
678
678
|
tmp_0 = true;
|
|
679
679
|
} else {
|
|
680
|
-
this.
|
|
681
|
-
this.
|
|
680
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(58));
|
|
681
|
+
this.l1f_1.j1e();
|
|
682
682
|
tmp_0 = false;
|
|
683
683
|
}
|
|
684
|
-
tmp.
|
|
684
|
+
tmp.r1f_1 = tmp_0;
|
|
685
685
|
} else {
|
|
686
|
-
this.
|
|
687
|
-
this.
|
|
686
|
+
this.r1f_1 = true;
|
|
687
|
+
this.l1f_1.h1e();
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
break;
|
|
691
691
|
case 3:
|
|
692
692
|
if (index === 0)
|
|
693
|
-
this.
|
|
693
|
+
this.r1f_1 = true;
|
|
694
694
|
if (index === 1) {
|
|
695
|
-
this.
|
|
696
|
-
this.
|
|
697
|
-
this.
|
|
695
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(44));
|
|
696
|
+
this.l1f_1.j1e();
|
|
697
|
+
this.r1f_1 = false;
|
|
698
698
|
}
|
|
699
699
|
|
|
700
700
|
break;
|
|
701
701
|
default:
|
|
702
|
-
if (!this.
|
|
703
|
-
this.
|
|
702
|
+
if (!this.l1f_1.e1e_1) {
|
|
703
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(44));
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
706
|
+
this.l1f_1.h1e();
|
|
707
|
+
this.lm(getJsonElementName(descriptor, this.m1f_1, index));
|
|
708
|
+
this.l1f_1.k1e(_Char___init__impl__6a9atx(58));
|
|
709
|
+
this.l1f_1.j1e();
|
|
710
710
|
break;
|
|
711
711
|
}
|
|
712
712
|
return true;
|
|
713
713
|
};
|
|
714
|
-
protoOf(StreamingJsonEncoder).
|
|
715
|
-
if (!(value == null) || this.
|
|
716
|
-
protoOf(AbstractEncoder).
|
|
714
|
+
protoOf(StreamingJsonEncoder).zm = function (descriptor, index, serializer, value) {
|
|
715
|
+
if (!(value == null) || this.q1f_1.r1d_1) {
|
|
716
|
+
protoOf(AbstractEncoder).zm.call(this, descriptor, index, serializer, value);
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
|
-
protoOf(StreamingJsonEncoder).
|
|
719
|
+
protoOf(StreamingJsonEncoder).mm = function (descriptor) {
|
|
720
720
|
var tmp;
|
|
721
721
|
if (get_isUnsignedNumber(descriptor)) {
|
|
722
722
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
723
723
|
var tmp_0;
|
|
724
|
-
var tmp_1 = this.
|
|
724
|
+
var tmp_1 = this.l1f_1;
|
|
725
725
|
if (tmp_1 instanceof ComposerForUnsignedNumbers) {
|
|
726
|
-
tmp_0 = this.
|
|
726
|
+
tmp_0 = this.l1f_1;
|
|
727
727
|
} else {
|
|
728
|
-
var tmp1 = this.
|
|
728
|
+
var tmp1 = this.l1f_1.d1e_1;
|
|
729
729
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
730
|
-
var p1 = this.
|
|
730
|
+
var p1 = this.r1f_1;
|
|
731
731
|
tmp_0 = new ComposerForUnsignedNumbers(tmp1, p1);
|
|
732
732
|
}
|
|
733
733
|
var tmp$ret$1 = tmp_0;
|
|
734
|
-
tmp = new StreamingJsonEncoder(tmp$ret$1, this.
|
|
734
|
+
tmp = new StreamingJsonEncoder(tmp$ret$1, this.m1f_1, this.n1f_1, null);
|
|
735
735
|
} else if (get_isUnquotedLiteral(descriptor)) {
|
|
736
736
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.composerAs' call
|
|
737
737
|
var tmp_2;
|
|
738
|
-
var tmp_3 = this.
|
|
738
|
+
var tmp_3 = this.l1f_1;
|
|
739
739
|
if (tmp_3 instanceof ComposerForUnquotedLiterals) {
|
|
740
|
-
tmp_2 = this.
|
|
740
|
+
tmp_2 = this.l1f_1;
|
|
741
741
|
} else {
|
|
742
|
-
var tmp4 = this.
|
|
742
|
+
var tmp4 = this.l1f_1.d1e_1;
|
|
743
743
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.stub_for_inlining' call
|
|
744
|
-
var p1_0 = this.
|
|
744
|
+
var p1_0 = this.r1f_1;
|
|
745
745
|
tmp_2 = new ComposerForUnquotedLiterals(tmp4, p1_0);
|
|
746
746
|
}
|
|
747
747
|
var tmp$ret$3 = tmp_2;
|
|
748
|
-
tmp = new StreamingJsonEncoder(tmp$ret$3, this.
|
|
749
|
-
} else if (!(this.
|
|
748
|
+
tmp = new StreamingJsonEncoder(tmp$ret$3, this.m1f_1, this.n1f_1, null);
|
|
749
|
+
} else if (!(this.s1f_1 == null)) {
|
|
750
750
|
// Inline function 'kotlin.apply' call
|
|
751
751
|
// Inline function 'kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeInline.<anonymous>' call
|
|
752
|
-
this.
|
|
752
|
+
this.t1f_1 = descriptor.nk();
|
|
753
753
|
tmp = this;
|
|
754
754
|
} else {
|
|
755
|
-
tmp = protoOf(AbstractEncoder).
|
|
755
|
+
tmp = protoOf(AbstractEncoder).mm.call(this, descriptor);
|
|
756
756
|
}
|
|
757
757
|
return tmp;
|
|
758
758
|
};
|
|
759
|
-
protoOf(StreamingJsonEncoder).
|
|
760
|
-
this.
|
|
759
|
+
protoOf(StreamingJsonEncoder).cm = function () {
|
|
760
|
+
this.l1f_1.m1e('null');
|
|
761
761
|
};
|
|
762
|
-
protoOf(StreamingJsonEncoder).
|
|
763
|
-
if (this.
|
|
764
|
-
this.
|
|
762
|
+
protoOf(StreamingJsonEncoder).dm = function (value) {
|
|
763
|
+
if (this.r1f_1) {
|
|
764
|
+
this.lm(value.toString());
|
|
765
765
|
} else {
|
|
766
|
-
this.
|
|
766
|
+
this.l1f_1.v1e(value);
|
|
767
767
|
}
|
|
768
768
|
};
|
|
769
|
-
protoOf(StreamingJsonEncoder).
|
|
770
|
-
if (this.
|
|
771
|
-
this.
|
|
769
|
+
protoOf(StreamingJsonEncoder).em = function (value) {
|
|
770
|
+
if (this.r1f_1) {
|
|
771
|
+
this.lm(value.toString());
|
|
772
772
|
} else {
|
|
773
|
-
this.
|
|
773
|
+
this.l1f_1.q1e(value);
|
|
774
774
|
}
|
|
775
775
|
};
|
|
776
|
-
protoOf(StreamingJsonEncoder).
|
|
777
|
-
if (this.
|
|
778
|
-
this.
|
|
776
|
+
protoOf(StreamingJsonEncoder).fm = function (value) {
|
|
777
|
+
if (this.r1f_1) {
|
|
778
|
+
this.lm(value.toString());
|
|
779
779
|
} else {
|
|
780
|
-
this.
|
|
780
|
+
this.l1f_1.s1e(value);
|
|
781
781
|
}
|
|
782
782
|
};
|
|
783
|
-
protoOf(StreamingJsonEncoder).
|
|
784
|
-
if (this.
|
|
785
|
-
this.
|
|
783
|
+
protoOf(StreamingJsonEncoder).gm = function (value) {
|
|
784
|
+
if (this.r1f_1) {
|
|
785
|
+
this.lm(value.toString());
|
|
786
786
|
} else {
|
|
787
|
-
this.
|
|
787
|
+
this.l1f_1.t1e(value);
|
|
788
788
|
}
|
|
789
789
|
};
|
|
790
|
-
protoOf(StreamingJsonEncoder).
|
|
791
|
-
if (this.
|
|
792
|
-
this.
|
|
790
|
+
protoOf(StreamingJsonEncoder).hm = function (value) {
|
|
791
|
+
if (this.r1f_1) {
|
|
792
|
+
this.lm(value.toString());
|
|
793
793
|
} else {
|
|
794
|
-
this.
|
|
794
|
+
this.l1f_1.u1e(value);
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
|
-
protoOf(StreamingJsonEncoder).
|
|
798
|
-
if (this.
|
|
799
|
-
this.
|
|
797
|
+
protoOf(StreamingJsonEncoder).im = function (value) {
|
|
798
|
+
if (this.r1f_1) {
|
|
799
|
+
this.lm(value.toString());
|
|
800
800
|
} else {
|
|
801
|
-
this.
|
|
801
|
+
this.l1f_1.o1e(value);
|
|
802
802
|
}
|
|
803
|
-
if (!this.
|
|
804
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
803
|
+
if (!this.q1f_1.w1d_1 && !isFinite(value)) {
|
|
804
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.l1f_1.d1e_1));
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
protoOf(StreamingJsonEncoder).
|
|
808
|
-
if (this.
|
|
809
|
-
this.
|
|
807
|
+
protoOf(StreamingJsonEncoder).jm = function (value) {
|
|
808
|
+
if (this.r1f_1) {
|
|
809
|
+
this.lm(value.toString());
|
|
810
810
|
} else {
|
|
811
|
-
this.
|
|
811
|
+
this.l1f_1.p1e(value);
|
|
812
812
|
}
|
|
813
|
-
if (!this.
|
|
814
|
-
throw InvalidFloatingPointEncoded(value, toString_0(this.
|
|
813
|
+
if (!this.q1f_1.w1d_1 && !isFinite_0(value)) {
|
|
814
|
+
throw InvalidFloatingPointEncoded(value, toString_0(this.l1f_1.d1e_1));
|
|
815
815
|
}
|
|
816
816
|
};
|
|
817
|
-
protoOf(StreamingJsonEncoder).
|
|
818
|
-
this.
|
|
817
|
+
protoOf(StreamingJsonEncoder).km = function (value) {
|
|
818
|
+
this.lm(toString_1(value));
|
|
819
819
|
};
|
|
820
|
-
protoOf(StreamingJsonEncoder).
|
|
821
|
-
return this.
|
|
820
|
+
protoOf(StreamingJsonEncoder).lm = function (value) {
|
|
821
|
+
return this.l1f_1.w1e(value);
|
|
822
822
|
};
|
|
823
823
|
function get_isUnsignedNumber(_this__u8e3s4) {
|
|
824
824
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
825
|
-
return _this__u8e3s4.
|
|
825
|
+
return _this__u8e3s4.zk() && get_unsignedNumberDescriptors().d1(_this__u8e3s4);
|
|
826
826
|
}
|
|
827
827
|
function get_isUnquotedLiteral(_this__u8e3s4) {
|
|
828
828
|
_init_properties_StreamingJsonEncoder_kt__pn1bsi();
|
|
829
|
-
return _this__u8e3s4.
|
|
829
|
+
return _this__u8e3s4.zk() && equals(_this__u8e3s4, get_jsonUnquotedLiteralDescriptor());
|
|
830
830
|
}
|
|
831
831
|
var properties_initialized_StreamingJsonEncoder_kt_6ifwwk;
|
|
832
832
|
function _init_properties_StreamingJsonEncoder_kt__pn1bsi() {
|
|
@@ -1010,11 +1010,11 @@
|
|
|
1010
1010
|
var $ENTRIES;
|
|
1011
1011
|
function WriteMode(name, ordinal, begin, end) {
|
|
1012
1012
|
Enum.call(this, name, ordinal);
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1013
|
+
this.a1g_1 = begin;
|
|
1014
|
+
this.b1g_1 = end;
|
|
1015
1015
|
}
|
|
1016
1016
|
function switchMode(_this__u8e3s4, desc) {
|
|
1017
|
-
var tmp0_subject = desc.
|
|
1017
|
+
var tmp0_subject = desc.yk();
|
|
1018
1018
|
var tmp;
|
|
1019
1019
|
if (tmp0_subject instanceof PolymorphicKind) {
|
|
1020
1020
|
tmp = WriteMode_POLY_OBJ_getInstance();
|
|
@@ -1024,8 +1024,8 @@
|
|
|
1024
1024
|
} else {
|
|
1025
1025
|
if (equals(tmp0_subject, MAP_getInstance())) {
|
|
1026
1026
|
// Inline function 'kotlinx.serialization.json.internal.selectMapMode' call
|
|
1027
|
-
var keyDescriptor = carrierDescriptor(desc.
|
|
1028
|
-
var keyKind = keyDescriptor.
|
|
1027
|
+
var keyDescriptor = carrierDescriptor(desc.dl(0), _this__u8e3s4.bn());
|
|
1028
|
+
var keyKind = keyDescriptor.yk();
|
|
1029
1029
|
var tmp_0;
|
|
1030
1030
|
var tmp_1;
|
|
1031
1031
|
if (keyKind instanceof PrimitiveKind) {
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1038
1038
|
tmp_0 = WriteMode_MAP_getInstance();
|
|
1039
1039
|
} else {
|
|
1040
|
-
if (_this__u8e3s4.
|
|
1040
|
+
if (_this__u8e3s4.g1d_1.p1d_1) {
|
|
1041
1041
|
// Inline function 'kotlinx.serialization.json.internal.switchMode.<anonymous>' call
|
|
1042
1042
|
tmp_0 = WriteMode_LIST_getInstance();
|
|
1043
1043
|
} else {
|
|
@@ -1054,12 +1054,12 @@
|
|
|
1054
1054
|
}
|
|
1055
1055
|
function carrierDescriptor(_this__u8e3s4, module_0) {
|
|
1056
1056
|
var tmp;
|
|
1057
|
-
if (equals(_this__u8e3s4.
|
|
1057
|
+
if (equals(_this__u8e3s4.yk(), CONTEXTUAL_getInstance())) {
|
|
1058
1058
|
var tmp0_safe_receiver = getContextualDescriptor(module_0, _this__u8e3s4);
|
|
1059
1059
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : carrierDescriptor(tmp0_safe_receiver, module_0);
|
|
1060
1060
|
tmp = tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
1061
|
-
} else if (_this__u8e3s4.
|
|
1062
|
-
tmp = carrierDescriptor(_this__u8e3s4.
|
|
1061
|
+
} else if (_this__u8e3s4.zk()) {
|
|
1062
|
+
tmp = carrierDescriptor(_this__u8e3s4.dl(0), module_0);
|
|
1063
1063
|
} else {
|
|
1064
1064
|
tmp = _this__u8e3s4;
|
|
1065
1065
|
}
|
|
@@ -1082,28 +1082,28 @@
|
|
|
1082
1082
|
return WriteMode_POLY_OBJ_instance;
|
|
1083
1083
|
}
|
|
1084
1084
|
function get_schemaCache(_this__u8e3s4) {
|
|
1085
|
-
return _this__u8e3s4.
|
|
1085
|
+
return _this__u8e3s4.i1d_1;
|
|
1086
1086
|
}
|
|
1087
1087
|
function JsonToStringWriter() {
|
|
1088
|
-
this.
|
|
1088
|
+
this.k1d_1 = StringBuilder_init_$Create$(128);
|
|
1089
1089
|
}
|
|
1090
|
-
protoOf(JsonToStringWriter).
|
|
1091
|
-
this.
|
|
1090
|
+
protoOf(JsonToStringWriter).r1e = function (value) {
|
|
1091
|
+
this.k1d_1.pb(value);
|
|
1092
1092
|
};
|
|
1093
|
-
protoOf(JsonToStringWriter).
|
|
1094
|
-
this.
|
|
1093
|
+
protoOf(JsonToStringWriter).l1e = function (char) {
|
|
1094
|
+
this.k1d_1.y7(char);
|
|
1095
1095
|
};
|
|
1096
|
-
protoOf(JsonToStringWriter).
|
|
1097
|
-
this.
|
|
1096
|
+
protoOf(JsonToStringWriter).n1e = function (text) {
|
|
1097
|
+
this.k1d_1.x7(text);
|
|
1098
1098
|
};
|
|
1099
|
-
protoOf(JsonToStringWriter).
|
|
1100
|
-
printQuoted(this.
|
|
1099
|
+
protoOf(JsonToStringWriter).x1e = function (text) {
|
|
1100
|
+
printQuoted(this.k1d_1, text);
|
|
1101
1101
|
};
|
|
1102
|
-
protoOf(JsonToStringWriter).
|
|
1103
|
-
this.
|
|
1102
|
+
protoOf(JsonToStringWriter).l1d = function () {
|
|
1103
|
+
this.k1d_1.rb();
|
|
1104
1104
|
};
|
|
1105
1105
|
protoOf(JsonToStringWriter).toString = function () {
|
|
1106
|
-
return this.
|
|
1106
|
+
return this.k1d_1.toString();
|
|
1107
1107
|
};
|
|
1108
1108
|
function createMapForCache(initialCapacity) {
|
|
1109
1109
|
return HashMap_init_$Create$(initialCapacity);
|