@doordeck/doordeck-headless-sdk 0.162.0 → 0.163.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 +50 -50
- package/kotlin/Kermit-kermit.js +5 -5
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +21 -21
- package/kotlin/doordeck-sdk.js +10121 -10121
- package/kotlin/kotlin-kotlin-stdlib.js +829 -964
- package/kotlin/kotlinx-atomicfu.js +15 -15
- package/kotlin/kotlinx-coroutines-core.js +1899 -1899
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +39 -39
- package/kotlin/kotlinx-io-kotlinx-io-core.js +462 -462
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1795 -1795
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1395 -1395
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +146 -144
- package/kotlin/ktor-ktor-client-core.js +1831 -1819
- package/kotlin/ktor-ktor-client-logging.js +631 -631
- package/kotlin/ktor-ktor-events.js +9 -9
- package/kotlin/ktor-ktor-http-cio.js +339 -339
- package/kotlin/ktor-ktor-http.js +741 -745
- package/kotlin/ktor-ktor-io.js +621 -625
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +136 -136
- package/kotlin/ktor-ktor-serialization.js +60 -60
- package/kotlin/ktor-ktor-utils.js +690 -696
- package/kotlin/ktor-ktor-websockets.js +43 -46
- package/package.json +1 -1
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
6
6
|
var CoroutineImpl = kotlin_kotlin.$_$.h9;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.yb;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.xf;
|
|
9
9
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
10
10
|
var initMetadataForLambda = kotlin_kotlin.$_$.eb;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.b;
|
|
12
12
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
|
|
13
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
+
var toString = kotlin_kotlin.$_$.bc;
|
|
14
14
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
16
16
|
var isInterface = kotlin_kotlin.$_$.ob;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
37
37
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
38
38
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
39
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
39
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.oc;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
41
|
var KtMap = kotlin_kotlin.$_$.j5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.r();
|
|
81
81
|
while (_iterator__ex2g4s.s()) {
|
|
82
82
|
var element = _iterator__ex2g4s.t();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.n5k(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.q54(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.w5k_1 = $$this$unsafeFlow;
|
|
98
|
+
this.x5k_1 = $contentType;
|
|
99
|
+
this.y5k_1 = $charset;
|
|
100
|
+
this.z5k_1 = $typeInfo;
|
|
101
|
+
this.a5l_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).g55 = function (value, $completion) {
|
|
105
|
+
var tmp = this.h55(value, $completion);
|
|
106
106
|
tmp.w8_1 = Unit_instance;
|
|
107
107
|
tmp.x8_1 = null;
|
|
108
108
|
return tmp.c9();
|
|
109
109
|
};
|
|
110
110
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).o9 = function (p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.g55((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).c9 = function () {
|
|
114
114
|
var suspendResult = this.w8_1;
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
switch (tmp) {
|
|
119
119
|
case 0:
|
|
120
120
|
this.v8_1 = 3;
|
|
121
|
-
var tmp0 = this.
|
|
122
|
-
var tmp2 = this.
|
|
123
|
-
this.
|
|
121
|
+
var tmp0 = this.w5k_1;
|
|
122
|
+
var tmp2 = this.b5l_1;
|
|
123
|
+
this.c5l_1 = tmp0;
|
|
124
124
|
this.u8_1 = 1;
|
|
125
|
-
suspendResult = tmp2.
|
|
125
|
+
suspendResult = tmp2.g59(this.x5k_1, this.y5k_1, this.z5k_1, this.a5l_1, this);
|
|
126
126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
127
127
|
return suspendResult;
|
|
128
128
|
}
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
case 1:
|
|
132
132
|
var ARGUMENT = suspendResult;
|
|
133
133
|
this.u8_1 = 2;
|
|
134
|
-
suspendResult = this.
|
|
134
|
+
suspendResult = this.c5l_1.q1b(ARGUMENT, this);
|
|
135
135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
136
|
return suspendResult;
|
|
137
137
|
}
|
|
@@ -153,23 +153,23 @@
|
|
|
153
153
|
}
|
|
154
154
|
while (true);
|
|
155
155
|
};
|
|
156
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
157
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
158
|
-
i.
|
|
156
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).h55 = function (value, completion) {
|
|
157
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.w5k_1, this.x5k_1, this.y5k_1, this.z5k_1, this.a5l_1, completion);
|
|
158
|
+
i.b5l_1 = value;
|
|
159
159
|
return i;
|
|
160
160
|
};
|
|
161
161
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
162
162
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
163
163
|
var l = function (value, $completion) {
|
|
164
|
-
return i.
|
|
164
|
+
return i.g55(value, $completion);
|
|
165
165
|
};
|
|
166
166
|
l.$arity = 1;
|
|
167
167
|
return l;
|
|
168
168
|
}
|
|
169
169
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
170
170
|
CoroutineImpl.call(this, resultContinuation);
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
171
|
+
this.l5l_1 = _this__u8e3s4;
|
|
172
|
+
this.m5l_1 = collector;
|
|
173
173
|
}
|
|
174
174
|
protoOf($collectCOROUTINE$).c9 = function () {
|
|
175
175
|
var suspendResult = this.w8_1;
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
switch (tmp) {
|
|
180
180
|
case 0:
|
|
181
181
|
this.v8_1 = 2;
|
|
182
|
-
var $this$unsafeFlow = this.
|
|
182
|
+
var $this$unsafeFlow = this.m5l_1;
|
|
183
183
|
this.u8_1 = 1;
|
|
184
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
185
|
-
suspendResult = this.
|
|
184
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.l5l_1.o5l_1, this.l5l_1.p5l_1, this.l5l_1.q5l_1, this.l5l_1.r5l_1, null);
|
|
185
|
+
suspendResult = this.l5l_1.n5l_1.s1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
186
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
187
|
return suspendResult;
|
|
188
188
|
}
|
|
@@ -205,20 +205,20 @@
|
|
|
205
205
|
while (true);
|
|
206
206
|
};
|
|
207
207
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
this.
|
|
208
|
+
this.a5m_1 = $$this$unsafeFlow;
|
|
209
|
+
this.b5m_1 = $charset;
|
|
210
|
+
this.c5m_1 = $typeInfo;
|
|
211
|
+
this.d5m_1 = $content;
|
|
212
212
|
CoroutineImpl.call(this, resultContinuation);
|
|
213
213
|
}
|
|
214
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
215
|
-
var tmp = this.
|
|
214
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).g55 = function (value, $completion) {
|
|
215
|
+
var tmp = this.h55(value, $completion);
|
|
216
216
|
tmp.w8_1 = Unit_instance;
|
|
217
217
|
tmp.x8_1 = null;
|
|
218
218
|
return tmp.c9();
|
|
219
219
|
};
|
|
220
220
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).o9 = function (p1, $completion) {
|
|
221
|
-
return this.
|
|
221
|
+
return this.g55((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
222
222
|
};
|
|
223
223
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).c9 = function () {
|
|
224
224
|
var suspendResult = this.w8_1;
|
|
@@ -228,11 +228,11 @@
|
|
|
228
228
|
switch (tmp) {
|
|
229
229
|
case 0:
|
|
230
230
|
this.v8_1 = 3;
|
|
231
|
-
var tmp0 = this.
|
|
232
|
-
var tmp2 = this.
|
|
233
|
-
this.
|
|
231
|
+
var tmp0 = this.a5m_1;
|
|
232
|
+
var tmp2 = this.e5m_1;
|
|
233
|
+
this.f5m_1 = tmp0;
|
|
234
234
|
this.u8_1 = 1;
|
|
235
|
-
suspendResult = tmp2.
|
|
235
|
+
suspendResult = tmp2.i55(this.b5m_1, this.c5m_1, this.d5m_1, this);
|
|
236
236
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
237
237
|
return suspendResult;
|
|
238
238
|
}
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
case 1:
|
|
242
242
|
var ARGUMENT = suspendResult;
|
|
243
243
|
this.u8_1 = 2;
|
|
244
|
-
suspendResult = this.
|
|
244
|
+
suspendResult = this.f5m_1.q1b(ARGUMENT, this);
|
|
245
245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
246
|
return suspendResult;
|
|
247
247
|
}
|
|
@@ -263,23 +263,23 @@
|
|
|
263
263
|
}
|
|
264
264
|
while (true);
|
|
265
265
|
};
|
|
266
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
267
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
268
|
-
i.
|
|
266
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h55 = function (value, completion) {
|
|
267
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.a5m_1, this.b5m_1, this.c5m_1, this.d5m_1, completion);
|
|
268
|
+
i.e5m_1 = value;
|
|
269
269
|
return i;
|
|
270
270
|
};
|
|
271
271
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
272
272
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
273
273
|
var l = function (value, $completion) {
|
|
274
|
-
return i.
|
|
274
|
+
return i.g55(value, $completion);
|
|
275
275
|
};
|
|
276
276
|
l.$arity = 1;
|
|
277
277
|
return l;
|
|
278
278
|
}
|
|
279
279
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
280
280
|
CoroutineImpl.call(this, resultContinuation);
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
281
|
+
this.o5m_1 = _this__u8e3s4;
|
|
282
|
+
this.p5m_1 = collector;
|
|
283
283
|
}
|
|
284
284
|
protoOf($collectCOROUTINE$_0).c9 = function () {
|
|
285
285
|
var suspendResult = this.w8_1;
|
|
@@ -289,10 +289,10 @@
|
|
|
289
289
|
switch (tmp) {
|
|
290
290
|
case 0:
|
|
291
291
|
this.v8_1 = 2;
|
|
292
|
-
var $this$unsafeFlow = this.
|
|
292
|
+
var $this$unsafeFlow = this.p5m_1;
|
|
293
293
|
this.u8_1 = 1;
|
|
294
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
295
|
-
suspendResult = this.
|
|
294
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.o5m_1.r5m_1, this.o5m_1.s5m_1, this.o5m_1.t5m_1, null);
|
|
295
|
+
suspendResult = this.o5m_1.q5m_1.s1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
296
296
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
297
297
|
return suspendResult;
|
|
298
298
|
}
|
|
@@ -317,11 +317,11 @@
|
|
|
317
317
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
318
318
|
var tmp;
|
|
319
319
|
if (isInterface(format, StringFormat)) {
|
|
320
|
-
var content = format.
|
|
320
|
+
var content = format.x1x(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
321
321
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
322
322
|
} else {
|
|
323
323
|
if (isInterface(format, BinaryFormat)) {
|
|
324
|
-
var content_0 = format.
|
|
324
|
+
var content_0 = format.z1x(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
325
325
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
326
326
|
} else {
|
|
327
327
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -331,13 +331,13 @@
|
|
|
331
331
|
return tmp;
|
|
332
332
|
}
|
|
333
333
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
334
|
-
this.
|
|
334
|
+
this.u5m_1 = function_0;
|
|
335
335
|
}
|
|
336
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
337
|
-
return this.
|
|
336
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q1b = function (value, $completion) {
|
|
337
|
+
return this.u5m_1(value, $completion);
|
|
338
338
|
};
|
|
339
339
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d3 = function () {
|
|
340
|
-
return this.
|
|
340
|
+
return this.u5m_1;
|
|
341
341
|
};
|
|
342
342
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
343
343
|
var tmp;
|
|
@@ -358,13 +358,13 @@
|
|
|
358
358
|
return hashCode(this.d3());
|
|
359
359
|
};
|
|
360
360
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
361
|
-
this.
|
|
361
|
+
this.v5m_1 = function_0;
|
|
362
362
|
}
|
|
363
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
364
|
-
return this.
|
|
363
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q1b = function (value, $completion) {
|
|
364
|
+
return this.v5m_1(value, $completion);
|
|
365
365
|
};
|
|
366
366
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d3 = function () {
|
|
367
|
-
return this.
|
|
367
|
+
return this.v5m_1;
|
|
368
368
|
};
|
|
369
369
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
370
370
|
var tmp;
|
|
@@ -385,32 +385,32 @@
|
|
|
385
385
|
return hashCode(this.d3());
|
|
386
386
|
};
|
|
387
387
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
388
|
+
this.n5l_1 = $this;
|
|
389
|
+
this.o5l_1 = $contentType;
|
|
390
|
+
this.p5l_1 = $charset;
|
|
391
|
+
this.q5l_1 = $typeInfo;
|
|
392
|
+
this.r5l_1 = $value;
|
|
393
393
|
}
|
|
394
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
394
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).r1b = function (collector, $completion) {
|
|
395
395
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
396
396
|
tmp.w8_1 = Unit_instance;
|
|
397
397
|
tmp.x8_1 = null;
|
|
398
398
|
return tmp.c9();
|
|
399
399
|
};
|
|
400
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
401
|
-
return this.
|
|
400
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).s1b = function (collector, $completion) {
|
|
401
|
+
return this.r1b(collector, $completion);
|
|
402
402
|
};
|
|
403
403
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
404
404
|
CoroutineImpl.call(this, resultContinuation);
|
|
405
405
|
}
|
|
406
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
407
|
-
var tmp = this.
|
|
406
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).f5n = function (it, $completion) {
|
|
407
|
+
var tmp = this.g5n(it, $completion);
|
|
408
408
|
tmp.w8_1 = Unit_instance;
|
|
409
409
|
tmp.x8_1 = null;
|
|
410
410
|
return tmp.c9();
|
|
411
411
|
};
|
|
412
412
|
protoOf(KotlinxSerializationConverter$serialize$slambda).o9 = function (p1, $completion) {
|
|
413
|
-
return this.
|
|
413
|
+
return this.f5n((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
414
414
|
};
|
|
415
415
|
protoOf(KotlinxSerializationConverter$serialize$slambda).c9 = function () {
|
|
416
416
|
var suspendResult = this.w8_1;
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
var tmp = this.u8_1;
|
|
420
420
|
if (tmp === 0) {
|
|
421
421
|
this.v8_1 = 1;
|
|
422
|
-
return !(this.
|
|
422
|
+
return !(this.e5n_1 == null);
|
|
423
423
|
} else if (tmp === 1) {
|
|
424
424
|
throw this.x8_1;
|
|
425
425
|
}
|
|
@@ -429,46 +429,46 @@
|
|
|
429
429
|
}
|
|
430
430
|
while (true);
|
|
431
431
|
};
|
|
432
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
432
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).g5n = function (it, completion) {
|
|
433
433
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
434
|
-
i.
|
|
434
|
+
i.e5n_1 = it;
|
|
435
435
|
return i;
|
|
436
436
|
};
|
|
437
437
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
438
438
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
439
439
|
var l = function (it, $completion) {
|
|
440
|
-
return i.
|
|
440
|
+
return i.f5n(it, $completion);
|
|
441
441
|
};
|
|
442
442
|
l.$arity = 1;
|
|
443
443
|
return l;
|
|
444
444
|
}
|
|
445
445
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
446
|
+
this.q5m_1 = $this;
|
|
447
|
+
this.r5m_1 = $charset;
|
|
448
|
+
this.s5m_1 = $typeInfo;
|
|
449
|
+
this.t5m_1 = $content;
|
|
450
450
|
}
|
|
451
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
451
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).r1b = function (collector, $completion) {
|
|
452
452
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
453
453
|
tmp.w8_1 = Unit_instance;
|
|
454
454
|
tmp.x8_1 = null;
|
|
455
455
|
return tmp.c9();
|
|
456
456
|
};
|
|
457
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
458
|
-
return this.
|
|
457
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).s1b = function (collector, $completion) {
|
|
458
|
+
return this.r1b(collector, $completion);
|
|
459
459
|
};
|
|
460
460
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
461
|
-
this.
|
|
461
|
+
this.p5n_1 = $content;
|
|
462
462
|
CoroutineImpl.call(this, resultContinuation);
|
|
463
463
|
}
|
|
464
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
465
|
-
var tmp = this.
|
|
464
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).h56 = function (it, $completion) {
|
|
465
|
+
var tmp = this.h55(it, $completion);
|
|
466
466
|
tmp.w8_1 = Unit_instance;
|
|
467
467
|
tmp.x8_1 = null;
|
|
468
468
|
return tmp.c9();
|
|
469
469
|
};
|
|
470
470
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).o9 = function (p1, $completion) {
|
|
471
|
-
return this.
|
|
471
|
+
return this.h56((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
472
472
|
};
|
|
473
473
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).c9 = function () {
|
|
474
474
|
var suspendResult = this.w8_1;
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
var tmp = this.u8_1;
|
|
478
478
|
if (tmp === 0) {
|
|
479
479
|
this.v8_1 = 1;
|
|
480
|
-
return !(this.
|
|
480
|
+
return !(this.q5n_1 == null) || this.p5n_1.u1l();
|
|
481
481
|
} else if (tmp === 1) {
|
|
482
482
|
throw this.x8_1;
|
|
483
483
|
}
|
|
@@ -487,26 +487,26 @@
|
|
|
487
487
|
}
|
|
488
488
|
while (true);
|
|
489
489
|
};
|
|
490
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
491
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
492
|
-
i.
|
|
490
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).h55 = function (it, completion) {
|
|
491
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.p5n_1, completion);
|
|
492
|
+
i.q5n_1 = it;
|
|
493
493
|
return i;
|
|
494
494
|
};
|
|
495
495
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
496
496
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
497
497
|
var l = function (it, $completion) {
|
|
498
|
-
return i.
|
|
498
|
+
return i.h56(it, $completion);
|
|
499
499
|
};
|
|
500
500
|
l.$arity = 1;
|
|
501
501
|
return l;
|
|
502
502
|
}
|
|
503
503
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
504
504
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
|
-
this.
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
505
|
+
this.z5n_1 = _this__u8e3s4;
|
|
506
|
+
this.a5o_1 = contentType;
|
|
507
|
+
this.b5o_1 = charset;
|
|
508
|
+
this.c5o_1 = typeInfo;
|
|
509
|
+
this.d5o_1 = value;
|
|
510
510
|
}
|
|
511
511
|
protoOf($serializeCOROUTINE$).c9 = function () {
|
|
512
512
|
var suspendResult = this.w8_1;
|
|
@@ -517,8 +517,8 @@
|
|
|
517
517
|
case 0:
|
|
518
518
|
this.v8_1 = 2;
|
|
519
519
|
this.u8_1 = 1;
|
|
520
|
-
var this_0 = asFlow(this.
|
|
521
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
520
|
+
var this_0 = asFlow(this.z5n_1.f5o_1);
|
|
521
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.a5o_1, this.b5o_1, this.c5o_1, this.d5o_1);
|
|
522
522
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
523
523
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
524
524
|
return suspendResult;
|
|
@@ -531,12 +531,12 @@
|
|
|
531
531
|
return fromExtension;
|
|
532
532
|
var tmp_1;
|
|
533
533
|
try {
|
|
534
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
534
|
+
tmp_1 = serializerForTypeInfo(this.z5n_1.e5o_1.w20(), this.c5o_1);
|
|
535
535
|
} catch ($p) {
|
|
536
536
|
var tmp_2;
|
|
537
537
|
if ($p instanceof SerializationException) {
|
|
538
538
|
var cause = $p;
|
|
539
|
-
tmp_2 = guessSerializer(this.
|
|
539
|
+
tmp_2 = guessSerializer(this.d5o_1, this.z5n_1.e5o_1.w20());
|
|
540
540
|
} else {
|
|
541
541
|
throw $p;
|
|
542
542
|
}
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
var serializer = tmp_1;
|
|
547
|
-
return serializeContent(this.
|
|
547
|
+
return serializeContent(this.z5n_1, serializer, this.z5n_1.e5o_1, this.d5o_1, this.a5o_1, this.b5o_1);
|
|
548
548
|
case 2:
|
|
549
549
|
throw this.x8_1;
|
|
550
550
|
}
|
|
@@ -561,10 +561,10 @@
|
|
|
561
561
|
};
|
|
562
562
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
563
563
|
CoroutineImpl.call(this, resultContinuation);
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
564
|
+
this.o5o_1 = _this__u8e3s4;
|
|
565
|
+
this.p5o_1 = charset;
|
|
566
|
+
this.q5o_1 = typeInfo;
|
|
567
|
+
this.r5o_1 = content;
|
|
568
568
|
}
|
|
569
569
|
protoOf($deserializeCOROUTINE$).c9 = function () {
|
|
570
570
|
var suspendResult = this.w8_1;
|
|
@@ -575,9 +575,9 @@
|
|
|
575
575
|
case 0:
|
|
576
576
|
this.v8_1 = 4;
|
|
577
577
|
this.u8_1 = 1;
|
|
578
|
-
var this_0 = asFlow(this.
|
|
579
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
580
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
578
|
+
var this_0 = asFlow(this.o5o_1.f5o_1);
|
|
579
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.p5o_1, this.q5o_1, this.r5o_1);
|
|
580
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.r5o_1, null), this);
|
|
581
581
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
582
582
|
return suspendResult;
|
|
583
583
|
}
|
|
@@ -586,17 +586,17 @@
|
|
|
586
586
|
case 1:
|
|
587
587
|
var fromExtension = suspendResult;
|
|
588
588
|
var tmp_1;
|
|
589
|
-
if (!this.
|
|
590
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
589
|
+
if (!this.o5o_1.f5o_1.j()) {
|
|
590
|
+
tmp_1 = !(fromExtension == null) || this.r5o_1.u1l();
|
|
591
591
|
} else {
|
|
592
592
|
tmp_1 = false;
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
if (tmp_1)
|
|
596
596
|
return fromExtension;
|
|
597
|
-
this.
|
|
597
|
+
this.s5o_1 = serializerForTypeInfo(this.o5o_1.e5o_1.w20(), this.q5o_1);
|
|
598
598
|
this.u8_1 = 2;
|
|
599
|
-
suspendResult = readRemaining(this.
|
|
599
|
+
suspendResult = readRemaining(this.r5o_1, this);
|
|
600
600
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
601
601
|
return suspendResult;
|
|
602
602
|
}
|
|
@@ -605,16 +605,16 @@
|
|
|
605
605
|
case 2:
|
|
606
606
|
var contentPacket = suspendResult;
|
|
607
607
|
this.v8_1 = 3;
|
|
608
|
-
var tmp0_subject = this.
|
|
608
|
+
var tmp0_subject = this.o5o_1.e5o_1;
|
|
609
609
|
var tmp_2;
|
|
610
610
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
611
|
-
tmp_2 = this.
|
|
611
|
+
tmp_2 = this.o5o_1.e5o_1.y1x(this.s5o_1, readText(contentPacket, this.p5o_1));
|
|
612
612
|
} else {
|
|
613
613
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
614
|
-
tmp_2 = this.
|
|
614
|
+
tmp_2 = this.o5o_1.e5o_1.a1y(this.s5o_1, readByteArray(contentPacket));
|
|
615
615
|
} else {
|
|
616
616
|
discard(contentPacket);
|
|
617
|
-
var message = 'Unsupported format ' + toString(this.
|
|
617
|
+
var message = 'Unsupported format ' + toString(this.o5o_1.e5o_1);
|
|
618
618
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
619
619
|
}
|
|
620
620
|
}
|
|
@@ -645,32 +645,32 @@
|
|
|
645
645
|
while (true);
|
|
646
646
|
};
|
|
647
647
|
function KotlinxSerializationConverter(format) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
648
|
+
this.e5o_1 = format;
|
|
649
|
+
this.f5o_1 = extensions(this.e5o_1);
|
|
650
650
|
var tmp;
|
|
651
|
-
var tmp_0 = this.
|
|
651
|
+
var tmp_0 = this.e5o_1;
|
|
652
652
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
653
653
|
tmp = true;
|
|
654
654
|
} else {
|
|
655
|
-
var tmp_1 = this.
|
|
655
|
+
var tmp_1 = this.e5o_1;
|
|
656
656
|
tmp = isInterface(tmp_1, StringFormat);
|
|
657
657
|
}
|
|
658
658
|
// Inline function 'kotlin.require' call
|
|
659
659
|
if (!tmp) {
|
|
660
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
660
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.e5o_1) + ' is not supported.';
|
|
661
661
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
|
-
protoOf(KotlinxSerializationConverter).
|
|
664
|
+
protoOf(KotlinxSerializationConverter).t5o = function (contentType, charset, typeInfo, value, $completion) {
|
|
665
665
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
666
666
|
tmp.w8_1 = Unit_instance;
|
|
667
667
|
tmp.x8_1 = null;
|
|
668
668
|
return tmp.c9();
|
|
669
669
|
};
|
|
670
|
-
protoOf(KotlinxSerializationConverter).
|
|
671
|
-
return this.
|
|
670
|
+
protoOf(KotlinxSerializationConverter).g59 = function (contentType, charset, typeInfo, value, $completion) {
|
|
671
|
+
return this.t5o(contentType, charset, typeInfo, value, $completion);
|
|
672
672
|
};
|
|
673
|
-
protoOf(KotlinxSerializationConverter).
|
|
673
|
+
protoOf(KotlinxSerializationConverter).i55 = function (charset, typeInfo, content, $completion) {
|
|
674
674
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
675
675
|
tmp.w8_1 = Unit_instance;
|
|
676
676
|
tmp.x8_1 = null;
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
};
|
|
679
679
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
680
680
|
var module_0 = _this__u8e3s4;
|
|
681
|
-
var tmp0_safe_receiver = typeInfo.
|
|
681
|
+
var tmp0_safe_receiver = typeInfo.q2p_1;
|
|
682
682
|
var tmp;
|
|
683
683
|
if (tmp0_safe_receiver == null) {
|
|
684
684
|
tmp = null;
|
|
@@ -695,23 +695,23 @@
|
|
|
695
695
|
var tmp1_elvis_lhs = tmp;
|
|
696
696
|
var tmp_1;
|
|
697
697
|
if (tmp1_elvis_lhs == null) {
|
|
698
|
-
var tmp2_safe_receiver = module_0.
|
|
698
|
+
var tmp2_safe_receiver = module_0.d1y(typeInfo.p2p_1);
|
|
699
699
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
700
700
|
} else {
|
|
701
701
|
tmp_1 = tmp1_elvis_lhs;
|
|
702
702
|
}
|
|
703
703
|
var tmp3_elvis_lhs = tmp_1;
|
|
704
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
704
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.p2p_1), typeInfo) : tmp3_elvis_lhs;
|
|
705
705
|
}
|
|
706
706
|
function guessSerializer(value, module_0) {
|
|
707
707
|
var tmp;
|
|
708
708
|
if (value == null) {
|
|
709
709
|
tmp = get_nullable(serializer_0(StringCompanionObject_instance));
|
|
710
710
|
} else {
|
|
711
|
-
if (
|
|
711
|
+
if (isInterface(value, KtList)) {
|
|
712
712
|
tmp = ListSerializer(elementSerializer(value, module_0));
|
|
713
713
|
} else {
|
|
714
|
-
if (
|
|
714
|
+
if (isArray(value)) {
|
|
715
715
|
var tmp1_safe_receiver = firstOrNull_0(value);
|
|
716
716
|
var tmp_0;
|
|
717
717
|
if (tmp1_safe_receiver == null) {
|
|
@@ -723,15 +723,15 @@
|
|
|
723
723
|
var tmp2_elvis_lhs = tmp_0;
|
|
724
724
|
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(StringCompanionObject_instance)) : tmp2_elvis_lhs;
|
|
725
725
|
} else {
|
|
726
|
-
if (
|
|
726
|
+
if (isInterface(value, KtSet)) {
|
|
727
727
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
728
728
|
} else {
|
|
729
|
-
if (
|
|
729
|
+
if (isInterface(value, KtMap)) {
|
|
730
730
|
var keySerializer = elementSerializer(value.j2(), module_0);
|
|
731
731
|
var valueSerializer = elementSerializer(value.k2(), module_0);
|
|
732
732
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
733
733
|
} else {
|
|
734
|
-
var tmp3_elvis_lhs = module_0.
|
|
734
|
+
var tmp3_elvis_lhs = module_0.d1y(getKClassFromExpression(value));
|
|
735
735
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
}
|
|
744
744
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
745
745
|
var tmp;
|
|
746
|
-
var tmp0_safe_receiver = typeInfo.
|
|
746
|
+
var tmp0_safe_receiver = typeInfo.q2p_1;
|
|
747
747
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.lb()) === true) {
|
|
748
748
|
tmp = get_nullable(_this__u8e3s4);
|
|
749
749
|
} else {
|
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
var _iterator__ex2g4s_0 = destination.r();
|
|
769
769
|
while (_iterator__ex2g4s_0.s()) {
|
|
770
770
|
var e = _iterator__ex2g4s_0.t();
|
|
771
|
-
var key = e.
|
|
771
|
+
var key = e.u1w().v1x();
|
|
772
772
|
if (set.p(key)) {
|
|
773
773
|
list.p(e);
|
|
774
774
|
}
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
var _iterator__ex2g4s_1 = serializers.r();
|
|
782
782
|
while (_iterator__ex2g4s_1.s()) {
|
|
783
783
|
var item_0 = _iterator__ex2g4s_1.t();
|
|
784
|
-
var tmp$ret$5 = item_0.
|
|
784
|
+
var tmp$ret$5 = item_0.u1w().v1x();
|
|
785
785
|
destination_0.p(tmp$ret$5);
|
|
786
786
|
}
|
|
787
787
|
// Inline function 'kotlin.error' call
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
}
|
|
791
791
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
792
792
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
793
|
-
if (selected.
|
|
793
|
+
if (selected.u1w().h1y()) {
|
|
794
794
|
return selected;
|
|
795
795
|
}
|
|
796
796
|
if (!isInterface(selected, KSerializer))
|