client_plugin_logic_deb 1.8.211 → 1.8.232
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/Kosi-Kaverit-kaverit.js +77 -77
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +610 -610
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1572 -1517
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +57 -16
- package/Logic_Debertz-client_plugin.js +5564 -4579
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2294 -2086
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +19404 -18476
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +12632 -11277
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1652 -1192
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3211 -2386
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +66 -66
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +4173 -4067
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +3 -3
- package/kotlinx-io-kotlinx-io-core.js +277 -277
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2297 -2210
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +2069 -1725
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-protobuf.js +3 -3
- package/ktor-ktor-client-content-negotiation.js +220 -220
- package/ktor-ktor-client-core.js +2532 -2504
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js +3 -3
- package/ktor-ktor-client-logging.js +573 -549
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +16 -16
- package/ktor-ktor-http.js +748 -726
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1639 -1642
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +14 -14
- package/ktor-ktor-serialization-kotlinx.js +314 -269
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +153 -128
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +702 -702
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js +3 -3
- package/ktor-ktor-websockets.js +61 -61
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +271 -242
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +104 -104
- package/raspberry-cardgame-lib-random.js +1000 -1006
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +21 -21
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +30 -30
- package/uuid.js.map +1 -1
|
@@ -1,77 +1,80 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './ktor-ktor-http.js', './kotlinx-coroutines-core.js', './ktor-ktor-io.js', './ktor-ktor-serialization.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-serialization.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
12
12
|
}
|
|
13
|
-
if (typeof
|
|
13
|
+
if (typeof globalThis['ktor-ktor-http'] === 'undefined') {
|
|
14
14
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-http' was not found. Please, check whether 'ktor-ktor-http' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
15
15
|
}
|
|
16
|
-
if (typeof
|
|
16
|
+
if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
|
|
17
17
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
18
18
|
}
|
|
19
|
-
if (typeof
|
|
19
|
+
if (typeof globalThis['ktor-ktor-io'] === 'undefined') {
|
|
20
20
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-io' was not found. Please, check whether 'ktor-ktor-io' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
21
21
|
}
|
|
22
|
-
if (typeof
|
|
22
|
+
if (typeof globalThis['ktor-ktor-serialization'] === 'undefined') {
|
|
23
23
|
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'ktor-ktor-serialization' was not found. Please, check whether 'ktor-ktor-serialization' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
globalThis['ktor-ktor-serialization-kotlinx'] = factory(typeof globalThis['ktor-ktor-serialization-kotlinx'] === 'undefined' ? {} : globalThis['ktor-ktor-serialization-kotlinx'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['ktor-ktor-http'], globalThis['kotlinx-coroutines-core'], globalThis['ktor-ktor-io'], globalThis['ktor-ktor-serialization']);
|
|
26
26
|
}
|
|
27
|
-
}(
|
|
27
|
+
}(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_io_ktor_ktor_serialization) {
|
|
28
28
|
'use strict';
|
|
29
29
|
//region block: imports
|
|
30
30
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
31
31
|
var Unit_instance = kotlin_kotlin.$_$.n5;
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ta;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.sc;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
35
35
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ea;
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.vb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.tb;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.wc;
|
|
40
40
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.v1;
|
|
41
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
41
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.fc;
|
|
43
43
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.j;
|
|
44
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
44
|
+
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
45
45
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
46
46
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.q;
|
|
47
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.jb;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.xa;
|
|
48
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
49
|
-
var
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.qb;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.rb;
|
|
50
53
|
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
51
54
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
52
55
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
|
|
53
56
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
54
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
57
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
55
58
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
56
59
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.x;
|
|
57
60
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
58
61
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
59
62
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
60
63
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
61
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
62
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
64
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x2;
|
|
65
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
63
66
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
64
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
67
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
65
68
|
var KtMap = kotlin_kotlin.$_$.y5;
|
|
66
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
69
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
67
70
|
var KtSet = kotlin_kotlin.$_$.d6;
|
|
68
71
|
var firstOrNull_0 = kotlin_kotlin.$_$.r7;
|
|
69
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
70
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
71
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
72
|
-
var isArray = kotlin_kotlin.$_$.
|
|
72
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.a5;
|
|
73
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
74
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
75
|
+
var isArray = kotlin_kotlin.$_$.xb;
|
|
73
76
|
var KtList = kotlin_kotlin.$_$.v5;
|
|
74
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
77
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
75
78
|
var filterNotNull = kotlin_kotlin.$_$.o7;
|
|
76
79
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.q6;
|
|
77
80
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
@@ -85,8 +88,8 @@
|
|
|
85
88
|
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
86
89
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
87
90
|
initMetadataForCoroutine($collectCOROUTINE$3, CoroutineImpl);
|
|
88
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
89
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
91
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
92
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
90
93
|
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Flow], [1]);
|
|
91
94
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$slambda, CoroutineImpl, VOID, [1]);
|
|
92
95
|
initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, [Flow], [1]);
|
|
@@ -106,7 +109,7 @@
|
|
|
106
109
|
var element = tmp0_iterator.l();
|
|
107
110
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
108
111
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
109
|
-
var tmp0_safe_receiver = element.
|
|
112
|
+
var tmp0_safe_receiver = element.x4t(format);
|
|
110
113
|
if (tmp0_safe_receiver == null)
|
|
111
114
|
null;
|
|
112
115
|
else {
|
|
@@ -118,50 +121,50 @@
|
|
|
118
121
|
return destination;
|
|
119
122
|
}
|
|
120
123
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
121
|
-
_this__u8e3s4.
|
|
124
|
+
_this__u8e3s4.f2v(contentType, new KotlinxSerializationConverter(format));
|
|
122
125
|
}
|
|
123
126
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
127
|
+
this.g4u_1 = $$this$unsafeFlow;
|
|
128
|
+
this.h4u_1 = $contentType;
|
|
129
|
+
this.i4u_1 = $charset;
|
|
130
|
+
this.j4u_1 = $typeInfo;
|
|
131
|
+
this.k4u_1 = $value;
|
|
129
132
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
133
|
}
|
|
131
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
134
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).e1m = function (value, $completion) {
|
|
135
|
+
var tmp = this.f1m(value, $completion);
|
|
136
|
+
tmp.j9_1 = Unit_instance;
|
|
137
|
+
tmp.k9_1 = null;
|
|
138
|
+
return tmp.p9();
|
|
136
139
|
};
|
|
137
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
138
|
-
return this.
|
|
140
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z9 = function (p1, $completion) {
|
|
141
|
+
return this.e1m((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
142
|
};
|
|
140
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
141
|
-
var suspendResult = this.
|
|
143
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).p9 = function () {
|
|
144
|
+
var suspendResult = this.j9_1;
|
|
142
145
|
$sm: do
|
|
143
146
|
try {
|
|
144
|
-
var tmp = this.
|
|
147
|
+
var tmp = this.h9_1;
|
|
145
148
|
switch (tmp) {
|
|
146
149
|
case 0:
|
|
147
|
-
this.
|
|
150
|
+
this.i9_1 = 3;
|
|
148
151
|
var tmp_0 = this;
|
|
149
|
-
tmp_0.
|
|
152
|
+
tmp_0.m4u_1 = this.g4u_1;
|
|
150
153
|
var tmp_1 = this;
|
|
151
|
-
tmp_1.
|
|
154
|
+
tmp_1.n4u_1 = this.l4u_1;
|
|
152
155
|
var tmp_2 = this;
|
|
153
|
-
tmp_2.
|
|
154
|
-
this.
|
|
155
|
-
suspendResult = this.
|
|
156
|
+
tmp_2.o4u_1 = this.n4u_1;
|
|
157
|
+
this.h9_1 = 1;
|
|
158
|
+
suspendResult = this.o4u_1.q4u(this.h4u_1, this.i4u_1, this.j4u_1, this.k4u_1, this);
|
|
156
159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
157
160
|
return suspendResult;
|
|
158
161
|
}
|
|
159
162
|
|
|
160
163
|
continue $sm;
|
|
161
164
|
case 1:
|
|
162
|
-
this.
|
|
163
|
-
this.
|
|
164
|
-
suspendResult = this.
|
|
165
|
+
this.p4u_1 = suspendResult;
|
|
166
|
+
this.h9_1 = 2;
|
|
167
|
+
suspendResult = this.m4u_1.s18(this.p4u_1, this);
|
|
165
168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
166
169
|
return suspendResult;
|
|
167
170
|
}
|
|
@@ -170,50 +173,50 @@
|
|
|
170
173
|
case 2:
|
|
171
174
|
return Unit_instance;
|
|
172
175
|
case 3:
|
|
173
|
-
throw this.
|
|
176
|
+
throw this.k9_1;
|
|
174
177
|
}
|
|
175
178
|
} catch ($p) {
|
|
176
179
|
var e = $p;
|
|
177
|
-
if (this.
|
|
180
|
+
if (this.i9_1 === 3) {
|
|
178
181
|
throw e;
|
|
179
182
|
} else {
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
183
|
+
this.h9_1 = this.i9_1;
|
|
184
|
+
this.k9_1 = e;
|
|
182
185
|
}
|
|
183
186
|
}
|
|
184
187
|
while (true);
|
|
185
188
|
};
|
|
186
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
187
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
188
|
-
i.
|
|
189
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).f1m = function (value, completion) {
|
|
190
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.g4u_1, this.h4u_1, this.i4u_1, this.j4u_1, this.k4u_1, completion);
|
|
191
|
+
i.l4u_1 = value;
|
|
189
192
|
return i;
|
|
190
193
|
};
|
|
191
194
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
192
195
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
193
196
|
var l = function (value, $completion) {
|
|
194
|
-
return i.
|
|
197
|
+
return i.e1m(value, $completion);
|
|
195
198
|
};
|
|
196
199
|
l.$arity = 1;
|
|
197
200
|
return l;
|
|
198
201
|
}
|
|
199
202
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
200
203
|
CoroutineImpl.call(this, resultContinuation);
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
204
|
+
this.z4u_1 = _this__u8e3s4;
|
|
205
|
+
this.a4v_1 = collector;
|
|
203
206
|
}
|
|
204
|
-
protoOf($collectCOROUTINE$2).
|
|
205
|
-
var suspendResult = this.
|
|
207
|
+
protoOf($collectCOROUTINE$2).p9 = function () {
|
|
208
|
+
var suspendResult = this.j9_1;
|
|
206
209
|
$sm: do
|
|
207
210
|
try {
|
|
208
|
-
var tmp = this.
|
|
211
|
+
var tmp = this.h9_1;
|
|
209
212
|
switch (tmp) {
|
|
210
213
|
case 0:
|
|
211
|
-
this.
|
|
214
|
+
this.i9_1 = 2;
|
|
212
215
|
var tmp_0 = this;
|
|
213
|
-
tmp_0.
|
|
214
|
-
this.
|
|
215
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
216
|
-
suspendResult = this.
|
|
216
|
+
tmp_0.b4v_1 = this.a4v_1;
|
|
217
|
+
this.h9_1 = 1;
|
|
218
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.b4v_1, this.z4u_1.d4v_1, this.z4u_1.e4v_1, this.z4u_1.f4v_1, this.z4u_1.g4v_1, null);
|
|
219
|
+
suspendResult = this.z4u_1.c4v_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
217
220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
218
221
|
return suspendResult;
|
|
219
222
|
}
|
|
@@ -222,60 +225,60 @@
|
|
|
222
225
|
case 1:
|
|
223
226
|
return Unit_instance;
|
|
224
227
|
case 2:
|
|
225
|
-
throw this.
|
|
228
|
+
throw this.k9_1;
|
|
226
229
|
}
|
|
227
230
|
} catch ($p) {
|
|
228
231
|
var e = $p;
|
|
229
|
-
if (this.
|
|
232
|
+
if (this.i9_1 === 2) {
|
|
230
233
|
throw e;
|
|
231
234
|
} else {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
235
|
+
this.h9_1 = this.i9_1;
|
|
236
|
+
this.k9_1 = e;
|
|
234
237
|
}
|
|
235
238
|
}
|
|
236
239
|
while (true);
|
|
237
240
|
};
|
|
238
241
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
242
|
+
this.p4v_1 = $$this$unsafeFlow;
|
|
243
|
+
this.q4v_1 = $charset;
|
|
244
|
+
this.r4v_1 = $typeInfo;
|
|
245
|
+
this.s4v_1 = $content;
|
|
243
246
|
CoroutineImpl.call(this, resultContinuation);
|
|
244
247
|
}
|
|
245
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
246
|
-
var tmp = this.
|
|
247
|
-
tmp.
|
|
248
|
-
tmp.
|
|
249
|
-
return tmp.
|
|
248
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).e1m = function (value, $completion) {
|
|
249
|
+
var tmp = this.f1m(value, $completion);
|
|
250
|
+
tmp.j9_1 = Unit_instance;
|
|
251
|
+
tmp.k9_1 = null;
|
|
252
|
+
return tmp.p9();
|
|
250
253
|
};
|
|
251
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
252
|
-
return this.
|
|
254
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z9 = function (p1, $completion) {
|
|
255
|
+
return this.e1m((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
253
256
|
};
|
|
254
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
255
|
-
var suspendResult = this.
|
|
257
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).p9 = function () {
|
|
258
|
+
var suspendResult = this.j9_1;
|
|
256
259
|
$sm: do
|
|
257
260
|
try {
|
|
258
|
-
var tmp = this.
|
|
261
|
+
var tmp = this.h9_1;
|
|
259
262
|
switch (tmp) {
|
|
260
263
|
case 0:
|
|
261
|
-
this.
|
|
264
|
+
this.i9_1 = 3;
|
|
262
265
|
var tmp_0 = this;
|
|
263
|
-
tmp_0.
|
|
266
|
+
tmp_0.u4v_1 = this.p4v_1;
|
|
264
267
|
var tmp_1 = this;
|
|
265
|
-
tmp_1.
|
|
268
|
+
tmp_1.v4v_1 = this.t4v_1;
|
|
266
269
|
var tmp_2 = this;
|
|
267
|
-
tmp_2.
|
|
268
|
-
this.
|
|
269
|
-
suspendResult = this.
|
|
270
|
+
tmp_2.w4v_1 = this.v4v_1;
|
|
271
|
+
this.h9_1 = 1;
|
|
272
|
+
suspendResult = this.w4v_1.i2v(this.q4v_1, this.r4v_1, this.s4v_1, this);
|
|
270
273
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
271
274
|
return suspendResult;
|
|
272
275
|
}
|
|
273
276
|
|
|
274
277
|
continue $sm;
|
|
275
278
|
case 1:
|
|
276
|
-
this.
|
|
277
|
-
this.
|
|
278
|
-
suspendResult = this.
|
|
279
|
+
this.x4v_1 = suspendResult;
|
|
280
|
+
this.h9_1 = 2;
|
|
281
|
+
suspendResult = this.u4v_1.s18(this.x4v_1, this);
|
|
279
282
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
280
283
|
return suspendResult;
|
|
281
284
|
}
|
|
@@ -284,50 +287,50 @@
|
|
|
284
287
|
case 2:
|
|
285
288
|
return Unit_instance;
|
|
286
289
|
case 3:
|
|
287
|
-
throw this.
|
|
290
|
+
throw this.k9_1;
|
|
288
291
|
}
|
|
289
292
|
} catch ($p) {
|
|
290
293
|
var e = $p;
|
|
291
|
-
if (this.
|
|
294
|
+
if (this.i9_1 === 3) {
|
|
292
295
|
throw e;
|
|
293
296
|
} else {
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
297
|
+
this.h9_1 = this.i9_1;
|
|
298
|
+
this.k9_1 = e;
|
|
296
299
|
}
|
|
297
300
|
}
|
|
298
301
|
while (true);
|
|
299
302
|
};
|
|
300
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
301
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
302
|
-
i.
|
|
303
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).f1m = function (value, completion) {
|
|
304
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.p4v_1, this.q4v_1, this.r4v_1, this.s4v_1, completion);
|
|
305
|
+
i.t4v_1 = value;
|
|
303
306
|
return i;
|
|
304
307
|
};
|
|
305
308
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
306
309
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
307
310
|
var l = function (value, $completion) {
|
|
308
|
-
return i.
|
|
311
|
+
return i.e1m(value, $completion);
|
|
309
312
|
};
|
|
310
313
|
l.$arity = 1;
|
|
311
314
|
return l;
|
|
312
315
|
}
|
|
313
316
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
314
317
|
CoroutineImpl.call(this, resultContinuation);
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
318
|
+
this.g4w_1 = _this__u8e3s4;
|
|
319
|
+
this.h4w_1 = collector;
|
|
317
320
|
}
|
|
318
|
-
protoOf($collectCOROUTINE$3).
|
|
319
|
-
var suspendResult = this.
|
|
321
|
+
protoOf($collectCOROUTINE$3).p9 = function () {
|
|
322
|
+
var suspendResult = this.j9_1;
|
|
320
323
|
$sm: do
|
|
321
324
|
try {
|
|
322
|
-
var tmp = this.
|
|
325
|
+
var tmp = this.h9_1;
|
|
323
326
|
switch (tmp) {
|
|
324
327
|
case 0:
|
|
325
|
-
this.
|
|
328
|
+
this.i9_1 = 2;
|
|
326
329
|
var tmp_0 = this;
|
|
327
|
-
tmp_0.
|
|
328
|
-
this.
|
|
329
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
330
|
-
suspendResult = this.
|
|
330
|
+
tmp_0.i4w_1 = this.h4w_1;
|
|
331
|
+
this.h9_1 = 1;
|
|
332
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.i4w_1, this.g4w_1.k4w_1, this.g4w_1.l4w_1, this.g4w_1.m4w_1, null);
|
|
333
|
+
suspendResult = this.g4w_1.j4w_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
331
334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
332
335
|
return suspendResult;
|
|
333
336
|
}
|
|
@@ -336,15 +339,15 @@
|
|
|
336
339
|
case 1:
|
|
337
340
|
return Unit_instance;
|
|
338
341
|
case 2:
|
|
339
|
-
throw this.
|
|
342
|
+
throw this.k9_1;
|
|
340
343
|
}
|
|
341
344
|
} catch ($p) {
|
|
342
345
|
var e = $p;
|
|
343
|
-
if (this.
|
|
346
|
+
if (this.i9_1 === 2) {
|
|
344
347
|
throw e;
|
|
345
348
|
} else {
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
349
|
+
this.h9_1 = this.i9_1;
|
|
350
|
+
this.k9_1 = e;
|
|
348
351
|
}
|
|
349
352
|
}
|
|
350
353
|
while (true);
|
|
@@ -352,11 +355,11 @@
|
|
|
352
355
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
353
356
|
var tmp;
|
|
354
357
|
if (isInterface(format, StringFormat)) {
|
|
355
|
-
var content = format.
|
|
358
|
+
var content = format.t49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
356
359
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
357
360
|
} else {
|
|
358
361
|
if (isInterface(format, BinaryFormat)) {
|
|
359
|
-
var content_0 = format.
|
|
362
|
+
var content_0 = format.w49(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
360
363
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
361
364
|
} else {
|
|
362
365
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -366,55 +369,97 @@
|
|
|
366
369
|
return tmp;
|
|
367
370
|
}
|
|
368
371
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
369
|
-
this.
|
|
372
|
+
this.n4w_1 = function_0;
|
|
370
373
|
}
|
|
371
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
372
|
-
return this.
|
|
374
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s18 = function (value, $completion) {
|
|
375
|
+
return this.n4w_1(value, $completion);
|
|
376
|
+
};
|
|
377
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
378
|
+
return this.n4w_1;
|
|
379
|
+
};
|
|
380
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
381
|
+
var tmp;
|
|
382
|
+
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
383
|
+
var tmp_0;
|
|
384
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
385
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
386
|
+
} else {
|
|
387
|
+
tmp_0 = false;
|
|
388
|
+
}
|
|
389
|
+
tmp = tmp_0;
|
|
390
|
+
} else {
|
|
391
|
+
tmp = false;
|
|
392
|
+
}
|
|
393
|
+
return tmp;
|
|
394
|
+
};
|
|
395
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
396
|
+
return hashCode(this.p3());
|
|
373
397
|
};
|
|
374
398
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
375
|
-
this.
|
|
399
|
+
this.o4w_1 = function_0;
|
|
376
400
|
}
|
|
377
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
378
|
-
return this.
|
|
401
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s18 = function (value, $completion) {
|
|
402
|
+
return this.o4w_1(value, $completion);
|
|
403
|
+
};
|
|
404
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
405
|
+
return this.o4w_1;
|
|
406
|
+
};
|
|
407
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
408
|
+
var tmp;
|
|
409
|
+
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
410
|
+
var tmp_0;
|
|
411
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
412
|
+
tmp_0 = equals(this.p3(), other.p3());
|
|
413
|
+
} else {
|
|
414
|
+
tmp_0 = false;
|
|
415
|
+
}
|
|
416
|
+
tmp = tmp_0;
|
|
417
|
+
} else {
|
|
418
|
+
tmp = false;
|
|
419
|
+
}
|
|
420
|
+
return tmp;
|
|
421
|
+
};
|
|
422
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
423
|
+
return hashCode(this.p3());
|
|
379
424
|
};
|
|
380
425
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
385
|
-
this.
|
|
426
|
+
this.c4v_1 = $this;
|
|
427
|
+
this.d4v_1 = $contentType;
|
|
428
|
+
this.e4v_1 = $charset;
|
|
429
|
+
this.f4v_1 = $typeInfo;
|
|
430
|
+
this.g4v_1 = $value;
|
|
386
431
|
}
|
|
387
|
-
protoOf(_no_name_provided__qut3iv).
|
|
432
|
+
protoOf(_no_name_provided__qut3iv).t18 = function (collector, $completion) {
|
|
388
433
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
389
|
-
tmp.
|
|
390
|
-
tmp.
|
|
391
|
-
return tmp.
|
|
434
|
+
tmp.j9_1 = Unit_instance;
|
|
435
|
+
tmp.k9_1 = null;
|
|
436
|
+
return tmp.p9();
|
|
392
437
|
};
|
|
393
|
-
protoOf(_no_name_provided__qut3iv).
|
|
394
|
-
return this.
|
|
438
|
+
protoOf(_no_name_provided__qut3iv).o17 = function (collector, $completion) {
|
|
439
|
+
return this.t18(collector, $completion);
|
|
395
440
|
};
|
|
396
441
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
397
442
|
CoroutineImpl.call(this, resultContinuation);
|
|
398
443
|
}
|
|
399
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
400
|
-
var tmp = this.
|
|
401
|
-
tmp.
|
|
402
|
-
tmp.
|
|
403
|
-
return tmp.
|
|
444
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).y4w = function (it, $completion) {
|
|
445
|
+
var tmp = this.z4w(it, $completion);
|
|
446
|
+
tmp.j9_1 = Unit_instance;
|
|
447
|
+
tmp.k9_1 = null;
|
|
448
|
+
return tmp.p9();
|
|
404
449
|
};
|
|
405
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
406
|
-
return this.
|
|
450
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z9 = function (p1, $completion) {
|
|
451
|
+
return this.y4w((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
407
452
|
};
|
|
408
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
409
|
-
var suspendResult = this.
|
|
453
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).p9 = function () {
|
|
454
|
+
var suspendResult = this.j9_1;
|
|
410
455
|
$sm: do
|
|
411
456
|
try {
|
|
412
|
-
var tmp = this.
|
|
457
|
+
var tmp = this.h9_1;
|
|
413
458
|
if (tmp === 0) {
|
|
414
|
-
this.
|
|
415
|
-
return !(this.
|
|
459
|
+
this.i9_1 = 1;
|
|
460
|
+
return !(this.x4w_1 == null);
|
|
416
461
|
} else if (tmp === 1) {
|
|
417
|
-
throw this.
|
|
462
|
+
throw this.k9_1;
|
|
418
463
|
}
|
|
419
464
|
} catch ($p) {
|
|
420
465
|
var e = $p;
|
|
@@ -422,57 +467,57 @@
|
|
|
422
467
|
}
|
|
423
468
|
while (true);
|
|
424
469
|
};
|
|
425
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
470
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z4w = function (it, completion) {
|
|
426
471
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
427
|
-
i.
|
|
472
|
+
i.x4w_1 = it;
|
|
428
473
|
return i;
|
|
429
474
|
};
|
|
430
475
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
431
476
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
432
477
|
var l = function (it, $completion) {
|
|
433
|
-
return i.
|
|
478
|
+
return i.y4w(it, $completion);
|
|
434
479
|
};
|
|
435
480
|
l.$arity = 1;
|
|
436
481
|
return l;
|
|
437
482
|
}
|
|
438
483
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
484
|
+
this.j4w_1 = $this;
|
|
485
|
+
this.k4w_1 = $charset;
|
|
486
|
+
this.l4w_1 = $typeInfo;
|
|
487
|
+
this.m4w_1 = $content;
|
|
443
488
|
}
|
|
444
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
489
|
+
protoOf(_no_name_provided__qut3iv_0).t18 = function (collector, $completion) {
|
|
445
490
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
446
|
-
tmp.
|
|
447
|
-
tmp.
|
|
448
|
-
return tmp.
|
|
491
|
+
tmp.j9_1 = Unit_instance;
|
|
492
|
+
tmp.k9_1 = null;
|
|
493
|
+
return tmp.p9();
|
|
449
494
|
};
|
|
450
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
451
|
-
return this.
|
|
495
|
+
protoOf(_no_name_provided__qut3iv_0).o17 = function (collector, $completion) {
|
|
496
|
+
return this.t18(collector, $completion);
|
|
452
497
|
};
|
|
453
498
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
454
|
-
this.
|
|
499
|
+
this.i4x_1 = $content;
|
|
455
500
|
CoroutineImpl.call(this, resultContinuation);
|
|
456
501
|
}
|
|
457
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
458
|
-
var tmp = this.
|
|
459
|
-
tmp.
|
|
460
|
-
tmp.
|
|
461
|
-
return tmp.
|
|
502
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).m2x = function (it, $completion) {
|
|
503
|
+
var tmp = this.f1m(it, $completion);
|
|
504
|
+
tmp.j9_1 = Unit_instance;
|
|
505
|
+
tmp.k9_1 = null;
|
|
506
|
+
return tmp.p9();
|
|
462
507
|
};
|
|
463
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
464
|
-
return this.
|
|
508
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z9 = function (p1, $completion) {
|
|
509
|
+
return this.m2x((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
465
510
|
};
|
|
466
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
467
|
-
var suspendResult = this.
|
|
511
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).p9 = function () {
|
|
512
|
+
var suspendResult = this.j9_1;
|
|
468
513
|
$sm: do
|
|
469
514
|
try {
|
|
470
|
-
var tmp = this.
|
|
515
|
+
var tmp = this.h9_1;
|
|
471
516
|
if (tmp === 0) {
|
|
472
|
-
this.
|
|
473
|
-
return !(this.
|
|
517
|
+
this.i9_1 = 1;
|
|
518
|
+
return !(this.j4x_1 == null) || this.i4x_1.c1w();
|
|
474
519
|
} else if (tmp === 1) {
|
|
475
|
-
throw this.
|
|
520
|
+
throw this.k9_1;
|
|
476
521
|
}
|
|
477
522
|
} catch ($p) {
|
|
478
523
|
var e = $p;
|
|
@@ -480,38 +525,38 @@
|
|
|
480
525
|
}
|
|
481
526
|
while (true);
|
|
482
527
|
};
|
|
483
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
484
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
485
|
-
i.
|
|
528
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).f1m = function (it, completion) {
|
|
529
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.i4x_1, completion);
|
|
530
|
+
i.j4x_1 = it;
|
|
486
531
|
return i;
|
|
487
532
|
};
|
|
488
533
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
489
534
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
490
535
|
var l = function (it, $completion) {
|
|
491
|
-
return i.
|
|
536
|
+
return i.m2x(it, $completion);
|
|
492
537
|
};
|
|
493
538
|
l.$arity = 1;
|
|
494
539
|
return l;
|
|
495
540
|
}
|
|
496
541
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
497
542
|
CoroutineImpl.call(this, resultContinuation);
|
|
498
|
-
this.
|
|
499
|
-
this.
|
|
500
|
-
this.
|
|
501
|
-
this.
|
|
502
|
-
this.
|
|
543
|
+
this.s4x_1 = _this__u8e3s4;
|
|
544
|
+
this.t4x_1 = contentType;
|
|
545
|
+
this.u4x_1 = charset;
|
|
546
|
+
this.v4x_1 = typeInfo;
|
|
547
|
+
this.w4x_1 = value;
|
|
503
548
|
}
|
|
504
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
505
|
-
var suspendResult = this.
|
|
549
|
+
protoOf($serializeNullableCOROUTINE$0).p9 = function () {
|
|
550
|
+
var suspendResult = this.j9_1;
|
|
506
551
|
$sm: do
|
|
507
552
|
try {
|
|
508
|
-
var tmp = this.
|
|
553
|
+
var tmp = this.h9_1;
|
|
509
554
|
switch (tmp) {
|
|
510
555
|
case 0:
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
var this_0 = asFlow(this.
|
|
514
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
556
|
+
this.i9_1 = 2;
|
|
557
|
+
this.h9_1 = 1;
|
|
558
|
+
var this_0 = asFlow(this.s4x_1.y4x_1);
|
|
559
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.t4x_1, this.u4x_1, this.v4x_1, this.w4x_1);
|
|
515
560
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
516
561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
517
562
|
return suspendResult;
|
|
@@ -524,12 +569,12 @@
|
|
|
524
569
|
return fromExtension;
|
|
525
570
|
var tmp_1;
|
|
526
571
|
try {
|
|
527
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
572
|
+
tmp_1 = serializerForTypeInfo(this.s4x_1.x4x_1.v49(), this.v4x_1);
|
|
528
573
|
} catch ($p) {
|
|
529
574
|
var tmp_2;
|
|
530
575
|
if ($p instanceof SerializationException) {
|
|
531
576
|
var cause = $p;
|
|
532
|
-
tmp_2 = guessSerializer(this.
|
|
577
|
+
tmp_2 = guessSerializer(this.w4x_1, this.s4x_1.x4x_1.v49());
|
|
533
578
|
} else {
|
|
534
579
|
throw $p;
|
|
535
580
|
}
|
|
@@ -537,59 +582,59 @@
|
|
|
537
582
|
}
|
|
538
583
|
|
|
539
584
|
var serializer = tmp_1;
|
|
540
|
-
return serializeContent(this.
|
|
585
|
+
return serializeContent(this.s4x_1, serializer, this.s4x_1.x4x_1, this.w4x_1, this.t4x_1, this.u4x_1);
|
|
541
586
|
case 2:
|
|
542
|
-
throw this.
|
|
587
|
+
throw this.k9_1;
|
|
543
588
|
}
|
|
544
589
|
} catch ($p) {
|
|
545
590
|
var e = $p;
|
|
546
|
-
if (this.
|
|
591
|
+
if (this.i9_1 === 2) {
|
|
547
592
|
throw e;
|
|
548
593
|
} else {
|
|
549
|
-
this.
|
|
550
|
-
this.
|
|
594
|
+
this.h9_1 = this.i9_1;
|
|
595
|
+
this.k9_1 = e;
|
|
551
596
|
}
|
|
552
597
|
}
|
|
553
598
|
while (true);
|
|
554
599
|
};
|
|
555
600
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
556
601
|
CoroutineImpl.call(this, resultContinuation);
|
|
557
|
-
this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
602
|
+
this.h4y_1 = _this__u8e3s4;
|
|
603
|
+
this.i4y_1 = charset;
|
|
604
|
+
this.j4y_1 = typeInfo;
|
|
605
|
+
this.k4y_1 = content;
|
|
561
606
|
}
|
|
562
|
-
protoOf($deserializeCOROUTINE$1).
|
|
563
|
-
var suspendResult = this.
|
|
607
|
+
protoOf($deserializeCOROUTINE$1).p9 = function () {
|
|
608
|
+
var suspendResult = this.j9_1;
|
|
564
609
|
$sm: do
|
|
565
610
|
try {
|
|
566
|
-
var tmp = this.
|
|
611
|
+
var tmp = this.h9_1;
|
|
567
612
|
switch (tmp) {
|
|
568
613
|
case 0:
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
var this_0 = asFlow(this.
|
|
572
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
573
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
614
|
+
this.i9_1 = 5;
|
|
615
|
+
this.h9_1 = 1;
|
|
616
|
+
var this_0 = asFlow(this.h4y_1.y4x_1);
|
|
617
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.i4y_1, this.j4y_1, this.k4y_1);
|
|
618
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.k4y_1, null), this);
|
|
574
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
575
620
|
return suspendResult;
|
|
576
621
|
}
|
|
577
622
|
|
|
578
623
|
continue $sm;
|
|
579
624
|
case 1:
|
|
580
|
-
this.
|
|
625
|
+
this.l4y_1 = suspendResult;
|
|
581
626
|
var tmp_1;
|
|
582
|
-
if (!this.
|
|
583
|
-
tmp_1 = !(this.
|
|
627
|
+
if (!this.h4y_1.y4x_1.p()) {
|
|
628
|
+
tmp_1 = !(this.l4y_1 == null) || this.k4y_1.c1w();
|
|
584
629
|
} else {
|
|
585
630
|
tmp_1 = false;
|
|
586
631
|
}
|
|
587
632
|
|
|
588
633
|
if (tmp_1)
|
|
589
|
-
return this.
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
suspendResult = this.
|
|
634
|
+
return this.l4y_1;
|
|
635
|
+
this.m4y_1 = serializerForTypeInfo(this.h4y_1.x4x_1.v49(), this.j4y_1);
|
|
636
|
+
this.h9_1 = 2;
|
|
637
|
+
suspendResult = this.k4y_1.x21(VOID, this);
|
|
593
638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
594
639
|
return suspendResult;
|
|
595
640
|
}
|
|
@@ -597,92 +642,92 @@
|
|
|
597
642
|
continue $sm;
|
|
598
643
|
case 2:
|
|
599
644
|
var contentPacket = suspendResult;
|
|
600
|
-
this.
|
|
601
|
-
var tmp0_subject = this.
|
|
645
|
+
this.i9_1 = 3;
|
|
646
|
+
var tmp0_subject = this.h4y_1.x4x_1;
|
|
602
647
|
var tmp_2;
|
|
603
648
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
604
|
-
tmp_2 = this.
|
|
649
|
+
tmp_2 = this.h4y_1.x4x_1.u49(this.m4y_1, readText(contentPacket, this.i4y_1));
|
|
605
650
|
} else {
|
|
606
651
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
607
|
-
tmp_2 = this.
|
|
652
|
+
tmp_2 = this.h4y_1.x4x_1.x49(this.m4y_1, readBytes(contentPacket));
|
|
608
653
|
} else {
|
|
609
654
|
discard(contentPacket);
|
|
610
|
-
var message = 'Unsupported format ' + toString(this.
|
|
655
|
+
var message = 'Unsupported format ' + toString(this.h4y_1.x4x_1);
|
|
611
656
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
612
657
|
}
|
|
613
658
|
}
|
|
614
659
|
|
|
615
660
|
return tmp_2;
|
|
616
661
|
case 3:
|
|
617
|
-
this.
|
|
618
|
-
var tmp_3 = this.
|
|
662
|
+
this.i9_1 = 5;
|
|
663
|
+
var tmp_3 = this.k9_1;
|
|
619
664
|
if (tmp_3 instanceof Error) {
|
|
620
|
-
var cause = this.
|
|
665
|
+
var cause = this.k9_1;
|
|
621
666
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
622
667
|
} else {
|
|
623
|
-
throw this.
|
|
668
|
+
throw this.k9_1;
|
|
624
669
|
}
|
|
625
670
|
|
|
626
671
|
case 4:
|
|
627
|
-
this.
|
|
672
|
+
this.i9_1 = 5;
|
|
628
673
|
return Unit_instance;
|
|
629
674
|
case 5:
|
|
630
|
-
throw this.
|
|
675
|
+
throw this.k9_1;
|
|
631
676
|
}
|
|
632
677
|
} catch ($p) {
|
|
633
678
|
var e = $p;
|
|
634
|
-
if (this.
|
|
679
|
+
if (this.i9_1 === 5) {
|
|
635
680
|
throw e;
|
|
636
681
|
} else {
|
|
637
|
-
this.
|
|
638
|
-
this.
|
|
682
|
+
this.h9_1 = this.i9_1;
|
|
683
|
+
this.k9_1 = e;
|
|
639
684
|
}
|
|
640
685
|
}
|
|
641
686
|
while (true);
|
|
642
687
|
};
|
|
643
688
|
function KotlinxSerializationConverter(format) {
|
|
644
|
-
this.
|
|
645
|
-
this.
|
|
689
|
+
this.x4x_1 = format;
|
|
690
|
+
this.y4x_1 = extensions(this.x4x_1);
|
|
646
691
|
// Inline function 'kotlin.require' call
|
|
647
692
|
var tmp;
|
|
648
|
-
var tmp_0 = this.
|
|
693
|
+
var tmp_0 = this.x4x_1;
|
|
649
694
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
650
695
|
tmp = true;
|
|
651
696
|
} else {
|
|
652
|
-
var tmp_1 = this.
|
|
697
|
+
var tmp_1 = this.x4x_1;
|
|
653
698
|
tmp = isInterface(tmp_1, StringFormat);
|
|
654
699
|
}
|
|
655
700
|
// Inline function 'kotlin.contracts.contract' call
|
|
656
701
|
if (!tmp) {
|
|
657
702
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
658
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
703
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.x4x_1) + ' is not supported.';
|
|
659
704
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
660
705
|
}
|
|
661
706
|
}
|
|
662
|
-
protoOf(KotlinxSerializationConverter).
|
|
663
|
-
return this.
|
|
707
|
+
protoOf(KotlinxSerializationConverter).n4y = function (contentType, charset, typeInfo, value, $completion) {
|
|
708
|
+
return this.o4y(contentType, charset, typeInfo, value, $completion);
|
|
664
709
|
};
|
|
665
|
-
protoOf(KotlinxSerializationConverter).
|
|
666
|
-
return this.
|
|
710
|
+
protoOf(KotlinxSerializationConverter).g2v = function (contentType, charset, typeInfo, value, $completion) {
|
|
711
|
+
return this.n4y(contentType, charset, typeInfo, value, $completion);
|
|
667
712
|
};
|
|
668
|
-
protoOf(KotlinxSerializationConverter).
|
|
713
|
+
protoOf(KotlinxSerializationConverter).o4y = function (contentType, charset, typeInfo, value, $completion) {
|
|
669
714
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
670
|
-
tmp.
|
|
671
|
-
tmp.
|
|
672
|
-
return tmp.
|
|
715
|
+
tmp.j9_1 = Unit_instance;
|
|
716
|
+
tmp.k9_1 = null;
|
|
717
|
+
return tmp.p9();
|
|
673
718
|
};
|
|
674
|
-
protoOf(KotlinxSerializationConverter).
|
|
675
|
-
return this.
|
|
719
|
+
protoOf(KotlinxSerializationConverter).h2v = function (contentType, charset, typeInfo, value, $completion) {
|
|
720
|
+
return this.o4y(contentType, charset, typeInfo, value, $completion);
|
|
676
721
|
};
|
|
677
|
-
protoOf(KotlinxSerializationConverter).
|
|
722
|
+
protoOf(KotlinxSerializationConverter).i2v = function (charset, typeInfo, content, $completion) {
|
|
678
723
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
679
|
-
tmp.
|
|
680
|
-
tmp.
|
|
681
|
-
return tmp.
|
|
724
|
+
tmp.j9_1 = Unit_instance;
|
|
725
|
+
tmp.k9_1 = null;
|
|
726
|
+
return tmp.p9();
|
|
682
727
|
};
|
|
683
728
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
684
729
|
var module_0 = _this__u8e3s4;
|
|
685
|
-
var tmp0_safe_receiver = typeInfo.
|
|
730
|
+
var tmp0_safe_receiver = typeInfo.f2i_1;
|
|
686
731
|
var tmp;
|
|
687
732
|
if (tmp0_safe_receiver == null) {
|
|
688
733
|
tmp = null;
|
|
@@ -691,7 +736,7 @@
|
|
|
691
736
|
// Inline function 'kotlin.contracts.contract' call
|
|
692
737
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
693
738
|
var tmp_0;
|
|
694
|
-
if (tmp0_safe_receiver.
|
|
739
|
+
if (tmp0_safe_receiver.db().p()) {
|
|
695
740
|
tmp_0 = null;
|
|
696
741
|
} else {
|
|
697
742
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -701,13 +746,13 @@
|
|
|
701
746
|
var tmp2_elvis_lhs = tmp;
|
|
702
747
|
var tmp_1;
|
|
703
748
|
if (tmp2_elvis_lhs == null) {
|
|
704
|
-
var tmp1_safe_receiver = module_0.
|
|
749
|
+
var tmp1_safe_receiver = module_0.a4a(typeInfo.d2i_1);
|
|
705
750
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
706
751
|
} else {
|
|
707
752
|
tmp_1 = tmp2_elvis_lhs;
|
|
708
753
|
}
|
|
709
754
|
var tmp3_elvis_lhs = tmp_1;
|
|
710
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
755
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.d2i_1), typeInfo) : tmp3_elvis_lhs;
|
|
711
756
|
}
|
|
712
757
|
function guessSerializer(value, module_0) {
|
|
713
758
|
var tmp;
|
|
@@ -739,7 +784,7 @@
|
|
|
739
784
|
var valueSerializer = elementSerializer(value.j2(), module_0);
|
|
740
785
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
741
786
|
} else {
|
|
742
|
-
var tmp3_elvis_lhs = module_0.
|
|
787
|
+
var tmp3_elvis_lhs = module_0.a4a(getKClassFromExpression(value));
|
|
743
788
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
744
789
|
}
|
|
745
790
|
}
|
|
@@ -751,8 +796,8 @@
|
|
|
751
796
|
}
|
|
752
797
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
753
798
|
var tmp;
|
|
754
|
-
var tmp0_safe_receiver = typeInfo.
|
|
755
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
799
|
+
var tmp0_safe_receiver = typeInfo.f2i_1;
|
|
800
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.eb()) === true) {
|
|
756
801
|
tmp = get_nullable(_this__u8e3s4);
|
|
757
802
|
} else {
|
|
758
803
|
tmp = _this__u8e3s4;
|
|
@@ -778,7 +823,7 @@
|
|
|
778
823
|
while (tmp0_iterator_0.k()) {
|
|
779
824
|
var e = tmp0_iterator_0.l();
|
|
780
825
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
781
|
-
var key = e.
|
|
826
|
+
var key = e.q48().r49();
|
|
782
827
|
if (set.e(key)) {
|
|
783
828
|
list.e(e);
|
|
784
829
|
}
|
|
@@ -793,7 +838,7 @@
|
|
|
793
838
|
while (tmp0_iterator_1.k()) {
|
|
794
839
|
var item_0 = tmp0_iterator_1.l();
|
|
795
840
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
796
|
-
var tmp$ret$5 = item_0.
|
|
841
|
+
var tmp$ret$5 = item_0.q48().r49();
|
|
797
842
|
destination_0.e(tmp$ret$5);
|
|
798
843
|
}
|
|
799
844
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -801,7 +846,7 @@
|
|
|
801
846
|
}
|
|
802
847
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
803
848
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
804
|
-
if (selected.
|
|
849
|
+
if (selected.q48().e4a()) {
|
|
805
850
|
return selected;
|
|
806
851
|
}
|
|
807
852
|
if (!isInterface(selected, KSerializer))
|