@solibo/home-api 1.15.15 → 1.16.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 (64) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1019 -943
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -0
  3. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs +1 -1
  4. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +1 -0
  5. package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
  6. package/MultiplatformSettings-multiplatform-settings.mjs.map +1 -0
  7. package/kotlin-kotlin-stdlib.mjs +2223 -1914
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  9. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +1 -1
  10. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +1 -0
  11. package/kotlinx-atomicfu.mjs +14 -14
  12. package/kotlinx-atomicfu.mjs.map +1 -0
  13. package/kotlinx-browser.mjs +1 -1
  14. package/kotlinx-browser.mjs.map +1 -0
  15. package/kotlinx-coroutines-core.mjs +2307 -2247
  16. package/kotlinx-coroutines-core.mjs.map +1 -0
  17. package/kotlinx-io-kotlinx-io-bytestring.mjs +41 -41
  18. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -0
  19. package/kotlinx-io-kotlinx-io-core.mjs +474 -470
  20. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -0
  21. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1909 -1910
  22. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -0
  23. package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +1 -1
  24. package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +1 -0
  25. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1986 -1658
  26. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -0
  27. package/ktor-ktor-client-auth.mjs +1 -1
  28. package/ktor-ktor-client-auth.mjs.map +1 -0
  29. package/ktor-ktor-client-content-negotiation.mjs +260 -234
  30. package/ktor-ktor-client-content-negotiation.mjs.map +1 -0
  31. package/ktor-ktor-client-core.mjs +3240 -3326
  32. package/ktor-ktor-client-core.mjs.map +1 -0
  33. package/ktor-ktor-client-encoding.mjs +1 -1
  34. package/ktor-ktor-client-encoding.mjs.map +1 -0
  35. package/ktor-ktor-client-logging.mjs +1 -1
  36. package/ktor-ktor-client-logging.mjs.map +1 -0
  37. package/ktor-ktor-client-websockets.mjs +1 -1
  38. package/ktor-ktor-client-websockets.mjs.map +1 -0
  39. package/ktor-ktor-events.mjs +8 -8
  40. package/ktor-ktor-events.mjs.map +1 -0
  41. package/ktor-ktor-http-cio.mjs +525 -530
  42. package/ktor-ktor-http-cio.mjs.map +1 -0
  43. package/ktor-ktor-http.mjs +735 -766
  44. package/ktor-ktor-http.mjs.map +1 -0
  45. package/ktor-ktor-io.mjs +1502 -1279
  46. package/ktor-ktor-io.mjs.map +1 -0
  47. package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
  48. package/ktor-ktor-serialization-kotlinx-json.mjs.map +1 -0
  49. package/ktor-ktor-serialization-kotlinx.mjs +272 -389
  50. package/ktor-ktor-serialization-kotlinx.mjs.map +1 -0
  51. package/ktor-ktor-serialization.mjs +113 -142
  52. package/ktor-ktor-serialization.mjs.map +1 -0
  53. package/ktor-ktor-sse.mjs +1 -1
  54. package/ktor-ktor-sse.mjs.map +1 -0
  55. package/ktor-ktor-utils.mjs +812 -787
  56. package/ktor-ktor-utils.mjs.map +1 -0
  57. package/ktor-ktor-websocket-serialization.mjs +1 -1
  58. package/ktor-ktor-websocket-serialization.mjs.map +1 -0
  59. package/ktor-ktor-websockets.mjs +901 -862
  60. package/ktor-ktor-websockets.mjs.map +1 -0
  61. package/package.json +2 -2
  62. package/solibo-sdk-sdk-home-api.d.mts +127 -14
  63. package/solibo-sdk-sdk-home-api.mjs +110003 -108257
  64. package/solibo-sdk-sdk-home-api.mjs.map +1 -0
@@ -1,13 +1,18 @@
1
1
  import {
2
+ KProperty1ca4yb4wlo496 as KProperty1,
3
+ getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
4
+ constructCallableReference23y65rf941mch as constructCallableReference,
2
5
  protoOf180f3jzyo7rfj as protoOf,
3
6
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
7
+ lazy2hsh8ze7j6ikd as lazy,
8
+ endsWith3cq61xxngobwh as endsWith,
4
9
  plus1ogy4liedzq5j as plus,
5
10
  toMutableSetjdpdbr9jsqq8 as toMutableSet,
6
- ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$,
7
- Unit_instancev9v8hjid95df as Unit_instance,
11
+ ArrayList_init_$Create$1z3aa4voswqq as ArrayList_init_$Create$,
12
+ Unit_instance3vdlo4e4f5ggx as Unit_instance,
8
13
  VOID3gxj6tk5isa35 as VOID,
9
14
  Exceptiondt2hlxn7j7vw as Exception,
10
- Exception_init_$Init$2jzug8qe36bgh as Exception_init_$Init$,
15
+ Exception_init_$Init$1ksq2fk0jxaag as Exception_init_$Init$,
11
16
  captureStack1fzi4aczwc4hg as captureStack,
12
17
  toString1pkumu07cwy4m as toString,
13
18
  CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
@@ -24,37 +29,25 @@ import {
24
29
  joinToString1cxrrlmo0chqs as joinToString,
25
30
  initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
26
31
  collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
27
- ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$_0,
28
- PrimitiveClasses_getInstanceds06xwqrwfdm as PrimitiveClasses_getInstance,
32
+ ArrayList_init_$Create$3o344dm0ee4ws as ArrayList_init_$Create$_0,
33
+ to2cs3ny02qtbcb as to,
34
+ mapOf1xd03cq9cnmy8 as mapOf,
35
+ PrimitiveClasses_getInstance143761yrsca9q as PrimitiveClasses_getInstance,
29
36
  getKClass3t8tygqu4lcxf as getKClass,
30
37
  setOf45ia9pnfhe90 as setOf,
31
38
  KtList3hktaavzmj137 as KtList,
32
39
  arrayOf1akklvh2at202 as arrayOf,
33
40
  createKType31ecntyyaay3k as createKType,
34
41
  createInvariantKTypeProjection3h5364czc0a8w as createInvariantKTypeProjection,
35
- endsWith3cq61xxngobwh as endsWith,
36
- initMetadataForObject1cxne3s9w65el as initMetadataForObject,
37
- LinkedHashSet_init_$Create$t7gzf3ihb6pk as LinkedHashSet_init_$Create$,
42
+ LinkedHashSet_init_$Create$2y9omcalkfydw as LinkedHashSet_init_$Create$,
38
43
  } from './kotlin-kotlin-stdlib.mjs';
39
44
  import {
40
- Application_getInstance2wn6cl3kv21f0 as Application_getInstance,
41
- contentType317fn4f991q9a as contentType,
42
- Companion_getInstance1co6rysm0hsdc as Companion_getInstance,
43
- OutgoingContent3t2ohmyam9o76 as OutgoingContent,
44
- contentType2zzm38yxo3syt as contentType_0,
45
- charset1dribv3ku48b1 as charset,
46
- NullBody_instance3jaj4elqoxne0 as NullBody_instance,
47
- HttpStatusCode3o1wkms10pg4k as HttpStatusCode,
48
- ContentType1svlpabm9v7iz as ContentType,
49
- } from './ktor-ktor-http.mjs';
50
- import {
51
- register$default3nfw6tn7zx41g as register$default,
45
+ register$default1k5lce5zfzlxr as register$default,
52
46
  Configuration20xgygxdzhlk5 as Configuration,
53
- suitableCharset1jgdcpdzbzgzn as suitableCharset,
54
- deserialize3m9mw3rgwyyjs as deserialize,
47
+ deserializedbfwk7upcilb as deserialize,
55
48
  } from './ktor-ktor-serialization.mjs';
56
49
  import {
57
- Charsets_getInstanceqkyjyusuh1b0 as Charsets_getInstance,
50
+ Charsets_getInstance3jooo7e4x0j2x as Charsets_getInstance,
58
51
  ByteReadChannel2wzou76jce72d as ByteReadChannel,
59
52
  } from './ktor-ktor-io.mjs';
60
53
  import {
@@ -64,7 +57,7 @@ import {
64
57
  HttpResponse1532ob1hsse1y as HttpResponse,
65
58
  get_request3dwcif5y0fvf1 as get_request,
66
59
  accept2gi3b7wj4jds9 as accept,
67
- EmptyContent_getInstance3cnuw24sjv05w as EmptyContent_getInstance,
60
+ EmptyContent_getInstance3hxw2ytgkcdf2 as EmptyContent_getInstance,
68
61
  ClientSSESession332rusa1q4gim as ClientSSESession,
69
62
  ClientSSESessionWithDeserialization37nab8162l18r as ClientSSESessionWithDeserialization,
70
63
  createClientPluginjwpvufjows5r as createClientPlugin,
@@ -74,6 +67,18 @@ import {
74
67
  KtorSimpleLogger1xdphsp5l4e48 as KtorSimpleLogger,
75
68
  AttributeKey3aq8ytwgx54f7 as AttributeKey,
76
69
  } from './ktor-ktor-utils.mjs';
70
+ import {
71
+ contentType317fn4f991q9a as contentType,
72
+ charset1dribv3ku48b1 as charset,
73
+ Companion_getInstance3eu9tsw6r4gc4 as Companion_getInstance,
74
+ OutgoingContent3t2ohmyam9o76 as OutgoingContent,
75
+ contentType2zzm38yxo3syt as contentType_0,
76
+ NullBody_instanceyfq32eqie90j as NullBody_instance,
77
+ Application_getInstance17ubdrb0i0ohu as Application_getInstance,
78
+ ContentType_init_$Create$3oxsmr7ljnxbz as ContentType_init_$Create$,
79
+ HttpStatusCode3o1wkms10pg4k as HttpStatusCode,
80
+ ContentType1svlpabm9v7iz as ContentType,
81
+ } from './ktor-ktor-http.mjs';
77
82
  //region block: imports
78
83
  //endregion
79
84
  //region block: pre-declaration
@@ -85,8 +90,12 @@ initMetadataForLambda(ContentNegotiation$lambda$slambda, CoroutineImpl, VOID, [4
85
90
  initMetadataForLambda(ContentNegotiation$lambda$slambda_1, CoroutineImpl, VOID, [4]);
86
91
  initMetadataForCoroutine($invoke$convertRequestCOROUTINE$, CoroutineImpl);
87
92
  initMetadataForCoroutine($invoke$convertResponseCOROUTINE$, CoroutineImpl);
88
- initMetadataForObject(JsonContentTypeMatcher, 'JsonContentTypeMatcher');
89
93
  //endregion
94
+ function get_supportedSuffixTypes() {
95
+ _init_properties_ContentNegotiation_kt__o183go();
96
+ return supportedSuffixTypes;
97
+ }
98
+ var supportedSuffixTypes;
90
99
  function get_LOGGER() {
91
100
  _init_properties_ContentNegotiation_kt__o183go();
92
101
  return LOGGER;
@@ -107,101 +116,136 @@ function get_ContentNegotiation() {
107
116
  return ContentNegotiation;
108
117
  }
109
118
  var ContentNegotiation;
119
+ function _get_subtypeSuffix__jfpkue($this) {
120
+ var tmp0 = $this.o4n_1;
121
+ var tmp = KProperty1;
122
+ // Inline function 'kotlin.getValue' call
123
+ getPropertyCallableRef('subtypeSuffix', 1, tmp, ContentNegotiationConfig$defaultMatcher$o$_get_subtypeSuffix_$ref_v9fn95(), null);
124
+ return tmp0.m1();
125
+ }
126
+ function ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda($pattern) {
127
+ return function () {
128
+ var tmp0_safe_receiver = get_supportedSuffixTypes().z2($pattern.z2m());
129
+ var tmp;
130
+ if (tmp0_safe_receiver == null) {
131
+ tmp = null;
132
+ } else {
133
+ // Inline function 'kotlin.let' call
134
+ tmp = '+' + tmp0_safe_receiver;
135
+ }
136
+ return tmp;
137
+ };
138
+ }
139
+ function ContentNegotiationConfig$defaultMatcher$o$_get_subtypeSuffix_$ref_v9fn95() {
140
+ return constructCallableReference(function (p0) {
141
+ return _get_subtypeSuffix__jfpkue(p0);
142
+ }, 1, 0, 30);
143
+ }
110
144
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
111
- this.c4m_1 = converter;
112
- this.d4m_1 = contentTypeToSend;
113
- this.e4m_1 = contentTypeMatcher;
145
+ this.q4n_1 = converter;
146
+ this.r4n_1 = contentTypeToSend;
147
+ this.s4n_1 = contentTypeMatcher;
114
148
  }
115
149
  function defaultMatcher($this, pattern) {
116
150
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
117
151
  }
118
152
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
119
- this.f4m_1 = $pattern;
153
+ this.p4n_1 = $pattern;
154
+ var tmp = this;
155
+ tmp.o4n_1 = lazy(ContentNegotiationConfig$defaultMatcher$o$subtypeSuffix$delegate$lambda($pattern));
120
156
  }
121
- protoOf(ContentNegotiationConfig$defaultMatcher$1).g4m = function (contentType) {
122
- return contentType.t2l(this.f4m_1);
157
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).t4n = function (contentType) {
158
+ if (contentType.a2n(this.p4n_1)) {
159
+ return true;
160
+ }
161
+ var tmp0_elvis_lhs = _get_subtypeSuffix__jfpkue(this);
162
+ var tmp;
163
+ if (tmp0_elvis_lhs == null) {
164
+ return false;
165
+ } else {
166
+ tmp = tmp0_elvis_lhs;
167
+ }
168
+ var subtypeSuffix = tmp;
169
+ return endsWith(contentType.x2m_1, subtypeSuffix, true);
123
170
  };
124
171
  function ContentNegotiationConfig() {
125
- this.h4m_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
172
+ this.u4n_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
126
173
  var tmp = this;
127
174
  // Inline function 'kotlin.collections.mutableListOf' call
128
- tmp.i4m_1 = ArrayList_init_$Create$();
129
- this.j4m_1 = null;
175
+ tmp.v4n_1 = ArrayList_init_$Create$();
176
+ this.w4n_1 = null;
130
177
  }
131
- protoOf(ContentNegotiationConfig).j3b = function (contentType, converter, configuration) {
132
- var matcher = contentType.t2l(Application_getInstance().z2j_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
133
- this.k4m(contentType, converter, matcher, configuration);
178
+ protoOf(ContentNegotiationConfig).r3c = function (contentType, converter, configuration) {
179
+ this.x4n(contentType, converter, defaultMatcher(this, contentType), configuration);
134
180
  };
135
- protoOf(ContentNegotiationConfig).k4m = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
181
+ protoOf(ContentNegotiationConfig).x4n = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
136
182
  // Inline function 'kotlin.apply' call
137
183
  configuration(converter);
138
184
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
139
- this.i4m_1.e1(registration);
185
+ this.v4n_1.e1(registration);
140
186
  };
141
187
  function ContentConverterException(message) {
142
188
  Exception_init_$Init$(message, this);
143
189
  captureStack(this, ContentConverterException);
144
190
  }
145
191
  function ContentNegotiationConfig$_init_$ref_1ne3ob() {
146
- var l = function () {
192
+ return constructCallableReference(function () {
147
193
  return new ContentNegotiationConfig();
148
- };
149
- l.callableName = '<init>';
150
- return l;
194
+ }, 0, 0, 31, '<init>');
151
195
  }
152
196
  function ContentNegotiation$lambda($this$createClientPlugin) {
153
197
  _init_properties_ContentNegotiation_kt__o183go();
154
- var registrations = $this$createClientPlugin.z3n_1.i4m_1;
155
- var ignoredTypes = $this$createClientPlugin.z3n_1.h4m_1;
156
- $this$createClientPlugin.y45(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
157
- $this$createClientPlugin.l3w(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
198
+ var registrations = $this$createClientPlugin.h3p_1.v4n_1;
199
+ var ignoredTypes = $this$createClientPlugin.h3p_1.u4n_1;
200
+ $this$createClientPlugin.j47(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
201
+ $this$createClientPlugin.s3x(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
158
202
  return Unit_instance;
159
203
  }
160
204
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
161
205
  _init_properties_ContentNegotiation_kt__o183go();
162
- return toString(it.c4m_1);
206
+ return toString(it.q4n_1);
163
207
  }
164
208
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
165
209
  var tmp = new $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion);
166
- tmp.l8_1 = Unit_instance;
167
- tmp.m8_1 = null;
168
- return tmp.r8();
210
+ tmp.m8_1 = Unit_instance;
211
+ tmp.n8_1 = null;
212
+ return tmp.s8();
169
213
  }
170
214
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
171
- charset = charset === VOID ? Charsets_getInstance().o1q_1 : charset;
215
+ charset = charset === VOID ? Charsets_getInstance().j1r_1 : charset;
172
216
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
173
- tmp.l8_1 = Unit_instance;
174
- tmp.m8_1 = null;
175
- return tmp.r8();
217
+ tmp.m8_1 = Unit_instance;
218
+ tmp.n8_1 = null;
219
+ return tmp.s8();
176
220
  }
177
221
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
178
- this.c4o_1 = $registrations;
179
- this.d4o_1 = $this_createClientPlugin;
180
- this.e4o_1 = $ignoredTypes;
222
+ this.p4p_1 = $registrations;
223
+ this.q4p_1 = $this_createClientPlugin;
224
+ this.r4p_1 = $ignoredTypes;
181
225
  CoroutineImpl.call(this, resultContinuation);
182
226
  }
183
- protoOf(ContentNegotiation$lambda$slambda).j4o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
184
- var tmp = this.k4o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
185
- tmp.l8_1 = Unit_instance;
186
- tmp.m8_1 = null;
187
- return tmp.r8();
227
+ protoOf(ContentNegotiation$lambda$slambda).w4p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
228
+ var tmp = this.x4p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
229
+ tmp.m8_1 = Unit_instance;
230
+ tmp.n8_1 = null;
231
+ return tmp.s8();
188
232
  };
189
- protoOf(ContentNegotiation$lambda$slambda).q3x = function (p1, p2, p3, p4, $completion) {
233
+ protoOf(ContentNegotiation$lambda$slambda).x3y = function (p1, p2, p3, p4, $completion) {
190
234
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
191
235
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
192
236
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
193
- return this.j4o(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
237
+ return this.w4p(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
194
238
  };
195
- protoOf(ContentNegotiation$lambda$slambda).r8 = function () {
196
- var suspendResult = this.l8_1;
239
+ protoOf(ContentNegotiation$lambda$slambda).s8 = function () {
240
+ var suspendResult = this.m8_1;
197
241
  $sm: do
198
242
  try {
199
- var tmp = this.j8_1;
243
+ var tmp = this.k8_1;
200
244
  switch (tmp) {
201
245
  case 0:
202
- this.k8_1 = 2;
203
- this.j8_1 = 1;
204
- suspendResult = invoke$convertRequest(this.c4o_1, this.d4o_1, this.e4o_1, this.g4o_1, this.h4o_1, this);
246
+ this.l8_1 = 2;
247
+ this.k8_1 = 1;
248
+ suspendResult = invoke$convertRequest(this.p4p_1, this.q4p_1, this.r4p_1, this.t4p_1, this.u4p_1, this);
205
249
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
206
250
  return suspendResult;
207
251
  }
@@ -210,62 +254,60 @@ protoOf(ContentNegotiation$lambda$slambda).r8 = function () {
210
254
  case 1:
211
255
  return suspendResult;
212
256
  case 2:
213
- throw this.m8_1;
257
+ throw this.n8_1;
214
258
  }
215
259
  } catch ($p) {
216
260
  var e = $p;
217
- if (this.k8_1 === 2) {
261
+ if (this.l8_1 === 2) {
218
262
  throw e;
219
263
  } else {
220
- this.j8_1 = this.k8_1;
221
- this.m8_1 = e;
264
+ this.k8_1 = this.l8_1;
265
+ this.n8_1 = e;
222
266
  }
223
267
  }
224
268
  while (true);
225
269
  };
226
- protoOf(ContentNegotiation$lambda$slambda).k4o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
227
- var i = new ContentNegotiation$lambda$slambda(this.c4o_1, this.d4o_1, this.e4o_1, completion);
228
- i.f4o_1 = $this$transformRequestBody;
229
- i.g4o_1 = request;
230
- i.h4o_1 = body;
231
- i.i4o_1 = _unused_var__etf5q3;
270
+ protoOf(ContentNegotiation$lambda$slambda).x4p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
271
+ var i = new ContentNegotiation$lambda$slambda(this.p4p_1, this.q4p_1, this.r4p_1, completion);
272
+ i.s4p_1 = $this$transformRequestBody;
273
+ i.t4p_1 = request;
274
+ i.u4p_1 = body;
275
+ i.v4p_1 = _unused_var__etf5q3;
232
276
  return i;
233
277
  };
234
278
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
235
279
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
236
- var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
237
- return i.j4o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
238
- };
239
- l.$arity = 4;
240
- return l;
280
+ return constructCallableReference(function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
281
+ return i.w4p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
282
+ }, 4);
241
283
  }
242
284
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
243
- this.t4o_1 = $ignoredTypes;
244
- this.u4o_1 = $registrations;
245
- this.v4o_1 = $this_createClientPlugin;
285
+ this.g4q_1 = $ignoredTypes;
286
+ this.h4q_1 = $registrations;
287
+ this.i4q_1 = $this_createClientPlugin;
246
288
  CoroutineImpl.call(this, resultContinuation);
247
289
  }
248
- protoOf(ContentNegotiation$lambda$slambda_1).o3x = function ($this$transformResponseBody, response, body, info, $completion) {
249
- var tmp = this.p3x($this$transformResponseBody, response, body, info, $completion);
250
- tmp.l8_1 = Unit_instance;
251
- tmp.m8_1 = null;
252
- return tmp.r8();
290
+ protoOf(ContentNegotiation$lambda$slambda_1).v3y = function ($this$transformResponseBody, response, body, info, $completion) {
291
+ var tmp = this.w3y($this$transformResponseBody, response, body, info, $completion);
292
+ tmp.m8_1 = Unit_instance;
293
+ tmp.n8_1 = null;
294
+ return tmp.s8();
253
295
  };
254
- protoOf(ContentNegotiation$lambda$slambda_1).q3x = function (p1, p2, p3, p4, $completion) {
296
+ protoOf(ContentNegotiation$lambda$slambda_1).x3y = function (p1, p2, p3, p4, $completion) {
255
297
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
256
298
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
257
299
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
258
- return this.o3x(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
300
+ return this.v3y(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
259
301
  };
260
- protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
261
- var suspendResult = this.l8_1;
302
+ protoOf(ContentNegotiation$lambda$slambda_1).s8 = function () {
303
+ var suspendResult = this.m8_1;
262
304
  $sm: do
263
305
  try {
264
- var tmp = this.j8_1;
306
+ var tmp = this.k8_1;
265
307
  switch (tmp) {
266
308
  case 0:
267
- this.k8_1 = 2;
268
- var tmp0_elvis_lhs = contentType(this.x4o_1);
309
+ this.l8_1 = 2;
310
+ var tmp0_elvis_lhs = contentType(this.k4q_1);
269
311
  var tmp_0;
270
312
  if (tmp0_elvis_lhs == null) {
271
313
  return null;
@@ -274,9 +316,10 @@ protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
274
316
  }
275
317
 
276
318
  var contentType_0 = tmp_0;
277
- var charset = suitableCharset(get_request(this.x4o_1).d2q());
278
- this.j8_1 = 1;
279
- suspendResult = invoke$convertResponse(this.t4o_1, this.u4o_1, this.v4o_1, get_request(this.x4o_1).f3h(), this.z4o_1, this.y4o_1, contentType_0, charset, this);
319
+ var tmp1_elvis_lhs = charset(contentType_0);
320
+ var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().j1r_1 : tmp1_elvis_lhs;
321
+ this.k8_1 = 1;
322
+ suspendResult = invoke$convertResponse(this.g4q_1, this.h4q_1, this.i4q_1, get_request(this.k4q_1).n3i(), this.m4q_1, this.l4q_1, contentType_0, charset_0, this);
280
323
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
281
324
  return suspendResult;
282
325
  }
@@ -285,55 +328,53 @@ protoOf(ContentNegotiation$lambda$slambda_1).r8 = function () {
285
328
  case 1:
286
329
  return suspendResult;
287
330
  case 2:
288
- throw this.m8_1;
331
+ throw this.n8_1;
289
332
  }
290
333
  } catch ($p) {
291
334
  var e = $p;
292
- if (this.k8_1 === 2) {
335
+ if (this.l8_1 === 2) {
293
336
  throw e;
294
337
  } else {
295
- this.j8_1 = this.k8_1;
296
- this.m8_1 = e;
338
+ this.k8_1 = this.l8_1;
339
+ this.n8_1 = e;
297
340
  }
298
341
  }
299
342
  while (true);
300
343
  };
301
- protoOf(ContentNegotiation$lambda$slambda_1).p3x = function ($this$transformResponseBody, response, body, info, completion) {
302
- var i = new ContentNegotiation$lambda$slambda_1(this.t4o_1, this.u4o_1, this.v4o_1, completion);
303
- i.w4o_1 = $this$transformResponseBody;
304
- i.x4o_1 = response;
305
- i.y4o_1 = body;
306
- i.z4o_1 = info;
344
+ protoOf(ContentNegotiation$lambda$slambda_1).w3y = function ($this$transformResponseBody, response, body, info, completion) {
345
+ var i = new ContentNegotiation$lambda$slambda_1(this.g4q_1, this.h4q_1, this.i4q_1, completion);
346
+ i.j4q_1 = $this$transformResponseBody;
347
+ i.k4q_1 = response;
348
+ i.l4q_1 = body;
349
+ i.m4q_1 = info;
307
350
  return i;
308
351
  };
309
352
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
310
353
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
311
- var l = function ($this$transformResponseBody, response, body, info, $completion) {
312
- return i.o3x($this$transformResponseBody, response, body, info, $completion);
313
- };
314
- l.$arity = 4;
315
- return l;
354
+ return constructCallableReference(function ($this$transformResponseBody, response, body, info, $completion) {
355
+ return i.v3y($this$transformResponseBody, response, body, info, $completion);
356
+ }, 4);
316
357
  }
317
358
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
318
359
  CoroutineImpl.call(this, resultContinuation);
319
- this.t4m_1 = registrations;
320
- this.u4m_1 = $this_createClientPlugin;
321
- this.v4m_1 = ignoredTypes;
322
- this.w4m_1 = request;
323
- this.x4m_1 = body;
360
+ this.g4o_1 = registrations;
361
+ this.h4o_1 = $this_createClientPlugin;
362
+ this.i4o_1 = ignoredTypes;
363
+ this.j4o_1 = request;
364
+ this.k4o_1 = body;
324
365
  }
325
- protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
326
- var suspendResult = this.l8_1;
366
+ protoOf($invoke$convertRequestCOROUTINE$).s8 = function () {
367
+ var suspendResult = this.m8_1;
327
368
  $sm: do
328
369
  try {
329
- var tmp = this.j8_1;
370
+ var tmp = this.k8_1;
330
371
  switch (tmp) {
331
372
  case 0:
332
- this.k8_1 = 7;
373
+ this.l8_1 = 7;
333
374
  var tmp_0;
334
- if (this.w4m_1.s3f_1.q2c(get_ExcludedContentTypes())) {
335
- var excluded = this.w4m_1.s3f_1.o2c(get_ExcludedContentTypes());
336
- var tmp0 = this.t4m_1;
375
+ if (this.j4o_1.a3h_1.l2d(get_ExcludedContentTypes())) {
376
+ var excluded = this.j4o_1.a3h_1.j2d(get_ExcludedContentTypes());
377
+ var tmp0 = this.g4o_1;
337
378
  var destination = ArrayList_init_$Create$();
338
379
  var _iterator__ex2g4s = tmp0.t();
339
380
  while (_iterator__ex2g4s.u()) {
@@ -353,7 +394,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
353
394
  var _iterator__ex2g4s_0 = excluded.t();
354
395
  while (_iterator__ex2g4s_0.u()) {
355
396
  var element_0 = _iterator__ex2g4s_0.v();
356
- if (element.d4m_1.t2l(element_0)) {
397
+ if (element.r4n_1.a2n(element_0)) {
357
398
  tmp$ret$0 = false;
358
399
  break l$ret$1;
359
400
  }
@@ -367,11 +408,11 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
367
408
  }
368
409
  tmp_0 = destination;
369
410
  } else {
370
- tmp_0 = this.t4m_1;
411
+ tmp_0 = this.g4o_1;
371
412
  }
372
413
 
373
414
  var requestRegistrations = tmp_0;
374
- var tmp0_elvis_lhs = this.w4m_1.p3f_1.v2e('Accept');
415
+ var tmp0_elvis_lhs = this.j4o_1.x3g_1.q2f('Accept');
375
416
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
376
417
  var _iterator__ex2g4s_1 = requestRegistrations.t();
377
418
  while (_iterator__ex2g4s_1.u()) {
@@ -391,7 +432,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
391
432
  var _iterator__ex2g4s_2 = acceptHeaders.t();
392
433
  while (_iterator__ex2g4s_2.u()) {
393
434
  var element_2 = _iterator__ex2g4s_2.v();
394
- if (Companion_getInstance().cm(element_2).t2l(element_1.d4m_1)) {
435
+ if (Companion_getInstance().qm(element_2).a2n(element_1.r4n_1)) {
395
436
  tmp$ret$2 = false;
396
437
  break l$ret$3;
397
438
  }
@@ -400,19 +441,19 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
400
441
  }
401
442
  while (false);
402
443
  if (tmp$ret$2) {
403
- var qValue = this.u4m_1.z3n_1.j4m_1;
404
- var contentTypeToSend = qValue == null ? element_1.d4m_1 : element_1.d4m_1.r2l('q', qValue.toString());
405
- get_LOGGER().h2j('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.w4m_1.n3f_1.toString());
406
- accept(this.w4m_1, contentTypeToSend);
444
+ var qValue = this.h4o_1.h3p_1.w4n_1;
445
+ var contentTypeToSend = qValue == null ? element_1.r4n_1 : element_1.r4n_1.y2m('q', qValue.toString());
446
+ get_LOGGER().c2k('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.j4o_1.v3g_1.toString());
447
+ accept(this.j4o_1, contentTypeToSend);
407
448
  }
408
449
  }
409
450
 
410
451
  var tmp_3;
411
- var tmp_4 = this.x4m_1;
452
+ var tmp_4 = this.k4o_1;
412
453
  if (tmp_4 instanceof OutgoingContent) {
413
454
  tmp_3 = true;
414
455
  } else {
415
- var tmp0_0 = this.v4m_1;
456
+ var tmp0_0 = this.i4o_1;
416
457
  var tmp$ret$4;
417
458
  l$ret$5: do {
418
459
  var tmp_5;
@@ -428,7 +469,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
428
469
  var _iterator__ex2g4s_3 = tmp0_0.t();
429
470
  while (_iterator__ex2g4s_3.u()) {
430
471
  var element_3 = _iterator__ex2g4s_3.v();
431
- if (element_3.na(this.x4m_1)) {
472
+ if (element_3.oa(this.k4o_1)) {
432
473
  tmp$ret$4 = true;
433
474
  break l$ret$5;
434
475
  }
@@ -440,36 +481,36 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
440
481
  }
441
482
 
442
483
  if (tmp_3) {
443
- get_LOGGER().h2j('Body type ' + toString(getKClassFromExpression(this.x4m_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.w4m_1.n3f_1.toString() + '.'));
484
+ get_LOGGER().c2k('Body type ' + toString(getKClassFromExpression(this.k4o_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.'));
444
485
  return null;
445
486
  }
446
487
 
447
488
  var tmp_6 = this;
448
- var tmp0_elvis_lhs_0 = contentType_0(this.w4m_1);
489
+ var tmp0_elvis_lhs_0 = contentType_0(this.j4o_1);
449
490
  var tmp_7;
450
491
  if (tmp0_elvis_lhs_0 == null) {
451
- this.u4m_1;
452
- get_LOGGER().h2j("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.w4m_1.n3f_1.toString() + '.');
492
+ this.h4o_1;
493
+ get_LOGGER().c2k("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.j4o_1.v3g_1.toString() + '.');
453
494
  return null;
454
495
  } else {
455
496
  tmp_7 = tmp0_elvis_lhs_0;
456
497
  }
457
498
 
458
- tmp_6.z4m_1 = tmp_7;
459
- var tmp_8 = this.x4m_1;
499
+ tmp_6.m4o_1 = tmp_7;
500
+ var tmp_8 = this.k4o_1;
460
501
  if (tmp_8 instanceof Unit) {
461
- get_LOGGER().h2j('Sending empty body for ' + this.w4m_1.n3f_1.toString());
462
- this.w4m_1.p3f_1.f2f('Content-Type');
502
+ get_LOGGER().c2k('Sending empty body for ' + this.j4o_1.v3g_1.toString());
503
+ this.j4o_1.x3g_1.a2g('Content-Type');
463
504
  return EmptyContent_getInstance();
464
505
  }
465
506
 
466
507
  var tmp_9 = this;
467
- var tmp0_1 = this.t4m_1;
508
+ var tmp0_1 = this.g4o_1;
468
509
  var destination_0 = ArrayList_init_$Create$();
469
510
  var _iterator__ex2g4s_4 = tmp0_1.t();
470
511
  while (_iterator__ex2g4s_4.u()) {
471
512
  var element_4 = _iterator__ex2g4s_4.v();
472
- if (element_4.e4m_1.g4m(this.z4m_1)) {
513
+ if (element_4.s4n_1.t4n(this.m4o_1)) {
473
514
  destination_0.e1(element_4);
474
515
  }
475
516
  }
@@ -484,40 +525,40 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
484
525
  var tmp1_elvis_lhs = tmp_10;
485
526
  var tmp_11;
486
527
  if (tmp1_elvis_lhs == null) {
487
- this.u4m_1;
488
- get_LOGGER().h2j('None of the registered converters match request Content-Type=' + this.z4m_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.w4m_1.n3f_1.toString() + '.'));
528
+ this.h4o_1;
529
+ get_LOGGER().c2k('None of the registered converters match request Content-Type=' + this.m4o_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.'));
489
530
  return null;
490
531
  } else {
491
532
  tmp_11 = tmp1_elvis_lhs;
492
533
  }
493
534
 
494
- tmp_9.y4m_1 = tmp_11;
495
- if (this.w4m_1.g48() == null) {
496
- get_LOGGER().h2j('Request has unknown body type. Skipping ContentNegotiation for ' + this.w4m_1.n3f_1.toString() + '.');
535
+ tmp_9.l4o_1 = tmp_11;
536
+ if (this.j4o_1.r49() == null) {
537
+ get_LOGGER().c2k('Request has unknown body type. Skipping ContentNegotiation for ' + this.j4o_1.v3g_1.toString() + '.');
497
538
  return null;
498
539
  }
499
540
 
500
- this.w4m_1.p3f_1.f2f('Content-Type');
501
- this.d4n_1 = this.y4m_1;
502
- this.j8_1 = 1;
541
+ this.j4o_1.x3g_1.a2g('Content-Type');
542
+ this.q4o_1 = this.l4o_1;
543
+ this.k8_1 = 1;
503
544
  continue $sm;
504
545
  case 1:
505
- this.c4n_1 = this.d4n_1.t();
506
- this.j8_1 = 2;
546
+ this.p4o_1 = this.q4o_1.t();
547
+ this.k8_1 = 2;
507
548
  continue $sm;
508
549
  case 2:
509
- if (!this.c4n_1.u()) {
510
- this.j8_1 = 5;
550
+ if (!this.p4o_1.u()) {
551
+ this.k8_1 = 5;
511
552
  continue $sm;
512
553
  }
513
554
 
514
- var element_5 = this.c4n_1.v();
515
- this.b4n_1 = element_5;
516
- this.j8_1 = 3;
517
- var tmp0_elvis_lhs_1 = charset(this.z4m_1);
518
- var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().o1q_1 : tmp0_elvis_lhs_1;
519
- var tmp_13 = ensureNotNull(this.w4m_1.g48());
520
- var this_0 = this.x4m_1;
555
+ var element_5 = this.p4o_1.v();
556
+ this.o4o_1 = element_5;
557
+ this.k8_1 = 3;
558
+ var tmp0_elvis_lhs_1 = charset(this.m4o_1);
559
+ var tmp_12 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().j1r_1 : tmp0_elvis_lhs_1;
560
+ var tmp_13 = ensureNotNull(this.j4o_1.r49());
561
+ var this_0 = this.k4o_1;
521
562
  var tmp_14;
522
563
  if (!equals(this_0, NullBody_instance)) {
523
564
  tmp_14 = this_0;
@@ -525,7 +566,7 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
525
566
  tmp_14 = null;
526
567
  }
527
568
 
528
- suspendResult = this.b4n_1.c4m_1.a4p(this.z4m_1, tmp_12, tmp_13, tmp_14, this);
569
+ suspendResult = this.o4o_1.q4n_1.n4q(this.m4o_1, tmp_12, tmp_13, tmp_14, this);
529
570
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
530
571
  return suspendResult;
531
572
  }
@@ -534,37 +575,37 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
534
575
  case 3:
535
576
  var result = suspendResult;
536
577
  if (!(result == null)) {
537
- get_LOGGER().h2j('Converted request body using ' + toString(this.b4n_1.c4m_1) + ' for ' + this.w4m_1.n3f_1.toString());
578
+ get_LOGGER().c2k('Converted request body using ' + toString(this.o4o_1.q4n_1) + ' for ' + this.j4o_1.v3g_1.toString());
538
579
  }
539
580
 
540
581
  var result_0 = result;
541
582
  if (!(result_0 == null)) {
542
- this.a4n_1 = result_0;
543
- this.j8_1 = 6;
583
+ this.n4o_1 = result_0;
584
+ this.k8_1 = 6;
544
585
  continue $sm;
545
586
  } else {
546
- this.j8_1 = 4;
587
+ this.k8_1 = 4;
547
588
  continue $sm;
548
589
  }
549
590
 
550
591
  case 4:
551
- this.j8_1 = 2;
592
+ this.k8_1 = 2;
552
593
  continue $sm;
553
594
  case 5:
554
- this.a4n_1 = null;
595
+ this.n4o_1 = null;
555
596
  if (false) {
556
- this.j8_1 = 1;
597
+ this.k8_1 = 1;
557
598
  continue $sm;
558
599
  }
559
600
 
560
- this.j8_1 = 6;
601
+ this.k8_1 = 6;
561
602
  continue $sm;
562
603
  case 6:
563
- var tmp2_elvis_lhs = this.a4n_1;
604
+ var tmp2_elvis_lhs = this.n4o_1;
564
605
  var tmp_15;
565
606
  if (tmp2_elvis_lhs == null) {
566
- var tmp_16 = "Can't convert " + toString(this.x4m_1) + ' with contentType ' + this.z4m_1.toString() + ' using converters ';
567
- throw new ContentConverterException(tmp_16 + joinToString(this.y4m_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
607
+ var tmp_16 = "Can't convert " + toString(this.k4o_1) + ' with contentType ' + this.m4o_1.toString() + ' using converters ';
608
+ throw new ContentConverterException(tmp_16 + joinToString(this.l4o_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
568
609
  } else {
569
610
  tmp_15 = tmp2_elvis_lhs;
570
611
  }
@@ -572,55 +613,55 @@ protoOf($invoke$convertRequestCOROUTINE$).r8 = function () {
572
613
  var serializedContent = tmp_15;
573
614
  return serializedContent;
574
615
  case 7:
575
- throw this.m8_1;
616
+ throw this.n8_1;
576
617
  }
577
618
  } catch ($p) {
578
619
  var e = $p;
579
- if (this.k8_1 === 7) {
620
+ if (this.l8_1 === 7) {
580
621
  throw e;
581
622
  } else {
582
- this.j8_1 = this.k8_1;
583
- this.m8_1 = e;
623
+ this.k8_1 = this.l8_1;
624
+ this.n8_1 = e;
584
625
  }
585
626
  }
586
627
  while (true);
587
628
  };
588
629
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
589
630
  CoroutineImpl.call(this, resultContinuation);
590
- this.m4n_1 = ignoredTypes;
591
- this.n4n_1 = registrations;
592
- this.o4n_1 = $this_createClientPlugin;
593
- this.p4n_1 = requestUrl;
594
- this.q4n_1 = info;
595
- this.r4n_1 = body;
596
- this.s4n_1 = responseContentType;
597
- this.t4n_1 = charset;
631
+ this.z4o_1 = ignoredTypes;
632
+ this.a4p_1 = registrations;
633
+ this.b4p_1 = $this_createClientPlugin;
634
+ this.c4p_1 = requestUrl;
635
+ this.d4p_1 = info;
636
+ this.e4p_1 = body;
637
+ this.f4p_1 = responseContentType;
638
+ this.g4p_1 = charset;
598
639
  }
599
- protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
600
- var suspendResult = this.l8_1;
640
+ protoOf($invoke$convertResponseCOROUTINE$).s8 = function () {
641
+ var suspendResult = this.m8_1;
601
642
  $sm: do
602
643
  try {
603
- var tmp = this.j8_1;
644
+ var tmp = this.k8_1;
604
645
  switch (tmp) {
605
646
  case 0:
606
- this.k8_1 = 2;
607
- var tmp_0 = this.r4n_1;
647
+ this.l8_1 = 2;
648
+ var tmp_0 = this.e4p_1;
608
649
  if (!isInterface(tmp_0, ByteReadChannel)) {
609
- get_LOGGER().h2j('Response body is already transformed. Skipping ContentNegotiation for ' + this.p4n_1.toString() + '.');
650
+ get_LOGGER().c2k('Response body is already transformed. Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.');
610
651
  return null;
611
652
  }
612
653
 
613
- if (this.m4n_1.h2(this.q4n_1.a2j_1)) {
614
- get_LOGGER().h2j('Response body type ' + toString(this.q4n_1.a2j_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.p4n_1.toString() + '.'));
654
+ if (this.z4o_1.h2(this.d4p_1.v2j_1)) {
655
+ get_LOGGER().c2k('Response body type ' + toString(this.d4p_1.v2j_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.'));
615
656
  return null;
616
657
  }
617
658
 
618
- var tmp0 = this.n4n_1;
659
+ var tmp0 = this.a4p_1;
619
660
  var destination = ArrayList_init_$Create$();
620
661
  var _iterator__ex2g4s = tmp0.t();
621
662
  while (_iterator__ex2g4s.u()) {
622
663
  var element = _iterator__ex2g4s.v();
623
- if (element.e4m_1.g4m(this.s4n_1)) {
664
+ if (element.s4n_1.t4n(this.f4p_1)) {
624
665
  destination.e1(element);
625
666
  }
626
667
  }
@@ -629,7 +670,7 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
629
670
  var _iterator__ex2g4s_0 = destination.t();
630
671
  while (_iterator__ex2g4s_0.u()) {
631
672
  var item = _iterator__ex2g4s_0.v();
632
- destination_0.e1(item.c4m_1);
673
+ destination_0.e1(item.q4n_1);
633
674
  }
634
675
 
635
676
  var tmp_1;
@@ -642,16 +683,16 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
642
683
  var tmp0_elvis_lhs = tmp_1;
643
684
  var tmp_2;
644
685
  if (tmp0_elvis_lhs == null) {
645
- this.o4n_1;
646
- get_LOGGER().h2j('None of the registered converters match response with Content-Type=' + this.s4n_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.p4n_1.toString() + '.'));
686
+ this.b4p_1;
687
+ get_LOGGER().c2k('None of the registered converters match response with Content-Type=' + this.f4p_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.c4p_1.toString() + '.'));
647
688
  return null;
648
689
  } else {
649
690
  tmp_2 = tmp0_elvis_lhs;
650
691
  }
651
692
 
652
693
  var suitableConverters = tmp_2;
653
- this.j8_1 = 1;
654
- suspendResult = deserialize(suitableConverters, this.r4n_1, this.q4n_1, this.t4n_1, this);
694
+ this.k8_1 = 1;
695
+ suspendResult = deserialize(suitableConverters, this.e4p_1, this.d4p_1, this.g4p_1, this);
655
696
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
656
697
  return suspendResult;
657
698
  }
@@ -660,20 +701,20 @@ protoOf($invoke$convertResponseCOROUTINE$).r8 = function () {
660
701
  case 1:
661
702
  var result = suspendResult;
662
703
  if (!isInterface(result, ByteReadChannel)) {
663
- get_LOGGER().h2j('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.p4n_1.toString() + '.');
704
+ get_LOGGER().c2k('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.c4p_1.toString() + '.');
664
705
  }
665
706
 
666
707
  return result;
667
708
  case 2:
668
- throw this.m8_1;
709
+ throw this.n8_1;
669
710
  }
670
711
  } catch ($p) {
671
712
  var e = $p;
672
- if (this.k8_1 === 2) {
713
+ if (this.l8_1 === 2) {
673
714
  throw e;
674
715
  } else {
675
- this.j8_1 = this.k8_1;
676
- this.m8_1 = e;
716
+ this.k8_1 = this.l8_1;
717
+ this.n8_1 = e;
677
718
  }
678
719
  }
679
720
  while (true);
@@ -682,8 +723,9 @@ var properties_initialized_ContentNegotiation_kt_1ayduy;
682
723
  function _init_properties_ContentNegotiation_kt__o183go() {
683
724
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
684
725
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
726
+ supportedSuffixTypes = mapOf([to(Application_getInstance().g2l_1, 'json'), to(Application_getInstance().m2l_1, 'xml'), to(ContentType_init_$Create$('application', 'fastinfoset'), 'fastinfoset'), to(ContentType_init_$Create$('application', 'vnd.wap.wbxml'), 'wbxml'), to(Application_getInstance().p2l_1, 'zip')]);
685
727
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
686
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().rb(), PrimitiveClasses_getInstance().nb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
728
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().vb(), PrimitiveClasses_getInstance().rb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent), getKClass(ClientSSESession), getKClass(ClientSSESessionWithDeserialization)]);
687
729
  // Inline function 'io.ktor.util.AttributeKey' call
688
730
  var name = 'ExcludedContentTypesAttr';
689
731
  // Inline function 'io.ktor.util.reflect.typeInfo' call
@@ -709,19 +751,6 @@ function _init_properties_ContentNegotiation_kt__o183go() {
709
751
  ContentNegotiation = createClientPlugin('ContentNegotiation', tmp_2, ContentNegotiation$lambda);
710
752
  }
711
753
  }
712
- function JsonContentTypeMatcher() {
713
- }
714
- protoOf(JsonContentTypeMatcher).g4m = function (contentType) {
715
- if (contentType.t2l(Application_getInstance().z2j_1)) {
716
- return true;
717
- }
718
- var value = contentType.s2l().toString();
719
- return Application_getInstance().t2k(value) && endsWith(value, '+json', true);
720
- };
721
- var JsonContentTypeMatcher_instance;
722
- function JsonContentTypeMatcher_getInstance() {
723
- return JsonContentTypeMatcher_instance;
724
- }
725
754
  function get_DefaultIgnoredTypes() {
726
755
  _init_properties_DefaultIgnoredTypes_web_kt__6eddjw();
727
756
  return DefaultIgnoredTypes;
@@ -736,10 +765,7 @@ function _init_properties_DefaultIgnoredTypes_web_kt__6eddjw() {
736
765
  }
737
766
  }
738
767
  //region block: post-declaration
739
- protoOf(ContentNegotiationConfig).k3b = register$default;
740
- //endregion
741
- //region block: init
742
- JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();
768
+ protoOf(ContentNegotiationConfig).s3c = register$default;
743
769
  //endregion
744
770
  //region block: exports
745
771
  export {
@@ -747,4 +773,4 @@ export {
747
773
  };
748
774
  //endregion
749
775
 
750
-
776
+ //# sourceMappingURL=ktor-ktor-client-content-negotiation.mjs.map