@flock/wirespec 0.22.4 → 0.22.6
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 +13 -8
- package/arrow-arrow-core.mjs.map +1 -1
- package/clikt-clikt-mordant.mjs +79 -79
- package/clikt-clikt.mjs +1367 -1366
- package/clikt-clikt.mjs.map +1 -1
- package/colormath-root-colormath.mjs +436 -436
- package/kotlin-kotlin-stdlib.mjs +304 -239
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-openapi-bindings.mjs +10221 -10221
- package/kotlin-rgxgen.mjs +1771 -1771
- package/kotlinx-io-kotlinx-io-core.mjs +425 -425
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1824 -1824
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1509 -1509
- package/mordant-mordant.mjs +1246 -1246
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +5972 -5367
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +171 -187
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-kotlin.mjs +174 -165
- package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +147 -160
- package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-rust.mjs +356 -370
- package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-scala.mjs +165 -175
- package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-typescript.mjs +187 -313
- package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-wirespec.mjs +81 -81
- package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +194 -194
- package/wirespec-src-converter-asyncapi.mjs +545 -545
- package/wirespec-src-converter-avro.mjs +570 -514
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-common.mjs +11 -11
- package/wirespec-src-converter-graphql.mjs +942 -942
- package/wirespec-src-converter-openapi.mjs +453 -453
- package/wirespec-src-ide-lsp.mjs +1359 -1359
- package/wirespec-src-plugin-arguments.mjs +419 -224
- package/wirespec-src-plugin-arguments.mjs.map +1 -1
- package/wirespec-src-plugin-cli.mjs +170 -137
- package/wirespec-src-plugin-cli.mjs.map +1 -1
- package/wirespec-src-plugin-extensions.mjs +4874 -0
- package/wirespec-src-plugin-extensions.mjs.map +1 -0
- package/wirespec-src-plugin-npm.d.mts +43 -1
- package/wirespec-src-plugin-npm.mjs +230 -54
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +17 -17
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -53,6 +53,12 @@ if (typeof Math.log2 === 'undefined') {
|
|
|
53
53
|
return Math.log(x) * Math.LOG2E;
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
57
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
58
|
+
position = position || 0;
|
|
59
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
60
|
+
}});
|
|
61
|
+
}
|
|
56
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
64
|
var subjectString = this.toString();
|
|
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
64
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
65
71
|
}});
|
|
66
72
|
}
|
|
67
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
68
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
69
|
-
position = position || 0;
|
|
70
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
71
|
-
}});
|
|
72
|
-
}
|
|
73
73
|
//endregion
|
|
74
74
|
//region block: imports
|
|
75
75
|
var imul_0 = Math.imul;
|
|
@@ -101,8 +101,8 @@ initMetadataForInterface(KtMap, 'Map');
|
|
|
101
101
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
102
102
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
103
103
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
104
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
105
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
104
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
105
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
106
106
|
initMetadataForCompanion(Companion_0);
|
|
107
107
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
108
108
|
initMetadataForCompanion(Companion_1);
|
|
@@ -122,7 +122,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
|
|
|
122
122
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
123
123
|
initMetadataForObject(Unit, 'Unit');
|
|
124
124
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
125
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
125
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
126
126
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
127
127
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
128
128
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -135,7 +135,7 @@ initMetadataForCompanion(Companion_2);
|
|
|
135
135
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
136
136
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
137
137
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
138
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
138
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
139
139
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
140
140
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
141
141
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -792,11 +792,16 @@ function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, trun
|
|
|
792
792
|
buffer.y(postfix);
|
|
793
793
|
return buffer;
|
|
794
794
|
}
|
|
795
|
+
function first(_this__u8e3s4) {
|
|
796
|
+
if (_this__u8e3s4.r())
|
|
797
|
+
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
798
|
+
return _this__u8e3s4.b1(0);
|
|
799
|
+
}
|
|
795
800
|
function lastOrNull(_this__u8e3s4) {
|
|
796
|
-
return _this__u8e3s4.r() ? null : _this__u8e3s4.
|
|
801
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.b1(_this__u8e3s4.c1() - 1 | 0);
|
|
797
802
|
}
|
|
798
803
|
function toIntArray(_this__u8e3s4) {
|
|
799
|
-
var result = new Int32Array(_this__u8e3s4.
|
|
804
|
+
var result = new Int32Array(_this__u8e3s4.c1());
|
|
800
805
|
var index = 0;
|
|
801
806
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
802
807
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -809,7 +814,7 @@ function toIntArray(_this__u8e3s4) {
|
|
|
809
814
|
}
|
|
810
815
|
function plus(_this__u8e3s4, elements) {
|
|
811
816
|
if (isInterface(elements, Collection)) {
|
|
812
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.
|
|
817
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.c1() + elements.c1() | 0);
|
|
813
818
|
result.g1(_this__u8e3s4);
|
|
814
819
|
result.g1(elements);
|
|
815
820
|
return result;
|
|
@@ -845,14 +850,14 @@ function zipWithNext(_this__u8e3s4) {
|
|
|
845
850
|
function toSet_0(_this__u8e3s4) {
|
|
846
851
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
847
852
|
var tmp;
|
|
848
|
-
switch (_this__u8e3s4.
|
|
853
|
+
switch (_this__u8e3s4.c1()) {
|
|
849
854
|
case 0:
|
|
850
855
|
tmp = emptySet();
|
|
851
856
|
break;
|
|
852
857
|
case 1:
|
|
853
858
|
var tmp_0;
|
|
854
859
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
855
|
-
tmp_0 = _this__u8e3s4.
|
|
860
|
+
tmp_0 = _this__u8e3s4.b1(0);
|
|
856
861
|
} else {
|
|
857
862
|
tmp_0 = _this__u8e3s4.t().v();
|
|
858
863
|
}
|
|
@@ -860,7 +865,7 @@ function toSet_0(_this__u8e3s4) {
|
|
|
860
865
|
tmp = setOf(tmp_0);
|
|
861
866
|
break;
|
|
862
867
|
default:
|
|
863
|
-
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.
|
|
868
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.c1())));
|
|
864
869
|
break;
|
|
865
870
|
}
|
|
866
871
|
return tmp;
|
|
@@ -873,15 +878,15 @@ function dropLast(_this__u8e3s4, n) {
|
|
|
873
878
|
var message = 'Requested element count ' + n + ' is less than zero.';
|
|
874
879
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
875
880
|
}
|
|
876
|
-
return take(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.
|
|
881
|
+
return take(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.c1() - n | 0, 0));
|
|
877
882
|
}
|
|
878
883
|
function last_0(_this__u8e3s4) {
|
|
879
884
|
if (_this__u8e3s4.r())
|
|
880
885
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
881
|
-
return _this__u8e3s4.
|
|
886
|
+
return _this__u8e3s4.b1(get_lastIndex_3(_this__u8e3s4));
|
|
882
887
|
}
|
|
883
888
|
function plus_0(_this__u8e3s4, element) {
|
|
884
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.
|
|
889
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.c1() + 1 | 0);
|
|
885
890
|
result.g1(_this__u8e3s4);
|
|
886
891
|
result.x(element);
|
|
887
892
|
return result;
|
|
@@ -893,11 +898,6 @@ function asSequence_0(_this__u8e3s4) {
|
|
|
893
898
|
function distinct(_this__u8e3s4) {
|
|
894
899
|
return toList_0(toMutableSet(_this__u8e3s4));
|
|
895
900
|
}
|
|
896
|
-
function first(_this__u8e3s4) {
|
|
897
|
-
if (_this__u8e3s4.r())
|
|
898
|
-
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
899
|
-
return _this__u8e3s4.c1(0);
|
|
900
|
-
}
|
|
901
901
|
function drop(_this__u8e3s4, n) {
|
|
902
902
|
// Inline function 'kotlin.require' call
|
|
903
903
|
if (!(n >= 0)) {
|
|
@@ -908,7 +908,7 @@ function drop(_this__u8e3s4, n) {
|
|
|
908
908
|
return toList_0(_this__u8e3s4);
|
|
909
909
|
var list;
|
|
910
910
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
911
|
-
var resultSize = _this__u8e3s4.
|
|
911
|
+
var resultSize = _this__u8e3s4.c1() - n | 0;
|
|
912
912
|
if (resultSize <= 0)
|
|
913
913
|
return emptyList();
|
|
914
914
|
if (resultSize === 1)
|
|
@@ -917,12 +917,12 @@ function drop(_this__u8e3s4, n) {
|
|
|
917
917
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
918
918
|
if (isInterface(_this__u8e3s4, RandomAccess)) {
|
|
919
919
|
var inductionVariable = n;
|
|
920
|
-
var last = _this__u8e3s4.
|
|
920
|
+
var last = _this__u8e3s4.c1();
|
|
921
921
|
if (inductionVariable < last)
|
|
922
922
|
do {
|
|
923
923
|
var index = inductionVariable;
|
|
924
924
|
inductionVariable = inductionVariable + 1 | 0;
|
|
925
|
-
list.x(_this__u8e3s4.
|
|
925
|
+
list.x(_this__u8e3s4.b1(index));
|
|
926
926
|
}
|
|
927
927
|
while (inductionVariable < last);
|
|
928
928
|
} else {
|
|
@@ -951,21 +951,34 @@ function drop(_this__u8e3s4, n) {
|
|
|
951
951
|
return optimizeReadOnlyList(list);
|
|
952
952
|
}
|
|
953
953
|
function firstOrNull(_this__u8e3s4) {
|
|
954
|
-
return _this__u8e3s4.r() ? null : _this__u8e3s4.
|
|
954
|
+
return _this__u8e3s4.r() ? null : _this__u8e3s4.b1(0);
|
|
955
955
|
}
|
|
956
956
|
function single_0(_this__u8e3s4) {
|
|
957
957
|
var tmp;
|
|
958
|
-
switch (_this__u8e3s4.
|
|
958
|
+
switch (_this__u8e3s4.c1()) {
|
|
959
959
|
case 0:
|
|
960
960
|
throw NoSuchElementException_init_$Create$_0('List is empty.');
|
|
961
961
|
case 1:
|
|
962
|
-
tmp = _this__u8e3s4.
|
|
962
|
+
tmp = _this__u8e3s4.b1(0);
|
|
963
963
|
break;
|
|
964
964
|
default:
|
|
965
965
|
throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
|
|
966
966
|
}
|
|
967
967
|
return tmp;
|
|
968
968
|
}
|
|
969
|
+
function single_1(_this__u8e3s4) {
|
|
970
|
+
if (isInterface(_this__u8e3s4, KtList))
|
|
971
|
+
return single_0(_this__u8e3s4);
|
|
972
|
+
else {
|
|
973
|
+
var iterator = _this__u8e3s4.t();
|
|
974
|
+
if (!iterator.u())
|
|
975
|
+
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
976
|
+
var single = iterator.v();
|
|
977
|
+
if (iterator.u())
|
|
978
|
+
throw IllegalArgumentException_init_$Create$_0('Collection has more than one element.');
|
|
979
|
+
return single;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
969
982
|
function take(_this__u8e3s4, n) {
|
|
970
983
|
// Inline function 'kotlin.require' call
|
|
971
984
|
if (!(n >= 0)) {
|
|
@@ -975,7 +988,7 @@ function take(_this__u8e3s4, n) {
|
|
|
975
988
|
if (n === 0)
|
|
976
989
|
return emptyList();
|
|
977
990
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
978
|
-
if (n >= _this__u8e3s4.
|
|
991
|
+
if (n >= _this__u8e3s4.c1())
|
|
979
992
|
return toList_0(_this__u8e3s4);
|
|
980
993
|
if (n === 1)
|
|
981
994
|
return listOf(first_0(_this__u8e3s4));
|
|
@@ -993,19 +1006,19 @@ function take(_this__u8e3s4, n) {
|
|
|
993
1006
|
return optimizeReadOnlyList(list);
|
|
994
1007
|
}
|
|
995
1008
|
function getOrNull_0(_this__u8e3s4, index) {
|
|
996
|
-
return (0 <= index ? index < _this__u8e3s4.
|
|
1009
|
+
return (0 <= index ? index < _this__u8e3s4.c1() : false) ? _this__u8e3s4.b1(index) : null;
|
|
997
1010
|
}
|
|
998
1011
|
function toList_0(_this__u8e3s4) {
|
|
999
1012
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1000
1013
|
var tmp;
|
|
1001
|
-
switch (_this__u8e3s4.
|
|
1014
|
+
switch (_this__u8e3s4.c1()) {
|
|
1002
1015
|
case 0:
|
|
1003
1016
|
tmp = emptyList();
|
|
1004
1017
|
break;
|
|
1005
1018
|
case 1:
|
|
1006
1019
|
var tmp_0;
|
|
1007
1020
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
1008
|
-
tmp_0 = _this__u8e3s4.
|
|
1021
|
+
tmp_0 = _this__u8e3s4.b1(0);
|
|
1009
1022
|
} else {
|
|
1010
1023
|
tmp_0 = _this__u8e3s4.t().v();
|
|
1011
1024
|
}
|
|
@@ -1070,7 +1083,7 @@ function withIndex_0(_this__u8e3s4) {
|
|
|
1070
1083
|
return new IndexingIterable(withIndex$lambda_0(_this__u8e3s4));
|
|
1071
1084
|
}
|
|
1072
1085
|
function singleOrNull(_this__u8e3s4) {
|
|
1073
|
-
return _this__u8e3s4.
|
|
1086
|
+
return _this__u8e3s4.c1() === 1 ? _this__u8e3s4.b1(0) : null;
|
|
1074
1087
|
}
|
|
1075
1088
|
function contains_6(_this__u8e3s4, element) {
|
|
1076
1089
|
if (isInterface(_this__u8e3s4, Collection))
|
|
@@ -1086,7 +1099,7 @@ function none(_this__u8e3s4) {
|
|
|
1086
1099
|
return !_this__u8e3s4.t().u();
|
|
1087
1100
|
}
|
|
1088
1101
|
function plus_1(_this__u8e3s4, elements) {
|
|
1089
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.
|
|
1102
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.c1() + elements.length | 0);
|
|
1090
1103
|
result.g1(_this__u8e3s4);
|
|
1091
1104
|
addAll_0(result, elements);
|
|
1092
1105
|
return result;
|
|
@@ -1118,7 +1131,7 @@ function toHashSet(_this__u8e3s4) {
|
|
|
1118
1131
|
return toCollection_0(_this__u8e3s4, HashSet_init_$Create$_1(mapCapacity(collectionSizeOrDefault(_this__u8e3s4, 12))));
|
|
1119
1132
|
}
|
|
1120
1133
|
function toBooleanArray(_this__u8e3s4) {
|
|
1121
|
-
var result = booleanArray(_this__u8e3s4.
|
|
1134
|
+
var result = booleanArray(_this__u8e3s4.c1());
|
|
1122
1135
|
var index = 0;
|
|
1123
1136
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
1124
1137
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -1137,7 +1150,7 @@ function takeLast(_this__u8e3s4, n) {
|
|
|
1137
1150
|
}
|
|
1138
1151
|
if (n === 0)
|
|
1139
1152
|
return emptyList();
|
|
1140
|
-
var size = _this__u8e3s4.
|
|
1153
|
+
var size = _this__u8e3s4.c1();
|
|
1141
1154
|
if (n >= size)
|
|
1142
1155
|
return toList_0(_this__u8e3s4);
|
|
1143
1156
|
if (n === 1)
|
|
@@ -1149,7 +1162,7 @@ function takeLast(_this__u8e3s4, n) {
|
|
|
1149
1162
|
do {
|
|
1150
1163
|
var index = inductionVariable;
|
|
1151
1164
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1152
|
-
list.x(_this__u8e3s4.
|
|
1165
|
+
list.x(_this__u8e3s4.b1(index));
|
|
1153
1166
|
}
|
|
1154
1167
|
while (inductionVariable < size);
|
|
1155
1168
|
} else {
|
|
@@ -1181,7 +1194,7 @@ function toCollection_0(_this__u8e3s4, destination) {
|
|
|
1181
1194
|
}
|
|
1182
1195
|
function sortedWith(_this__u8e3s4, comparator) {
|
|
1183
1196
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
1184
|
-
if (_this__u8e3s4.
|
|
1197
|
+
if (_this__u8e3s4.c1() <= 1)
|
|
1185
1198
|
return toList_0(_this__u8e3s4);
|
|
1186
1199
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1187
1200
|
var tmp = copyToArray(_this__u8e3s4);
|
|
@@ -1214,19 +1227,6 @@ function indexOf_5(_this__u8e3s4, element) {
|
|
|
1214
1227
|
}
|
|
1215
1228
|
return -1;
|
|
1216
1229
|
}
|
|
1217
|
-
function single_1(_this__u8e3s4) {
|
|
1218
|
-
if (isInterface(_this__u8e3s4, KtList))
|
|
1219
|
-
return single_0(_this__u8e3s4);
|
|
1220
|
-
else {
|
|
1221
|
-
var iterator = _this__u8e3s4.t();
|
|
1222
|
-
if (!iterator.u())
|
|
1223
|
-
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
|
|
1224
|
-
var single = iterator.v();
|
|
1225
|
-
if (iterator.u())
|
|
1226
|
-
throw IllegalArgumentException_init_$Create$_0('Collection has more than one element.');
|
|
1227
|
-
return single;
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
1230
|
function minOrNull(_this__u8e3s4) {
|
|
1231
1231
|
var iterator = _this__u8e3s4.t();
|
|
1232
1232
|
if (!iterator.u())
|
|
@@ -1253,7 +1253,7 @@ function intersect(_this__u8e3s4, other) {
|
|
|
1253
1253
|
return set;
|
|
1254
1254
|
}
|
|
1255
1255
|
function toCharArray(_this__u8e3s4) {
|
|
1256
|
-
var result = charArray(_this__u8e3s4.
|
|
1256
|
+
var result = charArray(_this__u8e3s4.c1());
|
|
1257
1257
|
var index = 0;
|
|
1258
1258
|
var _iterator__ex2g4s = _this__u8e3s4.t();
|
|
1259
1259
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -1276,7 +1276,7 @@ function withIndex$lambda_0($this_withIndex) {
|
|
|
1276
1276
|
};
|
|
1277
1277
|
}
|
|
1278
1278
|
function toList_1(_this__u8e3s4) {
|
|
1279
|
-
if (_this__u8e3s4.
|
|
1279
|
+
if (_this__u8e3s4.c1() === 0)
|
|
1280
1280
|
return emptyList();
|
|
1281
1281
|
var iterator = _this__u8e3s4.m1().t();
|
|
1282
1282
|
if (!iterator.u())
|
|
@@ -1287,7 +1287,7 @@ function toList_1(_this__u8e3s4) {
|
|
|
1287
1287
|
var tmp$ret$0 = new Pair(first.n1(), first.o1());
|
|
1288
1288
|
return listOf(tmp$ret$0);
|
|
1289
1289
|
}
|
|
1290
|
-
var result = ArrayList_init_$Create$_0(_this__u8e3s4.
|
|
1290
|
+
var result = ArrayList_init_$Create$_0(_this__u8e3s4.c1());
|
|
1291
1291
|
// Inline function 'kotlin.collections.toPair' call
|
|
1292
1292
|
var tmp$ret$1 = new Pair(first.n1(), first.o1());
|
|
1293
1293
|
result.x(tmp$ret$1);
|
|
@@ -1424,6 +1424,23 @@ 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 toSet_1(_this__u8e3s4) {
|
|
1428
|
+
var it = _this__u8e3s4.t();
|
|
1429
|
+
if (!it.u())
|
|
1430
|
+
return emptySet();
|
|
1431
|
+
var element = it.v();
|
|
1432
|
+
if (!it.u())
|
|
1433
|
+
return setOf(element);
|
|
1434
|
+
var dst = LinkedHashSet_init_$Create$();
|
|
1435
|
+
dst.x(element);
|
|
1436
|
+
while (it.u()) {
|
|
1437
|
+
dst.x(it.v());
|
|
1438
|
+
}
|
|
1439
|
+
return dst;
|
|
1440
|
+
}
|
|
1441
|
+
function flatMap(_this__u8e3s4, transform) {
|
|
1442
|
+
return new FlatteningSequence(_this__u8e3s4, transform, Iterable$iterator$ref());
|
|
1443
|
+
}
|
|
1427
1444
|
function last_2(_this__u8e3s4) {
|
|
1428
1445
|
var iterator = _this__u8e3s4.t();
|
|
1429
1446
|
if (!iterator.u())
|
|
@@ -1439,9 +1456,6 @@ function plus_2(_this__u8e3s4, elements) {
|
|
|
1439
1456
|
function mapNotNull(_this__u8e3s4, transform) {
|
|
1440
1457
|
return filterNotNull_0(new TransformingSequence(_this__u8e3s4, transform));
|
|
1441
1458
|
}
|
|
1442
|
-
function flatMap(_this__u8e3s4, transform) {
|
|
1443
|
-
return new FlatteningSequence(_this__u8e3s4, transform, Iterable$iterator$ref());
|
|
1444
|
-
}
|
|
1445
1459
|
function firstOrNull_0(_this__u8e3s4) {
|
|
1446
1460
|
var iterator = _this__u8e3s4.t();
|
|
1447
1461
|
if (!iterator.u())
|
|
@@ -1466,7 +1480,7 @@ function take_0(_this__u8e3s4, n) {
|
|
|
1466
1480
|
tmp = emptySequence();
|
|
1467
1481
|
} else {
|
|
1468
1482
|
if (isInterface(_this__u8e3s4, DropTakeSequence)) {
|
|
1469
|
-
tmp = _this__u8e3s4.
|
|
1483
|
+
tmp = _this__u8e3s4.w1(n);
|
|
1470
1484
|
} else {
|
|
1471
1485
|
tmp = new TakeSequence(_this__u8e3s4, n);
|
|
1472
1486
|
}
|
|
@@ -1524,10 +1538,10 @@ function onEach$lambda($action) {
|
|
|
1524
1538
|
};
|
|
1525
1539
|
}
|
|
1526
1540
|
function asIterable$$inlined$Iterable$1_0($this_asIterable) {
|
|
1527
|
-
this.
|
|
1541
|
+
this.x1_1 = $this_asIterable;
|
|
1528
1542
|
}
|
|
1529
1543
|
protoOf(asIterable$$inlined$Iterable$1_0).t = function () {
|
|
1530
|
-
return this.
|
|
1544
|
+
return this.x1_1.t();
|
|
1531
1545
|
};
|
|
1532
1546
|
function filterNotNull$lambda(it) {
|
|
1533
1547
|
return it == null;
|
|
@@ -1549,11 +1563,11 @@ function minus_0(_this__u8e3s4, elements) {
|
|
|
1549
1563
|
return destination;
|
|
1550
1564
|
}
|
|
1551
1565
|
var result = LinkedHashSet_init_$Create$_0(_this__u8e3s4);
|
|
1552
|
-
result.
|
|
1566
|
+
result.y1(other);
|
|
1553
1567
|
return result;
|
|
1554
1568
|
}
|
|
1555
1569
|
function plus_3(_this__u8e3s4, element) {
|
|
1556
|
-
var result = LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.
|
|
1570
|
+
var result = LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.c1() + 1 | 0));
|
|
1557
1571
|
result.g1(_this__u8e3s4);
|
|
1558
1572
|
result.x(element);
|
|
1559
1573
|
return result;
|
|
@@ -1565,10 +1579,10 @@ function plus_4(_this__u8e3s4, elements) {
|
|
|
1565
1579
|
tmp = null;
|
|
1566
1580
|
} else {
|
|
1567
1581
|
// Inline function 'kotlin.let' call
|
|
1568
|
-
tmp = _this__u8e3s4.
|
|
1582
|
+
tmp = _this__u8e3s4.c1() + tmp0_safe_receiver | 0;
|
|
1569
1583
|
}
|
|
1570
1584
|
var tmp1_elvis_lhs = tmp;
|
|
1571
|
-
var result = LinkedHashSet_init_$Create$_1(mapCapacity(tmp1_elvis_lhs == null ? imul_0(_this__u8e3s4.
|
|
1585
|
+
var result = LinkedHashSet_init_$Create$_1(mapCapacity(tmp1_elvis_lhs == null ? imul_0(_this__u8e3s4.c1(), 2) : tmp1_elvis_lhs));
|
|
1572
1586
|
result.g1(_this__u8e3s4);
|
|
1573
1587
|
addAll(result, elements);
|
|
1574
1588
|
return result;
|
|
@@ -3848,6 +3862,12 @@ function ulongToString(value, base) {
|
|
|
3848
3862
|
function collectionToArray(collection) {
|
|
3849
3863
|
return collectionToArrayCommonImpl(collection);
|
|
3850
3864
|
}
|
|
3865
|
+
function mapOf(pair) {
|
|
3866
|
+
return hashMapOf([pair]);
|
|
3867
|
+
}
|
|
3868
|
+
function setOf(element) {
|
|
3869
|
+
return hashSetOf([element]);
|
|
3870
|
+
}
|
|
3851
3871
|
function listOf(element) {
|
|
3852
3872
|
// Inline function 'kotlin.arrayOf' call
|
|
3853
3873
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -3855,12 +3875,6 @@ function listOf(element) {
|
|
|
3855
3875
|
var tmp$ret$0 = [element];
|
|
3856
3876
|
return new ArrayList(tmp$ret$0);
|
|
3857
3877
|
}
|
|
3858
|
-
function mapOf(pair) {
|
|
3859
|
-
return hashMapOf([pair]);
|
|
3860
|
-
}
|
|
3861
|
-
function setOf(element) {
|
|
3862
|
-
return hashSetOf([element]);
|
|
3863
|
-
}
|
|
3864
3878
|
function copyToArray(collection) {
|
|
3865
3879
|
var tmp;
|
|
3866
3880
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3932,7 +3946,7 @@ function checkBuilderCapacity(capacity) {
|
|
|
3932
3946
|
}
|
|
3933
3947
|
}
|
|
3934
3948
|
function collectionsSort(list, comparator) {
|
|
3935
|
-
if (list.
|
|
3949
|
+
if (list.c1() <= 1)
|
|
3936
3950
|
return Unit_instance;
|
|
3937
3951
|
var array = copyToArray(list);
|
|
3938
3952
|
sortArrayWith(array, comparator);
|
|
@@ -3976,7 +3990,7 @@ protoOf(AbstractMutableCollection).g1 = function (elements) {
|
|
|
3976
3990
|
}
|
|
3977
3991
|
return modified;
|
|
3978
3992
|
};
|
|
3979
|
-
protoOf(AbstractMutableCollection).
|
|
3993
|
+
protoOf(AbstractMutableCollection).y1 = function (elements) {
|
|
3980
3994
|
this.h4();
|
|
3981
3995
|
var tmp = isInterface(this, MutableIterable) ? this : THROW_CCE();
|
|
3982
3996
|
return removeAll_1(tmp, AbstractMutableCollection$removeAll$lambda(elements));
|
|
@@ -3992,7 +4006,7 @@ function IteratorImpl($outer) {
|
|
|
3992
4006
|
this.k4_1 = -1;
|
|
3993
4007
|
}
|
|
3994
4008
|
protoOf(IteratorImpl).u = function () {
|
|
3995
|
-
return this.j4_1 < this.l4_1.
|
|
4009
|
+
return this.j4_1 < this.l4_1.c1();
|
|
3996
4010
|
};
|
|
3997
4011
|
protoOf(IteratorImpl).v = function () {
|
|
3998
4012
|
if (!this.u())
|
|
@@ -4001,7 +4015,7 @@ protoOf(IteratorImpl).v = function () {
|
|
|
4001
4015
|
var _unary__edvuaz = this.j4_1;
|
|
4002
4016
|
this.j4_1 = _unary__edvuaz + 1 | 0;
|
|
4003
4017
|
tmp.k4_1 = _unary__edvuaz;
|
|
4004
|
-
return this.l4_1.
|
|
4018
|
+
return this.l4_1.b1(this.k4_1);
|
|
4005
4019
|
};
|
|
4006
4020
|
protoOf(IteratorImpl).i4 = function () {
|
|
4007
4021
|
// Inline function 'kotlin.check' call
|
|
@@ -4016,7 +4030,7 @@ protoOf(IteratorImpl).i4 = function () {
|
|
|
4016
4030
|
function ListIteratorImpl($outer, index) {
|
|
4017
4031
|
this.q4_1 = $outer;
|
|
4018
4032
|
IteratorImpl.call(this, $outer);
|
|
4019
|
-
Companion_instance_5.r4(index, this.q4_1.
|
|
4033
|
+
Companion_instance_5.r4(index, this.q4_1.c1());
|
|
4020
4034
|
this.j4_1 = index;
|
|
4021
4035
|
}
|
|
4022
4036
|
protoOf(ListIteratorImpl).s4 = function () {
|
|
@@ -4031,7 +4045,7 @@ protoOf(ListIteratorImpl).u4 = function () {
|
|
|
4031
4045
|
var tmp = this;
|
|
4032
4046
|
this.j4_1 = this.j4_1 - 1 | 0;
|
|
4033
4047
|
tmp.k4_1 = this.j4_1;
|
|
4034
|
-
return this.q4_1.
|
|
4048
|
+
return this.q4_1.b1(this.k4_1);
|
|
4035
4049
|
};
|
|
4036
4050
|
protoOf(ListIteratorImpl).v4 = function () {
|
|
4037
4051
|
return this.j4_1 - 1 | 0;
|
|
@@ -4041,7 +4055,7 @@ function SubList(list, fromIndex, toIndex) {
|
|
|
4041
4055
|
this.x4_1 = list;
|
|
4042
4056
|
this.y4_1 = fromIndex;
|
|
4043
4057
|
this.z4_1 = 0;
|
|
4044
|
-
Companion_instance_5.z3(this.y4_1, toIndex, this.x4_1.
|
|
4058
|
+
Companion_instance_5.z3(this.y4_1, toIndex, this.x4_1.c1());
|
|
4045
4059
|
this.z4_1 = toIndex - this.y4_1 | 0;
|
|
4046
4060
|
}
|
|
4047
4061
|
protoOf(SubList).b3 = function (index, element) {
|
|
@@ -4049,9 +4063,9 @@ protoOf(SubList).b3 = function (index, element) {
|
|
|
4049
4063
|
this.x4_1.b3(this.y4_1 + index | 0, element);
|
|
4050
4064
|
this.z4_1 = this.z4_1 + 1 | 0;
|
|
4051
4065
|
};
|
|
4052
|
-
protoOf(SubList).
|
|
4066
|
+
protoOf(SubList).b1 = function (index) {
|
|
4053
4067
|
Companion_instance_5.a5(index, this.z4_1);
|
|
4054
|
-
return this.x4_1.
|
|
4068
|
+
return this.x4_1.b1(this.y4_1 + index | 0);
|
|
4055
4069
|
};
|
|
4056
4070
|
protoOf(SubList).c3 = function (index) {
|
|
4057
4071
|
Companion_instance_5.a5(index, this.z4_1);
|
|
@@ -4067,7 +4081,7 @@ protoOf(SubList).b5 = function (fromIndex, toIndex) {
|
|
|
4067
4081
|
this.x4_1.b5(this.y4_1 + fromIndex | 0, this.y4_1 + toIndex | 0);
|
|
4068
4082
|
this.z4_1 = this.z4_1 - (toIndex - fromIndex | 0) | 0;
|
|
4069
4083
|
};
|
|
4070
|
-
protoOf(SubList).
|
|
4084
|
+
protoOf(SubList).c1 = function () {
|
|
4071
4085
|
return this.z4_1;
|
|
4072
4086
|
};
|
|
4073
4087
|
protoOf(SubList).h4 = function () {
|
|
@@ -4084,14 +4098,14 @@ function AbstractMutableList() {
|
|
|
4084
4098
|
}
|
|
4085
4099
|
protoOf(AbstractMutableList).x = function (element) {
|
|
4086
4100
|
this.h4();
|
|
4087
|
-
this.b3(this.
|
|
4101
|
+
this.b3(this.c1(), element);
|
|
4088
4102
|
return true;
|
|
4089
4103
|
};
|
|
4090
4104
|
protoOf(AbstractMutableList).z2 = function () {
|
|
4091
4105
|
this.h4();
|
|
4092
|
-
this.b5(0, this.
|
|
4106
|
+
this.b5(0, this.c1());
|
|
4093
4107
|
};
|
|
4094
|
-
protoOf(AbstractMutableList).
|
|
4108
|
+
protoOf(AbstractMutableList).y1 = function (elements) {
|
|
4095
4109
|
this.h4();
|
|
4096
4110
|
return removeAll_0(this, AbstractMutableList$removeAll$lambda(elements));
|
|
4097
4111
|
};
|
|
@@ -4301,19 +4315,19 @@ function ArrayList_init_$Create$_1(elements) {
|
|
|
4301
4315
|
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
|
|
4302
4316
|
}
|
|
4303
4317
|
function increaseLength($this, amount) {
|
|
4304
|
-
var previous = $this.
|
|
4318
|
+
var previous = $this.c1();
|
|
4305
4319
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4306
|
-
$this.e1_1.length = $this.
|
|
4320
|
+
$this.e1_1.length = $this.c1() + amount | 0;
|
|
4307
4321
|
return previous;
|
|
4308
4322
|
}
|
|
4309
4323
|
function rangeCheck($this, index) {
|
|
4310
4324
|
// Inline function 'kotlin.apply' call
|
|
4311
|
-
Companion_instance_5.a5(index, $this.
|
|
4325
|
+
Companion_instance_5.a5(index, $this.c1());
|
|
4312
4326
|
return index;
|
|
4313
4327
|
}
|
|
4314
4328
|
function insertionRangeCheck($this, index) {
|
|
4315
4329
|
// Inline function 'kotlin.apply' call
|
|
4316
|
-
Companion_instance_5.r4(index, $this.
|
|
4330
|
+
Companion_instance_5.r4(index, $this.c1());
|
|
4317
4331
|
return index;
|
|
4318
4332
|
}
|
|
4319
4333
|
function ArrayList(array) {
|
|
@@ -4325,14 +4339,14 @@ function ArrayList(array) {
|
|
|
4325
4339
|
protoOf(ArrayList).q5 = function () {
|
|
4326
4340
|
this.h4();
|
|
4327
4341
|
this.f1_1 = true;
|
|
4328
|
-
return this.
|
|
4342
|
+
return this.c1() > 0 ? this : Companion_getInstance_2().p5_1;
|
|
4329
4343
|
};
|
|
4330
4344
|
protoOf(ArrayList).r5 = function (minCapacity) {
|
|
4331
4345
|
};
|
|
4332
|
-
protoOf(ArrayList).
|
|
4346
|
+
protoOf(ArrayList).c1 = function () {
|
|
4333
4347
|
return this.e1_1.length;
|
|
4334
4348
|
};
|
|
4335
|
-
protoOf(ArrayList).
|
|
4349
|
+
protoOf(ArrayList).b1 = function (index) {
|
|
4336
4350
|
return this.e1_1[rangeCheck(this, index)];
|
|
4337
4351
|
};
|
|
4338
4352
|
protoOf(ArrayList).a3 = function (index, element) {
|
|
@@ -4360,7 +4374,7 @@ protoOf(ArrayList).g1 = function (elements) {
|
|
|
4360
4374
|
this.h4();
|
|
4361
4375
|
if (elements.r())
|
|
4362
4376
|
return false;
|
|
4363
|
-
var offset = increaseLength(this, elements.
|
|
4377
|
+
var offset = increaseLength(this, elements.c1());
|
|
4364
4378
|
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
4365
4379
|
var index = 0;
|
|
4366
4380
|
var _iterator__ex2g4s = elements.t();
|
|
@@ -4626,8 +4640,8 @@ protoOf(HashMap).v2 = function (key, value) {
|
|
|
4626
4640
|
protoOf(HashMap).w2 = function (key) {
|
|
4627
4641
|
return this.x5_1.w2(key);
|
|
4628
4642
|
};
|
|
4629
|
-
protoOf(HashMap).
|
|
4630
|
-
return this.x5_1.
|
|
4643
|
+
protoOf(HashMap).c1 = function () {
|
|
4644
|
+
return this.x5_1.c1();
|
|
4631
4645
|
};
|
|
4632
4646
|
protoOf(HashMap).x2 = function (from) {
|
|
4633
4647
|
return this.x5_1.x2(from);
|
|
@@ -4639,11 +4653,11 @@ function HashMapKeys(backing) {
|
|
|
4639
4653
|
AbstractMutableSet.call(this);
|
|
4640
4654
|
this.a6_1 = backing;
|
|
4641
4655
|
}
|
|
4642
|
-
protoOf(HashMapKeys).
|
|
4643
|
-
return this.a6_1.
|
|
4656
|
+
protoOf(HashMapKeys).c1 = function () {
|
|
4657
|
+
return this.a6_1.c1();
|
|
4644
4658
|
};
|
|
4645
4659
|
protoOf(HashMapKeys).r = function () {
|
|
4646
|
-
return this.a6_1.
|
|
4660
|
+
return this.a6_1.c1() === 0;
|
|
4647
4661
|
};
|
|
4648
4662
|
protoOf(HashMapKeys).i1 = function (element) {
|
|
4649
4663
|
return this.a6_1.z5(element);
|
|
@@ -4667,11 +4681,11 @@ function HashMapValues(backing) {
|
|
|
4667
4681
|
AbstractMutableCollection.call(this);
|
|
4668
4682
|
this.e6_1 = backing;
|
|
4669
4683
|
}
|
|
4670
|
-
protoOf(HashMapValues).
|
|
4671
|
-
return this.e6_1.
|
|
4684
|
+
protoOf(HashMapValues).c1 = function () {
|
|
4685
|
+
return this.e6_1.c1();
|
|
4672
4686
|
};
|
|
4673
4687
|
protoOf(HashMapValues).r = function () {
|
|
4674
|
-
return this.e6_1.
|
|
4688
|
+
return this.e6_1.c1() === 0;
|
|
4675
4689
|
};
|
|
4676
4690
|
protoOf(HashMapValues).f6 = function (element) {
|
|
4677
4691
|
return this.e6_1.r2(element);
|
|
@@ -4717,11 +4731,11 @@ function HashMapEntrySetBase(backing) {
|
|
|
4717
4731
|
AbstractMutableSet.call(this);
|
|
4718
4732
|
this.m6_1 = backing;
|
|
4719
4733
|
}
|
|
4720
|
-
protoOf(HashMapEntrySetBase).
|
|
4721
|
-
return this.m6_1.
|
|
4734
|
+
protoOf(HashMapEntrySetBase).c1 = function () {
|
|
4735
|
+
return this.m6_1.c1();
|
|
4722
4736
|
};
|
|
4723
4737
|
protoOf(HashMapEntrySetBase).r = function () {
|
|
4724
|
-
return this.m6_1.
|
|
4738
|
+
return this.m6_1.c1() === 0;
|
|
4725
4739
|
};
|
|
4726
4740
|
protoOf(HashMapEntrySetBase).o6 = function (element) {
|
|
4727
4741
|
return this.m6_1.r6(element);
|
|
@@ -4801,8 +4815,8 @@ protoOf(HashMapKeysDefault).y2 = function (element) {
|
|
|
4801
4815
|
return false;
|
|
4802
4816
|
return this.w2(element);
|
|
4803
4817
|
};
|
|
4804
|
-
protoOf(HashMapKeysDefault).
|
|
4805
|
-
return this.v6_1.
|
|
4818
|
+
protoOf(HashMapKeysDefault).c1 = function () {
|
|
4819
|
+
return this.v6_1.c1();
|
|
4806
4820
|
};
|
|
4807
4821
|
protoOf(HashMapKeysDefault).h4 = function () {
|
|
4808
4822
|
return this.v6_1.h4();
|
|
@@ -4841,8 +4855,8 @@ protoOf(HashMapValuesDefault).t = function () {
|
|
|
4841
4855
|
var entryIterator = this.y6_1.m1().t();
|
|
4842
4856
|
return new HashMapValuesDefault$iterator$1(entryIterator);
|
|
4843
4857
|
};
|
|
4844
|
-
protoOf(HashMapValuesDefault).
|
|
4845
|
-
return this.y6_1.
|
|
4858
|
+
protoOf(HashMapValuesDefault).c1 = function () {
|
|
4859
|
+
return this.y6_1.c1();
|
|
4846
4860
|
};
|
|
4847
4861
|
protoOf(HashMapValuesDefault).h4 = function () {
|
|
4848
4862
|
return this.y6_1.h4();
|
|
@@ -4850,7 +4864,7 @@ protoOf(HashMapValuesDefault).h4 = function () {
|
|
|
4850
4864
|
function HashSet_init_$Init$(map, $this) {
|
|
4851
4865
|
AbstractMutableSet.call($this);
|
|
4852
4866
|
HashSet.call($this);
|
|
4853
|
-
$this.
|
|
4867
|
+
$this.v1_1 = map;
|
|
4854
4868
|
return $this;
|
|
4855
4869
|
}
|
|
4856
4870
|
function HashSet_init_$Init$_0($this) {
|
|
@@ -4861,11 +4875,11 @@ function HashSet_init_$Create$() {
|
|
|
4861
4875
|
return HashSet_init_$Init$_0(objectCreate(protoOf(HashSet)));
|
|
4862
4876
|
}
|
|
4863
4877
|
function HashSet_init_$Init$_1(elements, $this) {
|
|
4864
|
-
HashSet_init_$Init$(InternalHashMap_init_$Create$_0(elements.
|
|
4878
|
+
HashSet_init_$Init$(InternalHashMap_init_$Create$_0(elements.c1()), $this);
|
|
4865
4879
|
var _iterator__ex2g4s = elements.t();
|
|
4866
4880
|
while (_iterator__ex2g4s.u()) {
|
|
4867
4881
|
var element = _iterator__ex2g4s.v();
|
|
4868
|
-
$this.
|
|
4882
|
+
$this.v1_1.v2(element, true);
|
|
4869
4883
|
}
|
|
4870
4884
|
return $this;
|
|
4871
4885
|
}
|
|
@@ -4884,22 +4898,22 @@ function HashSet_init_$Create$_1(initialCapacity) {
|
|
|
4884
4898
|
return HashSet_init_$Init$_3(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
4885
4899
|
}
|
|
4886
4900
|
protoOf(HashSet).x = function (element) {
|
|
4887
|
-
return this.
|
|
4901
|
+
return this.v1_1.v2(element, true) == null;
|
|
4888
4902
|
};
|
|
4889
4903
|
protoOf(HashSet).i1 = function (element) {
|
|
4890
|
-
return this.
|
|
4904
|
+
return this.v1_1.z5(element);
|
|
4891
4905
|
};
|
|
4892
4906
|
protoOf(HashSet).r = function () {
|
|
4893
|
-
return this.
|
|
4907
|
+
return this.v1_1.c1() === 0;
|
|
4894
4908
|
};
|
|
4895
4909
|
protoOf(HashSet).t = function () {
|
|
4896
|
-
return this.
|
|
4910
|
+
return this.v1_1.c6();
|
|
4897
4911
|
};
|
|
4898
4912
|
protoOf(HashSet).y2 = function (element) {
|
|
4899
|
-
return !(this.
|
|
4913
|
+
return !(this.v1_1.w2(element) == null);
|
|
4900
4914
|
};
|
|
4901
|
-
protoOf(HashSet).
|
|
4902
|
-
return this.
|
|
4915
|
+
protoOf(HashSet).c1 = function () {
|
|
4916
|
+
return this.v1_1.c1();
|
|
4903
4917
|
};
|
|
4904
4918
|
function HashSet() {
|
|
4905
4919
|
}
|
|
@@ -4929,7 +4943,7 @@ function InternalHashMap_init_$Create$_0(initialCapacity) {
|
|
|
4929
4943
|
return InternalHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(InternalHashMap)));
|
|
4930
4944
|
}
|
|
4931
4945
|
function InternalHashMap_init_$Init$_1(original, $this) {
|
|
4932
|
-
InternalHashMap_init_$Init$_0(original.
|
|
4946
|
+
InternalHashMap_init_$Init$_0(original.c1(), $this);
|
|
4933
4947
|
$this.x2(original);
|
|
4934
4948
|
return $this;
|
|
4935
4949
|
}
|
|
@@ -4966,7 +4980,7 @@ function ensureExtraCapacity($this, n) {
|
|
|
4966
4980
|
}
|
|
4967
4981
|
function shouldCompact($this, extraCapacity) {
|
|
4968
4982
|
var spareCapacity = _get_capacity__a9k9f3($this) - $this.e7_1 | 0;
|
|
4969
|
-
var gaps = $this.e7_1 - $this.
|
|
4983
|
+
var gaps = $this.e7_1 - $this.c1() | 0;
|
|
4970
4984
|
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
|
|
4971
4985
|
}
|
|
4972
4986
|
function ensureCapacity($this, minCapacity) {
|
|
@@ -5170,7 +5184,7 @@ function removeHashAt($this, removedHash) {
|
|
|
5170
5184
|
}
|
|
5171
5185
|
}
|
|
5172
5186
|
function contentEquals_1($this, other) {
|
|
5173
|
-
return $this.h7_1 === other.
|
|
5187
|
+
return $this.h7_1 === other.c1() && $this.t6(other.m1());
|
|
5174
5188
|
}
|
|
5175
5189
|
function putEntry($this, entry) {
|
|
5176
5190
|
var index = addKey($this, entry.n1());
|
|
@@ -5189,7 +5203,7 @@ function putEntry($this, entry) {
|
|
|
5189
5203
|
function putAllEntries($this, from) {
|
|
5190
5204
|
if (from.r())
|
|
5191
5205
|
return false;
|
|
5192
|
-
ensureExtraCapacity($this, from.
|
|
5206
|
+
ensureExtraCapacity($this, from.c1());
|
|
5193
5207
|
var it = from.t();
|
|
5194
5208
|
var updated = false;
|
|
5195
5209
|
while (it.u()) {
|
|
@@ -5375,7 +5389,7 @@ function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxPr
|
|
|
5375
5389
|
this.h7_1 = 0;
|
|
5376
5390
|
this.i7_1 = false;
|
|
5377
5391
|
}
|
|
5378
|
-
protoOf(InternalHashMap).
|
|
5392
|
+
protoOf(InternalHashMap).c1 = function () {
|
|
5379
5393
|
return this.h7_1;
|
|
5380
5394
|
};
|
|
5381
5395
|
protoOf(InternalHashMap).l8 = function () {
|
|
@@ -5556,7 +5570,7 @@ function EmptyHolder_getInstance() {
|
|
|
5556
5570
|
protoOf(LinkedHashMap).q5 = function () {
|
|
5557
5571
|
this.x5_1.l8();
|
|
5558
5572
|
var tmp;
|
|
5559
|
-
if (this.
|
|
5573
|
+
if (this.c1() > 0) {
|
|
5560
5574
|
tmp = this;
|
|
5561
5575
|
} else {
|
|
5562
5576
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -5621,11 +5635,11 @@ function EmptyHolder_getInstance_0() {
|
|
|
5621
5635
|
return EmptyHolder_instance_0;
|
|
5622
5636
|
}
|
|
5623
5637
|
protoOf(LinkedHashSet).q5 = function () {
|
|
5624
|
-
this.
|
|
5625
|
-
return this.
|
|
5638
|
+
this.v1_1.l8();
|
|
5639
|
+
return this.c1() > 0 ? this : EmptyHolder_getInstance_0().u8_1;
|
|
5626
5640
|
};
|
|
5627
5641
|
protoOf(LinkedHashSet).h4 = function () {
|
|
5628
|
-
return this.
|
|
5642
|
+
return this.v1_1.d6();
|
|
5629
5643
|
};
|
|
5630
5644
|
function LinkedHashSet() {
|
|
5631
5645
|
}
|
|
@@ -7422,11 +7436,11 @@ function substituteGroupRefs(match, replacement) {
|
|
|
7422
7436
|
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
7423
7437
|
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
|
|
7424
7438
|
var groups = match.jd();
|
|
7425
|
-
var endIndex_0 = readGroupIndex(replacement, index, groups.
|
|
7439
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.c1());
|
|
7426
7440
|
var groupIndex = toInt_0(substring(replacement, index, endIndex_0));
|
|
7427
|
-
if (groupIndex >= groups.
|
|
7441
|
+
if (groupIndex >= groups.c1())
|
|
7428
7442
|
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
|
|
7429
|
-
var tmp2_safe_receiver = groups.
|
|
7443
|
+
var tmp2_safe_receiver = groups.b1(groupIndex);
|
|
7430
7444
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.id_1;
|
|
7431
7445
|
result.q(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
7432
7446
|
index = endIndex_0;
|
|
@@ -7488,7 +7502,7 @@ function toFlags$lambda(it) {
|
|
|
7488
7502
|
}
|
|
7489
7503
|
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
7490
7504
|
return function (it) {
|
|
7491
|
-
return this$0.
|
|
7505
|
+
return this$0.b1(it);
|
|
7492
7506
|
};
|
|
7493
7507
|
}
|
|
7494
7508
|
function hasOwnPrototypeProperty($this, o, name) {
|
|
@@ -7516,14 +7530,14 @@ function findNext$1$groups$1($match, this$0) {
|
|
|
7516
7530
|
this.md_1 = this$0;
|
|
7517
7531
|
AbstractCollection.call(this);
|
|
7518
7532
|
}
|
|
7519
|
-
protoOf(findNext$1$groups$1).
|
|
7533
|
+
protoOf(findNext$1$groups$1).c1 = function () {
|
|
7520
7534
|
return this.ld_1.length;
|
|
7521
7535
|
};
|
|
7522
7536
|
protoOf(findNext$1$groups$1).t = function () {
|
|
7523
7537
|
var tmp = asSequence_0(get_indices_1(this));
|
|
7524
7538
|
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).t();
|
|
7525
7539
|
};
|
|
7526
|
-
protoOf(findNext$1$groups$1).
|
|
7540
|
+
protoOf(findNext$1$groups$1).b1 = function (index) {
|
|
7527
7541
|
// Inline function 'kotlin.js.get' call
|
|
7528
7542
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7529
7543
|
var tmp0_safe_receiver = this.ld_1[index];
|
|
@@ -7561,10 +7575,10 @@ function findNext$1$groupValues$1($match) {
|
|
|
7561
7575
|
this.ud_1 = $match;
|
|
7562
7576
|
AbstractList.call(this);
|
|
7563
7577
|
}
|
|
7564
|
-
protoOf(findNext$1$groupValues$1).
|
|
7578
|
+
protoOf(findNext$1$groupValues$1).c1 = function () {
|
|
7565
7579
|
return this.ud_1.length;
|
|
7566
7580
|
};
|
|
7567
|
-
protoOf(findNext$1$groupValues$1).
|
|
7581
|
+
protoOf(findNext$1$groupValues$1).b1 = function (index) {
|
|
7568
7582
|
// Inline function 'kotlin.js.get' call
|
|
7569
7583
|
// Inline function 'kotlin.js.asDynamic' call
|
|
7570
7584
|
var tmp0_elvis_lhs = this.ud_1[index];
|
|
@@ -7998,7 +8012,7 @@ protoOf(AbstractCollection).o2 = function (elements) {
|
|
|
7998
8012
|
return tmp$ret$0;
|
|
7999
8013
|
};
|
|
8000
8014
|
protoOf(AbstractCollection).r = function () {
|
|
8001
|
-
return this.
|
|
8015
|
+
return this.c1() === 0;
|
|
8002
8016
|
};
|
|
8003
8017
|
protoOf(AbstractCollection).toString = function () {
|
|
8004
8018
|
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
@@ -8055,14 +8069,14 @@ function SubList_0(list, fromIndex, toIndex) {
|
|
|
8055
8069
|
this.he_1 = list;
|
|
8056
8070
|
this.ie_1 = fromIndex;
|
|
8057
8071
|
this.je_1 = 0;
|
|
8058
|
-
Companion_instance_5.z3(this.ie_1, toIndex, this.he_1.
|
|
8072
|
+
Companion_instance_5.z3(this.ie_1, toIndex, this.he_1.c1());
|
|
8059
8073
|
this.je_1 = toIndex - this.ie_1 | 0;
|
|
8060
8074
|
}
|
|
8061
|
-
protoOf(SubList_0).
|
|
8075
|
+
protoOf(SubList_0).b1 = function (index) {
|
|
8062
8076
|
Companion_instance_5.a5(index, this.je_1);
|
|
8063
|
-
return this.he_1.
|
|
8077
|
+
return this.he_1.b1(this.ie_1 + index | 0);
|
|
8064
8078
|
};
|
|
8065
|
-
protoOf(SubList_0).
|
|
8079
|
+
protoOf(SubList_0).c1 = function () {
|
|
8066
8080
|
return this.je_1;
|
|
8067
8081
|
};
|
|
8068
8082
|
protoOf(SubList_0).p2 = function (fromIndex, toIndex) {
|
|
@@ -8074,19 +8088,19 @@ function IteratorImpl_0($outer) {
|
|
|
8074
8088
|
this.ke_1 = 0;
|
|
8075
8089
|
}
|
|
8076
8090
|
protoOf(IteratorImpl_0).u = function () {
|
|
8077
|
-
return this.ke_1 < this.le_1.
|
|
8091
|
+
return this.ke_1 < this.le_1.c1();
|
|
8078
8092
|
};
|
|
8079
8093
|
protoOf(IteratorImpl_0).v = function () {
|
|
8080
8094
|
if (!this.u())
|
|
8081
8095
|
throw NoSuchElementException_init_$Create$();
|
|
8082
8096
|
var _unary__edvuaz = this.ke_1;
|
|
8083
8097
|
this.ke_1 = _unary__edvuaz + 1 | 0;
|
|
8084
|
-
return this.le_1.
|
|
8098
|
+
return this.le_1.b1(_unary__edvuaz);
|
|
8085
8099
|
};
|
|
8086
8100
|
function ListIteratorImpl_0($outer, index) {
|
|
8087
8101
|
this.oe_1 = $outer;
|
|
8088
8102
|
IteratorImpl_0.call(this, $outer);
|
|
8089
|
-
Companion_instance_5.r4(index, this.oe_1.
|
|
8103
|
+
Companion_instance_5.r4(index, this.oe_1.c1());
|
|
8090
8104
|
this.ke_1 = index;
|
|
8091
8105
|
}
|
|
8092
8106
|
protoOf(ListIteratorImpl_0).s4 = function () {
|
|
@@ -8099,7 +8113,7 @@ protoOf(ListIteratorImpl_0).u4 = function () {
|
|
|
8099
8113
|
if (!this.s4())
|
|
8100
8114
|
throw NoSuchElementException_init_$Create$();
|
|
8101
8115
|
this.ke_1 = this.ke_1 - 1 | 0;
|
|
8102
|
-
return this.oe_1.
|
|
8116
|
+
return this.oe_1.b1(this.ke_1);
|
|
8103
8117
|
};
|
|
8104
8118
|
protoOf(ListIteratorImpl_0).v4 = function () {
|
|
8105
8119
|
return this.ke_1 - 1 | 0;
|
|
@@ -8153,7 +8167,7 @@ protoOf(Companion_5).d5 = function (c) {
|
|
|
8153
8167
|
return hashCode;
|
|
8154
8168
|
};
|
|
8155
8169
|
protoOf(Companion_5).c5 = function (c, other) {
|
|
8156
|
-
if (!(c.
|
|
8170
|
+
if (!(c.c1() === other.c1()))
|
|
8157
8171
|
return false;
|
|
8158
8172
|
var otherIterator = other.t();
|
|
8159
8173
|
var _iterator__ex2g4s = c.t();
|
|
@@ -8273,8 +8287,8 @@ protoOf(AbstractMap$keys$1).t = function () {
|
|
|
8273
8287
|
var entryIterator = this.re_1.m1().t();
|
|
8274
8288
|
return new AbstractMap$keys$1$iterator$1(entryIterator);
|
|
8275
8289
|
};
|
|
8276
|
-
protoOf(AbstractMap$keys$1).
|
|
8277
|
-
return this.re_1.
|
|
8290
|
+
protoOf(AbstractMap$keys$1).c1 = function () {
|
|
8291
|
+
return this.re_1.c1();
|
|
8278
8292
|
};
|
|
8279
8293
|
function AbstractMap$toString$lambda(this$0) {
|
|
8280
8294
|
return function (it) {
|
|
@@ -8297,8 +8311,8 @@ protoOf(AbstractMap$values$1).t = function () {
|
|
|
8297
8311
|
var entryIterator = this.se_1.m1().t();
|
|
8298
8312
|
return new AbstractMap$values$1$iterator$1(entryIterator);
|
|
8299
8313
|
};
|
|
8300
|
-
protoOf(AbstractMap$values$1).
|
|
8301
|
-
return this.se_1.
|
|
8314
|
+
protoOf(AbstractMap$values$1).c1 = function () {
|
|
8315
|
+
return this.se_1.c1();
|
|
8302
8316
|
};
|
|
8303
8317
|
function AbstractMap() {
|
|
8304
8318
|
this.k5_1 = null;
|
|
@@ -8361,7 +8375,7 @@ protoOf(AbstractMap).equals = function (other) {
|
|
|
8361
8375
|
return true;
|
|
8362
8376
|
if (!(!(other == null) ? isInterface(other, KtMap) : false))
|
|
8363
8377
|
return false;
|
|
8364
|
-
if (!(this.
|
|
8378
|
+
if (!(this.c1() === other.c1()))
|
|
8365
8379
|
return false;
|
|
8366
8380
|
var tmp0 = other.m1();
|
|
8367
8381
|
var tmp$ret$0;
|
|
@@ -8397,10 +8411,10 @@ protoOf(AbstractMap).hashCode = function () {
|
|
|
8397
8411
|
return hashCode_0(this.m1());
|
|
8398
8412
|
};
|
|
8399
8413
|
protoOf(AbstractMap).r = function () {
|
|
8400
|
-
return this.
|
|
8414
|
+
return this.c1() === 0;
|
|
8401
8415
|
};
|
|
8402
|
-
protoOf(AbstractMap).
|
|
8403
|
-
return this.m1().
|
|
8416
|
+
protoOf(AbstractMap).c1 = function () {
|
|
8417
|
+
return this.m1().c1();
|
|
8404
8418
|
};
|
|
8405
8419
|
protoOf(AbstractMap).t2 = function () {
|
|
8406
8420
|
if (this.k5_1 == null) {
|
|
@@ -8434,7 +8448,7 @@ protoOf(Companion_7).o5 = function (c) {
|
|
|
8434
8448
|
return hashCode;
|
|
8435
8449
|
};
|
|
8436
8450
|
protoOf(Companion_7).n5 = function (c, other) {
|
|
8437
|
-
if (!(c.
|
|
8451
|
+
if (!(c.c1() === other.c1()))
|
|
8438
8452
|
return false;
|
|
8439
8453
|
return c.o2(other);
|
|
8440
8454
|
};
|
|
@@ -8461,7 +8475,7 @@ function collectionToArrayCommonImpl(collection) {
|
|
|
8461
8475
|
return [];
|
|
8462
8476
|
}
|
|
8463
8477
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
8464
|
-
var size = collection.
|
|
8478
|
+
var size = collection.c1();
|
|
8465
8479
|
var destination = Array(size);
|
|
8466
8480
|
var iterator = collection.t();
|
|
8467
8481
|
var index = 0;
|
|
@@ -8497,17 +8511,17 @@ function listOfNotNull_0(elements) {
|
|
|
8497
8511
|
return filterNotNull(elements);
|
|
8498
8512
|
}
|
|
8499
8513
|
function get_lastIndex_3(_this__u8e3s4) {
|
|
8500
|
-
return _this__u8e3s4.
|
|
8514
|
+
return _this__u8e3s4.c1() - 1 | 0;
|
|
8501
8515
|
}
|
|
8502
8516
|
function get_indices_1(_this__u8e3s4) {
|
|
8503
|
-
return numberRangeToNumber(0, _this__u8e3s4.
|
|
8517
|
+
return numberRangeToNumber(0, _this__u8e3s4.c1() - 1 | 0);
|
|
8504
8518
|
}
|
|
8505
8519
|
function optimizeReadOnlyList(_this__u8e3s4) {
|
|
8506
|
-
switch (_this__u8e3s4.
|
|
8520
|
+
switch (_this__u8e3s4.c1()) {
|
|
8507
8521
|
case 0:
|
|
8508
8522
|
return emptyList();
|
|
8509
8523
|
case 1:
|
|
8510
|
-
return listOf(_this__u8e3s4.
|
|
8524
|
+
return listOf(_this__u8e3s4.b1(0));
|
|
8511
8525
|
default:
|
|
8512
8526
|
return _this__u8e3s4;
|
|
8513
8527
|
}
|
|
@@ -8531,7 +8545,7 @@ protoOf(EmptyList).hashCode = function () {
|
|
|
8531
8545
|
protoOf(EmptyList).toString = function () {
|
|
8532
8546
|
return '[]';
|
|
8533
8547
|
};
|
|
8534
|
-
protoOf(EmptyList).
|
|
8548
|
+
protoOf(EmptyList).c1 = function () {
|
|
8535
8549
|
return 0;
|
|
8536
8550
|
};
|
|
8537
8551
|
protoOf(EmptyList).r = function () {
|
|
@@ -8557,7 +8571,7 @@ protoOf(EmptyList).ve = function (elements) {
|
|
|
8557
8571
|
protoOf(EmptyList).o2 = function (elements) {
|
|
8558
8572
|
return this.ve(elements);
|
|
8559
8573
|
};
|
|
8560
|
-
protoOf(EmptyList).
|
|
8574
|
+
protoOf(EmptyList).b1 = function (index) {
|
|
8561
8575
|
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
|
|
8562
8576
|
};
|
|
8563
8577
|
protoOf(EmptyList).we = function (element) {
|
|
@@ -8625,13 +8639,13 @@ function throwCountOverflow() {
|
|
|
8625
8639
|
}
|
|
8626
8640
|
function binarySearch(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
8627
8641
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
8628
|
-
toIndex = toIndex === VOID ? _this__u8e3s4.
|
|
8629
|
-
rangeCheck_0(_this__u8e3s4.
|
|
8642
|
+
toIndex = toIndex === VOID ? _this__u8e3s4.c1() : toIndex;
|
|
8643
|
+
rangeCheck_0(_this__u8e3s4.c1(), fromIndex, toIndex);
|
|
8630
8644
|
var low = fromIndex;
|
|
8631
8645
|
var high = toIndex - 1 | 0;
|
|
8632
8646
|
while (low <= high) {
|
|
8633
8647
|
var mid = (low + high | 0) >>> 1 | 0;
|
|
8634
|
-
var midVal = _this__u8e3s4.
|
|
8648
|
+
var midVal = _this__u8e3s4.b1(mid);
|
|
8635
8649
|
var cmp = compareValues(midVal, element);
|
|
8636
8650
|
if (cmp < 0)
|
|
8637
8651
|
low = mid + 1 | 0;
|
|
@@ -8691,7 +8705,7 @@ function flatten(_this__u8e3s4) {
|
|
|
8691
8705
|
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
8692
8706
|
var tmp;
|
|
8693
8707
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
8694
|
-
tmp = _this__u8e3s4.
|
|
8708
|
+
tmp = _this__u8e3s4.c1();
|
|
8695
8709
|
} else {
|
|
8696
8710
|
tmp = default_0;
|
|
8697
8711
|
}
|
|
@@ -8706,7 +8720,7 @@ protoOf(IndexingIterable).t = function () {
|
|
|
8706
8720
|
function collectionSizeOrNull(_this__u8e3s4) {
|
|
8707
8721
|
var tmp;
|
|
8708
8722
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
8709
|
-
tmp = _this__u8e3s4.
|
|
8723
|
+
tmp = _this__u8e3s4.c1();
|
|
8710
8724
|
} else {
|
|
8711
8725
|
tmp = null;
|
|
8712
8726
|
}
|
|
@@ -8749,14 +8763,14 @@ function emptyMap() {
|
|
|
8749
8763
|
function toMap(_this__u8e3s4) {
|
|
8750
8764
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
8751
8765
|
var tmp;
|
|
8752
|
-
switch (_this__u8e3s4.
|
|
8766
|
+
switch (_this__u8e3s4.c1()) {
|
|
8753
8767
|
case 0:
|
|
8754
8768
|
tmp = emptyMap();
|
|
8755
8769
|
break;
|
|
8756
8770
|
case 1:
|
|
8757
8771
|
var tmp_0;
|
|
8758
8772
|
if (isInterface(_this__u8e3s4, KtList)) {
|
|
8759
|
-
tmp_0 = _this__u8e3s4.
|
|
8773
|
+
tmp_0 = _this__u8e3s4.b1(0);
|
|
8760
8774
|
} else {
|
|
8761
8775
|
tmp_0 = _this__u8e3s4.t().v();
|
|
8762
8776
|
}
|
|
@@ -8764,7 +8778,7 @@ function toMap(_this__u8e3s4) {
|
|
|
8764
8778
|
tmp = mapOf(tmp_0);
|
|
8765
8779
|
break;
|
|
8766
8780
|
default:
|
|
8767
|
-
tmp = toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$_0(mapCapacity(_this__u8e3s4.
|
|
8781
|
+
tmp = toMap_0(_this__u8e3s4, LinkedHashMap_init_$Create$_0(mapCapacity(_this__u8e3s4.c1())));
|
|
8768
8782
|
break;
|
|
8769
8783
|
}
|
|
8770
8784
|
return tmp;
|
|
@@ -8783,6 +8797,18 @@ function mapOf_0(pairs) {
|
|
|
8783
8797
|
function getValue(_this__u8e3s4, key) {
|
|
8784
8798
|
return getOrImplicitDefault(_this__u8e3s4, key);
|
|
8785
8799
|
}
|
|
8800
|
+
function plus_7(_this__u8e3s4, pair) {
|
|
8801
|
+
var tmp;
|
|
8802
|
+
if (_this__u8e3s4.r()) {
|
|
8803
|
+
tmp = mapOf(pair);
|
|
8804
|
+
} else {
|
|
8805
|
+
// Inline function 'kotlin.apply' call
|
|
8806
|
+
var this_0 = LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
8807
|
+
this_0.v2(pair.ff_1, pair.gf_1);
|
|
8808
|
+
tmp = this_0;
|
|
8809
|
+
}
|
|
8810
|
+
return tmp;
|
|
8811
|
+
}
|
|
8786
8812
|
function minus_1(_this__u8e3s4, keys) {
|
|
8787
8813
|
// Inline function 'kotlin.apply' call
|
|
8788
8814
|
var this_0 = toMutableMap(_this__u8e3s4);
|
|
@@ -8797,18 +8823,6 @@ function minus_2(_this__u8e3s4, key) {
|
|
|
8797
8823
|
this_0.w2(key);
|
|
8798
8824
|
return optimizeReadOnlyMap(this_0);
|
|
8799
8825
|
}
|
|
8800
|
-
function plus_7(_this__u8e3s4, pair) {
|
|
8801
|
-
var tmp;
|
|
8802
|
-
if (_this__u8e3s4.r()) {
|
|
8803
|
-
tmp = mapOf(pair);
|
|
8804
|
-
} else {
|
|
8805
|
-
// Inline function 'kotlin.apply' call
|
|
8806
|
-
var this_0 = LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
8807
|
-
this_0.v2(pair.ff_1, pair.gf_1);
|
|
8808
|
-
tmp = this_0;
|
|
8809
|
-
}
|
|
8810
|
-
return tmp;
|
|
8811
|
-
}
|
|
8812
8826
|
function toMutableMap(_this__u8e3s4) {
|
|
8813
8827
|
return LinkedHashMap_init_$Create$_1(_this__u8e3s4);
|
|
8814
8828
|
}
|
|
@@ -8843,7 +8857,7 @@ protoOf(EmptyMap).hashCode = function () {
|
|
|
8843
8857
|
protoOf(EmptyMap).toString = function () {
|
|
8844
8858
|
return '{}';
|
|
8845
8859
|
};
|
|
8846
|
-
protoOf(EmptyMap).
|
|
8860
|
+
protoOf(EmptyMap).c1 = function () {
|
|
8847
8861
|
return 0;
|
|
8848
8862
|
};
|
|
8849
8863
|
protoOf(EmptyMap).r = function () {
|
|
@@ -8887,7 +8901,7 @@ function toMap_0(_this__u8e3s4, destination) {
|
|
|
8887
8901
|
}
|
|
8888
8902
|
function optimizeReadOnlyMap(_this__u8e3s4) {
|
|
8889
8903
|
var tmp;
|
|
8890
|
-
switch (_this__u8e3s4.
|
|
8904
|
+
switch (_this__u8e3s4.c1()) {
|
|
8891
8905
|
case 0:
|
|
8892
8906
|
tmp = emptyMap();
|
|
8893
8907
|
break;
|
|
@@ -8966,7 +8980,7 @@ function addAll_0(_this__u8e3s4, elements) {
|
|
|
8966
8980
|
return _this__u8e3s4.g1(asList(elements));
|
|
8967
8981
|
}
|
|
8968
8982
|
function removeAll(_this__u8e3s4, elements) {
|
|
8969
|
-
return _this__u8e3s4.
|
|
8983
|
+
return _this__u8e3s4.y1(convertToListIfNotCollection(elements));
|
|
8970
8984
|
}
|
|
8971
8985
|
function convertToListIfNotCollection(_this__u8e3s4) {
|
|
8972
8986
|
var tmp;
|
|
@@ -8994,7 +9008,7 @@ function filterInPlace(_this__u8e3s4, predicate, predicateResultToRemove) {
|
|
|
8994
9008
|
$l$loop: do {
|
|
8995
9009
|
var readIndex = inductionVariable;
|
|
8996
9010
|
inductionVariable = inductionVariable + 1 | 0;
|
|
8997
|
-
var element = _this__u8e3s4.
|
|
9011
|
+
var element = _this__u8e3s4.b1(readIndex);
|
|
8998
9012
|
if (predicate(element) === predicateResultToRemove)
|
|
8999
9013
|
continue $l$loop;
|
|
9000
9014
|
if (!(writeIndex === readIndex)) {
|
|
@@ -9003,7 +9017,7 @@ function filterInPlace(_this__u8e3s4, predicate, predicateResultToRemove) {
|
|
|
9003
9017
|
writeIndex = writeIndex + 1 | 0;
|
|
9004
9018
|
}
|
|
9005
9019
|
while (!(readIndex === last));
|
|
9006
|
-
if (writeIndex < _this__u8e3s4.
|
|
9020
|
+
if (writeIndex < _this__u8e3s4.c1()) {
|
|
9007
9021
|
var inductionVariable_0 = get_lastIndex_3(_this__u8e3s4);
|
|
9008
9022
|
var last_0 = writeIndex;
|
|
9009
9023
|
if (last_0 <= inductionVariable_0)
|
|
@@ -9077,11 +9091,11 @@ function ReversedList(delegate) {
|
|
|
9077
9091
|
AbstractMutableList.call(this);
|
|
9078
9092
|
this.qf_1 = delegate;
|
|
9079
9093
|
}
|
|
9080
|
-
protoOf(ReversedList).
|
|
9081
|
-
return this.qf_1.
|
|
9094
|
+
protoOf(ReversedList).c1 = function () {
|
|
9095
|
+
return this.qf_1.c1();
|
|
9082
9096
|
};
|
|
9083
|
-
protoOf(ReversedList).
|
|
9084
|
-
return this.qf_1.
|
|
9097
|
+
protoOf(ReversedList).b1 = function (index) {
|
|
9098
|
+
return this.qf_1.b1(reverseElementIndex(this, index));
|
|
9085
9099
|
};
|
|
9086
9100
|
protoOf(ReversedList).z2 = function () {
|
|
9087
9101
|
return this.qf_1.z2();
|
|
@@ -9133,11 +9147,11 @@ function ReversedListReadOnly(delegate) {
|
|
|
9133
9147
|
AbstractList.call(this);
|
|
9134
9148
|
this.vf_1 = delegate;
|
|
9135
9149
|
}
|
|
9136
|
-
protoOf(ReversedListReadOnly).
|
|
9137
|
-
return this.vf_1.
|
|
9150
|
+
protoOf(ReversedListReadOnly).c1 = function () {
|
|
9151
|
+
return this.vf_1.c1();
|
|
9138
9152
|
};
|
|
9139
|
-
protoOf(ReversedListReadOnly).
|
|
9140
|
-
return this.vf_1.
|
|
9153
|
+
protoOf(ReversedListReadOnly).b1 = function (index) {
|
|
9154
|
+
return this.vf_1.b1(reverseElementIndex(this, index));
|
|
9141
9155
|
};
|
|
9142
9156
|
protoOf(ReversedListReadOnly).t = function () {
|
|
9143
9157
|
return this.h1(0);
|
|
@@ -9156,10 +9170,10 @@ function reverseElementIndex(_this__u8e3s4, index) {
|
|
|
9156
9170
|
}
|
|
9157
9171
|
function reversePositionIndex(_this__u8e3s4, index) {
|
|
9158
9172
|
var tmp;
|
|
9159
|
-
if (0 <= index ? index <= _this__u8e3s4.
|
|
9160
|
-
tmp = _this__u8e3s4.
|
|
9173
|
+
if (0 <= index ? index <= _this__u8e3s4.c1() : false) {
|
|
9174
|
+
tmp = _this__u8e3s4.c1() - index | 0;
|
|
9161
9175
|
} else {
|
|
9162
|
-
throw IndexOutOfBoundsException_init_$Create$_0('Position index ' + index + ' must be in range [' + numberRangeToNumber(0, _this__u8e3s4.
|
|
9176
|
+
throw IndexOutOfBoundsException_init_$Create$_0('Position index ' + index + ' must be in range [' + numberRangeToNumber(0, _this__u8e3s4.c1()).toString() + '].');
|
|
9163
9177
|
}
|
|
9164
9178
|
return tmp;
|
|
9165
9179
|
}
|
|
@@ -9373,9 +9387,6 @@ function FilteringSequence(sequence, sendWhen, predicate) {
|
|
|
9373
9387
|
protoOf(FilteringSequence).t = function () {
|
|
9374
9388
|
return new FilteringSequence$iterator$1(this);
|
|
9375
9389
|
};
|
|
9376
|
-
function flatten_1(_this__u8e3s4) {
|
|
9377
|
-
return flatten_2(_this__u8e3s4, flatten$lambda_0);
|
|
9378
|
-
}
|
|
9379
9390
|
function ensureItemIterator($this) {
|
|
9380
9391
|
var itemIterator = $this.sg_1;
|
|
9381
9392
|
if (!(itemIterator == null) && itemIterator.u()) {
|
|
@@ -9425,6 +9436,9 @@ function FlatteningSequence(sequence, transformer, iterator) {
|
|
|
9425
9436
|
protoOf(FlatteningSequence).t = function () {
|
|
9426
9437
|
return new FlatteningSequence$iterator$1(this);
|
|
9427
9438
|
};
|
|
9439
|
+
function flatten_1(_this__u8e3s4) {
|
|
9440
|
+
return flatten_2(_this__u8e3s4, flatten$lambda_0);
|
|
9441
|
+
}
|
|
9428
9442
|
function emptySequence() {
|
|
9429
9443
|
return EmptySequence_instance;
|
|
9430
9444
|
}
|
|
@@ -9452,7 +9466,7 @@ function TakeSequence(sequence, count) {
|
|
|
9452
9466
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
9453
9467
|
}
|
|
9454
9468
|
}
|
|
9455
|
-
protoOf(TakeSequence).
|
|
9469
|
+
protoOf(TakeSequence).w1 = function (n) {
|
|
9456
9470
|
return n >= this.bh_1 ? this : new TakeSequence(this.ah_1, n);
|
|
9457
9471
|
};
|
|
9458
9472
|
protoOf(TakeSequence).t = function () {
|
|
@@ -9470,7 +9484,7 @@ function EmptySequence() {
|
|
|
9470
9484
|
protoOf(EmptySequence).t = function () {
|
|
9471
9485
|
return EmptyIterator_instance;
|
|
9472
9486
|
};
|
|
9473
|
-
protoOf(EmptySequence).
|
|
9487
|
+
protoOf(EmptySequence).w1 = function (n) {
|
|
9474
9488
|
return EmptySequence_instance;
|
|
9475
9489
|
};
|
|
9476
9490
|
var EmptySequence_instance;
|
|
@@ -9580,17 +9594,17 @@ function flatten$lambda_0(it) {
|
|
|
9580
9594
|
function flatten$lambda_1(it) {
|
|
9581
9595
|
return it;
|
|
9582
9596
|
}
|
|
9583
|
-
function emptySet() {
|
|
9584
|
-
return EmptySet_getInstance();
|
|
9585
|
-
}
|
|
9586
9597
|
function setOf_0(elements) {
|
|
9587
9598
|
return toSet(elements);
|
|
9588
9599
|
}
|
|
9600
|
+
function emptySet() {
|
|
9601
|
+
return EmptySet_getInstance();
|
|
9602
|
+
}
|
|
9589
9603
|
function hashSetOf(elements) {
|
|
9590
9604
|
return toCollection(elements, HashSet_init_$Create$_1(mapCapacity(elements.length)));
|
|
9591
9605
|
}
|
|
9592
9606
|
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
9593
|
-
switch (_this__u8e3s4.
|
|
9607
|
+
switch (_this__u8e3s4.c1()) {
|
|
9594
9608
|
case 0:
|
|
9595
9609
|
return emptySet();
|
|
9596
9610
|
case 1:
|
|
@@ -9618,7 +9632,7 @@ protoOf(EmptySet).hashCode = function () {
|
|
|
9618
9632
|
protoOf(EmptySet).toString = function () {
|
|
9619
9633
|
return '[]';
|
|
9620
9634
|
};
|
|
9621
|
-
protoOf(EmptySet).
|
|
9635
|
+
protoOf(EmptySet).c1 = function () {
|
|
9622
9636
|
return 0;
|
|
9623
9637
|
};
|
|
9624
9638
|
protoOf(EmptySet).r = function () {
|
|
@@ -9741,10 +9755,10 @@ function EnumEntriesList(entries) {
|
|
|
9741
9755
|
AbstractList.call(this);
|
|
9742
9756
|
this.uh_1 = entries;
|
|
9743
9757
|
}
|
|
9744
|
-
protoOf(EnumEntriesList).
|
|
9758
|
+
protoOf(EnumEntriesList).c1 = function () {
|
|
9745
9759
|
return this.uh_1.length;
|
|
9746
9760
|
};
|
|
9747
|
-
protoOf(EnumEntriesList).
|
|
9761
|
+
protoOf(EnumEntriesList).b1 = function (index) {
|
|
9748
9762
|
Companion_instance_5.a5(index, this.uh_1.length);
|
|
9749
9763
|
return this.uh_1[index];
|
|
9750
9764
|
};
|
|
@@ -10227,7 +10241,7 @@ function replaceIndentByMargin(_this__u8e3s4, newIndent, marginPrefix) {
|
|
|
10227
10241
|
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
|
|
10228
10242
|
}
|
|
10229
10243
|
var lines_0 = lines(_this__u8e3s4);
|
|
10230
|
-
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.
|
|
10244
|
+
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.c1()) | 0;
|
|
10231
10245
|
// Inline function 'kotlin.text.reindent' call
|
|
10232
10246
|
var indentAddFunction = getIndentFunction(newIndent);
|
|
10233
10247
|
var lastIndex = get_lastIndex_3(lines_0);
|
|
@@ -10311,7 +10325,7 @@ function replaceIndent(_this__u8e3s4, newIndent) {
|
|
|
10311
10325
|
}
|
|
10312
10326
|
var tmp0_elvis_lhs = minOrNull(destination_0);
|
|
10313
10327
|
var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
10314
|
-
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.
|
|
10328
|
+
var tmp2 = _this__u8e3s4.length + imul_0(newIndent.length, lines_0.c1()) | 0;
|
|
10315
10329
|
// Inline function 'kotlin.text.reindent' call
|
|
10316
10330
|
var indentAddFunction = getIndentFunction(newIndent);
|
|
10317
10331
|
var lastIndex = get_lastIndex_3(lines_0);
|
|
@@ -10617,6 +10631,32 @@ function contains_8(_this__u8e3s4, other, ignoreCase) {
|
|
|
10617
10631
|
}
|
|
10618
10632
|
return tmp;
|
|
10619
10633
|
}
|
|
10634
|
+
function trim(_this__u8e3s4, chars) {
|
|
10635
|
+
// Inline function 'kotlin.text.trim' call
|
|
10636
|
+
// Inline function 'kotlin.text.trim' call
|
|
10637
|
+
var this_0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
10638
|
+
var startIndex = 0;
|
|
10639
|
+
var endIndex = charSequenceLength(this_0) - 1 | 0;
|
|
10640
|
+
var startFound = false;
|
|
10641
|
+
$l$loop: while (startIndex <= endIndex) {
|
|
10642
|
+
var index = !startFound ? startIndex : endIndex;
|
|
10643
|
+
var it = charSequenceGet(this_0, index);
|
|
10644
|
+
var match = contains_1(chars, it);
|
|
10645
|
+
if (!startFound) {
|
|
10646
|
+
if (!match)
|
|
10647
|
+
startFound = true;
|
|
10648
|
+
else
|
|
10649
|
+
startIndex = startIndex + 1 | 0;
|
|
10650
|
+
} else {
|
|
10651
|
+
if (!match)
|
|
10652
|
+
break $l$loop;
|
|
10653
|
+
else
|
|
10654
|
+
endIndex = endIndex - 1 | 0;
|
|
10655
|
+
}
|
|
10656
|
+
}
|
|
10657
|
+
var tmp$ret$1 = charSequenceSubSequence(this_0, startIndex, endIndex + 1 | 0);
|
|
10658
|
+
return toString_1(tmp$ret$1);
|
|
10659
|
+
}
|
|
10620
10660
|
function trimStart(_this__u8e3s4, chars) {
|
|
10621
10661
|
// Inline function 'kotlin.text.trimStart' call
|
|
10622
10662
|
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -10833,7 +10873,7 @@ function substringBefore_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
|
10833
10873
|
var index = indexOf_7(_this__u8e3s4, delimiter);
|
|
10834
10874
|
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
|
|
10835
10875
|
}
|
|
10836
|
-
function
|
|
10876
|
+
function trim_0(_this__u8e3s4) {
|
|
10837
10877
|
// Inline function 'kotlin.text.trim' call
|
|
10838
10878
|
var startIndex = 0;
|
|
10839
10879
|
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
@@ -10872,7 +10912,7 @@ function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
|
10872
10912
|
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
|
|
10873
10913
|
result.x(tmp$ret$0);
|
|
10874
10914
|
currentOffset = nextIndex + delimiter.length | 0;
|
|
10875
|
-
if (isLimited && result.
|
|
10915
|
+
if (isLimited && result.c1() === (limit - 1 | 0))
|
|
10876
10916
|
break $l$loop;
|
|
10877
10917
|
nextIndex = indexOf_7(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
10878
10918
|
}
|
|
@@ -10951,6 +10991,47 @@ function indexOf_8(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last)
|
|
|
10951
10991
|
}
|
|
10952
10992
|
return -1;
|
|
10953
10993
|
}
|
|
10994
|
+
function trimStart_0(_this__u8e3s4) {
|
|
10995
|
+
var tmp$ret$0;
|
|
10996
|
+
$l$block: {
|
|
10997
|
+
// Inline function 'kotlin.text.trimStart' call
|
|
10998
|
+
var inductionVariable = 0;
|
|
10999
|
+
var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
11000
|
+
if (inductionVariable <= last)
|
|
11001
|
+
do {
|
|
11002
|
+
var index = inductionVariable;
|
|
11003
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
11004
|
+
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
11005
|
+
if (!isWhitespace(p0)) {
|
|
11006
|
+
tmp$ret$0 = charSequenceSubSequence(_this__u8e3s4, index, charSequenceLength(_this__u8e3s4));
|
|
11007
|
+
break $l$block;
|
|
11008
|
+
}
|
|
11009
|
+
}
|
|
11010
|
+
while (inductionVariable <= last);
|
|
11011
|
+
tmp$ret$0 = '';
|
|
11012
|
+
}
|
|
11013
|
+
return tmp$ret$0;
|
|
11014
|
+
}
|
|
11015
|
+
function trimEnd_0(_this__u8e3s4) {
|
|
11016
|
+
var tmp$ret$0;
|
|
11017
|
+
$l$block: {
|
|
11018
|
+
// Inline function 'kotlin.text.trimEnd' call
|
|
11019
|
+
var inductionVariable = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
11020
|
+
if (0 <= inductionVariable)
|
|
11021
|
+
do {
|
|
11022
|
+
var index = inductionVariable;
|
|
11023
|
+
inductionVariable = inductionVariable + -1 | 0;
|
|
11024
|
+
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
11025
|
+
if (!isWhitespace(p0)) {
|
|
11026
|
+
tmp$ret$0 = charSequenceSubSequence(_this__u8e3s4, 0, index + 1 | 0);
|
|
11027
|
+
break $l$block;
|
|
11028
|
+
}
|
|
11029
|
+
}
|
|
11030
|
+
while (0 <= inductionVariable);
|
|
11031
|
+
tmp$ret$0 = '';
|
|
11032
|
+
}
|
|
11033
|
+
return tmp$ret$0;
|
|
11034
|
+
}
|
|
10954
11035
|
function padStart_0(_this__u8e3s4, length, padChar) {
|
|
10955
11036
|
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
|
|
10956
11037
|
if (length < 0)
|
|
@@ -11059,26 +11140,6 @@ function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
|
11059
11140
|
while (!(index === last));
|
|
11060
11141
|
return -1;
|
|
11061
11142
|
}
|
|
11062
|
-
function trimEnd_0(_this__u8e3s4) {
|
|
11063
|
-
var tmp$ret$0;
|
|
11064
|
-
$l$block: {
|
|
11065
|
-
// Inline function 'kotlin.text.trimEnd' call
|
|
11066
|
-
var inductionVariable = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
11067
|
-
if (0 <= inductionVariable)
|
|
11068
|
-
do {
|
|
11069
|
-
var index = inductionVariable;
|
|
11070
|
-
inductionVariable = inductionVariable + -1 | 0;
|
|
11071
|
-
var p0 = charSequenceGet(_this__u8e3s4, index);
|
|
11072
|
-
if (!isWhitespace(p0)) {
|
|
11073
|
-
tmp$ret$0 = charSequenceSubSequence(_this__u8e3s4, 0, index + 1 | 0);
|
|
11074
|
-
break $l$block;
|
|
11075
|
-
}
|
|
11076
|
-
}
|
|
11077
|
-
while (0 <= inductionVariable);
|
|
11078
|
-
tmp$ret$0 = '';
|
|
11079
|
-
}
|
|
11080
|
-
return tmp$ret$0;
|
|
11081
|
-
}
|
|
11082
11143
|
function removeSurrounding_0(_this__u8e3s4, prefix, suffix) {
|
|
11083
11144
|
if (_this__u8e3s4.length >= (charSequenceLength(prefix) + charSequenceLength(suffix) | 0) && startsWith_2(_this__u8e3s4, prefix) && endsWith_1(_this__u8e3s4, suffix)) {
|
|
11084
11145
|
return substring(_this__u8e3s4, charSequenceLength(prefix), _this__u8e3s4.length - charSequenceLength(suffix) | 0);
|
|
@@ -11246,7 +11307,7 @@ protoOf(DelimitedRangesSequence).t = function () {
|
|
|
11246
11307
|
return new DelimitedRangesSequence$iterator$1(this);
|
|
11247
11308
|
};
|
|
11248
11309
|
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
|
|
11249
|
-
if (!ignoreCase && strings.
|
|
11310
|
+
if (!ignoreCase && strings.c1() === 1) {
|
|
11250
11311
|
var string = single_1(strings);
|
|
11251
11312
|
var index = !last ? indexOf_7(_this__u8e3s4, string, startIndex) : lastIndexOf_0(_this__u8e3s4, string, startIndex);
|
|
11252
11313
|
return index < 0 ? null : to(index, string);
|
|
@@ -13062,7 +13123,7 @@ function UByteArray__equals_impl_roka4u($this, other) {
|
|
|
13062
13123
|
function UByteArray(storage) {
|
|
13063
13124
|
this.dl_1 = storage;
|
|
13064
13125
|
}
|
|
13065
|
-
protoOf(UByteArray).
|
|
13126
|
+
protoOf(UByteArray).c1 = function () {
|
|
13066
13127
|
return _UByteArray___get_size__impl__h6pkdv(this.dl_1);
|
|
13067
13128
|
};
|
|
13068
13129
|
protoOf(UByteArray).t = function () {
|
|
@@ -13225,7 +13286,7 @@ function UIntArray__equals_impl_flcmof($this, other) {
|
|
|
13225
13286
|
function UIntArray(storage) {
|
|
13226
13287
|
this.ol_1 = storage;
|
|
13227
13288
|
}
|
|
13228
|
-
protoOf(UIntArray).
|
|
13289
|
+
protoOf(UIntArray).c1 = function () {
|
|
13229
13290
|
return _UIntArray___get_size__impl__r6l8ci(this.ol_1);
|
|
13230
13291
|
};
|
|
13231
13292
|
protoOf(UIntArray).t = function () {
|
|
@@ -13388,7 +13449,7 @@ function ULongArray__equals_impl_vwitwa($this, other) {
|
|
|
13388
13449
|
function ULongArray(storage) {
|
|
13389
13450
|
this.zl_1 = storage;
|
|
13390
13451
|
}
|
|
13391
|
-
protoOf(ULongArray).
|
|
13452
|
+
protoOf(ULongArray).c1 = function () {
|
|
13392
13453
|
return _ULongArray___get_size__impl__ju6dtr(this.zl_1);
|
|
13393
13454
|
};
|
|
13394
13455
|
protoOf(ULongArray).t = function () {
|
|
@@ -13553,7 +13614,7 @@ function UShortArray__equals_impl_tyc3mk($this, other) {
|
|
|
13553
13614
|
function UShortArray(storage) {
|
|
13554
13615
|
this.km_1 = storage;
|
|
13555
13616
|
}
|
|
13556
|
-
protoOf(UShortArray).
|
|
13617
|
+
protoOf(UShortArray).c1 = function () {
|
|
13557
13618
|
return _UShortArray___get_size__impl__jqto1b(this.km_1);
|
|
13558
13619
|
};
|
|
13559
13620
|
protoOf(UShortArray).t = function () {
|
|
@@ -14050,6 +14111,7 @@ export {
|
|
|
14050
14111
|
setOf_0 as setOf45ia9pnfhe90,
|
|
14051
14112
|
singleOrNull as singleOrNullrknfaxokm1sl,
|
|
14052
14113
|
single_0 as singleo93pzdgfc557,
|
|
14114
|
+
single_1 as single3ds7xj9roxi5z,
|
|
14053
14115
|
sortWith_0 as sortWith4fnm6b3vw03s,
|
|
14054
14116
|
sortedWith as sortedWith2csnbbb21k0lg,
|
|
14055
14117
|
sorted as sorted36owlv5kvgyz2,
|
|
@@ -14186,6 +14248,7 @@ export {
|
|
|
14186
14248
|
sequenceOf as sequenceOfdrc6uefhtiet,
|
|
14187
14249
|
sequence as sequence2vgswtrxvqoa7,
|
|
14188
14250
|
toList_2 as toListx6x8nvfmvvht,
|
|
14251
|
+
toSet_1 as toSet2morh2kqexfa2,
|
|
14189
14252
|
StringBuilder as StringBuildermazzzhj6kkai,
|
|
14190
14253
|
asSequence_2 as asSequence3lsvgkvyzox0q,
|
|
14191
14254
|
chunked as chunked1r6ubl9km7ic5,
|
|
@@ -14264,8 +14327,10 @@ export {
|
|
|
14264
14327
|
trimEnd as trimEndvvzjdhan75g,
|
|
14265
14328
|
trimIndent as trimIndent1qytc1wvt8suh,
|
|
14266
14329
|
trimMargin as trimMarginhyd3fsmh8iev,
|
|
14330
|
+
trimStart_0 as trimStart5ewg8zf6cs5u,
|
|
14267
14331
|
trimStart as trimStart1mkod6gyztuyy,
|
|
14268
|
-
trim as
|
|
14332
|
+
trim as trim6jpmwojjgb3l,
|
|
14333
|
+
trim_0 as trim11nh7r46at6sx,
|
|
14269
14334
|
uppercaseChar as uppercaseChar6lahngw3wvwg,
|
|
14270
14335
|
Duration as Duration5ynfiptaqcrg,
|
|
14271
14336
|
Char as Char19o2r8palgjof,
|