@doordeck/doordeck-headless-sdk 0.193.0 → 0.195.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 +64 -64
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +22 -22
- package/kotlin/doordeck-sdk.js +10911 -10922
- package/kotlin/kotlin-kotlin-stdlib.js +2281 -1824
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-browser.js +10 -0
- package/kotlin/kotlinx-coroutines-core.js +2904 -2424
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +56 -56
- package/kotlin/kotlinx-io-kotlinx-io-core.js +651 -651
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2063 -2073
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1619 -1618
- package/kotlin/ktor-ktor-client-auth.js +421 -412
- package/kotlin/ktor-ktor-client-content-negotiation.js +189 -190
- package/kotlin/ktor-ktor-client-core.js +3050 -2383
- package/kotlin/ktor-ktor-client-logging.js +1055 -1018
- package/kotlin/ktor-ktor-events.js +16 -16
- package/kotlin/ktor-ktor-http-cio.js +446 -451
- package/kotlin/ktor-ktor-http.js +1000 -956
- package/kotlin/ktor-ktor-io.js +1070 -1001
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +175 -174
- package/kotlin/ktor-ktor-serialization.js +78 -80
- package/kotlin/ktor-ktor-utils.js +981 -1041
- package/kotlin/ktor-ktor-websockets.js +2179 -85
- package/package.json +3 -3
|
@@ -1,60 +1,60 @@
|
|
|
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
|
|
9
|
-
var
|
|
10
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.db;
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.l9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.hb;
|
|
11
10
|
var VOID = kotlin_kotlin.$_$.b;
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
14
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
11
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
13
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
14
|
+
var THROW_CCE = kotlin_kotlin.$_$.zf;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.rb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l2;
|
|
19
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
20
|
-
var TextContent = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.a2;
|
|
20
|
+
var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
24
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
22
|
+
var equals = kotlin_kotlin.$_$.ua;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ha;
|
|
24
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.bb;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.cb;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
29
|
-
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
28
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
29
|
+
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
30
30
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q2;
|
|
31
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
32
|
-
var discard = kotlin_io_ktor_ktor_io.$_$.
|
|
31
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.j;
|
|
32
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
|
-
var readText = kotlin_io_ktor_ktor_io.$_$.
|
|
34
|
+
var readText = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
35
35
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
36
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n2;
|
|
37
37
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
38
38
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
39
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
39
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.qc;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
41
|
+
var KtMap = kotlin_kotlin.$_$.m5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
43
|
+
var KtSet = kotlin_kotlin.$_$.s5;
|
|
44
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.y6;
|
|
45
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.l;
|
|
46
46
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
47
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
49
|
-
var KtList = kotlin_kotlin.$_$.
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.jb;
|
|
49
|
+
var KtList = kotlin_kotlin.$_$.j5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
52
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
53
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
54
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
55
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var Collection = kotlin_kotlin.$_$.
|
|
57
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
51
|
+
var filterNotNull = kotlin_kotlin.$_$.w6;
|
|
52
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
|
|
53
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i1;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
55
|
+
var singleOrNull = kotlin_kotlin.$_$.b8;
|
|
56
|
+
var Collection = kotlin_kotlin.$_$.e5;
|
|
57
|
+
var emptyList = kotlin_kotlin.$_$.s6;
|
|
58
58
|
//endregion
|
|
59
59
|
//region block: pre-declaration
|
|
60
60
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.t();
|
|
81
81
|
while (_iterator__ex2g4s.u()) {
|
|
82
82
|
var element = _iterator__ex2g4s.v();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.w5z(format);
|
|
84
84
|
if (tmp0_safe_receiver == null)
|
|
85
85
|
null;
|
|
86
86
|
else {
|
|
@@ -91,24 +91,24 @@
|
|
|
91
91
|
return destination;
|
|
92
92
|
}
|
|
93
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
94
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.e3l(contentType, new KotlinxSerializationConverter(format));
|
|
95
95
|
}
|
|
96
96
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
97
|
+
this.f60_1 = $$this$unsafeFlow;
|
|
98
|
+
this.g60_1 = $contentType;
|
|
99
|
+
this.h60_1 = $charset;
|
|
100
|
+
this.i60_1 = $typeInfo;
|
|
101
|
+
this.j60_1 = $value;
|
|
102
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
103
|
}
|
|
104
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
105
|
-
var tmp = this.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u3l = function (value, $completion) {
|
|
105
|
+
var tmp = this.v3l(value, $completion);
|
|
106
106
|
tmp.c9_1 = Unit_instance;
|
|
107
107
|
tmp.d9_1 = null;
|
|
108
108
|
return tmp.i9();
|
|
109
109
|
};
|
|
110
110
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u9 = function (p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.u3l(p1, $completion);
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i9 = function () {
|
|
114
114
|
var suspendResult = this.c9_1;
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
switch (tmp) {
|
|
119
119
|
case 0:
|
|
120
120
|
this.b9_1 = 3;
|
|
121
|
-
var tmp0 = this.
|
|
122
|
-
var tmp2 = this.
|
|
123
|
-
this.
|
|
121
|
+
var tmp0 = this.f60_1;
|
|
122
|
+
var tmp2 = this.k60_1;
|
|
123
|
+
this.l60_1 = tmp0;
|
|
124
124
|
this.a9_1 = 1;
|
|
125
|
-
suspendResult = tmp2.
|
|
125
|
+
suspendResult = tmp2.r5o(this.g60_1, this.h60_1, this.i60_1, this.j60_1, this);
|
|
126
126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
127
127
|
return suspendResult;
|
|
128
128
|
}
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
case 1:
|
|
132
132
|
var ARGUMENT = suspendResult;
|
|
133
133
|
this.a9_1 = 2;
|
|
134
|
-
suspendResult = this.
|
|
134
|
+
suspendResult = this.l60_1.x1d(ARGUMENT, this);
|
|
135
135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
136
|
return suspendResult;
|
|
137
137
|
}
|
|
@@ -153,23 +153,23 @@
|
|
|
153
153
|
}
|
|
154
154
|
while (true);
|
|
155
155
|
};
|
|
156
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
157
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
158
|
-
i.
|
|
156
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).v3l = function (value, completion) {
|
|
157
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.f60_1, this.g60_1, this.h60_1, this.i60_1, this.j60_1, completion);
|
|
158
|
+
i.k60_1 = value;
|
|
159
159
|
return i;
|
|
160
160
|
};
|
|
161
161
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
162
162
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
163
163
|
var l = function (value, $completion) {
|
|
164
|
-
return i.
|
|
164
|
+
return i.u3l(value, $completion);
|
|
165
165
|
};
|
|
166
166
|
l.$arity = 1;
|
|
167
167
|
return l;
|
|
168
168
|
}
|
|
169
169
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
170
170
|
CoroutineImpl.call(this, resultContinuation);
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
171
|
+
this.u60_1 = _this__u8e3s4;
|
|
172
|
+
this.v60_1 = collector;
|
|
173
173
|
}
|
|
174
174
|
protoOf($collectCOROUTINE$).i9 = function () {
|
|
175
175
|
var suspendResult = this.c9_1;
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
switch (tmp) {
|
|
180
180
|
case 0:
|
|
181
181
|
this.b9_1 = 2;
|
|
182
|
-
var $this$unsafeFlow = this.
|
|
182
|
+
var $this$unsafeFlow = this.v60_1;
|
|
183
183
|
this.a9_1 = 1;
|
|
184
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
185
|
-
suspendResult = this.
|
|
184
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.u60_1.x60_1, this.u60_1.y60_1, this.u60_1.z60_1, this.u60_1.a61_1, null);
|
|
185
|
+
suspendResult = this.u60_1.w60_1.z1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
186
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
187
|
return suspendResult;
|
|
188
188
|
}
|
|
@@ -205,20 +205,20 @@
|
|
|
205
205
|
while (true);
|
|
206
206
|
};
|
|
207
207
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
208
|
+
this.j61_1 = $$this$unsafeFlow;
|
|
209
|
+
this.k61_1 = $charset;
|
|
210
|
+
this.l61_1 = $typeInfo;
|
|
211
|
+
this.m61_1 = $content;
|
|
212
212
|
CoroutineImpl.call(this, resultContinuation);
|
|
213
213
|
}
|
|
214
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
215
|
-
var tmp = this.
|
|
214
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u3l = function (value, $completion) {
|
|
215
|
+
var tmp = this.v3l(value, $completion);
|
|
216
216
|
tmp.c9_1 = Unit_instance;
|
|
217
217
|
tmp.d9_1 = null;
|
|
218
218
|
return tmp.i9();
|
|
219
219
|
};
|
|
220
220
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u9 = function (p1, $completion) {
|
|
221
|
-
return this.
|
|
221
|
+
return this.u3l(p1, $completion);
|
|
222
222
|
};
|
|
223
223
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i9 = function () {
|
|
224
224
|
var suspendResult = this.c9_1;
|
|
@@ -228,11 +228,11 @@
|
|
|
228
228
|
switch (tmp) {
|
|
229
229
|
case 0:
|
|
230
230
|
this.b9_1 = 3;
|
|
231
|
-
var tmp0 = this.
|
|
232
|
-
var tmp2 = this.
|
|
233
|
-
this.
|
|
231
|
+
var tmp0 = this.j61_1;
|
|
232
|
+
var tmp2 = this.n61_1;
|
|
233
|
+
this.o61_1 = tmp0;
|
|
234
234
|
this.a9_1 = 1;
|
|
235
|
-
suspendResult = tmp2.
|
|
235
|
+
suspendResult = tmp2.w3l(this.k61_1, this.l61_1, this.m61_1, this);
|
|
236
236
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
237
237
|
return suspendResult;
|
|
238
238
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
case 1:
|
|
242
242
|
var ARGUMENT = suspendResult;
|
|
243
243
|
this.a9_1 = 2;
|
|
244
|
-
suspendResult = this.
|
|
244
|
+
suspendResult = this.o61_1.x1d(ARGUMENT, this);
|
|
245
245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
246
|
return suspendResult;
|
|
247
247
|
}
|
|
@@ -263,23 +263,23 @@
|
|
|
263
263
|
}
|
|
264
264
|
while (true);
|
|
265
265
|
};
|
|
266
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
267
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
268
|
-
i.
|
|
266
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v3l = function (value, completion) {
|
|
267
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.j61_1, this.k61_1, this.l61_1, this.m61_1, completion);
|
|
268
|
+
i.n61_1 = value;
|
|
269
269
|
return i;
|
|
270
270
|
};
|
|
271
271
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
272
272
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
273
273
|
var l = function (value, $completion) {
|
|
274
|
-
return i.
|
|
274
|
+
return i.u3l(value, $completion);
|
|
275
275
|
};
|
|
276
276
|
l.$arity = 1;
|
|
277
277
|
return l;
|
|
278
278
|
}
|
|
279
279
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
280
280
|
CoroutineImpl.call(this, resultContinuation);
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
281
|
+
this.x61_1 = _this__u8e3s4;
|
|
282
|
+
this.y61_1 = collector;
|
|
283
283
|
}
|
|
284
284
|
protoOf($collectCOROUTINE$_0).i9 = function () {
|
|
285
285
|
var suspendResult = this.c9_1;
|
|
@@ -289,10 +289,10 @@
|
|
|
289
289
|
switch (tmp) {
|
|
290
290
|
case 0:
|
|
291
291
|
this.b9_1 = 2;
|
|
292
|
-
var $this$unsafeFlow = this.
|
|
292
|
+
var $this$unsafeFlow = this.y61_1;
|
|
293
293
|
this.a9_1 = 1;
|
|
294
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
295
|
-
suspendResult = this.
|
|
294
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.x61_1.a62_1, this.x61_1.b62_1, this.x61_1.c62_1, null);
|
|
295
|
+
suspendResult = this.x61_1.z61_1.z1d(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
296
296
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
297
297
|
return suspendResult;
|
|
298
298
|
}
|
|
@@ -317,13 +317,14 @@
|
|
|
317
317
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
318
318
|
var tmp;
|
|
319
319
|
if (isInterface(format, StringFormat)) {
|
|
320
|
-
var content = format.
|
|
320
|
+
var content = format.d20(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
321
321
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
322
322
|
} else {
|
|
323
323
|
if (isInterface(format, BinaryFormat)) {
|
|
324
|
-
var content_0 = format.
|
|
324
|
+
var content_0 = format.f20(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
325
325
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
326
326
|
} else {
|
|
327
|
+
// Inline function 'kotlin.error' call
|
|
327
328
|
var message = 'Unsupported format ' + toString(format);
|
|
328
329
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
329
330
|
}
|
|
@@ -331,13 +332,13 @@
|
|
|
331
332
|
return tmp;
|
|
332
333
|
}
|
|
333
334
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
334
|
-
this.
|
|
335
|
+
this.d62_1 = function_0;
|
|
335
336
|
}
|
|
336
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
337
|
-
return this.
|
|
337
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).x1d = function (value, $completion) {
|
|
338
|
+
return this.d62_1(value, $completion);
|
|
338
339
|
};
|
|
339
340
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
340
|
-
return this.
|
|
341
|
+
return this.d62_1;
|
|
341
342
|
};
|
|
342
343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
343
344
|
var tmp;
|
|
@@ -358,13 +359,13 @@
|
|
|
358
359
|
return hashCode(this.q3());
|
|
359
360
|
};
|
|
360
361
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
361
|
-
this.
|
|
362
|
+
this.e62_1 = function_0;
|
|
362
363
|
}
|
|
363
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
364
|
-
return this.
|
|
364
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).x1d = function (value, $completion) {
|
|
365
|
+
return this.e62_1(value, $completion);
|
|
365
366
|
};
|
|
366
367
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
367
|
-
return this.
|
|
368
|
+
return this.e62_1;
|
|
368
369
|
};
|
|
369
370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
370
371
|
var tmp;
|
|
@@ -385,32 +386,32 @@
|
|
|
385
386
|
return hashCode(this.q3());
|
|
386
387
|
};
|
|
387
388
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
389
|
+
this.w60_1 = $this;
|
|
390
|
+
this.x60_1 = $contentType;
|
|
391
|
+
this.y60_1 = $charset;
|
|
392
|
+
this.z60_1 = $typeInfo;
|
|
393
|
+
this.a61_1 = $value;
|
|
393
394
|
}
|
|
394
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
395
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).y1d = function (collector, $completion) {
|
|
395
396
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
396
397
|
tmp.c9_1 = Unit_instance;
|
|
397
398
|
tmp.d9_1 = null;
|
|
398
399
|
return tmp.i9();
|
|
399
400
|
};
|
|
400
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
401
|
-
return this.
|
|
401
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).z1d = function (collector, $completion) {
|
|
402
|
+
return this.y1d(collector, $completion);
|
|
402
403
|
};
|
|
403
404
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
404
405
|
CoroutineImpl.call(this, resultContinuation);
|
|
405
406
|
}
|
|
406
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
407
|
-
var tmp = this.
|
|
407
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).o62 = function (it, $completion) {
|
|
408
|
+
var tmp = this.p62(it, $completion);
|
|
408
409
|
tmp.c9_1 = Unit_instance;
|
|
409
410
|
tmp.d9_1 = null;
|
|
410
411
|
return tmp.i9();
|
|
411
412
|
};
|
|
412
413
|
protoOf(KotlinxSerializationConverter$serialize$slambda).u9 = function (p1, $completion) {
|
|
413
|
-
return this.
|
|
414
|
+
return this.o62((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
414
415
|
};
|
|
415
416
|
protoOf(KotlinxSerializationConverter$serialize$slambda).i9 = function () {
|
|
416
417
|
var suspendResult = this.c9_1;
|
|
@@ -419,7 +420,7 @@
|
|
|
419
420
|
var tmp = this.a9_1;
|
|
420
421
|
if (tmp === 0) {
|
|
421
422
|
this.b9_1 = 1;
|
|
422
|
-
return !(this.
|
|
423
|
+
return !(this.n62_1 == null);
|
|
423
424
|
} else if (tmp === 1) {
|
|
424
425
|
throw this.d9_1;
|
|
425
426
|
}
|
|
@@ -429,46 +430,46 @@
|
|
|
429
430
|
}
|
|
430
431
|
while (true);
|
|
431
432
|
};
|
|
432
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
433
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).p62 = function (it, completion) {
|
|
433
434
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
434
|
-
i.
|
|
435
|
+
i.n62_1 = it;
|
|
435
436
|
return i;
|
|
436
437
|
};
|
|
437
438
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
438
439
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
439
440
|
var l = function (it, $completion) {
|
|
440
|
-
return i.
|
|
441
|
+
return i.o62(it, $completion);
|
|
441
442
|
};
|
|
442
443
|
l.$arity = 1;
|
|
443
444
|
return l;
|
|
444
445
|
}
|
|
445
446
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
447
|
+
this.z61_1 = $this;
|
|
448
|
+
this.a62_1 = $charset;
|
|
449
|
+
this.b62_1 = $typeInfo;
|
|
450
|
+
this.c62_1 = $content;
|
|
450
451
|
}
|
|
451
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
452
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).y1d = function (collector, $completion) {
|
|
452
453
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
453
454
|
tmp.c9_1 = Unit_instance;
|
|
454
455
|
tmp.d9_1 = null;
|
|
455
456
|
return tmp.i9();
|
|
456
457
|
};
|
|
457
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
458
|
-
return this.
|
|
458
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).z1d = function (collector, $completion) {
|
|
459
|
+
return this.y1d(collector, $completion);
|
|
459
460
|
};
|
|
460
461
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
461
|
-
this.
|
|
462
|
+
this.y62_1 = $content;
|
|
462
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
463
464
|
}
|
|
464
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
465
|
-
var tmp = this.
|
|
465
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).v3m = function (it, $completion) {
|
|
466
|
+
var tmp = this.v3l(it, $completion);
|
|
466
467
|
tmp.c9_1 = Unit_instance;
|
|
467
468
|
tmp.d9_1 = null;
|
|
468
469
|
return tmp.i9();
|
|
469
470
|
};
|
|
470
471
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).u9 = function (p1, $completion) {
|
|
471
|
-
return this.
|
|
472
|
+
return this.v3m(p1, $completion);
|
|
472
473
|
};
|
|
473
474
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).i9 = function () {
|
|
474
475
|
var suspendResult = this.c9_1;
|
|
@@ -477,7 +478,7 @@
|
|
|
477
478
|
var tmp = this.a9_1;
|
|
478
479
|
if (tmp === 0) {
|
|
479
480
|
this.b9_1 = 1;
|
|
480
|
-
return !(this.
|
|
481
|
+
return !(this.z62_1 == null) || this.y62_1.a1o();
|
|
481
482
|
} else if (tmp === 1) {
|
|
482
483
|
throw this.d9_1;
|
|
483
484
|
}
|
|
@@ -487,26 +488,26 @@
|
|
|
487
488
|
}
|
|
488
489
|
while (true);
|
|
489
490
|
};
|
|
490
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
491
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
492
|
-
i.
|
|
491
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).v3l = function (it, completion) {
|
|
492
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.y62_1, completion);
|
|
493
|
+
i.z62_1 = it;
|
|
493
494
|
return i;
|
|
494
495
|
};
|
|
495
496
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
496
497
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
497
498
|
var l = function (it, $completion) {
|
|
498
|
-
return i.
|
|
499
|
+
return i.v3m(it, $completion);
|
|
499
500
|
};
|
|
500
501
|
l.$arity = 1;
|
|
501
502
|
return l;
|
|
502
503
|
}
|
|
503
504
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
504
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
|
-
this.
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
506
|
+
this.i63_1 = _this__u8e3s4;
|
|
507
|
+
this.j63_1 = contentType;
|
|
508
|
+
this.k63_1 = charset;
|
|
509
|
+
this.l63_1 = typeInfo;
|
|
510
|
+
this.m63_1 = value;
|
|
510
511
|
}
|
|
511
512
|
protoOf($serializeCOROUTINE$).i9 = function () {
|
|
512
513
|
var suspendResult = this.c9_1;
|
|
@@ -517,8 +518,8 @@
|
|
|
517
518
|
case 0:
|
|
518
519
|
this.b9_1 = 2;
|
|
519
520
|
this.a9_1 = 1;
|
|
520
|
-
var this_0 = asFlow(this.
|
|
521
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
521
|
+
var this_0 = asFlow(this.i63_1.o63_1);
|
|
522
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.j63_1, this.k63_1, this.l63_1, this.m63_1);
|
|
522
523
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
523
524
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
524
525
|
return suspendResult;
|
|
@@ -531,12 +532,12 @@
|
|
|
531
532
|
return fromExtension;
|
|
532
533
|
var tmp_1;
|
|
533
534
|
try {
|
|
534
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
535
|
+
tmp_1 = serializerForTypeInfo(this.i63_1.n63_1.c23(), this.l63_1);
|
|
535
536
|
} catch ($p) {
|
|
536
537
|
var tmp_2;
|
|
537
538
|
if ($p instanceof SerializationException) {
|
|
538
539
|
var cause = $p;
|
|
539
|
-
tmp_2 = guessSerializer(this.
|
|
540
|
+
tmp_2 = guessSerializer(this.m63_1, this.i63_1.n63_1.c23());
|
|
540
541
|
} else {
|
|
541
542
|
throw $p;
|
|
542
543
|
}
|
|
@@ -544,7 +545,7 @@
|
|
|
544
545
|
}
|
|
545
546
|
|
|
546
547
|
var serializer = tmp_1;
|
|
547
|
-
return serializeContent(this.
|
|
548
|
+
return serializeContent(this.i63_1, serializer, this.i63_1.n63_1, this.m63_1, this.j63_1, this.k63_1);
|
|
548
549
|
case 2:
|
|
549
550
|
throw this.d9_1;
|
|
550
551
|
}
|
|
@@ -561,10 +562,10 @@
|
|
|
561
562
|
};
|
|
562
563
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
563
564
|
CoroutineImpl.call(this, resultContinuation);
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
565
|
+
this.x63_1 = _this__u8e3s4;
|
|
566
|
+
this.y63_1 = charset;
|
|
567
|
+
this.z63_1 = typeInfo;
|
|
568
|
+
this.a64_1 = content;
|
|
568
569
|
}
|
|
569
570
|
protoOf($deserializeCOROUTINE$).i9 = function () {
|
|
570
571
|
var suspendResult = this.c9_1;
|
|
@@ -575,9 +576,9 @@
|
|
|
575
576
|
case 0:
|
|
576
577
|
this.b9_1 = 4;
|
|
577
578
|
this.a9_1 = 1;
|
|
578
|
-
var this_0 = asFlow(this.
|
|
579
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
580
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
579
|
+
var this_0 = asFlow(this.x63_1.o63_1);
|
|
580
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.y63_1, this.z63_1, this.a64_1);
|
|
581
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.a64_1, null), this);
|
|
581
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
582
583
|
return suspendResult;
|
|
583
584
|
}
|
|
@@ -586,17 +587,17 @@
|
|
|
586
587
|
case 1:
|
|
587
588
|
var fromExtension = suspendResult;
|
|
588
589
|
var tmp_1;
|
|
589
|
-
if (!this.
|
|
590
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
590
|
+
if (!this.x63_1.o63_1.r()) {
|
|
591
|
+
tmp_1 = !(fromExtension == null) || this.a64_1.a1o();
|
|
591
592
|
} else {
|
|
592
593
|
tmp_1 = false;
|
|
593
594
|
}
|
|
594
595
|
|
|
595
596
|
if (tmp_1)
|
|
596
597
|
return fromExtension;
|
|
597
|
-
this.
|
|
598
|
+
this.b64_1 = serializerForTypeInfo(this.x63_1.n63_1.c23(), this.z63_1);
|
|
598
599
|
this.a9_1 = 2;
|
|
599
|
-
suspendResult = readRemaining(this.
|
|
600
|
+
suspendResult = readRemaining(this.a64_1, this);
|
|
600
601
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
601
602
|
return suspendResult;
|
|
602
603
|
}
|
|
@@ -605,16 +606,16 @@
|
|
|
605
606
|
case 2:
|
|
606
607
|
var contentPacket = suspendResult;
|
|
607
608
|
this.b9_1 = 3;
|
|
608
|
-
var tmp0_subject = this.
|
|
609
|
+
var tmp0_subject = this.x63_1.n63_1;
|
|
609
610
|
var tmp_2;
|
|
610
611
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
611
|
-
tmp_2 = this.
|
|
612
|
+
tmp_2 = this.x63_1.n63_1.e20(this.b64_1, readText(contentPacket, this.y63_1));
|
|
612
613
|
} else {
|
|
613
614
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
614
|
-
tmp_2 = this.
|
|
615
|
+
tmp_2 = this.x63_1.n63_1.g20(this.b64_1, readByteArray(contentPacket));
|
|
615
616
|
} else {
|
|
616
617
|
discard(contentPacket);
|
|
617
|
-
var message = 'Unsupported format ' + toString(this.
|
|
618
|
+
var message = 'Unsupported format ' + toString(this.x63_1.n63_1);
|
|
618
619
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
619
620
|
}
|
|
620
621
|
}
|
|
@@ -645,32 +646,32 @@
|
|
|
645
646
|
while (true);
|
|
646
647
|
};
|
|
647
648
|
function KotlinxSerializationConverter(format) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
649
|
+
this.n63_1 = format;
|
|
650
|
+
this.o63_1 = extensions(this.n63_1);
|
|
650
651
|
var tmp;
|
|
651
|
-
var tmp_0 = this.
|
|
652
|
+
var tmp_0 = this.n63_1;
|
|
652
653
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
653
654
|
tmp = true;
|
|
654
655
|
} else {
|
|
655
|
-
var tmp_1 = this.
|
|
656
|
+
var tmp_1 = this.n63_1;
|
|
656
657
|
tmp = isInterface(tmp_1, StringFormat);
|
|
657
658
|
}
|
|
658
659
|
// Inline function 'kotlin.require' call
|
|
659
660
|
if (!tmp) {
|
|
660
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
661
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.n63_1) + ' is not supported.';
|
|
661
662
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
662
663
|
}
|
|
663
664
|
}
|
|
664
|
-
protoOf(KotlinxSerializationConverter).
|
|
665
|
+
protoOf(KotlinxSerializationConverter).c64 = function (contentType, charset, typeInfo, value, $completion) {
|
|
665
666
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
666
667
|
tmp.c9_1 = Unit_instance;
|
|
667
668
|
tmp.d9_1 = null;
|
|
668
669
|
return tmp.i9();
|
|
669
670
|
};
|
|
670
|
-
protoOf(KotlinxSerializationConverter).
|
|
671
|
-
return this.
|
|
671
|
+
protoOf(KotlinxSerializationConverter).r5o = function (contentType, charset, typeInfo, value, $completion) {
|
|
672
|
+
return this.c64(contentType, charset, typeInfo, value, $completion);
|
|
672
673
|
};
|
|
673
|
-
protoOf(KotlinxSerializationConverter).
|
|
674
|
+
protoOf(KotlinxSerializationConverter).w3l = function (charset, typeInfo, content, $completion) {
|
|
674
675
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
675
676
|
tmp.c9_1 = Unit_instance;
|
|
676
677
|
tmp.d9_1 = null;
|
|
@@ -678,7 +679,7 @@
|
|
|
678
679
|
};
|
|
679
680
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
680
681
|
var module_0 = _this__u8e3s4;
|
|
681
|
-
var tmp0_safe_receiver = typeInfo.
|
|
682
|
+
var tmp0_safe_receiver = typeInfo.x2r_1;
|
|
682
683
|
var tmp;
|
|
683
684
|
if (tmp0_safe_receiver == null) {
|
|
684
685
|
tmp = null;
|
|
@@ -695,13 +696,13 @@
|
|
|
695
696
|
var tmp1_elvis_lhs = tmp;
|
|
696
697
|
var tmp_1;
|
|
697
698
|
if (tmp1_elvis_lhs == null) {
|
|
698
|
-
var tmp2_safe_receiver = module_0.
|
|
699
|
+
var tmp2_safe_receiver = module_0.j20(typeInfo.w2r_1);
|
|
699
700
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
700
701
|
} else {
|
|
701
702
|
tmp_1 = tmp1_elvis_lhs;
|
|
702
703
|
}
|
|
703
704
|
var tmp3_elvis_lhs = tmp_1;
|
|
704
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
705
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.w2r_1), typeInfo) : tmp3_elvis_lhs;
|
|
705
706
|
}
|
|
706
707
|
function guessSerializer(value, module_0) {
|
|
707
708
|
var tmp;
|
|
@@ -731,7 +732,7 @@
|
|
|
731
732
|
var valueSerializer = elementSerializer(value.c3(), module_0);
|
|
732
733
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
733
734
|
} else {
|
|
734
|
-
var tmp3_elvis_lhs = module_0.
|
|
735
|
+
var tmp3_elvis_lhs = module_0.j20(getKClassFromExpression(value));
|
|
735
736
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
736
737
|
}
|
|
737
738
|
}
|
|
@@ -743,7 +744,7 @@
|
|
|
743
744
|
}
|
|
744
745
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
745
746
|
var tmp;
|
|
746
|
-
var tmp0_safe_receiver = typeInfo.
|
|
747
|
+
var tmp0_safe_receiver = typeInfo.x2r_1;
|
|
747
748
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
748
749
|
tmp = get_nullable(_this__u8e3s4);
|
|
749
750
|
} else {
|
|
@@ -759,8 +760,8 @@
|
|
|
759
760
|
var _iterator__ex2g4s = this_0.t();
|
|
760
761
|
while (_iterator__ex2g4s.u()) {
|
|
761
762
|
var item = _iterator__ex2g4s.v();
|
|
762
|
-
var tmp$ret$
|
|
763
|
-
destination.j1(tmp$ret$
|
|
763
|
+
var tmp$ret$2 = guessSerializer(item, module_0);
|
|
764
|
+
destination.j1(tmp$ret$2);
|
|
764
765
|
}
|
|
765
766
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
766
767
|
var set = HashSet_init_$Create$();
|
|
@@ -768,7 +769,7 @@
|
|
|
768
769
|
var _iterator__ex2g4s_0 = destination.t();
|
|
769
770
|
while (_iterator__ex2g4s_0.u()) {
|
|
770
771
|
var e = _iterator__ex2g4s_0.v();
|
|
771
|
-
var key = e.
|
|
772
|
+
var key = e.a1z().b20();
|
|
772
773
|
if (set.j1(key)) {
|
|
773
774
|
list.j1(e);
|
|
774
775
|
}
|
|
@@ -781,8 +782,8 @@
|
|
|
781
782
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
782
783
|
while (_iterator__ex2g4s_1.u()) {
|
|
783
784
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
784
|
-
var tmp$ret$
|
|
785
|
-
destination_0.j1(tmp$ret$
|
|
785
|
+
var tmp$ret$7 = item_0.a1z().b20();
|
|
786
|
+
destination_0.j1(tmp$ret$7);
|
|
786
787
|
}
|
|
787
788
|
// Inline function 'kotlin.error' call
|
|
788
789
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -790,12 +791,12 @@
|
|
|
790
791
|
}
|
|
791
792
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
792
793
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
793
|
-
if (selected.
|
|
794
|
+
if (selected.a1z().n20()) {
|
|
794
795
|
return selected;
|
|
795
796
|
}
|
|
796
797
|
if (!isInterface(selected, KSerializer))
|
|
797
798
|
THROW_CCE();
|
|
798
|
-
var tmp$ret$
|
|
799
|
+
var tmp$ret$9;
|
|
799
800
|
$l$block_0: {
|
|
800
801
|
// Inline function 'kotlin.collections.any' call
|
|
801
802
|
var tmp;
|
|
@@ -805,20 +806,20 @@
|
|
|
805
806
|
tmp = false;
|
|
806
807
|
}
|
|
807
808
|
if (tmp) {
|
|
808
|
-
tmp$ret$
|
|
809
|
+
tmp$ret$9 = false;
|
|
809
810
|
break $l$block_0;
|
|
810
811
|
}
|
|
811
812
|
var _iterator__ex2g4s_2 = _this__u8e3s4.t();
|
|
812
813
|
while (_iterator__ex2g4s_2.u()) {
|
|
813
814
|
var element = _iterator__ex2g4s_2.v();
|
|
814
815
|
if (element == null) {
|
|
815
|
-
tmp$ret$
|
|
816
|
+
tmp$ret$9 = true;
|
|
816
817
|
break $l$block_0;
|
|
817
818
|
}
|
|
818
819
|
}
|
|
819
|
-
tmp$ret$
|
|
820
|
+
tmp$ret$9 = false;
|
|
820
821
|
}
|
|
821
|
-
if (tmp$ret$
|
|
822
|
+
if (tmp$ret$9) {
|
|
822
823
|
return get_nullable(selected);
|
|
823
824
|
}
|
|
824
825
|
return selected;
|