@doordeck/doordeck-headless-sdk 0.149.0 → 0.152.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/Kermit-kermit-core.js +65 -65
- package/kotlin/Kermit-kermit.js +9 -9
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +59 -59
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +25 -25
- package/kotlin/doordeck-sdk.d.ts +1 -1
- package/kotlin/doordeck-sdk.js +13870 -15047
- package/kotlin/kotlin-kotlin-stdlib.js +4885 -4837
- package/kotlin/kotlinx-atomicfu.js +92 -88
- package/kotlin/kotlinx-coroutines-core.js +2871 -2878
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +71 -71
- package/kotlin/kotlinx-io-kotlinx-io-core.js +697 -676
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2632 -2628
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1841 -1829
- package/kotlin/ktor-ktor-client-auth.js +493 -512
- package/kotlin/ktor-ktor-client-content-negotiation.js +300 -308
- package/kotlin/ktor-ktor-client-core.js +3260 -3343
- package/kotlin/ktor-ktor-client-logging.js +1267 -1301
- package/kotlin/ktor-ktor-events.js +18 -18
- package/kotlin/ktor-ktor-http-cio.js +724 -719
- package/kotlin/ktor-ktor-http.js +1171 -1166
- package/kotlin/ktor-ktor-io.js +1413 -1440
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/kotlin/ktor-ktor-serialization-kotlinx.js +295 -311
- package/kotlin/ktor-ktor-serialization.js +128 -136
- package/kotlin/ktor-ktor-utils.js +1128 -1129
- package/kotlin/ktor-ktor-websockets.js +68 -68
- package/package.json +3 -2
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Exception = kotlin_kotlin.$_$.
|
|
5
|
-
var VOID = kotlin_kotlin.$_$.
|
|
6
|
-
var Exception_init_$Init$ = kotlin_kotlin.$_$.
|
|
7
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
8
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var Exception = kotlin_kotlin.$_$.qf;
|
|
5
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
+
var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
|
|
7
|
+
var captureStack = kotlin_kotlin.$_$.ja;
|
|
8
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
9
|
+
var initMetadataForClass = kotlin_kotlin.$_$.za;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
11
11
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
|
|
12
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
12
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.db;
|
|
13
13
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
14
14
|
var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.s1;
|
|
15
15
|
var forName = kotlin_io_ktor_ktor_io.$_$.u;
|
|
16
16
|
var isSupported = kotlin_io_ktor_ktor_io.$_$.v;
|
|
17
|
-
var equals = kotlin_kotlin.$_$.
|
|
18
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
19
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
17
|
+
var equals = kotlin_kotlin.$_$.sa;
|
|
18
|
+
var FunctionAdapter = kotlin_kotlin.$_$.fa;
|
|
19
|
+
var isInterface = kotlin_kotlin.$_$.ob;
|
|
20
20
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
21
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
22
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
25
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
21
|
+
var hashCode = kotlin_kotlin.$_$.ya;
|
|
22
|
+
var CoroutineImpl = kotlin_kotlin.$_$.h9;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
24
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
25
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.eb;
|
|
26
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
|
|
27
27
|
var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
28
28
|
var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
29
29
|
var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
configuration = tmp;
|
|
42
42
|
var tmp_0;
|
|
43
43
|
if ($super === VOID) {
|
|
44
|
-
this.
|
|
44
|
+
this.y54(contentType, converter, configuration);
|
|
45
45
|
tmp_0 = Unit_instance;
|
|
46
46
|
} else {
|
|
47
|
-
tmp_0 = $super.
|
|
47
|
+
tmp_0 = $super.y54.call(this, contentType, converter, configuration);
|
|
48
48
|
}
|
|
49
49
|
return tmp_0;
|
|
50
50
|
}
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
}
|
|
69
69
|
function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
|
|
70
70
|
var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
|
|
71
|
-
tmp.
|
|
72
|
-
tmp.
|
|
73
|
-
return tmp.
|
|
71
|
+
tmp.w8_1 = Unit_instance;
|
|
72
|
+
tmp.x8_1 = null;
|
|
73
|
+
return tmp.c9();
|
|
74
74
|
}
|
|
75
75
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
76
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
76
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().d1w_1 : defaultCharset;
|
|
77
77
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
78
78
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
79
79
|
}
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
function Configuration() {
|
|
84
84
|
}
|
|
85
85
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
86
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
87
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
88
|
-
while (_iterator__ex2g4s.
|
|
89
|
-
var charset = _iterator__ex2g4s.
|
|
86
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().d1w_1 : defaultCharset;
|
|
87
|
+
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.q2k(HttpHeaders_getInstance().l2t_1)).r();
|
|
88
|
+
while (_iterator__ex2g4s.s()) {
|
|
89
|
+
var charset = _iterator__ex2g4s.t().ig();
|
|
90
90
|
if (charset === '*')
|
|
91
91
|
return defaultCharset;
|
|
92
92
|
else if (isSupported(Charsets_getInstance(), charset))
|
|
@@ -95,20 +95,20 @@
|
|
|
95
95
|
return null;
|
|
96
96
|
}
|
|
97
97
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
98
|
-
this.
|
|
98
|
+
this.a55_1 = function_0;
|
|
99
99
|
}
|
|
100
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
101
|
-
return this.
|
|
100
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d1c = function (value, $completion) {
|
|
101
|
+
return this.a55_1(value, $completion);
|
|
102
102
|
};
|
|
103
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
104
|
-
return this.
|
|
103
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d3 = function () {
|
|
104
|
+
return this.a55_1;
|
|
105
105
|
};
|
|
106
106
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
107
107
|
var tmp;
|
|
108
108
|
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
109
109
|
var tmp_0;
|
|
110
110
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
111
|
-
tmp_0 = equals(this.
|
|
111
|
+
tmp_0 = equals(this.d3(), other.d3());
|
|
112
112
|
} else {
|
|
113
113
|
tmp_0 = false;
|
|
114
114
|
}
|
|
@@ -119,52 +119,46 @@
|
|
|
119
119
|
return tmp;
|
|
120
120
|
};
|
|
121
121
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
122
|
-
return hashCode(this.
|
|
122
|
+
return hashCode(this.d3());
|
|
123
123
|
};
|
|
124
124
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
125
|
+
this.j55_1 = $$this$unsafeFlow;
|
|
126
|
+
this.k55_1 = $charset;
|
|
127
|
+
this.l55_1 = $typeInfo;
|
|
128
|
+
this.m55_1 = $body;
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(deserialize$o$collect$slambda).
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
131
|
+
protoOf(deserialize$o$collect$slambda).p55 = function (value, $completion) {
|
|
132
|
+
var tmp = this.q55(value, $completion);
|
|
133
|
+
tmp.w8_1 = Unit_instance;
|
|
134
|
+
tmp.x8_1 = null;
|
|
135
|
+
return tmp.c9();
|
|
136
136
|
};
|
|
137
|
-
protoOf(deserialize$o$collect$slambda).
|
|
138
|
-
return this.
|
|
137
|
+
protoOf(deserialize$o$collect$slambda).o9 = function (p1, $completion) {
|
|
138
|
+
return this.p55((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
|
-
protoOf(deserialize$o$collect$slambda).
|
|
141
|
-
var suspendResult = this.
|
|
140
|
+
protoOf(deserialize$o$collect$slambda).c9 = function () {
|
|
141
|
+
var suspendResult = this.w8_1;
|
|
142
142
|
$sm: do
|
|
143
143
|
try {
|
|
144
|
-
var tmp = this.
|
|
144
|
+
var tmp = this.u8_1;
|
|
145
145
|
switch (tmp) {
|
|
146
146
|
case 0:
|
|
147
|
-
this.
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
this.
|
|
153
|
-
this.y3f_1 = this.w3f_1;
|
|
154
|
-
var tmp_2 = this;
|
|
155
|
-
tmp_2.z3f_1 = this.y3f_1;
|
|
156
|
-
this.a3g_1 = this.z3f_1;
|
|
157
|
-
this.n9_1 = 1;
|
|
158
|
-
suspendResult = this.a3g_1.e3g(this.r3f_1, this.s3f_1, this.t3f_1, this);
|
|
147
|
+
this.v8_1 = 3;
|
|
148
|
+
var tmp0 = this.j55_1;
|
|
149
|
+
var tmp2 = this.n55_1;
|
|
150
|
+
this.o55_1 = tmp0;
|
|
151
|
+
this.u8_1 = 1;
|
|
152
|
+
suspendResult = tmp2.r55(this.k55_1, this.l55_1, this.m55_1, this);
|
|
159
153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
160
154
|
return suspendResult;
|
|
161
155
|
}
|
|
162
156
|
|
|
163
157
|
continue $sm;
|
|
164
158
|
case 1:
|
|
165
|
-
|
|
166
|
-
this.
|
|
167
|
-
suspendResult = this.
|
|
159
|
+
var ARGUMENT = suspendResult;
|
|
160
|
+
this.u8_1 = 2;
|
|
161
|
+
suspendResult = this.o55_1.d1c(ARGUMENT, this);
|
|
168
162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
169
163
|
return suspendResult;
|
|
170
164
|
}
|
|
@@ -173,51 +167,49 @@
|
|
|
173
167
|
case 2:
|
|
174
168
|
return Unit_instance;
|
|
175
169
|
case 3:
|
|
176
|
-
throw this.
|
|
170
|
+
throw this.x8_1;
|
|
177
171
|
}
|
|
178
172
|
} catch ($p) {
|
|
179
173
|
var e = $p;
|
|
180
|
-
if (this.
|
|
174
|
+
if (this.v8_1 === 3) {
|
|
181
175
|
throw e;
|
|
182
176
|
} else {
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
177
|
+
this.u8_1 = this.v8_1;
|
|
178
|
+
this.x8_1 = e;
|
|
185
179
|
}
|
|
186
180
|
}
|
|
187
181
|
while (true);
|
|
188
182
|
};
|
|
189
|
-
protoOf(deserialize$o$collect$slambda).
|
|
190
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
191
|
-
i.
|
|
183
|
+
protoOf(deserialize$o$collect$slambda).q55 = function (value, completion) {
|
|
184
|
+
var i = new deserialize$o$collect$slambda(this.j55_1, this.k55_1, this.l55_1, this.m55_1, completion);
|
|
185
|
+
i.n55_1 = value;
|
|
192
186
|
return i;
|
|
193
187
|
};
|
|
194
188
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
195
189
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
196
190
|
var l = function (value, $completion) {
|
|
197
|
-
return i.
|
|
191
|
+
return i.p55(value, $completion);
|
|
198
192
|
};
|
|
199
193
|
l.$arity = 1;
|
|
200
194
|
return l;
|
|
201
195
|
}
|
|
202
196
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
203
197
|
CoroutineImpl.call(this, resultContinuation);
|
|
204
|
-
this.
|
|
205
|
-
this.
|
|
198
|
+
this.a56_1 = _this__u8e3s4;
|
|
199
|
+
this.b56_1 = collector;
|
|
206
200
|
}
|
|
207
|
-
protoOf($collectCOROUTINE$).
|
|
208
|
-
var suspendResult = this.
|
|
201
|
+
protoOf($collectCOROUTINE$).c9 = function () {
|
|
202
|
+
var suspendResult = this.w8_1;
|
|
209
203
|
$sm: do
|
|
210
204
|
try {
|
|
211
|
-
var tmp = this.
|
|
205
|
+
var tmp = this.u8_1;
|
|
212
206
|
switch (tmp) {
|
|
213
207
|
case 0:
|
|
214
|
-
this.
|
|
215
|
-
var
|
|
216
|
-
|
|
217
|
-
this.
|
|
218
|
-
this.
|
|
219
|
-
var tmp_1 = deserialize$o$collect$slambda_0(this.q3g_1, this.n3g_1.s3g_1, this.n3g_1.t3g_1, this.n3g_1.u3g_1, null);
|
|
220
|
-
suspendResult = this.n3g_1.r3g_1.q1a(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
208
|
+
this.v8_1 = 2;
|
|
209
|
+
var $this$unsafeFlow = this.b56_1;
|
|
210
|
+
this.u8_1 = 1;
|
|
211
|
+
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.a56_1.d56_1, this.a56_1.e56_1, this.a56_1.f56_1, null);
|
|
212
|
+
suspendResult = this.a56_1.c56_1.f1c(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
221
213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
222
214
|
return suspendResult;
|
|
223
215
|
}
|
|
@@ -226,57 +218,57 @@
|
|
|
226
218
|
case 1:
|
|
227
219
|
return Unit_instance;
|
|
228
220
|
case 2:
|
|
229
|
-
throw this.
|
|
221
|
+
throw this.x8_1;
|
|
230
222
|
}
|
|
231
223
|
} catch ($p) {
|
|
232
224
|
var e = $p;
|
|
233
|
-
if (this.
|
|
225
|
+
if (this.v8_1 === 2) {
|
|
234
226
|
throw e;
|
|
235
227
|
} else {
|
|
236
|
-
this.
|
|
237
|
-
this.
|
|
228
|
+
this.u8_1 = this.v8_1;
|
|
229
|
+
this.x8_1 = e;
|
|
238
230
|
}
|
|
239
231
|
}
|
|
240
232
|
while (true);
|
|
241
233
|
};
|
|
242
234
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
235
|
+
this.c56_1 = $this;
|
|
236
|
+
this.d56_1 = $charset;
|
|
237
|
+
this.e56_1 = $typeInfo;
|
|
238
|
+
this.f56_1 = $body;
|
|
247
239
|
}
|
|
248
|
-
protoOf(deserialize$$inlined$map$1).
|
|
240
|
+
protoOf(deserialize$$inlined$map$1).e1c = function (collector, $completion) {
|
|
249
241
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
250
|
-
tmp.
|
|
251
|
-
tmp.
|
|
252
|
-
return tmp.
|
|
242
|
+
tmp.w8_1 = Unit_instance;
|
|
243
|
+
tmp.x8_1 = null;
|
|
244
|
+
return tmp.c9();
|
|
253
245
|
};
|
|
254
|
-
protoOf(deserialize$$inlined$map$1).
|
|
255
|
-
return this.
|
|
246
|
+
protoOf(deserialize$$inlined$map$1).f1c = function (collector, $completion) {
|
|
247
|
+
return this.e1c(collector, $completion);
|
|
256
248
|
};
|
|
257
249
|
function deserialize$slambda($body, resultContinuation) {
|
|
258
|
-
this.
|
|
250
|
+
this.o56_1 = $body;
|
|
259
251
|
CoroutineImpl.call(this, resultContinuation);
|
|
260
252
|
}
|
|
261
|
-
protoOf(deserialize$slambda).
|
|
262
|
-
var tmp = this.
|
|
263
|
-
tmp.
|
|
264
|
-
tmp.
|
|
265
|
-
return tmp.
|
|
253
|
+
protoOf(deserialize$slambda).q56 = function (it, $completion) {
|
|
254
|
+
var tmp = this.q55(it, $completion);
|
|
255
|
+
tmp.w8_1 = Unit_instance;
|
|
256
|
+
tmp.x8_1 = null;
|
|
257
|
+
return tmp.c9();
|
|
266
258
|
};
|
|
267
|
-
protoOf(deserialize$slambda).
|
|
268
|
-
return this.
|
|
259
|
+
protoOf(deserialize$slambda).o9 = function (p1, $completion) {
|
|
260
|
+
return this.q56((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
269
261
|
};
|
|
270
|
-
protoOf(deserialize$slambda).
|
|
271
|
-
var suspendResult = this.
|
|
262
|
+
protoOf(deserialize$slambda).c9 = function () {
|
|
263
|
+
var suspendResult = this.w8_1;
|
|
272
264
|
$sm: do
|
|
273
265
|
try {
|
|
274
|
-
var tmp = this.
|
|
266
|
+
var tmp = this.u8_1;
|
|
275
267
|
if (tmp === 0) {
|
|
276
|
-
this.
|
|
277
|
-
return !(this.
|
|
268
|
+
this.v8_1 = 1;
|
|
269
|
+
return !(this.p56_1 == null) || this.o56_1.g1m();
|
|
278
270
|
} else if (tmp === 1) {
|
|
279
|
-
throw this.
|
|
271
|
+
throw this.x8_1;
|
|
280
272
|
}
|
|
281
273
|
} catch ($p) {
|
|
282
274
|
var e = $p;
|
|
@@ -284,38 +276,38 @@
|
|
|
284
276
|
}
|
|
285
277
|
while (true);
|
|
286
278
|
};
|
|
287
|
-
protoOf(deserialize$slambda).
|
|
288
|
-
var i = new deserialize$slambda(this.
|
|
289
|
-
i.
|
|
279
|
+
protoOf(deserialize$slambda).q55 = function (it, completion) {
|
|
280
|
+
var i = new deserialize$slambda(this.o56_1, completion);
|
|
281
|
+
i.p56_1 = it;
|
|
290
282
|
return i;
|
|
291
283
|
};
|
|
292
284
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
293
285
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
294
286
|
var l = function (it, $completion) {
|
|
295
|
-
return i.
|
|
287
|
+
return i.q56(it, $completion);
|
|
296
288
|
};
|
|
297
289
|
l.$arity = 1;
|
|
298
290
|
return l;
|
|
299
291
|
}
|
|
300
292
|
function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
301
293
|
CoroutineImpl.call(this, resultContinuation);
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
294
|
+
this.u54_1 = _this__u8e3s4;
|
|
295
|
+
this.v54_1 = body;
|
|
296
|
+
this.w54_1 = typeInfo;
|
|
297
|
+
this.x54_1 = charset;
|
|
306
298
|
}
|
|
307
|
-
protoOf($deserializeCOROUTINE$).
|
|
308
|
-
var suspendResult = this.
|
|
299
|
+
protoOf($deserializeCOROUTINE$).c9 = function () {
|
|
300
|
+
var suspendResult = this.w8_1;
|
|
309
301
|
$sm: do
|
|
310
302
|
try {
|
|
311
|
-
var tmp = this.
|
|
303
|
+
var tmp = this.u8_1;
|
|
312
304
|
switch (tmp) {
|
|
313
305
|
case 0:
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
var this_0 = asFlow(this.
|
|
317
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
318
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
306
|
+
this.v8_1 = 2;
|
|
307
|
+
this.u8_1 = 1;
|
|
308
|
+
var this_0 = asFlow(this.u54_1);
|
|
309
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.x54_1, this.w54_1, this.v54_1);
|
|
310
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.v54_1, null), this);
|
|
319
311
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
320
312
|
return suspendResult;
|
|
321
313
|
}
|
|
@@ -327,29 +319,29 @@
|
|
|
327
319
|
if (!(result == null)) {
|
|
328
320
|
tmp_1 = result;
|
|
329
321
|
} else {
|
|
330
|
-
if (!this.
|
|
331
|
-
tmp_1 = this.
|
|
322
|
+
if (!this.v54_1.g1m()) {
|
|
323
|
+
tmp_1 = this.v54_1;
|
|
332
324
|
} else {
|
|
333
|
-
var tmp0_safe_receiver = this.
|
|
334
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
325
|
+
var tmp0_safe_receiver = this.w54_1.c2q_1;
|
|
326
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.lb()) === true) {
|
|
335
327
|
tmp_1 = NullBody_instance;
|
|
336
328
|
} else {
|
|
337
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
329
|
+
throw new ContentConvertException('No suitable converter found for ' + this.w54_1.toString());
|
|
338
330
|
}
|
|
339
331
|
}
|
|
340
332
|
}
|
|
341
333
|
|
|
342
334
|
return tmp_1;
|
|
343
335
|
case 2:
|
|
344
|
-
throw this.
|
|
336
|
+
throw this.x8_1;
|
|
345
337
|
}
|
|
346
338
|
} catch ($p) {
|
|
347
339
|
var e = $p;
|
|
348
|
-
if (this.
|
|
340
|
+
if (this.v8_1 === 2) {
|
|
349
341
|
throw e;
|
|
350
342
|
} else {
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
343
|
+
this.u8_1 = this.v8_1;
|
|
344
|
+
this.x8_1 = e;
|
|
353
345
|
}
|
|
354
346
|
}
|
|
355
347
|
while (true);
|