dl-common-util 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{kotlin-kotlinx-atomicfu-runtime-js-ir.js → Kotlin-DateTime-library-kotlinx-datetime.js} +2 -2
- package/dl-common-util.d.ts +27 -0
- package/dl-common-util.js +476 -362
- package/dl-common-util.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +867 -885
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/{88b0986a7186d029-atomicfu-js-ir.js → kotlin-kotlinx-atomicfu-runtime.js} +2 -2
- package/{kotlin-js.js → kotlinx-atomicfu.js} +2 -2
- package/{kotlin-web.js → kotlinx-coroutines-core.js} +2 -2
- package/package.json +2 -1
- package/buffer-kt.js +0 -266
- package/buffer-kt.js.map +0 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +0 -15
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
- /package/{88b0986a7186d029-atomicfu-js-ir.js.map → Kotlin-DateTime-library-kotlinx-datetime.js.map} +0 -0
- /package/{kotlin-js.js.map → kotlin-kotlinx-atomicfu-runtime.js.map} +0 -0
- /package/{kotlin-kotlinx-atomicfu-runtime-js-ir.js.map → kotlinx-atomicfu.js.map} +0 -0
- /package/{kotlin-web.js.map → kotlinx-coroutines-core.js.map} +0 -0
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -60,14 +60,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
60
60
|
'use strict';
|
|
61
61
|
//region block: imports
|
|
62
62
|
var clz32 = Math.clz32;
|
|
63
|
-
var imul = Math.imul;
|
|
64
63
|
var isView = ArrayBuffer.isView;
|
|
64
|
+
var imul = Math.imul;
|
|
65
65
|
//endregion
|
|
66
66
|
//region block: pre-declaration
|
|
67
67
|
setMetadataFor(CharSequence, 'CharSequence', interfaceMeta);
|
|
68
68
|
setMetadataFor(Number_0, 'Number', classMeta);
|
|
69
69
|
setMetadataFor(Unit, 'Unit', objectMeta);
|
|
70
|
-
setMetadataFor(ByteCompanionObject, 'ByteCompanionObject', objectMeta);
|
|
71
70
|
setMetadataFor(IntCompanionObject, 'IntCompanionObject', objectMeta);
|
|
72
71
|
setMetadataFor(Collection, 'Collection', interfaceMeta);
|
|
73
72
|
setMetadataFor(AbstractCollection, 'AbstractCollection', classMeta, VOID, [Collection]);
|
|
@@ -93,7 +92,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
93
92
|
// Inline function 'kotlin.collections.all' call
|
|
94
93
|
var tmp;
|
|
95
94
|
if (isInterface(m, Collection)) {
|
|
96
|
-
tmp = m.
|
|
95
|
+
tmp = m.p();
|
|
97
96
|
} else {
|
|
98
97
|
tmp = false;
|
|
99
98
|
}
|
|
@@ -101,16 +100,16 @@ if (typeof Math.imul === 'undefined') {
|
|
|
101
100
|
tmp$ret$0 = true;
|
|
102
101
|
break $l$block_0;
|
|
103
102
|
}
|
|
104
|
-
var tmp0_iterator = m.
|
|
105
|
-
while (tmp0_iterator.
|
|
106
|
-
var element = tmp0_iterator.
|
|
103
|
+
var tmp0_iterator = m.m();
|
|
104
|
+
while (tmp0_iterator.t()) {
|
|
105
|
+
var element = tmp0_iterator.u();
|
|
107
106
|
// Inline function 'kotlin.collections.InternalMap.containsAllEntries.<anonymous>' call
|
|
108
107
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
109
108
|
// Inline function 'kotlin.js.asDynamic' call
|
|
110
109
|
var entry = element;
|
|
111
110
|
var tmp_0;
|
|
112
111
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
113
|
-
tmp_0 = this.
|
|
112
|
+
tmp_0 = this.o3(entry);
|
|
114
113
|
} else {
|
|
115
114
|
tmp_0 = false;
|
|
116
115
|
}
|
|
@@ -206,28 +205,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
206
205
|
function Unit_getInstance() {
|
|
207
206
|
return Unit_instance;
|
|
208
207
|
}
|
|
209
|
-
function ByteCompanionObject() {
|
|
210
|
-
this.MIN_VALUE = -128;
|
|
211
|
-
this.MAX_VALUE = 127;
|
|
212
|
-
this.SIZE_BYTES = 1;
|
|
213
|
-
this.SIZE_BITS = 8;
|
|
214
|
-
}
|
|
215
|
-
protoOf(ByteCompanionObject).d = function () {
|
|
216
|
-
return this.MIN_VALUE;
|
|
217
|
-
};
|
|
218
|
-
protoOf(ByteCompanionObject).e = function () {
|
|
219
|
-
return this.MAX_VALUE;
|
|
220
|
-
};
|
|
221
|
-
protoOf(ByteCompanionObject).f = function () {
|
|
222
|
-
return this.SIZE_BYTES;
|
|
223
|
-
};
|
|
224
|
-
protoOf(ByteCompanionObject).g = function () {
|
|
225
|
-
return this.SIZE_BITS;
|
|
226
|
-
};
|
|
227
|
-
var ByteCompanionObject_instance;
|
|
228
|
-
function ByteCompanionObject_getInstance() {
|
|
229
|
-
return ByteCompanionObject_instance;
|
|
230
|
-
}
|
|
231
208
|
function IntCompanionObject() {
|
|
232
209
|
this.MIN_VALUE = -2147483648;
|
|
233
210
|
this.MAX_VALUE = 2147483647;
|
|
@@ -273,6 +250,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
273
250
|
function mapCapacity(expectedSize) {
|
|
274
251
|
return expectedSize;
|
|
275
252
|
}
|
|
253
|
+
function setOf(element) {
|
|
254
|
+
return hashSetOf([element]);
|
|
255
|
+
}
|
|
276
256
|
function copyToArray(collection) {
|
|
277
257
|
var tmp;
|
|
278
258
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -287,8 +267,36 @@ if (typeof Math.imul === 'undefined') {
|
|
|
287
267
|
}
|
|
288
268
|
return tmp;
|
|
289
269
|
}
|
|
290
|
-
function
|
|
291
|
-
|
|
270
|
+
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
|
|
271
|
+
Companion_instance_5.i(startIndex, endIndex, source.length);
|
|
272
|
+
var rangeSize = endIndex - startIndex | 0;
|
|
273
|
+
Companion_instance_5.i(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
|
|
274
|
+
if (isView(destination) ? isView(source) : false) {
|
|
275
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
276
|
+
var subrange = source.subarray(startIndex, endIndex);
|
|
277
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
278
|
+
destination.set(subrange, destinationOffset);
|
|
279
|
+
} else {
|
|
280
|
+
if (!(source === destination) ? true : destinationOffset <= startIndex) {
|
|
281
|
+
var inductionVariable = 0;
|
|
282
|
+
if (inductionVariable < rangeSize)
|
|
283
|
+
do {
|
|
284
|
+
var index = inductionVariable;
|
|
285
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
286
|
+
destination[destinationOffset + index | 0] = source[startIndex + index | 0];
|
|
287
|
+
}
|
|
288
|
+
while (inductionVariable < rangeSize);
|
|
289
|
+
} else {
|
|
290
|
+
var inductionVariable_0 = rangeSize - 1 | 0;
|
|
291
|
+
if (0 <= inductionVariable_0)
|
|
292
|
+
do {
|
|
293
|
+
var index_0 = inductionVariable_0;
|
|
294
|
+
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
295
|
+
destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0];
|
|
296
|
+
}
|
|
297
|
+
while (0 <= inductionVariable_0);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
292
300
|
}
|
|
293
301
|
function AbstractMutableCollection() {
|
|
294
302
|
AbstractCollection.call(this);
|
|
@@ -296,70 +304,70 @@ if (typeof Math.imul === 'undefined') {
|
|
|
296
304
|
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
297
305
|
return this.toArray();
|
|
298
306
|
};
|
|
299
|
-
protoOf(AbstractMutableCollection).
|
|
307
|
+
protoOf(AbstractMutableCollection).k = function () {
|
|
300
308
|
};
|
|
301
309
|
function IteratorImpl($outer) {
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
310
|
+
this.s_1 = $outer;
|
|
311
|
+
this.q_1 = 0;
|
|
312
|
+
this.r_1 = -1;
|
|
305
313
|
}
|
|
306
|
-
protoOf(IteratorImpl).
|
|
307
|
-
return this.
|
|
314
|
+
protoOf(IteratorImpl).t = function () {
|
|
315
|
+
return this.q_1 < this.s_1.l();
|
|
308
316
|
};
|
|
309
|
-
protoOf(IteratorImpl).
|
|
310
|
-
if (!this.
|
|
317
|
+
protoOf(IteratorImpl).u = function () {
|
|
318
|
+
if (!this.t())
|
|
311
319
|
throw NoSuchElementException_init_$Create$();
|
|
312
320
|
var tmp = this;
|
|
313
|
-
var tmp1 = this.
|
|
314
|
-
this.
|
|
315
|
-
tmp.
|
|
316
|
-
return this.
|
|
321
|
+
var tmp1 = this.q_1;
|
|
322
|
+
this.q_1 = tmp1 + 1 | 0;
|
|
323
|
+
tmp.r_1 = tmp1;
|
|
324
|
+
return this.s_1.v(this.r_1);
|
|
317
325
|
};
|
|
318
|
-
protoOf(IteratorImpl).
|
|
326
|
+
protoOf(IteratorImpl).w = function () {
|
|
319
327
|
// Inline function 'kotlin.check' call
|
|
320
328
|
// Inline function 'kotlin.contracts.contract' call
|
|
321
|
-
if (!!(this.
|
|
329
|
+
if (!!(this.r_1 === -1)) {
|
|
322
330
|
// Inline function 'kotlin.collections.IteratorImpl.remove.<anonymous>' call
|
|
323
331
|
var message = 'Call next() or previous() before removing element from the iterator.';
|
|
324
332
|
throw IllegalStateException_init_$Create$_0(toString_2(message));
|
|
325
333
|
}
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
334
|
+
this.s_1.y(this.r_1);
|
|
335
|
+
this.q_1 = this.r_1;
|
|
336
|
+
this.r_1 = -1;
|
|
329
337
|
};
|
|
330
338
|
function ListIteratorImpl($outer, index) {
|
|
331
|
-
this.
|
|
339
|
+
this.c1_1 = $outer;
|
|
332
340
|
IteratorImpl.call(this, $outer);
|
|
333
|
-
Companion_instance_5.
|
|
334
|
-
this.
|
|
341
|
+
Companion_instance_5.d1(index, this.c1_1.l());
|
|
342
|
+
this.q_1 = index;
|
|
335
343
|
}
|
|
336
344
|
function AbstractMutableList() {
|
|
337
345
|
AbstractMutableCollection.call(this);
|
|
338
|
-
this.
|
|
346
|
+
this.x_1 = 0;
|
|
339
347
|
}
|
|
340
|
-
protoOf(AbstractMutableList).
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
348
|
+
protoOf(AbstractMutableList).j = function (element) {
|
|
349
|
+
this.k();
|
|
350
|
+
this.e1(this.l(), element);
|
|
343
351
|
return true;
|
|
344
352
|
};
|
|
345
|
-
protoOf(AbstractMutableList).
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
353
|
+
protoOf(AbstractMutableList).f1 = function () {
|
|
354
|
+
this.k();
|
|
355
|
+
this.g1(0, this.l());
|
|
348
356
|
};
|
|
349
|
-
protoOf(AbstractMutableList).
|
|
357
|
+
protoOf(AbstractMutableList).m = function () {
|
|
350
358
|
return new IteratorImpl(this);
|
|
351
359
|
};
|
|
352
|
-
protoOf(AbstractMutableList).
|
|
353
|
-
return this.
|
|
360
|
+
protoOf(AbstractMutableList).n = function (element) {
|
|
361
|
+
return this.h1(element) >= 0;
|
|
354
362
|
};
|
|
355
|
-
protoOf(AbstractMutableList).
|
|
363
|
+
protoOf(AbstractMutableList).h1 = function (element) {
|
|
356
364
|
var tmp$ret$1;
|
|
357
365
|
$l$block: {
|
|
358
366
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
359
367
|
var index = 0;
|
|
360
|
-
var tmp0_iterator = this.
|
|
361
|
-
while (tmp0_iterator.
|
|
362
|
-
var item = tmp0_iterator.
|
|
368
|
+
var tmp0_iterator = this.m();
|
|
369
|
+
while (tmp0_iterator.t()) {
|
|
370
|
+
var item = tmp0_iterator.u();
|
|
363
371
|
// Inline function 'kotlin.collections.AbstractMutableList.indexOf.<anonymous>' call
|
|
364
372
|
if (equals(item, element)) {
|
|
365
373
|
tmp$ret$1 = index;
|
|
@@ -371,11 +379,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
371
379
|
}
|
|
372
380
|
return tmp$ret$1;
|
|
373
381
|
};
|
|
374
|
-
protoOf(AbstractMutableList).
|
|
382
|
+
protoOf(AbstractMutableList).i1 = function (index) {
|
|
375
383
|
return new ListIteratorImpl(this, index);
|
|
376
384
|
};
|
|
377
|
-
protoOf(AbstractMutableList).
|
|
378
|
-
var iterator = this.
|
|
385
|
+
protoOf(AbstractMutableList).g1 = function (fromIndex, toIndex) {
|
|
386
|
+
var iterator = this.i1(fromIndex);
|
|
379
387
|
// Inline function 'kotlin.repeat' call
|
|
380
388
|
var times = toIndex - fromIndex | 0;
|
|
381
389
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -385,8 +393,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
385
393
|
var index = inductionVariable;
|
|
386
394
|
inductionVariable = inductionVariable + 1 | 0;
|
|
387
395
|
// Inline function 'kotlin.collections.AbstractMutableList.removeRange.<anonymous>' call
|
|
388
|
-
iterator.s();
|
|
389
396
|
iterator.u();
|
|
397
|
+
iterator.w();
|
|
390
398
|
}
|
|
391
399
|
while (inductionVariable < times);
|
|
392
400
|
};
|
|
@@ -395,10 +403,10 @@ if (typeof Math.imul === 'undefined') {
|
|
|
395
403
|
return true;
|
|
396
404
|
if (!(!(other == null) ? isInterface(other, List) : false))
|
|
397
405
|
return false;
|
|
398
|
-
return Companion_instance_5.
|
|
406
|
+
return Companion_instance_5.j1(this, other);
|
|
399
407
|
};
|
|
400
408
|
protoOf(AbstractMutableList).hashCode = function () {
|
|
401
|
-
return Companion_instance_5.
|
|
409
|
+
return Companion_instance_5.k1(this);
|
|
402
410
|
};
|
|
403
411
|
function AbstractMutableSet() {
|
|
404
412
|
AbstractMutableCollection.call(this);
|
|
@@ -408,10 +416,10 @@ if (typeof Math.imul === 'undefined') {
|
|
|
408
416
|
return true;
|
|
409
417
|
if (!(!(other == null) ? isInterface(other, Set) : false))
|
|
410
418
|
return false;
|
|
411
|
-
return Companion_instance_6.
|
|
419
|
+
return Companion_instance_6.l1(this, other);
|
|
412
420
|
};
|
|
413
421
|
protoOf(AbstractMutableSet).hashCode = function () {
|
|
414
|
-
return Companion_instance_6.
|
|
422
|
+
return Companion_instance_6.m1(this);
|
|
415
423
|
};
|
|
416
424
|
function arrayOfUninitializedElements(capacity) {
|
|
417
425
|
// Inline function 'kotlin.require' call
|
|
@@ -443,8 +451,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
443
451
|
var this_0 = ArrayList_init_$Create$_0(0);
|
|
444
452
|
// Inline function 'kotlin.contracts.contract' call
|
|
445
453
|
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
446
|
-
this_0.
|
|
447
|
-
tmp.
|
|
454
|
+
this_0.p1_1 = true;
|
|
455
|
+
tmp.q1_1 = this_0;
|
|
448
456
|
}
|
|
449
457
|
var Companion_instance;
|
|
450
458
|
function Companion_getInstance() {
|
|
@@ -490,89 +498,89 @@ if (typeof Math.imul === 'undefined') {
|
|
|
490
498
|
// Inline function 'kotlin.apply' call
|
|
491
499
|
// Inline function 'kotlin.contracts.contract' call
|
|
492
500
|
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
493
|
-
Companion_instance_5.
|
|
501
|
+
Companion_instance_5.r1(index, $this.l());
|
|
494
502
|
return index;
|
|
495
503
|
}
|
|
496
504
|
function insertionRangeCheck($this, index) {
|
|
497
505
|
// Inline function 'kotlin.apply' call
|
|
498
506
|
// Inline function 'kotlin.contracts.contract' call
|
|
499
507
|
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
500
|
-
Companion_instance_5.
|
|
508
|
+
Companion_instance_5.d1(index, $this.l());
|
|
501
509
|
return index;
|
|
502
510
|
}
|
|
503
511
|
function ArrayList(array) {
|
|
504
512
|
Companion_getInstance();
|
|
505
513
|
AbstractMutableList.call(this);
|
|
506
|
-
this.
|
|
507
|
-
this.
|
|
514
|
+
this.o1_1 = array;
|
|
515
|
+
this.p1_1 = false;
|
|
508
516
|
}
|
|
509
|
-
protoOf(ArrayList).
|
|
510
|
-
return this.
|
|
517
|
+
protoOf(ArrayList).l = function () {
|
|
518
|
+
return this.o1_1.length;
|
|
511
519
|
};
|
|
512
|
-
protoOf(ArrayList).
|
|
513
|
-
var tmp = this.
|
|
520
|
+
protoOf(ArrayList).v = function (index) {
|
|
521
|
+
var tmp = this.o1_1[rangeCheck(this, index)];
|
|
514
522
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
515
523
|
};
|
|
516
|
-
protoOf(ArrayList).
|
|
517
|
-
this.
|
|
524
|
+
protoOf(ArrayList).j = function (element) {
|
|
525
|
+
this.k();
|
|
518
526
|
// Inline function 'kotlin.js.asDynamic' call
|
|
519
|
-
this.
|
|
520
|
-
this.
|
|
527
|
+
this.o1_1.push(element);
|
|
528
|
+
this.x_1 = this.x_1 + 1 | 0;
|
|
521
529
|
return true;
|
|
522
530
|
};
|
|
523
|
-
protoOf(ArrayList).
|
|
524
|
-
this.
|
|
531
|
+
protoOf(ArrayList).e1 = function (index, element) {
|
|
532
|
+
this.k();
|
|
525
533
|
// Inline function 'kotlin.js.asDynamic' call
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
534
|
+
this.o1_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
535
|
+
this.x_1 = this.x_1 + 1 | 0;
|
|
528
536
|
};
|
|
529
|
-
protoOf(ArrayList).
|
|
530
|
-
this.
|
|
537
|
+
protoOf(ArrayList).y = function (index) {
|
|
538
|
+
this.k();
|
|
531
539
|
rangeCheck(this, index);
|
|
532
|
-
this.
|
|
540
|
+
this.x_1 = this.x_1 + 1 | 0;
|
|
533
541
|
var tmp;
|
|
534
542
|
if (index === get_lastIndex(this)) {
|
|
535
543
|
// Inline function 'kotlin.js.asDynamic' call
|
|
536
|
-
tmp = this.
|
|
544
|
+
tmp = this.o1_1.pop();
|
|
537
545
|
} else {
|
|
538
546
|
// Inline function 'kotlin.js.asDynamic' call
|
|
539
|
-
tmp = this.
|
|
547
|
+
tmp = this.o1_1.splice(index, 1)[0];
|
|
540
548
|
}
|
|
541
549
|
return tmp;
|
|
542
550
|
};
|
|
543
|
-
protoOf(ArrayList).
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
551
|
+
protoOf(ArrayList).g1 = function (fromIndex, toIndex) {
|
|
552
|
+
this.k();
|
|
553
|
+
this.x_1 = this.x_1 + 1 | 0;
|
|
546
554
|
// Inline function 'kotlin.js.asDynamic' call
|
|
547
|
-
this.
|
|
555
|
+
this.o1_1.splice(fromIndex, toIndex - fromIndex | 0);
|
|
548
556
|
};
|
|
549
|
-
protoOf(ArrayList).
|
|
550
|
-
this.
|
|
557
|
+
protoOf(ArrayList).f1 = function () {
|
|
558
|
+
this.k();
|
|
551
559
|
var tmp = this;
|
|
552
560
|
// Inline function 'kotlin.emptyArray' call
|
|
553
|
-
tmp.
|
|
554
|
-
this.
|
|
561
|
+
tmp.o1_1 = [];
|
|
562
|
+
this.x_1 = this.x_1 + 1 | 0;
|
|
555
563
|
};
|
|
556
|
-
protoOf(ArrayList).
|
|
557
|
-
return indexOf_0(this.
|
|
564
|
+
protoOf(ArrayList).h1 = function (element) {
|
|
565
|
+
return indexOf_0(this.o1_1, element);
|
|
558
566
|
};
|
|
559
567
|
protoOf(ArrayList).toString = function () {
|
|
560
|
-
return arrayToString(this.
|
|
568
|
+
return arrayToString(this.o1_1);
|
|
561
569
|
};
|
|
562
|
-
protoOf(ArrayList).
|
|
563
|
-
return [].slice.call(this.
|
|
570
|
+
protoOf(ArrayList).s1 = function () {
|
|
571
|
+
return [].slice.call(this.o1_1);
|
|
564
572
|
};
|
|
565
573
|
protoOf(ArrayList).toArray = function () {
|
|
566
|
-
return this.
|
|
574
|
+
return this.s1();
|
|
567
575
|
};
|
|
568
|
-
protoOf(ArrayList).
|
|
569
|
-
if (this.
|
|
576
|
+
protoOf(ArrayList).k = function () {
|
|
577
|
+
if (this.p1_1)
|
|
570
578
|
throw UnsupportedOperationException_init_$Create$();
|
|
571
579
|
};
|
|
572
580
|
function HashSet_init_$Init$(map, $this) {
|
|
573
581
|
AbstractMutableSet.call($this);
|
|
574
582
|
HashSet.call($this);
|
|
575
|
-
$this.
|
|
583
|
+
$this.t1_1 = map;
|
|
576
584
|
return $this;
|
|
577
585
|
}
|
|
578
586
|
function HashSet_init_$Init$_0($this) {
|
|
@@ -593,20 +601,20 @@ if (typeof Math.imul === 'undefined') {
|
|
|
593
601
|
function HashSet_init_$Create$_0(initialCapacity) {
|
|
594
602
|
return HashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
595
603
|
}
|
|
596
|
-
protoOf(HashSet).
|
|
597
|
-
return this.
|
|
604
|
+
protoOf(HashSet).j = function (element) {
|
|
605
|
+
return this.t1_1.u1(element, true) == null;
|
|
598
606
|
};
|
|
599
|
-
protoOf(HashSet).
|
|
600
|
-
return this.
|
|
607
|
+
protoOf(HashSet).n = function (element) {
|
|
608
|
+
return this.t1_1.v1(element);
|
|
601
609
|
};
|
|
602
|
-
protoOf(HashSet).
|
|
603
|
-
return this.
|
|
610
|
+
protoOf(HashSet).p = function () {
|
|
611
|
+
return this.t1_1.l() === 0;
|
|
604
612
|
};
|
|
605
|
-
protoOf(HashSet).
|
|
606
|
-
return this.
|
|
613
|
+
protoOf(HashSet).m = function () {
|
|
614
|
+
return this.t1_1.w1();
|
|
607
615
|
};
|
|
608
|
-
protoOf(HashSet).
|
|
609
|
-
return this.
|
|
616
|
+
protoOf(HashSet).l = function () {
|
|
617
|
+
return this.t1_1.l();
|
|
610
618
|
};
|
|
611
619
|
function HashSet() {
|
|
612
620
|
}
|
|
@@ -643,36 +651,36 @@ if (typeof Math.imul === 'undefined') {
|
|
|
643
651
|
return InternalHashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
|
|
644
652
|
}
|
|
645
653
|
function _get_capacity__a9k9f3($this) {
|
|
646
|
-
return $this.
|
|
654
|
+
return $this.x1_1.length;
|
|
647
655
|
}
|
|
648
656
|
function _get_hashSize__tftcho($this) {
|
|
649
|
-
return $this.
|
|
657
|
+
return $this.a2_1.length;
|
|
650
658
|
}
|
|
651
659
|
function registerModification($this) {
|
|
652
|
-
$this.
|
|
660
|
+
$this.e2_1 = $this.e2_1 + 1 | 0;
|
|
653
661
|
}
|
|
654
662
|
function ensureExtraCapacity($this, n) {
|
|
655
663
|
if (shouldCompact($this, n)) {
|
|
656
664
|
rehash($this, _get_hashSize__tftcho($this));
|
|
657
665
|
} else {
|
|
658
|
-
ensureCapacity($this, $this.
|
|
666
|
+
ensureCapacity($this, $this.c2_1 + n | 0);
|
|
659
667
|
}
|
|
660
668
|
}
|
|
661
669
|
function shouldCompact($this, extraCapacity) {
|
|
662
|
-
var spareCapacity = _get_capacity__a9k9f3($this) - $this.
|
|
663
|
-
var gaps = $this.
|
|
670
|
+
var spareCapacity = _get_capacity__a9k9f3($this) - $this.c2_1 | 0;
|
|
671
|
+
var gaps = $this.c2_1 - $this.l() | 0;
|
|
664
672
|
return (spareCapacity < extraCapacity ? (gaps + spareCapacity | 0) >= extraCapacity : false) ? gaps >= (_get_capacity__a9k9f3($this) / 4 | 0) : false;
|
|
665
673
|
}
|
|
666
674
|
function ensureCapacity($this, minCapacity) {
|
|
667
675
|
if (minCapacity < 0)
|
|
668
676
|
throw RuntimeException_init_$Create$_0('too many elements');
|
|
669
677
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
670
|
-
var newSize = Companion_instance_5.
|
|
671
|
-
$this.
|
|
678
|
+
var newSize = Companion_instance_5.h2(_get_capacity__a9k9f3($this), minCapacity);
|
|
679
|
+
$this.x1_1 = copyOfUninitializedElements($this.x1_1, newSize);
|
|
672
680
|
var tmp = $this;
|
|
673
|
-
var tmp0_safe_receiver = $this.
|
|
674
|
-
tmp.
|
|
675
|
-
$this.
|
|
681
|
+
var tmp0_safe_receiver = $this.y1_1;
|
|
682
|
+
tmp.y1_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
|
|
683
|
+
$this.z1_1 = copyOf($this.z1_1, newSize);
|
|
676
684
|
var newHashSize = computeHashSize(Companion_instance_0, newSize);
|
|
677
685
|
if (newHashSize > _get_hashSize__tftcho($this)) {
|
|
678
686
|
rehash($this, newHashSize);
|
|
@@ -680,23 +688,23 @@ if (typeof Math.imul === 'undefined') {
|
|
|
680
688
|
}
|
|
681
689
|
}
|
|
682
690
|
function allocateValuesArray($this) {
|
|
683
|
-
var curValuesArray = $this.
|
|
691
|
+
var curValuesArray = $this.y1_1;
|
|
684
692
|
if (!(curValuesArray == null))
|
|
685
693
|
return curValuesArray;
|
|
686
694
|
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
|
|
687
|
-
$this.
|
|
695
|
+
$this.y1_1 = newValuesArray;
|
|
688
696
|
return newValuesArray;
|
|
689
697
|
}
|
|
690
698
|
function hash($this, key) {
|
|
691
|
-
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.
|
|
699
|
+
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.d2_1 | 0;
|
|
692
700
|
}
|
|
693
701
|
function compact($this) {
|
|
694
702
|
var i = 0;
|
|
695
703
|
var j = 0;
|
|
696
|
-
var valuesArray = $this.
|
|
697
|
-
while (i < $this.
|
|
698
|
-
if ($this.
|
|
699
|
-
$this.
|
|
704
|
+
var valuesArray = $this.y1_1;
|
|
705
|
+
while (i < $this.c2_1) {
|
|
706
|
+
if ($this.z1_1[i] >= 0) {
|
|
707
|
+
$this.x1_1[j] = $this.x1_1[i];
|
|
700
708
|
if (!(valuesArray == null)) {
|
|
701
709
|
valuesArray[j] = valuesArray[i];
|
|
702
710
|
}
|
|
@@ -704,27 +712,27 @@ if (typeof Math.imul === 'undefined') {
|
|
|
704
712
|
}
|
|
705
713
|
i = i + 1 | 0;
|
|
706
714
|
}
|
|
707
|
-
resetRange($this.
|
|
715
|
+
resetRange($this.x1_1, j, $this.c2_1);
|
|
708
716
|
if (valuesArray == null)
|
|
709
717
|
null;
|
|
710
718
|
else {
|
|
711
|
-
resetRange(valuesArray, j, $this.
|
|
719
|
+
resetRange(valuesArray, j, $this.c2_1);
|
|
712
720
|
}
|
|
713
|
-
$this.
|
|
721
|
+
$this.c2_1 = j;
|
|
714
722
|
}
|
|
715
723
|
function rehash($this, newHashSize) {
|
|
716
724
|
registerModification($this);
|
|
717
|
-
if ($this.
|
|
725
|
+
if ($this.c2_1 > $this.f2_1) {
|
|
718
726
|
compact($this);
|
|
719
727
|
}
|
|
720
728
|
if (!(newHashSize === _get_hashSize__tftcho($this))) {
|
|
721
|
-
$this.
|
|
722
|
-
$this.
|
|
729
|
+
$this.a2_1 = new Int32Array(newHashSize);
|
|
730
|
+
$this.d2_1 = computeShift(Companion_instance_0, newHashSize);
|
|
723
731
|
} else {
|
|
724
|
-
fill($this.
|
|
732
|
+
fill($this.a2_1, 0, 0, _get_hashSize__tftcho($this));
|
|
725
733
|
}
|
|
726
734
|
var i = 0;
|
|
727
|
-
while (i < $this.
|
|
735
|
+
while (i < $this.c2_1) {
|
|
728
736
|
var tmp0 = i;
|
|
729
737
|
i = tmp0 + 1 | 0;
|
|
730
738
|
if (!putRehash($this, tmp0)) {
|
|
@@ -733,13 +741,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
733
741
|
}
|
|
734
742
|
}
|
|
735
743
|
function putRehash($this, i) {
|
|
736
|
-
var hash_0 = hash($this, $this.
|
|
737
|
-
var probesLeft = $this.
|
|
744
|
+
var hash_0 = hash($this, $this.x1_1[i]);
|
|
745
|
+
var probesLeft = $this.b2_1;
|
|
738
746
|
while (true) {
|
|
739
|
-
var index = $this.
|
|
747
|
+
var index = $this.a2_1[hash_0];
|
|
740
748
|
if (index === 0) {
|
|
741
|
-
$this.
|
|
742
|
-
$this.
|
|
749
|
+
$this.a2_1[hash_0] = i + 1 | 0;
|
|
750
|
+
$this.z1_1[i] = hash_0;
|
|
743
751
|
return true;
|
|
744
752
|
}
|
|
745
753
|
probesLeft = probesLeft - 1 | 0;
|
|
@@ -753,12 +761,12 @@ if (typeof Math.imul === 'undefined') {
|
|
|
753
761
|
}
|
|
754
762
|
function findKey($this, key) {
|
|
755
763
|
var hash_0 = hash($this, key);
|
|
756
|
-
var probesLeft = $this.
|
|
764
|
+
var probesLeft = $this.b2_1;
|
|
757
765
|
while (true) {
|
|
758
|
-
var index = $this.
|
|
766
|
+
var index = $this.a2_1[hash_0];
|
|
759
767
|
if (index === 0)
|
|
760
768
|
return -1;
|
|
761
|
-
if (index > 0 ? equals($this.
|
|
769
|
+
if (index > 0 ? equals($this.x1_1[index - 1 | 0], key) : false)
|
|
762
770
|
return index - 1 | 0;
|
|
763
771
|
probesLeft = probesLeft - 1 | 0;
|
|
764
772
|
if (probesLeft < 0)
|
|
@@ -770,31 +778,31 @@ if (typeof Math.imul === 'undefined') {
|
|
|
770
778
|
}
|
|
771
779
|
}
|
|
772
780
|
function addKey($this, key) {
|
|
773
|
-
$this.
|
|
781
|
+
$this.k();
|
|
774
782
|
retry: while (true) {
|
|
775
783
|
var hash_0 = hash($this, key);
|
|
776
|
-
var tentativeMaxProbeDistance = coerceAtMost(imul($this.
|
|
784
|
+
var tentativeMaxProbeDistance = coerceAtMost(imul($this.b2_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
|
|
777
785
|
var probeDistance = 0;
|
|
778
786
|
while (true) {
|
|
779
|
-
var index = $this.
|
|
787
|
+
var index = $this.a2_1[hash_0];
|
|
780
788
|
if (index <= 0) {
|
|
781
|
-
if ($this.
|
|
789
|
+
if ($this.c2_1 >= _get_capacity__a9k9f3($this)) {
|
|
782
790
|
ensureExtraCapacity($this, 1);
|
|
783
791
|
continue retry;
|
|
784
792
|
}
|
|
785
|
-
var tmp1 = $this.
|
|
786
|
-
$this.
|
|
793
|
+
var tmp1 = $this.c2_1;
|
|
794
|
+
$this.c2_1 = tmp1 + 1 | 0;
|
|
787
795
|
var putIndex = tmp1;
|
|
788
|
-
$this.
|
|
789
|
-
$this.
|
|
790
|
-
$this.
|
|
791
|
-
$this.
|
|
796
|
+
$this.x1_1[putIndex] = key;
|
|
797
|
+
$this.z1_1[putIndex] = hash_0;
|
|
798
|
+
$this.a2_1[hash_0] = putIndex + 1 | 0;
|
|
799
|
+
$this.f2_1 = $this.f2_1 + 1 | 0;
|
|
792
800
|
registerModification($this);
|
|
793
|
-
if (probeDistance > $this.
|
|
794
|
-
$this.
|
|
801
|
+
if (probeDistance > $this.b2_1)
|
|
802
|
+
$this.b2_1 = probeDistance;
|
|
795
803
|
return putIndex;
|
|
796
804
|
}
|
|
797
|
-
if (equals($this.
|
|
805
|
+
if (equals($this.x1_1[index - 1 | 0], key)) {
|
|
798
806
|
return -index | 0;
|
|
799
807
|
}
|
|
800
808
|
probeDistance = probeDistance + 1 | 0;
|
|
@@ -810,127 +818,127 @@ if (typeof Math.imul === 'undefined') {
|
|
|
810
818
|
}
|
|
811
819
|
}
|
|
812
820
|
function contentEquals($this, other) {
|
|
813
|
-
return $this.
|
|
821
|
+
return $this.f2_1 === other.l() ? $this.j2(other.i2()) : false;
|
|
814
822
|
}
|
|
815
823
|
function Companion_0() {
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
824
|
+
this.k2_1 = -1640531527;
|
|
825
|
+
this.l2_1 = 8;
|
|
826
|
+
this.m2_1 = 2;
|
|
827
|
+
this.n2_1 = -1;
|
|
820
828
|
}
|
|
821
829
|
var Companion_instance_0;
|
|
822
830
|
function Companion_getInstance_0() {
|
|
823
831
|
return Companion_instance_0;
|
|
824
832
|
}
|
|
825
833
|
function Itr(map) {
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
829
|
-
this.
|
|
830
|
-
this.
|
|
834
|
+
this.o2_1 = map;
|
|
835
|
+
this.p2_1 = 0;
|
|
836
|
+
this.q2_1 = -1;
|
|
837
|
+
this.r2_1 = this.o2_1.e2_1;
|
|
838
|
+
this.s2();
|
|
831
839
|
}
|
|
832
|
-
protoOf(Itr).
|
|
833
|
-
while (this.
|
|
834
|
-
this.
|
|
840
|
+
protoOf(Itr).s2 = function () {
|
|
841
|
+
while (this.p2_1 < this.o2_1.c2_1 ? this.o2_1.z1_1[this.p2_1] < 0 : false) {
|
|
842
|
+
this.p2_1 = this.p2_1 + 1 | 0;
|
|
835
843
|
}
|
|
836
844
|
};
|
|
837
|
-
protoOf(Itr).
|
|
838
|
-
return this.
|
|
845
|
+
protoOf(Itr).t = function () {
|
|
846
|
+
return this.p2_1 < this.o2_1.c2_1;
|
|
839
847
|
};
|
|
840
|
-
protoOf(Itr).
|
|
841
|
-
if (!(this.
|
|
848
|
+
protoOf(Itr).t2 = function () {
|
|
849
|
+
if (!(this.o2_1.e2_1 === this.r2_1))
|
|
842
850
|
throw ConcurrentModificationException_init_$Create$();
|
|
843
851
|
};
|
|
844
852
|
function KeysItr(map) {
|
|
845
853
|
Itr.call(this, map);
|
|
846
854
|
}
|
|
847
|
-
protoOf(KeysItr).
|
|
848
|
-
this.
|
|
849
|
-
if (this.
|
|
855
|
+
protoOf(KeysItr).u = function () {
|
|
856
|
+
this.t2();
|
|
857
|
+
if (this.p2_1 >= this.o2_1.c2_1)
|
|
850
858
|
throw NoSuchElementException_init_$Create$();
|
|
851
859
|
var tmp = this;
|
|
852
|
-
var tmp1 = this.
|
|
853
|
-
this.
|
|
854
|
-
tmp.
|
|
855
|
-
var result = this.
|
|
856
|
-
this.
|
|
860
|
+
var tmp1 = this.p2_1;
|
|
861
|
+
this.p2_1 = tmp1 + 1 | 0;
|
|
862
|
+
tmp.q2_1 = tmp1;
|
|
863
|
+
var result = this.o2_1.x1_1[this.q2_1];
|
|
864
|
+
this.s2();
|
|
857
865
|
return result;
|
|
858
866
|
};
|
|
859
867
|
function EntriesItr(map) {
|
|
860
868
|
Itr.call(this, map);
|
|
861
869
|
}
|
|
862
|
-
protoOf(EntriesItr).
|
|
863
|
-
this.
|
|
864
|
-
if (this.
|
|
870
|
+
protoOf(EntriesItr).u = function () {
|
|
871
|
+
this.t2();
|
|
872
|
+
if (this.p2_1 >= this.o2_1.c2_1)
|
|
865
873
|
throw NoSuchElementException_init_$Create$();
|
|
866
874
|
var tmp = this;
|
|
867
|
-
var tmp1 = this.
|
|
868
|
-
this.
|
|
869
|
-
tmp.
|
|
870
|
-
var result = new EntryRef(this.
|
|
871
|
-
this.
|
|
875
|
+
var tmp1 = this.p2_1;
|
|
876
|
+
this.p2_1 = tmp1 + 1 | 0;
|
|
877
|
+
tmp.q2_1 = tmp1;
|
|
878
|
+
var result = new EntryRef(this.o2_1, this.q2_1);
|
|
879
|
+
this.s2();
|
|
872
880
|
return result;
|
|
873
881
|
};
|
|
874
|
-
protoOf(EntriesItr).
|
|
875
|
-
if (this.
|
|
882
|
+
protoOf(EntriesItr).c3 = function () {
|
|
883
|
+
if (this.p2_1 >= this.o2_1.c2_1)
|
|
876
884
|
throw NoSuchElementException_init_$Create$();
|
|
877
885
|
var tmp = this;
|
|
878
|
-
var tmp1 = this.
|
|
879
|
-
this.
|
|
880
|
-
tmp.
|
|
886
|
+
var tmp1 = this.p2_1;
|
|
887
|
+
this.p2_1 = tmp1 + 1 | 0;
|
|
888
|
+
tmp.q2_1 = tmp1;
|
|
881
889
|
// Inline function 'kotlin.hashCode' call
|
|
882
|
-
var tmp0_safe_receiver = this.
|
|
890
|
+
var tmp0_safe_receiver = this.o2_1.x1_1[this.q2_1];
|
|
883
891
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
884
892
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
885
893
|
// Inline function 'kotlin.hashCode' call
|
|
886
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
894
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.o2_1.y1_1)[this.q2_1];
|
|
887
895
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
888
896
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
889
|
-
this.
|
|
897
|
+
this.s2();
|
|
890
898
|
return result;
|
|
891
899
|
};
|
|
892
|
-
protoOf(EntriesItr).
|
|
893
|
-
if (this.
|
|
900
|
+
protoOf(EntriesItr).d3 = function (sb) {
|
|
901
|
+
if (this.p2_1 >= this.o2_1.c2_1)
|
|
894
902
|
throw NoSuchElementException_init_$Create$();
|
|
895
903
|
var tmp = this;
|
|
896
|
-
var tmp1 = this.
|
|
897
|
-
this.
|
|
898
|
-
tmp.
|
|
899
|
-
var key = this.
|
|
900
|
-
if (equals(key, this.
|
|
901
|
-
sb.
|
|
904
|
+
var tmp1 = this.p2_1;
|
|
905
|
+
this.p2_1 = tmp1 + 1 | 0;
|
|
906
|
+
tmp.q2_1 = tmp1;
|
|
907
|
+
var key = this.o2_1.x1_1[this.q2_1];
|
|
908
|
+
if (equals(key, this.o2_1)) {
|
|
909
|
+
sb.g3('(this Map)');
|
|
902
910
|
} else {
|
|
903
|
-
sb.
|
|
911
|
+
sb.f3(key);
|
|
904
912
|
}
|
|
905
|
-
sb.
|
|
906
|
-
var value = ensureNotNull(this.
|
|
907
|
-
if (equals(value, this.
|
|
908
|
-
sb.
|
|
913
|
+
sb.h3(_Char___init__impl__6a9atx(61));
|
|
914
|
+
var value = ensureNotNull(this.o2_1.y1_1)[this.q2_1];
|
|
915
|
+
if (equals(value, this.o2_1)) {
|
|
916
|
+
sb.g3('(this Map)');
|
|
909
917
|
} else {
|
|
910
|
-
sb.
|
|
918
|
+
sb.f3(value);
|
|
911
919
|
}
|
|
912
|
-
this.
|
|
920
|
+
this.s2();
|
|
913
921
|
};
|
|
914
922
|
function EntryRef(map, index) {
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
923
|
+
this.i3_1 = map;
|
|
924
|
+
this.j3_1 = index;
|
|
917
925
|
}
|
|
918
|
-
protoOf(EntryRef).j3 = function () {
|
|
919
|
-
return this.h3_1.w1_1[this.i3_1];
|
|
920
|
-
};
|
|
921
926
|
protoOf(EntryRef).k3 = function () {
|
|
922
|
-
return
|
|
927
|
+
return this.i3_1.x1_1[this.j3_1];
|
|
928
|
+
};
|
|
929
|
+
protoOf(EntryRef).l3 = function () {
|
|
930
|
+
return ensureNotNull(this.i3_1.y1_1)[this.j3_1];
|
|
923
931
|
};
|
|
924
932
|
protoOf(EntryRef).equals = function (other) {
|
|
925
933
|
var tmp;
|
|
926
934
|
var tmp_0;
|
|
927
935
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
928
|
-
tmp_0 = equals(other.
|
|
936
|
+
tmp_0 = equals(other.k3(), this.k3());
|
|
929
937
|
} else {
|
|
930
938
|
tmp_0 = false;
|
|
931
939
|
}
|
|
932
940
|
if (tmp_0) {
|
|
933
|
-
tmp = equals(other.
|
|
941
|
+
tmp = equals(other.l3(), this.l3());
|
|
934
942
|
} else {
|
|
935
943
|
tmp = false;
|
|
936
944
|
}
|
|
@@ -938,36 +946,36 @@ if (typeof Math.imul === 'undefined') {
|
|
|
938
946
|
};
|
|
939
947
|
protoOf(EntryRef).hashCode = function () {
|
|
940
948
|
// Inline function 'kotlin.hashCode' call
|
|
941
|
-
var tmp0_safe_receiver = this.
|
|
949
|
+
var tmp0_safe_receiver = this.k3();
|
|
942
950
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
943
951
|
var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
944
952
|
// Inline function 'kotlin.hashCode' call
|
|
945
|
-
var tmp0_safe_receiver_0 = this.
|
|
953
|
+
var tmp0_safe_receiver_0 = this.l3();
|
|
946
954
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
947
955
|
return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
948
956
|
};
|
|
949
957
|
protoOf(EntryRef).toString = function () {
|
|
950
|
-
return '' + this.
|
|
958
|
+
return '' + this.k3() + '=' + this.l3();
|
|
951
959
|
};
|
|
952
960
|
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
953
|
-
this.
|
|
954
|
-
this.
|
|
955
|
-
this.
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
960
|
-
this.d2_1 = 0;
|
|
961
|
+
this.x1_1 = keysArray;
|
|
962
|
+
this.y1_1 = valuesArray;
|
|
963
|
+
this.z1_1 = presenceArray;
|
|
964
|
+
this.a2_1 = hashArray;
|
|
965
|
+
this.b2_1 = maxProbeDistance;
|
|
966
|
+
this.c2_1 = length;
|
|
967
|
+
this.d2_1 = computeShift(Companion_instance_0, _get_hashSize__tftcho(this));
|
|
961
968
|
this.e2_1 = 0;
|
|
962
|
-
this.f2_1 =
|
|
969
|
+
this.f2_1 = 0;
|
|
970
|
+
this.g2_1 = false;
|
|
963
971
|
}
|
|
964
|
-
protoOf(InternalHashMap).
|
|
965
|
-
return this.
|
|
972
|
+
protoOf(InternalHashMap).l = function () {
|
|
973
|
+
return this.f2_1;
|
|
966
974
|
};
|
|
967
|
-
protoOf(InternalHashMap).
|
|
975
|
+
protoOf(InternalHashMap).v1 = function (key) {
|
|
968
976
|
return findKey(this, key) >= 0;
|
|
969
977
|
};
|
|
970
|
-
protoOf(InternalHashMap).
|
|
978
|
+
protoOf(InternalHashMap).u1 = function (key, value) {
|
|
971
979
|
var index = addKey(this, key);
|
|
972
980
|
var valuesArray = allocateValuesArray(this);
|
|
973
981
|
if (index < 0) {
|
|
@@ -996,44 +1004,44 @@ if (typeof Math.imul === 'undefined') {
|
|
|
996
1004
|
};
|
|
997
1005
|
protoOf(InternalHashMap).hashCode = function () {
|
|
998
1006
|
var result = 0;
|
|
999
|
-
var it = this.
|
|
1000
|
-
while (it.
|
|
1001
|
-
result = result + it.
|
|
1007
|
+
var it = this.m3();
|
|
1008
|
+
while (it.t()) {
|
|
1009
|
+
result = result + it.c3() | 0;
|
|
1002
1010
|
}
|
|
1003
1011
|
return result;
|
|
1004
1012
|
};
|
|
1005
1013
|
protoOf(InternalHashMap).toString = function () {
|
|
1006
|
-
var sb = StringBuilder_init_$Create$(2 + imul(this.
|
|
1007
|
-
sb.
|
|
1014
|
+
var sb = StringBuilder_init_$Create$(2 + imul(this.f2_1, 3) | 0);
|
|
1015
|
+
sb.g3('{');
|
|
1008
1016
|
var i = 0;
|
|
1009
|
-
var it = this.
|
|
1010
|
-
while (it.
|
|
1017
|
+
var it = this.m3();
|
|
1018
|
+
while (it.t()) {
|
|
1011
1019
|
if (i > 0) {
|
|
1012
|
-
sb.
|
|
1020
|
+
sb.g3(', ');
|
|
1013
1021
|
}
|
|
1014
|
-
it.
|
|
1022
|
+
it.d3(sb);
|
|
1015
1023
|
i = i + 1 | 0;
|
|
1016
1024
|
}
|
|
1017
|
-
sb.
|
|
1025
|
+
sb.g3('}');
|
|
1018
1026
|
return sb.toString();
|
|
1019
1027
|
};
|
|
1020
|
-
protoOf(InternalHashMap).
|
|
1021
|
-
if (this.
|
|
1028
|
+
protoOf(InternalHashMap).k = function () {
|
|
1029
|
+
if (this.g2_1)
|
|
1022
1030
|
throw UnsupportedOperationException_init_$Create$();
|
|
1023
1031
|
};
|
|
1024
|
-
protoOf(InternalHashMap).
|
|
1025
|
-
var index = findKey(this, entry.
|
|
1032
|
+
protoOf(InternalHashMap).n3 = function (entry) {
|
|
1033
|
+
var index = findKey(this, entry.k3());
|
|
1026
1034
|
if (index < 0)
|
|
1027
1035
|
return false;
|
|
1028
|
-
return equals(ensureNotNull(this.
|
|
1036
|
+
return equals(ensureNotNull(this.y1_1)[index], entry.l3());
|
|
1029
1037
|
};
|
|
1030
|
-
protoOf(InternalHashMap).
|
|
1031
|
-
return this.
|
|
1038
|
+
protoOf(InternalHashMap).o3 = function (entry) {
|
|
1039
|
+
return this.n3(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
1032
1040
|
};
|
|
1033
|
-
protoOf(InternalHashMap).
|
|
1041
|
+
protoOf(InternalHashMap).w1 = function () {
|
|
1034
1042
|
return new KeysItr(this);
|
|
1035
1043
|
};
|
|
1036
|
-
protoOf(InternalHashMap).
|
|
1044
|
+
protoOf(InternalHashMap).m3 = function () {
|
|
1037
1045
|
return new EntriesItr(this);
|
|
1038
1046
|
};
|
|
1039
1047
|
function InternalMap() {
|
|
@@ -1067,26 +1075,26 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1067
1075
|
var output;
|
|
1068
1076
|
function BaseOutput() {
|
|
1069
1077
|
}
|
|
1070
|
-
protoOf(BaseOutput).
|
|
1071
|
-
this.
|
|
1078
|
+
protoOf(BaseOutput).p3 = function () {
|
|
1079
|
+
this.q3('\n');
|
|
1072
1080
|
};
|
|
1073
|
-
protoOf(BaseOutput).
|
|
1074
|
-
this.
|
|
1075
|
-
this.
|
|
1081
|
+
protoOf(BaseOutput).r3 = function (message) {
|
|
1082
|
+
this.q3(message);
|
|
1083
|
+
this.p3();
|
|
1076
1084
|
};
|
|
1077
1085
|
function NodeJsOutput(outputStream) {
|
|
1078
1086
|
BaseOutput.call(this);
|
|
1079
|
-
this.
|
|
1087
|
+
this.s3_1 = outputStream;
|
|
1080
1088
|
}
|
|
1081
|
-
protoOf(NodeJsOutput).
|
|
1089
|
+
protoOf(NodeJsOutput).q3 = function (message) {
|
|
1082
1090
|
// Inline function 'kotlin.io.String' call
|
|
1083
1091
|
var messageString = String(message);
|
|
1084
|
-
this.
|
|
1092
|
+
this.s3_1.write(messageString);
|
|
1085
1093
|
};
|
|
1086
1094
|
function BufferedOutputToConsoleLog() {
|
|
1087
1095
|
BufferedOutput.call(this);
|
|
1088
1096
|
}
|
|
1089
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
1097
|
+
protoOf(BufferedOutputToConsoleLog).q3 = function (message) {
|
|
1090
1098
|
// Inline function 'kotlin.io.String' call
|
|
1091
1099
|
var s = String(message);
|
|
1092
1100
|
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
@@ -1094,36 +1102,36 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1094
1102
|
var i = s.lastIndexOf('\n', 0);
|
|
1095
1103
|
if (i >= 0) {
|
|
1096
1104
|
var tmp = this;
|
|
1097
|
-
var tmp_0 = this.
|
|
1105
|
+
var tmp_0 = this.u3_1;
|
|
1098
1106
|
// Inline function 'kotlin.text.substring' call
|
|
1099
1107
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1100
|
-
tmp.
|
|
1101
|
-
this.
|
|
1108
|
+
tmp.u3_1 = tmp_0 + s.substring(0, i);
|
|
1109
|
+
this.v3();
|
|
1102
1110
|
// Inline function 'kotlin.text.substring' call
|
|
1103
1111
|
var this_0 = s;
|
|
1104
1112
|
var startIndex = i + 1 | 0;
|
|
1105
1113
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1106
1114
|
s = this_0.substring(startIndex);
|
|
1107
1115
|
}
|
|
1108
|
-
this.
|
|
1116
|
+
this.u3_1 = this.u3_1 + s;
|
|
1109
1117
|
};
|
|
1110
|
-
protoOf(BufferedOutputToConsoleLog).
|
|
1111
|
-
console.log(this.
|
|
1112
|
-
this.
|
|
1118
|
+
protoOf(BufferedOutputToConsoleLog).v3 = function () {
|
|
1119
|
+
console.log(this.u3_1);
|
|
1120
|
+
this.u3_1 = '';
|
|
1113
1121
|
};
|
|
1114
1122
|
function BufferedOutput() {
|
|
1115
1123
|
BaseOutput.call(this);
|
|
1116
|
-
this.
|
|
1124
|
+
this.u3_1 = '';
|
|
1117
1125
|
}
|
|
1118
|
-
protoOf(BufferedOutput).
|
|
1126
|
+
protoOf(BufferedOutput).q3 = function (message) {
|
|
1119
1127
|
var tmp = this;
|
|
1120
|
-
var tmp_0 = this.
|
|
1128
|
+
var tmp_0 = this.u3_1;
|
|
1121
1129
|
// Inline function 'kotlin.io.String' call
|
|
1122
|
-
tmp.
|
|
1130
|
+
tmp.u3_1 = tmp_0 + String(message);
|
|
1123
1131
|
};
|
|
1124
1132
|
function println(message) {
|
|
1125
1133
|
_init_properties_console_kt__rfg7jv();
|
|
1126
|
-
get_output().
|
|
1134
|
+
get_output().r3(message);
|
|
1127
1135
|
}
|
|
1128
1136
|
var properties_initialized_console_kt_gll9dl;
|
|
1129
1137
|
function _init_properties_console_kt__rfg7jv() {
|
|
@@ -1210,15 +1218,15 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1210
1218
|
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
1211
1219
|
}
|
|
1212
1220
|
function StringBuilder(content) {
|
|
1213
|
-
this.
|
|
1221
|
+
this.e3_1 = !(content === undefined) ? content : '';
|
|
1214
1222
|
}
|
|
1215
1223
|
protoOf(StringBuilder).a = function () {
|
|
1216
1224
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1217
|
-
return this.
|
|
1225
|
+
return this.e3_1.length;
|
|
1218
1226
|
};
|
|
1219
1227
|
protoOf(StringBuilder).b = function (index) {
|
|
1220
1228
|
// Inline function 'kotlin.text.getOrElse' call
|
|
1221
|
-
var this_0 = this.
|
|
1229
|
+
var this_0 = this.e3_1;
|
|
1222
1230
|
var tmp;
|
|
1223
1231
|
if (index >= 0 ? index <= get_lastIndex_0(this_0) : false) {
|
|
1224
1232
|
tmp = charSequenceGet(this_0, index);
|
|
@@ -1230,47 +1238,47 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1230
1238
|
protoOf(StringBuilder).c = function (startIndex, endIndex) {
|
|
1231
1239
|
// Inline function 'kotlin.text.substring' call
|
|
1232
1240
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1233
|
-
return this.
|
|
1241
|
+
return this.e3_1.substring(startIndex, endIndex);
|
|
1234
1242
|
};
|
|
1235
|
-
protoOf(StringBuilder).
|
|
1236
|
-
this.
|
|
1243
|
+
protoOf(StringBuilder).h3 = function (value) {
|
|
1244
|
+
this.e3_1 = this.e3_1 + toString_0(value);
|
|
1237
1245
|
return this;
|
|
1238
1246
|
};
|
|
1239
|
-
protoOf(StringBuilder).
|
|
1240
|
-
this.
|
|
1247
|
+
protoOf(StringBuilder).y3 = function (value) {
|
|
1248
|
+
this.e3_1 = this.e3_1 + toString_1(value);
|
|
1241
1249
|
return this;
|
|
1242
1250
|
};
|
|
1243
|
-
protoOf(StringBuilder).
|
|
1244
|
-
return this.
|
|
1251
|
+
protoOf(StringBuilder).z3 = function (value, startIndex, endIndex) {
|
|
1252
|
+
return this.a4(value == null ? 'null' : value, startIndex, endIndex);
|
|
1245
1253
|
};
|
|
1246
|
-
protoOf(StringBuilder).
|
|
1247
|
-
this.
|
|
1254
|
+
protoOf(StringBuilder).f3 = function (value) {
|
|
1255
|
+
this.e3_1 = this.e3_1 + toString_1(value);
|
|
1248
1256
|
return this;
|
|
1249
1257
|
};
|
|
1250
|
-
protoOf(StringBuilder).
|
|
1251
|
-
this.
|
|
1258
|
+
protoOf(StringBuilder).b4 = function (value) {
|
|
1259
|
+
this.e3_1 = this.e3_1 + value;
|
|
1252
1260
|
return this;
|
|
1253
1261
|
};
|
|
1254
|
-
protoOf(StringBuilder).
|
|
1255
|
-
return this.
|
|
1262
|
+
protoOf(StringBuilder).c4 = function (value) {
|
|
1263
|
+
return this.g3(value.toString());
|
|
1256
1264
|
};
|
|
1257
|
-
protoOf(StringBuilder).
|
|
1265
|
+
protoOf(StringBuilder).g3 = function (value) {
|
|
1258
1266
|
var tmp = this;
|
|
1259
|
-
var tmp_0 = this.
|
|
1260
|
-
tmp.
|
|
1267
|
+
var tmp_0 = this.e3_1;
|
|
1268
|
+
tmp.e3_1 = tmp_0 + (value == null ? 'null' : value);
|
|
1261
1269
|
return this;
|
|
1262
1270
|
};
|
|
1263
1271
|
protoOf(StringBuilder).toString = function () {
|
|
1264
|
-
return this.
|
|
1272
|
+
return this.e3_1;
|
|
1265
1273
|
};
|
|
1266
|
-
protoOf(StringBuilder).
|
|
1274
|
+
protoOf(StringBuilder).a4 = function (value, startIndex, endIndex) {
|
|
1267
1275
|
var stringCsq = toString_2(value);
|
|
1268
|
-
Companion_instance_5.
|
|
1276
|
+
Companion_instance_5.d4(startIndex, endIndex, stringCsq.length);
|
|
1269
1277
|
var tmp = this;
|
|
1270
|
-
var tmp_0 = this.
|
|
1278
|
+
var tmp_0 = this.e3_1;
|
|
1271
1279
|
// Inline function 'kotlin.text.substring' call
|
|
1272
1280
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1273
|
-
tmp.
|
|
1281
|
+
tmp.e3_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
|
|
1274
1282
|
return this;
|
|
1275
1283
|
};
|
|
1276
1284
|
function uppercaseChar(_this__u8e3s4) {
|
|
@@ -1353,19 +1361,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1353
1361
|
}
|
|
1354
1362
|
function Companion_1() {
|
|
1355
1363
|
Companion_instance_1 = this;
|
|
1356
|
-
this.
|
|
1357
|
-
this.
|
|
1358
|
-
this.
|
|
1364
|
+
this.e4_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
1365
|
+
this.f4_1 = new RegExp('[\\\\$]', 'g');
|
|
1366
|
+
this.g4_1 = new RegExp('\\$', 'g');
|
|
1359
1367
|
}
|
|
1360
|
-
protoOf(Companion_1).
|
|
1368
|
+
protoOf(Companion_1).h4 = function (literal) {
|
|
1361
1369
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1362
|
-
var pattern = this.
|
|
1370
|
+
var pattern = this.e4_1;
|
|
1363
1371
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1364
1372
|
return literal.replace(pattern, '\\$&');
|
|
1365
1373
|
};
|
|
1366
|
-
protoOf(Companion_1).
|
|
1374
|
+
protoOf(Companion_1).i4 = function (literal) {
|
|
1367
1375
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1368
|
-
var pattern = this.
|
|
1376
|
+
var pattern = this.g4_1;
|
|
1369
1377
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1370
1378
|
return literal.replace(pattern, '$$$$');
|
|
1371
1379
|
};
|
|
@@ -1377,11 +1385,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1377
1385
|
}
|
|
1378
1386
|
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
1379
1387
|
return function () {
|
|
1380
|
-
return this$0.
|
|
1388
|
+
return this$0.o4($input, $startIndex);
|
|
1381
1389
|
};
|
|
1382
1390
|
}
|
|
1383
1391
|
function Regex$findAll$lambda_0(match) {
|
|
1384
|
-
return match.
|
|
1392
|
+
return match.u();
|
|
1385
1393
|
}
|
|
1386
1394
|
function Regex$replace$lambda($replacement) {
|
|
1387
1395
|
return function (it) {
|
|
@@ -1390,50 +1398,50 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1390
1398
|
}
|
|
1391
1399
|
function Regex(pattern, options) {
|
|
1392
1400
|
Companion_getInstance_1();
|
|
1393
|
-
this.
|
|
1394
|
-
this.
|
|
1395
|
-
this.
|
|
1396
|
-
this.l4_1 = null;
|
|
1401
|
+
this.j4_1 = pattern;
|
|
1402
|
+
this.k4_1 = toSet(options);
|
|
1403
|
+
this.l4_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
1397
1404
|
this.m4_1 = null;
|
|
1405
|
+
this.n4_1 = null;
|
|
1398
1406
|
}
|
|
1399
|
-
protoOf(Regex).
|
|
1400
|
-
reset(this.
|
|
1401
|
-
var match = this.
|
|
1402
|
-
return (!(match == null) ? match.index === 0 : false) ? this.
|
|
1407
|
+
protoOf(Regex).p4 = function (input) {
|
|
1408
|
+
reset(this.l4_1);
|
|
1409
|
+
var match = this.l4_1.exec(toString_2(input));
|
|
1410
|
+
return (!(match == null) ? match.index === 0 : false) ? this.l4_1.lastIndex === charSequenceLength(input) : false;
|
|
1403
1411
|
};
|
|
1404
|
-
protoOf(Regex).
|
|
1412
|
+
protoOf(Regex).o4 = function (input, startIndex) {
|
|
1405
1413
|
if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
|
|
1406
1414
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
1407
1415
|
}
|
|
1408
|
-
return findNext(this.
|
|
1416
|
+
return findNext(this.l4_1, toString_2(input), startIndex, this.l4_1);
|
|
1409
1417
|
};
|
|
1410
|
-
protoOf(Regex).
|
|
1418
|
+
protoOf(Regex).q4 = function (input, startIndex, $super) {
|
|
1411
1419
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1412
|
-
return $super === VOID ? this.
|
|
1420
|
+
return $super === VOID ? this.o4(input, startIndex) : $super.o4.call(this, input, startIndex);
|
|
1413
1421
|
};
|
|
1414
|
-
protoOf(Regex).
|
|
1422
|
+
protoOf(Regex).r4 = function (input, startIndex) {
|
|
1415
1423
|
if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
|
|
1416
1424
|
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
1417
1425
|
}
|
|
1418
1426
|
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
1419
1427
|
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
1420
1428
|
};
|
|
1421
|
-
protoOf(Regex).
|
|
1429
|
+
protoOf(Regex).s4 = function (input, startIndex, $super) {
|
|
1422
1430
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1423
|
-
return $super === VOID ? this.
|
|
1431
|
+
return $super === VOID ? this.r4(input, startIndex) : $super.r4.call(this, input, startIndex);
|
|
1424
1432
|
};
|
|
1425
|
-
protoOf(Regex).
|
|
1433
|
+
protoOf(Regex).t4 = function (input, replacement) {
|
|
1426
1434
|
if (!contains_1(replacement, _Char___init__impl__6a9atx(92)) ? !contains_1(replacement, _Char___init__impl__6a9atx(36)) : false) {
|
|
1427
1435
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1428
1436
|
var this_0 = toString_2(input);
|
|
1429
|
-
var pattern = this.
|
|
1437
|
+
var pattern = this.l4_1;
|
|
1430
1438
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1431
1439
|
return this_0.replace(pattern, replacement);
|
|
1432
1440
|
}
|
|
1433
|
-
return this.
|
|
1441
|
+
return this.u4(input, Regex$replace$lambda(replacement));
|
|
1434
1442
|
};
|
|
1435
|
-
protoOf(Regex).
|
|
1436
|
-
var match = this.
|
|
1443
|
+
protoOf(Regex).u4 = function (input, transform) {
|
|
1444
|
+
var match = this.q4(input);
|
|
1437
1445
|
if (match == null)
|
|
1438
1446
|
return toString_2(input);
|
|
1439
1447
|
var lastStart = 0;
|
|
@@ -1441,19 +1449,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1441
1449
|
var sb = StringBuilder_init_$Create$(length);
|
|
1442
1450
|
do {
|
|
1443
1451
|
var foundMatch = ensureNotNull(match);
|
|
1444
|
-
sb.
|
|
1445
|
-
sb.
|
|
1446
|
-
lastStart = foundMatch.
|
|
1447
|
-
match = foundMatch.
|
|
1452
|
+
sb.z3(input, lastStart, foundMatch.v4().z4());
|
|
1453
|
+
sb.y3(transform(foundMatch));
|
|
1454
|
+
lastStart = foundMatch.v4().a5() + 1 | 0;
|
|
1455
|
+
match = foundMatch.u();
|
|
1448
1456
|
}
|
|
1449
1457
|
while (lastStart < length ? !(match == null) : false);
|
|
1450
1458
|
if (lastStart < length) {
|
|
1451
|
-
sb.
|
|
1459
|
+
sb.z3(input, lastStart, length);
|
|
1452
1460
|
}
|
|
1453
1461
|
return sb.toString();
|
|
1454
1462
|
};
|
|
1455
1463
|
protoOf(Regex).toString = function () {
|
|
1456
|
-
return this.
|
|
1464
|
+
return this.l4_1.toString();
|
|
1457
1465
|
};
|
|
1458
1466
|
function toFlags(_this__u8e3s4, prepend) {
|
|
1459
1467
|
return joinToString_0(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
@@ -1478,7 +1486,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1478
1486
|
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
|
|
1479
1487
|
var tmp1 = index;
|
|
1480
1488
|
index = tmp1 + 1 | 0;
|
|
1481
|
-
result.
|
|
1489
|
+
result.h3(charSequenceGet(replacement, tmp1));
|
|
1482
1490
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
1483
1491
|
if (index === replacement.length)
|
|
1484
1492
|
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
|
|
@@ -1493,42 +1501,42 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1493
1501
|
var startIndex = index;
|
|
1494
1502
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1495
1503
|
var groupName = replacement.substring(startIndex, endIndex);
|
|
1496
|
-
var tmp2_safe_receiver = get(match.
|
|
1497
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1498
|
-
result.
|
|
1504
|
+
var tmp2_safe_receiver = get(match.b5(), groupName);
|
|
1505
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.c5_1;
|
|
1506
|
+
result.g3(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
1499
1507
|
index = endIndex + 1 | 0;
|
|
1500
1508
|
} else {
|
|
1501
1509
|
var containsArg = charSequenceGet(replacement, index);
|
|
1502
1510
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
1503
1511
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
1504
|
-
var groups = match.
|
|
1505
|
-
var endIndex_0 = readGroupIndex(replacement, index, groups.
|
|
1512
|
+
var groups = match.b5();
|
|
1513
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.l());
|
|
1506
1514
|
// Inline function 'kotlin.text.substring' call
|
|
1507
1515
|
var startIndex_0 = index;
|
|
1508
1516
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1509
1517
|
var tmp$ret$3 = replacement.substring(startIndex_0, endIndex_0);
|
|
1510
1518
|
var groupIndex = toInt_0(tmp$ret$3);
|
|
1511
|
-
if (groupIndex >= groups.
|
|
1519
|
+
if (groupIndex >= groups.l())
|
|
1512
1520
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
1513
|
-
var tmp4_safe_receiver = groups.
|
|
1514
|
-
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
1515
|
-
result.
|
|
1521
|
+
var tmp4_safe_receiver = groups.v(groupIndex);
|
|
1522
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.c5_1;
|
|
1523
|
+
result.g3(tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
|
|
1516
1524
|
index = endIndex_0;
|
|
1517
1525
|
}
|
|
1518
1526
|
} else {
|
|
1519
|
-
result.
|
|
1527
|
+
result.h3(char);
|
|
1520
1528
|
}
|
|
1521
1529
|
}
|
|
1522
1530
|
return result.toString();
|
|
1523
1531
|
}
|
|
1524
1532
|
function MatchGroup(value) {
|
|
1525
|
-
this.
|
|
1533
|
+
this.c5_1 = value;
|
|
1526
1534
|
}
|
|
1527
1535
|
protoOf(MatchGroup).toString = function () {
|
|
1528
|
-
return 'MatchGroup(value=' + this.
|
|
1536
|
+
return 'MatchGroup(value=' + this.c5_1 + ')';
|
|
1529
1537
|
};
|
|
1530
1538
|
protoOf(MatchGroup).hashCode = function () {
|
|
1531
|
-
return getStringHashCode(this.
|
|
1539
|
+
return getStringHashCode(this.c5_1);
|
|
1532
1540
|
};
|
|
1533
1541
|
protoOf(MatchGroup).equals = function (other) {
|
|
1534
1542
|
if (this === other)
|
|
@@ -1536,7 +1544,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1536
1544
|
if (!(other instanceof MatchGroup))
|
|
1537
1545
|
return false;
|
|
1538
1546
|
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
|
|
1539
|
-
if (!(this.
|
|
1547
|
+
if (!(this.c5_1 === tmp0_other_with_cast.c5_1))
|
|
1540
1548
|
return false;
|
|
1541
1549
|
return true;
|
|
1542
1550
|
};
|
|
@@ -1560,7 +1568,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1560
1568
|
tmp = tmp0_elvis_lhs;
|
|
1561
1569
|
}
|
|
1562
1570
|
var namedGroups = tmp;
|
|
1563
|
-
return namedGroups.
|
|
1571
|
+
return namedGroups.d5(name);
|
|
1564
1572
|
}
|
|
1565
1573
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
1566
1574
|
var index = startIndex + 1 | 0;
|
|
@@ -1587,11 +1595,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1587
1595
|
return index;
|
|
1588
1596
|
}
|
|
1589
1597
|
function toFlags$lambda(it) {
|
|
1590
|
-
return it.
|
|
1598
|
+
return it.g5_1;
|
|
1591
1599
|
}
|
|
1592
1600
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
1593
1601
|
return function (it) {
|
|
1594
|
-
return this$0.
|
|
1602
|
+
return this$0.v(it);
|
|
1595
1603
|
};
|
|
1596
1604
|
}
|
|
1597
1605
|
function hasOwnPrototypeProperty($this, o, name) {
|
|
@@ -1599,14 +1607,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1599
1607
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
1600
1608
|
}
|
|
1601
1609
|
function advanceToNextCharacter($this, index) {
|
|
1602
|
-
if (index < get_lastIndex_0($this.
|
|
1610
|
+
if (index < get_lastIndex_0($this.p5_1)) {
|
|
1603
1611
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1604
1612
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1605
|
-
var code1 = $this.
|
|
1613
|
+
var code1 = $this.p5_1.charCodeAt(index);
|
|
1606
1614
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
1607
1615
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1608
1616
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1609
|
-
var code2 = $this.
|
|
1617
|
+
var code2 = $this.p5_1.charCodeAt(index + 1 | 0);
|
|
1610
1618
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
1611
1619
|
return index + 2 | 0;
|
|
1612
1620
|
}
|
|
@@ -1615,21 +1623,21 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1615
1623
|
return index + 1 | 0;
|
|
1616
1624
|
}
|
|
1617
1625
|
function findNext$1$groups$1($match, this$0) {
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1626
|
+
this.h5_1 = $match;
|
|
1627
|
+
this.i5_1 = this$0;
|
|
1620
1628
|
AbstractCollection.call(this);
|
|
1621
1629
|
}
|
|
1622
|
-
protoOf(findNext$1$groups$1).
|
|
1623
|
-
return this.
|
|
1630
|
+
protoOf(findNext$1$groups$1).l = function () {
|
|
1631
|
+
return this.h5_1.length;
|
|
1624
1632
|
};
|
|
1625
|
-
protoOf(findNext$1$groups$1).
|
|
1633
|
+
protoOf(findNext$1$groups$1).m = function () {
|
|
1626
1634
|
var tmp = asSequence(get_indices(this));
|
|
1627
|
-
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).
|
|
1635
|
+
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).m();
|
|
1628
1636
|
};
|
|
1629
|
-
protoOf(findNext$1$groups$1).
|
|
1637
|
+
protoOf(findNext$1$groups$1).v = function (index) {
|
|
1630
1638
|
// Inline function 'kotlin.js.get' call
|
|
1631
1639
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1632
|
-
var tmp0_safe_receiver = this.
|
|
1640
|
+
var tmp0_safe_receiver = this.h5_1[index];
|
|
1633
1641
|
var tmp;
|
|
1634
1642
|
if (tmp0_safe_receiver == null) {
|
|
1635
1643
|
tmp = null;
|
|
@@ -1641,9 +1649,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1641
1649
|
}
|
|
1642
1650
|
return tmp;
|
|
1643
1651
|
};
|
|
1644
|
-
protoOf(findNext$1$groups$1).
|
|
1652
|
+
protoOf(findNext$1$groups$1).d5 = function (name) {
|
|
1645
1653
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1646
|
-
var tmp0_elvis_lhs = this.
|
|
1654
|
+
var tmp0_elvis_lhs = this.h5_1.groups;
|
|
1647
1655
|
var tmp;
|
|
1648
1656
|
if (tmp0_elvis_lhs == null) {
|
|
1649
1657
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
@@ -1651,7 +1659,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1651
1659
|
tmp = tmp0_elvis_lhs;
|
|
1652
1660
|
}
|
|
1653
1661
|
var groups = tmp;
|
|
1654
|
-
if (!hasOwnPrototypeProperty(this.
|
|
1662
|
+
if (!hasOwnPrototypeProperty(this.i5_1, groups, name))
|
|
1655
1663
|
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
|
|
1656
1664
|
var value = groups[name];
|
|
1657
1665
|
var tmp_0;
|
|
@@ -1663,29 +1671,29 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1663
1671
|
return tmp_0;
|
|
1664
1672
|
};
|
|
1665
1673
|
function findNext$1($range, $match, $nextPattern, $input) {
|
|
1666
|
-
this.
|
|
1667
|
-
this.
|
|
1668
|
-
this.
|
|
1669
|
-
this.
|
|
1670
|
-
this.
|
|
1674
|
+
this.m5_1 = $range;
|
|
1675
|
+
this.n5_1 = $match;
|
|
1676
|
+
this.o5_1 = $nextPattern;
|
|
1677
|
+
this.p5_1 = $input;
|
|
1678
|
+
this.j5_1 = $range;
|
|
1671
1679
|
var tmp = this;
|
|
1672
|
-
tmp.
|
|
1673
|
-
this.
|
|
1680
|
+
tmp.k5_1 = new findNext$1$groups$1($match, this);
|
|
1681
|
+
this.l5_1 = null;
|
|
1674
1682
|
}
|
|
1675
|
-
protoOf(findNext$1).
|
|
1676
|
-
return this.
|
|
1683
|
+
protoOf(findNext$1).v4 = function () {
|
|
1684
|
+
return this.j5_1;
|
|
1677
1685
|
};
|
|
1678
|
-
protoOf(findNext$1).
|
|
1686
|
+
protoOf(findNext$1).l3 = function () {
|
|
1679
1687
|
// Inline function 'kotlin.js.get' call
|
|
1680
1688
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1681
|
-
var tmp$ret$1 = this.
|
|
1689
|
+
var tmp$ret$1 = this.n5_1[0];
|
|
1682
1690
|
return ensureNotNull(tmp$ret$1);
|
|
1683
1691
|
};
|
|
1684
|
-
protoOf(findNext$1).
|
|
1685
|
-
return this.
|
|
1692
|
+
protoOf(findNext$1).b5 = function () {
|
|
1693
|
+
return this.k5_1;
|
|
1686
1694
|
};
|
|
1687
|
-
protoOf(findNext$1).
|
|
1688
|
-
return findNext(this.
|
|
1695
|
+
protoOf(findNext$1).u = function () {
|
|
1696
|
+
return findNext(this.o5_1, this.p5_1, this.m5_1.p() ? advanceToNextCharacter(this, this.m5_1.z4()) : this.m5_1.a5() + 1 | 0, this.o5_1);
|
|
1689
1697
|
};
|
|
1690
1698
|
var STRING_CASE_INSENSITIVE_ORDER;
|
|
1691
1699
|
function compareTo(_this__u8e3s4, other, ignoreCase) {
|
|
@@ -1756,13 +1764,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1756
1764
|
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
1757
1765
|
}
|
|
1758
1766
|
function sam$kotlin_Comparator$0(function_0) {
|
|
1759
|
-
this.
|
|
1767
|
+
this.q5_1 = function_0;
|
|
1760
1768
|
}
|
|
1761
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
1762
|
-
return this.
|
|
1769
|
+
protoOf(sam$kotlin_Comparator$0).r5 = function (a, b) {
|
|
1770
|
+
return this.q5_1(a, b);
|
|
1763
1771
|
};
|
|
1764
1772
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
1765
|
-
return this.
|
|
1773
|
+
return this.r5(a, b);
|
|
1766
1774
|
};
|
|
1767
1775
|
function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
|
|
1768
1776
|
_init_properties_stringJs_kt__bg7zye();
|
|
@@ -1779,8 +1787,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1779
1787
|
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
1780
1788
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1781
1789
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1782
|
-
var pattern = new RegExp(Companion_getInstance_1().
|
|
1783
|
-
var replacement = Companion_getInstance_1().
|
|
1790
|
+
var pattern = new RegExp(Companion_getInstance_1().h4(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
1791
|
+
var replacement = Companion_getInstance_1().i4(newValue);
|
|
1784
1792
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1785
1793
|
return _this__u8e3s4.replace(pattern, replacement);
|
|
1786
1794
|
}
|
|
@@ -1799,7 +1807,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1799
1807
|
var this_0 = get_indices_0(_this__u8e3s4);
|
|
1800
1808
|
var tmp_0;
|
|
1801
1809
|
if (isInterface(this_0, Collection)) {
|
|
1802
|
-
tmp_0 = this_0.
|
|
1810
|
+
tmp_0 = this_0.p();
|
|
1803
1811
|
} else {
|
|
1804
1812
|
tmp_0 = false;
|
|
1805
1813
|
}
|
|
@@ -1807,9 +1815,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1807
1815
|
tmp$ret$0 = true;
|
|
1808
1816
|
break $l$block_0;
|
|
1809
1817
|
}
|
|
1810
|
-
var tmp0_iterator = this_0.
|
|
1811
|
-
while (tmp0_iterator.
|
|
1812
|
-
var element = tmp0_iterator.
|
|
1818
|
+
var tmp0_iterator = this_0.m();
|
|
1819
|
+
while (tmp0_iterator.t()) {
|
|
1820
|
+
var element = tmp0_iterator.u();
|
|
1813
1821
|
// Inline function 'kotlin.text.isBlank.<anonymous>' call
|
|
1814
1822
|
if (!isWhitespace(charSequenceGet(_this__u8e3s4, element))) {
|
|
1815
1823
|
tmp$ret$0 = false;
|
|
@@ -1917,40 +1925,40 @@ if (typeof Math.imul === 'undefined') {
|
|
|
1917
1925
|
byteIndex = tmp0 + 1 | 0;
|
|
1918
1926
|
var byte = bytes[tmp0];
|
|
1919
1927
|
if (byte >= 0) {
|
|
1920
|
-
stringBuilder.
|
|
1928
|
+
stringBuilder.h3(numberToChar(byte));
|
|
1921
1929
|
} else if (byte >> 5 === -2) {
|
|
1922
1930
|
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
1923
1931
|
if (code <= 0) {
|
|
1924
|
-
stringBuilder.
|
|
1932
|
+
stringBuilder.h3(_Char___init__impl__6a9atx(65533));
|
|
1925
1933
|
byteIndex = byteIndex + (-code | 0) | 0;
|
|
1926
1934
|
} else {
|
|
1927
|
-
stringBuilder.
|
|
1935
|
+
stringBuilder.h3(numberToChar(code));
|
|
1928
1936
|
byteIndex = byteIndex + 1 | 0;
|
|
1929
1937
|
}
|
|
1930
1938
|
} else if (byte >> 4 === -2) {
|
|
1931
1939
|
var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
1932
1940
|
if (code_0 <= 0) {
|
|
1933
|
-
stringBuilder.
|
|
1941
|
+
stringBuilder.h3(_Char___init__impl__6a9atx(65533));
|
|
1934
1942
|
byteIndex = byteIndex + (-code_0 | 0) | 0;
|
|
1935
1943
|
} else {
|
|
1936
|
-
stringBuilder.
|
|
1944
|
+
stringBuilder.h3(numberToChar(code_0));
|
|
1937
1945
|
byteIndex = byteIndex + 2 | 0;
|
|
1938
1946
|
}
|
|
1939
1947
|
} else if (byte >> 3 === -2) {
|
|
1940
1948
|
var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
1941
1949
|
if (code_1 <= 0) {
|
|
1942
|
-
stringBuilder.
|
|
1950
|
+
stringBuilder.h3(_Char___init__impl__6a9atx(65533));
|
|
1943
1951
|
byteIndex = byteIndex + (-code_1 | 0) | 0;
|
|
1944
1952
|
} else {
|
|
1945
1953
|
var high = (code_1 - 65536 | 0) >> 10 | 55296;
|
|
1946
1954
|
var low = code_1 & 1023 | 56320;
|
|
1947
|
-
stringBuilder.
|
|
1948
|
-
stringBuilder.
|
|
1955
|
+
stringBuilder.h3(numberToChar(high));
|
|
1956
|
+
stringBuilder.h3(numberToChar(low));
|
|
1949
1957
|
byteIndex = byteIndex + 3 | 0;
|
|
1950
1958
|
}
|
|
1951
1959
|
} else {
|
|
1952
1960
|
malformed(0, byteIndex, throwOnMalformed);
|
|
1953
|
-
stringBuilder.
|
|
1961
|
+
stringBuilder.h3(_Char___init__impl__6a9atx(65533));
|
|
1954
1962
|
}
|
|
1955
1963
|
}
|
|
1956
1964
|
return stringBuilder.toString();
|
|
@@ -2077,6 +2085,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2077
2085
|
transform = transform === VOID ? null : transform;
|
|
2078
2086
|
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
2079
2087
|
}
|
|
2088
|
+
function contains(_this__u8e3s4, element) {
|
|
2089
|
+
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
2090
|
+
}
|
|
2080
2091
|
function indexOf_0(_this__u8e3s4, element) {
|
|
2081
2092
|
if (element == null) {
|
|
2082
2093
|
var inductionVariable = 0;
|
|
@@ -2105,8 +2116,15 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2105
2116
|
}
|
|
2106
2117
|
return -1;
|
|
2107
2118
|
}
|
|
2108
|
-
function
|
|
2109
|
-
|
|
2119
|
+
function toCollection(_this__u8e3s4, destination) {
|
|
2120
|
+
var inductionVariable = 0;
|
|
2121
|
+
var last = _this__u8e3s4.length;
|
|
2122
|
+
while (inductionVariable < last) {
|
|
2123
|
+
var item = _this__u8e3s4[inductionVariable];
|
|
2124
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
2125
|
+
destination.j(item);
|
|
2126
|
+
}
|
|
2127
|
+
return destination;
|
|
2110
2128
|
}
|
|
2111
2129
|
function single(_this__u8e3s4) {
|
|
2112
2130
|
var tmp;
|
|
@@ -2128,7 +2146,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2128
2146
|
limit = limit === VOID ? -1 : limit;
|
|
2129
2147
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2130
2148
|
transform = transform === VOID ? null : transform;
|
|
2131
|
-
buffer.
|
|
2149
|
+
buffer.y3(prefix);
|
|
2132
2150
|
var count = 0;
|
|
2133
2151
|
var inductionVariable = 0;
|
|
2134
2152
|
var last = _this__u8e3s4.length;
|
|
@@ -2137,7 +2155,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2137
2155
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2138
2156
|
count = count + 1 | 0;
|
|
2139
2157
|
if (count > 1) {
|
|
2140
|
-
buffer.
|
|
2158
|
+
buffer.y3(separator);
|
|
2141
2159
|
}
|
|
2142
2160
|
if (limit < 0 ? true : count <= limit) {
|
|
2143
2161
|
appendElement(buffer, element, transform);
|
|
@@ -2145,21 +2163,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2145
2163
|
break $l$loop;
|
|
2146
2164
|
}
|
|
2147
2165
|
if (limit >= 0 ? count > limit : false) {
|
|
2148
|
-
buffer.
|
|
2166
|
+
buffer.y3(truncated);
|
|
2149
2167
|
}
|
|
2150
|
-
buffer.
|
|
2168
|
+
buffer.y3(postfix);
|
|
2151
2169
|
return buffer;
|
|
2152
2170
|
}
|
|
2153
|
-
function toCollection(_this__u8e3s4, destination) {
|
|
2154
|
-
var inductionVariable = 0;
|
|
2155
|
-
var last = _this__u8e3s4.length;
|
|
2156
|
-
while (inductionVariable < last) {
|
|
2157
|
-
var item = _this__u8e3s4[inductionVariable];
|
|
2158
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
2159
|
-
destination.h(item);
|
|
2160
|
-
}
|
|
2161
|
-
return destination;
|
|
2162
|
-
}
|
|
2163
2171
|
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
2164
2172
|
separator = separator === VOID ? ', ' : separator;
|
|
2165
2173
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -2176,14 +2184,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2176
2184
|
limit = limit === VOID ? -1 : limit;
|
|
2177
2185
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2178
2186
|
transform = transform === VOID ? null : transform;
|
|
2179
|
-
buffer.
|
|
2187
|
+
buffer.y3(prefix);
|
|
2180
2188
|
var count = 0;
|
|
2181
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
2182
|
-
$l$loop: while (tmp0_iterator.
|
|
2183
|
-
var element = tmp0_iterator.
|
|
2189
|
+
var tmp0_iterator = _this__u8e3s4.m();
|
|
2190
|
+
$l$loop: while (tmp0_iterator.t()) {
|
|
2191
|
+
var element = tmp0_iterator.u();
|
|
2184
2192
|
count = count + 1 | 0;
|
|
2185
2193
|
if (count > 1) {
|
|
2186
|
-
buffer.
|
|
2194
|
+
buffer.y3(separator);
|
|
2187
2195
|
}
|
|
2188
2196
|
if (limit < 0 ? true : count <= limit) {
|
|
2189
2197
|
appendElement(buffer, element, transform);
|
|
@@ -2191,70 +2199,70 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2191
2199
|
break $l$loop;
|
|
2192
2200
|
}
|
|
2193
2201
|
if (limit >= 0 ? count > limit : false) {
|
|
2194
|
-
buffer.
|
|
2202
|
+
buffer.y3(truncated);
|
|
2195
2203
|
}
|
|
2196
|
-
buffer.
|
|
2204
|
+
buffer.y3(postfix);
|
|
2197
2205
|
return buffer;
|
|
2198
2206
|
}
|
|
2199
|
-
function toCollection_0(_this__u8e3s4, destination) {
|
|
2200
|
-
var tmp0_iterator = _this__u8e3s4.k();
|
|
2201
|
-
while (tmp0_iterator.r()) {
|
|
2202
|
-
var item = tmp0_iterator.s();
|
|
2203
|
-
destination.h(item);
|
|
2204
|
-
}
|
|
2205
|
-
return destination;
|
|
2206
|
-
}
|
|
2207
2207
|
function toSet(_this__u8e3s4) {
|
|
2208
2208
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
2209
2209
|
var tmp;
|
|
2210
|
-
switch (_this__u8e3s4.
|
|
2210
|
+
switch (_this__u8e3s4.l()) {
|
|
2211
2211
|
case 0:
|
|
2212
2212
|
tmp = emptySet();
|
|
2213
2213
|
break;
|
|
2214
2214
|
case 1:
|
|
2215
2215
|
var tmp_0;
|
|
2216
2216
|
if (isInterface(_this__u8e3s4, List)) {
|
|
2217
|
-
tmp_0 = _this__u8e3s4.
|
|
2217
|
+
tmp_0 = _this__u8e3s4.v(0);
|
|
2218
2218
|
} else {
|
|
2219
|
-
tmp_0 = _this__u8e3s4.
|
|
2219
|
+
tmp_0 = _this__u8e3s4.m().u();
|
|
2220
2220
|
}
|
|
2221
2221
|
|
|
2222
2222
|
tmp = setOf(tmp_0);
|
|
2223
2223
|
break;
|
|
2224
2224
|
default:
|
|
2225
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.
|
|
2225
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.l())));
|
|
2226
2226
|
break;
|
|
2227
2227
|
}
|
|
2228
2228
|
return tmp;
|
|
2229
2229
|
}
|
|
2230
2230
|
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
|
|
2231
2231
|
}
|
|
2232
|
+
function toCollection_0(_this__u8e3s4, destination) {
|
|
2233
|
+
var tmp0_iterator = _this__u8e3s4.m();
|
|
2234
|
+
while (tmp0_iterator.t()) {
|
|
2235
|
+
var item = tmp0_iterator.u();
|
|
2236
|
+
destination.j(item);
|
|
2237
|
+
}
|
|
2238
|
+
return destination;
|
|
2239
|
+
}
|
|
2232
2240
|
function asSequence(_this__u8e3s4) {
|
|
2233
2241
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
2234
2242
|
return new _no_name_provided__qut3iv(_this__u8e3s4);
|
|
2235
2243
|
}
|
|
2236
2244
|
function _no_name_provided__qut3iv($this_asSequence) {
|
|
2237
|
-
this.
|
|
2245
|
+
this.s5_1 = $this_asSequence;
|
|
2238
2246
|
}
|
|
2239
|
-
protoOf(_no_name_provided__qut3iv).
|
|
2247
|
+
protoOf(_no_name_provided__qut3iv).m = function () {
|
|
2240
2248
|
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
2241
|
-
return this.
|
|
2249
|
+
return this.s5_1.m();
|
|
2242
2250
|
};
|
|
2243
2251
|
function until(_this__u8e3s4, to) {
|
|
2244
2252
|
if (to <= IntCompanionObject_instance.MIN_VALUE)
|
|
2245
|
-
return Companion_getInstance_8().
|
|
2253
|
+
return Companion_getInstance_8().t5_1;
|
|
2246
2254
|
return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
|
|
2247
2255
|
}
|
|
2248
|
-
function downTo(_this__u8e3s4, to) {
|
|
2249
|
-
return Companion_instance_9.t5(_this__u8e3s4, to, -1);
|
|
2250
|
-
}
|
|
2251
2256
|
function step(_this__u8e3s4, step) {
|
|
2252
2257
|
checkStepIsPositive(step > 0, step);
|
|
2253
|
-
return Companion_instance_9.
|
|
2258
|
+
return Companion_instance_9.x5(_this__u8e3s4.u5_1, _this__u8e3s4.v5_1, _this__u8e3s4.w5_1 > 0 ? step : -step | 0);
|
|
2254
2259
|
}
|
|
2255
2260
|
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
2256
2261
|
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
2257
2262
|
}
|
|
2263
|
+
function downTo(_this__u8e3s4, to) {
|
|
2264
|
+
return Companion_instance_9.x5(_this__u8e3s4, to, -1);
|
|
2265
|
+
}
|
|
2258
2266
|
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
2259
2267
|
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
2260
2268
|
}
|
|
@@ -2271,16 +2279,16 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2271
2279
|
return new TransformingSequence(_this__u8e3s4, transform);
|
|
2272
2280
|
}
|
|
2273
2281
|
function toList(_this__u8e3s4) {
|
|
2274
|
-
var it = _this__u8e3s4.
|
|
2275
|
-
if (!it.
|
|
2282
|
+
var it = _this__u8e3s4.m();
|
|
2283
|
+
if (!it.t())
|
|
2276
2284
|
return emptyList();
|
|
2277
|
-
var element = it.
|
|
2278
|
-
if (!it.
|
|
2285
|
+
var element = it.u();
|
|
2286
|
+
if (!it.t())
|
|
2279
2287
|
return listOf(element);
|
|
2280
2288
|
var dst = ArrayList_init_$Create$();
|
|
2281
|
-
dst.
|
|
2282
|
-
while (it.
|
|
2283
|
-
dst.
|
|
2289
|
+
dst.j(element);
|
|
2290
|
+
while (it.t()) {
|
|
2291
|
+
dst.j(it.u());
|
|
2284
2292
|
}
|
|
2285
2293
|
return dst;
|
|
2286
2294
|
}
|
|
@@ -2291,14 +2299,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2291
2299
|
limit = limit === VOID ? -1 : limit;
|
|
2292
2300
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2293
2301
|
transform = transform === VOID ? null : transform;
|
|
2294
|
-
buffer.
|
|
2302
|
+
buffer.y3(prefix);
|
|
2295
2303
|
var count = 0;
|
|
2296
|
-
var tmp0_iterator = _this__u8e3s4.
|
|
2297
|
-
$l$loop: while (tmp0_iterator.
|
|
2298
|
-
var element = tmp0_iterator.
|
|
2304
|
+
var tmp0_iterator = _this__u8e3s4.m();
|
|
2305
|
+
$l$loop: while (tmp0_iterator.t()) {
|
|
2306
|
+
var element = tmp0_iterator.u();
|
|
2299
2307
|
count = count + 1 | 0;
|
|
2300
2308
|
if (count > 1) {
|
|
2301
|
-
buffer.
|
|
2309
|
+
buffer.y3(separator);
|
|
2302
2310
|
}
|
|
2303
2311
|
if (limit < 0 ? true : count <= limit) {
|
|
2304
2312
|
appendElement(buffer, element, transform);
|
|
@@ -2306,13 +2314,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2306
2314
|
break $l$loop;
|
|
2307
2315
|
}
|
|
2308
2316
|
if (limit >= 0 ? count > limit : false) {
|
|
2309
|
-
buffer.
|
|
2317
|
+
buffer.y3(truncated);
|
|
2310
2318
|
}
|
|
2311
|
-
buffer.
|
|
2319
|
+
buffer.y3(postfix);
|
|
2312
2320
|
return buffer;
|
|
2313
2321
|
}
|
|
2314
2322
|
function slice(_this__u8e3s4, indices) {
|
|
2315
|
-
if (indices.
|
|
2323
|
+
if (indices.p())
|
|
2316
2324
|
return '';
|
|
2317
2325
|
return substring(_this__u8e3s4, indices);
|
|
2318
2326
|
}
|
|
@@ -2335,7 +2343,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2335
2343
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
2336
2344
|
}
|
|
2337
2345
|
function Char__compareTo_impl_ypi4mb_0($this, other) {
|
|
2338
|
-
return Char__compareTo_impl_ypi4mb($this.
|
|
2346
|
+
return Char__compareTo_impl_ypi4mb($this.y5_1, other instanceof Char ? other.y5_1 : THROW_CCE());
|
|
2339
2347
|
}
|
|
2340
2348
|
function Char__minus_impl_a2frrh($this, other) {
|
|
2341
2349
|
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
@@ -2346,7 +2354,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2346
2354
|
function Char__equals_impl_x6719k($this, other) {
|
|
2347
2355
|
if (!(other instanceof Char))
|
|
2348
2356
|
return false;
|
|
2349
|
-
return _get_value__a43j40($this) === _get_value__a43j40(other.
|
|
2357
|
+
return _get_value__a43j40($this) === _get_value__a43j40(other.y5_1);
|
|
2350
2358
|
}
|
|
2351
2359
|
function Char__hashCode_impl_otmys($this) {
|
|
2352
2360
|
return _get_value__a43j40($this);
|
|
@@ -2357,16 +2365,16 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2357
2365
|
}
|
|
2358
2366
|
function Companion_2() {
|
|
2359
2367
|
Companion_instance_2 = this;
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2366
|
-
this.
|
|
2367
|
-
this.
|
|
2368
|
-
this.
|
|
2369
|
-
this.
|
|
2368
|
+
this.z5_1 = _Char___init__impl__6a9atx(0);
|
|
2369
|
+
this.a6_1 = _Char___init__impl__6a9atx(65535);
|
|
2370
|
+
this.b6_1 = _Char___init__impl__6a9atx(55296);
|
|
2371
|
+
this.c6_1 = _Char___init__impl__6a9atx(56319);
|
|
2372
|
+
this.d6_1 = _Char___init__impl__6a9atx(56320);
|
|
2373
|
+
this.e6_1 = _Char___init__impl__6a9atx(57343);
|
|
2374
|
+
this.f6_1 = _Char___init__impl__6a9atx(55296);
|
|
2375
|
+
this.g6_1 = _Char___init__impl__6a9atx(57343);
|
|
2376
|
+
this.h6_1 = 2;
|
|
2377
|
+
this.i6_1 = 16;
|
|
2370
2378
|
}
|
|
2371
2379
|
var Companion_instance_2;
|
|
2372
2380
|
function Companion_getInstance_2() {
|
|
@@ -2376,22 +2384,22 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2376
2384
|
}
|
|
2377
2385
|
function Char(value) {
|
|
2378
2386
|
Companion_getInstance_2();
|
|
2379
|
-
this.
|
|
2387
|
+
this.y5_1 = value;
|
|
2380
2388
|
}
|
|
2381
|
-
protoOf(Char).i6 = function (other) {
|
|
2382
|
-
return Char__compareTo_impl_ypi4mb(this.x5_1, other);
|
|
2383
|
-
};
|
|
2384
2389
|
protoOf(Char).j6 = function (other) {
|
|
2390
|
+
return Char__compareTo_impl_ypi4mb(this.y5_1, other);
|
|
2391
|
+
};
|
|
2392
|
+
protoOf(Char).k6 = function (other) {
|
|
2385
2393
|
return Char__compareTo_impl_ypi4mb_0(this, other);
|
|
2386
2394
|
};
|
|
2387
2395
|
protoOf(Char).equals = function (other) {
|
|
2388
|
-
return Char__equals_impl_x6719k(this.
|
|
2396
|
+
return Char__equals_impl_x6719k(this.y5_1, other);
|
|
2389
2397
|
};
|
|
2390
2398
|
protoOf(Char).hashCode = function () {
|
|
2391
|
-
return Char__hashCode_impl_otmys(this.
|
|
2399
|
+
return Char__hashCode_impl_otmys(this.y5_1);
|
|
2392
2400
|
};
|
|
2393
2401
|
protoOf(Char).toString = function () {
|
|
2394
|
-
return toString_0(this.
|
|
2402
|
+
return toString_0(this.y5_1);
|
|
2395
2403
|
};
|
|
2396
2404
|
function List() {
|
|
2397
2405
|
}
|
|
@@ -2410,20 +2418,20 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2410
2418
|
return Companion_instance_3;
|
|
2411
2419
|
}
|
|
2412
2420
|
function Enum(name, ordinal) {
|
|
2413
|
-
this.
|
|
2414
|
-
this.
|
|
2421
|
+
this.l6_1 = name;
|
|
2422
|
+
this.m6_1 = ordinal;
|
|
2415
2423
|
}
|
|
2416
|
-
protoOf(Enum).m6 = function () {
|
|
2417
|
-
return this.k6_1;
|
|
2418
|
-
};
|
|
2419
2424
|
protoOf(Enum).n6 = function () {
|
|
2420
2425
|
return this.l6_1;
|
|
2421
2426
|
};
|
|
2422
|
-
protoOf(Enum).o6 = function (
|
|
2423
|
-
return
|
|
2427
|
+
protoOf(Enum).o6 = function () {
|
|
2428
|
+
return this.m6_1;
|
|
2424
2429
|
};
|
|
2425
|
-
protoOf(Enum).
|
|
2426
|
-
return this.
|
|
2430
|
+
protoOf(Enum).p6 = function (other) {
|
|
2431
|
+
return compareTo_0(this.m6_1, other.m6_1);
|
|
2432
|
+
};
|
|
2433
|
+
protoOf(Enum).k6 = function (other) {
|
|
2434
|
+
return this.p6(other instanceof Enum ? other : THROW_CCE());
|
|
2427
2435
|
};
|
|
2428
2436
|
protoOf(Enum).equals = function (other) {
|
|
2429
2437
|
return this === other;
|
|
@@ -2432,7 +2440,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2432
2440
|
return identityHashCode(this);
|
|
2433
2441
|
};
|
|
2434
2442
|
protoOf(Enum).toString = function () {
|
|
2435
|
-
return this.
|
|
2443
|
+
return this.l6_1;
|
|
2436
2444
|
};
|
|
2437
2445
|
function toString_1(_this__u8e3s4) {
|
|
2438
2446
|
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_2(_this__u8e3s4);
|
|
@@ -2542,20 +2550,20 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2542
2550
|
return array;
|
|
2543
2551
|
}
|
|
2544
2552
|
function arrayIterator$1($array) {
|
|
2545
|
-
this.
|
|
2546
|
-
this.
|
|
2553
|
+
this.r6_1 = $array;
|
|
2554
|
+
this.q6_1 = 0;
|
|
2547
2555
|
}
|
|
2548
|
-
protoOf(arrayIterator$1).
|
|
2549
|
-
return !(this.
|
|
2556
|
+
protoOf(arrayIterator$1).t = function () {
|
|
2557
|
+
return !(this.q6_1 === this.r6_1.length);
|
|
2550
2558
|
};
|
|
2551
|
-
protoOf(arrayIterator$1).
|
|
2559
|
+
protoOf(arrayIterator$1).u = function () {
|
|
2552
2560
|
var tmp;
|
|
2553
|
-
if (!(this.
|
|
2554
|
-
var tmp1 = this.
|
|
2555
|
-
this.
|
|
2556
|
-
tmp = this.
|
|
2561
|
+
if (!(this.q6_1 === this.r6_1.length)) {
|
|
2562
|
+
var tmp1 = this.q6_1;
|
|
2563
|
+
this.q6_1 = tmp1 + 1 | 0;
|
|
2564
|
+
tmp = this.r6_1[tmp1];
|
|
2557
2565
|
} else {
|
|
2558
|
-
throw NoSuchElementException_init_$Create$_0('' + this.
|
|
2566
|
+
throw NoSuchElementException_init_$Create$_0('' + this.q6_1);
|
|
2559
2567
|
}
|
|
2560
2568
|
return tmp;
|
|
2561
2569
|
};
|
|
@@ -2674,28 +2682,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2674
2682
|
function arrayToString(array) {
|
|
2675
2683
|
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
2676
2684
|
}
|
|
2677
|
-
function contentEqualsInternal(_this__u8e3s4, other) {
|
|
2678
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2679
|
-
var a = _this__u8e3s4;
|
|
2680
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
2681
|
-
var b = other;
|
|
2682
|
-
if (a === b)
|
|
2683
|
-
return true;
|
|
2684
|
-
if (((a == null ? true : b == null) ? true : !isArrayish(b)) ? true : a.length != b.length)
|
|
2685
|
-
return false;
|
|
2686
|
-
var inductionVariable = 0;
|
|
2687
|
-
var last = a.length;
|
|
2688
|
-
if (inductionVariable < last)
|
|
2689
|
-
do {
|
|
2690
|
-
var i = inductionVariable;
|
|
2691
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
2692
|
-
if (!equals(a[i], b[i])) {
|
|
2693
|
-
return false;
|
|
2694
|
-
}
|
|
2695
|
-
}
|
|
2696
|
-
while (inductionVariable < last);
|
|
2697
|
-
return true;
|
|
2698
|
-
}
|
|
2699
2685
|
function arrayToString$lambda(it) {
|
|
2700
2686
|
return toString_2(it);
|
|
2701
2687
|
}
|
|
@@ -2708,7 +2694,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2708
2694
|
tmp_0 = doubleCompareTo(a, b);
|
|
2709
2695
|
} else {
|
|
2710
2696
|
if (b instanceof Long) {
|
|
2711
|
-
tmp_0 = doubleCompareTo(a, b.
|
|
2697
|
+
tmp_0 = doubleCompareTo(a, b.u6());
|
|
2712
2698
|
} else {
|
|
2713
2699
|
tmp_0 = primitiveCompareTo(a, b);
|
|
2714
2700
|
}
|
|
@@ -2764,7 +2750,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
2764
2750
|
return a < b ? -1 : a > b ? 1 : 0;
|
|
2765
2751
|
}
|
|
2766
2752
|
function compareToDoNotIntrinsicify(a, b) {
|
|
2767
|
-
return a.
|
|
2753
|
+
return a.k6(b);
|
|
2768
2754
|
}
|
|
2769
2755
|
function identityHashCode(obj) {
|
|
2770
2756
|
return getObjectHashCode(obj);
|
|
@@ -3039,10 +3025,10 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3039
3025
|
}
|
|
3040
3026
|
function Companion_4() {
|
|
3041
3027
|
Companion_instance_4 = this;
|
|
3042
|
-
this.
|
|
3043
|
-
this.
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
3028
|
+
this.v6_1 = new Long(0, -2147483648);
|
|
3029
|
+
this.w6_1 = new Long(-1, 2147483647);
|
|
3030
|
+
this.x6_1 = 8;
|
|
3031
|
+
this.y6_1 = 64;
|
|
3046
3032
|
}
|
|
3047
3033
|
var Companion_instance_4;
|
|
3048
3034
|
function Companion_getInstance_4() {
|
|
@@ -3053,53 +3039,53 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3053
3039
|
function Long(low, high) {
|
|
3054
3040
|
Companion_getInstance_4();
|
|
3055
3041
|
Number_0.call(this);
|
|
3056
|
-
this.
|
|
3057
|
-
this.
|
|
3042
|
+
this.s6_1 = low;
|
|
3043
|
+
this.t6_1 = high;
|
|
3058
3044
|
}
|
|
3059
|
-
protoOf(Long).
|
|
3045
|
+
protoOf(Long).z6 = function (other) {
|
|
3060
3046
|
return compare(this, other);
|
|
3061
3047
|
};
|
|
3062
|
-
protoOf(Long).
|
|
3063
|
-
return this.
|
|
3048
|
+
protoOf(Long).k6 = function (other) {
|
|
3049
|
+
return this.z6(other instanceof Long ? other : THROW_CCE());
|
|
3064
3050
|
};
|
|
3065
|
-
protoOf(Long).
|
|
3051
|
+
protoOf(Long).a7 = function (other) {
|
|
3066
3052
|
return add(this, other);
|
|
3067
3053
|
};
|
|
3068
|
-
protoOf(Long).
|
|
3054
|
+
protoOf(Long).b7 = function (other) {
|
|
3069
3055
|
return subtract(this, other);
|
|
3070
3056
|
};
|
|
3071
|
-
protoOf(Long).
|
|
3057
|
+
protoOf(Long).c7 = function (other) {
|
|
3072
3058
|
return multiply(this, other);
|
|
3073
3059
|
};
|
|
3074
|
-
protoOf(Long).
|
|
3060
|
+
protoOf(Long).d7 = function (other) {
|
|
3075
3061
|
return divide(this, other);
|
|
3076
3062
|
};
|
|
3077
|
-
protoOf(Long).
|
|
3078
|
-
return this.
|
|
3063
|
+
protoOf(Long).e7 = function () {
|
|
3064
|
+
return this.f7().a7(new Long(1, 0));
|
|
3079
3065
|
};
|
|
3080
|
-
protoOf(Long).
|
|
3066
|
+
protoOf(Long).g7 = function (bitCount) {
|
|
3081
3067
|
return shiftLeft(this, bitCount);
|
|
3082
3068
|
};
|
|
3083
|
-
protoOf(Long).g7 = function (other) {
|
|
3084
|
-
return new Long(this.r6_1 & other.r6_1, this.s6_1 & other.s6_1);
|
|
3085
|
-
};
|
|
3086
3069
|
protoOf(Long).h7 = function (other) {
|
|
3087
|
-
return new Long(this.
|
|
3070
|
+
return new Long(this.s6_1 & other.s6_1, this.t6_1 & other.t6_1);
|
|
3088
3071
|
};
|
|
3089
|
-
protoOf(Long).
|
|
3090
|
-
return new Long(
|
|
3072
|
+
protoOf(Long).i7 = function (other) {
|
|
3073
|
+
return new Long(this.s6_1 | other.s6_1, this.t6_1 | other.t6_1);
|
|
3091
3074
|
};
|
|
3092
|
-
protoOf(Long).
|
|
3093
|
-
return
|
|
3075
|
+
protoOf(Long).f7 = function () {
|
|
3076
|
+
return new Long(~this.s6_1, ~this.t6_1);
|
|
3094
3077
|
};
|
|
3095
3078
|
protoOf(Long).j7 = function () {
|
|
3096
|
-
return this.
|
|
3079
|
+
return toByte(this.s6_1);
|
|
3080
|
+
};
|
|
3081
|
+
protoOf(Long).k7 = function () {
|
|
3082
|
+
return this.s6_1;
|
|
3097
3083
|
};
|
|
3098
|
-
protoOf(Long).
|
|
3084
|
+
protoOf(Long).u6 = function () {
|
|
3099
3085
|
return toNumber(this);
|
|
3100
3086
|
};
|
|
3101
3087
|
protoOf(Long).valueOf = function () {
|
|
3102
|
-
return this.
|
|
3088
|
+
return this.u6();
|
|
3103
3089
|
};
|
|
3104
3090
|
protoOf(Long).equals = function (other) {
|
|
3105
3091
|
var tmp;
|
|
@@ -3157,14 +3143,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3157
3143
|
}
|
|
3158
3144
|
function add(_this__u8e3s4, other) {
|
|
3159
3145
|
_init_properties_longjs_kt__tqrzid();
|
|
3160
|
-
var a48 = _this__u8e3s4.
|
|
3161
|
-
var a32 = _this__u8e3s4.
|
|
3162
|
-
var a16 = _this__u8e3s4.
|
|
3163
|
-
var a00 = _this__u8e3s4.
|
|
3164
|
-
var b48 = other.
|
|
3165
|
-
var b32 = other.
|
|
3166
|
-
var b16 = other.
|
|
3167
|
-
var b00 = other.
|
|
3146
|
+
var a48 = _this__u8e3s4.t6_1 >>> 16 | 0;
|
|
3147
|
+
var a32 = _this__u8e3s4.t6_1 & 65535;
|
|
3148
|
+
var a16 = _this__u8e3s4.s6_1 >>> 16 | 0;
|
|
3149
|
+
var a00 = _this__u8e3s4.s6_1 & 65535;
|
|
3150
|
+
var b48 = other.t6_1 >>> 16 | 0;
|
|
3151
|
+
var b32 = other.t6_1 & 65535;
|
|
3152
|
+
var b16 = other.s6_1 >>> 16 | 0;
|
|
3153
|
+
var b00 = other.s6_1 & 65535;
|
|
3168
3154
|
var c48 = 0;
|
|
3169
3155
|
var c32 = 0;
|
|
3170
3156
|
var c16 = 0;
|
|
@@ -3184,7 +3170,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3184
3170
|
}
|
|
3185
3171
|
function subtract(_this__u8e3s4, other) {
|
|
3186
3172
|
_init_properties_longjs_kt__tqrzid();
|
|
3187
|
-
return add(_this__u8e3s4, other.
|
|
3173
|
+
return add(_this__u8e3s4, other.e7());
|
|
3188
3174
|
}
|
|
3189
3175
|
function multiply(_this__u8e3s4, other) {
|
|
3190
3176
|
_init_properties_longjs_kt__tqrzid();
|
|
@@ -3212,14 +3198,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3212
3198
|
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) ? lessThan(other, get_TWO_PWR_24_()) : false) {
|
|
3213
3199
|
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
|
|
3214
3200
|
}
|
|
3215
|
-
var a48 = _this__u8e3s4.
|
|
3216
|
-
var a32 = _this__u8e3s4.
|
|
3217
|
-
var a16 = _this__u8e3s4.
|
|
3218
|
-
var a00 = _this__u8e3s4.
|
|
3219
|
-
var b48 = other.
|
|
3220
|
-
var b32 = other.
|
|
3221
|
-
var b16 = other.
|
|
3222
|
-
var b00 = other.
|
|
3201
|
+
var a48 = _this__u8e3s4.t6_1 >>> 16 | 0;
|
|
3202
|
+
var a32 = _this__u8e3s4.t6_1 & 65535;
|
|
3203
|
+
var a16 = _this__u8e3s4.s6_1 >>> 16 | 0;
|
|
3204
|
+
var a00 = _this__u8e3s4.s6_1 & 65535;
|
|
3205
|
+
var b48 = other.t6_1 >>> 16 | 0;
|
|
3206
|
+
var b32 = other.t6_1 & 65535;
|
|
3207
|
+
var b16 = other.s6_1 >>> 16 | 0;
|
|
3208
|
+
var b00 = other.s6_1 & 65535;
|
|
3223
3209
|
var c48 = 0;
|
|
3224
3210
|
var c32 = 0;
|
|
3225
3211
|
var c16 = 0;
|
|
@@ -3260,12 +3246,12 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3260
3246
|
return get_ONE();
|
|
3261
3247
|
} else {
|
|
3262
3248
|
var halfThis = shiftRight(_this__u8e3s4, 1);
|
|
3263
|
-
var approx = shiftLeft(halfThis.
|
|
3249
|
+
var approx = shiftLeft(halfThis.d7(other), 1);
|
|
3264
3250
|
if (equalsLong(approx, get_ZERO())) {
|
|
3265
3251
|
return isNegative(other) ? get_ONE() : get_NEG_ONE();
|
|
3266
3252
|
} else {
|
|
3267
3253
|
var rem = subtract(_this__u8e3s4, multiply(other, approx));
|
|
3268
|
-
return add(approx, rem.
|
|
3254
|
+
return add(approx, rem.d7(other));
|
|
3269
3255
|
}
|
|
3270
3256
|
}
|
|
3271
3257
|
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
@@ -3274,13 +3260,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3274
3260
|
if (isNegative(_this__u8e3s4)) {
|
|
3275
3261
|
var tmp;
|
|
3276
3262
|
if (isNegative(other)) {
|
|
3277
|
-
tmp = negate(_this__u8e3s4).
|
|
3263
|
+
tmp = negate(_this__u8e3s4).d7(negate(other));
|
|
3278
3264
|
} else {
|
|
3279
|
-
tmp = negate(negate(_this__u8e3s4).
|
|
3265
|
+
tmp = negate(negate(_this__u8e3s4).d7(other));
|
|
3280
3266
|
}
|
|
3281
3267
|
return tmp;
|
|
3282
3268
|
} else if (isNegative(other)) {
|
|
3283
|
-
return negate(_this__u8e3s4.
|
|
3269
|
+
return negate(_this__u8e3s4.d7(negate(other)));
|
|
3284
3270
|
}
|
|
3285
3271
|
var res = get_ZERO();
|
|
3286
3272
|
var rem_0 = _this__u8e3s4;
|
|
@@ -3311,9 +3297,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3311
3297
|
return _this__u8e3s4;
|
|
3312
3298
|
} else {
|
|
3313
3299
|
if (numBits_0 < 32) {
|
|
3314
|
-
return new Long(_this__u8e3s4.
|
|
3300
|
+
return new Long(_this__u8e3s4.s6_1 << numBits_0, _this__u8e3s4.t6_1 << numBits_0 | (_this__u8e3s4.s6_1 >>> (32 - numBits_0 | 0) | 0));
|
|
3315
3301
|
} else {
|
|
3316
|
-
return new Long(0, _this__u8e3s4.
|
|
3302
|
+
return new Long(0, _this__u8e3s4.s6_1 << (numBits_0 - 32 | 0));
|
|
3317
3303
|
}
|
|
3318
3304
|
}
|
|
3319
3305
|
}
|
|
@@ -3324,23 +3310,23 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3324
3310
|
return _this__u8e3s4;
|
|
3325
3311
|
} else {
|
|
3326
3312
|
if (numBits_0 < 32) {
|
|
3327
|
-
return new Long(_this__u8e3s4.
|
|
3313
|
+
return new Long(_this__u8e3s4.s6_1 >>> numBits_0 | 0 | _this__u8e3s4.t6_1 << (32 - numBits_0 | 0), _this__u8e3s4.t6_1 >> numBits_0);
|
|
3328
3314
|
} else {
|
|
3329
|
-
return new Long(_this__u8e3s4.
|
|
3315
|
+
return new Long(_this__u8e3s4.t6_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.t6_1 >= 0 ? 0 : -1);
|
|
3330
3316
|
}
|
|
3331
3317
|
}
|
|
3332
3318
|
}
|
|
3333
3319
|
function toNumber(_this__u8e3s4) {
|
|
3334
3320
|
_init_properties_longjs_kt__tqrzid();
|
|
3335
|
-
return _this__u8e3s4.
|
|
3321
|
+
return _this__u8e3s4.t6_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
3336
3322
|
}
|
|
3337
3323
|
function equalsLong(_this__u8e3s4, other) {
|
|
3338
3324
|
_init_properties_longjs_kt__tqrzid();
|
|
3339
|
-
return _this__u8e3s4.
|
|
3325
|
+
return _this__u8e3s4.t6_1 === other.t6_1 ? _this__u8e3s4.s6_1 === other.s6_1 : false;
|
|
3340
3326
|
}
|
|
3341
3327
|
function hashCode_0(l) {
|
|
3342
3328
|
_init_properties_longjs_kt__tqrzid();
|
|
3343
|
-
return l.
|
|
3329
|
+
return l.s6_1 ^ l.t6_1;
|
|
3344
3330
|
}
|
|
3345
3331
|
function toStringImpl(_this__u8e3s4, radix) {
|
|
3346
3332
|
_init_properties_longjs_kt__tqrzid();
|
|
@@ -3353,8 +3339,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3353
3339
|
if (isNegative(_this__u8e3s4)) {
|
|
3354
3340
|
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3355
3341
|
var radixLong = fromInt(radix);
|
|
3356
|
-
var div = _this__u8e3s4.
|
|
3357
|
-
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).
|
|
3342
|
+
var div = _this__u8e3s4.d7(radixLong);
|
|
3343
|
+
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).k7();
|
|
3358
3344
|
var tmp = toStringImpl(div, radix);
|
|
3359
3345
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3360
3346
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3368,8 +3354,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3368
3354
|
var rem_0 = _this__u8e3s4;
|
|
3369
3355
|
var result = '';
|
|
3370
3356
|
while (true) {
|
|
3371
|
-
var remDiv = rem_0.
|
|
3372
|
-
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).
|
|
3357
|
+
var remDiv = rem_0.d7(radixToPower);
|
|
3358
|
+
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).k7();
|
|
3373
3359
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3374
3360
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3375
3361
|
var digits = intval.toString(radix);
|
|
@@ -3390,19 +3376,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3390
3376
|
}
|
|
3391
3377
|
function isNegative(_this__u8e3s4) {
|
|
3392
3378
|
_init_properties_longjs_kt__tqrzid();
|
|
3393
|
-
return _this__u8e3s4.
|
|
3379
|
+
return _this__u8e3s4.t6_1 < 0;
|
|
3394
3380
|
}
|
|
3395
3381
|
function isZero(_this__u8e3s4) {
|
|
3396
3382
|
_init_properties_longjs_kt__tqrzid();
|
|
3397
|
-
return _this__u8e3s4.
|
|
3383
|
+
return _this__u8e3s4.t6_1 === 0 ? _this__u8e3s4.s6_1 === 0 : false;
|
|
3398
3384
|
}
|
|
3399
3385
|
function isOdd(_this__u8e3s4) {
|
|
3400
3386
|
_init_properties_longjs_kt__tqrzid();
|
|
3401
|
-
return (_this__u8e3s4.
|
|
3387
|
+
return (_this__u8e3s4.s6_1 & 1) === 1;
|
|
3402
3388
|
}
|
|
3403
3389
|
function negate(_this__u8e3s4) {
|
|
3404
3390
|
_init_properties_longjs_kt__tqrzid();
|
|
3405
|
-
return _this__u8e3s4.
|
|
3391
|
+
return _this__u8e3s4.e7();
|
|
3406
3392
|
}
|
|
3407
3393
|
function lessThan(_this__u8e3s4, other) {
|
|
3408
3394
|
_init_properties_longjs_kt__tqrzid();
|
|
@@ -3437,7 +3423,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3437
3423
|
}
|
|
3438
3424
|
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
3439
3425
|
_init_properties_longjs_kt__tqrzid();
|
|
3440
|
-
return _this__u8e3s4.
|
|
3426
|
+
return _this__u8e3s4.s6_1 >= 0 ? _this__u8e3s4.s6_1 : 4.294967296E9 + _this__u8e3s4.s6_1;
|
|
3441
3427
|
}
|
|
3442
3428
|
var properties_initialized_longjs_kt_5aju7t;
|
|
3443
3429
|
function _init_properties_longjs_kt__tqrzid() {
|
|
@@ -3543,7 +3529,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3543
3529
|
function numberToInt(a) {
|
|
3544
3530
|
var tmp;
|
|
3545
3531
|
if (a instanceof Long) {
|
|
3546
|
-
tmp = a.
|
|
3532
|
+
tmp = a.k7();
|
|
3547
3533
|
} else {
|
|
3548
3534
|
tmp = doubleToInt(a);
|
|
3549
3535
|
}
|
|
@@ -3659,7 +3645,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3659
3645
|
function fill(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
3660
3646
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
3661
3647
|
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
3662
|
-
Companion_instance_5.
|
|
3648
|
+
Companion_instance_5.i(fromIndex, toIndex, _this__u8e3s4.length);
|
|
3663
3649
|
// Inline function 'kotlin.js.nativeFill' call
|
|
3664
3650
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3665
3651
|
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
@@ -3685,12 +3671,12 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3685
3671
|
return fillFrom(_this__u8e3s4, new Int8Array(newSize));
|
|
3686
3672
|
}
|
|
3687
3673
|
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
3688
|
-
Companion_instance_5.
|
|
3674
|
+
Companion_instance_5.i(fromIndex, toIndex, _this__u8e3s4.length);
|
|
3689
3675
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3690
3676
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
3691
3677
|
}
|
|
3692
3678
|
function copyOfRange_0(_this__u8e3s4, fromIndex, toIndex) {
|
|
3693
|
-
Companion_instance_5.
|
|
3679
|
+
Companion_instance_5.i(fromIndex, toIndex, _this__u8e3s4.length);
|
|
3694
3680
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3695
3681
|
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
3696
3682
|
}
|
|
@@ -3707,9 +3693,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3707
3693
|
}
|
|
3708
3694
|
return arrayCopyResize(_this__u8e3s4, newSize, null);
|
|
3709
3695
|
}
|
|
3710
|
-
function contentEquals_0(_this__u8e3s4, other) {
|
|
3711
|
-
return contentEqualsInternal(_this__u8e3s4, other);
|
|
3712
|
-
}
|
|
3713
3696
|
function digitToIntImpl(_this__u8e3s4) {
|
|
3714
3697
|
// Inline function 'kotlin.code' call
|
|
3715
3698
|
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
@@ -3987,6 +3970,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3987
3970
|
function ClassCastException() {
|
|
3988
3971
|
captureStack(this, ClassCastException);
|
|
3989
3972
|
}
|
|
3973
|
+
function toString_3(_this__u8e3s4, radix) {
|
|
3974
|
+
return toStringImpl(_this__u8e3s4, checkRadix(radix));
|
|
3975
|
+
}
|
|
3990
3976
|
function AbstractCollection$toString$lambda(this$0) {
|
|
3991
3977
|
return function (it) {
|
|
3992
3978
|
return it === this$0 ? '(this Collection)' : toString_1(it);
|
|
@@ -3994,13 +3980,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
3994
3980
|
}
|
|
3995
3981
|
function AbstractCollection() {
|
|
3996
3982
|
}
|
|
3997
|
-
protoOf(AbstractCollection).
|
|
3983
|
+
protoOf(AbstractCollection).n = function (element) {
|
|
3998
3984
|
var tmp$ret$0;
|
|
3999
3985
|
$l$block_0: {
|
|
4000
3986
|
// Inline function 'kotlin.collections.any' call
|
|
4001
3987
|
var tmp;
|
|
4002
3988
|
if (isInterface(this, Collection)) {
|
|
4003
|
-
tmp = this.
|
|
3989
|
+
tmp = this.p();
|
|
4004
3990
|
} else {
|
|
4005
3991
|
tmp = false;
|
|
4006
3992
|
}
|
|
@@ -4008,9 +3994,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4008
3994
|
tmp$ret$0 = false;
|
|
4009
3995
|
break $l$block_0;
|
|
4010
3996
|
}
|
|
4011
|
-
var tmp0_iterator = this.
|
|
4012
|
-
while (tmp0_iterator.
|
|
4013
|
-
var element_0 = tmp0_iterator.
|
|
3997
|
+
var tmp0_iterator = this.m();
|
|
3998
|
+
while (tmp0_iterator.t()) {
|
|
3999
|
+
var element_0 = tmp0_iterator.u();
|
|
4014
4000
|
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
4015
4001
|
if (equals(element_0, element)) {
|
|
4016
4002
|
tmp$ret$0 = true;
|
|
@@ -4021,13 +4007,13 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4021
4007
|
}
|
|
4022
4008
|
return tmp$ret$0;
|
|
4023
4009
|
};
|
|
4024
|
-
protoOf(AbstractCollection).
|
|
4010
|
+
protoOf(AbstractCollection).o = function (elements) {
|
|
4025
4011
|
var tmp$ret$0;
|
|
4026
4012
|
$l$block_0: {
|
|
4027
4013
|
// Inline function 'kotlin.collections.all' call
|
|
4028
4014
|
var tmp;
|
|
4029
4015
|
if (isInterface(elements, Collection)) {
|
|
4030
|
-
tmp = elements.
|
|
4016
|
+
tmp = elements.p();
|
|
4031
4017
|
} else {
|
|
4032
4018
|
tmp = false;
|
|
4033
4019
|
}
|
|
@@ -4035,11 +4021,11 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4035
4021
|
tmp$ret$0 = true;
|
|
4036
4022
|
break $l$block_0;
|
|
4037
4023
|
}
|
|
4038
|
-
var tmp0_iterator = elements.
|
|
4039
|
-
while (tmp0_iterator.
|
|
4040
|
-
var element = tmp0_iterator.
|
|
4024
|
+
var tmp0_iterator = elements.m();
|
|
4025
|
+
while (tmp0_iterator.t()) {
|
|
4026
|
+
var element = tmp0_iterator.u();
|
|
4041
4027
|
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
4042
|
-
if (!this.
|
|
4028
|
+
if (!this.n(element)) {
|
|
4043
4029
|
tmp$ret$0 = false;
|
|
4044
4030
|
break $l$block_0;
|
|
4045
4031
|
}
|
|
@@ -4048,8 +4034,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4048
4034
|
}
|
|
4049
4035
|
return tmp$ret$0;
|
|
4050
4036
|
};
|
|
4051
|
-
protoOf(AbstractCollection).
|
|
4052
|
-
return this.
|
|
4037
|
+
protoOf(AbstractCollection).p = function () {
|
|
4038
|
+
return this.l() === 0;
|
|
4053
4039
|
};
|
|
4054
4040
|
protoOf(AbstractCollection).toString = function () {
|
|
4055
4041
|
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
@@ -4058,19 +4044,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4058
4044
|
return collectionToArray(this);
|
|
4059
4045
|
};
|
|
4060
4046
|
function Companion_5() {
|
|
4061
|
-
this.
|
|
4047
|
+
this.h_1 = 2147483639;
|
|
4062
4048
|
}
|
|
4063
|
-
protoOf(Companion_5).
|
|
4049
|
+
protoOf(Companion_5).r1 = function (index, size) {
|
|
4064
4050
|
if (index < 0 ? true : index >= size) {
|
|
4065
4051
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4066
4052
|
}
|
|
4067
4053
|
};
|
|
4068
|
-
protoOf(Companion_5).
|
|
4054
|
+
protoOf(Companion_5).d1 = function (index, size) {
|
|
4069
4055
|
if (index < 0 ? true : index > size) {
|
|
4070
4056
|
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
|
|
4071
4057
|
}
|
|
4072
4058
|
};
|
|
4073
|
-
protoOf(Companion_5).
|
|
4059
|
+
protoOf(Companion_5).i = function (fromIndex, toIndex, size) {
|
|
4074
4060
|
if (fromIndex < 0 ? true : toIndex > size) {
|
|
4075
4061
|
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
4076
4062
|
}
|
|
@@ -4078,7 +4064,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4078
4064
|
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
4079
4065
|
}
|
|
4080
4066
|
};
|
|
4081
|
-
protoOf(Companion_5).
|
|
4067
|
+
protoOf(Companion_5).d4 = function (startIndex, endIndex, size) {
|
|
4082
4068
|
if (startIndex < 0 ? true : endIndex > size) {
|
|
4083
4069
|
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
4084
4070
|
}
|
|
@@ -4086,7 +4072,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4086
4072
|
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
4087
4073
|
}
|
|
4088
4074
|
};
|
|
4089
|
-
protoOf(Companion_5).
|
|
4075
|
+
protoOf(Companion_5).h2 = function (oldCapacity, minCapacity) {
|
|
4090
4076
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
4091
4077
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
4092
4078
|
newCapacity = minCapacity;
|
|
@@ -4094,25 +4080,25 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4094
4080
|
newCapacity = minCapacity > 2147483639 ? IntCompanionObject_instance.MAX_VALUE : 2147483639;
|
|
4095
4081
|
return newCapacity;
|
|
4096
4082
|
};
|
|
4097
|
-
protoOf(Companion_5).
|
|
4083
|
+
protoOf(Companion_5).k1 = function (c) {
|
|
4098
4084
|
var hashCode_0 = 1;
|
|
4099
|
-
var tmp0_iterator = c.
|
|
4100
|
-
while (tmp0_iterator.
|
|
4101
|
-
var e = tmp0_iterator.
|
|
4085
|
+
var tmp0_iterator = c.m();
|
|
4086
|
+
while (tmp0_iterator.t()) {
|
|
4087
|
+
var e = tmp0_iterator.u();
|
|
4102
4088
|
var tmp = imul(31, hashCode_0);
|
|
4103
4089
|
var tmp2_elvis_lhs = e == null ? null : hashCode(e);
|
|
4104
4090
|
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
4105
4091
|
}
|
|
4106
4092
|
return hashCode_0;
|
|
4107
4093
|
};
|
|
4108
|
-
protoOf(Companion_5).
|
|
4109
|
-
if (!(c.
|
|
4094
|
+
protoOf(Companion_5).j1 = function (c, other) {
|
|
4095
|
+
if (!(c.l() === other.l()))
|
|
4110
4096
|
return false;
|
|
4111
|
-
var otherIterator = other.
|
|
4112
|
-
var tmp0_iterator = c.
|
|
4113
|
-
while (tmp0_iterator.
|
|
4114
|
-
var elem = tmp0_iterator.
|
|
4115
|
-
var elemOther = otherIterator.
|
|
4097
|
+
var otherIterator = other.m();
|
|
4098
|
+
var tmp0_iterator = c.m();
|
|
4099
|
+
while (tmp0_iterator.t()) {
|
|
4100
|
+
var elem = tmp0_iterator.u();
|
|
4101
|
+
var elemOther = otherIterator.u();
|
|
4116
4102
|
if (!equals(elem, elemOther)) {
|
|
4117
4103
|
return false;
|
|
4118
4104
|
}
|
|
@@ -4125,49 +4111,49 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4125
4111
|
}
|
|
4126
4112
|
function Companion_6() {
|
|
4127
4113
|
}
|
|
4128
|
-
protoOf(Companion_6).
|
|
4114
|
+
protoOf(Companion_6).m1 = function (c) {
|
|
4129
4115
|
var hashCode_0 = 0;
|
|
4130
|
-
var tmp0_iterator = c.
|
|
4131
|
-
while (tmp0_iterator.
|
|
4132
|
-
var element = tmp0_iterator.
|
|
4116
|
+
var tmp0_iterator = c.m();
|
|
4117
|
+
while (tmp0_iterator.t()) {
|
|
4118
|
+
var element = tmp0_iterator.u();
|
|
4133
4119
|
var tmp = hashCode_0;
|
|
4134
4120
|
var tmp2_elvis_lhs = element == null ? null : hashCode(element);
|
|
4135
4121
|
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
4136
4122
|
}
|
|
4137
4123
|
return hashCode_0;
|
|
4138
4124
|
};
|
|
4139
|
-
protoOf(Companion_6).
|
|
4140
|
-
if (!(c.
|
|
4125
|
+
protoOf(Companion_6).l1 = function (c, other) {
|
|
4126
|
+
if (!(c.l() === other.l()))
|
|
4141
4127
|
return false;
|
|
4142
4128
|
// Inline function 'kotlin.collections.containsAll' call
|
|
4143
|
-
return c.
|
|
4129
|
+
return c.o(other);
|
|
4144
4130
|
};
|
|
4145
4131
|
var Companion_instance_6;
|
|
4146
4132
|
function Companion_getInstance_6() {
|
|
4147
4133
|
return Companion_instance_6;
|
|
4148
4134
|
}
|
|
4149
4135
|
function collectionToArrayCommonImpl(collection) {
|
|
4150
|
-
if (collection.
|
|
4136
|
+
if (collection.p()) {
|
|
4151
4137
|
// Inline function 'kotlin.emptyArray' call
|
|
4152
4138
|
return [];
|
|
4153
4139
|
}
|
|
4154
4140
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4155
|
-
var size = collection.
|
|
4141
|
+
var size = collection.l();
|
|
4156
4142
|
var destination = fillArrayVal(Array(size), null);
|
|
4157
|
-
var iterator = collection.
|
|
4143
|
+
var iterator = collection.m();
|
|
4158
4144
|
var index = 0;
|
|
4159
|
-
while (iterator.
|
|
4145
|
+
while (iterator.t()) {
|
|
4160
4146
|
var tmp0 = index;
|
|
4161
4147
|
index = tmp0 + 1 | 0;
|
|
4162
|
-
destination[tmp0] = iterator.
|
|
4148
|
+
destination[tmp0] = iterator.u();
|
|
4163
4149
|
}
|
|
4164
4150
|
return destination;
|
|
4165
4151
|
}
|
|
4166
4152
|
function emptyList() {
|
|
4167
4153
|
return EmptyList_getInstance();
|
|
4168
4154
|
}
|
|
4169
|
-
function
|
|
4170
|
-
return _this__u8e3s4.
|
|
4155
|
+
function get_indices(_this__u8e3s4) {
|
|
4156
|
+
return numberRangeToNumber(0, _this__u8e3s4.l() - 1 | 0);
|
|
4171
4157
|
}
|
|
4172
4158
|
function EmptyList() {
|
|
4173
4159
|
EmptyList_instance = this;
|
|
@@ -4176,7 +4162,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4176
4162
|
protoOf(EmptyList).equals = function (other) {
|
|
4177
4163
|
var tmp;
|
|
4178
4164
|
if (!(other == null) ? isInterface(other, List) : false) {
|
|
4179
|
-
tmp = other.
|
|
4165
|
+
tmp = other.p();
|
|
4180
4166
|
} else {
|
|
4181
4167
|
tmp = false;
|
|
4182
4168
|
}
|
|
@@ -4188,25 +4174,25 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4188
4174
|
protoOf(EmptyList).toString = function () {
|
|
4189
4175
|
return '[]';
|
|
4190
4176
|
};
|
|
4191
|
-
protoOf(EmptyList).
|
|
4177
|
+
protoOf(EmptyList).l = function () {
|
|
4192
4178
|
return 0;
|
|
4193
4179
|
};
|
|
4194
|
-
protoOf(EmptyList).
|
|
4180
|
+
protoOf(EmptyList).p = function () {
|
|
4195
4181
|
return true;
|
|
4196
4182
|
};
|
|
4197
4183
|
protoOf(EmptyList).n7 = function (elements) {
|
|
4198
|
-
return elements.
|
|
4184
|
+
return elements.p();
|
|
4199
4185
|
};
|
|
4200
|
-
protoOf(EmptyList).
|
|
4186
|
+
protoOf(EmptyList).o = function (elements) {
|
|
4201
4187
|
return this.n7(elements);
|
|
4202
4188
|
};
|
|
4203
|
-
protoOf(EmptyList).
|
|
4189
|
+
protoOf(EmptyList).v = function (index) {
|
|
4204
4190
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
4205
4191
|
};
|
|
4206
4192
|
protoOf(EmptyList).o7 = function (element) {
|
|
4207
4193
|
return -1;
|
|
4208
4194
|
};
|
|
4209
|
-
protoOf(EmptyList).
|
|
4195
|
+
protoOf(EmptyList).h1 = function (element) {
|
|
4210
4196
|
if (!false)
|
|
4211
4197
|
return -1;
|
|
4212
4198
|
var tmp;
|
|
@@ -4217,7 +4203,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4217
4203
|
}
|
|
4218
4204
|
return this.o7(tmp);
|
|
4219
4205
|
};
|
|
4220
|
-
protoOf(EmptyList).
|
|
4206
|
+
protoOf(EmptyList).m = function () {
|
|
4221
4207
|
return EmptyIterator_instance;
|
|
4222
4208
|
};
|
|
4223
4209
|
var EmptyList_instance;
|
|
@@ -4230,10 +4216,10 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4230
4216
|
this.p7_1 = values;
|
|
4231
4217
|
this.q7_1 = isVarargs;
|
|
4232
4218
|
}
|
|
4233
|
-
protoOf(ArrayAsCollection).
|
|
4219
|
+
protoOf(ArrayAsCollection).l = function () {
|
|
4234
4220
|
return this.p7_1.length;
|
|
4235
4221
|
};
|
|
4236
|
-
protoOf(ArrayAsCollection).
|
|
4222
|
+
protoOf(ArrayAsCollection).p = function () {
|
|
4237
4223
|
// Inline function 'kotlin.collections.isEmpty' call
|
|
4238
4224
|
return this.p7_1.length === 0;
|
|
4239
4225
|
};
|
|
@@ -4246,7 +4232,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4246
4232
|
// Inline function 'kotlin.collections.all' call
|
|
4247
4233
|
var tmp;
|
|
4248
4234
|
if (isInterface(elements, Collection)) {
|
|
4249
|
-
tmp = elements.
|
|
4235
|
+
tmp = elements.p();
|
|
4250
4236
|
} else {
|
|
4251
4237
|
tmp = false;
|
|
4252
4238
|
}
|
|
@@ -4254,9 +4240,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4254
4240
|
tmp$ret$0 = true;
|
|
4255
4241
|
break $l$block_0;
|
|
4256
4242
|
}
|
|
4257
|
-
var tmp0_iterator = elements.
|
|
4258
|
-
while (tmp0_iterator.
|
|
4259
|
-
var element = tmp0_iterator.
|
|
4243
|
+
var tmp0_iterator = elements.m();
|
|
4244
|
+
while (tmp0_iterator.t()) {
|
|
4245
|
+
var element = tmp0_iterator.u();
|
|
4260
4246
|
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
4261
4247
|
if (!this.r7(element)) {
|
|
4262
4248
|
tmp$ret$0 = false;
|
|
@@ -4267,34 +4253,34 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4267
4253
|
}
|
|
4268
4254
|
return tmp$ret$0;
|
|
4269
4255
|
};
|
|
4270
|
-
protoOf(ArrayAsCollection).
|
|
4256
|
+
protoOf(ArrayAsCollection).o = function (elements) {
|
|
4271
4257
|
return this.s7(elements);
|
|
4272
4258
|
};
|
|
4273
|
-
protoOf(ArrayAsCollection).
|
|
4259
|
+
protoOf(ArrayAsCollection).m = function () {
|
|
4274
4260
|
return arrayIterator(this.p7_1);
|
|
4275
4261
|
};
|
|
4276
4262
|
function EmptyIterator() {
|
|
4277
4263
|
}
|
|
4278
|
-
protoOf(EmptyIterator).
|
|
4264
|
+
protoOf(EmptyIterator).t = function () {
|
|
4279
4265
|
return false;
|
|
4280
4266
|
};
|
|
4281
|
-
protoOf(EmptyIterator).
|
|
4267
|
+
protoOf(EmptyIterator).u = function () {
|
|
4282
4268
|
throw NoSuchElementException_init_$Create$();
|
|
4283
4269
|
};
|
|
4284
4270
|
var EmptyIterator_instance;
|
|
4285
4271
|
function EmptyIterator_getInstance() {
|
|
4286
4272
|
return EmptyIterator_instance;
|
|
4287
4273
|
}
|
|
4274
|
+
function get_lastIndex(_this__u8e3s4) {
|
|
4275
|
+
return _this__u8e3s4.l() - 1 | 0;
|
|
4276
|
+
}
|
|
4288
4277
|
function arrayListOf(elements) {
|
|
4289
4278
|
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
4290
4279
|
}
|
|
4291
|
-
function get_indices(_this__u8e3s4) {
|
|
4292
|
-
return numberRangeToNumber(0, _this__u8e3s4.j() - 1 | 0);
|
|
4293
|
-
}
|
|
4294
4280
|
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
4295
4281
|
var tmp;
|
|
4296
4282
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
4297
|
-
tmp = _this__u8e3s4.
|
|
4283
|
+
tmp = _this__u8e3s4.l();
|
|
4298
4284
|
} else {
|
|
4299
4285
|
tmp = default_0;
|
|
4300
4286
|
}
|
|
@@ -4302,16 +4288,16 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4302
4288
|
}
|
|
4303
4289
|
function removeLast(_this__u8e3s4) {
|
|
4304
4290
|
var tmp;
|
|
4305
|
-
if (_this__u8e3s4.
|
|
4291
|
+
if (_this__u8e3s4.p()) {
|
|
4306
4292
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
4307
4293
|
} else {
|
|
4308
|
-
tmp = _this__u8e3s4.
|
|
4294
|
+
tmp = _this__u8e3s4.y(get_lastIndex(_this__u8e3s4));
|
|
4309
4295
|
}
|
|
4310
4296
|
return tmp;
|
|
4311
4297
|
}
|
|
4312
4298
|
function IntIterator() {
|
|
4313
4299
|
}
|
|
4314
|
-
protoOf(IntIterator).
|
|
4300
|
+
protoOf(IntIterator).u = function () {
|
|
4315
4301
|
return this.t7();
|
|
4316
4302
|
};
|
|
4317
4303
|
function CharIterator() {
|
|
@@ -4319,7 +4305,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4319
4305
|
protoOf(CharIterator).u7 = function () {
|
|
4320
4306
|
return this.v7();
|
|
4321
4307
|
};
|
|
4322
|
-
protoOf(CharIterator).
|
|
4308
|
+
protoOf(CharIterator).u = function () {
|
|
4323
4309
|
return new Char(this.u7());
|
|
4324
4310
|
};
|
|
4325
4311
|
function generateSequence(seedFunction, nextFunction) {
|
|
@@ -4327,19 +4313,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4327
4313
|
}
|
|
4328
4314
|
function TransformingSequence$iterator$1(this$0) {
|
|
4329
4315
|
this.x7_1 = this$0;
|
|
4330
|
-
this.w7_1 = this$0.y7_1.
|
|
4316
|
+
this.w7_1 = this$0.y7_1.m();
|
|
4331
4317
|
}
|
|
4332
|
-
protoOf(TransformingSequence$iterator$1).
|
|
4333
|
-
return this.x7_1.z7_1(this.w7_1.
|
|
4318
|
+
protoOf(TransformingSequence$iterator$1).u = function () {
|
|
4319
|
+
return this.x7_1.z7_1(this.w7_1.u());
|
|
4334
4320
|
};
|
|
4335
|
-
protoOf(TransformingSequence$iterator$1).
|
|
4336
|
-
return this.w7_1.
|
|
4321
|
+
protoOf(TransformingSequence$iterator$1).t = function () {
|
|
4322
|
+
return this.w7_1.t();
|
|
4337
4323
|
};
|
|
4338
4324
|
function TransformingSequence(sequence, transformer) {
|
|
4339
4325
|
this.y7_1 = sequence;
|
|
4340
4326
|
this.z7_1 = transformer;
|
|
4341
4327
|
}
|
|
4342
|
-
protoOf(TransformingSequence).
|
|
4328
|
+
protoOf(TransformingSequence).m = function () {
|
|
4343
4329
|
return new TransformingSequence$iterator$1(this);
|
|
4344
4330
|
};
|
|
4345
4331
|
function calcNext($this) {
|
|
@@ -4351,7 +4337,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4351
4337
|
this.a8_1 = null;
|
|
4352
4338
|
this.b8_1 = -2;
|
|
4353
4339
|
}
|
|
4354
|
-
protoOf(GeneratorSequence$iterator$1).
|
|
4340
|
+
protoOf(GeneratorSequence$iterator$1).u = function () {
|
|
4355
4341
|
if (this.b8_1 < 0) {
|
|
4356
4342
|
calcNext(this);
|
|
4357
4343
|
}
|
|
@@ -4362,7 +4348,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4362
4348
|
this.b8_1 = -1;
|
|
4363
4349
|
return result;
|
|
4364
4350
|
};
|
|
4365
|
-
protoOf(GeneratorSequence$iterator$1).
|
|
4351
|
+
protoOf(GeneratorSequence$iterator$1).t = function () {
|
|
4366
4352
|
if (this.b8_1 < 0) {
|
|
4367
4353
|
calcNext(this);
|
|
4368
4354
|
}
|
|
@@ -4372,12 +4358,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4372
4358
|
this.d8_1 = getInitialValue;
|
|
4373
4359
|
this.e8_1 = getNextValue;
|
|
4374
4360
|
}
|
|
4375
|
-
protoOf(GeneratorSequence).
|
|
4361
|
+
protoOf(GeneratorSequence).m = function () {
|
|
4376
4362
|
return new GeneratorSequence$iterator$1(this);
|
|
4377
4363
|
};
|
|
4378
|
-
function emptySet() {
|
|
4379
|
-
return EmptySet_getInstance();
|
|
4380
|
-
}
|
|
4381
4364
|
function EmptySet() {
|
|
4382
4365
|
EmptySet_instance = this;
|
|
4383
4366
|
this.f8_1 = new Long(1993859828, 793161749);
|
|
@@ -4385,7 +4368,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4385
4368
|
protoOf(EmptySet).equals = function (other) {
|
|
4386
4369
|
var tmp;
|
|
4387
4370
|
if (!(other == null) ? isInterface(other, Set) : false) {
|
|
4388
|
-
tmp = other.
|
|
4371
|
+
tmp = other.p();
|
|
4389
4372
|
} else {
|
|
4390
4373
|
tmp = false;
|
|
4391
4374
|
}
|
|
@@ -4397,19 +4380,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4397
4380
|
protoOf(EmptySet).toString = function () {
|
|
4398
4381
|
return '[]';
|
|
4399
4382
|
};
|
|
4400
|
-
protoOf(EmptySet).
|
|
4383
|
+
protoOf(EmptySet).l = function () {
|
|
4401
4384
|
return 0;
|
|
4402
4385
|
};
|
|
4403
|
-
protoOf(EmptySet).
|
|
4386
|
+
protoOf(EmptySet).p = function () {
|
|
4404
4387
|
return true;
|
|
4405
4388
|
};
|
|
4406
4389
|
protoOf(EmptySet).n7 = function (elements) {
|
|
4407
|
-
return elements.
|
|
4390
|
+
return elements.p();
|
|
4408
4391
|
};
|
|
4409
|
-
protoOf(EmptySet).
|
|
4392
|
+
protoOf(EmptySet).o = function (elements) {
|
|
4410
4393
|
return this.n7(elements);
|
|
4411
4394
|
};
|
|
4412
|
-
protoOf(EmptySet).
|
|
4395
|
+
protoOf(EmptySet).m = function () {
|
|
4413
4396
|
return EmptyIterator_instance;
|
|
4414
4397
|
};
|
|
4415
4398
|
var EmptySet_instance;
|
|
@@ -4418,12 +4401,15 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4418
4401
|
new EmptySet();
|
|
4419
4402
|
return EmptySet_instance;
|
|
4420
4403
|
}
|
|
4404
|
+
function emptySet() {
|
|
4405
|
+
return EmptySet_getInstance();
|
|
4406
|
+
}
|
|
4421
4407
|
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
4422
|
-
switch (_this__u8e3s4.
|
|
4408
|
+
switch (_this__u8e3s4.l()) {
|
|
4423
4409
|
case 0:
|
|
4424
4410
|
return emptySet();
|
|
4425
4411
|
case 1:
|
|
4426
|
-
return setOf(_this__u8e3s4.
|
|
4412
|
+
return setOf(_this__u8e3s4.m().u());
|
|
4427
4413
|
default:
|
|
4428
4414
|
return _this__u8e3s4;
|
|
4429
4415
|
}
|
|
@@ -4541,7 +4527,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4541
4527
|
};
|
|
4542
4528
|
function Companion_8() {
|
|
4543
4529
|
Companion_instance_8 = this;
|
|
4544
|
-
this.
|
|
4530
|
+
this.t5_1 = new IntRange(1, 0);
|
|
4545
4531
|
}
|
|
4546
4532
|
var Companion_instance_8;
|
|
4547
4533
|
function Companion_getInstance_8() {
|
|
@@ -4553,26 +4539,26 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4553
4539
|
Companion_getInstance_8();
|
|
4554
4540
|
IntProgression.call(this, start, endInclusive, 1);
|
|
4555
4541
|
}
|
|
4556
|
-
protoOf(IntRange).
|
|
4542
|
+
protoOf(IntRange).z4 = function () {
|
|
4557
4543
|
return this.u5_1;
|
|
4558
4544
|
};
|
|
4559
|
-
protoOf(IntRange).
|
|
4545
|
+
protoOf(IntRange).a5 = function () {
|
|
4560
4546
|
return this.v5_1;
|
|
4561
4547
|
};
|
|
4562
|
-
protoOf(IntRange).
|
|
4548
|
+
protoOf(IntRange).p = function () {
|
|
4563
4549
|
return this.u5_1 > this.v5_1;
|
|
4564
4550
|
};
|
|
4565
4551
|
protoOf(IntRange).equals = function (other) {
|
|
4566
4552
|
var tmp;
|
|
4567
4553
|
if (other instanceof IntRange) {
|
|
4568
|
-
tmp = (this.
|
|
4554
|
+
tmp = (this.p() ? other.p() : false) ? true : this.u5_1 === other.u5_1 ? this.v5_1 === other.v5_1 : false;
|
|
4569
4555
|
} else {
|
|
4570
4556
|
tmp = false;
|
|
4571
4557
|
}
|
|
4572
4558
|
return tmp;
|
|
4573
4559
|
};
|
|
4574
4560
|
protoOf(IntRange).hashCode = function () {
|
|
4575
|
-
return this.
|
|
4561
|
+
return this.p() ? -1 : imul(31, this.u5_1) + this.v5_1 | 0;
|
|
4576
4562
|
};
|
|
4577
4563
|
protoOf(IntRange).toString = function () {
|
|
4578
4564
|
return '' + this.u5_1 + '..' + this.v5_1;
|
|
@@ -4584,7 +4570,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4584
4570
|
this.s8_1 = this.q8_1 > 0 ? first <= last : first >= last;
|
|
4585
4571
|
this.t8_1 = this.s8_1 ? first : this.r8_1;
|
|
4586
4572
|
}
|
|
4587
|
-
protoOf(IntProgressionIterator).
|
|
4573
|
+
protoOf(IntProgressionIterator).t = function () {
|
|
4588
4574
|
return this.s8_1;
|
|
4589
4575
|
};
|
|
4590
4576
|
protoOf(IntProgressionIterator).t7 = function () {
|
|
@@ -4600,7 +4586,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4600
4586
|
};
|
|
4601
4587
|
function Companion_9() {
|
|
4602
4588
|
}
|
|
4603
|
-
protoOf(Companion_9).
|
|
4589
|
+
protoOf(Companion_9).x5 = function (rangeStart, rangeEnd, step) {
|
|
4604
4590
|
return new IntProgression(rangeStart, rangeEnd, step);
|
|
4605
4591
|
};
|
|
4606
4592
|
var Companion_instance_9;
|
|
@@ -4616,23 +4602,23 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4616
4602
|
this.v5_1 = getProgressionLastElement(start, endInclusive, step);
|
|
4617
4603
|
this.w5_1 = step;
|
|
4618
4604
|
}
|
|
4619
|
-
protoOf(IntProgression).
|
|
4605
|
+
protoOf(IntProgression).m = function () {
|
|
4620
4606
|
return new IntProgressionIterator(this.u5_1, this.v5_1, this.w5_1);
|
|
4621
4607
|
};
|
|
4622
|
-
protoOf(IntProgression).
|
|
4608
|
+
protoOf(IntProgression).p = function () {
|
|
4623
4609
|
return this.w5_1 > 0 ? this.u5_1 > this.v5_1 : this.u5_1 < this.v5_1;
|
|
4624
4610
|
};
|
|
4625
4611
|
protoOf(IntProgression).equals = function (other) {
|
|
4626
4612
|
var tmp;
|
|
4627
4613
|
if (other instanceof IntProgression) {
|
|
4628
|
-
tmp = (this.
|
|
4614
|
+
tmp = (this.p() ? other.p() : false) ? true : (this.u5_1 === other.u5_1 ? this.v5_1 === other.v5_1 : false) ? this.w5_1 === other.w5_1 : false;
|
|
4629
4615
|
} else {
|
|
4630
4616
|
tmp = false;
|
|
4631
4617
|
}
|
|
4632
4618
|
return tmp;
|
|
4633
4619
|
};
|
|
4634
4620
|
protoOf(IntProgression).hashCode = function () {
|
|
4635
|
-
return this.
|
|
4621
|
+
return this.p() ? -1 : imul(31, imul(31, this.u5_1) + this.v5_1 | 0) + this.w5_1 | 0;
|
|
4636
4622
|
};
|
|
4637
4623
|
protoOf(IntProgression).toString = function () {
|
|
4638
4624
|
return this.w5_1 > 0 ? '' + this.u5_1 + '..' + this.v5_1 + ' step ' + this.w5_1 : '' + this.u5_1 + ' downTo ' + this.v5_1 + ' step ' + (-this.w5_1 | 0);
|
|
@@ -4643,15 +4629,15 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4643
4629
|
}
|
|
4644
4630
|
function appendElement(_this__u8e3s4, element, transform) {
|
|
4645
4631
|
if (!(transform == null)) {
|
|
4646
|
-
_this__u8e3s4.
|
|
4632
|
+
_this__u8e3s4.y3(transform(element));
|
|
4647
4633
|
} else {
|
|
4648
4634
|
if (element == null ? true : isCharSequence(element)) {
|
|
4649
|
-
_this__u8e3s4.
|
|
4635
|
+
_this__u8e3s4.y3(element);
|
|
4650
4636
|
} else {
|
|
4651
4637
|
if (element instanceof Char) {
|
|
4652
|
-
_this__u8e3s4.
|
|
4638
|
+
_this__u8e3s4.h3(element.y5_1);
|
|
4653
4639
|
} else {
|
|
4654
|
-
_this__u8e3s4.
|
|
4640
|
+
_this__u8e3s4.y3(toString_1(element));
|
|
4655
4641
|
}
|
|
4656
4642
|
}
|
|
4657
4643
|
}
|
|
@@ -4703,14 +4689,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4703
4689
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4704
4690
|
format = format === VOID ? Companion_getInstance_12().u8_1 : format;
|
|
4705
4691
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4706
|
-
return hexToLongImpl(_this__u8e3s4, startIndex, endIndex, format, 2).
|
|
4692
|
+
return hexToLongImpl(_this__u8e3s4, startIndex, endIndex, format, 2).j7();
|
|
4707
4693
|
}
|
|
4708
4694
|
function hexToByteArray_0(_this__u8e3s4, startIndex, endIndex, format) {
|
|
4709
4695
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
4710
4696
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4711
4697
|
format = format === VOID ? Companion_getInstance_12().u8_1 : format;
|
|
4712
4698
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4713
|
-
Companion_instance_5.
|
|
4699
|
+
Companion_instance_5.d4(startIndex, endIndex, _this__u8e3s4.length);
|
|
4714
4700
|
if (startIndex === endIndex) {
|
|
4715
4701
|
// Inline function 'kotlin.byteArrayOf' call
|
|
4716
4702
|
return new Int8Array([]);
|
|
@@ -4759,7 +4745,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4759
4745
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
4760
4746
|
endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
|
|
4761
4747
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4762
|
-
Companion_instance_5.
|
|
4748
|
+
Companion_instance_5.d4(startIndex, endIndex, _this__u8e3s4.length);
|
|
4763
4749
|
var prefix = format.y8_1.f9_1;
|
|
4764
4750
|
var suffix = format.y8_1.g9_1;
|
|
4765
4751
|
if ((prefix.length + suffix.length | 0) >= (endIndex - startIndex | 0)) {
|
|
@@ -4778,7 +4764,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4778
4764
|
do {
|
|
4779
4765
|
var i = inductionVariable;
|
|
4780
4766
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4781
|
-
result = result.
|
|
4767
|
+
result = result.g7(4).i7(toLong(decimalFromHexDigitAt(_this__u8e3s4, i)));
|
|
4782
4768
|
}
|
|
4783
4769
|
while (inductionVariable < digitsEndIndex);
|
|
4784
4770
|
return result;
|
|
@@ -4795,7 +4781,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4795
4781
|
throw IllegalArgumentException_init_$Create$_0(toString_2(message));
|
|
4796
4782
|
}
|
|
4797
4783
|
// Inline function 'kotlin.Long.plus' call
|
|
4798
|
-
var charsPerByte = numberToLong(bytePrefixLength).
|
|
4784
|
+
var charsPerByte = numberToLong(bytePrefixLength).a7(new Long(2, 0)).a7(toLong(byteSuffixLength));
|
|
4799
4785
|
var charsPerGroup = charsPerSet(charsPerByte, bytesPerGroup, byteSeparatorLength);
|
|
4800
4786
|
var tmp;
|
|
4801
4787
|
if (bytesPerLine <= bytesPerGroup) {
|
|
@@ -4806,8 +4792,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4806
4792
|
var bytesPerLastGroupInLine = bytesPerLine % bytesPerGroup | 0;
|
|
4807
4793
|
if (!(bytesPerLastGroupInLine === 0)) {
|
|
4808
4794
|
// Inline function 'kotlin.Long.plus' call
|
|
4809
|
-
result = result.
|
|
4810
|
-
result = result.
|
|
4795
|
+
result = result.a7(toLong(groupSeparatorLength));
|
|
4796
|
+
result = result.a7(charsPerSet(charsPerByte, bytesPerLastGroupInLine, byteSeparatorLength));
|
|
4811
4797
|
}
|
|
4812
4798
|
tmp = result;
|
|
4813
4799
|
}
|
|
@@ -4816,25 +4802,25 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4816
4802
|
var wholeLines = wholeElementsPerSet(numberOfChars, charsPerLine, 1);
|
|
4817
4803
|
var tmp_0 = numberOfChars;
|
|
4818
4804
|
// Inline function 'kotlin.Long.plus' call
|
|
4819
|
-
var tmp$ret$3 = charsPerLine.
|
|
4820
|
-
numberOfChars = tmp_0.
|
|
4805
|
+
var tmp$ret$3 = charsPerLine.a7(toLong(1));
|
|
4806
|
+
numberOfChars = tmp_0.b7(wholeLines.c7(tmp$ret$3));
|
|
4821
4807
|
var wholeGroupsInLastLine = wholeElementsPerSet(numberOfChars, charsPerGroup, groupSeparatorLength);
|
|
4822
4808
|
var tmp_1 = numberOfChars;
|
|
4823
4809
|
// Inline function 'kotlin.Long.plus' call
|
|
4824
|
-
var tmp$ret$4 = charsPerGroup.
|
|
4825
|
-
numberOfChars = tmp_1.
|
|
4810
|
+
var tmp$ret$4 = charsPerGroup.a7(toLong(groupSeparatorLength));
|
|
4811
|
+
numberOfChars = tmp_1.b7(wholeGroupsInLastLine.c7(tmp$ret$4));
|
|
4826
4812
|
var wholeBytesInLastGroup = wholeElementsPerSet(numberOfChars, charsPerByte, byteSeparatorLength);
|
|
4827
4813
|
var tmp_2 = numberOfChars;
|
|
4828
4814
|
// Inline function 'kotlin.Long.plus' call
|
|
4829
|
-
var tmp$ret$5 = charsPerByte.
|
|
4830
|
-
numberOfChars = tmp_2.
|
|
4831
|
-
var spare = numberOfChars.
|
|
4815
|
+
var tmp$ret$5 = charsPerByte.a7(toLong(byteSeparatorLength));
|
|
4816
|
+
numberOfChars = tmp_2.b7(wholeBytesInLastGroup.c7(tmp$ret$5));
|
|
4817
|
+
var spare = numberOfChars.z6(new Long(0, 0)) > 0 ? 1 : 0;
|
|
4832
4818
|
// Inline function 'kotlin.Long.plus' call
|
|
4833
4819
|
// Inline function 'kotlin.Long.times' call
|
|
4834
|
-
var tmp_3 = wholeLines.
|
|
4820
|
+
var tmp_3 = wholeLines.c7(toLong(bytesPerLine));
|
|
4835
4821
|
// Inline function 'kotlin.Long.times' call
|
|
4836
|
-
var tmp$ret$7 = wholeGroupsInLastLine.
|
|
4837
|
-
return tmp_3.
|
|
4822
|
+
var tmp$ret$7 = wholeGroupsInLastLine.c7(toLong(bytesPerGroup));
|
|
4823
|
+
return tmp_3.a7(tmp$ret$7).a7(wholeBytesInLastGroup).a7(toLong(spare)).k7();
|
|
4838
4824
|
}
|
|
4839
4825
|
function checkNewLineAt(_this__u8e3s4, index, endIndex) {
|
|
4840
4826
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
@@ -4894,19 +4880,19 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4894
4880
|
throw IllegalArgumentException_init_$Create$_0(toString_2(message));
|
|
4895
4881
|
}
|
|
4896
4882
|
// Inline function 'kotlin.Long.times' call
|
|
4897
|
-
return charsPerElement.
|
|
4883
|
+
return charsPerElement.c7(toLong(elementsPerSet)).a7(numberToLong(elementSeparatorLength).c7(numberToLong(elementsPerSet).b7(new Long(1, 0))));
|
|
4898
4884
|
}
|
|
4899
4885
|
function wholeElementsPerSet(charsPerSet, charsPerElement, elementSeparatorLength) {
|
|
4900
4886
|
_init_properties_HexExtensions_kt__wu8rc3();
|
|
4901
4887
|
var tmp;
|
|
4902
|
-
if (charsPerSet.
|
|
4888
|
+
if (charsPerSet.z6(new Long(0, 0)) <= 0 ? true : charsPerElement.z6(new Long(0, 0)) <= 0) {
|
|
4903
4889
|
tmp = new Long(0, 0);
|
|
4904
4890
|
} else {
|
|
4905
4891
|
// Inline function 'kotlin.Long.plus' call
|
|
4906
|
-
var tmp_0 = charsPerSet.
|
|
4892
|
+
var tmp_0 = charsPerSet.a7(toLong(elementSeparatorLength));
|
|
4907
4893
|
// Inline function 'kotlin.Long.plus' call
|
|
4908
|
-
var tmp$ret$1 = charsPerElement.
|
|
4909
|
-
tmp = tmp_0.
|
|
4894
|
+
var tmp$ret$1 = charsPerElement.a7(toLong(elementSeparatorLength));
|
|
4895
|
+
tmp = tmp_0.d7(tmp$ret$1);
|
|
4910
4896
|
}
|
|
4911
4897
|
return tmp;
|
|
4912
4898
|
}
|
|
@@ -4989,29 +4975,29 @@ if (typeof Math.imul === 'undefined') {
|
|
|
4989
4975
|
// Inline function 'kotlin.contracts.contract' call
|
|
4990
4976
|
// Inline function 'kotlin.text.BytesHexFormat.toString.<anonymous>' call
|
|
4991
4977
|
// Inline function 'kotlin.text.appendLine' call
|
|
4992
|
-
this_0.
|
|
4978
|
+
this_0.g3('BytesHexFormat(').h3(_Char___init__impl__6a9atx(10));
|
|
4993
4979
|
// Inline function 'kotlin.text.appendLine' call
|
|
4994
|
-
this.k9(this_0, ' ').
|
|
4995
|
-
this_0.
|
|
4980
|
+
this.k9(this_0, ' ').h3(_Char___init__impl__6a9atx(10));
|
|
4981
|
+
this_0.g3(')');
|
|
4996
4982
|
return this_0.toString();
|
|
4997
4983
|
};
|
|
4998
4984
|
protoOf(BytesHexFormat).k9 = function (sb, indent) {
|
|
4999
4985
|
// Inline function 'kotlin.text.appendLine' call
|
|
5000
4986
|
// Inline function 'kotlin.text.appendLine' call
|
|
5001
|
-
sb.
|
|
4987
|
+
sb.g3(indent).g3('bytesPerLine = ').c4(this.z8_1).g3(',').h3(_Char___init__impl__6a9atx(10));
|
|
5002
4988
|
// Inline function 'kotlin.text.appendLine' call
|
|
5003
4989
|
// Inline function 'kotlin.text.appendLine' call
|
|
5004
|
-
sb.
|
|
4990
|
+
sb.g3(indent).g3('bytesPerGroup = ').c4(this.a9_1).g3(',').h3(_Char___init__impl__6a9atx(10));
|
|
5005
4991
|
// Inline function 'kotlin.text.appendLine' call
|
|
5006
4992
|
// Inline function 'kotlin.text.appendLine' call
|
|
5007
|
-
sb.
|
|
4993
|
+
sb.g3(indent).g3('groupSeparator = "').g3(this.b9_1).g3('",').h3(_Char___init__impl__6a9atx(10));
|
|
5008
4994
|
// Inline function 'kotlin.text.appendLine' call
|
|
5009
4995
|
// Inline function 'kotlin.text.appendLine' call
|
|
5010
|
-
sb.
|
|
4996
|
+
sb.g3(indent).g3('byteSeparator = "').g3(this.c9_1).g3('",').h3(_Char___init__impl__6a9atx(10));
|
|
5011
4997
|
// Inline function 'kotlin.text.appendLine' call
|
|
5012
4998
|
// Inline function 'kotlin.text.appendLine' call
|
|
5013
|
-
sb.
|
|
5014
|
-
sb.
|
|
4999
|
+
sb.g3(indent).g3('bytePrefix = "').g3(this.d9_1).g3('",').h3(_Char___init__impl__6a9atx(10));
|
|
5000
|
+
sb.g3(indent).g3('byteSuffix = "').g3(this.e9_1).g3('"');
|
|
5015
5001
|
return sb;
|
|
5016
5002
|
};
|
|
5017
5003
|
function NumberHexFormat(prefix, suffix, removeLeadingZeros) {
|
|
@@ -5028,20 +5014,20 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5028
5014
|
// Inline function 'kotlin.contracts.contract' call
|
|
5029
5015
|
// Inline function 'kotlin.text.NumberHexFormat.toString.<anonymous>' call
|
|
5030
5016
|
// Inline function 'kotlin.text.appendLine' call
|
|
5031
|
-
this_0.
|
|
5017
|
+
this_0.g3('NumberHexFormat(').h3(_Char___init__impl__6a9atx(10));
|
|
5032
5018
|
// Inline function 'kotlin.text.appendLine' call
|
|
5033
|
-
this.k9(this_0, ' ').
|
|
5034
|
-
this_0.
|
|
5019
|
+
this.k9(this_0, ' ').h3(_Char___init__impl__6a9atx(10));
|
|
5020
|
+
this_0.g3(')');
|
|
5035
5021
|
return this_0.toString();
|
|
5036
5022
|
};
|
|
5037
5023
|
protoOf(NumberHexFormat).k9 = function (sb, indent) {
|
|
5038
5024
|
// Inline function 'kotlin.text.appendLine' call
|
|
5039
5025
|
// Inline function 'kotlin.text.appendLine' call
|
|
5040
|
-
sb.
|
|
5026
|
+
sb.g3(indent).g3('prefix = "').g3(this.f9_1).g3('",').h3(_Char___init__impl__6a9atx(10));
|
|
5041
5027
|
// Inline function 'kotlin.text.appendLine' call
|
|
5042
5028
|
// Inline function 'kotlin.text.appendLine' call
|
|
5043
|
-
sb.
|
|
5044
|
-
sb.
|
|
5029
|
+
sb.g3(indent).g3('suffix = "').g3(this.g9_1).g3('",').h3(_Char___init__impl__6a9atx(10));
|
|
5030
|
+
sb.g3(indent).g3('removeLeadingZeros = ').b4(this.h9_1);
|
|
5045
5031
|
return sb;
|
|
5046
5032
|
};
|
|
5047
5033
|
function Companion_12() {
|
|
@@ -5069,23 +5055,23 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5069
5055
|
// Inline function 'kotlin.contracts.contract' call
|
|
5070
5056
|
// Inline function 'kotlin.text.HexFormat.toString.<anonymous>' call
|
|
5071
5057
|
// Inline function 'kotlin.text.appendLine' call
|
|
5072
|
-
this_0.
|
|
5058
|
+
this_0.g3('HexFormat(').h3(_Char___init__impl__6a9atx(10));
|
|
5073
5059
|
// Inline function 'kotlin.text.appendLine' call
|
|
5074
5060
|
// Inline function 'kotlin.text.appendLine' call
|
|
5075
|
-
this_0.
|
|
5061
|
+
this_0.g3(' upperCase = ').b4(this.w8_1).g3(',').h3(_Char___init__impl__6a9atx(10));
|
|
5076
5062
|
// Inline function 'kotlin.text.appendLine' call
|
|
5077
|
-
this_0.
|
|
5063
|
+
this_0.g3(' bytes = BytesHexFormat(').h3(_Char___init__impl__6a9atx(10));
|
|
5078
5064
|
// Inline function 'kotlin.text.appendLine' call
|
|
5079
|
-
this.x8_1.k9(this_0, ' ').
|
|
5065
|
+
this.x8_1.k9(this_0, ' ').h3(_Char___init__impl__6a9atx(10));
|
|
5080
5066
|
// Inline function 'kotlin.text.appendLine' call
|
|
5081
|
-
this_0.
|
|
5067
|
+
this_0.g3(' ),').h3(_Char___init__impl__6a9atx(10));
|
|
5082
5068
|
// Inline function 'kotlin.text.appendLine' call
|
|
5083
|
-
this_0.
|
|
5069
|
+
this_0.g3(' number = NumberHexFormat(').h3(_Char___init__impl__6a9atx(10));
|
|
5084
5070
|
// Inline function 'kotlin.text.appendLine' call
|
|
5085
|
-
this.y8_1.k9(this_0, ' ').
|
|
5071
|
+
this.y8_1.k9(this_0, ' ').h3(_Char___init__impl__6a9atx(10));
|
|
5086
5072
|
// Inline function 'kotlin.text.appendLine' call
|
|
5087
|
-
this_0.
|
|
5088
|
-
this_0.
|
|
5073
|
+
this_0.g3(' )').h3(_Char___init__impl__6a9atx(10));
|
|
5074
|
+
this_0.g3(')');
|
|
5089
5075
|
return this_0.toString();
|
|
5090
5076
|
};
|
|
5091
5077
|
function toIntOrNull(_this__u8e3s4) {
|
|
@@ -5159,6 +5145,9 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5159
5145
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
5160
5146
|
return toString_2(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
5161
5147
|
}
|
|
5148
|
+
function get_indices_0(_this__u8e3s4) {
|
|
5149
|
+
return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0);
|
|
5150
|
+
}
|
|
5162
5151
|
function indexOf_1(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
5163
5152
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
5164
5153
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5190,8 +5179,8 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5190
5179
|
}
|
|
5191
5180
|
function substring(_this__u8e3s4, range) {
|
|
5192
5181
|
// Inline function 'kotlin.text.substring' call
|
|
5193
|
-
var startIndex = range.
|
|
5194
|
-
var endIndex = range.
|
|
5182
|
+
var startIndex = range.z4();
|
|
5183
|
+
var endIndex = range.a5() + 1 | 0;
|
|
5195
5184
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5196
5185
|
return _this__u8e3s4.substring(startIndex, endIndex);
|
|
5197
5186
|
}
|
|
@@ -5199,9 +5188,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5199
5188
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
5200
5189
|
return toString_2(padEnd_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
|
|
5201
5190
|
}
|
|
5202
|
-
function get_indices_0(_this__u8e3s4) {
|
|
5203
|
-
return numberRangeToNumber(0, charSequenceLength(_this__u8e3s4) - 1 | 0);
|
|
5204
|
-
}
|
|
5205
5191
|
function contains_1(_this__u8e3s4, char, ignoreCase) {
|
|
5206
5192
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
5207
5193
|
return indexOf_2(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
@@ -5229,6 +5215,40 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5229
5215
|
}
|
|
5230
5216
|
return tmp;
|
|
5231
5217
|
}
|
|
5218
|
+
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
5219
|
+
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
5220
|
+
if (length < 0)
|
|
5221
|
+
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
|
|
5222
|
+
if (length <= charSequenceLength(_this__u8e3s4))
|
|
5223
|
+
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
5224
|
+
var sb = StringBuilder_init_$Create$(length);
|
|
5225
|
+
var inductionVariable = 1;
|
|
5226
|
+
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
5227
|
+
if (inductionVariable <= last)
|
|
5228
|
+
do {
|
|
5229
|
+
var i = inductionVariable;
|
|
5230
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
5231
|
+
sb.h3(padChar);
|
|
5232
|
+
}
|
|
5233
|
+
while (!(i === last));
|
|
5234
|
+
sb.y3(_this__u8e3s4);
|
|
5235
|
+
return sb;
|
|
5236
|
+
}
|
|
5237
|
+
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
5238
|
+
if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
5239
|
+
return false;
|
|
5240
|
+
}
|
|
5241
|
+
var inductionVariable = 0;
|
|
5242
|
+
if (inductionVariable < length)
|
|
5243
|
+
do {
|
|
5244
|
+
var index = inductionVariable;
|
|
5245
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
5246
|
+
if (!equals_0(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
|
|
5247
|
+
return false;
|
|
5248
|
+
}
|
|
5249
|
+
while (inductionVariable < length);
|
|
5250
|
+
return true;
|
|
5251
|
+
}
|
|
5232
5252
|
function trim(_this__u8e3s4) {
|
|
5233
5253
|
// Inline function 'kotlin.text.trim' call
|
|
5234
5254
|
var startIndex = 0;
|
|
@@ -5251,25 +5271,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5251
5271
|
}
|
|
5252
5272
|
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
5253
5273
|
}
|
|
5254
|
-
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
5255
|
-
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
5256
|
-
if (length < 0)
|
|
5257
|
-
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
|
|
5258
|
-
if (length <= charSequenceLength(_this__u8e3s4))
|
|
5259
|
-
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
5260
|
-
var sb = StringBuilder_init_$Create$(length);
|
|
5261
|
-
var inductionVariable = 1;
|
|
5262
|
-
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
5263
|
-
if (inductionVariable <= last)
|
|
5264
|
-
do {
|
|
5265
|
-
var i = inductionVariable;
|
|
5266
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
5267
|
-
sb.g3(padChar);
|
|
5268
|
-
}
|
|
5269
|
-
while (!(i === last));
|
|
5270
|
-
sb.x3(_this__u8e3s4);
|
|
5271
|
-
return sb;
|
|
5272
|
-
}
|
|
5273
5274
|
function indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
5274
5275
|
last = last === VOID ? false : last;
|
|
5275
5276
|
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_0(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
|
|
@@ -5307,15 +5308,15 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5307
5308
|
return -1;
|
|
5308
5309
|
}
|
|
5309
5310
|
function replaceRange(_this__u8e3s4, range, replacement) {
|
|
5310
|
-
return replaceRange_0(_this__u8e3s4, range.
|
|
5311
|
+
return replaceRange_0(_this__u8e3s4, range.z4(), range.a5() + 1 | 0, replacement);
|
|
5311
5312
|
}
|
|
5312
5313
|
function replaceRange_0(_this__u8e3s4, startIndex, endIndex, replacement) {
|
|
5313
5314
|
if (endIndex < startIndex)
|
|
5314
5315
|
throw IndexOutOfBoundsException_init_$Create$_0('End index (' + endIndex + ') is less than start index (' + startIndex + ').');
|
|
5315
5316
|
var sb = StringBuilder_init_$Create$_0();
|
|
5316
|
-
sb.
|
|
5317
|
-
sb.
|
|
5318
|
-
sb.
|
|
5317
|
+
sb.a4(_this__u8e3s4, 0, startIndex);
|
|
5318
|
+
sb.y3(replacement);
|
|
5319
|
+
sb.a4(_this__u8e3s4, endIndex, charSequenceLength(_this__u8e3s4));
|
|
5319
5320
|
return sb;
|
|
5320
5321
|
}
|
|
5321
5322
|
function padEnd_0(_this__u8e3s4, length, padChar) {
|
|
@@ -5325,14 +5326,14 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5325
5326
|
if (length <= charSequenceLength(_this__u8e3s4))
|
|
5326
5327
|
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
|
|
5327
5328
|
var sb = StringBuilder_init_$Create$(length);
|
|
5328
|
-
sb.
|
|
5329
|
+
sb.y3(_this__u8e3s4);
|
|
5329
5330
|
var inductionVariable = 1;
|
|
5330
5331
|
var last = length - charSequenceLength(_this__u8e3s4) | 0;
|
|
5331
5332
|
if (inductionVariable <= last)
|
|
5332
5333
|
do {
|
|
5333
5334
|
var i = inductionVariable;
|
|
5334
5335
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5335
|
-
sb.
|
|
5336
|
+
sb.h3(padChar);
|
|
5336
5337
|
}
|
|
5337
5338
|
while (!(i === last));
|
|
5338
5339
|
return sb;
|
|
@@ -5383,21 +5384,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5383
5384
|
while (!(index === last));
|
|
5384
5385
|
return -1;
|
|
5385
5386
|
}
|
|
5386
|
-
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
5387
|
-
if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
5388
|
-
return false;
|
|
5389
|
-
}
|
|
5390
|
-
var inductionVariable = 0;
|
|
5391
|
-
if (inductionVariable < length)
|
|
5392
|
-
do {
|
|
5393
|
-
var index = inductionVariable;
|
|
5394
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
5395
|
-
if (!equals_0(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
|
|
5396
|
-
return false;
|
|
5397
|
-
}
|
|
5398
|
-
while (inductionVariable < length);
|
|
5399
|
-
return true;
|
|
5400
|
-
}
|
|
5401
5387
|
function iterator$1($this_iterator) {
|
|
5402
5388
|
this.m9_1 = $this_iterator;
|
|
5403
5389
|
CharIterator.call(this);
|
|
@@ -5408,7 +5394,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5408
5394
|
this.l9_1 = tmp1 + 1 | 0;
|
|
5409
5395
|
return charSequenceGet(this.m9_1, tmp1);
|
|
5410
5396
|
};
|
|
5411
|
-
protoOf(iterator$1).
|
|
5397
|
+
protoOf(iterator$1).t = function () {
|
|
5412
5398
|
return this.l9_1 < charSequenceLength(this.m9_1);
|
|
5413
5399
|
};
|
|
5414
5400
|
function MatchNamedGroupCollection() {
|
|
@@ -5473,7 +5459,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5473
5459
|
}
|
|
5474
5460
|
function UInt__toString_impl_dbgl21($this) {
|
|
5475
5461
|
// Inline function 'kotlin.UInt.toLong' call
|
|
5476
|
-
return toLong(_UInt___get_data__impl__f0vqqw($this)).
|
|
5462
|
+
return toLong(_UInt___get_data__impl__f0vqqw($this)).h7(new Long(-1, 0)).toString();
|
|
5477
5463
|
}
|
|
5478
5464
|
function UInt__hashCode_impl_z2mhuw($this) {
|
|
5479
5465
|
return $this;
|
|
@@ -5492,7 +5478,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5492
5478
|
protoOf(UInt).u9 = function (other) {
|
|
5493
5479
|
return UInt__compareTo_impl_yacclj(this.t9_1, other);
|
|
5494
5480
|
};
|
|
5495
|
-
protoOf(UInt).
|
|
5481
|
+
protoOf(UInt).k6 = function (other) {
|
|
5496
5482
|
return UInt__compareTo_impl_yacclj_0(this, other);
|
|
5497
5483
|
};
|
|
5498
5484
|
protoOf(UInt).toString = function () {
|
|
@@ -5510,7 +5496,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5510
5496
|
function _UShort___get_data__impl__g0245($this) {
|
|
5511
5497
|
return $this;
|
|
5512
5498
|
}
|
|
5513
|
-
function
|
|
5499
|
+
function toString_4(_this__u8e3s4, radix) {
|
|
5514
5500
|
// Inline function 'kotlin.UByte.toInt' call
|
|
5515
5501
|
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(_this__u8e3s4) & 255;
|
|
5516
5502
|
return toString(tmp$ret$0, radix);
|
|
@@ -5595,18 +5581,17 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5595
5581
|
function uintDivide(v1, v2) {
|
|
5596
5582
|
// Inline function 'kotlin.toUInt' call
|
|
5597
5583
|
// Inline function 'kotlin.UInt.toLong' call
|
|
5598
|
-
var tmp = toLong(_UInt___get_data__impl__f0vqqw(v1)).
|
|
5584
|
+
var tmp = toLong(_UInt___get_data__impl__f0vqqw(v1)).h7(new Long(-1, 0));
|
|
5599
5585
|
// Inline function 'kotlin.UInt.toLong' call
|
|
5600
|
-
var tmp$ret$1 = toLong(_UInt___get_data__impl__f0vqqw(v2)).
|
|
5601
|
-
var this_0 = tmp.
|
|
5602
|
-
return _UInt___init__impl__l7qpdl(this_0.
|
|
5586
|
+
var tmp$ret$1 = toLong(_UInt___get_data__impl__f0vqqw(v2)).h7(new Long(-1, 0));
|
|
5587
|
+
var this_0 = tmp.d7(tmp$ret$1);
|
|
5588
|
+
return _UInt___init__impl__l7qpdl(this_0.k7());
|
|
5603
5589
|
}
|
|
5604
5590
|
//region block: post-declaration
|
|
5605
|
-
protoOf(InternalHashMap).
|
|
5591
|
+
protoOf(InternalHashMap).j2 = containsAllEntries;
|
|
5606
5592
|
//endregion
|
|
5607
5593
|
//region block: init
|
|
5608
5594
|
Unit_instance = new Unit();
|
|
5609
|
-
ByteCompanionObject_instance = new ByteCompanionObject();
|
|
5610
5595
|
IntCompanionObject_instance = new IntCompanionObject();
|
|
5611
5596
|
Companion_instance_0 = new Companion_0();
|
|
5612
5597
|
PI = 3.141592653589793;
|
|
@@ -5634,77 +5619,74 @@ if (typeof Math.imul === 'undefined') {
|
|
|
5634
5619
|
_.$_$.n = _UByte___init__impl__g9hnc4;
|
|
5635
5620
|
_.$_$.o = _UByte___get_data__impl__jof9qr;
|
|
5636
5621
|
_.$_$.p = _UInt___get_data__impl__f0vqqw;
|
|
5637
|
-
_.$_$.q =
|
|
5638
|
-
_.$_$.r =
|
|
5639
|
-
_.$_$.s =
|
|
5622
|
+
_.$_$.q = Default_getInstance;
|
|
5623
|
+
_.$_$.r = Unit_instance;
|
|
5624
|
+
_.$_$.s = arrayCopy;
|
|
5640
5625
|
_.$_$.t = collectionSizeOrDefault;
|
|
5641
|
-
_.$_$.u =
|
|
5642
|
-
_.$_$.v =
|
|
5643
|
-
_.$_$.w =
|
|
5644
|
-
_.$_$.x =
|
|
5645
|
-
_.$_$.y =
|
|
5646
|
-
_.$_$.z =
|
|
5647
|
-
_.$_$.a1 =
|
|
5648
|
-
_.$_$.b1 =
|
|
5649
|
-
_.$_$.c1 =
|
|
5650
|
-
_.$_$.d1 =
|
|
5651
|
-
_.$_$.e1 =
|
|
5652
|
-
_.$_$.f1 =
|
|
5653
|
-
_.$_$.g1 =
|
|
5654
|
-
_.$_$.h1 =
|
|
5655
|
-
_.$_$.i1 =
|
|
5656
|
-
_.$_$.j1 =
|
|
5657
|
-
_.$_$.k1 =
|
|
5658
|
-
_.$_$.l1 =
|
|
5659
|
-
_.$_$.m1 =
|
|
5660
|
-
_.$_$.n1 =
|
|
5661
|
-
_.$_$.o1 =
|
|
5662
|
-
_.$_$.p1 =
|
|
5663
|
-
_.$_$.q1 =
|
|
5664
|
-
_.$_$.r1 =
|
|
5665
|
-
_.$_$.s1 =
|
|
5666
|
-
_.$_$.t1 =
|
|
5667
|
-
_.$_$.u1 =
|
|
5668
|
-
_.$_$.v1 =
|
|
5669
|
-
_.$_$.w1 =
|
|
5670
|
-
_.$_$.x1 =
|
|
5671
|
-
_.$_$.y1 =
|
|
5672
|
-
_.$_$.z1 =
|
|
5673
|
-
_.$_$.a2 =
|
|
5674
|
-
_.$_$.b2 =
|
|
5675
|
-
_.$_$.c2 =
|
|
5676
|
-
_.$_$.d2 =
|
|
5677
|
-
_.$_$.e2 =
|
|
5678
|
-
_.$_$.f2 =
|
|
5679
|
-
_.$_$.g2 =
|
|
5680
|
-
_.$_$.h2 =
|
|
5681
|
-
_.$_$.i2 =
|
|
5682
|
-
_.$_$.j2 =
|
|
5683
|
-
_.$_$.k2 =
|
|
5684
|
-
_.$_$.l2 =
|
|
5685
|
-
_.$_$.m2 =
|
|
5686
|
-
_.$_$.n2 =
|
|
5687
|
-
_.$_$.o2 =
|
|
5688
|
-
_.$_$.p2 =
|
|
5689
|
-
_.$_$.q2 =
|
|
5690
|
-
_.$_$.r2 =
|
|
5691
|
-
_.$_$.s2 =
|
|
5692
|
-
_.$_$.t2 =
|
|
5693
|
-
_.$_$.u2 =
|
|
5694
|
-
_.$_$.v2 =
|
|
5695
|
-
_.$_$.w2 =
|
|
5696
|
-
_.$_$.x2 =
|
|
5697
|
-
_.$_$.y2 =
|
|
5698
|
-
_.$_$.z2 =
|
|
5699
|
-
_.$_$.a3 =
|
|
5700
|
-
_.$_$.b3 =
|
|
5701
|
-
_.$_$.c3 =
|
|
5702
|
-
_.$_$.d3 =
|
|
5703
|
-
_.$_$.e3 =
|
|
5704
|
-
_.$_$.f3 =
|
|
5705
|
-
_.$_$.g3 = THROW_IAE;
|
|
5706
|
-
_.$_$.h3 = noWhenBranchMatchedException;
|
|
5707
|
-
_.$_$.i3 = to;
|
|
5626
|
+
_.$_$.u = copyOfRange_0;
|
|
5627
|
+
_.$_$.v = copyOfRange;
|
|
5628
|
+
_.$_$.w = copyToArray;
|
|
5629
|
+
_.$_$.x = indexOf;
|
|
5630
|
+
_.$_$.y = joinToString;
|
|
5631
|
+
_.$_$.z = removeLast;
|
|
5632
|
+
_.$_$.a1 = toTypedArray;
|
|
5633
|
+
_.$_$.b1 = getProgressionLastElement;
|
|
5634
|
+
_.$_$.c1 = println;
|
|
5635
|
+
_.$_$.d1 = charSequenceGet;
|
|
5636
|
+
_.$_$.e1 = charSequenceLength;
|
|
5637
|
+
_.$_$.f1 = classMeta;
|
|
5638
|
+
_.$_$.g1 = compareTo_0;
|
|
5639
|
+
_.$_$.h1 = defineProp;
|
|
5640
|
+
_.$_$.i1 = equals;
|
|
5641
|
+
_.$_$.j1 = getNumberHashCode;
|
|
5642
|
+
_.$_$.k1 = isCharSequence;
|
|
5643
|
+
_.$_$.l1 = numberToChar;
|
|
5644
|
+
_.$_$.m1 = numberToInt;
|
|
5645
|
+
_.$_$.n1 = numberToLong;
|
|
5646
|
+
_.$_$.o1 = objectMeta;
|
|
5647
|
+
_.$_$.p1 = protoOf;
|
|
5648
|
+
_.$_$.q1 = setMetadataFor;
|
|
5649
|
+
_.$_$.r1 = toByte;
|
|
5650
|
+
_.$_$.s1 = toLong;
|
|
5651
|
+
_.$_$.t1 = toShort;
|
|
5652
|
+
_.$_$.u1 = toString_2;
|
|
5653
|
+
_.$_$.v1 = get_PI;
|
|
5654
|
+
_.$_$.w1 = roundToInt;
|
|
5655
|
+
_.$_$.x1 = step;
|
|
5656
|
+
_.$_$.y1 = until;
|
|
5657
|
+
_.$_$.z1 = joinToString_1;
|
|
5658
|
+
_.$_$.a2 = map;
|
|
5659
|
+
_.$_$.b2 = toList;
|
|
5660
|
+
_.$_$.c2 = contains_0;
|
|
5661
|
+
_.$_$.d2 = decodeToString;
|
|
5662
|
+
_.$_$.e2 = encodeToByteArray;
|
|
5663
|
+
_.$_$.f2 = hexToByteArray;
|
|
5664
|
+
_.$_$.g2 = hexToByte;
|
|
5665
|
+
_.$_$.h2 = indexOf_1;
|
|
5666
|
+
_.$_$.i2 = iterator;
|
|
5667
|
+
_.$_$.j2 = padEnd;
|
|
5668
|
+
_.$_$.k2 = padStart;
|
|
5669
|
+
_.$_$.l2 = replaceRange;
|
|
5670
|
+
_.$_$.m2 = replaceRange_0;
|
|
5671
|
+
_.$_$.n2 = replace;
|
|
5672
|
+
_.$_$.o2 = slice;
|
|
5673
|
+
_.$_$.p2 = substring;
|
|
5674
|
+
_.$_$.q2 = toCharArray;
|
|
5675
|
+
_.$_$.r2 = toDouble;
|
|
5676
|
+
_.$_$.s2 = toIntOrNull_0;
|
|
5677
|
+
_.$_$.t2 = toInt_0;
|
|
5678
|
+
_.$_$.u2 = toInt;
|
|
5679
|
+
_.$_$.v2 = toString;
|
|
5680
|
+
_.$_$.w2 = toString_3;
|
|
5681
|
+
_.$_$.x2 = toString_4;
|
|
5682
|
+
_.$_$.y2 = toUInt;
|
|
5683
|
+
_.$_$.z2 = trim;
|
|
5684
|
+
_.$_$.a3 = Enum;
|
|
5685
|
+
_.$_$.b3 = Long;
|
|
5686
|
+
_.$_$.c3 = THROW_CCE;
|
|
5687
|
+
_.$_$.d3 = THROW_IAE;
|
|
5688
|
+
_.$_$.e3 = noWhenBranchMatchedException;
|
|
5689
|
+
_.$_$.f3 = to;
|
|
5708
5690
|
//endregion
|
|
5709
5691
|
return _;
|
|
5710
5692
|
}));
|