@solibo/solibo-sdk 1.0.35 → 1.0.36
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.js +99 -99
- package/KotlinBigInteger-bignum.js +1114 -1114
- package/MultiplatformSettings-multiplatform-settings.js +16 -16
- package/Stately-stately-concurrency.js +4 -4
- package/cryptography-kotlin-cryptography-bigint.js +27 -27
- package/cryptography-kotlin-cryptography-core.js +47 -47
- package/cryptography-kotlin-cryptography-provider-base.js +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +135 -135
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.js +240 -240
- package/cryptography-kotlin-cryptography-serialization-pem.js +15 -15
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/kotlin-kotlin-stdlib.js +16 -16
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/ktor-ktor-client-auth.js +224 -224
- package/ktor-ktor-client-logging.js +516 -516
- package/ktor-ktor-websockets.js +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +24544 -22917
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +89 -3
- package/solibo-sdk-sdk.js +1365 -1365
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
152
152
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
153
153
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
154
|
-
return this.
|
|
154
|
+
return this.ynd(contentLength, contentType, headers, body, $completion);
|
|
155
155
|
}
|
|
156
156
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
157
|
-
return this.
|
|
157
|
+
return this.ynd(contentLength, contentType, headers, body, $completion);
|
|
158
158
|
}
|
|
159
159
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
160
160
|
function get_byteSize() {
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
//endregion
|
|
209
209
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
210
210
|
CoroutineImpl.call(this, resultContinuation);
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
211
|
+
this.nnc_1 = _this__u8e3s4;
|
|
212
|
+
this.onc_1 = message;
|
|
213
213
|
}
|
|
214
214
|
protoOf($logResponseExceptionCOROUTINE$).q9 = function () {
|
|
215
215
|
var suspendResult = this.k9_1;
|
|
@@ -220,15 +220,15 @@
|
|
|
220
220
|
case 0:
|
|
221
221
|
this.j9_1 = 2;
|
|
222
222
|
this.i9_1 = 1;
|
|
223
|
-
suspendResult = this.
|
|
223
|
+
suspendResult = this.nnc_1.snc_1.q1w(this);
|
|
224
224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225
225
|
return suspendResult;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
continue $sm;
|
|
229
229
|
case 1:
|
|
230
|
-
var this_0 = this.
|
|
231
|
-
this.
|
|
230
|
+
var this_0 = this.onc_1;
|
|
231
|
+
this.nnc_1.pnc_1.wnc(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
232
232
|
return Unit_instance;
|
|
233
233
|
case 2:
|
|
234
234
|
throw this.l9_1;
|
|
@@ -246,8 +246,8 @@
|
|
|
246
246
|
};
|
|
247
247
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
248
248
|
CoroutineImpl.call(this, resultContinuation);
|
|
249
|
-
this.
|
|
250
|
-
this.
|
|
249
|
+
this.gnd_1 = _this__u8e3s4;
|
|
250
|
+
this.hnd_1 = message;
|
|
251
251
|
}
|
|
252
252
|
protoOf($logResponseBodyCOROUTINE$).q9 = function () {
|
|
253
253
|
var suspendResult = this.k9_1;
|
|
@@ -258,14 +258,14 @@
|
|
|
258
258
|
case 0:
|
|
259
259
|
this.j9_1 = 2;
|
|
260
260
|
this.i9_1 = 1;
|
|
261
|
-
suspendResult = this.
|
|
261
|
+
suspendResult = this.gnd_1.tnc_1.q1w(this);
|
|
262
262
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
263
263
|
return suspendResult;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
continue $sm;
|
|
267
267
|
case 1:
|
|
268
|
-
this.
|
|
268
|
+
this.gnd_1.rnc_1.q(this.hnd_1);
|
|
269
269
|
return Unit_instance;
|
|
270
270
|
case 2:
|
|
271
271
|
throw this.l9_1;
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
};
|
|
284
284
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
285
285
|
CoroutineImpl.call(this, resultContinuation);
|
|
286
|
-
this.
|
|
286
|
+
this.qnd_1 = _this__u8e3s4;
|
|
287
287
|
}
|
|
288
288
|
protoOf($closeResponseLogCOROUTINE$).q9 = function () {
|
|
289
289
|
var suspendResult = this.k9_1;
|
|
@@ -293,19 +293,19 @@
|
|
|
293
293
|
switch (tmp) {
|
|
294
294
|
case 0:
|
|
295
295
|
this.j9_1 = 2;
|
|
296
|
-
if (!this.
|
|
296
|
+
if (!this.qnd_1.vnc_1.atomicfu$compareAndSet(false, true))
|
|
297
297
|
return Unit_instance;
|
|
298
298
|
this.i9_1 = 1;
|
|
299
|
-
suspendResult = this.
|
|
299
|
+
suspendResult = this.qnd_1.snc_1.q1w(this);
|
|
300
300
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
301
301
|
return suspendResult;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
304
|
continue $sm;
|
|
305
305
|
case 1:
|
|
306
|
-
var message = toString(trim(this.
|
|
306
|
+
var message = toString(trim(this.qnd_1.rnc_1));
|
|
307
307
|
if (charSequenceLength(message) > 0) {
|
|
308
|
-
this.
|
|
308
|
+
this.qnd_1.pnc_1.wnc(message);
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
return Unit_instance;
|
|
@@ -324,57 +324,57 @@
|
|
|
324
324
|
while (true);
|
|
325
325
|
};
|
|
326
326
|
function HttpClientCallLogger(logger) {
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
334
|
-
}
|
|
335
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
-
var tmp0 = this.
|
|
327
|
+
this.pnc_1 = logger;
|
|
328
|
+
this.qnc_1 = StringBuilder_init_$Create$();
|
|
329
|
+
this.rnc_1 = StringBuilder_init_$Create$();
|
|
330
|
+
this.snc_1 = Job();
|
|
331
|
+
this.tnc_1 = Job();
|
|
332
|
+
this.unc_1 = atomic$boolean$1(false);
|
|
333
|
+
this.vnc_1 = atomic$boolean$1(false);
|
|
334
|
+
}
|
|
335
|
+
protoOf(HttpClientCallLogger).rnd = function (message) {
|
|
336
|
+
var tmp0 = this.qnc_1;
|
|
337
337
|
// Inline function 'kotlin.text.trim' call
|
|
338
338
|
// Inline function 'kotlin.text.appendLine' call
|
|
339
339
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
340
340
|
// Inline function 'kotlin.text.appendLine' call
|
|
341
341
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
342
342
|
};
|
|
343
|
-
protoOf(HttpClientCallLogger).
|
|
344
|
-
var tmp0 = this.
|
|
343
|
+
protoOf(HttpClientCallLogger).snd = function (message) {
|
|
344
|
+
var tmp0 = this.rnc_1;
|
|
345
345
|
// Inline function 'kotlin.text.trim' call
|
|
346
346
|
// Inline function 'kotlin.text.appendLine' call
|
|
347
347
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
348
348
|
// Inline function 'kotlin.text.appendLine' call
|
|
349
349
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
350
|
-
this.
|
|
350
|
+
this.tnc_1.r23();
|
|
351
351
|
};
|
|
352
|
-
protoOf(HttpClientCallLogger).
|
|
352
|
+
protoOf(HttpClientCallLogger).tnd = function (message, $completion) {
|
|
353
353
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
354
354
|
tmp.k9_1 = Unit_instance;
|
|
355
355
|
tmp.l9_1 = null;
|
|
356
356
|
return tmp.q9();
|
|
357
357
|
};
|
|
358
|
-
protoOf(HttpClientCallLogger).
|
|
358
|
+
protoOf(HttpClientCallLogger).und = function (message, $completion) {
|
|
359
359
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
360
360
|
tmp.k9_1 = Unit_instance;
|
|
361
361
|
tmp.l9_1 = null;
|
|
362
362
|
return tmp.q9();
|
|
363
363
|
};
|
|
364
|
-
protoOf(HttpClientCallLogger).
|
|
365
|
-
if (!this.
|
|
364
|
+
protoOf(HttpClientCallLogger).vnd = function () {
|
|
365
|
+
if (!this.unc_1.atomicfu$compareAndSet(false, true))
|
|
366
366
|
return Unit_instance;
|
|
367
367
|
try {
|
|
368
|
-
var message = toString(trim(this.
|
|
368
|
+
var message = toString(trim(this.qnc_1));
|
|
369
369
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
370
370
|
if (charSequenceLength(message) > 0) {
|
|
371
|
-
this.
|
|
371
|
+
this.pnc_1.wnc(message);
|
|
372
372
|
}
|
|
373
373
|
}finally {
|
|
374
|
-
this.
|
|
374
|
+
this.snc_1.r23();
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
|
-
protoOf(HttpClientCallLogger).
|
|
377
|
+
protoOf(HttpClientCallLogger).wnd = function ($completion) {
|
|
378
378
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
379
379
|
tmp.k9_1 = Unit_instance;
|
|
380
380
|
tmp.l9_1 = null;
|
|
@@ -396,35 +396,35 @@
|
|
|
396
396
|
function Skip(reason, byteSize) {
|
|
397
397
|
reason = reason === VOID ? null : reason;
|
|
398
398
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
399
|
+
this.bne_1 = reason;
|
|
400
|
+
this.cne_1 = byteSize;
|
|
401
401
|
}
|
|
402
|
-
protoOf(Skip).
|
|
403
|
-
return this.
|
|
402
|
+
protoOf(Skip).ane = function () {
|
|
403
|
+
return this.cne_1;
|
|
404
404
|
};
|
|
405
405
|
function Content() {
|
|
406
406
|
}
|
|
407
407
|
function BufferContent(buffer, charset, byteSize) {
|
|
408
408
|
byteSize = byteSize === VOID ? buffer.g1() : byteSize;
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
409
|
+
this.dne_1 = buffer;
|
|
410
|
+
this.ene_1 = charset;
|
|
411
|
+
this.fne_1 = byteSize;
|
|
412
412
|
}
|
|
413
|
-
protoOf(BufferContent).
|
|
414
|
-
return this.
|
|
413
|
+
protoOf(BufferContent).ane = function () {
|
|
414
|
+
return this.fne_1;
|
|
415
415
|
};
|
|
416
416
|
protoOf(BufferContent).x66 = function () {
|
|
417
|
-
return readText(this.
|
|
417
|
+
return readText(this.dne_1, this.ene_1);
|
|
418
418
|
};
|
|
419
419
|
function BodyFilterResult() {
|
|
420
420
|
}
|
|
421
421
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
422
422
|
CoroutineImpl.call(this, resultContinuation);
|
|
423
|
-
this.
|
|
424
|
-
this.
|
|
425
|
-
this.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
423
|
+
this.one_1 = _this__u8e3s4;
|
|
424
|
+
this.pne_1 = contentLength;
|
|
425
|
+
this.qne_1 = contentType;
|
|
426
|
+
this.rne_1 = headers;
|
|
427
|
+
this.sne_1 = body;
|
|
428
428
|
}
|
|
429
429
|
protoOf($filterAllCOROUTINE$).q9 = function () {
|
|
430
430
|
var suspendResult = this.k9_1;
|
|
@@ -434,13 +434,13 @@
|
|
|
434
434
|
switch (tmp) {
|
|
435
435
|
case 0:
|
|
436
436
|
this.j9_1 = 6;
|
|
437
|
-
if (this.
|
|
438
|
-
return new Skip('encoded', this.
|
|
437
|
+
if (this.rne_1.i36('Content-Encoding')) {
|
|
438
|
+
return new Skip('encoded', this.pne_1);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
if (!(this.
|
|
441
|
+
if (!(this.qne_1 == null) && isTextType(this.qne_1)) {
|
|
442
442
|
this.i9_1 = 5;
|
|
443
|
-
suspendResult = readBuffer(this.
|
|
443
|
+
suspendResult = readBuffer(this.sne_1, this);
|
|
444
444
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
445
445
|
return suspendResult;
|
|
446
446
|
}
|
|
@@ -453,18 +453,18 @@
|
|
|
453
453
|
case 1:
|
|
454
454
|
var tmp_0 = this;
|
|
455
455
|
var tmp_1;
|
|
456
|
-
if (!(this.
|
|
457
|
-
var tmp1_elvis_lhs = charset(this.
|
|
456
|
+
if (!(this.qne_1 == null)) {
|
|
457
|
+
var tmp1_elvis_lhs = charset(this.qne_1);
|
|
458
458
|
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d31_1 : tmp1_elvis_lhs;
|
|
459
459
|
} else {
|
|
460
460
|
tmp_1 = Charsets_getInstance().d31_1;
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
-
tmp_0.
|
|
464
|
-
this.
|
|
465
|
-
this.
|
|
463
|
+
tmp_0.yne_1 = tmp_1;
|
|
464
|
+
this.xne_1 = false;
|
|
465
|
+
this.wne_1 = new Int8Array(1024);
|
|
466
466
|
this.i9_1 = 2;
|
|
467
|
-
suspendResult = readAvailable(this.
|
|
467
|
+
suspendResult = readAvailable(this.sne_1, this.wne_1, VOID, VOID, this);
|
|
468
468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
469
469
|
return suspendResult;
|
|
470
470
|
}
|
|
@@ -477,16 +477,16 @@
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
var this_0 = new Buffer();
|
|
480
|
-
writeFully(this_0, this.
|
|
480
|
+
writeFully(this_0, this.wne_1, 0, firstReadSize);
|
|
481
481
|
var buffer = this_0;
|
|
482
482
|
var tmp_2;
|
|
483
483
|
try {
|
|
484
|
-
tmp_2 = decode(this.
|
|
484
|
+
tmp_2 = decode(this.yne_1.h31(), buffer);
|
|
485
485
|
} catch ($p) {
|
|
486
486
|
var tmp_3;
|
|
487
487
|
if ($p instanceof MalformedInputException) {
|
|
488
488
|
var _unused_var__etf5q3 = $p;
|
|
489
|
-
this.
|
|
489
|
+
this.xne_1 = true;
|
|
490
490
|
tmp_3 = '';
|
|
491
491
|
} else {
|
|
492
492
|
throw $p;
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
var firstChunkText = tmp_2;
|
|
498
|
-
if (!this.
|
|
498
|
+
if (!this.xne_1) {
|
|
499
499
|
var lastCharIndex = -1;
|
|
500
500
|
var inductionVariable = 0;
|
|
501
501
|
var last = firstChunkText.length;
|
|
@@ -511,23 +511,23 @@
|
|
|
511
511
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
512
512
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
513
513
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
514
|
-
this.
|
|
514
|
+
this.xne_1 = true;
|
|
515
515
|
break $l$loop;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
if (this.
|
|
520
|
+
if (this.xne_1) {
|
|
521
521
|
var tmp_4 = this;
|
|
522
|
-
tmp_4.
|
|
522
|
+
tmp_4.tne_1 = new Skip('binary', this.pne_1);
|
|
523
523
|
this.i9_1 = 4;
|
|
524
524
|
continue $sm;
|
|
525
525
|
} else {
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
528
|
-
writeFully(this.
|
|
526
|
+
this.une_1 = new Buffer();
|
|
527
|
+
this.vne_1 = this.une_1;
|
|
528
|
+
writeFully(this.vne_1, this.wne_1, 0, firstReadSize);
|
|
529
529
|
this.i9_1 = 3;
|
|
530
|
-
suspendResult = readBuffer(this.
|
|
530
|
+
suspendResult = readBuffer(this.sne_1, this);
|
|
531
531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
532
532
|
return suspendResult;
|
|
533
533
|
}
|
|
@@ -536,19 +536,19 @@
|
|
|
536
536
|
|
|
537
537
|
case 3:
|
|
538
538
|
var ARGUMENT = suspendResult;
|
|
539
|
-
this.
|
|
540
|
-
var ARGUMENT_0 = this.
|
|
539
|
+
this.vne_1.e2n(ARGUMENT);
|
|
540
|
+
var ARGUMENT_0 = this.une_1;
|
|
541
541
|
var tmp_5 = this;
|
|
542
|
-
var tmp2_safe_receiver = this.
|
|
542
|
+
var tmp2_safe_receiver = this.qne_1;
|
|
543
543
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
544
|
-
tmp_5.
|
|
544
|
+
tmp_5.tne_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().d31_1 : tmp3_elvis_lhs);
|
|
545
545
|
this.i9_1 = 4;
|
|
546
546
|
continue $sm;
|
|
547
547
|
case 4:
|
|
548
|
-
return this.
|
|
548
|
+
return this.tne_1;
|
|
549
549
|
case 5:
|
|
550
550
|
var ARGUMENT_1 = suspendResult;
|
|
551
|
-
var tmp0_elvis_lhs = charset(this.
|
|
551
|
+
var tmp0_elvis_lhs = charset(this.qne_1);
|
|
552
552
|
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().d31_1 : tmp0_elvis_lhs);
|
|
553
553
|
case 6:
|
|
554
554
|
throw this.l9_1;
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
};
|
|
567
567
|
function BinaryLogBodyFilter$1() {
|
|
568
568
|
}
|
|
569
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
569
|
+
protoOf(BinaryLogBodyFilter$1).ynd = function (contentLength, contentType, headers, body, $completion) {
|
|
570
570
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
571
571
|
tmp.k9_1 = Unit_instance;
|
|
572
572
|
tmp.l9_1 = null;
|
|
@@ -597,9 +597,9 @@
|
|
|
597
597
|
}
|
|
598
598
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
599
599
|
Enum.call(this, name, ordinal);
|
|
600
|
-
this.
|
|
601
|
-
this.
|
|
602
|
-
this.
|
|
600
|
+
this.bnf_1 = info;
|
|
601
|
+
this.cnf_1 = headers;
|
|
602
|
+
this.dnf_1 = body;
|
|
603
603
|
}
|
|
604
604
|
function LogLevel_ALL_getInstance() {
|
|
605
605
|
LogLevel_initEntries();
|
|
@@ -623,27 +623,27 @@
|
|
|
623
623
|
}
|
|
624
624
|
function LoggedContent(originalContent, channel) {
|
|
625
625
|
ReadChannelContent.call(this);
|
|
626
|
-
this.
|
|
627
|
-
this.
|
|
628
|
-
this.
|
|
629
|
-
this.
|
|
630
|
-
this.
|
|
631
|
-
this.
|
|
626
|
+
this.fnf_1 = originalContent;
|
|
627
|
+
this.gnf_1 = channel;
|
|
628
|
+
this.hnf_1 = this.fnf_1.u3p();
|
|
629
|
+
this.inf_1 = this.fnf_1.w3p();
|
|
630
|
+
this.jnf_1 = this.fnf_1.v3p();
|
|
631
|
+
this.knf_1 = this.fnf_1.v3j();
|
|
632
632
|
}
|
|
633
633
|
protoOf(LoggedContent).u3p = function () {
|
|
634
|
-
return this.
|
|
634
|
+
return this.hnf_1;
|
|
635
635
|
};
|
|
636
636
|
protoOf(LoggedContent).w3p = function () {
|
|
637
|
-
return this.
|
|
637
|
+
return this.inf_1;
|
|
638
638
|
};
|
|
639
639
|
protoOf(LoggedContent).v3p = function () {
|
|
640
|
-
return this.
|
|
640
|
+
return this.jnf_1;
|
|
641
641
|
};
|
|
642
642
|
protoOf(LoggedContent).v3j = function () {
|
|
643
|
-
return this.
|
|
643
|
+
return this.knf_1;
|
|
644
644
|
};
|
|
645
645
|
protoOf(LoggedContent).a3q = function () {
|
|
646
|
-
return this.
|
|
646
|
+
return this.gnf_1;
|
|
647
647
|
};
|
|
648
648
|
function Companion() {
|
|
649
649
|
}
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
}
|
|
657
657
|
function SimpleLogger() {
|
|
658
658
|
}
|
|
659
|
-
protoOf(SimpleLogger).
|
|
659
|
+
protoOf(SimpleLogger).wnc = function (message) {
|
|
660
660
|
println('HttpClient: ' + message);
|
|
661
661
|
};
|
|
662
662
|
var SimpleLogger_instance;
|
|
@@ -681,36 +681,36 @@
|
|
|
681
681
|
function LoggingConfig() {
|
|
682
682
|
var tmp = this;
|
|
683
683
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
684
|
-
tmp.
|
|
684
|
+
tmp.lnf_1 = ArrayList_init_$Create$();
|
|
685
685
|
var tmp_0 = this;
|
|
686
686
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
687
|
-
tmp_0.
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
692
|
-
}
|
|
693
|
-
protoOf(LoggingConfig).
|
|
694
|
-
var tmp0_elvis_lhs = this.
|
|
687
|
+
tmp_0.mnf_1 = ArrayList_init_$Create$();
|
|
688
|
+
this.nnf_1 = null;
|
|
689
|
+
this.onf_1 = LoggingFormat_Default_getInstance();
|
|
690
|
+
this.pnf_1 = LogLevel_HEADERS_getInstance();
|
|
691
|
+
this.qnf_1 = get_BinaryLogBodyFilter();
|
|
692
|
+
}
|
|
693
|
+
protoOf(LoggingConfig).rnf = function () {
|
|
694
|
+
var tmp0_elvis_lhs = this.nnf_1;
|
|
695
695
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
696
696
|
};
|
|
697
|
-
protoOf(LoggingConfig).
|
|
698
|
-
this.
|
|
697
|
+
protoOf(LoggingConfig).snf = function (placeholder, predicate) {
|
|
698
|
+
this.mnf_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
699
699
|
};
|
|
700
|
-
protoOf(LoggingConfig).
|
|
700
|
+
protoOf(LoggingConfig).tnf = function (placeholder, predicate, $super) {
|
|
701
701
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
702
702
|
var tmp;
|
|
703
703
|
if ($super === VOID) {
|
|
704
|
-
this.
|
|
704
|
+
this.snf(placeholder, predicate);
|
|
705
705
|
tmp = Unit_instance;
|
|
706
706
|
} else {
|
|
707
|
-
tmp = $super.
|
|
707
|
+
tmp = $super.snf.call(this, placeholder, predicate);
|
|
708
708
|
}
|
|
709
709
|
return tmp;
|
|
710
710
|
};
|
|
711
711
|
function SanitizedHeader(placeholder, predicate) {
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
712
|
+
this.unf_1 = placeholder;
|
|
713
|
+
this.vnf_1 = predicate;
|
|
714
714
|
}
|
|
715
715
|
var LoggingFormat_Default_instance;
|
|
716
716
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -773,16 +773,16 @@
|
|
|
773
773
|
return tmp;
|
|
774
774
|
}
|
|
775
775
|
function Context(context) {
|
|
776
|
-
this.
|
|
776
|
+
this.wnf_1 = context;
|
|
777
777
|
}
|
|
778
|
-
protoOf(Context).
|
|
779
|
-
return this.
|
|
778
|
+
protoOf(Context).xnf = function (content, $completion) {
|
|
779
|
+
return this.wnf_1.y39(content, $completion);
|
|
780
780
|
};
|
|
781
|
-
protoOf(Context).
|
|
782
|
-
return this.
|
|
781
|
+
protoOf(Context).ynf = function ($completion) {
|
|
782
|
+
return this.wnf_1.z39($completion);
|
|
783
783
|
};
|
|
784
784
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
785
|
-
this.
|
|
785
|
+
this.hng_1 = $handler;
|
|
786
786
|
CoroutineImpl.call(this, resultContinuation);
|
|
787
787
|
}
|
|
788
788
|
protoOf(SendHook$install$slambda).y48 = function ($this$intercept, it, $completion) {
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
case 0:
|
|
805
805
|
this.j9_1 = 2;
|
|
806
806
|
this.i9_1 = 1;
|
|
807
|
-
suspendResult = this.
|
|
807
|
+
suspendResult = this.hng_1(new Context(this.ing_1), this.ing_1.u3a_1, this);
|
|
808
808
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
809
809
|
return suspendResult;
|
|
810
810
|
}
|
|
@@ -827,9 +827,9 @@
|
|
|
827
827
|
while (true);
|
|
828
828
|
};
|
|
829
829
|
protoOf(SendHook$install$slambda).z48 = function ($this$intercept, it, completion) {
|
|
830
|
-
var i = new SendHook$install$slambda(this.
|
|
831
|
-
i.
|
|
832
|
-
i.
|
|
830
|
+
var i = new SendHook$install$slambda(this.hng_1, completion);
|
|
831
|
+
i.ing_1 = $this$intercept;
|
|
832
|
+
i.jng_1 = it;
|
|
833
833
|
return i;
|
|
834
834
|
};
|
|
835
835
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -842,25 +842,25 @@
|
|
|
842
842
|
}
|
|
843
843
|
function SendHook() {
|
|
844
844
|
}
|
|
845
|
-
protoOf(SendHook).
|
|
845
|
+
protoOf(SendHook).kng = function (client, handler) {
|
|
846
846
|
var tmp = Phases_getInstance().p4a_1;
|
|
847
847
|
client.h48_1.y3a(tmp, SendHook$install$slambda_0(handler, null));
|
|
848
848
|
};
|
|
849
849
|
protoOf(SendHook).b4i = function (client, handler) {
|
|
850
|
-
return this.
|
|
850
|
+
return this.kng(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
851
851
|
};
|
|
852
852
|
var SendHook_instance;
|
|
853
853
|
function SendHook_getInstance() {
|
|
854
854
|
return SendHook_instance;
|
|
855
855
|
}
|
|
856
856
|
function Context_0(context) {
|
|
857
|
-
this.
|
|
857
|
+
this.lng_1 = context;
|
|
858
858
|
}
|
|
859
859
|
protoOf(Context_0).i5l = function (response, $completion) {
|
|
860
|
-
return this.
|
|
860
|
+
return this.lng_1.y39(response, $completion);
|
|
861
861
|
};
|
|
862
862
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
863
|
-
this.
|
|
863
|
+
this.ung_1 = $handler;
|
|
864
864
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
865
|
}
|
|
866
866
|
protoOf(ResponseAfterEncodingHook$install$slambda).n4i = function ($this$intercept, it, $completion) {
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
case 0:
|
|
883
883
|
this.j9_1 = 2;
|
|
884
884
|
this.i9_1 = 1;
|
|
885
|
-
suspendResult = this.
|
|
885
|
+
suspendResult = this.ung_1(new Context_0(this.vng_1), this.vng_1.x39(), this);
|
|
886
886
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
887
887
|
return suspendResult;
|
|
888
888
|
}
|
|
@@ -905,9 +905,9 @@
|
|
|
905
905
|
while (true);
|
|
906
906
|
};
|
|
907
907
|
protoOf(ResponseAfterEncodingHook$install$slambda).o4i = function ($this$intercept, it, completion) {
|
|
908
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
909
|
-
i.
|
|
910
|
-
i.
|
|
908
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.ung_1, completion);
|
|
909
|
+
i.vng_1 = $this$intercept;
|
|
910
|
+
i.wng_1 = it;
|
|
911
911
|
return i;
|
|
912
912
|
};
|
|
913
913
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -920,26 +920,26 @@
|
|
|
920
920
|
}
|
|
921
921
|
function ResponseAfterEncodingHook() {
|
|
922
922
|
}
|
|
923
|
-
protoOf(ResponseAfterEncodingHook).
|
|
923
|
+
protoOf(ResponseAfterEncodingHook).xng = function (client, handler) {
|
|
924
924
|
var afterState = new PipelinePhase('AfterState');
|
|
925
925
|
client.i48_1.v3a(Phases_getInstance_0().r4i_1, afterState);
|
|
926
926
|
client.i48_1.y3a(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
927
927
|
};
|
|
928
928
|
protoOf(ResponseAfterEncodingHook).b4i = function (client, handler) {
|
|
929
|
-
return this.
|
|
929
|
+
return this.xng(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
930
930
|
};
|
|
931
931
|
var ResponseAfterEncodingHook_instance;
|
|
932
932
|
function ResponseAfterEncodingHook_getInstance() {
|
|
933
933
|
return ResponseAfterEncodingHook_instance;
|
|
934
934
|
}
|
|
935
935
|
function Context_1(context) {
|
|
936
|
-
this.
|
|
936
|
+
this.yng_1 = context;
|
|
937
937
|
}
|
|
938
|
-
protoOf(Context_1).
|
|
939
|
-
return this.
|
|
938
|
+
protoOf(Context_1).zng = function ($completion) {
|
|
939
|
+
return this.yng_1.z39($completion);
|
|
940
940
|
};
|
|
941
941
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
942
|
-
this.
|
|
942
|
+
this.inh_1 = $handler;
|
|
943
943
|
CoroutineImpl.call(this, resultContinuation);
|
|
944
944
|
}
|
|
945
945
|
protoOf(ResponseHook$install$slambda).n4i = function ($this$intercept, it, $completion) {
|
|
@@ -961,7 +961,7 @@
|
|
|
961
961
|
case 0:
|
|
962
962
|
this.j9_1 = 2;
|
|
963
963
|
this.i9_1 = 1;
|
|
964
|
-
suspendResult = this.
|
|
964
|
+
suspendResult = this.inh_1(new Context_1(this.jnh_1), this.jnh_1.x39(), this);
|
|
965
965
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
966
966
|
return suspendResult;
|
|
967
967
|
}
|
|
@@ -984,9 +984,9 @@
|
|
|
984
984
|
while (true);
|
|
985
985
|
};
|
|
986
986
|
protoOf(ResponseHook$install$slambda).o4i = function ($this$intercept, it, completion) {
|
|
987
|
-
var i = new ResponseHook$install$slambda(this.
|
|
988
|
-
i.
|
|
989
|
-
i.
|
|
987
|
+
var i = new ResponseHook$install$slambda(this.inh_1, completion);
|
|
988
|
+
i.jnh_1 = $this$intercept;
|
|
989
|
+
i.knh_1 = it;
|
|
990
990
|
return i;
|
|
991
991
|
};
|
|
992
992
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -999,25 +999,25 @@
|
|
|
999
999
|
}
|
|
1000
1000
|
function ResponseHook() {
|
|
1001
1001
|
}
|
|
1002
|
-
protoOf(ResponseHook).
|
|
1002
|
+
protoOf(ResponseHook).lnh = function (client, handler) {
|
|
1003
1003
|
var tmp = Phases_getInstance_0().r4i_1;
|
|
1004
1004
|
client.i48_1.y3a(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
1005
1005
|
};
|
|
1006
1006
|
protoOf(ResponseHook).b4i = function (client, handler) {
|
|
1007
|
-
return this.
|
|
1007
|
+
return this.lnh(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1008
1008
|
};
|
|
1009
1009
|
var ResponseHook_instance;
|
|
1010
1010
|
function ResponseHook_getInstance() {
|
|
1011
1011
|
return ResponseHook_instance;
|
|
1012
1012
|
}
|
|
1013
1013
|
function Context_2(context) {
|
|
1014
|
-
this.
|
|
1014
|
+
this.mnh_1 = context;
|
|
1015
1015
|
}
|
|
1016
|
-
protoOf(Context_2).
|
|
1017
|
-
return this.
|
|
1016
|
+
protoOf(Context_2).nnh = function ($completion) {
|
|
1017
|
+
return this.mnh_1.z39($completion);
|
|
1018
1018
|
};
|
|
1019
1019
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
1020
|
-
this.
|
|
1020
|
+
this.wnh_1 = $handler;
|
|
1021
1021
|
CoroutineImpl.call(this, resultContinuation);
|
|
1022
1022
|
}
|
|
1023
1023
|
protoOf(ReceiveHook$install$slambda).t49 = function ($this$intercept, it, $completion) {
|
|
@@ -1039,7 +1039,7 @@
|
|
|
1039
1039
|
case 0:
|
|
1040
1040
|
this.j9_1 = 2;
|
|
1041
1041
|
this.i9_1 = 1;
|
|
1042
|
-
suspendResult = this.
|
|
1042
|
+
suspendResult = this.wnh_1(new Context_2(this.xnh_1), this.xnh_1.u3a_1, this);
|
|
1043
1043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1044
1044
|
return suspendResult;
|
|
1045
1045
|
}
|
|
@@ -1062,9 +1062,9 @@
|
|
|
1062
1062
|
while (true);
|
|
1063
1063
|
};
|
|
1064
1064
|
protoOf(ReceiveHook$install$slambda).u49 = function ($this$intercept, it, completion) {
|
|
1065
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1066
|
-
i.
|
|
1067
|
-
i.
|
|
1065
|
+
var i = new ReceiveHook$install$slambda(this.wnh_1, completion);
|
|
1066
|
+
i.xnh_1 = $this$intercept;
|
|
1067
|
+
i.ynh_1 = it;
|
|
1068
1068
|
return i;
|
|
1069
1069
|
};
|
|
1070
1070
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -1077,12 +1077,12 @@
|
|
|
1077
1077
|
}
|
|
1078
1078
|
function ReceiveHook() {
|
|
1079
1079
|
}
|
|
1080
|
-
protoOf(ReceiveHook).
|
|
1080
|
+
protoOf(ReceiveHook).znh = function (client, handler) {
|
|
1081
1081
|
var tmp = Phases_getInstance_1().d4b_1;
|
|
1082
1082
|
client.g48_1.y3a(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1083
1083
|
};
|
|
1084
1084
|
protoOf(ReceiveHook).b4i = function (client, handler) {
|
|
1085
|
-
return this.
|
|
1085
|
+
return this.znh(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1086
1086
|
};
|
|
1087
1087
|
var ReceiveHook_instance;
|
|
1088
1088
|
function ReceiveHook_getInstance() {
|
|
@@ -1097,12 +1097,12 @@
|
|
|
1097
1097
|
}
|
|
1098
1098
|
function Logging$lambda($this$createClientPlugin) {
|
|
1099
1099
|
_init_properties_Logging_kt__66pui5();
|
|
1100
|
-
var logger = $this$createClientPlugin.v4i_1.
|
|
1101
|
-
var level = $this$createClientPlugin.v4i_1.
|
|
1102
|
-
var filters = $this$createClientPlugin.v4i_1.
|
|
1103
|
-
var sanitizedHeaders = $this$createClientPlugin.v4i_1.
|
|
1104
|
-
var okHttpFormat = $this$createClientPlugin.v4i_1.
|
|
1105
|
-
var bodyFilter = $this$createClientPlugin.v4i_1.
|
|
1100
|
+
var logger = $this$createClientPlugin.v4i_1.rnf();
|
|
1101
|
+
var level = $this$createClientPlugin.v4i_1.pnf_1;
|
|
1102
|
+
var filters = $this$createClientPlugin.v4i_1.lnf_1;
|
|
1103
|
+
var sanitizedHeaders = $this$createClientPlugin.v4i_1.mnf_1;
|
|
1104
|
+
var okHttpFormat = $this$createClientPlugin.v4i_1.onf_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1105
|
+
var bodyFilter = $this$createClientPlugin.v4i_1.qnf_1;
|
|
1106
1106
|
var tmp = SendHook_instance;
|
|
1107
1107
|
$this$createClientPlugin.y4i(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1108
1108
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
$this$createClientPlugin.y4i(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, null));
|
|
1114
1114
|
if (okHttpFormat)
|
|
1115
1115
|
return Unit_instance;
|
|
1116
|
-
if (!level.
|
|
1116
|
+
if (!level.dnf_1)
|
|
1117
1117
|
return Unit_instance;
|
|
1118
1118
|
var tmp_3 = get_ResponseObserver();
|
|
1119
1119
|
var responseObserver = tmp_3.k4b(Logging$lambda$lambda(level));
|
|
@@ -1125,8 +1125,8 @@
|
|
|
1125
1125
|
return it;
|
|
1126
1126
|
}
|
|
1127
1127
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1128
|
-
this.
|
|
1129
|
-
this.
|
|
1128
|
+
this.ini_1 = $content;
|
|
1129
|
+
this.jni_1 = $channel;
|
|
1130
1130
|
CoroutineImpl.call(this, resultContinuation);
|
|
1131
1131
|
}
|
|
1132
1132
|
protoOf(Logging$lambda$logOutgoingContent$slambda).d30 = function ($this$launch, $completion) {
|
|
@@ -1147,14 +1147,14 @@
|
|
|
1147
1147
|
case 0:
|
|
1148
1148
|
this.j9_1 = 2;
|
|
1149
1149
|
this.i9_1 = 1;
|
|
1150
|
-
suspendResult = this.
|
|
1150
|
+
suspendResult = this.ini_1.c3q(this.jni_1, this);
|
|
1151
1151
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1152
1152
|
return suspendResult;
|
|
1153
1153
|
}
|
|
1154
1154
|
|
|
1155
1155
|
continue $sm;
|
|
1156
1156
|
case 1:
|
|
1157
|
-
this.
|
|
1157
|
+
this.jni_1.t4();
|
|
1158
1158
|
return Unit_instance;
|
|
1159
1159
|
case 2:
|
|
1160
1160
|
throw this.l9_1;
|
|
@@ -1171,8 +1171,8 @@
|
|
|
1171
1171
|
while (true);
|
|
1172
1172
|
};
|
|
1173
1173
|
protoOf(Logging$lambda$logOutgoingContent$slambda).e30 = function ($this$launch, completion) {
|
|
1174
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1175
|
-
i.
|
|
1174
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.ini_1, this.jni_1, completion);
|
|
1175
|
+
i.kni_1 = $this$launch;
|
|
1176
1176
|
return i;
|
|
1177
1177
|
};
|
|
1178
1178
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
@@ -1193,10 +1193,10 @@
|
|
|
1193
1193
|
};
|
|
1194
1194
|
}
|
|
1195
1195
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1196
|
-
this.
|
|
1197
|
-
this.
|
|
1198
|
-
this.
|
|
1199
|
-
this.
|
|
1196
|
+
this.tni_1 = $channel;
|
|
1197
|
+
this.uni_1 = $charset;
|
|
1198
|
+
this.vni_1 = $requestLog;
|
|
1199
|
+
this.wni_1 = $logger;
|
|
1200
1200
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
1201
|
}
|
|
1202
1202
|
protoOf(Logging$lambda$logRequestBody$slambda).d30 = function ($this$launch, $completion) {
|
|
@@ -1220,8 +1220,8 @@
|
|
|
1220
1220
|
continue $sm;
|
|
1221
1221
|
case 1:
|
|
1222
1222
|
this.j9_1 = 6;
|
|
1223
|
-
var tmp0 = this.
|
|
1224
|
-
this.
|
|
1223
|
+
var tmp0 = this.tni_1;
|
|
1224
|
+
this.anj_1 = this.uni_1;
|
|
1225
1225
|
this.j9_1 = 3;
|
|
1226
1226
|
this.i9_1 = 2;
|
|
1227
1227
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
continue $sm;
|
|
1233
1233
|
case 2:
|
|
1234
1234
|
var ARGUMENT = suspendResult;
|
|
1235
|
-
this.
|
|
1235
|
+
this.zni_1 = readText(ARGUMENT, this.anj_1);
|
|
1236
1236
|
this.j9_1 = 6;
|
|
1237
1237
|
this.i9_1 = 4;
|
|
1238
1238
|
continue $sm;
|
|
@@ -1242,7 +1242,7 @@
|
|
|
1242
1242
|
if (tmp_0 instanceof Error) {
|
|
1243
1243
|
var cause = this.l9_1;
|
|
1244
1244
|
var tmp_1 = this;
|
|
1245
|
-
tmp_1.
|
|
1245
|
+
tmp_1.zni_1 = null;
|
|
1246
1246
|
this.i9_1 = 4;
|
|
1247
1247
|
continue $sm;
|
|
1248
1248
|
} else {
|
|
@@ -1251,27 +1251,27 @@
|
|
|
1251
1251
|
|
|
1252
1252
|
case 4:
|
|
1253
1253
|
this.j9_1 = 6;
|
|
1254
|
-
var tmp0_elvis_lhs = this.
|
|
1254
|
+
var tmp0_elvis_lhs = this.zni_1;
|
|
1255
1255
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1256
|
-
var tmp0_0 = this.
|
|
1256
|
+
var tmp0_0 = this.vni_1;
|
|
1257
1257
|
var value = 'BODY START';
|
|
1258
1258
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1259
|
+
this.vni_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1260
|
+
this.yni_1 = this.vni_1.q('BODY END');
|
|
1261
1261
|
this.j9_1 = 7;
|
|
1262
1262
|
this.i9_1 = 5;
|
|
1263
1263
|
continue $sm;
|
|
1264
1264
|
case 5:
|
|
1265
|
-
this.
|
|
1265
|
+
this.yni_1;
|
|
1266
1266
|
this.j9_1 = 7;
|
|
1267
|
-
this.
|
|
1268
|
-
this.
|
|
1267
|
+
this.wni_1.rnd(this.vni_1.toString());
|
|
1268
|
+
this.wni_1.vnd();
|
|
1269
1269
|
return Unit_instance;
|
|
1270
1270
|
case 6:
|
|
1271
1271
|
this.j9_1 = 7;
|
|
1272
1272
|
var t = this.l9_1;
|
|
1273
|
-
this.
|
|
1274
|
-
this.
|
|
1273
|
+
this.wni_1.rnd(this.vni_1.toString());
|
|
1274
|
+
this.wni_1.vnd();
|
|
1275
1275
|
throw t;
|
|
1276
1276
|
case 7:
|
|
1277
1277
|
throw this.l9_1;
|
|
@@ -1288,8 +1288,8 @@
|
|
|
1288
1288
|
while (true);
|
|
1289
1289
|
};
|
|
1290
1290
|
protoOf(Logging$lambda$logRequestBody$slambda).e30 = function ($this$launch, completion) {
|
|
1291
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1292
|
-
i.
|
|
1291
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.tni_1, this.uni_1, this.vni_1, this.wni_1, completion);
|
|
1292
|
+
i.xni_1 = $this$launch;
|
|
1293
1293
|
return i;
|
|
1294
1294
|
};
|
|
1295
1295
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
@@ -1397,8 +1397,8 @@
|
|
|
1397
1397
|
return observe(content, channel, $completion);
|
|
1398
1398
|
}
|
|
1399
1399
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1400
|
-
if (level.
|
|
1401
|
-
logger.
|
|
1400
|
+
if (level.bnf_1) {
|
|
1401
|
+
logger.wnc('REQUEST ' + Url(context.f4a_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
1404
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
@@ -1409,7 +1409,7 @@
|
|
|
1409
1409
|
// Inline function 'kotlin.text.buildString' call
|
|
1410
1410
|
// Inline function 'kotlin.apply' call
|
|
1411
1411
|
var this_0 = StringBuilder_init_$Create$();
|
|
1412
|
-
if (level.
|
|
1412
|
+
if (level.bnf_1) {
|
|
1413
1413
|
// Inline function 'kotlin.text.appendLine' call
|
|
1414
1414
|
var value = 'REQUEST: ' + Url(request.f4a_1).toString();
|
|
1415
1415
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1419,7 +1419,7 @@
|
|
|
1419
1419
|
// Inline function 'kotlin.text.appendLine' call
|
|
1420
1420
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1421
1421
|
}
|
|
1422
|
-
if (level.
|
|
1422
|
+
if (level.cnf_1) {
|
|
1423
1423
|
// Inline function 'kotlin.text.appendLine' call
|
|
1424
1424
|
var value_1 = 'COMMON HEADERS';
|
|
1425
1425
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1435,7 +1435,7 @@
|
|
|
1435
1435
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1436
1436
|
while (_iterator__ex2g4s.u()) {
|
|
1437
1437
|
var element = _iterator__ex2g4s.v();
|
|
1438
|
-
if (element.
|
|
1438
|
+
if (element.vnf_1('Content-Length')) {
|
|
1439
1439
|
tmp$ret$9 = element;
|
|
1440
1440
|
break $l$block;
|
|
1441
1441
|
}
|
|
@@ -1443,14 +1443,14 @@
|
|
|
1443
1443
|
tmp$ret$9 = null;
|
|
1444
1444
|
}
|
|
1445
1445
|
var tmp0_safe_receiver = tmp$ret$9;
|
|
1446
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1446
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.unf_1;
|
|
1447
1447
|
var tmp$ret$11;
|
|
1448
1448
|
$l$block_0: {
|
|
1449
1449
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1450
1450
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1451
1451
|
while (_iterator__ex2g4s_0.u()) {
|
|
1452
1452
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1453
|
-
if (element_0.
|
|
1453
|
+
if (element_0.vnf_1('Content-Type')) {
|
|
1454
1454
|
tmp$ret$11 = element_0;
|
|
1455
1455
|
break $l$block_0;
|
|
1456
1456
|
}
|
|
@@ -1458,7 +1458,7 @@
|
|
|
1458
1458
|
tmp$ret$11 = null;
|
|
1459
1459
|
}
|
|
1460
1460
|
var tmp1_safe_receiver = tmp$ret$11;
|
|
1461
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1461
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.unf_1;
|
|
1462
1462
|
var tmp2_safe_receiver = content.w3p();
|
|
1463
1463
|
if (tmp2_safe_receiver == null)
|
|
1464
1464
|
null;
|
|
@@ -1478,45 +1478,45 @@
|
|
|
1478
1478
|
var message = this_0.toString();
|
|
1479
1479
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1480
1480
|
if (charSequenceLength(message) > 0) {
|
|
1481
|
-
callLogger.
|
|
1481
|
+
callLogger.rnd(message);
|
|
1482
1482
|
}
|
|
1483
1483
|
var tmp_0;
|
|
1484
1484
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1485
1485
|
if (charSequenceLength(message) === 0) {
|
|
1486
1486
|
tmp_0 = true;
|
|
1487
1487
|
} else {
|
|
1488
|
-
tmp_0 = !level.
|
|
1488
|
+
tmp_0 = !level.dnf_1;
|
|
1489
1489
|
}
|
|
1490
1490
|
if (tmp_0) {
|
|
1491
|
-
callLogger.
|
|
1491
|
+
callLogger.vnd();
|
|
1492
1492
|
return null;
|
|
1493
1493
|
}
|
|
1494
1494
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1495
1495
|
}
|
|
1496
1496
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1497
|
-
if (!level.
|
|
1497
|
+
if (!level.bnf_1)
|
|
1498
1498
|
return Unit_instance;
|
|
1499
1499
|
log.q('RESPONSE ' + request.y4b().toString() + ' failed with exception: ' + cause.toString());
|
|
1500
1500
|
}
|
|
1501
1501
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1502
|
-
this.
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1502
|
+
this.hnm_1 = $okHttpFormat;
|
|
1503
|
+
this.inm_1 = $logger;
|
|
1504
|
+
this.jnm_1 = $filters;
|
|
1505
|
+
this.knm_1 = $sanitizedHeaders;
|
|
1506
|
+
this.lnm_1 = $level;
|
|
1507
|
+
this.mnm_1 = $this_createClientPlugin;
|
|
1508
|
+
this.nnm_1 = $bodyFilter;
|
|
1509
1509
|
CoroutineImpl.call(this, resultContinuation);
|
|
1510
1510
|
}
|
|
1511
|
-
protoOf(Logging$lambda$slambda).
|
|
1512
|
-
var tmp = this.
|
|
1511
|
+
protoOf(Logging$lambda$slambda).wnm = function ($this$on, request, $completion) {
|
|
1512
|
+
var tmp = this.xnm($this$on, request, $completion);
|
|
1513
1513
|
tmp.k9_1 = Unit_instance;
|
|
1514
1514
|
tmp.l9_1 = null;
|
|
1515
1515
|
return tmp.q9();
|
|
1516
1516
|
};
|
|
1517
1517
|
protoOf(Logging$lambda$slambda).da = function (p1, p2, $completion) {
|
|
1518
1518
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1519
|
-
return this.
|
|
1519
|
+
return this.wnm(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1520
1520
|
};
|
|
1521
1521
|
protoOf(Logging$lambda$slambda).q9 = function () {
|
|
1522
1522
|
var suspendResult = this.k9_1;
|
|
@@ -1526,16 +1526,16 @@
|
|
|
1526
1526
|
switch (tmp) {
|
|
1527
1527
|
case 0:
|
|
1528
1528
|
this.j9_1 = 16;
|
|
1529
|
-
if (!invoke$shouldBeLogged(this.
|
|
1530
|
-
this.
|
|
1529
|
+
if (!invoke$shouldBeLogged(this.jnm_1, this.pnm_1)) {
|
|
1530
|
+
this.pnm_1.k4a_1.l32(get_DisableLogging(), Unit_instance);
|
|
1531
1531
|
return Unit_instance;
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
|
-
if (this.
|
|
1534
|
+
if (this.hnm_1) {
|
|
1535
1535
|
var tmp_0 = this;
|
|
1536
|
-
tmp_0.
|
|
1536
|
+
tmp_0.snm_1 = ArrayList_init_$Create$();
|
|
1537
1537
|
this.i9_1 = 10;
|
|
1538
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1538
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.knm_1, this.lnm_1, this.mnm_1, this.nnm_1, this.pnm_1, this.snm_1, this);
|
|
1539
1539
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1540
1540
|
return suspendResult;
|
|
1541
1541
|
}
|
|
@@ -1548,14 +1548,14 @@
|
|
|
1548
1548
|
case 1:
|
|
1549
1549
|
this.j9_1 = 3;
|
|
1550
1550
|
this.i9_1 = 2;
|
|
1551
|
-
suspendResult = invoke$logRequest(this.
|
|
1551
|
+
suspendResult = invoke$logRequest(this.inm_1, this.lnm_1, this.knm_1, this.pnm_1, this);
|
|
1552
1552
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1553
1553
|
return suspendResult;
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
1556
|
continue $sm;
|
|
1557
1557
|
case 2:
|
|
1558
|
-
this.
|
|
1558
|
+
this.vnm_1 = suspendResult;
|
|
1559
1559
|
this.j9_1 = 16;
|
|
1560
1560
|
this.i9_1 = 4;
|
|
1561
1561
|
continue $sm;
|
|
@@ -1565,7 +1565,7 @@
|
|
|
1565
1565
|
if (tmp_1 instanceof Error) {
|
|
1566
1566
|
var _unused_var__etf5q3 = this.l9_1;
|
|
1567
1567
|
var tmp_2 = this;
|
|
1568
|
-
tmp_2.
|
|
1568
|
+
tmp_2.vnm_1 = null;
|
|
1569
1569
|
this.i9_1 = 4;
|
|
1570
1570
|
continue $sm;
|
|
1571
1571
|
} else {
|
|
@@ -1574,23 +1574,23 @@
|
|
|
1574
1574
|
|
|
1575
1575
|
case 4:
|
|
1576
1576
|
this.j9_1 = 16;
|
|
1577
|
-
this.
|
|
1578
|
-
this.
|
|
1577
|
+
this.unm_1 = this.vnm_1;
|
|
1578
|
+
this.tnm_1 = Unit_instance;
|
|
1579
1579
|
this.i9_1 = 5;
|
|
1580
1580
|
continue $sm;
|
|
1581
1581
|
case 5:
|
|
1582
1582
|
this.j9_1 = 8;
|
|
1583
1583
|
this.j9_1 = 7;
|
|
1584
1584
|
this.i9_1 = 6;
|
|
1585
|
-
var tmp0_elvis_lhs = this.
|
|
1586
|
-
suspendResult = this.
|
|
1585
|
+
var tmp0_elvis_lhs = this.unm_1;
|
|
1586
|
+
suspendResult = this.onm_1.xnf(tmp0_elvis_lhs == null ? this.pnm_1.i4a_1 : tmp0_elvis_lhs, this);
|
|
1587
1587
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1588
1588
|
return suspendResult;
|
|
1589
1589
|
}
|
|
1590
1590
|
|
|
1591
1591
|
continue $sm;
|
|
1592
1592
|
case 6:
|
|
1593
|
-
this.
|
|
1593
|
+
this.tnm_1 = suspendResult;
|
|
1594
1594
|
this.j9_1 = 16;
|
|
1595
1595
|
this.i9_1 = 9;
|
|
1596
1596
|
continue $sm;
|
|
@@ -1600,7 +1600,7 @@
|
|
|
1600
1600
|
if (tmp_3 instanceof Error) {
|
|
1601
1601
|
var cause = this.l9_1;
|
|
1602
1602
|
var tmp_4 = this;
|
|
1603
|
-
invoke$logRequestException(this.
|
|
1603
|
+
invoke$logRequestException(this.lnm_1, this.inm_1, this.pnm_1, cause);
|
|
1604
1604
|
throw cause;
|
|
1605
1605
|
} else {
|
|
1606
1606
|
throw this.l9_1;
|
|
@@ -1611,26 +1611,26 @@
|
|
|
1611
1611
|
var t = this.l9_1;
|
|
1612
1612
|
throw t;
|
|
1613
1613
|
case 9:
|
|
1614
|
-
this.
|
|
1614
|
+
this.tnm_1;
|
|
1615
1615
|
this.j9_1 = 16;
|
|
1616
1616
|
return Unit_instance;
|
|
1617
1617
|
case 10:
|
|
1618
1618
|
var content = suspendResult;
|
|
1619
|
-
if (this.
|
|
1620
|
-
this.
|
|
1619
|
+
if (this.snm_1.g1() > 0) {
|
|
1620
|
+
this.inm_1.wnc(joinToString(this.snm_1, '\n'));
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
1623
|
this.j9_1 = 14;
|
|
1624
1624
|
if (!(content == null)) {
|
|
1625
1625
|
this.i9_1 = 12;
|
|
1626
|
-
suspendResult = this.
|
|
1626
|
+
suspendResult = this.onm_1.xnf(content, this);
|
|
1627
1627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1628
1628
|
return suspendResult;
|
|
1629
1629
|
}
|
|
1630
1630
|
continue $sm;
|
|
1631
1631
|
} else {
|
|
1632
1632
|
this.i9_1 = 11;
|
|
1633
|
-
suspendResult = this.
|
|
1633
|
+
suspendResult = this.onm_1.ynf(this);
|
|
1634
1634
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1635
1635
|
return suspendResult;
|
|
1636
1636
|
}
|
|
@@ -1638,15 +1638,15 @@
|
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
1640
|
case 11:
|
|
1641
|
-
this.
|
|
1641
|
+
this.rnm_1 = suspendResult;
|
|
1642
1642
|
this.i9_1 = 13;
|
|
1643
1643
|
continue $sm;
|
|
1644
1644
|
case 12:
|
|
1645
|
-
this.
|
|
1645
|
+
this.rnm_1 = suspendResult;
|
|
1646
1646
|
this.i9_1 = 13;
|
|
1647
1647
|
continue $sm;
|
|
1648
1648
|
case 13:
|
|
1649
|
-
this.
|
|
1649
|
+
this.qnm_1 = this.rnm_1;
|
|
1650
1650
|
this.j9_1 = 16;
|
|
1651
1651
|
this.i9_1 = 15;
|
|
1652
1652
|
continue $sm;
|
|
@@ -1656,7 +1656,7 @@
|
|
|
1656
1656
|
if (tmp_5 instanceof Error) {
|
|
1657
1657
|
var cause_0 = this.l9_1;
|
|
1658
1658
|
var tmp_6 = this;
|
|
1659
|
-
this.
|
|
1659
|
+
this.inm_1.wnc('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1660
1660
|
throw cause_0;
|
|
1661
1661
|
} else {
|
|
1662
1662
|
throw this.l9_1;
|
|
@@ -1679,37 +1679,37 @@
|
|
|
1679
1679
|
}
|
|
1680
1680
|
while (true);
|
|
1681
1681
|
};
|
|
1682
|
-
protoOf(Logging$lambda$slambda).
|
|
1683
|
-
var i = new Logging$lambda$slambda(this.
|
|
1684
|
-
i.
|
|
1685
|
-
i.
|
|
1682
|
+
protoOf(Logging$lambda$slambda).xnm = function ($this$on, request, completion) {
|
|
1683
|
+
var i = new Logging$lambda$slambda(this.hnm_1, this.inm_1, this.jnm_1, this.knm_1, this.lnm_1, this.mnm_1, this.nnm_1, completion);
|
|
1684
|
+
i.onm_1 = $this$on;
|
|
1685
|
+
i.pnm_1 = request;
|
|
1686
1686
|
return i;
|
|
1687
1687
|
};
|
|
1688
1688
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1689
1689
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1690
1690
|
var l = function ($this$on, request, $completion) {
|
|
1691
|
-
return i.
|
|
1691
|
+
return i.wnm($this$on, request, $completion);
|
|
1692
1692
|
};
|
|
1693
1693
|
l.$arity = 2;
|
|
1694
1694
|
return l;
|
|
1695
1695
|
}
|
|
1696
1696
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1697
|
-
this.
|
|
1698
|
-
this.
|
|
1699
|
-
this.
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1697
|
+
this.gnn_1 = $okHttpFormat;
|
|
1698
|
+
this.hnn_1 = $logger;
|
|
1699
|
+
this.inn_1 = $sanitizedHeaders;
|
|
1700
|
+
this.jnn_1 = $level;
|
|
1701
|
+
this.knn_1 = $bodyFilter;
|
|
1702
1702
|
CoroutineImpl.call(this, resultContinuation);
|
|
1703
1703
|
}
|
|
1704
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1705
|
-
var tmp = this.
|
|
1704
|
+
protoOf(Logging$lambda$slambda_1).onn = function ($this$on, response, $completion) {
|
|
1705
|
+
var tmp = this.pnn($this$on, response, $completion);
|
|
1706
1706
|
tmp.k9_1 = Unit_instance;
|
|
1707
1707
|
tmp.l9_1 = null;
|
|
1708
1708
|
return tmp.q9();
|
|
1709
1709
|
};
|
|
1710
1710
|
protoOf(Logging$lambda$slambda_1).da = function (p1, p2, $completion) {
|
|
1711
1711
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1712
|
-
return this.
|
|
1712
|
+
return this.onn(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1713
1713
|
};
|
|
1714
1714
|
protoOf(Logging$lambda$slambda_1).q9 = function () {
|
|
1715
1715
|
var suspendResult = this.k9_1;
|
|
@@ -1719,11 +1719,11 @@
|
|
|
1719
1719
|
switch (tmp) {
|
|
1720
1720
|
case 0:
|
|
1721
1721
|
this.j9_1 = 5;
|
|
1722
|
-
if (this.
|
|
1722
|
+
if (this.gnn_1) {
|
|
1723
1723
|
var tmp_0 = this;
|
|
1724
|
-
tmp_0.
|
|
1724
|
+
tmp_0.nnn_1 = ArrayList_init_$Create$();
|
|
1725
1725
|
this.i9_1 = 1;
|
|
1726
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1726
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.inn_1, this.jnn_1, this.knn_1, this.mnn_1, this.nnn_1, this);
|
|
1727
1727
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1728
1728
|
return suspendResult;
|
|
1729
1729
|
}
|
|
@@ -1735,13 +1735,13 @@
|
|
|
1735
1735
|
|
|
1736
1736
|
case 1:
|
|
1737
1737
|
var newResponse = suspendResult;
|
|
1738
|
-
if (this.
|
|
1739
|
-
this.
|
|
1738
|
+
if (this.nnn_1.g1() > 0) {
|
|
1739
|
+
this.hnn_1.wnc(joinToString(this.nnn_1, '\n'));
|
|
1740
1740
|
}
|
|
1741
1741
|
|
|
1742
|
-
if (!equals(newResponse, this.
|
|
1742
|
+
if (!equals(newResponse, this.mnn_1)) {
|
|
1743
1743
|
this.i9_1 = 2;
|
|
1744
|
-
suspendResult = this.
|
|
1744
|
+
suspendResult = this.lnn_1.i5l(newResponse, this);
|
|
1745
1745
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1746
1746
|
return suspendResult;
|
|
1747
1747
|
}
|
|
@@ -1773,35 +1773,35 @@
|
|
|
1773
1773
|
}
|
|
1774
1774
|
while (true);
|
|
1775
1775
|
};
|
|
1776
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1777
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1778
|
-
i.
|
|
1779
|
-
i.
|
|
1776
|
+
protoOf(Logging$lambda$slambda_1).pnn = function ($this$on, response, completion) {
|
|
1777
|
+
var i = new Logging$lambda$slambda_1(this.gnn_1, this.hnn_1, this.inn_1, this.jnn_1, this.knn_1, completion);
|
|
1778
|
+
i.lnn_1 = $this$on;
|
|
1779
|
+
i.mnn_1 = response;
|
|
1780
1780
|
return i;
|
|
1781
1781
|
};
|
|
1782
1782
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1783
1783
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1784
1784
|
var l = function ($this$on, response, $completion) {
|
|
1785
|
-
return i.
|
|
1785
|
+
return i.onn($this$on, response, $completion);
|
|
1786
1786
|
};
|
|
1787
1787
|
l.$arity = 2;
|
|
1788
1788
|
return l;
|
|
1789
1789
|
}
|
|
1790
1790
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1791
|
-
this.
|
|
1792
|
-
this.
|
|
1793
|
-
this.
|
|
1791
|
+
this.ynn_1 = $okHttpFormat;
|
|
1792
|
+
this.znn_1 = $level;
|
|
1793
|
+
this.ano_1 = $sanitizedHeaders;
|
|
1794
1794
|
CoroutineImpl.call(this, resultContinuation);
|
|
1795
1795
|
}
|
|
1796
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1797
|
-
var tmp = this.
|
|
1796
|
+
protoOf(Logging$lambda$slambda_3).jno = function ($this$on, response, $completion) {
|
|
1797
|
+
var tmp = this.kno($this$on, response, $completion);
|
|
1798
1798
|
tmp.k9_1 = Unit_instance;
|
|
1799
1799
|
tmp.l9_1 = null;
|
|
1800
1800
|
return tmp.q9();
|
|
1801
1801
|
};
|
|
1802
1802
|
protoOf(Logging$lambda$slambda_3).da = function (p1, p2, $completion) {
|
|
1803
1803
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1804
|
-
return this.
|
|
1804
|
+
return this.jno(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1805
1805
|
};
|
|
1806
1806
|
protoOf(Logging$lambda$slambda_3).q9 = function () {
|
|
1807
1807
|
var suspendResult = this.k9_1;
|
|
@@ -1811,28 +1811,28 @@
|
|
|
1811
1811
|
switch (tmp) {
|
|
1812
1812
|
case 0:
|
|
1813
1813
|
this.j9_1 = 14;
|
|
1814
|
-
if (this.
|
|
1814
|
+
if (this.ynn_1)
|
|
1815
1815
|
return Unit_instance;
|
|
1816
|
-
if (this.
|
|
1816
|
+
if (this.znn_1.equals(LogLevel_NONE_getInstance()) || this.cno_1.w4b().p4b().k32(get_DisableLogging()))
|
|
1817
1817
|
return Unit_instance;
|
|
1818
|
-
this.
|
|
1819
|
-
this.
|
|
1820
|
-
this.
|
|
1818
|
+
this.eno_1 = this.cno_1.w4b().p4b().i32(get_ClientCallLogger());
|
|
1819
|
+
this.gno_1 = StringBuilder_init_$Create$();
|
|
1820
|
+
this.fno_1 = false;
|
|
1821
1821
|
this.i9_1 = 1;
|
|
1822
1822
|
continue $sm;
|
|
1823
1823
|
case 1:
|
|
1824
1824
|
this.j9_1 = 4;
|
|
1825
1825
|
this.j9_1 = 3;
|
|
1826
|
-
logResponseHeader(this.
|
|
1826
|
+
logResponseHeader(this.gno_1, this.cno_1.w4b().f49(), this.znn_1, this.ano_1);
|
|
1827
1827
|
this.i9_1 = 2;
|
|
1828
|
-
suspendResult = this.
|
|
1828
|
+
suspendResult = this.bno_1.zng(this);
|
|
1829
1829
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1830
1830
|
return suspendResult;
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
1833
|
continue $sm;
|
|
1834
1834
|
case 2:
|
|
1835
|
-
this.
|
|
1835
|
+
this.hno_1 = suspendResult;
|
|
1836
1836
|
this.j9_1 = 14;
|
|
1837
1837
|
this.i9_1 = 9;
|
|
1838
1838
|
continue $sm;
|
|
@@ -1842,8 +1842,8 @@
|
|
|
1842
1842
|
if (tmp_0 instanceof Error) {
|
|
1843
1843
|
var cause = this.l9_1;
|
|
1844
1844
|
var tmp_1 = this;
|
|
1845
|
-
invoke$logResponseException(this.
|
|
1846
|
-
this.
|
|
1845
|
+
invoke$logResponseException(this.znn_1, this.gno_1, this.cno_1.w4b().o4b(), cause);
|
|
1846
|
+
this.fno_1 = true;
|
|
1847
1847
|
throw cause;
|
|
1848
1848
|
} else {
|
|
1849
1849
|
throw this.l9_1;
|
|
@@ -1851,19 +1851,19 @@
|
|
|
1851
1851
|
|
|
1852
1852
|
case 4:
|
|
1853
1853
|
this.j9_1 = 14;
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1856
|
-
if (this.
|
|
1854
|
+
this.ino_1 = this.l9_1;
|
|
1855
|
+
this.eno_1.snd(this.gno_1.toString());
|
|
1856
|
+
if (this.fno_1 || !this.znn_1.dnf_1) {
|
|
1857
1857
|
this.i9_1 = 7;
|
|
1858
|
-
suspendResult = this.
|
|
1858
|
+
suspendResult = this.eno_1.wnd(this);
|
|
1859
1859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1860
1860
|
return suspendResult;
|
|
1861
1861
|
}
|
|
1862
1862
|
continue $sm;
|
|
1863
1863
|
} else {
|
|
1864
|
-
if (this.
|
|
1864
|
+
if (this.znn_1.dnf_1 && get_isSaved(this.cno_1)) {
|
|
1865
1865
|
this.i9_1 = 5;
|
|
1866
|
-
suspendResult = logResponseBody(this.
|
|
1866
|
+
suspendResult = logResponseBody(this.eno_1, this.cno_1, this);
|
|
1867
1867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1868
1868
|
return suspendResult;
|
|
1869
1869
|
}
|
|
@@ -1876,7 +1876,7 @@
|
|
|
1876
1876
|
|
|
1877
1877
|
case 5:
|
|
1878
1878
|
this.i9_1 = 6;
|
|
1879
|
-
suspendResult = this.
|
|
1879
|
+
suspendResult = this.eno_1.wnd(this);
|
|
1880
1880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1881
1881
|
return suspendResult;
|
|
1882
1882
|
}
|
|
@@ -1889,22 +1889,22 @@
|
|
|
1889
1889
|
this.i9_1 = 8;
|
|
1890
1890
|
continue $sm;
|
|
1891
1891
|
case 8:
|
|
1892
|
-
throw this.
|
|
1892
|
+
throw this.ino_1;
|
|
1893
1893
|
case 9:
|
|
1894
|
-
this.
|
|
1894
|
+
this.dno_1 = this.hno_1;
|
|
1895
1895
|
this.j9_1 = 14;
|
|
1896
|
-
this.
|
|
1897
|
-
if (this.
|
|
1896
|
+
this.eno_1.snd(this.gno_1.toString());
|
|
1897
|
+
if (this.fno_1 || !this.znn_1.dnf_1) {
|
|
1898
1898
|
this.i9_1 = 12;
|
|
1899
|
-
suspendResult = this.
|
|
1899
|
+
suspendResult = this.eno_1.wnd(this);
|
|
1900
1900
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1901
1901
|
return suspendResult;
|
|
1902
1902
|
}
|
|
1903
1903
|
continue $sm;
|
|
1904
1904
|
} else {
|
|
1905
|
-
if (this.
|
|
1905
|
+
if (this.znn_1.dnf_1 && get_isSaved(this.cno_1)) {
|
|
1906
1906
|
this.i9_1 = 10;
|
|
1907
|
-
suspendResult = logResponseBody(this.
|
|
1907
|
+
suspendResult = logResponseBody(this.eno_1, this.cno_1, this);
|
|
1908
1908
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1909
1909
|
return suspendResult;
|
|
1910
1910
|
}
|
|
@@ -1917,7 +1917,7 @@
|
|
|
1917
1917
|
|
|
1918
1918
|
case 10:
|
|
1919
1919
|
this.i9_1 = 11;
|
|
1920
|
-
suspendResult = this.
|
|
1920
|
+
suspendResult = this.eno_1.wnd(this);
|
|
1921
1921
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1922
1922
|
return suspendResult;
|
|
1923
1923
|
}
|
|
@@ -1945,34 +1945,34 @@
|
|
|
1945
1945
|
}
|
|
1946
1946
|
while (true);
|
|
1947
1947
|
};
|
|
1948
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1949
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1950
|
-
i.
|
|
1951
|
-
i.
|
|
1948
|
+
protoOf(Logging$lambda$slambda_3).kno = function ($this$on, response, completion) {
|
|
1949
|
+
var i = new Logging$lambda$slambda_3(this.ynn_1, this.znn_1, this.ano_1, completion);
|
|
1950
|
+
i.bno_1 = $this$on;
|
|
1951
|
+
i.cno_1 = response;
|
|
1952
1952
|
return i;
|
|
1953
1953
|
};
|
|
1954
1954
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1955
1955
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1956
1956
|
var l = function ($this$on, response, $completion) {
|
|
1957
|
-
return i.
|
|
1957
|
+
return i.jno($this$on, response, $completion);
|
|
1958
1958
|
};
|
|
1959
1959
|
l.$arity = 2;
|
|
1960
1960
|
return l;
|
|
1961
1961
|
}
|
|
1962
1962
|
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1963
|
+
this.tno_1 = $okHttpFormat;
|
|
1964
|
+
this.uno_1 = $level;
|
|
1965
1965
|
CoroutineImpl.call(this, resultContinuation);
|
|
1966
1966
|
}
|
|
1967
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1968
|
-
var tmp = this.
|
|
1967
|
+
protoOf(Logging$lambda$slambda_5).anp = function ($this$on, call, $completion) {
|
|
1968
|
+
var tmp = this.bnp($this$on, call, $completion);
|
|
1969
1969
|
tmp.k9_1 = Unit_instance;
|
|
1970
1970
|
tmp.l9_1 = null;
|
|
1971
1971
|
return tmp.q9();
|
|
1972
1972
|
};
|
|
1973
1973
|
protoOf(Logging$lambda$slambda_5).da = function (p1, p2, $completion) {
|
|
1974
1974
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1975
|
-
return this.
|
|
1975
|
+
return this.anp(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1976
1976
|
};
|
|
1977
1977
|
protoOf(Logging$lambda$slambda_5).q9 = function () {
|
|
1978
1978
|
var suspendResult = this.k9_1;
|
|
@@ -1982,22 +1982,22 @@
|
|
|
1982
1982
|
switch (tmp) {
|
|
1983
1983
|
case 0:
|
|
1984
1984
|
this.j9_1 = 6;
|
|
1985
|
-
if (this.
|
|
1985
|
+
if (this.tno_1)
|
|
1986
1986
|
return Unit_instance;
|
|
1987
|
-
if (this.
|
|
1987
|
+
if (this.uno_1.equals(LogLevel_NONE_getInstance()) || this.wno_1.p4b().k32(get_DisableLogging())) {
|
|
1988
1988
|
return Unit_instance;
|
|
1989
1989
|
}
|
|
1990
1990
|
|
|
1991
1991
|
this.j9_1 = 2;
|
|
1992
1992
|
this.i9_1 = 1;
|
|
1993
|
-
suspendResult = this.
|
|
1993
|
+
suspendResult = this.vno_1.nnh(this);
|
|
1994
1994
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1995
1995
|
return suspendResult;
|
|
1996
1996
|
}
|
|
1997
1997
|
|
|
1998
1998
|
continue $sm;
|
|
1999
1999
|
case 1:
|
|
2000
|
-
this.
|
|
2000
|
+
this.xno_1 = suspendResult;
|
|
2001
2001
|
this.j9_1 = 6;
|
|
2002
2002
|
this.i9_1 = 5;
|
|
2003
2003
|
continue $sm;
|
|
@@ -2005,12 +2005,12 @@
|
|
|
2005
2005
|
this.j9_1 = 6;
|
|
2006
2006
|
var tmp_0 = this.l9_1;
|
|
2007
2007
|
if (tmp_0 instanceof Error) {
|
|
2008
|
-
this.
|
|
2008
|
+
this.yno_1 = this.l9_1;
|
|
2009
2009
|
var log = StringBuilder_init_$Create$();
|
|
2010
|
-
this.
|
|
2011
|
-
invoke$logResponseException(this.
|
|
2010
|
+
this.zno_1 = this.wno_1.p4b().i32(get_ClientCallLogger());
|
|
2011
|
+
invoke$logResponseException(this.uno_1, log, this.wno_1.o4b(), this.yno_1);
|
|
2012
2012
|
this.i9_1 = 3;
|
|
2013
|
-
suspendResult = this.
|
|
2013
|
+
suspendResult = this.zno_1.tnd(log.toString(), this);
|
|
2014
2014
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2015
2015
|
return suspendResult;
|
|
2016
2016
|
}
|
|
@@ -2021,7 +2021,7 @@
|
|
|
2021
2021
|
|
|
2022
2022
|
case 3:
|
|
2023
2023
|
this.i9_1 = 4;
|
|
2024
|
-
suspendResult = this.
|
|
2024
|
+
suspendResult = this.zno_1.wnd(this);
|
|
2025
2025
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2026
2026
|
return suspendResult;
|
|
2027
2027
|
}
|
|
@@ -2029,7 +2029,7 @@
|
|
|
2029
2029
|
continue $sm;
|
|
2030
2030
|
case 4:
|
|
2031
2031
|
var tmp_1 = this;
|
|
2032
|
-
throw this.
|
|
2032
|
+
throw this.yno_1;
|
|
2033
2033
|
case 5:
|
|
2034
2034
|
this.j9_1 = 6;
|
|
2035
2035
|
return Unit_instance;
|
|
@@ -2047,16 +2047,16 @@
|
|
|
2047
2047
|
}
|
|
2048
2048
|
while (true);
|
|
2049
2049
|
};
|
|
2050
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2051
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2052
|
-
i.
|
|
2053
|
-
i.
|
|
2050
|
+
protoOf(Logging$lambda$slambda_5).bnp = function ($this$on, call, completion) {
|
|
2051
|
+
var i = new Logging$lambda$slambda_5(this.tno_1, this.uno_1, completion);
|
|
2052
|
+
i.vno_1 = $this$on;
|
|
2053
|
+
i.wno_1 = call;
|
|
2054
2054
|
return i;
|
|
2055
2055
|
};
|
|
2056
2056
|
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
2057
2057
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
2058
2058
|
var l = function ($this$on, call, $completion) {
|
|
2059
|
-
return i.
|
|
2059
|
+
return i.anp($this$on, call, $completion);
|
|
2060
2060
|
};
|
|
2061
2061
|
l.$arity = 2;
|
|
2062
2062
|
return l;
|
|
@@ -2066,7 +2066,7 @@
|
|
|
2066
2066
|
return !get_isSaved(it.f49());
|
|
2067
2067
|
}
|
|
2068
2068
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2069
|
-
this.
|
|
2069
|
+
this.knp_1 = $level;
|
|
2070
2070
|
CoroutineImpl.call(this, resultContinuation);
|
|
2071
2071
|
}
|
|
2072
2072
|
protoOf(Logging$lambda$lambda$slambda).h4l = function (response, $completion) {
|
|
@@ -2086,11 +2086,11 @@
|
|
|
2086
2086
|
switch (tmp) {
|
|
2087
2087
|
case 0:
|
|
2088
2088
|
this.j9_1 = 3;
|
|
2089
|
-
if (this.
|
|
2089
|
+
if (this.knp_1.equals(LogLevel_NONE_getInstance()) || this.lnp_1.w4b().p4b().k32(get_DisableLogging()))
|
|
2090
2090
|
return Unit_instance;
|
|
2091
|
-
this.
|
|
2091
|
+
this.mnp_1 = this.lnp_1.w4b().p4b().i32(get_ClientCallLogger());
|
|
2092
2092
|
this.i9_1 = 1;
|
|
2093
|
-
suspendResult = logResponseBody(this.
|
|
2093
|
+
suspendResult = logResponseBody(this.mnp_1, this.lnp_1, this);
|
|
2094
2094
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2095
2095
|
return suspendResult;
|
|
2096
2096
|
}
|
|
@@ -2098,7 +2098,7 @@
|
|
|
2098
2098
|
continue $sm;
|
|
2099
2099
|
case 1:
|
|
2100
2100
|
this.i9_1 = 2;
|
|
2101
|
-
suspendResult = this.
|
|
2101
|
+
suspendResult = this.mnp_1.wnd(this);
|
|
2102
2102
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2103
2103
|
return suspendResult;
|
|
2104
2104
|
}
|
|
@@ -2121,8 +2121,8 @@
|
|
|
2121
2121
|
while (true);
|
|
2122
2122
|
};
|
|
2123
2123
|
protoOf(Logging$lambda$lambda$slambda).v4j = function (response, completion) {
|
|
2124
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2125
|
-
i.
|
|
2124
|
+
var i = new Logging$lambda$lambda$slambda(this.knp_1, completion);
|
|
2125
|
+
i.lnp_1 = response;
|
|
2126
2126
|
return i;
|
|
2127
2127
|
};
|
|
2128
2128
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
@@ -2142,14 +2142,14 @@
|
|
|
2142
2142
|
}
|
|
2143
2143
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2144
2144
|
CoroutineImpl.call(this, resultContinuation);
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2145
|
+
this.jnj_1 = bodyFilter;
|
|
2146
|
+
this.knj_1 = url;
|
|
2147
|
+
this.lnj_1 = content;
|
|
2148
|
+
this.mnj_1 = contentLength;
|
|
2149
|
+
this.nnj_1 = headers;
|
|
2150
|
+
this.onj_1 = method;
|
|
2151
|
+
this.pnj_1 = logLines;
|
|
2152
|
+
this.qnj_1 = body;
|
|
2153
2153
|
}
|
|
2154
2154
|
protoOf($invoke$logRequestBodyCOROUTINE$).q9 = function () {
|
|
2155
2155
|
var suspendResult = this.k9_1;
|
|
@@ -2160,7 +2160,7 @@
|
|
|
2160
2160
|
case 0:
|
|
2161
2161
|
this.j9_1 = 2;
|
|
2162
2162
|
this.i9_1 = 1;
|
|
2163
|
-
suspendResult = this.
|
|
2163
|
+
suspendResult = this.jnj_1.xnd(this.knj_1, this.mnj_1, this.lnj_1.u3p(), this.nnj_1, this.qnj_1, this);
|
|
2164
2164
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2165
2165
|
return suspendResult;
|
|
2166
2166
|
}
|
|
@@ -2169,29 +2169,29 @@
|
|
|
2169
2169
|
case 1:
|
|
2170
2170
|
var filteredBody = suspendResult;
|
|
2171
2171
|
if (filteredBody instanceof Empty) {
|
|
2172
|
-
this.
|
|
2172
|
+
this.pnj_1.e1('--> END ' + this.onj_1.g3k_1 + ' (0-byte body)');
|
|
2173
2173
|
} else {
|
|
2174
2174
|
if (filteredBody instanceof Skip) {
|
|
2175
2175
|
var this_0 = StringBuilder_init_$Create$();
|
|
2176
|
-
this_0.q('--> END ' + this.
|
|
2177
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2176
|
+
this_0.q('--> END ' + this.onj_1.g3k_1 + ' (');
|
|
2177
|
+
var tmp0_safe_receiver = filteredBody.bne_1;
|
|
2178
2178
|
if (tmp0_safe_receiver == null)
|
|
2179
2179
|
null;
|
|
2180
2180
|
else {
|
|
2181
2181
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2182
2182
|
}
|
|
2183
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2183
|
+
var tmp1_safe_receiver = filteredBody.cne_1;
|
|
2184
2184
|
if (tmp1_safe_receiver == null)
|
|
2185
2185
|
null;
|
|
2186
2186
|
else {
|
|
2187
2187
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2188
2188
|
}
|
|
2189
2189
|
this_0.q('body omitted)');
|
|
2190
|
-
this.
|
|
2190
|
+
this.pnj_1.e1(this_0.toString());
|
|
2191
2191
|
} else {
|
|
2192
2192
|
if (isInterface(filteredBody, Content)) {
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2193
|
+
this.pnj_1.e1(filteredBody.x66());
|
|
2194
|
+
this.pnj_1.e1('--> END ' + this.onj_1.g3k_1 + ' (' + toString_0(filteredBody.ane()) + '-byte body)');
|
|
2195
2195
|
} else {
|
|
2196
2196
|
noWhenBranchMatchedException();
|
|
2197
2197
|
}
|
|
@@ -2215,14 +2215,14 @@
|
|
|
2215
2215
|
};
|
|
2216
2216
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2217
2217
|
CoroutineImpl.call(this, resultContinuation);
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
this.
|
|
2221
|
-
this.
|
|
2222
|
-
this.
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2218
|
+
this.znj_1 = $this_createClientPlugin;
|
|
2219
|
+
this.ank_1 = bodyFilter;
|
|
2220
|
+
this.bnk_1 = url;
|
|
2221
|
+
this.cnk_1 = content;
|
|
2222
|
+
this.dnk_1 = method;
|
|
2223
|
+
this.enk_1 = headers;
|
|
2224
|
+
this.fnk_1 = logLines;
|
|
2225
|
+
this.gnk_1 = process;
|
|
2226
2226
|
}
|
|
2227
2227
|
protoOf($invoke$logOutgoingContentCOROUTINE$).q9 = function () {
|
|
2228
2228
|
var suspendResult = this.k9_1;
|
|
@@ -2232,10 +2232,10 @@
|
|
|
2232
2232
|
switch (tmp) {
|
|
2233
2233
|
case 0:
|
|
2234
2234
|
this.j9_1 = 7;
|
|
2235
|
-
var tmp0_subject = this.
|
|
2235
|
+
var tmp0_subject = this.cnk_1;
|
|
2236
2236
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2237
2237
|
this.i9_1 = 5;
|
|
2238
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2238
|
+
suspendResult = invoke$logOutgoingContent(this.znj_1, this.ank_1, this.bnk_1, this.cnk_1.r4e_1, this.dnk_1, this.enk_1, this.fnk_1, this.gnk_1, this);
|
|
2239
2239
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2240
2240
|
return suspendResult;
|
|
2241
2241
|
}
|
|
@@ -2243,41 +2243,41 @@
|
|
|
2243
2243
|
} else {
|
|
2244
2244
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2245
2245
|
var tmp_0 = this;
|
|
2246
|
-
var _iterator__ex2g4s = this.
|
|
2246
|
+
var _iterator__ex2g4s = this.cnk_1.g5r_1.t();
|
|
2247
2247
|
while (_iterator__ex2g4s.u()) {
|
|
2248
2248
|
var part = _iterator__ex2g4s.v();
|
|
2249
|
-
this.
|
|
2249
|
+
this.fnk_1.e1('--' + this.cnk_1.h5r_1);
|
|
2250
2250
|
var _iterator__ex2g4s_0 = part.x5r_1.k36().t();
|
|
2251
2251
|
while (_iterator__ex2g4s_0.u()) {
|
|
2252
2252
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2253
2253
|
var key = _destruct__k2r9zo.m1();
|
|
2254
2254
|
var values = _destruct__k2r9zo.n1();
|
|
2255
|
-
this.
|
|
2255
|
+
this.fnk_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2256
2256
|
}
|
|
2257
2257
|
if (part instanceof FormItem) {
|
|
2258
|
-
this.
|
|
2259
|
-
this.
|
|
2260
|
-
this.
|
|
2258
|
+
this.fnk_1.e1('Content-Length: ' + part.b5s_1.length);
|
|
2259
|
+
this.fnk_1.e1('');
|
|
2260
|
+
this.fnk_1.e1(part.b5s_1);
|
|
2261
2261
|
} else {
|
|
2262
|
-
this.
|
|
2262
|
+
this.fnk_1.e1('');
|
|
2263
2263
|
var contentLength = part.x5r_1.b35('Content-Length');
|
|
2264
2264
|
if (!(contentLength == null)) {
|
|
2265
|
-
this.
|
|
2265
|
+
this.fnk_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2266
2266
|
} else {
|
|
2267
|
-
this.
|
|
2267
|
+
this.fnk_1.e1('binary body omitted');
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
2271
|
-
this.
|
|
2272
|
-
this.
|
|
2273
|
-
tmp_0.
|
|
2271
|
+
this.fnk_1.e1('--' + this.cnk_1.h5r_1 + '--');
|
|
2272
|
+
this.fnk_1.e1('--> END ' + this.dnk_1.g3k_1);
|
|
2273
|
+
tmp_0.hnk_1 = null;
|
|
2274
2274
|
this.i9_1 = 6;
|
|
2275
2275
|
continue $sm;
|
|
2276
2276
|
} else {
|
|
2277
2277
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2278
|
-
var bytes = this.
|
|
2278
|
+
var bytes = this.cnk_1.x3p();
|
|
2279
2279
|
this.i9_1 = 4;
|
|
2280
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2280
|
+
suspendResult = invoke$logRequestBody(this.ank_1, this.bnk_1, this.cnk_1, fromInt(bytes.length), this.enk_1, this.dnk_1, this.fnk_1, ByteReadChannel(bytes), this);
|
|
2281
2281
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2282
2282
|
return suspendResult;
|
|
2283
2283
|
}
|
|
@@ -2285,7 +2285,7 @@
|
|
|
2285
2285
|
} else {
|
|
2286
2286
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2287
2287
|
this.i9_1 = 3;
|
|
2288
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2288
|
+
suspendResult = invoke$logOutgoingContent(this.znj_1, this.ank_1, this.bnk_1, this.cnk_1.g3q(), this.dnk_1, this.enk_1, this.fnk_1, this.gnk_1, this);
|
|
2289
2289
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2290
2290
|
return suspendResult;
|
|
2291
2291
|
}
|
|
@@ -2293,24 +2293,24 @@
|
|
|
2293
2293
|
} else {
|
|
2294
2294
|
if (tmp0_subject instanceof NoContent) {
|
|
2295
2295
|
var tmp_1 = this;
|
|
2296
|
-
this.
|
|
2297
|
-
tmp_1.
|
|
2296
|
+
this.fnk_1.e1('--> END ' + this.dnk_1.g3k_1);
|
|
2297
|
+
tmp_1.hnk_1 = null;
|
|
2298
2298
|
this.i9_1 = 6;
|
|
2299
2299
|
continue $sm;
|
|
2300
2300
|
} else {
|
|
2301
2301
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2302
2302
|
var tmp_2 = this;
|
|
2303
|
-
this.
|
|
2304
|
-
tmp_2.
|
|
2303
|
+
this.fnk_1.e1('--> END ' + this.dnk_1.g3k_1);
|
|
2304
|
+
tmp_2.hnk_1 = null;
|
|
2305
2305
|
this.i9_1 = 6;
|
|
2306
2306
|
continue $sm;
|
|
2307
2307
|
} else {
|
|
2308
2308
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2309
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2310
|
-
this.
|
|
2309
|
+
var _destruct__k2r9zo_0 = split(this.cnk_1.a3q(), this.znj_1.u4i_1);
|
|
2310
|
+
this.ink_1 = _destruct__k2r9zo_0.xg();
|
|
2311
2311
|
var newChannel = _destruct__k2r9zo_0.yg();
|
|
2312
2312
|
this.i9_1 = 2;
|
|
2313
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2313
|
+
suspendResult = invoke$logRequestBody(this.ank_1, this.bnk_1, this.cnk_1, this.cnk_1.w3p(), this.enk_1, this.dnk_1, this.fnk_1, newChannel, this);
|
|
2314
2314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2315
2315
|
return suspendResult;
|
|
2316
2316
|
}
|
|
@@ -2318,12 +2318,12 @@
|
|
|
2318
2318
|
} else {
|
|
2319
2319
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2320
2320
|
var channel = new ByteChannel();
|
|
2321
|
-
launch(this.
|
|
2322
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2323
|
-
this.
|
|
2321
|
+
launch(this.znj_1.u4i_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.cnk_1, channel, null));
|
|
2322
|
+
var _destruct__k2r9zo_1 = split(channel, this.znj_1.u4i_1);
|
|
2323
|
+
this.jnk_1 = _destruct__k2r9zo_1.xg();
|
|
2324
2324
|
var newChannel_0 = _destruct__k2r9zo_1.yg();
|
|
2325
2325
|
this.i9_1 = 1;
|
|
2326
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2326
|
+
suspendResult = invoke$logRequestBody(this.ank_1, this.bnk_1, this.cnk_1, this.cnk_1.w3p(), this.enk_1, this.dnk_1, this.fnk_1, newChannel_0, this);
|
|
2327
2327
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2328
2328
|
return suspendResult;
|
|
2329
2329
|
}
|
|
@@ -2342,27 +2342,27 @@
|
|
|
2342
2342
|
|
|
2343
2343
|
break;
|
|
2344
2344
|
case 1:
|
|
2345
|
-
this.
|
|
2345
|
+
this.hnk_1 = new LoggedContent(this.cnk_1, this.jnk_1);
|
|
2346
2346
|
this.i9_1 = 6;
|
|
2347
2347
|
continue $sm;
|
|
2348
2348
|
case 2:
|
|
2349
|
-
this.
|
|
2349
|
+
this.hnk_1 = new LoggedContent(this.cnk_1, this.ink_1);
|
|
2350
2350
|
this.i9_1 = 6;
|
|
2351
2351
|
continue $sm;
|
|
2352
2352
|
case 3:
|
|
2353
|
-
this.
|
|
2353
|
+
this.hnk_1 = suspendResult;
|
|
2354
2354
|
this.i9_1 = 6;
|
|
2355
2355
|
continue $sm;
|
|
2356
2356
|
case 4:
|
|
2357
|
-
this.
|
|
2357
|
+
this.hnk_1 = null;
|
|
2358
2358
|
this.i9_1 = 6;
|
|
2359
2359
|
continue $sm;
|
|
2360
2360
|
case 5:
|
|
2361
|
-
this.
|
|
2361
|
+
this.hnk_1 = suspendResult;
|
|
2362
2362
|
this.i9_1 = 6;
|
|
2363
2363
|
continue $sm;
|
|
2364
2364
|
case 6:
|
|
2365
|
-
return this.
|
|
2365
|
+
return this.hnk_1;
|
|
2366
2366
|
case 7:
|
|
2367
2367
|
throw this.l9_1;
|
|
2368
2368
|
}
|
|
@@ -2379,12 +2379,12 @@
|
|
|
2379
2379
|
};
|
|
2380
2380
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2381
2381
|
CoroutineImpl.call(this, resultContinuation);
|
|
2382
|
-
this.
|
|
2383
|
-
this.
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2387
|
-
this.
|
|
2382
|
+
this.snk_1 = sanitizedHeaders;
|
|
2383
|
+
this.tnk_1 = level;
|
|
2384
|
+
this.unk_1 = $this_createClientPlugin;
|
|
2385
|
+
this.vnk_1 = bodyFilter;
|
|
2386
|
+
this.wnk_1 = request;
|
|
2387
|
+
this.xnk_1 = logLines;
|
|
2388
2388
|
}
|
|
2389
2389
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).q9 = function () {
|
|
2390
2390
|
var suspendResult = this.k9_1;
|
|
@@ -2394,22 +2394,22 @@
|
|
|
2394
2394
|
switch (tmp) {
|
|
2395
2395
|
case 0:
|
|
2396
2396
|
this.j9_1 = 4;
|
|
2397
|
-
if (invoke$isNone(this.
|
|
2397
|
+
if (invoke$isNone(this.tnk_1))
|
|
2398
2398
|
return null;
|
|
2399
|
-
var uri = pathQuery(takeFrom(new URLBuilder(), this.
|
|
2400
|
-
var body = this.
|
|
2399
|
+
var uri = pathQuery(takeFrom(new URLBuilder(), this.wnk_1.f4a_1).j1g());
|
|
2400
|
+
var body = this.wnk_1.i4a_1;
|
|
2401
2401
|
var this_0 = new HeadersBuilder();
|
|
2402
2402
|
var tmp_0;
|
|
2403
2403
|
var tmp_1;
|
|
2404
2404
|
var tmp_2;
|
|
2405
2405
|
if (body instanceof OutgoingContent) {
|
|
2406
|
-
tmp_2 = !this.
|
|
2406
|
+
tmp_2 = !this.wnk_1.g4a_1.equals(Companion_getInstance().w3j_1);
|
|
2407
2407
|
} else {
|
|
2408
2408
|
tmp_2 = false;
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
2411
|
if (tmp_2) {
|
|
2412
|
-
tmp_1 = !this.
|
|
2412
|
+
tmp_1 = !this.wnk_1.g4a_1.equals(Companion_getInstance().b3k_1);
|
|
2413
2413
|
} else {
|
|
2414
2414
|
tmp_1 = false;
|
|
2415
2415
|
}
|
|
@@ -2435,16 +2435,16 @@
|
|
|
2435
2435
|
}
|
|
2436
2436
|
}
|
|
2437
2437
|
|
|
2438
|
-
appendAll(this_0, this.
|
|
2438
|
+
appendAll(this_0, this.wnk_1.h4a_1);
|
|
2439
2439
|
var headers = this_0.j1g();
|
|
2440
2440
|
var tmp0_safe_receiver_0 = headers.b35('Content-Length');
|
|
2441
2441
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2442
2442
|
var tmp_3;
|
|
2443
|
-
if (this.
|
|
2444
|
-
tmp_3 = '--> ' + this.
|
|
2443
|
+
if (this.wnk_1.g4a_1.equals(Companion_getInstance().w3j_1) || this.wnk_1.g4a_1.equals(Companion_getInstance().b3k_1) || ((invoke$isHeaders(this.tnk_1) || invoke$isBody(this.tnk_1)) && !(contentLength == null)) || (invoke$isHeaders(this.tnk_1) && contentLength == null) || headers.i36('Content-Encoding')) {
|
|
2444
|
+
tmp_3 = '--> ' + this.wnk_1.g4a_1.g3k_1 + ' ' + uri;
|
|
2445
2445
|
} else {
|
|
2446
|
-
if (invoke$isInfo(this.
|
|
2447
|
-
tmp_3 = '--> ' + this.
|
|
2446
|
+
if (invoke$isInfo(this.tnk_1) && !(contentLength == null)) {
|
|
2447
|
+
tmp_3 = '--> ' + this.wnk_1.g4a_1.g3k_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2448
2448
|
} else {
|
|
2449
2449
|
var tmp_4;
|
|
2450
2450
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2453,17 +2453,17 @@
|
|
|
2453
2453
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2454
2454
|
}
|
|
2455
2455
|
if (tmp_4) {
|
|
2456
|
-
tmp_3 = '--> ' + this.
|
|
2456
|
+
tmp_3 = '--> ' + this.wnk_1.g4a_1.g3k_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2457
2457
|
} else {
|
|
2458
|
-
var size = computeRequestBodySize(this.
|
|
2459
|
-
tmp_3 = '--> ' + this.
|
|
2458
|
+
var size = computeRequestBodySize(this.wnk_1.i4a_1);
|
|
2459
|
+
tmp_3 = '--> ' + this.wnk_1.g4a_1.g3k_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2460
2460
|
}
|
|
2461
2461
|
}
|
|
2462
2462
|
}
|
|
2463
2463
|
|
|
2464
2464
|
var startLine = tmp_3;
|
|
2465
|
-
this.
|
|
2466
|
-
if (!invoke$isHeaders(this.
|
|
2465
|
+
this.xnk_1.e1(startLine);
|
|
2466
|
+
if (!invoke$isHeaders(this.tnk_1) && !invoke$isBody(this.tnk_1)) {
|
|
2467
2467
|
return null;
|
|
2468
2468
|
}
|
|
2469
2469
|
|
|
@@ -2472,13 +2472,13 @@
|
|
|
2472
2472
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2473
2473
|
var name = _destruct__k2r9zo.m1();
|
|
2474
2474
|
var values = _destruct__k2r9zo.n1();
|
|
2475
|
-
var tmp0 = this.
|
|
2475
|
+
var tmp0 = this.snk_1;
|
|
2476
2476
|
var tmp$ret$0 = Unit_instance;
|
|
2477
2477
|
l$ret$1: do {
|
|
2478
2478
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2479
2479
|
while (_iterator__ex2g4s_0.u()) {
|
|
2480
2480
|
var element = _iterator__ex2g4s_0.v();
|
|
2481
|
-
if (element.
|
|
2481
|
+
if (element.vnf_1(name)) {
|
|
2482
2482
|
tmp$ret$0 = element;
|
|
2483
2483
|
break l$ret$1;
|
|
2484
2484
|
}
|
|
@@ -2487,35 +2487,35 @@
|
|
|
2487
2487
|
}
|
|
2488
2488
|
while (false);
|
|
2489
2489
|
if (tmp$ret$0 == null) {
|
|
2490
|
-
this.
|
|
2490
|
+
this.xnk_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2491
2491
|
} else {
|
|
2492
|
-
this.
|
|
2492
|
+
this.xnk_1.e1(name + ': \u2588\u2588');
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
|
|
2496
|
-
if (!invoke$isBody(this.
|
|
2497
|
-
this.
|
|
2496
|
+
if (!invoke$isBody(this.tnk_1) || this.wnk_1.g4a_1.equals(Companion_getInstance().w3j_1) || this.wnk_1.g4a_1.equals(Companion_getInstance().b3k_1)) {
|
|
2497
|
+
this.xnk_1.e1('--> END ' + this.wnk_1.g4a_1.g3k_1);
|
|
2498
2498
|
return null;
|
|
2499
2499
|
}
|
|
2500
2500
|
|
|
2501
|
-
this.
|
|
2501
|
+
this.xnk_1.e1('');
|
|
2502
2502
|
if (!(body instanceof OutgoingContent)) {
|
|
2503
|
-
this.
|
|
2503
|
+
this.xnk_1.e1('--> END ' + this.wnk_1.g4a_1.g3k_1);
|
|
2504
2504
|
return null;
|
|
2505
2505
|
}
|
|
2506
2506
|
|
|
2507
|
-
if (this.
|
|
2507
|
+
if (this.wnk_1.h4a_1.b35('Content-Encoding') === 'gzip') {
|
|
2508
2508
|
this.i9_1 = 2;
|
|
2509
|
-
var tmp_5 = this.
|
|
2510
|
-
var tmp_6 = this.
|
|
2511
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2509
|
+
var tmp_5 = this.wnk_1.f4a_1.j1g();
|
|
2510
|
+
var tmp_6 = this.wnk_1.g4a_1;
|
|
2511
|
+
suspendResult = invoke$logOutgoingContent(this.unk_1, this.vnk_1, tmp_5, body, tmp_6, headers, this.xnk_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2512
2512
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2513
2513
|
return suspendResult;
|
|
2514
2514
|
}
|
|
2515
2515
|
continue $sm;
|
|
2516
2516
|
} else {
|
|
2517
2517
|
this.i9_1 = 1;
|
|
2518
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2518
|
+
suspendResult = invoke$logOutgoingContent(this.unk_1, this.vnk_1, this.wnk_1.f4a_1.j1g(), body, this.wnk_1.g4a_1, headers, this.xnk_1, VOID, this);
|
|
2519
2519
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2520
2520
|
return suspendResult;
|
|
2521
2521
|
}
|
|
@@ -2523,15 +2523,15 @@
|
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
2525
|
case 1:
|
|
2526
|
-
this.
|
|
2526
|
+
this.ynk_1 = suspendResult;
|
|
2527
2527
|
this.i9_1 = 3;
|
|
2528
2528
|
continue $sm;
|
|
2529
2529
|
case 2:
|
|
2530
|
-
this.
|
|
2530
|
+
this.ynk_1 = suspendResult;
|
|
2531
2531
|
this.i9_1 = 3;
|
|
2532
2532
|
continue $sm;
|
|
2533
2533
|
case 3:
|
|
2534
|
-
var newContent = this.
|
|
2534
|
+
var newContent = this.ynk_1;
|
|
2535
2535
|
return newContent;
|
|
2536
2536
|
case 4:
|
|
2537
2537
|
throw this.l9_1;
|
|
@@ -2549,10 +2549,10 @@
|
|
|
2549
2549
|
};
|
|
2550
2550
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2551
2551
|
CoroutineImpl.call(this, resultContinuation);
|
|
2552
|
-
this.
|
|
2553
|
-
this.
|
|
2554
|
-
this.
|
|
2555
|
-
this.
|
|
2552
|
+
this.hnl_1 = bodyFilter;
|
|
2553
|
+
this.inl_1 = response;
|
|
2554
|
+
this.jnl_1 = body;
|
|
2555
|
+
this.knl_1 = logLines;
|
|
2556
2556
|
}
|
|
2557
2557
|
protoOf($invoke$logResponseBodyCOROUTINE$).q9 = function () {
|
|
2558
2558
|
var suspendResult = this.k9_1;
|
|
@@ -2562,9 +2562,9 @@
|
|
|
2562
2562
|
switch (tmp) {
|
|
2563
2563
|
case 0:
|
|
2564
2564
|
this.j9_1 = 2;
|
|
2565
|
-
this.
|
|
2565
|
+
this.knl_1.e1('');
|
|
2566
2566
|
this.i9_1 = 1;
|
|
2567
|
-
suspendResult = this.
|
|
2567
|
+
suspendResult = this.hnl_1.znd(this.inl_1.w4b().o4b().y4b(), contentLength(this.inl_1), contentType(this.inl_1), this.inl_1.v3j(), this.jnl_1, this);
|
|
2568
2568
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2569
2569
|
return suspendResult;
|
|
2570
2570
|
}
|
|
@@ -2572,33 +2572,33 @@
|
|
|
2572
2572
|
continue $sm;
|
|
2573
2573
|
case 1:
|
|
2574
2574
|
var filteredBody = suspendResult;
|
|
2575
|
-
var duration = subtract(this.
|
|
2575
|
+
var duration = subtract(this.inl_1.i4c().c38_1, this.inl_1.h4c().c38_1);
|
|
2576
2576
|
if (filteredBody instanceof Empty) {
|
|
2577
|
-
this.
|
|
2577
|
+
this.knl_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2578
2578
|
} else {
|
|
2579
2579
|
if (filteredBody instanceof Skip) {
|
|
2580
2580
|
var this_0 = StringBuilder_init_$Create$();
|
|
2581
2581
|
this_0.q('<-- END HTTP (');
|
|
2582
2582
|
this_0.zc(duration);
|
|
2583
2583
|
this_0.q('ms, ');
|
|
2584
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2584
|
+
var tmp0_safe_receiver = filteredBody.bne_1;
|
|
2585
2585
|
if (tmp0_safe_receiver == null)
|
|
2586
2586
|
null;
|
|
2587
2587
|
else {
|
|
2588
2588
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2589
2589
|
}
|
|
2590
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2590
|
+
var tmp1_safe_receiver = filteredBody.cne_1;
|
|
2591
2591
|
if (tmp1_safe_receiver == null)
|
|
2592
2592
|
null;
|
|
2593
2593
|
else {
|
|
2594
2594
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2595
2595
|
}
|
|
2596
2596
|
this_0.q('body omitted)');
|
|
2597
|
-
this.
|
|
2597
|
+
this.knl_1.e1(this_0.toString());
|
|
2598
2598
|
} else {
|
|
2599
2599
|
if (isInterface(filteredBody, Content)) {
|
|
2600
|
-
this.
|
|
2601
|
-
this.
|
|
2600
|
+
this.knl_1.e1(filteredBody.x66());
|
|
2601
|
+
this.knl_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.ane()) + '-byte body)');
|
|
2602
2602
|
} else {
|
|
2603
2603
|
noWhenBranchMatchedException();
|
|
2604
2604
|
}
|
|
@@ -2622,11 +2622,11 @@
|
|
|
2622
2622
|
};
|
|
2623
2623
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2624
2624
|
CoroutineImpl.call(this, resultContinuation);
|
|
2625
|
-
this.
|
|
2626
|
-
this.
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2629
|
-
this.
|
|
2625
|
+
this.tnl_1 = sanitizedHeaders;
|
|
2626
|
+
this.unl_1 = level;
|
|
2627
|
+
this.vnl_1 = bodyFilter;
|
|
2628
|
+
this.wnl_1 = response;
|
|
2629
|
+
this.xnl_1 = logLines;
|
|
2630
2630
|
}
|
|
2631
2631
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).q9 = function () {
|
|
2632
2632
|
var suspendResult = this.k9_1;
|
|
@@ -2636,30 +2636,30 @@
|
|
|
2636
2636
|
switch (tmp) {
|
|
2637
2637
|
case 0:
|
|
2638
2638
|
this.j9_1 = 4;
|
|
2639
|
-
if (invoke$isNone(this.
|
|
2640
|
-
return this.
|
|
2641
|
-
var tmp0_safe_receiver = this.
|
|
2639
|
+
if (invoke$isNone(this.unl_1))
|
|
2640
|
+
return this.wnl_1;
|
|
2641
|
+
var tmp0_safe_receiver = this.wnl_1.v3j().b35('Content-Length');
|
|
2642
2642
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2643
|
-
var request = get_request(this.
|
|
2644
|
-
var duration = subtract(this.
|
|
2645
|
-
var startLine = this.
|
|
2646
|
-
this.
|
|
2647
|
-
if (!invoke$isHeaders(this.
|
|
2648
|
-
return this.
|
|
2643
|
+
var request = get_request(this.wnl_1);
|
|
2644
|
+
var duration = subtract(this.wnl_1.i4c().c38_1, this.wnl_1.h4c().c38_1);
|
|
2645
|
+
var startLine = this.wnl_1.v3j().b35('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.unl_1) || invoke$isHeaders(this.unl_1)) ? '<-- ' + this.wnl_1.v3p().toString() + ' ' + pathQuery(request.y4b()) + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.unl_1) && !(contentLength == null) ? '<-- ' + this.wnl_1.v3p().toString() + ' ' + pathQuery(request.y4b()) + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.unl_1) || (invoke$isInfo(this.unl_1) && contentLength == null) || (invoke$isHeaders(this.unl_1) && !(contentLength == null)) || this.wnl_1.v3j().b35('Content-Encoding') === 'gzip' ? '<-- ' + this.wnl_1.v3p().toString() + ' ' + pathQuery(request.y4b()) + ' (' + duration.toString() + 'ms)' : '<-- ' + this.wnl_1.v3p().toString() + ' ' + pathQuery(request.y4b()) + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2646
|
+
this.xnl_1.e1(startLine);
|
|
2647
|
+
if (!invoke$isHeaders(this.unl_1) && !invoke$isBody(this.unl_1)) {
|
|
2648
|
+
return this.wnl_1;
|
|
2649
2649
|
}
|
|
2650
2650
|
|
|
2651
|
-
var _iterator__ex2g4s = this.
|
|
2651
|
+
var _iterator__ex2g4s = this.wnl_1.v3j().k36().t();
|
|
2652
2652
|
while (_iterator__ex2g4s.u()) {
|
|
2653
2653
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2654
2654
|
var name = _destruct__k2r9zo.m1();
|
|
2655
2655
|
var values = _destruct__k2r9zo.n1();
|
|
2656
|
-
var tmp0 = this.
|
|
2656
|
+
var tmp0 = this.tnl_1;
|
|
2657
2657
|
var tmp$ret$0 = Unit_instance;
|
|
2658
2658
|
l$ret$1: do {
|
|
2659
2659
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2660
2660
|
while (_iterator__ex2g4s_0.u()) {
|
|
2661
2661
|
var element = _iterator__ex2g4s_0.v();
|
|
2662
|
-
if (element.
|
|
2662
|
+
if (element.vnf_1(name)) {
|
|
2663
2663
|
tmp$ret$0 = element;
|
|
2664
2664
|
break l$ret$1;
|
|
2665
2665
|
}
|
|
@@ -2668,30 +2668,30 @@
|
|
|
2668
2668
|
}
|
|
2669
2669
|
while (false);
|
|
2670
2670
|
if (tmp$ret$0 == null) {
|
|
2671
|
-
this.
|
|
2671
|
+
this.xnl_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2672
2672
|
} else {
|
|
2673
|
-
this.
|
|
2673
|
+
this.xnl_1.e1(name + ': \u2588\u2588');
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
2676
|
|
|
2677
|
-
if (!invoke$isBody(this.
|
|
2678
|
-
this.
|
|
2679
|
-
return this.
|
|
2677
|
+
if (!invoke$isBody(this.unl_1)) {
|
|
2678
|
+
this.xnl_1.e1('<-- END HTTP');
|
|
2679
|
+
return this.wnl_1;
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
2682
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2683
|
-
this.
|
|
2684
|
-
return this.
|
|
2683
|
+
this.xnl_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2684
|
+
return this.wnl_1;
|
|
2685
2685
|
}
|
|
2686
2686
|
|
|
2687
|
-
if (equals(contentType(this.
|
|
2688
|
-
this.
|
|
2689
|
-
return this.
|
|
2687
|
+
if (equals(contentType(this.wnl_1), Text_getInstance().e3e_1)) {
|
|
2688
|
+
this.xnl_1.e1('<-- END HTTP (streaming)');
|
|
2689
|
+
return this.wnl_1;
|
|
2690
2690
|
}
|
|
2691
2691
|
|
|
2692
|
-
if (get_isSaved(this.
|
|
2692
|
+
if (get_isSaved(this.wnl_1)) {
|
|
2693
2693
|
this.i9_1 = 3;
|
|
2694
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2694
|
+
suspendResult = invoke$logResponseBody(this.vnl_1, this.wnl_1, this.wnl_1.f4c(), this.xnl_1, this);
|
|
2695
2695
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2696
2696
|
return suspendResult;
|
|
2697
2697
|
}
|
|
@@ -2702,22 +2702,22 @@
|
|
|
2702
2702
|
}
|
|
2703
2703
|
|
|
2704
2704
|
case 1:
|
|
2705
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2706
|
-
this.
|
|
2705
|
+
var _destruct__k2r9zo_0 = split(this.wnl_1.f4c(), this.wnl_1);
|
|
2706
|
+
this.ynl_1 = _destruct__k2r9zo_0.xg();
|
|
2707
2707
|
var newChannel = _destruct__k2r9zo_0.yg();
|
|
2708
2708
|
this.i9_1 = 2;
|
|
2709
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2709
|
+
suspendResult = invoke$logResponseBody(this.vnl_1, this.wnl_1, newChannel, this.xnl_1, this);
|
|
2710
2710
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2711
2711
|
return suspendResult;
|
|
2712
2712
|
}
|
|
2713
2713
|
|
|
2714
2714
|
continue $sm;
|
|
2715
2715
|
case 2:
|
|
2716
|
-
var tmp_0 = this.
|
|
2717
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2716
|
+
var tmp_0 = this.wnl_1.w4b();
|
|
2717
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.ynl_1));
|
|
2718
2718
|
return call.f49();
|
|
2719
2719
|
case 3:
|
|
2720
|
-
return this.
|
|
2720
|
+
return this.wnl_1;
|
|
2721
2721
|
case 4:
|
|
2722
2722
|
throw this.l9_1;
|
|
2723
2723
|
}
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2812
2812
|
while (_iterator__ex2g4s_0.u()) {
|
|
2813
2813
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2814
|
-
if (element_0.
|
|
2814
|
+
if (element_0.vnf_1(key)) {
|
|
2815
2815
|
tmp$ret$5 = element_0;
|
|
2816
2816
|
break $l$block;
|
|
2817
2817
|
}
|
|
@@ -2819,7 +2819,7 @@
|
|
|
2819
2819
|
tmp$ret$5 = null;
|
|
2820
2820
|
}
|
|
2821
2821
|
var tmp0_safe_receiver = tmp$ret$5;
|
|
2822
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2822
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.unf_1;
|
|
2823
2823
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2824
2824
|
}
|
|
2825
2825
|
}
|
|
@@ -2831,7 +2831,7 @@
|
|
|
2831
2831
|
}
|
|
2832
2832
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2833
2833
|
// Inline function 'kotlin.with' call
|
|
2834
|
-
if (level.
|
|
2834
|
+
if (level.bnf_1) {
|
|
2835
2835
|
// Inline function 'kotlin.text.appendLine' call
|
|
2836
2836
|
var value = 'RESPONSE: ' + response.v3p().toString();
|
|
2837
2837
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2845,7 +2845,7 @@
|
|
|
2845
2845
|
// Inline function 'kotlin.text.appendLine' call
|
|
2846
2846
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2847
2847
|
}
|
|
2848
|
-
if (level.
|
|
2848
|
+
if (level.cnf_1) {
|
|
2849
2849
|
// Inline function 'kotlin.text.appendLine' call
|
|
2850
2850
|
var value_2 = 'COMMON HEADERS';
|
|
2851
2851
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2866,16 +2866,16 @@
|
|
|
2866
2866
|
return tmp.q9();
|
|
2867
2867
|
}
|
|
2868
2868
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2869
|
-
this.
|
|
2869
|
+
this.mnq_1 = function_0;
|
|
2870
2870
|
}
|
|
2871
2871
|
protoOf(sam$kotlin_Comparator$0).le = function (a, b) {
|
|
2872
|
-
return this.
|
|
2872
|
+
return this.mnq_1(a, b);
|
|
2873
2873
|
};
|
|
2874
2874
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2875
2875
|
return this.le(a, b);
|
|
2876
2876
|
};
|
|
2877
2877
|
protoOf(sam$kotlin_Comparator$0).q3 = function () {
|
|
2878
|
-
return this.
|
|
2878
|
+
return this.mnq_1;
|
|
2879
2879
|
};
|
|
2880
2880
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2881
2881
|
var tmp;
|
|
@@ -2903,8 +2903,8 @@
|
|
|
2903
2903
|
}
|
|
2904
2904
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2905
2905
|
CoroutineImpl.call(this, resultContinuation);
|
|
2906
|
-
this.
|
|
2907
|
-
this.
|
|
2906
|
+
this.vnp_1 = _this__u8e3s4;
|
|
2907
|
+
this.wnp_1 = response;
|
|
2908
2908
|
}
|
|
2909
2909
|
protoOf($logResponseBodyCOROUTINE$_0).q9 = function () {
|
|
2910
2910
|
var suspendResult = this.k9_1;
|
|
@@ -2914,14 +2914,14 @@
|
|
|
2914
2914
|
switch (tmp) {
|
|
2915
2915
|
case 0:
|
|
2916
2916
|
this.j9_1 = 8;
|
|
2917
|
-
this.
|
|
2917
|
+
this.xnp_1 = StringBuilder_init_$Create$();
|
|
2918
2918
|
this.i9_1 = 1;
|
|
2919
2919
|
continue $sm;
|
|
2920
2920
|
case 1:
|
|
2921
2921
|
this.j9_1 = 4;
|
|
2922
2922
|
this.j9_1 = 3;
|
|
2923
2923
|
this.i9_1 = 2;
|
|
2924
|
-
suspendResult = appendResponseBody(this.
|
|
2924
|
+
suspendResult = appendResponseBody(this.xnp_1, contentType(this.wnp_1), this.wnp_1.f4c(), this);
|
|
2925
2925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2926
2926
|
return suspendResult;
|
|
2927
2927
|
}
|
|
@@ -2945,22 +2945,22 @@
|
|
|
2945
2945
|
|
|
2946
2946
|
case 4:
|
|
2947
2947
|
this.j9_1 = 8;
|
|
2948
|
-
this.
|
|
2948
|
+
this.ynp_1 = this.l9_1;
|
|
2949
2949
|
this.i9_1 = 5;
|
|
2950
|
-
var this_0 = this.
|
|
2951
|
-
suspendResult = this.
|
|
2950
|
+
var this_0 = this.xnp_1.toString();
|
|
2951
|
+
suspendResult = this.vnp_1.und(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2952
2952
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2953
2953
|
return suspendResult;
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
2956
2956
|
continue $sm;
|
|
2957
2957
|
case 5:
|
|
2958
|
-
throw this.
|
|
2958
|
+
throw this.ynp_1;
|
|
2959
2959
|
case 6:
|
|
2960
2960
|
this.j9_1 = 8;
|
|
2961
2961
|
this.i9_1 = 7;
|
|
2962
|
-
var this_1 = this.
|
|
2963
|
-
suspendResult = this.
|
|
2962
|
+
var this_1 = this.xnp_1.toString();
|
|
2963
|
+
suspendResult = this.vnp_1.und(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2964
2964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2965
2965
|
return suspendResult;
|
|
2966
2966
|
}
|
|
@@ -2984,9 +2984,9 @@
|
|
|
2984
2984
|
};
|
|
2985
2985
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2986
2986
|
CoroutineImpl.call(this, resultContinuation);
|
|
2987
|
-
this.
|
|
2988
|
-
this.
|
|
2989
|
-
this.
|
|
2987
|
+
this.hnq_1 = _this__u8e3s4;
|
|
2988
|
+
this.inq_1 = contentType;
|
|
2989
|
+
this.jnq_1 = content;
|
|
2990
2990
|
}
|
|
2991
2991
|
protoOf($appendResponseBodyCOROUTINE$).q9 = function () {
|
|
2992
2992
|
var suspendResult = this.k9_1;
|
|
@@ -2996,16 +2996,16 @@
|
|
|
2996
2996
|
switch (tmp) {
|
|
2997
2997
|
case 0:
|
|
2998
2998
|
this.j9_1 = 3;
|
|
2999
|
-
var tmp0 = this.
|
|
3000
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2999
|
+
var tmp0 = this.hnq_1;
|
|
3000
|
+
var value = 'BODY Content-Type: ' + toString_0(this.inq_1);
|
|
3001
3001
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
3002
|
-
var tmp0_0 = this.
|
|
3002
|
+
var tmp0_0 = this.hnq_1;
|
|
3003
3003
|
var value_0 = 'BODY START';
|
|
3004
3004
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
3005
|
-
var tmp0_1 = this.
|
|
3006
|
-
var tmp0_safe_receiver = this.
|
|
3005
|
+
var tmp0_1 = this.jnq_1;
|
|
3006
|
+
var tmp0_safe_receiver = this.inq_1;
|
|
3007
3007
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
3008
|
-
this.
|
|
3008
|
+
this.lnq_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d31_1 : tmp1_elvis_lhs;
|
|
3009
3009
|
this.j9_1 = 2;
|
|
3010
3010
|
this.i9_1 = 1;
|
|
3011
3011
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
continue $sm;
|
|
3017
3017
|
case 1:
|
|
3018
3018
|
var ARGUMENT = suspendResult;
|
|
3019
|
-
this.
|
|
3019
|
+
this.knq_1 = readText(ARGUMENT, this.lnq_1);
|
|
3020
3020
|
this.j9_1 = 3;
|
|
3021
3021
|
this.i9_1 = 4;
|
|
3022
3022
|
continue $sm;
|
|
@@ -3026,7 +3026,7 @@
|
|
|
3026
3026
|
if (tmp_0 instanceof Error) {
|
|
3027
3027
|
var cause = this.l9_1;
|
|
3028
3028
|
var tmp_1 = this;
|
|
3029
|
-
tmp_1.
|
|
3029
|
+
tmp_1.knq_1 = null;
|
|
3030
3030
|
this.i9_1 = 4;
|
|
3031
3031
|
continue $sm;
|
|
3032
3032
|
} else {
|
|
@@ -3037,10 +3037,10 @@
|
|
|
3037
3037
|
throw this.l9_1;
|
|
3038
3038
|
case 4:
|
|
3039
3039
|
this.j9_1 = 3;
|
|
3040
|
-
var tmp2_elvis_lhs = this.
|
|
3040
|
+
var tmp2_elvis_lhs = this.knq_1;
|
|
3041
3041
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
3042
|
-
this.
|
|
3043
|
-
this.
|
|
3042
|
+
this.hnq_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
3043
|
+
this.hnq_1.q('BODY END');
|
|
3044
3044
|
return Unit_instance;
|
|
3045
3045
|
}
|
|
3046
3046
|
} catch ($p) {
|
|
@@ -3066,7 +3066,7 @@
|
|
|
3066
3066
|
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).v2y_1;
|
|
3067
3067
|
}
|
|
3068
3068
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3069
|
-
this.
|
|
3069
|
+
this.nnr_1 = $this_toReadChannel;
|
|
3070
3070
|
CoroutineImpl.call(this, resultContinuation);
|
|
3071
3071
|
}
|
|
3072
3072
|
protoOf(toReadChannel$slambda).r3v = function ($this$writer, $completion) {
|
|
@@ -3087,7 +3087,7 @@
|
|
|
3087
3087
|
case 0:
|
|
3088
3088
|
this.j9_1 = 2;
|
|
3089
3089
|
this.i9_1 = 1;
|
|
3090
|
-
suspendResult = this.
|
|
3090
|
+
suspendResult = this.nnr_1.c3q(this.onr_1.x2y_1, this);
|
|
3091
3091
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3092
3092
|
return suspendResult;
|
|
3093
3093
|
}
|
|
@@ -3110,8 +3110,8 @@
|
|
|
3110
3110
|
while (true);
|
|
3111
3111
|
};
|
|
3112
3112
|
protoOf(toReadChannel$slambda).s3v = function ($this$writer, completion) {
|
|
3113
|
-
var i = new toReadChannel$slambda(this.
|
|
3114
|
-
i.
|
|
3113
|
+
var i = new toReadChannel$slambda(this.nnr_1, completion);
|
|
3114
|
+
i.onr_1 = $this$writer;
|
|
3115
3115
|
return i;
|
|
3116
3116
|
};
|
|
3117
3117
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
@@ -3124,8 +3124,8 @@
|
|
|
3124
3124
|
}
|
|
3125
3125
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3126
3126
|
CoroutineImpl.call(this, resultContinuation);
|
|
3127
|
-
this.
|
|
3128
|
-
this.
|
|
3127
|
+
this.vnq_1 = _this__u8e3s4;
|
|
3128
|
+
this.wnq_1 = log;
|
|
3129
3129
|
}
|
|
3130
3130
|
protoOf($observeCOROUTINE$).q9 = function () {
|
|
3131
3131
|
var suspendResult = this.k9_1;
|
|
@@ -3135,10 +3135,10 @@
|
|
|
3135
3135
|
switch (tmp) {
|
|
3136
3136
|
case 0:
|
|
3137
3137
|
this.j9_1 = 6;
|
|
3138
|
-
var tmp0_subject = this.
|
|
3138
|
+
var tmp0_subject = this.vnq_1;
|
|
3139
3139
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3140
3140
|
this.i9_1 = 3;
|
|
3141
|
-
suspendResult = writeFully_0(this.
|
|
3141
|
+
suspendResult = writeFully_0(this.wnq_1, this.vnq_1.x3p(), VOID, VOID, this);
|
|
3142
3142
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3143
3143
|
return suspendResult;
|
|
3144
3144
|
}
|
|
@@ -3147,25 +3147,25 @@
|
|
|
3147
3147
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3148
3148
|
var tmp_0 = this;
|
|
3149
3149
|
var responseChannel = new ByteChannel();
|
|
3150
|
-
var content = this.
|
|
3151
|
-
copyToBoth(content, this.
|
|
3152
|
-
tmp_0.
|
|
3150
|
+
var content = this.vnq_1.a3q();
|
|
3151
|
+
copyToBoth(content, this.wnq_1, responseChannel);
|
|
3152
|
+
tmp_0.xnq_1 = new LoggedContent(this.vnq_1, responseChannel);
|
|
3153
3153
|
this.i9_1 = 5;
|
|
3154
3154
|
continue $sm;
|
|
3155
3155
|
} else {
|
|
3156
3156
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3157
3157
|
var tmp_1 = this;
|
|
3158
3158
|
var responseChannel_0 = new ByteChannel();
|
|
3159
|
-
var content_0 = toReadChannel(this.
|
|
3160
|
-
copyToBoth(content_0, this.
|
|
3161
|
-
tmp_1.
|
|
3159
|
+
var content_0 = toReadChannel(this.vnq_1);
|
|
3160
|
+
copyToBoth(content_0, this.wnq_1, responseChannel_0);
|
|
3161
|
+
tmp_1.xnq_1 = new LoggedContent(this.vnq_1, responseChannel_0);
|
|
3162
3162
|
this.i9_1 = 5;
|
|
3163
3163
|
continue $sm;
|
|
3164
3164
|
} else {
|
|
3165
3165
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3166
|
-
this.
|
|
3166
|
+
this.ynq_1 = this.vnq_1;
|
|
3167
3167
|
this.i9_1 = 2;
|
|
3168
|
-
suspendResult = observe(this.
|
|
3168
|
+
suspendResult = observe(this.vnq_1.g3q(), this.wnq_1, this);
|
|
3169
3169
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3170
3170
|
return suspendResult;
|
|
3171
3171
|
}
|
|
@@ -3179,7 +3179,7 @@
|
|
|
3179
3179
|
}
|
|
3180
3180
|
if (tmp_2) {
|
|
3181
3181
|
this.i9_1 = 1;
|
|
3182
|
-
suspendResult = this.
|
|
3182
|
+
suspendResult = this.wnq_1.x2q(this);
|
|
3183
3183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3184
3184
|
return suspendResult;
|
|
3185
3185
|
}
|
|
@@ -3195,28 +3195,28 @@
|
|
|
3195
3195
|
|
|
3196
3196
|
break;
|
|
3197
3197
|
case 1:
|
|
3198
|
-
this.
|
|
3198
|
+
this.xnq_1 = this.vnq_1;
|
|
3199
3199
|
this.i9_1 = 5;
|
|
3200
3200
|
continue $sm;
|
|
3201
3201
|
case 2:
|
|
3202
3202
|
var ARGUMENT = suspendResult;
|
|
3203
|
-
this.
|
|
3203
|
+
this.xnq_1 = this.ynq_1.h3q(ARGUMENT);
|
|
3204
3204
|
this.i9_1 = 5;
|
|
3205
3205
|
continue $sm;
|
|
3206
3206
|
case 3:
|
|
3207
3207
|
this.i9_1 = 4;
|
|
3208
|
-
suspendResult = this.
|
|
3208
|
+
suspendResult = this.wnq_1.x2q(this);
|
|
3209
3209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3210
3210
|
return suspendResult;
|
|
3211
3211
|
}
|
|
3212
3212
|
|
|
3213
3213
|
continue $sm;
|
|
3214
3214
|
case 4:
|
|
3215
|
-
this.
|
|
3215
|
+
this.xnq_1 = this.vnq_1;
|
|
3216
3216
|
this.i9_1 = 5;
|
|
3217
3217
|
continue $sm;
|
|
3218
3218
|
case 5:
|
|
3219
|
-
return this.
|
|
3219
|
+
return this.xnq_1;
|
|
3220
3220
|
case 6:
|
|
3221
3221
|
throw this.l9_1;
|
|
3222
3222
|
}
|
|
@@ -3256,9 +3256,9 @@
|
|
|
3256
3256
|
return get_SIMPLE(_this__u8e3s4);
|
|
3257
3257
|
}
|
|
3258
3258
|
//region block: post-declaration
|
|
3259
|
-
protoOf(Empty).
|
|
3260
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3261
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3259
|
+
protoOf(Empty).ane = get_byteSize;
|
|
3260
|
+
protoOf(BinaryLogBodyFilter$1).xnd = filterRequest;
|
|
3261
|
+
protoOf(BinaryLogBodyFilter$1).znd = filterResponse;
|
|
3262
3262
|
protoOf(MDCContextElement).v9 = get;
|
|
3263
3263
|
protoOf(MDCContextElement).pj = fold;
|
|
3264
3264
|
protoOf(MDCContextElement).oj = minusKey;
|