dl-common-util 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dl-common-util.d.ts +96 -0
- package/dl-common-util.js +1028 -0
- package/dl-common-util.js.map +1 -0
- package/kotlin-kotlin-stdlib-js-ir.js +4755 -0
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
- package/package.json +10 -0
|
@@ -0,0 +1,4755 @@
|
|
|
1
|
+
//region block: polyfills
|
|
2
|
+
if (typeof ArrayBuffer.isView === 'undefined') {
|
|
3
|
+
ArrayBuffer.isView = function (a) {
|
|
4
|
+
return a != null && a.__proto__ != null && a.__proto__.__proto__ === Int8Array.prototype.__proto__;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
if (typeof Math.imul === 'undefined') {
|
|
8
|
+
Math.imul = function imul(a, b) {
|
|
9
|
+
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//endregion
|
|
13
|
+
(function (root, factory) {
|
|
14
|
+
if (typeof define === 'function' && define.amd)
|
|
15
|
+
define(['exports'], factory);
|
|
16
|
+
else if (typeof exports === 'object')
|
|
17
|
+
factory(module.exports);
|
|
18
|
+
else
|
|
19
|
+
root['kotlin-kotlin-stdlib-js-ir'] = factory(typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined' ? {} : this['kotlin-kotlin-stdlib-js-ir']);
|
|
20
|
+
}(this, function (_) {
|
|
21
|
+
'use strict';
|
|
22
|
+
//region block: imports
|
|
23
|
+
var imul = Math.imul;
|
|
24
|
+
var isView = ArrayBuffer.isView;
|
|
25
|
+
//endregion
|
|
26
|
+
//region block: pre-declaration
|
|
27
|
+
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta);
|
|
28
|
+
setMetadataFor(Collection, 'Collection', interfaceMeta);
|
|
29
|
+
setMetadataFor(AbstractCollection, 'AbstractCollection', classMeta, VOID, [Collection]);
|
|
30
|
+
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
31
|
+
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
32
|
+
setMetadataFor(Map, 'Map', interfaceMeta);
|
|
33
|
+
setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map]);
|
|
34
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
35
|
+
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
36
|
+
setMetadataFor(EmptyList, 'EmptyList', objectMeta, VOID, [List]);
|
|
37
|
+
setMetadataFor(EmptyIterator, 'EmptyIterator', objectMeta);
|
|
38
|
+
setMetadataFor(ArrayAsCollection, 'ArrayAsCollection', classMeta, VOID, [Collection]);
|
|
39
|
+
setMetadataFor(IntIterator, 'IntIterator', classMeta);
|
|
40
|
+
setMetadataFor(CharIterator, 'CharIterator', classMeta);
|
|
41
|
+
setMetadataFor(TransformingSequence$iterator$1, VOID, classMeta);
|
|
42
|
+
setMetadataFor(TransformingSequence, 'TransformingSequence', classMeta);
|
|
43
|
+
setMetadataFor(GeneratorSequence$iterator$1, VOID, classMeta);
|
|
44
|
+
setMetadataFor(GeneratorSequence, 'GeneratorSequence', classMeta);
|
|
45
|
+
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
46
|
+
setMetadataFor(EmptySet, 'EmptySet', objectMeta, VOID, [Set]);
|
|
47
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta);
|
|
48
|
+
setMetadataFor(IntProgression, 'IntProgression', classMeta);
|
|
49
|
+
setMetadataFor(IntRange, 'IntRange', classMeta, IntProgression);
|
|
50
|
+
setMetadataFor(IntProgressionIterator, 'IntProgressionIterator', classMeta, IntIterator);
|
|
51
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
52
|
+
setMetadataFor(iterator$1, VOID, classMeta, CharIterator);
|
|
53
|
+
setMetadataFor(MatchNamedGroupCollection, 'MatchNamedGroupCollection', interfaceMeta, VOID, [Collection]);
|
|
54
|
+
setMetadataFor(CharSequence, 'CharSequence', interfaceMeta);
|
|
55
|
+
setMetadataFor(Number_0, 'Number', classMeta);
|
|
56
|
+
setMetadataFor(Unit, 'Unit', objectMeta);
|
|
57
|
+
setMetadataFor(IntCompanionObject, 'IntCompanionObject', objectMeta);
|
|
58
|
+
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection]);
|
|
59
|
+
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
60
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
|
|
61
|
+
setMetadataFor(SubList, 'SubList', classMeta, AbstractMutableList);
|
|
62
|
+
setMetadataFor(AbstractMutableMap$keys$1$iterator$1, VOID, classMeta);
|
|
63
|
+
setMetadataFor(Entry, 'Entry', interfaceMeta);
|
|
64
|
+
setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
|
|
65
|
+
setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
|
|
66
|
+
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
|
|
67
|
+
setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
|
|
68
|
+
setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);
|
|
69
|
+
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map]);
|
|
70
|
+
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
71
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection]);
|
|
72
|
+
setMetadataFor(HashCode, 'HashCode', objectMeta);
|
|
73
|
+
setMetadataFor(EntrySet, 'EntrySet', classMeta, AbstractEntrySet);
|
|
74
|
+
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map]);
|
|
75
|
+
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Set, Collection]);
|
|
76
|
+
setMetadataFor(InternalHashCodeMap$iterator$1, VOID, classMeta);
|
|
77
|
+
function createJsMap() {
|
|
78
|
+
var result = Object.create(null);
|
|
79
|
+
result['foo'] = 1;
|
|
80
|
+
var tmp$ret$0;
|
|
81
|
+
// Inline function 'kotlin.js.jsDeleteProperty' call
|
|
82
|
+
delete result['foo'];
|
|
83
|
+
tmp$ret$0 = Unit_getInstance();
|
|
84
|
+
return result;
|
|
85
|
+
}
|
|
86
|
+
setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
|
|
87
|
+
setMetadataFor(InternalHashCodeMap, 'InternalHashCodeMap', classMeta, VOID, [InternalMap]);
|
|
88
|
+
setMetadataFor(EntryIterator, 'EntryIterator', classMeta);
|
|
89
|
+
setMetadataFor(Companion_5, 'Companion', objectMeta);
|
|
90
|
+
setMetadataFor(ChainEntry, 'ChainEntry', classMeta, SimpleEntry);
|
|
91
|
+
setMetadataFor(EntrySet_0, 'EntrySet', classMeta, AbstractEntrySet);
|
|
92
|
+
setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map]);
|
|
93
|
+
setMetadataFor(Companion_6, 'Companion', objectMeta);
|
|
94
|
+
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Set, Collection]);
|
|
95
|
+
setMetadataFor(Exception, 'Exception', classMeta, Error);
|
|
96
|
+
setMetadataFor(CharacterCodingException, 'CharacterCodingException', classMeta, Exception);
|
|
97
|
+
setMetadataFor(StringBuilder, 'StringBuilder', classMeta, VOID, [CharSequence]);
|
|
98
|
+
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
99
|
+
setMetadataFor(Regex, 'Regex', classMeta);
|
|
100
|
+
setMetadataFor(MatchGroup, 'MatchGroup', classMeta);
|
|
101
|
+
setMetadataFor(findNext$1$groups$1, VOID, classMeta, AbstractCollection, [MatchNamedGroupCollection, AbstractCollection]);
|
|
102
|
+
setMetadataFor(findNext$1, VOID, classMeta);
|
|
103
|
+
setMetadataFor(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', classMeta);
|
|
104
|
+
setMetadataFor(Companion_8, 'Companion', objectMeta);
|
|
105
|
+
setMetadataFor(Char, 'Char', classMeta);
|
|
106
|
+
setMetadataFor(Companion_9, 'Companion', objectMeta);
|
|
107
|
+
setMetadataFor(Enum, 'Enum', classMeta);
|
|
108
|
+
setMetadataFor(arrayIterator$1, VOID, classMeta);
|
|
109
|
+
setMetadataFor(charArrayIterator$1, VOID, classMeta, CharIterator);
|
|
110
|
+
setMetadataFor(Companion_10, 'Companion', objectMeta);
|
|
111
|
+
setMetadataFor(Long, 'Long', classMeta, Number_0);
|
|
112
|
+
setMetadataFor(Digit, 'Digit', objectMeta);
|
|
113
|
+
setMetadataFor(RuntimeException, 'RuntimeException', classMeta, Exception);
|
|
114
|
+
setMetadataFor(IllegalArgumentException, 'IllegalArgumentException', classMeta, RuntimeException);
|
|
115
|
+
setMetadataFor(IndexOutOfBoundsException, 'IndexOutOfBoundsException', classMeta, RuntimeException);
|
|
116
|
+
setMetadataFor(IllegalStateException, 'IllegalStateException', classMeta, RuntimeException);
|
|
117
|
+
setMetadataFor(NoSuchElementException, 'NoSuchElementException', classMeta, RuntimeException);
|
|
118
|
+
setMetadataFor(UnsupportedOperationException, 'UnsupportedOperationException', classMeta, RuntimeException);
|
|
119
|
+
setMetadataFor(NumberFormatException, 'NumberFormatException', classMeta, IllegalArgumentException);
|
|
120
|
+
setMetadataFor(ArithmeticException, 'ArithmeticException', classMeta, RuntimeException);
|
|
121
|
+
setMetadataFor(NullPointerException, 'NullPointerException', classMeta, RuntimeException);
|
|
122
|
+
setMetadataFor(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', classMeta, RuntimeException);
|
|
123
|
+
setMetadataFor(ClassCastException, 'ClassCastException', classMeta, RuntimeException);
|
|
124
|
+
setMetadataFor(UninitializedPropertyAccessException, 'UninitializedPropertyAccessException', classMeta, RuntimeException);
|
|
125
|
+
//endregion
|
|
126
|
+
function indexOf(_this__u8e3s4, element) {
|
|
127
|
+
var inductionVariable = 0;
|
|
128
|
+
var last = _this__u8e3s4.length - 1 | 0;
|
|
129
|
+
if (inductionVariable <= last)
|
|
130
|
+
do {
|
|
131
|
+
var index = inductionVariable;
|
|
132
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
133
|
+
if (element === _this__u8e3s4[index]) {
|
|
134
|
+
return index;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
while (inductionVariable <= last);
|
|
138
|
+
return -1;
|
|
139
|
+
}
|
|
140
|
+
function toList(_this__u8e3s4) {
|
|
141
|
+
switch (_this__u8e3s4.length) {
|
|
142
|
+
case 0:
|
|
143
|
+
return emptyList();
|
|
144
|
+
case 1:
|
|
145
|
+
return listOf(_this__u8e3s4[0]);
|
|
146
|
+
default:
|
|
147
|
+
return toMutableList(_this__u8e3s4);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
151
|
+
separator = separator === VOID ? ', ' : separator;
|
|
152
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
153
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
154
|
+
limit = limit === VOID ? -1 : limit;
|
|
155
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
156
|
+
transform = transform === VOID ? null : transform;
|
|
157
|
+
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
158
|
+
}
|
|
159
|
+
function toMutableList(_this__u8e3s4) {
|
|
160
|
+
var list = ArrayList_init_$Create$_0(_this__u8e3s4.length);
|
|
161
|
+
var inductionVariable = 0;
|
|
162
|
+
var last = _this__u8e3s4.length;
|
|
163
|
+
while (inductionVariable < last) {
|
|
164
|
+
var item = _this__u8e3s4[inductionVariable];
|
|
165
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
166
|
+
list.d(item);
|
|
167
|
+
}
|
|
168
|
+
return list;
|
|
169
|
+
}
|
|
170
|
+
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
171
|
+
separator = separator === VOID ? ', ' : separator;
|
|
172
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
173
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
174
|
+
limit = limit === VOID ? -1 : limit;
|
|
175
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
176
|
+
transform = transform === VOID ? null : transform;
|
|
177
|
+
buffer.e(prefix);
|
|
178
|
+
var count = 0;
|
|
179
|
+
var inductionVariable = 0;
|
|
180
|
+
var last = _this__u8e3s4.length;
|
|
181
|
+
$l$loop: while (inductionVariable < last) {
|
|
182
|
+
var element = _this__u8e3s4[inductionVariable];
|
|
183
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
184
|
+
count = count + 1 | 0;
|
|
185
|
+
if (count > 1) {
|
|
186
|
+
buffer.e(separator);
|
|
187
|
+
}
|
|
188
|
+
if (limit < 0 ? true : count <= limit) {
|
|
189
|
+
appendElement(buffer, element, transform);
|
|
190
|
+
} else
|
|
191
|
+
break $l$loop;
|
|
192
|
+
}
|
|
193
|
+
if (limit >= 0 ? count > limit : false) {
|
|
194
|
+
buffer.e(truncated);
|
|
195
|
+
}
|
|
196
|
+
buffer.e(postfix);
|
|
197
|
+
return buffer;
|
|
198
|
+
}
|
|
199
|
+
function indexOf_0(_this__u8e3s4, element) {
|
|
200
|
+
if (element == null) {
|
|
201
|
+
var inductionVariable = 0;
|
|
202
|
+
var last = _this__u8e3s4.length - 1 | 0;
|
|
203
|
+
if (inductionVariable <= last)
|
|
204
|
+
do {
|
|
205
|
+
var index = inductionVariable;
|
|
206
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
207
|
+
if (_this__u8e3s4[index] == null) {
|
|
208
|
+
return index;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
while (inductionVariable <= last);
|
|
212
|
+
} else {
|
|
213
|
+
var inductionVariable_0 = 0;
|
|
214
|
+
var last_0 = _this__u8e3s4.length - 1 | 0;
|
|
215
|
+
if (inductionVariable_0 <= last_0)
|
|
216
|
+
do {
|
|
217
|
+
var index_0 = inductionVariable_0;
|
|
218
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
219
|
+
if (equals_0(element, _this__u8e3s4[index_0])) {
|
|
220
|
+
return index_0;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
while (inductionVariable_0 <= last_0);
|
|
224
|
+
}
|
|
225
|
+
return -1;
|
|
226
|
+
}
|
|
227
|
+
function single(_this__u8e3s4) {
|
|
228
|
+
var tmp;
|
|
229
|
+
switch (_this__u8e3s4.length) {
|
|
230
|
+
case 0:
|
|
231
|
+
throw NoSuchElementException_init_$Create$_0('Array is empty.');
|
|
232
|
+
case 1:
|
|
233
|
+
tmp = _this__u8e3s4[0];
|
|
234
|
+
break;
|
|
235
|
+
default:
|
|
236
|
+
throw IllegalArgumentException_init_$Create$('Array has more than one element.');
|
|
237
|
+
}
|
|
238
|
+
return tmp;
|
|
239
|
+
}
|
|
240
|
+
function toCollection(_this__u8e3s4, destination) {
|
|
241
|
+
var inductionVariable = 0;
|
|
242
|
+
var last = _this__u8e3s4.length;
|
|
243
|
+
while (inductionVariable < last) {
|
|
244
|
+
var item = _this__u8e3s4[inductionVariable];
|
|
245
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
246
|
+
destination.d(item);
|
|
247
|
+
}
|
|
248
|
+
return destination;
|
|
249
|
+
}
|
|
250
|
+
function contains(_this__u8e3s4, element) {
|
|
251
|
+
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
252
|
+
}
|
|
253
|
+
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
254
|
+
separator = separator === VOID ? ', ' : separator;
|
|
255
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
256
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
257
|
+
limit = limit === VOID ? -1 : limit;
|
|
258
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
259
|
+
transform = transform === VOID ? null : transform;
|
|
260
|
+
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
261
|
+
}
|
|
262
|
+
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
263
|
+
separator = separator === VOID ? ', ' : separator;
|
|
264
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
265
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
266
|
+
limit = limit === VOID ? -1 : limit;
|
|
267
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
268
|
+
transform = transform === VOID ? null : transform;
|
|
269
|
+
buffer.e(prefix);
|
|
270
|
+
var count = 0;
|
|
271
|
+
var tmp0_iterator = _this__u8e3s4.f();
|
|
272
|
+
$l$loop: while (tmp0_iterator.g()) {
|
|
273
|
+
var element = tmp0_iterator.h();
|
|
274
|
+
count = count + 1 | 0;
|
|
275
|
+
if (count > 1) {
|
|
276
|
+
buffer.e(separator);
|
|
277
|
+
}
|
|
278
|
+
if (limit < 0 ? true : count <= limit) {
|
|
279
|
+
appendElement(buffer, element, transform);
|
|
280
|
+
} else
|
|
281
|
+
break $l$loop;
|
|
282
|
+
}
|
|
283
|
+
if (limit >= 0 ? count > limit : false) {
|
|
284
|
+
buffer.e(truncated);
|
|
285
|
+
}
|
|
286
|
+
buffer.e(postfix);
|
|
287
|
+
return buffer;
|
|
288
|
+
}
|
|
289
|
+
function toByteArray(_this__u8e3s4) {
|
|
290
|
+
var result = new Int8Array(_this__u8e3s4.i());
|
|
291
|
+
var index = 0;
|
|
292
|
+
var tmp0_iterator = _this__u8e3s4.f();
|
|
293
|
+
while (tmp0_iterator.g()) {
|
|
294
|
+
var element = tmp0_iterator.h();
|
|
295
|
+
var tmp1 = index;
|
|
296
|
+
index = tmp1 + 1 | 0;
|
|
297
|
+
result[tmp1] = element;
|
|
298
|
+
}
|
|
299
|
+
return result;
|
|
300
|
+
}
|
|
301
|
+
function toSet(_this__u8e3s4) {
|
|
302
|
+
if (isInterface(_this__u8e3s4, Collection)) {
|
|
303
|
+
var tmp;
|
|
304
|
+
switch (_this__u8e3s4.i()) {
|
|
305
|
+
case 0:
|
|
306
|
+
tmp = emptySet();
|
|
307
|
+
break;
|
|
308
|
+
case 1:
|
|
309
|
+
var tmp_0;
|
|
310
|
+
if (isInterface(_this__u8e3s4, List)) {
|
|
311
|
+
tmp_0 = _this__u8e3s4.j(0);
|
|
312
|
+
} else {
|
|
313
|
+
tmp_0 = _this__u8e3s4.f().h();
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
tmp = setOf(tmp_0);
|
|
317
|
+
break;
|
|
318
|
+
default:
|
|
319
|
+
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.i())));
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
return tmp;
|
|
323
|
+
}
|
|
324
|
+
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
|
|
325
|
+
}
|
|
326
|
+
function asSequence(_this__u8e3s4) {
|
|
327
|
+
// Inline function 'kotlin.sequences.Sequence' call
|
|
328
|
+
return new _no_name_provided__qut3iv(_this__u8e3s4);
|
|
329
|
+
}
|
|
330
|
+
function toCollection_0(_this__u8e3s4, destination) {
|
|
331
|
+
var tmp0_iterator = _this__u8e3s4.f();
|
|
332
|
+
while (tmp0_iterator.g()) {
|
|
333
|
+
var item = tmp0_iterator.h();
|
|
334
|
+
destination.d(item);
|
|
335
|
+
}
|
|
336
|
+
return destination;
|
|
337
|
+
}
|
|
338
|
+
function _no_name_provided__qut3iv($this_asSequence) {
|
|
339
|
+
this.k_1 = $this_asSequence;
|
|
340
|
+
}
|
|
341
|
+
protoOf(_no_name_provided__qut3iv).f = function () {
|
|
342
|
+
// Inline function 'kotlin.collections.asSequence.<anonymous>' call
|
|
343
|
+
return this.k_1.f();
|
|
344
|
+
};
|
|
345
|
+
function coerceAtMost(_this__u8e3s4, maximumValue) {
|
|
346
|
+
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
|
|
347
|
+
}
|
|
348
|
+
function coerceAtLeast(_this__u8e3s4, minimumValue) {
|
|
349
|
+
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
|
|
350
|
+
}
|
|
351
|
+
function downTo(_this__u8e3s4, to) {
|
|
352
|
+
return Companion_getInstance_3().l(_this__u8e3s4, to, -1);
|
|
353
|
+
}
|
|
354
|
+
function map(_this__u8e3s4, transform) {
|
|
355
|
+
return new TransformingSequence(_this__u8e3s4, transform);
|
|
356
|
+
}
|
|
357
|
+
function AbstractCollection$toString$lambda(this$0) {
|
|
358
|
+
return function (it) {
|
|
359
|
+
return it === this$0 ? '(this Collection)' : toString_3(it);
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
function AbstractCollection() {
|
|
363
|
+
}
|
|
364
|
+
protoOf(AbstractCollection).m = function (element) {
|
|
365
|
+
var tmp$ret$0;
|
|
366
|
+
$l$block_0: {
|
|
367
|
+
// Inline function 'kotlin.collections.any' call
|
|
368
|
+
var tmp;
|
|
369
|
+
if (isInterface(this, Collection)) {
|
|
370
|
+
tmp = this.n();
|
|
371
|
+
} else {
|
|
372
|
+
tmp = false;
|
|
373
|
+
}
|
|
374
|
+
if (tmp) {
|
|
375
|
+
tmp$ret$0 = false;
|
|
376
|
+
break $l$block_0;
|
|
377
|
+
}
|
|
378
|
+
var tmp0_iterator = this.f();
|
|
379
|
+
while (tmp0_iterator.g()) {
|
|
380
|
+
var element_0 = tmp0_iterator.h();
|
|
381
|
+
// Inline function 'kotlin.collections.AbstractCollection.contains.<anonymous>' call
|
|
382
|
+
if (equals_0(element_0, element)) {
|
|
383
|
+
tmp$ret$0 = true;
|
|
384
|
+
break $l$block_0;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
tmp$ret$0 = false;
|
|
388
|
+
}
|
|
389
|
+
return tmp$ret$0;
|
|
390
|
+
};
|
|
391
|
+
protoOf(AbstractCollection).o = function (elements) {
|
|
392
|
+
var tmp$ret$0;
|
|
393
|
+
$l$block_0: {
|
|
394
|
+
// Inline function 'kotlin.collections.all' call
|
|
395
|
+
var tmp;
|
|
396
|
+
if (isInterface(elements, Collection)) {
|
|
397
|
+
tmp = elements.n();
|
|
398
|
+
} else {
|
|
399
|
+
tmp = false;
|
|
400
|
+
}
|
|
401
|
+
if (tmp) {
|
|
402
|
+
tmp$ret$0 = true;
|
|
403
|
+
break $l$block_0;
|
|
404
|
+
}
|
|
405
|
+
var tmp0_iterator = elements.f();
|
|
406
|
+
while (tmp0_iterator.g()) {
|
|
407
|
+
var element = tmp0_iterator.h();
|
|
408
|
+
// Inline function 'kotlin.collections.AbstractCollection.containsAll.<anonymous>' call
|
|
409
|
+
if (!this.m(element)) {
|
|
410
|
+
tmp$ret$0 = false;
|
|
411
|
+
break $l$block_0;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
tmp$ret$0 = true;
|
|
415
|
+
}
|
|
416
|
+
return tmp$ret$0;
|
|
417
|
+
};
|
|
418
|
+
protoOf(AbstractCollection).n = function () {
|
|
419
|
+
return this.i() === 0;
|
|
420
|
+
};
|
|
421
|
+
protoOf(AbstractCollection).toString = function () {
|
|
422
|
+
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
|
|
423
|
+
};
|
|
424
|
+
protoOf(AbstractCollection).toArray = function () {
|
|
425
|
+
return copyToArrayImpl(this);
|
|
426
|
+
};
|
|
427
|
+
function Companion() {
|
|
428
|
+
Companion_instance = this;
|
|
429
|
+
}
|
|
430
|
+
protoOf(Companion).p = function (index, size) {
|
|
431
|
+
if (index < 0 ? true : index >= size) {
|
|
432
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
433
|
+
}
|
|
434
|
+
};
|
|
435
|
+
protoOf(Companion).q = function (index, size) {
|
|
436
|
+
if (index < 0 ? true : index > size) {
|
|
437
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', size: ' + size);
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
protoOf(Companion).r = function (fromIndex, toIndex, size) {
|
|
441
|
+
if (fromIndex < 0 ? true : toIndex > size) {
|
|
442
|
+
throw IndexOutOfBoundsException_init_$Create$('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
|
|
443
|
+
}
|
|
444
|
+
if (fromIndex > toIndex) {
|
|
445
|
+
throw IllegalArgumentException_init_$Create$('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
protoOf(Companion).s = function (startIndex, endIndex, size) {
|
|
449
|
+
if (startIndex < 0 ? true : endIndex > size) {
|
|
450
|
+
throw IndexOutOfBoundsException_init_$Create$('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
|
|
451
|
+
}
|
|
452
|
+
if (startIndex > endIndex) {
|
|
453
|
+
throw IllegalArgumentException_init_$Create$('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
|
|
454
|
+
}
|
|
455
|
+
};
|
|
456
|
+
protoOf(Companion).t = function (c) {
|
|
457
|
+
var hashCode_0 = 1;
|
|
458
|
+
var tmp0_iterator = c.f();
|
|
459
|
+
while (tmp0_iterator.g()) {
|
|
460
|
+
var e = tmp0_iterator.h();
|
|
461
|
+
var tmp = imul(31, hashCode_0);
|
|
462
|
+
var tmp2_elvis_lhs = e == null ? null : hashCode(e);
|
|
463
|
+
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
464
|
+
}
|
|
465
|
+
return hashCode_0;
|
|
466
|
+
};
|
|
467
|
+
protoOf(Companion).u = function (c, other) {
|
|
468
|
+
if (!(c.i() === other.i()))
|
|
469
|
+
return false;
|
|
470
|
+
var otherIterator = other.f();
|
|
471
|
+
var tmp0_iterator = c.f();
|
|
472
|
+
while (tmp0_iterator.g()) {
|
|
473
|
+
var elem = tmp0_iterator.h();
|
|
474
|
+
var elemOther = otherIterator.h();
|
|
475
|
+
if (!equals_0(elem, elemOther)) {
|
|
476
|
+
return false;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
return true;
|
|
480
|
+
};
|
|
481
|
+
var Companion_instance;
|
|
482
|
+
function Companion_getInstance() {
|
|
483
|
+
if (Companion_instance == null)
|
|
484
|
+
new Companion();
|
|
485
|
+
return Companion_instance;
|
|
486
|
+
}
|
|
487
|
+
function toString($this, o) {
|
|
488
|
+
return o === $this ? '(this Map)' : toString_3(o);
|
|
489
|
+
}
|
|
490
|
+
function implFindEntry($this, key) {
|
|
491
|
+
var tmp$ret$1;
|
|
492
|
+
$l$block: {
|
|
493
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
494
|
+
var tmp0_iterator = $this.v().f();
|
|
495
|
+
while (tmp0_iterator.g()) {
|
|
496
|
+
var element = tmp0_iterator.h();
|
|
497
|
+
// Inline function 'kotlin.collections.AbstractMap.implFindEntry.<anonymous>' call
|
|
498
|
+
if (equals_0(element.w(), key)) {
|
|
499
|
+
tmp$ret$1 = element;
|
|
500
|
+
break $l$block;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
tmp$ret$1 = null;
|
|
504
|
+
}
|
|
505
|
+
return tmp$ret$1;
|
|
506
|
+
}
|
|
507
|
+
function Companion_0() {
|
|
508
|
+
Companion_instance_0 = this;
|
|
509
|
+
}
|
|
510
|
+
protoOf(Companion_0).x = function (e) {
|
|
511
|
+
// Inline function 'kotlin.with' call
|
|
512
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
513
|
+
// Inline function 'kotlin.collections.Companion.entryHashCode.<anonymous>' call
|
|
514
|
+
var tmp2_safe_receiver = e.w();
|
|
515
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : hashCode(tmp2_safe_receiver);
|
|
516
|
+
var tmp = tmp3_elvis_lhs == null ? 0 : tmp3_elvis_lhs;
|
|
517
|
+
var tmp0_safe_receiver = e.y();
|
|
518
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
519
|
+
return tmp ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs);
|
|
520
|
+
};
|
|
521
|
+
protoOf(Companion_0).z = function (e) {
|
|
522
|
+
// Inline function 'kotlin.with' call
|
|
523
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
524
|
+
// Inline function 'kotlin.collections.Companion.entryToString.<anonymous>' call
|
|
525
|
+
return toString_3(e.w()) + '=' + toString_3(e.y());
|
|
526
|
+
};
|
|
527
|
+
protoOf(Companion_0).a1 = function (e, other) {
|
|
528
|
+
if (!(!(other == null) ? isInterface(other, Entry) : false))
|
|
529
|
+
return false;
|
|
530
|
+
return equals_0(e.w(), other.w()) ? equals_0(e.y(), other.y()) : false;
|
|
531
|
+
};
|
|
532
|
+
var Companion_instance_0;
|
|
533
|
+
function Companion_getInstance_0() {
|
|
534
|
+
if (Companion_instance_0 == null)
|
|
535
|
+
new Companion_0();
|
|
536
|
+
return Companion_instance_0;
|
|
537
|
+
}
|
|
538
|
+
function AbstractMap$toString$lambda(this$0) {
|
|
539
|
+
return function (it) {
|
|
540
|
+
return this$0.d1(it);
|
|
541
|
+
};
|
|
542
|
+
}
|
|
543
|
+
function AbstractMap() {
|
|
544
|
+
Companion_getInstance_0();
|
|
545
|
+
this.b1_1 = null;
|
|
546
|
+
this.c1_1 = null;
|
|
547
|
+
}
|
|
548
|
+
protoOf(AbstractMap).e1 = function (key) {
|
|
549
|
+
return !(implFindEntry(this, key) == null);
|
|
550
|
+
};
|
|
551
|
+
protoOf(AbstractMap).f1 = function (entry) {
|
|
552
|
+
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
|
|
553
|
+
return false;
|
|
554
|
+
var key = entry.w();
|
|
555
|
+
var value = entry.y();
|
|
556
|
+
// Inline function 'kotlin.collections.get' call
|
|
557
|
+
var ourValue = (isInterface(this, Map) ? this : THROW_CCE()).g1(key);
|
|
558
|
+
if (!equals_0(value, ourValue)) {
|
|
559
|
+
return false;
|
|
560
|
+
}
|
|
561
|
+
var tmp;
|
|
562
|
+
if (ourValue == null) {
|
|
563
|
+
// Inline function 'kotlin.collections.containsKey' call
|
|
564
|
+
tmp = !(isInterface(this, Map) ? this : THROW_CCE()).e1(key);
|
|
565
|
+
} else {
|
|
566
|
+
tmp = false;
|
|
567
|
+
}
|
|
568
|
+
if (tmp) {
|
|
569
|
+
return false;
|
|
570
|
+
}
|
|
571
|
+
return true;
|
|
572
|
+
};
|
|
573
|
+
protoOf(AbstractMap).equals = function (other) {
|
|
574
|
+
if (other === this)
|
|
575
|
+
return true;
|
|
576
|
+
if (!(!(other == null) ? isInterface(other, Map) : false))
|
|
577
|
+
return false;
|
|
578
|
+
if (!(this.i() === other.i()))
|
|
579
|
+
return false;
|
|
580
|
+
var tmp$ret$0;
|
|
581
|
+
$l$block_0: {
|
|
582
|
+
// Inline function 'kotlin.collections.all' call
|
|
583
|
+
var tmp0_all = other.v();
|
|
584
|
+
var tmp;
|
|
585
|
+
if (isInterface(tmp0_all, Collection)) {
|
|
586
|
+
tmp = tmp0_all.n();
|
|
587
|
+
} else {
|
|
588
|
+
tmp = false;
|
|
589
|
+
}
|
|
590
|
+
if (tmp) {
|
|
591
|
+
tmp$ret$0 = true;
|
|
592
|
+
break $l$block_0;
|
|
593
|
+
}
|
|
594
|
+
var tmp0_iterator = tmp0_all.f();
|
|
595
|
+
while (tmp0_iterator.g()) {
|
|
596
|
+
var element = tmp0_iterator.h();
|
|
597
|
+
// Inline function 'kotlin.collections.AbstractMap.equals.<anonymous>' call
|
|
598
|
+
if (!this.f1(element)) {
|
|
599
|
+
tmp$ret$0 = false;
|
|
600
|
+
break $l$block_0;
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
tmp$ret$0 = true;
|
|
604
|
+
}
|
|
605
|
+
return tmp$ret$0;
|
|
606
|
+
};
|
|
607
|
+
protoOf(AbstractMap).g1 = function (key) {
|
|
608
|
+
var tmp0_safe_receiver = implFindEntry(this, key);
|
|
609
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
610
|
+
};
|
|
611
|
+
protoOf(AbstractMap).hashCode = function () {
|
|
612
|
+
return hashCode(this.v());
|
|
613
|
+
};
|
|
614
|
+
protoOf(AbstractMap).n = function () {
|
|
615
|
+
return this.i() === 0;
|
|
616
|
+
};
|
|
617
|
+
protoOf(AbstractMap).i = function () {
|
|
618
|
+
return this.v().i();
|
|
619
|
+
};
|
|
620
|
+
protoOf(AbstractMap).toString = function () {
|
|
621
|
+
var tmp = this.v();
|
|
622
|
+
return joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
|
|
623
|
+
};
|
|
624
|
+
protoOf(AbstractMap).d1 = function (entry) {
|
|
625
|
+
return toString(this, entry.w()) + '=' + toString(this, entry.y());
|
|
626
|
+
};
|
|
627
|
+
function Companion_1() {
|
|
628
|
+
Companion_instance_1 = this;
|
|
629
|
+
}
|
|
630
|
+
protoOf(Companion_1).h1 = function (c) {
|
|
631
|
+
var hashCode_0 = 0;
|
|
632
|
+
var tmp0_iterator = c.f();
|
|
633
|
+
while (tmp0_iterator.g()) {
|
|
634
|
+
var element = tmp0_iterator.h();
|
|
635
|
+
var tmp = hashCode_0;
|
|
636
|
+
var tmp2_elvis_lhs = element == null ? null : hashCode(element);
|
|
637
|
+
hashCode_0 = tmp + (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) | 0;
|
|
638
|
+
}
|
|
639
|
+
return hashCode_0;
|
|
640
|
+
};
|
|
641
|
+
protoOf(Companion_1).i1 = function (c, other) {
|
|
642
|
+
if (!(c.i() === other.i()))
|
|
643
|
+
return false;
|
|
644
|
+
// Inline function 'kotlin.collections.containsAll' call
|
|
645
|
+
return c.o(other);
|
|
646
|
+
};
|
|
647
|
+
var Companion_instance_1;
|
|
648
|
+
function Companion_getInstance_1() {
|
|
649
|
+
if (Companion_instance_1 == null)
|
|
650
|
+
new Companion_1();
|
|
651
|
+
return Companion_instance_1;
|
|
652
|
+
}
|
|
653
|
+
function emptyList() {
|
|
654
|
+
return EmptyList_getInstance();
|
|
655
|
+
}
|
|
656
|
+
function EmptyList() {
|
|
657
|
+
EmptyList_instance = this;
|
|
658
|
+
this.j1_1 = new Long(-1478467534, -1720727600);
|
|
659
|
+
}
|
|
660
|
+
protoOf(EmptyList).equals = function (other) {
|
|
661
|
+
var tmp;
|
|
662
|
+
if (!(other == null) ? isInterface(other, List) : false) {
|
|
663
|
+
tmp = other.n();
|
|
664
|
+
} else {
|
|
665
|
+
tmp = false;
|
|
666
|
+
}
|
|
667
|
+
return tmp;
|
|
668
|
+
};
|
|
669
|
+
protoOf(EmptyList).hashCode = function () {
|
|
670
|
+
return 1;
|
|
671
|
+
};
|
|
672
|
+
protoOf(EmptyList).toString = function () {
|
|
673
|
+
return '[]';
|
|
674
|
+
};
|
|
675
|
+
protoOf(EmptyList).i = function () {
|
|
676
|
+
return 0;
|
|
677
|
+
};
|
|
678
|
+
protoOf(EmptyList).n = function () {
|
|
679
|
+
return true;
|
|
680
|
+
};
|
|
681
|
+
protoOf(EmptyList).k1 = function (elements) {
|
|
682
|
+
return elements.n();
|
|
683
|
+
};
|
|
684
|
+
protoOf(EmptyList).o = function (elements) {
|
|
685
|
+
return this.k1(elements);
|
|
686
|
+
};
|
|
687
|
+
protoOf(EmptyList).j = function (index) {
|
|
688
|
+
throw IndexOutOfBoundsException_init_$Create$("Empty list doesn't contain element at index " + index + '.');
|
|
689
|
+
};
|
|
690
|
+
protoOf(EmptyList).f = function () {
|
|
691
|
+
return EmptyIterator_getInstance();
|
|
692
|
+
};
|
|
693
|
+
var EmptyList_instance;
|
|
694
|
+
function EmptyList_getInstance() {
|
|
695
|
+
if (EmptyList_instance == null)
|
|
696
|
+
new EmptyList();
|
|
697
|
+
return EmptyList_instance;
|
|
698
|
+
}
|
|
699
|
+
function EmptyIterator() {
|
|
700
|
+
EmptyIterator_instance = this;
|
|
701
|
+
}
|
|
702
|
+
protoOf(EmptyIterator).g = function () {
|
|
703
|
+
return false;
|
|
704
|
+
};
|
|
705
|
+
protoOf(EmptyIterator).h = function () {
|
|
706
|
+
throw NoSuchElementException_init_$Create$();
|
|
707
|
+
};
|
|
708
|
+
var EmptyIterator_instance;
|
|
709
|
+
function EmptyIterator_getInstance() {
|
|
710
|
+
if (EmptyIterator_instance == null)
|
|
711
|
+
new EmptyIterator();
|
|
712
|
+
return EmptyIterator_instance;
|
|
713
|
+
}
|
|
714
|
+
function get_indices(_this__u8e3s4) {
|
|
715
|
+
return numberRangeToNumber(0, _this__u8e3s4.i() - 1 | 0);
|
|
716
|
+
}
|
|
717
|
+
function arrayListOf(elements) {
|
|
718
|
+
return elements.length === 0 ? ArrayList_init_$Create$() : ArrayList_init_$Create$_1(new ArrayAsCollection(elements, true));
|
|
719
|
+
}
|
|
720
|
+
function get_lastIndex(_this__u8e3s4) {
|
|
721
|
+
return _this__u8e3s4.i() - 1 | 0;
|
|
722
|
+
}
|
|
723
|
+
function ArrayAsCollection(values, isVarargs) {
|
|
724
|
+
this.l1_1 = values;
|
|
725
|
+
this.m1_1 = isVarargs;
|
|
726
|
+
}
|
|
727
|
+
protoOf(ArrayAsCollection).i = function () {
|
|
728
|
+
return this.l1_1.length;
|
|
729
|
+
};
|
|
730
|
+
protoOf(ArrayAsCollection).n = function () {
|
|
731
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
732
|
+
return this.l1_1.length === 0;
|
|
733
|
+
};
|
|
734
|
+
protoOf(ArrayAsCollection).n1 = function (element) {
|
|
735
|
+
return contains(this.l1_1, element);
|
|
736
|
+
};
|
|
737
|
+
protoOf(ArrayAsCollection).o1 = function (elements) {
|
|
738
|
+
var tmp$ret$0;
|
|
739
|
+
$l$block_0: {
|
|
740
|
+
// Inline function 'kotlin.collections.all' call
|
|
741
|
+
var tmp;
|
|
742
|
+
if (isInterface(elements, Collection)) {
|
|
743
|
+
tmp = elements.n();
|
|
744
|
+
} else {
|
|
745
|
+
tmp = false;
|
|
746
|
+
}
|
|
747
|
+
if (tmp) {
|
|
748
|
+
tmp$ret$0 = true;
|
|
749
|
+
break $l$block_0;
|
|
750
|
+
}
|
|
751
|
+
var tmp0_iterator = elements.f();
|
|
752
|
+
while (tmp0_iterator.g()) {
|
|
753
|
+
var element = tmp0_iterator.h();
|
|
754
|
+
// Inline function 'kotlin.collections.ArrayAsCollection.containsAll.<anonymous>' call
|
|
755
|
+
if (!this.n1(element)) {
|
|
756
|
+
tmp$ret$0 = false;
|
|
757
|
+
break $l$block_0;
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
tmp$ret$0 = true;
|
|
761
|
+
}
|
|
762
|
+
return tmp$ret$0;
|
|
763
|
+
};
|
|
764
|
+
protoOf(ArrayAsCollection).o = function (elements) {
|
|
765
|
+
return this.o1(elements);
|
|
766
|
+
};
|
|
767
|
+
protoOf(ArrayAsCollection).f = function () {
|
|
768
|
+
return arrayIterator(this.l1_1);
|
|
769
|
+
};
|
|
770
|
+
function throwIndexOverflow() {
|
|
771
|
+
throw ArithmeticException_init_$Create$('Index overflow has happened.');
|
|
772
|
+
}
|
|
773
|
+
function IntIterator() {
|
|
774
|
+
}
|
|
775
|
+
protoOf(IntIterator).h = function () {
|
|
776
|
+
return this.p1();
|
|
777
|
+
};
|
|
778
|
+
function CharIterator() {
|
|
779
|
+
}
|
|
780
|
+
protoOf(CharIterator).q1 = function () {
|
|
781
|
+
return this.r1();
|
|
782
|
+
};
|
|
783
|
+
protoOf(CharIterator).h = function () {
|
|
784
|
+
return new Char(this.q1());
|
|
785
|
+
};
|
|
786
|
+
function generateSequence(seedFunction, nextFunction) {
|
|
787
|
+
return new GeneratorSequence(seedFunction, nextFunction);
|
|
788
|
+
}
|
|
789
|
+
function TransformingSequence$iterator$1(this$0) {
|
|
790
|
+
this.t1_1 = this$0;
|
|
791
|
+
this.s1_1 = this$0.u1_1.f();
|
|
792
|
+
}
|
|
793
|
+
protoOf(TransformingSequence$iterator$1).h = function () {
|
|
794
|
+
return this.t1_1.v1_1(this.s1_1.h());
|
|
795
|
+
};
|
|
796
|
+
protoOf(TransformingSequence$iterator$1).g = function () {
|
|
797
|
+
return this.s1_1.g();
|
|
798
|
+
};
|
|
799
|
+
function TransformingSequence(sequence, transformer) {
|
|
800
|
+
this.u1_1 = sequence;
|
|
801
|
+
this.v1_1 = transformer;
|
|
802
|
+
}
|
|
803
|
+
protoOf(TransformingSequence).f = function () {
|
|
804
|
+
return new TransformingSequence$iterator$1(this);
|
|
805
|
+
};
|
|
806
|
+
function calcNext($this) {
|
|
807
|
+
$this.w1_1 = $this.x1_1 === -2 ? $this.y1_1.z1_1() : $this.y1_1.a2_1(ensureNotNull($this.w1_1));
|
|
808
|
+
$this.x1_1 = $this.w1_1 == null ? 0 : 1;
|
|
809
|
+
}
|
|
810
|
+
function GeneratorSequence$iterator$1(this$0) {
|
|
811
|
+
this.y1_1 = this$0;
|
|
812
|
+
this.w1_1 = null;
|
|
813
|
+
this.x1_1 = -2;
|
|
814
|
+
}
|
|
815
|
+
protoOf(GeneratorSequence$iterator$1).h = function () {
|
|
816
|
+
if (this.x1_1 < 0) {
|
|
817
|
+
calcNext(this);
|
|
818
|
+
}
|
|
819
|
+
if (this.x1_1 === 0)
|
|
820
|
+
throw NoSuchElementException_init_$Create$();
|
|
821
|
+
var tmp = this.w1_1;
|
|
822
|
+
var result = isObject(tmp) ? tmp : THROW_CCE();
|
|
823
|
+
this.x1_1 = -1;
|
|
824
|
+
return result;
|
|
825
|
+
};
|
|
826
|
+
protoOf(GeneratorSequence$iterator$1).g = function () {
|
|
827
|
+
if (this.x1_1 < 0) {
|
|
828
|
+
calcNext(this);
|
|
829
|
+
}
|
|
830
|
+
return this.x1_1 === 1;
|
|
831
|
+
};
|
|
832
|
+
function GeneratorSequence(getInitialValue, getNextValue) {
|
|
833
|
+
this.z1_1 = getInitialValue;
|
|
834
|
+
this.a2_1 = getNextValue;
|
|
835
|
+
}
|
|
836
|
+
protoOf(GeneratorSequence).f = function () {
|
|
837
|
+
return new GeneratorSequence$iterator$1(this);
|
|
838
|
+
};
|
|
839
|
+
function emptySet() {
|
|
840
|
+
return EmptySet_getInstance();
|
|
841
|
+
}
|
|
842
|
+
function hashSetOf(elements) {
|
|
843
|
+
return toCollection(elements, HashSet_init_$Create$(mapCapacity(elements.length)));
|
|
844
|
+
}
|
|
845
|
+
function EmptySet() {
|
|
846
|
+
EmptySet_instance = this;
|
|
847
|
+
this.b2_1 = new Long(1993859828, 793161749);
|
|
848
|
+
}
|
|
849
|
+
protoOf(EmptySet).equals = function (other) {
|
|
850
|
+
var tmp;
|
|
851
|
+
if (!(other == null) ? isInterface(other, Set) : false) {
|
|
852
|
+
tmp = other.n();
|
|
853
|
+
} else {
|
|
854
|
+
tmp = false;
|
|
855
|
+
}
|
|
856
|
+
return tmp;
|
|
857
|
+
};
|
|
858
|
+
protoOf(EmptySet).hashCode = function () {
|
|
859
|
+
return 0;
|
|
860
|
+
};
|
|
861
|
+
protoOf(EmptySet).toString = function () {
|
|
862
|
+
return '[]';
|
|
863
|
+
};
|
|
864
|
+
protoOf(EmptySet).i = function () {
|
|
865
|
+
return 0;
|
|
866
|
+
};
|
|
867
|
+
protoOf(EmptySet).n = function () {
|
|
868
|
+
return true;
|
|
869
|
+
};
|
|
870
|
+
protoOf(EmptySet).k1 = function (elements) {
|
|
871
|
+
return elements.n();
|
|
872
|
+
};
|
|
873
|
+
protoOf(EmptySet).o = function (elements) {
|
|
874
|
+
return this.k1(elements);
|
|
875
|
+
};
|
|
876
|
+
protoOf(EmptySet).f = function () {
|
|
877
|
+
return EmptyIterator_getInstance();
|
|
878
|
+
};
|
|
879
|
+
var EmptySet_instance;
|
|
880
|
+
function EmptySet_getInstance() {
|
|
881
|
+
if (EmptySet_instance == null)
|
|
882
|
+
new EmptySet();
|
|
883
|
+
return EmptySet_instance;
|
|
884
|
+
}
|
|
885
|
+
function optimizeReadOnlySet(_this__u8e3s4) {
|
|
886
|
+
switch (_this__u8e3s4.i()) {
|
|
887
|
+
case 0:
|
|
888
|
+
return emptySet();
|
|
889
|
+
case 1:
|
|
890
|
+
return setOf(_this__u8e3s4.f().h());
|
|
891
|
+
default:
|
|
892
|
+
return _this__u8e3s4;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
function getProgressionLastElement(start, end, step) {
|
|
896
|
+
var tmp;
|
|
897
|
+
if (step > 0) {
|
|
898
|
+
tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0;
|
|
899
|
+
} else if (step < 0) {
|
|
900
|
+
tmp = start <= end ? end : end + differenceModulo(start, end, -step | 0) | 0;
|
|
901
|
+
} else {
|
|
902
|
+
throw IllegalArgumentException_init_$Create$('Step is zero.');
|
|
903
|
+
}
|
|
904
|
+
return tmp;
|
|
905
|
+
}
|
|
906
|
+
function differenceModulo(a, b, c) {
|
|
907
|
+
return mod(mod(a, c) - mod(b, c) | 0, c);
|
|
908
|
+
}
|
|
909
|
+
function mod(a, b) {
|
|
910
|
+
var mod = a % b | 0;
|
|
911
|
+
return mod >= 0 ? mod : mod + b | 0;
|
|
912
|
+
}
|
|
913
|
+
function Companion_2() {
|
|
914
|
+
Companion_instance_2 = this;
|
|
915
|
+
this.c2_1 = new IntRange(1, 0);
|
|
916
|
+
}
|
|
917
|
+
var Companion_instance_2;
|
|
918
|
+
function Companion_getInstance_2() {
|
|
919
|
+
if (Companion_instance_2 == null)
|
|
920
|
+
new Companion_2();
|
|
921
|
+
return Companion_instance_2;
|
|
922
|
+
}
|
|
923
|
+
function IntRange(start, endInclusive) {
|
|
924
|
+
Companion_getInstance_2();
|
|
925
|
+
IntProgression.call(this, start, endInclusive, 1);
|
|
926
|
+
}
|
|
927
|
+
protoOf(IntRange).g2 = function () {
|
|
928
|
+
return this.h2_1;
|
|
929
|
+
};
|
|
930
|
+
protoOf(IntRange).k2 = function () {
|
|
931
|
+
return this.i2_1;
|
|
932
|
+
};
|
|
933
|
+
protoOf(IntRange).n = function () {
|
|
934
|
+
return this.h2_1 > this.i2_1;
|
|
935
|
+
};
|
|
936
|
+
protoOf(IntRange).equals = function (other) {
|
|
937
|
+
var tmp;
|
|
938
|
+
if (other instanceof IntRange) {
|
|
939
|
+
tmp = (this.n() ? other.n() : false) ? true : this.h2_1 === other.h2_1 ? this.i2_1 === other.i2_1 : false;
|
|
940
|
+
} else {
|
|
941
|
+
tmp = false;
|
|
942
|
+
}
|
|
943
|
+
return tmp;
|
|
944
|
+
};
|
|
945
|
+
protoOf(IntRange).hashCode = function () {
|
|
946
|
+
return this.n() ? -1 : imul(31, this.h2_1) + this.i2_1 | 0;
|
|
947
|
+
};
|
|
948
|
+
protoOf(IntRange).toString = function () {
|
|
949
|
+
return '' + this.h2_1 + '..' + this.i2_1;
|
|
950
|
+
};
|
|
951
|
+
function IntProgressionIterator(first, last, step) {
|
|
952
|
+
IntIterator.call(this);
|
|
953
|
+
this.l2_1 = step;
|
|
954
|
+
this.m2_1 = last;
|
|
955
|
+
this.n2_1 = this.l2_1 > 0 ? first <= last : first >= last;
|
|
956
|
+
this.o2_1 = this.n2_1 ? first : this.m2_1;
|
|
957
|
+
}
|
|
958
|
+
protoOf(IntProgressionIterator).g = function () {
|
|
959
|
+
return this.n2_1;
|
|
960
|
+
};
|
|
961
|
+
protoOf(IntProgressionIterator).p1 = function () {
|
|
962
|
+
var value = this.o2_1;
|
|
963
|
+
if (value === this.m2_1) {
|
|
964
|
+
if (!this.n2_1)
|
|
965
|
+
throw NoSuchElementException_init_$Create$();
|
|
966
|
+
this.n2_1 = false;
|
|
967
|
+
} else {
|
|
968
|
+
this.o2_1 = this.o2_1 + this.l2_1 | 0;
|
|
969
|
+
}
|
|
970
|
+
return value;
|
|
971
|
+
};
|
|
972
|
+
function Companion_3() {
|
|
973
|
+
Companion_instance_3 = this;
|
|
974
|
+
}
|
|
975
|
+
protoOf(Companion_3).l = function (rangeStart, rangeEnd, step) {
|
|
976
|
+
return new IntProgression(rangeStart, rangeEnd, step);
|
|
977
|
+
};
|
|
978
|
+
var Companion_instance_3;
|
|
979
|
+
function Companion_getInstance_3() {
|
|
980
|
+
if (Companion_instance_3 == null)
|
|
981
|
+
new Companion_3();
|
|
982
|
+
return Companion_instance_3;
|
|
983
|
+
}
|
|
984
|
+
function IntProgression(start, endInclusive, step) {
|
|
985
|
+
Companion_getInstance_3();
|
|
986
|
+
if (step === 0)
|
|
987
|
+
throw IllegalArgumentException_init_$Create$('Step must be non-zero.');
|
|
988
|
+
if (step === IntCompanionObject_getInstance().MIN_VALUE)
|
|
989
|
+
throw IllegalArgumentException_init_$Create$('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
|
|
990
|
+
this.h2_1 = start;
|
|
991
|
+
this.i2_1 = getProgressionLastElement(start, endInclusive, step);
|
|
992
|
+
this.j2_1 = step;
|
|
993
|
+
}
|
|
994
|
+
protoOf(IntProgression).f = function () {
|
|
995
|
+
return new IntProgressionIterator(this.h2_1, this.i2_1, this.j2_1);
|
|
996
|
+
};
|
|
997
|
+
protoOf(IntProgression).n = function () {
|
|
998
|
+
return this.j2_1 > 0 ? this.h2_1 > this.i2_1 : this.h2_1 < this.i2_1;
|
|
999
|
+
};
|
|
1000
|
+
protoOf(IntProgression).equals = function (other) {
|
|
1001
|
+
var tmp;
|
|
1002
|
+
if (other instanceof IntProgression) {
|
|
1003
|
+
tmp = (this.n() ? other.n() : false) ? true : (this.h2_1 === other.h2_1 ? this.i2_1 === other.i2_1 : false) ? this.j2_1 === other.j2_1 : false;
|
|
1004
|
+
} else {
|
|
1005
|
+
tmp = false;
|
|
1006
|
+
}
|
|
1007
|
+
return tmp;
|
|
1008
|
+
};
|
|
1009
|
+
protoOf(IntProgression).hashCode = function () {
|
|
1010
|
+
return this.n() ? -1 : imul(31, imul(31, this.h2_1) + this.i2_1 | 0) + this.j2_1 | 0;
|
|
1011
|
+
};
|
|
1012
|
+
protoOf(IntProgression).toString = function () {
|
|
1013
|
+
return this.j2_1 > 0 ? '' + this.h2_1 + '..' + this.i2_1 + ' step ' + this.j2_1 : '' + this.h2_1 + ' downTo ' + this.i2_1 + ' step ' + (-this.j2_1 | 0);
|
|
1014
|
+
};
|
|
1015
|
+
function appendElement(_this__u8e3s4, element, transform) {
|
|
1016
|
+
if (!(transform == null)) {
|
|
1017
|
+
_this__u8e3s4.e(transform(element));
|
|
1018
|
+
} else {
|
|
1019
|
+
if (element == null ? true : isCharSequence(element)) {
|
|
1020
|
+
_this__u8e3s4.e(element);
|
|
1021
|
+
} else {
|
|
1022
|
+
if (element instanceof Char) {
|
|
1023
|
+
_this__u8e3s4.q2(element.p2_1);
|
|
1024
|
+
} else {
|
|
1025
|
+
_this__u8e3s4.e(toString_3(element));
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
}
|
|
1030
|
+
function equals(_this__u8e3s4, other, ignoreCase) {
|
|
1031
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1032
|
+
if (_this__u8e3s4 === other)
|
|
1033
|
+
return true;
|
|
1034
|
+
if (!ignoreCase)
|
|
1035
|
+
return false;
|
|
1036
|
+
var thisUpper = uppercaseChar(_this__u8e3s4);
|
|
1037
|
+
var otherUpper = uppercaseChar(other);
|
|
1038
|
+
var tmp;
|
|
1039
|
+
if (thisUpper === otherUpper) {
|
|
1040
|
+
tmp = true;
|
|
1041
|
+
} else {
|
|
1042
|
+
var tmp$ret$3;
|
|
1043
|
+
// Inline function 'kotlin.text.lowercaseChar' call
|
|
1044
|
+
var tmp$ret$2;
|
|
1045
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
1046
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1047
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1048
|
+
tmp$ret$2 = toString_2(thisUpper).toLowerCase();
|
|
1049
|
+
tmp$ret$3 = charSequenceGet(tmp$ret$2, 0);
|
|
1050
|
+
var tmp_0 = new Char(tmp$ret$3);
|
|
1051
|
+
var tmp$ret$7;
|
|
1052
|
+
// Inline function 'kotlin.text.lowercaseChar' call
|
|
1053
|
+
var tmp$ret$6;
|
|
1054
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
1055
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1056
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1057
|
+
tmp$ret$6 = toString_2(otherUpper).toLowerCase();
|
|
1058
|
+
tmp$ret$7 = charSequenceGet(tmp$ret$6, 0);
|
|
1059
|
+
tmp = equals_0(tmp_0, new Char(tmp$ret$7));
|
|
1060
|
+
}
|
|
1061
|
+
return tmp;
|
|
1062
|
+
}
|
|
1063
|
+
function toIntOrNull(_this__u8e3s4, radix) {
|
|
1064
|
+
checkRadix(radix);
|
|
1065
|
+
var length = _this__u8e3s4.length;
|
|
1066
|
+
if (length === 0)
|
|
1067
|
+
return null;
|
|
1068
|
+
var start;
|
|
1069
|
+
var isNegative;
|
|
1070
|
+
var limit;
|
|
1071
|
+
var firstChar = charSequenceGet(_this__u8e3s4, 0);
|
|
1072
|
+
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
|
|
1073
|
+
if (length === 1)
|
|
1074
|
+
return null;
|
|
1075
|
+
start = 1;
|
|
1076
|
+
if (firstChar === _Char___init__impl__6a9atx(45)) {
|
|
1077
|
+
isNegative = true;
|
|
1078
|
+
limit = IntCompanionObject_getInstance().MIN_VALUE;
|
|
1079
|
+
} else if (firstChar === _Char___init__impl__6a9atx(43)) {
|
|
1080
|
+
isNegative = false;
|
|
1081
|
+
limit = -IntCompanionObject_getInstance().MAX_VALUE | 0;
|
|
1082
|
+
} else
|
|
1083
|
+
return null;
|
|
1084
|
+
} else {
|
|
1085
|
+
start = 0;
|
|
1086
|
+
isNegative = false;
|
|
1087
|
+
limit = -IntCompanionObject_getInstance().MAX_VALUE | 0;
|
|
1088
|
+
}
|
|
1089
|
+
var limitForMaxRadix = (-IntCompanionObject_getInstance().MAX_VALUE | 0) / 36 | 0;
|
|
1090
|
+
var limitBeforeMul = limitForMaxRadix;
|
|
1091
|
+
var result = 0;
|
|
1092
|
+
var inductionVariable = start;
|
|
1093
|
+
if (inductionVariable < length)
|
|
1094
|
+
do {
|
|
1095
|
+
var i = inductionVariable;
|
|
1096
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1097
|
+
var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
|
|
1098
|
+
if (digit < 0)
|
|
1099
|
+
return null;
|
|
1100
|
+
if (result < limitBeforeMul) {
|
|
1101
|
+
if (limitBeforeMul === limitForMaxRadix) {
|
|
1102
|
+
limitBeforeMul = limit / radix | 0;
|
|
1103
|
+
if (result < limitBeforeMul) {
|
|
1104
|
+
return null;
|
|
1105
|
+
}
|
|
1106
|
+
} else {
|
|
1107
|
+
return null;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
result = imul(result, radix);
|
|
1111
|
+
if (result < (limit + digit | 0))
|
|
1112
|
+
return null;
|
|
1113
|
+
result = result - digit | 0;
|
|
1114
|
+
}
|
|
1115
|
+
while (inductionVariable < length);
|
|
1116
|
+
return isNegative ? result : -result | 0;
|
|
1117
|
+
}
|
|
1118
|
+
function numberFormatError(input) {
|
|
1119
|
+
throw NumberFormatException_init_$Create$("Invalid number format: '" + input + "'");
|
|
1120
|
+
}
|
|
1121
|
+
function toLongOrNull(_this__u8e3s4, radix) {
|
|
1122
|
+
checkRadix(radix);
|
|
1123
|
+
var length = _this__u8e3s4.length;
|
|
1124
|
+
if (length === 0)
|
|
1125
|
+
return null;
|
|
1126
|
+
var start;
|
|
1127
|
+
var isNegative;
|
|
1128
|
+
var limit;
|
|
1129
|
+
var firstChar = charSequenceGet(_this__u8e3s4, 0);
|
|
1130
|
+
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
|
|
1131
|
+
if (length === 1)
|
|
1132
|
+
return null;
|
|
1133
|
+
start = 1;
|
|
1134
|
+
if (firstChar === _Char___init__impl__6a9atx(45)) {
|
|
1135
|
+
isNegative = true;
|
|
1136
|
+
Companion_getInstance_10();
|
|
1137
|
+
limit = new Long(0, -2147483648);
|
|
1138
|
+
} else if (firstChar === _Char___init__impl__6a9atx(43)) {
|
|
1139
|
+
isNegative = false;
|
|
1140
|
+
Companion_getInstance_10();
|
|
1141
|
+
limit = (new Long(-1, 2147483647)).t2();
|
|
1142
|
+
} else
|
|
1143
|
+
return null;
|
|
1144
|
+
} else {
|
|
1145
|
+
start = 0;
|
|
1146
|
+
isNegative = false;
|
|
1147
|
+
Companion_getInstance_10();
|
|
1148
|
+
limit = (new Long(-1, 2147483647)).t2();
|
|
1149
|
+
}
|
|
1150
|
+
// Inline function 'kotlin.Long.div' call
|
|
1151
|
+
Companion_getInstance_10();
|
|
1152
|
+
var limitForMaxRadix = (new Long(-1, 2147483647)).t2().u2(new Long(36, 0));
|
|
1153
|
+
var limitBeforeMul = limitForMaxRadix;
|
|
1154
|
+
var result = new Long(0, 0);
|
|
1155
|
+
var inductionVariable = start;
|
|
1156
|
+
if (inductionVariable < length)
|
|
1157
|
+
do {
|
|
1158
|
+
var i = inductionVariable;
|
|
1159
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1160
|
+
var digit = digitOf(charSequenceGet(_this__u8e3s4, i), radix);
|
|
1161
|
+
if (digit < 0)
|
|
1162
|
+
return null;
|
|
1163
|
+
if (result.v2(limitBeforeMul) < 0) {
|
|
1164
|
+
if (limitBeforeMul.equals(limitForMaxRadix)) {
|
|
1165
|
+
// Inline function 'kotlin.Long.div' call
|
|
1166
|
+
limitBeforeMul = limit.u2(toLong_0(radix));
|
|
1167
|
+
if (result.v2(limitBeforeMul) < 0) {
|
|
1168
|
+
return null;
|
|
1169
|
+
}
|
|
1170
|
+
} else {
|
|
1171
|
+
return null;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
// Inline function 'kotlin.Long.times' call
|
|
1175
|
+
result = result.w2(toLong_0(radix));
|
|
1176
|
+
var tmp = result;
|
|
1177
|
+
var tmp$ret$3;
|
|
1178
|
+
// Inline function 'kotlin.Long.plus' call
|
|
1179
|
+
tmp$ret$3 = limit.x2(toLong_0(digit));
|
|
1180
|
+
if (tmp.v2(tmp$ret$3) < 0)
|
|
1181
|
+
return null;
|
|
1182
|
+
// Inline function 'kotlin.Long.minus' call
|
|
1183
|
+
result = result.y2(toLong_0(digit));
|
|
1184
|
+
}
|
|
1185
|
+
while (inductionVariable < length);
|
|
1186
|
+
return isNegative ? result : result.t2();
|
|
1187
|
+
}
|
|
1188
|
+
function toIntOrNull_0(_this__u8e3s4) {
|
|
1189
|
+
return toIntOrNull(_this__u8e3s4, 10);
|
|
1190
|
+
}
|
|
1191
|
+
function iterator(_this__u8e3s4) {
|
|
1192
|
+
return new iterator$1(_this__u8e3s4);
|
|
1193
|
+
}
|
|
1194
|
+
function get_lastIndex_0(_this__u8e3s4) {
|
|
1195
|
+
return charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
1196
|
+
}
|
|
1197
|
+
function indexOf_1(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
1198
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1199
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1200
|
+
var tmp;
|
|
1201
|
+
var tmp_0;
|
|
1202
|
+
if (ignoreCase) {
|
|
1203
|
+
tmp_0 = true;
|
|
1204
|
+
} else {
|
|
1205
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
1206
|
+
}
|
|
1207
|
+
if (tmp_0) {
|
|
1208
|
+
tmp = indexOf_2(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
|
|
1209
|
+
} else {
|
|
1210
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
1211
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1212
|
+
tmp = _this__u8e3s4.indexOf(string, startIndex);
|
|
1213
|
+
}
|
|
1214
|
+
return tmp;
|
|
1215
|
+
}
|
|
1216
|
+
function trim(_this__u8e3s4) {
|
|
1217
|
+
// Inline function 'kotlin.text.trim' call
|
|
1218
|
+
var startIndex = 0;
|
|
1219
|
+
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
|
|
1220
|
+
var startFound = false;
|
|
1221
|
+
$l$loop: while (startIndex <= endIndex) {
|
|
1222
|
+
var index = !startFound ? startIndex : endIndex;
|
|
1223
|
+
var match = isWhitespace(charSequenceGet(_this__u8e3s4, index));
|
|
1224
|
+
if (!startFound) {
|
|
1225
|
+
if (!match)
|
|
1226
|
+
startFound = true;
|
|
1227
|
+
else
|
|
1228
|
+
startIndex = startIndex + 1 | 0;
|
|
1229
|
+
} else {
|
|
1230
|
+
if (!match)
|
|
1231
|
+
break $l$loop;
|
|
1232
|
+
else
|
|
1233
|
+
endIndex = endIndex - 1 | 0;
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
|
|
1237
|
+
}
|
|
1238
|
+
function indexOf_2(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
1239
|
+
last = last === VOID ? false : last;
|
|
1240
|
+
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_0(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
|
|
1241
|
+
var tmp;
|
|
1242
|
+
if (typeof _this__u8e3s4 === 'string') {
|
|
1243
|
+
tmp = typeof other === 'string';
|
|
1244
|
+
} else {
|
|
1245
|
+
tmp = false;
|
|
1246
|
+
}
|
|
1247
|
+
if (tmp) {
|
|
1248
|
+
var inductionVariable = indices.h2_1;
|
|
1249
|
+
var last_0 = indices.i2_1;
|
|
1250
|
+
var step = indices.j2_1;
|
|
1251
|
+
if ((step > 0 ? inductionVariable <= last_0 : false) ? true : step < 0 ? last_0 <= inductionVariable : false)
|
|
1252
|
+
do {
|
|
1253
|
+
var index = inductionVariable;
|
|
1254
|
+
inductionVariable = inductionVariable + step | 0;
|
|
1255
|
+
if (regionMatches(other, 0, _this__u8e3s4, index, charSequenceLength(other), ignoreCase))
|
|
1256
|
+
return index;
|
|
1257
|
+
}
|
|
1258
|
+
while (!(index === last_0));
|
|
1259
|
+
} else {
|
|
1260
|
+
var inductionVariable_0 = indices.h2_1;
|
|
1261
|
+
var last_1 = indices.i2_1;
|
|
1262
|
+
var step_0 = indices.j2_1;
|
|
1263
|
+
if ((step_0 > 0 ? inductionVariable_0 <= last_1 : false) ? true : step_0 < 0 ? last_1 <= inductionVariable_0 : false)
|
|
1264
|
+
do {
|
|
1265
|
+
var index_0 = inductionVariable_0;
|
|
1266
|
+
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
|
|
1267
|
+
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
|
|
1268
|
+
return index_0;
|
|
1269
|
+
}
|
|
1270
|
+
while (!(index_0 === last_1));
|
|
1271
|
+
}
|
|
1272
|
+
return -1;
|
|
1273
|
+
}
|
|
1274
|
+
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
1275
|
+
if (((otherOffset < 0 ? true : thisOffset < 0) ? true : thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0)) ? true : otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
1276
|
+
return false;
|
|
1277
|
+
}
|
|
1278
|
+
var inductionVariable = 0;
|
|
1279
|
+
if (inductionVariable < length)
|
|
1280
|
+
do {
|
|
1281
|
+
var index = inductionVariable;
|
|
1282
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1283
|
+
if (!equals(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
|
|
1284
|
+
return false;
|
|
1285
|
+
}
|
|
1286
|
+
while (inductionVariable < length);
|
|
1287
|
+
return true;
|
|
1288
|
+
}
|
|
1289
|
+
function contains_0(_this__u8e3s4, char, ignoreCase) {
|
|
1290
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1291
|
+
return indexOf_3(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
1292
|
+
}
|
|
1293
|
+
function indexOf_3(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
1294
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1295
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1296
|
+
var tmp;
|
|
1297
|
+
var tmp_0;
|
|
1298
|
+
if (ignoreCase) {
|
|
1299
|
+
tmp_0 = true;
|
|
1300
|
+
} else {
|
|
1301
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
1302
|
+
}
|
|
1303
|
+
if (tmp_0) {
|
|
1304
|
+
var tmp$ret$0;
|
|
1305
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
1306
|
+
tmp$ret$0 = charArrayOf([char]);
|
|
1307
|
+
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
1308
|
+
} else {
|
|
1309
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
1310
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
1311
|
+
var tmp0_nativeIndexOf = toString_2(char);
|
|
1312
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1313
|
+
tmp = _this__u8e3s4.indexOf(tmp0_nativeIndexOf, startIndex);
|
|
1314
|
+
}
|
|
1315
|
+
return tmp;
|
|
1316
|
+
}
|
|
1317
|
+
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
1318
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1319
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
1320
|
+
var tmp;
|
|
1321
|
+
if (!ignoreCase ? chars.length === 1 : false) {
|
|
1322
|
+
tmp = typeof _this__u8e3s4 === 'string';
|
|
1323
|
+
} else {
|
|
1324
|
+
tmp = false;
|
|
1325
|
+
}
|
|
1326
|
+
if (tmp) {
|
|
1327
|
+
var char = single(chars);
|
|
1328
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
1329
|
+
// Inline function 'kotlin.text.nativeIndexOf' call
|
|
1330
|
+
var tmp0_nativeIndexOf = toString_2(char);
|
|
1331
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1332
|
+
return _this__u8e3s4.indexOf(tmp0_nativeIndexOf, startIndex);
|
|
1333
|
+
}
|
|
1334
|
+
var inductionVariable = coerceAtLeast(startIndex, 0);
|
|
1335
|
+
var last = get_lastIndex_0(_this__u8e3s4);
|
|
1336
|
+
if (inductionVariable <= last)
|
|
1337
|
+
do {
|
|
1338
|
+
var index = inductionVariable;
|
|
1339
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1340
|
+
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
|
|
1341
|
+
var tmp$ret$4;
|
|
1342
|
+
$l$block: {
|
|
1343
|
+
// Inline function 'kotlin.collections.any' call
|
|
1344
|
+
var inductionVariable_0 = 0;
|
|
1345
|
+
var last_0 = chars.length;
|
|
1346
|
+
while (inductionVariable_0 < last_0) {
|
|
1347
|
+
var element = chars[inductionVariable_0];
|
|
1348
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1349
|
+
// Inline function 'kotlin.text.indexOfAny.<anonymous>' call
|
|
1350
|
+
if (equals(element, charAtIndex, ignoreCase)) {
|
|
1351
|
+
tmp$ret$4 = true;
|
|
1352
|
+
break $l$block;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
tmp$ret$4 = false;
|
|
1356
|
+
}
|
|
1357
|
+
if (tmp$ret$4)
|
|
1358
|
+
return index;
|
|
1359
|
+
}
|
|
1360
|
+
while (!(index === last));
|
|
1361
|
+
return -1;
|
|
1362
|
+
}
|
|
1363
|
+
function iterator$1($this_iterator) {
|
|
1364
|
+
this.a3_1 = $this_iterator;
|
|
1365
|
+
CharIterator.call(this);
|
|
1366
|
+
this.z2_1 = 0;
|
|
1367
|
+
}
|
|
1368
|
+
protoOf(iterator$1).r1 = function () {
|
|
1369
|
+
var tmp1 = this.z2_1;
|
|
1370
|
+
this.z2_1 = tmp1 + 1 | 0;
|
|
1371
|
+
return charSequenceGet(this.a3_1, tmp1);
|
|
1372
|
+
};
|
|
1373
|
+
protoOf(iterator$1).g = function () {
|
|
1374
|
+
return this.z2_1 < charSequenceLength(this.a3_1);
|
|
1375
|
+
};
|
|
1376
|
+
function MatchNamedGroupCollection() {
|
|
1377
|
+
}
|
|
1378
|
+
function _UByte___init__impl__g9hnc4(data) {
|
|
1379
|
+
return data;
|
|
1380
|
+
}
|
|
1381
|
+
function _UByte___get_data__impl__jof9qr($this) {
|
|
1382
|
+
return $this;
|
|
1383
|
+
}
|
|
1384
|
+
function _UShort___init__impl__jigrne(data) {
|
|
1385
|
+
return data;
|
|
1386
|
+
}
|
|
1387
|
+
function _UShort___get_data__impl__g0245($this) {
|
|
1388
|
+
return $this;
|
|
1389
|
+
}
|
|
1390
|
+
function toString_0(_this__u8e3s4, radix) {
|
|
1391
|
+
var tmp$ret$0;
|
|
1392
|
+
// Inline function 'kotlin.UByte.toInt' call
|
|
1393
|
+
tmp$ret$0 = _UByte___get_data__impl__jof9qr(_this__u8e3s4) & 255;
|
|
1394
|
+
return toString_1(tmp$ret$0, radix);
|
|
1395
|
+
}
|
|
1396
|
+
function CharSequence() {
|
|
1397
|
+
}
|
|
1398
|
+
function Number_0() {
|
|
1399
|
+
}
|
|
1400
|
+
function Unit() {
|
|
1401
|
+
Unit_instance = this;
|
|
1402
|
+
}
|
|
1403
|
+
protoOf(Unit).toString = function () {
|
|
1404
|
+
return 'kotlin.Unit';
|
|
1405
|
+
};
|
|
1406
|
+
var Unit_instance;
|
|
1407
|
+
function Unit_getInstance() {
|
|
1408
|
+
if (Unit_instance == null)
|
|
1409
|
+
new Unit();
|
|
1410
|
+
return Unit_instance;
|
|
1411
|
+
}
|
|
1412
|
+
function IntCompanionObject() {
|
|
1413
|
+
IntCompanionObject_instance = this;
|
|
1414
|
+
this.MIN_VALUE = -2147483648;
|
|
1415
|
+
this.MAX_VALUE = 2147483647;
|
|
1416
|
+
this.SIZE_BYTES = 4;
|
|
1417
|
+
this.SIZE_BITS = 32;
|
|
1418
|
+
}
|
|
1419
|
+
protoOf(IntCompanionObject).f3 = function () {
|
|
1420
|
+
return this.MIN_VALUE;
|
|
1421
|
+
};
|
|
1422
|
+
protoOf(IntCompanionObject).g3 = function () {
|
|
1423
|
+
return this.MAX_VALUE;
|
|
1424
|
+
};
|
|
1425
|
+
protoOf(IntCompanionObject).h3 = function () {
|
|
1426
|
+
return this.SIZE_BYTES;
|
|
1427
|
+
};
|
|
1428
|
+
protoOf(IntCompanionObject).i3 = function () {
|
|
1429
|
+
return this.SIZE_BITS;
|
|
1430
|
+
};
|
|
1431
|
+
var IntCompanionObject_instance;
|
|
1432
|
+
function IntCompanionObject_getInstance() {
|
|
1433
|
+
if (IntCompanionObject_instance == null)
|
|
1434
|
+
new IntCompanionObject();
|
|
1435
|
+
return IntCompanionObject_instance;
|
|
1436
|
+
}
|
|
1437
|
+
function copyToArrayImpl(collection) {
|
|
1438
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1439
|
+
var array = [];
|
|
1440
|
+
var iterator = collection.f();
|
|
1441
|
+
while (iterator.g()) {
|
|
1442
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1443
|
+
array.push(iterator.h());
|
|
1444
|
+
}
|
|
1445
|
+
return array;
|
|
1446
|
+
}
|
|
1447
|
+
function listOf(element) {
|
|
1448
|
+
return arrayListOf([element]);
|
|
1449
|
+
}
|
|
1450
|
+
function setOf(element) {
|
|
1451
|
+
return hashSetOf([element]);
|
|
1452
|
+
}
|
|
1453
|
+
function mapCapacity(expectedSize) {
|
|
1454
|
+
return expectedSize;
|
|
1455
|
+
}
|
|
1456
|
+
function checkIndexOverflow(index) {
|
|
1457
|
+
if (index < 0) {
|
|
1458
|
+
throwIndexOverflow();
|
|
1459
|
+
}
|
|
1460
|
+
return index;
|
|
1461
|
+
}
|
|
1462
|
+
function copyToArray(collection) {
|
|
1463
|
+
var tmp;
|
|
1464
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1465
|
+
if (collection.toArray !== undefined) {
|
|
1466
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1467
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1468
|
+
tmp = collection.toArray();
|
|
1469
|
+
} else {
|
|
1470
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1471
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1472
|
+
tmp = copyToArrayImpl(collection);
|
|
1473
|
+
}
|
|
1474
|
+
return tmp;
|
|
1475
|
+
}
|
|
1476
|
+
function AbstractMutableCollection() {
|
|
1477
|
+
AbstractCollection.call(this);
|
|
1478
|
+
}
|
|
1479
|
+
protoOf(AbstractMutableCollection).j3 = function (elements) {
|
|
1480
|
+
this.k3();
|
|
1481
|
+
var modified = false;
|
|
1482
|
+
var tmp0_iterator = elements.f();
|
|
1483
|
+
while (tmp0_iterator.g()) {
|
|
1484
|
+
var element = tmp0_iterator.h();
|
|
1485
|
+
if (this.d(element))
|
|
1486
|
+
modified = true;
|
|
1487
|
+
}
|
|
1488
|
+
return modified;
|
|
1489
|
+
};
|
|
1490
|
+
protoOf(AbstractMutableCollection).toJSON = function () {
|
|
1491
|
+
return this.toArray();
|
|
1492
|
+
};
|
|
1493
|
+
protoOf(AbstractMutableCollection).k3 = function () {
|
|
1494
|
+
};
|
|
1495
|
+
function IteratorImpl($outer) {
|
|
1496
|
+
this.n3_1 = $outer;
|
|
1497
|
+
this.l3_1 = 0;
|
|
1498
|
+
this.m3_1 = -1;
|
|
1499
|
+
}
|
|
1500
|
+
protoOf(IteratorImpl).g = function () {
|
|
1501
|
+
return this.l3_1 < this.n3_1.i();
|
|
1502
|
+
};
|
|
1503
|
+
protoOf(IteratorImpl).h = function () {
|
|
1504
|
+
if (!this.g())
|
|
1505
|
+
throw NoSuchElementException_init_$Create$();
|
|
1506
|
+
var tmp = this;
|
|
1507
|
+
var tmp1 = this.l3_1;
|
|
1508
|
+
this.l3_1 = tmp1 + 1 | 0;
|
|
1509
|
+
tmp.m3_1 = tmp1;
|
|
1510
|
+
return this.n3_1.j(this.m3_1);
|
|
1511
|
+
};
|
|
1512
|
+
function SubList(list, fromIndex, toIndex) {
|
|
1513
|
+
AbstractMutableList.call(this);
|
|
1514
|
+
this.p3_1 = list;
|
|
1515
|
+
this.q3_1 = fromIndex;
|
|
1516
|
+
this.r3_1 = 0;
|
|
1517
|
+
Companion_getInstance().r(this.q3_1, toIndex, this.p3_1.i());
|
|
1518
|
+
this.r3_1 = toIndex - this.q3_1 | 0;
|
|
1519
|
+
}
|
|
1520
|
+
protoOf(SubList).s3 = function (index, element) {
|
|
1521
|
+
Companion_getInstance().q(index, this.r3_1);
|
|
1522
|
+
this.p3_1.s3(this.q3_1 + index | 0, element);
|
|
1523
|
+
this.r3_1 = this.r3_1 + 1 | 0;
|
|
1524
|
+
};
|
|
1525
|
+
protoOf(SubList).j = function (index) {
|
|
1526
|
+
Companion_getInstance().p(index, this.r3_1);
|
|
1527
|
+
return this.p3_1.j(this.q3_1 + index | 0);
|
|
1528
|
+
};
|
|
1529
|
+
protoOf(SubList).i = function () {
|
|
1530
|
+
return this.r3_1;
|
|
1531
|
+
};
|
|
1532
|
+
protoOf(SubList).k3 = function () {
|
|
1533
|
+
return this.p3_1.k3();
|
|
1534
|
+
};
|
|
1535
|
+
function AbstractMutableList() {
|
|
1536
|
+
AbstractMutableCollection.call(this);
|
|
1537
|
+
this.t3_1 = 0;
|
|
1538
|
+
}
|
|
1539
|
+
protoOf(AbstractMutableList).d = function (element) {
|
|
1540
|
+
this.k3();
|
|
1541
|
+
this.s3(this.i(), element);
|
|
1542
|
+
return true;
|
|
1543
|
+
};
|
|
1544
|
+
protoOf(AbstractMutableList).f = function () {
|
|
1545
|
+
return new IteratorImpl(this);
|
|
1546
|
+
};
|
|
1547
|
+
protoOf(AbstractMutableList).m = function (element) {
|
|
1548
|
+
return this.u3(element) >= 0;
|
|
1549
|
+
};
|
|
1550
|
+
protoOf(AbstractMutableList).u3 = function (element) {
|
|
1551
|
+
var inductionVariable = 0;
|
|
1552
|
+
var last = get_lastIndex(this);
|
|
1553
|
+
if (inductionVariable <= last)
|
|
1554
|
+
do {
|
|
1555
|
+
var index = inductionVariable;
|
|
1556
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1557
|
+
if (equals_0(this.j(index), element)) {
|
|
1558
|
+
return index;
|
|
1559
|
+
}
|
|
1560
|
+
}
|
|
1561
|
+
while (!(index === last));
|
|
1562
|
+
return -1;
|
|
1563
|
+
};
|
|
1564
|
+
protoOf(AbstractMutableList).v3 = function (fromIndex, toIndex) {
|
|
1565
|
+
return new SubList(this, fromIndex, toIndex);
|
|
1566
|
+
};
|
|
1567
|
+
protoOf(AbstractMutableList).equals = function (other) {
|
|
1568
|
+
if (other === this)
|
|
1569
|
+
return true;
|
|
1570
|
+
if (!(!(other == null) ? isInterface(other, List) : false))
|
|
1571
|
+
return false;
|
|
1572
|
+
return Companion_getInstance().u(this, other);
|
|
1573
|
+
};
|
|
1574
|
+
protoOf(AbstractMutableList).hashCode = function () {
|
|
1575
|
+
return Companion_getInstance().t(this);
|
|
1576
|
+
};
|
|
1577
|
+
function AbstractMutableMap$keys$1$iterator$1($entryIterator) {
|
|
1578
|
+
this.w3_1 = $entryIterator;
|
|
1579
|
+
}
|
|
1580
|
+
protoOf(AbstractMutableMap$keys$1$iterator$1).g = function () {
|
|
1581
|
+
return this.w3_1.g();
|
|
1582
|
+
};
|
|
1583
|
+
protoOf(AbstractMutableMap$keys$1$iterator$1).h = function () {
|
|
1584
|
+
return this.w3_1.h().w();
|
|
1585
|
+
};
|
|
1586
|
+
function SimpleEntry(key, value) {
|
|
1587
|
+
this.x3_1 = key;
|
|
1588
|
+
this.y3_1 = value;
|
|
1589
|
+
}
|
|
1590
|
+
protoOf(SimpleEntry).w = function () {
|
|
1591
|
+
return this.x3_1;
|
|
1592
|
+
};
|
|
1593
|
+
protoOf(SimpleEntry).y = function () {
|
|
1594
|
+
return this.y3_1;
|
|
1595
|
+
};
|
|
1596
|
+
protoOf(SimpleEntry).z3 = function (newValue) {
|
|
1597
|
+
var oldValue = this.y3_1;
|
|
1598
|
+
this.y3_1 = newValue;
|
|
1599
|
+
return oldValue;
|
|
1600
|
+
};
|
|
1601
|
+
protoOf(SimpleEntry).hashCode = function () {
|
|
1602
|
+
return Companion_getInstance_0().x(this);
|
|
1603
|
+
};
|
|
1604
|
+
protoOf(SimpleEntry).toString = function () {
|
|
1605
|
+
return Companion_getInstance_0().z(this);
|
|
1606
|
+
};
|
|
1607
|
+
protoOf(SimpleEntry).equals = function (other) {
|
|
1608
|
+
return Companion_getInstance_0().a1(this, other);
|
|
1609
|
+
};
|
|
1610
|
+
function AbstractEntrySet() {
|
|
1611
|
+
AbstractMutableSet.call(this);
|
|
1612
|
+
}
|
|
1613
|
+
protoOf(AbstractEntrySet).m = function (element) {
|
|
1614
|
+
return this.a4(element);
|
|
1615
|
+
};
|
|
1616
|
+
function AbstractMutableMap$keys$1(this$0) {
|
|
1617
|
+
this.b4_1 = this$0;
|
|
1618
|
+
AbstractMutableSet.call(this);
|
|
1619
|
+
}
|
|
1620
|
+
protoOf(AbstractMutableMap$keys$1).c4 = function (element) {
|
|
1621
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on keys');
|
|
1622
|
+
};
|
|
1623
|
+
protoOf(AbstractMutableMap$keys$1).d = function (element) {
|
|
1624
|
+
return this.c4((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
1625
|
+
};
|
|
1626
|
+
protoOf(AbstractMutableMap$keys$1).d4 = function (element) {
|
|
1627
|
+
return this.b4_1.e1(element);
|
|
1628
|
+
};
|
|
1629
|
+
protoOf(AbstractMutableMap$keys$1).m = function (element) {
|
|
1630
|
+
if (!(element == null ? true : isObject(element)))
|
|
1631
|
+
return false;
|
|
1632
|
+
return this.d4((element == null ? true : isObject(element)) ? element : THROW_CCE());
|
|
1633
|
+
};
|
|
1634
|
+
protoOf(AbstractMutableMap$keys$1).f = function () {
|
|
1635
|
+
var entryIterator = this.b4_1.v().f();
|
|
1636
|
+
return new AbstractMutableMap$keys$1$iterator$1(entryIterator);
|
|
1637
|
+
};
|
|
1638
|
+
protoOf(AbstractMutableMap$keys$1).i = function () {
|
|
1639
|
+
return this.b4_1.i();
|
|
1640
|
+
};
|
|
1641
|
+
protoOf(AbstractMutableMap$keys$1).k3 = function () {
|
|
1642
|
+
return this.b4_1.k3();
|
|
1643
|
+
};
|
|
1644
|
+
function AbstractMutableMap() {
|
|
1645
|
+
AbstractMap.call(this);
|
|
1646
|
+
this.g4_1 = null;
|
|
1647
|
+
this.h4_1 = null;
|
|
1648
|
+
}
|
|
1649
|
+
protoOf(AbstractMutableMap).i4 = function () {
|
|
1650
|
+
if (this.g4_1 == null) {
|
|
1651
|
+
var tmp = this;
|
|
1652
|
+
tmp.g4_1 = new AbstractMutableMap$keys$1(this);
|
|
1653
|
+
}
|
|
1654
|
+
return ensureNotNull(this.g4_1);
|
|
1655
|
+
};
|
|
1656
|
+
protoOf(AbstractMutableMap).k3 = function () {
|
|
1657
|
+
};
|
|
1658
|
+
function AbstractMutableSet() {
|
|
1659
|
+
AbstractMutableCollection.call(this);
|
|
1660
|
+
}
|
|
1661
|
+
protoOf(AbstractMutableSet).equals = function (other) {
|
|
1662
|
+
if (other === this)
|
|
1663
|
+
return true;
|
|
1664
|
+
if (!(!(other == null) ? isInterface(other, Set) : false))
|
|
1665
|
+
return false;
|
|
1666
|
+
return Companion_getInstance_1().i1(this, other);
|
|
1667
|
+
};
|
|
1668
|
+
protoOf(AbstractMutableSet).hashCode = function () {
|
|
1669
|
+
return Companion_getInstance_1().h1(this);
|
|
1670
|
+
};
|
|
1671
|
+
function Companion_4() {
|
|
1672
|
+
Companion_instance_4 = this;
|
|
1673
|
+
var tmp = this;
|
|
1674
|
+
// Inline function 'kotlin.also' call
|
|
1675
|
+
var tmp0_also = ArrayList_init_$Create$_0(0);
|
|
1676
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1677
|
+
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
1678
|
+
tmp0_also.c_1 = true;
|
|
1679
|
+
tmp.j4_1 = tmp0_also;
|
|
1680
|
+
}
|
|
1681
|
+
var Companion_instance_4;
|
|
1682
|
+
function Companion_getInstance_4() {
|
|
1683
|
+
if (Companion_instance_4 == null)
|
|
1684
|
+
new Companion_4();
|
|
1685
|
+
return Companion_instance_4;
|
|
1686
|
+
}
|
|
1687
|
+
function ArrayList_init_$Init$($this) {
|
|
1688
|
+
var tmp$ret$0;
|
|
1689
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1690
|
+
tmp$ret$0 = [];
|
|
1691
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1692
|
+
return $this;
|
|
1693
|
+
}
|
|
1694
|
+
function ArrayList_init_$Create$() {
|
|
1695
|
+
return ArrayList_init_$Init$(objectCreate(protoOf(ArrayList)));
|
|
1696
|
+
}
|
|
1697
|
+
function ArrayList_init_$Init$_0(initialCapacity, $this) {
|
|
1698
|
+
var tmp$ret$0;
|
|
1699
|
+
// Inline function 'kotlin.emptyArray' call
|
|
1700
|
+
tmp$ret$0 = [];
|
|
1701
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1702
|
+
return $this;
|
|
1703
|
+
}
|
|
1704
|
+
function ArrayList_init_$Create$_0(initialCapacity) {
|
|
1705
|
+
return ArrayList_init_$Init$_0(initialCapacity, objectCreate(protoOf(ArrayList)));
|
|
1706
|
+
}
|
|
1707
|
+
function ArrayList_init_$Init$_1(elements, $this) {
|
|
1708
|
+
var tmp$ret$0;
|
|
1709
|
+
// Inline function 'kotlin.collections.toTypedArray' call
|
|
1710
|
+
tmp$ret$0 = copyToArray(elements);
|
|
1711
|
+
ArrayList.call($this, tmp$ret$0);
|
|
1712
|
+
return $this;
|
|
1713
|
+
}
|
|
1714
|
+
function ArrayList_init_$Create$_1(elements) {
|
|
1715
|
+
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
|
|
1716
|
+
}
|
|
1717
|
+
function increaseLength($this, amount) {
|
|
1718
|
+
var previous = $this.i();
|
|
1719
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1720
|
+
$this.b_1.length = $this.i() + amount | 0;
|
|
1721
|
+
return previous;
|
|
1722
|
+
}
|
|
1723
|
+
function rangeCheck($this, index) {
|
|
1724
|
+
// Inline function 'kotlin.apply' call
|
|
1725
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1726
|
+
// Inline function 'kotlin.collections.ArrayList.rangeCheck.<anonymous>' call
|
|
1727
|
+
Companion_getInstance().p(index, $this.i());
|
|
1728
|
+
return index;
|
|
1729
|
+
}
|
|
1730
|
+
function insertionRangeCheck($this, index) {
|
|
1731
|
+
// Inline function 'kotlin.apply' call
|
|
1732
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1733
|
+
// Inline function 'kotlin.collections.ArrayList.insertionRangeCheck.<anonymous>' call
|
|
1734
|
+
Companion_getInstance().q(index, $this.i());
|
|
1735
|
+
return index;
|
|
1736
|
+
}
|
|
1737
|
+
function ArrayList(array) {
|
|
1738
|
+
Companion_getInstance_4();
|
|
1739
|
+
AbstractMutableList.call(this);
|
|
1740
|
+
this.b_1 = array;
|
|
1741
|
+
this.c_1 = false;
|
|
1742
|
+
}
|
|
1743
|
+
protoOf(ArrayList).i = function () {
|
|
1744
|
+
return this.b_1.length;
|
|
1745
|
+
};
|
|
1746
|
+
protoOf(ArrayList).j = function (index) {
|
|
1747
|
+
var tmp = this.b_1[rangeCheck(this, index)];
|
|
1748
|
+
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
1749
|
+
};
|
|
1750
|
+
protoOf(ArrayList).d = function (element) {
|
|
1751
|
+
this.k3();
|
|
1752
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1753
|
+
this.b_1.push(element);
|
|
1754
|
+
this.t3_1 = this.t3_1 + 1 | 0;
|
|
1755
|
+
return true;
|
|
1756
|
+
};
|
|
1757
|
+
protoOf(ArrayList).s3 = function (index, element) {
|
|
1758
|
+
this.k3();
|
|
1759
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
1760
|
+
this.b_1.splice(insertionRangeCheck(this, index), 0, element);
|
|
1761
|
+
this.t3_1 = this.t3_1 + 1 | 0;
|
|
1762
|
+
};
|
|
1763
|
+
protoOf(ArrayList).j3 = function (elements) {
|
|
1764
|
+
this.k3();
|
|
1765
|
+
if (elements.n())
|
|
1766
|
+
return false;
|
|
1767
|
+
var offset = increaseLength(this, elements.i());
|
|
1768
|
+
// Inline function 'kotlin.collections.forEachIndexed' call
|
|
1769
|
+
var index = 0;
|
|
1770
|
+
var tmp0_iterator = elements.f();
|
|
1771
|
+
while (tmp0_iterator.g()) {
|
|
1772
|
+
var item = tmp0_iterator.h();
|
|
1773
|
+
// Inline function 'kotlin.collections.ArrayList.addAll.<anonymous>' call
|
|
1774
|
+
var tmp1 = index;
|
|
1775
|
+
index = tmp1 + 1 | 0;
|
|
1776
|
+
var tmp0_anonymous = checkIndexOverflow(tmp1);
|
|
1777
|
+
this.b_1[offset + tmp0_anonymous | 0] = item;
|
|
1778
|
+
}
|
|
1779
|
+
this.t3_1 = this.t3_1 + 1 | 0;
|
|
1780
|
+
return true;
|
|
1781
|
+
};
|
|
1782
|
+
protoOf(ArrayList).u3 = function (element) {
|
|
1783
|
+
return indexOf_0(this.b_1, element);
|
|
1784
|
+
};
|
|
1785
|
+
protoOf(ArrayList).toString = function () {
|
|
1786
|
+
return arrayToString(this.b_1);
|
|
1787
|
+
};
|
|
1788
|
+
protoOf(ArrayList).k4 = function () {
|
|
1789
|
+
return [].slice.call(this.b_1);
|
|
1790
|
+
};
|
|
1791
|
+
protoOf(ArrayList).toArray = function () {
|
|
1792
|
+
return this.k4();
|
|
1793
|
+
};
|
|
1794
|
+
protoOf(ArrayList).k3 = function () {
|
|
1795
|
+
if (this.c_1)
|
|
1796
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
1797
|
+
};
|
|
1798
|
+
function HashCode() {
|
|
1799
|
+
HashCode_instance = this;
|
|
1800
|
+
}
|
|
1801
|
+
protoOf(HashCode).l4 = function (value1, value2) {
|
|
1802
|
+
return equals_0(value1, value2);
|
|
1803
|
+
};
|
|
1804
|
+
protoOf(HashCode).m4 = function (value) {
|
|
1805
|
+
var tmp1_elvis_lhs = value == null ? null : hashCode(value);
|
|
1806
|
+
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
1807
|
+
};
|
|
1808
|
+
var HashCode_instance;
|
|
1809
|
+
function HashCode_getInstance() {
|
|
1810
|
+
if (HashCode_instance == null)
|
|
1811
|
+
new HashCode();
|
|
1812
|
+
return HashCode_instance;
|
|
1813
|
+
}
|
|
1814
|
+
function EntrySet($outer) {
|
|
1815
|
+
this.n4_1 = $outer;
|
|
1816
|
+
AbstractEntrySet.call(this);
|
|
1817
|
+
}
|
|
1818
|
+
protoOf(EntrySet).o4 = function (element) {
|
|
1819
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on entries');
|
|
1820
|
+
};
|
|
1821
|
+
protoOf(EntrySet).d = function (element) {
|
|
1822
|
+
return this.o4((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
1823
|
+
};
|
|
1824
|
+
protoOf(EntrySet).a4 = function (element) {
|
|
1825
|
+
return this.n4_1.f1(element);
|
|
1826
|
+
};
|
|
1827
|
+
protoOf(EntrySet).f = function () {
|
|
1828
|
+
return this.n4_1.t4_1.f();
|
|
1829
|
+
};
|
|
1830
|
+
protoOf(EntrySet).i = function () {
|
|
1831
|
+
return this.n4_1.i();
|
|
1832
|
+
};
|
|
1833
|
+
function HashMap_init_$Init$(internalMap, $this) {
|
|
1834
|
+
AbstractMutableMap.call($this);
|
|
1835
|
+
HashMap.call($this);
|
|
1836
|
+
$this.t4_1 = internalMap;
|
|
1837
|
+
$this.u4_1 = internalMap.w4();
|
|
1838
|
+
return $this;
|
|
1839
|
+
}
|
|
1840
|
+
function HashMap_init_$Init$_0($this) {
|
|
1841
|
+
HashMap_init_$Init$(new InternalHashCodeMap(HashCode_getInstance()), $this);
|
|
1842
|
+
return $this;
|
|
1843
|
+
}
|
|
1844
|
+
function HashMap_init_$Create$() {
|
|
1845
|
+
return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap)));
|
|
1846
|
+
}
|
|
1847
|
+
function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
|
|
1848
|
+
HashMap_init_$Init$_0($this);
|
|
1849
|
+
// Inline function 'kotlin.require' call
|
|
1850
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1851
|
+
if (!(initialCapacity >= 0)) {
|
|
1852
|
+
// Inline function 'kotlin.collections.HashMap.<init>.<anonymous>' call
|
|
1853
|
+
var message = 'Negative initial capacity: ' + initialCapacity;
|
|
1854
|
+
throw IllegalArgumentException_init_$Create$(toString_4(message));
|
|
1855
|
+
}
|
|
1856
|
+
// Inline function 'kotlin.require' call
|
|
1857
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
1858
|
+
if (!(loadFactor >= 0)) {
|
|
1859
|
+
// Inline function 'kotlin.collections.HashMap.<init>.<anonymous>' call
|
|
1860
|
+
var message_0 = 'Non-positive load factor: ' + loadFactor;
|
|
1861
|
+
throw IllegalArgumentException_init_$Create$(toString_4(message_0));
|
|
1862
|
+
}
|
|
1863
|
+
return $this;
|
|
1864
|
+
}
|
|
1865
|
+
function HashMap_init_$Create$_0(initialCapacity, loadFactor) {
|
|
1866
|
+
return HashMap_init_$Init$_1(initialCapacity, loadFactor, objectCreate(protoOf(HashMap)));
|
|
1867
|
+
}
|
|
1868
|
+
protoOf(HashMap).e1 = function (key) {
|
|
1869
|
+
return this.t4_1.d4(key);
|
|
1870
|
+
};
|
|
1871
|
+
protoOf(HashMap).v = function () {
|
|
1872
|
+
if (this.v4_1 == null) {
|
|
1873
|
+
this.v4_1 = this.x4();
|
|
1874
|
+
}
|
|
1875
|
+
return ensureNotNull(this.v4_1);
|
|
1876
|
+
};
|
|
1877
|
+
protoOf(HashMap).x4 = function () {
|
|
1878
|
+
return new EntrySet(this);
|
|
1879
|
+
};
|
|
1880
|
+
protoOf(HashMap).g1 = function (key) {
|
|
1881
|
+
return this.t4_1.g1(key);
|
|
1882
|
+
};
|
|
1883
|
+
protoOf(HashMap).y4 = function (key, value) {
|
|
1884
|
+
return this.t4_1.y4(key, value);
|
|
1885
|
+
};
|
|
1886
|
+
protoOf(HashMap).i = function () {
|
|
1887
|
+
return this.t4_1.i();
|
|
1888
|
+
};
|
|
1889
|
+
function HashMap() {
|
|
1890
|
+
this.v4_1 = null;
|
|
1891
|
+
}
|
|
1892
|
+
function HashSet_init_$Init$(initialCapacity, loadFactor, $this) {
|
|
1893
|
+
AbstractMutableSet.call($this);
|
|
1894
|
+
HashSet.call($this);
|
|
1895
|
+
$this.z4_1 = HashMap_init_$Create$_0(initialCapacity, loadFactor);
|
|
1896
|
+
return $this;
|
|
1897
|
+
}
|
|
1898
|
+
function HashSet_init_$Init$_0(initialCapacity, $this) {
|
|
1899
|
+
HashSet_init_$Init$(initialCapacity, 0.0, $this);
|
|
1900
|
+
return $this;
|
|
1901
|
+
}
|
|
1902
|
+
function HashSet_init_$Create$(initialCapacity) {
|
|
1903
|
+
return HashSet_init_$Init$_0(initialCapacity, objectCreate(protoOf(HashSet)));
|
|
1904
|
+
}
|
|
1905
|
+
function HashSet_init_$Init$_1(map, $this) {
|
|
1906
|
+
AbstractMutableSet.call($this);
|
|
1907
|
+
HashSet.call($this);
|
|
1908
|
+
$this.z4_1 = map;
|
|
1909
|
+
return $this;
|
|
1910
|
+
}
|
|
1911
|
+
protoOf(HashSet).d = function (element) {
|
|
1912
|
+
var old = this.z4_1.y4(element, this);
|
|
1913
|
+
return old == null;
|
|
1914
|
+
};
|
|
1915
|
+
protoOf(HashSet).m = function (element) {
|
|
1916
|
+
return this.z4_1.e1(element);
|
|
1917
|
+
};
|
|
1918
|
+
protoOf(HashSet).n = function () {
|
|
1919
|
+
return this.z4_1.n();
|
|
1920
|
+
};
|
|
1921
|
+
protoOf(HashSet).f = function () {
|
|
1922
|
+
return this.z4_1.i4().f();
|
|
1923
|
+
};
|
|
1924
|
+
protoOf(HashSet).i = function () {
|
|
1925
|
+
return this.z4_1.i();
|
|
1926
|
+
};
|
|
1927
|
+
function HashSet() {
|
|
1928
|
+
}
|
|
1929
|
+
function computeNext($this) {
|
|
1930
|
+
if ($this.d5_1 != null ? $this.e5_1 : false) {
|
|
1931
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
1932
|
+
var chainSize = $this.d5_1.length;
|
|
1933
|
+
$this.f5_1 = $this.f5_1 + 1 | 0;
|
|
1934
|
+
if ($this.f5_1 < chainSize)
|
|
1935
|
+
return 0;
|
|
1936
|
+
}
|
|
1937
|
+
$this.c5_1 = $this.c5_1 + 1 | 0;
|
|
1938
|
+
if ($this.c5_1 < $this.b5_1.length) {
|
|
1939
|
+
$this.d5_1 = $this.h5_1.j5_1[$this.b5_1[$this.c5_1]];
|
|
1940
|
+
var tmp = $this;
|
|
1941
|
+
var tmp_0 = $this.d5_1;
|
|
1942
|
+
tmp.e5_1 = !(tmp_0 == null) ? isArray(tmp_0) : false;
|
|
1943
|
+
$this.f5_1 = 0;
|
|
1944
|
+
return 0;
|
|
1945
|
+
} else {
|
|
1946
|
+
$this.d5_1 = null;
|
|
1947
|
+
return 1;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
function getEntry($this, key) {
|
|
1951
|
+
var tmp0_elvis_lhs = getChainOrEntryOrNull($this, $this.i5_1.m4(key));
|
|
1952
|
+
var tmp;
|
|
1953
|
+
if (tmp0_elvis_lhs == null) {
|
|
1954
|
+
return null;
|
|
1955
|
+
} else {
|
|
1956
|
+
tmp = tmp0_elvis_lhs;
|
|
1957
|
+
}
|
|
1958
|
+
var chainOrEntry = tmp;
|
|
1959
|
+
if (!(!(chainOrEntry == null) ? isArray(chainOrEntry) : false)) {
|
|
1960
|
+
var entry = chainOrEntry;
|
|
1961
|
+
if ($this.i5_1.l4(entry.w(), key)) {
|
|
1962
|
+
return entry;
|
|
1963
|
+
} else {
|
|
1964
|
+
return null;
|
|
1965
|
+
}
|
|
1966
|
+
} else {
|
|
1967
|
+
var chain = chainOrEntry;
|
|
1968
|
+
return findEntryInChain(chain, $this, key);
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
function findEntryInChain(_this__u8e3s4, $this, key) {
|
|
1972
|
+
var tmp$ret$1;
|
|
1973
|
+
$l$block: {
|
|
1974
|
+
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1975
|
+
var inductionVariable = 0;
|
|
1976
|
+
var last = _this__u8e3s4.length;
|
|
1977
|
+
while (inductionVariable < last) {
|
|
1978
|
+
var element = _this__u8e3s4[inductionVariable];
|
|
1979
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
1980
|
+
// Inline function 'kotlin.collections.InternalHashCodeMap.findEntryInChain.<anonymous>' call
|
|
1981
|
+
if ($this.i5_1.l4(element.w(), key)) {
|
|
1982
|
+
tmp$ret$1 = element;
|
|
1983
|
+
break $l$block;
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
tmp$ret$1 = null;
|
|
1987
|
+
}
|
|
1988
|
+
return tmp$ret$1;
|
|
1989
|
+
}
|
|
1990
|
+
function getChainOrEntryOrNull($this, hashCode) {
|
|
1991
|
+
var chainOrEntry = $this.j5_1[hashCode];
|
|
1992
|
+
return chainOrEntry === undefined ? null : chainOrEntry;
|
|
1993
|
+
}
|
|
1994
|
+
function InternalHashCodeMap$iterator$1(this$0) {
|
|
1995
|
+
this.h5_1 = this$0;
|
|
1996
|
+
this.a5_1 = -1;
|
|
1997
|
+
this.b5_1 = Object.keys(this$0.j5_1);
|
|
1998
|
+
this.c5_1 = -1;
|
|
1999
|
+
this.d5_1 = null;
|
|
2000
|
+
this.e5_1 = false;
|
|
2001
|
+
this.f5_1 = -1;
|
|
2002
|
+
this.g5_1 = null;
|
|
2003
|
+
}
|
|
2004
|
+
protoOf(InternalHashCodeMap$iterator$1).g = function () {
|
|
2005
|
+
if (this.a5_1 === -1)
|
|
2006
|
+
this.a5_1 = computeNext(this);
|
|
2007
|
+
return this.a5_1 === 0;
|
|
2008
|
+
};
|
|
2009
|
+
protoOf(InternalHashCodeMap$iterator$1).h = function () {
|
|
2010
|
+
if (!this.g())
|
|
2011
|
+
throw NoSuchElementException_init_$Create$();
|
|
2012
|
+
var tmp;
|
|
2013
|
+
if (this.e5_1) {
|
|
2014
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2015
|
+
tmp = this.d5_1[this.f5_1];
|
|
2016
|
+
} else {
|
|
2017
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2018
|
+
tmp = this.d5_1;
|
|
2019
|
+
}
|
|
2020
|
+
var lastEntry = tmp;
|
|
2021
|
+
this.g5_1 = lastEntry;
|
|
2022
|
+
this.a5_1 = -1;
|
|
2023
|
+
return lastEntry;
|
|
2024
|
+
};
|
|
2025
|
+
function InternalHashCodeMap(equality) {
|
|
2026
|
+
this.i5_1 = equality;
|
|
2027
|
+
this.j5_1 = this.l5();
|
|
2028
|
+
this.k5_1 = 0;
|
|
2029
|
+
}
|
|
2030
|
+
protoOf(InternalHashCodeMap).w4 = function () {
|
|
2031
|
+
return this.i5_1;
|
|
2032
|
+
};
|
|
2033
|
+
protoOf(InternalHashCodeMap).i = function () {
|
|
2034
|
+
return this.k5_1;
|
|
2035
|
+
};
|
|
2036
|
+
protoOf(InternalHashCodeMap).y4 = function (key, value) {
|
|
2037
|
+
var hashCode = this.i5_1.m4(key);
|
|
2038
|
+
var chainOrEntry = getChainOrEntryOrNull(this, hashCode);
|
|
2039
|
+
if (chainOrEntry == null) {
|
|
2040
|
+
this.j5_1[hashCode] = new SimpleEntry(key, value);
|
|
2041
|
+
} else {
|
|
2042
|
+
if (!(!(chainOrEntry == null) ? isArray(chainOrEntry) : false)) {
|
|
2043
|
+
var entry = chainOrEntry;
|
|
2044
|
+
if (this.i5_1.l4(entry.w(), key)) {
|
|
2045
|
+
return entry.z3(value);
|
|
2046
|
+
} else {
|
|
2047
|
+
var tmp$ret$2;
|
|
2048
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2049
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2050
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2051
|
+
tmp$ret$2 = [entry, new SimpleEntry(key, value)];
|
|
2052
|
+
this.j5_1[hashCode] = tmp$ret$2;
|
|
2053
|
+
this.k5_1 = this.k5_1 + 1 | 0;
|
|
2054
|
+
return null;
|
|
2055
|
+
}
|
|
2056
|
+
} else {
|
|
2057
|
+
var chain = chainOrEntry;
|
|
2058
|
+
var entry_0 = findEntryInChain(chain, this, key);
|
|
2059
|
+
if (!(entry_0 == null)) {
|
|
2060
|
+
return entry_0.z3(value);
|
|
2061
|
+
}
|
|
2062
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2063
|
+
chain.push(new SimpleEntry(key, value));
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
this.k5_1 = this.k5_1 + 1 | 0;
|
|
2067
|
+
return null;
|
|
2068
|
+
};
|
|
2069
|
+
protoOf(InternalHashCodeMap).d4 = function (key) {
|
|
2070
|
+
return !(getEntry(this, key) == null);
|
|
2071
|
+
};
|
|
2072
|
+
protoOf(InternalHashCodeMap).g1 = function (key) {
|
|
2073
|
+
var tmp0_safe_receiver = getEntry(this, key);
|
|
2074
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
2075
|
+
};
|
|
2076
|
+
protoOf(InternalHashCodeMap).f = function () {
|
|
2077
|
+
return new InternalHashCodeMap$iterator$1(this);
|
|
2078
|
+
};
|
|
2079
|
+
function InternalMap() {
|
|
2080
|
+
}
|
|
2081
|
+
function EntryIterator($outer) {
|
|
2082
|
+
this.o5_1 = $outer;
|
|
2083
|
+
this.m5_1 = null;
|
|
2084
|
+
this.n5_1 = null;
|
|
2085
|
+
this.n5_1 = this.o5_1.z5_1.w5_1;
|
|
2086
|
+
}
|
|
2087
|
+
protoOf(EntryIterator).g = function () {
|
|
2088
|
+
return !(this.n5_1 === null);
|
|
2089
|
+
};
|
|
2090
|
+
protoOf(EntryIterator).h = function () {
|
|
2091
|
+
if (!this.g())
|
|
2092
|
+
throw NoSuchElementException_init_$Create$();
|
|
2093
|
+
var current = ensureNotNull(this.n5_1);
|
|
2094
|
+
this.m5_1 = current;
|
|
2095
|
+
var tmp = this;
|
|
2096
|
+
// Inline function 'kotlin.takeIf' call
|
|
2097
|
+
var tmp0_takeIf = current.c6_1;
|
|
2098
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2099
|
+
var tmp_0;
|
|
2100
|
+
// Inline function 'kotlin.collections.EntryIterator.next.<anonymous>' call
|
|
2101
|
+
if (!(tmp0_takeIf === this.o5_1.z5_1.w5_1)) {
|
|
2102
|
+
tmp_0 = tmp0_takeIf;
|
|
2103
|
+
} else {
|
|
2104
|
+
tmp_0 = null;
|
|
2105
|
+
}
|
|
2106
|
+
tmp.n5_1 = tmp_0;
|
|
2107
|
+
return current;
|
|
2108
|
+
};
|
|
2109
|
+
function Companion_5() {
|
|
2110
|
+
Companion_instance_5 = this;
|
|
2111
|
+
var tmp = this;
|
|
2112
|
+
// Inline function 'kotlin.also' call
|
|
2113
|
+
var tmp0_also = LinkedHashMap_init_$Create$_1(0);
|
|
2114
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2115
|
+
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
2116
|
+
tmp0_also.y5_1 = true;
|
|
2117
|
+
tmp.f6_1 = tmp0_also;
|
|
2118
|
+
}
|
|
2119
|
+
var Companion_instance_5;
|
|
2120
|
+
function Companion_getInstance_5() {
|
|
2121
|
+
if (Companion_instance_5 == null)
|
|
2122
|
+
new Companion_5();
|
|
2123
|
+
return Companion_instance_5;
|
|
2124
|
+
}
|
|
2125
|
+
function ChainEntry($outer, key, value) {
|
|
2126
|
+
this.e6_1 = $outer;
|
|
2127
|
+
SimpleEntry.call(this, key, value);
|
|
2128
|
+
this.c6_1 = null;
|
|
2129
|
+
this.d6_1 = null;
|
|
2130
|
+
}
|
|
2131
|
+
protoOf(ChainEntry).z3 = function (newValue) {
|
|
2132
|
+
this.e6_1.k3();
|
|
2133
|
+
return protoOf(SimpleEntry).z3.call(this, newValue);
|
|
2134
|
+
};
|
|
2135
|
+
function EntrySet_0($outer) {
|
|
2136
|
+
this.z5_1 = $outer;
|
|
2137
|
+
AbstractEntrySet.call(this);
|
|
2138
|
+
}
|
|
2139
|
+
protoOf(EntrySet_0).o4 = function (element) {
|
|
2140
|
+
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on entries');
|
|
2141
|
+
};
|
|
2142
|
+
protoOf(EntrySet_0).d = function (element) {
|
|
2143
|
+
return this.o4((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
2144
|
+
};
|
|
2145
|
+
protoOf(EntrySet_0).a4 = function (element) {
|
|
2146
|
+
return this.z5_1.f1(element);
|
|
2147
|
+
};
|
|
2148
|
+
protoOf(EntrySet_0).f = function () {
|
|
2149
|
+
return new EntryIterator(this);
|
|
2150
|
+
};
|
|
2151
|
+
protoOf(EntrySet_0).i = function () {
|
|
2152
|
+
return this.z5_1.i();
|
|
2153
|
+
};
|
|
2154
|
+
protoOf(EntrySet_0).k3 = function () {
|
|
2155
|
+
return this.z5_1.k3();
|
|
2156
|
+
};
|
|
2157
|
+
function addToEnd(_this__u8e3s4, $this) {
|
|
2158
|
+
// Inline function 'kotlin.check' call
|
|
2159
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2160
|
+
// Inline function 'kotlin.check' call
|
|
2161
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2162
|
+
if (!(_this__u8e3s4.c6_1 == null ? _this__u8e3s4.d6_1 == null : false)) {
|
|
2163
|
+
// Inline function 'kotlin.check.<anonymous>' call
|
|
2164
|
+
var message = 'Check failed.';
|
|
2165
|
+
throw IllegalStateException_init_$Create$_0(toString_4(message));
|
|
2166
|
+
}
|
|
2167
|
+
var _head = $this.w5_1;
|
|
2168
|
+
if (_head == null) {
|
|
2169
|
+
$this.w5_1 = _this__u8e3s4;
|
|
2170
|
+
_this__u8e3s4.c6_1 = _this__u8e3s4;
|
|
2171
|
+
_this__u8e3s4.d6_1 = _this__u8e3s4;
|
|
2172
|
+
} else {
|
|
2173
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
2174
|
+
var tmp1_checkNotNull = _head.d6_1;
|
|
2175
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2176
|
+
var tmp$ret$2;
|
|
2177
|
+
$l$block: {
|
|
2178
|
+
// Inline function 'kotlin.checkNotNull' call
|
|
2179
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2180
|
+
if (tmp1_checkNotNull == null) {
|
|
2181
|
+
// Inline function 'kotlin.checkNotNull.<anonymous>' call
|
|
2182
|
+
var message_0 = 'Required value was null.';
|
|
2183
|
+
throw IllegalStateException_init_$Create$_0(toString_4(message_0));
|
|
2184
|
+
} else {
|
|
2185
|
+
tmp$ret$2 = tmp1_checkNotNull;
|
|
2186
|
+
break $l$block;
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
var _tail = tmp$ret$2;
|
|
2190
|
+
_this__u8e3s4.d6_1 = _tail;
|
|
2191
|
+
_this__u8e3s4.c6_1 = _head;
|
|
2192
|
+
_head.d6_1 = _this__u8e3s4;
|
|
2193
|
+
_tail.c6_1 = _this__u8e3s4;
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
function LinkedHashMap_init_$Init$($this) {
|
|
2197
|
+
HashMap_init_$Init$_0($this);
|
|
2198
|
+
LinkedHashMap.call($this);
|
|
2199
|
+
$this.x5_1 = HashMap_init_$Create$();
|
|
2200
|
+
return $this;
|
|
2201
|
+
}
|
|
2202
|
+
function LinkedHashMap_init_$Create$() {
|
|
2203
|
+
return LinkedHashMap_init_$Init$(objectCreate(protoOf(LinkedHashMap)));
|
|
2204
|
+
}
|
|
2205
|
+
function LinkedHashMap_init_$Init$_0(initialCapacity, loadFactor, $this) {
|
|
2206
|
+
HashMap_init_$Init$_1(initialCapacity, loadFactor, $this);
|
|
2207
|
+
LinkedHashMap.call($this);
|
|
2208
|
+
$this.x5_1 = HashMap_init_$Create$();
|
|
2209
|
+
return $this;
|
|
2210
|
+
}
|
|
2211
|
+
function LinkedHashMap_init_$Create$_0(initialCapacity, loadFactor) {
|
|
2212
|
+
return LinkedHashMap_init_$Init$_0(initialCapacity, loadFactor, objectCreate(protoOf(LinkedHashMap)));
|
|
2213
|
+
}
|
|
2214
|
+
function LinkedHashMap_init_$Init$_1(initialCapacity, $this) {
|
|
2215
|
+
LinkedHashMap_init_$Init$_0(initialCapacity, 0.0, $this);
|
|
2216
|
+
return $this;
|
|
2217
|
+
}
|
|
2218
|
+
function LinkedHashMap_init_$Create$_1(initialCapacity) {
|
|
2219
|
+
return LinkedHashMap_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashMap)));
|
|
2220
|
+
}
|
|
2221
|
+
protoOf(LinkedHashMap).g6 = function () {
|
|
2222
|
+
this.k3();
|
|
2223
|
+
this.y5_1 = true;
|
|
2224
|
+
var tmp;
|
|
2225
|
+
if (this.i() > 0) {
|
|
2226
|
+
tmp = this;
|
|
2227
|
+
} else {
|
|
2228
|
+
var tmp_0 = Companion_getInstance_5().f6_1;
|
|
2229
|
+
tmp = isInterface(tmp_0, Map) ? tmp_0 : THROW_CCE();
|
|
2230
|
+
}
|
|
2231
|
+
return tmp;
|
|
2232
|
+
};
|
|
2233
|
+
protoOf(LinkedHashMap).e1 = function (key) {
|
|
2234
|
+
return this.x5_1.e1(key);
|
|
2235
|
+
};
|
|
2236
|
+
protoOf(LinkedHashMap).x4 = function () {
|
|
2237
|
+
return new EntrySet_0(this);
|
|
2238
|
+
};
|
|
2239
|
+
protoOf(LinkedHashMap).g1 = function (key) {
|
|
2240
|
+
var tmp0_safe_receiver = this.x5_1.g1(key);
|
|
2241
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y();
|
|
2242
|
+
};
|
|
2243
|
+
protoOf(LinkedHashMap).y4 = function (key, value) {
|
|
2244
|
+
this.k3();
|
|
2245
|
+
var old = this.x5_1.g1(key);
|
|
2246
|
+
if (old == null) {
|
|
2247
|
+
var newEntry = new ChainEntry(this, key, value);
|
|
2248
|
+
this.x5_1.y4(key, newEntry);
|
|
2249
|
+
addToEnd(newEntry, this);
|
|
2250
|
+
return null;
|
|
2251
|
+
} else {
|
|
2252
|
+
return old.z3(value);
|
|
2253
|
+
}
|
|
2254
|
+
};
|
|
2255
|
+
protoOf(LinkedHashMap).i = function () {
|
|
2256
|
+
return this.x5_1.i();
|
|
2257
|
+
};
|
|
2258
|
+
protoOf(LinkedHashMap).k3 = function () {
|
|
2259
|
+
if (this.y5_1)
|
|
2260
|
+
throw UnsupportedOperationException_init_$Create$();
|
|
2261
|
+
};
|
|
2262
|
+
function LinkedHashMap() {
|
|
2263
|
+
Companion_getInstance_5();
|
|
2264
|
+
this.w5_1 = null;
|
|
2265
|
+
this.y5_1 = false;
|
|
2266
|
+
}
|
|
2267
|
+
function Companion_6() {
|
|
2268
|
+
Companion_instance_6 = this;
|
|
2269
|
+
var tmp = this;
|
|
2270
|
+
// Inline function 'kotlin.also' call
|
|
2271
|
+
var tmp0_also = LinkedHashSet_init_$Create$_0(0);
|
|
2272
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2273
|
+
// Inline function 'kotlin.collections.Companion.Empty.<anonymous>' call
|
|
2274
|
+
var tmp_0 = tmp0_also.z4_1;
|
|
2275
|
+
(tmp_0 instanceof LinkedHashMap ? tmp_0 : THROW_CCE()).g6();
|
|
2276
|
+
tmp.h6_1 = tmp0_also;
|
|
2277
|
+
}
|
|
2278
|
+
var Companion_instance_6;
|
|
2279
|
+
function Companion_getInstance_6() {
|
|
2280
|
+
if (Companion_instance_6 == null)
|
|
2281
|
+
new Companion_6();
|
|
2282
|
+
return Companion_instance_6;
|
|
2283
|
+
}
|
|
2284
|
+
function LinkedHashSet_init_$Init$($this) {
|
|
2285
|
+
HashSet_init_$Init$_1(LinkedHashMap_init_$Create$(), $this);
|
|
2286
|
+
LinkedHashSet.call($this);
|
|
2287
|
+
return $this;
|
|
2288
|
+
}
|
|
2289
|
+
function LinkedHashSet_init_$Create$() {
|
|
2290
|
+
return LinkedHashSet_init_$Init$(objectCreate(protoOf(LinkedHashSet)));
|
|
2291
|
+
}
|
|
2292
|
+
function LinkedHashSet_init_$Init$_0(initialCapacity, loadFactor, $this) {
|
|
2293
|
+
HashSet_init_$Init$_1(LinkedHashMap_init_$Create$_0(initialCapacity, loadFactor), $this);
|
|
2294
|
+
LinkedHashSet.call($this);
|
|
2295
|
+
return $this;
|
|
2296
|
+
}
|
|
2297
|
+
function LinkedHashSet_init_$Init$_1(initialCapacity, $this) {
|
|
2298
|
+
LinkedHashSet_init_$Init$_0(initialCapacity, 0.0, $this);
|
|
2299
|
+
return $this;
|
|
2300
|
+
}
|
|
2301
|
+
function LinkedHashSet_init_$Create$_0(initialCapacity) {
|
|
2302
|
+
return LinkedHashSet_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
|
|
2303
|
+
}
|
|
2304
|
+
protoOf(LinkedHashSet).k3 = function () {
|
|
2305
|
+
return this.z4_1.k3();
|
|
2306
|
+
};
|
|
2307
|
+
function LinkedHashSet() {
|
|
2308
|
+
Companion_getInstance_6();
|
|
2309
|
+
}
|
|
2310
|
+
function isNaN_0(_this__u8e3s4) {
|
|
2311
|
+
return !(_this__u8e3s4 === _this__u8e3s4);
|
|
2312
|
+
}
|
|
2313
|
+
function reset(_this__u8e3s4) {
|
|
2314
|
+
_this__u8e3s4.lastIndex = 0;
|
|
2315
|
+
}
|
|
2316
|
+
function CharacterCodingException(message) {
|
|
2317
|
+
Exception_init_$Init$_0(message, this);
|
|
2318
|
+
captureStack(this, CharacterCodingException);
|
|
2319
|
+
}
|
|
2320
|
+
function StringBuilder_init_$Init$(capacity, $this) {
|
|
2321
|
+
StringBuilder_init_$Init$_0($this);
|
|
2322
|
+
return $this;
|
|
2323
|
+
}
|
|
2324
|
+
function StringBuilder_init_$Create$(capacity) {
|
|
2325
|
+
return StringBuilder_init_$Init$(capacity, objectCreate(protoOf(StringBuilder)));
|
|
2326
|
+
}
|
|
2327
|
+
function StringBuilder_init_$Init$_0($this) {
|
|
2328
|
+
StringBuilder.call($this, '');
|
|
2329
|
+
return $this;
|
|
2330
|
+
}
|
|
2331
|
+
function StringBuilder_init_$Create$_0() {
|
|
2332
|
+
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
|
|
2333
|
+
}
|
|
2334
|
+
function StringBuilder(content) {
|
|
2335
|
+
this.l6_1 = !(content === undefined) ? content : '';
|
|
2336
|
+
}
|
|
2337
|
+
protoOf(StringBuilder).c3 = function () {
|
|
2338
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2339
|
+
return this.l6_1.length;
|
|
2340
|
+
};
|
|
2341
|
+
protoOf(StringBuilder).d3 = function (index) {
|
|
2342
|
+
// Inline function 'kotlin.text.getOrElse' call
|
|
2343
|
+
var tmp0_getOrElse = this.l6_1;
|
|
2344
|
+
var tmp;
|
|
2345
|
+
if (index >= 0 ? index <= get_lastIndex_0(tmp0_getOrElse) : false) {
|
|
2346
|
+
tmp = charSequenceGet(tmp0_getOrElse, index);
|
|
2347
|
+
} else {
|
|
2348
|
+
throw IndexOutOfBoundsException_init_$Create$('index: ' + index + ', length: ' + this.c3() + '}');
|
|
2349
|
+
}
|
|
2350
|
+
return tmp;
|
|
2351
|
+
};
|
|
2352
|
+
protoOf(StringBuilder).e3 = function (startIndex, endIndex) {
|
|
2353
|
+
// Inline function 'kotlin.text.substring' call
|
|
2354
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2355
|
+
return this.l6_1.substring(startIndex, endIndex);
|
|
2356
|
+
};
|
|
2357
|
+
protoOf(StringBuilder).q2 = function (value) {
|
|
2358
|
+
this.l6_1 = this.l6_1 + new Char(value);
|
|
2359
|
+
return this;
|
|
2360
|
+
};
|
|
2361
|
+
protoOf(StringBuilder).e = function (value) {
|
|
2362
|
+
this.l6_1 = this.l6_1 + toString_3(value);
|
|
2363
|
+
return this;
|
|
2364
|
+
};
|
|
2365
|
+
protoOf(StringBuilder).m6 = function (value, startIndex, endIndex) {
|
|
2366
|
+
return this.n6(value == null ? 'null' : value, startIndex, endIndex);
|
|
2367
|
+
};
|
|
2368
|
+
protoOf(StringBuilder).o6 = function (value) {
|
|
2369
|
+
var tmp = this;
|
|
2370
|
+
var tmp_0 = this.l6_1;
|
|
2371
|
+
tmp.l6_1 = tmp_0 + (value == null ? 'null' : value);
|
|
2372
|
+
return this;
|
|
2373
|
+
};
|
|
2374
|
+
protoOf(StringBuilder).toString = function () {
|
|
2375
|
+
return this.l6_1;
|
|
2376
|
+
};
|
|
2377
|
+
protoOf(StringBuilder).n6 = function (value, startIndex, endIndex) {
|
|
2378
|
+
var stringCsq = toString_4(value);
|
|
2379
|
+
Companion_getInstance().s(startIndex, endIndex, stringCsq.length);
|
|
2380
|
+
var tmp = this;
|
|
2381
|
+
var tmp_0 = this.l6_1;
|
|
2382
|
+
// Inline function 'kotlin.text.substring' call
|
|
2383
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2384
|
+
tmp.l6_1 = tmp_0 + stringCsq.substring(startIndex, endIndex);
|
|
2385
|
+
return this;
|
|
2386
|
+
};
|
|
2387
|
+
function uppercaseChar(_this__u8e3s4) {
|
|
2388
|
+
// Inline function 'kotlin.text.uppercase' call
|
|
2389
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2390
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2391
|
+
var uppercase = toString_2(_this__u8e3s4).toUpperCase();
|
|
2392
|
+
return uppercase.length > 1 ? _this__u8e3s4 : charSequenceGet(uppercase, 0);
|
|
2393
|
+
}
|
|
2394
|
+
function isWhitespace(_this__u8e3s4) {
|
|
2395
|
+
return isWhitespaceImpl(_this__u8e3s4);
|
|
2396
|
+
}
|
|
2397
|
+
function toString_1(_this__u8e3s4, radix) {
|
|
2398
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2399
|
+
return _this__u8e3s4.toString(checkRadix(radix));
|
|
2400
|
+
}
|
|
2401
|
+
function checkRadix(radix) {
|
|
2402
|
+
if (!(2 <= radix ? radix <= 36 : false)) {
|
|
2403
|
+
throw IllegalArgumentException_init_$Create$('radix ' + radix + ' was not in valid range 2..36');
|
|
2404
|
+
}
|
|
2405
|
+
return radix;
|
|
2406
|
+
}
|
|
2407
|
+
function toInt(_this__u8e3s4, radix) {
|
|
2408
|
+
var tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4, radix);
|
|
2409
|
+
var tmp;
|
|
2410
|
+
if (tmp0_elvis_lhs == null) {
|
|
2411
|
+
numberFormatError(_this__u8e3s4);
|
|
2412
|
+
} else {
|
|
2413
|
+
tmp = tmp0_elvis_lhs;
|
|
2414
|
+
}
|
|
2415
|
+
return tmp;
|
|
2416
|
+
}
|
|
2417
|
+
function toLong(_this__u8e3s4, radix) {
|
|
2418
|
+
var tmp0_elvis_lhs = toLongOrNull(_this__u8e3s4, radix);
|
|
2419
|
+
var tmp;
|
|
2420
|
+
if (tmp0_elvis_lhs == null) {
|
|
2421
|
+
numberFormatError(_this__u8e3s4);
|
|
2422
|
+
} else {
|
|
2423
|
+
tmp = tmp0_elvis_lhs;
|
|
2424
|
+
}
|
|
2425
|
+
return tmp;
|
|
2426
|
+
}
|
|
2427
|
+
function toInt_0(_this__u8e3s4) {
|
|
2428
|
+
var tmp0_elvis_lhs = toIntOrNull_0(_this__u8e3s4);
|
|
2429
|
+
var tmp;
|
|
2430
|
+
if (tmp0_elvis_lhs == null) {
|
|
2431
|
+
numberFormatError(_this__u8e3s4);
|
|
2432
|
+
} else {
|
|
2433
|
+
tmp = tmp0_elvis_lhs;
|
|
2434
|
+
}
|
|
2435
|
+
return tmp;
|
|
2436
|
+
}
|
|
2437
|
+
function digitOf(char, radix) {
|
|
2438
|
+
// Inline function 'kotlin.let' call
|
|
2439
|
+
var tmp0_let = (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : (Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 ? Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 : false) ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char);
|
|
2440
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2441
|
+
// Inline function 'kotlin.text.digitOf.<anonymous>' call
|
|
2442
|
+
return tmp0_let >= radix ? -1 : tmp0_let;
|
|
2443
|
+
}
|
|
2444
|
+
function Regex_init_$Init$(pattern, $this) {
|
|
2445
|
+
Regex.call($this, pattern, emptySet());
|
|
2446
|
+
return $this;
|
|
2447
|
+
}
|
|
2448
|
+
function Regex_init_$Create$(pattern) {
|
|
2449
|
+
return Regex_init_$Init$(pattern, objectCreate(protoOf(Regex)));
|
|
2450
|
+
}
|
|
2451
|
+
function Companion_7() {
|
|
2452
|
+
Companion_instance_7 = this;
|
|
2453
|
+
this.p6_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
|
|
2454
|
+
this.q6_1 = new RegExp('[\\\\$]', 'g');
|
|
2455
|
+
this.r6_1 = new RegExp('\\$', 'g');
|
|
2456
|
+
}
|
|
2457
|
+
protoOf(Companion_7).s6 = function (literal) {
|
|
2458
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
2459
|
+
var tmp0_nativeReplace = this.p6_1;
|
|
2460
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2461
|
+
return literal.replace(tmp0_nativeReplace, '\\$&');
|
|
2462
|
+
};
|
|
2463
|
+
protoOf(Companion_7).t6 = function (literal) {
|
|
2464
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
2465
|
+
var tmp0_nativeReplace = this.r6_1;
|
|
2466
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2467
|
+
return literal.replace(tmp0_nativeReplace, '$$$$');
|
|
2468
|
+
};
|
|
2469
|
+
var Companion_instance_7;
|
|
2470
|
+
function Companion_getInstance_7() {
|
|
2471
|
+
if (Companion_instance_7 == null)
|
|
2472
|
+
new Companion_7();
|
|
2473
|
+
return Companion_instance_7;
|
|
2474
|
+
}
|
|
2475
|
+
function Regex$findAll$lambda(this$0, $input, $startIndex) {
|
|
2476
|
+
return function () {
|
|
2477
|
+
return this$0.z6($input, $startIndex);
|
|
2478
|
+
};
|
|
2479
|
+
}
|
|
2480
|
+
function Regex$findAll$lambda_0(match) {
|
|
2481
|
+
return match.h();
|
|
2482
|
+
}
|
|
2483
|
+
function Regex$replace$lambda($replacement) {
|
|
2484
|
+
return function (it) {
|
|
2485
|
+
return substituteGroupRefs(it, $replacement);
|
|
2486
|
+
};
|
|
2487
|
+
}
|
|
2488
|
+
function Regex(pattern, options) {
|
|
2489
|
+
Companion_getInstance_7();
|
|
2490
|
+
this.u6_1 = pattern;
|
|
2491
|
+
this.v6_1 = toSet(options);
|
|
2492
|
+
this.w6_1 = new RegExp(pattern, toFlags(options, 'gu'));
|
|
2493
|
+
this.x6_1 = null;
|
|
2494
|
+
this.y6_1 = null;
|
|
2495
|
+
}
|
|
2496
|
+
protoOf(Regex).a7 = function (input) {
|
|
2497
|
+
reset(this.w6_1);
|
|
2498
|
+
var match = this.w6_1.exec(toString_4(input));
|
|
2499
|
+
return (!(match == null) ? match.index === 0 : false) ? this.w6_1.lastIndex === charSequenceLength(input) : false;
|
|
2500
|
+
};
|
|
2501
|
+
protoOf(Regex).z6 = function (input, startIndex) {
|
|
2502
|
+
if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
|
|
2503
|
+
throw IndexOutOfBoundsException_init_$Create$('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
2504
|
+
}
|
|
2505
|
+
return findNext(this.w6_1, toString_4(input), startIndex, this.w6_1);
|
|
2506
|
+
};
|
|
2507
|
+
protoOf(Regex).b7 = function (input, startIndex, $super) {
|
|
2508
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2509
|
+
return $super === VOID ? this.z6(input, startIndex) : $super.z6.call(this, input, startIndex);
|
|
2510
|
+
};
|
|
2511
|
+
protoOf(Regex).c7 = function (input, startIndex) {
|
|
2512
|
+
if (startIndex < 0 ? true : startIndex > charSequenceLength(input)) {
|
|
2513
|
+
throw IndexOutOfBoundsException_init_$Create$('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
|
|
2514
|
+
}
|
|
2515
|
+
var tmp = Regex$findAll$lambda(this, input, startIndex);
|
|
2516
|
+
return generateSequence(tmp, Regex$findAll$lambda_0);
|
|
2517
|
+
};
|
|
2518
|
+
protoOf(Regex).d7 = function (input, startIndex, $super) {
|
|
2519
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2520
|
+
return $super === VOID ? this.c7(input, startIndex) : $super.c7.call(this, input, startIndex);
|
|
2521
|
+
};
|
|
2522
|
+
protoOf(Regex).e7 = function (input, replacement) {
|
|
2523
|
+
if (!contains_0(replacement, _Char___init__impl__6a9atx(92)) ? !contains_0(replacement, _Char___init__impl__6a9atx(36)) : false) {
|
|
2524
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
2525
|
+
var tmp0_nativeReplace = toString_4(input);
|
|
2526
|
+
var tmp1_nativeReplace = this.w6_1;
|
|
2527
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2528
|
+
return tmp0_nativeReplace.replace(tmp1_nativeReplace, replacement);
|
|
2529
|
+
}
|
|
2530
|
+
return this.f7(input, Regex$replace$lambda(replacement));
|
|
2531
|
+
};
|
|
2532
|
+
protoOf(Regex).f7 = function (input, transform) {
|
|
2533
|
+
var match = this.b7(input);
|
|
2534
|
+
if (match == null)
|
|
2535
|
+
return toString_4(input);
|
|
2536
|
+
var lastStart = 0;
|
|
2537
|
+
var length = charSequenceLength(input);
|
|
2538
|
+
var sb = StringBuilder_init_$Create$(length);
|
|
2539
|
+
do {
|
|
2540
|
+
var foundMatch = ensureNotNull(match);
|
|
2541
|
+
sb.m6(input, lastStart, foundMatch.g7().g2());
|
|
2542
|
+
sb.e(transform(foundMatch));
|
|
2543
|
+
lastStart = foundMatch.g7().k2() + 1 | 0;
|
|
2544
|
+
match = foundMatch.h();
|
|
2545
|
+
}
|
|
2546
|
+
while (lastStart < length ? !(match == null) : false);
|
|
2547
|
+
if (lastStart < length) {
|
|
2548
|
+
sb.m6(input, lastStart, length);
|
|
2549
|
+
}
|
|
2550
|
+
return sb.toString();
|
|
2551
|
+
};
|
|
2552
|
+
protoOf(Regex).toString = function () {
|
|
2553
|
+
return this.w6_1.toString();
|
|
2554
|
+
};
|
|
2555
|
+
function toFlags(_this__u8e3s4, prepend) {
|
|
2556
|
+
return joinToString_0(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
|
|
2557
|
+
}
|
|
2558
|
+
function findNext(_this__u8e3s4, input, from, nextPattern) {
|
|
2559
|
+
_this__u8e3s4.lastIndex = from;
|
|
2560
|
+
var match = _this__u8e3s4.exec(input);
|
|
2561
|
+
if (match == null)
|
|
2562
|
+
return null;
|
|
2563
|
+
var range = numberRangeToNumber(match.index, _this__u8e3s4.lastIndex - 1 | 0);
|
|
2564
|
+
return new findNext$1(range, match, nextPattern, input);
|
|
2565
|
+
}
|
|
2566
|
+
function substituteGroupRefs(match, replacement) {
|
|
2567
|
+
var index = 0;
|
|
2568
|
+
var result = StringBuilder_init_$Create$_0();
|
|
2569
|
+
while (index < replacement.length) {
|
|
2570
|
+
var tmp0 = index;
|
|
2571
|
+
index = tmp0 + 1 | 0;
|
|
2572
|
+
var char = charSequenceGet(replacement, tmp0);
|
|
2573
|
+
if (char === _Char___init__impl__6a9atx(92)) {
|
|
2574
|
+
if (index === replacement.length)
|
|
2575
|
+
throw IllegalArgumentException_init_$Create$('The Char to be escaped is missing');
|
|
2576
|
+
var tmp1 = index;
|
|
2577
|
+
index = tmp1 + 1 | 0;
|
|
2578
|
+
result.q2(charSequenceGet(replacement, tmp1));
|
|
2579
|
+
} else if (char === _Char___init__impl__6a9atx(36)) {
|
|
2580
|
+
if (index === replacement.length)
|
|
2581
|
+
throw IllegalArgumentException_init_$Create$('Capturing group index is missing');
|
|
2582
|
+
if (charSequenceGet(replacement, index) === _Char___init__impl__6a9atx(123)) {
|
|
2583
|
+
index = index + 1 | 0;
|
|
2584
|
+
var endIndex = readGroupName(replacement, index);
|
|
2585
|
+
if (index === endIndex)
|
|
2586
|
+
throw IllegalArgumentException_init_$Create$('Named capturing group reference should have a non-empty name');
|
|
2587
|
+
if (endIndex === replacement.length ? true : !(charSequenceGet(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
|
|
2588
|
+
throw IllegalArgumentException_init_$Create$("Named capturing group reference is missing trailing '}'");
|
|
2589
|
+
// Inline function 'kotlin.text.substring' call
|
|
2590
|
+
var tmp0_substring = index;
|
|
2591
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2592
|
+
var groupName = replacement.substring(tmp0_substring, endIndex);
|
|
2593
|
+
var tmp2_safe_receiver = get(match.h7(), groupName);
|
|
2594
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.i7_1;
|
|
2595
|
+
result.o6(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
|
|
2596
|
+
index = endIndex + 1 | 0;
|
|
2597
|
+
} else {
|
|
2598
|
+
var containsArg = charSequenceGet(replacement, index);
|
|
2599
|
+
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
|
|
2600
|
+
throw IllegalArgumentException_init_$Create$('Invalid capturing group reference');
|
|
2601
|
+
var groups = match.h7();
|
|
2602
|
+
var endIndex_0 = readGroupIndex(replacement, index, groups.i());
|
|
2603
|
+
var tmp$ret$3;
|
|
2604
|
+
// Inline function 'kotlin.text.substring' call
|
|
2605
|
+
var tmp1_substring = index;
|
|
2606
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2607
|
+
tmp$ret$3 = replacement.substring(tmp1_substring, endIndex_0);
|
|
2608
|
+
var groupIndex = toInt_0(tmp$ret$3);
|
|
2609
|
+
if (groupIndex >= groups.i())
|
|
2610
|
+
throw IndexOutOfBoundsException_init_$Create$('Group with index ' + groupIndex + ' does not exist');
|
|
2611
|
+
var tmp4_safe_receiver = groups.j(groupIndex);
|
|
2612
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.i7_1;
|
|
2613
|
+
result.o6(tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
|
|
2614
|
+
index = endIndex_0;
|
|
2615
|
+
}
|
|
2616
|
+
} else {
|
|
2617
|
+
result.q2(char);
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
return result.toString();
|
|
2621
|
+
}
|
|
2622
|
+
function MatchGroup(value) {
|
|
2623
|
+
this.i7_1 = value;
|
|
2624
|
+
}
|
|
2625
|
+
protoOf(MatchGroup).toString = function () {
|
|
2626
|
+
return 'MatchGroup(value=' + this.i7_1 + ')';
|
|
2627
|
+
};
|
|
2628
|
+
protoOf(MatchGroup).hashCode = function () {
|
|
2629
|
+
return getStringHashCode(this.i7_1);
|
|
2630
|
+
};
|
|
2631
|
+
protoOf(MatchGroup).equals = function (other) {
|
|
2632
|
+
if (this === other)
|
|
2633
|
+
return true;
|
|
2634
|
+
if (!(other instanceof MatchGroup))
|
|
2635
|
+
return false;
|
|
2636
|
+
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
|
|
2637
|
+
if (!(this.i7_1 === tmp0_other_with_cast.i7_1))
|
|
2638
|
+
return false;
|
|
2639
|
+
return true;
|
|
2640
|
+
};
|
|
2641
|
+
function readGroupName(_this__u8e3s4, startIndex) {
|
|
2642
|
+
var index = startIndex;
|
|
2643
|
+
$l$loop: while (index < _this__u8e3s4.length) {
|
|
2644
|
+
if (charSequenceGet(_this__u8e3s4, index) === _Char___init__impl__6a9atx(125)) {
|
|
2645
|
+
break $l$loop;
|
|
2646
|
+
} else {
|
|
2647
|
+
index = index + 1 | 0;
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
return index;
|
|
2651
|
+
}
|
|
2652
|
+
function get(_this__u8e3s4, name) {
|
|
2653
|
+
var tmp0_elvis_lhs = isInterface(_this__u8e3s4, MatchNamedGroupCollection) ? _this__u8e3s4 : null;
|
|
2654
|
+
var tmp;
|
|
2655
|
+
if (tmp0_elvis_lhs == null) {
|
|
2656
|
+
throw UnsupportedOperationException_init_$Create$_0('Retrieving groups by name is not supported on this platform.');
|
|
2657
|
+
} else {
|
|
2658
|
+
tmp = tmp0_elvis_lhs;
|
|
2659
|
+
}
|
|
2660
|
+
var namedGroups = tmp;
|
|
2661
|
+
return namedGroups.b3(name);
|
|
2662
|
+
}
|
|
2663
|
+
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
|
|
2664
|
+
var index = startIndex + 1 | 0;
|
|
2665
|
+
var groupIndex = Char__minus_impl_a2frrh(charSequenceGet(_this__u8e3s4, startIndex), _Char___init__impl__6a9atx(48));
|
|
2666
|
+
$l$loop_0: while (true) {
|
|
2667
|
+
var tmp;
|
|
2668
|
+
if (index < _this__u8e3s4.length) {
|
|
2669
|
+
var containsArg = charSequenceGet(_this__u8e3s4, index);
|
|
2670
|
+
tmp = _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
|
|
2671
|
+
} else {
|
|
2672
|
+
tmp = false;
|
|
2673
|
+
}
|
|
2674
|
+
if (!tmp) {
|
|
2675
|
+
break $l$loop_0;
|
|
2676
|
+
}
|
|
2677
|
+
var newGroupIndex = imul(groupIndex, 10) + Char__minus_impl_a2frrh(charSequenceGet(_this__u8e3s4, index), _Char___init__impl__6a9atx(48)) | 0;
|
|
2678
|
+
if (0 <= newGroupIndex ? newGroupIndex < groupCount : false) {
|
|
2679
|
+
groupIndex = newGroupIndex;
|
|
2680
|
+
index = index + 1 | 0;
|
|
2681
|
+
} else {
|
|
2682
|
+
break $l$loop_0;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
return index;
|
|
2686
|
+
}
|
|
2687
|
+
function toFlags$lambda(it) {
|
|
2688
|
+
return it.l7_1;
|
|
2689
|
+
}
|
|
2690
|
+
function findNext$o$groups$o$iterator$lambda(this$0) {
|
|
2691
|
+
return function (it) {
|
|
2692
|
+
return this$0.j(it);
|
|
2693
|
+
};
|
|
2694
|
+
}
|
|
2695
|
+
function hasOwnPrototypeProperty($this, o, name) {
|
|
2696
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2697
|
+
return Object.prototype.hasOwnProperty.call(o, name);
|
|
2698
|
+
}
|
|
2699
|
+
function advanceToNextCharacter($this, index) {
|
|
2700
|
+
if (index < get_lastIndex_0($this.u7_1)) {
|
|
2701
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2702
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2703
|
+
var code1 = $this.u7_1.charCodeAt(index);
|
|
2704
|
+
if (55296 <= code1 ? code1 <= 56319 : false) {
|
|
2705
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2706
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2707
|
+
var code2 = $this.u7_1.charCodeAt(index + 1 | 0);
|
|
2708
|
+
if (56320 <= code2 ? code2 <= 57343 : false) {
|
|
2709
|
+
return index + 2 | 0;
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
}
|
|
2713
|
+
return index + 1 | 0;
|
|
2714
|
+
}
|
|
2715
|
+
function findNext$1$groups$1($match, this$0) {
|
|
2716
|
+
this.m7_1 = $match;
|
|
2717
|
+
this.n7_1 = this$0;
|
|
2718
|
+
AbstractCollection.call(this);
|
|
2719
|
+
}
|
|
2720
|
+
protoOf(findNext$1$groups$1).i = function () {
|
|
2721
|
+
return this.m7_1.length;
|
|
2722
|
+
};
|
|
2723
|
+
protoOf(findNext$1$groups$1).f = function () {
|
|
2724
|
+
var tmp = asSequence(get_indices(this));
|
|
2725
|
+
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).f();
|
|
2726
|
+
};
|
|
2727
|
+
protoOf(findNext$1$groups$1).j = function (index) {
|
|
2728
|
+
// Inline function 'kotlin.js.get' call
|
|
2729
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2730
|
+
var tmp0_safe_receiver = this.m7_1[index];
|
|
2731
|
+
var tmp;
|
|
2732
|
+
if (tmp0_safe_receiver == null) {
|
|
2733
|
+
tmp = null;
|
|
2734
|
+
} else {
|
|
2735
|
+
// Inline function 'kotlin.let' call
|
|
2736
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2737
|
+
// Inline function 'kotlin.text.<no name provided>.get.<anonymous>' call
|
|
2738
|
+
tmp = new MatchGroup(tmp0_safe_receiver);
|
|
2739
|
+
}
|
|
2740
|
+
return tmp;
|
|
2741
|
+
};
|
|
2742
|
+
protoOf(findNext$1$groups$1).b3 = function (name) {
|
|
2743
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2744
|
+
var tmp0_elvis_lhs = this.m7_1.groups;
|
|
2745
|
+
var tmp;
|
|
2746
|
+
if (tmp0_elvis_lhs == null) {
|
|
2747
|
+
throw IllegalArgumentException_init_$Create$('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
|
|
2748
|
+
} else {
|
|
2749
|
+
tmp = tmp0_elvis_lhs;
|
|
2750
|
+
}
|
|
2751
|
+
var groups = tmp;
|
|
2752
|
+
if (!hasOwnPrototypeProperty(this.n7_1, groups, name))
|
|
2753
|
+
throw IllegalArgumentException_init_$Create$('Capturing group with name {' + name + '} does not exist');
|
|
2754
|
+
var value = groups[name];
|
|
2755
|
+
var tmp_0;
|
|
2756
|
+
if (value == undefined) {
|
|
2757
|
+
tmp_0 = null;
|
|
2758
|
+
} else {
|
|
2759
|
+
tmp_0 = new MatchGroup((!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
|
|
2760
|
+
}
|
|
2761
|
+
return tmp_0;
|
|
2762
|
+
};
|
|
2763
|
+
function findNext$1($range, $match, $nextPattern, $input) {
|
|
2764
|
+
this.r7_1 = $range;
|
|
2765
|
+
this.s7_1 = $match;
|
|
2766
|
+
this.t7_1 = $nextPattern;
|
|
2767
|
+
this.u7_1 = $input;
|
|
2768
|
+
this.o7_1 = $range;
|
|
2769
|
+
var tmp = this;
|
|
2770
|
+
tmp.p7_1 = new findNext$1$groups$1($match, this);
|
|
2771
|
+
this.q7_1 = null;
|
|
2772
|
+
}
|
|
2773
|
+
protoOf(findNext$1).g7 = function () {
|
|
2774
|
+
return this.o7_1;
|
|
2775
|
+
};
|
|
2776
|
+
protoOf(findNext$1).y = function () {
|
|
2777
|
+
var tmp$ret$1;
|
|
2778
|
+
// Inline function 'kotlin.js.get' call
|
|
2779
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2780
|
+
tmp$ret$1 = this.s7_1[0];
|
|
2781
|
+
return ensureNotNull(tmp$ret$1);
|
|
2782
|
+
};
|
|
2783
|
+
protoOf(findNext$1).h7 = function () {
|
|
2784
|
+
return this.p7_1;
|
|
2785
|
+
};
|
|
2786
|
+
protoOf(findNext$1).h = function () {
|
|
2787
|
+
return findNext(this.t7_1, this.u7_1, this.r7_1.n() ? advanceToNextCharacter(this, this.r7_1.g2()) : this.r7_1.k2() + 1 | 0, this.t7_1);
|
|
2788
|
+
};
|
|
2789
|
+
var STRING_CASE_INSENSITIVE_ORDER;
|
|
2790
|
+
function compareTo(_this__u8e3s4, other, ignoreCase) {
|
|
2791
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2792
|
+
_init_properties_string_kt__3w3j69();
|
|
2793
|
+
if (ignoreCase) {
|
|
2794
|
+
var n1 = _this__u8e3s4.length;
|
|
2795
|
+
var n2 = other.length;
|
|
2796
|
+
// Inline function 'kotlin.comparisons.minOf' call
|
|
2797
|
+
var min = Math.min(n1, n2);
|
|
2798
|
+
if (min === 0)
|
|
2799
|
+
return n1 - n2 | 0;
|
|
2800
|
+
var inductionVariable = 0;
|
|
2801
|
+
if (inductionVariable < min)
|
|
2802
|
+
do {
|
|
2803
|
+
var index = inductionVariable;
|
|
2804
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
2805
|
+
var thisChar = charSequenceGet(_this__u8e3s4, index);
|
|
2806
|
+
var otherChar = charSequenceGet(other, index);
|
|
2807
|
+
if (!(thisChar === otherChar)) {
|
|
2808
|
+
thisChar = uppercaseChar(thisChar);
|
|
2809
|
+
otherChar = uppercaseChar(otherChar);
|
|
2810
|
+
if (!(thisChar === otherChar)) {
|
|
2811
|
+
// Inline function 'kotlin.text.lowercaseChar' call
|
|
2812
|
+
var tmp0_lowercaseChar = thisChar;
|
|
2813
|
+
var tmp$ret$3;
|
|
2814
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
2815
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2816
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2817
|
+
tmp$ret$3 = toString_2(tmp0_lowercaseChar).toLowerCase();
|
|
2818
|
+
thisChar = charSequenceGet(tmp$ret$3, 0);
|
|
2819
|
+
// Inline function 'kotlin.text.lowercaseChar' call
|
|
2820
|
+
var tmp1_lowercaseChar = otherChar;
|
|
2821
|
+
var tmp$ret$7;
|
|
2822
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
2823
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2824
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2825
|
+
tmp$ret$7 = toString_2(tmp1_lowercaseChar).toLowerCase();
|
|
2826
|
+
otherChar = charSequenceGet(tmp$ret$7, 0);
|
|
2827
|
+
if (!(thisChar === otherChar)) {
|
|
2828
|
+
return Char__compareTo_impl_ypi4mb(thisChar, otherChar);
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
while (inductionVariable < min);
|
|
2834
|
+
return n1 - n2 | 0;
|
|
2835
|
+
} else {
|
|
2836
|
+
return compareTo_0(_this__u8e3s4, other);
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
function encodeToByteArray(_this__u8e3s4) {
|
|
2840
|
+
_init_properties_string_kt__3w3j69();
|
|
2841
|
+
return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
2842
|
+
}
|
|
2843
|
+
function decodeToString(_this__u8e3s4) {
|
|
2844
|
+
_init_properties_string_kt__3w3j69();
|
|
2845
|
+
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
|
|
2846
|
+
}
|
|
2847
|
+
function toCharArray(_this__u8e3s4) {
|
|
2848
|
+
_init_properties_string_kt__3w3j69();
|
|
2849
|
+
var tmp = 0;
|
|
2850
|
+
var tmp_0 = _this__u8e3s4.length;
|
|
2851
|
+
var tmp_1 = charArray(tmp_0);
|
|
2852
|
+
while (tmp < tmp_0) {
|
|
2853
|
+
var tmp_2 = tmp;
|
|
2854
|
+
tmp_1[tmp_2] = charSequenceGet(_this__u8e3s4, tmp_2);
|
|
2855
|
+
tmp = tmp + 1 | 0;
|
|
2856
|
+
}
|
|
2857
|
+
return tmp_1;
|
|
2858
|
+
}
|
|
2859
|
+
function sam$kotlin_Comparator$0(function_0) {
|
|
2860
|
+
this.v7_1 = function_0;
|
|
2861
|
+
}
|
|
2862
|
+
protoOf(sam$kotlin_Comparator$0).w7 = function (a, b) {
|
|
2863
|
+
return this.v7_1(a, b);
|
|
2864
|
+
};
|
|
2865
|
+
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2866
|
+
return this.w7(a, b);
|
|
2867
|
+
};
|
|
2868
|
+
function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
|
|
2869
|
+
_init_properties_string_kt__3w3j69();
|
|
2870
|
+
return compareTo(a, b, true);
|
|
2871
|
+
}
|
|
2872
|
+
var properties_initialized_string_kt_4g1sj;
|
|
2873
|
+
function _init_properties_string_kt__3w3j69() {
|
|
2874
|
+
if (!properties_initialized_string_kt_4g1sj) {
|
|
2875
|
+
properties_initialized_string_kt_4g1sj = true;
|
|
2876
|
+
var tmp = STRING_CASE_INSENSITIVE_ORDER$lambda;
|
|
2877
|
+
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
2881
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2882
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
2883
|
+
var tmp0_nativeReplace = new RegExp(Companion_getInstance_7().s6(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
2884
|
+
var tmp1_nativeReplace = Companion_getInstance_7().t6(newValue);
|
|
2885
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2886
|
+
return _this__u8e3s4.replace(tmp0_nativeReplace, tmp1_nativeReplace);
|
|
2887
|
+
}
|
|
2888
|
+
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
2889
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
2890
|
+
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
2891
|
+
}
|
|
2892
|
+
function get_REPLACEMENT_BYTE_SEQUENCE() {
|
|
2893
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
2894
|
+
return REPLACEMENT_BYTE_SEQUENCE;
|
|
2895
|
+
}
|
|
2896
|
+
var REPLACEMENT_BYTE_SEQUENCE;
|
|
2897
|
+
function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
|
|
2898
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
2899
|
+
// Inline function 'kotlin.require' call
|
|
2900
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2901
|
+
// Inline function 'kotlin.require' call
|
|
2902
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2903
|
+
if (!((startIndex >= 0 ? endIndex <= string.length : false) ? startIndex <= endIndex : false)) {
|
|
2904
|
+
// Inline function 'kotlin.require.<anonymous>' call
|
|
2905
|
+
var message = 'Failed requirement.';
|
|
2906
|
+
throw IllegalArgumentException_init_$Create$(toString_4(message));
|
|
2907
|
+
}
|
|
2908
|
+
var bytes = new Int8Array(imul(endIndex - startIndex | 0, 3));
|
|
2909
|
+
var byteIndex = 0;
|
|
2910
|
+
var charIndex = startIndex;
|
|
2911
|
+
while (charIndex < endIndex) {
|
|
2912
|
+
// Inline function 'kotlin.code' call
|
|
2913
|
+
var tmp0 = charIndex;
|
|
2914
|
+
charIndex = tmp0 + 1 | 0;
|
|
2915
|
+
var tmp1_get_code_jtnknr = charSequenceGet(string, tmp0);
|
|
2916
|
+
var code = Char__toInt_impl_vasixd(tmp1_get_code_jtnknr);
|
|
2917
|
+
if (code < 128) {
|
|
2918
|
+
var tmp1 = byteIndex;
|
|
2919
|
+
byteIndex = tmp1 + 1 | 0;
|
|
2920
|
+
bytes[tmp1] = toByte(code);
|
|
2921
|
+
} else if (code < 2048) {
|
|
2922
|
+
var tmp2 = byteIndex;
|
|
2923
|
+
byteIndex = tmp2 + 1 | 0;
|
|
2924
|
+
bytes[tmp2] = toByte(code >> 6 | 192);
|
|
2925
|
+
var tmp3 = byteIndex;
|
|
2926
|
+
byteIndex = tmp3 + 1 | 0;
|
|
2927
|
+
bytes[tmp3] = toByte(code & 63 | 128);
|
|
2928
|
+
} else if (code < 55296 ? true : code >= 57344) {
|
|
2929
|
+
var tmp4 = byteIndex;
|
|
2930
|
+
byteIndex = tmp4 + 1 | 0;
|
|
2931
|
+
bytes[tmp4] = toByte(code >> 12 | 224);
|
|
2932
|
+
var tmp5 = byteIndex;
|
|
2933
|
+
byteIndex = tmp5 + 1 | 0;
|
|
2934
|
+
bytes[tmp5] = toByte(code >> 6 & 63 | 128);
|
|
2935
|
+
var tmp6 = byteIndex;
|
|
2936
|
+
byteIndex = tmp6 + 1 | 0;
|
|
2937
|
+
bytes[tmp6] = toByte(code & 63 | 128);
|
|
2938
|
+
} else {
|
|
2939
|
+
var codePoint = codePointFromSurrogate(string, code, charIndex, endIndex, throwOnMalformed);
|
|
2940
|
+
if (codePoint <= 0) {
|
|
2941
|
+
var tmp7 = byteIndex;
|
|
2942
|
+
byteIndex = tmp7 + 1 | 0;
|
|
2943
|
+
bytes[tmp7] = get_REPLACEMENT_BYTE_SEQUENCE()[0];
|
|
2944
|
+
var tmp8 = byteIndex;
|
|
2945
|
+
byteIndex = tmp8 + 1 | 0;
|
|
2946
|
+
bytes[tmp8] = get_REPLACEMENT_BYTE_SEQUENCE()[1];
|
|
2947
|
+
var tmp9 = byteIndex;
|
|
2948
|
+
byteIndex = tmp9 + 1 | 0;
|
|
2949
|
+
bytes[tmp9] = get_REPLACEMENT_BYTE_SEQUENCE()[2];
|
|
2950
|
+
} else {
|
|
2951
|
+
var tmp10 = byteIndex;
|
|
2952
|
+
byteIndex = tmp10 + 1 | 0;
|
|
2953
|
+
bytes[tmp10] = toByte(codePoint >> 18 | 240);
|
|
2954
|
+
var tmp11 = byteIndex;
|
|
2955
|
+
byteIndex = tmp11 + 1 | 0;
|
|
2956
|
+
bytes[tmp11] = toByte(codePoint >> 12 & 63 | 128);
|
|
2957
|
+
var tmp12 = byteIndex;
|
|
2958
|
+
byteIndex = tmp12 + 1 | 0;
|
|
2959
|
+
bytes[tmp12] = toByte(codePoint >> 6 & 63 | 128);
|
|
2960
|
+
var tmp13 = byteIndex;
|
|
2961
|
+
byteIndex = tmp13 + 1 | 0;
|
|
2962
|
+
bytes[tmp13] = toByte(codePoint & 63 | 128);
|
|
2963
|
+
charIndex = charIndex + 1 | 0;
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
return bytes.length === byteIndex ? bytes : copyOf(bytes, byteIndex);
|
|
2968
|
+
}
|
|
2969
|
+
function decodeUtf8(bytes, startIndex, endIndex, throwOnMalformed) {
|
|
2970
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
2971
|
+
// Inline function 'kotlin.require' call
|
|
2972
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2973
|
+
// Inline function 'kotlin.require' call
|
|
2974
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
2975
|
+
if (!((startIndex >= 0 ? endIndex <= bytes.length : false) ? startIndex <= endIndex : false)) {
|
|
2976
|
+
// Inline function 'kotlin.require.<anonymous>' call
|
|
2977
|
+
var message = 'Failed requirement.';
|
|
2978
|
+
throw IllegalArgumentException_init_$Create$(toString_4(message));
|
|
2979
|
+
}
|
|
2980
|
+
var byteIndex = startIndex;
|
|
2981
|
+
var stringBuilder = StringBuilder_init_$Create$_0();
|
|
2982
|
+
while (byteIndex < endIndex) {
|
|
2983
|
+
var tmp0 = byteIndex;
|
|
2984
|
+
byteIndex = tmp0 + 1 | 0;
|
|
2985
|
+
var byte = bytes[tmp0];
|
|
2986
|
+
if (byte >= 0) {
|
|
2987
|
+
stringBuilder.q2(numberToChar(byte));
|
|
2988
|
+
} else if (byte >> 5 === -2) {
|
|
2989
|
+
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
2990
|
+
if (code <= 0) {
|
|
2991
|
+
stringBuilder.q2(_Char___init__impl__6a9atx(65533));
|
|
2992
|
+
byteIndex = byteIndex + (-code | 0) | 0;
|
|
2993
|
+
} else {
|
|
2994
|
+
stringBuilder.q2(numberToChar(code));
|
|
2995
|
+
byteIndex = byteIndex + 1 | 0;
|
|
2996
|
+
}
|
|
2997
|
+
} else if (byte >> 4 === -2) {
|
|
2998
|
+
var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
2999
|
+
if (code_0 <= 0) {
|
|
3000
|
+
stringBuilder.q2(_Char___init__impl__6a9atx(65533));
|
|
3001
|
+
byteIndex = byteIndex + (-code_0 | 0) | 0;
|
|
3002
|
+
} else {
|
|
3003
|
+
stringBuilder.q2(numberToChar(code_0));
|
|
3004
|
+
byteIndex = byteIndex + 2 | 0;
|
|
3005
|
+
}
|
|
3006
|
+
} else if (byte >> 3 === -2) {
|
|
3007
|
+
var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
|
|
3008
|
+
if (code_1 <= 0) {
|
|
3009
|
+
stringBuilder.q2(_Char___init__impl__6a9atx(65533));
|
|
3010
|
+
byteIndex = byteIndex + (-code_1 | 0) | 0;
|
|
3011
|
+
} else {
|
|
3012
|
+
var high = (code_1 - 65536 | 0) >> 10 | 55296;
|
|
3013
|
+
var low = code_1 & 1023 | 56320;
|
|
3014
|
+
stringBuilder.q2(numberToChar(high));
|
|
3015
|
+
stringBuilder.q2(numberToChar(low));
|
|
3016
|
+
byteIndex = byteIndex + 3 | 0;
|
|
3017
|
+
}
|
|
3018
|
+
} else {
|
|
3019
|
+
malformed(0, byteIndex, throwOnMalformed);
|
|
3020
|
+
stringBuilder.q2(_Char___init__impl__6a9atx(65533));
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
return stringBuilder.toString();
|
|
3024
|
+
}
|
|
3025
|
+
function codePointFromSurrogate(string, high, index, endIndex, throwOnMalformed) {
|
|
3026
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
3027
|
+
if (!(55296 <= high ? high <= 56319 : false) ? true : index >= endIndex) {
|
|
3028
|
+
return malformed(0, index, throwOnMalformed);
|
|
3029
|
+
}
|
|
3030
|
+
// Inline function 'kotlin.code' call
|
|
3031
|
+
var tmp0_get_code_gknlva = charSequenceGet(string, index);
|
|
3032
|
+
var low = Char__toInt_impl_vasixd(tmp0_get_code_gknlva);
|
|
3033
|
+
if (!(56320 <= low ? low <= 57343 : false)) {
|
|
3034
|
+
return malformed(0, index, throwOnMalformed);
|
|
3035
|
+
}
|
|
3036
|
+
return 65536 + ((high & 1023) << 10) | 0 | low & 1023;
|
|
3037
|
+
}
|
|
3038
|
+
function codePointFrom2(bytes, byte1, index, endIndex, throwOnMalformed) {
|
|
3039
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
3040
|
+
if ((byte1 & 30) === 0 ? true : index >= endIndex) {
|
|
3041
|
+
return malformed(0, index, throwOnMalformed);
|
|
3042
|
+
}
|
|
3043
|
+
var byte2 = bytes[index];
|
|
3044
|
+
if (!((byte2 & 192) === 128)) {
|
|
3045
|
+
return malformed(0, index, throwOnMalformed);
|
|
3046
|
+
}
|
|
3047
|
+
return byte1 << 6 ^ byte2 ^ 3968;
|
|
3048
|
+
}
|
|
3049
|
+
function codePointFrom3(bytes, byte1, index, endIndex, throwOnMalformed) {
|
|
3050
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
3051
|
+
if (index >= endIndex) {
|
|
3052
|
+
return malformed(0, index, throwOnMalformed);
|
|
3053
|
+
}
|
|
3054
|
+
var byte2 = bytes[index];
|
|
3055
|
+
if ((byte1 & 15) === 0) {
|
|
3056
|
+
if (!((byte2 & 224) === 160)) {
|
|
3057
|
+
return malformed(0, index, throwOnMalformed);
|
|
3058
|
+
}
|
|
3059
|
+
} else if ((byte1 & 15) === 13) {
|
|
3060
|
+
if (!((byte2 & 224) === 128)) {
|
|
3061
|
+
return malformed(0, index, throwOnMalformed);
|
|
3062
|
+
}
|
|
3063
|
+
} else if (!((byte2 & 192) === 128)) {
|
|
3064
|
+
return malformed(0, index, throwOnMalformed);
|
|
3065
|
+
}
|
|
3066
|
+
if ((index + 1 | 0) === endIndex) {
|
|
3067
|
+
return malformed(1, index, throwOnMalformed);
|
|
3068
|
+
}
|
|
3069
|
+
var byte3 = bytes[index + 1 | 0];
|
|
3070
|
+
if (!((byte3 & 192) === 128)) {
|
|
3071
|
+
return malformed(1, index, throwOnMalformed);
|
|
3072
|
+
}
|
|
3073
|
+
return byte1 << 12 ^ byte2 << 6 ^ byte3 ^ -123008;
|
|
3074
|
+
}
|
|
3075
|
+
function codePointFrom4(bytes, byte1, index, endIndex, throwOnMalformed) {
|
|
3076
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
3077
|
+
if (index >= endIndex) {
|
|
3078
|
+
malformed(0, index, throwOnMalformed);
|
|
3079
|
+
}
|
|
3080
|
+
var byte2 = bytes[index];
|
|
3081
|
+
if ((byte1 & 15) === 0) {
|
|
3082
|
+
if ((byte2 & 240) <= 128) {
|
|
3083
|
+
return malformed(0, index, throwOnMalformed);
|
|
3084
|
+
}
|
|
3085
|
+
} else if ((byte1 & 15) === 4) {
|
|
3086
|
+
if (!((byte2 & 240) === 128)) {
|
|
3087
|
+
return malformed(0, index, throwOnMalformed);
|
|
3088
|
+
}
|
|
3089
|
+
} else if ((byte1 & 15) > 4) {
|
|
3090
|
+
return malformed(0, index, throwOnMalformed);
|
|
3091
|
+
} else if (!((byte2 & 192) === 128)) {
|
|
3092
|
+
return malformed(0, index, throwOnMalformed);
|
|
3093
|
+
}
|
|
3094
|
+
if ((index + 1 | 0) === endIndex) {
|
|
3095
|
+
return malformed(1, index, throwOnMalformed);
|
|
3096
|
+
}
|
|
3097
|
+
var byte3 = bytes[index + 1 | 0];
|
|
3098
|
+
if (!((byte3 & 192) === 128)) {
|
|
3099
|
+
return malformed(1, index, throwOnMalformed);
|
|
3100
|
+
}
|
|
3101
|
+
if ((index + 2 | 0) === endIndex) {
|
|
3102
|
+
return malformed(2, index, throwOnMalformed);
|
|
3103
|
+
}
|
|
3104
|
+
var byte4 = bytes[index + 2 | 0];
|
|
3105
|
+
if (!((byte4 & 192) === 128)) {
|
|
3106
|
+
return malformed(2, index, throwOnMalformed);
|
|
3107
|
+
}
|
|
3108
|
+
return byte1 << 18 ^ byte2 << 12 ^ byte3 << 6 ^ byte4 ^ 3678080;
|
|
3109
|
+
}
|
|
3110
|
+
function malformed(size, index, throwOnMalformed) {
|
|
3111
|
+
_init_properties_utf8Encoding_kt__9thjs4();
|
|
3112
|
+
if (throwOnMalformed)
|
|
3113
|
+
throw new CharacterCodingException('Malformed sequence starting at ' + (index - 1 | 0));
|
|
3114
|
+
return -size | 0;
|
|
3115
|
+
}
|
|
3116
|
+
var properties_initialized_utf8Encoding_kt_eee1vq;
|
|
3117
|
+
function _init_properties_utf8Encoding_kt__9thjs4() {
|
|
3118
|
+
if (!properties_initialized_utf8Encoding_kt_eee1vq) {
|
|
3119
|
+
properties_initialized_utf8Encoding_kt_eee1vq = true;
|
|
3120
|
+
// Inline function 'kotlin.byteArrayOf' call
|
|
3121
|
+
REPLACEMENT_BYTE_SEQUENCE = new Int8Array([-17, -65, -67]);
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
function _Char___init__impl__6a9atx(value) {
|
|
3125
|
+
return value;
|
|
3126
|
+
}
|
|
3127
|
+
function _get_value__a43j40($this) {
|
|
3128
|
+
return $this;
|
|
3129
|
+
}
|
|
3130
|
+
function _Char___init__impl__6a9atx_0(code) {
|
|
3131
|
+
var tmp$ret$0;
|
|
3132
|
+
// Inline function 'kotlin.UShort.toInt' call
|
|
3133
|
+
tmp$ret$0 = _UShort___get_data__impl__g0245(code) & 65535;
|
|
3134
|
+
return _Char___init__impl__6a9atx(tmp$ret$0);
|
|
3135
|
+
}
|
|
3136
|
+
function Char__compareTo_impl_ypi4mb($this, other) {
|
|
3137
|
+
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
3138
|
+
}
|
|
3139
|
+
function Char__compareTo_impl_ypi4mb_0($this, other) {
|
|
3140
|
+
var tmp = $this.p2_1;
|
|
3141
|
+
return Char__compareTo_impl_ypi4mb(tmp, other instanceof Char ? other.p2_1 : THROW_CCE());
|
|
3142
|
+
}
|
|
3143
|
+
function Char__minus_impl_a2frrh($this, other) {
|
|
3144
|
+
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
|
|
3145
|
+
}
|
|
3146
|
+
function Char__toInt_impl_vasixd($this) {
|
|
3147
|
+
return _get_value__a43j40($this);
|
|
3148
|
+
}
|
|
3149
|
+
function Char__equals_impl_x6719k($this, other) {
|
|
3150
|
+
if (!(other instanceof Char))
|
|
3151
|
+
return false;
|
|
3152
|
+
return _get_value__a43j40($this) === _get_value__a43j40(other.p2_1);
|
|
3153
|
+
}
|
|
3154
|
+
function Char__hashCode_impl_otmys($this) {
|
|
3155
|
+
return _get_value__a43j40($this);
|
|
3156
|
+
}
|
|
3157
|
+
function toString_2($this) {
|
|
3158
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3159
|
+
return String.fromCharCode(_get_value__a43j40($this));
|
|
3160
|
+
}
|
|
3161
|
+
function Companion_8() {
|
|
3162
|
+
Companion_instance_8 = this;
|
|
3163
|
+
this.x7_1 = _Char___init__impl__6a9atx(0);
|
|
3164
|
+
this.y7_1 = _Char___init__impl__6a9atx(65535);
|
|
3165
|
+
this.z7_1 = _Char___init__impl__6a9atx(55296);
|
|
3166
|
+
this.a8_1 = _Char___init__impl__6a9atx(56319);
|
|
3167
|
+
this.b8_1 = _Char___init__impl__6a9atx(56320);
|
|
3168
|
+
this.c8_1 = _Char___init__impl__6a9atx(57343);
|
|
3169
|
+
this.d8_1 = _Char___init__impl__6a9atx(55296);
|
|
3170
|
+
this.e8_1 = _Char___init__impl__6a9atx(57343);
|
|
3171
|
+
this.f8_1 = 2;
|
|
3172
|
+
this.g8_1 = 16;
|
|
3173
|
+
}
|
|
3174
|
+
var Companion_instance_8;
|
|
3175
|
+
function Companion_getInstance_8() {
|
|
3176
|
+
if (Companion_instance_8 == null)
|
|
3177
|
+
new Companion_8();
|
|
3178
|
+
return Companion_instance_8;
|
|
3179
|
+
}
|
|
3180
|
+
function Char(value) {
|
|
3181
|
+
Companion_getInstance_8();
|
|
3182
|
+
this.p2_1 = value;
|
|
3183
|
+
}
|
|
3184
|
+
protoOf(Char).h8 = function (other) {
|
|
3185
|
+
return Char__compareTo_impl_ypi4mb(this.p2_1, other);
|
|
3186
|
+
};
|
|
3187
|
+
protoOf(Char).i8 = function (other) {
|
|
3188
|
+
return Char__compareTo_impl_ypi4mb_0(this, other);
|
|
3189
|
+
};
|
|
3190
|
+
protoOf(Char).equals = function (other) {
|
|
3191
|
+
return Char__equals_impl_x6719k(this.p2_1, other);
|
|
3192
|
+
};
|
|
3193
|
+
protoOf(Char).hashCode = function () {
|
|
3194
|
+
return Char__hashCode_impl_otmys(this.p2_1);
|
|
3195
|
+
};
|
|
3196
|
+
protoOf(Char).toString = function () {
|
|
3197
|
+
return toString_2(this.p2_1);
|
|
3198
|
+
};
|
|
3199
|
+
function List() {
|
|
3200
|
+
}
|
|
3201
|
+
function Collection() {
|
|
3202
|
+
}
|
|
3203
|
+
function Set() {
|
|
3204
|
+
}
|
|
3205
|
+
function Entry() {
|
|
3206
|
+
}
|
|
3207
|
+
function Map() {
|
|
3208
|
+
}
|
|
3209
|
+
function MutableEntry() {
|
|
3210
|
+
}
|
|
3211
|
+
function Companion_9() {
|
|
3212
|
+
Companion_instance_9 = this;
|
|
3213
|
+
}
|
|
3214
|
+
var Companion_instance_9;
|
|
3215
|
+
function Companion_getInstance_9() {
|
|
3216
|
+
if (Companion_instance_9 == null)
|
|
3217
|
+
new Companion_9();
|
|
3218
|
+
return Companion_instance_9;
|
|
3219
|
+
}
|
|
3220
|
+
function Enum(name, ordinal) {
|
|
3221
|
+
Companion_getInstance_9();
|
|
3222
|
+
this.j8_1 = name;
|
|
3223
|
+
this.k8_1 = ordinal;
|
|
3224
|
+
}
|
|
3225
|
+
protoOf(Enum).l8 = function () {
|
|
3226
|
+
return this.j8_1;
|
|
3227
|
+
};
|
|
3228
|
+
protoOf(Enum).m8 = function () {
|
|
3229
|
+
return this.k8_1;
|
|
3230
|
+
};
|
|
3231
|
+
protoOf(Enum).n8 = function (other) {
|
|
3232
|
+
return compareTo_0(this.k8_1, other.k8_1);
|
|
3233
|
+
};
|
|
3234
|
+
protoOf(Enum).i8 = function (other) {
|
|
3235
|
+
return this.n8(other instanceof Enum ? other : THROW_CCE());
|
|
3236
|
+
};
|
|
3237
|
+
protoOf(Enum).equals = function (other) {
|
|
3238
|
+
return this === other;
|
|
3239
|
+
};
|
|
3240
|
+
protoOf(Enum).hashCode = function () {
|
|
3241
|
+
return identityHashCode(this);
|
|
3242
|
+
};
|
|
3243
|
+
protoOf(Enum).toString = function () {
|
|
3244
|
+
return this.j8_1;
|
|
3245
|
+
};
|
|
3246
|
+
function toString_3(_this__u8e3s4) {
|
|
3247
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_4(_this__u8e3s4);
|
|
3248
|
+
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3249
|
+
}
|
|
3250
|
+
function implement(interfaces) {
|
|
3251
|
+
var maxSize = 1;
|
|
3252
|
+
var masks = [];
|
|
3253
|
+
var inductionVariable = 0;
|
|
3254
|
+
var last = interfaces.length;
|
|
3255
|
+
while (inductionVariable < last) {
|
|
3256
|
+
var i = interfaces[inductionVariable];
|
|
3257
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3258
|
+
var currentSize = maxSize;
|
|
3259
|
+
var tmp1_elvis_lhs = i.prototype.$imask$;
|
|
3260
|
+
var imask = tmp1_elvis_lhs == null ? i.$imask$ : tmp1_elvis_lhs;
|
|
3261
|
+
if (!(imask == null)) {
|
|
3262
|
+
masks.push(imask);
|
|
3263
|
+
currentSize = imask.length;
|
|
3264
|
+
}
|
|
3265
|
+
var iid = i.$metadata$.iid;
|
|
3266
|
+
var tmp;
|
|
3267
|
+
if (iid == null) {
|
|
3268
|
+
tmp = null;
|
|
3269
|
+
} else {
|
|
3270
|
+
// Inline function 'kotlin.let' call
|
|
3271
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3272
|
+
// Inline function 'kotlin.js.implement.<anonymous>' call
|
|
3273
|
+
tmp = bitMaskWith(iid);
|
|
3274
|
+
}
|
|
3275
|
+
var iidImask = tmp;
|
|
3276
|
+
if (!(iidImask == null)) {
|
|
3277
|
+
masks.push(iidImask);
|
|
3278
|
+
currentSize = Math.max(currentSize, iidImask.length);
|
|
3279
|
+
}
|
|
3280
|
+
if (currentSize > maxSize) {
|
|
3281
|
+
maxSize = currentSize;
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
return compositeBitMask(maxSize, masks);
|
|
3285
|
+
}
|
|
3286
|
+
function bitMaskWith(activeBit) {
|
|
3287
|
+
var intArray = new Int32Array((activeBit >> 5) + 1 | 0);
|
|
3288
|
+
var numberIndex = activeBit >> 5;
|
|
3289
|
+
var positionInNumber = activeBit & 31;
|
|
3290
|
+
var numberWithSettledBit = 1 << positionInNumber;
|
|
3291
|
+
intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit;
|
|
3292
|
+
return intArray;
|
|
3293
|
+
}
|
|
3294
|
+
function compositeBitMask(capacity, masks) {
|
|
3295
|
+
var tmp = 0;
|
|
3296
|
+
var tmp_0 = new Int32Array(capacity);
|
|
3297
|
+
while (tmp < capacity) {
|
|
3298
|
+
var tmp_1 = tmp;
|
|
3299
|
+
var result = 0;
|
|
3300
|
+
var inductionVariable = 0;
|
|
3301
|
+
var last = masks.length;
|
|
3302
|
+
while (inductionVariable < last) {
|
|
3303
|
+
var mask = masks[inductionVariable];
|
|
3304
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3305
|
+
if (tmp_1 < mask.length) {
|
|
3306
|
+
result = result | mask[tmp_1];
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
tmp_0[tmp_1] = result;
|
|
3310
|
+
tmp = tmp + 1 | 0;
|
|
3311
|
+
}
|
|
3312
|
+
return tmp_0;
|
|
3313
|
+
}
|
|
3314
|
+
function isBitSet(_this__u8e3s4, possibleActiveBit) {
|
|
3315
|
+
var numberIndex = possibleActiveBit >> 5;
|
|
3316
|
+
if (numberIndex > _this__u8e3s4.length)
|
|
3317
|
+
return false;
|
|
3318
|
+
var positionInNumber = possibleActiveBit & 31;
|
|
3319
|
+
var numberWithSettledBit = 1 << positionInNumber;
|
|
3320
|
+
return !((_this__u8e3s4[numberIndex] & numberWithSettledBit) === 0);
|
|
3321
|
+
}
|
|
3322
|
+
function arrayIterator(array) {
|
|
3323
|
+
return new arrayIterator$1(array);
|
|
3324
|
+
}
|
|
3325
|
+
function charArrayIterator(array) {
|
|
3326
|
+
return new charArrayIterator$1(array);
|
|
3327
|
+
}
|
|
3328
|
+
function charArray(size) {
|
|
3329
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3330
|
+
// Inline function 'withType' call
|
|
3331
|
+
var tmp0_withType = new Uint16Array(size);
|
|
3332
|
+
tmp0_withType.$type$ = 'CharArray';
|
|
3333
|
+
return tmp0_withType;
|
|
3334
|
+
}
|
|
3335
|
+
function charArrayOf(arr) {
|
|
3336
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3337
|
+
// Inline function 'withType' call
|
|
3338
|
+
var tmp0_withType = new Uint16Array(arr);
|
|
3339
|
+
tmp0_withType.$type$ = 'CharArray';
|
|
3340
|
+
return tmp0_withType;
|
|
3341
|
+
}
|
|
3342
|
+
function arrayIterator$1($array) {
|
|
3343
|
+
this.p8_1 = $array;
|
|
3344
|
+
this.o8_1 = 0;
|
|
3345
|
+
}
|
|
3346
|
+
protoOf(arrayIterator$1).g = function () {
|
|
3347
|
+
return !(this.o8_1 === this.p8_1.length);
|
|
3348
|
+
};
|
|
3349
|
+
protoOf(arrayIterator$1).h = function () {
|
|
3350
|
+
var tmp;
|
|
3351
|
+
if (!(this.o8_1 === this.p8_1.length)) {
|
|
3352
|
+
var tmp1 = this.o8_1;
|
|
3353
|
+
this.o8_1 = tmp1 + 1 | 0;
|
|
3354
|
+
tmp = this.p8_1[tmp1];
|
|
3355
|
+
} else {
|
|
3356
|
+
throw NoSuchElementException_init_$Create$_0('' + this.o8_1);
|
|
3357
|
+
}
|
|
3358
|
+
return tmp;
|
|
3359
|
+
};
|
|
3360
|
+
function charArrayIterator$1($array) {
|
|
3361
|
+
this.r8_1 = $array;
|
|
3362
|
+
CharIterator.call(this);
|
|
3363
|
+
this.q8_1 = 0;
|
|
3364
|
+
}
|
|
3365
|
+
protoOf(charArrayIterator$1).g = function () {
|
|
3366
|
+
return !(this.q8_1 === this.r8_1.length);
|
|
3367
|
+
};
|
|
3368
|
+
protoOf(charArrayIterator$1).r1 = function () {
|
|
3369
|
+
var tmp;
|
|
3370
|
+
if (!(this.q8_1 === this.r8_1.length)) {
|
|
3371
|
+
var tmp1 = this.q8_1;
|
|
3372
|
+
this.q8_1 = tmp1 + 1 | 0;
|
|
3373
|
+
tmp = this.r8_1[tmp1];
|
|
3374
|
+
} else {
|
|
3375
|
+
throw NoSuchElementException_init_$Create$_0('' + this.q8_1);
|
|
3376
|
+
}
|
|
3377
|
+
return tmp;
|
|
3378
|
+
};
|
|
3379
|
+
function get_buf() {
|
|
3380
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3381
|
+
return buf;
|
|
3382
|
+
}
|
|
3383
|
+
var buf;
|
|
3384
|
+
function get_bufFloat64() {
|
|
3385
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3386
|
+
return bufFloat64;
|
|
3387
|
+
}
|
|
3388
|
+
var bufFloat64;
|
|
3389
|
+
var bufFloat32;
|
|
3390
|
+
function get_bufInt32() {
|
|
3391
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3392
|
+
return bufInt32;
|
|
3393
|
+
}
|
|
3394
|
+
var bufInt32;
|
|
3395
|
+
function get_lowIndex() {
|
|
3396
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3397
|
+
return lowIndex;
|
|
3398
|
+
}
|
|
3399
|
+
var lowIndex;
|
|
3400
|
+
function get_highIndex() {
|
|
3401
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3402
|
+
return highIndex;
|
|
3403
|
+
}
|
|
3404
|
+
var highIndex;
|
|
3405
|
+
function getNumberHashCode(obj) {
|
|
3406
|
+
_init_properties_bitUtils_kt__nfcg4k();
|
|
3407
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3408
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
3409
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3410
|
+
if ((obj | 0) === obj) {
|
|
3411
|
+
return numberToInt(obj);
|
|
3412
|
+
}
|
|
3413
|
+
get_bufFloat64()[0] = obj;
|
|
3414
|
+
return imul(get_bufInt32()[get_highIndex()], 31) + get_bufInt32()[get_lowIndex()] | 0;
|
|
3415
|
+
}
|
|
3416
|
+
var properties_initialized_bitUtils_kt_i2bo3e;
|
|
3417
|
+
function _init_properties_bitUtils_kt__nfcg4k() {
|
|
3418
|
+
if (!properties_initialized_bitUtils_kt_i2bo3e) {
|
|
3419
|
+
properties_initialized_bitUtils_kt_i2bo3e = true;
|
|
3420
|
+
buf = new ArrayBuffer(8);
|
|
3421
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3422
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3423
|
+
bufFloat64 = new Float64Array(get_buf());
|
|
3424
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3425
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3426
|
+
bufFloat32 = new Float32Array(get_buf());
|
|
3427
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3428
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3429
|
+
bufInt32 = new Int32Array(get_buf());
|
|
3430
|
+
// Inline function 'kotlin.run' call
|
|
3431
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
3432
|
+
// Inline function 'kotlin.js.lowIndex.<anonymous>' call
|
|
3433
|
+
get_bufFloat64()[0] = -1.0;
|
|
3434
|
+
lowIndex = !(get_bufInt32()[0] === 0) ? 1 : 0;
|
|
3435
|
+
highIndex = 1 - get_lowIndex() | 0;
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
function charSequenceGet(a, index) {
|
|
3439
|
+
var tmp;
|
|
3440
|
+
if (isString(a)) {
|
|
3441
|
+
// Inline function 'kotlin.Char' call
|
|
3442
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3443
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3444
|
+
var tmp1_Char = a.charCodeAt(index);
|
|
3445
|
+
var tmp_0;
|
|
3446
|
+
// Inline function 'kotlin.code' call
|
|
3447
|
+
Companion_getInstance_8();
|
|
3448
|
+
var tmp0_get_code_gknlva = _Char___init__impl__6a9atx(0);
|
|
3449
|
+
if (tmp1_Char < Char__toInt_impl_vasixd(tmp0_get_code_gknlva)) {
|
|
3450
|
+
tmp_0 = true;
|
|
3451
|
+
} else {
|
|
3452
|
+
// Inline function 'kotlin.code' call
|
|
3453
|
+
Companion_getInstance_8();
|
|
3454
|
+
var tmp1_get_code_jtnknr = _Char___init__impl__6a9atx(65535);
|
|
3455
|
+
tmp_0 = tmp1_Char > Char__toInt_impl_vasixd(tmp1_get_code_jtnknr);
|
|
3456
|
+
}
|
|
3457
|
+
if (tmp_0) {
|
|
3458
|
+
throw IllegalArgumentException_init_$Create$('Invalid Char code: ' + tmp1_Char);
|
|
3459
|
+
}
|
|
3460
|
+
tmp = numberToChar(tmp1_Char);
|
|
3461
|
+
} else {
|
|
3462
|
+
tmp = a.d3(index);
|
|
3463
|
+
}
|
|
3464
|
+
return tmp;
|
|
3465
|
+
}
|
|
3466
|
+
function isString(a) {
|
|
3467
|
+
return typeof a === 'string';
|
|
3468
|
+
}
|
|
3469
|
+
function charSequenceLength(a) {
|
|
3470
|
+
var tmp;
|
|
3471
|
+
if (isString(a)) {
|
|
3472
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3473
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3474
|
+
tmp = a.length;
|
|
3475
|
+
} else {
|
|
3476
|
+
tmp = a.c3();
|
|
3477
|
+
}
|
|
3478
|
+
return tmp;
|
|
3479
|
+
}
|
|
3480
|
+
function charSequenceSubSequence(a, startIndex, endIndex) {
|
|
3481
|
+
var tmp;
|
|
3482
|
+
if (isString(a)) {
|
|
3483
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3484
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3485
|
+
tmp = a.substring(startIndex, endIndex);
|
|
3486
|
+
} else {
|
|
3487
|
+
tmp = a.e3(startIndex, endIndex);
|
|
3488
|
+
}
|
|
3489
|
+
return tmp;
|
|
3490
|
+
}
|
|
3491
|
+
function contentEqualsInternal(_this__u8e3s4, other) {
|
|
3492
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3493
|
+
var a = _this__u8e3s4;
|
|
3494
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3495
|
+
var b = other;
|
|
3496
|
+
if (a === b)
|
|
3497
|
+
return true;
|
|
3498
|
+
if (((a == null ? true : b == null) ? true : !isArrayish(b)) ? true : a.length != b.length)
|
|
3499
|
+
return false;
|
|
3500
|
+
var inductionVariable = 0;
|
|
3501
|
+
var last = a.length;
|
|
3502
|
+
if (inductionVariable < last)
|
|
3503
|
+
do {
|
|
3504
|
+
var i = inductionVariable;
|
|
3505
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3506
|
+
if (!equals_0(a[i], b[i])) {
|
|
3507
|
+
return false;
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3510
|
+
while (inductionVariable < last);
|
|
3511
|
+
return true;
|
|
3512
|
+
}
|
|
3513
|
+
function arrayToString(array) {
|
|
3514
|
+
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
3515
|
+
}
|
|
3516
|
+
function arrayToString$lambda(it) {
|
|
3517
|
+
return toString_4(it);
|
|
3518
|
+
}
|
|
3519
|
+
function compareTo_0(a, b) {
|
|
3520
|
+
var tmp;
|
|
3521
|
+
switch (typeof a) {
|
|
3522
|
+
case 'number':
|
|
3523
|
+
var tmp_0;
|
|
3524
|
+
if (typeof b === 'number') {
|
|
3525
|
+
tmp_0 = doubleCompareTo(a, b);
|
|
3526
|
+
} else {
|
|
3527
|
+
if (b instanceof Long) {
|
|
3528
|
+
tmp_0 = doubleCompareTo(a, b.s8());
|
|
3529
|
+
} else {
|
|
3530
|
+
tmp_0 = primitiveCompareTo(a, b);
|
|
3531
|
+
}
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
tmp = tmp_0;
|
|
3535
|
+
break;
|
|
3536
|
+
case 'string':
|
|
3537
|
+
case 'boolean':
|
|
3538
|
+
tmp = primitiveCompareTo(a, b);
|
|
3539
|
+
break;
|
|
3540
|
+
default:
|
|
3541
|
+
tmp = compareToDoNotIntrinsicify(a, b);
|
|
3542
|
+
break;
|
|
3543
|
+
}
|
|
3544
|
+
return tmp;
|
|
3545
|
+
}
|
|
3546
|
+
function doubleCompareTo(a, b) {
|
|
3547
|
+
var tmp;
|
|
3548
|
+
if (a < b) {
|
|
3549
|
+
tmp = -1;
|
|
3550
|
+
} else if (a > b) {
|
|
3551
|
+
tmp = 1;
|
|
3552
|
+
} else if (a === b) {
|
|
3553
|
+
var tmp_0;
|
|
3554
|
+
if (a !== 0) {
|
|
3555
|
+
tmp_0 = 0;
|
|
3556
|
+
} else {
|
|
3557
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3558
|
+
var ia = 1 / a;
|
|
3559
|
+
var tmp_1;
|
|
3560
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3561
|
+
if (ia === 1 / b) {
|
|
3562
|
+
tmp_1 = 0;
|
|
3563
|
+
} else {
|
|
3564
|
+
if (ia < 0) {
|
|
3565
|
+
tmp_1 = -1;
|
|
3566
|
+
} else {
|
|
3567
|
+
tmp_1 = 1;
|
|
3568
|
+
}
|
|
3569
|
+
}
|
|
3570
|
+
tmp_0 = tmp_1;
|
|
3571
|
+
}
|
|
3572
|
+
tmp = tmp_0;
|
|
3573
|
+
} else if (a !== a) {
|
|
3574
|
+
tmp = b !== b ? 0 : 1;
|
|
3575
|
+
} else {
|
|
3576
|
+
tmp = -1;
|
|
3577
|
+
}
|
|
3578
|
+
return tmp;
|
|
3579
|
+
}
|
|
3580
|
+
function primitiveCompareTo(a, b) {
|
|
3581
|
+
return a < b ? -1 : a > b ? 1 : 0;
|
|
3582
|
+
}
|
|
3583
|
+
function compareToDoNotIntrinsicify(a, b) {
|
|
3584
|
+
return a.i8(b);
|
|
3585
|
+
}
|
|
3586
|
+
function identityHashCode(obj) {
|
|
3587
|
+
return getObjectHashCode(obj);
|
|
3588
|
+
}
|
|
3589
|
+
function getObjectHashCode(obj) {
|
|
3590
|
+
// Inline function 'kotlin.js.jsIn' call
|
|
3591
|
+
if (!('kotlinHashCodeValue$' in obj)) {
|
|
3592
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
3593
|
+
var hash = Math.random() * 4.294967296E9 | 0;
|
|
3594
|
+
var descriptor = new Object();
|
|
3595
|
+
descriptor.value = hash;
|
|
3596
|
+
descriptor.enumerable = false;
|
|
3597
|
+
Object.defineProperty(obj, 'kotlinHashCodeValue$', descriptor);
|
|
3598
|
+
}
|
|
3599
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3600
|
+
return obj['kotlinHashCodeValue$'];
|
|
3601
|
+
}
|
|
3602
|
+
function equals_0(obj1, obj2) {
|
|
3603
|
+
if (obj1 == null) {
|
|
3604
|
+
return obj2 == null;
|
|
3605
|
+
}
|
|
3606
|
+
if (obj2 == null) {
|
|
3607
|
+
return false;
|
|
3608
|
+
}
|
|
3609
|
+
if (typeof obj1 === 'object' ? typeof obj1.equals === 'function' : false) {
|
|
3610
|
+
return obj1.equals(obj2);
|
|
3611
|
+
}
|
|
3612
|
+
if (obj1 !== obj1) {
|
|
3613
|
+
return obj2 !== obj2;
|
|
3614
|
+
}
|
|
3615
|
+
if (typeof obj1 === 'number' ? typeof obj2 === 'number' : false) {
|
|
3616
|
+
var tmp;
|
|
3617
|
+
if (obj1 === obj2) {
|
|
3618
|
+
var tmp_0;
|
|
3619
|
+
if (obj1 !== 0) {
|
|
3620
|
+
tmp_0 = true;
|
|
3621
|
+
} else {
|
|
3622
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3623
|
+
var tmp_1 = 1 / obj1;
|
|
3624
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3625
|
+
tmp_0 = tmp_1 === 1 / obj2;
|
|
3626
|
+
}
|
|
3627
|
+
tmp = tmp_0;
|
|
3628
|
+
} else {
|
|
3629
|
+
tmp = false;
|
|
3630
|
+
}
|
|
3631
|
+
return tmp;
|
|
3632
|
+
}
|
|
3633
|
+
return obj1 === obj2;
|
|
3634
|
+
}
|
|
3635
|
+
function toString_4(o) {
|
|
3636
|
+
var tmp;
|
|
3637
|
+
if (o == null) {
|
|
3638
|
+
tmp = 'null';
|
|
3639
|
+
} else if (isArrayish(o)) {
|
|
3640
|
+
tmp = '[...]';
|
|
3641
|
+
} else {
|
|
3642
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3643
|
+
tmp = o.toString();
|
|
3644
|
+
}
|
|
3645
|
+
return tmp;
|
|
3646
|
+
}
|
|
3647
|
+
function hashCode(obj) {
|
|
3648
|
+
if (obj == null)
|
|
3649
|
+
return 0;
|
|
3650
|
+
var tmp;
|
|
3651
|
+
switch (typeof obj) {
|
|
3652
|
+
case 'object':
|
|
3653
|
+
tmp = 'function' === typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj);
|
|
3654
|
+
break;
|
|
3655
|
+
case 'function':
|
|
3656
|
+
tmp = getObjectHashCode(obj);
|
|
3657
|
+
break;
|
|
3658
|
+
case 'number':
|
|
3659
|
+
tmp = getNumberHashCode(obj);
|
|
3660
|
+
break;
|
|
3661
|
+
case 'boolean':
|
|
3662
|
+
var tmp_0;
|
|
3663
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3664
|
+
|
|
3665
|
+
if (obj) {
|
|
3666
|
+
tmp_0 = 1;
|
|
3667
|
+
} else {
|
|
3668
|
+
tmp_0 = 0;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
tmp = tmp_0;
|
|
3672
|
+
break;
|
|
3673
|
+
default:
|
|
3674
|
+
tmp = getStringHashCode(String(obj));
|
|
3675
|
+
break;
|
|
3676
|
+
}
|
|
3677
|
+
return tmp;
|
|
3678
|
+
}
|
|
3679
|
+
function getStringHashCode(str) {
|
|
3680
|
+
var hash = 0;
|
|
3681
|
+
var length = str.length;
|
|
3682
|
+
var inductionVariable = 0;
|
|
3683
|
+
var last = length - 1 | 0;
|
|
3684
|
+
if (inductionVariable <= last)
|
|
3685
|
+
do {
|
|
3686
|
+
var i = inductionVariable;
|
|
3687
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3688
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3689
|
+
var code = str.charCodeAt(i);
|
|
3690
|
+
hash = imul(hash, 31) + code | 0;
|
|
3691
|
+
}
|
|
3692
|
+
while (!(i === last));
|
|
3693
|
+
return hash;
|
|
3694
|
+
}
|
|
3695
|
+
function boxIntrinsic(x) {
|
|
3696
|
+
throw IllegalStateException_init_$Create$_0('Should be lowered');
|
|
3697
|
+
}
|
|
3698
|
+
function unboxIntrinsic(x) {
|
|
3699
|
+
throw IllegalStateException_init_$Create$_0('Should be lowered');
|
|
3700
|
+
}
|
|
3701
|
+
function captureStack(instance, constructorFunction) {
|
|
3702
|
+
if (Error.captureStackTrace != null) {
|
|
3703
|
+
Error.captureStackTrace(instance, constructorFunction);
|
|
3704
|
+
} else {
|
|
3705
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3706
|
+
instance.stack = (new Error()).stack;
|
|
3707
|
+
}
|
|
3708
|
+
}
|
|
3709
|
+
function protoOf(constructor) {
|
|
3710
|
+
return constructor.prototype;
|
|
3711
|
+
}
|
|
3712
|
+
function defineProp(obj, name, getter, setter) {
|
|
3713
|
+
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
|
|
3714
|
+
}
|
|
3715
|
+
function objectCreate(proto) {
|
|
3716
|
+
return Object.create(proto);
|
|
3717
|
+
}
|
|
3718
|
+
function extendThrowable(this_, message, cause) {
|
|
3719
|
+
Error.call(this_);
|
|
3720
|
+
setPropertiesToThrowableInstance(this_, message, cause);
|
|
3721
|
+
}
|
|
3722
|
+
function setPropertiesToThrowableInstance(this_, message, cause) {
|
|
3723
|
+
var errorInfo = calculateErrorInfo(Object.getPrototypeOf(this_));
|
|
3724
|
+
if ((errorInfo & 1) === 0) {
|
|
3725
|
+
var tmp;
|
|
3726
|
+
if (message == null) {
|
|
3727
|
+
var tmp_0;
|
|
3728
|
+
if (!(message === null)) {
|
|
3729
|
+
var tmp1_elvis_lhs = cause == null ? null : cause.toString();
|
|
3730
|
+
tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
|
|
3731
|
+
} else {
|
|
3732
|
+
tmp_0 = VOID;
|
|
3733
|
+
}
|
|
3734
|
+
tmp = tmp_0;
|
|
3735
|
+
} else {
|
|
3736
|
+
tmp = message;
|
|
3737
|
+
}
|
|
3738
|
+
this_.message = tmp;
|
|
3739
|
+
}
|
|
3740
|
+
if ((errorInfo & 2) === 0) {
|
|
3741
|
+
this_.cause = cause;
|
|
3742
|
+
}
|
|
3743
|
+
this_.name = Object.getPrototypeOf(this_).constructor.name;
|
|
3744
|
+
}
|
|
3745
|
+
function ensureNotNull(v) {
|
|
3746
|
+
var tmp;
|
|
3747
|
+
if (v == null) {
|
|
3748
|
+
THROW_NPE();
|
|
3749
|
+
} else {
|
|
3750
|
+
tmp = v;
|
|
3751
|
+
}
|
|
3752
|
+
return tmp;
|
|
3753
|
+
}
|
|
3754
|
+
function THROW_NPE() {
|
|
3755
|
+
throw NullPointerException_init_$Create$();
|
|
3756
|
+
}
|
|
3757
|
+
function noWhenBranchMatchedException() {
|
|
3758
|
+
throw NoWhenBranchMatchedException_init_$Create$();
|
|
3759
|
+
}
|
|
3760
|
+
function THROW_CCE() {
|
|
3761
|
+
throw ClassCastException_init_$Create$();
|
|
3762
|
+
}
|
|
3763
|
+
function throwUninitializedPropertyAccessException(name) {
|
|
3764
|
+
throw UninitializedPropertyAccessException_init_$Create$('lateinit property ' + name + ' has not been initialized');
|
|
3765
|
+
}
|
|
3766
|
+
function THROW_ISE() {
|
|
3767
|
+
throw IllegalStateException_init_$Create$();
|
|
3768
|
+
}
|
|
3769
|
+
function fillFrom(src, dst) {
|
|
3770
|
+
var srcLen = src.length;
|
|
3771
|
+
var dstLen = dst.length;
|
|
3772
|
+
var index = 0;
|
|
3773
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
3774
|
+
var arr = dst;
|
|
3775
|
+
while (index < srcLen ? index < dstLen : false) {
|
|
3776
|
+
var tmp = index;
|
|
3777
|
+
var tmp0 = index;
|
|
3778
|
+
index = tmp0 + 1 | 0;
|
|
3779
|
+
arr[tmp] = src[tmp0];
|
|
3780
|
+
}
|
|
3781
|
+
return dst;
|
|
3782
|
+
}
|
|
3783
|
+
function Companion_10() {
|
|
3784
|
+
Companion_instance_10 = this;
|
|
3785
|
+
this.t8_1 = new Long(0, -2147483648);
|
|
3786
|
+
this.u8_1 = new Long(-1, 2147483647);
|
|
3787
|
+
this.v8_1 = 8;
|
|
3788
|
+
this.w8_1 = 64;
|
|
3789
|
+
}
|
|
3790
|
+
var Companion_instance_10;
|
|
3791
|
+
function Companion_getInstance_10() {
|
|
3792
|
+
if (Companion_instance_10 == null)
|
|
3793
|
+
new Companion_10();
|
|
3794
|
+
return Companion_instance_10;
|
|
3795
|
+
}
|
|
3796
|
+
function Long(low, high) {
|
|
3797
|
+
Companion_getInstance_10();
|
|
3798
|
+
Number_0.call(this);
|
|
3799
|
+
this.r2_1 = low;
|
|
3800
|
+
this.s2_1 = high;
|
|
3801
|
+
}
|
|
3802
|
+
protoOf(Long).v2 = function (other) {
|
|
3803
|
+
return compare(this, other);
|
|
3804
|
+
};
|
|
3805
|
+
protoOf(Long).i8 = function (other) {
|
|
3806
|
+
return this.v2(other instanceof Long ? other : THROW_CCE());
|
|
3807
|
+
};
|
|
3808
|
+
protoOf(Long).x2 = function (other) {
|
|
3809
|
+
return add(this, other);
|
|
3810
|
+
};
|
|
3811
|
+
protoOf(Long).y2 = function (other) {
|
|
3812
|
+
return subtract(this, other);
|
|
3813
|
+
};
|
|
3814
|
+
protoOf(Long).w2 = function (other) {
|
|
3815
|
+
return multiply(this, other);
|
|
3816
|
+
};
|
|
3817
|
+
protoOf(Long).u2 = function (other) {
|
|
3818
|
+
return divide(this, other);
|
|
3819
|
+
};
|
|
3820
|
+
protoOf(Long).t2 = function () {
|
|
3821
|
+
return this.x8().x2(new Long(1, 0));
|
|
3822
|
+
};
|
|
3823
|
+
protoOf(Long).x8 = function () {
|
|
3824
|
+
return new Long(~this.r2_1, ~this.s2_1);
|
|
3825
|
+
};
|
|
3826
|
+
protoOf(Long).y8 = function () {
|
|
3827
|
+
return this.r2_1;
|
|
3828
|
+
};
|
|
3829
|
+
protoOf(Long).s8 = function () {
|
|
3830
|
+
return toNumber(this);
|
|
3831
|
+
};
|
|
3832
|
+
protoOf(Long).valueOf = function () {
|
|
3833
|
+
return this.s8();
|
|
3834
|
+
};
|
|
3835
|
+
protoOf(Long).equals = function (other) {
|
|
3836
|
+
var tmp;
|
|
3837
|
+
if (other instanceof Long) {
|
|
3838
|
+
tmp = equalsLong(this, other);
|
|
3839
|
+
} else {
|
|
3840
|
+
tmp = false;
|
|
3841
|
+
}
|
|
3842
|
+
return tmp;
|
|
3843
|
+
};
|
|
3844
|
+
protoOf(Long).hashCode = function () {
|
|
3845
|
+
return hashCode_0(this);
|
|
3846
|
+
};
|
|
3847
|
+
protoOf(Long).toString = function () {
|
|
3848
|
+
return toStringImpl(this, 10);
|
|
3849
|
+
};
|
|
3850
|
+
function get_ZERO() {
|
|
3851
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3852
|
+
return ZERO;
|
|
3853
|
+
}
|
|
3854
|
+
var ZERO;
|
|
3855
|
+
function get_ONE() {
|
|
3856
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3857
|
+
return ONE;
|
|
3858
|
+
}
|
|
3859
|
+
var ONE;
|
|
3860
|
+
function get_NEG_ONE() {
|
|
3861
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3862
|
+
return NEG_ONE;
|
|
3863
|
+
}
|
|
3864
|
+
var NEG_ONE;
|
|
3865
|
+
function get_MAX_VALUE() {
|
|
3866
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3867
|
+
return MAX_VALUE;
|
|
3868
|
+
}
|
|
3869
|
+
var MAX_VALUE;
|
|
3870
|
+
function get_MIN_VALUE() {
|
|
3871
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3872
|
+
return MIN_VALUE;
|
|
3873
|
+
}
|
|
3874
|
+
var MIN_VALUE;
|
|
3875
|
+
function get_TWO_PWR_24_() {
|
|
3876
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3877
|
+
return TWO_PWR_24_;
|
|
3878
|
+
}
|
|
3879
|
+
var TWO_PWR_24_;
|
|
3880
|
+
function compare(_this__u8e3s4, other) {
|
|
3881
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3882
|
+
if (equalsLong(_this__u8e3s4, other)) {
|
|
3883
|
+
return 0;
|
|
3884
|
+
}
|
|
3885
|
+
var thisNeg = isNegative(_this__u8e3s4);
|
|
3886
|
+
var otherNeg = isNegative(other);
|
|
3887
|
+
return (thisNeg ? !otherNeg : false) ? -1 : (!thisNeg ? otherNeg : false) ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1;
|
|
3888
|
+
}
|
|
3889
|
+
function add(_this__u8e3s4, other) {
|
|
3890
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3891
|
+
var a48 = _this__u8e3s4.s2_1 >>> 16 | 0;
|
|
3892
|
+
var a32 = _this__u8e3s4.s2_1 & 65535;
|
|
3893
|
+
var a16 = _this__u8e3s4.r2_1 >>> 16 | 0;
|
|
3894
|
+
var a00 = _this__u8e3s4.r2_1 & 65535;
|
|
3895
|
+
var b48 = other.s2_1 >>> 16 | 0;
|
|
3896
|
+
var b32 = other.s2_1 & 65535;
|
|
3897
|
+
var b16 = other.r2_1 >>> 16 | 0;
|
|
3898
|
+
var b00 = other.r2_1 & 65535;
|
|
3899
|
+
var c48 = 0;
|
|
3900
|
+
var c32 = 0;
|
|
3901
|
+
var c16 = 0;
|
|
3902
|
+
var c00 = 0;
|
|
3903
|
+
c00 = c00 + (a00 + b00 | 0) | 0;
|
|
3904
|
+
c16 = c16 + (c00 >>> 16 | 0) | 0;
|
|
3905
|
+
c00 = c00 & 65535;
|
|
3906
|
+
c16 = c16 + (a16 + b16 | 0) | 0;
|
|
3907
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3908
|
+
c16 = c16 & 65535;
|
|
3909
|
+
c32 = c32 + (a32 + b32 | 0) | 0;
|
|
3910
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3911
|
+
c32 = c32 & 65535;
|
|
3912
|
+
c48 = c48 + (a48 + b48 | 0) | 0;
|
|
3913
|
+
c48 = c48 & 65535;
|
|
3914
|
+
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
3915
|
+
}
|
|
3916
|
+
function subtract(_this__u8e3s4, other) {
|
|
3917
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3918
|
+
return add(_this__u8e3s4, other.t2());
|
|
3919
|
+
}
|
|
3920
|
+
function multiply(_this__u8e3s4, other) {
|
|
3921
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3922
|
+
if (isZero(_this__u8e3s4)) {
|
|
3923
|
+
return get_ZERO();
|
|
3924
|
+
} else if (isZero(other)) {
|
|
3925
|
+
return get_ZERO();
|
|
3926
|
+
}
|
|
3927
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3928
|
+
return isOdd(other) ? get_MIN_VALUE() : get_ZERO();
|
|
3929
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
3930
|
+
return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO();
|
|
3931
|
+
}
|
|
3932
|
+
if (isNegative(_this__u8e3s4)) {
|
|
3933
|
+
var tmp;
|
|
3934
|
+
if (isNegative(other)) {
|
|
3935
|
+
tmp = multiply(negate(_this__u8e3s4), negate(other));
|
|
3936
|
+
} else {
|
|
3937
|
+
tmp = negate(multiply(negate(_this__u8e3s4), other));
|
|
3938
|
+
}
|
|
3939
|
+
return tmp;
|
|
3940
|
+
} else if (isNegative(other)) {
|
|
3941
|
+
return negate(multiply(_this__u8e3s4, negate(other)));
|
|
3942
|
+
}
|
|
3943
|
+
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) ? lessThan(other, get_TWO_PWR_24_()) : false) {
|
|
3944
|
+
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
|
|
3945
|
+
}
|
|
3946
|
+
var a48 = _this__u8e3s4.s2_1 >>> 16 | 0;
|
|
3947
|
+
var a32 = _this__u8e3s4.s2_1 & 65535;
|
|
3948
|
+
var a16 = _this__u8e3s4.r2_1 >>> 16 | 0;
|
|
3949
|
+
var a00 = _this__u8e3s4.r2_1 & 65535;
|
|
3950
|
+
var b48 = other.s2_1 >>> 16 | 0;
|
|
3951
|
+
var b32 = other.s2_1 & 65535;
|
|
3952
|
+
var b16 = other.r2_1 >>> 16 | 0;
|
|
3953
|
+
var b00 = other.r2_1 & 65535;
|
|
3954
|
+
var c48 = 0;
|
|
3955
|
+
var c32 = 0;
|
|
3956
|
+
var c16 = 0;
|
|
3957
|
+
var c00 = 0;
|
|
3958
|
+
c00 = c00 + imul(a00, b00) | 0;
|
|
3959
|
+
c16 = c16 + (c00 >>> 16 | 0) | 0;
|
|
3960
|
+
c00 = c00 & 65535;
|
|
3961
|
+
c16 = c16 + imul(a16, b00) | 0;
|
|
3962
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3963
|
+
c16 = c16 & 65535;
|
|
3964
|
+
c16 = c16 + imul(a00, b16) | 0;
|
|
3965
|
+
c32 = c32 + (c16 >>> 16 | 0) | 0;
|
|
3966
|
+
c16 = c16 & 65535;
|
|
3967
|
+
c32 = c32 + imul(a32, b00) | 0;
|
|
3968
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3969
|
+
c32 = c32 & 65535;
|
|
3970
|
+
c32 = c32 + imul(a16, b16) | 0;
|
|
3971
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3972
|
+
c32 = c32 & 65535;
|
|
3973
|
+
c32 = c32 + imul(a00, b32) | 0;
|
|
3974
|
+
c48 = c48 + (c32 >>> 16 | 0) | 0;
|
|
3975
|
+
c32 = c32 & 65535;
|
|
3976
|
+
c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0;
|
|
3977
|
+
c48 = c48 & 65535;
|
|
3978
|
+
return new Long(c16 << 16 | c00, c48 << 16 | c32);
|
|
3979
|
+
}
|
|
3980
|
+
function divide(_this__u8e3s4, other) {
|
|
3981
|
+
_init_properties_longjs_kt__tqrzid();
|
|
3982
|
+
if (isZero(other)) {
|
|
3983
|
+
throw Exception_init_$Create$('division by zero');
|
|
3984
|
+
} else if (isZero(_this__u8e3s4)) {
|
|
3985
|
+
return get_ZERO();
|
|
3986
|
+
}
|
|
3987
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
3988
|
+
if (equalsLong(other, get_ONE()) ? true : equalsLong(other, get_NEG_ONE())) {
|
|
3989
|
+
return get_MIN_VALUE();
|
|
3990
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
3991
|
+
return get_ONE();
|
|
3992
|
+
} else {
|
|
3993
|
+
var halfThis = shiftRight(_this__u8e3s4, 1);
|
|
3994
|
+
var approx = shiftLeft(halfThis.u2(other), 1);
|
|
3995
|
+
if (equalsLong(approx, get_ZERO())) {
|
|
3996
|
+
return isNegative(other) ? get_ONE() : get_NEG_ONE();
|
|
3997
|
+
} else {
|
|
3998
|
+
var rem = subtract(_this__u8e3s4, multiply(other, approx));
|
|
3999
|
+
return add(approx, rem.u2(other));
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
} else if (equalsLong(other, get_MIN_VALUE())) {
|
|
4003
|
+
return get_ZERO();
|
|
4004
|
+
}
|
|
4005
|
+
if (isNegative(_this__u8e3s4)) {
|
|
4006
|
+
var tmp;
|
|
4007
|
+
if (isNegative(other)) {
|
|
4008
|
+
tmp = negate(_this__u8e3s4).u2(negate(other));
|
|
4009
|
+
} else {
|
|
4010
|
+
tmp = negate(negate(_this__u8e3s4).u2(other));
|
|
4011
|
+
}
|
|
4012
|
+
return tmp;
|
|
4013
|
+
} else if (isNegative(other)) {
|
|
4014
|
+
return negate(_this__u8e3s4.u2(negate(other)));
|
|
4015
|
+
}
|
|
4016
|
+
var res = get_ZERO();
|
|
4017
|
+
var rem_0 = _this__u8e3s4;
|
|
4018
|
+
while (greaterThanOrEqual(rem_0, other)) {
|
|
4019
|
+
var approxDouble = toNumber(rem_0) / toNumber(other);
|
|
4020
|
+
var approx2 = Math.max(1.0, Math.floor(approxDouble));
|
|
4021
|
+
var log2 = Math.ceil(Math.log(approx2) / Math.LN2);
|
|
4022
|
+
var delta = log2 <= 48.0 ? 1.0 : Math.pow(2.0, log2 - 48);
|
|
4023
|
+
var approxRes = fromNumber(approx2);
|
|
4024
|
+
var approxRem = multiply(approxRes, other);
|
|
4025
|
+
while (isNegative(approxRem) ? true : greaterThan(approxRem, rem_0)) {
|
|
4026
|
+
approx2 = approx2 - delta;
|
|
4027
|
+
approxRes = fromNumber(approx2);
|
|
4028
|
+
approxRem = multiply(approxRes, other);
|
|
4029
|
+
}
|
|
4030
|
+
if (isZero(approxRes)) {
|
|
4031
|
+
approxRes = get_ONE();
|
|
4032
|
+
}
|
|
4033
|
+
res = add(res, approxRes);
|
|
4034
|
+
rem_0 = subtract(rem_0, approxRem);
|
|
4035
|
+
}
|
|
4036
|
+
return res;
|
|
4037
|
+
}
|
|
4038
|
+
function shiftLeft(_this__u8e3s4, numBits) {
|
|
4039
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4040
|
+
var numBits_0 = numBits & 63;
|
|
4041
|
+
if (numBits_0 === 0) {
|
|
4042
|
+
return _this__u8e3s4;
|
|
4043
|
+
} else {
|
|
4044
|
+
if (numBits_0 < 32) {
|
|
4045
|
+
return new Long(_this__u8e3s4.r2_1 << numBits_0, _this__u8e3s4.s2_1 << numBits_0 | (_this__u8e3s4.r2_1 >>> (32 - numBits_0 | 0) | 0));
|
|
4046
|
+
} else {
|
|
4047
|
+
return new Long(0, _this__u8e3s4.r2_1 << (numBits_0 - 32 | 0));
|
|
4048
|
+
}
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
function shiftRight(_this__u8e3s4, numBits) {
|
|
4052
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4053
|
+
var numBits_0 = numBits & 63;
|
|
4054
|
+
if (numBits_0 === 0) {
|
|
4055
|
+
return _this__u8e3s4;
|
|
4056
|
+
} else {
|
|
4057
|
+
if (numBits_0 < 32) {
|
|
4058
|
+
return new Long(_this__u8e3s4.r2_1 >>> numBits_0 | 0 | _this__u8e3s4.s2_1 << (32 - numBits_0 | 0), _this__u8e3s4.s2_1 >> numBits_0);
|
|
4059
|
+
} else {
|
|
4060
|
+
return new Long(_this__u8e3s4.s2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.s2_1 >= 0 ? 0 : -1);
|
|
4061
|
+
}
|
|
4062
|
+
}
|
|
4063
|
+
}
|
|
4064
|
+
function toNumber(_this__u8e3s4) {
|
|
4065
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4066
|
+
return _this__u8e3s4.s2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
|
|
4067
|
+
}
|
|
4068
|
+
function equalsLong(_this__u8e3s4, other) {
|
|
4069
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4070
|
+
return _this__u8e3s4.s2_1 === other.s2_1 ? _this__u8e3s4.r2_1 === other.r2_1 : false;
|
|
4071
|
+
}
|
|
4072
|
+
function hashCode_0(l) {
|
|
4073
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4074
|
+
return l.r2_1 ^ l.s2_1;
|
|
4075
|
+
}
|
|
4076
|
+
function toStringImpl(_this__u8e3s4, radix) {
|
|
4077
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4078
|
+
if (radix < 2 ? true : 36 < radix) {
|
|
4079
|
+
throw Exception_init_$Create$('radix out of range: ' + radix);
|
|
4080
|
+
}
|
|
4081
|
+
if (isZero(_this__u8e3s4)) {
|
|
4082
|
+
return '0';
|
|
4083
|
+
}
|
|
4084
|
+
if (isNegative(_this__u8e3s4)) {
|
|
4085
|
+
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
|
|
4086
|
+
var radixLong = fromInt(radix);
|
|
4087
|
+
var div = _this__u8e3s4.u2(radixLong);
|
|
4088
|
+
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).y8();
|
|
4089
|
+
var tmp = toStringImpl(div, radix);
|
|
4090
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4091
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4092
|
+
return tmp + rem.toString(radix);
|
|
4093
|
+
} else {
|
|
4094
|
+
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
|
|
4098
|
+
var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
|
|
4099
|
+
var rem_0 = _this__u8e3s4;
|
|
4100
|
+
var result = '';
|
|
4101
|
+
while (true) {
|
|
4102
|
+
var remDiv = rem_0.u2(radixToPower);
|
|
4103
|
+
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).y8();
|
|
4104
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4105
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4106
|
+
var digits = intval.toString(radix);
|
|
4107
|
+
rem_0 = remDiv;
|
|
4108
|
+
if (isZero(rem_0)) {
|
|
4109
|
+
return digits + result;
|
|
4110
|
+
} else {
|
|
4111
|
+
while (digits.length < digitsPerTime) {
|
|
4112
|
+
digits = '0' + digits;
|
|
4113
|
+
}
|
|
4114
|
+
result = digits + result;
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
}
|
|
4118
|
+
function fromInt(value) {
|
|
4119
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4120
|
+
return new Long(value, value < 0 ? -1 : 0);
|
|
4121
|
+
}
|
|
4122
|
+
function isNegative(_this__u8e3s4) {
|
|
4123
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4124
|
+
return _this__u8e3s4.s2_1 < 0;
|
|
4125
|
+
}
|
|
4126
|
+
function isZero(_this__u8e3s4) {
|
|
4127
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4128
|
+
return _this__u8e3s4.s2_1 === 0 ? _this__u8e3s4.r2_1 === 0 : false;
|
|
4129
|
+
}
|
|
4130
|
+
function isOdd(_this__u8e3s4) {
|
|
4131
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4132
|
+
return (_this__u8e3s4.r2_1 & 1) === 1;
|
|
4133
|
+
}
|
|
4134
|
+
function negate(_this__u8e3s4) {
|
|
4135
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4136
|
+
return _this__u8e3s4.t2();
|
|
4137
|
+
}
|
|
4138
|
+
function lessThan(_this__u8e3s4, other) {
|
|
4139
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4140
|
+
return compare(_this__u8e3s4, other) < 0;
|
|
4141
|
+
}
|
|
4142
|
+
function fromNumber(value) {
|
|
4143
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4144
|
+
if (isNaN_0(value)) {
|
|
4145
|
+
return get_ZERO();
|
|
4146
|
+
} else if (value <= -9.223372036854776E18) {
|
|
4147
|
+
return get_MIN_VALUE();
|
|
4148
|
+
} else if (value + 1 >= 9.223372036854776E18) {
|
|
4149
|
+
return get_MAX_VALUE();
|
|
4150
|
+
} else if (value < 0.0) {
|
|
4151
|
+
return negate(fromNumber(-value));
|
|
4152
|
+
} else {
|
|
4153
|
+
var twoPwr32 = 4.294967296E9;
|
|
4154
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4155
|
+
var tmp = value % twoPwr32 | 0;
|
|
4156
|
+
var tmp$ret$1;
|
|
4157
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4158
|
+
tmp$ret$1 = value / twoPwr32 | 0;
|
|
4159
|
+
return new Long(tmp, tmp$ret$1);
|
|
4160
|
+
}
|
|
4161
|
+
}
|
|
4162
|
+
function greaterThan(_this__u8e3s4, other) {
|
|
4163
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4164
|
+
return compare(_this__u8e3s4, other) > 0;
|
|
4165
|
+
}
|
|
4166
|
+
function greaterThanOrEqual(_this__u8e3s4, other) {
|
|
4167
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4168
|
+
return compare(_this__u8e3s4, other) >= 0;
|
|
4169
|
+
}
|
|
4170
|
+
function getLowBitsUnsigned(_this__u8e3s4) {
|
|
4171
|
+
_init_properties_longjs_kt__tqrzid();
|
|
4172
|
+
return _this__u8e3s4.r2_1 >= 0 ? _this__u8e3s4.r2_1 : 4.294967296E9 + _this__u8e3s4.r2_1;
|
|
4173
|
+
}
|
|
4174
|
+
var properties_initialized_longjs_kt_5aju7t;
|
|
4175
|
+
function _init_properties_longjs_kt__tqrzid() {
|
|
4176
|
+
if (!properties_initialized_longjs_kt_5aju7t) {
|
|
4177
|
+
properties_initialized_longjs_kt_5aju7t = true;
|
|
4178
|
+
ZERO = fromInt(0);
|
|
4179
|
+
ONE = fromInt(1);
|
|
4180
|
+
NEG_ONE = fromInt(-1);
|
|
4181
|
+
MAX_VALUE = new Long(-1, 2147483647);
|
|
4182
|
+
MIN_VALUE = new Long(0, -2147483648);
|
|
4183
|
+
TWO_PWR_24_ = fromInt(16777216);
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4186
|
+
function primitiveArrayConcat(args) {
|
|
4187
|
+
var size_local = 0;
|
|
4188
|
+
var inductionVariable = 0;
|
|
4189
|
+
var last = args.length - 1 | 0;
|
|
4190
|
+
if (inductionVariable <= last)
|
|
4191
|
+
do {
|
|
4192
|
+
var i = inductionVariable;
|
|
4193
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
4194
|
+
var tmp = size_local;
|
|
4195
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4196
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4197
|
+
size_local = tmp + args[i].length | 0;
|
|
4198
|
+
}
|
|
4199
|
+
while (!(i === last));
|
|
4200
|
+
var a = args[0];
|
|
4201
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4202
|
+
var result = new a.constructor(size_local);
|
|
4203
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4204
|
+
if (a.$type$ != null) {
|
|
4205
|
+
// Inline function 'withType' call
|
|
4206
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4207
|
+
result.$type$ = a.$type$;
|
|
4208
|
+
}
|
|
4209
|
+
size_local = 0;
|
|
4210
|
+
var inductionVariable_0 = 0;
|
|
4211
|
+
var last_0 = args.length - 1 | 0;
|
|
4212
|
+
if (inductionVariable_0 <= last_0)
|
|
4213
|
+
do {
|
|
4214
|
+
var i_0 = inductionVariable_0;
|
|
4215
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
4216
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4217
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4218
|
+
var arr = args[i_0];
|
|
4219
|
+
var inductionVariable_1 = 0;
|
|
4220
|
+
var last_1 = arr.length - 1 | 0;
|
|
4221
|
+
if (inductionVariable_1 <= last_1)
|
|
4222
|
+
do {
|
|
4223
|
+
var j = inductionVariable_1;
|
|
4224
|
+
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
4225
|
+
var tmp3 = size_local;
|
|
4226
|
+
size_local = tmp3 + 1 | 0;
|
|
4227
|
+
result[tmp3] = arr[j];
|
|
4228
|
+
}
|
|
4229
|
+
while (!(j === last_1));
|
|
4230
|
+
}
|
|
4231
|
+
while (!(i_0 === last_0));
|
|
4232
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4233
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4234
|
+
return result;
|
|
4235
|
+
}
|
|
4236
|
+
function toByte(a) {
|
|
4237
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4238
|
+
return a << 24 >> 24;
|
|
4239
|
+
}
|
|
4240
|
+
function numberToInt(a) {
|
|
4241
|
+
var tmp;
|
|
4242
|
+
if (a instanceof Long) {
|
|
4243
|
+
tmp = a.y8();
|
|
4244
|
+
} else {
|
|
4245
|
+
tmp = doubleToInt(a);
|
|
4246
|
+
}
|
|
4247
|
+
return tmp;
|
|
4248
|
+
}
|
|
4249
|
+
function doubleToInt(a) {
|
|
4250
|
+
var tmp;
|
|
4251
|
+
if (a > 2.147483647E9) {
|
|
4252
|
+
tmp = 2147483647;
|
|
4253
|
+
} else if (a < -2.147483648E9) {
|
|
4254
|
+
tmp = -2147483648;
|
|
4255
|
+
} else {
|
|
4256
|
+
// Inline function 'kotlin.js.jsBitwiseOr' call
|
|
4257
|
+
tmp = a | 0;
|
|
4258
|
+
}
|
|
4259
|
+
return tmp;
|
|
4260
|
+
}
|
|
4261
|
+
function toShort(a) {
|
|
4262
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4263
|
+
return a << 16 >> 16;
|
|
4264
|
+
}
|
|
4265
|
+
function numberToChar(a) {
|
|
4266
|
+
var tmp$ret$0;
|
|
4267
|
+
// Inline function 'kotlin.toUShort' call
|
|
4268
|
+
var tmp0_toUShort = numberToInt(a);
|
|
4269
|
+
tmp$ret$0 = _UShort___init__impl__jigrne(toShort(tmp0_toUShort));
|
|
4270
|
+
return _Char___init__impl__6a9atx_0(tmp$ret$0);
|
|
4271
|
+
}
|
|
4272
|
+
function toLong_0(a) {
|
|
4273
|
+
return fromInt(a);
|
|
4274
|
+
}
|
|
4275
|
+
function numberRangeToNumber(start, endInclusive) {
|
|
4276
|
+
return new IntRange(start, endInclusive);
|
|
4277
|
+
}
|
|
4278
|
+
function classMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4279
|
+
return createMetadata('class', name, associatedObjectKey, associatedObjects, suspendArity, null);
|
|
4280
|
+
}
|
|
4281
|
+
function createMetadata(kind, name, associatedObjectKey, associatedObjects, suspendArity, iid) {
|
|
4282
|
+
var undef = VOID;
|
|
4283
|
+
return {kind: kind, simpleName: name, associatedObjectKey: associatedObjectKey, associatedObjects: associatedObjects, suspendArity: suspendArity, $kClass$: undef, iid: iid};
|
|
4284
|
+
}
|
|
4285
|
+
function isArrayish(o) {
|
|
4286
|
+
return isJsArray(o) ? true : isView(o);
|
|
4287
|
+
}
|
|
4288
|
+
function isJsArray(obj) {
|
|
4289
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4290
|
+
return Array.isArray(obj);
|
|
4291
|
+
}
|
|
4292
|
+
function setMetadataFor(ctor, name, metadataConstructor, parent, interfaces, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4293
|
+
if (!(parent == null)) {
|
|
4294
|
+
ctor.prototype = Object.create(parent.prototype);
|
|
4295
|
+
ctor.prototype.constructor = ctor;
|
|
4296
|
+
}
|
|
4297
|
+
var metadata = metadataConstructor(name, associatedObjectKey, associatedObjects, suspendArity == null ? [] : suspendArity);
|
|
4298
|
+
ctor.$metadata$ = metadata;
|
|
4299
|
+
if (!(interfaces == null)) {
|
|
4300
|
+
var receiver = !(metadata.iid == null) ? ctor : ctor.prototype;
|
|
4301
|
+
receiver.$imask$ = implement(interfaces);
|
|
4302
|
+
}
|
|
4303
|
+
}
|
|
4304
|
+
function isInterface(obj, iface) {
|
|
4305
|
+
return isInterfaceImpl(obj, iface.$metadata$.iid);
|
|
4306
|
+
}
|
|
4307
|
+
function isInterfaceImpl(obj, iface) {
|
|
4308
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4309
|
+
var tmp0_elvis_lhs = obj.$imask$;
|
|
4310
|
+
var tmp;
|
|
4311
|
+
if (tmp0_elvis_lhs == null) {
|
|
4312
|
+
return false;
|
|
4313
|
+
} else {
|
|
4314
|
+
tmp = tmp0_elvis_lhs;
|
|
4315
|
+
}
|
|
4316
|
+
var mask = tmp;
|
|
4317
|
+
return isBitSet(mask, iface);
|
|
4318
|
+
}
|
|
4319
|
+
function isArray(obj) {
|
|
4320
|
+
var tmp;
|
|
4321
|
+
if (isJsArray(obj)) {
|
|
4322
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4323
|
+
tmp = !obj.$type$;
|
|
4324
|
+
} else {
|
|
4325
|
+
tmp = false;
|
|
4326
|
+
}
|
|
4327
|
+
return tmp;
|
|
4328
|
+
}
|
|
4329
|
+
function isObject(obj) {
|
|
4330
|
+
var objTypeOf = typeof obj;
|
|
4331
|
+
var tmp;
|
|
4332
|
+
switch (objTypeOf) {
|
|
4333
|
+
case 'string':
|
|
4334
|
+
tmp = true;
|
|
4335
|
+
break;
|
|
4336
|
+
case 'number':
|
|
4337
|
+
tmp = true;
|
|
4338
|
+
break;
|
|
4339
|
+
case 'boolean':
|
|
4340
|
+
tmp = true;
|
|
4341
|
+
break;
|
|
4342
|
+
case 'function':
|
|
4343
|
+
tmp = true;
|
|
4344
|
+
break;
|
|
4345
|
+
default:
|
|
4346
|
+
// Inline function 'kotlin.js.jsInstanceOf' call
|
|
4347
|
+
|
|
4348
|
+
tmp = obj instanceof Object;
|
|
4349
|
+
break;
|
|
4350
|
+
}
|
|
4351
|
+
return tmp;
|
|
4352
|
+
}
|
|
4353
|
+
function isCharSequence(value) {
|
|
4354
|
+
return typeof value === 'string' ? true : isInterface(value, CharSequence);
|
|
4355
|
+
}
|
|
4356
|
+
function interfaceMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4357
|
+
return createMetadata('interface', name, associatedObjectKey, associatedObjects, suspendArity, generateInterfaceId());
|
|
4358
|
+
}
|
|
4359
|
+
function generateInterfaceId() {
|
|
4360
|
+
if (!!(iid == null)) {
|
|
4361
|
+
iid = 0;
|
|
4362
|
+
}
|
|
4363
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4364
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4365
|
+
iid = get_iid() + 1 | 0;
|
|
4366
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4367
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4368
|
+
return get_iid();
|
|
4369
|
+
}
|
|
4370
|
+
function get_iid() {
|
|
4371
|
+
var tmp = iid;
|
|
4372
|
+
if (!(tmp == null))
|
|
4373
|
+
return tmp;
|
|
4374
|
+
else {
|
|
4375
|
+
throwUninitializedPropertyAccessException('iid');
|
|
4376
|
+
}
|
|
4377
|
+
}
|
|
4378
|
+
var iid;
|
|
4379
|
+
function objectMeta(name, associatedObjectKey, associatedObjects, suspendArity) {
|
|
4380
|
+
return createMetadata('object', name, associatedObjectKey, associatedObjects, suspendArity, null);
|
|
4381
|
+
}
|
|
4382
|
+
function calculateErrorInfo(proto) {
|
|
4383
|
+
var tmp0_safe_receiver = proto.constructor;
|
|
4384
|
+
var metadata = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.$metadata$;
|
|
4385
|
+
var tmp2_safe_receiver = metadata == null ? null : metadata.errorInfo;
|
|
4386
|
+
if (tmp2_safe_receiver == null)
|
|
4387
|
+
null;
|
|
4388
|
+
else {
|
|
4389
|
+
// Inline function 'kotlin.let' call
|
|
4390
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4391
|
+
return tmp2_safe_receiver;
|
|
4392
|
+
}
|
|
4393
|
+
var result = 0;
|
|
4394
|
+
if (hasProp(proto, 'message'))
|
|
4395
|
+
result = result | 1;
|
|
4396
|
+
if (hasProp(proto, 'cause'))
|
|
4397
|
+
result = result | 2;
|
|
4398
|
+
if (!(result === 3)) {
|
|
4399
|
+
var parentProto = getPrototypeOf(proto);
|
|
4400
|
+
if (parentProto != Error.prototype) {
|
|
4401
|
+
result = result | calculateErrorInfo(parentProto);
|
|
4402
|
+
}
|
|
4403
|
+
}
|
|
4404
|
+
if (!(metadata == null)) {
|
|
4405
|
+
metadata.errorInfo = result;
|
|
4406
|
+
}
|
|
4407
|
+
return result;
|
|
4408
|
+
}
|
|
4409
|
+
function hasProp(proto, propName) {
|
|
4410
|
+
return proto.hasOwnProperty(propName);
|
|
4411
|
+
}
|
|
4412
|
+
function getPrototypeOf(obj) {
|
|
4413
|
+
return Object.getPrototypeOf(obj);
|
|
4414
|
+
}
|
|
4415
|
+
function get_VOID() {
|
|
4416
|
+
_init_properties_void_kt__3zg9as();
|
|
4417
|
+
return VOID;
|
|
4418
|
+
}
|
|
4419
|
+
var VOID;
|
|
4420
|
+
var properties_initialized_void_kt_e4ret2;
|
|
4421
|
+
function _init_properties_void_kt__3zg9as() {
|
|
4422
|
+
if (!properties_initialized_void_kt_e4ret2) {
|
|
4423
|
+
properties_initialized_void_kt_e4ret2 = true;
|
|
4424
|
+
VOID = void 0;
|
|
4425
|
+
}
|
|
4426
|
+
}
|
|
4427
|
+
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
|
|
4428
|
+
Companion_getInstance().r(fromIndex, toIndex, _this__u8e3s4.length);
|
|
4429
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4430
|
+
return _this__u8e3s4.slice(fromIndex, toIndex);
|
|
4431
|
+
}
|
|
4432
|
+
function contentEquals(_this__u8e3s4, other) {
|
|
4433
|
+
return contentEqualsInternal(_this__u8e3s4, other);
|
|
4434
|
+
}
|
|
4435
|
+
function toTypedArray(_this__u8e3s4) {
|
|
4436
|
+
return [].slice.call(_this__u8e3s4);
|
|
4437
|
+
}
|
|
4438
|
+
function copyOf(_this__u8e3s4, newSize) {
|
|
4439
|
+
// Inline function 'kotlin.require' call
|
|
4440
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
4441
|
+
if (!(newSize >= 0)) {
|
|
4442
|
+
// Inline function 'kotlin.collections.copyOf.<anonymous>' call
|
|
4443
|
+
var message = 'Invalid new array size: ' + newSize + '.';
|
|
4444
|
+
throw IllegalArgumentException_init_$Create$(toString_4(message));
|
|
4445
|
+
}
|
|
4446
|
+
return fillFrom(_this__u8e3s4, new Int8Array(newSize));
|
|
4447
|
+
}
|
|
4448
|
+
function digitToIntImpl(_this__u8e3s4) {
|
|
4449
|
+
// Inline function 'kotlin.code' call
|
|
4450
|
+
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
4451
|
+
var index = binarySearchRange(Digit_getInstance().z8_1, ch);
|
|
4452
|
+
var diff = ch - Digit_getInstance().z8_1[index] | 0;
|
|
4453
|
+
return diff < 10 ? diff : -1;
|
|
4454
|
+
}
|
|
4455
|
+
function binarySearchRange(array, needle) {
|
|
4456
|
+
var bottom = 0;
|
|
4457
|
+
var top = array.length - 1 | 0;
|
|
4458
|
+
var middle = -1;
|
|
4459
|
+
var value = 0;
|
|
4460
|
+
while (bottom <= top) {
|
|
4461
|
+
middle = (bottom + top | 0) / 2 | 0;
|
|
4462
|
+
value = array[middle];
|
|
4463
|
+
if (needle > value)
|
|
4464
|
+
bottom = middle + 1 | 0;
|
|
4465
|
+
else if (needle === value)
|
|
4466
|
+
return middle;
|
|
4467
|
+
else
|
|
4468
|
+
top = middle - 1 | 0;
|
|
4469
|
+
}
|
|
4470
|
+
return middle - (needle < value ? 1 : 0) | 0;
|
|
4471
|
+
}
|
|
4472
|
+
function Digit() {
|
|
4473
|
+
Digit_instance = this;
|
|
4474
|
+
var tmp = this;
|
|
4475
|
+
// Inline function 'kotlin.intArrayOf' call
|
|
4476
|
+
tmp.z8_1 = new Int32Array([48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296]);
|
|
4477
|
+
}
|
|
4478
|
+
var Digit_instance;
|
|
4479
|
+
function Digit_getInstance() {
|
|
4480
|
+
if (Digit_instance == null)
|
|
4481
|
+
new Digit();
|
|
4482
|
+
return Digit_instance;
|
|
4483
|
+
}
|
|
4484
|
+
function isWhitespaceImpl(_this__u8e3s4) {
|
|
4485
|
+
// Inline function 'kotlin.code' call
|
|
4486
|
+
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
|
|
4487
|
+
return (((9 <= ch ? ch <= 13 : false) ? true : 28 <= ch ? ch <= 32 : false) ? true : ch === 160) ? true : ch > 4096 ? (((((ch === 5760 ? true : 8192 <= ch ? ch <= 8202 : false) ? true : ch === 8232) ? true : ch === 8233) ? true : ch === 8239) ? true : ch === 8287) ? true : ch === 12288 : false;
|
|
4488
|
+
}
|
|
4489
|
+
function IllegalArgumentException_init_$Init$(message, $this) {
|
|
4490
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4491
|
+
IllegalArgumentException.call($this);
|
|
4492
|
+
return $this;
|
|
4493
|
+
}
|
|
4494
|
+
function IllegalArgumentException_init_$Create$(message) {
|
|
4495
|
+
var tmp = IllegalArgumentException_init_$Init$(message, objectCreate(protoOf(IllegalArgumentException)));
|
|
4496
|
+
captureStack(tmp, IllegalArgumentException_init_$Create$);
|
|
4497
|
+
return tmp;
|
|
4498
|
+
}
|
|
4499
|
+
function IllegalArgumentException() {
|
|
4500
|
+
captureStack(this, IllegalArgumentException);
|
|
4501
|
+
}
|
|
4502
|
+
function IndexOutOfBoundsException_init_$Init$(message, $this) {
|
|
4503
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4504
|
+
IndexOutOfBoundsException.call($this);
|
|
4505
|
+
return $this;
|
|
4506
|
+
}
|
|
4507
|
+
function IndexOutOfBoundsException_init_$Create$(message) {
|
|
4508
|
+
var tmp = IndexOutOfBoundsException_init_$Init$(message, objectCreate(protoOf(IndexOutOfBoundsException)));
|
|
4509
|
+
captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
|
|
4510
|
+
return tmp;
|
|
4511
|
+
}
|
|
4512
|
+
function IndexOutOfBoundsException() {
|
|
4513
|
+
captureStack(this, IndexOutOfBoundsException);
|
|
4514
|
+
}
|
|
4515
|
+
function IllegalStateException_init_$Init$($this) {
|
|
4516
|
+
RuntimeException_init_$Init$($this);
|
|
4517
|
+
IllegalStateException.call($this);
|
|
4518
|
+
return $this;
|
|
4519
|
+
}
|
|
4520
|
+
function IllegalStateException_init_$Create$() {
|
|
4521
|
+
var tmp = IllegalStateException_init_$Init$(objectCreate(protoOf(IllegalStateException)));
|
|
4522
|
+
captureStack(tmp, IllegalStateException_init_$Create$);
|
|
4523
|
+
return tmp;
|
|
4524
|
+
}
|
|
4525
|
+
function IllegalStateException_init_$Init$_0(message, $this) {
|
|
4526
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4527
|
+
IllegalStateException.call($this);
|
|
4528
|
+
return $this;
|
|
4529
|
+
}
|
|
4530
|
+
function IllegalStateException_init_$Create$_0(message) {
|
|
4531
|
+
var tmp = IllegalStateException_init_$Init$_0(message, objectCreate(protoOf(IllegalStateException)));
|
|
4532
|
+
captureStack(tmp, IllegalStateException_init_$Create$_0);
|
|
4533
|
+
return tmp;
|
|
4534
|
+
}
|
|
4535
|
+
function IllegalStateException() {
|
|
4536
|
+
captureStack(this, IllegalStateException);
|
|
4537
|
+
}
|
|
4538
|
+
function Exception_init_$Init$($this) {
|
|
4539
|
+
extendThrowable($this);
|
|
4540
|
+
Exception.call($this);
|
|
4541
|
+
return $this;
|
|
4542
|
+
}
|
|
4543
|
+
function Exception_init_$Init$_0(message, $this) {
|
|
4544
|
+
extendThrowable($this, message);
|
|
4545
|
+
Exception.call($this);
|
|
4546
|
+
return $this;
|
|
4547
|
+
}
|
|
4548
|
+
function Exception_init_$Create$(message) {
|
|
4549
|
+
var tmp = Exception_init_$Init$_0(message, objectCreate(protoOf(Exception)));
|
|
4550
|
+
captureStack(tmp, Exception_init_$Create$);
|
|
4551
|
+
return tmp;
|
|
4552
|
+
}
|
|
4553
|
+
function Exception() {
|
|
4554
|
+
captureStack(this, Exception);
|
|
4555
|
+
}
|
|
4556
|
+
function RuntimeException_init_$Init$($this) {
|
|
4557
|
+
Exception_init_$Init$($this);
|
|
4558
|
+
RuntimeException.call($this);
|
|
4559
|
+
return $this;
|
|
4560
|
+
}
|
|
4561
|
+
function RuntimeException_init_$Init$_0(message, $this) {
|
|
4562
|
+
Exception_init_$Init$_0(message, $this);
|
|
4563
|
+
RuntimeException.call($this);
|
|
4564
|
+
return $this;
|
|
4565
|
+
}
|
|
4566
|
+
function RuntimeException() {
|
|
4567
|
+
captureStack(this, RuntimeException);
|
|
4568
|
+
}
|
|
4569
|
+
function NoSuchElementException_init_$Init$($this) {
|
|
4570
|
+
RuntimeException_init_$Init$($this);
|
|
4571
|
+
NoSuchElementException.call($this);
|
|
4572
|
+
return $this;
|
|
4573
|
+
}
|
|
4574
|
+
function NoSuchElementException_init_$Create$() {
|
|
4575
|
+
var tmp = NoSuchElementException_init_$Init$(objectCreate(protoOf(NoSuchElementException)));
|
|
4576
|
+
captureStack(tmp, NoSuchElementException_init_$Create$);
|
|
4577
|
+
return tmp;
|
|
4578
|
+
}
|
|
4579
|
+
function NoSuchElementException_init_$Init$_0(message, $this) {
|
|
4580
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4581
|
+
NoSuchElementException.call($this);
|
|
4582
|
+
return $this;
|
|
4583
|
+
}
|
|
4584
|
+
function NoSuchElementException_init_$Create$_0(message) {
|
|
4585
|
+
var tmp = NoSuchElementException_init_$Init$_0(message, objectCreate(protoOf(NoSuchElementException)));
|
|
4586
|
+
captureStack(tmp, NoSuchElementException_init_$Create$_0);
|
|
4587
|
+
return tmp;
|
|
4588
|
+
}
|
|
4589
|
+
function NoSuchElementException() {
|
|
4590
|
+
captureStack(this, NoSuchElementException);
|
|
4591
|
+
}
|
|
4592
|
+
function UnsupportedOperationException_init_$Init$($this) {
|
|
4593
|
+
RuntimeException_init_$Init$($this);
|
|
4594
|
+
UnsupportedOperationException.call($this);
|
|
4595
|
+
return $this;
|
|
4596
|
+
}
|
|
4597
|
+
function UnsupportedOperationException_init_$Create$() {
|
|
4598
|
+
var tmp = UnsupportedOperationException_init_$Init$(objectCreate(protoOf(UnsupportedOperationException)));
|
|
4599
|
+
captureStack(tmp, UnsupportedOperationException_init_$Create$);
|
|
4600
|
+
return tmp;
|
|
4601
|
+
}
|
|
4602
|
+
function UnsupportedOperationException_init_$Init$_0(message, $this) {
|
|
4603
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4604
|
+
UnsupportedOperationException.call($this);
|
|
4605
|
+
return $this;
|
|
4606
|
+
}
|
|
4607
|
+
function UnsupportedOperationException_init_$Create$_0(message) {
|
|
4608
|
+
var tmp = UnsupportedOperationException_init_$Init$_0(message, objectCreate(protoOf(UnsupportedOperationException)));
|
|
4609
|
+
captureStack(tmp, UnsupportedOperationException_init_$Create$_0);
|
|
4610
|
+
return tmp;
|
|
4611
|
+
}
|
|
4612
|
+
function UnsupportedOperationException() {
|
|
4613
|
+
captureStack(this, UnsupportedOperationException);
|
|
4614
|
+
}
|
|
4615
|
+
function NumberFormatException_init_$Init$(message, $this) {
|
|
4616
|
+
IllegalArgumentException_init_$Init$(message, $this);
|
|
4617
|
+
NumberFormatException.call($this);
|
|
4618
|
+
return $this;
|
|
4619
|
+
}
|
|
4620
|
+
function NumberFormatException_init_$Create$(message) {
|
|
4621
|
+
var tmp = NumberFormatException_init_$Init$(message, objectCreate(protoOf(NumberFormatException)));
|
|
4622
|
+
captureStack(tmp, NumberFormatException_init_$Create$);
|
|
4623
|
+
return tmp;
|
|
4624
|
+
}
|
|
4625
|
+
function NumberFormatException() {
|
|
4626
|
+
captureStack(this, NumberFormatException);
|
|
4627
|
+
}
|
|
4628
|
+
function ArithmeticException_init_$Init$(message, $this) {
|
|
4629
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4630
|
+
ArithmeticException.call($this);
|
|
4631
|
+
return $this;
|
|
4632
|
+
}
|
|
4633
|
+
function ArithmeticException_init_$Create$(message) {
|
|
4634
|
+
var tmp = ArithmeticException_init_$Init$(message, objectCreate(protoOf(ArithmeticException)));
|
|
4635
|
+
captureStack(tmp, ArithmeticException_init_$Create$);
|
|
4636
|
+
return tmp;
|
|
4637
|
+
}
|
|
4638
|
+
function ArithmeticException() {
|
|
4639
|
+
captureStack(this, ArithmeticException);
|
|
4640
|
+
}
|
|
4641
|
+
function NullPointerException_init_$Init$($this) {
|
|
4642
|
+
RuntimeException_init_$Init$($this);
|
|
4643
|
+
NullPointerException.call($this);
|
|
4644
|
+
return $this;
|
|
4645
|
+
}
|
|
4646
|
+
function NullPointerException_init_$Create$() {
|
|
4647
|
+
var tmp = NullPointerException_init_$Init$(objectCreate(protoOf(NullPointerException)));
|
|
4648
|
+
captureStack(tmp, NullPointerException_init_$Create$);
|
|
4649
|
+
return tmp;
|
|
4650
|
+
}
|
|
4651
|
+
function NullPointerException() {
|
|
4652
|
+
captureStack(this, NullPointerException);
|
|
4653
|
+
}
|
|
4654
|
+
function NoWhenBranchMatchedException_init_$Init$($this) {
|
|
4655
|
+
RuntimeException_init_$Init$($this);
|
|
4656
|
+
NoWhenBranchMatchedException.call($this);
|
|
4657
|
+
return $this;
|
|
4658
|
+
}
|
|
4659
|
+
function NoWhenBranchMatchedException_init_$Create$() {
|
|
4660
|
+
var tmp = NoWhenBranchMatchedException_init_$Init$(objectCreate(protoOf(NoWhenBranchMatchedException)));
|
|
4661
|
+
captureStack(tmp, NoWhenBranchMatchedException_init_$Create$);
|
|
4662
|
+
return tmp;
|
|
4663
|
+
}
|
|
4664
|
+
function NoWhenBranchMatchedException() {
|
|
4665
|
+
captureStack(this, NoWhenBranchMatchedException);
|
|
4666
|
+
}
|
|
4667
|
+
function ClassCastException_init_$Init$($this) {
|
|
4668
|
+
RuntimeException_init_$Init$($this);
|
|
4669
|
+
ClassCastException.call($this);
|
|
4670
|
+
return $this;
|
|
4671
|
+
}
|
|
4672
|
+
function ClassCastException_init_$Create$() {
|
|
4673
|
+
var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
|
|
4674
|
+
captureStack(tmp, ClassCastException_init_$Create$);
|
|
4675
|
+
return tmp;
|
|
4676
|
+
}
|
|
4677
|
+
function ClassCastException() {
|
|
4678
|
+
captureStack(this, ClassCastException);
|
|
4679
|
+
}
|
|
4680
|
+
function UninitializedPropertyAccessException_init_$Init$(message, $this) {
|
|
4681
|
+
RuntimeException_init_$Init$_0(message, $this);
|
|
4682
|
+
UninitializedPropertyAccessException.call($this);
|
|
4683
|
+
return $this;
|
|
4684
|
+
}
|
|
4685
|
+
function UninitializedPropertyAccessException_init_$Create$(message) {
|
|
4686
|
+
var tmp = UninitializedPropertyAccessException_init_$Init$(message, objectCreate(protoOf(UninitializedPropertyAccessException)));
|
|
4687
|
+
captureStack(tmp, UninitializedPropertyAccessException_init_$Create$);
|
|
4688
|
+
return tmp;
|
|
4689
|
+
}
|
|
4690
|
+
function UninitializedPropertyAccessException() {
|
|
4691
|
+
captureStack(this, UninitializedPropertyAccessException);
|
|
4692
|
+
}
|
|
4693
|
+
function toString_5(_this__u8e3s4, radix) {
|
|
4694
|
+
return toStringImpl(_this__u8e3s4, checkRadix(radix));
|
|
4695
|
+
}
|
|
4696
|
+
//region block: post-declaration
|
|
4697
|
+
protoOf(InternalHashCodeMap).l5 = createJsMap;
|
|
4698
|
+
//endregion
|
|
4699
|
+
//region block: exports
|
|
4700
|
+
_.$_$ = _.$_$ || {};
|
|
4701
|
+
_.$_$.a = primitiveArrayConcat;
|
|
4702
|
+
_.$_$.b = ArrayList_init_$Create$;
|
|
4703
|
+
_.$_$.c = Regex_init_$Create$;
|
|
4704
|
+
_.$_$.d = StringBuilder_init_$Create$_0;
|
|
4705
|
+
_.$_$.e = _Char___init__impl__6a9atx;
|
|
4706
|
+
_.$_$.f = Char__toInt_impl_vasixd;
|
|
4707
|
+
_.$_$.g = _UByte___init__impl__g9hnc4;
|
|
4708
|
+
_.$_$.h = _UByte___get_data__impl__jof9qr;
|
|
4709
|
+
_.$_$.i = Unit_getInstance;
|
|
4710
|
+
_.$_$.j = contentEquals;
|
|
4711
|
+
_.$_$.k = copyOfRange;
|
|
4712
|
+
_.$_$.l = indexOf;
|
|
4713
|
+
_.$_$.m = joinToString;
|
|
4714
|
+
_.$_$.n = toByteArray;
|
|
4715
|
+
_.$_$.o = toList;
|
|
4716
|
+
_.$_$.p = toTypedArray;
|
|
4717
|
+
_.$_$.q = getProgressionLastElement;
|
|
4718
|
+
_.$_$.r = charArrayIterator;
|
|
4719
|
+
_.$_$.s = charSequenceGet;
|
|
4720
|
+
_.$_$.t = charSequenceLength;
|
|
4721
|
+
_.$_$.u = classMeta;
|
|
4722
|
+
_.$_$.v = defineProp;
|
|
4723
|
+
_.$_$.w = isCharSequence;
|
|
4724
|
+
_.$_$.x = numberToChar;
|
|
4725
|
+
_.$_$.y = objectMeta;
|
|
4726
|
+
_.$_$.z = protoOf;
|
|
4727
|
+
_.$_$.a1 = setMetadataFor;
|
|
4728
|
+
_.$_$.b1 = toByte;
|
|
4729
|
+
_.$_$.c1 = toShort;
|
|
4730
|
+
_.$_$.d1 = toString_4;
|
|
4731
|
+
_.$_$.e1 = map;
|
|
4732
|
+
_.$_$.f1 = StringBuilder;
|
|
4733
|
+
_.$_$.g1 = decodeToString;
|
|
4734
|
+
_.$_$.h1 = encodeToByteArray;
|
|
4735
|
+
_.$_$.i1 = indexOf_1;
|
|
4736
|
+
_.$_$.j1 = iterator;
|
|
4737
|
+
_.$_$.k1 = replace;
|
|
4738
|
+
_.$_$.l1 = toCharArray;
|
|
4739
|
+
_.$_$.m1 = toIntOrNull;
|
|
4740
|
+
_.$_$.n1 = toInt;
|
|
4741
|
+
_.$_$.o1 = toLong;
|
|
4742
|
+
_.$_$.p1 = toString_1;
|
|
4743
|
+
_.$_$.q1 = toString_5;
|
|
4744
|
+
_.$_$.r1 = toString_0;
|
|
4745
|
+
_.$_$.s1 = trim;
|
|
4746
|
+
_.$_$.t1 = Enum;
|
|
4747
|
+
_.$_$.u1 = THROW_CCE;
|
|
4748
|
+
_.$_$.v1 = THROW_ISE;
|
|
4749
|
+
_.$_$.w1 = noWhenBranchMatchedException;
|
|
4750
|
+
_.$_$.x1 = VOID;
|
|
4751
|
+
//endregion
|
|
4752
|
+
return _;
|
|
4753
|
+
}));
|
|
4754
|
+
|
|
4755
|
+
//# sourceMappingURL=kotlin-kotlin-stdlib-js-ir.js.map
|