client_plugin_logic_deb 1.8.351 → 1.8.352

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 (40) hide show
  1. package/Kosi-Kaverit-kaverit.js +70 -70
  2. package/Kosi-Kodein-kodein-di.js +562 -562
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1591 -1591
  4. package/Logic_Debertz-client_plugin.d.ts +4 -4
  5. package/Logic_Debertz-client_plugin.js +3728 -3559
  6. package/Logic_Debertz-client_plugin.js.map +1 -1
  7. package/Logic_Debertz-core.js +1749 -1749
  8. package/Logic_Debertz-engine.js +17906 -17818
  9. package/Logic_Debertz-engine.js.map +1 -1
  10. package/Logic_Debertz-game_client.js +10884 -10040
  11. package/Logic_Debertz-game_client.js.map +1 -1
  12. package/Logic_Debertz-game_server.js +1131 -1130
  13. package/Logic_Debertz-game_server.js.map +1 -1
  14. package/error-library-error.js +5 -5
  15. package/kotlin-kotlin-stdlib.js +343 -330
  16. package/kotlin-kotlin-stdlib.js.map +1 -1
  17. package/kotlinx-atomicfu.js +5 -5
  18. package/kotlinx-coroutines-core.js +2652 -1686
  19. package/kotlinx-coroutines-core.js.map +1 -1
  20. package/kotlinx-io-kotlinx-io-core.js +338 -338
  21. package/kotlinx-serialization-kotlinx-serialization-core.js +1915 -1915
  22. package/kotlinx-serialization-kotlinx-serialization-json.js +1428 -1428
  23. package/ktor-ktor-client-content-negotiation.js +157 -157
  24. package/ktor-ktor-client-core.js +1623 -1623
  25. package/ktor-ktor-client-logging.js +318 -318
  26. package/ktor-ktor-events.js +11 -11
  27. package/ktor-ktor-http.js +683 -683
  28. package/ktor-ktor-io.js +1301 -1301
  29. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  30. package/ktor-ktor-serialization-kotlinx.js +169 -169
  31. package/ktor-ktor-serialization.js +85 -85
  32. package/ktor-ktor-utils.js +560 -560
  33. package/ktor-ktor-websockets.js +56 -56
  34. package/package.json +1 -1
  35. package/random-library-crypto-rand.js +11 -11
  36. package/random-library-secure-random.js +6 -6
  37. package/raspberry-cardgame-lib-core.js +225 -225
  38. package/raspberry-cardgame-lib-logger.js +13 -13
  39. package/raspberry-cardgame-lib-random.js +870 -870
  40. package/uuid.js +26 -26
@@ -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.$_$.rc;
31
- var initMetadataForClass = kotlin_kotlin.$_$.qb;
32
- var CoroutineImpl = kotlin_kotlin.$_$.sa;
30
+ var protoOf = kotlin_kotlin.$_$.uc;
31
+ var initMetadataForClass = kotlin_kotlin.$_$.tb;
32
+ var CoroutineImpl = kotlin_kotlin.$_$.va;
33
33
  var Unit_instance = kotlin_kotlin.$_$.j5;
34
- var THROW_CCE = kotlin_kotlin.$_$.qg;
34
+ var THROW_CCE = kotlin_kotlin.$_$.tg;
35
35
  var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.h;
36
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.da;
37
- var initMetadataForLambda = kotlin_kotlin.$_$.ub;
36
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
37
+ var initMetadataForLambda = kotlin_kotlin.$_$.xb;
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.$_$.s8;
43
- var toMutableSet = kotlin_kotlin.$_$.u9;
42
+ var plus = kotlin_kotlin.$_$.u8;
43
+ var toMutableSet = kotlin_kotlin.$_$.x9;
44
44
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
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.$_$.vb;
53
- var toString = kotlin_kotlin.$_$.vc;
52
+ var initMetadataForObject = kotlin_kotlin.$_$.yb;
53
+ var toString = kotlin_kotlin.$_$.yc;
54
54
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
55
55
  var accept = kotlin_io_ktor_ktor_client_core.$_$.m;
56
56
  var Collection = kotlin_kotlin.$_$.l5;
57
- var isInterface = kotlin_kotlin.$_$.ec;
57
+ var isInterface = kotlin_kotlin.$_$.hc;
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.$_$.bh;
62
+ var Unit = kotlin_kotlin.$_$.eh;
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.$_$.hh;
65
+ var ensureNotNull = kotlin_kotlin.$_$.kh;
66
66
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
67
- var equals = kotlin_kotlin.$_$.jb;
68
- var joinToString = kotlin_kotlin.$_$.z7;
69
- var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
67
+ var equals = kotlin_kotlin.$_$.mb;
68
+ var joinToString = kotlin_kotlin.$_$.b8;
69
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.vb;
70
70
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.h1;
71
- var collectionSizeOrDefault = kotlin_kotlin.$_$.m6;
71
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.n6;
72
72
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
73
73
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
74
- var Exception = kotlin_kotlin.$_$.hg;
74
+ var Exception = kotlin_kotlin.$_$.kg;
75
75
  var Exception_init_$Init$ = kotlin_kotlin.$_$.j1;
76
- var captureStack = kotlin_kotlin.$_$.ab;
76
+ var captureStack = kotlin_kotlin.$_$.db;
77
77
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
78
78
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.w4;
79
79
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.s;
80
80
  var getKClass = kotlin_kotlin.$_$.e;
81
- var setOf = kotlin_kotlin.$_$.c9;
82
- var startsWith = kotlin_kotlin.$_$.we;
83
- var endsWith = kotlin_kotlin.$_$.zd;
81
+ var setOf = kotlin_kotlin.$_$.e9;
82
+ var startsWith = kotlin_kotlin.$_$.ze;
83
+ var endsWith = kotlin_kotlin.$_$.ce;
84
84
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.w;
85
85
  //endregion
86
86
  //region block: pre-declaration
@@ -107,32 +107,32 @@
107
107
  }
108
108
  var DefaultCommonIgnoredTypes;
109
109
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
110
- this.o49_1 = converter;
111
- this.p49_1 = contentTypeToSend;
112
- this.q49_1 = contentTypeMatcher;
110
+ this.e4e_1 = converter;
111
+ this.f4e_1 = contentTypeToSend;
112
+ this.g4e_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.r49_1 = $pattern;
118
+ this.h4e_1 = $pattern;
119
119
  }
120
- protoOf(ContentNegotiation$Config$defaultMatcher$1).s49 = function (contentType) {
121
- return contentType.a2n(this.r49_1);
120
+ protoOf(ContentNegotiation$Config$defaultMatcher$1).i4e = function (contentType) {
121
+ return contentType.q2r(this.h4e_1);
122
122
  };
123
123
  function ContentNegotiation$Plugin$install$slambda($plugin, resultContinuation) {
124
- this.b4a_1 = $plugin;
124
+ this.r4e_1 = $plugin;
125
125
  CoroutineImpl.call(this, resultContinuation);
126
126
  }
127
- protoOf(ContentNegotiation$Plugin$install$slambda).p31 = function ($this$intercept, it, $completion) {
128
- var tmp = this.q31($this$intercept, it, $completion);
127
+ protoOf(ContentNegotiation$Plugin$install$slambda).f36 = function ($this$intercept, it, $completion) {
128
+ var tmp = this.g36($this$intercept, it, $completion);
129
129
  tmp.n9_1 = Unit_instance;
130
130
  tmp.o9_1 = null;
131
131
  return tmp.t9();
132
132
  };
133
133
  protoOf(ContentNegotiation$Plugin$install$slambda).ea = function (p1, p2, $completion) {
134
134
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
135
- return this.p31(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
135
+ return this.f36(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
136
136
  };
137
137
  protoOf(ContentNegotiation$Plugin$install$slambda).t9 = function () {
138
138
  var suspendResult = this.n9_1;
@@ -143,25 +143,25 @@
143
143
  case 0:
144
144
  this.m9_1 = 3;
145
145
  this.l9_1 = 1;
146
- suspendResult = this.b4a_1.i4a(this.c4a_1.k2k_1, this.c4a_1.n2j(), this);
146
+ suspendResult = this.r4e_1.y4e(this.s4e_1.a2p_1, this.s4e_1.d2o(), 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.e4a_1 = suspendResult;
153
+ this.u4e_1 = suspendResult;
154
154
  var tmp_0 = this;
155
155
  var tmp_1;
156
- if (this.e4a_1 == null) {
156
+ if (this.u4e_1 == null) {
157
157
  return Unit_instance;
158
158
  } else {
159
- tmp_1 = this.e4a_1;
159
+ tmp_1 = this.u4e_1;
160
160
  }
161
161
 
162
- tmp_0.f4a_1 = tmp_1;
162
+ tmp_0.v4e_1 = tmp_1;
163
163
  this.l9_1 = 2;
164
- suspendResult = this.c4a_1.o2j(this.f4a_1, this);
164
+ suspendResult = this.s4e_1.e2o(this.v4e_1, this);
165
165
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
166
166
  return suspendResult;
167
167
  }
@@ -183,33 +183,33 @@
183
183
  }
184
184
  while (true);
185
185
  };
186
- protoOf(ContentNegotiation$Plugin$install$slambda).q31 = function ($this$intercept, it, completion) {
187
- var i = new ContentNegotiation$Plugin$install$slambda(this.b4a_1, completion);
188
- i.c4a_1 = $this$intercept;
189
- i.d4a_1 = it;
186
+ protoOf(ContentNegotiation$Plugin$install$slambda).g36 = function ($this$intercept, it, completion) {
187
+ var i = new ContentNegotiation$Plugin$install$slambda(this.r4e_1, completion);
188
+ i.s4e_1 = $this$intercept;
189
+ i.t4e_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.p31($this$intercept, it, $completion);
195
+ return i.f36($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.r4a_1 = $plugin;
201
+ this.h4f_1 = $plugin;
202
202
  CoroutineImpl.call(this, resultContinuation);
203
203
  }
204
- protoOf(ContentNegotiation$Plugin$install$slambda_1).j32 = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
205
- var tmp = this.k32($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
204
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).z36 = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion) {
205
+ var tmp = this.a37($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
206
206
  tmp.n9_1 = Unit_instance;
207
207
  tmp.o9_1 = null;
208
208
  return tmp.t9();
209
209
  };
210
210
  protoOf(ContentNegotiation$Plugin$install$slambda_1).ea = function (p1, p2, $completion) {
211
211
  var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
212
- return this.j32(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
212
+ return this.z36(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
213
213
  };
214
214
  protoOf(ContentNegotiation$Plugin$install$slambda_1).t9 = function () {
215
215
  var suspendResult = this.n9_1;
@@ -219,42 +219,42 @@
219
219
  switch (tmp) {
220
220
  case 0:
221
221
  this.m9_1 = 3;
222
- this.u4a_1 = this.t4a_1.kf();
223
- this.v4a_1 = this.t4a_1.lf();
222
+ this.k4f_1 = this.j4f_1.kf();
223
+ this.l4f_1 = this.j4f_1.lf();
224
224
  var tmp_0 = this;
225
- var tmp0_elvis_lhs = contentType(this.s4a_1.k2k_1.w31());
225
+ var tmp0_elvis_lhs = contentType(this.i4f_1.a2p_1.m36());
226
226
  var tmp_1;
227
227
  if (tmp0_elvis_lhs == null) {
228
- this.s4a_1;
229
- get_LOGGER().g2l('Response doesn\'t have "Content-Type" header, skipping ContentNegotiation plugin');
228
+ this.i4f_1;
229
+ get_LOGGER().w2p('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.w4a_1 = tmp_1;
236
- this.x4a_1 = suitableCharset(this.s4a_1.k2k_1.f35().i2r());
235
+ tmp_0.m4f_1 = tmp_1;
236
+ this.n4f_1 = suitableCharset(this.i4f_1.a2p_1.v39().y2v());
237
237
  this.l9_1 = 1;
238
- suspendResult = this.r4a_1.b4b(this.s4a_1.k2k_1.f35().i35(), this.u4a_1, this.v4a_1, this.w4a_1, this.x4a_1, this);
238
+ suspendResult = this.h4f_1.r4f(this.i4f_1.a2p_1.v39().y39(), this.k4f_1, this.l4f_1, this.m4f_1, this.n4f_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.y4a_1 = suspendResult;
245
+ this.o4f_1 = suspendResult;
246
246
  var tmp_2 = this;
247
247
  var tmp_3;
248
- if (this.y4a_1 == null) {
248
+ if (this.o4f_1 == null) {
249
249
  return Unit_instance;
250
250
  } else {
251
- tmp_3 = this.y4a_1;
251
+ tmp_3 = this.o4f_1;
252
252
  }
253
253
 
254
- tmp_2.z4a_1 = tmp_3;
255
- this.a4b_1 = new HttpResponseContainer(this.u4a_1, this.z4a_1);
254
+ tmp_2.p4f_1 = tmp_3;
255
+ this.q4f_1 = new HttpResponseContainer(this.k4f_1, this.p4f_1);
256
256
  this.l9_1 = 2;
257
- suspendResult = this.s4a_1.o2j(this.a4b_1, this);
257
+ suspendResult = this.i4f_1.e2o(this.q4f_1, this);
258
258
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
259
259
  return suspendResult;
260
260
  }
@@ -276,61 +276,61 @@
276
276
  }
277
277
  while (true);
278
278
  };
279
- protoOf(ContentNegotiation$Plugin$install$slambda_1).k32 = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
280
- var i = new ContentNegotiation$Plugin$install$slambda_1(this.r4a_1, completion);
281
- i.s4a_1 = $this$intercept;
282
- i.t4a_1 = _name_for_destructuring_parameter_0__wldtmu;
279
+ protoOf(ContentNegotiation$Plugin$install$slambda_1).a37 = function ($this$intercept, _name_for_destructuring_parameter_0__wldtmu, completion) {
280
+ var i = new ContentNegotiation$Plugin$install$slambda_1(this.h4f_1, completion);
281
+ i.i4f_1 = $this$intercept;
282
+ i.j4f_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.j32($this$intercept, _name_for_destructuring_parameter_0__wldtmu, $completion);
288
+ return i.z36($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.c4b_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
294
+ this.s4f_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
295
295
  var tmp = this;
296
296
  // Inline function 'kotlin.collections.mutableListOf' call
297
- tmp.d4b_1 = ArrayList_init_$Create$();
297
+ tmp.t4f_1 = ArrayList_init_$Create$();
298
298
  }
299
- protoOf(Config).c2y = function (contentType, converter, configuration) {
300
- var matcher = contentType.equals(Application_getInstance().t2l_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
301
- this.e4b(contentType, converter, matcher, configuration);
299
+ protoOf(Config).s32 = function (contentType, converter, configuration) {
300
+ var matcher = contentType.equals(Application_getInstance().j2q_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
301
+ this.u4f(contentType, converter, matcher, configuration);
302
302
  };
303
- protoOf(Config).e4b = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
303
+ protoOf(Config).u4f = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
304
304
  // Inline function 'kotlin.apply' call
305
305
  configuration(converter);
306
306
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
307
- this.d4b_1.e(registration);
307
+ this.t4f_1.e(registration);
308
308
  };
309
309
  function Plugin() {
310
310
  Plugin_instance = this;
311
- this.f4b_1 = new AttributeKey('ContentNegotiation');
311
+ this.v4f_1 = new AttributeKey('ContentNegotiation');
312
312
  }
313
313
  protoOf(Plugin).t = function () {
314
- return this.f4b_1;
314
+ return this.v4f_1;
315
315
  };
316
- protoOf(Plugin).g4b = function (block) {
316
+ protoOf(Plugin).w4f = function (block) {
317
317
  // Inline function 'kotlin.apply' call
318
318
  var this_0 = new Config();
319
319
  block(this_0);
320
320
  var config = this_0;
321
- return new ContentNegotiation(config.d4b_1, config.c4b_1);
321
+ return new ContentNegotiation(config.t4f_1, config.s4f_1);
322
322
  };
323
- protoOf(Plugin).a34 = function (block) {
324
- return this.g4b(block);
323
+ protoOf(Plugin).q38 = function (block) {
324
+ return this.w4f(block);
325
325
  };
326
- protoOf(Plugin).h4b = function (plugin, scope) {
327
- var tmp = Phases_getInstance().u39_1;
328
- scope.v30_1.o2k(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
329
- var tmp_0 = Phases_getInstance_0().v33_1;
330
- scope.w30_1.o2k(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
326
+ protoOf(Plugin).x4f = function (plugin, scope) {
327
+ var tmp = Phases_getInstance().k3e_1;
328
+ scope.l35_1.e2p(tmp, ContentNegotiation$Plugin$install$slambda_0(plugin, null));
329
+ var tmp_0 = Phases_getInstance_0().l38_1;
330
+ scope.m35_1.e2p(tmp_0, ContentNegotiation$Plugin$install$slambda_2(plugin, null));
331
331
  };
332
- protoOf(Plugin).b34 = function (plugin, scope) {
333
- return this.h4b(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
332
+ protoOf(Plugin).r38 = function (plugin, scope) {
333
+ return this.x4f(plugin instanceof ContentNegotiation ? plugin : THROW_CCE(), scope);
334
334
  };
335
335
  var Plugin_instance;
336
336
  function Plugin_getInstance() {
@@ -339,13 +339,13 @@
339
339
  return Plugin_instance;
340
340
  }
341
341
  function ContentNegotiation$convertRequest$lambda(it) {
342
- return toString(it.o49_1);
342
+ return toString(it.e4e_1);
343
343
  }
344
344
  function $convertRequestCOROUTINE$(_this__u8e3s4, request, body, resultContinuation) {
345
345
  CoroutineImpl.call(this, resultContinuation);
346
- this.q4b_1 = _this__u8e3s4;
347
- this.r4b_1 = request;
348
- this.s4b_1 = body;
346
+ this.g4g_1 = _this__u8e3s4;
347
+ this.h4g_1 = request;
348
+ this.i4g_1 = body;
349
349
  }
350
350
  protoOf($convertRequestCOROUTINE$).t9 = function () {
351
351
  var suspendResult = this.n9_1;
@@ -355,25 +355,25 @@
355
355
  switch (tmp) {
356
356
  case 0:
357
357
  this.m9_1 = 7;
358
- var _iterator__ex2g4s = this.q4b_1.g4a_1.j();
358
+ var _iterator__ex2g4s = this.g4g_1.w4e_1.j();
359
359
  while (_iterator__ex2g4s.k()) {
360
360
  var element = _iterator__ex2g4s.l();
361
361
  l$ret$1: do {
362
- get_LOGGER().g2l('Adding Accept=' + element.p49_1.w2m_1 + ' header for ' + this.r4b_1.v32_1.toString());
363
- if (this.r4b_1.x32_1.o2h(HttpHeaders_getInstance().f2n_1, element.p49_1.toString())) {
362
+ get_LOGGER().w2p('Adding Accept=' + element.f4e_1.m2r_1 + ' header for ' + this.h4g_1.l37_1.toString());
363
+ if (this.h4g_1.n37_1.e2m(HttpHeaders_getInstance().v2r_1, element.f4e_1.toString())) {
364
364
  break l$ret$1;
365
365
  }
366
- accept(this.r4b_1, element.p49_1);
366
+ accept(this.h4g_1, element.f4e_1);
367
367
  }
368
368
  while (false);
369
369
  }
370
370
 
371
371
  var tmp_0;
372
- var tmp_1 = this.s4b_1;
372
+ var tmp_1 = this.i4g_1;
373
373
  if (tmp_1 instanceof OutgoingContent) {
374
374
  tmp_0 = true;
375
375
  } else {
376
- var tmp0 = this.q4b_1.h4a_1;
376
+ var tmp0 = this.g4g_1.x4e_1;
377
377
  var tmp$ret$2;
378
378
  l$ret$3: do {
379
379
  var tmp_2;
@@ -389,7 +389,7 @@
389
389
  var _iterator__ex2g4s_0 = tmp0.j();
390
390
  while (_iterator__ex2g4s_0.k()) {
391
391
  var element_0 = _iterator__ex2g4s_0.l();
392
- if (element_0.bb(this.s4b_1)) {
392
+ if (element_0.bb(this.i4g_1)) {
393
393
  tmp$ret$2 = true;
394
394
  break l$ret$3;
395
395
  }
@@ -401,36 +401,36 @@
401
401
  }
402
402
 
403
403
  if (tmp_0) {
404
- get_LOGGER().g2l('Body type ' + toString(getKClassFromExpression(this.s4b_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.r4b_1.v32_1.toString() + '.'));
404
+ get_LOGGER().w2p('Body type ' + toString(getKClassFromExpression(this.i4g_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.h4g_1.l37_1.toString() + '.'));
405
405
  return null;
406
406
  }
407
407
 
408
408
  var tmp_3 = this;
409
- var tmp0_elvis_lhs = contentType_0(this.r4b_1);
409
+ var tmp0_elvis_lhs = contentType_0(this.h4g_1);
410
410
  var tmp_4;
411
411
  if (tmp0_elvis_lhs == null) {
412
- this.q4b_1;
413
- get_LOGGER().g2l("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.r4b_1.v32_1.toString() + '.');
412
+ this.g4g_1;
413
+ get_LOGGER().w2p("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.h4g_1.l37_1.toString() + '.');
414
414
  return null;
415
415
  } else {
416
416
  tmp_4 = tmp0_elvis_lhs;
417
417
  }
418
418
 
419
- tmp_3.t4b_1 = tmp_4;
420
- var tmp_5 = this.s4b_1;
419
+ tmp_3.j4g_1 = tmp_4;
420
+ var tmp_5 = this.i4g_1;
421
421
  if (tmp_5 instanceof Unit) {
422
- get_LOGGER().g2l('Sending empty body for ' + this.r4b_1.v32_1.toString());
423
- this.r4b_1.x32_1.t2h(HttpHeaders_getInstance().x2n_1);
422
+ get_LOGGER().w2p('Sending empty body for ' + this.h4g_1.l37_1.toString());
423
+ this.h4g_1.n37_1.j2m(HttpHeaders_getInstance().n2s_1);
424
424
  return EmptyContent_getInstance();
425
425
  }
426
426
 
427
427
  var tmp_6 = this;
428
- var tmp0_0 = this.q4b_1.g4a_1;
428
+ var tmp0_0 = this.g4g_1.w4e_1;
429
429
  var destination = ArrayList_init_$Create$();
430
430
  var _iterator__ex2g4s_1 = tmp0_0.j();
431
431
  while (_iterator__ex2g4s_1.k()) {
432
432
  var element_1 = _iterator__ex2g4s_1.l();
433
- if (element_1.q49_1.s49(this.t4b_1)) {
433
+ if (element_1.g4e_1.i4e(this.j4g_1)) {
434
434
  destination.e(element_1);
435
435
  }
436
436
  }
@@ -445,44 +445,44 @@
445
445
  var tmp1_elvis_lhs = tmp_7;
446
446
  var tmp_8;
447
447
  if (tmp1_elvis_lhs == null) {
448
- this.q4b_1;
449
- get_LOGGER().g2l('None of the registered converters match request Content-Type=' + this.t4b_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.r4b_1.v32_1.toString() + '.'));
448
+ this.g4g_1;
449
+ get_LOGGER().w2p('None of the registered converters match request Content-Type=' + this.j4g_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.h4g_1.l37_1.toString() + '.'));
450
450
  return null;
451
451
  } else {
452
452
  tmp_8 = tmp1_elvis_lhs;
453
453
  }
454
454
 
455
- tmp_6.u4b_1 = tmp_8;
456
- if (this.r4b_1.h3s() == null) {
457
- get_LOGGER().g2l('Request has unknown body type. Skipping ContentNegotiation for ' + this.r4b_1.v32_1.toString() + '.');
455
+ tmp_6.k4g_1 = tmp_8;
456
+ if (this.h4g_1.x3w() == null) {
457
+ get_LOGGER().w2p('Request has unknown body type. Skipping ContentNegotiation for ' + this.h4g_1.l37_1.toString() + '.');
458
458
  return null;
459
459
  }
460
460
 
461
- this.r4b_1.x32_1.t2h(HttpHeaders_getInstance().x2n_1);
461
+ this.h4g_1.n37_1.j2m(HttpHeaders_getInstance().n2s_1);
462
462
  var tmp_9 = this;
463
- tmp_9.v4b_1 = this.u4b_1;
463
+ tmp_9.l4g_1 = this.k4g_1;
464
464
  this.l9_1 = 1;
465
465
  continue $sm;
466
466
  case 1:
467
- this.x4b_1 = this.v4b_1;
468
- this.y4b_1 = this.x4b_1.j();
467
+ this.n4g_1 = this.l4g_1;
468
+ this.o4g_1 = this.n4g_1.j();
469
469
  this.l9_1 = 2;
470
470
  continue $sm;
471
471
  case 2:
472
- if (!this.y4b_1.k()) {
472
+ if (!this.o4g_1.k()) {
473
473
  this.l9_1 = 5;
474
474
  continue $sm;
475
475
  }
476
476
 
477
- this.z4b_1 = this.y4b_1.l();
477
+ this.p4g_1 = this.o4g_1.l();
478
478
  var tmp_10 = this;
479
- tmp_10.a4c_1 = this.z4b_1;
480
- this.b4c_1 = this.a4c_1;
479
+ tmp_10.q4g_1 = this.p4g_1;
480
+ this.r4g_1 = this.q4g_1;
481
481
  this.l9_1 = 3;
482
- var tmp0_elvis_lhs_0 = charset(this.t4b_1);
483
- var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().i29_1 : tmp0_elvis_lhs_0;
484
- var tmp_12 = ensureNotNull(this.r4b_1.h3s());
485
- var this_0 = this.s4b_1;
482
+ var tmp0_elvis_lhs_0 = charset(this.j4g_1);
483
+ var tmp_11 = tmp0_elvis_lhs_0 == null ? Charsets_getInstance().y2d_1 : tmp0_elvis_lhs_0;
484
+ var tmp_12 = ensureNotNull(this.h4g_1.x3w());
485
+ var this_0 = this.i4g_1;
486
486
  var tmp_13;
487
487
  if (!equals(this_0, NullBody_instance)) {
488
488
  tmp_13 = this_0;
@@ -490,7 +490,7 @@
490
490
  tmp_13 = null;
491
491
  }
492
492
 
493
- suspendResult = this.b4c_1.o49_1.f2y(this.t4b_1, tmp_11, tmp_12, tmp_13, this);
493
+ suspendResult = this.r4g_1.e4e_1.v32(this.j4g_1, tmp_11, tmp_12, tmp_13, this);
494
494
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
495
495
  return suspendResult;
496
496
  }
@@ -499,12 +499,12 @@
499
499
  case 3:
500
500
  var result = suspendResult;
501
501
  if (!(result == null)) {
502
- get_LOGGER().g2l('Converted request body using ' + toString(this.b4c_1.o49_1) + ' for ' + this.r4b_1.v32_1.toString());
502
+ get_LOGGER().w2p('Converted request body using ' + toString(this.r4g_1.e4e_1) + ' for ' + this.h4g_1.l37_1.toString());
503
503
  }
504
504
 
505
505
  var result_0 = result;
506
506
  if (!(result_0 == null)) {
507
- this.w4b_1 = result_0;
507
+ this.m4g_1 = result_0;
508
508
  this.l9_1 = 6;
509
509
  continue $sm;
510
510
  } else {
@@ -516,7 +516,7 @@
516
516
  this.l9_1 = 2;
517
517
  continue $sm;
518
518
  case 5:
519
- this.w4b_1 = null;
519
+ this.m4g_1 = null;
520
520
  if (false) {
521
521
  this.l9_1 = 1;
522
522
  continue $sm;
@@ -525,11 +525,11 @@
525
525
  this.l9_1 = 6;
526
526
  continue $sm;
527
527
  case 6:
528
- var tmp2_elvis_lhs = this.w4b_1;
528
+ var tmp2_elvis_lhs = this.m4g_1;
529
529
  var tmp_14;
530
530
  if (tmp2_elvis_lhs == null) {
531
- var tmp_15 = "Can't convert " + toString(this.s4b_1) + ' with contentType ' + this.t4b_1.toString() + ' using converters ';
532
- throw new ContentConverterException(tmp_15 + joinToString(this.u4b_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
531
+ var tmp_15 = "Can't convert " + toString(this.i4g_1) + ' with contentType ' + this.j4g_1.toString() + ' using converters ';
532
+ throw new ContentConverterException(tmp_15 + joinToString(this.k4g_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$convertRequest$lambda));
533
533
  } else {
534
534
  tmp_14 = tmp2_elvis_lhs;
535
535
  }
@@ -552,12 +552,12 @@
552
552
  };
553
553
  function $convertResponseCOROUTINE$(_this__u8e3s4, requestUrl, info, body, responseContentType, charset, resultContinuation) {
554
554
  CoroutineImpl.call(this, resultContinuation);
555
- this.k4c_1 = _this__u8e3s4;
556
- this.l4c_1 = requestUrl;
557
- this.m4c_1 = info;
558
- this.n4c_1 = body;
559
- this.o4c_1 = responseContentType;
560
- this.p4c_1 = charset;
555
+ this.a4h_1 = _this__u8e3s4;
556
+ this.b4h_1 = requestUrl;
557
+ this.c4h_1 = info;
558
+ this.d4h_1 = body;
559
+ this.e4h_1 = responseContentType;
560
+ this.f4h_1 = charset;
561
561
  }
562
562
  protoOf($convertResponseCOROUTINE$).t9 = function () {
563
563
  var suspendResult = this.n9_1;
@@ -567,24 +567,24 @@
567
567
  switch (tmp) {
568
568
  case 0:
569
569
  this.m9_1 = 2;
570
- var tmp_0 = this.n4c_1;
570
+ var tmp_0 = this.d4h_1;
571
571
  if (!isInterface(tmp_0, ByteReadChannel)) {
572
- get_LOGGER().g2l('Response body is already transformed. Skipping ContentNegotiation for ' + this.l4c_1.toString() + '.');
572
+ get_LOGGER().w2p('Response body is already transformed. Skipping ContentNegotiation for ' + this.b4h_1.toString() + '.');
573
573
  return null;
574
574
  }
575
575
 
576
- if (this.k4c_1.h4a_1.v1(this.m4c_1.b2l_1)) {
577
- get_LOGGER().g2l('Response body type ' + toString(this.m4c_1.b2l_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l4c_1.toString() + '.'));
576
+ if (this.a4h_1.x4e_1.v1(this.c4h_1.r2p_1)) {
577
+ get_LOGGER().w2p('Response body type ' + toString(this.c4h_1.r2p_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.b4h_1.toString() + '.'));
578
578
  return null;
579
579
  }
580
580
 
581
581
  var tmp_1 = this;
582
- var tmp0 = this.k4c_1.g4a_1;
582
+ var tmp0 = this.a4h_1.w4e_1;
583
583
  var destination = ArrayList_init_$Create$();
584
584
  var _iterator__ex2g4s = tmp0.j();
585
585
  while (_iterator__ex2g4s.k()) {
586
586
  var element = _iterator__ex2g4s.l();
587
- if (element.q49_1.s49(this.o4c_1)) {
587
+ if (element.g4e_1.i4e(this.e4h_1)) {
588
588
  destination.e(element);
589
589
  }
590
590
  }
@@ -593,7 +593,7 @@
593
593
  var _iterator__ex2g4s_0 = destination.j();
594
594
  while (_iterator__ex2g4s_0.k()) {
595
595
  var item = _iterator__ex2g4s_0.l();
596
- destination_0.e(item.o49_1);
596
+ destination_0.e(item.e4e_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.k4c_1;
610
- get_LOGGER().g2l('None of the registered converters match response with Content-Type=' + this.o4c_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l4c_1.toString() + '.'));
609
+ this.a4h_1;
610
+ get_LOGGER().w2p('None of the registered converters match response with Content-Type=' + this.e4h_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.b4h_1.toString() + '.'));
611
611
  return null;
612
612
  } else {
613
613
  tmp_3 = tmp0_elvis_lhs;
614
614
  }
615
615
 
616
- tmp_1.q4c_1 = tmp_3;
616
+ tmp_1.g4h_1 = tmp_3;
617
617
  this.l9_1 = 1;
618
- suspendResult = deserialize(this.q4c_1, this.n4c_1, this.m4c_1, this.p4c_1, this);
618
+ suspendResult = deserialize(this.g4h_1, this.d4h_1, this.c4h_1, this.f4h_1, this);
619
619
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
620
620
  return suspendResult;
621
621
  }
@@ -624,7 +624,7 @@
624
624
  case 1:
625
625
  var result = suspendResult;
626
626
  if (!isInterface(result, ByteReadChannel)) {
627
- get_LOGGER().g2l('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.l4c_1.toString() + '.');
627
+ get_LOGGER().w2p('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.b4h_1.toString() + '.');
628
628
  }
629
629
 
630
630
  return result;
@@ -644,16 +644,16 @@
644
644
  };
645
645
  function ContentNegotiation(registrations, ignoredTypes) {
646
646
  Plugin_getInstance();
647
- this.g4a_1 = registrations;
648
- this.h4a_1 = ignoredTypes;
647
+ this.w4e_1 = registrations;
648
+ this.x4e_1 = ignoredTypes;
649
649
  }
650
- protoOf(ContentNegotiation).i4a = function (request, body, $completion) {
650
+ protoOf(ContentNegotiation).y4e = function (request, body, $completion) {
651
651
  var tmp = new $convertRequestCOROUTINE$(this, request, body, $completion);
652
652
  tmp.n9_1 = Unit_instance;
653
653
  tmp.o9_1 = null;
654
654
  return tmp.t9();
655
655
  };
656
- protoOf(ContentNegotiation).b4b = function (requestUrl, info, body, responseContentType, charset, $completion) {
656
+ protoOf(ContentNegotiation).r4f = function (requestUrl, info, body, responseContentType, charset, $completion) {
657
657
  var tmp = new $convertResponseCOROUTINE$(this, requestUrl, info, body, responseContentType, charset, $completion);
658
658
  tmp.n9_1 = Unit_instance;
659
659
  tmp.o9_1 = null;
@@ -673,11 +673,11 @@
673
673
  }
674
674
  function JsonContentTypeMatcher() {
675
675
  }
676
- protoOf(JsonContentTypeMatcher).s49 = function (contentType) {
677
- if (contentType.a2n(Application_getInstance().t2l_1)) {
676
+ protoOf(JsonContentTypeMatcher).i4e = function (contentType) {
677
+ if (contentType.q2r(Application_getInstance().j2q_1)) {
678
678
  return true;
679
679
  }
680
- var value = contentType.z2m().toString();
680
+ var value = contentType.p2r().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).d2y = register$default;
701
+ protoOf(Config).t32 = register$default;
702
702
  //endregion
703
703
  //region block: init
704
704
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();