@solibo/solibo-sdk 1.5.18 → 1.6.1
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/KmLogging-logging.mjs +110 -110
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1545 -1545
- package/KotlinBigInteger-bignum.mjs +1198 -1198
- package/MultiplatformSettings-multiplatform-settings-test.mjs +19 -19
- package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
- package/cryptography-kotlin-cryptography-core.mjs +49 -49
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
- package/cryptography-kotlin-cryptography-random.mjs +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +332 -332
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +2141 -2051
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2488 -2461
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +451 -451
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1832 -1832
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
- package/ktor-ktor-client-auth.mjs +463 -463
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +4457 -4456
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +785 -0
- package/ktor-ktor-client-encoding.mjs.map +1 -0
- package/ktor-ktor-client-logging.mjs +1080 -1080
- package/ktor-ktor-client-mock.mjs +79 -79
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +480 -480
- package/ktor-ktor-http.mjs +1296 -997
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1120 -1097
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +228 -228
- package/ktor-ktor-serialization.mjs +105 -105
- package/ktor-ktor-utils.mjs +1152 -1041
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +741 -741
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +77103 -73805
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +318 -3
- package/solibo-sdk-sdk.mjs +6928 -6854
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -129,10 +129,10 @@ initMetadataForCoroutine($logResponseBodyCOROUTINE$, CoroutineImpl);
|
|
|
129
129
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
130
130
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
131
131
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
132
|
-
return this.
|
|
132
|
+
return this.grr(contentLength, contentType, headers, body, $completion);
|
|
133
133
|
}
|
|
134
134
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.grr(contentLength, contentType, headers, body, $completion);
|
|
136
136
|
}
|
|
137
137
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
138
138
|
function get_byteSize() {
|
|
@@ -186,177 +186,177 @@ initMetadataForObject(MDCContextElement, 'MDCContextElement', VOID, VOID, [Eleme
|
|
|
186
186
|
//endregion
|
|
187
187
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
188
188
|
CoroutineImpl.call(this, resultContinuation);
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
189
|
+
this.wrp_1 = _this__u8e3s4;
|
|
190
|
+
this.xrp_1 = message;
|
|
191
191
|
}
|
|
192
|
-
protoOf($logResponseExceptionCOROUTINE$).
|
|
193
|
-
var suspendResult = this.
|
|
192
|
+
protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
193
|
+
var suspendResult = this.o9_1;
|
|
194
194
|
$sm: do
|
|
195
195
|
try {
|
|
196
|
-
var tmp = this.
|
|
196
|
+
var tmp = this.m9_1;
|
|
197
197
|
switch (tmp) {
|
|
198
198
|
case 0:
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
-
suspendResult = this.
|
|
199
|
+
this.n9_1 = 2;
|
|
200
|
+
this.m9_1 = 1;
|
|
201
|
+
suspendResult = this.wrp_1.brq_1.c1x(this);
|
|
202
202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
203
203
|
return suspendResult;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
continue $sm;
|
|
207
207
|
case 1:
|
|
208
|
-
var this_0 = this.
|
|
209
|
-
this.
|
|
208
|
+
var this_0 = this.xrp_1;
|
|
209
|
+
this.wrp_1.yrp_1.frq(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
210
210
|
return Unit_instance;
|
|
211
211
|
case 2:
|
|
212
|
-
throw this.
|
|
212
|
+
throw this.p9_1;
|
|
213
213
|
}
|
|
214
214
|
} catch ($p) {
|
|
215
215
|
var e = $p;
|
|
216
|
-
if (this.
|
|
216
|
+
if (this.n9_1 === 2) {
|
|
217
217
|
throw e;
|
|
218
218
|
} else {
|
|
219
|
-
this.
|
|
220
|
-
this.
|
|
219
|
+
this.m9_1 = this.n9_1;
|
|
220
|
+
this.p9_1 = e;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
while (true);
|
|
224
224
|
};
|
|
225
225
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
226
226
|
CoroutineImpl.call(this, resultContinuation);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.orq_1 = _this__u8e3s4;
|
|
228
|
+
this.prq_1 = message;
|
|
229
229
|
}
|
|
230
|
-
protoOf($logResponseBodyCOROUTINE$).
|
|
231
|
-
var suspendResult = this.
|
|
230
|
+
protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
231
|
+
var suspendResult = this.o9_1;
|
|
232
232
|
$sm: do
|
|
233
233
|
try {
|
|
234
|
-
var tmp = this.
|
|
234
|
+
var tmp = this.m9_1;
|
|
235
235
|
switch (tmp) {
|
|
236
236
|
case 0:
|
|
237
|
-
this.
|
|
238
|
-
this.
|
|
239
|
-
suspendResult = this.
|
|
237
|
+
this.n9_1 = 2;
|
|
238
|
+
this.m9_1 = 1;
|
|
239
|
+
suspendResult = this.orq_1.crq_1.c1x(this);
|
|
240
240
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
241
241
|
return suspendResult;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
continue $sm;
|
|
245
245
|
case 1:
|
|
246
|
-
this.
|
|
246
|
+
this.orq_1.arq_1.q(this.prq_1);
|
|
247
247
|
return Unit_instance;
|
|
248
248
|
case 2:
|
|
249
|
-
throw this.
|
|
249
|
+
throw this.p9_1;
|
|
250
250
|
}
|
|
251
251
|
} catch ($p) {
|
|
252
252
|
var e = $p;
|
|
253
|
-
if (this.
|
|
253
|
+
if (this.n9_1 === 2) {
|
|
254
254
|
throw e;
|
|
255
255
|
} else {
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
256
|
+
this.m9_1 = this.n9_1;
|
|
257
|
+
this.p9_1 = e;
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
while (true);
|
|
261
261
|
};
|
|
262
262
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
|
-
this.
|
|
264
|
+
this.yrq_1 = _this__u8e3s4;
|
|
265
265
|
}
|
|
266
|
-
protoOf($closeResponseLogCOROUTINE$).
|
|
267
|
-
var suspendResult = this.
|
|
266
|
+
protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
267
|
+
var suspendResult = this.o9_1;
|
|
268
268
|
$sm: do
|
|
269
269
|
try {
|
|
270
|
-
var tmp = this.
|
|
270
|
+
var tmp = this.m9_1;
|
|
271
271
|
switch (tmp) {
|
|
272
272
|
case 0:
|
|
273
|
-
this.
|
|
274
|
-
if (!this.
|
|
273
|
+
this.n9_1 = 2;
|
|
274
|
+
if (!this.yrq_1.erq_1.atomicfu$compareAndSet(false, true))
|
|
275
275
|
return Unit_instance;
|
|
276
|
-
this.
|
|
277
|
-
suspendResult = this.
|
|
276
|
+
this.m9_1 = 1;
|
|
277
|
+
suspendResult = this.yrq_1.brq_1.c1x(this);
|
|
278
278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
279
279
|
return suspendResult;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
continue $sm;
|
|
283
283
|
case 1:
|
|
284
|
-
var message = toString(trim(this.
|
|
284
|
+
var message = toString(trim(this.yrq_1.arq_1));
|
|
285
285
|
if (charSequenceLength(message) > 0) {
|
|
286
|
-
this.
|
|
286
|
+
this.yrq_1.yrp_1.frq(message);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
return Unit_instance;
|
|
290
290
|
case 2:
|
|
291
|
-
throw this.
|
|
291
|
+
throw this.p9_1;
|
|
292
292
|
}
|
|
293
293
|
} catch ($p) {
|
|
294
294
|
var e = $p;
|
|
295
|
-
if (this.
|
|
295
|
+
if (this.n9_1 === 2) {
|
|
296
296
|
throw e;
|
|
297
297
|
} else {
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
298
|
+
this.m9_1 = this.n9_1;
|
|
299
|
+
this.p9_1 = e;
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
while (true);
|
|
303
303
|
};
|
|
304
304
|
function HttpClientCallLogger(logger) {
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
}
|
|
313
|
-
protoOf(HttpClientCallLogger).
|
|
314
|
-
var tmp0 = this.
|
|
305
|
+
this.yrp_1 = logger;
|
|
306
|
+
this.zrp_1 = StringBuilder_init_$Create$();
|
|
307
|
+
this.arq_1 = StringBuilder_init_$Create$();
|
|
308
|
+
this.brq_1 = Job();
|
|
309
|
+
this.crq_1 = Job();
|
|
310
|
+
this.drq_1 = atomic$boolean$1(false);
|
|
311
|
+
this.erq_1 = atomic$boolean$1(false);
|
|
312
|
+
}
|
|
313
|
+
protoOf(HttpClientCallLogger).zrq = function (message) {
|
|
314
|
+
var tmp0 = this.zrp_1;
|
|
315
315
|
// Inline function 'kotlin.text.trim' call
|
|
316
316
|
// Inline function 'kotlin.text.appendLine' call
|
|
317
317
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
318
318
|
// Inline function 'kotlin.text.appendLine' call
|
|
319
319
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
320
320
|
};
|
|
321
|
-
protoOf(HttpClientCallLogger).
|
|
322
|
-
var tmp0 = this.
|
|
321
|
+
protoOf(HttpClientCallLogger).arr = function (message) {
|
|
322
|
+
var tmp0 = this.arq_1;
|
|
323
323
|
// Inline function 'kotlin.text.trim' call
|
|
324
324
|
// Inline function 'kotlin.text.appendLine' call
|
|
325
325
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
326
326
|
// Inline function 'kotlin.text.appendLine' call
|
|
327
327
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
328
|
-
this.
|
|
328
|
+
this.crq_1.e24();
|
|
329
329
|
};
|
|
330
|
-
protoOf(HttpClientCallLogger).
|
|
330
|
+
protoOf(HttpClientCallLogger).brr = function (message, $completion) {
|
|
331
331
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
332
|
-
tmp.
|
|
333
|
-
tmp.
|
|
334
|
-
return tmp.
|
|
332
|
+
tmp.o9_1 = Unit_instance;
|
|
333
|
+
tmp.p9_1 = null;
|
|
334
|
+
return tmp.u9();
|
|
335
335
|
};
|
|
336
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
+
protoOf(HttpClientCallLogger).crr = function (message, $completion) {
|
|
337
337
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
338
|
-
tmp.
|
|
339
|
-
tmp.
|
|
340
|
-
return tmp.
|
|
338
|
+
tmp.o9_1 = Unit_instance;
|
|
339
|
+
tmp.p9_1 = null;
|
|
340
|
+
return tmp.u9();
|
|
341
341
|
};
|
|
342
|
-
protoOf(HttpClientCallLogger).
|
|
343
|
-
if (!this.
|
|
342
|
+
protoOf(HttpClientCallLogger).drr = function () {
|
|
343
|
+
if (!this.drq_1.atomicfu$compareAndSet(false, true))
|
|
344
344
|
return Unit_instance;
|
|
345
345
|
try {
|
|
346
|
-
var message = toString(trim(this.
|
|
346
|
+
var message = toString(trim(this.zrp_1));
|
|
347
347
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
348
348
|
if (charSequenceLength(message) > 0) {
|
|
349
|
-
this.
|
|
349
|
+
this.yrp_1.frq(message);
|
|
350
350
|
}
|
|
351
351
|
}finally {
|
|
352
|
-
this.
|
|
352
|
+
this.brq_1.e24();
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
|
-
protoOf(HttpClientCallLogger).
|
|
355
|
+
protoOf(HttpClientCallLogger).err = function ($completion) {
|
|
356
356
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
357
|
-
tmp.
|
|
358
|
-
tmp.
|
|
359
|
-
return tmp.
|
|
357
|
+
tmp.o9_1 = Unit_instance;
|
|
358
|
+
tmp.p9_1 = null;
|
|
359
|
+
return tmp.u9();
|
|
360
360
|
};
|
|
361
361
|
function get_BinaryLogBodyFilter() {
|
|
362
362
|
_init_properties_LogBodyFilter_kt__oen9w();
|
|
@@ -374,75 +374,75 @@ function Empty_getInstance() {
|
|
|
374
374
|
function Skip(reason, byteSize) {
|
|
375
375
|
reason = reason === VOID ? null : reason;
|
|
376
376
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
377
|
+
this.jrr_1 = reason;
|
|
378
|
+
this.krr_1 = byteSize;
|
|
379
379
|
}
|
|
380
|
-
protoOf(Skip).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(Skip).irr = function () {
|
|
381
|
+
return this.krr_1;
|
|
382
382
|
};
|
|
383
383
|
function Content() {
|
|
384
384
|
}
|
|
385
385
|
function BufferContent(buffer, charset, byteSize) {
|
|
386
386
|
byteSize = byteSize === VOID ? buffer.g1() : byteSize;
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
387
|
+
this.lrr_1 = buffer;
|
|
388
|
+
this.mrr_1 = charset;
|
|
389
|
+
this.nrr_1 = byteSize;
|
|
390
390
|
}
|
|
391
|
-
protoOf(BufferContent).
|
|
392
|
-
return this.
|
|
391
|
+
protoOf(BufferContent).irr = function () {
|
|
392
|
+
return this.nrr_1;
|
|
393
393
|
};
|
|
394
|
-
protoOf(BufferContent).
|
|
395
|
-
return readText(this.
|
|
394
|
+
protoOf(BufferContent).v6g = function () {
|
|
395
|
+
return readText(this.lrr_1, this.mrr_1);
|
|
396
396
|
};
|
|
397
397
|
function BodyFilterResult() {
|
|
398
398
|
}
|
|
399
399
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
400
400
|
CoroutineImpl.call(this, resultContinuation);
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
}
|
|
407
|
-
protoOf($filterAllCOROUTINE$).
|
|
408
|
-
var suspendResult = this.
|
|
401
|
+
this.wrr_1 = _this__u8e3s4;
|
|
402
|
+
this.xrr_1 = contentLength;
|
|
403
|
+
this.yrr_1 = contentType;
|
|
404
|
+
this.zrr_1 = headers;
|
|
405
|
+
this.ars_1 = body;
|
|
406
|
+
}
|
|
407
|
+
protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
408
|
+
var suspendResult = this.o9_1;
|
|
409
409
|
$sm: do
|
|
410
410
|
try {
|
|
411
|
-
var tmp = this.
|
|
411
|
+
var tmp = this.m9_1;
|
|
412
412
|
switch (tmp) {
|
|
413
413
|
case 0:
|
|
414
|
-
this.
|
|
415
|
-
if (this.
|
|
416
|
-
return new Skip('encoded', this.
|
|
414
|
+
this.n9_1 = 6;
|
|
415
|
+
if (this.zrr_1.y3b('Content-Encoding')) {
|
|
416
|
+
return new Skip('encoded', this.xrr_1);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
if (!(this.
|
|
420
|
-
this.
|
|
421
|
-
suspendResult = readBuffer(this.
|
|
419
|
+
if (!(this.yrr_1 == null) && isTextType(this.yrr_1)) {
|
|
420
|
+
this.m9_1 = 5;
|
|
421
|
+
suspendResult = readBuffer(this.ars_1, this);
|
|
422
422
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
423
423
|
return suspendResult;
|
|
424
424
|
}
|
|
425
425
|
continue $sm;
|
|
426
426
|
} else {
|
|
427
|
-
this.
|
|
427
|
+
this.m9_1 = 1;
|
|
428
428
|
continue $sm;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
case 1:
|
|
432
432
|
var tmp_0 = this;
|
|
433
433
|
var tmp_1;
|
|
434
|
-
if (!(this.
|
|
435
|
-
var tmp1_elvis_lhs = charset(this.
|
|
436
|
-
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
434
|
+
if (!(this.yrr_1 == null)) {
|
|
435
|
+
var tmp1_elvis_lhs = charset(this.yrr_1);
|
|
436
|
+
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp1_elvis_lhs;
|
|
437
437
|
} else {
|
|
438
|
-
tmp_1 = Charsets_getInstance().
|
|
438
|
+
tmp_1 = Charsets_getInstance().k37_1;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
tmp_0.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
suspendResult = readAvailable(this.
|
|
441
|
+
tmp_0.grs_1 = tmp_1;
|
|
442
|
+
this.frs_1 = false;
|
|
443
|
+
this.ers_1 = new Int8Array(1024);
|
|
444
|
+
this.m9_1 = 2;
|
|
445
|
+
suspendResult = readAvailable(this.ars_1, this.ers_1, VOID, VOID, this);
|
|
446
446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
447
447
|
return suspendResult;
|
|
448
448
|
}
|
|
@@ -455,16 +455,16 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
var this_0 = new Buffer();
|
|
458
|
-
writeFully(this_0, this.
|
|
458
|
+
writeFully(this_0, this.ers_1, 0, firstReadSize);
|
|
459
459
|
var buffer = this_0;
|
|
460
460
|
var tmp_2;
|
|
461
461
|
try {
|
|
462
|
-
tmp_2 = decode(this.
|
|
462
|
+
tmp_2 = decode(this.grs_1.n37(), buffer);
|
|
463
463
|
} catch ($p) {
|
|
464
464
|
var tmp_3;
|
|
465
465
|
if ($p instanceof MalformedInputException) {
|
|
466
466
|
var _unused_var__etf5q3 = $p;
|
|
467
|
-
this.
|
|
467
|
+
this.frs_1 = true;
|
|
468
468
|
tmp_3 = '';
|
|
469
469
|
} else {
|
|
470
470
|
throw $p;
|
|
@@ -473,7 +473,7 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
var firstChunkText = tmp_2;
|
|
476
|
-
if (!this.
|
|
476
|
+
if (!this.frs_1) {
|
|
477
477
|
var lastCharIndex = -1;
|
|
478
478
|
var inductionVariable = 0;
|
|
479
479
|
var last = firstChunkText.length;
|
|
@@ -489,23 +489,23 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
489
489
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
490
490
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
491
491
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
492
|
-
this.
|
|
492
|
+
this.frs_1 = true;
|
|
493
493
|
break $l$loop;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
if (this.
|
|
498
|
+
if (this.frs_1) {
|
|
499
499
|
var tmp_4 = this;
|
|
500
|
-
tmp_4.
|
|
501
|
-
this.
|
|
500
|
+
tmp_4.brs_1 = new Skip('binary', this.xrr_1);
|
|
501
|
+
this.m9_1 = 4;
|
|
502
502
|
continue $sm;
|
|
503
503
|
} else {
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
writeFully(this.
|
|
507
|
-
this.
|
|
508
|
-
suspendResult = readBuffer(this.
|
|
504
|
+
this.crs_1 = new Buffer();
|
|
505
|
+
this.drs_1 = this.crs_1;
|
|
506
|
+
writeFully(this.drs_1, this.ers_1, 0, firstReadSize);
|
|
507
|
+
this.m9_1 = 3;
|
|
508
|
+
suspendResult = readBuffer(this.ars_1, this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
@@ -514,41 +514,41 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
514
514
|
|
|
515
515
|
case 3:
|
|
516
516
|
var ARGUMENT = suspendResult;
|
|
517
|
-
this.
|
|
518
|
-
var ARGUMENT_0 = this.
|
|
517
|
+
this.drs_1.m2t(ARGUMENT);
|
|
518
|
+
var ARGUMENT_0 = this.crs_1;
|
|
519
519
|
var tmp_5 = this;
|
|
520
|
-
var tmp2_safe_receiver = this.
|
|
520
|
+
var tmp2_safe_receiver = this.yrr_1;
|
|
521
521
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
522
|
-
tmp_5.
|
|
523
|
-
this.
|
|
522
|
+
tmp_5.brs_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp3_elvis_lhs);
|
|
523
|
+
this.m9_1 = 4;
|
|
524
524
|
continue $sm;
|
|
525
525
|
case 4:
|
|
526
|
-
return this.
|
|
526
|
+
return this.brs_1;
|
|
527
527
|
case 5:
|
|
528
528
|
var ARGUMENT_1 = suspendResult;
|
|
529
|
-
var tmp0_elvis_lhs = charset(this.
|
|
530
|
-
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
529
|
+
var tmp0_elvis_lhs = charset(this.yrr_1);
|
|
530
|
+
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp0_elvis_lhs);
|
|
531
531
|
case 6:
|
|
532
|
-
throw this.
|
|
532
|
+
throw this.p9_1;
|
|
533
533
|
}
|
|
534
534
|
} catch ($p) {
|
|
535
535
|
var e = $p;
|
|
536
|
-
if (this.
|
|
536
|
+
if (this.n9_1 === 6) {
|
|
537
537
|
throw e;
|
|
538
538
|
} else {
|
|
539
|
-
this.
|
|
540
|
-
this.
|
|
539
|
+
this.m9_1 = this.n9_1;
|
|
540
|
+
this.p9_1 = e;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
while (true);
|
|
544
544
|
};
|
|
545
545
|
function BinaryLogBodyFilter$1() {
|
|
546
546
|
}
|
|
547
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
547
|
+
protoOf(BinaryLogBodyFilter$1).grr = function (contentLength, contentType, headers, body, $completion) {
|
|
548
548
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
549
|
-
tmp.
|
|
550
|
-
tmp.
|
|
551
|
-
return tmp.
|
|
549
|
+
tmp.o9_1 = Unit_instance;
|
|
550
|
+
tmp.p9_1 = null;
|
|
551
|
+
return tmp.u9();
|
|
552
552
|
};
|
|
553
553
|
var properties_initialized_LogBodyFilter_kt_tiz4du;
|
|
554
554
|
function _init_properties_LogBodyFilter_kt__oen9w() {
|
|
@@ -575,9 +575,9 @@ function LogLevel_initEntries() {
|
|
|
575
575
|
}
|
|
576
576
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
577
577
|
Enum.call(this, name, ordinal);
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
578
|
+
this.jrs_1 = info;
|
|
579
|
+
this.krs_1 = headers;
|
|
580
|
+
this.lrs_1 = body;
|
|
581
581
|
}
|
|
582
582
|
function LogLevel_ALL_getInstance() {
|
|
583
583
|
LogLevel_initEntries();
|
|
@@ -601,27 +601,27 @@ function LogLevel_NONE_getInstance() {
|
|
|
601
601
|
}
|
|
602
602
|
function LoggedContent(originalContent, channel) {
|
|
603
603
|
ReadChannelContent.call(this);
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
604
|
+
this.nrs_1 = originalContent;
|
|
605
|
+
this.ors_1 = channel;
|
|
606
|
+
this.prs_1 = this.nrs_1.z3w();
|
|
607
|
+
this.qrs_1 = this.nrs_1.b3x();
|
|
608
|
+
this.rrs_1 = this.nrs_1.a3x();
|
|
609
|
+
this.srs_1 = this.nrs_1.a3r();
|
|
610
610
|
}
|
|
611
|
-
protoOf(LoggedContent).
|
|
612
|
-
return this.
|
|
611
|
+
protoOf(LoggedContent).z3w = function () {
|
|
612
|
+
return this.prs_1;
|
|
613
613
|
};
|
|
614
|
-
protoOf(LoggedContent).
|
|
615
|
-
return this.
|
|
614
|
+
protoOf(LoggedContent).b3x = function () {
|
|
615
|
+
return this.qrs_1;
|
|
616
616
|
};
|
|
617
|
-
protoOf(LoggedContent).
|
|
618
|
-
return this.
|
|
617
|
+
protoOf(LoggedContent).a3x = function () {
|
|
618
|
+
return this.rrs_1;
|
|
619
619
|
};
|
|
620
|
-
protoOf(LoggedContent).
|
|
621
|
-
return this.
|
|
620
|
+
protoOf(LoggedContent).a3r = function () {
|
|
621
|
+
return this.srs_1;
|
|
622
622
|
};
|
|
623
|
-
protoOf(LoggedContent).
|
|
624
|
-
return this.
|
|
623
|
+
protoOf(LoggedContent).n3x = function () {
|
|
624
|
+
return this.ors_1;
|
|
625
625
|
};
|
|
626
626
|
function Companion() {
|
|
627
627
|
}
|
|
@@ -634,7 +634,7 @@ function get_SIMPLE(_this__u8e3s4) {
|
|
|
634
634
|
}
|
|
635
635
|
function SimpleLogger() {
|
|
636
636
|
}
|
|
637
|
-
protoOf(SimpleLogger).
|
|
637
|
+
protoOf(SimpleLogger).frq = function (message) {
|
|
638
638
|
println('HttpClient: ' + message);
|
|
639
639
|
};
|
|
640
640
|
var SimpleLogger_instance;
|
|
@@ -659,36 +659,36 @@ var Logging;
|
|
|
659
659
|
function LoggingConfig() {
|
|
660
660
|
var tmp = this;
|
|
661
661
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
662
|
-
tmp.
|
|
662
|
+
tmp.trs_1 = ArrayList_init_$Create$();
|
|
663
663
|
var tmp_0 = this;
|
|
664
664
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
665
|
-
tmp_0.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
}
|
|
671
|
-
protoOf(LoggingConfig).
|
|
672
|
-
var tmp0_elvis_lhs = this.
|
|
665
|
+
tmp_0.urs_1 = ArrayList_init_$Create$();
|
|
666
|
+
this.vrs_1 = null;
|
|
667
|
+
this.wrs_1 = LoggingFormat_Default_getInstance();
|
|
668
|
+
this.xrs_1 = LogLevel_HEADERS_getInstance();
|
|
669
|
+
this.yrs_1 = get_BinaryLogBodyFilter();
|
|
670
|
+
}
|
|
671
|
+
protoOf(LoggingConfig).zrs = function () {
|
|
672
|
+
var tmp0_elvis_lhs = this.vrs_1;
|
|
673
673
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
674
674
|
};
|
|
675
|
-
protoOf(LoggingConfig).
|
|
676
|
-
this.
|
|
675
|
+
protoOf(LoggingConfig).art = function (placeholder, predicate) {
|
|
676
|
+
this.urs_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
677
677
|
};
|
|
678
|
-
protoOf(LoggingConfig).
|
|
678
|
+
protoOf(LoggingConfig).brt = function (placeholder, predicate, $super) {
|
|
679
679
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
680
680
|
var tmp;
|
|
681
681
|
if ($super === VOID) {
|
|
682
|
-
this.
|
|
682
|
+
this.art(placeholder, predicate);
|
|
683
683
|
tmp = Unit_instance;
|
|
684
684
|
} else {
|
|
685
|
-
tmp = $super.
|
|
685
|
+
tmp = $super.art.call(this, placeholder, predicate);
|
|
686
686
|
}
|
|
687
687
|
return tmp;
|
|
688
688
|
};
|
|
689
689
|
function SanitizedHeader(placeholder, predicate) {
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.crt_1 = placeholder;
|
|
691
|
+
this.drt_1 = predicate;
|
|
692
692
|
}
|
|
693
693
|
var LoggingFormat_Default_instance;
|
|
694
694
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -711,10 +711,10 @@ function computeRequestBodySize(content) {
|
|
|
711
711
|
}
|
|
712
712
|
var tmp;
|
|
713
713
|
if (content instanceof ByteArrayContent) {
|
|
714
|
-
tmp = fromInt(content.
|
|
714
|
+
tmp = fromInt(content.c3x().length);
|
|
715
715
|
} else {
|
|
716
716
|
if (content instanceof ContentWrapper) {
|
|
717
|
-
tmp = computeRequestBodySize(content.
|
|
717
|
+
tmp = computeRequestBodySize(content.g3x());
|
|
718
718
|
} else {
|
|
719
719
|
if (content instanceof NoContent) {
|
|
720
720
|
tmp = 0n;
|
|
@@ -732,38 +732,38 @@ function computeRequestBodySize(content) {
|
|
|
732
732
|
return tmp;
|
|
733
733
|
}
|
|
734
734
|
function Context(context) {
|
|
735
|
-
this.
|
|
735
|
+
this.ert_1 = context;
|
|
736
736
|
}
|
|
737
|
-
protoOf(Context).
|
|
738
|
-
return this.
|
|
737
|
+
protoOf(Context).frt = function (content, $completion) {
|
|
738
|
+
return this.ert_1.b3h(content, $completion);
|
|
739
739
|
};
|
|
740
|
-
protoOf(Context).
|
|
741
|
-
return this.
|
|
740
|
+
protoOf(Context).grt = function ($completion) {
|
|
741
|
+
return this.ert_1.c3h($completion);
|
|
742
742
|
};
|
|
743
743
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
744
|
-
this.
|
|
744
|
+
this.prt_1 = $handler;
|
|
745
745
|
CoroutineImpl.call(this, resultContinuation);
|
|
746
746
|
}
|
|
747
|
-
protoOf(SendHook$install$slambda).
|
|
748
|
-
var tmp = this.
|
|
749
|
-
tmp.
|
|
750
|
-
tmp.
|
|
751
|
-
return tmp.
|
|
747
|
+
protoOf(SendHook$install$slambda).f4h = function ($this$intercept, it, $completion) {
|
|
748
|
+
var tmp = this.g4h($this$intercept, it, $completion);
|
|
749
|
+
tmp.o9_1 = Unit_instance;
|
|
750
|
+
tmp.p9_1 = null;
|
|
751
|
+
return tmp.u9();
|
|
752
752
|
};
|
|
753
|
-
protoOf(SendHook$install$slambda).
|
|
753
|
+
protoOf(SendHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
754
754
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
755
|
-
return this.
|
|
755
|
+
return this.f4h(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
756
756
|
};
|
|
757
|
-
protoOf(SendHook$install$slambda).
|
|
758
|
-
var suspendResult = this.
|
|
757
|
+
protoOf(SendHook$install$slambda).u9 = function () {
|
|
758
|
+
var suspendResult = this.o9_1;
|
|
759
759
|
$sm: do
|
|
760
760
|
try {
|
|
761
|
-
var tmp = this.
|
|
761
|
+
var tmp = this.m9_1;
|
|
762
762
|
switch (tmp) {
|
|
763
763
|
case 0:
|
|
764
|
-
this.
|
|
765
|
-
this.
|
|
766
|
-
suspendResult = this.
|
|
764
|
+
this.n9_1 = 2;
|
|
765
|
+
this.m9_1 = 1;
|
|
766
|
+
suspendResult = this.prt_1(new Context(this.qrt_1), this.qrt_1.x3h_1, this);
|
|
767
767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
768
768
|
return suspendResult;
|
|
769
769
|
}
|
|
@@ -772,76 +772,76 @@ protoOf(SendHook$install$slambda).t9 = function () {
|
|
|
772
772
|
case 1:
|
|
773
773
|
return Unit_instance;
|
|
774
774
|
case 2:
|
|
775
|
-
throw this.
|
|
775
|
+
throw this.p9_1;
|
|
776
776
|
}
|
|
777
777
|
} catch ($p) {
|
|
778
778
|
var e = $p;
|
|
779
|
-
if (this.
|
|
779
|
+
if (this.n9_1 === 2) {
|
|
780
780
|
throw e;
|
|
781
781
|
} else {
|
|
782
|
-
this.
|
|
783
|
-
this.
|
|
782
|
+
this.m9_1 = this.n9_1;
|
|
783
|
+
this.p9_1 = e;
|
|
784
784
|
}
|
|
785
785
|
}
|
|
786
786
|
while (true);
|
|
787
787
|
};
|
|
788
|
-
protoOf(SendHook$install$slambda).
|
|
789
|
-
var i = new SendHook$install$slambda(this.
|
|
790
|
-
i.
|
|
791
|
-
i.
|
|
788
|
+
protoOf(SendHook$install$slambda).g4h = function ($this$intercept, it, completion) {
|
|
789
|
+
var i = new SendHook$install$slambda(this.prt_1, completion);
|
|
790
|
+
i.qrt_1 = $this$intercept;
|
|
791
|
+
i.rrt_1 = it;
|
|
792
792
|
return i;
|
|
793
793
|
};
|
|
794
794
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
795
795
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
796
796
|
var l = function ($this$intercept, it, $completion) {
|
|
797
|
-
return i.
|
|
797
|
+
return i.f4h($this$intercept, it, $completion);
|
|
798
798
|
};
|
|
799
799
|
l.$arity = 2;
|
|
800
800
|
return l;
|
|
801
801
|
}
|
|
802
802
|
function SendHook() {
|
|
803
803
|
}
|
|
804
|
-
protoOf(SendHook).
|
|
805
|
-
var tmp = Phases_getInstance().
|
|
806
|
-
client.
|
|
804
|
+
protoOf(SendHook).srt = function (client, handler) {
|
|
805
|
+
var tmp = Phases_getInstance().w4i_1;
|
|
806
|
+
client.j4g_1.b3i(tmp, SendHook$install$slambda_0(handler, null));
|
|
807
807
|
};
|
|
808
|
-
protoOf(SendHook).
|
|
809
|
-
return this.
|
|
808
|
+
protoOf(SendHook).e4q = function (client, handler) {
|
|
809
|
+
return this.srt(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
810
810
|
};
|
|
811
811
|
var SendHook_instance;
|
|
812
812
|
function SendHook_getInstance() {
|
|
813
813
|
return SendHook_instance;
|
|
814
814
|
}
|
|
815
815
|
function Context_0(context) {
|
|
816
|
-
this.
|
|
816
|
+
this.trt_1 = context;
|
|
817
817
|
}
|
|
818
|
-
protoOf(Context_0).
|
|
819
|
-
return this.
|
|
818
|
+
protoOf(Context_0).l5t = function (response, $completion) {
|
|
819
|
+
return this.trt_1.b3h(response, $completion);
|
|
820
820
|
};
|
|
821
821
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
822
|
-
this.
|
|
822
|
+
this.cru_1 = $handler;
|
|
823
823
|
CoroutineImpl.call(this, resultContinuation);
|
|
824
824
|
}
|
|
825
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
826
|
-
var tmp = this.
|
|
827
|
-
tmp.
|
|
828
|
-
tmp.
|
|
829
|
-
return tmp.
|
|
825
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).q4q = function ($this$intercept, it, $completion) {
|
|
826
|
+
var tmp = this.r4q($this$intercept, it, $completion);
|
|
827
|
+
tmp.o9_1 = Unit_instance;
|
|
828
|
+
tmp.p9_1 = null;
|
|
829
|
+
return tmp.u9();
|
|
830
830
|
};
|
|
831
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
831
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
832
832
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
833
|
-
return this.
|
|
833
|
+
return this.q4q(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
834
834
|
};
|
|
835
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
836
|
-
var suspendResult = this.
|
|
835
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).u9 = function () {
|
|
836
|
+
var suspendResult = this.o9_1;
|
|
837
837
|
$sm: do
|
|
838
838
|
try {
|
|
839
|
-
var tmp = this.
|
|
839
|
+
var tmp = this.m9_1;
|
|
840
840
|
switch (tmp) {
|
|
841
841
|
case 0:
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
844
|
-
suspendResult = this.
|
|
842
|
+
this.n9_1 = 2;
|
|
843
|
+
this.m9_1 = 1;
|
|
844
|
+
suspendResult = this.cru_1(new Context_0(this.dru_1), this.dru_1.a3h(), this);
|
|
845
845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
846
846
|
return suspendResult;
|
|
847
847
|
}
|
|
@@ -850,77 +850,77 @@ protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
|
850
850
|
case 1:
|
|
851
851
|
return Unit_instance;
|
|
852
852
|
case 2:
|
|
853
|
-
throw this.
|
|
853
|
+
throw this.p9_1;
|
|
854
854
|
}
|
|
855
855
|
} catch ($p) {
|
|
856
856
|
var e = $p;
|
|
857
|
-
if (this.
|
|
857
|
+
if (this.n9_1 === 2) {
|
|
858
858
|
throw e;
|
|
859
859
|
} else {
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
860
|
+
this.m9_1 = this.n9_1;
|
|
861
|
+
this.p9_1 = e;
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
while (true);
|
|
865
865
|
};
|
|
866
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
867
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
868
|
-
i.
|
|
869
|
-
i.
|
|
866
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).r4q = function ($this$intercept, it, completion) {
|
|
867
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.cru_1, completion);
|
|
868
|
+
i.dru_1 = $this$intercept;
|
|
869
|
+
i.eru_1 = it;
|
|
870
870
|
return i;
|
|
871
871
|
};
|
|
872
872
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
873
873
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
874
874
|
var l = function ($this$intercept, it, $completion) {
|
|
875
|
-
return i.
|
|
875
|
+
return i.q4q($this$intercept, it, $completion);
|
|
876
876
|
};
|
|
877
877
|
l.$arity = 2;
|
|
878
878
|
return l;
|
|
879
879
|
}
|
|
880
880
|
function ResponseAfterEncodingHook() {
|
|
881
881
|
}
|
|
882
|
-
protoOf(ResponseAfterEncodingHook).
|
|
882
|
+
protoOf(ResponseAfterEncodingHook).fru = function (client, handler) {
|
|
883
883
|
var afterState = new PipelinePhase('AfterState');
|
|
884
|
-
client.
|
|
885
|
-
client.
|
|
884
|
+
client.k4g_1.y3h(Phases_getInstance_0().u4q_1, afterState);
|
|
885
|
+
client.k4g_1.b3i(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
886
886
|
};
|
|
887
|
-
protoOf(ResponseAfterEncodingHook).
|
|
888
|
-
return this.
|
|
887
|
+
protoOf(ResponseAfterEncodingHook).e4q = function (client, handler) {
|
|
888
|
+
return this.fru(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
889
889
|
};
|
|
890
890
|
var ResponseAfterEncodingHook_instance;
|
|
891
891
|
function ResponseAfterEncodingHook_getInstance() {
|
|
892
892
|
return ResponseAfterEncodingHook_instance;
|
|
893
893
|
}
|
|
894
894
|
function Context_1(context) {
|
|
895
|
-
this.
|
|
895
|
+
this.gru_1 = context;
|
|
896
896
|
}
|
|
897
|
-
protoOf(Context_1).
|
|
898
|
-
return this.
|
|
897
|
+
protoOf(Context_1).hru = function ($completion) {
|
|
898
|
+
return this.gru_1.c3h($completion);
|
|
899
899
|
};
|
|
900
900
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
901
|
-
this.
|
|
901
|
+
this.qru_1 = $handler;
|
|
902
902
|
CoroutineImpl.call(this, resultContinuation);
|
|
903
903
|
}
|
|
904
|
-
protoOf(ResponseHook$install$slambda).
|
|
905
|
-
var tmp = this.
|
|
906
|
-
tmp.
|
|
907
|
-
tmp.
|
|
908
|
-
return tmp.
|
|
904
|
+
protoOf(ResponseHook$install$slambda).q4q = function ($this$intercept, it, $completion) {
|
|
905
|
+
var tmp = this.r4q($this$intercept, it, $completion);
|
|
906
|
+
tmp.o9_1 = Unit_instance;
|
|
907
|
+
tmp.p9_1 = null;
|
|
908
|
+
return tmp.u9();
|
|
909
909
|
};
|
|
910
|
-
protoOf(ResponseHook$install$slambda).
|
|
910
|
+
protoOf(ResponseHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
911
911
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
912
|
-
return this.
|
|
912
|
+
return this.q4q(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
913
913
|
};
|
|
914
|
-
protoOf(ResponseHook$install$slambda).
|
|
915
|
-
var suspendResult = this.
|
|
914
|
+
protoOf(ResponseHook$install$slambda).u9 = function () {
|
|
915
|
+
var suspendResult = this.o9_1;
|
|
916
916
|
$sm: do
|
|
917
917
|
try {
|
|
918
|
-
var tmp = this.
|
|
918
|
+
var tmp = this.m9_1;
|
|
919
919
|
switch (tmp) {
|
|
920
920
|
case 0:
|
|
921
|
-
this.
|
|
922
|
-
this.
|
|
923
|
-
suspendResult = this.
|
|
921
|
+
this.n9_1 = 2;
|
|
922
|
+
this.m9_1 = 1;
|
|
923
|
+
suspendResult = this.qru_1(new Context_1(this.rru_1), this.rru_1.a3h(), this);
|
|
924
924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
925
925
|
return suspendResult;
|
|
926
926
|
}
|
|
@@ -929,76 +929,76 @@ protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
|
929
929
|
case 1:
|
|
930
930
|
return Unit_instance;
|
|
931
931
|
case 2:
|
|
932
|
-
throw this.
|
|
932
|
+
throw this.p9_1;
|
|
933
933
|
}
|
|
934
934
|
} catch ($p) {
|
|
935
935
|
var e = $p;
|
|
936
|
-
if (this.
|
|
936
|
+
if (this.n9_1 === 2) {
|
|
937
937
|
throw e;
|
|
938
938
|
} else {
|
|
939
|
-
this.
|
|
940
|
-
this.
|
|
939
|
+
this.m9_1 = this.n9_1;
|
|
940
|
+
this.p9_1 = e;
|
|
941
941
|
}
|
|
942
942
|
}
|
|
943
943
|
while (true);
|
|
944
944
|
};
|
|
945
|
-
protoOf(ResponseHook$install$slambda).
|
|
946
|
-
var i = new ResponseHook$install$slambda(this.
|
|
947
|
-
i.
|
|
948
|
-
i.
|
|
945
|
+
protoOf(ResponseHook$install$slambda).r4q = function ($this$intercept, it, completion) {
|
|
946
|
+
var i = new ResponseHook$install$slambda(this.qru_1, completion);
|
|
947
|
+
i.rru_1 = $this$intercept;
|
|
948
|
+
i.sru_1 = it;
|
|
949
949
|
return i;
|
|
950
950
|
};
|
|
951
951
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
952
952
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
953
953
|
var l = function ($this$intercept, it, $completion) {
|
|
954
|
-
return i.
|
|
954
|
+
return i.q4q($this$intercept, it, $completion);
|
|
955
955
|
};
|
|
956
956
|
l.$arity = 2;
|
|
957
957
|
return l;
|
|
958
958
|
}
|
|
959
959
|
function ResponseHook() {
|
|
960
960
|
}
|
|
961
|
-
protoOf(ResponseHook).
|
|
962
|
-
var tmp = Phases_getInstance_0().
|
|
963
|
-
client.
|
|
961
|
+
protoOf(ResponseHook).tru = function (client, handler) {
|
|
962
|
+
var tmp = Phases_getInstance_0().u4q_1;
|
|
963
|
+
client.k4g_1.b3i(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
964
964
|
};
|
|
965
|
-
protoOf(ResponseHook).
|
|
966
|
-
return this.
|
|
965
|
+
protoOf(ResponseHook).e4q = function (client, handler) {
|
|
966
|
+
return this.tru(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
967
967
|
};
|
|
968
968
|
var ResponseHook_instance;
|
|
969
969
|
function ResponseHook_getInstance() {
|
|
970
970
|
return ResponseHook_instance;
|
|
971
971
|
}
|
|
972
972
|
function Context_2(context) {
|
|
973
|
-
this.
|
|
973
|
+
this.uru_1 = context;
|
|
974
974
|
}
|
|
975
|
-
protoOf(Context_2).
|
|
976
|
-
return this.
|
|
975
|
+
protoOf(Context_2).vru = function ($completion) {
|
|
976
|
+
return this.uru_1.c3h($completion);
|
|
977
977
|
};
|
|
978
978
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
979
|
-
this.
|
|
979
|
+
this.erv_1 = $handler;
|
|
980
980
|
CoroutineImpl.call(this, resultContinuation);
|
|
981
981
|
}
|
|
982
|
-
protoOf(ReceiveHook$install$slambda).
|
|
983
|
-
var tmp = this.
|
|
984
|
-
tmp.
|
|
985
|
-
tmp.
|
|
986
|
-
return tmp.
|
|
982
|
+
protoOf(ReceiveHook$install$slambda).a4i = function ($this$intercept, it, $completion) {
|
|
983
|
+
var tmp = this.b4i($this$intercept, it, $completion);
|
|
984
|
+
tmp.o9_1 = Unit_instance;
|
|
985
|
+
tmp.p9_1 = null;
|
|
986
|
+
return tmp.u9();
|
|
987
987
|
};
|
|
988
|
-
protoOf(ReceiveHook$install$slambda).
|
|
988
|
+
protoOf(ReceiveHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
989
989
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
990
|
-
return this.
|
|
990
|
+
return this.a4i(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
991
991
|
};
|
|
992
|
-
protoOf(ReceiveHook$install$slambda).
|
|
993
|
-
var suspendResult = this.
|
|
992
|
+
protoOf(ReceiveHook$install$slambda).u9 = function () {
|
|
993
|
+
var suspendResult = this.o9_1;
|
|
994
994
|
$sm: do
|
|
995
995
|
try {
|
|
996
|
-
var tmp = this.
|
|
996
|
+
var tmp = this.m9_1;
|
|
997
997
|
switch (tmp) {
|
|
998
998
|
case 0:
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
1001
|
-
suspendResult = this.
|
|
999
|
+
this.n9_1 = 2;
|
|
1000
|
+
this.m9_1 = 1;
|
|
1001
|
+
suspendResult = this.erv_1(new Context_2(this.frv_1), this.frv_1.x3h_1, this);
|
|
1002
1002
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1003
1003
|
return suspendResult;
|
|
1004
1004
|
}
|
|
@@ -1007,41 +1007,41 @@ protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
|
1007
1007
|
case 1:
|
|
1008
1008
|
return Unit_instance;
|
|
1009
1009
|
case 2:
|
|
1010
|
-
throw this.
|
|
1010
|
+
throw this.p9_1;
|
|
1011
1011
|
}
|
|
1012
1012
|
} catch ($p) {
|
|
1013
1013
|
var e = $p;
|
|
1014
|
-
if (this.
|
|
1014
|
+
if (this.n9_1 === 2) {
|
|
1015
1015
|
throw e;
|
|
1016
1016
|
} else {
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1017
|
+
this.m9_1 = this.n9_1;
|
|
1018
|
+
this.p9_1 = e;
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
while (true);
|
|
1022
1022
|
};
|
|
1023
|
-
protoOf(ReceiveHook$install$slambda).
|
|
1024
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1025
|
-
i.
|
|
1026
|
-
i.
|
|
1023
|
+
protoOf(ReceiveHook$install$slambda).b4i = function ($this$intercept, it, completion) {
|
|
1024
|
+
var i = new ReceiveHook$install$slambda(this.erv_1, completion);
|
|
1025
|
+
i.frv_1 = $this$intercept;
|
|
1026
|
+
i.grv_1 = it;
|
|
1027
1027
|
return i;
|
|
1028
1028
|
};
|
|
1029
1029
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
1030
1030
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
1031
1031
|
var l = function ($this$intercept, it, $completion) {
|
|
1032
|
-
return i.
|
|
1032
|
+
return i.a4i($this$intercept, it, $completion);
|
|
1033
1033
|
};
|
|
1034
1034
|
l.$arity = 2;
|
|
1035
1035
|
return l;
|
|
1036
1036
|
}
|
|
1037
1037
|
function ReceiveHook() {
|
|
1038
1038
|
}
|
|
1039
|
-
protoOf(ReceiveHook).
|
|
1040
|
-
var tmp = Phases_getInstance_1().
|
|
1041
|
-
client.
|
|
1039
|
+
protoOf(ReceiveHook).hrv = function (client, handler) {
|
|
1040
|
+
var tmp = Phases_getInstance_1().k4j_1;
|
|
1041
|
+
client.i4g_1.b3i(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1042
1042
|
};
|
|
1043
|
-
protoOf(ReceiveHook).
|
|
1044
|
-
return this.
|
|
1043
|
+
protoOf(ReceiveHook).e4q = function (client, handler) {
|
|
1044
|
+
return this.hrv(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1045
1045
|
};
|
|
1046
1046
|
var ReceiveHook_instance;
|
|
1047
1047
|
function ReceiveHook_getInstance() {
|
|
@@ -1056,27 +1056,27 @@ function LoggingConfig$_init_$ref_f1nb0k() {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
function Logging$lambda($this$createClientPlugin) {
|
|
1058
1058
|
_init_properties_Logging_kt__66pui5();
|
|
1059
|
-
var logger = $this$createClientPlugin.
|
|
1060
|
-
var level = $this$createClientPlugin.
|
|
1061
|
-
var filters = $this$createClientPlugin.
|
|
1062
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
1063
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
1064
|
-
var bodyFilter = $this$createClientPlugin.
|
|
1059
|
+
var logger = $this$createClientPlugin.y4q_1.zrs();
|
|
1060
|
+
var level = $this$createClientPlugin.y4q_1.xrs_1;
|
|
1061
|
+
var filters = $this$createClientPlugin.y4q_1.trs_1;
|
|
1062
|
+
var sanitizedHeaders = $this$createClientPlugin.y4q_1.urs_1;
|
|
1063
|
+
var okHttpFormat = $this$createClientPlugin.y4q_1.wrs_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1064
|
+
var bodyFilter = $this$createClientPlugin.y4q_1.yrs_1;
|
|
1065
1065
|
var tmp = SendHook_instance;
|
|
1066
|
-
$this$createClientPlugin.
|
|
1066
|
+
$this$createClientPlugin.b4r(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1067
1067
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
1068
|
-
$this$createClientPlugin.
|
|
1068
|
+
$this$createClientPlugin.b4r(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, bodyFilter, null));
|
|
1069
1069
|
var tmp_1 = ResponseHook_instance;
|
|
1070
|
-
$this$createClientPlugin.
|
|
1070
|
+
$this$createClientPlugin.b4r(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
1071
1071
|
var tmp_2 = ReceiveHook_instance;
|
|
1072
|
-
$this$createClientPlugin.
|
|
1072
|
+
$this$createClientPlugin.b4r(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, logger, null));
|
|
1073
1073
|
if (okHttpFormat)
|
|
1074
1074
|
return Unit_instance;
|
|
1075
|
-
if (!level.
|
|
1075
|
+
if (!level.lrs_1)
|
|
1076
1076
|
return Unit_instance;
|
|
1077
1077
|
var tmp_3 = get_ResponseObserver();
|
|
1078
|
-
var responseObserver = tmp_3.
|
|
1079
|
-
get_ResponseObserver().
|
|
1078
|
+
var responseObserver = tmp_3.r4j(Logging$lambda$lambda(level));
|
|
1079
|
+
get_ResponseObserver().s4j(responseObserver, $this$createClientPlugin.x4q_1);
|
|
1080
1080
|
return Unit_instance;
|
|
1081
1081
|
}
|
|
1082
1082
|
function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
@@ -1084,67 +1084,67 @@ function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
|
1084
1084
|
return it;
|
|
1085
1085
|
}
|
|
1086
1086
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
1087
|
+
this.qrv_1 = $content;
|
|
1088
|
+
this.rrv_1 = $channel;
|
|
1089
1089
|
CoroutineImpl.call(this, resultContinuation);
|
|
1090
1090
|
}
|
|
1091
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1092
|
-
var tmp = this.
|
|
1093
|
-
tmp.
|
|
1094
|
-
tmp.
|
|
1095
|
-
return tmp.
|
|
1091
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).g2j = function ($this$launch, $completion) {
|
|
1092
|
+
var tmp = this.h2j($this$launch, $completion);
|
|
1093
|
+
tmp.o9_1 = Unit_instance;
|
|
1094
|
+
tmp.p9_1 = null;
|
|
1095
|
+
return tmp.u9();
|
|
1096
1096
|
};
|
|
1097
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1098
|
-
return this.
|
|
1097
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).ga = function (p1, $completion) {
|
|
1098
|
+
return this.g2j((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1099
1099
|
};
|
|
1100
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1101
|
-
var suspendResult = this.
|
|
1100
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function () {
|
|
1101
|
+
var suspendResult = this.o9_1;
|
|
1102
1102
|
$sm: do
|
|
1103
1103
|
try {
|
|
1104
|
-
var tmp = this.
|
|
1104
|
+
var tmp = this.m9_1;
|
|
1105
1105
|
switch (tmp) {
|
|
1106
1106
|
case 0:
|
|
1107
|
-
this.
|
|
1108
|
-
this.
|
|
1109
|
-
suspendResult = this.
|
|
1107
|
+
this.n9_1 = 2;
|
|
1108
|
+
this.m9_1 = 1;
|
|
1109
|
+
suspendResult = this.qrv_1.g3y(this.rrv_1, this);
|
|
1110
1110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1111
1111
|
return suspendResult;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
continue $sm;
|
|
1115
1115
|
case 1:
|
|
1116
|
-
this.
|
|
1116
|
+
this.rrv_1.c5();
|
|
1117
1117
|
return Unit_instance;
|
|
1118
1118
|
case 2:
|
|
1119
|
-
throw this.
|
|
1119
|
+
throw this.p9_1;
|
|
1120
1120
|
}
|
|
1121
1121
|
} catch ($p) {
|
|
1122
1122
|
var e = $p;
|
|
1123
|
-
if (this.
|
|
1123
|
+
if (this.n9_1 === 2) {
|
|
1124
1124
|
throw e;
|
|
1125
1125
|
} else {
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1126
|
+
this.m9_1 = this.n9_1;
|
|
1127
|
+
this.p9_1 = e;
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
while (true);
|
|
1131
1131
|
};
|
|
1132
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1133
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1134
|
-
i.
|
|
1132
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).h2j = function ($this$launch, completion) {
|
|
1133
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.qrv_1, this.rrv_1, completion);
|
|
1134
|
+
i.srv_1 = $this$launch;
|
|
1135
1135
|
return i;
|
|
1136
1136
|
};
|
|
1137
1137
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
1138
1138
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
1139
1139
|
var l = function ($this$launch, $completion) {
|
|
1140
|
-
return i.
|
|
1140
|
+
return i.g2j($this$launch, $completion);
|
|
1141
1141
|
};
|
|
1142
1142
|
l.$arity = 1;
|
|
1143
1143
|
return l;
|
|
1144
1144
|
}
|
|
1145
1145
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1146
1146
|
_init_properties_Logging_kt__66pui5();
|
|
1147
|
-
return GZipEncoder_getInstance().
|
|
1147
|
+
return GZipEncoder_getInstance().r3c(channel);
|
|
1148
1148
|
}
|
|
1149
1149
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1150
1150
|
return function ($this$replaceResponse) {
|
|
@@ -1152,37 +1152,37 @@ function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
|
1152
1152
|
};
|
|
1153
1153
|
}
|
|
1154
1154
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1155
|
-
this.
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1155
|
+
this.brw_1 = $channel;
|
|
1156
|
+
this.crw_1 = $charset;
|
|
1157
|
+
this.drw_1 = $requestLog;
|
|
1158
|
+
this.erw_1 = $logger;
|
|
1159
1159
|
CoroutineImpl.call(this, resultContinuation);
|
|
1160
1160
|
}
|
|
1161
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1162
|
-
var tmp = this.
|
|
1163
|
-
tmp.
|
|
1164
|
-
tmp.
|
|
1165
|
-
return tmp.
|
|
1161
|
+
protoOf(Logging$lambda$logRequestBody$slambda).g2j = function ($this$launch, $completion) {
|
|
1162
|
+
var tmp = this.h2j($this$launch, $completion);
|
|
1163
|
+
tmp.o9_1 = Unit_instance;
|
|
1164
|
+
tmp.p9_1 = null;
|
|
1165
|
+
return tmp.u9();
|
|
1166
1166
|
};
|
|
1167
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1168
|
-
return this.
|
|
1167
|
+
protoOf(Logging$lambda$logRequestBody$slambda).ga = function (p1, $completion) {
|
|
1168
|
+
return this.g2j((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1169
1169
|
};
|
|
1170
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1171
|
-
var suspendResult = this.
|
|
1170
|
+
protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
1171
|
+
var suspendResult = this.o9_1;
|
|
1172
1172
|
$sm: do
|
|
1173
1173
|
try {
|
|
1174
|
-
var tmp = this.
|
|
1174
|
+
var tmp = this.m9_1;
|
|
1175
1175
|
switch (tmp) {
|
|
1176
1176
|
case 0:
|
|
1177
|
-
this.
|
|
1178
|
-
this.
|
|
1177
|
+
this.n9_1 = 7;
|
|
1178
|
+
this.m9_1 = 1;
|
|
1179
1179
|
continue $sm;
|
|
1180
1180
|
case 1:
|
|
1181
|
-
this.
|
|
1182
|
-
var tmp0 = this.
|
|
1183
|
-
this.
|
|
1184
|
-
this.
|
|
1185
|
-
this.
|
|
1181
|
+
this.n9_1 = 6;
|
|
1182
|
+
var tmp0 = this.brw_1;
|
|
1183
|
+
this.irw_1 = this.crw_1;
|
|
1184
|
+
this.n9_1 = 3;
|
|
1185
|
+
this.m9_1 = 2;
|
|
1186
1186
|
suspendResult = readRemaining(tmp0, this);
|
|
1187
1187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1188
1188
|
return suspendResult;
|
|
@@ -1191,70 +1191,70 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1191
1191
|
continue $sm;
|
|
1192
1192
|
case 2:
|
|
1193
1193
|
var ARGUMENT = suspendResult;
|
|
1194
|
-
this.
|
|
1195
|
-
this.
|
|
1196
|
-
this.
|
|
1194
|
+
this.hrw_1 = readText(ARGUMENT, this.irw_1);
|
|
1195
|
+
this.n9_1 = 6;
|
|
1196
|
+
this.m9_1 = 4;
|
|
1197
1197
|
continue $sm;
|
|
1198
1198
|
case 3:
|
|
1199
|
-
this.
|
|
1200
|
-
var tmp_0 = this.
|
|
1199
|
+
this.n9_1 = 6;
|
|
1200
|
+
var tmp_0 = this.p9_1;
|
|
1201
1201
|
if (tmp_0 instanceof Error) {
|
|
1202
|
-
var cause = this.
|
|
1202
|
+
var cause = this.p9_1;
|
|
1203
1203
|
var tmp_1 = this;
|
|
1204
|
-
tmp_1.
|
|
1205
|
-
this.
|
|
1204
|
+
tmp_1.hrw_1 = null;
|
|
1205
|
+
this.m9_1 = 4;
|
|
1206
1206
|
continue $sm;
|
|
1207
1207
|
} else {
|
|
1208
|
-
throw this.
|
|
1208
|
+
throw this.p9_1;
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
1211
|
case 4:
|
|
1212
|
-
this.
|
|
1213
|
-
var tmp0_elvis_lhs = this.
|
|
1212
|
+
this.n9_1 = 6;
|
|
1213
|
+
var tmp0_elvis_lhs = this.hrw_1;
|
|
1214
1214
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1215
|
-
var tmp0_0 = this.
|
|
1215
|
+
var tmp0_0 = this.drw_1;
|
|
1216
1216
|
var value = 'BODY START';
|
|
1217
1217
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1221
|
-
this.
|
|
1218
|
+
this.drw_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1219
|
+
this.grw_1 = this.drw_1.q('BODY END');
|
|
1220
|
+
this.n9_1 = 7;
|
|
1221
|
+
this.m9_1 = 5;
|
|
1222
1222
|
continue $sm;
|
|
1223
1223
|
case 5:
|
|
1224
|
-
this.
|
|
1225
|
-
this.
|
|
1226
|
-
this.
|
|
1227
|
-
this.
|
|
1224
|
+
this.grw_1;
|
|
1225
|
+
this.n9_1 = 7;
|
|
1226
|
+
this.erw_1.zrq(this.drw_1.toString());
|
|
1227
|
+
this.erw_1.drr();
|
|
1228
1228
|
return Unit_instance;
|
|
1229
1229
|
case 6:
|
|
1230
|
-
this.
|
|
1231
|
-
var t = this.
|
|
1232
|
-
this.
|
|
1233
|
-
this.
|
|
1230
|
+
this.n9_1 = 7;
|
|
1231
|
+
var t = this.p9_1;
|
|
1232
|
+
this.erw_1.zrq(this.drw_1.toString());
|
|
1233
|
+
this.erw_1.drr();
|
|
1234
1234
|
throw t;
|
|
1235
1235
|
case 7:
|
|
1236
|
-
throw this.
|
|
1236
|
+
throw this.p9_1;
|
|
1237
1237
|
}
|
|
1238
1238
|
} catch ($p) {
|
|
1239
1239
|
var e = $p;
|
|
1240
|
-
if (this.
|
|
1240
|
+
if (this.n9_1 === 7) {
|
|
1241
1241
|
throw e;
|
|
1242
1242
|
} else {
|
|
1243
|
-
this.
|
|
1244
|
-
this.
|
|
1243
|
+
this.m9_1 = this.n9_1;
|
|
1244
|
+
this.p9_1 = e;
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
while (true);
|
|
1248
1248
|
};
|
|
1249
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1250
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1251
|
-
i.
|
|
1249
|
+
protoOf(Logging$lambda$logRequestBody$slambda).h2j = function ($this$launch, completion) {
|
|
1250
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.brw_1, this.crw_1, this.drw_1, this.erw_1, completion);
|
|
1251
|
+
i.frw_1 = $this$launch;
|
|
1252
1252
|
return i;
|
|
1253
1253
|
};
|
|
1254
1254
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1255
1255
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1256
1256
|
var l = function ($this$launch, $completion) {
|
|
1257
|
-
return i.
|
|
1257
|
+
return i.g2j($this$launch, $completion);
|
|
1258
1258
|
};
|
|
1259
1259
|
l.$arity = 1;
|
|
1260
1260
|
return l;
|
|
@@ -1305,9 +1305,9 @@ function invoke$isBody(level) {
|
|
|
1305
1305
|
}
|
|
1306
1306
|
function invoke$logRequestBody(bodyFilter, url, content, contentLength, headers, method, logLines, body, $completion) {
|
|
1307
1307
|
var tmp = new $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, $completion);
|
|
1308
|
-
tmp.
|
|
1309
|
-
tmp.
|
|
1310
|
-
return tmp.
|
|
1308
|
+
tmp.o9_1 = Unit_instance;
|
|
1309
|
+
tmp.p9_1 = null;
|
|
1310
|
+
return tmp.u9();
|
|
1311
1311
|
}
|
|
1312
1312
|
function invoke$logOutgoingContent($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, $completion) {
|
|
1313
1313
|
var tmp;
|
|
@@ -1318,72 +1318,72 @@ function invoke$logOutgoingContent($this_createClientPlugin, bodyFilter, url, co
|
|
|
1318
1318
|
}
|
|
1319
1319
|
process = tmp;
|
|
1320
1320
|
var tmp_0 = new $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, $completion);
|
|
1321
|
-
tmp_0.
|
|
1322
|
-
tmp_0.
|
|
1323
|
-
return tmp_0.
|
|
1321
|
+
tmp_0.o9_1 = Unit_instance;
|
|
1322
|
+
tmp_0.p9_1 = null;
|
|
1323
|
+
return tmp_0.u9();
|
|
1324
1324
|
}
|
|
1325
1325
|
function invoke$logRequestOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, $completion) {
|
|
1326
1326
|
var tmp = new $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, $completion);
|
|
1327
|
-
tmp.
|
|
1328
|
-
tmp.
|
|
1329
|
-
return tmp.
|
|
1327
|
+
tmp.o9_1 = Unit_instance;
|
|
1328
|
+
tmp.p9_1 = null;
|
|
1329
|
+
return tmp.u9();
|
|
1330
1330
|
}
|
|
1331
1331
|
function invoke$logResponseBody(bodyFilter, response, body, logLines, $completion) {
|
|
1332
1332
|
var tmp = new $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, $completion);
|
|
1333
|
-
tmp.
|
|
1334
|
-
tmp.
|
|
1335
|
-
return tmp.
|
|
1333
|
+
tmp.o9_1 = Unit_instance;
|
|
1334
|
+
tmp.p9_1 = null;
|
|
1335
|
+
return tmp.u9();
|
|
1336
1336
|
}
|
|
1337
1337
|
function invoke$logResponseOkHttpFormat(sanitizedHeaders, level, bodyFilter, response, logLines, $completion) {
|
|
1338
1338
|
var tmp = new $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, $completion);
|
|
1339
|
-
tmp.
|
|
1340
|
-
tmp.
|
|
1341
|
-
return tmp.
|
|
1339
|
+
tmp.o9_1 = Unit_instance;
|
|
1340
|
+
tmp.p9_1 = null;
|
|
1341
|
+
return tmp.u9();
|
|
1342
1342
|
}
|
|
1343
1343
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
1344
1344
|
var requestLog = StringBuilder_init_$Create$();
|
|
1345
1345
|
// Inline function 'kotlin.text.appendLine' call
|
|
1346
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
1346
|
+
var value = 'BODY Content-Type: ' + toString_0(content.z3w());
|
|
1347
1347
|
// Inline function 'kotlin.text.appendLine' call
|
|
1348
1348
|
requestLog.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1349
|
-
var tmp0_safe_receiver = content.
|
|
1349
|
+
var tmp0_safe_receiver = content.z3w();
|
|
1350
1350
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
1351
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
1351
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp1_elvis_lhs;
|
|
1352
1352
|
var channel = new ByteChannel();
|
|
1353
1353
|
var tmp = GlobalScope_instance;
|
|
1354
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
1354
|
+
var tmp_0 = Dispatchers_getInstance().k28_1.yj(MDCContext());
|
|
1355
1355
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
1356
1356
|
return observe(content, channel, $completion);
|
|
1357
1357
|
}
|
|
1358
1358
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1359
|
-
if (level.
|
|
1360
|
-
logger.
|
|
1359
|
+
if (level.jrs_1) {
|
|
1360
|
+
logger.frq('REQUEST ' + Url(context.m4i_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
1364
|
-
var tmp = request.
|
|
1364
|
+
var tmp = request.p4i_1;
|
|
1365
1365
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
1366
1366
|
var callLogger = new HttpClientCallLogger(logger);
|
|
1367
|
-
request.
|
|
1367
|
+
request.r4i_1.q38(get_ClientCallLogger(), callLogger);
|
|
1368
1368
|
// Inline function 'kotlin.text.buildString' call
|
|
1369
1369
|
// Inline function 'kotlin.apply' call
|
|
1370
1370
|
var this_0 = StringBuilder_init_$Create$();
|
|
1371
|
-
if (level.
|
|
1371
|
+
if (level.jrs_1) {
|
|
1372
1372
|
// Inline function 'kotlin.text.appendLine' call
|
|
1373
|
-
var value = 'REQUEST: ' + Url(request.
|
|
1373
|
+
var value = 'REQUEST: ' + Url(request.m4i_1).toString();
|
|
1374
1374
|
// Inline function 'kotlin.text.appendLine' call
|
|
1375
1375
|
this_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1376
1376
|
// Inline function 'kotlin.text.appendLine' call
|
|
1377
|
-
var value_0 = 'METHOD: ' + request.
|
|
1377
|
+
var value_0 = 'METHOD: ' + request.n4i_1.toString();
|
|
1378
1378
|
// Inline function 'kotlin.text.appendLine' call
|
|
1379
1379
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1380
1380
|
}
|
|
1381
|
-
if (level.
|
|
1381
|
+
if (level.krs_1) {
|
|
1382
1382
|
// Inline function 'kotlin.text.appendLine' call
|
|
1383
1383
|
var value_1 = 'COMMON HEADERS';
|
|
1384
1384
|
// Inline function 'kotlin.text.appendLine' call
|
|
1385
1385
|
this_0.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
1386
|
-
logHeaders(this_0, request.
|
|
1386
|
+
logHeaders(this_0, request.o4i_1.h3d(), sanitizedHeaders);
|
|
1387
1387
|
// Inline function 'kotlin.text.appendLine' call
|
|
1388
1388
|
var value_2 = 'CONTENT HEADERS';
|
|
1389
1389
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1394,7 +1394,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1394
1394
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1395
1395
|
while (_iterator__ex2g4s.u()) {
|
|
1396
1396
|
var element = _iterator__ex2g4s.v();
|
|
1397
|
-
if (element.
|
|
1397
|
+
if (element.drt_1('Content-Length')) {
|
|
1398
1398
|
tmp$ret$11 = element;
|
|
1399
1399
|
break $l$block;
|
|
1400
1400
|
}
|
|
@@ -1402,14 +1402,14 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1402
1402
|
tmp$ret$11 = null;
|
|
1403
1403
|
}
|
|
1404
1404
|
var tmp0_safe_receiver = tmp$ret$11;
|
|
1405
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1405
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.crt_1;
|
|
1406
1406
|
var tmp$ret$13;
|
|
1407
1407
|
$l$block_0: {
|
|
1408
1408
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1409
1409
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1410
1410
|
while (_iterator__ex2g4s_0.u()) {
|
|
1411
1411
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1412
|
-
if (element_0.
|
|
1412
|
+
if (element_0.drt_1('Content-Type')) {
|
|
1413
1413
|
tmp$ret$13 = element_0;
|
|
1414
1414
|
break $l$block_0;
|
|
1415
1415
|
}
|
|
@@ -1417,179 +1417,179 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1417
1417
|
tmp$ret$13 = null;
|
|
1418
1418
|
}
|
|
1419
1419
|
var tmp1_safe_receiver = tmp$ret$13;
|
|
1420
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1421
|
-
var tmp2_safe_receiver = content.
|
|
1420
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.crt_1;
|
|
1421
|
+
var tmp2_safe_receiver = content.b3x();
|
|
1422
1422
|
if (tmp2_safe_receiver == null)
|
|
1423
1423
|
null;
|
|
1424
1424
|
else {
|
|
1425
1425
|
// Inline function 'kotlin.let' call
|
|
1426
1426
|
logHeader(this_0, 'Content-Length', contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1427
1427
|
}
|
|
1428
|
-
var tmp3_safe_receiver = content.
|
|
1428
|
+
var tmp3_safe_receiver = content.z3w();
|
|
1429
1429
|
if (tmp3_safe_receiver == null)
|
|
1430
1430
|
null;
|
|
1431
1431
|
else {
|
|
1432
1432
|
// Inline function 'kotlin.let' call
|
|
1433
1433
|
logHeader(this_0, 'Content-Type', contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1434
1434
|
}
|
|
1435
|
-
logHeaders(this_0, content.
|
|
1435
|
+
logHeaders(this_0, content.a3r().h3d(), sanitizedHeaders);
|
|
1436
1436
|
}
|
|
1437
1437
|
var message = this_0.toString();
|
|
1438
1438
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1439
1439
|
if (charSequenceLength(message) > 0) {
|
|
1440
|
-
callLogger.
|
|
1440
|
+
callLogger.zrq(message);
|
|
1441
1441
|
}
|
|
1442
1442
|
var tmp_0;
|
|
1443
1443
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1444
1444
|
if (charSequenceLength(message) === 0) {
|
|
1445
1445
|
tmp_0 = true;
|
|
1446
1446
|
} else {
|
|
1447
|
-
tmp_0 = !level.
|
|
1447
|
+
tmp_0 = !level.lrs_1;
|
|
1448
1448
|
}
|
|
1449
1449
|
if (tmp_0) {
|
|
1450
|
-
callLogger.
|
|
1450
|
+
callLogger.drr();
|
|
1451
1451
|
return null;
|
|
1452
1452
|
}
|
|
1453
1453
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1454
1454
|
}
|
|
1455
1455
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1456
|
-
if (!level.
|
|
1456
|
+
if (!level.jrs_1)
|
|
1457
1457
|
return Unit_instance;
|
|
1458
|
-
log.q('RESPONSE ' + request.
|
|
1458
|
+
log.q('RESPONSE ' + request.f4k().toString() + ' failed with exception: ' + cause.toString());
|
|
1459
1459
|
}
|
|
1460
1460
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1464
|
-
this.
|
|
1465
|
-
this.
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1461
|
+
this.prz_1 = $okHttpFormat;
|
|
1462
|
+
this.qrz_1 = $logger;
|
|
1463
|
+
this.rrz_1 = $filters;
|
|
1464
|
+
this.srz_1 = $sanitizedHeaders;
|
|
1465
|
+
this.trz_1 = $level;
|
|
1466
|
+
this.urz_1 = $this_createClientPlugin;
|
|
1467
|
+
this.vrz_1 = $bodyFilter;
|
|
1468
1468
|
CoroutineImpl.call(this, resultContinuation);
|
|
1469
1469
|
}
|
|
1470
|
-
protoOf(Logging$lambda$slambda).
|
|
1471
|
-
var tmp = this.
|
|
1472
|
-
tmp.
|
|
1473
|
-
tmp.
|
|
1474
|
-
return tmp.
|
|
1470
|
+
protoOf(Logging$lambda$slambda).es0 = function ($this$on, request, $completion) {
|
|
1471
|
+
var tmp = this.fs0($this$on, request, $completion);
|
|
1472
|
+
tmp.o9_1 = Unit_instance;
|
|
1473
|
+
tmp.p9_1 = null;
|
|
1474
|
+
return tmp.u9();
|
|
1475
1475
|
};
|
|
1476
|
-
protoOf(Logging$lambda$slambda).
|
|
1476
|
+
protoOf(Logging$lambda$slambda).ha = function (p1, p2, $completion) {
|
|
1477
1477
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1478
|
-
return this.
|
|
1478
|
+
return this.es0(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1479
1479
|
};
|
|
1480
|
-
protoOf(Logging$lambda$slambda).
|
|
1481
|
-
var suspendResult = this.
|
|
1480
|
+
protoOf(Logging$lambda$slambda).u9 = function () {
|
|
1481
|
+
var suspendResult = this.o9_1;
|
|
1482
1482
|
$sm: do
|
|
1483
1483
|
try {
|
|
1484
|
-
var tmp = this.
|
|
1484
|
+
var tmp = this.m9_1;
|
|
1485
1485
|
switch (tmp) {
|
|
1486
1486
|
case 0:
|
|
1487
|
-
this.
|
|
1488
|
-
if (!invoke$shouldBeLogged(this.
|
|
1489
|
-
this.
|
|
1487
|
+
this.n9_1 = 16;
|
|
1488
|
+
if (!invoke$shouldBeLogged(this.rrz_1, this.xrz_1)) {
|
|
1489
|
+
this.xrz_1.r4i_1.q38(get_DisableLogging(), Unit_instance);
|
|
1490
1490
|
return Unit_instance;
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
if (this.
|
|
1493
|
+
if (this.prz_1) {
|
|
1494
1494
|
var tmp_0 = this;
|
|
1495
|
-
tmp_0.
|
|
1496
|
-
this.
|
|
1497
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1495
|
+
tmp_0.as0_1 = ArrayList_init_$Create$();
|
|
1496
|
+
this.m9_1 = 10;
|
|
1497
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.srz_1, this.trz_1, this.urz_1, this.vrz_1, this.xrz_1, this.as0_1, this);
|
|
1498
1498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1499
1499
|
return suspendResult;
|
|
1500
1500
|
}
|
|
1501
1501
|
continue $sm;
|
|
1502
1502
|
} else {
|
|
1503
|
-
this.
|
|
1503
|
+
this.m9_1 = 1;
|
|
1504
1504
|
continue $sm;
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
1507
|
case 1:
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1510
|
-
suspendResult = invoke$logRequest(this.
|
|
1508
|
+
this.n9_1 = 3;
|
|
1509
|
+
this.m9_1 = 2;
|
|
1510
|
+
suspendResult = invoke$logRequest(this.qrz_1, this.trz_1, this.srz_1, this.xrz_1, this);
|
|
1511
1511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1512
1512
|
return suspendResult;
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
case 2:
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1517
|
+
this.ds0_1 = suspendResult;
|
|
1518
|
+
this.n9_1 = 16;
|
|
1519
|
+
this.m9_1 = 4;
|
|
1520
1520
|
continue $sm;
|
|
1521
1521
|
case 3:
|
|
1522
|
-
this.
|
|
1523
|
-
var tmp_1 = this.
|
|
1522
|
+
this.n9_1 = 16;
|
|
1523
|
+
var tmp_1 = this.p9_1;
|
|
1524
1524
|
if (tmp_1 instanceof Error) {
|
|
1525
|
-
var _unused_var__etf5q3 = this.
|
|
1525
|
+
var _unused_var__etf5q3 = this.p9_1;
|
|
1526
1526
|
var tmp_2 = this;
|
|
1527
|
-
tmp_2.
|
|
1528
|
-
this.
|
|
1527
|
+
tmp_2.ds0_1 = null;
|
|
1528
|
+
this.m9_1 = 4;
|
|
1529
1529
|
continue $sm;
|
|
1530
1530
|
} else {
|
|
1531
|
-
throw this.
|
|
1531
|
+
throw this.p9_1;
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
1534
|
case 4:
|
|
1535
|
-
this.
|
|
1536
|
-
this.
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1535
|
+
this.n9_1 = 16;
|
|
1536
|
+
this.cs0_1 = this.ds0_1;
|
|
1537
|
+
this.bs0_1 = Unit_instance;
|
|
1538
|
+
this.m9_1 = 5;
|
|
1539
1539
|
continue $sm;
|
|
1540
1540
|
case 5:
|
|
1541
|
-
this.
|
|
1542
|
-
this.
|
|
1543
|
-
this.
|
|
1544
|
-
var tmp0_elvis_lhs = this.
|
|
1545
|
-
suspendResult = this.
|
|
1541
|
+
this.n9_1 = 8;
|
|
1542
|
+
this.n9_1 = 7;
|
|
1543
|
+
this.m9_1 = 6;
|
|
1544
|
+
var tmp0_elvis_lhs = this.cs0_1;
|
|
1545
|
+
suspendResult = this.wrz_1.frt(tmp0_elvis_lhs == null ? this.xrz_1.p4i_1 : tmp0_elvis_lhs, this);
|
|
1546
1546
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1547
1547
|
return suspendResult;
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
continue $sm;
|
|
1551
1551
|
case 6:
|
|
1552
|
-
this.
|
|
1553
|
-
this.
|
|
1554
|
-
this.
|
|
1552
|
+
this.bs0_1 = suspendResult;
|
|
1553
|
+
this.n9_1 = 16;
|
|
1554
|
+
this.m9_1 = 9;
|
|
1555
1555
|
continue $sm;
|
|
1556
1556
|
case 7:
|
|
1557
|
-
this.
|
|
1558
|
-
var tmp_3 = this.
|
|
1557
|
+
this.n9_1 = 8;
|
|
1558
|
+
var tmp_3 = this.p9_1;
|
|
1559
1559
|
if (tmp_3 instanceof Error) {
|
|
1560
|
-
var cause = this.
|
|
1560
|
+
var cause = this.p9_1;
|
|
1561
1561
|
var tmp_4 = this;
|
|
1562
|
-
invoke$logRequestException(this.
|
|
1562
|
+
invoke$logRequestException(this.trz_1, this.qrz_1, this.xrz_1, cause);
|
|
1563
1563
|
throw cause;
|
|
1564
1564
|
} else {
|
|
1565
|
-
throw this.
|
|
1565
|
+
throw this.p9_1;
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
1568
1568
|
case 8:
|
|
1569
|
-
this.
|
|
1570
|
-
var t = this.
|
|
1569
|
+
this.n9_1 = 16;
|
|
1570
|
+
var t = this.p9_1;
|
|
1571
1571
|
throw t;
|
|
1572
1572
|
case 9:
|
|
1573
|
-
this.
|
|
1574
|
-
this.
|
|
1573
|
+
this.bs0_1;
|
|
1574
|
+
this.n9_1 = 16;
|
|
1575
1575
|
return Unit_instance;
|
|
1576
1576
|
case 10:
|
|
1577
1577
|
var content = suspendResult;
|
|
1578
|
-
if (this.
|
|
1579
|
-
this.
|
|
1578
|
+
if (this.as0_1.g1() > 0) {
|
|
1579
|
+
this.qrz_1.frq(joinToString(this.as0_1, '\n'));
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
|
-
this.
|
|
1582
|
+
this.n9_1 = 14;
|
|
1583
1583
|
if (!(content == null)) {
|
|
1584
|
-
this.
|
|
1585
|
-
suspendResult = this.
|
|
1584
|
+
this.m9_1 = 12;
|
|
1585
|
+
suspendResult = this.wrz_1.frt(content, this);
|
|
1586
1586
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1587
1587
|
return suspendResult;
|
|
1588
1588
|
}
|
|
1589
1589
|
continue $sm;
|
|
1590
1590
|
} else {
|
|
1591
|
-
this.
|
|
1592
|
-
suspendResult = this.
|
|
1591
|
+
this.m9_1 = 11;
|
|
1592
|
+
suspendResult = this.wrz_1.grt(this);
|
|
1593
1593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1594
1594
|
return suspendResult;
|
|
1595
1595
|
}
|
|
@@ -1597,401 +1597,401 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
case 11:
|
|
1600
|
-
this.
|
|
1601
|
-
this.
|
|
1600
|
+
this.zrz_1 = suspendResult;
|
|
1601
|
+
this.m9_1 = 13;
|
|
1602
1602
|
continue $sm;
|
|
1603
1603
|
case 12:
|
|
1604
|
-
this.
|
|
1605
|
-
this.
|
|
1604
|
+
this.zrz_1 = suspendResult;
|
|
1605
|
+
this.m9_1 = 13;
|
|
1606
1606
|
continue $sm;
|
|
1607
1607
|
case 13:
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1610
|
-
this.
|
|
1608
|
+
this.yrz_1 = this.zrz_1;
|
|
1609
|
+
this.n9_1 = 16;
|
|
1610
|
+
this.m9_1 = 15;
|
|
1611
1611
|
continue $sm;
|
|
1612
1612
|
case 14:
|
|
1613
|
-
this.
|
|
1614
|
-
var tmp_5 = this.
|
|
1613
|
+
this.n9_1 = 16;
|
|
1614
|
+
var tmp_5 = this.p9_1;
|
|
1615
1615
|
if (tmp_5 instanceof Error) {
|
|
1616
|
-
var cause_0 = this.
|
|
1616
|
+
var cause_0 = this.p9_1;
|
|
1617
1617
|
var tmp_6 = this;
|
|
1618
|
-
this.
|
|
1618
|
+
this.qrz_1.frq('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1619
1619
|
throw cause_0;
|
|
1620
1620
|
} else {
|
|
1621
|
-
throw this.
|
|
1621
|
+
throw this.p9_1;
|
|
1622
1622
|
}
|
|
1623
1623
|
|
|
1624
1624
|
case 15:
|
|
1625
|
-
this.
|
|
1625
|
+
this.n9_1 = 16;
|
|
1626
1626
|
return Unit_instance;
|
|
1627
1627
|
case 16:
|
|
1628
|
-
throw this.
|
|
1628
|
+
throw this.p9_1;
|
|
1629
1629
|
}
|
|
1630
1630
|
} catch ($p) {
|
|
1631
1631
|
var e = $p;
|
|
1632
|
-
if (this.
|
|
1632
|
+
if (this.n9_1 === 16) {
|
|
1633
1633
|
throw e;
|
|
1634
1634
|
} else {
|
|
1635
|
-
this.
|
|
1636
|
-
this.
|
|
1635
|
+
this.m9_1 = this.n9_1;
|
|
1636
|
+
this.p9_1 = e;
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
1639
|
while (true);
|
|
1640
1640
|
};
|
|
1641
|
-
protoOf(Logging$lambda$slambda).
|
|
1642
|
-
var i = new Logging$lambda$slambda(this.
|
|
1643
|
-
i.
|
|
1644
|
-
i.
|
|
1641
|
+
protoOf(Logging$lambda$slambda).fs0 = function ($this$on, request, completion) {
|
|
1642
|
+
var i = new Logging$lambda$slambda(this.prz_1, this.qrz_1, this.rrz_1, this.srz_1, this.trz_1, this.urz_1, this.vrz_1, completion);
|
|
1643
|
+
i.wrz_1 = $this$on;
|
|
1644
|
+
i.xrz_1 = request;
|
|
1645
1645
|
return i;
|
|
1646
1646
|
};
|
|
1647
1647
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1648
1648
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1649
1649
|
var l = function ($this$on, request, $completion) {
|
|
1650
|
-
return i.
|
|
1650
|
+
return i.es0($this$on, request, $completion);
|
|
1651
1651
|
};
|
|
1652
1652
|
l.$arity = 2;
|
|
1653
1653
|
return l;
|
|
1654
1654
|
}
|
|
1655
1655
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1660
|
-
this.
|
|
1656
|
+
this.os0_1 = $okHttpFormat;
|
|
1657
|
+
this.ps0_1 = $logger;
|
|
1658
|
+
this.qs0_1 = $sanitizedHeaders;
|
|
1659
|
+
this.rs0_1 = $level;
|
|
1660
|
+
this.ss0_1 = $bodyFilter;
|
|
1661
1661
|
CoroutineImpl.call(this, resultContinuation);
|
|
1662
1662
|
}
|
|
1663
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1664
|
-
var tmp = this.
|
|
1665
|
-
tmp.
|
|
1666
|
-
tmp.
|
|
1667
|
-
return tmp.
|
|
1663
|
+
protoOf(Logging$lambda$slambda_1).ws0 = function ($this$on, response, $completion) {
|
|
1664
|
+
var tmp = this.xs0($this$on, response, $completion);
|
|
1665
|
+
tmp.o9_1 = Unit_instance;
|
|
1666
|
+
tmp.p9_1 = null;
|
|
1667
|
+
return tmp.u9();
|
|
1668
1668
|
};
|
|
1669
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1669
|
+
protoOf(Logging$lambda$slambda_1).ha = function (p1, p2, $completion) {
|
|
1670
1670
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1671
|
-
return this.
|
|
1671
|
+
return this.ws0(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1672
1672
|
};
|
|
1673
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1674
|
-
var suspendResult = this.
|
|
1673
|
+
protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
1674
|
+
var suspendResult = this.o9_1;
|
|
1675
1675
|
$sm: do
|
|
1676
1676
|
try {
|
|
1677
|
-
var tmp = this.
|
|
1677
|
+
var tmp = this.m9_1;
|
|
1678
1678
|
switch (tmp) {
|
|
1679
1679
|
case 0:
|
|
1680
|
-
this.
|
|
1681
|
-
if (this.
|
|
1680
|
+
this.n9_1 = 5;
|
|
1681
|
+
if (this.os0_1) {
|
|
1682
1682
|
var tmp_0 = this;
|
|
1683
|
-
tmp_0.
|
|
1684
|
-
this.
|
|
1685
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1683
|
+
tmp_0.vs0_1 = ArrayList_init_$Create$();
|
|
1684
|
+
this.m9_1 = 1;
|
|
1685
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.qs0_1, this.rs0_1, this.ss0_1, this.us0_1, this.vs0_1, this);
|
|
1686
1686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1687
1687
|
return suspendResult;
|
|
1688
1688
|
}
|
|
1689
1689
|
continue $sm;
|
|
1690
1690
|
} else {
|
|
1691
|
-
this.
|
|
1691
|
+
this.m9_1 = 4;
|
|
1692
1692
|
continue $sm;
|
|
1693
1693
|
}
|
|
1694
1694
|
|
|
1695
1695
|
case 1:
|
|
1696
1696
|
var newResponse = suspendResult;
|
|
1697
|
-
if (this.
|
|
1698
|
-
this.
|
|
1697
|
+
if (this.vs0_1.g1() > 0) {
|
|
1698
|
+
this.ps0_1.frq(joinToString(this.vs0_1, '\n'));
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
1701
|
-
if (!equals(newResponse, this.
|
|
1702
|
-
this.
|
|
1703
|
-
suspendResult = this.
|
|
1701
|
+
if (!equals(newResponse, this.us0_1)) {
|
|
1702
|
+
this.m9_1 = 2;
|
|
1703
|
+
suspendResult = this.ts0_1.l5t(newResponse, this);
|
|
1704
1704
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1705
1705
|
return suspendResult;
|
|
1706
1706
|
}
|
|
1707
1707
|
continue $sm;
|
|
1708
1708
|
} else {
|
|
1709
|
-
this.
|
|
1709
|
+
this.m9_1 = 3;
|
|
1710
1710
|
continue $sm;
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
1713
|
case 2:
|
|
1714
|
-
this.
|
|
1714
|
+
this.m9_1 = 3;
|
|
1715
1715
|
continue $sm;
|
|
1716
1716
|
case 3:
|
|
1717
|
-
this.
|
|
1717
|
+
this.m9_1 = 4;
|
|
1718
1718
|
continue $sm;
|
|
1719
1719
|
case 4:
|
|
1720
1720
|
return Unit_instance;
|
|
1721
1721
|
case 5:
|
|
1722
|
-
throw this.
|
|
1722
|
+
throw this.p9_1;
|
|
1723
1723
|
}
|
|
1724
1724
|
} catch ($p) {
|
|
1725
1725
|
var e = $p;
|
|
1726
|
-
if (this.
|
|
1726
|
+
if (this.n9_1 === 5) {
|
|
1727
1727
|
throw e;
|
|
1728
1728
|
} else {
|
|
1729
|
-
this.
|
|
1730
|
-
this.
|
|
1729
|
+
this.m9_1 = this.n9_1;
|
|
1730
|
+
this.p9_1 = e;
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
1733
|
while (true);
|
|
1734
1734
|
};
|
|
1735
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1736
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1737
|
-
i.
|
|
1738
|
-
i.
|
|
1735
|
+
protoOf(Logging$lambda$slambda_1).xs0 = function ($this$on, response, completion) {
|
|
1736
|
+
var i = new Logging$lambda$slambda_1(this.os0_1, this.ps0_1, this.qs0_1, this.rs0_1, this.ss0_1, completion);
|
|
1737
|
+
i.ts0_1 = $this$on;
|
|
1738
|
+
i.us0_1 = response;
|
|
1739
1739
|
return i;
|
|
1740
1740
|
};
|
|
1741
1741
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1742
1742
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1743
1743
|
var l = function ($this$on, response, $completion) {
|
|
1744
|
-
return i.
|
|
1744
|
+
return i.ws0($this$on, response, $completion);
|
|
1745
1745
|
};
|
|
1746
1746
|
l.$arity = 2;
|
|
1747
1747
|
return l;
|
|
1748
1748
|
}
|
|
1749
1749
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1750
|
+
this.gs1_1 = $okHttpFormat;
|
|
1751
|
+
this.hs1_1 = $level;
|
|
1752
|
+
this.is1_1 = $sanitizedHeaders;
|
|
1753
1753
|
CoroutineImpl.call(this, resultContinuation);
|
|
1754
1754
|
}
|
|
1755
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1756
|
-
var tmp = this.
|
|
1757
|
-
tmp.
|
|
1758
|
-
tmp.
|
|
1759
|
-
return tmp.
|
|
1755
|
+
protoOf(Logging$lambda$slambda_3).rs1 = function ($this$on, response, $completion) {
|
|
1756
|
+
var tmp = this.ss1($this$on, response, $completion);
|
|
1757
|
+
tmp.o9_1 = Unit_instance;
|
|
1758
|
+
tmp.p9_1 = null;
|
|
1759
|
+
return tmp.u9();
|
|
1760
1760
|
};
|
|
1761
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1761
|
+
protoOf(Logging$lambda$slambda_3).ha = function (p1, p2, $completion) {
|
|
1762
1762
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1763
|
-
return this.
|
|
1763
|
+
return this.rs1(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1764
1764
|
};
|
|
1765
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1766
|
-
var suspendResult = this.
|
|
1765
|
+
protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
1766
|
+
var suspendResult = this.o9_1;
|
|
1767
1767
|
$sm: do
|
|
1768
1768
|
try {
|
|
1769
|
-
var tmp = this.
|
|
1769
|
+
var tmp = this.m9_1;
|
|
1770
1770
|
switch (tmp) {
|
|
1771
1771
|
case 0:
|
|
1772
|
-
this.
|
|
1773
|
-
if (this.
|
|
1772
|
+
this.n9_1 = 14;
|
|
1773
|
+
if (this.gs1_1)
|
|
1774
1774
|
return Unit_instance;
|
|
1775
|
-
if (this.
|
|
1775
|
+
if (this.hs1_1.equals(LogLevel_NONE_getInstance()) || this.ks1_1.d4k().w4j().p38(get_DisableLogging()))
|
|
1776
1776
|
return Unit_instance;
|
|
1777
|
-
this.
|
|
1778
|
-
this.
|
|
1779
|
-
this.
|
|
1780
|
-
this.
|
|
1777
|
+
this.ms1_1 = this.ks1_1.d4k().w4j().n38(get_ClientCallLogger());
|
|
1778
|
+
this.os1_1 = StringBuilder_init_$Create$();
|
|
1779
|
+
this.ns1_1 = false;
|
|
1780
|
+
this.m9_1 = 1;
|
|
1781
1781
|
continue $sm;
|
|
1782
1782
|
case 1:
|
|
1783
|
-
this.
|
|
1784
|
-
this.
|
|
1785
|
-
logResponseHeader(this.
|
|
1786
|
-
this.
|
|
1787
|
-
suspendResult = this.
|
|
1783
|
+
this.n9_1 = 4;
|
|
1784
|
+
this.n9_1 = 3;
|
|
1785
|
+
logResponseHeader(this.os1_1, this.ks1_1.d4k().m4h(), this.hs1_1, this.is1_1);
|
|
1786
|
+
this.m9_1 = 2;
|
|
1787
|
+
suspendResult = this.js1_1.hru(this);
|
|
1788
1788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1789
1789
|
return suspendResult;
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
1792
|
continue $sm;
|
|
1793
1793
|
case 2:
|
|
1794
|
-
this.
|
|
1795
|
-
this.
|
|
1796
|
-
this.
|
|
1794
|
+
this.ps1_1 = suspendResult;
|
|
1795
|
+
this.n9_1 = 14;
|
|
1796
|
+
this.m9_1 = 9;
|
|
1797
1797
|
continue $sm;
|
|
1798
1798
|
case 3:
|
|
1799
|
-
this.
|
|
1800
|
-
var tmp_0 = this.
|
|
1799
|
+
this.n9_1 = 4;
|
|
1800
|
+
var tmp_0 = this.p9_1;
|
|
1801
1801
|
if (tmp_0 instanceof Error) {
|
|
1802
|
-
var cause = this.
|
|
1802
|
+
var cause = this.p9_1;
|
|
1803
1803
|
var tmp_1 = this;
|
|
1804
|
-
invoke$logResponseException(this.
|
|
1805
|
-
this.
|
|
1804
|
+
invoke$logResponseException(this.hs1_1, this.os1_1, this.ks1_1.d4k().v4j(), cause);
|
|
1805
|
+
this.ns1_1 = true;
|
|
1806
1806
|
throw cause;
|
|
1807
1807
|
} else {
|
|
1808
|
-
throw this.
|
|
1808
|
+
throw this.p9_1;
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
1811
1811
|
case 4:
|
|
1812
|
-
this.
|
|
1813
|
-
this.
|
|
1814
|
-
this.
|
|
1815
|
-
if (this.
|
|
1816
|
-
this.
|
|
1817
|
-
suspendResult = this.
|
|
1812
|
+
this.n9_1 = 14;
|
|
1813
|
+
this.qs1_1 = this.p9_1;
|
|
1814
|
+
this.ms1_1.arr(this.os1_1.toString());
|
|
1815
|
+
if (this.ns1_1 || !this.hs1_1.lrs_1) {
|
|
1816
|
+
this.m9_1 = 7;
|
|
1817
|
+
suspendResult = this.ms1_1.err(this);
|
|
1818
1818
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1819
1819
|
return suspendResult;
|
|
1820
1820
|
}
|
|
1821
1821
|
continue $sm;
|
|
1822
1822
|
} else {
|
|
1823
|
-
if (this.
|
|
1824
|
-
this.
|
|
1825
|
-
suspendResult = logResponseBody(this.
|
|
1823
|
+
if (this.hs1_1.lrs_1 && get_isSaved(this.ks1_1)) {
|
|
1824
|
+
this.m9_1 = 5;
|
|
1825
|
+
suspendResult = logResponseBody(this.ms1_1, this.ks1_1, this);
|
|
1826
1826
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1827
1827
|
return suspendResult;
|
|
1828
1828
|
}
|
|
1829
1829
|
continue $sm;
|
|
1830
1830
|
} else {
|
|
1831
|
-
this.
|
|
1831
|
+
this.m9_1 = 8;
|
|
1832
1832
|
continue $sm;
|
|
1833
1833
|
}
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
1836
|
case 5:
|
|
1837
|
-
this.
|
|
1838
|
-
suspendResult = this.
|
|
1837
|
+
this.m9_1 = 6;
|
|
1838
|
+
suspendResult = this.ms1_1.err(this);
|
|
1839
1839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1840
1840
|
return suspendResult;
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
1843
|
continue $sm;
|
|
1844
1844
|
case 6:
|
|
1845
|
-
this.
|
|
1845
|
+
this.m9_1 = 8;
|
|
1846
1846
|
continue $sm;
|
|
1847
1847
|
case 7:
|
|
1848
|
-
this.
|
|
1848
|
+
this.m9_1 = 8;
|
|
1849
1849
|
continue $sm;
|
|
1850
1850
|
case 8:
|
|
1851
|
-
throw this.
|
|
1851
|
+
throw this.qs1_1;
|
|
1852
1852
|
case 9:
|
|
1853
|
-
this.
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1856
|
-
if (this.
|
|
1857
|
-
this.
|
|
1858
|
-
suspendResult = this.
|
|
1853
|
+
this.ls1_1 = this.ps1_1;
|
|
1854
|
+
this.n9_1 = 14;
|
|
1855
|
+
this.ms1_1.arr(this.os1_1.toString());
|
|
1856
|
+
if (this.ns1_1 || !this.hs1_1.lrs_1) {
|
|
1857
|
+
this.m9_1 = 12;
|
|
1858
|
+
suspendResult = this.ms1_1.err(this);
|
|
1859
1859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1860
1860
|
return suspendResult;
|
|
1861
1861
|
}
|
|
1862
1862
|
continue $sm;
|
|
1863
1863
|
} else {
|
|
1864
|
-
if (this.
|
|
1865
|
-
this.
|
|
1866
|
-
suspendResult = logResponseBody(this.
|
|
1864
|
+
if (this.hs1_1.lrs_1 && get_isSaved(this.ks1_1)) {
|
|
1865
|
+
this.m9_1 = 10;
|
|
1866
|
+
suspendResult = logResponseBody(this.ms1_1, this.ks1_1, this);
|
|
1867
1867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1868
1868
|
return suspendResult;
|
|
1869
1869
|
}
|
|
1870
1870
|
continue $sm;
|
|
1871
1871
|
} else {
|
|
1872
|
-
this.
|
|
1872
|
+
this.m9_1 = 13;
|
|
1873
1873
|
continue $sm;
|
|
1874
1874
|
}
|
|
1875
1875
|
}
|
|
1876
1876
|
|
|
1877
1877
|
case 10:
|
|
1878
|
-
this.
|
|
1879
|
-
suspendResult = this.
|
|
1878
|
+
this.m9_1 = 11;
|
|
1879
|
+
suspendResult = this.ms1_1.err(this);
|
|
1880
1880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1881
1881
|
return suspendResult;
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
1884
|
continue $sm;
|
|
1885
1885
|
case 11:
|
|
1886
|
-
this.
|
|
1886
|
+
this.m9_1 = 13;
|
|
1887
1887
|
continue $sm;
|
|
1888
1888
|
case 12:
|
|
1889
|
-
this.
|
|
1889
|
+
this.m9_1 = 13;
|
|
1890
1890
|
continue $sm;
|
|
1891
1891
|
case 13:
|
|
1892
1892
|
return Unit_instance;
|
|
1893
1893
|
case 14:
|
|
1894
|
-
throw this.
|
|
1894
|
+
throw this.p9_1;
|
|
1895
1895
|
}
|
|
1896
1896
|
} catch ($p) {
|
|
1897
1897
|
var e = $p;
|
|
1898
|
-
if (this.
|
|
1898
|
+
if (this.n9_1 === 14) {
|
|
1899
1899
|
throw e;
|
|
1900
1900
|
} else {
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1901
|
+
this.m9_1 = this.n9_1;
|
|
1902
|
+
this.p9_1 = e;
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
while (true);
|
|
1906
1906
|
};
|
|
1907
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1908
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1909
|
-
i.
|
|
1910
|
-
i.
|
|
1907
|
+
protoOf(Logging$lambda$slambda_3).ss1 = function ($this$on, response, completion) {
|
|
1908
|
+
var i = new Logging$lambda$slambda_3(this.gs1_1, this.hs1_1, this.is1_1, completion);
|
|
1909
|
+
i.js1_1 = $this$on;
|
|
1910
|
+
i.ks1_1 = response;
|
|
1911
1911
|
return i;
|
|
1912
1912
|
};
|
|
1913
1913
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1914
1914
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1915
1915
|
var l = function ($this$on, response, $completion) {
|
|
1916
|
-
return i.
|
|
1916
|
+
return i.rs1($this$on, response, $completion);
|
|
1917
1917
|
};
|
|
1918
1918
|
l.$arity = 2;
|
|
1919
1919
|
return l;
|
|
1920
1920
|
}
|
|
1921
1921
|
function Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation) {
|
|
1922
|
-
this.
|
|
1923
|
-
this.
|
|
1924
|
-
this.
|
|
1922
|
+
this.bs2_1 = $okHttpFormat;
|
|
1923
|
+
this.cs2_1 = $level;
|
|
1924
|
+
this.ds2_1 = $logger;
|
|
1925
1925
|
CoroutineImpl.call(this, resultContinuation);
|
|
1926
1926
|
}
|
|
1927
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1928
|
-
var tmp = this.
|
|
1929
|
-
tmp.
|
|
1930
|
-
tmp.
|
|
1931
|
-
return tmp.
|
|
1927
|
+
protoOf(Logging$lambda$slambda_5).js2 = function ($this$on, call, $completion) {
|
|
1928
|
+
var tmp = this.ks2($this$on, call, $completion);
|
|
1929
|
+
tmp.o9_1 = Unit_instance;
|
|
1930
|
+
tmp.p9_1 = null;
|
|
1931
|
+
return tmp.u9();
|
|
1932
1932
|
};
|
|
1933
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1933
|
+
protoOf(Logging$lambda$slambda_5).ha = function (p1, p2, $completion) {
|
|
1934
1934
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1935
|
-
return this.
|
|
1935
|
+
return this.js2(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1936
1936
|
};
|
|
1937
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1938
|
-
var suspendResult = this.
|
|
1937
|
+
protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
1938
|
+
var suspendResult = this.o9_1;
|
|
1939
1939
|
$sm: do
|
|
1940
1940
|
try {
|
|
1941
|
-
var tmp = this.
|
|
1941
|
+
var tmp = this.m9_1;
|
|
1942
1942
|
switch (tmp) {
|
|
1943
1943
|
case 0:
|
|
1944
|
-
this.
|
|
1945
|
-
if (this.
|
|
1944
|
+
this.n9_1 = 6;
|
|
1945
|
+
if (this.bs2_1)
|
|
1946
1946
|
return Unit_instance;
|
|
1947
|
-
if (this.
|
|
1947
|
+
if (this.cs2_1.equals(LogLevel_NONE_getInstance()) || this.fs2_1.w4j().p38(get_DisableLogging())) {
|
|
1948
1948
|
return Unit_instance;
|
|
1949
1949
|
}
|
|
1950
1950
|
|
|
1951
|
-
this.
|
|
1952
|
-
this.
|
|
1953
|
-
suspendResult = this.
|
|
1951
|
+
this.n9_1 = 2;
|
|
1952
|
+
this.m9_1 = 1;
|
|
1953
|
+
suspendResult = this.es2_1.vru(this);
|
|
1954
1954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1955
1955
|
return suspendResult;
|
|
1956
1956
|
}
|
|
1957
1957
|
|
|
1958
1958
|
continue $sm;
|
|
1959
1959
|
case 1:
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1962
|
-
this.
|
|
1960
|
+
this.gs2_1 = suspendResult;
|
|
1961
|
+
this.n9_1 = 6;
|
|
1962
|
+
this.m9_1 = 5;
|
|
1963
1963
|
continue $sm;
|
|
1964
1964
|
case 2:
|
|
1965
|
-
this.
|
|
1966
|
-
var tmp_0 = this.
|
|
1965
|
+
this.n9_1 = 6;
|
|
1966
|
+
var tmp_0 = this.p9_1;
|
|
1967
1967
|
if (tmp_0 instanceof Error) {
|
|
1968
|
-
this.
|
|
1968
|
+
this.hs2_1 = this.p9_1;
|
|
1969
1969
|
var log = StringBuilder_init_$Create$();
|
|
1970
1970
|
var tmp_1 = this;
|
|
1971
|
-
var tmp0_elvis_lhs = this.
|
|
1971
|
+
var tmp0_elvis_lhs = this.fs2_1.w4j().o38(get_ClientCallLogger());
|
|
1972
1972
|
var tmp_2;
|
|
1973
1973
|
if (tmp0_elvis_lhs == null) {
|
|
1974
|
-
var this_0 = new HttpClientCallLogger(this.
|
|
1975
|
-
this_0.
|
|
1974
|
+
var this_0 = new HttpClientCallLogger(this.ds2_1);
|
|
1975
|
+
this_0.drr();
|
|
1976
1976
|
tmp_2 = this_0;
|
|
1977
1977
|
} else {
|
|
1978
1978
|
tmp_2 = tmp0_elvis_lhs;
|
|
1979
1979
|
}
|
|
1980
|
-
tmp_1.
|
|
1981
|
-
invoke$logResponseException(this.
|
|
1982
|
-
this.
|
|
1983
|
-
suspendResult = this.
|
|
1980
|
+
tmp_1.is2_1 = tmp_2;
|
|
1981
|
+
invoke$logResponseException(this.cs2_1, log, this.fs2_1.v4j(), this.hs2_1);
|
|
1982
|
+
this.m9_1 = 3;
|
|
1983
|
+
suspendResult = this.is2_1.brr(log.toString(), this);
|
|
1984
1984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1985
1985
|
return suspendResult;
|
|
1986
1986
|
}
|
|
1987
1987
|
continue $sm;
|
|
1988
1988
|
} else {
|
|
1989
|
-
throw this.
|
|
1989
|
+
throw this.p9_1;
|
|
1990
1990
|
}
|
|
1991
1991
|
|
|
1992
1992
|
case 3:
|
|
1993
|
-
this.
|
|
1994
|
-
suspendResult = this.
|
|
1993
|
+
this.m9_1 = 4;
|
|
1994
|
+
suspendResult = this.is2_1.err(this);
|
|
1995
1995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1996
1996
|
return suspendResult;
|
|
1997
1997
|
}
|
|
@@ -1999,76 +1999,76 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1999
1999
|
continue $sm;
|
|
2000
2000
|
case 4:
|
|
2001
2001
|
var tmp_3 = this;
|
|
2002
|
-
throw this.
|
|
2002
|
+
throw this.hs2_1;
|
|
2003
2003
|
case 5:
|
|
2004
|
-
this.
|
|
2004
|
+
this.n9_1 = 6;
|
|
2005
2005
|
return Unit_instance;
|
|
2006
2006
|
case 6:
|
|
2007
|
-
throw this.
|
|
2007
|
+
throw this.p9_1;
|
|
2008
2008
|
}
|
|
2009
2009
|
} catch ($p) {
|
|
2010
2010
|
var e = $p;
|
|
2011
|
-
if (this.
|
|
2011
|
+
if (this.n9_1 === 6) {
|
|
2012
2012
|
throw e;
|
|
2013
2013
|
} else {
|
|
2014
|
-
this.
|
|
2015
|
-
this.
|
|
2014
|
+
this.m9_1 = this.n9_1;
|
|
2015
|
+
this.p9_1 = e;
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
2018
|
while (true);
|
|
2019
2019
|
};
|
|
2020
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2021
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2022
|
-
i.
|
|
2023
|
-
i.
|
|
2020
|
+
protoOf(Logging$lambda$slambda_5).ks2 = function ($this$on, call, completion) {
|
|
2021
|
+
var i = new Logging$lambda$slambda_5(this.bs2_1, this.cs2_1, this.ds2_1, completion);
|
|
2022
|
+
i.es2_1 = $this$on;
|
|
2023
|
+
i.fs2_1 = call;
|
|
2024
2024
|
return i;
|
|
2025
2025
|
};
|
|
2026
2026
|
function Logging$lambda$slambda_6($okHttpFormat, $level, $logger, resultContinuation) {
|
|
2027
2027
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation);
|
|
2028
2028
|
var l = function ($this$on, call, $completion) {
|
|
2029
|
-
return i.
|
|
2029
|
+
return i.js2($this$on, call, $completion);
|
|
2030
2030
|
};
|
|
2031
2031
|
l.$arity = 2;
|
|
2032
2032
|
return l;
|
|
2033
2033
|
}
|
|
2034
2034
|
function Logging$lambda$lambda$lambda(it) {
|
|
2035
2035
|
_init_properties_Logging_kt__66pui5();
|
|
2036
|
-
return !get_isSaved(it.
|
|
2036
|
+
return !get_isSaved(it.m4h());
|
|
2037
2037
|
}
|
|
2038
2038
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2039
|
-
this.
|
|
2039
|
+
this.ts2_1 = $level;
|
|
2040
2040
|
CoroutineImpl.call(this, resultContinuation);
|
|
2041
2041
|
}
|
|
2042
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2043
|
-
var tmp = this.
|
|
2044
|
-
tmp.
|
|
2045
|
-
tmp.
|
|
2046
|
-
return tmp.
|
|
2042
|
+
protoOf(Logging$lambda$lambda$slambda).k4t = function (response, $completion) {
|
|
2043
|
+
var tmp = this.y4r(response, $completion);
|
|
2044
|
+
tmp.o9_1 = Unit_instance;
|
|
2045
|
+
tmp.p9_1 = null;
|
|
2046
|
+
return tmp.u9();
|
|
2047
2047
|
};
|
|
2048
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2049
|
-
return this.
|
|
2048
|
+
protoOf(Logging$lambda$lambda$slambda).ga = function (p1, $completion) {
|
|
2049
|
+
return this.k4t(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
2050
2050
|
};
|
|
2051
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2052
|
-
var suspendResult = this.
|
|
2051
|
+
protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
2052
|
+
var suspendResult = this.o9_1;
|
|
2053
2053
|
$sm: do
|
|
2054
2054
|
try {
|
|
2055
|
-
var tmp = this.
|
|
2055
|
+
var tmp = this.m9_1;
|
|
2056
2056
|
switch (tmp) {
|
|
2057
2057
|
case 0:
|
|
2058
|
-
this.
|
|
2059
|
-
if (this.
|
|
2058
|
+
this.n9_1 = 3;
|
|
2059
|
+
if (this.ts2_1.equals(LogLevel_NONE_getInstance()) || this.us2_1.d4k().w4j().p38(get_DisableLogging()))
|
|
2060
2060
|
return Unit_instance;
|
|
2061
|
-
this.
|
|
2062
|
-
this.
|
|
2063
|
-
suspendResult = logResponseBody(this.
|
|
2061
|
+
this.vs2_1 = this.us2_1.d4k().w4j().n38(get_ClientCallLogger());
|
|
2062
|
+
this.m9_1 = 1;
|
|
2063
|
+
suspendResult = logResponseBody(this.vs2_1, this.us2_1, this);
|
|
2064
2064
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2065
2065
|
return suspendResult;
|
|
2066
2066
|
}
|
|
2067
2067
|
|
|
2068
2068
|
continue $sm;
|
|
2069
2069
|
case 1:
|
|
2070
|
-
this.
|
|
2071
|
-
suspendResult = this.
|
|
2070
|
+
this.m9_1 = 2;
|
|
2071
|
+
suspendResult = this.vs2_1.err(this);
|
|
2072
2072
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2073
2073
|
return suspendResult;
|
|
2074
2074
|
}
|
|
@@ -2077,60 +2077,60 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2077
2077
|
case 2:
|
|
2078
2078
|
return Unit_instance;
|
|
2079
2079
|
case 3:
|
|
2080
|
-
throw this.
|
|
2080
|
+
throw this.p9_1;
|
|
2081
2081
|
}
|
|
2082
2082
|
} catch ($p) {
|
|
2083
2083
|
var e = $p;
|
|
2084
|
-
if (this.
|
|
2084
|
+
if (this.n9_1 === 3) {
|
|
2085
2085
|
throw e;
|
|
2086
2086
|
} else {
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2087
|
+
this.m9_1 = this.n9_1;
|
|
2088
|
+
this.p9_1 = e;
|
|
2089
2089
|
}
|
|
2090
2090
|
}
|
|
2091
2091
|
while (true);
|
|
2092
2092
|
};
|
|
2093
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2094
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2095
|
-
i.
|
|
2093
|
+
protoOf(Logging$lambda$lambda$slambda).y4r = function (response, completion) {
|
|
2094
|
+
var i = new Logging$lambda$lambda$slambda(this.ts2_1, completion);
|
|
2095
|
+
i.us2_1 = response;
|
|
2096
2096
|
return i;
|
|
2097
2097
|
};
|
|
2098
2098
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
2099
2099
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
2100
2100
|
var l = function (response, $completion) {
|
|
2101
|
-
return i.
|
|
2101
|
+
return i.k4t(response, $completion);
|
|
2102
2102
|
};
|
|
2103
2103
|
l.$arity = 1;
|
|
2104
2104
|
return l;
|
|
2105
2105
|
}
|
|
2106
2106
|
function Logging$lambda$lambda($level) {
|
|
2107
2107
|
return function ($this$prepare) {
|
|
2108
|
-
$this$prepare.
|
|
2109
|
-
$this$prepare.
|
|
2108
|
+
$this$prepare.j5t(Logging$lambda$lambda$lambda);
|
|
2109
|
+
$this$prepare.i5t(Logging$lambda$lambda$slambda_0($level, null));
|
|
2110
2110
|
return Unit_instance;
|
|
2111
2111
|
};
|
|
2112
2112
|
}
|
|
2113
2113
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2114
2114
|
CoroutineImpl.call(this, resultContinuation);
|
|
2115
|
-
this.
|
|
2116
|
-
this.
|
|
2117
|
-
this.
|
|
2118
|
-
this.
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2122
|
-
this.
|
|
2123
|
-
}
|
|
2124
|
-
protoOf($invoke$logRequestBodyCOROUTINE$).
|
|
2125
|
-
var suspendResult = this.
|
|
2115
|
+
this.rrw_1 = bodyFilter;
|
|
2116
|
+
this.srw_1 = url;
|
|
2117
|
+
this.trw_1 = content;
|
|
2118
|
+
this.urw_1 = contentLength;
|
|
2119
|
+
this.vrw_1 = headers;
|
|
2120
|
+
this.wrw_1 = method;
|
|
2121
|
+
this.xrw_1 = logLines;
|
|
2122
|
+
this.yrw_1 = body;
|
|
2123
|
+
}
|
|
2124
|
+
protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
2125
|
+
var suspendResult = this.o9_1;
|
|
2126
2126
|
$sm: do
|
|
2127
2127
|
try {
|
|
2128
|
-
var tmp = this.
|
|
2128
|
+
var tmp = this.m9_1;
|
|
2129
2129
|
switch (tmp) {
|
|
2130
2130
|
case 0:
|
|
2131
|
-
this.
|
|
2132
|
-
this.
|
|
2133
|
-
suspendResult = this.
|
|
2131
|
+
this.n9_1 = 2;
|
|
2132
|
+
this.m9_1 = 1;
|
|
2133
|
+
suspendResult = this.rrw_1.frr(this.srw_1, this.urw_1, this.trw_1.z3w(), this.vrw_1, this.yrw_1, this);
|
|
2134
2134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2135
2135
|
return suspendResult;
|
|
2136
2136
|
}
|
|
@@ -2139,29 +2139,29 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2139
2139
|
case 1:
|
|
2140
2140
|
var filteredBody = suspendResult;
|
|
2141
2141
|
if (filteredBody instanceof Empty) {
|
|
2142
|
-
this.
|
|
2142
|
+
this.xrw_1.e1('--> END ' + this.wrw_1.l3r_1 + ' (0-byte body)');
|
|
2143
2143
|
} else {
|
|
2144
2144
|
if (filteredBody instanceof Skip) {
|
|
2145
2145
|
var this_0 = StringBuilder_init_$Create$();
|
|
2146
|
-
this_0.q('--> END ' + this.
|
|
2147
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2146
|
+
this_0.q('--> END ' + this.wrw_1.l3r_1 + ' (');
|
|
2147
|
+
var tmp0_safe_receiver = filteredBody.jrr_1;
|
|
2148
2148
|
if (tmp0_safe_receiver == null)
|
|
2149
2149
|
null;
|
|
2150
2150
|
else {
|
|
2151
2151
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2152
2152
|
}
|
|
2153
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2153
|
+
var tmp1_safe_receiver = filteredBody.krr_1;
|
|
2154
2154
|
if (tmp1_safe_receiver == null)
|
|
2155
2155
|
null;
|
|
2156
2156
|
else {
|
|
2157
2157
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2158
2158
|
}
|
|
2159
2159
|
this_0.q('body omitted)');
|
|
2160
|
-
this.
|
|
2160
|
+
this.xrw_1.e1(this_0.toString());
|
|
2161
2161
|
} else {
|
|
2162
2162
|
if (isInterface(filteredBody, Content)) {
|
|
2163
|
-
this.
|
|
2164
|
-
this.
|
|
2163
|
+
this.xrw_1.e1(filteredBody.v6g());
|
|
2164
|
+
this.xrw_1.e1('--> END ' + this.wrw_1.l3r_1 + ' (' + toString_0(filteredBody.irr()) + '-byte body)');
|
|
2165
2165
|
} else {
|
|
2166
2166
|
noWhenBranchMatchedException();
|
|
2167
2167
|
}
|
|
@@ -2170,42 +2170,42 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2170
2170
|
|
|
2171
2171
|
return Unit_instance;
|
|
2172
2172
|
case 2:
|
|
2173
|
-
throw this.
|
|
2173
|
+
throw this.p9_1;
|
|
2174
2174
|
}
|
|
2175
2175
|
} catch ($p) {
|
|
2176
2176
|
var e = $p;
|
|
2177
|
-
if (this.
|
|
2177
|
+
if (this.n9_1 === 2) {
|
|
2178
2178
|
throw e;
|
|
2179
2179
|
} else {
|
|
2180
|
-
this.
|
|
2181
|
-
this.
|
|
2180
|
+
this.m9_1 = this.n9_1;
|
|
2181
|
+
this.p9_1 = e;
|
|
2182
2182
|
}
|
|
2183
2183
|
}
|
|
2184
2184
|
while (true);
|
|
2185
2185
|
};
|
|
2186
2186
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2187
2187
|
CoroutineImpl.call(this, resultContinuation);
|
|
2188
|
-
this.
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2195
|
-
this.
|
|
2196
|
-
}
|
|
2197
|
-
protoOf($invoke$logOutgoingContentCOROUTINE$).
|
|
2198
|
-
var suspendResult = this.
|
|
2188
|
+
this.hrx_1 = $this_createClientPlugin;
|
|
2189
|
+
this.irx_1 = bodyFilter;
|
|
2190
|
+
this.jrx_1 = url;
|
|
2191
|
+
this.krx_1 = content;
|
|
2192
|
+
this.lrx_1 = method;
|
|
2193
|
+
this.mrx_1 = headers;
|
|
2194
|
+
this.nrx_1 = logLines;
|
|
2195
|
+
this.orx_1 = process;
|
|
2196
|
+
}
|
|
2197
|
+
protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
2198
|
+
var suspendResult = this.o9_1;
|
|
2199
2199
|
$sm: do
|
|
2200
2200
|
try {
|
|
2201
|
-
var tmp = this.
|
|
2201
|
+
var tmp = this.m9_1;
|
|
2202
2202
|
switch (tmp) {
|
|
2203
2203
|
case 0:
|
|
2204
|
-
this.
|
|
2205
|
-
var tmp0_subject = this.
|
|
2204
|
+
this.n9_1 = 7;
|
|
2205
|
+
var tmp0_subject = this.krx_1;
|
|
2206
2206
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2207
|
-
this.
|
|
2208
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2207
|
+
this.m9_1 = 5;
|
|
2208
|
+
suspendResult = invoke$logOutgoingContent(this.hrx_1, this.irx_1, this.jrx_1, this.krx_1.y4m_1, this.lrx_1, this.mrx_1, this.nrx_1, this.orx_1, this);
|
|
2209
2209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2210
2210
|
return suspendResult;
|
|
2211
2211
|
}
|
|
@@ -2213,49 +2213,49 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2213
2213
|
} else {
|
|
2214
2214
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2215
2215
|
var tmp_0 = this;
|
|
2216
|
-
var _iterator__ex2g4s = this.
|
|
2216
|
+
var _iterator__ex2g4s = this.krx_1.u60_1.t();
|
|
2217
2217
|
while (_iterator__ex2g4s.u()) {
|
|
2218
2218
|
var part = _iterator__ex2g4s.v();
|
|
2219
|
-
this.
|
|
2220
|
-
var _iterator__ex2g4s_0 = part.
|
|
2219
|
+
this.nrx_1.e1('--' + this.krx_1.v60_1);
|
|
2220
|
+
var _iterator__ex2g4s_0 = part.l61_1.h3d().t();
|
|
2221
2221
|
while (_iterator__ex2g4s_0.u()) {
|
|
2222
2222
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2223
2223
|
var key = _destruct__k2r9zo.m1();
|
|
2224
2224
|
var values = _destruct__k2r9zo.n1();
|
|
2225
|
-
this.
|
|
2225
|
+
this.nrx_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2226
2226
|
}
|
|
2227
2227
|
if (part instanceof FormItem) {
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2230
|
-
this.
|
|
2228
|
+
this.nrx_1.e1('Content-Length: ' + part.p61_1.length);
|
|
2229
|
+
this.nrx_1.e1('');
|
|
2230
|
+
this.nrx_1.e1(part.p61_1);
|
|
2231
2231
|
} else {
|
|
2232
|
-
this.
|
|
2233
|
-
var contentLength = part.
|
|
2232
|
+
this.nrx_1.e1('');
|
|
2233
|
+
var contentLength = part.l61_1.ee('Content-Length');
|
|
2234
2234
|
if (!(contentLength == null)) {
|
|
2235
|
-
this.
|
|
2235
|
+
this.nrx_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2236
2236
|
} else {
|
|
2237
|
-
this.
|
|
2237
|
+
this.nrx_1.e1('binary body omitted');
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
|
-
this.
|
|
2242
|
-
this.
|
|
2243
|
-
tmp_0.
|
|
2244
|
-
this.
|
|
2241
|
+
this.nrx_1.e1('--' + this.krx_1.v60_1 + '--');
|
|
2242
|
+
this.nrx_1.e1('--> END ' + this.lrx_1.l3r_1);
|
|
2243
|
+
tmp_0.prx_1 = null;
|
|
2244
|
+
this.m9_1 = 6;
|
|
2245
2245
|
continue $sm;
|
|
2246
2246
|
} else {
|
|
2247
2247
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2248
|
-
var bytes = this.
|
|
2249
|
-
this.
|
|
2250
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2248
|
+
var bytes = this.krx_1.c3x();
|
|
2249
|
+
this.m9_1 = 4;
|
|
2250
|
+
suspendResult = invoke$logRequestBody(this.irx_1, this.jrx_1, this.krx_1, fromInt(bytes.length), this.mrx_1, this.lrx_1, this.nrx_1, ByteReadChannel(bytes), this);
|
|
2251
2251
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2252
2252
|
return suspendResult;
|
|
2253
2253
|
}
|
|
2254
2254
|
continue $sm;
|
|
2255
2255
|
} else {
|
|
2256
2256
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2257
|
-
this.
|
|
2258
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2257
|
+
this.m9_1 = 3;
|
|
2258
|
+
suspendResult = invoke$logOutgoingContent(this.hrx_1, this.irx_1, this.jrx_1, this.krx_1.g3x(), this.lrx_1, this.mrx_1, this.nrx_1, this.orx_1, this);
|
|
2259
2259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2260
2260
|
return suspendResult;
|
|
2261
2261
|
}
|
|
@@ -2263,24 +2263,24 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2263
2263
|
} else {
|
|
2264
2264
|
if (tmp0_subject instanceof NoContent) {
|
|
2265
2265
|
var tmp_1 = this;
|
|
2266
|
-
this.
|
|
2267
|
-
tmp_1.
|
|
2268
|
-
this.
|
|
2266
|
+
this.nrx_1.e1('--> END ' + this.lrx_1.l3r_1);
|
|
2267
|
+
tmp_1.prx_1 = null;
|
|
2268
|
+
this.m9_1 = 6;
|
|
2269
2269
|
continue $sm;
|
|
2270
2270
|
} else {
|
|
2271
2271
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2272
2272
|
var tmp_2 = this;
|
|
2273
|
-
this.
|
|
2274
|
-
tmp_2.
|
|
2275
|
-
this.
|
|
2273
|
+
this.nrx_1.e1('--> END ' + this.lrx_1.l3r_1);
|
|
2274
|
+
tmp_2.prx_1 = null;
|
|
2275
|
+
this.m9_1 = 6;
|
|
2276
2276
|
continue $sm;
|
|
2277
2277
|
} else {
|
|
2278
2278
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2279
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2280
|
-
this.
|
|
2281
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2282
|
-
this.
|
|
2283
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2279
|
+
var _destruct__k2r9zo_0 = split(this.krx_1.n3x(), this.hrx_1.x4q_1);
|
|
2280
|
+
this.qrx_1 = _destruct__k2r9zo_0.ch();
|
|
2281
|
+
var newChannel = _destruct__k2r9zo_0.dh();
|
|
2282
|
+
this.m9_1 = 2;
|
|
2283
|
+
suspendResult = invoke$logRequestBody(this.irx_1, this.jrx_1, this.krx_1, this.krx_1.b3x(), this.mrx_1, this.lrx_1, this.nrx_1, newChannel, this);
|
|
2284
2284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2285
2285
|
return suspendResult;
|
|
2286
2286
|
}
|
|
@@ -2288,12 +2288,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2288
2288
|
} else {
|
|
2289
2289
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2290
2290
|
var channel = new ByteChannel();
|
|
2291
|
-
launch(this.
|
|
2292
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2293
|
-
this.
|
|
2294
|
-
var newChannel_0 = _destruct__k2r9zo_1.
|
|
2295
|
-
this.
|
|
2296
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2291
|
+
launch(this.hrx_1.x4q_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.krx_1, channel, null));
|
|
2292
|
+
var _destruct__k2r9zo_1 = split(channel, this.hrx_1.x4q_1);
|
|
2293
|
+
this.rrx_1 = _destruct__k2r9zo_1.ch();
|
|
2294
|
+
var newChannel_0 = _destruct__k2r9zo_1.dh();
|
|
2295
|
+
this.m9_1 = 1;
|
|
2296
|
+
suspendResult = invoke$logRequestBody(this.irx_1, this.jrx_1, this.krx_1, this.krx_1.b3x(), this.mrx_1, this.lrx_1, this.nrx_1, newChannel_0, this);
|
|
2297
2297
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2298
2298
|
return suspendResult;
|
|
2299
2299
|
}
|
|
@@ -2312,74 +2312,74 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2312
2312
|
|
|
2313
2313
|
break;
|
|
2314
2314
|
case 1:
|
|
2315
|
-
this.
|
|
2316
|
-
this.
|
|
2315
|
+
this.prx_1 = new LoggedContent(this.krx_1, this.rrx_1);
|
|
2316
|
+
this.m9_1 = 6;
|
|
2317
2317
|
continue $sm;
|
|
2318
2318
|
case 2:
|
|
2319
|
-
this.
|
|
2320
|
-
this.
|
|
2319
|
+
this.prx_1 = new LoggedContent(this.krx_1, this.qrx_1);
|
|
2320
|
+
this.m9_1 = 6;
|
|
2321
2321
|
continue $sm;
|
|
2322
2322
|
case 3:
|
|
2323
|
-
this.
|
|
2324
|
-
this.
|
|
2323
|
+
this.prx_1 = suspendResult;
|
|
2324
|
+
this.m9_1 = 6;
|
|
2325
2325
|
continue $sm;
|
|
2326
2326
|
case 4:
|
|
2327
|
-
this.
|
|
2328
|
-
this.
|
|
2327
|
+
this.prx_1 = null;
|
|
2328
|
+
this.m9_1 = 6;
|
|
2329
2329
|
continue $sm;
|
|
2330
2330
|
case 5:
|
|
2331
|
-
this.
|
|
2332
|
-
this.
|
|
2331
|
+
this.prx_1 = suspendResult;
|
|
2332
|
+
this.m9_1 = 6;
|
|
2333
2333
|
continue $sm;
|
|
2334
2334
|
case 6:
|
|
2335
|
-
return this.
|
|
2335
|
+
return this.prx_1;
|
|
2336
2336
|
case 7:
|
|
2337
|
-
throw this.
|
|
2337
|
+
throw this.p9_1;
|
|
2338
2338
|
}
|
|
2339
2339
|
} catch ($p) {
|
|
2340
2340
|
var e = $p;
|
|
2341
|
-
if (this.
|
|
2341
|
+
if (this.n9_1 === 7) {
|
|
2342
2342
|
throw e;
|
|
2343
2343
|
} else {
|
|
2344
|
-
this.
|
|
2345
|
-
this.
|
|
2344
|
+
this.m9_1 = this.n9_1;
|
|
2345
|
+
this.p9_1 = e;
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
2348
2348
|
while (true);
|
|
2349
2349
|
};
|
|
2350
2350
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2351
2351
|
CoroutineImpl.call(this, resultContinuation);
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2355
|
-
this.
|
|
2356
|
-
this.
|
|
2357
|
-
this.
|
|
2358
|
-
}
|
|
2359
|
-
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).
|
|
2360
|
-
var suspendResult = this.
|
|
2352
|
+
this.ary_1 = sanitizedHeaders;
|
|
2353
|
+
this.bry_1 = level;
|
|
2354
|
+
this.cry_1 = $this_createClientPlugin;
|
|
2355
|
+
this.dry_1 = bodyFilter;
|
|
2356
|
+
this.ery_1 = request;
|
|
2357
|
+
this.fry_1 = logLines;
|
|
2358
|
+
}
|
|
2359
|
+
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2360
|
+
var suspendResult = this.o9_1;
|
|
2361
2361
|
$sm: do
|
|
2362
2362
|
try {
|
|
2363
|
-
var tmp = this.
|
|
2363
|
+
var tmp = this.m9_1;
|
|
2364
2364
|
switch (tmp) {
|
|
2365
2365
|
case 0:
|
|
2366
|
-
this.
|
|
2367
|
-
if (invoke$isNone(this.
|
|
2366
|
+
this.n9_1 = 4;
|
|
2367
|
+
if (invoke$isNone(this.bry_1))
|
|
2368
2368
|
return null;
|
|
2369
|
-
var uri = takeFrom(new URLBuilder(), this.
|
|
2370
|
-
var body = this.
|
|
2369
|
+
var uri = takeFrom(new URLBuilder(), this.ery_1.m4i_1).v1g().toString();
|
|
2370
|
+
var body = this.ery_1.p4i_1;
|
|
2371
2371
|
var this_0 = new HeadersBuilder();
|
|
2372
2372
|
var tmp_0;
|
|
2373
2373
|
var tmp_1;
|
|
2374
2374
|
var tmp_2;
|
|
2375
2375
|
if (body instanceof OutgoingContent) {
|
|
2376
|
-
tmp_2 = !this.
|
|
2376
|
+
tmp_2 = !this.ery_1.n4i_1.equals(Companion_getInstance().b3r_1);
|
|
2377
2377
|
} else {
|
|
2378
2378
|
tmp_2 = false;
|
|
2379
2379
|
}
|
|
2380
2380
|
|
|
2381
2381
|
if (tmp_2) {
|
|
2382
|
-
tmp_1 = !this.
|
|
2382
|
+
tmp_1 = !this.ery_1.n4i_1.equals(Companion_getInstance().g3r_1);
|
|
2383
2383
|
} else {
|
|
2384
2384
|
tmp_1 = false;
|
|
2385
2385
|
}
|
|
@@ -2391,13 +2391,13 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
2393
2393
|
if (tmp_0) {
|
|
2394
|
-
var tmp0_safe_receiver = body.
|
|
2394
|
+
var tmp0_safe_receiver = body.z3w();
|
|
2395
2395
|
if (tmp0_safe_receiver == null)
|
|
2396
2396
|
null;
|
|
2397
2397
|
else {
|
|
2398
2398
|
appendIfNameAbsent(this_0, 'Content-Type', tmp0_safe_receiver.toString());
|
|
2399
2399
|
}
|
|
2400
|
-
var tmp1_safe_receiver = body.
|
|
2400
|
+
var tmp1_safe_receiver = body.b3x();
|
|
2401
2401
|
if (tmp1_safe_receiver == null)
|
|
2402
2402
|
null;
|
|
2403
2403
|
else {
|
|
@@ -2405,16 +2405,16 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
2408
|
-
appendAll(this_0, this.
|
|
2409
|
-
var headers = this_0.
|
|
2410
|
-
var tmp0_safe_receiver_0 = headers.
|
|
2408
|
+
appendAll(this_0, this.ery_1.o4i_1);
|
|
2409
|
+
var headers = this_0.v1g();
|
|
2410
|
+
var tmp0_safe_receiver_0 = headers.ee('Content-Length');
|
|
2411
2411
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2412
2412
|
var tmp_3;
|
|
2413
|
-
if (this.
|
|
2414
|
-
tmp_3 = '--> ' + this.
|
|
2413
|
+
if (this.ery_1.n4i_1.equals(Companion_getInstance().b3r_1) || this.ery_1.n4i_1.equals(Companion_getInstance().g3r_1) || ((invoke$isHeaders(this.bry_1) || invoke$isBody(this.bry_1)) && !(contentLength == null)) || (invoke$isHeaders(this.bry_1) && contentLength == null) || headers.y3b('Content-Encoding')) {
|
|
2414
|
+
tmp_3 = '--> ' + this.ery_1.n4i_1.l3r_1 + ' ' + uri;
|
|
2415
2415
|
} else {
|
|
2416
|
-
if (invoke$isInfo(this.
|
|
2417
|
-
tmp_3 = '--> ' + this.
|
|
2416
|
+
if (invoke$isInfo(this.bry_1) && !(contentLength == null)) {
|
|
2417
|
+
tmp_3 = '--> ' + this.ery_1.n4i_1.l3r_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2418
2418
|
} else {
|
|
2419
2419
|
var tmp_4;
|
|
2420
2420
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2423,32 +2423,32 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2423
2423
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2424
2424
|
}
|
|
2425
2425
|
if (tmp_4) {
|
|
2426
|
-
tmp_3 = '--> ' + this.
|
|
2426
|
+
tmp_3 = '--> ' + this.ery_1.n4i_1.l3r_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2427
2427
|
} else {
|
|
2428
|
-
var size = computeRequestBodySize(this.
|
|
2429
|
-
tmp_3 = '--> ' + this.
|
|
2428
|
+
var size = computeRequestBodySize(this.ery_1.p4i_1);
|
|
2429
|
+
tmp_3 = '--> ' + this.ery_1.n4i_1.l3r_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2430
2430
|
}
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
2434
|
var startLine = tmp_3;
|
|
2435
|
-
this.
|
|
2436
|
-
if (!invoke$isHeaders(this.
|
|
2435
|
+
this.fry_1.e1(startLine);
|
|
2436
|
+
if (!invoke$isHeaders(this.bry_1) && !invoke$isBody(this.bry_1)) {
|
|
2437
2437
|
return null;
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
2440
|
-
var _iterator__ex2g4s = headers.
|
|
2440
|
+
var _iterator__ex2g4s = headers.h3d().t();
|
|
2441
2441
|
while (_iterator__ex2g4s.u()) {
|
|
2442
2442
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2443
2443
|
var name = _destruct__k2r9zo.m1();
|
|
2444
2444
|
var values = _destruct__k2r9zo.n1();
|
|
2445
|
-
var tmp0 = this.
|
|
2445
|
+
var tmp0 = this.ary_1;
|
|
2446
2446
|
var tmp$ret$0 = Unit_instance;
|
|
2447
2447
|
l$ret$1: do {
|
|
2448
2448
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2449
2449
|
while (_iterator__ex2g4s_0.u()) {
|
|
2450
2450
|
var element = _iterator__ex2g4s_0.v();
|
|
2451
|
-
if (element.
|
|
2451
|
+
if (element.drt_1(name)) {
|
|
2452
2452
|
tmp$ret$0 = element;
|
|
2453
2453
|
break l$ret$1;
|
|
2454
2454
|
}
|
|
@@ -2457,35 +2457,35 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
while (false);
|
|
2459
2459
|
if (tmp$ret$0 == null) {
|
|
2460
|
-
this.
|
|
2460
|
+
this.fry_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2461
2461
|
} else {
|
|
2462
|
-
this.
|
|
2462
|
+
this.fry_1.e1(name + ': \u2588\u2588');
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
|
-
if (!invoke$isBody(this.
|
|
2467
|
-
this.
|
|
2466
|
+
if (!invoke$isBody(this.bry_1) || this.ery_1.n4i_1.equals(Companion_getInstance().b3r_1) || this.ery_1.n4i_1.equals(Companion_getInstance().g3r_1)) {
|
|
2467
|
+
this.fry_1.e1('--> END ' + this.ery_1.n4i_1.l3r_1);
|
|
2468
2468
|
return null;
|
|
2469
2469
|
}
|
|
2470
2470
|
|
|
2471
|
-
this.
|
|
2471
|
+
this.fry_1.e1('');
|
|
2472
2472
|
if (!(body instanceof OutgoingContent)) {
|
|
2473
|
-
this.
|
|
2473
|
+
this.fry_1.e1('--> END ' + this.ery_1.n4i_1.l3r_1);
|
|
2474
2474
|
return null;
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
|
-
if (this.
|
|
2478
|
-
this.
|
|
2479
|
-
var tmp_5 = this.
|
|
2480
|
-
var tmp_6 = this.
|
|
2481
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2477
|
+
if (this.ery_1.o4i_1.ee('Content-Encoding') === 'gzip') {
|
|
2478
|
+
this.m9_1 = 2;
|
|
2479
|
+
var tmp_5 = this.ery_1.m4i_1.v1g();
|
|
2480
|
+
var tmp_6 = this.ery_1.n4i_1;
|
|
2481
|
+
suspendResult = invoke$logOutgoingContent(this.cry_1, this.dry_1, tmp_5, body, tmp_6, headers, this.fry_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2482
2482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2483
2483
|
return suspendResult;
|
|
2484
2484
|
}
|
|
2485
2485
|
continue $sm;
|
|
2486
2486
|
} else {
|
|
2487
|
-
this.
|
|
2488
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2487
|
+
this.m9_1 = 1;
|
|
2488
|
+
suspendResult = invoke$logOutgoingContent(this.cry_1, this.dry_1, this.ery_1.m4i_1.v1g(), body, this.ery_1.n4i_1, headers, this.fry_1, VOID, this);
|
|
2489
2489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2490
2490
|
return suspendResult;
|
|
2491
2491
|
}
|
|
@@ -2493,48 +2493,48 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
case 1:
|
|
2496
|
-
this.
|
|
2497
|
-
this.
|
|
2496
|
+
this.gry_1 = suspendResult;
|
|
2497
|
+
this.m9_1 = 3;
|
|
2498
2498
|
continue $sm;
|
|
2499
2499
|
case 2:
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2500
|
+
this.gry_1 = suspendResult;
|
|
2501
|
+
this.m9_1 = 3;
|
|
2502
2502
|
continue $sm;
|
|
2503
2503
|
case 3:
|
|
2504
|
-
var newContent = this.
|
|
2504
|
+
var newContent = this.gry_1;
|
|
2505
2505
|
return newContent;
|
|
2506
2506
|
case 4:
|
|
2507
|
-
throw this.
|
|
2507
|
+
throw this.p9_1;
|
|
2508
2508
|
}
|
|
2509
2509
|
} catch ($p) {
|
|
2510
2510
|
var e = $p;
|
|
2511
|
-
if (this.
|
|
2511
|
+
if (this.n9_1 === 4) {
|
|
2512
2512
|
throw e;
|
|
2513
2513
|
} else {
|
|
2514
|
-
this.
|
|
2515
|
-
this.
|
|
2514
|
+
this.m9_1 = this.n9_1;
|
|
2515
|
+
this.p9_1 = e;
|
|
2516
2516
|
}
|
|
2517
2517
|
}
|
|
2518
2518
|
while (true);
|
|
2519
2519
|
};
|
|
2520
2520
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2521
2521
|
CoroutineImpl.call(this, resultContinuation);
|
|
2522
|
-
this.
|
|
2523
|
-
this.
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2522
|
+
this.pry_1 = bodyFilter;
|
|
2523
|
+
this.qry_1 = response;
|
|
2524
|
+
this.rry_1 = body;
|
|
2525
|
+
this.sry_1 = logLines;
|
|
2526
2526
|
}
|
|
2527
|
-
protoOf($invoke$logResponseBodyCOROUTINE$).
|
|
2528
|
-
var suspendResult = this.
|
|
2527
|
+
protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
2528
|
+
var suspendResult = this.o9_1;
|
|
2529
2529
|
$sm: do
|
|
2530
2530
|
try {
|
|
2531
|
-
var tmp = this.
|
|
2531
|
+
var tmp = this.m9_1;
|
|
2532
2532
|
switch (tmp) {
|
|
2533
2533
|
case 0:
|
|
2534
|
-
this.
|
|
2535
|
-
this.
|
|
2536
|
-
this.
|
|
2537
|
-
suspendResult = this.
|
|
2534
|
+
this.n9_1 = 2;
|
|
2535
|
+
this.sry_1.e1('');
|
|
2536
|
+
this.m9_1 = 1;
|
|
2537
|
+
suspendResult = this.pry_1.hrr(this.qry_1.d4k().v4j().f4k(), contentLength(this.qry_1), contentType(this.qry_1), this.qry_1.a3r(), this.rry_1, this);
|
|
2538
2538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2539
2539
|
return suspendResult;
|
|
2540
2540
|
}
|
|
@@ -2542,33 +2542,33 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2542
2542
|
continue $sm;
|
|
2543
2543
|
case 1:
|
|
2544
2544
|
var filteredBody = suspendResult;
|
|
2545
|
-
var duration = subtract(this.
|
|
2545
|
+
var duration = subtract(this.qry_1.p4k().f3f_1, this.qry_1.o4k().f3f_1);
|
|
2546
2546
|
if (filteredBody instanceof Empty) {
|
|
2547
|
-
this.
|
|
2547
|
+
this.sry_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2548
2548
|
} else {
|
|
2549
2549
|
if (filteredBody instanceof Skip) {
|
|
2550
2550
|
var this_0 = StringBuilder_init_$Create$();
|
|
2551
2551
|
this_0.q('<-- END HTTP (');
|
|
2552
|
-
this_0.
|
|
2552
|
+
this_0.dd(duration);
|
|
2553
2553
|
this_0.q('ms, ');
|
|
2554
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2554
|
+
var tmp0_safe_receiver = filteredBody.jrr_1;
|
|
2555
2555
|
if (tmp0_safe_receiver == null)
|
|
2556
2556
|
null;
|
|
2557
2557
|
else {
|
|
2558
2558
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2559
2559
|
}
|
|
2560
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2560
|
+
var tmp1_safe_receiver = filteredBody.krr_1;
|
|
2561
2561
|
if (tmp1_safe_receiver == null)
|
|
2562
2562
|
null;
|
|
2563
2563
|
else {
|
|
2564
2564
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2565
2565
|
}
|
|
2566
2566
|
this_0.q('body omitted)');
|
|
2567
|
-
this.
|
|
2567
|
+
this.sry_1.e1(this_0.toString());
|
|
2568
2568
|
} else {
|
|
2569
2569
|
if (isInterface(filteredBody, Content)) {
|
|
2570
|
-
this.
|
|
2571
|
-
this.
|
|
2570
|
+
this.sry_1.e1(filteredBody.v6g());
|
|
2571
|
+
this.sry_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.irr()) + '-byte body)');
|
|
2572
2572
|
} else {
|
|
2573
2573
|
noWhenBranchMatchedException();
|
|
2574
2574
|
}
|
|
@@ -2577,59 +2577,59 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2577
2577
|
|
|
2578
2578
|
return Unit_instance;
|
|
2579
2579
|
case 2:
|
|
2580
|
-
throw this.
|
|
2580
|
+
throw this.p9_1;
|
|
2581
2581
|
}
|
|
2582
2582
|
} catch ($p) {
|
|
2583
2583
|
var e = $p;
|
|
2584
|
-
if (this.
|
|
2584
|
+
if (this.n9_1 === 2) {
|
|
2585
2585
|
throw e;
|
|
2586
2586
|
} else {
|
|
2587
|
-
this.
|
|
2588
|
-
this.
|
|
2587
|
+
this.m9_1 = this.n9_1;
|
|
2588
|
+
this.p9_1 = e;
|
|
2589
2589
|
}
|
|
2590
2590
|
}
|
|
2591
2591
|
while (true);
|
|
2592
2592
|
};
|
|
2593
2593
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2594
2594
|
CoroutineImpl.call(this, resultContinuation);
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2600
|
-
}
|
|
2601
|
-
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).
|
|
2602
|
-
var suspendResult = this.
|
|
2595
|
+
this.brz_1 = sanitizedHeaders;
|
|
2596
|
+
this.crz_1 = level;
|
|
2597
|
+
this.drz_1 = bodyFilter;
|
|
2598
|
+
this.erz_1 = response;
|
|
2599
|
+
this.frz_1 = logLines;
|
|
2600
|
+
}
|
|
2601
|
+
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2602
|
+
var suspendResult = this.o9_1;
|
|
2603
2603
|
$sm: do
|
|
2604
2604
|
try {
|
|
2605
|
-
var tmp = this.
|
|
2605
|
+
var tmp = this.m9_1;
|
|
2606
2606
|
switch (tmp) {
|
|
2607
2607
|
case 0:
|
|
2608
|
-
this.
|
|
2609
|
-
if (invoke$isNone(this.
|
|
2610
|
-
return this.
|
|
2611
|
-
var tmp0_safe_receiver = this.
|
|
2608
|
+
this.n9_1 = 4;
|
|
2609
|
+
if (invoke$isNone(this.crz_1))
|
|
2610
|
+
return this.erz_1;
|
|
2611
|
+
var tmp0_safe_receiver = this.erz_1.a3r().ee('Content-Length');
|
|
2612
2612
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2613
|
-
var request = get_request(this.
|
|
2614
|
-
var duration = subtract(this.
|
|
2615
|
-
var startLine = this.
|
|
2616
|
-
this.
|
|
2617
|
-
if (!invoke$isHeaders(this.
|
|
2618
|
-
return this.
|
|
2613
|
+
var request = get_request(this.erz_1);
|
|
2614
|
+
var duration = subtract(this.erz_1.p4k().f3f_1, this.erz_1.o4k().f3f_1);
|
|
2615
|
+
var startLine = this.erz_1.a3r().ee('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.crz_1) || invoke$isHeaders(this.crz_1)) ? '<-- ' + this.erz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.crz_1) && !(contentLength == null) ? '<-- ' + this.erz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.crz_1) || (invoke$isInfo(this.crz_1) && contentLength == null) || (invoke$isHeaders(this.crz_1) && !(contentLength == null)) || this.erz_1.a3r().ee('Content-Encoding') === 'gzip' ? '<-- ' + this.erz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms)' : '<-- ' + this.erz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2616
|
+
this.frz_1.e1(startLine);
|
|
2617
|
+
if (!invoke$isHeaders(this.crz_1) && !invoke$isBody(this.crz_1)) {
|
|
2618
|
+
return this.erz_1;
|
|
2619
2619
|
}
|
|
2620
2620
|
|
|
2621
|
-
var _iterator__ex2g4s = this.
|
|
2621
|
+
var _iterator__ex2g4s = this.erz_1.a3r().h3d().t();
|
|
2622
2622
|
while (_iterator__ex2g4s.u()) {
|
|
2623
2623
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2624
2624
|
var name = _destruct__k2r9zo.m1();
|
|
2625
2625
|
var values = _destruct__k2r9zo.n1();
|
|
2626
|
-
var tmp0 = this.
|
|
2626
|
+
var tmp0 = this.brz_1;
|
|
2627
2627
|
var tmp$ret$0 = Unit_instance;
|
|
2628
2628
|
l$ret$1: do {
|
|
2629
2629
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2630
2630
|
while (_iterator__ex2g4s_0.u()) {
|
|
2631
2631
|
var element = _iterator__ex2g4s_0.v();
|
|
2632
|
-
if (element.
|
|
2632
|
+
if (element.drt_1(name)) {
|
|
2633
2633
|
tmp$ret$0 = element;
|
|
2634
2634
|
break l$ret$1;
|
|
2635
2635
|
}
|
|
@@ -2638,66 +2638,66 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
while (false);
|
|
2640
2640
|
if (tmp$ret$0 == null) {
|
|
2641
|
-
this.
|
|
2641
|
+
this.frz_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2642
2642
|
} else {
|
|
2643
|
-
this.
|
|
2643
|
+
this.frz_1.e1(name + ': \u2588\u2588');
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
2646
|
|
|
2647
|
-
if (!invoke$isBody(this.
|
|
2648
|
-
this.
|
|
2649
|
-
return this.
|
|
2647
|
+
if (!invoke$isBody(this.crz_1)) {
|
|
2648
|
+
this.frz_1.e1('<-- END HTTP');
|
|
2649
|
+
return this.erz_1;
|
|
2650
2650
|
}
|
|
2651
2651
|
|
|
2652
2652
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2653
|
-
this.
|
|
2654
|
-
return this.
|
|
2653
|
+
this.frz_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2654
|
+
return this.erz_1;
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
|
-
if (equals(contentType(this.
|
|
2658
|
-
this.
|
|
2659
|
-
return this.
|
|
2657
|
+
if (equals(contentType(this.erz_1), Text_getInstance().j3l_1)) {
|
|
2658
|
+
this.frz_1.e1('<-- END HTTP (streaming)');
|
|
2659
|
+
return this.erz_1;
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
|
-
if (get_isSaved(this.
|
|
2663
|
-
this.
|
|
2664
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2662
|
+
if (get_isSaved(this.erz_1)) {
|
|
2663
|
+
this.m9_1 = 3;
|
|
2664
|
+
suspendResult = invoke$logResponseBody(this.drz_1, this.erz_1, this.erz_1.m4k(), this.frz_1, this);
|
|
2665
2665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2666
2666
|
return suspendResult;
|
|
2667
2667
|
}
|
|
2668
2668
|
continue $sm;
|
|
2669
2669
|
} else {
|
|
2670
|
-
this.
|
|
2670
|
+
this.m9_1 = 1;
|
|
2671
2671
|
continue $sm;
|
|
2672
2672
|
}
|
|
2673
2673
|
|
|
2674
2674
|
case 1:
|
|
2675
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2676
|
-
this.
|
|
2677
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2678
|
-
this.
|
|
2679
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2675
|
+
var _destruct__k2r9zo_0 = split(this.erz_1.m4k(), this.erz_1);
|
|
2676
|
+
this.grz_1 = _destruct__k2r9zo_0.ch();
|
|
2677
|
+
var newChannel = _destruct__k2r9zo_0.dh();
|
|
2678
|
+
this.m9_1 = 2;
|
|
2679
|
+
suspendResult = invoke$logResponseBody(this.drz_1, this.erz_1, newChannel, this.frz_1, this);
|
|
2680
2680
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2681
2681
|
return suspendResult;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
2684
|
continue $sm;
|
|
2685
2685
|
case 2:
|
|
2686
|
-
var tmp_0 = this.
|
|
2687
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2688
|
-
return call.
|
|
2686
|
+
var tmp_0 = this.erz_1.d4k();
|
|
2687
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.grz_1));
|
|
2688
|
+
return call.m4h();
|
|
2689
2689
|
case 3:
|
|
2690
|
-
return this.
|
|
2690
|
+
return this.erz_1;
|
|
2691
2691
|
case 4:
|
|
2692
|
-
throw this.
|
|
2692
|
+
throw this.p9_1;
|
|
2693
2693
|
}
|
|
2694
2694
|
} catch ($p) {
|
|
2695
2695
|
var e = $p;
|
|
2696
|
-
if (this.
|
|
2696
|
+
if (this.n9_1 === 4) {
|
|
2697
2697
|
throw e;
|
|
2698
2698
|
} else {
|
|
2699
|
-
this.
|
|
2700
|
-
this.
|
|
2699
|
+
this.m9_1 = this.n9_1;
|
|
2700
|
+
this.p9_1 = e;
|
|
2701
2701
|
}
|
|
2702
2702
|
}
|
|
2703
2703
|
while (true);
|
|
@@ -2781,7 +2781,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2781
2781
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2782
2782
|
while (_iterator__ex2g4s_0.u()) {
|
|
2783
2783
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2784
|
-
if (element_0.
|
|
2784
|
+
if (element_0.drt_1(key)) {
|
|
2785
2785
|
tmp$ret$6 = element_0;
|
|
2786
2786
|
break $l$block;
|
|
2787
2787
|
}
|
|
@@ -2789,7 +2789,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2789
2789
|
tmp$ret$6 = null;
|
|
2790
2790
|
}
|
|
2791
2791
|
var tmp0_safe_receiver = tmp$ret$6;
|
|
2792
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2792
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.crt_1;
|
|
2793
2793
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2794
2794
|
}
|
|
2795
2795
|
}
|
|
@@ -2801,51 +2801,51 @@ function logHeader(_this__u8e3s4, key, value) {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2803
2803
|
// Inline function 'kotlin.with' call
|
|
2804
|
-
if (level.
|
|
2804
|
+
if (level.jrs_1) {
|
|
2805
2805
|
// Inline function 'kotlin.text.appendLine' call
|
|
2806
|
-
var value = 'RESPONSE: ' + response.
|
|
2806
|
+
var value = 'RESPONSE: ' + response.a3x().toString();
|
|
2807
2807
|
// Inline function 'kotlin.text.appendLine' call
|
|
2808
2808
|
log.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2809
2809
|
// Inline function 'kotlin.text.appendLine' call
|
|
2810
|
-
var value_0 = 'METHOD: ' + response.
|
|
2810
|
+
var value_0 = 'METHOD: ' + response.d4k().v4j().e4k().toString();
|
|
2811
2811
|
// Inline function 'kotlin.text.appendLine' call
|
|
2812
2812
|
log.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2813
2813
|
// Inline function 'kotlin.text.appendLine' call
|
|
2814
|
-
var value_1 = 'FROM: ' + response.
|
|
2814
|
+
var value_1 = 'FROM: ' + response.d4k().v4j().f4k().toString();
|
|
2815
2815
|
// Inline function 'kotlin.text.appendLine' call
|
|
2816
2816
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2817
2817
|
}
|
|
2818
|
-
if (level.
|
|
2818
|
+
if (level.krs_1) {
|
|
2819
2819
|
// Inline function 'kotlin.text.appendLine' call
|
|
2820
2820
|
var value_2 = 'COMMON HEADERS';
|
|
2821
2821
|
// Inline function 'kotlin.text.appendLine' call
|
|
2822
2822
|
log.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
2823
|
-
logHeaders(log, response.
|
|
2823
|
+
logHeaders(log, response.a3r().h3d(), sanitizedHeaders);
|
|
2824
2824
|
}
|
|
2825
2825
|
}
|
|
2826
2826
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
2827
2827
|
var tmp = new $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, $completion);
|
|
2828
|
-
tmp.
|
|
2829
|
-
tmp.
|
|
2830
|
-
return tmp.
|
|
2828
|
+
tmp.o9_1 = Unit_instance;
|
|
2829
|
+
tmp.p9_1 = null;
|
|
2830
|
+
return tmp.u9();
|
|
2831
2831
|
}
|
|
2832
2832
|
function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
2833
2833
|
var tmp = new $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, $completion);
|
|
2834
|
-
tmp.
|
|
2835
|
-
tmp.
|
|
2836
|
-
return tmp.
|
|
2834
|
+
tmp.o9_1 = Unit_instance;
|
|
2835
|
+
tmp.p9_1 = null;
|
|
2836
|
+
return tmp.u9();
|
|
2837
2837
|
}
|
|
2838
2838
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2839
|
-
this.
|
|
2839
|
+
this.vs3_1 = function_0;
|
|
2840
2840
|
}
|
|
2841
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2842
|
-
return this.
|
|
2841
|
+
protoOf(sam$kotlin_Comparator$0).ue = function (a, b) {
|
|
2842
|
+
return this.vs3_1(a, b);
|
|
2843
2843
|
};
|
|
2844
2844
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2845
|
-
return this.
|
|
2845
|
+
return this.ue(a, b);
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(sam$kotlin_Comparator$0).t3 = function () {
|
|
2848
|
-
return this.
|
|
2848
|
+
return this.vs3_1;
|
|
2849
2849
|
};
|
|
2850
2850
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2851
2851
|
var tmp;
|
|
@@ -2873,64 +2873,64 @@ function logHeaders$lambda(a, b) {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2875
2875
|
CoroutineImpl.call(this, resultContinuation);
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2876
|
+
this.es3_1 = _this__u8e3s4;
|
|
2877
|
+
this.fs3_1 = response;
|
|
2878
2878
|
}
|
|
2879
|
-
protoOf($logResponseBodyCOROUTINE$_0).
|
|
2880
|
-
var suspendResult = this.
|
|
2879
|
+
protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
2880
|
+
var suspendResult = this.o9_1;
|
|
2881
2881
|
$sm: do
|
|
2882
2882
|
try {
|
|
2883
|
-
var tmp = this.
|
|
2883
|
+
var tmp = this.m9_1;
|
|
2884
2884
|
switch (tmp) {
|
|
2885
2885
|
case 0:
|
|
2886
|
-
this.
|
|
2887
|
-
this.
|
|
2888
|
-
this.
|
|
2886
|
+
this.n9_1 = 8;
|
|
2887
|
+
this.gs3_1 = StringBuilder_init_$Create$();
|
|
2888
|
+
this.m9_1 = 1;
|
|
2889
2889
|
continue $sm;
|
|
2890
2890
|
case 1:
|
|
2891
|
-
this.
|
|
2892
|
-
this.
|
|
2893
|
-
this.
|
|
2894
|
-
suspendResult = appendResponseBody(this.
|
|
2891
|
+
this.n9_1 = 4;
|
|
2892
|
+
this.n9_1 = 3;
|
|
2893
|
+
this.m9_1 = 2;
|
|
2894
|
+
suspendResult = appendResponseBody(this.gs3_1, contentType(this.fs3_1), this.fs3_1.m4k(), this);
|
|
2895
2895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2896
2896
|
return suspendResult;
|
|
2897
2897
|
}
|
|
2898
2898
|
|
|
2899
2899
|
continue $sm;
|
|
2900
2900
|
case 2:
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2901
|
+
this.n9_1 = 8;
|
|
2902
|
+
this.m9_1 = 6;
|
|
2903
2903
|
continue $sm;
|
|
2904
2904
|
case 3:
|
|
2905
|
-
this.
|
|
2906
|
-
var tmp_0 = this.
|
|
2905
|
+
this.n9_1 = 4;
|
|
2906
|
+
var tmp_0 = this.p9_1;
|
|
2907
2907
|
if (tmp_0 instanceof Error) {
|
|
2908
|
-
var _unused_var__etf5q3 = this.
|
|
2909
|
-
this.
|
|
2910
|
-
this.
|
|
2908
|
+
var _unused_var__etf5q3 = this.p9_1;
|
|
2909
|
+
this.n9_1 = 8;
|
|
2910
|
+
this.m9_1 = 6;
|
|
2911
2911
|
continue $sm;
|
|
2912
2912
|
} else {
|
|
2913
|
-
throw this.
|
|
2913
|
+
throw this.p9_1;
|
|
2914
2914
|
}
|
|
2915
2915
|
|
|
2916
2916
|
case 4:
|
|
2917
|
-
this.
|
|
2918
|
-
this.
|
|
2919
|
-
this.
|
|
2920
|
-
var this_0 = this.
|
|
2921
|
-
suspendResult = this.
|
|
2917
|
+
this.n9_1 = 8;
|
|
2918
|
+
this.hs3_1 = this.p9_1;
|
|
2919
|
+
this.m9_1 = 5;
|
|
2920
|
+
var this_0 = this.gs3_1.toString();
|
|
2921
|
+
suspendResult = this.es3_1.crr(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2922
2922
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2923
2923
|
return suspendResult;
|
|
2924
2924
|
}
|
|
2925
2925
|
|
|
2926
2926
|
continue $sm;
|
|
2927
2927
|
case 5:
|
|
2928
|
-
throw this.
|
|
2928
|
+
throw this.hs3_1;
|
|
2929
2929
|
case 6:
|
|
2930
|
-
this.
|
|
2931
|
-
this.
|
|
2932
|
-
var this_1 = this.
|
|
2933
|
-
suspendResult = this.
|
|
2930
|
+
this.n9_1 = 8;
|
|
2931
|
+
this.m9_1 = 7;
|
|
2932
|
+
var this_1 = this.gs3_1.toString();
|
|
2933
|
+
suspendResult = this.es3_1.crr(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2934
2934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2935
2935
|
return suspendResult;
|
|
2936
2936
|
}
|
|
@@ -2939,45 +2939,45 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2939
2939
|
case 7:
|
|
2940
2940
|
return Unit_instance;
|
|
2941
2941
|
case 8:
|
|
2942
|
-
throw this.
|
|
2942
|
+
throw this.p9_1;
|
|
2943
2943
|
}
|
|
2944
2944
|
} catch ($p) {
|
|
2945
2945
|
var e = $p;
|
|
2946
|
-
if (this.
|
|
2946
|
+
if (this.n9_1 === 8) {
|
|
2947
2947
|
throw e;
|
|
2948
2948
|
} else {
|
|
2949
|
-
this.
|
|
2950
|
-
this.
|
|
2949
|
+
this.m9_1 = this.n9_1;
|
|
2950
|
+
this.p9_1 = e;
|
|
2951
2951
|
}
|
|
2952
2952
|
}
|
|
2953
2953
|
while (true);
|
|
2954
2954
|
};
|
|
2955
2955
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2956
2956
|
CoroutineImpl.call(this, resultContinuation);
|
|
2957
|
-
this.
|
|
2958
|
-
this.
|
|
2959
|
-
this.
|
|
2957
|
+
this.qs3_1 = _this__u8e3s4;
|
|
2958
|
+
this.rs3_1 = contentType;
|
|
2959
|
+
this.ss3_1 = content;
|
|
2960
2960
|
}
|
|
2961
|
-
protoOf($appendResponseBodyCOROUTINE$).
|
|
2962
|
-
var suspendResult = this.
|
|
2961
|
+
protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
2962
|
+
var suspendResult = this.o9_1;
|
|
2963
2963
|
$sm: do
|
|
2964
2964
|
try {
|
|
2965
|
-
var tmp = this.
|
|
2965
|
+
var tmp = this.m9_1;
|
|
2966
2966
|
switch (tmp) {
|
|
2967
2967
|
case 0:
|
|
2968
|
-
this.
|
|
2969
|
-
var tmp0 = this.
|
|
2970
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2968
|
+
this.n9_1 = 3;
|
|
2969
|
+
var tmp0 = this.qs3_1;
|
|
2970
|
+
var value = 'BODY Content-Type: ' + toString_0(this.rs3_1);
|
|
2971
2971
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2972
|
-
var tmp0_0 = this.
|
|
2972
|
+
var tmp0_0 = this.qs3_1;
|
|
2973
2973
|
var value_0 = 'BODY START';
|
|
2974
2974
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2975
|
-
var tmp0_1 = this.
|
|
2976
|
-
var tmp0_safe_receiver = this.
|
|
2975
|
+
var tmp0_1 = this.ss3_1;
|
|
2976
|
+
var tmp0_safe_receiver = this.rs3_1;
|
|
2977
2977
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2978
|
-
this.
|
|
2979
|
-
this.
|
|
2980
|
-
this.
|
|
2978
|
+
this.us3_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp1_elvis_lhs;
|
|
2979
|
+
this.n9_1 = 2;
|
|
2980
|
+
this.m9_1 = 1;
|
|
2981
2981
|
suspendResult = readRemaining(tmp0_1, this);
|
|
2982
2982
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2983
2983
|
return suspendResult;
|
|
@@ -2986,78 +2986,78 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2986
2986
|
continue $sm;
|
|
2987
2987
|
case 1:
|
|
2988
2988
|
var ARGUMENT = suspendResult;
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2991
|
-
this.
|
|
2989
|
+
this.ts3_1 = readText(ARGUMENT, this.us3_1);
|
|
2990
|
+
this.n9_1 = 3;
|
|
2991
|
+
this.m9_1 = 4;
|
|
2992
2992
|
continue $sm;
|
|
2993
2993
|
case 2:
|
|
2994
|
-
this.
|
|
2995
|
-
var tmp_0 = this.
|
|
2994
|
+
this.n9_1 = 3;
|
|
2995
|
+
var tmp_0 = this.p9_1;
|
|
2996
2996
|
if (tmp_0 instanceof Error) {
|
|
2997
|
-
var cause = this.
|
|
2997
|
+
var cause = this.p9_1;
|
|
2998
2998
|
var tmp_1 = this;
|
|
2999
|
-
tmp_1.
|
|
3000
|
-
this.
|
|
2999
|
+
tmp_1.ts3_1 = null;
|
|
3000
|
+
this.m9_1 = 4;
|
|
3001
3001
|
continue $sm;
|
|
3002
3002
|
} else {
|
|
3003
|
-
throw this.
|
|
3003
|
+
throw this.p9_1;
|
|
3004
3004
|
}
|
|
3005
3005
|
|
|
3006
3006
|
case 3:
|
|
3007
|
-
throw this.
|
|
3007
|
+
throw this.p9_1;
|
|
3008
3008
|
case 4:
|
|
3009
|
-
this.
|
|
3010
|
-
var tmp2_elvis_lhs = this.
|
|
3009
|
+
this.n9_1 = 3;
|
|
3010
|
+
var tmp2_elvis_lhs = this.ts3_1;
|
|
3011
3011
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
3012
|
-
this.
|
|
3013
|
-
this.
|
|
3012
|
+
this.qs3_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
3013
|
+
this.qs3_1.q('BODY END');
|
|
3014
3014
|
return Unit_instance;
|
|
3015
3015
|
}
|
|
3016
3016
|
} catch ($p) {
|
|
3017
3017
|
var e = $p;
|
|
3018
|
-
if (this.
|
|
3018
|
+
if (this.n9_1 === 3) {
|
|
3019
3019
|
throw e;
|
|
3020
3020
|
} else {
|
|
3021
|
-
this.
|
|
3022
|
-
this.
|
|
3021
|
+
this.m9_1 = this.n9_1;
|
|
3022
|
+
this.p9_1 = e;
|
|
3023
3023
|
}
|
|
3024
3024
|
}
|
|
3025
3025
|
while (true);
|
|
3026
3026
|
};
|
|
3027
3027
|
function observe(_this__u8e3s4, log, $completion) {
|
|
3028
3028
|
var tmp = new $observeCOROUTINE$(_this__u8e3s4, log, $completion);
|
|
3029
|
-
tmp.
|
|
3030
|
-
tmp.
|
|
3031
|
-
return tmp.
|
|
3029
|
+
tmp.o9_1 = Unit_instance;
|
|
3030
|
+
tmp.p9_1 = null;
|
|
3031
|
+
return tmp.u9();
|
|
3032
3032
|
}
|
|
3033
3033
|
function toReadChannel(_this__u8e3s4) {
|
|
3034
3034
|
var tmp = GlobalScope_instance;
|
|
3035
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
3036
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
3035
|
+
var tmp_0 = Dispatchers_getInstance().k28_1;
|
|
3036
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).f35_1;
|
|
3037
3037
|
}
|
|
3038
3038
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3039
|
-
this.
|
|
3039
|
+
this.qs4_1 = $this_toReadChannel;
|
|
3040
3040
|
CoroutineImpl.call(this, resultContinuation);
|
|
3041
3041
|
}
|
|
3042
|
-
protoOf(toReadChannel$slambda).
|
|
3043
|
-
var tmp = this.
|
|
3044
|
-
tmp.
|
|
3045
|
-
tmp.
|
|
3046
|
-
return tmp.
|
|
3042
|
+
protoOf(toReadChannel$slambda).t43 = function ($this$writer, $completion) {
|
|
3043
|
+
var tmp = this.u43($this$writer, $completion);
|
|
3044
|
+
tmp.o9_1 = Unit_instance;
|
|
3045
|
+
tmp.p9_1 = null;
|
|
3046
|
+
return tmp.u9();
|
|
3047
3047
|
};
|
|
3048
|
-
protoOf(toReadChannel$slambda).
|
|
3049
|
-
return this.
|
|
3048
|
+
protoOf(toReadChannel$slambda).ga = function (p1, $completion) {
|
|
3049
|
+
return this.t43(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3050
3050
|
};
|
|
3051
|
-
protoOf(toReadChannel$slambda).
|
|
3052
|
-
var suspendResult = this.
|
|
3051
|
+
protoOf(toReadChannel$slambda).u9 = function () {
|
|
3052
|
+
var suspendResult = this.o9_1;
|
|
3053
3053
|
$sm: do
|
|
3054
3054
|
try {
|
|
3055
|
-
var tmp = this.
|
|
3055
|
+
var tmp = this.m9_1;
|
|
3056
3056
|
switch (tmp) {
|
|
3057
3057
|
case 0:
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
3060
|
-
suspendResult = this.
|
|
3058
|
+
this.n9_1 = 2;
|
|
3059
|
+
this.m9_1 = 1;
|
|
3060
|
+
suspendResult = this.qs4_1.g3y(this.rs4_1.h35_1, this);
|
|
3061
3061
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3062
3062
|
return suspendResult;
|
|
3063
3063
|
}
|
|
@@ -3066,49 +3066,49 @@ protoOf(toReadChannel$slambda).t9 = function () {
|
|
|
3066
3066
|
case 1:
|
|
3067
3067
|
return Unit_instance;
|
|
3068
3068
|
case 2:
|
|
3069
|
-
throw this.
|
|
3069
|
+
throw this.p9_1;
|
|
3070
3070
|
}
|
|
3071
3071
|
} catch ($p) {
|
|
3072
3072
|
var e = $p;
|
|
3073
|
-
if (this.
|
|
3073
|
+
if (this.n9_1 === 2) {
|
|
3074
3074
|
throw e;
|
|
3075
3075
|
} else {
|
|
3076
|
-
this.
|
|
3077
|
-
this.
|
|
3076
|
+
this.m9_1 = this.n9_1;
|
|
3077
|
+
this.p9_1 = e;
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
3080
|
while (true);
|
|
3081
3081
|
};
|
|
3082
|
-
protoOf(toReadChannel$slambda).
|
|
3083
|
-
var i = new toReadChannel$slambda(this.
|
|
3084
|
-
i.
|
|
3082
|
+
protoOf(toReadChannel$slambda).u43 = function ($this$writer, completion) {
|
|
3083
|
+
var i = new toReadChannel$slambda(this.qs4_1, completion);
|
|
3084
|
+
i.rs4_1 = $this$writer;
|
|
3085
3085
|
return i;
|
|
3086
3086
|
};
|
|
3087
3087
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3088
3088
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3089
3089
|
var l = function ($this$writer, $completion) {
|
|
3090
|
-
return i.
|
|
3090
|
+
return i.t43($this$writer, $completion);
|
|
3091
3091
|
};
|
|
3092
3092
|
l.$arity = 1;
|
|
3093
3093
|
return l;
|
|
3094
3094
|
}
|
|
3095
3095
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3096
3096
|
CoroutineImpl.call(this, resultContinuation);
|
|
3097
|
-
this.
|
|
3098
|
-
this.
|
|
3097
|
+
this.es4_1 = _this__u8e3s4;
|
|
3098
|
+
this.fs4_1 = log;
|
|
3099
3099
|
}
|
|
3100
|
-
protoOf($observeCOROUTINE$).
|
|
3101
|
-
var suspendResult = this.
|
|
3100
|
+
protoOf($observeCOROUTINE$).u9 = function () {
|
|
3101
|
+
var suspendResult = this.o9_1;
|
|
3102
3102
|
$sm: do
|
|
3103
3103
|
try {
|
|
3104
|
-
var tmp = this.
|
|
3104
|
+
var tmp = this.m9_1;
|
|
3105
3105
|
switch (tmp) {
|
|
3106
3106
|
case 0:
|
|
3107
|
-
this.
|
|
3108
|
-
var tmp0_subject = this.
|
|
3107
|
+
this.n9_1 = 6;
|
|
3108
|
+
var tmp0_subject = this.es4_1;
|
|
3109
3109
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3110
|
-
this.
|
|
3111
|
-
suspendResult = writeFully_0(this.
|
|
3110
|
+
this.m9_1 = 3;
|
|
3111
|
+
suspendResult = writeFully_0(this.fs4_1, this.es4_1.c3x(), VOID, VOID, this);
|
|
3112
3112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3113
3113
|
return suspendResult;
|
|
3114
3114
|
}
|
|
@@ -3117,25 +3117,25 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3117
3117
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3118
3118
|
var tmp_0 = this;
|
|
3119
3119
|
var responseChannel = new ByteChannel();
|
|
3120
|
-
var content = this.
|
|
3121
|
-
copyToBoth(content, this.
|
|
3122
|
-
tmp_0.
|
|
3123
|
-
this.
|
|
3120
|
+
var content = this.es4_1.n3x();
|
|
3121
|
+
copyToBoth(content, this.fs4_1, responseChannel);
|
|
3122
|
+
tmp_0.gs4_1 = new LoggedContent(this.es4_1, responseChannel);
|
|
3123
|
+
this.m9_1 = 5;
|
|
3124
3124
|
continue $sm;
|
|
3125
3125
|
} else {
|
|
3126
3126
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3127
3127
|
var tmp_1 = this;
|
|
3128
3128
|
var responseChannel_0 = new ByteChannel();
|
|
3129
|
-
var content_0 = toReadChannel(this.
|
|
3130
|
-
copyToBoth(content_0, this.
|
|
3131
|
-
tmp_1.
|
|
3132
|
-
this.
|
|
3129
|
+
var content_0 = toReadChannel(this.es4_1);
|
|
3130
|
+
copyToBoth(content_0, this.fs4_1, responseChannel_0);
|
|
3131
|
+
tmp_1.gs4_1 = new LoggedContent(this.es4_1, responseChannel_0);
|
|
3132
|
+
this.m9_1 = 5;
|
|
3133
3133
|
continue $sm;
|
|
3134
3134
|
} else {
|
|
3135
3135
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3136
|
-
this.
|
|
3137
|
-
this.
|
|
3138
|
-
suspendResult = observe(this.
|
|
3136
|
+
this.hs4_1 = this.es4_1;
|
|
3137
|
+
this.m9_1 = 2;
|
|
3138
|
+
suspendResult = observe(this.es4_1.g3x(), this.fs4_1, this);
|
|
3139
3139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3140
3140
|
return suspendResult;
|
|
3141
3141
|
}
|
|
@@ -3148,8 +3148,8 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3148
3148
|
tmp_2 = tmp0_subject instanceof ProtocolUpgrade;
|
|
3149
3149
|
}
|
|
3150
3150
|
if (tmp_2) {
|
|
3151
|
-
this.
|
|
3152
|
-
suspendResult = this.
|
|
3151
|
+
this.m9_1 = 1;
|
|
3152
|
+
suspendResult = this.fs4_1.f2x(this);
|
|
3153
3153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3154
3154
|
return suspendResult;
|
|
3155
3155
|
}
|
|
@@ -3165,38 +3165,38 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3165
3165
|
|
|
3166
3166
|
break;
|
|
3167
3167
|
case 1:
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3168
|
+
this.gs4_1 = this.es4_1;
|
|
3169
|
+
this.m9_1 = 5;
|
|
3170
3170
|
continue $sm;
|
|
3171
3171
|
case 2:
|
|
3172
3172
|
var ARGUMENT = suspendResult;
|
|
3173
|
-
this.
|
|
3174
|
-
this.
|
|
3173
|
+
this.gs4_1 = this.hs4_1.j3y(ARGUMENT);
|
|
3174
|
+
this.m9_1 = 5;
|
|
3175
3175
|
continue $sm;
|
|
3176
3176
|
case 3:
|
|
3177
|
-
this.
|
|
3178
|
-
suspendResult = this.
|
|
3177
|
+
this.m9_1 = 4;
|
|
3178
|
+
suspendResult = this.fs4_1.f2x(this);
|
|
3179
3179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3180
3180
|
return suspendResult;
|
|
3181
3181
|
}
|
|
3182
3182
|
|
|
3183
3183
|
continue $sm;
|
|
3184
3184
|
case 4:
|
|
3185
|
-
this.
|
|
3186
|
-
this.
|
|
3185
|
+
this.gs4_1 = this.es4_1;
|
|
3186
|
+
this.m9_1 = 5;
|
|
3187
3187
|
continue $sm;
|
|
3188
3188
|
case 5:
|
|
3189
|
-
return this.
|
|
3189
|
+
return this.gs4_1;
|
|
3190
3190
|
case 6:
|
|
3191
|
-
throw this.
|
|
3191
|
+
throw this.p9_1;
|
|
3192
3192
|
}
|
|
3193
3193
|
} catch ($p) {
|
|
3194
3194
|
var e = $p;
|
|
3195
|
-
if (this.
|
|
3195
|
+
if (this.n9_1 === 6) {
|
|
3196
3196
|
throw e;
|
|
3197
3197
|
} else {
|
|
3198
|
-
this.
|
|
3199
|
-
this.
|
|
3198
|
+
this.m9_1 = this.n9_1;
|
|
3199
|
+
this.p9_1 = e;
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
3202
|
while (true);
|
|
@@ -3226,13 +3226,13 @@ function get_DEFAULT(_this__u8e3s4) {
|
|
|
3226
3226
|
return get_SIMPLE(_this__u8e3s4);
|
|
3227
3227
|
}
|
|
3228
3228
|
//region block: post-declaration
|
|
3229
|
-
protoOf(Empty).
|
|
3230
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3231
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3232
|
-
protoOf(MDCContextElement).
|
|
3233
|
-
protoOf(MDCContextElement).
|
|
3234
|
-
protoOf(MDCContextElement).
|
|
3235
|
-
protoOf(MDCContextElement).
|
|
3229
|
+
protoOf(Empty).irr = get_byteSize;
|
|
3230
|
+
protoOf(BinaryLogBodyFilter$1).frr = filterRequest;
|
|
3231
|
+
protoOf(BinaryLogBodyFilter$1).hrr = filterResponse;
|
|
3232
|
+
protoOf(MDCContextElement).z9 = get;
|
|
3233
|
+
protoOf(MDCContextElement).xj = fold;
|
|
3234
|
+
protoOf(MDCContextElement).wj = minusKey;
|
|
3235
|
+
protoOf(MDCContextElement).yj = plus;
|
|
3236
3236
|
//endregion
|
|
3237
3237
|
//region block: init
|
|
3238
3238
|
Empty_instance = new Empty();
|