@solibo/home-api 1.15.15 → 1.16.0
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1019 -943
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +1 -0
- package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +2223 -1914
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
- package/kotlinx-atomicfu.mjs +14 -14
- package/kotlinx-atomicfu.mjs.map +1 -0
- package/kotlinx-browser.mjs +1 -1
- package/kotlinx-browser.mjs.map +1 -0
- package/kotlinx-coroutines-core.mjs +2307 -2247
- package/kotlinx-coroutines-core.mjs.map +1 -0
- package/kotlinx-io-kotlinx-io-bytestring.mjs +41 -41
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -0
- package/kotlinx-io-kotlinx-io-core.mjs +474 -470
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1909 -1910
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1986 -1658
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
- package/ktor-ktor-client-auth.mjs +1 -1
- package/ktor-ktor-client-auth.mjs.map +1 -0
- package/ktor-ktor-client-content-negotiation.mjs +260 -234
- package/ktor-ktor-client-content-negotiation.mjs.map +1 -0
- package/ktor-ktor-client-core.mjs +3240 -3326
- package/ktor-ktor-client-core.mjs.map +1 -0
- package/ktor-ktor-client-encoding.mjs +1 -1
- package/ktor-ktor-client-encoding.mjs.map +1 -0
- package/ktor-ktor-client-logging.mjs +1 -1
- package/ktor-ktor-client-logging.mjs.map +1 -0
- package/ktor-ktor-client-websockets.mjs +1 -1
- package/ktor-ktor-client-websockets.mjs.map +1 -0
- package/ktor-ktor-events.mjs +8 -8
- package/ktor-ktor-events.mjs.map +1 -0
- package/ktor-ktor-http-cio.mjs +525 -530
- package/ktor-ktor-http-cio.mjs.map +1 -0
- package/ktor-ktor-http.mjs +735 -766
- package/ktor-ktor-http.mjs.map +1 -0
- package/ktor-ktor-io.mjs +1502 -1279
- package/ktor-ktor-io.mjs.map +1 -0
- package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
- package/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -0
- package/ktor-ktor-serialization-kotlinx.mjs +272 -389
- package/ktor-ktor-serialization-kotlinx.mjs.map +1 -0
- package/ktor-ktor-serialization.mjs +113 -142
- package/ktor-ktor-serialization.mjs.map +1 -0
- package/ktor-ktor-sse.mjs +1 -1
- package/ktor-ktor-sse.mjs.map +1 -0
- package/ktor-ktor-utils.mjs +812 -787
- package/ktor-ktor-utils.mjs.map +1 -0
- package/ktor-ktor-websocket-serialization.mjs +1 -1
- package/ktor-ktor-websocket-serialization.mjs.map +1 -0
- package/ktor-ktor-websockets.mjs +901 -862
- package/ktor-ktor-websockets.mjs.map +1 -0
- package/package.json +2 -2
- package/solibo-sdk-sdk-home-api.d.mts +127 -14
- package/solibo-sdk-sdk-home-api.mjs +110003 -108257
- package/solibo-sdk-sdk-home-api.mjs.map +1 -0
|
@@ -1,34 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ArrayList_init_$Create$
|
|
3
|
-
|
|
2
|
+
ArrayList_init_$Create$1z3aa4voswqq as ArrayList_init_$Create$,
|
|
3
|
+
Unit_instance3vdlo4e4f5ggx as Unit_instance,
|
|
4
4
|
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
5
5
|
protoOf180f3jzyo7rfj as protoOf,
|
|
6
6
|
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
7
7
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
8
8
|
VOID3gxj6tk5isa35 as VOID,
|
|
9
|
+
constructCallableReference23y65rf941mch as constructCallableReference,
|
|
9
10
|
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
10
11
|
toString1pkumu07cwy4m as toString,
|
|
11
|
-
IllegalStateException_init_$Create$
|
|
12
|
+
IllegalStateException_init_$Create$3394faf8tdm0h as IllegalStateException_init_$Create$,
|
|
12
13
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
13
14
|
isInterface3d6p8outrmvmk as isInterface,
|
|
14
15
|
equals2au1ep9vhcato as equals,
|
|
15
16
|
FunctionAdapter3lcrrz3moet5b as FunctionAdapter,
|
|
16
17
|
hashCodeq5arwsb9dgti as hashCode,
|
|
17
18
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
18
|
-
IllegalArgumentException_init_$Create$
|
|
19
|
+
IllegalArgumentException_init_$Create$1mgk48flhjim3 as IllegalArgumentException_init_$Create$,
|
|
19
20
|
getKClassFromExpression348iqjl4fnx2f as getKClassFromExpression,
|
|
20
21
|
KtMap140uvy3s5zad8 as KtMap,
|
|
21
22
|
KtSetjrjc7fhfd6b9 as KtSet,
|
|
22
23
|
firstOrNull1gk7vzkf4h3nq as firstOrNull,
|
|
23
|
-
|
|
24
|
+
StringCompanionObject_instance3btc7up7fjjpg as StringCompanionObject_instance,
|
|
24
25
|
isArray1hxjqtqy632bc as isArray,
|
|
25
26
|
KtList3hktaavzmj137 as KtList,
|
|
27
|
+
Exceptiondt2hlxn7j7vw as Exception,
|
|
28
|
+
joinToString1cxrrlmo0chqs as joinToString,
|
|
29
|
+
to2cs3ny02qtbcb as to,
|
|
26
30
|
filterNotNull3qfgcwmxhwfxe as filterNotNull,
|
|
27
31
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
28
|
-
ArrayList_init_$Create$
|
|
29
|
-
HashSet_init_$Create$
|
|
32
|
+
ArrayList_init_$Create$3o344dm0ee4ws as ArrayList_init_$Create$_0,
|
|
33
|
+
HashSet_init_$Create$1nt0scwlu5nu0 as HashSet_init_$Create$,
|
|
30
34
|
singleOrNullrknfaxokm1sl as singleOrNull,
|
|
31
35
|
Collection1k04j3hzsbod0 as Collection,
|
|
36
|
+
KClass1cc9rfeybg8hs as KClass,
|
|
32
37
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
33
38
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
34
39
|
import {
|
|
@@ -43,6 +48,7 @@ import {
|
|
|
43
48
|
serializer1x79l67jvwntn as serializer_0,
|
|
44
49
|
ListSerializer1hxuk9dx5n9du as ListSerializer,
|
|
45
50
|
get_nullable197rfua9r7fsz as get_nullable,
|
|
51
|
+
SerializationException_init_$Create$3psdplbjmr4al as SerializationException_init_$Create$,
|
|
46
52
|
} from './kotlinx-serialization-kotlinx-serialization-core.mjs';
|
|
47
53
|
import {
|
|
48
54
|
ByteArrayContent9zol65b22hp0 as ByteArrayContent,
|
|
@@ -53,10 +59,11 @@ import {
|
|
|
53
59
|
import {
|
|
54
60
|
FlowCollector26clgpmzihvke as FlowCollector,
|
|
55
61
|
asFlow3ngsnn5xpz8pw as asFlow,
|
|
56
|
-
|
|
62
|
+
firstOrNull3msc896yik0f1 as firstOrNull_0,
|
|
57
63
|
} from './kotlinx-coroutines-core.mjs';
|
|
58
64
|
import {
|
|
59
|
-
|
|
65
|
+
readRemaining1kbpbgdrq25q1 as readRemaining,
|
|
66
|
+
ByteReadChannel2ndu7k90iil3s as ByteReadChannel,
|
|
60
67
|
discard3ugntd47xyll6 as discard,
|
|
61
68
|
readText27783kyxjxi1g as readText,
|
|
62
69
|
} from './ktor-ktor-io.mjs';
|
|
@@ -67,14 +74,9 @@ import { JsonConvertExceptiongnc5x6xwaf77 as JsonConvertException } from './ktor
|
|
|
67
74
|
//region block: pre-declaration
|
|
68
75
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
69
76
|
initMetadataForCoroutine($collectCOROUTINE$, CoroutineImpl);
|
|
70
|
-
initMetadataForLambda(KotlinxSerializationConverter$deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
71
|
-
initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
|
|
72
77
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
73
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
74
78
|
initMetadataForClass(KotlinxSerializationConverter$serialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
75
79
|
initMetadataForLambda(KotlinxSerializationConverter$serialize$slambda, CoroutineImpl, VOID, [1]);
|
|
76
|
-
initMetadataForClass(KotlinxSerializationConverter$deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
77
|
-
initMetadataForLambda(KotlinxSerializationConverter$deserialize$slambda, CoroutineImpl, VOID, [1]);
|
|
78
80
|
initMetadataForCoroutine($serializeCOROUTINE$, CoroutineImpl);
|
|
79
81
|
initMetadataForCoroutine($deserializeCOROUTINE$, CoroutineImpl);
|
|
80
82
|
initMetadataForClass(KotlinxSerializationConverter, 'KotlinxSerializationConverter', VOID, VOID, VOID, [4, 3]);
|
|
@@ -88,7 +90,7 @@ function extensions(format) {
|
|
|
88
90
|
var _iterator__ex2g4s = tmp0.t();
|
|
89
91
|
while (_iterator__ex2g4s.u()) {
|
|
90
92
|
var element = _iterator__ex2g4s.v();
|
|
91
|
-
var tmp0_safe_receiver = element.
|
|
93
|
+
var tmp0_safe_receiver = element.i52(format);
|
|
92
94
|
if (tmp0_safe_receiver == null)
|
|
93
95
|
null;
|
|
94
96
|
else {
|
|
@@ -99,38 +101,38 @@ function extensions(format) {
|
|
|
99
101
|
return destination;
|
|
100
102
|
}
|
|
101
103
|
function serialization(_this__u8e3s4, contentType, format) {
|
|
102
|
-
_this__u8e3s4.
|
|
104
|
+
_this__u8e3s4.s3c(contentType, new KotlinxSerializationConverter(format));
|
|
103
105
|
}
|
|
104
106
|
function KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
107
|
+
this.r52_1 = $$this$unsafeFlow;
|
|
108
|
+
this.s52_1 = $contentType;
|
|
109
|
+
this.t52_1 = $charset;
|
|
110
|
+
this.u52_1 = $typeInfo;
|
|
111
|
+
this.v52_1 = $value;
|
|
110
112
|
CoroutineImpl.call(this, resultContinuation);
|
|
111
113
|
}
|
|
112
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
113
|
-
var tmp = this.
|
|
114
|
-
tmp.
|
|
115
|
-
tmp.
|
|
116
|
-
return tmp.
|
|
114
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).i3d = function (value, $completion) {
|
|
115
|
+
var tmp = this.j3d(value, $completion);
|
|
116
|
+
tmp.m8_1 = Unit_instance;
|
|
117
|
+
tmp.n8_1 = null;
|
|
118
|
+
return tmp.s8();
|
|
117
119
|
};
|
|
118
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
119
|
-
return this.
|
|
120
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).f9 = function (p1, $completion) {
|
|
121
|
+
return this.i3d(p1, $completion);
|
|
120
122
|
};
|
|
121
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
122
|
-
var suspendResult = this.
|
|
123
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).s8 = function () {
|
|
124
|
+
var suspendResult = this.m8_1;
|
|
123
125
|
$sm: do
|
|
124
126
|
try {
|
|
125
|
-
var tmp = this.
|
|
127
|
+
var tmp = this.k8_1;
|
|
126
128
|
switch (tmp) {
|
|
127
129
|
case 0:
|
|
128
|
-
this.
|
|
129
|
-
var tmp0 = this.
|
|
130
|
-
var tmp2 = this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
133
|
-
suspendResult = tmp2.
|
|
130
|
+
this.l8_1 = 3;
|
|
131
|
+
var tmp0 = this.r52_1;
|
|
132
|
+
var tmp2 = this.w52_1;
|
|
133
|
+
this.x52_1 = tmp0;
|
|
134
|
+
this.k8_1 = 1;
|
|
135
|
+
suspendResult = tmp2.n4q(this.s52_1, this.t52_1, this.u52_1, this.v52_1, this);
|
|
134
136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
135
137
|
return suspendResult;
|
|
136
138
|
}
|
|
@@ -138,8 +140,8 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function
|
|
|
138
140
|
continue $sm;
|
|
139
141
|
case 1:
|
|
140
142
|
var ARGUMENT = suspendResult;
|
|
141
|
-
this.
|
|
142
|
-
suspendResult = this.
|
|
143
|
+
this.k8_1 = 2;
|
|
144
|
+
suspendResult = this.x52_1.i1b(ARGUMENT, this);
|
|
143
145
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
144
146
|
return suspendResult;
|
|
145
147
|
}
|
|
@@ -148,159 +150,47 @@ protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).r8 = function
|
|
|
148
150
|
case 2:
|
|
149
151
|
return Unit_instance;
|
|
150
152
|
case 3:
|
|
151
|
-
throw this.
|
|
153
|
+
throw this.n8_1;
|
|
152
154
|
}
|
|
153
155
|
} catch ($p) {
|
|
154
156
|
var e = $p;
|
|
155
|
-
if (this.
|
|
157
|
+
if (this.l8_1 === 3) {
|
|
156
158
|
throw e;
|
|
157
159
|
} else {
|
|
158
|
-
this.
|
|
159
|
-
this.
|
|
160
|
+
this.k8_1 = this.l8_1;
|
|
161
|
+
this.n8_1 = e;
|
|
160
162
|
}
|
|
161
163
|
}
|
|
162
164
|
while (true);
|
|
163
165
|
};
|
|
164
|
-
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).
|
|
165
|
-
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.
|
|
166
|
-
i.
|
|
166
|
+
protoOf(KotlinxSerializationConverter$serialize$o$collect$slambda).j3d = function (value, completion) {
|
|
167
|
+
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda(this.r52_1, this.s52_1, this.t52_1, this.u52_1, this.v52_1, completion);
|
|
168
|
+
i.w52_1 = value;
|
|
167
169
|
return i;
|
|
168
170
|
};
|
|
169
171
|
function KotlinxSerializationConverter$serialize$o$collect$slambda_0($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation) {
|
|
170
172
|
var i = new KotlinxSerializationConverter$serialize$o$collect$slambda($$this$unsafeFlow, $contentType, $charset, $typeInfo, $value, resultContinuation);
|
|
171
|
-
|
|
172
|
-
return i.
|
|
173
|
-
};
|
|
174
|
-
l.$arity = 1;
|
|
175
|
-
return l;
|
|
173
|
+
return constructCallableReference(function (value, $completion) {
|
|
174
|
+
return i.i3d(value, $completion);
|
|
175
|
+
}, 1);
|
|
176
176
|
}
|
|
177
177
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
178
178
|
CoroutineImpl.call(this, resultContinuation);
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
181
|
-
}
|
|
182
|
-
protoOf($collectCOROUTINE$).r8 = function () {
|
|
183
|
-
var suspendResult = this.l8_1;
|
|
184
|
-
$sm: do
|
|
185
|
-
try {
|
|
186
|
-
var tmp = this.j8_1;
|
|
187
|
-
switch (tmp) {
|
|
188
|
-
case 0:
|
|
189
|
-
this.k8_1 = 2;
|
|
190
|
-
var $this$unsafeFlow = this.e51_1;
|
|
191
|
-
this.j8_1 = 1;
|
|
192
|
-
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.d51_1.g51_1, this.d51_1.h51_1, this.d51_1.i51_1, this.d51_1.j51_1, null);
|
|
193
|
-
suspendResult = this.d51_1.f51_1.x1a(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
194
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
195
|
-
return suspendResult;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
continue $sm;
|
|
199
|
-
case 1:
|
|
200
|
-
return Unit_instance;
|
|
201
|
-
case 2:
|
|
202
|
-
throw this.m8_1;
|
|
203
|
-
}
|
|
204
|
-
} catch ($p) {
|
|
205
|
-
var e = $p;
|
|
206
|
-
if (this.k8_1 === 2) {
|
|
207
|
-
throw e;
|
|
208
|
-
} else {
|
|
209
|
-
this.j8_1 = this.k8_1;
|
|
210
|
-
this.m8_1 = e;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
while (true);
|
|
214
|
-
};
|
|
215
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
216
|
-
this.s51_1 = $$this$unsafeFlow;
|
|
217
|
-
this.t51_1 = $charset;
|
|
218
|
-
this.u51_1 = $typeInfo;
|
|
219
|
-
this.v51_1 = $content;
|
|
220
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
221
|
-
}
|
|
222
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).a3c = function (value, $completion) {
|
|
223
|
-
var tmp = this.b3c(value, $completion);
|
|
224
|
-
tmp.l8_1 = Unit_instance;
|
|
225
|
-
tmp.m8_1 = null;
|
|
226
|
-
return tmp.r8();
|
|
227
|
-
};
|
|
228
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).d9 = function (p1, $completion) {
|
|
229
|
-
return this.a3c(p1, $completion);
|
|
230
|
-
};
|
|
231
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).r8 = function () {
|
|
232
|
-
var suspendResult = this.l8_1;
|
|
233
|
-
$sm: do
|
|
234
|
-
try {
|
|
235
|
-
var tmp = this.j8_1;
|
|
236
|
-
switch (tmp) {
|
|
237
|
-
case 0:
|
|
238
|
-
this.k8_1 = 3;
|
|
239
|
-
var tmp0 = this.s51_1;
|
|
240
|
-
var tmp2 = this.w51_1;
|
|
241
|
-
this.x51_1 = tmp0;
|
|
242
|
-
this.j8_1 = 1;
|
|
243
|
-
suspendResult = tmp2.c3c(this.t51_1, this.u51_1, this.v51_1, this);
|
|
244
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
245
|
-
return suspendResult;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
continue $sm;
|
|
249
|
-
case 1:
|
|
250
|
-
var ARGUMENT = suspendResult;
|
|
251
|
-
this.j8_1 = 2;
|
|
252
|
-
suspendResult = this.x51_1.v1a(ARGUMENT, this);
|
|
253
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
|
-
return suspendResult;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
continue $sm;
|
|
258
|
-
case 2:
|
|
259
|
-
return Unit_instance;
|
|
260
|
-
case 3:
|
|
261
|
-
throw this.m8_1;
|
|
262
|
-
}
|
|
263
|
-
} catch ($p) {
|
|
264
|
-
var e = $p;
|
|
265
|
-
if (this.k8_1 === 3) {
|
|
266
|
-
throw e;
|
|
267
|
-
} else {
|
|
268
|
-
this.j8_1 = this.k8_1;
|
|
269
|
-
this.m8_1 = e;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
while (true);
|
|
273
|
-
};
|
|
274
|
-
protoOf(KotlinxSerializationConverter$deserialize$o$collect$slambda).b3c = function (value, completion) {
|
|
275
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda(this.s51_1, this.t51_1, this.u51_1, this.v51_1, completion);
|
|
276
|
-
i.w51_1 = value;
|
|
277
|
-
return i;
|
|
278
|
-
};
|
|
279
|
-
function KotlinxSerializationConverter$deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation) {
|
|
280
|
-
var i = new KotlinxSerializationConverter$deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $content, resultContinuation);
|
|
281
|
-
var l = function (value, $completion) {
|
|
282
|
-
return i.a3c(value, $completion);
|
|
283
|
-
};
|
|
284
|
-
l.$arity = 1;
|
|
285
|
-
return l;
|
|
286
|
-
}
|
|
287
|
-
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
288
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
289
|
-
this.g52_1 = _this__u8e3s4;
|
|
290
|
-
this.h52_1 = collector;
|
|
179
|
+
this.g53_1 = _this__u8e3s4;
|
|
180
|
+
this.h53_1 = collector;
|
|
291
181
|
}
|
|
292
|
-
protoOf($collectCOROUTINE$
|
|
293
|
-
var suspendResult = this.
|
|
182
|
+
protoOf($collectCOROUTINE$).s8 = function () {
|
|
183
|
+
var suspendResult = this.m8_1;
|
|
294
184
|
$sm: do
|
|
295
185
|
try {
|
|
296
|
-
var tmp = this.
|
|
186
|
+
var tmp = this.k8_1;
|
|
297
187
|
switch (tmp) {
|
|
298
188
|
case 0:
|
|
299
|
-
this.
|
|
300
|
-
var $this$unsafeFlow = this.
|
|
301
|
-
this.
|
|
302
|
-
var tmp_0 = KotlinxSerializationConverter$
|
|
303
|
-
suspendResult = this.
|
|
189
|
+
this.l8_1 = 2;
|
|
190
|
+
var $this$unsafeFlow = this.h53_1;
|
|
191
|
+
this.k8_1 = 1;
|
|
192
|
+
var tmp_0 = KotlinxSerializationConverter$serialize$o$collect$slambda_0($this$unsafeFlow, this.g53_1.j53_1, this.g53_1.k53_1, this.g53_1.l53_1, this.g53_1.m53_1, null);
|
|
193
|
+
suspendResult = this.g53_1.i53_1.k1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
304
194
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
305
195
|
return suspendResult;
|
|
306
196
|
}
|
|
@@ -309,15 +199,15 @@ protoOf($collectCOROUTINE$_0).r8 = function () {
|
|
|
309
199
|
case 1:
|
|
310
200
|
return Unit_instance;
|
|
311
201
|
case 2:
|
|
312
|
-
throw this.
|
|
202
|
+
throw this.n8_1;
|
|
313
203
|
}
|
|
314
204
|
} catch ($p) {
|
|
315
205
|
var e = $p;
|
|
316
|
-
if (this.
|
|
206
|
+
if (this.l8_1 === 2) {
|
|
317
207
|
throw e;
|
|
318
208
|
} else {
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
209
|
+
this.k8_1 = this.l8_1;
|
|
210
|
+
this.n8_1 = e;
|
|
321
211
|
}
|
|
322
212
|
}
|
|
323
213
|
while (true);
|
|
@@ -325,11 +215,11 @@ protoOf($collectCOROUTINE$_0).r8 = function () {
|
|
|
325
215
|
function serializeContent($this, serializer, format, value, contentType, charset) {
|
|
326
216
|
var tmp;
|
|
327
217
|
if (isInterface(format, StringFormat)) {
|
|
328
|
-
var content = format.
|
|
218
|
+
var content = format.x1t(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
329
219
|
tmp = new TextContent(content, withCharsetIfNeeded(contentType, charset));
|
|
330
220
|
} else {
|
|
331
221
|
if (isInterface(format, BinaryFormat)) {
|
|
332
|
-
var content_0 = format.
|
|
222
|
+
var content_0 = format.z1t(isInterface(serializer, KSerializer) ? serializer : THROW_CCE(), value);
|
|
333
223
|
tmp = new ByteArrayContent(content_0, contentType);
|
|
334
224
|
} else {
|
|
335
225
|
// Inline function 'kotlin.error' call
|
|
@@ -340,13 +230,13 @@ function serializeContent($this, serializer, format, value, contentType, charset
|
|
|
340
230
|
return tmp;
|
|
341
231
|
}
|
|
342
232
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
343
|
-
this.
|
|
233
|
+
this.n53_1 = function_0;
|
|
344
234
|
}
|
|
345
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
346
|
-
return this.
|
|
235
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i1b = function (value, $completion) {
|
|
236
|
+
return this.n53_1(value, $completion);
|
|
347
237
|
};
|
|
348
238
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g3 = function () {
|
|
349
|
-
return this.
|
|
239
|
+
return this.n53_1;
|
|
350
240
|
};
|
|
351
241
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
352
242
|
var tmp;
|
|
@@ -366,71 +256,44 @@ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
|
366
256
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
367
257
|
return hashCode(this.g3());
|
|
368
258
|
};
|
|
369
|
-
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
370
|
-
this.n52_1 = function_0;
|
|
371
|
-
}
|
|
372
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).v1a = function (value, $completion) {
|
|
373
|
-
return this.n52_1(value, $completion);
|
|
374
|
-
};
|
|
375
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g3 = function () {
|
|
376
|
-
return this.n52_1;
|
|
377
|
-
};
|
|
378
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
379
|
-
var tmp;
|
|
380
|
-
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
381
|
-
var tmp_0;
|
|
382
|
-
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
383
|
-
tmp_0 = equals(this.g3(), other.g3());
|
|
384
|
-
} else {
|
|
385
|
-
tmp_0 = false;
|
|
386
|
-
}
|
|
387
|
-
tmp = tmp_0;
|
|
388
|
-
} else {
|
|
389
|
-
tmp = false;
|
|
390
|
-
}
|
|
391
|
-
return tmp;
|
|
392
|
-
};
|
|
393
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).hashCode = function () {
|
|
394
|
-
return hashCode(this.g3());
|
|
395
|
-
};
|
|
396
259
|
function KotlinxSerializationConverter$serialize$$inlined$map$1($this, $contentType, $charset, $typeInfo, $value) {
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
260
|
+
this.i53_1 = $this;
|
|
261
|
+
this.j53_1 = $contentType;
|
|
262
|
+
this.k53_1 = $charset;
|
|
263
|
+
this.l53_1 = $typeInfo;
|
|
264
|
+
this.m53_1 = $value;
|
|
402
265
|
}
|
|
403
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
266
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).j1b = function (collector, $completion) {
|
|
404
267
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
405
|
-
tmp.
|
|
406
|
-
tmp.
|
|
407
|
-
return tmp.
|
|
268
|
+
tmp.m8_1 = Unit_instance;
|
|
269
|
+
tmp.n8_1 = null;
|
|
270
|
+
return tmp.s8();
|
|
408
271
|
};
|
|
409
|
-
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).
|
|
410
|
-
return this.
|
|
272
|
+
protoOf(KotlinxSerializationConverter$serialize$$inlined$map$1).k1b = function (collector, $completion) {
|
|
273
|
+
return this.j1b(collector, $completion);
|
|
411
274
|
};
|
|
412
275
|
function KotlinxSerializationConverter$serialize$slambda(resultContinuation) {
|
|
413
276
|
CoroutineImpl.call(this, resultContinuation);
|
|
414
277
|
}
|
|
415
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
416
|
-
var tmp = this.
|
|
417
|
-
tmp.
|
|
418
|
-
tmp.
|
|
419
|
-
return tmp.
|
|
278
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).x53 = function (it, $completion) {
|
|
279
|
+
var tmp = this.y53(it, $completion);
|
|
280
|
+
tmp.m8_1 = Unit_instance;
|
|
281
|
+
tmp.n8_1 = null;
|
|
282
|
+
return tmp.s8();
|
|
420
283
|
};
|
|
421
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
422
|
-
return this.
|
|
284
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).f9 = function (p1, $completion) {
|
|
285
|
+
return this.x53((p1 == null ? true : p1 instanceof OutgoingContent) ? p1 : THROW_CCE(), $completion);
|
|
423
286
|
};
|
|
424
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
425
|
-
var suspendResult = this.
|
|
287
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).s8 = function () {
|
|
288
|
+
var suspendResult = this.m8_1;
|
|
426
289
|
$sm: do
|
|
427
290
|
try {
|
|
428
|
-
var tmp = this.
|
|
291
|
+
var tmp = this.k8_1;
|
|
429
292
|
if (tmp === 0) {
|
|
430
|
-
this.
|
|
431
|
-
return !(this.
|
|
293
|
+
this.l8_1 = 1;
|
|
294
|
+
return !(this.w53_1 == null);
|
|
432
295
|
} else if (tmp === 1) {
|
|
433
|
-
throw this.
|
|
296
|
+
throw this.n8_1;
|
|
434
297
|
}
|
|
435
298
|
} catch ($p) {
|
|
436
299
|
var e = $p;
|
|
@@ -438,96 +301,36 @@ protoOf(KotlinxSerializationConverter$serialize$slambda).r8 = function () {
|
|
|
438
301
|
}
|
|
439
302
|
while (true);
|
|
440
303
|
};
|
|
441
|
-
protoOf(KotlinxSerializationConverter$serialize$slambda).
|
|
304
|
+
protoOf(KotlinxSerializationConverter$serialize$slambda).y53 = function (it, completion) {
|
|
442
305
|
var i = new KotlinxSerializationConverter$serialize$slambda(completion);
|
|
443
|
-
i.
|
|
306
|
+
i.w53_1 = it;
|
|
444
307
|
return i;
|
|
445
308
|
};
|
|
446
309
|
function KotlinxSerializationConverter$serialize$slambda_0(resultContinuation) {
|
|
447
310
|
var i = new KotlinxSerializationConverter$serialize$slambda(resultContinuation);
|
|
448
|
-
|
|
449
|
-
return i.
|
|
450
|
-
};
|
|
451
|
-
l.$arity = 1;
|
|
452
|
-
return l;
|
|
453
|
-
}
|
|
454
|
-
function KotlinxSerializationConverter$deserialize$$inlined$map$1($this, $charset, $typeInfo, $content) {
|
|
455
|
-
this.i52_1 = $this;
|
|
456
|
-
this.j52_1 = $charset;
|
|
457
|
-
this.k52_1 = $typeInfo;
|
|
458
|
-
this.l52_1 = $content;
|
|
459
|
-
}
|
|
460
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).w1a = function (collector, $completion) {
|
|
461
|
-
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
462
|
-
tmp.l8_1 = Unit_instance;
|
|
463
|
-
tmp.m8_1 = null;
|
|
464
|
-
return tmp.r8();
|
|
465
|
-
};
|
|
466
|
-
protoOf(KotlinxSerializationConverter$deserialize$$inlined$map$1).x1a = function (collector, $completion) {
|
|
467
|
-
return this.w1a(collector, $completion);
|
|
468
|
-
};
|
|
469
|
-
function KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation) {
|
|
470
|
-
this.h53_1 = $content;
|
|
471
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
472
|
-
}
|
|
473
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).b3d = function (it, $completion) {
|
|
474
|
-
var tmp = this.b3c(it, $completion);
|
|
475
|
-
tmp.l8_1 = Unit_instance;
|
|
476
|
-
tmp.m8_1 = null;
|
|
477
|
-
return tmp.r8();
|
|
478
|
-
};
|
|
479
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).d9 = function (p1, $completion) {
|
|
480
|
-
return this.b3d(p1, $completion);
|
|
481
|
-
};
|
|
482
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).r8 = function () {
|
|
483
|
-
var suspendResult = this.l8_1;
|
|
484
|
-
$sm: do
|
|
485
|
-
try {
|
|
486
|
-
var tmp = this.j8_1;
|
|
487
|
-
if (tmp === 0) {
|
|
488
|
-
this.k8_1 = 1;
|
|
489
|
-
return !(this.i53_1 == null) || this.h53_1.r1g();
|
|
490
|
-
} else if (tmp === 1) {
|
|
491
|
-
throw this.m8_1;
|
|
492
|
-
}
|
|
493
|
-
} catch ($p) {
|
|
494
|
-
var e = $p;
|
|
495
|
-
throw e;
|
|
496
|
-
}
|
|
497
|
-
while (true);
|
|
498
|
-
};
|
|
499
|
-
protoOf(KotlinxSerializationConverter$deserialize$slambda).b3c = function (it, completion) {
|
|
500
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda(this.h53_1, completion);
|
|
501
|
-
i.i53_1 = it;
|
|
502
|
-
return i;
|
|
503
|
-
};
|
|
504
|
-
function KotlinxSerializationConverter$deserialize$slambda_0($content, resultContinuation) {
|
|
505
|
-
var i = new KotlinxSerializationConverter$deserialize$slambda($content, resultContinuation);
|
|
506
|
-
var l = function (it, $completion) {
|
|
507
|
-
return i.b3d(it, $completion);
|
|
508
|
-
};
|
|
509
|
-
l.$arity = 1;
|
|
510
|
-
return l;
|
|
311
|
+
return constructCallableReference(function (it, $completion) {
|
|
312
|
+
return i.x53(it, $completion);
|
|
313
|
+
}, 1);
|
|
511
314
|
}
|
|
512
315
|
function $serializeCOROUTINE$(_this__u8e3s4, contentType, charset, typeInfo, value, resultContinuation) {
|
|
513
316
|
CoroutineImpl.call(this, resultContinuation);
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
518
|
-
this.
|
|
317
|
+
this.h54_1 = _this__u8e3s4;
|
|
318
|
+
this.i54_1 = contentType;
|
|
319
|
+
this.j54_1 = charset;
|
|
320
|
+
this.k54_1 = typeInfo;
|
|
321
|
+
this.l54_1 = value;
|
|
519
322
|
}
|
|
520
|
-
protoOf($serializeCOROUTINE$).
|
|
521
|
-
var suspendResult = this.
|
|
323
|
+
protoOf($serializeCOROUTINE$).s8 = function () {
|
|
324
|
+
var suspendResult = this.m8_1;
|
|
522
325
|
$sm: do
|
|
523
326
|
try {
|
|
524
|
-
var tmp = this.
|
|
327
|
+
var tmp = this.k8_1;
|
|
525
328
|
switch (tmp) {
|
|
526
329
|
case 0:
|
|
527
|
-
this.
|
|
528
|
-
this.
|
|
529
|
-
var this_0 = asFlow(this.
|
|
530
|
-
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.
|
|
330
|
+
this.l8_1 = 2;
|
|
331
|
+
this.k8_1 = 1;
|
|
332
|
+
var this_0 = asFlow(this.h54_1.n54_1);
|
|
333
|
+
var tmp_0 = new KotlinxSerializationConverter$serialize$$inlined$map$1(this_0, this.i54_1, this.j54_1, this.k54_1, this.l54_1);
|
|
531
334
|
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$serialize$slambda_0(null), this);
|
|
532
335
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
533
336
|
return suspendResult;
|
|
@@ -540,12 +343,12 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
540
343
|
return fromExtension;
|
|
541
344
|
var tmp_1;
|
|
542
345
|
try {
|
|
543
|
-
tmp_1 = serializerForTypeInfo(this.
|
|
346
|
+
tmp_1 = serializerForTypeInfo(this.h54_1.m54_1.b1t(), this.k54_1);
|
|
544
347
|
} catch ($p) {
|
|
545
348
|
var tmp_2;
|
|
546
349
|
if ($p instanceof SerializationException) {
|
|
547
350
|
var cause = $p;
|
|
548
|
-
tmp_2 = guessSerializer(this.
|
|
351
|
+
tmp_2 = guessSerializer(this.l54_1, this.h54_1.m54_1.b1t());
|
|
549
352
|
} else {
|
|
550
353
|
throw $p;
|
|
551
354
|
}
|
|
@@ -553,141 +356,153 @@ protoOf($serializeCOROUTINE$).r8 = function () {
|
|
|
553
356
|
}
|
|
554
357
|
|
|
555
358
|
var serializer = tmp_1;
|
|
556
|
-
return serializeContent(this.
|
|
359
|
+
return serializeContent(this.h54_1, serializer, this.h54_1.m54_1, this.l54_1, this.i54_1, this.j54_1);
|
|
557
360
|
case 2:
|
|
558
|
-
throw this.
|
|
361
|
+
throw this.n8_1;
|
|
559
362
|
}
|
|
560
|
-
} catch ($
|
|
561
|
-
var e = $
|
|
562
|
-
if (this.
|
|
363
|
+
} catch ($p_0) {
|
|
364
|
+
var e = $p_0;
|
|
365
|
+
if (this.l8_1 === 2) {
|
|
563
366
|
throw e;
|
|
564
367
|
} else {
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
368
|
+
this.k8_1 = this.l8_1;
|
|
369
|
+
this.n8_1 = e;
|
|
567
370
|
}
|
|
568
371
|
}
|
|
569
372
|
while (true);
|
|
570
373
|
};
|
|
571
374
|
function $deserializeCOROUTINE$(_this__u8e3s4, charset, typeInfo, content, resultContinuation) {
|
|
572
375
|
CoroutineImpl.call(this, resultContinuation);
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
376
|
+
this.w54_1 = _this__u8e3s4;
|
|
377
|
+
this.x54_1 = charset;
|
|
378
|
+
this.y54_1 = typeInfo;
|
|
379
|
+
this.z54_1 = content;
|
|
577
380
|
}
|
|
578
|
-
protoOf($deserializeCOROUTINE$).
|
|
579
|
-
var suspendResult = this.
|
|
381
|
+
protoOf($deserializeCOROUTINE$).s8 = function () {
|
|
382
|
+
var suspendResult = this.m8_1;
|
|
580
383
|
$sm: do
|
|
581
384
|
try {
|
|
582
|
-
var tmp = this.
|
|
385
|
+
var tmp = this.k8_1;
|
|
583
386
|
switch (tmp) {
|
|
584
387
|
case 0:
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
587
|
-
|
|
588
|
-
var tmp_0 = new KotlinxSerializationConverter$deserialize$$inlined$map$1(this_0, this.h54_1, this.i54_1, this.j54_1);
|
|
589
|
-
suspendResult = firstOrNull_0(tmp_0, KotlinxSerializationConverter$deserialize$slambda_0(this.j54_1, null), this);
|
|
388
|
+
this.l8_1 = 7;
|
|
389
|
+
this.k8_1 = 1;
|
|
390
|
+
suspendResult = readRemaining(this.z54_1, this);
|
|
590
391
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
591
392
|
return suspendResult;
|
|
592
393
|
}
|
|
593
394
|
|
|
594
395
|
continue $sm;
|
|
595
396
|
case 1:
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
397
|
+
this.a55_1 = suspendResult;
|
|
398
|
+
this.c55_1 = this.w54_1.n54_1.t();
|
|
399
|
+
this.k8_1 = 2;
|
|
400
|
+
continue $sm;
|
|
401
|
+
case 2:
|
|
402
|
+
if (!this.c55_1.u()) {
|
|
403
|
+
this.k8_1 = 5;
|
|
404
|
+
continue $sm;
|
|
602
405
|
}
|
|
603
406
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
this.j8_1 = 2;
|
|
608
|
-
suspendResult = readRemaining(this.j54_1, this);
|
|
407
|
+
var ext = this.c55_1.v();
|
|
408
|
+
this.k8_1 = 3;
|
|
409
|
+
suspendResult = ext.k3d(this.x54_1, this.y54_1, ByteReadChannel(this.a55_1), this);
|
|
609
410
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
610
411
|
return suspendResult;
|
|
611
412
|
}
|
|
612
413
|
|
|
613
414
|
continue $sm;
|
|
614
|
-
case
|
|
615
|
-
var
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
tmp_2 = this.g54_1.w53_1.e1t(this.k54_1, readText(contentPacket, this.h54_1));
|
|
415
|
+
case 3:
|
|
416
|
+
var tmp0_elvis_lhs = suspendResult;
|
|
417
|
+
if (tmp0_elvis_lhs == null) {
|
|
418
|
+
this.k8_1 = 2;
|
|
419
|
+
var tmp_0 = this;
|
|
420
|
+
continue $sm;
|
|
621
421
|
} else {
|
|
622
|
-
|
|
623
|
-
|
|
422
|
+
this.b55_1 = tmp0_elvis_lhs;
|
|
423
|
+
this.k8_1 = 4;
|
|
424
|
+
continue $sm;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
case 4:
|
|
428
|
+
return this.b55_1;
|
|
429
|
+
case 5:
|
|
430
|
+
var serializer = serializerForTypeInfo(this.w54_1.m54_1.b1t(), this.y54_1);
|
|
431
|
+
this.l8_1 = 6;
|
|
432
|
+
var tmp1_subject = this.w54_1.m54_1;
|
|
433
|
+
var tmp_1;
|
|
434
|
+
if (isInterface(tmp1_subject, StringFormat)) {
|
|
435
|
+
tmp_1 = this.w54_1.m54_1.y1t(serializer, readText(this.a55_1, this.x54_1));
|
|
436
|
+
} else {
|
|
437
|
+
if (isInterface(tmp1_subject, BinaryFormat)) {
|
|
438
|
+
tmp_1 = this.w54_1.m54_1.a1u(serializer, readByteArray(this.a55_1));
|
|
624
439
|
} else {
|
|
625
|
-
discard(
|
|
626
|
-
var message = 'Unsupported format ' + toString(this.
|
|
440
|
+
discard(this.a55_1);
|
|
441
|
+
var message = 'Unsupported format ' + toString(this.w54_1.m54_1);
|
|
627
442
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
628
443
|
}
|
|
629
444
|
}
|
|
630
445
|
|
|
631
|
-
return
|
|
632
|
-
case
|
|
633
|
-
this.
|
|
634
|
-
var
|
|
635
|
-
if (
|
|
636
|
-
var cause = this.
|
|
446
|
+
return tmp_1;
|
|
447
|
+
case 6:
|
|
448
|
+
this.l8_1 = 7;
|
|
449
|
+
var tmp_2 = this.n8_1;
|
|
450
|
+
if (tmp_2 instanceof Error) {
|
|
451
|
+
var cause = this.n8_1;
|
|
637
452
|
throw new JsonConvertException('Illegal input: ' + cause.message, cause);
|
|
638
453
|
} else {
|
|
639
|
-
throw this.
|
|
454
|
+
throw this.n8_1;
|
|
640
455
|
}
|
|
641
456
|
|
|
642
|
-
case
|
|
643
|
-
throw this.
|
|
457
|
+
case 7:
|
|
458
|
+
throw this.n8_1;
|
|
644
459
|
}
|
|
645
460
|
} catch ($p) {
|
|
646
461
|
var e = $p;
|
|
647
|
-
if (this.
|
|
462
|
+
if (this.l8_1 === 7) {
|
|
648
463
|
throw e;
|
|
649
464
|
} else {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
465
|
+
this.k8_1 = this.l8_1;
|
|
466
|
+
this.n8_1 = e;
|
|
652
467
|
}
|
|
653
468
|
}
|
|
654
469
|
while (true);
|
|
655
470
|
};
|
|
656
471
|
function KotlinxSerializationConverter(format) {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
472
|
+
this.m54_1 = format;
|
|
473
|
+
this.n54_1 = extensions(this.m54_1);
|
|
659
474
|
var tmp;
|
|
660
|
-
var tmp_0 = this.
|
|
475
|
+
var tmp_0 = this.m54_1;
|
|
661
476
|
if (isInterface(tmp_0, BinaryFormat)) {
|
|
662
477
|
tmp = true;
|
|
663
478
|
} else {
|
|
664
|
-
var tmp_1 = this.
|
|
479
|
+
var tmp_1 = this.m54_1;
|
|
665
480
|
tmp = isInterface(tmp_1, StringFormat);
|
|
666
481
|
}
|
|
667
482
|
// Inline function 'kotlin.require' call
|
|
668
483
|
if (!tmp) {
|
|
669
|
-
var message = 'Only binary and string formats are supported, ' + toString(this.
|
|
484
|
+
var message = 'Only binary and string formats are supported, ' + toString(this.m54_1) + ' is not supported.';
|
|
670
485
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
671
486
|
}
|
|
672
487
|
}
|
|
673
|
-
protoOf(KotlinxSerializationConverter).
|
|
488
|
+
protoOf(KotlinxSerializationConverter).d55 = function (contentType, charset, typeInfo, value, $completion) {
|
|
674
489
|
var tmp = new $serializeCOROUTINE$(this, contentType, charset, typeInfo, value, $completion);
|
|
675
|
-
tmp.
|
|
676
|
-
tmp.
|
|
677
|
-
return tmp.
|
|
490
|
+
tmp.m8_1 = Unit_instance;
|
|
491
|
+
tmp.n8_1 = null;
|
|
492
|
+
return tmp.s8();
|
|
678
493
|
};
|
|
679
|
-
protoOf(KotlinxSerializationConverter).
|
|
680
|
-
return this.
|
|
494
|
+
protoOf(KotlinxSerializationConverter).n4q = function (contentType, charset, typeInfo, value, $completion) {
|
|
495
|
+
return this.d55(contentType, charset, typeInfo, value, $completion);
|
|
681
496
|
};
|
|
682
|
-
protoOf(KotlinxSerializationConverter).
|
|
497
|
+
protoOf(KotlinxSerializationConverter).k3d = function (charset, typeInfo, content, $completion) {
|
|
683
498
|
var tmp = new $deserializeCOROUTINE$(this, charset, typeInfo, content, $completion);
|
|
684
|
-
tmp.
|
|
685
|
-
tmp.
|
|
686
|
-
return tmp.
|
|
499
|
+
tmp.m8_1 = Unit_instance;
|
|
500
|
+
tmp.n8_1 = null;
|
|
501
|
+
return tmp.s8();
|
|
687
502
|
};
|
|
688
503
|
function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
689
504
|
var module_0 = _this__u8e3s4;
|
|
690
|
-
var tmp0_safe_receiver = typeInfo.
|
|
505
|
+
var tmp0_safe_receiver = typeInfo.w2j_1;
|
|
691
506
|
var tmp;
|
|
692
507
|
if (tmp0_safe_receiver == null) {
|
|
693
508
|
tmp = null;
|
|
@@ -697,20 +512,21 @@ function serializerForTypeInfo(_this__u8e3s4, typeInfo) {
|
|
|
697
512
|
if (tmp0_safe_receiver.k().r()) {
|
|
698
513
|
tmp_0 = null;
|
|
699
514
|
} else {
|
|
700
|
-
|
|
515
|
+
var tmp0_elvis_lhs = serializerOrNull(module_0, tmp0_safe_receiver);
|
|
516
|
+
tmp_0 = tmp0_elvis_lhs == null ? checkTypeParameters(tmp0_safe_receiver, typeInfo, module_0) : tmp0_elvis_lhs;
|
|
701
517
|
}
|
|
702
518
|
tmp = tmp_0;
|
|
703
519
|
}
|
|
704
520
|
var tmp1_elvis_lhs = tmp;
|
|
705
521
|
var tmp_1;
|
|
706
522
|
if (tmp1_elvis_lhs == null) {
|
|
707
|
-
var tmp2_safe_receiver = module_0.
|
|
523
|
+
var tmp2_safe_receiver = module_0.f1u(typeInfo.v2j_1);
|
|
708
524
|
tmp_1 = tmp2_safe_receiver == null ? null : maybeNullable(tmp2_safe_receiver, typeInfo);
|
|
709
525
|
} else {
|
|
710
526
|
tmp_1 = tmp1_elvis_lhs;
|
|
711
527
|
}
|
|
712
528
|
var tmp3_elvis_lhs = tmp_1;
|
|
713
|
-
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.
|
|
529
|
+
return tmp3_elvis_lhs == null ? maybeNullable(serializer(typeInfo.v2j_1), typeInfo) : tmp3_elvis_lhs;
|
|
714
530
|
}
|
|
715
531
|
function guessSerializer(value, module_0) {
|
|
716
532
|
var tmp;
|
|
@@ -740,7 +556,7 @@ function guessSerializer(value, module_0) {
|
|
|
740
556
|
var valueSerializer = elementSerializer(value.w2(), module_0);
|
|
741
557
|
tmp = MapSerializer(keySerializer, valueSerializer);
|
|
742
558
|
} else {
|
|
743
|
-
var tmp3_elvis_lhs = module_0.
|
|
559
|
+
var tmp3_elvis_lhs = module_0.f1u(getKClassFromExpression(value));
|
|
744
560
|
tmp = tmp3_elvis_lhs == null ? serializer(getKClassFromExpression(value)) : tmp3_elvis_lhs;
|
|
745
561
|
}
|
|
746
562
|
}
|
|
@@ -750,9 +566,66 @@ function guessSerializer(value, module_0) {
|
|
|
750
566
|
var tmp_1 = tmp;
|
|
751
567
|
return isInterface(tmp_1, KSerializer) ? tmp_1 : THROW_CCE();
|
|
752
568
|
}
|
|
569
|
+
function checkTypeParameters(type, typeInfo, module_0) {
|
|
570
|
+
// Inline function 'kotlin.collections.mapNotNull' call
|
|
571
|
+
var tmp0 = type.k();
|
|
572
|
+
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
573
|
+
var destination = ArrayList_init_$Create$();
|
|
574
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
575
|
+
var _iterator__ex2g4s = tmp0.t();
|
|
576
|
+
while (_iterator__ex2g4s.u()) {
|
|
577
|
+
var element = _iterator__ex2g4s.v();
|
|
578
|
+
var tmp;
|
|
579
|
+
try {
|
|
580
|
+
var tmp0_safe_receiver = element.zi_1;
|
|
581
|
+
var tmp_0;
|
|
582
|
+
if (tmp0_safe_receiver == null) {
|
|
583
|
+
tmp_0 = null;
|
|
584
|
+
} else {
|
|
585
|
+
// Inline function 'kotlin.takeIf' call
|
|
586
|
+
var tmp_1;
|
|
587
|
+
if (serializerOrNull(module_0, tmp0_safe_receiver) == null) {
|
|
588
|
+
tmp_1 = tmp0_safe_receiver;
|
|
589
|
+
} else {
|
|
590
|
+
tmp_1 = null;
|
|
591
|
+
}
|
|
592
|
+
tmp_0 = tmp_1;
|
|
593
|
+
}
|
|
594
|
+
tmp = tmp_0;
|
|
595
|
+
} catch ($p) {
|
|
596
|
+
var tmp_2;
|
|
597
|
+
if ($p instanceof Exception) {
|
|
598
|
+
var _unused_var__etf5q3 = $p;
|
|
599
|
+
return null;
|
|
600
|
+
} else {
|
|
601
|
+
throw $p;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
if (tmp == null)
|
|
605
|
+
null;
|
|
606
|
+
else {
|
|
607
|
+
// Inline function 'kotlin.let' call
|
|
608
|
+
destination.e1(tmp);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
var nonSerializableArgs = destination;
|
|
612
|
+
if (nonSerializableArgs.r())
|
|
613
|
+
return null;
|
|
614
|
+
var argNames = joinToString(nonSerializableArgs, VOID, VOID, VOID, VOID, VOID, checkTypeParameters$lambda);
|
|
615
|
+
var tmp_3;
|
|
616
|
+
if (nonSerializableArgs.g1() === 1) {
|
|
617
|
+
tmp_3 = to('', 'is');
|
|
618
|
+
} else {
|
|
619
|
+
tmp_3 = to('s', 'are');
|
|
620
|
+
}
|
|
621
|
+
var _destruct__k2r9zo = tmp_3;
|
|
622
|
+
var s = _destruct__k2r9zo.te();
|
|
623
|
+
var be = _destruct__k2r9zo.ue();
|
|
624
|
+
throw SerializationException_init_$Create$('Serializer for type argument' + s + ' ' + argNames + ' ' + be + " not found for '" + typeInfo.v2j_1.o() + "'. " + ('Ensure that the listed type' + s + ' ' + be + " marked as '@Serializable'."));
|
|
625
|
+
}
|
|
753
626
|
function maybeNullable(_this__u8e3s4, typeInfo) {
|
|
754
627
|
var tmp;
|
|
755
|
-
var tmp0_safe_receiver = typeInfo.
|
|
628
|
+
var tmp0_safe_receiver = typeInfo.w2j_1;
|
|
756
629
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l()) === true) {
|
|
757
630
|
tmp = get_nullable(_this__u8e3s4);
|
|
758
631
|
} else {
|
|
@@ -777,7 +650,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
777
650
|
var _iterator__ex2g4s_0 = destination.t();
|
|
778
651
|
while (_iterator__ex2g4s_0.u()) {
|
|
779
652
|
var e = _iterator__ex2g4s_0.v();
|
|
780
|
-
var key = e.
|
|
653
|
+
var key = e.q1s().v1t();
|
|
781
654
|
if (set.e1(key)) {
|
|
782
655
|
list.e1(e);
|
|
783
656
|
}
|
|
@@ -790,7 +663,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
790
663
|
var _iterator__ex2g4s_1 = serializers.t();
|
|
791
664
|
while (_iterator__ex2g4s_1.u()) {
|
|
792
665
|
var item_0 = _iterator__ex2g4s_1.v();
|
|
793
|
-
var tmp$ret$7 = item_0.
|
|
666
|
+
var tmp$ret$7 = item_0.q1s().v1t();
|
|
794
667
|
destination_0.e1(tmp$ret$7);
|
|
795
668
|
}
|
|
796
669
|
// Inline function 'kotlin.error' call
|
|
@@ -799,7 +672,7 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
799
672
|
}
|
|
800
673
|
var tmp0_elvis_lhs = singleOrNull(serializers);
|
|
801
674
|
var selected = tmp0_elvis_lhs == null ? serializer_0(StringCompanionObject_instance) : tmp0_elvis_lhs;
|
|
802
|
-
if (selected.
|
|
675
|
+
if (selected.q1s().i1u()) {
|
|
803
676
|
return selected;
|
|
804
677
|
}
|
|
805
678
|
if (!isInterface(selected, KSerializer))
|
|
@@ -832,6 +705,16 @@ function elementSerializer(_this__u8e3s4, module_0) {
|
|
|
832
705
|
}
|
|
833
706
|
return selected;
|
|
834
707
|
}
|
|
708
|
+
function checkTypeParameters$lambda(it) {
|
|
709
|
+
var clz = it.j();
|
|
710
|
+
var tmp;
|
|
711
|
+
if (!(clz == null) ? isInterface(clz, KClass) : false) {
|
|
712
|
+
tmp = "'" + clz.o() + "'";
|
|
713
|
+
} else {
|
|
714
|
+
tmp = "'" + toString(it) + "'";
|
|
715
|
+
}
|
|
716
|
+
return tmp;
|
|
717
|
+
}
|
|
835
718
|
function get_providers() {
|
|
836
719
|
return emptyList();
|
|
837
720
|
}
|
|
@@ -841,4 +724,4 @@ export {
|
|
|
841
724
|
};
|
|
842
725
|
//endregion
|
|
843
726
|
|
|
844
|
-
|
|
727
|
+
//# sourceMappingURL=ktor-ktor-serialization-kotlinx.mjs.map
|