mrs-toolbox-cli 0.0.2 → 0.0.11
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/88b0986a7186d029-atomicfu-js-ir.js +53 -72
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js → Kotlin-DateTime-library-kotlinx-datetime.js} +1 -1
- package/app.properties +1 -0
- package/clikt-clikt-mordant.js +245 -0
- package/clikt-clikt-mordant.js.map +1 -0
- package/clikt-clikt.js +6653 -0
- package/clikt-clikt.js.map +1 -0
- package/colormath-root-colormath.js +1670 -0
- package/colormath-root-colormath.js.map +1 -0
- package/com.mrs.platform.configuration.dto.js +11573 -10323
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +16354 -0
- package/kotlin-kotlin-stdlib.js.map +1 -0
- package/kotlin-logging-js-ir.js +88 -111
- package/kotlin-logging-js-ir.js.map +1 -1
- package/kotlin-node.js +14 -5
- package/kotlin-node.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +8 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/kotlinx-html.js +8 -0
- package/kotlinx-html.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js +6098 -0
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js +5116 -0
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3931 -3753
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +293 -302
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +3108 -3459
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +21 -27
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +1241 -1722
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +2222 -3125
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +12 -13
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx.js +365 -396
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +154 -150
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +749 -943
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +102 -116
- package/ktor-ktor-websockets.js.map +1 -1
- package/mordant-mordant-omnibus.js +8 -0
- package/mordant-mordant-omnibus.js.map +1 -0
- package/mordant-mordant.js +7129 -0
- package/mordant-mordant.js.map +1 -0
- package/mrs-toolbox-cli.d.ts +797 -886
- package/mrs-toolbox-cli.js +1055 -264
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +3 -2
- package/static/demo.test.ts.txt +25 -25
- package/static/git.ignore +4 -4
- package/static/hook.ts.txt +6 -6
- package/static/init/hooks.webpack.config.js +35 -0
- package/static/init/webpackRoot.config.js +35 -0
- package/static/mrscconfig.json +13 -14
- package/static/readme.md +49 -49
- package/static/tsconfig.json.txt +7 -7
- package/toolbox.js +14940 -12631
- package/toolbox.js.map +1 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.hash +0 -1
- package/88b0986a7186d029-atomicfu-js-ir.js.map.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.hash +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map.hash +0 -1
- package/clikt-clikt-js-ir.js +0 -7044
- package/clikt-clikt-js-ir.js.hash +0 -1
- package/clikt-clikt-js-ir.js.map +0 -1
- package/clikt-clikt-js-ir.js.map.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.hash +0 -1
- package/com.mrs.platform.configuration.dto.js.map.hash +0 -1
- package/kotlin-js.js.hash +0 -1
- package/kotlin-js.js.map.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js +0 -15771
- package/kotlin-kotlin-stdlib-js-ir.js.hash +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
- package/kotlin-kotlin-stdlib-js-ir.js.map.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.hash +0 -1
- package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map.hash +0 -1
- package/kotlin-logging-js-ir.js.hash +0 -1
- package/kotlin-logging-js-ir.js.map.hash +0 -1
- package/kotlin-node.js.hash +0 -1
- package/kotlin-node.js.map.hash +0 -1
- package/kotlin-web.js.hash +0 -1
- package/kotlin-web.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +0 -6431
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -5102
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.hash +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.hash +0 -1
- package/ktor-ktor-client-content-negotiation.js.map.hash +0 -1
- package/ktor-ktor-client-core.js.hash +0 -1
- package/ktor-ktor-client-core.js.map.hash +0 -1
- package/ktor-ktor-events.js.hash +0 -1
- package/ktor-ktor-events.js.map.hash +0 -1
- package/ktor-ktor-http.js.hash +0 -1
- package/ktor-ktor-http.js.map.hash +0 -1
- package/ktor-ktor-io.js.hash +0 -1
- package/ktor-ktor-io.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx-json.js.map.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.hash +0 -1
- package/ktor-ktor-serialization-kotlinx.js.map.hash +0 -1
- package/ktor-ktor-serialization.js.hash +0 -1
- package/ktor-ktor-serialization.js.map.hash +0 -1
- package/ktor-ktor-utils.js.hash +0 -1
- package/ktor-ktor-utils.js.map.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.hash +0 -1
- package/ktor-ktor-websocket-serialization.js.map.hash +0 -1
- package/ktor-ktor-websockets.js.hash +0 -1
- package/ktor-ktor-websockets.js.map.hash +0 -1
- package/mrs-toolbox-cli.d.ts.hash +0 -1
- package/mrs-toolbox-cli.js.hash +0 -1
- package/mrs-toolbox-cli.js.map.hash +0 -1
- package/static/access.query.txt.hash +0 -1
- package/static/demo.test.ts.txt.hash +0 -1
- package/static/git.ignore.hash +0 -1
- package/static/graph.query.txt.hash +0 -1
- package/static/hook.ts.txt.hash +0 -1
- package/static/mrscconfig.json.hash +0 -1
- package/static/readme.md.hash +0 -1
- package/static/styles/1.css +0 -0
- package/static/styles/1.css.hash +0 -1
- package/static/styles/10.css +0 -4
- package/static/styles/10.css.hash +0 -1
- package/static/styles/11.css +0 -17
- package/static/styles/11.css.hash +0 -1
- package/static/styles/12.css +0 -27
- package/static/styles/12.css.hash +0 -1
- package/static/styles/13.css +0 -8
- package/static/styles/13.css.hash +0 -1
- package/static/styles/14.css +0 -17
- package/static/styles/14.css.hash +0 -1
- package/static/styles/15.css +0 -41
- package/static/styles/15.css.hash +0 -1
- package/static/styles/16.css +0 -16
- package/static/styles/16.css.hash +0 -1
- package/static/styles/17.css +0 -66
- package/static/styles/17.css.hash +0 -1
- package/static/styles/18.css +0 -7
- package/static/styles/18.css.hash +0 -1
- package/static/styles/19.css +0 -38
- package/static/styles/19.css.hash +0 -1
- package/static/styles/2.css +0 -444
- package/static/styles/2.css.hash +0 -1
- package/static/styles/20.css +0 -43
- package/static/styles/20.css.hash +0 -1
- package/static/styles/21.css +0 -63
- package/static/styles/21.css.hash +0 -1
- package/static/styles/24.css +0 -4
- package/static/styles/24.css.hash +0 -1
- package/static/styles/3.css +0 -17
- package/static/styles/3.css.hash +0 -1
- package/static/styles/3bcb0769073530bc9113-3bcb0.css +0 -6469
- package/static/styles/3bcb0769073530bc9113-3bcb0.css.hash +0 -1
- package/static/styles/4.css +0 -11
- package/static/styles/4.css.hash +0 -1
- package/static/styles/5.css +0 -138
- package/static/styles/5.css.hash +0 -1
- package/static/styles/6.css +0 -110
- package/static/styles/6.css.hash +0 -1
- package/static/styles/6369df247fde1cada5fe-6369d.css +0 -6016
- package/static/styles/6369df247fde1cada5fe-6369d.css.hash +0 -1
- package/static/styles/7.css +0 -20
- package/static/styles/7.css.hash +0 -1
- package/static/styles/8.css +0 -47
- package/static/styles/8.css.hash +0 -1
- package/static/styles/css.css +0 -112
- package/static/styles/css.css.hash +0 -1
- package/static/styles/jss.css +0 -211
- package/static/styles/jss.css.hash +0 -1
- package/static/tsconfig.json.txt.hash +0 -1
- package/toolbox.js.hash +0 -1
- package/toolbox.js.map.hash +0 -1
- /package/{Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map → Kotlin-DateTime-library-kotlinx-datetime.js.map} +0 -0
|
@@ -1,391 +1,393 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_serialization) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r2;
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.g5;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.da;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.dc;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.rg;
|
|
9
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.n9;
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ib;
|
|
11
|
+
var VOID = kotlin_kotlin.$_$.g;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.fb;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.ic;
|
|
14
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
15
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.sb;
|
|
18
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.i;
|
|
19
|
-
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
18
|
+
var BinaryFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
20
19
|
var withCharsetIfNeeded = kotlin_io_ktor_ktor_http.$_$.h1;
|
|
21
20
|
var TextContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
22
|
-
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
21
|
+
var StringFormat = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p2;
|
|
22
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.db;
|
|
23
24
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.o;
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u2;
|
|
25
|
+
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
26
|
+
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
27
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n2;
|
|
28
28
|
var discard = kotlin_io_ktor_ktor_io.$_$.u;
|
|
29
29
|
var readBytes = kotlin_io_ktor_ktor_io.$_$.v;
|
|
30
30
|
var readText = kotlin_io_ktor_ktor_io.$_$.x;
|
|
31
31
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
32
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
32
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
33
33
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
34
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
35
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
36
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
37
|
-
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
38
|
-
var
|
|
39
|
-
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
40
|
-
var
|
|
41
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
42
|
-
var
|
|
43
|
-
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
44
|
-
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
45
|
-
var isArray = kotlin_kotlin.$_$.
|
|
46
|
-
var
|
|
47
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
49
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
50
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
51
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
52
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
53
|
-
var Collection = kotlin_kotlin.$_$.
|
|
54
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
34
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
35
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
36
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
37
|
+
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
38
|
+
var KtMap = kotlin_kotlin.$_$.r5;
|
|
39
|
+
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
40
|
+
var KtSet = kotlin_kotlin.$_$.v5;
|
|
41
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.a7;
|
|
42
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.t4;
|
|
43
|
+
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
44
|
+
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
45
|
+
var isArray = kotlin_kotlin.$_$.kb;
|
|
46
|
+
var KtList = kotlin_kotlin.$_$.o5;
|
|
47
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
48
|
+
var filterNotNull = kotlin_kotlin.$_$.y6;
|
|
49
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.d6;
|
|
50
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
51
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
52
|
+
var singleOrNull = kotlin_kotlin.$_$.r8;
|
|
53
|
+
var Collection = kotlin_kotlin.$_$.i5;
|
|
54
|
+
var emptyList = kotlin_kotlin.$_$.v6;
|
|
55
55
|
//endregion
|
|
56
56
|
//region block: pre-declaration
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
setMetadataFor(KotlinxSerializationConverter, 'KotlinxSerializationConverter', classMeta, VOID, [ContentConverter], VOID, VOID, [4, 3]);
|
|
57
|
+
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
58
|
+
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
59
|
+
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
60
|
+
initMetadataForCoroutine($collectCOROUTINE$3, CoroutineImpl);
|
|
61
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
62
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
63
|
+
initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, VOID, [1]);
|
|
64
|
+
initMetadataForLambda(KotlinxSerializationConverter$serializeNullable$slambda, CoroutineImpl, VOID, [1]);
|
|
65
|
+
initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, VOID, [1]);
|
|
66
|
+
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
67
|
+
initMetadataForCoroutine($serializeNullableCOROUTINE$0, CoroutineImpl);
|
|
68
|
+
initMetadataForCoroutine($deserializeCOROUTINE$1, CoroutineImpl);
|
|
69
|
+
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, [ContentConverter], [4, 3]);
|
|
71
70
|
//endregion
|
|
72
|
-
function KotlinxSerializationExtension() {
|
|
73
|
-
}
|
|
74
71
|
function extensions(format) {
|
|
75
|
-
var tmp$ret$3;
|
|
76
72
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
77
|
-
var tmp1_mapNotNull = get_providers();
|
|
78
|
-
var tmp$ret$2;
|
|
79
73
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
80
|
-
var
|
|
74
|
+
var this_0 = get_providers();
|
|
75
|
+
var destination = ArrayList_init_$Create$();
|
|
81
76
|
// Inline function 'kotlin.collections.forEach' call
|
|
82
|
-
var tmp0_iterator =
|
|
83
|
-
while (tmp0_iterator.
|
|
84
|
-
var element = tmp0_iterator.
|
|
77
|
+
var tmp0_iterator = this_0.k();
|
|
78
|
+
while (tmp0_iterator.l()) {
|
|
79
|
+
var element = tmp0_iterator.m();
|
|
85
80
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
86
|
-
var tmp$ret$0;
|
|
87
81
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
88
|
-
|
|
89
|
-
var tmp0_safe_receiver = tmp$ret$0;
|
|
82
|
+
var tmp0_safe_receiver = element.u2x(format);
|
|
90
83
|
if (tmp0_safe_receiver == null)
|
|
91
84
|
null;
|
|
92
85
|
else {
|
|
93
|
-
var tmp$ret$1;
|
|
94
86
|
// Inline function 'kotlin.let' call
|
|
95
87
|
// Inline function 'kotlin.contracts.contract' call
|
|
96
|
-
|
|
97
|
-
tmp$ret$1 = Unit_getInstance();
|
|
88
|
+
destination.e(tmp0_safe_receiver);
|
|
98
89
|
}
|
|
99
90
|
}
|
|
100
|
-
|
|
101
|
-
tmp$ret$3 = tmp$ret$2;
|
|
102
|
-
return tmp$ret$3;
|
|
91
|
+
return destination;
|
|
103
92
|
}
|
|
104
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
105
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.w2a(contentType, new KotlinxSerializationConverter(format));
|
|
106
95
|
}
|
|
107
|
-
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
96
|
+
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
97
|
+
this.d2y_1 = $$this$unsafeFlow;
|
|
98
|
+
this.e2y_1 = $contentType;
|
|
99
|
+
this.f2y_1 = $charset;
|
|
100
|
+
this.g2y_1 = $typeInfo;
|
|
101
|
+
this.h2y_1 = $value;
|
|
113
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
114
103
|
}
|
|
115
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
116
|
-
var tmp = this.
|
|
117
|
-
tmp.
|
|
118
|
-
tmp.
|
|
119
|
-
return tmp.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).e2c = function (value, $completion) {
|
|
105
|
+
var tmp = this.f2c(value, $completion);
|
|
106
|
+
tmp.n9_1 = Unit_instance;
|
|
107
|
+
tmp.o9_1 = null;
|
|
108
|
+
return tmp.t9();
|
|
120
109
|
};
|
|
121
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
122
|
-
return this.
|
|
110
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).ba = function (p1, $completion) {
|
|
111
|
+
return this.e2c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
123
112
|
};
|
|
124
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
125
|
-
var suspendResult = this.
|
|
113
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).t9 = function () {
|
|
114
|
+
var suspendResult = this.n9_1;
|
|
126
115
|
$sm: do
|
|
127
116
|
try {
|
|
128
|
-
var tmp = this.
|
|
117
|
+
var tmp = this.l9_1;
|
|
129
118
|
switch (tmp) {
|
|
130
119
|
case 0:
|
|
131
|
-
this.
|
|
132
|
-
|
|
133
|
-
|
|
120
|
+
this.m9_1 = 3;
|
|
121
|
+
var tmp_0 = this;
|
|
122
|
+
tmp_0.j2y_1 = this.d2y_1;
|
|
123
|
+
var tmp_1 = this;
|
|
124
|
+
tmp_1.k2y_1 = this.i2y_1;
|
|
125
|
+
var tmp_2 = this;
|
|
126
|
+
tmp_2.l2y_1 = this.k2y_1;
|
|
127
|
+
this.l9_1 = 1;
|
|
128
|
+
suspendResult = this.l2y_1.n2y(this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1, this);
|
|
134
129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
135
130
|
return suspendResult;
|
|
136
131
|
}
|
|
137
132
|
|
|
138
133
|
continue $sm;
|
|
139
134
|
case 1:
|
|
140
|
-
this.
|
|
141
|
-
this.
|
|
142
|
-
suspendResult = this.
|
|
135
|
+
this.m2y_1 = suspendResult;
|
|
136
|
+
this.l9_1 = 2;
|
|
137
|
+
suspendResult = this.j2y_1.o16(this.m2y_1, this);
|
|
143
138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
144
139
|
return suspendResult;
|
|
145
140
|
}
|
|
146
141
|
|
|
147
142
|
continue $sm;
|
|
148
143
|
case 2:
|
|
149
|
-
return
|
|
144
|
+
return Unit_instance;
|
|
150
145
|
case 3:
|
|
151
|
-
throw this.
|
|
146
|
+
throw this.o9_1;
|
|
152
147
|
}
|
|
153
148
|
} catch ($p) {
|
|
154
149
|
var e = $p;
|
|
155
|
-
if (this.
|
|
150
|
+
if (this.m9_1 === 3) {
|
|
156
151
|
throw e;
|
|
157
152
|
} else {
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
153
|
+
this.l9_1 = this.m9_1;
|
|
154
|
+
this.o9_1 = e;
|
|
160
155
|
}
|
|
161
156
|
}
|
|
162
157
|
while (true);
|
|
163
158
|
};
|
|
164
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
165
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
166
|
-
i.
|
|
159
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).f2c = function (value, completion) {
|
|
160
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.d2y_1, this.e2y_1, this.f2y_1, this.g2y_1, this.h2y_1, completion);
|
|
161
|
+
i.i2y_1 = value;
|
|
167
162
|
return i;
|
|
168
163
|
};
|
|
169
|
-
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($
|
|
170
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($
|
|
164
|
+
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
165
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
171
166
|
var l = function (value, $completion) {
|
|
172
|
-
return i.
|
|
167
|
+
return i.e2c(value, $completion);
|
|
173
168
|
};
|
|
174
169
|
l.$arity = 1;
|
|
175
170
|
return l;
|
|
176
171
|
}
|
|
177
172
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
178
173
|
CoroutineImpl.call(this, resultContinuation);
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
174
|
+
this.w2y_1 = _this__u8e3s4;
|
|
175
|
+
this.x2y_1 = collector;
|
|
181
176
|
}
|
|
182
|
-
protoOf($collectCOROUTINE$2).
|
|
183
|
-
var suspendResult = this.
|
|
177
|
+
protoOf($collectCOROUTINE$2).t9 = function () {
|
|
178
|
+
var suspendResult = this.n9_1;
|
|
184
179
|
$sm: do
|
|
185
180
|
try {
|
|
186
|
-
var tmp = this.
|
|
181
|
+
var tmp = this.l9_1;
|
|
187
182
|
switch (tmp) {
|
|
188
183
|
case 0:
|
|
189
|
-
this.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
184
|
+
this.m9_1 = 2;
|
|
185
|
+
var tmp_0 = this;
|
|
186
|
+
tmp_0.y2y_1 = this.x2y_1;
|
|
187
|
+
this.l9_1 = 1;
|
|
188
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.y2y_1, this.w2y_1.a2z_1, this.w2y_1.b2z_1, this.w2y_1.c2z_1, this.w2y_1.d2z_1, null);
|
|
189
|
+
suspendResult = this.w2y_1.z2y_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
193
190
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
194
191
|
return suspendResult;
|
|
195
192
|
}
|
|
196
193
|
|
|
197
194
|
continue $sm;
|
|
198
195
|
case 1:
|
|
199
|
-
return
|
|
196
|
+
return Unit_instance;
|
|
200
197
|
case 2:
|
|
201
|
-
throw this.
|
|
198
|
+
throw this.o9_1;
|
|
202
199
|
}
|
|
203
200
|
} catch ($p) {
|
|
204
201
|
var e = $p;
|
|
205
|
-
if (this.
|
|
202
|
+
if (this.m9_1 === 2) {
|
|
206
203
|
throw e;
|
|
207
204
|
} else {
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
205
|
+
this.l9_1 = this.m9_1;
|
|
206
|
+
this.o9_1 = e;
|
|
210
207
|
}
|
|
211
208
|
}
|
|
212
209
|
while (true);
|
|
213
210
|
};
|
|
214
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda($
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
211
|
+
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
212
|
+
this.m2z_1 = $$this$unsafeFlow;
|
|
213
|
+
this.n2z_1 = $charset;
|
|
214
|
+
this.o2z_1 = $typeInfo;
|
|
215
|
+
this.p2z_1 = $content;
|
|
219
216
|
CoroutineImpl.call(this, resultContinuation);
|
|
220
217
|
}
|
|
221
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
222
|
-
var tmp = this.
|
|
223
|
-
tmp.
|
|
224
|
-
tmp.
|
|
225
|
-
return tmp.
|
|
218
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).e2c = function (value, $completion) {
|
|
219
|
+
var tmp = this.f2c(value, $completion);
|
|
220
|
+
tmp.n9_1 = Unit_instance;
|
|
221
|
+
tmp.o9_1 = null;
|
|
222
|
+
return tmp.t9();
|
|
226
223
|
};
|
|
227
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
228
|
-
return this.
|
|
224
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ba = function (p1, $completion) {
|
|
225
|
+
return this.e2c((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
229
226
|
};
|
|
230
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
231
|
-
var suspendResult = this.
|
|
227
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).t9 = function () {
|
|
228
|
+
var suspendResult = this.n9_1;
|
|
232
229
|
$sm: do
|
|
233
230
|
try {
|
|
234
|
-
var tmp = this.
|
|
231
|
+
var tmp = this.l9_1;
|
|
235
232
|
switch (tmp) {
|
|
236
233
|
case 0:
|
|
237
|
-
this.
|
|
238
|
-
|
|
239
|
-
|
|
234
|
+
this.m9_1 = 3;
|
|
235
|
+
var tmp_0 = this;
|
|
236
|
+
tmp_0.r2z_1 = this.m2z_1;
|
|
237
|
+
var tmp_1 = this;
|
|
238
|
+
tmp_1.s2z_1 = this.q2z_1;
|
|
239
|
+
var tmp_2 = this;
|
|
240
|
+
tmp_2.t2z_1 = this.s2z_1;
|
|
241
|
+
this.l9_1 = 1;
|
|
242
|
+
suspendResult = this.t2z_1.z2a(this.n2z_1, this.o2z_1, this.p2z_1, this);
|
|
240
243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
241
244
|
return suspendResult;
|
|
242
245
|
}
|
|
243
246
|
|
|
244
247
|
continue $sm;
|
|
245
248
|
case 1:
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
suspendResult = this.
|
|
249
|
+
this.u2z_1 = suspendResult;
|
|
250
|
+
this.l9_1 = 2;
|
|
251
|
+
suspendResult = this.r2z_1.o16(this.u2z_1, this);
|
|
249
252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
250
253
|
return suspendResult;
|
|
251
254
|
}
|
|
252
255
|
|
|
253
256
|
continue $sm;
|
|
254
257
|
case 2:
|
|
255
|
-
return
|
|
258
|
+
return Unit_instance;
|
|
256
259
|
case 3:
|
|
257
|
-
throw this.
|
|
260
|
+
throw this.o9_1;
|
|
258
261
|
}
|
|
259
262
|
} catch ($p) {
|
|
260
263
|
var e = $p;
|
|
261
|
-
if (this.
|
|
264
|
+
if (this.m9_1 === 3) {
|
|
262
265
|
throw e;
|
|
263
266
|
} else {
|
|
264
|
-
this.
|
|
265
|
-
this.
|
|
267
|
+
this.l9_1 = this.m9_1;
|
|
268
|
+
this.o9_1 = e;
|
|
266
269
|
}
|
|
267
270
|
}
|
|
268
271
|
while (true);
|
|
269
272
|
};
|
|
270
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
271
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
272
|
-
i.
|
|
273
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).f2c = function (value, completion) {
|
|
274
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.m2z_1, this.n2z_1, this.o2z_1, this.p2z_1, completion);
|
|
275
|
+
i.q2z_1 = value;
|
|
273
276
|
return i;
|
|
274
277
|
};
|
|
275
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($
|
|
276
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($
|
|
278
|
+
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
279
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
277
280
|
var l = function (value, $completion) {
|
|
278
|
-
return i.
|
|
281
|
+
return i.e2c(value, $completion);
|
|
279
282
|
};
|
|
280
283
|
l.$arity = 1;
|
|
281
284
|
return l;
|
|
282
285
|
}
|
|
283
286
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
284
287
|
CoroutineImpl.call(this, resultContinuation);
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
288
|
+
this.d30_1 = _this__u8e3s4;
|
|
289
|
+
this.e30_1 = collector;
|
|
287
290
|
}
|
|
288
|
-
protoOf($collectCOROUTINE$3).
|
|
289
|
-
var suspendResult = this.
|
|
291
|
+
protoOf($collectCOROUTINE$3).t9 = function () {
|
|
292
|
+
var suspendResult = this.n9_1;
|
|
290
293
|
$sm: do
|
|
291
294
|
try {
|
|
292
|
-
var tmp = this.
|
|
295
|
+
var tmp = this.l9_1;
|
|
293
296
|
switch (tmp) {
|
|
294
297
|
case 0:
|
|
295
|
-
this.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
this.m9_1 = 2;
|
|
299
|
+
var tmp_0 = this;
|
|
300
|
+
tmp_0.f30_1 = this.e30_1;
|
|
301
|
+
this.l9_1 = 1;
|
|
302
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.f30_1, this.d30_1.h30_1, this.d30_1.i30_1, this.d30_1.j30_1, null);
|
|
303
|
+
suspendResult = this.d30_1.g30_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
299
304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
300
305
|
return suspendResult;
|
|
301
306
|
}
|
|
302
307
|
|
|
303
308
|
continue $sm;
|
|
304
309
|
case 1:
|
|
305
|
-
return
|
|
310
|
+
return Unit_instance;
|
|
306
311
|
case 2:
|
|
307
|
-
throw this.
|
|
312
|
+
throw this.o9_1;
|
|
308
313
|
}
|
|
309
314
|
} catch ($p) {
|
|
310
315
|
var e = $p;
|
|
311
|
-
if (this.
|
|
316
|
+
if (this.m9_1 === 2) {
|
|
312
317
|
throw e;
|
|
313
318
|
} else {
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
319
|
+
this.l9_1 = this.m9_1;
|
|
320
|
+
this.o9_1 = e;
|
|
316
321
|
}
|
|
317
322
|
}
|
|
318
323
|
while (true);
|
|
319
324
|
};
|
|
320
325
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
321
|
-
var tmp0_subject = format;
|
|
322
326
|
var tmp;
|
|
323
|
-
if (isInterface(
|
|
324
|
-
var content = format.
|
|
327
|
+
if (isInterface(format, StringFormat)) {
|
|
328
|
+
var content = format.j2e(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
325
329
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
326
330
|
} else {
|
|
327
|
-
if (isInterface(
|
|
328
|
-
var content_0 = format.
|
|
331
|
+
if (isInterface(format, BinaryFormat)) {
|
|
332
|
+
var content_0 = format.m2e(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
329
333
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
330
334
|
} else {
|
|
331
|
-
var
|
|
332
|
-
throw IllegalStateException_init_$Create$(toString(
|
|
335
|
+
var message = 'Unsupported format ' + toString(format);
|
|
336
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
333
337
|
}
|
|
334
338
|
}
|
|
335
339
|
return tmp;
|
|
336
340
|
}
|
|
337
341
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
338
|
-
this.
|
|
342
|
+
this.k30_1 = function_0;
|
|
339
343
|
}
|
|
340
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
341
|
-
|
|
342
|
-
return tmp0;
|
|
344
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o16 = function (value, $completion) {
|
|
345
|
+
return this.k30_1(value, $completion);
|
|
343
346
|
};
|
|
344
347
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
345
|
-
this.
|
|
348
|
+
this.l30_1 = function_0;
|
|
346
349
|
}
|
|
347
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
348
|
-
|
|
349
|
-
return tmp0;
|
|
350
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o16 = function (value, $completion) {
|
|
351
|
+
return this.l30_1(value, $completion);
|
|
350
352
|
};
|
|
351
|
-
function _no_name_provided__qut3iv($
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
353
|
+
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
354
|
+
this.z2y_1 = $this;
|
|
355
|
+
this.a2z_1 = $contentType;
|
|
356
|
+
this.b2z_1 = $charset;
|
|
357
|
+
this.c2z_1 = $typeInfo;
|
|
358
|
+
this.d2z_1 = $value;
|
|
357
359
|
}
|
|
358
|
-
protoOf(_no_name_provided__qut3iv).
|
|
360
|
+
protoOf(_no_name_provided__qut3iv).p16 = function (collector, $completion) {
|
|
359
361
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
360
|
-
tmp.
|
|
361
|
-
tmp.
|
|
362
|
-
return tmp.
|
|
362
|
+
tmp.n9_1 = Unit_instance;
|
|
363
|
+
tmp.o9_1 = null;
|
|
364
|
+
return tmp.t9();
|
|
363
365
|
};
|
|
364
|
-
protoOf(_no_name_provided__qut3iv).
|
|
365
|
-
return this.
|
|
366
|
+
protoOf(_no_name_provided__qut3iv).x15 = function (collector, $completion) {
|
|
367
|
+
return this.p16(collector, $completion);
|
|
366
368
|
};
|
|
367
369
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
368
370
|
CoroutineImpl.call(this, resultContinuation);
|
|
369
371
|
}
|
|
370
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
371
|
-
var tmp = this.
|
|
372
|
-
tmp.
|
|
373
|
-
tmp.
|
|
374
|
-
return tmp.
|
|
372
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).v30 = function (it, $completion) {
|
|
373
|
+
var tmp = this.w30(it, $completion);
|
|
374
|
+
tmp.n9_1 = Unit_instance;
|
|
375
|
+
tmp.o9_1 = null;
|
|
376
|
+
return tmp.t9();
|
|
375
377
|
};
|
|
376
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
377
|
-
return this.
|
|
378
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).ba = function (p1, $completion) {
|
|
379
|
+
return this.v30((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
378
380
|
};
|
|
379
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
380
|
-
var suspendResult = this.
|
|
381
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).t9 = function () {
|
|
382
|
+
var suspendResult = this.n9_1;
|
|
381
383
|
$sm: do
|
|
382
384
|
try {
|
|
383
|
-
var tmp = this.
|
|
385
|
+
var tmp = this.l9_1;
|
|
384
386
|
if (tmp === 0) {
|
|
385
|
-
this.
|
|
386
|
-
return !(this.
|
|
387
|
+
this.m9_1 = 1;
|
|
388
|
+
return !(this.u30_1 == null);
|
|
387
389
|
} else if (tmp === 1) {
|
|
388
|
-
throw this.
|
|
390
|
+
throw this.o9_1;
|
|
389
391
|
}
|
|
390
392
|
} catch ($p) {
|
|
391
393
|
var e = $p;
|
|
@@ -393,57 +395,57 @@
|
|
|
393
395
|
}
|
|
394
396
|
while (true);
|
|
395
397
|
};
|
|
396
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
398
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).w30 = function (it, completion) {
|
|
397
399
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
398
|
-
i.
|
|
400
|
+
i.u30_1 = it;
|
|
399
401
|
return i;
|
|
400
402
|
};
|
|
401
403
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
402
404
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
403
405
|
var l = function (it, $completion) {
|
|
404
|
-
return i.
|
|
406
|
+
return i.v30(it, $completion);
|
|
405
407
|
};
|
|
406
408
|
l.$arity = 1;
|
|
407
409
|
return l;
|
|
408
410
|
}
|
|
409
|
-
function _no_name_provided__qut3iv_0($
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
411
|
+
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
412
|
+
this.g30_1 = $this;
|
|
413
|
+
this.h30_1 = $charset;
|
|
414
|
+
this.i30_1 = $typeInfo;
|
|
415
|
+
this.j30_1 = $content;
|
|
414
416
|
}
|
|
415
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
417
|
+
protoOf(_no_name_provided__qut3iv_0).p16 = function (collector, $completion) {
|
|
416
418
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
417
|
-
tmp.
|
|
418
|
-
tmp.
|
|
419
|
-
return tmp.
|
|
419
|
+
tmp.n9_1 = Unit_instance;
|
|
420
|
+
tmp.o9_1 = null;
|
|
421
|
+
return tmp.t9();
|
|
420
422
|
};
|
|
421
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
422
|
-
return this.
|
|
423
|
+
protoOf(_no_name_provided__qut3iv_0).x15 = function (collector, $completion) {
|
|
424
|
+
return this.p16(collector, $completion);
|
|
423
425
|
};
|
|
424
426
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
425
|
-
this.
|
|
427
|
+
this.f31_1 = $content;
|
|
426
428
|
CoroutineImpl.call(this, resultContinuation);
|
|
427
429
|
}
|
|
428
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
429
|
-
var tmp = this.
|
|
430
|
-
tmp.
|
|
431
|
-
tmp.
|
|
432
|
-
return tmp.
|
|
430
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).f2d = function (it, $completion) {
|
|
431
|
+
var tmp = this.f2c(it, $completion);
|
|
432
|
+
tmp.n9_1 = Unit_instance;
|
|
433
|
+
tmp.o9_1 = null;
|
|
434
|
+
return tmp.t9();
|
|
433
435
|
};
|
|
434
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
435
|
-
return this.
|
|
436
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).ba = function (p1, $completion) {
|
|
437
|
+
return this.f2d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
436
438
|
};
|
|
437
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
438
|
-
var suspendResult = this.
|
|
439
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).t9 = function () {
|
|
440
|
+
var suspendResult = this.n9_1;
|
|
439
441
|
$sm: do
|
|
440
442
|
try {
|
|
441
|
-
var tmp = this.
|
|
443
|
+
var tmp = this.l9_1;
|
|
442
444
|
if (tmp === 0) {
|
|
443
|
-
this.
|
|
444
|
-
return !(this.
|
|
445
|
+
this.m9_1 = 1;
|
|
446
|
+
return !(this.g31_1 == null) || this.f31_1.f1f();
|
|
445
447
|
} else if (tmp === 1) {
|
|
446
|
-
throw this.
|
|
448
|
+
throw this.o9_1;
|
|
447
449
|
}
|
|
448
450
|
} catch ($p) {
|
|
449
451
|
var e = $p;
|
|
@@ -451,38 +453,38 @@
|
|
|
451
453
|
}
|
|
452
454
|
while (true);
|
|
453
455
|
};
|
|
454
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
455
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
456
|
-
i.
|
|
456
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).f2c = function (it, completion) {
|
|
457
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.f31_1, completion);
|
|
458
|
+
i.g31_1 = it;
|
|
457
459
|
return i;
|
|
458
460
|
};
|
|
459
461
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
460
462
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
461
463
|
var l = function (it, $completion) {
|
|
462
|
-
return i.
|
|
464
|
+
return i.f2d(it, $completion);
|
|
463
465
|
};
|
|
464
466
|
l.$arity = 1;
|
|
465
467
|
return l;
|
|
466
468
|
}
|
|
467
469
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
468
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
469
|
-
this.
|
|
470
|
-
this.
|
|
471
|
-
this.
|
|
472
|
-
this.
|
|
473
|
-
this.
|
|
471
|
+
this.p31_1 = _this__u8e3s4;
|
|
472
|
+
this.q31_1 = contentType;
|
|
473
|
+
this.r31_1 = charset;
|
|
474
|
+
this.s31_1 = typeInfo;
|
|
475
|
+
this.t31_1 = value;
|
|
474
476
|
}
|
|
475
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
476
|
-
var suspendResult = this.
|
|
477
|
+
protoOf($serializeNullableCOROUTINE$0).t9 = function () {
|
|
478
|
+
var suspendResult = this.n9_1;
|
|
477
479
|
$sm: do
|
|
478
480
|
try {
|
|
479
|
-
var tmp = this.
|
|
481
|
+
var tmp = this.l9_1;
|
|
480
482
|
switch (tmp) {
|
|
481
483
|
case 0:
|
|
482
|
-
this.
|
|
483
|
-
this.
|
|
484
|
-
var
|
|
485
|
-
var tmp_0 = new _no_name_provided__qut3iv(
|
|
484
|
+
this.m9_1 = 2;
|
|
485
|
+
this.l9_1 = 1;
|
|
486
|
+
var this_0 = asFlow(this.p31_1.v31_1);
|
|
487
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.q31_1, this.r31_1, this.s31_1, this.t31_1);
|
|
486
488
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
487
489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
488
490
|
return suspendResult;
|
|
@@ -495,12 +497,12 @@
|
|
|
495
497
|
return fromExtension;
|
|
496
498
|
var tmp_1;
|
|
497
499
|
try {
|
|
498
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
500
|
+
tmp_1 = serializerForTypeInfo(this.p31_1.u31_1.l2e(), this.s31_1);
|
|
499
501
|
} catch ($p) {
|
|
500
502
|
var tmp_2;
|
|
501
503
|
if ($p instanceof SerializationException) {
|
|
502
504
|
var cause = $p;
|
|
503
|
-
tmp_2 = guessSerializer(this.
|
|
505
|
+
tmp_2 = guessSerializer(this.t31_1, this.p31_1.u31_1.l2e());
|
|
504
506
|
} else {
|
|
505
507
|
throw $p;
|
|
506
508
|
}
|
|
@@ -508,52 +510,52 @@
|
|
|
508
510
|
}
|
|
509
511
|
|
|
510
512
|
var serializer = tmp_1;
|
|
511
|
-
return serializeContent(this.
|
|
513
|
+
return serializeContent(this.p31_1, serializer, this.p31_1.u31_1, this.t31_1, this.q31_1, this.r31_1);
|
|
512
514
|
case 2:
|
|
513
|
-
throw this.
|
|
515
|
+
throw this.o9_1;
|
|
514
516
|
}
|
|
515
517
|
} catch ($p) {
|
|
516
518
|
var e = $p;
|
|
517
|
-
if (this.
|
|
519
|
+
if (this.m9_1 === 2) {
|
|
518
520
|
throw e;
|
|
519
521
|
} else {
|
|
520
|
-
this.
|
|
521
|
-
this.
|
|
522
|
+
this.l9_1 = this.m9_1;
|
|
523
|
+
this.o9_1 = e;
|
|
522
524
|
}
|
|
523
525
|
}
|
|
524
526
|
while (true);
|
|
525
527
|
};
|
|
526
528
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
527
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
528
|
-
this.
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
531
|
-
this.
|
|
530
|
+
this.e32_1 = _this__u8e3s4;
|
|
531
|
+
this.f32_1 = charset;
|
|
532
|
+
this.g32_1 = typeInfo;
|
|
533
|
+
this.h32_1 = content;
|
|
532
534
|
}
|
|
533
|
-
protoOf($deserializeCOROUTINE$1).
|
|
534
|
-
var suspendResult = this.
|
|
535
|
+
protoOf($deserializeCOROUTINE$1).t9 = function () {
|
|
536
|
+
var suspendResult = this.n9_1;
|
|
535
537
|
$sm: do
|
|
536
538
|
try {
|
|
537
|
-
var tmp = this.
|
|
539
|
+
var tmp = this.l9_1;
|
|
538
540
|
switch (tmp) {
|
|
539
541
|
case 0:
|
|
540
|
-
this.
|
|
541
|
-
this.
|
|
542
|
-
var
|
|
543
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(
|
|
544
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
542
|
+
this.m9_1 = 5;
|
|
543
|
+
this.l9_1 = 1;
|
|
544
|
+
var this_0 = asFlow(this.e32_1.v31_1);
|
|
545
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.f32_1, this.g32_1, this.h32_1);
|
|
546
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.h32_1, null), this);
|
|
545
547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
546
548
|
return suspendResult;
|
|
547
549
|
}
|
|
548
550
|
|
|
549
551
|
continue $sm;
|
|
550
552
|
case 1:
|
|
551
|
-
this.
|
|
552
|
-
if (!(this.
|
|
553
|
-
return this.
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
-
suspendResult = this.
|
|
553
|
+
this.i32_1 = suspendResult;
|
|
554
|
+
if (!(this.i32_1 == null) || this.h32_1.f1f())
|
|
555
|
+
return this.i32_1;
|
|
556
|
+
this.j32_1 = serializerForTypeInfo(this.e32_1.u31_1.l2e(), this.g32_1);
|
|
557
|
+
this.l9_1 = 2;
|
|
558
|
+
suspendResult = this.h32_1.k1k(VOID, this);
|
|
557
559
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
558
560
|
return suspendResult;
|
|
559
561
|
}
|
|
@@ -561,163 +563,149 @@
|
|
|
561
563
|
continue $sm;
|
|
562
564
|
case 2:
|
|
563
565
|
var contentPacket = suspendResult;
|
|
564
|
-
this.
|
|
565
|
-
var tmp0_subject = this.
|
|
566
|
+
this.m9_1 = 3;
|
|
567
|
+
var tmp0_subject = this.e32_1.u31_1;
|
|
566
568
|
var tmp_1;
|
|
567
569
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
568
|
-
tmp_1 = this.
|
|
570
|
+
tmp_1 = this.e32_1.u31_1.k2e(this.j32_1, readText(contentPacket, this.f32_1));
|
|
569
571
|
} else {
|
|
570
572
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
571
|
-
tmp_1 = this.
|
|
573
|
+
tmp_1 = this.e32_1.u31_1.n2e(this.j32_1, readBytes(contentPacket));
|
|
572
574
|
} else {
|
|
573
575
|
discard(contentPacket);
|
|
574
|
-
var
|
|
575
|
-
throw IllegalStateException_init_$Create$(toString(
|
|
576
|
+
var message = 'Unsupported format ' + toString(this.e32_1.u31_1);
|
|
577
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
576
578
|
}
|
|
577
579
|
}
|
|
578
580
|
|
|
579
581
|
return tmp_1;
|
|
580
582
|
case 3:
|
|
581
|
-
this.
|
|
582
|
-
var tmp_2 = this.
|
|
583
|
+
this.m9_1 = 5;
|
|
584
|
+
var tmp_2 = this.o9_1;
|
|
583
585
|
if (tmp_2 instanceof Error) {
|
|
584
|
-
var cause = this.
|
|
586
|
+
var cause = this.o9_1;
|
|
585
587
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
586
588
|
} else {
|
|
587
|
-
throw this.
|
|
589
|
+
throw this.o9_1;
|
|
588
590
|
}
|
|
589
591
|
|
|
590
|
-
break;
|
|
591
592
|
case 4:
|
|
592
|
-
this.
|
|
593
|
-
return
|
|
593
|
+
this.m9_1 = 5;
|
|
594
|
+
return Unit_instance;
|
|
594
595
|
case 5:
|
|
595
|
-
throw this.
|
|
596
|
+
throw this.o9_1;
|
|
596
597
|
}
|
|
597
598
|
} catch ($p) {
|
|
598
599
|
var e = $p;
|
|
599
|
-
if (this.
|
|
600
|
+
if (this.m9_1 === 5) {
|
|
600
601
|
throw e;
|
|
601
602
|
} else {
|
|
602
|
-
this.
|
|
603
|
-
this.
|
|
603
|
+
this.l9_1 = this.m9_1;
|
|
604
|
+
this.o9_1 = e;
|
|
604
605
|
}
|
|
605
606
|
}
|
|
606
607
|
while (true);
|
|
607
608
|
};
|
|
608
609
|
function KotlinxSerializationConverter(format) {
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
610
|
+
this.u31_1 = format;
|
|
611
|
+
this.v31_1 = extensions(this.u31_1);
|
|
611
612
|
// Inline function 'kotlin.require' call
|
|
612
613
|
var tmp;
|
|
613
|
-
var tmp_0 = this.
|
|
614
|
+
var tmp_0 = this.u31_1;
|
|
614
615
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
615
616
|
tmp = true;
|
|
616
617
|
} else {
|
|
617
|
-
var tmp_1 = this.
|
|
618
|
+
var tmp_1 = this.u31_1;
|
|
618
619
|
tmp = isInterface(tmp_1, StringFormat);
|
|
619
620
|
}
|
|
620
|
-
var tmp0_require = tmp;
|
|
621
621
|
// Inline function 'kotlin.contracts.contract' call
|
|
622
|
-
if (!
|
|
623
|
-
var tmp$ret$0;
|
|
622
|
+
if (!tmp) {
|
|
624
623
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
625
|
-
|
|
626
|
-
var message = tmp$ret$0;
|
|
624
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.u31_1) + ' is not supported.';
|
|
627
625
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
628
626
|
}
|
|
629
627
|
}
|
|
630
|
-
protoOf(KotlinxSerializationConverter).
|
|
631
|
-
|
|
632
|
-
return tmp0;
|
|
628
|
+
protoOf(KotlinxSerializationConverter).k32 = function (contentType, charset, typeInfo, value, $completion) {
|
|
629
|
+
return this.l32(contentType, charset, typeInfo, value, $completion);
|
|
633
630
|
};
|
|
634
|
-
protoOf(KotlinxSerializationConverter).
|
|
635
|
-
return this.
|
|
631
|
+
protoOf(KotlinxSerializationConverter).x2a = function (contentType, charset, typeInfo, value, $completion) {
|
|
632
|
+
return this.k32(contentType, charset, typeInfo, value, $completion);
|
|
636
633
|
};
|
|
637
|
-
protoOf(KotlinxSerializationConverter).
|
|
634
|
+
protoOf(KotlinxSerializationConverter).l32 = function (contentType, charset, typeInfo, value, $completion) {
|
|
638
635
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
639
|
-
tmp.
|
|
640
|
-
tmp.
|
|
641
|
-
return tmp.
|
|
636
|
+
tmp.n9_1 = Unit_instance;
|
|
637
|
+
tmp.o9_1 = null;
|
|
638
|
+
return tmp.t9();
|
|
642
639
|
};
|
|
643
|
-
protoOf(KotlinxSerializationConverter).
|
|
644
|
-
return this.
|
|
640
|
+
protoOf(KotlinxSerializationConverter).y2a = function (contentType, charset, typeInfo, value, $completion) {
|
|
641
|
+
return this.l32(contentType, charset, typeInfo, value, $completion);
|
|
645
642
|
};
|
|
646
|
-
protoOf(KotlinxSerializationConverter).
|
|
643
|
+
protoOf(KotlinxSerializationConverter).z2a = function (charset, typeInfo, content, $completion) {
|
|
647
644
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
648
|
-
tmp.
|
|
649
|
-
tmp.
|
|
650
|
-
return tmp.
|
|
645
|
+
tmp.n9_1 = Unit_instance;
|
|
646
|
+
tmp.o9_1 = null;
|
|
647
|
+
return tmp.t9();
|
|
651
648
|
};
|
|
652
649
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
653
650
|
var module_0 = _this__u8e3s4;
|
|
654
|
-
var tmp0_safe_receiver = typeInfo.
|
|
651
|
+
var tmp0_safe_receiver = typeInfo.f1y_1;
|
|
655
652
|
var tmp;
|
|
656
653
|
if (tmp0_safe_receiver == null) {
|
|
657
654
|
tmp = null;
|
|
658
655
|
} else {
|
|
659
|
-
var tmp$ret$1;
|
|
660
656
|
// Inline function 'kotlin.let' call
|
|
661
657
|
// Inline function 'kotlin.contracts.contract' call
|
|
662
|
-
var tmp$ret$0;
|
|
663
658
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
664
659
|
var tmp_0;
|
|
665
|
-
if (tmp0_safe_receiver.
|
|
660
|
+
if (tmp0_safe_receiver.hb().q()) {
|
|
666
661
|
tmp_0 = null;
|
|
667
662
|
} else {
|
|
668
663
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
669
664
|
}
|
|
670
|
-
tmp
|
|
671
|
-
tmp$ret$1 = tmp$ret$0;
|
|
672
|
-
tmp = tmp$ret$1;
|
|
665
|
+
tmp = tmp_0;
|
|
673
666
|
}
|
|
674
667
|
var tmp2_elvis_lhs = tmp;
|
|
675
668
|
var tmp_1;
|
|
676
669
|
if (tmp2_elvis_lhs == null) {
|
|
677
|
-
var tmp1_safe_receiver = module_0.
|
|
670
|
+
var tmp1_safe_receiver = module_0.q2e(typeInfo.d1y_1);
|
|
678
671
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
679
672
|
} else {
|
|
680
673
|
tmp_1 = tmp2_elvis_lhs;
|
|
681
674
|
}
|
|
682
675
|
var tmp3_elvis_lhs = tmp_1;
|
|
683
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
676
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.d1y_1), typeInfo) : tmp3_elvis_lhs;
|
|
684
677
|
}
|
|
685
678
|
function guessSerializer(value, module_0) {
|
|
686
|
-
var tmp0_subject = value;
|
|
687
679
|
var tmp;
|
|
688
|
-
if (
|
|
689
|
-
tmp = get_nullable(serializer_0(
|
|
680
|
+
if (value == null) {
|
|
681
|
+
tmp = get_nullable(serializer_0(StringCompanionObject_instance));
|
|
690
682
|
} else {
|
|
691
|
-
if (!(
|
|
683
|
+
if (!(value == null) ? isInterface(value, KtList) : false) {
|
|
692
684
|
tmp = ListSerializer(elementSerializer(value, module_0));
|
|
693
685
|
} else {
|
|
694
|
-
if (!(
|
|
686
|
+
if (!(value == null) ? isArray(value) : false) {
|
|
695
687
|
var tmp1_safe_receiver = firstOrNull_0(value);
|
|
696
688
|
var tmp_0;
|
|
697
689
|
if (tmp1_safe_receiver == null) {
|
|
698
690
|
tmp_0 = null;
|
|
699
691
|
} else {
|
|
700
|
-
var tmp$ret$1;
|
|
701
692
|
// Inline function 'kotlin.let' call
|
|
702
693
|
// Inline function 'kotlin.contracts.contract' call
|
|
703
|
-
var tmp$ret$0;
|
|
704
694
|
// Inline function 'io.ktor.serialization.kotlinx.guessSerializer.<anonymous>' call
|
|
705
|
-
|
|
706
|
-
tmp$ret$1 = tmp$ret$0;
|
|
707
|
-
tmp_0 = tmp$ret$1;
|
|
695
|
+
tmp_0 = guessSerializer(tmp1_safe_receiver, module_0);
|
|
708
696
|
}
|
|
709
697
|
var tmp2_elvis_lhs = tmp_0;
|
|
710
|
-
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(
|
|
698
|
+
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(StringCompanionObject_instance)) : tmp2_elvis_lhs;
|
|
711
699
|
} else {
|
|
712
|
-
if (!(
|
|
700
|
+
if (!(value == null) ? isInterface(value, KtSet) : false) {
|
|
713
701
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
714
702
|
} else {
|
|
715
|
-
if (!(
|
|
716
|
-
var keySerializer = elementSerializer(value.
|
|
717
|
-
var valueSerializer = elementSerializer(value.
|
|
703
|
+
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
704
|
+
var keySerializer = elementSerializer(value.m2(), module_0);
|
|
705
|
+
var valueSerializer = elementSerializer(value.n2(), module_0);
|
|
718
706
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
719
707
|
} else {
|
|
720
|
-
var tmp3_elvis_lhs = module_0.
|
|
708
|
+
var tmp3_elvis_lhs = module_0.q2e(getKClassFromExpression(value));
|
|
721
709
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
722
710
|
}
|
|
723
711
|
}
|
|
@@ -729,8 +717,8 @@
|
|
|
729
717
|
}
|
|
730
718
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
731
719
|
var tmp;
|
|
732
|
-
var tmp0_safe_receiver = typeInfo.
|
|
733
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
720
|
+
var tmp0_safe_receiver = typeInfo.f1y_1;
|
|
721
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ib()) === true) {
|
|
734
722
|
tmp = get_nullable(_this__u8e3s4);
|
|
735
723
|
} else {
|
|
736
724
|
tmp = _this__u8e3s4;
|
|
@@ -738,75 +726,58 @@
|
|
|
738
726
|
return tmp;
|
|
739
727
|
}
|
|
740
728
|
function elementSerializer(_this__u8e3s4, module_0) {
|
|
741
|
-
var tmp$ret$4;
|
|
742
729
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
743
|
-
var tmp$ret$2;
|
|
744
730
|
// Inline function 'kotlin.collections.map' call
|
|
745
|
-
var
|
|
746
|
-
var tmp$ret$1;
|
|
731
|
+
var this_0 = filterNotNull(_this__u8e3s4);
|
|
747
732
|
// Inline function 'kotlin.collections.mapTo' call
|
|
748
|
-
var
|
|
749
|
-
var tmp0_iterator =
|
|
750
|
-
while (tmp0_iterator.
|
|
751
|
-
var item = tmp0_iterator.
|
|
752
|
-
var tmp$ret$0;
|
|
733
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
734
|
+
var tmp0_iterator = this_0.k();
|
|
735
|
+
while (tmp0_iterator.l()) {
|
|
736
|
+
var item = tmp0_iterator.m();
|
|
753
737
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
754
|
-
tmp$ret$0 = guessSerializer(item, module_0);
|
|
755
|
-
|
|
738
|
+
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
739
|
+
destination.e(tmp$ret$0);
|
|
756
740
|
}
|
|
757
|
-
tmp$ret$1 = tmp0_mapTo;
|
|
758
|
-
tmp$ret$2 = tmp$ret$1;
|
|
759
|
-
var tmp2_distinctBy = tmp$ret$2;
|
|
760
741
|
var set = HashSet_init_$Create$();
|
|
761
742
|
var list = ArrayList_init_$Create$();
|
|
762
|
-
var tmp0_iterator_0 =
|
|
763
|
-
while (tmp0_iterator_0.
|
|
764
|
-
var e = tmp0_iterator_0.
|
|
765
|
-
var tmp$ret$3;
|
|
743
|
+
var tmp0_iterator_0 = destination.k();
|
|
744
|
+
while (tmp0_iterator_0.l()) {
|
|
745
|
+
var e = tmp0_iterator_0.m();
|
|
766
746
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
list.a(e);
|
|
747
|
+
var key = e.g2d().h2e();
|
|
748
|
+
if (set.e(key)) {
|
|
749
|
+
list.e(e);
|
|
771
750
|
}
|
|
772
751
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
if (serializers.i() > 1) {
|
|
752
|
+
var serializers = list;
|
|
753
|
+
if (serializers.n() > 1) {
|
|
776
754
|
// Inline function 'kotlin.error' call
|
|
777
|
-
var tmp$ret$7;
|
|
778
755
|
// Inline function 'kotlin.collections.map' call
|
|
779
|
-
var tmp$ret$6;
|
|
780
756
|
// Inline function 'kotlin.collections.mapTo' call
|
|
781
|
-
var
|
|
782
|
-
var tmp0_iterator_1 = serializers.
|
|
783
|
-
while (tmp0_iterator_1.
|
|
784
|
-
var item_0 = tmp0_iterator_1.
|
|
785
|
-
var tmp$ret$5;
|
|
757
|
+
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
758
|
+
var tmp0_iterator_1 = serializers.k();
|
|
759
|
+
while (tmp0_iterator_1.l()) {
|
|
760
|
+
var item_0 = tmp0_iterator_1.m();
|
|
786
761
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
787
|
-
tmp$ret$5 = item_0.
|
|
788
|
-
|
|
762
|
+
var tmp$ret$5 = item_0.g2d().h2e();
|
|
763
|
+
destination_0.e(tmp$ret$5);
|
|
789
764
|
}
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
var tmp4_error = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + tmp$ret$7);
|
|
793
|
-
throw IllegalStateException_init_$Create$(toString(tmp4_error));
|
|
765
|
+
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
766
|
+
throw IllegalStateException_init_$Create$(toString(message));
|
|
794
767
|
}
|
|
795
768
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
796
|
-
var selected = tmp0_elvis_lhs == null ? serializer_0(
|
|
797
|
-
if (selected.
|
|
769
|
+
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
770
|
+
if (selected.g2d().u2e()) {
|
|
798
771
|
return selected;
|
|
799
772
|
}
|
|
800
|
-
if (isInterface(selected, KSerializer))
|
|
801
|
-
selected;
|
|
802
|
-
else
|
|
773
|
+
if (!isInterface(selected, KSerializer))
|
|
803
774
|
THROW_CCE();
|
|
804
775
|
var tmp$ret$8;
|
|
805
776
|
$l$block_0: {
|
|
806
777
|
// Inline function 'kotlin.collections.any' call
|
|
807
778
|
var tmp;
|
|
808
779
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
809
|
-
tmp = _this__u8e3s4.
|
|
780
|
+
tmp = _this__u8e3s4.q();
|
|
810
781
|
} else {
|
|
811
782
|
tmp = false;
|
|
812
783
|
}
|
|
@@ -814,13 +785,11 @@
|
|
|
814
785
|
tmp$ret$8 = false;
|
|
815
786
|
break $l$block_0;
|
|
816
787
|
}
|
|
817
|
-
var tmp0_iterator_2 = _this__u8e3s4.
|
|
818
|
-
while (tmp0_iterator_2.
|
|
819
|
-
var element = tmp0_iterator_2.
|
|
820
|
-
var tmp$ret$9;
|
|
788
|
+
var tmp0_iterator_2 = _this__u8e3s4.k();
|
|
789
|
+
while (tmp0_iterator_2.l()) {
|
|
790
|
+
var element = tmp0_iterator_2.m();
|
|
821
791
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
822
|
-
|
|
823
|
-
if (tmp$ret$9) {
|
|
792
|
+
if (element == null) {
|
|
824
793
|
tmp$ret$8 = true;
|
|
825
794
|
break $l$block_0;
|
|
826
795
|
}
|
|
@@ -840,6 +809,6 @@
|
|
|
840
809
|
_.$_$.a = serialization;
|
|
841
810
|
//endregion
|
|
842
811
|
return _;
|
|
843
|
-
}(module.exports, require('./kotlin-kotlin-stdlib
|
|
812
|
+
}(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./ktor-ktor-http.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-serialization.js')));
|
|
844
813
|
|
|
845
814
|
//# sourceMappingURL=ktor-ktor-serialization-kotlinx.js.map
|