@tuprolog/arg2p 0.16.2 → 0.16.3
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/2p-core.js +3214 -3035
- package/2p-core.js.map +1 -1
- package/2p-dsl-core.js +303 -303
- package/2p-dsl-core.js.map +1 -1
- package/2p-dsl-solve.js +252 -252
- package/2p-dsl-theory.js +160 -160
- package/2p-dsl-unify.js +6 -6
- package/2p-io-lib.js +3496 -0
- package/2p-io-lib.js.map +1 -0
- package/2p-parser-core.js +124 -123
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1480 -1389
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +89 -88
- package/2p-parser-theory.js.map +1 -1
- package/2p-solve-classic.js +1004 -1004
- package/2p-solve.js +3933 -3464
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1423 -1423
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +349 -349
- package/2p-utils.js +391 -391
- package/README.md +59 -12
- package/arg2p-causality-solver.js +151 -151
- package/arg2p-core.js +1792 -1744
- package/arg2p-core.js.map +1 -1
- package/arg2p.js +95 -95
- package/kotlin-kotlin-stdlib.js +2583 -1714
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1531 -1531
- package/okio-parent-okio-nodefilesystem.js +211 -0
- package/okio-parent-okio-nodefilesystem.js.map +1 -0
- package/okio-parent-okio.js +3873 -0
- package/okio-parent-okio.js.map +1 -0
- package/package.json +5 -2
package/2p-utils.js
CHANGED
|
@@ -16,68 +16,68 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
21
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
25
|
-
var Iterable = kotlin_kotlin.$_$.
|
|
26
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.o7;
|
|
20
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.c7;
|
|
21
|
+
var Unit_instance = kotlin_kotlin.$_$.p;
|
|
22
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.d7;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.bc;
|
|
24
|
+
var isInterface = kotlin_kotlin.$_$.i7;
|
|
25
|
+
var Iterable = kotlin_kotlin.$_$.x1;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.b7;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.b;
|
|
28
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
29
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
30
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
31
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
32
|
-
var toList = kotlin_kotlin.$_$.
|
|
33
|
-
var asSequence = kotlin_kotlin.$_$.
|
|
34
|
-
var asIterable = kotlin_kotlin.$_$.
|
|
35
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
36
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
37
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
-
var asIterable_0 = kotlin_kotlin.$_$.
|
|
39
|
-
var sequence = kotlin_kotlin.$_$.
|
|
40
|
-
var IntRange = kotlin_kotlin.$_$.
|
|
41
|
-
var zip = kotlin_kotlin.$_$.
|
|
42
|
-
var map = kotlin_kotlin.$_$.
|
|
43
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
44
|
-
var KtList = kotlin_kotlin.$_$.
|
|
45
|
-
var equals = kotlin_kotlin.$_$.
|
|
46
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
47
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
48
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
49
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
50
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
51
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
52
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
53
|
-
var withIndex = kotlin_kotlin.$_$.
|
|
54
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
55
|
-
var filterNot = kotlin_kotlin.$_$.
|
|
56
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
57
|
-
var minWithOrNull = kotlin_kotlin.$_$.
|
|
58
|
-
var Regex_init_$Create$ = kotlin_kotlin.$_$.
|
|
59
|
-
var toString = kotlin_kotlin.$_$.
|
|
28
|
+
var Sequence = kotlin_kotlin.$_$.l8;
|
|
29
|
+
var arrayIterator = kotlin_kotlin.$_$.k6;
|
|
30
|
+
var compareTo = kotlin_kotlin.$_$.r6;
|
|
31
|
+
var Comparable = kotlin_kotlin.$_$.pb;
|
|
32
|
+
var toList = kotlin_kotlin.$_$.x9;
|
|
33
|
+
var asSequence = kotlin_kotlin.$_$.l2;
|
|
34
|
+
var asIterable = kotlin_kotlin.$_$.g2;
|
|
35
|
+
var hashCode = kotlin_kotlin.$_$.a7;
|
|
36
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.o2;
|
|
37
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
38
|
+
var asIterable_0 = kotlin_kotlin.$_$.n8;
|
|
39
|
+
var sequence = kotlin_kotlin.$_$.q9;
|
|
40
|
+
var IntRange = kotlin_kotlin.$_$.b8;
|
|
41
|
+
var zip = kotlin_kotlin.$_$.ba;
|
|
42
|
+
var map = kotlin_kotlin.$_$.i9;
|
|
43
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
44
|
+
var KtList = kotlin_kotlin.$_$.y1;
|
|
45
|
+
var equals = kotlin_kotlin.$_$.u6;
|
|
46
|
+
var FunctionAdapter = kotlin_kotlin.$_$.j6;
|
|
47
|
+
var Comparator = kotlin_kotlin.$_$.qb;
|
|
48
|
+
var CoroutineImpl = kotlin_kotlin.$_$.p5;
|
|
49
|
+
var SequenceScope = kotlin_kotlin.$_$.k8;
|
|
50
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.o5;
|
|
51
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.e7;
|
|
52
|
+
var constructCallableReference = kotlin_kotlin.$_$.s6;
|
|
53
|
+
var withIndex = kotlin_kotlin.$_$.aa;
|
|
54
|
+
var ensureNotNull = kotlin_kotlin.$_$.hc;
|
|
55
|
+
var filterNot = kotlin_kotlin.$_$.v8;
|
|
56
|
+
var toMutableList = kotlin_kotlin.$_$.y9;
|
|
57
|
+
var minWithOrNull = kotlin_kotlin.$_$.j9;
|
|
58
|
+
var Regex_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
59
|
+
var toString = kotlin_kotlin.$_$.r7;
|
|
60
60
|
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.b;
|
|
61
61
|
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.a;
|
|
62
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
63
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
64
|
-
var KtMap = kotlin_kotlin.$_$.
|
|
65
|
-
var lazy = kotlin_kotlin.$_$.
|
|
66
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
67
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
68
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
69
|
-
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.
|
|
70
|
-
var subtract = kotlin_kotlin.$_$.
|
|
71
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
72
|
-
var getBigIntHashCode = kotlin_kotlin.$_$.
|
|
73
|
-
var first = kotlin_kotlin.$_$.
|
|
74
|
-
var to = kotlin_kotlin.$_$.
|
|
75
|
-
var Pair = kotlin_kotlin.$_$.
|
|
76
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
77
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
78
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
79
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
80
|
-
var addAll = kotlin_kotlin.$_$.
|
|
62
|
+
var toString_0 = kotlin_kotlin.$_$.nc;
|
|
63
|
+
var initMetadataForObject = kotlin_kotlin.$_$.f7;
|
|
64
|
+
var KtMap = kotlin_kotlin.$_$.a2;
|
|
65
|
+
var lazy = kotlin_kotlin.$_$.jc;
|
|
66
|
+
var KProperty1 = kotlin_kotlin.$_$.j8;
|
|
67
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.y6;
|
|
68
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.g8;
|
|
69
|
+
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
70
|
+
var subtract = kotlin_kotlin.$_$.h6;
|
|
71
|
+
var convertToInt = kotlin_kotlin.$_$.w5;
|
|
72
|
+
var getBigIntHashCode = kotlin_kotlin.$_$.w6;
|
|
73
|
+
var first = kotlin_kotlin.$_$.h3;
|
|
74
|
+
var to = kotlin_kotlin.$_$.oc;
|
|
75
|
+
var Pair = kotlin_kotlin.$_$.zb;
|
|
76
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
77
|
+
var joinToString = kotlin_kotlin.$_$.e9;
|
|
78
|
+
var mutableListOf = kotlin_kotlin.$_$.g4;
|
|
79
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
|
|
80
|
+
var addAll = kotlin_kotlin.$_$.c2;
|
|
81
81
|
//endregion
|
|
82
82
|
//region block: pre-declaration
|
|
83
83
|
initMetadataForCompanion(Companion);
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
var got = this.i2(key);
|
|
86
86
|
var tmp;
|
|
87
87
|
if (got instanceof Some) {
|
|
88
|
-
tmp = got.
|
|
88
|
+
tmp = got.wq_1;
|
|
89
89
|
} else {
|
|
90
90
|
// Inline function 'kotlin.also' call
|
|
91
91
|
var this_0 = valueGenerator();
|
|
92
|
-
this.
|
|
92
|
+
this.uq(key, this_0);
|
|
93
93
|
tmp = this_0;
|
|
94
94
|
}
|
|
95
95
|
return tmp;
|
|
@@ -98,13 +98,13 @@
|
|
|
98
98
|
initMetadataForCompanion(Companion_0);
|
|
99
99
|
function ifValid(consumer) {
|
|
100
100
|
var tmp;
|
|
101
|
-
if (this.
|
|
101
|
+
if (this.yq()) {
|
|
102
102
|
var tmp_0 = Companion_instance_5;
|
|
103
103
|
// Inline function 'kotlin.let' call
|
|
104
104
|
var tmp$ret$0 = consumer(this.f2());
|
|
105
|
-
tmp = tmp_0.
|
|
105
|
+
tmp = tmp_0.cr(tmp$ret$0);
|
|
106
106
|
} else {
|
|
107
|
-
tmp = Companion_instance_5.
|
|
107
|
+
tmp = Companion_instance_5.br();
|
|
108
108
|
}
|
|
109
109
|
return tmp;
|
|
110
110
|
}
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
}
|
|
127
127
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
128
128
|
function component1() {
|
|
129
|
-
return this.
|
|
129
|
+
return this.lr();
|
|
130
130
|
}
|
|
131
131
|
function component2() {
|
|
132
132
|
return this.f2();
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
135
135
|
initMetadataForCompanion(Companion_2);
|
|
136
136
|
function compareTo_0(other) {
|
|
137
|
-
return compareTo(this.
|
|
137
|
+
return compareTo(this.lr(), other.lr());
|
|
138
138
|
}
|
|
139
139
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
140
140
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
145
145
|
initMetadataForCompanion(Companion_3);
|
|
146
146
|
function compareTo_1(other) {
|
|
147
|
-
return compareTo(this.
|
|
147
|
+
return compareTo(this.lr(), other.lr());
|
|
148
148
|
}
|
|
149
149
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
150
150
|
initMetadataForCompanion(Companion_4);
|
|
@@ -154,12 +154,12 @@
|
|
|
154
154
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
155
155
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
156
156
|
function getTag(name) {
|
|
157
|
-
return this.
|
|
157
|
+
return this.tt().i2(name);
|
|
158
158
|
}
|
|
159
159
|
function containsTag(name) {
|
|
160
160
|
// Inline function 'kotlin.collections.contains' call
|
|
161
161
|
// Inline function 'kotlin.collections.containsKey' call
|
|
162
|
-
var this_0 = this.
|
|
162
|
+
var this_0 = this.tt();
|
|
163
163
|
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).g2(name);
|
|
164
164
|
}
|
|
165
165
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
//endregion
|
|
180
180
|
function Companion() {
|
|
181
181
|
}
|
|
182
|
-
protoOf(Companion).
|
|
182
|
+
protoOf(Companion).tq = function (capacity) {
|
|
183
183
|
return new SimpleLRUCache(capacity);
|
|
184
184
|
};
|
|
185
185
|
var Companion_instance;
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
}
|
|
191
191
|
function Companion_0() {
|
|
192
192
|
}
|
|
193
|
-
protoOf(Companion_0).
|
|
193
|
+
protoOf(Companion_0).xq = function (generator) {
|
|
194
194
|
return new CachedImpl(generator);
|
|
195
195
|
};
|
|
196
196
|
var Companion_instance_0;
|
|
@@ -217,16 +217,16 @@
|
|
|
217
217
|
return Companion_instance_1;
|
|
218
218
|
}
|
|
219
219
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
220
|
-
this.
|
|
220
|
+
this.er_1 = this$0;
|
|
221
221
|
}
|
|
222
222
|
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
223
|
-
return this.
|
|
223
|
+
return this.er_1.iterator();
|
|
224
224
|
};
|
|
225
225
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
226
|
-
this.
|
|
226
|
+
this.fr_1 = this$0;
|
|
227
227
|
}
|
|
228
228
|
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
229
|
-
return this.
|
|
229
|
+
return this.fr_1.iterator();
|
|
230
230
|
};
|
|
231
231
|
function Cursor() {
|
|
232
232
|
}
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
return toCursor(_this__u8e3s4.n());
|
|
235
235
|
}
|
|
236
236
|
function plus(_this__u8e3s4, other) {
|
|
237
|
-
return other.
|
|
237
|
+
return other.ir() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.ir() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
238
238
|
}
|
|
239
239
|
function cursor_0(_this__u8e3s4) {
|
|
240
240
|
return toCursor(_this__u8e3s4.n());
|
|
@@ -243,13 +243,13 @@
|
|
|
243
243
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
244
244
|
}
|
|
245
245
|
function toCursor(_this__u8e3s4) {
|
|
246
|
-
return Companion_instance_6.
|
|
246
|
+
return Companion_instance_6.kr(_this__u8e3s4);
|
|
247
247
|
}
|
|
248
248
|
function Indexed() {
|
|
249
249
|
}
|
|
250
250
|
function Companion_2() {
|
|
251
251
|
}
|
|
252
|
-
protoOf(Companion_2).
|
|
252
|
+
protoOf(Companion_2).mr = function (index, value) {
|
|
253
253
|
return new IntIndexedImpl(index, value);
|
|
254
254
|
};
|
|
255
255
|
var Companion_instance_2;
|
|
@@ -346,16 +346,16 @@
|
|
|
346
346
|
return isInterface(_this__u8e3s4, KtList) ? _this__u8e3s4 : THROW_CCE();
|
|
347
347
|
}
|
|
348
348
|
function sam$kotlin_Comparator$0(function_0) {
|
|
349
|
-
this.
|
|
349
|
+
this.pr_1 = function_0;
|
|
350
350
|
}
|
|
351
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
352
|
-
return this.
|
|
351
|
+
protoOf(sam$kotlin_Comparator$0).lc = function (a, b) {
|
|
352
|
+
return this.pr_1(a, b);
|
|
353
353
|
};
|
|
354
354
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
355
|
-
return this.
|
|
355
|
+
return this.lc(a, b);
|
|
356
356
|
};
|
|
357
357
|
protoOf(sam$kotlin_Comparator$0).q2 = function () {
|
|
358
|
-
return this.
|
|
358
|
+
return this.pr_1;
|
|
359
359
|
};
|
|
360
360
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
361
361
|
var tmp;
|
|
@@ -379,189 +379,189 @@
|
|
|
379
379
|
return equals(a, b);
|
|
380
380
|
}
|
|
381
381
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
382
|
-
this.
|
|
382
|
+
this.yr_1 = $this_dropLast;
|
|
383
383
|
CoroutineImpl.call(this, resultContinuation);
|
|
384
384
|
}
|
|
385
|
-
protoOf(dropLast$slambda).
|
|
386
|
-
var tmp = this.
|
|
387
|
-
tmp.
|
|
388
|
-
tmp.
|
|
389
|
-
return tmp.
|
|
385
|
+
protoOf(dropLast$slambda).bs = function ($this$sequence, $completion) {
|
|
386
|
+
var tmp = this.cs($this$sequence, $completion);
|
|
387
|
+
tmp.l8_1 = Unit_instance;
|
|
388
|
+
tmp.m8_1 = null;
|
|
389
|
+
return tmp.r8();
|
|
390
390
|
};
|
|
391
|
-
protoOf(dropLast$slambda).
|
|
392
|
-
return this.
|
|
391
|
+
protoOf(dropLast$slambda).i9 = function (p1, $completion) {
|
|
392
|
+
return this.bs(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
393
393
|
};
|
|
394
|
-
protoOf(dropLast$slambda).
|
|
395
|
-
var suspendResult = this.
|
|
394
|
+
protoOf(dropLast$slambda).r8 = function () {
|
|
395
|
+
var suspendResult = this.l8_1;
|
|
396
396
|
$sm: do
|
|
397
397
|
try {
|
|
398
|
-
var tmp = this.
|
|
398
|
+
var tmp = this.j8_1;
|
|
399
399
|
switch (tmp) {
|
|
400
400
|
case 0:
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
401
|
+
this.k8_1 = 5;
|
|
402
|
+
this.as_1 = this.yr_1.n();
|
|
403
|
+
this.j8_1 = 1;
|
|
404
404
|
continue $sm;
|
|
405
405
|
case 1:
|
|
406
|
-
if (!this.
|
|
407
|
-
this.
|
|
406
|
+
if (!this.as_1.q()) {
|
|
407
|
+
this.j8_1 = 4;
|
|
408
408
|
continue $sm;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
-
var current = this.
|
|
412
|
-
if (this.
|
|
413
|
-
this.
|
|
414
|
-
suspendResult = this.
|
|
411
|
+
var current = this.as_1.r();
|
|
412
|
+
if (this.as_1.q()) {
|
|
413
|
+
this.j8_1 = 2;
|
|
414
|
+
suspendResult = this.zr_1.he(current, this);
|
|
415
415
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
416
416
|
return suspendResult;
|
|
417
417
|
}
|
|
418
418
|
continue $sm;
|
|
419
419
|
} else {
|
|
420
|
-
this.
|
|
420
|
+
this.j8_1 = 3;
|
|
421
421
|
continue $sm;
|
|
422
422
|
}
|
|
423
423
|
|
|
424
424
|
case 2:
|
|
425
|
-
this.
|
|
425
|
+
this.j8_1 = 3;
|
|
426
426
|
continue $sm;
|
|
427
427
|
case 3:
|
|
428
|
-
this.
|
|
428
|
+
this.j8_1 = 1;
|
|
429
429
|
continue $sm;
|
|
430
430
|
case 4:
|
|
431
431
|
return Unit_instance;
|
|
432
432
|
case 5:
|
|
433
|
-
throw this.
|
|
433
|
+
throw this.m8_1;
|
|
434
434
|
}
|
|
435
435
|
} catch ($p) {
|
|
436
436
|
var e = $p;
|
|
437
|
-
if (this.
|
|
437
|
+
if (this.k8_1 === 5) {
|
|
438
438
|
throw e;
|
|
439
439
|
} else {
|
|
440
|
-
this.
|
|
441
|
-
this.
|
|
440
|
+
this.j8_1 = this.k8_1;
|
|
441
|
+
this.m8_1 = e;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
while (true);
|
|
445
445
|
};
|
|
446
|
-
protoOf(dropLast$slambda).
|
|
447
|
-
var i = new dropLast$slambda(this.
|
|
448
|
-
i.
|
|
446
|
+
protoOf(dropLast$slambda).cs = function ($this$sequence, completion) {
|
|
447
|
+
var i = new dropLast$slambda(this.yr_1, completion);
|
|
448
|
+
i.zr_1 = $this$sequence;
|
|
449
449
|
return i;
|
|
450
450
|
};
|
|
451
451
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
452
452
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
453
453
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
454
|
-
return i.
|
|
454
|
+
return i.bs($this$sequence, $completion);
|
|
455
455
|
}, 1);
|
|
456
456
|
}
|
|
457
457
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
458
|
-
this.
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
458
|
+
this.ls_1 = $this_insertAt;
|
|
459
|
+
this.ms_1 = $index;
|
|
460
|
+
this.ns_1 = $item;
|
|
461
|
+
this.os_1 = $items;
|
|
462
462
|
CoroutineImpl.call(this, resultContinuation);
|
|
463
463
|
}
|
|
464
|
-
protoOf(insertAt$slambda).
|
|
465
|
-
var tmp = this.
|
|
466
|
-
tmp.
|
|
467
|
-
tmp.
|
|
468
|
-
return tmp.
|
|
464
|
+
protoOf(insertAt$slambda).bs = function ($this$sequence, $completion) {
|
|
465
|
+
var tmp = this.cs($this$sequence, $completion);
|
|
466
|
+
tmp.l8_1 = Unit_instance;
|
|
467
|
+
tmp.m8_1 = null;
|
|
468
|
+
return tmp.r8();
|
|
469
469
|
};
|
|
470
|
-
protoOf(insertAt$slambda).
|
|
471
|
-
return this.
|
|
470
|
+
protoOf(insertAt$slambda).i9 = function (p1, $completion) {
|
|
471
|
+
return this.bs(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
472
472
|
};
|
|
473
|
-
protoOf(insertAt$slambda).
|
|
474
|
-
var suspendResult = this.
|
|
473
|
+
protoOf(insertAt$slambda).r8 = function () {
|
|
474
|
+
var suspendResult = this.l8_1;
|
|
475
475
|
$sm: do
|
|
476
476
|
try {
|
|
477
|
-
var tmp = this.
|
|
477
|
+
var tmp = this.j8_1;
|
|
478
478
|
switch (tmp) {
|
|
479
479
|
case 0:
|
|
480
|
-
this.
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
480
|
+
this.k8_1 = 7;
|
|
481
|
+
this.rs_1 = asIterable_0(withIndex(this.ls_1)).n();
|
|
482
|
+
this.j8_1 = 1;
|
|
483
483
|
continue $sm;
|
|
484
484
|
case 1:
|
|
485
|
-
if (!this.
|
|
486
|
-
this.
|
|
485
|
+
if (!this.rs_1.q()) {
|
|
486
|
+
this.j8_1 = 6;
|
|
487
487
|
continue $sm;
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
var _destruct__k2r9zo = this.
|
|
491
|
-
var i = _destruct__k2r9zo.
|
|
492
|
-
this.
|
|
493
|
-
if (i === this.
|
|
494
|
-
this.
|
|
495
|
-
suspendResult = this.
|
|
490
|
+
var _destruct__k2r9zo = this.rs_1.r();
|
|
491
|
+
var i = _destruct__k2r9zo.td();
|
|
492
|
+
this.qs_1 = _destruct__k2r9zo.ud();
|
|
493
|
+
if (i === this.ms_1) {
|
|
494
|
+
this.j8_1 = 2;
|
|
495
|
+
suspendResult = this.ps_1.he(this.ns_1, this);
|
|
496
496
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
497
497
|
return suspendResult;
|
|
498
498
|
}
|
|
499
499
|
continue $sm;
|
|
500
500
|
} else {
|
|
501
|
-
this.
|
|
501
|
+
this.j8_1 = 4;
|
|
502
502
|
continue $sm;
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
case 2:
|
|
506
|
-
this.
|
|
507
|
-
suspendResult = this.
|
|
506
|
+
this.j8_1 = 3;
|
|
507
|
+
suspendResult = this.ps_1.je(asIterable(this.os_1), this);
|
|
508
508
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
509
509
|
return suspendResult;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
continue $sm;
|
|
513
513
|
case 3:
|
|
514
|
-
this.
|
|
514
|
+
this.j8_1 = 4;
|
|
515
515
|
continue $sm;
|
|
516
516
|
case 4:
|
|
517
|
-
this.
|
|
518
|
-
suspendResult = this.
|
|
517
|
+
this.j8_1 = 5;
|
|
518
|
+
suspendResult = this.ps_1.he(this.qs_1, this);
|
|
519
519
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
520
520
|
return suspendResult;
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
continue $sm;
|
|
524
524
|
case 5:
|
|
525
|
-
this.
|
|
525
|
+
this.j8_1 = 1;
|
|
526
526
|
continue $sm;
|
|
527
527
|
case 6:
|
|
528
528
|
return Unit_instance;
|
|
529
529
|
case 7:
|
|
530
|
-
throw this.
|
|
530
|
+
throw this.m8_1;
|
|
531
531
|
}
|
|
532
532
|
} catch ($p) {
|
|
533
533
|
var e = $p;
|
|
534
|
-
if (this.
|
|
534
|
+
if (this.k8_1 === 7) {
|
|
535
535
|
throw e;
|
|
536
536
|
} else {
|
|
537
|
-
this.
|
|
538
|
-
this.
|
|
537
|
+
this.j8_1 = this.k8_1;
|
|
538
|
+
this.m8_1 = e;
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
while (true);
|
|
542
542
|
};
|
|
543
|
-
protoOf(insertAt$slambda).
|
|
544
|
-
var i = new insertAt$slambda(this.
|
|
545
|
-
i.
|
|
543
|
+
protoOf(insertAt$slambda).cs = function ($this$sequence, completion) {
|
|
544
|
+
var i = new insertAt$slambda(this.ls_1, this.ms_1, this.ns_1, this.os_1, completion);
|
|
545
|
+
i.ps_1 = $this$sequence;
|
|
546
546
|
return i;
|
|
547
547
|
};
|
|
548
548
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
549
549
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
550
550
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
551
|
-
return i.
|
|
551
|
+
return i.bs($this$sequence, $completion);
|
|
552
552
|
}, 1);
|
|
553
553
|
}
|
|
554
554
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
555
|
-
this.
|
|
555
|
+
this.ss_1 = function_0;
|
|
556
556
|
}
|
|
557
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
558
|
-
return this.
|
|
557
|
+
protoOf(sam$kotlin_Comparator$0_0).lc = function (a, b) {
|
|
558
|
+
return this.ss_1(a, b);
|
|
559
559
|
};
|
|
560
560
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
561
|
-
return this.
|
|
561
|
+
return this.lc(a, b);
|
|
562
562
|
};
|
|
563
563
|
protoOf(sam$kotlin_Comparator$0_0).q2 = function () {
|
|
564
|
-
return this.
|
|
564
|
+
return this.ss_1;
|
|
565
565
|
};
|
|
566
566
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
567
567
|
var tmp;
|
|
@@ -585,10 +585,10 @@
|
|
|
585
585
|
return cursor_0(it);
|
|
586
586
|
}
|
|
587
587
|
function merge$slambda$lambda_0(it) {
|
|
588
|
-
return it.
|
|
588
|
+
return it.jr();
|
|
589
589
|
}
|
|
590
590
|
function merge$slambda$lambda_1(it) {
|
|
591
|
-
return ensureNotNull(it.
|
|
591
|
+
return ensureNotNull(it.hr());
|
|
592
592
|
}
|
|
593
593
|
function merge$slambda$lambda_2($comparator) {
|
|
594
594
|
return function (a, b) {
|
|
@@ -596,99 +596,99 @@
|
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
599
|
+
this.bt_1 = $iterables;
|
|
600
|
+
this.ct_1 = $comparator;
|
|
601
601
|
CoroutineImpl.call(this, resultContinuation);
|
|
602
602
|
}
|
|
603
|
-
protoOf(merge$slambda).
|
|
604
|
-
var tmp = this.
|
|
605
|
-
tmp.
|
|
606
|
-
tmp.
|
|
607
|
-
return tmp.
|
|
603
|
+
protoOf(merge$slambda).bs = function ($this$sequence, $completion) {
|
|
604
|
+
var tmp = this.cs($this$sequence, $completion);
|
|
605
|
+
tmp.l8_1 = Unit_instance;
|
|
606
|
+
tmp.m8_1 = null;
|
|
607
|
+
return tmp.r8();
|
|
608
608
|
};
|
|
609
|
-
protoOf(merge$slambda).
|
|
610
|
-
return this.
|
|
609
|
+
protoOf(merge$slambda).i9 = function (p1, $completion) {
|
|
610
|
+
return this.bs(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
611
611
|
};
|
|
612
|
-
protoOf(merge$slambda).
|
|
613
|
-
var suspendResult = this.
|
|
612
|
+
protoOf(merge$slambda).r8 = function () {
|
|
613
|
+
var suspendResult = this.l8_1;
|
|
614
614
|
$sm: do
|
|
615
615
|
try {
|
|
616
|
-
var tmp = this.
|
|
616
|
+
var tmp = this.j8_1;
|
|
617
617
|
switch (tmp) {
|
|
618
618
|
case 0:
|
|
619
|
-
this.
|
|
619
|
+
this.k8_1 = 3;
|
|
620
620
|
var tmp_0 = this;
|
|
621
|
-
var tmp_1 = asSequence(this.
|
|
621
|
+
var tmp_1 = asSequence(this.bt_1);
|
|
622
622
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
623
|
-
tmp_0.
|
|
624
|
-
this.
|
|
623
|
+
tmp_0.ft_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
624
|
+
this.j8_1 = 1;
|
|
625
625
|
continue $sm;
|
|
626
626
|
case 1:
|
|
627
|
-
if (!!this.
|
|
628
|
-
this.
|
|
627
|
+
if (!!this.ft_1.h()) {
|
|
628
|
+
this.j8_1 = 4;
|
|
629
629
|
continue $sm;
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
var tmp_3 = asSequence(this.
|
|
632
|
+
var tmp_3 = asSequence(this.ft_1);
|
|
633
633
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
634
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
634
|
+
var tmp_5 = merge$slambda$lambda_2(this.ct_1);
|
|
635
635
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
636
|
-
this.
|
|
637
|
-
var minValue = _destruct__k2r9zo.
|
|
638
|
-
this.
|
|
639
|
-
suspendResult = this.
|
|
636
|
+
this.et_1 = _destruct__k2r9zo.td();
|
|
637
|
+
var minValue = _destruct__k2r9zo.ud();
|
|
638
|
+
this.j8_1 = 2;
|
|
639
|
+
suspendResult = this.dt_1.he(minValue, this);
|
|
640
640
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
641
641
|
return suspendResult;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
continue $sm;
|
|
645
645
|
case 2:
|
|
646
|
-
var it = this.
|
|
646
|
+
var it = this.ft_1.u(this.et_1).gr();
|
|
647
647
|
var tmp_6;
|
|
648
|
-
if (it.
|
|
649
|
-
tmp_6 = this.
|
|
648
|
+
if (it.jr()) {
|
|
649
|
+
tmp_6 = this.ft_1.o3(this.et_1);
|
|
650
650
|
} else {
|
|
651
|
-
this.
|
|
651
|
+
this.ft_1.f3(this.et_1, it);
|
|
652
652
|
tmp_6 = Unit_instance;
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
this.
|
|
655
|
+
this.j8_1 = 1;
|
|
656
656
|
continue $sm;
|
|
657
657
|
case 3:
|
|
658
|
-
throw this.
|
|
658
|
+
throw this.m8_1;
|
|
659
659
|
case 4:
|
|
660
660
|
return Unit_instance;
|
|
661
661
|
}
|
|
662
662
|
} catch ($p) {
|
|
663
663
|
var e = $p;
|
|
664
|
-
if (this.
|
|
664
|
+
if (this.k8_1 === 3) {
|
|
665
665
|
throw e;
|
|
666
666
|
} else {
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
667
|
+
this.j8_1 = this.k8_1;
|
|
668
|
+
this.m8_1 = e;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
while (true);
|
|
672
672
|
};
|
|
673
|
-
protoOf(merge$slambda).
|
|
674
|
-
var i = new merge$slambda(this.
|
|
675
|
-
i.
|
|
673
|
+
protoOf(merge$slambda).cs = function ($this$sequence, completion) {
|
|
674
|
+
var i = new merge$slambda(this.bt_1, this.ct_1, completion);
|
|
675
|
+
i.dt_1 = $this$sequence;
|
|
676
676
|
return i;
|
|
677
677
|
};
|
|
678
678
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
679
679
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
680
680
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
681
|
-
return i.
|
|
681
|
+
return i.bs($this$sequence, $completion);
|
|
682
682
|
}, 1);
|
|
683
683
|
}
|
|
684
684
|
function indexed$lambda(it, i) {
|
|
685
|
-
return Companion_instance_2.
|
|
685
|
+
return Companion_instance_2.mr(i, it);
|
|
686
686
|
}
|
|
687
687
|
function assertItemsAreNotNull$lambda(it) {
|
|
688
688
|
var value = it.f2();
|
|
689
689
|
var tmp;
|
|
690
690
|
if (value == null) {
|
|
691
|
-
throw IllegalArgumentException_init_$Create$('Item at index ' + it.
|
|
691
|
+
throw IllegalArgumentException_init_$Create$('Item at index ' + it.lr() + ' is null');
|
|
692
692
|
} else {
|
|
693
693
|
tmp = value;
|
|
694
694
|
}
|
|
@@ -696,7 +696,7 @@
|
|
|
696
696
|
}
|
|
697
697
|
function Companion_3() {
|
|
698
698
|
}
|
|
699
|
-
protoOf(Companion_3).
|
|
699
|
+
protoOf(Companion_3).gt = function (index, value) {
|
|
700
700
|
return new LongIndexedImpl(index, value);
|
|
701
701
|
};
|
|
702
702
|
var Companion_instance_3;
|
|
@@ -710,7 +710,7 @@
|
|
|
710
710
|
var tmp = this;
|
|
711
711
|
// Inline function 'kotlin.text.toRegex' call
|
|
712
712
|
var this_0 = '-?[0-9]+';
|
|
713
|
-
tmp.
|
|
713
|
+
tmp.it_1 = Regex_init_$Create$(this_0);
|
|
714
714
|
}
|
|
715
715
|
var Companion_instance_4;
|
|
716
716
|
function Companion_getInstance_6() {
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
return Companion_instance_4;
|
|
720
720
|
}
|
|
721
721
|
function _get_stringRepresentation__xuqjt9($this, $receiver) {
|
|
722
|
-
return $this.
|
|
722
|
+
return $this.jt_1.vq($receiver, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($receiver));
|
|
723
723
|
}
|
|
724
724
|
function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
|
|
725
725
|
return function () {
|
|
@@ -728,41 +728,41 @@
|
|
|
728
728
|
}
|
|
729
729
|
function NumberTypeTester() {
|
|
730
730
|
Companion_getInstance_6();
|
|
731
|
-
this.
|
|
731
|
+
this.jt_1 = Companion_instance.tq(8);
|
|
732
732
|
}
|
|
733
|
-
protoOf(NumberTypeTester).
|
|
734
|
-
return Companion_getInstance_6().
|
|
733
|
+
protoOf(NumberTypeTester).kt = function (_this__u8e3s4) {
|
|
734
|
+
return Companion_getInstance_6().it_1.fb(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
735
735
|
};
|
|
736
|
-
protoOf(NumberTypeTester).
|
|
736
|
+
protoOf(NumberTypeTester).lt = function (_this__u8e3s4) {
|
|
737
737
|
return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
738
738
|
};
|
|
739
|
-
protoOf(NumberTypeTester).
|
|
739
|
+
protoOf(NumberTypeTester).mt = function (_this__u8e3s4) {
|
|
740
740
|
return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
741
741
|
};
|
|
742
|
-
protoOf(NumberTypeTester).
|
|
743
|
-
return this.
|
|
742
|
+
protoOf(NumberTypeTester).nt = function (number) {
|
|
743
|
+
return this.kt(number);
|
|
744
744
|
};
|
|
745
|
-
protoOf(NumberTypeTester).
|
|
746
|
-
return this.
|
|
745
|
+
protoOf(NumberTypeTester).ot = function (number) {
|
|
746
|
+
return this.lt(number);
|
|
747
747
|
};
|
|
748
|
-
protoOf(NumberTypeTester).
|
|
749
|
-
return this.
|
|
748
|
+
protoOf(NumberTypeTester).pt = function (number) {
|
|
749
|
+
return this.mt(number);
|
|
750
750
|
};
|
|
751
751
|
function Companion_5() {
|
|
752
752
|
}
|
|
753
|
-
protoOf(Companion_5).
|
|
753
|
+
protoOf(Companion_5).qt = function (value) {
|
|
754
754
|
return new Some(value);
|
|
755
755
|
};
|
|
756
|
-
protoOf(Companion_5).
|
|
756
|
+
protoOf(Companion_5).cr = function (value) {
|
|
757
757
|
var tmp;
|
|
758
758
|
if (value == null) {
|
|
759
|
-
tmp = this.
|
|
759
|
+
tmp = this.br();
|
|
760
760
|
} else {
|
|
761
|
-
tmp = this.
|
|
761
|
+
tmp = this.qt(value);
|
|
762
762
|
}
|
|
763
763
|
return tmp;
|
|
764
764
|
};
|
|
765
|
-
protoOf(Companion_5).
|
|
765
|
+
protoOf(Companion_5).br = function () {
|
|
766
766
|
return None_getInstance();
|
|
767
767
|
};
|
|
768
768
|
var Companion_instance_5;
|
|
@@ -771,26 +771,26 @@
|
|
|
771
771
|
}
|
|
772
772
|
function Some(value) {
|
|
773
773
|
Optional.call(this);
|
|
774
|
-
this.
|
|
774
|
+
this.wq_1 = value;
|
|
775
775
|
}
|
|
776
776
|
protoOf(Some).f2 = function () {
|
|
777
|
-
return this.
|
|
777
|
+
return this.wq_1;
|
|
778
778
|
};
|
|
779
|
-
protoOf(Some).
|
|
779
|
+
protoOf(Some).rt = function () {
|
|
780
780
|
return true;
|
|
781
781
|
};
|
|
782
782
|
protoOf(Some).toString = function () {
|
|
783
|
-
return 'Some(' + toString_0(this.
|
|
783
|
+
return 'Some(' + toString_0(this.wq_1) + ')';
|
|
784
784
|
};
|
|
785
785
|
protoOf(Some).hashCode = function () {
|
|
786
|
-
return this.
|
|
786
|
+
return this.wq_1 == null ? 0 : hashCode(this.wq_1);
|
|
787
787
|
};
|
|
788
788
|
protoOf(Some).equals = function (other) {
|
|
789
789
|
if (this === other)
|
|
790
790
|
return true;
|
|
791
791
|
if (!(other instanceof Some))
|
|
792
792
|
return false;
|
|
793
|
-
if (!equals(this.
|
|
793
|
+
if (!equals(this.wq_1, other.wq_1))
|
|
794
794
|
return false;
|
|
795
795
|
return true;
|
|
796
796
|
};
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
protoOf(None).f2 = function () {
|
|
802
802
|
return null;
|
|
803
803
|
};
|
|
804
|
-
protoOf(None).
|
|
804
|
+
protoOf(None).rt = function () {
|
|
805
805
|
return false;
|
|
806
806
|
};
|
|
807
807
|
protoOf(None).toString = function () {
|
|
@@ -815,8 +815,8 @@
|
|
|
815
815
|
}
|
|
816
816
|
function Optional() {
|
|
817
817
|
}
|
|
818
|
-
protoOf(Optional).
|
|
819
|
-
return !this.
|
|
818
|
+
protoOf(Optional).st = function () {
|
|
819
|
+
return !this.rt();
|
|
820
820
|
};
|
|
821
821
|
function Taggable() {
|
|
822
822
|
}
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
}
|
|
830
830
|
function Companion_6() {
|
|
831
831
|
}
|
|
832
|
-
protoOf(Companion_6).
|
|
832
|
+
protoOf(Companion_6).kr = function (source) {
|
|
833
833
|
var tmp;
|
|
834
834
|
if (source.q()) {
|
|
835
835
|
tmp = new LazyCursor(source);
|
|
@@ -843,20 +843,20 @@
|
|
|
843
843
|
return Companion_instance_6;
|
|
844
844
|
}
|
|
845
845
|
function AbstractCursor$iterator$1(this$0) {
|
|
846
|
-
this.
|
|
846
|
+
this.ut_1 = this$0;
|
|
847
847
|
}
|
|
848
848
|
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
849
|
-
return !this.
|
|
849
|
+
return !this.ut_1.jr();
|
|
850
850
|
};
|
|
851
851
|
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
852
|
-
var result = this.
|
|
853
|
-
this.
|
|
852
|
+
var result = this.ut_1.hr();
|
|
853
|
+
this.ut_1 = this.ut_1.gr();
|
|
854
854
|
return ensureNotNull(result);
|
|
855
855
|
};
|
|
856
856
|
function AbstractCursor() {
|
|
857
857
|
}
|
|
858
858
|
protoOf(AbstractCursor).toString = function () {
|
|
859
|
-
return this.
|
|
859
|
+
return this.jr() ? '[]' : !this.ir() ? '[' + toString_0(this.hr()) + ']' : '[' + toString_0(this.hr()) + ', ...]';
|
|
860
860
|
};
|
|
861
861
|
protoOf(AbstractCursor).n = function () {
|
|
862
862
|
return new AbstractCursor$iterator$1(this);
|
|
@@ -864,84 +864,84 @@
|
|
|
864
864
|
protoOf(AbstractCursor).iterator = function () {
|
|
865
865
|
return this.n();
|
|
866
866
|
};
|
|
867
|
-
protoOf(AbstractCursor).
|
|
867
|
+
protoOf(AbstractCursor).vt = function () {
|
|
868
868
|
return false;
|
|
869
869
|
};
|
|
870
|
-
protoOf(AbstractCursor).
|
|
870
|
+
protoOf(AbstractCursor).wt = function (mapper) {
|
|
871
871
|
return new MapperCursor(this, mapper);
|
|
872
872
|
};
|
|
873
873
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
874
|
-
return this.
|
|
874
|
+
return this.wt(mapper);
|
|
875
875
|
};
|
|
876
876
|
function CachedImpl(generator) {
|
|
877
|
-
this.
|
|
878
|
-
this.
|
|
877
|
+
this.xt_1 = generator;
|
|
878
|
+
this.yt_1 = Companion_instance_5.br();
|
|
879
879
|
}
|
|
880
|
-
protoOf(CachedImpl).
|
|
881
|
-
return this.
|
|
880
|
+
protoOf(CachedImpl).yq = function () {
|
|
881
|
+
return this.yt_1.rt();
|
|
882
882
|
};
|
|
883
|
-
protoOf(CachedImpl).
|
|
884
|
-
return this.
|
|
883
|
+
protoOf(CachedImpl).zt = function () {
|
|
884
|
+
return this.yt_1.st();
|
|
885
885
|
};
|
|
886
886
|
protoOf(CachedImpl).f2 = function () {
|
|
887
|
-
this.
|
|
888
|
-
return ensureNotNull(this.
|
|
887
|
+
this.au();
|
|
888
|
+
return ensureNotNull(this.yt_1.f2());
|
|
889
889
|
};
|
|
890
|
-
protoOf(CachedImpl).
|
|
891
|
-
if (this.
|
|
892
|
-
this.
|
|
890
|
+
protoOf(CachedImpl).au = function () {
|
|
891
|
+
if (this.zt()) {
|
|
892
|
+
this.yt_1 = Companion_instance_5.qt(this.xt_1());
|
|
893
893
|
}
|
|
894
894
|
};
|
|
895
|
-
protoOf(CachedImpl).
|
|
896
|
-
this.
|
|
895
|
+
protoOf(CachedImpl).zq = function () {
|
|
896
|
+
this.yt_1 = Companion_instance_5.br();
|
|
897
897
|
};
|
|
898
898
|
protoOf(CachedImpl).toString = function () {
|
|
899
|
-
return 'CachedImpl(generator=' + toString(this.
|
|
899
|
+
return 'CachedImpl(generator=' + toString(this.xt_1) + ')';
|
|
900
900
|
};
|
|
901
901
|
protoOf(CachedImpl).hashCode = function () {
|
|
902
|
-
return hashCode(this.
|
|
902
|
+
return hashCode(this.xt_1);
|
|
903
903
|
};
|
|
904
904
|
protoOf(CachedImpl).equals = function (other) {
|
|
905
905
|
if (this === other)
|
|
906
906
|
return true;
|
|
907
907
|
if (!(other instanceof CachedImpl))
|
|
908
908
|
return false;
|
|
909
|
-
if (!equals(this.
|
|
909
|
+
if (!equals(this.xt_1, other.xt_1))
|
|
910
910
|
return false;
|
|
911
911
|
return true;
|
|
912
912
|
};
|
|
913
913
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
914
914
|
return function () {
|
|
915
|
-
return this$0.
|
|
915
|
+
return this$0.bu_1.ir() ? new ConjunctionCursor(this$0.bu_1.gr(), this$0.cu_1) : this$0.cu_1.vt() ? this$0.cu_1.gr() : this$0.cu_1;
|
|
916
916
|
};
|
|
917
917
|
}
|
|
918
918
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
919
919
|
return constructCallableReference(function (p0) {
|
|
920
|
-
return p0.
|
|
920
|
+
return p0.gr();
|
|
921
921
|
}, 1, 0, 2);
|
|
922
922
|
}
|
|
923
923
|
function ConjunctionCursor(first, second) {
|
|
924
924
|
AbstractCursor.call(this);
|
|
925
|
-
this.
|
|
926
|
-
this.
|
|
925
|
+
this.bu_1 = first;
|
|
926
|
+
this.cu_1 = second;
|
|
927
927
|
var tmp = this;
|
|
928
|
-
tmp.
|
|
928
|
+
tmp.du_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
929
929
|
}
|
|
930
|
-
protoOf(ConjunctionCursor).
|
|
931
|
-
return this.
|
|
930
|
+
protoOf(ConjunctionCursor).jr = function () {
|
|
931
|
+
return this.bu_1.jr() && this.cu_1.jr();
|
|
932
932
|
};
|
|
933
|
-
protoOf(ConjunctionCursor).
|
|
934
|
-
var tmp0 = this.
|
|
933
|
+
protoOf(ConjunctionCursor).gr = function () {
|
|
934
|
+
var tmp0 = this.du_1;
|
|
935
935
|
var tmp = KProperty1;
|
|
936
936
|
// Inline function 'kotlin.getValue' call
|
|
937
937
|
/* dead property reference removed */
|
|
938
938
|
return tmp0.f2();
|
|
939
939
|
};
|
|
940
|
-
protoOf(ConjunctionCursor).
|
|
941
|
-
return this.
|
|
940
|
+
protoOf(ConjunctionCursor).hr = function () {
|
|
941
|
+
return this.bu_1.ir() ? this.bu_1.hr() : this.cu_1.hr();
|
|
942
942
|
};
|
|
943
|
-
protoOf(ConjunctionCursor).
|
|
944
|
-
return this.
|
|
943
|
+
protoOf(ConjunctionCursor).ir = function () {
|
|
944
|
+
return this.bu_1.ir() || this.cu_1.ir();
|
|
945
945
|
};
|
|
946
946
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
947
947
|
if (this === other)
|
|
@@ -950,44 +950,44 @@
|
|
|
950
950
|
return false;
|
|
951
951
|
if (!(other instanceof ConjunctionCursor))
|
|
952
952
|
THROW_CCE();
|
|
953
|
-
if (!equals(this.
|
|
953
|
+
if (!equals(this.bu_1, other.bu_1))
|
|
954
954
|
return false;
|
|
955
|
-
if (!equals(this.
|
|
955
|
+
if (!equals(this.cu_1, other.cu_1))
|
|
956
956
|
return false;
|
|
957
957
|
return true;
|
|
958
958
|
};
|
|
959
959
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
960
|
-
var result = hashCode(this.
|
|
961
|
-
result = imul(31, result) + hashCode(this.
|
|
960
|
+
var result = hashCode(this.bu_1);
|
|
961
|
+
result = imul(31, result) + hashCode(this.cu_1) | 0;
|
|
962
962
|
return result;
|
|
963
963
|
};
|
|
964
964
|
function EmptyCursor() {
|
|
965
965
|
EmptyCursor_instance = this;
|
|
966
966
|
AbstractCursor.call(this);
|
|
967
967
|
}
|
|
968
|
-
protoOf(EmptyCursor).
|
|
968
|
+
protoOf(EmptyCursor).gr = function () {
|
|
969
969
|
throw NoSuchElementException_init_$Create$();
|
|
970
970
|
};
|
|
971
|
-
protoOf(EmptyCursor).
|
|
971
|
+
protoOf(EmptyCursor).hr = function () {
|
|
972
972
|
return null;
|
|
973
973
|
};
|
|
974
|
-
protoOf(EmptyCursor).
|
|
974
|
+
protoOf(EmptyCursor).ir = function () {
|
|
975
975
|
return false;
|
|
976
976
|
};
|
|
977
|
-
protoOf(EmptyCursor).
|
|
977
|
+
protoOf(EmptyCursor).jr = function () {
|
|
978
978
|
return true;
|
|
979
979
|
};
|
|
980
980
|
protoOf(EmptyCursor).toString = function () {
|
|
981
981
|
return protoOf(AbstractCursor).toString.call(this);
|
|
982
982
|
};
|
|
983
|
-
protoOf(EmptyCursor).
|
|
983
|
+
protoOf(EmptyCursor).eu = function (mapper) {
|
|
984
984
|
return this;
|
|
985
985
|
};
|
|
986
986
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
987
|
-
return this.
|
|
987
|
+
return this.eu(mapper);
|
|
988
988
|
};
|
|
989
|
-
protoOf(EmptyCursor).
|
|
990
|
-
return this.
|
|
989
|
+
protoOf(EmptyCursor).wt = function (mapper) {
|
|
990
|
+
return this.eu(mapper);
|
|
991
991
|
};
|
|
992
992
|
var EmptyCursor_instance;
|
|
993
993
|
function EmptyCursor_getInstance() {
|
|
@@ -996,27 +996,27 @@
|
|
|
996
996
|
return EmptyCursor_instance;
|
|
997
997
|
}
|
|
998
998
|
function IntIndexedImpl(index, value) {
|
|
999
|
-
this.
|
|
1000
|
-
this.
|
|
999
|
+
this.fu_1 = index;
|
|
1000
|
+
this.gu_1 = value;
|
|
1001
1001
|
}
|
|
1002
|
-
protoOf(IntIndexedImpl).
|
|
1003
|
-
return this.
|
|
1002
|
+
protoOf(IntIndexedImpl).lr = function () {
|
|
1003
|
+
return this.fu_1;
|
|
1004
1004
|
};
|
|
1005
1005
|
protoOf(IntIndexedImpl).f2 = function () {
|
|
1006
|
-
return this.
|
|
1006
|
+
return this.gu_1;
|
|
1007
1007
|
};
|
|
1008
|
-
protoOf(IntIndexedImpl).
|
|
1009
|
-
return this.
|
|
1008
|
+
protoOf(IntIndexedImpl).td = function () {
|
|
1009
|
+
return this.fu_1;
|
|
1010
1010
|
};
|
|
1011
|
-
protoOf(IntIndexedImpl).
|
|
1012
|
-
return this.
|
|
1011
|
+
protoOf(IntIndexedImpl).ud = function () {
|
|
1012
|
+
return this.gu_1;
|
|
1013
1013
|
};
|
|
1014
1014
|
protoOf(IntIndexedImpl).toString = function () {
|
|
1015
|
-
return 'IntIndexedImpl(index=' + this.
|
|
1015
|
+
return 'IntIndexedImpl(index=' + this.fu_1 + ', value=' + toString_0(this.gu_1) + ')';
|
|
1016
1016
|
};
|
|
1017
1017
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
1018
|
-
var result = this.
|
|
1019
|
-
result = imul(result, 31) + (this.
|
|
1018
|
+
var result = this.fu_1;
|
|
1019
|
+
result = imul(result, 31) + (this.gu_1 == null ? 0 : hashCode(this.gu_1)) | 0;
|
|
1020
1020
|
return result;
|
|
1021
1021
|
};
|
|
1022
1022
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -1024,17 +1024,17 @@
|
|
|
1024
1024
|
return true;
|
|
1025
1025
|
if (!(other instanceof IntIndexedImpl))
|
|
1026
1026
|
return false;
|
|
1027
|
-
if (!(this.
|
|
1027
|
+
if (!(this.fu_1 === other.fu_1))
|
|
1028
1028
|
return false;
|
|
1029
|
-
if (!equals(this.
|
|
1029
|
+
if (!equals(this.gu_1, other.gu_1))
|
|
1030
1030
|
return false;
|
|
1031
1031
|
return true;
|
|
1032
1032
|
};
|
|
1033
1033
|
protoOf(IntIndexedImpl).d = function (other) {
|
|
1034
|
-
return this.
|
|
1034
|
+
return this.nr((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
1035
1035
|
};
|
|
1036
1036
|
function _get_wrapped__s2ip8($this) {
|
|
1037
|
-
var tmp0 = $this.
|
|
1037
|
+
var tmp0 = $this.iu_1;
|
|
1038
1038
|
var tmp = KProperty1;
|
|
1039
1039
|
// Inline function 'kotlin.getValue' call
|
|
1040
1040
|
/* dead property reference removed */
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
}
|
|
1043
1043
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
1044
1044
|
return function () {
|
|
1045
|
-
return new NonLastCursor(this$0.
|
|
1045
|
+
return new NonLastCursor(this$0.hu_1);
|
|
1046
1046
|
};
|
|
1047
1047
|
}
|
|
1048
1048
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
@@ -1052,23 +1052,23 @@
|
|
|
1052
1052
|
}
|
|
1053
1053
|
function LazyCursor(delegate) {
|
|
1054
1054
|
AbstractCursor.call(this);
|
|
1055
|
-
this.
|
|
1055
|
+
this.hu_1 = delegate;
|
|
1056
1056
|
var tmp = this;
|
|
1057
|
-
tmp.
|
|
1057
|
+
tmp.iu_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
1058
1058
|
}
|
|
1059
|
-
protoOf(LazyCursor).
|
|
1059
|
+
protoOf(LazyCursor).vt = function () {
|
|
1060
1060
|
return true;
|
|
1061
1061
|
};
|
|
1062
|
-
protoOf(LazyCursor).
|
|
1063
|
-
return _get_wrapped__s2ip8(this).
|
|
1062
|
+
protoOf(LazyCursor).gr = function () {
|
|
1063
|
+
return _get_wrapped__s2ip8(this).gr();
|
|
1064
1064
|
};
|
|
1065
|
-
protoOf(LazyCursor).
|
|
1066
|
-
return _get_wrapped__s2ip8(this).
|
|
1065
|
+
protoOf(LazyCursor).hr = function () {
|
|
1066
|
+
return _get_wrapped__s2ip8(this).hr();
|
|
1067
1067
|
};
|
|
1068
|
-
protoOf(LazyCursor).
|
|
1068
|
+
protoOf(LazyCursor).ir = function () {
|
|
1069
1069
|
return true;
|
|
1070
1070
|
};
|
|
1071
|
-
protoOf(LazyCursor).
|
|
1071
|
+
protoOf(LazyCursor).jr = function () {
|
|
1072
1072
|
return false;
|
|
1073
1073
|
};
|
|
1074
1074
|
protoOf(LazyCursor).toString = function () {
|
|
@@ -1081,45 +1081,45 @@
|
|
|
1081
1081
|
return this.n();
|
|
1082
1082
|
};
|
|
1083
1083
|
protoOf(LazyCursor).hashCode = function () {
|
|
1084
|
-
return hashCode(this.
|
|
1084
|
+
return hashCode(this.hu_1);
|
|
1085
1085
|
};
|
|
1086
1086
|
protoOf(LazyCursor).equals = function (other) {
|
|
1087
1087
|
if (this === other)
|
|
1088
1088
|
return true;
|
|
1089
1089
|
if (!(other instanceof LazyCursor))
|
|
1090
1090
|
return false;
|
|
1091
|
-
if (!equals(this.
|
|
1091
|
+
if (!equals(this.hu_1, other.hu_1))
|
|
1092
1092
|
return false;
|
|
1093
1093
|
return true;
|
|
1094
1094
|
};
|
|
1095
1095
|
function LongIndexedImpl(index, value) {
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1096
|
+
this.ju_1 = index;
|
|
1097
|
+
this.ku_1 = value;
|
|
1098
1098
|
}
|
|
1099
|
-
protoOf(LongIndexedImpl).
|
|
1100
|
-
return this.
|
|
1099
|
+
protoOf(LongIndexedImpl).lr = function () {
|
|
1100
|
+
return this.ju_1;
|
|
1101
1101
|
};
|
|
1102
1102
|
protoOf(LongIndexedImpl).f2 = function () {
|
|
1103
|
-
return this.
|
|
1103
|
+
return this.ku_1;
|
|
1104
1104
|
};
|
|
1105
|
-
protoOf(LongIndexedImpl).
|
|
1106
|
-
return convertToInt(subtract(this.
|
|
1105
|
+
protoOf(LongIndexedImpl).ht = function (other) {
|
|
1106
|
+
return convertToInt(subtract(this.ju_1, other.lr()));
|
|
1107
1107
|
};
|
|
1108
1108
|
protoOf(LongIndexedImpl).d = function (other) {
|
|
1109
|
-
return this.
|
|
1109
|
+
return this.ht((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1110
1110
|
};
|
|
1111
|
-
protoOf(LongIndexedImpl).
|
|
1112
|
-
return this.
|
|
1111
|
+
protoOf(LongIndexedImpl).td = function () {
|
|
1112
|
+
return this.ju_1;
|
|
1113
1113
|
};
|
|
1114
|
-
protoOf(LongIndexedImpl).
|
|
1115
|
-
return this.
|
|
1114
|
+
protoOf(LongIndexedImpl).ud = function () {
|
|
1115
|
+
return this.ku_1;
|
|
1116
1116
|
};
|
|
1117
1117
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1118
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1118
|
+
return 'LongIndexedImpl(index=' + this.ju_1.toString() + ', value=' + toString_0(this.ku_1) + ')';
|
|
1119
1119
|
};
|
|
1120
1120
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1121
|
-
var result = getBigIntHashCode(this.
|
|
1122
|
-
result = imul(result, 31) + (this.
|
|
1121
|
+
var result = getBigIntHashCode(this.ju_1);
|
|
1122
|
+
result = imul(result, 31) + (this.ku_1 == null ? 0 : hashCode(this.ku_1)) | 0;
|
|
1123
1123
|
return result;
|
|
1124
1124
|
};
|
|
1125
1125
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1127,43 +1127,43 @@
|
|
|
1127
1127
|
return true;
|
|
1128
1128
|
if (!(other instanceof LongIndexedImpl))
|
|
1129
1129
|
return false;
|
|
1130
|
-
if (!(this.
|
|
1130
|
+
if (!(this.ju_1 === other.ju_1))
|
|
1131
1131
|
return false;
|
|
1132
|
-
if (!equals(this.
|
|
1132
|
+
if (!equals(this.ku_1, other.ku_1))
|
|
1133
1133
|
return false;
|
|
1134
1134
|
return true;
|
|
1135
1135
|
};
|
|
1136
1136
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1137
1137
|
return function () {
|
|
1138
|
-
return this$0.
|
|
1138
|
+
return this$0.mu_1(ensureNotNull(this$0.lu_1.hr()));
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
1141
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1142
1142
|
return constructCallableReference(function (p0) {
|
|
1143
|
-
return p0.
|
|
1143
|
+
return p0.hr();
|
|
1144
1144
|
}, 1, 0, 4);
|
|
1145
1145
|
}
|
|
1146
1146
|
function MapperCursor(wrapped, mapper) {
|
|
1147
1147
|
AbstractCursor.call(this);
|
|
1148
|
-
this.
|
|
1149
|
-
this.
|
|
1148
|
+
this.lu_1 = wrapped;
|
|
1149
|
+
this.mu_1 = mapper;
|
|
1150
1150
|
var tmp = this;
|
|
1151
|
-
tmp.
|
|
1151
|
+
tmp.nu_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1152
1152
|
}
|
|
1153
|
-
protoOf(MapperCursor).
|
|
1154
|
-
return this.
|
|
1153
|
+
protoOf(MapperCursor).gr = function () {
|
|
1154
|
+
return this.lu_1.gr().wt(this.mu_1);
|
|
1155
1155
|
};
|
|
1156
|
-
protoOf(MapperCursor).
|
|
1157
|
-
var tmp0 = this.
|
|
1156
|
+
protoOf(MapperCursor).hr = function () {
|
|
1157
|
+
var tmp0 = this.nu_1;
|
|
1158
1158
|
var tmp = KProperty1;
|
|
1159
1159
|
// Inline function 'kotlin.getValue' call
|
|
1160
1160
|
/* dead property reference removed */
|
|
1161
1161
|
return tmp0.f2();
|
|
1162
1162
|
};
|
|
1163
|
-
protoOf(MapperCursor).
|
|
1163
|
+
protoOf(MapperCursor).ir = function () {
|
|
1164
1164
|
return true;
|
|
1165
1165
|
};
|
|
1166
|
-
protoOf(MapperCursor).
|
|
1166
|
+
protoOf(MapperCursor).jr = function () {
|
|
1167
1167
|
return false;
|
|
1168
1168
|
};
|
|
1169
1169
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1173,60 +1173,60 @@
|
|
|
1173
1173
|
return false;
|
|
1174
1174
|
if (!(other instanceof MapperCursor))
|
|
1175
1175
|
THROW_CCE();
|
|
1176
|
-
if (!equals(this.
|
|
1176
|
+
if (!equals(this.lu_1, other.lu_1))
|
|
1177
1177
|
return false;
|
|
1178
|
-
if (!equals(this.
|
|
1178
|
+
if (!equals(this.mu_1, other.mu_1))
|
|
1179
1179
|
return false;
|
|
1180
1180
|
return true;
|
|
1181
1181
|
};
|
|
1182
1182
|
protoOf(MapperCursor).hashCode = function () {
|
|
1183
|
-
var result = hashCode(this.
|
|
1184
|
-
result = imul(31, result) + hashCode(this.
|
|
1183
|
+
var result = hashCode(this.lu_1);
|
|
1184
|
+
result = imul(31, result) + hashCode(this.mu_1) | 0;
|
|
1185
1185
|
return result;
|
|
1186
1186
|
};
|
|
1187
|
-
protoOf(MapperCursor).
|
|
1188
|
-
return new ValueCursor(mapper(this.
|
|
1187
|
+
protoOf(MapperCursor).ou = function (mapper) {
|
|
1188
|
+
return new ValueCursor(mapper(this.hr()), this.gr().wt(mapper));
|
|
1189
1189
|
};
|
|
1190
1190
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1191
|
-
return this.
|
|
1191
|
+
return this.ou(mapper);
|
|
1192
1192
|
};
|
|
1193
|
-
protoOf(MapperCursor).
|
|
1194
|
-
return this.
|
|
1193
|
+
protoOf(MapperCursor).wt = function (mapper) {
|
|
1194
|
+
return this.ou(mapper);
|
|
1195
1195
|
};
|
|
1196
1196
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1197
1197
|
return function () {
|
|
1198
1198
|
// Inline function 'kotlin.also' call
|
|
1199
|
-
var this_0 = Companion_instance_6.
|
|
1200
|
-
this$0.
|
|
1199
|
+
var this_0 = Companion_instance_6.kr($source);
|
|
1200
|
+
this$0.pu_1 = null;
|
|
1201
1201
|
return this_0;
|
|
1202
1202
|
};
|
|
1203
1203
|
}
|
|
1204
1204
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1205
1205
|
return constructCallableReference(function (p0) {
|
|
1206
|
-
return p0.
|
|
1206
|
+
return p0.gr();
|
|
1207
1207
|
}, 1, 0, 5);
|
|
1208
1208
|
}
|
|
1209
1209
|
function NonLastCursor(source) {
|
|
1210
1210
|
AbstractCursor.call(this);
|
|
1211
|
-
this.
|
|
1211
|
+
this.pu_1 = source;
|
|
1212
1212
|
var tmp = this;
|
|
1213
|
-
tmp.
|
|
1214
|
-
this.
|
|
1213
|
+
tmp.qu_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1214
|
+
this.ru_1 = source.r();
|
|
1215
1215
|
}
|
|
1216
|
-
protoOf(NonLastCursor).
|
|
1217
|
-
var tmp0 = this.
|
|
1216
|
+
protoOf(NonLastCursor).gr = function () {
|
|
1217
|
+
var tmp0 = this.qu_1;
|
|
1218
1218
|
var tmp = KProperty1;
|
|
1219
1219
|
// Inline function 'kotlin.getValue' call
|
|
1220
1220
|
/* dead property reference removed */
|
|
1221
1221
|
return tmp0.f2();
|
|
1222
1222
|
};
|
|
1223
|
-
protoOf(NonLastCursor).
|
|
1224
|
-
return this.
|
|
1223
|
+
protoOf(NonLastCursor).hr = function () {
|
|
1224
|
+
return this.ru_1;
|
|
1225
1225
|
};
|
|
1226
|
-
protoOf(NonLastCursor).
|
|
1226
|
+
protoOf(NonLastCursor).ir = function () {
|
|
1227
1227
|
return true;
|
|
1228
1228
|
};
|
|
1229
|
-
protoOf(NonLastCursor).
|
|
1229
|
+
protoOf(NonLastCursor).jr = function () {
|
|
1230
1230
|
return false;
|
|
1231
1231
|
};
|
|
1232
1232
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1234,42 +1234,42 @@
|
|
|
1234
1234
|
};
|
|
1235
1235
|
function removeLeastRecent($this) {
|
|
1236
1236
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1237
|
-
var tmp$ret$0 = $this.
|
|
1237
|
+
var tmp$ret$0 = $this.tu_1.d1();
|
|
1238
1238
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1239
1239
|
// Inline function 'kotlin.collections.component1' call
|
|
1240
1240
|
var key = _destruct__k2r9zo.e2();
|
|
1241
1241
|
// Inline function 'kotlin.collections.component2' call
|
|
1242
1242
|
var value = _destruct__k2r9zo.f2();
|
|
1243
|
-
$this.
|
|
1244
|
-
return Companion_instance_5.
|
|
1243
|
+
$this.tu_1.r4(key);
|
|
1244
|
+
return Companion_instance_5.qt(to(key, value));
|
|
1245
1245
|
}
|
|
1246
1246
|
function removeLeastRecentIfNecessary($this) {
|
|
1247
1247
|
var tmp;
|
|
1248
|
-
if ($this.
|
|
1248
|
+
if ($this.tu_1.t() >= $this.su_1) {
|
|
1249
1249
|
tmp = removeLeastRecent($this);
|
|
1250
1250
|
} else {
|
|
1251
|
-
tmp = Companion_instance_5.
|
|
1251
|
+
tmp = Companion_instance_5.br();
|
|
1252
1252
|
}
|
|
1253
1253
|
return tmp;
|
|
1254
1254
|
}
|
|
1255
1255
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1256
1256
|
return function () {
|
|
1257
1257
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1258
|
-
var tmp0 = this$0.
|
|
1258
|
+
var tmp0 = this$0.tu_1;
|
|
1259
1259
|
var tmp2 = $key;
|
|
1260
1260
|
// Inline function 'kotlin.collections.set' call
|
|
1261
1261
|
var value = $value;
|
|
1262
|
-
tmp0.
|
|
1262
|
+
tmp0.q4(tmp2, value);
|
|
1263
1263
|
return evicted;
|
|
1264
1264
|
};
|
|
1265
1265
|
}
|
|
1266
1266
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1267
1267
|
return function () {
|
|
1268
1268
|
var tmp;
|
|
1269
|
-
if (this$0.
|
|
1270
|
-
tmp = Companion_instance_5.
|
|
1269
|
+
if (this$0.tu_1.g2($key)) {
|
|
1270
|
+
tmp = Companion_instance_5.cr(this$0.tu_1.i2($key));
|
|
1271
1271
|
} else {
|
|
1272
|
-
tmp = Companion_instance_5.
|
|
1272
|
+
tmp = Companion_instance_5.br();
|
|
1273
1273
|
}
|
|
1274
1274
|
return tmp;
|
|
1275
1275
|
};
|
|
@@ -1280,7 +1280,7 @@
|
|
|
1280
1280
|
}
|
|
1281
1281
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1282
1282
|
return function () {
|
|
1283
|
-
var tmp = asSequence(this$0.
|
|
1283
|
+
var tmp = asSequence(this$0.tu_1.d1());
|
|
1284
1284
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1285
1285
|
};
|
|
1286
1286
|
}
|
|
@@ -1288,16 +1288,16 @@
|
|
|
1288
1288
|
return toString_0(it.first) + ' = ' + toString_0(it.second);
|
|
1289
1289
|
}
|
|
1290
1290
|
function SimpleLRUCache(capacity) {
|
|
1291
|
-
this.
|
|
1291
|
+
this.su_1 = capacity;
|
|
1292
1292
|
// Inline function 'kotlin.require' call
|
|
1293
1293
|
// Inline function 'kotlin.require' call
|
|
1294
|
-
if (!(this.
|
|
1294
|
+
if (!(this.su_1 > 0)) {
|
|
1295
1295
|
var message = 'Failed requirement.';
|
|
1296
1296
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1297
1297
|
}
|
|
1298
|
-
this.
|
|
1298
|
+
this.tu_1 = LinkedHashMap_init_$Create$();
|
|
1299
1299
|
}
|
|
1300
|
-
protoOf(SimpleLRUCache).
|
|
1300
|
+
protoOf(SimpleLRUCache).uq = function (key, value) {
|
|
1301
1301
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1302
1302
|
};
|
|
1303
1303
|
protoOf(SimpleLRUCache).i2 = function (key) {
|
|
@@ -1310,39 +1310,39 @@
|
|
|
1310
1310
|
return false;
|
|
1311
1311
|
if (!(other instanceof SimpleLRUCache))
|
|
1312
1312
|
THROW_CCE();
|
|
1313
|
-
if (!(this.
|
|
1313
|
+
if (!(this.su_1 === other.su_1))
|
|
1314
1314
|
return false;
|
|
1315
|
-
if (!this.
|
|
1315
|
+
if (!this.tu_1.equals(other.tu_1))
|
|
1316
1316
|
return false;
|
|
1317
1317
|
return true;
|
|
1318
1318
|
};
|
|
1319
1319
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1320
|
-
var result = this.
|
|
1321
|
-
result = imul(31, result) + this.
|
|
1320
|
+
var result = this.su_1;
|
|
1321
|
+
result = imul(31, result) + this.tu_1.hashCode() | 0;
|
|
1322
1322
|
return result;
|
|
1323
1323
|
};
|
|
1324
|
-
protoOf(SimpleLRUCache).
|
|
1324
|
+
protoOf(SimpleLRUCache).uu = function () {
|
|
1325
1325
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1326
1326
|
};
|
|
1327
1327
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1328
|
-
var tmp = this.
|
|
1328
|
+
var tmp = this.uu();
|
|
1329
1329
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1330
1330
|
};
|
|
1331
1331
|
function ValueCursor(current, next) {
|
|
1332
1332
|
AbstractCursor.call(this);
|
|
1333
|
-
this.
|
|
1334
|
-
this.
|
|
1333
|
+
this.vu_1 = current;
|
|
1334
|
+
this.wu_1 = next;
|
|
1335
1335
|
}
|
|
1336
|
-
protoOf(ValueCursor).
|
|
1337
|
-
return this.
|
|
1336
|
+
protoOf(ValueCursor).hr = function () {
|
|
1337
|
+
return this.vu_1;
|
|
1338
1338
|
};
|
|
1339
|
-
protoOf(ValueCursor).
|
|
1340
|
-
return this.
|
|
1339
|
+
protoOf(ValueCursor).gr = function () {
|
|
1340
|
+
return this.wu_1;
|
|
1341
1341
|
};
|
|
1342
|
-
protoOf(ValueCursor).
|
|
1342
|
+
protoOf(ValueCursor).ir = function () {
|
|
1343
1343
|
return true;
|
|
1344
1344
|
};
|
|
1345
|
-
protoOf(ValueCursor).
|
|
1345
|
+
protoOf(ValueCursor).jr = function () {
|
|
1346
1346
|
return false;
|
|
1347
1347
|
};
|
|
1348
1348
|
function dequeOf(items) {
|
|
@@ -1362,18 +1362,18 @@
|
|
|
1362
1362
|
if (_this__u8e3s4.h())
|
|
1363
1363
|
return null;
|
|
1364
1364
|
var first = _this__u8e3s4.u(0);
|
|
1365
|
-
_this__u8e3s4.
|
|
1365
|
+
_this__u8e3s4.o3(0);
|
|
1366
1366
|
return first;
|
|
1367
1367
|
}
|
|
1368
1368
|
function addFirst(_this__u8e3s4, item) {
|
|
1369
|
-
_this__u8e3s4.
|
|
1369
|
+
_this__u8e3s4.z3(0, item);
|
|
1370
1370
|
}
|
|
1371
1371
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1372
|
-
var i = _this__u8e3s4.
|
|
1372
|
+
var i = _this__u8e3s4.h4();
|
|
1373
1373
|
var _iterator__ex2g4s = items.n();
|
|
1374
1374
|
while (_iterator__ex2g4s.q()) {
|
|
1375
1375
|
var item = _iterator__ex2g4s.r();
|
|
1376
|
-
i.
|
|
1376
|
+
i.a4(item);
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
function synchronizedOn(obj, action) {
|
|
@@ -1386,9 +1386,9 @@
|
|
|
1386
1386
|
//region block: post-declaration
|
|
1387
1387
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1388
1388
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1389
|
-
protoOf(CachedImpl).
|
|
1390
|
-
protoOf(IntIndexedImpl).
|
|
1391
|
-
protoOf(SimpleLRUCache).
|
|
1389
|
+
protoOf(CachedImpl).ar = ifValid;
|
|
1390
|
+
protoOf(IntIndexedImpl).nr = compareTo_0;
|
|
1391
|
+
protoOf(SimpleLRUCache).vq = getOrSet;
|
|
1392
1392
|
//endregion
|
|
1393
1393
|
//region block: init
|
|
1394
1394
|
Companion_instance = new Companion();
|