raspberry_games_server_game_logic 1.8.397 → 1.8.399

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 (44) hide show
  1. package/Kosi-Kaverit-kaverit.js +23 -23
  2. package/Kosi-Kodein-kodein-di.js +161 -161
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +170 -170
  4. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  5. package/Logic_Debertz-ai_module.js +2093 -0
  6. package/Logic_Debertz-ai_module.js.map +1 -0
  7. package/Logic_Debertz-core.js +1466 -1323
  8. package/Logic_Debertz-core.js.map +1 -1
  9. package/Logic_Debertz-engine.js +14335 -13706
  10. package/Logic_Debertz-engine.js.map +1 -1
  11. package/Logic_Debertz-game_server.d.ts +34 -16
  12. package/Logic_Debertz-game_server.js +1620 -1566
  13. package/Logic_Debertz-game_server.js.map +1 -1
  14. package/error-library-error.js +5 -5
  15. package/kotlin-kotlin-stdlib.js +2067 -2006
  16. package/kotlin-kotlin-stdlib.js.map +1 -1
  17. package/kotlinx-atomicfu.js +9 -9
  18. package/kotlinx-coroutines-core.js +696 -696
  19. package/kotlinx-io-kotlinx-io-core.js +41 -41
  20. package/kotlinx-serialization-kotlinx-serialization-core.js +196 -196
  21. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  22. package/kotlinx-serialization-kotlinx-serialization-json.js +253 -253
  23. package/ktor-ktor-client-content-negotiation.js +89 -89
  24. package/ktor-ktor-client-core.js +1054 -1029
  25. package/ktor-ktor-client-core.js.map +1 -1
  26. package/ktor-ktor-client-logging.js +293 -288
  27. package/ktor-ktor-client-logging.js.map +1 -1
  28. package/ktor-ktor-events.js +5 -5
  29. package/ktor-ktor-http.js +164 -160
  30. package/ktor-ktor-http.js.map +1 -1
  31. package/ktor-ktor-io.js +372 -372
  32. package/ktor-ktor-serialization-kotlinx.js +127 -127
  33. package/ktor-ktor-serialization.js +68 -68
  34. package/ktor-ktor-utils.js +278 -278
  35. package/ktor-ktor-websockets.js +15 -15
  36. package/package.json +1 -1
  37. package/random-library-crypto-rand.js +13 -13
  38. package/random-library-secure-random.js +5 -5
  39. package/raspberry-cardgame-lib-core.js +97 -97
  40. package/raspberry-cardgame-lib-core.js.map +1 -1
  41. package/raspberry-cardgame-lib-logger.js +12 -12
  42. package/raspberry-cardgame-lib-random.js +237 -237
  43. package/uuid.js +15 -15
  44. package/uuid.js.map +1 -1
@@ -21,29 +21,29 @@
21
21
  }(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
22
22
  'use strict';
23
23
  //region block: imports
24
- var Exception = kotlin_kotlin.$_$.ch;
24
+ var Exception = kotlin_kotlin.$_$.fh;
25
25
  var VOID = kotlin_kotlin.$_$.b;
26
26
  var Exception_init_$Init$ = kotlin_kotlin.$_$.g1;
27
- var captureStack = kotlin_kotlin.$_$.sb;
28
- var protoOf = kotlin_kotlin.$_$.id;
29
- var initMetadataForClass = kotlin_kotlin.$_$.ic;
27
+ var captureStack = kotlin_kotlin.$_$.ub;
28
+ var protoOf = kotlin_kotlin.$_$.kd;
29
+ var initMetadataForClass = kotlin_kotlin.$_$.kc;
30
30
  var Unit_instance = kotlin_kotlin.$_$.f5;
31
- var initMetadataForInterface = kotlin_kotlin.$_$.lc;
32
- var ensureNotNull = kotlin_kotlin.$_$.bi;
31
+ var initMetadataForInterface = kotlin_kotlin.$_$.nc;
32
+ var ensureNotNull = kotlin_kotlin.$_$.ei;
33
33
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.g;
34
34
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
35
- var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.h1;
35
+ var parseAndSortHeader = kotlin_io_ktor_ktor_http.$_$.i1;
36
36
  var Companion_instance = kotlin_io_ktor_ktor_io.$_$.f;
37
- var equals = kotlin_kotlin.$_$.bc;
38
- var FunctionAdapter = kotlin_kotlin.$_$.ob;
39
- var isInterface = kotlin_kotlin.$_$.wc;
37
+ var equals = kotlin_kotlin.$_$.dc;
38
+ var FunctionAdapter = kotlin_kotlin.$_$.qb;
39
+ var isInterface = kotlin_kotlin.$_$.yc;
40
40
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
41
- var hashCode = kotlin_kotlin.$_$.hc;
42
- var CoroutineImpl = kotlin_kotlin.$_$.oa;
43
- var THROW_CCE = kotlin_kotlin.$_$.kh;
44
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z9;
45
- var initMetadataForLambda = kotlin_kotlin.$_$.mc;
46
- var initMetadataForCoroutine = kotlin_kotlin.$_$.kc;
41
+ var hashCode = kotlin_kotlin.$_$.jc;
42
+ var CoroutineImpl = kotlin_kotlin.$_$.qa;
43
+ var THROW_CCE = kotlin_kotlin.$_$.nh;
44
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ba;
45
+ var initMetadataForLambda = kotlin_kotlin.$_$.oc;
46
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.mc;
47
47
  var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
48
48
  var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v;
49
49
  var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
@@ -103,9 +103,9 @@
103
103
  }
104
104
  function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
105
105
  var tmp = new $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, $completion);
106
- tmp.t8_1 = Unit_instance;
107
- tmp.u8_1 = null;
108
- return tmp.z8();
106
+ tmp.u8_1 = Unit_instance;
107
+ tmp.v8_1 = null;
108
+ return tmp.a9();
109
109
  }
110
110
  function suitableCharset(_this__u8e3s4, defaultCharset) {
111
111
  defaultCharset = defaultCharset === VOID ? Charsets_getInstance().v31_1 : defaultCharset;
@@ -116,7 +116,7 @@
116
116
  defaultCharset = defaultCharset === VOID ? Charsets_getInstance().v31_1 : defaultCharset;
117
117
  var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.t1b(HttpHeaders_getInstance().k3f_1)).l();
118
118
  while (tmp0_iterator.m()) {
119
- var charset = tmp0_iterator.n().ne();
119
+ var charset = tmp0_iterator.n().oe();
120
120
  if (charset === '*')
121
121
  return defaultCharset;
122
122
  else if (Companion_instance.w34(charset))
@@ -130,7 +130,7 @@
130
130
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
131
131
  return this.i4v_1(value, $completion);
132
132
  };
133
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
133
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
134
134
  return this.i4v_1;
135
135
  };
136
136
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
@@ -138,7 +138,7 @@
138
138
  if (!(other == null) ? isInterface(other, FlowCollector) : false) {
139
139
  var tmp_0;
140
140
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
141
- tmp_0 = equals(this.a3(), other.a3());
141
+ tmp_0 = equals(this.b3(), other.b3());
142
142
  } else {
143
143
  tmp_0 = false;
144
144
  }
@@ -149,7 +149,7 @@
149
149
  return tmp;
150
150
  };
151
151
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
152
- return hashCode(this.a3());
152
+ return hashCode(this.b3());
153
153
  };
154
154
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
155
155
  this.r4v_1 = $$this$unsafeFlow;
@@ -160,25 +160,25 @@
160
160
  }
161
161
  protoOf(deserialize$o$collect$slambda).w2h = function (value, $completion) {
162
162
  var tmp = this.x2h(value, $completion);
163
- tmp.t8_1 = Unit_instance;
164
- tmp.u8_1 = null;
165
- return tmp.z8();
163
+ tmp.u8_1 = Unit_instance;
164
+ tmp.v8_1 = null;
165
+ return tmp.a9();
166
166
  };
167
- protoOf(deserialize$o$collect$slambda).h9 = function (p1, $completion) {
167
+ protoOf(deserialize$o$collect$slambda).i9 = function (p1, $completion) {
168
168
  return this.w2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
169
169
  };
170
- protoOf(deserialize$o$collect$slambda).z8 = function () {
171
- var suspendResult = this.t8_1;
170
+ protoOf(deserialize$o$collect$slambda).a9 = function () {
171
+ var suspendResult = this.u8_1;
172
172
  $sm: do
173
173
  try {
174
- var tmp = this.r8_1;
174
+ var tmp = this.s8_1;
175
175
  switch (tmp) {
176
176
  case 0:
177
- this.s8_1 = 3;
177
+ this.t8_1 = 3;
178
178
  var tmp0 = this.r4v_1;
179
179
  var tmp2 = this.v4v_1;
180
180
  this.w4v_1 = tmp0;
181
- this.r8_1 = 1;
181
+ this.s8_1 = 1;
182
182
  suspendResult = tmp2.v4u(this.s4v_1, this.t4v_1, this.u4v_1, this);
183
183
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
184
184
  return suspendResult;
@@ -187,7 +187,7 @@
187
187
  continue $sm;
188
188
  case 1:
189
189
  var ARGUMENT = suspendResult;
190
- this.r8_1 = 2;
190
+ this.s8_1 = 2;
191
191
  suspendResult = this.w4v_1.n28(ARGUMENT, this);
192
192
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
193
193
  return suspendResult;
@@ -197,15 +197,15 @@
197
197
  case 2:
198
198
  return Unit_instance;
199
199
  case 3:
200
- throw this.u8_1;
200
+ throw this.v8_1;
201
201
  }
202
202
  } catch ($p) {
203
203
  var e = $p;
204
- if (this.s8_1 === 3) {
204
+ if (this.t8_1 === 3) {
205
205
  throw e;
206
206
  } else {
207
- this.r8_1 = this.s8_1;
208
- this.u8_1 = e;
207
+ this.s8_1 = this.t8_1;
208
+ this.v8_1 = e;
209
209
  }
210
210
  }
211
211
  while (true);
@@ -228,16 +228,16 @@
228
228
  this.f4w_1 = _this__u8e3s4;
229
229
  this.g4w_1 = collector;
230
230
  }
231
- protoOf($collectCOROUTINE$).z8 = function () {
232
- var suspendResult = this.t8_1;
231
+ protoOf($collectCOROUTINE$).a9 = function () {
232
+ var suspendResult = this.u8_1;
233
233
  $sm: do
234
234
  try {
235
- var tmp = this.r8_1;
235
+ var tmp = this.s8_1;
236
236
  switch (tmp) {
237
237
  case 0:
238
- this.s8_1 = 2;
238
+ this.t8_1 = 2;
239
239
  var $this$unsafeFlow = this.g4w_1;
240
- this.r8_1 = 1;
240
+ this.s8_1 = 1;
241
241
  var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.f4w_1.i4w_1, this.f4w_1.j4w_1, this.f4w_1.k4w_1, null);
242
242
  suspendResult = this.f4w_1.h4w_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
243
243
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -248,15 +248,15 @@
248
248
  case 1:
249
249
  return Unit_instance;
250
250
  case 2:
251
- throw this.u8_1;
251
+ throw this.v8_1;
252
252
  }
253
253
  } catch ($p) {
254
254
  var e = $p;
255
- if (this.s8_1 === 2) {
255
+ if (this.t8_1 === 2) {
256
256
  throw e;
257
257
  } else {
258
- this.r8_1 = this.s8_1;
259
- this.u8_1 = e;
258
+ this.s8_1 = this.t8_1;
259
+ this.v8_1 = e;
260
260
  }
261
261
  }
262
262
  while (true);
@@ -269,9 +269,9 @@
269
269
  }
270
270
  protoOf(deserialize$$inlined$map$1).o28 = function (collector, $completion) {
271
271
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
272
- tmp.t8_1 = Unit_instance;
273
- tmp.u8_1 = null;
274
- return tmp.z8();
272
+ tmp.u8_1 = Unit_instance;
273
+ tmp.v8_1 = null;
274
+ return tmp.a9();
275
275
  };
276
276
  protoOf(deserialize$$inlined$map$1).n27 = function (collector, $completion) {
277
277
  return this.o28(collector, $completion);
@@ -282,23 +282,23 @@
282
282
  }
283
283
  protoOf(deserialize$slambda).v4w = function (it, $completion) {
284
284
  var tmp = this.x2h(it, $completion);
285
- tmp.t8_1 = Unit_instance;
286
- tmp.u8_1 = null;
287
- return tmp.z8();
285
+ tmp.u8_1 = Unit_instance;
286
+ tmp.v8_1 = null;
287
+ return tmp.a9();
288
288
  };
289
- protoOf(deserialize$slambda).h9 = function (p1, $completion) {
289
+ protoOf(deserialize$slambda).i9 = function (p1, $completion) {
290
290
  return this.v4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
291
291
  };
292
- protoOf(deserialize$slambda).z8 = function () {
293
- var suspendResult = this.t8_1;
292
+ protoOf(deserialize$slambda).a9 = function () {
293
+ var suspendResult = this.u8_1;
294
294
  $sm: do
295
295
  try {
296
- var tmp = this.r8_1;
296
+ var tmp = this.s8_1;
297
297
  if (tmp === 0) {
298
- this.s8_1 = 1;
298
+ this.t8_1 = 1;
299
299
  return !(this.u4w_1 == null) || this.t4w_1.s2r();
300
300
  } else if (tmp === 1) {
301
- throw this.u8_1;
301
+ throw this.v8_1;
302
302
  }
303
303
  } catch ($p) {
304
304
  var e = $p;
@@ -326,15 +326,15 @@
326
326
  this.g4v_1 = typeInfo;
327
327
  this.h4v_1 = charset;
328
328
  }
329
- protoOf($deserializeCOROUTINE$).z8 = function () {
330
- var suspendResult = this.t8_1;
329
+ protoOf($deserializeCOROUTINE$).a9 = function () {
330
+ var suspendResult = this.u8_1;
331
331
  $sm: do
332
332
  try {
333
- var tmp = this.r8_1;
333
+ var tmp = this.s8_1;
334
334
  switch (tmp) {
335
335
  case 0:
336
- this.s8_1 = 2;
337
- this.r8_1 = 1;
336
+ this.t8_1 = 2;
337
+ this.s8_1 = 1;
338
338
  var this_0 = asFlow(this.e4v_1);
339
339
  var tmp_0 = new deserialize$$inlined$map$1(this_0, this.h4v_1, this.g4v_1, this.f4v_1);
340
340
  suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.f4v_1, null), this);
@@ -353,7 +353,7 @@
353
353
  tmp_1 = this.f4v_1;
354
354
  } else {
355
355
  var tmp0_safe_receiver = this.g4v_1.h3d_1;
356
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sa()) === true) {
356
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
357
357
  tmp_1 = NullBody_instance;
358
358
  } else {
359
359
  throw new ContentConvertException('No suitable converter found for ' + this.g4v_1.toString());
@@ -363,15 +363,15 @@
363
363
 
364
364
  return tmp_1;
365
365
  case 2:
366
- throw this.u8_1;
366
+ throw this.v8_1;
367
367
  }
368
368
  } catch ($p) {
369
369
  var e = $p;
370
- if (this.s8_1 === 2) {
370
+ if (this.t8_1 === 2) {
371
371
  throw e;
372
372
  } else {
373
- this.r8_1 = this.s8_1;
374
- this.u8_1 = e;
373
+ this.s8_1 = this.t8_1;
374
+ this.v8_1 = e;
375
375
  }
376
376
  }
377
377
  while (true);