@doordeck/doordeck-headless-sdk 0.149.0 → 0.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +65 -65
- package/kotlin/Kermit-kermit.js +9 -9
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +59 -59
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +25 -25
- package/kotlin/doordeck-sdk.d.ts +1 -1
- package/kotlin/doordeck-sdk.js +13852 -15044
- package/kotlin/kotlin-kotlin-stdlib.js +4884 -4836
- package/kotlin/kotlinx-atomicfu.js +92 -88
- package/kotlin/kotlinx-coroutines-core.js +2871 -2878
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +71 -71
- package/kotlin/kotlinx-io-kotlinx-io-core.js +697 -676
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +2632 -2628
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1841 -1829
- package/kotlin/ktor-ktor-client-auth.js +493 -512
- package/kotlin/ktor-ktor-client-content-negotiation.js +300 -308
- package/kotlin/ktor-ktor-client-core.js +3260 -3343
- package/kotlin/ktor-ktor-client-logging.js +1267 -1301
- package/kotlin/ktor-ktor-events.js +18 -18
- package/kotlin/ktor-ktor-http-cio.js +724 -719
- package/kotlin/ktor-ktor-http.js +1171 -1166
- package/kotlin/ktor-ktor-io.js +1413 -1440
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +9 -9
- package/kotlin/ktor-ktor-serialization-kotlinx.js +295 -311
- package/kotlin/ktor-ktor-serialization.js +128 -136
- package/kotlin/ktor-ktor-utils.js +1128 -1129
- package/kotlin/ktor-ktor-websockets.js +68 -68
- package/package.json +3 -2
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_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.$_$.h9;
|
|
5
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
6
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
7
|
+
var isCharSequence = kotlin_kotlin.$_$.kb;
|
|
8
|
+
var trim = kotlin_kotlin.$_$.cf;
|
|
9
|
+
var toString = kotlin_kotlin.$_$.cc;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
11
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
|
|
13
|
+
var charSequenceLength = kotlin_kotlin.$_$.oa;
|
|
14
|
+
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
15
15
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
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.$_$.
|
|
19
|
-
var VOID = kotlin_kotlin.$_$.
|
|
20
|
-
var Enum = kotlin_kotlin.$_$.
|
|
17
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
18
|
+
var initMetadataForClass = kotlin_kotlin.$_$.za;
|
|
19
|
+
var VOID = kotlin_kotlin.$_$.b;
|
|
20
|
+
var Enum = kotlin_kotlin.$_$.of;
|
|
21
21
|
var ReadChannelContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
22
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
23
|
-
var println = kotlin_kotlin.$_$.
|
|
24
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
22
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
|
|
23
|
+
var println = kotlin_kotlin.$_$.k9;
|
|
24
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
25
25
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
26
|
-
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.
|
|
27
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
28
|
-
var Long = kotlin_kotlin.$_$.
|
|
26
|
+
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
27
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.pc;
|
|
28
|
+
var Long = kotlin_kotlin.$_$.tf;
|
|
29
29
|
var ProtocolUpgrade = kotlin_io_ktor_ktor_http.$_$.s;
|
|
30
30
|
var NoContent = kotlin_io_ktor_ktor_http.$_$.r;
|
|
31
31
|
var ContentWrapper = kotlin_io_ktor_ktor_http.$_$.q;
|
|
32
|
-
var
|
|
32
|
+
var fromInt = kotlin_kotlin.$_$.v9;
|
|
33
33
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
34
34
|
var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.j;
|
|
35
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
35
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.eb;
|
|
36
36
|
var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
|
|
37
|
-
var isSuspendFunction = kotlin_kotlin.$_$.
|
|
38
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
37
|
+
var isSuspendFunction = kotlin_kotlin.$_$.rb;
|
|
38
|
+
var initMetadataForObject = kotlin_kotlin.$_$.fb;
|
|
39
39
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
|
|
40
40
|
var PipelinePhase = kotlin_io_ktor_ktor_utils.$_$.k;
|
|
41
41
|
var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.e;
|
|
42
42
|
var HttpResponseContainer = kotlin_io_ktor_ktor_client_core.$_$.f1;
|
|
43
43
|
var Phases_getInstance_1 = kotlin_io_ktor_ktor_client_core.$_$.f;
|
|
44
44
|
var get_ResponseObserver = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
45
|
-
var Collection = kotlin_kotlin.$_$.
|
|
46
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
47
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
45
|
+
var Collection = kotlin_kotlin.$_$.b5;
|
|
46
|
+
var isInterface = kotlin_kotlin.$_$.ob;
|
|
47
|
+
var toString_0 = kotlin_kotlin.$_$.bh;
|
|
48
48
|
var charset = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
49
49
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
|
|
50
50
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
var Url = kotlin_io_ktor_ktor_http.$_$.f1;
|
|
55
55
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
56
56
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
|
|
57
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
58
|
-
var equals = kotlin_kotlin.$_$.
|
|
57
|
+
var joinToString = kotlin_kotlin.$_$.d7;
|
|
58
|
+
var equals = kotlin_kotlin.$_$.sa;
|
|
59
59
|
var get_isSaved = kotlin_io_ktor_ktor_client_core.$_$.x;
|
|
60
60
|
var HttpClientCall = kotlin_io_ktor_ktor_client_core.$_$.h;
|
|
61
61
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
@@ -64,15 +64,16 @@
|
|
|
64
64
|
var GZipEncoder_getInstance = kotlin_io_ktor_ktor_utils.$_$.a;
|
|
65
65
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
66
66
|
var readText = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
67
|
-
var Triple = kotlin_kotlin.$_$.
|
|
67
|
+
var Triple = kotlin_kotlin.$_$.ag;
|
|
68
68
|
var readAvailable = kotlin_io_ktor_ktor_io.$_$.d;
|
|
69
69
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
70
70
|
var writeFully_0 = kotlin_io_ktor_ktor_io.$_$.e1;
|
|
71
71
|
var decode = kotlin_io_ktor_ktor_io.$_$.s;
|
|
72
72
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.r;
|
|
73
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
73
|
+
var charCodeAt = kotlin_kotlin.$_$.ma;
|
|
74
74
|
var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
|
|
75
|
-
var
|
|
75
|
+
var add = kotlin_kotlin.$_$.m9;
|
|
76
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xg;
|
|
76
77
|
var split = kotlin_io_ktor_ktor_utils.$_$.h1;
|
|
77
78
|
var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
78
79
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
@@ -83,33 +84,34 @@
|
|
|
83
84
|
var EmptyContent = kotlin_io_ktor_ktor_client_core.$_$.j1;
|
|
84
85
|
var appendIfNameAbsent = kotlin_io_ktor_ktor_utils.$_$.a1;
|
|
85
86
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.z;
|
|
86
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
87
|
+
var toLongOrNull = kotlin_kotlin.$_$.se;
|
|
87
88
|
var contentLength = kotlin_io_ktor_ktor_http.$_$.l1;
|
|
88
89
|
var contentType = kotlin_io_ktor_ktor_http.$_$.n1;
|
|
90
|
+
var subtract = kotlin_kotlin.$_$.da;
|
|
89
91
|
var get_request = kotlin_io_ktor_ktor_client_core.$_$.i1;
|
|
90
92
|
var Text_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
91
93
|
var replaceResponse = kotlin_io_ktor_ktor_client_core.$_$.i;
|
|
92
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
93
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
94
|
-
var createKType = kotlin_kotlin.$_$.
|
|
94
|
+
var getKClass = kotlin_kotlin.$_$.qc;
|
|
95
|
+
var arrayOf = kotlin_kotlin.$_$.mg;
|
|
96
|
+
var createKType = kotlin_kotlin.$_$.oc;
|
|
95
97
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
|
|
96
98
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
|
|
97
|
-
var Unit = kotlin_kotlin.$_$.
|
|
99
|
+
var Unit = kotlin_kotlin.$_$.jg;
|
|
98
100
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
99
|
-
var toList = kotlin_kotlin.$_$.
|
|
100
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
101
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
102
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
103
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
104
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
101
|
+
var toList = kotlin_kotlin.$_$.e8;
|
|
102
|
+
var sortedWith = kotlin_kotlin.$_$.z7;
|
|
103
|
+
var FunctionAdapter = kotlin_kotlin.$_$.fa;
|
|
104
|
+
var Comparator = kotlin_kotlin.$_$.lf;
|
|
105
|
+
var hashCode = kotlin_kotlin.$_$.ya;
|
|
106
|
+
var compareValues = kotlin_kotlin.$_$.p8;
|
|
105
107
|
var writer = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
106
108
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
107
109
|
var copyToBoth = kotlin_io_ktor_ktor_utils.$_$.b1;
|
|
108
|
-
var get = kotlin_kotlin.$_$.
|
|
109
|
-
var fold = kotlin_kotlin.$_$.
|
|
110
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
111
|
-
var plus = kotlin_kotlin.$_$.
|
|
112
|
-
var Element = kotlin_kotlin.$_$.
|
|
110
|
+
var get = kotlin_kotlin.$_$.d9;
|
|
111
|
+
var fold = kotlin_kotlin.$_$.c9;
|
|
112
|
+
var minusKey = kotlin_kotlin.$_$.e9;
|
|
113
|
+
var plus = kotlin_kotlin.$_$.g9;
|
|
114
|
+
var Element = kotlin_kotlin.$_$.f9;
|
|
113
115
|
//endregion
|
|
114
116
|
//region block: pre-declaration
|
|
115
117
|
initMetadataForCoroutine($logResponseExceptionCOROUTINE$, CoroutineImpl);
|
|
@@ -158,177 +160,177 @@
|
|
|
158
160
|
//endregion
|
|
159
161
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
160
162
|
CoroutineImpl.call(this, resultContinuation);
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
+
this.m4p_1 = _this__u8e3s4;
|
|
164
|
+
this.n4p_1 = message;
|
|
163
165
|
}
|
|
164
|
-
protoOf($logResponseExceptionCOROUTINE$).
|
|
165
|
-
var suspendResult = this.
|
|
166
|
+
protoOf($logResponseExceptionCOROUTINE$).c9 = function () {
|
|
167
|
+
var suspendResult = this.w8_1;
|
|
166
168
|
$sm: do
|
|
167
169
|
try {
|
|
168
|
-
var tmp = this.
|
|
170
|
+
var tmp = this.u8_1;
|
|
169
171
|
switch (tmp) {
|
|
170
172
|
case 0:
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
suspendResult = this.
|
|
173
|
+
this.v8_1 = 2;
|
|
174
|
+
this.u8_1 = 1;
|
|
175
|
+
suspendResult = this.m4p_1.r4p_1.cu(this);
|
|
174
176
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
175
177
|
return suspendResult;
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
continue $sm;
|
|
179
181
|
case 1:
|
|
180
|
-
var this_0 = this.
|
|
181
|
-
this.
|
|
182
|
+
var this_0 = this.n4p_1;
|
|
183
|
+
this.m4p_1.o4p_1.v4p(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
182
184
|
return Unit_instance;
|
|
183
185
|
case 2:
|
|
184
|
-
throw this.
|
|
186
|
+
throw this.x8_1;
|
|
185
187
|
}
|
|
186
188
|
} catch ($p) {
|
|
187
189
|
var e = $p;
|
|
188
|
-
if (this.
|
|
190
|
+
if (this.v8_1 === 2) {
|
|
189
191
|
throw e;
|
|
190
192
|
} else {
|
|
191
|
-
this.
|
|
192
|
-
this.
|
|
193
|
+
this.u8_1 = this.v8_1;
|
|
194
|
+
this.x8_1 = e;
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
197
|
while (true);
|
|
196
198
|
};
|
|
197
199
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
198
200
|
CoroutineImpl.call(this, resultContinuation);
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
+
this.e4q_1 = _this__u8e3s4;
|
|
202
|
+
this.f4q_1 = message;
|
|
201
203
|
}
|
|
202
|
-
protoOf($logResponseBodyCOROUTINE$).
|
|
203
|
-
var suspendResult = this.
|
|
204
|
+
protoOf($logResponseBodyCOROUTINE$).c9 = function () {
|
|
205
|
+
var suspendResult = this.w8_1;
|
|
204
206
|
$sm: do
|
|
205
207
|
try {
|
|
206
|
-
var tmp = this.
|
|
208
|
+
var tmp = this.u8_1;
|
|
207
209
|
switch (tmp) {
|
|
208
210
|
case 0:
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
211
|
-
suspendResult = this.
|
|
211
|
+
this.v8_1 = 2;
|
|
212
|
+
this.u8_1 = 1;
|
|
213
|
+
suspendResult = this.e4q_1.s4p_1.cu(this);
|
|
212
214
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
213
215
|
return suspendResult;
|
|
214
216
|
}
|
|
215
217
|
|
|
216
218
|
continue $sm;
|
|
217
219
|
case 1:
|
|
218
|
-
this.
|
|
220
|
+
this.e4q_1.q4p_1.f8(this.f4q_1);
|
|
219
221
|
return Unit_instance;
|
|
220
222
|
case 2:
|
|
221
|
-
throw this.
|
|
223
|
+
throw this.x8_1;
|
|
222
224
|
}
|
|
223
225
|
} catch ($p) {
|
|
224
226
|
var e = $p;
|
|
225
|
-
if (this.
|
|
227
|
+
if (this.v8_1 === 2) {
|
|
226
228
|
throw e;
|
|
227
229
|
} else {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
230
|
+
this.u8_1 = this.v8_1;
|
|
231
|
+
this.x8_1 = e;
|
|
230
232
|
}
|
|
231
233
|
}
|
|
232
234
|
while (true);
|
|
233
235
|
};
|
|
234
236
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
235
237
|
CoroutineImpl.call(this, resultContinuation);
|
|
236
|
-
this.
|
|
238
|
+
this.o4q_1 = _this__u8e3s4;
|
|
237
239
|
}
|
|
238
|
-
protoOf($closeResponseLogCOROUTINE$).
|
|
239
|
-
var suspendResult = this.
|
|
240
|
+
protoOf($closeResponseLogCOROUTINE$).c9 = function () {
|
|
241
|
+
var suspendResult = this.w8_1;
|
|
240
242
|
$sm: do
|
|
241
243
|
try {
|
|
242
|
-
var tmp = this.
|
|
244
|
+
var tmp = this.u8_1;
|
|
243
245
|
switch (tmp) {
|
|
244
246
|
case 0:
|
|
245
|
-
this.
|
|
246
|
-
if (!this.
|
|
247
|
+
this.v8_1 = 2;
|
|
248
|
+
if (!this.o4q_1.u4p_1.atomicfu$compareAndSet(false, true))
|
|
247
249
|
return Unit_instance;
|
|
248
|
-
this.
|
|
249
|
-
suspendResult = this.
|
|
250
|
+
this.u8_1 = 1;
|
|
251
|
+
suspendResult = this.o4q_1.r4p_1.cu(this);
|
|
250
252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
251
253
|
return suspendResult;
|
|
252
254
|
}
|
|
253
255
|
|
|
254
256
|
continue $sm;
|
|
255
257
|
case 1:
|
|
256
|
-
var message = toString(trim(this.
|
|
258
|
+
var message = toString(trim(this.o4q_1.q4p_1));
|
|
257
259
|
if (charSequenceLength(message) > 0) {
|
|
258
|
-
this.
|
|
260
|
+
this.o4q_1.o4p_1.v4p(message);
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
return Unit_instance;
|
|
262
264
|
case 2:
|
|
263
|
-
throw this.
|
|
265
|
+
throw this.x8_1;
|
|
264
266
|
}
|
|
265
267
|
} catch ($p) {
|
|
266
268
|
var e = $p;
|
|
267
|
-
if (this.
|
|
269
|
+
if (this.v8_1 === 2) {
|
|
268
270
|
throw e;
|
|
269
271
|
} else {
|
|
270
|
-
this.
|
|
271
|
-
this.
|
|
272
|
+
this.u8_1 = this.v8_1;
|
|
273
|
+
this.x8_1 = e;
|
|
272
274
|
}
|
|
273
275
|
}
|
|
274
276
|
while (true);
|
|
275
277
|
};
|
|
276
278
|
function HttpClientCallLogger(logger) {
|
|
277
|
-
this.
|
|
278
|
-
this.
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
}
|
|
285
|
-
protoOf(HttpClientCallLogger).
|
|
286
|
-
var tmp0 = this.
|
|
279
|
+
this.o4p_1 = logger;
|
|
280
|
+
this.p4p_1 = StringBuilder_init_$Create$();
|
|
281
|
+
this.q4p_1 = StringBuilder_init_$Create$();
|
|
282
|
+
this.r4p_1 = Job();
|
|
283
|
+
this.s4p_1 = Job();
|
|
284
|
+
this.t4p_1 = atomic$boolean$1(false);
|
|
285
|
+
this.u4p_1 = atomic$boolean$1(false);
|
|
286
|
+
}
|
|
287
|
+
protoOf(HttpClientCallLogger).p4q = function (message) {
|
|
288
|
+
var tmp0 = this.p4p_1;
|
|
287
289
|
// Inline function 'kotlin.text.trim' call
|
|
288
290
|
// Inline function 'kotlin.text.appendLine' call
|
|
289
291
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
290
292
|
// Inline function 'kotlin.text.appendLine' call
|
|
291
|
-
tmp0.
|
|
293
|
+
tmp0.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
292
294
|
};
|
|
293
|
-
protoOf(HttpClientCallLogger).
|
|
294
|
-
var tmp0 = this.
|
|
295
|
+
protoOf(HttpClientCallLogger).q4q = function (message) {
|
|
296
|
+
var tmp0 = this.q4p_1;
|
|
295
297
|
// Inline function 'kotlin.text.trim' call
|
|
296
298
|
// Inline function 'kotlin.text.appendLine' call
|
|
297
299
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
298
300
|
// Inline function 'kotlin.text.appendLine' call
|
|
299
|
-
tmp0.
|
|
300
|
-
this.
|
|
301
|
+
tmp0.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
302
|
+
this.s4p_1.g11();
|
|
301
303
|
};
|
|
302
|
-
protoOf(HttpClientCallLogger).
|
|
304
|
+
protoOf(HttpClientCallLogger).r4q = function (message, $completion) {
|
|
303
305
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
304
|
-
tmp.
|
|
305
|
-
tmp.
|
|
306
|
-
return tmp.
|
|
306
|
+
tmp.w8_1 = Unit_instance;
|
|
307
|
+
tmp.x8_1 = null;
|
|
308
|
+
return tmp.c9();
|
|
307
309
|
};
|
|
308
|
-
protoOf(HttpClientCallLogger).
|
|
310
|
+
protoOf(HttpClientCallLogger).s4q = function (message, $completion) {
|
|
309
311
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
310
|
-
tmp.
|
|
311
|
-
tmp.
|
|
312
|
-
return tmp.
|
|
312
|
+
tmp.w8_1 = Unit_instance;
|
|
313
|
+
tmp.x8_1 = null;
|
|
314
|
+
return tmp.c9();
|
|
313
315
|
};
|
|
314
|
-
protoOf(HttpClientCallLogger).
|
|
315
|
-
if (!this.
|
|
316
|
+
protoOf(HttpClientCallLogger).t4q = function () {
|
|
317
|
+
if (!this.t4p_1.atomicfu$compareAndSet(false, true))
|
|
316
318
|
return Unit_instance;
|
|
317
319
|
try {
|
|
318
|
-
var message = toString(trim(this.
|
|
320
|
+
var message = toString(trim(this.p4p_1));
|
|
319
321
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
320
322
|
if (charSequenceLength(message) > 0) {
|
|
321
|
-
this.
|
|
323
|
+
this.o4p_1.v4p(message);
|
|
322
324
|
}
|
|
323
325
|
}finally {
|
|
324
|
-
this.
|
|
326
|
+
this.r4p_1.g11();
|
|
325
327
|
}
|
|
326
328
|
};
|
|
327
|
-
protoOf(HttpClientCallLogger).
|
|
329
|
+
protoOf(HttpClientCallLogger).u4q = function ($completion) {
|
|
328
330
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
329
|
-
tmp.
|
|
330
|
-
tmp.
|
|
331
|
-
return tmp.
|
|
331
|
+
tmp.w8_1 = Unit_instance;
|
|
332
|
+
tmp.x8_1 = null;
|
|
333
|
+
return tmp.c9();
|
|
332
334
|
};
|
|
333
335
|
var LogLevel_ALL_instance;
|
|
334
336
|
var LogLevel_HEADERS_instance;
|
|
@@ -348,9 +350,9 @@
|
|
|
348
350
|
}
|
|
349
351
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
350
352
|
Enum.call(this, name, ordinal);
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
353
|
+
this.x4q_1 = info;
|
|
354
|
+
this.y4q_1 = headers;
|
|
355
|
+
this.z4q_1 = body;
|
|
354
356
|
}
|
|
355
357
|
function LogLevel_ALL_getInstance() {
|
|
356
358
|
LogLevel_initEntries();
|
|
@@ -374,27 +376,27 @@
|
|
|
374
376
|
}
|
|
375
377
|
function LoggedContent(originalContent, channel) {
|
|
376
378
|
ReadChannelContent.call(this);
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
379
|
+
this.b4r_1 = originalContent;
|
|
380
|
+
this.c4r_1 = channel;
|
|
381
|
+
this.d4r_1 = this.b4r_1.i33();
|
|
382
|
+
this.e4r_1 = this.b4r_1.k33();
|
|
383
|
+
this.f4r_1 = this.b4r_1.j33();
|
|
384
|
+
this.g4r_1 = this.b4r_1.n2x();
|
|
383
385
|
}
|
|
384
|
-
protoOf(LoggedContent).
|
|
385
|
-
return this.
|
|
386
|
+
protoOf(LoggedContent).i33 = function () {
|
|
387
|
+
return this.d4r_1;
|
|
386
388
|
};
|
|
387
|
-
protoOf(LoggedContent).
|
|
388
|
-
return this.
|
|
389
|
+
protoOf(LoggedContent).k33 = function () {
|
|
390
|
+
return this.e4r_1;
|
|
389
391
|
};
|
|
390
|
-
protoOf(LoggedContent).
|
|
391
|
-
return this.
|
|
392
|
+
protoOf(LoggedContent).j33 = function () {
|
|
393
|
+
return this.f4r_1;
|
|
392
394
|
};
|
|
393
|
-
protoOf(LoggedContent).
|
|
394
|
-
return this.
|
|
395
|
+
protoOf(LoggedContent).n2x = function () {
|
|
396
|
+
return this.g4r_1;
|
|
395
397
|
};
|
|
396
|
-
protoOf(LoggedContent).
|
|
397
|
-
return this.
|
|
398
|
+
protoOf(LoggedContent).o33 = function () {
|
|
399
|
+
return this.c4r_1;
|
|
398
400
|
};
|
|
399
401
|
function Companion() {
|
|
400
402
|
}
|
|
@@ -407,7 +409,7 @@
|
|
|
407
409
|
}
|
|
408
410
|
function SimpleLogger() {
|
|
409
411
|
}
|
|
410
|
-
protoOf(SimpleLogger).
|
|
412
|
+
protoOf(SimpleLogger).v4p = function (message) {
|
|
411
413
|
println('HttpClient: ' + message);
|
|
412
414
|
};
|
|
413
415
|
function get_ClientCallLogger() {
|
|
@@ -428,19 +430,19 @@
|
|
|
428
430
|
function LoggingConfig() {
|
|
429
431
|
var tmp = this;
|
|
430
432
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
431
|
-
tmp.
|
|
433
|
+
tmp.h4r_1 = ArrayList_init_$Create$();
|
|
432
434
|
var tmp_0 = this;
|
|
433
435
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
434
|
-
tmp_0.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
436
|
+
tmp_0.i4r_1 = ArrayList_init_$Create$();
|
|
437
|
+
this.j4r_1 = null;
|
|
438
|
+
this.k4r_1 = LoggingFormat_Default_getInstance();
|
|
439
|
+
this.l4r_1 = LogLevel_HEADERS_getInstance();
|
|
438
440
|
}
|
|
439
|
-
protoOf(LoggingConfig).
|
|
440
|
-
this.
|
|
441
|
+
protoOf(LoggingConfig).m4r = function (value) {
|
|
442
|
+
this.j4r_1 = value;
|
|
441
443
|
};
|
|
442
|
-
protoOf(LoggingConfig).
|
|
443
|
-
var tmp0_elvis_lhs = this.
|
|
444
|
+
protoOf(LoggingConfig).n4r = function () {
|
|
445
|
+
var tmp0_elvis_lhs = this.j4r_1;
|
|
444
446
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
445
447
|
};
|
|
446
448
|
var LoggingFormat_Default_instance;
|
|
@@ -462,17 +464,17 @@
|
|
|
462
464
|
// Inline function 'kotlin.apply' call
|
|
463
465
|
var this_0 = StringBuilder_init_$Create$();
|
|
464
466
|
// Inline function 'kotlin.text.isEmpty' call
|
|
465
|
-
var this_1 = _this__u8e3s4.
|
|
467
|
+
var this_1 = _this__u8e3s4.n32();
|
|
466
468
|
if (charSequenceLength(this_1) === 0) {
|
|
467
|
-
this_0.
|
|
469
|
+
this_0.f8('/');
|
|
468
470
|
} else {
|
|
469
|
-
this_0.
|
|
471
|
+
this_0.f8(_this__u8e3s4.n32());
|
|
470
472
|
}
|
|
471
473
|
// Inline function 'kotlin.text.isEmpty' call
|
|
472
|
-
var this_2 = _this__u8e3s4.
|
|
474
|
+
var this_2 = _this__u8e3s4.q32();
|
|
473
475
|
if (!(charSequenceLength(this_2) === 0)) {
|
|
474
|
-
this_0.
|
|
475
|
-
this_0.
|
|
476
|
+
this_0.f8('?');
|
|
477
|
+
this_0.f8(_this__u8e3s4.q32());
|
|
476
478
|
}
|
|
477
479
|
return this_0.toString();
|
|
478
480
|
}
|
|
@@ -484,10 +486,10 @@
|
|
|
484
486
|
}
|
|
485
487
|
var tmp;
|
|
486
488
|
if (content instanceof ByteArrayContent) {
|
|
487
|
-
tmp =
|
|
489
|
+
tmp = fromInt(content.l33().length);
|
|
488
490
|
} else {
|
|
489
491
|
if (content instanceof ContentWrapper) {
|
|
490
|
-
tmp = computeRequestBodySize(content.
|
|
492
|
+
tmp = computeRequestBodySize(content.u33());
|
|
491
493
|
} else {
|
|
492
494
|
if (content instanceof NoContent) {
|
|
493
495
|
tmp = new Long(0, 0);
|
|
@@ -495,7 +497,7 @@
|
|
|
495
497
|
if (content instanceof ProtocolUpgrade) {
|
|
496
498
|
tmp = new Long(0, 0);
|
|
497
499
|
} else {
|
|
498
|
-
var message = 'Unable to calculate the size for type ' + getKClassFromExpression(content).
|
|
500
|
+
var message = 'Unable to calculate the size for type ' + getKClassFromExpression(content).va();
|
|
499
501
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
500
502
|
}
|
|
501
503
|
}
|
|
@@ -504,38 +506,38 @@
|
|
|
504
506
|
return tmp;
|
|
505
507
|
}
|
|
506
508
|
function Context(context) {
|
|
507
|
-
this.
|
|
509
|
+
this.o4r_1 = context;
|
|
508
510
|
}
|
|
509
|
-
protoOf(Context).
|
|
510
|
-
return this.
|
|
511
|
+
protoOf(Context).p4r = function (content, $completion) {
|
|
512
|
+
return this.o4r_1.o2o(content, $completion);
|
|
511
513
|
};
|
|
512
|
-
protoOf(Context).
|
|
513
|
-
return this.
|
|
514
|
+
protoOf(Context).q4r = function ($completion) {
|
|
515
|
+
return this.o4r_1.p2o($completion);
|
|
514
516
|
};
|
|
515
517
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
516
|
-
this.
|
|
518
|
+
this.z4r_1 = $handler;
|
|
517
519
|
CoroutineImpl.call(this, resultContinuation);
|
|
518
520
|
}
|
|
519
|
-
protoOf(SendHook$install$slambda).
|
|
520
|
-
var tmp = this.
|
|
521
|
-
tmp.
|
|
522
|
-
tmp.
|
|
523
|
-
return tmp.
|
|
521
|
+
protoOf(SendHook$install$slambda).w3b = function ($this$intercept, it, $completion) {
|
|
522
|
+
var tmp = this.x3b($this$intercept, it, $completion);
|
|
523
|
+
tmp.w8_1 = Unit_instance;
|
|
524
|
+
tmp.x8_1 = null;
|
|
525
|
+
return tmp.c9();
|
|
524
526
|
};
|
|
525
|
-
protoOf(SendHook$install$slambda).
|
|
527
|
+
protoOf(SendHook$install$slambda).p9 = function (p1, p2, $completion) {
|
|
526
528
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
527
|
-
return this.
|
|
529
|
+
return this.w3b(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
528
530
|
};
|
|
529
|
-
protoOf(SendHook$install$slambda).
|
|
530
|
-
var suspendResult = this.
|
|
531
|
+
protoOf(SendHook$install$slambda).c9 = function () {
|
|
532
|
+
var suspendResult = this.w8_1;
|
|
531
533
|
$sm: do
|
|
532
534
|
try {
|
|
533
|
-
var tmp = this.
|
|
535
|
+
var tmp = this.u8_1;
|
|
534
536
|
switch (tmp) {
|
|
535
537
|
case 0:
|
|
536
|
-
this.
|
|
537
|
-
this.
|
|
538
|
-
suspendResult = this.
|
|
538
|
+
this.v8_1 = 2;
|
|
539
|
+
this.u8_1 = 1;
|
|
540
|
+
suspendResult = this.z4r_1(new Context(this.a4s_1), this.a4s_1.k2p_1, this);
|
|
539
541
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
540
542
|
return suspendResult;
|
|
541
543
|
}
|
|
@@ -544,76 +546,76 @@
|
|
|
544
546
|
case 1:
|
|
545
547
|
return Unit_instance;
|
|
546
548
|
case 2:
|
|
547
|
-
throw this.
|
|
549
|
+
throw this.x8_1;
|
|
548
550
|
}
|
|
549
551
|
} catch ($p) {
|
|
550
552
|
var e = $p;
|
|
551
|
-
if (this.
|
|
553
|
+
if (this.v8_1 === 2) {
|
|
552
554
|
throw e;
|
|
553
555
|
} else {
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
556
|
+
this.u8_1 = this.v8_1;
|
|
557
|
+
this.x8_1 = e;
|
|
556
558
|
}
|
|
557
559
|
}
|
|
558
560
|
while (true);
|
|
559
561
|
};
|
|
560
|
-
protoOf(SendHook$install$slambda).
|
|
561
|
-
var i = new SendHook$install$slambda(this.
|
|
562
|
-
i.
|
|
563
|
-
i.
|
|
562
|
+
protoOf(SendHook$install$slambda).x3b = function ($this$intercept, it, completion) {
|
|
563
|
+
var i = new SendHook$install$slambda(this.z4r_1, completion);
|
|
564
|
+
i.a4s_1 = $this$intercept;
|
|
565
|
+
i.b4s_1 = it;
|
|
564
566
|
return i;
|
|
565
567
|
};
|
|
566
568
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
567
569
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
568
570
|
var l = function ($this$intercept, it, $completion) {
|
|
569
|
-
return i.
|
|
571
|
+
return i.w3b($this$intercept, it, $completion);
|
|
570
572
|
};
|
|
571
573
|
l.$arity = 2;
|
|
572
574
|
return l;
|
|
573
575
|
}
|
|
574
576
|
function SendHook() {
|
|
575
577
|
}
|
|
576
|
-
protoOf(SendHook).
|
|
577
|
-
var tmp = Phases_getInstance().
|
|
578
|
-
client.
|
|
578
|
+
protoOf(SendHook).c4s = function (client, handler) {
|
|
579
|
+
var tmp = Phases_getInstance().n3d_1;
|
|
580
|
+
client.f3b_1.o2p(tmp, SendHook$install$slambda_0(handler, null));
|
|
579
581
|
};
|
|
580
|
-
protoOf(SendHook).
|
|
581
|
-
return this.
|
|
582
|
+
protoOf(SendHook).m3k = function (client, handler) {
|
|
583
|
+
return this.c4s(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
582
584
|
};
|
|
583
585
|
var SendHook_instance;
|
|
584
586
|
function SendHook_getInstance() {
|
|
585
587
|
return SendHook_instance;
|
|
586
588
|
}
|
|
587
589
|
function Context_0(context) {
|
|
588
|
-
this.
|
|
590
|
+
this.d4s_1 = context;
|
|
589
591
|
}
|
|
590
|
-
protoOf(Context_0).
|
|
591
|
-
return this.
|
|
592
|
+
protoOf(Context_0).y45 = function (response, $completion) {
|
|
593
|
+
return this.d4s_1.o2o(response, $completion);
|
|
592
594
|
};
|
|
593
595
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
594
|
-
this.
|
|
596
|
+
this.m4s_1 = $handler;
|
|
595
597
|
CoroutineImpl.call(this, resultContinuation);
|
|
596
598
|
}
|
|
597
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
598
|
-
var tmp = this.
|
|
599
|
-
tmp.
|
|
600
|
-
tmp.
|
|
601
|
-
return tmp.
|
|
599
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).y3k = function ($this$intercept, it, $completion) {
|
|
600
|
+
var tmp = this.z3k($this$intercept, it, $completion);
|
|
601
|
+
tmp.w8_1 = Unit_instance;
|
|
602
|
+
tmp.x8_1 = null;
|
|
603
|
+
return tmp.c9();
|
|
602
604
|
};
|
|
603
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
605
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).p9 = function (p1, p2, $completion) {
|
|
604
606
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
605
|
-
return this.
|
|
607
|
+
return this.y3k(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
606
608
|
};
|
|
607
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
608
|
-
var suspendResult = this.
|
|
609
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).c9 = function () {
|
|
610
|
+
var suspendResult = this.w8_1;
|
|
609
611
|
$sm: do
|
|
610
612
|
try {
|
|
611
|
-
var tmp = this.
|
|
613
|
+
var tmp = this.u8_1;
|
|
612
614
|
switch (tmp) {
|
|
613
615
|
case 0:
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
616
|
-
suspendResult = this.
|
|
616
|
+
this.v8_1 = 2;
|
|
617
|
+
this.u8_1 = 1;
|
|
618
|
+
suspendResult = this.m4s_1(new Context_0(this.n4s_1), this.n4s_1.n2o(), this);
|
|
617
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
618
620
|
return suspendResult;
|
|
619
621
|
}
|
|
@@ -622,77 +624,77 @@
|
|
|
622
624
|
case 1:
|
|
623
625
|
return Unit_instance;
|
|
624
626
|
case 2:
|
|
625
|
-
throw this.
|
|
627
|
+
throw this.x8_1;
|
|
626
628
|
}
|
|
627
629
|
} catch ($p) {
|
|
628
630
|
var e = $p;
|
|
629
|
-
if (this.
|
|
631
|
+
if (this.v8_1 === 2) {
|
|
630
632
|
throw e;
|
|
631
633
|
} else {
|
|
632
|
-
this.
|
|
633
|
-
this.
|
|
634
|
+
this.u8_1 = this.v8_1;
|
|
635
|
+
this.x8_1 = e;
|
|
634
636
|
}
|
|
635
637
|
}
|
|
636
638
|
while (true);
|
|
637
639
|
};
|
|
638
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
639
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
640
|
-
i.
|
|
641
|
-
i.
|
|
640
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).z3k = function ($this$intercept, it, completion) {
|
|
641
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.m4s_1, completion);
|
|
642
|
+
i.n4s_1 = $this$intercept;
|
|
643
|
+
i.o4s_1 = it;
|
|
642
644
|
return i;
|
|
643
645
|
};
|
|
644
646
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
645
647
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
646
648
|
var l = function ($this$intercept, it, $completion) {
|
|
647
|
-
return i.
|
|
649
|
+
return i.y3k($this$intercept, it, $completion);
|
|
648
650
|
};
|
|
649
651
|
l.$arity = 2;
|
|
650
652
|
return l;
|
|
651
653
|
}
|
|
652
654
|
function ResponseAfterEncodingHook() {
|
|
653
655
|
}
|
|
654
|
-
protoOf(ResponseAfterEncodingHook).
|
|
656
|
+
protoOf(ResponseAfterEncodingHook).p4s = function (client, handler) {
|
|
655
657
|
var afterState = new PipelinePhase('AfterState');
|
|
656
|
-
client.
|
|
657
|
-
client.
|
|
658
|
+
client.g3b_1.l2p(Phases_getInstance_0().c3l_1, afterState);
|
|
659
|
+
client.g3b_1.o2p(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
658
660
|
};
|
|
659
|
-
protoOf(ResponseAfterEncodingHook).
|
|
660
|
-
return this.
|
|
661
|
+
protoOf(ResponseAfterEncodingHook).m3k = function (client, handler) {
|
|
662
|
+
return this.p4s(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
661
663
|
};
|
|
662
664
|
var ResponseAfterEncodingHook_instance;
|
|
663
665
|
function ResponseAfterEncodingHook_getInstance() {
|
|
664
666
|
return ResponseAfterEncodingHook_instance;
|
|
665
667
|
}
|
|
666
668
|
function Context_1(context) {
|
|
667
|
-
this.
|
|
669
|
+
this.q4s_1 = context;
|
|
668
670
|
}
|
|
669
|
-
protoOf(Context_1).
|
|
670
|
-
return this.
|
|
671
|
+
protoOf(Context_1).r4s = function ($completion) {
|
|
672
|
+
return this.q4s_1.p2o($completion);
|
|
671
673
|
};
|
|
672
674
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
673
|
-
this.
|
|
675
|
+
this.a4t_1 = $handler;
|
|
674
676
|
CoroutineImpl.call(this, resultContinuation);
|
|
675
677
|
}
|
|
676
|
-
protoOf(ResponseHook$install$slambda).
|
|
677
|
-
var tmp = this.
|
|
678
|
-
tmp.
|
|
679
|
-
tmp.
|
|
680
|
-
return tmp.
|
|
678
|
+
protoOf(ResponseHook$install$slambda).y3k = function ($this$intercept, it, $completion) {
|
|
679
|
+
var tmp = this.z3k($this$intercept, it, $completion);
|
|
680
|
+
tmp.w8_1 = Unit_instance;
|
|
681
|
+
tmp.x8_1 = null;
|
|
682
|
+
return tmp.c9();
|
|
681
683
|
};
|
|
682
|
-
protoOf(ResponseHook$install$slambda).
|
|
684
|
+
protoOf(ResponseHook$install$slambda).p9 = function (p1, p2, $completion) {
|
|
683
685
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
684
|
-
return this.
|
|
686
|
+
return this.y3k(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
685
687
|
};
|
|
686
|
-
protoOf(ResponseHook$install$slambda).
|
|
687
|
-
var suspendResult = this.
|
|
688
|
+
protoOf(ResponseHook$install$slambda).c9 = function () {
|
|
689
|
+
var suspendResult = this.w8_1;
|
|
688
690
|
$sm: do
|
|
689
691
|
try {
|
|
690
|
-
var tmp = this.
|
|
692
|
+
var tmp = this.u8_1;
|
|
691
693
|
switch (tmp) {
|
|
692
694
|
case 0:
|
|
693
|
-
this.
|
|
694
|
-
this.
|
|
695
|
-
suspendResult = this.
|
|
695
|
+
this.v8_1 = 2;
|
|
696
|
+
this.u8_1 = 1;
|
|
697
|
+
suspendResult = this.a4t_1(new Context_1(this.b4t_1), this.b4t_1.n2o(), this);
|
|
696
698
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
697
699
|
return suspendResult;
|
|
698
700
|
}
|
|
@@ -701,76 +703,76 @@
|
|
|
701
703
|
case 1:
|
|
702
704
|
return Unit_instance;
|
|
703
705
|
case 2:
|
|
704
|
-
throw this.
|
|
706
|
+
throw this.x8_1;
|
|
705
707
|
}
|
|
706
708
|
} catch ($p) {
|
|
707
709
|
var e = $p;
|
|
708
|
-
if (this.
|
|
710
|
+
if (this.v8_1 === 2) {
|
|
709
711
|
throw e;
|
|
710
712
|
} else {
|
|
711
|
-
this.
|
|
712
|
-
this.
|
|
713
|
+
this.u8_1 = this.v8_1;
|
|
714
|
+
this.x8_1 = e;
|
|
713
715
|
}
|
|
714
716
|
}
|
|
715
717
|
while (true);
|
|
716
718
|
};
|
|
717
|
-
protoOf(ResponseHook$install$slambda).
|
|
718
|
-
var i = new ResponseHook$install$slambda(this.
|
|
719
|
-
i.
|
|
720
|
-
i.
|
|
719
|
+
protoOf(ResponseHook$install$slambda).z3k = function ($this$intercept, it, completion) {
|
|
720
|
+
var i = new ResponseHook$install$slambda(this.a4t_1, completion);
|
|
721
|
+
i.b4t_1 = $this$intercept;
|
|
722
|
+
i.c4t_1 = it;
|
|
721
723
|
return i;
|
|
722
724
|
};
|
|
723
725
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
724
726
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
725
727
|
var l = function ($this$intercept, it, $completion) {
|
|
726
|
-
return i.
|
|
728
|
+
return i.y3k($this$intercept, it, $completion);
|
|
727
729
|
};
|
|
728
730
|
l.$arity = 2;
|
|
729
731
|
return l;
|
|
730
732
|
}
|
|
731
733
|
function ResponseHook() {
|
|
732
734
|
}
|
|
733
|
-
protoOf(ResponseHook).
|
|
734
|
-
var tmp = Phases_getInstance_0().
|
|
735
|
-
client.
|
|
735
|
+
protoOf(ResponseHook).d4t = function (client, handler) {
|
|
736
|
+
var tmp = Phases_getInstance_0().c3l_1;
|
|
737
|
+
client.g3b_1.o2p(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
736
738
|
};
|
|
737
|
-
protoOf(ResponseHook).
|
|
738
|
-
return this.
|
|
739
|
+
protoOf(ResponseHook).m3k = function (client, handler) {
|
|
740
|
+
return this.d4t(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
739
741
|
};
|
|
740
742
|
var ResponseHook_instance;
|
|
741
743
|
function ResponseHook_getInstance() {
|
|
742
744
|
return ResponseHook_instance;
|
|
743
745
|
}
|
|
744
746
|
function Context_2(context) {
|
|
745
|
-
this.
|
|
747
|
+
this.e4t_1 = context;
|
|
746
748
|
}
|
|
747
|
-
protoOf(Context_2).
|
|
748
|
-
return this.
|
|
749
|
+
protoOf(Context_2).f4t = function ($completion) {
|
|
750
|
+
return this.e4t_1.p2o($completion);
|
|
749
751
|
};
|
|
750
752
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
751
|
-
this.
|
|
753
|
+
this.o4t_1 = $handler;
|
|
752
754
|
CoroutineImpl.call(this, resultContinuation);
|
|
753
755
|
}
|
|
754
|
-
protoOf(ReceiveHook$install$slambda).
|
|
755
|
-
var tmp = this.
|
|
756
|
-
tmp.
|
|
757
|
-
tmp.
|
|
758
|
-
return tmp.
|
|
756
|
+
protoOf(ReceiveHook$install$slambda).r3c = function ($this$intercept, it, $completion) {
|
|
757
|
+
var tmp = this.s3c($this$intercept, it, $completion);
|
|
758
|
+
tmp.w8_1 = Unit_instance;
|
|
759
|
+
tmp.x8_1 = null;
|
|
760
|
+
return tmp.c9();
|
|
759
761
|
};
|
|
760
|
-
protoOf(ReceiveHook$install$slambda).
|
|
762
|
+
protoOf(ReceiveHook$install$slambda).p9 = function (p1, p2, $completion) {
|
|
761
763
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
762
|
-
return this.
|
|
764
|
+
return this.r3c(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
763
765
|
};
|
|
764
|
-
protoOf(ReceiveHook$install$slambda).
|
|
765
|
-
var suspendResult = this.
|
|
766
|
+
protoOf(ReceiveHook$install$slambda).c9 = function () {
|
|
767
|
+
var suspendResult = this.w8_1;
|
|
766
768
|
$sm: do
|
|
767
769
|
try {
|
|
768
|
-
var tmp = this.
|
|
770
|
+
var tmp = this.u8_1;
|
|
769
771
|
switch (tmp) {
|
|
770
772
|
case 0:
|
|
771
|
-
this.
|
|
772
|
-
this.
|
|
773
|
-
suspendResult = this.
|
|
773
|
+
this.v8_1 = 2;
|
|
774
|
+
this.u8_1 = 1;
|
|
775
|
+
suspendResult = this.o4t_1(new Context_2(this.p4t_1), this.p4t_1.k2p_1, this);
|
|
774
776
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
775
777
|
return suspendResult;
|
|
776
778
|
}
|
|
@@ -779,41 +781,41 @@
|
|
|
779
781
|
case 1:
|
|
780
782
|
return Unit_instance;
|
|
781
783
|
case 2:
|
|
782
|
-
throw this.
|
|
784
|
+
throw this.x8_1;
|
|
783
785
|
}
|
|
784
786
|
} catch ($p) {
|
|
785
787
|
var e = $p;
|
|
786
|
-
if (this.
|
|
788
|
+
if (this.v8_1 === 2) {
|
|
787
789
|
throw e;
|
|
788
790
|
} else {
|
|
789
|
-
this.
|
|
790
|
-
this.
|
|
791
|
+
this.u8_1 = this.v8_1;
|
|
792
|
+
this.x8_1 = e;
|
|
791
793
|
}
|
|
792
794
|
}
|
|
793
795
|
while (true);
|
|
794
796
|
};
|
|
795
|
-
protoOf(ReceiveHook$install$slambda).
|
|
796
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
797
|
-
i.
|
|
798
|
-
i.
|
|
797
|
+
protoOf(ReceiveHook$install$slambda).s3c = function ($this$intercept, it, completion) {
|
|
798
|
+
var i = new ReceiveHook$install$slambda(this.o4t_1, completion);
|
|
799
|
+
i.p4t_1 = $this$intercept;
|
|
800
|
+
i.q4t_1 = it;
|
|
799
801
|
return i;
|
|
800
802
|
};
|
|
801
803
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
802
804
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
803
805
|
var l = function ($this$intercept, it, $completion) {
|
|
804
|
-
return i.
|
|
806
|
+
return i.r3c($this$intercept, it, $completion);
|
|
805
807
|
};
|
|
806
808
|
l.$arity = 2;
|
|
807
809
|
return l;
|
|
808
810
|
}
|
|
809
811
|
function ReceiveHook() {
|
|
810
812
|
}
|
|
811
|
-
protoOf(ReceiveHook).
|
|
812
|
-
var tmp = Phases_getInstance_1().
|
|
813
|
-
client.
|
|
813
|
+
protoOf(ReceiveHook).r4t = function (client, handler) {
|
|
814
|
+
var tmp = Phases_getInstance_1().b3e_1;
|
|
815
|
+
client.e3b_1.o2p(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
814
816
|
};
|
|
815
|
-
protoOf(ReceiveHook).
|
|
816
|
-
return this.
|
|
817
|
+
protoOf(ReceiveHook).m3k = function (client, handler) {
|
|
818
|
+
return this.r4t(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
817
819
|
};
|
|
818
820
|
var ReceiveHook_instance;
|
|
819
821
|
function ReceiveHook_getInstance() {
|
|
@@ -828,31 +830,31 @@
|
|
|
828
830
|
}
|
|
829
831
|
function Logging$lambda($this$createClientPlugin) {
|
|
830
832
|
_init_properties_Logging_kt__66pui5();
|
|
831
|
-
var logger = $this$createClientPlugin.
|
|
832
|
-
var level = $this$createClientPlugin.
|
|
833
|
-
var filters = $this$createClientPlugin.
|
|
834
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
835
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
833
|
+
var logger = $this$createClientPlugin.g3l_1.n4r();
|
|
834
|
+
var level = $this$createClientPlugin.g3l_1.l4r_1;
|
|
835
|
+
var filters = $this$createClientPlugin.g3l_1.h4r_1;
|
|
836
|
+
var sanitizedHeaders = $this$createClientPlugin.g3l_1.i4r_1;
|
|
837
|
+
var okHttpFormat = $this$createClientPlugin.g3l_1.k4r_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
836
838
|
var tmp = SendHook_instance;
|
|
837
|
-
$this$createClientPlugin.
|
|
839
|
+
$this$createClientPlugin.j3l(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
838
840
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
839
|
-
$this$createClientPlugin.
|
|
841
|
+
$this$createClientPlugin.j3l(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
840
842
|
var tmp_1 = ResponseHook_instance;
|
|
841
|
-
$this$createClientPlugin.
|
|
843
|
+
$this$createClientPlugin.j3l(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
842
844
|
var tmp_2 = ReceiveHook_instance;
|
|
843
|
-
$this$createClientPlugin.
|
|
845
|
+
$this$createClientPlugin.j3l(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, null));
|
|
844
846
|
if (okHttpFormat)
|
|
845
847
|
return Unit_instance;
|
|
846
|
-
if (!level.
|
|
848
|
+
if (!level.z4q_1)
|
|
847
849
|
return Unit_instance;
|
|
848
850
|
var tmp_3 = get_ResponseObserver();
|
|
849
|
-
var responseObserver = tmp_3.
|
|
850
|
-
get_ResponseObserver().
|
|
851
|
+
var responseObserver = tmp_3.i3e(Logging$lambda$lambda(level));
|
|
852
|
+
get_ResponseObserver().j3e(responseObserver, $this$createClientPlugin.f3l_1);
|
|
851
853
|
return Unit_instance;
|
|
852
854
|
}
|
|
853
855
|
function invoke$shouldBeLogged(filters, request) {
|
|
854
856
|
var tmp;
|
|
855
|
-
if (filters.
|
|
857
|
+
if (filters.j()) {
|
|
856
858
|
tmp = true;
|
|
857
859
|
} else {
|
|
858
860
|
var tmp$ret$0;
|
|
@@ -860,7 +862,7 @@
|
|
|
860
862
|
// Inline function 'kotlin.collections.any' call
|
|
861
863
|
var tmp_0;
|
|
862
864
|
if (isInterface(filters, Collection)) {
|
|
863
|
-
tmp_0 = filters.
|
|
865
|
+
tmp_0 = filters.j();
|
|
864
866
|
} else {
|
|
865
867
|
tmp_0 = false;
|
|
866
868
|
}
|
|
@@ -868,9 +870,9 @@
|
|
|
868
870
|
tmp$ret$0 = false;
|
|
869
871
|
break $l$block_0;
|
|
870
872
|
}
|
|
871
|
-
var _iterator__ex2g4s = filters.
|
|
872
|
-
while (_iterator__ex2g4s.
|
|
873
|
-
var element = _iterator__ex2g4s.
|
|
873
|
+
var _iterator__ex2g4s = filters.r();
|
|
874
|
+
while (_iterator__ex2g4s.s()) {
|
|
875
|
+
var element = _iterator__ex2g4s.t();
|
|
874
876
|
if (element(request)) {
|
|
875
877
|
tmp$ret$0 = true;
|
|
876
878
|
break $l$block_0;
|
|
@@ -896,15 +898,15 @@
|
|
|
896
898
|
}
|
|
897
899
|
function invoke$detectIfBinary($this_createClientPlugin, body, contentLength, contentType, headers, $completion) {
|
|
898
900
|
var tmp = new $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, $completion);
|
|
899
|
-
tmp.
|
|
900
|
-
tmp.
|
|
901
|
-
return tmp.
|
|
901
|
+
tmp.w8_1 = Unit_instance;
|
|
902
|
+
tmp.x8_1 = null;
|
|
903
|
+
return tmp.c9();
|
|
902
904
|
}
|
|
903
905
|
function invoke$logRequestBody($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion) {
|
|
904
906
|
var tmp = new $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion);
|
|
905
|
-
tmp.
|
|
906
|
-
tmp.
|
|
907
|
-
return tmp.
|
|
907
|
+
tmp.w8_1 = Unit_instance;
|
|
908
|
+
tmp.x8_1 = null;
|
|
909
|
+
return tmp.c9();
|
|
908
910
|
}
|
|
909
911
|
function invoke$logOutgoingContent($this_createClientPlugin, content, method, headers, logLines, process, $completion) {
|
|
910
912
|
var tmp;
|
|
@@ -915,83 +917,83 @@
|
|
|
915
917
|
}
|
|
916
918
|
process = tmp;
|
|
917
919
|
var tmp_0 = new $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, $completion);
|
|
918
|
-
tmp_0.
|
|
919
|
-
tmp_0.
|
|
920
|
-
return tmp_0.
|
|
920
|
+
tmp_0.w8_1 = Unit_instance;
|
|
921
|
+
tmp_0.x8_1 = null;
|
|
922
|
+
return tmp_0.c9();
|
|
921
923
|
}
|
|
922
924
|
function invoke$logRequestOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion) {
|
|
923
925
|
var tmp = new $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion);
|
|
924
|
-
tmp.
|
|
925
|
-
tmp.
|
|
926
|
-
return tmp.
|
|
926
|
+
tmp.w8_1 = Unit_instance;
|
|
927
|
+
tmp.x8_1 = null;
|
|
928
|
+
return tmp.c9();
|
|
927
929
|
}
|
|
928
930
|
function invoke$logResponseBody($this_createClientPlugin, response, body, logLines, $completion) {
|
|
929
931
|
var tmp = new $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, $completion);
|
|
930
|
-
tmp.
|
|
931
|
-
tmp.
|
|
932
|
-
return tmp.
|
|
932
|
+
tmp.w8_1 = Unit_instance;
|
|
933
|
+
tmp.x8_1 = null;
|
|
934
|
+
return tmp.c9();
|
|
933
935
|
}
|
|
934
936
|
function invoke$logResponseOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion) {
|
|
935
937
|
var tmp = new $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion);
|
|
936
|
-
tmp.
|
|
937
|
-
tmp.
|
|
938
|
-
return tmp.
|
|
938
|
+
tmp.w8_1 = Unit_instance;
|
|
939
|
+
tmp.x8_1 = null;
|
|
940
|
+
return tmp.c9();
|
|
939
941
|
}
|
|
940
942
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
941
943
|
var requestLog = StringBuilder_init_$Create$();
|
|
942
944
|
// Inline function 'kotlin.text.appendLine' call
|
|
943
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
945
|
+
var value = 'BODY Content-Type: ' + toString_0(content.i33());
|
|
944
946
|
// Inline function 'kotlin.text.appendLine' call
|
|
945
|
-
requestLog.
|
|
946
|
-
var tmp0_safe_receiver = content.
|
|
947
|
+
requestLog.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
948
|
+
var tmp0_safe_receiver = content.i33();
|
|
947
949
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
948
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
950
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().d1w_1 : tmp1_elvis_lhs;
|
|
949
951
|
var channel = new ByteChannel();
|
|
950
952
|
var tmp = GlobalScope_instance;
|
|
951
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
953
|
+
var tmp_0 = Dispatchers_getInstance().f15_1.gh(MDCContext());
|
|
952
954
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
953
955
|
return observe(content, channel, $completion);
|
|
954
956
|
}
|
|
955
957
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
956
|
-
if (level.
|
|
957
|
-
logger.
|
|
958
|
+
if (level.x4q_1) {
|
|
959
|
+
logger.v4p('REQUEST ' + Url(context.d3d_1).toString() + ' failed with exception: ' + cause.toString());
|
|
958
960
|
}
|
|
959
961
|
}
|
|
960
962
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
961
|
-
var tmp = request.
|
|
963
|
+
var tmp = request.g3d_1;
|
|
962
964
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
963
965
|
var callLogger = new HttpClientCallLogger(logger);
|
|
964
|
-
request.
|
|
966
|
+
request.i3d_1.b2i(get_ClientCallLogger(), callLogger);
|
|
965
967
|
// Inline function 'kotlin.text.buildString' call
|
|
966
968
|
// Inline function 'kotlin.apply' call
|
|
967
969
|
var this_0 = StringBuilder_init_$Create$();
|
|
968
|
-
if (level.
|
|
970
|
+
if (level.x4q_1) {
|
|
969
971
|
// Inline function 'kotlin.text.appendLine' call
|
|
970
|
-
var value = 'REQUEST: ' + Url(request.
|
|
972
|
+
var value = 'REQUEST: ' + Url(request.d3d_1).toString();
|
|
971
973
|
// Inline function 'kotlin.text.appendLine' call
|
|
972
|
-
this_0.
|
|
974
|
+
this_0.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
973
975
|
// Inline function 'kotlin.text.appendLine' call
|
|
974
|
-
var value_0 = 'METHOD: ' + request.
|
|
976
|
+
var value_0 = 'METHOD: ' + request.e3d_1.toString();
|
|
975
977
|
// Inline function 'kotlin.text.appendLine' call
|
|
976
|
-
this_0.
|
|
978
|
+
this_0.f8(value_0).g8(_Char___init__impl__6a9atx(10));
|
|
977
979
|
}
|
|
978
|
-
if (level.
|
|
980
|
+
if (level.y4q_1) {
|
|
979
981
|
// Inline function 'kotlin.text.appendLine' call
|
|
980
982
|
var value_1 = 'COMMON HEADERS';
|
|
981
983
|
// Inline function 'kotlin.text.appendLine' call
|
|
982
|
-
this_0.
|
|
983
|
-
logHeaders(this_0, request.
|
|
984
|
+
this_0.f8(value_1).g8(_Char___init__impl__6a9atx(10));
|
|
985
|
+
logHeaders(this_0, request.f3d_1.z2l(), sanitizedHeaders);
|
|
984
986
|
// Inline function 'kotlin.text.appendLine' call
|
|
985
987
|
var value_2 = 'CONTENT HEADERS';
|
|
986
988
|
// Inline function 'kotlin.text.appendLine' call
|
|
987
|
-
this_0.
|
|
989
|
+
this_0.f8(value_2).g8(_Char___init__impl__6a9atx(10));
|
|
988
990
|
var tmp$ret$9;
|
|
989
991
|
$l$block: {
|
|
990
992
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
991
|
-
var _iterator__ex2g4s = sanitizedHeaders.
|
|
992
|
-
while (_iterator__ex2g4s.
|
|
993
|
-
var element = _iterator__ex2g4s.
|
|
994
|
-
if (element.
|
|
993
|
+
var _iterator__ex2g4s = sanitizedHeaders.r();
|
|
994
|
+
while (_iterator__ex2g4s.s()) {
|
|
995
|
+
var element = _iterator__ex2g4s.t();
|
|
996
|
+
if (element.m4x_1(HttpHeaders_getInstance().z2t_1)) {
|
|
995
997
|
tmp$ret$9 = element;
|
|
996
998
|
break $l$block;
|
|
997
999
|
}
|
|
@@ -999,14 +1001,14 @@
|
|
|
999
1001
|
tmp$ret$9 = null;
|
|
1000
1002
|
}
|
|
1001
1003
|
var tmp0_safe_receiver = tmp$ret$9;
|
|
1002
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1004
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l4x_1;
|
|
1003
1005
|
var tmp$ret$11;
|
|
1004
1006
|
$l$block_0: {
|
|
1005
1007
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1006
|
-
var _iterator__ex2g4s_0 = sanitizedHeaders.
|
|
1007
|
-
while (_iterator__ex2g4s_0.
|
|
1008
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
1009
|
-
if (element_0.
|
|
1008
|
+
var _iterator__ex2g4s_0 = sanitizedHeaders.r();
|
|
1009
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
1010
|
+
var element_0 = _iterator__ex2g4s_0.t();
|
|
1011
|
+
if (element_0.m4x_1(HttpHeaders_getInstance().c2u_1)) {
|
|
1010
1012
|
tmp$ret$11 = element_0;
|
|
1011
1013
|
break $l$block_0;
|
|
1012
1014
|
}
|
|
@@ -1014,180 +1016,180 @@
|
|
|
1014
1016
|
tmp$ret$11 = null;
|
|
1015
1017
|
}
|
|
1016
1018
|
var tmp1_safe_receiver = tmp$ret$11;
|
|
1017
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1018
|
-
var tmp2_safe_receiver = content.
|
|
1019
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.l4x_1;
|
|
1020
|
+
var tmp2_safe_receiver = content.k33();
|
|
1019
1021
|
if (tmp2_safe_receiver == null)
|
|
1020
1022
|
null;
|
|
1021
1023
|
else {
|
|
1022
1024
|
// Inline function 'kotlin.let' call
|
|
1023
|
-
var tmp_0 = HttpHeaders_getInstance().
|
|
1025
|
+
var tmp_0 = HttpHeaders_getInstance().z2t_1;
|
|
1024
1026
|
logHeader(this_0, tmp_0, contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1025
1027
|
}
|
|
1026
|
-
var tmp3_safe_receiver = content.
|
|
1028
|
+
var tmp3_safe_receiver = content.i33();
|
|
1027
1029
|
if (tmp3_safe_receiver == null)
|
|
1028
1030
|
null;
|
|
1029
1031
|
else {
|
|
1030
1032
|
// Inline function 'kotlin.let' call
|
|
1031
|
-
var tmp_1 = HttpHeaders_getInstance().
|
|
1033
|
+
var tmp_1 = HttpHeaders_getInstance().c2u_1;
|
|
1032
1034
|
logHeader(this_0, tmp_1, contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1033
1035
|
}
|
|
1034
|
-
logHeaders(this_0, content.
|
|
1036
|
+
logHeaders(this_0, content.n2x().z2l(), sanitizedHeaders);
|
|
1035
1037
|
}
|
|
1036
1038
|
var message = this_0.toString();
|
|
1037
1039
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1038
1040
|
if (charSequenceLength(message) > 0) {
|
|
1039
|
-
callLogger.
|
|
1041
|
+
callLogger.p4q(message);
|
|
1040
1042
|
}
|
|
1041
1043
|
var tmp_2;
|
|
1042
1044
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1043
1045
|
if (charSequenceLength(message) === 0) {
|
|
1044
1046
|
tmp_2 = true;
|
|
1045
1047
|
} else {
|
|
1046
|
-
tmp_2 = !level.
|
|
1048
|
+
tmp_2 = !level.z4q_1;
|
|
1047
1049
|
}
|
|
1048
1050
|
if (tmp_2) {
|
|
1049
|
-
callLogger.
|
|
1051
|
+
callLogger.t4q();
|
|
1050
1052
|
return null;
|
|
1051
1053
|
}
|
|
1052
1054
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1053
1055
|
}
|
|
1054
1056
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1055
|
-
if (!level.
|
|
1057
|
+
if (!level.x4q_1)
|
|
1056
1058
|
return Unit_instance;
|
|
1057
|
-
log.
|
|
1059
|
+
log.f8('RESPONSE ' + request.u3e().toString() + ' failed with exception: ' + cause.toString());
|
|
1058
1060
|
}
|
|
1059
1061
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1060
|
-
this.
|
|
1061
|
-
this.
|
|
1062
|
-
this.
|
|
1063
|
-
this.
|
|
1064
|
-
this.
|
|
1065
|
-
this.
|
|
1062
|
+
this.v4x_1 = $okHttpFormat;
|
|
1063
|
+
this.w4x_1 = $logger;
|
|
1064
|
+
this.x4x_1 = $filters;
|
|
1065
|
+
this.y4x_1 = $sanitizedHeaders;
|
|
1066
|
+
this.z4x_1 = $level;
|
|
1067
|
+
this.a4y_1 = $this_createClientPlugin;
|
|
1066
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1067
1069
|
}
|
|
1068
|
-
protoOf(Logging$lambda$slambda).
|
|
1069
|
-
var tmp = this.
|
|
1070
|
-
tmp.
|
|
1071
|
-
tmp.
|
|
1072
|
-
return tmp.
|
|
1070
|
+
protoOf(Logging$lambda$slambda).j4y = function ($this$on, request, $completion) {
|
|
1071
|
+
var tmp = this.k4y($this$on, request, $completion);
|
|
1072
|
+
tmp.w8_1 = Unit_instance;
|
|
1073
|
+
tmp.x8_1 = null;
|
|
1074
|
+
return tmp.c9();
|
|
1073
1075
|
};
|
|
1074
|
-
protoOf(Logging$lambda$slambda).
|
|
1076
|
+
protoOf(Logging$lambda$slambda).p9 = function (p1, p2, $completion) {
|
|
1075
1077
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1076
|
-
return this.
|
|
1078
|
+
return this.j4y(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1077
1079
|
};
|
|
1078
|
-
protoOf(Logging$lambda$slambda).
|
|
1079
|
-
var suspendResult = this.
|
|
1080
|
+
protoOf(Logging$lambda$slambda).c9 = function () {
|
|
1081
|
+
var suspendResult = this.w8_1;
|
|
1080
1082
|
$sm: do
|
|
1081
1083
|
try {
|
|
1082
|
-
var tmp = this.
|
|
1084
|
+
var tmp = this.u8_1;
|
|
1083
1085
|
switch (tmp) {
|
|
1084
1086
|
case 0:
|
|
1085
|
-
this.
|
|
1086
|
-
if (!invoke$shouldBeLogged(this.
|
|
1087
|
-
this.
|
|
1087
|
+
this.v8_1 = 16;
|
|
1088
|
+
if (!invoke$shouldBeLogged(this.x4x_1, this.c4y_1)) {
|
|
1089
|
+
this.c4y_1.i3d_1.b2i(get_DisableLogging(), Unit_instance);
|
|
1088
1090
|
return Unit_instance;
|
|
1089
1091
|
}
|
|
1090
1092
|
|
|
1091
|
-
if (this.
|
|
1093
|
+
if (this.v4x_1) {
|
|
1092
1094
|
var tmp_0 = this;
|
|
1093
|
-
tmp_0.
|
|
1094
|
-
this.
|
|
1095
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1095
|
+
tmp_0.f4y_1 = ArrayList_init_$Create$();
|
|
1096
|
+
this.u8_1 = 10;
|
|
1097
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.y4x_1, this.z4x_1, this.a4y_1, this.c4y_1, this.f4y_1, this);
|
|
1096
1098
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1097
1099
|
return suspendResult;
|
|
1098
1100
|
}
|
|
1099
1101
|
continue $sm;
|
|
1100
1102
|
} else {
|
|
1101
|
-
this.
|
|
1103
|
+
this.u8_1 = 1;
|
|
1102
1104
|
continue $sm;
|
|
1103
1105
|
}
|
|
1104
1106
|
|
|
1105
1107
|
case 1:
|
|
1106
|
-
this.
|
|
1107
|
-
this.
|
|
1108
|
-
suspendResult = invoke$logRequest(this.
|
|
1108
|
+
this.v8_1 = 3;
|
|
1109
|
+
this.u8_1 = 2;
|
|
1110
|
+
suspendResult = invoke$logRequest(this.w4x_1, this.z4x_1, this.y4x_1, this.c4y_1, this);
|
|
1109
1111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1110
1112
|
return suspendResult;
|
|
1111
1113
|
}
|
|
1112
1114
|
|
|
1113
1115
|
continue $sm;
|
|
1114
1116
|
case 2:
|
|
1115
|
-
this.
|
|
1116
|
-
this.
|
|
1117
|
-
this.
|
|
1117
|
+
this.i4y_1 = suspendResult;
|
|
1118
|
+
this.v8_1 = 16;
|
|
1119
|
+
this.u8_1 = 4;
|
|
1118
1120
|
continue $sm;
|
|
1119
1121
|
case 3:
|
|
1120
|
-
this.
|
|
1121
|
-
var tmp_1 = this.
|
|
1122
|
+
this.v8_1 = 16;
|
|
1123
|
+
var tmp_1 = this.x8_1;
|
|
1122
1124
|
if (tmp_1 instanceof Error) {
|
|
1123
|
-
|
|
1125
|
+
var _unused_var__etf5q3 = this.x8_1;
|
|
1124
1126
|
var tmp_2 = this;
|
|
1125
|
-
tmp_2.
|
|
1126
|
-
this.
|
|
1127
|
+
tmp_2.i4y_1 = null;
|
|
1128
|
+
this.u8_1 = 4;
|
|
1127
1129
|
continue $sm;
|
|
1128
1130
|
} else {
|
|
1129
|
-
throw this.
|
|
1131
|
+
throw this.x8_1;
|
|
1130
1132
|
}
|
|
1131
1133
|
|
|
1132
1134
|
case 4:
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1135
|
-
this.
|
|
1136
|
-
this.
|
|
1135
|
+
this.v8_1 = 16;
|
|
1136
|
+
this.h4y_1 = this.i4y_1;
|
|
1137
|
+
this.g4y_1 = Unit_instance;
|
|
1138
|
+
this.u8_1 = 5;
|
|
1137
1139
|
continue $sm;
|
|
1138
1140
|
case 5:
|
|
1139
|
-
this.
|
|
1140
|
-
this.
|
|
1141
|
-
this.
|
|
1142
|
-
var tmp0_elvis_lhs = this.
|
|
1143
|
-
suspendResult = this.
|
|
1141
|
+
this.v8_1 = 8;
|
|
1142
|
+
this.v8_1 = 7;
|
|
1143
|
+
this.u8_1 = 6;
|
|
1144
|
+
var tmp0_elvis_lhs = this.h4y_1;
|
|
1145
|
+
suspendResult = this.b4y_1.p4r(tmp0_elvis_lhs == null ? this.c4y_1.g3d_1 : tmp0_elvis_lhs, this);
|
|
1144
1146
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1145
1147
|
return suspendResult;
|
|
1146
1148
|
}
|
|
1147
1149
|
|
|
1148
1150
|
continue $sm;
|
|
1149
1151
|
case 6:
|
|
1150
|
-
this.
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1152
|
+
this.g4y_1 = suspendResult;
|
|
1153
|
+
this.v8_1 = 16;
|
|
1154
|
+
this.u8_1 = 9;
|
|
1153
1155
|
continue $sm;
|
|
1154
1156
|
case 7:
|
|
1155
|
-
this.
|
|
1156
|
-
var tmp_3 = this.
|
|
1157
|
+
this.v8_1 = 8;
|
|
1158
|
+
var tmp_3 = this.x8_1;
|
|
1157
1159
|
if (tmp_3 instanceof Error) {
|
|
1158
|
-
|
|
1160
|
+
var cause = this.x8_1;
|
|
1159
1161
|
var tmp_4 = this;
|
|
1160
|
-
invoke$logRequestException(this.
|
|
1161
|
-
throw
|
|
1162
|
+
invoke$logRequestException(this.z4x_1, this.w4x_1, this.c4y_1, cause);
|
|
1163
|
+
throw cause;
|
|
1162
1164
|
} else {
|
|
1163
|
-
throw this.
|
|
1165
|
+
throw this.x8_1;
|
|
1164
1166
|
}
|
|
1165
1167
|
|
|
1166
1168
|
case 8:
|
|
1167
|
-
this.
|
|
1168
|
-
|
|
1169
|
-
throw
|
|
1169
|
+
this.v8_1 = 16;
|
|
1170
|
+
var t = this.x8_1;
|
|
1171
|
+
throw t;
|
|
1170
1172
|
case 9:
|
|
1171
|
-
this.
|
|
1172
|
-
this.
|
|
1173
|
+
this.g4y_1;
|
|
1174
|
+
this.v8_1 = 16;
|
|
1173
1175
|
return Unit_instance;
|
|
1174
1176
|
case 10:
|
|
1175
|
-
|
|
1176
|
-
if (this.
|
|
1177
|
-
this.
|
|
1177
|
+
var content = suspendResult;
|
|
1178
|
+
if (this.f4y_1.u() > 0) {
|
|
1179
|
+
this.w4x_1.v4p(joinToString(this.f4y_1, '\n'));
|
|
1178
1180
|
}
|
|
1179
1181
|
|
|
1180
|
-
this.
|
|
1181
|
-
if (!(
|
|
1182
|
-
this.
|
|
1183
|
-
suspendResult = this.
|
|
1182
|
+
this.v8_1 = 14;
|
|
1183
|
+
if (!(content == null)) {
|
|
1184
|
+
this.u8_1 = 12;
|
|
1185
|
+
suspendResult = this.b4y_1.p4r(content, this);
|
|
1184
1186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1185
1187
|
return suspendResult;
|
|
1186
1188
|
}
|
|
1187
1189
|
continue $sm;
|
|
1188
1190
|
} else {
|
|
1189
|
-
this.
|
|
1190
|
-
suspendResult = this.
|
|
1191
|
+
this.u8_1 = 11;
|
|
1192
|
+
suspendResult = this.b4y_1.q4r(this);
|
|
1191
1193
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1192
1194
|
return suspendResult;
|
|
1193
1195
|
}
|
|
@@ -1195,390 +1197,390 @@
|
|
|
1195
1197
|
}
|
|
1196
1198
|
|
|
1197
1199
|
case 11:
|
|
1198
|
-
this.
|
|
1199
|
-
this.
|
|
1200
|
+
this.e4y_1 = suspendResult;
|
|
1201
|
+
this.u8_1 = 13;
|
|
1200
1202
|
continue $sm;
|
|
1201
1203
|
case 12:
|
|
1202
|
-
this.
|
|
1203
|
-
this.
|
|
1204
|
+
this.e4y_1 = suspendResult;
|
|
1205
|
+
this.u8_1 = 13;
|
|
1204
1206
|
continue $sm;
|
|
1205
1207
|
case 13:
|
|
1206
|
-
this.
|
|
1207
|
-
this.
|
|
1208
|
-
this.
|
|
1208
|
+
this.d4y_1 = this.e4y_1;
|
|
1209
|
+
this.v8_1 = 16;
|
|
1210
|
+
this.u8_1 = 15;
|
|
1209
1211
|
continue $sm;
|
|
1210
1212
|
case 14:
|
|
1211
|
-
this.
|
|
1212
|
-
var tmp_5 = this.
|
|
1213
|
+
this.v8_1 = 16;
|
|
1214
|
+
var tmp_5 = this.x8_1;
|
|
1213
1215
|
if (tmp_5 instanceof Error) {
|
|
1214
|
-
var
|
|
1216
|
+
var cause_0 = this.x8_1;
|
|
1215
1217
|
var tmp_6 = this;
|
|
1216
|
-
this.
|
|
1217
|
-
throw
|
|
1218
|
+
this.w4x_1.v4p('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1219
|
+
throw cause_0;
|
|
1218
1220
|
} else {
|
|
1219
|
-
throw this.
|
|
1221
|
+
throw this.x8_1;
|
|
1220
1222
|
}
|
|
1221
1223
|
|
|
1222
1224
|
case 15:
|
|
1223
|
-
this.
|
|
1225
|
+
this.v8_1 = 16;
|
|
1224
1226
|
return Unit_instance;
|
|
1225
1227
|
case 16:
|
|
1226
|
-
throw this.
|
|
1228
|
+
throw this.x8_1;
|
|
1227
1229
|
}
|
|
1228
1230
|
} catch ($p) {
|
|
1229
1231
|
var e = $p;
|
|
1230
|
-
if (this.
|
|
1232
|
+
if (this.v8_1 === 16) {
|
|
1231
1233
|
throw e;
|
|
1232
1234
|
} else {
|
|
1233
|
-
this.
|
|
1234
|
-
this.
|
|
1235
|
+
this.u8_1 = this.v8_1;
|
|
1236
|
+
this.x8_1 = e;
|
|
1235
1237
|
}
|
|
1236
1238
|
}
|
|
1237
1239
|
while (true);
|
|
1238
1240
|
};
|
|
1239
|
-
protoOf(Logging$lambda$slambda).
|
|
1240
|
-
var i = new Logging$lambda$slambda(this.
|
|
1241
|
-
i.
|
|
1242
|
-
i.
|
|
1241
|
+
protoOf(Logging$lambda$slambda).k4y = function ($this$on, request, completion) {
|
|
1242
|
+
var i = new Logging$lambda$slambda(this.v4x_1, this.w4x_1, this.x4x_1, this.y4x_1, this.z4x_1, this.a4y_1, completion);
|
|
1243
|
+
i.b4y_1 = $this$on;
|
|
1244
|
+
i.c4y_1 = request;
|
|
1243
1245
|
return i;
|
|
1244
1246
|
};
|
|
1245
1247
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1246
1248
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1247
1249
|
var l = function ($this$on, request, $completion) {
|
|
1248
|
-
return i.
|
|
1250
|
+
return i.j4y($this$on, request, $completion);
|
|
1249
1251
|
};
|
|
1250
1252
|
l.$arity = 2;
|
|
1251
1253
|
return l;
|
|
1252
1254
|
}
|
|
1253
1255
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1258
|
-
this.
|
|
1256
|
+
this.t4y_1 = $okHttpFormat;
|
|
1257
|
+
this.u4y_1 = $logger;
|
|
1258
|
+
this.v4y_1 = $sanitizedHeaders;
|
|
1259
|
+
this.w4y_1 = $level;
|
|
1260
|
+
this.x4y_1 = $this_createClientPlugin;
|
|
1259
1261
|
CoroutineImpl.call(this, resultContinuation);
|
|
1260
1262
|
}
|
|
1261
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1262
|
-
var tmp = this.
|
|
1263
|
-
tmp.
|
|
1264
|
-
tmp.
|
|
1265
|
-
return tmp.
|
|
1263
|
+
protoOf(Logging$lambda$slambda_1).b4z = function ($this$on, response, $completion) {
|
|
1264
|
+
var tmp = this.c4z($this$on, response, $completion);
|
|
1265
|
+
tmp.w8_1 = Unit_instance;
|
|
1266
|
+
tmp.x8_1 = null;
|
|
1267
|
+
return tmp.c9();
|
|
1266
1268
|
};
|
|
1267
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1269
|
+
protoOf(Logging$lambda$slambda_1).p9 = function (p1, p2, $completion) {
|
|
1268
1270
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1269
|
-
return this.
|
|
1271
|
+
return this.b4z(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1270
1272
|
};
|
|
1271
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1272
|
-
var suspendResult = this.
|
|
1273
|
+
protoOf(Logging$lambda$slambda_1).c9 = function () {
|
|
1274
|
+
var suspendResult = this.w8_1;
|
|
1273
1275
|
$sm: do
|
|
1274
1276
|
try {
|
|
1275
|
-
var tmp = this.
|
|
1277
|
+
var tmp = this.u8_1;
|
|
1276
1278
|
switch (tmp) {
|
|
1277
1279
|
case 0:
|
|
1278
|
-
this.
|
|
1279
|
-
if (this.
|
|
1280
|
+
this.v8_1 = 5;
|
|
1281
|
+
if (this.t4y_1) {
|
|
1280
1282
|
var tmp_0 = this;
|
|
1281
|
-
tmp_0.
|
|
1282
|
-
this.
|
|
1283
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1283
|
+
tmp_0.a4z_1 = ArrayList_init_$Create$();
|
|
1284
|
+
this.u8_1 = 1;
|
|
1285
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.v4y_1, this.w4y_1, this.x4y_1, this.z4y_1, this.a4z_1, this);
|
|
1284
1286
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1285
1287
|
return suspendResult;
|
|
1286
1288
|
}
|
|
1287
1289
|
continue $sm;
|
|
1288
1290
|
} else {
|
|
1289
|
-
this.
|
|
1291
|
+
this.u8_1 = 4;
|
|
1290
1292
|
continue $sm;
|
|
1291
1293
|
}
|
|
1292
1294
|
|
|
1293
1295
|
case 1:
|
|
1294
|
-
|
|
1295
|
-
if (this.
|
|
1296
|
-
this.
|
|
1296
|
+
var newResponse = suspendResult;
|
|
1297
|
+
if (this.a4z_1.u() > 0) {
|
|
1298
|
+
this.u4y_1.v4p(joinToString(this.a4z_1, '\n'));
|
|
1297
1299
|
}
|
|
1298
1300
|
|
|
1299
|
-
if (!equals(
|
|
1300
|
-
this.
|
|
1301
|
-
suspendResult = this.
|
|
1301
|
+
if (!equals(newResponse, this.z4y_1)) {
|
|
1302
|
+
this.u8_1 = 2;
|
|
1303
|
+
suspendResult = this.y4y_1.y45(newResponse, this);
|
|
1302
1304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1303
1305
|
return suspendResult;
|
|
1304
1306
|
}
|
|
1305
1307
|
continue $sm;
|
|
1306
1308
|
} else {
|
|
1307
|
-
this.
|
|
1309
|
+
this.u8_1 = 3;
|
|
1308
1310
|
continue $sm;
|
|
1309
1311
|
}
|
|
1310
1312
|
|
|
1311
1313
|
case 2:
|
|
1312
|
-
this.
|
|
1314
|
+
this.u8_1 = 3;
|
|
1313
1315
|
continue $sm;
|
|
1314
1316
|
case 3:
|
|
1315
|
-
this.
|
|
1317
|
+
this.u8_1 = 4;
|
|
1316
1318
|
continue $sm;
|
|
1317
1319
|
case 4:
|
|
1318
1320
|
return Unit_instance;
|
|
1319
1321
|
case 5:
|
|
1320
|
-
throw this.
|
|
1322
|
+
throw this.x8_1;
|
|
1321
1323
|
}
|
|
1322
1324
|
} catch ($p) {
|
|
1323
1325
|
var e = $p;
|
|
1324
|
-
if (this.
|
|
1326
|
+
if (this.v8_1 === 5) {
|
|
1325
1327
|
throw e;
|
|
1326
1328
|
} else {
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1329
|
+
this.u8_1 = this.v8_1;
|
|
1330
|
+
this.x8_1 = e;
|
|
1329
1331
|
}
|
|
1330
1332
|
}
|
|
1331
1333
|
while (true);
|
|
1332
1334
|
};
|
|
1333
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1334
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1335
|
-
i.
|
|
1336
|
-
i.
|
|
1335
|
+
protoOf(Logging$lambda$slambda_1).c4z = function ($this$on, response, completion) {
|
|
1336
|
+
var i = new Logging$lambda$slambda_1(this.t4y_1, this.u4y_1, this.v4y_1, this.w4y_1, this.x4y_1, completion);
|
|
1337
|
+
i.y4y_1 = $this$on;
|
|
1338
|
+
i.z4y_1 = response;
|
|
1337
1339
|
return i;
|
|
1338
1340
|
};
|
|
1339
1341
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1340
1342
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1341
1343
|
var l = function ($this$on, response, $completion) {
|
|
1342
|
-
return i.
|
|
1344
|
+
return i.b4z($this$on, response, $completion);
|
|
1343
1345
|
};
|
|
1344
1346
|
l.$arity = 2;
|
|
1345
1347
|
return l;
|
|
1346
1348
|
}
|
|
1347
1349
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1348
|
-
this.
|
|
1349
|
-
this.
|
|
1350
|
-
this.
|
|
1350
|
+
this.l4z_1 = $okHttpFormat;
|
|
1351
|
+
this.m4z_1 = $level;
|
|
1352
|
+
this.n4z_1 = $sanitizedHeaders;
|
|
1351
1353
|
CoroutineImpl.call(this, resultContinuation);
|
|
1352
1354
|
}
|
|
1353
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1354
|
-
var tmp = this.
|
|
1355
|
-
tmp.
|
|
1356
|
-
tmp.
|
|
1357
|
-
return tmp.
|
|
1355
|
+
protoOf(Logging$lambda$slambda_3).w4z = function ($this$on, response, $completion) {
|
|
1356
|
+
var tmp = this.x4z($this$on, response, $completion);
|
|
1357
|
+
tmp.w8_1 = Unit_instance;
|
|
1358
|
+
tmp.x8_1 = null;
|
|
1359
|
+
return tmp.c9();
|
|
1358
1360
|
};
|
|
1359
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1361
|
+
protoOf(Logging$lambda$slambda_3).p9 = function (p1, p2, $completion) {
|
|
1360
1362
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1361
|
-
return this.
|
|
1363
|
+
return this.w4z(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1362
1364
|
};
|
|
1363
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1364
|
-
var suspendResult = this.
|
|
1365
|
+
protoOf(Logging$lambda$slambda_3).c9 = function () {
|
|
1366
|
+
var suspendResult = this.w8_1;
|
|
1365
1367
|
$sm: do
|
|
1366
1368
|
try {
|
|
1367
|
-
var tmp = this.
|
|
1369
|
+
var tmp = this.u8_1;
|
|
1368
1370
|
switch (tmp) {
|
|
1369
1371
|
case 0:
|
|
1370
|
-
this.
|
|
1371
|
-
if (this.
|
|
1372
|
+
this.v8_1 = 14;
|
|
1373
|
+
if (this.l4z_1)
|
|
1372
1374
|
return Unit_instance;
|
|
1373
|
-
if (this.
|
|
1375
|
+
if (this.m4z_1.equals(LogLevel_NONE_getInstance()) || this.p4z_1.s3e().m3e().a2i(get_DisableLogging()))
|
|
1374
1376
|
return Unit_instance;
|
|
1375
|
-
this.
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1378
|
-
this.
|
|
1377
|
+
this.r4z_1 = this.p4z_1.s3e().m3e().y2h(get_ClientCallLogger());
|
|
1378
|
+
this.t4z_1 = StringBuilder_init_$Create$();
|
|
1379
|
+
this.s4z_1 = false;
|
|
1380
|
+
this.u8_1 = 1;
|
|
1379
1381
|
continue $sm;
|
|
1380
1382
|
case 1:
|
|
1381
|
-
this.
|
|
1382
|
-
this.
|
|
1383
|
-
logResponseHeader(this.
|
|
1384
|
-
this.
|
|
1385
|
-
suspendResult = this.
|
|
1383
|
+
this.v8_1 = 4;
|
|
1384
|
+
this.v8_1 = 3;
|
|
1385
|
+
logResponseHeader(this.t4z_1, this.p4z_1.s3e().d3c(), this.m4z_1, this.n4z_1);
|
|
1386
|
+
this.u8_1 = 2;
|
|
1387
|
+
suspendResult = this.o4z_1.r4s(this);
|
|
1386
1388
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1387
1389
|
return suspendResult;
|
|
1388
1390
|
}
|
|
1389
1391
|
|
|
1390
1392
|
continue $sm;
|
|
1391
1393
|
case 2:
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1394
|
-
this.
|
|
1394
|
+
this.u4z_1 = suspendResult;
|
|
1395
|
+
this.v8_1 = 14;
|
|
1396
|
+
this.u8_1 = 9;
|
|
1395
1397
|
continue $sm;
|
|
1396
1398
|
case 3:
|
|
1397
|
-
this.
|
|
1398
|
-
var tmp_0 = this.
|
|
1399
|
+
this.v8_1 = 4;
|
|
1400
|
+
var tmp_0 = this.x8_1;
|
|
1399
1401
|
if (tmp_0 instanceof Error) {
|
|
1400
|
-
|
|
1402
|
+
var cause = this.x8_1;
|
|
1401
1403
|
var tmp_1 = this;
|
|
1402
|
-
invoke$logResponseException(this.
|
|
1403
|
-
this.
|
|
1404
|
-
throw
|
|
1404
|
+
invoke$logResponseException(this.m4z_1, this.t4z_1, this.p4z_1.s3e().l3e(), cause);
|
|
1405
|
+
this.s4z_1 = true;
|
|
1406
|
+
throw cause;
|
|
1405
1407
|
} else {
|
|
1406
|
-
throw this.
|
|
1408
|
+
throw this.x8_1;
|
|
1407
1409
|
}
|
|
1408
1410
|
|
|
1409
1411
|
case 4:
|
|
1410
|
-
this.
|
|
1411
|
-
this.
|
|
1412
|
-
this.
|
|
1413
|
-
if (this.
|
|
1414
|
-
this.
|
|
1415
|
-
suspendResult = this.
|
|
1412
|
+
this.v8_1 = 14;
|
|
1413
|
+
this.v4z_1 = this.x8_1;
|
|
1414
|
+
this.r4z_1.q4q(this.t4z_1.toString());
|
|
1415
|
+
if (this.s4z_1 || !this.m4z_1.z4q_1) {
|
|
1416
|
+
this.u8_1 = 7;
|
|
1417
|
+
suspendResult = this.r4z_1.u4q(this);
|
|
1416
1418
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1417
1419
|
return suspendResult;
|
|
1418
1420
|
}
|
|
1419
1421
|
continue $sm;
|
|
1420
1422
|
} else {
|
|
1421
|
-
if (this.
|
|
1422
|
-
this.
|
|
1423
|
-
suspendResult = logResponseBody(this.
|
|
1423
|
+
if (this.m4z_1.z4q_1 && get_isSaved(this.p4z_1)) {
|
|
1424
|
+
this.u8_1 = 5;
|
|
1425
|
+
suspendResult = logResponseBody(this.r4z_1, this.p4z_1, this);
|
|
1424
1426
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1425
1427
|
return suspendResult;
|
|
1426
1428
|
}
|
|
1427
1429
|
continue $sm;
|
|
1428
1430
|
} else {
|
|
1429
|
-
this.
|
|
1431
|
+
this.u8_1 = 8;
|
|
1430
1432
|
continue $sm;
|
|
1431
1433
|
}
|
|
1432
1434
|
}
|
|
1433
1435
|
|
|
1434
1436
|
case 5:
|
|
1435
|
-
this.
|
|
1436
|
-
suspendResult = this.
|
|
1437
|
+
this.u8_1 = 6;
|
|
1438
|
+
suspendResult = this.r4z_1.u4q(this);
|
|
1437
1439
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1438
1440
|
return suspendResult;
|
|
1439
1441
|
}
|
|
1440
1442
|
|
|
1441
1443
|
continue $sm;
|
|
1442
1444
|
case 6:
|
|
1443
|
-
this.
|
|
1445
|
+
this.u8_1 = 8;
|
|
1444
1446
|
continue $sm;
|
|
1445
1447
|
case 7:
|
|
1446
|
-
this.
|
|
1448
|
+
this.u8_1 = 8;
|
|
1447
1449
|
continue $sm;
|
|
1448
1450
|
case 8:
|
|
1449
|
-
throw this.
|
|
1451
|
+
throw this.v4z_1;
|
|
1450
1452
|
case 9:
|
|
1451
|
-
this.
|
|
1452
|
-
this.
|
|
1453
|
-
this.
|
|
1454
|
-
if (this.
|
|
1455
|
-
this.
|
|
1456
|
-
suspendResult = this.
|
|
1453
|
+
this.q4z_1 = this.u4z_1;
|
|
1454
|
+
this.v8_1 = 14;
|
|
1455
|
+
this.r4z_1.q4q(this.t4z_1.toString());
|
|
1456
|
+
if (this.s4z_1 || !this.m4z_1.z4q_1) {
|
|
1457
|
+
this.u8_1 = 12;
|
|
1458
|
+
suspendResult = this.r4z_1.u4q(this);
|
|
1457
1459
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1458
1460
|
return suspendResult;
|
|
1459
1461
|
}
|
|
1460
1462
|
continue $sm;
|
|
1461
1463
|
} else {
|
|
1462
|
-
if (this.
|
|
1463
|
-
this.
|
|
1464
|
-
suspendResult = logResponseBody(this.
|
|
1464
|
+
if (this.m4z_1.z4q_1 && get_isSaved(this.p4z_1)) {
|
|
1465
|
+
this.u8_1 = 10;
|
|
1466
|
+
suspendResult = logResponseBody(this.r4z_1, this.p4z_1, this);
|
|
1465
1467
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1466
1468
|
return suspendResult;
|
|
1467
1469
|
}
|
|
1468
1470
|
continue $sm;
|
|
1469
1471
|
} else {
|
|
1470
|
-
this.
|
|
1472
|
+
this.u8_1 = 13;
|
|
1471
1473
|
continue $sm;
|
|
1472
1474
|
}
|
|
1473
1475
|
}
|
|
1474
1476
|
|
|
1475
1477
|
case 10:
|
|
1476
|
-
this.
|
|
1477
|
-
suspendResult = this.
|
|
1478
|
+
this.u8_1 = 11;
|
|
1479
|
+
suspendResult = this.r4z_1.u4q(this);
|
|
1478
1480
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1479
1481
|
return suspendResult;
|
|
1480
1482
|
}
|
|
1481
1483
|
|
|
1482
1484
|
continue $sm;
|
|
1483
1485
|
case 11:
|
|
1484
|
-
this.
|
|
1486
|
+
this.u8_1 = 13;
|
|
1485
1487
|
continue $sm;
|
|
1486
1488
|
case 12:
|
|
1487
|
-
this.
|
|
1489
|
+
this.u8_1 = 13;
|
|
1488
1490
|
continue $sm;
|
|
1489
1491
|
case 13:
|
|
1490
1492
|
return Unit_instance;
|
|
1491
1493
|
case 14:
|
|
1492
|
-
throw this.
|
|
1494
|
+
throw this.x8_1;
|
|
1493
1495
|
}
|
|
1494
1496
|
} catch ($p) {
|
|
1495
1497
|
var e = $p;
|
|
1496
|
-
if (this.
|
|
1498
|
+
if (this.v8_1 === 14) {
|
|
1497
1499
|
throw e;
|
|
1498
1500
|
} else {
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1501
|
+
this.u8_1 = this.v8_1;
|
|
1502
|
+
this.x8_1 = e;
|
|
1501
1503
|
}
|
|
1502
1504
|
}
|
|
1503
1505
|
while (true);
|
|
1504
1506
|
};
|
|
1505
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1506
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1507
|
-
i.
|
|
1508
|
-
i.
|
|
1507
|
+
protoOf(Logging$lambda$slambda_3).x4z = function ($this$on, response, completion) {
|
|
1508
|
+
var i = new Logging$lambda$slambda_3(this.l4z_1, this.m4z_1, this.n4z_1, completion);
|
|
1509
|
+
i.o4z_1 = $this$on;
|
|
1510
|
+
i.p4z_1 = response;
|
|
1509
1511
|
return i;
|
|
1510
1512
|
};
|
|
1511
1513
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1512
1514
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1513
1515
|
var l = function ($this$on, response, $completion) {
|
|
1514
|
-
return i.
|
|
1516
|
+
return i.w4z($this$on, response, $completion);
|
|
1515
1517
|
};
|
|
1516
1518
|
l.$arity = 2;
|
|
1517
1519
|
return l;
|
|
1518
1520
|
}
|
|
1519
1521
|
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
+
this.g50_1 = $okHttpFormat;
|
|
1523
|
+
this.h50_1 = $level;
|
|
1522
1524
|
CoroutineImpl.call(this, resultContinuation);
|
|
1523
1525
|
}
|
|
1524
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1525
|
-
var tmp = this.
|
|
1526
|
-
tmp.
|
|
1527
|
-
tmp.
|
|
1528
|
-
return tmp.
|
|
1526
|
+
protoOf(Logging$lambda$slambda_5).n50 = function ($this$on, call, $completion) {
|
|
1527
|
+
var tmp = this.o50($this$on, call, $completion);
|
|
1528
|
+
tmp.w8_1 = Unit_instance;
|
|
1529
|
+
tmp.x8_1 = null;
|
|
1530
|
+
return tmp.c9();
|
|
1529
1531
|
};
|
|
1530
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1532
|
+
protoOf(Logging$lambda$slambda_5).p9 = function (p1, p2, $completion) {
|
|
1531
1533
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1532
|
-
return this.
|
|
1534
|
+
return this.n50(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1533
1535
|
};
|
|
1534
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1535
|
-
var suspendResult = this.
|
|
1536
|
+
protoOf(Logging$lambda$slambda_5).c9 = function () {
|
|
1537
|
+
var suspendResult = this.w8_1;
|
|
1536
1538
|
$sm: do
|
|
1537
1539
|
try {
|
|
1538
|
-
var tmp = this.
|
|
1540
|
+
var tmp = this.u8_1;
|
|
1539
1541
|
switch (tmp) {
|
|
1540
1542
|
case 0:
|
|
1541
|
-
this.
|
|
1542
|
-
if (this.
|
|
1543
|
+
this.v8_1 = 6;
|
|
1544
|
+
if (this.g50_1)
|
|
1543
1545
|
return Unit_instance;
|
|
1544
|
-
if (this.
|
|
1546
|
+
if (this.h50_1.equals(LogLevel_NONE_getInstance()) || this.j50_1.m3e().a2i(get_DisableLogging())) {
|
|
1545
1547
|
return Unit_instance;
|
|
1546
1548
|
}
|
|
1547
1549
|
|
|
1548
|
-
this.
|
|
1549
|
-
this.
|
|
1550
|
-
suspendResult = this.
|
|
1550
|
+
this.v8_1 = 2;
|
|
1551
|
+
this.u8_1 = 1;
|
|
1552
|
+
suspendResult = this.i50_1.f4t(this);
|
|
1551
1553
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1552
1554
|
return suspendResult;
|
|
1553
1555
|
}
|
|
1554
1556
|
|
|
1555
1557
|
continue $sm;
|
|
1556
1558
|
case 1:
|
|
1557
|
-
this.
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1559
|
+
this.k50_1 = suspendResult;
|
|
1560
|
+
this.v8_1 = 6;
|
|
1561
|
+
this.u8_1 = 5;
|
|
1560
1562
|
continue $sm;
|
|
1561
1563
|
case 2:
|
|
1562
|
-
this.
|
|
1563
|
-
var tmp_0 = this.
|
|
1564
|
+
this.v8_1 = 6;
|
|
1565
|
+
var tmp_0 = this.x8_1;
|
|
1564
1566
|
if (tmp_0 instanceof Error) {
|
|
1565
|
-
this.
|
|
1566
|
-
|
|
1567
|
-
this.
|
|
1568
|
-
invoke$logResponseException(this.
|
|
1569
|
-
this.
|
|
1570
|
-
suspendResult = this.
|
|
1567
|
+
this.l50_1 = this.x8_1;
|
|
1568
|
+
var log = StringBuilder_init_$Create$();
|
|
1569
|
+
this.m50_1 = this.j50_1.m3e().y2h(get_ClientCallLogger());
|
|
1570
|
+
invoke$logResponseException(this.h50_1, log, this.j50_1.l3e(), this.l50_1);
|
|
1571
|
+
this.u8_1 = 3;
|
|
1572
|
+
suspendResult = this.m50_1.r4q(log.toString(), this);
|
|
1571
1573
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1572
1574
|
return suspendResult;
|
|
1573
1575
|
}
|
|
1574
1576
|
continue $sm;
|
|
1575
1577
|
} else {
|
|
1576
|
-
throw this.
|
|
1578
|
+
throw this.x8_1;
|
|
1577
1579
|
}
|
|
1578
1580
|
|
|
1579
1581
|
case 3:
|
|
1580
|
-
this.
|
|
1581
|
-
suspendResult = this.
|
|
1582
|
+
this.u8_1 = 4;
|
|
1583
|
+
suspendResult = this.m50_1.u4q(this);
|
|
1582
1584
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1583
1585
|
return suspendResult;
|
|
1584
1586
|
}
|
|
@@ -1586,76 +1588,76 @@
|
|
|
1586
1588
|
continue $sm;
|
|
1587
1589
|
case 4:
|
|
1588
1590
|
var tmp_1 = this;
|
|
1589
|
-
throw this.
|
|
1591
|
+
throw this.l50_1;
|
|
1590
1592
|
case 5:
|
|
1591
|
-
this.
|
|
1593
|
+
this.v8_1 = 6;
|
|
1592
1594
|
return Unit_instance;
|
|
1593
1595
|
case 6:
|
|
1594
|
-
throw this.
|
|
1596
|
+
throw this.x8_1;
|
|
1595
1597
|
}
|
|
1596
1598
|
} catch ($p) {
|
|
1597
1599
|
var e = $p;
|
|
1598
|
-
if (this.
|
|
1600
|
+
if (this.v8_1 === 6) {
|
|
1599
1601
|
throw e;
|
|
1600
1602
|
} else {
|
|
1601
|
-
this.
|
|
1602
|
-
this.
|
|
1603
|
+
this.u8_1 = this.v8_1;
|
|
1604
|
+
this.x8_1 = e;
|
|
1603
1605
|
}
|
|
1604
1606
|
}
|
|
1605
1607
|
while (true);
|
|
1606
1608
|
};
|
|
1607
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1608
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
1609
|
-
i.
|
|
1610
|
-
i.
|
|
1609
|
+
protoOf(Logging$lambda$slambda_5).o50 = function ($this$on, call, completion) {
|
|
1610
|
+
var i = new Logging$lambda$slambda_5(this.g50_1, this.h50_1, completion);
|
|
1611
|
+
i.i50_1 = $this$on;
|
|
1612
|
+
i.j50_1 = call;
|
|
1611
1613
|
return i;
|
|
1612
1614
|
};
|
|
1613
1615
|
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
1614
1616
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
1615
1617
|
var l = function ($this$on, call, $completion) {
|
|
1616
|
-
return i.
|
|
1618
|
+
return i.n50($this$on, call, $completion);
|
|
1617
1619
|
};
|
|
1618
1620
|
l.$arity = 2;
|
|
1619
1621
|
return l;
|
|
1620
1622
|
}
|
|
1621
1623
|
function Logging$lambda$lambda$lambda(it) {
|
|
1622
1624
|
_init_properties_Logging_kt__66pui5();
|
|
1623
|
-
return !get_isSaved(it.
|
|
1625
|
+
return !get_isSaved(it.d3c());
|
|
1624
1626
|
}
|
|
1625
1627
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
1626
|
-
this.
|
|
1628
|
+
this.x50_1 = $level;
|
|
1627
1629
|
CoroutineImpl.call(this, resultContinuation);
|
|
1628
1630
|
}
|
|
1629
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1630
|
-
var tmp = this.
|
|
1631
|
-
tmp.
|
|
1632
|
-
tmp.
|
|
1633
|
-
return tmp.
|
|
1631
|
+
protoOf(Logging$lambda$lambda$slambda).t3n = function (response, $completion) {
|
|
1632
|
+
var tmp = this.g3m(response, $completion);
|
|
1633
|
+
tmp.w8_1 = Unit_instance;
|
|
1634
|
+
tmp.x8_1 = null;
|
|
1635
|
+
return tmp.c9();
|
|
1634
1636
|
};
|
|
1635
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1636
|
-
return this.
|
|
1637
|
+
protoOf(Logging$lambda$lambda$slambda).o9 = function (p1, $completion) {
|
|
1638
|
+
return this.t3n(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
1637
1639
|
};
|
|
1638
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1639
|
-
var suspendResult = this.
|
|
1640
|
+
protoOf(Logging$lambda$lambda$slambda).c9 = function () {
|
|
1641
|
+
var suspendResult = this.w8_1;
|
|
1640
1642
|
$sm: do
|
|
1641
1643
|
try {
|
|
1642
|
-
var tmp = this.
|
|
1644
|
+
var tmp = this.u8_1;
|
|
1643
1645
|
switch (tmp) {
|
|
1644
1646
|
case 0:
|
|
1645
|
-
this.
|
|
1646
|
-
if (this.
|
|
1647
|
+
this.v8_1 = 3;
|
|
1648
|
+
if (this.x50_1.equals(LogLevel_NONE_getInstance()) || this.y50_1.s3e().m3e().a2i(get_DisableLogging()))
|
|
1647
1649
|
return Unit_instance;
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
suspendResult = logResponseBody(this.
|
|
1650
|
+
this.z50_1 = this.y50_1.s3e().m3e().y2h(get_ClientCallLogger());
|
|
1651
|
+
this.u8_1 = 1;
|
|
1652
|
+
suspendResult = logResponseBody(this.z50_1, this.y50_1, this);
|
|
1651
1653
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1652
1654
|
return suspendResult;
|
|
1653
1655
|
}
|
|
1654
1656
|
|
|
1655
1657
|
continue $sm;
|
|
1656
1658
|
case 1:
|
|
1657
|
-
this.
|
|
1658
|
-
suspendResult = this.
|
|
1659
|
+
this.u8_1 = 2;
|
|
1660
|
+
suspendResult = this.z50_1.u4q(this);
|
|
1659
1661
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1660
1662
|
return suspendResult;
|
|
1661
1663
|
}
|
|
@@ -1664,112 +1666,112 @@
|
|
|
1664
1666
|
case 2:
|
|
1665
1667
|
return Unit_instance;
|
|
1666
1668
|
case 3:
|
|
1667
|
-
throw this.
|
|
1669
|
+
throw this.x8_1;
|
|
1668
1670
|
}
|
|
1669
1671
|
} catch ($p) {
|
|
1670
1672
|
var e = $p;
|
|
1671
|
-
if (this.
|
|
1673
|
+
if (this.v8_1 === 3) {
|
|
1672
1674
|
throw e;
|
|
1673
1675
|
} else {
|
|
1674
|
-
this.
|
|
1675
|
-
this.
|
|
1676
|
+
this.u8_1 = this.v8_1;
|
|
1677
|
+
this.x8_1 = e;
|
|
1676
1678
|
}
|
|
1677
1679
|
}
|
|
1678
1680
|
while (true);
|
|
1679
1681
|
};
|
|
1680
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1681
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
1682
|
-
i.
|
|
1682
|
+
protoOf(Logging$lambda$lambda$slambda).g3m = function (response, completion) {
|
|
1683
|
+
var i = new Logging$lambda$lambda$slambda(this.x50_1, completion);
|
|
1684
|
+
i.y50_1 = response;
|
|
1683
1685
|
return i;
|
|
1684
1686
|
};
|
|
1685
1687
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
1686
1688
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
1687
1689
|
var l = function (response, $completion) {
|
|
1688
|
-
return i.
|
|
1690
|
+
return i.t3n(response, $completion);
|
|
1689
1691
|
};
|
|
1690
1692
|
l.$arity = 1;
|
|
1691
1693
|
return l;
|
|
1692
1694
|
}
|
|
1693
1695
|
function Logging$lambda$lambda($level) {
|
|
1694
1696
|
return function ($this$prepare) {
|
|
1695
|
-
$this$prepare.
|
|
1696
|
-
$this$prepare.
|
|
1697
|
+
$this$prepare.w45(Logging$lambda$lambda$lambda);
|
|
1698
|
+
$this$prepare.v45(Logging$lambda$lambda$slambda_0($level, null));
|
|
1697
1699
|
return Unit_instance;
|
|
1698
1700
|
};
|
|
1699
1701
|
}
|
|
1700
1702
|
function Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
1701
|
-
this.
|
|
1702
|
-
this.
|
|
1703
|
-
this.
|
|
1704
|
-
this.
|
|
1703
|
+
this.i51_1 = $channel;
|
|
1704
|
+
this.j51_1 = $firstChunk;
|
|
1705
|
+
this.k51_1 = $firstReadSize;
|
|
1706
|
+
this.l51_1 = $body;
|
|
1705
1707
|
CoroutineImpl.call(this, resultContinuation);
|
|
1706
1708
|
}
|
|
1707
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
1708
|
-
var tmp = this.
|
|
1709
|
-
tmp.
|
|
1710
|
-
tmp.
|
|
1711
|
-
return tmp.
|
|
1709
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).o51 = function ($this$async, $completion) {
|
|
1710
|
+
var tmp = this.j1v($this$async, $completion);
|
|
1711
|
+
tmp.w8_1 = Unit_instance;
|
|
1712
|
+
tmp.x8_1 = null;
|
|
1713
|
+
return tmp.c9();
|
|
1712
1714
|
};
|
|
1713
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
1714
|
-
return this.
|
|
1715
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).o9 = function (p1, $completion) {
|
|
1716
|
+
return this.o51((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1715
1717
|
};
|
|
1716
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
1717
|
-
var suspendResult = this.
|
|
1718
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).c9 = function () {
|
|
1719
|
+
var suspendResult = this.w8_1;
|
|
1718
1720
|
$sm: do
|
|
1719
1721
|
try {
|
|
1720
|
-
var tmp = this.
|
|
1722
|
+
var tmp = this.u8_1;
|
|
1721
1723
|
switch (tmp) {
|
|
1722
1724
|
case 0:
|
|
1723
|
-
this.
|
|
1724
|
-
this.
|
|
1725
|
-
suspendResult = writeFully(this.
|
|
1725
|
+
this.v8_1 = 4;
|
|
1726
|
+
this.u8_1 = 1;
|
|
1727
|
+
suspendResult = writeFully(this.i51_1, this.j51_1, 0, this.k51_1, this);
|
|
1726
1728
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1727
1729
|
return suspendResult;
|
|
1728
1730
|
}
|
|
1729
1731
|
|
|
1730
1732
|
continue $sm;
|
|
1731
1733
|
case 1:
|
|
1732
|
-
this.
|
|
1733
|
-
suspendResult = copyTo(this.
|
|
1734
|
+
this.u8_1 = 2;
|
|
1735
|
+
suspendResult = copyTo(this.l51_1, this.i51_1, this);
|
|
1734
1736
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1735
1737
|
return suspendResult;
|
|
1736
1738
|
}
|
|
1737
1739
|
|
|
1738
1740
|
continue $sm;
|
|
1739
1741
|
case 2:
|
|
1740
|
-
this.
|
|
1741
|
-
this.
|
|
1742
|
-
suspendResult = this.
|
|
1742
|
+
this.n51_1 = suspendResult;
|
|
1743
|
+
this.u8_1 = 3;
|
|
1744
|
+
suspendResult = this.i51_1.j1m(this);
|
|
1743
1745
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1744
1746
|
return suspendResult;
|
|
1745
1747
|
}
|
|
1746
1748
|
|
|
1747
1749
|
continue $sm;
|
|
1748
1750
|
case 3:
|
|
1749
|
-
return this.
|
|
1751
|
+
return this.n51_1;
|
|
1750
1752
|
case 4:
|
|
1751
|
-
throw this.
|
|
1753
|
+
throw this.x8_1;
|
|
1752
1754
|
}
|
|
1753
1755
|
} catch ($p) {
|
|
1754
1756
|
var e = $p;
|
|
1755
|
-
if (this.
|
|
1757
|
+
if (this.v8_1 === 4) {
|
|
1756
1758
|
throw e;
|
|
1757
1759
|
} else {
|
|
1758
|
-
this.
|
|
1759
|
-
this.
|
|
1760
|
+
this.u8_1 = this.v8_1;
|
|
1761
|
+
this.x8_1 = e;
|
|
1760
1762
|
}
|
|
1761
1763
|
}
|
|
1762
1764
|
while (true);
|
|
1763
1765
|
};
|
|
1764
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
1765
|
-
var i = new Logging$lambda$detectIfBinary$slambda(this.
|
|
1766
|
-
i.
|
|
1766
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).j1v = function ($this$async, completion) {
|
|
1767
|
+
var i = new Logging$lambda$detectIfBinary$slambda(this.i51_1, this.j51_1, this.k51_1, this.l51_1, completion);
|
|
1768
|
+
i.m51_1 = $this$async;
|
|
1767
1769
|
return i;
|
|
1768
1770
|
};
|
|
1769
1771
|
function Logging$lambda$detectIfBinary$slambda_0($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
1770
1772
|
var i = new Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation);
|
|
1771
1773
|
var l = function ($this$async, $completion) {
|
|
1772
|
-
return i.
|
|
1774
|
+
return i.o51($this$async, $completion);
|
|
1773
1775
|
};
|
|
1774
1776
|
l.$arity = 1;
|
|
1775
1777
|
return l;
|
|
@@ -1779,67 +1781,67 @@
|
|
|
1779
1781
|
return it;
|
|
1780
1782
|
}
|
|
1781
1783
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1782
|
-
this.
|
|
1783
|
-
this.
|
|
1784
|
+
this.x51_1 = $content;
|
|
1785
|
+
this.y51_1 = $channel;
|
|
1784
1786
|
CoroutineImpl.call(this, resultContinuation);
|
|
1785
1787
|
}
|
|
1786
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1787
|
-
var tmp = this.
|
|
1788
|
-
tmp.
|
|
1789
|
-
tmp.
|
|
1790
|
-
return tmp.
|
|
1788
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).i1v = function ($this$launch, $completion) {
|
|
1789
|
+
var tmp = this.j1v($this$launch, $completion);
|
|
1790
|
+
tmp.w8_1 = Unit_instance;
|
|
1791
|
+
tmp.x8_1 = null;
|
|
1792
|
+
return tmp.c9();
|
|
1791
1793
|
};
|
|
1792
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1793
|
-
return this.
|
|
1794
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).o9 = function (p1, $completion) {
|
|
1795
|
+
return this.i1v((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1794
1796
|
};
|
|
1795
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1796
|
-
var suspendResult = this.
|
|
1797
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).c9 = function () {
|
|
1798
|
+
var suspendResult = this.w8_1;
|
|
1797
1799
|
$sm: do
|
|
1798
1800
|
try {
|
|
1799
|
-
var tmp = this.
|
|
1801
|
+
var tmp = this.u8_1;
|
|
1800
1802
|
switch (tmp) {
|
|
1801
1803
|
case 0:
|
|
1802
|
-
this.
|
|
1803
|
-
this.
|
|
1804
|
-
suspendResult = this.
|
|
1804
|
+
this.v8_1 = 2;
|
|
1805
|
+
this.u8_1 = 1;
|
|
1806
|
+
suspendResult = this.x51_1.q33(this.y51_1, this);
|
|
1805
1807
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1806
1808
|
return suspendResult;
|
|
1807
1809
|
}
|
|
1808
1810
|
|
|
1809
1811
|
continue $sm;
|
|
1810
1812
|
case 1:
|
|
1811
|
-
this.
|
|
1813
|
+
this.y51_1.b4();
|
|
1812
1814
|
return Unit_instance;
|
|
1813
1815
|
case 2:
|
|
1814
|
-
throw this.
|
|
1816
|
+
throw this.x8_1;
|
|
1815
1817
|
}
|
|
1816
1818
|
} catch ($p) {
|
|
1817
1819
|
var e = $p;
|
|
1818
|
-
if (this.
|
|
1820
|
+
if (this.v8_1 === 2) {
|
|
1819
1821
|
throw e;
|
|
1820
1822
|
} else {
|
|
1821
|
-
this.
|
|
1822
|
-
this.
|
|
1823
|
+
this.u8_1 = this.v8_1;
|
|
1824
|
+
this.x8_1 = e;
|
|
1823
1825
|
}
|
|
1824
1826
|
}
|
|
1825
1827
|
while (true);
|
|
1826
1828
|
};
|
|
1827
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1828
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1829
|
-
i.
|
|
1829
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).j1v = function ($this$launch, completion) {
|
|
1830
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.x51_1, this.y51_1, completion);
|
|
1831
|
+
i.z51_1 = $this$launch;
|
|
1830
1832
|
return i;
|
|
1831
1833
|
};
|
|
1832
1834
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
1833
1835
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
1834
1836
|
var l = function ($this$launch, $completion) {
|
|
1835
|
-
return i.
|
|
1837
|
+
return i.i1v($this$launch, $completion);
|
|
1836
1838
|
};
|
|
1837
1839
|
l.$arity = 1;
|
|
1838
1840
|
return l;
|
|
1839
1841
|
}
|
|
1840
1842
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1841
1843
|
_init_properties_Logging_kt__66pui5();
|
|
1842
|
-
return GZipEncoder_getInstance().
|
|
1844
|
+
return GZipEncoder_getInstance().l2l(channel);
|
|
1843
1845
|
}
|
|
1844
1846
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1845
1847
|
return function ($this$replaceResponse) {
|
|
@@ -1847,42 +1849,38 @@
|
|
|
1847
1849
|
};
|
|
1848
1850
|
}
|
|
1849
1851
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1850
|
-
this.
|
|
1851
|
-
this.
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1852
|
+
this.i52_1 = $channel;
|
|
1853
|
+
this.j52_1 = $charset;
|
|
1854
|
+
this.k52_1 = $requestLog;
|
|
1855
|
+
this.l52_1 = $logger;
|
|
1854
1856
|
CoroutineImpl.call(this, resultContinuation);
|
|
1855
1857
|
}
|
|
1856
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1857
|
-
var tmp = this.
|
|
1858
|
-
tmp.
|
|
1859
|
-
tmp.
|
|
1860
|
-
return tmp.
|
|
1858
|
+
protoOf(Logging$lambda$logRequestBody$slambda).i1v = function ($this$launch, $completion) {
|
|
1859
|
+
var tmp = this.j1v($this$launch, $completion);
|
|
1860
|
+
tmp.w8_1 = Unit_instance;
|
|
1861
|
+
tmp.x8_1 = null;
|
|
1862
|
+
return tmp.c9();
|
|
1861
1863
|
};
|
|
1862
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1863
|
-
return this.
|
|
1864
|
+
protoOf(Logging$lambda$logRequestBody$slambda).o9 = function (p1, $completion) {
|
|
1865
|
+
return this.i1v((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1864
1866
|
};
|
|
1865
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1866
|
-
var suspendResult = this.
|
|
1867
|
+
protoOf(Logging$lambda$logRequestBody$slambda).c9 = function () {
|
|
1868
|
+
var suspendResult = this.w8_1;
|
|
1867
1869
|
$sm: do
|
|
1868
1870
|
try {
|
|
1869
|
-
var tmp = this.
|
|
1871
|
+
var tmp = this.u8_1;
|
|
1870
1872
|
switch (tmp) {
|
|
1871
1873
|
case 0:
|
|
1872
|
-
this.
|
|
1873
|
-
this.
|
|
1874
|
+
this.v8_1 = 7;
|
|
1875
|
+
this.u8_1 = 1;
|
|
1874
1876
|
continue $sm;
|
|
1875
1877
|
case 1:
|
|
1876
|
-
this.
|
|
1877
|
-
var
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
this.m5f_1 = this.k5f_1;
|
|
1883
|
-
this.o9_1 = 3;
|
|
1884
|
-
this.n9_1 = 2;
|
|
1885
|
-
suspendResult = readRemaining(this.l5f_1, this);
|
|
1878
|
+
this.v8_1 = 6;
|
|
1879
|
+
var tmp0 = this.i52_1;
|
|
1880
|
+
this.p52_1 = this.j52_1;
|
|
1881
|
+
this.v8_1 = 3;
|
|
1882
|
+
this.u8_1 = 2;
|
|
1883
|
+
suspendResult = readRemaining(tmp0, this);
|
|
1886
1884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1887
1885
|
return suspendResult;
|
|
1888
1886
|
}
|
|
@@ -1890,241 +1888,237 @@
|
|
|
1890
1888
|
continue $sm;
|
|
1891
1889
|
case 2:
|
|
1892
1890
|
var ARGUMENT = suspendResult;
|
|
1893
|
-
this.
|
|
1894
|
-
this.
|
|
1895
|
-
this.
|
|
1891
|
+
this.o52_1 = readText(ARGUMENT, this.p52_1);
|
|
1892
|
+
this.v8_1 = 6;
|
|
1893
|
+
this.u8_1 = 4;
|
|
1896
1894
|
continue $sm;
|
|
1897
1895
|
case 3:
|
|
1898
|
-
this.
|
|
1899
|
-
var
|
|
1900
|
-
if (
|
|
1901
|
-
var cause = this.
|
|
1902
|
-
var
|
|
1903
|
-
|
|
1904
|
-
this.
|
|
1896
|
+
this.v8_1 = 6;
|
|
1897
|
+
var tmp_0 = this.x8_1;
|
|
1898
|
+
if (tmp_0 instanceof Error) {
|
|
1899
|
+
var cause = this.x8_1;
|
|
1900
|
+
var tmp_1 = this;
|
|
1901
|
+
tmp_1.o52_1 = null;
|
|
1902
|
+
this.u8_1 = 4;
|
|
1905
1903
|
continue $sm;
|
|
1906
1904
|
} else {
|
|
1907
|
-
throw this.
|
|
1905
|
+
throw this.x8_1;
|
|
1908
1906
|
}
|
|
1909
1907
|
|
|
1910
1908
|
case 4:
|
|
1911
|
-
this.
|
|
1912
|
-
var tmp0_elvis_lhs = this.
|
|
1909
|
+
this.v8_1 = 6;
|
|
1910
|
+
var tmp0_elvis_lhs = this.o52_1;
|
|
1913
1911
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1914
|
-
var
|
|
1912
|
+
var tmp0_0 = this.k52_1;
|
|
1915
1913
|
var value = 'BODY START';
|
|
1916
|
-
|
|
1917
|
-
this.
|
|
1918
|
-
this.
|
|
1919
|
-
this.
|
|
1920
|
-
this.
|
|
1914
|
+
tmp0_0.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
1915
|
+
this.k52_1.f8(text).g8(_Char___init__impl__6a9atx(10));
|
|
1916
|
+
this.n52_1 = this.k52_1.f8('BODY END');
|
|
1917
|
+
this.v8_1 = 7;
|
|
1918
|
+
this.u8_1 = 5;
|
|
1921
1919
|
continue $sm;
|
|
1922
1920
|
case 5:
|
|
1923
|
-
this.
|
|
1924
|
-
this.
|
|
1925
|
-
this.
|
|
1926
|
-
this.
|
|
1921
|
+
this.n52_1;
|
|
1922
|
+
this.v8_1 = 7;
|
|
1923
|
+
this.l52_1.p4q(this.k52_1.toString());
|
|
1924
|
+
this.l52_1.t4q();
|
|
1927
1925
|
return Unit_instance;
|
|
1928
1926
|
case 6:
|
|
1929
|
-
this.
|
|
1930
|
-
var t = this.
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1927
|
+
this.v8_1 = 7;
|
|
1928
|
+
var t = this.x8_1;
|
|
1929
|
+
this.l52_1.p4q(this.k52_1.toString());
|
|
1930
|
+
this.l52_1.t4q();
|
|
1933
1931
|
throw t;
|
|
1934
1932
|
case 7:
|
|
1935
|
-
throw this.
|
|
1933
|
+
throw this.x8_1;
|
|
1936
1934
|
}
|
|
1937
1935
|
} catch ($p) {
|
|
1938
1936
|
var e = $p;
|
|
1939
|
-
if (this.
|
|
1937
|
+
if (this.v8_1 === 7) {
|
|
1940
1938
|
throw e;
|
|
1941
1939
|
} else {
|
|
1942
|
-
this.
|
|
1943
|
-
this.
|
|
1940
|
+
this.u8_1 = this.v8_1;
|
|
1941
|
+
this.x8_1 = e;
|
|
1944
1942
|
}
|
|
1945
1943
|
}
|
|
1946
1944
|
while (true);
|
|
1947
1945
|
};
|
|
1948
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1949
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1950
|
-
i.
|
|
1946
|
+
protoOf(Logging$lambda$logRequestBody$slambda).j1v = function ($this$launch, completion) {
|
|
1947
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.i52_1, this.j52_1, this.k52_1, this.l52_1, completion);
|
|
1948
|
+
i.m52_1 = $this$launch;
|
|
1951
1949
|
return i;
|
|
1952
1950
|
};
|
|
1953
1951
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1954
1952
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1955
1953
|
var l = function ($this$launch, $completion) {
|
|
1956
|
-
return i.
|
|
1954
|
+
return i.i1v($this$launch, $completion);
|
|
1957
1955
|
};
|
|
1958
1956
|
l.$arity = 1;
|
|
1959
1957
|
return l;
|
|
1960
1958
|
}
|
|
1961
1959
|
function $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, resultContinuation) {
|
|
1962
1960
|
CoroutineImpl.call(this, resultContinuation);
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
}
|
|
1969
|
-
protoOf($invoke$detectIfBinaryCOROUTINE$).
|
|
1970
|
-
var suspendResult = this.
|
|
1961
|
+
this.a4u_1 = $this_createClientPlugin;
|
|
1962
|
+
this.b4u_1 = body;
|
|
1963
|
+
this.c4u_1 = contentLength;
|
|
1964
|
+
this.d4u_1 = contentType;
|
|
1965
|
+
this.e4u_1 = headers;
|
|
1966
|
+
}
|
|
1967
|
+
protoOf($invoke$detectIfBinaryCOROUTINE$).c9 = function () {
|
|
1968
|
+
var suspendResult = this.w8_1;
|
|
1971
1969
|
$sm: do
|
|
1972
1970
|
try {
|
|
1973
|
-
var tmp = this.
|
|
1971
|
+
var tmp = this.u8_1;
|
|
1974
1972
|
switch (tmp) {
|
|
1975
1973
|
case 0:
|
|
1976
|
-
this.
|
|
1977
|
-
if (this.
|
|
1978
|
-
return new Triple(true, this.
|
|
1974
|
+
this.v8_1 = 4;
|
|
1975
|
+
if (this.e4u_1.x2l(HttpHeaders_getInstance().x2t_1)) {
|
|
1976
|
+
return new Triple(true, this.c4u_1, this.b4u_1);
|
|
1979
1977
|
}
|
|
1980
1978
|
|
|
1981
1979
|
var tmp_0 = this;
|
|
1982
1980
|
var tmp_1;
|
|
1983
|
-
if (!(this.
|
|
1984
|
-
var tmp0_elvis_lhs = charset(this.
|
|
1985
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
1981
|
+
if (!(this.d4u_1 == null)) {
|
|
1982
|
+
var tmp0_elvis_lhs = charset(this.d4u_1);
|
|
1983
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().d1w_1 : tmp0_elvis_lhs;
|
|
1986
1984
|
} else {
|
|
1987
|
-
tmp_1 = Charsets_getInstance().
|
|
1985
|
+
tmp_1 = Charsets_getInstance().d1w_1;
|
|
1988
1986
|
}
|
|
1989
1987
|
|
|
1990
|
-
tmp_0.
|
|
1991
|
-
this.
|
|
1992
|
-
this.
|
|
1993
|
-
this.
|
|
1994
|
-
suspendResult = readAvailable(this.
|
|
1988
|
+
tmp_0.j4u_1 = tmp_1;
|
|
1989
|
+
this.h4u_1 = false;
|
|
1990
|
+
this.i4u_1 = new Int8Array(1024);
|
|
1991
|
+
this.u8_1 = 1;
|
|
1992
|
+
suspendResult = readAvailable(this.b4u_1, this.i4u_1, VOID, VOID, this);
|
|
1995
1993
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1996
1994
|
return suspendResult;
|
|
1997
1995
|
}
|
|
1998
1996
|
|
|
1999
1997
|
continue $sm;
|
|
2000
1998
|
case 1:
|
|
2001
|
-
this.
|
|
2002
|
-
if (this.
|
|
2003
|
-
return new Triple(false, new Long(0, 0), this.
|
|
1999
|
+
this.g4u_1 = suspendResult;
|
|
2000
|
+
if (this.g4u_1 < 1) {
|
|
2001
|
+
return new Triple(false, new Long(0, 0), this.b4u_1);
|
|
2004
2002
|
}
|
|
2005
2003
|
|
|
2006
|
-
var tmp_2 = this;
|
|
2007
2004
|
var this_0 = new Buffer();
|
|
2008
|
-
writeFully_0(this_0, this.
|
|
2009
|
-
|
|
2010
|
-
var
|
|
2011
|
-
var tmp_4;
|
|
2005
|
+
writeFully_0(this_0, this.i4u_1, 0, this.g4u_1);
|
|
2006
|
+
var buffer = this_0;
|
|
2007
|
+
var tmp_2;
|
|
2012
2008
|
try {
|
|
2013
|
-
|
|
2009
|
+
tmp_2 = decode(this.j4u_1.g1w(), buffer);
|
|
2014
2010
|
} catch ($p) {
|
|
2015
|
-
var
|
|
2011
|
+
var tmp_3;
|
|
2016
2012
|
if ($p instanceof MalformedInputException) {
|
|
2017
2013
|
var _unused_var__etf5q3 = $p;
|
|
2018
|
-
this.
|
|
2019
|
-
|
|
2014
|
+
this.h4u_1 = true;
|
|
2015
|
+
tmp_3 = '';
|
|
2020
2016
|
} else {
|
|
2021
2017
|
throw $p;
|
|
2022
2018
|
}
|
|
2023
|
-
|
|
2019
|
+
tmp_2 = tmp_3;
|
|
2024
2020
|
}
|
|
2025
2021
|
|
|
2026
|
-
|
|
2027
|
-
if (!this.
|
|
2022
|
+
var firstChunkText = tmp_2;
|
|
2023
|
+
if (!this.h4u_1) {
|
|
2028
2024
|
var lastCharIndex = -1;
|
|
2029
|
-
var indexedObject = this.v55_1;
|
|
2030
2025
|
var inductionVariable = 0;
|
|
2031
|
-
var last =
|
|
2026
|
+
var last = firstChunkText.length;
|
|
2032
2027
|
while (inductionVariable < last) {
|
|
2033
|
-
var ch = charCodeAt(
|
|
2028
|
+
var ch = charCodeAt(firstChunkText, inductionVariable);
|
|
2034
2029
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2035
2030
|
lastCharIndex = lastCharIndex + 1 | 0;
|
|
2036
2031
|
}
|
|
2037
|
-
var indexedObject_0 = this.v55_1;
|
|
2038
2032
|
var inductionVariable_0 = 0;
|
|
2039
|
-
var last_0 =
|
|
2033
|
+
var last_0 = firstChunkText.length;
|
|
2040
2034
|
$l$loop: while (inductionVariable_0 < last_0) {
|
|
2041
2035
|
var i = inductionVariable_0;
|
|
2042
|
-
var ch_0 = charCodeAt(
|
|
2036
|
+
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
2043
2037
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2044
2038
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
2045
|
-
this.
|
|
2039
|
+
this.h4u_1 = true;
|
|
2046
2040
|
break $l$loop;
|
|
2047
2041
|
}
|
|
2048
2042
|
}
|
|
2049
2043
|
}
|
|
2050
2044
|
|
|
2051
|
-
if (!this.
|
|
2052
|
-
this.
|
|
2053
|
-
this.
|
|
2054
|
-
suspendResult = async(this.
|
|
2045
|
+
if (!this.h4u_1) {
|
|
2046
|
+
this.f4u_1 = new ByteChannel();
|
|
2047
|
+
this.u8_1 = 3;
|
|
2048
|
+
suspendResult = async(this.a4u_1.f3l_1, VOID, VOID, Logging$lambda$detectIfBinary$slambda_0(this.f4u_1, this.i4u_1, this.g4u_1, this.b4u_1, null)).rx(this);
|
|
2055
2049
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2056
2050
|
return suspendResult;
|
|
2057
2051
|
}
|
|
2058
2052
|
continue $sm;
|
|
2059
2053
|
} else {
|
|
2060
|
-
this.
|
|
2054
|
+
this.u8_1 = 2;
|
|
2061
2055
|
continue $sm;
|
|
2062
2056
|
}
|
|
2063
2057
|
|
|
2064
2058
|
case 2:
|
|
2065
|
-
return new Triple(this.
|
|
2059
|
+
return new Triple(this.h4u_1, this.c4u_1, this.b4u_1);
|
|
2066
2060
|
case 3:
|
|
2067
2061
|
var copied = suspendResult;
|
|
2068
|
-
var
|
|
2069
|
-
var other = this.
|
|
2070
|
-
return new Triple(
|
|
2062
|
+
var tmp_4 = this.h4u_1;
|
|
2063
|
+
var other = this.g4u_1;
|
|
2064
|
+
return new Triple(tmp_4, add(copied, fromInt(other)), this.f4u_1);
|
|
2071
2065
|
case 4:
|
|
2072
|
-
throw this.
|
|
2066
|
+
throw this.x8_1;
|
|
2073
2067
|
}
|
|
2074
2068
|
} catch ($p) {
|
|
2075
2069
|
var e = $p;
|
|
2076
|
-
if (this.
|
|
2070
|
+
if (this.v8_1 === 4) {
|
|
2077
2071
|
throw e;
|
|
2078
2072
|
} else {
|
|
2079
|
-
this.
|
|
2080
|
-
this.
|
|
2073
|
+
this.u8_1 = this.v8_1;
|
|
2074
|
+
this.x8_1 = e;
|
|
2081
2075
|
}
|
|
2082
2076
|
}
|
|
2083
2077
|
while (true);
|
|
2084
2078
|
};
|
|
2085
2079
|
function $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2086
2080
|
CoroutineImpl.call(this, resultContinuation);
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2092
|
-
this.
|
|
2093
|
-
this.
|
|
2094
|
-
}
|
|
2095
|
-
protoOf($invoke$logRequestBodyCOROUTINE$).
|
|
2096
|
-
var suspendResult = this.
|
|
2081
|
+
this.s4u_1 = $this_createClientPlugin;
|
|
2082
|
+
this.t4u_1 = content;
|
|
2083
|
+
this.u4u_1 = contentLength;
|
|
2084
|
+
this.v4u_1 = headers;
|
|
2085
|
+
this.w4u_1 = method;
|
|
2086
|
+
this.x4u_1 = logLines;
|
|
2087
|
+
this.y4u_1 = body;
|
|
2088
|
+
}
|
|
2089
|
+
protoOf($invoke$logRequestBodyCOROUTINE$).c9 = function () {
|
|
2090
|
+
var suspendResult = this.w8_1;
|
|
2097
2091
|
$sm: do
|
|
2098
2092
|
try {
|
|
2099
|
-
var tmp = this.
|
|
2093
|
+
var tmp = this.u8_1;
|
|
2100
2094
|
switch (tmp) {
|
|
2101
2095
|
case 0:
|
|
2102
|
-
this.
|
|
2103
|
-
this.
|
|
2104
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2096
|
+
this.v8_1 = 4;
|
|
2097
|
+
this.u8_1 = 1;
|
|
2098
|
+
suspendResult = invoke$detectIfBinary(this.s4u_1, this.y4u_1, this.u4u_1, this.t4u_1.i33(), this.v4u_1, this);
|
|
2105
2099
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2106
2100
|
return suspendResult;
|
|
2107
2101
|
}
|
|
2108
2102
|
|
|
2109
2103
|
continue $sm;
|
|
2110
2104
|
case 1:
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
this.
|
|
2114
|
-
|
|
2115
|
-
if (!
|
|
2116
|
-
|
|
2105
|
+
var _destruct__k2r9zo = suspendResult;
|
|
2106
|
+
var isBinary = _destruct__k2r9zo.ig();
|
|
2107
|
+
this.a4v_1 = _destruct__k2r9zo.jg();
|
|
2108
|
+
var newBody = _destruct__k2r9zo.fm();
|
|
2109
|
+
if (!isBinary) {
|
|
2110
|
+
var contentType = this.t4u_1.i33();
|
|
2117
2111
|
var tmp_0 = this;
|
|
2118
2112
|
var tmp_1;
|
|
2119
|
-
if (!(
|
|
2120
|
-
var tmp0_elvis_lhs = charset(
|
|
2121
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2113
|
+
if (!(contentType == null)) {
|
|
2114
|
+
var tmp0_elvis_lhs = charset(contentType);
|
|
2115
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().d1w_1 : tmp0_elvis_lhs;
|
|
2122
2116
|
} else {
|
|
2123
|
-
tmp_1 = Charsets_getInstance().
|
|
2117
|
+
tmp_1 = Charsets_getInstance().d1w_1;
|
|
2124
2118
|
}
|
|
2125
|
-
tmp_0.
|
|
2126
|
-
this.
|
|
2127
|
-
suspendResult = readRemaining(
|
|
2119
|
+
tmp_0.b4v_1 = tmp_1;
|
|
2120
|
+
this.u8_1 = 2;
|
|
2121
|
+
suspendResult = readRemaining(newBody, this);
|
|
2128
2122
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2129
2123
|
return suspendResult;
|
|
2130
2124
|
}
|
|
@@ -2132,123 +2126,117 @@
|
|
|
2132
2126
|
} else {
|
|
2133
2127
|
var tmp_2 = this;
|
|
2134
2128
|
var type = 'binary';
|
|
2135
|
-
if (this.
|
|
2129
|
+
if (this.v4u_1.x2l(HttpHeaders_getInstance().x2t_1)) {
|
|
2136
2130
|
type = 'encoded';
|
|
2137
2131
|
}
|
|
2138
2132
|
var tmp_3;
|
|
2139
|
-
if (!(this.
|
|
2140
|
-
tmp_3 = this.
|
|
2133
|
+
if (!(this.a4v_1 == null)) {
|
|
2134
|
+
tmp_3 = this.x4u_1.p('--> END ' + this.w4u_1.w2x_1 + ' (' + type + ' ' + toString_0(this.a4v_1) + '-byte body omitted)');
|
|
2141
2135
|
} else {
|
|
2142
|
-
tmp_3 = this.
|
|
2136
|
+
tmp_3 = this.x4u_1.p('--> END ' + this.w4u_1.w2x_1 + ' (' + type + ' body omitted)');
|
|
2143
2137
|
}
|
|
2144
|
-
tmp_2.
|
|
2145
|
-
this.
|
|
2138
|
+
tmp_2.z4u_1 = tmp_3;
|
|
2139
|
+
this.u8_1 = 3;
|
|
2146
2140
|
continue $sm;
|
|
2147
2141
|
}
|
|
2148
2142
|
|
|
2149
2143
|
case 2:
|
|
2150
2144
|
var ARGUMENT = suspendResult;
|
|
2151
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2152
|
-
this.
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2145
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.b4v_1);
|
|
2146
|
+
this.x4u_1.p(ARGUMENT_0);
|
|
2147
|
+
this.z4u_1 = this.x4u_1.p('--> END ' + this.w4u_1.w2x_1 + ' (' + toString_0(this.a4v_1) + '-byte body)');
|
|
2148
|
+
this.u8_1 = 3;
|
|
2155
2149
|
continue $sm;
|
|
2156
2150
|
case 3:
|
|
2157
2151
|
return Unit_instance;
|
|
2158
2152
|
case 4:
|
|
2159
|
-
throw this.
|
|
2153
|
+
throw this.x8_1;
|
|
2160
2154
|
}
|
|
2161
2155
|
} catch ($p) {
|
|
2162
2156
|
var e = $p;
|
|
2163
|
-
if (this.
|
|
2157
|
+
if (this.v8_1 === 4) {
|
|
2164
2158
|
throw e;
|
|
2165
2159
|
} else {
|
|
2166
|
-
this.
|
|
2167
|
-
this.
|
|
2160
|
+
this.u8_1 = this.v8_1;
|
|
2161
|
+
this.x8_1 = e;
|
|
2168
2162
|
}
|
|
2169
2163
|
}
|
|
2170
2164
|
while (true);
|
|
2171
2165
|
};
|
|
2172
2166
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, resultContinuation) {
|
|
2173
2167
|
CoroutineImpl.call(this, resultContinuation);
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2179
|
-
this.
|
|
2180
|
-
}
|
|
2181
|
-
protoOf($invoke$logOutgoingContentCOROUTINE$).
|
|
2182
|
-
var suspendResult = this.
|
|
2168
|
+
this.k4v_1 = $this_createClientPlugin;
|
|
2169
|
+
this.l4v_1 = content;
|
|
2170
|
+
this.m4v_1 = method;
|
|
2171
|
+
this.n4v_1 = headers;
|
|
2172
|
+
this.o4v_1 = logLines;
|
|
2173
|
+
this.p4v_1 = process;
|
|
2174
|
+
}
|
|
2175
|
+
protoOf($invoke$logOutgoingContentCOROUTINE$).c9 = function () {
|
|
2176
|
+
var suspendResult = this.w8_1;
|
|
2183
2177
|
$sm: do
|
|
2184
2178
|
try {
|
|
2185
|
-
var tmp = this.
|
|
2179
|
+
var tmp = this.u8_1;
|
|
2186
2180
|
switch (tmp) {
|
|
2187
2181
|
case 0:
|
|
2188
|
-
this.
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2194
|
-
suspendResult = invoke$logRequestBody(this.b57_1, this.c57_1, toLong(this.j57_1.length), this.e57_1, this.d57_1, this.f57_1, ByteReadChannel(this.j57_1), this);
|
|
2182
|
+
this.v8_1 = 6;
|
|
2183
|
+
var tmp0_subject = this.l4v_1;
|
|
2184
|
+
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2185
|
+
var bytes = this.l4v_1.l33();
|
|
2186
|
+
this.u8_1 = 4;
|
|
2187
|
+
suspendResult = invoke$logRequestBody(this.k4v_1, this.l4v_1, fromInt(bytes.length), this.n4v_1, this.m4v_1, this.o4v_1, ByteReadChannel(bytes), this);
|
|
2195
2188
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2196
2189
|
return suspendResult;
|
|
2197
2190
|
}
|
|
2198
2191
|
continue $sm;
|
|
2199
2192
|
} else {
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
this.
|
|
2203
|
-
suspendResult = invoke$logOutgoingContent(this.b57_1, this.c57_1.g37(), this.d57_1, this.e57_1, this.f57_1, this.g57_1, this);
|
|
2193
|
+
if (tmp0_subject instanceof ContentWrapper) {
|
|
2194
|
+
this.u8_1 = 3;
|
|
2195
|
+
suspendResult = invoke$logOutgoingContent(this.k4v_1, this.l4v_1.u33(), this.m4v_1, this.n4v_1, this.o4v_1, this.p4v_1, this);
|
|
2204
2196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2205
2197
|
return suspendResult;
|
|
2206
2198
|
}
|
|
2207
2199
|
continue $sm;
|
|
2208
2200
|
} else {
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
this.n9_1 = 5;
|
|
2201
|
+
if (tmp0_subject instanceof NoContent) {
|
|
2202
|
+
var tmp_0 = this;
|
|
2203
|
+
this.o4v_1.p('--> END ' + this.m4v_1.w2x_1);
|
|
2204
|
+
tmp_0.q4v_1 = null;
|
|
2205
|
+
this.u8_1 = 5;
|
|
2215
2206
|
continue $sm;
|
|
2216
2207
|
} else {
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
this.n9_1 = 5;
|
|
2208
|
+
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2209
|
+
var tmp_1 = this;
|
|
2210
|
+
this.o4v_1.p('--> END ' + this.m4v_1.w2x_1);
|
|
2211
|
+
tmp_1.q4v_1 = null;
|
|
2212
|
+
this.u8_1 = 5;
|
|
2223
2213
|
continue $sm;
|
|
2224
2214
|
} else {
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
this.
|
|
2228
|
-
|
|
2229
|
-
this.
|
|
2230
|
-
this.
|
|
2231
|
-
suspendResult = invoke$logRequestBody(this.b57_1, this.c57_1, this.c57_1.w36(), this.e57_1, this.d57_1, this.f57_1, this.m57_1, this);
|
|
2215
|
+
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2216
|
+
var _destruct__k2r9zo = split(this.l4v_1.o33(), this.k4v_1.f3l_1);
|
|
2217
|
+
this.r4v_1 = _destruct__k2r9zo.ig();
|
|
2218
|
+
var newChannel = _destruct__k2r9zo.jg();
|
|
2219
|
+
this.u8_1 = 2;
|
|
2220
|
+
suspendResult = invoke$logRequestBody(this.k4v_1, this.l4v_1, this.l4v_1.k33(), this.n4v_1, this.m4v_1, this.o4v_1, newChannel, this);
|
|
2232
2221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2233
2222
|
return suspendResult;
|
|
2234
2223
|
}
|
|
2235
2224
|
continue $sm;
|
|
2236
2225
|
} else {
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
this.
|
|
2240
|
-
|
|
2241
|
-
this.
|
|
2242
|
-
|
|
2243
|
-
this.
|
|
2244
|
-
this.
|
|
2245
|
-
suspendResult = invoke$logRequestBody(this.b57_1, this.c57_1, this.c57_1.w36(), this.e57_1, this.d57_1, this.f57_1, this.q57_1, this);
|
|
2226
|
+
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2227
|
+
var channel = new ByteChannel();
|
|
2228
|
+
launch(this.k4v_1.f3l_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.l4v_1, channel, null));
|
|
2229
|
+
var _destruct__k2r9zo_0 = split(channel, this.k4v_1.f3l_1);
|
|
2230
|
+
this.s4v_1 = _destruct__k2r9zo_0.ig();
|
|
2231
|
+
var newChannel_0 = _destruct__k2r9zo_0.jg();
|
|
2232
|
+
this.u8_1 = 1;
|
|
2233
|
+
suspendResult = invoke$logRequestBody(this.k4v_1, this.l4v_1, this.l4v_1.k33(), this.n4v_1, this.m4v_1, this.o4v_1, newChannel_0, this);
|
|
2246
2234
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2247
2235
|
return suspendResult;
|
|
2248
2236
|
}
|
|
2249
2237
|
continue $sm;
|
|
2250
2238
|
} else {
|
|
2251
|
-
var
|
|
2239
|
+
var tmp_2 = this;
|
|
2252
2240
|
noWhenBranchMatchedException();
|
|
2253
2241
|
}
|
|
2254
2242
|
}
|
|
@@ -2259,145 +2247,138 @@
|
|
|
2259
2247
|
|
|
2260
2248
|
break;
|
|
2261
2249
|
case 1:
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2250
|
+
this.q4v_1 = new LoggedContent(this.l4v_1, this.s4v_1);
|
|
2251
|
+
this.u8_1 = 5;
|
|
2264
2252
|
continue $sm;
|
|
2265
2253
|
case 2:
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2254
|
+
this.q4v_1 = new LoggedContent(this.l4v_1, this.r4v_1);
|
|
2255
|
+
this.u8_1 = 5;
|
|
2268
2256
|
continue $sm;
|
|
2269
2257
|
case 3:
|
|
2270
|
-
this.
|
|
2271
|
-
this.
|
|
2258
|
+
this.q4v_1 = suspendResult;
|
|
2259
|
+
this.u8_1 = 5;
|
|
2272
2260
|
continue $sm;
|
|
2273
2261
|
case 4:
|
|
2274
|
-
this.
|
|
2275
|
-
this.
|
|
2262
|
+
this.q4v_1 = null;
|
|
2263
|
+
this.u8_1 = 5;
|
|
2276
2264
|
continue $sm;
|
|
2277
2265
|
case 5:
|
|
2278
|
-
return this.
|
|
2266
|
+
return this.q4v_1;
|
|
2279
2267
|
case 6:
|
|
2280
|
-
throw this.
|
|
2268
|
+
throw this.x8_1;
|
|
2281
2269
|
}
|
|
2282
2270
|
} catch ($p) {
|
|
2283
2271
|
var e = $p;
|
|
2284
|
-
if (this.
|
|
2272
|
+
if (this.v8_1 === 6) {
|
|
2285
2273
|
throw e;
|
|
2286
2274
|
} else {
|
|
2287
|
-
this.
|
|
2288
|
-
this.
|
|
2275
|
+
this.u8_1 = this.v8_1;
|
|
2276
|
+
this.x8_1 = e;
|
|
2289
2277
|
}
|
|
2290
2278
|
}
|
|
2291
2279
|
while (true);
|
|
2292
2280
|
};
|
|
2293
2281
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, resultContinuation) {
|
|
2294
2282
|
CoroutineImpl.call(this, resultContinuation);
|
|
2295
|
-
this.
|
|
2296
|
-
this.
|
|
2297
|
-
this.
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2300
|
-
}
|
|
2301
|
-
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).
|
|
2302
|
-
var suspendResult = this.
|
|
2283
|
+
this.b4w_1 = sanitizedHeaders;
|
|
2284
|
+
this.c4w_1 = level;
|
|
2285
|
+
this.d4w_1 = $this_createClientPlugin;
|
|
2286
|
+
this.e4w_1 = request;
|
|
2287
|
+
this.f4w_1 = logLines;
|
|
2288
|
+
}
|
|
2289
|
+
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).c9 = function () {
|
|
2290
|
+
var suspendResult = this.w8_1;
|
|
2303
2291
|
$sm: do
|
|
2304
2292
|
try {
|
|
2305
|
-
var tmp = this.
|
|
2293
|
+
var tmp = this.u8_1;
|
|
2306
2294
|
switch (tmp) {
|
|
2307
2295
|
case 0:
|
|
2308
|
-
this.
|
|
2309
|
-
if (invoke$isNone(this.
|
|
2296
|
+
this.v8_1 = 4;
|
|
2297
|
+
if (invoke$isNone(this.c4w_1))
|
|
2310
2298
|
return null;
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
var tmp_0 = this;
|
|
2299
|
+
var uri = pathQuery(takeFrom(new URLBuilder(), this.e4w_1.d3d_1).j2t());
|
|
2300
|
+
var body = this.e4w_1.g3d_1;
|
|
2314
2301
|
var this_0 = new HeadersBuilder();
|
|
2302
|
+
var tmp_0;
|
|
2315
2303
|
var tmp_1;
|
|
2316
2304
|
var tmp_2;
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
if (tmp_4 instanceof OutgoingContent) {
|
|
2320
|
-
tmp_3 = !this.c58_1.s3j_1.equals(Companion_getInstance().a31_1);
|
|
2321
|
-
} else {
|
|
2322
|
-
tmp_3 = false;
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
if (tmp_3) {
|
|
2326
|
-
tmp_2 = !this.c58_1.s3j_1.equals(Companion_getInstance().f31_1);
|
|
2305
|
+
if (body instanceof OutgoingContent) {
|
|
2306
|
+
tmp_2 = !this.e4w_1.e3d_1.equals(Companion_getInstance().o2x_1);
|
|
2327
2307
|
} else {
|
|
2328
2308
|
tmp_2 = false;
|
|
2329
2309
|
}
|
|
2330
2310
|
|
|
2331
2311
|
if (tmp_2) {
|
|
2332
|
-
|
|
2333
|
-
tmp_1 = !(tmp_5 instanceof EmptyContent);
|
|
2312
|
+
tmp_1 = !this.e4w_1.e3d_1.equals(Companion_getInstance().t2x_1);
|
|
2334
2313
|
} else {
|
|
2335
2314
|
tmp_1 = false;
|
|
2336
2315
|
}
|
|
2337
2316
|
|
|
2338
2317
|
if (tmp_1) {
|
|
2339
|
-
|
|
2318
|
+
tmp_0 = !(body instanceof EmptyContent);
|
|
2319
|
+
} else {
|
|
2320
|
+
tmp_0 = false;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
if (tmp_0) {
|
|
2324
|
+
var tmp0_safe_receiver = body.i33();
|
|
2340
2325
|
if (tmp0_safe_receiver == null)
|
|
2341
2326
|
null;
|
|
2342
2327
|
else {
|
|
2343
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2328
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().c2u_1, tmp0_safe_receiver.toString());
|
|
2344
2329
|
}
|
|
2345
|
-
var tmp1_safe_receiver =
|
|
2330
|
+
var tmp1_safe_receiver = body.k33();
|
|
2346
2331
|
if (tmp1_safe_receiver == null)
|
|
2347
2332
|
null;
|
|
2348
2333
|
else {
|
|
2349
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2334
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().z2t_1, tmp1_safe_receiver.toString());
|
|
2350
2335
|
}
|
|
2351
2336
|
}
|
|
2352
2337
|
|
|
2353
|
-
appendAll(this_0, this.
|
|
2354
|
-
|
|
2355
|
-
var
|
|
2356
|
-
var
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
if (this.c58_1.s3j_1.equals(Companion_getInstance().a31_1) || this.c58_1.s3j_1.equals(Companion_getInstance().f31_1) || ((invoke$isHeaders(this.a58_1) || invoke$isBody(this.a58_1)) && !(this.h58_1 == null)) || (invoke$isHeaders(this.a58_1) && this.h58_1 == null) || this.g58_1.q2p(HttpHeaders_getInstance().j2x_1)) {
|
|
2361
|
-
tmp_8 = '--> ' + this.c58_1.s3j_1.i31_1 + ' ' + this.e58_1;
|
|
2338
|
+
appendAll(this_0, this.e4w_1.f3d_1);
|
|
2339
|
+
var headers = this_0.j2t();
|
|
2340
|
+
var tmp0_safe_receiver_0 = headers.q2k(HttpHeaders_getInstance().z2t_1);
|
|
2341
|
+
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2342
|
+
var tmp_3;
|
|
2343
|
+
if (this.e4w_1.e3d_1.equals(Companion_getInstance().o2x_1) || this.e4w_1.e3d_1.equals(Companion_getInstance().t2x_1) || ((invoke$isHeaders(this.c4w_1) || invoke$isBody(this.c4w_1)) && !(contentLength == null)) || (invoke$isHeaders(this.c4w_1) && contentLength == null) || headers.x2l(HttpHeaders_getInstance().x2t_1)) {
|
|
2344
|
+
tmp_3 = '--> ' + this.e4w_1.e3d_1.w2x_1 + ' ' + uri;
|
|
2362
2345
|
} else {
|
|
2363
|
-
if (invoke$isInfo(this.
|
|
2364
|
-
|
|
2346
|
+
if (invoke$isInfo(this.c4w_1) && !(contentLength == null)) {
|
|
2347
|
+
tmp_3 = '--> ' + this.e4w_1.e3d_1.w2x_1 + ' ' + uri + ' (' + toString_0(contentLength) + '-byte body)';
|
|
2365
2348
|
} else {
|
|
2366
|
-
var
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
tmp_9 = true;
|
|
2349
|
+
var tmp_4;
|
|
2350
|
+
if (body instanceof WriteChannelContent) {
|
|
2351
|
+
tmp_4 = true;
|
|
2370
2352
|
} else {
|
|
2371
|
-
|
|
2372
|
-
tmp_9 = tmp_11 instanceof ReadChannelContent;
|
|
2353
|
+
tmp_4 = body instanceof ReadChannelContent;
|
|
2373
2354
|
}
|
|
2374
|
-
if (
|
|
2375
|
-
|
|
2355
|
+
if (tmp_4) {
|
|
2356
|
+
tmp_3 = '--> ' + this.e4w_1.e3d_1.w2x_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2376
2357
|
} else {
|
|
2377
|
-
var size = computeRequestBodySize(this.
|
|
2378
|
-
|
|
2358
|
+
var size = computeRequestBodySize(this.e4w_1.g3d_1);
|
|
2359
|
+
tmp_3 = '--> ' + this.e4w_1.e3d_1.w2x_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2379
2360
|
}
|
|
2380
2361
|
}
|
|
2381
2362
|
}
|
|
2382
2363
|
|
|
2383
|
-
|
|
2384
|
-
this.
|
|
2385
|
-
if (!invoke$isHeaders(this.
|
|
2364
|
+
var startLine = tmp_3;
|
|
2365
|
+
this.f4w_1.p(startLine);
|
|
2366
|
+
if (!invoke$isHeaders(this.c4w_1) && !invoke$isBody(this.c4w_1)) {
|
|
2386
2367
|
return null;
|
|
2387
2368
|
}
|
|
2388
2369
|
|
|
2389
|
-
var _iterator__ex2g4s =
|
|
2390
|
-
while (_iterator__ex2g4s.
|
|
2391
|
-
var _destruct__k2r9zo = _iterator__ex2g4s.
|
|
2392
|
-
var name = _destruct__k2r9zo.
|
|
2393
|
-
var values = _destruct__k2r9zo.
|
|
2394
|
-
var tmp0 = this.
|
|
2370
|
+
var _iterator__ex2g4s = headers.z2l().r();
|
|
2371
|
+
while (_iterator__ex2g4s.s()) {
|
|
2372
|
+
var _destruct__k2r9zo = _iterator__ex2g4s.t();
|
|
2373
|
+
var name = _destruct__k2r9zo.z();
|
|
2374
|
+
var values = _destruct__k2r9zo.a1();
|
|
2375
|
+
var tmp0 = this.b4w_1;
|
|
2395
2376
|
var tmp$ret$0 = Unit_instance;
|
|
2396
2377
|
l$ret$1: do {
|
|
2397
|
-
var _iterator__ex2g4s_0 = tmp0.
|
|
2398
|
-
while (_iterator__ex2g4s_0.
|
|
2399
|
-
var element = _iterator__ex2g4s_0.
|
|
2400
|
-
if (element.
|
|
2378
|
+
var _iterator__ex2g4s_0 = tmp0.r();
|
|
2379
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
2380
|
+
var element = _iterator__ex2g4s_0.t();
|
|
2381
|
+
if (element.m4x_1(name)) {
|
|
2401
2382
|
tmp$ret$0 = element;
|
|
2402
2383
|
break l$ret$1;
|
|
2403
2384
|
}
|
|
@@ -2406,35 +2387,34 @@
|
|
|
2406
2387
|
}
|
|
2407
2388
|
while (false);
|
|
2408
2389
|
if (tmp$ret$0 == null) {
|
|
2409
|
-
this.
|
|
2390
|
+
this.f4w_1.p(name + ': ' + joinToString(values, ', '));
|
|
2410
2391
|
} else {
|
|
2411
|
-
this.
|
|
2392
|
+
this.f4w_1.p(name + ': \u2588\u2588');
|
|
2412
2393
|
}
|
|
2413
2394
|
}
|
|
2414
2395
|
|
|
2415
|
-
if (!invoke$isBody(this.
|
|
2416
|
-
this.
|
|
2396
|
+
if (!invoke$isBody(this.c4w_1) || this.e4w_1.e3d_1.equals(Companion_getInstance().o2x_1) || this.e4w_1.e3d_1.equals(Companion_getInstance().t2x_1)) {
|
|
2397
|
+
this.f4w_1.p('--> END ' + this.e4w_1.e3d_1.w2x_1);
|
|
2417
2398
|
return null;
|
|
2418
2399
|
}
|
|
2419
2400
|
|
|
2420
|
-
this.
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
this.d58_1.k('--> END ' + this.c58_1.s3j_1.i31_1);
|
|
2401
|
+
this.f4w_1.p('');
|
|
2402
|
+
if (!(body instanceof OutgoingContent)) {
|
|
2403
|
+
this.f4w_1.p('--> END ' + this.e4w_1.e3d_1.w2x_1);
|
|
2424
2404
|
return null;
|
|
2425
2405
|
}
|
|
2426
2406
|
|
|
2427
|
-
if (this.
|
|
2428
|
-
this.
|
|
2429
|
-
var
|
|
2430
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2407
|
+
if (this.e4w_1.f3d_1.q2k(HttpHeaders_getInstance().x2t_1) === 'gzip') {
|
|
2408
|
+
this.u8_1 = 2;
|
|
2409
|
+
var tmp_5 = this.e4w_1.e3d_1;
|
|
2410
|
+
suspendResult = invoke$logOutgoingContent(this.d4w_1, body, tmp_5, headers, this.f4w_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2431
2411
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2432
2412
|
return suspendResult;
|
|
2433
2413
|
}
|
|
2434
2414
|
continue $sm;
|
|
2435
2415
|
} else {
|
|
2436
|
-
this.
|
|
2437
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2416
|
+
this.u8_1 = 1;
|
|
2417
|
+
suspendResult = invoke$logOutgoingContent(this.d4w_1, body, this.e4w_1.e3d_1, headers, this.f4w_1, VOID, this);
|
|
2438
2418
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2439
2419
|
return suspendResult;
|
|
2440
2420
|
}
|
|
@@ -2442,77 +2422,77 @@
|
|
|
2442
2422
|
}
|
|
2443
2423
|
|
|
2444
2424
|
case 1:
|
|
2445
|
-
this.
|
|
2446
|
-
this.
|
|
2425
|
+
this.g4w_1 = suspendResult;
|
|
2426
|
+
this.u8_1 = 3;
|
|
2447
2427
|
continue $sm;
|
|
2448
2428
|
case 2:
|
|
2449
|
-
this.
|
|
2450
|
-
this.
|
|
2429
|
+
this.g4w_1 = suspendResult;
|
|
2430
|
+
this.u8_1 = 3;
|
|
2451
2431
|
continue $sm;
|
|
2452
2432
|
case 3:
|
|
2453
|
-
var newContent = this.
|
|
2433
|
+
var newContent = this.g4w_1;
|
|
2454
2434
|
return newContent;
|
|
2455
2435
|
case 4:
|
|
2456
|
-
throw this.
|
|
2436
|
+
throw this.x8_1;
|
|
2457
2437
|
}
|
|
2458
2438
|
} catch ($p) {
|
|
2459
2439
|
var e = $p;
|
|
2460
|
-
if (this.
|
|
2440
|
+
if (this.v8_1 === 4) {
|
|
2461
2441
|
throw e;
|
|
2462
2442
|
} else {
|
|
2463
|
-
this.
|
|
2464
|
-
this.
|
|
2443
|
+
this.u8_1 = this.v8_1;
|
|
2444
|
+
this.x8_1 = e;
|
|
2465
2445
|
}
|
|
2466
2446
|
}
|
|
2467
2447
|
while (true);
|
|
2468
2448
|
};
|
|
2469
2449
|
function $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, resultContinuation) {
|
|
2470
2450
|
CoroutineImpl.call(this, resultContinuation);
|
|
2471
|
-
this.
|
|
2472
|
-
this.
|
|
2473
|
-
this.
|
|
2474
|
-
this.
|
|
2451
|
+
this.p4w_1 = $this_createClientPlugin;
|
|
2452
|
+
this.q4w_1 = response;
|
|
2453
|
+
this.r4w_1 = body;
|
|
2454
|
+
this.s4w_1 = logLines;
|
|
2475
2455
|
}
|
|
2476
|
-
protoOf($invoke$logResponseBodyCOROUTINE$).
|
|
2477
|
-
var suspendResult = this.
|
|
2456
|
+
protoOf($invoke$logResponseBodyCOROUTINE$).c9 = function () {
|
|
2457
|
+
var suspendResult = this.w8_1;
|
|
2478
2458
|
$sm: do
|
|
2479
2459
|
try {
|
|
2480
|
-
var tmp = this.
|
|
2460
|
+
var tmp = this.u8_1;
|
|
2481
2461
|
switch (tmp) {
|
|
2482
2462
|
case 0:
|
|
2483
|
-
this.
|
|
2484
|
-
this.
|
|
2485
|
-
this.
|
|
2486
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2463
|
+
this.v8_1 = 4;
|
|
2464
|
+
this.s4w_1.p('');
|
|
2465
|
+
this.u8_1 = 1;
|
|
2466
|
+
suspendResult = invoke$detectIfBinary(this.p4w_1, this.r4w_1, contentLength(this.q4w_1), contentType(this.q4w_1), this.q4w_1.n2x(), this);
|
|
2487
2467
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2488
2468
|
return suspendResult;
|
|
2489
2469
|
}
|
|
2490
2470
|
|
|
2491
2471
|
continue $sm;
|
|
2492
2472
|
case 1:
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
this.
|
|
2496
|
-
|
|
2497
|
-
this.
|
|
2498
|
-
if (equals(this.
|
|
2499
|
-
this.
|
|
2473
|
+
var _destruct__k2r9zo = suspendResult;
|
|
2474
|
+
var isBinary = _destruct__k2r9zo.ig();
|
|
2475
|
+
this.u4w_1 = _destruct__k2r9zo.jg();
|
|
2476
|
+
var newBody = _destruct__k2r9zo.fm();
|
|
2477
|
+
this.v4w_1 = subtract(this.q4w_1.d3f().i2n_1, this.q4w_1.c3f().i2n_1);
|
|
2478
|
+
if (equals(this.u4w_1, new Long(0, 0))) {
|
|
2479
|
+
this.s4w_1.p('<-- END HTTP (' + this.v4w_1.toString() + 'ms, ' + toString_0(this.u4w_1) + '-byte body)');
|
|
2500
2480
|
return Unit_instance;
|
|
2501
2481
|
}
|
|
2502
2482
|
|
|
2503
|
-
if (!
|
|
2504
|
-
|
|
2483
|
+
if (!isBinary) {
|
|
2484
|
+
var contentType_0 = contentType(this.q4w_1);
|
|
2505
2485
|
var tmp_0 = this;
|
|
2506
2486
|
var tmp_1;
|
|
2507
|
-
if (!(
|
|
2508
|
-
var tmp0_elvis_lhs = charset(
|
|
2509
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2487
|
+
if (!(contentType_0 == null)) {
|
|
2488
|
+
var tmp0_elvis_lhs = charset(contentType_0);
|
|
2489
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().d1w_1 : tmp0_elvis_lhs;
|
|
2510
2490
|
} else {
|
|
2511
|
-
tmp_1 = Charsets_getInstance().
|
|
2491
|
+
tmp_1 = Charsets_getInstance().d1w_1;
|
|
2512
2492
|
}
|
|
2513
|
-
tmp_0.
|
|
2514
|
-
this.
|
|
2515
|
-
suspendResult = readRemaining(
|
|
2493
|
+
tmp_0.w4w_1 = tmp_1;
|
|
2494
|
+
this.u8_1 = 2;
|
|
2495
|
+
suspendResult = readRemaining(newBody, this);
|
|
2516
2496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2517
2497
|
return suspendResult;
|
|
2518
2498
|
}
|
|
@@ -2520,84 +2500,83 @@
|
|
|
2520
2500
|
} else {
|
|
2521
2501
|
var tmp_2 = this;
|
|
2522
2502
|
var type = 'binary';
|
|
2523
|
-
if (this.
|
|
2503
|
+
if (this.q4w_1.n2x().x2l(HttpHeaders_getInstance().x2t_1)) {
|
|
2524
2504
|
type = 'encoded';
|
|
2525
2505
|
}
|
|
2526
2506
|
var tmp_3;
|
|
2527
|
-
if (!(this.
|
|
2528
|
-
tmp_3 = this.
|
|
2507
|
+
if (!(this.u4w_1 == null)) {
|
|
2508
|
+
tmp_3 = this.s4w_1.p('<-- END HTTP (' + this.v4w_1.toString() + 'ms, ' + type + ' ' + toString_0(this.u4w_1) + '-byte body omitted)');
|
|
2529
2509
|
} else {
|
|
2530
|
-
tmp_3 = this.
|
|
2510
|
+
tmp_3 = this.s4w_1.p('<-- END HTTP (' + this.v4w_1.toString() + 'ms, ' + type + ' body omitted)');
|
|
2531
2511
|
}
|
|
2532
|
-
tmp_2.
|
|
2533
|
-
this.
|
|
2512
|
+
tmp_2.t4w_1 = tmp_3;
|
|
2513
|
+
this.u8_1 = 3;
|
|
2534
2514
|
continue $sm;
|
|
2535
2515
|
}
|
|
2536
2516
|
|
|
2537
2517
|
case 2:
|
|
2538
2518
|
var ARGUMENT = suspendResult;
|
|
2539
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2542
|
-
this.
|
|
2519
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.w4w_1);
|
|
2520
|
+
this.s4w_1.p(ARGUMENT_0);
|
|
2521
|
+
this.t4w_1 = this.s4w_1.p('<-- END HTTP (' + this.v4w_1.toString() + 'ms, ' + toString_0(this.u4w_1) + '-byte body)');
|
|
2522
|
+
this.u8_1 = 3;
|
|
2543
2523
|
continue $sm;
|
|
2544
2524
|
case 3:
|
|
2545
2525
|
return Unit_instance;
|
|
2546
2526
|
case 4:
|
|
2547
|
-
throw this.
|
|
2527
|
+
throw this.x8_1;
|
|
2548
2528
|
}
|
|
2549
2529
|
} catch ($p) {
|
|
2550
2530
|
var e = $p;
|
|
2551
|
-
if (this.
|
|
2531
|
+
if (this.v8_1 === 4) {
|
|
2552
2532
|
throw e;
|
|
2553
2533
|
} else {
|
|
2554
|
-
this.
|
|
2555
|
-
this.
|
|
2534
|
+
this.u8_1 = this.v8_1;
|
|
2535
|
+
this.x8_1 = e;
|
|
2556
2536
|
}
|
|
2557
2537
|
}
|
|
2558
2538
|
while (true);
|
|
2559
2539
|
};
|
|
2560
2540
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, resultContinuation) {
|
|
2561
2541
|
CoroutineImpl.call(this, resultContinuation);
|
|
2562
|
-
this.
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2565
|
-
this.
|
|
2566
|
-
this.
|
|
2567
|
-
}
|
|
2568
|
-
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).
|
|
2569
|
-
var suspendResult = this.
|
|
2542
|
+
this.f4x_1 = sanitizedHeaders;
|
|
2543
|
+
this.g4x_1 = level;
|
|
2544
|
+
this.h4x_1 = $this_createClientPlugin;
|
|
2545
|
+
this.i4x_1 = response;
|
|
2546
|
+
this.j4x_1 = logLines;
|
|
2547
|
+
}
|
|
2548
|
+
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).c9 = function () {
|
|
2549
|
+
var suspendResult = this.w8_1;
|
|
2570
2550
|
$sm: do
|
|
2571
2551
|
try {
|
|
2572
|
-
var tmp = this.
|
|
2552
|
+
var tmp = this.u8_1;
|
|
2573
2553
|
switch (tmp) {
|
|
2574
2554
|
case 0:
|
|
2575
|
-
this.
|
|
2576
|
-
if (invoke$isNone(this.
|
|
2577
|
-
return this.
|
|
2578
|
-
var
|
|
2579
|
-
var
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
this.
|
|
2583
|
-
this.
|
|
2584
|
-
this.
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
var
|
|
2592
|
-
var
|
|
2593
|
-
var
|
|
2594
|
-
var tmp0 = this.m59_1;
|
|
2555
|
+
this.v8_1 = 4;
|
|
2556
|
+
if (invoke$isNone(this.g4x_1))
|
|
2557
|
+
return this.i4x_1;
|
|
2558
|
+
var tmp0_safe_receiver = this.i4x_1.n2x().q2k(HttpHeaders_getInstance().z2t_1);
|
|
2559
|
+
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2560
|
+
var request = get_request(this.i4x_1);
|
|
2561
|
+
var duration = subtract(this.i4x_1.d3f().i2n_1, this.i4x_1.c3f().i2n_1);
|
|
2562
|
+
var startLine = this.i4x_1.n2x().q2k(HttpHeaders_getInstance().g2w_1) === 'chunked' && (invoke$isInfo(this.g4x_1) || invoke$isHeaders(this.g4x_1)) ? '<-- ' + this.i4x_1.j33().toString() + ' ' + pathQuery(request.u3e()) + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.g4x_1) && !(contentLength == null) ? '<-- ' + this.i4x_1.j33().toString() + ' ' + pathQuery(request.u3e()) + ' (' + duration.toString() + 'ms, ' + toString_0(contentLength) + '-byte body)' : invoke$isBody(this.g4x_1) || (invoke$isInfo(this.g4x_1) && contentLength == null) || (invoke$isHeaders(this.g4x_1) && !(contentLength == null)) || this.i4x_1.n2x().q2k(HttpHeaders_getInstance().x2t_1) === 'gzip' ? '<-- ' + this.i4x_1.j33().toString() + ' ' + pathQuery(request.u3e()) + ' (' + duration.toString() + 'ms)' : '<-- ' + this.i4x_1.j33().toString() + ' ' + pathQuery(request.u3e()) + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2563
|
+
this.j4x_1.p(startLine);
|
|
2564
|
+
if (!invoke$isHeaders(this.g4x_1) && !invoke$isBody(this.g4x_1)) {
|
|
2565
|
+
return this.i4x_1;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
var _iterator__ex2g4s = this.i4x_1.n2x().z2l().r();
|
|
2569
|
+
while (_iterator__ex2g4s.s()) {
|
|
2570
|
+
var _destruct__k2r9zo = _iterator__ex2g4s.t();
|
|
2571
|
+
var name = _destruct__k2r9zo.z();
|
|
2572
|
+
var values = _destruct__k2r9zo.a1();
|
|
2573
|
+
var tmp0 = this.f4x_1;
|
|
2595
2574
|
var tmp$ret$0 = Unit_instance;
|
|
2596
2575
|
l$ret$1: do {
|
|
2597
|
-
var _iterator__ex2g4s_0 = tmp0.
|
|
2598
|
-
while (_iterator__ex2g4s_0.
|
|
2599
|
-
var element = _iterator__ex2g4s_0.
|
|
2600
|
-
if (element.
|
|
2576
|
+
var _iterator__ex2g4s_0 = tmp0.r();
|
|
2577
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
2578
|
+
var element = _iterator__ex2g4s_0.t();
|
|
2579
|
+
if (element.m4x_1(name)) {
|
|
2601
2580
|
tmp$ret$0 = element;
|
|
2602
2581
|
break l$ret$1;
|
|
2603
2582
|
}
|
|
@@ -2606,66 +2585,66 @@
|
|
|
2606
2585
|
}
|
|
2607
2586
|
while (false);
|
|
2608
2587
|
if (tmp$ret$0 == null) {
|
|
2609
|
-
this.
|
|
2588
|
+
this.j4x_1.p(name + ': ' + joinToString(values, ', '));
|
|
2610
2589
|
} else {
|
|
2611
|
-
this.
|
|
2590
|
+
this.j4x_1.p(name + ': \u2588\u2588');
|
|
2612
2591
|
}
|
|
2613
2592
|
}
|
|
2614
2593
|
|
|
2615
|
-
if (!invoke$isBody(this.
|
|
2616
|
-
this.
|
|
2617
|
-
return this.
|
|
2594
|
+
if (!invoke$isBody(this.g4x_1)) {
|
|
2595
|
+
this.j4x_1.p('<-- END HTTP');
|
|
2596
|
+
return this.i4x_1;
|
|
2618
2597
|
}
|
|
2619
2598
|
|
|
2620
|
-
if (!(
|
|
2621
|
-
this.
|
|
2622
|
-
return this.
|
|
2599
|
+
if (!(contentLength == null) && equals(contentLength, new Long(0, 0))) {
|
|
2600
|
+
this.j4x_1.p('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(contentLength) + '-byte body)');
|
|
2601
|
+
return this.i4x_1;
|
|
2623
2602
|
}
|
|
2624
2603
|
|
|
2625
|
-
if (equals(contentType(this.
|
|
2626
|
-
this.
|
|
2627
|
-
return this.
|
|
2604
|
+
if (equals(contentType(this.i4x_1), Text_getInstance().x2s_1)) {
|
|
2605
|
+
this.j4x_1.p('<-- END HTTP (streaming)');
|
|
2606
|
+
return this.i4x_1;
|
|
2628
2607
|
}
|
|
2629
2608
|
|
|
2630
|
-
if (get_isSaved(this.
|
|
2631
|
-
this.
|
|
2632
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2609
|
+
if (get_isSaved(this.i4x_1)) {
|
|
2610
|
+
this.u8_1 = 3;
|
|
2611
|
+
suspendResult = invoke$logResponseBody(this.h4x_1, this.i4x_1, this.i4x_1.a3f(), this.j4x_1, this);
|
|
2633
2612
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2634
2613
|
return suspendResult;
|
|
2635
2614
|
}
|
|
2636
2615
|
continue $sm;
|
|
2637
2616
|
} else {
|
|
2638
|
-
this.
|
|
2617
|
+
this.u8_1 = 1;
|
|
2639
2618
|
continue $sm;
|
|
2640
2619
|
}
|
|
2641
2620
|
|
|
2642
2621
|
case 1:
|
|
2643
|
-
|
|
2644
|
-
this.
|
|
2645
|
-
|
|
2646
|
-
this.
|
|
2647
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2622
|
+
var _destruct__k2r9zo_0 = split(this.i4x_1.a3f(), this.i4x_1);
|
|
2623
|
+
this.k4x_1 = _destruct__k2r9zo_0.ig();
|
|
2624
|
+
var newChannel = _destruct__k2r9zo_0.jg();
|
|
2625
|
+
this.u8_1 = 2;
|
|
2626
|
+
suspendResult = invoke$logResponseBody(this.h4x_1, this.i4x_1, newChannel, this.j4x_1, this);
|
|
2648
2627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2649
2628
|
return suspendResult;
|
|
2650
2629
|
}
|
|
2651
2630
|
|
|
2652
2631
|
continue $sm;
|
|
2653
2632
|
case 2:
|
|
2654
|
-
var
|
|
2655
|
-
var call = replaceResponse(
|
|
2656
|
-
return call.
|
|
2633
|
+
var tmp_0 = this.i4x_1.s3e();
|
|
2634
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.k4x_1));
|
|
2635
|
+
return call.d3c();
|
|
2657
2636
|
case 3:
|
|
2658
|
-
return this.
|
|
2637
|
+
return this.i4x_1;
|
|
2659
2638
|
case 4:
|
|
2660
|
-
throw this.
|
|
2639
|
+
throw this.x8_1;
|
|
2661
2640
|
}
|
|
2662
2641
|
} catch ($p) {
|
|
2663
2642
|
var e = $p;
|
|
2664
|
-
if (this.
|
|
2643
|
+
if (this.v8_1 === 4) {
|
|
2665
2644
|
throw e;
|
|
2666
2645
|
} else {
|
|
2667
|
-
this.
|
|
2668
|
-
this.
|
|
2646
|
+
this.u8_1 = this.v8_1;
|
|
2647
|
+
this.x8_1 = e;
|
|
2669
2648
|
}
|
|
2670
2649
|
}
|
|
2671
2650
|
while (true);
|
|
@@ -2736,20 +2715,20 @@
|
|
|
2736
2715
|
var tmp$ret$0 = new sam$kotlin_Comparator$0(tmp);
|
|
2737
2716
|
var sortedHeaders = sortedWith(this_0, tmp$ret$0);
|
|
2738
2717
|
// Inline function 'kotlin.collections.forEach' call
|
|
2739
|
-
var _iterator__ex2g4s = sortedHeaders.
|
|
2740
|
-
while (_iterator__ex2g4s.
|
|
2741
|
-
var element = _iterator__ex2g4s.
|
|
2718
|
+
var _iterator__ex2g4s = sortedHeaders.r();
|
|
2719
|
+
while (_iterator__ex2g4s.s()) {
|
|
2720
|
+
var element = _iterator__ex2g4s.t();
|
|
2742
2721
|
// Inline function 'kotlin.collections.component1' call
|
|
2743
|
-
var key = element.
|
|
2722
|
+
var key = element.z();
|
|
2744
2723
|
// Inline function 'kotlin.collections.component2' call
|
|
2745
|
-
var values = element.
|
|
2724
|
+
var values = element.a1();
|
|
2746
2725
|
var tmp$ret$5;
|
|
2747
2726
|
$l$block: {
|
|
2748
2727
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
2749
|
-
var _iterator__ex2g4s_0 = sanitizedHeaders.
|
|
2750
|
-
while (_iterator__ex2g4s_0.
|
|
2751
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
2752
|
-
if (element_0.
|
|
2728
|
+
var _iterator__ex2g4s_0 = sanitizedHeaders.r();
|
|
2729
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
2730
|
+
var element_0 = _iterator__ex2g4s_0.t();
|
|
2731
|
+
if (element_0.m4x_1(key)) {
|
|
2753
2732
|
tmp$ret$5 = element_0;
|
|
2754
2733
|
break $l$block;
|
|
2755
2734
|
}
|
|
@@ -2757,7 +2736,7 @@
|
|
|
2757
2736
|
tmp$ret$5 = null;
|
|
2758
2737
|
}
|
|
2759
2738
|
var tmp0_safe_receiver = tmp$ret$5;
|
|
2760
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2739
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l4x_1;
|
|
2761
2740
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2762
2741
|
}
|
|
2763
2742
|
}
|
|
@@ -2765,62 +2744,62 @@
|
|
|
2765
2744
|
// Inline function 'kotlin.text.appendLine' call
|
|
2766
2745
|
var value_0 = '-> ' + key + ': ' + value;
|
|
2767
2746
|
// Inline function 'kotlin.text.appendLine' call
|
|
2768
|
-
_this__u8e3s4.
|
|
2747
|
+
_this__u8e3s4.q(value_0).g8(_Char___init__impl__6a9atx(10));
|
|
2769
2748
|
}
|
|
2770
2749
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2771
2750
|
// Inline function 'kotlin.with' call
|
|
2772
|
-
if (level.
|
|
2751
|
+
if (level.x4q_1) {
|
|
2773
2752
|
// Inline function 'kotlin.text.appendLine' call
|
|
2774
|
-
var value = 'RESPONSE: ' + response.
|
|
2753
|
+
var value = 'RESPONSE: ' + response.j33().toString();
|
|
2775
2754
|
// Inline function 'kotlin.text.appendLine' call
|
|
2776
|
-
log.
|
|
2755
|
+
log.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
2777
2756
|
// Inline function 'kotlin.text.appendLine' call
|
|
2778
|
-
var value_0 = 'METHOD: ' + response.
|
|
2757
|
+
var value_0 = 'METHOD: ' + response.s3e().l3e().t3e().toString();
|
|
2779
2758
|
// Inline function 'kotlin.text.appendLine' call
|
|
2780
|
-
log.
|
|
2759
|
+
log.f8(value_0).g8(_Char___init__impl__6a9atx(10));
|
|
2781
2760
|
// Inline function 'kotlin.text.appendLine' call
|
|
2782
|
-
var value_1 = 'FROM: ' + response.
|
|
2761
|
+
var value_1 = 'FROM: ' + response.s3e().l3e().u3e().toString();
|
|
2783
2762
|
// Inline function 'kotlin.text.appendLine' call
|
|
2784
|
-
log.
|
|
2763
|
+
log.f8(value_1).g8(_Char___init__impl__6a9atx(10));
|
|
2785
2764
|
}
|
|
2786
|
-
if (level.
|
|
2765
|
+
if (level.y4q_1) {
|
|
2787
2766
|
// Inline function 'kotlin.text.appendLine' call
|
|
2788
2767
|
var value_2 = 'COMMON HEADERS';
|
|
2789
2768
|
// Inline function 'kotlin.text.appendLine' call
|
|
2790
|
-
log.
|
|
2791
|
-
logHeaders(log, response.
|
|
2769
|
+
log.f8(value_2).g8(_Char___init__impl__6a9atx(10));
|
|
2770
|
+
logHeaders(log, response.n2x().z2l(), sanitizedHeaders);
|
|
2792
2771
|
}
|
|
2793
2772
|
}
|
|
2794
2773
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
2795
2774
|
var tmp = new $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, $completion);
|
|
2796
|
-
tmp.
|
|
2797
|
-
tmp.
|
|
2798
|
-
return tmp.
|
|
2775
|
+
tmp.w8_1 = Unit_instance;
|
|
2776
|
+
tmp.x8_1 = null;
|
|
2777
|
+
return tmp.c9();
|
|
2799
2778
|
}
|
|
2800
2779
|
function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
2801
2780
|
var tmp = new $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, $completion);
|
|
2802
|
-
tmp.
|
|
2803
|
-
tmp.
|
|
2804
|
-
return tmp.
|
|
2781
|
+
tmp.w8_1 = Unit_instance;
|
|
2782
|
+
tmp.x8_1 = null;
|
|
2783
|
+
return tmp.c9();
|
|
2805
2784
|
}
|
|
2806
2785
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2807
|
-
this.
|
|
2786
|
+
this.p53_1 = function_0;
|
|
2808
2787
|
}
|
|
2809
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2810
|
-
return this.
|
|
2788
|
+
protoOf(sam$kotlin_Comparator$0).zd = function (a, b) {
|
|
2789
|
+
return this.p53_1(a, b);
|
|
2811
2790
|
};
|
|
2812
2791
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2813
|
-
return this.
|
|
2792
|
+
return this.zd(a, b);
|
|
2814
2793
|
};
|
|
2815
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2816
|
-
return this.
|
|
2794
|
+
protoOf(sam$kotlin_Comparator$0).d3 = function () {
|
|
2795
|
+
return this.p53_1;
|
|
2817
2796
|
};
|
|
2818
2797
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2819
2798
|
var tmp;
|
|
2820
2799
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
2821
2800
|
var tmp_0;
|
|
2822
2801
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
2823
|
-
tmp_0 = equals(this.
|
|
2802
|
+
tmp_0 = equals(this.d3(), other.d3());
|
|
2824
2803
|
} else {
|
|
2825
2804
|
tmp_0 = false;
|
|
2826
2805
|
}
|
|
@@ -2831,77 +2810,74 @@
|
|
|
2831
2810
|
return tmp;
|
|
2832
2811
|
};
|
|
2833
2812
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
2834
|
-
return hashCode(this.
|
|
2813
|
+
return hashCode(this.d3());
|
|
2835
2814
|
};
|
|
2836
2815
|
function logHeaders$lambda(a, b) {
|
|
2837
2816
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2838
|
-
var tmp = a.
|
|
2839
|
-
var tmp$ret$1 = b.
|
|
2817
|
+
var tmp = a.z();
|
|
2818
|
+
var tmp$ret$1 = b.z();
|
|
2840
2819
|
return compareValues(tmp, tmp$ret$1);
|
|
2841
2820
|
}
|
|
2842
2821
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2843
2822
|
CoroutineImpl.call(this, resultContinuation);
|
|
2844
|
-
this.
|
|
2845
|
-
this.
|
|
2823
|
+
this.y52_1 = _this__u8e3s4;
|
|
2824
|
+
this.z52_1 = response;
|
|
2846
2825
|
}
|
|
2847
|
-
protoOf($logResponseBodyCOROUTINE$_0).
|
|
2848
|
-
var suspendResult = this.
|
|
2826
|
+
protoOf($logResponseBodyCOROUTINE$_0).c9 = function () {
|
|
2827
|
+
var suspendResult = this.w8_1;
|
|
2849
2828
|
$sm: do
|
|
2850
2829
|
try {
|
|
2851
|
-
var tmp = this.
|
|
2830
|
+
var tmp = this.u8_1;
|
|
2852
2831
|
switch (tmp) {
|
|
2853
2832
|
case 0:
|
|
2854
|
-
this.
|
|
2855
|
-
this.
|
|
2856
|
-
this.
|
|
2833
|
+
this.v8_1 = 8;
|
|
2834
|
+
this.a53_1 = StringBuilder_init_$Create$();
|
|
2835
|
+
this.u8_1 = 1;
|
|
2857
2836
|
continue $sm;
|
|
2858
2837
|
case 1:
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2862
|
-
suspendResult = appendResponseBody(this.
|
|
2838
|
+
this.v8_1 = 4;
|
|
2839
|
+
this.v8_1 = 3;
|
|
2840
|
+
this.u8_1 = 2;
|
|
2841
|
+
suspendResult = appendResponseBody(this.a53_1, contentType(this.z52_1), this.z52_1.a3f(), this);
|
|
2863
2842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2864
2843
|
return suspendResult;
|
|
2865
2844
|
}
|
|
2866
2845
|
|
|
2867
2846
|
continue $sm;
|
|
2868
2847
|
case 2:
|
|
2869
|
-
this.
|
|
2870
|
-
this.
|
|
2871
|
-
this.n9_1 = 6;
|
|
2848
|
+
this.v8_1 = 8;
|
|
2849
|
+
this.u8_1 = 6;
|
|
2872
2850
|
continue $sm;
|
|
2873
2851
|
case 3:
|
|
2874
|
-
this.
|
|
2875
|
-
var tmp_0 = this.
|
|
2852
|
+
this.v8_1 = 4;
|
|
2853
|
+
var tmp_0 = this.x8_1;
|
|
2876
2854
|
if (tmp_0 instanceof Error) {
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
this.o9_1 = 8;
|
|
2881
|
-
this.n9_1 = 6;
|
|
2855
|
+
var _unused_var__etf5q3 = this.x8_1;
|
|
2856
|
+
this.v8_1 = 8;
|
|
2857
|
+
this.u8_1 = 6;
|
|
2882
2858
|
continue $sm;
|
|
2883
2859
|
} else {
|
|
2884
|
-
throw this.
|
|
2860
|
+
throw this.x8_1;
|
|
2885
2861
|
}
|
|
2886
2862
|
|
|
2887
2863
|
case 4:
|
|
2888
|
-
this.
|
|
2889
|
-
this.
|
|
2890
|
-
this.
|
|
2891
|
-
var this_0 = this.
|
|
2892
|
-
suspendResult = this.
|
|
2864
|
+
this.v8_1 = 8;
|
|
2865
|
+
this.b53_1 = this.x8_1;
|
|
2866
|
+
this.u8_1 = 5;
|
|
2867
|
+
var this_0 = this.a53_1.toString();
|
|
2868
|
+
suspendResult = this.y52_1.s4q(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2893
2869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2894
2870
|
return suspendResult;
|
|
2895
2871
|
}
|
|
2896
2872
|
|
|
2897
2873
|
continue $sm;
|
|
2898
2874
|
case 5:
|
|
2899
|
-
throw this.
|
|
2875
|
+
throw this.b53_1;
|
|
2900
2876
|
case 6:
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
var this_1 = this.
|
|
2904
|
-
suspendResult = this.
|
|
2877
|
+
this.v8_1 = 8;
|
|
2878
|
+
this.u8_1 = 7;
|
|
2879
|
+
var this_1 = this.a53_1.toString();
|
|
2880
|
+
suspendResult = this.y52_1.s4q(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2905
2881
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2906
2882
|
return suspendResult;
|
|
2907
2883
|
}
|
|
@@ -2910,50 +2886,46 @@
|
|
|
2910
2886
|
case 7:
|
|
2911
2887
|
return Unit_instance;
|
|
2912
2888
|
case 8:
|
|
2913
|
-
throw this.
|
|
2889
|
+
throw this.x8_1;
|
|
2914
2890
|
}
|
|
2915
2891
|
} catch ($p) {
|
|
2916
2892
|
var e = $p;
|
|
2917
|
-
if (this.
|
|
2893
|
+
if (this.v8_1 === 8) {
|
|
2918
2894
|
throw e;
|
|
2919
2895
|
} else {
|
|
2920
|
-
this.
|
|
2921
|
-
this.
|
|
2896
|
+
this.u8_1 = this.v8_1;
|
|
2897
|
+
this.x8_1 = e;
|
|
2922
2898
|
}
|
|
2923
2899
|
}
|
|
2924
2900
|
while (true);
|
|
2925
2901
|
};
|
|
2926
2902
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2927
2903
|
CoroutineImpl.call(this, resultContinuation);
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2904
|
+
this.k53_1 = _this__u8e3s4;
|
|
2905
|
+
this.l53_1 = contentType;
|
|
2906
|
+
this.m53_1 = content;
|
|
2931
2907
|
}
|
|
2932
|
-
protoOf($appendResponseBodyCOROUTINE$).
|
|
2933
|
-
var suspendResult = this.
|
|
2908
|
+
protoOf($appendResponseBodyCOROUTINE$).c9 = function () {
|
|
2909
|
+
var suspendResult = this.w8_1;
|
|
2934
2910
|
$sm: do
|
|
2935
2911
|
try {
|
|
2936
|
-
var tmp = this.
|
|
2912
|
+
var tmp = this.u8_1;
|
|
2937
2913
|
switch (tmp) {
|
|
2938
2914
|
case 0:
|
|
2939
|
-
this.
|
|
2940
|
-
var tmp0 = this.
|
|
2941
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2942
|
-
tmp0.
|
|
2943
|
-
var tmp0_0 = this.
|
|
2915
|
+
this.v8_1 = 3;
|
|
2916
|
+
var tmp0 = this.k53_1;
|
|
2917
|
+
var value = 'BODY Content-Type: ' + toString_0(this.l53_1);
|
|
2918
|
+
tmp0.f8(value).g8(_Char___init__impl__6a9atx(10));
|
|
2919
|
+
var tmp0_0 = this.k53_1;
|
|
2944
2920
|
var value_0 = 'BODY START';
|
|
2945
|
-
tmp0_0.
|
|
2946
|
-
var
|
|
2947
|
-
|
|
2948
|
-
var tmp_1 = this;
|
|
2949
|
-
var tmp0_safe_receiver = this.l5g_1;
|
|
2921
|
+
tmp0_0.f8(value_0).g8(_Char___init__impl__6a9atx(10));
|
|
2922
|
+
var tmp0_1 = this.m53_1;
|
|
2923
|
+
var tmp0_safe_receiver = this.l53_1;
|
|
2950
2924
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2951
|
-
|
|
2952
|
-
this.
|
|
2953
|
-
this.
|
|
2954
|
-
|
|
2955
|
-
this.n9_1 = 1;
|
|
2956
|
-
suspendResult = readRemaining(this.p5g_1, this);
|
|
2925
|
+
this.o53_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d1w_1 : tmp1_elvis_lhs;
|
|
2926
|
+
this.v8_1 = 2;
|
|
2927
|
+
this.u8_1 = 1;
|
|
2928
|
+
suspendResult = readRemaining(tmp0_1, this);
|
|
2957
2929
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2958
2930
|
return suspendResult;
|
|
2959
2931
|
}
|
|
@@ -2961,78 +2933,78 @@
|
|
|
2961
2933
|
continue $sm;
|
|
2962
2934
|
case 1:
|
|
2963
2935
|
var ARGUMENT = suspendResult;
|
|
2964
|
-
this.
|
|
2965
|
-
this.
|
|
2966
|
-
this.
|
|
2936
|
+
this.n53_1 = readText(ARGUMENT, this.o53_1);
|
|
2937
|
+
this.v8_1 = 3;
|
|
2938
|
+
this.u8_1 = 4;
|
|
2967
2939
|
continue $sm;
|
|
2968
2940
|
case 2:
|
|
2969
|
-
this.
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
var cause = this.
|
|
2973
|
-
var
|
|
2974
|
-
|
|
2975
|
-
this.
|
|
2941
|
+
this.v8_1 = 3;
|
|
2942
|
+
var tmp_0 = this.x8_1;
|
|
2943
|
+
if (tmp_0 instanceof Error) {
|
|
2944
|
+
var cause = this.x8_1;
|
|
2945
|
+
var tmp_1 = this;
|
|
2946
|
+
tmp_1.n53_1 = null;
|
|
2947
|
+
this.u8_1 = 4;
|
|
2976
2948
|
continue $sm;
|
|
2977
2949
|
} else {
|
|
2978
|
-
throw this.
|
|
2950
|
+
throw this.x8_1;
|
|
2979
2951
|
}
|
|
2980
2952
|
|
|
2981
2953
|
case 3:
|
|
2982
|
-
throw this.
|
|
2954
|
+
throw this.x8_1;
|
|
2983
2955
|
case 4:
|
|
2984
|
-
this.
|
|
2985
|
-
var tmp2_elvis_lhs = this.
|
|
2956
|
+
this.v8_1 = 3;
|
|
2957
|
+
var tmp2_elvis_lhs = this.n53_1;
|
|
2986
2958
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
2987
|
-
this.
|
|
2988
|
-
this.
|
|
2959
|
+
this.k53_1.f8(message).g8(_Char___init__impl__6a9atx(10));
|
|
2960
|
+
this.k53_1.f8('BODY END');
|
|
2989
2961
|
return Unit_instance;
|
|
2990
2962
|
}
|
|
2991
2963
|
} catch ($p) {
|
|
2992
2964
|
var e = $p;
|
|
2993
|
-
if (this.
|
|
2965
|
+
if (this.v8_1 === 3) {
|
|
2994
2966
|
throw e;
|
|
2995
2967
|
} else {
|
|
2996
|
-
this.
|
|
2997
|
-
this.
|
|
2968
|
+
this.u8_1 = this.v8_1;
|
|
2969
|
+
this.x8_1 = e;
|
|
2998
2970
|
}
|
|
2999
2971
|
}
|
|
3000
2972
|
while (true);
|
|
3001
2973
|
};
|
|
3002
2974
|
function observe(_this__u8e3s4, log, $completion) {
|
|
3003
2975
|
var tmp = new $observeCOROUTINE$(_this__u8e3s4, log, $completion);
|
|
3004
|
-
tmp.
|
|
3005
|
-
tmp.
|
|
3006
|
-
return tmp.
|
|
2976
|
+
tmp.w8_1 = Unit_instance;
|
|
2977
|
+
tmp.x8_1 = null;
|
|
2978
|
+
return tmp.c9();
|
|
3007
2979
|
}
|
|
3008
2980
|
function toReadChannel(_this__u8e3s4) {
|
|
3009
2981
|
var tmp = GlobalScope_instance;
|
|
3010
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
3011
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
2982
|
+
var tmp_0 = Dispatchers_getInstance().f15_1;
|
|
2983
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).a1u_1;
|
|
3012
2984
|
}
|
|
3013
2985
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3014
|
-
this.
|
|
2986
|
+
this.k54_1 = $this_toReadChannel;
|
|
3015
2987
|
CoroutineImpl.call(this, resultContinuation);
|
|
3016
2988
|
}
|
|
3017
|
-
protoOf(toReadChannel$slambda).
|
|
3018
|
-
var tmp = this.
|
|
3019
|
-
tmp.
|
|
3020
|
-
tmp.
|
|
3021
|
-
return tmp.
|
|
2989
|
+
protoOf(toReadChannel$slambda).p38 = function ($this$writer, $completion) {
|
|
2990
|
+
var tmp = this.q38($this$writer, $completion);
|
|
2991
|
+
tmp.w8_1 = Unit_instance;
|
|
2992
|
+
tmp.x8_1 = null;
|
|
2993
|
+
return tmp.c9();
|
|
3022
2994
|
};
|
|
3023
|
-
protoOf(toReadChannel$slambda).
|
|
3024
|
-
return this.
|
|
2995
|
+
protoOf(toReadChannel$slambda).o9 = function (p1, $completion) {
|
|
2996
|
+
return this.p38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3025
2997
|
};
|
|
3026
|
-
protoOf(toReadChannel$slambda).
|
|
3027
|
-
var suspendResult = this.
|
|
2998
|
+
protoOf(toReadChannel$slambda).c9 = function () {
|
|
2999
|
+
var suspendResult = this.w8_1;
|
|
3028
3000
|
$sm: do
|
|
3029
3001
|
try {
|
|
3030
|
-
var tmp = this.
|
|
3002
|
+
var tmp = this.u8_1;
|
|
3031
3003
|
switch (tmp) {
|
|
3032
3004
|
case 0:
|
|
3033
|
-
this.
|
|
3034
|
-
this.
|
|
3035
|
-
suspendResult = this.
|
|
3005
|
+
this.v8_1 = 2;
|
|
3006
|
+
this.u8_1 = 1;
|
|
3007
|
+
suspendResult = this.k54_1.q33(this.l54_1.c1u_1, this);
|
|
3036
3008
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3037
3009
|
return suspendResult;
|
|
3038
3010
|
}
|
|
@@ -3041,102 +3013,96 @@
|
|
|
3041
3013
|
case 1:
|
|
3042
3014
|
return Unit_instance;
|
|
3043
3015
|
case 2:
|
|
3044
|
-
throw this.
|
|
3016
|
+
throw this.x8_1;
|
|
3045
3017
|
}
|
|
3046
3018
|
} catch ($p) {
|
|
3047
3019
|
var e = $p;
|
|
3048
|
-
if (this.
|
|
3020
|
+
if (this.v8_1 === 2) {
|
|
3049
3021
|
throw e;
|
|
3050
3022
|
} else {
|
|
3051
|
-
this.
|
|
3052
|
-
this.
|
|
3023
|
+
this.u8_1 = this.v8_1;
|
|
3024
|
+
this.x8_1 = e;
|
|
3053
3025
|
}
|
|
3054
3026
|
}
|
|
3055
3027
|
while (true);
|
|
3056
3028
|
};
|
|
3057
|
-
protoOf(toReadChannel$slambda).
|
|
3058
|
-
var i = new toReadChannel$slambda(this.
|
|
3059
|
-
i.
|
|
3029
|
+
protoOf(toReadChannel$slambda).q38 = function ($this$writer, completion) {
|
|
3030
|
+
var i = new toReadChannel$slambda(this.k54_1, completion);
|
|
3031
|
+
i.l54_1 = $this$writer;
|
|
3060
3032
|
return i;
|
|
3061
3033
|
};
|
|
3062
3034
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3063
3035
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3064
3036
|
var l = function ($this$writer, $completion) {
|
|
3065
|
-
return i.
|
|
3037
|
+
return i.p38($this$writer, $completion);
|
|
3066
3038
|
};
|
|
3067
3039
|
l.$arity = 1;
|
|
3068
3040
|
return l;
|
|
3069
3041
|
}
|
|
3070
3042
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3071
3043
|
CoroutineImpl.call(this, resultContinuation);
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3044
|
+
this.y53_1 = _this__u8e3s4;
|
|
3045
|
+
this.z53_1 = log;
|
|
3074
3046
|
}
|
|
3075
|
-
protoOf($observeCOROUTINE$).
|
|
3076
|
-
var suspendResult = this.
|
|
3047
|
+
protoOf($observeCOROUTINE$).c9 = function () {
|
|
3048
|
+
var suspendResult = this.w8_1;
|
|
3077
3049
|
$sm: do
|
|
3078
3050
|
try {
|
|
3079
|
-
var tmp = this.
|
|
3051
|
+
var tmp = this.u8_1;
|
|
3080
3052
|
switch (tmp) {
|
|
3081
3053
|
case 0:
|
|
3082
|
-
this.
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
this.
|
|
3087
|
-
suspendResult = writeFully(this.c5h_1, this.b5h_1.x36(), VOID, VOID, this);
|
|
3054
|
+
this.v8_1 = 6;
|
|
3055
|
+
var tmp0_subject = this.y53_1;
|
|
3056
|
+
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3057
|
+
this.u8_1 = 3;
|
|
3058
|
+
suspendResult = writeFully(this.z53_1, this.y53_1.l33(), VOID, VOID, this);
|
|
3088
3059
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3089
3060
|
return suspendResult;
|
|
3090
3061
|
}
|
|
3091
3062
|
continue $sm;
|
|
3092
3063
|
} else {
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
var tmp_2 = this;
|
|
3064
|
+
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3065
|
+
var tmp_0 = this;
|
|
3096
3066
|
var responseChannel = new ByteChannel();
|
|
3097
|
-
var content = this.
|
|
3098
|
-
copyToBoth(content, this.
|
|
3099
|
-
|
|
3100
|
-
this.
|
|
3067
|
+
var content = this.y53_1.o33();
|
|
3068
|
+
copyToBoth(content, this.z53_1, responseChannel);
|
|
3069
|
+
tmp_0.a54_1 = new LoggedContent(this.y53_1, responseChannel);
|
|
3070
|
+
this.u8_1 = 5;
|
|
3101
3071
|
continue $sm;
|
|
3102
3072
|
} else {
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
var tmp_4 = this;
|
|
3073
|
+
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3074
|
+
var tmp_1 = this;
|
|
3106
3075
|
var responseChannel_0 = new ByteChannel();
|
|
3107
|
-
var content_0 = toReadChannel(this.
|
|
3108
|
-
copyToBoth(content_0, this.
|
|
3109
|
-
|
|
3110
|
-
this.
|
|
3076
|
+
var content_0 = toReadChannel(this.y53_1);
|
|
3077
|
+
copyToBoth(content_0, this.z53_1, responseChannel_0);
|
|
3078
|
+
tmp_1.a54_1 = new LoggedContent(this.y53_1, responseChannel_0);
|
|
3079
|
+
this.u8_1 = 5;
|
|
3111
3080
|
continue $sm;
|
|
3112
3081
|
} else {
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
this.
|
|
3116
|
-
this.
|
|
3117
|
-
suspendResult = observe(this.b5h_1.g37(), this.c5h_1, this);
|
|
3082
|
+
if (tmp0_subject instanceof ContentWrapper) {
|
|
3083
|
+
this.b54_1 = this.y53_1;
|
|
3084
|
+
this.u8_1 = 2;
|
|
3085
|
+
suspendResult = observe(this.y53_1.u33(), this.z53_1, this);
|
|
3118
3086
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3119
3087
|
return suspendResult;
|
|
3120
3088
|
}
|
|
3121
3089
|
continue $sm;
|
|
3122
3090
|
} else {
|
|
3123
|
-
var
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
tmp_6 = true;
|
|
3091
|
+
var tmp_2;
|
|
3092
|
+
if (tmp0_subject instanceof NoContent) {
|
|
3093
|
+
tmp_2 = true;
|
|
3127
3094
|
} else {
|
|
3128
|
-
|
|
3129
|
-
tmp_6 = tmp_8 instanceof ProtocolUpgrade;
|
|
3095
|
+
tmp_2 = tmp0_subject instanceof ProtocolUpgrade;
|
|
3130
3096
|
}
|
|
3131
|
-
if (
|
|
3132
|
-
this.
|
|
3133
|
-
suspendResult = this.
|
|
3097
|
+
if (tmp_2) {
|
|
3098
|
+
this.u8_1 = 1;
|
|
3099
|
+
suspendResult = this.z53_1.j1m(this);
|
|
3134
3100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3135
3101
|
return suspendResult;
|
|
3136
3102
|
}
|
|
3137
3103
|
continue $sm;
|
|
3138
3104
|
} else {
|
|
3139
|
-
var
|
|
3105
|
+
var tmp_3 = this;
|
|
3140
3106
|
noWhenBranchMatchedException();
|
|
3141
3107
|
}
|
|
3142
3108
|
}
|
|
@@ -3146,38 +3112,38 @@
|
|
|
3146
3112
|
|
|
3147
3113
|
break;
|
|
3148
3114
|
case 1:
|
|
3149
|
-
this.
|
|
3150
|
-
this.
|
|
3115
|
+
this.a54_1 = this.y53_1;
|
|
3116
|
+
this.u8_1 = 5;
|
|
3151
3117
|
continue $sm;
|
|
3152
3118
|
case 2:
|
|
3153
|
-
|
|
3154
|
-
this.
|
|
3155
|
-
this.
|
|
3119
|
+
var ARGUMENT = suspendResult;
|
|
3120
|
+
this.a54_1 = this.b54_1.v33(ARGUMENT);
|
|
3121
|
+
this.u8_1 = 5;
|
|
3156
3122
|
continue $sm;
|
|
3157
3123
|
case 3:
|
|
3158
|
-
this.
|
|
3159
|
-
suspendResult = this.
|
|
3124
|
+
this.u8_1 = 4;
|
|
3125
|
+
suspendResult = this.z53_1.j1m(this);
|
|
3160
3126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3161
3127
|
return suspendResult;
|
|
3162
3128
|
}
|
|
3163
3129
|
|
|
3164
3130
|
continue $sm;
|
|
3165
3131
|
case 4:
|
|
3166
|
-
this.
|
|
3167
|
-
this.
|
|
3132
|
+
this.a54_1 = this.y53_1;
|
|
3133
|
+
this.u8_1 = 5;
|
|
3168
3134
|
continue $sm;
|
|
3169
3135
|
case 5:
|
|
3170
|
-
return this.
|
|
3136
|
+
return this.a54_1;
|
|
3171
3137
|
case 6:
|
|
3172
|
-
throw this.
|
|
3138
|
+
throw this.x8_1;
|
|
3173
3139
|
}
|
|
3174
3140
|
} catch ($p) {
|
|
3175
3141
|
var e = $p;
|
|
3176
|
-
if (this.
|
|
3142
|
+
if (this.v8_1 === 6) {
|
|
3177
3143
|
throw e;
|
|
3178
3144
|
} else {
|
|
3179
|
-
this.
|
|
3180
|
-
this.
|
|
3145
|
+
this.u8_1 = this.v8_1;
|
|
3146
|
+
this.x8_1 = e;
|
|
3181
3147
|
}
|
|
3182
3148
|
}
|
|
3183
3149
|
while (true);
|
|
@@ -3193,7 +3159,7 @@
|
|
|
3193
3159
|
}
|
|
3194
3160
|
function MDCContextElement() {
|
|
3195
3161
|
}
|
|
3196
|
-
protoOf(MDCContextElement).
|
|
3162
|
+
protoOf(MDCContextElement).z = function () {
|
|
3197
3163
|
return MDCContextKey_instance;
|
|
3198
3164
|
};
|
|
3199
3165
|
protoOf(MDCContextElement).toString = function () {
|
|
@@ -3207,10 +3173,10 @@
|
|
|
3207
3173
|
return get_SIMPLE(_this__u8e3s4);
|
|
3208
3174
|
}
|
|
3209
3175
|
//region block: post-declaration
|
|
3210
|
-
protoOf(MDCContextElement).
|
|
3211
|
-
protoOf(MDCContextElement).
|
|
3212
|
-
protoOf(MDCContextElement).
|
|
3213
|
-
protoOf(MDCContextElement).
|
|
3176
|
+
protoOf(MDCContextElement).h9 = get;
|
|
3177
|
+
protoOf(MDCContextElement).fh = fold;
|
|
3178
|
+
protoOf(MDCContextElement).eh = minusKey;
|
|
3179
|
+
protoOf(MDCContextElement).gh = plus;
|
|
3214
3180
|
//endregion
|
|
3215
3181
|
//region block: init
|
|
3216
3182
|
Companion_instance = new Companion();
|