raspberry_games_server_game_logic 1.8.450 → 1.8.453
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 +92 -92
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +823 -783
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1919 -1919
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +684 -688
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +2039 -2051
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +19206 -19216
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +756 -669
- package/Logic_Debertz-game_server.js +2258 -2267
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +7 -7
- package/kotlin-kotlin-stdlib.js +5747 -4874
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +3322 -3271
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +204 -5
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +1689 -428
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2253 -2252
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.js +15 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +1626 -1626
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +457 -395
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +6683 -3979
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +2626 -892
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +14 -14
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http-cio.js +2278 -0
- package/ktor-ktor-http-cio.js.map +1 -0
- package/ktor-ktor-http.js +1274 -1134
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2598 -5514
- 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 +332 -338
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +143 -153
- package/ktor-ktor-serialization.js.map +1 -1
- package/{ktor-ktor-client-js.js → ktor-ktor-sse.js} +2 -2
- package/ktor-ktor-sse.js.map +1 -0
- package/ktor-ktor-utils.js +1708 -1141
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +123 -136
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +2 -4
- package/random-library-crypto-rand.js +15 -15
- package/random-library-crypto-rand.js.map +1 -1
- package/random-library-secure-random.js +10 -10
- package/random-library-secure-random.js.map +1 -1
- package/raspberry-cardgame-lib-core.js +365 -366
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +120 -121
- package/raspberry-cardgame-lib-logger.js.map +1 -1
- package/raspberry-cardgame-lib-random.js +1181 -1207
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +38 -38
- package/uuid.js.map +1 -1
- /package/{ktor-ktor-client-js.js.map → kotlinx-serialization-kotlinx-serialization-json-io.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
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);
|
|
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', './kotlinx-io-kotlinx-io-core.js', './ktor-ktor-serialization.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
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'));
|
|
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('./kotlinx-io-kotlinx-io-core.js'), require('./ktor-ktor-serialization.js'));
|
|
6
6
|
else {
|
|
7
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'.");
|
|
@@ -19,84 +19,87 @@
|
|
|
19
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 globalThis['kotlinx-io-kotlinx-io-core'] === 'undefined') {
|
|
23
|
+
throw new Error("Error loading module 'ktor-ktor-serialization-kotlinx'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'ktor-ktor-serialization-kotlinx'.");
|
|
24
|
+
}
|
|
22
25
|
if (typeof globalThis['ktor-ktor-serialization'] === 'undefined') {
|
|
23
26
|
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
27
|
}
|
|
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']);
|
|
28
|
+
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['kotlinx-io-kotlinx-io-core'], globalThis['ktor-ktor-serialization']);
|
|
26
29
|
}
|
|
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) {
|
|
30
|
+
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_serialization) {
|
|
28
31
|
'use strict';
|
|
29
32
|
//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.$_$.
|
|
33
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i;
|
|
34
|
+
var Unit_instance = kotlin_kotlin.$_$.h5;
|
|
35
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ya;
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.wd;
|
|
37
|
+
var THROW_CCE = kotlin_kotlin.$_$.hi;
|
|
38
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
|
|
39
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ad;
|
|
37
40
|
var VOID = kotlin_kotlin.$_$.b;
|
|
38
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
39
|
-
var toString = kotlin_kotlin.$_$.
|
|
40
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
41
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.xc;
|
|
42
|
+
var toString = kotlin_kotlin.$_$.zd;
|
|
43
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
41
44
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
42
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
43
|
-
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.kd;
|
|
46
|
+
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.k;
|
|
44
47
|
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
45
|
-
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.
|
|
46
|
-
var TextContent = kotlin_io_ktor_ktor_http.$_$.
|
|
48
|
+
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.t1;
|
|
49
|
+
var TextContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
47
50
|
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w2;
|
|
48
|
-
var equals = kotlin_kotlin.$_$.
|
|
49
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
50
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
53
|
-
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
54
|
-
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.
|
|
55
|
-
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
+
var equals = kotlin_kotlin.$_$.oc;
|
|
52
|
+
var FunctionAdapter = kotlin_kotlin.$_$.bc;
|
|
53
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
54
|
+
var hashCode = kotlin_kotlin.$_$.uc;
|
|
55
|
+
var initMetadataForClass = kotlin_kotlin.$_$.vc;
|
|
56
|
+
var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
57
|
+
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
58
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
56
59
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
57
60
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
58
|
-
var
|
|
59
|
-
var
|
|
61
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
62
|
+
var discard = kotlin_io_ktor_ktor_io.$_$.y;
|
|
63
|
+
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
|
|
60
64
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
61
|
-
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.
|
|
62
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
63
|
-
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
65
|
+
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
66
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
64
67
|
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z2;
|
|
65
68
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b3;
|
|
66
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
69
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.pe;
|
|
67
70
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x;
|
|
68
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
71
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
69
72
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y;
|
|
70
|
-
var KtSet = kotlin_kotlin.$_$.
|
|
71
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
72
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
73
|
+
var KtSet = kotlin_kotlin.$_$.x5;
|
|
74
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.n7;
|
|
75
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.s4;
|
|
73
76
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a1;
|
|
74
77
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
75
|
-
var isArray = kotlin_kotlin.$_$.
|
|
76
|
-
var KtList = kotlin_kotlin.$_$.
|
|
78
|
+
var isArray = kotlin_kotlin.$_$.cd;
|
|
79
|
+
var KtList = kotlin_kotlin.$_$.p5;
|
|
77
80
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z;
|
|
78
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
79
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
80
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
81
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
82
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
83
|
-
var Collection = kotlin_kotlin.$_$.
|
|
84
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
81
|
+
var filterNotNull = kotlin_kotlin.$_$.k7;
|
|
82
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.k6;
|
|
83
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
84
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
85
|
+
var singleOrNull = kotlin_kotlin.$_$.g9;
|
|
86
|
+
var Collection = kotlin_kotlin.$_$.j5;
|
|
87
|
+
var emptyList = kotlin_kotlin.$_$.g7;
|
|
85
88
|
//endregion
|
|
86
89
|
//region block: pre-declaration
|
|
87
|
-
initMetadataForLambda(KotlinxSerializationConverter$
|
|
90
|
+
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
88
91
|
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
89
92
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
90
93
|
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
91
94
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
92
95
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
93
|
-
initMetadataForClass(KotlinxSerializationConverter$
|
|
94
|
-
initMetadataForLambda(KotlinxSerializationConverter$
|
|
96
|
+
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
97
|
+
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
95
98
|
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, [Flow], [1]);
|
|
96
99
|
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
97
|
-
initMetadataForCoroutine($
|
|
100
|
+
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
98
101
|
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
99
|
-
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID,
|
|
102
|
+
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
100
103
|
//endregion
|
|
101
104
|
function extensions(format) {
|
|
102
105
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -104,52 +107,52 @@
|
|
|
104
107
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
105
108
|
var destination = ArrayList_init_$Create$();
|
|
106
109
|
// Inline function 'kotlin.collections.forEach' call
|
|
107
|
-
var _iterator__ex2g4s = tmp0.
|
|
108
|
-
while (_iterator__ex2g4s.
|
|
109
|
-
var element = _iterator__ex2g4s.
|
|
110
|
-
var tmp0_safe_receiver = element.
|
|
110
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
111
|
+
while (_iterator__ex2g4s.u()) {
|
|
112
|
+
var element = _iterator__ex2g4s.v();
|
|
113
|
+
var tmp0_safe_receiver = element.o5q(format);
|
|
111
114
|
if (tmp0_safe_receiver == null)
|
|
112
115
|
null;
|
|
113
116
|
else {
|
|
114
117
|
// Inline function 'kotlin.let' call
|
|
115
|
-
destination.
|
|
118
|
+
destination.e1(tmp0_safe_receiver);
|
|
116
119
|
}
|
|
117
120
|
}
|
|
118
121
|
return destination;
|
|
119
122
|
}
|
|
120
123
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
121
|
-
_this__u8e3s4.
|
|
124
|
+
_this__u8e3s4.b3x(contentType, new KotlinxSerializationConverter(format));
|
|
122
125
|
}
|
|
123
|
-
function KotlinxSerializationConverter$
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
126
|
+
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
127
|
+
this.x5q_1 = $$this$unsafeFlow;
|
|
128
|
+
this.y5q_1 = $contentType;
|
|
129
|
+
this.z5q_1 = $charset;
|
|
130
|
+
this.a5r_1 = $typeInfo;
|
|
131
|
+
this.b5r_1 = $value;
|
|
129
132
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
133
|
}
|
|
131
|
-
protoOf(KotlinxSerializationConverter$
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
134
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).a2k = function (value, $completion) {
|
|
135
|
+
var tmp = this.b2k(value, $completion);
|
|
136
|
+
tmp.g9_1 = Unit_instance;
|
|
137
|
+
tmp.h9_1 = null;
|
|
138
|
+
return tmp.m9();
|
|
136
139
|
};
|
|
137
|
-
protoOf(KotlinxSerializationConverter$
|
|
138
|
-
return this.
|
|
140
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
141
|
+
return this.a2k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
142
|
};
|
|
140
|
-
protoOf(KotlinxSerializationConverter$
|
|
141
|
-
var suspendResult = this.
|
|
143
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).m9 = function () {
|
|
144
|
+
var suspendResult = this.g9_1;
|
|
142
145
|
$sm: do
|
|
143
146
|
try {
|
|
144
|
-
var tmp = this.
|
|
147
|
+
var tmp = this.e9_1;
|
|
145
148
|
switch (tmp) {
|
|
146
149
|
case 0:
|
|
147
|
-
this.
|
|
148
|
-
var tmp0 = this.
|
|
149
|
-
var tmp2 = this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
suspendResult = tmp2.
|
|
150
|
+
this.f9_1 = 3;
|
|
151
|
+
var tmp0 = this.x5q_1;
|
|
152
|
+
var tmp2 = this.c5r_1;
|
|
153
|
+
this.d5r_1 = tmp0;
|
|
154
|
+
this.e9_1 = 1;
|
|
155
|
+
suspendResult = tmp2.n5q(this.y5q_1, this.z5q_1, this.a5r_1, this.b5r_1, this);
|
|
153
156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
154
157
|
return suspendResult;
|
|
155
158
|
}
|
|
@@ -157,8 +160,8 @@
|
|
|
157
160
|
continue $sm;
|
|
158
161
|
case 1:
|
|
159
162
|
var ARGUMENT = suspendResult;
|
|
160
|
-
this.
|
|
161
|
-
suspendResult = this.
|
|
163
|
+
this.e9_1 = 2;
|
|
164
|
+
suspendResult = this.d5r_1.r2a(ARGUMENT, this);
|
|
162
165
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
163
166
|
return suspendResult;
|
|
164
167
|
}
|
|
@@ -167,49 +170,49 @@
|
|
|
167
170
|
case 2:
|
|
168
171
|
return Unit_instance;
|
|
169
172
|
case 3:
|
|
170
|
-
throw this.
|
|
173
|
+
throw this.h9_1;
|
|
171
174
|
}
|
|
172
175
|
} catch ($p) {
|
|
173
176
|
var e = $p;
|
|
174
|
-
if (this.
|
|
177
|
+
if (this.f9_1 === 3) {
|
|
175
178
|
throw e;
|
|
176
179
|
} else {
|
|
177
|
-
this.
|
|
178
|
-
this.
|
|
180
|
+
this.e9_1 = this.f9_1;
|
|
181
|
+
this.h9_1 = e;
|
|
179
182
|
}
|
|
180
183
|
}
|
|
181
184
|
while (true);
|
|
182
185
|
};
|
|
183
|
-
protoOf(KotlinxSerializationConverter$
|
|
184
|
-
var i = new KotlinxSerializationConverter$
|
|
185
|
-
i.
|
|
186
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).b2k = function (value, completion) {
|
|
187
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.x5q_1, this.y5q_1, this.z5q_1, this.a5r_1, this.b5r_1, completion);
|
|
188
|
+
i.c5r_1 = value;
|
|
186
189
|
return i;
|
|
187
190
|
};
|
|
188
|
-
function KotlinxSerializationConverter$
|
|
189
|
-
var i = new KotlinxSerializationConverter$
|
|
191
|
+
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
192
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
190
193
|
var l = function (value, $completion) {
|
|
191
|
-
return i.
|
|
194
|
+
return i.a2k(value, $completion);
|
|
192
195
|
};
|
|
193
196
|
l.$arity = 1;
|
|
194
197
|
return l;
|
|
195
198
|
}
|
|
196
199
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
197
200
|
CoroutineImpl.call(this, resultContinuation);
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
201
|
+
this.m5r_1 = _this__u8e3s4;
|
|
202
|
+
this.n5r_1 = collector;
|
|
200
203
|
}
|
|
201
|
-
protoOf($collectCOROUTINE$).
|
|
202
|
-
var suspendResult = this.
|
|
204
|
+
protoOf($collectCOROUTINE$).m9 = function () {
|
|
205
|
+
var suspendResult = this.g9_1;
|
|
203
206
|
$sm: do
|
|
204
207
|
try {
|
|
205
|
-
var tmp = this.
|
|
208
|
+
var tmp = this.e9_1;
|
|
206
209
|
switch (tmp) {
|
|
207
210
|
case 0:
|
|
208
|
-
this.
|
|
209
|
-
var $this$unsafeFlow = this.
|
|
210
|
-
this.
|
|
211
|
-
var tmp_0 = KotlinxSerializationConverter$
|
|
212
|
-
suspendResult = this.
|
|
211
|
+
this.f9_1 = 2;
|
|
212
|
+
var $this$unsafeFlow = this.n5r_1;
|
|
213
|
+
this.e9_1 = 1;
|
|
214
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.m5r_1.p5r_1, this.m5r_1.q5r_1, this.m5r_1.r5r_1, this.m5r_1.s5r_1, null);
|
|
215
|
+
suspendResult = this.m5r_1.o5r_1.r29(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
213
216
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
214
217
|
return suspendResult;
|
|
215
218
|
}
|
|
@@ -218,48 +221,48 @@
|
|
|
218
221
|
case 1:
|
|
219
222
|
return Unit_instance;
|
|
220
223
|
case 2:
|
|
221
|
-
throw this.
|
|
224
|
+
throw this.h9_1;
|
|
222
225
|
}
|
|
223
226
|
} catch ($p) {
|
|
224
227
|
var e = $p;
|
|
225
|
-
if (this.
|
|
228
|
+
if (this.f9_1 === 2) {
|
|
226
229
|
throw e;
|
|
227
230
|
} else {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
231
|
+
this.e9_1 = this.f9_1;
|
|
232
|
+
this.h9_1 = e;
|
|
230
233
|
}
|
|
231
234
|
}
|
|
232
235
|
while (true);
|
|
233
236
|
};
|
|
234
237
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
235
|
-
this.
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
238
|
+
this.b5s_1 = $$this$unsafeFlow;
|
|
239
|
+
this.c5s_1 = $charset;
|
|
240
|
+
this.d5s_1 = $typeInfo;
|
|
241
|
+
this.e5s_1 = $content;
|
|
239
242
|
CoroutineImpl.call(this, resultContinuation);
|
|
240
243
|
}
|
|
241
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
242
|
-
var tmp = this.
|
|
243
|
-
tmp.
|
|
244
|
-
tmp.
|
|
245
|
-
return tmp.
|
|
244
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a2k = function (value, $completion) {
|
|
245
|
+
var tmp = this.b2k(value, $completion);
|
|
246
|
+
tmp.g9_1 = Unit_instance;
|
|
247
|
+
tmp.h9_1 = null;
|
|
248
|
+
return tmp.m9();
|
|
246
249
|
};
|
|
247
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
248
|
-
return this.
|
|
250
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).y9 = function (p1, $completion) {
|
|
251
|
+
return this.a2k((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
249
252
|
};
|
|
250
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
251
|
-
var suspendResult = this.
|
|
253
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).m9 = function () {
|
|
254
|
+
var suspendResult = this.g9_1;
|
|
252
255
|
$sm: do
|
|
253
256
|
try {
|
|
254
|
-
var tmp = this.
|
|
257
|
+
var tmp = this.e9_1;
|
|
255
258
|
switch (tmp) {
|
|
256
259
|
case 0:
|
|
257
|
-
this.
|
|
258
|
-
var tmp0 = this.
|
|
259
|
-
var tmp2 = this.
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
suspendResult = tmp2.
|
|
260
|
+
this.f9_1 = 3;
|
|
261
|
+
var tmp0 = this.b5s_1;
|
|
262
|
+
var tmp2 = this.f5s_1;
|
|
263
|
+
this.g5s_1 = tmp0;
|
|
264
|
+
this.e9_1 = 1;
|
|
265
|
+
suspendResult = tmp2.r3x(this.c5s_1, this.d5s_1, this.e5s_1, this);
|
|
263
266
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
264
267
|
return suspendResult;
|
|
265
268
|
}
|
|
@@ -267,8 +270,8 @@
|
|
|
267
270
|
continue $sm;
|
|
268
271
|
case 1:
|
|
269
272
|
var ARGUMENT = suspendResult;
|
|
270
|
-
this.
|
|
271
|
-
suspendResult = this.
|
|
273
|
+
this.e9_1 = 2;
|
|
274
|
+
suspendResult = this.g5s_1.r2a(ARGUMENT, this);
|
|
272
275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
273
276
|
return suspendResult;
|
|
274
277
|
}
|
|
@@ -277,49 +280,49 @@
|
|
|
277
280
|
case 2:
|
|
278
281
|
return Unit_instance;
|
|
279
282
|
case 3:
|
|
280
|
-
throw this.
|
|
283
|
+
throw this.h9_1;
|
|
281
284
|
}
|
|
282
285
|
} catch ($p) {
|
|
283
286
|
var e = $p;
|
|
284
|
-
if (this.
|
|
287
|
+
if (this.f9_1 === 3) {
|
|
285
288
|
throw e;
|
|
286
289
|
} else {
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
290
|
+
this.e9_1 = this.f9_1;
|
|
291
|
+
this.h9_1 = e;
|
|
289
292
|
}
|
|
290
293
|
}
|
|
291
294
|
while (true);
|
|
292
295
|
};
|
|
293
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
294
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
295
|
-
i.
|
|
296
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).b2k = function (value, completion) {
|
|
297
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.b5s_1, this.c5s_1, this.d5s_1, this.e5s_1, completion);
|
|
298
|
+
i.f5s_1 = value;
|
|
296
299
|
return i;
|
|
297
300
|
};
|
|
298
301
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
299
302
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
300
303
|
var l = function (value, $completion) {
|
|
301
|
-
return i.
|
|
304
|
+
return i.a2k(value, $completion);
|
|
302
305
|
};
|
|
303
306
|
l.$arity = 1;
|
|
304
307
|
return l;
|
|
305
308
|
}
|
|
306
309
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
307
310
|
CoroutineImpl.call(this, resultContinuation);
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
311
|
+
this.p5s_1 = _this__u8e3s4;
|
|
312
|
+
this.q5s_1 = collector;
|
|
310
313
|
}
|
|
311
|
-
protoOf($collectCOROUTINE$_0).
|
|
312
|
-
var suspendResult = this.
|
|
314
|
+
protoOf($collectCOROUTINE$_0).m9 = function () {
|
|
315
|
+
var suspendResult = this.g9_1;
|
|
313
316
|
$sm: do
|
|
314
317
|
try {
|
|
315
|
-
var tmp = this.
|
|
318
|
+
var tmp = this.e9_1;
|
|
316
319
|
switch (tmp) {
|
|
317
320
|
case 0:
|
|
318
|
-
this.
|
|
319
|
-
var $this$unsafeFlow = this.
|
|
320
|
-
this.
|
|
321
|
-
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
322
|
-
suspendResult = this.
|
|
321
|
+
this.f9_1 = 2;
|
|
322
|
+
var $this$unsafeFlow = this.q5s_1;
|
|
323
|
+
this.e9_1 = 1;
|
|
324
|
+
var tmp_0 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0($this$unsafeFlow, this.p5s_1.s5s_1, this.p5s_1.t5s_1, this.p5s_1.u5s_1, null);
|
|
325
|
+
suspendResult = this.p5s_1.r5s_1.r29(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
323
326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
324
327
|
return suspendResult;
|
|
325
328
|
}
|
|
@@ -328,15 +331,15 @@
|
|
|
328
331
|
case 1:
|
|
329
332
|
return Unit_instance;
|
|
330
333
|
case 2:
|
|
331
|
-
throw this.
|
|
334
|
+
throw this.h9_1;
|
|
332
335
|
}
|
|
333
336
|
} catch ($p) {
|
|
334
337
|
var e = $p;
|
|
335
|
-
if (this.
|
|
338
|
+
if (this.f9_1 === 2) {
|
|
336
339
|
throw e;
|
|
337
340
|
} else {
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
341
|
+
this.e9_1 = this.f9_1;
|
|
342
|
+
this.h9_1 = e;
|
|
340
343
|
}
|
|
341
344
|
}
|
|
342
345
|
while (true);
|
|
@@ -344,11 +347,11 @@
|
|
|
344
347
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
345
348
|
var tmp;
|
|
346
349
|
if (isInterface(format, StringFormat)) {
|
|
347
|
-
var content = format.
|
|
350
|
+
var content = format.vp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
348
351
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
349
352
|
} else {
|
|
350
353
|
if (isInterface(format, BinaryFormat)) {
|
|
351
|
-
var content_0 = format.
|
|
354
|
+
var content_0 = format.xp(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
352
355
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
353
356
|
} else {
|
|
354
357
|
var message = 'Unsupported format ' + toString(format);
|
|
@@ -358,20 +361,20 @@
|
|
|
358
361
|
return tmp;
|
|
359
362
|
}
|
|
360
363
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
361
|
-
this.
|
|
364
|
+
this.v5s_1 = function_0;
|
|
362
365
|
}
|
|
363
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
364
|
-
return this.
|
|
366
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r2a = function (value, $completion) {
|
|
367
|
+
return this.v5s_1(value, $completion);
|
|
365
368
|
};
|
|
366
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
367
|
-
return this.
|
|
369
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
370
|
+
return this.v5s_1;
|
|
368
371
|
};
|
|
369
372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
370
373
|
var tmp;
|
|
371
374
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
372
375
|
var tmp_0;
|
|
373
376
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
374
|
-
tmp_0 = equals(this.
|
|
377
|
+
tmp_0 = equals(this.s3(), other.s3());
|
|
375
378
|
} else {
|
|
376
379
|
tmp_0 = false;
|
|
377
380
|
}
|
|
@@ -382,23 +385,23 @@
|
|
|
382
385
|
return tmp;
|
|
383
386
|
};
|
|
384
387
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
385
|
-
return hashCode(this.
|
|
388
|
+
return hashCode(this.s3());
|
|
386
389
|
};
|
|
387
390
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
388
|
-
this.
|
|
391
|
+
this.w5s_1 = function_0;
|
|
389
392
|
}
|
|
390
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
391
|
-
return this.
|
|
393
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r2a = function (value, $completion) {
|
|
394
|
+
return this.w5s_1(value, $completion);
|
|
392
395
|
};
|
|
393
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
394
|
-
return this.
|
|
396
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
397
|
+
return this.w5s_1;
|
|
395
398
|
};
|
|
396
399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
397
400
|
var tmp;
|
|
398
401
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
399
402
|
var tmp_0;
|
|
400
403
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
401
|
-
tmp_0 = equals(this.
|
|
404
|
+
tmp_0 = equals(this.s3(), other.s3());
|
|
402
405
|
} else {
|
|
403
406
|
tmp_0 = false;
|
|
404
407
|
}
|
|
@@ -409,46 +412,46 @@
|
|
|
409
412
|
return tmp;
|
|
410
413
|
};
|
|
411
414
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
412
|
-
return hashCode(this.
|
|
413
|
-
};
|
|
414
|
-
function KotlinxSerializationConverter$
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
415
|
+
return hashCode(this.s3());
|
|
416
|
+
};
|
|
417
|
+
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
418
|
+
this.o5r_1 = $this;
|
|
419
|
+
this.p5r_1 = $contentType;
|
|
420
|
+
this.q5r_1 = $charset;
|
|
421
|
+
this.r5r_1 = $typeInfo;
|
|
422
|
+
this.s5r_1 = $value;
|
|
420
423
|
}
|
|
421
|
-
protoOf(KotlinxSerializationConverter$
|
|
424
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).s2a = function (collector, $completion) {
|
|
422
425
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
423
|
-
tmp.
|
|
424
|
-
tmp.
|
|
425
|
-
return tmp.
|
|
426
|
+
tmp.g9_1 = Unit_instance;
|
|
427
|
+
tmp.h9_1 = null;
|
|
428
|
+
return tmp.m9();
|
|
426
429
|
};
|
|
427
|
-
protoOf(KotlinxSerializationConverter$
|
|
428
|
-
return this.
|
|
430
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).r29 = function (collector, $completion) {
|
|
431
|
+
return this.s2a(collector, $completion);
|
|
429
432
|
};
|
|
430
|
-
function KotlinxSerializationConverter$
|
|
433
|
+
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
431
434
|
CoroutineImpl.call(this, resultContinuation);
|
|
432
435
|
}
|
|
433
|
-
protoOf(KotlinxSerializationConverter$
|
|
434
|
-
var tmp = this.
|
|
435
|
-
tmp.
|
|
436
|
-
tmp.
|
|
437
|
-
return tmp.
|
|
436
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).g5t = function (it, $completion) {
|
|
437
|
+
var tmp = this.h5t(it, $completion);
|
|
438
|
+
tmp.g9_1 = Unit_instance;
|
|
439
|
+
tmp.h9_1 = null;
|
|
440
|
+
return tmp.m9();
|
|
438
441
|
};
|
|
439
|
-
protoOf(KotlinxSerializationConverter$
|
|
440
|
-
return this.
|
|
442
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y9 = function (p1, $completion) {
|
|
443
|
+
return this.g5t((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
441
444
|
};
|
|
442
|
-
protoOf(KotlinxSerializationConverter$
|
|
443
|
-
var suspendResult = this.
|
|
445
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).m9 = function () {
|
|
446
|
+
var suspendResult = this.g9_1;
|
|
444
447
|
$sm: do
|
|
445
448
|
try {
|
|
446
|
-
var tmp = this.
|
|
449
|
+
var tmp = this.e9_1;
|
|
447
450
|
if (tmp === 0) {
|
|
448
|
-
this.
|
|
449
|
-
return !(this.
|
|
451
|
+
this.f9_1 = 1;
|
|
452
|
+
return !(this.f5t_1 == null);
|
|
450
453
|
} else if (tmp === 1) {
|
|
451
|
-
throw this.
|
|
454
|
+
throw this.h9_1;
|
|
452
455
|
}
|
|
453
456
|
} catch ($p) {
|
|
454
457
|
var e = $p;
|
|
@@ -456,57 +459,57 @@
|
|
|
456
459
|
}
|
|
457
460
|
while (true);
|
|
458
461
|
};
|
|
459
|
-
protoOf(KotlinxSerializationConverter$
|
|
460
|
-
var i = new KotlinxSerializationConverter$
|
|
461
|
-
i.
|
|
462
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).h5t = function (it, completion) {
|
|
463
|
+
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
464
|
+
i.f5t_1 = it;
|
|
462
465
|
return i;
|
|
463
466
|
};
|
|
464
|
-
function KotlinxSerializationConverter$
|
|
465
|
-
var i = new KotlinxSerializationConverter$
|
|
467
|
+
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
468
|
+
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
466
469
|
var l = function (it, $completion) {
|
|
467
|
-
return i.
|
|
470
|
+
return i.g5t(it, $completion);
|
|
468
471
|
};
|
|
469
472
|
l.$arity = 1;
|
|
470
473
|
return l;
|
|
471
474
|
}
|
|
472
475
|
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
476
|
+
this.r5s_1 = $this;
|
|
477
|
+
this.s5s_1 = $charset;
|
|
478
|
+
this.t5s_1 = $typeInfo;
|
|
479
|
+
this.u5s_1 = $content;
|
|
477
480
|
}
|
|
478
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
481
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).s2a = function (collector, $completion) {
|
|
479
482
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
480
|
-
tmp.
|
|
481
|
-
tmp.
|
|
482
|
-
return tmp.
|
|
483
|
+
tmp.g9_1 = Unit_instance;
|
|
484
|
+
tmp.h9_1 = null;
|
|
485
|
+
return tmp.m9();
|
|
483
486
|
};
|
|
484
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).
|
|
485
|
-
return this.
|
|
487
|
+
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).r29 = function (collector, $completion) {
|
|
488
|
+
return this.s2a(collector, $completion);
|
|
486
489
|
};
|
|
487
490
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
488
|
-
this.
|
|
491
|
+
this.q5t_1 = $content;
|
|
489
492
|
CoroutineImpl.call(this, resultContinuation);
|
|
490
493
|
}
|
|
491
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
492
|
-
var tmp = this.
|
|
493
|
-
tmp.
|
|
494
|
-
tmp.
|
|
495
|
-
return tmp.
|
|
494
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).q3y = function (it, $completion) {
|
|
495
|
+
var tmp = this.b2k(it, $completion);
|
|
496
|
+
tmp.g9_1 = Unit_instance;
|
|
497
|
+
tmp.h9_1 = null;
|
|
498
|
+
return tmp.m9();
|
|
496
499
|
};
|
|
497
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
498
|
-
return this.
|
|
500
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).y9 = function (p1, $completion) {
|
|
501
|
+
return this.q3y((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
499
502
|
};
|
|
500
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
501
|
-
var suspendResult = this.
|
|
503
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).m9 = function () {
|
|
504
|
+
var suspendResult = this.g9_1;
|
|
502
505
|
$sm: do
|
|
503
506
|
try {
|
|
504
|
-
var tmp = this.
|
|
507
|
+
var tmp = this.e9_1;
|
|
505
508
|
if (tmp === 0) {
|
|
506
|
-
this.
|
|
507
|
-
return !(this.
|
|
509
|
+
this.f9_1 = 1;
|
|
510
|
+
return !(this.r5t_1 == null) || this.q5t_1.h2t();
|
|
508
511
|
} else if (tmp === 1) {
|
|
509
|
-
throw this.
|
|
512
|
+
throw this.h9_1;
|
|
510
513
|
}
|
|
511
514
|
} catch ($p) {
|
|
512
515
|
var e = $p;
|
|
@@ -514,39 +517,39 @@
|
|
|
514
517
|
}
|
|
515
518
|
while (true);
|
|
516
519
|
};
|
|
517
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
518
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
519
|
-
i.
|
|
520
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).b2k = function (it, completion) {
|
|
521
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.q5t_1, completion);
|
|
522
|
+
i.r5t_1 = it;
|
|
520
523
|
return i;
|
|
521
524
|
};
|
|
522
525
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
523
526
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
524
527
|
var l = function (it, $completion) {
|
|
525
|
-
return i.
|
|
528
|
+
return i.q3y(it, $completion);
|
|
526
529
|
};
|
|
527
530
|
l.$arity = 1;
|
|
528
531
|
return l;
|
|
529
532
|
}
|
|
530
|
-
function $
|
|
533
|
+
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
531
534
|
CoroutineImpl.call(this, resultContinuation);
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
535
|
+
this.a5u_1 = _this__u8e3s4;
|
|
536
|
+
this.b5u_1 = contentType;
|
|
537
|
+
this.c5u_1 = charset;
|
|
538
|
+
this.d5u_1 = typeInfo;
|
|
539
|
+
this.e5u_1 = value;
|
|
537
540
|
}
|
|
538
|
-
protoOf($
|
|
539
|
-
var suspendResult = this.
|
|
541
|
+
protoOf($serializeCOROUTINE$).m9 = function () {
|
|
542
|
+
var suspendResult = this.g9_1;
|
|
540
543
|
$sm: do
|
|
541
544
|
try {
|
|
542
|
-
var tmp = this.
|
|
545
|
+
var tmp = this.e9_1;
|
|
543
546
|
switch (tmp) {
|
|
544
547
|
case 0:
|
|
545
|
-
this.
|
|
546
|
-
this.
|
|
547
|
-
var this_0 = asFlow(this.
|
|
548
|
-
var tmp_0 = new KotlinxSerializationConverter$
|
|
549
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$
|
|
548
|
+
this.f9_1 = 2;
|
|
549
|
+
this.e9_1 = 1;
|
|
550
|
+
var this_0 = asFlow(this.a5u_1.g5u_1);
|
|
551
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.b5u_1, this.c5u_1, this.d5u_1, this.e5u_1);
|
|
552
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
550
553
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
551
554
|
return suspendResult;
|
|
552
555
|
}
|
|
@@ -558,12 +561,12 @@
|
|
|
558
561
|
return fromExtension;
|
|
559
562
|
var tmp_1;
|
|
560
563
|
try {
|
|
561
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
564
|
+
tmp_1 = serializerForTypeInfo(this.a5u_1.f5u_1.us(), this.d5u_1);
|
|
562
565
|
} catch ($p) {
|
|
563
566
|
var tmp_2;
|
|
564
567
|
if ($p instanceof SerializationException) {
|
|
565
568
|
var cause = $p;
|
|
566
|
-
tmp_2 = guessSerializer(this.
|
|
569
|
+
tmp_2 = guessSerializer(this.e5u_1, this.a5u_1.f5u_1.us());
|
|
567
570
|
} else {
|
|
568
571
|
throw $p;
|
|
569
572
|
}
|
|
@@ -571,40 +574,40 @@
|
|
|
571
574
|
}
|
|
572
575
|
|
|
573
576
|
var serializer = tmp_1;
|
|
574
|
-
return serializeContent(this.
|
|
577
|
+
return serializeContent(this.a5u_1, serializer, this.a5u_1.f5u_1, this.e5u_1, this.b5u_1, this.c5u_1);
|
|
575
578
|
case 2:
|
|
576
|
-
throw this.
|
|
579
|
+
throw this.h9_1;
|
|
577
580
|
}
|
|
578
581
|
} catch ($p) {
|
|
579
582
|
var e = $p;
|
|
580
|
-
if (this.
|
|
583
|
+
if (this.f9_1 === 2) {
|
|
581
584
|
throw e;
|
|
582
585
|
} else {
|
|
583
|
-
this.
|
|
584
|
-
this.
|
|
586
|
+
this.e9_1 = this.f9_1;
|
|
587
|
+
this.h9_1 = e;
|
|
585
588
|
}
|
|
586
589
|
}
|
|
587
590
|
while (true);
|
|
588
591
|
};
|
|
589
592
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
590
593
|
CoroutineImpl.call(this, resultContinuation);
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
594
|
+
this.p5u_1 = _this__u8e3s4;
|
|
595
|
+
this.q5u_1 = charset;
|
|
596
|
+
this.r5u_1 = typeInfo;
|
|
597
|
+
this.s5u_1 = content;
|
|
595
598
|
}
|
|
596
|
-
protoOf($deserializeCOROUTINE$).
|
|
597
|
-
var suspendResult = this.
|
|
599
|
+
protoOf($deserializeCOROUTINE$).m9 = function () {
|
|
600
|
+
var suspendResult = this.g9_1;
|
|
598
601
|
$sm: do
|
|
599
602
|
try {
|
|
600
|
-
var tmp = this.
|
|
603
|
+
var tmp = this.e9_1;
|
|
601
604
|
switch (tmp) {
|
|
602
605
|
case 0:
|
|
603
|
-
this.
|
|
604
|
-
this.
|
|
605
|
-
var this_0 = asFlow(this.
|
|
606
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.
|
|
607
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
606
|
+
this.f9_1 = 4;
|
|
607
|
+
this.e9_1 = 1;
|
|
608
|
+
var this_0 = asFlow(this.p5u_1.g5u_1);
|
|
609
|
+
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.q5u_1, this.r5u_1, this.s5u_1);
|
|
610
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.s5u_1, null), this);
|
|
608
611
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
609
612
|
return suspendResult;
|
|
610
613
|
}
|
|
@@ -613,17 +616,17 @@
|
|
|
613
616
|
case 1:
|
|
614
617
|
var fromExtension = suspendResult;
|
|
615
618
|
var tmp_1;
|
|
616
|
-
if (!this.
|
|
617
|
-
tmp_1 = !(fromExtension == null) || this.
|
|
619
|
+
if (!this.p5u_1.g5u_1.r()) {
|
|
620
|
+
tmp_1 = !(fromExtension == null) || this.s5u_1.h2t();
|
|
618
621
|
} else {
|
|
619
622
|
tmp_1 = false;
|
|
620
623
|
}
|
|
621
624
|
|
|
622
625
|
if (tmp_1)
|
|
623
626
|
return fromExtension;
|
|
624
|
-
this.
|
|
625
|
-
this.
|
|
626
|
-
suspendResult = this.
|
|
627
|
+
this.t5u_1 = serializerForTypeInfo(this.p5u_1.f5u_1.us(), this.r5u_1);
|
|
628
|
+
this.e9_1 = 2;
|
|
629
|
+
suspendResult = readRemaining(this.s5u_1, this);
|
|
627
630
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
628
631
|
return suspendResult;
|
|
629
632
|
}
|
|
@@ -631,123 +634,114 @@
|
|
|
631
634
|
continue $sm;
|
|
632
635
|
case 2:
|
|
633
636
|
var contentPacket = suspendResult;
|
|
634
|
-
this.
|
|
635
|
-
var tmp0_subject = this.
|
|
637
|
+
this.f9_1 = 3;
|
|
638
|
+
var tmp0_subject = this.p5u_1.f5u_1;
|
|
636
639
|
var tmp_2;
|
|
637
640
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
638
|
-
tmp_2 = this.
|
|
641
|
+
tmp_2 = this.p5u_1.f5u_1.wp(this.t5u_1, readText(contentPacket, this.q5u_1));
|
|
639
642
|
} else {
|
|
640
643
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
641
|
-
tmp_2 = this.
|
|
644
|
+
tmp_2 = this.p5u_1.f5u_1.yp(this.t5u_1, readByteArray(contentPacket));
|
|
642
645
|
} else {
|
|
643
646
|
discard(contentPacket);
|
|
644
|
-
var message = 'Unsupported format ' + toString(this.
|
|
647
|
+
var message = 'Unsupported format ' + toString(this.p5u_1.f5u_1);
|
|
645
648
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
646
649
|
}
|
|
647
650
|
}
|
|
648
651
|
|
|
649
652
|
return tmp_2;
|
|
650
653
|
case 3:
|
|
651
|
-
this.
|
|
652
|
-
var tmp_3 = this.
|
|
654
|
+
this.f9_1 = 4;
|
|
655
|
+
var tmp_3 = this.h9_1;
|
|
653
656
|
if (tmp_3 instanceof Error) {
|
|
654
|
-
var cause = this.
|
|
657
|
+
var cause = this.h9_1;
|
|
655
658
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
656
659
|
} else {
|
|
657
|
-
throw this.
|
|
660
|
+
throw this.h9_1;
|
|
658
661
|
}
|
|
659
662
|
|
|
660
663
|
case 4:
|
|
661
|
-
this.
|
|
662
|
-
return Unit_instance;
|
|
663
|
-
case 5:
|
|
664
|
-
throw this.v8_1;
|
|
664
|
+
throw this.h9_1;
|
|
665
665
|
}
|
|
666
666
|
} catch ($p) {
|
|
667
667
|
var e = $p;
|
|
668
|
-
if (this.
|
|
668
|
+
if (this.f9_1 === 4) {
|
|
669
669
|
throw e;
|
|
670
670
|
} else {
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
671
|
+
this.e9_1 = this.f9_1;
|
|
672
|
+
this.h9_1 = e;
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
while (true);
|
|
676
676
|
};
|
|
677
677
|
function KotlinxSerializationConverter(format) {
|
|
678
|
-
this.
|
|
679
|
-
this.
|
|
678
|
+
this.f5u_1 = format;
|
|
679
|
+
this.g5u_1 = extensions(this.f5u_1);
|
|
680
680
|
var tmp;
|
|
681
|
-
var tmp_0 = this.
|
|
681
|
+
var tmp_0 = this.f5u_1;
|
|
682
682
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
683
683
|
tmp = true;
|
|
684
684
|
} else {
|
|
685
|
-
var tmp_1 = this.
|
|
685
|
+
var tmp_1 = this.f5u_1;
|
|
686
686
|
tmp = isInterface(tmp_1, StringFormat);
|
|
687
687
|
}
|
|
688
688
|
// Inline function 'kotlin.require' call
|
|
689
689
|
if (!tmp) {
|
|
690
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
690
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.f5u_1) + ' is not supported.';
|
|
691
691
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
protoOf(KotlinxSerializationConverter).
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
return
|
|
699
|
-
};
|
|
700
|
-
protoOf(KotlinxSerializationConverter).w53 = function (contentType, charset, typeInfo, value, $completion) {
|
|
701
|
-
var tmp = new $serializeNullableCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
702
|
-
tmp.u8_1 = Unit_instance;
|
|
703
|
-
tmp.v8_1 = null;
|
|
704
|
-
return tmp.a9();
|
|
694
|
+
protoOf(KotlinxSerializationConverter).u5u = function (contentType, charset, typeInfo, value, $completion) {
|
|
695
|
+
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
696
|
+
tmp.g9_1 = Unit_instance;
|
|
697
|
+
tmp.h9_1 = null;
|
|
698
|
+
return tmp.m9();
|
|
705
699
|
};
|
|
706
|
-
protoOf(KotlinxSerializationConverter).
|
|
707
|
-
return this.
|
|
700
|
+
protoOf(KotlinxSerializationConverter).n5q = function (contentType, charset, typeInfo, value, $completion) {
|
|
701
|
+
return this.u5u(contentType, charset, typeInfo, value, $completion);
|
|
708
702
|
};
|
|
709
|
-
protoOf(KotlinxSerializationConverter).
|
|
703
|
+
protoOf(KotlinxSerializationConverter).r3x = function (charset, typeInfo, content, $completion) {
|
|
710
704
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
711
|
-
tmp.
|
|
712
|
-
tmp.
|
|
713
|
-
return tmp.
|
|
705
|
+
tmp.g9_1 = Unit_instance;
|
|
706
|
+
tmp.h9_1 = null;
|
|
707
|
+
return tmp.m9();
|
|
714
708
|
};
|
|
715
709
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
716
710
|
var module_0 = _this__u8e3s4;
|
|
717
|
-
var tmp0_safe_receiver = typeInfo.
|
|
711
|
+
var tmp0_safe_receiver = typeInfo.j3c_1;
|
|
718
712
|
var tmp;
|
|
719
713
|
if (tmp0_safe_receiver == null) {
|
|
720
714
|
tmp = null;
|
|
721
715
|
} else {
|
|
722
716
|
// Inline function 'kotlin.let' call
|
|
723
717
|
var tmp_0;
|
|
724
|
-
if (tmp0_safe_receiver.
|
|
718
|
+
if (tmp0_safe_receiver.k().r()) {
|
|
725
719
|
tmp_0 = null;
|
|
726
720
|
} else {
|
|
727
721
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
728
722
|
}
|
|
729
723
|
tmp = tmp_0;
|
|
730
724
|
}
|
|
731
|
-
var
|
|
725
|
+
var tmp1_elvis_lhs = tmp;
|
|
732
726
|
var tmp_1;
|
|
733
|
-
if (
|
|
734
|
-
var
|
|
735
|
-
tmp_1 =
|
|
727
|
+
if (tmp1_elvis_lhs == null) {
|
|
728
|
+
var tmp2_safe_receiver = module_0.bq(typeInfo.i3c_1);
|
|
729
|
+
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
736
730
|
} else {
|
|
737
|
-
tmp_1 =
|
|
731
|
+
tmp_1 = tmp1_elvis_lhs;
|
|
738
732
|
}
|
|
739
733
|
var tmp3_elvis_lhs = tmp_1;
|
|
740
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
734
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.i3c_1), typeInfo) : tmp3_elvis_lhs;
|
|
741
735
|
}
|
|
742
736
|
function guessSerializer(value, module_0) {
|
|
743
737
|
var tmp;
|
|
744
738
|
if (value == null) {
|
|
745
739
|
tmp = get_nullable(serializer_0(StringCompanionObject_instance));
|
|
746
740
|
} else {
|
|
747
|
-
if (
|
|
741
|
+
if (isInterface(value, KtList)) {
|
|
748
742
|
tmp = ListSerializer(elementSerializer(value, module_0));
|
|
749
743
|
} else {
|
|
750
|
-
if (
|
|
744
|
+
if (isArray(value)) {
|
|
751
745
|
var tmp1_safe_receiver = firstOrNull_0(value);
|
|
752
746
|
var tmp_0;
|
|
753
747
|
if (tmp1_safe_receiver == null) {
|
|
@@ -759,15 +753,15 @@
|
|
|
759
753
|
var tmp2_elvis_lhs = tmp_0;
|
|
760
754
|
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(StringCompanionObject_instance)) : tmp2_elvis_lhs;
|
|
761
755
|
} else {
|
|
762
|
-
if (
|
|
756
|
+
if (isInterface(value, KtSet)) {
|
|
763
757
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
764
758
|
} else {
|
|
765
|
-
if (
|
|
766
|
-
var keySerializer = elementSerializer(value.
|
|
767
|
-
var valueSerializer = elementSerializer(value.
|
|
759
|
+
if (isInterface(value, KtMap)) {
|
|
760
|
+
var keySerializer = elementSerializer(value.x2(), module_0);
|
|
761
|
+
var valueSerializer = elementSerializer(value.y2(), module_0);
|
|
768
762
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
769
763
|
} else {
|
|
770
|
-
var tmp3_elvis_lhs = module_0.
|
|
764
|
+
var tmp3_elvis_lhs = module_0.bq(getKClassFromExpression(value));
|
|
771
765
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
772
766
|
}
|
|
773
767
|
}
|
|
@@ -779,8 +773,8 @@
|
|
|
779
773
|
}
|
|
780
774
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
781
775
|
var tmp;
|
|
782
|
-
var tmp0_safe_receiver = typeInfo.
|
|
783
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
776
|
+
var tmp0_safe_receiver = typeInfo.j3c_1;
|
|
777
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
784
778
|
tmp = get_nullable(_this__u8e3s4);
|
|
785
779
|
} else {
|
|
786
780
|
tmp = _this__u8e3s4;
|
|
@@ -792,33 +786,33 @@
|
|
|
792
786
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
793
787
|
// Inline function 'kotlin.collections.mapTo' call
|
|
794
788
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
795
|
-
var _iterator__ex2g4s = this_0.
|
|
796
|
-
while (_iterator__ex2g4s.
|
|
797
|
-
var item = _iterator__ex2g4s.
|
|
789
|
+
var _iterator__ex2g4s = this_0.t();
|
|
790
|
+
while (_iterator__ex2g4s.u()) {
|
|
791
|
+
var item = _iterator__ex2g4s.v();
|
|
798
792
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
799
|
-
destination.
|
|
793
|
+
destination.e1(tmp$ret$0);
|
|
800
794
|
}
|
|
801
795
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
802
796
|
var set = HashSet_init_$Create$();
|
|
803
797
|
var list = ArrayList_init_$Create$();
|
|
804
|
-
var _iterator__ex2g4s_0 = destination.
|
|
805
|
-
while (_iterator__ex2g4s_0.
|
|
806
|
-
var e = _iterator__ex2g4s_0.
|
|
807
|
-
var key = e.
|
|
808
|
-
if (set.
|
|
809
|
-
list.
|
|
798
|
+
var _iterator__ex2g4s_0 = destination.t();
|
|
799
|
+
while (_iterator__ex2g4s_0.u()) {
|
|
800
|
+
var e = _iterator__ex2g4s_0.v();
|
|
801
|
+
var key = e.so().tp();
|
|
802
|
+
if (set.e1(key)) {
|
|
803
|
+
list.e1(e);
|
|
810
804
|
}
|
|
811
805
|
}
|
|
812
806
|
var serializers = list;
|
|
813
|
-
if (serializers.
|
|
807
|
+
if (serializers.g1() > 1) {
|
|
814
808
|
// Inline function 'kotlin.collections.map' call
|
|
815
809
|
// Inline function 'kotlin.collections.mapTo' call
|
|
816
810
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
817
|
-
var _iterator__ex2g4s_1 = serializers.
|
|
818
|
-
while (_iterator__ex2g4s_1.
|
|
819
|
-
var item_0 = _iterator__ex2g4s_1.
|
|
820
|
-
var tmp$ret$5 = item_0.
|
|
821
|
-
destination_0.
|
|
811
|
+
var _iterator__ex2g4s_1 = serializers.t();
|
|
812
|
+
while (_iterator__ex2g4s_1.u()) {
|
|
813
|
+
var item_0 = _iterator__ex2g4s_1.v();
|
|
814
|
+
var tmp$ret$5 = item_0.so().tp();
|
|
815
|
+
destination_0.e1(tmp$ret$5);
|
|
822
816
|
}
|
|
823
817
|
// Inline function 'kotlin.error' call
|
|
824
818
|
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
@@ -826,7 +820,7 @@
|
|
|
826
820
|
}
|
|
827
821
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
828
822
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
829
|
-
if (selected.
|
|
823
|
+
if (selected.so().fq()) {
|
|
830
824
|
return selected;
|
|
831
825
|
}
|
|
832
826
|
if (!isInterface(selected, KSerializer))
|
|
@@ -844,9 +838,9 @@
|
|
|
844
838
|
tmp$ret$8 = false;
|
|
845
839
|
break $l$block_0;
|
|
846
840
|
}
|
|
847
|
-
var _iterator__ex2g4s_2 = _this__u8e3s4.
|
|
848
|
-
while (_iterator__ex2g4s_2.
|
|
849
|
-
var element = _iterator__ex2g4s_2.
|
|
841
|
+
var _iterator__ex2g4s_2 = _this__u8e3s4.t();
|
|
842
|
+
while (_iterator__ex2g4s_2.u()) {
|
|
843
|
+
var element = _iterator__ex2g4s_2.v();
|
|
850
844
|
if (element == null) {
|
|
851
845
|
tmp$ret$8 = true;
|
|
852
846
|
break $l$block_0;
|