game_client_logic_deb 1.8.247 → 1.8.250

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 (35) hide show
  1. package/Kosi-Kaverit-kaverit.js +58 -58
  2. package/Kosi-Kodein-kodein-di.js +518 -518
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +1334 -1334
  4. package/Logic_Debertz-core.js +1370 -1331
  5. package/Logic_Debertz-core.js.map +1 -1
  6. package/Logic_Debertz-engine.js +13999 -12720
  7. package/Logic_Debertz-engine.js.map +1 -1
  8. package/Logic_Debertz-game_client.d.ts +62 -22
  9. package/Logic_Debertz-game_client.js +3155 -3155
  10. package/Logic_Debertz-game_client.js.map +1 -1
  11. package/kotlin-kotlin-stdlib.js +490 -444
  12. package/kotlin-kotlin-stdlib.js.map +1 -1
  13. package/kotlinx-atomicfu.js +13 -13
  14. package/kotlinx-coroutines-core.js +2165 -2165
  15. package/kotlinx-io-kotlinx-io-core.js +311 -311
  16. package/kotlinx-serialization-kotlinx-serialization-core.js +1756 -1756
  17. package/kotlinx-serialization-kotlinx-serialization-json.js +1320 -1320
  18. package/ktor-ktor-client-content-negotiation.js +133 -133
  19. package/ktor-ktor-client-core.js +1537 -1537
  20. package/ktor-ktor-client-logging.js +282 -282
  21. package/ktor-ktor-events.js +6 -6
  22. package/ktor-ktor-http.js +600 -600
  23. package/ktor-ktor-io.js +1257 -1257
  24. package/ktor-ktor-serialization-kotlinx-json.js +7 -7
  25. package/ktor-ktor-serialization-kotlinx.js +136 -136
  26. package/ktor-ktor-serialization.js +62 -62
  27. package/ktor-ktor-utils.js +492 -492
  28. package/ktor-ktor-websockets.js +42 -42
  29. package/package.json +1 -1
  30. package/raspberry-cardgame-lib-core.js +159 -159
  31. package/raspberry-cardgame-lib-logger.js +88 -88
  32. package/raspberry-cardgame-lib-random.js +784 -784
  33. package/raspberry-cardgame-lib-random.js.map +1 -1
  34. package/secure-random-secure-random.js +5 -5
  35. package/uuid.js +12 -12
@@ -34,33 +34,33 @@
34
34
  function d(tag, message, payload, $super) {
35
35
  tag = tag === VOID ? null : tag;
36
36
  payload = payload === VOID ? null : payload;
37
- return this.rm(tag, message, payload);
37
+ return this.tm(tag, message, payload);
38
38
  }
39
39
  function e(tag, message, exception, payload, $super) {
40
40
  tag = tag === VOID ? null : tag;
41
41
  message = message === VOID ? null : message;
42
42
  exception = exception === VOID ? null : exception;
43
43
  payload = payload === VOID ? null : payload;
44
- return this.sm(tag, message, exception, payload);
44
+ return this.um(tag, message, exception, payload);
45
45
  }
46
46
  function w(tag, message, exception, payload, $super) {
47
47
  tag = tag === VOID ? null : tag;
48
48
  message = message === VOID ? null : message;
49
49
  exception = exception === VOID ? null : exception;
50
50
  payload = payload === VOID ? null : payload;
51
- return this.tm(tag, message, exception, payload);
51
+ return this.vm(tag, message, exception, payload);
52
52
  }
53
53
  function v(tag, message, exception, payload, $super) {
54
54
  tag = tag === VOID ? null : tag;
55
55
  message = message === VOID ? null : message;
56
56
  exception = exception === VOID ? null : exception;
57
57
  payload = payload === VOID ? null : payload;
58
- return this.um(tag, message, exception, payload);
58
+ return this.wm(tag, message, exception, payload);
59
59
  }
60
60
  function i(tag, message, payload, $super) {
61
61
  tag = tag === VOID ? null : tag;
62
62
  payload = payload === VOID ? null : payload;
63
- return this.vm(tag, message, payload);
63
+ return this.xm(tag, message, payload);
64
64
  }
65
65
  initMetadataForInterface(LoggerOutput, 'LoggerOutput');
66
66
  initMetadataForInterface(RaspberryLogger, 'RaspberryLogger', VOID, VOID, [LoggerOutput]);
@@ -75,10 +75,10 @@
75
75
  //endregion
76
76
  function Companion() {
77
77
  }
78
- protoOf(Companion).nm = function () {
78
+ protoOf(Companion).pm = function () {
79
79
  return new CombinedRaspberryLogger(mutableListOf([new PlatformRaspberryLogger()]));
80
80
  };
81
- protoOf(Companion).om = function () {
81
+ protoOf(Companion).qm = function () {
82
82
  // Inline function 'kotlin.collections.mutableListOf' call
83
83
  var tmp$ret$0 = ArrayList_init_$Create$();
84
84
  return new CombinedRaspberryLogger(tmp$ret$0);
@@ -88,50 +88,50 @@
88
88
  return Companion_instance;
89
89
  }
90
90
  function CombinedRaspberryLogger(logOutputs) {
91
- this.pm_1 = logOutputs;
91
+ this.rm_1 = logOutputs;
92
92
  }
93
- protoOf(CombinedRaspberryLogger).qm = function (output) {
94
- this.pm_1.e(output);
93
+ protoOf(CombinedRaspberryLogger).sm = function (output) {
94
+ this.rm_1.e(output);
95
95
  };
96
- protoOf(CombinedRaspberryLogger).rm = function (tag, message, payload) {
96
+ protoOf(CombinedRaspberryLogger).tm = function (tag, message, payload) {
97
97
  // Inline function 'kotlin.collections.forEach' call
98
- var tmp0_iterator = this.pm_1.j();
98
+ var tmp0_iterator = this.rm_1.j();
99
99
  while (tmp0_iterator.k()) {
100
100
  var element = tmp0_iterator.l();
101
101
  // Inline function 'games.raspberry.logger.CombinedRaspberryLogger.d.<anonymous>' call
102
102
  element.d(tag, message, payload);
103
103
  }
104
104
  };
105
- protoOf(CombinedRaspberryLogger).sm = function (tag, message, exception, payload) {
105
+ protoOf(CombinedRaspberryLogger).um = function (tag, message, exception, payload) {
106
106
  // Inline function 'kotlin.collections.forEach' call
107
- var tmp0_iterator = this.pm_1.j();
107
+ var tmp0_iterator = this.rm_1.j();
108
108
  while (tmp0_iterator.k()) {
109
109
  var element = tmp0_iterator.l();
110
110
  // Inline function 'games.raspberry.logger.CombinedRaspberryLogger.e.<anonymous>' call
111
111
  element.e(tag, message, exception, payload);
112
112
  }
113
113
  };
114
- protoOf(CombinedRaspberryLogger).tm = function (tag, message, exception, payload) {
114
+ protoOf(CombinedRaspberryLogger).vm = function (tag, message, exception, payload) {
115
115
  // Inline function 'kotlin.collections.forEach' call
116
- var tmp0_iterator = this.pm_1.j();
116
+ var tmp0_iterator = this.rm_1.j();
117
117
  while (tmp0_iterator.k()) {
118
118
  var element = tmp0_iterator.l();
119
119
  // Inline function 'games.raspberry.logger.CombinedRaspberryLogger.w.<anonymous>' call
120
120
  element.w(tag, message, exception, payload);
121
121
  }
122
122
  };
123
- protoOf(CombinedRaspberryLogger).um = function (tag, message, exception, payload) {
123
+ protoOf(CombinedRaspberryLogger).wm = function (tag, message, exception, payload) {
124
124
  // Inline function 'kotlin.collections.forEach' call
125
- var tmp0_iterator = this.pm_1.j();
125
+ var tmp0_iterator = this.rm_1.j();
126
126
  while (tmp0_iterator.k()) {
127
127
  var element = tmp0_iterator.l();
128
128
  // Inline function 'games.raspberry.logger.CombinedRaspberryLogger.v.<anonymous>' call
129
129
  element.v(tag, message, exception, payload);
130
130
  }
131
131
  };
132
- protoOf(CombinedRaspberryLogger).vm = function (tag, message, payload) {
132
+ protoOf(CombinedRaspberryLogger).xm = function (tag, message, payload) {
133
133
  // Inline function 'kotlin.collections.forEach' call
134
- var tmp0_iterator = this.pm_1.j();
134
+ var tmp0_iterator = this.rm_1.j();
135
135
  while (tmp0_iterator.k()) {
136
136
  var element = tmp0_iterator.l();
137
137
  // Inline function 'games.raspberry.logger.CombinedRaspberryLogger.i.<anonymous>' call
@@ -144,38 +144,38 @@
144
144
  }
145
145
  function PlatformRaspberryLogger(enabled) {
146
146
  enabled = enabled === VOID ? true : enabled;
147
- this.ym_1 = enabled;
147
+ this.an_1 = enabled;
148
148
  }
149
- protoOf(PlatformRaspberryLogger).wm = function (_set____db54di) {
150
- this.ym_1 = _set____db54di;
149
+ protoOf(PlatformRaspberryLogger).ym = function (_set____db54di) {
150
+ this.an_1 = _set____db54di;
151
151
  };
152
- protoOf(PlatformRaspberryLogger).xm = function () {
153
- return this.ym_1;
152
+ protoOf(PlatformRaspberryLogger).zm = function () {
153
+ return this.an_1;
154
154
  };
155
- protoOf(PlatformRaspberryLogger).rm = function (tag, message, payload) {
156
- if (!this.ym_1)
155
+ protoOf(PlatformRaspberryLogger).tm = function (tag, message, payload) {
156
+ if (!this.an_1)
157
157
  return Unit_instance;
158
- Logger_getInstance().cn(tag, message);
158
+ Logger_getInstance().en(tag, message);
159
159
  };
160
- protoOf(PlatformRaspberryLogger).sm = function (tag, message, exception, payload) {
161
- if (!this.ym_1)
160
+ protoOf(PlatformRaspberryLogger).um = function (tag, message, exception, payload) {
161
+ if (!this.an_1)
162
162
  return Unit_instance;
163
- Logger_getInstance().dn(tag, message, exception);
163
+ Logger_getInstance().fn(tag, message, exception);
164
164
  };
165
- protoOf(PlatformRaspberryLogger).tm = function (tag, message, exception, payload) {
166
- if (!this.ym_1)
165
+ protoOf(PlatformRaspberryLogger).vm = function (tag, message, exception, payload) {
166
+ if (!this.an_1)
167
167
  return Unit_instance;
168
- Logger_getInstance().en(tag, message, exception);
168
+ Logger_getInstance().gn(tag, message, exception);
169
169
  };
170
- protoOf(PlatformRaspberryLogger).um = function (tag, message, exception, payload) {
171
- if (!this.ym_1)
170
+ protoOf(PlatformRaspberryLogger).wm = function (tag, message, exception, payload) {
171
+ if (!this.an_1)
172
172
  return Unit_instance;
173
- Logger_getInstance().fn(tag, message, exception);
173
+ Logger_getInstance().hn(tag, message, exception);
174
174
  };
175
- protoOf(PlatformRaspberryLogger).vm = function (tag, message, payload) {
176
- if (!this.ym_1)
175
+ protoOf(PlatformRaspberryLogger).xm = function (tag, message, payload) {
176
+ if (!this.an_1)
177
177
  return Unit_instance;
178
- Logger_getInstance().fn(tag, message);
178
+ Logger_getInstance().hn(tag, message);
179
179
  };
180
180
  function RaspberryLogger() {
181
181
  }
@@ -192,26 +192,26 @@
192
192
  Category_NONE_instance = new Category('NONE', 1, true);
193
193
  }
194
194
  function generateTag($this, tag) {
195
- return !($this.bn_1 == null) && !(tag == null) ? '' + $this.bn_1 + ':' + tag : tag;
195
+ return !($this.dn_1 == null) && !(tag == null) ? '' + $this.dn_1 + ':' + tag : tag;
196
196
  }
197
197
  function Category(name, ordinal, isEnabled) {
198
198
  Enum.call(this, name, ordinal);
199
- this.in_1 = isEnabled;
199
+ this.kn_1 = isEnabled;
200
200
  }
201
201
  function Logger$loggerSource$1() {
202
- this.jn_1 = new PlatformLogger();
202
+ this.ln_1 = new PlatformLogger();
203
203
  }
204
- protoOf(Logger$loggerSource$1).kn = function (tag, msg) {
205
- this.jn_1.kn(tag, msg);
204
+ protoOf(Logger$loggerSource$1).mn = function (tag, msg) {
205
+ this.ln_1.mn(tag, msg);
206
206
  };
207
- protoOf(Logger$loggerSource$1).ln = function (tag, msg, exception) {
208
- this.jn_1.ln(tag, msg, exception);
207
+ protoOf(Logger$loggerSource$1).nn = function (tag, msg, exception) {
208
+ this.ln_1.nn(tag, msg, exception);
209
209
  };
210
- protoOf(Logger$loggerSource$1).mn = function (tag, msg, exception) {
211
- this.jn_1.mn(tag, msg, exception);
210
+ protoOf(Logger$loggerSource$1).on = function (tag, msg, exception) {
211
+ this.ln_1.on(tag, msg, exception);
212
212
  };
213
- protoOf(Logger$loggerSource$1).nn = function (tag, msg, exception) {
214
- this.jn_1.nn(tag, msg, exception);
213
+ protoOf(Logger$loggerSource$1).pn = function (tag, msg, exception) {
214
+ this.ln_1.pn(tag, msg, exception);
215
215
  };
216
216
  function Category_NONE_getInstance() {
217
217
  Category_initEntries();
@@ -220,97 +220,97 @@
220
220
  function Logger() {
221
221
  Logger_instance = this;
222
222
  var tmp = this;
223
- tmp.zm_1 = new Logger$loggerSource$1();
224
- this.an_1 = true;
225
- this.bn_1 = null;
223
+ tmp.bn_1 = new Logger$loggerSource$1();
224
+ this.cn_1 = true;
225
+ this.dn_1 = null;
226
226
  }
227
- protoOf(Logger).cn = function (tag, message) {
228
- this.on(tag, message, Category_NONE_getInstance());
227
+ protoOf(Logger).en = function (tag, message) {
228
+ this.qn(tag, message, Category_NONE_getInstance());
229
229
  };
230
- protoOf(Logger).pn = function (tag, message, exception, category) {
231
- if (this.an_1 && category.in_1) {
230
+ protoOf(Logger).rn = function (tag, message, exception, category) {
231
+ if (this.cn_1 && category.kn_1) {
232
232
  if (exception == null)
233
233
  null;
234
234
  else {
235
235
  printStackTrace(exception);
236
236
  }
237
- this.zm_1.mn(generateTag(this, tag), generateMsg(message, exception), exception);
237
+ this.bn_1.on(generateTag(this, tag), generateMsg(message, exception), exception);
238
238
  }
239
239
  };
240
- protoOf(Logger).en = function (tag, message, exception, category, $super) {
240
+ protoOf(Logger).gn = function (tag, message, exception, category, $super) {
241
241
  tag = tag === VOID ? null : tag;
242
242
  message = message === VOID ? null : message;
243
243
  exception = exception === VOID ? null : exception;
244
244
  category = category === VOID ? Category_NONE_getInstance() : category;
245
245
  var tmp;
246
246
  if ($super === VOID) {
247
- this.pn(tag, message, exception, category);
247
+ this.rn(tag, message, exception, category);
248
248
  tmp = Unit_instance;
249
249
  } else {
250
- tmp = $super.pn.call(this, tag, message, exception, category);
250
+ tmp = $super.rn.call(this, tag, message, exception, category);
251
251
  }
252
252
  return tmp;
253
253
  };
254
- protoOf(Logger).on = function (tag, message, category) {
255
- if (this.an_1 && category.in_1) {
256
- this.zm_1.kn(generateTag(this, tag), message);
254
+ protoOf(Logger).qn = function (tag, message, category) {
255
+ if (this.cn_1 && category.kn_1) {
256
+ this.bn_1.mn(generateTag(this, tag), message);
257
257
  }
258
258
  };
259
- protoOf(Logger).qn = function (tag, message, exception, category) {
260
- if (this.an_1 && category.in_1) {
261
- this.zm_1.nn(generateTag(this, tag), generateMsg(message, exception), exception);
259
+ protoOf(Logger).sn = function (tag, message, exception, category) {
260
+ if (this.cn_1 && category.kn_1) {
261
+ this.bn_1.pn(generateTag(this, tag), generateMsg(message, exception), exception);
262
262
  }
263
263
  };
264
- protoOf(Logger).fn = function (tag, message, exception, category, $super) {
264
+ protoOf(Logger).hn = function (tag, message, exception, category, $super) {
265
265
  tag = tag === VOID ? null : tag;
266
266
  message = message === VOID ? null : message;
267
267
  exception = exception === VOID ? null : exception;
268
268
  category = category === VOID ? Category_NONE_getInstance() : category;
269
269
  var tmp;
270
270
  if ($super === VOID) {
271
- this.qn(tag, message, exception, category);
271
+ this.sn(tag, message, exception, category);
272
272
  tmp = Unit_instance;
273
273
  } else {
274
- tmp = $super.qn.call(this, tag, message, exception, category);
274
+ tmp = $super.sn.call(this, tag, message, exception, category);
275
275
  }
276
276
  return tmp;
277
277
  };
278
- protoOf(Logger).rn = function (tag, message, exception, category) {
279
- if (this.an_1 && category.in_1) {
278
+ protoOf(Logger).tn = function (tag, message, exception, category) {
279
+ if (this.cn_1 && category.kn_1) {
280
280
  if (exception == null)
281
281
  null;
282
282
  else {
283
283
  printStackTrace(exception);
284
284
  }
285
- this.zm_1.ln(generateTag(this, tag), generateMsg(message, exception), exception);
285
+ this.bn_1.nn(generateTag(this, tag), generateMsg(message, exception), exception);
286
286
  }
287
287
  };
288
- protoOf(Logger).dn = function (tag, message, exception, category, $super) {
288
+ protoOf(Logger).fn = function (tag, message, exception, category, $super) {
289
289
  tag = tag === VOID ? null : tag;
290
290
  message = message === VOID ? null : message;
291
291
  exception = exception === VOID ? null : exception;
292
292
  category = category === VOID ? Category_NONE_getInstance() : category;
293
293
  var tmp;
294
294
  if ($super === VOID) {
295
- this.rn(tag, message, exception, category);
295
+ this.tn(tag, message, exception, category);
296
296
  tmp = Unit_instance;
297
297
  } else {
298
- tmp = $super.rn.call(this, tag, message, exception, category);
298
+ tmp = $super.tn.call(this, tag, message, exception, category);
299
299
  }
300
300
  return tmp;
301
301
  };
302
- protoOf(Logger).sn = function (tag, exception) {
303
- this.dn(tag, null, exception);
302
+ protoOf(Logger).un = function (tag, exception) {
303
+ this.fn(tag, null, exception);
304
304
  };
305
- protoOf(Logger).tn = function (tag, exception, $super) {
305
+ protoOf(Logger).vn = function (tag, exception, $super) {
306
306
  tag = tag === VOID ? null : tag;
307
307
  exception = exception === VOID ? null : exception;
308
308
  var tmp;
309
309
  if ($super === VOID) {
310
- this.sn(tag, exception);
310
+ this.un(tag, exception);
311
311
  tmp = Unit_instance;
312
312
  } else {
313
- tmp = $super.sn.call(this, tag, exception);
313
+ tmp = $super.un.call(this, tag, exception);
314
314
  }
315
315
  return tmp;
316
316
  };
@@ -343,22 +343,22 @@
343
343
  }
344
344
  function PlatformLogger() {
345
345
  }
346
- protoOf(PlatformLogger).kn = function (tag, msg) {
346
+ protoOf(PlatformLogger).mn = function (tag, msg) {
347
347
  console.log('D:' + getLogTag(tag) + ': ' + msg);
348
348
  };
349
- protoOf(PlatformLogger).ln = function (tag, msg, exception) {
349
+ protoOf(PlatformLogger).nn = function (tag, msg, exception) {
350
350
  if (!(exception == null)) {
351
351
  console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + toString(exception));
352
352
  } else {
353
353
  console.error(getLogTag(tag) + ': ' + msg);
354
354
  }
355
355
  };
356
- protoOf(PlatformLogger).mn = function (tag, msg, exception) {
356
+ protoOf(PlatformLogger).on = function (tag, msg, exception) {
357
357
  var tmp = console;
358
358
  var tmp_0 = getLogTag(tag);
359
359
  tmp.warn(tmp_0 + ': ' + msg + ' ' + toString_0(exception == null ? '' : exception));
360
360
  };
361
- protoOf(PlatformLogger).nn = function (tag, msg, exception) {
361
+ protoOf(PlatformLogger).pn = function (tag, msg, exception) {
362
362
  var tmp = console;
363
363
  var tmp_0 = getLogTag(tag);
364
364
  tmp.log('V:' + tmp_0 + ': ' + msg + ' ' + toString_0(exception == null ? '' : exception));
@@ -375,9 +375,9 @@
375
375
  protoOf(PlatformRaspberryLogger).v = v;
376
376
  protoOf(PlatformRaspberryLogger).i = i;
377
377
  defineProp(protoOf(PlatformRaspberryLogger), 'enabled', function () {
378
- return this.xm();
378
+ return this.zm();
379
379
  }, function (value) {
380
- this.wm(value);
380
+ this.ym(value);
381
381
  });
382
382
  //endregion
383
383
  //region block: init