@doordeck/doordeck-headless-sdk 0.199.0 → 0.200.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/README.md +9 -9
- package/kotlin/Kermit-kermit-core.js +60 -60
- package/kotlin/Kermit-kermit.js +9 -9
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.js +6980 -6979
- package/kotlin/kotlin-kotlin-stdlib.js +483 -462
- package/kotlin/kotlinx-atomicfu.js +9 -9
- package/kotlin/kotlinx-coroutines-core.js +126 -125
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +21 -21
- package/kotlin/kotlinx-io-kotlinx-io-core.js +36 -36
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +199 -198
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1245 -1244
- package/kotlin/ktor-ktor-client-auth.js +264 -264
- package/kotlin/ktor-ktor-client-content-negotiation.js +155 -155
- package/kotlin/ktor-ktor-client-core.js +2361 -2247
- package/kotlin/ktor-ktor-client-logging.js +621 -621
- package/kotlin/ktor-ktor-events.js +8 -8
- package/kotlin/ktor-ktor-http-cio.js +70 -70
- package/kotlin/ktor-ktor-http.js +118 -117
- package/kotlin/ktor-ktor-io.js +67 -67
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +128 -128
- package/kotlin/ktor-ktor-serialization.js +16 -16
- package/kotlin/ktor-ktor-utils.js +160 -139
- package/kotlin/ktor-ktor-websockets.js +53 -53
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization_kotlinx, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var VOID = kotlin_kotlin.$_$.
|
|
4
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
5
5
|
var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.b;
|
|
6
6
|
var serialization = kotlin_io_ktor_ktor_serialization_kotlinx.$_$.a;
|
|
7
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
7
|
+
var Unit_instance = kotlin_kotlin.$_$.a1;
|
|
8
8
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
9
9
|
//endregion
|
|
10
10
|
//region block: pre-declaration
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
}
|
|
23
23
|
function DefaultJson$lambda($this$Json) {
|
|
24
24
|
_init_properties_JsonSupport_kt__yf438r();
|
|
25
|
-
$this$Json.
|
|
26
|
-
$this$Json.
|
|
27
|
-
$this$Json.
|
|
28
|
-
$this$Json.
|
|
29
|
-
$this$Json.
|
|
30
|
-
$this$Json.
|
|
25
|
+
$this$Json.g5q_1 = true;
|
|
26
|
+
$this$Json.j5q_1 = true;
|
|
27
|
+
$this$Json.u5q_1 = true;
|
|
28
|
+
$this$Json.v5q_1 = true;
|
|
29
|
+
$this$Json.k5q_1 = false;
|
|
30
|
+
$this$Json.w5q_1 = false;
|
|
31
31
|
return Unit_instance;
|
|
32
32
|
}
|
|
33
33
|
var properties_initialized_JsonSupport_kt_9cgd93;
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_serialization) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
10
|
-
var VOID = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
14
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.a1;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.q9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ec;
|
|
8
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a9;
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.mb;
|
|
10
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
11
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.jb;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.hc;
|
|
13
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s2;
|
|
14
|
+
var THROW_CCE = kotlin_kotlin.$_$.eg;
|
|
15
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.wb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
18
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
19
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.a2;
|
|
20
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.x;
|
|
21
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
21
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
22
|
+
var equals = kotlin_kotlin.$_$.za;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ma;
|
|
24
24
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
25
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
25
|
+
var hashCode = kotlin_kotlin.$_$.gb;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.hb;
|
|
27
27
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
28
28
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
29
29
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
30
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
30
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
31
31
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.j;
|
|
32
32
|
var discard = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
33
33
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
34
34
|
var readText = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
35
35
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
36
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
38
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
39
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
36
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o2;
|
|
37
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
38
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
39
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.vc;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
41
|
+
var KtMap = kotlin_kotlin.$_$.p5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
43
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
44
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
45
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
43
|
+
var KtSet = kotlin_kotlin.$_$.v5;
|
|
44
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.c7;
|
|
45
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.m;
|
|
46
46
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
47
47
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
48
|
-
var isArray = kotlin_kotlin.$_$.
|
|
49
|
-
var KtList = kotlin_kotlin.$_$.
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.ob;
|
|
49
|
+
var KtList = kotlin_kotlin.$_$.m5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
52
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
53
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
54
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
55
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
56
|
-
var Collection = kotlin_kotlin.$_$.
|
|
57
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
51
|
+
var filterNotNull = kotlin_kotlin.$_$.a7;
|
|
52
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.a6;
|
|
53
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j1;
|
|
54
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
55
|
+
var singleOrNull = kotlin_kotlin.$_$.f8;
|
|
56
|
+
var Collection = kotlin_kotlin.$_$.h5;
|
|
57
|
+
var emptyList = kotlin_kotlin.$_$.v6;
|
|
58
58
|
//endregion
|
|
59
59
|
//region block: pre-declaration
|
|
60
60
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
var _iterator__ex2g4s = tmp0.t();
|
|
81
81
|
while (_iterator__ex2g4s.u()) {
|
|
82
82
|
var element = _iterator__ex2g4s.v();
|
|
83
|
-
var tmp0_safe_receiver = element.
|
|
83
|
+
var tmp0_safe_receiver = element.h61(format);
|
|
84
84
|
if (tmp0_safe_receiver == null)
|
|
85
85
|
null;
|
|
86
86
|
else {
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
_this__u8e3s4.u3l(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.q61_1 = $$this$unsafeFlow;
|
|
98
|
+
this.r61_1 = $contentType;
|
|
99
|
+
this.s61_1 = $charset;
|
|
100
|
+
this.t61_1 = $typeInfo;
|
|
101
|
+
this.u61_1 = $value;
|
|
102
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
103
103
|
}
|
|
104
104
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).k3m = function (value, $completion) {
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
switch (tmp) {
|
|
119
119
|
case 0:
|
|
120
120
|
this.b9_1 = 3;
|
|
121
|
-
var tmp0 = this.
|
|
122
|
-
var tmp2 = this.
|
|
123
|
-
this.
|
|
121
|
+
var tmp0 = this.q61_1;
|
|
122
|
+
var tmp2 = this.v61_1;
|
|
123
|
+
this.w61_1 = tmp0;
|
|
124
124
|
this.a9_1 = 1;
|
|
125
|
-
suspendResult = tmp2.
|
|
125
|
+
suspendResult = tmp2.m5p(this.r61_1, this.s61_1, this.t61_1, this.u61_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.a9_1 = 2;
|
|
134
|
-
suspendResult = this.
|
|
134
|
+
suspendResult = this.w61_1.t1d(ARGUMENT, this);
|
|
135
135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
136
136
|
return suspendResult;
|
|
137
137
|
}
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
while (true);
|
|
155
155
|
};
|
|
156
156
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).l3m = function (value, completion) {
|
|
157
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
158
|
-
i.
|
|
157
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.q61_1, this.r61_1, this.s61_1, this.t61_1, this.u61_1, completion);
|
|
158
|
+
i.v61_1 = value;
|
|
159
159
|
return i;
|
|
160
160
|
};
|
|
161
161
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
}
|
|
169
169
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
170
170
|
CoroutineImpl.call(this, resultContinuation);
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
171
|
+
this.f62_1 = _this__u8e3s4;
|
|
172
|
+
this.g62_1 = collector;
|
|
173
173
|
}
|
|
174
174
|
protoOf($collectCOROUTINE$).i9 = function () {
|
|
175
175
|
var suspendResult = this.c9_1;
|
|
@@ -179,10 +179,10 @@
|
|
|
179
179
|
switch (tmp) {
|
|
180
180
|
case 0:
|
|
181
181
|
this.b9_1 = 2;
|
|
182
|
-
var $this$unsafeFlow = this.
|
|
182
|
+
var $this$unsafeFlow = this.g62_1;
|
|
183
183
|
this.a9_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.f62_1.i62_1, this.f62_1.j62_1, this.f62_1.k62_1, this.f62_1.l62_1, null);
|
|
185
|
+
suspendResult = this.f62_1.h62_1.v1d(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
186
186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
187
187
|
return suspendResult;
|
|
188
188
|
}
|
|
@@ -205,10 +205,10 @@
|
|
|
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.u62_1 = $$this$unsafeFlow;
|
|
209
|
+
this.v62_1 = $charset;
|
|
210
|
+
this.w62_1 = $typeInfo;
|
|
211
|
+
this.x62_1 = $content;
|
|
212
212
|
CoroutineImpl.call(this, resultContinuation);
|
|
213
213
|
}
|
|
214
214
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).k3m = function (value, $completion) {
|
|
@@ -228,11 +228,11 @@
|
|
|
228
228
|
switch (tmp) {
|
|
229
229
|
case 0:
|
|
230
230
|
this.b9_1 = 3;
|
|
231
|
-
var tmp0 = this.
|
|
232
|
-
var tmp2 = this.
|
|
233
|
-
this.
|
|
231
|
+
var tmp0 = this.u62_1;
|
|
232
|
+
var tmp2 = this.y62_1;
|
|
233
|
+
this.z62_1 = tmp0;
|
|
234
234
|
this.a9_1 = 1;
|
|
235
|
-
suspendResult = tmp2.m3m(this.
|
|
235
|
+
suspendResult = tmp2.m3m(this.v62_1, this.w62_1, this.x62_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.a9_1 = 2;
|
|
244
|
-
suspendResult = this.
|
|
244
|
+
suspendResult = this.z62_1.t1d(ARGUMENT, this);
|
|
245
245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
246
|
return suspendResult;
|
|
247
247
|
}
|
|
@@ -264,8 +264,8 @@
|
|
|
264
264
|
while (true);
|
|
265
265
|
};
|
|
266
266
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).l3m = function (value, completion) {
|
|
267
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
268
|
-
i.
|
|
267
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.u62_1, this.v62_1, this.w62_1, this.x62_1, completion);
|
|
268
|
+
i.y62_1 = value;
|
|
269
269
|
return i;
|
|
270
270
|
};
|
|
271
271
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
@@ -278,8 +278,8 @@
|
|
|
278
278
|
}
|
|
279
279
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
280
280
|
CoroutineImpl.call(this, resultContinuation);
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
281
|
+
this.i63_1 = _this__u8e3s4;
|
|
282
|
+
this.j63_1 = collector;
|
|
283
283
|
}
|
|
284
284
|
protoOf($collectCOROUTINE$_0).i9 = function () {
|
|
285
285
|
var suspendResult = this.c9_1;
|
|
@@ -289,10 +289,10 @@
|
|
|
289
289
|
switch (tmp) {
|
|
290
290
|
case 0:
|
|
291
291
|
this.b9_1 = 2;
|
|
292
|
-
var $this$unsafeFlow = this.
|
|
292
|
+
var $this$unsafeFlow = this.j63_1;
|
|
293
293
|
this.a9_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.i63_1.l63_1, this.i63_1.m63_1, this.i63_1.n63_1, null);
|
|
295
|
+
suspendResult = this.i63_1.k63_1.v1d(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
296
296
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
297
297
|
return suspendResult;
|
|
298
298
|
}
|
|
@@ -332,13 +332,13 @@
|
|
|
332
332
|
return tmp;
|
|
333
333
|
}
|
|
334
334
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
335
|
-
this.
|
|
335
|
+
this.o63_1 = function_0;
|
|
336
336
|
}
|
|
337
337
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t1d = function (value, $completion) {
|
|
338
|
-
return this.
|
|
338
|
+
return this.o63_1(value, $completion);
|
|
339
339
|
};
|
|
340
340
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
341
|
-
return this.
|
|
341
|
+
return this.o63_1;
|
|
342
342
|
};
|
|
343
343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
344
344
|
var tmp;
|
|
@@ -359,13 +359,13 @@
|
|
|
359
359
|
return hashCode(this.q3());
|
|
360
360
|
};
|
|
361
361
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
362
|
-
this.
|
|
362
|
+
this.p63_1 = function_0;
|
|
363
363
|
}
|
|
364
364
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t1d = function (value, $completion) {
|
|
365
|
-
return this.
|
|
365
|
+
return this.p63_1(value, $completion);
|
|
366
366
|
};
|
|
367
367
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
368
|
-
return this.
|
|
368
|
+
return this.p63_1;
|
|
369
369
|
};
|
|
370
370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
371
371
|
var tmp;
|
|
@@ -386,11 +386,11 @@
|
|
|
386
386
|
return hashCode(this.q3());
|
|
387
387
|
};
|
|
388
388
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
389
|
+
this.h62_1 = $this;
|
|
390
|
+
this.i62_1 = $contentType;
|
|
391
|
+
this.j62_1 = $charset;
|
|
392
|
+
this.k62_1 = $typeInfo;
|
|
393
|
+
this.l62_1 = $value;
|
|
394
394
|
}
|
|
395
395
|
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).u1d = function (collector, $completion) {
|
|
396
396
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -404,14 +404,14 @@
|
|
|
404
404
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
405
405
|
CoroutineImpl.call(this, resultContinuation);
|
|
406
406
|
}
|
|
407
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
408
|
-
var tmp = this.
|
|
407
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).z63 = function (it, $completion) {
|
|
408
|
+
var tmp = this.a64(it, $completion);
|
|
409
409
|
tmp.c9_1 = Unit_instance;
|
|
410
410
|
tmp.d9_1 = null;
|
|
411
411
|
return tmp.i9();
|
|
412
412
|
};
|
|
413
413
|
protoOf(KotlinxSerializationConverter$serialize$slambda).u9 = function (p1, $completion) {
|
|
414
|
-
return this.
|
|
414
|
+
return this.z63((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
415
415
|
};
|
|
416
416
|
protoOf(KotlinxSerializationConverter$serialize$slambda).i9 = function () {
|
|
417
417
|
var suspendResult = this.c9_1;
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
var tmp = this.a9_1;
|
|
421
421
|
if (tmp === 0) {
|
|
422
422
|
this.b9_1 = 1;
|
|
423
|
-
return !(this.
|
|
423
|
+
return !(this.y63_1 == null);
|
|
424
424
|
} else if (tmp === 1) {
|
|
425
425
|
throw this.d9_1;
|
|
426
426
|
}
|
|
@@ -430,24 +430,24 @@
|
|
|
430
430
|
}
|
|
431
431
|
while (true);
|
|
432
432
|
};
|
|
433
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
433
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).a64 = function (it, completion) {
|
|
434
434
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
435
|
-
i.
|
|
435
|
+
i.y63_1 = it;
|
|
436
436
|
return i;
|
|
437
437
|
};
|
|
438
438
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
439
439
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
440
440
|
var l = function (it, $completion) {
|
|
441
|
-
return i.
|
|
441
|
+
return i.z63(it, $completion);
|
|
442
442
|
};
|
|
443
443
|
l.$arity = 1;
|
|
444
444
|
return l;
|
|
445
445
|
}
|
|
446
446
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
447
|
+
this.k63_1 = $this;
|
|
448
|
+
this.l63_1 = $charset;
|
|
449
|
+
this.m63_1 = $typeInfo;
|
|
450
|
+
this.n63_1 = $content;
|
|
451
451
|
}
|
|
452
452
|
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).u1d = function (collector, $completion) {
|
|
453
453
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
return this.u1d(collector, $completion);
|
|
460
460
|
};
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
462
|
-
this.
|
|
462
|
+
this.j64_1 = $content;
|
|
463
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
464
|
}
|
|
465
465
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l3n = function (it, $completion) {
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
var tmp = this.a9_1;
|
|
479
479
|
if (tmp === 0) {
|
|
480
480
|
this.b9_1 = 1;
|
|
481
|
-
return !(this.
|
|
481
|
+
return !(this.k64_1 == null) || this.j64_1.w1n();
|
|
482
482
|
} else if (tmp === 1) {
|
|
483
483
|
throw this.d9_1;
|
|
484
484
|
}
|
|
@@ -489,8 +489,8 @@
|
|
|
489
489
|
while (true);
|
|
490
490
|
};
|
|
491
491
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).l3m = function (it, completion) {
|
|
492
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
493
|
-
i.
|
|
492
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.j64_1, completion);
|
|
493
|
+
i.k64_1 = it;
|
|
494
494
|
return i;
|
|
495
495
|
};
|
|
496
496
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
@@ -503,11 +503,11 @@
|
|
|
503
503
|
}
|
|
504
504
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
505
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
506
|
+
this.t64_1 = _this__u8e3s4;
|
|
507
|
+
this.u64_1 = contentType;
|
|
508
|
+
this.v64_1 = charset;
|
|
509
|
+
this.w64_1 = typeInfo;
|
|
510
|
+
this.x64_1 = value;
|
|
511
511
|
}
|
|
512
512
|
protoOf($serializeCOROUTINE$).i9 = function () {
|
|
513
513
|
var suspendResult = this.c9_1;
|
|
@@ -518,8 +518,8 @@
|
|
|
518
518
|
case 0:
|
|
519
519
|
this.b9_1 = 2;
|
|
520
520
|
this.a9_1 = 1;
|
|
521
|
-
var this_0 = asFlow(this.
|
|
522
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
521
|
+
var this_0 = asFlow(this.t64_1.z64_1);
|
|
522
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.u64_1, this.v64_1, this.w64_1, this.x64_1);
|
|
523
523
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
524
524
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
525
525
|
return suspendResult;
|
|
@@ -532,12 +532,12 @@
|
|
|
532
532
|
return fromExtension;
|
|
533
533
|
var tmp_1;
|
|
534
534
|
try {
|
|
535
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
535
|
+
tmp_1 = serializerForTypeInfo(this.t64_1.y64_1.a23(), this.w64_1);
|
|
536
536
|
} catch ($p) {
|
|
537
537
|
var tmp_2;
|
|
538
538
|
if ($p instanceof SerializationException) {
|
|
539
539
|
var cause = $p;
|
|
540
|
-
tmp_2 = guessSerializer(this.
|
|
540
|
+
tmp_2 = guessSerializer(this.x64_1, this.t64_1.y64_1.a23());
|
|
541
541
|
} else {
|
|
542
542
|
throw $p;
|
|
543
543
|
}
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
var serializer = tmp_1;
|
|
548
|
-
return serializeContent(this.
|
|
548
|
+
return serializeContent(this.t64_1, serializer, this.t64_1.y64_1, this.x64_1, this.u64_1, this.v64_1);
|
|
549
549
|
case 2:
|
|
550
550
|
throw this.d9_1;
|
|
551
551
|
}
|
|
@@ -562,10 +562,10 @@
|
|
|
562
562
|
};
|
|
563
563
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
564
564
|
CoroutineImpl.call(this, resultContinuation);
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
565
|
+
this.i65_1 = _this__u8e3s4;
|
|
566
|
+
this.j65_1 = charset;
|
|
567
|
+
this.k65_1 = typeInfo;
|
|
568
|
+
this.l65_1 = content;
|
|
569
569
|
}
|
|
570
570
|
protoOf($deserializeCOROUTINE$).i9 = function () {
|
|
571
571
|
var suspendResult = this.c9_1;
|
|
@@ -576,9 +576,9 @@
|
|
|
576
576
|
case 0:
|
|
577
577
|
this.b9_1 = 4;
|
|
578
578
|
this.a9_1 = 1;
|
|
579
|
-
var this_0 = asFlow(this.
|
|
580
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
581
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
579
|
+
var this_0 = asFlow(this.i65_1.z64_1);
|
|
580
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.j65_1, this.k65_1, this.l65_1);
|
|
581
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.l65_1, null), this);
|
|
582
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
583
|
return suspendResult;
|
|
584
584
|
}
|
|
@@ -587,17 +587,17 @@
|
|
|
587
587
|
case 1:
|
|
588
588
|
var fromExtension = suspendResult;
|
|
589
589
|
var tmp_1;
|
|
590
|
-
if (!this.
|
|
591
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
590
|
+
if (!this.i65_1.z64_1.r()) {
|
|
591
|
+
tmp_1 = !(fromExtension == null) || this.l65_1.w1n();
|
|
592
592
|
} else {
|
|
593
593
|
tmp_1 = false;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
if (tmp_1)
|
|
597
597
|
return fromExtension;
|
|
598
|
-
this.
|
|
598
|
+
this.m65_1 = serializerForTypeInfo(this.i65_1.y64_1.a23(), this.k65_1);
|
|
599
599
|
this.a9_1 = 2;
|
|
600
|
-
suspendResult = readRemaining(this.
|
|
600
|
+
suspendResult = readRemaining(this.l65_1, this);
|
|
601
601
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
602
602
|
return suspendResult;
|
|
603
603
|
}
|
|
@@ -606,16 +606,16 @@
|
|
|
606
606
|
case 2:
|
|
607
607
|
var contentPacket = suspendResult;
|
|
608
608
|
this.b9_1 = 3;
|
|
609
|
-
var tmp0_subject = this.
|
|
609
|
+
var tmp0_subject = this.i65_1.y64_1;
|
|
610
610
|
var tmp_2;
|
|
611
611
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
612
|
-
tmp_2 = this.
|
|
612
|
+
tmp_2 = this.i65_1.y64_1.a20(this.m65_1, readText(contentPacket, this.j65_1));
|
|
613
613
|
} else {
|
|
614
614
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
615
|
-
tmp_2 = this.
|
|
615
|
+
tmp_2 = this.i65_1.y64_1.c20(this.m65_1, readByteArray(contentPacket));
|
|
616
616
|
} else {
|
|
617
617
|
discard(contentPacket);
|
|
618
|
-
var message = 'Unsupported format ' + toString(this.
|
|
618
|
+
var message = 'Unsupported format ' + toString(this.i65_1.y64_1);
|
|
619
619
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -646,30 +646,30 @@
|
|
|
646
646
|
while (true);
|
|
647
647
|
};
|
|
648
648
|
function KotlinxSerializationConverter(format) {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
649
|
+
this.y64_1 = format;
|
|
650
|
+
this.z64_1 = extensions(this.y64_1);
|
|
651
651
|
var tmp;
|
|
652
|
-
var tmp_0 = this.
|
|
652
|
+
var tmp_0 = this.y64_1;
|
|
653
653
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
654
654
|
tmp = true;
|
|
655
655
|
} else {
|
|
656
|
-
var tmp_1 = this.
|
|
656
|
+
var tmp_1 = this.y64_1;
|
|
657
657
|
tmp = isInterface(tmp_1, StringFormat);
|
|
658
658
|
}
|
|
659
659
|
// Inline function 'kotlin.require' call
|
|
660
660
|
if (!tmp) {
|
|
661
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
661
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.y64_1) + ' is not supported.';
|
|
662
662
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
protoOf(KotlinxSerializationConverter).
|
|
665
|
+
protoOf(KotlinxSerializationConverter).n65 = function (contentType, charset, typeInfo, value, $completion) {
|
|
666
666
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
667
667
|
tmp.c9_1 = Unit_instance;
|
|
668
668
|
tmp.d9_1 = null;
|
|
669
669
|
return tmp.i9();
|
|
670
670
|
};
|
|
671
|
-
protoOf(KotlinxSerializationConverter).
|
|
672
|
-
return this.
|
|
671
|
+
protoOf(KotlinxSerializationConverter).m5p = function (contentType, charset, typeInfo, value, $completion) {
|
|
672
|
+
return this.n65(contentType, charset, typeInfo, value, $completion);
|
|
673
673
|
};
|
|
674
674
|
protoOf(KotlinxSerializationConverter).m3m = function (charset, typeInfo, content, $completion) {
|
|
675
675
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception = kotlin_kotlin.$_$.
|
|
5
|
-
var VOID = kotlin_kotlin.$_$.
|
|
6
|
-
var Exception_init_$Init$ = kotlin_kotlin.$_$.
|
|
7
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var Exception = kotlin_kotlin.$_$.xf;
|
|
5
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
6
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.k2;
|
|
7
|
+
var captureStack = kotlin_kotlin.$_$.qa;
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.ec;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.hb;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.a1;
|
|
11
11
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
|
|
12
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.lb;
|
|
13
13
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.u1;
|
|
14
14
|
var forName = kotlin_io_ktor_ktor_io.$_$.u;
|
|
15
15
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.v;
|
|
16
|
-
var equals = kotlin_kotlin.$_$.
|
|
17
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
18
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
16
|
+
var equals = kotlin_kotlin.$_$.za;
|
|
17
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ma;
|
|
18
|
+
var isInterface = kotlin_kotlin.$_$.wb;
|
|
19
19
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
20
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
21
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
22
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
24
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
20
|
+
var hashCode = kotlin_kotlin.$_$.gb;
|
|
21
|
+
var CoroutineImpl = kotlin_kotlin.$_$.q9;
|
|
22
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.a9;
|
|
23
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.mb;
|
|
24
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.jb;
|
|
25
25
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
26
26
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
27
27
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|