game_client_logic_deb 1.8.342 → 1.8.345
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 +105 -117
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +935 -945
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +4622 -3643
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1828 -1855
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18031 -18544
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +897 -163
- package/Logic_Debertz-game_client.js +5644 -5279
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4832 -4536
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -26
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3156 -3339
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +459 -523
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2372 -2414
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1963 -1977
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +194 -194
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +1902 -1937
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js.map +1 -1
- package/ktor-ktor-client-logging.js +393 -399
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +12 -15
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +964 -1154
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1715 -1825
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +238 -243
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +100 -96
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +655 -689
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js.map +1 -1
- package/ktor-ktor-websockets.js +71 -77
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -2
- package/raspberry-cardgame-lib-core.js +331 -365
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +148 -119
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +922 -989
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +36 -35
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +35 -39
- package/uuid.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +0 -15
- package/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
|
@@ -27,117 +27,114 @@
|
|
|
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
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
31
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
32
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
33
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
34
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
35
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
30
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
31
|
+
var Unit_instance = kotlin_kotlin.$_$.h5;
|
|
32
|
+
var CoroutineImpl = kotlin_kotlin.$_$.pa;
|
|
33
|
+
var protoOf = kotlin_kotlin.$_$.oc;
|
|
34
|
+
var THROW_CCE = kotlin_kotlin.$_$.og;
|
|
35
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.aa;
|
|
36
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.rb;
|
|
37
37
|
var VOID = kotlin_kotlin.$_$.f;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
40
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
38
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.pb;
|
|
39
|
+
var toString = kotlin_kotlin.$_$.tc;
|
|
40
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
41
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
+
var isInterface = kotlin_kotlin.$_$.bc;
|
|
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.$_$.p2;
|
|
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.$_$.
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
47
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
|
+
var equals = kotlin_kotlin.$_$.gb;
|
|
49
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ta;
|
|
50
50
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.mb;
|
|
52
|
+
var initMetadataForClass = kotlin_kotlin.$_$.nb;
|
|
53
53
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
54
54
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
55
55
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
56
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
56
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
57
57
|
var discard = kotlin_io_ktor_ktor_io.$_$.w;
|
|
58
58
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.x;
|
|
59
59
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
60
60
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
61
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
61
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
62
62
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
63
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
64
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
63
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
64
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
65
65
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
66
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
67
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
68
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
69
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
70
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
71
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
72
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
73
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
74
|
-
var isArray = kotlin_kotlin.$_$.
|
|
75
|
-
var KtList = kotlin_kotlin.$_$.
|
|
76
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
77
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
78
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
79
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
80
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
81
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
82
|
-
var Collection = kotlin_kotlin.$_$.
|
|
83
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
66
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
67
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
68
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
69
|
+
var KtSet = kotlin_kotlin.$_$.x5;
|
|
70
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.l7;
|
|
71
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.s4;
|
|
72
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
73
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
74
|
+
var isArray = kotlin_kotlin.$_$.tb;
|
|
75
|
+
var KtList = kotlin_kotlin.$_$.p5;
|
|
76
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
77
|
+
var filterNotNull = kotlin_kotlin.$_$.i7;
|
|
78
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
79
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
80
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
81
|
+
var singleOrNull = kotlin_kotlin.$_$.a9;
|
|
82
|
+
var Collection = kotlin_kotlin.$_$.j5;
|
|
83
|
+
var emptyList = kotlin_kotlin.$_$.f7;
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: pre-declaration
|
|
86
86
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
87
|
-
initMetadataForCoroutine($collectCOROUTINE
|
|
87
|
+
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
88
88
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
89
|
-
initMetadataForCoroutine($collectCOROUTINE$
|
|
89
|
+
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
90
90
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
91
91
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
92
|
-
initMetadataForClass(
|
|
92
|
+
initMetadataForClass(KotlinxSerializationConverter$serializeNullable$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
93
93
|
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$slambda, CoroutineImpl, VOID, [1]);
|
|
94
|
-
initMetadataForClass(
|
|
94
|
+
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
95
95
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
96
|
-
initMetadataForCoroutine($serializeNullableCOROUTINE
|
|
97
|
-
initMetadataForCoroutine($deserializeCOROUTINE
|
|
96
|
+
initMetadataForCoroutine($serializeNullableCOROUTINE$, CoroutineImpl);
|
|
97
|
+
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
98
98
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, [ContentConverter], [4, 3]);
|
|
99
99
|
//endregion
|
|
100
100
|
function extensions(format) {
|
|
101
101
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
102
|
+
var tmp0 = get_providers();
|
|
102
103
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
103
|
-
var this_0 = get_providers();
|
|
104
104
|
var destination = ArrayList_init_$Create$();
|
|
105
105
|
// Inline function 'kotlin.collections.forEach' call
|
|
106
|
-
var
|
|
107
|
-
while (
|
|
108
|
-
var element =
|
|
109
|
-
|
|
110
|
-
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
111
|
-
var tmp0_safe_receiver = element.z4o(format);
|
|
106
|
+
var _iterator__ex2g4s = tmp0.j();
|
|
107
|
+
while (_iterator__ex2g4s.k()) {
|
|
108
|
+
var element = _iterator__ex2g4s.l();
|
|
109
|
+
var tmp0_safe_receiver = element.j4s(format);
|
|
112
110
|
if (tmp0_safe_receiver == null)
|
|
113
111
|
null;
|
|
114
112
|
else {
|
|
115
113
|
// Inline function 'kotlin.let' call
|
|
116
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
117
114
|
destination.e(tmp0_safe_receiver);
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
return destination;
|
|
121
118
|
}
|
|
122
119
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
123
|
-
_this__u8e3s4.
|
|
120
|
+
_this__u8e3s4.k2s(contentType, new KotlinxSerializationConverter(format));
|
|
124
121
|
}
|
|
125
122
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
123
|
+
this.s4s_1 = $$this$unsafeFlow;
|
|
124
|
+
this.t4s_1 = $contentType;
|
|
125
|
+
this.u4s_1 = $charset;
|
|
126
|
+
this.v4s_1 = $typeInfo;
|
|
127
|
+
this.w4s_1 = $value;
|
|
131
128
|
CoroutineImpl.call(this, resultContinuation);
|
|
132
129
|
}
|
|
133
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
134
|
-
var tmp = this.
|
|
130
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).v2t = function (value, $completion) {
|
|
131
|
+
var tmp = this.w2t(value, $completion);
|
|
135
132
|
tmp.l9_1 = Unit_instance;
|
|
136
133
|
tmp.m9_1 = null;
|
|
137
134
|
return tmp.r9();
|
|
138
135
|
};
|
|
139
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
140
|
-
return this.
|
|
136
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).z9 = function (p1, $completion) {
|
|
137
|
+
return this.v2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
141
138
|
};
|
|
142
139
|
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).r9 = function () {
|
|
143
140
|
var suspendResult = this.l9_1;
|
|
@@ -148,22 +145,25 @@
|
|
|
148
145
|
case 0:
|
|
149
146
|
this.k9_1 = 3;
|
|
150
147
|
var tmp_0 = this;
|
|
151
|
-
tmp_0.
|
|
148
|
+
tmp_0.y4s_1 = this.s4s_1;
|
|
152
149
|
var tmp_1 = this;
|
|
153
|
-
tmp_1.
|
|
150
|
+
tmp_1.z4s_1 = this.x4s_1;
|
|
151
|
+
this.a4t_1 = this.y4s_1;
|
|
152
|
+
this.b4t_1 = this.z4s_1;
|
|
154
153
|
var tmp_2 = this;
|
|
155
|
-
tmp_2.
|
|
154
|
+
tmp_2.c4t_1 = this.b4t_1;
|
|
155
|
+
this.d4t_1 = this.c4t_1;
|
|
156
156
|
this.j9_1 = 1;
|
|
157
|
-
suspendResult = this.
|
|
157
|
+
suspendResult = this.d4t_1.f4t(this.t4s_1, this.u4s_1, this.v4s_1, this.w4s_1, this);
|
|
158
158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
159
159
|
return suspendResult;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
continue $sm;
|
|
163
163
|
case 1:
|
|
164
|
-
this.
|
|
164
|
+
this.e4t_1 = suspendResult;
|
|
165
165
|
this.j9_1 = 2;
|
|
166
|
-
suspendResult = this.
|
|
166
|
+
suspendResult = this.a4t_1.b1a(this.e4t_1, this);
|
|
167
167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
168
168
|
return suspendResult;
|
|
169
169
|
}
|
|
@@ -185,25 +185,25 @@
|
|
|
185
185
|
}
|
|
186
186
|
while (true);
|
|
187
187
|
};
|
|
188
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
189
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
190
|
-
i.
|
|
188
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).w2t = function (value, completion) {
|
|
189
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.s4s_1, this.t4s_1, this.u4s_1, this.v4s_1, this.w4s_1, completion);
|
|
190
|
+
i.x4s_1 = value;
|
|
191
191
|
return i;
|
|
192
192
|
};
|
|
193
193
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
194
194
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
195
195
|
var l = function (value, $completion) {
|
|
196
|
-
return i.
|
|
196
|
+
return i.v2t(value, $completion);
|
|
197
197
|
};
|
|
198
198
|
l.$arity = 1;
|
|
199
199
|
return l;
|
|
200
200
|
}
|
|
201
|
-
function $collectCOROUTINE$
|
|
201
|
+
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
202
202
|
CoroutineImpl.call(this, resultContinuation);
|
|
203
|
-
this.
|
|
204
|
-
this.
|
|
203
|
+
this.o4t_1 = _this__u8e3s4;
|
|
204
|
+
this.p4t_1 = collector;
|
|
205
205
|
}
|
|
206
|
-
protoOf($collectCOROUTINE$
|
|
206
|
+
protoOf($collectCOROUTINE$).r9 = function () {
|
|
207
207
|
var suspendResult = this.l9_1;
|
|
208
208
|
$sm: do
|
|
209
209
|
try {
|
|
@@ -212,10 +212,11 @@
|
|
|
212
212
|
case 0:
|
|
213
213
|
this.k9_1 = 2;
|
|
214
214
|
var tmp_0 = this;
|
|
215
|
-
tmp_0.
|
|
215
|
+
tmp_0.q4t_1 = this.p4t_1;
|
|
216
|
+
this.r4t_1 = this.q4t_1;
|
|
216
217
|
this.j9_1 = 1;
|
|
217
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
218
|
-
suspendResult = this.
|
|
218
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.r4t_1, this.o4t_1.t4t_1, this.o4t_1.u4t_1, this.o4t_1.v4t_1, this.o4t_1.w4t_1, null);
|
|
219
|
+
suspendResult = this.o4t_1.s4t_1.h19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
219
220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
220
221
|
return suspendResult;
|
|
221
222
|
}
|
|
@@ -238,20 +239,20 @@
|
|
|
238
239
|
while (true);
|
|
239
240
|
};
|
|
240
241
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
242
|
+
this.f4u_1 = $$this$unsafeFlow;
|
|
243
|
+
this.g4u_1 = $charset;
|
|
244
|
+
this.h4u_1 = $typeInfo;
|
|
245
|
+
this.i4u_1 = $content;
|
|
245
246
|
CoroutineImpl.call(this, resultContinuation);
|
|
246
247
|
}
|
|
247
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
248
|
-
var tmp = this.
|
|
248
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).v2t = function (value, $completion) {
|
|
249
|
+
var tmp = this.w2t(value, $completion);
|
|
249
250
|
tmp.l9_1 = Unit_instance;
|
|
250
251
|
tmp.m9_1 = null;
|
|
251
252
|
return tmp.r9();
|
|
252
253
|
};
|
|
253
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
254
|
-
return this.
|
|
254
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).z9 = function (p1, $completion) {
|
|
255
|
+
return this.v2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
255
256
|
};
|
|
256
257
|
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r9 = function () {
|
|
257
258
|
var suspendResult = this.l9_1;
|
|
@@ -262,22 +263,25 @@
|
|
|
262
263
|
case 0:
|
|
263
264
|
this.k9_1 = 3;
|
|
264
265
|
var tmp_0 = this;
|
|
265
|
-
tmp_0.
|
|
266
|
+
tmp_0.k4u_1 = this.f4u_1;
|
|
266
267
|
var tmp_1 = this;
|
|
267
|
-
tmp_1.
|
|
268
|
+
tmp_1.l4u_1 = this.j4u_1;
|
|
269
|
+
this.m4u_1 = this.k4u_1;
|
|
270
|
+
this.n4u_1 = this.l4u_1;
|
|
268
271
|
var tmp_2 = this;
|
|
269
|
-
tmp_2.
|
|
272
|
+
tmp_2.o4u_1 = this.n4u_1;
|
|
273
|
+
this.p4u_1 = this.o4u_1;
|
|
270
274
|
this.j9_1 = 1;
|
|
271
|
-
suspendResult = this.
|
|
275
|
+
suspendResult = this.p4u_1.n2s(this.g4u_1, this.h4u_1, this.i4u_1, this);
|
|
272
276
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
273
277
|
return suspendResult;
|
|
274
278
|
}
|
|
275
279
|
|
|
276
280
|
continue $sm;
|
|
277
281
|
case 1:
|
|
278
|
-
this.
|
|
282
|
+
this.q4u_1 = suspendResult;
|
|
279
283
|
this.j9_1 = 2;
|
|
280
|
-
suspendResult = this.
|
|
284
|
+
suspendResult = this.m4u_1.b1a(this.q4u_1, this);
|
|
281
285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
282
286
|
return suspendResult;
|
|
283
287
|
}
|
|
@@ -299,25 +303,25 @@
|
|
|
299
303
|
}
|
|
300
304
|
while (true);
|
|
301
305
|
};
|
|
302
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
303
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
304
|
-
i.
|
|
306
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).w2t = function (value, completion) {
|
|
307
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.f4u_1, this.g4u_1, this.h4u_1, this.i4u_1, completion);
|
|
308
|
+
i.j4u_1 = value;
|
|
305
309
|
return i;
|
|
306
310
|
};
|
|
307
311
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
308
312
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
309
313
|
var l = function (value, $completion) {
|
|
310
|
-
return i.
|
|
314
|
+
return i.v2t(value, $completion);
|
|
311
315
|
};
|
|
312
316
|
l.$arity = 1;
|
|
313
317
|
return l;
|
|
314
318
|
}
|
|
315
|
-
function $collectCOROUTINE$
|
|
319
|
+
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
316
320
|
CoroutineImpl.call(this, resultContinuation);
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
321
|
+
this.z4u_1 = _this__u8e3s4;
|
|
322
|
+
this.a4v_1 = collector;
|
|
319
323
|
}
|
|
320
|
-
protoOf($collectCOROUTINE$
|
|
324
|
+
protoOf($collectCOROUTINE$_0).r9 = function () {
|
|
321
325
|
var suspendResult = this.l9_1;
|
|
322
326
|
$sm: do
|
|
323
327
|
try {
|
|
@@ -326,10 +330,11 @@
|
|
|
326
330
|
case 0:
|
|
327
331
|
this.k9_1 = 2;
|
|
328
332
|
var tmp_0 = this;
|
|
329
|
-
tmp_0.
|
|
333
|
+
tmp_0.b4v_1 = this.a4v_1;
|
|
334
|
+
this.c4v_1 = this.b4v_1;
|
|
330
335
|
this.j9_1 = 1;
|
|
331
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
332
|
-
suspendResult = this.
|
|
336
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.c4v_1, this.z4u_1.e4v_1, this.z4u_1.f4v_1, this.z4u_1.g4v_1, null);
|
|
337
|
+
suspendResult = this.z4u_1.d4v_1.h19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
333
338
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
334
339
|
return suspendResult;
|
|
335
340
|
}
|
|
@@ -354,11 +359,11 @@
|
|
|
354
359
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
355
360
|
var tmp;
|
|
356
361
|
if (isInterface(format, StringFormat)) {
|
|
357
|
-
var content = format.
|
|
362
|
+
var content = format.d48(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
358
363
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
359
364
|
} else {
|
|
360
365
|
if (isInterface(format, BinaryFormat)) {
|
|
361
|
-
var content_0 = format.
|
|
366
|
+
var content_0 = format.f48(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
362
367
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
363
368
|
} else {
|
|
364
369
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -368,20 +373,20 @@
|
|
|
368
373
|
return tmp;
|
|
369
374
|
}
|
|
370
375
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
371
|
-
this.
|
|
376
|
+
this.h4v_1 = function_0;
|
|
372
377
|
}
|
|
373
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
374
|
-
return this.
|
|
378
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b1a = function (value, $completion) {
|
|
379
|
+
return this.h4v_1(value, $completion);
|
|
375
380
|
};
|
|
376
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
377
|
-
return this.
|
|
381
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q3 = function () {
|
|
382
|
+
return this.h4v_1;
|
|
378
383
|
};
|
|
379
384
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
380
385
|
var tmp;
|
|
381
386
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
382
387
|
var tmp_0;
|
|
383
388
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
384
|
-
tmp_0 = equals(this.
|
|
389
|
+
tmp_0 = equals(this.q3(), other.q3());
|
|
385
390
|
} else {
|
|
386
391
|
tmp_0 = false;
|
|
387
392
|
}
|
|
@@ -392,23 +397,23 @@
|
|
|
392
397
|
return tmp;
|
|
393
398
|
};
|
|
394
399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
395
|
-
return hashCode(this.
|
|
400
|
+
return hashCode(this.q3());
|
|
396
401
|
};
|
|
397
402
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
398
|
-
this.
|
|
403
|
+
this.i4v_1 = function_0;
|
|
399
404
|
}
|
|
400
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
401
|
-
return this.
|
|
405
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b1a = function (value, $completion) {
|
|
406
|
+
return this.i4v_1(value, $completion);
|
|
402
407
|
};
|
|
403
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
404
|
-
return this.
|
|
408
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q3 = function () {
|
|
409
|
+
return this.i4v_1;
|
|
405
410
|
};
|
|
406
411
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
407
412
|
var tmp;
|
|
408
413
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
409
414
|
var tmp_0;
|
|
410
415
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
411
|
-
tmp_0 = equals(this.
|
|
416
|
+
tmp_0 = equals(this.q3(), other.q3());
|
|
412
417
|
} else {
|
|
413
418
|
tmp_0 = false;
|
|
414
419
|
}
|
|
@@ -419,35 +424,35 @@
|
|
|
419
424
|
return tmp;
|
|
420
425
|
};
|
|
421
426
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
422
|
-
return hashCode(this.
|
|
423
|
-
};
|
|
424
|
-
function
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
428
|
-
this.
|
|
429
|
-
this.
|
|
427
|
+
return hashCode(this.q3());
|
|
428
|
+
};
|
|
429
|
+
function KotlinxSerializationConverter$serializeNullable$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
430
|
+
this.s4t_1 = $this;
|
|
431
|
+
this.t4t_1 = $contentType;
|
|
432
|
+
this.u4t_1 = $charset;
|
|
433
|
+
this.v4t_1 = $typeInfo;
|
|
434
|
+
this.w4t_1 = $value;
|
|
430
435
|
}
|
|
431
|
-
protoOf(
|
|
432
|
-
var tmp = new $collectCOROUTINE$
|
|
436
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).c1a = function (collector, $completion) {
|
|
437
|
+
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
433
438
|
tmp.l9_1 = Unit_instance;
|
|
434
439
|
tmp.m9_1 = null;
|
|
435
440
|
return tmp.r9();
|
|
436
441
|
};
|
|
437
|
-
protoOf(
|
|
438
|
-
return this.
|
|
442
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$$inlined$map$1).h19 = function (collector, $completion) {
|
|
443
|
+
return this.c1a(collector, $completion);
|
|
439
444
|
};
|
|
440
445
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
441
446
|
CoroutineImpl.call(this, resultContinuation);
|
|
442
447
|
}
|
|
443
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
444
|
-
var tmp = this.
|
|
448
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).s4v = function (it, $completion) {
|
|
449
|
+
var tmp = this.t4v(it, $completion);
|
|
445
450
|
tmp.l9_1 = Unit_instance;
|
|
446
451
|
tmp.m9_1 = null;
|
|
447
452
|
return tmp.r9();
|
|
448
453
|
};
|
|
449
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
450
|
-
return this.
|
|
454
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).z9 = function (p1, $completion) {
|
|
455
|
+
return this.s4v((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
451
456
|
};
|
|
452
457
|
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).r9 = function () {
|
|
453
458
|
var suspendResult = this.l9_1;
|
|
@@ -456,7 +461,7 @@
|
|
|
456
461
|
var tmp = this.j9_1;
|
|
457
462
|
if (tmp === 0) {
|
|
458
463
|
this.k9_1 = 1;
|
|
459
|
-
return !(this.
|
|
464
|
+
return !(this.r4v_1 == null);
|
|
460
465
|
} else if (tmp === 1) {
|
|
461
466
|
throw this.m9_1;
|
|
462
467
|
}
|
|
@@ -466,46 +471,46 @@
|
|
|
466
471
|
}
|
|
467
472
|
while (true);
|
|
468
473
|
};
|
|
469
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
474
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).t4v = function (it, completion) {
|
|
470
475
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
471
|
-
i.
|
|
476
|
+
i.r4v_1 = it;
|
|
472
477
|
return i;
|
|
473
478
|
};
|
|
474
479
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
475
480
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
476
481
|
var l = function (it, $completion) {
|
|
477
|
-
return i.
|
|
482
|
+
return i.s4v(it, $completion);
|
|
478
483
|
};
|
|
479
484
|
l.$arity = 1;
|
|
480
485
|
return l;
|
|
481
486
|
}
|
|
482
|
-
function
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
+
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
488
|
+
this.d4v_1 = $this;
|
|
489
|
+
this.e4v_1 = $charset;
|
|
490
|
+
this.f4v_1 = $typeInfo;
|
|
491
|
+
this.g4v_1 = $content;
|
|
487
492
|
}
|
|
488
|
-
protoOf(
|
|
489
|
-
var tmp = new $collectCOROUTINE$
|
|
493
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).c1a = function (collector, $completion) {
|
|
494
|
+
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
490
495
|
tmp.l9_1 = Unit_instance;
|
|
491
496
|
tmp.m9_1 = null;
|
|
492
497
|
return tmp.r9();
|
|
493
498
|
};
|
|
494
|
-
protoOf(
|
|
495
|
-
return this.
|
|
499
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).h19 = function (collector, $completion) {
|
|
500
|
+
return this.c1a(collector, $completion);
|
|
496
501
|
};
|
|
497
502
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
498
|
-
this.
|
|
503
|
+
this.c4w_1 = $content;
|
|
499
504
|
CoroutineImpl.call(this, resultContinuation);
|
|
500
505
|
}
|
|
501
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
502
|
-
var tmp = this.
|
|
506
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).x2u = function (it, $completion) {
|
|
507
|
+
var tmp = this.w2t(it, $completion);
|
|
503
508
|
tmp.l9_1 = Unit_instance;
|
|
504
509
|
tmp.m9_1 = null;
|
|
505
510
|
return tmp.r9();
|
|
506
511
|
};
|
|
507
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
508
|
-
return this.
|
|
512
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).z9 = function (p1, $completion) {
|
|
513
|
+
return this.x2u((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
509
514
|
};
|
|
510
515
|
protoOf(KotlinxSerializationConverter$deserialize$slambda).r9 = function () {
|
|
511
516
|
var suspendResult = this.l9_1;
|
|
@@ -514,7 +519,7 @@
|
|
|
514
519
|
var tmp = this.j9_1;
|
|
515
520
|
if (tmp === 0) {
|
|
516
521
|
this.k9_1 = 1;
|
|
517
|
-
return !(this.
|
|
522
|
+
return !(this.d4w_1 == null) || this.c4w_1.f1t();
|
|
518
523
|
} else if (tmp === 1) {
|
|
519
524
|
throw this.m9_1;
|
|
520
525
|
}
|
|
@@ -524,28 +529,28 @@
|
|
|
524
529
|
}
|
|
525
530
|
while (true);
|
|
526
531
|
};
|
|
527
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
528
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
529
|
-
i.
|
|
532
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).w2t = function (it, completion) {
|
|
533
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.c4w_1, completion);
|
|
534
|
+
i.d4w_1 = it;
|
|
530
535
|
return i;
|
|
531
536
|
};
|
|
532
537
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
533
538
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
534
539
|
var l = function (it, $completion) {
|
|
535
|
-
return i.
|
|
540
|
+
return i.x2u(it, $completion);
|
|
536
541
|
};
|
|
537
542
|
l.$arity = 1;
|
|
538
543
|
return l;
|
|
539
544
|
}
|
|
540
|
-
function $serializeNullableCOROUTINE$
|
|
545
|
+
function $serializeNullableCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
541
546
|
CoroutineImpl.call(this, resultContinuation);
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
+
this.m4w_1 = _this__u8e3s4;
|
|
548
|
+
this.n4w_1 = contentType;
|
|
549
|
+
this.o4w_1 = charset;
|
|
550
|
+
this.p4w_1 = typeInfo;
|
|
551
|
+
this.q4w_1 = value;
|
|
547
552
|
}
|
|
548
|
-
protoOf($serializeNullableCOROUTINE$
|
|
553
|
+
protoOf($serializeNullableCOROUTINE$).r9 = function () {
|
|
549
554
|
var suspendResult = this.l9_1;
|
|
550
555
|
$sm: do
|
|
551
556
|
try {
|
|
@@ -554,8 +559,8 @@
|
|
|
554
559
|
case 0:
|
|
555
560
|
this.k9_1 = 2;
|
|
556
561
|
this.j9_1 = 1;
|
|
557
|
-
var this_0 = asFlow(this.
|
|
558
|
-
var tmp_0 = new
|
|
562
|
+
var this_0 = asFlow(this.m4w_1.s4w_1);
|
|
563
|
+
var tmp_0 = new KotlinxSerializationConverter$serializeNullable$$inlined$map$1(this_0, this.n4w_1, this.o4w_1, this.p4w_1, this.q4w_1);
|
|
559
564
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
560
565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
561
566
|
return suspendResult;
|
|
@@ -568,12 +573,12 @@
|
|
|
568
573
|
return fromExtension;
|
|
569
574
|
var tmp_1;
|
|
570
575
|
try {
|
|
571
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
576
|
+
tmp_1 = serializerForTypeInfo(this.m4w_1.r4w_1.c4b(), this.p4w_1);
|
|
572
577
|
} catch ($p) {
|
|
573
578
|
var tmp_2;
|
|
574
579
|
if ($p instanceof SerializationException) {
|
|
575
580
|
var cause = $p;
|
|
576
|
-
tmp_2 = guessSerializer(this.
|
|
581
|
+
tmp_2 = guessSerializer(this.q4w_1, this.m4w_1.r4w_1.c4b());
|
|
577
582
|
} else {
|
|
578
583
|
throw $p;
|
|
579
584
|
}
|
|
@@ -581,7 +586,7 @@
|
|
|
581
586
|
}
|
|
582
587
|
|
|
583
588
|
var serializer = tmp_1;
|
|
584
|
-
return serializeContent(this.
|
|
589
|
+
return serializeContent(this.m4w_1, serializer, this.m4w_1.r4w_1, this.q4w_1, this.n4w_1, this.o4w_1);
|
|
585
590
|
case 2:
|
|
586
591
|
throw this.m9_1;
|
|
587
592
|
}
|
|
@@ -596,14 +601,14 @@
|
|
|
596
601
|
}
|
|
597
602
|
while (true);
|
|
598
603
|
};
|
|
599
|
-
function $deserializeCOROUTINE$
|
|
604
|
+
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
600
605
|
CoroutineImpl.call(this, resultContinuation);
|
|
601
|
-
this.
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
606
|
+
this.b4x_1 = _this__u8e3s4;
|
|
607
|
+
this.c4x_1 = charset;
|
|
608
|
+
this.d4x_1 = typeInfo;
|
|
609
|
+
this.e4x_1 = content;
|
|
605
610
|
}
|
|
606
|
-
protoOf($deserializeCOROUTINE$
|
|
611
|
+
protoOf($deserializeCOROUTINE$).r9 = function () {
|
|
607
612
|
var suspendResult = this.l9_1;
|
|
608
613
|
$sm: do
|
|
609
614
|
try {
|
|
@@ -612,28 +617,28 @@
|
|
|
612
617
|
case 0:
|
|
613
618
|
this.k9_1 = 5;
|
|
614
619
|
this.j9_1 = 1;
|
|
615
|
-
var this_0 = asFlow(this.
|
|
616
|
-
var tmp_0 = new
|
|
617
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
620
|
+
var this_0 = asFlow(this.b4x_1.s4w_1);
|
|
621
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.c4x_1, this.d4x_1, this.e4x_1);
|
|
622
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.e4x_1, null), this);
|
|
618
623
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
619
624
|
return suspendResult;
|
|
620
625
|
}
|
|
621
626
|
|
|
622
627
|
continue $sm;
|
|
623
628
|
case 1:
|
|
624
|
-
this.
|
|
629
|
+
this.f4x_1 = suspendResult;
|
|
625
630
|
var tmp_1;
|
|
626
|
-
if (!this.
|
|
627
|
-
tmp_1 = !(this.
|
|
631
|
+
if (!this.b4x_1.s4w_1.p()) {
|
|
632
|
+
tmp_1 = !(this.f4x_1 == null) || this.e4x_1.f1t();
|
|
628
633
|
} else {
|
|
629
634
|
tmp_1 = false;
|
|
630
635
|
}
|
|
631
636
|
|
|
632
637
|
if (tmp_1)
|
|
633
|
-
return this.
|
|
634
|
-
this.
|
|
638
|
+
return this.f4x_1;
|
|
639
|
+
this.g4x_1 = serializerForTypeInfo(this.b4x_1.r4w_1.c4b(), this.d4x_1);
|
|
635
640
|
this.j9_1 = 2;
|
|
636
|
-
suspendResult = this.
|
|
641
|
+
suspendResult = this.e4x_1.a1z(VOID, this);
|
|
637
642
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
638
643
|
return suspendResult;
|
|
639
644
|
}
|
|
@@ -642,16 +647,16 @@
|
|
|
642
647
|
case 2:
|
|
643
648
|
var contentPacket = suspendResult;
|
|
644
649
|
this.k9_1 = 3;
|
|
645
|
-
var tmp0_subject = this.
|
|
650
|
+
var tmp0_subject = this.b4x_1.r4w_1;
|
|
646
651
|
var tmp_2;
|
|
647
652
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
648
|
-
tmp_2 = this.
|
|
653
|
+
tmp_2 = this.b4x_1.r4w_1.e48(this.g4x_1, readText(contentPacket, this.c4x_1));
|
|
649
654
|
} else {
|
|
650
655
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
651
|
-
tmp_2 = this.
|
|
656
|
+
tmp_2 = this.b4x_1.r4w_1.g48(this.g4x_1, readBytes(contentPacket));
|
|
652
657
|
} else {
|
|
653
658
|
discard(contentPacket);
|
|
654
|
-
var message = 'Unsupported format ' + toString(this.
|
|
659
|
+
var message = 'Unsupported format ' + toString(this.b4x_1.r4w_1);
|
|
655
660
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
656
661
|
}
|
|
657
662
|
}
|
|
@@ -685,57 +690,53 @@
|
|
|
685
690
|
while (true);
|
|
686
691
|
};
|
|
687
692
|
function KotlinxSerializationConverter(format) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
// Inline function 'kotlin.require' call
|
|
693
|
+
this.r4w_1 = format;
|
|
694
|
+
this.s4w_1 = extensions(this.r4w_1);
|
|
691
695
|
var tmp;
|
|
692
|
-
var tmp_0 = this.
|
|
696
|
+
var tmp_0 = this.r4w_1;
|
|
693
697
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
694
698
|
tmp = true;
|
|
695
699
|
} else {
|
|
696
|
-
var tmp_1 = this.
|
|
700
|
+
var tmp_1 = this.r4w_1;
|
|
697
701
|
tmp = isInterface(tmp_1, StringFormat);
|
|
698
702
|
}
|
|
699
|
-
// Inline function 'kotlin.
|
|
703
|
+
// Inline function 'kotlin.require' call
|
|
700
704
|
if (!tmp) {
|
|
701
|
-
|
|
702
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.z4s_1) + ' is not supported.';
|
|
705
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.r4w_1) + ' is not supported.';
|
|
703
706
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
704
707
|
}
|
|
705
708
|
}
|
|
706
|
-
protoOf(KotlinxSerializationConverter).
|
|
707
|
-
return this.
|
|
709
|
+
protoOf(KotlinxSerializationConverter).h4x = function (contentType, charset, typeInfo, value, $completion) {
|
|
710
|
+
return this.i4x(contentType, charset, typeInfo, value, $completion);
|
|
708
711
|
};
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
710
|
-
return this.
|
|
712
|
+
protoOf(KotlinxSerializationConverter).l2s = function (contentType, charset, typeInfo, value, $completion) {
|
|
713
|
+
return this.h4x(contentType, charset, typeInfo, value, $completion);
|
|
711
714
|
};
|
|
712
|
-
protoOf(KotlinxSerializationConverter).
|
|
713
|
-
var tmp = new $serializeNullableCOROUTINE$
|
|
715
|
+
protoOf(KotlinxSerializationConverter).i4x = function (contentType, charset, typeInfo, value, $completion) {
|
|
716
|
+
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
714
717
|
tmp.l9_1 = Unit_instance;
|
|
715
718
|
tmp.m9_1 = null;
|
|
716
719
|
return tmp.r9();
|
|
717
720
|
};
|
|
718
|
-
protoOf(KotlinxSerializationConverter).
|
|
719
|
-
return this.
|
|
721
|
+
protoOf(KotlinxSerializationConverter).m2s = function (contentType, charset, typeInfo, value, $completion) {
|
|
722
|
+
return this.i4x(contentType, charset, typeInfo, value, $completion);
|
|
720
723
|
};
|
|
721
|
-
protoOf(KotlinxSerializationConverter).
|
|
722
|
-
var tmp = new $deserializeCOROUTINE$
|
|
724
|
+
protoOf(KotlinxSerializationConverter).n2s = function (charset, typeInfo, content, $completion) {
|
|
725
|
+
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
723
726
|
tmp.l9_1 = Unit_instance;
|
|
724
727
|
tmp.m9_1 = null;
|
|
725
728
|
return tmp.r9();
|
|
726
729
|
};
|
|
727
730
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
728
731
|
var module_0 = _this__u8e3s4;
|
|
729
|
-
var tmp0_safe_receiver = typeInfo.
|
|
732
|
+
var tmp0_safe_receiver = typeInfo.k2f_1;
|
|
730
733
|
var tmp;
|
|
731
734
|
if (tmp0_safe_receiver == null) {
|
|
732
735
|
tmp = null;
|
|
733
736
|
} else {
|
|
734
737
|
// Inline function 'kotlin.let' call
|
|
735
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
736
|
-
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
737
738
|
var tmp_0;
|
|
738
|
-
if (tmp0_safe_receiver.
|
|
739
|
+
if (tmp0_safe_receiver.lb().p()) {
|
|
739
740
|
tmp_0 = null;
|
|
740
741
|
} else {
|
|
741
742
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -745,13 +746,13 @@
|
|
|
745
746
|
var tmp2_elvis_lhs = tmp;
|
|
746
747
|
var tmp_1;
|
|
747
748
|
if (tmp2_elvis_lhs == null) {
|
|
748
|
-
var tmp1_safe_receiver = module_0.
|
|
749
|
+
var tmp1_safe_receiver = module_0.j48(typeInfo.i2f_1);
|
|
749
750
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
750
751
|
} else {
|
|
751
752
|
tmp_1 = tmp2_elvis_lhs;
|
|
752
753
|
}
|
|
753
754
|
var tmp3_elvis_lhs = tmp_1;
|
|
754
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
755
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.i2f_1), typeInfo) : tmp3_elvis_lhs;
|
|
755
756
|
}
|
|
756
757
|
function guessSerializer(value, module_0) {
|
|
757
758
|
var tmp;
|
|
@@ -768,8 +769,6 @@
|
|
|
768
769
|
tmp_0 = null;
|
|
769
770
|
} else {
|
|
770
771
|
// Inline function 'kotlin.let' call
|
|
771
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
772
|
-
// Inline function 'io.ktor.serialization.kotlinx.guessSerializer.<anonymous>' call
|
|
773
772
|
tmp_0 = guessSerializer(tmp1_safe_receiver, module_0);
|
|
774
773
|
}
|
|
775
774
|
var tmp2_elvis_lhs = tmp_0;
|
|
@@ -779,11 +778,11 @@
|
|
|
779
778
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
780
779
|
} else {
|
|
781
780
|
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
782
|
-
var keySerializer = elementSerializer(value.
|
|
783
|
-
var valueSerializer = elementSerializer(value.
|
|
781
|
+
var keySerializer = elementSerializer(value.i2(), module_0);
|
|
782
|
+
var valueSerializer = elementSerializer(value.j2(), module_0);
|
|
784
783
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
785
784
|
} else {
|
|
786
|
-
var tmp3_elvis_lhs = module_0.
|
|
785
|
+
var tmp3_elvis_lhs = module_0.j48(getKClassFromExpression(value));
|
|
787
786
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
788
787
|
}
|
|
789
788
|
}
|
|
@@ -795,8 +794,8 @@
|
|
|
795
794
|
}
|
|
796
795
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
797
796
|
var tmp;
|
|
798
|
-
var tmp0_safe_receiver = typeInfo.
|
|
799
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
797
|
+
var tmp0_safe_receiver = typeInfo.k2f_1;
|
|
798
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mb()) === true) {
|
|
800
799
|
tmp = get_nullable(_this__u8e3s4);
|
|
801
800
|
} else {
|
|
802
801
|
tmp = _this__u8e3s4;
|
|
@@ -804,48 +803,45 @@
|
|
|
804
803
|
return tmp;
|
|
805
804
|
}
|
|
806
805
|
function elementSerializer(_this__u8e3s4, module_0) {
|
|
807
|
-
// Inline function 'kotlin.collections.distinctBy' call
|
|
808
806
|
// Inline function 'kotlin.collections.map' call
|
|
809
807
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
810
808
|
// Inline function 'kotlin.collections.mapTo' call
|
|
811
809
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
812
|
-
var
|
|
813
|
-
while (
|
|
814
|
-
var item =
|
|
815
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
810
|
+
var _iterator__ex2g4s = this_0.j();
|
|
811
|
+
while (_iterator__ex2g4s.k()) {
|
|
812
|
+
var item = _iterator__ex2g4s.l();
|
|
816
813
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
817
814
|
destination.e(tmp$ret$0);
|
|
818
815
|
}
|
|
816
|
+
// Inline function 'kotlin.collections.distinctBy' call
|
|
819
817
|
var set = HashSet_init_$Create$();
|
|
820
818
|
var list = ArrayList_init_$Create$();
|
|
821
|
-
var
|
|
822
|
-
while (
|
|
823
|
-
var e =
|
|
824
|
-
|
|
825
|
-
var key = e.s43().t44();
|
|
819
|
+
var _iterator__ex2g4s_0 = destination.j();
|
|
820
|
+
while (_iterator__ex2g4s_0.k()) {
|
|
821
|
+
var e = _iterator__ex2g4s_0.l();
|
|
822
|
+
var key = e.a47().b48();
|
|
826
823
|
if (set.e(key)) {
|
|
827
824
|
list.e(e);
|
|
828
825
|
}
|
|
829
826
|
}
|
|
830
827
|
var serializers = list;
|
|
831
828
|
if (serializers.m() > 1) {
|
|
832
|
-
// Inline function 'kotlin.error' call
|
|
833
829
|
// Inline function 'kotlin.collections.map' call
|
|
834
830
|
// Inline function 'kotlin.collections.mapTo' call
|
|
835
831
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
836
|
-
var
|
|
837
|
-
while (
|
|
838
|
-
var item_0 =
|
|
839
|
-
|
|
840
|
-
var tmp$ret$5 = item_0.s43().t44();
|
|
832
|
+
var _iterator__ex2g4s_1 = serializers.j();
|
|
833
|
+
while (_iterator__ex2g4s_1.k()) {
|
|
834
|
+
var item_0 = _iterator__ex2g4s_1.l();
|
|
835
|
+
var tmp$ret$5 = item_0.a47().b48();
|
|
841
836
|
destination_0.e(tmp$ret$5);
|
|
842
837
|
}
|
|
838
|
+
// Inline function 'kotlin.error' call
|
|
843
839
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
844
840
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
845
841
|
}
|
|
846
842
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
847
843
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
848
|
-
if (selected.
|
|
844
|
+
if (selected.a47().n48()) {
|
|
849
845
|
return selected;
|
|
850
846
|
}
|
|
851
847
|
if (!isInterface(selected, KSerializer))
|
|
@@ -863,10 +859,9 @@
|
|
|
863
859
|
tmp$ret$8 = false;
|
|
864
860
|
break $l$block_0;
|
|
865
861
|
}
|
|
866
|
-
var
|
|
867
|
-
while (
|
|
868
|
-
var element =
|
|
869
|
-
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
862
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.j();
|
|
863
|
+
while (_iterator__ex2g4s_2.k()) {
|
|
864
|
+
var element = _iterator__ex2g4s_2.l();
|
|
870
865
|
if (element == null) {
|
|
871
866
|
tmp$ret$8 = true;
|
|
872
867
|
break $l$block_0;
|