@doordeck/doordeck-headless-sdk 0.208.0 → 0.210.0
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/Kermit-kermit-core.js +60 -60
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/Signum-indispensable-asn1.js +4 -0
- package/kotlin/doordeck-sdk.d.ts +36 -1
- package/kotlin/doordeck-sdk.js +12351 -11885
- package/kotlin/kotlin-kotlin-stdlib.js +483 -465
- package/kotlin/kotlinx-atomicfu.js +8 -8
- package/kotlin/kotlinx-coroutines-core.js +183 -156
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +20 -20
- package/kotlin/kotlinx-io-kotlinx-io-core.js +35 -35
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2084 -1887
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1514 -1514
- package/kotlin/kotlinx-serialization-kotlinx-serialization-properties.js +100 -0
- package/kotlin/ktor-ktor-client-auth.js +273 -273
- package/kotlin/ktor-ktor-client-content-negotiation.js +163 -163
- package/kotlin/ktor-ktor-client-core.js +2156 -2134
- package/kotlin/ktor-ktor-client-logging.js +654 -654
- package/kotlin/ktor-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-http-cio.js +379 -379
- package/kotlin/ktor-ktor-http.js +847 -900
- package/kotlin/ktor-ktor-io.js +109 -162
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +165 -348
- package/kotlin/ktor-ktor-serialization.js +70 -92
- package/kotlin/ktor-ktor-utils.js +920 -919
- package/kotlin/ktor-ktor-websockets.js +397 -397
- package/package.json +1 -1
|
@@ -1,78 +1,74 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_serialization) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n3;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.c3;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.y9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.nc;
|
|
8
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.h9;
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.vb;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.c;
|
|
11
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
15
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
16
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
17
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
11
|
+
var constructCallableReference = kotlin_kotlin.$_$.gb;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.qc;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w4;
|
|
15
|
+
var THROW_CCE = kotlin_kotlin.$_$.pg;
|
|
16
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
17
|
+
var isInterface = kotlin_kotlin.$_$.fc;
|
|
18
18
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
19
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
20
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
20
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.z1;
|
|
21
21
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
22
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
23
|
-
var equals = kotlin_kotlin.$_$.
|
|
24
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
25
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
26
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
27
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
22
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
23
|
+
var equals = kotlin_kotlin.$_$.ib;
|
|
24
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ua;
|
|
25
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
26
|
+
var hashCode = kotlin_kotlin.$_$.pb;
|
|
27
|
+
var initMetadataForClass = kotlin_kotlin.$_$.qb;
|
|
28
28
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
29
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
29
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
30
30
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
31
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
31
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
32
32
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.k;
|
|
33
|
-
var
|
|
33
|
+
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
34
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.z;
|
|
34
35
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
35
|
-
var readText = kotlin_io_ktor_ktor_io.$_$.
|
|
36
|
+
var readText = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
36
37
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
37
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
39
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
40
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
38
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s4;
|
|
39
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
40
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y2;
|
|
41
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.fd;
|
|
41
42
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
42
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
43
|
+
var KtMap = kotlin_kotlin.$_$.u5;
|
|
43
44
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
44
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
45
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
46
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
45
|
+
var KtSet = kotlin_kotlin.$_$.a6;
|
|
46
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.h7;
|
|
47
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.o2;
|
|
47
48
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
48
49
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
49
|
-
var isArray = kotlin_kotlin.$_$.
|
|
50
|
-
var KtList = kotlin_kotlin.$_$.
|
|
50
|
+
var isArray = kotlin_kotlin.$_$.xb;
|
|
51
|
+
var KtList = kotlin_kotlin.$_$.r5;
|
|
51
52
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
52
|
-
var Exception = kotlin_kotlin.$_$.
|
|
53
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
54
|
-
var to = kotlin_kotlin.$_$.
|
|
53
|
+
var Exception = kotlin_kotlin.$_$.ig;
|
|
54
|
+
var joinToString = kotlin_kotlin.$_$.q7;
|
|
55
|
+
var to = kotlin_kotlin.$_$.th;
|
|
55
56
|
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
56
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
57
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
58
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
59
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
60
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
61
|
-
var Collection = kotlin_kotlin.$_$.
|
|
62
|
-
var KClass = kotlin_kotlin.$_$.
|
|
63
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
57
|
+
var filterNotNull = kotlin_kotlin.$_$.f7;
|
|
58
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
|
|
59
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m3;
|
|
60
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.t3;
|
|
61
|
+
var singleOrNull = kotlin_kotlin.$_$.m8;
|
|
62
|
+
var Collection = kotlin_kotlin.$_$.m5;
|
|
63
|
+
var KClass = kotlin_kotlin.$_$.id;
|
|
64
|
+
var emptyList = kotlin_kotlin.$_$.a7;
|
|
64
65
|
//endregion
|
|
65
66
|
//region block: pre-declaration
|
|
66
67
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
67
68
|
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
68
|
-
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
69
|
-
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
70
69
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
71
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
72
70
|
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
73
71
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
74
|
-
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
75
|
-
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
76
72
|
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
77
73
|
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
78
74
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
@@ -86,7 +82,7 @@
|
|
|
86
82
|
var _iterator__ex2g4s = tmp0.t();
|
|
87
83
|
while (_iterator__ex2g4s.u()) {
|
|
88
84
|
var element = _iterator__ex2g4s.v();
|
|
89
|
-
var tmp0_safe_receiver = element.
|
|
85
|
+
var tmp0_safe_receiver = element.w63(format);
|
|
90
86
|
if (tmp0_safe_receiver == null)
|
|
91
87
|
null;
|
|
92
88
|
else {
|
|
@@ -97,24 +93,24 @@
|
|
|
97
93
|
return destination;
|
|
98
94
|
}
|
|
99
95
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
100
|
-
_this__u8e3s4.
|
|
96
|
+
_this__u8e3s4.h3o(contentType, new KotlinxSerializationConverter(format));
|
|
101
97
|
}
|
|
102
98
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
99
|
+
this.f64_1 = $$this$unsafeFlow;
|
|
100
|
+
this.g64_1 = $contentType;
|
|
101
|
+
this.h64_1 = $charset;
|
|
102
|
+
this.i64_1 = $typeInfo;
|
|
103
|
+
this.j64_1 = $value;
|
|
108
104
|
CoroutineImpl.call(this, resultContinuation);
|
|
109
105
|
}
|
|
110
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
111
|
-
var tmp = this.
|
|
106
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).x3o = function (value, $completion) {
|
|
107
|
+
var tmp = this.y3o(value, $completion);
|
|
112
108
|
tmp.f9_1 = Unit_instance;
|
|
113
109
|
tmp.g9_1 = null;
|
|
114
110
|
return tmp.l9();
|
|
115
111
|
};
|
|
116
112
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
117
|
-
return this.
|
|
113
|
+
return this.x3o(p1, $completion);
|
|
118
114
|
};
|
|
119
115
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
120
116
|
var suspendResult = this.f9_1;
|
|
@@ -124,11 +120,11 @@
|
|
|
124
120
|
switch (tmp) {
|
|
125
121
|
case 0:
|
|
126
122
|
this.e9_1 = 3;
|
|
127
|
-
var tmp0 = this.
|
|
128
|
-
var tmp2 = this.
|
|
129
|
-
this.
|
|
123
|
+
var tmp0 = this.f64_1;
|
|
124
|
+
var tmp2 = this.k64_1;
|
|
125
|
+
this.l64_1 = tmp0;
|
|
130
126
|
this.d9_1 = 1;
|
|
131
|
-
suspendResult = tmp2.
|
|
127
|
+
suspendResult = tmp2.b5s(this.g64_1, this.h64_1, this.i64_1, this.j64_1, this);
|
|
132
128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
133
129
|
return suspendResult;
|
|
134
130
|
}
|
|
@@ -137,7 +133,7 @@
|
|
|
137
133
|
case 1:
|
|
138
134
|
var ARGUMENT = suspendResult;
|
|
139
135
|
this.d9_1 = 2;
|
|
140
|
-
suspendResult = this.
|
|
136
|
+
suspendResult = this.l64_1.y1e(ARGUMENT, this);
|
|
141
137
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
142
138
|
return suspendResult;
|
|
143
139
|
}
|
|
@@ -159,21 +155,21 @@
|
|
|
159
155
|
}
|
|
160
156
|
while (true);
|
|
161
157
|
};
|
|
162
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
163
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
164
|
-
i.
|
|
158
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y3o = function (value, completion) {
|
|
159
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.f64_1, this.g64_1, this.h64_1, this.i64_1, this.j64_1, completion);
|
|
160
|
+
i.k64_1 = value;
|
|
165
161
|
return i;
|
|
166
162
|
};
|
|
167
163
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
168
164
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
169
165
|
return constructCallableReference(function (value, $completion) {
|
|
170
|
-
return i.
|
|
166
|
+
return i.x3o(value, $completion);
|
|
171
167
|
}, 1);
|
|
172
168
|
}
|
|
173
169
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
174
170
|
CoroutineImpl.call(this, resultContinuation);
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
171
|
+
this.u64_1 = _this__u8e3s4;
|
|
172
|
+
this.v64_1 = collector;
|
|
177
173
|
}
|
|
178
174
|
protoOf($collectCOROUTINE$).l9 = function () {
|
|
179
175
|
var suspendResult = this.f9_1;
|
|
@@ -183,118 +179,10 @@
|
|
|
183
179
|
switch (tmp) {
|
|
184
180
|
case 0:
|
|
185
181
|
this.e9_1 = 2;
|
|
186
|
-
var $this$unsafeFlow = this.
|
|
182
|
+
var $this$unsafeFlow = this.v64_1;
|
|
187
183
|
this.d9_1 = 1;
|
|
188
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
189
|
-
suspendResult = this.
|
|
190
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
191
|
-
return suspendResult;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
continue $sm;
|
|
195
|
-
case 1:
|
|
196
|
-
return Unit_instance;
|
|
197
|
-
case 2:
|
|
198
|
-
throw this.g9_1;
|
|
199
|
-
}
|
|
200
|
-
} catch ($p) {
|
|
201
|
-
var e = $p;
|
|
202
|
-
if (this.e9_1 === 2) {
|
|
203
|
-
throw e;
|
|
204
|
-
} else {
|
|
205
|
-
this.d9_1 = this.e9_1;
|
|
206
|
-
this.g9_1 = e;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
while (true);
|
|
210
|
-
};
|
|
211
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
212
|
-
this.t64_1 = $$this$unsafeFlow;
|
|
213
|
-
this.u64_1 = $charset;
|
|
214
|
-
this.v64_1 = $typeInfo;
|
|
215
|
-
this.w64_1 = $content;
|
|
216
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
217
|
-
}
|
|
218
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h3o = function (value, $completion) {
|
|
219
|
-
var tmp = this.i3o(value, $completion);
|
|
220
|
-
tmp.f9_1 = Unit_instance;
|
|
221
|
-
tmp.g9_1 = null;
|
|
222
|
-
return tmp.l9();
|
|
223
|
-
};
|
|
224
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
225
|
-
return this.h3o(p1, $completion);
|
|
226
|
-
};
|
|
227
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
228
|
-
var suspendResult = this.f9_1;
|
|
229
|
-
$sm: do
|
|
230
|
-
try {
|
|
231
|
-
var tmp = this.d9_1;
|
|
232
|
-
switch (tmp) {
|
|
233
|
-
case 0:
|
|
234
|
-
this.e9_1 = 3;
|
|
235
|
-
var tmp0 = this.t64_1;
|
|
236
|
-
var tmp2 = this.x64_1;
|
|
237
|
-
this.y64_1 = tmp0;
|
|
238
|
-
this.d9_1 = 1;
|
|
239
|
-
suspendResult = tmp2.j3o(this.u64_1, this.v64_1, this.w64_1, this);
|
|
240
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
241
|
-
return suspendResult;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
continue $sm;
|
|
245
|
-
case 1:
|
|
246
|
-
var ARGUMENT = suspendResult;
|
|
247
|
-
this.d9_1 = 2;
|
|
248
|
-
suspendResult = this.y64_1.y1e(ARGUMENT, this);
|
|
249
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
250
|
-
return suspendResult;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
continue $sm;
|
|
254
|
-
case 2:
|
|
255
|
-
return Unit_instance;
|
|
256
|
-
case 3:
|
|
257
|
-
throw this.g9_1;
|
|
258
|
-
}
|
|
259
|
-
} catch ($p) {
|
|
260
|
-
var e = $p;
|
|
261
|
-
if (this.e9_1 === 3) {
|
|
262
|
-
throw e;
|
|
263
|
-
} else {
|
|
264
|
-
this.d9_1 = this.e9_1;
|
|
265
|
-
this.g9_1 = e;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
while (true);
|
|
269
|
-
};
|
|
270
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i3o = function (value, completion) {
|
|
271
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.t64_1, this.u64_1, this.v64_1, this.w64_1, completion);
|
|
272
|
-
i.x64_1 = value;
|
|
273
|
-
return i;
|
|
274
|
-
};
|
|
275
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
276
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
277
|
-
return constructCallableReference(function (value, $completion) {
|
|
278
|
-
return i.h3o(value, $completion);
|
|
279
|
-
}, 1);
|
|
280
|
-
}
|
|
281
|
-
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
282
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
283
|
-
this.h65_1 = _this__u8e3s4;
|
|
284
|
-
this.i65_1 = collector;
|
|
285
|
-
}
|
|
286
|
-
protoOf($collectCOROUTINE$_0).l9 = function () {
|
|
287
|
-
var suspendResult = this.f9_1;
|
|
288
|
-
$sm: do
|
|
289
|
-
try {
|
|
290
|
-
var tmp = this.d9_1;
|
|
291
|
-
switch (tmp) {
|
|
292
|
-
case 0:
|
|
293
|
-
this.e9_1 = 2;
|
|
294
|
-
var $this$unsafeFlow = this.i65_1;
|
|
295
|
-
this.d9_1 = 1;
|
|
296
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.h65_1.k65_1, this.h65_1.l65_1, this.h65_1.m65_1, null);
|
|
297
|
-
suspendResult = this.h65_1.j65_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
184
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.u64_1.x64_1, this.u64_1.y64_1, this.u64_1.z64_1, this.u64_1.a65_1, null);
|
|
185
|
+
suspendResult = this.u64_1.w64_1.a1f(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
298
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
299
187
|
return suspendResult;
|
|
300
188
|
}
|
|
@@ -319,11 +207,11 @@
|
|
|
319
207
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
320
208
|
var tmp;
|
|
321
209
|
if (isInterface(format, StringFormat)) {
|
|
322
|
-
var content = format.
|
|
210
|
+
var content = format.h21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
323
211
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
324
212
|
} else {
|
|
325
213
|
if (isInterface(format, BinaryFormat)) {
|
|
326
|
-
var content_0 = format.
|
|
214
|
+
var content_0 = format.j21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
327
215
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
328
216
|
} else {
|
|
329
217
|
// Inline function 'kotlin.error' call
|
|
@@ -334,13 +222,13 @@
|
|
|
334
222
|
return tmp;
|
|
335
223
|
}
|
|
336
224
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
337
|
-
this.
|
|
225
|
+
this.b65_1 = function_0;
|
|
338
226
|
}
|
|
339
227
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).y1e = function (value, $completion) {
|
|
340
|
-
return this.
|
|
228
|
+
return this.b65_1(value, $completion);
|
|
341
229
|
};
|
|
342
230
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
343
|
-
return this.
|
|
231
|
+
return this.b65_1;
|
|
344
232
|
};
|
|
345
233
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
346
234
|
var tmp;
|
|
@@ -360,39 +248,12 @@
|
|
|
360
248
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
361
249
|
return hashCode(this.q3());
|
|
362
250
|
};
|
|
363
|
-
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
364
|
-
this.o65_1 = function_0;
|
|
365
|
-
}
|
|
366
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).y1e = function (value, $completion) {
|
|
367
|
-
return this.o65_1(value, $completion);
|
|
368
|
-
};
|
|
369
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
370
|
-
return this.o65_1;
|
|
371
|
-
};
|
|
372
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
373
|
-
var tmp;
|
|
374
|
-
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
375
|
-
var tmp_0;
|
|
376
|
-
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
377
|
-
tmp_0 = equals(this.q3(), other.q3());
|
|
378
|
-
} else {
|
|
379
|
-
tmp_0 = false;
|
|
380
|
-
}
|
|
381
|
-
tmp = tmp_0;
|
|
382
|
-
} else {
|
|
383
|
-
tmp = false;
|
|
384
|
-
}
|
|
385
|
-
return tmp;
|
|
386
|
-
};
|
|
387
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
388
|
-
return hashCode(this.q3());
|
|
389
|
-
};
|
|
390
251
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
252
|
+
this.w64_1 = $this;
|
|
253
|
+
this.x64_1 = $contentType;
|
|
254
|
+
this.y64_1 = $charset;
|
|
255
|
+
this.z64_1 = $typeInfo;
|
|
256
|
+
this.a65_1 = $value;
|
|
396
257
|
}
|
|
397
258
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).z1e = function (collector, $completion) {
|
|
398
259
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -406,14 +267,14 @@
|
|
|
406
267
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
407
268
|
CoroutineImpl.call(this, resultContinuation);
|
|
408
269
|
}
|
|
409
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
410
|
-
var tmp = this.
|
|
270
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).l65 = function (it, $completion) {
|
|
271
|
+
var tmp = this.m65(it, $completion);
|
|
411
272
|
tmp.f9_1 = Unit_instance;
|
|
412
273
|
tmp.g9_1 = null;
|
|
413
274
|
return tmp.l9();
|
|
414
275
|
};
|
|
415
276
|
protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
|
|
416
|
-
return this.
|
|
277
|
+
return this.l65((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
417
278
|
};
|
|
418
279
|
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
419
280
|
var suspendResult = this.f9_1;
|
|
@@ -422,7 +283,7 @@
|
|
|
422
283
|
var tmp = this.d9_1;
|
|
423
284
|
if (tmp === 0) {
|
|
424
285
|
this.e9_1 = 1;
|
|
425
|
-
return !(this.
|
|
286
|
+
return !(this.k65_1 == null);
|
|
426
287
|
} else if (tmp === 1) {
|
|
427
288
|
throw this.g9_1;
|
|
428
289
|
}
|
|
@@ -432,80 +293,24 @@
|
|
|
432
293
|
}
|
|
433
294
|
while (true);
|
|
434
295
|
};
|
|
435
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
296
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).m65 = function (it, completion) {
|
|
436
297
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
437
|
-
i.
|
|
298
|
+
i.k65_1 = it;
|
|
438
299
|
return i;
|
|
439
300
|
};
|
|
440
301
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
441
302
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
442
303
|
return constructCallableReference(function (it, $completion) {
|
|
443
|
-
return i.
|
|
444
|
-
}, 1);
|
|
445
|
-
}
|
|
446
|
-
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
447
|
-
this.j65_1 = $this;
|
|
448
|
-
this.k65_1 = $charset;
|
|
449
|
-
this.l65_1 = $typeInfo;
|
|
450
|
-
this.m65_1 = $content;
|
|
451
|
-
}
|
|
452
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).z1e = function (collector, $completion) {
|
|
453
|
-
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
454
|
-
tmp.f9_1 = Unit_instance;
|
|
455
|
-
tmp.g9_1 = null;
|
|
456
|
-
return tmp.l9();
|
|
457
|
-
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).a1f = function (collector, $completion) {
|
|
459
|
-
return this.z1e(collector, $completion);
|
|
460
|
-
};
|
|
461
|
-
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
462
|
-
this.i66_1 = $content;
|
|
463
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
464
|
-
}
|
|
465
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).i3p = function (it, $completion) {
|
|
466
|
-
var tmp = this.i3o(it, $completion);
|
|
467
|
-
tmp.f9_1 = Unit_instance;
|
|
468
|
-
tmp.g9_1 = null;
|
|
469
|
-
return tmp.l9();
|
|
470
|
-
};
|
|
471
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
|
|
472
|
-
return this.i3p(p1, $completion);
|
|
473
|
-
};
|
|
474
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
475
|
-
var suspendResult = this.f9_1;
|
|
476
|
-
$sm: do
|
|
477
|
-
try {
|
|
478
|
-
var tmp = this.d9_1;
|
|
479
|
-
if (tmp === 0) {
|
|
480
|
-
this.e9_1 = 1;
|
|
481
|
-
return !(this.j66_1 == null) || this.i66_1.b1p();
|
|
482
|
-
} else if (tmp === 1) {
|
|
483
|
-
throw this.g9_1;
|
|
484
|
-
}
|
|
485
|
-
} catch ($p) {
|
|
486
|
-
var e = $p;
|
|
487
|
-
throw e;
|
|
488
|
-
}
|
|
489
|
-
while (true);
|
|
490
|
-
};
|
|
491
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).i3o = function (it, completion) {
|
|
492
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.i66_1, completion);
|
|
493
|
-
i.j66_1 = it;
|
|
494
|
-
return i;
|
|
495
|
-
};
|
|
496
|
-
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
497
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
498
|
-
return constructCallableReference(function (it, $completion) {
|
|
499
|
-
return i.i3p(it, $completion);
|
|
304
|
+
return i.l65(it, $completion);
|
|
500
305
|
}, 1);
|
|
501
306
|
}
|
|
502
307
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
503
308
|
CoroutineImpl.call(this, resultContinuation);
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
309
|
+
this.v65_1 = _this__u8e3s4;
|
|
310
|
+
this.w65_1 = contentType;
|
|
311
|
+
this.x65_1 = charset;
|
|
312
|
+
this.y65_1 = typeInfo;
|
|
313
|
+
this.z65_1 = value;
|
|
509
314
|
}
|
|
510
315
|
protoOf($serializeCOROUTINE$).l9 = function () {
|
|
511
316
|
var suspendResult = this.f9_1;
|
|
@@ -516,8 +321,8 @@
|
|
|
516
321
|
case 0:
|
|
517
322
|
this.e9_1 = 2;
|
|
518
323
|
this.d9_1 = 1;
|
|
519
|
-
var this_0 = asFlow(this.
|
|
520
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
324
|
+
var this_0 = asFlow(this.v65_1.b66_1);
|
|
325
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.w65_1, this.x65_1, this.y65_1, this.z65_1);
|
|
521
326
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
522
327
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
523
328
|
return suspendResult;
|
|
@@ -530,12 +335,12 @@
|
|
|
530
335
|
return fromExtension;
|
|
531
336
|
var tmp_1;
|
|
532
337
|
try {
|
|
533
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
338
|
+
tmp_1 = serializerForTypeInfo(this.v65_1.a66_1.i24(), this.y65_1);
|
|
534
339
|
} catch ($p) {
|
|
535
340
|
var tmp_2;
|
|
536
341
|
if ($p instanceof SerializationException) {
|
|
537
342
|
var cause = $p;
|
|
538
|
-
tmp_2 = guessSerializer(this.
|
|
343
|
+
tmp_2 = guessSerializer(this.z65_1, this.v65_1.a66_1.i24());
|
|
539
344
|
} else {
|
|
540
345
|
throw $p;
|
|
541
346
|
}
|
|
@@ -543,7 +348,7 @@
|
|
|
543
348
|
}
|
|
544
349
|
|
|
545
350
|
var serializer = tmp_1;
|
|
546
|
-
return serializeContent(this.
|
|
351
|
+
return serializeContent(this.v65_1, serializer, this.v65_1.a66_1, this.z65_1, this.w65_1, this.x65_1);
|
|
547
352
|
case 2:
|
|
548
353
|
throw this.g9_1;
|
|
549
354
|
}
|
|
@@ -560,10 +365,10 @@
|
|
|
560
365
|
};
|
|
561
366
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
562
367
|
CoroutineImpl.call(this, resultContinuation);
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
368
|
+
this.k66_1 = _this__u8e3s4;
|
|
369
|
+
this.l66_1 = charset;
|
|
370
|
+
this.m66_1 = typeInfo;
|
|
371
|
+
this.n66_1 = content;
|
|
567
372
|
}
|
|
568
373
|
protoOf($deserializeCOROUTINE$).l9 = function () {
|
|
569
374
|
var suspendResult = this.f9_1;
|
|
@@ -572,69 +377,81 @@
|
|
|
572
377
|
var tmp = this.d9_1;
|
|
573
378
|
switch (tmp) {
|
|
574
379
|
case 0:
|
|
575
|
-
this.e9_1 =
|
|
380
|
+
this.e9_1 = 7;
|
|
576
381
|
this.d9_1 = 1;
|
|
577
|
-
|
|
578
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.i67_1, this.j67_1, this.k67_1);
|
|
579
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.k67_1, null), this);
|
|
382
|
+
suspendResult = readRemaining(this.n66_1, this);
|
|
580
383
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
581
384
|
return suspendResult;
|
|
582
385
|
}
|
|
583
386
|
|
|
584
387
|
continue $sm;
|
|
585
388
|
case 1:
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
389
|
+
this.o66_1 = suspendResult;
|
|
390
|
+
this.q66_1 = this.k66_1.b66_1.t();
|
|
391
|
+
this.d9_1 = 2;
|
|
392
|
+
continue $sm;
|
|
393
|
+
case 2:
|
|
394
|
+
if (!this.q66_1.u()) {
|
|
395
|
+
this.d9_1 = 5;
|
|
396
|
+
continue $sm;
|
|
592
397
|
}
|
|
593
398
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
this.d9_1 = 2;
|
|
598
|
-
suspendResult = readRemaining(this.k67_1, this);
|
|
399
|
+
var ext = this.q66_1.v();
|
|
400
|
+
this.d9_1 = 3;
|
|
401
|
+
suspendResult = ext.z3o(this.l66_1, this.m66_1, ByteReadChannel(this.o66_1), this);
|
|
599
402
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
600
403
|
return suspendResult;
|
|
601
404
|
}
|
|
602
405
|
|
|
603
406
|
continue $sm;
|
|
604
|
-
case
|
|
605
|
-
var
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
tmp_2 = this.h67_1.x66_1.j21(this.l67_1, readText(contentPacket, this.i67_1));
|
|
407
|
+
case 3:
|
|
408
|
+
var tmp0_elvis_lhs = suspendResult;
|
|
409
|
+
if (tmp0_elvis_lhs == null) {
|
|
410
|
+
this.d9_1 = 2;
|
|
411
|
+
var tmp_0 = this;
|
|
412
|
+
continue $sm;
|
|
611
413
|
} else {
|
|
612
|
-
|
|
613
|
-
|
|
414
|
+
this.p66_1 = tmp0_elvis_lhs;
|
|
415
|
+
this.d9_1 = 4;
|
|
416
|
+
continue $sm;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
case 4:
|
|
420
|
+
return this.p66_1;
|
|
421
|
+
case 5:
|
|
422
|
+
var serializer = serializerForTypeInfo(this.k66_1.a66_1.i24(), this.m66_1);
|
|
423
|
+
this.e9_1 = 6;
|
|
424
|
+
var tmp1_subject = this.k66_1.a66_1;
|
|
425
|
+
var tmp_1;
|
|
426
|
+
if (isInterface(tmp1_subject, StringFormat)) {
|
|
427
|
+
tmp_1 = this.k66_1.a66_1.i21(serializer, readText(this.o66_1, this.l66_1));
|
|
428
|
+
} else {
|
|
429
|
+
if (isInterface(tmp1_subject, BinaryFormat)) {
|
|
430
|
+
tmp_1 = this.k66_1.a66_1.k21(serializer, readByteArray(this.o66_1));
|
|
614
431
|
} else {
|
|
615
|
-
discard(
|
|
616
|
-
var message = 'Unsupported format ' + toString(this.
|
|
432
|
+
discard(this.o66_1);
|
|
433
|
+
var message = 'Unsupported format ' + toString(this.k66_1.a66_1);
|
|
617
434
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
618
435
|
}
|
|
619
436
|
}
|
|
620
437
|
|
|
621
|
-
return
|
|
622
|
-
case
|
|
623
|
-
this.e9_1 =
|
|
624
|
-
var
|
|
625
|
-
if (
|
|
438
|
+
return tmp_1;
|
|
439
|
+
case 6:
|
|
440
|
+
this.e9_1 = 7;
|
|
441
|
+
var tmp_2 = this.g9_1;
|
|
442
|
+
if (tmp_2 instanceof Error) {
|
|
626
443
|
var cause = this.g9_1;
|
|
627
444
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
628
445
|
} else {
|
|
629
446
|
throw this.g9_1;
|
|
630
447
|
}
|
|
631
448
|
|
|
632
|
-
case
|
|
449
|
+
case 7:
|
|
633
450
|
throw this.g9_1;
|
|
634
451
|
}
|
|
635
452
|
} catch ($p) {
|
|
636
453
|
var e = $p;
|
|
637
|
-
if (this.e9_1 ===
|
|
454
|
+
if (this.e9_1 === 7) {
|
|
638
455
|
throw e;
|
|
639
456
|
} else {
|
|
640
457
|
this.d9_1 = this.e9_1;
|
|
@@ -644,32 +461,32 @@
|
|
|
644
461
|
while (true);
|
|
645
462
|
};
|
|
646
463
|
function KotlinxSerializationConverter(format) {
|
|
647
|
-
this.
|
|
648
|
-
this.
|
|
464
|
+
this.a66_1 = format;
|
|
465
|
+
this.b66_1 = extensions(this.a66_1);
|
|
649
466
|
var tmp;
|
|
650
|
-
var tmp_0 = this.
|
|
467
|
+
var tmp_0 = this.a66_1;
|
|
651
468
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
652
469
|
tmp = true;
|
|
653
470
|
} else {
|
|
654
|
-
var tmp_1 = this.
|
|
471
|
+
var tmp_1 = this.a66_1;
|
|
655
472
|
tmp = isInterface(tmp_1, StringFormat);
|
|
656
473
|
}
|
|
657
474
|
// Inline function 'kotlin.require' call
|
|
658
475
|
if (!tmp) {
|
|
659
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
476
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.a66_1) + ' is not supported.';
|
|
660
477
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
661
478
|
}
|
|
662
479
|
}
|
|
663
|
-
protoOf(KotlinxSerializationConverter).
|
|
480
|
+
protoOf(KotlinxSerializationConverter).r66 = function (contentType, charset, typeInfo, value, $completion) {
|
|
664
481
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
665
482
|
tmp.f9_1 = Unit_instance;
|
|
666
483
|
tmp.g9_1 = null;
|
|
667
484
|
return tmp.l9();
|
|
668
485
|
};
|
|
669
|
-
protoOf(KotlinxSerializationConverter).
|
|
670
|
-
return this.
|
|
486
|
+
protoOf(KotlinxSerializationConverter).b5s = function (contentType, charset, typeInfo, value, $completion) {
|
|
487
|
+
return this.r66(contentType, charset, typeInfo, value, $completion);
|
|
671
488
|
};
|
|
672
|
-
protoOf(KotlinxSerializationConverter).
|
|
489
|
+
protoOf(KotlinxSerializationConverter).z3o = function (charset, typeInfo, content, $completion) {
|
|
673
490
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
674
491
|
tmp.f9_1 = Unit_instance;
|
|
675
492
|
tmp.g9_1 = null;
|
|
@@ -677,7 +494,7 @@
|
|
|
677
494
|
};
|
|
678
495
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
679
496
|
var module_0 = _this__u8e3s4;
|
|
680
|
-
var tmp0_safe_receiver = typeInfo.
|
|
497
|
+
var tmp0_safe_receiver = typeInfo.n2u_1;
|
|
681
498
|
var tmp;
|
|
682
499
|
if (tmp0_safe_receiver == null) {
|
|
683
500
|
tmp = null;
|
|
@@ -695,13 +512,13 @@
|
|
|
695
512
|
var tmp1_elvis_lhs = tmp;
|
|
696
513
|
var tmp_1;
|
|
697
514
|
if (tmp1_elvis_lhs == null) {
|
|
698
|
-
var tmp2_safe_receiver = module_0.
|
|
515
|
+
var tmp2_safe_receiver = module_0.p21(typeInfo.m2u_1);
|
|
699
516
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
700
517
|
} else {
|
|
701
518
|
tmp_1 = tmp1_elvis_lhs;
|
|
702
519
|
}
|
|
703
520
|
var tmp3_elvis_lhs = tmp_1;
|
|
704
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
521
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.m2u_1), typeInfo) : tmp3_elvis_lhs;
|
|
705
522
|
}
|
|
706
523
|
function guessSerializer(value, module_0) {
|
|
707
524
|
var tmp;
|
|
@@ -731,7 +548,7 @@
|
|
|
731
548
|
var valueSerializer = elementSerializer(value.c3(), module_0);
|
|
732
549
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
733
550
|
} else {
|
|
734
|
-
var tmp3_elvis_lhs = module_0.
|
|
551
|
+
var tmp3_elvis_lhs = module_0.p21(getKClassFromExpression(value));
|
|
735
552
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
736
553
|
}
|
|
737
554
|
}
|
|
@@ -796,11 +613,11 @@
|
|
|
796
613
|
var _destruct__k2r9zo = tmp_3;
|
|
797
614
|
var s = _destruct__k2r9zo.jg();
|
|
798
615
|
var be = _destruct__k2r9zo.kg();
|
|
799
|
-
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.
|
|
616
|
+
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.m2u_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
|
|
800
617
|
}
|
|
801
618
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
802
619
|
var tmp;
|
|
803
|
-
var tmp0_safe_receiver = typeInfo.
|
|
620
|
+
var tmp0_safe_receiver = typeInfo.n2u_1;
|
|
804
621
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
805
622
|
tmp = get_nullable(_this__u8e3s4);
|
|
806
623
|
} else {
|
|
@@ -825,7 +642,7 @@
|
|
|
825
642
|
var _iterator__ex2g4s_0 = destination.t();
|
|
826
643
|
while (_iterator__ex2g4s_0.u()) {
|
|
827
644
|
var e = _iterator__ex2g4s_0.v();
|
|
828
|
-
var key = e.
|
|
645
|
+
var key = e.e20().f21();
|
|
829
646
|
if (set.j1(key)) {
|
|
830
647
|
list.j1(e);
|
|
831
648
|
}
|
|
@@ -838,7 +655,7 @@
|
|
|
838
655
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
839
656
|
while (_iterator__ex2g4s_1.u()) {
|
|
840
657
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
841
|
-
var tmp$ret$7 = item_0.
|
|
658
|
+
var tmp$ret$7 = item_0.e20().f21();
|
|
842
659
|
destination_0.j1(tmp$ret$7);
|
|
843
660
|
}
|
|
844
661
|
// Inline function 'kotlin.error' call
|
|
@@ -847,7 +664,7 @@
|
|
|
847
664
|
}
|
|
848
665
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
849
666
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
850
|
-
if (selected.
|
|
667
|
+
if (selected.e20().t21()) {
|
|
851
668
|
return selected;
|
|
852
669
|
}
|
|
853
670
|
if (!isInterface(selected, KSerializer))
|