@lppedd/kotlinx-charset 0.1.7 → 0.1.8
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/README.md +1 -1
- package/kotlinx-charset-exported.mjs +172 -172
- package/kotlinx-charset-exported.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[](https://mvnrepository.com/artifact/com.lppedd.kotlinx-charset)
|
|
7
7
|
[](https://www.npmjs.com/package/@lppedd/kotlinx-charset)
|
|
8
|
-
[](https://kotlinlang.org)
|
|
9
9
|
[](https://github.com/lppedd/kotlinx-charset/actions/workflows/build.yml)
|
|
10
10
|
[](./LICENSE)
|
|
11
11
|
|
|
@@ -1035,7 +1035,7 @@ class LinkedHashSet extends HashSet {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
}
|
|
1037
1037
|
class Exception extends Error {
|
|
1038
|
-
static
|
|
1038
|
+
static d8() {
|
|
1039
1039
|
var $this = createExternalThis(this, Error, [null]);
|
|
1040
1040
|
setPropertiesToThrowableInstance($this);
|
|
1041
1041
|
init_kotlin_Exception($this);
|
|
@@ -1049,8 +1049,8 @@ class Exception extends Error {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
class RuntimeException extends Exception {
|
|
1052
|
-
static
|
|
1053
|
-
var $this = this.
|
|
1052
|
+
static y7() {
|
|
1053
|
+
var $this = this.d8();
|
|
1054
1054
|
init_kotlin_RuntimeException($this);
|
|
1055
1055
|
return $this;
|
|
1056
1056
|
}
|
|
@@ -1060,21 +1060,21 @@ class RuntimeException extends Exception {
|
|
|
1060
1060
|
return $this;
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
1063
|
-
class
|
|
1064
|
-
static
|
|
1065
|
-
var $this = this.
|
|
1066
|
-
|
|
1063
|
+
class UnsupportedOperationException extends RuntimeException {
|
|
1064
|
+
static n4() {
|
|
1065
|
+
var $this = this.y7();
|
|
1066
|
+
init_kotlin_UnsupportedOperationException($this);
|
|
1067
1067
|
return $this;
|
|
1068
1068
|
}
|
|
1069
|
-
static
|
|
1069
|
+
static b6(message) {
|
|
1070
1070
|
var $this = this.r6(message);
|
|
1071
|
-
|
|
1071
|
+
init_kotlin_UnsupportedOperationException($this);
|
|
1072
1072
|
return $this;
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
1075
|
class IllegalStateException extends RuntimeException {
|
|
1076
|
-
static
|
|
1077
|
-
var $this = this.
|
|
1076
|
+
static b8() {
|
|
1077
|
+
var $this = this.y7();
|
|
1078
1078
|
init_kotlin_IllegalStateException($this);
|
|
1079
1079
|
return $this;
|
|
1080
1080
|
}
|
|
@@ -1084,21 +1084,21 @@ class IllegalStateException extends RuntimeException {
|
|
|
1084
1084
|
return $this;
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
|
-
class
|
|
1088
|
-
static
|
|
1089
|
-
var $this = this.
|
|
1090
|
-
|
|
1087
|
+
class IllegalArgumentException extends RuntimeException {
|
|
1088
|
+
static c8() {
|
|
1089
|
+
var $this = this.y7();
|
|
1090
|
+
init_kotlin_IllegalArgumentException($this);
|
|
1091
1091
|
return $this;
|
|
1092
1092
|
}
|
|
1093
|
-
static
|
|
1093
|
+
static k(message) {
|
|
1094
1094
|
var $this = this.r6(message);
|
|
1095
|
-
|
|
1095
|
+
init_kotlin_IllegalArgumentException($this);
|
|
1096
1096
|
return $this;
|
|
1097
1097
|
}
|
|
1098
1098
|
}
|
|
1099
1099
|
class NoSuchElementException extends RuntimeException {
|
|
1100
1100
|
static h3() {
|
|
1101
|
-
var $this = this.
|
|
1101
|
+
var $this = this.y7();
|
|
1102
1102
|
init_kotlin_NoSuchElementException($this);
|
|
1103
1103
|
return $this;
|
|
1104
1104
|
}
|
|
@@ -1110,7 +1110,7 @@ class NoSuchElementException extends RuntimeException {
|
|
|
1110
1110
|
}
|
|
1111
1111
|
class IndexOutOfBoundsException extends RuntimeException {
|
|
1112
1112
|
static h8() {
|
|
1113
|
-
var $this = this.
|
|
1113
|
+
var $this = this.y7();
|
|
1114
1114
|
init_kotlin_IndexOutOfBoundsException($this);
|
|
1115
1115
|
return $this;
|
|
1116
1116
|
}
|
|
@@ -1122,7 +1122,7 @@ class IndexOutOfBoundsException extends RuntimeException {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
class ConcurrentModificationException extends RuntimeException {
|
|
1124
1124
|
static d7() {
|
|
1125
|
-
var $this = this.
|
|
1125
|
+
var $this = this.y7();
|
|
1126
1126
|
init_kotlin_ConcurrentModificationException($this);
|
|
1127
1127
|
return $this;
|
|
1128
1128
|
}
|
|
@@ -1134,14 +1134,14 @@ class ConcurrentModificationException extends RuntimeException {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
class NullPointerException extends RuntimeException {
|
|
1136
1136
|
static p2() {
|
|
1137
|
-
var $this = this.
|
|
1137
|
+
var $this = this.y7();
|
|
1138
1138
|
init_kotlin_NullPointerException($this);
|
|
1139
1139
|
return $this;
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
1142
|
class ClassCastException extends RuntimeException {
|
|
1143
1143
|
static t2() {
|
|
1144
|
-
var $this = this.
|
|
1144
|
+
var $this = this.y7();
|
|
1145
1145
|
init_kotlin_ClassCastException($this);
|
|
1146
1146
|
return $this;
|
|
1147
1147
|
}
|
|
@@ -3884,35 +3884,71 @@ function compare(_this__u8e3s4, other) {
|
|
|
3884
3884
|
var otherNeg = isNegative(other);
|
|
3885
3885
|
return thisNeg && !otherNeg ? -1 : !thisNeg && otherNeg ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1;
|
|
3886
3886
|
}
|
|
3887
|
-
function
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3887
|
+
function convertToInt(_this__u8e3s4) {
|
|
3888
|
+
return _this__u8e3s4.c2_1;
|
|
3889
|
+
}
|
|
3890
|
+
function toNumber(_this__u8e3s4) {
|
|
3891
|
+
return _this__u8e3s4.d2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
3892
|
+
}
|
|
3893
|
+
function toStringImpl(_this__u8e3s4, radix) {
|
|
3894
|
+
if (isZero(_this__u8e3s4)) {
|
|
3895
|
+
return '0';
|
|
3896
|
+
}
|
|
3897
|
+
if (isNegative(_this__u8e3s4)) {
|
|
3898
|
+
if (equalsLong(_this__u8e3s4, MIN_VALUE)) {
|
|
3899
|
+
var radixLong = fromInt(radix);
|
|
3900
|
+
var div = divide(_this__u8e3s4, radixLong);
|
|
3901
|
+
var rem = convertToInt(subtract(multiply(div, radixLong), _this__u8e3s4));
|
|
3902
|
+
var tmp = toStringImpl(div, radix);
|
|
3903
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3904
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3905
|
+
return tmp + rem.toString(radix);
|
|
3906
|
+
} else {
|
|
3907
|
+
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
|
|
3908
|
+
}
|
|
3909
|
+
}
|
|
3910
|
+
var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
|
|
3911
|
+
var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
|
|
3912
|
+
var rem_0 = _this__u8e3s4;
|
|
3913
|
+
var result = '';
|
|
3914
|
+
while (true) {
|
|
3915
|
+
var remDiv = divide(rem_0, radixToPower);
|
|
3916
|
+
var intval = convertToInt(subtract(rem_0, multiply(remDiv, radixToPower)));
|
|
3917
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3918
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3919
|
+
var digits = intval.toString(radix);
|
|
3920
|
+
rem_0 = remDiv;
|
|
3921
|
+
if (isZero(rem_0)) {
|
|
3922
|
+
return digits + result;
|
|
3923
|
+
} else {
|
|
3924
|
+
while (digits.length < digitsPerTime) {
|
|
3925
|
+
digits = '0' + digits;
|
|
3926
|
+
}
|
|
3927
|
+
result = digits + result;
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
function equalsLong(_this__u8e3s4, other) {
|
|
3932
|
+
return _this__u8e3s4.d2_1 === other.d2_1 && _this__u8e3s4.c2_1 === other.c2_1;
|
|
3933
|
+
}
|
|
3934
|
+
function hashCode(l) {
|
|
3935
|
+
return l.c2_1 ^ l.d2_1;
|
|
3936
|
+
}
|
|
3937
|
+
function fromInt(value) {
|
|
3938
|
+
return new Long(value, value < 0 ? -1 : 0);
|
|
3939
|
+
}
|
|
3940
|
+
function isNegative(_this__u8e3s4) {
|
|
3941
|
+
return _this__u8e3s4.d2_1 < 0;
|
|
3912
3942
|
}
|
|
3913
3943
|
function subtract(_this__u8e3s4, other) {
|
|
3914
3944
|
return add(_this__u8e3s4, negate(other));
|
|
3915
3945
|
}
|
|
3946
|
+
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
3947
|
+
return _this__u8e3s4.c2_1 >= 0 ? _this__u8e3s4.c2_1 : 4.294967296E9 + _this__u8e3s4.c2_1;
|
|
3948
|
+
}
|
|
3949
|
+
function isZero(_this__u8e3s4) {
|
|
3950
|
+
return _this__u8e3s4.d2_1 === 0 && _this__u8e3s4.c2_1 === 0;
|
|
3951
|
+
}
|
|
3916
3952
|
function multiply(_this__u8e3s4, other) {
|
|
3917
3953
|
if (isZero(_this__u8e3s4)) {
|
|
3918
3954
|
return ZERO;
|
|
@@ -3972,6 +4008,62 @@ function multiply(_this__u8e3s4, other) {
|
|
|
3972
4008
|
c48 = c48 & 65535;
|
|
3973
4009
|
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
3974
4010
|
}
|
|
4011
|
+
function negate(_this__u8e3s4) {
|
|
4012
|
+
return add(invert(_this__u8e3s4), new Long(1, 0));
|
|
4013
|
+
}
|
|
4014
|
+
function fromNumber(value) {
|
|
4015
|
+
if (isNaN_0(value)) {
|
|
4016
|
+
return ZERO;
|
|
4017
|
+
} else if (value <= -9.223372036854776E18) {
|
|
4018
|
+
return MIN_VALUE;
|
|
4019
|
+
} else if (value + 1 >= 9.223372036854776E18) {
|
|
4020
|
+
return MAX_VALUE;
|
|
4021
|
+
} else if (value < 0) {
|
|
4022
|
+
return negate(fromNumber(-value));
|
|
4023
|
+
} else {
|
|
4024
|
+
var twoPwr32 = 4.294967296E9;
|
|
4025
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4026
|
+
var tmp = value % twoPwr32 | 0;
|
|
4027
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4028
|
+
var tmp$ret$1 = value / twoPwr32 | 0;
|
|
4029
|
+
return new Long(tmp, tmp$ret$1);
|
|
4030
|
+
}
|
|
4031
|
+
}
|
|
4032
|
+
function add(_this__u8e3s4, other) {
|
|
4033
|
+
var a48 = _this__u8e3s4.d2_1 >>> 16 | 0;
|
|
4034
|
+
var a32 = _this__u8e3s4.d2_1 & 65535;
|
|
4035
|
+
var a16 = _this__u8e3s4.c2_1 >>> 16 | 0;
|
|
4036
|
+
var a00 = _this__u8e3s4.c2_1 & 65535;
|
|
4037
|
+
var b48 = other.d2_1 >>> 16 | 0;
|
|
4038
|
+
var b32 = other.d2_1 & 65535;
|
|
4039
|
+
var b16 = other.c2_1 >>> 16 | 0;
|
|
4040
|
+
var b00 = other.c2_1 & 65535;
|
|
4041
|
+
var c48 = 0;
|
|
4042
|
+
var c32 = 0;
|
|
4043
|
+
var c16 = 0;
|
|
4044
|
+
var c00 = 0;
|
|
4045
|
+
c00 = c00 + (a00 + b00 | 0) | 0;
|
|
4046
|
+
c16 = c16 + (c00 >>> 16 | 0) | 0;
|
|
4047
|
+
c00 = c00 & 65535;
|
|
4048
|
+
c16 = c16 + (a16 + b16 | 0) | 0;
|
|
4049
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
4050
|
+
c16 = c16 & 65535;
|
|
4051
|
+
c32 = c32 + (a32 + b32 | 0) | 0;
|
|
4052
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
4053
|
+
c32 = c32 & 65535;
|
|
4054
|
+
c48 = c48 + (a48 + b48 | 0) | 0;
|
|
4055
|
+
c48 = c48 & 65535;
|
|
4056
|
+
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
4057
|
+
}
|
|
4058
|
+
function isOdd(_this__u8e3s4) {
|
|
4059
|
+
return (_this__u8e3s4.c2_1 & 1) === 1;
|
|
4060
|
+
}
|
|
4061
|
+
function lessThan(_this__u8e3s4, other) {
|
|
4062
|
+
return compare(_this__u8e3s4, other) < 0;
|
|
4063
|
+
}
|
|
4064
|
+
function invert(_this__u8e3s4) {
|
|
4065
|
+
return new Long(~_this__u8e3s4.c2_1, ~_this__u8e3s4.d2_1);
|
|
4066
|
+
}
|
|
3975
4067
|
function divide(_this__u8e3s4, other) {
|
|
3976
4068
|
if (isZero(other)) {
|
|
3977
4069
|
throw Exception.h2('division by zero');
|
|
@@ -4029,30 +4121,42 @@ function divide(_this__u8e3s4, other) {
|
|
|
4029
4121
|
}
|
|
4030
4122
|
return res;
|
|
4031
4123
|
}
|
|
4032
|
-
function
|
|
4124
|
+
function shiftRight(_this__u8e3s4, numBits) {
|
|
4033
4125
|
var numBits_0 = numBits & 63;
|
|
4034
4126
|
if (numBits_0 === 0) {
|
|
4035
4127
|
return _this__u8e3s4;
|
|
4036
4128
|
} else {
|
|
4037
4129
|
if (numBits_0 < 32) {
|
|
4038
|
-
return new Long(_this__u8e3s4.c2_1
|
|
4130
|
+
return new Long(_this__u8e3s4.c2_1 >>> numBits_0 | 0 | _this__u8e3s4.d2_1 << (32 - numBits_0 | 0), _this__u8e3s4.d2_1 >> numBits_0);
|
|
4039
4131
|
} else {
|
|
4040
|
-
return new Long(
|
|
4132
|
+
return new Long(_this__u8e3s4.d2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.d2_1 >= 0 ? 0 : -1);
|
|
4041
4133
|
}
|
|
4042
4134
|
}
|
|
4043
4135
|
}
|
|
4044
|
-
function
|
|
4136
|
+
function shiftLeft(_this__u8e3s4, numBits) {
|
|
4045
4137
|
var numBits_0 = numBits & 63;
|
|
4046
4138
|
if (numBits_0 === 0) {
|
|
4047
4139
|
return _this__u8e3s4;
|
|
4048
4140
|
} else {
|
|
4049
4141
|
if (numBits_0 < 32) {
|
|
4050
|
-
return new Long(_this__u8e3s4.c2_1
|
|
4142
|
+
return new Long(_this__u8e3s4.c2_1 << numBits_0, _this__u8e3s4.d2_1 << numBits_0 | (_this__u8e3s4.c2_1 >>> (32 - numBits_0 | 0) | 0));
|
|
4051
4143
|
} else {
|
|
4052
|
-
return new Long(_this__u8e3s4.
|
|
4144
|
+
return new Long(0, _this__u8e3s4.c2_1 << (numBits_0 - 32 | 0));
|
|
4053
4145
|
}
|
|
4054
4146
|
}
|
|
4055
4147
|
}
|
|
4148
|
+
function greaterThan(_this__u8e3s4, other) {
|
|
4149
|
+
return compare(_this__u8e3s4, other) > 0;
|
|
4150
|
+
}
|
|
4151
|
+
function greaterThanOrEqual(_this__u8e3s4, other) {
|
|
4152
|
+
return compare(_this__u8e3s4, other) >= 0;
|
|
4153
|
+
}
|
|
4154
|
+
function bitwiseAnd(_this__u8e3s4, other) {
|
|
4155
|
+
return new Long(_this__u8e3s4.c2_1 & other.c2_1, _this__u8e3s4.d2_1 & other.d2_1);
|
|
4156
|
+
}
|
|
4157
|
+
function bitwiseXor(_this__u8e3s4, other) {
|
|
4158
|
+
return new Long(_this__u8e3s4.c2_1 ^ other.c2_1, _this__u8e3s4.d2_1 ^ other.d2_1);
|
|
4159
|
+
}
|
|
4056
4160
|
function shiftRightUnsigned(_this__u8e3s4, numBits) {
|
|
4057
4161
|
var numBits_0 = numBits & 63;
|
|
4058
4162
|
if (numBits_0 === 0) {
|
|
@@ -4071,110 +4175,6 @@ function shiftRightUnsigned(_this__u8e3s4, numBits) {
|
|
|
4071
4175
|
}
|
|
4072
4176
|
}
|
|
4073
4177
|
}
|
|
4074
|
-
function bitwiseAnd(_this__u8e3s4, other) {
|
|
4075
|
-
return new Long(_this__u8e3s4.c2_1 & other.c2_1, _this__u8e3s4.d2_1 & other.d2_1);
|
|
4076
|
-
}
|
|
4077
|
-
function bitwiseXor(_this__u8e3s4, other) {
|
|
4078
|
-
return new Long(_this__u8e3s4.c2_1 ^ other.c2_1, _this__u8e3s4.d2_1 ^ other.d2_1);
|
|
4079
|
-
}
|
|
4080
|
-
function invert(_this__u8e3s4) {
|
|
4081
|
-
return new Long(~_this__u8e3s4.c2_1, ~_this__u8e3s4.d2_1);
|
|
4082
|
-
}
|
|
4083
|
-
function convertToInt(_this__u8e3s4) {
|
|
4084
|
-
return _this__u8e3s4.c2_1;
|
|
4085
|
-
}
|
|
4086
|
-
function toNumber(_this__u8e3s4) {
|
|
4087
|
-
return _this__u8e3s4.d2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
4088
|
-
}
|
|
4089
|
-
function toStringImpl(_this__u8e3s4, radix) {
|
|
4090
|
-
if (isZero(_this__u8e3s4)) {
|
|
4091
|
-
return '0';
|
|
4092
|
-
}
|
|
4093
|
-
if (isNegative(_this__u8e3s4)) {
|
|
4094
|
-
if (equalsLong(_this__u8e3s4, MIN_VALUE)) {
|
|
4095
|
-
var radixLong = fromInt(radix);
|
|
4096
|
-
var div = divide(_this__u8e3s4, radixLong);
|
|
4097
|
-
var rem = convertToInt(subtract(multiply(div, radixLong), _this__u8e3s4));
|
|
4098
|
-
var tmp = toStringImpl(div, radix);
|
|
4099
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
4100
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4101
|
-
return tmp + rem.toString(radix);
|
|
4102
|
-
} else {
|
|
4103
|
-
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
|
|
4104
|
-
}
|
|
4105
|
-
}
|
|
4106
|
-
var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
|
|
4107
|
-
var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
|
|
4108
|
-
var rem_0 = _this__u8e3s4;
|
|
4109
|
-
var result = '';
|
|
4110
|
-
while (true) {
|
|
4111
|
-
var remDiv = divide(rem_0, radixToPower);
|
|
4112
|
-
var intval = convertToInt(subtract(rem_0, multiply(remDiv, radixToPower)));
|
|
4113
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
4114
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
4115
|
-
var digits = intval.toString(radix);
|
|
4116
|
-
rem_0 = remDiv;
|
|
4117
|
-
if (isZero(rem_0)) {
|
|
4118
|
-
return digits + result;
|
|
4119
|
-
} else {
|
|
4120
|
-
while (digits.length < digitsPerTime) {
|
|
4121
|
-
digits = '0' + digits;
|
|
4122
|
-
}
|
|
4123
|
-
result = digits + result;
|
|
4124
|
-
}
|
|
4125
|
-
}
|
|
4126
|
-
}
|
|
4127
|
-
function equalsLong(_this__u8e3s4, other) {
|
|
4128
|
-
return _this__u8e3s4.d2_1 === other.d2_1 && _this__u8e3s4.c2_1 === other.c2_1;
|
|
4129
|
-
}
|
|
4130
|
-
function hashCode(l) {
|
|
4131
|
-
return l.c2_1 ^ l.d2_1;
|
|
4132
|
-
}
|
|
4133
|
-
function fromInt(value) {
|
|
4134
|
-
return new Long(value, value < 0 ? -1 : 0);
|
|
4135
|
-
}
|
|
4136
|
-
function isNegative(_this__u8e3s4) {
|
|
4137
|
-
return _this__u8e3s4.d2_1 < 0;
|
|
4138
|
-
}
|
|
4139
|
-
function isZero(_this__u8e3s4) {
|
|
4140
|
-
return _this__u8e3s4.d2_1 === 0 && _this__u8e3s4.c2_1 === 0;
|
|
4141
|
-
}
|
|
4142
|
-
function isOdd(_this__u8e3s4) {
|
|
4143
|
-
return (_this__u8e3s4.c2_1 & 1) === 1;
|
|
4144
|
-
}
|
|
4145
|
-
function negate(_this__u8e3s4) {
|
|
4146
|
-
return add(invert(_this__u8e3s4), new Long(1, 0));
|
|
4147
|
-
}
|
|
4148
|
-
function lessThan(_this__u8e3s4, other) {
|
|
4149
|
-
return compare(_this__u8e3s4, other) < 0;
|
|
4150
|
-
}
|
|
4151
|
-
function fromNumber(value) {
|
|
4152
|
-
if (isNaN_0(value)) {
|
|
4153
|
-
return ZERO;
|
|
4154
|
-
} else if (value <= -9.223372036854776E18) {
|
|
4155
|
-
return MIN_VALUE;
|
|
4156
|
-
} else if (value + 1 >= 9.223372036854776E18) {
|
|
4157
|
-
return MAX_VALUE;
|
|
4158
|
-
} else if (value < 0) {
|
|
4159
|
-
return negate(fromNumber(-value));
|
|
4160
|
-
} else {
|
|
4161
|
-
var twoPwr32 = 4.294967296E9;
|
|
4162
|
-
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4163
|
-
var tmp = value % twoPwr32 | 0;
|
|
4164
|
-
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4165
|
-
var tmp$ret$1 = value / twoPwr32 | 0;
|
|
4166
|
-
return new Long(tmp, tmp$ret$1);
|
|
4167
|
-
}
|
|
4168
|
-
}
|
|
4169
|
-
function greaterThan(_this__u8e3s4, other) {
|
|
4170
|
-
return compare(_this__u8e3s4, other) > 0;
|
|
4171
|
-
}
|
|
4172
|
-
function greaterThanOrEqual(_this__u8e3s4, other) {
|
|
4173
|
-
return compare(_this__u8e3s4, other) >= 0;
|
|
4174
|
-
}
|
|
4175
|
-
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
4176
|
-
return _this__u8e3s4.c2_1 >= 0 ? _this__u8e3s4.c2_1 : 4.294967296E9 + _this__u8e3s4.c2_1;
|
|
4177
|
-
}
|
|
4178
4178
|
function charSequenceGet(a, index) {
|
|
4179
4179
|
var tmp;
|
|
4180
4180
|
if (isString(a)) {
|
|
@@ -5218,21 +5218,21 @@ function Companion_getInstance_2() {
|
|
|
5218
5218
|
}
|
|
5219
5219
|
function init_kotlin_collections_LinkedHashSet(_this__u8e3s4) {
|
|
5220
5220
|
}
|
|
5221
|
-
function
|
|
5222
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
5223
|
-
}
|
|
5224
|
-
function init_kotlin_IllegalArgumentException(_this__u8e3s4) {
|
|
5225
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.j_1);
|
|
5221
|
+
function init_kotlin_UnsupportedOperationException(_this__u8e3s4) {
|
|
5222
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.m4_1);
|
|
5226
5223
|
}
|
|
5227
5224
|
function init_kotlin_IllegalStateException(_this__u8e3s4) {
|
|
5228
5225
|
captureStack(_this__u8e3s4, _this__u8e3s4.k2_1);
|
|
5229
5226
|
}
|
|
5230
|
-
function
|
|
5231
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
5227
|
+
function init_kotlin_IllegalArgumentException(_this__u8e3s4) {
|
|
5228
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.j_1);
|
|
5232
5229
|
}
|
|
5233
5230
|
function init_kotlin_RuntimeException(_this__u8e3s4) {
|
|
5234
5231
|
captureStack(_this__u8e3s4, _this__u8e3s4.q6_1);
|
|
5235
5232
|
}
|
|
5233
|
+
function init_kotlin_Exception(_this__u8e3s4) {
|
|
5234
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.g2_1);
|
|
5235
|
+
}
|
|
5236
5236
|
function init_kotlin_NoSuchElementException(_this__u8e3s4) {
|
|
5237
5237
|
captureStack(_this__u8e3s4, _this__u8e3s4.f_1);
|
|
5238
5238
|
}
|
|
@@ -6848,16 +6848,16 @@ initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
|
6848
6848
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, VOID, [AbstractMutableCollection, Collection, KtList]);
|
|
6849
6849
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
6850
6850
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, VOID, [AbstractMap, KtMap]);
|
|
6851
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, VOID, [AbstractMutableCollection,
|
|
6851
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, VOID, [AbstractMutableCollection, KtSet, Collection]);
|
|
6852
6852
|
initMetadataForCompanion(Companion_1);
|
|
6853
6853
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList.a1, VOID, [AbstractMutableList, Collection, KtList]);
|
|
6854
6854
|
initMetadataForClass(HashMap, 'HashMap', HashMap.v4, VOID, [AbstractMutableMap, KtMap]);
|
|
6855
6855
|
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, VOID, [Collection, AbstractMutableCollection]);
|
|
6856
|
-
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, VOID, [
|
|
6856
|
+
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, VOID, [KtSet, Collection, AbstractMutableSet]);
|
|
6857
6857
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet');
|
|
6858
6858
|
initMetadataForClass(HashMapValuesDefault$iterator$1);
|
|
6859
6859
|
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault');
|
|
6860
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet.e6, VOID, [AbstractMutableSet,
|
|
6860
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet.e6, VOID, [AbstractMutableSet, KtSet, Collection]);
|
|
6861
6861
|
initMetadataForCompanion(Companion_2);
|
|
6862
6862
|
initMetadataForClass(Itr, 'Itr');
|
|
6863
6863
|
initMetadataForClass(KeysItr, 'KeysItr');
|
|
@@ -6867,12 +6867,12 @@ initMetadataForClass(EntryRef, 'EntryRef', VOID, VOID, [Entry]);
|
|
|
6867
6867
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
6868
6868
|
protoOf(InternalHashMap).z5 = containsAllEntries;
|
|
6869
6869
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap.g5, VOID, [InternalMap]);
|
|
6870
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet.u, VOID, [HashSet,
|
|
6871
|
-
initMetadataForClass(Exception, 'Exception', Exception.
|
|
6872
|
-
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException.
|
|
6873
|
-
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException.b8);
|
|
6874
|
-
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException.d8);
|
|
6870
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet.u, VOID, [HashSet, KtSet, Collection]);
|
|
6871
|
+
initMetadataForClass(Exception, 'Exception', Exception.d8);
|
|
6872
|
+
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException.y7);
|
|
6875
6873
|
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException.n4);
|
|
6874
|
+
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException.b8);
|
|
6875
|
+
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException.c8);
|
|
6876
6876
|
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException.h3);
|
|
6877
6877
|
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException.h8);
|
|
6878
6878
|
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException.d7);
|