markdown-komponents 0.3.3 → 0.3.5
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-kotlin-stdlib.mjs +1004 -921
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/markdown-komponents.mjs +1149 -630
- package/markdown-komponents.mjs.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -78,16 +78,16 @@ class asSequence$$inlined$Sequence$1 {
|
|
|
78
78
|
constructor($this_asSequence) {
|
|
79
79
|
this.f1_1 = $this_asSequence;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
return this.f1_1.
|
|
81
|
+
r() {
|
|
82
|
+
return this.f1_1.r();
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
class asIterable$$inlined$Iterable$1 {
|
|
86
86
|
constructor($this_asIterable) {
|
|
87
87
|
this.i1_1 = $this_asIterable;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
return this.i1_1.
|
|
89
|
+
r() {
|
|
90
|
+
return this.i1_1.r();
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
class Char {}
|
|
@@ -179,7 +179,7 @@ class AbstractCollection {
|
|
|
179
179
|
// Inline function 'kotlin.collections.any' call
|
|
180
180
|
var tmp;
|
|
181
181
|
if (isInterface(this, Collection)) {
|
|
182
|
-
tmp = this.
|
|
182
|
+
tmp = this.d1();
|
|
183
183
|
} else {
|
|
184
184
|
tmp = false;
|
|
185
185
|
}
|
|
@@ -187,9 +187,9 @@ class AbstractCollection {
|
|
|
187
187
|
tmp$ret$0 = false;
|
|
188
188
|
break $l$block_0;
|
|
189
189
|
}
|
|
190
|
-
var _iterator__ex2g4s = this.
|
|
191
|
-
while (_iterator__ex2g4s.
|
|
192
|
-
var element_0 = _iterator__ex2g4s.
|
|
190
|
+
var _iterator__ex2g4s = this.r();
|
|
191
|
+
while (_iterator__ex2g4s.s()) {
|
|
192
|
+
var element_0 = _iterator__ex2g4s.t();
|
|
193
193
|
if (equals(element_0, element)) {
|
|
194
194
|
tmp$ret$0 = true;
|
|
195
195
|
break $l$block_0;
|
|
@@ -205,7 +205,7 @@ class AbstractCollection {
|
|
|
205
205
|
// Inline function 'kotlin.collections.all' call
|
|
206
206
|
var tmp;
|
|
207
207
|
if (isInterface(elements, Collection)) {
|
|
208
|
-
tmp = elements.
|
|
208
|
+
tmp = elements.d1();
|
|
209
209
|
} else {
|
|
210
210
|
tmp = false;
|
|
211
211
|
}
|
|
@@ -213,9 +213,9 @@ class AbstractCollection {
|
|
|
213
213
|
tmp$ret$0 = true;
|
|
214
214
|
break $l$block_0;
|
|
215
215
|
}
|
|
216
|
-
var _iterator__ex2g4s = elements.
|
|
217
|
-
while (_iterator__ex2g4s.
|
|
218
|
-
var element = _iterator__ex2g4s.
|
|
216
|
+
var _iterator__ex2g4s = elements.r();
|
|
217
|
+
while (_iterator__ex2g4s.s()) {
|
|
218
|
+
var element = _iterator__ex2g4s.t();
|
|
219
219
|
if (!this.m1(element)) {
|
|
220
220
|
tmp$ret$0 = false;
|
|
221
221
|
break $l$block_0;
|
|
@@ -225,8 +225,8 @@ class AbstractCollection {
|
|
|
225
225
|
}
|
|
226
226
|
return tmp$ret$0;
|
|
227
227
|
}
|
|
228
|
-
|
|
229
|
-
return this.
|
|
228
|
+
d1() {
|
|
229
|
+
return this.u() === 0;
|
|
230
230
|
}
|
|
231
231
|
toString() {
|
|
232
232
|
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
@@ -239,7 +239,7 @@ class AbstractList extends AbstractCollection {
|
|
|
239
239
|
static x2($box) {
|
|
240
240
|
return this.d3($box);
|
|
241
241
|
}
|
|
242
|
-
|
|
242
|
+
r() {
|
|
243
243
|
return new IteratorImpl_0(this);
|
|
244
244
|
}
|
|
245
245
|
n1(element) {
|
|
@@ -247,9 +247,9 @@ class AbstractList extends AbstractCollection {
|
|
|
247
247
|
$l$block: {
|
|
248
248
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
249
249
|
var index = 0;
|
|
250
|
-
var _iterator__ex2g4s = this.
|
|
251
|
-
while (_iterator__ex2g4s.
|
|
252
|
-
var item = _iterator__ex2g4s.
|
|
250
|
+
var _iterator__ex2g4s = this.r();
|
|
251
|
+
while (_iterator__ex2g4s.s()) {
|
|
252
|
+
var item = _iterator__ex2g4s.t();
|
|
253
253
|
if (equals(item, element)) {
|
|
254
254
|
tmp$ret$0 = index;
|
|
255
255
|
break $l$block;
|
|
@@ -260,21 +260,21 @@ class AbstractList extends AbstractCollection {
|
|
|
260
260
|
}
|
|
261
261
|
return tmp$ret$0;
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
b1(index) {
|
|
264
264
|
return new ListIteratorImpl_0(this, index);
|
|
265
265
|
}
|
|
266
266
|
o1(fromIndex, toIndex) {
|
|
267
|
-
return SubList_0.
|
|
267
|
+
return SubList_0.s9(this, fromIndex, toIndex);
|
|
268
268
|
}
|
|
269
269
|
equals(other) {
|
|
270
270
|
if (other === this)
|
|
271
271
|
return true;
|
|
272
272
|
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
273
273
|
return false;
|
|
274
|
-
return Companion_instance_4.
|
|
274
|
+
return Companion_instance_4.a4(this, other);
|
|
275
275
|
}
|
|
276
276
|
hashCode() {
|
|
277
|
-
return Companion_instance_4.
|
|
277
|
+
return Companion_instance_4.b4(this);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
class asList$1 extends AbstractList {
|
|
@@ -287,10 +287,10 @@ class asList$1 extends AbstractList {
|
|
|
287
287
|
$box.v2_1 = $this_asList;
|
|
288
288
|
return this.x2($box);
|
|
289
289
|
}
|
|
290
|
-
|
|
290
|
+
u() {
|
|
291
291
|
return this.v2_1.length;
|
|
292
292
|
}
|
|
293
|
-
|
|
293
|
+
v(index) {
|
|
294
294
|
var tmp;
|
|
295
295
|
if (0 <= index ? index <= get_lastIndex(this) : false) {
|
|
296
296
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -311,54 +311,65 @@ class AbstractMutableCollection extends AbstractCollection {
|
|
|
311
311
|
static c3() {
|
|
312
312
|
return this.d3();
|
|
313
313
|
}
|
|
314
|
+
e3(elements) {
|
|
315
|
+
this.f3();
|
|
316
|
+
var modified = false;
|
|
317
|
+
var _iterator__ex2g4s = elements.r();
|
|
318
|
+
while (_iterator__ex2g4s.s()) {
|
|
319
|
+
var element = _iterator__ex2g4s.t();
|
|
320
|
+
if (this.n(element))
|
|
321
|
+
modified = true;
|
|
322
|
+
}
|
|
323
|
+
return modified;
|
|
324
|
+
}
|
|
314
325
|
toJSON() {
|
|
315
326
|
return this.toArray();
|
|
316
327
|
}
|
|
317
|
-
|
|
328
|
+
f3() {
|
|
318
329
|
}
|
|
319
330
|
}
|
|
320
331
|
class IteratorImpl {
|
|
321
332
|
constructor($outer, $box) {
|
|
322
333
|
boxApply(this, $box);
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
334
|
+
this.i3_1 = $outer;
|
|
335
|
+
this.g3_1 = 0;
|
|
336
|
+
this.h3_1 = -1;
|
|
326
337
|
}
|
|
327
|
-
|
|
328
|
-
return this.
|
|
338
|
+
s() {
|
|
339
|
+
return this.g3_1 < this.i3_1.u();
|
|
329
340
|
}
|
|
330
|
-
|
|
331
|
-
if (!this.
|
|
332
|
-
throw NoSuchElementException.
|
|
341
|
+
t() {
|
|
342
|
+
if (!this.s())
|
|
343
|
+
throw NoSuchElementException.j3();
|
|
333
344
|
var tmp = this;
|
|
334
|
-
var _unary__edvuaz = this.
|
|
335
|
-
this.
|
|
336
|
-
tmp.
|
|
337
|
-
return this.
|
|
345
|
+
var _unary__edvuaz = this.g3_1;
|
|
346
|
+
this.g3_1 = _unary__edvuaz + 1 | 0;
|
|
347
|
+
tmp.h3_1 = _unary__edvuaz;
|
|
348
|
+
return this.i3_1.v(this.h3_1);
|
|
338
349
|
}
|
|
339
350
|
}
|
|
340
351
|
class ListIteratorImpl extends IteratorImpl {
|
|
341
352
|
constructor($outer, index, $box) {
|
|
342
353
|
if ($box === VOID)
|
|
343
354
|
$box = {};
|
|
344
|
-
$box.
|
|
355
|
+
$box.n3_1 = $outer;
|
|
345
356
|
super($outer, $box);
|
|
346
|
-
Companion_instance_4.
|
|
347
|
-
this.
|
|
357
|
+
Companion_instance_4.p3(index, this.n3_1.u());
|
|
358
|
+
this.g3_1 = index;
|
|
348
359
|
}
|
|
349
360
|
}
|
|
350
361
|
class AbstractMutableList extends AbstractMutableCollection {
|
|
351
|
-
static
|
|
362
|
+
static w3() {
|
|
352
363
|
var $this = this.c3();
|
|
353
|
-
$this.
|
|
364
|
+
$this.v3_1 = 0;
|
|
354
365
|
return $this;
|
|
355
366
|
}
|
|
356
|
-
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
367
|
+
n(element) {
|
|
368
|
+
this.f3();
|
|
369
|
+
this.y3(this.u(), element);
|
|
359
370
|
return true;
|
|
360
371
|
}
|
|
361
|
-
|
|
372
|
+
r() {
|
|
362
373
|
return new IteratorImpl(this);
|
|
363
374
|
}
|
|
364
375
|
m1(element) {
|
|
@@ -369,9 +380,9 @@ class AbstractMutableList extends AbstractMutableCollection {
|
|
|
369
380
|
$l$block: {
|
|
370
381
|
// Inline function 'kotlin.collections.indexOfFirst' call
|
|
371
382
|
var index = 0;
|
|
372
|
-
var _iterator__ex2g4s = this.
|
|
373
|
-
while (_iterator__ex2g4s.
|
|
374
|
-
var item = _iterator__ex2g4s.
|
|
383
|
+
var _iterator__ex2g4s = this.r();
|
|
384
|
+
while (_iterator__ex2g4s.s()) {
|
|
385
|
+
var item = _iterator__ex2g4s.t();
|
|
375
386
|
if (equals(item, element)) {
|
|
376
387
|
tmp$ret$0 = index;
|
|
377
388
|
break $l$block;
|
|
@@ -382,55 +393,55 @@ class AbstractMutableList extends AbstractMutableCollection {
|
|
|
382
393
|
}
|
|
383
394
|
return tmp$ret$0;
|
|
384
395
|
}
|
|
385
|
-
|
|
396
|
+
b1(index) {
|
|
386
397
|
return new ListIteratorImpl(this, index);
|
|
387
398
|
}
|
|
388
399
|
o1(fromIndex, toIndex) {
|
|
389
|
-
return SubList.
|
|
400
|
+
return SubList.u3(this, fromIndex, toIndex);
|
|
390
401
|
}
|
|
391
402
|
equals(other) {
|
|
392
403
|
if (other === this)
|
|
393
404
|
return true;
|
|
394
405
|
if (!(!(other == null) ? isInterface(other, KtList) : false))
|
|
395
406
|
return false;
|
|
396
|
-
return Companion_instance_4.
|
|
407
|
+
return Companion_instance_4.a4(this, other);
|
|
397
408
|
}
|
|
398
409
|
hashCode() {
|
|
399
|
-
return Companion_instance_4.
|
|
410
|
+
return Companion_instance_4.b4(this);
|
|
400
411
|
}
|
|
401
412
|
}
|
|
402
413
|
class RandomAccess {}
|
|
403
414
|
class SubList extends AbstractMutableList {
|
|
404
415
|
constructor(list, fromIndex, toIndex) {
|
|
405
|
-
return new.target.
|
|
406
|
-
}
|
|
407
|
-
static
|
|
408
|
-
var $this = this.
|
|
409
|
-
$this.
|
|
410
|
-
$this.
|
|
411
|
-
$this.
|
|
412
|
-
Companion_instance_4.
|
|
413
|
-
$this.
|
|
416
|
+
return new.target.u3(list, fromIndex, toIndex);
|
|
417
|
+
}
|
|
418
|
+
static u3(list, fromIndex, toIndex) {
|
|
419
|
+
var $this = this.w3();
|
|
420
|
+
$this.r3_1 = list;
|
|
421
|
+
$this.s3_1 = fromIndex;
|
|
422
|
+
$this.t3_1 = 0;
|
|
423
|
+
Companion_instance_4.x3($this.s3_1, toIndex, $this.r3_1.u());
|
|
424
|
+
$this.t3_1 = toIndex - $this.s3_1 | 0;
|
|
414
425
|
return $this;
|
|
415
426
|
}
|
|
416
|
-
|
|
417
|
-
Companion_instance_4.
|
|
418
|
-
this.
|
|
419
|
-
this.
|
|
427
|
+
y3(index, element) {
|
|
428
|
+
Companion_instance_4.p3(index, this.t3_1);
|
|
429
|
+
this.r3_1.y3(this.s3_1 + index | 0, element);
|
|
430
|
+
this.t3_1 = this.t3_1 + 1 | 0;
|
|
420
431
|
}
|
|
421
|
-
|
|
422
|
-
Companion_instance_4.
|
|
423
|
-
return this.
|
|
432
|
+
v(index) {
|
|
433
|
+
Companion_instance_4.z3(index, this.t3_1);
|
|
434
|
+
return this.r3_1.v(this.s3_1 + index | 0);
|
|
424
435
|
}
|
|
425
|
-
|
|
426
|
-
return this.
|
|
436
|
+
u() {
|
|
437
|
+
return this.t3_1;
|
|
427
438
|
}
|
|
428
|
-
|
|
429
|
-
return this.
|
|
439
|
+
f3() {
|
|
440
|
+
return this.r3_1.f3();
|
|
430
441
|
}
|
|
431
442
|
}
|
|
432
443
|
class AbstractMutableSet extends AbstractMutableCollection {
|
|
433
|
-
static
|
|
444
|
+
static c4() {
|
|
434
445
|
return this.c3();
|
|
435
446
|
}
|
|
436
447
|
equals(other) {
|
|
@@ -438,10 +449,10 @@ class AbstractMutableSet extends AbstractMutableCollection {
|
|
|
438
449
|
return true;
|
|
439
450
|
if (!(!(other == null) ? isInterface(other, KtSet) : false))
|
|
440
451
|
return false;
|
|
441
|
-
return Companion_instance_5.
|
|
452
|
+
return Companion_instance_5.d4(this, other);
|
|
442
453
|
}
|
|
443
454
|
hashCode() {
|
|
444
|
-
return Companion_instance_5.
|
|
455
|
+
return Companion_instance_5.e4(this);
|
|
445
456
|
}
|
|
446
457
|
}
|
|
447
458
|
class Companion_1 {
|
|
@@ -449,9 +460,9 @@ class Companion_1 {
|
|
|
449
460
|
Companion_instance_1 = this;
|
|
450
461
|
var tmp = this;
|
|
451
462
|
// Inline function 'kotlin.also' call
|
|
452
|
-
var this_0 = ArrayList.
|
|
453
|
-
this_0.
|
|
454
|
-
tmp.
|
|
463
|
+
var this_0 = ArrayList.a1(0);
|
|
464
|
+
this_0.y_1 = true;
|
|
465
|
+
tmp.f4_1 = this_0;
|
|
455
466
|
}
|
|
456
467
|
}
|
|
457
468
|
class ArrayList extends AbstractMutableList {
|
|
@@ -460,18 +471,18 @@ class ArrayList extends AbstractMutableList {
|
|
|
460
471
|
}
|
|
461
472
|
static t2(array) {
|
|
462
473
|
Companion_getInstance_1();
|
|
463
|
-
var $this = this.
|
|
464
|
-
$this.
|
|
465
|
-
$this.
|
|
474
|
+
var $this = this.w3();
|
|
475
|
+
$this.x_1 = array;
|
|
476
|
+
$this.y_1 = false;
|
|
466
477
|
return $this;
|
|
467
478
|
}
|
|
468
|
-
static
|
|
479
|
+
static z() {
|
|
469
480
|
Companion_getInstance_1();
|
|
470
481
|
// Inline function 'kotlin.emptyArray' call
|
|
471
482
|
var tmp$ret$0 = [];
|
|
472
483
|
return this.t2(tmp$ret$0);
|
|
473
484
|
}
|
|
474
|
-
static
|
|
485
|
+
static a1(initialCapacity) {
|
|
475
486
|
Companion_getInstance_1();
|
|
476
487
|
// Inline function 'kotlin.emptyArray' call
|
|
477
488
|
var tmp$ret$0 = [];
|
|
@@ -479,192 +490,210 @@ class ArrayList extends AbstractMutableList {
|
|
|
479
490
|
// Inline function 'kotlin.require' call
|
|
480
491
|
if (!(initialCapacity >= 0)) {
|
|
481
492
|
var message = 'Negative initial capacity: ' + initialCapacity;
|
|
482
|
-
throw IllegalArgumentException.
|
|
493
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
483
494
|
}
|
|
484
495
|
return $this;
|
|
485
496
|
}
|
|
486
|
-
static
|
|
497
|
+
static c1(elements) {
|
|
487
498
|
Companion_getInstance_1();
|
|
488
499
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
489
500
|
var tmp$ret$0 = copyToArray(elements);
|
|
490
501
|
return this.t2(tmp$ret$0);
|
|
491
502
|
}
|
|
492
|
-
|
|
493
|
-
return this.
|
|
503
|
+
u() {
|
|
504
|
+
return this.x_1.length;
|
|
494
505
|
}
|
|
495
|
-
|
|
496
|
-
return this.
|
|
506
|
+
v(index) {
|
|
507
|
+
return this.x_1[rangeCheck(this, index)];
|
|
497
508
|
}
|
|
498
|
-
|
|
499
|
-
this.
|
|
509
|
+
n(element) {
|
|
510
|
+
this.f3();
|
|
500
511
|
// Inline function 'kotlin.js.asDynamic' call
|
|
501
|
-
this.
|
|
502
|
-
this.
|
|
512
|
+
this.x_1.push(element);
|
|
513
|
+
this.v3_1 = this.v3_1 + 1 | 0;
|
|
503
514
|
return true;
|
|
504
515
|
}
|
|
505
|
-
|
|
506
|
-
this.
|
|
516
|
+
y3(index, element) {
|
|
517
|
+
this.f3();
|
|
507
518
|
// Inline function 'kotlin.js.asDynamic' call
|
|
508
|
-
this.
|
|
509
|
-
this.
|
|
519
|
+
this.x_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
520
|
+
this.v3_1 = this.v3_1 + 1 | 0;
|
|
521
|
+
}
|
|
522
|
+
e3(elements) {
|
|
523
|
+
this.f3();
|
|
524
|
+
if (elements.d1())
|
|
525
|
+
return false;
|
|
526
|
+
var offset = increaseLength(this, elements.u());
|
|
527
|
+
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
528
|
+
var index = 0;
|
|
529
|
+
var _iterator__ex2g4s = elements.r();
|
|
530
|
+
while (_iterator__ex2g4s.s()) {
|
|
531
|
+
var item = _iterator__ex2g4s.t();
|
|
532
|
+
var _unary__edvuaz = index;
|
|
533
|
+
index = _unary__edvuaz + 1 | 0;
|
|
534
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
535
|
+
this.x_1[offset + index_0 | 0] = item;
|
|
536
|
+
}
|
|
537
|
+
this.v3_1 = this.v3_1 + 1 | 0;
|
|
538
|
+
return true;
|
|
510
539
|
}
|
|
511
540
|
n1(element) {
|
|
512
|
-
return indexOf(this.
|
|
541
|
+
return indexOf(this.x_1, element);
|
|
513
542
|
}
|
|
514
543
|
toString() {
|
|
515
|
-
return arrayToString(this.
|
|
544
|
+
return arrayToString(this.x_1);
|
|
516
545
|
}
|
|
517
|
-
|
|
518
|
-
return [].slice.call(this.
|
|
546
|
+
g4() {
|
|
547
|
+
return [].slice.call(this.x_1);
|
|
519
548
|
}
|
|
520
549
|
toArray() {
|
|
521
|
-
return this.
|
|
550
|
+
return this.g4();
|
|
522
551
|
}
|
|
523
|
-
|
|
524
|
-
if (this.
|
|
525
|
-
throw UnsupportedOperationException.
|
|
552
|
+
f3() {
|
|
553
|
+
if (this.y_1)
|
|
554
|
+
throw UnsupportedOperationException.k4();
|
|
526
555
|
}
|
|
527
556
|
}
|
|
528
557
|
class HashSet extends AbstractMutableSet {
|
|
529
|
-
static
|
|
530
|
-
var $this = this.
|
|
558
|
+
static m4(map) {
|
|
559
|
+
var $this = this.c4();
|
|
531
560
|
init_kotlin_collections_HashSet($this);
|
|
532
|
-
$this.
|
|
561
|
+
$this.l4_1 = map;
|
|
533
562
|
return $this;
|
|
534
563
|
}
|
|
535
|
-
static
|
|
536
|
-
return this.
|
|
564
|
+
static n4() {
|
|
565
|
+
return this.m4(InternalHashMap.y4());
|
|
537
566
|
}
|
|
538
|
-
static
|
|
539
|
-
return this.
|
|
567
|
+
static z4(initialCapacity, loadFactor) {
|
|
568
|
+
return this.m4(InternalHashMap.a5(initialCapacity, loadFactor));
|
|
540
569
|
}
|
|
541
|
-
static
|
|
542
|
-
return this.
|
|
570
|
+
static b5(initialCapacity) {
|
|
571
|
+
return this.z4(initialCapacity, 1.0);
|
|
543
572
|
}
|
|
544
|
-
|
|
545
|
-
return this.
|
|
573
|
+
n(element) {
|
|
574
|
+
return this.l4_1.c5(element, true) == null;
|
|
546
575
|
}
|
|
547
576
|
m1(element) {
|
|
548
|
-
return this.
|
|
577
|
+
return this.l4_1.d5(element);
|
|
549
578
|
}
|
|
550
|
-
|
|
551
|
-
return this.
|
|
579
|
+
d1() {
|
|
580
|
+
return this.l4_1.u() === 0;
|
|
552
581
|
}
|
|
553
|
-
|
|
554
|
-
return this.
|
|
582
|
+
r() {
|
|
583
|
+
return this.l4_1.e5();
|
|
555
584
|
}
|
|
556
|
-
|
|
557
|
-
return this.
|
|
585
|
+
u() {
|
|
586
|
+
return this.l4_1.u();
|
|
558
587
|
}
|
|
559
588
|
}
|
|
560
589
|
class Companion_2 {
|
|
561
590
|
constructor() {
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
564
|
-
this.
|
|
565
|
-
this.
|
|
591
|
+
this.s5_1 = -1640531527;
|
|
592
|
+
this.t5_1 = 8;
|
|
593
|
+
this.u5_1 = 2;
|
|
594
|
+
this.v5_1 = -1;
|
|
566
595
|
}
|
|
567
596
|
}
|
|
568
597
|
class Itr {
|
|
569
598
|
constructor(map) {
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
while (this.
|
|
578
|
-
this.
|
|
599
|
+
this.w5_1 = map;
|
|
600
|
+
this.x5_1 = 0;
|
|
601
|
+
this.y5_1 = -1;
|
|
602
|
+
this.z5_1 = this.w5_1.v4_1;
|
|
603
|
+
this.a6();
|
|
604
|
+
}
|
|
605
|
+
a6() {
|
|
606
|
+
while (this.x5_1 < this.w5_1.t4_1 && this.w5_1.q4_1[this.x5_1] < 0) {
|
|
607
|
+
this.x5_1 = this.x5_1 + 1 | 0;
|
|
579
608
|
}
|
|
580
609
|
}
|
|
581
|
-
|
|
582
|
-
return this.
|
|
610
|
+
s() {
|
|
611
|
+
return this.x5_1 < this.w5_1.t4_1;
|
|
583
612
|
}
|
|
584
|
-
|
|
585
|
-
if (!(this.
|
|
586
|
-
throw ConcurrentModificationException.
|
|
613
|
+
b6() {
|
|
614
|
+
if (!(this.w5_1.v4_1 === this.z5_1))
|
|
615
|
+
throw ConcurrentModificationException.c6();
|
|
587
616
|
}
|
|
588
617
|
}
|
|
589
618
|
class KeysItr extends Itr {
|
|
590
|
-
|
|
591
|
-
this.
|
|
592
|
-
if (this.
|
|
593
|
-
throw NoSuchElementException.
|
|
619
|
+
t() {
|
|
620
|
+
this.b6();
|
|
621
|
+
if (this.x5_1 >= this.w5_1.t4_1)
|
|
622
|
+
throw NoSuchElementException.j3();
|
|
594
623
|
var tmp = this;
|
|
595
|
-
var _unary__edvuaz = this.
|
|
596
|
-
this.
|
|
597
|
-
tmp.
|
|
598
|
-
var result = this.
|
|
599
|
-
this.
|
|
624
|
+
var _unary__edvuaz = this.x5_1;
|
|
625
|
+
this.x5_1 = _unary__edvuaz + 1 | 0;
|
|
626
|
+
tmp.y5_1 = _unary__edvuaz;
|
|
627
|
+
var result = this.w5_1.o4_1[this.y5_1];
|
|
628
|
+
this.a6();
|
|
600
629
|
return result;
|
|
601
630
|
}
|
|
602
631
|
}
|
|
603
632
|
class EntriesItr extends Itr {
|
|
604
|
-
|
|
605
|
-
this.
|
|
606
|
-
if (this.
|
|
607
|
-
throw NoSuchElementException.
|
|
633
|
+
t() {
|
|
634
|
+
this.b6();
|
|
635
|
+
if (this.x5_1 >= this.w5_1.t4_1)
|
|
636
|
+
throw NoSuchElementException.j3();
|
|
608
637
|
var tmp = this;
|
|
609
|
-
var _unary__edvuaz = this.
|
|
610
|
-
this.
|
|
611
|
-
tmp.
|
|
612
|
-
var result = new EntryRef(this.
|
|
613
|
-
this.
|
|
638
|
+
var _unary__edvuaz = this.x5_1;
|
|
639
|
+
this.x5_1 = _unary__edvuaz + 1 | 0;
|
|
640
|
+
tmp.y5_1 = _unary__edvuaz;
|
|
641
|
+
var result = new EntryRef(this.w5_1, this.y5_1);
|
|
642
|
+
this.a6();
|
|
614
643
|
return result;
|
|
615
644
|
}
|
|
616
|
-
|
|
617
|
-
if (this.
|
|
618
|
-
throw NoSuchElementException.
|
|
645
|
+
l6() {
|
|
646
|
+
if (this.x5_1 >= this.w5_1.t4_1)
|
|
647
|
+
throw NoSuchElementException.j3();
|
|
619
648
|
var tmp = this;
|
|
620
|
-
var _unary__edvuaz = this.
|
|
621
|
-
this.
|
|
622
|
-
tmp.
|
|
649
|
+
var _unary__edvuaz = this.x5_1;
|
|
650
|
+
this.x5_1 = _unary__edvuaz + 1 | 0;
|
|
651
|
+
tmp.y5_1 = _unary__edvuaz;
|
|
623
652
|
// Inline function 'kotlin.hashCode' call
|
|
624
|
-
var tmp0_safe_receiver = this.
|
|
653
|
+
var tmp0_safe_receiver = this.w5_1.o4_1[this.y5_1];
|
|
625
654
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode_0(tmp0_safe_receiver);
|
|
626
655
|
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
627
656
|
// Inline function 'kotlin.hashCode' call
|
|
628
|
-
var tmp0_safe_receiver_0 = ensureNotNull(this.
|
|
657
|
+
var tmp0_safe_receiver_0 = ensureNotNull(this.w5_1.p4_1)[this.y5_1];
|
|
629
658
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode_0(tmp0_safe_receiver_0);
|
|
630
659
|
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
|
|
631
|
-
this.
|
|
660
|
+
this.a6();
|
|
632
661
|
return result;
|
|
633
662
|
}
|
|
634
|
-
|
|
635
|
-
if (this.
|
|
636
|
-
throw NoSuchElementException.
|
|
663
|
+
m6(sb) {
|
|
664
|
+
if (this.x5_1 >= this.w5_1.t4_1)
|
|
665
|
+
throw NoSuchElementException.j3();
|
|
637
666
|
var tmp = this;
|
|
638
|
-
var _unary__edvuaz = this.
|
|
639
|
-
this.
|
|
640
|
-
tmp.
|
|
641
|
-
var key = this.
|
|
642
|
-
if (equals(key, this.
|
|
643
|
-
sb.
|
|
667
|
+
var _unary__edvuaz = this.x5_1;
|
|
668
|
+
this.x5_1 = _unary__edvuaz + 1 | 0;
|
|
669
|
+
tmp.y5_1 = _unary__edvuaz;
|
|
670
|
+
var key = this.w5_1.o4_1[this.y5_1];
|
|
671
|
+
if (equals(key, this.w5_1))
|
|
672
|
+
sb.o6('(this Map)');
|
|
644
673
|
else
|
|
645
|
-
sb.
|
|
646
|
-
sb.
|
|
647
|
-
var value = ensureNotNull(this.
|
|
648
|
-
if (equals(value, this.
|
|
649
|
-
sb.
|
|
674
|
+
sb.n6(key);
|
|
675
|
+
sb.p6(_Char___init__impl__6a9atx(61));
|
|
676
|
+
var value = ensureNotNull(this.w5_1.p4_1)[this.y5_1];
|
|
677
|
+
if (equals(value, this.w5_1))
|
|
678
|
+
sb.o6('(this Map)');
|
|
650
679
|
else
|
|
651
|
-
sb.
|
|
652
|
-
this.
|
|
680
|
+
sb.n6(value);
|
|
681
|
+
this.a6();
|
|
653
682
|
}
|
|
654
683
|
}
|
|
655
684
|
class EntryRef {
|
|
656
685
|
constructor(map, index) {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
659
|
-
this.
|
|
686
|
+
this.j5_1 = map;
|
|
687
|
+
this.k5_1 = index;
|
|
688
|
+
this.l5_1 = this.j5_1.v4_1;
|
|
660
689
|
}
|
|
661
690
|
q1() {
|
|
662
691
|
checkForComodification(this);
|
|
663
|
-
return this.
|
|
692
|
+
return this.j5_1.o4_1[this.k5_1];
|
|
664
693
|
}
|
|
665
694
|
r1() {
|
|
666
695
|
checkForComodification(this);
|
|
667
|
-
return ensureNotNull(this.
|
|
696
|
+
return ensureNotNull(this.j5_1.p4_1)[this.k5_1];
|
|
668
697
|
}
|
|
669
698
|
equals(other) {
|
|
670
699
|
var tmp;
|
|
@@ -702,7 +731,7 @@ function containsAllEntries(m) {
|
|
|
702
731
|
// Inline function 'kotlin.collections.all' call
|
|
703
732
|
var tmp;
|
|
704
733
|
if (isInterface(m, Collection)) {
|
|
705
|
-
tmp = m.
|
|
734
|
+
tmp = m.d1();
|
|
706
735
|
} else {
|
|
707
736
|
tmp = false;
|
|
708
737
|
}
|
|
@@ -710,15 +739,15 @@ function containsAllEntries(m) {
|
|
|
710
739
|
tmp$ret$0 = true;
|
|
711
740
|
break $l$block_0;
|
|
712
741
|
}
|
|
713
|
-
var _iterator__ex2g4s = m.
|
|
714
|
-
while (_iterator__ex2g4s.
|
|
715
|
-
var element = _iterator__ex2g4s.
|
|
742
|
+
var _iterator__ex2g4s = m.r();
|
|
743
|
+
while (_iterator__ex2g4s.s()) {
|
|
744
|
+
var element = _iterator__ex2g4s.t();
|
|
716
745
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
717
746
|
// Inline function 'kotlin.js.asDynamic' call
|
|
718
747
|
var entry = element;
|
|
719
748
|
var tmp_0;
|
|
720
749
|
if (!(entry == null) ? isInterface(entry, Entry) : false) {
|
|
721
|
-
tmp_0 = this.
|
|
750
|
+
tmp_0 = this.v6(entry);
|
|
722
751
|
} else {
|
|
723
752
|
tmp_0 = false;
|
|
724
753
|
}
|
|
@@ -733,44 +762,44 @@ function containsAllEntries(m) {
|
|
|
733
762
|
}
|
|
734
763
|
class InternalHashMap {
|
|
735
764
|
constructor(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
736
|
-
return new.target.
|
|
765
|
+
return new.target.q6(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length);
|
|
737
766
|
}
|
|
738
|
-
static
|
|
767
|
+
static q6(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
|
|
739
768
|
var $this = createThis(this);
|
|
740
|
-
$this.
|
|
741
|
-
$this.
|
|
742
|
-
$this.
|
|
743
|
-
$this.
|
|
744
|
-
$this.
|
|
745
|
-
$this.
|
|
746
|
-
$this.
|
|
747
|
-
$this.u4_1 = 0;
|
|
769
|
+
$this.o4_1 = keysArray;
|
|
770
|
+
$this.p4_1 = valuesArray;
|
|
771
|
+
$this.q4_1 = presenceArray;
|
|
772
|
+
$this.r4_1 = hashArray;
|
|
773
|
+
$this.s4_1 = maxProbeDistance;
|
|
774
|
+
$this.t4_1 = length;
|
|
775
|
+
$this.u4_1 = computeShift(Companion_instance_2, _get_hashSize__tftcho($this));
|
|
748
776
|
$this.v4_1 = 0;
|
|
749
|
-
$this.w4_1 =
|
|
777
|
+
$this.w4_1 = 0;
|
|
778
|
+
$this.x4_1 = false;
|
|
750
779
|
return $this;
|
|
751
780
|
}
|
|
752
|
-
|
|
753
|
-
return this.
|
|
781
|
+
u() {
|
|
782
|
+
return this.w4_1;
|
|
754
783
|
}
|
|
755
|
-
static
|
|
756
|
-
return this.
|
|
784
|
+
static y4() {
|
|
785
|
+
return this.r6(8);
|
|
757
786
|
}
|
|
758
|
-
static
|
|
759
|
-
return this.
|
|
787
|
+
static r6(initialCapacity) {
|
|
788
|
+
return this.q6(arrayOfUninitializedElements(initialCapacity), null, new Int32Array(initialCapacity), new Int32Array(computeHashSize(Companion_instance_2, initialCapacity)), 2, 0);
|
|
760
789
|
}
|
|
761
|
-
static
|
|
762
|
-
var $this = this.
|
|
790
|
+
static a5(initialCapacity, loadFactor) {
|
|
791
|
+
var $this = this.r6(initialCapacity);
|
|
763
792
|
// Inline function 'kotlin.require' call
|
|
764
793
|
if (!(loadFactor > 0)) {
|
|
765
794
|
var message = 'Non-positive load factor: ' + loadFactor;
|
|
766
|
-
throw IllegalArgumentException.
|
|
795
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
767
796
|
}
|
|
768
797
|
return $this;
|
|
769
798
|
}
|
|
770
|
-
|
|
799
|
+
d5(key) {
|
|
771
800
|
return findKey(this, key) >= 0;
|
|
772
801
|
}
|
|
773
|
-
|
|
802
|
+
c5(key, value) {
|
|
774
803
|
var index = addKey(this, key);
|
|
775
804
|
var valuesArray = allocateValuesArray(this);
|
|
776
805
|
if (index < 0) {
|
|
@@ -799,64 +828,67 @@ class InternalHashMap {
|
|
|
799
828
|
}
|
|
800
829
|
hashCode() {
|
|
801
830
|
var result = 0;
|
|
802
|
-
var it = this.
|
|
803
|
-
while (it.
|
|
804
|
-
result = result + it.
|
|
831
|
+
var it = this.s6();
|
|
832
|
+
while (it.s()) {
|
|
833
|
+
result = result + it.l6() | 0;
|
|
805
834
|
}
|
|
806
835
|
return result;
|
|
807
836
|
}
|
|
808
837
|
toString() {
|
|
809
|
-
var sb = StringBuilder.
|
|
810
|
-
sb.
|
|
838
|
+
var sb = StringBuilder.t6(2 + imul_0(this.w4_1, 3) | 0);
|
|
839
|
+
sb.o6('{');
|
|
811
840
|
var i = 0;
|
|
812
|
-
var it = this.
|
|
813
|
-
while (it.
|
|
841
|
+
var it = this.s6();
|
|
842
|
+
while (it.s()) {
|
|
814
843
|
if (i > 0) {
|
|
815
|
-
sb.
|
|
844
|
+
sb.o6(', ');
|
|
816
845
|
}
|
|
817
|
-
it.
|
|
846
|
+
it.m6(sb);
|
|
818
847
|
i = i + 1 | 0;
|
|
819
848
|
}
|
|
820
|
-
sb.
|
|
849
|
+
sb.o6('}');
|
|
821
850
|
return sb.toString();
|
|
822
851
|
}
|
|
823
|
-
|
|
824
|
-
if (this.
|
|
825
|
-
throw UnsupportedOperationException.
|
|
852
|
+
q5() {
|
|
853
|
+
if (this.x4_1)
|
|
854
|
+
throw UnsupportedOperationException.k4();
|
|
826
855
|
}
|
|
827
|
-
|
|
856
|
+
u6(entry) {
|
|
828
857
|
var index = findKey(this, entry.q1());
|
|
829
858
|
if (index < 0)
|
|
830
859
|
return false;
|
|
831
|
-
return equals(ensureNotNull(this.
|
|
860
|
+
return equals(ensureNotNull(this.p4_1)[index], entry.r1());
|
|
832
861
|
}
|
|
833
|
-
|
|
834
|
-
return this.
|
|
862
|
+
v6(entry) {
|
|
863
|
+
return this.u6(isInterface(entry, Entry) ? entry : THROW_CCE());
|
|
835
864
|
}
|
|
836
|
-
|
|
865
|
+
e5() {
|
|
837
866
|
return new KeysItr(this);
|
|
838
867
|
}
|
|
839
|
-
|
|
868
|
+
s6() {
|
|
840
869
|
return new EntriesItr(this);
|
|
841
870
|
}
|
|
842
871
|
}
|
|
843
872
|
class LinkedHashSet extends HashSet {
|
|
844
|
-
static
|
|
845
|
-
var $this = this.
|
|
873
|
+
static e1() {
|
|
874
|
+
var $this = this.n4();
|
|
846
875
|
init_kotlin_collections_LinkedHashSet($this);
|
|
847
876
|
return $this;
|
|
848
877
|
}
|
|
849
|
-
static
|
|
850
|
-
var $this = this.
|
|
878
|
+
static w6(initialCapacity, loadFactor) {
|
|
879
|
+
var $this = this.z4(initialCapacity, loadFactor);
|
|
851
880
|
init_kotlin_collections_LinkedHashSet($this);
|
|
852
881
|
return $this;
|
|
853
882
|
}
|
|
854
|
-
static
|
|
855
|
-
return this.
|
|
883
|
+
static e(initialCapacity) {
|
|
884
|
+
return this.w6(initialCapacity, 1.0);
|
|
885
|
+
}
|
|
886
|
+
f3() {
|
|
887
|
+
return this.l4_1.q5();
|
|
856
888
|
}
|
|
857
889
|
}
|
|
858
890
|
class Exception extends Error {
|
|
859
|
-
static
|
|
891
|
+
static d7() {
|
|
860
892
|
var $this = createExternalThis(this, Error, [null]);
|
|
861
893
|
setPropertiesToThrowableInstance($this);
|
|
862
894
|
init_kotlin_Exception($this);
|
|
@@ -870,123 +902,123 @@ class Exception extends Error {
|
|
|
870
902
|
}
|
|
871
903
|
}
|
|
872
904
|
class RuntimeException extends Exception {
|
|
873
|
-
static
|
|
874
|
-
var $this = this.
|
|
905
|
+
static x6() {
|
|
906
|
+
var $this = this.d7();
|
|
875
907
|
init_kotlin_RuntimeException($this);
|
|
876
908
|
return $this;
|
|
877
909
|
}
|
|
878
|
-
static
|
|
910
|
+
static o5(message) {
|
|
879
911
|
var $this = this.g2(message);
|
|
880
912
|
init_kotlin_RuntimeException($this);
|
|
881
913
|
return $this;
|
|
882
914
|
}
|
|
883
915
|
}
|
|
884
916
|
class UnsupportedOperationException extends RuntimeException {
|
|
885
|
-
static
|
|
886
|
-
var $this = this.
|
|
917
|
+
static k4() {
|
|
918
|
+
var $this = this.x6();
|
|
887
919
|
init_kotlin_UnsupportedOperationException($this);
|
|
888
920
|
return $this;
|
|
889
921
|
}
|
|
890
|
-
static
|
|
891
|
-
var $this = this.
|
|
922
|
+
static y6(message) {
|
|
923
|
+
var $this = this.o5(message);
|
|
892
924
|
init_kotlin_UnsupportedOperationException($this);
|
|
893
925
|
return $this;
|
|
894
926
|
}
|
|
895
927
|
}
|
|
896
928
|
class IllegalStateException extends RuntimeException {
|
|
897
|
-
static
|
|
898
|
-
var $this = this.
|
|
929
|
+
static b7() {
|
|
930
|
+
var $this = this.x6();
|
|
899
931
|
init_kotlin_IllegalStateException($this);
|
|
900
932
|
return $this;
|
|
901
933
|
}
|
|
902
934
|
static k2(message) {
|
|
903
|
-
var $this = this.
|
|
935
|
+
var $this = this.o5(message);
|
|
904
936
|
init_kotlin_IllegalStateException($this);
|
|
905
937
|
return $this;
|
|
906
938
|
}
|
|
907
939
|
}
|
|
908
940
|
class IllegalArgumentException extends RuntimeException {
|
|
909
|
-
static
|
|
910
|
-
var $this = this.
|
|
941
|
+
static c7() {
|
|
942
|
+
var $this = this.x6();
|
|
911
943
|
init_kotlin_IllegalArgumentException($this);
|
|
912
944
|
return $this;
|
|
913
945
|
}
|
|
914
|
-
static
|
|
915
|
-
var $this = this.
|
|
946
|
+
static m(message) {
|
|
947
|
+
var $this = this.o5(message);
|
|
916
948
|
init_kotlin_IllegalArgumentException($this);
|
|
917
949
|
return $this;
|
|
918
950
|
}
|
|
919
951
|
}
|
|
920
952
|
class NoSuchElementException extends RuntimeException {
|
|
921
|
-
static
|
|
922
|
-
var $this = this.
|
|
953
|
+
static j3() {
|
|
954
|
+
var $this = this.x6();
|
|
923
955
|
init_kotlin_NoSuchElementException($this);
|
|
924
956
|
return $this;
|
|
925
957
|
}
|
|
926
|
-
static
|
|
927
|
-
var $this = this.
|
|
958
|
+
static i(message) {
|
|
959
|
+
var $this = this.o5(message);
|
|
928
960
|
init_kotlin_NoSuchElementException($this);
|
|
929
961
|
return $this;
|
|
930
962
|
}
|
|
931
963
|
}
|
|
932
964
|
class IndexOutOfBoundsException extends RuntimeException {
|
|
933
|
-
static
|
|
934
|
-
var $this = this.
|
|
965
|
+
static e7() {
|
|
966
|
+
var $this = this.x6();
|
|
935
967
|
init_kotlin_IndexOutOfBoundsException($this);
|
|
936
968
|
return $this;
|
|
937
969
|
}
|
|
938
970
|
static b3(message) {
|
|
939
|
-
var $this = this.
|
|
971
|
+
var $this = this.o5(message);
|
|
940
972
|
init_kotlin_IndexOutOfBoundsException($this);
|
|
941
973
|
return $this;
|
|
942
974
|
}
|
|
943
975
|
}
|
|
944
976
|
class ArithmeticException extends RuntimeException {
|
|
945
|
-
static
|
|
946
|
-
var $this = this.
|
|
977
|
+
static i7() {
|
|
978
|
+
var $this = this.x6();
|
|
947
979
|
init_kotlin_ArithmeticException($this);
|
|
948
980
|
return $this;
|
|
949
981
|
}
|
|
950
|
-
static
|
|
951
|
-
var $this = this.
|
|
982
|
+
static j7(message) {
|
|
983
|
+
var $this = this.o5(message);
|
|
952
984
|
init_kotlin_ArithmeticException($this);
|
|
953
985
|
return $this;
|
|
954
986
|
}
|
|
955
987
|
}
|
|
956
988
|
class NumberFormatException extends IllegalArgumentException {
|
|
957
|
-
static
|
|
958
|
-
var $this = this.
|
|
989
|
+
static o7() {
|
|
990
|
+
var $this = this.c7();
|
|
959
991
|
init_kotlin_NumberFormatException($this);
|
|
960
992
|
return $this;
|
|
961
993
|
}
|
|
962
|
-
static
|
|
963
|
-
var $this = this.
|
|
994
|
+
static p7(message) {
|
|
995
|
+
var $this = this.m(message);
|
|
964
996
|
init_kotlin_NumberFormatException($this);
|
|
965
997
|
return $this;
|
|
966
998
|
}
|
|
967
999
|
}
|
|
968
1000
|
class ConcurrentModificationException extends RuntimeException {
|
|
969
|
-
static
|
|
970
|
-
var $this = this.
|
|
1001
|
+
static c6() {
|
|
1002
|
+
var $this = this.x6();
|
|
971
1003
|
init_kotlin_ConcurrentModificationException($this);
|
|
972
1004
|
return $this;
|
|
973
1005
|
}
|
|
974
|
-
static
|
|
975
|
-
var $this = this.
|
|
1006
|
+
static i5(message) {
|
|
1007
|
+
var $this = this.o5(message);
|
|
976
1008
|
init_kotlin_ConcurrentModificationException($this);
|
|
977
1009
|
return $this;
|
|
978
1010
|
}
|
|
979
1011
|
}
|
|
980
1012
|
class NullPointerException extends RuntimeException {
|
|
981
1013
|
static o2() {
|
|
982
|
-
var $this = this.
|
|
1014
|
+
var $this = this.x6();
|
|
983
1015
|
init_kotlin_NullPointerException($this);
|
|
984
1016
|
return $this;
|
|
985
1017
|
}
|
|
986
1018
|
}
|
|
987
1019
|
class ClassCastException extends RuntimeException {
|
|
988
1020
|
static s2() {
|
|
989
|
-
var $this = this.
|
|
1021
|
+
var $this = this.x6();
|
|
990
1022
|
init_kotlin_ClassCastException($this);
|
|
991
1023
|
return $this;
|
|
992
1024
|
}
|
|
@@ -998,7 +1030,7 @@ class KClassImpl {
|
|
|
998
1030
|
tmp = false;
|
|
999
1031
|
} else {
|
|
1000
1032
|
if (other instanceof KClassImpl) {
|
|
1001
|
-
tmp = equals(this.
|
|
1033
|
+
tmp = equals(this.t7(), other.t7());
|
|
1002
1034
|
} else {
|
|
1003
1035
|
tmp = false;
|
|
1004
1036
|
}
|
|
@@ -1006,56 +1038,56 @@ class KClassImpl {
|
|
|
1006
1038
|
return tmp;
|
|
1007
1039
|
}
|
|
1008
1040
|
hashCode() {
|
|
1009
|
-
var tmp0_safe_receiver = this.
|
|
1041
|
+
var tmp0_safe_receiver = this.u7();
|
|
1010
1042
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1011
1043
|
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
1012
1044
|
}
|
|
1013
1045
|
toString() {
|
|
1014
|
-
return 'class ' + this.
|
|
1046
|
+
return 'class ' + this.u7();
|
|
1015
1047
|
}
|
|
1016
1048
|
}
|
|
1017
1049
|
class PrimitiveKClassImpl extends KClassImpl {
|
|
1018
1050
|
constructor(jClass, givenSimpleName, isInstanceFunction) {
|
|
1019
1051
|
super();
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1022
|
-
this.
|
|
1052
|
+
this.q7_1 = jClass;
|
|
1053
|
+
this.r7_1 = givenSimpleName;
|
|
1054
|
+
this.s7_1 = isInstanceFunction;
|
|
1023
1055
|
}
|
|
1024
|
-
|
|
1025
|
-
return this.
|
|
1056
|
+
t7() {
|
|
1057
|
+
return this.q7_1;
|
|
1026
1058
|
}
|
|
1027
1059
|
equals(other) {
|
|
1028
1060
|
if (!(other instanceof PrimitiveKClassImpl))
|
|
1029
1061
|
return false;
|
|
1030
|
-
return super.equals(other) && this.
|
|
1062
|
+
return super.equals(other) && this.r7_1 === other.r7_1;
|
|
1031
1063
|
}
|
|
1032
|
-
|
|
1033
|
-
return this.
|
|
1064
|
+
u7() {
|
|
1065
|
+
return this.r7_1;
|
|
1034
1066
|
}
|
|
1035
1067
|
}
|
|
1036
1068
|
class NothingKClassImpl extends KClassImpl {}
|
|
1037
1069
|
class StringBuilder {
|
|
1038
1070
|
constructor(content) {
|
|
1039
|
-
return new.target.
|
|
1071
|
+
return new.target.v7(content);
|
|
1040
1072
|
}
|
|
1041
|
-
static
|
|
1073
|
+
static v7(content) {
|
|
1042
1074
|
var $this = createThis(this);
|
|
1043
|
-
$this.
|
|
1075
|
+
$this.o_1 = content;
|
|
1044
1076
|
return $this;
|
|
1045
1077
|
}
|
|
1046
|
-
static
|
|
1047
|
-
return this.
|
|
1078
|
+
static t6(capacity) {
|
|
1079
|
+
return this.p();
|
|
1048
1080
|
}
|
|
1049
|
-
static
|
|
1050
|
-
return this.
|
|
1081
|
+
static p() {
|
|
1082
|
+
return this.v7('');
|
|
1051
1083
|
}
|
|
1052
1084
|
a() {
|
|
1053
1085
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1054
|
-
return this.
|
|
1086
|
+
return this.o_1.length;
|
|
1055
1087
|
}
|
|
1056
1088
|
b(index) {
|
|
1057
1089
|
// Inline function 'kotlin.text.getOrElse' call
|
|
1058
|
-
var this_0 = this.
|
|
1090
|
+
var this_0 = this.o_1;
|
|
1059
1091
|
var tmp;
|
|
1060
1092
|
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
|
|
1061
1093
|
tmp = charSequenceGet(this_0, index);
|
|
@@ -1065,152 +1097,152 @@ class StringBuilder {
|
|
|
1065
1097
|
return tmp;
|
|
1066
1098
|
}
|
|
1067
1099
|
c(startIndex, endIndex) {
|
|
1068
|
-
return substring(this.
|
|
1100
|
+
return substring(this.o_1, startIndex, endIndex);
|
|
1069
1101
|
}
|
|
1070
|
-
|
|
1071
|
-
this.
|
|
1102
|
+
p6(value) {
|
|
1103
|
+
this.o_1 = this.o_1 + toString(value);
|
|
1072
1104
|
return this;
|
|
1073
1105
|
}
|
|
1074
|
-
|
|
1075
|
-
this.
|
|
1106
|
+
q(value) {
|
|
1107
|
+
this.o_1 = this.o_1 + toString_0(value);
|
|
1076
1108
|
return this;
|
|
1077
1109
|
}
|
|
1078
|
-
|
|
1079
|
-
return this.
|
|
1110
|
+
w7(value, startIndex, endIndex) {
|
|
1111
|
+
return this.x7(value == null ? 'null' : value, startIndex, endIndex);
|
|
1080
1112
|
}
|
|
1081
|
-
|
|
1082
|
-
this.
|
|
1113
|
+
n6(value) {
|
|
1114
|
+
this.o_1 = this.o_1 + toString_0(value);
|
|
1083
1115
|
return this;
|
|
1084
1116
|
}
|
|
1085
|
-
|
|
1117
|
+
o6(value) {
|
|
1086
1118
|
var tmp = this;
|
|
1087
|
-
var tmp_0 = this.
|
|
1088
|
-
tmp.
|
|
1119
|
+
var tmp_0 = this.o_1;
|
|
1120
|
+
tmp.o_1 = tmp_0 + (value == null ? 'null' : value);
|
|
1089
1121
|
return this;
|
|
1090
1122
|
}
|
|
1091
1123
|
toString() {
|
|
1092
|
-
return this.
|
|
1124
|
+
return this.o_1;
|
|
1093
1125
|
}
|
|
1094
|
-
|
|
1126
|
+
x7(value, startIndex, endIndex) {
|
|
1095
1127
|
var stringCsq = toString_1(value);
|
|
1096
|
-
Companion_instance_4.
|
|
1097
|
-
this.
|
|
1128
|
+
Companion_instance_4.y7(startIndex, endIndex, stringCsq.length);
|
|
1129
|
+
this.o_1 = this.o_1 + substring(stringCsq, startIndex, endIndex);
|
|
1098
1130
|
return this;
|
|
1099
1131
|
}
|
|
1100
1132
|
}
|
|
1101
1133
|
class Companion_3 {
|
|
1102
1134
|
constructor() {
|
|
1103
1135
|
Companion_instance_3 = this;
|
|
1104
|
-
this.
|
|
1105
|
-
this.
|
|
1106
|
-
this.
|
|
1136
|
+
this.z7_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
1137
|
+
this.a8_1 = new RegExp('[\\\\$]', 'g');
|
|
1138
|
+
this.b8_1 = new RegExp('\\$', 'g');
|
|
1107
1139
|
}
|
|
1108
|
-
|
|
1140
|
+
c8(literal) {
|
|
1109
1141
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1110
|
-
var pattern = this.
|
|
1142
|
+
var pattern = this.z7_1;
|
|
1111
1143
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1112
1144
|
return literal.replace(pattern, '\\$&');
|
|
1113
1145
|
}
|
|
1114
|
-
|
|
1146
|
+
d8(literal) {
|
|
1115
1147
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1116
|
-
var pattern = this.
|
|
1148
|
+
var pattern = this.b8_1;
|
|
1117
1149
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1118
1150
|
return literal.replace(pattern, '$$$$');
|
|
1119
1151
|
}
|
|
1120
1152
|
}
|
|
1121
1153
|
class Regex {
|
|
1122
1154
|
constructor(pattern, options) {
|
|
1123
|
-
return new.target.
|
|
1155
|
+
return new.target.j8(pattern, options);
|
|
1124
1156
|
}
|
|
1125
|
-
static
|
|
1157
|
+
static j8(pattern, options) {
|
|
1126
1158
|
Companion_getInstance_3();
|
|
1127
1159
|
var $this = createThis(this);
|
|
1128
|
-
$this.
|
|
1129
|
-
$this.
|
|
1130
|
-
$this.
|
|
1131
|
-
$this.g8_1 = null;
|
|
1160
|
+
$this.e8_1 = pattern;
|
|
1161
|
+
$this.f8_1 = toSet_0(options);
|
|
1162
|
+
$this.g8_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
1132
1163
|
$this.h8_1 = null;
|
|
1164
|
+
$this.i8_1 = null;
|
|
1133
1165
|
return $this;
|
|
1134
1166
|
}
|
|
1135
|
-
static
|
|
1167
|
+
static k8(pattern, option) {
|
|
1136
1168
|
Companion_getInstance_3();
|
|
1137
|
-
return this.
|
|
1169
|
+
return this.j8(pattern, setOf(option));
|
|
1138
1170
|
}
|
|
1139
|
-
static
|
|
1171
|
+
static l8(pattern) {
|
|
1140
1172
|
Companion_getInstance_3();
|
|
1141
|
-
return this.
|
|
1173
|
+
return this.j8(pattern, emptySet());
|
|
1142
1174
|
}
|
|
1143
|
-
|
|
1144
|
-
reset(this.
|
|
1145
|
-
var match = this.
|
|
1146
|
-
return !(match == null) && match.index === 0 && this.
|
|
1175
|
+
m8(input) {
|
|
1176
|
+
reset(this.g8_1);
|
|
1177
|
+
var match = this.g8_1.exec(toString_1(input));
|
|
1178
|
+
return !(match == null) && match.index === 0 && this.g8_1.lastIndex === charSequenceLength(input);
|
|
1147
1179
|
}
|
|
1148
|
-
|
|
1180
|
+
n8(input, startIndex) {
|
|
1149
1181
|
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
|
|
1150
1182
|
throw IndexOutOfBoundsException.b3('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
1151
1183
|
}
|
|
1152
|
-
return findNext(this.
|
|
1184
|
+
return findNext(this.g8_1, toString_1(input), startIndex, this.g8_1);
|
|
1153
1185
|
}
|
|
1154
|
-
|
|
1186
|
+
o8(input, startIndex, $super) {
|
|
1155
1187
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1156
|
-
return $super === VOID ? this.
|
|
1188
|
+
return $super === VOID ? this.n8(input, startIndex) : $super.n8.call(this, input, startIndex);
|
|
1157
1189
|
}
|
|
1158
|
-
|
|
1190
|
+
p8(input, replacement) {
|
|
1159
1191
|
if (!contains(replacement, _Char___init__impl__6a9atx(92)) && !contains(replacement, _Char___init__impl__6a9atx(36))) {
|
|
1160
1192
|
var tmp0 = toString_1(input);
|
|
1161
1193
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
1162
|
-
var pattern = this.
|
|
1194
|
+
var pattern = this.g8_1;
|
|
1163
1195
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1164
1196
|
return tmp0.replace(pattern, replacement);
|
|
1165
1197
|
}
|
|
1166
|
-
return this.
|
|
1198
|
+
return this.q8(input, Regex$replace$lambda(replacement));
|
|
1167
1199
|
}
|
|
1168
|
-
|
|
1169
|
-
var match = this.
|
|
1200
|
+
q8(input, transform) {
|
|
1201
|
+
var match = this.o8(input);
|
|
1170
1202
|
if (match == null)
|
|
1171
1203
|
return toString_1(input);
|
|
1172
1204
|
var lastStart = 0;
|
|
1173
1205
|
var length = charSequenceLength(input);
|
|
1174
|
-
var sb = StringBuilder.
|
|
1206
|
+
var sb = StringBuilder.t6(length);
|
|
1175
1207
|
do {
|
|
1176
1208
|
var foundMatch = ensureNotNull(match);
|
|
1177
|
-
sb.
|
|
1178
|
-
sb.
|
|
1179
|
-
lastStart = foundMatch.
|
|
1180
|
-
match = foundMatch.
|
|
1209
|
+
sb.w7(input, lastStart, foundMatch.r8().s8());
|
|
1210
|
+
sb.q(transform(foundMatch));
|
|
1211
|
+
lastStart = foundMatch.r8().t8() + 1 | 0;
|
|
1212
|
+
match = foundMatch.t();
|
|
1181
1213
|
}
|
|
1182
1214
|
while (lastStart < length && !(match == null));
|
|
1183
1215
|
if (lastStart < length) {
|
|
1184
|
-
sb.
|
|
1216
|
+
sb.w7(input, lastStart, length);
|
|
1185
1217
|
}
|
|
1186
1218
|
return sb.toString();
|
|
1187
1219
|
}
|
|
1188
1220
|
toString() {
|
|
1189
|
-
return this.
|
|
1221
|
+
return this.g8_1.toString();
|
|
1190
1222
|
}
|
|
1191
1223
|
}
|
|
1192
1224
|
class RegexOption extends Enum {
|
|
1193
1225
|
constructor(name, ordinal, value) {
|
|
1194
1226
|
super(name, ordinal);
|
|
1195
|
-
this.
|
|
1227
|
+
this.w8_1 = value;
|
|
1196
1228
|
}
|
|
1197
1229
|
}
|
|
1198
1230
|
class MatchGroup {
|
|
1199
1231
|
constructor(value) {
|
|
1200
|
-
this.
|
|
1232
|
+
this.y8_1 = value;
|
|
1201
1233
|
}
|
|
1202
1234
|
toString() {
|
|
1203
|
-
return 'MatchGroup(value=' + this.
|
|
1235
|
+
return 'MatchGroup(value=' + this.y8_1 + ')';
|
|
1204
1236
|
}
|
|
1205
1237
|
hashCode() {
|
|
1206
|
-
return getStringHashCode(this.
|
|
1238
|
+
return getStringHashCode(this.y8_1);
|
|
1207
1239
|
}
|
|
1208
1240
|
equals(other) {
|
|
1209
1241
|
if (this === other)
|
|
1210
1242
|
return true;
|
|
1211
1243
|
if (!(other instanceof MatchGroup))
|
|
1212
1244
|
return false;
|
|
1213
|
-
if (!(this.
|
|
1245
|
+
if (!(this.y8_1 === other.y8_1))
|
|
1214
1246
|
return false;
|
|
1215
1247
|
return true;
|
|
1216
1248
|
}
|
|
@@ -1218,26 +1250,26 @@ class MatchGroup {
|
|
|
1218
1250
|
class MatchNamedGroupCollection {}
|
|
1219
1251
|
class findNext$1$groups$1 extends AbstractCollection {
|
|
1220
1252
|
constructor($match, this$0) {
|
|
1221
|
-
return new.target.
|
|
1253
|
+
return new.target.j9($match, this$0);
|
|
1222
1254
|
}
|
|
1223
|
-
static
|
|
1255
|
+
static j9($match, this$0, $box) {
|
|
1224
1256
|
if ($box === VOID)
|
|
1225
1257
|
$box = {};
|
|
1226
|
-
$box.
|
|
1227
|
-
$box.
|
|
1258
|
+
$box.a9_1 = $match;
|
|
1259
|
+
$box.b9_1 = this$0;
|
|
1228
1260
|
return this.d3($box);
|
|
1229
1261
|
}
|
|
1230
|
-
|
|
1231
|
-
return this.
|
|
1262
|
+
u() {
|
|
1263
|
+
return this.a9_1.length;
|
|
1232
1264
|
}
|
|
1233
|
-
|
|
1265
|
+
r() {
|
|
1234
1266
|
var tmp = asSequence(get_indices(this));
|
|
1235
|
-
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).
|
|
1267
|
+
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).r();
|
|
1236
1268
|
}
|
|
1237
|
-
|
|
1269
|
+
v(index) {
|
|
1238
1270
|
// Inline function 'kotlin.js.get' call
|
|
1239
1271
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1240
|
-
var tmp0_safe_receiver = this.
|
|
1272
|
+
var tmp0_safe_receiver = this.a9_1[index];
|
|
1241
1273
|
var tmp;
|
|
1242
1274
|
if (tmp0_safe_receiver == null) {
|
|
1243
1275
|
tmp = null;
|
|
@@ -1247,18 +1279,18 @@ class findNext$1$groups$1 extends AbstractCollection {
|
|
|
1247
1279
|
}
|
|
1248
1280
|
return tmp;
|
|
1249
1281
|
}
|
|
1250
|
-
|
|
1282
|
+
z8(name) {
|
|
1251
1283
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1252
|
-
var tmp0_elvis_lhs = this.
|
|
1284
|
+
var tmp0_elvis_lhs = this.a9_1.groups;
|
|
1253
1285
|
var tmp;
|
|
1254
1286
|
if (tmp0_elvis_lhs == null) {
|
|
1255
|
-
throw IllegalArgumentException.
|
|
1287
|
+
throw IllegalArgumentException.m('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
1256
1288
|
} else {
|
|
1257
1289
|
tmp = tmp0_elvis_lhs;
|
|
1258
1290
|
}
|
|
1259
1291
|
var groups = tmp;
|
|
1260
|
-
if (!hasOwnPrototypeProperty(this.
|
|
1261
|
-
throw IllegalArgumentException.
|
|
1292
|
+
if (!hasOwnPrototypeProperty(this.b9_1, groups, name))
|
|
1293
|
+
throw IllegalArgumentException.m('Capturing group with name {' + name + '} does not exist');
|
|
1262
1294
|
var value = groups[name];
|
|
1263
1295
|
var tmp_0;
|
|
1264
1296
|
if (value == undefined) {
|
|
@@ -1271,64 +1303,64 @@ class findNext$1$groups$1 extends AbstractCollection {
|
|
|
1271
1303
|
}
|
|
1272
1304
|
class findNext$1$groupValues$1 extends AbstractList {
|
|
1273
1305
|
constructor($match) {
|
|
1274
|
-
return new.target.
|
|
1306
|
+
return new.target.l9($match);
|
|
1275
1307
|
}
|
|
1276
|
-
static
|
|
1308
|
+
static l9($match, $box) {
|
|
1277
1309
|
if ($box === VOID)
|
|
1278
1310
|
$box = {};
|
|
1279
|
-
$box.
|
|
1311
|
+
$box.k9_1 = $match;
|
|
1280
1312
|
return this.x2($box);
|
|
1281
1313
|
}
|
|
1282
|
-
|
|
1283
|
-
return this.
|
|
1314
|
+
u() {
|
|
1315
|
+
return this.k9_1.length;
|
|
1284
1316
|
}
|
|
1285
|
-
|
|
1317
|
+
v(index) {
|
|
1286
1318
|
// Inline function 'kotlin.js.get' call
|
|
1287
1319
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1288
|
-
var tmp0_elvis_lhs = this.
|
|
1320
|
+
var tmp0_elvis_lhs = this.k9_1[index];
|
|
1289
1321
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1290
1322
|
}
|
|
1291
1323
|
}
|
|
1292
1324
|
class findNext$1 {
|
|
1293
1325
|
constructor($range, $match, $nextPattern, $input) {
|
|
1294
|
-
this.
|
|
1295
|
-
this.
|
|
1296
|
-
this.
|
|
1297
|
-
this.
|
|
1298
|
-
this.
|
|
1326
|
+
this.f9_1 = $range;
|
|
1327
|
+
this.g9_1 = $match;
|
|
1328
|
+
this.h9_1 = $nextPattern;
|
|
1329
|
+
this.i9_1 = $input;
|
|
1330
|
+
this.c9_1 = $range;
|
|
1299
1331
|
var tmp = this;
|
|
1300
|
-
tmp.
|
|
1301
|
-
this.
|
|
1332
|
+
tmp.d9_1 = findNext$1$groups$1.j9($match, this);
|
|
1333
|
+
this.e9_1 = null;
|
|
1302
1334
|
}
|
|
1303
|
-
|
|
1304
|
-
return this.b9_1;
|
|
1305
|
-
}
|
|
1306
|
-
w8() {
|
|
1335
|
+
r8() {
|
|
1307
1336
|
return this.c9_1;
|
|
1308
1337
|
}
|
|
1309
|
-
|
|
1310
|
-
|
|
1338
|
+
x8() {
|
|
1339
|
+
return this.d9_1;
|
|
1340
|
+
}
|
|
1341
|
+
m9() {
|
|
1342
|
+
if (this.e9_1 == null) {
|
|
1311
1343
|
var tmp = this;
|
|
1312
|
-
tmp.
|
|
1344
|
+
tmp.e9_1 = findNext$1$groupValues$1.l9(this.g9_1);
|
|
1313
1345
|
}
|
|
1314
|
-
return ensureNotNull(this.
|
|
1346
|
+
return ensureNotNull(this.e9_1);
|
|
1315
1347
|
}
|
|
1316
|
-
|
|
1317
|
-
return findNext(this.
|
|
1348
|
+
t() {
|
|
1349
|
+
return findNext(this.h9_1, this.i9_1, this.f9_1.d1() ? advanceToNextCharacter(this, this.f9_1.s8()) : this.f9_1.t8() + 1 | 0, this.h9_1);
|
|
1318
1350
|
}
|
|
1319
1351
|
}
|
|
1320
1352
|
class sam$kotlin_Comparator$0 {
|
|
1321
1353
|
constructor(function_0) {
|
|
1322
|
-
this.
|
|
1354
|
+
this.n9_1 = function_0;
|
|
1323
1355
|
}
|
|
1324
|
-
|
|
1325
|
-
return this.
|
|
1356
|
+
o9(a, b) {
|
|
1357
|
+
return this.n9_1(a, b);
|
|
1326
1358
|
}
|
|
1327
1359
|
compare(a, b) {
|
|
1328
|
-
return this.
|
|
1360
|
+
return this.o9(a, b);
|
|
1329
1361
|
}
|
|
1330
1362
|
e2() {
|
|
1331
|
-
return this.
|
|
1363
|
+
return this.n9_1;
|
|
1332
1364
|
}
|
|
1333
1365
|
equals(other) {
|
|
1334
1366
|
var tmp;
|
|
@@ -1351,87 +1383,87 @@ class sam$kotlin_Comparator$0 {
|
|
|
1351
1383
|
}
|
|
1352
1384
|
class SubList_0 extends AbstractList {
|
|
1353
1385
|
constructor(list, fromIndex, toIndex) {
|
|
1354
|
-
return new.target.
|
|
1386
|
+
return new.target.s9(list, fromIndex, toIndex);
|
|
1355
1387
|
}
|
|
1356
|
-
static
|
|
1388
|
+
static s9(list, fromIndex, toIndex) {
|
|
1357
1389
|
var $this = this.x2();
|
|
1358
|
-
$this.
|
|
1359
|
-
$this.
|
|
1360
|
-
$this.
|
|
1361
|
-
Companion_instance_4.
|
|
1362
|
-
$this.
|
|
1390
|
+
$this.p9_1 = list;
|
|
1391
|
+
$this.q9_1 = fromIndex;
|
|
1392
|
+
$this.r9_1 = 0;
|
|
1393
|
+
Companion_instance_4.x3($this.q9_1, toIndex, $this.p9_1.u());
|
|
1394
|
+
$this.r9_1 = toIndex - $this.q9_1 | 0;
|
|
1363
1395
|
return $this;
|
|
1364
1396
|
}
|
|
1365
|
-
|
|
1366
|
-
Companion_instance_4.
|
|
1367
|
-
return this.
|
|
1397
|
+
v(index) {
|
|
1398
|
+
Companion_instance_4.z3(index, this.r9_1);
|
|
1399
|
+
return this.p9_1.v(this.q9_1 + index | 0);
|
|
1368
1400
|
}
|
|
1369
|
-
|
|
1370
|
-
return this.
|
|
1401
|
+
u() {
|
|
1402
|
+
return this.r9_1;
|
|
1371
1403
|
}
|
|
1372
1404
|
o1(fromIndex, toIndex) {
|
|
1373
|
-
Companion_instance_4.
|
|
1374
|
-
return SubList_0.
|
|
1405
|
+
Companion_instance_4.x3(fromIndex, toIndex, this.r9_1);
|
|
1406
|
+
return SubList_0.s9(this.p9_1, this.q9_1 + fromIndex | 0, this.q9_1 + toIndex | 0);
|
|
1375
1407
|
}
|
|
1376
1408
|
}
|
|
1377
1409
|
class IteratorImpl_0 {
|
|
1378
1410
|
constructor($outer, $box) {
|
|
1379
1411
|
boxApply(this, $box);
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1412
|
+
this.u9_1 = $outer;
|
|
1413
|
+
this.t9_1 = 0;
|
|
1382
1414
|
}
|
|
1383
|
-
|
|
1384
|
-
return this.
|
|
1415
|
+
s() {
|
|
1416
|
+
return this.t9_1 < this.u9_1.u();
|
|
1385
1417
|
}
|
|
1386
|
-
|
|
1387
|
-
if (!this.
|
|
1388
|
-
throw NoSuchElementException.
|
|
1389
|
-
var _unary__edvuaz = this.
|
|
1390
|
-
this.
|
|
1391
|
-
return this.
|
|
1418
|
+
t() {
|
|
1419
|
+
if (!this.s())
|
|
1420
|
+
throw NoSuchElementException.j3();
|
|
1421
|
+
var _unary__edvuaz = this.t9_1;
|
|
1422
|
+
this.t9_1 = _unary__edvuaz + 1 | 0;
|
|
1423
|
+
return this.u9_1.v(_unary__edvuaz);
|
|
1392
1424
|
}
|
|
1393
1425
|
}
|
|
1394
1426
|
class ListIteratorImpl_0 extends IteratorImpl_0 {
|
|
1395
1427
|
constructor($outer, index, $box) {
|
|
1396
1428
|
if ($box === VOID)
|
|
1397
1429
|
$box = {};
|
|
1398
|
-
$box.
|
|
1430
|
+
$box.x9_1 = $outer;
|
|
1399
1431
|
super($outer, $box);
|
|
1400
|
-
Companion_instance_4.
|
|
1401
|
-
this.
|
|
1432
|
+
Companion_instance_4.p3(index, this.x9_1.u());
|
|
1433
|
+
this.t9_1 = index;
|
|
1402
1434
|
}
|
|
1403
1435
|
}
|
|
1404
1436
|
class Companion_4 {
|
|
1405
1437
|
constructor() {
|
|
1406
|
-
this.
|
|
1438
|
+
this.o3_1 = 2147483639;
|
|
1407
1439
|
}
|
|
1408
|
-
|
|
1440
|
+
z3(index, size) {
|
|
1409
1441
|
if (index < 0 || index >= size) {
|
|
1410
1442
|
throw IndexOutOfBoundsException.b3('index: ' + index + ', size: ' + size);
|
|
1411
1443
|
}
|
|
1412
1444
|
}
|
|
1413
|
-
|
|
1445
|
+
p3(index, size) {
|
|
1414
1446
|
if (index < 0 || index > size) {
|
|
1415
1447
|
throw IndexOutOfBoundsException.b3('index: ' + index + ', size: ' + size);
|
|
1416
1448
|
}
|
|
1417
1449
|
}
|
|
1418
|
-
|
|
1450
|
+
x3(fromIndex, toIndex, size) {
|
|
1419
1451
|
if (fromIndex < 0 || toIndex > size) {
|
|
1420
1452
|
throw IndexOutOfBoundsException.b3('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
1421
1453
|
}
|
|
1422
1454
|
if (fromIndex > toIndex) {
|
|
1423
|
-
throw IllegalArgumentException.
|
|
1455
|
+
throw IllegalArgumentException.m('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
1424
1456
|
}
|
|
1425
1457
|
}
|
|
1426
|
-
|
|
1458
|
+
y7(startIndex, endIndex, size) {
|
|
1427
1459
|
if (startIndex < 0 || endIndex > size) {
|
|
1428
1460
|
throw IndexOutOfBoundsException.b3('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
1429
1461
|
}
|
|
1430
1462
|
if (startIndex > endIndex) {
|
|
1431
|
-
throw IllegalArgumentException.
|
|
1463
|
+
throw IllegalArgumentException.m('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
1432
1464
|
}
|
|
1433
1465
|
}
|
|
1434
|
-
|
|
1466
|
+
p5(oldCapacity, minCapacity) {
|
|
1435
1467
|
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
|
|
1436
1468
|
if ((newCapacity - minCapacity | 0) < 0)
|
|
1437
1469
|
newCapacity = minCapacity;
|
|
@@ -1439,25 +1471,25 @@ class Companion_4 {
|
|
|
1439
1471
|
newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639;
|
|
1440
1472
|
return newCapacity;
|
|
1441
1473
|
}
|
|
1442
|
-
|
|
1474
|
+
b4(c) {
|
|
1443
1475
|
var hashCode = 1;
|
|
1444
|
-
var _iterator__ex2g4s = c.
|
|
1445
|
-
while (_iterator__ex2g4s.
|
|
1446
|
-
var e = _iterator__ex2g4s.
|
|
1476
|
+
var _iterator__ex2g4s = c.r();
|
|
1477
|
+
while (_iterator__ex2g4s.s()) {
|
|
1478
|
+
var e = _iterator__ex2g4s.t();
|
|
1447
1479
|
var tmp = imul_0(31, hashCode);
|
|
1448
1480
|
var tmp1_elvis_lhs = e == null ? null : hashCode_0(e);
|
|
1449
1481
|
hashCode = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
1450
1482
|
}
|
|
1451
1483
|
return hashCode;
|
|
1452
1484
|
}
|
|
1453
|
-
|
|
1454
|
-
if (!(c.
|
|
1485
|
+
a4(c, other) {
|
|
1486
|
+
if (!(c.u() === other.u()))
|
|
1455
1487
|
return false;
|
|
1456
|
-
var otherIterator = other.
|
|
1457
|
-
var _iterator__ex2g4s = c.
|
|
1458
|
-
while (_iterator__ex2g4s.
|
|
1459
|
-
var elem = _iterator__ex2g4s.
|
|
1460
|
-
var elemOther = otherIterator.
|
|
1488
|
+
var otherIterator = other.r();
|
|
1489
|
+
var _iterator__ex2g4s = c.r();
|
|
1490
|
+
while (_iterator__ex2g4s.s()) {
|
|
1491
|
+
var elem = _iterator__ex2g4s.t();
|
|
1492
|
+
var elemOther = otherIterator.t();
|
|
1461
1493
|
if (!equals(elem, elemOther)) {
|
|
1462
1494
|
return false;
|
|
1463
1495
|
}
|
|
@@ -1466,19 +1498,19 @@ class Companion_4 {
|
|
|
1466
1498
|
}
|
|
1467
1499
|
}
|
|
1468
1500
|
class Companion_5 {
|
|
1469
|
-
|
|
1501
|
+
e4(c) {
|
|
1470
1502
|
var hashCode = 0;
|
|
1471
|
-
var _iterator__ex2g4s = c.
|
|
1472
|
-
while (_iterator__ex2g4s.
|
|
1473
|
-
var element = _iterator__ex2g4s.
|
|
1503
|
+
var _iterator__ex2g4s = c.r();
|
|
1504
|
+
while (_iterator__ex2g4s.s()) {
|
|
1505
|
+
var element = _iterator__ex2g4s.t();
|
|
1474
1506
|
var tmp = hashCode;
|
|
1475
1507
|
var tmp1_elvis_lhs = element == null ? null : hashCode_0(element);
|
|
1476
1508
|
hashCode = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
1477
1509
|
}
|
|
1478
1510
|
return hashCode;
|
|
1479
1511
|
}
|
|
1480
|
-
|
|
1481
|
-
if (!(c.
|
|
1512
|
+
d4(c, other) {
|
|
1513
|
+
if (!(c.u() === other.u()))
|
|
1482
1514
|
return false;
|
|
1483
1515
|
return c.p1(other);
|
|
1484
1516
|
}
|
|
@@ -1486,12 +1518,12 @@ class Companion_5 {
|
|
|
1486
1518
|
class EmptyList {
|
|
1487
1519
|
constructor() {
|
|
1488
1520
|
EmptyList_instance = this;
|
|
1489
|
-
this.
|
|
1521
|
+
this.y9_1 = new Long(-1478467534, -1720727600);
|
|
1490
1522
|
}
|
|
1491
1523
|
equals(other) {
|
|
1492
1524
|
var tmp;
|
|
1493
1525
|
if (!(other == null) ? isInterface(other, KtList) : false) {
|
|
1494
|
-
tmp = other.
|
|
1526
|
+
tmp = other.d1();
|
|
1495
1527
|
} else {
|
|
1496
1528
|
tmp = false;
|
|
1497
1529
|
}
|
|
@@ -1503,16 +1535,16 @@ class EmptyList {
|
|
|
1503
1535
|
toString() {
|
|
1504
1536
|
return '[]';
|
|
1505
1537
|
}
|
|
1506
|
-
|
|
1538
|
+
u() {
|
|
1507
1539
|
return 0;
|
|
1508
1540
|
}
|
|
1509
|
-
|
|
1541
|
+
d1() {
|
|
1510
1542
|
return true;
|
|
1511
1543
|
}
|
|
1512
|
-
|
|
1544
|
+
v(index) {
|
|
1513
1545
|
throw IndexOutOfBoundsException.b3("Empty list doesn't contain element at index " + index + '.');
|
|
1514
1546
|
}
|
|
1515
|
-
|
|
1547
|
+
z9(element) {
|
|
1516
1548
|
return -1;
|
|
1517
1549
|
}
|
|
1518
1550
|
n1(element) {
|
|
@@ -1524,12 +1556,12 @@ class EmptyList {
|
|
|
1524
1556
|
} else {
|
|
1525
1557
|
tmp = THROW_CCE();
|
|
1526
1558
|
}
|
|
1527
|
-
return this.
|
|
1559
|
+
return this.z9(tmp);
|
|
1528
1560
|
}
|
|
1529
|
-
|
|
1561
|
+
r() {
|
|
1530
1562
|
return EmptyIterator_instance;
|
|
1531
1563
|
}
|
|
1532
|
-
|
|
1564
|
+
b1(index) {
|
|
1533
1565
|
if (!(index === 0))
|
|
1534
1566
|
throw IndexOutOfBoundsException.b3('Index: ' + index);
|
|
1535
1567
|
return EmptyIterator_instance;
|
|
@@ -1541,48 +1573,48 @@ class EmptyList {
|
|
|
1541
1573
|
}
|
|
1542
1574
|
}
|
|
1543
1575
|
class EmptyIterator {
|
|
1544
|
-
|
|
1576
|
+
s() {
|
|
1545
1577
|
return false;
|
|
1546
1578
|
}
|
|
1547
|
-
|
|
1548
|
-
throw NoSuchElementException.
|
|
1579
|
+
t() {
|
|
1580
|
+
throw NoSuchElementException.j3();
|
|
1549
1581
|
}
|
|
1550
1582
|
}
|
|
1551
1583
|
class IntIterator {
|
|
1552
|
-
|
|
1553
|
-
return this.
|
|
1584
|
+
t() {
|
|
1585
|
+
return this.aa();
|
|
1554
1586
|
}
|
|
1555
1587
|
}
|
|
1556
1588
|
class TransformingSequence$iterator$1 {
|
|
1557
1589
|
constructor(this$0) {
|
|
1558
|
-
this.
|
|
1559
|
-
this.
|
|
1590
|
+
this.ca_1 = this$0;
|
|
1591
|
+
this.ba_1 = this$0.da_1.r();
|
|
1560
1592
|
}
|
|
1561
|
-
|
|
1562
|
-
return this.
|
|
1593
|
+
t() {
|
|
1594
|
+
return this.ca_1.ea_1(this.ba_1.t());
|
|
1563
1595
|
}
|
|
1564
|
-
|
|
1565
|
-
return this.
|
|
1596
|
+
s() {
|
|
1597
|
+
return this.ba_1.s();
|
|
1566
1598
|
}
|
|
1567
1599
|
}
|
|
1568
1600
|
class TransformingSequence {
|
|
1569
1601
|
constructor(sequence, transformer) {
|
|
1570
|
-
this.
|
|
1571
|
-
this.
|
|
1602
|
+
this.da_1 = sequence;
|
|
1603
|
+
this.ea_1 = transformer;
|
|
1572
1604
|
}
|
|
1573
|
-
|
|
1605
|
+
r() {
|
|
1574
1606
|
return new TransformingSequence$iterator$1(this);
|
|
1575
1607
|
}
|
|
1576
1608
|
}
|
|
1577
1609
|
class EmptySet {
|
|
1578
1610
|
constructor() {
|
|
1579
1611
|
EmptySet_instance = this;
|
|
1580
|
-
this.
|
|
1612
|
+
this.fa_1 = new Long(1993859828, 793161749);
|
|
1581
1613
|
}
|
|
1582
1614
|
equals(other) {
|
|
1583
1615
|
var tmp;
|
|
1584
1616
|
if (!(other == null) ? isInterface(other, KtSet) : false) {
|
|
1585
|
-
tmp = other.
|
|
1617
|
+
tmp = other.d1();
|
|
1586
1618
|
} else {
|
|
1587
1619
|
tmp = false;
|
|
1588
1620
|
}
|
|
@@ -1594,68 +1626,82 @@ class EmptySet {
|
|
|
1594
1626
|
toString() {
|
|
1595
1627
|
return '[]';
|
|
1596
1628
|
}
|
|
1597
|
-
|
|
1629
|
+
u() {
|
|
1598
1630
|
return 0;
|
|
1599
1631
|
}
|
|
1600
|
-
|
|
1632
|
+
d1() {
|
|
1601
1633
|
return true;
|
|
1602
1634
|
}
|
|
1603
|
-
|
|
1604
|
-
return
|
|
1635
|
+
ga(element) {
|
|
1636
|
+
return false;
|
|
1637
|
+
}
|
|
1638
|
+
m1(element) {
|
|
1639
|
+
if (!false)
|
|
1640
|
+
return false;
|
|
1641
|
+
var tmp;
|
|
1642
|
+
if (false) {
|
|
1643
|
+
tmp = element;
|
|
1644
|
+
} else {
|
|
1645
|
+
tmp = THROW_CCE();
|
|
1646
|
+
}
|
|
1647
|
+
return this.ga(tmp);
|
|
1648
|
+
}
|
|
1649
|
+
ha(elements) {
|
|
1650
|
+
return elements.d1();
|
|
1605
1651
|
}
|
|
1606
1652
|
p1(elements) {
|
|
1607
|
-
return this.
|
|
1653
|
+
return this.ha(elements);
|
|
1608
1654
|
}
|
|
1609
|
-
|
|
1655
|
+
r() {
|
|
1610
1656
|
return EmptyIterator_instance;
|
|
1611
1657
|
}
|
|
1612
1658
|
}
|
|
1613
1659
|
class Random {
|
|
1614
|
-
static
|
|
1660
|
+
static ka() {
|
|
1615
1661
|
Default_getInstance();
|
|
1616
1662
|
return createThis(this);
|
|
1617
1663
|
}
|
|
1618
|
-
|
|
1619
|
-
return doubleFromParts(this.
|
|
1664
|
+
ma() {
|
|
1665
|
+
return doubleFromParts(this.la(26), this.la(27));
|
|
1620
1666
|
}
|
|
1621
1667
|
}
|
|
1622
1668
|
class Default extends Random {
|
|
1623
1669
|
constructor() {
|
|
1624
|
-
return new.target.
|
|
1670
|
+
return new.target.ja();
|
|
1625
1671
|
}
|
|
1626
|
-
static
|
|
1672
|
+
static ja() {
|
|
1627
1673
|
Default_instance = null;
|
|
1628
|
-
var $this = this.
|
|
1674
|
+
var $this = this.ka();
|
|
1629
1675
|
Default_instance = $this;
|
|
1630
|
-
$this.
|
|
1676
|
+
$this.ia_1 = defaultPlatformRandom();
|
|
1631
1677
|
return $this;
|
|
1632
1678
|
}
|
|
1633
|
-
|
|
1634
|
-
return this.
|
|
1679
|
+
la(bitCount) {
|
|
1680
|
+
return this.ia_1.la(bitCount);
|
|
1635
1681
|
}
|
|
1636
|
-
|
|
1637
|
-
return this.
|
|
1682
|
+
ma() {
|
|
1683
|
+
return this.ia_1.ma();
|
|
1638
1684
|
}
|
|
1639
1685
|
}
|
|
1640
1686
|
class Companion_6 {
|
|
1641
1687
|
constructor() {
|
|
1642
1688
|
Companion_instance_6 = this;
|
|
1643
|
-
this.
|
|
1689
|
+
this.ua_1 = new Long(0, 0);
|
|
1644
1690
|
}
|
|
1645
1691
|
}
|
|
1646
1692
|
class XorWowRandom extends Random {
|
|
1647
1693
|
constructor(x, y, z, w, v, addend) {
|
|
1648
|
-
return new.target.
|
|
1694
|
+
return new.target.va(x, y, z, w, v, addend);
|
|
1649
1695
|
}
|
|
1650
|
-
static
|
|
1696
|
+
static va(x, y, z, w, v, addend) {
|
|
1651
1697
|
Companion_getInstance_6();
|
|
1652
|
-
var $this = this.
|
|
1653
|
-
$this.
|
|
1654
|
-
$this.
|
|
1655
|
-
$this.
|
|
1656
|
-
$this.
|
|
1657
|
-
$this.
|
|
1658
|
-
$this.
|
|
1698
|
+
var $this = this.ka();
|
|
1699
|
+
$this.na_1 = x;
|
|
1700
|
+
$this.oa_1 = y;
|
|
1701
|
+
$this.pa_1 = z;
|
|
1702
|
+
$this.qa_1 = w;
|
|
1703
|
+
$this.ra_1 = v;
|
|
1704
|
+
$this.sa_1 = addend;
|
|
1659
1705
|
checkInvariants($this);
|
|
1660
1706
|
// Inline function 'kotlin.repeat' call
|
|
1661
1707
|
var inductionVariable = 0;
|
|
@@ -1663,30 +1709,30 @@ class XorWowRandom extends Random {
|
|
|
1663
1709
|
do {
|
|
1664
1710
|
var index = inductionVariable;
|
|
1665
1711
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1666
|
-
$this.
|
|
1712
|
+
$this.aa();
|
|
1667
1713
|
}
|
|
1668
1714
|
while (inductionVariable < 64);
|
|
1669
1715
|
return $this;
|
|
1670
1716
|
}
|
|
1671
|
-
static
|
|
1717
|
+
static ta(seed1, seed2) {
|
|
1672
1718
|
Companion_getInstance_6();
|
|
1673
|
-
return this.
|
|
1719
|
+
return this.va(seed1, seed2, 0, 0, ~seed1, seed1 << 10 ^ (seed2 >>> 4 | 0));
|
|
1674
1720
|
}
|
|
1675
|
-
|
|
1676
|
-
var t = this.
|
|
1721
|
+
aa() {
|
|
1722
|
+
var t = this.na_1;
|
|
1677
1723
|
t = t ^ (t >>> 2 | 0);
|
|
1678
|
-
this.la_1 = this.ma_1;
|
|
1679
|
-
this.ma_1 = this.na_1;
|
|
1680
1724
|
this.na_1 = this.oa_1;
|
|
1681
|
-
|
|
1682
|
-
this.
|
|
1725
|
+
this.oa_1 = this.pa_1;
|
|
1726
|
+
this.pa_1 = this.qa_1;
|
|
1727
|
+
var v0 = this.ra_1;
|
|
1728
|
+
this.qa_1 = v0;
|
|
1683
1729
|
t = t ^ t << 1 ^ v0 ^ v0 << 4;
|
|
1684
|
-
this.
|
|
1685
|
-
this.
|
|
1686
|
-
return t + this.
|
|
1730
|
+
this.ra_1 = t;
|
|
1731
|
+
this.sa_1 = this.sa_1 + 362437 | 0;
|
|
1732
|
+
return t + this.sa_1 | 0;
|
|
1687
1733
|
}
|
|
1688
|
-
|
|
1689
|
-
return takeUpperBits(this.
|
|
1734
|
+
la(bitCount) {
|
|
1735
|
+
return takeUpperBits(this.aa(), bitCount);
|
|
1690
1736
|
}
|
|
1691
1737
|
}
|
|
1692
1738
|
class Companion_7 {
|
|
@@ -1698,33 +1744,33 @@ class Companion_7 {
|
|
|
1698
1744
|
class IntProgression {
|
|
1699
1745
|
constructor(start, endInclusive, step) {
|
|
1700
1746
|
if (step === 0)
|
|
1701
|
-
throw IllegalArgumentException.
|
|
1747
|
+
throw IllegalArgumentException.m('Step must be non-zero.');
|
|
1702
1748
|
if (step === -2147483648)
|
|
1703
|
-
throw IllegalArgumentException.
|
|
1704
|
-
this.
|
|
1705
|
-
this.
|
|
1706
|
-
this.
|
|
1749
|
+
throw IllegalArgumentException.m('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
|
|
1750
|
+
this.wa_1 = start;
|
|
1751
|
+
this.xa_1 = getProgressionLastElement(start, endInclusive, step);
|
|
1752
|
+
this.ya_1 = step;
|
|
1707
1753
|
}
|
|
1708
|
-
|
|
1709
|
-
return new IntProgressionIterator(this.
|
|
1754
|
+
r() {
|
|
1755
|
+
return new IntProgressionIterator(this.wa_1, this.xa_1, this.ya_1);
|
|
1710
1756
|
}
|
|
1711
|
-
|
|
1712
|
-
return this.
|
|
1757
|
+
d1() {
|
|
1758
|
+
return this.ya_1 > 0 ? this.wa_1 > this.xa_1 : this.wa_1 < this.xa_1;
|
|
1713
1759
|
}
|
|
1714
1760
|
equals(other) {
|
|
1715
1761
|
var tmp;
|
|
1716
1762
|
if (other instanceof IntProgression) {
|
|
1717
|
-
tmp = this.
|
|
1763
|
+
tmp = this.d1() && other.d1() || (this.wa_1 === other.wa_1 && this.xa_1 === other.xa_1 && this.ya_1 === other.ya_1);
|
|
1718
1764
|
} else {
|
|
1719
1765
|
tmp = false;
|
|
1720
1766
|
}
|
|
1721
1767
|
return tmp;
|
|
1722
1768
|
}
|
|
1723
1769
|
hashCode() {
|
|
1724
|
-
return this.
|
|
1770
|
+
return this.d1() ? -1 : imul_0(31, imul_0(31, this.wa_1) + this.xa_1 | 0) + this.ya_1 | 0;
|
|
1725
1771
|
}
|
|
1726
1772
|
toString() {
|
|
1727
|
-
return this.
|
|
1773
|
+
return this.ya_1 > 0 ? '' + this.wa_1 + '..' + this.xa_1 + ' step ' + this.ya_1 : '' + this.wa_1 + ' downTo ' + this.xa_1 + ' step ' + (-this.ya_1 | 0);
|
|
1728
1774
|
}
|
|
1729
1775
|
}
|
|
1730
1776
|
class IntRange extends IntProgression {
|
|
@@ -1732,50 +1778,50 @@ class IntRange extends IntProgression {
|
|
|
1732
1778
|
Companion_getInstance_7();
|
|
1733
1779
|
super(start, endInclusive, 1);
|
|
1734
1780
|
}
|
|
1735
|
-
r8() {
|
|
1736
|
-
return this.ua_1;
|
|
1737
|
-
}
|
|
1738
1781
|
s8() {
|
|
1739
|
-
return this.
|
|
1782
|
+
return this.wa_1;
|
|
1783
|
+
}
|
|
1784
|
+
t8() {
|
|
1785
|
+
return this.xa_1;
|
|
1740
1786
|
}
|
|
1741
|
-
|
|
1742
|
-
return this.
|
|
1787
|
+
d1() {
|
|
1788
|
+
return this.wa_1 > this.xa_1;
|
|
1743
1789
|
}
|
|
1744
1790
|
equals(other) {
|
|
1745
1791
|
var tmp;
|
|
1746
1792
|
if (other instanceof IntRange) {
|
|
1747
|
-
tmp = this.
|
|
1793
|
+
tmp = this.d1() && other.d1() || (this.wa_1 === other.wa_1 && this.xa_1 === other.xa_1);
|
|
1748
1794
|
} else {
|
|
1749
1795
|
tmp = false;
|
|
1750
1796
|
}
|
|
1751
1797
|
return tmp;
|
|
1752
1798
|
}
|
|
1753
1799
|
hashCode() {
|
|
1754
|
-
return this.
|
|
1800
|
+
return this.d1() ? -1 : imul_0(31, this.wa_1) + this.xa_1 | 0;
|
|
1755
1801
|
}
|
|
1756
1802
|
toString() {
|
|
1757
|
-
return '' + this.
|
|
1803
|
+
return '' + this.wa_1 + '..' + this.xa_1;
|
|
1758
1804
|
}
|
|
1759
1805
|
}
|
|
1760
1806
|
class IntProgressionIterator extends IntIterator {
|
|
1761
1807
|
constructor(first, last, step) {
|
|
1762
1808
|
super();
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
return this.
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
var value = this.
|
|
1773
|
-
if (value === this.
|
|
1774
|
-
if (!this.
|
|
1775
|
-
throw NoSuchElementException.
|
|
1776
|
-
this.
|
|
1809
|
+
this.za_1 = step;
|
|
1810
|
+
this.ab_1 = last;
|
|
1811
|
+
this.bb_1 = this.za_1 > 0 ? first <= last : first >= last;
|
|
1812
|
+
this.cb_1 = this.bb_1 ? first : this.ab_1;
|
|
1813
|
+
}
|
|
1814
|
+
s() {
|
|
1815
|
+
return this.bb_1;
|
|
1816
|
+
}
|
|
1817
|
+
aa() {
|
|
1818
|
+
var value = this.cb_1;
|
|
1819
|
+
if (value === this.ab_1) {
|
|
1820
|
+
if (!this.bb_1)
|
|
1821
|
+
throw NoSuchElementException.j3();
|
|
1822
|
+
this.bb_1 = false;
|
|
1777
1823
|
} else {
|
|
1778
|
-
this.
|
|
1824
|
+
this.cb_1 = this.cb_1 + this.za_1 | 0;
|
|
1779
1825
|
}
|
|
1780
1826
|
return value;
|
|
1781
1827
|
}
|
|
@@ -1787,106 +1833,106 @@ class Companion_8 {
|
|
|
1787
1833
|
}
|
|
1788
1834
|
class DelimitedRangesSequence$iterator$1 {
|
|
1789
1835
|
constructor(this$0) {
|
|
1790
|
-
this.
|
|
1791
|
-
this.
|
|
1792
|
-
this.
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1795
|
-
this.
|
|
1836
|
+
this.jb_1 = this$0;
|
|
1837
|
+
this.eb_1 = -1;
|
|
1838
|
+
this.fb_1 = coerceIn(this$0.lb_1, 0, charSequenceLength(this$0.kb_1));
|
|
1839
|
+
this.gb_1 = this.fb_1;
|
|
1840
|
+
this.hb_1 = null;
|
|
1841
|
+
this.ib_1 = 0;
|
|
1796
1842
|
}
|
|
1797
|
-
|
|
1798
|
-
if (this.
|
|
1843
|
+
t() {
|
|
1844
|
+
if (this.eb_1 === -1) {
|
|
1799
1845
|
calcNext(this);
|
|
1800
1846
|
}
|
|
1801
|
-
if (this.
|
|
1802
|
-
throw NoSuchElementException.
|
|
1803
|
-
var tmp = this.
|
|
1847
|
+
if (this.eb_1 === 0)
|
|
1848
|
+
throw NoSuchElementException.j3();
|
|
1849
|
+
var tmp = this.hb_1;
|
|
1804
1850
|
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1851
|
+
this.hb_1 = null;
|
|
1852
|
+
this.eb_1 = -1;
|
|
1807
1853
|
return result;
|
|
1808
1854
|
}
|
|
1809
|
-
|
|
1810
|
-
if (this.
|
|
1855
|
+
s() {
|
|
1856
|
+
if (this.eb_1 === -1) {
|
|
1811
1857
|
calcNext(this);
|
|
1812
1858
|
}
|
|
1813
|
-
return this.
|
|
1859
|
+
return this.eb_1 === 1;
|
|
1814
1860
|
}
|
|
1815
1861
|
}
|
|
1816
1862
|
class DelimitedRangesSequence {
|
|
1817
1863
|
constructor(input, startIndex, limit, getNextMatch) {
|
|
1818
|
-
this.
|
|
1819
|
-
this.
|
|
1820
|
-
this.
|
|
1821
|
-
this.
|
|
1864
|
+
this.kb_1 = input;
|
|
1865
|
+
this.lb_1 = startIndex;
|
|
1866
|
+
this.mb_1 = limit;
|
|
1867
|
+
this.nb_1 = getNextMatch;
|
|
1822
1868
|
}
|
|
1823
|
-
|
|
1869
|
+
r() {
|
|
1824
1870
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
1825
1871
|
}
|
|
1826
1872
|
}
|
|
1827
1873
|
class State {
|
|
1828
1874
|
constructor() {
|
|
1829
|
-
this.
|
|
1830
|
-
this.
|
|
1831
|
-
this.
|
|
1875
|
+
this.qb_1 = 0;
|
|
1876
|
+
this.rb_1 = 1;
|
|
1877
|
+
this.sb_1 = 2;
|
|
1832
1878
|
}
|
|
1833
1879
|
}
|
|
1834
1880
|
class LinesIterator {
|
|
1835
1881
|
constructor(string) {
|
|
1836
|
-
this.
|
|
1837
|
-
this.sb_1 = 0;
|
|
1838
|
-
this.tb_1 = 0;
|
|
1882
|
+
this.tb_1 = string;
|
|
1839
1883
|
this.ub_1 = 0;
|
|
1840
1884
|
this.vb_1 = 0;
|
|
1885
|
+
this.wb_1 = 0;
|
|
1886
|
+
this.xb_1 = 0;
|
|
1841
1887
|
}
|
|
1842
|
-
|
|
1843
|
-
if (!(this.
|
|
1844
|
-
return this.
|
|
1888
|
+
s() {
|
|
1889
|
+
if (!(this.ub_1 === 0)) {
|
|
1890
|
+
return this.ub_1 === 1;
|
|
1845
1891
|
}
|
|
1846
|
-
if (this.
|
|
1847
|
-
this.
|
|
1892
|
+
if (this.xb_1 < 0) {
|
|
1893
|
+
this.ub_1 = 2;
|
|
1848
1894
|
return false;
|
|
1849
1895
|
}
|
|
1850
1896
|
var _delimiterLength = -1;
|
|
1851
|
-
var _delimiterStartIndex = charSequenceLength(this.
|
|
1852
|
-
var inductionVariable = this.
|
|
1853
|
-
var last = charSequenceLength(this.
|
|
1897
|
+
var _delimiterStartIndex = charSequenceLength(this.tb_1);
|
|
1898
|
+
var inductionVariable = this.vb_1;
|
|
1899
|
+
var last = charSequenceLength(this.tb_1);
|
|
1854
1900
|
if (inductionVariable < last)
|
|
1855
1901
|
$l$loop: do {
|
|
1856
1902
|
var idx = inductionVariable;
|
|
1857
1903
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1858
|
-
var c = charSequenceGet(this.
|
|
1904
|
+
var c = charSequenceGet(this.tb_1, idx);
|
|
1859
1905
|
if (c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13)) {
|
|
1860
|
-
_delimiterLength = c === _Char___init__impl__6a9atx(13) && (idx + 1 | 0) < charSequenceLength(this.
|
|
1906
|
+
_delimiterLength = c === _Char___init__impl__6a9atx(13) && (idx + 1 | 0) < charSequenceLength(this.tb_1) && charSequenceGet(this.tb_1, idx + 1 | 0) === _Char___init__impl__6a9atx(10) ? 2 : 1;
|
|
1861
1907
|
_delimiterStartIndex = idx;
|
|
1862
1908
|
break $l$loop;
|
|
1863
1909
|
}
|
|
1864
1910
|
}
|
|
1865
1911
|
while (inductionVariable < last);
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1912
|
+
this.ub_1 = 1;
|
|
1913
|
+
this.xb_1 = _delimiterLength;
|
|
1914
|
+
this.wb_1 = _delimiterStartIndex;
|
|
1869
1915
|
return true;
|
|
1870
1916
|
}
|
|
1871
|
-
|
|
1872
|
-
if (!this.
|
|
1873
|
-
throw NoSuchElementException.
|
|
1917
|
+
t() {
|
|
1918
|
+
if (!this.s()) {
|
|
1919
|
+
throw NoSuchElementException.j3();
|
|
1874
1920
|
}
|
|
1875
|
-
this.
|
|
1876
|
-
var lastIndex = this.
|
|
1877
|
-
var firstIndex = this.
|
|
1878
|
-
this.
|
|
1921
|
+
this.ub_1 = 0;
|
|
1922
|
+
var lastIndex = this.wb_1;
|
|
1923
|
+
var firstIndex = this.vb_1;
|
|
1924
|
+
this.vb_1 = this.wb_1 + this.xb_1 | 0;
|
|
1879
1925
|
// Inline function 'kotlin.text.substring' call
|
|
1880
|
-
var this_0 = this.
|
|
1926
|
+
var this_0 = this.tb_1;
|
|
1881
1927
|
return toString_1(charSequenceSubSequence(this_0, firstIndex, lastIndex));
|
|
1882
1928
|
}
|
|
1883
1929
|
}
|
|
1884
1930
|
class lineSequence$$inlined$Sequence$1 {
|
|
1885
1931
|
constructor($this_lineSequence) {
|
|
1886
|
-
this.
|
|
1932
|
+
this.yb_1 = $this_lineSequence;
|
|
1887
1933
|
}
|
|
1888
|
-
|
|
1889
|
-
return new LinesIterator(this.
|
|
1934
|
+
r() {
|
|
1935
|
+
return new LinesIterator(this.yb_1);
|
|
1890
1936
|
}
|
|
1891
1937
|
}
|
|
1892
1938
|
class Pair {
|
|
@@ -1894,28 +1940,28 @@ class Pair {
|
|
|
1894
1940
|
this.first = first;
|
|
1895
1941
|
this.second = second;
|
|
1896
1942
|
}
|
|
1897
|
-
|
|
1943
|
+
zb() {
|
|
1898
1944
|
return this.first;
|
|
1899
1945
|
}
|
|
1900
|
-
|
|
1946
|
+
ac() {
|
|
1901
1947
|
return this.second;
|
|
1902
1948
|
}
|
|
1903
1949
|
toString() {
|
|
1904
1950
|
return '(' + toString_0(this.first) + ', ' + toString_0(this.second) + ')';
|
|
1905
1951
|
}
|
|
1906
|
-
|
|
1952
|
+
ob() {
|
|
1907
1953
|
return this.first;
|
|
1908
1954
|
}
|
|
1909
|
-
|
|
1955
|
+
pb() {
|
|
1910
1956
|
return this.second;
|
|
1911
1957
|
}
|
|
1912
|
-
|
|
1958
|
+
bc(first, second) {
|
|
1913
1959
|
return new Pair(first, second);
|
|
1914
1960
|
}
|
|
1915
1961
|
copy(first, second, $super) {
|
|
1916
1962
|
first = first === VOID ? this.first : first;
|
|
1917
1963
|
second = second === VOID ? this.second : second;
|
|
1918
|
-
return $super === VOID ? this.
|
|
1964
|
+
return $super === VOID ? this.bc(first, second) : $super.bc.call(this, first, second);
|
|
1919
1965
|
}
|
|
1920
1966
|
hashCode() {
|
|
1921
1967
|
var result = this.first == null ? 0 : hashCode_0(this.first);
|
|
@@ -1935,16 +1981,26 @@ class Pair {
|
|
|
1935
1981
|
}
|
|
1936
1982
|
}
|
|
1937
1983
|
//endregion
|
|
1984
|
+
function toSet(_this__u8e3s4) {
|
|
1985
|
+
switch (_this__u8e3s4.length) {
|
|
1986
|
+
case 0:
|
|
1987
|
+
return emptySet();
|
|
1988
|
+
case 1:
|
|
1989
|
+
return setOf(_this__u8e3s4[0]);
|
|
1990
|
+
default:
|
|
1991
|
+
return toCollection(_this__u8e3s4, LinkedHashSet.e(mapCapacity(_this__u8e3s4.length)));
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1938
1994
|
function single(_this__u8e3s4) {
|
|
1939
1995
|
var tmp;
|
|
1940
1996
|
switch (_this__u8e3s4.length) {
|
|
1941
1997
|
case 0:
|
|
1942
|
-
throw NoSuchElementException.
|
|
1998
|
+
throw NoSuchElementException.i('Array is empty.');
|
|
1943
1999
|
case 1:
|
|
1944
2000
|
tmp = _this__u8e3s4[0];
|
|
1945
2001
|
break;
|
|
1946
2002
|
default:
|
|
1947
|
-
throw IllegalArgumentException.
|
|
2003
|
+
throw IllegalArgumentException.m('Array has more than one element.');
|
|
1948
2004
|
}
|
|
1949
2005
|
return tmp;
|
|
1950
2006
|
}
|
|
@@ -1982,7 +2038,7 @@ function toCollection(_this__u8e3s4, destination) {
|
|
|
1982
2038
|
while (inductionVariable < last) {
|
|
1983
2039
|
var item = _this__u8e3s4[inductionVariable];
|
|
1984
2040
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1985
|
-
destination.
|
|
2041
|
+
destination.n(item);
|
|
1986
2042
|
}
|
|
1987
2043
|
return destination;
|
|
1988
2044
|
}
|
|
@@ -1993,7 +2049,7 @@ function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncate
|
|
|
1993
2049
|
limit = limit === VOID ? -1 : limit;
|
|
1994
2050
|
truncated = truncated === VOID ? '...' : truncated;
|
|
1995
2051
|
transform = transform === VOID ? null : transform;
|
|
1996
|
-
return joinTo(_this__u8e3s4, StringBuilder.
|
|
2052
|
+
return joinTo(_this__u8e3s4, StringBuilder.p(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
1997
2053
|
}
|
|
1998
2054
|
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
1999
2055
|
separator = separator === VOID ? ', ' : separator;
|
|
@@ -2002,7 +2058,7 @@ function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trunca
|
|
|
2002
2058
|
limit = limit === VOID ? -1 : limit;
|
|
2003
2059
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2004
2060
|
transform = transform === VOID ? null : transform;
|
|
2005
|
-
buffer.
|
|
2061
|
+
buffer.q(prefix);
|
|
2006
2062
|
var count = 0;
|
|
2007
2063
|
var inductionVariable = 0;
|
|
2008
2064
|
var last = _this__u8e3s4.length;
|
|
@@ -2011,7 +2067,7 @@ function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trunca
|
|
|
2011
2067
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2012
2068
|
count = count + 1 | 0;
|
|
2013
2069
|
if (count > 1) {
|
|
2014
|
-
buffer.
|
|
2070
|
+
buffer.q(separator);
|
|
2015
2071
|
}
|
|
2016
2072
|
if (limit < 0 || count <= limit) {
|
|
2017
2073
|
appendElement(buffer, element, transform);
|
|
@@ -2019,9 +2075,9 @@ function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trunca
|
|
|
2019
2075
|
break $l$loop;
|
|
2020
2076
|
}
|
|
2021
2077
|
if (limit >= 0 && count > limit) {
|
|
2022
|
-
buffer.
|
|
2078
|
+
buffer.q(truncated);
|
|
2023
2079
|
}
|
|
2024
|
-
buffer.
|
|
2080
|
+
buffer.q(postfix);
|
|
2025
2081
|
return buffer;
|
|
2026
2082
|
}
|
|
2027
2083
|
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
@@ -2031,7 +2087,7 @@ function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, trunca
|
|
|
2031
2087
|
limit = limit === VOID ? -1 : limit;
|
|
2032
2088
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2033
2089
|
transform = transform === VOID ? null : transform;
|
|
2034
|
-
return joinTo_0(_this__u8e3s4, StringBuilder.
|
|
2090
|
+
return joinTo_0(_this__u8e3s4, StringBuilder.p(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
2035
2091
|
}
|
|
2036
2092
|
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
2037
2093
|
separator = separator === VOID ? ', ' : separator;
|
|
@@ -2040,14 +2096,14 @@ function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trun
|
|
|
2040
2096
|
limit = limit === VOID ? -1 : limit;
|
|
2041
2097
|
truncated = truncated === VOID ? '...' : truncated;
|
|
2042
2098
|
transform = transform === VOID ? null : transform;
|
|
2043
|
-
buffer.
|
|
2099
|
+
buffer.q(prefix);
|
|
2044
2100
|
var count = 0;
|
|
2045
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2046
|
-
$l$loop: while (_iterator__ex2g4s.
|
|
2047
|
-
var element = _iterator__ex2g4s.
|
|
2101
|
+
var _iterator__ex2g4s = _this__u8e3s4.r();
|
|
2102
|
+
$l$loop: while (_iterator__ex2g4s.s()) {
|
|
2103
|
+
var element = _iterator__ex2g4s.t();
|
|
2048
2104
|
count = count + 1 | 0;
|
|
2049
2105
|
if (count > 1) {
|
|
2050
|
-
buffer.
|
|
2106
|
+
buffer.q(separator);
|
|
2051
2107
|
}
|
|
2052
2108
|
if (limit < 0 || count <= limit) {
|
|
2053
2109
|
appendElement(buffer, element, transform);
|
|
@@ -2055,27 +2111,24 @@ function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trun
|
|
|
2055
2111
|
break $l$loop;
|
|
2056
2112
|
}
|
|
2057
2113
|
if (limit >= 0 && count > limit) {
|
|
2058
|
-
buffer.
|
|
2114
|
+
buffer.q(truncated);
|
|
2059
2115
|
}
|
|
2060
|
-
buffer.
|
|
2116
|
+
buffer.q(postfix);
|
|
2061
2117
|
return buffer;
|
|
2062
2118
|
}
|
|
2063
|
-
function getOrNull(_this__u8e3s4, index) {
|
|
2064
|
-
return (0 <= index ? index < _this__u8e3s4.t() : false) ? _this__u8e3s4.s(index) : null;
|
|
2065
|
-
}
|
|
2066
2119
|
function toList(_this__u8e3s4) {
|
|
2067
2120
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
2068
2121
|
var tmp;
|
|
2069
|
-
switch (_this__u8e3s4.
|
|
2122
|
+
switch (_this__u8e3s4.u()) {
|
|
2070
2123
|
case 0:
|
|
2071
2124
|
tmp = emptyList();
|
|
2072
2125
|
break;
|
|
2073
2126
|
case 1:
|
|
2074
2127
|
var tmp_0;
|
|
2075
2128
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
2076
|
-
tmp_0 = _this__u8e3s4.
|
|
2129
|
+
tmp_0 = _this__u8e3s4.v(0);
|
|
2077
2130
|
} else {
|
|
2078
|
-
tmp_0 = _this__u8e3s4.
|
|
2131
|
+
tmp_0 = _this__u8e3s4.r().t();
|
|
2079
2132
|
}
|
|
2080
2133
|
|
|
2081
2134
|
tmp = listOf(tmp_0);
|
|
@@ -2088,19 +2141,22 @@ function toList(_this__u8e3s4) {
|
|
|
2088
2141
|
}
|
|
2089
2142
|
return optimizeReadOnlyList(toMutableList_0(_this__u8e3s4));
|
|
2090
2143
|
}
|
|
2144
|
+
function getOrNull(_this__u8e3s4, index) {
|
|
2145
|
+
return (0 <= index ? index < _this__u8e3s4.u() : false) ? _this__u8e3s4.v(index) : null;
|
|
2146
|
+
}
|
|
2091
2147
|
function singleOrNull(_this__u8e3s4) {
|
|
2092
|
-
return _this__u8e3s4.
|
|
2148
|
+
return _this__u8e3s4.u() === 1 ? _this__u8e3s4.v(0) : null;
|
|
2093
2149
|
}
|
|
2094
2150
|
function single_0(_this__u8e3s4) {
|
|
2095
2151
|
var tmp;
|
|
2096
|
-
switch (_this__u8e3s4.
|
|
2152
|
+
switch (_this__u8e3s4.u()) {
|
|
2097
2153
|
case 0:
|
|
2098
|
-
throw NoSuchElementException.
|
|
2154
|
+
throw NoSuchElementException.i('List is empty.');
|
|
2099
2155
|
case 1:
|
|
2100
|
-
tmp = _this__u8e3s4.
|
|
2156
|
+
tmp = _this__u8e3s4.v(0);
|
|
2101
2157
|
break;
|
|
2102
2158
|
default:
|
|
2103
|
-
throw IllegalArgumentException.
|
|
2159
|
+
throw IllegalArgumentException.m('List has more than one element.');
|
|
2104
2160
|
}
|
|
2105
2161
|
return tmp;
|
|
2106
2162
|
}
|
|
@@ -2108,48 +2164,48 @@ function drop(_this__u8e3s4, n) {
|
|
|
2108
2164
|
// Inline function 'kotlin.require' call
|
|
2109
2165
|
if (!(n >= 0)) {
|
|
2110
2166
|
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
2111
|
-
throw IllegalArgumentException.
|
|
2167
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
2112
2168
|
}
|
|
2113
2169
|
if (n === 0)
|
|
2114
2170
|
return toList(_this__u8e3s4);
|
|
2115
2171
|
var list;
|
|
2116
2172
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
2117
|
-
var resultSize = _this__u8e3s4.
|
|
2173
|
+
var resultSize = _this__u8e3s4.u() - n | 0;
|
|
2118
2174
|
if (resultSize <= 0)
|
|
2119
2175
|
return emptyList();
|
|
2120
2176
|
if (resultSize === 1)
|
|
2121
2177
|
return listOf(last(_this__u8e3s4));
|
|
2122
|
-
list = ArrayList.
|
|
2178
|
+
list = ArrayList.a1(resultSize);
|
|
2123
2179
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
2124
2180
|
if (isInterface(_this__u8e3s4, RandomAccess)) {
|
|
2125
2181
|
var inductionVariable = n;
|
|
2126
|
-
var last_0 = _this__u8e3s4.
|
|
2182
|
+
var last_0 = _this__u8e3s4.u();
|
|
2127
2183
|
if (inductionVariable < last_0)
|
|
2128
2184
|
do {
|
|
2129
2185
|
var index = inductionVariable;
|
|
2130
2186
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2131
|
-
list.
|
|
2187
|
+
list.n(_this__u8e3s4.v(index));
|
|
2132
2188
|
}
|
|
2133
2189
|
while (inductionVariable < last_0);
|
|
2134
2190
|
} else {
|
|
2135
2191
|
// Inline function 'kotlin.collections.iterator' call
|
|
2136
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2137
|
-
while (_iterator__ex2g4s.
|
|
2138
|
-
var item = _iterator__ex2g4s.
|
|
2139
|
-
list.
|
|
2192
|
+
var _iterator__ex2g4s = _this__u8e3s4.b1(n);
|
|
2193
|
+
while (_iterator__ex2g4s.s()) {
|
|
2194
|
+
var item = _iterator__ex2g4s.t();
|
|
2195
|
+
list.n(item);
|
|
2140
2196
|
}
|
|
2141
2197
|
}
|
|
2142
2198
|
return list;
|
|
2143
2199
|
}
|
|
2144
2200
|
} else {
|
|
2145
|
-
list = ArrayList.
|
|
2201
|
+
list = ArrayList.z();
|
|
2146
2202
|
}
|
|
2147
2203
|
var count = 0;
|
|
2148
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.
|
|
2149
|
-
while (_iterator__ex2g4s_0.
|
|
2150
|
-
var item_0 = _iterator__ex2g4s_0.
|
|
2204
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.r();
|
|
2205
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
2206
|
+
var item_0 = _iterator__ex2g4s_0.t();
|
|
2151
2207
|
if (count >= n)
|
|
2152
|
-
list.
|
|
2208
|
+
list.n(item_0);
|
|
2153
2209
|
else {
|
|
2154
2210
|
count = count + 1 | 0;
|
|
2155
2211
|
}
|
|
@@ -2157,93 +2213,93 @@ function drop(_this__u8e3s4, n) {
|
|
|
2157
2213
|
return optimizeReadOnlyList(list);
|
|
2158
2214
|
}
|
|
2159
2215
|
function minOrNull(_this__u8e3s4) {
|
|
2160
|
-
var iterator = _this__u8e3s4.
|
|
2161
|
-
if (!iterator.
|
|
2216
|
+
var iterator = _this__u8e3s4.r();
|
|
2217
|
+
if (!iterator.s())
|
|
2162
2218
|
return null;
|
|
2163
|
-
var min = iterator.
|
|
2164
|
-
while (iterator.
|
|
2165
|
-
var e = iterator.
|
|
2219
|
+
var min = iterator.t();
|
|
2220
|
+
while (iterator.s()) {
|
|
2221
|
+
var e = iterator.t();
|
|
2166
2222
|
if (compareTo(min, e) > 0)
|
|
2167
2223
|
min = e;
|
|
2168
2224
|
}
|
|
2169
2225
|
return min;
|
|
2170
2226
|
}
|
|
2227
|
+
function toMutableList(_this__u8e3s4) {
|
|
2228
|
+
return ArrayList.c1(_this__u8e3s4);
|
|
2229
|
+
}
|
|
2230
|
+
function toMutableList_0(_this__u8e3s4) {
|
|
2231
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
2232
|
+
return toMutableList(_this__u8e3s4);
|
|
2233
|
+
return toCollection_0(_this__u8e3s4, ArrayList.z());
|
|
2234
|
+
}
|
|
2235
|
+
function last(_this__u8e3s4) {
|
|
2236
|
+
if (isInterface(_this__u8e3s4, KtList))
|
|
2237
|
+
return last_0(_this__u8e3s4);
|
|
2238
|
+
else {
|
|
2239
|
+
var iterator = _this__u8e3s4.r();
|
|
2240
|
+
if (!iterator.s())
|
|
2241
|
+
throw NoSuchElementException.i('Collection is empty.');
|
|
2242
|
+
var last = iterator.t();
|
|
2243
|
+
while (iterator.s())
|
|
2244
|
+
last = iterator.t();
|
|
2245
|
+
return last;
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
function toCollection_0(_this__u8e3s4, destination) {
|
|
2249
|
+
var _iterator__ex2g4s = _this__u8e3s4.r();
|
|
2250
|
+
while (_iterator__ex2g4s.s()) {
|
|
2251
|
+
var item = _iterator__ex2g4s.t();
|
|
2252
|
+
destination.n(item);
|
|
2253
|
+
}
|
|
2254
|
+
return destination;
|
|
2255
|
+
}
|
|
2256
|
+
function last_0(_this__u8e3s4) {
|
|
2257
|
+
if (_this__u8e3s4.d1())
|
|
2258
|
+
throw NoSuchElementException.i('List is empty.');
|
|
2259
|
+
return _this__u8e3s4.v(get_lastIndex(_this__u8e3s4));
|
|
2260
|
+
}
|
|
2171
2261
|
function single_1(_this__u8e3s4) {
|
|
2172
2262
|
if (isInterface(_this__u8e3s4, KtList))
|
|
2173
2263
|
return single_0(_this__u8e3s4);
|
|
2174
2264
|
else {
|
|
2175
|
-
var iterator = _this__u8e3s4.
|
|
2176
|
-
if (!iterator.
|
|
2177
|
-
throw NoSuchElementException.
|
|
2178
|
-
var single = iterator.
|
|
2179
|
-
if (iterator.
|
|
2180
|
-
throw IllegalArgumentException.
|
|
2265
|
+
var iterator = _this__u8e3s4.r();
|
|
2266
|
+
if (!iterator.s())
|
|
2267
|
+
throw NoSuchElementException.i('Collection is empty.');
|
|
2268
|
+
var single = iterator.t();
|
|
2269
|
+
if (iterator.s())
|
|
2270
|
+
throw IllegalArgumentException.m('Collection has more than one element.');
|
|
2181
2271
|
return single;
|
|
2182
2272
|
}
|
|
2183
2273
|
}
|
|
2184
|
-
function
|
|
2274
|
+
function toSet_0(_this__u8e3s4) {
|
|
2185
2275
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
2186
2276
|
var tmp;
|
|
2187
|
-
switch (_this__u8e3s4.
|
|
2277
|
+
switch (_this__u8e3s4.u()) {
|
|
2188
2278
|
case 0:
|
|
2189
2279
|
tmp = emptySet();
|
|
2190
2280
|
break;
|
|
2191
2281
|
case 1:
|
|
2192
2282
|
var tmp_0;
|
|
2193
2283
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
2194
|
-
tmp_0 = _this__u8e3s4.
|
|
2284
|
+
tmp_0 = _this__u8e3s4.v(0);
|
|
2195
2285
|
} else {
|
|
2196
|
-
tmp_0 = _this__u8e3s4.
|
|
2286
|
+
tmp_0 = _this__u8e3s4.r().t();
|
|
2197
2287
|
}
|
|
2198
2288
|
|
|
2199
2289
|
tmp = setOf(tmp_0);
|
|
2200
2290
|
break;
|
|
2201
2291
|
default:
|
|
2202
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet.
|
|
2292
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet.e(mapCapacity(_this__u8e3s4.u())));
|
|
2203
2293
|
break;
|
|
2204
2294
|
}
|
|
2205
2295
|
return tmp;
|
|
2206
2296
|
}
|
|
2207
|
-
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet.
|
|
2297
|
+
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet.e1()));
|
|
2208
2298
|
}
|
|
2209
2299
|
function asSequence(_this__u8e3s4) {
|
|
2210
2300
|
// Inline function 'kotlin.sequences.Sequence' call
|
|
2211
2301
|
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
|
|
2212
2302
|
}
|
|
2213
|
-
function toMutableList(_this__u8e3s4) {
|
|
2214
|
-
return ArrayList.d1(_this__u8e3s4);
|
|
2215
|
-
}
|
|
2216
|
-
function toMutableList_0(_this__u8e3s4) {
|
|
2217
|
-
if (isInterface(_this__u8e3s4, Collection))
|
|
2218
|
-
return toMutableList(_this__u8e3s4);
|
|
2219
|
-
return toCollection_0(_this__u8e3s4, ArrayList.x());
|
|
2220
|
-
}
|
|
2221
|
-
function last(_this__u8e3s4) {
|
|
2222
|
-
if (isInterface(_this__u8e3s4, KtList))
|
|
2223
|
-
return last_0(_this__u8e3s4);
|
|
2224
|
-
else {
|
|
2225
|
-
var iterator = _this__u8e3s4.p();
|
|
2226
|
-
if (!iterator.q())
|
|
2227
|
-
throw NoSuchElementException.g('Collection is empty.');
|
|
2228
|
-
var last = iterator.r();
|
|
2229
|
-
while (iterator.q())
|
|
2230
|
-
last = iterator.r();
|
|
2231
|
-
return last;
|
|
2232
|
-
}
|
|
2233
|
-
}
|
|
2234
|
-
function toCollection_0(_this__u8e3s4, destination) {
|
|
2235
|
-
var _iterator__ex2g4s = _this__u8e3s4.p();
|
|
2236
|
-
while (_iterator__ex2g4s.q()) {
|
|
2237
|
-
var item = _iterator__ex2g4s.r();
|
|
2238
|
-
destination.l(item);
|
|
2239
|
-
}
|
|
2240
|
-
return destination;
|
|
2241
|
-
}
|
|
2242
|
-
function last_0(_this__u8e3s4) {
|
|
2243
|
-
if (_this__u8e3s4.e1())
|
|
2244
|
-
throw NoSuchElementException.g('List is empty.');
|
|
2245
|
-
return _this__u8e3s4.s(get_lastIndex(_this__u8e3s4));
|
|
2246
|
-
}
|
|
2247
2303
|
function until(_this__u8e3s4, to) {
|
|
2248
2304
|
if (to <= -2147483648)
|
|
2249
2305
|
return Companion_getInstance_7().g1_1;
|
|
@@ -2260,7 +2316,7 @@ function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
|
2260
2316
|
}
|
|
2261
2317
|
function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
|
|
2262
2318
|
if (minimumValue > maximumValue)
|
|
2263
|
-
throw IllegalArgumentException.
|
|
2319
|
+
throw IllegalArgumentException.m('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
|
|
2264
2320
|
if (_this__u8e3s4 < minimumValue)
|
|
2265
2321
|
return minimumValue;
|
|
2266
2322
|
if (_this__u8e3s4 > maximumValue)
|
|
@@ -2272,16 +2328,16 @@ function asIterable(_this__u8e3s4) {
|
|
|
2272
2328
|
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
|
|
2273
2329
|
}
|
|
2274
2330
|
function toList_0(_this__u8e3s4) {
|
|
2275
|
-
var it = _this__u8e3s4.
|
|
2276
|
-
if (!it.
|
|
2331
|
+
var it = _this__u8e3s4.r();
|
|
2332
|
+
if (!it.s())
|
|
2277
2333
|
return emptyList();
|
|
2278
|
-
var element = it.
|
|
2279
|
-
if (!it.
|
|
2334
|
+
var element = it.t();
|
|
2335
|
+
if (!it.s())
|
|
2280
2336
|
return listOf(element);
|
|
2281
|
-
var dst = ArrayList.
|
|
2282
|
-
dst.
|
|
2283
|
-
while (it.
|
|
2284
|
-
dst.
|
|
2337
|
+
var dst = ArrayList.z();
|
|
2338
|
+
dst.n(element);
|
|
2339
|
+
while (it.s()) {
|
|
2340
|
+
dst.n(it.t());
|
|
2285
2341
|
}
|
|
2286
2342
|
return dst;
|
|
2287
2343
|
}
|
|
@@ -2292,12 +2348,12 @@ function take(_this__u8e3s4, n) {
|
|
|
2292
2348
|
// Inline function 'kotlin.require' call
|
|
2293
2349
|
if (!(n >= 0)) {
|
|
2294
2350
|
var message = 'Requested character count ' + n + ' is less than zero.';
|
|
2295
|
-
throw IllegalArgumentException.
|
|
2351
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
2296
2352
|
}
|
|
2297
2353
|
return substring(_this__u8e3s4, 0, coerceAtMost(n, _this__u8e3s4.length));
|
|
2298
2354
|
}
|
|
2299
2355
|
function slice(_this__u8e3s4, indices) {
|
|
2300
|
-
if (indices.
|
|
2356
|
+
if (indices.d1())
|
|
2301
2357
|
return '';
|
|
2302
2358
|
return substring_2(_this__u8e3s4, indices);
|
|
2303
2359
|
}
|
|
@@ -2305,7 +2361,7 @@ function takeLast(_this__u8e3s4, n) {
|
|
|
2305
2361
|
// Inline function 'kotlin.require' call
|
|
2306
2362
|
if (!(n >= 0)) {
|
|
2307
2363
|
var message = 'Requested character count ' + n + ' is less than zero.';
|
|
2308
|
-
throw IllegalArgumentException.
|
|
2364
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
2309
2365
|
}
|
|
2310
2366
|
var length = _this__u8e3s4.length;
|
|
2311
2367
|
return substring_0(_this__u8e3s4, length - coerceAtMost(n, length) | 0);
|
|
@@ -2314,7 +2370,7 @@ function drop_0(_this__u8e3s4, n) {
|
|
|
2314
2370
|
// Inline function 'kotlin.require' call
|
|
2315
2371
|
if (!(n >= 0)) {
|
|
2316
2372
|
var message = 'Requested character count ' + n + ' is less than zero.';
|
|
2317
|
-
throw IllegalArgumentException.
|
|
2373
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
2318
2374
|
}
|
|
2319
2375
|
return substring_0(_this__u8e3s4, coerceAtMost(n, _this__u8e3s4.length));
|
|
2320
2376
|
}
|
|
@@ -3355,7 +3411,7 @@ function copyOf(_this__u8e3s4, newSize) {
|
|
|
3355
3411
|
// Inline function 'kotlin.require' call
|
|
3356
3412
|
if (!(newSize >= 0)) {
|
|
3357
3413
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
3358
|
-
throw IllegalArgumentException.
|
|
3414
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
3359
3415
|
}
|
|
3360
3416
|
var size = _this__u8e3s4.length;
|
|
3361
3417
|
var tmp;
|
|
@@ -3377,7 +3433,7 @@ function copyOf_0(_this__u8e3s4, newSize) {
|
|
|
3377
3433
|
// Inline function 'kotlin.require' call
|
|
3378
3434
|
if (!(newSize >= 0)) {
|
|
3379
3435
|
var message = 'Invalid new array size: ' + newSize + '.';
|
|
3380
|
-
throw IllegalArgumentException.
|
|
3436
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
3381
3437
|
}
|
|
3382
3438
|
return arrayCopyResize(_this__u8e3s4, newSize, null);
|
|
3383
3439
|
}
|
|
@@ -3455,9 +3511,6 @@ function checkIndexOverflow(index) {
|
|
|
3455
3511
|
function setOf(element) {
|
|
3456
3512
|
return hashSetOf([element]);
|
|
3457
3513
|
}
|
|
3458
|
-
function mapCapacity(expectedSize) {
|
|
3459
|
-
return expectedSize;
|
|
3460
|
-
}
|
|
3461
3514
|
function copyToArray(collection) {
|
|
3462
3515
|
var tmp;
|
|
3463
3516
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3472,11 +3525,14 @@ function copyToArray(collection) {
|
|
|
3472
3525
|
}
|
|
3473
3526
|
return tmp;
|
|
3474
3527
|
}
|
|
3528
|
+
function mapCapacity(expectedSize) {
|
|
3529
|
+
return expectedSize;
|
|
3530
|
+
}
|
|
3475
3531
|
function arrayOfUninitializedElements(capacity) {
|
|
3476
3532
|
// Inline function 'kotlin.require' call
|
|
3477
3533
|
if (!(capacity >= 0)) {
|
|
3478
3534
|
var message = 'capacity must be non-negative.';
|
|
3479
|
-
throw IllegalArgumentException.
|
|
3535
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
3480
3536
|
}
|
|
3481
3537
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3482
3538
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -3499,14 +3555,20 @@ function Companion_getInstance_1() {
|
|
|
3499
3555
|
new Companion_1();
|
|
3500
3556
|
return Companion_instance_1;
|
|
3501
3557
|
}
|
|
3558
|
+
function increaseLength($this, amount) {
|
|
3559
|
+
var previous = $this.u();
|
|
3560
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3561
|
+
$this.x_1.length = $this.u() + amount | 0;
|
|
3562
|
+
return previous;
|
|
3563
|
+
}
|
|
3502
3564
|
function rangeCheck($this, index) {
|
|
3503
3565
|
// Inline function 'kotlin.apply' call
|
|
3504
|
-
Companion_instance_4.
|
|
3566
|
+
Companion_instance_4.z3(index, $this.u());
|
|
3505
3567
|
return index;
|
|
3506
3568
|
}
|
|
3507
3569
|
function insertionRangeCheck($this, index) {
|
|
3508
3570
|
// Inline function 'kotlin.apply' call
|
|
3509
|
-
Companion_instance_4.
|
|
3571
|
+
Companion_instance_4.p3(index, $this.u());
|
|
3510
3572
|
return index;
|
|
3511
3573
|
}
|
|
3512
3574
|
function init_kotlin_collections_HashSet(_this__u8e3s4) {
|
|
@@ -3519,40 +3581,40 @@ function computeShift($this, hashSize) {
|
|
|
3519
3581
|
return clz32(hashSize) + 1 | 0;
|
|
3520
3582
|
}
|
|
3521
3583
|
function checkForComodification($this) {
|
|
3522
|
-
if (!($this.
|
|
3523
|
-
throw ConcurrentModificationException.
|
|
3584
|
+
if (!($this.j5_1.v4_1 === $this.l5_1))
|
|
3585
|
+
throw ConcurrentModificationException.i5('The backing map has been modified after this entry was obtained.');
|
|
3524
3586
|
}
|
|
3525
3587
|
function _get_capacity__a9k9f3($this) {
|
|
3526
|
-
return $this.
|
|
3588
|
+
return $this.o4_1.length;
|
|
3527
3589
|
}
|
|
3528
3590
|
function _get_hashSize__tftcho($this) {
|
|
3529
|
-
return $this.
|
|
3591
|
+
return $this.r4_1.length;
|
|
3530
3592
|
}
|
|
3531
3593
|
function registerModification($this) {
|
|
3532
|
-
$this.
|
|
3594
|
+
$this.v4_1 = $this.v4_1 + 1 | 0;
|
|
3533
3595
|
}
|
|
3534
3596
|
function ensureExtraCapacity($this, n) {
|
|
3535
3597
|
if (shouldCompact($this, n)) {
|
|
3536
3598
|
compact($this, true);
|
|
3537
3599
|
} else {
|
|
3538
|
-
ensureCapacity($this, $this.
|
|
3600
|
+
ensureCapacity($this, $this.t4_1 + n | 0);
|
|
3539
3601
|
}
|
|
3540
3602
|
}
|
|
3541
3603
|
function shouldCompact($this, extraCapacity) {
|
|
3542
|
-
var spareCapacity = _get_capacity__a9k9f3($this) - $this.
|
|
3543
|
-
var gaps = $this.
|
|
3604
|
+
var spareCapacity = _get_capacity__a9k9f3($this) - $this.t4_1 | 0;
|
|
3605
|
+
var gaps = $this.t4_1 - $this.u() | 0;
|
|
3544
3606
|
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
|
|
3545
3607
|
}
|
|
3546
3608
|
function ensureCapacity($this, minCapacity) {
|
|
3547
3609
|
if (minCapacity < 0)
|
|
3548
|
-
throw RuntimeException.
|
|
3610
|
+
throw RuntimeException.o5('too many elements');
|
|
3549
3611
|
if (minCapacity > _get_capacity__a9k9f3($this)) {
|
|
3550
|
-
var newSize = Companion_instance_4.
|
|
3551
|
-
$this.
|
|
3612
|
+
var newSize = Companion_instance_4.p5(_get_capacity__a9k9f3($this), minCapacity);
|
|
3613
|
+
$this.o4_1 = copyOfUninitializedElements($this.o4_1, newSize);
|
|
3552
3614
|
var tmp = $this;
|
|
3553
|
-
var tmp0_safe_receiver = $this.
|
|
3554
|
-
tmp.
|
|
3555
|
-
$this.
|
|
3615
|
+
var tmp0_safe_receiver = $this.p4_1;
|
|
3616
|
+
tmp.p4_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
|
|
3617
|
+
$this.q4_1 = copyOf($this.q4_1, newSize);
|
|
3556
3618
|
var newHashSize = computeHashSize(Companion_instance_2, newSize);
|
|
3557
3619
|
if (newHashSize > _get_hashSize__tftcho($this)) {
|
|
3558
3620
|
rehash($this, newHashSize);
|
|
@@ -3560,52 +3622,52 @@ function ensureCapacity($this, minCapacity) {
|
|
|
3560
3622
|
}
|
|
3561
3623
|
}
|
|
3562
3624
|
function allocateValuesArray($this) {
|
|
3563
|
-
var curValuesArray = $this.
|
|
3625
|
+
var curValuesArray = $this.p4_1;
|
|
3564
3626
|
if (!(curValuesArray == null))
|
|
3565
3627
|
return curValuesArray;
|
|
3566
3628
|
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
|
|
3567
|
-
$this.
|
|
3629
|
+
$this.p4_1 = newValuesArray;
|
|
3568
3630
|
return newValuesArray;
|
|
3569
3631
|
}
|
|
3570
3632
|
function hash($this, key) {
|
|
3571
|
-
return key == null ? 0 : imul_0(hashCode_0(key), -1640531527) >>> $this.
|
|
3633
|
+
return key == null ? 0 : imul_0(hashCode_0(key), -1640531527) >>> $this.u4_1 | 0;
|
|
3572
3634
|
}
|
|
3573
3635
|
function compact($this, updateHashArray) {
|
|
3574
3636
|
var i = 0;
|
|
3575
3637
|
var j = 0;
|
|
3576
|
-
var valuesArray = $this.
|
|
3577
|
-
while (i < $this.
|
|
3578
|
-
var hash = $this.
|
|
3638
|
+
var valuesArray = $this.p4_1;
|
|
3639
|
+
while (i < $this.t4_1) {
|
|
3640
|
+
var hash = $this.q4_1[i];
|
|
3579
3641
|
if (hash >= 0) {
|
|
3580
|
-
$this.
|
|
3642
|
+
$this.o4_1[j] = $this.o4_1[i];
|
|
3581
3643
|
if (!(valuesArray == null)) {
|
|
3582
3644
|
valuesArray[j] = valuesArray[i];
|
|
3583
3645
|
}
|
|
3584
3646
|
if (updateHashArray) {
|
|
3585
|
-
$this.
|
|
3586
|
-
$this.
|
|
3647
|
+
$this.q4_1[j] = hash;
|
|
3648
|
+
$this.r4_1[hash] = j + 1 | 0;
|
|
3587
3649
|
}
|
|
3588
3650
|
j = j + 1 | 0;
|
|
3589
3651
|
}
|
|
3590
3652
|
i = i + 1 | 0;
|
|
3591
3653
|
}
|
|
3592
|
-
resetRange($this.
|
|
3654
|
+
resetRange($this.o4_1, j, $this.t4_1);
|
|
3593
3655
|
if (valuesArray == null)
|
|
3594
3656
|
null;
|
|
3595
3657
|
else {
|
|
3596
|
-
resetRange(valuesArray, j, $this.
|
|
3658
|
+
resetRange(valuesArray, j, $this.t4_1);
|
|
3597
3659
|
}
|
|
3598
|
-
$this.
|
|
3660
|
+
$this.t4_1 = j;
|
|
3599
3661
|
}
|
|
3600
3662
|
function rehash($this, newHashSize) {
|
|
3601
3663
|
registerModification($this);
|
|
3602
|
-
if ($this.
|
|
3664
|
+
if ($this.t4_1 > $this.w4_1) {
|
|
3603
3665
|
compact($this, false);
|
|
3604
3666
|
}
|
|
3605
|
-
$this.
|
|
3606
|
-
$this.
|
|
3667
|
+
$this.r4_1 = new Int32Array(newHashSize);
|
|
3668
|
+
$this.u4_1 = computeShift(Companion_instance_2, newHashSize);
|
|
3607
3669
|
var i = 0;
|
|
3608
|
-
while (i < $this.
|
|
3670
|
+
while (i < $this.t4_1) {
|
|
3609
3671
|
var _unary__edvuaz = i;
|
|
3610
3672
|
i = _unary__edvuaz + 1 | 0;
|
|
3611
3673
|
if (!putRehash($this, _unary__edvuaz)) {
|
|
@@ -3614,13 +3676,13 @@ function rehash($this, newHashSize) {
|
|
|
3614
3676
|
}
|
|
3615
3677
|
}
|
|
3616
3678
|
function putRehash($this, i) {
|
|
3617
|
-
var hash_0 = hash($this, $this.
|
|
3618
|
-
var probesLeft = $this.
|
|
3679
|
+
var hash_0 = hash($this, $this.o4_1[i]);
|
|
3680
|
+
var probesLeft = $this.s4_1;
|
|
3619
3681
|
while (true) {
|
|
3620
|
-
var index = $this.
|
|
3682
|
+
var index = $this.r4_1[hash_0];
|
|
3621
3683
|
if (index === 0) {
|
|
3622
|
-
$this.
|
|
3623
|
-
$this.
|
|
3684
|
+
$this.r4_1[hash_0] = i + 1 | 0;
|
|
3685
|
+
$this.q4_1[i] = hash_0;
|
|
3624
3686
|
return true;
|
|
3625
3687
|
}
|
|
3626
3688
|
probesLeft = probesLeft - 1 | 0;
|
|
@@ -3634,12 +3696,12 @@ function putRehash($this, i) {
|
|
|
3634
3696
|
}
|
|
3635
3697
|
function findKey($this, key) {
|
|
3636
3698
|
var hash_0 = hash($this, key);
|
|
3637
|
-
var probesLeft = $this.
|
|
3699
|
+
var probesLeft = $this.s4_1;
|
|
3638
3700
|
while (true) {
|
|
3639
|
-
var index = $this.
|
|
3701
|
+
var index = $this.r4_1[hash_0];
|
|
3640
3702
|
if (index === 0)
|
|
3641
3703
|
return -1;
|
|
3642
|
-
if (equals($this.
|
|
3704
|
+
if (equals($this.o4_1[index - 1 | 0], key))
|
|
3643
3705
|
return index - 1 | 0;
|
|
3644
3706
|
probesLeft = probesLeft - 1 | 0;
|
|
3645
3707
|
if (probesLeft < 0)
|
|
@@ -3651,31 +3713,31 @@ function findKey($this, key) {
|
|
|
3651
3713
|
}
|
|
3652
3714
|
}
|
|
3653
3715
|
function addKey($this, key) {
|
|
3654
|
-
$this.
|
|
3716
|
+
$this.q5();
|
|
3655
3717
|
retry: while (true) {
|
|
3656
3718
|
var hash_0 = hash($this, key);
|
|
3657
|
-
var tentativeMaxProbeDistance = coerceAtMost(imul_0($this.
|
|
3719
|
+
var tentativeMaxProbeDistance = coerceAtMost(imul_0($this.s4_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
|
|
3658
3720
|
var probeDistance = 0;
|
|
3659
3721
|
while (true) {
|
|
3660
|
-
var index = $this.
|
|
3722
|
+
var index = $this.r4_1[hash_0];
|
|
3661
3723
|
if (index === 0) {
|
|
3662
|
-
if ($this.
|
|
3724
|
+
if ($this.t4_1 >= _get_capacity__a9k9f3($this)) {
|
|
3663
3725
|
ensureExtraCapacity($this, 1);
|
|
3664
3726
|
continue retry;
|
|
3665
3727
|
}
|
|
3666
|
-
var _unary__edvuaz = $this.
|
|
3667
|
-
$this.
|
|
3728
|
+
var _unary__edvuaz = $this.t4_1;
|
|
3729
|
+
$this.t4_1 = _unary__edvuaz + 1 | 0;
|
|
3668
3730
|
var putIndex = _unary__edvuaz;
|
|
3669
|
-
$this.
|
|
3670
|
-
$this.
|
|
3671
|
-
$this.
|
|
3672
|
-
$this.
|
|
3731
|
+
$this.o4_1[putIndex] = key;
|
|
3732
|
+
$this.q4_1[putIndex] = hash_0;
|
|
3733
|
+
$this.r4_1[hash_0] = putIndex + 1 | 0;
|
|
3734
|
+
$this.w4_1 = $this.w4_1 + 1 | 0;
|
|
3673
3735
|
registerModification($this);
|
|
3674
|
-
if (probeDistance > $this.
|
|
3675
|
-
$this.
|
|
3736
|
+
if (probeDistance > $this.s4_1)
|
|
3737
|
+
$this.s4_1 = probeDistance;
|
|
3676
3738
|
return putIndex;
|
|
3677
3739
|
}
|
|
3678
|
-
if (equals($this.
|
|
3740
|
+
if (equals($this.o4_1[index - 1 | 0], key)) {
|
|
3679
3741
|
return -index | 0;
|
|
3680
3742
|
}
|
|
3681
3743
|
probeDistance = probeDistance + 1 | 0;
|
|
@@ -3691,7 +3753,7 @@ function addKey($this, key) {
|
|
|
3691
3753
|
}
|
|
3692
3754
|
}
|
|
3693
3755
|
function contentEquals($this, other) {
|
|
3694
|
-
return $this.
|
|
3756
|
+
return $this.w4_1 === other.u() && $this.r5(other.s1());
|
|
3695
3757
|
}
|
|
3696
3758
|
var Companion_instance_2;
|
|
3697
3759
|
function Companion_getInstance_2() {
|
|
@@ -3700,34 +3762,34 @@ function Companion_getInstance_2() {
|
|
|
3700
3762
|
function init_kotlin_collections_LinkedHashSet(_this__u8e3s4) {
|
|
3701
3763
|
}
|
|
3702
3764
|
function init_kotlin_UnsupportedOperationException(_this__u8e3s4) {
|
|
3703
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3765
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.j4_1);
|
|
3704
3766
|
}
|
|
3705
3767
|
function init_kotlin_IllegalStateException(_this__u8e3s4) {
|
|
3706
3768
|
captureStack(_this__u8e3s4, _this__u8e3s4.j2_1);
|
|
3707
3769
|
}
|
|
3708
3770
|
function init_kotlin_IllegalArgumentException(_this__u8e3s4) {
|
|
3709
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3771
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.l_1);
|
|
3710
3772
|
}
|
|
3711
3773
|
function init_kotlin_RuntimeException(_this__u8e3s4) {
|
|
3712
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3774
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.n5_1);
|
|
3713
3775
|
}
|
|
3714
3776
|
function init_kotlin_Exception(_this__u8e3s4) {
|
|
3715
3777
|
captureStack(_this__u8e3s4, _this__u8e3s4.f2_1);
|
|
3716
3778
|
}
|
|
3717
3779
|
function init_kotlin_NoSuchElementException(_this__u8e3s4) {
|
|
3718
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3780
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.h_1);
|
|
3719
3781
|
}
|
|
3720
3782
|
function init_kotlin_IndexOutOfBoundsException(_this__u8e3s4) {
|
|
3721
3783
|
captureStack(_this__u8e3s4, _this__u8e3s4.a3_1);
|
|
3722
3784
|
}
|
|
3723
3785
|
function init_kotlin_ArithmeticException(_this__u8e3s4) {
|
|
3724
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3786
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.h7_1);
|
|
3725
3787
|
}
|
|
3726
3788
|
function init_kotlin_NumberFormatException(_this__u8e3s4) {
|
|
3727
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3789
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.n7_1);
|
|
3728
3790
|
}
|
|
3729
3791
|
function init_kotlin_ConcurrentModificationException(_this__u8e3s4) {
|
|
3730
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
3792
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.h5_1);
|
|
3731
3793
|
}
|
|
3732
3794
|
function init_kotlin_NullPointerException(_this__u8e3s4) {
|
|
3733
3795
|
captureStack(_this__u8e3s4, _this__u8e3s4.n2_1);
|
|
@@ -3816,7 +3878,7 @@ function isWhitespace(_this__u8e3s4) {
|
|
|
3816
3878
|
}
|
|
3817
3879
|
function checkRadix(radix) {
|
|
3818
3880
|
if (!(2 <= radix ? radix <= 36 : false)) {
|
|
3819
|
-
throw IllegalArgumentException.
|
|
3881
|
+
throw IllegalArgumentException.m('radix ' + radix + ' was not in valid range 2..36');
|
|
3820
3882
|
}
|
|
3821
3883
|
return radix;
|
|
3822
3884
|
}
|
|
@@ -3867,48 +3929,48 @@ function findNext(_this__u8e3s4, input, from, nextPattern) {
|
|
|
3867
3929
|
}
|
|
3868
3930
|
function substituteGroupRefs(match, replacement) {
|
|
3869
3931
|
var index = 0;
|
|
3870
|
-
var result = StringBuilder.
|
|
3932
|
+
var result = StringBuilder.p();
|
|
3871
3933
|
while (index < replacement.length) {
|
|
3872
3934
|
var _unary__edvuaz = index;
|
|
3873
3935
|
index = _unary__edvuaz + 1 | 0;
|
|
3874
3936
|
var char = charCodeAt(replacement, _unary__edvuaz);
|
|
3875
3937
|
if (char === _Char___init__impl__6a9atx(92)) {
|
|
3876
3938
|
if (index === replacement.length)
|
|
3877
|
-
throw IllegalArgumentException.
|
|
3939
|
+
throw IllegalArgumentException.m('The Char to be escaped is missing');
|
|
3878
3940
|
var _unary__edvuaz_0 = index;
|
|
3879
3941
|
index = _unary__edvuaz_0 + 1 | 0;
|
|
3880
|
-
result.
|
|
3942
|
+
result.p6(charCodeAt(replacement, _unary__edvuaz_0));
|
|
3881
3943
|
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
3882
3944
|
if (index === replacement.length)
|
|
3883
|
-
throw IllegalArgumentException.
|
|
3945
|
+
throw IllegalArgumentException.m('Capturing group index is missing');
|
|
3884
3946
|
if (charCodeAt(replacement, index) === _Char___init__impl__6a9atx(123)) {
|
|
3885
3947
|
index = index + 1 | 0;
|
|
3886
3948
|
var endIndex = readGroupName(replacement, index);
|
|
3887
3949
|
if (index === endIndex)
|
|
3888
|
-
throw IllegalArgumentException.
|
|
3950
|
+
throw IllegalArgumentException.m('Named capturing group reference should have a non-empty name');
|
|
3889
3951
|
if (endIndex === replacement.length || !(charCodeAt(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
|
|
3890
|
-
throw IllegalArgumentException.
|
|
3952
|
+
throw IllegalArgumentException.m("Named capturing group reference is missing trailing '}'");
|
|
3891
3953
|
var groupName = substring(replacement, index, endIndex);
|
|
3892
|
-
var tmp0_safe_receiver = get(match.
|
|
3893
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3894
|
-
result.
|
|
3954
|
+
var tmp0_safe_receiver = get(match.x8(), groupName);
|
|
3955
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y8_1;
|
|
3956
|
+
result.o6(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
3895
3957
|
index = endIndex + 1 | 0;
|
|
3896
3958
|
} else {
|
|
3897
3959
|
var containsArg = charCodeAt(replacement, index);
|
|
3898
3960
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
3899
|
-
throw IllegalArgumentException.
|
|
3900
|
-
var groups = match.
|
|
3901
|
-
var endIndex_0 = readGroupIndex(replacement, index, groups.
|
|
3961
|
+
throw IllegalArgumentException.m('Invalid capturing group reference');
|
|
3962
|
+
var groups = match.x8();
|
|
3963
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.u());
|
|
3902
3964
|
var groupIndex = toInt(substring(replacement, index, endIndex_0));
|
|
3903
|
-
if (groupIndex >= groups.
|
|
3965
|
+
if (groupIndex >= groups.u())
|
|
3904
3966
|
throw IndexOutOfBoundsException.b3('Group with index ' + groupIndex + ' does not exist');
|
|
3905
|
-
var tmp2_safe_receiver = groups.
|
|
3906
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3907
|
-
result.
|
|
3967
|
+
var tmp2_safe_receiver = groups.v(groupIndex);
|
|
3968
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.y8_1;
|
|
3969
|
+
result.o6(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
3908
3970
|
index = endIndex_0;
|
|
3909
3971
|
}
|
|
3910
3972
|
} else {
|
|
3911
|
-
result.
|
|
3973
|
+
result.p6(char);
|
|
3912
3974
|
}
|
|
3913
3975
|
}
|
|
3914
3976
|
return result.toString();
|
|
@@ -3928,12 +3990,12 @@ function get(_this__u8e3s4, name) {
|
|
|
3928
3990
|
var tmp0_elvis_lhs = isInterface(_this__u8e3s4, MatchNamedGroupCollection) ? _this__u8e3s4 : null;
|
|
3929
3991
|
var tmp;
|
|
3930
3992
|
if (tmp0_elvis_lhs == null) {
|
|
3931
|
-
throw UnsupportedOperationException.
|
|
3993
|
+
throw UnsupportedOperationException.y6('Retrieving groups by name is not supported on this platform.');
|
|
3932
3994
|
} else {
|
|
3933
3995
|
tmp = tmp0_elvis_lhs;
|
|
3934
3996
|
}
|
|
3935
3997
|
var namedGroups = tmp;
|
|
3936
|
-
return namedGroups.
|
|
3998
|
+
return namedGroups.z8(name);
|
|
3937
3999
|
}
|
|
3938
4000
|
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
3939
4001
|
var index = startIndex + 1 | 0;
|
|
@@ -3960,24 +4022,24 @@ function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
|
3960
4022
|
return index;
|
|
3961
4023
|
}
|
|
3962
4024
|
function toFlags$lambda(it) {
|
|
3963
|
-
return it.
|
|
4025
|
+
return it.w8_1;
|
|
3964
4026
|
}
|
|
3965
4027
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
3966
|
-
return (it) => this$0.
|
|
4028
|
+
return (it) => this$0.v(it);
|
|
3967
4029
|
}
|
|
3968
4030
|
function hasOwnPrototypeProperty($this, o, name) {
|
|
3969
4031
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3970
4032
|
return Object.prototype.hasOwnProperty.call(o, name);
|
|
3971
4033
|
}
|
|
3972
4034
|
function advanceToNextCharacter($this, index) {
|
|
3973
|
-
if (index < get_lastIndex_0($this.
|
|
4035
|
+
if (index < get_lastIndex_0($this.i9_1)) {
|
|
3974
4036
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3975
4037
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3976
|
-
var code1 = $this.
|
|
4038
|
+
var code1 = $this.i9_1.charCodeAt(index);
|
|
3977
4039
|
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
3978
4040
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3979
4041
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3980
|
-
var code2 = $this.
|
|
4042
|
+
var code2 = $this.i9_1.charCodeAt(index + 1 | 0);
|
|
3981
4043
|
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
3982
4044
|
return index + 2 | 0;
|
|
3983
4045
|
}
|
|
@@ -4067,7 +4129,7 @@ function repeat(_this__u8e3s4, n) {
|
|
|
4067
4129
|
// Inline function 'kotlin.require' call
|
|
4068
4130
|
if (!(n >= 0)) {
|
|
4069
4131
|
var message = "Count 'n' must be non-negative, but was " + n + '.';
|
|
4070
|
-
throw IllegalArgumentException.
|
|
4132
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
4071
4133
|
}
|
|
4072
4134
|
var tmp;
|
|
4073
4135
|
switch (n) {
|
|
@@ -4102,9 +4164,9 @@ function repeat(_this__u8e3s4, n) {
|
|
|
4102
4164
|
}
|
|
4103
4165
|
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
4104
4166
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
4105
|
-
var tmp2 = new RegExp(Companion_getInstance_3().
|
|
4167
|
+
var tmp2 = new RegExp(Companion_getInstance_3().c8(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
4106
4168
|
// Inline function 'kotlin.text.nativeReplace' call
|
|
4107
|
-
var replacement = Companion_getInstance_3().
|
|
4169
|
+
var replacement = Companion_getInstance_3().d8(newValue);
|
|
4108
4170
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4109
4171
|
return _this__u8e3s4.replace(tmp2, replacement);
|
|
4110
4172
|
}
|
|
@@ -4142,43 +4204,40 @@ function Companion_getInstance_5() {
|
|
|
4142
4204
|
return Companion_instance_5;
|
|
4143
4205
|
}
|
|
4144
4206
|
function collectionToArrayCommonImpl(collection) {
|
|
4145
|
-
if (collection.
|
|
4207
|
+
if (collection.d1()) {
|
|
4146
4208
|
// Inline function 'kotlin.emptyArray' call
|
|
4147
4209
|
return [];
|
|
4148
4210
|
}
|
|
4149
4211
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4150
|
-
var size = collection.
|
|
4212
|
+
var size = collection.u();
|
|
4151
4213
|
var destination = Array(size);
|
|
4152
|
-
var iterator = collection.
|
|
4214
|
+
var iterator = collection.r();
|
|
4153
4215
|
var index = 0;
|
|
4154
|
-
while (iterator.
|
|
4216
|
+
while (iterator.s()) {
|
|
4155
4217
|
var _unary__edvuaz = index;
|
|
4156
4218
|
index = _unary__edvuaz + 1 | 0;
|
|
4157
|
-
destination[_unary__edvuaz] = iterator.
|
|
4219
|
+
destination[_unary__edvuaz] = iterator.t();
|
|
4158
4220
|
}
|
|
4159
4221
|
return destination;
|
|
4160
4222
|
}
|
|
4161
|
-
function get_lastIndex(_this__u8e3s4) {
|
|
4162
|
-
return _this__u8e3s4.t() - 1 | 0;
|
|
4163
|
-
}
|
|
4164
|
-
function get_indices(_this__u8e3s4) {
|
|
4165
|
-
return numberRangeToNumber(0, _this__u8e3s4.t() - 1 | 0);
|
|
4166
|
-
}
|
|
4167
4223
|
function emptyList() {
|
|
4168
4224
|
return EmptyList_getInstance();
|
|
4169
4225
|
}
|
|
4226
|
+
function get_lastIndex(_this__u8e3s4) {
|
|
4227
|
+
return _this__u8e3s4.u() - 1 | 0;
|
|
4228
|
+
}
|
|
4170
4229
|
function optimizeReadOnlyList(_this__u8e3s4) {
|
|
4171
|
-
switch (_this__u8e3s4.
|
|
4230
|
+
switch (_this__u8e3s4.u()) {
|
|
4172
4231
|
case 0:
|
|
4173
4232
|
return emptyList();
|
|
4174
4233
|
case 1:
|
|
4175
|
-
return listOf(_this__u8e3s4.
|
|
4234
|
+
return listOf(_this__u8e3s4.v(0));
|
|
4176
4235
|
default:
|
|
4177
4236
|
return _this__u8e3s4;
|
|
4178
4237
|
}
|
|
4179
4238
|
}
|
|
4180
4239
|
function throwIndexOverflow() {
|
|
4181
|
-
throw ArithmeticException.
|
|
4240
|
+
throw ArithmeticException.j7('Index overflow has happened.');
|
|
4182
4241
|
}
|
|
4183
4242
|
var EmptyList_instance;
|
|
4184
4243
|
function EmptyList_getInstance() {
|
|
@@ -4190,30 +4249,50 @@ var EmptyIterator_instance;
|
|
|
4190
4249
|
function EmptyIterator_getInstance() {
|
|
4191
4250
|
return EmptyIterator_instance;
|
|
4192
4251
|
}
|
|
4252
|
+
function get_indices(_this__u8e3s4) {
|
|
4253
|
+
return numberRangeToNumber(0, _this__u8e3s4.u() - 1 | 0);
|
|
4254
|
+
}
|
|
4193
4255
|
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
4194
4256
|
var tmp;
|
|
4195
4257
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
4196
|
-
tmp = _this__u8e3s4.
|
|
4258
|
+
tmp = _this__u8e3s4.u();
|
|
4197
4259
|
} else {
|
|
4198
4260
|
tmp = default_0;
|
|
4199
4261
|
}
|
|
4200
4262
|
return tmp;
|
|
4201
4263
|
}
|
|
4264
|
+
function addAll(_this__u8e3s4, elements) {
|
|
4265
|
+
if (isInterface(elements, Collection))
|
|
4266
|
+
return _this__u8e3s4.e3(elements);
|
|
4267
|
+
else {
|
|
4268
|
+
var result = false;
|
|
4269
|
+
var _iterator__ex2g4s = elements.r();
|
|
4270
|
+
while (_iterator__ex2g4s.s()) {
|
|
4271
|
+
var item = _iterator__ex2g4s.t();
|
|
4272
|
+
if (_this__u8e3s4.n(item))
|
|
4273
|
+
result = true;
|
|
4274
|
+
}
|
|
4275
|
+
return result;
|
|
4276
|
+
}
|
|
4277
|
+
}
|
|
4278
|
+
function setOf_0(elements) {
|
|
4279
|
+
return toSet(elements);
|
|
4280
|
+
}
|
|
4202
4281
|
function emptySet() {
|
|
4203
4282
|
return EmptySet_getInstance();
|
|
4204
4283
|
}
|
|
4205
4284
|
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
4206
|
-
switch (_this__u8e3s4.
|
|
4285
|
+
switch (_this__u8e3s4.u()) {
|
|
4207
4286
|
case 0:
|
|
4208
4287
|
return emptySet();
|
|
4209
4288
|
case 1:
|
|
4210
|
-
return setOf(_this__u8e3s4.
|
|
4289
|
+
return setOf(_this__u8e3s4.r().t());
|
|
4211
4290
|
default:
|
|
4212
4291
|
return _this__u8e3s4;
|
|
4213
4292
|
}
|
|
4214
4293
|
}
|
|
4215
4294
|
function hashSetOf(elements) {
|
|
4216
|
-
return toCollection(elements, HashSet.
|
|
4295
|
+
return toCollection(elements, HashSet.b5(mapCapacity(elements.length)));
|
|
4217
4296
|
}
|
|
4218
4297
|
var EmptySet_instance;
|
|
4219
4298
|
function EmptySet_getInstance() {
|
|
@@ -4228,7 +4307,7 @@ function getProgressionLastElement(start, end, step) {
|
|
|
4228
4307
|
} else if (step < 0) {
|
|
4229
4308
|
tmp = start <= end ? end : end + differenceModulo(start, end, -step | 0) | 0;
|
|
4230
4309
|
} else {
|
|
4231
|
-
throw IllegalArgumentException.
|
|
4310
|
+
throw IllegalArgumentException.m('Step is zero.');
|
|
4232
4311
|
}
|
|
4233
4312
|
return tmp;
|
|
4234
4313
|
}
|
|
@@ -4242,20 +4321,20 @@ function mod(a, b) {
|
|
|
4242
4321
|
var Default_instance;
|
|
4243
4322
|
function Default_getInstance() {
|
|
4244
4323
|
if (Default_instance === VOID)
|
|
4245
|
-
Default.
|
|
4324
|
+
Default.ja();
|
|
4246
4325
|
return Default_instance;
|
|
4247
4326
|
}
|
|
4248
4327
|
function Random_0(seed) {
|
|
4249
|
-
return XorWowRandom.
|
|
4328
|
+
return XorWowRandom.ta(seed, seed >> 31);
|
|
4250
4329
|
}
|
|
4251
4330
|
function takeUpperBits(_this__u8e3s4, bitCount) {
|
|
4252
4331
|
return (_this__u8e3s4 >>> (32 - bitCount | 0) | 0) & (-bitCount | 0) >> 31;
|
|
4253
4332
|
}
|
|
4254
4333
|
function checkInvariants($this) {
|
|
4255
4334
|
// Inline function 'kotlin.require' call
|
|
4256
|
-
if (!!(($this.
|
|
4335
|
+
if (!!(($this.na_1 | $this.oa_1 | $this.pa_1 | $this.qa_1 | $this.ra_1) === 0)) {
|
|
4257
4336
|
var message = 'Initial state must have at least one non-zero element.';
|
|
4258
|
-
throw IllegalArgumentException.
|
|
4337
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
4259
4338
|
}
|
|
4260
4339
|
}
|
|
4261
4340
|
var Companion_instance_6;
|
|
@@ -4276,15 +4355,15 @@ function Companion_getInstance_8() {
|
|
|
4276
4355
|
}
|
|
4277
4356
|
function appendElement(_this__u8e3s4, element, transform) {
|
|
4278
4357
|
if (!(transform == null))
|
|
4279
|
-
_this__u8e3s4.
|
|
4358
|
+
_this__u8e3s4.q(transform(element));
|
|
4280
4359
|
else {
|
|
4281
4360
|
if (element == null ? true : isCharSequence(element))
|
|
4282
|
-
_this__u8e3s4.
|
|
4361
|
+
_this__u8e3s4.q(element);
|
|
4283
4362
|
else {
|
|
4284
4363
|
if (element instanceof Char)
|
|
4285
|
-
_this__u8e3s4.
|
|
4364
|
+
_this__u8e3s4.p6(element.db_1);
|
|
4286
4365
|
else {
|
|
4287
|
-
_this__u8e3s4.
|
|
4366
|
+
_this__u8e3s4.q(toString_1(element));
|
|
4288
4367
|
}
|
|
4289
4368
|
}
|
|
4290
4369
|
}
|
|
@@ -4324,38 +4403,38 @@ function replaceIndent(_this__u8e3s4, newIndent) {
|
|
|
4324
4403
|
var lines_0 = lines(_this__u8e3s4);
|
|
4325
4404
|
// Inline function 'kotlin.collections.filter' call
|
|
4326
4405
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4327
|
-
var destination = ArrayList.
|
|
4328
|
-
var _iterator__ex2g4s = lines_0.
|
|
4329
|
-
while (_iterator__ex2g4s.
|
|
4330
|
-
var element = _iterator__ex2g4s.
|
|
4406
|
+
var destination = ArrayList.z();
|
|
4407
|
+
var _iterator__ex2g4s = lines_0.r();
|
|
4408
|
+
while (_iterator__ex2g4s.s()) {
|
|
4409
|
+
var element = _iterator__ex2g4s.t();
|
|
4331
4410
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
4332
4411
|
if (!isBlank(element)) {
|
|
4333
|
-
destination.
|
|
4412
|
+
destination.n(element);
|
|
4334
4413
|
}
|
|
4335
4414
|
}
|
|
4336
4415
|
// Inline function 'kotlin.collections.map' call
|
|
4337
4416
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4338
|
-
var destination_0 = ArrayList.
|
|
4339
|
-
var _iterator__ex2g4s_0 = destination.
|
|
4340
|
-
while (_iterator__ex2g4s_0.
|
|
4341
|
-
var item = _iterator__ex2g4s_0.
|
|
4417
|
+
var destination_0 = ArrayList.a1(collectionSizeOrDefault(destination, 10));
|
|
4418
|
+
var _iterator__ex2g4s_0 = destination.r();
|
|
4419
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
4420
|
+
var item = _iterator__ex2g4s_0.t();
|
|
4342
4421
|
var tmp$ret$6 = indentWidth(item);
|
|
4343
|
-
destination_0.
|
|
4422
|
+
destination_0.n(tmp$ret$6);
|
|
4344
4423
|
}
|
|
4345
4424
|
var tmp0_elvis_lhs = minOrNull(destination_0);
|
|
4346
4425
|
var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
4347
|
-
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.
|
|
4426
|
+
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.u()) | 0;
|
|
4348
4427
|
// Inline function 'kotlin.text.reindent' call
|
|
4349
4428
|
var indentAddFunction = getIndentFunction(newIndent);
|
|
4350
4429
|
var lastIndex = get_lastIndex(lines_0);
|
|
4351
4430
|
// Inline function 'kotlin.collections.mapIndexedNotNull' call
|
|
4352
4431
|
// Inline function 'kotlin.collections.mapIndexedNotNullTo' call
|
|
4353
|
-
var destination_1 = ArrayList.
|
|
4432
|
+
var destination_1 = ArrayList.z();
|
|
4354
4433
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
4355
4434
|
var index = 0;
|
|
4356
|
-
var _iterator__ex2g4s_1 = lines_0.
|
|
4357
|
-
while (_iterator__ex2g4s_1.
|
|
4358
|
-
var item_0 = _iterator__ex2g4s_1.
|
|
4435
|
+
var _iterator__ex2g4s_1 = lines_0.r();
|
|
4436
|
+
while (_iterator__ex2g4s_1.s()) {
|
|
4437
|
+
var item_0 = _iterator__ex2g4s_1.t();
|
|
4359
4438
|
var _unary__edvuaz = index;
|
|
4360
4439
|
index = _unary__edvuaz + 1 | 0;
|
|
4361
4440
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
@@ -4379,10 +4458,10 @@ function replaceIndent(_this__u8e3s4, newIndent) {
|
|
|
4379
4458
|
null;
|
|
4380
4459
|
else {
|
|
4381
4460
|
// Inline function 'kotlin.let' call
|
|
4382
|
-
destination_1.
|
|
4461
|
+
destination_1.n(tmp0_safe_receiver_0);
|
|
4383
4462
|
}
|
|
4384
4463
|
}
|
|
4385
|
-
return joinTo_0(destination_1, StringBuilder.
|
|
4464
|
+
return joinTo_0(destination_1, StringBuilder.t6(tmp2), '\n').toString();
|
|
4386
4465
|
}
|
|
4387
4466
|
function indentWidth(_this__u8e3s4) {
|
|
4388
4467
|
var tmp$ret$0;
|
|
@@ -4482,7 +4561,7 @@ function toIntOrNull_0(_this__u8e3s4, radix) {
|
|
|
4482
4561
|
return isNegative ? result : -result | 0;
|
|
4483
4562
|
}
|
|
4484
4563
|
function numberFormatError(input) {
|
|
4485
|
-
throw NumberFormatException.
|
|
4564
|
+
throw NumberFormatException.p7("Invalid number format: '" + input + "'");
|
|
4486
4565
|
}
|
|
4487
4566
|
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
4488
4567
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -4497,12 +4576,12 @@ function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
|
4497
4576
|
// Inline function 'kotlin.collections.map' call
|
|
4498
4577
|
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
4499
4578
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4500
|
-
var destination = ArrayList.
|
|
4501
|
-
var _iterator__ex2g4s = this_0.
|
|
4502
|
-
while (_iterator__ex2g4s.
|
|
4503
|
-
var item = _iterator__ex2g4s.
|
|
4579
|
+
var destination = ArrayList.a1(collectionSizeOrDefault(this_0, 10));
|
|
4580
|
+
var _iterator__ex2g4s = this_0.r();
|
|
4581
|
+
while (_iterator__ex2g4s.s()) {
|
|
4582
|
+
var item = _iterator__ex2g4s.t();
|
|
4504
4583
|
var tmp$ret$3 = substring_1(_this__u8e3s4, item);
|
|
4505
|
-
destination.
|
|
4584
|
+
destination.n(tmp$ret$3);
|
|
4506
4585
|
}
|
|
4507
4586
|
return destination;
|
|
4508
4587
|
}
|
|
@@ -4611,15 +4690,15 @@ function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
|
4611
4690
|
return listOf(toString_1(_this__u8e3s4));
|
|
4612
4691
|
}
|
|
4613
4692
|
var isLimited = limit > 0;
|
|
4614
|
-
var result = ArrayList.
|
|
4693
|
+
var result = ArrayList.a1(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
4615
4694
|
$l$loop: do {
|
|
4616
4695
|
var tmp2 = currentOffset;
|
|
4617
4696
|
// Inline function 'kotlin.text.substring' call
|
|
4618
4697
|
var endIndex = nextIndex;
|
|
4619
4698
|
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
|
|
4620
|
-
result.
|
|
4699
|
+
result.n(tmp$ret$0);
|
|
4621
4700
|
currentOffset = nextIndex + delimiter.length | 0;
|
|
4622
|
-
if (isLimited && result.
|
|
4701
|
+
if (isLimited && result.u() === (limit - 1 | 0))
|
|
4623
4702
|
break $l$loop;
|
|
4624
4703
|
nextIndex = indexOf_1(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
4625
4704
|
}
|
|
@@ -4628,7 +4707,7 @@ function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
|
4628
4707
|
// Inline function 'kotlin.text.substring' call
|
|
4629
4708
|
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
4630
4709
|
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2_0, endIndex_0));
|
|
4631
|
-
result.
|
|
4710
|
+
result.n(tmp$ret$1);
|
|
4632
4711
|
return result;
|
|
4633
4712
|
}
|
|
4634
4713
|
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
@@ -4640,7 +4719,7 @@ function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, li
|
|
|
4640
4719
|
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
4641
4720
|
}
|
|
4642
4721
|
function substring_1(_this__u8e3s4, range) {
|
|
4643
|
-
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.
|
|
4722
|
+
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.s8(), range.t8() + 1 | 0));
|
|
4644
4723
|
}
|
|
4645
4724
|
function trim(_this__u8e3s4) {
|
|
4646
4725
|
// Inline function 'kotlin.text.trim' call
|
|
@@ -4808,9 +4887,9 @@ function indexOf_2(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last)
|
|
|
4808
4887
|
tmp = false;
|
|
4809
4888
|
}
|
|
4810
4889
|
if (tmp) {
|
|
4811
|
-
var inductionVariable = indices.
|
|
4812
|
-
var last_0 = indices.
|
|
4813
|
-
var step = indices.
|
|
4890
|
+
var inductionVariable = indices.wa_1;
|
|
4891
|
+
var last_0 = indices.xa_1;
|
|
4892
|
+
var step = indices.ya_1;
|
|
4814
4893
|
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
4815
4894
|
do {
|
|
4816
4895
|
var index = inductionVariable;
|
|
@@ -4820,9 +4899,9 @@ function indexOf_2(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last)
|
|
|
4820
4899
|
}
|
|
4821
4900
|
while (!(index === last_0));
|
|
4822
4901
|
} else {
|
|
4823
|
-
var inductionVariable_0 = indices.
|
|
4824
|
-
var last_1 = indices.
|
|
4825
|
-
var step_0 = indices.
|
|
4902
|
+
var inductionVariable_0 = indices.wa_1;
|
|
4903
|
+
var last_1 = indices.xa_1;
|
|
4904
|
+
var step_0 = indices.ya_1;
|
|
4826
4905
|
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
4827
4906
|
do {
|
|
4828
4907
|
var index_0 = inductionVariable_0;
|
|
@@ -4882,58 +4961,58 @@ function requireNonNegativeLimit(limit) {
|
|
|
4882
4961
|
// Inline function 'kotlin.require' call
|
|
4883
4962
|
if (!(limit >= 0)) {
|
|
4884
4963
|
var message = 'Limit must be non-negative, but was ' + limit;
|
|
4885
|
-
throw IllegalArgumentException.
|
|
4964
|
+
throw IllegalArgumentException.m(toString_1(message));
|
|
4886
4965
|
}
|
|
4887
4966
|
return Unit_instance;
|
|
4888
4967
|
}
|
|
4889
4968
|
function calcNext($this) {
|
|
4890
|
-
if ($this.
|
|
4891
|
-
$this.
|
|
4892
|
-
$this.
|
|
4969
|
+
if ($this.gb_1 < 0) {
|
|
4970
|
+
$this.eb_1 = 0;
|
|
4971
|
+
$this.hb_1 = null;
|
|
4893
4972
|
} else {
|
|
4894
4973
|
var tmp;
|
|
4895
4974
|
var tmp_0;
|
|
4896
|
-
if ($this.
|
|
4897
|
-
$this.
|
|
4898
|
-
tmp_0 = $this.
|
|
4975
|
+
if ($this.jb_1.mb_1 > 0) {
|
|
4976
|
+
$this.ib_1 = $this.ib_1 + 1 | 0;
|
|
4977
|
+
tmp_0 = $this.ib_1 >= $this.jb_1.mb_1;
|
|
4899
4978
|
} else {
|
|
4900
4979
|
tmp_0 = false;
|
|
4901
4980
|
}
|
|
4902
4981
|
if (tmp_0) {
|
|
4903
4982
|
tmp = true;
|
|
4904
4983
|
} else {
|
|
4905
|
-
tmp = $this.
|
|
4984
|
+
tmp = $this.gb_1 > charSequenceLength($this.jb_1.kb_1);
|
|
4906
4985
|
}
|
|
4907
4986
|
if (tmp) {
|
|
4908
|
-
$this.
|
|
4909
|
-
$this.
|
|
4987
|
+
$this.hb_1 = numberRangeToNumber($this.fb_1, get_lastIndex_0($this.jb_1.kb_1));
|
|
4988
|
+
$this.gb_1 = -1;
|
|
4910
4989
|
} else {
|
|
4911
|
-
var match = $this.
|
|
4990
|
+
var match = $this.jb_1.nb_1($this.jb_1.kb_1, $this.gb_1);
|
|
4912
4991
|
if (match == null) {
|
|
4913
|
-
$this.
|
|
4914
|
-
$this.
|
|
4992
|
+
$this.hb_1 = numberRangeToNumber($this.fb_1, get_lastIndex_0($this.jb_1.kb_1));
|
|
4993
|
+
$this.gb_1 = -1;
|
|
4915
4994
|
} else {
|
|
4916
|
-
var index = match.
|
|
4917
|
-
var length = match.
|
|
4918
|
-
$this.
|
|
4919
|
-
$this.
|
|
4920
|
-
$this.
|
|
4995
|
+
var index = match.ob();
|
|
4996
|
+
var length = match.pb();
|
|
4997
|
+
$this.hb_1 = until($this.fb_1, index);
|
|
4998
|
+
$this.fb_1 = index + length | 0;
|
|
4999
|
+
$this.gb_1 = $this.fb_1 + (length === 0 ? 1 : 0) | 0;
|
|
4921
5000
|
}
|
|
4922
5001
|
}
|
|
4923
|
-
$this.
|
|
5002
|
+
$this.eb_1 = 1;
|
|
4924
5003
|
}
|
|
4925
5004
|
}
|
|
4926
5005
|
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
4927
|
-
if (!ignoreCase && strings.
|
|
5006
|
+
if (!ignoreCase && strings.u() === 1) {
|
|
4928
5007
|
var string = single_1(strings);
|
|
4929
5008
|
var index = !last ? indexOf_1(_this__u8e3s4, string, startIndex) : lastIndexOf_0(_this__u8e3s4, string, startIndex);
|
|
4930
5009
|
return index < 0 ? null : to(index, string);
|
|
4931
5010
|
}
|
|
4932
5011
|
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_0(_this__u8e3s4)), 0);
|
|
4933
5012
|
if (typeof _this__u8e3s4 === 'string') {
|
|
4934
|
-
var inductionVariable = indices.
|
|
4935
|
-
var last_0 = indices.
|
|
4936
|
-
var step = indices.
|
|
5013
|
+
var inductionVariable = indices.wa_1;
|
|
5014
|
+
var last_0 = indices.xa_1;
|
|
5015
|
+
var step = indices.ya_1;
|
|
4937
5016
|
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
|
|
4938
5017
|
do {
|
|
4939
5018
|
var index_0 = inductionVariable;
|
|
@@ -4941,9 +5020,9 @@ function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
|
4941
5020
|
var tmp$ret$0;
|
|
4942
5021
|
$l$block: {
|
|
4943
5022
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
4944
|
-
var _iterator__ex2g4s = strings.
|
|
4945
|
-
while (_iterator__ex2g4s.
|
|
4946
|
-
var element = _iterator__ex2g4s.
|
|
5023
|
+
var _iterator__ex2g4s = strings.r();
|
|
5024
|
+
while (_iterator__ex2g4s.s()) {
|
|
5025
|
+
var element = _iterator__ex2g4s.t();
|
|
4947
5026
|
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
|
|
4948
5027
|
tmp$ret$0 = element;
|
|
4949
5028
|
break $l$block;
|
|
@@ -4957,9 +5036,9 @@ function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
|
4957
5036
|
}
|
|
4958
5037
|
while (!(index_0 === last_0));
|
|
4959
5038
|
} else {
|
|
4960
|
-
var inductionVariable_0 = indices.
|
|
4961
|
-
var last_1 = indices.
|
|
4962
|
-
var step_0 = indices.
|
|
5039
|
+
var inductionVariable_0 = indices.wa_1;
|
|
5040
|
+
var last_1 = indices.xa_1;
|
|
5041
|
+
var step_0 = indices.ya_1;
|
|
4963
5042
|
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
|
|
4964
5043
|
do {
|
|
4965
5044
|
var index_1 = inductionVariable_0;
|
|
@@ -4967,9 +5046,9 @@ function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
|
4967
5046
|
var tmp$ret$2;
|
|
4968
5047
|
$l$block_0: {
|
|
4969
5048
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
4970
|
-
var _iterator__ex2g4s_0 = strings.
|
|
4971
|
-
while (_iterator__ex2g4s_0.
|
|
4972
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
5049
|
+
var _iterator__ex2g4s_0 = strings.r();
|
|
5050
|
+
while (_iterator__ex2g4s_0.s()) {
|
|
5051
|
+
var element_0 = _iterator__ex2g4s_0.t();
|
|
4973
5052
|
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
|
|
4974
5053
|
tmp$ret$2 = element_0;
|
|
4975
5054
|
break $l$block_0;
|
|
@@ -5028,7 +5107,7 @@ function contains(_this__u8e3s4, char, ignoreCase) {
|
|
|
5028
5107
|
return indexOf_0(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
5029
5108
|
}
|
|
5030
5109
|
function substring_2(_this__u8e3s4, range) {
|
|
5031
|
-
return substring(_this__u8e3s4, range.
|
|
5110
|
+
return substring(_this__u8e3s4, range.s8(), range.t8() + 1 | 0);
|
|
5032
5111
|
}
|
|
5033
5112
|
function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
|
|
5034
5113
|
return ($this$DelimitedRangesSequence, currentIndex) => {
|
|
@@ -5076,33 +5155,33 @@ initMetadataForInterface(RandomAccess, 'RandomAccess');
|
|
|
5076
5155
|
initMetadataForClass(SubList, 'SubList', VOID, VOID, [RandomAccess]);
|
|
5077
5156
|
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, VOID, [KtSet, Collection]);
|
|
5078
5157
|
initMetadataForCompanion(Companion_1);
|
|
5079
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList.
|
|
5080
|
-
initMetadataForClass(HashSet, 'HashSet', HashSet.
|
|
5158
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList.z, VOID, [KtList, Collection, RandomAccess]);
|
|
5159
|
+
initMetadataForClass(HashSet, 'HashSet', HashSet.n4, VOID, [KtSet, Collection]);
|
|
5081
5160
|
initMetadataForCompanion(Companion_2);
|
|
5082
5161
|
initMetadataForClass(Itr, 'Itr');
|
|
5083
5162
|
initMetadataForClass(KeysItr, 'KeysItr');
|
|
5084
5163
|
initMetadataForClass(EntriesItr, 'EntriesItr');
|
|
5085
5164
|
initMetadataForClass(EntryRef, 'EntryRef', VOID, VOID, [Entry]);
|
|
5086
5165
|
initMetadataForInterface(InternalMap, 'InternalMap');
|
|
5087
|
-
protoOf(InternalHashMap).
|
|
5088
|
-
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap.
|
|
5089
|
-
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet.
|
|
5090
|
-
initMetadataForClass(Exception, 'Exception', Exception.
|
|
5091
|
-
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException.
|
|
5092
|
-
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException.
|
|
5093
|
-
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException.
|
|
5094
|
-
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException.
|
|
5095
|
-
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException.
|
|
5096
|
-
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException.
|
|
5097
|
-
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException.
|
|
5098
|
-
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException.
|
|
5099
|
-
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException.
|
|
5166
|
+
protoOf(InternalHashMap).r5 = containsAllEntries;
|
|
5167
|
+
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap.y4, VOID, [InternalMap]);
|
|
5168
|
+
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet.e1, VOID, [KtSet, Collection]);
|
|
5169
|
+
initMetadataForClass(Exception, 'Exception', Exception.d7);
|
|
5170
|
+
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException.x6);
|
|
5171
|
+
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException.k4);
|
|
5172
|
+
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException.b7);
|
|
5173
|
+
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException.c7);
|
|
5174
|
+
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException.j3);
|
|
5175
|
+
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException.e7);
|
|
5176
|
+
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException.i7);
|
|
5177
|
+
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException.o7);
|
|
5178
|
+
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException.c6);
|
|
5100
5179
|
initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException.o2);
|
|
5101
5180
|
initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException.s2);
|
|
5102
5181
|
initMetadataForClass(KClassImpl, 'KClassImpl');
|
|
5103
5182
|
initMetadataForClass(PrimitiveKClassImpl, 'PrimitiveKClassImpl');
|
|
5104
5183
|
initMetadataForObject(NothingKClassImpl, 'NothingKClassImpl');
|
|
5105
|
-
initMetadataForClass(StringBuilder, 'StringBuilder', StringBuilder.
|
|
5184
|
+
initMetadataForClass(StringBuilder, 'StringBuilder', StringBuilder.p, VOID, [CharSequence]);
|
|
5106
5185
|
initMetadataForCompanion(Companion_3);
|
|
5107
5186
|
initMetadataForClass(Regex, 'Regex');
|
|
5108
5187
|
initMetadataForClass(RegexOption, 'RegexOption');
|
|
@@ -5161,10 +5240,14 @@ export {
|
|
|
5161
5240
|
RegexOption_IGNORE_CASE_getInstance as RegexOption_IGNORE_CASE_getInstance5ovr6gtmcmuu,
|
|
5162
5241
|
RegexOption_MULTILINE_getInstance as RegexOption_MULTILINE_getInstance3caq4fchu5vfw,
|
|
5163
5242
|
ArrayList as ArrayList3it5z8td81qkl,
|
|
5243
|
+
addAll as addAll1k27qatfgp3k5,
|
|
5244
|
+
checkIndexOverflow as checkIndexOverflow3frtmheghr0th,
|
|
5164
5245
|
drop as drop3na99dw9feawf,
|
|
5246
|
+
emptyList as emptyList1g2z5xcrvp2zy,
|
|
5165
5247
|
getOrNull as getOrNull1go7ef9ldk0df,
|
|
5166
5248
|
joinToString_0 as joinToString1cxrrlmo0chqs,
|
|
5167
5249
|
listOf as listOfvhqybd2zx248,
|
|
5250
|
+
setOf_0 as setOf45ia9pnfhe90,
|
|
5168
5251
|
singleOrNull as singleOrNullrknfaxokm1sl,
|
|
5169
5252
|
single_0 as singleo93pzdgfc557,
|
|
5170
5253
|
toList as toList3jhuyej2anx2q,
|