@doordeck/doordeck-headless-sdk 0.194.0 → 0.196.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +64 -64
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.d.ts +22 -22
- package/kotlin/doordeck-sdk.js +10865 -10849
- package/kotlin/kotlin-kotlin-stdlib.js +1533 -1953
- package/kotlin/kotlinx-atomicfu.js +21 -21
- package/kotlin/kotlinx-coroutines-core.js +2482 -2464
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +56 -56
- package/kotlin/kotlinx-io-kotlinx-io-core.js +648 -644
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2025 -2035
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1597 -1596
- package/kotlin/ktor-ktor-client-auth.js +298 -297
- package/kotlin/ktor-ktor-client-content-negotiation.js +166 -166
- package/kotlin/ktor-ktor-client-core.js +2357 -2317
- package/kotlin/ktor-ktor-client-logging.js +712 -720
- package/kotlin/ktor-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-http-cio.js +424 -424
- package/kotlin/ktor-ktor-http.js +895 -894
- package/kotlin/ktor-ktor-io.js +701 -701
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +169 -168
- package/kotlin/ktor-ktor-serialization.js +75 -76
- package/kotlin/ktor-ktor-utils.js +1596 -1076
- package/kotlin/ktor-ktor-websockets.js +465 -467
- package/package.json +2 -2
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_client_core) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
5
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
6
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
8
|
-
var trim = kotlin_kotlin.$_$.
|
|
9
|
-
var toString = kotlin_kotlin.$_$.
|
|
10
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
11
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
14
|
-
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.
|
|
4
|
+
var CoroutineImpl = kotlin_kotlin.$_$.o9;
|
|
5
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y8;
|
|
6
|
+
var THROW_CCE = kotlin_kotlin.$_$.cg;
|
|
7
|
+
var isCharSequence = kotlin_kotlin.$_$.qb;
|
|
8
|
+
var trim = kotlin_kotlin.$_$.gf;
|
|
9
|
+
var toString = kotlin_kotlin.$_$.fc;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z;
|
|
11
|
+
var protoOf = kotlin_kotlin.$_$.cc;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.hb;
|
|
13
|
+
var charSequenceLength = kotlin_kotlin.$_$.ta;
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d2;
|
|
15
15
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
|
|
16
16
|
var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
|
|
17
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
18
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
17
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f3;
|
|
18
|
+
var initMetadataForClass = kotlin_kotlin.$_$.fb;
|
|
19
19
|
var VOID = kotlin_kotlin.$_$.b;
|
|
20
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
21
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.jb;
|
|
21
|
+
var initMetadataForObject = kotlin_kotlin.$_$.lb;
|
|
22
22
|
var readText = kotlin_io_ktor_ktor_io.$_$.b1;
|
|
23
|
-
var readBuffer = kotlin_io_ktor_ktor_io.$_$.
|
|
23
|
+
var readBuffer = kotlin_io_ktor_ktor_io.$_$.g;
|
|
24
24
|
var isTextType = kotlin_io_ktor_ktor_http.$_$.s1;
|
|
25
|
-
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.
|
|
25
|
+
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.a;
|
|
26
26
|
var charset = kotlin_io_ktor_ktor_http.$_$.l1;
|
|
27
|
-
var readAvailable = kotlin_io_ktor_ktor_io.$_$.
|
|
27
|
+
var readAvailable = kotlin_io_ktor_ktor_io.$_$.f;
|
|
28
28
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
29
29
|
var writeFully = kotlin_io_ktor_ktor_io.$_$.g1;
|
|
30
30
|
var decode = kotlin_io_ktor_ktor_io.$_$.s;
|
|
31
31
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.r;
|
|
32
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
33
|
-
var Enum = kotlin_kotlin.$_$.
|
|
32
|
+
var charCodeAt = kotlin_kotlin.$_$.ra;
|
|
33
|
+
var Enum = kotlin_kotlin.$_$.tf;
|
|
34
34
|
var ReadChannelContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
35
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
36
|
-
var println = kotlin_kotlin.$_$.
|
|
37
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
35
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.gb;
|
|
36
|
+
var println = kotlin_kotlin.$_$.s9;
|
|
37
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
38
38
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
39
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
40
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
39
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r2;
|
|
40
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.tc;
|
|
41
41
|
var ProtocolUpgrade = kotlin_io_ktor_ktor_http.$_$.s;
|
|
42
42
|
var NoContent = kotlin_io_ktor_ktor_http.$_$.r;
|
|
43
43
|
var ContentWrapper = kotlin_io_ktor_ktor_http.$_$.q;
|
|
44
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
44
|
+
var fromInt = kotlin_kotlin.$_$.z9;
|
|
45
45
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
46
46
|
var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.m;
|
|
47
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
48
|
-
var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.
|
|
49
|
-
var isSuspendFunction = kotlin_kotlin.$_$.
|
|
47
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.kb;
|
|
48
|
+
var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.c;
|
|
49
|
+
var isSuspendFunction = kotlin_kotlin.$_$.wb;
|
|
50
50
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.k1;
|
|
51
51
|
var PipelinePhase = kotlin_io_ktor_ktor_utils.$_$.n;
|
|
52
|
-
var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.
|
|
52
|
+
var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.d;
|
|
53
53
|
var HttpResponseContainer = kotlin_io_ktor_ktor_client_core.$_$.j1;
|
|
54
|
-
var Phases_getInstance_1 = kotlin_io_ktor_ktor_client_core.$_$.
|
|
54
|
+
var Phases_getInstance_1 = kotlin_io_ktor_ktor_client_core.$_$.e;
|
|
55
55
|
var get_ResponseObserver = kotlin_io_ktor_ktor_client_core.$_$.p;
|
|
56
56
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
|
|
57
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
57
|
+
var isInterface = kotlin_kotlin.$_$.ub;
|
|
58
58
|
var GZipEncoder_getInstance = kotlin_io_ktor_ktor_utils.$_$.a;
|
|
59
|
-
var readRemaining = kotlin_io_ktor_ktor_io.$_$.
|
|
60
|
-
var Collection = kotlin_kotlin.$_$.
|
|
61
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
59
|
+
var readRemaining = kotlin_io_ktor_ktor_io.$_$.j;
|
|
60
|
+
var Collection = kotlin_kotlin.$_$.g5;
|
|
61
|
+
var toString_0 = kotlin_kotlin.$_$.fh;
|
|
62
62
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
63
|
-
var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
64
|
-
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
63
|
+
var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
64
|
+
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
65
65
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a2;
|
|
66
66
|
var Url = kotlin_io_ktor_ktor_http.$_$.g1;
|
|
67
67
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.d1;
|
|
68
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
69
|
-
var equals = kotlin_kotlin.$_$.
|
|
68
|
+
var joinToString = kotlin_kotlin.$_$.k7;
|
|
69
|
+
var equals = kotlin_kotlin.$_$.xa;
|
|
70
70
|
var get_isSaved = kotlin_io_ktor_ktor_client_core.$_$.a1;
|
|
71
71
|
var HttpClientCall = kotlin_io_ktor_ktor_client_core.$_$.h;
|
|
72
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
73
|
-
var split = kotlin_io_ktor_ktor_utils.$_$.
|
|
72
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bh;
|
|
73
|
+
var split = kotlin_io_ktor_ktor_utils.$_$.j1;
|
|
74
74
|
var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
75
75
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
76
76
|
var FormItem = kotlin_io_ktor_ktor_http.$_$.w;
|
|
@@ -83,35 +83,35 @@
|
|
|
83
83
|
var EmptyContent = kotlin_io_ktor_ktor_client_core.$_$.n1;
|
|
84
84
|
var appendIfNameAbsent = kotlin_io_ktor_ktor_utils.$_$.d1;
|
|
85
85
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.c1;
|
|
86
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
86
|
+
var toLongOrNull = kotlin_kotlin.$_$.we;
|
|
87
87
|
var contentLength = kotlin_io_ktor_ktor_http.$_$.m1;
|
|
88
88
|
var contentType = kotlin_io_ktor_ktor_http.$_$.o1;
|
|
89
|
-
var subtract = kotlin_kotlin.$_$.
|
|
89
|
+
var subtract = kotlin_kotlin.$_$.ia;
|
|
90
90
|
var get_request = kotlin_io_ktor_ktor_client_core.$_$.m1;
|
|
91
91
|
var Text_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
92
92
|
var replaceResponse = kotlin_io_ktor_ktor_client_core.$_$.i;
|
|
93
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
94
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
95
|
-
var createKType = kotlin_kotlin.$_$.
|
|
93
|
+
var getKClass = kotlin_kotlin.$_$.uc;
|
|
94
|
+
var arrayOf = kotlin_kotlin.$_$.qg;
|
|
95
|
+
var createKType = kotlin_kotlin.$_$.sc;
|
|
96
96
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.p;
|
|
97
97
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.r;
|
|
98
|
-
var Unit = kotlin_kotlin.$_$.
|
|
98
|
+
var Unit = kotlin_kotlin.$_$.ng;
|
|
99
99
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
100
|
-
var toList = kotlin_kotlin.$_$.
|
|
101
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
102
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
103
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
104
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
105
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
100
|
+
var toList = kotlin_kotlin.$_$.l8;
|
|
101
|
+
var sortedWith = kotlin_kotlin.$_$.g8;
|
|
102
|
+
var FunctionAdapter = kotlin_kotlin.$_$.ka;
|
|
103
|
+
var Comparator = kotlin_kotlin.$_$.qf;
|
|
104
|
+
var hashCode = kotlin_kotlin.$_$.eb;
|
|
105
|
+
var compareValues = kotlin_kotlin.$_$.w8;
|
|
106
106
|
var writer = kotlin_io_ktor_ktor_io.$_$.w1;
|
|
107
107
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.p1;
|
|
108
108
|
var copyToBoth = kotlin_io_ktor_ktor_utils.$_$.e1;
|
|
109
|
-
var writeFully_0 = kotlin_io_ktor_ktor_io.$_$.
|
|
110
|
-
var get = kotlin_kotlin.$_$.
|
|
111
|
-
var fold = kotlin_kotlin.$_$.
|
|
112
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
113
|
-
var plus = kotlin_kotlin.$_$.
|
|
114
|
-
var Element = kotlin_kotlin.$_$.
|
|
109
|
+
var writeFully_0 = kotlin_io_ktor_ktor_io.$_$.o;
|
|
110
|
+
var get = kotlin_kotlin.$_$.k9;
|
|
111
|
+
var fold = kotlin_kotlin.$_$.j9;
|
|
112
|
+
var minusKey = kotlin_kotlin.$_$.l9;
|
|
113
|
+
var plus = kotlin_kotlin.$_$.n9;
|
|
114
|
+
var Element = kotlin_kotlin.$_$.m9;
|
|
115
115
|
//endregion
|
|
116
116
|
//region block: pre-declaration
|
|
117
117
|
initMetadataForCoroutine($logResponseExceptionCOROUTINE$, CoroutineImpl);
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
120
120
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
121
121
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
122
|
-
return this.
|
|
122
|
+
return this.q58(contentLength, contentType, headers, body, $completion);
|
|
123
123
|
}
|
|
124
124
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
125
|
-
return this.
|
|
125
|
+
return this.q58(contentLength, contentType, headers, body, $completion);
|
|
126
126
|
}
|
|
127
127
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
128
128
|
function get_byteSize() {
|
|
@@ -175,8 +175,8 @@
|
|
|
175
175
|
//endregion
|
|
176
176
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
177
177
|
CoroutineImpl.call(this, resultContinuation);
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
178
|
+
this.g57_1 = _this__u8e3s4;
|
|
179
|
+
this.h57_1 = message;
|
|
180
180
|
}
|
|
181
181
|
protoOf($logResponseExceptionCOROUTINE$).i9 = function () {
|
|
182
182
|
var suspendResult = this.c9_1;
|
|
@@ -187,15 +187,15 @@
|
|
|
187
187
|
case 0:
|
|
188
188
|
this.b9_1 = 2;
|
|
189
189
|
this.a9_1 = 1;
|
|
190
|
-
suspendResult = this.
|
|
190
|
+
suspendResult = this.g57_1.l57_1.ut(this);
|
|
191
191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
192
192
|
return suspendResult;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
continue $sm;
|
|
196
196
|
case 1:
|
|
197
|
-
var this_0 = this.
|
|
198
|
-
this.
|
|
197
|
+
var this_0 = this.h57_1;
|
|
198
|
+
this.g57_1.i57_1.p57(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
199
199
|
return Unit_instance;
|
|
200
200
|
case 2:
|
|
201
201
|
throw this.d9_1;
|
|
@@ -213,8 +213,8 @@
|
|
|
213
213
|
};
|
|
214
214
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
215
215
|
CoroutineImpl.call(this, resultContinuation);
|
|
216
|
-
this.
|
|
217
|
-
this.
|
|
216
|
+
this.y57_1 = _this__u8e3s4;
|
|
217
|
+
this.z57_1 = message;
|
|
218
218
|
}
|
|
219
219
|
protoOf($logResponseBodyCOROUTINE$).i9 = function () {
|
|
220
220
|
var suspendResult = this.c9_1;
|
|
@@ -225,14 +225,14 @@
|
|
|
225
225
|
case 0:
|
|
226
226
|
this.b9_1 = 2;
|
|
227
227
|
this.a9_1 = 1;
|
|
228
|
-
suspendResult = this.
|
|
228
|
+
suspendResult = this.y57_1.m57_1.ut(this);
|
|
229
229
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
230
230
|
return suspendResult;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
continue $sm;
|
|
234
234
|
case 1:
|
|
235
|
-
this.
|
|
235
|
+
this.y57_1.k57_1.q(this.z57_1);
|
|
236
236
|
return Unit_instance;
|
|
237
237
|
case 2:
|
|
238
238
|
throw this.d9_1;
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
};
|
|
251
251
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
252
252
|
CoroutineImpl.call(this, resultContinuation);
|
|
253
|
-
this.
|
|
253
|
+
this.i58_1 = _this__u8e3s4;
|
|
254
254
|
}
|
|
255
255
|
protoOf($closeResponseLogCOROUTINE$).i9 = function () {
|
|
256
256
|
var suspendResult = this.c9_1;
|
|
@@ -260,19 +260,19 @@
|
|
|
260
260
|
switch (tmp) {
|
|
261
261
|
case 0:
|
|
262
262
|
this.b9_1 = 2;
|
|
263
|
-
if (!this.
|
|
263
|
+
if (!this.i58_1.o57_1.atomicfu$compareAndSet(false, true))
|
|
264
264
|
return Unit_instance;
|
|
265
265
|
this.a9_1 = 1;
|
|
266
|
-
suspendResult = this.
|
|
266
|
+
suspendResult = this.i58_1.l57_1.ut(this);
|
|
267
267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
268
268
|
return suspendResult;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
continue $sm;
|
|
272
272
|
case 1:
|
|
273
|
-
var message = toString(trim(this.
|
|
273
|
+
var message = toString(trim(this.i58_1.k57_1));
|
|
274
274
|
if (charSequenceLength(message) > 0) {
|
|
275
|
-
this.
|
|
275
|
+
this.i58_1.i57_1.p57(message);
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
return Unit_instance;
|
|
@@ -291,57 +291,57 @@
|
|
|
291
291
|
while (true);
|
|
292
292
|
};
|
|
293
293
|
function HttpClientCallLogger(logger) {
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
}
|
|
302
|
-
protoOf(HttpClientCallLogger).
|
|
303
|
-
var tmp0 = this.
|
|
294
|
+
this.i57_1 = logger;
|
|
295
|
+
this.j57_1 = StringBuilder_init_$Create$();
|
|
296
|
+
this.k57_1 = StringBuilder_init_$Create$();
|
|
297
|
+
this.l57_1 = Job();
|
|
298
|
+
this.m57_1 = Job();
|
|
299
|
+
this.n57_1 = atomic$boolean$1(false);
|
|
300
|
+
this.o57_1 = atomic$boolean$1(false);
|
|
301
|
+
}
|
|
302
|
+
protoOf(HttpClientCallLogger).j58 = function (message) {
|
|
303
|
+
var tmp0 = this.j57_1;
|
|
304
304
|
// Inline function 'kotlin.text.trim' call
|
|
305
305
|
// Inline function 'kotlin.text.appendLine' call
|
|
306
306
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
307
307
|
// Inline function 'kotlin.text.appendLine' call
|
|
308
308
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
309
309
|
};
|
|
310
|
-
protoOf(HttpClientCallLogger).
|
|
311
|
-
var tmp0 = this.
|
|
310
|
+
protoOf(HttpClientCallLogger).k58 = function (message) {
|
|
311
|
+
var tmp0 = this.k57_1;
|
|
312
312
|
// Inline function 'kotlin.text.trim' call
|
|
313
313
|
// Inline function 'kotlin.text.appendLine' call
|
|
314
314
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
315
315
|
// Inline function 'kotlin.text.appendLine' call
|
|
316
316
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
317
|
-
this.
|
|
317
|
+
this.m57_1.y10();
|
|
318
318
|
};
|
|
319
|
-
protoOf(HttpClientCallLogger).
|
|
319
|
+
protoOf(HttpClientCallLogger).l58 = function (message, $completion) {
|
|
320
320
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
321
321
|
tmp.c9_1 = Unit_instance;
|
|
322
322
|
tmp.d9_1 = null;
|
|
323
323
|
return tmp.i9();
|
|
324
324
|
};
|
|
325
|
-
protoOf(HttpClientCallLogger).
|
|
325
|
+
protoOf(HttpClientCallLogger).m58 = function (message, $completion) {
|
|
326
326
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
327
327
|
tmp.c9_1 = Unit_instance;
|
|
328
328
|
tmp.d9_1 = null;
|
|
329
329
|
return tmp.i9();
|
|
330
330
|
};
|
|
331
|
-
protoOf(HttpClientCallLogger).
|
|
332
|
-
if (!this.
|
|
331
|
+
protoOf(HttpClientCallLogger).n58 = function () {
|
|
332
|
+
if (!this.n57_1.atomicfu$compareAndSet(false, true))
|
|
333
333
|
return Unit_instance;
|
|
334
334
|
try {
|
|
335
|
-
var message = toString(trim(this.
|
|
335
|
+
var message = toString(trim(this.j57_1));
|
|
336
336
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
337
337
|
if (charSequenceLength(message) > 0) {
|
|
338
|
-
this.
|
|
338
|
+
this.i57_1.p57(message);
|
|
339
339
|
}
|
|
340
340
|
}finally {
|
|
341
|
-
this.
|
|
341
|
+
this.l57_1.y10();
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
|
-
protoOf(HttpClientCallLogger).
|
|
344
|
+
protoOf(HttpClientCallLogger).o58 = function ($completion) {
|
|
345
345
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
346
346
|
tmp.c9_1 = Unit_instance;
|
|
347
347
|
tmp.d9_1 = null;
|
|
@@ -363,35 +363,35 @@
|
|
|
363
363
|
function Skip(reason, byteSize) {
|
|
364
364
|
reason = reason === VOID ? null : reason;
|
|
365
365
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
366
|
+
this.t58_1 = reason;
|
|
367
|
+
this.u58_1 = byteSize;
|
|
368
368
|
}
|
|
369
|
-
protoOf(Skip).
|
|
370
|
-
return this.
|
|
369
|
+
protoOf(Skip).s58 = function () {
|
|
370
|
+
return this.u58_1;
|
|
371
371
|
};
|
|
372
372
|
function Content() {
|
|
373
373
|
}
|
|
374
374
|
function BufferContent(buffer, charset, byteSize) {
|
|
375
375
|
byteSize = byteSize === VOID ? buffer.l1() : byteSize;
|
|
376
|
-
this.
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
376
|
+
this.w58_1 = buffer;
|
|
377
|
+
this.x58_1 = charset;
|
|
378
|
+
this.y58_1 = byteSize;
|
|
379
379
|
}
|
|
380
|
-
protoOf(BufferContent).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(BufferContent).s58 = function () {
|
|
381
|
+
return this.y58_1;
|
|
382
382
|
};
|
|
383
|
-
protoOf(BufferContent).
|
|
384
|
-
return readText(this.
|
|
383
|
+
protoOf(BufferContent).v58 = function () {
|
|
384
|
+
return readText(this.w58_1, this.x58_1);
|
|
385
385
|
};
|
|
386
386
|
function BodyFilterResult() {
|
|
387
387
|
}
|
|
388
388
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
389
389
|
CoroutineImpl.call(this, resultContinuation);
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
390
|
+
this.h59_1 = _this__u8e3s4;
|
|
391
|
+
this.i59_1 = contentLength;
|
|
392
|
+
this.j59_1 = contentType;
|
|
393
|
+
this.k59_1 = headers;
|
|
394
|
+
this.l59_1 = body;
|
|
395
395
|
}
|
|
396
396
|
protoOf($filterAllCOROUTINE$).i9 = function () {
|
|
397
397
|
var suspendResult = this.c9_1;
|
|
@@ -401,13 +401,13 @@
|
|
|
401
401
|
switch (tmp) {
|
|
402
402
|
case 0:
|
|
403
403
|
this.b9_1 = 6;
|
|
404
|
-
if (this.
|
|
405
|
-
return new Skip('encoded', this.
|
|
404
|
+
if (this.k59_1.x2m('Content-Encoding')) {
|
|
405
|
+
return new Skip('encoded', this.i59_1);
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
if (!(this.
|
|
408
|
+
if (!(this.j59_1 == null) && isTextType(this.j59_1)) {
|
|
409
409
|
this.a9_1 = 5;
|
|
410
|
-
suspendResult = readBuffer(this.
|
|
410
|
+
suspendResult = readBuffer(this.l59_1, this);
|
|
411
411
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
412
412
|
return suspendResult;
|
|
413
413
|
}
|
|
@@ -420,18 +420,18 @@
|
|
|
420
420
|
case 1:
|
|
421
421
|
var tmp_0 = this;
|
|
422
422
|
var tmp_1;
|
|
423
|
-
if (!(this.
|
|
424
|
-
var tmp1_elvis_lhs = charset(this.
|
|
425
|
-
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
423
|
+
if (!(this.j59_1 == null)) {
|
|
424
|
+
var tmp1_elvis_lhs = charset(this.j59_1);
|
|
425
|
+
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().t1x_1 : tmp1_elvis_lhs;
|
|
426
426
|
} else {
|
|
427
|
-
tmp_1 = Charsets_getInstance().
|
|
427
|
+
tmp_1 = Charsets_getInstance().t1x_1;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
tmp_0.
|
|
431
|
-
this.
|
|
432
|
-
this.
|
|
430
|
+
tmp_0.r59_1 = tmp_1;
|
|
431
|
+
this.q59_1 = false;
|
|
432
|
+
this.p59_1 = new Int8Array(1024);
|
|
433
433
|
this.a9_1 = 2;
|
|
434
|
-
suspendResult = readAvailable(this.
|
|
434
|
+
suspendResult = readAvailable(this.l59_1, this.p59_1, VOID, VOID, this);
|
|
435
435
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
436
436
|
return suspendResult;
|
|
437
437
|
}
|
|
@@ -444,16 +444,16 @@
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
var this_0 = new Buffer();
|
|
447
|
-
writeFully(this_0, this.
|
|
447
|
+
writeFully(this_0, this.p59_1, 0, firstReadSize);
|
|
448
448
|
var buffer = this_0;
|
|
449
449
|
var tmp_2;
|
|
450
450
|
try {
|
|
451
|
-
tmp_2 = decode(this.
|
|
451
|
+
tmp_2 = decode(this.r59_1.w1x(), buffer);
|
|
452
452
|
} catch ($p) {
|
|
453
453
|
var tmp_3;
|
|
454
454
|
if ($p instanceof MalformedInputException) {
|
|
455
455
|
var _unused_var__etf5q3 = $p;
|
|
456
|
-
this.
|
|
456
|
+
this.q59_1 = true;
|
|
457
457
|
tmp_3 = '';
|
|
458
458
|
} else {
|
|
459
459
|
throw $p;
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
var firstChunkText = tmp_2;
|
|
465
|
-
if (!this.
|
|
465
|
+
if (!this.q59_1) {
|
|
466
466
|
var lastCharIndex = -1;
|
|
467
467
|
var inductionVariable = 0;
|
|
468
468
|
var last = firstChunkText.length;
|
|
@@ -478,23 +478,23 @@
|
|
|
478
478
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
479
479
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
480
480
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
481
|
-
this.
|
|
481
|
+
this.q59_1 = true;
|
|
482
482
|
break $l$loop;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
if (this.
|
|
487
|
+
if (this.q59_1) {
|
|
488
488
|
var tmp_4 = this;
|
|
489
|
-
tmp_4.
|
|
489
|
+
tmp_4.m59_1 = new Skip('binary', this.i59_1);
|
|
490
490
|
this.a9_1 = 4;
|
|
491
491
|
continue $sm;
|
|
492
492
|
} else {
|
|
493
|
-
this.
|
|
494
|
-
this.
|
|
495
|
-
writeFully(this.
|
|
493
|
+
this.n59_1 = new Buffer();
|
|
494
|
+
this.o59_1 = this.n59_1;
|
|
495
|
+
writeFully(this.o59_1, this.p59_1, 0, firstReadSize);
|
|
496
496
|
this.a9_1 = 3;
|
|
497
|
-
suspendResult = readBuffer(this.
|
|
497
|
+
suspendResult = readBuffer(this.l59_1, this);
|
|
498
498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
499
499
|
return suspendResult;
|
|
500
500
|
}
|
|
@@ -503,20 +503,20 @@
|
|
|
503
503
|
|
|
504
504
|
case 3:
|
|
505
505
|
var ARGUMENT = suspendResult;
|
|
506
|
-
this.
|
|
507
|
-
var ARGUMENT_0 = this.
|
|
506
|
+
this.o59_1.vq(ARGUMENT);
|
|
507
|
+
var ARGUMENT_0 = this.n59_1;
|
|
508
508
|
var tmp_5 = this;
|
|
509
|
-
var tmp2_safe_receiver = this.
|
|
509
|
+
var tmp2_safe_receiver = this.j59_1;
|
|
510
510
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
511
|
-
tmp_5.
|
|
511
|
+
tmp_5.m59_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().t1x_1 : tmp3_elvis_lhs);
|
|
512
512
|
this.a9_1 = 4;
|
|
513
513
|
continue $sm;
|
|
514
514
|
case 4:
|
|
515
|
-
return this.
|
|
515
|
+
return this.m59_1;
|
|
516
516
|
case 5:
|
|
517
517
|
var ARGUMENT_1 = suspendResult;
|
|
518
|
-
var tmp0_elvis_lhs = charset(this.
|
|
519
|
-
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
518
|
+
var tmp0_elvis_lhs = charset(this.j59_1);
|
|
519
|
+
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().t1x_1 : tmp0_elvis_lhs);
|
|
520
520
|
case 6:
|
|
521
521
|
throw this.d9_1;
|
|
522
522
|
}
|
|
@@ -533,7 +533,7 @@
|
|
|
533
533
|
};
|
|
534
534
|
function BinaryLogBodyFilter$1() {
|
|
535
535
|
}
|
|
536
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
536
|
+
protoOf(BinaryLogBodyFilter$1).q58 = function (contentLength, contentType, headers, body, $completion) {
|
|
537
537
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
538
538
|
tmp.c9_1 = Unit_instance;
|
|
539
539
|
tmp.d9_1 = null;
|
|
@@ -564,9 +564,9 @@
|
|
|
564
564
|
}
|
|
565
565
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
566
566
|
Enum.call(this, name, ordinal);
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
569
|
-
this.
|
|
567
|
+
this.u59_1 = info;
|
|
568
|
+
this.v59_1 = headers;
|
|
569
|
+
this.w59_1 = body;
|
|
570
570
|
}
|
|
571
571
|
function LogLevel_ALL_getInstance() {
|
|
572
572
|
LogLevel_initEntries();
|
|
@@ -590,27 +590,27 @@
|
|
|
590
590
|
}
|
|
591
591
|
function LoggedContent(originalContent, channel) {
|
|
592
592
|
ReadChannelContent.call(this);
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
593
|
+
this.y59_1 = originalContent;
|
|
594
|
+
this.z59_1 = channel;
|
|
595
|
+
this.a5a_1 = this.y59_1.v35();
|
|
596
|
+
this.b5a_1 = this.y59_1.x35();
|
|
597
|
+
this.c5a_1 = this.y59_1.w35();
|
|
598
|
+
this.d5a_1 = this.y59_1.x2z();
|
|
599
599
|
}
|
|
600
|
-
protoOf(LoggedContent).
|
|
601
|
-
return this.
|
|
600
|
+
protoOf(LoggedContent).v35 = function () {
|
|
601
|
+
return this.a5a_1;
|
|
602
602
|
};
|
|
603
|
-
protoOf(LoggedContent).
|
|
604
|
-
return this.
|
|
603
|
+
protoOf(LoggedContent).x35 = function () {
|
|
604
|
+
return this.b5a_1;
|
|
605
605
|
};
|
|
606
|
-
protoOf(LoggedContent).
|
|
607
|
-
return this.
|
|
606
|
+
protoOf(LoggedContent).w35 = function () {
|
|
607
|
+
return this.c5a_1;
|
|
608
608
|
};
|
|
609
|
-
protoOf(LoggedContent).
|
|
610
|
-
return this.
|
|
609
|
+
protoOf(LoggedContent).x2z = function () {
|
|
610
|
+
return this.d5a_1;
|
|
611
611
|
};
|
|
612
|
-
protoOf(LoggedContent).
|
|
613
|
-
return this.
|
|
612
|
+
protoOf(LoggedContent).b36 = function () {
|
|
613
|
+
return this.z59_1;
|
|
614
614
|
};
|
|
615
615
|
function Companion() {
|
|
616
616
|
}
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
}
|
|
624
624
|
function SimpleLogger() {
|
|
625
625
|
}
|
|
626
|
-
protoOf(SimpleLogger).
|
|
626
|
+
protoOf(SimpleLogger).p57 = function (message) {
|
|
627
627
|
println('HttpClient: ' + message);
|
|
628
628
|
};
|
|
629
629
|
var SimpleLogger_instance;
|
|
@@ -648,20 +648,20 @@
|
|
|
648
648
|
function LoggingConfig() {
|
|
649
649
|
var tmp = this;
|
|
650
650
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
651
|
-
tmp.
|
|
651
|
+
tmp.e5a_1 = ArrayList_init_$Create$();
|
|
652
652
|
var tmp_0 = this;
|
|
653
653
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
654
|
-
tmp_0.
|
|
655
|
-
this.
|
|
656
|
-
this.
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
654
|
+
tmp_0.f5a_1 = ArrayList_init_$Create$();
|
|
655
|
+
this.g5a_1 = null;
|
|
656
|
+
this.h5a_1 = LoggingFormat_Default_getInstance();
|
|
657
|
+
this.i5a_1 = LogLevel_HEADERS_getInstance();
|
|
658
|
+
this.j5a_1 = get_BinaryLogBodyFilter();
|
|
659
659
|
}
|
|
660
|
-
protoOf(LoggingConfig).
|
|
661
|
-
this.
|
|
660
|
+
protoOf(LoggingConfig).k5a = function (value) {
|
|
661
|
+
this.g5a_1 = value;
|
|
662
662
|
};
|
|
663
|
-
protoOf(LoggingConfig).
|
|
664
|
-
var tmp0_elvis_lhs = this.
|
|
663
|
+
protoOf(LoggingConfig).l5a = function () {
|
|
664
|
+
var tmp0_elvis_lhs = this.g5a_1;
|
|
665
665
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
666
666
|
};
|
|
667
667
|
var LoggingFormat_Default_instance;
|
|
@@ -677,26 +677,6 @@
|
|
|
677
677
|
function LoggingFormat(name, ordinal) {
|
|
678
678
|
Enum.call(this, name, ordinal);
|
|
679
679
|
}
|
|
680
|
-
function pathQuery(_this__u8e3s4) {
|
|
681
|
-
_init_properties_Logging_kt__66pui5();
|
|
682
|
-
// Inline function 'kotlin.text.buildString' call
|
|
683
|
-
// Inline function 'kotlin.apply' call
|
|
684
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
685
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
686
|
-
var this_1 = _this__u8e3s4.q34();
|
|
687
|
-
if (charSequenceLength(this_1) === 0) {
|
|
688
|
-
this_0.q('/');
|
|
689
|
-
} else {
|
|
690
|
-
this_0.q(_this__u8e3s4.q34());
|
|
691
|
-
}
|
|
692
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
693
|
-
var this_2 = _this__u8e3s4.t34();
|
|
694
|
-
if (!(charSequenceLength(this_2) === 0)) {
|
|
695
|
-
this_0.q('?');
|
|
696
|
-
this_0.q(_this__u8e3s4.t34());
|
|
697
|
-
}
|
|
698
|
-
return this_0.toString();
|
|
699
|
-
}
|
|
700
680
|
function computeRequestBodySize(content) {
|
|
701
681
|
_init_properties_Logging_kt__66pui5();
|
|
702
682
|
// Inline function 'kotlin.check' call
|
|
@@ -705,10 +685,10 @@
|
|
|
705
685
|
}
|
|
706
686
|
var tmp;
|
|
707
687
|
if (content instanceof ByteArrayContent) {
|
|
708
|
-
tmp = fromInt(content.
|
|
688
|
+
tmp = fromInt(content.y35().length);
|
|
709
689
|
} else {
|
|
710
690
|
if (content instanceof ContentWrapper) {
|
|
711
|
-
tmp = computeRequestBodySize(content.
|
|
691
|
+
tmp = computeRequestBodySize(content.h36());
|
|
712
692
|
} else {
|
|
713
693
|
if (content instanceof NoContent) {
|
|
714
694
|
tmp = 0n;
|
|
@@ -716,6 +696,7 @@
|
|
|
716
696
|
if (content instanceof ProtocolUpgrade) {
|
|
717
697
|
tmp = 0n;
|
|
718
698
|
} else {
|
|
699
|
+
// Inline function 'kotlin.error' call
|
|
719
700
|
var message = 'Unable to calculate the size for type ' + getKClassFromExpression(content).o();
|
|
720
701
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
721
702
|
}
|
|
@@ -725,27 +706,27 @@
|
|
|
725
706
|
return tmp;
|
|
726
707
|
}
|
|
727
708
|
function Context(context) {
|
|
728
|
-
this.
|
|
709
|
+
this.m5a_1 = context;
|
|
729
710
|
}
|
|
730
|
-
protoOf(Context).
|
|
731
|
-
return this.
|
|
711
|
+
protoOf(Context).n5a = function (content, $completion) {
|
|
712
|
+
return this.m5a_1.x2q(content, $completion);
|
|
732
713
|
};
|
|
733
|
-
protoOf(Context).
|
|
734
|
-
return this.
|
|
714
|
+
protoOf(Context).o5a = function ($completion) {
|
|
715
|
+
return this.m5a_1.y2q($completion);
|
|
735
716
|
};
|
|
736
717
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
737
|
-
this.
|
|
718
|
+
this.x5a_1 = $handler;
|
|
738
719
|
CoroutineImpl.call(this, resultContinuation);
|
|
739
720
|
}
|
|
740
|
-
protoOf(SendHook$install$slambda).
|
|
741
|
-
var tmp = this.
|
|
721
|
+
protoOf(SendHook$install$slambda).j3o = function ($this$intercept, it, $completion) {
|
|
722
|
+
var tmp = this.k3o($this$intercept, it, $completion);
|
|
742
723
|
tmp.c9_1 = Unit_instance;
|
|
743
724
|
tmp.d9_1 = null;
|
|
744
725
|
return tmp.i9();
|
|
745
726
|
};
|
|
746
727
|
protoOf(SendHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
747
728
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
748
|
-
return this.
|
|
729
|
+
return this.j3o(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
749
730
|
};
|
|
750
731
|
protoOf(SendHook$install$slambda).i9 = function () {
|
|
751
732
|
var suspendResult = this.c9_1;
|
|
@@ -756,7 +737,7 @@
|
|
|
756
737
|
case 0:
|
|
757
738
|
this.b9_1 = 2;
|
|
758
739
|
this.a9_1 = 1;
|
|
759
|
-
suspendResult = this.
|
|
740
|
+
suspendResult = this.x5a_1(new Context(this.y5a_1), this.y5a_1.t2r_1, this);
|
|
760
741
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
761
742
|
return suspendResult;
|
|
762
743
|
}
|
|
@@ -778,52 +759,52 @@
|
|
|
778
759
|
}
|
|
779
760
|
while (true);
|
|
780
761
|
};
|
|
781
|
-
protoOf(SendHook$install$slambda).
|
|
782
|
-
var i = new SendHook$install$slambda(this.
|
|
783
|
-
i.
|
|
784
|
-
i.
|
|
762
|
+
protoOf(SendHook$install$slambda).k3o = function ($this$intercept, it, completion) {
|
|
763
|
+
var i = new SendHook$install$slambda(this.x5a_1, completion);
|
|
764
|
+
i.y5a_1 = $this$intercept;
|
|
765
|
+
i.z5a_1 = it;
|
|
785
766
|
return i;
|
|
786
767
|
};
|
|
787
768
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
788
769
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
789
770
|
var l = function ($this$intercept, it, $completion) {
|
|
790
|
-
return i.
|
|
771
|
+
return i.j3o($this$intercept, it, $completion);
|
|
791
772
|
};
|
|
792
773
|
l.$arity = 2;
|
|
793
774
|
return l;
|
|
794
775
|
}
|
|
795
776
|
function SendHook() {
|
|
796
777
|
}
|
|
797
|
-
protoOf(SendHook).
|
|
798
|
-
var tmp = Phases_getInstance().
|
|
799
|
-
client.
|
|
778
|
+
protoOf(SendHook).a5b = function (client, handler) {
|
|
779
|
+
var tmp = Phases_getInstance().a3q_1;
|
|
780
|
+
client.s3n_1.x2r(tmp, SendHook$install$slambda_0(handler, null));
|
|
800
781
|
};
|
|
801
|
-
protoOf(SendHook).
|
|
802
|
-
return this.
|
|
782
|
+
protoOf(SendHook).a3x = function (client, handler) {
|
|
783
|
+
return this.a5b(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
803
784
|
};
|
|
804
785
|
var SendHook_instance;
|
|
805
786
|
function SendHook_getInstance() {
|
|
806
787
|
return SendHook_instance;
|
|
807
788
|
}
|
|
808
789
|
function Context_0(context) {
|
|
809
|
-
this.
|
|
790
|
+
this.b5b_1 = context;
|
|
810
791
|
}
|
|
811
|
-
protoOf(Context_0).
|
|
812
|
-
return this.
|
|
792
|
+
protoOf(Context_0).z4l = function (response, $completion) {
|
|
793
|
+
return this.b5b_1.x2q(response, $completion);
|
|
813
794
|
};
|
|
814
795
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
815
|
-
this.
|
|
796
|
+
this.k5b_1 = $handler;
|
|
816
797
|
CoroutineImpl.call(this, resultContinuation);
|
|
817
798
|
}
|
|
818
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
819
|
-
var tmp = this.
|
|
799
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).m3x = function ($this$intercept, it, $completion) {
|
|
800
|
+
var tmp = this.n3x($this$intercept, it, $completion);
|
|
820
801
|
tmp.c9_1 = Unit_instance;
|
|
821
802
|
tmp.d9_1 = null;
|
|
822
803
|
return tmp.i9();
|
|
823
804
|
};
|
|
824
805
|
protoOf(ResponseAfterEncodingHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
825
806
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
826
|
-
return this.
|
|
807
|
+
return this.m3x(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
827
808
|
};
|
|
828
809
|
protoOf(ResponseAfterEncodingHook$install$slambda).i9 = function () {
|
|
829
810
|
var suspendResult = this.c9_1;
|
|
@@ -834,7 +815,7 @@
|
|
|
834
815
|
case 0:
|
|
835
816
|
this.b9_1 = 2;
|
|
836
817
|
this.a9_1 = 1;
|
|
837
|
-
suspendResult = this.
|
|
818
|
+
suspendResult = this.k5b_1(new Context_0(this.l5b_1), this.l5b_1.w2q(), this);
|
|
838
819
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
839
820
|
return suspendResult;
|
|
840
821
|
}
|
|
@@ -856,53 +837,53 @@
|
|
|
856
837
|
}
|
|
857
838
|
while (true);
|
|
858
839
|
};
|
|
859
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
860
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
861
|
-
i.
|
|
862
|
-
i.
|
|
840
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).n3x = function ($this$intercept, it, completion) {
|
|
841
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.k5b_1, completion);
|
|
842
|
+
i.l5b_1 = $this$intercept;
|
|
843
|
+
i.m5b_1 = it;
|
|
863
844
|
return i;
|
|
864
845
|
};
|
|
865
846
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
866
847
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
867
848
|
var l = function ($this$intercept, it, $completion) {
|
|
868
|
-
return i.
|
|
849
|
+
return i.m3x($this$intercept, it, $completion);
|
|
869
850
|
};
|
|
870
851
|
l.$arity = 2;
|
|
871
852
|
return l;
|
|
872
853
|
}
|
|
873
854
|
function ResponseAfterEncodingHook() {
|
|
874
855
|
}
|
|
875
|
-
protoOf(ResponseAfterEncodingHook).
|
|
856
|
+
protoOf(ResponseAfterEncodingHook).n5b = function (client, handler) {
|
|
876
857
|
var afterState = new PipelinePhase('AfterState');
|
|
877
|
-
client.
|
|
878
|
-
client.
|
|
858
|
+
client.t3n_1.u2r(Phases_getInstance_0().q3x_1, afterState);
|
|
859
|
+
client.t3n_1.x2r(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
879
860
|
};
|
|
880
|
-
protoOf(ResponseAfterEncodingHook).
|
|
881
|
-
return this.
|
|
861
|
+
protoOf(ResponseAfterEncodingHook).a3x = function (client, handler) {
|
|
862
|
+
return this.n5b(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
882
863
|
};
|
|
883
864
|
var ResponseAfterEncodingHook_instance;
|
|
884
865
|
function ResponseAfterEncodingHook_getInstance() {
|
|
885
866
|
return ResponseAfterEncodingHook_instance;
|
|
886
867
|
}
|
|
887
868
|
function Context_1(context) {
|
|
888
|
-
this.
|
|
869
|
+
this.o5b_1 = context;
|
|
889
870
|
}
|
|
890
|
-
protoOf(Context_1).
|
|
891
|
-
return this.
|
|
871
|
+
protoOf(Context_1).p5b = function ($completion) {
|
|
872
|
+
return this.o5b_1.y2q($completion);
|
|
892
873
|
};
|
|
893
874
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
894
|
-
this.
|
|
875
|
+
this.y5b_1 = $handler;
|
|
895
876
|
CoroutineImpl.call(this, resultContinuation);
|
|
896
877
|
}
|
|
897
|
-
protoOf(ResponseHook$install$slambda).
|
|
898
|
-
var tmp = this.
|
|
878
|
+
protoOf(ResponseHook$install$slambda).m3x = function ($this$intercept, it, $completion) {
|
|
879
|
+
var tmp = this.n3x($this$intercept, it, $completion);
|
|
899
880
|
tmp.c9_1 = Unit_instance;
|
|
900
881
|
tmp.d9_1 = null;
|
|
901
882
|
return tmp.i9();
|
|
902
883
|
};
|
|
903
884
|
protoOf(ResponseHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
904
885
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
905
|
-
return this.
|
|
886
|
+
return this.m3x(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
906
887
|
};
|
|
907
888
|
protoOf(ResponseHook$install$slambda).i9 = function () {
|
|
908
889
|
var suspendResult = this.c9_1;
|
|
@@ -913,7 +894,7 @@
|
|
|
913
894
|
case 0:
|
|
914
895
|
this.b9_1 = 2;
|
|
915
896
|
this.a9_1 = 1;
|
|
916
|
-
suspendResult = this.
|
|
897
|
+
suspendResult = this.y5b_1(new Context_1(this.z5b_1), this.z5b_1.w2q(), this);
|
|
917
898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
918
899
|
return suspendResult;
|
|
919
900
|
}
|
|
@@ -935,52 +916,52 @@
|
|
|
935
916
|
}
|
|
936
917
|
while (true);
|
|
937
918
|
};
|
|
938
|
-
protoOf(ResponseHook$install$slambda).
|
|
939
|
-
var i = new ResponseHook$install$slambda(this.
|
|
940
|
-
i.
|
|
941
|
-
i.
|
|
919
|
+
protoOf(ResponseHook$install$slambda).n3x = function ($this$intercept, it, completion) {
|
|
920
|
+
var i = new ResponseHook$install$slambda(this.y5b_1, completion);
|
|
921
|
+
i.z5b_1 = $this$intercept;
|
|
922
|
+
i.a5c_1 = it;
|
|
942
923
|
return i;
|
|
943
924
|
};
|
|
944
925
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
945
926
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
946
927
|
var l = function ($this$intercept, it, $completion) {
|
|
947
|
-
return i.
|
|
928
|
+
return i.m3x($this$intercept, it, $completion);
|
|
948
929
|
};
|
|
949
930
|
l.$arity = 2;
|
|
950
931
|
return l;
|
|
951
932
|
}
|
|
952
933
|
function ResponseHook() {
|
|
953
934
|
}
|
|
954
|
-
protoOf(ResponseHook).
|
|
955
|
-
var tmp = Phases_getInstance_0().
|
|
956
|
-
client.
|
|
935
|
+
protoOf(ResponseHook).b5c = function (client, handler) {
|
|
936
|
+
var tmp = Phases_getInstance_0().q3x_1;
|
|
937
|
+
client.t3n_1.x2r(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
957
938
|
};
|
|
958
|
-
protoOf(ResponseHook).
|
|
959
|
-
return this.
|
|
939
|
+
protoOf(ResponseHook).a3x = function (client, handler) {
|
|
940
|
+
return this.b5c(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
960
941
|
};
|
|
961
942
|
var ResponseHook_instance;
|
|
962
943
|
function ResponseHook_getInstance() {
|
|
963
944
|
return ResponseHook_instance;
|
|
964
945
|
}
|
|
965
946
|
function Context_2(context) {
|
|
966
|
-
this.
|
|
947
|
+
this.c5c_1 = context;
|
|
967
948
|
}
|
|
968
|
-
protoOf(Context_2).
|
|
969
|
-
return this.
|
|
949
|
+
protoOf(Context_2).d5c = function ($completion) {
|
|
950
|
+
return this.c5c_1.y2q($completion);
|
|
970
951
|
};
|
|
971
952
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
972
|
-
this.
|
|
953
|
+
this.m5c_1 = $handler;
|
|
973
954
|
CoroutineImpl.call(this, resultContinuation);
|
|
974
955
|
}
|
|
975
|
-
protoOf(ReceiveHook$install$slambda).
|
|
976
|
-
var tmp = this.
|
|
956
|
+
protoOf(ReceiveHook$install$slambda).e3p = function ($this$intercept, it, $completion) {
|
|
957
|
+
var tmp = this.f3p($this$intercept, it, $completion);
|
|
977
958
|
tmp.c9_1 = Unit_instance;
|
|
978
959
|
tmp.d9_1 = null;
|
|
979
960
|
return tmp.i9();
|
|
980
961
|
};
|
|
981
962
|
protoOf(ReceiveHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
982
963
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
983
|
-
return this.
|
|
964
|
+
return this.e3p(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
984
965
|
};
|
|
985
966
|
protoOf(ReceiveHook$install$slambda).i9 = function () {
|
|
986
967
|
var suspendResult = this.c9_1;
|
|
@@ -991,7 +972,7 @@
|
|
|
991
972
|
case 0:
|
|
992
973
|
this.b9_1 = 2;
|
|
993
974
|
this.a9_1 = 1;
|
|
994
|
-
suspendResult = this.
|
|
975
|
+
suspendResult = this.m5c_1(new Context_2(this.n5c_1), this.n5c_1.t2r_1, this);
|
|
995
976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
977
|
return suspendResult;
|
|
997
978
|
}
|
|
@@ -1013,28 +994,28 @@
|
|
|
1013
994
|
}
|
|
1014
995
|
while (true);
|
|
1015
996
|
};
|
|
1016
|
-
protoOf(ReceiveHook$install$slambda).
|
|
1017
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1018
|
-
i.
|
|
1019
|
-
i.
|
|
997
|
+
protoOf(ReceiveHook$install$slambda).f3p = function ($this$intercept, it, completion) {
|
|
998
|
+
var i = new ReceiveHook$install$slambda(this.m5c_1, completion);
|
|
999
|
+
i.n5c_1 = $this$intercept;
|
|
1000
|
+
i.o5c_1 = it;
|
|
1020
1001
|
return i;
|
|
1021
1002
|
};
|
|
1022
1003
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
1023
1004
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
1024
1005
|
var l = function ($this$intercept, it, $completion) {
|
|
1025
|
-
return i.
|
|
1006
|
+
return i.e3p($this$intercept, it, $completion);
|
|
1026
1007
|
};
|
|
1027
1008
|
l.$arity = 2;
|
|
1028
1009
|
return l;
|
|
1029
1010
|
}
|
|
1030
1011
|
function ReceiveHook() {
|
|
1031
1012
|
}
|
|
1032
|
-
protoOf(ReceiveHook).
|
|
1033
|
-
var tmp = Phases_getInstance_1().
|
|
1034
|
-
client.
|
|
1013
|
+
protoOf(ReceiveHook).p5c = function (client, handler) {
|
|
1014
|
+
var tmp = Phases_getInstance_1().o3q_1;
|
|
1015
|
+
client.r3n_1.x2r(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1035
1016
|
};
|
|
1036
|
-
protoOf(ReceiveHook).
|
|
1037
|
-
return this.
|
|
1017
|
+
protoOf(ReceiveHook).a3x = function (client, handler) {
|
|
1018
|
+
return this.p5c(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1038
1019
|
};
|
|
1039
1020
|
var ReceiveHook_instance;
|
|
1040
1021
|
function ReceiveHook_getInstance() {
|
|
@@ -1049,27 +1030,27 @@
|
|
|
1049
1030
|
}
|
|
1050
1031
|
function Logging$lambda($this$createClientPlugin) {
|
|
1051
1032
|
_init_properties_Logging_kt__66pui5();
|
|
1052
|
-
var logger = $this$createClientPlugin.
|
|
1053
|
-
var level = $this$createClientPlugin.
|
|
1054
|
-
var filters = $this$createClientPlugin.
|
|
1055
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
1056
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
1057
|
-
var bodyFilter = $this$createClientPlugin.
|
|
1033
|
+
var logger = $this$createClientPlugin.u3x_1.l5a();
|
|
1034
|
+
var level = $this$createClientPlugin.u3x_1.i5a_1;
|
|
1035
|
+
var filters = $this$createClientPlugin.u3x_1.e5a_1;
|
|
1036
|
+
var sanitizedHeaders = $this$createClientPlugin.u3x_1.f5a_1;
|
|
1037
|
+
var okHttpFormat = $this$createClientPlugin.u3x_1.h5a_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1038
|
+
var bodyFilter = $this$createClientPlugin.u3x_1.j5a_1;
|
|
1058
1039
|
var tmp = SendHook_instance;
|
|
1059
|
-
$this$createClientPlugin.
|
|
1040
|
+
$this$createClientPlugin.x3x(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1060
1041
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
1061
|
-
$this$createClientPlugin.
|
|
1042
|
+
$this$createClientPlugin.x3x(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, bodyFilter, null));
|
|
1062
1043
|
var tmp_1 = ResponseHook_instance;
|
|
1063
|
-
$this$createClientPlugin.
|
|
1044
|
+
$this$createClientPlugin.x3x(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
1064
1045
|
var tmp_2 = ReceiveHook_instance;
|
|
1065
|
-
$this$createClientPlugin.
|
|
1046
|
+
$this$createClientPlugin.x3x(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, logger, null));
|
|
1066
1047
|
if (okHttpFormat)
|
|
1067
1048
|
return Unit_instance;
|
|
1068
|
-
if (!level.
|
|
1049
|
+
if (!level.w59_1)
|
|
1069
1050
|
return Unit_instance;
|
|
1070
1051
|
var tmp_3 = get_ResponseObserver();
|
|
1071
|
-
var responseObserver = tmp_3.
|
|
1072
|
-
get_ResponseObserver().
|
|
1052
|
+
var responseObserver = tmp_3.v3q(Logging$lambda$lambda(level));
|
|
1053
|
+
get_ResponseObserver().w3q(responseObserver, $this$createClientPlugin.t3x_1);
|
|
1073
1054
|
return Unit_instance;
|
|
1074
1055
|
}
|
|
1075
1056
|
function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
@@ -1077,18 +1058,18 @@
|
|
|
1077
1058
|
return it;
|
|
1078
1059
|
}
|
|
1079
1060
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1061
|
+
this.y5c_1 = $content;
|
|
1062
|
+
this.z5c_1 = $channel;
|
|
1082
1063
|
CoroutineImpl.call(this, resultContinuation);
|
|
1083
1064
|
}
|
|
1084
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1085
|
-
var tmp = this.
|
|
1065
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).t1w = function ($this$launch, $completion) {
|
|
1066
|
+
var tmp = this.u1w($this$launch, $completion);
|
|
1086
1067
|
tmp.c9_1 = Unit_instance;
|
|
1087
1068
|
tmp.d9_1 = null;
|
|
1088
1069
|
return tmp.i9();
|
|
1089
1070
|
};
|
|
1090
1071
|
protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function (p1, $completion) {
|
|
1091
|
-
return this.
|
|
1072
|
+
return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1092
1073
|
};
|
|
1093
1074
|
protoOf(Logging$lambda$logOutgoingContent$slambda).i9 = function () {
|
|
1094
1075
|
var suspendResult = this.c9_1;
|
|
@@ -1099,14 +1080,14 @@
|
|
|
1099
1080
|
case 0:
|
|
1100
1081
|
this.b9_1 = 2;
|
|
1101
1082
|
this.a9_1 = 1;
|
|
1102
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.y5c_1.d36(this.z5c_1, this);
|
|
1103
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1104
1085
|
return suspendResult;
|
|
1105
1086
|
}
|
|
1106
1087
|
|
|
1107
1088
|
continue $sm;
|
|
1108
1089
|
case 1:
|
|
1109
|
-
this.
|
|
1090
|
+
this.z5c_1.l4();
|
|
1110
1091
|
return Unit_instance;
|
|
1111
1092
|
case 2:
|
|
1112
1093
|
throw this.d9_1;
|
|
@@ -1122,22 +1103,22 @@
|
|
|
1122
1103
|
}
|
|
1123
1104
|
while (true);
|
|
1124
1105
|
};
|
|
1125
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1126
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1127
|
-
i.
|
|
1106
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).u1w = function ($this$launch, completion) {
|
|
1107
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.y5c_1, this.z5c_1, completion);
|
|
1108
|
+
i.a5d_1 = $this$launch;
|
|
1128
1109
|
return i;
|
|
1129
1110
|
};
|
|
1130
1111
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
1131
1112
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
1132
1113
|
var l = function ($this$launch, $completion) {
|
|
1133
|
-
return i.
|
|
1114
|
+
return i.t1w($this$launch, $completion);
|
|
1134
1115
|
};
|
|
1135
1116
|
l.$arity = 1;
|
|
1136
1117
|
return l;
|
|
1137
1118
|
}
|
|
1138
1119
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1139
1120
|
_init_properties_Logging_kt__66pui5();
|
|
1140
|
-
return GZipEncoder_getInstance().
|
|
1121
|
+
return GZipEncoder_getInstance().p2n(channel);
|
|
1141
1122
|
}
|
|
1142
1123
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1143
1124
|
return function ($this$replaceResponse) {
|
|
@@ -1145,20 +1126,20 @@
|
|
|
1145
1126
|
};
|
|
1146
1127
|
}
|
|
1147
1128
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1148
|
-
this.
|
|
1149
|
-
this.
|
|
1150
|
-
this.
|
|
1151
|
-
this.
|
|
1129
|
+
this.j5d_1 = $channel;
|
|
1130
|
+
this.k5d_1 = $charset;
|
|
1131
|
+
this.l5d_1 = $requestLog;
|
|
1132
|
+
this.m5d_1 = $logger;
|
|
1152
1133
|
CoroutineImpl.call(this, resultContinuation);
|
|
1153
1134
|
}
|
|
1154
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1155
|
-
var tmp = this.
|
|
1135
|
+
protoOf(Logging$lambda$logRequestBody$slambda).t1w = function ($this$launch, $completion) {
|
|
1136
|
+
var tmp = this.u1w($this$launch, $completion);
|
|
1156
1137
|
tmp.c9_1 = Unit_instance;
|
|
1157
1138
|
tmp.d9_1 = null;
|
|
1158
1139
|
return tmp.i9();
|
|
1159
1140
|
};
|
|
1160
1141
|
protoOf(Logging$lambda$logRequestBody$slambda).u9 = function (p1, $completion) {
|
|
1161
|
-
return this.
|
|
1142
|
+
return this.t1w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1162
1143
|
};
|
|
1163
1144
|
protoOf(Logging$lambda$logRequestBody$slambda).i9 = function () {
|
|
1164
1145
|
var suspendResult = this.c9_1;
|
|
@@ -1172,8 +1153,8 @@
|
|
|
1172
1153
|
continue $sm;
|
|
1173
1154
|
case 1:
|
|
1174
1155
|
this.b9_1 = 6;
|
|
1175
|
-
var tmp0 = this.
|
|
1176
|
-
this.
|
|
1156
|
+
var tmp0 = this.j5d_1;
|
|
1157
|
+
this.q5d_1 = this.k5d_1;
|
|
1177
1158
|
this.b9_1 = 3;
|
|
1178
1159
|
this.a9_1 = 2;
|
|
1179
1160
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1184,7 +1165,7 @@
|
|
|
1184
1165
|
continue $sm;
|
|
1185
1166
|
case 2:
|
|
1186
1167
|
var ARGUMENT = suspendResult;
|
|
1187
|
-
this.
|
|
1168
|
+
this.p5d_1 = readText(ARGUMENT, this.q5d_1);
|
|
1188
1169
|
this.b9_1 = 6;
|
|
1189
1170
|
this.a9_1 = 4;
|
|
1190
1171
|
continue $sm;
|
|
@@ -1194,7 +1175,7 @@
|
|
|
1194
1175
|
if (tmp_0 instanceof Error) {
|
|
1195
1176
|
var cause = this.d9_1;
|
|
1196
1177
|
var tmp_1 = this;
|
|
1197
|
-
tmp_1.
|
|
1178
|
+
tmp_1.p5d_1 = null;
|
|
1198
1179
|
this.a9_1 = 4;
|
|
1199
1180
|
continue $sm;
|
|
1200
1181
|
} else {
|
|
@@ -1203,27 +1184,27 @@
|
|
|
1203
1184
|
|
|
1204
1185
|
case 4:
|
|
1205
1186
|
this.b9_1 = 6;
|
|
1206
|
-
var tmp0_elvis_lhs = this.
|
|
1187
|
+
var tmp0_elvis_lhs = this.p5d_1;
|
|
1207
1188
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1208
|
-
var tmp0_0 = this.
|
|
1189
|
+
var tmp0_0 = this.l5d_1;
|
|
1209
1190
|
var value = 'BODY START';
|
|
1210
1191
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1211
|
-
this.
|
|
1212
|
-
this.
|
|
1192
|
+
this.l5d_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1193
|
+
this.o5d_1 = this.l5d_1.q('BODY END');
|
|
1213
1194
|
this.b9_1 = 7;
|
|
1214
1195
|
this.a9_1 = 5;
|
|
1215
1196
|
continue $sm;
|
|
1216
1197
|
case 5:
|
|
1217
|
-
this.
|
|
1198
|
+
this.o5d_1;
|
|
1218
1199
|
this.b9_1 = 7;
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1200
|
+
this.m5d_1.j58(this.l5d_1.toString());
|
|
1201
|
+
this.m5d_1.n58();
|
|
1221
1202
|
return Unit_instance;
|
|
1222
1203
|
case 6:
|
|
1223
1204
|
this.b9_1 = 7;
|
|
1224
1205
|
var t = this.d9_1;
|
|
1225
|
-
this.
|
|
1226
|
-
this.
|
|
1206
|
+
this.m5d_1.j58(this.l5d_1.toString());
|
|
1207
|
+
this.m5d_1.n58();
|
|
1227
1208
|
throw t;
|
|
1228
1209
|
case 7:
|
|
1229
1210
|
throw this.d9_1;
|
|
@@ -1239,15 +1220,15 @@
|
|
|
1239
1220
|
}
|
|
1240
1221
|
while (true);
|
|
1241
1222
|
};
|
|
1242
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1243
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1244
|
-
i.
|
|
1223
|
+
protoOf(Logging$lambda$logRequestBody$slambda).u1w = function ($this$launch, completion) {
|
|
1224
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.j5d_1, this.k5d_1, this.l5d_1, this.m5d_1, completion);
|
|
1225
|
+
i.n5d_1 = $this$launch;
|
|
1245
1226
|
return i;
|
|
1246
1227
|
};
|
|
1247
1228
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1248
1229
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1249
1230
|
var l = function ($this$launch, $completion) {
|
|
1250
|
-
return i.
|
|
1231
|
+
return i.t1w($this$launch, $completion);
|
|
1251
1232
|
};
|
|
1252
1233
|
l.$arity = 1;
|
|
1253
1234
|
return l;
|
|
@@ -1336,139 +1317,139 @@
|
|
|
1336
1317
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
1337
1318
|
var requestLog = StringBuilder_init_$Create$();
|
|
1338
1319
|
// Inline function 'kotlin.text.appendLine' call
|
|
1339
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
1320
|
+
var value = 'BODY Content-Type: ' + toString_0(content.v35());
|
|
1340
1321
|
// Inline function 'kotlin.text.appendLine' call
|
|
1341
1322
|
requestLog.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1342
|
-
var tmp0_safe_receiver = content.
|
|
1323
|
+
var tmp0_safe_receiver = content.v35();
|
|
1343
1324
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
1344
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
1325
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().t1x_1 : tmp1_elvis_lhs;
|
|
1345
1326
|
var channel = new ByteChannel();
|
|
1346
1327
|
var tmp = GlobalScope_instance;
|
|
1347
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
1328
|
+
var tmp_0 = Dispatchers_getInstance().e15_1.yg(MDCContext());
|
|
1348
1329
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
1349
1330
|
return observe(content, channel, $completion);
|
|
1350
1331
|
}
|
|
1351
1332
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1352
|
-
if (level.
|
|
1353
|
-
logger.
|
|
1333
|
+
if (level.u59_1) {
|
|
1334
|
+
logger.p57('REQUEST ' + Url(context.q3p_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1354
1335
|
}
|
|
1355
1336
|
}
|
|
1356
1337
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
1357
|
-
var tmp = request.
|
|
1338
|
+
var tmp = request.t3p_1;
|
|
1358
1339
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
1359
1340
|
var callLogger = new HttpClientCallLogger(logger);
|
|
1360
|
-
request.
|
|
1341
|
+
request.v3p_1.r2j(get_ClientCallLogger(), callLogger);
|
|
1361
1342
|
// Inline function 'kotlin.text.buildString' call
|
|
1362
1343
|
// Inline function 'kotlin.apply' call
|
|
1363
1344
|
var this_0 = StringBuilder_init_$Create$();
|
|
1364
|
-
if (level.
|
|
1345
|
+
if (level.u59_1) {
|
|
1365
1346
|
// Inline function 'kotlin.text.appendLine' call
|
|
1366
|
-
var value = 'REQUEST: ' + Url(request.
|
|
1347
|
+
var value = 'REQUEST: ' + Url(request.q3p_1).toString();
|
|
1367
1348
|
// Inline function 'kotlin.text.appendLine' call
|
|
1368
1349
|
this_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1369
1350
|
// Inline function 'kotlin.text.appendLine' call
|
|
1370
|
-
var value_0 = 'METHOD: ' + request.
|
|
1351
|
+
var value_0 = 'METHOD: ' + request.r3p_1.toString();
|
|
1371
1352
|
// Inline function 'kotlin.text.appendLine' call
|
|
1372
1353
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1373
1354
|
}
|
|
1374
|
-
if (level.
|
|
1355
|
+
if (level.v59_1) {
|
|
1375
1356
|
// Inline function 'kotlin.text.appendLine' call
|
|
1376
1357
|
var value_1 = 'COMMON HEADERS';
|
|
1377
1358
|
// Inline function 'kotlin.text.appendLine' call
|
|
1378
1359
|
this_0.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
1379
|
-
logHeaders(this_0, request.
|
|
1360
|
+
logHeaders(this_0, request.s3p_1.c2o(), sanitizedHeaders);
|
|
1380
1361
|
// Inline function 'kotlin.text.appendLine' call
|
|
1381
1362
|
var value_2 = 'CONTENT HEADERS';
|
|
1382
1363
|
// Inline function 'kotlin.text.appendLine' call
|
|
1383
1364
|
this_0.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
1384
|
-
var tmp$ret$
|
|
1365
|
+
var tmp$ret$11;
|
|
1385
1366
|
$l$block: {
|
|
1386
1367
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1387
1368
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1388
1369
|
while (_iterator__ex2g4s.u()) {
|
|
1389
1370
|
var element = _iterator__ex2g4s.v();
|
|
1390
|
-
if (element.
|
|
1391
|
-
tmp$ret$
|
|
1371
|
+
if (element.q5g_1('Content-Length')) {
|
|
1372
|
+
tmp$ret$11 = element;
|
|
1392
1373
|
break $l$block;
|
|
1393
1374
|
}
|
|
1394
1375
|
}
|
|
1395
|
-
tmp$ret$
|
|
1376
|
+
tmp$ret$11 = null;
|
|
1396
1377
|
}
|
|
1397
|
-
var tmp0_safe_receiver = tmp$ret$
|
|
1398
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1399
|
-
var tmp$ret$
|
|
1378
|
+
var tmp0_safe_receiver = tmp$ret$11;
|
|
1379
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p5g_1;
|
|
1380
|
+
var tmp$ret$13;
|
|
1400
1381
|
$l$block_0: {
|
|
1401
1382
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1402
1383
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1403
1384
|
while (_iterator__ex2g4s_0.u()) {
|
|
1404
1385
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1405
|
-
if (element_0.
|
|
1406
|
-
tmp$ret$
|
|
1386
|
+
if (element_0.q5g_1('Content-Type')) {
|
|
1387
|
+
tmp$ret$13 = element_0;
|
|
1407
1388
|
break $l$block_0;
|
|
1408
1389
|
}
|
|
1409
1390
|
}
|
|
1410
|
-
tmp$ret$
|
|
1391
|
+
tmp$ret$13 = null;
|
|
1411
1392
|
}
|
|
1412
|
-
var tmp1_safe_receiver = tmp$ret$
|
|
1413
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1414
|
-
var tmp2_safe_receiver = content.
|
|
1393
|
+
var tmp1_safe_receiver = tmp$ret$13;
|
|
1394
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p5g_1;
|
|
1395
|
+
var tmp2_safe_receiver = content.x35();
|
|
1415
1396
|
if (tmp2_safe_receiver == null)
|
|
1416
1397
|
null;
|
|
1417
1398
|
else {
|
|
1418
1399
|
// Inline function 'kotlin.let' call
|
|
1419
1400
|
logHeader(this_0, 'Content-Length', contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1420
1401
|
}
|
|
1421
|
-
var tmp3_safe_receiver = content.
|
|
1402
|
+
var tmp3_safe_receiver = content.v35();
|
|
1422
1403
|
if (tmp3_safe_receiver == null)
|
|
1423
1404
|
null;
|
|
1424
1405
|
else {
|
|
1425
1406
|
// Inline function 'kotlin.let' call
|
|
1426
1407
|
logHeader(this_0, 'Content-Type', contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1427
1408
|
}
|
|
1428
|
-
logHeaders(this_0, content.
|
|
1409
|
+
logHeaders(this_0, content.x2z().c2o(), sanitizedHeaders);
|
|
1429
1410
|
}
|
|
1430
1411
|
var message = this_0.toString();
|
|
1431
1412
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1432
1413
|
if (charSequenceLength(message) > 0) {
|
|
1433
|
-
callLogger.
|
|
1414
|
+
callLogger.j58(message);
|
|
1434
1415
|
}
|
|
1435
1416
|
var tmp_0;
|
|
1436
1417
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1437
1418
|
if (charSequenceLength(message) === 0) {
|
|
1438
1419
|
tmp_0 = true;
|
|
1439
1420
|
} else {
|
|
1440
|
-
tmp_0 = !level.
|
|
1421
|
+
tmp_0 = !level.w59_1;
|
|
1441
1422
|
}
|
|
1442
1423
|
if (tmp_0) {
|
|
1443
|
-
callLogger.
|
|
1424
|
+
callLogger.n58();
|
|
1444
1425
|
return null;
|
|
1445
1426
|
}
|
|
1446
1427
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1447
1428
|
}
|
|
1448
1429
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1449
|
-
if (!level.
|
|
1430
|
+
if (!level.u59_1)
|
|
1450
1431
|
return Unit_instance;
|
|
1451
|
-
log.q('RESPONSE ' + request.
|
|
1432
|
+
log.q('RESPONSE ' + request.h3r().toString() + ' failed with exception: ' + cause.toString());
|
|
1452
1433
|
}
|
|
1453
1434
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1454
|
-
this.
|
|
1455
|
-
this.
|
|
1456
|
-
this.
|
|
1457
|
-
this.
|
|
1458
|
-
this.
|
|
1459
|
-
this.
|
|
1460
|
-
this.
|
|
1435
|
+
this.z5g_1 = $okHttpFormat;
|
|
1436
|
+
this.a5h_1 = $logger;
|
|
1437
|
+
this.b5h_1 = $filters;
|
|
1438
|
+
this.c5h_1 = $sanitizedHeaders;
|
|
1439
|
+
this.d5h_1 = $level;
|
|
1440
|
+
this.e5h_1 = $this_createClientPlugin;
|
|
1441
|
+
this.f5h_1 = $bodyFilter;
|
|
1461
1442
|
CoroutineImpl.call(this, resultContinuation);
|
|
1462
1443
|
}
|
|
1463
|
-
protoOf(Logging$lambda$slambda).
|
|
1464
|
-
var tmp = this.
|
|
1444
|
+
protoOf(Logging$lambda$slambda).o5h = function ($this$on, request, $completion) {
|
|
1445
|
+
var tmp = this.p5h($this$on, request, $completion);
|
|
1465
1446
|
tmp.c9_1 = Unit_instance;
|
|
1466
1447
|
tmp.d9_1 = null;
|
|
1467
1448
|
return tmp.i9();
|
|
1468
1449
|
};
|
|
1469
1450
|
protoOf(Logging$lambda$slambda).v9 = function (p1, p2, $completion) {
|
|
1470
1451
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1471
|
-
return this.
|
|
1452
|
+
return this.o5h(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1472
1453
|
};
|
|
1473
1454
|
protoOf(Logging$lambda$slambda).i9 = function () {
|
|
1474
1455
|
var suspendResult = this.c9_1;
|
|
@@ -1478,16 +1459,16 @@
|
|
|
1478
1459
|
switch (tmp) {
|
|
1479
1460
|
case 0:
|
|
1480
1461
|
this.b9_1 = 16;
|
|
1481
|
-
if (!invoke$shouldBeLogged(this.
|
|
1482
|
-
this.
|
|
1462
|
+
if (!invoke$shouldBeLogged(this.b5h_1, this.h5h_1)) {
|
|
1463
|
+
this.h5h_1.v3p_1.r2j(get_DisableLogging(), Unit_instance);
|
|
1483
1464
|
return Unit_instance;
|
|
1484
1465
|
}
|
|
1485
1466
|
|
|
1486
|
-
if (this.
|
|
1467
|
+
if (this.z5g_1) {
|
|
1487
1468
|
var tmp_0 = this;
|
|
1488
|
-
tmp_0.
|
|
1469
|
+
tmp_0.k5h_1 = ArrayList_init_$Create$();
|
|
1489
1470
|
this.a9_1 = 10;
|
|
1490
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1471
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.c5h_1, this.d5h_1, this.e5h_1, this.f5h_1, this.h5h_1, this.k5h_1, this);
|
|
1491
1472
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1492
1473
|
return suspendResult;
|
|
1493
1474
|
}
|
|
@@ -1500,14 +1481,14 @@
|
|
|
1500
1481
|
case 1:
|
|
1501
1482
|
this.b9_1 = 3;
|
|
1502
1483
|
this.a9_1 = 2;
|
|
1503
|
-
suspendResult = invoke$logRequest(this.
|
|
1484
|
+
suspendResult = invoke$logRequest(this.a5h_1, this.d5h_1, this.c5h_1, this.h5h_1, this);
|
|
1504
1485
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1505
1486
|
return suspendResult;
|
|
1506
1487
|
}
|
|
1507
1488
|
|
|
1508
1489
|
continue $sm;
|
|
1509
1490
|
case 2:
|
|
1510
|
-
this.
|
|
1491
|
+
this.n5h_1 = suspendResult;
|
|
1511
1492
|
this.b9_1 = 16;
|
|
1512
1493
|
this.a9_1 = 4;
|
|
1513
1494
|
continue $sm;
|
|
@@ -1517,7 +1498,7 @@
|
|
|
1517
1498
|
if (tmp_1 instanceof Error) {
|
|
1518
1499
|
var _unused_var__etf5q3 = this.d9_1;
|
|
1519
1500
|
var tmp_2 = this;
|
|
1520
|
-
tmp_2.
|
|
1501
|
+
tmp_2.n5h_1 = null;
|
|
1521
1502
|
this.a9_1 = 4;
|
|
1522
1503
|
continue $sm;
|
|
1523
1504
|
} else {
|
|
@@ -1526,23 +1507,23 @@
|
|
|
1526
1507
|
|
|
1527
1508
|
case 4:
|
|
1528
1509
|
this.b9_1 = 16;
|
|
1529
|
-
this.
|
|
1530
|
-
this.
|
|
1510
|
+
this.m5h_1 = this.n5h_1;
|
|
1511
|
+
this.l5h_1 = Unit_instance;
|
|
1531
1512
|
this.a9_1 = 5;
|
|
1532
1513
|
continue $sm;
|
|
1533
1514
|
case 5:
|
|
1534
1515
|
this.b9_1 = 8;
|
|
1535
1516
|
this.b9_1 = 7;
|
|
1536
1517
|
this.a9_1 = 6;
|
|
1537
|
-
var tmp0_elvis_lhs = this.
|
|
1538
|
-
suspendResult = this.
|
|
1518
|
+
var tmp0_elvis_lhs = this.m5h_1;
|
|
1519
|
+
suspendResult = this.g5h_1.n5a(tmp0_elvis_lhs == null ? this.h5h_1.t3p_1 : tmp0_elvis_lhs, this);
|
|
1539
1520
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1540
1521
|
return suspendResult;
|
|
1541
1522
|
}
|
|
1542
1523
|
|
|
1543
1524
|
continue $sm;
|
|
1544
1525
|
case 6:
|
|
1545
|
-
this.
|
|
1526
|
+
this.l5h_1 = suspendResult;
|
|
1546
1527
|
this.b9_1 = 16;
|
|
1547
1528
|
this.a9_1 = 9;
|
|
1548
1529
|
continue $sm;
|
|
@@ -1552,7 +1533,7 @@
|
|
|
1552
1533
|
if (tmp_3 instanceof Error) {
|
|
1553
1534
|
var cause = this.d9_1;
|
|
1554
1535
|
var tmp_4 = this;
|
|
1555
|
-
invoke$logRequestException(this.
|
|
1536
|
+
invoke$logRequestException(this.d5h_1, this.a5h_1, this.h5h_1, cause);
|
|
1556
1537
|
throw cause;
|
|
1557
1538
|
} else {
|
|
1558
1539
|
throw this.d9_1;
|
|
@@ -1563,26 +1544,26 @@
|
|
|
1563
1544
|
var t = this.d9_1;
|
|
1564
1545
|
throw t;
|
|
1565
1546
|
case 9:
|
|
1566
|
-
this.
|
|
1547
|
+
this.l5h_1;
|
|
1567
1548
|
this.b9_1 = 16;
|
|
1568
1549
|
return Unit_instance;
|
|
1569
1550
|
case 10:
|
|
1570
1551
|
var content = suspendResult;
|
|
1571
|
-
if (this.
|
|
1572
|
-
this.
|
|
1552
|
+
if (this.k5h_1.l1() > 0) {
|
|
1553
|
+
this.a5h_1.p57(joinToString(this.k5h_1, '\n'));
|
|
1573
1554
|
}
|
|
1574
1555
|
|
|
1575
1556
|
this.b9_1 = 14;
|
|
1576
1557
|
if (!(content == null)) {
|
|
1577
1558
|
this.a9_1 = 12;
|
|
1578
|
-
suspendResult = this.
|
|
1559
|
+
suspendResult = this.g5h_1.n5a(content, this);
|
|
1579
1560
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1580
1561
|
return suspendResult;
|
|
1581
1562
|
}
|
|
1582
1563
|
continue $sm;
|
|
1583
1564
|
} else {
|
|
1584
1565
|
this.a9_1 = 11;
|
|
1585
|
-
suspendResult = this.
|
|
1566
|
+
suspendResult = this.g5h_1.o5a(this);
|
|
1586
1567
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1587
1568
|
return suspendResult;
|
|
1588
1569
|
}
|
|
@@ -1590,15 +1571,15 @@
|
|
|
1590
1571
|
}
|
|
1591
1572
|
|
|
1592
1573
|
case 11:
|
|
1593
|
-
this.
|
|
1574
|
+
this.j5h_1 = suspendResult;
|
|
1594
1575
|
this.a9_1 = 13;
|
|
1595
1576
|
continue $sm;
|
|
1596
1577
|
case 12:
|
|
1597
|
-
this.
|
|
1578
|
+
this.j5h_1 = suspendResult;
|
|
1598
1579
|
this.a9_1 = 13;
|
|
1599
1580
|
continue $sm;
|
|
1600
1581
|
case 13:
|
|
1601
|
-
this.
|
|
1582
|
+
this.i5h_1 = this.j5h_1;
|
|
1602
1583
|
this.b9_1 = 16;
|
|
1603
1584
|
this.a9_1 = 15;
|
|
1604
1585
|
continue $sm;
|
|
@@ -1608,7 +1589,7 @@
|
|
|
1608
1589
|
if (tmp_5 instanceof Error) {
|
|
1609
1590
|
var cause_0 = this.d9_1;
|
|
1610
1591
|
var tmp_6 = this;
|
|
1611
|
-
this.
|
|
1592
|
+
this.a5h_1.p57('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1612
1593
|
throw cause_0;
|
|
1613
1594
|
} else {
|
|
1614
1595
|
throw this.d9_1;
|
|
@@ -1631,37 +1612,37 @@
|
|
|
1631
1612
|
}
|
|
1632
1613
|
while (true);
|
|
1633
1614
|
};
|
|
1634
|
-
protoOf(Logging$lambda$slambda).
|
|
1635
|
-
var i = new Logging$lambda$slambda(this.
|
|
1636
|
-
i.
|
|
1637
|
-
i.
|
|
1615
|
+
protoOf(Logging$lambda$slambda).p5h = function ($this$on, request, completion) {
|
|
1616
|
+
var i = new Logging$lambda$slambda(this.z5g_1, this.a5h_1, this.b5h_1, this.c5h_1, this.d5h_1, this.e5h_1, this.f5h_1, completion);
|
|
1617
|
+
i.g5h_1 = $this$on;
|
|
1618
|
+
i.h5h_1 = request;
|
|
1638
1619
|
return i;
|
|
1639
1620
|
};
|
|
1640
1621
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1641
1622
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1642
1623
|
var l = function ($this$on, request, $completion) {
|
|
1643
|
-
return i.
|
|
1624
|
+
return i.o5h($this$on, request, $completion);
|
|
1644
1625
|
};
|
|
1645
1626
|
l.$arity = 2;
|
|
1646
1627
|
return l;
|
|
1647
1628
|
}
|
|
1648
1629
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1653
|
-
this.
|
|
1630
|
+
this.y5h_1 = $okHttpFormat;
|
|
1631
|
+
this.z5h_1 = $logger;
|
|
1632
|
+
this.a5i_1 = $sanitizedHeaders;
|
|
1633
|
+
this.b5i_1 = $level;
|
|
1634
|
+
this.c5i_1 = $bodyFilter;
|
|
1654
1635
|
CoroutineImpl.call(this, resultContinuation);
|
|
1655
1636
|
}
|
|
1656
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1657
|
-
var tmp = this.
|
|
1637
|
+
protoOf(Logging$lambda$slambda_1).g5i = function ($this$on, response, $completion) {
|
|
1638
|
+
var tmp = this.h5i($this$on, response, $completion);
|
|
1658
1639
|
tmp.c9_1 = Unit_instance;
|
|
1659
1640
|
tmp.d9_1 = null;
|
|
1660
1641
|
return tmp.i9();
|
|
1661
1642
|
};
|
|
1662
1643
|
protoOf(Logging$lambda$slambda_1).v9 = function (p1, p2, $completion) {
|
|
1663
1644
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1664
|
-
return this.
|
|
1645
|
+
return this.g5i(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1665
1646
|
};
|
|
1666
1647
|
protoOf(Logging$lambda$slambda_1).i9 = function () {
|
|
1667
1648
|
var suspendResult = this.c9_1;
|
|
@@ -1671,11 +1652,11 @@
|
|
|
1671
1652
|
switch (tmp) {
|
|
1672
1653
|
case 0:
|
|
1673
1654
|
this.b9_1 = 5;
|
|
1674
|
-
if (this.
|
|
1655
|
+
if (this.y5h_1) {
|
|
1675
1656
|
var tmp_0 = this;
|
|
1676
|
-
tmp_0.
|
|
1657
|
+
tmp_0.f5i_1 = ArrayList_init_$Create$();
|
|
1677
1658
|
this.a9_1 = 1;
|
|
1678
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1659
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.a5i_1, this.b5i_1, this.c5i_1, this.e5i_1, this.f5i_1, this);
|
|
1679
1660
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1680
1661
|
return suspendResult;
|
|
1681
1662
|
}
|
|
@@ -1687,13 +1668,13 @@
|
|
|
1687
1668
|
|
|
1688
1669
|
case 1:
|
|
1689
1670
|
var newResponse = suspendResult;
|
|
1690
|
-
if (this.
|
|
1691
|
-
this.
|
|
1671
|
+
if (this.f5i_1.l1() > 0) {
|
|
1672
|
+
this.z5h_1.p57(joinToString(this.f5i_1, '\n'));
|
|
1692
1673
|
}
|
|
1693
1674
|
|
|
1694
|
-
if (!equals(newResponse, this.
|
|
1675
|
+
if (!equals(newResponse, this.e5i_1)) {
|
|
1695
1676
|
this.a9_1 = 2;
|
|
1696
|
-
suspendResult = this.
|
|
1677
|
+
suspendResult = this.d5i_1.z4l(newResponse, this);
|
|
1697
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1698
1679
|
return suspendResult;
|
|
1699
1680
|
}
|
|
@@ -1725,35 +1706,35 @@
|
|
|
1725
1706
|
}
|
|
1726
1707
|
while (true);
|
|
1727
1708
|
};
|
|
1728
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1729
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1730
|
-
i.
|
|
1731
|
-
i.
|
|
1709
|
+
protoOf(Logging$lambda$slambda_1).h5i = function ($this$on, response, completion) {
|
|
1710
|
+
var i = new Logging$lambda$slambda_1(this.y5h_1, this.z5h_1, this.a5i_1, this.b5i_1, this.c5i_1, completion);
|
|
1711
|
+
i.d5i_1 = $this$on;
|
|
1712
|
+
i.e5i_1 = response;
|
|
1732
1713
|
return i;
|
|
1733
1714
|
};
|
|
1734
1715
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1735
1716
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1736
1717
|
var l = function ($this$on, response, $completion) {
|
|
1737
|
-
return i.
|
|
1718
|
+
return i.g5i($this$on, response, $completion);
|
|
1738
1719
|
};
|
|
1739
1720
|
l.$arity = 2;
|
|
1740
1721
|
return l;
|
|
1741
1722
|
}
|
|
1742
1723
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1745
|
-
this.
|
|
1724
|
+
this.q5i_1 = $okHttpFormat;
|
|
1725
|
+
this.r5i_1 = $level;
|
|
1726
|
+
this.s5i_1 = $sanitizedHeaders;
|
|
1746
1727
|
CoroutineImpl.call(this, resultContinuation);
|
|
1747
1728
|
}
|
|
1748
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1749
|
-
var tmp = this.
|
|
1729
|
+
protoOf(Logging$lambda$slambda_3).b5j = function ($this$on, response, $completion) {
|
|
1730
|
+
var tmp = this.c5j($this$on, response, $completion);
|
|
1750
1731
|
tmp.c9_1 = Unit_instance;
|
|
1751
1732
|
tmp.d9_1 = null;
|
|
1752
1733
|
return tmp.i9();
|
|
1753
1734
|
};
|
|
1754
1735
|
protoOf(Logging$lambda$slambda_3).v9 = function (p1, p2, $completion) {
|
|
1755
1736
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1756
|
-
return this.
|
|
1737
|
+
return this.b5j(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1757
1738
|
};
|
|
1758
1739
|
protoOf(Logging$lambda$slambda_3).i9 = function () {
|
|
1759
1740
|
var suspendResult = this.c9_1;
|
|
@@ -1763,28 +1744,28 @@
|
|
|
1763
1744
|
switch (tmp) {
|
|
1764
1745
|
case 0:
|
|
1765
1746
|
this.b9_1 = 14;
|
|
1766
|
-
if (this.
|
|
1747
|
+
if (this.q5i_1)
|
|
1767
1748
|
return Unit_instance;
|
|
1768
|
-
if (this.
|
|
1749
|
+
if (this.r5i_1.equals(LogLevel_NONE_getInstance()) || this.u5i_1.f3r().z3q().q2j(get_DisableLogging()))
|
|
1769
1750
|
return Unit_instance;
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1772
|
-
this.
|
|
1751
|
+
this.w5i_1 = this.u5i_1.f3r().z3q().o2j(get_ClientCallLogger());
|
|
1752
|
+
this.y5i_1 = StringBuilder_init_$Create$();
|
|
1753
|
+
this.x5i_1 = false;
|
|
1773
1754
|
this.a9_1 = 1;
|
|
1774
1755
|
continue $sm;
|
|
1775
1756
|
case 1:
|
|
1776
1757
|
this.b9_1 = 4;
|
|
1777
1758
|
this.b9_1 = 3;
|
|
1778
|
-
logResponseHeader(this.
|
|
1759
|
+
logResponseHeader(this.y5i_1, this.u5i_1.f3r().q3o(), this.r5i_1, this.s5i_1);
|
|
1779
1760
|
this.a9_1 = 2;
|
|
1780
|
-
suspendResult = this.
|
|
1761
|
+
suspendResult = this.t5i_1.p5b(this);
|
|
1781
1762
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1782
1763
|
return suspendResult;
|
|
1783
1764
|
}
|
|
1784
1765
|
|
|
1785
1766
|
continue $sm;
|
|
1786
1767
|
case 2:
|
|
1787
|
-
this.
|
|
1768
|
+
this.z5i_1 = suspendResult;
|
|
1788
1769
|
this.b9_1 = 14;
|
|
1789
1770
|
this.a9_1 = 9;
|
|
1790
1771
|
continue $sm;
|
|
@@ -1794,8 +1775,8 @@
|
|
|
1794
1775
|
if (tmp_0 instanceof Error) {
|
|
1795
1776
|
var cause = this.d9_1;
|
|
1796
1777
|
var tmp_1 = this;
|
|
1797
|
-
invoke$logResponseException(this.
|
|
1798
|
-
this.
|
|
1778
|
+
invoke$logResponseException(this.r5i_1, this.y5i_1, this.u5i_1.f3r().y3q(), cause);
|
|
1779
|
+
this.x5i_1 = true;
|
|
1799
1780
|
throw cause;
|
|
1800
1781
|
} else {
|
|
1801
1782
|
throw this.d9_1;
|
|
@@ -1803,19 +1784,19 @@
|
|
|
1803
1784
|
|
|
1804
1785
|
case 4:
|
|
1805
1786
|
this.b9_1 = 14;
|
|
1806
|
-
this.
|
|
1807
|
-
this.
|
|
1808
|
-
if (this.
|
|
1787
|
+
this.a5j_1 = this.d9_1;
|
|
1788
|
+
this.w5i_1.k58(this.y5i_1.toString());
|
|
1789
|
+
if (this.x5i_1 || !this.r5i_1.w59_1) {
|
|
1809
1790
|
this.a9_1 = 7;
|
|
1810
|
-
suspendResult = this.
|
|
1791
|
+
suspendResult = this.w5i_1.o58(this);
|
|
1811
1792
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1812
1793
|
return suspendResult;
|
|
1813
1794
|
}
|
|
1814
1795
|
continue $sm;
|
|
1815
1796
|
} else {
|
|
1816
|
-
if (this.
|
|
1797
|
+
if (this.r5i_1.w59_1 && get_isSaved(this.u5i_1)) {
|
|
1817
1798
|
this.a9_1 = 5;
|
|
1818
|
-
suspendResult = logResponseBody(this.
|
|
1799
|
+
suspendResult = logResponseBody(this.w5i_1, this.u5i_1, this);
|
|
1819
1800
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1820
1801
|
return suspendResult;
|
|
1821
1802
|
}
|
|
@@ -1828,7 +1809,7 @@
|
|
|
1828
1809
|
|
|
1829
1810
|
case 5:
|
|
1830
1811
|
this.a9_1 = 6;
|
|
1831
|
-
suspendResult = this.
|
|
1812
|
+
suspendResult = this.w5i_1.o58(this);
|
|
1832
1813
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1833
1814
|
return suspendResult;
|
|
1834
1815
|
}
|
|
@@ -1841,22 +1822,22 @@
|
|
|
1841
1822
|
this.a9_1 = 8;
|
|
1842
1823
|
continue $sm;
|
|
1843
1824
|
case 8:
|
|
1844
|
-
throw this.
|
|
1825
|
+
throw this.a5j_1;
|
|
1845
1826
|
case 9:
|
|
1846
|
-
this.
|
|
1827
|
+
this.v5i_1 = this.z5i_1;
|
|
1847
1828
|
this.b9_1 = 14;
|
|
1848
|
-
this.
|
|
1849
|
-
if (this.
|
|
1829
|
+
this.w5i_1.k58(this.y5i_1.toString());
|
|
1830
|
+
if (this.x5i_1 || !this.r5i_1.w59_1) {
|
|
1850
1831
|
this.a9_1 = 12;
|
|
1851
|
-
suspendResult = this.
|
|
1832
|
+
suspendResult = this.w5i_1.o58(this);
|
|
1852
1833
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1853
1834
|
return suspendResult;
|
|
1854
1835
|
}
|
|
1855
1836
|
continue $sm;
|
|
1856
1837
|
} else {
|
|
1857
|
-
if (this.
|
|
1838
|
+
if (this.r5i_1.w59_1 && get_isSaved(this.u5i_1)) {
|
|
1858
1839
|
this.a9_1 = 10;
|
|
1859
|
-
suspendResult = logResponseBody(this.
|
|
1840
|
+
suspendResult = logResponseBody(this.w5i_1, this.u5i_1, this);
|
|
1860
1841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1861
1842
|
return suspendResult;
|
|
1862
1843
|
}
|
|
@@ -1869,7 +1850,7 @@
|
|
|
1869
1850
|
|
|
1870
1851
|
case 10:
|
|
1871
1852
|
this.a9_1 = 11;
|
|
1872
|
-
suspendResult = this.
|
|
1853
|
+
suspendResult = this.w5i_1.o58(this);
|
|
1873
1854
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1874
1855
|
return suspendResult;
|
|
1875
1856
|
}
|
|
@@ -1897,34 +1878,35 @@
|
|
|
1897
1878
|
}
|
|
1898
1879
|
while (true);
|
|
1899
1880
|
};
|
|
1900
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1901
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1902
|
-
i.
|
|
1903
|
-
i.
|
|
1881
|
+
protoOf(Logging$lambda$slambda_3).c5j = function ($this$on, response, completion) {
|
|
1882
|
+
var i = new Logging$lambda$slambda_3(this.q5i_1, this.r5i_1, this.s5i_1, completion);
|
|
1883
|
+
i.t5i_1 = $this$on;
|
|
1884
|
+
i.u5i_1 = response;
|
|
1904
1885
|
return i;
|
|
1905
1886
|
};
|
|
1906
1887
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1907
1888
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1908
1889
|
var l = function ($this$on, response, $completion) {
|
|
1909
|
-
return i.
|
|
1890
|
+
return i.b5j($this$on, response, $completion);
|
|
1910
1891
|
};
|
|
1911
1892
|
l.$arity = 2;
|
|
1912
1893
|
return l;
|
|
1913
1894
|
}
|
|
1914
|
-
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1915
|
-
this.
|
|
1916
|
-
this.
|
|
1895
|
+
function Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation) {
|
|
1896
|
+
this.l5j_1 = $okHttpFormat;
|
|
1897
|
+
this.m5j_1 = $level;
|
|
1898
|
+
this.n5j_1 = $logger;
|
|
1917
1899
|
CoroutineImpl.call(this, resultContinuation);
|
|
1918
1900
|
}
|
|
1919
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1920
|
-
var tmp = this.
|
|
1901
|
+
protoOf(Logging$lambda$slambda_5).t5j = function ($this$on, call, $completion) {
|
|
1902
|
+
var tmp = this.u5j($this$on, call, $completion);
|
|
1921
1903
|
tmp.c9_1 = Unit_instance;
|
|
1922
1904
|
tmp.d9_1 = null;
|
|
1923
1905
|
return tmp.i9();
|
|
1924
1906
|
};
|
|
1925
1907
|
protoOf(Logging$lambda$slambda_5).v9 = function (p1, p2, $completion) {
|
|
1926
1908
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1927
|
-
return this.
|
|
1909
|
+
return this.t5j(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1928
1910
|
};
|
|
1929
1911
|
protoOf(Logging$lambda$slambda_5).i9 = function () {
|
|
1930
1912
|
var suspendResult = this.c9_1;
|
|
@@ -1934,22 +1916,22 @@
|
|
|
1934
1916
|
switch (tmp) {
|
|
1935
1917
|
case 0:
|
|
1936
1918
|
this.b9_1 = 6;
|
|
1937
|
-
if (this.
|
|
1919
|
+
if (this.l5j_1)
|
|
1938
1920
|
return Unit_instance;
|
|
1939
|
-
if (this.
|
|
1921
|
+
if (this.m5j_1.equals(LogLevel_NONE_getInstance()) || this.p5j_1.z3q().q2j(get_DisableLogging())) {
|
|
1940
1922
|
return Unit_instance;
|
|
1941
1923
|
}
|
|
1942
1924
|
|
|
1943
1925
|
this.b9_1 = 2;
|
|
1944
1926
|
this.a9_1 = 1;
|
|
1945
|
-
suspendResult = this.
|
|
1927
|
+
suspendResult = this.o5j_1.d5c(this);
|
|
1946
1928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1947
1929
|
return suspendResult;
|
|
1948
1930
|
}
|
|
1949
1931
|
|
|
1950
1932
|
continue $sm;
|
|
1951
1933
|
case 1:
|
|
1952
|
-
this.
|
|
1934
|
+
this.q5j_1 = suspendResult;
|
|
1953
1935
|
this.b9_1 = 6;
|
|
1954
1936
|
this.a9_1 = 5;
|
|
1955
1937
|
continue $sm;
|
|
@@ -1957,12 +1939,22 @@
|
|
|
1957
1939
|
this.b9_1 = 6;
|
|
1958
1940
|
var tmp_0 = this.d9_1;
|
|
1959
1941
|
if (tmp_0 instanceof Error) {
|
|
1960
|
-
this.
|
|
1942
|
+
this.r5j_1 = this.d9_1;
|
|
1961
1943
|
var log = StringBuilder_init_$Create$();
|
|
1962
|
-
|
|
1963
|
-
|
|
1944
|
+
var tmp_1 = this;
|
|
1945
|
+
var tmp0_elvis_lhs = this.p5j_1.z3q().p2j(get_ClientCallLogger());
|
|
1946
|
+
var tmp_2;
|
|
1947
|
+
if (tmp0_elvis_lhs == null) {
|
|
1948
|
+
var this_0 = new HttpClientCallLogger(this.n5j_1);
|
|
1949
|
+
this_0.n58();
|
|
1950
|
+
tmp_2 = this_0;
|
|
1951
|
+
} else {
|
|
1952
|
+
tmp_2 = tmp0_elvis_lhs;
|
|
1953
|
+
}
|
|
1954
|
+
tmp_1.s5j_1 = tmp_2;
|
|
1955
|
+
invoke$logResponseException(this.m5j_1, log, this.p5j_1.y3q(), this.r5j_1);
|
|
1964
1956
|
this.a9_1 = 3;
|
|
1965
|
-
suspendResult = this.
|
|
1957
|
+
suspendResult = this.s5j_1.l58(log.toString(), this);
|
|
1966
1958
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1967
1959
|
return suspendResult;
|
|
1968
1960
|
}
|
|
@@ -1973,15 +1965,15 @@
|
|
|
1973
1965
|
|
|
1974
1966
|
case 3:
|
|
1975
1967
|
this.a9_1 = 4;
|
|
1976
|
-
suspendResult = this.
|
|
1968
|
+
suspendResult = this.s5j_1.o58(this);
|
|
1977
1969
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1978
1970
|
return suspendResult;
|
|
1979
1971
|
}
|
|
1980
1972
|
|
|
1981
1973
|
continue $sm;
|
|
1982
1974
|
case 4:
|
|
1983
|
-
var
|
|
1984
|
-
throw this.
|
|
1975
|
+
var tmp_3 = this;
|
|
1976
|
+
throw this.r5j_1;
|
|
1985
1977
|
case 5:
|
|
1986
1978
|
this.b9_1 = 6;
|
|
1987
1979
|
return Unit_instance;
|
|
@@ -1999,36 +1991,36 @@
|
|
|
1999
1991
|
}
|
|
2000
1992
|
while (true);
|
|
2001
1993
|
};
|
|
2002
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2003
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2004
|
-
i.
|
|
2005
|
-
i.
|
|
1994
|
+
protoOf(Logging$lambda$slambda_5).u5j = function ($this$on, call, completion) {
|
|
1995
|
+
var i = new Logging$lambda$slambda_5(this.l5j_1, this.m5j_1, this.n5j_1, completion);
|
|
1996
|
+
i.o5j_1 = $this$on;
|
|
1997
|
+
i.p5j_1 = call;
|
|
2006
1998
|
return i;
|
|
2007
1999
|
};
|
|
2008
|
-
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
2009
|
-
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
2000
|
+
function Logging$lambda$slambda_6($okHttpFormat, $level, $logger, resultContinuation) {
|
|
2001
|
+
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation);
|
|
2010
2002
|
var l = function ($this$on, call, $completion) {
|
|
2011
|
-
return i.
|
|
2003
|
+
return i.t5j($this$on, call, $completion);
|
|
2012
2004
|
};
|
|
2013
2005
|
l.$arity = 2;
|
|
2014
2006
|
return l;
|
|
2015
2007
|
}
|
|
2016
2008
|
function Logging$lambda$lambda$lambda(it) {
|
|
2017
2009
|
_init_properties_Logging_kt__66pui5();
|
|
2018
|
-
return !get_isSaved(it.
|
|
2010
|
+
return !get_isSaved(it.q3o());
|
|
2019
2011
|
}
|
|
2020
2012
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2021
|
-
this.
|
|
2013
|
+
this.d5k_1 = $level;
|
|
2022
2014
|
CoroutineImpl.call(this, resultContinuation);
|
|
2023
2015
|
}
|
|
2024
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2025
|
-
var tmp = this.
|
|
2016
|
+
protoOf(Logging$lambda$lambda$slambda).h40 = function (response, $completion) {
|
|
2017
|
+
var tmp = this.u3y(response, $completion);
|
|
2026
2018
|
tmp.c9_1 = Unit_instance;
|
|
2027
2019
|
tmp.d9_1 = null;
|
|
2028
2020
|
return tmp.i9();
|
|
2029
2021
|
};
|
|
2030
2022
|
protoOf(Logging$lambda$lambda$slambda).u9 = function (p1, $completion) {
|
|
2031
|
-
return this.
|
|
2023
|
+
return this.h40(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
2032
2024
|
};
|
|
2033
2025
|
protoOf(Logging$lambda$lambda$slambda).i9 = function () {
|
|
2034
2026
|
var suspendResult = this.c9_1;
|
|
@@ -2038,11 +2030,11 @@
|
|
|
2038
2030
|
switch (tmp) {
|
|
2039
2031
|
case 0:
|
|
2040
2032
|
this.b9_1 = 3;
|
|
2041
|
-
if (this.
|
|
2033
|
+
if (this.d5k_1.equals(LogLevel_NONE_getInstance()) || this.e5k_1.f3r().z3q().q2j(get_DisableLogging()))
|
|
2042
2034
|
return Unit_instance;
|
|
2043
|
-
this.
|
|
2035
|
+
this.f5k_1 = this.e5k_1.f3r().z3q().o2j(get_ClientCallLogger());
|
|
2044
2036
|
this.a9_1 = 1;
|
|
2045
|
-
suspendResult = logResponseBody(this.
|
|
2037
|
+
suspendResult = logResponseBody(this.f5k_1, this.e5k_1, this);
|
|
2046
2038
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2047
2039
|
return suspendResult;
|
|
2048
2040
|
}
|
|
@@ -2050,7 +2042,7 @@
|
|
|
2050
2042
|
continue $sm;
|
|
2051
2043
|
case 1:
|
|
2052
2044
|
this.a9_1 = 2;
|
|
2053
|
-
suspendResult = this.
|
|
2045
|
+
suspendResult = this.f5k_1.o58(this);
|
|
2054
2046
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2055
2047
|
return suspendResult;
|
|
2056
2048
|
}
|
|
@@ -2072,36 +2064,36 @@
|
|
|
2072
2064
|
}
|
|
2073
2065
|
while (true);
|
|
2074
2066
|
};
|
|
2075
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2076
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2077
|
-
i.
|
|
2067
|
+
protoOf(Logging$lambda$lambda$slambda).u3y = function (response, completion) {
|
|
2068
|
+
var i = new Logging$lambda$lambda$slambda(this.d5k_1, completion);
|
|
2069
|
+
i.e5k_1 = response;
|
|
2078
2070
|
return i;
|
|
2079
2071
|
};
|
|
2080
2072
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
2081
2073
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
2082
2074
|
var l = function (response, $completion) {
|
|
2083
|
-
return i.
|
|
2075
|
+
return i.h40(response, $completion);
|
|
2084
2076
|
};
|
|
2085
2077
|
l.$arity = 1;
|
|
2086
2078
|
return l;
|
|
2087
2079
|
}
|
|
2088
2080
|
function Logging$lambda$lambda($level) {
|
|
2089
2081
|
return function ($this$prepare) {
|
|
2090
|
-
$this$prepare.
|
|
2091
|
-
$this$prepare.
|
|
2082
|
+
$this$prepare.x4l(Logging$lambda$lambda$lambda);
|
|
2083
|
+
$this$prepare.w4l(Logging$lambda$lambda$slambda_0($level, null));
|
|
2092
2084
|
return Unit_instance;
|
|
2093
2085
|
};
|
|
2094
2086
|
}
|
|
2095
2087
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2096
2088
|
CoroutineImpl.call(this, resultContinuation);
|
|
2097
|
-
this.
|
|
2098
|
-
this.
|
|
2099
|
-
this.
|
|
2100
|
-
this.
|
|
2101
|
-
this.
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2104
|
-
this.
|
|
2089
|
+
this.z5d_1 = bodyFilter;
|
|
2090
|
+
this.a5e_1 = url;
|
|
2091
|
+
this.b5e_1 = content;
|
|
2092
|
+
this.c5e_1 = contentLength;
|
|
2093
|
+
this.d5e_1 = headers;
|
|
2094
|
+
this.e5e_1 = method;
|
|
2095
|
+
this.f5e_1 = logLines;
|
|
2096
|
+
this.g5e_1 = body;
|
|
2105
2097
|
}
|
|
2106
2098
|
protoOf($invoke$logRequestBodyCOROUTINE$).i9 = function () {
|
|
2107
2099
|
var suspendResult = this.c9_1;
|
|
@@ -2112,7 +2104,7 @@
|
|
|
2112
2104
|
case 0:
|
|
2113
2105
|
this.b9_1 = 2;
|
|
2114
2106
|
this.a9_1 = 1;
|
|
2115
|
-
suspendResult = this.
|
|
2107
|
+
suspendResult = this.z5d_1.p58(this.a5e_1, this.c5e_1, this.b5e_1.v35(), this.d5e_1, this.g5e_1, this);
|
|
2116
2108
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2117
2109
|
return suspendResult;
|
|
2118
2110
|
}
|
|
@@ -2121,29 +2113,29 @@
|
|
|
2121
2113
|
case 1:
|
|
2122
2114
|
var filteredBody = suspendResult;
|
|
2123
2115
|
if (filteredBody instanceof Empty) {
|
|
2124
|
-
this.
|
|
2116
|
+
this.f5e_1.j1('--> END ' + this.e5e_1.i30_1 + ' (0-byte body)');
|
|
2125
2117
|
} else {
|
|
2126
2118
|
if (filteredBody instanceof Skip) {
|
|
2127
2119
|
var this_0 = StringBuilder_init_$Create$();
|
|
2128
|
-
this_0.q('--> END ' + this.
|
|
2129
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2120
|
+
this_0.q('--> END ' + this.e5e_1.i30_1 + ' (');
|
|
2121
|
+
var tmp0_safe_receiver = filteredBody.t58_1;
|
|
2130
2122
|
if (tmp0_safe_receiver == null)
|
|
2131
2123
|
null;
|
|
2132
2124
|
else {
|
|
2133
2125
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2134
2126
|
}
|
|
2135
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2127
|
+
var tmp1_safe_receiver = filteredBody.u58_1;
|
|
2136
2128
|
if (tmp1_safe_receiver == null)
|
|
2137
2129
|
null;
|
|
2138
2130
|
else {
|
|
2139
2131
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2140
2132
|
}
|
|
2141
2133
|
this_0.q('body omitted)');
|
|
2142
|
-
this.
|
|
2134
|
+
this.f5e_1.j1(this_0.toString());
|
|
2143
2135
|
} else {
|
|
2144
2136
|
if (isInterface(filteredBody, Content)) {
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2137
|
+
this.f5e_1.j1(filteredBody.v58());
|
|
2138
|
+
this.f5e_1.j1('--> END ' + this.e5e_1.i30_1 + ' (' + toString_0(filteredBody.s58()) + '-byte body)');
|
|
2147
2139
|
} else {
|
|
2148
2140
|
noWhenBranchMatchedException();
|
|
2149
2141
|
}
|
|
@@ -2167,14 +2159,14 @@
|
|
|
2167
2159
|
};
|
|
2168
2160
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2169
2161
|
CoroutineImpl.call(this, resultContinuation);
|
|
2170
|
-
this.
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2173
|
-
this.
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2162
|
+
this.p5e_1 = $this_createClientPlugin;
|
|
2163
|
+
this.q5e_1 = bodyFilter;
|
|
2164
|
+
this.r5e_1 = url;
|
|
2165
|
+
this.s5e_1 = content;
|
|
2166
|
+
this.t5e_1 = method;
|
|
2167
|
+
this.u5e_1 = headers;
|
|
2168
|
+
this.v5e_1 = logLines;
|
|
2169
|
+
this.w5e_1 = process;
|
|
2178
2170
|
}
|
|
2179
2171
|
protoOf($invoke$logOutgoingContentCOROUTINE$).i9 = function () {
|
|
2180
2172
|
var suspendResult = this.c9_1;
|
|
@@ -2184,10 +2176,10 @@
|
|
|
2184
2176
|
switch (tmp) {
|
|
2185
2177
|
case 0:
|
|
2186
2178
|
this.b9_1 = 7;
|
|
2187
|
-
var tmp0_subject = this.
|
|
2179
|
+
var tmp0_subject = this.s5e_1;
|
|
2188
2180
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2189
2181
|
this.a9_1 = 5;
|
|
2190
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2182
|
+
suspendResult = invoke$logOutgoingContent(this.p5e_1, this.q5e_1, this.r5e_1, this.s5e_1.q3t_1, this.t5e_1, this.u5e_1, this.v5e_1, this.w5e_1, this);
|
|
2191
2183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2192
2184
|
return suspendResult;
|
|
2193
2185
|
}
|
|
@@ -2195,41 +2187,41 @@
|
|
|
2195
2187
|
} else {
|
|
2196
2188
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2197
2189
|
var tmp_0 = this;
|
|
2198
|
-
var _iterator__ex2g4s = this.
|
|
2190
|
+
var _iterator__ex2g4s = this.s5e_1.h5k_1.t();
|
|
2199
2191
|
while (_iterator__ex2g4s.u()) {
|
|
2200
2192
|
var part = _iterator__ex2g4s.v();
|
|
2201
|
-
this.
|
|
2202
|
-
var _iterator__ex2g4s_0 = part.
|
|
2193
|
+
this.v5e_1.j1('--' + this.s5e_1.i5k_1);
|
|
2194
|
+
var _iterator__ex2g4s_0 = part.j5k_1.c2o().t();
|
|
2203
2195
|
while (_iterator__ex2g4s_0.u()) {
|
|
2204
2196
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2205
2197
|
var key = _destruct__k2r9zo.r1();
|
|
2206
2198
|
var values = _destruct__k2r9zo.s1();
|
|
2207
|
-
this.
|
|
2199
|
+
this.v5e_1.j1(key + ': ' + joinToString(values, '; '));
|
|
2208
2200
|
}
|
|
2209
2201
|
if (part instanceof FormItem) {
|
|
2210
|
-
this.
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2202
|
+
this.v5e_1.j1('Content-Length: ' + part.l5k_1.length);
|
|
2203
|
+
this.v5e_1.j1('');
|
|
2204
|
+
this.v5e_1.j1(part.l5k_1);
|
|
2213
2205
|
} else {
|
|
2214
|
-
this.
|
|
2215
|
-
var contentLength = part.
|
|
2206
|
+
this.v5e_1.j1('');
|
|
2207
|
+
var contentLength = part.j5k_1.l2n('Content-Length');
|
|
2216
2208
|
if (!(contentLength == null)) {
|
|
2217
|
-
this.
|
|
2209
|
+
this.v5e_1.j1('binary ' + contentLength + '-byte body omitted');
|
|
2218
2210
|
} else {
|
|
2219
|
-
this.
|
|
2211
|
+
this.v5e_1.j1('binary body omitted');
|
|
2220
2212
|
}
|
|
2221
2213
|
}
|
|
2222
2214
|
}
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
tmp_0.
|
|
2215
|
+
this.v5e_1.j1('--' + this.s5e_1.i5k_1 + '--');
|
|
2216
|
+
this.v5e_1.j1('--> END ' + this.t5e_1.i30_1);
|
|
2217
|
+
tmp_0.x5e_1 = null;
|
|
2226
2218
|
this.a9_1 = 6;
|
|
2227
2219
|
continue $sm;
|
|
2228
2220
|
} else {
|
|
2229
2221
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2230
|
-
var bytes = this.
|
|
2222
|
+
var bytes = this.s5e_1.y35();
|
|
2231
2223
|
this.a9_1 = 4;
|
|
2232
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2224
|
+
suspendResult = invoke$logRequestBody(this.q5e_1, this.r5e_1, this.s5e_1, fromInt(bytes.length), this.u5e_1, this.t5e_1, this.v5e_1, ByteReadChannel(bytes), this);
|
|
2233
2225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2234
2226
|
return suspendResult;
|
|
2235
2227
|
}
|
|
@@ -2237,7 +2229,7 @@
|
|
|
2237
2229
|
} else {
|
|
2238
2230
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2239
2231
|
this.a9_1 = 3;
|
|
2240
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2232
|
+
suspendResult = invoke$logOutgoingContent(this.p5e_1, this.q5e_1, this.r5e_1, this.s5e_1.h36(), this.t5e_1, this.u5e_1, this.v5e_1, this.w5e_1, this);
|
|
2241
2233
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2242
2234
|
return suspendResult;
|
|
2243
2235
|
}
|
|
@@ -2245,24 +2237,24 @@
|
|
|
2245
2237
|
} else {
|
|
2246
2238
|
if (tmp0_subject instanceof NoContent) {
|
|
2247
2239
|
var tmp_1 = this;
|
|
2248
|
-
this.
|
|
2249
|
-
tmp_1.
|
|
2240
|
+
this.v5e_1.j1('--> END ' + this.t5e_1.i30_1);
|
|
2241
|
+
tmp_1.x5e_1 = null;
|
|
2250
2242
|
this.a9_1 = 6;
|
|
2251
2243
|
continue $sm;
|
|
2252
2244
|
} else {
|
|
2253
2245
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2254
2246
|
var tmp_2 = this;
|
|
2255
|
-
this.
|
|
2256
|
-
tmp_2.
|
|
2247
|
+
this.v5e_1.j1('--> END ' + this.t5e_1.i30_1);
|
|
2248
|
+
tmp_2.x5e_1 = null;
|
|
2257
2249
|
this.a9_1 = 6;
|
|
2258
2250
|
continue $sm;
|
|
2259
2251
|
} else {
|
|
2260
2252
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2261
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2262
|
-
this.
|
|
2263
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2253
|
+
var _destruct__k2r9zo_0 = split(this.s5e_1.b36(), this.p5e_1.t3x_1);
|
|
2254
|
+
this.y5e_1 = _destruct__k2r9zo_0.bg();
|
|
2255
|
+
var newChannel = _destruct__k2r9zo_0.cg();
|
|
2264
2256
|
this.a9_1 = 2;
|
|
2265
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2257
|
+
suspendResult = invoke$logRequestBody(this.q5e_1, this.r5e_1, this.s5e_1, this.s5e_1.x35(), this.u5e_1, this.t5e_1, this.v5e_1, newChannel, this);
|
|
2266
2258
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2267
2259
|
return suspendResult;
|
|
2268
2260
|
}
|
|
@@ -2270,12 +2262,12 @@
|
|
|
2270
2262
|
} else {
|
|
2271
2263
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2272
2264
|
var channel = new ByteChannel();
|
|
2273
|
-
launch(this.
|
|
2274
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2275
|
-
this.
|
|
2276
|
-
var newChannel_0 = _destruct__k2r9zo_1.
|
|
2265
|
+
launch(this.p5e_1.t3x_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.s5e_1, channel, null));
|
|
2266
|
+
var _destruct__k2r9zo_1 = split(channel, this.p5e_1.t3x_1);
|
|
2267
|
+
this.z5e_1 = _destruct__k2r9zo_1.bg();
|
|
2268
|
+
var newChannel_0 = _destruct__k2r9zo_1.cg();
|
|
2277
2269
|
this.a9_1 = 1;
|
|
2278
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2270
|
+
suspendResult = invoke$logRequestBody(this.q5e_1, this.r5e_1, this.s5e_1, this.s5e_1.x35(), this.u5e_1, this.t5e_1, this.v5e_1, newChannel_0, this);
|
|
2279
2271
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2280
2272
|
return suspendResult;
|
|
2281
2273
|
}
|
|
@@ -2294,27 +2286,27 @@
|
|
|
2294
2286
|
|
|
2295
2287
|
break;
|
|
2296
2288
|
case 1:
|
|
2297
|
-
this.
|
|
2289
|
+
this.x5e_1 = new LoggedContent(this.s5e_1, this.z5e_1);
|
|
2298
2290
|
this.a9_1 = 6;
|
|
2299
2291
|
continue $sm;
|
|
2300
2292
|
case 2:
|
|
2301
|
-
this.
|
|
2293
|
+
this.x5e_1 = new LoggedContent(this.s5e_1, this.y5e_1);
|
|
2302
2294
|
this.a9_1 = 6;
|
|
2303
2295
|
continue $sm;
|
|
2304
2296
|
case 3:
|
|
2305
|
-
this.
|
|
2297
|
+
this.x5e_1 = suspendResult;
|
|
2306
2298
|
this.a9_1 = 6;
|
|
2307
2299
|
continue $sm;
|
|
2308
2300
|
case 4:
|
|
2309
|
-
this.
|
|
2301
|
+
this.x5e_1 = null;
|
|
2310
2302
|
this.a9_1 = 6;
|
|
2311
2303
|
continue $sm;
|
|
2312
2304
|
case 5:
|
|
2313
|
-
this.
|
|
2305
|
+
this.x5e_1 = suspendResult;
|
|
2314
2306
|
this.a9_1 = 6;
|
|
2315
2307
|
continue $sm;
|
|
2316
2308
|
case 6:
|
|
2317
|
-
return this.
|
|
2309
|
+
return this.x5e_1;
|
|
2318
2310
|
case 7:
|
|
2319
2311
|
throw this.d9_1;
|
|
2320
2312
|
}
|
|
@@ -2331,12 +2323,12 @@
|
|
|
2331
2323
|
};
|
|
2332
2324
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2333
2325
|
CoroutineImpl.call(this, resultContinuation);
|
|
2334
|
-
this.
|
|
2335
|
-
this.
|
|
2336
|
-
this.
|
|
2337
|
-
this.
|
|
2338
|
-
this.
|
|
2339
|
-
this.
|
|
2326
|
+
this.i5f_1 = sanitizedHeaders;
|
|
2327
|
+
this.j5f_1 = level;
|
|
2328
|
+
this.k5f_1 = $this_createClientPlugin;
|
|
2329
|
+
this.l5f_1 = bodyFilter;
|
|
2330
|
+
this.m5f_1 = request;
|
|
2331
|
+
this.n5f_1 = logLines;
|
|
2340
2332
|
}
|
|
2341
2333
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).i9 = function () {
|
|
2342
2334
|
var suspendResult = this.c9_1;
|
|
@@ -2346,22 +2338,22 @@
|
|
|
2346
2338
|
switch (tmp) {
|
|
2347
2339
|
case 0:
|
|
2348
2340
|
this.b9_1 = 4;
|
|
2349
|
-
if (invoke$isNone(this.
|
|
2341
|
+
if (invoke$isNone(this.j5f_1))
|
|
2350
2342
|
return null;
|
|
2351
|
-
var uri =
|
|
2352
|
-
var body = this.
|
|
2343
|
+
var uri = takeFrom(new URLBuilder(), this.m5f_1.q3p_1).s2v().toString();
|
|
2344
|
+
var body = this.m5f_1.t3p_1;
|
|
2353
2345
|
var this_0 = new HeadersBuilder();
|
|
2354
2346
|
var tmp_0;
|
|
2355
2347
|
var tmp_1;
|
|
2356
2348
|
var tmp_2;
|
|
2357
2349
|
if (body instanceof OutgoingContent) {
|
|
2358
|
-
tmp_2 = !this.
|
|
2350
|
+
tmp_2 = !this.m5f_1.r3p_1.equals(Companion_getInstance().y2z_1);
|
|
2359
2351
|
} else {
|
|
2360
2352
|
tmp_2 = false;
|
|
2361
2353
|
}
|
|
2362
2354
|
|
|
2363
2355
|
if (tmp_2) {
|
|
2364
|
-
tmp_1 = !this.
|
|
2356
|
+
tmp_1 = !this.m5f_1.r3p_1.equals(Companion_getInstance().d30_1);
|
|
2365
2357
|
} else {
|
|
2366
2358
|
tmp_1 = false;
|
|
2367
2359
|
}
|
|
@@ -2373,13 +2365,13 @@
|
|
|
2373
2365
|
}
|
|
2374
2366
|
|
|
2375
2367
|
if (tmp_0) {
|
|
2376
|
-
var tmp0_safe_receiver = body.
|
|
2368
|
+
var tmp0_safe_receiver = body.v35();
|
|
2377
2369
|
if (tmp0_safe_receiver == null)
|
|
2378
2370
|
null;
|
|
2379
2371
|
else {
|
|
2380
2372
|
appendIfNameAbsent(this_0, 'Content-Type', tmp0_safe_receiver.toString());
|
|
2381
2373
|
}
|
|
2382
|
-
var tmp1_safe_receiver = body.
|
|
2374
|
+
var tmp1_safe_receiver = body.x35();
|
|
2383
2375
|
if (tmp1_safe_receiver == null)
|
|
2384
2376
|
null;
|
|
2385
2377
|
else {
|
|
@@ -2387,16 +2379,16 @@
|
|
|
2387
2379
|
}
|
|
2388
2380
|
}
|
|
2389
2381
|
|
|
2390
|
-
appendAll(this_0, this.
|
|
2391
|
-
var headers = this_0.
|
|
2392
|
-
var tmp0_safe_receiver_0 = headers.
|
|
2382
|
+
appendAll(this_0, this.m5f_1.s3p_1);
|
|
2383
|
+
var headers = this_0.s2v();
|
|
2384
|
+
var tmp0_safe_receiver_0 = headers.l2n('Content-Length');
|
|
2393
2385
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2394
2386
|
var tmp_3;
|
|
2395
|
-
if (this.
|
|
2396
|
-
tmp_3 = '--> ' + this.
|
|
2387
|
+
if (this.m5f_1.r3p_1.equals(Companion_getInstance().y2z_1) || this.m5f_1.r3p_1.equals(Companion_getInstance().d30_1) || ((invoke$isHeaders(this.j5f_1) || invoke$isBody(this.j5f_1)) && !(contentLength == null)) || (invoke$isHeaders(this.j5f_1) && contentLength == null) || headers.x2m('Content-Encoding')) {
|
|
2388
|
+
tmp_3 = '--> ' + this.m5f_1.r3p_1.i30_1 + ' ' + uri;
|
|
2397
2389
|
} else {
|
|
2398
|
-
if (invoke$isInfo(this.
|
|
2399
|
-
tmp_3 = '--> ' + this.
|
|
2390
|
+
if (invoke$isInfo(this.j5f_1) && !(contentLength == null)) {
|
|
2391
|
+
tmp_3 = '--> ' + this.m5f_1.r3p_1.i30_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2400
2392
|
} else {
|
|
2401
2393
|
var tmp_4;
|
|
2402
2394
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2405,32 +2397,32 @@
|
|
|
2405
2397
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2406
2398
|
}
|
|
2407
2399
|
if (tmp_4) {
|
|
2408
|
-
tmp_3 = '--> ' + this.
|
|
2400
|
+
tmp_3 = '--> ' + this.m5f_1.r3p_1.i30_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2409
2401
|
} else {
|
|
2410
|
-
var size = computeRequestBodySize(this.
|
|
2411
|
-
tmp_3 = '--> ' + this.
|
|
2402
|
+
var size = computeRequestBodySize(this.m5f_1.t3p_1);
|
|
2403
|
+
tmp_3 = '--> ' + this.m5f_1.r3p_1.i30_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2412
2404
|
}
|
|
2413
2405
|
}
|
|
2414
2406
|
}
|
|
2415
2407
|
|
|
2416
2408
|
var startLine = tmp_3;
|
|
2417
|
-
this.
|
|
2418
|
-
if (!invoke$isHeaders(this.
|
|
2409
|
+
this.n5f_1.j1(startLine);
|
|
2410
|
+
if (!invoke$isHeaders(this.j5f_1) && !invoke$isBody(this.j5f_1)) {
|
|
2419
2411
|
return null;
|
|
2420
2412
|
}
|
|
2421
2413
|
|
|
2422
|
-
var _iterator__ex2g4s = headers.
|
|
2414
|
+
var _iterator__ex2g4s = headers.c2o().t();
|
|
2423
2415
|
while (_iterator__ex2g4s.u()) {
|
|
2424
2416
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2425
2417
|
var name = _destruct__k2r9zo.r1();
|
|
2426
2418
|
var values = _destruct__k2r9zo.s1();
|
|
2427
|
-
var tmp0 = this.
|
|
2419
|
+
var tmp0 = this.i5f_1;
|
|
2428
2420
|
var tmp$ret$0 = Unit_instance;
|
|
2429
2421
|
l$ret$1: do {
|
|
2430
2422
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2431
2423
|
while (_iterator__ex2g4s_0.u()) {
|
|
2432
2424
|
var element = _iterator__ex2g4s_0.v();
|
|
2433
|
-
if (element.
|
|
2425
|
+
if (element.q5g_1(name)) {
|
|
2434
2426
|
tmp$ret$0 = element;
|
|
2435
2427
|
break l$ret$1;
|
|
2436
2428
|
}
|
|
@@ -2439,35 +2431,35 @@
|
|
|
2439
2431
|
}
|
|
2440
2432
|
while (false);
|
|
2441
2433
|
if (tmp$ret$0 == null) {
|
|
2442
|
-
this.
|
|
2434
|
+
this.n5f_1.j1(name + ': ' + joinToString(values, ', '));
|
|
2443
2435
|
} else {
|
|
2444
|
-
this.
|
|
2436
|
+
this.n5f_1.j1(name + ': \u2588\u2588');
|
|
2445
2437
|
}
|
|
2446
2438
|
}
|
|
2447
2439
|
|
|
2448
|
-
if (!invoke$isBody(this.
|
|
2449
|
-
this.
|
|
2440
|
+
if (!invoke$isBody(this.j5f_1) || this.m5f_1.r3p_1.equals(Companion_getInstance().y2z_1) || this.m5f_1.r3p_1.equals(Companion_getInstance().d30_1)) {
|
|
2441
|
+
this.n5f_1.j1('--> END ' + this.m5f_1.r3p_1.i30_1);
|
|
2450
2442
|
return null;
|
|
2451
2443
|
}
|
|
2452
2444
|
|
|
2453
|
-
this.
|
|
2445
|
+
this.n5f_1.j1('');
|
|
2454
2446
|
if (!(body instanceof OutgoingContent)) {
|
|
2455
|
-
this.
|
|
2447
|
+
this.n5f_1.j1('--> END ' + this.m5f_1.r3p_1.i30_1);
|
|
2456
2448
|
return null;
|
|
2457
2449
|
}
|
|
2458
2450
|
|
|
2459
|
-
if (this.
|
|
2451
|
+
if (this.m5f_1.s3p_1.l2n('Content-Encoding') === 'gzip') {
|
|
2460
2452
|
this.a9_1 = 2;
|
|
2461
|
-
var tmp_5 = this.
|
|
2462
|
-
var tmp_6 = this.
|
|
2463
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2453
|
+
var tmp_5 = this.m5f_1.q3p_1.s2v();
|
|
2454
|
+
var tmp_6 = this.m5f_1.r3p_1;
|
|
2455
|
+
suspendResult = invoke$logOutgoingContent(this.k5f_1, this.l5f_1, tmp_5, body, tmp_6, headers, this.n5f_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2464
2456
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2465
2457
|
return suspendResult;
|
|
2466
2458
|
}
|
|
2467
2459
|
continue $sm;
|
|
2468
2460
|
} else {
|
|
2469
2461
|
this.a9_1 = 1;
|
|
2470
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2462
|
+
suspendResult = invoke$logOutgoingContent(this.k5f_1, this.l5f_1, this.m5f_1.q3p_1.s2v(), body, this.m5f_1.r3p_1, headers, this.n5f_1, VOID, this);
|
|
2471
2463
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2472
2464
|
return suspendResult;
|
|
2473
2465
|
}
|
|
@@ -2475,15 +2467,15 @@
|
|
|
2475
2467
|
}
|
|
2476
2468
|
|
|
2477
2469
|
case 1:
|
|
2478
|
-
this.
|
|
2470
|
+
this.o5f_1 = suspendResult;
|
|
2479
2471
|
this.a9_1 = 3;
|
|
2480
2472
|
continue $sm;
|
|
2481
2473
|
case 2:
|
|
2482
|
-
this.
|
|
2474
|
+
this.o5f_1 = suspendResult;
|
|
2483
2475
|
this.a9_1 = 3;
|
|
2484
2476
|
continue $sm;
|
|
2485
2477
|
case 3:
|
|
2486
|
-
var newContent = this.
|
|
2478
|
+
var newContent = this.o5f_1;
|
|
2487
2479
|
return newContent;
|
|
2488
2480
|
case 4:
|
|
2489
2481
|
throw this.d9_1;
|
|
@@ -2501,10 +2493,10 @@
|
|
|
2501
2493
|
};
|
|
2502
2494
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2503
2495
|
CoroutineImpl.call(this, resultContinuation);
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2506
|
-
this.
|
|
2507
|
-
this.
|
|
2496
|
+
this.x5f_1 = bodyFilter;
|
|
2497
|
+
this.y5f_1 = response;
|
|
2498
|
+
this.z5f_1 = body;
|
|
2499
|
+
this.a5g_1 = logLines;
|
|
2508
2500
|
}
|
|
2509
2501
|
protoOf($invoke$logResponseBodyCOROUTINE$).i9 = function () {
|
|
2510
2502
|
var suspendResult = this.c9_1;
|
|
@@ -2514,9 +2506,9 @@
|
|
|
2514
2506
|
switch (tmp) {
|
|
2515
2507
|
case 0:
|
|
2516
2508
|
this.b9_1 = 2;
|
|
2517
|
-
this.
|
|
2509
|
+
this.a5g_1.j1('');
|
|
2518
2510
|
this.a9_1 = 1;
|
|
2519
|
-
suspendResult = this.
|
|
2511
|
+
suspendResult = this.x5f_1.r58(this.y5f_1.f3r().y3q().h3r(), contentLength(this.y5f_1), contentType(this.y5f_1), this.y5f_1.x2z(), this.z5f_1, this);
|
|
2520
2512
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2521
2513
|
return suspendResult;
|
|
2522
2514
|
}
|
|
@@ -2524,33 +2516,33 @@
|
|
|
2524
2516
|
continue $sm;
|
|
2525
2517
|
case 1:
|
|
2526
2518
|
var filteredBody = suspendResult;
|
|
2527
|
-
var duration = subtract(this.
|
|
2519
|
+
var duration = subtract(this.y5f_1.r3r().r2p_1, this.y5f_1.q3r().r2p_1);
|
|
2528
2520
|
if (filteredBody instanceof Empty) {
|
|
2529
|
-
this.
|
|
2521
|
+
this.a5g_1.j1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2530
2522
|
} else {
|
|
2531
2523
|
if (filteredBody instanceof Skip) {
|
|
2532
2524
|
var this_0 = StringBuilder_init_$Create$();
|
|
2533
2525
|
this_0.q('<-- END HTTP (');
|
|
2534
2526
|
this_0.nc(duration);
|
|
2535
2527
|
this_0.q('ms, ');
|
|
2536
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2528
|
+
var tmp0_safe_receiver = filteredBody.t58_1;
|
|
2537
2529
|
if (tmp0_safe_receiver == null)
|
|
2538
2530
|
null;
|
|
2539
2531
|
else {
|
|
2540
2532
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2541
2533
|
}
|
|
2542
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2534
|
+
var tmp1_safe_receiver = filteredBody.u58_1;
|
|
2543
2535
|
if (tmp1_safe_receiver == null)
|
|
2544
2536
|
null;
|
|
2545
2537
|
else {
|
|
2546
2538
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2547
2539
|
}
|
|
2548
2540
|
this_0.q('body omitted)');
|
|
2549
|
-
this.
|
|
2541
|
+
this.a5g_1.j1(this_0.toString());
|
|
2550
2542
|
} else {
|
|
2551
2543
|
if (isInterface(filteredBody, Content)) {
|
|
2552
|
-
this.
|
|
2553
|
-
this.
|
|
2544
|
+
this.a5g_1.j1(filteredBody.v58());
|
|
2545
|
+
this.a5g_1.j1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.s58()) + '-byte body)');
|
|
2554
2546
|
} else {
|
|
2555
2547
|
noWhenBranchMatchedException();
|
|
2556
2548
|
}
|
|
@@ -2574,11 +2566,11 @@
|
|
|
2574
2566
|
};
|
|
2575
2567
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2576
2568
|
CoroutineImpl.call(this, resultContinuation);
|
|
2577
|
-
this.
|
|
2578
|
-
this.
|
|
2579
|
-
this.
|
|
2580
|
-
this.
|
|
2581
|
-
this.
|
|
2569
|
+
this.j5g_1 = sanitizedHeaders;
|
|
2570
|
+
this.k5g_1 = level;
|
|
2571
|
+
this.l5g_1 = bodyFilter;
|
|
2572
|
+
this.m5g_1 = response;
|
|
2573
|
+
this.n5g_1 = logLines;
|
|
2582
2574
|
}
|
|
2583
2575
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).i9 = function () {
|
|
2584
2576
|
var suspendResult = this.c9_1;
|
|
@@ -2588,30 +2580,30 @@
|
|
|
2588
2580
|
switch (tmp) {
|
|
2589
2581
|
case 0:
|
|
2590
2582
|
this.b9_1 = 4;
|
|
2591
|
-
if (invoke$isNone(this.
|
|
2592
|
-
return this.
|
|
2593
|
-
var tmp0_safe_receiver = this.
|
|
2583
|
+
if (invoke$isNone(this.k5g_1))
|
|
2584
|
+
return this.m5g_1;
|
|
2585
|
+
var tmp0_safe_receiver = this.m5g_1.x2z().l2n('Content-Length');
|
|
2594
2586
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2595
|
-
var request = get_request(this.
|
|
2596
|
-
var duration = subtract(this.
|
|
2597
|
-
var startLine = this.
|
|
2598
|
-
this.
|
|
2599
|
-
if (!invoke$isHeaders(this.
|
|
2600
|
-
return this.
|
|
2587
|
+
var request = get_request(this.m5g_1);
|
|
2588
|
+
var duration = subtract(this.m5g_1.r3r().r2p_1, this.m5g_1.q3r().r2p_1);
|
|
2589
|
+
var startLine = this.m5g_1.x2z().l2n('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.k5g_1) || invoke$isHeaders(this.k5g_1)) ? '<-- ' + this.m5g_1.w35().toString() + ' ' + request.h3r().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.k5g_1) && !(contentLength == null) ? '<-- ' + this.m5g_1.w35().toString() + ' ' + request.h3r().toString() + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.k5g_1) || (invoke$isInfo(this.k5g_1) && contentLength == null) || (invoke$isHeaders(this.k5g_1) && !(contentLength == null)) || this.m5g_1.x2z().l2n('Content-Encoding') === 'gzip' ? '<-- ' + this.m5g_1.w35().toString() + ' ' + request.h3r().toString() + ' (' + duration.toString() + 'ms)' : '<-- ' + this.m5g_1.w35().toString() + ' ' + request.h3r().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2590
|
+
this.n5g_1.j1(startLine);
|
|
2591
|
+
if (!invoke$isHeaders(this.k5g_1) && !invoke$isBody(this.k5g_1)) {
|
|
2592
|
+
return this.m5g_1;
|
|
2601
2593
|
}
|
|
2602
2594
|
|
|
2603
|
-
var _iterator__ex2g4s = this.
|
|
2595
|
+
var _iterator__ex2g4s = this.m5g_1.x2z().c2o().t();
|
|
2604
2596
|
while (_iterator__ex2g4s.u()) {
|
|
2605
2597
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2606
2598
|
var name = _destruct__k2r9zo.r1();
|
|
2607
2599
|
var values = _destruct__k2r9zo.s1();
|
|
2608
|
-
var tmp0 = this.
|
|
2600
|
+
var tmp0 = this.j5g_1;
|
|
2609
2601
|
var tmp$ret$0 = Unit_instance;
|
|
2610
2602
|
l$ret$1: do {
|
|
2611
2603
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2612
2604
|
while (_iterator__ex2g4s_0.u()) {
|
|
2613
2605
|
var element = _iterator__ex2g4s_0.v();
|
|
2614
|
-
if (element.
|
|
2606
|
+
if (element.q5g_1(name)) {
|
|
2615
2607
|
tmp$ret$0 = element;
|
|
2616
2608
|
break l$ret$1;
|
|
2617
2609
|
}
|
|
@@ -2620,30 +2612,30 @@
|
|
|
2620
2612
|
}
|
|
2621
2613
|
while (false);
|
|
2622
2614
|
if (tmp$ret$0 == null) {
|
|
2623
|
-
this.
|
|
2615
|
+
this.n5g_1.j1(name + ': ' + joinToString(values, ', '));
|
|
2624
2616
|
} else {
|
|
2625
|
-
this.
|
|
2617
|
+
this.n5g_1.j1(name + ': \u2588\u2588');
|
|
2626
2618
|
}
|
|
2627
2619
|
}
|
|
2628
2620
|
|
|
2629
|
-
if (!invoke$isBody(this.
|
|
2630
|
-
this.
|
|
2631
|
-
return this.
|
|
2621
|
+
if (!invoke$isBody(this.k5g_1)) {
|
|
2622
|
+
this.n5g_1.j1('<-- END HTTP');
|
|
2623
|
+
return this.m5g_1;
|
|
2632
2624
|
}
|
|
2633
2625
|
|
|
2634
2626
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2635
|
-
this.
|
|
2636
|
-
return this.
|
|
2627
|
+
this.n5g_1.j1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2628
|
+
return this.m5g_1;
|
|
2637
2629
|
}
|
|
2638
2630
|
|
|
2639
|
-
if (equals(contentType(this.
|
|
2640
|
-
this.
|
|
2641
|
-
return this.
|
|
2631
|
+
if (equals(contentType(this.m5g_1), Text_getInstance().g2v_1)) {
|
|
2632
|
+
this.n5g_1.j1('<-- END HTTP (streaming)');
|
|
2633
|
+
return this.m5g_1;
|
|
2642
2634
|
}
|
|
2643
2635
|
|
|
2644
|
-
if (get_isSaved(this.
|
|
2636
|
+
if (get_isSaved(this.m5g_1)) {
|
|
2645
2637
|
this.a9_1 = 3;
|
|
2646
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2638
|
+
suspendResult = invoke$logResponseBody(this.l5g_1, this.m5g_1, this.m5g_1.o3r(), this.n5g_1, this);
|
|
2647
2639
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2648
2640
|
return suspendResult;
|
|
2649
2641
|
}
|
|
@@ -2654,22 +2646,22 @@
|
|
|
2654
2646
|
}
|
|
2655
2647
|
|
|
2656
2648
|
case 1:
|
|
2657
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2658
|
-
this.
|
|
2659
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2649
|
+
var _destruct__k2r9zo_0 = split(this.m5g_1.o3r(), this.m5g_1);
|
|
2650
|
+
this.o5g_1 = _destruct__k2r9zo_0.bg();
|
|
2651
|
+
var newChannel = _destruct__k2r9zo_0.cg();
|
|
2660
2652
|
this.a9_1 = 2;
|
|
2661
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2653
|
+
suspendResult = invoke$logResponseBody(this.l5g_1, this.m5g_1, newChannel, this.n5g_1, this);
|
|
2662
2654
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2663
2655
|
return suspendResult;
|
|
2664
2656
|
}
|
|
2665
2657
|
|
|
2666
2658
|
continue $sm;
|
|
2667
2659
|
case 2:
|
|
2668
|
-
var tmp_0 = this.
|
|
2669
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2670
|
-
return call.
|
|
2660
|
+
var tmp_0 = this.m5g_1.f3r();
|
|
2661
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.o5g_1));
|
|
2662
|
+
return call.q3o();
|
|
2671
2663
|
case 3:
|
|
2672
|
-
return this.
|
|
2664
|
+
return this.m5g_1;
|
|
2673
2665
|
case 4:
|
|
2674
2666
|
throw this.d9_1;
|
|
2675
2667
|
}
|
|
@@ -2714,8 +2706,8 @@
|
|
|
2714
2706
|
}
|
|
2715
2707
|
tmp_0 = tmp_1;
|
|
2716
2708
|
}
|
|
2717
|
-
var tmp$ret$
|
|
2718
|
-
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$
|
|
2709
|
+
var tmp$ret$2 = tmp_0;
|
|
2710
|
+
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
|
|
2719
2711
|
ClientCallLogger = new AttributeKey(name, tmp$ret$1);
|
|
2720
2712
|
// Inline function 'io.ktor.util.AttributeKey' call
|
|
2721
2713
|
var name_0 = 'DisableLogging';
|
|
@@ -2735,8 +2727,8 @@
|
|
|
2735
2727
|
}
|
|
2736
2728
|
tmp_3 = tmp_4;
|
|
2737
2729
|
}
|
|
2738
|
-
var tmp$ret$
|
|
2739
|
-
var tmp$ret$1_0 = new TypeInfo(tmp_2, tmp$ret$
|
|
2730
|
+
var tmp$ret$2_0 = tmp_3;
|
|
2731
|
+
var tmp$ret$1_0 = new TypeInfo(tmp_2, tmp$ret$2_0);
|
|
2740
2732
|
DisableLogging = new AttributeKey(name_0, tmp$ret$1_0);
|
|
2741
2733
|
var tmp_5 = LoggingConfig$_init_$ref_f1nb0k();
|
|
2742
2734
|
Logging = createClientPlugin('Logging', tmp_5, Logging$lambda);
|
|
@@ -2747,8 +2739,8 @@
|
|
|
2747
2739
|
var this_0 = toList(headers);
|
|
2748
2740
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
2749
2741
|
var tmp = logHeaders$lambda;
|
|
2750
|
-
var tmp$ret$
|
|
2751
|
-
var sortedHeaders = sortedWith(this_0, tmp$ret$
|
|
2742
|
+
var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
|
|
2743
|
+
var sortedHeaders = sortedWith(this_0, tmp$ret$1);
|
|
2752
2744
|
// Inline function 'kotlin.collections.forEach' call
|
|
2753
2745
|
var _iterator__ex2g4s = sortedHeaders.t();
|
|
2754
2746
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -2757,21 +2749,21 @@
|
|
|
2757
2749
|
var key = element.r1();
|
|
2758
2750
|
// Inline function 'kotlin.collections.component2' call
|
|
2759
2751
|
var values = element.s1();
|
|
2760
|
-
var tmp$ret$
|
|
2752
|
+
var tmp$ret$6;
|
|
2761
2753
|
$l$block: {
|
|
2762
2754
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
2763
2755
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2764
2756
|
while (_iterator__ex2g4s_0.u()) {
|
|
2765
2757
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2766
|
-
if (element_0.
|
|
2767
|
-
tmp$ret$
|
|
2758
|
+
if (element_0.q5g_1(key)) {
|
|
2759
|
+
tmp$ret$6 = element_0;
|
|
2768
2760
|
break $l$block;
|
|
2769
2761
|
}
|
|
2770
2762
|
}
|
|
2771
|
-
tmp$ret$
|
|
2763
|
+
tmp$ret$6 = null;
|
|
2772
2764
|
}
|
|
2773
|
-
var tmp0_safe_receiver = tmp$ret$
|
|
2774
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2765
|
+
var tmp0_safe_receiver = tmp$ret$6;
|
|
2766
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p5g_1;
|
|
2775
2767
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2776
2768
|
}
|
|
2777
2769
|
}
|
|
@@ -2783,26 +2775,26 @@
|
|
|
2783
2775
|
}
|
|
2784
2776
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2785
2777
|
// Inline function 'kotlin.with' call
|
|
2786
|
-
if (level.
|
|
2778
|
+
if (level.u59_1) {
|
|
2787
2779
|
// Inline function 'kotlin.text.appendLine' call
|
|
2788
|
-
var value = 'RESPONSE: ' + response.
|
|
2780
|
+
var value = 'RESPONSE: ' + response.w35().toString();
|
|
2789
2781
|
// Inline function 'kotlin.text.appendLine' call
|
|
2790
2782
|
log.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2791
2783
|
// Inline function 'kotlin.text.appendLine' call
|
|
2792
|
-
var value_0 = 'METHOD: ' + response.
|
|
2784
|
+
var value_0 = 'METHOD: ' + response.f3r().y3q().g3r().toString();
|
|
2793
2785
|
// Inline function 'kotlin.text.appendLine' call
|
|
2794
2786
|
log.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2795
2787
|
// Inline function 'kotlin.text.appendLine' call
|
|
2796
|
-
var value_1 = 'FROM: ' + response.
|
|
2788
|
+
var value_1 = 'FROM: ' + response.f3r().y3q().h3r().toString();
|
|
2797
2789
|
// Inline function 'kotlin.text.appendLine' call
|
|
2798
2790
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2799
2791
|
}
|
|
2800
|
-
if (level.
|
|
2792
|
+
if (level.v59_1) {
|
|
2801
2793
|
// Inline function 'kotlin.text.appendLine' call
|
|
2802
2794
|
var value_2 = 'COMMON HEADERS';
|
|
2803
2795
|
// Inline function 'kotlin.text.appendLine' call
|
|
2804
2796
|
log.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
2805
|
-
logHeaders(log, response.
|
|
2797
|
+
logHeaders(log, response.x2z().c2o(), sanitizedHeaders);
|
|
2806
2798
|
}
|
|
2807
2799
|
}
|
|
2808
2800
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
@@ -2818,16 +2810,16 @@
|
|
|
2818
2810
|
return tmp.i9();
|
|
2819
2811
|
}
|
|
2820
2812
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2821
|
-
this.
|
|
2813
|
+
this.l5l_1 = function_0;
|
|
2822
2814
|
}
|
|
2823
2815
|
protoOf(sam$kotlin_Comparator$0).wd = function (a, b) {
|
|
2824
|
-
return this.
|
|
2816
|
+
return this.l5l_1(a, b);
|
|
2825
2817
|
};
|
|
2826
2818
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2827
2819
|
return this.wd(a, b);
|
|
2828
2820
|
};
|
|
2829
2821
|
protoOf(sam$kotlin_Comparator$0).q3 = function () {
|
|
2830
|
-
return this.
|
|
2822
|
+
return this.l5l_1;
|
|
2831
2823
|
};
|
|
2832
2824
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2833
2825
|
var tmp;
|
|
@@ -2850,13 +2842,13 @@
|
|
|
2850
2842
|
function logHeaders$lambda(a, b) {
|
|
2851
2843
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2852
2844
|
var tmp = a.r1();
|
|
2853
|
-
var tmp$ret$
|
|
2854
|
-
return compareValues(tmp, tmp$ret$
|
|
2845
|
+
var tmp$ret$2 = b.r1();
|
|
2846
|
+
return compareValues(tmp, tmp$ret$2);
|
|
2855
2847
|
}
|
|
2856
2848
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2857
2849
|
CoroutineImpl.call(this, resultContinuation);
|
|
2858
|
-
this.
|
|
2859
|
-
this.
|
|
2850
|
+
this.u5k_1 = _this__u8e3s4;
|
|
2851
|
+
this.v5k_1 = response;
|
|
2860
2852
|
}
|
|
2861
2853
|
protoOf($logResponseBodyCOROUTINE$_0).i9 = function () {
|
|
2862
2854
|
var suspendResult = this.c9_1;
|
|
@@ -2866,14 +2858,14 @@
|
|
|
2866
2858
|
switch (tmp) {
|
|
2867
2859
|
case 0:
|
|
2868
2860
|
this.b9_1 = 8;
|
|
2869
|
-
this.
|
|
2861
|
+
this.w5k_1 = StringBuilder_init_$Create$();
|
|
2870
2862
|
this.a9_1 = 1;
|
|
2871
2863
|
continue $sm;
|
|
2872
2864
|
case 1:
|
|
2873
2865
|
this.b9_1 = 4;
|
|
2874
2866
|
this.b9_1 = 3;
|
|
2875
2867
|
this.a9_1 = 2;
|
|
2876
|
-
suspendResult = appendResponseBody(this.
|
|
2868
|
+
suspendResult = appendResponseBody(this.w5k_1, contentType(this.v5k_1), this.v5k_1.o3r(), this);
|
|
2877
2869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2878
2870
|
return suspendResult;
|
|
2879
2871
|
}
|
|
@@ -2897,22 +2889,22 @@
|
|
|
2897
2889
|
|
|
2898
2890
|
case 4:
|
|
2899
2891
|
this.b9_1 = 8;
|
|
2900
|
-
this.
|
|
2892
|
+
this.x5k_1 = this.d9_1;
|
|
2901
2893
|
this.a9_1 = 5;
|
|
2902
|
-
var this_0 = this.
|
|
2903
|
-
suspendResult = this.
|
|
2894
|
+
var this_0 = this.w5k_1.toString();
|
|
2895
|
+
suspendResult = this.u5k_1.m58(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2904
2896
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2905
2897
|
return suspendResult;
|
|
2906
2898
|
}
|
|
2907
2899
|
|
|
2908
2900
|
continue $sm;
|
|
2909
2901
|
case 5:
|
|
2910
|
-
throw this.
|
|
2902
|
+
throw this.x5k_1;
|
|
2911
2903
|
case 6:
|
|
2912
2904
|
this.b9_1 = 8;
|
|
2913
2905
|
this.a9_1 = 7;
|
|
2914
|
-
var this_1 = this.
|
|
2915
|
-
suspendResult = this.
|
|
2906
|
+
var this_1 = this.w5k_1.toString();
|
|
2907
|
+
suspendResult = this.u5k_1.m58(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2916
2908
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2917
2909
|
return suspendResult;
|
|
2918
2910
|
}
|
|
@@ -2936,9 +2928,9 @@
|
|
|
2936
2928
|
};
|
|
2937
2929
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2938
2930
|
CoroutineImpl.call(this, resultContinuation);
|
|
2939
|
-
this.
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2931
|
+
this.g5l_1 = _this__u8e3s4;
|
|
2932
|
+
this.h5l_1 = contentType;
|
|
2933
|
+
this.i5l_1 = content;
|
|
2942
2934
|
}
|
|
2943
2935
|
protoOf($appendResponseBodyCOROUTINE$).i9 = function () {
|
|
2944
2936
|
var suspendResult = this.c9_1;
|
|
@@ -2948,16 +2940,16 @@
|
|
|
2948
2940
|
switch (tmp) {
|
|
2949
2941
|
case 0:
|
|
2950
2942
|
this.b9_1 = 3;
|
|
2951
|
-
var tmp0 = this.
|
|
2952
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2943
|
+
var tmp0 = this.g5l_1;
|
|
2944
|
+
var value = 'BODY Content-Type: ' + toString_0(this.h5l_1);
|
|
2953
2945
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2954
|
-
var tmp0_0 = this.
|
|
2946
|
+
var tmp0_0 = this.g5l_1;
|
|
2955
2947
|
var value_0 = 'BODY START';
|
|
2956
2948
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2957
|
-
var tmp0_1 = this.
|
|
2958
|
-
var tmp0_safe_receiver = this.
|
|
2949
|
+
var tmp0_1 = this.i5l_1;
|
|
2950
|
+
var tmp0_safe_receiver = this.h5l_1;
|
|
2959
2951
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2960
|
-
this.
|
|
2952
|
+
this.k5l_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().t1x_1 : tmp1_elvis_lhs;
|
|
2961
2953
|
this.b9_1 = 2;
|
|
2962
2954
|
this.a9_1 = 1;
|
|
2963
2955
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -2968,7 +2960,7 @@
|
|
|
2968
2960
|
continue $sm;
|
|
2969
2961
|
case 1:
|
|
2970
2962
|
var ARGUMENT = suspendResult;
|
|
2971
|
-
this.
|
|
2963
|
+
this.j5l_1 = readText(ARGUMENT, this.k5l_1);
|
|
2972
2964
|
this.b9_1 = 3;
|
|
2973
2965
|
this.a9_1 = 4;
|
|
2974
2966
|
continue $sm;
|
|
@@ -2978,7 +2970,7 @@
|
|
|
2978
2970
|
if (tmp_0 instanceof Error) {
|
|
2979
2971
|
var cause = this.d9_1;
|
|
2980
2972
|
var tmp_1 = this;
|
|
2981
|
-
tmp_1.
|
|
2973
|
+
tmp_1.j5l_1 = null;
|
|
2982
2974
|
this.a9_1 = 4;
|
|
2983
2975
|
continue $sm;
|
|
2984
2976
|
} else {
|
|
@@ -2989,10 +2981,10 @@
|
|
|
2989
2981
|
throw this.d9_1;
|
|
2990
2982
|
case 4:
|
|
2991
2983
|
this.b9_1 = 3;
|
|
2992
|
-
var tmp2_elvis_lhs = this.
|
|
2984
|
+
var tmp2_elvis_lhs = this.j5l_1;
|
|
2993
2985
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
2994
|
-
this.
|
|
2995
|
-
this.
|
|
2986
|
+
this.g5l_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
2987
|
+
this.g5l_1.q('BODY END');
|
|
2996
2988
|
return Unit_instance;
|
|
2997
2989
|
}
|
|
2998
2990
|
} catch ($p) {
|
|
@@ -3014,21 +3006,21 @@
|
|
|
3014
3006
|
}
|
|
3015
3007
|
function toReadChannel(_this__u8e3s4) {
|
|
3016
3008
|
var tmp = GlobalScope_instance;
|
|
3017
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
3018
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
3009
|
+
var tmp_0 = Dispatchers_getInstance().e15_1;
|
|
3010
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).l1v_1;
|
|
3019
3011
|
}
|
|
3020
3012
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3021
|
-
this.
|
|
3013
|
+
this.g5m_1 = $this_toReadChannel;
|
|
3022
3014
|
CoroutineImpl.call(this, resultContinuation);
|
|
3023
3015
|
}
|
|
3024
|
-
protoOf(toReadChannel$slambda).
|
|
3025
|
-
var tmp = this.
|
|
3016
|
+
protoOf(toReadChannel$slambda).c3b = function ($this$writer, $completion) {
|
|
3017
|
+
var tmp = this.d3b($this$writer, $completion);
|
|
3026
3018
|
tmp.c9_1 = Unit_instance;
|
|
3027
3019
|
tmp.d9_1 = null;
|
|
3028
3020
|
return tmp.i9();
|
|
3029
3021
|
};
|
|
3030
3022
|
protoOf(toReadChannel$slambda).u9 = function (p1, $completion) {
|
|
3031
|
-
return this.
|
|
3023
|
+
return this.c3b(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3032
3024
|
};
|
|
3033
3025
|
protoOf(toReadChannel$slambda).i9 = function () {
|
|
3034
3026
|
var suspendResult = this.c9_1;
|
|
@@ -3039,7 +3031,7 @@
|
|
|
3039
3031
|
case 0:
|
|
3040
3032
|
this.b9_1 = 2;
|
|
3041
3033
|
this.a9_1 = 1;
|
|
3042
|
-
suspendResult = this.
|
|
3034
|
+
suspendResult = this.g5m_1.d36(this.h5m_1.n1v_1, this);
|
|
3043
3035
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3044
3036
|
return suspendResult;
|
|
3045
3037
|
}
|
|
@@ -3061,23 +3053,23 @@
|
|
|
3061
3053
|
}
|
|
3062
3054
|
while (true);
|
|
3063
3055
|
};
|
|
3064
|
-
protoOf(toReadChannel$slambda).
|
|
3065
|
-
var i = new toReadChannel$slambda(this.
|
|
3066
|
-
i.
|
|
3056
|
+
protoOf(toReadChannel$slambda).d3b = function ($this$writer, completion) {
|
|
3057
|
+
var i = new toReadChannel$slambda(this.g5m_1, completion);
|
|
3058
|
+
i.h5m_1 = $this$writer;
|
|
3067
3059
|
return i;
|
|
3068
3060
|
};
|
|
3069
3061
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3070
3062
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3071
3063
|
var l = function ($this$writer, $completion) {
|
|
3072
|
-
return i.
|
|
3064
|
+
return i.c3b($this$writer, $completion);
|
|
3073
3065
|
};
|
|
3074
3066
|
l.$arity = 1;
|
|
3075
3067
|
return l;
|
|
3076
3068
|
}
|
|
3077
3069
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3078
3070
|
CoroutineImpl.call(this, resultContinuation);
|
|
3079
|
-
this.
|
|
3080
|
-
this.
|
|
3071
|
+
this.u5l_1 = _this__u8e3s4;
|
|
3072
|
+
this.v5l_1 = log;
|
|
3081
3073
|
}
|
|
3082
3074
|
protoOf($observeCOROUTINE$).i9 = function () {
|
|
3083
3075
|
var suspendResult = this.c9_1;
|
|
@@ -3087,10 +3079,10 @@
|
|
|
3087
3079
|
switch (tmp) {
|
|
3088
3080
|
case 0:
|
|
3089
3081
|
this.b9_1 = 6;
|
|
3090
|
-
var tmp0_subject = this.
|
|
3082
|
+
var tmp0_subject = this.u5l_1;
|
|
3091
3083
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3092
3084
|
this.a9_1 = 3;
|
|
3093
|
-
suspendResult = writeFully_0(this.
|
|
3085
|
+
suspendResult = writeFully_0(this.v5l_1, this.u5l_1.y35(), VOID, VOID, this);
|
|
3094
3086
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3095
3087
|
return suspendResult;
|
|
3096
3088
|
}
|
|
@@ -3099,25 +3091,25 @@
|
|
|
3099
3091
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3100
3092
|
var tmp_0 = this;
|
|
3101
3093
|
var responseChannel = new ByteChannel();
|
|
3102
|
-
var content = this.
|
|
3103
|
-
copyToBoth(content, this.
|
|
3104
|
-
tmp_0.
|
|
3094
|
+
var content = this.u5l_1.b36();
|
|
3095
|
+
copyToBoth(content, this.v5l_1, responseChannel);
|
|
3096
|
+
tmp_0.w5l_1 = new LoggedContent(this.u5l_1, responseChannel);
|
|
3105
3097
|
this.a9_1 = 5;
|
|
3106
3098
|
continue $sm;
|
|
3107
3099
|
} else {
|
|
3108
3100
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3109
3101
|
var tmp_1 = this;
|
|
3110
3102
|
var responseChannel_0 = new ByteChannel();
|
|
3111
|
-
var content_0 = toReadChannel(this.
|
|
3112
|
-
copyToBoth(content_0, this.
|
|
3113
|
-
tmp_1.
|
|
3103
|
+
var content_0 = toReadChannel(this.u5l_1);
|
|
3104
|
+
copyToBoth(content_0, this.v5l_1, responseChannel_0);
|
|
3105
|
+
tmp_1.w5l_1 = new LoggedContent(this.u5l_1, responseChannel_0);
|
|
3114
3106
|
this.a9_1 = 5;
|
|
3115
3107
|
continue $sm;
|
|
3116
3108
|
} else {
|
|
3117
3109
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3118
|
-
this.
|
|
3110
|
+
this.x5l_1 = this.u5l_1;
|
|
3119
3111
|
this.a9_1 = 2;
|
|
3120
|
-
suspendResult = observe(this.
|
|
3112
|
+
suspendResult = observe(this.u5l_1.h36(), this.v5l_1, this);
|
|
3121
3113
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3122
3114
|
return suspendResult;
|
|
3123
3115
|
}
|
|
@@ -3131,7 +3123,7 @@
|
|
|
3131
3123
|
}
|
|
3132
3124
|
if (tmp_2) {
|
|
3133
3125
|
this.a9_1 = 1;
|
|
3134
|
-
suspendResult = this.
|
|
3126
|
+
suspendResult = this.v5l_1.z1n(this);
|
|
3135
3127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3136
3128
|
return suspendResult;
|
|
3137
3129
|
}
|
|
@@ -3147,28 +3139,28 @@
|
|
|
3147
3139
|
|
|
3148
3140
|
break;
|
|
3149
3141
|
case 1:
|
|
3150
|
-
this.
|
|
3142
|
+
this.w5l_1 = this.u5l_1;
|
|
3151
3143
|
this.a9_1 = 5;
|
|
3152
3144
|
continue $sm;
|
|
3153
3145
|
case 2:
|
|
3154
3146
|
var ARGUMENT = suspendResult;
|
|
3155
|
-
this.
|
|
3147
|
+
this.w5l_1 = this.x5l_1.i36(ARGUMENT);
|
|
3156
3148
|
this.a9_1 = 5;
|
|
3157
3149
|
continue $sm;
|
|
3158
3150
|
case 3:
|
|
3159
3151
|
this.a9_1 = 4;
|
|
3160
|
-
suspendResult = this.
|
|
3152
|
+
suspendResult = this.v5l_1.z1n(this);
|
|
3161
3153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3162
3154
|
return suspendResult;
|
|
3163
3155
|
}
|
|
3164
3156
|
|
|
3165
3157
|
continue $sm;
|
|
3166
3158
|
case 4:
|
|
3167
|
-
this.
|
|
3159
|
+
this.w5l_1 = this.u5l_1;
|
|
3168
3160
|
this.a9_1 = 5;
|
|
3169
3161
|
continue $sm;
|
|
3170
3162
|
case 5:
|
|
3171
|
-
return this.
|
|
3163
|
+
return this.w5l_1;
|
|
3172
3164
|
case 6:
|
|
3173
3165
|
throw this.d9_1;
|
|
3174
3166
|
}
|
|
@@ -3208,13 +3200,13 @@
|
|
|
3208
3200
|
return get_SIMPLE(_this__u8e3s4);
|
|
3209
3201
|
}
|
|
3210
3202
|
//region block: post-declaration
|
|
3211
|
-
protoOf(Empty).
|
|
3212
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3213
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3203
|
+
protoOf(Empty).s58 = get_byteSize;
|
|
3204
|
+
protoOf(BinaryLogBodyFilter$1).p58 = filterRequest;
|
|
3205
|
+
protoOf(BinaryLogBodyFilter$1).r58 = filterResponse;
|
|
3214
3206
|
protoOf(MDCContextElement).n9 = get;
|
|
3215
|
-
protoOf(MDCContextElement).
|
|
3216
|
-
protoOf(MDCContextElement).
|
|
3217
|
-
protoOf(MDCContextElement).
|
|
3207
|
+
protoOf(MDCContextElement).xg = fold;
|
|
3208
|
+
protoOf(MDCContextElement).wg = minusKey;
|
|
3209
|
+
protoOf(MDCContextElement).yg = plus;
|
|
3218
3210
|
//endregion
|
|
3219
3211
|
//region block: init
|
|
3220
3212
|
Empty_instance = new Empty();
|