raspberry_games_server_game_logic 1.8.373 → 1.8.374

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.
@@ -17,7 +17,7 @@
17
17
  var objectCreate = kotlin_kotlin.$_$.gd;
18
18
  var captureStack = kotlin_kotlin.$_$.rb;
19
19
  var Exception_init_$Init$_0 = kotlin_kotlin.$_$.g1;
20
- var Exception = kotlin_kotlin.$_$.ch;
20
+ var Exception = kotlin_kotlin.$_$.dh;
21
21
  var initMetadataForClass = kotlin_kotlin.$_$.hc;
22
22
  //endregion
23
23
  //region block: pre-declaration
@@ -1294,16 +1294,19 @@ if (typeof String.prototype.startsWith === 'undefined') {
1294
1294
  function coerceAtLeast(_this__u8e3s4, minimumValue) {
1295
1295
  return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
1296
1296
  }
1297
+ function coerceAtMost(_this__u8e3s4, maximumValue) {
1298
+ return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
1299
+ }
1297
1300
  function downTo(_this__u8e3s4, to) {
1298
1301
  return Companion_instance_16.y(_this__u8e3s4, to, -1);
1299
1302
  }
1300
- function coerceAtMost(_this__u8e3s4, maximumValue) {
1303
+ function coerceAtMost_0(_this__u8e3s4, maximumValue) {
1301
1304
  return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
1302
1305
  }
1303
1306
  function coerceAtLeast_0(_this__u8e3s4, minimumValue) {
1304
1307
  return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
1305
1308
  }
1306
- function coerceAtMost_0(_this__u8e3s4, maximumValue) {
1309
+ function coerceAtMost_1(_this__u8e3s4, maximumValue) {
1307
1310
  return compare(_this__u8e3s4, maximumValue) > 0 ? maximumValue : _this__u8e3s4;
1308
1311
  }
1309
1312
  function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
@@ -1441,7 +1444,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
1441
1444
  var message = 'Requested character count ' + n + ' is less than zero.';
1442
1445
  throw IllegalArgumentException_init_$Create$_0(toString_1(message));
1443
1446
  }
1444
- return substring(_this__u8e3s4, 0, coerceAtMost(n, _this__u8e3s4.length));
1447
+ return substring(_this__u8e3s4, 0, coerceAtMost_0(n, _this__u8e3s4.length));
1445
1448
  }
1446
1449
  function single_2(_this__u8e3s4) {
1447
1450
  var tmp;
@@ -1462,7 +1465,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
1462
1465
  var message = 'Requested character count ' + n + ' is less than zero.';
1463
1466
  throw IllegalArgumentException_init_$Create$_0(toString_1(message));
1464
1467
  }
1465
- return substring_0(_this__u8e3s4, coerceAtMost(n, _this__u8e3s4.length));
1468
+ return substring_0(_this__u8e3s4, coerceAtMost_0(n, _this__u8e3s4.length));
1466
1469
  }
1467
1470
  function dropLast_0(_this__u8e3s4, n) {
1468
1471
  // Inline function 'kotlin.require' call
@@ -5282,7 +5285,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
5282
5285
  $this.t5();
5283
5286
  retry: while (true) {
5284
5287
  var hash_0 = hash($this, key);
5285
- var tentativeMaxProbeDistance = coerceAtMost(imul($this.s6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
5288
+ var tentativeMaxProbeDistance = coerceAtMost_0(imul($this.s6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
5286
5289
  var probeDistance = 0;
5287
5290
  while (true) {
5288
5291
  var index = $this.r6_1[hash_0];
@@ -5335,7 +5338,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
5335
5338
  var hash_0 = removedHash;
5336
5339
  var hole = removedHash;
5337
5340
  var probeDistance = 0;
5338
- var patchAttemptsLeft = coerceAtMost(imul($this.s6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
5341
+ var patchAttemptsLeft = coerceAtMost_0(imul($this.s6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
5339
5342
  while (true) {
5340
5343
  var _unary__edvuaz = hash_0;
5341
5344
  hash_0 = _unary__edvuaz - 1 | 0;
@@ -8206,7 +8209,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
8206
8209
  function formatBytesInto(_this__u8e3s4, dst, dstOffset, startIndex, endIndex) {
8207
8210
  var dstIndex = dstOffset;
8208
8211
  if (startIndex < 4) {
8209
- dstIndex = formatBytesInto_0(_this__u8e3s4.y2_1, dst, dstIndex, startIndex, coerceAtMost(endIndex, 4));
8212
+ dstIndex = formatBytesInto_0(_this__u8e3s4.y2_1, dst, dstIndex, startIndex, coerceAtMost_0(endIndex, 4));
8210
8213
  }
8211
8214
  if (endIndex > 4) {
8212
8215
  formatBytesInto_0(_this__u8e3s4.x2_1, dst, dstIndex, coerceAtLeast_0(startIndex - 4 | 0, 0), endIndex - 4 | 0);
@@ -11695,7 +11698,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
11695
11698
  }
11696
11699
  function throwNotContainedAt(_this__u8e3s4, index, endIndex, part, partName) {
11697
11700
  _init_properties_HexExtensions_kt__wu8rc3();
11698
- var substring_0 = substring(_this__u8e3s4, index, coerceAtMost(index + part.length | 0, endIndex));
11701
+ var substring_0 = substring(_this__u8e3s4, index, coerceAtMost_0(index + part.length | 0, endIndex));
11699
11702
  throw NumberFormatException_init_$Create$_0('Expected ' + partName + ' "' + part + '" at index ' + index + ', but was ' + substring_0);
11700
11703
  }
11701
11704
  var properties_initialized_HexExtensions_kt_h16sbl;
@@ -12550,7 +12553,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
12550
12553
  return listOf(toString_1(_this__u8e3s4));
12551
12554
  }
12552
12555
  var isLimited = limit > 0;
12553
- var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
12556
+ var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost_0(limit, 10) : 10);
12554
12557
  $l$loop: do {
12555
12558
  var tmp2 = currentOffset;
12556
12559
  // Inline function 'kotlin.text.substring' call
@@ -12583,7 +12586,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
12583
12586
  }
12584
12587
  function indexOf_6(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
12585
12588
  last = last === VOID ? false : last;
12586
- var indices = !last ? numberRangeToNumber(coerceAtLeast_0(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), coerceAtLeast_0(endIndex, 0));
12589
+ var indices = !last ? numberRangeToNumber(coerceAtLeast_0(startIndex, 0), coerceAtMost_0(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost_0(startIndex, get_lastIndex_3(_this__u8e3s4)), coerceAtLeast_0(endIndex, 0));
12587
12590
  var tmp;
12588
12591
  if (typeof _this__u8e3s4 === 'string') {
12589
12592
  tmp = typeof other === 'string';
@@ -12841,7 +12844,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
12841
12844
  var index = !last ? indexOf_5(_this__u8e3s4, string, startIndex) : lastIndexOf_0(_this__u8e3s4, string, startIndex);
12842
12845
  return index < 0 ? null : to(index, string);
12843
12846
  }
12844
- var indices = !last ? numberRangeToNumber(coerceAtLeast_0(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_3(_this__u8e3s4)), 0);
12847
+ var indices = !last ? numberRangeToNumber(coerceAtLeast_0(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost_0(startIndex, get_lastIndex_3(_this__u8e3s4)), 0);
12845
12848
  if (typeof _this__u8e3s4 === 'string') {
12846
12849
  var inductionVariable = indices.z_1;
12847
12850
  var last_0 = indices.a1_1;
@@ -16479,135 +16482,136 @@ if (typeof String.prototype.startsWith === 'undefined') {
16479
16482
  _.$_$.od = ClosedRange;
16480
16483
  _.$_$.pd = coerceAtLeast;
16481
16484
  _.$_$.qd = coerceAtLeast_0;
16482
- _.$_$.rd = coerceAtMost_0;
16483
- _.$_$.sd = coerceAtMost;
16484
- _.$_$.td = coerceIn;
16485
- _.$_$.ud = coerceIn_0;
16486
- _.$_$.vd = contains_5;
16487
- _.$_$.wd = downTo;
16488
- _.$_$.xd = step;
16489
- _.$_$.yd = until;
16490
- _.$_$.zd = createInvariantKTypeProjection;
16491
- _.$_$.ae = createKType;
16492
- _.$_$.be = getKClassFromExpression;
16493
- _.$_$.ce = getKClass;
16494
- _.$_$.de = KClass;
16495
- _.$_$.ee = KMutableProperty1;
16496
- _.$_$.fe = KProperty0;
16497
- _.$_$.ge = KProperty1;
16498
- _.$_$.he = KTypeParameter;
16499
- _.$_$.ie = filter;
16500
- _.$_$.je = firstOrNull_2;
16501
- _.$_$.ke = flatMap;
16502
- _.$_$.le = mapNotNull;
16503
- _.$_$.me = map;
16504
- _.$_$.ne = toList_2;
16505
- _.$_$.oe = concatToString;
16506
- _.$_$.pe = contains_7;
16507
- _.$_$.qe = contains_8;
16508
- _.$_$.re = decodeToString;
16509
- _.$_$.se = encodeToByteArray;
16510
- _.$_$.te = endsWith_0;
16511
- _.$_$.ue = endsWith;
16512
- _.$_$.ve = equals_0;
16513
- _.$_$.we = first_2;
16514
- _.$_$.xe = indexOfAny;
16515
- _.$_$.ye = indexOf_5;
16516
- _.$_$.ze = indexOf_4;
16517
- _.$_$.af = isBlank;
16518
- _.$_$.bf = isHighSurrogate;
16519
- _.$_$.cf = isLowSurrogate;
16520
- _.$_$.df = isSurrogate;
16521
- _.$_$.ef = isWhitespace;
16522
- _.$_$.ff = get_lastIndex_3;
16523
- _.$_$.gf = lastIndexOf_0;
16524
- _.$_$.hf = last_2;
16525
- _.$_$.if = padStart;
16526
- _.$_$.jf = removePrefix;
16527
- _.$_$.kf = removeSuffix;
16528
- _.$_$.lf = repeat;
16529
- _.$_$.mf = replace;
16530
- _.$_$.nf = replace_0;
16531
- _.$_$.of = single_2;
16532
- _.$_$.pf = split_0;
16533
- _.$_$.qf = split;
16534
- _.$_$.rf = startsWith;
16535
- _.$_$.sf = startsWith_1;
16536
- _.$_$.tf = substringAfter;
16537
- _.$_$.uf = substringBefore;
16538
- _.$_$.vf = substring_0;
16539
- _.$_$.wf = substring;
16540
- _.$_$.xf = take_0;
16541
- _.$_$.yf = toBooleanStrictOrNull;
16542
- _.$_$.zf = toDoubleOrNull;
16543
- _.$_$.ag = toDouble;
16544
- _.$_$.bg = toIntOrNull;
16545
- _.$_$.cg = toInt;
16546
- _.$_$.dg = toLongOrNull;
16547
- _.$_$.eg = toLong;
16548
- _.$_$.fg = toString_3;
16549
- _.$_$.gg = toUByte;
16550
- _.$_$.hg = toUInt;
16551
- _.$_$.ig = toULongOrNull;
16552
- _.$_$.jg = toULong;
16553
- _.$_$.kg = toUShort;
16554
- _.$_$.lg = trimIndent;
16555
- _.$_$.mg = trimMargin;
16556
- _.$_$.ng = trim;
16557
- _.$_$.og = Duration;
16558
- _.$_$.pg = Instant;
16559
- _.$_$.qg = toDuration_1;
16560
- _.$_$.rg = toDuration_0;
16561
- _.$_$.sg = toDuration;
16562
- _.$_$.tg = Uuid;
16563
- _.$_$.ug = ArithmeticException;
16564
- _.$_$.vg = Char;
16565
- _.$_$.wg = Comparable;
16566
- _.$_$.xg = Comparator;
16567
- _.$_$.yg = DeepRecursiveFunction;
16568
- _.$_$.zg = DeepRecursiveScope;
16569
- _.$_$.ah = Enum;
16570
- _.$_$.bh = Error_0;
16571
- _.$_$.ch = Exception;
16572
- _.$_$.dh = IllegalArgumentException;
16573
- _.$_$.eh = IllegalStateException;
16574
- _.$_$.fh = Long;
16575
- _.$_$.gh = NoSuchElementException;
16576
- _.$_$.hh = Pair;
16577
- _.$_$.ih = Result;
16578
- _.$_$.jh = RuntimeException;
16579
- _.$_$.kh = THROW_CCE;
16580
- _.$_$.lh = THROW_IAE;
16581
- _.$_$.mh = Triple;
16582
- _.$_$.nh = UByteArray;
16583
- _.$_$.oh = UByte;
16584
- _.$_$.ph = UIntArray;
16585
- _.$_$.qh = UInt;
16586
- _.$_$.rh = ULongArray;
16587
- _.$_$.sh = ULong;
16588
- _.$_$.th = UShortArray;
16589
- _.$_$.uh = UShort;
16590
- _.$_$.vh = Unit;
16591
- _.$_$.wh = UnsupportedOperationException;
16592
- _.$_$.xh = addSuppressed;
16593
- _.$_$.yh = arrayOf;
16594
- _.$_$.zh = countTrailingZeroBits;
16595
- _.$_$.ai = createFailure;
16596
- _.$_$.bi = ensureNotNull;
16597
- _.$_$.ci = invoke;
16598
- _.$_$.di = isFinite_0;
16599
- _.$_$.ei = isFinite;
16600
- _.$_$.fi = isNaN_0;
16601
- _.$_$.gi = lazy;
16602
- _.$_$.hi = lazy_0;
16603
- _.$_$.ii = noWhenBranchMatchedException;
16604
- _.$_$.ji = plus_4;
16605
- _.$_$.ki = printStackTrace;
16606
- _.$_$.li = stackTraceToString;
16607
- _.$_$.mi = throwOnFailure;
16608
- _.$_$.ni = throwUninitializedPropertyAccessException;
16609
- _.$_$.oi = toString_0;
16610
- _.$_$.pi = to;
16485
+ _.$_$.rd = coerceAtMost;
16486
+ _.$_$.sd = coerceAtMost_1;
16487
+ _.$_$.td = coerceAtMost_0;
16488
+ _.$_$.ud = coerceIn;
16489
+ _.$_$.vd = coerceIn_0;
16490
+ _.$_$.wd = contains_5;
16491
+ _.$_$.xd = downTo;
16492
+ _.$_$.yd = step;
16493
+ _.$_$.zd = until;
16494
+ _.$_$.ae = createInvariantKTypeProjection;
16495
+ _.$_$.be = createKType;
16496
+ _.$_$.ce = getKClassFromExpression;
16497
+ _.$_$.de = getKClass;
16498
+ _.$_$.ee = KClass;
16499
+ _.$_$.fe = KMutableProperty1;
16500
+ _.$_$.ge = KProperty0;
16501
+ _.$_$.he = KProperty1;
16502
+ _.$_$.ie = KTypeParameter;
16503
+ _.$_$.je = filter;
16504
+ _.$_$.ke = firstOrNull_2;
16505
+ _.$_$.le = flatMap;
16506
+ _.$_$.me = mapNotNull;
16507
+ _.$_$.ne = map;
16508
+ _.$_$.oe = toList_2;
16509
+ _.$_$.pe = concatToString;
16510
+ _.$_$.qe = contains_7;
16511
+ _.$_$.re = contains_8;
16512
+ _.$_$.se = decodeToString;
16513
+ _.$_$.te = encodeToByteArray;
16514
+ _.$_$.ue = endsWith_0;
16515
+ _.$_$.ve = endsWith;
16516
+ _.$_$.we = equals_0;
16517
+ _.$_$.xe = first_2;
16518
+ _.$_$.ye = indexOfAny;
16519
+ _.$_$.ze = indexOf_5;
16520
+ _.$_$.af = indexOf_4;
16521
+ _.$_$.bf = isBlank;
16522
+ _.$_$.cf = isHighSurrogate;
16523
+ _.$_$.df = isLowSurrogate;
16524
+ _.$_$.ef = isSurrogate;
16525
+ _.$_$.ff = isWhitespace;
16526
+ _.$_$.gf = get_lastIndex_3;
16527
+ _.$_$.hf = lastIndexOf_0;
16528
+ _.$_$.if = last_2;
16529
+ _.$_$.jf = padStart;
16530
+ _.$_$.kf = removePrefix;
16531
+ _.$_$.lf = removeSuffix;
16532
+ _.$_$.mf = repeat;
16533
+ _.$_$.nf = replace;
16534
+ _.$_$.of = replace_0;
16535
+ _.$_$.pf = single_2;
16536
+ _.$_$.qf = split_0;
16537
+ _.$_$.rf = split;
16538
+ _.$_$.sf = startsWith;
16539
+ _.$_$.tf = startsWith_1;
16540
+ _.$_$.uf = substringAfter;
16541
+ _.$_$.vf = substringBefore;
16542
+ _.$_$.wf = substring_0;
16543
+ _.$_$.xf = substring;
16544
+ _.$_$.yf = take_0;
16545
+ _.$_$.zf = toBooleanStrictOrNull;
16546
+ _.$_$.ag = toDoubleOrNull;
16547
+ _.$_$.bg = toDouble;
16548
+ _.$_$.cg = toIntOrNull;
16549
+ _.$_$.dg = toInt;
16550
+ _.$_$.eg = toLongOrNull;
16551
+ _.$_$.fg = toLong;
16552
+ _.$_$.gg = toString_3;
16553
+ _.$_$.hg = toUByte;
16554
+ _.$_$.ig = toUInt;
16555
+ _.$_$.jg = toULongOrNull;
16556
+ _.$_$.kg = toULong;
16557
+ _.$_$.lg = toUShort;
16558
+ _.$_$.mg = trimIndent;
16559
+ _.$_$.ng = trimMargin;
16560
+ _.$_$.og = trim;
16561
+ _.$_$.pg = Duration;
16562
+ _.$_$.qg = Instant;
16563
+ _.$_$.rg = toDuration_1;
16564
+ _.$_$.sg = toDuration_0;
16565
+ _.$_$.tg = toDuration;
16566
+ _.$_$.ug = Uuid;
16567
+ _.$_$.vg = ArithmeticException;
16568
+ _.$_$.wg = Char;
16569
+ _.$_$.xg = Comparable;
16570
+ _.$_$.yg = Comparator;
16571
+ _.$_$.zg = DeepRecursiveFunction;
16572
+ _.$_$.ah = DeepRecursiveScope;
16573
+ _.$_$.bh = Enum;
16574
+ _.$_$.ch = Error_0;
16575
+ _.$_$.dh = Exception;
16576
+ _.$_$.eh = IllegalArgumentException;
16577
+ _.$_$.fh = IllegalStateException;
16578
+ _.$_$.gh = Long;
16579
+ _.$_$.hh = NoSuchElementException;
16580
+ _.$_$.ih = Pair;
16581
+ _.$_$.jh = Result;
16582
+ _.$_$.kh = RuntimeException;
16583
+ _.$_$.lh = THROW_CCE;
16584
+ _.$_$.mh = THROW_IAE;
16585
+ _.$_$.nh = Triple;
16586
+ _.$_$.oh = UByteArray;
16587
+ _.$_$.ph = UByte;
16588
+ _.$_$.qh = UIntArray;
16589
+ _.$_$.rh = UInt;
16590
+ _.$_$.sh = ULongArray;
16591
+ _.$_$.th = ULong;
16592
+ _.$_$.uh = UShortArray;
16593
+ _.$_$.vh = UShort;
16594
+ _.$_$.wh = Unit;
16595
+ _.$_$.xh = UnsupportedOperationException;
16596
+ _.$_$.yh = addSuppressed;
16597
+ _.$_$.zh = arrayOf;
16598
+ _.$_$.ai = countTrailingZeroBits;
16599
+ _.$_$.bi = createFailure;
16600
+ _.$_$.ci = ensureNotNull;
16601
+ _.$_$.di = invoke;
16602
+ _.$_$.ei = isFinite_0;
16603
+ _.$_$.fi = isFinite;
16604
+ _.$_$.gi = isNaN_0;
16605
+ _.$_$.hi = lazy;
16606
+ _.$_$.ii = lazy_0;
16607
+ _.$_$.ji = noWhenBranchMatchedException;
16608
+ _.$_$.ki = plus_4;
16609
+ _.$_$.li = printStackTrace;
16610
+ _.$_$.mi = stackTraceToString;
16611
+ _.$_$.ni = throwOnFailure;
16612
+ _.$_$.oi = throwUninitializedPropertyAccessException;
16613
+ _.$_$.pi = toString_0;
16614
+ _.$_$.qi = to;
16611
16615
  //endregion
16612
16616
  return _;
16613
16617
  }));