@doordeck/doordeck-headless-sdk 0.132.0 → 0.134.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 +44 -44
- package/kotlin/Kermit-kermit.js +4 -4
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1411 -1411
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +74 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +18 -18
- package/kotlin/doordeck-sdk.d.ts +13 -91
- package/kotlin/doordeck-sdk.js +9739 -10202
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +1906 -1906
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlin/kotlinx-io-kotlinx-io-core.js +443 -443
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1710 -1710
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1347 -1347
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +135 -135
- package/kotlin/ktor-ktor-client-core.js +1882 -1882
- package/kotlin/ktor-ktor-client-logging.js +668 -668
- package/kotlin/ktor-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-http-cio.js +330 -330
- package/kotlin/ktor-ktor-http.js +682 -682
- package/kotlin/ktor-ktor-io.js +628 -628
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +140 -140
- package/kotlin/ktor-ktor-serialization.js +62 -62
- package/kotlin/ktor-ktor-utils.js +660 -660
- package/kotlin/ktor-ktor-websockets.js +37 -37
- package/package.json +1 -1
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.p();
|
|
81
81
|
while (_iterator__ex2g4s.q()) {
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.p5j(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.v3d(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.y5j_1 = $$this$unsafeFlow;
|
|
98
|
+
this.z5j_1 = $contentType;
|
|
99
|
+
this.a5k_1 = $charset;
|
|
100
|
+
this.b5k_1 = $typeInfo;
|
|
101
|
+
this.c5k_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).r3e = function (value, $completion) {
|
|
105
|
+
var tmp = this.s3e(value, $completion);
|
|
106
106
|
tmp.i9_1 = Unit_instance;
|
|
107
107
|
tmp.j9_1 = null;
|
|
108
108
|
return tmp.o9();
|
|
109
109
|
};
|
|
110
110
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.r3e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).o9 = function () {
|
|
114
114
|
var suspendResult = this.i9_1;
|
|
@@ -119,25 +119,25 @@
|
|
|
119
119
|
case 0:
|
|
120
120
|
this.h9_1 = 3;
|
|
121
121
|
var tmp_0 = this;
|
|
122
|
-
tmp_0.
|
|
122
|
+
tmp_0.e5k_1 = this.y5j_1;
|
|
123
123
|
var tmp_1 = this;
|
|
124
|
-
tmp_1.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
124
|
+
tmp_1.f5k_1 = this.d5k_1;
|
|
125
|
+
this.g5k_1 = this.e5k_1;
|
|
126
|
+
this.h5k_1 = this.f5k_1;
|
|
127
127
|
var tmp_2 = this;
|
|
128
|
-
tmp_2.
|
|
129
|
-
this.
|
|
128
|
+
tmp_2.i5k_1 = this.h5k_1;
|
|
129
|
+
this.j5k_1 = this.i5k_1;
|
|
130
130
|
this.g9_1 = 1;
|
|
131
|
-
suspendResult = this.
|
|
131
|
+
suspendResult = this.j5k_1.o5j(this.z5j_1, this.a5k_1, this.b5k_1, this.c5k_1, this);
|
|
132
132
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
133
133
|
return suspendResult;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
continue $sm;
|
|
137
137
|
case 1:
|
|
138
|
-
this.
|
|
138
|
+
this.k5k_1 = suspendResult;
|
|
139
139
|
this.g9_1 = 2;
|
|
140
|
-
suspendResult = this.
|
|
140
|
+
suspendResult = this.g5k_1.h19(this.k5k_1, this);
|
|
141
141
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
142
142
|
return suspendResult;
|
|
143
143
|
}
|
|
@@ -159,23 +159,23 @@
|
|
|
159
159
|
}
|
|
160
160
|
while (true);
|
|
161
161
|
};
|
|
162
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
163
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
164
|
-
i.
|
|
162
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).s3e = function (value, completion) {
|
|
163
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.y5j_1, this.z5j_1, this.a5k_1, this.b5k_1, this.c5k_1, completion);
|
|
164
|
+
i.d5k_1 = value;
|
|
165
165
|
return i;
|
|
166
166
|
};
|
|
167
167
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
168
168
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
169
169
|
var l = function (value, $completion) {
|
|
170
|
-
return i.
|
|
170
|
+
return i.r3e(value, $completion);
|
|
171
171
|
};
|
|
172
172
|
l.$arity = 1;
|
|
173
173
|
return l;
|
|
174
174
|
}
|
|
175
175
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
176
176
|
CoroutineImpl.call(this, resultContinuation);
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
177
|
+
this.t5k_1 = _this__u8e3s4;
|
|
178
|
+
this.u5k_1 = collector;
|
|
179
179
|
}
|
|
180
180
|
protoOf($collectCOROUTINE$).o9 = function () {
|
|
181
181
|
var suspendResult = this.i9_1;
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
case 0:
|
|
187
187
|
this.h9_1 = 2;
|
|
188
188
|
var tmp_0 = this;
|
|
189
|
-
tmp_0.
|
|
190
|
-
this.
|
|
189
|
+
tmp_0.v5k_1 = this.u5k_1;
|
|
190
|
+
this.w5k_1 = this.v5k_1;
|
|
191
191
|
this.g9_1 = 1;
|
|
192
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
193
|
-
suspendResult = this.
|
|
192
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.w5k_1, this.t5k_1.y5k_1, this.t5k_1.z5k_1, this.t5k_1.a5l_1, this.t5k_1.b5l_1, null);
|
|
193
|
+
suspendResult = this.t5k_1.x5k_1.j19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
194
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
195
|
return suspendResult;
|
|
196
196
|
}
|
|
@@ -213,20 +213,20 @@
|
|
|
213
213
|
while (true);
|
|
214
214
|
};
|
|
215
215
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
this.
|
|
216
|
+
this.k5l_1 = $$this$unsafeFlow;
|
|
217
|
+
this.l5l_1 = $charset;
|
|
218
|
+
this.m5l_1 = $typeInfo;
|
|
219
|
+
this.n5l_1 = $content;
|
|
220
220
|
CoroutineImpl.call(this, resultContinuation);
|
|
221
221
|
}
|
|
222
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
223
|
-
var tmp = this.
|
|
222
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r3e = function (value, $completion) {
|
|
223
|
+
var tmp = this.s3e(value, $completion);
|
|
224
224
|
tmp.i9_1 = Unit_instance;
|
|
225
225
|
tmp.j9_1 = null;
|
|
226
226
|
return tmp.o9();
|
|
227
227
|
};
|
|
228
228
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ca = function (p1, $completion) {
|
|
229
|
-
return this.
|
|
229
|
+
return this.r3e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
230
230
|
};
|
|
231
231
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o9 = function () {
|
|
232
232
|
var suspendResult = this.i9_1;
|
|
@@ -237,25 +237,25 @@
|
|
|
237
237
|
case 0:
|
|
238
238
|
this.h9_1 = 3;
|
|
239
239
|
var tmp_0 = this;
|
|
240
|
-
tmp_0.
|
|
240
|
+
tmp_0.p5l_1 = this.k5l_1;
|
|
241
241
|
var tmp_1 = this;
|
|
242
|
-
tmp_1.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
242
|
+
tmp_1.q5l_1 = this.o5l_1;
|
|
243
|
+
this.r5l_1 = this.p5l_1;
|
|
244
|
+
this.s5l_1 = this.q5l_1;
|
|
245
245
|
var tmp_2 = this;
|
|
246
|
-
tmp_2.
|
|
247
|
-
this.
|
|
246
|
+
tmp_2.t5l_1 = this.s5l_1;
|
|
247
|
+
this.u5l_1 = this.t5l_1;
|
|
248
248
|
this.g9_1 = 1;
|
|
249
|
-
suspendResult = this.
|
|
249
|
+
suspendResult = this.u5l_1.t3e(this.l5l_1, this.m5l_1, this.n5l_1, this);
|
|
250
250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
251
251
|
return suspendResult;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
continue $sm;
|
|
255
255
|
case 1:
|
|
256
|
-
this.
|
|
256
|
+
this.v5l_1 = suspendResult;
|
|
257
257
|
this.g9_1 = 2;
|
|
258
|
-
suspendResult = this.
|
|
258
|
+
suspendResult = this.r5l_1.h19(this.v5l_1, this);
|
|
259
259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
260
260
|
return suspendResult;
|
|
261
261
|
}
|
|
@@ -277,23 +277,23 @@
|
|
|
277
277
|
}
|
|
278
278
|
while (true);
|
|
279
279
|
};
|
|
280
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
281
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
282
|
-
i.
|
|
280
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).s3e = function (value, completion) {
|
|
281
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.k5l_1, this.l5l_1, this.m5l_1, this.n5l_1, completion);
|
|
282
|
+
i.o5l_1 = value;
|
|
283
283
|
return i;
|
|
284
284
|
};
|
|
285
285
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
286
286
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
287
287
|
var l = function (value, $completion) {
|
|
288
|
-
return i.
|
|
288
|
+
return i.r3e(value, $completion);
|
|
289
289
|
};
|
|
290
290
|
l.$arity = 1;
|
|
291
291
|
return l;
|
|
292
292
|
}
|
|
293
293
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
294
294
|
CoroutineImpl.call(this, resultContinuation);
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
295
|
+
this.e5m_1 = _this__u8e3s4;
|
|
296
|
+
this.f5m_1 = collector;
|
|
297
297
|
}
|
|
298
298
|
protoOf($collectCOROUTINE$_0).o9 = function () {
|
|
299
299
|
var suspendResult = this.i9_1;
|
|
@@ -304,11 +304,11 @@
|
|
|
304
304
|
case 0:
|
|
305
305
|
this.h9_1 = 2;
|
|
306
306
|
var tmp_0 = this;
|
|
307
|
-
tmp_0.
|
|
308
|
-
this.
|
|
307
|
+
tmp_0.g5m_1 = this.f5m_1;
|
|
308
|
+
this.h5m_1 = this.g5m_1;
|
|
309
309
|
this.g9_1 = 1;
|
|
310
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
311
|
-
suspendResult = this.
|
|
310
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.h5m_1, this.e5m_1.j5m_1, this.e5m_1.k5m_1, this.e5m_1.l5m_1, null);
|
|
311
|
+
suspendResult = this.e5m_1.i5m_1.j19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
312
312
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
313
313
|
return suspendResult;
|
|
314
314
|
}
|
|
@@ -333,11 +333,11 @@
|
|
|
333
333
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
334
334
|
var tmp;
|
|
335
335
|
if (isInterface(format, StringFormat)) {
|
|
336
|
-
var content = format.
|
|
336
|
+
var content = format.k20(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
337
337
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
338
338
|
} else {
|
|
339
339
|
if (isInterface(format, BinaryFormat)) {
|
|
340
|
-
var content_0 = format.
|
|
340
|
+
var content_0 = format.m20(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
341
341
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
342
342
|
} else {
|
|
343
343
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -347,13 +347,13 @@
|
|
|
347
347
|
return tmp;
|
|
348
348
|
}
|
|
349
349
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
350
|
-
this.
|
|
350
|
+
this.m5m_1 = function_0;
|
|
351
351
|
}
|
|
352
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
353
|
-
return this.
|
|
352
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).h19 = function (value, $completion) {
|
|
353
|
+
return this.m5m_1(value, $completion);
|
|
354
354
|
};
|
|
355
355
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
356
|
-
return this.
|
|
356
|
+
return this.m5m_1;
|
|
357
357
|
};
|
|
358
358
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
359
359
|
var tmp;
|
|
@@ -374,13 +374,13 @@
|
|
|
374
374
|
return hashCode(this.s3());
|
|
375
375
|
};
|
|
376
376
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
377
|
-
this.
|
|
377
|
+
this.n5m_1 = function_0;
|
|
378
378
|
}
|
|
379
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
380
|
-
return this.
|
|
379
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).h19 = function (value, $completion) {
|
|
380
|
+
return this.n5m_1(value, $completion);
|
|
381
381
|
};
|
|
382
382
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
383
|
-
return this.
|
|
383
|
+
return this.n5m_1;
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
386
386
|
var tmp;
|
|
@@ -401,32 +401,32 @@
|
|
|
401
401
|
return hashCode(this.s3());
|
|
402
402
|
};
|
|
403
403
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
404
|
+
this.x5k_1 = $this;
|
|
405
|
+
this.y5k_1 = $contentType;
|
|
406
|
+
this.z5k_1 = $charset;
|
|
407
|
+
this.a5l_1 = $typeInfo;
|
|
408
|
+
this.b5l_1 = $value;
|
|
409
409
|
}
|
|
410
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
410
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).i19 = function (collector, $completion) {
|
|
411
411
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
412
412
|
tmp.i9_1 = Unit_instance;
|
|
413
413
|
tmp.j9_1 = null;
|
|
414
414
|
return tmp.o9();
|
|
415
415
|
};
|
|
416
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
417
|
-
return this.
|
|
416
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).j19 = function (collector, $completion) {
|
|
417
|
+
return this.i19(collector, $completion);
|
|
418
418
|
};
|
|
419
419
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
420
420
|
CoroutineImpl.call(this, resultContinuation);
|
|
421
421
|
}
|
|
422
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
423
|
-
var tmp = this.
|
|
422
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).x5m = function (it, $completion) {
|
|
423
|
+
var tmp = this.y5m(it, $completion);
|
|
424
424
|
tmp.i9_1 = Unit_instance;
|
|
425
425
|
tmp.j9_1 = null;
|
|
426
426
|
return tmp.o9();
|
|
427
427
|
};
|
|
428
428
|
protoOf(KotlinxSerializationConverter$serialize$slambda).ca = function (p1, $completion) {
|
|
429
|
-
return this.
|
|
429
|
+
return this.x5m((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
430
430
|
};
|
|
431
431
|
protoOf(KotlinxSerializationConverter$serialize$slambda).o9 = function () {
|
|
432
432
|
var suspendResult = this.i9_1;
|
|
@@ -435,7 +435,7 @@
|
|
|
435
435
|
var tmp = this.g9_1;
|
|
436
436
|
if (tmp === 0) {
|
|
437
437
|
this.h9_1 = 1;
|
|
438
|
-
return !(this.
|
|
438
|
+
return !(this.w5m_1 == null);
|
|
439
439
|
} else if (tmp === 1) {
|
|
440
440
|
throw this.j9_1;
|
|
441
441
|
}
|
|
@@ -445,46 +445,46 @@
|
|
|
445
445
|
}
|
|
446
446
|
while (true);
|
|
447
447
|
};
|
|
448
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
448
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y5m = function (it, completion) {
|
|
449
449
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
450
|
-
i.
|
|
450
|
+
i.w5m_1 = it;
|
|
451
451
|
return i;
|
|
452
452
|
};
|
|
453
453
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
454
454
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
455
455
|
var l = function (it, $completion) {
|
|
456
|
-
return i.
|
|
456
|
+
return i.x5m(it, $completion);
|
|
457
457
|
};
|
|
458
458
|
l.$arity = 1;
|
|
459
459
|
return l;
|
|
460
460
|
}
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
462
|
-
this.
|
|
463
|
-
this.
|
|
464
|
-
this.
|
|
465
|
-
this.
|
|
462
|
+
this.i5m_1 = $this;
|
|
463
|
+
this.j5m_1 = $charset;
|
|
464
|
+
this.k5m_1 = $typeInfo;
|
|
465
|
+
this.l5m_1 = $content;
|
|
466
466
|
}
|
|
467
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
467
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).i19 = function (collector, $completion) {
|
|
468
468
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
469
469
|
tmp.i9_1 = Unit_instance;
|
|
470
470
|
tmp.j9_1 = null;
|
|
471
471
|
return tmp.o9();
|
|
472
472
|
};
|
|
473
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
474
|
-
return this.
|
|
473
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).j19 = function (collector, $completion) {
|
|
474
|
+
return this.i19(collector, $completion);
|
|
475
475
|
};
|
|
476
476
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
477
|
-
this.
|
|
477
|
+
this.h5n_1 = $content;
|
|
478
478
|
CoroutineImpl.call(this, resultContinuation);
|
|
479
479
|
}
|
|
480
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
481
|
-
var tmp = this.
|
|
480
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).u3f = function (it, $completion) {
|
|
481
|
+
var tmp = this.s3e(it, $completion);
|
|
482
482
|
tmp.i9_1 = Unit_instance;
|
|
483
483
|
tmp.j9_1 = null;
|
|
484
484
|
return tmp.o9();
|
|
485
485
|
};
|
|
486
486
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).ca = function (p1, $completion) {
|
|
487
|
-
return this.
|
|
487
|
+
return this.u3f((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
488
488
|
};
|
|
489
489
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).o9 = function () {
|
|
490
490
|
var suspendResult = this.i9_1;
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
var tmp = this.g9_1;
|
|
494
494
|
if (tmp === 0) {
|
|
495
495
|
this.h9_1 = 1;
|
|
496
|
-
return !(this.
|
|
496
|
+
return !(this.i5n_1 == null) || this.h5n_1.k1n();
|
|
497
497
|
} else if (tmp === 1) {
|
|
498
498
|
throw this.j9_1;
|
|
499
499
|
}
|
|
@@ -503,26 +503,26 @@
|
|
|
503
503
|
}
|
|
504
504
|
while (true);
|
|
505
505
|
};
|
|
506
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
507
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
508
|
-
i.
|
|
506
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).s3e = function (it, completion) {
|
|
507
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.h5n_1, completion);
|
|
508
|
+
i.i5n_1 = it;
|
|
509
509
|
return i;
|
|
510
510
|
};
|
|
511
511
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
512
512
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
513
513
|
var l = function (it, $completion) {
|
|
514
|
-
return i.
|
|
514
|
+
return i.u3f(it, $completion);
|
|
515
515
|
};
|
|
516
516
|
l.$arity = 1;
|
|
517
517
|
return l;
|
|
518
518
|
}
|
|
519
519
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
520
520
|
CoroutineImpl.call(this, resultContinuation);
|
|
521
|
-
this.
|
|
522
|
-
this.
|
|
523
|
-
this.
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
521
|
+
this.r5n_1 = _this__u8e3s4;
|
|
522
|
+
this.s5n_1 = contentType;
|
|
523
|
+
this.t5n_1 = charset;
|
|
524
|
+
this.u5n_1 = typeInfo;
|
|
525
|
+
this.v5n_1 = value;
|
|
526
526
|
}
|
|
527
527
|
protoOf($serializeCOROUTINE$).o9 = function () {
|
|
528
528
|
var suspendResult = this.i9_1;
|
|
@@ -533,8 +533,8 @@
|
|
|
533
533
|
case 0:
|
|
534
534
|
this.h9_1 = 2;
|
|
535
535
|
this.g9_1 = 1;
|
|
536
|
-
var this_0 = asFlow(this.
|
|
537
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
536
|
+
var this_0 = asFlow(this.r5n_1.x5n_1);
|
|
537
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.s5n_1, this.t5n_1, this.u5n_1, this.v5n_1);
|
|
538
538
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
539
539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
540
540
|
return suspendResult;
|
|
@@ -547,12 +547,12 @@
|
|
|
547
547
|
return fromExtension;
|
|
548
548
|
var tmp_1;
|
|
549
549
|
try {
|
|
550
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
550
|
+
tmp_1 = serializerForTypeInfo(this.r5n_1.w5n_1.j23(), this.u5n_1);
|
|
551
551
|
} catch ($p) {
|
|
552
552
|
var tmp_2;
|
|
553
553
|
if ($p instanceof SerializationException) {
|
|
554
554
|
var cause = $p;
|
|
555
|
-
tmp_2 = guessSerializer(this.
|
|
555
|
+
tmp_2 = guessSerializer(this.v5n_1, this.r5n_1.w5n_1.j23());
|
|
556
556
|
} else {
|
|
557
557
|
throw $p;
|
|
558
558
|
}
|
|
@@ -560,7 +560,7 @@
|
|
|
560
560
|
}
|
|
561
561
|
|
|
562
562
|
var serializer = tmp_1;
|
|
563
|
-
return serializeContent(this.
|
|
563
|
+
return serializeContent(this.r5n_1, serializer, this.r5n_1.w5n_1, this.v5n_1, this.s5n_1, this.t5n_1);
|
|
564
564
|
case 2:
|
|
565
565
|
throw this.j9_1;
|
|
566
566
|
}
|
|
@@ -577,10 +577,10 @@
|
|
|
577
577
|
};
|
|
578
578
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
579
579
|
CoroutineImpl.call(this, resultContinuation);
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
580
|
+
this.g5o_1 = _this__u8e3s4;
|
|
581
|
+
this.h5o_1 = charset;
|
|
582
|
+
this.i5o_1 = typeInfo;
|
|
583
|
+
this.j5o_1 = content;
|
|
584
584
|
}
|
|
585
585
|
protoOf($deserializeCOROUTINE$).o9 = function () {
|
|
586
586
|
var suspendResult = this.i9_1;
|
|
@@ -591,28 +591,28 @@
|
|
|
591
591
|
case 0:
|
|
592
592
|
this.h9_1 = 4;
|
|
593
593
|
this.g9_1 = 1;
|
|
594
|
-
var this_0 = asFlow(this.x5n_1
|
|
595
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
596
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
594
|
+
var this_0 = asFlow(this.g5o_1.x5n_1);
|
|
595
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.h5o_1, this.i5o_1, this.j5o_1);
|
|
596
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.j5o_1, null), this);
|
|
597
597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
598
598
|
return suspendResult;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
601
|
continue $sm;
|
|
602
602
|
case 1:
|
|
603
|
-
this.
|
|
603
|
+
this.k5o_1 = suspendResult;
|
|
604
604
|
var tmp_1;
|
|
605
|
-
if (!this.x5n_1.
|
|
606
|
-
tmp_1 = !(this.
|
|
605
|
+
if (!this.g5o_1.x5n_1.h()) {
|
|
606
|
+
tmp_1 = !(this.k5o_1 == null) || this.j5o_1.k1n();
|
|
607
607
|
} else {
|
|
608
608
|
tmp_1 = false;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
if (tmp_1)
|
|
612
|
-
return this.
|
|
613
|
-
this.
|
|
612
|
+
return this.k5o_1;
|
|
613
|
+
this.l5o_1 = serializerForTypeInfo(this.g5o_1.w5n_1.j23(), this.i5o_1);
|
|
614
614
|
this.g9_1 = 2;
|
|
615
|
-
suspendResult = readRemaining(this.
|
|
615
|
+
suspendResult = readRemaining(this.j5o_1, this);
|
|
616
616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
617
617
|
return suspendResult;
|
|
618
618
|
}
|
|
@@ -621,16 +621,16 @@
|
|
|
621
621
|
case 2:
|
|
622
622
|
var contentPacket = suspendResult;
|
|
623
623
|
this.h9_1 = 3;
|
|
624
|
-
var tmp0_subject = this.
|
|
624
|
+
var tmp0_subject = this.g5o_1.w5n_1;
|
|
625
625
|
var tmp_2;
|
|
626
626
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
627
|
-
tmp_2 = this.
|
|
627
|
+
tmp_2 = this.g5o_1.w5n_1.l20(this.l5o_1, readText(contentPacket, this.h5o_1));
|
|
628
628
|
} else {
|
|
629
629
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.g5o_1.w5n_1.n20(this.l5o_1, readByteArray(contentPacket));
|
|
631
631
|
} else {
|
|
632
632
|
discard(contentPacket);
|
|
633
|
-
var message = 'Unsupported format ' + toString(this.
|
|
633
|
+
var message = 'Unsupported format ' + toString(this.g5o_1.w5n_1);
|
|
634
634
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
635
635
|
}
|
|
636
636
|
}
|
|
@@ -661,32 +661,32 @@
|
|
|
661
661
|
while (true);
|
|
662
662
|
};
|
|
663
663
|
function KotlinxSerializationConverter(format) {
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
664
|
+
this.w5n_1 = format;
|
|
665
|
+
this.x5n_1 = extensions(this.w5n_1);
|
|
666
666
|
var tmp;
|
|
667
|
-
var tmp_0 = this.
|
|
667
|
+
var tmp_0 = this.w5n_1;
|
|
668
668
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
669
669
|
tmp = true;
|
|
670
670
|
} else {
|
|
671
|
-
var tmp_1 = this.
|
|
671
|
+
var tmp_1 = this.w5n_1;
|
|
672
672
|
tmp = isInterface(tmp_1, StringFormat);
|
|
673
673
|
}
|
|
674
674
|
// Inline function 'kotlin.require' call
|
|
675
675
|
if (!tmp) {
|
|
676
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
676
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.w5n_1) + ' is not supported.';
|
|
677
677
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
protoOf(KotlinxSerializationConverter).
|
|
680
|
+
protoOf(KotlinxSerializationConverter).m5o = function (contentType, charset, typeInfo, value, $completion) {
|
|
681
681
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
682
682
|
tmp.i9_1 = Unit_instance;
|
|
683
683
|
tmp.j9_1 = null;
|
|
684
684
|
return tmp.o9();
|
|
685
685
|
};
|
|
686
|
-
protoOf(KotlinxSerializationConverter).
|
|
687
|
-
return this.
|
|
686
|
+
protoOf(KotlinxSerializationConverter).o5j = function (contentType, charset, typeInfo, value, $completion) {
|
|
687
|
+
return this.m5o(contentType, charset, typeInfo, value, $completion);
|
|
688
688
|
};
|
|
689
|
-
protoOf(KotlinxSerializationConverter).
|
|
689
|
+
protoOf(KotlinxSerializationConverter).t3e = function (charset, typeInfo, content, $completion) {
|
|
690
690
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
691
691
|
tmp.i9_1 = Unit_instance;
|
|
692
692
|
tmp.j9_1 = null;
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
};
|
|
695
695
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
696
696
|
var module_0 = _this__u8e3s4;
|
|
697
|
-
var tmp0_safe_receiver = typeInfo.
|
|
697
|
+
var tmp0_safe_receiver = typeInfo.h2s_1;
|
|
698
698
|
var tmp;
|
|
699
699
|
if (tmp0_safe_receiver == null) {
|
|
700
700
|
tmp = null;
|
|
@@ -711,13 +711,13 @@
|
|
|
711
711
|
var tmp1_elvis_lhs = tmp;
|
|
712
712
|
var tmp_1;
|
|
713
713
|
if (tmp1_elvis_lhs == null) {
|
|
714
|
-
var tmp2_safe_receiver = module_0.
|
|
714
|
+
var tmp2_safe_receiver = module_0.q20(typeInfo.g2s_1);
|
|
715
715
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
716
716
|
} else {
|
|
717
717
|
tmp_1 = tmp1_elvis_lhs;
|
|
718
718
|
}
|
|
719
719
|
var tmp3_elvis_lhs = tmp_1;
|
|
720
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
720
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.g2s_1), typeInfo) : tmp3_elvis_lhs;
|
|
721
721
|
}
|
|
722
722
|
function guessSerializer(value, module_0) {
|
|
723
723
|
var tmp;
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
748
748
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
749
749
|
} else {
|
|
750
|
-
var tmp3_elvis_lhs = module_0.
|
|
750
|
+
var tmp3_elvis_lhs = module_0.q20(getKClassFromExpression(value));
|
|
751
751
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
752
752
|
}
|
|
753
753
|
}
|
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
}
|
|
760
760
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
761
761
|
var tmp;
|
|
762
|
-
var tmp0_safe_receiver = typeInfo.
|
|
762
|
+
var tmp0_safe_receiver = typeInfo.h2s_1;
|
|
763
763
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.bc()) === true) {
|
|
764
764
|
tmp = get_nullable(_this__u8e3s4);
|
|
765
765
|
} else {
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
var _iterator__ex2g4s_0 = destination.p();
|
|
785
785
|
while (_iterator__ex2g4s_0.q()) {
|
|
786
786
|
var e = _iterator__ex2g4s_0.r();
|
|
787
|
-
var key = e.
|
|
787
|
+
var key = e.h1z().i20();
|
|
788
788
|
if (set.k(key)) {
|
|
789
789
|
list.k(e);
|
|
790
790
|
}
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
var _iterator__ex2g4s_1 = serializers.p();
|
|
798
798
|
while (_iterator__ex2g4s_1.q()) {
|
|
799
799
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
800
|
-
var tmp$ret$5 = item_0.
|
|
800
|
+
var tmp$ret$5 = item_0.h1z().i20();
|
|
801
801
|
destination_0.k(tmp$ret$5);
|
|
802
802
|
}
|
|
803
803
|
// Inline function 'kotlin.error' call
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
}
|
|
807
807
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
808
808
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
809
|
-
if (selected.
|
|
809
|
+
if (selected.h1z().u20()) {
|
|
810
810
|
return selected;
|
|
811
811
|
}
|
|
812
812
|
if (!isInterface(selected, KSerializer))
|