@doordeck/doordeck-headless-sdk 0.67.0 → 0.69.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/Kotlin-DateTime-library-kotlinx-datetime.js +1172 -1172
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -6
- package/kotlin/doordeck-sdk.js +7595 -11752
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1058 -1058
- package/kotlin/ktor-ktor-client-ktor-client-core.js +825 -813
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +203 -203
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +119 -119
- package/kotlin/ktor-ktor-http.js +6 -11
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +5 -5
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +104 -104
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +1 -1
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
var isInterface = kotlin_kotlin.$_$.ya;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.l;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
19
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
19
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.p1;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
22
22
|
var equals = kotlin_kotlin.$_$.ba;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
var element = _iterator__ex2g4s.r();
|
|
83
83
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
84
84
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
85
|
-
var tmp0_safe_receiver = element.
|
|
85
|
+
var tmp0_safe_receiver = element.w4b(format);
|
|
86
86
|
if (tmp0_safe_receiver == null)
|
|
87
87
|
null;
|
|
88
88
|
else {
|
|
@@ -97,11 +97,11 @@
|
|
|
97
97
|
_this__u8e3s4.o2r(contentType, new KotlinxSerializationConverter(format));
|
|
98
98
|
}
|
|
99
99
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
104
|
-
this.
|
|
100
|
+
this.f4c_1 = $$this$unsafeFlow;
|
|
101
|
+
this.g4c_1 = $contentType;
|
|
102
|
+
this.h4c_1 = $charset;
|
|
103
|
+
this.i4c_1 = $typeInfo;
|
|
104
|
+
this.j4c_1 = $value;
|
|
105
105
|
CoroutineImpl.call(this, resultContinuation);
|
|
106
106
|
}
|
|
107
107
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).k2s = function (value, $completion) {
|
|
@@ -122,25 +122,25 @@
|
|
|
122
122
|
case 0:
|
|
123
123
|
this.e9_1 = 3;
|
|
124
124
|
var tmp_0 = this;
|
|
125
|
-
tmp_0.
|
|
125
|
+
tmp_0.l4c_1 = this.f4c_1;
|
|
126
126
|
var tmp_1 = this;
|
|
127
|
-
tmp_1.
|
|
128
|
-
this.m4c_1 = this.k4c_1;
|
|
127
|
+
tmp_1.m4c_1 = this.k4c_1;
|
|
129
128
|
this.n4c_1 = this.l4c_1;
|
|
129
|
+
this.o4c_1 = this.m4c_1;
|
|
130
130
|
var tmp_2 = this;
|
|
131
|
-
tmp_2.
|
|
132
|
-
this.
|
|
131
|
+
tmp_2.p4c_1 = this.o4c_1;
|
|
132
|
+
this.q4c_1 = this.p4c_1;
|
|
133
133
|
this.d9_1 = 1;
|
|
134
|
-
suspendResult = this.
|
|
134
|
+
suspendResult = this.q4c_1.v4b(this.g4c_1, this.h4c_1, this.i4c_1, this.j4c_1, this);
|
|
135
135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
136
|
return suspendResult;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
continue $sm;
|
|
140
140
|
case 1:
|
|
141
|
-
this.
|
|
141
|
+
this.r4c_1 = suspendResult;
|
|
142
142
|
this.d9_1 = 2;
|
|
143
|
-
suspendResult = this.
|
|
143
|
+
suspendResult = this.n4c_1.p14(this.r4c_1, this);
|
|
144
144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
145
145
|
return suspendResult;
|
|
146
146
|
}
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
while (true);
|
|
164
164
|
};
|
|
165
165
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l2s = function (value, completion) {
|
|
166
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
167
|
-
i.
|
|
166
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.f4c_1, this.g4c_1, this.h4c_1, this.i4c_1, this.j4c_1, completion);
|
|
167
|
+
i.k4c_1 = value;
|
|
168
168
|
return i;
|
|
169
169
|
};
|
|
170
170
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
@@ -177,8 +177,8 @@
|
|
|
177
177
|
}
|
|
178
178
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
179
179
|
CoroutineImpl.call(this, resultContinuation);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.a4d_1 = _this__u8e3s4;
|
|
181
|
+
this.b4d_1 = collector;
|
|
182
182
|
}
|
|
183
183
|
protoOf($collectCOROUTINE$2).l9 = function () {
|
|
184
184
|
var suspendResult = this.f9_1;
|
|
@@ -189,11 +189,11 @@
|
|
|
189
189
|
case 0:
|
|
190
190
|
this.e9_1 = 2;
|
|
191
191
|
var tmp_0 = this;
|
|
192
|
-
tmp_0.
|
|
193
|
-
this.
|
|
192
|
+
tmp_0.c4d_1 = this.b4d_1;
|
|
193
|
+
this.d4d_1 = this.c4d_1;
|
|
194
194
|
this.d9_1 = 1;
|
|
195
|
-
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.
|
|
196
|
-
suspendResult = this.
|
|
195
|
+
var tmp_1 = KotlinxSerializationConverter$serialize$o$collect$slambda_0(this.d4d_1, this.a4d_1.f4d_1, this.a4d_1.g4d_1, this.a4d_1.h4d_1, this.a4d_1.i4d_1, null);
|
|
196
|
+
suspendResult = this.a4d_1.e4d_1.r14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
197
197
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
198
198
|
return suspendResult;
|
|
199
199
|
}
|
|
@@ -216,10 +216,10 @@
|
|
|
216
216
|
while (true);
|
|
217
217
|
};
|
|
218
218
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
222
|
-
this.
|
|
219
|
+
this.r4d_1 = $$this$unsafeFlow;
|
|
220
|
+
this.s4d_1 = $charset;
|
|
221
|
+
this.t4d_1 = $typeInfo;
|
|
222
|
+
this.u4d_1 = $content;
|
|
223
223
|
CoroutineImpl.call(this, resultContinuation);
|
|
224
224
|
}
|
|
225
225
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).k2s = function (value, $completion) {
|
|
@@ -240,25 +240,25 @@
|
|
|
240
240
|
case 0:
|
|
241
241
|
this.e9_1 = 3;
|
|
242
242
|
var tmp_0 = this;
|
|
243
|
-
tmp_0.
|
|
243
|
+
tmp_0.w4d_1 = this.r4d_1;
|
|
244
244
|
var tmp_1 = this;
|
|
245
|
-
tmp_1.
|
|
246
|
-
this.x4d_1 = this.v4d_1;
|
|
245
|
+
tmp_1.x4d_1 = this.v4d_1;
|
|
247
246
|
this.y4d_1 = this.w4d_1;
|
|
247
|
+
this.z4d_1 = this.x4d_1;
|
|
248
248
|
var tmp_2 = this;
|
|
249
|
-
tmp_2.
|
|
250
|
-
this.
|
|
249
|
+
tmp_2.a4e_1 = this.z4d_1;
|
|
250
|
+
this.b4e_1 = this.a4e_1;
|
|
251
251
|
this.d9_1 = 1;
|
|
252
|
-
suspendResult = this.
|
|
252
|
+
suspendResult = this.b4e_1.m2s(this.s4d_1, this.t4d_1, this.u4d_1, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
continue $sm;
|
|
258
258
|
case 1:
|
|
259
|
-
this.
|
|
259
|
+
this.c4e_1 = suspendResult;
|
|
260
260
|
this.d9_1 = 2;
|
|
261
|
-
suspendResult = this.
|
|
261
|
+
suspendResult = this.y4d_1.p14(this.c4e_1, this);
|
|
262
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
263
|
return suspendResult;
|
|
264
264
|
}
|
|
@@ -281,8 +281,8 @@
|
|
|
281
281
|
while (true);
|
|
282
282
|
};
|
|
283
283
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l2s = function (value, completion) {
|
|
284
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
285
|
-
i.
|
|
284
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.r4d_1, this.s4d_1, this.t4d_1, this.u4d_1, completion);
|
|
285
|
+
i.v4d_1 = value;
|
|
286
286
|
return i;
|
|
287
287
|
};
|
|
288
288
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
@@ -295,8 +295,8 @@
|
|
|
295
295
|
}
|
|
296
296
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
297
297
|
CoroutineImpl.call(this, resultContinuation);
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
298
|
+
this.l4e_1 = _this__u8e3s4;
|
|
299
|
+
this.m4e_1 = collector;
|
|
300
300
|
}
|
|
301
301
|
protoOf($collectCOROUTINE$3).l9 = function () {
|
|
302
302
|
var suspendResult = this.f9_1;
|
|
@@ -307,11 +307,11 @@
|
|
|
307
307
|
case 0:
|
|
308
308
|
this.e9_1 = 2;
|
|
309
309
|
var tmp_0 = this;
|
|
310
|
-
tmp_0.
|
|
311
|
-
this.
|
|
310
|
+
tmp_0.n4e_1 = this.m4e_1;
|
|
311
|
+
this.o4e_1 = this.n4e_1;
|
|
312
312
|
this.d9_1 = 1;
|
|
313
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
314
|
-
suspendResult = this.
|
|
313
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.o4e_1, this.l4e_1.q4e_1, this.l4e_1.r4e_1, this.l4e_1.s4e_1, null);
|
|
314
|
+
suspendResult = this.l4e_1.p4e_1.r14(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
315
315
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
316
316
|
return suspendResult;
|
|
317
317
|
}
|
|
@@ -350,13 +350,13 @@
|
|
|
350
350
|
return tmp;
|
|
351
351
|
}
|
|
352
352
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
353
|
-
this.
|
|
353
|
+
this.t4e_1 = function_0;
|
|
354
354
|
}
|
|
355
355
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p14 = function (value, $completion) {
|
|
356
|
-
return this.
|
|
356
|
+
return this.t4e_1(value, $completion);
|
|
357
357
|
};
|
|
358
358
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
|
|
359
|
-
return this.
|
|
359
|
+
return this.t4e_1;
|
|
360
360
|
};
|
|
361
361
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
362
362
|
var tmp;
|
|
@@ -377,13 +377,13 @@
|
|
|
377
377
|
return hashCode(this.r3());
|
|
378
378
|
};
|
|
379
379
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
380
|
-
this.
|
|
380
|
+
this.u4e_1 = function_0;
|
|
381
381
|
}
|
|
382
382
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p14 = function (value, $completion) {
|
|
383
|
-
return this.
|
|
383
|
+
return this.u4e_1(value, $completion);
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r3 = function () {
|
|
386
|
-
return this.
|
|
386
|
+
return this.u4e_1;
|
|
387
387
|
};
|
|
388
388
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
389
389
|
var tmp;
|
|
@@ -404,11 +404,11 @@
|
|
|
404
404
|
return hashCode(this.r3());
|
|
405
405
|
};
|
|
406
406
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
407
|
+
this.e4d_1 = $this;
|
|
408
|
+
this.f4d_1 = $contentType;
|
|
409
|
+
this.g4d_1 = $charset;
|
|
410
|
+
this.h4d_1 = $typeInfo;
|
|
411
|
+
this.i4d_1 = $value;
|
|
412
412
|
}
|
|
413
413
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).q14 = function (collector, $completion) {
|
|
414
414
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -422,14 +422,14 @@
|
|
|
422
422
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
423
423
|
CoroutineImpl.call(this, resultContinuation);
|
|
424
424
|
}
|
|
425
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
426
|
-
var tmp = this.
|
|
425
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).e4f = function (it, $completion) {
|
|
426
|
+
var tmp = this.f4f(it, $completion);
|
|
427
427
|
tmp.f9_1 = Unit_instance;
|
|
428
428
|
tmp.g9_1 = null;
|
|
429
429
|
return tmp.l9();
|
|
430
430
|
};
|
|
431
431
|
protoOf(KotlinxSerializationConverter$serialize$slambda).v9 = function (p1, $completion) {
|
|
432
|
-
return this.
|
|
432
|
+
return this.e4f((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
433
433
|
};
|
|
434
434
|
protoOf(KotlinxSerializationConverter$serialize$slambda).l9 = function () {
|
|
435
435
|
var suspendResult = this.f9_1;
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
var tmp = this.d9_1;
|
|
439
439
|
if (tmp === 0) {
|
|
440
440
|
this.e9_1 = 1;
|
|
441
|
-
return !(this.
|
|
441
|
+
return !(this.d4f_1 == null);
|
|
442
442
|
} else if (tmp === 1) {
|
|
443
443
|
throw this.g9_1;
|
|
444
444
|
}
|
|
@@ -448,24 +448,24 @@
|
|
|
448
448
|
}
|
|
449
449
|
while (true);
|
|
450
450
|
};
|
|
451
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
451
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).f4f = function (it, completion) {
|
|
452
452
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
453
|
-
i.
|
|
453
|
+
i.d4f_1 = it;
|
|
454
454
|
return i;
|
|
455
455
|
};
|
|
456
456
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
457
457
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
458
458
|
var l = function (it, $completion) {
|
|
459
|
-
return i.
|
|
459
|
+
return i.e4f(it, $completion);
|
|
460
460
|
};
|
|
461
461
|
l.$arity = 1;
|
|
462
462
|
return l;
|
|
463
463
|
}
|
|
464
464
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
465
|
-
this.
|
|
466
|
-
this.
|
|
467
|
-
this.
|
|
468
|
-
this.
|
|
465
|
+
this.p4e_1 = $this;
|
|
466
|
+
this.q4e_1 = $charset;
|
|
467
|
+
this.r4e_1 = $typeInfo;
|
|
468
|
+
this.s4e_1 = $content;
|
|
469
469
|
}
|
|
470
470
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).q14 = function (collector, $completion) {
|
|
471
471
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
return this.q14(collector, $completion);
|
|
478
478
|
};
|
|
479
479
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
480
|
-
this.
|
|
480
|
+
this.o4f_1 = $content;
|
|
481
481
|
CoroutineImpl.call(this, resultContinuation);
|
|
482
482
|
}
|
|
483
483
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).n2t = function (it, $completion) {
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
var tmp = this.d9_1;
|
|
497
497
|
if (tmp === 0) {
|
|
498
498
|
this.e9_1 = 1;
|
|
499
|
-
return !(this.
|
|
499
|
+
return !(this.p4f_1 == null) || this.o4f_1.t1g();
|
|
500
500
|
} else if (tmp === 1) {
|
|
501
501
|
throw this.g9_1;
|
|
502
502
|
}
|
|
@@ -507,8 +507,8 @@
|
|
|
507
507
|
while (true);
|
|
508
508
|
};
|
|
509
509
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l2s = function (it, completion) {
|
|
510
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
511
|
-
i.
|
|
510
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.o4f_1, completion);
|
|
511
|
+
i.p4f_1 = it;
|
|
512
512
|
return i;
|
|
513
513
|
};
|
|
514
514
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
@@ -521,11 +521,11 @@
|
|
|
521
521
|
}
|
|
522
522
|
function $serializeCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
523
523
|
CoroutineImpl.call(this, resultContinuation);
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
524
|
+
this.y4f_1 = _this__u8e3s4;
|
|
525
|
+
this.z4f_1 = contentType;
|
|
526
|
+
this.a4g_1 = charset;
|
|
527
|
+
this.b4g_1 = typeInfo;
|
|
528
|
+
this.c4g_1 = value;
|
|
529
529
|
}
|
|
530
530
|
protoOf($serializeCOROUTINE$0).l9 = function () {
|
|
531
531
|
var suspendResult = this.f9_1;
|
|
@@ -536,8 +536,8 @@
|
|
|
536
536
|
case 0:
|
|
537
537
|
this.e9_1 = 2;
|
|
538
538
|
this.d9_1 = 1;
|
|
539
|
-
var this_0 = asFlow(this.
|
|
540
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
539
|
+
var this_0 = asFlow(this.y4f_1.e4g_1);
|
|
540
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.z4f_1, this.a4g_1, this.b4g_1, this.c4g_1);
|
|
541
541
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
542
542
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
543
543
|
return suspendResult;
|
|
@@ -550,12 +550,12 @@
|
|
|
550
550
|
return fromExtension;
|
|
551
551
|
var tmp_1;
|
|
552
552
|
try {
|
|
553
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
553
|
+
tmp_1 = serializerForTypeInfo(this.y4f_1.d4g_1.w1n(), this.b4g_1);
|
|
554
554
|
} catch ($p) {
|
|
555
555
|
var tmp_2;
|
|
556
556
|
if ($p instanceof SerializationException) {
|
|
557
557
|
var cause = $p;
|
|
558
|
-
tmp_2 = guessSerializer(this.
|
|
558
|
+
tmp_2 = guessSerializer(this.c4g_1, this.y4f_1.d4g_1.w1n());
|
|
559
559
|
} else {
|
|
560
560
|
throw $p;
|
|
561
561
|
}
|
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
}
|
|
564
564
|
|
|
565
565
|
var serializer = tmp_1;
|
|
566
|
-
return serializeContent(this.
|
|
566
|
+
return serializeContent(this.y4f_1, serializer, this.y4f_1.d4g_1, this.c4g_1, this.z4f_1, this.a4g_1);
|
|
567
567
|
case 2:
|
|
568
568
|
throw this.g9_1;
|
|
569
569
|
}
|
|
@@ -580,10 +580,10 @@
|
|
|
580
580
|
};
|
|
581
581
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
582
582
|
CoroutineImpl.call(this, resultContinuation);
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
583
|
+
this.n4g_1 = _this__u8e3s4;
|
|
584
|
+
this.o4g_1 = charset;
|
|
585
|
+
this.p4g_1 = typeInfo;
|
|
586
|
+
this.q4g_1 = content;
|
|
587
587
|
}
|
|
588
588
|
protoOf($deserializeCOROUTINE$1).l9 = function () {
|
|
589
589
|
var suspendResult = this.f9_1;
|
|
@@ -594,28 +594,28 @@
|
|
|
594
594
|
case 0:
|
|
595
595
|
this.e9_1 = 4;
|
|
596
596
|
this.d9_1 = 1;
|
|
597
|
-
var this_0 = asFlow(this.
|
|
598
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
599
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
597
|
+
var this_0 = asFlow(this.n4g_1.e4g_1);
|
|
598
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.o4g_1, this.p4g_1, this.q4g_1);
|
|
599
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.q4g_1, null), this);
|
|
600
600
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
601
601
|
return suspendResult;
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
continue $sm;
|
|
605
605
|
case 1:
|
|
606
|
-
this.
|
|
606
|
+
this.r4g_1 = suspendResult;
|
|
607
607
|
var tmp_1;
|
|
608
|
-
if (!this.
|
|
609
|
-
tmp_1 = !(this.
|
|
608
|
+
if (!this.n4g_1.e4g_1.h()) {
|
|
609
|
+
tmp_1 = !(this.r4g_1 == null) || this.q4g_1.t1g();
|
|
610
610
|
} else {
|
|
611
611
|
tmp_1 = false;
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
if (tmp_1)
|
|
615
|
-
return this.
|
|
616
|
-
this.
|
|
615
|
+
return this.r4g_1;
|
|
616
|
+
this.s4g_1 = serializerForTypeInfo(this.n4g_1.d4g_1.w1n(), this.p4g_1);
|
|
617
617
|
this.d9_1 = 2;
|
|
618
|
-
suspendResult = readRemaining(this.
|
|
618
|
+
suspendResult = readRemaining(this.q4g_1, this);
|
|
619
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
620
|
return suspendResult;
|
|
621
621
|
}
|
|
@@ -624,16 +624,16 @@
|
|
|
624
624
|
case 2:
|
|
625
625
|
var contentPacket = suspendResult;
|
|
626
626
|
this.e9_1 = 3;
|
|
627
|
-
var tmp0_subject = this.
|
|
627
|
+
var tmp0_subject = this.n4g_1.d4g_1;
|
|
628
628
|
var tmp_2;
|
|
629
629
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.n4g_1.d4g_1.v1n(this.s4g_1, readText(contentPacket, this.o4g_1));
|
|
631
631
|
} else {
|
|
632
632
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
633
|
-
tmp_2 = this.
|
|
633
|
+
tmp_2 = this.n4g_1.d4g_1.y1n(this.s4g_1, readByteArray(contentPacket));
|
|
634
634
|
} else {
|
|
635
635
|
discard(contentPacket);
|
|
636
|
-
var message = 'Unsupported format ' + toString(this.
|
|
636
|
+
var message = 'Unsupported format ' + toString(this.n4g_1.d4g_1);
|
|
637
637
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
638
638
|
}
|
|
639
639
|
}
|
|
@@ -664,31 +664,31 @@
|
|
|
664
664
|
while (true);
|
|
665
665
|
};
|
|
666
666
|
function KotlinxSerializationConverter(format) {
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
667
|
+
this.d4g_1 = format;
|
|
668
|
+
this.e4g_1 = extensions(this.d4g_1);
|
|
669
669
|
var tmp;
|
|
670
|
-
var tmp_0 = this.
|
|
670
|
+
var tmp_0 = this.d4g_1;
|
|
671
671
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
672
672
|
tmp = true;
|
|
673
673
|
} else {
|
|
674
|
-
var tmp_1 = this.
|
|
674
|
+
var tmp_1 = this.d4g_1;
|
|
675
675
|
tmp = isInterface(tmp_1, StringFormat);
|
|
676
676
|
}
|
|
677
677
|
// Inline function 'kotlin.require' call
|
|
678
678
|
if (!tmp) {
|
|
679
679
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
680
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
680
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.d4g_1) + ' is not supported.';
|
|
681
681
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
protoOf(KotlinxSerializationConverter).
|
|
684
|
+
protoOf(KotlinxSerializationConverter).t4g = function (contentType, charset, typeInfo, value, $completion) {
|
|
685
685
|
var tmp = new $serializeCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
686
686
|
tmp.f9_1 = Unit_instance;
|
|
687
687
|
tmp.g9_1 = null;
|
|
688
688
|
return tmp.l9();
|
|
689
689
|
};
|
|
690
|
-
protoOf(KotlinxSerializationConverter).
|
|
691
|
-
return this.
|
|
690
|
+
protoOf(KotlinxSerializationConverter).v4b = function (contentType, charset, typeInfo, value, $completion) {
|
|
691
|
+
return this.t4g(contentType, charset, typeInfo, value, $completion);
|
|
692
692
|
};
|
|
693
693
|
protoOf(KotlinxSerializationConverter).m2s = function (charset, typeInfo, content, $completion) {
|
|
694
694
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.h;
|
|
12
12
|
var initMetadataForInterface = kotlin_kotlin.$_$.na;
|
|
13
13
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
14
|
-
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.
|
|
14
|
+
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.m1;
|
|
15
15
|
var forName = kotlin_io_ktor_ktor_io.$_$.m;
|
|
16
16
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.n;
|
|
17
17
|
var equals = kotlin_kotlin.$_$.ba;
|