dl-common-util 1.0.0 → 1.0.1
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/dl-common-util.js +1138 -828
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1304 -1122
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -46,6 +46,17 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
46
46
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
+
if (typeof Math.trunc === 'undefined') {
|
|
50
|
+
Math.trunc = function (x) {
|
|
51
|
+
if (isNaN(x)) {
|
|
52
|
+
return NaN;
|
|
53
|
+
}
|
|
54
|
+
if (x > 0) {
|
|
55
|
+
return Math.floor(x);
|
|
56
|
+
}
|
|
57
|
+
return Math.ceil(x);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
49
60
|
if (typeof Math.clz32 === 'undefined') {
|
|
50
61
|
Math.clz32 = function (log, LN2) {
|
|
51
62
|
return function (x) {
|
|
@@ -57,16 +68,11 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
57
68
|
};
|
|
58
69
|
}(Math.log, Math.LN2);
|
|
59
70
|
}
|
|
60
|
-
if (typeof
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
if (x > 0) {
|
|
66
|
-
return Math.floor(x);
|
|
67
|
-
}
|
|
68
|
-
return Math.ceil(x);
|
|
69
|
-
};
|
|
71
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
72
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
73
|
+
position = position || 0;
|
|
74
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
75
|
+
}});
|
|
70
76
|
}
|
|
71
77
|
//endregion
|
|
72
78
|
(function (factory) {
|
|
@@ -94,6 +100,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
94
100
|
initMetadataForInterface(Entry, 'Entry');
|
|
95
101
|
initMetadataForInterface(KtMap, 'Map');
|
|
96
102
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
103
|
+
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
97
104
|
initMetadataForCompanion(Companion_0);
|
|
98
105
|
initMetadataForClass(Enum, 'Enum');
|
|
99
106
|
initMetadataForInterface(FunctionAdapter, 'FunctionAdapter');
|
|
@@ -104,14 +111,14 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
104
111
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
105
112
|
initMetadataForObject(Unit, 'Unit');
|
|
106
113
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
107
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection]);
|
|
114
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
108
115
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
109
|
-
initMetadataForClass(
|
|
110
|
-
initMetadataForClass(
|
|
111
|
-
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, Collection]);
|
|
116
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [MutableIterable, Collection, KtList]);
|
|
117
|
+
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [MutableIterable, KtSet, Collection]);
|
|
112
118
|
initMetadataForCompanion(Companion_1);
|
|
113
|
-
|
|
114
|
-
initMetadataForClass(
|
|
119
|
+
initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
120
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [MutableIterable, Collection, KtList, RandomAccess]);
|
|
121
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [MutableIterable, KtSet, Collection]);
|
|
115
122
|
initMetadataForCompanion(Companion_2);
|
|
116
123
|
initMetadataForClass(Itr, 'Itr');
|
|
117
124
|
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
|
|
@@ -123,7 +130,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
123
130
|
// Inline function 'kotlin.collections.all' call
|
|
124
131
|
var tmp;
|
|
125
132
|
if (isInterface(m, Collection)) {
|
|
126
|
-
tmp = m.
|
|
133
|
+
tmp = m.i();
|
|
127
134
|
} else {
|
|
128
135
|
tmp = false;
|
|
129
136
|
}
|
|
@@ -139,7 +146,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
139
146
|
var entry = element;
|
|
140
147
|
var tmp_0;
|
|
141
148
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
142
|
-
tmp_0 = this.
|
|
149
|
+
tmp_0 = this.n4(entry);
|
|
143
150
|
} else {
|
|
144
151
|
tmp_0 = false;
|
|
145
152
|
}
|
|
@@ -154,11 +161,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
154
161
|
}
|
|
155
162
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
156
163
|
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
|
|
157
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, Collection]);
|
|
158
|
-
initMetadataForClass(BaseOutput, 'BaseOutput');
|
|
159
|
-
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
|
|
160
|
-
initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
|
|
161
|
-
initMetadataForClass(BufferedOutputToConsoleLog, 'BufferedOutputToConsoleLog', BufferedOutputToConsoleLog, BufferedOutput);
|
|
164
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [MutableIterable, KtSet, Collection]);
|
|
162
165
|
initMetadataForClass(Exception, 'Exception', Exception_init_$Create$, Error);
|
|
163
166
|
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException_init_$Create$, Exception);
|
|
164
167
|
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException_init_$Create$, RuntimeException);
|
|
@@ -168,6 +171,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
168
171
|
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException_init_$Create$, RuntimeException);
|
|
169
172
|
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException_init_$Create$, IllegalArgumentException);
|
|
170
173
|
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException_init_$Create$, RuntimeException);
|
|
174
|
+
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
|
|
171
175
|
initMetadataForClass(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', NoWhenBranchMatchedException_init_$Create$, RuntimeException);
|
|
172
176
|
initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException_init_$Create$, RuntimeException);
|
|
173
177
|
initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException_init_$Create$, RuntimeException);
|
|
@@ -181,11 +185,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
181
185
|
initMetadataForClass(MatchGroup, 'MatchGroup');
|
|
182
186
|
initMetadataForInterface(MatchNamedGroupCollection, 'MatchNamedGroupCollection', VOID, VOID, [Collection]);
|
|
183
187
|
initMetadataForClass(findNext$1$groups$1, VOID, VOID, AbstractCollection, [MatchNamedGroupCollection]);
|
|
188
|
+
initMetadataForClass(AbstractList, 'AbstractList', VOID, AbstractCollection, [KtList]);
|
|
189
|
+
initMetadataForClass(findNext$1$groupValues$1, VOID, VOID, AbstractList);
|
|
184
190
|
initMetadataForClass(findNext$1);
|
|
185
191
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
192
|
+
initMetadataForClass(IteratorImpl_0, 'IteratorImpl');
|
|
186
193
|
initMetadataForCompanion(Companion_4);
|
|
187
194
|
initMetadataForCompanion(Companion_5);
|
|
188
|
-
initMetadataForObject(EmptyList, 'EmptyList', VOID, VOID, [KtList]);
|
|
189
195
|
initMetadataForObject(EmptyIterator, 'EmptyIterator');
|
|
190
196
|
initMetadataForClass(IntIterator, 'IntIterator');
|
|
191
197
|
initMetadataForClass(CharIterator, 'CharIterator');
|
|
@@ -201,7 +207,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
201
207
|
initMetadataForCompanion(Companion_7);
|
|
202
208
|
initMetadataForClass(IntProgression, 'IntProgression');
|
|
203
209
|
function contains(value) {
|
|
204
|
-
return compareTo(value, this.
|
|
210
|
+
return compareTo(value, this.v5()) >= 0 && compareTo(value, this.w5()) <= 0;
|
|
205
211
|
}
|
|
206
212
|
initMetadataForInterface(ClosedRange, 'ClosedRange');
|
|
207
213
|
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression, [ClosedRange]);
|
|
@@ -239,6 +245,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
239
245
|
function get_lastIndex(_this__u8e3s4) {
|
|
240
246
|
return _this__u8e3s4.length - 1 | 0;
|
|
241
247
|
}
|
|
248
|
+
function get_lastIndex_0(_this__u8e3s4) {
|
|
249
|
+
return _this__u8e3s4.length - 1 | 0;
|
|
250
|
+
}
|
|
251
|
+
function last(_this__u8e3s4) {
|
|
252
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
253
|
+
if (_this__u8e3s4.length === 0)
|
|
254
|
+
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
255
|
+
return _this__u8e3s4[get_lastIndex_0(_this__u8e3s4)];
|
|
256
|
+
}
|
|
242
257
|
function indexOf_0(_this__u8e3s4, element) {
|
|
243
258
|
if (element == null) {
|
|
244
259
|
var inductionVariable = 0;
|
|
@@ -328,6 +343,23 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
328
343
|
buffer.e(postfix);
|
|
329
344
|
return buffer;
|
|
330
345
|
}
|
|
346
|
+
function contains_0(_this__u8e3s4, element) {
|
|
347
|
+
return indexOf_1(_this__u8e3s4, element) >= 0;
|
|
348
|
+
}
|
|
349
|
+
function indexOf_1(_this__u8e3s4, element) {
|
|
350
|
+
var inductionVariable = 0;
|
|
351
|
+
var last = _this__u8e3s4.length - 1 | 0;
|
|
352
|
+
if (inductionVariable <= last)
|
|
353
|
+
do {
|
|
354
|
+
var index = inductionVariable;
|
|
355
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
356
|
+
if (element === _this__u8e3s4[index]) {
|
|
357
|
+
return index;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
while (inductionVariable <= last);
|
|
361
|
+
return -1;
|
|
362
|
+
}
|
|
331
363
|
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
332
364
|
separator = separator === VOID ? ', ' : separator;
|
|
333
365
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -364,6 +396,11 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
364
396
|
buffer.e(postfix);
|
|
365
397
|
return buffer;
|
|
366
398
|
}
|
|
399
|
+
function last_0(_this__u8e3s4) {
|
|
400
|
+
if (_this__u8e3s4.i())
|
|
401
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
402
|
+
return _this__u8e3s4.j(get_lastIndex_1(_this__u8e3s4));
|
|
403
|
+
}
|
|
367
404
|
function toCollection_0(_this__u8e3s4, destination) {
|
|
368
405
|
var _iterator__ex2g4s = _this__u8e3s4.f();
|
|
369
406
|
while (_iterator__ex2g4s.g()) {
|
|
@@ -375,7 +412,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
375
412
|
function toSet(_this__u8e3s4) {
|
|
376
413
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
377
414
|
var tmp;
|
|
378
|
-
switch (_this__u8e3s4.
|
|
415
|
+
switch (_this__u8e3s4.k()) {
|
|
379
416
|
case 0:
|
|
380
417
|
tmp = emptySet();
|
|
381
418
|
break;
|
|
@@ -390,7 +427,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
390
427
|
tmp = setOf(tmp_0);
|
|
391
428
|
break;
|
|
392
429
|
default:
|
|
393
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.
|
|
430
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.k())));
|
|
394
431
|
break;
|
|
395
432
|
}
|
|
396
433
|
return tmp;
|
|
@@ -402,24 +439,39 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
402
439
|
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
|
|
403
440
|
}
|
|
404
441
|
function asSequence$$inlined$Sequence$1($this_asSequence) {
|
|
405
|
-
this.
|
|
442
|
+
this.l_1 = $this_asSequence;
|
|
406
443
|
}
|
|
407
444
|
protoOf(asSequence$$inlined$Sequence$1).f = function () {
|
|
408
|
-
return this.
|
|
445
|
+
return this.l_1.f();
|
|
409
446
|
};
|
|
410
|
-
function downTo(_this__u8e3s4, to) {
|
|
411
|
-
return Companion_instance_8.l(_this__u8e3s4, to, -1);
|
|
412
|
-
}
|
|
413
447
|
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
414
448
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
415
449
|
}
|
|
416
450
|
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
417
451
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
418
452
|
}
|
|
453
|
+
function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
|
|
454
|
+
if (minimumValue > maximumValue)
|
|
455
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
456
|
+
if (_this__u8e3s4 < minimumValue)
|
|
457
|
+
return minimumValue;
|
|
458
|
+
if (_this__u8e3s4 > maximumValue)
|
|
459
|
+
return maximumValue;
|
|
460
|
+
return _this__u8e3s4;
|
|
461
|
+
}
|
|
462
|
+
function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
|
|
463
|
+
if (minimumValue > maximumValue)
|
|
464
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
465
|
+
if (_this__u8e3s4 < minimumValue)
|
|
466
|
+
return minimumValue;
|
|
467
|
+
if (_this__u8e3s4 > maximumValue)
|
|
468
|
+
return maximumValue;
|
|
469
|
+
return _this__u8e3s4;
|
|
470
|
+
}
|
|
419
471
|
function coerceAtMost_0(_this__u8e3s4, maximumValue) {
|
|
420
472
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
421
473
|
}
|
|
422
|
-
function
|
|
474
|
+
function contains_1(_this__u8e3s4, value) {
|
|
423
475
|
// Inline function 'kotlin.let' call
|
|
424
476
|
var it = toIntExactOrNull(value);
|
|
425
477
|
return !(it == null) ? _this__u8e3s4.m(it) : false;
|
|
@@ -427,23 +479,17 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
427
479
|
function toIntExactOrNull(_this__u8e3s4) {
|
|
428
480
|
return (-2147483648n <= _this__u8e3s4 ? _this__u8e3s4 <= 2147483647n : false) ? convertToInt(_this__u8e3s4) : null;
|
|
429
481
|
}
|
|
430
|
-
function toList(_this__u8e3s4) {
|
|
431
|
-
var it = _this__u8e3s4.f();
|
|
432
|
-
if (!it.g())
|
|
433
|
-
return emptyList();
|
|
434
|
-
var element = it.h();
|
|
435
|
-
if (!it.g())
|
|
436
|
-
return listOf(element);
|
|
437
|
-
var dst = ArrayList_init_$Create$();
|
|
438
|
-
dst.d(element);
|
|
439
|
-
while (it.g()) {
|
|
440
|
-
dst.d(it.h());
|
|
441
|
-
}
|
|
442
|
-
return dst;
|
|
443
|
-
}
|
|
444
482
|
function map(_this__u8e3s4, transform) {
|
|
445
483
|
return new TransformingSequence(_this__u8e3s4, transform);
|
|
446
484
|
}
|
|
485
|
+
function take(_this__u8e3s4, n) {
|
|
486
|
+
// Inline function 'kotlin.require' call
|
|
487
|
+
if (!(n >= 0)) {
|
|
488
|
+
var message = 'Requested character count ' + n + ' is less than zero.';
|
|
489
|
+
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
490
|
+
}
|
|
491
|
+
return substring(_this__u8e3s4, 0, coerceAtMost_0(n, _this__u8e3s4.length));
|
|
492
|
+
}
|
|
447
493
|
function _Char___init__impl__6a9atx(value) {
|
|
448
494
|
return value;
|
|
449
495
|
}
|
|
@@ -459,7 +505,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
459
505
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
460
506
|
}
|
|
461
507
|
function Char__compareTo_impl_ypi4mb_0($this, other) {
|
|
462
|
-
return Char__compareTo_impl_ypi4mb($this.
|
|
508
|
+
return Char__compareTo_impl_ypi4mb($this.n_1, other instanceof Char ? other.n_1 : THROW_CCE());
|
|
463
509
|
}
|
|
464
510
|
function Char__minus_impl_a2frrh($this, other) {
|
|
465
511
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
@@ -474,23 +520,23 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
474
520
|
function Char__equals_impl_x6719k($this, other) {
|
|
475
521
|
if (!(other instanceof Char))
|
|
476
522
|
return false;
|
|
477
|
-
return _get_value__a43j40($this) === _get_value__a43j40(other.
|
|
523
|
+
return _get_value__a43j40($this) === _get_value__a43j40(other.n_1);
|
|
478
524
|
}
|
|
479
525
|
function Char__hashCode_impl_otmys($this) {
|
|
480
526
|
return _get_value__a43j40($this);
|
|
481
527
|
}
|
|
482
528
|
function Companion() {
|
|
483
529
|
Companion_instance = this;
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
490
|
-
this.
|
|
491
|
-
this.
|
|
492
|
-
this.
|
|
493
|
-
this.
|
|
530
|
+
this.o_1 = _Char___init__impl__6a9atx(0);
|
|
531
|
+
this.p_1 = _Char___init__impl__6a9atx(65535);
|
|
532
|
+
this.q_1 = _Char___init__impl__6a9atx(55296);
|
|
533
|
+
this.r_1 = _Char___init__impl__6a9atx(56319);
|
|
534
|
+
this.s_1 = _Char___init__impl__6a9atx(56320);
|
|
535
|
+
this.t_1 = _Char___init__impl__6a9atx(57343);
|
|
536
|
+
this.u_1 = _Char___init__impl__6a9atx(55296);
|
|
537
|
+
this.v_1 = _Char___init__impl__6a9atx(57343);
|
|
538
|
+
this.w_1 = 2;
|
|
539
|
+
this.x_1 = 16;
|
|
494
540
|
}
|
|
495
541
|
var Companion_instance;
|
|
496
542
|
function Companion_getInstance() {
|
|
@@ -500,22 +546,22 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
500
546
|
}
|
|
501
547
|
function Char(value) {
|
|
502
548
|
Companion_getInstance();
|
|
503
|
-
this.
|
|
549
|
+
this.n_1 = value;
|
|
504
550
|
}
|
|
505
|
-
protoOf(Char).
|
|
506
|
-
return Char__compareTo_impl_ypi4mb(this.
|
|
551
|
+
protoOf(Char).y = function (other) {
|
|
552
|
+
return Char__compareTo_impl_ypi4mb(this.n_1, other);
|
|
507
553
|
};
|
|
508
|
-
protoOf(Char).
|
|
554
|
+
protoOf(Char).z = function (other) {
|
|
509
555
|
return Char__compareTo_impl_ypi4mb_0(this, other);
|
|
510
556
|
};
|
|
511
557
|
protoOf(Char).toString = function () {
|
|
512
|
-
return toString(this.
|
|
558
|
+
return toString(this.n_1);
|
|
513
559
|
};
|
|
514
560
|
protoOf(Char).equals = function (other) {
|
|
515
|
-
return Char__equals_impl_x6719k(this.
|
|
561
|
+
return Char__equals_impl_x6719k(this.n_1, other);
|
|
516
562
|
};
|
|
517
563
|
protoOf(Char).hashCode = function () {
|
|
518
|
-
return Char__hashCode_impl_otmys(this.
|
|
564
|
+
return Char__hashCode_impl_otmys(this.n_1);
|
|
519
565
|
};
|
|
520
566
|
function KtList() {
|
|
521
567
|
}
|
|
@@ -527,6 +573,8 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
527
573
|
}
|
|
528
574
|
function KtSet() {
|
|
529
575
|
}
|
|
576
|
+
function MutableIterable() {
|
|
577
|
+
}
|
|
530
578
|
function Companion_0() {
|
|
531
579
|
}
|
|
532
580
|
var Companion_instance_0;
|
|
@@ -534,20 +582,20 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
534
582
|
return Companion_instance_0;
|
|
535
583
|
}
|
|
536
584
|
function Enum(name, ordinal) {
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
585
|
+
this.g1_1 = name;
|
|
586
|
+
this.h1_1 = ordinal;
|
|
539
587
|
}
|
|
540
|
-
protoOf(Enum).
|
|
541
|
-
return this.
|
|
588
|
+
protoOf(Enum).i1 = function () {
|
|
589
|
+
return this.g1_1;
|
|
542
590
|
};
|
|
543
|
-
protoOf(Enum).
|
|
544
|
-
return this.
|
|
591
|
+
protoOf(Enum).j1 = function () {
|
|
592
|
+
return this.h1_1;
|
|
545
593
|
};
|
|
546
|
-
protoOf(Enum).
|
|
547
|
-
return compareTo(this.
|
|
594
|
+
protoOf(Enum).k1 = function (other) {
|
|
595
|
+
return compareTo(this.h1_1, other.h1_1);
|
|
548
596
|
};
|
|
549
|
-
protoOf(Enum).
|
|
550
|
-
return this.
|
|
597
|
+
protoOf(Enum).z = function (other) {
|
|
598
|
+
return this.k1(other instanceof Enum ? other : THROW_CCE());
|
|
551
599
|
};
|
|
552
600
|
protoOf(Enum).equals = function (other) {
|
|
553
601
|
return this === other;
|
|
@@ -556,7 +604,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
556
604
|
return identityHashCode(this);
|
|
557
605
|
};
|
|
558
606
|
protoOf(Enum).toString = function () {
|
|
559
|
-
return this.
|
|
607
|
+
return this.g1_1;
|
|
560
608
|
};
|
|
561
609
|
function toString_0(_this__u8e3s4) {
|
|
562
610
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
|
|
@@ -1027,7 +1075,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1027
1075
|
return a < b ? -1 : a > b ? 1 : 0;
|
|
1028
1076
|
}
|
|
1029
1077
|
function compareToDoNotIntrinsicify(a, b) {
|
|
1030
|
-
return a.
|
|
1078
|
+
return a.z(b);
|
|
1031
1079
|
}
|
|
1032
1080
|
function identityHashCode(obj) {
|
|
1033
1081
|
return getObjectHashCode(obj);
|
|
@@ -1712,25 +1760,25 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1712
1760
|
this.SIZE_BYTES = 4;
|
|
1713
1761
|
this.SIZE_BITS = 32;
|
|
1714
1762
|
}
|
|
1715
|
-
protoOf(FloatCompanionObject).
|
|
1763
|
+
protoOf(FloatCompanionObject).m1 = function () {
|
|
1716
1764
|
return this.MIN_VALUE;
|
|
1717
1765
|
};
|
|
1718
|
-
protoOf(FloatCompanionObject).
|
|
1766
|
+
protoOf(FloatCompanionObject).n1 = function () {
|
|
1719
1767
|
return this.MAX_VALUE;
|
|
1720
1768
|
};
|
|
1721
|
-
protoOf(FloatCompanionObject).
|
|
1769
|
+
protoOf(FloatCompanionObject).o1 = function () {
|
|
1722
1770
|
return this.POSITIVE_INFINITY;
|
|
1723
1771
|
};
|
|
1724
|
-
protoOf(FloatCompanionObject).
|
|
1772
|
+
protoOf(FloatCompanionObject).p1 = function () {
|
|
1725
1773
|
return this.NEGATIVE_INFINITY;
|
|
1726
1774
|
};
|
|
1727
|
-
protoOf(FloatCompanionObject).
|
|
1775
|
+
protoOf(FloatCompanionObject).q1 = function () {
|
|
1728
1776
|
return this.NaN;
|
|
1729
1777
|
};
|
|
1730
|
-
protoOf(FloatCompanionObject).
|
|
1778
|
+
protoOf(FloatCompanionObject).r1 = function () {
|
|
1731
1779
|
return this.SIZE_BYTES;
|
|
1732
1780
|
};
|
|
1733
|
-
protoOf(FloatCompanionObject).
|
|
1781
|
+
protoOf(FloatCompanionObject).s1 = function () {
|
|
1734
1782
|
return this.SIZE_BITS;
|
|
1735
1783
|
};
|
|
1736
1784
|
var FloatCompanionObject_instance;
|
|
@@ -1746,25 +1794,25 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1746
1794
|
this.SIZE_BYTES = 8;
|
|
1747
1795
|
this.SIZE_BITS = 64;
|
|
1748
1796
|
}
|
|
1749
|
-
protoOf(DoubleCompanionObject).
|
|
1797
|
+
protoOf(DoubleCompanionObject).m1 = function () {
|
|
1750
1798
|
return this.MIN_VALUE;
|
|
1751
1799
|
};
|
|
1752
|
-
protoOf(DoubleCompanionObject).
|
|
1800
|
+
protoOf(DoubleCompanionObject).n1 = function () {
|
|
1753
1801
|
return this.MAX_VALUE;
|
|
1754
1802
|
};
|
|
1755
|
-
protoOf(DoubleCompanionObject).
|
|
1803
|
+
protoOf(DoubleCompanionObject).o1 = function () {
|
|
1756
1804
|
return this.POSITIVE_INFINITY;
|
|
1757
1805
|
};
|
|
1758
|
-
protoOf(DoubleCompanionObject).
|
|
1806
|
+
protoOf(DoubleCompanionObject).p1 = function () {
|
|
1759
1807
|
return this.NEGATIVE_INFINITY;
|
|
1760
1808
|
};
|
|
1761
|
-
protoOf(DoubleCompanionObject).
|
|
1809
|
+
protoOf(DoubleCompanionObject).q1 = function () {
|
|
1762
1810
|
return this.NaN;
|
|
1763
1811
|
};
|
|
1764
|
-
protoOf(DoubleCompanionObject).
|
|
1812
|
+
protoOf(DoubleCompanionObject).r1 = function () {
|
|
1765
1813
|
return this.SIZE_BYTES;
|
|
1766
1814
|
};
|
|
1767
|
-
protoOf(DoubleCompanionObject).
|
|
1815
|
+
protoOf(DoubleCompanionObject).s1 = function () {
|
|
1768
1816
|
return this.SIZE_BITS;
|
|
1769
1817
|
};
|
|
1770
1818
|
var DoubleCompanionObject_instance;
|
|
@@ -1827,25 +1875,25 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1827
1875
|
function fill(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
1828
1876
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
1829
1877
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
1830
|
-
Companion_instance_4.
|
|
1878
|
+
Companion_instance_4.u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1831
1879
|
// Inline function 'kotlin.js.nativeFill' call
|
|
1832
1880
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1833
1881
|
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
1834
1882
|
}
|
|
1835
1883
|
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
1836
|
-
Companion_instance_4.
|
|
1884
|
+
Companion_instance_4.u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1837
1885
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1838
1886
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
1839
1887
|
}
|
|
1840
1888
|
function copyOfRange_0(_this__u8e3s4, fromIndex, toIndex) {
|
|
1841
|
-
Companion_instance_4.
|
|
1889
|
+
Companion_instance_4.u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1842
1890
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1843
1891
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
1844
1892
|
}
|
|
1845
1893
|
function fill_0(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
1846
1894
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
1847
1895
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
1848
|
-
Companion_instance_4.
|
|
1896
|
+
Companion_instance_4.u1(fromIndex, toIndex, _this__u8e3s4.length);
|
|
1849
1897
|
// Inline function 'kotlin.code' call
|
|
1850
1898
|
// Inline function 'kotlin.js.nativeFill' call
|
|
1851
1899
|
var element_0 = Char__toInt_impl_vasixd(element);
|
|
@@ -1888,8 +1936,8 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1888
1936
|
function digitToIntImpl(_this__u8e3s4) {
|
|
1889
1937
|
// Inline function 'kotlin.code' call
|
|
1890
1938
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
1891
|
-
var index = binarySearchRange(Digit_getInstance().
|
|
1892
|
-
var diff = ch - Digit_getInstance().
|
|
1939
|
+
var index = binarySearchRange(Digit_getInstance().v1_1, ch);
|
|
1940
|
+
var diff = ch - Digit_getInstance().v1_1[index] | 0;
|
|
1893
1941
|
return diff < 10 ? diff : -1;
|
|
1894
1942
|
}
|
|
1895
1943
|
function binarySearchRange(array, needle) {
|
|
@@ -1913,7 +1961,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1913
1961
|
Digit_instance = this;
|
|
1914
1962
|
var tmp = this;
|
|
1915
1963
|
// Inline function 'kotlin.intArrayOf' call
|
|
1916
|
-
tmp.
|
|
1964
|
+
tmp.v1_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]);
|
|
1917
1965
|
}
|
|
1918
1966
|
var Digit_instance;
|
|
1919
1967
|
function Digit_getInstance() {
|
|
@@ -1927,10 +1975,10 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1927
1975
|
function getLetterType(_this__u8e3s4) {
|
|
1928
1976
|
// Inline function 'kotlin.code' call
|
|
1929
1977
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
1930
|
-
var index = binarySearchRange(Letter_getInstance().
|
|
1931
|
-
var rangeStart = Letter_getInstance().
|
|
1932
|
-
var rangeEnd = (rangeStart + Letter_getInstance().
|
|
1933
|
-
var code = Letter_getInstance().
|
|
1978
|
+
var index = binarySearchRange(Letter_getInstance().w1_1, ch);
|
|
1979
|
+
var rangeStart = Letter_getInstance().w1_1[index];
|
|
1980
|
+
var rangeEnd = (rangeStart + Letter_getInstance().x1_1[index] | 0) - 1 | 0;
|
|
1981
|
+
var code = Letter_getInstance().y1_1[index];
|
|
1934
1982
|
if (ch > rangeEnd) {
|
|
1935
1983
|
return 0;
|
|
1936
1984
|
}
|
|
@@ -1995,11 +2043,11 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
1995
2043
|
}
|
|
1996
2044
|
}
|
|
1997
2045
|
while (inductionVariable_0 <= last_0);
|
|
1998
|
-
this.
|
|
2046
|
+
this.w1_1 = start;
|
|
1999
2047
|
var rangeLength = 'aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL';
|
|
2000
|
-
this.
|
|
2048
|
+
this.x1_1 = decodeVarLenBase64(rangeLength, fromBase64, 222);
|
|
2001
2049
|
var rangeCategory = 'GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB';
|
|
2002
|
-
this.
|
|
2050
|
+
this.y1_1 = decodeVarLenBase64(rangeCategory, fromBase64, 222);
|
|
2003
2051
|
}
|
|
2004
2052
|
var Letter_instance;
|
|
2005
2053
|
function Letter_getInstance() {
|
|
@@ -2061,6 +2109,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2061
2109
|
}
|
|
2062
2110
|
return tmp;
|
|
2063
2111
|
}
|
|
2112
|
+
function toRawBits(_this__u8e3s4) {
|
|
2113
|
+
return doubleToRawBits(_this__u8e3s4);
|
|
2114
|
+
}
|
|
2064
2115
|
function Unit() {
|
|
2065
2116
|
}
|
|
2066
2117
|
protoOf(Unit).toString = function () {
|
|
@@ -2097,16 +2148,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2097
2148
|
function collectionToArray(collection) {
|
|
2098
2149
|
return collectionToArrayCommonImpl(collection);
|
|
2099
2150
|
}
|
|
2100
|
-
function listOf(element) {
|
|
2101
|
-
// Inline function 'kotlin.arrayOf' call
|
|
2102
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
2103
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2104
|
-
var tmp$ret$0 = [element];
|
|
2105
|
-
return new ArrayList(tmp$ret$0);
|
|
2106
|
-
}
|
|
2107
2151
|
function mapCapacity(expectedSize) {
|
|
2108
2152
|
return expectedSize;
|
|
2109
2153
|
}
|
|
2154
|
+
function checkIndexOverflow(index) {
|
|
2155
|
+
if (index < 0) {
|
|
2156
|
+
throwIndexOverflow();
|
|
2157
|
+
}
|
|
2158
|
+
return index;
|
|
2159
|
+
}
|
|
2110
2160
|
function copyToArray(collection) {
|
|
2111
2161
|
var tmp;
|
|
2112
2162
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2122,9 +2172,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2122
2172
|
return tmp;
|
|
2123
2173
|
}
|
|
2124
2174
|
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
2125
|
-
Companion_instance_4.
|
|
2175
|
+
Companion_instance_4.u1(startIndex, endIndex, source.length);
|
|
2126
2176
|
var rangeSize = endIndex - startIndex | 0;
|
|
2127
|
-
Companion_instance_4.
|
|
2177
|
+
Companion_instance_4.u1(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
2128
2178
|
if (isView(destination) && isView(source)) {
|
|
2129
2179
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2130
2180
|
var subrange = source.subarray(startIndex, endIndex);
|
|
@@ -2161,61 +2211,51 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2161
2211
|
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
2162
2212
|
return this.toArray();
|
|
2163
2213
|
};
|
|
2164
|
-
protoOf(AbstractMutableCollection).
|
|
2214
|
+
protoOf(AbstractMutableCollection).z1 = function () {
|
|
2165
2215
|
};
|
|
2166
2216
|
function IteratorImpl($outer) {
|
|
2167
|
-
this.
|
|
2168
|
-
this.
|
|
2169
|
-
this.
|
|
2217
|
+
this.c2_1 = $outer;
|
|
2218
|
+
this.a2_1 = 0;
|
|
2219
|
+
this.b2_1 = -1;
|
|
2170
2220
|
}
|
|
2171
2221
|
protoOf(IteratorImpl).g = function () {
|
|
2172
|
-
return this.
|
|
2222
|
+
return this.a2_1 < this.c2_1.k();
|
|
2173
2223
|
};
|
|
2174
2224
|
protoOf(IteratorImpl).h = function () {
|
|
2175
2225
|
if (!this.g())
|
|
2176
2226
|
throw NoSuchElementException_init_$Create$();
|
|
2177
2227
|
var tmp = this;
|
|
2178
|
-
var _unary__edvuaz = this.
|
|
2179
|
-
this.
|
|
2180
|
-
tmp.
|
|
2181
|
-
return this.
|
|
2228
|
+
var _unary__edvuaz = this.a2_1;
|
|
2229
|
+
this.a2_1 = _unary__edvuaz + 1 | 0;
|
|
2230
|
+
tmp.b2_1 = _unary__edvuaz;
|
|
2231
|
+
return this.c2_1.j(this.b2_1);
|
|
2182
2232
|
};
|
|
2183
|
-
protoOf(IteratorImpl).
|
|
2233
|
+
protoOf(IteratorImpl).d2 = function () {
|
|
2184
2234
|
// Inline function 'kotlin.check' call
|
|
2185
|
-
if (!!(this.
|
|
2235
|
+
if (!!(this.b2_1 === -1)) {
|
|
2186
2236
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
2187
2237
|
throw IllegalStateException_init_$Create$_0(toString_1(message));
|
|
2188
2238
|
}
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2239
|
+
this.c2_1.f2(this.b2_1);
|
|
2240
|
+
this.a2_1 = this.b2_1;
|
|
2241
|
+
this.b2_1 = -1;
|
|
2192
2242
|
};
|
|
2193
|
-
function ListIteratorImpl($outer, index) {
|
|
2194
|
-
this.n2_1 = $outer;
|
|
2195
|
-
IteratorImpl.call(this, $outer);
|
|
2196
|
-
Companion_instance_4.o2(index, this.n2_1.i());
|
|
2197
|
-
this.e2_1 = index;
|
|
2198
|
-
}
|
|
2199
2243
|
function AbstractMutableList() {
|
|
2200
2244
|
AbstractMutableCollection.call(this);
|
|
2201
|
-
this.
|
|
2245
|
+
this.e2_1 = 0;
|
|
2202
2246
|
}
|
|
2203
2247
|
protoOf(AbstractMutableList).d = function (element) {
|
|
2204
|
-
this.
|
|
2205
|
-
this.
|
|
2248
|
+
this.z1();
|
|
2249
|
+
this.g2(this.k(), element);
|
|
2206
2250
|
return true;
|
|
2207
2251
|
};
|
|
2208
|
-
protoOf(AbstractMutableList).q2 = function () {
|
|
2209
|
-
this.d2();
|
|
2210
|
-
this.r2(0, this.i());
|
|
2211
|
-
};
|
|
2212
2252
|
protoOf(AbstractMutableList).f = function () {
|
|
2213
2253
|
return new IteratorImpl(this);
|
|
2214
2254
|
};
|
|
2215
|
-
protoOf(AbstractMutableList).
|
|
2216
|
-
return this.
|
|
2255
|
+
protoOf(AbstractMutableList).a1 = function (element) {
|
|
2256
|
+
return this.b1(element) >= 0;
|
|
2217
2257
|
};
|
|
2218
|
-
protoOf(AbstractMutableList).
|
|
2258
|
+
protoOf(AbstractMutableList).b1 = function (element) {
|
|
2219
2259
|
var tmp$ret$0;
|
|
2220
2260
|
$l$block: {
|
|
2221
2261
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
@@ -2233,32 +2273,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2233
2273
|
}
|
|
2234
2274
|
return tmp$ret$0;
|
|
2235
2275
|
};
|
|
2236
|
-
protoOf(AbstractMutableList).s2 = function (index) {
|
|
2237
|
-
return new ListIteratorImpl(this, index);
|
|
2238
|
-
};
|
|
2239
|
-
protoOf(AbstractMutableList).r2 = function (fromIndex, toIndex) {
|
|
2240
|
-
var iterator = this.s2(fromIndex);
|
|
2241
|
-
// Inline function 'kotlin.repeat' call
|
|
2242
|
-
var times = toIndex - fromIndex | 0;
|
|
2243
|
-
var inductionVariable = 0;
|
|
2244
|
-
if (inductionVariable < times)
|
|
2245
|
-
do {
|
|
2246
|
-
var index = inductionVariable;
|
|
2247
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
2248
|
-
iterator.h();
|
|
2249
|
-
iterator.h2();
|
|
2250
|
-
}
|
|
2251
|
-
while (inductionVariable < times);
|
|
2252
|
-
};
|
|
2253
2276
|
protoOf(AbstractMutableList).equals = function (other) {
|
|
2254
2277
|
if (other === this)
|
|
2255
2278
|
return true;
|
|
2256
2279
|
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
2257
2280
|
return false;
|
|
2258
|
-
return Companion_instance_4.
|
|
2281
|
+
return Companion_instance_4.i2(this, other);
|
|
2259
2282
|
};
|
|
2260
2283
|
protoOf(AbstractMutableList).hashCode = function () {
|
|
2261
|
-
return Companion_instance_4.
|
|
2284
|
+
return Companion_instance_4.j2(this);
|
|
2262
2285
|
};
|
|
2263
2286
|
function AbstractMutableSet() {
|
|
2264
2287
|
AbstractMutableCollection.call(this);
|
|
@@ -2268,10 +2291,10 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2268
2291
|
return true;
|
|
2269
2292
|
if (!(!(other == null) ? isInterface(other, KtSet) : false))
|
|
2270
2293
|
return false;
|
|
2271
|
-
return Companion_instance_5.
|
|
2294
|
+
return Companion_instance_5.k2(this, other);
|
|
2272
2295
|
};
|
|
2273
2296
|
protoOf(AbstractMutableSet).hashCode = function () {
|
|
2274
|
-
return Companion_instance_5.
|
|
2297
|
+
return Companion_instance_5.l2(this);
|
|
2275
2298
|
};
|
|
2276
2299
|
function arrayOfUninitializedElements(capacity) {
|
|
2277
2300
|
// Inline function 'kotlin.require' call
|
|
@@ -2294,13 +2317,18 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2294
2317
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2295
2318
|
return copyOf_1(_this__u8e3s4, newSize);
|
|
2296
2319
|
}
|
|
2320
|
+
function resetAt(_this__u8e3s4, index) {
|
|
2321
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2322
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2323
|
+
_this__u8e3s4[index] = null;
|
|
2324
|
+
}
|
|
2297
2325
|
function Companion_1() {
|
|
2298
2326
|
Companion_instance_1 = this;
|
|
2299
2327
|
var tmp = this;
|
|
2300
2328
|
// Inline function 'kotlin.also' call
|
|
2301
2329
|
var this_0 = ArrayList_init_$Create$_0(0);
|
|
2302
|
-
this_0.
|
|
2303
|
-
tmp.
|
|
2330
|
+
this_0.o2_1 = true;
|
|
2331
|
+
tmp.p2_1 = this_0;
|
|
2304
2332
|
}
|
|
2305
2333
|
var Companion_instance_1;
|
|
2306
2334
|
function Companion_getInstance_1() {
|
|
@@ -2333,86 +2361,81 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2333
2361
|
}
|
|
2334
2362
|
function rangeCheck($this, index) {
|
|
2335
2363
|
// Inline function 'kotlin.apply' call
|
|
2336
|
-
Companion_instance_4.
|
|
2364
|
+
Companion_instance_4.q2(index, $this.k());
|
|
2337
2365
|
return index;
|
|
2338
2366
|
}
|
|
2339
2367
|
function insertionRangeCheck($this, index) {
|
|
2340
2368
|
// Inline function 'kotlin.apply' call
|
|
2341
|
-
Companion_instance_4.
|
|
2369
|
+
Companion_instance_4.r2(index, $this.k());
|
|
2342
2370
|
return index;
|
|
2343
2371
|
}
|
|
2344
2372
|
function ArrayList(array) {
|
|
2345
2373
|
Companion_getInstance_1();
|
|
2346
2374
|
AbstractMutableList.call(this);
|
|
2347
|
-
this.
|
|
2348
|
-
this.
|
|
2375
|
+
this.n2_1 = array;
|
|
2376
|
+
this.o2_1 = false;
|
|
2349
2377
|
}
|
|
2350
|
-
protoOf(ArrayList).
|
|
2351
|
-
return this.
|
|
2378
|
+
protoOf(ArrayList).k = function () {
|
|
2379
|
+
return this.n2_1.length;
|
|
2352
2380
|
};
|
|
2353
2381
|
protoOf(ArrayList).j = function (index) {
|
|
2354
|
-
return this.
|
|
2382
|
+
return this.n2_1[rangeCheck(this, index)];
|
|
2383
|
+
};
|
|
2384
|
+
protoOf(ArrayList).h2 = function (index, element) {
|
|
2385
|
+
this.z1();
|
|
2386
|
+
rangeCheck(this, index);
|
|
2387
|
+
// Inline function 'kotlin.apply' call
|
|
2388
|
+
var this_0 = this.n2_1[index];
|
|
2389
|
+
this.n2_1[index] = element;
|
|
2390
|
+
return this_0;
|
|
2355
2391
|
};
|
|
2356
2392
|
protoOf(ArrayList).d = function (element) {
|
|
2357
|
-
this.
|
|
2393
|
+
this.z1();
|
|
2358
2394
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2359
|
-
this.
|
|
2360
|
-
this.
|
|
2395
|
+
this.n2_1.push(element);
|
|
2396
|
+
this.e2_1 = this.e2_1 + 1 | 0;
|
|
2361
2397
|
return true;
|
|
2362
2398
|
};
|
|
2363
|
-
protoOf(ArrayList).
|
|
2364
|
-
this.
|
|
2399
|
+
protoOf(ArrayList).g2 = function (index, element) {
|
|
2400
|
+
this.z1();
|
|
2365
2401
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2366
|
-
this.
|
|
2367
|
-
this.
|
|
2402
|
+
this.n2_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
2403
|
+
this.e2_1 = this.e2_1 + 1 | 0;
|
|
2368
2404
|
};
|
|
2369
|
-
protoOf(ArrayList).
|
|
2370
|
-
this.
|
|
2405
|
+
protoOf(ArrayList).f2 = function (index) {
|
|
2406
|
+
this.z1();
|
|
2371
2407
|
rangeCheck(this, index);
|
|
2372
|
-
this.
|
|
2408
|
+
this.e2_1 = this.e2_1 + 1 | 0;
|
|
2373
2409
|
var tmp;
|
|
2374
|
-
if (index ===
|
|
2410
|
+
if (index === get_lastIndex_1(this)) {
|
|
2375
2411
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2376
|
-
tmp = this.
|
|
2412
|
+
tmp = this.n2_1.pop();
|
|
2377
2413
|
} else {
|
|
2378
2414
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2379
|
-
tmp = this.
|
|
2415
|
+
tmp = this.n2_1.splice(index, 1)[0];
|
|
2380
2416
|
}
|
|
2381
2417
|
return tmp;
|
|
2382
2418
|
};
|
|
2383
|
-
protoOf(ArrayList).
|
|
2384
|
-
this.
|
|
2385
|
-
this.i2_1 = this.i2_1 + 1 | 0;
|
|
2386
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2387
|
-
this.o_1.splice(fromIndex, toIndex - fromIndex | 0);
|
|
2388
|
-
};
|
|
2389
|
-
protoOf(ArrayList).q2 = function () {
|
|
2390
|
-
this.d2();
|
|
2391
|
-
var tmp = this;
|
|
2392
|
-
// Inline function 'kotlin.emptyArray' call
|
|
2393
|
-
tmp.o_1 = [];
|
|
2394
|
-
this.i2_1 = this.i2_1 + 1 | 0;
|
|
2395
|
-
};
|
|
2396
|
-
protoOf(ArrayList).f1 = function (element) {
|
|
2397
|
-
return indexOf_0(this.o_1, element);
|
|
2419
|
+
protoOf(ArrayList).b1 = function (element) {
|
|
2420
|
+
return indexOf_0(this.n2_1, element);
|
|
2398
2421
|
};
|
|
2399
2422
|
protoOf(ArrayList).toString = function () {
|
|
2400
|
-
return arrayToString(this.
|
|
2423
|
+
return arrayToString(this.n2_1);
|
|
2401
2424
|
};
|
|
2402
|
-
protoOf(ArrayList).
|
|
2403
|
-
return [].slice.call(this.
|
|
2425
|
+
protoOf(ArrayList).s2 = function () {
|
|
2426
|
+
return [].slice.call(this.n2_1);
|
|
2404
2427
|
};
|
|
2405
2428
|
protoOf(ArrayList).toArray = function () {
|
|
2406
|
-
return this.
|
|
2429
|
+
return this.s2();
|
|
2407
2430
|
};
|
|
2408
|
-
protoOf(ArrayList).
|
|
2409
|
-
if (this.
|
|
2431
|
+
protoOf(ArrayList).z1 = function () {
|
|
2432
|
+
if (this.o2_1)
|
|
2410
2433
|
throw UnsupportedOperationException_init_$Create$();
|
|
2411
2434
|
};
|
|
2412
2435
|
function HashSet_init_$Init$(map, $this) {
|
|
2413
2436
|
AbstractMutableSet.call($this);
|
|
2414
2437
|
HashSet.call($this);
|
|
2415
|
-
$this.
|
|
2438
|
+
$this.t2_1 = map;
|
|
2416
2439
|
return $this;
|
|
2417
2440
|
}
|
|
2418
2441
|
function HashSet_init_$Init$_0($this) {
|
|
@@ -2434,19 +2457,19 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2434
2457
|
return HashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
2435
2458
|
}
|
|
2436
2459
|
protoOf(HashSet).d = function (element) {
|
|
2437
|
-
return this.
|
|
2460
|
+
return this.t2_1.u2(element, true) == null;
|
|
2438
2461
|
};
|
|
2439
|
-
protoOf(HashSet).
|
|
2440
|
-
return this.
|
|
2462
|
+
protoOf(HashSet).a1 = function (element) {
|
|
2463
|
+
return this.t2_1.v2(element);
|
|
2441
2464
|
};
|
|
2442
|
-
protoOf(HashSet).
|
|
2443
|
-
return this.
|
|
2465
|
+
protoOf(HashSet).i = function () {
|
|
2466
|
+
return this.t2_1.k() === 0;
|
|
2444
2467
|
};
|
|
2445
2468
|
protoOf(HashSet).f = function () {
|
|
2446
|
-
return this.
|
|
2469
|
+
return this.t2_1.w2();
|
|
2447
2470
|
};
|
|
2448
|
-
protoOf(HashSet).
|
|
2449
|
-
return this.
|
|
2471
|
+
protoOf(HashSet).k = function () {
|
|
2472
|
+
return this.t2_1.k();
|
|
2450
2473
|
};
|
|
2451
2474
|
function HashSet() {
|
|
2452
2475
|
}
|
|
@@ -2458,7 +2481,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2458
2481
|
return clz32(hashSize) + 1 | 0;
|
|
2459
2482
|
}
|
|
2460
2483
|
function checkForComodification($this) {
|
|
2461
|
-
if (!($this.
|
|
2484
|
+
if (!($this.h3_1.e3_1 === $this.j3_1))
|
|
2462
2485
|
throw ConcurrentModificationException_init_$Create$_0('The backing map has been modified after this entry was obtained.');
|
|
2463
2486
|
}
|
|
2464
2487
|
function InternalHashMap_init_$Init$($this) {
|
|
@@ -2485,36 +2508,36 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2485
2508
|
return InternalHashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
|
|
2486
2509
|
}
|
|
2487
2510
|
function _get_capacity__a9k9f3($this) {
|
|
2488
|
-
return $this.
|
|
2511
|
+
return $this.x2_1.length;
|
|
2489
2512
|
}
|
|
2490
2513
|
function _get_hashSize__tftcho($this) {
|
|
2491
|
-
return $this.
|
|
2514
|
+
return $this.a3_1.length;
|
|
2492
2515
|
}
|
|
2493
2516
|
function registerModification($this) {
|
|
2494
|
-
$this.
|
|
2517
|
+
$this.e3_1 = $this.e3_1 + 1 | 0;
|
|
2495
2518
|
}
|
|
2496
2519
|
function ensureExtraCapacity($this, n) {
|
|
2497
2520
|
if (shouldCompact($this, n)) {
|
|
2498
2521
|
compact($this, true);
|
|
2499
2522
|
} else {
|
|
2500
|
-
ensureCapacity($this, $this.
|
|
2523
|
+
ensureCapacity($this, $this.c3_1 + n | 0);
|
|
2501
2524
|
}
|
|
2502
2525
|
}
|
|
2503
2526
|
function shouldCompact($this, extraCapacity) {
|
|
2504
|
-
var spareCapacity = _get_capacity__a9k9f3($this) - $this.
|
|
2505
|
-
var gaps = $this.
|
|
2527
|
+
var spareCapacity = _get_capacity__a9k9f3($this) - $this.c3_1 | 0;
|
|
2528
|
+
var gaps = $this.c3_1 - $this.k() | 0;
|
|
2506
2529
|
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
|
|
2507
2530
|
}
|
|
2508
2531
|
function ensureCapacity($this, minCapacity) {
|
|
2509
2532
|
if (minCapacity < 0)
|
|
2510
2533
|
throw RuntimeException_init_$Create$_0('too many elements');
|
|
2511
2534
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
2512
|
-
var newSize = Companion_instance_4.
|
|
2513
|
-
$this.
|
|
2535
|
+
var newSize = Companion_instance_4.k3(_get_capacity__a9k9f3($this), minCapacity);
|
|
2536
|
+
$this.x2_1 = copyOfUninitializedElements($this.x2_1, newSize);
|
|
2514
2537
|
var tmp = $this;
|
|
2515
|
-
var tmp0_safe_receiver = $this.
|
|
2516
|
-
tmp.
|
|
2517
|
-
$this.
|
|
2538
|
+
var tmp0_safe_receiver = $this.y2_1;
|
|
2539
|
+
tmp.y2_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
|
|
2540
|
+
$this.z2_1 = copyOf($this.z2_1, newSize);
|
|
2518
2541
|
var newHashSize = computeHashSize(Companion_instance_2, newSize);
|
|
2519
2542
|
if (newHashSize > _get_hashSize__tftcho($this)) {
|
|
2520
2543
|
rehash($this, newHashSize);
|
|
@@ -2522,52 +2545,52 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2522
2545
|
}
|
|
2523
2546
|
}
|
|
2524
2547
|
function allocateValuesArray($this) {
|
|
2525
|
-
var curValuesArray = $this.
|
|
2548
|
+
var curValuesArray = $this.y2_1;
|
|
2526
2549
|
if (!(curValuesArray == null))
|
|
2527
2550
|
return curValuesArray;
|
|
2528
2551
|
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
|
|
2529
|
-
$this.
|
|
2552
|
+
$this.y2_1 = newValuesArray;
|
|
2530
2553
|
return newValuesArray;
|
|
2531
2554
|
}
|
|
2532
2555
|
function hash($this, key) {
|
|
2533
|
-
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.
|
|
2556
|
+
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.d3_1 | 0;
|
|
2534
2557
|
}
|
|
2535
2558
|
function compact($this, updateHashArray) {
|
|
2536
2559
|
var i = 0;
|
|
2537
2560
|
var j = 0;
|
|
2538
|
-
var valuesArray = $this.
|
|
2539
|
-
while (i < $this.
|
|
2540
|
-
var hash = $this.
|
|
2561
|
+
var valuesArray = $this.y2_1;
|
|
2562
|
+
while (i < $this.c3_1) {
|
|
2563
|
+
var hash = $this.z2_1[i];
|
|
2541
2564
|
if (hash >= 0) {
|
|
2542
|
-
$this.
|
|
2565
|
+
$this.x2_1[j] = $this.x2_1[i];
|
|
2543
2566
|
if (!(valuesArray == null)) {
|
|
2544
2567
|
valuesArray[j] = valuesArray[i];
|
|
2545
2568
|
}
|
|
2546
2569
|
if (updateHashArray) {
|
|
2547
|
-
$this.
|
|
2548
|
-
$this.
|
|
2570
|
+
$this.z2_1[j] = hash;
|
|
2571
|
+
$this.a3_1[hash] = j + 1 | 0;
|
|
2549
2572
|
}
|
|
2550
2573
|
j = j + 1 | 0;
|
|
2551
2574
|
}
|
|
2552
2575
|
i = i + 1 | 0;
|
|
2553
2576
|
}
|
|
2554
|
-
resetRange($this.
|
|
2577
|
+
resetRange($this.x2_1, j, $this.c3_1);
|
|
2555
2578
|
if (valuesArray == null)
|
|
2556
2579
|
null;
|
|
2557
2580
|
else {
|
|
2558
|
-
resetRange(valuesArray, j, $this.
|
|
2581
|
+
resetRange(valuesArray, j, $this.c3_1);
|
|
2559
2582
|
}
|
|
2560
|
-
$this.
|
|
2583
|
+
$this.c3_1 = j;
|
|
2561
2584
|
}
|
|
2562
2585
|
function rehash($this, newHashSize) {
|
|
2563
2586
|
registerModification($this);
|
|
2564
|
-
if ($this.
|
|
2587
|
+
if ($this.c3_1 > $this.f3_1) {
|
|
2565
2588
|
compact($this, false);
|
|
2566
2589
|
}
|
|
2567
|
-
$this.
|
|
2568
|
-
$this.
|
|
2590
|
+
$this.a3_1 = new Int32Array(newHashSize);
|
|
2591
|
+
$this.d3_1 = computeShift(Companion_instance_2, newHashSize);
|
|
2569
2592
|
var i = 0;
|
|
2570
|
-
while (i < $this.
|
|
2593
|
+
while (i < $this.c3_1) {
|
|
2571
2594
|
var _unary__edvuaz = i;
|
|
2572
2595
|
i = _unary__edvuaz + 1 | 0;
|
|
2573
2596
|
if (!putRehash($this, _unary__edvuaz)) {
|
|
@@ -2576,13 +2599,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2576
2599
|
}
|
|
2577
2600
|
}
|
|
2578
2601
|
function putRehash($this, i) {
|
|
2579
|
-
var hash_0 = hash($this, $this.
|
|
2580
|
-
var probesLeft = $this.
|
|
2602
|
+
var hash_0 = hash($this, $this.x2_1[i]);
|
|
2603
|
+
var probesLeft = $this.b3_1;
|
|
2581
2604
|
while (true) {
|
|
2582
|
-
var index = $this.
|
|
2605
|
+
var index = $this.a3_1[hash_0];
|
|
2583
2606
|
if (index === 0) {
|
|
2584
|
-
$this.
|
|
2585
|
-
$this.
|
|
2607
|
+
$this.a3_1[hash_0] = i + 1 | 0;
|
|
2608
|
+
$this.z2_1[i] = hash_0;
|
|
2586
2609
|
return true;
|
|
2587
2610
|
}
|
|
2588
2611
|
probesLeft = probesLeft - 1 | 0;
|
|
@@ -2596,12 +2619,12 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2596
2619
|
}
|
|
2597
2620
|
function findKey($this, key) {
|
|
2598
2621
|
var hash_0 = hash($this, key);
|
|
2599
|
-
var probesLeft = $this.
|
|
2622
|
+
var probesLeft = $this.b3_1;
|
|
2600
2623
|
while (true) {
|
|
2601
|
-
var index = $this.
|
|
2624
|
+
var index = $this.a3_1[hash_0];
|
|
2602
2625
|
if (index === 0)
|
|
2603
2626
|
return -1;
|
|
2604
|
-
if (equals($this.
|
|
2627
|
+
if (equals($this.x2_1[index - 1 | 0], key))
|
|
2605
2628
|
return index - 1 | 0;
|
|
2606
2629
|
probesLeft = probesLeft - 1 | 0;
|
|
2607
2630
|
if (probesLeft < 0)
|
|
@@ -2613,31 +2636,31 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2613
2636
|
}
|
|
2614
2637
|
}
|
|
2615
2638
|
function addKey($this, key) {
|
|
2616
|
-
$this.
|
|
2639
|
+
$this.l3();
|
|
2617
2640
|
retry: while (true) {
|
|
2618
2641
|
var hash_0 = hash($this, key);
|
|
2619
|
-
var tentativeMaxProbeDistance = coerceAtMost_0(imul($this.
|
|
2642
|
+
var tentativeMaxProbeDistance = coerceAtMost_0(imul($this.b3_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
|
|
2620
2643
|
var probeDistance = 0;
|
|
2621
2644
|
while (true) {
|
|
2622
|
-
var index = $this.
|
|
2645
|
+
var index = $this.a3_1[hash_0];
|
|
2623
2646
|
if (index === 0) {
|
|
2624
|
-
if ($this.
|
|
2647
|
+
if ($this.c3_1 >= _get_capacity__a9k9f3($this)) {
|
|
2625
2648
|
ensureExtraCapacity($this, 1);
|
|
2626
2649
|
continue retry;
|
|
2627
2650
|
}
|
|
2628
|
-
var _unary__edvuaz = $this.
|
|
2629
|
-
$this.
|
|
2651
|
+
var _unary__edvuaz = $this.c3_1;
|
|
2652
|
+
$this.c3_1 = _unary__edvuaz + 1 | 0;
|
|
2630
2653
|
var putIndex = _unary__edvuaz;
|
|
2631
|
-
$this.
|
|
2632
|
-
$this.
|
|
2633
|
-
$this.
|
|
2634
|
-
$this.
|
|
2654
|
+
$this.x2_1[putIndex] = key;
|
|
2655
|
+
$this.z2_1[putIndex] = hash_0;
|
|
2656
|
+
$this.a3_1[hash_0] = putIndex + 1 | 0;
|
|
2657
|
+
$this.f3_1 = $this.f3_1 + 1 | 0;
|
|
2635
2658
|
registerModification($this);
|
|
2636
|
-
if (probeDistance > $this.
|
|
2637
|
-
$this.
|
|
2659
|
+
if (probeDistance > $this.b3_1)
|
|
2660
|
+
$this.b3_1 = probeDistance;
|
|
2638
2661
|
return putIndex;
|
|
2639
2662
|
}
|
|
2640
|
-
if (equals($this.
|
|
2663
|
+
if (equals($this.x2_1[index - 1 | 0], key)) {
|
|
2641
2664
|
return -index | 0;
|
|
2642
2665
|
}
|
|
2643
2666
|
probeDistance = probeDistance + 1 | 0;
|
|
@@ -2652,129 +2675,182 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2652
2675
|
}
|
|
2653
2676
|
}
|
|
2654
2677
|
}
|
|
2678
|
+
function removeEntryAt($this, index) {
|
|
2679
|
+
resetAt($this.x2_1, index);
|
|
2680
|
+
var tmp0_safe_receiver = $this.y2_1;
|
|
2681
|
+
if (tmp0_safe_receiver == null)
|
|
2682
|
+
null;
|
|
2683
|
+
else {
|
|
2684
|
+
resetAt(tmp0_safe_receiver, index);
|
|
2685
|
+
}
|
|
2686
|
+
removeHashAt($this, $this.z2_1[index]);
|
|
2687
|
+
$this.z2_1[index] = -1;
|
|
2688
|
+
$this.f3_1 = $this.f3_1 - 1 | 0;
|
|
2689
|
+
registerModification($this);
|
|
2690
|
+
}
|
|
2691
|
+
function removeHashAt($this, removedHash) {
|
|
2692
|
+
var hash_0 = removedHash;
|
|
2693
|
+
var hole = removedHash;
|
|
2694
|
+
var probeDistance = 0;
|
|
2695
|
+
while (true) {
|
|
2696
|
+
var _unary__edvuaz = hash_0;
|
|
2697
|
+
hash_0 = _unary__edvuaz - 1 | 0;
|
|
2698
|
+
if (_unary__edvuaz === 0)
|
|
2699
|
+
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
|
|
2700
|
+
var index = $this.a3_1[hash_0];
|
|
2701
|
+
probeDistance = probeDistance + 1 | 0;
|
|
2702
|
+
if (probeDistance > $this.b3_1) {
|
|
2703
|
+
$this.a3_1[hole] = 0;
|
|
2704
|
+
return Unit_instance;
|
|
2705
|
+
}
|
|
2706
|
+
if (index === 0) {
|
|
2707
|
+
$this.a3_1[hole] = 0;
|
|
2708
|
+
return Unit_instance;
|
|
2709
|
+
}
|
|
2710
|
+
var otherHash = hash($this, $this.x2_1[index - 1 | 0]);
|
|
2711
|
+
if (((otherHash - hash_0 | 0) & (_get_hashSize__tftcho($this) - 1 | 0)) >= probeDistance) {
|
|
2712
|
+
$this.a3_1[hole] = index;
|
|
2713
|
+
$this.z2_1[index - 1 | 0] = hole;
|
|
2714
|
+
hole = hash_0;
|
|
2715
|
+
probeDistance = 0;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2655
2719
|
function contentEquals($this, other) {
|
|
2656
|
-
return $this.
|
|
2720
|
+
return $this.f3_1 === other.k() && $this.m3(other.f1());
|
|
2657
2721
|
}
|
|
2658
2722
|
function Companion_2() {
|
|
2659
|
-
this.
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2662
|
-
this.
|
|
2723
|
+
this.n3_1 = -1640531527;
|
|
2724
|
+
this.o3_1 = 8;
|
|
2725
|
+
this.p3_1 = 2;
|
|
2726
|
+
this.q3_1 = -1;
|
|
2663
2727
|
}
|
|
2664
2728
|
var Companion_instance_2;
|
|
2665
2729
|
function Companion_getInstance_2() {
|
|
2666
2730
|
return Companion_instance_2;
|
|
2667
2731
|
}
|
|
2668
2732
|
function Itr(map) {
|
|
2669
|
-
this.
|
|
2670
|
-
this.
|
|
2671
|
-
this.
|
|
2672
|
-
this.
|
|
2673
|
-
this.
|
|
2733
|
+
this.r3_1 = map;
|
|
2734
|
+
this.s3_1 = 0;
|
|
2735
|
+
this.t3_1 = -1;
|
|
2736
|
+
this.u3_1 = this.r3_1.e3_1;
|
|
2737
|
+
this.v3();
|
|
2674
2738
|
}
|
|
2675
|
-
protoOf(Itr).
|
|
2676
|
-
while (this.
|
|
2677
|
-
this.
|
|
2739
|
+
protoOf(Itr).v3 = function () {
|
|
2740
|
+
while (this.s3_1 < this.r3_1.c3_1 && this.r3_1.z2_1[this.s3_1] < 0) {
|
|
2741
|
+
this.s3_1 = this.s3_1 + 1 | 0;
|
|
2678
2742
|
}
|
|
2679
2743
|
};
|
|
2680
2744
|
protoOf(Itr).g = function () {
|
|
2681
|
-
return this.
|
|
2745
|
+
return this.s3_1 < this.r3_1.c3_1;
|
|
2682
2746
|
};
|
|
2683
|
-
protoOf(Itr).
|
|
2684
|
-
|
|
2747
|
+
protoOf(Itr).d2 = function () {
|
|
2748
|
+
this.w3();
|
|
2749
|
+
// Inline function 'kotlin.check' call
|
|
2750
|
+
if (!!(this.t3_1 === -1)) {
|
|
2751
|
+
var message = 'Call next() before removing element from the iterator.';
|
|
2752
|
+
throw IllegalStateException_init_$Create$_0(toString_1(message));
|
|
2753
|
+
}
|
|
2754
|
+
this.r3_1.l3();
|
|
2755
|
+
removeEntryAt(this.r3_1, this.t3_1);
|
|
2756
|
+
this.t3_1 = -1;
|
|
2757
|
+
this.u3_1 = this.r3_1.e3_1;
|
|
2758
|
+
};
|
|
2759
|
+
protoOf(Itr).w3 = function () {
|
|
2760
|
+
if (!(this.r3_1.e3_1 === this.u3_1))
|
|
2685
2761
|
throw ConcurrentModificationException_init_$Create$();
|
|
2686
2762
|
};
|
|
2687
2763
|
function KeysItr(map) {
|
|
2688
2764
|
Itr.call(this, map);
|
|
2689
2765
|
}
|
|
2690
2766
|
protoOf(KeysItr).h = function () {
|
|
2691
|
-
this.
|
|
2692
|
-
if (this.
|
|
2767
|
+
this.w3();
|
|
2768
|
+
if (this.s3_1 >= this.r3_1.c3_1)
|
|
2693
2769
|
throw NoSuchElementException_init_$Create$();
|
|
2694
2770
|
var tmp = this;
|
|
2695
|
-
var _unary__edvuaz = this.
|
|
2696
|
-
this.
|
|
2697
|
-
tmp.
|
|
2698
|
-
var result = this.
|
|
2699
|
-
this.
|
|
2771
|
+
var _unary__edvuaz = this.s3_1;
|
|
2772
|
+
this.s3_1 = _unary__edvuaz + 1 | 0;
|
|
2773
|
+
tmp.t3_1 = _unary__edvuaz;
|
|
2774
|
+
var result = this.r3_1.x2_1[this.t3_1];
|
|
2775
|
+
this.v3();
|
|
2700
2776
|
return result;
|
|
2701
2777
|
};
|
|
2702
2778
|
function EntriesItr(map) {
|
|
2703
2779
|
Itr.call(this, map);
|
|
2704
2780
|
}
|
|
2705
2781
|
protoOf(EntriesItr).h = function () {
|
|
2706
|
-
this.
|
|
2707
|
-
if (this.
|
|
2782
|
+
this.w3();
|
|
2783
|
+
if (this.s3_1 >= this.r3_1.c3_1)
|
|
2708
2784
|
throw NoSuchElementException_init_$Create$();
|
|
2709
2785
|
var tmp = this;
|
|
2710
|
-
var _unary__edvuaz = this.
|
|
2711
|
-
this.
|
|
2712
|
-
tmp.
|
|
2713
|
-
var result = new EntryRef(this.
|
|
2714
|
-
this.
|
|
2786
|
+
var _unary__edvuaz = this.s3_1;
|
|
2787
|
+
this.s3_1 = _unary__edvuaz + 1 | 0;
|
|
2788
|
+
tmp.t3_1 = _unary__edvuaz;
|
|
2789
|
+
var result = new EntryRef(this.r3_1, this.t3_1);
|
|
2790
|
+
this.v3();
|
|
2715
2791
|
return result;
|
|
2716
2792
|
};
|
|
2717
|
-
protoOf(EntriesItr).
|
|
2718
|
-
if (this.
|
|
2793
|
+
protoOf(EntriesItr).f4 = function () {
|
|
2794
|
+
if (this.s3_1 >= this.r3_1.c3_1)
|
|
2719
2795
|
throw NoSuchElementException_init_$Create$();
|
|
2720
2796
|
var tmp = this;
|
|
2721
|
-
var _unary__edvuaz = this.
|
|
2722
|
-
this.
|
|
2723
|
-
tmp.
|
|
2797
|
+
var _unary__edvuaz = this.s3_1;
|
|
2798
|
+
this.s3_1 = _unary__edvuaz + 1 | 0;
|
|
2799
|
+
tmp.t3_1 = _unary__edvuaz;
|
|
2724
2800
|
// Inline function 'kotlin.hashCode' call
|
|
2725
|
-
var tmp0_safe_receiver = this.
|
|
2801
|
+
var tmp0_safe_receiver = this.r3_1.x2_1[this.t3_1];
|
|
2726
2802
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2727
2803
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
2728
2804
|
// Inline function 'kotlin.hashCode' call
|
|
2729
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
2805
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.r3_1.y2_1)[this.t3_1];
|
|
2730
2806
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2731
2807
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
2732
|
-
this.
|
|
2808
|
+
this.v3();
|
|
2733
2809
|
return result;
|
|
2734
2810
|
};
|
|
2735
|
-
protoOf(EntriesItr).
|
|
2736
|
-
if (this.
|
|
2811
|
+
protoOf(EntriesItr).g4 = function (sb) {
|
|
2812
|
+
if (this.s3_1 >= this.r3_1.c3_1)
|
|
2737
2813
|
throw NoSuchElementException_init_$Create$();
|
|
2738
2814
|
var tmp = this;
|
|
2739
|
-
var _unary__edvuaz = this.
|
|
2740
|
-
this.
|
|
2741
|
-
tmp.
|
|
2742
|
-
var key = this.
|
|
2743
|
-
if (equals(key, this.
|
|
2744
|
-
sb.
|
|
2815
|
+
var _unary__edvuaz = this.s3_1;
|
|
2816
|
+
this.s3_1 = _unary__edvuaz + 1 | 0;
|
|
2817
|
+
tmp.t3_1 = _unary__edvuaz;
|
|
2818
|
+
var key = this.r3_1.x2_1[this.t3_1];
|
|
2819
|
+
if (equals(key, this.r3_1))
|
|
2820
|
+
sb.j4('(this Map)');
|
|
2745
2821
|
else
|
|
2746
|
-
sb.
|
|
2747
|
-
sb.
|
|
2748
|
-
var value = ensureNotNull(this.
|
|
2749
|
-
if (equals(value, this.
|
|
2750
|
-
sb.
|
|
2822
|
+
sb.i4(key);
|
|
2823
|
+
sb.k4(_Char___init__impl__6a9atx(61));
|
|
2824
|
+
var value = ensureNotNull(this.r3_1.y2_1)[this.t3_1];
|
|
2825
|
+
if (equals(value, this.r3_1))
|
|
2826
|
+
sb.j4('(this Map)');
|
|
2751
2827
|
else
|
|
2752
|
-
sb.
|
|
2753
|
-
this.
|
|
2828
|
+
sb.i4(value);
|
|
2829
|
+
this.v3();
|
|
2754
2830
|
};
|
|
2755
2831
|
function EntryRef(map, index) {
|
|
2756
|
-
this.
|
|
2757
|
-
this.
|
|
2758
|
-
this.
|
|
2832
|
+
this.h3_1 = map;
|
|
2833
|
+
this.i3_1 = index;
|
|
2834
|
+
this.j3_1 = this.h3_1.e3_1;
|
|
2759
2835
|
}
|
|
2760
|
-
protoOf(EntryRef).
|
|
2836
|
+
protoOf(EntryRef).d1 = function () {
|
|
2761
2837
|
checkForComodification(this);
|
|
2762
|
-
return this.
|
|
2838
|
+
return this.h3_1.x2_1[this.i3_1];
|
|
2763
2839
|
};
|
|
2764
|
-
protoOf(EntryRef).
|
|
2840
|
+
protoOf(EntryRef).e1 = function () {
|
|
2765
2841
|
checkForComodification(this);
|
|
2766
|
-
return ensureNotNull(this.
|
|
2842
|
+
return ensureNotNull(this.h3_1.y2_1)[this.i3_1];
|
|
2767
2843
|
};
|
|
2768
2844
|
protoOf(EntryRef).equals = function (other) {
|
|
2769
2845
|
var tmp;
|
|
2770
2846
|
var tmp_0;
|
|
2771
2847
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
2772
|
-
tmp_0 = equals(other.
|
|
2848
|
+
tmp_0 = equals(other.d1(), this.d1());
|
|
2773
2849
|
} else {
|
|
2774
2850
|
tmp_0 = false;
|
|
2775
2851
|
}
|
|
2776
2852
|
if (tmp_0) {
|
|
2777
|
-
tmp = equals(other.
|
|
2853
|
+
tmp = equals(other.e1(), this.e1());
|
|
2778
2854
|
} else {
|
|
2779
2855
|
tmp = false;
|
|
2780
2856
|
}
|
|
@@ -2782,36 +2858,36 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2782
2858
|
};
|
|
2783
2859
|
protoOf(EntryRef).hashCode = function () {
|
|
2784
2860
|
// Inline function 'kotlin.hashCode' call
|
|
2785
|
-
var tmp0_safe_receiver = this.
|
|
2861
|
+
var tmp0_safe_receiver = this.d1();
|
|
2786
2862
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2787
2863
|
var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
2788
2864
|
// Inline function 'kotlin.hashCode' call
|
|
2789
|
-
var tmp0_safe_receiver_0 = this.
|
|
2865
|
+
var tmp0_safe_receiver_0 = this.e1();
|
|
2790
2866
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
2791
2867
|
return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
2792
2868
|
};
|
|
2793
2869
|
protoOf(EntryRef).toString = function () {
|
|
2794
|
-
return toString_0(this.
|
|
2870
|
+
return toString_0(this.d1()) + '=' + toString_0(this.e1());
|
|
2795
2871
|
};
|
|
2796
2872
|
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
2797
|
-
this.
|
|
2798
|
-
this.
|
|
2799
|
-
this.
|
|
2800
|
-
this.
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2803
|
-
this.
|
|
2804
|
-
this.
|
|
2805
|
-
this.
|
|
2806
|
-
this.
|
|
2807
|
-
}
|
|
2808
|
-
protoOf(InternalHashMap).
|
|
2809
|
-
return this.
|
|
2810
|
-
};
|
|
2811
|
-
protoOf(InternalHashMap).
|
|
2873
|
+
this.x2_1 = keysArray;
|
|
2874
|
+
this.y2_1 = valuesArray;
|
|
2875
|
+
this.z2_1 = presenceArray;
|
|
2876
|
+
this.a3_1 = hashArray;
|
|
2877
|
+
this.b3_1 = maxProbeDistance;
|
|
2878
|
+
this.c3_1 = length;
|
|
2879
|
+
this.d3_1 = computeShift(Companion_instance_2, _get_hashSize__tftcho(this));
|
|
2880
|
+
this.e3_1 = 0;
|
|
2881
|
+
this.f3_1 = 0;
|
|
2882
|
+
this.g3_1 = false;
|
|
2883
|
+
}
|
|
2884
|
+
protoOf(InternalHashMap).k = function () {
|
|
2885
|
+
return this.f3_1;
|
|
2886
|
+
};
|
|
2887
|
+
protoOf(InternalHashMap).v2 = function (key) {
|
|
2812
2888
|
return findKey(this, key) >= 0;
|
|
2813
2889
|
};
|
|
2814
|
-
protoOf(InternalHashMap).
|
|
2890
|
+
protoOf(InternalHashMap).u2 = function (key, value) {
|
|
2815
2891
|
var index = addKey(this, key);
|
|
2816
2892
|
var valuesArray = allocateValuesArray(this);
|
|
2817
2893
|
if (index < 0) {
|
|
@@ -2840,44 +2916,44 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2840
2916
|
};
|
|
2841
2917
|
protoOf(InternalHashMap).hashCode = function () {
|
|
2842
2918
|
var result = 0;
|
|
2843
|
-
var it = this.
|
|
2919
|
+
var it = this.l4();
|
|
2844
2920
|
while (it.g()) {
|
|
2845
|
-
result = result + it.
|
|
2921
|
+
result = result + it.f4() | 0;
|
|
2846
2922
|
}
|
|
2847
2923
|
return result;
|
|
2848
2924
|
};
|
|
2849
2925
|
protoOf(InternalHashMap).toString = function () {
|
|
2850
|
-
var sb = StringBuilder_init_$Create$(2 + imul(this.
|
|
2851
|
-
sb.
|
|
2926
|
+
var sb = StringBuilder_init_$Create$(2 + imul(this.f3_1, 3) | 0);
|
|
2927
|
+
sb.j4('{');
|
|
2852
2928
|
var i = 0;
|
|
2853
|
-
var it = this.
|
|
2929
|
+
var it = this.l4();
|
|
2854
2930
|
while (it.g()) {
|
|
2855
2931
|
if (i > 0) {
|
|
2856
|
-
sb.
|
|
2932
|
+
sb.j4(', ');
|
|
2857
2933
|
}
|
|
2858
|
-
it.
|
|
2934
|
+
it.g4(sb);
|
|
2859
2935
|
i = i + 1 | 0;
|
|
2860
2936
|
}
|
|
2861
|
-
sb.
|
|
2937
|
+
sb.j4('}');
|
|
2862
2938
|
return sb.toString();
|
|
2863
2939
|
};
|
|
2864
|
-
protoOf(InternalHashMap).
|
|
2865
|
-
if (this.
|
|
2940
|
+
protoOf(InternalHashMap).l3 = function () {
|
|
2941
|
+
if (this.g3_1)
|
|
2866
2942
|
throw UnsupportedOperationException_init_$Create$();
|
|
2867
2943
|
};
|
|
2868
|
-
protoOf(InternalHashMap).
|
|
2869
|
-
var index = findKey(this, entry.
|
|
2944
|
+
protoOf(InternalHashMap).m4 = function (entry) {
|
|
2945
|
+
var index = findKey(this, entry.d1());
|
|
2870
2946
|
if (index < 0)
|
|
2871
2947
|
return false;
|
|
2872
|
-
return equals(ensureNotNull(this.
|
|
2948
|
+
return equals(ensureNotNull(this.y2_1)[index], entry.e1());
|
|
2873
2949
|
};
|
|
2874
|
-
protoOf(InternalHashMap).
|
|
2875
|
-
return this.
|
|
2950
|
+
protoOf(InternalHashMap).n4 = function (entry) {
|
|
2951
|
+
return this.m4(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
2876
2952
|
};
|
|
2877
|
-
protoOf(InternalHashMap).
|
|
2953
|
+
protoOf(InternalHashMap).w2 = function () {
|
|
2878
2954
|
return new KeysItr(this);
|
|
2879
2955
|
};
|
|
2880
|
-
protoOf(InternalHashMap).
|
|
2956
|
+
protoOf(InternalHashMap).l4 = function () {
|
|
2881
2957
|
return new EntriesItr(this);
|
|
2882
2958
|
};
|
|
2883
2959
|
function InternalMap() {
|
|
@@ -2904,74 +2980,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
2904
2980
|
}
|
|
2905
2981
|
function LinkedHashSet() {
|
|
2906
2982
|
}
|
|
2907
|
-
function
|
|
2908
|
-
_init_properties_console_kt__rfg7jv();
|
|
2909
|
-
return output;
|
|
2910
|
-
}
|
|
2911
|
-
var output;
|
|
2912
|
-
function BaseOutput() {
|
|
2913
|
-
}
|
|
2914
|
-
protoOf(BaseOutput).v4 = function () {
|
|
2915
|
-
this.w4('\n');
|
|
2916
|
-
};
|
|
2917
|
-
protoOf(BaseOutput).x4 = function (message) {
|
|
2918
|
-
this.w4(message);
|
|
2919
|
-
this.v4();
|
|
2920
|
-
};
|
|
2921
|
-
function NodeJsOutput(outputStream) {
|
|
2922
|
-
BaseOutput.call(this);
|
|
2923
|
-
this.y4_1 = outputStream;
|
|
2924
|
-
}
|
|
2925
|
-
protoOf(NodeJsOutput).w4 = function (message) {
|
|
2926
|
-
// Inline function 'kotlin.io.String' call
|
|
2927
|
-
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
2928
|
-
var messageString = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
2929
|
-
this.y4_1.write(messageString);
|
|
2930
|
-
};
|
|
2931
|
-
function BufferedOutputToConsoleLog() {
|
|
2932
|
-
BufferedOutput.call(this);
|
|
2933
|
-
}
|
|
2934
|
-
protoOf(BufferedOutputToConsoleLog).w4 = function (message) {
|
|
2935
|
-
// Inline function 'kotlin.io.String' call
|
|
2936
|
-
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
2937
|
-
var s = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
2938
|
-
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
2939
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2940
|
-
var i = s.lastIndexOf('\n', 0);
|
|
2941
|
-
if (i >= 0) {
|
|
2942
|
-
this.a5_1 = this.a5_1 + substring(s, 0, i);
|
|
2943
|
-
this.b5();
|
|
2944
|
-
s = substring_0(s, i + 1 | 0);
|
|
2945
|
-
}
|
|
2946
|
-
this.a5_1 = this.a5_1 + s;
|
|
2947
|
-
};
|
|
2948
|
-
protoOf(BufferedOutputToConsoleLog).b5 = function () {
|
|
2949
|
-
console.log(this.a5_1);
|
|
2950
|
-
this.a5_1 = '';
|
|
2951
|
-
};
|
|
2952
|
-
function BufferedOutput() {
|
|
2953
|
-
BaseOutput.call(this);
|
|
2954
|
-
this.a5_1 = '';
|
|
2955
|
-
}
|
|
2956
|
-
protoOf(BufferedOutput).w4 = function (message) {
|
|
2957
|
-
var tmp = this;
|
|
2958
|
-
var tmp_0 = this.a5_1;
|
|
2959
|
-
// Inline function 'kotlin.io.String' call
|
|
2960
|
-
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
|
|
2961
|
-
tmp.a5_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
|
|
2962
|
-
};
|
|
2963
|
-
function println(message) {
|
|
2964
|
-
_init_properties_console_kt__rfg7jv();
|
|
2965
|
-
get_output().x4(message);
|
|
2966
|
-
}
|
|
2967
|
-
var properties_initialized_console_kt_gll9dl;
|
|
2968
|
-
function _init_properties_console_kt__rfg7jv() {
|
|
2969
|
-
if (!properties_initialized_console_kt_gll9dl) {
|
|
2970
|
-
properties_initialized_console_kt_gll9dl = true;
|
|
2971
|
-
// Inline function 'kotlin.run' call
|
|
2972
|
-
var isNode = typeof process !== 'undefined' && process.versions && !!process.versions.node;
|
|
2973
|
-
output = isNode ? new NodeJsOutput(process.stdout) : new BufferedOutputToConsoleLog();
|
|
2974
|
-
}
|
|
2983
|
+
function RandomAccess() {
|
|
2975
2984
|
}
|
|
2976
2985
|
function UnsupportedOperationException_init_$Init$($this) {
|
|
2977
2986
|
RuntimeException_init_$Init$($this);
|
|
@@ -3195,6 +3204,29 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3195
3204
|
function ConcurrentModificationException() {
|
|
3196
3205
|
captureStack(this, ConcurrentModificationException);
|
|
3197
3206
|
}
|
|
3207
|
+
function ArithmeticException_init_$Init$($this) {
|
|
3208
|
+
RuntimeException_init_$Init$($this);
|
|
3209
|
+
ArithmeticException.call($this);
|
|
3210
|
+
return $this;
|
|
3211
|
+
}
|
|
3212
|
+
function ArithmeticException_init_$Create$() {
|
|
3213
|
+
var tmp = ArithmeticException_init_$Init$(objectCreate(protoOf(ArithmeticException)));
|
|
3214
|
+
captureStack(tmp, ArithmeticException_init_$Create$);
|
|
3215
|
+
return tmp;
|
|
3216
|
+
}
|
|
3217
|
+
function ArithmeticException_init_$Init$_0(message, $this) {
|
|
3218
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
3219
|
+
ArithmeticException.call($this);
|
|
3220
|
+
return $this;
|
|
3221
|
+
}
|
|
3222
|
+
function ArithmeticException_init_$Create$_0(message) {
|
|
3223
|
+
var tmp = ArithmeticException_init_$Init$_0(message, objectCreate(protoOf(ArithmeticException)));
|
|
3224
|
+
captureStack(tmp, ArithmeticException_init_$Create$_0);
|
|
3225
|
+
return tmp;
|
|
3226
|
+
}
|
|
3227
|
+
function ArithmeticException() {
|
|
3228
|
+
captureStack(this, ArithmeticException);
|
|
3229
|
+
}
|
|
3198
3230
|
function NoWhenBranchMatchedException_init_$Init$($this) {
|
|
3199
3231
|
RuntimeException_init_$Init$($this);
|
|
3200
3232
|
NoWhenBranchMatchedException.call($this);
|
|
@@ -3267,6 +3299,19 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3267
3299
|
}
|
|
3268
3300
|
return result;
|
|
3269
3301
|
}
|
|
3302
|
+
function roundToLong(_this__u8e3s4) {
|
|
3303
|
+
var tmp;
|
|
3304
|
+
if (isNaN_0(_this__u8e3s4)) {
|
|
3305
|
+
throw IllegalArgumentException_init_$Create$_0('Cannot round NaN value.');
|
|
3306
|
+
} else if (_this__u8e3s4 > toNumber_0(9223372036854775807n)) {
|
|
3307
|
+
tmp = 9223372036854775807n;
|
|
3308
|
+
} else if (_this__u8e3s4 < toNumber_0(-9223372036854775808n)) {
|
|
3309
|
+
tmp = -9223372036854775808n;
|
|
3310
|
+
} else {
|
|
3311
|
+
tmp = numberToLong(Math.round(_this__u8e3s4));
|
|
3312
|
+
}
|
|
3313
|
+
return tmp;
|
|
3314
|
+
}
|
|
3270
3315
|
function roundToInt(_this__u8e3s4) {
|
|
3271
3316
|
var tmp;
|
|
3272
3317
|
if (isNaN_0(_this__u8e3s4)) {
|
|
@@ -3280,6 +3325,22 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3280
3325
|
}
|
|
3281
3326
|
return tmp;
|
|
3282
3327
|
}
|
|
3328
|
+
function nextDown(_this__u8e3s4) {
|
|
3329
|
+
var tmp;
|
|
3330
|
+
if (isNaN_0(_this__u8e3s4) || _this__u8e3s4 === -Infinity) {
|
|
3331
|
+
tmp = _this__u8e3s4;
|
|
3332
|
+
} else if (_this__u8e3s4 === 0.0) {
|
|
3333
|
+
tmp = -4.9E-324;
|
|
3334
|
+
} else {
|
|
3335
|
+
var tmp0 = toRawBits(_this__u8e3s4);
|
|
3336
|
+
// Inline function 'kotlin.Long.plus' call
|
|
3337
|
+
var other = _this__u8e3s4 > 0 ? -1 : 1;
|
|
3338
|
+
// Inline function 'kotlin.fromBits' call
|
|
3339
|
+
var bits = add_0(tmp0, fromInt_0(other));
|
|
3340
|
+
tmp = doubleFromBits(bits);
|
|
3341
|
+
}
|
|
3342
|
+
return tmp;
|
|
3343
|
+
}
|
|
3283
3344
|
function get_INV_2_26() {
|
|
3284
3345
|
_init_properties_PlatformRandom_kt__6kjv62();
|
|
3285
3346
|
return INV_2_26;
|
|
@@ -3312,20 +3373,20 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3312
3373
|
}
|
|
3313
3374
|
function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) {
|
|
3314
3375
|
KClassImpl.call(this);
|
|
3315
|
-
this.
|
|
3316
|
-
this.
|
|
3317
|
-
this.
|
|
3376
|
+
this.q4_1 = jClass;
|
|
3377
|
+
this.r4_1 = givenSimpleName;
|
|
3378
|
+
this.s4_1 = isInstanceFunction;
|
|
3318
3379
|
}
|
|
3319
|
-
protoOf(PrimitiveKClassImpl).
|
|
3320
|
-
return this.
|
|
3380
|
+
protoOf(PrimitiveKClassImpl).t4 = function () {
|
|
3381
|
+
return this.q4_1;
|
|
3321
3382
|
};
|
|
3322
3383
|
protoOf(PrimitiveKClassImpl).equals = function (other) {
|
|
3323
3384
|
if (!(other instanceof PrimitiveKClassImpl))
|
|
3324
3385
|
return false;
|
|
3325
|
-
return protoOf(KClassImpl).equals.call(this, other) && this.
|
|
3386
|
+
return protoOf(KClassImpl).equals.call(this, other) && this.r4_1 === other.r4_1;
|
|
3326
3387
|
};
|
|
3327
|
-
protoOf(PrimitiveKClassImpl).
|
|
3328
|
-
return this.
|
|
3388
|
+
protoOf(PrimitiveKClassImpl).u4 = function () {
|
|
3389
|
+
return this.r4_1;
|
|
3329
3390
|
};
|
|
3330
3391
|
function KClassImpl() {
|
|
3331
3392
|
}
|
|
@@ -3335,7 +3396,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3335
3396
|
tmp = false;
|
|
3336
3397
|
} else {
|
|
3337
3398
|
if (other instanceof KClassImpl) {
|
|
3338
|
-
tmp = equals(this.
|
|
3399
|
+
tmp = equals(this.t4(), other.t4());
|
|
3339
3400
|
} else {
|
|
3340
3401
|
tmp = false;
|
|
3341
3402
|
}
|
|
@@ -3343,12 +3404,12 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3343
3404
|
return tmp;
|
|
3344
3405
|
};
|
|
3345
3406
|
protoOf(KClassImpl).hashCode = function () {
|
|
3346
|
-
var tmp0_safe_receiver = this.
|
|
3407
|
+
var tmp0_safe_receiver = this.u4();
|
|
3347
3408
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
3348
3409
|
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
3349
3410
|
};
|
|
3350
3411
|
protoOf(KClassImpl).toString = function () {
|
|
3351
|
-
return 'class ' + this.
|
|
3412
|
+
return 'class ' + this.u4();
|
|
3352
3413
|
};
|
|
3353
3414
|
function NothingKClassImpl() {
|
|
3354
3415
|
}
|
|
@@ -3383,15 +3444,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3383
3444
|
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
3384
3445
|
}
|
|
3385
3446
|
function StringBuilder(content) {
|
|
3386
|
-
this.
|
|
3447
|
+
this.h4_1 = content;
|
|
3387
3448
|
}
|
|
3388
3449
|
protoOf(StringBuilder).a = function () {
|
|
3389
3450
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3390
|
-
return this.
|
|
3451
|
+
return this.h4_1.length;
|
|
3391
3452
|
};
|
|
3392
3453
|
protoOf(StringBuilder).b = function (index) {
|
|
3393
3454
|
// Inline function 'kotlin.text.getOrElse' call
|
|
3394
|
-
var this_0 = this.
|
|
3455
|
+
var this_0 = this.h4_1;
|
|
3395
3456
|
var tmp;
|
|
3396
3457
|
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
|
|
3397
3458
|
tmp = charSequenceGet(this_0, index);
|
|
@@ -3401,43 +3462,43 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3401
3462
|
return tmp;
|
|
3402
3463
|
};
|
|
3403
3464
|
protoOf(StringBuilder).c = function (startIndex, endIndex) {
|
|
3404
|
-
return substring(this.
|
|
3465
|
+
return substring(this.h4_1, startIndex, endIndex);
|
|
3405
3466
|
};
|
|
3406
|
-
protoOf(StringBuilder).
|
|
3407
|
-
this.
|
|
3467
|
+
protoOf(StringBuilder).k4 = function (value) {
|
|
3468
|
+
this.h4_1 = this.h4_1 + toString(value);
|
|
3408
3469
|
return this;
|
|
3409
3470
|
};
|
|
3410
3471
|
protoOf(StringBuilder).e = function (value) {
|
|
3411
|
-
this.
|
|
3472
|
+
this.h4_1 = this.h4_1 + toString_0(value);
|
|
3412
3473
|
return this;
|
|
3413
3474
|
};
|
|
3414
|
-
protoOf(StringBuilder).
|
|
3415
|
-
return this.
|
|
3475
|
+
protoOf(StringBuilder).v4 = function (value, startIndex, endIndex) {
|
|
3476
|
+
return this.w4(value == null ? 'null' : value, startIndex, endIndex);
|
|
3416
3477
|
};
|
|
3417
|
-
protoOf(StringBuilder).
|
|
3418
|
-
this.
|
|
3478
|
+
protoOf(StringBuilder).i4 = function (value) {
|
|
3479
|
+
this.h4_1 = this.h4_1 + toString_0(value);
|
|
3419
3480
|
return this;
|
|
3420
3481
|
};
|
|
3421
|
-
protoOf(StringBuilder).
|
|
3422
|
-
this.
|
|
3482
|
+
protoOf(StringBuilder).x4 = function (value) {
|
|
3483
|
+
this.h4_1 = this.h4_1 + value;
|
|
3423
3484
|
return this;
|
|
3424
3485
|
};
|
|
3425
|
-
protoOf(StringBuilder).
|
|
3426
|
-
return this.
|
|
3486
|
+
protoOf(StringBuilder).y4 = function (value) {
|
|
3487
|
+
return this.j4(value.toString());
|
|
3427
3488
|
};
|
|
3428
|
-
protoOf(StringBuilder).
|
|
3489
|
+
protoOf(StringBuilder).j4 = function (value) {
|
|
3429
3490
|
var tmp = this;
|
|
3430
|
-
var tmp_0 = this.
|
|
3431
|
-
tmp.
|
|
3491
|
+
var tmp_0 = this.h4_1;
|
|
3492
|
+
tmp.h4_1 = tmp_0 + (value == null ? 'null' : value);
|
|
3432
3493
|
return this;
|
|
3433
3494
|
};
|
|
3434
3495
|
protoOf(StringBuilder).toString = function () {
|
|
3435
|
-
return this.
|
|
3496
|
+
return this.h4_1;
|
|
3436
3497
|
};
|
|
3437
|
-
protoOf(StringBuilder).
|
|
3498
|
+
protoOf(StringBuilder).w4 = function (value, startIndex, endIndex) {
|
|
3438
3499
|
var stringCsq = toString_1(value);
|
|
3439
|
-
Companion_instance_4.
|
|
3440
|
-
this.
|
|
3500
|
+
Companion_instance_4.z4(startIndex, endIndex, stringCsq.length);
|
|
3501
|
+
this.h4_1 = this.h4_1 + substring(stringCsq, startIndex, endIndex);
|
|
3441
3502
|
return this;
|
|
3442
3503
|
};
|
|
3443
3504
|
function uppercaseChar(_this__u8e3s4) {
|
|
@@ -3478,16 +3539,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3478
3539
|
}
|
|
3479
3540
|
return tmp;
|
|
3480
3541
|
}
|
|
3481
|
-
function toDouble(_this__u8e3s4) {
|
|
3482
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3483
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
3484
|
-
// Inline function 'kotlin.also' call
|
|
3485
|
-
var this_0 = +_this__u8e3s4;
|
|
3486
|
-
if (isNaN_0(this_0) && !isNaN_2(_this__u8e3s4) || (this_0 === 0.0 && isBlank(_this__u8e3s4))) {
|
|
3487
|
-
numberFormatError(_this__u8e3s4);
|
|
3488
|
-
}
|
|
3489
|
-
return this_0;
|
|
3490
|
-
}
|
|
3491
3542
|
function toInt_0(_this__u8e3s4) {
|
|
3492
3543
|
var tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4);
|
|
3493
3544
|
var tmp;
|
|
@@ -3498,6 +3549,16 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3498
3549
|
}
|
|
3499
3550
|
return tmp;
|
|
3500
3551
|
}
|
|
3552
|
+
function toDouble(_this__u8e3s4) {
|
|
3553
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3554
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3555
|
+
// Inline function 'kotlin.also' call
|
|
3556
|
+
var this_0 = +_this__u8e3s4;
|
|
3557
|
+
if (isNaN_0(this_0) && !isNaN_2(_this__u8e3s4) || (this_0 === 0.0 && isBlank(_this__u8e3s4))) {
|
|
3558
|
+
numberFormatError(_this__u8e3s4);
|
|
3559
|
+
}
|
|
3560
|
+
return this_0;
|
|
3561
|
+
}
|
|
3501
3562
|
function digitOf(char, radix) {
|
|
3502
3563
|
// Inline function 'kotlin.let' call
|
|
3503
3564
|
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);
|
|
@@ -3526,12 +3587,38 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3526
3587
|
function Regex_init_$Create$(pattern) {
|
|
3527
3588
|
return Regex_init_$Init$(pattern, objectCreate(protoOf(Regex)));
|
|
3528
3589
|
}
|
|
3590
|
+
function initMatchesEntirePattern($this) {
|
|
3591
|
+
var tmp0_elvis_lhs = $this.e5_1;
|
|
3592
|
+
var tmp;
|
|
3593
|
+
if (tmp0_elvis_lhs == null) {
|
|
3594
|
+
// Inline function 'kotlin.run' call
|
|
3595
|
+
var tmp_0;
|
|
3596
|
+
if (startsWith_0($this.a5_1, _Char___init__impl__6a9atx(94)) && endsWith($this.a5_1, _Char___init__impl__6a9atx(36))) {
|
|
3597
|
+
tmp_0 = $this.c5_1;
|
|
3598
|
+
} else {
|
|
3599
|
+
return new RegExp('^' + trimEnd(trimStart($this.a5_1, charArrayOf([_Char___init__impl__6a9atx(94)])), charArrayOf([_Char___init__impl__6a9atx(36)])) + '$', toFlags($this.b5_1, 'gu'));
|
|
3600
|
+
}
|
|
3601
|
+
// Inline function 'kotlin.also' call
|
|
3602
|
+
var this_0 = tmp_0;
|
|
3603
|
+
$this.e5_1 = this_0;
|
|
3604
|
+
tmp = this_0;
|
|
3605
|
+
} else {
|
|
3606
|
+
tmp = tmp0_elvis_lhs;
|
|
3607
|
+
}
|
|
3608
|
+
return tmp;
|
|
3609
|
+
}
|
|
3529
3610
|
function Companion_3() {
|
|
3530
3611
|
Companion_instance_3 = this;
|
|
3531
|
-
this.
|
|
3532
|
-
this.
|
|
3533
|
-
this.
|
|
3612
|
+
this.f5_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
3613
|
+
this.g5_1 = new RegExp('[\\\\$]', 'g');
|
|
3614
|
+
this.h5_1 = new RegExp('\\$', 'g');
|
|
3534
3615
|
}
|
|
3616
|
+
protoOf(Companion_3).i5 = function (literal) {
|
|
3617
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
3618
|
+
var pattern = this.f5_1;
|
|
3619
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3620
|
+
return literal.replace(pattern, '\\$&');
|
|
3621
|
+
};
|
|
3535
3622
|
var Companion_instance_3;
|
|
3536
3623
|
function Companion_getInstance_3() {
|
|
3537
3624
|
if (Companion_instance_3 == null)
|
|
@@ -3540,7 +3627,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3540
3627
|
}
|
|
3541
3628
|
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
3542
3629
|
return function () {
|
|
3543
|
-
return this$0.
|
|
3630
|
+
return this$0.j5($input, $startIndex);
|
|
3544
3631
|
};
|
|
3545
3632
|
}
|
|
3546
3633
|
function Regex$findAll$lambda_0(match) {
|
|
@@ -3553,50 +3640,53 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3553
3640
|
}
|
|
3554
3641
|
function Regex(pattern, options) {
|
|
3555
3642
|
Companion_getInstance_3();
|
|
3556
|
-
this.
|
|
3557
|
-
this.
|
|
3558
|
-
this.
|
|
3559
|
-
this.
|
|
3560
|
-
this.
|
|
3561
|
-
}
|
|
3562
|
-
protoOf(Regex).
|
|
3563
|
-
reset(this.
|
|
3564
|
-
var match = this.
|
|
3565
|
-
return !(match == null) && match.index === 0 && this.
|
|
3566
|
-
};
|
|
3567
|
-
protoOf(Regex).
|
|
3643
|
+
this.a5_1 = pattern;
|
|
3644
|
+
this.b5_1 = toSet(options);
|
|
3645
|
+
this.c5_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
3646
|
+
this.d5_1 = null;
|
|
3647
|
+
this.e5_1 = null;
|
|
3648
|
+
}
|
|
3649
|
+
protoOf(Regex).k5 = function (input) {
|
|
3650
|
+
reset(this.c5_1);
|
|
3651
|
+
var match = this.c5_1.exec(toString_1(input));
|
|
3652
|
+
return !(match == null) && match.index === 0 && this.c5_1.lastIndex === charSequenceLength(input);
|
|
3653
|
+
};
|
|
3654
|
+
protoOf(Regex).j5 = function (input, startIndex) {
|
|
3568
3655
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3569
3656
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3570
3657
|
}
|
|
3571
|
-
return findNext(this.
|
|
3658
|
+
return findNext(this.c5_1, toString_1(input), startIndex, this.c5_1);
|
|
3572
3659
|
};
|
|
3573
|
-
protoOf(Regex).
|
|
3660
|
+
protoOf(Regex).l5 = function (input, startIndex, $super) {
|
|
3574
3661
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3575
|
-
return $super === VOID ? this.
|
|
3662
|
+
return $super === VOID ? this.j5(input, startIndex) : $super.j5.call(this, input, startIndex);
|
|
3576
3663
|
};
|
|
3577
|
-
protoOf(Regex).
|
|
3664
|
+
protoOf(Regex).m5 = function (input, startIndex) {
|
|
3578
3665
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
3579
3666
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
3580
3667
|
}
|
|
3581
3668
|
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
3582
3669
|
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
3583
3670
|
};
|
|
3584
|
-
protoOf(Regex).
|
|
3671
|
+
protoOf(Regex).n5 = function (input, startIndex, $super) {
|
|
3585
3672
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3586
|
-
return $super === VOID ? this.
|
|
3673
|
+
return $super === VOID ? this.m5(input, startIndex) : $super.m5.call(this, input, startIndex);
|
|
3587
3674
|
};
|
|
3588
|
-
protoOf(Regex).
|
|
3675
|
+
protoOf(Regex).o5 = function (input) {
|
|
3676
|
+
return findNext(initMatchesEntirePattern(this), toString_1(input), 0, this.c5_1);
|
|
3677
|
+
};
|
|
3678
|
+
protoOf(Regex).p5 = function (input, replacement) {
|
|
3589
3679
|
if (!contains_2(replacement, _Char___init__impl__6a9atx(92)) && !contains_2(replacement, _Char___init__impl__6a9atx(36))) {
|
|
3590
3680
|
var tmp0 = toString_1(input);
|
|
3591
3681
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
3592
|
-
var pattern = this.
|
|
3682
|
+
var pattern = this.c5_1;
|
|
3593
3683
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3594
3684
|
return tmp0.replace(pattern, replacement);
|
|
3595
3685
|
}
|
|
3596
|
-
return this.
|
|
3686
|
+
return this.q5(input, Regex$replace$lambda(replacement));
|
|
3597
3687
|
};
|
|
3598
|
-
protoOf(Regex).
|
|
3599
|
-
var match = this.
|
|
3688
|
+
protoOf(Regex).q5 = function (input, transform) {
|
|
3689
|
+
var match = this.l5(input);
|
|
3600
3690
|
if (match == null)
|
|
3601
3691
|
return toString_1(input);
|
|
3602
3692
|
var lastStart = 0;
|
|
@@ -3604,19 +3694,19 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3604
3694
|
var sb = StringBuilder_init_$Create$(length);
|
|
3605
3695
|
do {
|
|
3606
3696
|
var foundMatch = ensureNotNull(match);
|
|
3607
|
-
sb.
|
|
3697
|
+
sb.v4(input, lastStart, foundMatch.r5().v5());
|
|
3608
3698
|
sb.e(transform(foundMatch));
|
|
3609
|
-
lastStart = foundMatch.
|
|
3699
|
+
lastStart = foundMatch.r5().w5() + 1 | 0;
|
|
3610
3700
|
match = foundMatch.h();
|
|
3611
3701
|
}
|
|
3612
3702
|
while (lastStart < length && !(match == null));
|
|
3613
3703
|
if (lastStart < length) {
|
|
3614
|
-
sb.
|
|
3704
|
+
sb.v4(input, lastStart, length);
|
|
3615
3705
|
}
|
|
3616
3706
|
return sb.toString();
|
|
3617
3707
|
};
|
|
3618
3708
|
protoOf(Regex).toString = function () {
|
|
3619
|
-
return this.
|
|
3709
|
+
return this.c5_1.toString();
|
|
3620
3710
|
};
|
|
3621
3711
|
function toFlags(_this__u8e3s4, prepend) {
|
|
3622
3712
|
return joinToString_0(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
@@ -3641,7 +3731,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3641
3731
|
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
|
|
3642
3732
|
var _unary__edvuaz_0 = index;
|
|
3643
3733
|
index = _unary__edvuaz_0 + 1 | 0;
|
|
3644
|
-
result.
|
|
3734
|
+
result.k4(charCodeAt(replacement, _unary__edvuaz_0));
|
|
3645
3735
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
3646
3736
|
if (index === replacement.length)
|
|
3647
3737
|
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
|
|
@@ -3653,45 +3743,45 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3653
3743
|
if (endIndex === replacement.length || !(charCodeAt(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
|
|
3654
3744
|
throw IllegalArgumentException_init_$Create$_0("Named capturing group reference is missing trailing '}'");
|
|
3655
3745
|
var groupName = substring(replacement, index, endIndex);
|
|
3656
|
-
var tmp0_safe_receiver = get(match.
|
|
3657
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3658
|
-
result.
|
|
3746
|
+
var tmp0_safe_receiver = get(match.x5(), groupName);
|
|
3747
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y5_1;
|
|
3748
|
+
result.j4(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
3659
3749
|
index = endIndex + 1 | 0;
|
|
3660
3750
|
} else {
|
|
3661
3751
|
var containsArg = charCodeAt(replacement, index);
|
|
3662
3752
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
3663
3753
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
3664
|
-
var groups = match.
|
|
3665
|
-
var endIndex_0 = readGroupIndex(replacement, index, groups.
|
|
3754
|
+
var groups = match.x5();
|
|
3755
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.k());
|
|
3666
3756
|
var groupIndex = toInt_0(substring(replacement, index, endIndex_0));
|
|
3667
|
-
if (groupIndex >= groups.
|
|
3757
|
+
if (groupIndex >= groups.k())
|
|
3668
3758
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
3669
3759
|
var tmp2_safe_receiver = groups.j(groupIndex);
|
|
3670
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3671
|
-
result.
|
|
3760
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.y5_1;
|
|
3761
|
+
result.j4(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
3672
3762
|
index = endIndex_0;
|
|
3673
3763
|
}
|
|
3674
3764
|
} else {
|
|
3675
|
-
result.
|
|
3765
|
+
result.k4(char);
|
|
3676
3766
|
}
|
|
3677
3767
|
}
|
|
3678
3768
|
return result.toString();
|
|
3679
3769
|
}
|
|
3680
3770
|
function MatchGroup(value) {
|
|
3681
|
-
this.
|
|
3771
|
+
this.y5_1 = value;
|
|
3682
3772
|
}
|
|
3683
3773
|
protoOf(MatchGroup).toString = function () {
|
|
3684
|
-
return 'MatchGroup(value=' + this.
|
|
3774
|
+
return 'MatchGroup(value=' + this.y5_1 + ')';
|
|
3685
3775
|
};
|
|
3686
3776
|
protoOf(MatchGroup).hashCode = function () {
|
|
3687
|
-
return getStringHashCode(this.
|
|
3777
|
+
return getStringHashCode(this.y5_1);
|
|
3688
3778
|
};
|
|
3689
3779
|
protoOf(MatchGroup).equals = function (other) {
|
|
3690
3780
|
if (this === other)
|
|
3691
3781
|
return true;
|
|
3692
3782
|
if (!(other instanceof MatchGroup))
|
|
3693
3783
|
return false;
|
|
3694
|
-
if (!(this.
|
|
3784
|
+
if (!(this.y5_1 === other.y5_1))
|
|
3695
3785
|
return false;
|
|
3696
3786
|
return true;
|
|
3697
3787
|
};
|
|
@@ -3715,7 +3805,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3715
3805
|
tmp = tmp0_elvis_lhs;
|
|
3716
3806
|
}
|
|
3717
3807
|
var namedGroups = tmp;
|
|
3718
|
-
return namedGroups.
|
|
3808
|
+
return namedGroups.z5(name);
|
|
3719
3809
|
}
|
|
3720
3810
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
3721
3811
|
var index = startIndex + 1 | 0;
|
|
@@ -3742,7 +3832,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3742
3832
|
return index;
|
|
3743
3833
|
}
|
|
3744
3834
|
function toFlags$lambda(it) {
|
|
3745
|
-
return it.
|
|
3835
|
+
return it.c6_1;
|
|
3746
3836
|
}
|
|
3747
3837
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
3748
3838
|
return function (it) {
|
|
@@ -3754,14 +3844,14 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3754
3844
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
3755
3845
|
}
|
|
3756
3846
|
function advanceToNextCharacter($this, index) {
|
|
3757
|
-
if (index <
|
|
3847
|
+
if (index < get_lastIndex_2($this.l6_1)) {
|
|
3758
3848
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3759
3849
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3760
|
-
var code1 = $this.
|
|
3850
|
+
var code1 = $this.l6_1.charCodeAt(index);
|
|
3761
3851
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
3762
3852
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3763
3853
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3764
|
-
var code2 = $this.
|
|
3854
|
+
var code2 = $this.l6_1.charCodeAt(index + 1 | 0);
|
|
3765
3855
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
3766
3856
|
return index + 2 | 0;
|
|
3767
3857
|
}
|
|
@@ -3770,12 +3860,12 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3770
3860
|
return index + 1 | 0;
|
|
3771
3861
|
}
|
|
3772
3862
|
function findNext$1$groups$1($match, this$0) {
|
|
3773
|
-
this.
|
|
3774
|
-
this.
|
|
3863
|
+
this.d6_1 = $match;
|
|
3864
|
+
this.e6_1 = this$0;
|
|
3775
3865
|
AbstractCollection.call(this);
|
|
3776
3866
|
}
|
|
3777
|
-
protoOf(findNext$1$groups$1).
|
|
3778
|
-
return this.
|
|
3867
|
+
protoOf(findNext$1$groups$1).k = function () {
|
|
3868
|
+
return this.d6_1.length;
|
|
3779
3869
|
};
|
|
3780
3870
|
protoOf(findNext$1$groups$1).f = function () {
|
|
3781
3871
|
var tmp = asSequence(get_indices(this));
|
|
@@ -3784,7 +3874,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3784
3874
|
protoOf(findNext$1$groups$1).j = function (index) {
|
|
3785
3875
|
// Inline function 'kotlin.js.get' call
|
|
3786
3876
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3787
|
-
var tmp0_safe_receiver = this.
|
|
3877
|
+
var tmp0_safe_receiver = this.d6_1[index];
|
|
3788
3878
|
var tmp;
|
|
3789
3879
|
if (tmp0_safe_receiver == null) {
|
|
3790
3880
|
tmp = null;
|
|
@@ -3794,9 +3884,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3794
3884
|
}
|
|
3795
3885
|
return tmp;
|
|
3796
3886
|
};
|
|
3797
|
-
protoOf(findNext$1$groups$1).
|
|
3887
|
+
protoOf(findNext$1$groups$1).z5 = function (name) {
|
|
3798
3888
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3799
|
-
var tmp0_elvis_lhs = this.
|
|
3889
|
+
var tmp0_elvis_lhs = this.d6_1.groups;
|
|
3800
3890
|
var tmp;
|
|
3801
3891
|
if (tmp0_elvis_lhs == null) {
|
|
3802
3892
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
@@ -3804,7 +3894,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3804
3894
|
tmp = tmp0_elvis_lhs;
|
|
3805
3895
|
}
|
|
3806
3896
|
var groups = tmp;
|
|
3807
|
-
if (!hasOwnPrototypeProperty(this.
|
|
3897
|
+
if (!hasOwnPrototypeProperty(this.e6_1, groups, name))
|
|
3808
3898
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
|
|
3809
3899
|
var value = groups[name];
|
|
3810
3900
|
var tmp_0;
|
|
@@ -3815,30 +3905,50 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3815
3905
|
}
|
|
3816
3906
|
return tmp_0;
|
|
3817
3907
|
};
|
|
3908
|
+
function findNext$1$groupValues$1($match) {
|
|
3909
|
+
this.m6_1 = $match;
|
|
3910
|
+
AbstractList.call(this);
|
|
3911
|
+
}
|
|
3912
|
+
protoOf(findNext$1$groupValues$1).k = function () {
|
|
3913
|
+
return this.m6_1.length;
|
|
3914
|
+
};
|
|
3915
|
+
protoOf(findNext$1$groupValues$1).j = function (index) {
|
|
3916
|
+
// Inline function 'kotlin.js.get' call
|
|
3917
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3918
|
+
var tmp0_elvis_lhs = this.m6_1[index];
|
|
3919
|
+
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
3920
|
+
};
|
|
3818
3921
|
function findNext$1($range, $match, $nextPattern, $input) {
|
|
3819
|
-
this.
|
|
3820
|
-
this.
|
|
3821
|
-
this.
|
|
3822
|
-
this.
|
|
3823
|
-
this.
|
|
3922
|
+
this.i6_1 = $range;
|
|
3923
|
+
this.j6_1 = $match;
|
|
3924
|
+
this.k6_1 = $nextPattern;
|
|
3925
|
+
this.l6_1 = $input;
|
|
3926
|
+
this.f6_1 = $range;
|
|
3824
3927
|
var tmp = this;
|
|
3825
|
-
tmp.
|
|
3826
|
-
this.
|
|
3928
|
+
tmp.g6_1 = new findNext$1$groups$1($match, this);
|
|
3929
|
+
this.h6_1 = null;
|
|
3827
3930
|
}
|
|
3828
|
-
protoOf(findNext$1).
|
|
3829
|
-
return this.
|
|
3931
|
+
protoOf(findNext$1).r5 = function () {
|
|
3932
|
+
return this.f6_1;
|
|
3830
3933
|
};
|
|
3831
|
-
protoOf(findNext$1).
|
|
3934
|
+
protoOf(findNext$1).e1 = function () {
|
|
3832
3935
|
// Inline function 'kotlin.js.get' call
|
|
3833
3936
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3834
|
-
var tmp$ret$0 = this.
|
|
3937
|
+
var tmp$ret$0 = this.j6_1[0];
|
|
3835
3938
|
return ensureNotNull(tmp$ret$0);
|
|
3836
3939
|
};
|
|
3837
|
-
protoOf(findNext$1).
|
|
3838
|
-
return this.
|
|
3940
|
+
protoOf(findNext$1).x5 = function () {
|
|
3941
|
+
return this.g6_1;
|
|
3942
|
+
};
|
|
3943
|
+
protoOf(findNext$1).n6 = function () {
|
|
3944
|
+
if (this.h6_1 == null) {
|
|
3945
|
+
var tmp = this;
|
|
3946
|
+
tmp.h6_1 = new findNext$1$groupValues$1(this.j6_1);
|
|
3947
|
+
}
|
|
3948
|
+
return ensureNotNull(this.h6_1);
|
|
3839
3949
|
};
|
|
3840
3950
|
protoOf(findNext$1).h = function () {
|
|
3841
|
-
return findNext(this.
|
|
3951
|
+
return findNext(this.k6_1, this.l6_1, this.i6_1.i() ? advanceToNextCharacter(this, this.i6_1.v5()) : this.i6_1.w5() + 1 | 0, this.k6_1);
|
|
3842
3952
|
};
|
|
3843
3953
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
3844
3954
|
function substring(_this__u8e3s4, startIndex, endIndex) {
|
|
@@ -3846,11 +3956,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3846
3956
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3847
3957
|
return _this__u8e3s4.substring(startIndex, endIndex);
|
|
3848
3958
|
}
|
|
3849
|
-
function substring_0(_this__u8e3s4, startIndex) {
|
|
3850
|
-
_init_properties_stringJs_kt__bg7zye();
|
|
3851
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
3852
|
-
return _this__u8e3s4.substring(startIndex);
|
|
3853
|
-
}
|
|
3854
3959
|
function compareTo_0(_this__u8e3s4, other, ignoreCase) {
|
|
3855
3960
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
3856
3961
|
_init_properties_stringJs_kt__bg7zye();
|
|
@@ -3914,7 +4019,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3914
4019
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3915
4020
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
3916
4021
|
_init_properties_stringJs_kt__bg7zye();
|
|
3917
|
-
Companion_instance_4.
|
|
4022
|
+
Companion_instance_4.z4(startIndex, endIndex, _this__u8e3s4.length);
|
|
3918
4023
|
var result = '';
|
|
3919
4024
|
var inductionVariable = startIndex;
|
|
3920
4025
|
if (inductionVariable < endIndex)
|
|
@@ -3926,18 +4031,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3926
4031
|
while (inductionVariable < endIndex);
|
|
3927
4032
|
return result;
|
|
3928
4033
|
}
|
|
3929
|
-
function toCharArray(_this__u8e3s4) {
|
|
3930
|
-
_init_properties_stringJs_kt__bg7zye();
|
|
3931
|
-
var tmp = 0;
|
|
3932
|
-
var tmp_0 = _this__u8e3s4.length;
|
|
3933
|
-
var tmp_1 = charArray(tmp_0);
|
|
3934
|
-
while (tmp < tmp_0) {
|
|
3935
|
-
var tmp_2 = tmp;
|
|
3936
|
-
tmp_1[tmp_2] = charCodeAt(_this__u8e3s4, tmp_2);
|
|
3937
|
-
tmp = tmp + 1 | 0;
|
|
3938
|
-
}
|
|
3939
|
-
return tmp_1;
|
|
3940
|
-
}
|
|
3941
4034
|
function encodeToByteArray(_this__u8e3s4) {
|
|
3942
4035
|
_init_properties_stringJs_kt__bg7zye();
|
|
3943
4036
|
return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
@@ -3946,13 +4039,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3946
4039
|
_init_properties_stringJs_kt__bg7zye();
|
|
3947
4040
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
3948
4041
|
}
|
|
3949
|
-
function
|
|
4042
|
+
function toCharArray(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex) {
|
|
3950
4043
|
destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
|
|
3951
4044
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
3952
4045
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
3953
4046
|
_init_properties_stringJs_kt__bg7zye();
|
|
3954
|
-
Companion_instance_4.
|
|
3955
|
-
Companion_instance_4.
|
|
4047
|
+
Companion_instance_4.z4(startIndex, endIndex, _this__u8e3s4.length);
|
|
4048
|
+
Companion_instance_4.z4(destinationOffset, (destinationOffset + endIndex | 0) - startIndex | 0, destination.length);
|
|
3956
4049
|
var destIndex = destinationOffset;
|
|
3957
4050
|
var inductionVariable = startIndex;
|
|
3958
4051
|
if (inductionVariable < endIndex)
|
|
@@ -3967,23 +4060,23 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3967
4060
|
return destination;
|
|
3968
4061
|
}
|
|
3969
4062
|
function sam$kotlin_Comparator$0(function_0) {
|
|
3970
|
-
this.
|
|
4063
|
+
this.o6_1 = function_0;
|
|
3971
4064
|
}
|
|
3972
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
3973
|
-
return this.
|
|
4065
|
+
protoOf(sam$kotlin_Comparator$0).p6 = function (a, b) {
|
|
4066
|
+
return this.o6_1(a, b);
|
|
3974
4067
|
};
|
|
3975
4068
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
3976
|
-
return this.
|
|
4069
|
+
return this.p6(a, b);
|
|
3977
4070
|
};
|
|
3978
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
3979
|
-
return this.
|
|
4071
|
+
protoOf(sam$kotlin_Comparator$0).l1 = function () {
|
|
4072
|
+
return this.o6_1;
|
|
3980
4073
|
};
|
|
3981
4074
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
3982
4075
|
var tmp;
|
|
3983
4076
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
3984
4077
|
var tmp_0;
|
|
3985
4078
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
3986
|
-
tmp_0 = equals(this.
|
|
4079
|
+
tmp_0 = equals(this.l1(), other.l1());
|
|
3987
4080
|
} else {
|
|
3988
4081
|
tmp_0 = false;
|
|
3989
4082
|
}
|
|
@@ -3994,7 +4087,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
3994
4087
|
return tmp;
|
|
3995
4088
|
};
|
|
3996
4089
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
3997
|
-
return hashCode(this.
|
|
4090
|
+
return hashCode(this.l1());
|
|
3998
4091
|
};
|
|
3999
4092
|
function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
|
|
4000
4093
|
_init_properties_stringJs_kt__bg7zye();
|
|
@@ -4008,6 +4101,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4008
4101
|
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
|
|
4009
4102
|
}
|
|
4010
4103
|
}
|
|
4104
|
+
function startsWith(_this__u8e3s4, prefix, startIndex, ignoreCase) {
|
|
4105
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4106
|
+
if (!ignoreCase) {
|
|
4107
|
+
// Inline function 'kotlin.text.nativeStartsWith' call
|
|
4108
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4109
|
+
return _this__u8e3s4.startsWith(prefix, startIndex);
|
|
4110
|
+
} else
|
|
4111
|
+
return regionMatches(_this__u8e3s4, startIndex, prefix, 0, prefix.length, ignoreCase);
|
|
4112
|
+
}
|
|
4011
4113
|
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
4012
4114
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4013
4115
|
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
@@ -4101,40 +4203,40 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4101
4203
|
byteIndex = _unary__edvuaz + 1 | 0;
|
|
4102
4204
|
var byte = bytes[_unary__edvuaz];
|
|
4103
4205
|
if (byte >= 0)
|
|
4104
|
-
stringBuilder.
|
|
4206
|
+
stringBuilder.k4(numberToChar(byte));
|
|
4105
4207
|
else if (byte >> 5 === -2) {
|
|
4106
4208
|
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
4107
4209
|
if (code <= 0) {
|
|
4108
|
-
stringBuilder.
|
|
4210
|
+
stringBuilder.k4(_Char___init__impl__6a9atx(65533));
|
|
4109
4211
|
byteIndex = byteIndex + (-code | 0) | 0;
|
|
4110
4212
|
} else {
|
|
4111
|
-
stringBuilder.
|
|
4213
|
+
stringBuilder.k4(numberToChar(code));
|
|
4112
4214
|
byteIndex = byteIndex + 1 | 0;
|
|
4113
4215
|
}
|
|
4114
4216
|
} else if (byte >> 4 === -2) {
|
|
4115
4217
|
var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
4116
4218
|
if (code_0 <= 0) {
|
|
4117
|
-
stringBuilder.
|
|
4219
|
+
stringBuilder.k4(_Char___init__impl__6a9atx(65533));
|
|
4118
4220
|
byteIndex = byteIndex + (-code_0 | 0) | 0;
|
|
4119
4221
|
} else {
|
|
4120
|
-
stringBuilder.
|
|
4222
|
+
stringBuilder.k4(numberToChar(code_0));
|
|
4121
4223
|
byteIndex = byteIndex + 2 | 0;
|
|
4122
4224
|
}
|
|
4123
4225
|
} else if (byte >> 3 === -2) {
|
|
4124
4226
|
var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
4125
4227
|
if (code_1 <= 0) {
|
|
4126
|
-
stringBuilder.
|
|
4228
|
+
stringBuilder.k4(_Char___init__impl__6a9atx(65533));
|
|
4127
4229
|
byteIndex = byteIndex + (-code_1 | 0) | 0;
|
|
4128
4230
|
} else {
|
|
4129
4231
|
var high = (code_1 - 65536 | 0) >> 10 | 55296;
|
|
4130
4232
|
var low = code_1 & 1023 | 56320;
|
|
4131
|
-
stringBuilder.
|
|
4132
|
-
stringBuilder.
|
|
4233
|
+
stringBuilder.k4(numberToChar(high));
|
|
4234
|
+
stringBuilder.k4(numberToChar(low));
|
|
4133
4235
|
byteIndex = byteIndex + 3 | 0;
|
|
4134
4236
|
}
|
|
4135
4237
|
} else {
|
|
4136
4238
|
malformed(0, byteIndex, throwOnMalformed);
|
|
4137
|
-
stringBuilder.
|
|
4239
|
+
stringBuilder.k4(_Char___init__impl__6a9atx(65533));
|
|
4138
4240
|
}
|
|
4139
4241
|
}
|
|
4140
4242
|
return stringBuilder.toString();
|
|
@@ -4246,13 +4348,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4246
4348
|
}
|
|
4247
4349
|
function AbstractCollection() {
|
|
4248
4350
|
}
|
|
4249
|
-
protoOf(AbstractCollection).
|
|
4351
|
+
protoOf(AbstractCollection).a1 = function (element) {
|
|
4250
4352
|
var tmp$ret$0;
|
|
4251
4353
|
$l$block_0: {
|
|
4252
4354
|
// Inline function 'kotlin.collections.any' call
|
|
4253
4355
|
var tmp;
|
|
4254
4356
|
if (isInterface(this, Collection)) {
|
|
4255
|
-
tmp = this.
|
|
4357
|
+
tmp = this.i();
|
|
4256
4358
|
} else {
|
|
4257
4359
|
tmp = false;
|
|
4258
4360
|
}
|
|
@@ -4272,13 +4374,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4272
4374
|
}
|
|
4273
4375
|
return tmp$ret$0;
|
|
4274
4376
|
};
|
|
4275
|
-
protoOf(AbstractCollection).
|
|
4377
|
+
protoOf(AbstractCollection).c1 = function (elements) {
|
|
4276
4378
|
var tmp$ret$0;
|
|
4277
4379
|
$l$block_0: {
|
|
4278
4380
|
// Inline function 'kotlin.collections.all' call
|
|
4279
4381
|
var tmp;
|
|
4280
4382
|
if (isInterface(elements, Collection)) {
|
|
4281
|
-
tmp = elements.
|
|
4383
|
+
tmp = elements.i();
|
|
4282
4384
|
} else {
|
|
4283
4385
|
tmp = false;
|
|
4284
4386
|
}
|
|
@@ -4289,7 +4391,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4289
4391
|
var _iterator__ex2g4s = elements.f();
|
|
4290
4392
|
while (_iterator__ex2g4s.g()) {
|
|
4291
4393
|
var element = _iterator__ex2g4s.h();
|
|
4292
|
-
if (!this.
|
|
4394
|
+
if (!this.a1(element)) {
|
|
4293
4395
|
tmp$ret$0 = false;
|
|
4294
4396
|
break $l$block_0;
|
|
4295
4397
|
}
|
|
@@ -4298,8 +4400,8 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4298
4400
|
}
|
|
4299
4401
|
return tmp$ret$0;
|
|
4300
4402
|
};
|
|
4301
|
-
protoOf(AbstractCollection).
|
|
4302
|
-
return this.
|
|
4403
|
+
protoOf(AbstractCollection).i = function () {
|
|
4404
|
+
return this.k() === 0;
|
|
4303
4405
|
};
|
|
4304
4406
|
protoOf(AbstractCollection).toString = function () {
|
|
4305
4407
|
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
@@ -4307,20 +4409,34 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4307
4409
|
protoOf(AbstractCollection).toArray = function () {
|
|
4308
4410
|
return collectionToArray(this);
|
|
4309
4411
|
};
|
|
4412
|
+
function IteratorImpl_0($outer) {
|
|
4413
|
+
this.r6_1 = $outer;
|
|
4414
|
+
this.q6_1 = 0;
|
|
4415
|
+
}
|
|
4416
|
+
protoOf(IteratorImpl_0).g = function () {
|
|
4417
|
+
return this.q6_1 < this.r6_1.k();
|
|
4418
|
+
};
|
|
4419
|
+
protoOf(IteratorImpl_0).h = function () {
|
|
4420
|
+
if (!this.g())
|
|
4421
|
+
throw NoSuchElementException_init_$Create$();
|
|
4422
|
+
var _unary__edvuaz = this.q6_1;
|
|
4423
|
+
this.q6_1 = _unary__edvuaz + 1 | 0;
|
|
4424
|
+
return this.r6_1.j(_unary__edvuaz);
|
|
4425
|
+
};
|
|
4310
4426
|
function Companion_4() {
|
|
4311
|
-
this.
|
|
4427
|
+
this.t1_1 = 2147483639;
|
|
4312
4428
|
}
|
|
4313
|
-
protoOf(Companion_4).
|
|
4429
|
+
protoOf(Companion_4).q2 = function (index, size) {
|
|
4314
4430
|
if (index < 0 || index >= size) {
|
|
4315
4431
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4316
4432
|
}
|
|
4317
4433
|
};
|
|
4318
|
-
protoOf(Companion_4).
|
|
4434
|
+
protoOf(Companion_4).r2 = function (index, size) {
|
|
4319
4435
|
if (index < 0 || index > size) {
|
|
4320
4436
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4321
4437
|
}
|
|
4322
4438
|
};
|
|
4323
|
-
protoOf(Companion_4).
|
|
4439
|
+
protoOf(Companion_4).u1 = function (fromIndex, toIndex, size) {
|
|
4324
4440
|
if (fromIndex < 0 || toIndex > size) {
|
|
4325
4441
|
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
4326
4442
|
}
|
|
@@ -4328,7 +4444,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4328
4444
|
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
4329
4445
|
}
|
|
4330
4446
|
};
|
|
4331
|
-
protoOf(Companion_4).
|
|
4447
|
+
protoOf(Companion_4).z4 = function (startIndex, endIndex, size) {
|
|
4332
4448
|
if (startIndex < 0 || endIndex > size) {
|
|
4333
4449
|
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
4334
4450
|
}
|
|
@@ -4336,7 +4452,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4336
4452
|
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
4337
4453
|
}
|
|
4338
4454
|
};
|
|
4339
|
-
protoOf(Companion_4).
|
|
4455
|
+
protoOf(Companion_4).k3 = function (oldCapacity, minCapacity) {
|
|
4340
4456
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
4341
4457
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
4342
4458
|
newCapacity = minCapacity;
|
|
@@ -4344,7 +4460,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4344
4460
|
newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639;
|
|
4345
4461
|
return newCapacity;
|
|
4346
4462
|
};
|
|
4347
|
-
protoOf(Companion_4).
|
|
4463
|
+
protoOf(Companion_4).j2 = function (c) {
|
|
4348
4464
|
var hashCode_0 = 1;
|
|
4349
4465
|
var _iterator__ex2g4s = c.f();
|
|
4350
4466
|
while (_iterator__ex2g4s.g()) {
|
|
@@ -4355,8 +4471,8 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4355
4471
|
}
|
|
4356
4472
|
return hashCode_0;
|
|
4357
4473
|
};
|
|
4358
|
-
protoOf(Companion_4).
|
|
4359
|
-
if (!(c.
|
|
4474
|
+
protoOf(Companion_4).i2 = function (c, other) {
|
|
4475
|
+
if (!(c.k() === other.k()))
|
|
4360
4476
|
return false;
|
|
4361
4477
|
var otherIterator = other.f();
|
|
4362
4478
|
var _iterator__ex2g4s = c.f();
|
|
@@ -4373,9 +4489,43 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4373
4489
|
function Companion_getInstance_4() {
|
|
4374
4490
|
return Companion_instance_4;
|
|
4375
4491
|
}
|
|
4492
|
+
function AbstractList() {
|
|
4493
|
+
AbstractCollection.call(this);
|
|
4494
|
+
}
|
|
4495
|
+
protoOf(AbstractList).f = function () {
|
|
4496
|
+
return new IteratorImpl_0(this);
|
|
4497
|
+
};
|
|
4498
|
+
protoOf(AbstractList).b1 = function (element) {
|
|
4499
|
+
var tmp$ret$0;
|
|
4500
|
+
$l$block: {
|
|
4501
|
+
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
4502
|
+
var index = 0;
|
|
4503
|
+
var _iterator__ex2g4s = this.f();
|
|
4504
|
+
while (_iterator__ex2g4s.g()) {
|
|
4505
|
+
var item = _iterator__ex2g4s.h();
|
|
4506
|
+
if (equals(item, element)) {
|
|
4507
|
+
tmp$ret$0 = index;
|
|
4508
|
+
break $l$block;
|
|
4509
|
+
}
|
|
4510
|
+
index = index + 1 | 0;
|
|
4511
|
+
}
|
|
4512
|
+
tmp$ret$0 = -1;
|
|
4513
|
+
}
|
|
4514
|
+
return tmp$ret$0;
|
|
4515
|
+
};
|
|
4516
|
+
protoOf(AbstractList).equals = function (other) {
|
|
4517
|
+
if (other === this)
|
|
4518
|
+
return true;
|
|
4519
|
+
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
4520
|
+
return false;
|
|
4521
|
+
return Companion_instance_4.i2(this, other);
|
|
4522
|
+
};
|
|
4523
|
+
protoOf(AbstractList).hashCode = function () {
|
|
4524
|
+
return Companion_instance_4.j2(this);
|
|
4525
|
+
};
|
|
4376
4526
|
function Companion_5() {
|
|
4377
4527
|
}
|
|
4378
|
-
protoOf(Companion_5).
|
|
4528
|
+
protoOf(Companion_5).l2 = function (c) {
|
|
4379
4529
|
var hashCode_0 = 0;
|
|
4380
4530
|
var _iterator__ex2g4s = c.f();
|
|
4381
4531
|
while (_iterator__ex2g4s.g()) {
|
|
@@ -4386,22 +4536,22 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4386
4536
|
}
|
|
4387
4537
|
return hashCode_0;
|
|
4388
4538
|
};
|
|
4389
|
-
protoOf(Companion_5).
|
|
4390
|
-
if (!(c.
|
|
4539
|
+
protoOf(Companion_5).k2 = function (c, other) {
|
|
4540
|
+
if (!(c.k() === other.k()))
|
|
4391
4541
|
return false;
|
|
4392
|
-
return c.
|
|
4542
|
+
return c.c1(other);
|
|
4393
4543
|
};
|
|
4394
4544
|
var Companion_instance_5;
|
|
4395
4545
|
function Companion_getInstance_5() {
|
|
4396
4546
|
return Companion_instance_5;
|
|
4397
4547
|
}
|
|
4398
4548
|
function collectionToArrayCommonImpl(collection) {
|
|
4399
|
-
if (collection.
|
|
4549
|
+
if (collection.i()) {
|
|
4400
4550
|
// Inline function 'kotlin.emptyArray' call
|
|
4401
4551
|
return [];
|
|
4402
4552
|
}
|
|
4403
4553
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4404
|
-
var size = collection.
|
|
4554
|
+
var size = collection.k();
|
|
4405
4555
|
var destination = Array(size);
|
|
4406
4556
|
var iterator = collection.f();
|
|
4407
4557
|
var index = 0;
|
|
@@ -4412,56 +4562,20 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4412
4562
|
}
|
|
4413
4563
|
return destination;
|
|
4414
4564
|
}
|
|
4415
|
-
function
|
|
4416
|
-
return EmptyList_instance;
|
|
4417
|
-
}
|
|
4418
|
-
function EmptyList() {
|
|
4419
|
-
this.a7_1 = -7390468764508069838n;
|
|
4420
|
-
}
|
|
4421
|
-
protoOf(EmptyList).equals = function (other) {
|
|
4565
|
+
function mutableListOf(elements) {
|
|
4422
4566
|
var tmp;
|
|
4423
|
-
if (
|
|
4424
|
-
tmp =
|
|
4567
|
+
if (elements.length === 0) {
|
|
4568
|
+
tmp = ArrayList_init_$Create$();
|
|
4425
4569
|
} else {
|
|
4426
|
-
|
|
4570
|
+
// Inline function 'kotlin.collections.asArrayList' call
|
|
4571
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4572
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4573
|
+
tmp = new ArrayList(elements);
|
|
4427
4574
|
}
|
|
4428
4575
|
return tmp;
|
|
4429
|
-
}
|
|
4430
|
-
|
|
4431
|
-
return 1;
|
|
4432
|
-
};
|
|
4433
|
-
protoOf(EmptyList).toString = function () {
|
|
4434
|
-
return '[]';
|
|
4435
|
-
};
|
|
4436
|
-
protoOf(EmptyList).i = function () {
|
|
4437
|
-
return 0;
|
|
4438
|
-
};
|
|
4439
|
-
protoOf(EmptyList).d1 = function () {
|
|
4440
|
-
return true;
|
|
4441
|
-
};
|
|
4442
|
-
protoOf(EmptyList).j = function (index) {
|
|
4443
|
-
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
4444
|
-
};
|
|
4445
|
-
protoOf(EmptyList).b7 = function (element) {
|
|
4446
|
-
return -1;
|
|
4447
|
-
};
|
|
4448
|
-
protoOf(EmptyList).f1 = function (element) {
|
|
4449
|
-
if (!false)
|
|
4450
|
-
return -1;
|
|
4451
|
-
var tmp;
|
|
4452
|
-
if (false) {
|
|
4453
|
-
tmp = element;
|
|
4454
|
-
} else {
|
|
4455
|
-
tmp = THROW_CCE();
|
|
4456
|
-
}
|
|
4457
|
-
return this.b7(tmp);
|
|
4458
|
-
};
|
|
4459
|
-
protoOf(EmptyList).f = function () {
|
|
4460
|
-
return EmptyIterator_instance;
|
|
4461
|
-
};
|
|
4462
|
-
var EmptyList_instance;
|
|
4463
|
-
function EmptyList_getInstance() {
|
|
4464
|
-
return EmptyList_instance;
|
|
4576
|
+
}
|
|
4577
|
+
function get_lastIndex_1(_this__u8e3s4) {
|
|
4578
|
+
return _this__u8e3s4.k() - 1 | 0;
|
|
4465
4579
|
}
|
|
4466
4580
|
function EmptyIterator() {
|
|
4467
4581
|
}
|
|
@@ -4475,103 +4589,143 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4475
4589
|
function EmptyIterator_getInstance() {
|
|
4476
4590
|
return EmptyIterator_instance;
|
|
4477
4591
|
}
|
|
4478
|
-
function
|
|
4479
|
-
|
|
4592
|
+
function throwIndexOverflow() {
|
|
4593
|
+
throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
|
|
4480
4594
|
}
|
|
4481
4595
|
function get_indices(_this__u8e3s4) {
|
|
4482
|
-
return numberRangeToNumber(0, _this__u8e3s4.
|
|
4596
|
+
return numberRangeToNumber(0, _this__u8e3s4.k() - 1 | 0);
|
|
4483
4597
|
}
|
|
4484
|
-
function
|
|
4598
|
+
function removeLast(_this__u8e3s4) {
|
|
4485
4599
|
var tmp;
|
|
4486
|
-
if (
|
|
4487
|
-
|
|
4600
|
+
if (_this__u8e3s4.i()) {
|
|
4601
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
4488
4602
|
} else {
|
|
4489
|
-
tmp =
|
|
4603
|
+
tmp = _this__u8e3s4.f2(get_lastIndex_1(_this__u8e3s4));
|
|
4490
4604
|
}
|
|
4491
4605
|
return tmp;
|
|
4492
4606
|
}
|
|
4493
|
-
function
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4607
|
+
function removeAll(_this__u8e3s4, predicate) {
|
|
4608
|
+
return filterInPlace(_this__u8e3s4, predicate, true);
|
|
4609
|
+
}
|
|
4610
|
+
function filterInPlace(_this__u8e3s4, predicate, predicateResultToRemove) {
|
|
4611
|
+
if (!isInterface(_this__u8e3s4, RandomAccess)) {
|
|
4612
|
+
return filterInPlace_0(isInterface(_this__u8e3s4, MutableIterable) ? _this__u8e3s4 : THROW_CCE(), predicate, predicateResultToRemove);
|
|
4613
|
+
}
|
|
4614
|
+
var writeIndex = 0;
|
|
4615
|
+
var inductionVariable = 0;
|
|
4616
|
+
var last = get_lastIndex_1(_this__u8e3s4);
|
|
4617
|
+
if (inductionVariable <= last)
|
|
4618
|
+
$l$loop: do {
|
|
4619
|
+
var readIndex = inductionVariable;
|
|
4620
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
4621
|
+
var element = _this__u8e3s4.j(readIndex);
|
|
4622
|
+
if (predicate(element) === predicateResultToRemove)
|
|
4623
|
+
continue $l$loop;
|
|
4624
|
+
if (!(writeIndex === readIndex)) {
|
|
4625
|
+
_this__u8e3s4.h2(writeIndex, element);
|
|
4626
|
+
}
|
|
4627
|
+
writeIndex = writeIndex + 1 | 0;
|
|
4628
|
+
}
|
|
4629
|
+
while (!(readIndex === last));
|
|
4630
|
+
if (writeIndex < _this__u8e3s4.k()) {
|
|
4631
|
+
var inductionVariable_0 = get_lastIndex_1(_this__u8e3s4);
|
|
4632
|
+
var last_0 = writeIndex;
|
|
4633
|
+
if (last_0 <= inductionVariable_0)
|
|
4634
|
+
do {
|
|
4635
|
+
var removeIndex = inductionVariable_0;
|
|
4636
|
+
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
4637
|
+
_this__u8e3s4.f2(removeIndex);
|
|
4638
|
+
}
|
|
4639
|
+
while (!(removeIndex === last_0));
|
|
4640
|
+
return true;
|
|
4497
4641
|
} else {
|
|
4498
|
-
|
|
4642
|
+
return false;
|
|
4499
4643
|
}
|
|
4500
|
-
|
|
4644
|
+
}
|
|
4645
|
+
function filterInPlace_0(_this__u8e3s4, predicate, predicateResultToRemove) {
|
|
4646
|
+
var result = false;
|
|
4647
|
+
// Inline function 'kotlin.with' call
|
|
4648
|
+
var $this$with = _this__u8e3s4.f();
|
|
4649
|
+
while ($this$with.g())
|
|
4650
|
+
if (predicate($this$with.h()) === predicateResultToRemove) {
|
|
4651
|
+
$this$with.d2();
|
|
4652
|
+
result = true;
|
|
4653
|
+
}
|
|
4654
|
+
return result;
|
|
4501
4655
|
}
|
|
4502
4656
|
function IntIterator() {
|
|
4503
4657
|
}
|
|
4504
4658
|
protoOf(IntIterator).h = function () {
|
|
4505
|
-
return this.
|
|
4659
|
+
return this.s6();
|
|
4506
4660
|
};
|
|
4507
4661
|
function CharIterator() {
|
|
4508
4662
|
}
|
|
4509
|
-
protoOf(CharIterator).
|
|
4510
|
-
return this.
|
|
4663
|
+
protoOf(CharIterator).t6 = function () {
|
|
4664
|
+
return this.u6();
|
|
4511
4665
|
};
|
|
4512
4666
|
protoOf(CharIterator).h = function () {
|
|
4513
|
-
return new Char(this.
|
|
4667
|
+
return new Char(this.t6());
|
|
4514
4668
|
};
|
|
4515
4669
|
function generateSequence(seedFunction, nextFunction) {
|
|
4516
4670
|
return new GeneratorSequence(seedFunction, nextFunction);
|
|
4517
4671
|
}
|
|
4518
4672
|
function TransformingSequence$iterator$1(this$0) {
|
|
4519
|
-
this.
|
|
4520
|
-
this.
|
|
4673
|
+
this.w6_1 = this$0;
|
|
4674
|
+
this.v6_1 = this$0.x6_1.f();
|
|
4521
4675
|
}
|
|
4522
4676
|
protoOf(TransformingSequence$iterator$1).h = function () {
|
|
4523
|
-
return this.
|
|
4677
|
+
return this.w6_1.y6_1(this.v6_1.h());
|
|
4524
4678
|
};
|
|
4525
4679
|
protoOf(TransformingSequence$iterator$1).g = function () {
|
|
4526
|
-
return this.
|
|
4680
|
+
return this.v6_1.g();
|
|
4527
4681
|
};
|
|
4528
4682
|
function TransformingSequence(sequence, transformer) {
|
|
4529
|
-
this.
|
|
4530
|
-
this.
|
|
4683
|
+
this.x6_1 = sequence;
|
|
4684
|
+
this.y6_1 = transformer;
|
|
4531
4685
|
}
|
|
4532
4686
|
protoOf(TransformingSequence).f = function () {
|
|
4533
4687
|
return new TransformingSequence$iterator$1(this);
|
|
4534
4688
|
};
|
|
4535
4689
|
function calcNext($this) {
|
|
4536
|
-
$this.
|
|
4537
|
-
$this.
|
|
4690
|
+
$this.z6_1 = $this.a7_1 === -2 ? $this.b7_1.c7_1() : $this.b7_1.d7_1(ensureNotNull($this.z6_1));
|
|
4691
|
+
$this.a7_1 = $this.z6_1 == null ? 0 : 1;
|
|
4538
4692
|
}
|
|
4539
4693
|
function GeneratorSequence$iterator$1(this$0) {
|
|
4540
|
-
this.
|
|
4541
|
-
this.
|
|
4542
|
-
this.
|
|
4694
|
+
this.b7_1 = this$0;
|
|
4695
|
+
this.z6_1 = null;
|
|
4696
|
+
this.a7_1 = -2;
|
|
4543
4697
|
}
|
|
4544
4698
|
protoOf(GeneratorSequence$iterator$1).h = function () {
|
|
4545
|
-
if (this.
|
|
4699
|
+
if (this.a7_1 < 0) {
|
|
4546
4700
|
calcNext(this);
|
|
4547
4701
|
}
|
|
4548
|
-
if (this.
|
|
4702
|
+
if (this.a7_1 === 0)
|
|
4549
4703
|
throw NoSuchElementException_init_$Create$();
|
|
4550
|
-
var tmp = this.
|
|
4704
|
+
var tmp = this.z6_1;
|
|
4551
4705
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
4552
|
-
this.
|
|
4706
|
+
this.a7_1 = -1;
|
|
4553
4707
|
return result;
|
|
4554
4708
|
};
|
|
4555
4709
|
protoOf(GeneratorSequence$iterator$1).g = function () {
|
|
4556
|
-
if (this.
|
|
4710
|
+
if (this.a7_1 < 0) {
|
|
4557
4711
|
calcNext(this);
|
|
4558
4712
|
}
|
|
4559
|
-
return this.
|
|
4713
|
+
return this.a7_1 === 1;
|
|
4560
4714
|
};
|
|
4561
4715
|
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
4562
|
-
this.
|
|
4563
|
-
this.
|
|
4716
|
+
this.c7_1 = getInitialValue;
|
|
4717
|
+
this.d7_1 = getNextValue;
|
|
4564
4718
|
}
|
|
4565
4719
|
protoOf(GeneratorSequence).f = function () {
|
|
4566
4720
|
return new GeneratorSequence$iterator$1(this);
|
|
4567
4721
|
};
|
|
4568
4722
|
function EmptySet() {
|
|
4569
|
-
this.
|
|
4723
|
+
this.e7_1 = 3406603774387020532n;
|
|
4570
4724
|
}
|
|
4571
4725
|
protoOf(EmptySet).equals = function (other) {
|
|
4572
4726
|
var tmp;
|
|
4573
4727
|
if (!(other == null) ? isInterface(other, KtSet) : false) {
|
|
4574
|
-
tmp = other.
|
|
4728
|
+
tmp = other.i();
|
|
4575
4729
|
} else {
|
|
4576
4730
|
tmp = false;
|
|
4577
4731
|
}
|
|
@@ -4583,17 +4737,17 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4583
4737
|
protoOf(EmptySet).toString = function () {
|
|
4584
4738
|
return '[]';
|
|
4585
4739
|
};
|
|
4586
|
-
protoOf(EmptySet).
|
|
4740
|
+
protoOf(EmptySet).k = function () {
|
|
4587
4741
|
return 0;
|
|
4588
4742
|
};
|
|
4589
|
-
protoOf(EmptySet).
|
|
4743
|
+
protoOf(EmptySet).i = function () {
|
|
4590
4744
|
return true;
|
|
4591
4745
|
};
|
|
4592
|
-
protoOf(EmptySet).
|
|
4593
|
-
return elements.
|
|
4746
|
+
protoOf(EmptySet).f7 = function (elements) {
|
|
4747
|
+
return elements.i();
|
|
4594
4748
|
};
|
|
4595
|
-
protoOf(EmptySet).
|
|
4596
|
-
return this.
|
|
4749
|
+
protoOf(EmptySet).c1 = function (elements) {
|
|
4750
|
+
return this.f7(elements);
|
|
4597
4751
|
};
|
|
4598
4752
|
protoOf(EmptySet).f = function () {
|
|
4599
4753
|
return EmptyIterator_instance;
|
|
@@ -4606,7 +4760,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4606
4760
|
return EmptySet_instance;
|
|
4607
4761
|
}
|
|
4608
4762
|
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
4609
|
-
switch (_this__u8e3s4.
|
|
4763
|
+
switch (_this__u8e3s4.k()) {
|
|
4610
4764
|
case 0:
|
|
4611
4765
|
return emptySet();
|
|
4612
4766
|
case 1:
|
|
@@ -4639,13 +4793,19 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4639
4793
|
function Default() {
|
|
4640
4794
|
Default_instance = this;
|
|
4641
4795
|
Random.call(this);
|
|
4642
|
-
this.
|
|
4796
|
+
this.g7_1 = defaultPlatformRandom();
|
|
4643
4797
|
}
|
|
4644
|
-
protoOf(Default).
|
|
4645
|
-
return this.
|
|
4798
|
+
protoOf(Default).h7 = function (bitCount) {
|
|
4799
|
+
return this.g7_1.h7(bitCount);
|
|
4800
|
+
};
|
|
4801
|
+
protoOf(Default).i7 = function () {
|
|
4802
|
+
return this.g7_1.i7();
|
|
4646
4803
|
};
|
|
4647
|
-
protoOf(Default).
|
|
4648
|
-
return this.
|
|
4804
|
+
protoOf(Default).j7 = function (until) {
|
|
4805
|
+
return this.g7_1.j7(until);
|
|
4806
|
+
};
|
|
4807
|
+
protoOf(Default).k7 = function (from, until) {
|
|
4808
|
+
return this.g7_1.k7(from, until);
|
|
4649
4809
|
};
|
|
4650
4810
|
var Default_instance;
|
|
4651
4811
|
function Default_getInstance() {
|
|
@@ -4656,9 +4816,36 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4656
4816
|
function Random() {
|
|
4657
4817
|
Default_getInstance();
|
|
4658
4818
|
}
|
|
4659
|
-
protoOf(Random).
|
|
4660
|
-
return doubleFromParts(this.
|
|
4819
|
+
protoOf(Random).i7 = function () {
|
|
4820
|
+
return doubleFromParts(this.h7(26), this.h7(27));
|
|
4821
|
+
};
|
|
4822
|
+
protoOf(Random).j7 = function (until) {
|
|
4823
|
+
return this.k7(0.0, until);
|
|
4824
|
+
};
|
|
4825
|
+
protoOf(Random).k7 = function (from, until) {
|
|
4826
|
+
checkRangeBounds(from, until);
|
|
4827
|
+
var size = until - from;
|
|
4828
|
+
var tmp;
|
|
4829
|
+
if (isInfinite(size) && isFinite(from) && isFinite(until)) {
|
|
4830
|
+
var r1 = this.i7() * (until / 2 - from / 2);
|
|
4831
|
+
tmp = from + r1 + r1;
|
|
4832
|
+
} else {
|
|
4833
|
+
tmp = from + this.i7() * size;
|
|
4834
|
+
}
|
|
4835
|
+
var r = tmp;
|
|
4836
|
+
return r >= until ? nextDown(until) : r;
|
|
4661
4837
|
};
|
|
4838
|
+
function checkRangeBounds(from, until) {
|
|
4839
|
+
// Inline function 'kotlin.require' call
|
|
4840
|
+
if (!(until > from)) {
|
|
4841
|
+
var message = boundsErrorMessage(from, until);
|
|
4842
|
+
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4843
|
+
}
|
|
4844
|
+
return Unit_instance;
|
|
4845
|
+
}
|
|
4846
|
+
function boundsErrorMessage(from, until) {
|
|
4847
|
+
return 'Random range is empty: [' + toString_1(from) + ', ' + toString_1(until) + ').';
|
|
4848
|
+
}
|
|
4662
4849
|
function Random_0(seed) {
|
|
4663
4850
|
return XorWowRandom_init_$Create$(seed, seed >> 31);
|
|
4664
4851
|
}
|
|
@@ -4674,13 +4861,13 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4674
4861
|
}
|
|
4675
4862
|
function checkInvariants($this) {
|
|
4676
4863
|
// Inline function 'kotlin.require' call
|
|
4677
|
-
if (!!(($this.
|
|
4864
|
+
if (!!(($this.l7_1 | $this.m7_1 | $this.n7_1 | $this.o7_1 | $this.p7_1) === 0)) {
|
|
4678
4865
|
var message = 'Initial state must have at least one non-zero element.';
|
|
4679
4866
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
4680
4867
|
}
|
|
4681
4868
|
}
|
|
4682
4869
|
function Companion_6() {
|
|
4683
|
-
this.
|
|
4870
|
+
this.r7_1 = 0n;
|
|
4684
4871
|
}
|
|
4685
4872
|
var Companion_instance_6;
|
|
4686
4873
|
function Companion_getInstance_6() {
|
|
@@ -4688,12 +4875,12 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4688
4875
|
}
|
|
4689
4876
|
function XorWowRandom(x, y, z, w, v, addend) {
|
|
4690
4877
|
Random.call(this);
|
|
4691
|
-
this.
|
|
4692
|
-
this.
|
|
4693
|
-
this.
|
|
4694
|
-
this.
|
|
4695
|
-
this.
|
|
4696
|
-
this.
|
|
4878
|
+
this.l7_1 = x;
|
|
4879
|
+
this.m7_1 = y;
|
|
4880
|
+
this.n7_1 = z;
|
|
4881
|
+
this.o7_1 = w;
|
|
4882
|
+
this.p7_1 = v;
|
|
4883
|
+
this.q7_1 = addend;
|
|
4697
4884
|
checkInvariants(this);
|
|
4698
4885
|
// Inline function 'kotlin.repeat' call
|
|
4699
4886
|
var inductionVariable = 0;
|
|
@@ -4701,29 +4888,29 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4701
4888
|
do {
|
|
4702
4889
|
var index = inductionVariable;
|
|
4703
4890
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4704
|
-
this.
|
|
4891
|
+
this.s6();
|
|
4705
4892
|
}
|
|
4706
4893
|
while (inductionVariable < 64);
|
|
4707
4894
|
}
|
|
4708
|
-
protoOf(XorWowRandom).
|
|
4709
|
-
var t = this.
|
|
4895
|
+
protoOf(XorWowRandom).s6 = function () {
|
|
4896
|
+
var t = this.l7_1;
|
|
4710
4897
|
t = t ^ (t >>> 2 | 0);
|
|
4711
|
-
this.
|
|
4712
|
-
this.
|
|
4713
|
-
this.
|
|
4714
|
-
var v0 = this.
|
|
4715
|
-
this.
|
|
4898
|
+
this.l7_1 = this.m7_1;
|
|
4899
|
+
this.m7_1 = this.n7_1;
|
|
4900
|
+
this.n7_1 = this.o7_1;
|
|
4901
|
+
var v0 = this.p7_1;
|
|
4902
|
+
this.o7_1 = v0;
|
|
4716
4903
|
t = t ^ t << 1 ^ v0 ^ v0 << 4;
|
|
4717
|
-
this.
|
|
4718
|
-
this.
|
|
4719
|
-
return t + this.
|
|
4904
|
+
this.p7_1 = t;
|
|
4905
|
+
this.q7_1 = this.q7_1 + 362437 | 0;
|
|
4906
|
+
return t + this.q7_1 | 0;
|
|
4720
4907
|
};
|
|
4721
|
-
protoOf(XorWowRandom).
|
|
4722
|
-
return takeUpperBits(this.
|
|
4908
|
+
protoOf(XorWowRandom).h7 = function (bitCount) {
|
|
4909
|
+
return takeUpperBits(this.s6(), bitCount);
|
|
4723
4910
|
};
|
|
4724
4911
|
function Companion_7() {
|
|
4725
4912
|
Companion_instance_7 = this;
|
|
4726
|
-
this.
|
|
4913
|
+
this.s7_1 = new IntRange(1, 0);
|
|
4727
4914
|
}
|
|
4728
4915
|
var Companion_instance_7;
|
|
4729
4916
|
function Companion_getInstance_7() {
|
|
@@ -4735,62 +4922,59 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4735
4922
|
Companion_getInstance_7();
|
|
4736
4923
|
IntProgression.call(this, start, endInclusive, 1);
|
|
4737
4924
|
}
|
|
4738
|
-
protoOf(IntRange).
|
|
4739
|
-
return this.
|
|
4925
|
+
protoOf(IntRange).v5 = function () {
|
|
4926
|
+
return this.t7_1;
|
|
4740
4927
|
};
|
|
4741
|
-
protoOf(IntRange).
|
|
4742
|
-
return this.
|
|
4928
|
+
protoOf(IntRange).w5 = function () {
|
|
4929
|
+
return this.u7_1;
|
|
4743
4930
|
};
|
|
4744
|
-
protoOf(IntRange).
|
|
4745
|
-
return this.
|
|
4931
|
+
protoOf(IntRange).w7 = function (value) {
|
|
4932
|
+
return this.t7_1 <= value && value <= this.u7_1;
|
|
4746
4933
|
};
|
|
4747
4934
|
protoOf(IntRange).m = function (value) {
|
|
4748
|
-
return this.
|
|
4935
|
+
return this.w7(typeof value === 'number' ? value : THROW_CCE());
|
|
4749
4936
|
};
|
|
4750
|
-
protoOf(IntRange).
|
|
4751
|
-
return this.
|
|
4937
|
+
protoOf(IntRange).i = function () {
|
|
4938
|
+
return this.t7_1 > this.u7_1;
|
|
4752
4939
|
};
|
|
4753
4940
|
protoOf(IntRange).equals = function (other) {
|
|
4754
4941
|
var tmp;
|
|
4755
4942
|
if (other instanceof IntRange) {
|
|
4756
|
-
tmp = this.
|
|
4943
|
+
tmp = this.i() && other.i() || (this.t7_1 === other.t7_1 && this.u7_1 === other.u7_1);
|
|
4757
4944
|
} else {
|
|
4758
4945
|
tmp = false;
|
|
4759
4946
|
}
|
|
4760
4947
|
return tmp;
|
|
4761
4948
|
};
|
|
4762
4949
|
protoOf(IntRange).hashCode = function () {
|
|
4763
|
-
return this.
|
|
4950
|
+
return this.i() ? -1 : imul(31, this.t7_1) + this.u7_1 | 0;
|
|
4764
4951
|
};
|
|
4765
4952
|
protoOf(IntRange).toString = function () {
|
|
4766
|
-
return '' + this.
|
|
4953
|
+
return '' + this.t7_1 + '..' + this.u7_1;
|
|
4767
4954
|
};
|
|
4768
4955
|
function IntProgressionIterator(first, last, step) {
|
|
4769
4956
|
IntIterator.call(this);
|
|
4770
|
-
this.
|
|
4771
|
-
this.
|
|
4772
|
-
this.
|
|
4773
|
-
this.
|
|
4957
|
+
this.x7_1 = step;
|
|
4958
|
+
this.y7_1 = last;
|
|
4959
|
+
this.z7_1 = this.x7_1 > 0 ? first <= last : first >= last;
|
|
4960
|
+
this.a8_1 = this.z7_1 ? first : this.y7_1;
|
|
4774
4961
|
}
|
|
4775
4962
|
protoOf(IntProgressionIterator).g = function () {
|
|
4776
|
-
return this.
|
|
4963
|
+
return this.z7_1;
|
|
4777
4964
|
};
|
|
4778
|
-
protoOf(IntProgressionIterator).
|
|
4779
|
-
var value = this.
|
|
4780
|
-
if (value === this.
|
|
4781
|
-
if (!this.
|
|
4965
|
+
protoOf(IntProgressionIterator).s6 = function () {
|
|
4966
|
+
var value = this.a8_1;
|
|
4967
|
+
if (value === this.y7_1) {
|
|
4968
|
+
if (!this.z7_1)
|
|
4782
4969
|
throw NoSuchElementException_init_$Create$();
|
|
4783
|
-
this.
|
|
4970
|
+
this.z7_1 = false;
|
|
4784
4971
|
} else {
|
|
4785
|
-
this.
|
|
4972
|
+
this.a8_1 = this.a8_1 + this.x7_1 | 0;
|
|
4786
4973
|
}
|
|
4787
4974
|
return value;
|
|
4788
4975
|
};
|
|
4789
4976
|
function Companion_8() {
|
|
4790
4977
|
}
|
|
4791
|
-
protoOf(Companion_8).l = function (rangeStart, rangeEnd, step) {
|
|
4792
|
-
return new IntProgression(rangeStart, rangeEnd, step);
|
|
4793
|
-
};
|
|
4794
4978
|
var Companion_instance_8;
|
|
4795
4979
|
function Companion_getInstance_8() {
|
|
4796
4980
|
return Companion_instance_8;
|
|
@@ -4800,30 +4984,30 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4800
4984
|
throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
|
|
4801
4985
|
if (step === -2147483648)
|
|
4802
4986
|
throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
|
|
4803
|
-
this.
|
|
4804
|
-
this.
|
|
4805
|
-
this.
|
|
4987
|
+
this.t7_1 = start;
|
|
4988
|
+
this.u7_1 = getProgressionLastElement(start, endInclusive, step);
|
|
4989
|
+
this.v7_1 = step;
|
|
4806
4990
|
}
|
|
4807
4991
|
protoOf(IntProgression).f = function () {
|
|
4808
|
-
return new IntProgressionIterator(this.
|
|
4992
|
+
return new IntProgressionIterator(this.t7_1, this.u7_1, this.v7_1);
|
|
4809
4993
|
};
|
|
4810
|
-
protoOf(IntProgression).
|
|
4811
|
-
return this.
|
|
4994
|
+
protoOf(IntProgression).i = function () {
|
|
4995
|
+
return this.v7_1 > 0 ? this.t7_1 > this.u7_1 : this.t7_1 < this.u7_1;
|
|
4812
4996
|
};
|
|
4813
4997
|
protoOf(IntProgression).equals = function (other) {
|
|
4814
4998
|
var tmp;
|
|
4815
4999
|
if (other instanceof IntProgression) {
|
|
4816
|
-
tmp = this.
|
|
5000
|
+
tmp = this.i() && other.i() || (this.t7_1 === other.t7_1 && this.u7_1 === other.u7_1 && this.v7_1 === other.v7_1);
|
|
4817
5001
|
} else {
|
|
4818
5002
|
tmp = false;
|
|
4819
5003
|
}
|
|
4820
5004
|
return tmp;
|
|
4821
5005
|
};
|
|
4822
5006
|
protoOf(IntProgression).hashCode = function () {
|
|
4823
|
-
return this.
|
|
5007
|
+
return this.i() ? -1 : imul(31, imul(31, this.t7_1) + this.u7_1 | 0) + this.v7_1 | 0;
|
|
4824
5008
|
};
|
|
4825
5009
|
protoOf(IntProgression).toString = function () {
|
|
4826
|
-
return this.
|
|
5010
|
+
return this.v7_1 > 0 ? '' + this.t7_1 + '..' + this.u7_1 + ' step ' + this.v7_1 : '' + this.t7_1 + ' downTo ' + this.u7_1 + ' step ' + (-this.v7_1 | 0);
|
|
4827
5011
|
};
|
|
4828
5012
|
function ClosedRange() {
|
|
4829
5013
|
}
|
|
@@ -4835,7 +5019,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4835
5019
|
_this__u8e3s4.e(element);
|
|
4836
5020
|
else {
|
|
4837
5021
|
if (element instanceof Char)
|
|
4838
|
-
_this__u8e3s4.
|
|
5022
|
+
_this__u8e3s4.k4(element.n_1);
|
|
4839
5023
|
else {
|
|
4840
5024
|
_this__u8e3s4.e(toString_1(element));
|
|
4841
5025
|
}
|
|
@@ -4908,22 +5092,22 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4908
5092
|
var HEX_DIGITS_TO_DECIMAL;
|
|
4909
5093
|
var HEX_DIGITS_TO_LONG_DECIMAL;
|
|
4910
5094
|
function toHexString(_this__u8e3s4, format) {
|
|
4911
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5095
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
4912
5096
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4913
5097
|
return toHexString_1(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
4914
5098
|
}
|
|
4915
5099
|
function toHexString_0(_this__u8e3s4, format) {
|
|
4916
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5100
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
4917
5101
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4918
|
-
var digits = format.
|
|
4919
|
-
var numberFormat = format.
|
|
4920
|
-
if (numberFormat.
|
|
5102
|
+
var digits = format.d8_1 ? '0123456789ABCDEF' : '0123456789abcdef';
|
|
5103
|
+
var numberFormat = format.f8_1;
|
|
5104
|
+
if (numberFormat.l8_1) {
|
|
4921
5105
|
var charArray_0 = charArray(2);
|
|
4922
5106
|
var value = _this__u8e3s4;
|
|
4923
5107
|
charArray_0[0] = charCodeAt(digits, value >> 4 & 15);
|
|
4924
5108
|
charArray_0[1] = charCodeAt(digits, value & 15);
|
|
4925
5109
|
var tmp;
|
|
4926
|
-
if (numberFormat.
|
|
5110
|
+
if (numberFormat.i8_1) {
|
|
4927
5111
|
// Inline function 'kotlin.countLeadingZeroBits' call
|
|
4928
5112
|
// Inline function 'kotlin.countLeadingZeroBits' call
|
|
4929
5113
|
var this_0 = _this__u8e3s4 & 255;
|
|
@@ -4937,27 +5121,27 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4937
5121
|
return toHexStringImpl(fromInt_0(_this__u8e3s4), numberFormat, digits, 8);
|
|
4938
5122
|
}
|
|
4939
5123
|
function hexToByte(_this__u8e3s4, format) {
|
|
4940
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5124
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
4941
5125
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4942
5126
|
return hexToByte_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
4943
5127
|
}
|
|
4944
5128
|
function hexToByteArray(_this__u8e3s4, format) {
|
|
4945
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5129
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
4946
5130
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4947
5131
|
return hexToByteArray_0(_this__u8e3s4, 0, _this__u8e3s4.length, format);
|
|
4948
5132
|
}
|
|
4949
5133
|
function toHexString_1(_this__u8e3s4, startIndex, endIndex, format) {
|
|
4950
5134
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
4951
5135
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4952
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5136
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
4953
5137
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4954
|
-
Companion_instance_4.
|
|
5138
|
+
Companion_instance_4.z4(startIndex, endIndex, _this__u8e3s4.length);
|
|
4955
5139
|
if (startIndex === endIndex) {
|
|
4956
5140
|
return '';
|
|
4957
5141
|
}
|
|
4958
|
-
var byteToDigits = format.
|
|
4959
|
-
var bytesFormat = format.
|
|
4960
|
-
if (bytesFormat.
|
|
5142
|
+
var byteToDigits = format.d8_1 ? get_BYTE_TO_UPPER_CASE_HEX_DIGITS() : get_BYTE_TO_LOWER_CASE_HEX_DIGITS();
|
|
5143
|
+
var bytesFormat = format.e8_1;
|
|
5144
|
+
if (bytesFormat.t8_1) {
|
|
4961
5145
|
return toHexStringNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits);
|
|
4962
5146
|
}
|
|
4963
5147
|
return toHexStringSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits);
|
|
@@ -4972,11 +5156,11 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
4972
5156
|
}
|
|
4973
5157
|
var value = _this__u8e3s4;
|
|
4974
5158
|
var typeHexLength = bits >> 2;
|
|
4975
|
-
var minLength = numberFormat.
|
|
5159
|
+
var minLength = numberFormat.j8_1;
|
|
4976
5160
|
var pads = coerceAtLeast(minLength - typeHexLength | 0, 0);
|
|
4977
|
-
var prefix = numberFormat.
|
|
4978
|
-
var suffix = numberFormat.
|
|
4979
|
-
var removeZeros = numberFormat.
|
|
5161
|
+
var prefix = numberFormat.g8_1;
|
|
5162
|
+
var suffix = numberFormat.h8_1;
|
|
5163
|
+
var removeZeros = numberFormat.i8_1;
|
|
4980
5164
|
// Inline function 'kotlin.Long.plus' call
|
|
4981
5165
|
var this_0 = fromInt_0(prefix.length);
|
|
4982
5166
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -5014,22 +5198,22 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5014
5198
|
function hexToByte_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5015
5199
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5016
5200
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5017
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5201
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
5018
5202
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5019
5203
|
return toByte(hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, 2));
|
|
5020
5204
|
}
|
|
5021
5205
|
function hexToByteArray_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
5022
5206
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5023
5207
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
5024
|
-
format = format === VOID ? Companion_getInstance_11().
|
|
5208
|
+
format = format === VOID ? Companion_getInstance_11().b8_1 : format;
|
|
5025
5209
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5026
|
-
Companion_instance_4.
|
|
5210
|
+
Companion_instance_4.z4(startIndex, endIndex, _this__u8e3s4.length);
|
|
5027
5211
|
if (startIndex === endIndex) {
|
|
5028
5212
|
// Inline function 'kotlin.byteArrayOf' call
|
|
5029
5213
|
return new Int8Array([]);
|
|
5030
5214
|
}
|
|
5031
|
-
var bytesFormat = format.
|
|
5032
|
-
if (bytesFormat.
|
|
5215
|
+
var bytesFormat = format.e8_1;
|
|
5216
|
+
if (bytesFormat.t8_1) {
|
|
5033
5217
|
var tmp0_safe_receiver = hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5034
5218
|
if (tmp0_safe_receiver == null)
|
|
5035
5219
|
null;
|
|
@@ -5042,19 +5226,19 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5042
5226
|
}
|
|
5043
5227
|
function toHexStringNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits) {
|
|
5044
5228
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5045
|
-
if (bytesFormat.
|
|
5229
|
+
if (bytesFormat.u8_1) {
|
|
5046
5230
|
return toHexStringShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits);
|
|
5047
5231
|
}
|
|
5048
5232
|
return toHexStringNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits);
|
|
5049
5233
|
}
|
|
5050
5234
|
function toHexStringSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits) {
|
|
5051
5235
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5052
|
-
var bytesPerLine = bytesFormat.
|
|
5053
|
-
var bytesPerGroup = bytesFormat.
|
|
5054
|
-
var bytePrefix = bytesFormat.
|
|
5055
|
-
var byteSuffix = bytesFormat.
|
|
5056
|
-
var byteSeparator = bytesFormat.
|
|
5057
|
-
var groupSeparator = bytesFormat.
|
|
5236
|
+
var bytesPerLine = bytesFormat.n8_1;
|
|
5237
|
+
var bytesPerGroup = bytesFormat.o8_1;
|
|
5238
|
+
var bytePrefix = bytesFormat.r8_1;
|
|
5239
|
+
var byteSuffix = bytesFormat.s8_1;
|
|
5240
|
+
var byteSeparator = bytesFormat.q8_1;
|
|
5241
|
+
var groupSeparator = bytesFormat.p8_1;
|
|
5058
5242
|
var formatLength = formattedStringLength(endIndex - startIndex | 0, bytesPerLine, bytesPerGroup, groupSeparator.length, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
5059
5243
|
var charArray_0 = charArray(formatLength);
|
|
5060
5244
|
var charIndex = 0;
|
|
@@ -5093,7 +5277,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5093
5277
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5094
5278
|
// Inline function 'kotlin.ranges.contains' call
|
|
5095
5279
|
var this_0 = numberRangeToNumber(0, 2147483647);
|
|
5096
|
-
if (!
|
|
5280
|
+
if (!contains_1(isInterface(this_0, ClosedRange) ? this_0 : THROW_CCE(), formatLength)) {
|
|
5097
5281
|
// Inline function 'kotlin.toULong' call
|
|
5098
5282
|
var tmp$ret$1 = _ULong___init__impl__c78o9k(formatLength);
|
|
5099
5283
|
throw IllegalArgumentException_init_$Create$_0('The resulting string length is too big: ' + new ULong(tmp$ret$1));
|
|
@@ -5109,40 +5293,40 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5109
5293
|
destination[destinationOffset] = charCodeAt(_this__u8e3s4, 0);
|
|
5110
5294
|
break;
|
|
5111
5295
|
default:
|
|
5112
|
-
|
|
5296
|
+
toCharArray(_this__u8e3s4, destination, destinationOffset);
|
|
5113
5297
|
break;
|
|
5114
5298
|
}
|
|
5115
5299
|
return destinationOffset + _this__u8e3s4.length | 0;
|
|
5116
5300
|
}
|
|
5117
5301
|
function hexToIntImpl(_this__u8e3s4, startIndex, endIndex, format, typeHexLength) {
|
|
5118
5302
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5119
|
-
Companion_instance_4.
|
|
5120
|
-
var numberFormat = format.
|
|
5121
|
-
if (numberFormat.
|
|
5303
|
+
Companion_instance_4.z4(startIndex, endIndex, _this__u8e3s4.length);
|
|
5304
|
+
var numberFormat = format.f8_1;
|
|
5305
|
+
if (numberFormat.k8_1) {
|
|
5122
5306
|
checkNumberOfDigits(_this__u8e3s4, startIndex, endIndex, typeHexLength);
|
|
5123
5307
|
return parseInt(_this__u8e3s4, startIndex, endIndex);
|
|
5124
5308
|
}
|
|
5125
|
-
var prefix = numberFormat.
|
|
5126
|
-
var suffix = numberFormat.
|
|
5127
|
-
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.
|
|
5309
|
+
var prefix = numberFormat.g8_1;
|
|
5310
|
+
var suffix = numberFormat.h8_1;
|
|
5311
|
+
checkPrefixSuffixNumberOfDigits(_this__u8e3s4, startIndex, endIndex, prefix, suffix, numberFormat.m8_1, typeHexLength);
|
|
5128
5312
|
return parseInt(_this__u8e3s4, startIndex + prefix.length | 0, endIndex - suffix.length | 0);
|
|
5129
5313
|
}
|
|
5130
5314
|
function hexToByteArrayNoLineAndGroupSeparator(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5131
5315
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5132
|
-
if (bytesFormat.
|
|
5316
|
+
if (bytesFormat.u8_1) {
|
|
5133
5317
|
return hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5134
5318
|
}
|
|
5135
5319
|
return hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat);
|
|
5136
5320
|
}
|
|
5137
5321
|
function hexToByteArraySlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5138
5322
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5139
|
-
var bytesPerLine = bytesFormat.
|
|
5140
|
-
var bytesPerGroup = bytesFormat.
|
|
5141
|
-
var bytePrefix = bytesFormat.
|
|
5142
|
-
var byteSuffix = bytesFormat.
|
|
5143
|
-
var byteSeparator = bytesFormat.
|
|
5144
|
-
var groupSeparator = bytesFormat.
|
|
5145
|
-
var ignoreCase = bytesFormat.
|
|
5323
|
+
var bytesPerLine = bytesFormat.n8_1;
|
|
5324
|
+
var bytesPerGroup = bytesFormat.o8_1;
|
|
5325
|
+
var bytePrefix = bytesFormat.r8_1;
|
|
5326
|
+
var byteSuffix = bytesFormat.s8_1;
|
|
5327
|
+
var byteSeparator = bytesFormat.q8_1;
|
|
5328
|
+
var groupSeparator = bytesFormat.p8_1;
|
|
5329
|
+
var ignoreCase = bytesFormat.v8_1;
|
|
5146
5330
|
var parseMaxSize = parsedByteArrayMaxSize(endIndex - startIndex | 0, bytesPerLine, bytesPerGroup, groupSeparator.length, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
5147
5331
|
var byteArray = new Int8Array(parseMaxSize);
|
|
5148
5332
|
var charIndex = startIndex;
|
|
@@ -5267,7 +5451,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5267
5451
|
}
|
|
5268
5452
|
function toHexStringShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits) {
|
|
5269
5453
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5270
|
-
var byteSeparatorLength = bytesFormat.
|
|
5454
|
+
var byteSeparatorLength = bytesFormat.q8_1.length;
|
|
5271
5455
|
// Inline function 'kotlin.require' call
|
|
5272
5456
|
// Inline function 'kotlin.require' call
|
|
5273
5457
|
if (!(byteSeparatorLength <= 1)) {
|
|
@@ -5295,7 +5479,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5295
5479
|
var this_0 = multiply_0(3n, fromInt_0(numberOfBytes));
|
|
5296
5480
|
var tmp$ret$5 = subtract_0(this_0, fromInt_0(1));
|
|
5297
5481
|
var charArray_1 = charArray(checkFormatLength(tmp$ret$5));
|
|
5298
|
-
var byteSeparatorChar = charCodeAt(bytesFormat.
|
|
5482
|
+
var byteSeparatorChar = charCodeAt(bytesFormat.q8_1, 0);
|
|
5299
5483
|
charIndex = formatByteAt_0(_this__u8e3s4, startIndex, byteToDigits, charArray_1, charIndex);
|
|
5300
5484
|
var inductionVariable_0 = startIndex + 1 | 0;
|
|
5301
5485
|
if (inductionVariable_0 < endIndex)
|
|
@@ -5313,9 +5497,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5313
5497
|
}
|
|
5314
5498
|
function toHexStringNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat, byteToDigits) {
|
|
5315
5499
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5316
|
-
var bytePrefix = bytesFormat.
|
|
5317
|
-
var byteSuffix = bytesFormat.
|
|
5318
|
-
var byteSeparator = bytesFormat.
|
|
5500
|
+
var bytePrefix = bytesFormat.r8_1;
|
|
5501
|
+
var byteSuffix = bytesFormat.s8_1;
|
|
5502
|
+
var byteSeparator = bytesFormat.q8_1;
|
|
5319
5503
|
var formatLength = formattedStringLength_0(endIndex - startIndex | 0, byteSeparator.length, bytePrefix.length, byteSuffix.length);
|
|
5320
5504
|
var charArray_0 = charArray(formatLength);
|
|
5321
5505
|
var charIndex = 0;
|
|
@@ -5444,7 +5628,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5444
5628
|
}
|
|
5445
5629
|
function hexToByteArrayShortByteSeparatorNoPrefixAndSuffix(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5446
5630
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5447
|
-
var byteSeparatorLength = bytesFormat.
|
|
5631
|
+
var byteSeparatorLength = bytesFormat.q8_1.length;
|
|
5448
5632
|
// Inline function 'kotlin.require' call
|
|
5449
5633
|
// Inline function 'kotlin.require' call
|
|
5450
5634
|
if (!(byteSeparatorLength <= 1)) {
|
|
@@ -5473,7 +5657,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5473
5657
|
return null;
|
|
5474
5658
|
var numberOfBytes_0 = (numberOfChars / 3 | 0) + 1 | 0;
|
|
5475
5659
|
var byteArray_0 = new Int8Array(numberOfBytes_0);
|
|
5476
|
-
var byteSeparatorChar = charCodeAt(bytesFormat.
|
|
5660
|
+
var byteSeparatorChar = charCodeAt(bytesFormat.q8_1, 0);
|
|
5477
5661
|
byteArray_0[0] = parseByteAt(_this__u8e3s4, charIndex);
|
|
5478
5662
|
charIndex = charIndex + 2 | 0;
|
|
5479
5663
|
var inductionVariable_0 = 1;
|
|
@@ -5483,8 +5667,8 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5483
5667
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5484
5668
|
if (!(charCodeAt(_this__u8e3s4, charIndex) === byteSeparatorChar)) {
|
|
5485
5669
|
var tmp2 = charIndex;
|
|
5486
|
-
var tmp6 = bytesFormat.
|
|
5487
|
-
var tmp8 = bytesFormat.
|
|
5670
|
+
var tmp6 = bytesFormat.q8_1;
|
|
5671
|
+
var tmp8 = bytesFormat.v8_1;
|
|
5488
5672
|
var tmp10 = 'byte separator';
|
|
5489
5673
|
$l$block: {
|
|
5490
5674
|
// Inline function 'kotlin.text.checkContainsAt' call
|
|
@@ -5515,9 +5699,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5515
5699
|
}
|
|
5516
5700
|
function hexToByteArrayNoLineAndGroupSeparatorSlowPath(_this__u8e3s4, startIndex, endIndex, bytesFormat) {
|
|
5517
5701
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
5518
|
-
var bytePrefix = bytesFormat.
|
|
5519
|
-
var byteSuffix = bytesFormat.
|
|
5520
|
-
var byteSeparator = bytesFormat.
|
|
5702
|
+
var bytePrefix = bytesFormat.r8_1;
|
|
5703
|
+
var byteSuffix = bytesFormat.s8_1;
|
|
5704
|
+
var byteSeparator = bytesFormat.q8_1;
|
|
5521
5705
|
var byteSeparatorLength = byteSeparator.length;
|
|
5522
5706
|
// Inline function 'kotlin.Long.plus' call
|
|
5523
5707
|
var other = bytePrefix.length;
|
|
@@ -5536,7 +5720,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5536
5720
|
if (!(subtract_0(this_1, fromInt_0(byteSeparatorLength)) === numberOfChars)) {
|
|
5537
5721
|
return null;
|
|
5538
5722
|
}
|
|
5539
|
-
var ignoreCase = bytesFormat.
|
|
5723
|
+
var ignoreCase = bytesFormat.v8_1;
|
|
5540
5724
|
var byteArray = new Int8Array(numberOfBytes);
|
|
5541
5725
|
var charIndex = startIndex;
|
|
5542
5726
|
var tmp2 = charIndex;
|
|
@@ -5903,24 +6087,24 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5903
6087
|
}
|
|
5904
6088
|
}
|
|
5905
6089
|
function Builder() {
|
|
5906
|
-
this.
|
|
5907
|
-
this.
|
|
5908
|
-
this.
|
|
5909
|
-
this.
|
|
5910
|
-
this.
|
|
5911
|
-
this.
|
|
5912
|
-
}
|
|
5913
|
-
protoOf(Builder).
|
|
6090
|
+
this.w8_1 = Companion_getInstance_9().c9_1.n8_1;
|
|
6091
|
+
this.x8_1 = Companion_getInstance_9().c9_1.o8_1;
|
|
6092
|
+
this.y8_1 = Companion_getInstance_9().c9_1.p8_1;
|
|
6093
|
+
this.z8_1 = Companion_getInstance_9().c9_1.q8_1;
|
|
6094
|
+
this.a9_1 = Companion_getInstance_9().c9_1.r8_1;
|
|
6095
|
+
this.b9_1 = Companion_getInstance_9().c9_1.s8_1;
|
|
6096
|
+
}
|
|
6097
|
+
protoOf(Builder).d9 = function (value) {
|
|
5914
6098
|
if (contains_2(value, _Char___init__impl__6a9atx(10)) || contains_2(value, _Char___init__impl__6a9atx(13)))
|
|
5915
6099
|
throw IllegalArgumentException_init_$Create$_0('LF and CR characters are prohibited in byteSeparator, but was ' + value);
|
|
5916
|
-
this.
|
|
6100
|
+
this.z8_1 = value;
|
|
5917
6101
|
};
|
|
5918
|
-
protoOf(Builder).
|
|
5919
|
-
return new BytesHexFormat(this.
|
|
6102
|
+
protoOf(Builder).e9 = function () {
|
|
6103
|
+
return new BytesHexFormat(this.w8_1, this.x8_1, this.y8_1, this.z8_1, this.a9_1, this.b9_1);
|
|
5920
6104
|
};
|
|
5921
6105
|
function Companion_9() {
|
|
5922
6106
|
Companion_instance_9 = this;
|
|
5923
|
-
this.
|
|
6107
|
+
this.c9_1 = new BytesHexFormat(2147483647, 2147483647, ' ', '', '', '');
|
|
5924
6108
|
}
|
|
5925
6109
|
var Companion_instance_9;
|
|
5926
6110
|
function Companion_getInstance_9() {
|
|
@@ -5930,7 +6114,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5930
6114
|
}
|
|
5931
6115
|
function Companion_10() {
|
|
5932
6116
|
Companion_instance_10 = this;
|
|
5933
|
-
this.
|
|
6117
|
+
this.f9_1 = new NumberHexFormat('', '', false, 1);
|
|
5934
6118
|
}
|
|
5935
6119
|
var Companion_instance_10;
|
|
5936
6120
|
function Companion_getInstance_10() {
|
|
@@ -5940,134 +6124,134 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
5940
6124
|
}
|
|
5941
6125
|
function BytesHexFormat(bytesPerLine, bytesPerGroup, groupSeparator, byteSeparator, bytePrefix, byteSuffix) {
|
|
5942
6126
|
Companion_getInstance_9();
|
|
5943
|
-
this.
|
|
5944
|
-
this.
|
|
5945
|
-
this.
|
|
5946
|
-
this.
|
|
5947
|
-
this.
|
|
5948
|
-
this.
|
|
5949
|
-
this.
|
|
6127
|
+
this.n8_1 = bytesPerLine;
|
|
6128
|
+
this.o8_1 = bytesPerGroup;
|
|
6129
|
+
this.p8_1 = groupSeparator;
|
|
6130
|
+
this.q8_1 = byteSeparator;
|
|
6131
|
+
this.r8_1 = bytePrefix;
|
|
6132
|
+
this.s8_1 = byteSuffix;
|
|
6133
|
+
this.t8_1 = (this.n8_1 === 2147483647 && this.o8_1 === 2147483647);
|
|
5950
6134
|
var tmp = this;
|
|
5951
6135
|
var tmp_0;
|
|
5952
6136
|
var tmp_1;
|
|
5953
6137
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5954
|
-
var this_0 = this.
|
|
6138
|
+
var this_0 = this.r8_1;
|
|
5955
6139
|
if (charSequenceLength(this_0) === 0) {
|
|
5956
6140
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5957
|
-
var this_1 = this.
|
|
6141
|
+
var this_1 = this.s8_1;
|
|
5958
6142
|
tmp_1 = charSequenceLength(this_1) === 0;
|
|
5959
6143
|
} else {
|
|
5960
6144
|
tmp_1 = false;
|
|
5961
6145
|
}
|
|
5962
6146
|
if (tmp_1) {
|
|
5963
|
-
tmp_0 = this.
|
|
6147
|
+
tmp_0 = this.q8_1.length <= 1;
|
|
5964
6148
|
} else {
|
|
5965
6149
|
tmp_0 = false;
|
|
5966
6150
|
}
|
|
5967
|
-
tmp.
|
|
5968
|
-
this.
|
|
6151
|
+
tmp.u8_1 = tmp_0;
|
|
6152
|
+
this.v8_1 = isCaseSensitive(this.p8_1) || isCaseSensitive(this.q8_1) || isCaseSensitive(this.r8_1) || isCaseSensitive(this.s8_1);
|
|
5969
6153
|
}
|
|
5970
6154
|
protoOf(BytesHexFormat).toString = function () {
|
|
5971
6155
|
// Inline function 'kotlin.text.buildString' call
|
|
5972
6156
|
// Inline function 'kotlin.apply' call
|
|
5973
6157
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
5974
6158
|
// Inline function 'kotlin.text.appendLine' call
|
|
5975
|
-
this_0.
|
|
6159
|
+
this_0.j4('BytesHexFormat(').k4(_Char___init__impl__6a9atx(10));
|
|
5976
6160
|
// Inline function 'kotlin.text.appendLine' call
|
|
5977
|
-
this.
|
|
5978
|
-
this_0.
|
|
6161
|
+
this.g9(this_0, ' ').k4(_Char___init__impl__6a9atx(10));
|
|
6162
|
+
this_0.j4(')');
|
|
5979
6163
|
return this_0.toString();
|
|
5980
6164
|
};
|
|
5981
|
-
protoOf(BytesHexFormat).
|
|
6165
|
+
protoOf(BytesHexFormat).g9 = function (sb, indent) {
|
|
5982
6166
|
// Inline function 'kotlin.text.appendLine' call
|
|
5983
6167
|
// Inline function 'kotlin.text.appendLine' call
|
|
5984
|
-
sb.
|
|
6168
|
+
sb.j4(indent).j4('bytesPerLine = ').y4(this.n8_1).j4(',').k4(_Char___init__impl__6a9atx(10));
|
|
5985
6169
|
// Inline function 'kotlin.text.appendLine' call
|
|
5986
6170
|
// Inline function 'kotlin.text.appendLine' call
|
|
5987
|
-
sb.
|
|
6171
|
+
sb.j4(indent).j4('bytesPerGroup = ').y4(this.o8_1).j4(',').k4(_Char___init__impl__6a9atx(10));
|
|
5988
6172
|
// Inline function 'kotlin.text.appendLine' call
|
|
5989
6173
|
// Inline function 'kotlin.text.appendLine' call
|
|
5990
|
-
sb.
|
|
6174
|
+
sb.j4(indent).j4('groupSeparator = "').j4(this.p8_1).j4('",').k4(_Char___init__impl__6a9atx(10));
|
|
5991
6175
|
// Inline function 'kotlin.text.appendLine' call
|
|
5992
6176
|
// Inline function 'kotlin.text.appendLine' call
|
|
5993
|
-
sb.
|
|
6177
|
+
sb.j4(indent).j4('byteSeparator = "').j4(this.q8_1).j4('",').k4(_Char___init__impl__6a9atx(10));
|
|
5994
6178
|
// Inline function 'kotlin.text.appendLine' call
|
|
5995
6179
|
// Inline function 'kotlin.text.appendLine' call
|
|
5996
|
-
sb.
|
|
5997
|
-
sb.
|
|
6180
|
+
sb.j4(indent).j4('bytePrefix = "').j4(this.r8_1).j4('",').k4(_Char___init__impl__6a9atx(10));
|
|
6181
|
+
sb.j4(indent).j4('byteSuffix = "').j4(this.s8_1).j4('"');
|
|
5998
6182
|
return sb;
|
|
5999
6183
|
};
|
|
6000
6184
|
function NumberHexFormat(prefix, suffix, removeLeadingZeros, minLength) {
|
|
6001
6185
|
Companion_getInstance_10();
|
|
6002
|
-
this.
|
|
6003
|
-
this.
|
|
6004
|
-
this.
|
|
6005
|
-
this.
|
|
6186
|
+
this.g8_1 = prefix;
|
|
6187
|
+
this.h8_1 = suffix;
|
|
6188
|
+
this.i8_1 = removeLeadingZeros;
|
|
6189
|
+
this.j8_1 = minLength;
|
|
6006
6190
|
var tmp = this;
|
|
6007
6191
|
var tmp_0;
|
|
6008
6192
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6009
|
-
var this_0 = this.
|
|
6193
|
+
var this_0 = this.g8_1;
|
|
6010
6194
|
if (charSequenceLength(this_0) === 0) {
|
|
6011
6195
|
// Inline function 'kotlin.text.isEmpty' call
|
|
6012
|
-
var this_1 = this.
|
|
6196
|
+
var this_1 = this.h8_1;
|
|
6013
6197
|
tmp_0 = charSequenceLength(this_1) === 0;
|
|
6014
6198
|
} else {
|
|
6015
6199
|
tmp_0 = false;
|
|
6016
6200
|
}
|
|
6017
|
-
tmp.
|
|
6018
|
-
this.
|
|
6019
|
-
this.
|
|
6201
|
+
tmp.k8_1 = tmp_0;
|
|
6202
|
+
this.l8_1 = (this.k8_1 && this.j8_1 === 1);
|
|
6203
|
+
this.m8_1 = isCaseSensitive(this.g8_1) || isCaseSensitive(this.h8_1);
|
|
6020
6204
|
}
|
|
6021
6205
|
protoOf(NumberHexFormat).toString = function () {
|
|
6022
6206
|
// Inline function 'kotlin.text.buildString' call
|
|
6023
6207
|
// Inline function 'kotlin.apply' call
|
|
6024
6208
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6025
6209
|
// Inline function 'kotlin.text.appendLine' call
|
|
6026
|
-
this_0.
|
|
6210
|
+
this_0.j4('NumberHexFormat(').k4(_Char___init__impl__6a9atx(10));
|
|
6027
6211
|
// Inline function 'kotlin.text.appendLine' call
|
|
6028
|
-
this.
|
|
6029
|
-
this_0.
|
|
6212
|
+
this.g9(this_0, ' ').k4(_Char___init__impl__6a9atx(10));
|
|
6213
|
+
this_0.j4(')');
|
|
6030
6214
|
return this_0.toString();
|
|
6031
6215
|
};
|
|
6032
|
-
protoOf(NumberHexFormat).
|
|
6216
|
+
protoOf(NumberHexFormat).g9 = function (sb, indent) {
|
|
6033
6217
|
// Inline function 'kotlin.text.appendLine' call
|
|
6034
6218
|
// Inline function 'kotlin.text.appendLine' call
|
|
6035
|
-
sb.
|
|
6219
|
+
sb.j4(indent).j4('prefix = "').j4(this.g8_1).j4('",').k4(_Char___init__impl__6a9atx(10));
|
|
6036
6220
|
// Inline function 'kotlin.text.appendLine' call
|
|
6037
6221
|
// Inline function 'kotlin.text.appendLine' call
|
|
6038
|
-
sb.
|
|
6039
|
-
var tmp0 = sb.
|
|
6222
|
+
sb.j4(indent).j4('suffix = "').j4(this.h8_1).j4('",').k4(_Char___init__impl__6a9atx(10));
|
|
6223
|
+
var tmp0 = sb.j4(indent).j4('removeLeadingZeros = ').x4(this.i8_1);
|
|
6040
6224
|
// Inline function 'kotlin.text.appendLine' call
|
|
6041
6225
|
var value = _Char___init__impl__6a9atx(44);
|
|
6042
6226
|
// Inline function 'kotlin.text.appendLine' call
|
|
6043
|
-
tmp0.
|
|
6044
|
-
sb.
|
|
6227
|
+
tmp0.k4(value).k4(_Char___init__impl__6a9atx(10));
|
|
6228
|
+
sb.j4(indent).j4('minLength = ').y4(this.j8_1);
|
|
6045
6229
|
return sb;
|
|
6046
6230
|
};
|
|
6047
6231
|
function Builder_0() {
|
|
6048
|
-
this.
|
|
6049
|
-
this.
|
|
6050
|
-
this.
|
|
6232
|
+
this.h9_1 = Companion_getInstance_11().b8_1.d8_1;
|
|
6233
|
+
this.i9_1 = null;
|
|
6234
|
+
this.j9_1 = null;
|
|
6051
6235
|
}
|
|
6052
|
-
protoOf(Builder_0).
|
|
6053
|
-
if (this.
|
|
6054
|
-
this.
|
|
6236
|
+
protoOf(Builder_0).k9 = function () {
|
|
6237
|
+
if (this.i9_1 == null) {
|
|
6238
|
+
this.i9_1 = new Builder();
|
|
6055
6239
|
}
|
|
6056
|
-
return ensureNotNull(this.
|
|
6240
|
+
return ensureNotNull(this.i9_1);
|
|
6057
6241
|
};
|
|
6058
|
-
protoOf(Builder_0).
|
|
6059
|
-
var tmp = this.
|
|
6060
|
-
var tmp0_safe_receiver = this.
|
|
6061
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
6062
|
-
var tmp_0 = tmp1_elvis_lhs == null ? Companion_getInstance_9().
|
|
6063
|
-
var tmp2_safe_receiver = this.
|
|
6064
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
6065
|
-
return new HexFormat(tmp, tmp_0, tmp3_elvis_lhs == null ? Companion_getInstance_10().
|
|
6242
|
+
protoOf(Builder_0).e9 = function () {
|
|
6243
|
+
var tmp = this.h9_1;
|
|
6244
|
+
var tmp0_safe_receiver = this.i9_1;
|
|
6245
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e9();
|
|
6246
|
+
var tmp_0 = tmp1_elvis_lhs == null ? Companion_getInstance_9().c9_1 : tmp1_elvis_lhs;
|
|
6247
|
+
var tmp2_safe_receiver = this.j9_1;
|
|
6248
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.e9();
|
|
6249
|
+
return new HexFormat(tmp, tmp_0, tmp3_elvis_lhs == null ? Companion_getInstance_10().f9_1 : tmp3_elvis_lhs);
|
|
6066
6250
|
};
|
|
6067
6251
|
function Companion_11() {
|
|
6068
6252
|
Companion_instance_11 = this;
|
|
6069
|
-
this.
|
|
6070
|
-
this.
|
|
6253
|
+
this.b8_1 = new HexFormat(false, Companion_getInstance_9().c9_1, Companion_getInstance_10().f9_1);
|
|
6254
|
+
this.c8_1 = new HexFormat(true, Companion_getInstance_9().c9_1, Companion_getInstance_10().f9_1);
|
|
6071
6255
|
}
|
|
6072
6256
|
var Companion_instance_11;
|
|
6073
6257
|
function Companion_getInstance_11() {
|
|
@@ -6077,32 +6261,32 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6077
6261
|
}
|
|
6078
6262
|
function HexFormat(upperCase, bytes, number) {
|
|
6079
6263
|
Companion_getInstance_11();
|
|
6080
|
-
this.
|
|
6081
|
-
this.
|
|
6082
|
-
this.
|
|
6264
|
+
this.d8_1 = upperCase;
|
|
6265
|
+
this.e8_1 = bytes;
|
|
6266
|
+
this.f8_1 = number;
|
|
6083
6267
|
}
|
|
6084
6268
|
protoOf(HexFormat).toString = function () {
|
|
6085
6269
|
// Inline function 'kotlin.text.buildString' call
|
|
6086
6270
|
// Inline function 'kotlin.apply' call
|
|
6087
6271
|
var this_0 = StringBuilder_init_$Create$_0();
|
|
6088
6272
|
// Inline function 'kotlin.text.appendLine' call
|
|
6089
|
-
this_0.
|
|
6273
|
+
this_0.j4('HexFormat(').k4(_Char___init__impl__6a9atx(10));
|
|
6090
6274
|
// Inline function 'kotlin.text.appendLine' call
|
|
6091
6275
|
// Inline function 'kotlin.text.appendLine' call
|
|
6092
|
-
this_0.
|
|
6276
|
+
this_0.j4(' upperCase = ').x4(this.d8_1).j4(',').k4(_Char___init__impl__6a9atx(10));
|
|
6093
6277
|
// Inline function 'kotlin.text.appendLine' call
|
|
6094
|
-
this_0.
|
|
6278
|
+
this_0.j4(' bytes = BytesHexFormat(').k4(_Char___init__impl__6a9atx(10));
|
|
6095
6279
|
// Inline function 'kotlin.text.appendLine' call
|
|
6096
|
-
this.
|
|
6280
|
+
this.e8_1.g9(this_0, ' ').k4(_Char___init__impl__6a9atx(10));
|
|
6097
6281
|
// Inline function 'kotlin.text.appendLine' call
|
|
6098
|
-
this_0.
|
|
6282
|
+
this_0.j4(' ),').k4(_Char___init__impl__6a9atx(10));
|
|
6099
6283
|
// Inline function 'kotlin.text.appendLine' call
|
|
6100
|
-
this_0.
|
|
6284
|
+
this_0.j4(' number = NumberHexFormat(').k4(_Char___init__impl__6a9atx(10));
|
|
6101
6285
|
// Inline function 'kotlin.text.appendLine' call
|
|
6102
|
-
this.
|
|
6286
|
+
this.f8_1.g9(this_0, ' ').k4(_Char___init__impl__6a9atx(10));
|
|
6103
6287
|
// Inline function 'kotlin.text.appendLine' call
|
|
6104
|
-
this_0.
|
|
6105
|
-
this_0.
|
|
6288
|
+
this_0.j4(' )').k4(_Char___init__impl__6a9atx(10));
|
|
6289
|
+
this_0.j4(')');
|
|
6106
6290
|
return this_0.toString();
|
|
6107
6291
|
};
|
|
6108
6292
|
function isCaseSensitive(_this__u8e3s4) {
|
|
@@ -6190,7 +6374,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6190
6374
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
6191
6375
|
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
6192
6376
|
}
|
|
6193
|
-
function
|
|
6377
|
+
function indexOf_2(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
6194
6378
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6195
6379
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6196
6380
|
var tmp;
|
|
@@ -6231,7 +6415,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6231
6415
|
return _this__u8e3s4.indexOf(str, startIndex);
|
|
6232
6416
|
}
|
|
6233
6417
|
var inductionVariable = coerceAtLeast(startIndex, 0);
|
|
6234
|
-
var last =
|
|
6418
|
+
var last = get_lastIndex_2(_this__u8e3s4);
|
|
6235
6419
|
if (inductionVariable <= last)
|
|
6236
6420
|
do {
|
|
6237
6421
|
var index = inductionVariable;
|
|
@@ -6258,39 +6442,15 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6258
6442
|
while (!(index === last));
|
|
6259
6443
|
return -1;
|
|
6260
6444
|
}
|
|
6261
|
-
function
|
|
6262
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6263
|
-
var tmp;
|
|
6264
|
-
if (typeof other === 'string') {
|
|
6265
|
-
tmp = indexOf_2(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
|
|
6266
|
-
} else {
|
|
6267
|
-
tmp = indexOf_3(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
|
|
6268
|
-
}
|
|
6269
|
-
return tmp;
|
|
6270
|
-
}
|
|
6271
|
-
function indexOf_2(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
6272
|
-
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
6445
|
+
function contains_2(_this__u8e3s4, char, ignoreCase) {
|
|
6273
6446
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6274
|
-
|
|
6275
|
-
var tmp_0;
|
|
6276
|
-
if (ignoreCase) {
|
|
6277
|
-
tmp_0 = true;
|
|
6278
|
-
} else {
|
|
6279
|
-
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
6280
|
-
}
|
|
6281
|
-
if (tmp_0) {
|
|
6282
|
-
tmp = indexOf_3(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
|
|
6283
|
-
} else {
|
|
6284
|
-
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
6285
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
6286
|
-
tmp = _this__u8e3s4.indexOf(string, startIndex);
|
|
6287
|
-
}
|
|
6288
|
-
return tmp;
|
|
6447
|
+
return indexOf_2(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
6289
6448
|
}
|
|
6290
|
-
function
|
|
6291
|
-
|
|
6449
|
+
function padEnd(_this__u8e3s4, length, padChar) {
|
|
6450
|
+
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
6451
|
+
return toString_1(padEnd_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
6292
6452
|
}
|
|
6293
|
-
function
|
|
6453
|
+
function get_lastIndex_2(_this__u8e3s4) {
|
|
6294
6454
|
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
6295
6455
|
}
|
|
6296
6456
|
function isBlank(_this__u8e3s4) {
|
|
@@ -6323,61 +6483,29 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6323
6483
|
do {
|
|
6324
6484
|
var i = inductionVariable;
|
|
6325
6485
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6326
|
-
sb.
|
|
6486
|
+
sb.k4(padChar);
|
|
6327
6487
|
}
|
|
6328
6488
|
while (!(i === last));
|
|
6329
6489
|
sb.e(_this__u8e3s4);
|
|
6330
6490
|
return sb;
|
|
6331
6491
|
}
|
|
6332
|
-
function
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
var
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
do {
|
|
6350
|
-
var index = inductionVariable;
|
|
6351
|
-
inductionVariable = inductionVariable + step | 0;
|
|
6352
|
-
if (regionMatches(other, 0, _this__u8e3s4, index, other.length, ignoreCase))
|
|
6353
|
-
return index;
|
|
6354
|
-
}
|
|
6355
|
-
while (!(index === last_0));
|
|
6356
|
-
} else {
|
|
6357
|
-
var inductionVariable_0 = indices.b8_1;
|
|
6358
|
-
var last_1 = indices.c8_1;
|
|
6359
|
-
var step_0 = indices.d8_1;
|
|
6360
|
-
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
6361
|
-
do {
|
|
6362
|
-
var index_0 = inductionVariable_0;
|
|
6363
|
-
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
6364
|
-
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
|
|
6365
|
-
return index_0;
|
|
6366
|
-
}
|
|
6367
|
-
while (!(index_0 === last_1));
|
|
6368
|
-
}
|
|
6369
|
-
return -1;
|
|
6370
|
-
}
|
|
6371
|
-
function replaceRange_0(_this__u8e3s4, startIndex, endIndex, replacement) {
|
|
6372
|
-
if (endIndex < startIndex)
|
|
6373
|
-
throw IndexOutOfBoundsException_init_$Create$_0('End index (' + endIndex + ') is less than start index (' + startIndex + ').');
|
|
6374
|
-
var sb = StringBuilder_init_$Create$_0();
|
|
6375
|
-
// Inline function 'kotlin.text.appendRange' call
|
|
6376
|
-
sb.k5(_this__u8e3s4, 0, startIndex);
|
|
6377
|
-
sb.e(replacement);
|
|
6378
|
-
// Inline function 'kotlin.text.appendRange' call
|
|
6379
|
-
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
6380
|
-
sb.k5(_this__u8e3s4, endIndex, endIndex_0);
|
|
6492
|
+
function padEnd_0(_this__u8e3s4, length, padChar) {
|
|
6493
|
+
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
6494
|
+
if (length < 0)
|
|
6495
|
+
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
|
|
6496
|
+
if (length <= charSequenceLength(_this__u8e3s4))
|
|
6497
|
+
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
6498
|
+
var sb = StringBuilder_init_$Create$(length);
|
|
6499
|
+
sb.e(_this__u8e3s4);
|
|
6500
|
+
var inductionVariable = 1;
|
|
6501
|
+
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
6502
|
+
if (inductionVariable <= last)
|
|
6503
|
+
do {
|
|
6504
|
+
var i = inductionVariable;
|
|
6505
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
6506
|
+
sb.k4(padChar);
|
|
6507
|
+
}
|
|
6508
|
+
while (!(i === last));
|
|
6381
6509
|
return sb;
|
|
6382
6510
|
}
|
|
6383
6511
|
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
@@ -6395,35 +6523,84 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6395
6523
|
while (inductionVariable < length);
|
|
6396
6524
|
return true;
|
|
6397
6525
|
}
|
|
6398
|
-
function
|
|
6526
|
+
function startsWith_0(_this__u8e3s4, char, ignoreCase) {
|
|
6527
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6528
|
+
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
|
|
6529
|
+
}
|
|
6530
|
+
function endsWith(_this__u8e3s4, char, ignoreCase) {
|
|
6399
6531
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
6400
|
-
return
|
|
6532
|
+
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, get_lastIndex_2(_this__u8e3s4)), char, ignoreCase);
|
|
6533
|
+
}
|
|
6534
|
+
function trimEnd(_this__u8e3s4, chars) {
|
|
6535
|
+
// Inline function 'kotlin.text.trimEnd' call
|
|
6536
|
+
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
6537
|
+
var tmp$ret$1;
|
|
6538
|
+
$l$block: {
|
|
6539
|
+
// Inline function 'kotlin.text.trimEnd' call
|
|
6540
|
+
var inductionVariable = charSequenceLength(tmp0) - 1 | 0;
|
|
6541
|
+
if (0 <= inductionVariable)
|
|
6542
|
+
do {
|
|
6543
|
+
var index = inductionVariable;
|
|
6544
|
+
inductionVariable = inductionVariable + -1 | 0;
|
|
6545
|
+
var it = charSequenceGet(tmp0, index);
|
|
6546
|
+
if (!contains_0(chars, it)) {
|
|
6547
|
+
tmp$ret$1 = charSequenceSubSequence(tmp0, 0, index + 1 | 0);
|
|
6548
|
+
break $l$block;
|
|
6549
|
+
}
|
|
6550
|
+
}
|
|
6551
|
+
while (0 <= inductionVariable);
|
|
6552
|
+
tmp$ret$1 = '';
|
|
6553
|
+
}
|
|
6554
|
+
return toString_1(tmp$ret$1);
|
|
6555
|
+
}
|
|
6556
|
+
function trimStart(_this__u8e3s4, chars) {
|
|
6557
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
6558
|
+
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
6559
|
+
var tmp$ret$1;
|
|
6560
|
+
$l$block: {
|
|
6561
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
6562
|
+
var inductionVariable = 0;
|
|
6563
|
+
var last = charSequenceLength(tmp0) - 1 | 0;
|
|
6564
|
+
if (inductionVariable <= last)
|
|
6565
|
+
do {
|
|
6566
|
+
var index = inductionVariable;
|
|
6567
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
6568
|
+
var it = charSequenceGet(tmp0, index);
|
|
6569
|
+
if (!contains_0(chars, it)) {
|
|
6570
|
+
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
|
|
6571
|
+
break $l$block;
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
while (inductionVariable <= last);
|
|
6575
|
+
tmp$ret$1 = '';
|
|
6576
|
+
}
|
|
6577
|
+
return toString_1(tmp$ret$1);
|
|
6401
6578
|
}
|
|
6402
6579
|
function iterator$1($this_iterator) {
|
|
6403
|
-
this.
|
|
6580
|
+
this.q9_1 = $this_iterator;
|
|
6404
6581
|
CharIterator.call(this);
|
|
6405
|
-
this.
|
|
6582
|
+
this.p9_1 = 0;
|
|
6406
6583
|
}
|
|
6407
|
-
protoOf(iterator$1).
|
|
6408
|
-
var _unary__edvuaz = this.
|
|
6409
|
-
this.
|
|
6410
|
-
return charSequenceGet(this.
|
|
6584
|
+
protoOf(iterator$1).u6 = function () {
|
|
6585
|
+
var _unary__edvuaz = this.p9_1;
|
|
6586
|
+
this.p9_1 = _unary__edvuaz + 1 | 0;
|
|
6587
|
+
return charSequenceGet(this.q9_1, _unary__edvuaz);
|
|
6411
6588
|
};
|
|
6412
6589
|
protoOf(iterator$1).g = function () {
|
|
6413
|
-
return this.
|
|
6590
|
+
return this.p9_1 < charSequenceLength(this.q9_1);
|
|
6414
6591
|
};
|
|
6415
6592
|
function MatchNamedGroupCollection() {
|
|
6416
6593
|
}
|
|
6417
6594
|
function Pair(first, second) {
|
|
6418
|
-
this.
|
|
6419
|
-
this.
|
|
6595
|
+
this.r9_1 = first;
|
|
6596
|
+
this.s9_1 = second;
|
|
6420
6597
|
}
|
|
6421
6598
|
protoOf(Pair).toString = function () {
|
|
6422
|
-
return '(' + toString_0(this.
|
|
6599
|
+
return '(' + toString_0(this.r9_1) + ', ' + toString_0(this.s9_1) + ')';
|
|
6423
6600
|
};
|
|
6424
6601
|
protoOf(Pair).hashCode = function () {
|
|
6425
|
-
var result = this.
|
|
6426
|
-
result = imul(result, 31) + (this.
|
|
6602
|
+
var result = this.r9_1 == null ? 0 : hashCode(this.r9_1);
|
|
6603
|
+
result = imul(result, 31) + (this.s9_1 == null ? 0 : hashCode(this.s9_1)) | 0;
|
|
6427
6604
|
return result;
|
|
6428
6605
|
};
|
|
6429
6606
|
protoOf(Pair).equals = function (other) {
|
|
@@ -6431,9 +6608,9 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6431
6608
|
return true;
|
|
6432
6609
|
if (!(other instanceof Pair))
|
|
6433
6610
|
return false;
|
|
6434
|
-
if (!equals(this.
|
|
6611
|
+
if (!equals(this.r9_1, other.r9_1))
|
|
6435
6612
|
return false;
|
|
6436
|
-
if (!equals(this.
|
|
6613
|
+
if (!equals(this.s9_1, other.s9_1))
|
|
6437
6614
|
return false;
|
|
6438
6615
|
return true;
|
|
6439
6616
|
};
|
|
@@ -6454,10 +6631,10 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6454
6631
|
}
|
|
6455
6632
|
function Companion_12() {
|
|
6456
6633
|
Companion_instance_12 = this;
|
|
6457
|
-
this.
|
|
6458
|
-
this.
|
|
6459
|
-
this.
|
|
6460
|
-
this.
|
|
6634
|
+
this.t9_1 = _ULong___init__impl__c78o9k(0n);
|
|
6635
|
+
this.u9_1 = _ULong___init__impl__c78o9k(-1n);
|
|
6636
|
+
this.v9_1 = 8;
|
|
6637
|
+
this.w9_1 = 64;
|
|
6461
6638
|
}
|
|
6462
6639
|
var Companion_instance_12;
|
|
6463
6640
|
function Companion_getInstance_12() {
|
|
@@ -6469,7 +6646,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6469
6646
|
return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other));
|
|
6470
6647
|
}
|
|
6471
6648
|
function ULong__compareTo_impl_38i7tu_0($this, other) {
|
|
6472
|
-
return ULong__compareTo_impl_38i7tu($this.
|
|
6649
|
+
return ULong__compareTo_impl_38i7tu($this.x9_1, other instanceof ULong ? other.x9_1 : THROW_CCE());
|
|
6473
6650
|
}
|
|
6474
6651
|
function ULong__toString_impl_f9au7k($this) {
|
|
6475
6652
|
// Inline function 'kotlin.ulongToString' call
|
|
@@ -6482,28 +6659,28 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6482
6659
|
function ULong__equals_impl_o0gnyb($this, other) {
|
|
6483
6660
|
if (!(other instanceof ULong))
|
|
6484
6661
|
return false;
|
|
6485
|
-
if (!($this === other.
|
|
6662
|
+
if (!($this === other.x9_1))
|
|
6486
6663
|
return false;
|
|
6487
6664
|
return true;
|
|
6488
6665
|
}
|
|
6489
6666
|
function ULong(data) {
|
|
6490
6667
|
Companion_getInstance_12();
|
|
6491
|
-
this.
|
|
6668
|
+
this.x9_1 = data;
|
|
6492
6669
|
}
|
|
6493
|
-
protoOf(ULong).
|
|
6494
|
-
return ULong__compareTo_impl_38i7tu(this.
|
|
6670
|
+
protoOf(ULong).y9 = function (other) {
|
|
6671
|
+
return ULong__compareTo_impl_38i7tu(this.x9_1, other);
|
|
6495
6672
|
};
|
|
6496
|
-
protoOf(ULong).
|
|
6673
|
+
protoOf(ULong).z = function (other) {
|
|
6497
6674
|
return ULong__compareTo_impl_38i7tu_0(this, other);
|
|
6498
6675
|
};
|
|
6499
6676
|
protoOf(ULong).toString = function () {
|
|
6500
|
-
return ULong__toString_impl_f9au7k(this.
|
|
6677
|
+
return ULong__toString_impl_f9au7k(this.x9_1);
|
|
6501
6678
|
};
|
|
6502
6679
|
protoOf(ULong).hashCode = function () {
|
|
6503
|
-
return ULong__hashCode_impl_6hv2lb(this.
|
|
6680
|
+
return ULong__hashCode_impl_6hv2lb(this.x9_1);
|
|
6504
6681
|
};
|
|
6505
6682
|
protoOf(ULong).equals = function (other) {
|
|
6506
|
-
return ULong__equals_impl_o0gnyb(this.
|
|
6683
|
+
return ULong__equals_impl_o0gnyb(this.x9_1, other);
|
|
6507
6684
|
};
|
|
6508
6685
|
function _UShort___init__impl__jigrne(data) {
|
|
6509
6686
|
return data;
|
|
@@ -6517,7 +6694,7 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6517
6694
|
return toString_3(tmp$ret$0, radix);
|
|
6518
6695
|
}
|
|
6519
6696
|
//region block: post-declaration
|
|
6520
|
-
protoOf(InternalHashMap).
|
|
6697
|
+
protoOf(InternalHashMap).m3 = containsAllEntries;
|
|
6521
6698
|
//endregion
|
|
6522
6699
|
//region block: init
|
|
6523
6700
|
Companion_instance_0 = new Companion_0();
|
|
@@ -6527,7 +6704,6 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6527
6704
|
Companion_instance_2 = new Companion_2();
|
|
6528
6705
|
Companion_instance_4 = new Companion_4();
|
|
6529
6706
|
Companion_instance_5 = new Companion_5();
|
|
6530
|
-
EmptyList_instance = new EmptyList();
|
|
6531
6707
|
EmptyIterator_instance = new EmptyIterator();
|
|
6532
6708
|
EmptySet_instance = new EmptySet();
|
|
6533
6709
|
Companion_instance_6 = new Companion_6();
|
|
@@ -6540,111 +6716,117 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
6540
6716
|
_.$_$.c = DoubleCompanionObject_instance;
|
|
6541
6717
|
_.$_$.d = FloatCompanionObject_instance;
|
|
6542
6718
|
_.$_$.e = Default_getInstance;
|
|
6543
|
-
_.$_$.f =
|
|
6544
|
-
_.$_$.g =
|
|
6545
|
-
_.$_$.h = ArrayList_init_$Create
|
|
6546
|
-
_.$_$.i =
|
|
6547
|
-
_.$_$.j =
|
|
6548
|
-
_.$_$.k = StringBuilder_init_$Create
|
|
6549
|
-
_.$_$.l =
|
|
6550
|
-
_.$_$.m =
|
|
6551
|
-
_.$_$.n = IllegalArgumentException_init_$Create$
|
|
6552
|
-
_.$_$.o =
|
|
6553
|
-
_.$_$.p =
|
|
6554
|
-
_.$_$.q =
|
|
6555
|
-
_.$_$.r =
|
|
6556
|
-
_.$_$.s =
|
|
6557
|
-
_.$_$.t =
|
|
6558
|
-
_.$_$.u =
|
|
6559
|
-
_.$_$.v =
|
|
6560
|
-
_.$_$.w =
|
|
6561
|
-
_.$_$.x =
|
|
6562
|
-
_.$_$.y =
|
|
6563
|
-
_.$_$.z =
|
|
6564
|
-
_.$_$.a1 =
|
|
6565
|
-
_.$_$.b1 =
|
|
6566
|
-
_.$_$.c1 =
|
|
6567
|
-
_.$_$.d1 =
|
|
6568
|
-
_.$_$.e1 =
|
|
6569
|
-
_.$_$.f1 =
|
|
6570
|
-
_.$_$.g1 =
|
|
6571
|
-
_.$_$.h1 =
|
|
6572
|
-
_.$_$.i1 =
|
|
6573
|
-
_.$_$.j1 =
|
|
6574
|
-
_.$_$.k1 =
|
|
6575
|
-
_.$_$.l1 =
|
|
6576
|
-
_.$_$.m1 =
|
|
6577
|
-
_.$_$.n1 =
|
|
6578
|
-
_.$_$.o1 =
|
|
6579
|
-
_.$_$.p1 =
|
|
6580
|
-
_.$_$.q1 =
|
|
6581
|
-
_.$_$.r1 =
|
|
6582
|
-
_.$_$.s1 =
|
|
6583
|
-
_.$_$.t1 =
|
|
6584
|
-
_.$_$.u1 =
|
|
6585
|
-
_.$_$.v1 =
|
|
6586
|
-
_.$_$.w1 =
|
|
6587
|
-
_.$_$.x1 =
|
|
6588
|
-
_.$_$.y1 =
|
|
6589
|
-
_.$_$.z1 =
|
|
6590
|
-
_.$_$.a2 =
|
|
6591
|
-
_.$_$.b2 =
|
|
6592
|
-
_.$_$.c2 =
|
|
6593
|
-
_.$_$.d2 =
|
|
6594
|
-
_.$_$.e2 =
|
|
6595
|
-
_.$_$.f2 =
|
|
6596
|
-
_.$_$.g2 =
|
|
6597
|
-
_.$_$.h2 =
|
|
6598
|
-
_.$_$.i2 =
|
|
6599
|
-
_.$_$.j2 =
|
|
6600
|
-
_.$_$.k2 =
|
|
6601
|
-
_.$_$.l2 =
|
|
6602
|
-
_.$_$.m2 =
|
|
6603
|
-
_.$_$.n2 =
|
|
6604
|
-
_.$_$.o2 =
|
|
6605
|
-
_.$_$.p2 =
|
|
6606
|
-
_.$_$.q2 =
|
|
6607
|
-
_.$_$.r2 =
|
|
6608
|
-
_.$_$.s2 =
|
|
6609
|
-
_.$_$.t2 =
|
|
6610
|
-
_.$_$.u2 =
|
|
6611
|
-
_.$_$.v2 =
|
|
6612
|
-
_.$_$.w2 =
|
|
6613
|
-
_.$_$.x2 =
|
|
6614
|
-
_.$_$.y2 =
|
|
6615
|
-
_.$_$.z2 =
|
|
6616
|
-
_.$_$.a3 =
|
|
6617
|
-
_.$_$.b3 =
|
|
6618
|
-
_.$_$.c3 =
|
|
6619
|
-
_.$_$.d3 =
|
|
6620
|
-
_.$_$.e3 =
|
|
6621
|
-
_.$_$.f3 =
|
|
6622
|
-
_.$_$.g3 =
|
|
6623
|
-
_.$_$.h3 =
|
|
6624
|
-
_.$_$.i3 =
|
|
6625
|
-
_.$_$.j3 =
|
|
6626
|
-
_.$_$.k3 =
|
|
6627
|
-
_.$_$.l3 =
|
|
6628
|
-
_.$_$.m3 =
|
|
6629
|
-
_.$_$.n3 =
|
|
6630
|
-
_.$_$.o3 =
|
|
6631
|
-
_.$_$.p3 =
|
|
6632
|
-
_.$_$.q3 =
|
|
6633
|
-
_.$_$.r3 =
|
|
6634
|
-
_.$_$.s3 =
|
|
6635
|
-
_.$_$.t3 =
|
|
6636
|
-
_.$_$.u3 =
|
|
6637
|
-
_.$_$.v3 =
|
|
6638
|
-
_.$_$.w3 =
|
|
6639
|
-
_.$_$.x3 =
|
|
6640
|
-
_.$_$.y3 =
|
|
6641
|
-
_.$_$.z3 =
|
|
6642
|
-
_.$_$.a4 =
|
|
6643
|
-
_.$_$.b4 =
|
|
6644
|
-
_.$_$.c4 =
|
|
6645
|
-
_.$_$.d4 =
|
|
6646
|
-
_.$_$.e4 =
|
|
6647
|
-
_.$_$.f4 =
|
|
6719
|
+
_.$_$.f = Companion_getInstance_3;
|
|
6720
|
+
_.$_$.g = Unit_instance;
|
|
6721
|
+
_.$_$.h = ArrayList_init_$Create$_0;
|
|
6722
|
+
_.$_$.i = ArrayList_init_$Create$;
|
|
6723
|
+
_.$_$.j = Regex_init_$Create$;
|
|
6724
|
+
_.$_$.k = StringBuilder_init_$Create$;
|
|
6725
|
+
_.$_$.l = StringBuilder_init_$Create$_0;
|
|
6726
|
+
_.$_$.m = Exception_init_$Init$_0;
|
|
6727
|
+
_.$_$.n = IllegalArgumentException_init_$Create$_0;
|
|
6728
|
+
_.$_$.o = IllegalArgumentException_init_$Create$_1;
|
|
6729
|
+
_.$_$.p = IllegalStateException_init_$Create$_0;
|
|
6730
|
+
_.$_$.q = IndexOutOfBoundsException_init_$Create$;
|
|
6731
|
+
_.$_$.r = IndexOutOfBoundsException_init_$Create$_0;
|
|
6732
|
+
_.$_$.s = NoSuchElementException_init_$Create$;
|
|
6733
|
+
_.$_$.t = _Char___init__impl__6a9atx;
|
|
6734
|
+
_.$_$.u = Char__minus_impl_a2frrh;
|
|
6735
|
+
_.$_$.v = Char__toInt_impl_vasixd;
|
|
6736
|
+
_.$_$.w = toString;
|
|
6737
|
+
_.$_$.x = _UByte___init__impl__g9hnc4;
|
|
6738
|
+
_.$_$.y = _UByte___get_data__impl__jof9qr;
|
|
6739
|
+
_.$_$.z = arrayCopy;
|
|
6740
|
+
_.$_$.a1 = checkIndexOverflow;
|
|
6741
|
+
_.$_$.b1 = copyOfRange_0;
|
|
6742
|
+
_.$_$.c1 = copyOfRange;
|
|
6743
|
+
_.$_$.d1 = copyOf_0;
|
|
6744
|
+
_.$_$.e1 = copyToArray;
|
|
6745
|
+
_.$_$.f1 = fill;
|
|
6746
|
+
_.$_$.g1 = indexOf;
|
|
6747
|
+
_.$_$.h1 = get_lastIndex_1;
|
|
6748
|
+
_.$_$.i1 = get_lastIndex;
|
|
6749
|
+
_.$_$.j1 = get_lastIndex_0;
|
|
6750
|
+
_.$_$.k1 = last_0;
|
|
6751
|
+
_.$_$.l1 = last;
|
|
6752
|
+
_.$_$.m1 = mutableListOf;
|
|
6753
|
+
_.$_$.n1 = removeAll;
|
|
6754
|
+
_.$_$.o1 = removeLast;
|
|
6755
|
+
_.$_$.p1 = get_ONE;
|
|
6756
|
+
_.$_$.q1 = add_0;
|
|
6757
|
+
_.$_$.r1 = convertToByte;
|
|
6758
|
+
_.$_$.s1 = convertToInt;
|
|
6759
|
+
_.$_$.t1 = convertToShort;
|
|
6760
|
+
_.$_$.u1 = divide;
|
|
6761
|
+
_.$_$.v1 = fromInt_0;
|
|
6762
|
+
_.$_$.w1 = modulo;
|
|
6763
|
+
_.$_$.x1 = multiply_0;
|
|
6764
|
+
_.$_$.y1 = numberToLong;
|
|
6765
|
+
_.$_$.z1 = shiftLeft;
|
|
6766
|
+
_.$_$.a2 = shiftRightUnsigned;
|
|
6767
|
+
_.$_$.b2 = subtract_0;
|
|
6768
|
+
_.$_$.c2 = toNumber_0;
|
|
6769
|
+
_.$_$.d2 = captureStack;
|
|
6770
|
+
_.$_$.e2 = charArrayOf;
|
|
6771
|
+
_.$_$.f2 = charCodeAt;
|
|
6772
|
+
_.$_$.g2 = charSequenceGet;
|
|
6773
|
+
_.$_$.h2 = charSequenceLength;
|
|
6774
|
+
_.$_$.i2 = compareTo;
|
|
6775
|
+
_.$_$.j2 = defineProp;
|
|
6776
|
+
_.$_$.k2 = doubleFromBits;
|
|
6777
|
+
_.$_$.l2 = equals;
|
|
6778
|
+
_.$_$.m2 = floatFromBits;
|
|
6779
|
+
_.$_$.n2 = getNumberHashCode;
|
|
6780
|
+
_.$_$.o2 = initMetadataForClass;
|
|
6781
|
+
_.$_$.p2 = initMetadataForCompanion;
|
|
6782
|
+
_.$_$.q2 = initMetadataForObject;
|
|
6783
|
+
_.$_$.r2 = isNumber;
|
|
6784
|
+
_.$_$.s2 = numberToByte;
|
|
6785
|
+
_.$_$.t2 = numberToChar;
|
|
6786
|
+
_.$_$.u2 = numberToInt;
|
|
6787
|
+
_.$_$.v2 = protoOf;
|
|
6788
|
+
_.$_$.w2 = toByte;
|
|
6789
|
+
_.$_$.x2 = toShort;
|
|
6790
|
+
_.$_$.y2 = toString_1;
|
|
6791
|
+
_.$_$.z2 = roundToInt;
|
|
6792
|
+
_.$_$.a3 = roundToLong;
|
|
6793
|
+
_.$_$.b3 = coerceAtLeast;
|
|
6794
|
+
_.$_$.c3 = coerceAtMost;
|
|
6795
|
+
_.$_$.d3 = coerceIn;
|
|
6796
|
+
_.$_$.e3 = coerceIn_0;
|
|
6797
|
+
_.$_$.f3 = Builder_0;
|
|
6798
|
+
_.$_$.g3 = contains_2;
|
|
6799
|
+
_.$_$.h3 = decodeToString;
|
|
6800
|
+
_.$_$.i3 = digitToInt;
|
|
6801
|
+
_.$_$.j3 = encodeToByteArray;
|
|
6802
|
+
_.$_$.k3 = hexToByteArray;
|
|
6803
|
+
_.$_$.l3 = hexToByte;
|
|
6804
|
+
_.$_$.m3 = indexOfAny;
|
|
6805
|
+
_.$_$.n3 = indexOf_2;
|
|
6806
|
+
_.$_$.o3 = iterator;
|
|
6807
|
+
_.$_$.p3 = padEnd;
|
|
6808
|
+
_.$_$.q3 = padStart;
|
|
6809
|
+
_.$_$.r3 = startsWith;
|
|
6810
|
+
_.$_$.s3 = substring;
|
|
6811
|
+
_.$_$.t3 = take;
|
|
6812
|
+
_.$_$.u3 = toDouble;
|
|
6813
|
+
_.$_$.v3 = toHexString;
|
|
6814
|
+
_.$_$.w3 = toHexString_0;
|
|
6815
|
+
_.$_$.x3 = toInt_0;
|
|
6816
|
+
_.$_$.y3 = toInt;
|
|
6817
|
+
_.$_$.z3 = toString_4;
|
|
6818
|
+
_.$_$.a4 = uppercaseChar;
|
|
6819
|
+
_.$_$.b4 = Enum;
|
|
6820
|
+
_.$_$.c4 = Exception;
|
|
6821
|
+
_.$_$.d4 = THROW_CCE;
|
|
6822
|
+
_.$_$.e4 = THROW_IAE;
|
|
6823
|
+
_.$_$.f4 = countLeadingZeroBits;
|
|
6824
|
+
_.$_$.g4 = isFinite;
|
|
6825
|
+
_.$_$.h4 = isFinite_0;
|
|
6826
|
+
_.$_$.i4 = noWhenBranchMatchedException;
|
|
6827
|
+
_.$_$.j4 = toBits;
|
|
6828
|
+
_.$_$.k4 = toBits_0;
|
|
6829
|
+
_.$_$.l4 = to;
|
|
6648
6830
|
//endregion
|
|
6649
6831
|
return _;
|
|
6650
6832
|
}));
|