raspberry_games_server_game_logic 1.8.356 → 1.8.358
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 +3 -3
- package/Kosi-Kodein-kodein-di.js +17 -17
- package/Kotlin-DateTime-library-kotlinx-datetime.js +32 -32
- package/Logic_Debertz-core.js +88 -57
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +2106 -1945
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +770 -770
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +1 -1
- package/kotlin-kotlin-stdlib.js +146 -132
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-coroutines-core.js +26 -26
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +10 -10
- package/kotlinx-serialization-kotlinx-serialization-core.js +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json.js +42 -42
- package/ktor-ktor-client-content-negotiation.js +6 -6
- package/ktor-ktor-client-core.js +20 -20
- package/ktor-ktor-client-logging.js +5 -5
- package/ktor-ktor-events.js +2 -2
- package/ktor-ktor-http.js +36 -36
- package/ktor-ktor-io.js +17 -17
- package/ktor-ktor-serialization-kotlinx.js +1 -1
- package/ktor-ktor-serialization.js +3 -3
- package/ktor-ktor-utils.js +13 -13
- package/ktor-ktor-websockets.js +5 -5
- package/package.json +1 -1
- package/random-library-crypto-rand.js +3 -3
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +8 -8
- package/raspberry-cardgame-lib-logger.js +5 -5
- package/raspberry-cardgame-lib-random.js +10 -10
- package/uuid.js +4 -4
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -1294,6 +1294,18 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1294
1294
|
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
1295
1295
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
1296
1296
|
}
|
|
1297
|
+
function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
|
|
1298
|
+
if (minimumValue > maximumValue)
|
|
1299
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
1300
|
+
if (_this__u8e3s4 < minimumValue)
|
|
1301
|
+
return minimumValue;
|
|
1302
|
+
if (_this__u8e3s4 > maximumValue)
|
|
1303
|
+
return maximumValue;
|
|
1304
|
+
return _this__u8e3s4;
|
|
1305
|
+
}
|
|
1306
|
+
function coerceAtLeast_0(_this__u8e3s4, minimumValue) {
|
|
1307
|
+
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
1308
|
+
}
|
|
1297
1309
|
function contains_5(_this__u8e3s4, value) {
|
|
1298
1310
|
// Inline function 'kotlin.let' call
|
|
1299
1311
|
var it = toIntExactOrNull(value);
|
|
@@ -1305,7 +1317,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1305
1317
|
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
1306
1318
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
1307
1319
|
}
|
|
1308
|
-
function
|
|
1320
|
+
function coerceIn_1(_this__u8e3s4, minimumValue, maximumValue) {
|
|
1309
1321
|
if (minimumValue > maximumValue)
|
|
1310
1322
|
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
1311
1323
|
if (_this__u8e3s4 < minimumValue)
|
|
@@ -1314,15 +1326,15 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
1314
1326
|
return maximumValue;
|
|
1315
1327
|
return _this__u8e3s4;
|
|
1316
1328
|
}
|
|
1317
|
-
function
|
|
1329
|
+
function coerceIn_2(_this__u8e3s4, range) {
|
|
1318
1330
|
if (isInterface(range, ClosedFloatingPointRange)) {
|
|
1319
|
-
return
|
|
1331
|
+
return coerceIn_3(_this__u8e3s4, range);
|
|
1320
1332
|
}
|
|
1321
1333
|
if (range.p())
|
|
1322
1334
|
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
|
|
1323
1335
|
return _this__u8e3s4.z(range.g1()) < 0 ? range.g1() : _this__u8e3s4.z(range.f1()) > 0 ? range.f1() : _this__u8e3s4;
|
|
1324
1336
|
}
|
|
1325
|
-
function
|
|
1337
|
+
function coerceIn_3(_this__u8e3s4, range) {
|
|
1326
1338
|
if (range.p())
|
|
1327
1339
|
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: ' + toString_1(range) + '.');
|
|
1328
1340
|
return range.h1(_this__u8e3s4, range.g1()) && !range.h1(range.g1(), _this__u8e3s4) ? range.g1() : range.h1(range.f1(), _this__u8e3s4) && !range.h1(_this__u8e3s4, range.f1()) ? range.f1() : _this__u8e3s4;
|
|
@@ -12661,7 +12673,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
12661
12673
|
function DelimitedRangesSequence$iterator$1(this$0) {
|
|
12662
12674
|
this.tk_1 = this$0;
|
|
12663
12675
|
this.ok_1 = -1;
|
|
12664
|
-
this.pk_1 =
|
|
12676
|
+
this.pk_1 = coerceIn_1(this$0.vk_1, 0, charSequenceLength(this$0.uk_1));
|
|
12665
12677
|
this.qk_1 = this.pk_1;
|
|
12666
12678
|
this.rk_1 = null;
|
|
12667
12679
|
this.sk_1 = 0;
|
|
@@ -13096,7 +13108,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
13096
13108
|
tmp_5 = false;
|
|
13097
13109
|
}
|
|
13098
13110
|
if (tmp_5) {
|
|
13099
|
-
tmp_4 = durationOfMillis(
|
|
13111
|
+
tmp_4 = durationOfMillis(coerceIn_2(totalMillis, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
|
|
13100
13112
|
} else {
|
|
13101
13113
|
tmp_4 = imul(get_sign(value), get_sign_0(scale)) > 0 ? Companion_getInstance_23().bl_1 : Companion_getInstance_23().cl_1;
|
|
13102
13114
|
}
|
|
@@ -13109,7 +13121,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
13109
13121
|
var tmp_6;
|
|
13110
13122
|
// Inline function 'kotlin.Long.div' call
|
|
13111
13123
|
if (result.c3(toLong(scale)).equals(value)) {
|
|
13112
|
-
tmp_6 = durationOfMillis(
|
|
13124
|
+
tmp_6 = durationOfMillis(coerceIn_2(result, (new Long(1, -1073741824)).i3(new Long(-1, 1073741823))));
|
|
13113
13125
|
} else {
|
|
13114
13126
|
tmp_6 = imul(get_sign(value), get_sign_0(scale)) > 0 ? Companion_getInstance_23().bl_1 : Companion_getInstance_23().cl_1;
|
|
13115
13127
|
}
|
|
@@ -16418,131 +16430,133 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
16418
16430
|
_.$_$.wc = roundToInt;
|
|
16419
16431
|
_.$_$.xc = round;
|
|
16420
16432
|
_.$_$.yc = ClosedRange;
|
|
16421
|
-
_.$_$.zc =
|
|
16422
|
-
_.$_$.ad =
|
|
16423
|
-
_.$_$.bd =
|
|
16424
|
-
_.$_$.cd =
|
|
16425
|
-
_.$_$.dd =
|
|
16426
|
-
_.$_$.ed =
|
|
16427
|
-
_.$_$.fd =
|
|
16428
|
-
_.$_$.gd =
|
|
16429
|
-
_.$_$.hd =
|
|
16430
|
-
_.$_$.id =
|
|
16431
|
-
_.$_$.jd =
|
|
16432
|
-
_.$_$.kd =
|
|
16433
|
-
_.$_$.ld =
|
|
16434
|
-
_.$_$.md =
|
|
16435
|
-
_.$_$.nd =
|
|
16436
|
-
_.$_$.od =
|
|
16437
|
-
_.$_$.pd =
|
|
16438
|
-
_.$_$.qd =
|
|
16439
|
-
_.$_$.rd =
|
|
16440
|
-
_.$_$.sd =
|
|
16441
|
-
_.$_$.td =
|
|
16442
|
-
_.$_$.ud =
|
|
16443
|
-
_.$_$.vd =
|
|
16444
|
-
_.$_$.wd =
|
|
16445
|
-
_.$_$.xd =
|
|
16446
|
-
_.$_$.yd =
|
|
16447
|
-
_.$_$.zd =
|
|
16448
|
-
_.$_$.ae =
|
|
16449
|
-
_.$_$.be =
|
|
16450
|
-
_.$_$.ce =
|
|
16451
|
-
_.$_$.de =
|
|
16452
|
-
_.$_$.ee =
|
|
16453
|
-
_.$_$.fe =
|
|
16454
|
-
_.$_$.ge =
|
|
16455
|
-
_.$_$.he =
|
|
16456
|
-
_.$_$.ie =
|
|
16457
|
-
_.$_$.je =
|
|
16458
|
-
_.$_$.ke =
|
|
16459
|
-
_.$_$.le =
|
|
16460
|
-
_.$_$.me =
|
|
16461
|
-
_.$_$.ne =
|
|
16462
|
-
_.$_$.oe =
|
|
16463
|
-
_.$_$.pe =
|
|
16464
|
-
_.$_$.qe =
|
|
16465
|
-
_.$_$.re =
|
|
16466
|
-
_.$_$.se =
|
|
16467
|
-
_.$_$.te =
|
|
16468
|
-
_.$_$.ue =
|
|
16469
|
-
_.$_$.ve =
|
|
16470
|
-
_.$_$.we =
|
|
16471
|
-
_.$_$.xe =
|
|
16472
|
-
_.$_$.ye =
|
|
16473
|
-
_.$_$.ze =
|
|
16474
|
-
_.$_$.af =
|
|
16475
|
-
_.$_$.bf =
|
|
16476
|
-
_.$_$.cf =
|
|
16477
|
-
_.$_$.df =
|
|
16478
|
-
_.$_$.ef =
|
|
16479
|
-
_.$_$.ff =
|
|
16480
|
-
_.$_$.gf =
|
|
16481
|
-
_.$_$.hf =
|
|
16482
|
-
_.$_$.if =
|
|
16483
|
-
_.$_$.jf =
|
|
16484
|
-
_.$_$.kf =
|
|
16485
|
-
_.$_$.lf =
|
|
16486
|
-
_.$_$.mf =
|
|
16487
|
-
_.$_$.nf =
|
|
16488
|
-
_.$_$.of =
|
|
16489
|
-
_.$_$.pf =
|
|
16490
|
-
_.$_$.qf =
|
|
16491
|
-
_.$_$.rf =
|
|
16492
|
-
_.$_$.sf =
|
|
16493
|
-
_.$_$.tf =
|
|
16494
|
-
_.$_$.uf =
|
|
16495
|
-
_.$_$.vf =
|
|
16496
|
-
_.$_$.wf =
|
|
16497
|
-
_.$_$.xf =
|
|
16498
|
-
_.$_$.yf =
|
|
16499
|
-
_.$_$.zf =
|
|
16500
|
-
_.$_$.ag =
|
|
16501
|
-
_.$_$.bg =
|
|
16502
|
-
_.$_$.cg =
|
|
16503
|
-
_.$_$.dg =
|
|
16504
|
-
_.$_$.eg =
|
|
16505
|
-
_.$_$.fg =
|
|
16506
|
-
_.$_$.gg =
|
|
16507
|
-
_.$_$.hg =
|
|
16508
|
-
_.$_$.ig =
|
|
16509
|
-
_.$_$.jg =
|
|
16510
|
-
_.$_$.kg =
|
|
16511
|
-
_.$_$.lg =
|
|
16512
|
-
_.$_$.mg =
|
|
16513
|
-
_.$_$.ng =
|
|
16514
|
-
_.$_$.og =
|
|
16515
|
-
_.$_$.pg =
|
|
16516
|
-
_.$_$.qg =
|
|
16517
|
-
_.$_$.rg =
|
|
16518
|
-
_.$_$.sg =
|
|
16519
|
-
_.$_$.tg =
|
|
16520
|
-
_.$_$.ug =
|
|
16521
|
-
_.$_$.vg =
|
|
16522
|
-
_.$_$.wg =
|
|
16523
|
-
_.$_$.xg =
|
|
16524
|
-
_.$_$.yg =
|
|
16525
|
-
_.$_$.zg =
|
|
16526
|
-
_.$_$.ah =
|
|
16527
|
-
_.$_$.bh =
|
|
16528
|
-
_.$_$.ch =
|
|
16529
|
-
_.$_$.dh =
|
|
16530
|
-
_.$_$.eh =
|
|
16531
|
-
_.$_$.fh =
|
|
16532
|
-
_.$_$.gh =
|
|
16533
|
-
_.$_$.hh =
|
|
16534
|
-
_.$_$.ih =
|
|
16535
|
-
_.$_$.jh =
|
|
16536
|
-
_.$_$.kh =
|
|
16537
|
-
_.$_$.lh =
|
|
16538
|
-
_.$_$.mh =
|
|
16539
|
-
_.$_$.nh =
|
|
16540
|
-
_.$_$.oh =
|
|
16541
|
-
_.$_$.ph =
|
|
16542
|
-
_.$_$.qh =
|
|
16543
|
-
_.$_$.rh =
|
|
16544
|
-
_.$_$.sh =
|
|
16545
|
-
_.$_$.th =
|
|
16433
|
+
_.$_$.zc = coerceAtLeast_0;
|
|
16434
|
+
_.$_$.ad = coerceAtLeast;
|
|
16435
|
+
_.$_$.bd = coerceAtMost_0;
|
|
16436
|
+
_.$_$.cd = coerceAtMost;
|
|
16437
|
+
_.$_$.dd = coerceIn_0;
|
|
16438
|
+
_.$_$.ed = coerceIn;
|
|
16439
|
+
_.$_$.fd = contains_5;
|
|
16440
|
+
_.$_$.gd = downTo;
|
|
16441
|
+
_.$_$.hd = step;
|
|
16442
|
+
_.$_$.id = until;
|
|
16443
|
+
_.$_$.jd = KClass;
|
|
16444
|
+
_.$_$.kd = KMutableProperty1;
|
|
16445
|
+
_.$_$.ld = KProperty0;
|
|
16446
|
+
_.$_$.md = KProperty1;
|
|
16447
|
+
_.$_$.nd = KTypeParameter;
|
|
16448
|
+
_.$_$.od = filter;
|
|
16449
|
+
_.$_$.pd = firstOrNull_2;
|
|
16450
|
+
_.$_$.qd = flatMap;
|
|
16451
|
+
_.$_$.rd = mapNotNull;
|
|
16452
|
+
_.$_$.sd = map;
|
|
16453
|
+
_.$_$.td = toList_2;
|
|
16454
|
+
_.$_$.ud = concatToString;
|
|
16455
|
+
_.$_$.vd = contains_8;
|
|
16456
|
+
_.$_$.wd = contains_7;
|
|
16457
|
+
_.$_$.xd = decodeToString;
|
|
16458
|
+
_.$_$.yd = encodeToByteArray;
|
|
16459
|
+
_.$_$.zd = endsWith_0;
|
|
16460
|
+
_.$_$.ae = endsWith;
|
|
16461
|
+
_.$_$.be = equals_0;
|
|
16462
|
+
_.$_$.ce = first_2;
|
|
16463
|
+
_.$_$.de = indexOfAny;
|
|
16464
|
+
_.$_$.ee = indexOf_5;
|
|
16465
|
+
_.$_$.fe = indexOf_4;
|
|
16466
|
+
_.$_$.ge = isBlank;
|
|
16467
|
+
_.$_$.he = isHighSurrogate;
|
|
16468
|
+
_.$_$.ie = isLowSurrogate;
|
|
16469
|
+
_.$_$.je = isSurrogate;
|
|
16470
|
+
_.$_$.ke = isWhitespace;
|
|
16471
|
+
_.$_$.le = get_lastIndex_3;
|
|
16472
|
+
_.$_$.me = lastIndexOf_0;
|
|
16473
|
+
_.$_$.ne = last_2;
|
|
16474
|
+
_.$_$.oe = padStart;
|
|
16475
|
+
_.$_$.pe = removePrefix;
|
|
16476
|
+
_.$_$.qe = removeSuffix;
|
|
16477
|
+
_.$_$.re = repeat;
|
|
16478
|
+
_.$_$.se = replace;
|
|
16479
|
+
_.$_$.te = replace_0;
|
|
16480
|
+
_.$_$.ue = single_2;
|
|
16481
|
+
_.$_$.ve = split;
|
|
16482
|
+
_.$_$.we = split_1;
|
|
16483
|
+
_.$_$.xe = startsWith;
|
|
16484
|
+
_.$_$.ye = startsWith_1;
|
|
16485
|
+
_.$_$.ze = substringAfter;
|
|
16486
|
+
_.$_$.af = substringBefore;
|
|
16487
|
+
_.$_$.bf = substring_0;
|
|
16488
|
+
_.$_$.cf = substring;
|
|
16489
|
+
_.$_$.df = take_0;
|
|
16490
|
+
_.$_$.ef = toBooleanStrictOrNull;
|
|
16491
|
+
_.$_$.ff = toDoubleOrNull;
|
|
16492
|
+
_.$_$.gf = toDouble;
|
|
16493
|
+
_.$_$.hf = toIntOrNull;
|
|
16494
|
+
_.$_$.if = toInt;
|
|
16495
|
+
_.$_$.jf = toLongOrNull;
|
|
16496
|
+
_.$_$.kf = toLong_0;
|
|
16497
|
+
_.$_$.lf = toString_3;
|
|
16498
|
+
_.$_$.mf = toUByte;
|
|
16499
|
+
_.$_$.nf = toUInt;
|
|
16500
|
+
_.$_$.of = toULongOrNull;
|
|
16501
|
+
_.$_$.pf = toULong;
|
|
16502
|
+
_.$_$.qf = toUShort;
|
|
16503
|
+
_.$_$.rf = trimIndent;
|
|
16504
|
+
_.$_$.sf = trimMargin;
|
|
16505
|
+
_.$_$.tf = trim;
|
|
16506
|
+
_.$_$.uf = Duration;
|
|
16507
|
+
_.$_$.vf = Instant;
|
|
16508
|
+
_.$_$.wf = toDuration_1;
|
|
16509
|
+
_.$_$.xf = toDuration_0;
|
|
16510
|
+
_.$_$.yf = toDuration;
|
|
16511
|
+
_.$_$.zf = Uuid;
|
|
16512
|
+
_.$_$.ag = ArithmeticException;
|
|
16513
|
+
_.$_$.bg = Char;
|
|
16514
|
+
_.$_$.cg = Comparable;
|
|
16515
|
+
_.$_$.dg = Comparator;
|
|
16516
|
+
_.$_$.eg = DeepRecursiveFunction;
|
|
16517
|
+
_.$_$.fg = DeepRecursiveScope;
|
|
16518
|
+
_.$_$.gg = Enum;
|
|
16519
|
+
_.$_$.hg = Error_0;
|
|
16520
|
+
_.$_$.ig = Exception;
|
|
16521
|
+
_.$_$.jg = IllegalArgumentException;
|
|
16522
|
+
_.$_$.kg = IllegalStateException;
|
|
16523
|
+
_.$_$.lg = Long;
|
|
16524
|
+
_.$_$.mg = NoSuchElementException;
|
|
16525
|
+
_.$_$.ng = Pair;
|
|
16526
|
+
_.$_$.og = Result;
|
|
16527
|
+
_.$_$.pg = RuntimeException;
|
|
16528
|
+
_.$_$.qg = THROW_CCE;
|
|
16529
|
+
_.$_$.rg = THROW_IAE;
|
|
16530
|
+
_.$_$.sg = Triple;
|
|
16531
|
+
_.$_$.tg = UByteArray;
|
|
16532
|
+
_.$_$.ug = UByte;
|
|
16533
|
+
_.$_$.vg = UIntArray;
|
|
16534
|
+
_.$_$.wg = UInt;
|
|
16535
|
+
_.$_$.xg = ULongArray;
|
|
16536
|
+
_.$_$.yg = ULong;
|
|
16537
|
+
_.$_$.zg = UShortArray;
|
|
16538
|
+
_.$_$.ah = UShort;
|
|
16539
|
+
_.$_$.bh = Unit;
|
|
16540
|
+
_.$_$.ch = UnsupportedOperationException;
|
|
16541
|
+
_.$_$.dh = addSuppressed;
|
|
16542
|
+
_.$_$.eh = arrayOf;
|
|
16543
|
+
_.$_$.fh = countTrailingZeroBits;
|
|
16544
|
+
_.$_$.gh = createFailure;
|
|
16545
|
+
_.$_$.hh = ensureNotNull;
|
|
16546
|
+
_.$_$.ih = invoke;
|
|
16547
|
+
_.$_$.jh = isFinite;
|
|
16548
|
+
_.$_$.kh = isFinite_0;
|
|
16549
|
+
_.$_$.lh = isNaN_0;
|
|
16550
|
+
_.$_$.mh = lazy_0;
|
|
16551
|
+
_.$_$.nh = lazy;
|
|
16552
|
+
_.$_$.oh = noWhenBranchMatchedException;
|
|
16553
|
+
_.$_$.ph = plus_4;
|
|
16554
|
+
_.$_$.qh = printStackTrace;
|
|
16555
|
+
_.$_$.rh = stackTraceToString;
|
|
16556
|
+
_.$_$.sh = throwOnFailure;
|
|
16557
|
+
_.$_$.th = throwUninitializedPropertyAccessException;
|
|
16558
|
+
_.$_$.uh = toString_0;
|
|
16559
|
+
_.$_$.vh = to;
|
|
16546
16560
|
//endregion
|
|
16547
16561
|
return _;
|
|
16548
16562
|
}));
|