raspberry_games_server_game_logic 1.8.431 → 1.8.433

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 (36) hide show
  1. package/Kosi-Kaverit-kaverit.js +2 -2
  2. package/Kosi-Kodein-kodein-di.js +16 -16
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +151 -151
  4. package/Logic_Debertz-ai_module.js +193 -193
  5. package/Logic_Debertz-core.js +536 -536
  6. package/Logic_Debertz-engine.js +3710 -3649
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_server.d.ts +16 -0
  9. package/Logic_Debertz-game_server.js +1001 -1001
  10. package/kotlin-kotlin-stdlib.js +546 -540
  11. package/kotlin-kotlin-stdlib.js.map +1 -1
  12. package/kotlinx-atomicfu.js +13 -13
  13. package/kotlinx-coroutines-core.js +2160 -2160
  14. package/kotlinx-io-kotlinx-io-core.js +314 -314
  15. package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
  16. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  17. package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
  18. package/ktor-ktor-client-content-negotiation.js +123 -123
  19. package/ktor-ktor-client-core.js +1442 -1442
  20. package/ktor-ktor-client-logging.js +265 -265
  21. package/ktor-ktor-events.js +6 -6
  22. package/ktor-ktor-http.js +590 -590
  23. package/ktor-ktor-io.js +1241 -1241
  24. package/ktor-ktor-serialization-kotlinx-json.js +6 -6
  25. package/ktor-ktor-serialization-kotlinx.js +132 -132
  26. package/ktor-ktor-serialization.js +61 -61
  27. package/ktor-ktor-utils.js +483 -483
  28. package/ktor-ktor-websockets.js +42 -42
  29. package/package.json +1 -1
  30. package/random-library-crypto-rand.js +1 -1
  31. package/random-library-secure-random.js +2 -2
  32. package/raspberry-cardgame-lib-core.js +7 -7
  33. package/raspberry-cardgame-lib-logger.js +90 -90
  34. package/raspberry-cardgame-lib-random.js +794 -794
  35. package/raspberry-cardgame-lib-random.js.map +1 -1
  36. package/uuid.js +12 -12
@@ -107,32 +107,32 @@
107
107
  }
108
108
  var DefaultCommonIgnoredTypes;
109
109
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
110
- this.w4w_1 = converter;
111
- this.x4w_1 = contentTypeToSend;
112
- this.y4w_1 = contentTypeMatcher;
110
+ this.x4w_1 = converter;
111
+ this.y4w_1 = contentTypeToSend;
112
+ this.z4w_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.z4w_1 = $pattern;
118
+ this.a4x_1 = $pattern;
119
119
  }
120
- protoOf(ContentNegotiation$Config$defaultMatcher$1).a4x = function (contentType) {
121
- return contentType.e3f(this.z4w_1);
120
+ protoOf(ContentNegotiation$Config$defaultMatcher$1).b4x = function (contentType) {
121
+ return contentType.f3f(this.a4x_1);
122
122
  };
123
123
  function ContentNegotiation$Plugin$install$slambda($plugin, resultContinuation) {
124
- this.j4x_1 = $plugin;
124
+ this.k4x_1 = $plugin;
125
125
  CoroutineImpl.call(this, resultContinuation);
126
126
  }
127
- protoOf(ContentNegotiation$Plugin$install$slambda).f3r = function ($this$intercept, it, $completion) {
128
- var tmp = this.g3r($this$intercept, it, $completion);
127
+ protoOf(ContentNegotiation$Plugin$install$slambda).g3r = function ($this$intercept, it, $completion) {
128
+ var tmp = this.h3r($this$intercept, it, $completion);
129
129
  tmp.u8_1 = Unit_instance;
130
130
  tmp.v8_1 = null;
131
131
  return tmp.a9();
132
132
  };
133
133
  protoOf(ContentNegotiation$Plugin$install$slambda).j9 = function (p1, p2, $completion) {
134
134
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
135
- return this.f3r(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
135
+ return this.g3r(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
136
136
  };
137
137
  protoOf(ContentNegotiation$Plugin$install$slambda).a9 = function () {
138
138
  var suspendResult = this.u8_1;
@@ -143,7 +143,7 @@
143
143
  case 0:
144
144
  this.t8_1 = 3;
145
145
  this.s8_1 = 1;
146
- suspendResult = this.j4x_1.o4x(this.k4x_1.o3c_1, this.k4x_1.r3b(), this);
146
+ suspendResult = this.k4x_1.p4x(this.l4x_1.p3c_1, this.l4x_1.s3b(), this);
147
147
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
148
148
  return suspendResult;
149
149
  }
@@ -160,7 +160,7 @@
160
160
 
161
161
  var result = tmp_0;
162
162
  this.s8_1 = 2;
163
- suspendResult = this.k4x_1.s3b(result, this);
163
+ suspendResult = this.l4x_1.t3b(result, this);
164
164
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
165
165
  return suspendResult;
166
166
  }
@@ -182,33 +182,33 @@
182
182
  }
183
183
  while (true);
184
184
  };
185
- protoOf(ContentNegotiation$Plugin$install$slambda).g3r = function ($this$intercept, it, completion) {
186
- var i = new ContentNegotiation$Plugin$install$slambda(this.j4x_1, completion);
187
- i.k4x_1 = $this$intercept;
188
- i.l4x_1 = it;
185
+ protoOf(ContentNegotiation$Plugin$install$slambda).h3r = function ($this$intercept, it, completion) {
186
+ var i = new ContentNegotiation$Plugin$install$slambda(this.k4x_1, completion);
187
+ i.l4x_1 = $this$intercept;
188
+ i.m4x_1 = it;
189
189
  return i;
190
190
  };
191
191
  function ContentNegotiation$Plugin$install$slambda_0($plugin, resultContinuation) {
192
192
  var i = new ContentNegotiation$Plugin$install$slambda($plugin, resultContinuation);
193
193
  var l = function ($this$intercept, it, $completion) {
194
- return i.f3r($this$intercept, it, $completion);
194
+ return i.g3r($this$intercept, it, $completion);
195
195
  };
196
196
  l.$arity = 2;
197
197
  return l;
198
198
  }
199
199
  function ContentNegotiation$Plugin$install$slambda_1($plugin, resultContinuation) {
200
- this.x4x_1 = $plugin;
200
+ this.y4x_1 = $plugin;
201
201
  CoroutineImpl.call(this, resultContinuation);
202
202
  }
203
- protoOf(ContentNegotiation$Plugin$install$slambda_1).z3r = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
204
- var tmp = this.a3s($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
203
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).a3s = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
204
+ var tmp = this.b3s($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
205
205
  tmp.u8_1 = Unit_instance;
206
206
  tmp.v8_1 = null;
207
207
  return tmp.a9();
208
208
  };
209
209
  protoOf(ContentNegotiation$Plugin$install$slambda_1).j9 = function (p1, p2, $completion) {
210
210
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
211
- return this.z3r(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
211
+ return this.a3s(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
212
212
  };
213
213
  protoOf(ContentNegotiation$Plugin$install$slambda_1).a9 = function () {
214
214
  var suspendResult = this.u8_1;
@@ -218,22 +218,22 @@
218
218
  switch (tmp) {
219
219
  case 0:
220
220
  this.t8_1 = 3;
221
- this.a4y_1 = this.z4x_1.oe();
222
- var body = this.z4x_1.pe();
223
- var tmp0_elvis_lhs = contentType(this.y4x_1.o3c_1.m3r());
221
+ this.b4y_1 = this.a4y_1.oe();
222
+ var body = this.a4y_1.pe();
223
+ var tmp0_elvis_lhs = contentType(this.z4x_1.p3c_1.n3r());
224
224
  var tmp_0;
225
225
  if (tmp0_elvis_lhs == null) {
226
- this.y4x_1;
227
- get_LOGGER().k3d('Response doesn\'t have "Content-Type" header, skipping ContentNegotiation plugin');
226
+ this.z4x_1;
227
+ get_LOGGER().l3d('Response doesn\'t have "Content-Type" header, skipping ContentNegotiation plugin');
228
228
  return Unit_instance;
229
229
  } else {
230
230
  tmp_0 = tmp0_elvis_lhs;
231
231
  }
232
232
 
233
233
  var contentType_0 = tmp_0;
234
- var charset = suitableCharset(this.y4x_1.o3c_1.s3u().m3j());
234
+ var charset = suitableCharset(this.z4x_1.p3c_1.t3u().n3j());
235
235
  this.s8_1 = 1;
236
- suspendResult = this.x4x_1.b4y(this.y4x_1.o3c_1.s3u().u3u(), this.a4y_1, body, contentType_0, charset, this);
236
+ suspendResult = this.y4x_1.c4y(this.z4x_1.p3c_1.t3u().v3u(), this.b4y_1, body, contentType_0, charset, this);
237
237
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
238
238
  return suspendResult;
239
239
  }
@@ -249,9 +249,9 @@
249
249
  }
250
250
 
251
251
  var deserializedBody = tmp_1;
252
- var result = new HttpResponseContainer(this.a4y_1, deserializedBody);
252
+ var result = new HttpResponseContainer(this.b4y_1, deserializedBody);
253
253
  this.s8_1 = 2;
254
- suspendResult = this.y4x_1.s3b(result, this);
254
+ suspendResult = this.z4x_1.t3b(result, this);
255
255
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
256
256
  return suspendResult;
257
257
  }
@@ -273,61 +273,61 @@
273
273
  }
274
274
  while (true);
275
275
  };
276
- protoOf(ContentNegotiation$Plugin$install$slambda_1).a3s = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
277
- var i = new ContentNegotiation$Plugin$install$slambda_1(this.x4x_1, completion);
278
- i.y4x_1 = $this$intercept;
279
- i.z4x_1 = _name_for_destructuring_parameter_0__wldtmu;
276
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).b3s = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
277
+ var i = new ContentNegotiation$Plugin$install$slambda_1(this.y4x_1, completion);
278
+ i.z4x_1 = $this$intercept;
279
+ i.a4y_1 = _name_for_destructuring_parameter_0__wldtmu;
280
280
  return i;
281
281
  };
282
282
  function ContentNegotiation$Plugin$install$slambda_2($plugin, resultContinuation) {
283
283
  var i = new ContentNegotiation$Plugin$install$slambda_1($plugin, resultContinuation);
284
284
  var l = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
285
- return i.z3r($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
285
+ return i.a3s($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
286
286
  };
287
287
  l.$arity = 2;
288
288
  return l;
289
289
  }
290
290
  function Config() {
291
- this.c4y_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
291
+ this.d4y_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
292
292
  var tmp = this;
293
293
  // Inline function 'kotlin.collections.mutableListOf' call
294
- tmp.d4y_1 = ArrayList_init_$Create$();
294
+ tmp.e4y_1 = ArrayList_init_$Create$();
295
295
  }
296
- protoOf(Config).r4u = function (contentType, converter, configuration) {
297
- var matcher = contentType.equals(Application_getInstance().x3d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
298
- this.e4y(contentType, converter, matcher, configuration);
296
+ protoOf(Config).s4u = function (contentType, converter, configuration) {
297
+ var matcher = contentType.equals(Application_getInstance().y3d_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
298
+ this.f4y(contentType, converter, matcher, configuration);
299
299
  };
300
- protoOf(Config).e4y = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
300
+ protoOf(Config).f4y = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
301
301
  // Inline function 'kotlin.apply' call
302
302
  configuration(converter);
303
303
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
304
- this.d4y_1.j(registration);
304
+ this.e4y_1.j(registration);
305
305
  };
306
306
  function Plugin() {
307
307
  Plugin_instance = this;
308
- this.f4y_1 = new AttributeKey('ContentNegotiation');
308
+ this.g4y_1 = new AttributeKey('ContentNegotiation');
309
309
  }
310
310
  protoOf(Plugin).w = function () {
311
- return this.f4y_1;
311
+ return this.g4y_1;
312
312
  };
313
- protoOf(Plugin).g4y = function (block) {
313
+ protoOf(Plugin).h4y = function (block) {
314
314
  // Inline function 'kotlin.apply' call
315
315
  var this_0 = new Config();
316
316
  block(this_0);
317
317
  var config = this_0;
318
- return new ContentNegotiation(config.d4y_1, config.c4y_1);
318
+ return new ContentNegotiation(config.e4y_1, config.d4y_1);
319
319
  };
320
- protoOf(Plugin).q3t = function (block) {
321
- return this.g4y(block);
320
+ protoOf(Plugin).r3t = function (block) {
321
+ return this.h4y(block);
322
322
  };
323
- protoOf(Plugin).h4y = function (plugin, scope) {
324
- var tmp = Phases_getInstance().a3z_1;
325
- scope.m3q_1.s3c(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
326
- var tmp_0 = Phases_getInstance_0().l3t_1;
327
- scope.n3q_1.s3c(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
323
+ protoOf(Plugin).i4y = function (plugin, scope) {
324
+ var tmp = Phases_getInstance().b3z_1;
325
+ scope.n3q_1.t3c(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
326
+ var tmp_0 = Phases_getInstance_0().m3t_1;
327
+ scope.o3q_1.t3c(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
328
328
  };
329
- protoOf(Plugin).r3t = function (plugin, scope) {
330
- return this.h4y(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
329
+ protoOf(Plugin).s3t = function (plugin, scope) {
330
+ return this.i4y(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
331
331
  };
332
332
  var Plugin_instance;
333
333
  function Plugin_getInstance() {
@@ -336,13 +336,13 @@
336
336
  return Plugin_instance;
337
337
  }
338
338
  function ContentNegotiation$convertRequest$lambda(it) {
339
- return toString(it.w4w_1);
339
+ return toString(it.x4w_1);
340
340
  }
341
341
  function $convertRequestCOROUTINE$(_this__u8e3s4, request, body, resultContinuation) {
342
342
  CoroutineImpl.call(this, resultContinuation);
343
- this.q4y_1 = _this__u8e3s4;
344
- this.r4y_1 = request;
345
- this.s4y_1 = body;
343
+ this.r4y_1 = _this__u8e3s4;
344
+ this.s4y_1 = request;
345
+ this.t4y_1 = body;
346
346
  }
347
347
  protoOf($convertRequestCOROUTINE$).a9 = function () {
348
348
  var suspendResult = this.u8_1;
@@ -352,25 +352,25 @@
352
352
  switch (tmp) {
353
353
  case 0:
354
354
  this.t8_1 = 7;
355
- var _iterator__ex2g4s = this.q4y_1.m4x_1.l();
355
+ var _iterator__ex2g4s = this.r4y_1.n4x_1.l();
356
356
  while (_iterator__ex2g4s.m()) {
357
357
  var element = _iterator__ex2g4s.n();
358
358
  l$ret$1: do {
359
- get_LOGGER().k3d('Adding Accept=' + element.x4w_1.a3f_1 + ' header for ' + this.r4y_1.l3s_1.toString());
360
- if (this.r4y_1.n3s_1.t39(HttpHeaders_getInstance().j3f_1, element.x4w_1.toString())) {
359
+ get_LOGGER().l3d('Adding Accept=' + element.y4w_1.b3f_1 + ' header for ' + this.s4y_1.m3s_1.toString());
360
+ if (this.s4y_1.o3s_1.u39(HttpHeaders_getInstance().k3f_1, element.y4w_1.toString())) {
361
361
  break l$ret$1;
362
362
  }
363
- accept(this.r4y_1, element.x4w_1);
363
+ accept(this.s4y_1, element.y4w_1);
364
364
  }
365
365
  while (false);
366
366
  }
367
367
 
368
368
  var tmp_0;
369
- var tmp_1 = this.s4y_1;
369
+ var tmp_1 = this.t4y_1;
370
370
  if (tmp_1 instanceof OutgoingContent) {
371
371
  tmp_0 = true;
372
372
  } else {
373
- var tmp0 = this.q4y_1.n4x_1;
373
+ var tmp0 = this.r4y_1.o4x_1;
374
374
  var tmp$ret$2;
375
375
  l$ret$3: do {
376
376
  var tmp_2;
@@ -386,7 +386,7 @@
386
386
  var _iterator__ex2g4s_0 = tmp0.l();
387
387
  while (_iterator__ex2g4s_0.m()) {
388
388
  var element_0 = _iterator__ex2g4s_0.n();
389
- if (element_0.fa(this.s4y_1)) {
389
+ if (element_0.fa(this.t4y_1)) {
390
390
  tmp$ret$2 = true;
391
391
  break l$ret$3;
392
392
  }
@@ -398,36 +398,36 @@
398
398
  }
399
399
 
400
400
  if (tmp_0) {
401
- get_LOGGER().k3d('Body type ' + toString(getKClassFromExpression(this.s4y_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.r4y_1.l3s_1.toString() + '.'));
401
+ get_LOGGER().l3d('Body type ' + toString(getKClassFromExpression(this.t4y_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.s4y_1.m3s_1.toString() + '.'));
402
402
  return null;
403
403
  }
404
404
 
405
405
  var tmp_3 = this;
406
- var tmp0_elvis_lhs = contentType_0(this.r4y_1);
406
+ var tmp0_elvis_lhs = contentType_0(this.s4y_1);
407
407
  var tmp_4;
408
408
  if (tmp0_elvis_lhs == null) {
409
- this.q4y_1;
410
- get_LOGGER().k3d("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.r4y_1.l3s_1.toString() + '.');
409
+ this.r4y_1;
410
+ get_LOGGER().l3d("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.s4y_1.m3s_1.toString() + '.');
411
411
  return null;
412
412
  } else {
413
413
  tmp_4 = tmp0_elvis_lhs;
414
414
  }
415
415
 
416
- tmp_3.u4y_1 = tmp_4;
417
- var tmp_5 = this.s4y_1;
416
+ tmp_3.v4y_1 = tmp_4;
417
+ var tmp_5 = this.t4y_1;
418
418
  if (tmp_5 instanceof Unit) {
419
- get_LOGGER().k3d('Sending empty body for ' + this.r4y_1.l3s_1.toString());
420
- this.r4y_1.n3s_1.y39(HttpHeaders_getInstance().b3g_1);
419
+ get_LOGGER().l3d('Sending empty body for ' + this.s4y_1.m3s_1.toString());
420
+ this.s4y_1.o3s_1.z39(HttpHeaders_getInstance().c3g_1);
421
421
  return EmptyContent_getInstance();
422
422
  }
423
423
 
424
424
  var tmp_6 = this;
425
- var tmp0_0 = this.q4y_1.m4x_1;
425
+ var tmp0_0 = this.r4y_1.n4x_1;
426
426
  var destination = ArrayList_init_$Create$();
427
427
  var _iterator__ex2g4s_1 = tmp0_0.l();
428
428
  while (_iterator__ex2g4s_1.m()) {
429
429
  var element_1 = _iterator__ex2g4s_1.n();
430
- if (element_1.y4w_1.a4x(this.u4y_1)) {
430
+ if (element_1.z4w_1.b4x(this.v4y_1)) {
431
431
  destination.j(element_1);
432
432
  }
433
433
  }
@@ -442,41 +442,41 @@
442
442
  var tmp1_elvis_lhs = tmp_7;
443
443
  var tmp_8;
444
444
  if (tmp1_elvis_lhs == null) {
445
- this.q4y_1;
446
- get_LOGGER().k3d('None of the registered converters match request Content-Type=' + this.u4y_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.r4y_1.l3s_1.toString() + '.'));
445
+ this.r4y_1;
446
+ get_LOGGER().l3d('None of the registered converters match request Content-Type=' + this.v4y_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.s4y_1.m3s_1.toString() + '.'));
447
447
  return null;
448
448
  } else {
449
449
  tmp_8 = tmp1_elvis_lhs;
450
450
  }
451
451
 
452
- tmp_6.t4y_1 = tmp_8;
453
- if (this.r4y_1.a4f() == null) {
454
- get_LOGGER().k3d('Request has unknown body type. Skipping ContentNegotiation for ' + this.r4y_1.l3s_1.toString() + '.');
452
+ tmp_6.u4y_1 = tmp_8;
453
+ if (this.s4y_1.b4f() == null) {
454
+ get_LOGGER().l3d('Request has unknown body type. Skipping ContentNegotiation for ' + this.s4y_1.m3s_1.toString() + '.');
455
455
  return null;
456
456
  }
457
457
 
458
- this.r4y_1.n3s_1.y39(HttpHeaders_getInstance().b3g_1);
458
+ this.s4y_1.o3s_1.z39(HttpHeaders_getInstance().c3g_1);
459
459
  var tmp_9 = this;
460
- tmp_9.y4y_1 = this.t4y_1;
460
+ tmp_9.z4y_1 = this.u4y_1;
461
461
  this.s8_1 = 1;
462
462
  continue $sm;
463
463
  case 1:
464
- this.x4y_1 = this.y4y_1.l();
464
+ this.y4y_1 = this.z4y_1.l();
465
465
  this.s8_1 = 2;
466
466
  continue $sm;
467
467
  case 2:
468
- if (!this.x4y_1.m()) {
468
+ if (!this.y4y_1.m()) {
469
469
  this.s8_1 = 5;
470
470
  continue $sm;
471
471
  }
472
472
 
473
- var element_2 = this.x4y_1.n();
474
- this.w4y_1 = element_2;
473
+ var element_2 = this.y4y_1.n();
474
+ this.x4y_1 = element_2;
475
475
  this.s8_1 = 3;
476
- var tmp0_elvis_lhs_0 = charset(this.u4y_1);
477
- var tmp_10 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().v31_1 : tmp0_elvis_lhs_0;
478
- var tmp_11 = ensureNotNull(this.r4y_1.a4f());
479
- var this_0 = this.s4y_1;
476
+ var tmp0_elvis_lhs_0 = charset(this.v4y_1);
477
+ var tmp_10 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().w31_1 : tmp0_elvis_lhs_0;
478
+ var tmp_11 = ensureNotNull(this.s4y_1.b4f());
479
+ var this_0 = this.t4y_1;
480
480
  var tmp_12;
481
481
  if (!equals(this_0, NullBody_instance)) {
482
482
  tmp_12 = this_0;
@@ -484,7 +484,7 @@
484
484
  tmp_12 = null;
485
485
  }
486
486
 
487
- suspendResult = this.w4y_1.w4w_1.u4u(this.u4y_1, tmp_10, tmp_11, tmp_12, this);
487
+ suspendResult = this.x4y_1.x4w_1.v4u(this.v4y_1, tmp_10, tmp_11, tmp_12, this);
488
488
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
489
489
  return suspendResult;
490
490
  }
@@ -493,12 +493,12 @@
493
493
  case 3:
494
494
  var result = suspendResult;
495
495
  if (!(result == null)) {
496
- get_LOGGER().k3d('Converted request body using ' + toString(this.w4y_1.w4w_1) + ' for ' + this.r4y_1.l3s_1.toString());
496
+ get_LOGGER().l3d('Converted request body using ' + toString(this.x4y_1.x4w_1) + ' for ' + this.s4y_1.m3s_1.toString());
497
497
  }
498
498
 
499
499
  var result_0 = result;
500
500
  if (!(result_0 == null)) {
501
- this.v4y_1 = result_0;
501
+ this.w4y_1 = result_0;
502
502
  this.s8_1 = 6;
503
503
  continue $sm;
504
504
  } else {
@@ -510,7 +510,7 @@
510
510
  this.s8_1 = 2;
511
511
  continue $sm;
512
512
  case 5:
513
- this.v4y_1 = null;
513
+ this.w4y_1 = null;
514
514
  if (false) {
515
515
  this.s8_1 = 1;
516
516
  continue $sm;
@@ -519,11 +519,11 @@
519
519
  this.s8_1 = 6;
520
520
  continue $sm;
521
521
  case 6:
522
- var tmp2_elvis_lhs = this.v4y_1;
522
+ var tmp2_elvis_lhs = this.w4y_1;
523
523
  var tmp_13;
524
524
  if (tmp2_elvis_lhs == null) {
525
- var tmp_14 = "Can't convert " + toString(this.s4y_1) + ' with contentType ' + this.u4y_1.toString() + ' using converters ';
526
- throw new ContentConverterException(tmp_14 + joinToString(this.t4y_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
525
+ var tmp_14 = "Can't convert " + toString(this.t4y_1) + ' with contentType ' + this.v4y_1.toString() + ' using converters ';
526
+ throw new ContentConverterException(tmp_14 + joinToString(this.u4y_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
527
527
  } else {
528
528
  tmp_13 = tmp2_elvis_lhs;
529
529
  }
@@ -546,12 +546,12 @@
546
546
  };
547
547
  function $convertResponseCOROUTINE$(_this__u8e3s4, requestUrl, info, body, responseContentType, charset, resultContinuation) {
548
548
  CoroutineImpl.call(this, resultContinuation);
549
- this.h4z_1 = _this__u8e3s4;
550
- this.i4z_1 = requestUrl;
551
- this.j4z_1 = info;
552
- this.k4z_1 = body;
553
- this.l4z_1 = responseContentType;
554
- this.m4z_1 = charset;
549
+ this.i4z_1 = _this__u8e3s4;
550
+ this.j4z_1 = requestUrl;
551
+ this.k4z_1 = info;
552
+ this.l4z_1 = body;
553
+ this.m4z_1 = responseContentType;
554
+ this.n4z_1 = charset;
555
555
  }
556
556
  protoOf($convertResponseCOROUTINE$).a9 = function () {
557
557
  var suspendResult = this.u8_1;
@@ -561,23 +561,23 @@
561
561
  switch (tmp) {
562
562
  case 0:
563
563
  this.t8_1 = 2;
564
- var tmp_0 = this.k4z_1;
564
+ var tmp_0 = this.l4z_1;
565
565
  if (!isInterface(tmp_0, ByteReadChannel)) {
566
- get_LOGGER().k3d('Response body is already transformed. Skipping ContentNegotiation for ' + this.i4z_1.toString() + '.');
566
+ get_LOGGER().l3d('Response body is already transformed. Skipping ContentNegotiation for ' + this.j4z_1.toString() + '.');
567
567
  return null;
568
568
  }
569
569
 
570
- if (this.h4z_1.n4x_1.u1(this.j4z_1.f3d_1)) {
571
- get_LOGGER().k3d('Response body type ' + toString(this.j4z_1.f3d_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.i4z_1.toString() + '.'));
570
+ if (this.i4z_1.o4x_1.u1(this.k4z_1.g3d_1)) {
571
+ get_LOGGER().l3d('Response body type ' + toString(this.k4z_1.g3d_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.j4z_1.toString() + '.'));
572
572
  return null;
573
573
  }
574
574
 
575
- var tmp0 = this.h4z_1.m4x_1;
575
+ var tmp0 = this.i4z_1.n4x_1;
576
576
  var destination = ArrayList_init_$Create$();
577
577
  var _iterator__ex2g4s = tmp0.l();
578
578
  while (_iterator__ex2g4s.m()) {
579
579
  var element = _iterator__ex2g4s.n();
580
- if (element.y4w_1.a4x(this.l4z_1)) {
580
+ if (element.z4w_1.b4x(this.m4z_1)) {
581
581
  destination.j(element);
582
582
  }
583
583
  }
@@ -586,7 +586,7 @@
586
586
  var _iterator__ex2g4s_0 = destination.l();
587
587
  while (_iterator__ex2g4s_0.m()) {
588
588
  var item = _iterator__ex2g4s_0.n();
589
- destination_0.j(item.w4w_1);
589
+ destination_0.j(item.x4w_1);
590
590
  }
591
591
 
592
592
  var tmp_1;
@@ -599,8 +599,8 @@
599
599
  var tmp0_elvis_lhs = tmp_1;
600
600
  var tmp_2;
601
601
  if (tmp0_elvis_lhs == null) {
602
- this.h4z_1;
603
- get_LOGGER().k3d('None of the registered converters match response with Content-Type=' + this.l4z_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.i4z_1.toString() + '.'));
602
+ this.i4z_1;
603
+ get_LOGGER().l3d('None of the registered converters match response with Content-Type=' + this.m4z_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.j4z_1.toString() + '.'));
604
604
  return null;
605
605
  } else {
606
606
  tmp_2 = tmp0_elvis_lhs;
@@ -608,7 +608,7 @@
608
608
 
609
609
  var suitableConverters = tmp_2;
610
610
  this.s8_1 = 1;
611
- suspendResult = deserialize(suitableConverters, this.k4z_1, this.j4z_1, this.m4z_1, this);
611
+ suspendResult = deserialize(suitableConverters, this.l4z_1, this.k4z_1, this.n4z_1, this);
612
612
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
613
613
  return suspendResult;
614
614
  }
@@ -617,7 +617,7 @@
617
617
  case 1:
618
618
  var result = suspendResult;
619
619
  if (!isInterface(result, ByteReadChannel)) {
620
- get_LOGGER().k3d('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.i4z_1.toString() + '.');
620
+ get_LOGGER().l3d('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.j4z_1.toString() + '.');
621
621
  }
622
622
 
623
623
  return result;
@@ -637,16 +637,16 @@
637
637
  };
638
638
  function ContentNegotiation(registrations, ignoredTypes) {
639
639
  Plugin_getInstance();
640
- this.m4x_1 = registrations;
641
- this.n4x_1 = ignoredTypes;
640
+ this.n4x_1 = registrations;
641
+ this.o4x_1 = ignoredTypes;
642
642
  }
643
- protoOf(ContentNegotiation).o4x = function (request, body, $completion) {
643
+ protoOf(ContentNegotiation).p4x = function (request, body, $completion) {
644
644
  var tmp = new $convertRequestCOROUTINE$(this, request, body, $completion);
645
645
  tmp.u8_1 = Unit_instance;
646
646
  tmp.v8_1 = null;
647
647
  return tmp.a9();
648
648
  };
649
- protoOf(ContentNegotiation).b4y = function (requestUrl, info, body, responseContentType, charset, $completion) {
649
+ protoOf(ContentNegotiation).c4y = function (requestUrl, info, body, responseContentType, charset, $completion) {
650
650
  var tmp = new $convertResponseCOROUTINE$(this, requestUrl, info, body, responseContentType, charset, $completion);
651
651
  tmp.u8_1 = Unit_instance;
652
652
  tmp.v8_1 = null;
@@ -666,11 +666,11 @@
666
666
  }
667
667
  function JsonContentTypeMatcher() {
668
668
  }
669
- protoOf(JsonContentTypeMatcher).a4x = function (contentType) {
670
- if (contentType.e3f(Application_getInstance().x3d_1)) {
669
+ protoOf(JsonContentTypeMatcher).b4x = function (contentType) {
670
+ if (contentType.f3f(Application_getInstance().y3d_1)) {
671
671
  return true;
672
672
  }
673
- var value = contentType.d3f().toString();
673
+ var value = contentType.e3f().toString();
674
674
  return startsWith(value, 'application/') && endsWith(value, '+json');
675
675
  };
676
676
  var JsonContentTypeMatcher_instance;
@@ -691,7 +691,7 @@
691
691
  }
692
692
  }
693
693
  //region block: post-declaration
694
- protoOf(Config).s4u = register$default;
694
+ protoOf(Config).t4u = register$default;
695
695
  //endregion
696
696
  //region block: init
697
697
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();