@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.
@@ -1,69 +1,69 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.lb;
5
- var initMetadataForClass = kotlin_kotlin.$_$.la;
6
- var plus = kotlin_kotlin.$_$.u7;
7
- var toMutableSet = kotlin_kotlin.$_$.q8;
8
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
4
+ var protoOf = kotlin_kotlin.$_$.zb;
5
+ var initMetadataForClass = kotlin_kotlin.$_$.za;
6
+ var plus = kotlin_kotlin.$_$.o7;
7
+ var toMutableSet = kotlin_kotlin.$_$.k8;
8
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
9
9
  var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.b;
10
10
  var register$default = kotlin_io_ktor_ktor_serialization.$_$.b;
11
- var Unit_instance = kotlin_kotlin.$_$.f5;
11
+ var Unit_instance = kotlin_kotlin.$_$.z4;
12
12
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
13
- var VOID = kotlin_kotlin.$_$.h;
14
- var Exception = kotlin_kotlin.$_$.xe;
15
- var Exception_init_$Init$ = kotlin_kotlin.$_$.n1;
16
- var captureStack = kotlin_kotlin.$_$.v9;
13
+ var VOID = kotlin_kotlin.$_$.b;
14
+ var Exception = kotlin_kotlin.$_$.qf;
15
+ var Exception_init_$Init$ = kotlin_kotlin.$_$.h1;
16
+ var captureStack = kotlin_kotlin.$_$.ja;
17
17
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
18
- var CoroutineImpl = kotlin_kotlin.$_$.n9;
19
- var THROW_CCE = kotlin_kotlin.$_$.ff;
18
+ var CoroutineImpl = kotlin_kotlin.$_$.h9;
19
+ var THROW_CCE = kotlin_kotlin.$_$.yf;
20
20
  var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.l;
21
21
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
22
22
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
23
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x8;
24
- var initMetadataForLambda = kotlin_kotlin.$_$.qa;
23
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
24
+ var initMetadataForLambda = kotlin_kotlin.$_$.eb;
25
25
  var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.m;
26
26
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
27
27
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.l1;
28
- var isInterface = kotlin_kotlin.$_$.ab;
28
+ var isInterface = kotlin_kotlin.$_$.ob;
29
29
  var contentType = kotlin_io_ktor_ktor_http.$_$.n1;
30
30
  var get_request = kotlin_io_ktor_ktor_client_core.$_$.i1;
31
31
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
32
- var toString = kotlin_kotlin.$_$.pb;
33
- var Collection = kotlin_kotlin.$_$.h5;
32
+ var toString = kotlin_kotlin.$_$.cc;
33
+ var Collection = kotlin_kotlin.$_$.b5;
34
34
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
35
- var emptyList = kotlin_kotlin.$_$.u6;
35
+ var emptyList = kotlin_kotlin.$_$.o6;
36
36
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.c;
37
37
  var accept = kotlin_io_ktor_ktor_client_core.$_$.b1;
38
38
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
39
- var getKClassFromExpression = kotlin_kotlin.$_$.e;
39
+ var getKClassFromExpression = kotlin_kotlin.$_$.pc;
40
40
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.m1;
41
41
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.g;
42
- var Unit = kotlin_kotlin.$_$.qf;
42
+ var Unit = kotlin_kotlin.$_$.jg;
43
43
  var charset = kotlin_io_ktor_ktor_http.$_$.k1;
44
- var ensureNotNull = kotlin_kotlin.$_$.xf;
44
+ var ensureNotNull = kotlin_kotlin.$_$.qg;
45
45
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
46
- var equals = kotlin_kotlin.$_$.ea;
47
- var joinToString = kotlin_kotlin.$_$.j7;
48
- var initMetadataForCoroutine = kotlin_kotlin.$_$.na;
49
- var collectionSizeOrDefault = kotlin_kotlin.$_$.a6;
50
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
46
+ var equals = kotlin_kotlin.$_$.sa;
47
+ var joinToString = kotlin_kotlin.$_$.d7;
48
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
49
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.u5;
50
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
51
51
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
52
52
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
53
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.t4;
53
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n4;
54
54
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.a1;
55
- var getKClass = kotlin_kotlin.$_$.f;
56
- var setOf = kotlin_kotlin.$_$.c8;
57
- var KtList = kotlin_kotlin.$_$.m5;
55
+ var getKClass = kotlin_kotlin.$_$.qc;
56
+ var setOf = kotlin_kotlin.$_$.w7;
57
+ var KtList = kotlin_kotlin.$_$.g5;
58
58
  var ContentType = kotlin_io_ktor_ktor_http.$_$.y;
59
- var arrayOf = kotlin_kotlin.$_$.tf;
60
- var createKType = kotlin_kotlin.$_$.c;
61
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
59
+ var arrayOf = kotlin_kotlin.$_$.mg;
60
+ var createKType = kotlin_kotlin.$_$.oc;
61
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.mc;
62
62
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
63
63
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
64
- var endsWith = kotlin_kotlin.$_$.pc;
65
- var initMetadataForObject = kotlin_kotlin.$_$.ra;
66
- var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.a1;
64
+ var endsWith = kotlin_kotlin.$_$.id;
65
+ var initMetadataForObject = kotlin_kotlin.$_$.fb;
66
+ var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.u;
67
67
  //endregion
68
68
  //region block: pre-declaration
69
69
  initMetadataForClass(ConverterRegistration, 'ConverterRegistration');
@@ -97,35 +97,35 @@
97
97
  }
98
98
  var ContentNegotiation;
99
99
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
100
- this.r5h_1 = converter;
101
- this.s5h_1 = contentTypeToSend;
102
- this.t5h_1 = contentTypeMatcher;
100
+ this.r56_1 = converter;
101
+ this.s56_1 = contentTypeToSend;
102
+ this.t56_1 = contentTypeMatcher;
103
103
  }
104
104
  function defaultMatcher($this, pattern) {
105
105
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
106
106
  }
107
107
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
108
- this.u5h_1 = $pattern;
108
+ this.u56_1 = $pattern;
109
109
  }
110
- protoOf(ContentNegotiationConfig$defaultMatcher$1).v5h = function (contentType) {
111
- return contentType.q2w(this.u5h_1);
110
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).v56 = function (contentType) {
111
+ return contentType.e2t(this.u56_1);
112
112
  };
113
113
  function ContentNegotiationConfig() {
114
- this.w5h_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
114
+ this.w56_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
115
115
  var tmp = this;
116
116
  // Inline function 'kotlin.collections.mutableListOf' call
117
- tmp.x5h_1 = ArrayList_init_$Create$();
118
- this.y5h_1 = null;
117
+ tmp.x56_1 = ArrayList_init_$Create$();
118
+ this.y56_1 = null;
119
119
  }
120
- protoOf(ContentNegotiationConfig).f3f = function (contentType, converter, configuration) {
121
- var matcher = contentType.q2w(Application_getInstance().w2u_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
122
- this.z5h(contentType, converter, matcher, configuration);
120
+ protoOf(ContentNegotiationConfig).y54 = function (contentType, converter, configuration) {
121
+ var matcher = contentType.e2t(Application_getInstance().k2r_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
122
+ this.z56(contentType, converter, matcher, configuration);
123
123
  };
124
- protoOf(ContentNegotiationConfig).z5h = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
124
+ protoOf(ContentNegotiationConfig).z56 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
125
125
  // Inline function 'kotlin.apply' call
126
126
  configuration(converter);
127
127
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
128
- this.x5h_1.k(registration);
128
+ this.x56_1.p(registration);
129
129
  };
130
130
  function ContentConverterException(message) {
131
131
  Exception_init_$Init$(message, this);
@@ -140,53 +140,53 @@
140
140
  }
141
141
  function ContentNegotiation$lambda($this$createClientPlugin) {
142
142
  _init_properties_ContentNegotiation_kt__o183go();
143
- var registrations = $this$createClientPlugin.g3s_1.x5h_1;
144
- var ignoredTypes = $this$createClientPlugin.g3s_1.w5h_1;
145
- $this$createClientPlugin.k4b(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
146
- $this$createClientPlugin.x42(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
143
+ var registrations = $this$createClientPlugin.g3l_1.x56_1;
144
+ var ignoredTypes = $this$createClientPlugin.g3l_1.w56_1;
145
+ $this$createClientPlugin.n42(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
146
+ $this$createClientPlugin.m3u(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
147
147
  return Unit_instance;
148
148
  }
149
149
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
150
150
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
151
- tmp.p9_1 = Unit_instance;
152
- tmp.q9_1 = null;
153
- return tmp.v9();
151
+ tmp.w8_1 = Unit_instance;
152
+ tmp.x8_1 = null;
153
+ return tmp.c9();
154
154
  }
155
155
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
156
- charset = charset === VOID ? Charsets_getInstance().l1z_1 : charset;
156
+ charset = charset === VOID ? Charsets_getInstance().d1w_1 : charset;
157
157
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
158
- tmp.p9_1 = Unit_instance;
159
- tmp.q9_1 = null;
160
- return tmp.v9();
158
+ tmp.w8_1 = Unit_instance;
159
+ tmp.x8_1 = null;
160
+ return tmp.c9();
161
161
  }
162
162
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
163
- this.x5j_1 = $registrations;
164
- this.y5j_1 = $this_createClientPlugin;
165
- this.z5j_1 = $ignoredTypes;
163
+ this.r58_1 = $registrations;
164
+ this.s58_1 = $this_createClientPlugin;
165
+ this.t58_1 = $ignoredTypes;
166
166
  CoroutineImpl.call(this, resultContinuation);
167
167
  }
168
- protoOf(ContentNegotiation$lambda$slambda).e5k = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
169
- var tmp = this.f5k($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
170
- tmp.p9_1 = Unit_instance;
171
- tmp.q9_1 = null;
172
- return tmp.v9();
168
+ protoOf(ContentNegotiation$lambda$slambda).y58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
169
+ var tmp = this.z58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
170
+ tmp.w8_1 = Unit_instance;
171
+ tmp.x8_1 = null;
172
+ return tmp.c9();
173
173
  };
174
- protoOf(ContentNegotiation$lambda$slambda).c44 = function (p1, p2, p3, p4, $completion) {
174
+ protoOf(ContentNegotiation$lambda$slambda).r3v = function (p1, p2, p3, p4, $completion) {
175
175
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
176
176
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
177
177
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
178
- return this.e5k(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
178
+ return this.y58(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
179
179
  };
180
- protoOf(ContentNegotiation$lambda$slambda).v9 = function () {
181
- var suspendResult = this.p9_1;
180
+ protoOf(ContentNegotiation$lambda$slambda).c9 = function () {
181
+ var suspendResult = this.w8_1;
182
182
  $sm: do
183
183
  try {
184
- var tmp = this.n9_1;
184
+ var tmp = this.u8_1;
185
185
  switch (tmp) {
186
186
  case 0:
187
- this.o9_1 = 2;
188
- this.n9_1 = 1;
189
- suspendResult = invoke$convertRequest(this.x5j_1, this.y5j_1, this.z5j_1, this.b5k_1, this.c5k_1, this);
187
+ this.v8_1 = 2;
188
+ this.u8_1 = 1;
189
+ suspendResult = invoke$convertRequest(this.r58_1, this.s58_1, this.t58_1, this.v58_1, this.w58_1, this);
190
190
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
191
191
  return suspendResult;
192
192
  }
@@ -195,74 +195,73 @@
195
195
  case 1:
196
196
  return suspendResult;
197
197
  case 2:
198
- throw this.q9_1;
198
+ throw this.x8_1;
199
199
  }
200
200
  } catch ($p) {
201
201
  var e = $p;
202
- if (this.o9_1 === 2) {
202
+ if (this.v8_1 === 2) {
203
203
  throw e;
204
204
  } else {
205
- this.n9_1 = this.o9_1;
206
- this.q9_1 = e;
205
+ this.u8_1 = this.v8_1;
206
+ this.x8_1 = e;
207
207
  }
208
208
  }
209
209
  while (true);
210
210
  };
211
- protoOf(ContentNegotiation$lambda$slambda).f5k = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
212
- var i = new ContentNegotiation$lambda$slambda(this.x5j_1, this.y5j_1, this.z5j_1, completion);
213
- i.a5k_1 = $this$transformRequestBody;
214
- i.b5k_1 = request;
215
- i.c5k_1 = body;
216
- i.d5k_1 = _unused_var__etf5q3;
211
+ protoOf(ContentNegotiation$lambda$slambda).z58 = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
212
+ var i = new ContentNegotiation$lambda$slambda(this.r58_1, this.s58_1, this.t58_1, completion);
213
+ i.u58_1 = $this$transformRequestBody;
214
+ i.v58_1 = request;
215
+ i.w58_1 = body;
216
+ i.x58_1 = _unused_var__etf5q3;
217
217
  return i;
218
218
  };
219
219
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
220
220
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
221
221
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
222
- return i.e5k($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
222
+ return i.y58($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
223
223
  };
224
224
  l.$arity = 4;
225
225
  return l;
226
226
  }
227
227
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
228
- this.o5k_1 = $ignoredTypes;
229
- this.p5k_1 = $registrations;
230
- this.q5k_1 = $this_createClientPlugin;
228
+ this.i59_1 = $ignoredTypes;
229
+ this.j59_1 = $registrations;
230
+ this.k59_1 = $this_createClientPlugin;
231
231
  CoroutineImpl.call(this, resultContinuation);
232
232
  }
233
- protoOf(ContentNegotiation$lambda$slambda_1).a44 = function ($this$transformResponseBody, response, body, info, $completion) {
234
- var tmp = this.b44($this$transformResponseBody, response, body, info, $completion);
235
- tmp.p9_1 = Unit_instance;
236
- tmp.q9_1 = null;
237
- return tmp.v9();
233
+ protoOf(ContentNegotiation$lambda$slambda_1).p3v = function ($this$transformResponseBody, response, body, info, $completion) {
234
+ var tmp = this.q3v($this$transformResponseBody, response, body, info, $completion);
235
+ tmp.w8_1 = Unit_instance;
236
+ tmp.x8_1 = null;
237
+ return tmp.c9();
238
238
  };
239
- protoOf(ContentNegotiation$lambda$slambda_1).c44 = function (p1, p2, p3, p4, $completion) {
239
+ protoOf(ContentNegotiation$lambda$slambda_1).r3v = function (p1, p2, p3, p4, $completion) {
240
240
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
241
241
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
242
242
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
243
- return this.a44(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
243
+ return this.p3v(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
244
244
  };
245
- protoOf(ContentNegotiation$lambda$slambda_1).v9 = function () {
246
- var suspendResult = this.p9_1;
245
+ protoOf(ContentNegotiation$lambda$slambda_1).c9 = function () {
246
+ var suspendResult = this.w8_1;
247
247
  $sm: do
248
248
  try {
249
- var tmp = this.n9_1;
249
+ var tmp = this.u8_1;
250
250
  switch (tmp) {
251
251
  case 0:
252
- this.o9_1 = 2;
253
- var tmp_0 = this;
254
- var tmp0_elvis_lhs = contentType(this.s5k_1);
255
- var tmp_1;
252
+ this.v8_1 = 2;
253
+ var tmp0_elvis_lhs = contentType(this.m59_1);
254
+ var tmp_0;
256
255
  if (tmp0_elvis_lhs == null) {
257
256
  return null;
258
257
  } else {
259
- tmp_1 = tmp0_elvis_lhs;
258
+ tmp_0 = tmp0_elvis_lhs;
260
259
  }
261
260
 
262
- tmp_0.v5k_1 = tmp_1;
263
- this.w5k_1 = suitableCharset(get_request(this.s5k_1).z30());
264
- this.n9_1 = 1;
265
- suspendResult = invoke$convertResponse(this.o5k_1, this.p5k_1, this.q5k_1, get_request(this.s5k_1).i3l(), this.u5k_1, this.t5k_1, this.v5k_1, this.w5k_1, this);
261
+ var contentType_0 = tmp_0;
262
+ var charset = suitableCharset(get_request(this.m59_1).n2x());
263
+ this.u8_1 = 1;
264
+ suspendResult = invoke$convertResponse(this.i59_1, this.j59_1, this.k59_1, get_request(this.m59_1).u3e(), this.o59_1, this.n59_1, contentType_0, charset, this);
266
265
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
267
266
  return suspendResult;
268
267
  }
@@ -271,80 +270,79 @@
271
270
  case 1:
272
271
  return suspendResult;
273
272
  case 2:
274
- throw this.q9_1;
273
+ throw this.x8_1;
275
274
  }
276
275
  } catch ($p) {
277
276
  var e = $p;
278
- if (this.o9_1 === 2) {
277
+ if (this.v8_1 === 2) {
279
278
  throw e;
280
279
  } else {
281
- this.n9_1 = this.o9_1;
282
- this.q9_1 = e;
280
+ this.u8_1 = this.v8_1;
281
+ this.x8_1 = e;
283
282
  }
284
283
  }
285
284
  while (true);
286
285
  };
287
- protoOf(ContentNegotiation$lambda$slambda_1).b44 = function ($this$transformResponseBody, response, body, info, completion) {
288
- var i = new ContentNegotiation$lambda$slambda_1(this.o5k_1, this.p5k_1, this.q5k_1, completion);
289
- i.r5k_1 = $this$transformResponseBody;
290
- i.s5k_1 = response;
291
- i.t5k_1 = body;
292
- i.u5k_1 = info;
286
+ protoOf(ContentNegotiation$lambda$slambda_1).q3v = function ($this$transformResponseBody, response, body, info, completion) {
287
+ var i = new ContentNegotiation$lambda$slambda_1(this.i59_1, this.j59_1, this.k59_1, completion);
288
+ i.l59_1 = $this$transformResponseBody;
289
+ i.m59_1 = response;
290
+ i.n59_1 = body;
291
+ i.o59_1 = info;
293
292
  return i;
294
293
  };
295
294
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
296
295
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
297
296
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
298
- return i.a44($this$transformResponseBody, response, body, info, $completion);
297
+ return i.p3v($this$transformResponseBody, response, body, info, $completion);
299
298
  };
300
299
  l.$arity = 4;
301
300
  return l;
302
301
  }
303
302
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
304
303
  _init_properties_ContentNegotiation_kt__o183go();
305
- return toString(it.r5h_1);
304
+ return toString(it.r56_1);
306
305
  }
307
306
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
308
307
  CoroutineImpl.call(this, resultContinuation);
309
- this.i5i_1 = registrations;
310
- this.j5i_1 = $this_createClientPlugin;
311
- this.k5i_1 = ignoredTypes;
312
- this.l5i_1 = request;
313
- this.m5i_1 = body;
308
+ this.i57_1 = registrations;
309
+ this.j57_1 = $this_createClientPlugin;
310
+ this.k57_1 = ignoredTypes;
311
+ this.l57_1 = request;
312
+ this.m57_1 = body;
314
313
  }
315
- protoOf($invoke$convertRequestCOROUTINE$).v9 = function () {
316
- var suspendResult = this.p9_1;
314
+ protoOf($invoke$convertRequestCOROUTINE$).c9 = function () {
315
+ var suspendResult = this.w8_1;
317
316
  $sm: do
318
317
  try {
319
- var tmp = this.n9_1;
318
+ var tmp = this.u8_1;
320
319
  switch (tmp) {
321
320
  case 0:
322
- this.o9_1 = 7;
323
- var tmp_0 = this;
324
- var tmp_1;
325
- if (this.l5i_1.w3j_1.i2l(get_ExcludedContentTypes())) {
326
- var excluded = this.l5i_1.w3j_1.g2l(get_ExcludedContentTypes());
327
- var tmp0 = this.i5i_1;
321
+ this.v8_1 = 7;
322
+ var tmp_0;
323
+ if (this.l57_1.i3d_1.a2i(get_ExcludedContentTypes())) {
324
+ var excluded = this.l57_1.i3d_1.y2h(get_ExcludedContentTypes());
325
+ var tmp0 = this.i57_1;
328
326
  var destination = ArrayList_init_$Create$();
329
- var _iterator__ex2g4s = tmp0.p();
330
- while (_iterator__ex2g4s.q()) {
331
- var element = _iterator__ex2g4s.r();
327
+ var _iterator__ex2g4s = tmp0.r();
328
+ while (_iterator__ex2g4s.s()) {
329
+ var element = _iterator__ex2g4s.t();
332
330
  var tmp$ret$0;
333
331
  l$ret$1: do {
334
- var tmp_2;
332
+ var tmp_1;
335
333
  if (isInterface(excluded, Collection)) {
336
- tmp_2 = excluded.h();
334
+ tmp_1 = excluded.j();
337
335
  } else {
338
- tmp_2 = false;
336
+ tmp_1 = false;
339
337
  }
340
- if (tmp_2) {
338
+ if (tmp_1) {
341
339
  tmp$ret$0 = true;
342
340
  break l$ret$1;
343
341
  }
344
- var _iterator__ex2g4s_0 = excluded.p();
345
- while (_iterator__ex2g4s_0.q()) {
346
- var element_0 = _iterator__ex2g4s_0.r();
347
- if (element.s5h_1.q2w(element_0)) {
342
+ var _iterator__ex2g4s_0 = excluded.r();
343
+ while (_iterator__ex2g4s_0.s()) {
344
+ var element_0 = _iterator__ex2g4s_0.t();
345
+ if (element.s56_1.e2t(element_0)) {
348
346
  tmp$ret$0 = false;
349
347
  break l$ret$1;
350
348
  }
@@ -353,38 +351,36 @@
353
351
  }
354
352
  while (false);
355
353
  if (tmp$ret$0) {
356
- destination.k(element);
354
+ destination.p(element);
357
355
  }
358
356
  }
359
- tmp_1 = destination;
357
+ tmp_0 = destination;
360
358
  } else {
361
- tmp_1 = this.i5i_1;
359
+ tmp_0 = this.i57_1;
362
360
  }
363
361
 
364
- tmp_0.n5i_1 = tmp_1;
365
- var tmp_3 = this;
366
- var tmp0_elvis_lhs = this.l5i_1.t3j_1.n2p(HttpHeaders_getInstance().w2w_1);
367
- tmp_3.o5i_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
368
- var _iterator__ex2g4s_1 = this.n5i_1.p();
369
- while (_iterator__ex2g4s_1.q()) {
370
- var element_1 = _iterator__ex2g4s_1.r();
371
- var tmp0_0 = this.o5i_1;
362
+ var requestRegistrations = tmp_0;
363
+ var tmp0_elvis_lhs = this.l57_1.f3d_1.c2m(HttpHeaders_getInstance().k2t_1);
364
+ var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
365
+ var _iterator__ex2g4s_1 = requestRegistrations.r();
366
+ while (_iterator__ex2g4s_1.s()) {
367
+ var element_1 = _iterator__ex2g4s_1.t();
372
368
  var tmp$ret$2;
373
369
  l$ret$3: do {
374
- var tmp_4;
375
- if (isInterface(tmp0_0, Collection)) {
376
- tmp_4 = tmp0_0.h();
370
+ var tmp_2;
371
+ if (isInterface(acceptHeaders, Collection)) {
372
+ tmp_2 = acceptHeaders.j();
377
373
  } else {
378
- tmp_4 = false;
374
+ tmp_2 = false;
379
375
  }
380
- if (tmp_4) {
376
+ if (tmp_2) {
381
377
  tmp$ret$2 = true;
382
378
  break l$ret$3;
383
379
  }
384
- var _iterator__ex2g4s_2 = tmp0_0.p();
385
- while (_iterator__ex2g4s_2.q()) {
386
- var element_2 = _iterator__ex2g4s_2.r();
387
- if (Companion_getInstance().cn(element_2).q2w(element_1.s5h_1)) {
380
+ var _iterator__ex2g4s_2 = acceptHeaders.r();
381
+ while (_iterator__ex2g4s_2.s()) {
382
+ var element_2 = _iterator__ex2g4s_2.t();
383
+ if (Companion_getInstance().hm(element_2).e2t(element_1.s56_1)) {
388
384
  tmp$ret$2 = false;
389
385
  break l$ret$3;
390
386
  }
@@ -393,35 +389,35 @@
393
389
  }
394
390
  while (false);
395
391
  if (tmp$ret$2) {
396
- var qValue = this.j5i_1.g3s_1.y5h_1;
397
- var contentTypeToSend = qValue == null ? element_1.s5h_1 : element_1.s5h_1.o2w('q', qValue.toString());
398
- get_LOGGER().i2u('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.l5i_1.r3j_1.toString());
399
- accept(this.l5i_1, contentTypeToSend);
392
+ var qValue = this.j57_1.g3l_1.y56_1;
393
+ var contentTypeToSend = qValue == null ? element_1.s56_1 : element_1.s56_1.c2t('q', qValue.toString());
394
+ get_LOGGER().s2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.l57_1.d3d_1.toString());
395
+ accept(this.l57_1, contentTypeToSend);
400
396
  }
401
397
  }
402
398
 
403
- var tmp_5;
404
- var tmp_6 = this.m5i_1;
405
- if (tmp_6 instanceof OutgoingContent) {
406
- tmp_5 = true;
399
+ var tmp_3;
400
+ var tmp_4 = this.m57_1;
401
+ if (tmp_4 instanceof OutgoingContent) {
402
+ tmp_3 = true;
407
403
  } else {
408
- var tmp0_1 = this.k5i_1;
404
+ var tmp0_0 = this.k57_1;
409
405
  var tmp$ret$4;
410
406
  l$ret$5: do {
411
- var tmp_7;
412
- if (isInterface(tmp0_1, Collection)) {
413
- tmp_7 = tmp0_1.h();
407
+ var tmp_5;
408
+ if (isInterface(tmp0_0, Collection)) {
409
+ tmp_5 = tmp0_0.j();
414
410
  } else {
415
- tmp_7 = false;
411
+ tmp_5 = false;
416
412
  }
417
- if (tmp_7) {
413
+ if (tmp_5) {
418
414
  tmp$ret$4 = false;
419
415
  break l$ret$5;
420
416
  }
421
- var _iterator__ex2g4s_3 = tmp0_1.p();
422
- while (_iterator__ex2g4s_3.q()) {
423
- var element_3 = _iterator__ex2g4s_3.r();
424
- if (element_3.sb(this.m5i_1)) {
417
+ var _iterator__ex2g4s_3 = tmp0_0.r();
418
+ while (_iterator__ex2g4s_3.s()) {
419
+ var element_3 = _iterator__ex2g4s_3.t();
420
+ if (element_3.wa(this.m57_1)) {
425
421
  tmp$ret$4 = true;
426
422
  break l$ret$5;
427
423
  }
@@ -429,100 +425,97 @@
429
425
  tmp$ret$4 = false;
430
426
  }
431
427
  while (false);
432
- tmp_5 = tmp$ret$4;
428
+ tmp_3 = tmp$ret$4;
433
429
  }
434
430
 
435
- if (tmp_5) {
436
- get_LOGGER().i2u('Body type ' + toString(getKClassFromExpression(this.m5i_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l5i_1.r3j_1.toString() + '.'));
431
+ if (tmp_3) {
432
+ get_LOGGER().s2q('Body type ' + toString(getKClassFromExpression(this.m57_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.'));
437
433
  return null;
438
434
  }
439
435
 
440
- var tmp_8 = this;
441
- var tmp0_elvis_lhs_0 = contentType_0(this.l5i_1);
442
- var tmp_9;
436
+ var tmp_6 = this;
437
+ var tmp0_elvis_lhs_0 = contentType_0(this.l57_1);
438
+ var tmp_7;
443
439
  if (tmp0_elvis_lhs_0 == null) {
444
- this.j5i_1;
445
- get_LOGGER().i2u("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l5i_1.r3j_1.toString() + '.');
440
+ this.j57_1;
441
+ get_LOGGER().s2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l57_1.d3d_1.toString() + '.');
446
442
  return null;
447
443
  } else {
448
- tmp_9 = tmp0_elvis_lhs_0;
444
+ tmp_7 = tmp0_elvis_lhs_0;
449
445
  }
450
446
 
451
- tmp_8.p5i_1 = tmp_9;
452
- var tmp_10 = this.m5i_1;
453
- if (tmp_10 instanceof Unit) {
454
- get_LOGGER().i2u('Sending empty body for ' + this.l5i_1.r3j_1.toString());
455
- this.l5i_1.t3j_1.b2q(HttpHeaders_getInstance().o2x_1);
447
+ tmp_6.o57_1 = tmp_7;
448
+ var tmp_8 = this.m57_1;
449
+ if (tmp_8 instanceof Unit) {
450
+ get_LOGGER().s2q('Sending empty body for ' + this.l57_1.d3d_1.toString());
451
+ this.l57_1.f3d_1.m2m(HttpHeaders_getInstance().c2u_1);
456
452
  return EmptyContent_getInstance();
457
453
  }
458
454
 
459
- var tmp_11 = this;
460
- var tmp0_2 = this.i5i_1;
455
+ var tmp_9 = this;
456
+ var tmp0_1 = this.i57_1;
461
457
  var destination_0 = ArrayList_init_$Create$();
462
- var _iterator__ex2g4s_4 = tmp0_2.p();
463
- while (_iterator__ex2g4s_4.q()) {
464
- var element_4 = _iterator__ex2g4s_4.r();
465
- if (element_4.t5h_1.v5h(this.p5i_1)) {
466
- destination_0.k(element_4);
458
+ var _iterator__ex2g4s_4 = tmp0_1.r();
459
+ while (_iterator__ex2g4s_4.s()) {
460
+ var element_4 = _iterator__ex2g4s_4.t();
461
+ if (element_4.t56_1.v56(this.o57_1)) {
462
+ destination_0.p(element_4);
467
463
  }
468
464
  }
469
465
 
470
- var tmp_12;
471
- if (!destination_0.h()) {
472
- tmp_12 = destination_0;
466
+ var tmp_10;
467
+ if (!destination_0.j()) {
468
+ tmp_10 = destination_0;
473
469
  } else {
474
- tmp_12 = null;
470
+ tmp_10 = null;
475
471
  }
476
472
 
477
- var tmp1_elvis_lhs = tmp_12;
478
- var tmp_13;
473
+ var tmp1_elvis_lhs = tmp_10;
474
+ var tmp_11;
479
475
  if (tmp1_elvis_lhs == null) {
480
- this.j5i_1;
481
- get_LOGGER().i2u('None of the registered converters match request Content-Type=' + this.p5i_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l5i_1.r3j_1.toString() + '.'));
476
+ this.j57_1;
477
+ get_LOGGER().s2q('None of the registered converters match request Content-Type=' + this.o57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.'));
482
478
  return null;
483
479
  } else {
484
- tmp_13 = tmp1_elvis_lhs;
480
+ tmp_11 = tmp1_elvis_lhs;
485
481
  }
486
482
 
487
- tmp_11.q5i_1 = tmp_13;
488
- if (this.l5i_1.t4d() == null) {
489
- get_LOGGER().i2u('Request has unknown body type. Skipping ContentNegotiation for ' + this.l5i_1.r3j_1.toString() + '.');
483
+ tmp_9.n57_1 = tmp_11;
484
+ if (this.l57_1.v44() == null) {
485
+ get_LOGGER().s2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.');
490
486
  return null;
491
487
  }
492
488
 
493
- this.l5i_1.t3j_1.b2q(HttpHeaders_getInstance().o2x_1);
494
- var tmp_14 = this;
495
- tmp_14.r5i_1 = this.q5i_1;
496
- this.n9_1 = 1;
489
+ this.l57_1.f3d_1.m2m(HttpHeaders_getInstance().c2u_1);
490
+ var tmp_12 = this;
491
+ tmp_12.s57_1 = this.n57_1;
492
+ this.u8_1 = 1;
497
493
  continue $sm;
498
494
  case 1:
499
- this.t5i_1 = this.r5i_1;
500
- this.u5i_1 = this.t5i_1.p();
501
- this.n9_1 = 2;
495
+ this.r57_1 = this.s57_1.r();
496
+ this.u8_1 = 2;
502
497
  continue $sm;
503
498
  case 2:
504
- if (!this.u5i_1.q()) {
505
- this.n9_1 = 5;
499
+ if (!this.r57_1.s()) {
500
+ this.u8_1 = 5;
506
501
  continue $sm;
507
502
  }
508
503
 
509
- this.v5i_1 = this.u5i_1.r();
510
- var tmp_15 = this;
511
- tmp_15.w5i_1 = this.v5i_1;
512
- this.x5i_1 = this.w5i_1;
513
- this.n9_1 = 3;
514
- var tmp0_elvis_lhs_1 = charset(this.p5i_1);
515
- var tmp_16 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().l1z_1 : tmp0_elvis_lhs_1;
516
- var tmp_17 = ensureNotNull(this.l5i_1.t4d());
517
- var this_0 = this.m5i_1;
518
- var tmp_18;
504
+ var element_5 = this.r57_1.t();
505
+ this.q57_1 = element_5;
506
+ this.u8_1 = 3;
507
+ var tmp0_elvis_lhs_1 = charset(this.o57_1);
508
+ var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().d1w_1 : tmp0_elvis_lhs_1;
509
+ var tmp_14 = ensureNotNull(this.l57_1.v44());
510
+ var this_0 = this.m57_1;
511
+ var tmp_15;
519
512
  if (!equals(this_0, NullBody_instance)) {
520
- tmp_18 = this_0;
513
+ tmp_15 = this_0;
521
514
  } else {
522
- tmp_18 = null;
515
+ tmp_15 = null;
523
516
  }
524
517
 
525
- suspendResult = this.x5i_1.r5h_1.x5k(this.p5i_1, tmp_16, tmp_17, tmp_18, this);
518
+ suspendResult = this.q57_1.r56_1.p59(this.o57_1, tmp_13, tmp_14, tmp_15, this);
526
519
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
527
520
  return suspendResult;
528
521
  }
@@ -531,125 +524,124 @@
531
524
  case 3:
532
525
  var result = suspendResult;
533
526
  if (!(result == null)) {
534
- get_LOGGER().i2u('Converted request body using ' + toString(this.x5i_1.r5h_1) + ' for ' + this.l5i_1.r3j_1.toString());
527
+ get_LOGGER().s2q('Converted request body using ' + toString(this.q57_1.r56_1) + ' for ' + this.l57_1.d3d_1.toString());
535
528
  }
536
529
 
537
530
  var result_0 = result;
538
531
  if (!(result_0 == null)) {
539
- this.s5i_1 = result_0;
540
- this.n9_1 = 6;
532
+ this.p57_1 = result_0;
533
+ this.u8_1 = 6;
541
534
  continue $sm;
542
535
  } else {
543
- this.n9_1 = 4;
536
+ this.u8_1 = 4;
544
537
  continue $sm;
545
538
  }
546
539
 
547
540
  case 4:
548
- this.n9_1 = 2;
541
+ this.u8_1 = 2;
549
542
  continue $sm;
550
543
  case 5:
551
- this.s5i_1 = null;
544
+ this.p57_1 = null;
552
545
  if (false) {
553
- this.n9_1 = 1;
546
+ this.u8_1 = 1;
554
547
  continue $sm;
555
548
  }
556
549
 
557
- this.n9_1 = 6;
550
+ this.u8_1 = 6;
558
551
  continue $sm;
559
552
  case 6:
560
- var tmp2_elvis_lhs = this.s5i_1;
561
- var tmp_19;
553
+ var tmp2_elvis_lhs = this.p57_1;
554
+ var tmp_16;
562
555
  if (tmp2_elvis_lhs == null) {
563
- var tmp_20 = "Can't convert " + toString(this.m5i_1) + ' with contentType ' + this.p5i_1.toString() + ' using converters ';
564
- throw new ContentConverterException(tmp_20 + joinToString(this.q5i_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
556
+ var tmp_17 = "Can't convert " + toString(this.m57_1) + ' with contentType ' + this.o57_1.toString() + ' using converters ';
557
+ throw new ContentConverterException(tmp_17 + joinToString(this.n57_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
565
558
  } else {
566
- tmp_19 = tmp2_elvis_lhs;
559
+ tmp_16 = tmp2_elvis_lhs;
567
560
  }
568
561
 
569
- var serializedContent = tmp_19;
562
+ var serializedContent = tmp_16;
570
563
  return serializedContent;
571
564
  case 7:
572
- throw this.q9_1;
565
+ throw this.x8_1;
573
566
  }
574
567
  } catch ($p) {
575
568
  var e = $p;
576
- if (this.o9_1 === 7) {
569
+ if (this.v8_1 === 7) {
577
570
  throw e;
578
571
  } else {
579
- this.n9_1 = this.o9_1;
580
- this.q9_1 = e;
572
+ this.u8_1 = this.v8_1;
573
+ this.x8_1 = e;
581
574
  }
582
575
  }
583
576
  while (true);
584
577
  };
585
578
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
586
579
  CoroutineImpl.call(this, resultContinuation);
587
- this.g5j_1 = ignoredTypes;
588
- this.h5j_1 = registrations;
589
- this.i5j_1 = $this_createClientPlugin;
590
- this.j5j_1 = requestUrl;
591
- this.k5j_1 = info;
592
- this.l5j_1 = body;
593
- this.m5j_1 = responseContentType;
594
- this.n5j_1 = charset;
580
+ this.b58_1 = ignoredTypes;
581
+ this.c58_1 = registrations;
582
+ this.d58_1 = $this_createClientPlugin;
583
+ this.e58_1 = requestUrl;
584
+ this.f58_1 = info;
585
+ this.g58_1 = body;
586
+ this.h58_1 = responseContentType;
587
+ this.i58_1 = charset;
595
588
  }
596
- protoOf($invoke$convertResponseCOROUTINE$).v9 = function () {
597
- var suspendResult = this.p9_1;
589
+ protoOf($invoke$convertResponseCOROUTINE$).c9 = function () {
590
+ var suspendResult = this.w8_1;
598
591
  $sm: do
599
592
  try {
600
- var tmp = this.n9_1;
593
+ var tmp = this.u8_1;
601
594
  switch (tmp) {
602
595
  case 0:
603
- this.o9_1 = 2;
604
- var tmp_0 = this.l5j_1;
596
+ this.v8_1 = 2;
597
+ var tmp_0 = this.g58_1;
605
598
  if (!isInterface(tmp_0, ByteReadChannel)) {
606
- get_LOGGER().i2u('Response body is already transformed. Skipping ContentNegotiation for ' + this.j5j_1.toString() + '.');
599
+ get_LOGGER().s2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.e58_1.toString() + '.');
607
600
  return null;
608
601
  }
609
602
 
610
- if (this.g5j_1.w1(this.k5j_1.r2t_1)) {
611
- get_LOGGER().i2u('Response body type ' + toString(this.k5j_1.r2t_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.j5j_1.toString() + '.'));
603
+ if (this.b58_1.u1(this.f58_1.b2q_1)) {
604
+ get_LOGGER().s2q('Response body type ' + toString(this.f58_1.b2q_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
612
605
  return null;
613
606
  }
614
607
 
615
- var tmp_1 = this;
616
- var tmp0 = this.h5j_1;
608
+ var tmp0 = this.c58_1;
617
609
  var destination = ArrayList_init_$Create$();
618
- var _iterator__ex2g4s = tmp0.p();
619
- while (_iterator__ex2g4s.q()) {
620
- var element = _iterator__ex2g4s.r();
621
- if (element.t5h_1.v5h(this.m5j_1)) {
622
- destination.k(element);
610
+ var _iterator__ex2g4s = tmp0.r();
611
+ while (_iterator__ex2g4s.s()) {
612
+ var element = _iterator__ex2g4s.t();
613
+ if (element.t56_1.v56(this.h58_1)) {
614
+ destination.p(element);
623
615
  }
624
616
  }
625
617
 
626
618
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
627
- var _iterator__ex2g4s_0 = destination.p();
628
- while (_iterator__ex2g4s_0.q()) {
629
- var item = _iterator__ex2g4s_0.r();
630
- destination_0.k(item.r5h_1);
619
+ var _iterator__ex2g4s_0 = destination.r();
620
+ while (_iterator__ex2g4s_0.s()) {
621
+ var item = _iterator__ex2g4s_0.t();
622
+ destination_0.p(item.r56_1);
631
623
  }
632
624
 
633
- var tmp_2;
634
- if (!destination_0.h()) {
635
- tmp_2 = destination_0;
625
+ var tmp_1;
626
+ if (!destination_0.j()) {
627
+ tmp_1 = destination_0;
636
628
  } else {
637
- tmp_2 = null;
629
+ tmp_1 = null;
638
630
  }
639
631
 
640
- var tmp0_elvis_lhs = tmp_2;
641
- var tmp_3;
632
+ var tmp0_elvis_lhs = tmp_1;
633
+ var tmp_2;
642
634
  if (tmp0_elvis_lhs == null) {
643
- this.i5j_1;
644
- get_LOGGER().i2u('None of the registered converters match response with Content-Type=' + this.m5j_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.j5j_1.toString() + '.'));
635
+ this.d58_1;
636
+ get_LOGGER().s2q('None of the registered converters match response with Content-Type=' + this.h58_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
645
637
  return null;
646
638
  } else {
647
- tmp_3 = tmp0_elvis_lhs;
639
+ tmp_2 = tmp0_elvis_lhs;
648
640
  }
649
641
 
650
- tmp_1.o5j_1 = tmp_3;
651
- this.n9_1 = 1;
652
- suspendResult = deserialize(this.o5j_1, this.l5j_1, this.k5j_1, this.n5j_1, this);
642
+ var suitableConverters = tmp_2;
643
+ this.u8_1 = 1;
644
+ suspendResult = deserialize(suitableConverters, this.g58_1, this.f58_1, this.i58_1, this);
653
645
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
654
646
  return suspendResult;
655
647
  }
@@ -658,20 +650,20 @@
658
650
  case 1:
659
651
  var result = suspendResult;
660
652
  if (!isInterface(result, ByteReadChannel)) {
661
- get_LOGGER().i2u('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.j5j_1.toString() + '.');
653
+ get_LOGGER().s2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.e58_1.toString() + '.');
662
654
  }
663
655
 
664
656
  return result;
665
657
  case 2:
666
- throw this.q9_1;
658
+ throw this.x8_1;
667
659
  }
668
660
  } catch ($p) {
669
661
  var e = $p;
670
- if (this.o9_1 === 2) {
662
+ if (this.v8_1 === 2) {
671
663
  throw e;
672
664
  } else {
673
- this.n9_1 = this.o9_1;
674
- this.q9_1 = e;
665
+ this.u8_1 = this.v8_1;
666
+ this.x8_1 = e;
675
667
  }
676
668
  }
677
669
  while (true);
@@ -681,7 +673,7 @@
681
673
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
682
674
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
683
675
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
684
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().bd(), PrimitiveClasses_getInstance().xc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
676
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().gc(), PrimitiveClasses_getInstance().cc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
685
677
  // Inline function 'io.ktor.util.AttributeKey' call
686
678
  var name = 'ExcludedContentTypesAttr';
687
679
  // Inline function 'io.ktor.util.reflect.typeInfo' call
@@ -709,12 +701,12 @@
709
701
  }
710
702
  function JsonContentTypeMatcher() {
711
703
  }
712
- protoOf(JsonContentTypeMatcher).v5h = function (contentType) {
713
- if (contentType.q2w(Application_getInstance().w2u_1)) {
704
+ protoOf(JsonContentTypeMatcher).v56 = function (contentType) {
705
+ if (contentType.e2t(Application_getInstance().k2r_1)) {
714
706
  return true;
715
707
  }
716
- var value = contentType.p2w().toString();
717
- return Application_getInstance().q2v(value) && endsWith(value, '+json', true);
708
+ var value = contentType.d2t().toString();
709
+ return Application_getInstance().e2s(value) && endsWith(value, '+json', true);
718
710
  };
719
711
  var JsonContentTypeMatcher_instance;
720
712
  function JsonContentTypeMatcher_getInstance() {
@@ -734,7 +726,7 @@
734
726
  }
735
727
  }
736
728
  //region block: post-declaration
737
- protoOf(ContentNegotiationConfig).g3f = register$default;
729
+ protoOf(ContentNegotiationConfig).z54 = register$default;
738
730
  //endregion
739
731
  //region block: init
740
732
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();