@doordeck/doordeck-headless-sdk 0.56.0 → 0.57.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 +1258 -1258
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +7 -7
- package/kotlin/doordeck-sdk.js +9034 -9034
- package/kotlin/kotlin-kotlin-stdlib.js +1117 -904
- package/kotlin/kotlinx-atomicfu.js +15 -15
- package/kotlin/kotlinx-coroutines-core.js +1672 -1642
- package/kotlin/kotlinx-io-kotlinx-io-core.js +431 -431
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1781 -1781
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1387 -1387
- package/kotlin/ktor-ktor-client-ktor-client-core.js +2012 -1885
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +130 -130
- package/kotlin/ktor-ktor-http.js +699 -698
- package/kotlin/ktor-ktor-io.js +483 -458
- package/kotlin/ktor-ktor-shared-ktor-events.js +10 -10
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +145 -145
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +68 -68
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +45 -45
- package/kotlin/ktor-ktor-utils.js +564 -543
- package/package.json +1 -1
- package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -6
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
6
6
|
var CoroutineImpl = kotlin_kotlin.$_$.l9;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.jb;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.we;
|
|
9
9
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
|
|
10
10
|
var initMetadataForLambda = kotlin_kotlin.$_$.na;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.h;
|
|
12
12
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
+
var toString = kotlin_kotlin.$_$.nb;
|
|
14
14
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.y1;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
16
16
|
var isInterface = kotlin_kotlin.$_$.xa;
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
22
22
|
var equals = kotlin_kotlin.$_$.ba;
|
|
23
23
|
var FunctionAdapter = kotlin_kotlin.$_$.p9;
|
|
24
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
24
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
25
25
|
var hashCode = kotlin_kotlin.$_$.ha;
|
|
26
26
|
var initMetadataForClass = kotlin_kotlin.$_$.ia;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
28
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
28
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
30
30
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
31
31
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.d;
|
|
@@ -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.v4b(format);
|
|
86
86
|
if (tmp0_safe_receiver == null)
|
|
87
87
|
null;
|
|
88
88
|
else {
|
|
@@ -94,24 +94,24 @@
|
|
|
94
94
|
return destination;
|
|
95
95
|
}
|
|
96
96
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
97
|
-
_this__u8e3s4.
|
|
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.e4c_1 = $$this$unsafeFlow;
|
|
101
|
+
this.f4c_1 = $contentType;
|
|
102
|
+
this.g4c_1 = $charset;
|
|
103
|
+
this.h4c_1 = $typeInfo;
|
|
104
|
+
this.i4c_1 = $value;
|
|
105
105
|
CoroutineImpl.call(this, resultContinuation);
|
|
106
106
|
}
|
|
107
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
108
|
-
var tmp = this.
|
|
107
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).k2s = function (value, $completion) {
|
|
108
|
+
var tmp = this.l2s(value, $completion);
|
|
109
109
|
tmp.f9_1 = Unit_instance;
|
|
110
110
|
tmp.g9_1 = null;
|
|
111
111
|
return tmp.l9();
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
114
|
-
return this.
|
|
114
|
+
return this.k2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
115
115
|
};
|
|
116
116
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l9 = function () {
|
|
117
117
|
var suspendResult = this.f9_1;
|
|
@@ -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.k4c_1 = this.e4c_1;
|
|
126
126
|
var tmp_1 = this;
|
|
127
|
-
tmp_1.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
127
|
+
tmp_1.l4c_1 = this.j4c_1;
|
|
128
|
+
this.m4c_1 = this.k4c_1;
|
|
129
|
+
this.n4c_1 = this.l4c_1;
|
|
130
130
|
var tmp_2 = this;
|
|
131
|
-
tmp_2.
|
|
132
|
-
this.
|
|
131
|
+
tmp_2.o4c_1 = this.n4c_1;
|
|
132
|
+
this.p4c_1 = this.o4c_1;
|
|
133
133
|
this.d9_1 = 1;
|
|
134
|
-
suspendResult = this.
|
|
134
|
+
suspendResult = this.p4c_1.u4b(this.f4c_1, this.g4c_1, this.h4c_1, this.i4c_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.q4c_1 = suspendResult;
|
|
142
142
|
this.d9_1 = 2;
|
|
143
|
-
suspendResult = this.
|
|
143
|
+
suspendResult = this.m4c_1.p14(this.q4c_1, this);
|
|
144
144
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
145
145
|
return suspendResult;
|
|
146
146
|
}
|
|
@@ -162,23 +162,23 @@
|
|
|
162
162
|
}
|
|
163
163
|
while (true);
|
|
164
164
|
};
|
|
165
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
166
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
167
|
-
i.
|
|
165
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l2s = function (value, completion) {
|
|
166
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.e4c_1, this.f4c_1, this.g4c_1, this.h4c_1, this.i4c_1, completion);
|
|
167
|
+
i.j4c_1 = value;
|
|
168
168
|
return i;
|
|
169
169
|
};
|
|
170
170
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
171
171
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
172
172
|
var l = function (value, $completion) {
|
|
173
|
-
return i.
|
|
173
|
+
return i.k2s(value, $completion);
|
|
174
174
|
};
|
|
175
175
|
l.$arity = 1;
|
|
176
176
|
return l;
|
|
177
177
|
}
|
|
178
178
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
179
179
|
CoroutineImpl.call(this, resultContinuation);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.z4c_1 = _this__u8e3s4;
|
|
181
|
+
this.a4d_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.b4d_1 = this.a4d_1;
|
|
193
|
+
this.c4d_1 = this.b4d_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.c4d_1, this.z4c_1.e4d_1, this.z4c_1.f4d_1, this.z4c_1.g4d_1, this.z4c_1.h4d_1, null);
|
|
196
|
+
suspendResult = this.z4c_1.d4d_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,20 +216,20 @@
|
|
|
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.q4d_1 = $$this$unsafeFlow;
|
|
220
|
+
this.r4d_1 = $charset;
|
|
221
|
+
this.s4d_1 = $typeInfo;
|
|
222
|
+
this.t4d_1 = $content;
|
|
223
223
|
CoroutineImpl.call(this, resultContinuation);
|
|
224
224
|
}
|
|
225
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
226
|
-
var tmp = this.
|
|
225
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).k2s = function (value, $completion) {
|
|
226
|
+
var tmp = this.l2s(value, $completion);
|
|
227
227
|
tmp.f9_1 = Unit_instance;
|
|
228
228
|
tmp.g9_1 = null;
|
|
229
229
|
return tmp.l9();
|
|
230
230
|
};
|
|
231
231
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v9 = function (p1, $completion) {
|
|
232
|
-
return this.
|
|
232
|
+
return this.k2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
233
233
|
};
|
|
234
234
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l9 = function () {
|
|
235
235
|
var suspendResult = this.f9_1;
|
|
@@ -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.v4d_1 = this.q4d_1;
|
|
244
244
|
var tmp_1 = this;
|
|
245
|
-
tmp_1.
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
245
|
+
tmp_1.w4d_1 = this.u4d_1;
|
|
246
|
+
this.x4d_1 = this.v4d_1;
|
|
247
|
+
this.y4d_1 = this.w4d_1;
|
|
248
248
|
var tmp_2 = this;
|
|
249
|
-
tmp_2.
|
|
250
|
-
this.
|
|
249
|
+
tmp_2.z4d_1 = this.y4d_1;
|
|
250
|
+
this.a4e_1 = this.z4d_1;
|
|
251
251
|
this.d9_1 = 1;
|
|
252
|
-
suspendResult = this.
|
|
252
|
+
suspendResult = this.a4e_1.m2s(this.r4d_1, this.s4d_1, this.t4d_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.b4e_1 = suspendResult;
|
|
260
260
|
this.d9_1 = 2;
|
|
261
|
-
suspendResult = this.
|
|
261
|
+
suspendResult = this.x4d_1.p14(this.b4e_1, this);
|
|
262
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
263
|
return suspendResult;
|
|
264
264
|
}
|
|
@@ -280,23 +280,23 @@
|
|
|
280
280
|
}
|
|
281
281
|
while (true);
|
|
282
282
|
};
|
|
283
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
284
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
285
|
-
i.
|
|
283
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l2s = function (value, completion) {
|
|
284
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.q4d_1, this.r4d_1, this.s4d_1, this.t4d_1, completion);
|
|
285
|
+
i.u4d_1 = value;
|
|
286
286
|
return i;
|
|
287
287
|
};
|
|
288
288
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
289
289
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
290
290
|
var l = function (value, $completion) {
|
|
291
|
-
return i.
|
|
291
|
+
return i.k2s(value, $completion);
|
|
292
292
|
};
|
|
293
293
|
l.$arity = 1;
|
|
294
294
|
return l;
|
|
295
295
|
}
|
|
296
296
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
297
297
|
CoroutineImpl.call(this, resultContinuation);
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
298
|
+
this.k4e_1 = _this__u8e3s4;
|
|
299
|
+
this.l4e_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.m4e_1 = this.l4e_1;
|
|
311
|
+
this.n4e_1 = this.m4e_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.n4e_1, this.k4e_1.p4e_1, this.k4e_1.q4e_1, this.k4e_1.r4e_1, null);
|
|
314
|
+
suspendResult = this.k4e_1.o4e_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
|
}
|
|
@@ -336,11 +336,11 @@
|
|
|
336
336
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
337
337
|
var tmp;
|
|
338
338
|
if (isInterface(format, StringFormat)) {
|
|
339
|
-
var content = format.
|
|
339
|
+
var content = format.u1n(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
340
340
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
341
341
|
} else {
|
|
342
342
|
if (isInterface(format, BinaryFormat)) {
|
|
343
|
-
var content_0 = format.
|
|
343
|
+
var content_0 = format.x1n(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
344
344
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
345
345
|
} else {
|
|
346
346
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -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.s4e_1 = function_0;
|
|
354
354
|
}
|
|
355
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
356
|
-
return this.
|
|
355
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p14 = function (value, $completion) {
|
|
356
|
+
return this.s4e_1(value, $completion);
|
|
357
357
|
};
|
|
358
358
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
|
|
359
|
-
return this.
|
|
359
|
+
return this.s4e_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.t4e_1 = function_0;
|
|
381
381
|
}
|
|
382
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
383
|
-
return this.
|
|
382
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p14 = function (value, $completion) {
|
|
383
|
+
return this.t4e_1(value, $completion);
|
|
384
384
|
};
|
|
385
385
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r3 = function () {
|
|
386
|
-
return this.
|
|
386
|
+
return this.t4e_1;
|
|
387
387
|
};
|
|
388
388
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
389
389
|
var tmp;
|
|
@@ -404,32 +404,32 @@
|
|
|
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.d4d_1 = $this;
|
|
408
|
+
this.e4d_1 = $contentType;
|
|
409
|
+
this.f4d_1 = $charset;
|
|
410
|
+
this.g4d_1 = $typeInfo;
|
|
411
|
+
this.h4d_1 = $value;
|
|
412
412
|
}
|
|
413
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
413
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).q14 = function (collector, $completion) {
|
|
414
414
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
415
415
|
tmp.f9_1 = Unit_instance;
|
|
416
416
|
tmp.g9_1 = null;
|
|
417
417
|
return tmp.l9();
|
|
418
418
|
};
|
|
419
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
420
|
-
return this.
|
|
419
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).r14 = function (collector, $completion) {
|
|
420
|
+
return this.q14(collector, $completion);
|
|
421
421
|
};
|
|
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).d4f = function (it, $completion) {
|
|
426
|
+
var tmp = this.e4f(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.d4f((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.c4f_1 == null);
|
|
442
442
|
} else if (tmp === 1) {
|
|
443
443
|
throw this.g9_1;
|
|
444
444
|
}
|
|
@@ -448,46 +448,46 @@
|
|
|
448
448
|
}
|
|
449
449
|
while (true);
|
|
450
450
|
};
|
|
451
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
451
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).e4f = function (it, completion) {
|
|
452
452
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
453
|
-
i.
|
|
453
|
+
i.c4f_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.d4f(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.o4e_1 = $this;
|
|
466
|
+
this.p4e_1 = $charset;
|
|
467
|
+
this.q4e_1 = $typeInfo;
|
|
468
|
+
this.r4e_1 = $content;
|
|
469
469
|
}
|
|
470
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
470
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).q14 = function (collector, $completion) {
|
|
471
471
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
472
472
|
tmp.f9_1 = Unit_instance;
|
|
473
473
|
tmp.g9_1 = null;
|
|
474
474
|
return tmp.l9();
|
|
475
475
|
};
|
|
476
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
477
|
-
return this.
|
|
476
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).r14 = function (collector, $completion) {
|
|
477
|
+
return this.q14(collector, $completion);
|
|
478
478
|
};
|
|
479
479
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
480
|
-
this.
|
|
480
|
+
this.n4f_1 = $content;
|
|
481
481
|
CoroutineImpl.call(this, resultContinuation);
|
|
482
482
|
}
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
484
|
-
var tmp = this.
|
|
483
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).n2t = function (it, $completion) {
|
|
484
|
+
var tmp = this.l2s(it, $completion);
|
|
485
485
|
tmp.f9_1 = Unit_instance;
|
|
486
486
|
tmp.g9_1 = null;
|
|
487
487
|
return tmp.l9();
|
|
488
488
|
};
|
|
489
489
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).v9 = function (p1, $completion) {
|
|
490
|
-
return this.
|
|
490
|
+
return this.n2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
491
491
|
};
|
|
492
492
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l9 = function () {
|
|
493
493
|
var suspendResult = this.f9_1;
|
|
@@ -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.o4f_1 == null) || this.n4f_1.t1g();
|
|
500
500
|
} else if (tmp === 1) {
|
|
501
501
|
throw this.g9_1;
|
|
502
502
|
}
|
|
@@ -506,26 +506,26 @@
|
|
|
506
506
|
}
|
|
507
507
|
while (true);
|
|
508
508
|
};
|
|
509
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
510
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
511
|
-
i.
|
|
509
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l2s = function (it, completion) {
|
|
510
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.n4f_1, completion);
|
|
511
|
+
i.o4f_1 = it;
|
|
512
512
|
return i;
|
|
513
513
|
};
|
|
514
514
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
515
515
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
516
516
|
var l = function (it, $completion) {
|
|
517
|
-
return i.
|
|
517
|
+
return i.n2t(it, $completion);
|
|
518
518
|
};
|
|
519
519
|
l.$arity = 1;
|
|
520
520
|
return l;
|
|
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.x4f_1 = _this__u8e3s4;
|
|
525
|
+
this.y4f_1 = contentType;
|
|
526
|
+
this.z4f_1 = charset;
|
|
527
|
+
this.a4g_1 = typeInfo;
|
|
528
|
+
this.b4g_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.x4f_1.d4g_1);
|
|
540
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.y4f_1, this.z4f_1, this.a4g_1, this.b4g_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.x4f_1.c4g_1.w1n(), this.a4g_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.b4g_1, this.x4f_1.c4g_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.x4f_1, serializer, this.x4f_1.c4g_1, this.b4g_1, this.y4f_1, this.z4f_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.m4g_1 = _this__u8e3s4;
|
|
584
|
+
this.n4g_1 = charset;
|
|
585
|
+
this.o4g_1 = typeInfo;
|
|
586
|
+
this.p4g_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.m4g_1.d4g_1);
|
|
598
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.n4g_1, this.o4g_1, this.p4g_1);
|
|
599
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.p4g_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.q4g_1 = suspendResult;
|
|
607
607
|
var tmp_1;
|
|
608
|
-
if (!this.
|
|
609
|
-
tmp_1 = !(this.
|
|
608
|
+
if (!this.m4g_1.d4g_1.h()) {
|
|
609
|
+
tmp_1 = !(this.q4g_1 == null) || this.p4g_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.q4g_1;
|
|
616
|
+
this.r4g_1 = serializerForTypeInfo(this.m4g_1.c4g_1.w1n(), this.o4g_1);
|
|
617
617
|
this.d9_1 = 2;
|
|
618
|
-
suspendResult = readRemaining(this.
|
|
618
|
+
suspendResult = readRemaining(this.p4g_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.m4g_1.c4g_1;
|
|
628
628
|
var tmp_2;
|
|
629
629
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
630
|
-
tmp_2 = this.
|
|
630
|
+
tmp_2 = this.m4g_1.c4g_1.v1n(this.r4g_1, readText(contentPacket, this.n4g_1));
|
|
631
631
|
} else {
|
|
632
632
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
633
|
-
tmp_2 = this.
|
|
633
|
+
tmp_2 = this.m4g_1.c4g_1.y1n(this.r4g_1, readByteArray(contentPacket));
|
|
634
634
|
} else {
|
|
635
635
|
discard(contentPacket);
|
|
636
|
-
var message = 'Unsupported format ' + toString(this.
|
|
636
|
+
var message = 'Unsupported format ' + toString(this.m4g_1.c4g_1);
|
|
637
637
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
638
638
|
}
|
|
639
639
|
}
|
|
@@ -664,33 +664,33 @@
|
|
|
664
664
|
while (true);
|
|
665
665
|
};
|
|
666
666
|
function KotlinxSerializationConverter(format) {
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
667
|
+
this.c4g_1 = format;
|
|
668
|
+
this.d4g_1 = extensions(this.c4g_1);
|
|
669
669
|
var tmp;
|
|
670
|
-
var tmp_0 = this.
|
|
670
|
+
var tmp_0 = this.c4g_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.c4g_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.c4g_1) + ' is not supported.';
|
|
681
681
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
protoOf(KotlinxSerializationConverter).
|
|
684
|
+
protoOf(KotlinxSerializationConverter).s4g = 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).u4b = function (contentType, charset, typeInfo, value, $completion) {
|
|
691
|
+
return this.s4g(contentType, charset, typeInfo, value, $completion);
|
|
692
692
|
};
|
|
693
|
-
protoOf(KotlinxSerializationConverter).
|
|
693
|
+
protoOf(KotlinxSerializationConverter).m2s = function (charset, typeInfo, content, $completion) {
|
|
694
694
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
695
695
|
tmp.f9_1 = Unit_instance;
|
|
696
696
|
tmp.g9_1 = null;
|
|
@@ -698,7 +698,7 @@
|
|
|
698
698
|
};
|
|
699
699
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
700
700
|
var module_0 = _this__u8e3s4;
|
|
701
|
-
var tmp0_safe_receiver = typeInfo.
|
|
701
|
+
var tmp0_safe_receiver = typeInfo.z2c_1;
|
|
702
702
|
var tmp;
|
|
703
703
|
if (tmp0_safe_receiver == null) {
|
|
704
704
|
tmp = null;
|
|
@@ -716,13 +716,13 @@
|
|
|
716
716
|
var tmp1_elvis_lhs = tmp;
|
|
717
717
|
var tmp_1;
|
|
718
718
|
if (tmp1_elvis_lhs == null) {
|
|
719
|
-
var tmp2_safe_receiver = module_0.
|
|
719
|
+
var tmp2_safe_receiver = module_0.b1o(typeInfo.y2c_1);
|
|
720
720
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
721
721
|
} else {
|
|
722
722
|
tmp_1 = tmp1_elvis_lhs;
|
|
723
723
|
}
|
|
724
724
|
var tmp3_elvis_lhs = tmp_1;
|
|
725
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
725
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.y2c_1), typeInfo) : tmp3_elvis_lhs;
|
|
726
726
|
}
|
|
727
727
|
function guessSerializer(value, module_0) {
|
|
728
728
|
var tmp;
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
var valueSerializer = elementSerializer(value.m2(), module_0);
|
|
754
754
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
755
755
|
} else {
|
|
756
|
-
var tmp3_elvis_lhs = module_0.
|
|
756
|
+
var tmp3_elvis_lhs = module_0.b1o(getKClassFromExpression(value));
|
|
757
757
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
}
|
|
766
766
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
767
767
|
var tmp;
|
|
768
|
-
var tmp0_safe_receiver = typeInfo.
|
|
768
|
+
var tmp0_safe_receiver = typeInfo.z2c_1;
|
|
769
769
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ub()) === true) {
|
|
770
770
|
tmp = get_nullable(_this__u8e3s4);
|
|
771
771
|
} else {
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
while (_iterator__ex2g4s_0.q()) {
|
|
793
793
|
var e = _iterator__ex2g4s_0.r();
|
|
794
794
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
795
|
-
var key = e.
|
|
795
|
+
var key = e.r1m().s1n();
|
|
796
796
|
if (set.k(key)) {
|
|
797
797
|
list.k(e);
|
|
798
798
|
}
|
|
@@ -806,7 +806,7 @@
|
|
|
806
806
|
while (_iterator__ex2g4s_1.q()) {
|
|
807
807
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
808
808
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
809
|
-
var tmp$ret$5 = item_0.
|
|
809
|
+
var tmp$ret$5 = item_0.r1m().s1n();
|
|
810
810
|
destination_0.k(tmp$ret$5);
|
|
811
811
|
}
|
|
812
812
|
// Inline function 'kotlin.error' call
|
|
@@ -815,7 +815,7 @@
|
|
|
815
815
|
}
|
|
816
816
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
817
817
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
818
|
-
if (selected.
|
|
818
|
+
if (selected.r1m().f1o()) {
|
|
819
819
|
return selected;
|
|
820
820
|
}
|
|
821
821
|
if (!isInterface(selected, KSerializer))
|