@flock/wirespec 0.22.1 → 0.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/arrow-arrow-core.mjs +11 -5
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1343 -1343
- package/colormath-root-colormath.mjs +437 -437
- package/kotlin-kotlin-stdlib.mjs +249 -243
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10004 -10004
- package/kotlin-rgxgen.mjs +1762 -1762
- package/kotlinx-io-kotlinx-io-core.mjs +404 -404
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1786 -1786
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1514 -1508
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/mordant-mordant.mjs +1231 -1225
- package/mordant-mordant.mjs.map +1 -1
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +4940 -4889
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +180 -180
- package/wirespec-src-compiler-emitters-kotlin.mjs +134 -134
- package/wirespec-src-compiler-emitters-python.mjs +157 -157
- package/wirespec-src-compiler-emitters-rust.mjs +392 -392
- package/wirespec-src-compiler-emitters-scala.mjs +168 -168
- package/wirespec-src-compiler-emitters-typescript.mjs +229 -229
- package/wirespec-src-compiler-emitters-wirespec.mjs +130 -130
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +388 -326
- package/wirespec-src-compiler-lib.mjs.map +1 -1
- package/wirespec-src-converter-asyncapi.mjs +639 -639
- package/wirespec-src-converter-avro.mjs +548 -548
- package/wirespec-src-converter-common.mjs +16 -16
- package/wirespec-src-converter-graphql.mjs +2546 -1342
- package/wirespec-src-converter-graphql.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +593 -593
- package/wirespec-src-ide-lsp.mjs +1371 -1371
- package/wirespec-src-plugin-arguments.mjs +146 -146
- package/wirespec-src-plugin-cli.mjs +89 -89
- package/wirespec-src-plugin-npm.d.mts +21 -3
- package/wirespec-src-plugin-npm.mjs +26 -26
- package/wirespec-src-tools-generator.mjs +24 -24
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,6 +37,11 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
+
if (typeof Math.log2 === 'undefined') {
|
|
41
|
+
Math.log2 = function (x) {
|
|
42
|
+
return Math.log(x) * Math.LOG2E;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
40
45
|
if (typeof Math.clz32 === 'undefined') {
|
|
41
46
|
Math.clz32 = function (log, LN2) {
|
|
42
47
|
return function (x) {
|
|
@@ -48,11 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
48
53
|
};
|
|
49
54
|
}(Math.log, Math.LN2);
|
|
50
55
|
}
|
|
51
|
-
if (typeof Math.log2 === 'undefined') {
|
|
52
|
-
Math.log2 = function (x) {
|
|
53
|
-
return Math.log(x) * Math.LOG2E;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
56
|
if (typeof String.prototype.startsWith === 'undefined') {
|
|
57
57
|
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
58
58
|
position = position || 0;
|
|
@@ -1424,15 +1424,6 @@ function joinToString_1(_this__u8e3s4, separator, prefix, postfix, limit, trunca
|
|
|
1424
1424
|
function filter(_this__u8e3s4, predicate) {
|
|
1425
1425
|
return new FilteringSequence(_this__u8e3s4, true, predicate);
|
|
1426
1426
|
}
|
|
1427
|
-
function plus_2(_this__u8e3s4, elements) {
|
|
1428
|
-
return flatten_1(sequenceOf_0([_this__u8e3s4, elements]));
|
|
1429
|
-
}
|
|
1430
|
-
function mapNotNull(_this__u8e3s4, transform) {
|
|
1431
|
-
return filterNotNull_0(new TransformingSequence(_this__u8e3s4, transform));
|
|
1432
|
-
}
|
|
1433
|
-
function flatMap(_this__u8e3s4, transform) {
|
|
1434
|
-
return new FlatteningSequence(_this__u8e3s4, transform, Iterable$iterator$ref());
|
|
1435
|
-
}
|
|
1436
1427
|
function last_2(_this__u8e3s4) {
|
|
1437
1428
|
var iterator = _this__u8e3s4.t();
|
|
1438
1429
|
if (!iterator.u())
|
|
@@ -1442,6 +1433,15 @@ function last_2(_this__u8e3s4) {
|
|
|
1442
1433
|
last = iterator.v();
|
|
1443
1434
|
return last;
|
|
1444
1435
|
}
|
|
1436
|
+
function plus_2(_this__u8e3s4, elements) {
|
|
1437
|
+
return flatten_1(sequenceOf_0([_this__u8e3s4, elements]));
|
|
1438
|
+
}
|
|
1439
|
+
function mapNotNull(_this__u8e3s4, transform) {
|
|
1440
|
+
return filterNotNull_0(new TransformingSequence(_this__u8e3s4, transform));
|
|
1441
|
+
}
|
|
1442
|
+
function flatMap(_this__u8e3s4, transform) {
|
|
1443
|
+
return new FlatteningSequence(_this__u8e3s4, transform, Iterable$iterator$ref());
|
|
1444
|
+
}
|
|
1445
1445
|
function firstOrNull_0(_this__u8e3s4) {
|
|
1446
1446
|
var iterator = _this__u8e3s4.t();
|
|
1447
1447
|
if (!iterator.u())
|
|
@@ -4122,7 +4122,7 @@ protoOf(AbstractMutableList).j1 = function (element) {
|
|
|
4122
4122
|
protoOf(AbstractMutableList).h1 = function (index) {
|
|
4123
4123
|
return new ListIteratorImpl(this, index);
|
|
4124
4124
|
};
|
|
4125
|
-
protoOf(AbstractMutableList).
|
|
4125
|
+
protoOf(AbstractMutableList).p2 = function (fromIndex, toIndex) {
|
|
4126
4126
|
return new SubList(this, fromIndex, toIndex);
|
|
4127
4127
|
};
|
|
4128
4128
|
protoOf(AbstractMutableList).b5 = function (fromIndex, toIndex) {
|
|
@@ -4748,7 +4748,7 @@ protoOf(HashMapEntrySetBase).y2 = function (element) {
|
|
|
4748
4748
|
return false;
|
|
4749
4749
|
return this.q6((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
|
|
4750
4750
|
};
|
|
4751
|
-
protoOf(HashMapEntrySetBase).
|
|
4751
|
+
protoOf(HashMapEntrySetBase).o2 = function (elements) {
|
|
4752
4752
|
return this.m6_1.t6(elements);
|
|
4753
4753
|
};
|
|
4754
4754
|
protoOf(HashMapEntrySetBase).h4 = function () {
|
|
@@ -7971,7 +7971,7 @@ protoOf(AbstractCollection).i1 = function (element) {
|
|
|
7971
7971
|
}
|
|
7972
7972
|
return tmp$ret$0;
|
|
7973
7973
|
};
|
|
7974
|
-
protoOf(AbstractCollection).
|
|
7974
|
+
protoOf(AbstractCollection).o2 = function (elements) {
|
|
7975
7975
|
var tmp$ret$0;
|
|
7976
7976
|
$l$block_0: {
|
|
7977
7977
|
// Inline function 'kotlin.collections.all' call
|
|
@@ -8065,7 +8065,7 @@ protoOf(SubList_0).c1 = function (index) {
|
|
|
8065
8065
|
protoOf(SubList_0).b1 = function () {
|
|
8066
8066
|
return this.je_1;
|
|
8067
8067
|
};
|
|
8068
|
-
protoOf(SubList_0).
|
|
8068
|
+
protoOf(SubList_0).p2 = function (fromIndex, toIndex) {
|
|
8069
8069
|
Companion_instance_5.z3(fromIndex, toIndex, this.je_1);
|
|
8070
8070
|
return new SubList_0(this.he_1, this.ie_1 + fromIndex | 0, this.ie_1 + toIndex | 0);
|
|
8071
8071
|
};
|
|
@@ -8197,7 +8197,7 @@ protoOf(AbstractList).j1 = function (element) {
|
|
|
8197
8197
|
protoOf(AbstractList).h1 = function (index) {
|
|
8198
8198
|
return new ListIteratorImpl_0(this, index);
|
|
8199
8199
|
};
|
|
8200
|
-
protoOf(AbstractList).
|
|
8200
|
+
protoOf(AbstractList).p2 = function (fromIndex, toIndex) {
|
|
8201
8201
|
return new SubList_0(this, fromIndex, toIndex);
|
|
8202
8202
|
};
|
|
8203
8203
|
protoOf(AbstractList).equals = function (other) {
|
|
@@ -8436,7 +8436,7 @@ protoOf(Companion_7).o5 = function (c) {
|
|
|
8436
8436
|
protoOf(Companion_7).n5 = function (c, other) {
|
|
8437
8437
|
if (!(c.b1() === other.b1()))
|
|
8438
8438
|
return false;
|
|
8439
|
-
return c.
|
|
8439
|
+
return c.o2(other);
|
|
8440
8440
|
};
|
|
8441
8441
|
var Companion_instance_7;
|
|
8442
8442
|
function Companion_getInstance_7() {
|
|
@@ -8551,10 +8551,16 @@ protoOf(EmptyList).i1 = function (element) {
|
|
|
8551
8551
|
}
|
|
8552
8552
|
return this.ue(tmp);
|
|
8553
8553
|
};
|
|
8554
|
+
protoOf(EmptyList).ve = function (elements) {
|
|
8555
|
+
return elements.r();
|
|
8556
|
+
};
|
|
8557
|
+
protoOf(EmptyList).o2 = function (elements) {
|
|
8558
|
+
return this.ve(elements);
|
|
8559
|
+
};
|
|
8554
8560
|
protoOf(EmptyList).c1 = function (index) {
|
|
8555
8561
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
8556
8562
|
};
|
|
8557
|
-
protoOf(EmptyList).
|
|
8563
|
+
protoOf(EmptyList).we = function (element) {
|
|
8558
8564
|
return -1;
|
|
8559
8565
|
};
|
|
8560
8566
|
protoOf(EmptyList).j1 = function (element) {
|
|
@@ -8566,7 +8572,7 @@ protoOf(EmptyList).j1 = function (element) {
|
|
|
8566
8572
|
} else {
|
|
8567
8573
|
tmp = THROW_CCE();
|
|
8568
8574
|
}
|
|
8569
|
-
return this.
|
|
8575
|
+
return this.we(tmp);
|
|
8570
8576
|
};
|
|
8571
8577
|
protoOf(EmptyList).t = function () {
|
|
8572
8578
|
return EmptyIterator_instance;
|
|
@@ -8576,7 +8582,7 @@ protoOf(EmptyList).h1 = function (index) {
|
|
|
8576
8582
|
throw IndexOutOfBoundsException_init_$Create$_0('Index: ' + index);
|
|
8577
8583
|
return EmptyIterator_instance;
|
|
8578
8584
|
};
|
|
8579
|
-
protoOf(EmptyList).
|
|
8585
|
+
protoOf(EmptyList).p2 = function (fromIndex, toIndex) {
|
|
8580
8586
|
if (fromIndex === 0 && toIndex === 0)
|
|
8581
8587
|
return this;
|
|
8582
8588
|
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex);
|
|
@@ -8645,21 +8651,21 @@ function rangeCheck_0(size, fromIndex, toIndex) {
|
|
|
8645
8651
|
throw IndexOutOfBoundsException_init_$Create$_0('toIndex (' + toIndex + ') is greater than size (' + size + ').');
|
|
8646
8652
|
}
|
|
8647
8653
|
function IndexedValue(index, value) {
|
|
8648
|
-
this.
|
|
8649
|
-
this.
|
|
8654
|
+
this.xe_1 = index;
|
|
8655
|
+
this.ye_1 = value;
|
|
8650
8656
|
}
|
|
8651
|
-
protoOf(IndexedValue).ye = function () {
|
|
8652
|
-
return this.we_1;
|
|
8653
|
-
};
|
|
8654
8657
|
protoOf(IndexedValue).ze = function () {
|
|
8655
8658
|
return this.xe_1;
|
|
8656
8659
|
};
|
|
8660
|
+
protoOf(IndexedValue).af = function () {
|
|
8661
|
+
return this.ye_1;
|
|
8662
|
+
};
|
|
8657
8663
|
protoOf(IndexedValue).toString = function () {
|
|
8658
|
-
return 'IndexedValue(index=' + this.
|
|
8664
|
+
return 'IndexedValue(index=' + this.xe_1 + ', value=' + toString_0(this.ye_1) + ')';
|
|
8659
8665
|
};
|
|
8660
8666
|
protoOf(IndexedValue).hashCode = function () {
|
|
8661
|
-
var result = this.
|
|
8662
|
-
result = imul_0(result, 31) + (this.
|
|
8667
|
+
var result = this.xe_1;
|
|
8668
|
+
result = imul_0(result, 31) + (this.ye_1 == null ? 0 : hashCode_0(this.ye_1)) | 0;
|
|
8663
8669
|
return result;
|
|
8664
8670
|
};
|
|
8665
8671
|
protoOf(IndexedValue).equals = function (other) {
|
|
@@ -8667,9 +8673,9 @@ protoOf(IndexedValue).equals = function (other) {
|
|
|
8667
8673
|
return true;
|
|
8668
8674
|
if (!(other instanceof IndexedValue))
|
|
8669
8675
|
return false;
|
|
8670
|
-
if (!(this.
|
|
8676
|
+
if (!(this.xe_1 === other.xe_1))
|
|
8671
8677
|
return false;
|
|
8672
|
-
if (!equals(this.
|
|
8678
|
+
if (!equals(this.ye_1, other.ye_1))
|
|
8673
8679
|
return false;
|
|
8674
8680
|
return true;
|
|
8675
8681
|
};
|
|
@@ -8692,10 +8698,10 @@ function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
|
8692
8698
|
return tmp;
|
|
8693
8699
|
}
|
|
8694
8700
|
function IndexingIterable(iteratorFactory) {
|
|
8695
|
-
this.
|
|
8701
|
+
this.bf_1 = iteratorFactory;
|
|
8696
8702
|
}
|
|
8697
8703
|
protoOf(IndexingIterable).t = function () {
|
|
8698
|
-
return new IndexingIterator(this.
|
|
8704
|
+
return new IndexingIterator(this.bf_1());
|
|
8699
8705
|
};
|
|
8700
8706
|
function collectionSizeOrNull(_this__u8e3s4) {
|
|
8701
8707
|
var tmp;
|
|
@@ -8707,20 +8713,20 @@ function collectionSizeOrNull(_this__u8e3s4) {
|
|
|
8707
8713
|
return tmp;
|
|
8708
8714
|
}
|
|
8709
8715
|
function IndexingIterator(iterator) {
|
|
8710
|
-
this.
|
|
8711
|
-
this.
|
|
8716
|
+
this.cf_1 = iterator;
|
|
8717
|
+
this.df_1 = 0;
|
|
8712
8718
|
}
|
|
8713
8719
|
protoOf(IndexingIterator).u = function () {
|
|
8714
|
-
return this.
|
|
8720
|
+
return this.cf_1.u();
|
|
8715
8721
|
};
|
|
8716
8722
|
protoOf(IndexingIterator).v = function () {
|
|
8717
|
-
var _unary__edvuaz = this.
|
|
8718
|
-
this.
|
|
8719
|
-
return new IndexedValue(checkIndexOverflow(_unary__edvuaz), this.
|
|
8723
|
+
var _unary__edvuaz = this.df_1;
|
|
8724
|
+
this.df_1 = _unary__edvuaz + 1 | 0;
|
|
8725
|
+
return new IndexedValue(checkIndexOverflow(_unary__edvuaz), this.cf_1.v());
|
|
8720
8726
|
};
|
|
8721
8727
|
function getOrImplicitDefault(_this__u8e3s4, key) {
|
|
8722
8728
|
if (isInterface(_this__u8e3s4, MapWithDefault))
|
|
8723
|
-
return _this__u8e3s4.
|
|
8729
|
+
return _this__u8e3s4.ef(key);
|
|
8724
8730
|
var tmp$ret$0;
|
|
8725
8731
|
$l$block_0: {
|
|
8726
8732
|
// Inline function 'kotlin.collections.getOrElseNullable' call
|
|
@@ -8798,7 +8804,7 @@ function plus_7(_this__u8e3s4, pair) {
|
|
|
8798
8804
|
} else {
|
|
8799
8805
|
// Inline function 'kotlin.apply' call
|
|
8800
8806
|
var this_0 = LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
8801
|
-
this_0.v2(pair.
|
|
8807
|
+
this_0.v2(pair.ff_1, pair.gf_1);
|
|
8802
8808
|
tmp = this_0;
|
|
8803
8809
|
}
|
|
8804
8810
|
return tmp;
|
|
@@ -8820,7 +8826,7 @@ function hashMapOf(pairs) {
|
|
|
8820
8826
|
}
|
|
8821
8827
|
function EmptyMap() {
|
|
8822
8828
|
EmptyMap_instance = this;
|
|
8823
|
-
this.
|
|
8829
|
+
this.hf_1 = new Long(-888910638, 1920087921);
|
|
8824
8830
|
}
|
|
8825
8831
|
protoOf(EmptyMap).equals = function (other) {
|
|
8826
8832
|
var tmp;
|
|
@@ -8843,21 +8849,21 @@ protoOf(EmptyMap).b1 = function () {
|
|
|
8843
8849
|
protoOf(EmptyMap).r = function () {
|
|
8844
8850
|
return true;
|
|
8845
8851
|
};
|
|
8846
|
-
protoOf(EmptyMap).
|
|
8852
|
+
protoOf(EmptyMap).if = function (key) {
|
|
8847
8853
|
return false;
|
|
8848
8854
|
};
|
|
8849
8855
|
protoOf(EmptyMap).q2 = function (key) {
|
|
8850
8856
|
if (!true)
|
|
8851
8857
|
return false;
|
|
8852
|
-
return this.
|
|
8858
|
+
return this.if(key);
|
|
8853
8859
|
};
|
|
8854
|
-
protoOf(EmptyMap).
|
|
8860
|
+
protoOf(EmptyMap).jf = function (key) {
|
|
8855
8861
|
return null;
|
|
8856
8862
|
};
|
|
8857
8863
|
protoOf(EmptyMap).s2 = function (key) {
|
|
8858
8864
|
if (!true)
|
|
8859
8865
|
return null;
|
|
8860
|
-
return this.
|
|
8866
|
+
return this.jf(key);
|
|
8861
8867
|
};
|
|
8862
8868
|
protoOf(EmptyMap).m1 = function () {
|
|
8863
8869
|
return EmptySet_getInstance();
|
|
@@ -8907,8 +8913,8 @@ function putAll(_this__u8e3s4, pairs) {
|
|
|
8907
8913
|
while (inductionVariable < last) {
|
|
8908
8914
|
var _destruct__k2r9zo = pairs[inductionVariable];
|
|
8909
8915
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8910
|
-
var key = _destruct__k2r9zo.
|
|
8911
|
-
var value = _destruct__k2r9zo.
|
|
8916
|
+
var key = _destruct__k2r9zo.ze();
|
|
8917
|
+
var value = _destruct__k2r9zo.af();
|
|
8912
8918
|
_this__u8e3s4.v2(key, value);
|
|
8913
8919
|
}
|
|
8914
8920
|
}
|
|
@@ -8916,8 +8922,8 @@ function putAll_0(_this__u8e3s4, pairs) {
|
|
|
8916
8922
|
var _iterator__ex2g4s = pairs.t();
|
|
8917
8923
|
while (_iterator__ex2g4s.u()) {
|
|
8918
8924
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
8919
|
-
var key = _destruct__k2r9zo.
|
|
8920
|
-
var value = _destruct__k2r9zo.
|
|
8925
|
+
var key = _destruct__k2r9zo.ze();
|
|
8926
|
+
var value = _destruct__k2r9zo.af();
|
|
8921
8927
|
_this__u8e3s4.v2(key, value);
|
|
8922
8928
|
}
|
|
8923
8929
|
}
|
|
@@ -9026,15 +9032,15 @@ function filterInPlace_0(_this__u8e3s4, predicate, predicateResultToRemove) {
|
|
|
9026
9032
|
function IntIterator() {
|
|
9027
9033
|
}
|
|
9028
9034
|
protoOf(IntIterator).v = function () {
|
|
9029
|
-
return this.
|
|
9035
|
+
return this.kf();
|
|
9030
9036
|
};
|
|
9031
9037
|
function CharIterator() {
|
|
9032
9038
|
}
|
|
9033
|
-
protoOf(CharIterator).
|
|
9034
|
-
return this.
|
|
9039
|
+
protoOf(CharIterator).lf = function () {
|
|
9040
|
+
return this.mf();
|
|
9035
9041
|
};
|
|
9036
9042
|
protoOf(CharIterator).v = function () {
|
|
9037
|
-
return new Char(this.
|
|
9043
|
+
return new Char(this.lf());
|
|
9038
9044
|
};
|
|
9039
9045
|
function asReversed(_this__u8e3s4) {
|
|
9040
9046
|
return new ReversedList(_this__u8e3s4);
|
|
@@ -9043,57 +9049,57 @@ function asReversed_0(_this__u8e3s4) {
|
|
|
9043
9049
|
return new ReversedListReadOnly(_this__u8e3s4);
|
|
9044
9050
|
}
|
|
9045
9051
|
function ReversedList$listIterator$1(this$0, $index) {
|
|
9046
|
-
this.
|
|
9047
|
-
this.
|
|
9052
|
+
this.of_1 = this$0;
|
|
9053
|
+
this.nf_1 = this$0.qf_1.h1(reversePositionIndex(this$0, $index));
|
|
9048
9054
|
}
|
|
9049
9055
|
protoOf(ReversedList$listIterator$1).u = function () {
|
|
9050
|
-
return this.
|
|
9056
|
+
return this.nf_1.s4();
|
|
9051
9057
|
};
|
|
9052
9058
|
protoOf(ReversedList$listIterator$1).s4 = function () {
|
|
9053
|
-
return this.
|
|
9059
|
+
return this.nf_1.u();
|
|
9054
9060
|
};
|
|
9055
9061
|
protoOf(ReversedList$listIterator$1).v = function () {
|
|
9056
|
-
return this.
|
|
9062
|
+
return this.nf_1.u4();
|
|
9057
9063
|
};
|
|
9058
9064
|
protoOf(ReversedList$listIterator$1).t4 = function () {
|
|
9059
|
-
return reverseIteratorIndex(this.
|
|
9065
|
+
return reverseIteratorIndex(this.of_1, this.nf_1.v4());
|
|
9060
9066
|
};
|
|
9061
9067
|
protoOf(ReversedList$listIterator$1).u4 = function () {
|
|
9062
|
-
return this.
|
|
9068
|
+
return this.nf_1.v();
|
|
9063
9069
|
};
|
|
9064
9070
|
protoOf(ReversedList$listIterator$1).v4 = function () {
|
|
9065
|
-
return reverseIteratorIndex(this.
|
|
9071
|
+
return reverseIteratorIndex(this.of_1, this.nf_1.t4());
|
|
9066
9072
|
};
|
|
9067
9073
|
protoOf(ReversedList$listIterator$1).i4 = function () {
|
|
9068
|
-
return this.
|
|
9074
|
+
return this.nf_1.i4();
|
|
9069
9075
|
};
|
|
9070
9076
|
function ReversedList(delegate) {
|
|
9071
9077
|
AbstractMutableList.call(this);
|
|
9072
|
-
this.
|
|
9078
|
+
this.qf_1 = delegate;
|
|
9073
9079
|
}
|
|
9074
9080
|
protoOf(ReversedList).b1 = function () {
|
|
9075
|
-
return this.
|
|
9081
|
+
return this.qf_1.b1();
|
|
9076
9082
|
};
|
|
9077
9083
|
protoOf(ReversedList).c1 = function (index) {
|
|
9078
|
-
return this.
|
|
9084
|
+
return this.qf_1.c1(reverseElementIndex(this, index));
|
|
9079
9085
|
};
|
|
9080
9086
|
protoOf(ReversedList).z2 = function () {
|
|
9081
|
-
return this.
|
|
9087
|
+
return this.qf_1.z2();
|
|
9082
9088
|
};
|
|
9083
9089
|
protoOf(ReversedList).c3 = function (index) {
|
|
9084
|
-
return this.
|
|
9090
|
+
return this.qf_1.c3(reverseElementIndex(this, index));
|
|
9085
9091
|
};
|
|
9086
|
-
protoOf(ReversedList).
|
|
9087
|
-
return this.
|
|
9092
|
+
protoOf(ReversedList).rf = function (index, element) {
|
|
9093
|
+
return this.qf_1.a3(reverseElementIndex(this, index), element);
|
|
9088
9094
|
};
|
|
9089
9095
|
protoOf(ReversedList).a3 = function (index, element) {
|
|
9090
|
-
return this.
|
|
9096
|
+
return this.rf(index, element);
|
|
9091
9097
|
};
|
|
9092
|
-
protoOf(ReversedList).
|
|
9093
|
-
this.
|
|
9098
|
+
protoOf(ReversedList).sf = function (index, element) {
|
|
9099
|
+
this.qf_1.b3(reversePositionIndex(this, index), element);
|
|
9094
9100
|
};
|
|
9095
9101
|
protoOf(ReversedList).b3 = function (index, element) {
|
|
9096
|
-
return this.
|
|
9102
|
+
return this.sf(index, element);
|
|
9097
9103
|
};
|
|
9098
9104
|
protoOf(ReversedList).t = function () {
|
|
9099
9105
|
return this.h1(0);
|
|
@@ -9102,36 +9108,36 @@ protoOf(ReversedList).h1 = function (index) {
|
|
|
9102
9108
|
return new ReversedList$listIterator$1(this, index);
|
|
9103
9109
|
};
|
|
9104
9110
|
function ReversedListReadOnly$listIterator$1(this$0, $index) {
|
|
9105
|
-
this.
|
|
9106
|
-
this.
|
|
9111
|
+
this.uf_1 = this$0;
|
|
9112
|
+
this.tf_1 = this$0.vf_1.h1(reversePositionIndex(this$0, $index));
|
|
9107
9113
|
}
|
|
9108
9114
|
protoOf(ReversedListReadOnly$listIterator$1).u = function () {
|
|
9109
|
-
return this.
|
|
9115
|
+
return this.tf_1.s4();
|
|
9110
9116
|
};
|
|
9111
9117
|
protoOf(ReversedListReadOnly$listIterator$1).s4 = function () {
|
|
9112
|
-
return this.
|
|
9118
|
+
return this.tf_1.u();
|
|
9113
9119
|
};
|
|
9114
9120
|
protoOf(ReversedListReadOnly$listIterator$1).v = function () {
|
|
9115
|
-
return this.
|
|
9121
|
+
return this.tf_1.u4();
|
|
9116
9122
|
};
|
|
9117
9123
|
protoOf(ReversedListReadOnly$listIterator$1).t4 = function () {
|
|
9118
|
-
return reverseIteratorIndex(this.
|
|
9124
|
+
return reverseIteratorIndex(this.uf_1, this.tf_1.v4());
|
|
9119
9125
|
};
|
|
9120
9126
|
protoOf(ReversedListReadOnly$listIterator$1).u4 = function () {
|
|
9121
|
-
return this.
|
|
9127
|
+
return this.tf_1.v();
|
|
9122
9128
|
};
|
|
9123
9129
|
protoOf(ReversedListReadOnly$listIterator$1).v4 = function () {
|
|
9124
|
-
return reverseIteratorIndex(this.
|
|
9130
|
+
return reverseIteratorIndex(this.uf_1, this.tf_1.t4());
|
|
9125
9131
|
};
|
|
9126
9132
|
function ReversedListReadOnly(delegate) {
|
|
9127
9133
|
AbstractList.call(this);
|
|
9128
|
-
this.
|
|
9134
|
+
this.vf_1 = delegate;
|
|
9129
9135
|
}
|
|
9130
9136
|
protoOf(ReversedListReadOnly).b1 = function () {
|
|
9131
|
-
return this.
|
|
9137
|
+
return this.vf_1.b1();
|
|
9132
9138
|
};
|
|
9133
9139
|
protoOf(ReversedListReadOnly).c1 = function (index) {
|
|
9134
|
-
return this.
|
|
9140
|
+
return this.vf_1.c1(reverseElementIndex(this, index));
|
|
9135
9141
|
};
|
|
9136
9142
|
protoOf(ReversedListReadOnly).t = function () {
|
|
9137
9143
|
return this.h1(0);
|
|
@@ -9168,12 +9174,12 @@ function sequence(block) {
|
|
|
9168
9174
|
}
|
|
9169
9175
|
function SequenceScope() {
|
|
9170
9176
|
}
|
|
9171
|
-
protoOf(SequenceScope).
|
|
9172
|
-
return this.
|
|
9177
|
+
protoOf(SequenceScope).yf = function (sequence, $completion) {
|
|
9178
|
+
return this.xf(sequence.t(), $completion);
|
|
9173
9179
|
};
|
|
9174
9180
|
function iterator(block) {
|
|
9175
9181
|
var iterator = new SequenceBuilderIterator();
|
|
9176
|
-
iterator.
|
|
9182
|
+
iterator.cg_1 = createCoroutineUnintercepted(block, iterator, iterator);
|
|
9177
9183
|
return iterator;
|
|
9178
9184
|
}
|
|
9179
9185
|
function nextNotReady($this) {
|
|
@@ -9183,33 +9189,33 @@ function nextNotReady($this) {
|
|
|
9183
9189
|
return $this.v();
|
|
9184
9190
|
}
|
|
9185
9191
|
function exceptionalState($this) {
|
|
9186
|
-
switch ($this.
|
|
9192
|
+
switch ($this.zf_1) {
|
|
9187
9193
|
case 4:
|
|
9188
9194
|
return NoSuchElementException_init_$Create$();
|
|
9189
9195
|
case 5:
|
|
9190
9196
|
return IllegalStateException_init_$Create$_0('Iterator has failed.');
|
|
9191
9197
|
default:
|
|
9192
|
-
return IllegalStateException_init_$Create$_0('Unexpected state of the iterator: ' + $this.
|
|
9198
|
+
return IllegalStateException_init_$Create$_0('Unexpected state of the iterator: ' + $this.zf_1);
|
|
9193
9199
|
}
|
|
9194
9200
|
}
|
|
9195
9201
|
function SequenceBuilderIterator() {
|
|
9196
9202
|
SequenceScope.call(this);
|
|
9197
|
-
this.
|
|
9198
|
-
this.zf_1 = null;
|
|
9203
|
+
this.zf_1 = 0;
|
|
9199
9204
|
this.ag_1 = null;
|
|
9200
9205
|
this.bg_1 = null;
|
|
9206
|
+
this.cg_1 = null;
|
|
9201
9207
|
}
|
|
9202
9208
|
protoOf(SequenceBuilderIterator).u = function () {
|
|
9203
9209
|
while (true) {
|
|
9204
|
-
switch (this.
|
|
9210
|
+
switch (this.zf_1) {
|
|
9205
9211
|
case 0:
|
|
9206
9212
|
break;
|
|
9207
9213
|
case 1:
|
|
9208
|
-
if (ensureNotNull(this.
|
|
9209
|
-
this.
|
|
9214
|
+
if (ensureNotNull(this.bg_1).u()) {
|
|
9215
|
+
this.zf_1 = 2;
|
|
9210
9216
|
return true;
|
|
9211
9217
|
} else {
|
|
9212
|
-
this.
|
|
9218
|
+
this.bg_1 = null;
|
|
9213
9219
|
}
|
|
9214
9220
|
|
|
9215
9221
|
break;
|
|
@@ -9221,9 +9227,9 @@ protoOf(SequenceBuilderIterator).u = function () {
|
|
|
9221
9227
|
default:
|
|
9222
9228
|
throw exceptionalState(this);
|
|
9223
9229
|
}
|
|
9224
|
-
this.
|
|
9225
|
-
var step = ensureNotNull(this.
|
|
9226
|
-
this.
|
|
9230
|
+
this.zf_1 = 5;
|
|
9231
|
+
var step = ensureNotNull(this.cg_1);
|
|
9232
|
+
this.cg_1 = null;
|
|
9227
9233
|
// Inline function 'kotlin.coroutines.resume' call
|
|
9228
9234
|
// Inline function 'kotlin.Companion.success' call
|
|
9229
9235
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
@@ -9231,53 +9237,53 @@ protoOf(SequenceBuilderIterator).u = function () {
|
|
|
9231
9237
|
}
|
|
9232
9238
|
};
|
|
9233
9239
|
protoOf(SequenceBuilderIterator).v = function () {
|
|
9234
|
-
switch (this.
|
|
9240
|
+
switch (this.zf_1) {
|
|
9235
9241
|
case 0:
|
|
9236
9242
|
case 1:
|
|
9237
9243
|
return nextNotReady(this);
|
|
9238
9244
|
case 2:
|
|
9239
|
-
this.
|
|
9240
|
-
return ensureNotNull(this.
|
|
9245
|
+
this.zf_1 = 1;
|
|
9246
|
+
return ensureNotNull(this.bg_1).v();
|
|
9241
9247
|
case 3:
|
|
9242
|
-
this.
|
|
9243
|
-
var result = this.
|
|
9244
|
-
this.
|
|
9248
|
+
this.zf_1 = 0;
|
|
9249
|
+
var result = this.ag_1;
|
|
9250
|
+
this.ag_1 = null;
|
|
9245
9251
|
return result;
|
|
9246
9252
|
default:
|
|
9247
9253
|
throw exceptionalState(this);
|
|
9248
9254
|
}
|
|
9249
9255
|
};
|
|
9250
|
-
protoOf(SequenceBuilderIterator).
|
|
9251
|
-
this.
|
|
9252
|
-
this.
|
|
9253
|
-
this.
|
|
9256
|
+
protoOf(SequenceBuilderIterator).wf = function (value, $completion) {
|
|
9257
|
+
this.ag_1 = value;
|
|
9258
|
+
this.zf_1 = 3;
|
|
9259
|
+
this.cg_1 = $completion;
|
|
9254
9260
|
return get_COROUTINE_SUSPENDED();
|
|
9255
9261
|
};
|
|
9256
|
-
protoOf(SequenceBuilderIterator).
|
|
9262
|
+
protoOf(SequenceBuilderIterator).xf = function (iterator, $completion) {
|
|
9257
9263
|
if (!iterator.u())
|
|
9258
9264
|
return Unit_instance;
|
|
9259
|
-
this.
|
|
9260
|
-
this.
|
|
9261
|
-
this.
|
|
9265
|
+
this.bg_1 = iterator;
|
|
9266
|
+
this.zf_1 = 2;
|
|
9267
|
+
this.cg_1 = $completion;
|
|
9262
9268
|
return get_COROUTINE_SUSPENDED();
|
|
9263
9269
|
};
|
|
9264
|
-
protoOf(SequenceBuilderIterator).
|
|
9270
|
+
protoOf(SequenceBuilderIterator).dg = function (result) {
|
|
9265
9271
|
// Inline function 'kotlin.getOrThrow' call
|
|
9266
9272
|
throwOnFailure(result);
|
|
9267
9273
|
_Result___get_value__impl__bjfvqg(result);
|
|
9268
|
-
this.
|
|
9274
|
+
this.zf_1 = 4;
|
|
9269
9275
|
};
|
|
9270
9276
|
protoOf(SequenceBuilderIterator).q9 = function (result) {
|
|
9271
|
-
return this.
|
|
9277
|
+
return this.dg(result);
|
|
9272
9278
|
};
|
|
9273
9279
|
protoOf(SequenceBuilderIterator).l9 = function () {
|
|
9274
9280
|
return EmptyCoroutineContext_getInstance();
|
|
9275
9281
|
};
|
|
9276
9282
|
function sequence$$inlined$Sequence$1($block) {
|
|
9277
|
-
this.
|
|
9283
|
+
this.eg_1 = $block;
|
|
9278
9284
|
}
|
|
9279
9285
|
protoOf(sequence$$inlined$Sequence$1).t = function () {
|
|
9280
|
-
return iterator(this.
|
|
9286
|
+
return iterator(this.eg_1);
|
|
9281
9287
|
};
|
|
9282
9288
|
function generateSequence(seed, nextFunction) {
|
|
9283
9289
|
var tmp;
|
|
@@ -9305,64 +9311,64 @@ function generateSequence_1(seedFunction, nextFunction) {
|
|
|
9305
9311
|
return new GeneratorSequence(seedFunction, nextFunction);
|
|
9306
9312
|
}
|
|
9307
9313
|
function TransformingSequence$iterator$1(this$0) {
|
|
9308
|
-
this.
|
|
9309
|
-
this.
|
|
9314
|
+
this.gg_1 = this$0;
|
|
9315
|
+
this.fg_1 = this$0.hg_1.t();
|
|
9310
9316
|
}
|
|
9311
9317
|
protoOf(TransformingSequence$iterator$1).v = function () {
|
|
9312
|
-
return this.
|
|
9318
|
+
return this.gg_1.ig_1(this.fg_1.v());
|
|
9313
9319
|
};
|
|
9314
9320
|
protoOf(TransformingSequence$iterator$1).u = function () {
|
|
9315
|
-
return this.
|
|
9321
|
+
return this.fg_1.u();
|
|
9316
9322
|
};
|
|
9317
9323
|
function TransformingSequence(sequence, transformer) {
|
|
9318
|
-
this.
|
|
9319
|
-
this.
|
|
9324
|
+
this.hg_1 = sequence;
|
|
9325
|
+
this.ig_1 = transformer;
|
|
9320
9326
|
}
|
|
9321
9327
|
protoOf(TransformingSequence).t = function () {
|
|
9322
9328
|
return new TransformingSequence$iterator$1(this);
|
|
9323
9329
|
};
|
|
9324
|
-
protoOf(TransformingSequence).
|
|
9325
|
-
return new FlatteningSequence(this.
|
|
9330
|
+
protoOf(TransformingSequence).jg = function (iterator) {
|
|
9331
|
+
return new FlatteningSequence(this.hg_1, this.ig_1, iterator);
|
|
9326
9332
|
};
|
|
9327
9333
|
function calcNext($this) {
|
|
9328
|
-
while ($this.
|
|
9329
|
-
var item = $this.
|
|
9330
|
-
if ($this.
|
|
9331
|
-
$this.
|
|
9332
|
-
$this.
|
|
9334
|
+
while ($this.kg_1.u()) {
|
|
9335
|
+
var item = $this.kg_1.v();
|
|
9336
|
+
if ($this.ng_1.qg_1(item) === $this.ng_1.pg_1) {
|
|
9337
|
+
$this.mg_1 = item;
|
|
9338
|
+
$this.lg_1 = 1;
|
|
9333
9339
|
return Unit_instance;
|
|
9334
9340
|
}
|
|
9335
9341
|
}
|
|
9336
|
-
$this.
|
|
9342
|
+
$this.lg_1 = 0;
|
|
9337
9343
|
}
|
|
9338
9344
|
function FilteringSequence$iterator$1(this$0) {
|
|
9339
|
-
this.
|
|
9340
|
-
this.
|
|
9341
|
-
this.
|
|
9342
|
-
this.
|
|
9345
|
+
this.ng_1 = this$0;
|
|
9346
|
+
this.kg_1 = this$0.og_1.t();
|
|
9347
|
+
this.lg_1 = -1;
|
|
9348
|
+
this.mg_1 = null;
|
|
9343
9349
|
}
|
|
9344
9350
|
protoOf(FilteringSequence$iterator$1).v = function () {
|
|
9345
|
-
if (this.
|
|
9351
|
+
if (this.lg_1 === -1) {
|
|
9346
9352
|
calcNext(this);
|
|
9347
9353
|
}
|
|
9348
|
-
if (this.
|
|
9354
|
+
if (this.lg_1 === 0)
|
|
9349
9355
|
throw NoSuchElementException_init_$Create$();
|
|
9350
|
-
var result = this.
|
|
9351
|
-
this.
|
|
9352
|
-
this.
|
|
9356
|
+
var result = this.mg_1;
|
|
9357
|
+
this.mg_1 = null;
|
|
9358
|
+
this.lg_1 = -1;
|
|
9353
9359
|
return result;
|
|
9354
9360
|
};
|
|
9355
9361
|
protoOf(FilteringSequence$iterator$1).u = function () {
|
|
9356
|
-
if (this.
|
|
9362
|
+
if (this.lg_1 === -1) {
|
|
9357
9363
|
calcNext(this);
|
|
9358
9364
|
}
|
|
9359
|
-
return this.
|
|
9365
|
+
return this.lg_1 === 1;
|
|
9360
9366
|
};
|
|
9361
9367
|
function FilteringSequence(sequence, sendWhen, predicate) {
|
|
9362
9368
|
sendWhen = sendWhen === VOID ? true : sendWhen;
|
|
9363
|
-
this.
|
|
9364
|
-
this.
|
|
9365
|
-
this.
|
|
9369
|
+
this.og_1 = sequence;
|
|
9370
|
+
this.pg_1 = sendWhen;
|
|
9371
|
+
this.qg_1 = predicate;
|
|
9366
9372
|
}
|
|
9367
9373
|
protoOf(FilteringSequence).t = function () {
|
|
9368
9374
|
return new FilteringSequence$iterator$1(this);
|
|
@@ -9371,50 +9377,50 @@ function flatten_1(_this__u8e3s4) {
|
|
|
9371
9377
|
return flatten_2(_this__u8e3s4, flatten$lambda_0);
|
|
9372
9378
|
}
|
|
9373
9379
|
function ensureItemIterator($this) {
|
|
9374
|
-
var itemIterator = $this.
|
|
9380
|
+
var itemIterator = $this.sg_1;
|
|
9375
9381
|
if (!(itemIterator == null) && itemIterator.u()) {
|
|
9376
|
-
$this.
|
|
9382
|
+
$this.tg_1 = 1;
|
|
9377
9383
|
return true;
|
|
9378
9384
|
}
|
|
9379
|
-
while ($this.
|
|
9380
|
-
var element = $this.
|
|
9381
|
-
var nextItemIterator = $this.
|
|
9385
|
+
while ($this.rg_1.u()) {
|
|
9386
|
+
var element = $this.rg_1.v();
|
|
9387
|
+
var nextItemIterator = $this.ug_1.xg_1($this.ug_1.wg_1(element));
|
|
9382
9388
|
if (nextItemIterator.u()) {
|
|
9383
|
-
$this.
|
|
9384
|
-
$this.
|
|
9389
|
+
$this.sg_1 = nextItemIterator;
|
|
9390
|
+
$this.tg_1 = 1;
|
|
9385
9391
|
return true;
|
|
9386
9392
|
}
|
|
9387
9393
|
}
|
|
9388
|
-
$this.
|
|
9389
|
-
$this.
|
|
9394
|
+
$this.tg_1 = 2;
|
|
9395
|
+
$this.sg_1 = null;
|
|
9390
9396
|
return false;
|
|
9391
9397
|
}
|
|
9392
9398
|
function FlatteningSequence$iterator$1(this$0) {
|
|
9393
|
-
this.
|
|
9394
|
-
this.
|
|
9395
|
-
this.
|
|
9396
|
-
this.
|
|
9399
|
+
this.ug_1 = this$0;
|
|
9400
|
+
this.rg_1 = this$0.vg_1.t();
|
|
9401
|
+
this.sg_1 = null;
|
|
9402
|
+
this.tg_1 = 0;
|
|
9397
9403
|
}
|
|
9398
9404
|
protoOf(FlatteningSequence$iterator$1).v = function () {
|
|
9399
|
-
if (this.
|
|
9405
|
+
if (this.tg_1 === 2)
|
|
9400
9406
|
throw NoSuchElementException_init_$Create$();
|
|
9401
|
-
if (this.
|
|
9407
|
+
if (this.tg_1 === 0 && !ensureItemIterator(this)) {
|
|
9402
9408
|
throw NoSuchElementException_init_$Create$();
|
|
9403
9409
|
}
|
|
9404
|
-
this.
|
|
9405
|
-
return ensureNotNull(this.
|
|
9410
|
+
this.tg_1 = 0;
|
|
9411
|
+
return ensureNotNull(this.sg_1).v();
|
|
9406
9412
|
};
|
|
9407
9413
|
protoOf(FlatteningSequence$iterator$1).u = function () {
|
|
9408
|
-
if (this.
|
|
9414
|
+
if (this.tg_1 === 1)
|
|
9409
9415
|
return true;
|
|
9410
|
-
if (this.
|
|
9416
|
+
if (this.tg_1 === 2)
|
|
9411
9417
|
return false;
|
|
9412
9418
|
return ensureItemIterator(this);
|
|
9413
9419
|
};
|
|
9414
9420
|
function FlatteningSequence(sequence, transformer, iterator) {
|
|
9415
|
-
this.
|
|
9416
|
-
this.
|
|
9417
|
-
this.
|
|
9421
|
+
this.vg_1 = sequence;
|
|
9422
|
+
this.wg_1 = transformer;
|
|
9423
|
+
this.xg_1 = iterator;
|
|
9418
9424
|
}
|
|
9419
9425
|
protoOf(FlatteningSequence).t = function () {
|
|
9420
9426
|
return new FlatteningSequence$iterator$1(this);
|
|
@@ -9425,39 +9431,39 @@ function emptySequence() {
|
|
|
9425
9431
|
function DropTakeSequence() {
|
|
9426
9432
|
}
|
|
9427
9433
|
function TakeSequence$iterator$1(this$0) {
|
|
9428
|
-
this.
|
|
9429
|
-
this.
|
|
9434
|
+
this.yg_1 = this$0.bh_1;
|
|
9435
|
+
this.zg_1 = this$0.ah_1.t();
|
|
9430
9436
|
}
|
|
9431
9437
|
protoOf(TakeSequence$iterator$1).v = function () {
|
|
9432
|
-
if (this.
|
|
9438
|
+
if (this.yg_1 === 0)
|
|
9433
9439
|
throw NoSuchElementException_init_$Create$();
|
|
9434
|
-
this.
|
|
9435
|
-
return this.
|
|
9440
|
+
this.yg_1 = this.yg_1 - 1 | 0;
|
|
9441
|
+
return this.zg_1.v();
|
|
9436
9442
|
};
|
|
9437
9443
|
protoOf(TakeSequence$iterator$1).u = function () {
|
|
9438
|
-
return this.
|
|
9444
|
+
return this.yg_1 > 0 && this.zg_1.u();
|
|
9439
9445
|
};
|
|
9440
9446
|
function TakeSequence(sequence, count) {
|
|
9441
|
-
this.
|
|
9442
|
-
this.
|
|
9447
|
+
this.ah_1 = sequence;
|
|
9448
|
+
this.bh_1 = count;
|
|
9443
9449
|
// Inline function 'kotlin.require' call
|
|
9444
|
-
if (!(this.
|
|
9445
|
-
var message = 'count must be non-negative, but was ' + this.
|
|
9450
|
+
if (!(this.bh_1 >= 0)) {
|
|
9451
|
+
var message = 'count must be non-negative, but was ' + this.bh_1 + '.';
|
|
9446
9452
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
9447
9453
|
}
|
|
9448
9454
|
}
|
|
9449
9455
|
protoOf(TakeSequence).v1 = function (n) {
|
|
9450
|
-
return n >= this.
|
|
9456
|
+
return n >= this.bh_1 ? this : new TakeSequence(this.ah_1, n);
|
|
9451
9457
|
};
|
|
9452
9458
|
protoOf(TakeSequence).t = function () {
|
|
9453
9459
|
return new TakeSequence$iterator$1(this);
|
|
9454
9460
|
};
|
|
9455
9461
|
function DistinctSequence(source, keySelector) {
|
|
9456
|
-
this.
|
|
9457
|
-
this.
|
|
9462
|
+
this.ch_1 = source;
|
|
9463
|
+
this.dh_1 = keySelector;
|
|
9458
9464
|
}
|
|
9459
9465
|
protoOf(DistinctSequence).t = function () {
|
|
9460
|
-
return new DistinctIterator(this.
|
|
9466
|
+
return new DistinctIterator(this.ch_1.t(), this.dh_1);
|
|
9461
9467
|
};
|
|
9462
9468
|
function EmptySequence() {
|
|
9463
9469
|
}
|
|
@@ -9472,41 +9478,41 @@ function EmptySequence_getInstance() {
|
|
|
9472
9478
|
return EmptySequence_instance;
|
|
9473
9479
|
}
|
|
9474
9480
|
function calcNext_0($this) {
|
|
9475
|
-
$this.
|
|
9476
|
-
$this.
|
|
9481
|
+
$this.eh_1 = $this.fh_1 === -2 ? $this.gh_1.hh_1() : $this.gh_1.ih_1(ensureNotNull($this.eh_1));
|
|
9482
|
+
$this.fh_1 = $this.eh_1 == null ? 0 : 1;
|
|
9477
9483
|
}
|
|
9478
9484
|
function GeneratorSequence$iterator$1(this$0) {
|
|
9479
|
-
this.
|
|
9480
|
-
this.
|
|
9481
|
-
this.
|
|
9485
|
+
this.gh_1 = this$0;
|
|
9486
|
+
this.eh_1 = null;
|
|
9487
|
+
this.fh_1 = -2;
|
|
9482
9488
|
}
|
|
9483
9489
|
protoOf(GeneratorSequence$iterator$1).v = function () {
|
|
9484
|
-
if (this.
|
|
9490
|
+
if (this.fh_1 < 0) {
|
|
9485
9491
|
calcNext_0(this);
|
|
9486
9492
|
}
|
|
9487
|
-
if (this.
|
|
9493
|
+
if (this.fh_1 === 0)
|
|
9488
9494
|
throw NoSuchElementException_init_$Create$();
|
|
9489
|
-
var tmp = this.
|
|
9495
|
+
var tmp = this.eh_1;
|
|
9490
9496
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
9491
|
-
this.
|
|
9497
|
+
this.fh_1 = -1;
|
|
9492
9498
|
return result;
|
|
9493
9499
|
};
|
|
9494
9500
|
protoOf(GeneratorSequence$iterator$1).u = function () {
|
|
9495
|
-
if (this.
|
|
9501
|
+
if (this.fh_1 < 0) {
|
|
9496
9502
|
calcNext_0(this);
|
|
9497
9503
|
}
|
|
9498
|
-
return this.
|
|
9504
|
+
return this.fh_1 === 1;
|
|
9499
9505
|
};
|
|
9500
9506
|
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
9501
|
-
this.
|
|
9502
|
-
this.
|
|
9507
|
+
this.hh_1 = getInitialValue;
|
|
9508
|
+
this.ih_1 = getNextValue;
|
|
9503
9509
|
}
|
|
9504
9510
|
protoOf(GeneratorSequence).t = function () {
|
|
9505
9511
|
return new GeneratorSequence$iterator$1(this);
|
|
9506
9512
|
};
|
|
9507
9513
|
function flatten_2(_this__u8e3s4, iterator) {
|
|
9508
9514
|
if (_this__u8e3s4 instanceof TransformingSequence) {
|
|
9509
|
-
return (_this__u8e3s4 instanceof TransformingSequence ? _this__u8e3s4 : THROW_CCE()).
|
|
9515
|
+
return (_this__u8e3s4 instanceof TransformingSequence ? _this__u8e3s4 : THROW_CCE()).jg(iterator);
|
|
9510
9516
|
}
|
|
9511
9517
|
return new FlatteningSequence(_this__u8e3s4, flatten$lambda_1, iterator);
|
|
9512
9518
|
}
|
|
@@ -9521,15 +9527,15 @@ function constrainOnce(_this__u8e3s4) {
|
|
|
9521
9527
|
}
|
|
9522
9528
|
function DistinctIterator(source, keySelector) {
|
|
9523
9529
|
AbstractIterator.call(this);
|
|
9524
|
-
this.
|
|
9525
|
-
this.
|
|
9526
|
-
this.
|
|
9530
|
+
this.lh_1 = source;
|
|
9531
|
+
this.mh_1 = keySelector;
|
|
9532
|
+
this.nh_1 = HashSet_init_$Create$();
|
|
9527
9533
|
}
|
|
9528
9534
|
protoOf(DistinctIterator).ee = function () {
|
|
9529
|
-
while (this.
|
|
9530
|
-
var next = this.
|
|
9531
|
-
var key = this.
|
|
9532
|
-
if (this.
|
|
9535
|
+
while (this.lh_1.u()) {
|
|
9536
|
+
var next = this.lh_1.v();
|
|
9537
|
+
var key = this.mh_1(next);
|
|
9538
|
+
if (this.nh_1.x(key)) {
|
|
9533
9539
|
this.fe(next);
|
|
9534
9540
|
return Unit_instance;
|
|
9535
9541
|
}
|
|
@@ -9542,23 +9548,23 @@ function generateSequence$lambda($seed) {
|
|
|
9542
9548
|
};
|
|
9543
9549
|
}
|
|
9544
9550
|
function sequenceOf$1($element) {
|
|
9545
|
-
this.
|
|
9546
|
-
this.
|
|
9551
|
+
this.ph_1 = $element;
|
|
9552
|
+
this.oh_1 = true;
|
|
9547
9553
|
}
|
|
9548
9554
|
protoOf(sequenceOf$1).v = function () {
|
|
9549
|
-
if (!this.
|
|
9555
|
+
if (!this.oh_1)
|
|
9550
9556
|
throw NoSuchElementException_init_$Create$();
|
|
9551
|
-
this.
|
|
9552
|
-
return this.
|
|
9557
|
+
this.oh_1 = false;
|
|
9558
|
+
return this.ph_1;
|
|
9553
9559
|
};
|
|
9554
9560
|
protoOf(sequenceOf$1).u = function () {
|
|
9555
|
-
return this.
|
|
9561
|
+
return this.oh_1;
|
|
9556
9562
|
};
|
|
9557
9563
|
function sequenceOf$$inlined$Sequence$1($element) {
|
|
9558
|
-
this.
|
|
9564
|
+
this.qh_1 = $element;
|
|
9559
9565
|
}
|
|
9560
9566
|
protoOf(sequenceOf$$inlined$Sequence$1).t = function () {
|
|
9561
|
-
return new sequenceOf$1(this.
|
|
9567
|
+
return new sequenceOf$1(this.qh_1);
|
|
9562
9568
|
};
|
|
9563
9569
|
function flatten$lambda(it) {
|
|
9564
9570
|
return it.t();
|
|
@@ -9595,7 +9601,7 @@ function optimizeReadOnlySet(_this__u8e3s4) {
|
|
|
9595
9601
|
}
|
|
9596
9602
|
function EmptySet() {
|
|
9597
9603
|
EmptySet_instance = this;
|
|
9598
|
-
this.
|
|
9604
|
+
this.rh_1 = new Long(1993859828, 793161749);
|
|
9599
9605
|
}
|
|
9600
9606
|
protoOf(EmptySet).equals = function (other) {
|
|
9601
9607
|
var tmp;
|
|
@@ -9632,11 +9638,11 @@ protoOf(EmptySet).i1 = function (element) {
|
|
|
9632
9638
|
}
|
|
9633
9639
|
return this.ue(tmp);
|
|
9634
9640
|
};
|
|
9635
|
-
protoOf(EmptySet).
|
|
9641
|
+
protoOf(EmptySet).ve = function (elements) {
|
|
9636
9642
|
return elements.r();
|
|
9637
9643
|
};
|
|
9638
|
-
protoOf(EmptySet).
|
|
9639
|
-
return this.
|
|
9644
|
+
protoOf(EmptySet).o2 = function (elements) {
|
|
9645
|
+
return this.ve(elements);
|
|
9640
9646
|
};
|
|
9641
9647
|
protoOf(EmptySet).t = function () {
|
|
9642
9648
|
return EmptyIterator_instance;
|
|
@@ -9794,8 +9800,8 @@ function Default() {
|
|
|
9794
9800
|
protoOf(Default).yh = function (bitCount) {
|
|
9795
9801
|
return this.xh_1.yh(bitCount);
|
|
9796
9802
|
};
|
|
9797
|
-
protoOf(Default).
|
|
9798
|
-
return this.xh_1.
|
|
9803
|
+
protoOf(Default).kf = function () {
|
|
9804
|
+
return this.xh_1.kf();
|
|
9799
9805
|
};
|
|
9800
9806
|
protoOf(Default).zh = function (until) {
|
|
9801
9807
|
return this.xh_1.zh(until);
|
|
@@ -9821,7 +9827,7 @@ function Default_getInstance() {
|
|
|
9821
9827
|
function Random() {
|
|
9822
9828
|
Default_getInstance();
|
|
9823
9829
|
}
|
|
9824
|
-
protoOf(Random).
|
|
9830
|
+
protoOf(Random).kf = function () {
|
|
9825
9831
|
return this.yh(32);
|
|
9826
9832
|
};
|
|
9827
9833
|
protoOf(Random).zh = function (until) {
|
|
@@ -9838,7 +9844,7 @@ protoOf(Random).ai = function (from, until) {
|
|
|
9838
9844
|
} else {
|
|
9839
9845
|
var v;
|
|
9840
9846
|
do {
|
|
9841
|
-
var bits = this.
|
|
9847
|
+
var bits = this.kf() >>> 1 | 0;
|
|
9842
9848
|
v = bits % n | 0;
|
|
9843
9849
|
}
|
|
9844
9850
|
while (((bits - v | 0) + (n - 1 | 0) | 0) < 0);
|
|
@@ -9848,7 +9854,7 @@ protoOf(Random).ai = function (from, until) {
|
|
|
9848
9854
|
return from + rnd | 0;
|
|
9849
9855
|
} else {
|
|
9850
9856
|
while (true) {
|
|
9851
|
-
var rnd_0 = this.
|
|
9857
|
+
var rnd_0 = this.kf();
|
|
9852
9858
|
if (from <= rnd_0 ? rnd_0 < until : false)
|
|
9853
9859
|
return rnd_0;
|
|
9854
9860
|
}
|
|
@@ -9942,11 +9948,11 @@ function XorWowRandom(x, y, z, w, v, addend) {
|
|
|
9942
9948
|
do {
|
|
9943
9949
|
var index = inductionVariable;
|
|
9944
9950
|
inductionVariable = inductionVariable + 1 | 0;
|
|
9945
|
-
this.
|
|
9951
|
+
this.kf();
|
|
9946
9952
|
}
|
|
9947
9953
|
while (inductionVariable < 64);
|
|
9948
9954
|
}
|
|
9949
|
-
protoOf(XorWowRandom).
|
|
9955
|
+
protoOf(XorWowRandom).kf = function () {
|
|
9950
9956
|
var t = this.ei_1;
|
|
9951
9957
|
t = t ^ (t >>> 2 | 0);
|
|
9952
9958
|
this.ei_1 = this.fi_1;
|
|
@@ -9960,7 +9966,7 @@ protoOf(XorWowRandom).jf = function () {
|
|
|
9960
9966
|
return t + this.ji_1 | 0;
|
|
9961
9967
|
};
|
|
9962
9968
|
protoOf(XorWowRandom).yh = function (bitCount) {
|
|
9963
|
-
return takeUpperBits(this.
|
|
9969
|
+
return takeUpperBits(this.kf(), bitCount);
|
|
9964
9970
|
};
|
|
9965
9971
|
function Companion_9() {
|
|
9966
9972
|
Companion_instance_9 = this;
|
|
@@ -10016,7 +10022,7 @@ function IntProgressionIterator(first, last, step) {
|
|
|
10016
10022
|
protoOf(IntProgressionIterator).u = function () {
|
|
10017
10023
|
return this.oi_1;
|
|
10018
10024
|
};
|
|
10019
|
-
protoOf(IntProgressionIterator).
|
|
10025
|
+
protoOf(IntProgressionIterator).kf = function () {
|
|
10020
10026
|
var value = this.pi_1;
|
|
10021
10027
|
if (value === this.ni_1) {
|
|
10022
10028
|
if (!this.oi_1)
|
|
@@ -11194,8 +11200,8 @@ function calcNext_1($this) {
|
|
|
11194
11200
|
$this.dj_1 = numberRangeToNumber($this.bj_1, get_lastIndex_4($this.fj_1.gj_1));
|
|
11195
11201
|
$this.cj_1 = -1;
|
|
11196
11202
|
} else {
|
|
11197
|
-
var index = match.
|
|
11198
|
-
var length = match.
|
|
11203
|
+
var index = match.ze();
|
|
11204
|
+
var length = match.af();
|
|
11199
11205
|
$this.dj_1 = until($this.bj_1, index);
|
|
11200
11206
|
$this.bj_1 = index + length | 0;
|
|
11201
11207
|
$this.cj_1 = $this.bj_1 + (length === 0 ? 1 : 0) | 0;
|
|
@@ -11321,7 +11327,7 @@ function iterator$1($this_iterator) {
|
|
|
11321
11327
|
CharIterator.call(this);
|
|
11322
11328
|
this.kj_1 = 0;
|
|
11323
11329
|
}
|
|
11324
|
-
protoOf(iterator$1).
|
|
11330
|
+
protoOf(iterator$1).mf = function () {
|
|
11325
11331
|
var _unary__edvuaz = this.kj_1;
|
|
11326
11332
|
this.kj_1 = _unary__edvuaz + 1 | 0;
|
|
11327
11333
|
return charSequenceGet(this.lj_1, _unary__edvuaz);
|
|
@@ -11343,7 +11349,7 @@ function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
|
|
|
11343
11349
|
tmp = null;
|
|
11344
11350
|
} else {
|
|
11345
11351
|
// Inline function 'kotlin.let' call
|
|
11346
|
-
tmp = to(tmp0_safe_receiver.
|
|
11352
|
+
tmp = to(tmp0_safe_receiver.ff_1, tmp0_safe_receiver.gf_1.length);
|
|
11347
11353
|
}
|
|
11348
11354
|
return tmp;
|
|
11349
11355
|
};
|
|
@@ -12845,21 +12851,21 @@ function NotImplementedError(message) {
|
|
|
12845
12851
|
captureStack(this, NotImplementedError);
|
|
12846
12852
|
}
|
|
12847
12853
|
function Pair(first, second) {
|
|
12848
|
-
this.
|
|
12849
|
-
this.
|
|
12854
|
+
this.ff_1 = first;
|
|
12855
|
+
this.gf_1 = second;
|
|
12850
12856
|
}
|
|
12851
12857
|
protoOf(Pair).toString = function () {
|
|
12852
|
-
return '(' + toString_0(this.
|
|
12853
|
-
};
|
|
12854
|
-
protoOf(Pair).ye = function () {
|
|
12855
|
-
return this.ef_1;
|
|
12858
|
+
return '(' + toString_0(this.ff_1) + ', ' + toString_0(this.gf_1) + ')';
|
|
12856
12859
|
};
|
|
12857
12860
|
protoOf(Pair).ze = function () {
|
|
12858
12861
|
return this.ff_1;
|
|
12859
12862
|
};
|
|
12863
|
+
protoOf(Pair).af = function () {
|
|
12864
|
+
return this.gf_1;
|
|
12865
|
+
};
|
|
12860
12866
|
protoOf(Pair).hashCode = function () {
|
|
12861
|
-
var result = this.
|
|
12862
|
-
result = imul_0(result, 31) + (this.
|
|
12867
|
+
var result = this.ff_1 == null ? 0 : hashCode_0(this.ff_1);
|
|
12868
|
+
result = imul_0(result, 31) + (this.gf_1 == null ? 0 : hashCode_0(this.gf_1)) | 0;
|
|
12863
12869
|
return result;
|
|
12864
12870
|
};
|
|
12865
12871
|
protoOf(Pair).equals = function (other) {
|
|
@@ -12867,10 +12873,10 @@ protoOf(Pair).equals = function (other) {
|
|
|
12867
12873
|
return true;
|
|
12868
12874
|
if (!(other instanceof Pair))
|
|
12869
12875
|
return false;
|
|
12870
|
-
if (!equals(this.ef_1, other.ef_1))
|
|
12871
|
-
return false;
|
|
12872
12876
|
if (!equals(this.ff_1, other.ff_1))
|
|
12873
12877
|
return false;
|
|
12878
|
+
if (!equals(this.gf_1, other.gf_1))
|
|
12879
|
+
return false;
|
|
12874
12880
|
return true;
|
|
12875
12881
|
};
|
|
12876
12882
|
function to(_this__u8e3s4, that) {
|
|
@@ -12884,10 +12890,10 @@ function Triple(first, second, third) {
|
|
|
12884
12890
|
protoOf(Triple).toString = function () {
|
|
12885
12891
|
return '(' + toString_0(this.qk_1) + ', ' + toString_0(this.rk_1) + ', ' + toString_0(this.sk_1) + ')';
|
|
12886
12892
|
};
|
|
12887
|
-
protoOf(Triple).
|
|
12893
|
+
protoOf(Triple).ze = function () {
|
|
12888
12894
|
return this.qk_1;
|
|
12889
12895
|
};
|
|
12890
|
-
protoOf(Triple).
|
|
12896
|
+
protoOf(Triple).af = function () {
|
|
12891
12897
|
return this.rk_1;
|
|
12892
12898
|
};
|
|
12893
12899
|
protoOf(Triple).tk = function () {
|
|
@@ -12913,7 +12919,7 @@ protoOf(Triple).equals = function (other) {
|
|
|
12913
12919
|
return true;
|
|
12914
12920
|
};
|
|
12915
12921
|
function toList_4(_this__u8e3s4) {
|
|
12916
|
-
return listOf_0([_this__u8e3s4.
|
|
12922
|
+
return listOf_0([_this__u8e3s4.ff_1, _this__u8e3s4.gf_1]);
|
|
12917
12923
|
}
|
|
12918
12924
|
function _UByte___init__impl__g9hnc4(data) {
|
|
12919
12925
|
return data;
|