dl-common-util 0.6.0 → 0.7.0
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/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/dl-common-util.d.ts +78 -23
- package/dl-common-util.js +347 -407
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +989 -1154
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +2 -3
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -89,7 +89,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
89
89
|
initMetadataForCompanion(Companion_1);
|
|
90
90
|
initMetadataForClass(Long, 'Long', VOID, Number_0);
|
|
91
91
|
initMetadataForInterface(FunctionAdapter, 'FunctionAdapter');
|
|
92
|
-
initMetadataForClass(arrayIterator$1);
|
|
93
92
|
initMetadataForObject(FloatCompanionObject, 'FloatCompanionObject');
|
|
94
93
|
initMetadataForObject(DoubleCompanionObject, 'DoubleCompanionObject');
|
|
95
94
|
initMetadataForObject(Digit, 'Digit');
|
|
@@ -100,12 +99,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
100
99
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
|
|
101
100
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
102
101
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
103
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection,
|
|
102
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
|
|
104
103
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
105
104
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
|
|
106
105
|
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtSet]);
|
|
107
106
|
initMetadataForCompanion(Companion_2);
|
|
108
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList,
|
|
107
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection]);
|
|
109
108
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
|
|
110
109
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet, AbstractMutableSet]);
|
|
111
110
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
@@ -132,13 +131,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
132
131
|
var _iterator__ex2g4s = m.g();
|
|
133
132
|
while (_iterator__ex2g4s.h()) {
|
|
134
133
|
var element = _iterator__ex2g4s.i();
|
|
135
|
-
// Inline function 'kotlin.collections.InternalMap.containsAllEntries.<anonymous>' call
|
|
136
134
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
137
135
|
// Inline function 'kotlin.js.asDynamic' call
|
|
138
136
|
var entry = element;
|
|
139
137
|
var tmp_0;
|
|
140
138
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
141
|
-
tmp_0 = this.
|
|
139
|
+
tmp_0 = this.q6(entry);
|
|
142
140
|
} else {
|
|
143
141
|
tmp_0 = false;
|
|
144
142
|
}
|
|
@@ -185,7 +183,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
185
183
|
initMetadataForCompanion(Companion_6);
|
|
186
184
|
initMetadataForCompanion(Companion_7);
|
|
187
185
|
initMetadataForObject(EmptyList, 'EmptyList', VOID, VOID, [KtList]);
|
|
188
|
-
initMetadataForClass(ArrayAsCollection, 'ArrayAsCollection', VOID, VOID, [Collection]);
|
|
189
186
|
initMetadataForObject(EmptyIterator, 'EmptyIterator');
|
|
190
187
|
initMetadataForClass(IntIterator, 'IntIterator');
|
|
191
188
|
initMetadataForClass(CharIterator, 'CharIterator');
|
|
@@ -201,7 +198,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
201
198
|
initMetadataForCompanion(Companion_9);
|
|
202
199
|
initMetadataForClass(IntProgression, 'IntProgression');
|
|
203
200
|
function contains(value) {
|
|
204
|
-
return compareTo(value, this.
|
|
201
|
+
return compareTo(value, this.y7()) >= 0 && compareTo(value, this.z7()) <= 0;
|
|
205
202
|
}
|
|
206
203
|
initMetadataForInterface(ClosedRange, 'ClosedRange');
|
|
207
204
|
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression, [IntProgression, ClosedRange]);
|
|
@@ -491,7 +488,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
491
488
|
this.l_1 = $this_asSequence;
|
|
492
489
|
}
|
|
493
490
|
protoOf(asSequence$$inlined$Sequence$1).g = function () {
|
|
494
|
-
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
495
491
|
return this.l_1.g();
|
|
496
492
|
};
|
|
497
493
|
function until(_this__u8e3s4, to) {
|
|
@@ -511,7 +507,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
511
507
|
}
|
|
512
508
|
function contains_0(_this__u8e3s4, value) {
|
|
513
509
|
// Inline function 'kotlin.let' call
|
|
514
|
-
// Inline function 'kotlin.ranges.contains.<anonymous>' call
|
|
515
510
|
var it = toIntExactOrNull(value);
|
|
516
511
|
return !(it == null) ? _this__u8e3s4.r(it) : false;
|
|
517
512
|
}
|
|
@@ -594,13 +589,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
594
589
|
this.z_1 = $this_asIterable;
|
|
595
590
|
}
|
|
596
591
|
protoOf(asIterable$$inlined$Iterable$1).g = function () {
|
|
597
|
-
// Inline function 'kotlin.sequences.asIterable.<anonymous>' call
|
|
598
592
|
return this.z_1.g();
|
|
599
593
|
};
|
|
600
594
|
function slice(_this__u8e3s4, indices) {
|
|
601
595
|
if (indices.d1())
|
|
602
596
|
return '';
|
|
603
|
-
return
|
|
597
|
+
return substring_1(_this__u8e3s4, indices);
|
|
604
598
|
}
|
|
605
599
|
function _Char___init__impl__6a9atx(value) {
|
|
606
600
|
return value;
|
|
@@ -823,7 +817,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
823
817
|
tmp = null;
|
|
824
818
|
} else {
|
|
825
819
|
// Inline function 'kotlin.let' call
|
|
826
|
-
// Inline function 'kotlin.js.implement.<anonymous>' call
|
|
827
820
|
tmp = bitMaskWith(iid);
|
|
828
821
|
}
|
|
829
822
|
var iidImask = tmp;
|
|
@@ -887,9 +880,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
887
880
|
while (!(i === last));
|
|
888
881
|
return array;
|
|
889
882
|
}
|
|
890
|
-
function arrayIterator(array) {
|
|
891
|
-
return new arrayIterator$1(array);
|
|
892
|
-
}
|
|
893
883
|
function charArray(size) {
|
|
894
884
|
var tmp0 = 'CharArray';
|
|
895
885
|
// Inline function 'withType' call
|
|
@@ -914,24 +904,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
914
904
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
915
905
|
return array;
|
|
916
906
|
}
|
|
917
|
-
function arrayIterator$1($array) {
|
|
918
|
-
this.w2_1 = $array;
|
|
919
|
-
this.v2_1 = 0;
|
|
920
|
-
}
|
|
921
|
-
protoOf(arrayIterator$1).h = function () {
|
|
922
|
-
return !(this.v2_1 === this.w2_1.length);
|
|
923
|
-
};
|
|
924
|
-
protoOf(arrayIterator$1).i = function () {
|
|
925
|
-
var tmp;
|
|
926
|
-
if (!(this.v2_1 === this.w2_1.length)) {
|
|
927
|
-
var _unary__edvuaz = this.v2_1;
|
|
928
|
-
this.v2_1 = _unary__edvuaz + 1 | 0;
|
|
929
|
-
tmp = this.w2_1[_unary__edvuaz];
|
|
930
|
-
} else {
|
|
931
|
-
throw NoSuchElementException_init_$Create$_0('' + this.v2_1);
|
|
932
|
-
}
|
|
933
|
-
return tmp;
|
|
934
|
-
};
|
|
935
907
|
function get_buf() {
|
|
936
908
|
_init_properties_bitUtils_kt__nfcg4k();
|
|
937
909
|
return buf;
|
|
@@ -1009,7 +981,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1009
981
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1010
982
|
bufInt32 = new Int32Array(get_buf());
|
|
1011
983
|
// Inline function 'kotlin.run' call
|
|
1012
|
-
// Inline function 'kotlin.js.lowIndex.<anonymous>' call
|
|
1013
984
|
get_bufFloat64()[0] = -1.0;
|
|
1014
985
|
lowIndex = !(get_bufInt32()[0] === 0) ? 1 : 0;
|
|
1015
986
|
highIndex = 1 - get_lowIndex() | 0;
|
|
@@ -1018,24 +989,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1018
989
|
function charSequenceGet(a, index) {
|
|
1019
990
|
var tmp;
|
|
1020
991
|
if (isString(a)) {
|
|
1021
|
-
|
|
1022
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1023
|
-
// Inline function 'kotlin.Char' call
|
|
1024
|
-
var code = a.charCodeAt(index);
|
|
1025
|
-
var tmp_0;
|
|
1026
|
-
// Inline function 'kotlin.code' call
|
|
1027
|
-
var this_0 = _Char___init__impl__6a9atx(0);
|
|
1028
|
-
if (code < Char__toInt_impl_vasixd(this_0)) {
|
|
1029
|
-
tmp_0 = true;
|
|
1030
|
-
} else {
|
|
1031
|
-
// Inline function 'kotlin.code' call
|
|
1032
|
-
var this_1 = _Char___init__impl__6a9atx(65535);
|
|
1033
|
-
tmp_0 = code > Char__toInt_impl_vasixd(this_1);
|
|
1034
|
-
}
|
|
1035
|
-
if (tmp_0) {
|
|
1036
|
-
throw IllegalArgumentException_init_$Create$_0('Invalid Char code: ' + code);
|
|
1037
|
-
}
|
|
1038
|
-
tmp = numberToChar(code);
|
|
992
|
+
tmp = charCodeAt(a, index);
|
|
1039
993
|
} else {
|
|
1040
994
|
tmp = a.b(index);
|
|
1041
995
|
}
|
|
@@ -1044,6 +998,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1044
998
|
function isString(a) {
|
|
1045
999
|
return typeof a === 'string';
|
|
1046
1000
|
}
|
|
1001
|
+
function charCodeAt(_this__u8e3s4, index) {
|
|
1002
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1003
|
+
return _this__u8e3s4.charCodeAt(index);
|
|
1004
|
+
}
|
|
1047
1005
|
function charSequenceLength(a) {
|
|
1048
1006
|
var tmp;
|
|
1049
1007
|
if (isString(a)) {
|
|
@@ -1058,9 +1016,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1058
1016
|
function charSequenceSubSequence(a, startIndex, endIndex) {
|
|
1059
1017
|
var tmp;
|
|
1060
1018
|
if (isString(a)) {
|
|
1061
|
-
|
|
1062
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
1063
|
-
tmp = a.substring(startIndex, endIndex);
|
|
1019
|
+
tmp = substring(a, startIndex, endIndex);
|
|
1064
1020
|
} else {
|
|
1065
1021
|
tmp = a.c(startIndex, endIndex);
|
|
1066
1022
|
}
|
|
@@ -1158,13 +1114,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1158
1114
|
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
1159
1115
|
return Math.random() * 4.294967296E9 | 0;
|
|
1160
1116
|
}
|
|
1161
|
-
function defineProp(obj, name, getter, setter) {
|
|
1162
|
-
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
1163
|
-
}
|
|
1164
1117
|
function objectCreate(proto) {
|
|
1165
1118
|
proto = proto === VOID ? null : proto;
|
|
1166
1119
|
return Object.create(proto);
|
|
1167
1120
|
}
|
|
1121
|
+
function defineProp(obj, name, getter, setter) {
|
|
1122
|
+
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
1123
|
+
}
|
|
1168
1124
|
function toString_1(o) {
|
|
1169
1125
|
var tmp;
|
|
1170
1126
|
if (o == null) {
|
|
@@ -1330,32 +1286,32 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1330
1286
|
function protoOf(constructor) {
|
|
1331
1287
|
return constructor.prototype;
|
|
1332
1288
|
}
|
|
1333
|
-
function
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
if ((errorInfo & 1) === 0) {
|
|
1340
|
-
var tmp;
|
|
1341
|
-
if (message == null) {
|
|
1342
|
-
var tmp_0;
|
|
1343
|
-
if (!(message === null)) {
|
|
1344
|
-
var tmp1_elvis_lhs = cause == null ? null : cause.toString();
|
|
1345
|
-
tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
|
|
1346
|
-
} else {
|
|
1347
|
-
tmp_0 = VOID;
|
|
1348
|
-
}
|
|
1349
|
-
tmp = tmp_0;
|
|
1289
|
+
function defineMessage(message, cause) {
|
|
1290
|
+
var tmp;
|
|
1291
|
+
if (isUndefined(message)) {
|
|
1292
|
+
var tmp_0;
|
|
1293
|
+
if (isUndefined(cause)) {
|
|
1294
|
+
tmp_0 = message;
|
|
1350
1295
|
} else {
|
|
1351
|
-
|
|
1296
|
+
var tmp1_elvis_lhs = cause == null ? null : cause.toString();
|
|
1297
|
+
tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
|
|
1352
1298
|
}
|
|
1353
|
-
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
this_.cause = cause;
|
|
1299
|
+
tmp = tmp_0;
|
|
1300
|
+
} else {
|
|
1301
|
+
tmp = message == null ? VOID : message;
|
|
1357
1302
|
}
|
|
1358
|
-
|
|
1303
|
+
return tmp;
|
|
1304
|
+
}
|
|
1305
|
+
function isUndefined(value) {
|
|
1306
|
+
return value === VOID;
|
|
1307
|
+
}
|
|
1308
|
+
function extendThrowable(this_, message, cause) {
|
|
1309
|
+
defineFieldOnInstance(this_, 'message', defineMessage(message, cause));
|
|
1310
|
+
defineFieldOnInstance(this_, 'cause', cause);
|
|
1311
|
+
defineFieldOnInstance(this_, 'name', Object.getPrototypeOf(this_).constructor.name);
|
|
1312
|
+
}
|
|
1313
|
+
function defineFieldOnInstance(this_, name, value) {
|
|
1314
|
+
Object.defineProperty(this_, name, {configurable: true, writable: true, value: value});
|
|
1359
1315
|
}
|
|
1360
1316
|
function ensureNotNull(v) {
|
|
1361
1317
|
var tmp;
|
|
@@ -1870,25 +1826,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1870
1826
|
this.SIZE_BYTES = 4;
|
|
1871
1827
|
this.SIZE_BITS = 32;
|
|
1872
1828
|
}
|
|
1873
|
-
protoOf(FloatCompanionObject).
|
|
1829
|
+
protoOf(FloatCompanionObject).v2 = function () {
|
|
1874
1830
|
return this.MIN_VALUE;
|
|
1875
1831
|
};
|
|
1876
|
-
protoOf(FloatCompanionObject).
|
|
1832
|
+
protoOf(FloatCompanionObject).w2 = function () {
|
|
1877
1833
|
return this.MAX_VALUE;
|
|
1878
1834
|
};
|
|
1879
|
-
protoOf(FloatCompanionObject).
|
|
1835
|
+
protoOf(FloatCompanionObject).x2 = function () {
|
|
1880
1836
|
return this.POSITIVE_INFINITY;
|
|
1881
1837
|
};
|
|
1882
|
-
protoOf(FloatCompanionObject).
|
|
1838
|
+
protoOf(FloatCompanionObject).y2 = function () {
|
|
1883
1839
|
return this.NEGATIVE_INFINITY;
|
|
1884
1840
|
};
|
|
1885
|
-
protoOf(FloatCompanionObject).
|
|
1841
|
+
protoOf(FloatCompanionObject).z2 = function () {
|
|
1886
1842
|
return this.NaN;
|
|
1887
1843
|
};
|
|
1888
|
-
protoOf(FloatCompanionObject).
|
|
1844
|
+
protoOf(FloatCompanionObject).a3 = function () {
|
|
1889
1845
|
return this.SIZE_BYTES;
|
|
1890
1846
|
};
|
|
1891
|
-
protoOf(FloatCompanionObject).
|
|
1847
|
+
protoOf(FloatCompanionObject).b3 = function () {
|
|
1892
1848
|
return this.SIZE_BITS;
|
|
1893
1849
|
};
|
|
1894
1850
|
var FloatCompanionObject_instance;
|
|
@@ -1904,25 +1860,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1904
1860
|
this.SIZE_BYTES = 8;
|
|
1905
1861
|
this.SIZE_BITS = 64;
|
|
1906
1862
|
}
|
|
1907
|
-
protoOf(DoubleCompanionObject).
|
|
1863
|
+
protoOf(DoubleCompanionObject).v2 = function () {
|
|
1908
1864
|
return this.MIN_VALUE;
|
|
1909
1865
|
};
|
|
1910
|
-
protoOf(DoubleCompanionObject).
|
|
1866
|
+
protoOf(DoubleCompanionObject).w2 = function () {
|
|
1911
1867
|
return this.MAX_VALUE;
|
|
1912
1868
|
};
|
|
1913
|
-
protoOf(DoubleCompanionObject).
|
|
1869
|
+
protoOf(DoubleCompanionObject).x2 = function () {
|
|
1914
1870
|
return this.POSITIVE_INFINITY;
|
|
1915
1871
|
};
|
|
1916
|
-
protoOf(DoubleCompanionObject).
|
|
1872
|
+
protoOf(DoubleCompanionObject).y2 = function () {
|
|
1917
1873
|
return this.NEGATIVE_INFINITY;
|
|
1918
1874
|
};
|
|
1919
|
-
protoOf(DoubleCompanionObject).
|
|
1875
|
+
protoOf(DoubleCompanionObject).z2 = function () {
|
|
1920
1876
|
return this.NaN;
|
|
1921
1877
|
};
|
|
1922
|
-
protoOf(DoubleCompanionObject).
|
|
1878
|
+
protoOf(DoubleCompanionObject).a3 = function () {
|
|
1923
1879
|
return this.SIZE_BYTES;
|
|
1924
1880
|
};
|
|
1925
|
-
protoOf(DoubleCompanionObject).
|
|
1881
|
+
protoOf(DoubleCompanionObject).b3 = function () {
|
|
1926
1882
|
return this.SIZE_BITS;
|
|
1927
1883
|
};
|
|
1928
1884
|
var DoubleCompanionObject_instance;
|
|
@@ -1957,38 +1913,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
1957
1913
|
function isCharSequence(value) {
|
|
1958
1914
|
return typeof value === 'string' || isInterface(value, CharSequence);
|
|
1959
1915
|
}
|
|
1960
|
-
function calculateErrorInfo(proto) {
|
|
1961
|
-
var tmp0_safe_receiver = proto.constructor;
|
|
1962
|
-
var metadata = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.$metadata$;
|
|
1963
|
-
var tmp2_safe_receiver = metadata == null ? null : metadata.errorInfo;
|
|
1964
|
-
if (tmp2_safe_receiver == null)
|
|
1965
|
-
null;
|
|
1966
|
-
else {
|
|
1967
|
-
// Inline function 'kotlin.let' call
|
|
1968
|
-
return tmp2_safe_receiver;
|
|
1969
|
-
}
|
|
1970
|
-
var result = 0;
|
|
1971
|
-
if (hasProp(proto, 'message'))
|
|
1972
|
-
result = result | 1;
|
|
1973
|
-
if (hasProp(proto, 'cause'))
|
|
1974
|
-
result = result | 2;
|
|
1975
|
-
if (!(result === 3)) {
|
|
1976
|
-
var parentProto = getPrototypeOf(proto);
|
|
1977
|
-
if (parentProto != Error.prototype) {
|
|
1978
|
-
result = result | calculateErrorInfo(parentProto);
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
if (!(metadata == null)) {
|
|
1982
|
-
metadata.errorInfo = result;
|
|
1983
|
-
}
|
|
1984
|
-
return result;
|
|
1985
|
-
}
|
|
1986
|
-
function hasProp(proto, propName) {
|
|
1987
|
-
return proto.hasOwnProperty(propName);
|
|
1988
|
-
}
|
|
1989
|
-
function getPrototypeOf(obj) {
|
|
1990
|
-
return Object.getPrototypeOf(obj);
|
|
1991
|
-
}
|
|
1992
1916
|
function get_VOID() {
|
|
1993
1917
|
_init_properties_void_kt__3zg9as();
|
|
1994
1918
|
return VOID;
|
|
@@ -2009,7 +1933,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2009
1933
|
function copyOf(_this__u8e3s4, newSize) {
|
|
2010
1934
|
// Inline function 'kotlin.require' call
|
|
2011
1935
|
if (!(newSize >= 0)) {
|
|
2012
|
-
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2013
1936
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
2014
1937
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2015
1938
|
}
|
|
@@ -2018,26 +1941,24 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2018
1941
|
function copyOf_0(_this__u8e3s4, newSize) {
|
|
2019
1942
|
// Inline function 'kotlin.require' call
|
|
2020
1943
|
if (!(newSize >= 0)) {
|
|
2021
|
-
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2022
1944
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
2023
1945
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2024
1946
|
}
|
|
2025
1947
|
return fillFrom(_this__u8e3s4, new Int8Array(newSize));
|
|
2026
1948
|
}
|
|
2027
1949
|
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
2028
|
-
Companion_instance_5.
|
|
1950
|
+
Companion_instance_5.d3(fromIndex, toIndex, _this__u8e3s4.length);
|
|
2029
1951
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2030
1952
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
2031
1953
|
}
|
|
2032
1954
|
function copyOfRange_0(_this__u8e3s4, fromIndex, toIndex) {
|
|
2033
|
-
Companion_instance_5.
|
|
1955
|
+
Companion_instance_5.d3(fromIndex, toIndex, _this__u8e3s4.length);
|
|
2034
1956
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2035
1957
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
2036
1958
|
}
|
|
2037
1959
|
function copyOf_1(_this__u8e3s4, newSize) {
|
|
2038
1960
|
// Inline function 'kotlin.require' call
|
|
2039
1961
|
if (!(newSize >= 0)) {
|
|
2040
|
-
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
2041
1962
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
2042
1963
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2043
1964
|
}
|
|
@@ -2051,7 +1972,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2051
1972
|
var inductionVariable = 0;
|
|
2052
1973
|
var last = base64.length;
|
|
2053
1974
|
while (inductionVariable < last) {
|
|
2054
|
-
var char =
|
|
1975
|
+
var char = charCodeAt(base64, inductionVariable);
|
|
2055
1976
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2056
1977
|
// Inline function 'kotlin.code' call
|
|
2057
1978
|
var sixBit = fromBase64[Char__toInt_impl_vasixd(char)];
|
|
@@ -2071,8 +1992,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2071
1992
|
function digitToIntImpl(_this__u8e3s4) {
|
|
2072
1993
|
// Inline function 'kotlin.code' call
|
|
2073
1994
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
2074
|
-
var index = binarySearchRange(Digit_getInstance().
|
|
2075
|
-
var diff = ch - Digit_getInstance().
|
|
1995
|
+
var index = binarySearchRange(Digit_getInstance().e3_1, ch);
|
|
1996
|
+
var diff = ch - Digit_getInstance().e3_1[index] | 0;
|
|
2076
1997
|
return diff < 10 ? diff : -1;
|
|
2077
1998
|
}
|
|
2078
1999
|
function binarySearchRange(array, needle) {
|
|
@@ -2096,7 +2017,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2096
2017
|
Digit_instance = this;
|
|
2097
2018
|
var tmp = this;
|
|
2098
2019
|
// Inline function 'kotlin.intArrayOf' call
|
|
2099
|
-
tmp.
|
|
2020
|
+
tmp.e3_1 = new Int32Array([48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296]);
|
|
2100
2021
|
}
|
|
2101
2022
|
var Digit_instance;
|
|
2102
2023
|
function Digit_getInstance() {
|
|
@@ -2110,10 +2031,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2110
2031
|
function getLetterType(_this__u8e3s4) {
|
|
2111
2032
|
// Inline function 'kotlin.code' call
|
|
2112
2033
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
2113
|
-
var index = binarySearchRange(Letter_getInstance().
|
|
2114
|
-
var rangeStart = Letter_getInstance().
|
|
2115
|
-
var rangeEnd = (rangeStart + Letter_getInstance().
|
|
2116
|
-
var code = Letter_getInstance().
|
|
2034
|
+
var index = binarySearchRange(Letter_getInstance().f3_1, ch);
|
|
2035
|
+
var rangeStart = Letter_getInstance().f3_1[index];
|
|
2036
|
+
var rangeEnd = (rangeStart + Letter_getInstance().g3_1[index] | 0) - 1 | 0;
|
|
2037
|
+
var code = Letter_getInstance().h3_1[index];
|
|
2117
2038
|
if (ch > rangeEnd) {
|
|
2118
2039
|
return 0;
|
|
2119
2040
|
}
|
|
@@ -2158,7 +2079,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2158
2079
|
var i = inductionVariable;
|
|
2159
2080
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2160
2081
|
// Inline function 'kotlin.code' call
|
|
2161
|
-
var this_0 =
|
|
2082
|
+
var this_0 = charCodeAt(toBase64, i);
|
|
2162
2083
|
fromBase64[Char__toInt_impl_vasixd(this_0)] = i;
|
|
2163
2084
|
}
|
|
2164
2085
|
while (inductionVariable <= last);
|
|
@@ -2178,11 +2099,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2178
2099
|
}
|
|
2179
2100
|
}
|
|
2180
2101
|
while (inductionVariable_0 <= last_0);
|
|
2181
|
-
this.
|
|
2102
|
+
this.f3_1 = start;
|
|
2182
2103
|
var rangeLength = 'aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL';
|
|
2183
|
-
this.
|
|
2104
|
+
this.g3_1 = decodeVarLenBase64(rangeLength, fromBase64, 222);
|
|
2184
2105
|
var rangeCategory = 'GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB';
|
|
2185
|
-
this.
|
|
2106
|
+
this.h3_1 = decodeVarLenBase64(rangeCategory, fromBase64, 222);
|
|
2186
2107
|
}
|
|
2187
2108
|
var Letter_instance;
|
|
2188
2109
|
function Letter_getInstance() {
|
|
@@ -2248,7 +2169,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2248
2169
|
return collectionToArrayCommonImpl(collection);
|
|
2249
2170
|
}
|
|
2250
2171
|
function listOf(element) {
|
|
2251
|
-
|
|
2172
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2173
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2174
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2175
|
+
var tmp$ret$2 = [element];
|
|
2176
|
+
return new ArrayList(tmp$ret$2);
|
|
2252
2177
|
}
|
|
2253
2178
|
function mapCapacity(expectedSize) {
|
|
2254
2179
|
return expectedSize;
|
|
@@ -2271,9 +2196,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2271
2196
|
return tmp;
|
|
2272
2197
|
}
|
|
2273
2198
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
2274
|
-
Companion_instance_5.
|
|
2199
|
+
Companion_instance_5.d3(startIndex, endIndex, source.length);
|
|
2275
2200
|
var rangeSize = endIndex - startIndex | 0;
|
|
2276
|
-
Companion_instance_5.
|
|
2201
|
+
Companion_instance_5.d3(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
2277
2202
|
if (isView(destination) && isView(source)) {
|
|
2278
2203
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2279
2204
|
var subrange = source.subarray(startIndex, endIndex);
|
|
@@ -2310,8 +2235,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2310
2235
|
function AbstractMutableCollection() {
|
|
2311
2236
|
AbstractCollection.call(this);
|
|
2312
2237
|
}
|
|
2313
|
-
protoOf(AbstractMutableCollection).
|
|
2314
|
-
this.
|
|
2238
|
+
protoOf(AbstractMutableCollection).i3 = function (elements) {
|
|
2239
|
+
this.j3();
|
|
2315
2240
|
var modified = false;
|
|
2316
2241
|
var _iterator__ex2g4s = elements.g();
|
|
2317
2242
|
while (_iterator__ex2g4s.h()) {
|
|
@@ -2324,54 +2249,53 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2324
2249
|
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
2325
2250
|
return this.toArray();
|
|
2326
2251
|
};
|
|
2327
|
-
protoOf(AbstractMutableCollection).
|
|
2252
|
+
protoOf(AbstractMutableCollection).j3 = function () {
|
|
2328
2253
|
};
|
|
2329
2254
|
function IteratorImpl($outer) {
|
|
2330
|
-
this.
|
|
2331
|
-
this.
|
|
2332
|
-
this.
|
|
2255
|
+
this.m3_1 = $outer;
|
|
2256
|
+
this.k3_1 = 0;
|
|
2257
|
+
this.l3_1 = -1;
|
|
2333
2258
|
}
|
|
2334
2259
|
protoOf(IteratorImpl).h = function () {
|
|
2335
|
-
return this.
|
|
2260
|
+
return this.k3_1 < this.m3_1.j();
|
|
2336
2261
|
};
|
|
2337
2262
|
protoOf(IteratorImpl).i = function () {
|
|
2338
2263
|
if (!this.h())
|
|
2339
2264
|
throw NoSuchElementException_init_$Create$();
|
|
2340
2265
|
var tmp = this;
|
|
2341
|
-
var _unary__edvuaz = this.
|
|
2342
|
-
this.
|
|
2343
|
-
tmp.
|
|
2344
|
-
return this.
|
|
2266
|
+
var _unary__edvuaz = this.k3_1;
|
|
2267
|
+
this.k3_1 = _unary__edvuaz + 1 | 0;
|
|
2268
|
+
tmp.l3_1 = _unary__edvuaz;
|
|
2269
|
+
return this.m3_1.k(this.l3_1);
|
|
2345
2270
|
};
|
|
2346
|
-
protoOf(IteratorImpl).
|
|
2271
|
+
protoOf(IteratorImpl).n3 = function () {
|
|
2347
2272
|
// Inline function 'kotlin.check' call
|
|
2348
|
-
if (!!(this.
|
|
2349
|
-
// Inline function 'kotlin.collections.IteratorImpl.remove.<anonymous>' call
|
|
2273
|
+
if (!!(this.l3_1 === -1)) {
|
|
2350
2274
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
2351
2275
|
throw IllegalStateException_init_$Create$_0(toString_1(message));
|
|
2352
2276
|
}
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2355
|
-
this.
|
|
2277
|
+
this.m3_1.p3(this.l3_1);
|
|
2278
|
+
this.k3_1 = this.l3_1;
|
|
2279
|
+
this.l3_1 = -1;
|
|
2356
2280
|
};
|
|
2357
2281
|
function ListIteratorImpl($outer, index) {
|
|
2358
|
-
this.
|
|
2282
|
+
this.t3_1 = $outer;
|
|
2359
2283
|
IteratorImpl.call(this, $outer);
|
|
2360
|
-
Companion_instance_5.
|
|
2361
|
-
this.
|
|
2284
|
+
Companion_instance_5.u3(index, this.t3_1.j());
|
|
2285
|
+
this.k3_1 = index;
|
|
2362
2286
|
}
|
|
2363
2287
|
function AbstractMutableList() {
|
|
2364
2288
|
AbstractMutableCollection.call(this);
|
|
2365
|
-
this.
|
|
2289
|
+
this.o3_1 = 0;
|
|
2366
2290
|
}
|
|
2367
2291
|
protoOf(AbstractMutableList).d = function (element) {
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2292
|
+
this.j3();
|
|
2293
|
+
this.v3(this.j(), element);
|
|
2370
2294
|
return true;
|
|
2371
2295
|
};
|
|
2372
|
-
protoOf(AbstractMutableList).
|
|
2373
|
-
this.
|
|
2374
|
-
this.
|
|
2296
|
+
protoOf(AbstractMutableList).w3 = function () {
|
|
2297
|
+
this.j3();
|
|
2298
|
+
this.x3(0, this.j());
|
|
2375
2299
|
};
|
|
2376
2300
|
protoOf(AbstractMutableList).g = function () {
|
|
2377
2301
|
return new IteratorImpl(this);
|
|
@@ -2387,7 +2311,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2387
2311
|
var _iterator__ex2g4s = this.g();
|
|
2388
2312
|
while (_iterator__ex2g4s.h()) {
|
|
2389
2313
|
var item = _iterator__ex2g4s.i();
|
|
2390
|
-
// Inline function 'kotlin.collections.AbstractMutableList.indexOf.<anonymous>' call
|
|
2391
2314
|
if (equals(item, element)) {
|
|
2392
2315
|
tmp$ret$1 = index;
|
|
2393
2316
|
break $l$block;
|
|
@@ -2398,11 +2321,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2398
2321
|
}
|
|
2399
2322
|
return tmp$ret$1;
|
|
2400
2323
|
};
|
|
2401
|
-
protoOf(AbstractMutableList).
|
|
2324
|
+
protoOf(AbstractMutableList).y3 = function (index) {
|
|
2402
2325
|
return new ListIteratorImpl(this, index);
|
|
2403
2326
|
};
|
|
2404
|
-
protoOf(AbstractMutableList).
|
|
2405
|
-
var iterator = this.
|
|
2327
|
+
protoOf(AbstractMutableList).x3 = function (fromIndex, toIndex) {
|
|
2328
|
+
var iterator = this.y3(fromIndex);
|
|
2406
2329
|
// Inline function 'kotlin.repeat' call
|
|
2407
2330
|
var times = toIndex - fromIndex | 0;
|
|
2408
2331
|
var inductionVariable = 0;
|
|
@@ -2410,9 +2333,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2410
2333
|
do {
|
|
2411
2334
|
var index = inductionVariable;
|
|
2412
2335
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2413
|
-
// Inline function 'kotlin.collections.AbstractMutableList.removeRange.<anonymous>' call
|
|
2414
2336
|
iterator.i();
|
|
2415
|
-
iterator.
|
|
2337
|
+
iterator.n3();
|
|
2416
2338
|
}
|
|
2417
2339
|
while (inductionVariable < times);
|
|
2418
2340
|
};
|
|
@@ -2421,15 +2343,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2421
2343
|
return true;
|
|
2422
2344
|
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
2423
2345
|
return false;
|
|
2424
|
-
return Companion_instance_5.
|
|
2346
|
+
return Companion_instance_5.z3(this, other);
|
|
2425
2347
|
};
|
|
2426
2348
|
protoOf(AbstractMutableList).hashCode = function () {
|
|
2427
|
-
return Companion_instance_5.
|
|
2349
|
+
return Companion_instance_5.a4(this);
|
|
2428
2350
|
};
|
|
2429
2351
|
function AbstractMutableMap() {
|
|
2430
2352
|
AbstractMap.call(this);
|
|
2431
|
-
this.
|
|
2432
|
-
this.
|
|
2353
|
+
this.d4_1 = null;
|
|
2354
|
+
this.e4_1 = null;
|
|
2433
2355
|
}
|
|
2434
2356
|
function AbstractMutableSet() {
|
|
2435
2357
|
AbstractMutableCollection.call(this);
|
|
@@ -2439,22 +2361,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2439
2361
|
return true;
|
|
2440
2362
|
if (!(!(other == null) ? isInterface(other, KtSet) : false))
|
|
2441
2363
|
return false;
|
|
2442
|
-
return Companion_instance_7.
|
|
2364
|
+
return Companion_instance_7.j4(this, other);
|
|
2443
2365
|
};
|
|
2444
2366
|
protoOf(AbstractMutableSet).hashCode = function () {
|
|
2445
|
-
return Companion_instance_7.
|
|
2367
|
+
return Companion_instance_7.k4(this);
|
|
2446
2368
|
};
|
|
2447
2369
|
function arrayOfUninitializedElements(capacity) {
|
|
2448
2370
|
// Inline function 'kotlin.require' call
|
|
2449
2371
|
if (!(capacity >= 0)) {
|
|
2450
|
-
// Inline function 'kotlin.collections.arrayOfUninitializedElements.<anonymous>' call
|
|
2451
2372
|
var message = 'capacity must be non-negative.';
|
|
2452
2373
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2453
2374
|
}
|
|
2454
2375
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2455
2376
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2456
2377
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2457
|
-
return
|
|
2378
|
+
return Array(capacity);
|
|
2458
2379
|
}
|
|
2459
2380
|
function resetRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
2460
2381
|
// Inline function 'kotlin.js.nativeFill' call
|
|
@@ -2471,9 +2392,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2471
2392
|
var tmp = this;
|
|
2472
2393
|
// Inline function 'kotlin.also' call
|
|
2473
2394
|
var this_0 = ArrayList_init_$Create$_0(0);
|
|
2474
|
-
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
2475
2395
|
this_0.y_1 = true;
|
|
2476
|
-
tmp.
|
|
2396
|
+
tmp.l4_1 = this_0;
|
|
2477
2397
|
}
|
|
2478
2398
|
var Companion_instance_2;
|
|
2479
2399
|
function Companion_getInstance_2() {
|
|
@@ -2496,7 +2416,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2496
2416
|
ArrayList.call($this, tmp$ret$0);
|
|
2497
2417
|
// Inline function 'kotlin.require' call
|
|
2498
2418
|
if (!(initialCapacity >= 0)) {
|
|
2499
|
-
// Inline function 'kotlin.collections.ArrayList.<init>.<anonymous>' call
|
|
2500
2419
|
var message = 'Negative initial capacity: ' + initialCapacity;
|
|
2501
2420
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2502
2421
|
}
|
|
@@ -2505,15 +2424,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2505
2424
|
function ArrayList_init_$Create$_0(initialCapacity) {
|
|
2506
2425
|
return ArrayList_init_$Init$_0(initialCapacity, objectCreate(protoOf(ArrayList)));
|
|
2507
2426
|
}
|
|
2508
|
-
function ArrayList_init_$Init$_1(elements, $this) {
|
|
2509
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
2510
|
-
var tmp$ret$0 = copyToArray(elements);
|
|
2511
|
-
ArrayList.call($this, tmp$ret$0);
|
|
2512
|
-
return $this;
|
|
2513
|
-
}
|
|
2514
|
-
function ArrayList_init_$Create$_1(elements) {
|
|
2515
|
-
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
|
|
2516
|
-
}
|
|
2517
2427
|
function increaseLength($this, amount) {
|
|
2518
2428
|
var previous = $this.j();
|
|
2519
2429
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2522,14 +2432,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2522
2432
|
}
|
|
2523
2433
|
function rangeCheck($this, index) {
|
|
2524
2434
|
// Inline function 'kotlin.apply' call
|
|
2525
|
-
|
|
2526
|
-
Companion_instance_5.o4(index, $this.j());
|
|
2435
|
+
Companion_instance_5.m4(index, $this.j());
|
|
2527
2436
|
return index;
|
|
2528
2437
|
}
|
|
2529
2438
|
function insertionRangeCheck($this, index) {
|
|
2530
2439
|
// Inline function 'kotlin.apply' call
|
|
2531
|
-
|
|
2532
|
-
Companion_instance_5.w3(index, $this.j());
|
|
2440
|
+
Companion_instance_5.u3(index, $this.j());
|
|
2533
2441
|
return index;
|
|
2534
2442
|
}
|
|
2535
2443
|
function ArrayList(array) {
|
|
@@ -2546,20 +2454,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2546
2454
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
2547
2455
|
};
|
|
2548
2456
|
protoOf(ArrayList).d = function (element) {
|
|
2549
|
-
this.
|
|
2457
|
+
this.j3();
|
|
2550
2458
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2551
2459
|
this.x_1.push(element);
|
|
2552
|
-
this.
|
|
2460
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2553
2461
|
return true;
|
|
2554
2462
|
};
|
|
2555
|
-
protoOf(ArrayList).
|
|
2556
|
-
this.
|
|
2463
|
+
protoOf(ArrayList).v3 = function (index, element) {
|
|
2464
|
+
this.j3();
|
|
2557
2465
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2558
2466
|
this.x_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
2559
|
-
this.
|
|
2467
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2560
2468
|
};
|
|
2561
|
-
protoOf(ArrayList).
|
|
2562
|
-
this.
|
|
2469
|
+
protoOf(ArrayList).i3 = function (elements) {
|
|
2470
|
+
this.j3();
|
|
2563
2471
|
if (elements.d1())
|
|
2564
2472
|
return false;
|
|
2565
2473
|
var offset = increaseLength(this, elements.j());
|
|
@@ -2570,17 +2478,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2570
2478
|
var item = _iterator__ex2g4s.i();
|
|
2571
2479
|
var _unary__edvuaz = index;
|
|
2572
2480
|
index = _unary__edvuaz + 1 | 0;
|
|
2573
|
-
// Inline function 'kotlin.collections.ArrayList.addAll.<anonymous>' call
|
|
2574
2481
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
2575
2482
|
this.x_1[offset + index_0 | 0] = item;
|
|
2576
2483
|
}
|
|
2577
|
-
this.
|
|
2484
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2578
2485
|
return true;
|
|
2579
2486
|
};
|
|
2580
|
-
protoOf(ArrayList).
|
|
2581
|
-
this.
|
|
2487
|
+
protoOf(ArrayList).p3 = function (index) {
|
|
2488
|
+
this.j3();
|
|
2582
2489
|
rangeCheck(this, index);
|
|
2583
|
-
this.
|
|
2490
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2584
2491
|
var tmp;
|
|
2585
2492
|
if (index === get_lastIndex_0(this)) {
|
|
2586
2493
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2591,18 +2498,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2591
2498
|
}
|
|
2592
2499
|
return tmp;
|
|
2593
2500
|
};
|
|
2594
|
-
protoOf(ArrayList).
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2501
|
+
protoOf(ArrayList).x3 = function (fromIndex, toIndex) {
|
|
2502
|
+
this.j3();
|
|
2503
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2597
2504
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2598
2505
|
this.x_1.splice(fromIndex, toIndex - fromIndex | 0);
|
|
2599
2506
|
};
|
|
2600
|
-
protoOf(ArrayList).
|
|
2601
|
-
this.
|
|
2507
|
+
protoOf(ArrayList).w3 = function () {
|
|
2508
|
+
this.j3();
|
|
2602
2509
|
var tmp = this;
|
|
2603
2510
|
// Inline function 'kotlin.emptyArray' call
|
|
2604
2511
|
tmp.x_1 = [];
|
|
2605
|
-
this.
|
|
2512
|
+
this.o3_1 = this.o3_1 + 1 | 0;
|
|
2606
2513
|
};
|
|
2607
2514
|
protoOf(ArrayList).s1 = function (element) {
|
|
2608
2515
|
return indexOf_0(this.x_1, element);
|
|
@@ -2610,20 +2517,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2610
2517
|
protoOf(ArrayList).toString = function () {
|
|
2611
2518
|
return arrayToString(this.x_1);
|
|
2612
2519
|
};
|
|
2613
|
-
protoOf(ArrayList).
|
|
2520
|
+
protoOf(ArrayList).n4 = function () {
|
|
2614
2521
|
return [].slice.call(this.x_1);
|
|
2615
2522
|
};
|
|
2616
2523
|
protoOf(ArrayList).toArray = function () {
|
|
2617
|
-
return this.
|
|
2524
|
+
return this.n4();
|
|
2618
2525
|
};
|
|
2619
|
-
protoOf(ArrayList).
|
|
2526
|
+
protoOf(ArrayList).j3 = function () {
|
|
2620
2527
|
if (this.y_1)
|
|
2621
2528
|
throw UnsupportedOperationException_init_$Create$();
|
|
2622
2529
|
};
|
|
2623
2530
|
function HashMap_init_$Init$(internalMap, $this) {
|
|
2624
2531
|
AbstractMutableMap.call($this);
|
|
2625
2532
|
HashMap.call($this);
|
|
2626
|
-
$this.
|
|
2533
|
+
$this.s4_1 = internalMap;
|
|
2627
2534
|
return $this;
|
|
2628
2535
|
}
|
|
2629
2536
|
function HashMap_init_$Init$_0($this) {
|
|
@@ -2642,16 +2549,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2642
2549
|
return $this;
|
|
2643
2550
|
}
|
|
2644
2551
|
protoOf(HashMap).w1 = function (key) {
|
|
2645
|
-
return this.
|
|
2552
|
+
return this.s4_1.u4(key);
|
|
2646
2553
|
};
|
|
2647
2554
|
protoOf(HashMap).y1 = function () {
|
|
2648
|
-
var tmp0_elvis_lhs = this.
|
|
2555
|
+
var tmp0_elvis_lhs = this.t4_1;
|
|
2649
2556
|
var tmp;
|
|
2650
2557
|
if (tmp0_elvis_lhs == null) {
|
|
2651
2558
|
// Inline function 'kotlin.also' call
|
|
2652
|
-
var this_0 = new HashMapEntrySet(this.
|
|
2653
|
-
|
|
2654
|
-
this.v4_1 = this_0;
|
|
2559
|
+
var this_0 = new HashMapEntrySet(this.s4_1);
|
|
2560
|
+
this.t4_1 = this_0;
|
|
2655
2561
|
tmp = this_0;
|
|
2656
2562
|
} else {
|
|
2657
2563
|
tmp = tmp0_elvis_lhs;
|
|
@@ -2659,60 +2565,60 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2659
2565
|
return tmp;
|
|
2660
2566
|
};
|
|
2661
2567
|
protoOf(HashMap).x1 = function (key) {
|
|
2662
|
-
return this.
|
|
2568
|
+
return this.s4_1.x1(key);
|
|
2663
2569
|
};
|
|
2664
|
-
protoOf(HashMap).
|
|
2665
|
-
return this.
|
|
2570
|
+
protoOf(HashMap).f4 = function (key, value) {
|
|
2571
|
+
return this.s4_1.f4(key, value);
|
|
2666
2572
|
};
|
|
2667
2573
|
protoOf(HashMap).j = function () {
|
|
2668
|
-
return this.
|
|
2574
|
+
return this.s4_1.j();
|
|
2669
2575
|
};
|
|
2670
2576
|
function HashMap() {
|
|
2671
|
-
this.
|
|
2577
|
+
this.t4_1 = null;
|
|
2672
2578
|
}
|
|
2673
2579
|
function HashMapEntrySet(backing) {
|
|
2674
2580
|
HashMapEntrySetBase.call(this, backing);
|
|
2675
2581
|
}
|
|
2676
2582
|
protoOf(HashMapEntrySet).g = function () {
|
|
2677
|
-
return this.
|
|
2583
|
+
return this.w4_1.x4();
|
|
2678
2584
|
};
|
|
2679
2585
|
function HashMapEntrySetBase(backing) {
|
|
2680
2586
|
AbstractMutableSet.call(this);
|
|
2681
|
-
this.
|
|
2587
|
+
this.w4_1 = backing;
|
|
2682
2588
|
}
|
|
2683
2589
|
protoOf(HashMapEntrySetBase).j = function () {
|
|
2684
|
-
return this.
|
|
2590
|
+
return this.w4_1.j();
|
|
2685
2591
|
};
|
|
2686
2592
|
protoOf(HashMapEntrySetBase).d1 = function () {
|
|
2687
|
-
return this.
|
|
2593
|
+
return this.w4_1.j() === 0;
|
|
2688
2594
|
};
|
|
2689
|
-
protoOf(HashMapEntrySetBase).
|
|
2690
|
-
return this.
|
|
2595
|
+
protoOf(HashMapEntrySetBase).y4 = function (element) {
|
|
2596
|
+
return this.w4_1.a5(element);
|
|
2691
2597
|
};
|
|
2692
2598
|
protoOf(HashMapEntrySetBase).r1 = function (element) {
|
|
2693
2599
|
if (!(!(element == null) ? isInterface(element, Entry) : false))
|
|
2694
2600
|
return false;
|
|
2695
|
-
return this.
|
|
2601
|
+
return this.y4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
2696
2602
|
};
|
|
2697
|
-
protoOf(HashMapEntrySetBase).
|
|
2603
|
+
protoOf(HashMapEntrySetBase).z4 = function (element) {
|
|
2698
2604
|
throw UnsupportedOperationException_init_$Create$();
|
|
2699
2605
|
};
|
|
2700
2606
|
protoOf(HashMapEntrySetBase).d = function (element) {
|
|
2701
|
-
return this.
|
|
2607
|
+
return this.z4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
2702
2608
|
};
|
|
2703
|
-
protoOf(HashMapEntrySetBase).
|
|
2609
|
+
protoOf(HashMapEntrySetBase).i3 = function (elements) {
|
|
2704
2610
|
throw UnsupportedOperationException_init_$Create$();
|
|
2705
2611
|
};
|
|
2706
2612
|
protoOf(HashMapEntrySetBase).t1 = function (elements) {
|
|
2707
|
-
return this.
|
|
2613
|
+
return this.w4_1.b5(elements);
|
|
2708
2614
|
};
|
|
2709
|
-
protoOf(HashMapEntrySetBase).
|
|
2710
|
-
return this.
|
|
2615
|
+
protoOf(HashMapEntrySetBase).j3 = function () {
|
|
2616
|
+
return this.w4_1.c5();
|
|
2711
2617
|
};
|
|
2712
2618
|
function HashSet_init_$Init$(map, $this) {
|
|
2713
2619
|
AbstractMutableSet.call($this);
|
|
2714
2620
|
HashSet.call($this);
|
|
2715
|
-
$this.
|
|
2621
|
+
$this.d5_1 = map;
|
|
2716
2622
|
return $this;
|
|
2717
2623
|
}
|
|
2718
2624
|
function HashSet_init_$Init$_0($this) {
|
|
@@ -2734,19 +2640,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2734
2640
|
return HashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
2735
2641
|
}
|
|
2736
2642
|
protoOf(HashSet).d = function (element) {
|
|
2737
|
-
return this.
|
|
2643
|
+
return this.d5_1.f4(element, true) == null;
|
|
2738
2644
|
};
|
|
2739
2645
|
protoOf(HashSet).r1 = function (element) {
|
|
2740
|
-
return this.
|
|
2646
|
+
return this.d5_1.u4(element);
|
|
2741
2647
|
};
|
|
2742
2648
|
protoOf(HashSet).d1 = function () {
|
|
2743
|
-
return this.
|
|
2649
|
+
return this.d5_1.j() === 0;
|
|
2744
2650
|
};
|
|
2745
2651
|
protoOf(HashSet).g = function () {
|
|
2746
|
-
return this.
|
|
2652
|
+
return this.d5_1.e5();
|
|
2747
2653
|
};
|
|
2748
2654
|
protoOf(HashSet).j = function () {
|
|
2749
|
-
return this.
|
|
2655
|
+
return this.d5_1.j();
|
|
2750
2656
|
};
|
|
2751
2657
|
function HashSet() {
|
|
2752
2658
|
}
|
|
@@ -2758,7 +2664,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2758
2664
|
return clz32(hashSize) + 1 | 0;
|
|
2759
2665
|
}
|
|
2760
2666
|
function checkForComodification($this) {
|
|
2761
|
-
if (!($this.
|
|
2667
|
+
if (!($this.p5_1.m5_1 === $this.r5_1))
|
|
2762
2668
|
throw ConcurrentModificationException_init_$Create$_0('The backing map has been modified after this entry was obtained.');
|
|
2763
2669
|
}
|
|
2764
2670
|
function InternalHashMap_init_$Init$($this) {
|
|
@@ -2776,7 +2682,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2776
2682
|
InternalHashMap_init_$Init$_0(initialCapacity, $this);
|
|
2777
2683
|
// Inline function 'kotlin.require' call
|
|
2778
2684
|
if (!(loadFactor > 0)) {
|
|
2779
|
-
// Inline function 'kotlin.collections.InternalHashMap.<init>.<anonymous>' call
|
|
2780
2685
|
var message = 'Non-positive load factor: ' + loadFactor;
|
|
2781
2686
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
2782
2687
|
}
|
|
@@ -2786,36 +2691,36 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2786
2691
|
return InternalHashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
|
|
2787
2692
|
}
|
|
2788
2693
|
function _get_capacity__a9k9f3($this) {
|
|
2789
|
-
return $this.
|
|
2694
|
+
return $this.f5_1.length;
|
|
2790
2695
|
}
|
|
2791
2696
|
function _get_hashSize__tftcho($this) {
|
|
2792
|
-
return $this.
|
|
2697
|
+
return $this.i5_1.length;
|
|
2793
2698
|
}
|
|
2794
2699
|
function registerModification($this) {
|
|
2795
|
-
$this.
|
|
2700
|
+
$this.m5_1 = $this.m5_1 + 1 | 0;
|
|
2796
2701
|
}
|
|
2797
2702
|
function ensureExtraCapacity($this, n) {
|
|
2798
2703
|
if (shouldCompact($this, n)) {
|
|
2799
2704
|
compact($this, true);
|
|
2800
2705
|
} else {
|
|
2801
|
-
ensureCapacity($this, $this.
|
|
2706
|
+
ensureCapacity($this, $this.k5_1 + n | 0);
|
|
2802
2707
|
}
|
|
2803
2708
|
}
|
|
2804
2709
|
function shouldCompact($this, extraCapacity) {
|
|
2805
|
-
var spareCapacity = _get_capacity__a9k9f3($this) - $this.
|
|
2806
|
-
var gaps = $this.
|
|
2710
|
+
var spareCapacity = _get_capacity__a9k9f3($this) - $this.k5_1 | 0;
|
|
2711
|
+
var gaps = $this.k5_1 - $this.j() | 0;
|
|
2807
2712
|
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
|
|
2808
2713
|
}
|
|
2809
2714
|
function ensureCapacity($this, minCapacity) {
|
|
2810
2715
|
if (minCapacity < 0)
|
|
2811
2716
|
throw RuntimeException_init_$Create$_0('too many elements');
|
|
2812
2717
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
2813
|
-
var newSize = Companion_instance_5.
|
|
2814
|
-
$this.
|
|
2718
|
+
var newSize = Companion_instance_5.s5(_get_capacity__a9k9f3($this), minCapacity);
|
|
2719
|
+
$this.f5_1 = copyOfUninitializedElements($this.f5_1, newSize);
|
|
2815
2720
|
var tmp = $this;
|
|
2816
|
-
var tmp0_safe_receiver = $this.
|
|
2817
|
-
tmp.
|
|
2818
|
-
$this.
|
|
2721
|
+
var tmp0_safe_receiver = $this.g5_1;
|
|
2722
|
+
tmp.g5_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
|
|
2723
|
+
$this.h5_1 = copyOf($this.h5_1, newSize);
|
|
2819
2724
|
var newHashSize = computeHashSize(Companion_instance_3, newSize);
|
|
2820
2725
|
if (newHashSize > _get_hashSize__tftcho($this)) {
|
|
2821
2726
|
rehash($this, newHashSize);
|
|
@@ -2823,52 +2728,52 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2823
2728
|
}
|
|
2824
2729
|
}
|
|
2825
2730
|
function allocateValuesArray($this) {
|
|
2826
|
-
var curValuesArray = $this.
|
|
2731
|
+
var curValuesArray = $this.g5_1;
|
|
2827
2732
|
if (!(curValuesArray == null))
|
|
2828
2733
|
return curValuesArray;
|
|
2829
2734
|
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
|
|
2830
|
-
$this.
|
|
2735
|
+
$this.g5_1 = newValuesArray;
|
|
2831
2736
|
return newValuesArray;
|
|
2832
2737
|
}
|
|
2833
2738
|
function hash($this, key) {
|
|
2834
|
-
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.
|
|
2739
|
+
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.l5_1 | 0;
|
|
2835
2740
|
}
|
|
2836
2741
|
function compact($this, updateHashArray) {
|
|
2837
2742
|
var i = 0;
|
|
2838
2743
|
var j = 0;
|
|
2839
|
-
var valuesArray = $this.
|
|
2840
|
-
while (i < $this.
|
|
2841
|
-
var hash = $this.
|
|
2744
|
+
var valuesArray = $this.g5_1;
|
|
2745
|
+
while (i < $this.k5_1) {
|
|
2746
|
+
var hash = $this.h5_1[i];
|
|
2842
2747
|
if (hash >= 0) {
|
|
2843
|
-
$this.
|
|
2748
|
+
$this.f5_1[j] = $this.f5_1[i];
|
|
2844
2749
|
if (!(valuesArray == null)) {
|
|
2845
2750
|
valuesArray[j] = valuesArray[i];
|
|
2846
2751
|
}
|
|
2847
2752
|
if (updateHashArray) {
|
|
2848
|
-
$this.
|
|
2849
|
-
$this.
|
|
2753
|
+
$this.h5_1[j] = hash;
|
|
2754
|
+
$this.i5_1[hash] = j + 1 | 0;
|
|
2850
2755
|
}
|
|
2851
2756
|
j = j + 1 | 0;
|
|
2852
2757
|
}
|
|
2853
2758
|
i = i + 1 | 0;
|
|
2854
2759
|
}
|
|
2855
|
-
resetRange($this.
|
|
2760
|
+
resetRange($this.f5_1, j, $this.k5_1);
|
|
2856
2761
|
if (valuesArray == null)
|
|
2857
2762
|
null;
|
|
2858
2763
|
else {
|
|
2859
|
-
resetRange(valuesArray, j, $this.
|
|
2764
|
+
resetRange(valuesArray, j, $this.k5_1);
|
|
2860
2765
|
}
|
|
2861
|
-
$this.
|
|
2766
|
+
$this.k5_1 = j;
|
|
2862
2767
|
}
|
|
2863
2768
|
function rehash($this, newHashSize) {
|
|
2864
2769
|
registerModification($this);
|
|
2865
|
-
if ($this.
|
|
2770
|
+
if ($this.k5_1 > $this.n5_1) {
|
|
2866
2771
|
compact($this, false);
|
|
2867
2772
|
}
|
|
2868
|
-
$this.
|
|
2869
|
-
$this.
|
|
2773
|
+
$this.i5_1 = new Int32Array(newHashSize);
|
|
2774
|
+
$this.l5_1 = computeShift(Companion_instance_3, newHashSize);
|
|
2870
2775
|
var i = 0;
|
|
2871
|
-
while (i < $this.
|
|
2776
|
+
while (i < $this.k5_1) {
|
|
2872
2777
|
var _unary__edvuaz = i;
|
|
2873
2778
|
i = _unary__edvuaz + 1 | 0;
|
|
2874
2779
|
if (!putRehash($this, _unary__edvuaz)) {
|
|
@@ -2877,13 +2782,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2877
2782
|
}
|
|
2878
2783
|
}
|
|
2879
2784
|
function putRehash($this, i) {
|
|
2880
|
-
var hash_0 = hash($this, $this.
|
|
2881
|
-
var probesLeft = $this.
|
|
2785
|
+
var hash_0 = hash($this, $this.f5_1[i]);
|
|
2786
|
+
var probesLeft = $this.j5_1;
|
|
2882
2787
|
while (true) {
|
|
2883
|
-
var index = $this.
|
|
2788
|
+
var index = $this.i5_1[hash_0];
|
|
2884
2789
|
if (index === 0) {
|
|
2885
|
-
$this.
|
|
2886
|
-
$this.
|
|
2790
|
+
$this.i5_1[hash_0] = i + 1 | 0;
|
|
2791
|
+
$this.h5_1[i] = hash_0;
|
|
2887
2792
|
return true;
|
|
2888
2793
|
}
|
|
2889
2794
|
probesLeft = probesLeft - 1 | 0;
|
|
@@ -2897,12 +2802,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2897
2802
|
}
|
|
2898
2803
|
function findKey($this, key) {
|
|
2899
2804
|
var hash_0 = hash($this, key);
|
|
2900
|
-
var probesLeft = $this.
|
|
2805
|
+
var probesLeft = $this.j5_1;
|
|
2901
2806
|
while (true) {
|
|
2902
|
-
var index = $this.
|
|
2807
|
+
var index = $this.i5_1[hash_0];
|
|
2903
2808
|
if (index === 0)
|
|
2904
2809
|
return -1;
|
|
2905
|
-
if (index > 0 && equals($this.
|
|
2810
|
+
if (index > 0 && equals($this.f5_1[index - 1 | 0], key))
|
|
2906
2811
|
return index - 1 | 0;
|
|
2907
2812
|
probesLeft = probesLeft - 1 | 0;
|
|
2908
2813
|
if (probesLeft < 0)
|
|
@@ -2914,31 +2819,31 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2914
2819
|
}
|
|
2915
2820
|
}
|
|
2916
2821
|
function addKey($this, key) {
|
|
2917
|
-
$this.
|
|
2822
|
+
$this.c5();
|
|
2918
2823
|
retry: while (true) {
|
|
2919
2824
|
var hash_0 = hash($this, key);
|
|
2920
|
-
var tentativeMaxProbeDistance = coerceAtMost(imul($this.
|
|
2825
|
+
var tentativeMaxProbeDistance = coerceAtMost(imul($this.j5_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
|
|
2921
2826
|
var probeDistance = 0;
|
|
2922
2827
|
while (true) {
|
|
2923
|
-
var index = $this.
|
|
2828
|
+
var index = $this.i5_1[hash_0];
|
|
2924
2829
|
if (index <= 0) {
|
|
2925
|
-
if ($this.
|
|
2830
|
+
if ($this.k5_1 >= _get_capacity__a9k9f3($this)) {
|
|
2926
2831
|
ensureExtraCapacity($this, 1);
|
|
2927
2832
|
continue retry;
|
|
2928
2833
|
}
|
|
2929
|
-
var _unary__edvuaz = $this.
|
|
2930
|
-
$this.
|
|
2834
|
+
var _unary__edvuaz = $this.k5_1;
|
|
2835
|
+
$this.k5_1 = _unary__edvuaz + 1 | 0;
|
|
2931
2836
|
var putIndex = _unary__edvuaz;
|
|
2932
|
-
$this.
|
|
2933
|
-
$this.
|
|
2934
|
-
$this.
|
|
2935
|
-
$this.
|
|
2837
|
+
$this.f5_1[putIndex] = key;
|
|
2838
|
+
$this.h5_1[putIndex] = hash_0;
|
|
2839
|
+
$this.i5_1[hash_0] = putIndex + 1 | 0;
|
|
2840
|
+
$this.n5_1 = $this.n5_1 + 1 | 0;
|
|
2936
2841
|
registerModification($this);
|
|
2937
|
-
if (probeDistance > $this.
|
|
2938
|
-
$this.
|
|
2842
|
+
if (probeDistance > $this.j5_1)
|
|
2843
|
+
$this.j5_1 = probeDistance;
|
|
2939
2844
|
return putIndex;
|
|
2940
2845
|
}
|
|
2941
|
-
if (equals($this.
|
|
2846
|
+
if (equals($this.f5_1[index - 1 | 0], key)) {
|
|
2942
2847
|
return -index | 0;
|
|
2943
2848
|
}
|
|
2944
2849
|
probeDistance = probeDistance + 1 | 0;
|
|
@@ -2954,117 +2859,117 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
2954
2859
|
}
|
|
2955
2860
|
}
|
|
2956
2861
|
function contentEquals($this, other) {
|
|
2957
|
-
return $this.
|
|
2862
|
+
return $this.n5_1 === other.j() && $this.b5(other.y1());
|
|
2958
2863
|
}
|
|
2959
2864
|
function Companion_3() {
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2963
|
-
this.
|
|
2865
|
+
this.t5_1 = -1640531527;
|
|
2866
|
+
this.u5_1 = 8;
|
|
2867
|
+
this.v5_1 = 2;
|
|
2868
|
+
this.w5_1 = -1;
|
|
2964
2869
|
}
|
|
2965
2870
|
var Companion_instance_3;
|
|
2966
2871
|
function Companion_getInstance_3() {
|
|
2967
2872
|
return Companion_instance_3;
|
|
2968
2873
|
}
|
|
2969
2874
|
function Itr(map) {
|
|
2970
|
-
this.
|
|
2971
|
-
this.
|
|
2972
|
-
this.
|
|
2973
|
-
this.
|
|
2974
|
-
this.
|
|
2875
|
+
this.x5_1 = map;
|
|
2876
|
+
this.y5_1 = 0;
|
|
2877
|
+
this.z5_1 = -1;
|
|
2878
|
+
this.a6_1 = this.x5_1.m5_1;
|
|
2879
|
+
this.b6();
|
|
2975
2880
|
}
|
|
2976
|
-
protoOf(Itr).
|
|
2977
|
-
while (this.
|
|
2978
|
-
this.
|
|
2881
|
+
protoOf(Itr).b6 = function () {
|
|
2882
|
+
while (this.y5_1 < this.x5_1.k5_1 && this.x5_1.h5_1[this.y5_1] < 0) {
|
|
2883
|
+
this.y5_1 = this.y5_1 + 1 | 0;
|
|
2979
2884
|
}
|
|
2980
2885
|
};
|
|
2981
2886
|
protoOf(Itr).h = function () {
|
|
2982
|
-
return this.
|
|
2887
|
+
return this.y5_1 < this.x5_1.k5_1;
|
|
2983
2888
|
};
|
|
2984
|
-
protoOf(Itr).
|
|
2985
|
-
if (!(this.
|
|
2889
|
+
protoOf(Itr).c6 = function () {
|
|
2890
|
+
if (!(this.x5_1.m5_1 === this.a6_1))
|
|
2986
2891
|
throw ConcurrentModificationException_init_$Create$();
|
|
2987
2892
|
};
|
|
2988
2893
|
function KeysItr(map) {
|
|
2989
2894
|
Itr.call(this, map);
|
|
2990
2895
|
}
|
|
2991
2896
|
protoOf(KeysItr).i = function () {
|
|
2992
|
-
this.
|
|
2993
|
-
if (this.
|
|
2897
|
+
this.c6();
|
|
2898
|
+
if (this.y5_1 >= this.x5_1.k5_1)
|
|
2994
2899
|
throw NoSuchElementException_init_$Create$();
|
|
2995
2900
|
var tmp = this;
|
|
2996
|
-
var _unary__edvuaz = this.
|
|
2997
|
-
this.
|
|
2998
|
-
tmp.
|
|
2999
|
-
var result = this.
|
|
3000
|
-
this.
|
|
2901
|
+
var _unary__edvuaz = this.y5_1;
|
|
2902
|
+
this.y5_1 = _unary__edvuaz + 1 | 0;
|
|
2903
|
+
tmp.z5_1 = _unary__edvuaz;
|
|
2904
|
+
var result = this.x5_1.f5_1[this.z5_1];
|
|
2905
|
+
this.b6();
|
|
3001
2906
|
return result;
|
|
3002
2907
|
};
|
|
3003
2908
|
function EntriesItr(map) {
|
|
3004
2909
|
Itr.call(this, map);
|
|
3005
2910
|
}
|
|
3006
2911
|
protoOf(EntriesItr).i = function () {
|
|
3007
|
-
this.
|
|
3008
|
-
if (this.
|
|
2912
|
+
this.c6();
|
|
2913
|
+
if (this.y5_1 >= this.x5_1.k5_1)
|
|
3009
2914
|
throw NoSuchElementException_init_$Create$();
|
|
3010
2915
|
var tmp = this;
|
|
3011
|
-
var _unary__edvuaz = this.
|
|
3012
|
-
this.
|
|
3013
|
-
tmp.
|
|
3014
|
-
var result = new EntryRef(this.
|
|
3015
|
-
this.
|
|
2916
|
+
var _unary__edvuaz = this.y5_1;
|
|
2917
|
+
this.y5_1 = _unary__edvuaz + 1 | 0;
|
|
2918
|
+
tmp.z5_1 = _unary__edvuaz;
|
|
2919
|
+
var result = new EntryRef(this.x5_1, this.z5_1);
|
|
2920
|
+
this.b6();
|
|
3016
2921
|
return result;
|
|
3017
2922
|
};
|
|
3018
|
-
protoOf(EntriesItr).
|
|
3019
|
-
if (this.
|
|
2923
|
+
protoOf(EntriesItr).l6 = function () {
|
|
2924
|
+
if (this.y5_1 >= this.x5_1.k5_1)
|
|
3020
2925
|
throw NoSuchElementException_init_$Create$();
|
|
3021
2926
|
var tmp = this;
|
|
3022
|
-
var _unary__edvuaz = this.
|
|
3023
|
-
this.
|
|
3024
|
-
tmp.
|
|
2927
|
+
var _unary__edvuaz = this.y5_1;
|
|
2928
|
+
this.y5_1 = _unary__edvuaz + 1 | 0;
|
|
2929
|
+
tmp.z5_1 = _unary__edvuaz;
|
|
3025
2930
|
// Inline function 'kotlin.hashCode' call
|
|
3026
|
-
var tmp0_safe_receiver = this.
|
|
2931
|
+
var tmp0_safe_receiver = this.x5_1.f5_1[this.z5_1];
|
|
3027
2932
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
3028
2933
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
3029
2934
|
// Inline function 'kotlin.hashCode' call
|
|
3030
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
2935
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.x5_1.g5_1)[this.z5_1];
|
|
3031
2936
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
3032
2937
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
3033
|
-
this.
|
|
2938
|
+
this.b6();
|
|
3034
2939
|
return result;
|
|
3035
2940
|
};
|
|
3036
|
-
protoOf(EntriesItr).
|
|
3037
|
-
if (this.
|
|
2941
|
+
protoOf(EntriesItr).m6 = function (sb) {
|
|
2942
|
+
if (this.y5_1 >= this.x5_1.k5_1)
|
|
3038
2943
|
throw NoSuchElementException_init_$Create$();
|
|
3039
2944
|
var tmp = this;
|
|
3040
|
-
var _unary__edvuaz = this.
|
|
3041
|
-
this.
|
|
3042
|
-
tmp.
|
|
3043
|
-
var key = this.
|
|
3044
|
-
if (equals(key, this.
|
|
3045
|
-
sb.
|
|
2945
|
+
var _unary__edvuaz = this.y5_1;
|
|
2946
|
+
this.y5_1 = _unary__edvuaz + 1 | 0;
|
|
2947
|
+
tmp.z5_1 = _unary__edvuaz;
|
|
2948
|
+
var key = this.x5_1.f5_1[this.z5_1];
|
|
2949
|
+
if (equals(key, this.x5_1))
|
|
2950
|
+
sb.p6('(this Map)');
|
|
3046
2951
|
else
|
|
3047
|
-
sb.
|
|
2952
|
+
sb.o6(key);
|
|
3048
2953
|
sb.f(_Char___init__impl__6a9atx(61));
|
|
3049
|
-
var value = ensureNotNull(this.
|
|
3050
|
-
if (equals(value, this.
|
|
3051
|
-
sb.
|
|
2954
|
+
var value = ensureNotNull(this.x5_1.g5_1)[this.z5_1];
|
|
2955
|
+
if (equals(value, this.x5_1))
|
|
2956
|
+
sb.p6('(this Map)');
|
|
3052
2957
|
else
|
|
3053
|
-
sb.
|
|
3054
|
-
this.
|
|
2958
|
+
sb.o6(value);
|
|
2959
|
+
this.b6();
|
|
3055
2960
|
};
|
|
3056
2961
|
function EntryRef(map, index) {
|
|
3057
|
-
this.
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
2962
|
+
this.p5_1 = map;
|
|
2963
|
+
this.q5_1 = index;
|
|
2964
|
+
this.r5_1 = this.p5_1.m5_1;
|
|
3060
2965
|
}
|
|
3061
2966
|
protoOf(EntryRef).u1 = function () {
|
|
3062
2967
|
checkForComodification(this);
|
|
3063
|
-
return this.
|
|
2968
|
+
return this.p5_1.f5_1[this.q5_1];
|
|
3064
2969
|
};
|
|
3065
2970
|
protoOf(EntryRef).v1 = function () {
|
|
3066
2971
|
checkForComodification(this);
|
|
3067
|
-
return ensureNotNull(this.
|
|
2972
|
+
return ensureNotNull(this.p5_1.g5_1)[this.q5_1];
|
|
3068
2973
|
};
|
|
3069
2974
|
protoOf(EntryRef).equals = function (other) {
|
|
3070
2975
|
var tmp;
|
|
@@ -3095,30 +3000,30 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3095
3000
|
return toString_0(this.u1()) + '=' + toString_0(this.v1());
|
|
3096
3001
|
};
|
|
3097
3002
|
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
3098
|
-
this.
|
|
3099
|
-
this.
|
|
3100
|
-
this.
|
|
3101
|
-
this.
|
|
3102
|
-
this.
|
|
3103
|
-
this.
|
|
3104
|
-
this.
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3107
|
-
this.
|
|
3003
|
+
this.f5_1 = keysArray;
|
|
3004
|
+
this.g5_1 = valuesArray;
|
|
3005
|
+
this.h5_1 = presenceArray;
|
|
3006
|
+
this.i5_1 = hashArray;
|
|
3007
|
+
this.j5_1 = maxProbeDistance;
|
|
3008
|
+
this.k5_1 = length;
|
|
3009
|
+
this.l5_1 = computeShift(Companion_instance_3, _get_hashSize__tftcho(this));
|
|
3010
|
+
this.m5_1 = 0;
|
|
3011
|
+
this.n5_1 = 0;
|
|
3012
|
+
this.o5_1 = false;
|
|
3108
3013
|
}
|
|
3109
3014
|
protoOf(InternalHashMap).j = function () {
|
|
3110
|
-
return this.
|
|
3015
|
+
return this.n5_1;
|
|
3111
3016
|
};
|
|
3112
3017
|
protoOf(InternalHashMap).x1 = function (key) {
|
|
3113
3018
|
var index = findKey(this, key);
|
|
3114
3019
|
if (index < 0)
|
|
3115
3020
|
return null;
|
|
3116
|
-
return ensureNotNull(this.
|
|
3021
|
+
return ensureNotNull(this.g5_1)[index];
|
|
3117
3022
|
};
|
|
3118
|
-
protoOf(InternalHashMap).
|
|
3023
|
+
protoOf(InternalHashMap).u4 = function (key) {
|
|
3119
3024
|
return findKey(this, key) >= 0;
|
|
3120
3025
|
};
|
|
3121
|
-
protoOf(InternalHashMap).
|
|
3026
|
+
protoOf(InternalHashMap).f4 = function (key, value) {
|
|
3122
3027
|
var index = addKey(this, key);
|
|
3123
3028
|
var valuesArray = allocateValuesArray(this);
|
|
3124
3029
|
if (index < 0) {
|
|
@@ -3147,44 +3052,44 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3147
3052
|
};
|
|
3148
3053
|
protoOf(InternalHashMap).hashCode = function () {
|
|
3149
3054
|
var result = 0;
|
|
3150
|
-
var it = this.
|
|
3055
|
+
var it = this.x4();
|
|
3151
3056
|
while (it.h()) {
|
|
3152
|
-
result = result + it.
|
|
3057
|
+
result = result + it.l6() | 0;
|
|
3153
3058
|
}
|
|
3154
3059
|
return result;
|
|
3155
3060
|
};
|
|
3156
3061
|
protoOf(InternalHashMap).toString = function () {
|
|
3157
|
-
var sb = StringBuilder_init_$Create$(2 + imul(this.
|
|
3158
|
-
sb.
|
|
3062
|
+
var sb = StringBuilder_init_$Create$(2 + imul(this.n5_1, 3) | 0);
|
|
3063
|
+
sb.p6('{');
|
|
3159
3064
|
var i = 0;
|
|
3160
|
-
var it = this.
|
|
3065
|
+
var it = this.x4();
|
|
3161
3066
|
while (it.h()) {
|
|
3162
3067
|
if (i > 0) {
|
|
3163
|
-
sb.
|
|
3068
|
+
sb.p6(', ');
|
|
3164
3069
|
}
|
|
3165
|
-
it.
|
|
3070
|
+
it.m6(sb);
|
|
3166
3071
|
i = i + 1 | 0;
|
|
3167
3072
|
}
|
|
3168
|
-
sb.
|
|
3073
|
+
sb.p6('}');
|
|
3169
3074
|
return sb.toString();
|
|
3170
3075
|
};
|
|
3171
|
-
protoOf(InternalHashMap).
|
|
3172
|
-
if (this.
|
|
3076
|
+
protoOf(InternalHashMap).c5 = function () {
|
|
3077
|
+
if (this.o5_1)
|
|
3173
3078
|
throw UnsupportedOperationException_init_$Create$();
|
|
3174
3079
|
};
|
|
3175
|
-
protoOf(InternalHashMap).
|
|
3080
|
+
protoOf(InternalHashMap).a5 = function (entry) {
|
|
3176
3081
|
var index = findKey(this, entry.u1());
|
|
3177
3082
|
if (index < 0)
|
|
3178
3083
|
return false;
|
|
3179
|
-
return equals(ensureNotNull(this.
|
|
3084
|
+
return equals(ensureNotNull(this.g5_1)[index], entry.v1());
|
|
3180
3085
|
};
|
|
3181
|
-
protoOf(InternalHashMap).
|
|
3182
|
-
return this.
|
|
3086
|
+
protoOf(InternalHashMap).q6 = function (entry) {
|
|
3087
|
+
return this.a5(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
3183
3088
|
};
|
|
3184
|
-
protoOf(InternalHashMap).
|
|
3089
|
+
protoOf(InternalHashMap).e5 = function () {
|
|
3185
3090
|
return new KeysItr(this);
|
|
3186
3091
|
};
|
|
3187
|
-
protoOf(InternalHashMap).
|
|
3092
|
+
protoOf(InternalHashMap).x4 = function () {
|
|
3188
3093
|
return new EntriesItr(this);
|
|
3189
3094
|
};
|
|
3190
3095
|
function InternalMap() {
|
|
@@ -3227,8 +3132,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3227
3132
|
function LinkedHashSet_init_$Create$_0(initialCapacity) {
|
|
3228
3133
|
return LinkedHashSet_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
|
|
3229
3134
|
}
|
|
3230
|
-
protoOf(LinkedHashSet).
|
|
3231
|
-
return this.
|
|
3135
|
+
protoOf(LinkedHashSet).j3 = function () {
|
|
3136
|
+
return this.d5_1.c5();
|
|
3232
3137
|
};
|
|
3233
3138
|
function LinkedHashSet() {
|
|
3234
3139
|
}
|
|
@@ -3239,27 +3144,27 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3239
3144
|
var output;
|
|
3240
3145
|
function BaseOutput() {
|
|
3241
3146
|
}
|
|
3242
|
-
protoOf(BaseOutput).
|
|
3243
|
-
this.
|
|
3147
|
+
protoOf(BaseOutput).s6 = function () {
|
|
3148
|
+
this.t6('\n');
|
|
3244
3149
|
};
|
|
3245
|
-
protoOf(BaseOutput).
|
|
3246
|
-
this.
|
|
3247
|
-
this.
|
|
3150
|
+
protoOf(BaseOutput).u6 = function (message) {
|
|
3151
|
+
this.t6(message);
|
|
3152
|
+
this.s6();
|
|
3248
3153
|
};
|
|
3249
3154
|
function NodeJsOutput(outputStream) {
|
|
3250
3155
|
BaseOutput.call(this);
|
|
3251
|
-
this.
|
|
3156
|
+
this.v6_1 = outputStream;
|
|
3252
3157
|
}
|
|
3253
|
-
protoOf(NodeJsOutput).
|
|
3158
|
+
protoOf(NodeJsOutput).t6 = function (message) {
|
|
3254
3159
|
// Inline function 'kotlin.io.String' call
|
|
3255
3160
|
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3256
3161
|
var messageString = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3257
|
-
this.
|
|
3162
|
+
this.v6_1.write(messageString);
|
|
3258
3163
|
};
|
|
3259
3164
|
function BufferedOutputToConsoleLog() {
|
|
3260
3165
|
BufferedOutput.call(this);
|
|
3261
3166
|
}
|
|
3262
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
3167
|
+
protoOf(BufferedOutputToConsoleLog).t6 = function (message) {
|
|
3263
3168
|
// Inline function 'kotlin.io.String' call
|
|
3264
3169
|
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3265
3170
|
var s = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
@@ -3267,45 +3172,36 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3267
3172
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3268
3173
|
var i = s.lastIndexOf('\n', 0);
|
|
3269
3174
|
if (i >= 0) {
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3274
|
-
tmp.z6_1 = tmp_0 + s.substring(0, i);
|
|
3275
|
-
this.a7();
|
|
3276
|
-
var tmp6 = s;
|
|
3277
|
-
// Inline function 'kotlin.text.substring' call
|
|
3278
|
-
var startIndex = i + 1 | 0;
|
|
3279
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3280
|
-
s = tmp6.substring(startIndex);
|
|
3175
|
+
this.x6_1 = this.x6_1 + substring(s, 0, i);
|
|
3176
|
+
this.y6();
|
|
3177
|
+
s = substring_0(s, i + 1 | 0);
|
|
3281
3178
|
}
|
|
3282
|
-
this.
|
|
3179
|
+
this.x6_1 = this.x6_1 + s;
|
|
3283
3180
|
};
|
|
3284
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
3285
|
-
console.log(this.
|
|
3286
|
-
this.
|
|
3181
|
+
protoOf(BufferedOutputToConsoleLog).y6 = function () {
|
|
3182
|
+
console.log(this.x6_1);
|
|
3183
|
+
this.x6_1 = '';
|
|
3287
3184
|
};
|
|
3288
3185
|
function BufferedOutput() {
|
|
3289
3186
|
BaseOutput.call(this);
|
|
3290
|
-
this.
|
|
3187
|
+
this.x6_1 = '';
|
|
3291
3188
|
}
|
|
3292
|
-
protoOf(BufferedOutput).
|
|
3189
|
+
protoOf(BufferedOutput).t6 = function (message) {
|
|
3293
3190
|
var tmp = this;
|
|
3294
|
-
var tmp_0 = this.
|
|
3191
|
+
var tmp_0 = this.x6_1;
|
|
3295
3192
|
// Inline function 'kotlin.io.String' call
|
|
3296
3193
|
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
3297
|
-
tmp.
|
|
3194
|
+
tmp.x6_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
|
|
3298
3195
|
};
|
|
3299
3196
|
function println(message) {
|
|
3300
3197
|
_init_properties_console_kt__rfg7jv();
|
|
3301
|
-
get_output().
|
|
3198
|
+
get_output().u6(message);
|
|
3302
3199
|
}
|
|
3303
3200
|
var properties_initialized_console_kt_gll9dl;
|
|
3304
3201
|
function _init_properties_console_kt__rfg7jv() {
|
|
3305
3202
|
if (!properties_initialized_console_kt_gll9dl) {
|
|
3306
3203
|
properties_initialized_console_kt_gll9dl = true;
|
|
3307
3204
|
// Inline function 'kotlin.run' call
|
|
3308
|
-
// Inline function 'kotlin.io.output.<anonymous>' call
|
|
3309
3205
|
var isNode = typeof process !== 'undefined' && process.versions && !!process.versions.node;
|
|
3310
3206
|
output = isNode ? new NodeJsOutput(process.stdout) : new BufferedOutputToConsoleLog();
|
|
3311
3207
|
}
|
|
@@ -3686,15 +3582,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3686
3582
|
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
3687
3583
|
}
|
|
3688
3584
|
function StringBuilder(content) {
|
|
3689
|
-
this.
|
|
3585
|
+
this.n6_1 = content;
|
|
3690
3586
|
}
|
|
3691
3587
|
protoOf(StringBuilder).a = function () {
|
|
3692
3588
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3693
|
-
return this.
|
|
3589
|
+
return this.n6_1.length;
|
|
3694
3590
|
};
|
|
3695
3591
|
protoOf(StringBuilder).b = function (index) {
|
|
3696
3592
|
// Inline function 'kotlin.text.getOrElse' call
|
|
3697
|
-
var this_0 = this.
|
|
3593
|
+
var this_0 = this.n6_1;
|
|
3698
3594
|
var tmp;
|
|
3699
3595
|
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
|
|
3700
3596
|
tmp = charSequenceGet(this_0, index);
|
|
@@ -3704,49 +3600,43 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3704
3600
|
return tmp;
|
|
3705
3601
|
};
|
|
3706
3602
|
protoOf(StringBuilder).c = function (startIndex, endIndex) {
|
|
3707
|
-
|
|
3708
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3709
|
-
return this.p6_1.substring(startIndex, endIndex);
|
|
3603
|
+
return substring(this.n6_1, startIndex, endIndex);
|
|
3710
3604
|
};
|
|
3711
3605
|
protoOf(StringBuilder).f = function (value) {
|
|
3712
|
-
this.
|
|
3606
|
+
this.n6_1 = this.n6_1 + toString(value);
|
|
3713
3607
|
return this;
|
|
3714
3608
|
};
|
|
3715
3609
|
protoOf(StringBuilder).e = function (value) {
|
|
3716
|
-
this.
|
|
3610
|
+
this.n6_1 = this.n6_1 + toString_0(value);
|
|
3717
3611
|
return this;
|
|
3718
3612
|
};
|
|
3719
|
-
protoOf(StringBuilder).
|
|
3720
|
-
return this.
|
|
3613
|
+
protoOf(StringBuilder).b7 = function (value, startIndex, endIndex) {
|
|
3614
|
+
return this.c7(value == null ? 'null' : value, startIndex, endIndex);
|
|
3721
3615
|
};
|
|
3722
|
-
protoOf(StringBuilder).
|
|
3723
|
-
this.
|
|
3616
|
+
protoOf(StringBuilder).o6 = function (value) {
|
|
3617
|
+
this.n6_1 = this.n6_1 + toString_0(value);
|
|
3724
3618
|
return this;
|
|
3725
3619
|
};
|
|
3726
|
-
protoOf(StringBuilder).
|
|
3727
|
-
this.
|
|
3620
|
+
protoOf(StringBuilder).d7 = function (value) {
|
|
3621
|
+
this.n6_1 = this.n6_1 + value;
|
|
3728
3622
|
return this;
|
|
3729
3623
|
};
|
|
3730
|
-
protoOf(StringBuilder).
|
|
3731
|
-
return this.
|
|
3624
|
+
protoOf(StringBuilder).e7 = function (value) {
|
|
3625
|
+
return this.p6(value.toString());
|
|
3732
3626
|
};
|
|
3733
|
-
protoOf(StringBuilder).
|
|
3627
|
+
protoOf(StringBuilder).p6 = function (value) {
|
|
3734
3628
|
var tmp = this;
|
|
3735
|
-
var tmp_0 = this.
|
|
3736
|
-
tmp.
|
|
3629
|
+
var tmp_0 = this.n6_1;
|
|
3630
|
+
tmp.n6_1 = tmp_0 + (value == null ? 'null' : value);
|
|
3737
3631
|
return this;
|
|
3738
3632
|
};
|
|
3739
3633
|
protoOf(StringBuilder).toString = function () {
|
|
3740
|
-
return this.
|
|
3634
|
+
return this.n6_1;
|
|
3741
3635
|
};
|
|
3742
|
-
protoOf(StringBuilder).
|
|
3636
|
+
protoOf(StringBuilder).c7 = function (value, startIndex, endIndex) {
|
|
3743
3637
|
var stringCsq = toString_1(value);
|
|
3744
|
-
Companion_instance_5.
|
|
3745
|
-
|
|
3746
|
-
var tmp_0 = this.p6_1;
|
|
3747
|
-
// Inline function 'kotlin.text.substring' call
|
|
3748
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3749
|
-
tmp.p6_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
|
|
3638
|
+
Companion_instance_5.f7(startIndex, endIndex, stringCsq.length);
|
|
3639
|
+
this.n6_1 = this.n6_1 + substring(stringCsq, startIndex, endIndex);
|
|
3750
3640
|
return this;
|
|
3751
3641
|
};
|
|
3752
3642
|
function uppercaseChar(_this__u8e3s4) {
|
|
@@ -3754,7 +3644,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3754
3644
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3755
3645
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3756
3646
|
var uppercase = toString(_this__u8e3s4).toUpperCase();
|
|
3757
|
-
return uppercase.length > 1 ? _this__u8e3s4 :
|
|
3647
|
+
return uppercase.length > 1 ? _this__u8e3s4 : charCodeAt(uppercase, 0);
|
|
3758
3648
|
}
|
|
3759
3649
|
function isWhitespace(_this__u8e3s4) {
|
|
3760
3650
|
return isWhitespaceImpl(_this__u8e3s4);
|
|
@@ -3793,7 +3683,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3793
3683
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3794
3684
|
// Inline function 'kotlin.also' call
|
|
3795
3685
|
var this_0 = +_this__u8e3s4;
|
|
3796
|
-
// Inline function 'kotlin.text.toDouble.<anonymous>' call
|
|
3797
3686
|
if (isNaN_0(this_0) && !isNaN_2(_this__u8e3s4) || (this_0 === 0.0 && isBlank(_this__u8e3s4))) {
|
|
3798
3687
|
numberFormatError(_this__u8e3s4);
|
|
3799
3688
|
}
|
|
@@ -3811,7 +3700,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3811
3700
|
}
|
|
3812
3701
|
function digitOf(char, radix) {
|
|
3813
3702
|
// Inline function 'kotlin.let' call
|
|
3814
|
-
// Inline function 'kotlin.text.digitOf.<anonymous>' call
|
|
3815
3703
|
var it = Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char);
|
|
3816
3704
|
return it >= radix ? -1 : it;
|
|
3817
3705
|
}
|
|
@@ -3836,19 +3724,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3836
3724
|
}
|
|
3837
3725
|
function Companion_4() {
|
|
3838
3726
|
Companion_instance_4 = this;
|
|
3839
|
-
this.
|
|
3840
|
-
this.
|
|
3841
|
-
this.
|
|
3727
|
+
this.g7_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
3728
|
+
this.h7_1 = new RegExp('[\\\\$]', 'g');
|
|
3729
|
+
this.i7_1 = new RegExp('\\$', 'g');
|
|
3842
3730
|
}
|
|
3843
|
-
protoOf(Companion_4).
|
|
3731
|
+
protoOf(Companion_4).j7 = function (literal) {
|
|
3844
3732
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3845
|
-
var pattern = this.
|
|
3733
|
+
var pattern = this.g7_1;
|
|
3846
3734
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3847
3735
|
return literal.replace(pattern, '\\$&');
|
|
3848
3736
|
};
|
|
3849
|
-
protoOf(Companion_4).
|
|
3737
|
+
protoOf(Companion_4).k7 = function (literal) {
|
|
3850
3738
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3851
|
-
var pattern = this.
|
|
3739
|
+
var pattern = this.i7_1;
|
|
3852
3740
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3853
3741
|
return literal.replace(pattern, '$$$$');
|
|
3854
3742
|
};
|
|
@@ -3860,7 +3748,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3860
3748
|
}
|
|
3861
3749
|
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
3862
3750
|
return function () {
|
|
3863
|
-
return this$0.
|
|
3751
|
+
return this$0.q7($input, $startIndex);
|
|
3864
3752
|
};
|
|
3865
3753
|
}
|
|
3866
3754
|
function Regex$findAll$lambda_0(match) {
|
|
@@ -3873,50 +3761,50 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3873
3761
|
}
|
|
3874
3762
|
function Regex(pattern, options) {
|
|
3875
3763
|
Companion_getInstance_4();
|
|
3876
|
-
this.
|
|
3877
|
-
this.
|
|
3878
|
-
this.
|
|
3879
|
-
this.
|
|
3880
|
-
this.
|
|
3881
|
-
}
|
|
3882
|
-
protoOf(Regex).
|
|
3883
|
-
reset(this.
|
|
3884
|
-
var match = this.
|
|
3885
|
-
return !(match == null) && match.index === 0 && this.
|
|
3886
|
-
};
|
|
3887
|
-
protoOf(Regex).
|
|
3764
|
+
this.l7_1 = pattern;
|
|
3765
|
+
this.m7_1 = toSet(options);
|
|
3766
|
+
this.n7_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
3767
|
+
this.o7_1 = null;
|
|
3768
|
+
this.p7_1 = null;
|
|
3769
|
+
}
|
|
3770
|
+
protoOf(Regex).r7 = function (input) {
|
|
3771
|
+
reset(this.n7_1);
|
|
3772
|
+
var match = this.n7_1.exec(toString_1(input));
|
|
3773
|
+
return !(match == null) && match.index === 0 && this.n7_1.lastIndex === charSequenceLength(input);
|
|
3774
|
+
};
|
|
3775
|
+
protoOf(Regex).q7 = function (input, startIndex) {
|
|
3888
3776
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3889
3777
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3890
3778
|
}
|
|
3891
|
-
return findNext(this.
|
|
3779
|
+
return findNext(this.n7_1, toString_1(input), startIndex, this.n7_1);
|
|
3892
3780
|
};
|
|
3893
|
-
protoOf(Regex).
|
|
3781
|
+
protoOf(Regex).s7 = function (input, startIndex, $super) {
|
|
3894
3782
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3895
|
-
return $super === VOID ? this.
|
|
3783
|
+
return $super === VOID ? this.q7(input, startIndex) : $super.q7.call(this, input, startIndex);
|
|
3896
3784
|
};
|
|
3897
|
-
protoOf(Regex).
|
|
3785
|
+
protoOf(Regex).t7 = function (input, startIndex) {
|
|
3898
3786
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3899
3787
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3900
3788
|
}
|
|
3901
3789
|
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
3902
3790
|
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
3903
3791
|
};
|
|
3904
|
-
protoOf(Regex).
|
|
3792
|
+
protoOf(Regex).u7 = function (input, startIndex, $super) {
|
|
3905
3793
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3906
|
-
return $super === VOID ? this.
|
|
3794
|
+
return $super === VOID ? this.t7(input, startIndex) : $super.t7.call(this, input, startIndex);
|
|
3907
3795
|
};
|
|
3908
|
-
protoOf(Regex).
|
|
3909
|
-
if (!
|
|
3796
|
+
protoOf(Regex).v7 = function (input, replacement) {
|
|
3797
|
+
if (!contains_3(replacement, _Char___init__impl__6a9atx(92)) && !contains_3(replacement, _Char___init__impl__6a9atx(36))) {
|
|
3910
3798
|
var tmp0 = toString_1(input);
|
|
3911
3799
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3912
|
-
var pattern = this.
|
|
3800
|
+
var pattern = this.n7_1;
|
|
3913
3801
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3914
3802
|
return tmp0.replace(pattern, replacement);
|
|
3915
3803
|
}
|
|
3916
|
-
return this.
|
|
3804
|
+
return this.w7(input, Regex$replace$lambda(replacement));
|
|
3917
3805
|
};
|
|
3918
|
-
protoOf(Regex).
|
|
3919
|
-
var match = this.
|
|
3806
|
+
protoOf(Regex).w7 = function (input, transform) {
|
|
3807
|
+
var match = this.s7(input);
|
|
3920
3808
|
if (match == null)
|
|
3921
3809
|
return toString_1(input);
|
|
3922
3810
|
var lastStart = 0;
|
|
@@ -3924,19 +3812,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3924
3812
|
var sb = StringBuilder_init_$Create$(length);
|
|
3925
3813
|
do {
|
|
3926
3814
|
var foundMatch = ensureNotNull(match);
|
|
3927
|
-
sb.
|
|
3815
|
+
sb.b7(input, lastStart, foundMatch.x7().y7());
|
|
3928
3816
|
sb.e(transform(foundMatch));
|
|
3929
|
-
lastStart = foundMatch.
|
|
3817
|
+
lastStart = foundMatch.x7().z7() + 1 | 0;
|
|
3930
3818
|
match = foundMatch.i();
|
|
3931
3819
|
}
|
|
3932
3820
|
while (lastStart < length && !(match == null));
|
|
3933
3821
|
if (lastStart < length) {
|
|
3934
|
-
sb.
|
|
3822
|
+
sb.b7(input, lastStart, length);
|
|
3935
3823
|
}
|
|
3936
3824
|
return sb.toString();
|
|
3937
3825
|
};
|
|
3938
3826
|
protoOf(Regex).toString = function () {
|
|
3939
|
-
return this.
|
|
3827
|
+
return this.n7_1.toString();
|
|
3940
3828
|
};
|
|
3941
3829
|
function toFlags(_this__u8e3s4, prepend) {
|
|
3942
3830
|
return joinToString_1(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
@@ -3955,47 +3843,40 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
3955
3843
|
while (index < replacement.length) {
|
|
3956
3844
|
var _unary__edvuaz = index;
|
|
3957
3845
|
index = _unary__edvuaz + 1 | 0;
|
|
3958
|
-
var char =
|
|
3846
|
+
var char = charCodeAt(replacement, _unary__edvuaz);
|
|
3959
3847
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3960
3848
|
if (index === replacement.length)
|
|
3961
3849
|
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
|
|
3962
3850
|
var _unary__edvuaz_0 = index;
|
|
3963
3851
|
index = _unary__edvuaz_0 + 1 | 0;
|
|
3964
|
-
result.f(
|
|
3852
|
+
result.f(charCodeAt(replacement, _unary__edvuaz_0));
|
|
3965
3853
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
3966
3854
|
if (index === replacement.length)
|
|
3967
3855
|
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
|
|
3968
|
-
if (
|
|
3856
|
+
if (charCodeAt(replacement, index) === _Char___init__impl__6a9atx(123)) {
|
|
3969
3857
|
index = index + 1 | 0;
|
|
3970
3858
|
var endIndex = readGroupName(replacement, index);
|
|
3971
3859
|
if (index === endIndex)
|
|
3972
3860
|
throw IllegalArgumentException_init_$Create$_0('Named capturing group reference should have a non-empty name');
|
|
3973
|
-
if (endIndex === replacement.length || !(
|
|
3861
|
+
if (endIndex === replacement.length || !(charCodeAt(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
|
|
3974
3862
|
throw IllegalArgumentException_init_$Create$_0("Named capturing group reference is missing trailing '}'");
|
|
3975
|
-
|
|
3976
|
-
var
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
var tmp0_safe_receiver = get(match.c8(), groupName);
|
|
3980
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d8_1;
|
|
3981
|
-
result.r6(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
3863
|
+
var groupName = substring(replacement, index, endIndex);
|
|
3864
|
+
var tmp0_safe_receiver = get(match.a8(), groupName);
|
|
3865
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b8_1;
|
|
3866
|
+
result.p6(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
3982
3867
|
index = endIndex + 1 | 0;
|
|
3983
3868
|
} else {
|
|
3984
|
-
var containsArg =
|
|
3869
|
+
var containsArg = charCodeAt(replacement, index);
|
|
3985
3870
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
3986
3871
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
3987
|
-
var groups = match.
|
|
3872
|
+
var groups = match.a8();
|
|
3988
3873
|
var endIndex_0 = readGroupIndex(replacement, index, groups.j());
|
|
3989
|
-
|
|
3990
|
-
var startIndex_0 = index;
|
|
3991
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3992
|
-
var tmp$ret$3 = replacement.substring(startIndex_0, endIndex_0);
|
|
3993
|
-
var groupIndex = toInt_0(tmp$ret$3);
|
|
3874
|
+
var groupIndex = toInt_0(substring(replacement, index, endIndex_0));
|
|
3994
3875
|
if (groupIndex >= groups.j())
|
|
3995
3876
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
3996
3877
|
var tmp2_safe_receiver = groups.k(groupIndex);
|
|
3997
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3998
|
-
result.
|
|
3878
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.b8_1;
|
|
3879
|
+
result.p6(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
3999
3880
|
index = endIndex_0;
|
|
4000
3881
|
}
|
|
4001
3882
|
} else {
|
|
@@ -4005,13 +3886,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4005
3886
|
return result.toString();
|
|
4006
3887
|
}
|
|
4007
3888
|
function MatchGroup(value) {
|
|
4008
|
-
this.
|
|
3889
|
+
this.b8_1 = value;
|
|
4009
3890
|
}
|
|
4010
3891
|
protoOf(MatchGroup).toString = function () {
|
|
4011
|
-
return 'MatchGroup(value=' + this.
|
|
3892
|
+
return 'MatchGroup(value=' + this.b8_1 + ')';
|
|
4012
3893
|
};
|
|
4013
3894
|
protoOf(MatchGroup).hashCode = function () {
|
|
4014
|
-
return getStringHashCode(this.
|
|
3895
|
+
return getStringHashCode(this.b8_1);
|
|
4015
3896
|
};
|
|
4016
3897
|
protoOf(MatchGroup).equals = function (other) {
|
|
4017
3898
|
if (this === other)
|
|
@@ -4019,14 +3900,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4019
3900
|
if (!(other instanceof MatchGroup))
|
|
4020
3901
|
return false;
|
|
4021
3902
|
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
|
|
4022
|
-
if (!(this.
|
|
3903
|
+
if (!(this.b8_1 === tmp0_other_with_cast.b8_1))
|
|
4023
3904
|
return false;
|
|
4024
3905
|
return true;
|
|
4025
3906
|
};
|
|
4026
3907
|
function readGroupName(_this__u8e3s4, startIndex) {
|
|
4027
3908
|
var index = startIndex;
|
|
4028
3909
|
$l$loop: while (index < _this__u8e3s4.length) {
|
|
4029
|
-
if (
|
|
3910
|
+
if (charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(125)) {
|
|
4030
3911
|
break $l$loop;
|
|
4031
3912
|
} else {
|
|
4032
3913
|
index = index + 1 | 0;
|
|
@@ -4043,15 +3924,15 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4043
3924
|
tmp = tmp0_elvis_lhs;
|
|
4044
3925
|
}
|
|
4045
3926
|
var namedGroups = tmp;
|
|
4046
|
-
return namedGroups.
|
|
3927
|
+
return namedGroups.c8(name);
|
|
4047
3928
|
}
|
|
4048
3929
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
4049
3930
|
var index = startIndex + 1 | 0;
|
|
4050
|
-
var groupIndex = Char__minus_impl_a2frrh(
|
|
3931
|
+
var groupIndex = Char__minus_impl_a2frrh(charCodeAt(_this__u8e3s4, startIndex), _Char___init__impl__6a9atx(48));
|
|
4051
3932
|
$l$loop_0: while (true) {
|
|
4052
3933
|
var tmp;
|
|
4053
3934
|
if (index < _this__u8e3s4.length) {
|
|
4054
|
-
var containsArg =
|
|
3935
|
+
var containsArg = charCodeAt(_this__u8e3s4, index);
|
|
4055
3936
|
tmp = _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
|
|
4056
3937
|
} else {
|
|
4057
3938
|
tmp = false;
|
|
@@ -4059,7 +3940,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4059
3940
|
if (!tmp) {
|
|
4060
3941
|
break $l$loop_0;
|
|
4061
3942
|
}
|
|
4062
|
-
var newGroupIndex = imul(groupIndex, 10) + Char__minus_impl_a2frrh(
|
|
3943
|
+
var newGroupIndex = imul(groupIndex, 10) + Char__minus_impl_a2frrh(charCodeAt(_this__u8e3s4, index), _Char___init__impl__6a9atx(48)) | 0;
|
|
4063
3944
|
if (0 <= newGroupIndex ? newGroupIndex < groupCount : false) {
|
|
4064
3945
|
groupIndex = newGroupIndex;
|
|
4065
3946
|
index = index + 1 | 0;
|
|
@@ -4070,7 +3951,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4070
3951
|
return index;
|
|
4071
3952
|
}
|
|
4072
3953
|
function toFlags$lambda(it) {
|
|
4073
|
-
return it.
|
|
3954
|
+
return it.f8_1;
|
|
4074
3955
|
}
|
|
4075
3956
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
4076
3957
|
return function (it) {
|
|
@@ -4082,14 +3963,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4082
3963
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
4083
3964
|
}
|
|
4084
3965
|
function advanceToNextCharacter($this, index) {
|
|
4085
|
-
if (index < get_lastIndex_1($this.
|
|
3966
|
+
if (index < get_lastIndex_1($this.o8_1)) {
|
|
4086
3967
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4087
3968
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4088
|
-
var code1 = $this.
|
|
3969
|
+
var code1 = $this.o8_1.charCodeAt(index);
|
|
4089
3970
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
4090
3971
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4091
3972
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4092
|
-
var code2 = $this.
|
|
3973
|
+
var code2 = $this.o8_1.charCodeAt(index + 1 | 0);
|
|
4093
3974
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
4094
3975
|
return index + 2 | 0;
|
|
4095
3976
|
}
|
|
@@ -4098,12 +3979,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4098
3979
|
return index + 1 | 0;
|
|
4099
3980
|
}
|
|
4100
3981
|
function findNext$1$groups$1($match, this$0) {
|
|
4101
|
-
this.
|
|
4102
|
-
this.
|
|
3982
|
+
this.g8_1 = $match;
|
|
3983
|
+
this.h8_1 = this$0;
|
|
4103
3984
|
AbstractCollection.call(this);
|
|
4104
3985
|
}
|
|
4105
3986
|
protoOf(findNext$1$groups$1).j = function () {
|
|
4106
|
-
return this.
|
|
3987
|
+
return this.g8_1.length;
|
|
4107
3988
|
};
|
|
4108
3989
|
protoOf(findNext$1$groups$1).g = function () {
|
|
4109
3990
|
var tmp = asSequence(get_indices(this));
|
|
@@ -4112,20 +3993,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4112
3993
|
protoOf(findNext$1$groups$1).k = function (index) {
|
|
4113
3994
|
// Inline function 'kotlin.js.get' call
|
|
4114
3995
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4115
|
-
var tmp0_safe_receiver = this.
|
|
3996
|
+
var tmp0_safe_receiver = this.g8_1[index];
|
|
4116
3997
|
var tmp;
|
|
4117
3998
|
if (tmp0_safe_receiver == null) {
|
|
4118
3999
|
tmp = null;
|
|
4119
4000
|
} else {
|
|
4120
4001
|
// Inline function 'kotlin.let' call
|
|
4121
|
-
// Inline function 'kotlin.text.<no name provided>.get.<anonymous>' call
|
|
4122
4002
|
tmp = new MatchGroup(tmp0_safe_receiver);
|
|
4123
4003
|
}
|
|
4124
4004
|
return tmp;
|
|
4125
4005
|
};
|
|
4126
|
-
protoOf(findNext$1$groups$1).
|
|
4006
|
+
protoOf(findNext$1$groups$1).c8 = function (name) {
|
|
4127
4007
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4128
|
-
var tmp0_elvis_lhs = this.
|
|
4008
|
+
var tmp0_elvis_lhs = this.g8_1.groups;
|
|
4129
4009
|
var tmp;
|
|
4130
4010
|
if (tmp0_elvis_lhs == null) {
|
|
4131
4011
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
@@ -4133,7 +4013,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4133
4013
|
tmp = tmp0_elvis_lhs;
|
|
4134
4014
|
}
|
|
4135
4015
|
var groups = tmp;
|
|
4136
|
-
if (!hasOwnPrototypeProperty(this.
|
|
4016
|
+
if (!hasOwnPrototypeProperty(this.h8_1, groups, name))
|
|
4137
4017
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
|
|
4138
4018
|
var value = groups[name];
|
|
4139
4019
|
var tmp_0;
|
|
@@ -4145,31 +4025,41 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4145
4025
|
return tmp_0;
|
|
4146
4026
|
};
|
|
4147
4027
|
function findNext$1($range, $match, $nextPattern, $input) {
|
|
4148
|
-
this.
|
|
4149
|
-
this.
|
|
4150
|
-
this.
|
|
4151
|
-
this.
|
|
4152
|
-
this.
|
|
4028
|
+
this.l8_1 = $range;
|
|
4029
|
+
this.m8_1 = $match;
|
|
4030
|
+
this.n8_1 = $nextPattern;
|
|
4031
|
+
this.o8_1 = $input;
|
|
4032
|
+
this.i8_1 = $range;
|
|
4153
4033
|
var tmp = this;
|
|
4154
|
-
tmp.
|
|
4155
|
-
this.
|
|
4034
|
+
tmp.j8_1 = new findNext$1$groups$1($match, this);
|
|
4035
|
+
this.k8_1 = null;
|
|
4156
4036
|
}
|
|
4157
|
-
protoOf(findNext$1).
|
|
4158
|
-
return this.
|
|
4037
|
+
protoOf(findNext$1).x7 = function () {
|
|
4038
|
+
return this.i8_1;
|
|
4159
4039
|
};
|
|
4160
4040
|
protoOf(findNext$1).v1 = function () {
|
|
4161
4041
|
// Inline function 'kotlin.js.get' call
|
|
4162
4042
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4163
|
-
var tmp$ret$1 = this.
|
|
4043
|
+
var tmp$ret$1 = this.m8_1[0];
|
|
4164
4044
|
return ensureNotNull(tmp$ret$1);
|
|
4165
4045
|
};
|
|
4166
|
-
protoOf(findNext$1).
|
|
4167
|
-
return this.
|
|
4046
|
+
protoOf(findNext$1).a8 = function () {
|
|
4047
|
+
return this.j8_1;
|
|
4168
4048
|
};
|
|
4169
4049
|
protoOf(findNext$1).i = function () {
|
|
4170
|
-
return findNext(this.
|
|
4050
|
+
return findNext(this.n8_1, this.o8_1, this.l8_1.d1() ? advanceToNextCharacter(this, this.l8_1.y7()) : this.l8_1.z7() + 1 | 0, this.n8_1);
|
|
4171
4051
|
};
|
|
4172
4052
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
4053
|
+
function substring(_this__u8e3s4, startIndex, endIndex) {
|
|
4054
|
+
_init_properties_stringJs_kt__bg7zye();
|
|
4055
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4056
|
+
return _this__u8e3s4.substring(startIndex, endIndex);
|
|
4057
|
+
}
|
|
4058
|
+
function substring_0(_this__u8e3s4, startIndex) {
|
|
4059
|
+
_init_properties_stringJs_kt__bg7zye();
|
|
4060
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4061
|
+
return _this__u8e3s4.substring(startIndex);
|
|
4062
|
+
}
|
|
4173
4063
|
function compareTo_0(_this__u8e3s4, other, ignoreCase) {
|
|
4174
4064
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4175
4065
|
_init_properties_stringJs_kt__bg7zye();
|
|
@@ -4185,8 +4075,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4185
4075
|
do {
|
|
4186
4076
|
var index = inductionVariable;
|
|
4187
4077
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4188
|
-
var thisChar =
|
|
4189
|
-
var otherChar =
|
|
4078
|
+
var thisChar = charCodeAt(_this__u8e3s4, index);
|
|
4079
|
+
var otherChar = charCodeAt(other, index);
|
|
4190
4080
|
if (!(thisChar === otherChar)) {
|
|
4191
4081
|
thisChar = uppercaseChar(thisChar);
|
|
4192
4082
|
otherChar = uppercaseChar(otherChar);
|
|
@@ -4197,14 +4087,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4197
4087
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4198
4088
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4199
4089
|
var tmp$ret$3 = toString(this_0).toLowerCase();
|
|
4200
|
-
thisChar =
|
|
4090
|
+
thisChar = charCodeAt(tmp$ret$3, 0);
|
|
4201
4091
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
4202
4092
|
// Inline function 'kotlin.text.lowercase' call
|
|
4203
4093
|
var this_1 = otherChar;
|
|
4204
4094
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4205
4095
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4206
4096
|
var tmp$ret$7 = toString(this_1).toLowerCase();
|
|
4207
|
-
otherChar =
|
|
4097
|
+
otherChar = charCodeAt(tmp$ret$7, 0);
|
|
4208
4098
|
if (!(thisChar === otherChar)) {
|
|
4209
4099
|
return Char__compareTo_impl_ypi4mb(thisChar, otherChar);
|
|
4210
4100
|
}
|
|
@@ -4224,7 +4114,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4224
4114
|
var tmp_1 = charArray(tmp_0);
|
|
4225
4115
|
while (tmp < tmp_0) {
|
|
4226
4116
|
var tmp_2 = tmp;
|
|
4227
|
-
tmp_1[tmp_2] =
|
|
4117
|
+
tmp_1[tmp_2] = charCodeAt(_this__u8e3s4, tmp_2);
|
|
4228
4118
|
tmp = tmp + 1 | 0;
|
|
4229
4119
|
}
|
|
4230
4120
|
return tmp_1;
|
|
@@ -4238,16 +4128,16 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4238
4128
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
4239
4129
|
}
|
|
4240
4130
|
function sam$kotlin_Comparator$0(function_0) {
|
|
4241
|
-
this.
|
|
4131
|
+
this.p8_1 = function_0;
|
|
4242
4132
|
}
|
|
4243
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
4244
|
-
return this.
|
|
4133
|
+
protoOf(sam$kotlin_Comparator$0).q8 = function (a, b) {
|
|
4134
|
+
return this.p8_1(a, b);
|
|
4245
4135
|
};
|
|
4246
4136
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
4247
|
-
return this.
|
|
4137
|
+
return this.q8(a, b);
|
|
4248
4138
|
};
|
|
4249
4139
|
protoOf(sam$kotlin_Comparator$0).u2 = function () {
|
|
4250
|
-
return this.
|
|
4140
|
+
return this.p8_1;
|
|
4251
4141
|
};
|
|
4252
4142
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
4253
4143
|
var tmp;
|
|
@@ -4281,11 +4171,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4281
4171
|
}
|
|
4282
4172
|
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
4283
4173
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4284
|
-
var
|
|
4174
|
+
var tmp2 = new RegExp(Companion_getInstance_4().j7(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
4285
4175
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
4286
|
-
var replacement = Companion_getInstance_4().
|
|
4176
|
+
var replacement = Companion_getInstance_4().k7(newValue);
|
|
4287
4177
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4288
|
-
return _this__u8e3s4.replace(
|
|
4178
|
+
return _this__u8e3s4.replace(tmp2, replacement);
|
|
4289
4179
|
}
|
|
4290
4180
|
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
4291
4181
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -4301,7 +4191,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4301
4191
|
// Inline function 'kotlin.require' call
|
|
4302
4192
|
// Inline function 'kotlin.require' call
|
|
4303
4193
|
if (!(startIndex >= 0 && endIndex <= string.length && startIndex <= endIndex)) {
|
|
4304
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
4305
4194
|
var message = 'Failed requirement.';
|
|
4306
4195
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4307
4196
|
}
|
|
@@ -4312,7 +4201,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4312
4201
|
var _unary__edvuaz = charIndex;
|
|
4313
4202
|
charIndex = _unary__edvuaz + 1 | 0;
|
|
4314
4203
|
// Inline function 'kotlin.code' call
|
|
4315
|
-
var this_0 =
|
|
4204
|
+
var this_0 = charCodeAt(string, _unary__edvuaz);
|
|
4316
4205
|
var code = Char__toInt_impl_vasixd(this_0);
|
|
4317
4206
|
if (code < 128) {
|
|
4318
4207
|
var _unary__edvuaz_0 = byteIndex;
|
|
@@ -4371,7 +4260,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4371
4260
|
// Inline function 'kotlin.require' call
|
|
4372
4261
|
// Inline function 'kotlin.require' call
|
|
4373
4262
|
if (!(startIndex >= 0 && endIndex <= bytes.length && startIndex <= endIndex)) {
|
|
4374
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
4375
4263
|
var message = 'Failed requirement.';
|
|
4376
4264
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4377
4265
|
}
|
|
@@ -4426,7 +4314,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4426
4314
|
return malformed(0, index, throwOnMalformed);
|
|
4427
4315
|
}
|
|
4428
4316
|
// Inline function 'kotlin.code' call
|
|
4429
|
-
var this_0 =
|
|
4317
|
+
var this_0 = charCodeAt(string, index);
|
|
4430
4318
|
var low = Char__toInt_impl_vasixd(this_0);
|
|
4431
4319
|
if (!(56320 <= low ? low <= 57343 : false)) {
|
|
4432
4320
|
return malformed(0, index, throwOnMalformed);
|
|
@@ -4544,7 +4432,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4544
4432
|
var _iterator__ex2g4s = this.g();
|
|
4545
4433
|
while (_iterator__ex2g4s.h()) {
|
|
4546
4434
|
var element_0 = _iterator__ex2g4s.i();
|
|
4547
|
-
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
4548
4435
|
if (equals(element_0, element)) {
|
|
4549
4436
|
tmp$ret$0 = true;
|
|
4550
4437
|
break $l$block_0;
|
|
@@ -4571,7 +4458,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4571
4458
|
var _iterator__ex2g4s = elements.g();
|
|
4572
4459
|
while (_iterator__ex2g4s.h()) {
|
|
4573
4460
|
var element = _iterator__ex2g4s.i();
|
|
4574
|
-
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
4575
4461
|
if (!this.r1(element)) {
|
|
4576
4462
|
tmp$ret$0 = false;
|
|
4577
4463
|
break $l$block_0;
|
|
@@ -4591,19 +4477,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4591
4477
|
return collectionToArray(this);
|
|
4592
4478
|
};
|
|
4593
4479
|
function Companion_5() {
|
|
4594
|
-
this.
|
|
4480
|
+
this.c3_1 = 2147483639;
|
|
4595
4481
|
}
|
|
4596
|
-
protoOf(Companion_5).
|
|
4482
|
+
protoOf(Companion_5).m4 = function (index, size) {
|
|
4597
4483
|
if (index < 0 || index >= size) {
|
|
4598
4484
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4599
4485
|
}
|
|
4600
4486
|
};
|
|
4601
|
-
protoOf(Companion_5).
|
|
4487
|
+
protoOf(Companion_5).u3 = function (index, size) {
|
|
4602
4488
|
if (index < 0 || index > size) {
|
|
4603
4489
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4604
4490
|
}
|
|
4605
4491
|
};
|
|
4606
|
-
protoOf(Companion_5).
|
|
4492
|
+
protoOf(Companion_5).d3 = function (fromIndex, toIndex, size) {
|
|
4607
4493
|
if (fromIndex < 0 || toIndex > size) {
|
|
4608
4494
|
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
4609
4495
|
}
|
|
@@ -4611,7 +4497,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4611
4497
|
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
4612
4498
|
}
|
|
4613
4499
|
};
|
|
4614
|
-
protoOf(Companion_5).
|
|
4500
|
+
protoOf(Companion_5).f7 = function (startIndex, endIndex, size) {
|
|
4615
4501
|
if (startIndex < 0 || endIndex > size) {
|
|
4616
4502
|
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
4617
4503
|
}
|
|
@@ -4619,7 +4505,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4619
4505
|
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
4620
4506
|
}
|
|
4621
4507
|
};
|
|
4622
|
-
protoOf(Companion_5).
|
|
4508
|
+
protoOf(Companion_5).s5 = function (oldCapacity, minCapacity) {
|
|
4623
4509
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
4624
4510
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
4625
4511
|
newCapacity = minCapacity;
|
|
@@ -4627,7 +4513,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4627
4513
|
newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639;
|
|
4628
4514
|
return newCapacity;
|
|
4629
4515
|
};
|
|
4630
|
-
protoOf(Companion_5).
|
|
4516
|
+
protoOf(Companion_5).a4 = function (c) {
|
|
4631
4517
|
var hashCode_0 = 1;
|
|
4632
4518
|
var _iterator__ex2g4s = c.g();
|
|
4633
4519
|
while (_iterator__ex2g4s.h()) {
|
|
@@ -4638,7 +4524,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4638
4524
|
}
|
|
4639
4525
|
return hashCode_0;
|
|
4640
4526
|
};
|
|
4641
|
-
protoOf(Companion_5).
|
|
4527
|
+
protoOf(Companion_5).z3 = function (c, other) {
|
|
4642
4528
|
if (!(c.j() === other.j()))
|
|
4643
4529
|
return false;
|
|
4644
4530
|
var otherIterator = other.g();
|
|
@@ -4670,7 +4556,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4670
4556
|
var _iterator__ex2g4s = tmp0.g();
|
|
4671
4557
|
while (_iterator__ex2g4s.h()) {
|
|
4672
4558
|
var element = _iterator__ex2g4s.i();
|
|
4673
|
-
// Inline function 'kotlin.collections.AbstractMap.implFindEntry.<anonymous>' call
|
|
4674
4559
|
if (equals(element.u1(), key)) {
|
|
4675
4560
|
tmp$ret$1 = element;
|
|
4676
4561
|
break $l$block;
|
|
@@ -4692,13 +4577,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4692
4577
|
};
|
|
4693
4578
|
}
|
|
4694
4579
|
function AbstractMap() {
|
|
4695
|
-
this.
|
|
4696
|
-
this.
|
|
4580
|
+
this.g4_1 = null;
|
|
4581
|
+
this.h4_1 = null;
|
|
4697
4582
|
}
|
|
4698
4583
|
protoOf(AbstractMap).w1 = function (key) {
|
|
4699
4584
|
return !(implFindEntry(this, key) == null);
|
|
4700
4585
|
};
|
|
4701
|
-
protoOf(AbstractMap).
|
|
4586
|
+
protoOf(AbstractMap).i4 = function (entry) {
|
|
4702
4587
|
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
|
|
4703
4588
|
return false;
|
|
4704
4589
|
var key = entry.u1();
|
|
@@ -4744,8 +4629,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4744
4629
|
var _iterator__ex2g4s = tmp0.g();
|
|
4745
4630
|
while (_iterator__ex2g4s.h()) {
|
|
4746
4631
|
var element = _iterator__ex2g4s.i();
|
|
4747
|
-
|
|
4748
|
-
if (!this.k4(element)) {
|
|
4632
|
+
if (!this.i4(element)) {
|
|
4749
4633
|
tmp$ret$0 = false;
|
|
4750
4634
|
break $l$block_0;
|
|
4751
4635
|
}
|
|
@@ -4770,7 +4654,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4770
4654
|
};
|
|
4771
4655
|
function Companion_7() {
|
|
4772
4656
|
}
|
|
4773
|
-
protoOf(Companion_7).
|
|
4657
|
+
protoOf(Companion_7).k4 = function (c) {
|
|
4774
4658
|
var hashCode_0 = 0;
|
|
4775
4659
|
var _iterator__ex2g4s = c.g();
|
|
4776
4660
|
while (_iterator__ex2g4s.h()) {
|
|
@@ -4781,7 +4665,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4781
4665
|
}
|
|
4782
4666
|
return hashCode_0;
|
|
4783
4667
|
};
|
|
4784
|
-
protoOf(Companion_7).
|
|
4668
|
+
protoOf(Companion_7).j4 = function (c, other) {
|
|
4785
4669
|
if (!(c.j() === other.j()))
|
|
4786
4670
|
return false;
|
|
4787
4671
|
return c.t1(other);
|
|
@@ -4797,7 +4681,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4797
4681
|
}
|
|
4798
4682
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4799
4683
|
var size = collection.j();
|
|
4800
|
-
var destination =
|
|
4684
|
+
var destination = Array(size);
|
|
4801
4685
|
var iterator = collection.g();
|
|
4802
4686
|
var index = 0;
|
|
4803
4687
|
while (iterator.h()) {
|
|
@@ -4815,7 +4699,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4815
4699
|
}
|
|
4816
4700
|
function EmptyList() {
|
|
4817
4701
|
EmptyList_instance = this;
|
|
4818
|
-
this.
|
|
4702
|
+
this.r8_1 = new Long(-1478467534, -1720727600);
|
|
4819
4703
|
}
|
|
4820
4704
|
protoOf(EmptyList).equals = function (other) {
|
|
4821
4705
|
var tmp;
|
|
@@ -4841,7 +4725,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4841
4725
|
protoOf(EmptyList).k = function (index) {
|
|
4842
4726
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
4843
4727
|
};
|
|
4844
|
-
protoOf(EmptyList).
|
|
4728
|
+
protoOf(EmptyList).s8 = function (element) {
|
|
4845
4729
|
return -1;
|
|
4846
4730
|
};
|
|
4847
4731
|
protoOf(EmptyList).s1 = function (element) {
|
|
@@ -4853,7 +4737,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4853
4737
|
} else {
|
|
4854
4738
|
tmp = THROW_CCE();
|
|
4855
4739
|
}
|
|
4856
|
-
return this.
|
|
4740
|
+
return this.s8(tmp);
|
|
4857
4741
|
};
|
|
4858
4742
|
protoOf(EmptyList).g = function () {
|
|
4859
4743
|
return EmptyIterator_instance;
|
|
@@ -4864,20 +4748,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4864
4748
|
new EmptyList();
|
|
4865
4749
|
return EmptyList_instance;
|
|
4866
4750
|
}
|
|
4867
|
-
function ArrayAsCollection(values, isVarargs) {
|
|
4868
|
-
this.v8_1 = values;
|
|
4869
|
-
this.w8_1 = isVarargs;
|
|
4870
|
-
}
|
|
4871
|
-
protoOf(ArrayAsCollection).j = function () {
|
|
4872
|
-
return this.v8_1.length;
|
|
4873
|
-
};
|
|
4874
|
-
protoOf(ArrayAsCollection).d1 = function () {
|
|
4875
|
-
// Inline function 'kotlin.collections.isEmpty' call
|
|
4876
|
-
return this.v8_1.length === 0;
|
|
4877
|
-
};
|
|
4878
|
-
protoOf(ArrayAsCollection).g = function () {
|
|
4879
|
-
return arrayIterator(this.v8_1);
|
|
4880
|
-
};
|
|
4881
4751
|
function EmptyIterator() {
|
|
4882
4752
|
}
|
|
4883
4753
|
protoOf(EmptyIterator).h = function () {
|
|
@@ -4893,9 +4763,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4893
4763
|
function get_lastIndex_0(_this__u8e3s4) {
|
|
4894
4764
|
return _this__u8e3s4.j() - 1 | 0;
|
|
4895
4765
|
}
|
|
4896
|
-
function arrayListOf(elements) {
|
|
4897
|
-
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
4898
|
-
}
|
|
4899
4766
|
function throwIndexOverflow() {
|
|
4900
4767
|
throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
|
|
4901
4768
|
}
|
|
@@ -4922,13 +4789,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4922
4789
|
if (_this__u8e3s4.d1()) {
|
|
4923
4790
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
4924
4791
|
} else {
|
|
4925
|
-
tmp = _this__u8e3s4.
|
|
4792
|
+
tmp = _this__u8e3s4.p3(get_lastIndex_0(_this__u8e3s4));
|
|
4926
4793
|
}
|
|
4927
4794
|
return tmp;
|
|
4928
4795
|
}
|
|
4929
4796
|
function addAll(_this__u8e3s4, elements) {
|
|
4930
4797
|
if (isInterface(elements, Collection))
|
|
4931
|
-
return _this__u8e3s4.
|
|
4798
|
+
return _this__u8e3s4.i3(elements);
|
|
4932
4799
|
else {
|
|
4933
4800
|
var result = false;
|
|
4934
4801
|
var _iterator__ex2g4s = elements.g();
|
|
@@ -4943,72 +4810,72 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
4943
4810
|
function IntIterator() {
|
|
4944
4811
|
}
|
|
4945
4812
|
protoOf(IntIterator).i = function () {
|
|
4946
|
-
return this.
|
|
4813
|
+
return this.t8();
|
|
4947
4814
|
};
|
|
4948
4815
|
function CharIterator() {
|
|
4949
4816
|
}
|
|
4950
|
-
protoOf(CharIterator).
|
|
4951
|
-
return this.
|
|
4817
|
+
protoOf(CharIterator).u8 = function () {
|
|
4818
|
+
return this.v8();
|
|
4952
4819
|
};
|
|
4953
4820
|
protoOf(CharIterator).i = function () {
|
|
4954
|
-
return new Char(this.
|
|
4821
|
+
return new Char(this.u8());
|
|
4955
4822
|
};
|
|
4956
4823
|
function generateSequence(seedFunction, nextFunction) {
|
|
4957
4824
|
return new GeneratorSequence(seedFunction, nextFunction);
|
|
4958
4825
|
}
|
|
4959
4826
|
function TransformingSequence$iterator$1(this$0) {
|
|
4960
|
-
this.
|
|
4961
|
-
this.
|
|
4827
|
+
this.x8_1 = this$0;
|
|
4828
|
+
this.w8_1 = this$0.y8_1.g();
|
|
4962
4829
|
}
|
|
4963
4830
|
protoOf(TransformingSequence$iterator$1).i = function () {
|
|
4964
|
-
return this.
|
|
4831
|
+
return this.x8_1.z8_1(this.w8_1.i());
|
|
4965
4832
|
};
|
|
4966
4833
|
protoOf(TransformingSequence$iterator$1).h = function () {
|
|
4967
|
-
return this.
|
|
4834
|
+
return this.w8_1.h();
|
|
4968
4835
|
};
|
|
4969
4836
|
function TransformingSequence(sequence, transformer) {
|
|
4970
|
-
this.
|
|
4971
|
-
this.
|
|
4837
|
+
this.y8_1 = sequence;
|
|
4838
|
+
this.z8_1 = transformer;
|
|
4972
4839
|
}
|
|
4973
4840
|
protoOf(TransformingSequence).g = function () {
|
|
4974
4841
|
return new TransformingSequence$iterator$1(this);
|
|
4975
4842
|
};
|
|
4976
4843
|
function calcNext($this) {
|
|
4977
|
-
$this.
|
|
4978
|
-
$this.
|
|
4844
|
+
$this.a9_1 = $this.b9_1 === -2 ? $this.c9_1.d9_1() : $this.c9_1.e9_1(ensureNotNull($this.a9_1));
|
|
4845
|
+
$this.b9_1 = $this.a9_1 == null ? 0 : 1;
|
|
4979
4846
|
}
|
|
4980
4847
|
function GeneratorSequence$iterator$1(this$0) {
|
|
4981
|
-
this.
|
|
4982
|
-
this.
|
|
4983
|
-
this.
|
|
4848
|
+
this.c9_1 = this$0;
|
|
4849
|
+
this.a9_1 = null;
|
|
4850
|
+
this.b9_1 = -2;
|
|
4984
4851
|
}
|
|
4985
4852
|
protoOf(GeneratorSequence$iterator$1).i = function () {
|
|
4986
|
-
if (this.
|
|
4853
|
+
if (this.b9_1 < 0) {
|
|
4987
4854
|
calcNext(this);
|
|
4988
4855
|
}
|
|
4989
|
-
if (this.
|
|
4856
|
+
if (this.b9_1 === 0)
|
|
4990
4857
|
throw NoSuchElementException_init_$Create$();
|
|
4991
|
-
var tmp = this.
|
|
4858
|
+
var tmp = this.a9_1;
|
|
4992
4859
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
4993
|
-
this.
|
|
4860
|
+
this.b9_1 = -1;
|
|
4994
4861
|
return result;
|
|
4995
4862
|
};
|
|
4996
4863
|
protoOf(GeneratorSequence$iterator$1).h = function () {
|
|
4997
|
-
if (this.
|
|
4864
|
+
if (this.b9_1 < 0) {
|
|
4998
4865
|
calcNext(this);
|
|
4999
4866
|
}
|
|
5000
|
-
return this.
|
|
4867
|
+
return this.b9_1 === 1;
|
|
5001
4868
|
};
|
|
5002
4869
|
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
5003
|
-
this.
|
|
5004
|
-
this.
|
|
4870
|
+
this.d9_1 = getInitialValue;
|
|
4871
|
+
this.e9_1 = getNextValue;
|
|
5005
4872
|
}
|
|
5006
4873
|
protoOf(GeneratorSequence).g = function () {
|
|
5007
4874
|
return new GeneratorSequence$iterator$1(this);
|
|
5008
4875
|
};
|
|
5009
4876
|
function EmptySet() {
|
|
5010
4877
|
EmptySet_instance = this;
|
|
5011
|
-
this.
|
|
4878
|
+
this.f9_1 = new Long(1993859828, 793161749);
|
|
5012
4879
|
}
|
|
5013
4880
|
protoOf(EmptySet).equals = function (other) {
|
|
5014
4881
|
var tmp;
|
|
@@ -5031,11 +4898,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5031
4898
|
protoOf(EmptySet).d1 = function () {
|
|
5032
4899
|
return true;
|
|
5033
4900
|
};
|
|
5034
|
-
protoOf(EmptySet).
|
|
4901
|
+
protoOf(EmptySet).g9 = function (elements) {
|
|
5035
4902
|
return elements.d1();
|
|
5036
4903
|
};
|
|
5037
4904
|
protoOf(EmptySet).t1 = function (elements) {
|
|
5038
|
-
return this.
|
|
4905
|
+
return this.g9(elements);
|
|
5039
4906
|
};
|
|
5040
4907
|
protoOf(EmptySet).g = function () {
|
|
5041
4908
|
return EmptyIterator_instance;
|
|
@@ -5083,13 +4950,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5083
4950
|
function Default() {
|
|
5084
4951
|
Default_instance = this;
|
|
5085
4952
|
Random.call(this);
|
|
5086
|
-
this.
|
|
4953
|
+
this.h9_1 = defaultPlatformRandom();
|
|
5087
4954
|
}
|
|
5088
|
-
protoOf(Default).
|
|
5089
|
-
return this.
|
|
4955
|
+
protoOf(Default).i9 = function (bitCount) {
|
|
4956
|
+
return this.h9_1.i9(bitCount);
|
|
5090
4957
|
};
|
|
5091
|
-
protoOf(Default).
|
|
5092
|
-
return this.
|
|
4958
|
+
protoOf(Default).j9 = function () {
|
|
4959
|
+
return this.h9_1.j9();
|
|
5093
4960
|
};
|
|
5094
4961
|
var Default_instance;
|
|
5095
4962
|
function Default_getInstance() {
|
|
@@ -5100,8 +4967,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5100
4967
|
function Random() {
|
|
5101
4968
|
Default_getInstance();
|
|
5102
4969
|
}
|
|
5103
|
-
protoOf(Random).
|
|
5104
|
-
return doubleFromParts(this.
|
|
4970
|
+
protoOf(Random).j9 = function () {
|
|
4971
|
+
return doubleFromParts(this.i9(26), this.i9(27));
|
|
5105
4972
|
};
|
|
5106
4973
|
function Random_0(seed) {
|
|
5107
4974
|
return XorWowRandom_init_$Create$(seed, seed >> 31);
|
|
@@ -5118,7 +4985,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5118
4985
|
}
|
|
5119
4986
|
function Companion_8() {
|
|
5120
4987
|
Companion_instance_8 = this;
|
|
5121
|
-
this.
|
|
4988
|
+
this.k9_1 = new Long(0, 0);
|
|
5122
4989
|
}
|
|
5123
4990
|
var Companion_instance_8;
|
|
5124
4991
|
function Companion_getInstance_8() {
|
|
@@ -5129,15 +4996,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5129
4996
|
function XorWowRandom(x, y, z, w, v, addend) {
|
|
5130
4997
|
Companion_getInstance_8();
|
|
5131
4998
|
Random.call(this);
|
|
5132
|
-
this.
|
|
5133
|
-
this.
|
|
5134
|
-
this.
|
|
5135
|
-
this.
|
|
5136
|
-
this.
|
|
5137
|
-
this.
|
|
4999
|
+
this.l9_1 = x;
|
|
5000
|
+
this.m9_1 = y;
|
|
5001
|
+
this.n9_1 = z;
|
|
5002
|
+
this.o9_1 = w;
|
|
5003
|
+
this.p9_1 = v;
|
|
5004
|
+
this.q9_1 = addend;
|
|
5138
5005
|
// Inline function 'kotlin.require' call
|
|
5139
|
-
if (!!((this.
|
|
5140
|
-
// Inline function 'kotlin.random.XorWowRandom.<anonymous>' call
|
|
5006
|
+
if (!!((this.l9_1 | this.m9_1 | this.n9_1 | this.o9_1 | this.p9_1) === 0)) {
|
|
5141
5007
|
var message = 'Initial state must have at least one non-zero element.';
|
|
5142
5008
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5143
5009
|
}
|
|
@@ -5147,26 +5013,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5147
5013
|
do {
|
|
5148
5014
|
var index = inductionVariable;
|
|
5149
5015
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5150
|
-
|
|
5151
|
-
this.x8();
|
|
5016
|
+
this.t8();
|
|
5152
5017
|
}
|
|
5153
5018
|
while (inductionVariable < 64);
|
|
5154
5019
|
}
|
|
5155
|
-
protoOf(XorWowRandom).
|
|
5156
|
-
var t = this.
|
|
5020
|
+
protoOf(XorWowRandom).t8 = function () {
|
|
5021
|
+
var t = this.l9_1;
|
|
5157
5022
|
t = t ^ (t >>> 2 | 0);
|
|
5158
|
-
this.
|
|
5159
|
-
this.
|
|
5160
|
-
this.
|
|
5161
|
-
var v0 = this.
|
|
5162
|
-
this.
|
|
5023
|
+
this.l9_1 = this.m9_1;
|
|
5024
|
+
this.m9_1 = this.n9_1;
|
|
5025
|
+
this.n9_1 = this.o9_1;
|
|
5026
|
+
var v0 = this.p9_1;
|
|
5027
|
+
this.o9_1 = v0;
|
|
5163
5028
|
t = t ^ t << 1 ^ v0 ^ v0 << 4;
|
|
5164
|
-
this.
|
|
5165
|
-
this.
|
|
5166
|
-
return t + this.
|
|
5029
|
+
this.p9_1 = t;
|
|
5030
|
+
this.q9_1 = this.q9_1 + 362437 | 0;
|
|
5031
|
+
return t + this.q9_1 | 0;
|
|
5167
5032
|
};
|
|
5168
|
-
protoOf(XorWowRandom).
|
|
5169
|
-
return takeUpperBits(this.
|
|
5033
|
+
protoOf(XorWowRandom).i9 = function (bitCount) {
|
|
5034
|
+
return takeUpperBits(this.t8(), bitCount);
|
|
5170
5035
|
};
|
|
5171
5036
|
function Companion_9() {
|
|
5172
5037
|
Companion_instance_9 = this;
|
|
@@ -5182,17 +5047,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5182
5047
|
Companion_getInstance_9();
|
|
5183
5048
|
IntProgression.call(this, start, endInclusive, 1);
|
|
5184
5049
|
}
|
|
5185
|
-
protoOf(IntRange).
|
|
5050
|
+
protoOf(IntRange).y7 = function () {
|
|
5186
5051
|
return this.n_1;
|
|
5187
5052
|
};
|
|
5188
|
-
protoOf(IntRange).
|
|
5053
|
+
protoOf(IntRange).z7 = function () {
|
|
5189
5054
|
return this.o_1;
|
|
5190
5055
|
};
|
|
5191
|
-
protoOf(IntRange).
|
|
5056
|
+
protoOf(IntRange).r9 = function (value) {
|
|
5192
5057
|
return this.n_1 <= value && value <= this.o_1;
|
|
5193
5058
|
};
|
|
5194
5059
|
protoOf(IntRange).r = function (value) {
|
|
5195
|
-
return this.
|
|
5060
|
+
return this.r9(typeof value === 'number' ? value : THROW_CCE());
|
|
5196
5061
|
};
|
|
5197
5062
|
protoOf(IntRange).d1 = function () {
|
|
5198
5063
|
return this.n_1 > this.o_1;
|
|
@@ -5214,22 +5079,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5214
5079
|
};
|
|
5215
5080
|
function IntProgressionIterator(first, last, step) {
|
|
5216
5081
|
IntIterator.call(this);
|
|
5217
|
-
this.
|
|
5218
|
-
this.
|
|
5219
|
-
this.
|
|
5220
|
-
this.
|
|
5082
|
+
this.s9_1 = step;
|
|
5083
|
+
this.t9_1 = last;
|
|
5084
|
+
this.u9_1 = this.s9_1 > 0 ? first <= last : first >= last;
|
|
5085
|
+
this.v9_1 = this.u9_1 ? first : this.t9_1;
|
|
5221
5086
|
}
|
|
5222
5087
|
protoOf(IntProgressionIterator).h = function () {
|
|
5223
|
-
return this.
|
|
5088
|
+
return this.u9_1;
|
|
5224
5089
|
};
|
|
5225
|
-
protoOf(IntProgressionIterator).
|
|
5226
|
-
var value = this.
|
|
5227
|
-
if (value === this.
|
|
5228
|
-
if (!this.
|
|
5090
|
+
protoOf(IntProgressionIterator).t8 = function () {
|
|
5091
|
+
var value = this.v9_1;
|
|
5092
|
+
if (value === this.t9_1) {
|
|
5093
|
+
if (!this.u9_1)
|
|
5229
5094
|
throw NoSuchElementException_init_$Create$();
|
|
5230
|
-
this.
|
|
5095
|
+
this.u9_1 = false;
|
|
5231
5096
|
} else {
|
|
5232
|
-
this.
|
|
5097
|
+
this.v9_1 = this.v9_1 + this.s9_1 | 0;
|
|
5233
5098
|
}
|
|
5234
5099
|
return value;
|
|
5235
5100
|
};
|
|
@@ -5310,13 +5175,13 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5310
5175
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5311
5176
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5312
5177
|
var tmp$ret$2 = toString(thisUpper).toLowerCase();
|
|
5313
|
-
var tmp_0 =
|
|
5178
|
+
var tmp_0 = charCodeAt(tmp$ret$2, 0);
|
|
5314
5179
|
// Inline function 'kotlin.text.lowercaseChar' call
|
|
5315
5180
|
// Inline function 'kotlin.text.lowercase' call
|
|
5316
5181
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5317
5182
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
5318
5183
|
var tmp$ret$6 = toString(otherUpper).toLowerCase();
|
|
5319
|
-
tmp = tmp_0 ===
|
|
5184
|
+
tmp = tmp_0 === charCodeAt(tmp$ret$6, 0);
|
|
5320
5185
|
}
|
|
5321
5186
|
return tmp;
|
|
5322
5187
|
}
|
|
@@ -5329,34 +5194,34 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5329
5194
|
var HEX_DIGITS_TO_DECIMAL;
|
|
5330
5195
|
var HEX_DIGITS_TO_LONG_DECIMAL;
|
|
5331
5196
|
function hexToByte(_this__u8e3s4, format) {
|
|
5332
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5197
|
+
format = format === VOID ? Companion_getInstance_13().w9_1 : format;
|
|
5333
5198
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5334
5199
|
return hexToByte_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
5335
5200
|
}
|
|
5336
5201
|
function hexToByteArray(_this__u8e3s4, format) {
|
|
5337
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5202
|
+
format = format === VOID ? Companion_getInstance_13().w9_1 : format;
|
|
5338
5203
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5339
5204
|
return hexToByteArray_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
5340
5205
|
}
|
|
5341
5206
|
function hexToByte_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5342
5207
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5343
5208
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5344
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5209
|
+
format = format === VOID ? Companion_getInstance_13().w9_1 : format;
|
|
5345
5210
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5346
5211
|
return toByte(hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, 2));
|
|
5347
5212
|
}
|
|
5348
5213
|
function hexToByteArray_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5349
5214
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5350
5215
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5351
|
-
format = format === VOID ? Companion_getInstance_13().
|
|
5216
|
+
format = format === VOID ? Companion_getInstance_13().w9_1 : format;
|
|
5352
5217
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5353
|
-
Companion_instance_5.
|
|
5218
|
+
Companion_instance_5.f7(startIndex, endIndex, _this__u8e3s4.length);
|
|
5354
5219
|
if (startIndex === endIndex) {
|
|
5355
5220
|
// Inline function 'kotlin.byteArrayOf' call
|
|
5356
5221
|
return new Int8Array([]);
|
|
5357
5222
|
}
|
|
5358
|
-
var bytesFormat = format.
|
|
5359
|
-
if (bytesFormat.
|
|
5223
|
+
var bytesFormat = format.z9_1;
|
|
5224
|
+
if (bytesFormat.ha_1) {
|
|
5360
5225
|
var tmp0_safe_receiver = hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5361
5226
|
if (tmp0_safe_receiver == null)
|
|
5362
5227
|
null;
|
|
@@ -5369,33 +5234,33 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5369
5234
|
}
|
|
5370
5235
|
function hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, typeHexLength) {
|
|
5371
5236
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5372
|
-
Companion_instance_5.
|
|
5373
|
-
var numberFormat = format.
|
|
5374
|
-
if (numberFormat.
|
|
5237
|
+
Companion_instance_5.f7(startIndex, endIndex, _this__u8e3s4.length);
|
|
5238
|
+
var numberFormat = format.aa_1;
|
|
5239
|
+
if (numberFormat.oa_1) {
|
|
5375
5240
|
checkNumberOfDigits(_this__u8e3s4, startIndex, endIndex, typeHexLength);
|
|
5376
5241
|
return parseInt(_this__u8e3s4, startIndex, endIndex);
|
|
5377
5242
|
}
|
|
5378
|
-
var prefix = numberFormat.
|
|
5379
|
-
var suffix = numberFormat.
|
|
5380
|
-
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.
|
|
5243
|
+
var prefix = numberFormat.ka_1;
|
|
5244
|
+
var suffix = numberFormat.la_1;
|
|
5245
|
+
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.qa_1, typeHexLength);
|
|
5381
5246
|
return parseInt(_this__u8e3s4, startIndex + prefix.length | 0, endIndex - suffix.length | 0);
|
|
5382
5247
|
}
|
|
5383
5248
|
function hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5384
5249
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5385
|
-
if (bytesFormat.
|
|
5250
|
+
if (bytesFormat.ia_1) {
|
|
5386
5251
|
return hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5387
5252
|
}
|
|
5388
5253
|
return hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5389
5254
|
}
|
|
5390
5255
|
function hexToByteArraySlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5391
5256
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5392
|
-
var bytesPerLine = bytesFormat.
|
|
5393
|
-
var bytesPerGroup = bytesFormat.
|
|
5394
|
-
var bytePrefix = bytesFormat.
|
|
5395
|
-
var byteSuffix = bytesFormat.
|
|
5396
|
-
var byteSeparator = bytesFormat.
|
|
5397
|
-
var groupSeparator = bytesFormat.
|
|
5398
|
-
var ignoreCase = bytesFormat.
|
|
5257
|
+
var bytesPerLine = bytesFormat.ba_1;
|
|
5258
|
+
var bytesPerGroup = bytesFormat.ca_1;
|
|
5259
|
+
var bytePrefix = bytesFormat.fa_1;
|
|
5260
|
+
var byteSuffix = bytesFormat.ga_1;
|
|
5261
|
+
var byteSeparator = bytesFormat.ea_1;
|
|
5262
|
+
var groupSeparator = bytesFormat.da_1;
|
|
5263
|
+
var ignoreCase = bytesFormat.ja_1;
|
|
5399
5264
|
var parseMaxSize = parsedByteArrayMaxSize(endIndex - startIndex | 0, bytesPerLine, bytesPerGroup, groupSeparator.length, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
5400
5265
|
var byteArray = new Int8Array(parseMaxSize);
|
|
5401
5266
|
var charIndex = startIndex;
|
|
@@ -5408,14 +5273,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5408
5273
|
indexInLine = 0;
|
|
5409
5274
|
indexInGroup = 0;
|
|
5410
5275
|
} else if (indexInGroup === bytesPerGroup) {
|
|
5411
|
-
var
|
|
5412
|
-
var
|
|
5276
|
+
var tmp2 = charIndex;
|
|
5277
|
+
var tmp10 = 'group separator';
|
|
5413
5278
|
var tmp$ret$1;
|
|
5414
5279
|
$l$block: {
|
|
5415
5280
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5416
5281
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5417
5282
|
if (charSequenceLength(groupSeparator) === 0) {
|
|
5418
|
-
tmp$ret$1 =
|
|
5283
|
+
tmp$ret$1 = tmp2;
|
|
5419
5284
|
break $l$block;
|
|
5420
5285
|
}
|
|
5421
5286
|
var inductionVariable = 0;
|
|
@@ -5424,24 +5289,24 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5424
5289
|
do {
|
|
5425
5290
|
var i = inductionVariable;
|
|
5426
5291
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5427
|
-
if (!equals_0(
|
|
5428
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5292
|
+
if (!equals_0(charCodeAt(groupSeparator, i), charCodeAt(_this__u8e3s4, tmp2 + i | 0), ignoreCase)) {
|
|
5293
|
+
throwNotContainedAt(_this__u8e3s4, tmp2, endIndex, groupSeparator, tmp10);
|
|
5429
5294
|
}
|
|
5430
5295
|
}
|
|
5431
5296
|
while (inductionVariable <= last);
|
|
5432
|
-
tmp$ret$1 =
|
|
5297
|
+
tmp$ret$1 = tmp2 + groupSeparator.length | 0;
|
|
5433
5298
|
}
|
|
5434
5299
|
charIndex = tmp$ret$1;
|
|
5435
5300
|
indexInGroup = 0;
|
|
5436
5301
|
} else if (!(indexInGroup === 0)) {
|
|
5437
|
-
var
|
|
5438
|
-
var
|
|
5302
|
+
var tmp2_0 = charIndex;
|
|
5303
|
+
var tmp10_0 = 'byte separator';
|
|
5439
5304
|
var tmp$ret$3;
|
|
5440
5305
|
$l$block_0: {
|
|
5441
5306
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5442
5307
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5443
5308
|
if (charSequenceLength(byteSeparator) === 0) {
|
|
5444
|
-
tmp$ret$3 =
|
|
5309
|
+
tmp$ret$3 = tmp2_0;
|
|
5445
5310
|
break $l$block_0;
|
|
5446
5311
|
}
|
|
5447
5312
|
var inductionVariable_0 = 0;
|
|
@@ -5450,25 +5315,25 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5450
5315
|
do {
|
|
5451
5316
|
var i_0 = inductionVariable_0;
|
|
5452
5317
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5453
|
-
if (!equals_0(
|
|
5454
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5318
|
+
if (!equals_0(charCodeAt(byteSeparator, i_0), charCodeAt(_this__u8e3s4, tmp2_0 + i_0 | 0), ignoreCase)) {
|
|
5319
|
+
throwNotContainedAt(_this__u8e3s4, tmp2_0, endIndex, byteSeparator, tmp10_0);
|
|
5455
5320
|
}
|
|
5456
5321
|
}
|
|
5457
5322
|
while (inductionVariable_0 <= last_0);
|
|
5458
|
-
tmp$ret$3 =
|
|
5323
|
+
tmp$ret$3 = tmp2_0 + byteSeparator.length | 0;
|
|
5459
5324
|
}
|
|
5460
5325
|
charIndex = tmp$ret$3;
|
|
5461
5326
|
}
|
|
5462
5327
|
indexInLine = indexInLine + 1 | 0;
|
|
5463
5328
|
indexInGroup = indexInGroup + 1 | 0;
|
|
5464
|
-
var
|
|
5465
|
-
var
|
|
5329
|
+
var tmp2_1 = charIndex;
|
|
5330
|
+
var tmp10_1 = 'byte prefix';
|
|
5466
5331
|
var tmp$ret$5;
|
|
5467
5332
|
$l$block_1: {
|
|
5468
5333
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5469
5334
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5470
5335
|
if (charSequenceLength(bytePrefix) === 0) {
|
|
5471
|
-
tmp$ret$5 =
|
|
5336
|
+
tmp$ret$5 = tmp2_1;
|
|
5472
5337
|
break $l$block_1;
|
|
5473
5338
|
}
|
|
5474
5339
|
var inductionVariable_1 = 0;
|
|
@@ -5477,12 +5342,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5477
5342
|
do {
|
|
5478
5343
|
var i_1 = inductionVariable_1;
|
|
5479
5344
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5480
|
-
if (!equals_0(
|
|
5481
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5345
|
+
if (!equals_0(charCodeAt(bytePrefix, i_1), charCodeAt(_this__u8e3s4, tmp2_1 + i_1 | 0), ignoreCase)) {
|
|
5346
|
+
throwNotContainedAt(_this__u8e3s4, tmp2_1, endIndex, bytePrefix, tmp10_1);
|
|
5482
5347
|
}
|
|
5483
5348
|
}
|
|
5484
5349
|
while (inductionVariable_1 <= last_1);
|
|
5485
|
-
tmp$ret$5 =
|
|
5350
|
+
tmp$ret$5 = tmp2_1 + bytePrefix.length | 0;
|
|
5486
5351
|
}
|
|
5487
5352
|
charIndex = tmp$ret$5;
|
|
5488
5353
|
if ((endIndex - 2 | 0) < charIndex) {
|
|
@@ -5491,14 +5356,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5491
5356
|
var _unary__edvuaz = byteIndex;
|
|
5492
5357
|
byteIndex = _unary__edvuaz + 1 | 0;
|
|
5493
5358
|
byteArray[_unary__edvuaz] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5494
|
-
var
|
|
5495
|
-
var
|
|
5359
|
+
var tmp2_2 = charIndex + 2 | 0;
|
|
5360
|
+
var tmp10_2 = 'byte suffix';
|
|
5496
5361
|
var tmp$ret$7;
|
|
5497
5362
|
$l$block_2: {
|
|
5498
5363
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5499
5364
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5500
5365
|
if (charSequenceLength(byteSuffix) === 0) {
|
|
5501
|
-
tmp$ret$7 =
|
|
5366
|
+
tmp$ret$7 = tmp2_2;
|
|
5502
5367
|
break $l$block_2;
|
|
5503
5368
|
}
|
|
5504
5369
|
var inductionVariable_2 = 0;
|
|
@@ -5507,12 +5372,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5507
5372
|
do {
|
|
5508
5373
|
var i_2 = inductionVariable_2;
|
|
5509
5374
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
5510
|
-
if (!equals_0(
|
|
5511
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5375
|
+
if (!equals_0(charCodeAt(byteSuffix, i_2), charCodeAt(_this__u8e3s4, tmp2_2 + i_2 | 0), ignoreCase)) {
|
|
5376
|
+
throwNotContainedAt(_this__u8e3s4, tmp2_2, endIndex, byteSuffix, tmp10_2);
|
|
5512
5377
|
}
|
|
5513
5378
|
}
|
|
5514
5379
|
while (inductionVariable_2 <= last_2);
|
|
5515
|
-
tmp$ret$7 =
|
|
5380
|
+
tmp$ret$7 = tmp2_2 + byteSuffix.length | 0;
|
|
5516
5381
|
}
|
|
5517
5382
|
charIndex = tmp$ret$7;
|
|
5518
5383
|
}
|
|
@@ -5527,6 +5392,32 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5527
5392
|
checkZeroDigits(_this__u8e3s4, startIndex, (startIndex + digits | 0) - typeHexLength | 0);
|
|
5528
5393
|
}
|
|
5529
5394
|
}
|
|
5395
|
+
function parseInt(_this__u8e3s4, startIndex, endIndex) {
|
|
5396
|
+
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5397
|
+
var result = 0;
|
|
5398
|
+
var inductionVariable = startIndex;
|
|
5399
|
+
if (inductionVariable < endIndex)
|
|
5400
|
+
do {
|
|
5401
|
+
var i = inductionVariable;
|
|
5402
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
5403
|
+
var tmp = result << 4;
|
|
5404
|
+
var tmp$ret$1;
|
|
5405
|
+
$l$block: {
|
|
5406
|
+
// Inline function 'kotlin.text.decimalFromHexDigitAt' call
|
|
5407
|
+
// Inline function 'kotlin.code' call
|
|
5408
|
+
var this_0 = charCodeAt(_this__u8e3s4, i);
|
|
5409
|
+
var code = Char__toInt_impl_vasixd(this_0);
|
|
5410
|
+
if ((code >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code] >= 0) {
|
|
5411
|
+
tmp$ret$1 = get_HEX_DIGITS_TO_DECIMAL()[code];
|
|
5412
|
+
break $l$block;
|
|
5413
|
+
}
|
|
5414
|
+
throwInvalidDigitAt(_this__u8e3s4, i);
|
|
5415
|
+
}
|
|
5416
|
+
result = tmp | tmp$ret$1;
|
|
5417
|
+
}
|
|
5418
|
+
while (inductionVariable < endIndex);
|
|
5419
|
+
return result;
|
|
5420
|
+
}
|
|
5530
5421
|
function checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, ignoreCase, typeHexLength) {
|
|
5531
5422
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5532
5423
|
if (((endIndex - startIndex | 0) - prefix.length | 0) <= suffix.length) {
|
|
@@ -5546,7 +5437,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5546
5437
|
do {
|
|
5547
5438
|
var i = inductionVariable;
|
|
5548
5439
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5549
|
-
if (!equals_0(
|
|
5440
|
+
if (!equals_0(charCodeAt(prefix, i), charCodeAt(_this__u8e3s4, startIndex + i | 0), ignoreCase)) {
|
|
5550
5441
|
throwNotContainedAt(_this__u8e3s4, startIndex, endIndex, prefix, 'prefix');
|
|
5551
5442
|
}
|
|
5552
5443
|
}
|
|
@@ -5567,7 +5458,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5567
5458
|
do {
|
|
5568
5459
|
var i_0 = inductionVariable_0;
|
|
5569
5460
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5570
|
-
if (!equals_0(
|
|
5461
|
+
if (!equals_0(charCodeAt(suffix, i_0), charCodeAt(_this__u8e3s4, digitsEndIndex + i_0 | 0), ignoreCase)) {
|
|
5571
5462
|
throwNotContainedAt(_this__u8e3s4, digitsEndIndex, endIndex, suffix, 'suffix');
|
|
5572
5463
|
}
|
|
5573
5464
|
}
|
|
@@ -5576,39 +5467,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5576
5467
|
}
|
|
5577
5468
|
checkNumberOfDigits(_this__u8e3s4, digitsStartIndex, digitsEndIndex, typeHexLength);
|
|
5578
5469
|
}
|
|
5579
|
-
function parseInt(_this__u8e3s4, startIndex, endIndex) {
|
|
5580
|
-
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5581
|
-
var result = 0;
|
|
5582
|
-
var inductionVariable = startIndex;
|
|
5583
|
-
if (inductionVariable < endIndex)
|
|
5584
|
-
do {
|
|
5585
|
-
var i = inductionVariable;
|
|
5586
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
5587
|
-
var tmp = result << 4;
|
|
5588
|
-
var tmp$ret$1;
|
|
5589
|
-
$l$block: {
|
|
5590
|
-
// Inline function 'kotlin.text.decimalFromHexDigitAt' call
|
|
5591
|
-
// Inline function 'kotlin.code' call
|
|
5592
|
-
var this_0 = charSequenceGet(_this__u8e3s4, i);
|
|
5593
|
-
var code = Char__toInt_impl_vasixd(this_0);
|
|
5594
|
-
if ((code >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code] >= 0) {
|
|
5595
|
-
tmp$ret$1 = get_HEX_DIGITS_TO_DECIMAL()[code];
|
|
5596
|
-
break $l$block;
|
|
5597
|
-
}
|
|
5598
|
-
throwInvalidDigitAt(_this__u8e3s4, i);
|
|
5599
|
-
}
|
|
5600
|
-
result = tmp | tmp$ret$1;
|
|
5601
|
-
}
|
|
5602
|
-
while (inductionVariable < endIndex);
|
|
5603
|
-
return result;
|
|
5604
|
-
}
|
|
5605
5470
|
function hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5606
5471
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5607
|
-
var byteSeparatorLength = bytesFormat.
|
|
5472
|
+
var byteSeparatorLength = bytesFormat.ea_1.length;
|
|
5608
5473
|
// Inline function 'kotlin.require' call
|
|
5609
5474
|
// Inline function 'kotlin.require' call
|
|
5610
5475
|
if (!(byteSeparatorLength <= 1)) {
|
|
5611
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
5612
5476
|
var message = 'Failed requirement.';
|
|
5613
5477
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5614
5478
|
}
|
|
@@ -5634,7 +5498,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5634
5498
|
return null;
|
|
5635
5499
|
var numberOfBytes_0 = (numberOfChars / 3 | 0) + 1 | 0;
|
|
5636
5500
|
var byteArray_0 = new Int8Array(numberOfBytes_0);
|
|
5637
|
-
var byteSeparatorChar =
|
|
5501
|
+
var byteSeparatorChar = charCodeAt(bytesFormat.ea_1, 0);
|
|
5638
5502
|
byteArray_0[0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5639
5503
|
charIndex = charIndex + 2 | 0;
|
|
5640
5504
|
var inductionVariable_0 = 1;
|
|
@@ -5642,29 +5506,29 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5642
5506
|
do {
|
|
5643
5507
|
var byteIndex_0 = inductionVariable_0;
|
|
5644
5508
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5645
|
-
if (!(
|
|
5646
|
-
var
|
|
5647
|
-
var
|
|
5648
|
-
var
|
|
5649
|
-
var
|
|
5509
|
+
if (!(charCodeAt(_this__u8e3s4, charIndex) === byteSeparatorChar)) {
|
|
5510
|
+
var tmp2 = charIndex;
|
|
5511
|
+
var tmp6 = bytesFormat.ea_1;
|
|
5512
|
+
var tmp8 = bytesFormat.ja_1;
|
|
5513
|
+
var tmp10 = 'byte separator';
|
|
5650
5514
|
$l$block: {
|
|
5651
5515
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5652
5516
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5653
|
-
if (charSequenceLength(
|
|
5517
|
+
if (charSequenceLength(tmp6) === 0) {
|
|
5654
5518
|
break $l$block;
|
|
5655
5519
|
}
|
|
5656
5520
|
var inductionVariable_1 = 0;
|
|
5657
|
-
var last = charSequenceLength(
|
|
5521
|
+
var last = charSequenceLength(tmp6) - 1 | 0;
|
|
5658
5522
|
if (inductionVariable_1 <= last)
|
|
5659
5523
|
do {
|
|
5660
5524
|
var i = inductionVariable_1;
|
|
5661
5525
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5662
|
-
if (!equals_0(
|
|
5663
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5526
|
+
if (!equals_0(charCodeAt(tmp6, i), charCodeAt(_this__u8e3s4, tmp2 + i | 0), tmp8)) {
|
|
5527
|
+
throwNotContainedAt(_this__u8e3s4, tmp2, endIndex, tmp6, tmp10);
|
|
5664
5528
|
}
|
|
5665
5529
|
}
|
|
5666
5530
|
while (inductionVariable_1 <= last);
|
|
5667
|
-
|
|
5531
|
+
tmp6.length;
|
|
5668
5532
|
}
|
|
5669
5533
|
}
|
|
5670
5534
|
byteArray_0[byteIndex_0] = parseByteAt(_this__u8e3s4, charIndex + 1 | 0);
|
|
@@ -5676,18 +5540,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5676
5540
|
}
|
|
5677
5541
|
function hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5678
5542
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5679
|
-
var bytePrefix = bytesFormat.
|
|
5680
|
-
var byteSuffix = bytesFormat.
|
|
5681
|
-
var byteSeparator = bytesFormat.
|
|
5543
|
+
var bytePrefix = bytesFormat.fa_1;
|
|
5544
|
+
var byteSuffix = bytesFormat.ga_1;
|
|
5545
|
+
var byteSeparator = bytesFormat.ea_1;
|
|
5682
5546
|
var byteSeparatorLength = byteSeparator.length;
|
|
5683
5547
|
var tmp0 = new Long(2, 0);
|
|
5684
5548
|
// Inline function 'kotlin.Long.plus' call
|
|
5685
5549
|
var other = bytePrefix.length;
|
|
5686
|
-
var
|
|
5550
|
+
var tmp0_0 = tmp0.i2(toLong(other));
|
|
5687
5551
|
// Inline function 'kotlin.Long.plus' call
|
|
5688
5552
|
var other_0 = byteSuffix.length;
|
|
5689
5553
|
// Inline function 'kotlin.Long.plus' call
|
|
5690
|
-
var charsPerByte =
|
|
5554
|
+
var charsPerByte = tmp0_0.i2(toLong(other_0)).i2(toLong(byteSeparatorLength));
|
|
5691
5555
|
var numberOfChars = toLong(endIndex - startIndex | 0);
|
|
5692
5556
|
// Inline function 'kotlin.Long.plus' call
|
|
5693
5557
|
var numberOfBytes = numberOfChars.i2(toLong(byteSeparatorLength)).l2(charsPerByte).u();
|
|
@@ -5695,17 +5559,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5695
5559
|
if (!numberToLong(numberOfBytes).k2(charsPerByte).j2(toLong(byteSeparatorLength)).equals(numberOfChars)) {
|
|
5696
5560
|
return null;
|
|
5697
5561
|
}
|
|
5698
|
-
var ignoreCase = bytesFormat.
|
|
5562
|
+
var ignoreCase = bytesFormat.ja_1;
|
|
5699
5563
|
var byteArray = new Int8Array(numberOfBytes);
|
|
5700
5564
|
var charIndex = startIndex;
|
|
5701
|
-
var
|
|
5702
|
-
var
|
|
5565
|
+
var tmp2 = charIndex;
|
|
5566
|
+
var tmp10 = 'byte prefix';
|
|
5703
5567
|
var tmp$ret$6;
|
|
5704
5568
|
$l$block: {
|
|
5705
5569
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5706
5570
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5707
5571
|
if (charSequenceLength(bytePrefix) === 0) {
|
|
5708
|
-
tmp$ret$6 =
|
|
5572
|
+
tmp$ret$6 = tmp2;
|
|
5709
5573
|
break $l$block;
|
|
5710
5574
|
}
|
|
5711
5575
|
var inductionVariable = 0;
|
|
@@ -5714,12 +5578,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5714
5578
|
do {
|
|
5715
5579
|
var i = inductionVariable;
|
|
5716
5580
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5717
|
-
if (!equals_0(
|
|
5718
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5581
|
+
if (!equals_0(charCodeAt(bytePrefix, i), charCodeAt(_this__u8e3s4, tmp2 + i | 0), ignoreCase)) {
|
|
5582
|
+
throwNotContainedAt(_this__u8e3s4, tmp2, endIndex, bytePrefix, tmp10);
|
|
5719
5583
|
}
|
|
5720
5584
|
}
|
|
5721
5585
|
while (inductionVariable <= last);
|
|
5722
|
-
tmp$ret$6 =
|
|
5586
|
+
tmp$ret$6 = tmp2 + bytePrefix.length | 0;
|
|
5723
5587
|
}
|
|
5724
5588
|
charIndex = tmp$ret$6;
|
|
5725
5589
|
var between = byteSuffix + byteSeparator + bytePrefix;
|
|
@@ -5730,14 +5594,14 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5730
5594
|
var byteIndex = inductionVariable_0;
|
|
5731
5595
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5732
5596
|
byteArray[byteIndex] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5733
|
-
var
|
|
5734
|
-
var
|
|
5597
|
+
var tmp2_0 = charIndex + 2 | 0;
|
|
5598
|
+
var tmp10_0 = 'byte suffix + byte separator + byte prefix';
|
|
5735
5599
|
var tmp$ret$8;
|
|
5736
5600
|
$l$block_0: {
|
|
5737
5601
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5738
5602
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5739
5603
|
if (charSequenceLength(between) === 0) {
|
|
5740
|
-
tmp$ret$8 =
|
|
5604
|
+
tmp$ret$8 = tmp2_0;
|
|
5741
5605
|
break $l$block_0;
|
|
5742
5606
|
}
|
|
5743
5607
|
var inductionVariable_1 = 0;
|
|
@@ -5746,19 +5610,19 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5746
5610
|
do {
|
|
5747
5611
|
var i_0 = inductionVariable_1;
|
|
5748
5612
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
5749
|
-
if (!equals_0(
|
|
5750
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5613
|
+
if (!equals_0(charCodeAt(between, i_0), charCodeAt(_this__u8e3s4, tmp2_0 + i_0 | 0), ignoreCase)) {
|
|
5614
|
+
throwNotContainedAt(_this__u8e3s4, tmp2_0, endIndex, between, tmp10_0);
|
|
5751
5615
|
}
|
|
5752
5616
|
}
|
|
5753
5617
|
while (inductionVariable_1 <= last_1);
|
|
5754
|
-
tmp$ret$8 =
|
|
5618
|
+
tmp$ret$8 = tmp2_0 + between.length | 0;
|
|
5755
5619
|
}
|
|
5756
5620
|
charIndex = tmp$ret$8;
|
|
5757
5621
|
}
|
|
5758
5622
|
while (inductionVariable_0 < last_0);
|
|
5759
5623
|
byteArray[numberOfBytes - 1 | 0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5760
|
-
var
|
|
5761
|
-
var
|
|
5624
|
+
var tmp2_1 = charIndex + 2 | 0;
|
|
5625
|
+
var tmp10_1 = 'byte suffix';
|
|
5762
5626
|
$l$block_1: {
|
|
5763
5627
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
5764
5628
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -5771,8 +5635,8 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5771
5635
|
do {
|
|
5772
5636
|
var i_1 = inductionVariable_2;
|
|
5773
5637
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
5774
|
-
if (!equals_0(
|
|
5775
|
-
throwNotContainedAt(_this__u8e3s4,
|
|
5638
|
+
if (!equals_0(charCodeAt(byteSuffix, i_1), charCodeAt(_this__u8e3s4, tmp2_1 + i_1 | 0), ignoreCase)) {
|
|
5639
|
+
throwNotContainedAt(_this__u8e3s4, tmp2_1, endIndex, byteSuffix, tmp10_1);
|
|
5776
5640
|
}
|
|
5777
5641
|
}
|
|
5778
5642
|
while (inductionVariable_2 <= last_2);
|
|
@@ -5785,7 +5649,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5785
5649
|
// Inline function 'kotlin.require' call
|
|
5786
5650
|
// Inline function 'kotlin.require' call
|
|
5787
5651
|
if (!(stringLength > 0)) {
|
|
5788
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
5789
5652
|
var message = 'Failed requirement.';
|
|
5790
5653
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5791
5654
|
}
|
|
@@ -5811,44 +5674,42 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5811
5674
|
var wholeLines = wholeElementsPerSet(numberOfChars, charsPerLine, 1);
|
|
5812
5675
|
var tmp_0 = numberOfChars;
|
|
5813
5676
|
// Inline function 'kotlin.Long.plus' call
|
|
5814
|
-
var tmp$ret$
|
|
5815
|
-
numberOfChars = tmp_0.j2(wholeLines.k2(tmp$ret$
|
|
5677
|
+
var tmp$ret$5 = charsPerLine.i2(toLong(1));
|
|
5678
|
+
numberOfChars = tmp_0.j2(wholeLines.k2(tmp$ret$5));
|
|
5816
5679
|
var wholeGroupsInLastLine = wholeElementsPerSet(numberOfChars, charsPerGroup, groupSeparatorLength);
|
|
5817
5680
|
var tmp_1 = numberOfChars;
|
|
5818
5681
|
// Inline function 'kotlin.Long.plus' call
|
|
5819
|
-
var tmp$ret$
|
|
5820
|
-
numberOfChars = tmp_1.j2(wholeGroupsInLastLine.k2(tmp$ret$
|
|
5682
|
+
var tmp$ret$6 = charsPerGroup.i2(toLong(groupSeparatorLength));
|
|
5683
|
+
numberOfChars = tmp_1.j2(wholeGroupsInLastLine.k2(tmp$ret$6));
|
|
5821
5684
|
var wholeBytesInLastGroup = wholeElementsPerSet(numberOfChars, charsPerByte, byteSeparatorLength);
|
|
5822
5685
|
var tmp_2 = numberOfChars;
|
|
5823
5686
|
// Inline function 'kotlin.Long.plus' call
|
|
5824
|
-
var tmp$ret$
|
|
5825
|
-
numberOfChars = tmp_2.j2(wholeBytesInLastGroup.k2(tmp$ret$
|
|
5687
|
+
var tmp$ret$7 = charsPerByte.i2(toLong(byteSeparatorLength));
|
|
5688
|
+
numberOfChars = tmp_2.j2(wholeBytesInLastGroup.k2(tmp$ret$7));
|
|
5826
5689
|
var spare = numberOfChars.v(new Long(0, 0)) > 0 ? 1 : 0;
|
|
5827
5690
|
// Inline function 'kotlin.Long.times' call
|
|
5828
5691
|
var tmp_3 = wholeLines.k2(toLong(bytesPerLine));
|
|
5829
5692
|
// Inline function 'kotlin.Long.times' call
|
|
5830
|
-
var tmp$ret$
|
|
5693
|
+
var tmp$ret$9 = wholeGroupsInLastLine.k2(toLong(bytesPerGroup));
|
|
5831
5694
|
// Inline function 'kotlin.Long.plus' call
|
|
5832
|
-
return tmp_3.i2(tmp$ret$
|
|
5695
|
+
return tmp_3.i2(tmp$ret$9).i2(wholeBytesInLastGroup).i2(toLong(spare)).u();
|
|
5833
5696
|
}
|
|
5834
5697
|
function checkNewLineAt(_this__u8e3s4, index, endIndex) {
|
|
5835
5698
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5836
5699
|
var tmp;
|
|
5837
|
-
if (
|
|
5838
|
-
tmp = (index + 1 | 0) < endIndex &&
|
|
5839
|
-
} else if (
|
|
5700
|
+
if (charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(13)) {
|
|
5701
|
+
tmp = (index + 1 | 0) < endIndex && charCodeAt(_this__u8e3s4, index + 1 | 0) === _Char___init__impl__6a9atx(10) ? index + 2 | 0 : index + 1 | 0;
|
|
5702
|
+
} else if (charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(10)) {
|
|
5840
5703
|
tmp = index + 1 | 0;
|
|
5841
5704
|
} else {
|
|
5842
|
-
throw NumberFormatException_init_$Create$_0('Expected a new line at index ' + index + ', but was ' + toString(
|
|
5705
|
+
throw NumberFormatException_init_$Create$_0('Expected a new line at index ' + index + ', but was ' + toString(charCodeAt(_this__u8e3s4, index)));
|
|
5843
5706
|
}
|
|
5844
5707
|
return tmp;
|
|
5845
5708
|
}
|
|
5846
5709
|
function throwInvalidNumberOfDigits(_this__u8e3s4, startIndex, endIndex, specifier, expected) {
|
|
5847
5710
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
var substring = _this__u8e3s4.substring(startIndex, endIndex);
|
|
5851
|
-
throw NumberFormatException_init_$Create$_0('Expected ' + specifier + ' ' + expected + ' hexadecimal digits at index ' + startIndex + ', but was "' + substring + '" of length ' + (endIndex - startIndex | 0));
|
|
5711
|
+
var substring_0 = substring(_this__u8e3s4, startIndex, endIndex);
|
|
5712
|
+
throw NumberFormatException_init_$Create$_0('Expected ' + specifier + ' ' + expected + ' hexadecimal digits at index ' + startIndex + ', but was "' + substring_0 + '" of length ' + (endIndex - startIndex | 0));
|
|
5852
5713
|
}
|
|
5853
5714
|
function parseByteAt(_this__u8e3s4, index) {
|
|
5854
5715
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
@@ -5856,7 +5717,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5856
5717
|
$l$block: {
|
|
5857
5718
|
// Inline function 'kotlin.text.decimalFromHexDigitAt' call
|
|
5858
5719
|
// Inline function 'kotlin.code' call
|
|
5859
|
-
var this_0 =
|
|
5720
|
+
var this_0 = charCodeAt(_this__u8e3s4, index);
|
|
5860
5721
|
var code = Char__toInt_impl_vasixd(this_0);
|
|
5861
5722
|
if ((code >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code] >= 0) {
|
|
5862
5723
|
tmp$ret$1 = get_HEX_DIGITS_TO_DECIMAL()[code];
|
|
@@ -5865,18 +5726,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5865
5726
|
throwInvalidDigitAt(_this__u8e3s4, index);
|
|
5866
5727
|
}
|
|
5867
5728
|
var high = tmp$ret$1;
|
|
5868
|
-
var
|
|
5729
|
+
var tmp2 = index + 1 | 0;
|
|
5869
5730
|
var tmp$ret$3;
|
|
5870
5731
|
$l$block_0: {
|
|
5871
5732
|
// Inline function 'kotlin.text.decimalFromHexDigitAt' call
|
|
5872
5733
|
// Inline function 'kotlin.code' call
|
|
5873
|
-
var this_1 =
|
|
5734
|
+
var this_1 = charCodeAt(_this__u8e3s4, tmp2);
|
|
5874
5735
|
var code_0 = Char__toInt_impl_vasixd(this_1);
|
|
5875
5736
|
if ((code_0 >>> 8 | 0) === 0 && get_HEX_DIGITS_TO_DECIMAL()[code_0] >= 0) {
|
|
5876
5737
|
tmp$ret$3 = get_HEX_DIGITS_TO_DECIMAL()[code_0];
|
|
5877
5738
|
break $l$block_0;
|
|
5878
5739
|
}
|
|
5879
|
-
throwInvalidDigitAt(_this__u8e3s4,
|
|
5740
|
+
throwInvalidDigitAt(_this__u8e3s4, tmp2);
|
|
5880
5741
|
}
|
|
5881
5742
|
var low = tmp$ret$3;
|
|
5882
5743
|
return toByte(high << 4 | low);
|
|
@@ -5888,25 +5749,22 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5888
5749
|
do {
|
|
5889
5750
|
var index = inductionVariable;
|
|
5890
5751
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5891
|
-
if (!(
|
|
5892
|
-
throw NumberFormatException_init_$Create$_0("Expected the hexadecimal digit '0' at index " + index + ", but was '" + toString(
|
|
5752
|
+
if (!(charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(48))) {
|
|
5753
|
+
throw NumberFormatException_init_$Create$_0("Expected the hexadecimal digit '0' at index " + index + ", but was '" + toString(charCodeAt(_this__u8e3s4, index)) + "'.\n" + "The result won't fit the type being parsed.");
|
|
5893
5754
|
}
|
|
5894
5755
|
}
|
|
5895
5756
|
while (inductionVariable < endIndex);
|
|
5896
5757
|
}
|
|
5897
5758
|
function throwInvalidPrefixSuffix(_this__u8e3s4, startIndex, endIndex, prefix, suffix) {
|
|
5898
5759
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
var substring = _this__u8e3s4.substring(startIndex, endIndex);
|
|
5902
|
-
throw NumberFormatException_init_$Create$_0('Expected a hexadecimal number with prefix "' + prefix + '" and suffix "' + suffix + '", but was ' + substring);
|
|
5760
|
+
var substring_0 = substring(_this__u8e3s4, startIndex, endIndex);
|
|
5761
|
+
throw NumberFormatException_init_$Create$_0('Expected a hexadecimal number with prefix "' + prefix + '" and suffix "' + suffix + '", but was ' + substring_0);
|
|
5903
5762
|
}
|
|
5904
5763
|
function charsPerSet(charsPerElement, elementsPerSet, elementSeparatorLength) {
|
|
5905
5764
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5906
5765
|
// Inline function 'kotlin.require' call
|
|
5907
5766
|
// Inline function 'kotlin.require' call
|
|
5908
5767
|
if (!(elementsPerSet > 0)) {
|
|
5909
|
-
// Inline function 'kotlin.require.<anonymous>' call
|
|
5910
5768
|
var message = 'Failed requirement.';
|
|
5911
5769
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
5912
5770
|
}
|
|
@@ -5929,15 +5787,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5929
5787
|
}
|
|
5930
5788
|
function throwNotContainedAt(_this__u8e3s4, index, endIndex, part, partName) {
|
|
5931
5789
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
5935
|
-
var substring = _this__u8e3s4.substring(index, endIndex_0);
|
|
5936
|
-
throw NumberFormatException_init_$Create$_0('Expected ' + partName + ' "' + part + '" at index ' + index + ', but was ' + substring);
|
|
5790
|
+
var substring_0 = substring(_this__u8e3s4, index, coerceAtMost(index + part.length | 0, endIndex));
|
|
5791
|
+
throw NumberFormatException_init_$Create$_0('Expected ' + partName + ' "' + part + '" at index ' + index + ', but was ' + substring_0);
|
|
5937
5792
|
}
|
|
5938
5793
|
function throwInvalidDigitAt(_this__u8e3s4, index) {
|
|
5939
5794
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5940
|
-
throw NumberFormatException_init_$Create$_0('Expected a hexadecimal digit at index ' + index + ', but was ' + toString(
|
|
5795
|
+
throw NumberFormatException_init_$Create$_0('Expected a hexadecimal digit at index ' + index + ', but was ' + toString(charCodeAt(_this__u8e3s4, index)));
|
|
5941
5796
|
}
|
|
5942
5797
|
var properties_initialized_HexExtensions_kt_h16sbl;
|
|
5943
5798
|
function _init_properties_HexExtensions_kt__wu8rc3() {
|
|
@@ -5948,10 +5803,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5948
5803
|
while (tmp < 256) {
|
|
5949
5804
|
var tmp_1 = tmp;
|
|
5950
5805
|
// Inline function 'kotlin.code' call
|
|
5951
|
-
var this_0 =
|
|
5806
|
+
var this_0 = charCodeAt('0123456789abcdef', tmp_1 >> 4);
|
|
5952
5807
|
var tmp_2 = Char__toInt_impl_vasixd(this_0) << 8;
|
|
5953
5808
|
// Inline function 'kotlin.code' call
|
|
5954
|
-
var this_1 =
|
|
5809
|
+
var this_1 = charCodeAt('0123456789abcdef', tmp_1 & 15);
|
|
5955
5810
|
tmp_0[tmp_1] = tmp_2 | Char__toInt_impl_vasixd(this_1);
|
|
5956
5811
|
tmp = tmp + 1 | 0;
|
|
5957
5812
|
}
|
|
@@ -5961,10 +5816,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5961
5816
|
while (tmp_3 < 256) {
|
|
5962
5817
|
var tmp_5 = tmp_3;
|
|
5963
5818
|
// Inline function 'kotlin.code' call
|
|
5964
|
-
var this_2 =
|
|
5819
|
+
var this_2 = charCodeAt('0123456789ABCDEF', tmp_5 >> 4);
|
|
5965
5820
|
var tmp_6 = Char__toInt_impl_vasixd(this_2) << 8;
|
|
5966
5821
|
// Inline function 'kotlin.code' call
|
|
5967
|
-
var this_3 =
|
|
5822
|
+
var this_3 = charCodeAt('0123456789ABCDEF', tmp_5 & 15);
|
|
5968
5823
|
tmp_4[tmp_5] = tmp_6 | Char__toInt_impl_vasixd(this_3);
|
|
5969
5824
|
tmp_3 = tmp_3 + 1 | 0;
|
|
5970
5825
|
}
|
|
@@ -5976,7 +5831,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5976
5831
|
tmp_7 = tmp_7 + 1 | 0;
|
|
5977
5832
|
}
|
|
5978
5833
|
// Inline function 'kotlin.apply' call
|
|
5979
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>' call
|
|
5980
5834
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
5981
5835
|
var index = 0;
|
|
5982
5836
|
var indexedObject = '0123456789abcdef';
|
|
@@ -5986,7 +5840,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5986
5840
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5987
5841
|
var _unary__edvuaz = index;
|
|
5988
5842
|
index = _unary__edvuaz + 1 | 0;
|
|
5989
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>.<anonymous>' call
|
|
5990
5843
|
// Inline function 'kotlin.code' call
|
|
5991
5844
|
tmp_8[Char__toInt_impl_vasixd(item)] = _unary__edvuaz;
|
|
5992
5845
|
}
|
|
@@ -5999,7 +5852,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
5999
5852
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6000
5853
|
var _unary__edvuaz_0 = index_0;
|
|
6001
5854
|
index_0 = _unary__edvuaz_0 + 1 | 0;
|
|
6002
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_DECIMAL.<anonymous>.<anonymous>' call
|
|
6003
5855
|
// Inline function 'kotlin.code' call
|
|
6004
5856
|
tmp_8[Char__toInt_impl_vasixd(item_0)] = _unary__edvuaz_0;
|
|
6005
5857
|
}
|
|
@@ -6011,7 +5863,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6011
5863
|
tmp_9 = tmp_9 + 1 | 0;
|
|
6012
5864
|
}
|
|
6013
5865
|
// Inline function 'kotlin.apply' call
|
|
6014
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>' call
|
|
6015
5866
|
// Inline function 'kotlin.text.forEachIndexed' call
|
|
6016
5867
|
var index_1 = 0;
|
|
6017
5868
|
var indexedObject_1 = '0123456789abcdef';
|
|
@@ -6021,7 +5872,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6021
5872
|
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
6022
5873
|
var _unary__edvuaz_1 = index_1;
|
|
6023
5874
|
index_1 = _unary__edvuaz_1 + 1 | 0;
|
|
6024
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>.<anonymous>' call
|
|
6025
5875
|
// Inline function 'kotlin.code' call
|
|
6026
5876
|
tmp_10[Char__toInt_impl_vasixd(item_1)] = toLong(_unary__edvuaz_1);
|
|
6027
5877
|
}
|
|
@@ -6034,7 +5884,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6034
5884
|
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
6035
5885
|
var _unary__edvuaz_2 = index_2;
|
|
6036
5886
|
index_2 = _unary__edvuaz_2 + 1 | 0;
|
|
6037
|
-
// Inline function 'kotlin.text.HEX_DIGITS_TO_LONG_DECIMAL.<anonymous>.<anonymous>' call
|
|
6038
5887
|
// Inline function 'kotlin.code' call
|
|
6039
5888
|
tmp_10[Char__toInt_impl_vasixd(item_2)] = toLong(_unary__edvuaz_2);
|
|
6040
5889
|
}
|
|
@@ -6043,7 +5892,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6043
5892
|
}
|
|
6044
5893
|
function Companion_11() {
|
|
6045
5894
|
Companion_instance_11 = this;
|
|
6046
|
-
this.
|
|
5895
|
+
this.ra_1 = new BytesHexFormat(2147483647, 2147483647, ' ', '', '', '');
|
|
6047
5896
|
}
|
|
6048
5897
|
var Companion_instance_11;
|
|
6049
5898
|
function Companion_getInstance_11() {
|
|
@@ -6053,7 +5902,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6053
5902
|
}
|
|
6054
5903
|
function Companion_12() {
|
|
6055
5904
|
Companion_instance_12 = this;
|
|
6056
|
-
this.
|
|
5905
|
+
this.sa_1 = new NumberHexFormat('', '', false, 1);
|
|
6057
5906
|
}
|
|
6058
5907
|
var Companion_instance_12;
|
|
6059
5908
|
function Companion_getInstance_12() {
|
|
@@ -6063,116 +5912,114 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6063
5912
|
}
|
|
6064
5913
|
function BytesHexFormat(bytesPerLine, bytesPerGroup, groupSeparator, byteSeparator, bytePrefix, byteSuffix) {
|
|
6065
5914
|
Companion_getInstance_11();
|
|
6066
|
-
this.
|
|
6067
|
-
this.
|
|
6068
|
-
this.
|
|
6069
|
-
this.
|
|
6070
|
-
this.
|
|
6071
|
-
this.
|
|
6072
|
-
this.
|
|
5915
|
+
this.ba_1 = bytesPerLine;
|
|
5916
|
+
this.ca_1 = bytesPerGroup;
|
|
5917
|
+
this.da_1 = groupSeparator;
|
|
5918
|
+
this.ea_1 = byteSeparator;
|
|
5919
|
+
this.fa_1 = bytePrefix;
|
|
5920
|
+
this.ga_1 = byteSuffix;
|
|
5921
|
+
this.ha_1 = (this.ba_1 === 2147483647 && this.ca_1 === 2147483647);
|
|
6073
5922
|
var tmp = this;
|
|
6074
5923
|
var tmp_0;
|
|
6075
5924
|
var tmp_1;
|
|
6076
5925
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6077
|
-
var this_0 = this.
|
|
5926
|
+
var this_0 = this.fa_1;
|
|
6078
5927
|
if (charSequenceLength(this_0) === 0) {
|
|
6079
5928
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6080
|
-
var this_1 = this.
|
|
5929
|
+
var this_1 = this.ga_1;
|
|
6081
5930
|
tmp_1 = charSequenceLength(this_1) === 0;
|
|
6082
5931
|
} else {
|
|
6083
5932
|
tmp_1 = false;
|
|
6084
5933
|
}
|
|
6085
5934
|
if (tmp_1) {
|
|
6086
|
-
tmp_0 = this.
|
|
5935
|
+
tmp_0 = this.ea_1.length <= 1;
|
|
6087
5936
|
} else {
|
|
6088
5937
|
tmp_0 = false;
|
|
6089
5938
|
}
|
|
6090
|
-
tmp.
|
|
6091
|
-
this.
|
|
5939
|
+
tmp.ia_1 = tmp_0;
|
|
5940
|
+
this.ja_1 = isCaseSensitive(this.da_1) || isCaseSensitive(this.ea_1) || isCaseSensitive(this.fa_1) || isCaseSensitive(this.ga_1);
|
|
6092
5941
|
}
|
|
6093
5942
|
protoOf(BytesHexFormat).toString = function () {
|
|
6094
5943
|
// Inline function 'kotlin.text.buildString' call
|
|
6095
5944
|
// Inline function 'kotlin.apply' call
|
|
6096
5945
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6097
|
-
// Inline function 'kotlin.text.BytesHexFormat.toString.<anonymous>' call
|
|
6098
5946
|
// Inline function 'kotlin.text.appendLine' call
|
|
6099
|
-
this_0.
|
|
5947
|
+
this_0.p6('BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6100
5948
|
// Inline function 'kotlin.text.appendLine' call
|
|
6101
|
-
this.
|
|
6102
|
-
this_0.
|
|
5949
|
+
this.ta(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
5950
|
+
this_0.p6(')');
|
|
6103
5951
|
return this_0.toString();
|
|
6104
5952
|
};
|
|
6105
|
-
protoOf(BytesHexFormat).
|
|
5953
|
+
protoOf(BytesHexFormat).ta = function (sb, indent) {
|
|
6106
5954
|
// Inline function 'kotlin.text.appendLine' call
|
|
6107
5955
|
// Inline function 'kotlin.text.appendLine' call
|
|
6108
|
-
sb.
|
|
5956
|
+
sb.p6(indent).p6('bytesPerLine = ').e7(this.ba_1).p6(',').f(_Char___init__impl__6a9atx(10));
|
|
6109
5957
|
// Inline function 'kotlin.text.appendLine' call
|
|
6110
5958
|
// Inline function 'kotlin.text.appendLine' call
|
|
6111
|
-
sb.
|
|
5959
|
+
sb.p6(indent).p6('bytesPerGroup = ').e7(this.ca_1).p6(',').f(_Char___init__impl__6a9atx(10));
|
|
6112
5960
|
// Inline function 'kotlin.text.appendLine' call
|
|
6113
5961
|
// Inline function 'kotlin.text.appendLine' call
|
|
6114
|
-
sb.
|
|
5962
|
+
sb.p6(indent).p6('groupSeparator = "').p6(this.da_1).p6('",').f(_Char___init__impl__6a9atx(10));
|
|
6115
5963
|
// Inline function 'kotlin.text.appendLine' call
|
|
6116
5964
|
// Inline function 'kotlin.text.appendLine' call
|
|
6117
|
-
sb.
|
|
5965
|
+
sb.p6(indent).p6('byteSeparator = "').p6(this.ea_1).p6('",').f(_Char___init__impl__6a9atx(10));
|
|
6118
5966
|
// Inline function 'kotlin.text.appendLine' call
|
|
6119
5967
|
// Inline function 'kotlin.text.appendLine' call
|
|
6120
|
-
sb.
|
|
6121
|
-
sb.
|
|
5968
|
+
sb.p6(indent).p6('bytePrefix = "').p6(this.fa_1).p6('",').f(_Char___init__impl__6a9atx(10));
|
|
5969
|
+
sb.p6(indent).p6('byteSuffix = "').p6(this.ga_1).p6('"');
|
|
6122
5970
|
return sb;
|
|
6123
5971
|
};
|
|
6124
5972
|
function NumberHexFormat(prefix, suffix, removeLeadingZeros, minLength) {
|
|
6125
5973
|
Companion_getInstance_12();
|
|
6126
|
-
this.
|
|
6127
|
-
this.
|
|
6128
|
-
this.
|
|
6129
|
-
this.
|
|
5974
|
+
this.ka_1 = prefix;
|
|
5975
|
+
this.la_1 = suffix;
|
|
5976
|
+
this.ma_1 = removeLeadingZeros;
|
|
5977
|
+
this.na_1 = minLength;
|
|
6130
5978
|
var tmp = this;
|
|
6131
5979
|
var tmp_0;
|
|
6132
5980
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6133
|
-
var this_0 = this.
|
|
5981
|
+
var this_0 = this.ka_1;
|
|
6134
5982
|
if (charSequenceLength(this_0) === 0) {
|
|
6135
5983
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6136
|
-
var this_1 = this.
|
|
5984
|
+
var this_1 = this.la_1;
|
|
6137
5985
|
tmp_0 = charSequenceLength(this_1) === 0;
|
|
6138
5986
|
} else {
|
|
6139
5987
|
tmp_0 = false;
|
|
6140
5988
|
}
|
|
6141
|
-
tmp.
|
|
6142
|
-
this.
|
|
6143
|
-
this.
|
|
5989
|
+
tmp.oa_1 = tmp_0;
|
|
5990
|
+
this.pa_1 = (this.oa_1 && this.na_1 === 1);
|
|
5991
|
+
this.qa_1 = isCaseSensitive(this.ka_1) || isCaseSensitive(this.la_1);
|
|
6144
5992
|
}
|
|
6145
5993
|
protoOf(NumberHexFormat).toString = function () {
|
|
6146
5994
|
// Inline function 'kotlin.text.buildString' call
|
|
6147
5995
|
// Inline function 'kotlin.apply' call
|
|
6148
5996
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6149
|
-
// Inline function 'kotlin.text.NumberHexFormat.toString.<anonymous>' call
|
|
6150
5997
|
// Inline function 'kotlin.text.appendLine' call
|
|
6151
|
-
this_0.
|
|
5998
|
+
this_0.p6('NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6152
5999
|
// Inline function 'kotlin.text.appendLine' call
|
|
6153
|
-
this.
|
|
6154
|
-
this_0.
|
|
6000
|
+
this.ta(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6001
|
+
this_0.p6(')');
|
|
6155
6002
|
return this_0.toString();
|
|
6156
6003
|
};
|
|
6157
|
-
protoOf(NumberHexFormat).
|
|
6004
|
+
protoOf(NumberHexFormat).ta = function (sb, indent) {
|
|
6158
6005
|
// Inline function 'kotlin.text.appendLine' call
|
|
6159
6006
|
// Inline function 'kotlin.text.appendLine' call
|
|
6160
|
-
sb.
|
|
6007
|
+
sb.p6(indent).p6('prefix = "').p6(this.ka_1).p6('",').f(_Char___init__impl__6a9atx(10));
|
|
6161
6008
|
// Inline function 'kotlin.text.appendLine' call
|
|
6162
6009
|
// Inline function 'kotlin.text.appendLine' call
|
|
6163
|
-
sb.
|
|
6164
|
-
var
|
|
6010
|
+
sb.p6(indent).p6('suffix = "').p6(this.la_1).p6('",').f(_Char___init__impl__6a9atx(10));
|
|
6011
|
+
var tmp0 = sb.p6(indent).p6('removeLeadingZeros = ').d7(this.ma_1);
|
|
6165
6012
|
// Inline function 'kotlin.text.appendLine' call
|
|
6166
6013
|
var value = _Char___init__impl__6a9atx(44);
|
|
6167
6014
|
// Inline function 'kotlin.text.appendLine' call
|
|
6168
|
-
|
|
6169
|
-
sb.
|
|
6015
|
+
tmp0.f(value).f(_Char___init__impl__6a9atx(10));
|
|
6016
|
+
sb.p6(indent).p6('minLength = ').e7(this.na_1);
|
|
6170
6017
|
return sb;
|
|
6171
6018
|
};
|
|
6172
6019
|
function Companion_13() {
|
|
6173
6020
|
Companion_instance_13 = this;
|
|
6174
|
-
this.
|
|
6175
|
-
this.
|
|
6021
|
+
this.w9_1 = new HexFormat(false, Companion_getInstance_11().ra_1, Companion_getInstance_12().sa_1);
|
|
6022
|
+
this.x9_1 = new HexFormat(true, Companion_getInstance_11().ra_1, Companion_getInstance_12().sa_1);
|
|
6176
6023
|
}
|
|
6177
6024
|
var Companion_instance_13;
|
|
6178
6025
|
function Companion_getInstance_13() {
|
|
@@ -6182,33 +6029,32 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6182
6029
|
}
|
|
6183
6030
|
function HexFormat(upperCase, bytes, number) {
|
|
6184
6031
|
Companion_getInstance_13();
|
|
6185
|
-
this.
|
|
6186
|
-
this.
|
|
6187
|
-
this.
|
|
6032
|
+
this.y9_1 = upperCase;
|
|
6033
|
+
this.z9_1 = bytes;
|
|
6034
|
+
this.aa_1 = number;
|
|
6188
6035
|
}
|
|
6189
6036
|
protoOf(HexFormat).toString = function () {
|
|
6190
6037
|
// Inline function 'kotlin.text.buildString' call
|
|
6191
6038
|
// Inline function 'kotlin.apply' call
|
|
6192
6039
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6193
|
-
// Inline function 'kotlin.text.HexFormat.toString.<anonymous>' call
|
|
6194
6040
|
// Inline function 'kotlin.text.appendLine' call
|
|
6195
|
-
this_0.
|
|
6041
|
+
this_0.p6('HexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6196
6042
|
// Inline function 'kotlin.text.appendLine' call
|
|
6197
6043
|
// Inline function 'kotlin.text.appendLine' call
|
|
6198
|
-
this_0.
|
|
6044
|
+
this_0.p6(' upperCase = ').d7(this.y9_1).p6(',').f(_Char___init__impl__6a9atx(10));
|
|
6199
6045
|
// Inline function 'kotlin.text.appendLine' call
|
|
6200
|
-
this_0.
|
|
6046
|
+
this_0.p6(' bytes = BytesHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6201
6047
|
// Inline function 'kotlin.text.appendLine' call
|
|
6202
|
-
this.
|
|
6048
|
+
this.z9_1.ta(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6203
6049
|
// Inline function 'kotlin.text.appendLine' call
|
|
6204
|
-
this_0.
|
|
6050
|
+
this_0.p6(' ),').f(_Char___init__impl__6a9atx(10));
|
|
6205
6051
|
// Inline function 'kotlin.text.appendLine' call
|
|
6206
|
-
this_0.
|
|
6052
|
+
this_0.p6(' number = NumberHexFormat(').f(_Char___init__impl__6a9atx(10));
|
|
6207
6053
|
// Inline function 'kotlin.text.appendLine' call
|
|
6208
|
-
this.
|
|
6054
|
+
this.aa_1.ta(this_0, ' ').f(_Char___init__impl__6a9atx(10));
|
|
6209
6055
|
// Inline function 'kotlin.text.appendLine' call
|
|
6210
|
-
this_0.
|
|
6211
|
-
this_0.
|
|
6056
|
+
this_0.p6(' )').f(_Char___init__impl__6a9atx(10));
|
|
6057
|
+
this_0.p6(')');
|
|
6212
6058
|
return this_0.toString();
|
|
6213
6059
|
};
|
|
6214
6060
|
function isCaseSensitive(_this__u8e3s4) {
|
|
@@ -6219,7 +6065,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6219
6065
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
6220
6066
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
6221
6067
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6222
|
-
// Inline function 'kotlin.text.isCaseSensitive.<anonymous>' call
|
|
6223
6068
|
if (Char__compareTo_impl_ypi4mb(element, _Char___init__impl__6a9atx(128)) >= 0 || isLetter(element)) {
|
|
6224
6069
|
tmp$ret$1 = true;
|
|
6225
6070
|
break $l$block;
|
|
@@ -6240,7 +6085,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6240
6085
|
var start;
|
|
6241
6086
|
var isNegative;
|
|
6242
6087
|
var limit;
|
|
6243
|
-
var firstChar =
|
|
6088
|
+
var firstChar = charCodeAt(_this__u8e3s4, 0);
|
|
6244
6089
|
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
|
|
6245
6090
|
if (length === 1)
|
|
6246
6091
|
return null;
|
|
@@ -6266,7 +6111,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6266
6111
|
do {
|
|
6267
6112
|
var i = inductionVariable;
|
|
6268
6113
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6269
|
-
var digit = digitOf(
|
|
6114
|
+
var digit = digitOf(charCodeAt(_this__u8e3s4, i), radix);
|
|
6270
6115
|
if (digit < 0)
|
|
6271
6116
|
return null;
|
|
6272
6117
|
if (result < limitBeforeMul) {
|
|
@@ -6297,34 +6142,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6297
6142
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
6298
6143
|
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
6299
6144
|
}
|
|
6300
|
-
function
|
|
6301
|
-
|
|
6302
|
-
return indexOf_1(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
6303
|
-
}
|
|
6304
|
-
function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
6305
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6306
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6307
|
-
var tmp;
|
|
6308
|
-
var tmp_0;
|
|
6309
|
-
if (ignoreCase) {
|
|
6310
|
-
tmp_0 = true;
|
|
6311
|
-
} else {
|
|
6312
|
-
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6313
|
-
}
|
|
6314
|
-
if (tmp_0) {
|
|
6315
|
-
// Inline function 'kotlin.charArrayOf' call
|
|
6316
|
-
var tmp$ret$0 = charArrayOf([char]);
|
|
6317
|
-
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
6318
|
-
} else {
|
|
6319
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6320
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6321
|
-
var str = toString(char);
|
|
6322
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
6323
|
-
tmp = _this__u8e3s4.indexOf(str, startIndex);
|
|
6324
|
-
}
|
|
6325
|
-
return tmp;
|
|
6145
|
+
function get_lastIndex_1(_this__u8e3s4) {
|
|
6146
|
+
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
6326
6147
|
}
|
|
6327
|
-
function
|
|
6148
|
+
function indexOf_1(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
6328
6149
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6329
6150
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6330
6151
|
var tmp;
|
|
@@ -6343,22 +6164,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6343
6164
|
}
|
|
6344
6165
|
return tmp;
|
|
6345
6166
|
}
|
|
6346
|
-
function
|
|
6167
|
+
function contains_2(_this__u8e3s4, other, ignoreCase) {
|
|
6347
6168
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6348
6169
|
var tmp;
|
|
6349
6170
|
if (typeof other === 'string') {
|
|
6350
|
-
tmp =
|
|
6171
|
+
tmp = indexOf_1(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
|
|
6351
6172
|
} else {
|
|
6352
6173
|
tmp = indexOf_3(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
|
|
6353
6174
|
}
|
|
6354
6175
|
return tmp;
|
|
6355
6176
|
}
|
|
6356
|
-
function
|
|
6357
|
-
|
|
6358
|
-
// Inline function 'kotlin.text.substring' call
|
|
6359
|
-
var endIndex = range.b8() + 1 | 0;
|
|
6360
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
6361
|
-
return _this__u8e3s4.substring(tmp1, endIndex);
|
|
6177
|
+
function substring_1(_this__u8e3s4, range) {
|
|
6178
|
+
return substring(_this__u8e3s4, range.y7(), range.z7() + 1 | 0);
|
|
6362
6179
|
}
|
|
6363
6180
|
function padEnd(_this__u8e3s4, length, padChar) {
|
|
6364
6181
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
@@ -6381,14 +6198,37 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6381
6198
|
var _iterator__ex2g4s = this_0.g();
|
|
6382
6199
|
while (_iterator__ex2g4s.h()) {
|
|
6383
6200
|
var item = _iterator__ex2g4s.i();
|
|
6384
|
-
|
|
6385
|
-
var tmp$ret$1 = substring_0(_this__u8e3s4, item);
|
|
6201
|
+
var tmp$ret$1 = substring_2(_this__u8e3s4, item);
|
|
6386
6202
|
destination.d(tmp$ret$1);
|
|
6387
6203
|
}
|
|
6388
6204
|
return destination;
|
|
6389
6205
|
}
|
|
6390
|
-
function
|
|
6391
|
-
|
|
6206
|
+
function contains_3(_this__u8e3s4, char, ignoreCase) {
|
|
6207
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6208
|
+
return indexOf_2(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
6209
|
+
}
|
|
6210
|
+
function indexOf_2(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
6211
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6212
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6213
|
+
var tmp;
|
|
6214
|
+
var tmp_0;
|
|
6215
|
+
if (ignoreCase) {
|
|
6216
|
+
tmp_0 = true;
|
|
6217
|
+
} else {
|
|
6218
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6219
|
+
}
|
|
6220
|
+
if (tmp_0) {
|
|
6221
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
6222
|
+
var tmp$ret$0 = charArrayOf([char]);
|
|
6223
|
+
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
6224
|
+
} else {
|
|
6225
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6226
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6227
|
+
var str = toString(char);
|
|
6228
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
6229
|
+
tmp = _this__u8e3s4.indexOf(str, startIndex);
|
|
6230
|
+
}
|
|
6231
|
+
return tmp;
|
|
6392
6232
|
}
|
|
6393
6233
|
function isBlank(_this__u8e3s4) {
|
|
6394
6234
|
var tmp$ret$1;
|
|
@@ -6398,7 +6238,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6398
6238
|
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
|
|
6399
6239
|
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
|
|
6400
6240
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6401
|
-
// Inline function 'kotlin.text.isBlank.<anonymous>' call
|
|
6402
6241
|
if (!isWhitespace(element)) {
|
|
6403
6242
|
tmp$ret$1 = false;
|
|
6404
6243
|
break $l$block;
|
|
@@ -6442,51 +6281,36 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6442
6281
|
while (inductionVariable < length);
|
|
6443
6282
|
return true;
|
|
6444
6283
|
}
|
|
6445
|
-
function
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
var
|
|
6449
|
-
if (
|
|
6450
|
-
|
|
6451
|
-
} else {
|
|
6452
|
-
tmp = false;
|
|
6284
|
+
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
6285
|
+
requireNonNegativeLimit(limit);
|
|
6286
|
+
var currentOffset = 0;
|
|
6287
|
+
var nextIndex = indexOf_1(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6288
|
+
if (nextIndex === -1 || limit === 1) {
|
|
6289
|
+
return listOf(toString_1(_this__u8e3s4));
|
|
6453
6290
|
}
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6291
|
+
var isLimited = limit > 0;
|
|
6292
|
+
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
6293
|
+
$l$loop: do {
|
|
6294
|
+
var tmp2 = currentOffset;
|
|
6295
|
+
// Inline function 'kotlin.text.substring' call
|
|
6296
|
+
var endIndex = nextIndex;
|
|
6297
|
+
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
|
|
6298
|
+
result.d(tmp$ret$0);
|
|
6299
|
+
currentOffset = nextIndex + delimiter.length | 0;
|
|
6300
|
+
if (isLimited && result.j() === (limit - 1 | 0))
|
|
6301
|
+
break $l$loop;
|
|
6302
|
+
nextIndex = indexOf_1(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6461
6303
|
}
|
|
6462
|
-
|
|
6463
|
-
var
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
var inductionVariable_0 = 0;
|
|
6473
|
-
var last_0 = chars.length;
|
|
6474
|
-
while (inductionVariable_0 < last_0) {
|
|
6475
|
-
var element = chars[inductionVariable_0];
|
|
6476
|
-
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6477
|
-
// Inline function 'kotlin.text.indexOfAny.<anonymous>' call
|
|
6478
|
-
if (equals_0(element, charAtIndex, ignoreCase)) {
|
|
6479
|
-
tmp$ret$4 = true;
|
|
6480
|
-
break $l$block;
|
|
6481
|
-
}
|
|
6482
|
-
}
|
|
6483
|
-
tmp$ret$4 = false;
|
|
6484
|
-
}
|
|
6485
|
-
if (tmp$ret$4)
|
|
6486
|
-
return index;
|
|
6487
|
-
}
|
|
6488
|
-
while (!(index === last));
|
|
6489
|
-
return -1;
|
|
6304
|
+
while (!(nextIndex === -1));
|
|
6305
|
+
var tmp2_0 = currentOffset;
|
|
6306
|
+
// Inline function 'kotlin.text.substring' call
|
|
6307
|
+
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6308
|
+
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2_0, endIndex_0));
|
|
6309
|
+
result.d(tmp$ret$1);
|
|
6310
|
+
return result;
|
|
6311
|
+
}
|
|
6312
|
+
function substring_2(_this__u8e3s4, range) {
|
|
6313
|
+
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.y7(), range.z7() + 1 | 0));
|
|
6490
6314
|
}
|
|
6491
6315
|
function trim(_this__u8e3s4) {
|
|
6492
6316
|
// Inline function 'kotlin.text.trim' call
|
|
@@ -6495,7 +6319,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6495
6319
|
var startFound = false;
|
|
6496
6320
|
$l$loop: while (startIndex <= endIndex) {
|
|
6497
6321
|
var index = !startFound ? startIndex : endIndex;
|
|
6498
|
-
// Inline function 'kotlin.text.trim.stub_for_inlining' call
|
|
6499
6322
|
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
6500
6323
|
var match = isWhitespace(p0);
|
|
6501
6324
|
if (!startFound) {
|
|
@@ -6549,18 +6372,18 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6549
6372
|
return -1;
|
|
6550
6373
|
}
|
|
6551
6374
|
function replaceRange(_this__u8e3s4, range, replacement) {
|
|
6552
|
-
return replaceRange_0(_this__u8e3s4, range.
|
|
6375
|
+
return replaceRange_0(_this__u8e3s4, range.y7(), range.z7() + 1 | 0, replacement);
|
|
6553
6376
|
}
|
|
6554
6377
|
function replaceRange_0(_this__u8e3s4, startIndex, endIndex, replacement) {
|
|
6555
6378
|
if (endIndex < startIndex)
|
|
6556
6379
|
throw IndexOutOfBoundsException_init_$Create$_0('End index (' + endIndex + ') is less than start index (' + startIndex + ').');
|
|
6557
6380
|
var sb = StringBuilder_init_$Create$_0();
|
|
6558
6381
|
// Inline function 'kotlin.text.appendRange' call
|
|
6559
|
-
sb.
|
|
6382
|
+
sb.c7(_this__u8e3s4, 0, startIndex);
|
|
6560
6383
|
sb.e(replacement);
|
|
6561
6384
|
// Inline function 'kotlin.text.appendRange' call
|
|
6562
6385
|
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6563
|
-
sb.
|
|
6386
|
+
sb.c7(_this__u8e3s4, endIndex, endIndex_0);
|
|
6564
6387
|
return sb;
|
|
6565
6388
|
}
|
|
6566
6389
|
function padEnd_0(_this__u8e3s4, length, padChar) {
|
|
@@ -6582,37 +6405,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6582
6405
|
while (!(i === last));
|
|
6583
6406
|
return sb;
|
|
6584
6407
|
}
|
|
6585
|
-
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
6586
|
-
requireNonNegativeLimit(limit);
|
|
6587
|
-
var currentOffset = 0;
|
|
6588
|
-
var nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6589
|
-
if (nextIndex === -1 || limit === 1) {
|
|
6590
|
-
return listOf(toString_1(_this__u8e3s4));
|
|
6591
|
-
}
|
|
6592
|
-
var isLimited = limit > 0;
|
|
6593
|
-
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
6594
|
-
$l$loop: do {
|
|
6595
|
-
var tmp1 = currentOffset;
|
|
6596
|
-
// Inline function 'kotlin.text.substring' call
|
|
6597
|
-
var endIndex = nextIndex;
|
|
6598
|
-
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp1, endIndex));
|
|
6599
|
-
result.d(tmp$ret$0);
|
|
6600
|
-
currentOffset = nextIndex + delimiter.length | 0;
|
|
6601
|
-
if (isLimited && result.j() === (limit - 1 | 0))
|
|
6602
|
-
break $l$loop;
|
|
6603
|
-
nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
6604
|
-
}
|
|
6605
|
-
while (!(nextIndex === -1));
|
|
6606
|
-
var tmp4 = currentOffset;
|
|
6607
|
-
// Inline function 'kotlin.text.substring' call
|
|
6608
|
-
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6609
|
-
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp4, endIndex_0));
|
|
6610
|
-
result.d(tmp$ret$1);
|
|
6611
|
-
return result;
|
|
6612
|
-
}
|
|
6613
|
-
function substring_0(_this__u8e3s4, range) {
|
|
6614
|
-
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.a8(), range.b8() + 1 | 0));
|
|
6615
|
-
}
|
|
6616
6408
|
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
6617
6409
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6618
6410
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -6621,83 +6413,127 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6621
6413
|
var delimitersList = asList(delimiters);
|
|
6622
6414
|
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
6623
6415
|
}
|
|
6624
|
-
function
|
|
6416
|
+
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
6417
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6418
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6625
6419
|
var tmp;
|
|
6420
|
+
if (!ignoreCase && chars.length === 1) {
|
|
6421
|
+
tmp = typeof _this__u8e3s4 === 'string';
|
|
6422
|
+
} else {
|
|
6423
|
+
tmp = false;
|
|
6424
|
+
}
|
|
6425
|
+
if (tmp) {
|
|
6426
|
+
var char = single(chars);
|
|
6427
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6428
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6429
|
+
var str = toString(char);
|
|
6430
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
6431
|
+
return _this__u8e3s4.indexOf(str, startIndex);
|
|
6432
|
+
}
|
|
6433
|
+
var inductionVariable = coerceAtLeast(startIndex, 0);
|
|
6434
|
+
var last = get_lastIndex_1(_this__u8e3s4);
|
|
6435
|
+
if (inductionVariable <= last)
|
|
6436
|
+
do {
|
|
6437
|
+
var index = inductionVariable;
|
|
6438
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
6439
|
+
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
|
|
6440
|
+
var tmp$ret$4;
|
|
6441
|
+
$l$block: {
|
|
6442
|
+
// Inline function 'kotlin.collections.any' call
|
|
6443
|
+
var inductionVariable_0 = 0;
|
|
6444
|
+
var last_0 = chars.length;
|
|
6445
|
+
while (inductionVariable_0 < last_0) {
|
|
6446
|
+
var element = chars[inductionVariable_0];
|
|
6447
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6448
|
+
if (equals_0(element, charAtIndex, ignoreCase)) {
|
|
6449
|
+
tmp$ret$4 = true;
|
|
6450
|
+
break $l$block;
|
|
6451
|
+
}
|
|
6452
|
+
}
|
|
6453
|
+
tmp$ret$4 = false;
|
|
6454
|
+
}
|
|
6455
|
+
if (tmp$ret$4)
|
|
6456
|
+
return index;
|
|
6457
|
+
}
|
|
6458
|
+
while (!(index === last));
|
|
6459
|
+
return -1;
|
|
6460
|
+
}
|
|
6461
|
+
function requireNonNegativeLimit(limit) {
|
|
6462
|
+
// Inline function 'kotlin.require' call
|
|
6626
6463
|
if (!(limit >= 0)) {
|
|
6627
|
-
// Inline function 'kotlin.text.requireNonNegativeLimit.<anonymous>' call
|
|
6628
6464
|
var message = 'Limit must be non-negative, but was ' + limit;
|
|
6629
6465
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
6630
6466
|
}
|
|
6631
|
-
return
|
|
6467
|
+
return Unit_instance;
|
|
6632
6468
|
}
|
|
6633
6469
|
function calcNext_0($this) {
|
|
6634
|
-
if ($this.
|
|
6635
|
-
$this.
|
|
6636
|
-
$this.
|
|
6470
|
+
if ($this.wa_1 < 0) {
|
|
6471
|
+
$this.ua_1 = 0;
|
|
6472
|
+
$this.xa_1 = null;
|
|
6637
6473
|
} else {
|
|
6638
6474
|
var tmp;
|
|
6639
6475
|
var tmp_0;
|
|
6640
|
-
if ($this.
|
|
6641
|
-
$this.
|
|
6642
|
-
tmp_0 = $this.
|
|
6476
|
+
if ($this.za_1.cb_1 > 0) {
|
|
6477
|
+
$this.ya_1 = $this.ya_1 + 1 | 0;
|
|
6478
|
+
tmp_0 = $this.ya_1 >= $this.za_1.cb_1;
|
|
6643
6479
|
} else {
|
|
6644
6480
|
tmp_0 = false;
|
|
6645
6481
|
}
|
|
6646
6482
|
if (tmp_0) {
|
|
6647
6483
|
tmp = true;
|
|
6648
6484
|
} else {
|
|
6649
|
-
tmp = $this.
|
|
6485
|
+
tmp = $this.wa_1 > charSequenceLength($this.za_1.ab_1);
|
|
6650
6486
|
}
|
|
6651
6487
|
if (tmp) {
|
|
6652
|
-
$this.
|
|
6653
|
-
$this.
|
|
6488
|
+
$this.xa_1 = numberRangeToNumber($this.va_1, get_lastIndex_1($this.za_1.ab_1));
|
|
6489
|
+
$this.wa_1 = -1;
|
|
6654
6490
|
} else {
|
|
6655
|
-
var match = $this.db_1
|
|
6491
|
+
var match = $this.za_1.db_1($this.za_1.ab_1, $this.wa_1);
|
|
6656
6492
|
if (match == null) {
|
|
6657
|
-
$this.
|
|
6658
|
-
$this.
|
|
6493
|
+
$this.xa_1 = numberRangeToNumber($this.va_1, get_lastIndex_1($this.za_1.ab_1));
|
|
6494
|
+
$this.wa_1 = -1;
|
|
6659
6495
|
} else {
|
|
6660
|
-
var index = match.
|
|
6661
|
-
var length = match.
|
|
6662
|
-
$this.
|
|
6663
|
-
$this.
|
|
6664
|
-
$this.
|
|
6496
|
+
var index = match.gb();
|
|
6497
|
+
var length = match.hb();
|
|
6498
|
+
$this.xa_1 = until($this.va_1, index);
|
|
6499
|
+
$this.va_1 = index + length | 0;
|
|
6500
|
+
$this.wa_1 = $this.va_1 + (length === 0 ? 1 : 0) | 0;
|
|
6665
6501
|
}
|
|
6666
6502
|
}
|
|
6667
|
-
$this.
|
|
6503
|
+
$this.ua_1 = 1;
|
|
6668
6504
|
}
|
|
6669
6505
|
}
|
|
6670
6506
|
function DelimitedRangesSequence$iterator$1(this$0) {
|
|
6671
|
-
this.
|
|
6672
|
-
this.
|
|
6673
|
-
this.
|
|
6674
|
-
this.
|
|
6675
|
-
this.
|
|
6676
|
-
this.
|
|
6507
|
+
this.za_1 = this$0;
|
|
6508
|
+
this.ua_1 = -1;
|
|
6509
|
+
this.va_1 = coerceIn(this$0.bb_1, 0, charSequenceLength(this$0.ab_1));
|
|
6510
|
+
this.wa_1 = this.va_1;
|
|
6511
|
+
this.xa_1 = null;
|
|
6512
|
+
this.ya_1 = 0;
|
|
6677
6513
|
}
|
|
6678
6514
|
protoOf(DelimitedRangesSequence$iterator$1).i = function () {
|
|
6679
|
-
if (this.
|
|
6515
|
+
if (this.ua_1 === -1) {
|
|
6680
6516
|
calcNext_0(this);
|
|
6681
6517
|
}
|
|
6682
|
-
if (this.
|
|
6518
|
+
if (this.ua_1 === 0)
|
|
6683
6519
|
throw NoSuchElementException_init_$Create$();
|
|
6684
|
-
var tmp = this.
|
|
6520
|
+
var tmp = this.xa_1;
|
|
6685
6521
|
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
|
|
6686
|
-
this.
|
|
6687
|
-
this.
|
|
6522
|
+
this.xa_1 = null;
|
|
6523
|
+
this.ua_1 = -1;
|
|
6688
6524
|
return result;
|
|
6689
6525
|
};
|
|
6690
6526
|
protoOf(DelimitedRangesSequence$iterator$1).h = function () {
|
|
6691
|
-
if (this.
|
|
6527
|
+
if (this.ua_1 === -1) {
|
|
6692
6528
|
calcNext_0(this);
|
|
6693
6529
|
}
|
|
6694
|
-
return this.
|
|
6530
|
+
return this.ua_1 === 1;
|
|
6695
6531
|
};
|
|
6696
6532
|
function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
|
|
6697
|
-
this.
|
|
6698
|
-
this.
|
|
6699
|
-
this.
|
|
6700
|
-
this.
|
|
6533
|
+
this.ab_1 = input;
|
|
6534
|
+
this.bb_1 = startIndex;
|
|
6535
|
+
this.cb_1 = limit;
|
|
6536
|
+
this.db_1 = getNextMatch;
|
|
6701
6537
|
}
|
|
6702
6538
|
protoOf(DelimitedRangesSequence).g = function () {
|
|
6703
6539
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
@@ -6705,7 +6541,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6705
6541
|
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
6706
6542
|
if (!ignoreCase && strings.j() === 1) {
|
|
6707
6543
|
var string = single_1(strings);
|
|
6708
|
-
var index = !last ?
|
|
6544
|
+
var index = !last ? indexOf_1(_this__u8e3s4, string, startIndex) : lastIndexOf(_this__u8e3s4, string, startIndex);
|
|
6709
6545
|
return index < 0 ? null : to(index, string);
|
|
6710
6546
|
}
|
|
6711
6547
|
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_1(_this__u8e3s4)), 0);
|
|
@@ -6723,7 +6559,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6723
6559
|
var _iterator__ex2g4s = strings.g();
|
|
6724
6560
|
while (_iterator__ex2g4s.h()) {
|
|
6725
6561
|
var element = _iterator__ex2g4s.i();
|
|
6726
|
-
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6727
6562
|
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
|
|
6728
6563
|
tmp$ret$1 = element;
|
|
6729
6564
|
break $l$block;
|
|
@@ -6750,7 +6585,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6750
6585
|
var _iterator__ex2g4s_0 = strings.g();
|
|
6751
6586
|
while (_iterator__ex2g4s_0.h()) {
|
|
6752
6587
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
6753
|
-
// Inline function 'kotlin.text.findAnyOf.<anonymous>' call
|
|
6754
6588
|
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
|
|
6755
6589
|
tmp$ret$3 = element_0;
|
|
6756
6590
|
break $l$block_0;
|
|
@@ -6786,17 +6620,17 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6786
6620
|
return tmp;
|
|
6787
6621
|
}
|
|
6788
6622
|
function iterator$1($this_iterator) {
|
|
6789
|
-
this.
|
|
6623
|
+
this.jb_1 = $this_iterator;
|
|
6790
6624
|
CharIterator.call(this);
|
|
6791
|
-
this.
|
|
6625
|
+
this.ib_1 = 0;
|
|
6792
6626
|
}
|
|
6793
|
-
protoOf(iterator$1).
|
|
6794
|
-
var _unary__edvuaz = this.
|
|
6795
|
-
this.
|
|
6796
|
-
return charSequenceGet(this.
|
|
6627
|
+
protoOf(iterator$1).v8 = function () {
|
|
6628
|
+
var _unary__edvuaz = this.ib_1;
|
|
6629
|
+
this.ib_1 = _unary__edvuaz + 1 | 0;
|
|
6630
|
+
return charSequenceGet(this.jb_1, _unary__edvuaz);
|
|
6797
6631
|
};
|
|
6798
6632
|
protoOf(iterator$1).h = function () {
|
|
6799
|
-
return this.
|
|
6633
|
+
return this.ib_1 < charSequenceLength(this.jb_1);
|
|
6800
6634
|
};
|
|
6801
6635
|
function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
|
|
6802
6636
|
return function ($this$DelimitedRangesSequence, currentIndex) {
|
|
@@ -6806,8 +6640,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6806
6640
|
tmp = null;
|
|
6807
6641
|
} else {
|
|
6808
6642
|
// Inline function 'kotlin.let' call
|
|
6809
|
-
|
|
6810
|
-
tmp = to(tmp0_safe_receiver.ib_1, tmp0_safe_receiver.jb_1.length);
|
|
6643
|
+
tmp = to(tmp0_safe_receiver.eb_1, tmp0_safe_receiver.fb_1.length);
|
|
6811
6644
|
}
|
|
6812
6645
|
return tmp;
|
|
6813
6646
|
};
|
|
@@ -6815,21 +6648,21 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6815
6648
|
function MatchNamedGroupCollection() {
|
|
6816
6649
|
}
|
|
6817
6650
|
function Pair(first, second) {
|
|
6818
|
-
this.
|
|
6819
|
-
this.
|
|
6651
|
+
this.eb_1 = first;
|
|
6652
|
+
this.fb_1 = second;
|
|
6820
6653
|
}
|
|
6821
6654
|
protoOf(Pair).toString = function () {
|
|
6822
|
-
return '(' + toString_0(this.
|
|
6655
|
+
return '(' + toString_0(this.eb_1) + ', ' + toString_0(this.fb_1) + ')';
|
|
6823
6656
|
};
|
|
6824
|
-
protoOf(Pair).
|
|
6825
|
-
return this.
|
|
6657
|
+
protoOf(Pair).gb = function () {
|
|
6658
|
+
return this.eb_1;
|
|
6826
6659
|
};
|
|
6827
|
-
protoOf(Pair).
|
|
6828
|
-
return this.
|
|
6660
|
+
protoOf(Pair).hb = function () {
|
|
6661
|
+
return this.fb_1;
|
|
6829
6662
|
};
|
|
6830
6663
|
protoOf(Pair).hashCode = function () {
|
|
6831
|
-
var result = this.
|
|
6832
|
-
result = imul(result, 31) + (this.
|
|
6664
|
+
var result = this.eb_1 == null ? 0 : hashCode(this.eb_1);
|
|
6665
|
+
result = imul(result, 31) + (this.fb_1 == null ? 0 : hashCode(this.fb_1)) | 0;
|
|
6833
6666
|
return result;
|
|
6834
6667
|
};
|
|
6835
6668
|
protoOf(Pair).equals = function (other) {
|
|
@@ -6838,9 +6671,9 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6838
6671
|
if (!(other instanceof Pair))
|
|
6839
6672
|
return false;
|
|
6840
6673
|
var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE();
|
|
6841
|
-
if (!equals(this.
|
|
6674
|
+
if (!equals(this.eb_1, tmp0_other_with_cast.eb_1))
|
|
6842
6675
|
return false;
|
|
6843
|
-
if (!equals(this.
|
|
6676
|
+
if (!equals(this.fb_1, tmp0_other_with_cast.fb_1))
|
|
6844
6677
|
return false;
|
|
6845
6678
|
return true;
|
|
6846
6679
|
};
|
|
@@ -6861,10 +6694,10 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6861
6694
|
}
|
|
6862
6695
|
function Companion_14() {
|
|
6863
6696
|
Companion_instance_14 = this;
|
|
6864
|
-
this.
|
|
6865
|
-
this.
|
|
6866
|
-
this.
|
|
6867
|
-
this.
|
|
6697
|
+
this.kb_1 = _UInt___init__impl__l7qpdl(0);
|
|
6698
|
+
this.lb_1 = _UInt___init__impl__l7qpdl(-1);
|
|
6699
|
+
this.mb_1 = 4;
|
|
6700
|
+
this.nb_1 = 32;
|
|
6868
6701
|
}
|
|
6869
6702
|
var Companion_instance_14;
|
|
6870
6703
|
function Companion_getInstance_14() {
|
|
@@ -6876,7 +6709,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6876
6709
|
return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other));
|
|
6877
6710
|
}
|
|
6878
6711
|
function UInt__compareTo_impl_yacclj_0($this, other) {
|
|
6879
|
-
return UInt__compareTo_impl_yacclj($this.
|
|
6712
|
+
return UInt__compareTo_impl_yacclj($this.ob_1, other instanceof UInt ? other.ob_1 : THROW_CCE());
|
|
6880
6713
|
}
|
|
6881
6714
|
function UInt__toString_impl_dbgl21($this) {
|
|
6882
6715
|
// Inline function 'kotlin.uintToString' call
|
|
@@ -6890,28 +6723,28 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6890
6723
|
function UInt__equals_impl_ffdoxg($this, other) {
|
|
6891
6724
|
if (!(other instanceof UInt))
|
|
6892
6725
|
return false;
|
|
6893
|
-
if (!($this === (other instanceof UInt ? other.
|
|
6726
|
+
if (!($this === (other instanceof UInt ? other.ob_1 : THROW_CCE())))
|
|
6894
6727
|
return false;
|
|
6895
6728
|
return true;
|
|
6896
6729
|
}
|
|
6897
6730
|
function UInt(data) {
|
|
6898
6731
|
Companion_getInstance_14();
|
|
6899
|
-
this.
|
|
6732
|
+
this.ob_1 = data;
|
|
6900
6733
|
}
|
|
6901
|
-
protoOf(UInt).
|
|
6902
|
-
return UInt__compareTo_impl_yacclj(this.
|
|
6734
|
+
protoOf(UInt).pb = function (other) {
|
|
6735
|
+
return UInt__compareTo_impl_yacclj(this.ob_1, other);
|
|
6903
6736
|
};
|
|
6904
6737
|
protoOf(UInt).q1 = function (other) {
|
|
6905
6738
|
return UInt__compareTo_impl_yacclj_0(this, other);
|
|
6906
6739
|
};
|
|
6907
6740
|
protoOf(UInt).toString = function () {
|
|
6908
|
-
return UInt__toString_impl_dbgl21(this.
|
|
6741
|
+
return UInt__toString_impl_dbgl21(this.ob_1);
|
|
6909
6742
|
};
|
|
6910
6743
|
protoOf(UInt).hashCode = function () {
|
|
6911
|
-
return UInt__hashCode_impl_z2mhuw(this.
|
|
6744
|
+
return UInt__hashCode_impl_z2mhuw(this.ob_1);
|
|
6912
6745
|
};
|
|
6913
6746
|
protoOf(UInt).equals = function (other) {
|
|
6914
|
-
return UInt__equals_impl_ffdoxg(this.
|
|
6747
|
+
return UInt__equals_impl_ffdoxg(this.ob_1, other);
|
|
6915
6748
|
};
|
|
6916
6749
|
function _UShort___init__impl__jigrne(data) {
|
|
6917
6750
|
return data;
|
|
@@ -6942,7 +6775,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6942
6775
|
return null;
|
|
6943
6776
|
var limit = _UInt___init__impl__l7qpdl(-1);
|
|
6944
6777
|
var start;
|
|
6945
|
-
var firstChar =
|
|
6778
|
+
var firstChar = charCodeAt(_this__u8e3s4, 0);
|
|
6946
6779
|
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
|
|
6947
6780
|
if (length === 1 || !(firstChar === _Char___init__impl__6a9atx(43)))
|
|
6948
6781
|
return null;
|
|
@@ -6960,20 +6793,20 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6960
6793
|
do {
|
|
6961
6794
|
var i = inductionVariable;
|
|
6962
6795
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6963
|
-
var digit = digitOf(
|
|
6796
|
+
var digit = digitOf(charCodeAt(_this__u8e3s4, i), radix);
|
|
6964
6797
|
if (digit < 0)
|
|
6965
6798
|
return null;
|
|
6966
|
-
var
|
|
6799
|
+
var tmp0 = result;
|
|
6967
6800
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
6968
6801
|
var other = limitBeforeMul;
|
|
6969
|
-
if (uintCompare(_UInt___get_data__impl__f0vqqw(
|
|
6802
|
+
if (uintCompare(_UInt___get_data__impl__f0vqqw(tmp0), _UInt___get_data__impl__f0vqqw(other)) > 0) {
|
|
6970
6803
|
if (limitBeforeMul === limitForMaxRadix) {
|
|
6971
6804
|
// Inline function 'kotlin.UInt.div' call
|
|
6972
6805
|
limitBeforeMul = uintDivide(limit, uradix);
|
|
6973
|
-
var
|
|
6806
|
+
var tmp0_0 = result;
|
|
6974
6807
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
6975
6808
|
var other_0 = limitBeforeMul;
|
|
6976
|
-
if (uintCompare(_UInt___get_data__impl__f0vqqw(
|
|
6809
|
+
if (uintCompare(_UInt___get_data__impl__f0vqqw(tmp0_0), _UInt___get_data__impl__f0vqqw(other_0)) > 0) {
|
|
6977
6810
|
return null;
|
|
6978
6811
|
}
|
|
6979
6812
|
} else {
|
|
@@ -6984,11 +6817,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6984
6817
|
var this_0 = result;
|
|
6985
6818
|
result = _UInt___init__impl__l7qpdl(imul(_UInt___get_data__impl__f0vqqw(this_0), _UInt___get_data__impl__f0vqqw(uradix)));
|
|
6986
6819
|
var beforeAdding = result;
|
|
6987
|
-
var
|
|
6820
|
+
var tmp0_1 = result;
|
|
6988
6821
|
// Inline function 'kotlin.toUInt' call
|
|
6989
6822
|
// Inline function 'kotlin.UInt.plus' call
|
|
6990
6823
|
var other_1 = _UInt___init__impl__l7qpdl(digit);
|
|
6991
|
-
result = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(
|
|
6824
|
+
result = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_1) + _UInt___get_data__impl__f0vqqw(other_1) | 0);
|
|
6992
6825
|
// Inline function 'kotlin.UInt.compareTo' call
|
|
6993
6826
|
var this_1 = result;
|
|
6994
6827
|
if (uintCompare(_UInt___get_data__impl__f0vqqw(this_1), _UInt___get_data__impl__f0vqqw(beforeAdding)) < 0)
|
|
@@ -6998,7 +6831,7 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
6998
6831
|
return result;
|
|
6999
6832
|
}
|
|
7000
6833
|
//region block: post-declaration
|
|
7001
|
-
protoOf(InternalHashMap).
|
|
6834
|
+
protoOf(InternalHashMap).b5 = containsAllEntries;
|
|
7002
6835
|
//endregion
|
|
7003
6836
|
//region block: init
|
|
7004
6837
|
Companion_instance_0 = new Companion_0();
|
|
@@ -7051,72 +6884,74 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
7051
6884
|
_.$_$.i1 = getProgressionLastElement;
|
|
7052
6885
|
_.$_$.j1 = println;
|
|
7053
6886
|
_.$_$.k1 = captureStack;
|
|
7054
|
-
_.$_$.l1 =
|
|
7055
|
-
_.$_$.m1 =
|
|
7056
|
-
_.$_$.n1 =
|
|
7057
|
-
_.$_$.o1 =
|
|
7058
|
-
_.$_$.p1 =
|
|
7059
|
-
_.$_$.q1 =
|
|
7060
|
-
_.$_$.r1 =
|
|
7061
|
-
_.$_$.s1 =
|
|
7062
|
-
_.$_$.t1 =
|
|
7063
|
-
_.$_$.u1 =
|
|
7064
|
-
_.$_$.v1 =
|
|
7065
|
-
_.$_$.w1 =
|
|
7066
|
-
_.$_$.x1 =
|
|
7067
|
-
_.$_$.y1 =
|
|
7068
|
-
_.$_$.z1 =
|
|
7069
|
-
_.$_$.a2 =
|
|
7070
|
-
_.$_$.b2 =
|
|
7071
|
-
_.$_$.c2 =
|
|
7072
|
-
_.$_$.d2 =
|
|
7073
|
-
_.$_$.e2 =
|
|
7074
|
-
_.$_$.f2 =
|
|
7075
|
-
_.$_$.g2 =
|
|
7076
|
-
_.$_$.h2 =
|
|
7077
|
-
_.$_$.i2 =
|
|
7078
|
-
_.$_$.j2 =
|
|
7079
|
-
_.$_$.k2 =
|
|
7080
|
-
_.$_$.l2 =
|
|
7081
|
-
_.$_$.m2 =
|
|
7082
|
-
_.$_$.n2 =
|
|
7083
|
-
_.$_$.o2 =
|
|
7084
|
-
_.$_$.p2 =
|
|
7085
|
-
_.$_$.q2 =
|
|
7086
|
-
_.$_$.r2 =
|
|
7087
|
-
_.$_$.s2 =
|
|
7088
|
-
_.$_$.t2 =
|
|
7089
|
-
_.$_$.u2 =
|
|
7090
|
-
_.$_$.v2 =
|
|
7091
|
-
_.$_$.w2 =
|
|
7092
|
-
_.$_$.x2 =
|
|
7093
|
-
_.$_$.y2 =
|
|
7094
|
-
_.$_$.z2 =
|
|
7095
|
-
_.$_$.a3 =
|
|
7096
|
-
_.$_$.b3 =
|
|
7097
|
-
_.$_$.c3 =
|
|
7098
|
-
_.$_$.d3 =
|
|
7099
|
-
_.$_$.e3 =
|
|
7100
|
-
_.$_$.f3 =
|
|
7101
|
-
_.$_$.g3 =
|
|
7102
|
-
_.$_$.h3 =
|
|
7103
|
-
_.$_$.i3 =
|
|
7104
|
-
_.$_$.j3 =
|
|
7105
|
-
_.$_$.k3 =
|
|
7106
|
-
_.$_$.l3 =
|
|
7107
|
-
_.$_$.m3 =
|
|
7108
|
-
_.$_$.n3 =
|
|
7109
|
-
_.$_$.o3 =
|
|
7110
|
-
_.$_$.p3 =
|
|
7111
|
-
_.$_$.q3 =
|
|
7112
|
-
_.$_$.r3 =
|
|
7113
|
-
_.$_$.s3 =
|
|
7114
|
-
_.$_$.t3 =
|
|
7115
|
-
_.$_$.u3 =
|
|
7116
|
-
_.$_$.v3 =
|
|
7117
|
-
_.$_$.w3 =
|
|
7118
|
-
_.$_$.x3 =
|
|
7119
|
-
_.$_$.y3 =
|
|
6887
|
+
_.$_$.l1 = charCodeAt;
|
|
6888
|
+
_.$_$.m1 = charSequenceGet;
|
|
6889
|
+
_.$_$.n1 = charSequenceLength;
|
|
6890
|
+
_.$_$.o1 = compareTo;
|
|
6891
|
+
_.$_$.p1 = defineProp;
|
|
6892
|
+
_.$_$.q1 = doubleFromBits;
|
|
6893
|
+
_.$_$.r1 = equals;
|
|
6894
|
+
_.$_$.s1 = floatFromBits;
|
|
6895
|
+
_.$_$.t1 = getNumberHashCode;
|
|
6896
|
+
_.$_$.u1 = initMetadataForClass;
|
|
6897
|
+
_.$_$.v1 = initMetadataForCompanion;
|
|
6898
|
+
_.$_$.w1 = initMetadataForObject;
|
|
6899
|
+
_.$_$.x1 = isCharSequence;
|
|
6900
|
+
_.$_$.y1 = isInterface;
|
|
6901
|
+
_.$_$.z1 = numberRangeToNumber;
|
|
6902
|
+
_.$_$.a2 = numberToChar;
|
|
6903
|
+
_.$_$.b2 = numberToInt;
|
|
6904
|
+
_.$_$.c2 = numberToLong;
|
|
6905
|
+
_.$_$.d2 = protoOf;
|
|
6906
|
+
_.$_$.e2 = toByte;
|
|
6907
|
+
_.$_$.f2 = toLong;
|
|
6908
|
+
_.$_$.g2 = toShort;
|
|
6909
|
+
_.$_$.h2 = toString_1;
|
|
6910
|
+
_.$_$.i2 = roundToInt;
|
|
6911
|
+
_.$_$.j2 = ClosedRange;
|
|
6912
|
+
_.$_$.k2 = coerceAtLeast;
|
|
6913
|
+
_.$_$.l2 = contains_0;
|
|
6914
|
+
_.$_$.m2 = contains_1;
|
|
6915
|
+
_.$_$.n2 = step;
|
|
6916
|
+
_.$_$.o2 = until;
|
|
6917
|
+
_.$_$.p2 = joinToString_2;
|
|
6918
|
+
_.$_$.q2 = map;
|
|
6919
|
+
_.$_$.r2 = toList;
|
|
6920
|
+
_.$_$.s2 = contains_2;
|
|
6921
|
+
_.$_$.t2 = decodeToString;
|
|
6922
|
+
_.$_$.u2 = encodeToByteArray;
|
|
6923
|
+
_.$_$.v2 = hexToByteArray;
|
|
6924
|
+
_.$_$.w2 = hexToByte;
|
|
6925
|
+
_.$_$.x2 = indexOf_1;
|
|
6926
|
+
_.$_$.y2 = iterator;
|
|
6927
|
+
_.$_$.z2 = padEnd;
|
|
6928
|
+
_.$_$.a3 = padStart;
|
|
6929
|
+
_.$_$.b3 = replaceRange;
|
|
6930
|
+
_.$_$.c3 = replaceRange_0;
|
|
6931
|
+
_.$_$.d3 = replace;
|
|
6932
|
+
_.$_$.e3 = slice;
|
|
6933
|
+
_.$_$.f3 = split;
|
|
6934
|
+
_.$_$.g3 = substring_1;
|
|
6935
|
+
_.$_$.h3 = substring;
|
|
6936
|
+
_.$_$.i3 = toCharArray;
|
|
6937
|
+
_.$_$.j3 = toDouble;
|
|
6938
|
+
_.$_$.k3 = toIntOrNull_0;
|
|
6939
|
+
_.$_$.l3 = toInt_0;
|
|
6940
|
+
_.$_$.m3 = toInt;
|
|
6941
|
+
_.$_$.n3 = toString_2;
|
|
6942
|
+
_.$_$.o3 = toString_5;
|
|
6943
|
+
_.$_$.p3 = toUInt;
|
|
6944
|
+
_.$_$.q3 = trim;
|
|
6945
|
+
_.$_$.r3 = Char;
|
|
6946
|
+
_.$_$.s3 = Enum;
|
|
6947
|
+
_.$_$.t3 = Exception;
|
|
6948
|
+
_.$_$.u3 = Long;
|
|
6949
|
+
_.$_$.v3 = THROW_CCE;
|
|
6950
|
+
_.$_$.w3 = THROW_IAE;
|
|
6951
|
+
_.$_$.x3 = noWhenBranchMatchedException;
|
|
6952
|
+
_.$_$.y3 = toBits_0;
|
|
6953
|
+
_.$_$.z3 = toBits;
|
|
6954
|
+
_.$_$.a4 = to;
|
|
7120
6955
|
//endregion
|
|
7121
6956
|
return _;
|
|
7122
6957
|
}));
|