@solibo/solibo-sdk 1.0.47 → 1.1.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.
Files changed (45) hide show
  1. package/KmLogging-logging.mjs +110 -110
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1562 -1562
  3. package/KotlinBigInteger-bignum.mjs +1198 -1198
  4. package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
  5. package/Stately-stately-concurrency.mjs +5 -5
  6. package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
  7. package/cryptography-kotlin-cryptography-core.mjs +52 -52
  8. package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
  9. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
  10. package/cryptography-kotlin-cryptography-random.mjs +26 -26
  11. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
  12. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +340 -340
  13. package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
  14. package/index.js +2 -1
  15. package/kotlin-kotlin-stdlib.mjs +2908 -2340
  16. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  17. package/kotlinx-atomicfu.mjs +13 -13
  18. package/kotlinx-coroutines-core.mjs +2141 -2112
  19. package/kotlinx-coroutines-core.mjs.map +1 -1
  20. package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
  21. package/kotlinx-io-kotlinx-io-core.mjs +454 -454
  22. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1829 -1829
  23. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
  25. package/ktor-ktor-client-auth.mjs +463 -463
  26. package/ktor-ktor-client-content-negotiation.mjs +184 -184
  27. package/ktor-ktor-client-core.mjs +4292 -4284
  28. package/ktor-ktor-client-logging.mjs +1083 -1083
  29. package/ktor-ktor-client-mock.mjs +288 -0
  30. package/ktor-ktor-client-mock.mjs.map +1 -1
  31. package/ktor-ktor-events.mjs +6 -6
  32. package/ktor-ktor-http-cio.mjs +480 -480
  33. package/ktor-ktor-http.mjs +995 -991
  34. package/ktor-ktor-http.mjs.map +1 -1
  35. package/ktor-ktor-io.mjs +1090 -1090
  36. package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
  37. package/ktor-ktor-serialization-kotlinx.mjs +234 -234
  38. package/ktor-ktor-serialization.mjs +108 -108
  39. package/ktor-ktor-utils.mjs +871 -871
  40. package/ktor-ktor-websockets.mjs +742 -742
  41. package/package.json +1 -1
  42. package/solibo-sdk-sdk-home-api.mjs +54019 -54000
  43. package/solibo-sdk-sdk.d.mts +51 -0
  44. package/solibo-sdk-sdk.mjs +3361 -2493
  45. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -108,35 +108,35 @@ function get_ContentNegotiation() {
108
108
  }
109
109
  var ContentNegotiation;
110
110
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
111
- this.b6c_1 = converter;
112
- this.c6c_1 = contentTypeToSend;
113
- this.d6c_1 = contentTypeMatcher;
111
+ this.o6c_1 = converter;
112
+ this.p6c_1 = contentTypeToSend;
113
+ this.q6c_1 = contentTypeMatcher;
114
114
  }
115
115
  function defaultMatcher($this, pattern) {
116
116
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
117
117
  }
118
118
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
119
- this.e6c_1 = $pattern;
119
+ this.r6c_1 = $pattern;
120
120
  }
121
- protoOf(ContentNegotiationConfig$defaultMatcher$1).f6c = function (contentType) {
122
- return contentType.l3e(this.e6c_1);
121
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).s6c = function (contentType) {
122
+ return contentType.y3e(this.r6c_1);
123
123
  };
124
124
  function ContentNegotiationConfig() {
125
- this.g6c_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
125
+ this.t6c_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
126
126
  var tmp = this;
127
127
  // Inline function 'kotlin.collections.mutableListOf' call
128
- tmp.h6c_1 = ArrayList_init_$Create$();
129
- this.i6c_1 = null;
128
+ tmp.u6c_1 = ArrayList_init_$Create$();
129
+ this.v6c_1 = null;
130
130
  }
131
- protoOf(ContentNegotiationConfig).g46 = function (contentType, converter, configuration) {
132
- var matcher = contentType.l3e(Application_getInstance().r3c_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
133
- this.j6c(contentType, converter, matcher, configuration);
131
+ protoOf(ContentNegotiationConfig).t46 = function (contentType, converter, configuration) {
132
+ var matcher = contentType.y3e(Application_getInstance().e3d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
133
+ this.w6c(contentType, converter, matcher, configuration);
134
134
  };
135
- protoOf(ContentNegotiationConfig).j6c = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
135
+ protoOf(ContentNegotiationConfig).w6c = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
136
136
  // Inline function 'kotlin.apply' call
137
137
  configuration(converter);
138
138
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
139
- this.h6c_1.e1(registration);
139
+ this.u6c_1.e1(registration);
140
140
  };
141
141
  function ContentConverterException(message) {
142
142
  Exception_init_$Init$(message, this);
@@ -151,57 +151,57 @@ function ContentNegotiationConfig$_init_$ref_1ne3ob() {
151
151
  }
152
152
  function ContentNegotiation$lambda($this$createClientPlugin) {
153
153
  _init_properties_ContentNegotiation_kt__o183go();
154
- var registrations = $this$createClientPlugin.v4i_1.h6c_1;
155
- var ignoredTypes = $this$createClientPlugin.v4i_1.g6c_1;
156
- $this$createClientPlugin.b53(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
157
- $this$createClientPlugin.z4r(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
154
+ var registrations = $this$createClientPlugin.i4j_1.u6c_1;
155
+ var ignoredTypes = $this$createClientPlugin.i4j_1.t6c_1;
156
+ $this$createClientPlugin.o53(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
157
+ $this$createClientPlugin.m4s(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
158
158
  return Unit_instance;
159
159
  }
160
160
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
161
161
  _init_properties_ContentNegotiation_kt__o183go();
162
- return toString(it.b6c_1);
162
+ return toString(it.o6c_1);
163
163
  }
164
164
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
165
165
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
166
- tmp.k9_1 = Unit_instance;
167
- tmp.l9_1 = null;
168
- return tmp.q9();
166
+ tmp.n9_1 = Unit_instance;
167
+ tmp.o9_1 = null;
168
+ return tmp.t9();
169
169
  }
170
170
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
171
- charset = charset === VOID ? Charsets_getInstance().d31_1 : charset;
171
+ charset = charset === VOID ? Charsets_getInstance().q31_1 : charset;
172
172
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
173
- tmp.k9_1 = Unit_instance;
174
- tmp.l9_1 = null;
175
- return tmp.q9();
173
+ tmp.n9_1 = Unit_instance;
174
+ tmp.o9_1 = null;
175
+ return tmp.t9();
176
176
  }
177
177
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
178
- this.b6e_1 = $registrations;
179
- this.c6e_1 = $this_createClientPlugin;
180
- this.d6e_1 = $ignoredTypes;
178
+ this.o6e_1 = $registrations;
179
+ this.p6e_1 = $this_createClientPlugin;
180
+ this.q6e_1 = $ignoredTypes;
181
181
  CoroutineImpl.call(this, resultContinuation);
182
182
  }
183
- protoOf(ContentNegotiation$lambda$slambda).i6e = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
184
- var tmp = this.j6e($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
185
- tmp.k9_1 = Unit_instance;
186
- tmp.l9_1 = null;
187
- return tmp.q9();
183
+ protoOf(ContentNegotiation$lambda$slambda).v6e = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
184
+ var tmp = this.w6e($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
185
+ tmp.n9_1 = Unit_instance;
186
+ tmp.o9_1 = null;
187
+ return tmp.t9();
188
188
  };
189
- protoOf(ContentNegotiation$lambda$slambda).e4t = function (p1, p2, p3, p4, $completion) {
189
+ protoOf(ContentNegotiation$lambda$slambda).r4t = function (p1, p2, p3, p4, $completion) {
190
190
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
191
191
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
192
192
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
193
- return this.i6e(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
193
+ return this.v6e(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
194
194
  };
195
- protoOf(ContentNegotiation$lambda$slambda).q9 = function () {
196
- var suspendResult = this.k9_1;
195
+ protoOf(ContentNegotiation$lambda$slambda).t9 = function () {
196
+ var suspendResult = this.n9_1;
197
197
  $sm: do
198
198
  try {
199
- var tmp = this.i9_1;
199
+ var tmp = this.l9_1;
200
200
  switch (tmp) {
201
201
  case 0:
202
- this.j9_1 = 2;
203
- this.i9_1 = 1;
204
- suspendResult = invoke$convertRequest(this.b6e_1, this.c6e_1, this.d6e_1, this.f6e_1, this.g6e_1, this);
202
+ this.m9_1 = 2;
203
+ this.l9_1 = 1;
204
+ suspendResult = invoke$convertRequest(this.o6e_1, this.p6e_1, this.q6e_1, this.s6e_1, this.t6e_1, this);
205
205
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
206
206
  return suspendResult;
207
207
  }
@@ -210,62 +210,62 @@ protoOf(ContentNegotiation$lambda$slambda).q9 = function () {
210
210
  case 1:
211
211
  return suspendResult;
212
212
  case 2:
213
- throw this.l9_1;
213
+ throw this.o9_1;
214
214
  }
215
215
  } catch ($p) {
216
216
  var e = $p;
217
- if (this.j9_1 === 2) {
217
+ if (this.m9_1 === 2) {
218
218
  throw e;
219
219
  } else {
220
- this.i9_1 = this.j9_1;
221
- this.l9_1 = e;
220
+ this.l9_1 = this.m9_1;
221
+ this.o9_1 = e;
222
222
  }
223
223
  }
224
224
  while (true);
225
225
  };
226
- protoOf(ContentNegotiation$lambda$slambda).j6e = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
227
- var i = new ContentNegotiation$lambda$slambda(this.b6e_1, this.c6e_1, this.d6e_1, completion);
228
- i.e6e_1 = $this$transformRequestBody;
229
- i.f6e_1 = request;
230
- i.g6e_1 = body;
231
- i.h6e_1 = _unused_var__etf5q3;
226
+ protoOf(ContentNegotiation$lambda$slambda).w6e = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
227
+ var i = new ContentNegotiation$lambda$slambda(this.o6e_1, this.p6e_1, this.q6e_1, completion);
228
+ i.r6e_1 = $this$transformRequestBody;
229
+ i.s6e_1 = request;
230
+ i.t6e_1 = body;
231
+ i.u6e_1 = _unused_var__etf5q3;
232
232
  return i;
233
233
  };
234
234
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
235
235
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
236
236
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
237
- return i.i6e($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
237
+ return i.v6e($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
238
238
  };
239
239
  l.$arity = 4;
240
240
  return l;
241
241
  }
242
242
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
243
- this.s6e_1 = $ignoredTypes;
244
- this.t6e_1 = $registrations;
245
- this.u6e_1 = $this_createClientPlugin;
243
+ this.f6f_1 = $ignoredTypes;
244
+ this.g6f_1 = $registrations;
245
+ this.h6f_1 = $this_createClientPlugin;
246
246
  CoroutineImpl.call(this, resultContinuation);
247
247
  }
248
- protoOf(ContentNegotiation$lambda$slambda_1).c4t = function ($this$transformResponseBody, response, body, info, $completion) {
249
- var tmp = this.d4t($this$transformResponseBody, response, body, info, $completion);
250
- tmp.k9_1 = Unit_instance;
251
- tmp.l9_1 = null;
252
- return tmp.q9();
248
+ protoOf(ContentNegotiation$lambda$slambda_1).p4t = function ($this$transformResponseBody, response, body, info, $completion) {
249
+ var tmp = this.q4t($this$transformResponseBody, response, body, info, $completion);
250
+ tmp.n9_1 = Unit_instance;
251
+ tmp.o9_1 = null;
252
+ return tmp.t9();
253
253
  };
254
- protoOf(ContentNegotiation$lambda$slambda_1).e4t = function (p1, p2, p3, p4, $completion) {
254
+ protoOf(ContentNegotiation$lambda$slambda_1).r4t = function (p1, p2, p3, p4, $completion) {
255
255
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
256
256
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
257
257
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
258
- return this.c4t(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
258
+ return this.p4t(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
259
259
  };
260
- protoOf(ContentNegotiation$lambda$slambda_1).q9 = function () {
261
- var suspendResult = this.k9_1;
260
+ protoOf(ContentNegotiation$lambda$slambda_1).t9 = function () {
261
+ var suspendResult = this.n9_1;
262
262
  $sm: do
263
263
  try {
264
- var tmp = this.i9_1;
264
+ var tmp = this.l9_1;
265
265
  switch (tmp) {
266
266
  case 0:
267
- this.j9_1 = 2;
268
- var tmp0_elvis_lhs = contentType(this.w6e_1);
267
+ this.m9_1 = 2;
268
+ var tmp0_elvis_lhs = contentType(this.j6f_1);
269
269
  var tmp_0;
270
270
  if (tmp0_elvis_lhs == null) {
271
271
  return null;
@@ -274,9 +274,9 @@ protoOf(ContentNegotiation$lambda$slambda_1).q9 = function () {
274
274
  }
275
275
 
276
276
  var contentType_0 = tmp_0;
277
- var charset = suitableCharset(get_request(this.w6e_1).v3j());
278
- this.i9_1 = 1;
279
- suspendResult = invoke$convertResponse(this.s6e_1, this.t6e_1, this.u6e_1, get_request(this.w6e_1).y4b(), this.y6e_1, this.x6e_1, contentType_0, charset, this);
277
+ var charset = suitableCharset(get_request(this.j6f_1).i3k());
278
+ this.l9_1 = 1;
279
+ suspendResult = invoke$convertResponse(this.f6f_1, this.g6f_1, this.h6f_1, get_request(this.j6f_1).l4c(), this.l6f_1, this.k6f_1, contentType_0, charset, this);
280
280
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
281
281
  return suspendResult;
282
282
  }
@@ -285,55 +285,55 @@ protoOf(ContentNegotiation$lambda$slambda_1).q9 = function () {
285
285
  case 1:
286
286
  return suspendResult;
287
287
  case 2:
288
- throw this.l9_1;
288
+ throw this.o9_1;
289
289
  }
290
290
  } catch ($p) {
291
291
  var e = $p;
292
- if (this.j9_1 === 2) {
292
+ if (this.m9_1 === 2) {
293
293
  throw e;
294
294
  } else {
295
- this.i9_1 = this.j9_1;
296
- this.l9_1 = e;
295
+ this.l9_1 = this.m9_1;
296
+ this.o9_1 = e;
297
297
  }
298
298
  }
299
299
  while (true);
300
300
  };
301
- protoOf(ContentNegotiation$lambda$slambda_1).d4t = function ($this$transformResponseBody, response, body, info, completion) {
302
- var i = new ContentNegotiation$lambda$slambda_1(this.s6e_1, this.t6e_1, this.u6e_1, completion);
303
- i.v6e_1 = $this$transformResponseBody;
304
- i.w6e_1 = response;
305
- i.x6e_1 = body;
306
- i.y6e_1 = info;
301
+ protoOf(ContentNegotiation$lambda$slambda_1).q4t = function ($this$transformResponseBody, response, body, info, completion) {
302
+ var i = new ContentNegotiation$lambda$slambda_1(this.f6f_1, this.g6f_1, this.h6f_1, completion);
303
+ i.i6f_1 = $this$transformResponseBody;
304
+ i.j6f_1 = response;
305
+ i.k6f_1 = body;
306
+ i.l6f_1 = info;
307
307
  return i;
308
308
  };
309
309
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
310
310
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
311
311
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
312
- return i.c4t($this$transformResponseBody, response, body, info, $completion);
312
+ return i.p4t($this$transformResponseBody, response, body, info, $completion);
313
313
  };
314
314
  l.$arity = 4;
315
315
  return l;
316
316
  }
317
317
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
318
318
  CoroutineImpl.call(this, resultContinuation);
319
- this.s6c_1 = registrations;
320
- this.t6c_1 = $this_createClientPlugin;
321
- this.u6c_1 = ignoredTypes;
322
- this.v6c_1 = request;
323
- this.w6c_1 = body;
319
+ this.f6d_1 = registrations;
320
+ this.g6d_1 = $this_createClientPlugin;
321
+ this.h6d_1 = ignoredTypes;
322
+ this.i6d_1 = request;
323
+ this.j6d_1 = body;
324
324
  }
325
- protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
326
- var suspendResult = this.k9_1;
325
+ protoOf($invoke$convertRequestCOROUTINE$).t9 = function () {
326
+ var suspendResult = this.n9_1;
327
327
  $sm: do
328
328
  try {
329
- var tmp = this.i9_1;
329
+ var tmp = this.l9_1;
330
330
  switch (tmp) {
331
331
  case 0:
332
- this.j9_1 = 7;
332
+ this.m9_1 = 7;
333
333
  var tmp_0;
334
- if (this.v6c_1.k4a_1.k32(get_ExcludedContentTypes())) {
335
- var excluded = this.v6c_1.k4a_1.i32(get_ExcludedContentTypes());
336
- var tmp0 = this.s6c_1;
334
+ if (this.i6d_1.x4a_1.x32(get_ExcludedContentTypes())) {
335
+ var excluded = this.i6d_1.x4a_1.v32(get_ExcludedContentTypes());
336
+ var tmp0 = this.f6d_1;
337
337
  var destination = ArrayList_init_$Create$();
338
338
  var _iterator__ex2g4s = tmp0.t();
339
339
  while (_iterator__ex2g4s.u()) {
@@ -353,7 +353,7 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
353
353
  var _iterator__ex2g4s_0 = excluded.t();
354
354
  while (_iterator__ex2g4s_0.u()) {
355
355
  var element_0 = _iterator__ex2g4s_0.v();
356
- if (element.c6c_1.l3e(element_0)) {
356
+ if (element.p6c_1.y3e(element_0)) {
357
357
  tmp$ret$0 = false;
358
358
  break l$ret$1;
359
359
  }
@@ -367,11 +367,11 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
367
367
  }
368
368
  tmp_0 = destination;
369
369
  } else {
370
- tmp_0 = this.s6c_1;
370
+ tmp_0 = this.f6d_1;
371
371
  }
372
372
 
373
373
  var requestRegistrations = tmp_0;
374
- var tmp0_elvis_lhs = this.v6c_1.h4a_1.n36('Accept');
374
+ var tmp0_elvis_lhs = this.i6d_1.u4a_1.a37('Accept');
375
375
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
376
376
  var _iterator__ex2g4s_1 = requestRegistrations.t();
377
377
  while (_iterator__ex2g4s_1.u()) {
@@ -391,7 +391,7 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
391
391
  var _iterator__ex2g4s_2 = acceptHeaders.t();
392
392
  while (_iterator__ex2g4s_2.u()) {
393
393
  var element_2 = _iterator__ex2g4s_2.v();
394
- if (Companion_getInstance().nq(element_2).l3e(element_1.c6c_1)) {
394
+ if (Companion_getInstance().tq(element_2).y3e(element_1.p6c_1)) {
395
395
  tmp$ret$2 = false;
396
396
  break l$ret$3;
397
397
  }
@@ -400,19 +400,19 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
400
400
  }
401
401
  while (false);
402
402
  if (tmp$ret$2) {
403
- var qValue = this.t6c_1.v4i_1.i6c_1;
404
- var contentTypeToSend = qValue == null ? element_1.c6c_1 : element_1.c6c_1.j3e('q', qValue.toString());
405
- get_LOGGER().z3b('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.v6c_1.f4a_1.toString());
406
- accept(this.v6c_1, contentTypeToSend);
403
+ var qValue = this.g6d_1.i4j_1.v6c_1;
404
+ var contentTypeToSend = qValue == null ? element_1.p6c_1 : element_1.p6c_1.w3e('q', qValue.toString());
405
+ get_LOGGER().m3c('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.i6d_1.s4a_1.toString());
406
+ accept(this.i6d_1, contentTypeToSend);
407
407
  }
408
408
  }
409
409
 
410
410
  var tmp_3;
411
- var tmp_4 = this.w6c_1;
411
+ var tmp_4 = this.j6d_1;
412
412
  if (tmp_4 instanceof OutgoingContent) {
413
413
  tmp_3 = true;
414
414
  } else {
415
- var tmp0_0 = this.u6c_1;
415
+ var tmp0_0 = this.h6d_1;
416
416
  var tmp$ret$4;
417
417
  l$ret$5: do {
418
418
  var tmp_5;
@@ -428,7 +428,7 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
428
428
  var _iterator__ex2g4s_3 = tmp0_0.t();
429
429
  while (_iterator__ex2g4s_3.u()) {
430
430
  var element_3 = _iterator__ex2g4s_3.v();
431
- if (element_3.mb(this.w6c_1)) {
431
+ if (element_3.pb(this.j6d_1)) {
432
432
  tmp$ret$4 = true;
433
433
  break l$ret$5;
434
434
  }
@@ -440,36 +440,36 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
440
440
  }
441
441
 
442
442
  if (tmp_3) {
443
- get_LOGGER().z3b('Body type ' + toString(getKClassFromExpression(this.w6c_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.v6c_1.f4a_1.toString() + '.'));
443
+ get_LOGGER().m3c('Body type ' + toString(getKClassFromExpression(this.j6d_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.i6d_1.s4a_1.toString() + '.'));
444
444
  return null;
445
445
  }
446
446
 
447
447
  var tmp_6 = this;
448
- var tmp0_elvis_lhs_0 = contentType_0(this.v6c_1);
448
+ var tmp0_elvis_lhs_0 = contentType_0(this.i6d_1);
449
449
  var tmp_7;
450
450
  if (tmp0_elvis_lhs_0 == null) {
451
- this.t6c_1;
452
- get_LOGGER().z3b("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.v6c_1.f4a_1.toString() + '.');
451
+ this.g6d_1;
452
+ get_LOGGER().m3c("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.i6d_1.s4a_1.toString() + '.');
453
453
  return null;
454
454
  } else {
455
455
  tmp_7 = tmp0_elvis_lhs_0;
456
456
  }
457
457
 
458
- tmp_6.y6c_1 = tmp_7;
459
- var tmp_8 = this.w6c_1;
458
+ tmp_6.l6d_1 = tmp_7;
459
+ var tmp_8 = this.j6d_1;
460
460
  if (tmp_8 instanceof Unit) {
461
- get_LOGGER().z3b('Sending empty body for ' + this.v6c_1.f4a_1.toString());
462
- this.v6c_1.h4a_1.x36('Content-Type');
461
+ get_LOGGER().m3c('Sending empty body for ' + this.i6d_1.s4a_1.toString());
462
+ this.i6d_1.u4a_1.k37('Content-Type');
463
463
  return EmptyContent_getInstance();
464
464
  }
465
465
 
466
466
  var tmp_9 = this;
467
- var tmp0_1 = this.s6c_1;
467
+ var tmp0_1 = this.f6d_1;
468
468
  var destination_0 = ArrayList_init_$Create$();
469
469
  var _iterator__ex2g4s_4 = tmp0_1.t();
470
470
  while (_iterator__ex2g4s_4.u()) {
471
471
  var element_4 = _iterator__ex2g4s_4.v();
472
- if (element_4.d6c_1.f6c(this.y6c_1)) {
472
+ if (element_4.q6c_1.s6c(this.l6d_1)) {
473
473
  destination_0.e1(element_4);
474
474
  }
475
475
  }
@@ -484,40 +484,40 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
484
484
  var tmp1_elvis_lhs = tmp_10;
485
485
  var tmp_11;
486
486
  if (tmp1_elvis_lhs == null) {
487
- this.t6c_1;
488
- get_LOGGER().z3b('None of the registered converters match request Content-Type=' + this.y6c_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.v6c_1.f4a_1.toString() + '.'));
487
+ this.g6d_1;
488
+ get_LOGGER().m3c('None of the registered converters match request Content-Type=' + this.l6d_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.i6d_1.s4a_1.toString() + '.'));
489
489
  return null;
490
490
  } else {
491
491
  tmp_11 = tmp1_elvis_lhs;
492
492
  }
493
493
 
494
- tmp_9.x6c_1 = tmp_11;
495
- if (this.v6c_1.j55() == null) {
496
- get_LOGGER().z3b('Request has unknown body type. Skipping ContentNegotiation for ' + this.v6c_1.f4a_1.toString() + '.');
494
+ tmp_9.k6d_1 = tmp_11;
495
+ if (this.i6d_1.w55() == null) {
496
+ get_LOGGER().m3c('Request has unknown body type. Skipping ContentNegotiation for ' + this.i6d_1.s4a_1.toString() + '.');
497
497
  return null;
498
498
  }
499
499
 
500
- this.v6c_1.h4a_1.x36('Content-Type');
501
- this.c6d_1 = this.x6c_1;
502
- this.i9_1 = 1;
500
+ this.i6d_1.u4a_1.k37('Content-Type');
501
+ this.p6d_1 = this.k6d_1;
502
+ this.l9_1 = 1;
503
503
  continue $sm;
504
504
  case 1:
505
- this.b6d_1 = this.c6d_1.t();
506
- this.i9_1 = 2;
505
+ this.o6d_1 = this.p6d_1.t();
506
+ this.l9_1 = 2;
507
507
  continue $sm;
508
508
  case 2:
509
- if (!this.b6d_1.u()) {
510
- this.i9_1 = 5;
509
+ if (!this.o6d_1.u()) {
510
+ this.l9_1 = 5;
511
511
  continue $sm;
512
512
  }
513
513
 
514
- var element_5 = this.b6d_1.v();
515
- this.a6d_1 = element_5;
516
- this.i9_1 = 3;
517
- var tmp0_elvis_lhs_1 = charset(this.y6c_1);
518
- var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().d31_1 : tmp0_elvis_lhs_1;
519
- var tmp_13 = ensureNotNull(this.v6c_1.j55());
520
- var this_0 = this.w6c_1;
514
+ var element_5 = this.o6d_1.v();
515
+ this.n6d_1 = element_5;
516
+ this.l9_1 = 3;
517
+ var tmp0_elvis_lhs_1 = charset(this.l6d_1);
518
+ var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().q31_1 : tmp0_elvis_lhs_1;
519
+ var tmp_13 = ensureNotNull(this.i6d_1.w55());
520
+ var this_0 = this.j6d_1;
521
521
  var tmp_14;
522
522
  if (!equals(this_0, NullBody_instance)) {
523
523
  tmp_14 = this_0;
@@ -525,7 +525,7 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
525
525
  tmp_14 = null;
526
526
  }
527
527
 
528
- suspendResult = this.a6d_1.b6c_1.z6e(this.y6c_1, tmp_12, tmp_13, tmp_14, this);
528
+ suspendResult = this.n6d_1.o6c_1.m6f(this.l6d_1, tmp_12, tmp_13, tmp_14, this);
529
529
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
530
530
  return suspendResult;
531
531
  }
@@ -534,37 +534,37 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
534
534
  case 3:
535
535
  var result = suspendResult;
536
536
  if (!(result == null)) {
537
- get_LOGGER().z3b('Converted request body using ' + toString(this.a6d_1.b6c_1) + ' for ' + this.v6c_1.f4a_1.toString());
537
+ get_LOGGER().m3c('Converted request body using ' + toString(this.n6d_1.o6c_1) + ' for ' + this.i6d_1.s4a_1.toString());
538
538
  }
539
539
 
540
540
  var result_0 = result;
541
541
  if (!(result_0 == null)) {
542
- this.z6c_1 = result_0;
543
- this.i9_1 = 6;
542
+ this.m6d_1 = result_0;
543
+ this.l9_1 = 6;
544
544
  continue $sm;
545
545
  } else {
546
- this.i9_1 = 4;
546
+ this.l9_1 = 4;
547
547
  continue $sm;
548
548
  }
549
549
 
550
550
  case 4:
551
- this.i9_1 = 2;
551
+ this.l9_1 = 2;
552
552
  continue $sm;
553
553
  case 5:
554
- this.z6c_1 = null;
554
+ this.m6d_1 = null;
555
555
  if (false) {
556
- this.i9_1 = 1;
556
+ this.l9_1 = 1;
557
557
  continue $sm;
558
558
  }
559
559
 
560
- this.i9_1 = 6;
560
+ this.l9_1 = 6;
561
561
  continue $sm;
562
562
  case 6:
563
- var tmp2_elvis_lhs = this.z6c_1;
563
+ var tmp2_elvis_lhs = this.m6d_1;
564
564
  var tmp_15;
565
565
  if (tmp2_elvis_lhs == null) {
566
- var tmp_16 = "Can't convert " + toString(this.w6c_1) + ' with contentType ' + this.y6c_1.toString() + ' using converters ';
567
- throw new ContentConverterException(tmp_16 + joinToString(this.x6c_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
566
+ var tmp_16 = "Can't convert " + toString(this.j6d_1) + ' with contentType ' + this.l6d_1.toString() + ' using converters ';
567
+ throw new ContentConverterException(tmp_16 + joinToString(this.k6d_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
568
568
  } else {
569
569
  tmp_15 = tmp2_elvis_lhs;
570
570
  }
@@ -572,55 +572,55 @@ protoOf($invoke$convertRequestCOROUTINE$).q9 = function () {
572
572
  var serializedContent = tmp_15;
573
573
  return serializedContent;
574
574
  case 7:
575
- throw this.l9_1;
575
+ throw this.o9_1;
576
576
  }
577
577
  } catch ($p) {
578
578
  var e = $p;
579
- if (this.j9_1 === 7) {
579
+ if (this.m9_1 === 7) {
580
580
  throw e;
581
581
  } else {
582
- this.i9_1 = this.j9_1;
583
- this.l9_1 = e;
582
+ this.l9_1 = this.m9_1;
583
+ this.o9_1 = e;
584
584
  }
585
585
  }
586
586
  while (true);
587
587
  };
588
588
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
589
589
  CoroutineImpl.call(this, resultContinuation);
590
- this.l6d_1 = ignoredTypes;
591
- this.m6d_1 = registrations;
592
- this.n6d_1 = $this_createClientPlugin;
593
- this.o6d_1 = requestUrl;
594
- this.p6d_1 = info;
595
- this.q6d_1 = body;
596
- this.r6d_1 = responseContentType;
597
- this.s6d_1 = charset;
590
+ this.y6d_1 = ignoredTypes;
591
+ this.z6d_1 = registrations;
592
+ this.a6e_1 = $this_createClientPlugin;
593
+ this.b6e_1 = requestUrl;
594
+ this.c6e_1 = info;
595
+ this.d6e_1 = body;
596
+ this.e6e_1 = responseContentType;
597
+ this.f6e_1 = charset;
598
598
  }
599
- protoOf($invoke$convertResponseCOROUTINE$).q9 = function () {
600
- var suspendResult = this.k9_1;
599
+ protoOf($invoke$convertResponseCOROUTINE$).t9 = function () {
600
+ var suspendResult = this.n9_1;
601
601
  $sm: do
602
602
  try {
603
- var tmp = this.i9_1;
603
+ var tmp = this.l9_1;
604
604
  switch (tmp) {
605
605
  case 0:
606
- this.j9_1 = 2;
607
- var tmp_0 = this.q6d_1;
606
+ this.m9_1 = 2;
607
+ var tmp_0 = this.d6e_1;
608
608
  if (!isInterface(tmp_0, ByteReadChannel)) {
609
- get_LOGGER().z3b('Response body is already transformed. Skipping ContentNegotiation for ' + this.o6d_1.toString() + '.');
609
+ get_LOGGER().m3c('Response body is already transformed. Skipping ContentNegotiation for ' + this.b6e_1.toString() + '.');
610
610
  return null;
611
611
  }
612
612
 
613
- if (this.l6d_1.q2(this.p6d_1.l3b_1)) {
614
- get_LOGGER().z3b('Response body type ' + toString(this.p6d_1.l3b_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.o6d_1.toString() + '.'));
613
+ if (this.y6d_1.q2(this.c6e_1.y3b_1)) {
614
+ get_LOGGER().m3c('Response body type ' + toString(this.c6e_1.y3b_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.b6e_1.toString() + '.'));
615
615
  return null;
616
616
  }
617
617
 
618
- var tmp0 = this.m6d_1;
618
+ var tmp0 = this.z6d_1;
619
619
  var destination = ArrayList_init_$Create$();
620
620
  var _iterator__ex2g4s = tmp0.t();
621
621
  while (_iterator__ex2g4s.u()) {
622
622
  var element = _iterator__ex2g4s.v();
623
- if (element.d6c_1.f6c(this.r6d_1)) {
623
+ if (element.q6c_1.s6c(this.e6e_1)) {
624
624
  destination.e1(element);
625
625
  }
626
626
  }
@@ -629,7 +629,7 @@ protoOf($invoke$convertResponseCOROUTINE$).q9 = function () {
629
629
  var _iterator__ex2g4s_0 = destination.t();
630
630
  while (_iterator__ex2g4s_0.u()) {
631
631
  var item = _iterator__ex2g4s_0.v();
632
- destination_0.e1(item.b6c_1);
632
+ destination_0.e1(item.o6c_1);
633
633
  }
634
634
 
635
635
  var tmp_1;
@@ -642,16 +642,16 @@ protoOf($invoke$convertResponseCOROUTINE$).q9 = function () {
642
642
  var tmp0_elvis_lhs = tmp_1;
643
643
  var tmp_2;
644
644
  if (tmp0_elvis_lhs == null) {
645
- this.n6d_1;
646
- get_LOGGER().z3b('None of the registered converters match response with Content-Type=' + this.r6d_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.o6d_1.toString() + '.'));
645
+ this.a6e_1;
646
+ get_LOGGER().m3c('None of the registered converters match response with Content-Type=' + this.e6e_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.b6e_1.toString() + '.'));
647
647
  return null;
648
648
  } else {
649
649
  tmp_2 = tmp0_elvis_lhs;
650
650
  }
651
651
 
652
652
  var suitableConverters = tmp_2;
653
- this.i9_1 = 1;
654
- suspendResult = deserialize(suitableConverters, this.q6d_1, this.p6d_1, this.s6d_1, this);
653
+ this.l9_1 = 1;
654
+ suspendResult = deserialize(suitableConverters, this.d6e_1, this.c6e_1, this.f6e_1, this);
655
655
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
656
656
  return suspendResult;
657
657
  }
@@ -660,20 +660,20 @@ protoOf($invoke$convertResponseCOROUTINE$).q9 = function () {
660
660
  case 1:
661
661
  var result = suspendResult;
662
662
  if (!isInterface(result, ByteReadChannel)) {
663
- get_LOGGER().z3b('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.o6d_1.toString() + '.');
663
+ get_LOGGER().m3c('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.b6e_1.toString() + '.');
664
664
  }
665
665
 
666
666
  return result;
667
667
  case 2:
668
- throw this.l9_1;
668
+ throw this.o9_1;
669
669
  }
670
670
  } catch ($p) {
671
671
  var e = $p;
672
- if (this.j9_1 === 2) {
672
+ if (this.m9_1 === 2) {
673
673
  throw e;
674
674
  } else {
675
- this.i9_1 = this.j9_1;
676
- this.l9_1 = e;
675
+ this.l9_1 = this.m9_1;
676
+ this.o9_1 = e;
677
677
  }
678
678
  }
679
679
  while (true);
@@ -683,7 +683,7 @@ function _init_properties_ContentNegotiation_kt__o183go() {
683
683
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
684
684
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
685
685
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
686
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().qc(), PrimitiveClasses_getInstance().mc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
686
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().tc(), PrimitiveClasses_getInstance().pc(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
687
687
  // Inline function 'io.ktor.util.AttributeKey' call
688
688
  var name = 'ExcludedContentTypesAttr';
689
689
  // Inline function 'io.ktor.util.reflect.typeInfo' call
@@ -711,12 +711,12 @@ function _init_properties_ContentNegotiation_kt__o183go() {
711
711
  }
712
712
  function JsonContentTypeMatcher() {
713
713
  }
714
- protoOf(JsonContentTypeMatcher).f6c = function (contentType) {
715
- if (contentType.l3e(Application_getInstance().r3c_1)) {
714
+ protoOf(JsonContentTypeMatcher).s6c = function (contentType) {
715
+ if (contentType.y3e(Application_getInstance().e3d_1)) {
716
716
  return true;
717
717
  }
718
- var value = contentType.k3e().toString();
719
- return Application_getInstance().l3d(value) && endsWith(value, '+json', true);
718
+ var value = contentType.x3e().toString();
719
+ return Application_getInstance().y3d(value) && endsWith(value, '+json', true);
720
720
  };
721
721
  var JsonContentTypeMatcher_instance;
722
722
  function JsonContentTypeMatcher_getInstance() {
@@ -736,7 +736,7 @@ function _init_properties_DefaultIgnoredTypes_web_kt__6eddjw() {
736
736
  }
737
737
  }
738
738
  //region block: post-declaration
739
- protoOf(ContentNegotiationConfig).h46 = register$default;
739
+ protoOf(ContentNegotiationConfig).u46 = register$default;
740
740
  //endregion
741
741
  //region block: init
742
742
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();