game_client_logic_deb 1.8.310 → 1.8.318

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 (37) hide show
  1. package/Kosi-Kaverit-kaverit.js +78 -78
  2. package/Kosi-Kodein-kodein-di.js +647 -647
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1507 -1507
  4. package/Logic_Debertz-core.js +2256 -2206
  5. package/Logic_Debertz-core.js.map +1 -1
  6. package/Logic_Debertz-engine.js +15455 -15298
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_client.d.ts +21 -15
  9. package/Logic_Debertz-game_client.js +5437 -4793
  10. package/Logic_Debertz-game_client.js.map +1 -1
  11. package/kotlin-kotlin-stdlib.js +2877 -2635
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/kotlinx-atomicfu.js +25 -25
  14. package/kotlinx-coroutines-core.js +2852 -2852
  15. package/kotlinx-coroutines-core.js.map +1 -1
  16. package/kotlinx-io-kotlinx-io-core.js +362 -362
  17. package/kotlinx-serialization-kotlinx-serialization-core.js +2038 -2038
  18. package/kotlinx-serialization-kotlinx-serialization-json.js +1569 -1569
  19. package/ktor-ktor-client-content-negotiation.js +219 -219
  20. package/ktor-ktor-client-core.js +2528 -2528
  21. package/ktor-ktor-client-logging.js +553 -553
  22. package/ktor-ktor-events.js +12 -12
  23. package/ktor-ktor-http.js +762 -762
  24. package/ktor-ktor-io.js +1659 -1659
  25. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  26. package/ktor-ktor-serialization-kotlinx.js +271 -271
  27. package/ktor-ktor-serialization.js +130 -130
  28. package/ktor-ktor-utils.js +741 -741
  29. package/ktor-ktor-websockets.js +60 -60
  30. package/package.json +1 -1
  31. package/raspberry-cardgame-lib-core.js +341 -318
  32. package/raspberry-cardgame-lib-core.js.map +1 -1
  33. package/raspberry-cardgame-lib-logger.js +102 -102
  34. package/raspberry-cardgame-lib-random.js +993 -978
  35. package/raspberry-cardgame-lib-random.js.map +1 -1
  36. package/secure-random-secure-random.js +18 -18
  37. package/uuid.js +33 -33
@@ -27,20 +27,20 @@
27
27
  }(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization, kotlin_io_ktor_ktor_io) {
28
28
  'use strict';
29
29
  //region block: imports
30
- var protoOf = kotlin_kotlin.$_$.vc;
31
- var initMetadataForClass = kotlin_kotlin.$_$.ub;
32
- var CoroutineImpl = kotlin_kotlin.$_$.wa;
33
- var Unit_instance = kotlin_kotlin.$_$.p5;
34
- var THROW_CCE = kotlin_kotlin.$_$.tg;
30
+ var protoOf = kotlin_kotlin.$_$.wc;
31
+ var initMetadataForClass = kotlin_kotlin.$_$.vb;
32
+ var CoroutineImpl = kotlin_kotlin.$_$.xa;
33
+ var Unit_instance = kotlin_kotlin.$_$.q5;
34
+ var THROW_CCE = kotlin_kotlin.$_$.ug;
35
35
  var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.h;
36
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ha;
37
- var initMetadataForLambda = kotlin_kotlin.$_$.yb;
36
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
37
+ var initMetadataForLambda = kotlin_kotlin.$_$.zb;
38
38
  var VOID = kotlin_kotlin.$_$.f;
39
39
  var HttpResponseContainer = kotlin_io_ktor_ktor_client_core.$_$.p;
40
40
  var contentType = kotlin_io_ktor_ktor_http.$_$.e1;
41
41
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.f;
42
- var plus = kotlin_kotlin.$_$.x8;
43
- var toMutableSet = kotlin_kotlin.$_$.z9;
42
+ var plus = kotlin_kotlin.$_$.y8;
43
+ var toMutableSet = kotlin_kotlin.$_$.aa;
44
44
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
45
45
  var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.b;
46
46
  var register$default = kotlin_io_ktor_ktor_serialization.$_$.b;
@@ -49,38 +49,38 @@
49
49
  var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
50
50
  var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.g;
51
51
  var HttpClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.j;
52
- var initMetadataForObject = kotlin_kotlin.$_$.zb;
53
- var toString = kotlin_kotlin.$_$.zc;
52
+ var initMetadataForObject = kotlin_kotlin.$_$.ac;
53
+ var toString = kotlin_kotlin.$_$.ad;
54
54
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
55
55
  var accept = kotlin_io_ktor_ktor_client_core.$_$.m;
56
- var Collection = kotlin_kotlin.$_$.r5;
57
- var isInterface = kotlin_kotlin.$_$.ic;
56
+ var Collection = kotlin_kotlin.$_$.s5;
57
+ var isInterface = kotlin_kotlin.$_$.jc;
58
58
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.p;
59
59
  var getKClassFromExpression = kotlin_kotlin.$_$.d;
60
60
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.d1;
61
61
  var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.h;
62
- var Unit = kotlin_kotlin.$_$.eh;
62
+ var Unit = kotlin_kotlin.$_$.fh;
63
63
  var charset = kotlin_io_ktor_ktor_http.$_$.b1;
64
64
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.g;
65
- var ensureNotNull = kotlin_kotlin.$_$.kh;
65
+ var ensureNotNull = kotlin_kotlin.$_$.lh;
66
66
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
67
- var equals = kotlin_kotlin.$_$.mb;
68
- var joinToString = kotlin_kotlin.$_$.f8;
69
- var initMetadataForCoroutine = kotlin_kotlin.$_$.wb;
67
+ var equals = kotlin_kotlin.$_$.nb;
68
+ var joinToString = kotlin_kotlin.$_$.g8;
69
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
70
70
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.h1;
71
- var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
71
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
72
72
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
73
73
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
74
- var Exception = kotlin_kotlin.$_$.kg;
74
+ var Exception = kotlin_kotlin.$_$.lg;
75
75
  var Exception_init_$Init$ = kotlin_kotlin.$_$.l1;
76
- var captureStack = kotlin_kotlin.$_$.eb;
76
+ var captureStack = kotlin_kotlin.$_$.fb;
77
77
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
78
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.e5;
78
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.f5;
79
79
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.s;
80
80
  var getKClass = kotlin_kotlin.$_$.e;
81
- var setOf = kotlin_kotlin.$_$.h9;
82
- var startsWith = kotlin_kotlin.$_$.bf;
83
- var endsWith = kotlin_kotlin.$_$.ee;
81
+ var setOf = kotlin_kotlin.$_$.i9;
82
+ var startsWith = kotlin_kotlin.$_$.cf;
83
+ var endsWith = kotlin_kotlin.$_$.fe;
84
84
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.y;
85
85
  //endregion
86
86
  //region block: pre-declaration
@@ -107,61 +107,61 @@
107
107
  }
108
108
  var DefaultCommonIgnoredTypes;
109
109
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
110
- this.d40_1 = converter;
111
- this.e40_1 = contentTypeToSend;
112
- this.f40_1 = contentTypeMatcher;
110
+ this.r40_1 = converter;
111
+ this.s40_1 = contentTypeToSend;
112
+ this.t40_1 = contentTypeMatcher;
113
113
  }
114
114
  function defaultMatcher($this, pattern) {
115
115
  return new ContentNegotiation$Config$defaultMatcher$1(pattern);
116
116
  }
117
117
  function ContentNegotiation$Config$defaultMatcher$1($pattern) {
118
- this.g40_1 = $pattern;
118
+ this.u40_1 = $pattern;
119
119
  }
120
- protoOf(ContentNegotiation$Config$defaultMatcher$1).h40 = function (contentType) {
121
- return contentType.o2e(this.g40_1);
120
+ protoOf(ContentNegotiation$Config$defaultMatcher$1).v40 = function (contentType) {
121
+ return contentType.c2f(this.u40_1);
122
122
  };
123
123
  function ContentNegotiation$Plugin$install$slambda($plugin, resultContinuation) {
124
- this.q40_1 = $plugin;
124
+ this.e41_1 = $plugin;
125
125
  CoroutineImpl.call(this, resultContinuation);
126
126
  }
127
- protoOf(ContentNegotiation$Plugin$install$slambda).b2t = function ($this$intercept, it, $completion) {
128
- var tmp = this.c2t($this$intercept, it, $completion);
129
- tmp.h9_1 = Unit_instance;
130
- tmp.i9_1 = null;
131
- return tmp.n9();
127
+ protoOf(ContentNegotiation$Plugin$install$slambda).p2t = function ($this$intercept, it, $completion) {
128
+ var tmp = this.q2t($this$intercept, it, $completion);
129
+ tmp.l9_1 = Unit_instance;
130
+ tmp.m9_1 = null;
131
+ return tmp.r9();
132
132
  };
133
- protoOf(ContentNegotiation$Plugin$install$slambda).y9 = function (p1, p2, $completion) {
133
+ protoOf(ContentNegotiation$Plugin$install$slambda).ca = function (p1, p2, $completion) {
134
134
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
135
- return this.b2t(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
135
+ return this.p2t(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
136
136
  };
137
- protoOf(ContentNegotiation$Plugin$install$slambda).n9 = function () {
138
- var suspendResult = this.h9_1;
137
+ protoOf(ContentNegotiation$Plugin$install$slambda).r9 = function () {
138
+ var suspendResult = this.l9_1;
139
139
  $sm: do
140
140
  try {
141
- var tmp = this.f9_1;
141
+ var tmp = this.j9_1;
142
142
  switch (tmp) {
143
143
  case 0:
144
- this.g9_1 = 3;
145
- this.f9_1 = 1;
146
- suspendResult = this.q40_1.x40(this.r40_1.y2b_1, this.r40_1.b2b(), this);
144
+ this.k9_1 = 3;
145
+ this.j9_1 = 1;
146
+ suspendResult = this.e41_1.l41(this.f41_1.m2c_1, this.f41_1.p2b(), this);
147
147
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
148
148
  return suspendResult;
149
149
  }
150
150
 
151
151
  continue $sm;
152
152
  case 1:
153
- this.t40_1 = suspendResult;
153
+ this.h41_1 = suspendResult;
154
154
  var tmp_0 = this;
155
155
  var tmp_1;
156
- if (this.t40_1 == null) {
156
+ if (this.h41_1 == null) {
157
157
  return Unit_instance;
158
158
  } else {
159
- tmp_1 = this.t40_1;
159
+ tmp_1 = this.h41_1;
160
160
  }
161
161
 
162
- tmp_0.u40_1 = tmp_1;
163
- this.f9_1 = 2;
164
- suspendResult = this.r40_1.c2b(this.u40_1, this);
162
+ tmp_0.i41_1 = tmp_1;
163
+ this.j9_1 = 2;
164
+ suspendResult = this.f41_1.q2b(this.i41_1, this);
165
165
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
166
166
  return suspendResult;
167
167
  }
@@ -170,91 +170,91 @@
170
170
  case 2:
171
171
  return Unit_instance;
172
172
  case 3:
173
- throw this.i9_1;
173
+ throw this.m9_1;
174
174
  }
175
175
  } catch ($p) {
176
176
  var e = $p;
177
- if (this.g9_1 === 3) {
177
+ if (this.k9_1 === 3) {
178
178
  throw e;
179
179
  } else {
180
- this.f9_1 = this.g9_1;
181
- this.i9_1 = e;
180
+ this.j9_1 = this.k9_1;
181
+ this.m9_1 = e;
182
182
  }
183
183
  }
184
184
  while (true);
185
185
  };
186
- protoOf(ContentNegotiation$Plugin$install$slambda).c2t = function ($this$intercept, it, completion) {
187
- var i = new ContentNegotiation$Plugin$install$slambda(this.q40_1, completion);
188
- i.r40_1 = $this$intercept;
189
- i.s40_1 = it;
186
+ protoOf(ContentNegotiation$Plugin$install$slambda).q2t = function ($this$intercept, it, completion) {
187
+ var i = new ContentNegotiation$Plugin$install$slambda(this.e41_1, completion);
188
+ i.f41_1 = $this$intercept;
189
+ i.g41_1 = it;
190
190
  return i;
191
191
  };
192
192
  function ContentNegotiation$Plugin$install$slambda_0($plugin, resultContinuation) {
193
193
  var i = new ContentNegotiation$Plugin$install$slambda($plugin, resultContinuation);
194
194
  var l = function ($this$intercept, it, $completion) {
195
- return i.b2t($this$intercept, it, $completion);
195
+ return i.p2t($this$intercept, it, $completion);
196
196
  };
197
197
  l.$arity = 2;
198
198
  return l;
199
199
  }
200
200
  function ContentNegotiation$Plugin$install$slambda_1($plugin, resultContinuation) {
201
- this.g41_1 = $plugin;
201
+ this.u41_1 = $plugin;
202
202
  CoroutineImpl.call(this, resultContinuation);
203
203
  }
204
- protoOf(ContentNegotiation$Plugin$install$slambda_1).v2t = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
205
- var tmp = this.w2t($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
206
- tmp.h9_1 = Unit_instance;
207
- tmp.i9_1 = null;
208
- return tmp.n9();
204
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).j2u = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
205
+ var tmp = this.k2u($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
206
+ tmp.l9_1 = Unit_instance;
207
+ tmp.m9_1 = null;
208
+ return tmp.r9();
209
209
  };
210
- protoOf(ContentNegotiation$Plugin$install$slambda_1).y9 = function (p1, p2, $completion) {
210
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).ca = function (p1, p2, $completion) {
211
211
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
212
- return this.v2t(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
212
+ return this.j2u(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
213
213
  };
214
- protoOf(ContentNegotiation$Plugin$install$slambda_1).n9 = function () {
215
- var suspendResult = this.h9_1;
214
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).r9 = function () {
215
+ var suspendResult = this.l9_1;
216
216
  $sm: do
217
217
  try {
218
- var tmp = this.f9_1;
218
+ var tmp = this.j9_1;
219
219
  switch (tmp) {
220
220
  case 0:
221
- this.g9_1 = 3;
222
- this.j41_1 = this.i41_1.qe();
223
- this.k41_1 = this.i41_1.re();
221
+ this.k9_1 = 3;
222
+ this.x41_1 = this.w41_1.ue();
223
+ this.y41_1 = this.w41_1.ve();
224
224
  var tmp_0 = this;
225
- var tmp0_elvis_lhs = contentType(this.h41_1.y2b_1.i2t());
225
+ var tmp0_elvis_lhs = contentType(this.v41_1.m2c_1.w2t());
226
226
  var tmp_1;
227
227
  if (tmp0_elvis_lhs == null) {
228
- this.h41_1;
229
- get_LOGGER().u2c('Response doesn\'t have "Content-Type" header, skipping ContentNegotiation plugin');
228
+ this.v41_1;
229
+ get_LOGGER().i2d('Response doesn\'t have "Content-Type" header, skipping ContentNegotiation plugin');
230
230
  return Unit_instance;
231
231
  } else {
232
232
  tmp_1 = tmp0_elvis_lhs;
233
233
  }
234
234
 
235
- tmp_0.l41_1 = tmp_1;
236
- this.m41_1 = suitableCharset(this.h41_1.y2b_1.r2w().w2i());
237
- this.f9_1 = 1;
238
- suspendResult = this.g41_1.q41(this.h41_1.y2b_1.r2w().u2w(), this.j41_1, this.k41_1, this.l41_1, this.m41_1, this);
235
+ tmp_0.z41_1 = tmp_1;
236
+ this.a42_1 = suitableCharset(this.v41_1.m2c_1.f2x().k2j());
237
+ this.j9_1 = 1;
238
+ suspendResult = this.u41_1.e42(this.v41_1.m2c_1.f2x().i2x(), this.x41_1, this.y41_1, this.z41_1, this.a42_1, this);
239
239
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
240
240
  return suspendResult;
241
241
  }
242
242
 
243
243
  continue $sm;
244
244
  case 1:
245
- this.n41_1 = suspendResult;
245
+ this.b42_1 = suspendResult;
246
246
  var tmp_2 = this;
247
247
  var tmp_3;
248
- if (this.n41_1 == null) {
248
+ if (this.b42_1 == null) {
249
249
  return Unit_instance;
250
250
  } else {
251
- tmp_3 = this.n41_1;
251
+ tmp_3 = this.b42_1;
252
252
  }
253
253
 
254
- tmp_2.o41_1 = tmp_3;
255
- this.p41_1 = new HttpResponseContainer(this.j41_1, this.o41_1);
256
- this.f9_1 = 2;
257
- suspendResult = this.h41_1.c2b(this.p41_1, this);
254
+ tmp_2.c42_1 = tmp_3;
255
+ this.d42_1 = new HttpResponseContainer(this.x41_1, this.c42_1);
256
+ this.j9_1 = 2;
257
+ suspendResult = this.v41_1.q2b(this.d42_1, this);
258
258
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
259
259
  return suspendResult;
260
260
  }
@@ -263,76 +263,76 @@
263
263
  case 2:
264
264
  return Unit_instance;
265
265
  case 3:
266
- throw this.i9_1;
266
+ throw this.m9_1;
267
267
  }
268
268
  } catch ($p) {
269
269
  var e = $p;
270
- if (this.g9_1 === 3) {
270
+ if (this.k9_1 === 3) {
271
271
  throw e;
272
272
  } else {
273
- this.f9_1 = this.g9_1;
274
- this.i9_1 = e;
273
+ this.j9_1 = this.k9_1;
274
+ this.m9_1 = e;
275
275
  }
276
276
  }
277
277
  while (true);
278
278
  };
279
- protoOf(ContentNegotiation$Plugin$install$slambda_1).w2t = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
280
- var i = new ContentNegotiation$Plugin$install$slambda_1(this.g41_1, completion);
281
- i.h41_1 = $this$intercept;
282
- i.i41_1 = _name_for_destructuring_parameter_0__wldtmu;
279
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).k2u = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
280
+ var i = new ContentNegotiation$Plugin$install$slambda_1(this.u41_1, completion);
281
+ i.v41_1 = $this$intercept;
282
+ i.w41_1 = _name_for_destructuring_parameter_0__wldtmu;
283
283
  return i;
284
284
  };
285
285
  function ContentNegotiation$Plugin$install$slambda_2($plugin, resultContinuation) {
286
286
  var i = new ContentNegotiation$Plugin$install$slambda_1($plugin, resultContinuation);
287
287
  var l = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
288
- return i.v2t($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
288
+ return i.j2u($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
289
289
  };
290
290
  l.$arity = 2;
291
291
  return l;
292
292
  }
293
293
  function Config() {
294
- this.r41_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
294
+ this.f42_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
295
295
  var tmp = this;
296
296
  // Inline function 'kotlin.collections.mutableListOf' call
297
- tmp.s41_1 = ArrayList_init_$Create$();
297
+ tmp.g42_1 = ArrayList_init_$Create$();
298
298
  }
299
- protoOf(Config).q2p = function (contentType, converter, configuration) {
300
- var matcher = contentType.equals(Application_getInstance().h2d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
301
- this.t41(contentType, converter, matcher, configuration);
299
+ protoOf(Config).e2q = function (contentType, converter, configuration) {
300
+ var matcher = contentType.equals(Application_getInstance().v2d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
301
+ this.h42(contentType, converter, matcher, configuration);
302
302
  };
303
- protoOf(Config).t41 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
303
+ protoOf(Config).h42 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
304
304
  // Inline function 'kotlin.apply' call
305
305
  // Inline function 'kotlin.contracts.contract' call
306
306
  configuration(converter);
307
307
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
308
- this.s41_1.e(registration);
308
+ this.g42_1.e(registration);
309
309
  };
310
310
  function Plugin() {
311
311
  Plugin_instance = this;
312
- this.u41_1 = new AttributeKey('ContentNegotiation');
312
+ this.i42_1 = new AttributeKey('ContentNegotiation');
313
313
  }
314
314
  protoOf(Plugin).t = function () {
315
- return this.u41_1;
315
+ return this.i42_1;
316
316
  };
317
- protoOf(Plugin).v41 = function (block) {
317
+ protoOf(Plugin).j42 = function (block) {
318
318
  // Inline function 'kotlin.apply' call
319
319
  var this_0 = new Config();
320
320
  // Inline function 'kotlin.contracts.contract' call
321
321
  block(this_0);
322
322
  var config = this_0;
323
- return new ContentNegotiation(config.s41_1, config.r41_1);
323
+ return new ContentNegotiation(config.g42_1, config.f42_1);
324
324
  };
325
- protoOf(Plugin).m2v = function (block) {
326
- return this.v41(block);
325
+ protoOf(Plugin).a2w = function (block) {
326
+ return this.j42(block);
327
327
  };
328
- protoOf(Plugin).w41 = function (plugin, scope) {
329
- var tmp = Phases_getInstance().g31_1;
330
- scope.h2s_1.c2c(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
331
- var tmp_0 = Phases_getInstance_0().h2v_1;
332
- scope.i2s_1.c2c(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
328
+ protoOf(Plugin).k42 = function (plugin, scope) {
329
+ var tmp = Phases_getInstance().u31_1;
330
+ scope.v2s_1.q2c(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
331
+ var tmp_0 = Phases_getInstance_0().v2v_1;
332
+ scope.w2s_1.q2c(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
333
333
  };
334
- protoOf(Plugin).n2v = function (plugin, scope) {
335
- return this.w41(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
334
+ protoOf(Plugin).b2w = function (plugin, scope) {
335
+ return this.k42(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
336
336
  };
337
337
  var Plugin_instance;
338
338
  function Plugin_getInstance() {
@@ -341,43 +341,43 @@
341
341
  return Plugin_instance;
342
342
  }
343
343
  function ContentNegotiation$convertRequest$lambda(it) {
344
- return toString(it.d40_1);
344
+ return toString(it.r40_1);
345
345
  }
346
346
  function $convertRequestCOROUTINE$0(_this__u8e3s4, request, body, resultContinuation) {
347
347
  CoroutineImpl.call(this, resultContinuation);
348
- this.f42_1 = _this__u8e3s4;
349
- this.g42_1 = request;
350
- this.h42_1 = body;
348
+ this.t42_1 = _this__u8e3s4;
349
+ this.u42_1 = request;
350
+ this.v42_1 = body;
351
351
  }
352
- protoOf($convertRequestCOROUTINE$0).n9 = function () {
353
- var suspendResult = this.h9_1;
352
+ protoOf($convertRequestCOROUTINE$0).r9 = function () {
353
+ var suspendResult = this.l9_1;
354
354
  $sm: do
355
355
  try {
356
- var tmp = this.f9_1;
356
+ var tmp = this.j9_1;
357
357
  switch (tmp) {
358
358
  case 0:
359
- this.g9_1 = 7;
360
- var tmp0_iterator = this.f42_1.v40_1.j();
359
+ this.k9_1 = 7;
360
+ var tmp0_iterator = this.t42_1.j41_1.j();
361
361
  while (tmp0_iterator.k()) {
362
362
  var element = tmp0_iterator.l();
363
363
  l$ret$1: do {
364
- get_LOGGER().u2c('Adding Accept=' + element.e40_1.k2e_1 + ' header for ' + this.g42_1.h2u_1.toString());
365
- if (this.g42_1.j2u_1.c29(HttpHeaders_getInstance().t2e_1, element.e40_1.toString())) {
364
+ get_LOGGER().i2d('Adding Accept=' + element.s40_1.y2e_1 + ' header for ' + this.u42_1.v2u_1.toString());
365
+ if (this.u42_1.x2u_1.q29(HttpHeaders_getInstance().h2f_1, element.s40_1.toString())) {
366
366
  break l$ret$1;
367
367
  }
368
- accept(this.g42_1, element.e40_1);
368
+ accept(this.u42_1, element.s40_1);
369
369
  }
370
370
  while (false);
371
371
  }
372
372
 
373
373
  var tmp_0;
374
- var tmp_1 = this.h42_1;
374
+ var tmp_1 = this.v42_1;
375
375
  if (tmp_1 instanceof OutgoingContent) {
376
376
  tmp_0 = true;
377
377
  } else {
378
378
  var tmp$ret$2;
379
379
  l$ret$3: do {
380
- var this_0 = this.f42_1.w40_1;
380
+ var this_0 = this.t42_1.k41_1;
381
381
  var tmp_2;
382
382
  if (isInterface(this_0, Collection)) {
383
383
  tmp_2 = this_0.p();
@@ -391,7 +391,7 @@
391
391
  var tmp0_iterator_0 = this_0.j();
392
392
  while (tmp0_iterator_0.k()) {
393
393
  var element_0 = tmp0_iterator_0.l();
394
- if (element_0.na(this.h42_1)) {
394
+ if (element_0.ra(this.v42_1)) {
395
395
  tmp$ret$2 = true;
396
396
  break l$ret$3;
397
397
  }
@@ -403,36 +403,36 @@
403
403
  }
404
404
 
405
405
  if (tmp_0) {
406
- get_LOGGER().u2c('Body type ' + toString(getKClassFromExpression(this.h42_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.g42_1.h2u_1.toString() + '.'));
406
+ get_LOGGER().i2d('Body type ' + toString(getKClassFromExpression(this.v42_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.u42_1.v2u_1.toString() + '.'));
407
407
  return null;
408
408
  }
409
409
 
410
410
  var tmp_3 = this;
411
- var tmp0_elvis_lhs = contentType_0(this.g42_1);
411
+ var tmp0_elvis_lhs = contentType_0(this.u42_1);
412
412
  var tmp_4;
413
413
  if (tmp0_elvis_lhs == null) {
414
- this.f42_1;
415
- get_LOGGER().u2c("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.g42_1.h2u_1.toString() + '.');
414
+ this.t42_1;
415
+ get_LOGGER().i2d("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.u42_1.v2u_1.toString() + '.');
416
416
  return null;
417
417
  } else {
418
418
  tmp_4 = tmp0_elvis_lhs;
419
419
  }
420
420
 
421
- tmp_3.i42_1 = tmp_4;
422
- var tmp_5 = this.h42_1;
421
+ tmp_3.w42_1 = tmp_4;
422
+ var tmp_5 = this.v42_1;
423
423
  if (tmp_5 instanceof Unit) {
424
- get_LOGGER().u2c('Sending empty body for ' + this.g42_1.h2u_1.toString());
425
- this.g42_1.j2u_1.h29(HttpHeaders_getInstance().l2f_1);
424
+ get_LOGGER().i2d('Sending empty body for ' + this.u42_1.v2u_1.toString());
425
+ this.u42_1.x2u_1.v29(HttpHeaders_getInstance().z2f_1);
426
426
  return EmptyContent_getInstance();
427
427
  }
428
428
 
429
429
  var tmp_6 = this;
430
- var this_1 = this.f42_1.v40_1;
430
+ var this_1 = this.t42_1.j41_1;
431
431
  var destination = ArrayList_init_$Create$();
432
432
  var tmp0_iterator_1 = this_1.j();
433
433
  while (tmp0_iterator_1.k()) {
434
434
  var element_1 = tmp0_iterator_1.l();
435
- if (element_1.f40_1.h40(this.i42_1)) {
435
+ if (element_1.t40_1.v40(this.w42_1)) {
436
436
  destination.e(element_1);
437
437
  }
438
438
  }
@@ -447,42 +447,42 @@
447
447
  var tmp1_elvis_lhs = tmp_7;
448
448
  var tmp_8;
449
449
  if (tmp1_elvis_lhs == null) {
450
- this.f42_1;
451
- get_LOGGER().u2c('None of the registered converters match request Content-Type=' + this.i42_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.g42_1.h2u_1.toString() + '.'));
450
+ this.t42_1;
451
+ get_LOGGER().i2d('None of the registered converters match request Content-Type=' + this.w42_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.u42_1.v2u_1.toString() + '.'));
452
452
  return null;
453
453
  } else {
454
454
  tmp_8 = tmp1_elvis_lhs;
455
455
  }
456
456
 
457
- tmp_6.j42_1 = tmp_8;
458
- if (this.g42_1.k3j() == null) {
459
- get_LOGGER().u2c('Request has unknown body type. Skipping ContentNegotiation for ' + this.g42_1.h2u_1.toString() + '.');
457
+ tmp_6.x42_1 = tmp_8;
458
+ if (this.u42_1.y3j() == null) {
459
+ get_LOGGER().i2d('Request has unknown body type. Skipping ContentNegotiation for ' + this.u42_1.v2u_1.toString() + '.');
460
460
  return null;
461
461
  }
462
462
 
463
- this.g42_1.j2u_1.h29(HttpHeaders_getInstance().l2f_1);
464
- this.f9_1 = 1;
463
+ this.u42_1.x2u_1.v29(HttpHeaders_getInstance().z2f_1);
464
+ this.j9_1 = 1;
465
465
  continue $sm;
466
466
  case 1:
467
467
  var tmp_9 = this;
468
- tmp_9.l42_1 = this.j42_1;
469
- this.m42_1 = this.l42_1.j();
470
- this.f9_1 = 2;
468
+ tmp_9.z42_1 = this.x42_1;
469
+ this.a43_1 = this.z42_1.j();
470
+ this.j9_1 = 2;
471
471
  continue $sm;
472
472
  case 2:
473
- if (!this.m42_1.k()) {
474
- this.f9_1 = 5;
473
+ if (!this.a43_1.k()) {
474
+ this.j9_1 = 5;
475
475
  continue $sm;
476
476
  }
477
477
 
478
- this.n42_1 = this.m42_1.l();
478
+ this.b43_1 = this.a43_1.l();
479
479
  var tmp_10 = this;
480
- tmp_10.o42_1 = this.n42_1;
481
- this.f9_1 = 3;
482
- var tmp0_elvis_lhs_0 = charset(this.i42_1);
483
- var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().y20_1 : tmp0_elvis_lhs_0;
484
- var tmp_12 = ensureNotNull(this.g42_1.k3j());
485
- var this_2 = this.h42_1;
480
+ tmp_10.c43_1 = this.b43_1;
481
+ this.j9_1 = 3;
482
+ var tmp0_elvis_lhs_0 = charset(this.w42_1);
483
+ var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().m21_1 : tmp0_elvis_lhs_0;
484
+ var tmp_12 = ensureNotNull(this.u42_1.y3j());
485
+ var this_2 = this.v42_1;
486
486
  var tmp_13;
487
487
  if (!equals(this_2, NullBody_instance)) {
488
488
  tmp_13 = this_2;
@@ -490,7 +490,7 @@
490
490
  tmp_13 = null;
491
491
  }
492
492
 
493
- suspendResult = this.o42_1.d40_1.t2p(this.i42_1, tmp_11, tmp_12, tmp_13, this);
493
+ suspendResult = this.c43_1.r40_1.h2q(this.w42_1, tmp_11, tmp_12, tmp_13, this);
494
494
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
495
495
  return suspendResult;
496
496
  }
@@ -499,37 +499,37 @@
499
499
  case 3:
500
500
  var result = suspendResult;
501
501
  if (!(result == null)) {
502
- get_LOGGER().u2c('Converted request body using ' + toString(this.o42_1.d40_1) + ' for ' + this.g42_1.h2u_1.toString());
502
+ get_LOGGER().i2d('Converted request body using ' + toString(this.c43_1.r40_1) + ' for ' + this.u42_1.v2u_1.toString());
503
503
  }
504
504
 
505
505
  var result_0 = result;
506
506
  if (!(result_0 == null)) {
507
- this.k42_1 = result_0;
508
- this.f9_1 = 6;
507
+ this.y42_1 = result_0;
508
+ this.j9_1 = 6;
509
509
  continue $sm;
510
510
  } else {
511
- this.f9_1 = 4;
511
+ this.j9_1 = 4;
512
512
  continue $sm;
513
513
  }
514
514
 
515
515
  case 4:
516
- this.f9_1 = 2;
516
+ this.j9_1 = 2;
517
517
  continue $sm;
518
518
  case 5:
519
- this.k42_1 = null;
519
+ this.y42_1 = null;
520
520
  if (false) {
521
- this.f9_1 = 1;
521
+ this.j9_1 = 1;
522
522
  continue $sm;
523
523
  }
524
524
 
525
- this.f9_1 = 6;
525
+ this.j9_1 = 6;
526
526
  continue $sm;
527
527
  case 6:
528
- var tmp2_elvis_lhs = this.k42_1;
528
+ var tmp2_elvis_lhs = this.y42_1;
529
529
  var tmp_14;
530
530
  if (tmp2_elvis_lhs == null) {
531
- var tmp_15 = "Can't convert " + toString(this.h42_1) + ' with contentType ' + this.i42_1.toString() + ' using converters ';
532
- throw new ContentConverterException(tmp_15 + joinToString(this.j42_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
531
+ var tmp_15 = "Can't convert " + toString(this.v42_1) + ' with contentType ' + this.w42_1.toString() + ' using converters ';
532
+ throw new ContentConverterException(tmp_15 + joinToString(this.x42_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
533
533
  } else {
534
534
  tmp_14 = tmp2_elvis_lhs;
535
535
  }
@@ -537,54 +537,54 @@
537
537
  var serializedContent = tmp_14;
538
538
  return serializedContent;
539
539
  case 7:
540
- throw this.i9_1;
540
+ throw this.m9_1;
541
541
  }
542
542
  } catch ($p) {
543
543
  var e = $p;
544
- if (this.g9_1 === 7) {
544
+ if (this.k9_1 === 7) {
545
545
  throw e;
546
546
  } else {
547
- this.f9_1 = this.g9_1;
548
- this.i9_1 = e;
547
+ this.j9_1 = this.k9_1;
548
+ this.m9_1 = e;
549
549
  }
550
550
  }
551
551
  while (true);
552
552
  };
553
553
  function $convertResponseCOROUTINE$1(_this__u8e3s4, requestUrl, info, body, responseContentType, charset, resultContinuation) {
554
554
  CoroutineImpl.call(this, resultContinuation);
555
- this.x42_1 = _this__u8e3s4;
556
- this.y42_1 = requestUrl;
557
- this.z42_1 = info;
558
- this.a43_1 = body;
559
- this.b43_1 = responseContentType;
560
- this.c43_1 = charset;
555
+ this.l43_1 = _this__u8e3s4;
556
+ this.m43_1 = requestUrl;
557
+ this.n43_1 = info;
558
+ this.o43_1 = body;
559
+ this.p43_1 = responseContentType;
560
+ this.q43_1 = charset;
561
561
  }
562
- protoOf($convertResponseCOROUTINE$1).n9 = function () {
563
- var suspendResult = this.h9_1;
562
+ protoOf($convertResponseCOROUTINE$1).r9 = function () {
563
+ var suspendResult = this.l9_1;
564
564
  $sm: do
565
565
  try {
566
- var tmp = this.f9_1;
566
+ var tmp = this.j9_1;
567
567
  switch (tmp) {
568
568
  case 0:
569
- this.g9_1 = 2;
570
- var tmp_0 = this.a43_1;
569
+ this.k9_1 = 2;
570
+ var tmp_0 = this.o43_1;
571
571
  if (!isInterface(tmp_0, ByteReadChannel)) {
572
- get_LOGGER().u2c('Response body is already transformed. Skipping ContentNegotiation for ' + this.y42_1.toString() + '.');
572
+ get_LOGGER().i2d('Response body is already transformed. Skipping ContentNegotiation for ' + this.m43_1.toString() + '.');
573
573
  return null;
574
574
  }
575
575
 
576
- if (this.x42_1.w40_1.s1(this.z42_1.p2c_1)) {
577
- get_LOGGER().u2c('Response body type ' + toString(this.z42_1.p2c_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.y42_1.toString() + '.'));
576
+ if (this.l43_1.k41_1.v1(this.n43_1.d2d_1)) {
577
+ get_LOGGER().i2d('Response body type ' + toString(this.n43_1.d2d_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.m43_1.toString() + '.'));
578
578
  return null;
579
579
  }
580
580
 
581
581
  var tmp_1 = this;
582
- var this_0 = this.x42_1.v40_1;
582
+ var this_0 = this.l43_1.j41_1;
583
583
  var destination = ArrayList_init_$Create$();
584
584
  var tmp0_iterator = this_0.j();
585
585
  while (tmp0_iterator.k()) {
586
586
  var element = tmp0_iterator.l();
587
- if (element.f40_1.h40(this.b43_1)) {
587
+ if (element.t40_1.v40(this.p43_1)) {
588
588
  destination.e(element);
589
589
  }
590
590
  }
@@ -593,7 +593,7 @@
593
593
  var tmp0_iterator_0 = destination.j();
594
594
  while (tmp0_iterator_0.k()) {
595
595
  var item = tmp0_iterator_0.l();
596
- destination_0.e(item.d40_1);
596
+ destination_0.e(item.r40_1);
597
597
  }
598
598
 
599
599
  var tmp_2;
@@ -606,16 +606,16 @@
606
606
  var tmp0_elvis_lhs = tmp_2;
607
607
  var tmp_3;
608
608
  if (tmp0_elvis_lhs == null) {
609
- this.x42_1;
610
- get_LOGGER().u2c('None of the registered converters match response with Content-Type=' + this.b43_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.y42_1.toString() + '.'));
609
+ this.l43_1;
610
+ get_LOGGER().i2d('None of the registered converters match response with Content-Type=' + this.p43_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.m43_1.toString() + '.'));
611
611
  return null;
612
612
  } else {
613
613
  tmp_3 = tmp0_elvis_lhs;
614
614
  }
615
615
 
616
- tmp_1.d43_1 = tmp_3;
617
- this.f9_1 = 1;
618
- suspendResult = deserialize(this.d43_1, this.a43_1, this.z42_1, this.c43_1, this);
616
+ tmp_1.r43_1 = tmp_3;
617
+ this.j9_1 = 1;
618
+ suspendResult = deserialize(this.r43_1, this.o43_1, this.n43_1, this.q43_1, this);
619
619
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
620
620
  return suspendResult;
621
621
  }
@@ -624,40 +624,40 @@
624
624
  case 1:
625
625
  var result = suspendResult;
626
626
  if (!isInterface(result, ByteReadChannel)) {
627
- get_LOGGER().u2c('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.y42_1.toString() + '.');
627
+ get_LOGGER().i2d('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.m43_1.toString() + '.');
628
628
  }
629
629
 
630
630
  return result;
631
631
  case 2:
632
- throw this.i9_1;
632
+ throw this.m9_1;
633
633
  }
634
634
  } catch ($p) {
635
635
  var e = $p;
636
- if (this.g9_1 === 2) {
636
+ if (this.k9_1 === 2) {
637
637
  throw e;
638
638
  } else {
639
- this.f9_1 = this.g9_1;
640
- this.i9_1 = e;
639
+ this.j9_1 = this.k9_1;
640
+ this.m9_1 = e;
641
641
  }
642
642
  }
643
643
  while (true);
644
644
  };
645
645
  function ContentNegotiation(registrations, ignoredTypes) {
646
646
  Plugin_getInstance();
647
- this.v40_1 = registrations;
648
- this.w40_1 = ignoredTypes;
647
+ this.j41_1 = registrations;
648
+ this.k41_1 = ignoredTypes;
649
649
  }
650
- protoOf(ContentNegotiation).x40 = function (request, body, $completion) {
650
+ protoOf(ContentNegotiation).l41 = function (request, body, $completion) {
651
651
  var tmp = new $convertRequestCOROUTINE$0(this, request, body, $completion);
652
- tmp.h9_1 = Unit_instance;
653
- tmp.i9_1 = null;
654
- return tmp.n9();
652
+ tmp.l9_1 = Unit_instance;
653
+ tmp.m9_1 = null;
654
+ return tmp.r9();
655
655
  };
656
- protoOf(ContentNegotiation).q41 = function (requestUrl, info, body, responseContentType, charset, $completion) {
656
+ protoOf(ContentNegotiation).e42 = function (requestUrl, info, body, responseContentType, charset, $completion) {
657
657
  var tmp = new $convertResponseCOROUTINE$1(this, requestUrl, info, body, responseContentType, charset, $completion);
658
- tmp.h9_1 = Unit_instance;
659
- tmp.i9_1 = null;
660
- return tmp.n9();
658
+ tmp.l9_1 = Unit_instance;
659
+ tmp.m9_1 = null;
660
+ return tmp.r9();
661
661
  };
662
662
  function ContentConverterException(message) {
663
663
  Exception_init_$Init$(message, this);
@@ -668,16 +668,16 @@
668
668
  if (!properties_initialized_ContentNegotiation_kt_1ayduy) {
669
669
  properties_initialized_ContentNegotiation_kt_1ayduy = true;
670
670
  LOGGER = KtorSimpleLogger('io.ktor.client.plugins.contentnegotiation.ContentNegotiation');
671
- DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().rb(), PrimitiveClasses_getInstance().nb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
671
+ DefaultCommonIgnoredTypes = setOf([PrimitiveClasses_getInstance().vb(), PrimitiveClasses_getInstance().rb(), getKClass(HttpStatusCode), getKClass(ByteReadChannel), getKClass(OutgoingContent)]);
672
672
  }
673
673
  }
674
674
  function JsonContentTypeMatcher() {
675
675
  }
676
- protoOf(JsonContentTypeMatcher).h40 = function (contentType) {
677
- if (contentType.o2e(Application_getInstance().h2d_1)) {
676
+ protoOf(JsonContentTypeMatcher).v40 = function (contentType) {
677
+ if (contentType.c2f(Application_getInstance().v2d_1)) {
678
678
  return true;
679
679
  }
680
- var value = contentType.n2e().toString();
680
+ var value = contentType.b2f().toString();
681
681
  return startsWith(value, 'application/') && endsWith(value, '+json');
682
682
  };
683
683
  var JsonContentTypeMatcher_instance;
@@ -698,7 +698,7 @@
698
698
  }
699
699
  }
700
700
  //region block: post-declaration
701
- protoOf(Config).r2p = register$default;
701
+ protoOf(Config).f2q = register$default;
702
702
  //endregion
703
703
  //region block: init
704
704
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();