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.
- package/Kosi-Kaverit-kaverit.js +2 -2
- package/Kosi-Kodein-kodein-di.js +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime.js +151 -151
- package/Logic_Debertz-ai_module.js +193 -193
- package/Logic_Debertz-core.js +536 -536
- package/Logic_Debertz-engine.js +3710 -3649
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +16 -0
- package/Logic_Debertz-game_server.js +1001 -1001
- package/kotlin-kotlin-stdlib.js +546 -540
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2160 -2160
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +794 -794
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -62,19 +62,19 @@
|
|
|
62
62
|
configuration = tmp;
|
|
63
63
|
var tmp_0;
|
|
64
64
|
if ($super === VOID) {
|
|
65
|
-
this.
|
|
65
|
+
this.s4u(contentType, converter, configuration);
|
|
66
66
|
tmp_0 = Unit_instance;
|
|
67
67
|
} else {
|
|
68
|
-
tmp_0 = $super.
|
|
68
|
+
tmp_0 = $super.s4u.call(this, contentType, converter, configuration);
|
|
69
69
|
}
|
|
70
70
|
return tmp_0;
|
|
71
71
|
}
|
|
72
72
|
initMetadataForInterface(Configuration, 'Configuration');
|
|
73
73
|
function serialize(contentType, charset, typeInfo, value, $completion) {
|
|
74
|
-
return this.
|
|
74
|
+
return this.v4u(contentType, charset, typeInfo, value, $completion);
|
|
75
75
|
}
|
|
76
76
|
function serializeNullable(contentType, charset, typeInfo, value, $completion) {
|
|
77
|
-
return this.
|
|
77
|
+
return this.u4u(contentType, charset, typeInfo, ensureNotNull(value), $completion);
|
|
78
78
|
}
|
|
79
79
|
initMetadataForInterface(ContentConverter, 'ContentConverter', VOID, VOID, VOID, [4, 3]);
|
|
80
80
|
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
@@ -108,30 +108,30 @@
|
|
|
108
108
|
return tmp.a9();
|
|
109
109
|
}
|
|
110
110
|
function suitableCharset(_this__u8e3s4, defaultCharset) {
|
|
111
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
111
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w31_1 : defaultCharset;
|
|
112
112
|
var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
|
|
113
113
|
return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
|
|
114
114
|
}
|
|
115
115
|
function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
|
|
116
|
-
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().
|
|
117
|
-
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.
|
|
116
|
+
defaultCharset = defaultCharset === VOID ? Charsets_getInstance().w31_1 : defaultCharset;
|
|
117
|
+
var tmp0_iterator = parseAndSortHeader(_this__u8e3s4.u1b(HttpHeaders_getInstance().l3f_1)).l();
|
|
118
118
|
while (tmp0_iterator.m()) {
|
|
119
119
|
var charset = tmp0_iterator.n().oe();
|
|
120
120
|
if (charset === '*')
|
|
121
121
|
return defaultCharset;
|
|
122
|
-
else if (Companion_instance.
|
|
123
|
-
return Companion_instance.
|
|
122
|
+
else if (Companion_instance.x34(charset))
|
|
123
|
+
return Companion_instance.w34(charset);
|
|
124
124
|
}
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
127
127
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
128
|
-
this.
|
|
128
|
+
this.j4v_1 = function_0;
|
|
129
129
|
}
|
|
130
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
131
|
-
return this.
|
|
130
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
131
|
+
return this.j4v_1(value, $completion);
|
|
132
132
|
};
|
|
133
133
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
134
|
-
return this.
|
|
134
|
+
return this.j4v_1;
|
|
135
135
|
};
|
|
136
136
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
137
137
|
var tmp;
|
|
@@ -152,20 +152,20 @@
|
|
|
152
152
|
return hashCode(this.b3());
|
|
153
153
|
};
|
|
154
154
|
function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
155
|
-
this.
|
|
156
|
-
this.
|
|
157
|
-
this.
|
|
158
|
-
this.
|
|
155
|
+
this.s4v_1 = $$this$unsafeFlow;
|
|
156
|
+
this.t4v_1 = $charset;
|
|
157
|
+
this.u4v_1 = $typeInfo;
|
|
158
|
+
this.v4v_1 = $body;
|
|
159
159
|
CoroutineImpl.call(this, resultContinuation);
|
|
160
160
|
}
|
|
161
|
-
protoOf(deserialize$o$collect$slambda).
|
|
162
|
-
var tmp = this.
|
|
161
|
+
protoOf(deserialize$o$collect$slambda).x2h = function (value, $completion) {
|
|
162
|
+
var tmp = this.y2h(value, $completion);
|
|
163
163
|
tmp.u8_1 = Unit_instance;
|
|
164
164
|
tmp.v8_1 = null;
|
|
165
165
|
return tmp.a9();
|
|
166
166
|
};
|
|
167
167
|
protoOf(deserialize$o$collect$slambda).i9 = function (p1, $completion) {
|
|
168
|
-
return this.
|
|
168
|
+
return this.x2h((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
169
169
|
};
|
|
170
170
|
protoOf(deserialize$o$collect$slambda).a9 = function () {
|
|
171
171
|
var suspendResult = this.u8_1;
|
|
@@ -175,11 +175,11 @@
|
|
|
175
175
|
switch (tmp) {
|
|
176
176
|
case 0:
|
|
177
177
|
this.t8_1 = 3;
|
|
178
|
-
var tmp0 = this.
|
|
179
|
-
var tmp2 = this.
|
|
180
|
-
this.
|
|
178
|
+
var tmp0 = this.s4v_1;
|
|
179
|
+
var tmp2 = this.w4v_1;
|
|
180
|
+
this.x4v_1 = tmp0;
|
|
181
181
|
this.s8_1 = 1;
|
|
182
|
-
suspendResult = tmp2.
|
|
182
|
+
suspendResult = tmp2.w4u(this.t4v_1, this.u4v_1, this.v4v_1, this);
|
|
183
183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
184
184
|
return suspendResult;
|
|
185
185
|
}
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
case 1:
|
|
189
189
|
var ARGUMENT = suspendResult;
|
|
190
190
|
this.s8_1 = 2;
|
|
191
|
-
suspendResult = this.
|
|
191
|
+
suspendResult = this.x4v_1.o28(ARGUMENT, this);
|
|
192
192
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
193
193
|
return suspendResult;
|
|
194
194
|
}
|
|
@@ -210,23 +210,23 @@
|
|
|
210
210
|
}
|
|
211
211
|
while (true);
|
|
212
212
|
};
|
|
213
|
-
protoOf(deserialize$o$collect$slambda).
|
|
214
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
215
|
-
i.
|
|
213
|
+
protoOf(deserialize$o$collect$slambda).y2h = function (value, completion) {
|
|
214
|
+
var i = new deserialize$o$collect$slambda(this.s4v_1, this.t4v_1, this.u4v_1, this.v4v_1, completion);
|
|
215
|
+
i.w4v_1 = value;
|
|
216
216
|
return i;
|
|
217
217
|
};
|
|
218
218
|
function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
|
|
219
219
|
var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
|
|
220
220
|
var l = function (value, $completion) {
|
|
221
|
-
return i.
|
|
221
|
+
return i.x2h(value, $completion);
|
|
222
222
|
};
|
|
223
223
|
l.$arity = 1;
|
|
224
224
|
return l;
|
|
225
225
|
}
|
|
226
226
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
227
227
|
CoroutineImpl.call(this, resultContinuation);
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
228
|
+
this.g4w_1 = _this__u8e3s4;
|
|
229
|
+
this.h4w_1 = collector;
|
|
230
230
|
}
|
|
231
231
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
232
232
|
var suspendResult = this.u8_1;
|
|
@@ -236,10 +236,10 @@
|
|
|
236
236
|
switch (tmp) {
|
|
237
237
|
case 0:
|
|
238
238
|
this.t8_1 = 2;
|
|
239
|
-
var $this$unsafeFlow = this.
|
|
239
|
+
var $this$unsafeFlow = this.h4w_1;
|
|
240
240
|
this.s8_1 = 1;
|
|
241
|
-
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.
|
|
242
|
-
suspendResult = this.
|
|
241
|
+
var tmp_0 = deserialize$o$collect$slambda_0($this$unsafeFlow, this.g4w_1.j4w_1, this.g4w_1.k4w_1, this.g4w_1.l4w_1, null);
|
|
242
|
+
suspendResult = this.g4w_1.i4w_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
243
243
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
244
244
|
return suspendResult;
|
|
245
245
|
}
|
|
@@ -262,32 +262,32 @@
|
|
|
262
262
|
while (true);
|
|
263
263
|
};
|
|
264
264
|
function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
|
|
265
|
-
this.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
265
|
+
this.i4w_1 = $this;
|
|
266
|
+
this.j4w_1 = $charset;
|
|
267
|
+
this.k4w_1 = $typeInfo;
|
|
268
|
+
this.l4w_1 = $body;
|
|
269
269
|
}
|
|
270
|
-
protoOf(deserialize$$inlined$map$1).
|
|
270
|
+
protoOf(deserialize$$inlined$map$1).p28 = function (collector, $completion) {
|
|
271
271
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
272
272
|
tmp.u8_1 = Unit_instance;
|
|
273
273
|
tmp.v8_1 = null;
|
|
274
274
|
return tmp.a9();
|
|
275
275
|
};
|
|
276
|
-
protoOf(deserialize$$inlined$map$1).
|
|
277
|
-
return this.
|
|
276
|
+
protoOf(deserialize$$inlined$map$1).o27 = function (collector, $completion) {
|
|
277
|
+
return this.p28(collector, $completion);
|
|
278
278
|
};
|
|
279
279
|
function deserialize$slambda($body, resultContinuation) {
|
|
280
|
-
this.
|
|
280
|
+
this.u4w_1 = $body;
|
|
281
281
|
CoroutineImpl.call(this, resultContinuation);
|
|
282
282
|
}
|
|
283
|
-
protoOf(deserialize$slambda).
|
|
284
|
-
var tmp = this.
|
|
283
|
+
protoOf(deserialize$slambda).w4w = function (it, $completion) {
|
|
284
|
+
var tmp = this.y2h(it, $completion);
|
|
285
285
|
tmp.u8_1 = Unit_instance;
|
|
286
286
|
tmp.v8_1 = null;
|
|
287
287
|
return tmp.a9();
|
|
288
288
|
};
|
|
289
289
|
protoOf(deserialize$slambda).i9 = function (p1, $completion) {
|
|
290
|
-
return this.
|
|
290
|
+
return this.w4w((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
291
291
|
};
|
|
292
292
|
protoOf(deserialize$slambda).a9 = function () {
|
|
293
293
|
var suspendResult = this.u8_1;
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
var tmp = this.s8_1;
|
|
297
297
|
if (tmp === 0) {
|
|
298
298
|
this.t8_1 = 1;
|
|
299
|
-
return !(this.
|
|
299
|
+
return !(this.v4w_1 == null) || this.u4w_1.t2r();
|
|
300
300
|
} else if (tmp === 1) {
|
|
301
301
|
throw this.v8_1;
|
|
302
302
|
}
|
|
@@ -306,25 +306,25 @@
|
|
|
306
306
|
}
|
|
307
307
|
while (true);
|
|
308
308
|
};
|
|
309
|
-
protoOf(deserialize$slambda).
|
|
310
|
-
var i = new deserialize$slambda(this.
|
|
311
|
-
i.
|
|
309
|
+
protoOf(deserialize$slambda).y2h = function (it, completion) {
|
|
310
|
+
var i = new deserialize$slambda(this.u4w_1, completion);
|
|
311
|
+
i.v4w_1 = it;
|
|
312
312
|
return i;
|
|
313
313
|
};
|
|
314
314
|
function deserialize$slambda_0($body, resultContinuation) {
|
|
315
315
|
var i = new deserialize$slambda($body, resultContinuation);
|
|
316
316
|
var l = function (it, $completion) {
|
|
317
|
-
return i.
|
|
317
|
+
return i.w4w(it, $completion);
|
|
318
318
|
};
|
|
319
319
|
l.$arity = 1;
|
|
320
320
|
return l;
|
|
321
321
|
}
|
|
322
322
|
function $deserializeCOROUTINE$(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
|
|
323
323
|
CoroutineImpl.call(this, resultContinuation);
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
324
|
+
this.f4v_1 = _this__u8e3s4;
|
|
325
|
+
this.g4v_1 = body;
|
|
326
|
+
this.h4v_1 = typeInfo;
|
|
327
|
+
this.i4v_1 = charset;
|
|
328
328
|
}
|
|
329
329
|
protoOf($deserializeCOROUTINE$).a9 = function () {
|
|
330
330
|
var suspendResult = this.u8_1;
|
|
@@ -335,9 +335,9 @@
|
|
|
335
335
|
case 0:
|
|
336
336
|
this.t8_1 = 2;
|
|
337
337
|
this.s8_1 = 1;
|
|
338
|
-
var this_0 = asFlow(this.
|
|
339
|
-
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.
|
|
340
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.
|
|
338
|
+
var this_0 = asFlow(this.f4v_1);
|
|
339
|
+
var tmp_0 = new deserialize$$inlined$map$1(this_0, this.i4v_1, this.h4v_1, this.g4v_1);
|
|
340
|
+
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.g4v_1, null), this);
|
|
341
341
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
342
342
|
return suspendResult;
|
|
343
343
|
}
|
|
@@ -349,14 +349,14 @@
|
|
|
349
349
|
if (!(result == null)) {
|
|
350
350
|
tmp_1 = result;
|
|
351
351
|
} else {
|
|
352
|
-
if (!this.
|
|
353
|
-
tmp_1 = this.
|
|
352
|
+
if (!this.g4v_1.t2r()) {
|
|
353
|
+
tmp_1 = this.g4v_1;
|
|
354
354
|
} else {
|
|
355
|
-
var tmp0_safe_receiver = this.
|
|
355
|
+
var tmp0_safe_receiver = this.h4v_1.i3d_1;
|
|
356
356
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ta()) === true) {
|
|
357
357
|
tmp_1 = NullBody_instance;
|
|
358
358
|
} else {
|
|
359
|
-
throw new ContentConvertException('No suitable converter found for ' + this.
|
|
359
|
+
throw new ContentConvertException('No suitable converter found for ' + this.h4v_1.toString());
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
}
|