mrs-toolbox-cli 0.0.119 → 0.0.128
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 +32 -33
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +2 -626
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/clikt-clikt.js +2063 -2080
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +563 -455
- package/colormath-root-colormath.js.map +1 -1
- package/com.mrs.platform.configuration.dto.js +8144 -10110
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9747 -9277
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +62 -62
- package/kotlin-logging-js-ir.js.map +1 -1
- package/kotlin-node.js +12 -2
- package/kotlin-node.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2509 -2492
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +2346 -2152
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +3151 -2091
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +261 -260
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +2777 -2786
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +17 -18
- package/ktor-ktor-events.js.map +1 -1
- package/ktor-ktor-http.js +921 -923
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1738 -1760
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/ktor-ktor-serialization-kotlinx.js +303 -305
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +135 -134
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +641 -637
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +73 -73
- package/ktor-ktor-websockets.js.map +1 -1
- package/markdown.js +2346 -2358
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +2536 -2631
- package/mordant-mordant.js.map +1 -1
- package/mrs-toolbox-cli.d.ts +257 -856
- package/mrs-toolbox-cli.js +125 -209
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +2 -2
- package/static/demo.test.ts.txt +1 -1
- package/static/mrscconfig.json +0 -1
- package/toolbox.js +11653 -8922
- package/toolbox.js.map +1 -1
|
@@ -1,25 +1,26 @@
|
|
|
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
|
|
4
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.i5;
|
|
6
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ja;
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.kc;
|
|
8
|
+
var THROW_CCE = kotlin_kotlin.$_$.tg;
|
|
9
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v9;
|
|
10
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.ob;
|
|
7
11
|
var VOID = kotlin_kotlin.$_$.g;
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var CoroutineImpl = kotlin_kotlin.$_$.ga;
|
|
11
|
-
var THROW_CCE = kotlin_kotlin.$_$.pg;
|
|
12
|
-
var isInterface = kotlin_kotlin.$_$.qb;
|
|
13
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s9;
|
|
14
|
-
var classMeta = kotlin_kotlin.$_$.wa;
|
|
15
|
-
var toString = kotlin_kotlin.$_$.jc;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.lb;
|
|
13
|
+
var toString = kotlin_kotlin.$_$.pc;
|
|
16
14
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
17
15
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
16
|
+
var isInterface = kotlin_kotlin.$_$.yb;
|
|
18
17
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.i;
|
|
19
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.$_$.n;
|
|
23
|
+
var initMetadataForClass = kotlin_kotlin.$_$.jb;
|
|
23
24
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.o;
|
|
24
25
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
25
26
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
@@ -30,113 +31,110 @@
|
|
|
30
31
|
var JsonConvertException = kotlin_io_ktor_ktor_serialization.$_$.e;
|
|
31
32
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
32
33
|
var ContentConverter = kotlin_io_ktor_ktor_serialization.$_$.d;
|
|
33
|
-
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
34
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
34
|
+
var serializerOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s2;
|
|
35
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t2;
|
|
35
36
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
36
37
|
var MapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
37
|
-
var
|
|
38
|
+
var KtMap = kotlin_kotlin.$_$.s5;
|
|
38
39
|
var SetSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
39
|
-
var
|
|
40
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
41
|
-
var StringCompanionObject_instance = kotlin_kotlin.$_$.
|
|
40
|
+
var KtSet = kotlin_kotlin.$_$.w5;
|
|
41
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.a7;
|
|
42
|
+
var StringCompanionObject_instance = kotlin_kotlin.$_$.w4;
|
|
42
43
|
var serializer_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
|
|
43
44
|
var ListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
|
|
44
|
-
var isArray = kotlin_kotlin.$_$.
|
|
45
|
-
var
|
|
45
|
+
var isArray = kotlin_kotlin.$_$.qb;
|
|
46
|
+
var KtList = kotlin_kotlin.$_$.p5;
|
|
46
47
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
47
|
-
var filterNotNull = kotlin_kotlin.$_$.
|
|
48
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
49
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
51
|
-
var singleOrNull = kotlin_kotlin.$_$.
|
|
52
|
-
var Collection = kotlin_kotlin.$_$.
|
|
53
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
48
|
+
var filterNotNull = kotlin_kotlin.$_$.y6;
|
|
49
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.e6;
|
|
50
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
|
|
51
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
52
|
+
var singleOrNull = kotlin_kotlin.$_$.t8;
|
|
53
|
+
var Collection = kotlin_kotlin.$_$.k5;
|
|
54
|
+
var emptyList = kotlin_kotlin.$_$.v6;
|
|
54
55
|
//endregion
|
|
55
56
|
//region block: pre-declaration
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
setMetadataFor(KotlinxSerializationConverter, 'KotlinxSerializationConverter', classMeta, VOID, [ContentConverter], VOID, 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]);
|
|
70
70
|
//endregion
|
|
71
|
-
function KotlinxSerializationExtension() {
|
|
72
|
-
}
|
|
73
71
|
function extensions(format) {
|
|
74
72
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
75
73
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
76
74
|
var this_0 = get_providers();
|
|
77
75
|
var destination = ArrayList_init_$Create$();
|
|
78
76
|
// Inline function 'kotlin.collections.forEach' call
|
|
79
|
-
var tmp0_iterator = this_0.
|
|
80
|
-
while (tmp0_iterator.
|
|
81
|
-
var element = tmp0_iterator.
|
|
77
|
+
var tmp0_iterator = this_0.k();
|
|
78
|
+
while (tmp0_iterator.l()) {
|
|
79
|
+
var element = tmp0_iterator.m();
|
|
82
80
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
83
81
|
// Inline function 'io.ktor.serialization.kotlinx.extensions.<anonymous>' call
|
|
84
|
-
var tmp0_safe_receiver = element.
|
|
82
|
+
var tmp0_safe_receiver = element.v2v(format);
|
|
85
83
|
if (tmp0_safe_receiver == null)
|
|
86
84
|
null;
|
|
87
85
|
else {
|
|
88
86
|
// Inline function 'kotlin.let' call
|
|
89
87
|
// Inline function 'kotlin.contracts.contract' call
|
|
90
|
-
destination.
|
|
88
|
+
destination.e(tmp0_safe_receiver);
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
91
|
return destination;
|
|
94
92
|
}
|
|
95
93
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
96
|
-
_this__u8e3s4.
|
|
94
|
+
_this__u8e3s4.z28(contentType, new KotlinxSerializationConverter(format));
|
|
97
95
|
}
|
|
98
96
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
103
|
-
this.
|
|
97
|
+
this.e2w_1 = $$this$unsafeFlow;
|
|
98
|
+
this.f2w_1 = $contentType;
|
|
99
|
+
this.g2w_1 = $charset;
|
|
100
|
+
this.h2w_1 = $typeInfo;
|
|
101
|
+
this.i2w_1 = $value;
|
|
104
102
|
CoroutineImpl.call(this, resultContinuation);
|
|
105
103
|
}
|
|
106
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
107
|
-
var tmp = this.
|
|
108
|
-
tmp.
|
|
109
|
-
tmp.
|
|
110
|
-
return tmp.
|
|
104
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).h2a = function (value, $completion) {
|
|
105
|
+
var tmp = this.i2a(value, $completion);
|
|
106
|
+
tmp.l9_1 = Unit_instance;
|
|
107
|
+
tmp.m9_1 = null;
|
|
108
|
+
return tmp.r9();
|
|
111
109
|
};
|
|
112
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
113
|
-
return this.
|
|
110
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).ka = function (p1, $completion) {
|
|
111
|
+
return this.h2a((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
114
112
|
};
|
|
115
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
116
|
-
var suspendResult = this.
|
|
113
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).r9 = function () {
|
|
114
|
+
var suspendResult = this.l9_1;
|
|
117
115
|
$sm: do
|
|
118
116
|
try {
|
|
119
|
-
var tmp = this.
|
|
117
|
+
var tmp = this.j9_1;
|
|
120
118
|
switch (tmp) {
|
|
121
119
|
case 0:
|
|
122
|
-
this.
|
|
120
|
+
this.k9_1 = 3;
|
|
123
121
|
var tmp_0 = this;
|
|
124
|
-
tmp_0.
|
|
122
|
+
tmp_0.k2w_1 = this.e2w_1;
|
|
125
123
|
var tmp_1 = this;
|
|
126
|
-
tmp_1.
|
|
124
|
+
tmp_1.l2w_1 = this.j2w_1;
|
|
127
125
|
var tmp_2 = this;
|
|
128
|
-
tmp_2.
|
|
129
|
-
this.
|
|
130
|
-
suspendResult = this.
|
|
126
|
+
tmp_2.m2w_1 = this.l2w_1;
|
|
127
|
+
this.j9_1 = 1;
|
|
128
|
+
suspendResult = this.m2w_1.o2w(this.f2w_1, this.g2w_1, this.h2w_1, this.i2w_1, this);
|
|
131
129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
132
130
|
return suspendResult;
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
continue $sm;
|
|
136
134
|
case 1:
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
139
|
-
suspendResult = this.
|
|
135
|
+
this.n2w_1 = suspendResult;
|
|
136
|
+
this.j9_1 = 2;
|
|
137
|
+
suspendResult = this.k2w_1.q14(this.n2w_1, this);
|
|
140
138
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
141
139
|
return suspendResult;
|
|
142
140
|
}
|
|
@@ -145,50 +143,50 @@
|
|
|
145
143
|
case 2:
|
|
146
144
|
return Unit_instance;
|
|
147
145
|
case 3:
|
|
148
|
-
throw this.
|
|
146
|
+
throw this.m9_1;
|
|
149
147
|
}
|
|
150
148
|
} catch ($p) {
|
|
151
149
|
var e = $p;
|
|
152
|
-
if (this.
|
|
150
|
+
if (this.k9_1 === 3) {
|
|
153
151
|
throw e;
|
|
154
152
|
} else {
|
|
155
|
-
this.
|
|
156
|
-
this.
|
|
153
|
+
this.j9_1 = this.k9_1;
|
|
154
|
+
this.m9_1 = e;
|
|
157
155
|
}
|
|
158
156
|
}
|
|
159
157
|
while (true);
|
|
160
158
|
};
|
|
161
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).
|
|
162
|
-
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.
|
|
163
|
-
i.
|
|
159
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$o$collect$slambda).i2a = function (value, completion) {
|
|
160
|
+
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda(this.e2w_1, this.f2w_1, this.g2w_1, this.h2w_1, this.i2w_1, completion);
|
|
161
|
+
i.j2w_1 = value;
|
|
164
162
|
return i;
|
|
165
163
|
};
|
|
166
164
|
function KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
167
165
|
var i = new KotlinxSerializationConverter$serializeNullable$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
168
166
|
var l = function (value, $completion) {
|
|
169
|
-
return i.
|
|
167
|
+
return i.h2a(value, $completion);
|
|
170
168
|
};
|
|
171
169
|
l.$arity = 1;
|
|
172
170
|
return l;
|
|
173
171
|
}
|
|
174
172
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
175
173
|
CoroutineImpl.call(this, resultContinuation);
|
|
176
|
-
this.
|
|
177
|
-
this.
|
|
174
|
+
this.x2w_1 = _this__u8e3s4;
|
|
175
|
+
this.y2w_1 = collector;
|
|
178
176
|
}
|
|
179
|
-
protoOf($collectCOROUTINE$2).
|
|
180
|
-
var suspendResult = this.
|
|
177
|
+
protoOf($collectCOROUTINE$2).r9 = function () {
|
|
178
|
+
var suspendResult = this.l9_1;
|
|
181
179
|
$sm: do
|
|
182
180
|
try {
|
|
183
|
-
var tmp = this.
|
|
181
|
+
var tmp = this.j9_1;
|
|
184
182
|
switch (tmp) {
|
|
185
183
|
case 0:
|
|
186
|
-
this.
|
|
184
|
+
this.k9_1 = 2;
|
|
187
185
|
var tmp_0 = this;
|
|
188
|
-
tmp_0.
|
|
189
|
-
this.
|
|
190
|
-
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.
|
|
191
|
-
suspendResult = this.
|
|
186
|
+
tmp_0.z2w_1 = this.y2w_1;
|
|
187
|
+
this.j9_1 = 1;
|
|
188
|
+
var tmp_1 = KotlinxSerializationConverter$serializeNullable$o$collect$slambda_0(this.z2w_1, this.x2w_1.b2x_1, this.x2w_1.c2x_1, this.x2w_1.d2x_1, this.x2w_1.e2x_1, null);
|
|
189
|
+
suspendResult = this.x2w_1.a2x_1.z13(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
192
190
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
193
191
|
return suspendResult;
|
|
194
192
|
}
|
|
@@ -197,60 +195,60 @@
|
|
|
197
195
|
case 1:
|
|
198
196
|
return Unit_instance;
|
|
199
197
|
case 2:
|
|
200
|
-
throw this.
|
|
198
|
+
throw this.m9_1;
|
|
201
199
|
}
|
|
202
200
|
} catch ($p) {
|
|
203
201
|
var e = $p;
|
|
204
|
-
if (this.
|
|
202
|
+
if (this.k9_1 === 2) {
|
|
205
203
|
throw e;
|
|
206
204
|
} else {
|
|
207
|
-
this.
|
|
208
|
-
this.
|
|
205
|
+
this.j9_1 = this.k9_1;
|
|
206
|
+
this.m9_1 = e;
|
|
209
207
|
}
|
|
210
208
|
}
|
|
211
209
|
while (true);
|
|
212
210
|
};
|
|
213
211
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
214
|
-
this.
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
212
|
+
this.n2x_1 = $$this$unsafeFlow;
|
|
213
|
+
this.o2x_1 = $charset;
|
|
214
|
+
this.p2x_1 = $typeInfo;
|
|
215
|
+
this.q2x_1 = $content;
|
|
218
216
|
CoroutineImpl.call(this, resultContinuation);
|
|
219
217
|
}
|
|
220
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
221
|
-
var tmp = this.
|
|
222
|
-
tmp.
|
|
223
|
-
tmp.
|
|
224
|
-
return tmp.
|
|
218
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).h2a = function (value, $completion) {
|
|
219
|
+
var tmp = this.i2a(value, $completion);
|
|
220
|
+
tmp.l9_1 = Unit_instance;
|
|
221
|
+
tmp.m9_1 = null;
|
|
222
|
+
return tmp.r9();
|
|
225
223
|
};
|
|
226
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
227
|
-
return this.
|
|
224
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).ka = function (p1, $completion) {
|
|
225
|
+
return this.h2a((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
228
226
|
};
|
|
229
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
230
|
-
var suspendResult = this.
|
|
227
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r9 = function () {
|
|
228
|
+
var suspendResult = this.l9_1;
|
|
231
229
|
$sm: do
|
|
232
230
|
try {
|
|
233
|
-
var tmp = this.
|
|
231
|
+
var tmp = this.j9_1;
|
|
234
232
|
switch (tmp) {
|
|
235
233
|
case 0:
|
|
236
|
-
this.
|
|
234
|
+
this.k9_1 = 3;
|
|
237
235
|
var tmp_0 = this;
|
|
238
|
-
tmp_0.
|
|
236
|
+
tmp_0.s2x_1 = this.n2x_1;
|
|
239
237
|
var tmp_1 = this;
|
|
240
|
-
tmp_1.
|
|
238
|
+
tmp_1.t2x_1 = this.r2x_1;
|
|
241
239
|
var tmp_2 = this;
|
|
242
|
-
tmp_2.
|
|
243
|
-
this.
|
|
244
|
-
suspendResult = this.
|
|
240
|
+
tmp_2.u2x_1 = this.t2x_1;
|
|
241
|
+
this.j9_1 = 1;
|
|
242
|
+
suspendResult = this.u2x_1.c29(this.o2x_1, this.p2x_1, this.q2x_1, this);
|
|
245
243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
244
|
return suspendResult;
|
|
247
245
|
}
|
|
248
246
|
|
|
249
247
|
continue $sm;
|
|
250
248
|
case 1:
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
253
|
-
suspendResult = this.
|
|
249
|
+
this.v2x_1 = suspendResult;
|
|
250
|
+
this.j9_1 = 2;
|
|
251
|
+
suspendResult = this.s2x_1.q14(this.v2x_1, this);
|
|
254
252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
255
253
|
return suspendResult;
|
|
256
254
|
}
|
|
@@ -259,50 +257,50 @@
|
|
|
259
257
|
case 2:
|
|
260
258
|
return Unit_instance;
|
|
261
259
|
case 3:
|
|
262
|
-
throw this.
|
|
260
|
+
throw this.m9_1;
|
|
263
261
|
}
|
|
264
262
|
} catch ($p) {
|
|
265
263
|
var e = $p;
|
|
266
|
-
if (this.
|
|
264
|
+
if (this.k9_1 === 3) {
|
|
267
265
|
throw e;
|
|
268
266
|
} else {
|
|
269
|
-
this.
|
|
270
|
-
this.
|
|
267
|
+
this.j9_1 = this.k9_1;
|
|
268
|
+
this.m9_1 = e;
|
|
271
269
|
}
|
|
272
270
|
}
|
|
273
271
|
while (true);
|
|
274
272
|
};
|
|
275
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).
|
|
276
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.
|
|
277
|
-
i.
|
|
273
|
+
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).i2a = function (value, completion) {
|
|
274
|
+
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.n2x_1, this.o2x_1, this.p2x_1, this.q2x_1, completion);
|
|
275
|
+
i.r2x_1 = value;
|
|
278
276
|
return i;
|
|
279
277
|
};
|
|
280
278
|
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
281
279
|
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
282
280
|
var l = function (value, $completion) {
|
|
283
|
-
return i.
|
|
281
|
+
return i.h2a(value, $completion);
|
|
284
282
|
};
|
|
285
283
|
l.$arity = 1;
|
|
286
284
|
return l;
|
|
287
285
|
}
|
|
288
286
|
function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
|
|
289
287
|
CoroutineImpl.call(this, resultContinuation);
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
288
|
+
this.e2y_1 = _this__u8e3s4;
|
|
289
|
+
this.f2y_1 = collector;
|
|
292
290
|
}
|
|
293
|
-
protoOf($collectCOROUTINE$3).
|
|
294
|
-
var suspendResult = this.
|
|
291
|
+
protoOf($collectCOROUTINE$3).r9 = function () {
|
|
292
|
+
var suspendResult = this.l9_1;
|
|
295
293
|
$sm: do
|
|
296
294
|
try {
|
|
297
|
-
var tmp = this.
|
|
295
|
+
var tmp = this.j9_1;
|
|
298
296
|
switch (tmp) {
|
|
299
297
|
case 0:
|
|
300
|
-
this.
|
|
298
|
+
this.k9_1 = 2;
|
|
301
299
|
var tmp_0 = this;
|
|
302
|
-
tmp_0.
|
|
303
|
-
this.
|
|
304
|
-
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.
|
|
305
|
-
suspendResult = this.
|
|
300
|
+
tmp_0.g2y_1 = this.f2y_1;
|
|
301
|
+
this.j9_1 = 1;
|
|
302
|
+
var tmp_1 = KotlinxSerializationConverter$deserialize$o$collect$slambda_0(this.g2y_1, this.e2y_1.i2y_1, this.e2y_1.j2y_1, this.e2y_1.k2y_1, null);
|
|
303
|
+
suspendResult = this.e2y_1.h2y_1.z13(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
306
304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
307
305
|
return suspendResult;
|
|
308
306
|
}
|
|
@@ -311,15 +309,15 @@
|
|
|
311
309
|
case 1:
|
|
312
310
|
return Unit_instance;
|
|
313
311
|
case 2:
|
|
314
|
-
throw this.
|
|
312
|
+
throw this.m9_1;
|
|
315
313
|
}
|
|
316
314
|
} catch ($p) {
|
|
317
315
|
var e = $p;
|
|
318
|
-
if (this.
|
|
316
|
+
if (this.k9_1 === 2) {
|
|
319
317
|
throw e;
|
|
320
318
|
} else {
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
319
|
+
this.j9_1 = this.k9_1;
|
|
320
|
+
this.m9_1 = e;
|
|
323
321
|
}
|
|
324
322
|
}
|
|
325
323
|
while (true);
|
|
@@ -327,69 +325,69 @@
|
|
|
327
325
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
328
326
|
var tmp;
|
|
329
327
|
if (isInterface(format, StringFormat)) {
|
|
330
|
-
var content = format.
|
|
328
|
+
var content = format.m2c(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
331
329
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
332
330
|
} else {
|
|
333
331
|
if (isInterface(format, BinaryFormat)) {
|
|
334
|
-
var content_0 = format.
|
|
332
|
+
var content_0 = format.p2c(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
335
333
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
336
334
|
} else {
|
|
337
|
-
var message = 'Unsupported format ' + format;
|
|
335
|
+
var message = 'Unsupported format ' + toString(format);
|
|
338
336
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
339
|
return tmp;
|
|
342
340
|
}
|
|
343
341
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
344
|
-
this.
|
|
342
|
+
this.l2y_1 = function_0;
|
|
345
343
|
}
|
|
346
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
347
|
-
return this.
|
|
344
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).q14 = function (value, $completion) {
|
|
345
|
+
return this.l2y_1(value, $completion);
|
|
348
346
|
};
|
|
349
347
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
350
|
-
this.
|
|
348
|
+
this.m2y_1 = function_0;
|
|
351
349
|
}
|
|
352
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).
|
|
353
|
-
return this.
|
|
350
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).q14 = function (value, $completion) {
|
|
351
|
+
return this.m2y_1(value, $completion);
|
|
354
352
|
};
|
|
355
353
|
function _no_name_provided__qut3iv($this, $contentType, $charset, $typeInfo, $value) {
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
354
|
+
this.a2x_1 = $this;
|
|
355
|
+
this.b2x_1 = $contentType;
|
|
356
|
+
this.c2x_1 = $charset;
|
|
357
|
+
this.d2x_1 = $typeInfo;
|
|
358
|
+
this.e2x_1 = $value;
|
|
361
359
|
}
|
|
362
|
-
protoOf(_no_name_provided__qut3iv).
|
|
360
|
+
protoOf(_no_name_provided__qut3iv).r14 = function (collector, $completion) {
|
|
363
361
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
364
|
-
tmp.
|
|
365
|
-
tmp.
|
|
366
|
-
return tmp.
|
|
362
|
+
tmp.l9_1 = Unit_instance;
|
|
363
|
+
tmp.m9_1 = null;
|
|
364
|
+
return tmp.r9();
|
|
367
365
|
};
|
|
368
|
-
protoOf(_no_name_provided__qut3iv).
|
|
369
|
-
return this.
|
|
366
|
+
protoOf(_no_name_provided__qut3iv).z13 = function (collector, $completion) {
|
|
367
|
+
return this.r14(collector, $completion);
|
|
370
368
|
};
|
|
371
369
|
function KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation) {
|
|
372
370
|
CoroutineImpl.call(this, resultContinuation);
|
|
373
371
|
}
|
|
374
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
375
|
-
var tmp = this.
|
|
376
|
-
tmp.
|
|
377
|
-
tmp.
|
|
378
|
-
return tmp.
|
|
372
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).w2y = function (it, $completion) {
|
|
373
|
+
var tmp = this.x2y(it, $completion);
|
|
374
|
+
tmp.l9_1 = Unit_instance;
|
|
375
|
+
tmp.m9_1 = null;
|
|
376
|
+
return tmp.r9();
|
|
379
377
|
};
|
|
380
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
381
|
-
return this.
|
|
378
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).ka = function (p1, $completion) {
|
|
379
|
+
return this.w2y((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
382
380
|
};
|
|
383
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
384
|
-
var suspendResult = this.
|
|
381
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).r9 = function () {
|
|
382
|
+
var suspendResult = this.l9_1;
|
|
385
383
|
$sm: do
|
|
386
384
|
try {
|
|
387
|
-
var tmp = this.
|
|
385
|
+
var tmp = this.j9_1;
|
|
388
386
|
if (tmp === 0) {
|
|
389
|
-
this.
|
|
390
|
-
return !(this.
|
|
387
|
+
this.k9_1 = 1;
|
|
388
|
+
return !(this.v2y_1 == null);
|
|
391
389
|
} else if (tmp === 1) {
|
|
392
|
-
throw this.
|
|
390
|
+
throw this.m9_1;
|
|
393
391
|
}
|
|
394
392
|
} catch ($p) {
|
|
395
393
|
var e = $p;
|
|
@@ -397,57 +395,57 @@
|
|
|
397
395
|
}
|
|
398
396
|
while (true);
|
|
399
397
|
};
|
|
400
|
-
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).
|
|
398
|
+
protoOf(KotlinxSerializationConverter$serializeNullable$slambda).x2y = function (it, completion) {
|
|
401
399
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(completion);
|
|
402
|
-
i.
|
|
400
|
+
i.v2y_1 = it;
|
|
403
401
|
return i;
|
|
404
402
|
};
|
|
405
403
|
function KotlinxSerializationConverter$serializeNullable$slambda_0(resultContinuation) {
|
|
406
404
|
var i = new KotlinxSerializationConverter$serializeNullable$slambda(resultContinuation);
|
|
407
405
|
var l = function (it, $completion) {
|
|
408
|
-
return i.
|
|
406
|
+
return i.w2y(it, $completion);
|
|
409
407
|
};
|
|
410
408
|
l.$arity = 1;
|
|
411
409
|
return l;
|
|
412
410
|
}
|
|
413
411
|
function _no_name_provided__qut3iv_0($this, $charset, $typeInfo, $content) {
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
412
|
+
this.h2y_1 = $this;
|
|
413
|
+
this.i2y_1 = $charset;
|
|
414
|
+
this.j2y_1 = $typeInfo;
|
|
415
|
+
this.k2y_1 = $content;
|
|
418
416
|
}
|
|
419
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
417
|
+
protoOf(_no_name_provided__qut3iv_0).r14 = function (collector, $completion) {
|
|
420
418
|
var tmp = new $collectCOROUTINE$3(this, collector, $completion);
|
|
421
|
-
tmp.
|
|
422
|
-
tmp.
|
|
423
|
-
return tmp.
|
|
419
|
+
tmp.l9_1 = Unit_instance;
|
|
420
|
+
tmp.m9_1 = null;
|
|
421
|
+
return tmp.r9();
|
|
424
422
|
};
|
|
425
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
426
|
-
return this.
|
|
423
|
+
protoOf(_no_name_provided__qut3iv_0).z13 = function (collector, $completion) {
|
|
424
|
+
return this.r14(collector, $completion);
|
|
427
425
|
};
|
|
428
426
|
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
429
|
-
this.
|
|
427
|
+
this.g2z_1 = $content;
|
|
430
428
|
CoroutineImpl.call(this, resultContinuation);
|
|
431
429
|
}
|
|
432
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
433
|
-
var tmp = this.
|
|
434
|
-
tmp.
|
|
435
|
-
tmp.
|
|
436
|
-
return tmp.
|
|
430
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).i2b = function (it, $completion) {
|
|
431
|
+
var tmp = this.i2a(it, $completion);
|
|
432
|
+
tmp.l9_1 = Unit_instance;
|
|
433
|
+
tmp.m9_1 = null;
|
|
434
|
+
return tmp.r9();
|
|
437
435
|
};
|
|
438
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
439
|
-
return this.
|
|
436
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).ka = function (p1, $completion) {
|
|
437
|
+
return this.i2b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
440
438
|
};
|
|
441
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
442
|
-
var suspendResult = this.
|
|
439
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).r9 = function () {
|
|
440
|
+
var suspendResult = this.l9_1;
|
|
443
441
|
$sm: do
|
|
444
442
|
try {
|
|
445
|
-
var tmp = this.
|
|
443
|
+
var tmp = this.j9_1;
|
|
446
444
|
if (tmp === 0) {
|
|
447
|
-
this.
|
|
448
|
-
return !(this.
|
|
445
|
+
this.k9_1 = 1;
|
|
446
|
+
return !(this.h2z_1 == null) || this.g2z_1.g1d();
|
|
449
447
|
} else if (tmp === 1) {
|
|
450
|
-
throw this.
|
|
448
|
+
throw this.m9_1;
|
|
451
449
|
}
|
|
452
450
|
} catch ($p) {
|
|
453
451
|
var e = $p;
|
|
@@ -455,38 +453,38 @@
|
|
|
455
453
|
}
|
|
456
454
|
while (true);
|
|
457
455
|
};
|
|
458
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).
|
|
459
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.
|
|
460
|
-
i.
|
|
456
|
+
protoOf(KotlinxSerializationConverter$deserialize$slambda).i2a = function (it, completion) {
|
|
457
|
+
var i = new KotlinxSerializationConverter$deserialize$slambda(this.g2z_1, completion);
|
|
458
|
+
i.h2z_1 = it;
|
|
461
459
|
return i;
|
|
462
460
|
};
|
|
463
461
|
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
464
462
|
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
465
463
|
var l = function (it, $completion) {
|
|
466
|
-
return i.
|
|
464
|
+
return i.i2b(it, $completion);
|
|
467
465
|
};
|
|
468
466
|
l.$arity = 1;
|
|
469
467
|
return l;
|
|
470
468
|
}
|
|
471
469
|
function $serializeNullableCOROUTINE$0(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
472
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
476
|
-
this.
|
|
477
|
-
this.
|
|
471
|
+
this.q2z_1 = _this__u8e3s4;
|
|
472
|
+
this.r2z_1 = contentType;
|
|
473
|
+
this.s2z_1 = charset;
|
|
474
|
+
this.t2z_1 = typeInfo;
|
|
475
|
+
this.u2z_1 = value;
|
|
478
476
|
}
|
|
479
|
-
protoOf($serializeNullableCOROUTINE$0).
|
|
480
|
-
var suspendResult = this.
|
|
477
|
+
protoOf($serializeNullableCOROUTINE$0).r9 = function () {
|
|
478
|
+
var suspendResult = this.l9_1;
|
|
481
479
|
$sm: do
|
|
482
480
|
try {
|
|
483
|
-
var tmp = this.
|
|
481
|
+
var tmp = this.j9_1;
|
|
484
482
|
switch (tmp) {
|
|
485
483
|
case 0:
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
var this_0 = asFlow(this.
|
|
489
|
-
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.
|
|
484
|
+
this.k9_1 = 2;
|
|
485
|
+
this.j9_1 = 1;
|
|
486
|
+
var this_0 = asFlow(this.q2z_1.w2z_1);
|
|
487
|
+
var tmp_0 = new _no_name_provided__qut3iv(this_0, this.r2z_1, this.s2z_1, this.t2z_1, this.u2z_1);
|
|
490
488
|
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$serializeNullable$slambda_0(null), this);
|
|
491
489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
492
490
|
return suspendResult;
|
|
@@ -499,12 +497,12 @@
|
|
|
499
497
|
return fromExtension;
|
|
500
498
|
var tmp_1;
|
|
501
499
|
try {
|
|
502
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
500
|
+
tmp_1 = serializerForTypeInfo(this.q2z_1.v2z_1.o2c(), this.t2z_1);
|
|
503
501
|
} catch ($p) {
|
|
504
502
|
var tmp_2;
|
|
505
503
|
if ($p instanceof SerializationException) {
|
|
506
504
|
var cause = $p;
|
|
507
|
-
tmp_2 = guessSerializer(this.
|
|
505
|
+
tmp_2 = guessSerializer(this.u2z_1, this.q2z_1.v2z_1.o2c());
|
|
508
506
|
} else {
|
|
509
507
|
throw $p;
|
|
510
508
|
}
|
|
@@ -512,52 +510,52 @@
|
|
|
512
510
|
}
|
|
513
511
|
|
|
514
512
|
var serializer = tmp_1;
|
|
515
|
-
return serializeContent(this.
|
|
513
|
+
return serializeContent(this.q2z_1, serializer, this.q2z_1.v2z_1, this.u2z_1, this.r2z_1, this.s2z_1);
|
|
516
514
|
case 2:
|
|
517
|
-
throw this.
|
|
515
|
+
throw this.m9_1;
|
|
518
516
|
}
|
|
519
517
|
} catch ($p) {
|
|
520
518
|
var e = $p;
|
|
521
|
-
if (this.
|
|
519
|
+
if (this.k9_1 === 2) {
|
|
522
520
|
throw e;
|
|
523
521
|
} else {
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
522
|
+
this.j9_1 = this.k9_1;
|
|
523
|
+
this.m9_1 = e;
|
|
526
524
|
}
|
|
527
525
|
}
|
|
528
526
|
while (true);
|
|
529
527
|
};
|
|
530
528
|
function $deserializeCOROUTINE$1(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
531
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
532
|
-
this.
|
|
533
|
-
this.
|
|
534
|
-
this.
|
|
535
|
-
this.
|
|
530
|
+
this.f30_1 = _this__u8e3s4;
|
|
531
|
+
this.g30_1 = charset;
|
|
532
|
+
this.h30_1 = typeInfo;
|
|
533
|
+
this.i30_1 = content;
|
|
536
534
|
}
|
|
537
|
-
protoOf($deserializeCOROUTINE$1).
|
|
538
|
-
var suspendResult = this.
|
|
535
|
+
protoOf($deserializeCOROUTINE$1).r9 = function () {
|
|
536
|
+
var suspendResult = this.l9_1;
|
|
539
537
|
$sm: do
|
|
540
538
|
try {
|
|
541
|
-
var tmp = this.
|
|
539
|
+
var tmp = this.j9_1;
|
|
542
540
|
switch (tmp) {
|
|
543
541
|
case 0:
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
546
|
-
var this_0 = asFlow(this.
|
|
547
|
-
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.
|
|
548
|
-
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.
|
|
542
|
+
this.k9_1 = 5;
|
|
543
|
+
this.j9_1 = 1;
|
|
544
|
+
var this_0 = asFlow(this.f30_1.w2z_1);
|
|
545
|
+
var tmp_0 = new _no_name_provided__qut3iv_0(this_0, this.g30_1, this.h30_1, this.i30_1);
|
|
546
|
+
suspendResult = firstOrNull(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.i30_1, null), this);
|
|
549
547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
550
548
|
return suspendResult;
|
|
551
549
|
}
|
|
552
550
|
|
|
553
551
|
continue $sm;
|
|
554
552
|
case 1:
|
|
555
|
-
this.
|
|
556
|
-
if (!(this.
|
|
557
|
-
return this.
|
|
558
|
-
this.
|
|
559
|
-
this.
|
|
560
|
-
suspendResult = this.
|
|
553
|
+
this.j30_1 = suspendResult;
|
|
554
|
+
if (!(this.j30_1 == null) || this.i30_1.g1d())
|
|
555
|
+
return this.j30_1;
|
|
556
|
+
this.k30_1 = serializerForTypeInfo(this.f30_1.v2z_1.o2c(), this.h30_1);
|
|
557
|
+
this.j9_1 = 2;
|
|
558
|
+
suspendResult = this.i30_1.l1i(VOID, this);
|
|
561
559
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
562
560
|
return suspendResult;
|
|
563
561
|
}
|
|
@@ -565,92 +563,92 @@
|
|
|
565
563
|
continue $sm;
|
|
566
564
|
case 2:
|
|
567
565
|
var contentPacket = suspendResult;
|
|
568
|
-
this.
|
|
569
|
-
var tmp0_subject = this.
|
|
566
|
+
this.k9_1 = 3;
|
|
567
|
+
var tmp0_subject = this.f30_1.v2z_1;
|
|
570
568
|
var tmp_1;
|
|
571
569
|
if (isInterface(tmp0_subject, StringFormat)) {
|
|
572
|
-
tmp_1 = this.
|
|
570
|
+
tmp_1 = this.f30_1.v2z_1.n2c(this.k30_1, readText(contentPacket, this.g30_1));
|
|
573
571
|
} else {
|
|
574
572
|
if (isInterface(tmp0_subject, BinaryFormat)) {
|
|
575
|
-
tmp_1 = this.
|
|
573
|
+
tmp_1 = this.f30_1.v2z_1.q2c(this.k30_1, readBytes(contentPacket));
|
|
576
574
|
} else {
|
|
577
575
|
discard(contentPacket);
|
|
578
|
-
var message = 'Unsupported format ' + this.
|
|
576
|
+
var message = 'Unsupported format ' + toString(this.f30_1.v2z_1);
|
|
579
577
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
580
578
|
}
|
|
581
579
|
}
|
|
582
580
|
|
|
583
581
|
return tmp_1;
|
|
584
582
|
case 3:
|
|
585
|
-
this.
|
|
586
|
-
var tmp_2 = this.
|
|
583
|
+
this.k9_1 = 5;
|
|
584
|
+
var tmp_2 = this.m9_1;
|
|
587
585
|
if (tmp_2 instanceof Error) {
|
|
588
|
-
var cause = this.
|
|
586
|
+
var cause = this.m9_1;
|
|
589
587
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
590
588
|
} else {
|
|
591
|
-
throw this.
|
|
589
|
+
throw this.m9_1;
|
|
592
590
|
}
|
|
593
591
|
|
|
594
592
|
case 4:
|
|
595
|
-
this.
|
|
593
|
+
this.k9_1 = 5;
|
|
596
594
|
return Unit_instance;
|
|
597
595
|
case 5:
|
|
598
|
-
throw this.
|
|
596
|
+
throw this.m9_1;
|
|
599
597
|
}
|
|
600
598
|
} catch ($p) {
|
|
601
599
|
var e = $p;
|
|
602
|
-
if (this.
|
|
600
|
+
if (this.k9_1 === 5) {
|
|
603
601
|
throw e;
|
|
604
602
|
} else {
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
603
|
+
this.j9_1 = this.k9_1;
|
|
604
|
+
this.m9_1 = e;
|
|
607
605
|
}
|
|
608
606
|
}
|
|
609
607
|
while (true);
|
|
610
608
|
};
|
|
611
609
|
function KotlinxSerializationConverter(format) {
|
|
612
|
-
this.
|
|
613
|
-
this.
|
|
610
|
+
this.v2z_1 = format;
|
|
611
|
+
this.w2z_1 = extensions(this.v2z_1);
|
|
614
612
|
// Inline function 'kotlin.require' call
|
|
615
613
|
var tmp;
|
|
616
|
-
var tmp_0 = this.
|
|
614
|
+
var tmp_0 = this.v2z_1;
|
|
617
615
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
618
616
|
tmp = true;
|
|
619
617
|
} else {
|
|
620
|
-
var tmp_1 = this.
|
|
618
|
+
var tmp_1 = this.v2z_1;
|
|
621
619
|
tmp = isInterface(tmp_1, StringFormat);
|
|
622
620
|
}
|
|
623
621
|
// Inline function 'kotlin.contracts.contract' call
|
|
624
622
|
if (!tmp) {
|
|
625
623
|
// Inline function 'io.ktor.serialization.kotlinx.KotlinxSerializationConverter.<anonymous>' call
|
|
626
|
-
var message = 'Only binary and string formats are supported, ' + this.
|
|
624
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.v2z_1) + ' is not supported.';
|
|
627
625
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
628
626
|
}
|
|
629
627
|
}
|
|
630
|
-
protoOf(KotlinxSerializationConverter).
|
|
631
|
-
return this.
|
|
628
|
+
protoOf(KotlinxSerializationConverter).l30 = function (contentType, charset, typeInfo, value, $completion) {
|
|
629
|
+
return this.m30(contentType, charset, typeInfo, value, $completion);
|
|
632
630
|
};
|
|
633
|
-
protoOf(KotlinxSerializationConverter).
|
|
634
|
-
return this.
|
|
631
|
+
protoOf(KotlinxSerializationConverter).a29 = function (contentType, charset, typeInfo, value, $completion) {
|
|
632
|
+
return this.l30(contentType, charset, typeInfo, value, $completion);
|
|
635
633
|
};
|
|
636
|
-
protoOf(KotlinxSerializationConverter).
|
|
634
|
+
protoOf(KotlinxSerializationConverter).m30 = function (contentType, charset, typeInfo, value, $completion) {
|
|
637
635
|
var tmp = new $serializeNullableCOROUTINE$0(this, contentType, charset, typeInfo, value, $completion);
|
|
638
|
-
tmp.
|
|
639
|
-
tmp.
|
|
640
|
-
return tmp.
|
|
636
|
+
tmp.l9_1 = Unit_instance;
|
|
637
|
+
tmp.m9_1 = null;
|
|
638
|
+
return tmp.r9();
|
|
641
639
|
};
|
|
642
|
-
protoOf(KotlinxSerializationConverter).
|
|
643
|
-
return this.
|
|
640
|
+
protoOf(KotlinxSerializationConverter).b29 = function (contentType, charset, typeInfo, value, $completion) {
|
|
641
|
+
return this.m30(contentType, charset, typeInfo, value, $completion);
|
|
644
642
|
};
|
|
645
|
-
protoOf(KotlinxSerializationConverter).
|
|
643
|
+
protoOf(KotlinxSerializationConverter).c29 = function (charset, typeInfo, content, $completion) {
|
|
646
644
|
var tmp = new $deserializeCOROUTINE$1(this, charset, typeInfo, content, $completion);
|
|
647
|
-
tmp.
|
|
648
|
-
tmp.
|
|
649
|
-
return tmp.
|
|
645
|
+
tmp.l9_1 = Unit_instance;
|
|
646
|
+
tmp.m9_1 = null;
|
|
647
|
+
return tmp.r9();
|
|
650
648
|
};
|
|
651
649
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
652
650
|
var module_0 = _this__u8e3s4;
|
|
653
|
-
var tmp0_safe_receiver = typeInfo.
|
|
651
|
+
var tmp0_safe_receiver = typeInfo.h1w_1;
|
|
654
652
|
var tmp;
|
|
655
653
|
if (tmp0_safe_receiver == null) {
|
|
656
654
|
tmp = null;
|
|
@@ -659,7 +657,7 @@
|
|
|
659
657
|
// Inline function 'kotlin.contracts.contract' call
|
|
660
658
|
// Inline function 'io.ktor.serialization.kotlinx.serializerForTypeInfo.<anonymous>' call
|
|
661
659
|
var tmp_0;
|
|
662
|
-
if (tmp0_safe_receiver.
|
|
660
|
+
if (tmp0_safe_receiver.cb().q()) {
|
|
663
661
|
tmp_0 = null;
|
|
664
662
|
} else {
|
|
665
663
|
tmp_0 = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
@@ -669,20 +667,20 @@
|
|
|
669
667
|
var tmp2_elvis_lhs = tmp;
|
|
670
668
|
var tmp_1;
|
|
671
669
|
if (tmp2_elvis_lhs == null) {
|
|
672
|
-
var tmp1_safe_receiver = module_0.
|
|
670
|
+
var tmp1_safe_receiver = module_0.t2c(typeInfo.f1w_1);
|
|
673
671
|
tmp_1 = tmp1_safe_receiver == null ? null : maybeNullable(tmp1_safe_receiver, typeInfo);
|
|
674
672
|
} else {
|
|
675
673
|
tmp_1 = tmp2_elvis_lhs;
|
|
676
674
|
}
|
|
677
675
|
var tmp3_elvis_lhs = tmp_1;
|
|
678
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
676
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.f1w_1), typeInfo) : tmp3_elvis_lhs;
|
|
679
677
|
}
|
|
680
678
|
function guessSerializer(value, module_0) {
|
|
681
679
|
var tmp;
|
|
682
680
|
if (value == null) {
|
|
683
681
|
tmp = get_nullable(serializer_0(StringCompanionObject_instance));
|
|
684
682
|
} else {
|
|
685
|
-
if (!(value == null) ? isInterface(value,
|
|
683
|
+
if (!(value == null) ? isInterface(value, KtList) : false) {
|
|
686
684
|
tmp = ListSerializer(elementSerializer(value, module_0));
|
|
687
685
|
} else {
|
|
688
686
|
if (!(value == null) ? isArray(value) : false) {
|
|
@@ -699,15 +697,15 @@
|
|
|
699
697
|
var tmp2_elvis_lhs = tmp_0;
|
|
700
698
|
tmp = tmp2_elvis_lhs == null ? ListSerializer(serializer_0(StringCompanionObject_instance)) : tmp2_elvis_lhs;
|
|
701
699
|
} else {
|
|
702
|
-
if (!(value == null) ? isInterface(value,
|
|
700
|
+
if (!(value == null) ? isInterface(value, KtSet) : false) {
|
|
703
701
|
tmp = SetSerializer(elementSerializer(value, module_0));
|
|
704
702
|
} else {
|
|
705
|
-
if (!(value == null) ? isInterface(value,
|
|
703
|
+
if (!(value == null) ? isInterface(value, KtMap) : false) {
|
|
706
704
|
var keySerializer = elementSerializer(value.m2(), module_0);
|
|
707
705
|
var valueSerializer = elementSerializer(value.n2(), module_0);
|
|
708
706
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
709
707
|
} else {
|
|
710
|
-
var tmp3_elvis_lhs = module_0.
|
|
708
|
+
var tmp3_elvis_lhs = module_0.t2c(getKClassFromExpression(value));
|
|
711
709
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
712
710
|
}
|
|
713
711
|
}
|
|
@@ -719,8 +717,8 @@
|
|
|
719
717
|
}
|
|
720
718
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
721
719
|
var tmp;
|
|
722
|
-
var tmp0_safe_receiver = typeInfo.
|
|
723
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
720
|
+
var tmp0_safe_receiver = typeInfo.h1w_1;
|
|
721
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.db()) === true) {
|
|
724
722
|
tmp = get_nullable(_this__u8e3s4);
|
|
725
723
|
} else {
|
|
726
724
|
tmp = _this__u8e3s4;
|
|
@@ -733,22 +731,22 @@
|
|
|
733
731
|
var this_0 = filterNotNull(_this__u8e3s4);
|
|
734
732
|
// Inline function 'kotlin.collections.mapTo' call
|
|
735
733
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
736
|
-
var tmp0_iterator = this_0.
|
|
737
|
-
while (tmp0_iterator.
|
|
738
|
-
var item = tmp0_iterator.
|
|
734
|
+
var tmp0_iterator = this_0.k();
|
|
735
|
+
while (tmp0_iterator.l()) {
|
|
736
|
+
var item = tmp0_iterator.m();
|
|
739
737
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
740
738
|
var tmp$ret$0 = guessSerializer(item, module_0);
|
|
741
|
-
destination.
|
|
739
|
+
destination.e(tmp$ret$0);
|
|
742
740
|
}
|
|
743
741
|
var set = HashSet_init_$Create$();
|
|
744
742
|
var list = ArrayList_init_$Create$();
|
|
745
|
-
var tmp0_iterator_0 = destination.
|
|
746
|
-
while (tmp0_iterator_0.
|
|
747
|
-
var e = tmp0_iterator_0.
|
|
743
|
+
var tmp0_iterator_0 = destination.k();
|
|
744
|
+
while (tmp0_iterator_0.l()) {
|
|
745
|
+
var e = tmp0_iterator_0.m();
|
|
748
746
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
749
|
-
var key = e.
|
|
750
|
-
if (set.
|
|
751
|
-
list.
|
|
747
|
+
var key = e.j2b().k2c();
|
|
748
|
+
if (set.e(key)) {
|
|
749
|
+
list.e(e);
|
|
752
750
|
}
|
|
753
751
|
}
|
|
754
752
|
var serializers = list;
|
|
@@ -757,19 +755,19 @@
|
|
|
757
755
|
// Inline function 'kotlin.collections.map' call
|
|
758
756
|
// Inline function 'kotlin.collections.mapTo' call
|
|
759
757
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(serializers, 10));
|
|
760
|
-
var tmp0_iterator_1 = serializers.
|
|
761
|
-
while (tmp0_iterator_1.
|
|
762
|
-
var item_0 = tmp0_iterator_1.
|
|
758
|
+
var tmp0_iterator_1 = serializers.k();
|
|
759
|
+
while (tmp0_iterator_1.l()) {
|
|
760
|
+
var item_0 = tmp0_iterator_1.m();
|
|
763
761
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
764
|
-
var tmp$ret$5 = item_0.
|
|
765
|
-
destination_0.
|
|
762
|
+
var tmp$ret$5 = item_0.j2b().k2c();
|
|
763
|
+
destination_0.e(tmp$ret$5);
|
|
766
764
|
}
|
|
767
|
-
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + destination_0);
|
|
765
|
+
var message = 'Serializing collections of different element types is not yet supported. ' + ('Selected serializers: ' + toString(destination_0));
|
|
768
766
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
769
767
|
}
|
|
770
768
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
771
769
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
772
|
-
if (selected.
|
|
770
|
+
if (selected.j2b().x2c()) {
|
|
773
771
|
return selected;
|
|
774
772
|
}
|
|
775
773
|
if (!isInterface(selected, KSerializer))
|
|
@@ -779,7 +777,7 @@
|
|
|
779
777
|
// Inline function 'kotlin.collections.any' call
|
|
780
778
|
var tmp;
|
|
781
779
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
782
|
-
tmp = _this__u8e3s4.
|
|
780
|
+
tmp = _this__u8e3s4.q();
|
|
783
781
|
} else {
|
|
784
782
|
tmp = false;
|
|
785
783
|
}
|
|
@@ -787,9 +785,9 @@
|
|
|
787
785
|
tmp$ret$8 = false;
|
|
788
786
|
break $l$block_0;
|
|
789
787
|
}
|
|
790
|
-
var tmp0_iterator_2 = _this__u8e3s4.
|
|
791
|
-
while (tmp0_iterator_2.
|
|
792
|
-
var element = tmp0_iterator_2.
|
|
788
|
+
var tmp0_iterator_2 = _this__u8e3s4.k();
|
|
789
|
+
while (tmp0_iterator_2.l()) {
|
|
790
|
+
var element = tmp0_iterator_2.m();
|
|
793
791
|
// Inline function 'io.ktor.serialization.kotlinx.elementSerializer.<anonymous>' call
|
|
794
792
|
if (element == null) {
|
|
795
793
|
tmp$ret$8 = true;
|