@doordeck/doordeck-headless-sdk 0.200.0 → 0.202.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 +58 -58
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +26 -0
- package/kotlin/doordeck-sdk.js +13201 -12566
- package/kotlin/kotlin-kotlin-stdlib.js +2784 -2211
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-coroutines-core.js +2831 -2753
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +50 -50
- package/kotlin/kotlinx-io-kotlinx-io-core.js +487 -487
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1918 -1918
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1540 -1540
- package/kotlin/ktor-ktor-client-auth.js +461 -461
- package/kotlin/ktor-ktor-client-content-negotiation.js +217 -217
- package/kotlin/ktor-ktor-client-core.js +3364 -3349
- package/kotlin/ktor-ktor-client-logging.js +1128 -1128
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +548 -548
- package/kotlin/ktor-ktor-http.js +834 -832
- package/kotlin/ktor-ktor-io.js +1373 -1181
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +327 -254
- package/kotlin/ktor-ktor-serialization.js +119 -119
- package/kotlin/ktor-ktor-utils.js +1169 -1134
- package/kotlin/ktor-ktor-websockets.js +790 -792
- package/package.json +1 -1
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.a1;
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.s9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.gc;
|
|
8
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ob;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.c;
|
|
11
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
14
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
11
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.lb;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.jc;
|
|
13
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t2;
|
|
14
|
+
var THROW_CCE = kotlin_kotlin.$_$.hg;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.yb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
19
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.a2;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
22
|
+
var equals = kotlin_kotlin.$_$.bb;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.oa;
|
|
24
24
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.ib;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.jb;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
28
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
@@ -33,28 +33,33 @@
|
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
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.$_$.p2;
|
|
37
37
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
38
38
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
39
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
39
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.xc;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
41
|
+
var KtMap = kotlin_kotlin.$_$.q5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
43
|
+
var KtSet = kotlin_kotlin.$_$.w5;
|
|
44
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.d7;
|
|
45
45
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.m;
|
|
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.$_$.qb;
|
|
49
|
+
var KtList = kotlin_kotlin.$_$.n5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var Exception = kotlin_kotlin.$_$.ag;
|
|
52
|
+
var joinToString = kotlin_kotlin.$_$.m7;
|
|
53
|
+
var to = kotlin_kotlin.$_$.lh;
|
|
54
|
+
var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
55
|
+
var filterNotNull = kotlin_kotlin.$_$.b7;
|
|
56
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
|
|
53
57
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j1;
|
|
54
58
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
55
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var Collection = kotlin_kotlin.$_$.
|
|
57
|
-
var
|
|
59
|
+
var singleOrNull = kotlin_kotlin.$_$.g8;
|
|
60
|
+
var Collection = kotlin_kotlin.$_$.i5;
|
|
61
|
+
var KClass = kotlin_kotlin.$_$.ad;
|
|
62
|
+
var emptyList = kotlin_kotlin.$_$.w6;
|
|
58
63
|
//endregion
|
|
59
64
|
//region block: pre-declaration
|
|
60
65
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -80,7 +85,7 @@
|
|
|
80
85
|
var _iterator__ex2g4s = tmp0.t();
|
|
81
86
|
while (_iterator__ex2g4s.u()) {
|
|
82
87
|
var element = _iterator__ex2g4s.v();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
88
|
+
var tmp0_safe_receiver = element.w62(format);
|
|
84
89
|
if (tmp0_safe_receiver == null)
|
|
85
90
|
null;
|
|
86
91
|
else {
|
|
@@ -91,38 +96,38 @@
|
|
|
91
96
|
return destination;
|
|
92
97
|
}
|
|
93
98
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
94
|
-
_this__u8e3s4.
|
|
99
|
+
_this__u8e3s4.k3n(contentType, new KotlinxSerializationConverter(format));
|
|
95
100
|
}
|
|
96
101
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
+
this.f63_1 = $$this$unsafeFlow;
|
|
103
|
+
this.g63_1 = $contentType;
|
|
104
|
+
this.h63_1 = $charset;
|
|
105
|
+
this.i63_1 = $typeInfo;
|
|
106
|
+
this.j63_1 = $value;
|
|
102
107
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
108
|
}
|
|
104
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
105
|
-
var tmp = this.
|
|
106
|
-
tmp.
|
|
107
|
-
tmp.
|
|
108
|
-
return tmp.
|
|
109
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).a3o = function (value, $completion) {
|
|
110
|
+
var tmp = this.b3o(value, $completion);
|
|
111
|
+
tmp.f9_1 = Unit_instance;
|
|
112
|
+
tmp.g9_1 = null;
|
|
113
|
+
return tmp.l9();
|
|
109
114
|
};
|
|
110
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
111
|
-
return this.
|
|
115
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
116
|
+
return this.a3o(p1, $completion);
|
|
112
117
|
};
|
|
113
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
114
|
-
var suspendResult = this.
|
|
118
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
119
|
+
var suspendResult = this.f9_1;
|
|
115
120
|
$sm: do
|
|
116
121
|
try {
|
|
117
|
-
var tmp = this.
|
|
122
|
+
var tmp = this.d9_1;
|
|
118
123
|
switch (tmp) {
|
|
119
124
|
case 0:
|
|
120
|
-
this.
|
|
121
|
-
var tmp0 = this.
|
|
122
|
-
var tmp2 = this.
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
suspendResult = tmp2.
|
|
125
|
+
this.e9_1 = 3;
|
|
126
|
+
var tmp0 = this.f63_1;
|
|
127
|
+
var tmp2 = this.k63_1;
|
|
128
|
+
this.l63_1 = tmp0;
|
|
129
|
+
this.d9_1 = 1;
|
|
130
|
+
suspendResult = tmp2.b5r(this.g63_1, this.h63_1, this.i63_1, this.j63_1, this);
|
|
126
131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
127
132
|
return suspendResult;
|
|
128
133
|
}
|
|
@@ -130,8 +135,8 @@
|
|
|
130
135
|
continue $sm;
|
|
131
136
|
case 1:
|
|
132
137
|
var ARGUMENT = suspendResult;
|
|
133
|
-
this.
|
|
134
|
-
suspendResult = this.
|
|
138
|
+
this.d9_1 = 2;
|
|
139
|
+
suspendResult = this.l63_1.u1e(ARGUMENT, this);
|
|
135
140
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
141
|
return suspendResult;
|
|
137
142
|
}
|
|
@@ -140,49 +145,49 @@
|
|
|
140
145
|
case 2:
|
|
141
146
|
return Unit_instance;
|
|
142
147
|
case 3:
|
|
143
|
-
throw this.
|
|
148
|
+
throw this.g9_1;
|
|
144
149
|
}
|
|
145
150
|
} catch ($p) {
|
|
146
151
|
var e = $p;
|
|
147
|
-
if (this.
|
|
152
|
+
if (this.e9_1 === 3) {
|
|
148
153
|
throw e;
|
|
149
154
|
} else {
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
155
|
+
this.d9_1 = this.e9_1;
|
|
156
|
+
this.g9_1 = e;
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
159
|
while (true);
|
|
155
160
|
};
|
|
156
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
157
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
158
|
-
i.
|
|
161
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).b3o = function (value, completion) {
|
|
162
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.f63_1, this.g63_1, this.h63_1, this.i63_1, this.j63_1, completion);
|
|
163
|
+
i.k63_1 = value;
|
|
159
164
|
return i;
|
|
160
165
|
};
|
|
161
166
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
162
167
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
163
168
|
var l = function (value, $completion) {
|
|
164
|
-
return i.
|
|
169
|
+
return i.a3o(value, $completion);
|
|
165
170
|
};
|
|
166
171
|
l.$arity = 1;
|
|
167
172
|
return l;
|
|
168
173
|
}
|
|
169
174
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
170
175
|
CoroutineImpl.call(this, resultContinuation);
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
176
|
+
this.u63_1 = _this__u8e3s4;
|
|
177
|
+
this.v63_1 = collector;
|
|
173
178
|
}
|
|
174
|
-
protoOf($collectCOROUTINE$).
|
|
175
|
-
var suspendResult = this.
|
|
179
|
+
protoOf($collectCOROUTINE$).l9 = function () {
|
|
180
|
+
var suspendResult = this.f9_1;
|
|
176
181
|
$sm: do
|
|
177
182
|
try {
|
|
178
|
-
var tmp = this.
|
|
183
|
+
var tmp = this.d9_1;
|
|
179
184
|
switch (tmp) {
|
|
180
185
|
case 0:
|
|
181
|
-
this.
|
|
182
|
-
var $this$unsafeFlow = this.
|
|
183
|
-
this.
|
|
184
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
185
|
-
suspendResult = this.
|
|
186
|
+
this.e9_1 = 2;
|
|
187
|
+
var $this$unsafeFlow = this.v63_1;
|
|
188
|
+
this.d9_1 = 1;
|
|
189
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.u63_1.x63_1, this.u63_1.y63_1, this.u63_1.z63_1, this.u63_1.a64_1, null);
|
|
190
|
+
suspendResult = this.u63_1.w63_1.w1e(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
186
191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
192
|
return suspendResult;
|
|
188
193
|
}
|
|
@@ -191,48 +196,48 @@
|
|
|
191
196
|
case 1:
|
|
192
197
|
return Unit_instance;
|
|
193
198
|
case 2:
|
|
194
|
-
throw this.
|
|
199
|
+
throw this.g9_1;
|
|
195
200
|
}
|
|
196
201
|
} catch ($p) {
|
|
197
202
|
var e = $p;
|
|
198
|
-
if (this.
|
|
203
|
+
if (this.e9_1 === 2) {
|
|
199
204
|
throw e;
|
|
200
205
|
} else {
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
206
|
+
this.d9_1 = this.e9_1;
|
|
207
|
+
this.g9_1 = e;
|
|
203
208
|
}
|
|
204
209
|
}
|
|
205
210
|
while (true);
|
|
206
211
|
};
|
|
207
212
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
213
|
+
this.j64_1 = $$this$unsafeFlow;
|
|
214
|
+
this.k64_1 = $charset;
|
|
215
|
+
this.l64_1 = $typeInfo;
|
|
216
|
+
this.m64_1 = $content;
|
|
212
217
|
CoroutineImpl.call(this, resultContinuation);
|
|
213
218
|
}
|
|
214
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
215
|
-
var tmp = this.
|
|
216
|
-
tmp.
|
|
217
|
-
tmp.
|
|
218
|
-
return tmp.
|
|
219
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a3o = function (value, $completion) {
|
|
220
|
+
var tmp = this.b3o(value, $completion);
|
|
221
|
+
tmp.f9_1 = Unit_instance;
|
|
222
|
+
tmp.g9_1 = null;
|
|
223
|
+
return tmp.l9();
|
|
219
224
|
};
|
|
220
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
221
|
-
return this.
|
|
225
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
226
|
+
return this.a3o(p1, $completion);
|
|
222
227
|
};
|
|
223
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
224
|
-
var suspendResult = this.
|
|
228
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
229
|
+
var suspendResult = this.f9_1;
|
|
225
230
|
$sm: do
|
|
226
231
|
try {
|
|
227
|
-
var tmp = this.
|
|
232
|
+
var tmp = this.d9_1;
|
|
228
233
|
switch (tmp) {
|
|
229
234
|
case 0:
|
|
230
|
-
this.
|
|
231
|
-
var tmp0 = this.
|
|
232
|
-
var tmp2 = this.
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
235
|
-
suspendResult = tmp2.
|
|
235
|
+
this.e9_1 = 3;
|
|
236
|
+
var tmp0 = this.j64_1;
|
|
237
|
+
var tmp2 = this.n64_1;
|
|
238
|
+
this.o64_1 = tmp0;
|
|
239
|
+
this.d9_1 = 1;
|
|
240
|
+
suspendResult = tmp2.c3o(this.k64_1, this.l64_1, this.m64_1, this);
|
|
236
241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
237
242
|
return suspendResult;
|
|
238
243
|
}
|
|
@@ -240,8 +245,8 @@
|
|
|
240
245
|
continue $sm;
|
|
241
246
|
case 1:
|
|
242
247
|
var ARGUMENT = suspendResult;
|
|
243
|
-
this.
|
|
244
|
-
suspendResult = this.
|
|
248
|
+
this.d9_1 = 2;
|
|
249
|
+
suspendResult = this.o64_1.u1e(ARGUMENT, this);
|
|
245
250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
251
|
return suspendResult;
|
|
247
252
|
}
|
|
@@ -250,49 +255,49 @@
|
|
|
250
255
|
case 2:
|
|
251
256
|
return Unit_instance;
|
|
252
257
|
case 3:
|
|
253
|
-
throw this.
|
|
258
|
+
throw this.g9_1;
|
|
254
259
|
}
|
|
255
260
|
} catch ($p) {
|
|
256
261
|
var e = $p;
|
|
257
|
-
if (this.
|
|
262
|
+
if (this.e9_1 === 3) {
|
|
258
263
|
throw e;
|
|
259
264
|
} else {
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
265
|
+
this.d9_1 = this.e9_1;
|
|
266
|
+
this.g9_1 = e;
|
|
262
267
|
}
|
|
263
268
|
}
|
|
264
269
|
while (true);
|
|
265
270
|
};
|
|
266
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
267
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
268
|
-
i.
|
|
271
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).b3o = function (value, completion) {
|
|
272
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.j64_1, this.k64_1, this.l64_1, this.m64_1, completion);
|
|
273
|
+
i.n64_1 = value;
|
|
269
274
|
return i;
|
|
270
275
|
};
|
|
271
276
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
272
277
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
273
278
|
var l = function (value, $completion) {
|
|
274
|
-
return i.
|
|
279
|
+
return i.a3o(value, $completion);
|
|
275
280
|
};
|
|
276
281
|
l.$arity = 1;
|
|
277
282
|
return l;
|
|
278
283
|
}
|
|
279
284
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
280
285
|
CoroutineImpl.call(this, resultContinuation);
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
286
|
+
this.x64_1 = _this__u8e3s4;
|
|
287
|
+
this.y64_1 = collector;
|
|
283
288
|
}
|
|
284
|
-
protoOf($collectCOROUTINE$_0).
|
|
285
|
-
var suspendResult = this.
|
|
289
|
+
protoOf($collectCOROUTINE$_0).l9 = function () {
|
|
290
|
+
var suspendResult = this.f9_1;
|
|
286
291
|
$sm: do
|
|
287
292
|
try {
|
|
288
|
-
var tmp = this.
|
|
293
|
+
var tmp = this.d9_1;
|
|
289
294
|
switch (tmp) {
|
|
290
295
|
case 0:
|
|
291
|
-
this.
|
|
292
|
-
var $this$unsafeFlow = this.
|
|
293
|
-
this.
|
|
294
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
295
|
-
suspendResult = this.
|
|
296
|
+
this.e9_1 = 2;
|
|
297
|
+
var $this$unsafeFlow = this.y64_1;
|
|
298
|
+
this.d9_1 = 1;
|
|
299
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.x64_1.a65_1, this.x64_1.b65_1, this.x64_1.c65_1, null);
|
|
300
|
+
suspendResult = this.x64_1.z64_1.w1e(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
296
301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
297
302
|
return suspendResult;
|
|
298
303
|
}
|
|
@@ -301,15 +306,15 @@
|
|
|
301
306
|
case 1:
|
|
302
307
|
return Unit_instance;
|
|
303
308
|
case 2:
|
|
304
|
-
throw this.
|
|
309
|
+
throw this.g9_1;
|
|
305
310
|
}
|
|
306
311
|
} catch ($p) {
|
|
307
312
|
var e = $p;
|
|
308
|
-
if (this.
|
|
313
|
+
if (this.e9_1 === 2) {
|
|
309
314
|
throw e;
|
|
310
315
|
} else {
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
316
|
+
this.d9_1 = this.e9_1;
|
|
317
|
+
this.g9_1 = e;
|
|
313
318
|
}
|
|
314
319
|
}
|
|
315
320
|
while (true);
|
|
@@ -317,11 +322,11 @@
|
|
|
317
322
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
318
323
|
var tmp;
|
|
319
324
|
if (isInterface(format, StringFormat)) {
|
|
320
|
-
var content = format.
|
|
325
|
+
var content = format.b21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
321
326
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
322
327
|
} else {
|
|
323
328
|
if (isInterface(format, BinaryFormat)) {
|
|
324
|
-
var content_0 = format.
|
|
329
|
+
var content_0 = format.d21(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
325
330
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
326
331
|
} else {
|
|
327
332
|
// Inline function 'kotlin.error' call
|
|
@@ -332,13 +337,13 @@
|
|
|
332
337
|
return tmp;
|
|
333
338
|
}
|
|
334
339
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
335
|
-
this.
|
|
340
|
+
this.d65_1 = function_0;
|
|
336
341
|
}
|
|
337
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
338
|
-
return this.
|
|
342
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u1e = function (value, $completion) {
|
|
343
|
+
return this.d65_1(value, $completion);
|
|
339
344
|
};
|
|
340
345
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
341
|
-
return this.
|
|
346
|
+
return this.d65_1;
|
|
342
347
|
};
|
|
343
348
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
344
349
|
var tmp;
|
|
@@ -359,13 +364,13 @@
|
|
|
359
364
|
return hashCode(this.q3());
|
|
360
365
|
};
|
|
361
366
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
362
|
-
this.
|
|
367
|
+
this.e65_1 = function_0;
|
|
363
368
|
}
|
|
364
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
365
|
-
return this.
|
|
369
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u1e = function (value, $completion) {
|
|
370
|
+
return this.e65_1(value, $completion);
|
|
366
371
|
};
|
|
367
372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
368
|
-
return this.
|
|
373
|
+
return this.e65_1;
|
|
369
374
|
};
|
|
370
375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
371
376
|
var tmp;
|
|
@@ -386,43 +391,43 @@
|
|
|
386
391
|
return hashCode(this.q3());
|
|
387
392
|
};
|
|
388
393
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
+
this.w63_1 = $this;
|
|
395
|
+
this.x63_1 = $contentType;
|
|
396
|
+
this.y63_1 = $charset;
|
|
397
|
+
this.z63_1 = $typeInfo;
|
|
398
|
+
this.a64_1 = $value;
|
|
394
399
|
}
|
|
395
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
400
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).v1e = function (collector, $completion) {
|
|
396
401
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
397
|
-
tmp.
|
|
398
|
-
tmp.
|
|
399
|
-
return tmp.
|
|
402
|
+
tmp.f9_1 = Unit_instance;
|
|
403
|
+
tmp.g9_1 = null;
|
|
404
|
+
return tmp.l9();
|
|
400
405
|
};
|
|
401
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
402
|
-
return this.
|
|
406
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).w1e = function (collector, $completion) {
|
|
407
|
+
return this.v1e(collector, $completion);
|
|
403
408
|
};
|
|
404
409
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
405
410
|
CoroutineImpl.call(this, resultContinuation);
|
|
406
411
|
}
|
|
407
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
408
|
-
var tmp = this.
|
|
409
|
-
tmp.
|
|
410
|
-
tmp.
|
|
411
|
-
return tmp.
|
|
412
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).o65 = function (it, $completion) {
|
|
413
|
+
var tmp = this.p65(it, $completion);
|
|
414
|
+
tmp.f9_1 = Unit_instance;
|
|
415
|
+
tmp.g9_1 = null;
|
|
416
|
+
return tmp.l9();
|
|
412
417
|
};
|
|
413
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
414
|
-
return this.
|
|
418
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
|
|
419
|
+
return this.o65((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
415
420
|
};
|
|
416
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
417
|
-
var suspendResult = this.
|
|
421
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
422
|
+
var suspendResult = this.f9_1;
|
|
418
423
|
$sm: do
|
|
419
424
|
try {
|
|
420
|
-
var tmp = this.
|
|
425
|
+
var tmp = this.d9_1;
|
|
421
426
|
if (tmp === 0) {
|
|
422
|
-
this.
|
|
423
|
-
return !(this.
|
|
427
|
+
this.e9_1 = 1;
|
|
428
|
+
return !(this.n65_1 == null);
|
|
424
429
|
} else if (tmp === 1) {
|
|
425
|
-
throw this.
|
|
430
|
+
throw this.g9_1;
|
|
426
431
|
}
|
|
427
432
|
} catch ($p) {
|
|
428
433
|
var e = $p;
|
|
@@ -430,57 +435,57 @@
|
|
|
430
435
|
}
|
|
431
436
|
while (true);
|
|
432
437
|
};
|
|
433
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
438
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).p65 = function (it, completion) {
|
|
434
439
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
435
|
-
i.
|
|
440
|
+
i.n65_1 = it;
|
|
436
441
|
return i;
|
|
437
442
|
};
|
|
438
443
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
439
444
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
440
445
|
var l = function (it, $completion) {
|
|
441
|
-
return i.
|
|
446
|
+
return i.o65(it, $completion);
|
|
442
447
|
};
|
|
443
448
|
l.$arity = 1;
|
|
444
449
|
return l;
|
|
445
450
|
}
|
|
446
451
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
452
|
+
this.z64_1 = $this;
|
|
453
|
+
this.a65_1 = $charset;
|
|
454
|
+
this.b65_1 = $typeInfo;
|
|
455
|
+
this.c65_1 = $content;
|
|
451
456
|
}
|
|
452
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
457
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).v1e = function (collector, $completion) {
|
|
453
458
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
454
|
-
tmp.
|
|
455
|
-
tmp.
|
|
456
|
-
return tmp.
|
|
459
|
+
tmp.f9_1 = Unit_instance;
|
|
460
|
+
tmp.g9_1 = null;
|
|
461
|
+
return tmp.l9();
|
|
457
462
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
459
|
-
return this.
|
|
463
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).w1e = function (collector, $completion) {
|
|
464
|
+
return this.v1e(collector, $completion);
|
|
460
465
|
};
|
|
461
466
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
462
|
-
this.
|
|
467
|
+
this.y65_1 = $content;
|
|
463
468
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
469
|
}
|
|
465
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
466
|
-
var tmp = this.
|
|
467
|
-
tmp.
|
|
468
|
-
tmp.
|
|
469
|
-
return tmp.
|
|
470
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).b3p = function (it, $completion) {
|
|
471
|
+
var tmp = this.b3o(it, $completion);
|
|
472
|
+
tmp.f9_1 = Unit_instance;
|
|
473
|
+
tmp.g9_1 = null;
|
|
474
|
+
return tmp.l9();
|
|
470
475
|
};
|
|
471
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
472
|
-
return this.
|
|
476
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
|
|
477
|
+
return this.b3p(p1, $completion);
|
|
473
478
|
};
|
|
474
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
475
|
-
var suspendResult = this.
|
|
479
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
480
|
+
var suspendResult = this.f9_1;
|
|
476
481
|
$sm: do
|
|
477
482
|
try {
|
|
478
|
-
var tmp = this.
|
|
483
|
+
var tmp = this.d9_1;
|
|
479
484
|
if (tmp === 0) {
|
|
480
|
-
this.
|
|
481
|
-
return !(this.
|
|
485
|
+
this.e9_1 = 1;
|
|
486
|
+
return !(this.z65_1 == null) || this.y65_1.x1o();
|
|
482
487
|
} else if (tmp === 1) {
|
|
483
|
-
throw this.
|
|
488
|
+
throw this.g9_1;
|
|
484
489
|
}
|
|
485
490
|
} catch ($p) {
|
|
486
491
|
var e = $p;
|
|
@@ -488,38 +493,38 @@
|
|
|
488
493
|
}
|
|
489
494
|
while (true);
|
|
490
495
|
};
|
|
491
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
492
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
493
|
-
i.
|
|
496
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).b3o = function (it, completion) {
|
|
497
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.y65_1, completion);
|
|
498
|
+
i.z65_1 = it;
|
|
494
499
|
return i;
|
|
495
500
|
};
|
|
496
501
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
497
502
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
498
503
|
var l = function (it, $completion) {
|
|
499
|
-
return i.
|
|
504
|
+
return i.b3p(it, $completion);
|
|
500
505
|
};
|
|
501
506
|
l.$arity = 1;
|
|
502
507
|
return l;
|
|
503
508
|
}
|
|
504
509
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
505
510
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
511
|
+
this.i66_1 = _this__u8e3s4;
|
|
512
|
+
this.j66_1 = contentType;
|
|
513
|
+
this.k66_1 = charset;
|
|
514
|
+
this.l66_1 = typeInfo;
|
|
515
|
+
this.m66_1 = value;
|
|
511
516
|
}
|
|
512
|
-
protoOf($serializeCOROUTINE$).
|
|
513
|
-
var suspendResult = this.
|
|
517
|
+
protoOf($serializeCOROUTINE$).l9 = function () {
|
|
518
|
+
var suspendResult = this.f9_1;
|
|
514
519
|
$sm: do
|
|
515
520
|
try {
|
|
516
|
-
var tmp = this.
|
|
521
|
+
var tmp = this.d9_1;
|
|
517
522
|
switch (tmp) {
|
|
518
523
|
case 0:
|
|
519
|
-
this.
|
|
520
|
-
this.
|
|
521
|
-
var this_0 = asFlow(this.
|
|
522
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
524
|
+
this.e9_1 = 2;
|
|
525
|
+
this.d9_1 = 1;
|
|
526
|
+
var this_0 = asFlow(this.i66_1.o66_1);
|
|
527
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.j66_1, this.k66_1, this.l66_1, this.m66_1);
|
|
523
528
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
524
529
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
525
530
|
return suspendResult;
|
|
@@ -532,12 +537,12 @@
|
|
|
532
537
|
return fromExtension;
|
|
533
538
|
var tmp_1;
|
|
534
539
|
try {
|
|
535
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
540
|
+
tmp_1 = serializerForTypeInfo(this.i66_1.n66_1.c24(), this.l66_1);
|
|
536
541
|
} catch ($p) {
|
|
537
542
|
var tmp_2;
|
|
538
543
|
if ($p instanceof SerializationException) {
|
|
539
544
|
var cause = $p;
|
|
540
|
-
tmp_2 = guessSerializer(this.
|
|
545
|
+
tmp_2 = guessSerializer(this.m66_1, this.i66_1.n66_1.c24());
|
|
541
546
|
} else {
|
|
542
547
|
throw $p;
|
|
543
548
|
}
|
|
@@ -545,40 +550,40 @@
|
|
|
545
550
|
}
|
|
546
551
|
|
|
547
552
|
var serializer = tmp_1;
|
|
548
|
-
return serializeContent(this.
|
|
553
|
+
return serializeContent(this.i66_1, serializer, this.i66_1.n66_1, this.m66_1, this.j66_1, this.k66_1);
|
|
549
554
|
case 2:
|
|
550
|
-
throw this.
|
|
555
|
+
throw this.g9_1;
|
|
551
556
|
}
|
|
552
557
|
} catch ($p) {
|
|
553
558
|
var e = $p;
|
|
554
|
-
if (this.
|
|
559
|
+
if (this.e9_1 === 2) {
|
|
555
560
|
throw e;
|
|
556
561
|
} else {
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
562
|
+
this.d9_1 = this.e9_1;
|
|
563
|
+
this.g9_1 = e;
|
|
559
564
|
}
|
|
560
565
|
}
|
|
561
566
|
while (true);
|
|
562
567
|
};
|
|
563
568
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
564
569
|
CoroutineImpl.call(this, resultContinuation);
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
570
|
+
this.x66_1 = _this__u8e3s4;
|
|
571
|
+
this.y66_1 = charset;
|
|
572
|
+
this.z66_1 = typeInfo;
|
|
573
|
+
this.a67_1 = content;
|
|
569
574
|
}
|
|
570
|
-
protoOf($deserializeCOROUTINE$).
|
|
571
|
-
var suspendResult = this.
|
|
575
|
+
protoOf($deserializeCOROUTINE$).l9 = function () {
|
|
576
|
+
var suspendResult = this.f9_1;
|
|
572
577
|
$sm: do
|
|
573
578
|
try {
|
|
574
|
-
var tmp = this.
|
|
579
|
+
var tmp = this.d9_1;
|
|
575
580
|
switch (tmp) {
|
|
576
581
|
case 0:
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
var this_0 = asFlow(this.
|
|
580
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
581
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
582
|
+
this.e9_1 = 4;
|
|
583
|
+
this.d9_1 = 1;
|
|
584
|
+
var this_0 = asFlow(this.x66_1.o66_1);
|
|
585
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.y66_1, this.z66_1, this.a67_1);
|
|
586
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.a67_1, null), this);
|
|
582
587
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
588
|
return suspendResult;
|
|
584
589
|
}
|
|
@@ -587,17 +592,17 @@
|
|
|
587
592
|
case 1:
|
|
588
593
|
var fromExtension = suspendResult;
|
|
589
594
|
var tmp_1;
|
|
590
|
-
if (!this.
|
|
591
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
595
|
+
if (!this.x66_1.o66_1.r()) {
|
|
596
|
+
tmp_1 = !(fromExtension == null) || this.a67_1.x1o();
|
|
592
597
|
} else {
|
|
593
598
|
tmp_1 = false;
|
|
594
599
|
}
|
|
595
600
|
|
|
596
601
|
if (tmp_1)
|
|
597
602
|
return fromExtension;
|
|
598
|
-
this.
|
|
599
|
-
this.
|
|
600
|
-
suspendResult = readRemaining(this.
|
|
603
|
+
this.b67_1 = serializerForTypeInfo(this.x66_1.n66_1.c24(), this.z66_1);
|
|
604
|
+
this.d9_1 = 2;
|
|
605
|
+
suspendResult = readRemaining(this.a67_1, this);
|
|
601
606
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
602
607
|
return suspendResult;
|
|
603
608
|
}
|
|
@@ -605,81 +610,81 @@
|
|
|
605
610
|
continue $sm;
|
|
606
611
|
case 2:
|
|
607
612
|
var contentPacket = suspendResult;
|
|
608
|
-
this.
|
|
609
|
-
var tmp0_subject = this.
|
|
613
|
+
this.e9_1 = 3;
|
|
614
|
+
var tmp0_subject = this.x66_1.n66_1;
|
|
610
615
|
var tmp_2;
|
|
611
616
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
612
|
-
tmp_2 = this.
|
|
617
|
+
tmp_2 = this.x66_1.n66_1.c21(this.b67_1, readText(contentPacket, this.y66_1));
|
|
613
618
|
} else {
|
|
614
619
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
615
|
-
tmp_2 = this.
|
|
620
|
+
tmp_2 = this.x66_1.n66_1.e21(this.b67_1, readByteArray(contentPacket));
|
|
616
621
|
} else {
|
|
617
622
|
discard(contentPacket);
|
|
618
|
-
var message = 'Unsupported format ' + toString(this.
|
|
623
|
+
var message = 'Unsupported format ' + toString(this.x66_1.n66_1);
|
|
619
624
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
620
625
|
}
|
|
621
626
|
}
|
|
622
627
|
|
|
623
628
|
return tmp_2;
|
|
624
629
|
case 3:
|
|
625
|
-
this.
|
|
626
|
-
var tmp_3 = this.
|
|
630
|
+
this.e9_1 = 4;
|
|
631
|
+
var tmp_3 = this.g9_1;
|
|
627
632
|
if (tmp_3 instanceof Error) {
|
|
628
|
-
var cause = this.
|
|
633
|
+
var cause = this.g9_1;
|
|
629
634
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
630
635
|
} else {
|
|
631
|
-
throw this.
|
|
636
|
+
throw this.g9_1;
|
|
632
637
|
}
|
|
633
638
|
|
|
634
639
|
case 4:
|
|
635
|
-
throw this.
|
|
640
|
+
throw this.g9_1;
|
|
636
641
|
}
|
|
637
642
|
} catch ($p) {
|
|
638
643
|
var e = $p;
|
|
639
|
-
if (this.
|
|
644
|
+
if (this.e9_1 === 4) {
|
|
640
645
|
throw e;
|
|
641
646
|
} else {
|
|
642
|
-
this.
|
|
643
|
-
this.
|
|
647
|
+
this.d9_1 = this.e9_1;
|
|
648
|
+
this.g9_1 = e;
|
|
644
649
|
}
|
|
645
650
|
}
|
|
646
651
|
while (true);
|
|
647
652
|
};
|
|
648
653
|
function KotlinxSerializationConverter(format) {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
654
|
+
this.n66_1 = format;
|
|
655
|
+
this.o66_1 = extensions(this.n66_1);
|
|
651
656
|
var tmp;
|
|
652
|
-
var tmp_0 = this.
|
|
657
|
+
var tmp_0 = this.n66_1;
|
|
653
658
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
654
659
|
tmp = true;
|
|
655
660
|
} else {
|
|
656
|
-
var tmp_1 = this.
|
|
661
|
+
var tmp_1 = this.n66_1;
|
|
657
662
|
tmp = isInterface(tmp_1, StringFormat);
|
|
658
663
|
}
|
|
659
664
|
// Inline function 'kotlin.require' call
|
|
660
665
|
if (!tmp) {
|
|
661
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
666
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.n66_1) + ' is not supported.';
|
|
662
667
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
663
668
|
}
|
|
664
669
|
}
|
|
665
|
-
protoOf(KotlinxSerializationConverter).
|
|
670
|
+
protoOf(KotlinxSerializationConverter).c67 = function (contentType, charset, typeInfo, value, $completion) {
|
|
666
671
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
667
|
-
tmp.
|
|
668
|
-
tmp.
|
|
669
|
-
return tmp.
|
|
672
|
+
tmp.f9_1 = Unit_instance;
|
|
673
|
+
tmp.g9_1 = null;
|
|
674
|
+
return tmp.l9();
|
|
670
675
|
};
|
|
671
|
-
protoOf(KotlinxSerializationConverter).
|
|
672
|
-
return this.
|
|
676
|
+
protoOf(KotlinxSerializationConverter).b5r = function (contentType, charset, typeInfo, value, $completion) {
|
|
677
|
+
return this.c67(contentType, charset, typeInfo, value, $completion);
|
|
673
678
|
};
|
|
674
|
-
protoOf(KotlinxSerializationConverter).
|
|
679
|
+
protoOf(KotlinxSerializationConverter).c3o = function (charset, typeInfo, content, $completion) {
|
|
675
680
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
676
|
-
tmp.
|
|
677
|
-
tmp.
|
|
678
|
-
return tmp.
|
|
681
|
+
tmp.f9_1 = Unit_instance;
|
|
682
|
+
tmp.g9_1 = null;
|
|
683
|
+
return tmp.l9();
|
|
679
684
|
};
|
|
680
685
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
681
686
|
var module_0 = _this__u8e3s4;
|
|
682
|
-
var tmp0_safe_receiver = typeInfo.
|
|
687
|
+
var tmp0_safe_receiver = typeInfo.p2t_1;
|
|
683
688
|
var tmp;
|
|
684
689
|
if (tmp0_safe_receiver == null) {
|
|
685
690
|
tmp = null;
|
|
@@ -689,20 +694,21 @@
|
|
|
689
694
|
if (tmp0_safe_receiver.k().r()) {
|
|
690
695
|
tmp_0 = null;
|
|
691
696
|
} else {
|
|
692
|
-
|
|
697
|
+
var tmp0_elvis_lhs = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
698
|
+
tmp_0 = tmp0_elvis_lhs == null ? checkTypeParameters(tmp0_safe_receiver, typeInfo, module_0) : tmp0_elvis_lhs;
|
|
693
699
|
}
|
|
694
700
|
tmp = tmp_0;
|
|
695
701
|
}
|
|
696
702
|
var tmp1_elvis_lhs = tmp;
|
|
697
703
|
var tmp_1;
|
|
698
704
|
if (tmp1_elvis_lhs == null) {
|
|
699
|
-
var tmp2_safe_receiver = module_0.
|
|
705
|
+
var tmp2_safe_receiver = module_0.j21(typeInfo.o2t_1);
|
|
700
706
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
701
707
|
} else {
|
|
702
708
|
tmp_1 = tmp1_elvis_lhs;
|
|
703
709
|
}
|
|
704
710
|
var tmp3_elvis_lhs = tmp_1;
|
|
705
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
711
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.o2t_1), typeInfo) : tmp3_elvis_lhs;
|
|
706
712
|
}
|
|
707
713
|
function guessSerializer(value, module_0) {
|
|
708
714
|
var tmp;
|
|
@@ -732,7 +738,7 @@
|
|
|
732
738
|
var valueSerializer = elementSerializer(value.c3(), module_0);
|
|
733
739
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
734
740
|
} else {
|
|
735
|
-
var tmp3_elvis_lhs = module_0.
|
|
741
|
+
var tmp3_elvis_lhs = module_0.j21(getKClassFromExpression(value));
|
|
736
742
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
737
743
|
}
|
|
738
744
|
}
|
|
@@ -742,9 +748,66 @@
|
|
|
742
748
|
var tmp_1 = tmp;
|
|
743
749
|
return isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
|
|
744
750
|
}
|
|
751
|
+
function checkTypeParameters(type, typeInfo, module_0) {
|
|
752
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
753
|
+
var tmp0 = type.k();
|
|
754
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
755
|
+
var destination = ArrayList_init_$Create$();
|
|
756
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
757
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
758
|
+
while (_iterator__ex2g4s.u()) {
|
|
759
|
+
var element = _iterator__ex2g4s.v();
|
|
760
|
+
var tmp;
|
|
761
|
+
try {
|
|
762
|
+
var tmp0_safe_receiver = element.ck_1;
|
|
763
|
+
var tmp_0;
|
|
764
|
+
if (tmp0_safe_receiver == null) {
|
|
765
|
+
tmp_0 = null;
|
|
766
|
+
} else {
|
|
767
|
+
// Inline function 'kotlin.takeIf' call
|
|
768
|
+
var tmp_1;
|
|
769
|
+
if (serializerOrNull(module_0, tmp0_safe_receiver) == null) {
|
|
770
|
+
tmp_1 = tmp0_safe_receiver;
|
|
771
|
+
} else {
|
|
772
|
+
tmp_1 = null;
|
|
773
|
+
}
|
|
774
|
+
tmp_0 = tmp_1;
|
|
775
|
+
}
|
|
776
|
+
tmp = tmp_0;
|
|
777
|
+
} catch ($p) {
|
|
778
|
+
var tmp_2;
|
|
779
|
+
if ($p instanceof Exception) {
|
|
780
|
+
var _unused_var__etf5q3 = $p;
|
|
781
|
+
return null;
|
|
782
|
+
} else {
|
|
783
|
+
throw $p;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
if (tmp == null)
|
|
787
|
+
null;
|
|
788
|
+
else {
|
|
789
|
+
// Inline function 'kotlin.let' call
|
|
790
|
+
destination.j1(tmp);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
var nonSerializableArgs = destination;
|
|
794
|
+
if (nonSerializableArgs.r())
|
|
795
|
+
return null;
|
|
796
|
+
var argNames = joinToString(nonSerializableArgs, VOID, VOID, VOID, VOID, VOID, checkTypeParameters$lambda);
|
|
797
|
+
var tmp_3;
|
|
798
|
+
if (nonSerializableArgs.l1() === 1) {
|
|
799
|
+
tmp_3 = to('', 'is');
|
|
800
|
+
} else {
|
|
801
|
+
tmp_3 = to('s', 'are');
|
|
802
|
+
}
|
|
803
|
+
var _destruct__k2r9zo = tmp_3;
|
|
804
|
+
var s = _destruct__k2r9zo.fg();
|
|
805
|
+
var be = _destruct__k2r9zo.gg();
|
|
806
|
+
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.o2t_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
|
|
807
|
+
}
|
|
745
808
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
746
809
|
var tmp;
|
|
747
|
-
var tmp0_safe_receiver = typeInfo.
|
|
810
|
+
var tmp0_safe_receiver = typeInfo.p2t_1;
|
|
748
811
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
749
812
|
tmp = get_nullable(_this__u8e3s4);
|
|
750
813
|
} else {
|
|
@@ -769,7 +832,7 @@
|
|
|
769
832
|
var _iterator__ex2g4s_0 = destination.t();
|
|
770
833
|
while (_iterator__ex2g4s_0.u()) {
|
|
771
834
|
var e = _iterator__ex2g4s_0.v();
|
|
772
|
-
var key = e.
|
|
835
|
+
var key = e.y1z().z20();
|
|
773
836
|
if (set.j1(key)) {
|
|
774
837
|
list.j1(e);
|
|
775
838
|
}
|
|
@@ -782,7 +845,7 @@
|
|
|
782
845
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
783
846
|
while (_iterator__ex2g4s_1.u()) {
|
|
784
847
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
785
|
-
var tmp$ret$7 = item_0.
|
|
848
|
+
var tmp$ret$7 = item_0.y1z().z20();
|
|
786
849
|
destination_0.j1(tmp$ret$7);
|
|
787
850
|
}
|
|
788
851
|
// Inline function 'kotlin.error' call
|
|
@@ -791,7 +854,7 @@
|
|
|
791
854
|
}
|
|
792
855
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
793
856
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
794
|
-
if (selected.
|
|
857
|
+
if (selected.y1z().n21()) {
|
|
795
858
|
return selected;
|
|
796
859
|
}
|
|
797
860
|
if (!isInterface(selected, KSerializer))
|
|
@@ -824,6 +887,16 @@
|
|
|
824
887
|
}
|
|
825
888
|
return selected;
|
|
826
889
|
}
|
|
890
|
+
function checkTypeParameters$lambda(it) {
|
|
891
|
+
var clz = it.j();
|
|
892
|
+
var tmp;
|
|
893
|
+
if (!(clz == null) ? isInterface(clz, KClass) : false) {
|
|
894
|
+
tmp = "'" + clz.o() + "'";
|
|
895
|
+
} else {
|
|
896
|
+
tmp = "'" + toString(it) + "'";
|
|
897
|
+
}
|
|
898
|
+
return tmp;
|
|
899
|
+
}
|
|
827
900
|
function get_providers() {
|
|
828
901
|
return emptyList();
|
|
829
902
|
}
|