@doordeck/doordeck-headless-sdk 0.196.0 → 0.198.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 +56 -56
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.js +9308 -9308
- package/kotlin/kotlin-kotlin-stdlib.js +309 -308
- package/kotlin/kotlinx-atomicfu.js +8 -8
- package/kotlin/kotlinx-coroutines-core.js +65 -65
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +11 -11
- package/kotlin/kotlinx-io-kotlinx-io-core.js +23 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1566 -1559
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1919 -1588
- package/kotlin/ktor-ktor-client-auth.js +255 -255
- package/kotlin/ktor-ktor-client-content-negotiation.js +146 -146
- package/kotlin/ktor-ktor-client-core.js +2021 -2021
- package/kotlin/ktor-ktor-client-logging.js +636 -636
- package/kotlin/ktor-ktor-events.js +10 -10
- package/kotlin/ktor-ktor-http-cio.js +339 -339
- package/kotlin/ktor-ktor-http.js +751 -751
- package/kotlin/ktor-ktor-io.js +46 -46
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +132 -132
- package/kotlin/ktor-ktor-serialization.js +64 -64
- package/kotlin/ktor-ktor-utils.js +832 -832
- package/kotlin/ktor-ktor-websockets.js +357 -357
- package/package.json +1 -1
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
6
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.p9;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
8
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z8;
|
|
9
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.lb;
|
|
10
10
|
var VOID = kotlin_kotlin.$_$.b;
|
|
11
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
12
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ib;
|
|
12
|
+
var toString = kotlin_kotlin.$_$.gc;
|
|
13
13
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
14
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
15
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
16
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
14
|
+
var THROW_CCE = kotlin_kotlin.$_$.dg;
|
|
15
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o2;
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.vb;
|
|
17
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.m;
|
|
18
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
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
21
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
22
|
-
var equals = kotlin_kotlin.$_$.
|
|
23
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
22
|
+
var equals = kotlin_kotlin.$_$.ya;
|
|
23
|
+
var FunctionAdapter = kotlin_kotlin.$_$.la;
|
|
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.$_$.fb;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.gb;
|
|
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;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n2;
|
|
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.$_$.uc;
|
|
40
40
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
41
41
|
var KtMap = kotlin_kotlin.$_$.o5;
|
|
42
42
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
var StringCompanionObject_instance = kotlin_kotlin.$_$.l;
|
|
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.$_$.
|
|
48
|
+
var isArray = kotlin_kotlin.$_$.nb;
|
|
49
49
|
var KtList = kotlin_kotlin.$_$.l5;
|
|
50
50
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
51
51
|
var filterNotNull = kotlin_kotlin.$_$.z6;
|
|
@@ -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.d61(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.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.m61_1 = $$this$unsafeFlow;
|
|
98
|
+
this.n61_1 = $contentType;
|
|
99
|
+
this.o61_1 = $charset;
|
|
100
|
+
this.p61_1 = $typeInfo;
|
|
101
|
+
this.q61_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).k3m = function (value, $completion) {
|
|
105
|
+
var tmp = this.l3m(value, $completion);
|
|
106
106
|
tmp.c9_1 = Unit_instance;
|
|
107
107
|
tmp.d9_1 = null;
|
|
108
108
|
return tmp.i9();
|
|
109
109
|
};
|
|
110
110
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).u9 = function (p1, $completion) {
|
|
111
|
-
return this.
|
|
111
|
+
return this.k3m(p1, $completion);
|
|
112
112
|
};
|
|
113
113
|
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i9 = function () {
|
|
114
114
|
var suspendResult = this.c9_1;
|
|
@@ -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.m61_1;
|
|
122
|
+
var tmp2 = this.r61_1;
|
|
123
|
+
this.s61_1 = tmp0;
|
|
124
124
|
this.a9_1 = 1;
|
|
125
|
-
suspendResult = tmp2.
|
|
125
|
+
suspendResult = tmp2.i5p(this.n61_1, this.o61_1, this.p61_1, this.q61_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.s61_1.t1d(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).l3m = function (value, completion) {
|
|
157
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.m61_1, this.n61_1, this.o61_1, this.p61_1, this.q61_1, completion);
|
|
158
|
+
i.r61_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.k3m(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.b62_1 = _this__u8e3s4;
|
|
172
|
+
this.c62_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.c62_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.b62_1.e62_1, this.b62_1.f62_1, this.b62_1.g62_1, this.b62_1.h62_1, null);
|
|
185
|
+
suspendResult = this.b62_1.d62_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,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.q62_1 = $$this$unsafeFlow;
|
|
209
|
+
this.r62_1 = $charset;
|
|
210
|
+
this.s62_1 = $typeInfo;
|
|
211
|
+
this.t62_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).k3m = function (value, $completion) {
|
|
215
|
+
var tmp = this.l3m(value, $completion);
|
|
216
216
|
tmp.c9_1 = Unit_instance;
|
|
217
217
|
tmp.d9_1 = null;
|
|
218
218
|
return tmp.i9();
|
|
219
219
|
};
|
|
220
220
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).u9 = function (p1, $completion) {
|
|
221
|
-
return this.
|
|
221
|
+
return this.k3m(p1, $completion);
|
|
222
222
|
};
|
|
223
223
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i9 = function () {
|
|
224
224
|
var suspendResult = this.c9_1;
|
|
@@ -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.q62_1;
|
|
232
|
+
var tmp2 = this.u62_1;
|
|
233
|
+
this.v62_1 = tmp0;
|
|
234
234
|
this.a9_1 = 1;
|
|
235
|
-
suspendResult = tmp2.
|
|
235
|
+
suspendResult = tmp2.m3m(this.r62_1, this.s62_1, this.t62_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.v62_1.t1d(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).l3m = function (value, completion) {
|
|
267
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.q62_1, this.r62_1, this.s62_1, this.t62_1, completion);
|
|
268
|
+
i.u62_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.k3m(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.e63_1 = _this__u8e3s4;
|
|
282
|
+
this.f63_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.f63_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.e63_1.h63_1, this.e63_1.i63_1, this.e63_1.j63_1, null);
|
|
295
|
+
suspendResult = this.e63_1.g63_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.k63_1 = function_0;
|
|
336
336
|
}
|
|
337
337
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t1d = function (value, $completion) {
|
|
338
|
-
return this.
|
|
338
|
+
return this.k63_1(value, $completion);
|
|
339
339
|
};
|
|
340
340
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
341
|
-
return this.
|
|
341
|
+
return this.k63_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.l63_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.l63_1(value, $completion);
|
|
366
366
|
};
|
|
367
367
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
368
|
-
return this.
|
|
368
|
+
return this.l63_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.d62_1 = $this;
|
|
390
|
+
this.e62_1 = $contentType;
|
|
391
|
+
this.f62_1 = $charset;
|
|
392
|
+
this.g62_1 = $typeInfo;
|
|
393
|
+
this.h62_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).v63 = function (it, $completion) {
|
|
408
|
+
var tmp = this.w63(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.v63((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.u63_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).w63 = function (it, completion) {
|
|
434
434
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
435
|
-
i.
|
|
435
|
+
i.u63_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.v63(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.g63_1 = $this;
|
|
448
|
+
this.h63_1 = $charset;
|
|
449
|
+
this.i63_1 = $typeInfo;
|
|
450
|
+
this.j63_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,17 +459,17 @@
|
|
|
459
459
|
return this.u1d(collector, $completion);
|
|
460
460
|
};
|
|
461
461
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
462
|
-
this.
|
|
462
|
+
this.f64_1 = $content;
|
|
463
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
464
|
}
|
|
465
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
466
|
-
var tmp = this.
|
|
465
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l3n = function (it, $completion) {
|
|
466
|
+
var tmp = this.l3m(it, $completion);
|
|
467
467
|
tmp.c9_1 = Unit_instance;
|
|
468
468
|
tmp.d9_1 = null;
|
|
469
469
|
return tmp.i9();
|
|
470
470
|
};
|
|
471
471
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).u9 = function (p1, $completion) {
|
|
472
|
-
return this.
|
|
472
|
+
return this.l3n(p1, $completion);
|
|
473
473
|
};
|
|
474
474
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).i9 = function () {
|
|
475
475
|
var suspendResult = this.c9_1;
|
|
@@ -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.g64_1 == null) || this.f64_1.w1n();
|
|
482
482
|
} else if (tmp === 1) {
|
|
483
483
|
throw this.d9_1;
|
|
484
484
|
}
|
|
@@ -488,26 +488,26 @@
|
|
|
488
488
|
}
|
|
489
489
|
while (true);
|
|
490
490
|
};
|
|
491
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
492
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
493
|
-
i.
|
|
491
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).l3m = function (it, completion) {
|
|
492
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.f64_1, completion);
|
|
493
|
+
i.g64_1 = it;
|
|
494
494
|
return i;
|
|
495
495
|
};
|
|
496
496
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
497
497
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
498
498
|
var l = function (it, $completion) {
|
|
499
|
-
return i.
|
|
499
|
+
return i.l3n(it, $completion);
|
|
500
500
|
};
|
|
501
501
|
l.$arity = 1;
|
|
502
502
|
return l;
|
|
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.p64_1 = _this__u8e3s4;
|
|
507
|
+
this.q64_1 = contentType;
|
|
508
|
+
this.r64_1 = charset;
|
|
509
|
+
this.s64_1 = typeInfo;
|
|
510
|
+
this.t64_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.p64_1.v64_1);
|
|
522
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.q64_1, this.r64_1, this.s64_1, this.t64_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.p64_1.u64_1.a23(), this.s64_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.t64_1, this.p64_1.u64_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.p64_1, serializer, this.p64_1.u64_1, this.t64_1, this.q64_1, this.r64_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.e65_1 = _this__u8e3s4;
|
|
566
|
+
this.f65_1 = charset;
|
|
567
|
+
this.g65_1 = typeInfo;
|
|
568
|
+
this.h65_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.e65_1.v64_1);
|
|
580
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.f65_1, this.g65_1, this.h65_1);
|
|
581
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.h65_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.e65_1.v64_1.r()) {
|
|
591
|
+
tmp_1 = !(fromExtension == null) || this.h65_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.i65_1 = serializerForTypeInfo(this.e65_1.u64_1.a23(), this.g65_1);
|
|
599
599
|
this.a9_1 = 2;
|
|
600
|
-
suspendResult = readRemaining(this.
|
|
600
|
+
suspendResult = readRemaining(this.h65_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.e65_1.u64_1;
|
|
610
610
|
var tmp_2;
|
|
611
611
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
612
|
-
tmp_2 = this.
|
|
612
|
+
tmp_2 = this.e65_1.u64_1.a20(this.i65_1, readText(contentPacket, this.f65_1));
|
|
613
613
|
} else {
|
|
614
614
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
615
|
-
tmp_2 = this.
|
|
615
|
+
tmp_2 = this.e65_1.u64_1.c20(this.i65_1, readByteArray(contentPacket));
|
|
616
616
|
} else {
|
|
617
617
|
discard(contentPacket);
|
|
618
|
-
var message = 'Unsupported format ' + toString(this.
|
|
618
|
+
var message = 'Unsupported format ' + toString(this.e65_1.u64_1);
|
|
619
619
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
620
620
|
}
|
|
621
621
|
}
|
|
@@ -646,32 +646,32 @@
|
|
|
646
646
|
while (true);
|
|
647
647
|
};
|
|
648
648
|
function KotlinxSerializationConverter(format) {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
649
|
+
this.u64_1 = format;
|
|
650
|
+
this.v64_1 = extensions(this.u64_1);
|
|
651
651
|
var tmp;
|
|
652
|
-
var tmp_0 = this.
|
|
652
|
+
var tmp_0 = this.u64_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.u64_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.u64_1) + ' is not supported.';
|
|
662
662
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
protoOf(KotlinxSerializationConverter).
|
|
665
|
+
protoOf(KotlinxSerializationConverter).j65 = 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).i5p = function (contentType, charset, typeInfo, value, $completion) {
|
|
672
|
+
return this.j65(contentType, charset, typeInfo, value, $completion);
|
|
673
673
|
};
|
|
674
|
-
protoOf(KotlinxSerializationConverter).
|
|
674
|
+
protoOf(KotlinxSerializationConverter).m3m = function (charset, typeInfo, content, $completion) {
|
|
675
675
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
676
676
|
tmp.c9_1 = Unit_instance;
|
|
677
677
|
tmp.d9_1 = null;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
};
|
|
680
680
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
681
681
|
var module_0 = _this__u8e3s4;
|
|
682
|
-
var tmp0_safe_receiver = typeInfo.
|
|
682
|
+
var tmp0_safe_receiver = typeInfo.n2s_1;
|
|
683
683
|
var tmp;
|
|
684
684
|
if (tmp0_safe_receiver == null) {
|
|
685
685
|
tmp = null;
|
|
@@ -696,13 +696,13 @@
|
|
|
696
696
|
var tmp1_elvis_lhs = tmp;
|
|
697
697
|
var tmp_1;
|
|
698
698
|
if (tmp1_elvis_lhs == null) {
|
|
699
|
-
var tmp2_safe_receiver = module_0.
|
|
699
|
+
var tmp2_safe_receiver = module_0.h20(typeInfo.m2s_1);
|
|
700
700
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
701
701
|
} else {
|
|
702
702
|
tmp_1 = tmp1_elvis_lhs;
|
|
703
703
|
}
|
|
704
704
|
var tmp3_elvis_lhs = tmp_1;
|
|
705
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
705
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.m2s_1), typeInfo) : tmp3_elvis_lhs;
|
|
706
706
|
}
|
|
707
707
|
function guessSerializer(value, module_0) {
|
|
708
708
|
var tmp;
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
var valueSerializer = elementSerializer(value.c3(), module_0);
|
|
733
733
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
734
734
|
} else {
|
|
735
|
-
var tmp3_elvis_lhs = module_0.
|
|
735
|
+
var tmp3_elvis_lhs = module_0.h20(getKClassFromExpression(value));
|
|
736
736
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
737
737
|
}
|
|
738
738
|
}
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
}
|
|
745
745
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
746
746
|
var tmp;
|
|
747
|
-
var tmp0_safe_receiver = typeInfo.
|
|
747
|
+
var tmp0_safe_receiver = typeInfo.n2s_1;
|
|
748
748
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
749
749
|
tmp = get_nullable(_this__u8e3s4);
|
|
750
750
|
} else {
|
|
@@ -791,7 +791,7 @@
|
|
|
791
791
|
}
|
|
792
792
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
793
793
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
794
|
-
if (selected.w1y().
|
|
794
|
+
if (selected.w1y().l20()) {
|
|
795
795
|
return selected;
|
|
796
796
|
}
|
|
797
797
|
if (!isInterface(selected, KSerializer))
|