raspberry_games_engine_helpers 1.8.458 → 1.8.460
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 +55 -55
- package/Kosi-Kodein-kodein-di.js +508 -508
- package/Kotlin-DateTime-library-kotlinx-datetime.js +18 -18
- package/Logic_Debertz-core.js +628 -605
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.d.ts +3 -2
- package/Logic_Debertz-engine.js +7238 -7238
- package/kotlin-kotlin-stdlib.js +70 -69
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +1 -1
- package/kotlinx-io-kotlinx-io-core.js +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core.js +26 -26
- package/kotlinx-serialization-kotlinx-serialization-json.js +1088 -1088
- package/ktor-ktor-client-core.js +13 -13
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +5 -5
- package/raspberry-cardgame-lib-logger.js +3 -3
- package/raspberry-cardgame-lib-random.js +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
57
|
};
|
|
58
58
|
}(Math.log, Math.LN2);
|
|
59
59
|
}
|
|
60
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
61
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
62
|
-
position = position || 0;
|
|
63
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
64
|
-
}});
|
|
65
|
-
}
|
|
66
60
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
67
61
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
68
62
|
var subjectString = this.toString();
|
|
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
74
68
|
return lastIndex !== -1 && lastIndex === position;
|
|
75
69
|
}});
|
|
76
70
|
}
|
|
71
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
+
position = position || 0;
|
|
74
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
+
}});
|
|
76
|
+
}
|
|
77
77
|
//endregion
|
|
78
78
|
(function (factory) {
|
|
79
79
|
if (typeof define === 'function' && define.amd)
|
|
@@ -10353,7 +10353,23 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10353
10353
|
protoOf(Duration).equals = function (other) {
|
|
10354
10354
|
return Duration__equals_impl_ygj6w6(this.qf_1, other);
|
|
10355
10355
|
};
|
|
10356
|
+
function durationOfMillis(normalMillis) {
|
|
10357
|
+
var tmp = Companion_getInstance_15();
|
|
10358
|
+
// Inline function 'kotlin.Long.plus' call
|
|
10359
|
+
var this_0 = shiftLeft(normalMillis, 1);
|
|
10360
|
+
var tmp$ret$0 = add(this_0, fromInt(1));
|
|
10361
|
+
return tmp.pf(tmp$ret$0);
|
|
10362
|
+
}
|
|
10356
10363
|
function toDuration(_this__u8e3s4, unit) {
|
|
10364
|
+
var tmp;
|
|
10365
|
+
if (unit.z2(DurationUnit_SECONDS_getInstance()) <= 0) {
|
|
10366
|
+
tmp = durationOfNanos(convertDurationUnitOverflow(fromInt(_this__u8e3s4), unit, DurationUnit_NANOSECONDS_getInstance()));
|
|
10367
|
+
} else {
|
|
10368
|
+
tmp = toDuration_0(fromInt(_this__u8e3s4), unit);
|
|
10369
|
+
}
|
|
10370
|
+
return tmp;
|
|
10371
|
+
}
|
|
10372
|
+
function toDuration_0(_this__u8e3s4, unit) {
|
|
10357
10373
|
var maxNsInUnit = convertDurationUnitOverflow(new Long(-387905, 1073741823), DurationUnit_NANOSECONDS_getInstance(), unit);
|
|
10358
10374
|
var tmp;
|
|
10359
10375
|
if (compare(negate(maxNsInUnit), _this__u8e3s4) <= 0 ? compare(_this__u8e3s4, maxNsInUnit) <= 0 : false) {
|
|
@@ -10369,22 +10385,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10369
10385
|
}
|
|
10370
10386
|
return tmp;
|
|
10371
10387
|
}
|
|
10372
|
-
function toDuration_0(_this__u8e3s4, unit) {
|
|
10373
|
-
var tmp;
|
|
10374
|
-
if (unit.z2(DurationUnit_SECONDS_getInstance()) <= 0) {
|
|
10375
|
-
tmp = durationOfNanos(convertDurationUnitOverflow(fromInt(_this__u8e3s4), unit, DurationUnit_NANOSECONDS_getInstance()));
|
|
10376
|
-
} else {
|
|
10377
|
-
tmp = toDuration(fromInt(_this__u8e3s4), unit);
|
|
10378
|
-
}
|
|
10379
|
-
return tmp;
|
|
10380
|
-
}
|
|
10381
|
-
function durationOfMillis(normalMillis) {
|
|
10382
|
-
var tmp = Companion_getInstance_15();
|
|
10383
|
-
// Inline function 'kotlin.Long.plus' call
|
|
10384
|
-
var this_0 = shiftLeft(normalMillis, 1);
|
|
10385
|
-
var tmp$ret$0 = add(this_0, fromInt(1));
|
|
10386
|
-
return tmp.pf(tmp$ret$0);
|
|
10387
|
-
}
|
|
10388
10388
|
function parseDuration(value, strictIso, throwException) {
|
|
10389
10389
|
throwException = throwException === VOID ? true : throwException;
|
|
10390
10390
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -10767,7 +10767,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
10767
10767
|
}
|
|
10768
10768
|
index = index + 1 | 0;
|
|
10769
10769
|
}
|
|
10770
|
-
return Duration__plus_impl_yu9v8f(
|
|
10770
|
+
return Duration__plus_impl_yu9v8f(toDuration_0(totalMillis, DurationUnit_MILLISECONDS_getInstance()), toDuration_0(totalNanos, DurationUnit_NANOSECONDS_getInstance()));
|
|
10771
10771
|
}
|
|
10772
10772
|
function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
10773
10773
|
var index = startIndex;
|
|
@@ -11057,7 +11057,7 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
11057
11057
|
totalNanos = add(totalNanos, unit.z2(DurationUnit_MINUTES_getInstance()) >= 0 && (index - fractionStartIndex | 0) > 15 ? parseFractionFallback(value, fractionStartIndex, index - get_shortNameLength(unit) | 0, unit) : fractionDigitsToNanos(fractionValue, unit));
|
|
11058
11058
|
}
|
|
11059
11059
|
}
|
|
11060
|
-
return Duration__plus_impl_yu9v8f(
|
|
11060
|
+
return Duration__plus_impl_yu9v8f(toDuration_0(totalMillis, DurationUnit_MILLISECONDS_getInstance()), toDuration_0(totalNanos, DurationUnit_NANOSECONDS_getInstance()));
|
|
11061
11061
|
}
|
|
11062
11062
|
function Companion_16() {
|
|
11063
11063
|
Companion_instance_16 = this;
|
|
@@ -11391,11 +11391,11 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
11391
11391
|
Companion_getInstance_15();
|
|
11392
11392
|
// Inline function 'kotlin.time.Companion.seconds' call
|
|
11393
11393
|
var this_0 = subtract(this.eg_1, other.eg_1);
|
|
11394
|
-
var tmp =
|
|
11394
|
+
var tmp = toDuration_0(this_0, DurationUnit_SECONDS_getInstance());
|
|
11395
11395
|
Companion_getInstance_15();
|
|
11396
11396
|
// Inline function 'kotlin.time.Companion.nanoseconds' call
|
|
11397
11397
|
var this_1 = this.fg_1 - other.fg_1 | 0;
|
|
11398
|
-
var tmp$ret$1 =
|
|
11398
|
+
var tmp$ret$1 = toDuration(this_1, DurationUnit_NANOSECONDS_getInstance());
|
|
11399
11399
|
return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
|
|
11400
11400
|
};
|
|
11401
11401
|
protoOf(Instant).ig = function (other) {
|
|
@@ -13645,49 +13645,50 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
13645
13645
|
_.$_$.kc = trimIndent;
|
|
13646
13646
|
_.$_$.lc = Duration;
|
|
13647
13647
|
_.$_$.mc = Instant;
|
|
13648
|
-
_.$_$.nc =
|
|
13649
|
-
_.$_$.oc =
|
|
13650
|
-
_.$_$.pc =
|
|
13651
|
-
_.$_$.qc =
|
|
13652
|
-
_.$_$.rc =
|
|
13653
|
-
_.$_$.sc =
|
|
13654
|
-
_.$_$.tc =
|
|
13655
|
-
_.$_$.uc =
|
|
13656
|
-
_.$_$.vc =
|
|
13657
|
-
_.$_$.wc =
|
|
13658
|
-
_.$_$.xc =
|
|
13659
|
-
_.$_$.yc =
|
|
13660
|
-
_.$_$.zc =
|
|
13661
|
-
_.$_$.ad =
|
|
13662
|
-
_.$_$.bd =
|
|
13663
|
-
_.$_$.cd =
|
|
13664
|
-
_.$_$.dd =
|
|
13665
|
-
_.$_$.ed =
|
|
13666
|
-
_.$_$.fd =
|
|
13667
|
-
_.$_$.gd =
|
|
13668
|
-
_.$_$.hd =
|
|
13669
|
-
_.$_$.id =
|
|
13670
|
-
_.$_$.jd =
|
|
13671
|
-
_.$_$.kd =
|
|
13672
|
-
_.$_$.ld =
|
|
13673
|
-
_.$_$.md =
|
|
13674
|
-
_.$_$.nd =
|
|
13675
|
-
_.$_$.od =
|
|
13676
|
-
_.$_$.pd =
|
|
13677
|
-
_.$_$.qd =
|
|
13678
|
-
_.$_$.rd =
|
|
13679
|
-
_.$_$.sd =
|
|
13680
|
-
_.$_$.td =
|
|
13681
|
-
_.$_$.ud =
|
|
13682
|
-
_.$_$.vd =
|
|
13683
|
-
_.$_$.wd =
|
|
13684
|
-
_.$_$.xd =
|
|
13685
|
-
_.$_$.yd =
|
|
13686
|
-
_.$_$.zd =
|
|
13687
|
-
_.$_$.ae =
|
|
13688
|
-
_.$_$.be =
|
|
13689
|
-
_.$_$.ce =
|
|
13690
|
-
_.$_$.de =
|
|
13648
|
+
_.$_$.nc = toDuration_0;
|
|
13649
|
+
_.$_$.oc = toDuration;
|
|
13650
|
+
_.$_$.pc = Uuid;
|
|
13651
|
+
_.$_$.qc = ArithmeticException;
|
|
13652
|
+
_.$_$.rc = Char;
|
|
13653
|
+
_.$_$.sc = Comparable;
|
|
13654
|
+
_.$_$.tc = Comparator;
|
|
13655
|
+
_.$_$.uc = DeepRecursiveFunction;
|
|
13656
|
+
_.$_$.vc = DeepRecursiveScope;
|
|
13657
|
+
_.$_$.wc = Enum;
|
|
13658
|
+
_.$_$.xc = Exception;
|
|
13659
|
+
_.$_$.yc = IllegalArgumentException;
|
|
13660
|
+
_.$_$.zc = Long;
|
|
13661
|
+
_.$_$.ad = Pair;
|
|
13662
|
+
_.$_$.bd = Result;
|
|
13663
|
+
_.$_$.cd = RuntimeException;
|
|
13664
|
+
_.$_$.dd = THROW_CCE;
|
|
13665
|
+
_.$_$.ed = THROW_IAE;
|
|
13666
|
+
_.$_$.fd = Triple;
|
|
13667
|
+
_.$_$.gd = UByteArray;
|
|
13668
|
+
_.$_$.hd = UByte;
|
|
13669
|
+
_.$_$.id = UIntArray;
|
|
13670
|
+
_.$_$.jd = UInt;
|
|
13671
|
+
_.$_$.kd = ULongArray;
|
|
13672
|
+
_.$_$.ld = ULong;
|
|
13673
|
+
_.$_$.md = UShortArray;
|
|
13674
|
+
_.$_$.nd = UShort;
|
|
13675
|
+
_.$_$.od = Unit;
|
|
13676
|
+
_.$_$.pd = arrayOf;
|
|
13677
|
+
_.$_$.qd = countTrailingZeroBits;
|
|
13678
|
+
_.$_$.rd = createFailure;
|
|
13679
|
+
_.$_$.sd = ensureNotNull;
|
|
13680
|
+
_.$_$.td = invoke;
|
|
13681
|
+
_.$_$.ud = isFinite_0;
|
|
13682
|
+
_.$_$.vd = isFinite;
|
|
13683
|
+
_.$_$.wd = lazy;
|
|
13684
|
+
_.$_$.xd = lazy_0;
|
|
13685
|
+
_.$_$.yd = noWhenBranchMatchedException;
|
|
13686
|
+
_.$_$.zd = plus_2;
|
|
13687
|
+
_.$_$.ae = printStackTrace;
|
|
13688
|
+
_.$_$.be = stackTraceToString;
|
|
13689
|
+
_.$_$.ce = throwOnFailure;
|
|
13690
|
+
_.$_$.de = toString_0;
|
|
13691
|
+
_.$_$.ee = to;
|
|
13691
13692
|
//endregion
|
|
13692
13693
|
return _;
|
|
13693
13694
|
}));
|