@tuprolog/2p-full 3.0.6 → 3.0.8
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-bdd.js +159 -159
- package/2p-core.js +2210 -2140
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +765 -766
- package/2p-io-lib.js.map +1 -1
- package/2p-oop-lib.js +890 -892
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +105 -115
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1421 -1418
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +56 -56
- package/2p-repl.js +149 -142
- package/2p-repl.js.map +1 -1
- package/2p-solve-plp.js +2 -2
- package/2p-solve-problog.js +1024 -964
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-prolog.js +821 -831
- package/2p-solve-prolog.js.map +1 -1
- package/2p-solve.js +3931 -3596
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +199 -199
- package/2p-unify.js +75 -75
- package/2p-utils.js +352 -330
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-mordant.js +90 -90
- package/clikt-clikt.js +1524 -1481
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +472 -472
- package/kotlin-kotlin-stdlib.js +1379 -1367
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1485 -1484
- package/kt-math.js.map +1 -1
- package/mordant-mordant.js +1442 -1442
- package/okio-parent-okio-nodefilesystem.js +46 -46
- package/okio-parent-okio.js +647 -647
- package/package.json +1 -1
- package/2p-test-dsl.js +0 -15
- package/2p-test-dsl.js.map +0 -1
- package/kotlin-kotlin-test.js +0 -15
- package/kotlin-kotlin-test.js.map +0 -1
package/2p-utils.js
CHANGED
|
@@ -16,66 +16,64 @@
|
|
|
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.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.u8;
|
|
20
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.e8;
|
|
21
21
|
var Unit_instance = kotlin_kotlin.$_$.r;
|
|
22
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
24
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
25
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
26
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
22
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.g8;
|
|
23
|
+
var THROW_CCE = kotlin_kotlin.$_$.he;
|
|
24
|
+
var isInterface = kotlin_kotlin.$_$.m8;
|
|
25
|
+
var initMetadataForClass = kotlin_kotlin.$_$.d8;
|
|
26
|
+
var Sequence = kotlin_kotlin.$_$.x9;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.b;
|
|
28
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
29
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
30
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
31
|
-
var toList = kotlin_kotlin.$_$.
|
|
28
|
+
var arrayIterator = kotlin_kotlin.$_$.j7;
|
|
29
|
+
var compareTo = kotlin_kotlin.$_$.s7;
|
|
30
|
+
var Comparable = kotlin_kotlin.$_$.vd;
|
|
31
|
+
var toList = kotlin_kotlin.$_$.kb;
|
|
32
32
|
var asSequence = kotlin_kotlin.$_$.r2;
|
|
33
33
|
var asIterable = kotlin_kotlin.$_$.l2;
|
|
34
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
34
|
+
var hashCode = kotlin_kotlin.$_$.c8;
|
|
35
35
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.w2;
|
|
36
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
37
|
-
var asIterable_0 = kotlin_kotlin.$_$.
|
|
38
|
-
var sequence = kotlin_kotlin.$_$.
|
|
39
|
-
var IntRange = kotlin_kotlin.$_$.
|
|
40
|
-
var zip = kotlin_kotlin.$_$.
|
|
41
|
-
var equals = kotlin_kotlin.$_$.
|
|
42
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
43
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
44
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
45
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
46
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
47
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
48
|
-
var constructCallableReference = kotlin_kotlin.$_$.
|
|
49
|
-
var withIndex = kotlin_kotlin.$_$.
|
|
50
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
51
|
-
var map = kotlin_kotlin.$_$.
|
|
52
|
-
var filterNot = kotlin_kotlin.$_$.
|
|
53
|
-
var toMutableList = kotlin_kotlin.$_$.
|
|
54
|
-
var minWithOrNull = kotlin_kotlin.$_$.
|
|
36
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.u;
|
|
37
|
+
var asIterable_0 = kotlin_kotlin.$_$.z9;
|
|
38
|
+
var sequence = kotlin_kotlin.$_$.eb;
|
|
39
|
+
var IntRange = kotlin_kotlin.$_$.i9;
|
|
40
|
+
var zip = kotlin_kotlin.$_$.ob;
|
|
41
|
+
var equals = kotlin_kotlin.$_$.v7;
|
|
42
|
+
var FunctionAdapter = kotlin_kotlin.$_$.i7;
|
|
43
|
+
var Comparator = kotlin_kotlin.$_$.wd;
|
|
44
|
+
var CoroutineImpl = kotlin_kotlin.$_$.l6;
|
|
45
|
+
var SequenceScope = kotlin_kotlin.$_$.w9;
|
|
46
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k6;
|
|
47
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.h8;
|
|
48
|
+
var constructCallableReference = kotlin_kotlin.$_$.t7;
|
|
49
|
+
var withIndex = kotlin_kotlin.$_$.nb;
|
|
50
|
+
var ensureNotNull = kotlin_kotlin.$_$.ne;
|
|
51
|
+
var map = kotlin_kotlin.$_$.wa;
|
|
52
|
+
var filterNot = kotlin_kotlin.$_$.ha;
|
|
53
|
+
var toMutableList = kotlin_kotlin.$_$.lb;
|
|
54
|
+
var minWithOrNull = kotlin_kotlin.$_$.xa;
|
|
55
55
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
56
|
-
var toString = kotlin_kotlin.$_$.
|
|
57
|
-
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.
|
|
58
|
-
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.
|
|
59
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
60
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
56
|
+
var toString = kotlin_kotlin.$_$.x8;
|
|
57
|
+
var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.f;
|
|
58
|
+
var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.e;
|
|
59
|
+
var toString_0 = kotlin_kotlin.$_$.xe;
|
|
60
|
+
var initMetadataForObject = kotlin_kotlin.$_$.i8;
|
|
61
61
|
var KtMap = kotlin_kotlin.$_$.f2;
|
|
62
|
-
var toMutableMap = kotlin_kotlin.$_$.
|
|
63
|
-
var lazy = kotlin_kotlin.$_$.
|
|
64
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
65
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
66
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
62
|
+
var toMutableMap = kotlin_kotlin.$_$.c6;
|
|
63
|
+
var lazy = kotlin_kotlin.$_$.re;
|
|
64
|
+
var KProperty1 = kotlin_kotlin.$_$.v9;
|
|
65
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.a8;
|
|
66
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.r9;
|
|
67
67
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var to = kotlin_kotlin.$_$.we;
|
|
73
|
-
var Pair = kotlin_kotlin.$_$.de;
|
|
68
|
+
var getBigIntHashCode = kotlin_kotlin.$_$.x7;
|
|
69
|
+
var first = kotlin_kotlin.$_$.q3;
|
|
70
|
+
var to = kotlin_kotlin.$_$.ye;
|
|
71
|
+
var Pair = kotlin_kotlin.$_$.fe;
|
|
74
72
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
75
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.
|
|
76
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
77
|
-
var mutableListOf = kotlin_kotlin.$_$.
|
|
78
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
73
|
+
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
|
|
74
|
+
var joinToString = kotlin_kotlin.$_$.ra;
|
|
75
|
+
var mutableListOf = kotlin_kotlin.$_$.t4;
|
|
76
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.v;
|
|
79
77
|
var addAll = kotlin_kotlin.$_$.h2;
|
|
80
78
|
//endregion
|
|
81
79
|
//region block: pre-declaration
|
|
@@ -84,11 +82,11 @@
|
|
|
84
82
|
var got = this.j2(key);
|
|
85
83
|
var tmp;
|
|
86
84
|
if (got instanceof Some) {
|
|
87
|
-
tmp = got.
|
|
85
|
+
tmp = got.fr_1;
|
|
88
86
|
} else {
|
|
89
87
|
// Inline function 'kotlin.also' call
|
|
90
88
|
var this_0 = valueGenerator();
|
|
91
|
-
this.
|
|
89
|
+
this.dr(key, this_0);
|
|
92
90
|
tmp = this_0;
|
|
93
91
|
}
|
|
94
92
|
return tmp;
|
|
@@ -97,13 +95,13 @@
|
|
|
97
95
|
initMetadataForCompanion(Companion_0);
|
|
98
96
|
function ifValid(consumer) {
|
|
99
97
|
var tmp;
|
|
100
|
-
if (this.
|
|
98
|
+
if (this.hr()) {
|
|
101
99
|
var tmp_0 = Companion_instance_5;
|
|
102
100
|
// Inline function 'kotlin.let' call
|
|
103
101
|
var tmp$ret$0 = consumer(this.f1());
|
|
104
|
-
tmp = tmp_0.
|
|
102
|
+
tmp = tmp_0.lr(tmp$ret$0);
|
|
105
103
|
} else {
|
|
106
|
-
tmp = Companion_instance_5.
|
|
104
|
+
tmp = Companion_instance_5.kr();
|
|
107
105
|
}
|
|
108
106
|
return tmp;
|
|
109
107
|
}
|
|
@@ -125,7 +123,7 @@
|
|
|
125
123
|
}
|
|
126
124
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
127
125
|
function component1() {
|
|
128
|
-
return this.
|
|
126
|
+
return this.vr();
|
|
129
127
|
}
|
|
130
128
|
function component2() {
|
|
131
129
|
return this.f1();
|
|
@@ -133,7 +131,7 @@
|
|
|
133
131
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
134
132
|
initMetadataForCompanion(Companion_2);
|
|
135
133
|
function compareTo_0(other) {
|
|
136
|
-
return compareTo(this.
|
|
134
|
+
return compareTo(this.vr(), other.vr());
|
|
137
135
|
}
|
|
138
136
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
139
137
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -143,7 +141,7 @@
|
|
|
143
141
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
144
142
|
initMetadataForCompanion(Companion_3);
|
|
145
143
|
function compareTo_1(other) {
|
|
146
|
-
return compareTo(this.
|
|
144
|
+
return compareTo(this.vr(), other.vr());
|
|
147
145
|
}
|
|
148
146
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
149
147
|
initMetadataForCompanion(Companion_4);
|
|
@@ -153,12 +151,12 @@
|
|
|
153
151
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
154
152
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
155
153
|
function getTag(name) {
|
|
156
|
-
return this.
|
|
154
|
+
return this.cu().j2(name);
|
|
157
155
|
}
|
|
158
156
|
function containsTag(name) {
|
|
159
157
|
// Inline function 'kotlin.collections.contains' call
|
|
160
158
|
// Inline function 'kotlin.collections.containsKey' call
|
|
161
|
-
var this_0 = this.
|
|
159
|
+
var this_0 = this.cu();
|
|
162
160
|
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).h2(name);
|
|
163
161
|
}
|
|
164
162
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
@@ -178,7 +176,7 @@
|
|
|
178
176
|
//endregion
|
|
179
177
|
function Companion() {
|
|
180
178
|
}
|
|
181
|
-
protoOf(Companion).
|
|
179
|
+
protoOf(Companion).cr = function (capacity) {
|
|
182
180
|
return new SimpleLRUCache(capacity);
|
|
183
181
|
};
|
|
184
182
|
var Companion_instance;
|
|
@@ -189,7 +187,7 @@
|
|
|
189
187
|
}
|
|
190
188
|
function Companion_0() {
|
|
191
189
|
}
|
|
192
|
-
protoOf(Companion_0).
|
|
190
|
+
protoOf(Companion_0).gr = function (generator) {
|
|
193
191
|
return new CachedImpl(generator);
|
|
194
192
|
};
|
|
195
193
|
var Companion_instance_0;
|
|
@@ -216,16 +214,16 @@
|
|
|
216
214
|
return Companion_instance_1;
|
|
217
215
|
}
|
|
218
216
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
219
|
-
this.
|
|
217
|
+
this.nr_1 = this$0;
|
|
220
218
|
}
|
|
221
219
|
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
222
|
-
return this.
|
|
220
|
+
return this.nr_1.iterator();
|
|
223
221
|
};
|
|
224
222
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
225
|
-
this.
|
|
223
|
+
this.pr_1 = this$0;
|
|
226
224
|
}
|
|
227
225
|
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
228
|
-
return this.
|
|
226
|
+
return this.pr_1.iterator();
|
|
229
227
|
};
|
|
230
228
|
function Cursor() {
|
|
231
229
|
}
|
|
@@ -233,7 +231,7 @@
|
|
|
233
231
|
return toCursor(_this__u8e3s4.n());
|
|
234
232
|
}
|
|
235
233
|
function plus(_this__u8e3s4, other) {
|
|
236
|
-
return other.
|
|
234
|
+
return other.sr() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.sr() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
237
235
|
}
|
|
238
236
|
function cursor_0(_this__u8e3s4) {
|
|
239
237
|
return toCursor(_this__u8e3s4.n());
|
|
@@ -242,13 +240,13 @@
|
|
|
242
240
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
243
241
|
}
|
|
244
242
|
function toCursor(_this__u8e3s4) {
|
|
245
|
-
return Companion_instance_6.
|
|
243
|
+
return Companion_instance_6.ur(_this__u8e3s4);
|
|
246
244
|
}
|
|
247
245
|
function Indexed() {
|
|
248
246
|
}
|
|
249
247
|
function Companion_2() {
|
|
250
248
|
}
|
|
251
|
-
protoOf(Companion_2).
|
|
249
|
+
protoOf(Companion_2).wr = function (index, value) {
|
|
252
250
|
return new IntIndexedImpl(index, value);
|
|
253
251
|
};
|
|
254
252
|
var Companion_instance_2;
|
|
@@ -325,16 +323,16 @@
|
|
|
325
323
|
return zip(_this__u8e3s4, tmp, indexed$lambda);
|
|
326
324
|
}
|
|
327
325
|
function sam$kotlin_Comparator$0(function_0) {
|
|
328
|
-
this.
|
|
326
|
+
this.yr_1 = function_0;
|
|
329
327
|
}
|
|
330
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
331
|
-
return this.
|
|
328
|
+
protoOf(sam$kotlin_Comparator$0).pc = function (a, b) {
|
|
329
|
+
return this.yr_1(a, b);
|
|
332
330
|
};
|
|
333
331
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
334
|
-
return this.
|
|
332
|
+
return this.pc(a, b);
|
|
335
333
|
};
|
|
336
334
|
protoOf(sam$kotlin_Comparator$0).r2 = function () {
|
|
337
|
-
return this.
|
|
335
|
+
return this.yr_1;
|
|
338
336
|
};
|
|
339
337
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
340
338
|
var tmp;
|
|
@@ -358,17 +356,17 @@
|
|
|
358
356
|
return equals(a, b);
|
|
359
357
|
}
|
|
360
358
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
361
|
-
this.
|
|
359
|
+
this.hs_1 = $this_dropLast;
|
|
362
360
|
CoroutineImpl.call(this, resultContinuation);
|
|
363
361
|
}
|
|
364
|
-
protoOf(dropLast$slambda).
|
|
365
|
-
var tmp = this.
|
|
362
|
+
protoOf(dropLast$slambda).ks = function ($this$sequence, $completion) {
|
|
363
|
+
var tmp = this.ls($this$sequence, $completion);
|
|
366
364
|
tmp.r8_1 = Unit_instance;
|
|
367
365
|
tmp.s8_1 = null;
|
|
368
366
|
return tmp.x8();
|
|
369
367
|
};
|
|
370
368
|
protoOf(dropLast$slambda).o9 = function (p1, $completion) {
|
|
371
|
-
return this.
|
|
369
|
+
return this.ks(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
372
370
|
};
|
|
373
371
|
protoOf(dropLast$slambda).x8 = function () {
|
|
374
372
|
var suspendResult = this.r8_1;
|
|
@@ -378,19 +376,19 @@
|
|
|
378
376
|
switch (tmp) {
|
|
379
377
|
case 0:
|
|
380
378
|
this.q8_1 = 5;
|
|
381
|
-
this.
|
|
379
|
+
this.js_1 = this.hs_1.n();
|
|
382
380
|
this.p8_1 = 1;
|
|
383
381
|
continue $sm;
|
|
384
382
|
case 1:
|
|
385
|
-
if (!this.
|
|
383
|
+
if (!this.js_1.q()) {
|
|
386
384
|
this.p8_1 = 4;
|
|
387
385
|
continue $sm;
|
|
388
386
|
}
|
|
389
387
|
|
|
390
|
-
var current = this.
|
|
391
|
-
if (this.
|
|
388
|
+
var current = this.js_1.r();
|
|
389
|
+
if (this.js_1.q()) {
|
|
392
390
|
this.p8_1 = 2;
|
|
393
|
-
suspendResult = this.
|
|
391
|
+
suspendResult = this.is_1.se(current, this);
|
|
394
392
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
395
393
|
return suspendResult;
|
|
396
394
|
}
|
|
@@ -422,32 +420,32 @@
|
|
|
422
420
|
}
|
|
423
421
|
while (true);
|
|
424
422
|
};
|
|
425
|
-
protoOf(dropLast$slambda).
|
|
426
|
-
var i = new dropLast$slambda(this.
|
|
427
|
-
i.
|
|
423
|
+
protoOf(dropLast$slambda).ls = function ($this$sequence, completion) {
|
|
424
|
+
var i = new dropLast$slambda(this.hs_1, completion);
|
|
425
|
+
i.is_1 = $this$sequence;
|
|
428
426
|
return i;
|
|
429
427
|
};
|
|
430
428
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
431
429
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
432
430
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
433
|
-
return i.
|
|
431
|
+
return i.ks($this$sequence, $completion);
|
|
434
432
|
}, 1);
|
|
435
433
|
}
|
|
436
434
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
437
|
-
this.
|
|
438
|
-
this.
|
|
439
|
-
this.
|
|
440
|
-
this.
|
|
435
|
+
this.us_1 = $this_insertAt;
|
|
436
|
+
this.vs_1 = $index;
|
|
437
|
+
this.ws_1 = $item;
|
|
438
|
+
this.xs_1 = $items;
|
|
441
439
|
CoroutineImpl.call(this, resultContinuation);
|
|
442
440
|
}
|
|
443
|
-
protoOf(insertAt$slambda).
|
|
444
|
-
var tmp = this.
|
|
441
|
+
protoOf(insertAt$slambda).ks = function ($this$sequence, $completion) {
|
|
442
|
+
var tmp = this.ls($this$sequence, $completion);
|
|
445
443
|
tmp.r8_1 = Unit_instance;
|
|
446
444
|
tmp.s8_1 = null;
|
|
447
445
|
return tmp.x8();
|
|
448
446
|
};
|
|
449
447
|
protoOf(insertAt$slambda).o9 = function (p1, $completion) {
|
|
450
|
-
return this.
|
|
448
|
+
return this.ks(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
451
449
|
};
|
|
452
450
|
protoOf(insertAt$slambda).x8 = function () {
|
|
453
451
|
var suspendResult = this.r8_1;
|
|
@@ -456,22 +454,23 @@
|
|
|
456
454
|
var tmp = this.p8_1;
|
|
457
455
|
switch (tmp) {
|
|
458
456
|
case 0:
|
|
459
|
-
this.q8_1 =
|
|
460
|
-
this.
|
|
457
|
+
this.q8_1 = 10;
|
|
458
|
+
this.zs_1 = false;
|
|
459
|
+
this.bt_1 = asIterable_0(withIndex(this.us_1)).n();
|
|
461
460
|
this.p8_1 = 1;
|
|
462
461
|
continue $sm;
|
|
463
462
|
case 1:
|
|
464
|
-
if (!this.
|
|
463
|
+
if (!this.bt_1.q()) {
|
|
465
464
|
this.p8_1 = 6;
|
|
466
465
|
continue $sm;
|
|
467
466
|
}
|
|
468
467
|
|
|
469
|
-
var _destruct__k2r9zo = this.
|
|
470
|
-
var i = _destruct__k2r9zo.
|
|
471
|
-
this.
|
|
472
|
-
if (i === this.
|
|
468
|
+
var _destruct__k2r9zo = this.bt_1.r();
|
|
469
|
+
var i = _destruct__k2r9zo.zd();
|
|
470
|
+
this.at_1 = _destruct__k2r9zo.ae();
|
|
471
|
+
if (i === this.vs_1) {
|
|
473
472
|
this.p8_1 = 2;
|
|
474
|
-
suspendResult = this.
|
|
473
|
+
suspendResult = this.ys_1.se(this.ws_1, this);
|
|
475
474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
476
475
|
return suspendResult;
|
|
477
476
|
}
|
|
@@ -483,18 +482,19 @@
|
|
|
483
482
|
|
|
484
483
|
case 2:
|
|
485
484
|
this.p8_1 = 3;
|
|
486
|
-
suspendResult = this.
|
|
485
|
+
suspendResult = this.ys_1.ue(asIterable(this.xs_1), this);
|
|
487
486
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
488
487
|
return suspendResult;
|
|
489
488
|
}
|
|
490
489
|
|
|
491
490
|
continue $sm;
|
|
492
491
|
case 3:
|
|
492
|
+
this.zs_1 = true;
|
|
493
493
|
this.p8_1 = 4;
|
|
494
494
|
continue $sm;
|
|
495
495
|
case 4:
|
|
496
496
|
this.p8_1 = 5;
|
|
497
|
-
suspendResult = this.
|
|
497
|
+
suspendResult = this.ys_1.se(this.at_1, this);
|
|
498
498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
499
499
|
return suspendResult;
|
|
500
500
|
}
|
|
@@ -504,13 +504,37 @@
|
|
|
504
504
|
this.p8_1 = 1;
|
|
505
505
|
continue $sm;
|
|
506
506
|
case 6:
|
|
507
|
-
|
|
507
|
+
if (!this.zs_1) {
|
|
508
|
+
this.p8_1 = 7;
|
|
509
|
+
suspendResult = this.ys_1.se(this.ws_1, this);
|
|
510
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
511
|
+
return suspendResult;
|
|
512
|
+
}
|
|
513
|
+
continue $sm;
|
|
514
|
+
} else {
|
|
515
|
+
this.p8_1 = 9;
|
|
516
|
+
continue $sm;
|
|
517
|
+
}
|
|
518
|
+
|
|
508
519
|
case 7:
|
|
520
|
+
this.p8_1 = 8;
|
|
521
|
+
suspendResult = this.ys_1.ue(asIterable(this.xs_1), this);
|
|
522
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
523
|
+
return suspendResult;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
continue $sm;
|
|
527
|
+
case 8:
|
|
528
|
+
this.p8_1 = 9;
|
|
529
|
+
continue $sm;
|
|
530
|
+
case 9:
|
|
531
|
+
return Unit_instance;
|
|
532
|
+
case 10:
|
|
509
533
|
throw this.s8_1;
|
|
510
534
|
}
|
|
511
535
|
} catch ($p) {
|
|
512
536
|
var e = $p;
|
|
513
|
-
if (this.q8_1 ===
|
|
537
|
+
if (this.q8_1 === 10) {
|
|
514
538
|
throw e;
|
|
515
539
|
} else {
|
|
516
540
|
this.p8_1 = this.q8_1;
|
|
@@ -519,28 +543,28 @@
|
|
|
519
543
|
}
|
|
520
544
|
while (true);
|
|
521
545
|
};
|
|
522
|
-
protoOf(insertAt$slambda).
|
|
523
|
-
var i = new insertAt$slambda(this.
|
|
524
|
-
i.
|
|
546
|
+
protoOf(insertAt$slambda).ls = function ($this$sequence, completion) {
|
|
547
|
+
var i = new insertAt$slambda(this.us_1, this.vs_1, this.ws_1, this.xs_1, completion);
|
|
548
|
+
i.ys_1 = $this$sequence;
|
|
525
549
|
return i;
|
|
526
550
|
};
|
|
527
551
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
528
552
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
529
553
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
530
|
-
return i.
|
|
554
|
+
return i.ks($this$sequence, $completion);
|
|
531
555
|
}, 1);
|
|
532
556
|
}
|
|
533
557
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
534
|
-
this.
|
|
558
|
+
this.ct_1 = function_0;
|
|
535
559
|
}
|
|
536
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
537
|
-
return this.
|
|
560
|
+
protoOf(sam$kotlin_Comparator$0_0).pc = function (a, b) {
|
|
561
|
+
return this.ct_1(a, b);
|
|
538
562
|
};
|
|
539
563
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
540
|
-
return this.
|
|
564
|
+
return this.pc(a, b);
|
|
541
565
|
};
|
|
542
566
|
protoOf(sam$kotlin_Comparator$0_0).r2 = function () {
|
|
543
|
-
return this.
|
|
567
|
+
return this.ct_1;
|
|
544
568
|
};
|
|
545
569
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
546
570
|
var tmp;
|
|
@@ -564,10 +588,10 @@
|
|
|
564
588
|
return cursor_0(it);
|
|
565
589
|
}
|
|
566
590
|
function merge$slambda$lambda_0(it) {
|
|
567
|
-
return it.
|
|
591
|
+
return it.tr();
|
|
568
592
|
}
|
|
569
593
|
function merge$slambda$lambda_1(it) {
|
|
570
|
-
return ensureNotNull(it.
|
|
594
|
+
return ensureNotNull(it.rr());
|
|
571
595
|
}
|
|
572
596
|
function merge$slambda$lambda_2($comparator) {
|
|
573
597
|
return function (a, b) {
|
|
@@ -575,18 +599,18 @@
|
|
|
575
599
|
};
|
|
576
600
|
}
|
|
577
601
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
602
|
+
this.lt_1 = $iterables;
|
|
603
|
+
this.mt_1 = $comparator;
|
|
580
604
|
CoroutineImpl.call(this, resultContinuation);
|
|
581
605
|
}
|
|
582
|
-
protoOf(merge$slambda).
|
|
583
|
-
var tmp = this.
|
|
606
|
+
protoOf(merge$slambda).ks = function ($this$sequence, $completion) {
|
|
607
|
+
var tmp = this.ls($this$sequence, $completion);
|
|
584
608
|
tmp.r8_1 = Unit_instance;
|
|
585
609
|
tmp.s8_1 = null;
|
|
586
610
|
return tmp.x8();
|
|
587
611
|
};
|
|
588
612
|
protoOf(merge$slambda).o9 = function (p1, $completion) {
|
|
589
|
-
return this.
|
|
613
|
+
return this.ks(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
590
614
|
};
|
|
591
615
|
protoOf(merge$slambda).x8 = function () {
|
|
592
616
|
var suspendResult = this.r8_1;
|
|
@@ -597,37 +621,37 @@
|
|
|
597
621
|
case 0:
|
|
598
622
|
this.q8_1 = 3;
|
|
599
623
|
var tmp_0 = this;
|
|
600
|
-
var tmp_1 = asSequence(this.
|
|
624
|
+
var tmp_1 = asSequence(this.lt_1);
|
|
601
625
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
602
|
-
tmp_0.
|
|
626
|
+
tmp_0.pt_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
603
627
|
this.p8_1 = 1;
|
|
604
628
|
continue $sm;
|
|
605
629
|
case 1:
|
|
606
|
-
if (!!this.
|
|
630
|
+
if (!!this.pt_1.i()) {
|
|
607
631
|
this.p8_1 = 4;
|
|
608
632
|
continue $sm;
|
|
609
633
|
}
|
|
610
634
|
|
|
611
|
-
var tmp_3 = asSequence(this.
|
|
635
|
+
var tmp_3 = asSequence(this.pt_1);
|
|
612
636
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
613
|
-
var tmp_5 = merge$slambda$lambda_2(this.
|
|
637
|
+
var tmp_5 = merge$slambda$lambda_2(this.mt_1);
|
|
614
638
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
615
|
-
this.
|
|
616
|
-
var minValue = _destruct__k2r9zo.
|
|
639
|
+
this.ot_1 = _destruct__k2r9zo.zd();
|
|
640
|
+
var minValue = _destruct__k2r9zo.ae();
|
|
617
641
|
this.p8_1 = 2;
|
|
618
|
-
suspendResult = this.
|
|
642
|
+
suspendResult = this.nt_1.se(minValue, this);
|
|
619
643
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
644
|
return suspendResult;
|
|
621
645
|
}
|
|
622
646
|
|
|
623
647
|
continue $sm;
|
|
624
648
|
case 2:
|
|
625
|
-
var it = this.
|
|
649
|
+
var it = this.pt_1.t(this.ot_1).qr();
|
|
626
650
|
var tmp_6;
|
|
627
|
-
if (it.
|
|
628
|
-
tmp_6 = this.
|
|
651
|
+
if (it.tr()) {
|
|
652
|
+
tmp_6 = this.pt_1.q3(this.ot_1);
|
|
629
653
|
} else {
|
|
630
|
-
this.
|
|
654
|
+
this.pt_1.i3(this.ot_1, it);
|
|
631
655
|
tmp_6 = Unit_instance;
|
|
632
656
|
}
|
|
633
657
|
|
|
@@ -649,23 +673,23 @@
|
|
|
649
673
|
}
|
|
650
674
|
while (true);
|
|
651
675
|
};
|
|
652
|
-
protoOf(merge$slambda).
|
|
653
|
-
var i = new merge$slambda(this.
|
|
654
|
-
i.
|
|
676
|
+
protoOf(merge$slambda).ls = function ($this$sequence, completion) {
|
|
677
|
+
var i = new merge$slambda(this.lt_1, this.mt_1, completion);
|
|
678
|
+
i.nt_1 = $this$sequence;
|
|
655
679
|
return i;
|
|
656
680
|
};
|
|
657
681
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
658
682
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
659
683
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
660
|
-
return i.
|
|
684
|
+
return i.ks($this$sequence, $completion);
|
|
661
685
|
}, 1);
|
|
662
686
|
}
|
|
663
687
|
function indexed$lambda(it, i) {
|
|
664
|
-
return Companion_instance_2.
|
|
688
|
+
return Companion_instance_2.wr(i, it);
|
|
665
689
|
}
|
|
666
690
|
function Companion_3() {
|
|
667
691
|
}
|
|
668
|
-
protoOf(Companion_3).
|
|
692
|
+
protoOf(Companion_3).qt = function (index, value) {
|
|
669
693
|
return new LongIndexedImpl(index, value);
|
|
670
694
|
};
|
|
671
695
|
var Companion_instance_3;
|
|
@@ -679,7 +703,7 @@
|
|
|
679
703
|
var tmp = this;
|
|
680
704
|
// Inline function 'kotlin.text.toRegex' call
|
|
681
705
|
var this_0 = '-?[0-9]+';
|
|
682
|
-
tmp.
|
|
706
|
+
tmp.st_1 = Regex_init_$Create$(this_0);
|
|
683
707
|
}
|
|
684
708
|
var Companion_instance_4;
|
|
685
709
|
function Companion_getInstance_6() {
|
|
@@ -688,7 +712,7 @@
|
|
|
688
712
|
return Companion_instance_4;
|
|
689
713
|
}
|
|
690
714
|
function _get_stringRepresentation__xuqjt9($this, $receiver) {
|
|
691
|
-
return $this.
|
|
715
|
+
return $this.tt_1.er($receiver, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($receiver));
|
|
692
716
|
}
|
|
693
717
|
function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
|
|
694
718
|
return function () {
|
|
@@ -697,32 +721,32 @@
|
|
|
697
721
|
}
|
|
698
722
|
function NumberTypeTester() {
|
|
699
723
|
Companion_getInstance_6();
|
|
700
|
-
this.
|
|
724
|
+
this.tt_1 = Companion_instance.cr(8);
|
|
701
725
|
}
|
|
702
|
-
protoOf(NumberTypeTester).
|
|
703
|
-
return Companion_getInstance_6().
|
|
726
|
+
protoOf(NumberTypeTester).ut = function (_this__u8e3s4) {
|
|
727
|
+
return Companion_getInstance_6().st_1.nb(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
704
728
|
};
|
|
705
|
-
protoOf(NumberTypeTester).
|
|
729
|
+
protoOf(NumberTypeTester).vt = function (_this__u8e3s4) {
|
|
706
730
|
return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
707
731
|
};
|
|
708
|
-
protoOf(NumberTypeTester).
|
|
732
|
+
protoOf(NumberTypeTester).wt = function (_this__u8e3s4) {
|
|
709
733
|
return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
710
734
|
};
|
|
711
735
|
function Companion_5() {
|
|
712
736
|
}
|
|
713
|
-
protoOf(Companion_5).
|
|
737
|
+
protoOf(Companion_5).xt = function (value) {
|
|
714
738
|
return new Some(value);
|
|
715
739
|
};
|
|
716
|
-
protoOf(Companion_5).
|
|
740
|
+
protoOf(Companion_5).lr = function (value) {
|
|
717
741
|
var tmp;
|
|
718
742
|
if (value == null) {
|
|
719
|
-
tmp = this.
|
|
743
|
+
tmp = this.kr();
|
|
720
744
|
} else {
|
|
721
|
-
tmp = this.
|
|
745
|
+
tmp = this.xt(value);
|
|
722
746
|
}
|
|
723
747
|
return tmp;
|
|
724
748
|
};
|
|
725
|
-
protoOf(Companion_5).
|
|
749
|
+
protoOf(Companion_5).kr = function () {
|
|
726
750
|
return None_getInstance();
|
|
727
751
|
};
|
|
728
752
|
var Companion_instance_5;
|
|
@@ -731,29 +755,29 @@
|
|
|
731
755
|
}
|
|
732
756
|
function Some(value) {
|
|
733
757
|
Optional.call(this);
|
|
734
|
-
this.
|
|
758
|
+
this.fr_1 = value;
|
|
735
759
|
}
|
|
736
760
|
protoOf(Some).f1 = function () {
|
|
737
|
-
return this.
|
|
761
|
+
return this.fr_1;
|
|
738
762
|
};
|
|
739
|
-
protoOf(Some).
|
|
763
|
+
protoOf(Some).yt = function () {
|
|
740
764
|
return true;
|
|
741
765
|
};
|
|
742
|
-
protoOf(Some).
|
|
743
|
-
return new Some(function_0(this.
|
|
766
|
+
protoOf(Some).zt = function (function_0) {
|
|
767
|
+
return new Some(function_0(this.fr_1));
|
|
744
768
|
};
|
|
745
769
|
protoOf(Some).toString = function () {
|
|
746
|
-
return 'Some(' + toString_0(this.
|
|
770
|
+
return 'Some(' + toString_0(this.fr_1) + ')';
|
|
747
771
|
};
|
|
748
772
|
protoOf(Some).hashCode = function () {
|
|
749
|
-
return this.
|
|
773
|
+
return this.fr_1 == null ? 0 : hashCode(this.fr_1);
|
|
750
774
|
};
|
|
751
775
|
protoOf(Some).equals = function (other) {
|
|
752
776
|
if (this === other)
|
|
753
777
|
return true;
|
|
754
778
|
if (!(other instanceof Some))
|
|
755
779
|
return false;
|
|
756
|
-
if (!equals(this.
|
|
780
|
+
if (!equals(this.fr_1, other.fr_1))
|
|
757
781
|
return false;
|
|
758
782
|
return true;
|
|
759
783
|
};
|
|
@@ -764,14 +788,14 @@
|
|
|
764
788
|
protoOf(None).f1 = function () {
|
|
765
789
|
return null;
|
|
766
790
|
};
|
|
767
|
-
protoOf(None).
|
|
791
|
+
protoOf(None).yt = function () {
|
|
768
792
|
return false;
|
|
769
793
|
};
|
|
770
|
-
protoOf(None).
|
|
794
|
+
protoOf(None).bu = function (function_0) {
|
|
771
795
|
return None_getInstance();
|
|
772
796
|
};
|
|
773
|
-
protoOf(None).
|
|
774
|
-
return this.
|
|
797
|
+
protoOf(None).zt = function (function_0) {
|
|
798
|
+
return this.bu(function_0);
|
|
775
799
|
};
|
|
776
800
|
protoOf(None).toString = function () {
|
|
777
801
|
return 'None';
|
|
@@ -784,14 +808,14 @@
|
|
|
784
808
|
}
|
|
785
809
|
function Optional() {
|
|
786
810
|
}
|
|
787
|
-
protoOf(Optional).
|
|
788
|
-
return !this.
|
|
811
|
+
protoOf(Optional).au = function () {
|
|
812
|
+
return !this.yt();
|
|
789
813
|
};
|
|
790
814
|
function Taggable() {
|
|
791
815
|
}
|
|
792
816
|
function setTag(_this__u8e3s4, key, value) {
|
|
793
817
|
// Inline function 'kotlin.also' call
|
|
794
|
-
var this_0 = toMutableMap(_this__u8e3s4.
|
|
818
|
+
var this_0 = toMutableMap(_this__u8e3s4.cu());
|
|
795
819
|
// Inline function 'kotlin.collections.set' call
|
|
796
820
|
this_0.s4(key, value);
|
|
797
821
|
return setTags(_this__u8e3s4, this_0);
|
|
@@ -805,7 +829,7 @@
|
|
|
805
829
|
}
|
|
806
830
|
function Companion_6() {
|
|
807
831
|
}
|
|
808
|
-
protoOf(Companion_6).
|
|
832
|
+
protoOf(Companion_6).ur = function (source) {
|
|
809
833
|
var tmp;
|
|
810
834
|
if (source.q()) {
|
|
811
835
|
tmp = new LazyCursor(source);
|
|
@@ -819,20 +843,20 @@
|
|
|
819
843
|
return Companion_instance_6;
|
|
820
844
|
}
|
|
821
845
|
function AbstractCursor$iterator$1(this$0) {
|
|
822
|
-
this.
|
|
846
|
+
this.du_1 = this$0;
|
|
823
847
|
}
|
|
824
848
|
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
825
|
-
return !this.
|
|
849
|
+
return !this.du_1.tr();
|
|
826
850
|
};
|
|
827
851
|
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
828
|
-
var result = this.
|
|
829
|
-
this.
|
|
852
|
+
var result = this.du_1.rr();
|
|
853
|
+
this.du_1 = this.du_1.qr();
|
|
830
854
|
return ensureNotNull(result);
|
|
831
855
|
};
|
|
832
856
|
function AbstractCursor() {
|
|
833
857
|
}
|
|
834
858
|
protoOf(AbstractCursor).toString = function () {
|
|
835
|
-
return this.
|
|
859
|
+
return this.tr() ? '[]' : !this.sr() ? '[' + toString_0(this.rr()) + ']' : '[' + toString_0(this.rr()) + ', ...]';
|
|
836
860
|
};
|
|
837
861
|
protoOf(AbstractCursor).n = function () {
|
|
838
862
|
return new AbstractCursor$iterator$1(this);
|
|
@@ -840,84 +864,84 @@
|
|
|
840
864
|
protoOf(AbstractCursor).iterator = function () {
|
|
841
865
|
return this.n();
|
|
842
866
|
};
|
|
843
|
-
protoOf(AbstractCursor).
|
|
867
|
+
protoOf(AbstractCursor).eu = function () {
|
|
844
868
|
return false;
|
|
845
869
|
};
|
|
846
|
-
protoOf(AbstractCursor).
|
|
870
|
+
protoOf(AbstractCursor).zt = function (mapper) {
|
|
847
871
|
return new MapperCursor(this, mapper);
|
|
848
872
|
};
|
|
849
873
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
850
|
-
return this.
|
|
874
|
+
return this.zt(mapper);
|
|
851
875
|
};
|
|
852
876
|
function CachedImpl(generator) {
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
877
|
+
this.fu_1 = generator;
|
|
878
|
+
this.gu_1 = Companion_instance_5.kr();
|
|
855
879
|
}
|
|
856
|
-
protoOf(CachedImpl).
|
|
857
|
-
return this.
|
|
880
|
+
protoOf(CachedImpl).hr = function () {
|
|
881
|
+
return this.gu_1.yt();
|
|
858
882
|
};
|
|
859
|
-
protoOf(CachedImpl).
|
|
860
|
-
return this.
|
|
883
|
+
protoOf(CachedImpl).hu = function () {
|
|
884
|
+
return this.gu_1.au();
|
|
861
885
|
};
|
|
862
886
|
protoOf(CachedImpl).f1 = function () {
|
|
863
|
-
this.
|
|
864
|
-
return ensureNotNull(this.
|
|
887
|
+
this.iu();
|
|
888
|
+
return ensureNotNull(this.gu_1.f1());
|
|
865
889
|
};
|
|
866
|
-
protoOf(CachedImpl).
|
|
867
|
-
if (this.
|
|
868
|
-
this.
|
|
890
|
+
protoOf(CachedImpl).iu = function () {
|
|
891
|
+
if (this.hu()) {
|
|
892
|
+
this.gu_1 = Companion_instance_5.xt(this.fu_1());
|
|
869
893
|
}
|
|
870
894
|
};
|
|
871
|
-
protoOf(CachedImpl).
|
|
872
|
-
this.
|
|
895
|
+
protoOf(CachedImpl).ir = function () {
|
|
896
|
+
this.gu_1 = Companion_instance_5.kr();
|
|
873
897
|
};
|
|
874
898
|
protoOf(CachedImpl).toString = function () {
|
|
875
|
-
return 'CachedImpl(generator=' + toString(this.
|
|
899
|
+
return 'CachedImpl(generator=' + toString(this.fu_1) + ')';
|
|
876
900
|
};
|
|
877
901
|
protoOf(CachedImpl).hashCode = function () {
|
|
878
|
-
return hashCode(this.
|
|
902
|
+
return hashCode(this.fu_1);
|
|
879
903
|
};
|
|
880
904
|
protoOf(CachedImpl).equals = function (other) {
|
|
881
905
|
if (this === other)
|
|
882
906
|
return true;
|
|
883
907
|
if (!(other instanceof CachedImpl))
|
|
884
908
|
return false;
|
|
885
|
-
if (!equals(this.
|
|
909
|
+
if (!equals(this.fu_1, other.fu_1))
|
|
886
910
|
return false;
|
|
887
911
|
return true;
|
|
888
912
|
};
|
|
889
913
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
890
914
|
return function () {
|
|
891
|
-
return this$0.
|
|
915
|
+
return this$0.ju_1.sr() ? new ConjunctionCursor(this$0.ju_1.qr(), this$0.ku_1) : this$0.ku_1.eu() ? this$0.ku_1.qr() : this$0.ku_1;
|
|
892
916
|
};
|
|
893
917
|
}
|
|
894
918
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
895
919
|
return constructCallableReference(function (p0) {
|
|
896
|
-
return p0.
|
|
897
|
-
}, 1, 0,
|
|
920
|
+
return p0.qr();
|
|
921
|
+
}, 1, 0, 3);
|
|
898
922
|
}
|
|
899
923
|
function ConjunctionCursor(first, second) {
|
|
900
924
|
AbstractCursor.call(this);
|
|
901
|
-
this.
|
|
902
|
-
this.
|
|
925
|
+
this.ju_1 = first;
|
|
926
|
+
this.ku_1 = second;
|
|
903
927
|
var tmp = this;
|
|
904
|
-
tmp.
|
|
928
|
+
tmp.lu_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
905
929
|
}
|
|
906
|
-
protoOf(ConjunctionCursor).
|
|
907
|
-
return this.
|
|
930
|
+
protoOf(ConjunctionCursor).tr = function () {
|
|
931
|
+
return this.ju_1.tr() && this.ku_1.tr();
|
|
908
932
|
};
|
|
909
|
-
protoOf(ConjunctionCursor).
|
|
910
|
-
var tmp0 = this.
|
|
933
|
+
protoOf(ConjunctionCursor).qr = function () {
|
|
934
|
+
var tmp0 = this.lu_1;
|
|
911
935
|
var tmp = KProperty1;
|
|
912
936
|
// Inline function 'kotlin.getValue' call
|
|
913
937
|
getPropertyCallableRef('next', 1, tmp, ConjunctionCursor$_get_next_$ref_xfvrtr(), null);
|
|
914
938
|
return tmp0.f1();
|
|
915
939
|
};
|
|
916
|
-
protoOf(ConjunctionCursor).
|
|
917
|
-
return this.
|
|
940
|
+
protoOf(ConjunctionCursor).rr = function () {
|
|
941
|
+
return this.ju_1.sr() ? this.ju_1.rr() : this.ku_1.rr();
|
|
918
942
|
};
|
|
919
|
-
protoOf(ConjunctionCursor).
|
|
920
|
-
return this.
|
|
943
|
+
protoOf(ConjunctionCursor).sr = function () {
|
|
944
|
+
return this.ju_1.sr() || this.ku_1.sr();
|
|
921
945
|
};
|
|
922
946
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
923
947
|
if (this === other)
|
|
@@ -926,44 +950,44 @@
|
|
|
926
950
|
return false;
|
|
927
951
|
if (!(other instanceof ConjunctionCursor))
|
|
928
952
|
THROW_CCE();
|
|
929
|
-
if (!equals(this.
|
|
953
|
+
if (!equals(this.ju_1, other.ju_1))
|
|
930
954
|
return false;
|
|
931
|
-
if (!equals(this.
|
|
955
|
+
if (!equals(this.ku_1, other.ku_1))
|
|
932
956
|
return false;
|
|
933
957
|
return true;
|
|
934
958
|
};
|
|
935
959
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
936
|
-
var result = hashCode(this.
|
|
937
|
-
result = imul(31, result) + hashCode(this.
|
|
960
|
+
var result = hashCode(this.ju_1);
|
|
961
|
+
result = imul(31, result) + hashCode(this.ku_1) | 0;
|
|
938
962
|
return result;
|
|
939
963
|
};
|
|
940
964
|
function EmptyCursor() {
|
|
941
965
|
EmptyCursor_instance = this;
|
|
942
966
|
AbstractCursor.call(this);
|
|
943
967
|
}
|
|
944
|
-
protoOf(EmptyCursor).
|
|
968
|
+
protoOf(EmptyCursor).qr = function () {
|
|
945
969
|
throw NoSuchElementException_init_$Create$();
|
|
946
970
|
};
|
|
947
|
-
protoOf(EmptyCursor).
|
|
971
|
+
protoOf(EmptyCursor).rr = function () {
|
|
948
972
|
return null;
|
|
949
973
|
};
|
|
950
|
-
protoOf(EmptyCursor).
|
|
974
|
+
protoOf(EmptyCursor).sr = function () {
|
|
951
975
|
return false;
|
|
952
976
|
};
|
|
953
|
-
protoOf(EmptyCursor).
|
|
977
|
+
protoOf(EmptyCursor).tr = function () {
|
|
954
978
|
return true;
|
|
955
979
|
};
|
|
956
980
|
protoOf(EmptyCursor).toString = function () {
|
|
957
981
|
return protoOf(AbstractCursor).toString.call(this);
|
|
958
982
|
};
|
|
959
|
-
protoOf(EmptyCursor).
|
|
983
|
+
protoOf(EmptyCursor).bu = function (mapper) {
|
|
960
984
|
return this;
|
|
961
985
|
};
|
|
962
986
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
963
|
-
return this.
|
|
987
|
+
return this.bu(mapper);
|
|
964
988
|
};
|
|
965
|
-
protoOf(EmptyCursor).
|
|
966
|
-
return this.
|
|
989
|
+
protoOf(EmptyCursor).zt = function (mapper) {
|
|
990
|
+
return this.bu(mapper);
|
|
967
991
|
};
|
|
968
992
|
var EmptyCursor_instance;
|
|
969
993
|
function EmptyCursor_getInstance() {
|
|
@@ -972,27 +996,27 @@
|
|
|
972
996
|
return EmptyCursor_instance;
|
|
973
997
|
}
|
|
974
998
|
function IntIndexedImpl(index, value) {
|
|
975
|
-
this.
|
|
976
|
-
this.
|
|
999
|
+
this.mu_1 = index;
|
|
1000
|
+
this.nu_1 = value;
|
|
977
1001
|
}
|
|
978
|
-
protoOf(IntIndexedImpl).
|
|
979
|
-
return this.
|
|
1002
|
+
protoOf(IntIndexedImpl).vr = function () {
|
|
1003
|
+
return this.mu_1;
|
|
980
1004
|
};
|
|
981
1005
|
protoOf(IntIndexedImpl).f1 = function () {
|
|
982
|
-
return this.
|
|
1006
|
+
return this.nu_1;
|
|
1007
|
+
};
|
|
1008
|
+
protoOf(IntIndexedImpl).zd = function () {
|
|
1009
|
+
return this.mu_1;
|
|
983
1010
|
};
|
|
984
1011
|
protoOf(IntIndexedImpl).ae = function () {
|
|
985
1012
|
return this.nu_1;
|
|
986
1013
|
};
|
|
987
|
-
protoOf(IntIndexedImpl).be = function () {
|
|
988
|
-
return this.ou_1;
|
|
989
|
-
};
|
|
990
1014
|
protoOf(IntIndexedImpl).toString = function () {
|
|
991
|
-
return 'IntIndexedImpl(index=' + this.
|
|
1015
|
+
return 'IntIndexedImpl(index=' + this.mu_1 + ', value=' + toString_0(this.nu_1) + ')';
|
|
992
1016
|
};
|
|
993
1017
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
994
|
-
var result = this.
|
|
995
|
-
result = imul(result, 31) + (this.
|
|
1018
|
+
var result = this.mu_1;
|
|
1019
|
+
result = imul(result, 31) + (this.nu_1 == null ? 0 : hashCode(this.nu_1)) | 0;
|
|
996
1020
|
return result;
|
|
997
1021
|
};
|
|
998
1022
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -1000,17 +1024,17 @@
|
|
|
1000
1024
|
return true;
|
|
1001
1025
|
if (!(other instanceof IntIndexedImpl))
|
|
1002
1026
|
return false;
|
|
1003
|
-
if (!(this.
|
|
1027
|
+
if (!(this.mu_1 === other.mu_1))
|
|
1004
1028
|
return false;
|
|
1005
|
-
if (!equals(this.
|
|
1029
|
+
if (!equals(this.nu_1, other.nu_1))
|
|
1006
1030
|
return false;
|
|
1007
1031
|
return true;
|
|
1008
1032
|
};
|
|
1009
1033
|
protoOf(IntIndexedImpl).d = function (other) {
|
|
1010
|
-
return this.
|
|
1034
|
+
return this.xr((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
1011
1035
|
};
|
|
1012
1036
|
function _get_wrapped__s2ip8($this) {
|
|
1013
|
-
var tmp0 = $this.
|
|
1037
|
+
var tmp0 = $this.pu_1;
|
|
1014
1038
|
var tmp = KProperty1;
|
|
1015
1039
|
// Inline function 'kotlin.getValue' call
|
|
1016
1040
|
getPropertyCallableRef('wrapped', 1, tmp, LazyCursor$_get_wrapped_$ref_p28zr5(), null);
|
|
@@ -1018,33 +1042,33 @@
|
|
|
1018
1042
|
}
|
|
1019
1043
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
1020
1044
|
return function () {
|
|
1021
|
-
return new NonLastCursor(this$0.
|
|
1045
|
+
return new NonLastCursor(this$0.ou_1);
|
|
1022
1046
|
};
|
|
1023
1047
|
}
|
|
1024
1048
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
1025
1049
|
return constructCallableReference(function (p0) {
|
|
1026
1050
|
return _get_wrapped__s2ip8(p0);
|
|
1027
|
-
}, 1, 0,
|
|
1051
|
+
}, 1, 0, 4);
|
|
1028
1052
|
}
|
|
1029
1053
|
function LazyCursor(delegate) {
|
|
1030
1054
|
AbstractCursor.call(this);
|
|
1031
|
-
this.
|
|
1055
|
+
this.ou_1 = delegate;
|
|
1032
1056
|
var tmp = this;
|
|
1033
|
-
tmp.
|
|
1057
|
+
tmp.pu_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
1034
1058
|
}
|
|
1035
|
-
protoOf(LazyCursor).
|
|
1059
|
+
protoOf(LazyCursor).eu = function () {
|
|
1036
1060
|
return true;
|
|
1037
1061
|
};
|
|
1038
|
-
protoOf(LazyCursor).
|
|
1039
|
-
return _get_wrapped__s2ip8(this).
|
|
1062
|
+
protoOf(LazyCursor).qr = function () {
|
|
1063
|
+
return _get_wrapped__s2ip8(this).qr();
|
|
1040
1064
|
};
|
|
1041
|
-
protoOf(LazyCursor).
|
|
1042
|
-
return _get_wrapped__s2ip8(this).
|
|
1065
|
+
protoOf(LazyCursor).rr = function () {
|
|
1066
|
+
return _get_wrapped__s2ip8(this).rr();
|
|
1043
1067
|
};
|
|
1044
|
-
protoOf(LazyCursor).
|
|
1068
|
+
protoOf(LazyCursor).sr = function () {
|
|
1045
1069
|
return true;
|
|
1046
1070
|
};
|
|
1047
|
-
protoOf(LazyCursor).
|
|
1071
|
+
protoOf(LazyCursor).tr = function () {
|
|
1048
1072
|
return false;
|
|
1049
1073
|
};
|
|
1050
1074
|
protoOf(LazyCursor).toString = function () {
|
|
@@ -1057,45 +1081,39 @@
|
|
|
1057
1081
|
return this.n();
|
|
1058
1082
|
};
|
|
1059
1083
|
protoOf(LazyCursor).hashCode = function () {
|
|
1060
|
-
return hashCode(this.
|
|
1084
|
+
return hashCode(this.ou_1);
|
|
1061
1085
|
};
|
|
1062
1086
|
protoOf(LazyCursor).equals = function (other) {
|
|
1063
1087
|
if (this === other)
|
|
1064
1088
|
return true;
|
|
1065
1089
|
if (!(other instanceof LazyCursor))
|
|
1066
1090
|
return false;
|
|
1067
|
-
if (!equals(this.
|
|
1091
|
+
if (!equals(this.ou_1, other.ou_1))
|
|
1068
1092
|
return false;
|
|
1069
1093
|
return true;
|
|
1070
1094
|
};
|
|
1071
1095
|
function LongIndexedImpl(index, value) {
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1096
|
+
this.qu_1 = index;
|
|
1097
|
+
this.ru_1 = value;
|
|
1074
1098
|
}
|
|
1075
|
-
protoOf(LongIndexedImpl).
|
|
1076
|
-
return this.
|
|
1099
|
+
protoOf(LongIndexedImpl).vr = function () {
|
|
1100
|
+
return this.qu_1;
|
|
1077
1101
|
};
|
|
1078
1102
|
protoOf(LongIndexedImpl).f1 = function () {
|
|
1079
|
-
return this.
|
|
1103
|
+
return this.ru_1;
|
|
1080
1104
|
};
|
|
1081
|
-
protoOf(LongIndexedImpl).
|
|
1082
|
-
return
|
|
1083
|
-
};
|
|
1084
|
-
protoOf(LongIndexedImpl).d = function (other) {
|
|
1085
|
-
return this.st((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1105
|
+
protoOf(LongIndexedImpl).zd = function () {
|
|
1106
|
+
return this.qu_1;
|
|
1086
1107
|
};
|
|
1087
1108
|
protoOf(LongIndexedImpl).ae = function () {
|
|
1088
1109
|
return this.ru_1;
|
|
1089
1110
|
};
|
|
1090
|
-
protoOf(LongIndexedImpl).be = function () {
|
|
1091
|
-
return this.su_1;
|
|
1092
|
-
};
|
|
1093
1111
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1094
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1112
|
+
return 'LongIndexedImpl(index=' + this.qu_1.toString() + ', value=' + toString_0(this.ru_1) + ')';
|
|
1095
1113
|
};
|
|
1096
1114
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1097
|
-
var result = getBigIntHashCode(this.
|
|
1098
|
-
result = imul(result, 31) + (this.
|
|
1115
|
+
var result = getBigIntHashCode(this.qu_1);
|
|
1116
|
+
result = imul(result, 31) + (this.ru_1 == null ? 0 : hashCode(this.ru_1)) | 0;
|
|
1099
1117
|
return result;
|
|
1100
1118
|
};
|
|
1101
1119
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1103,43 +1121,46 @@
|
|
|
1103
1121
|
return true;
|
|
1104
1122
|
if (!(other instanceof LongIndexedImpl))
|
|
1105
1123
|
return false;
|
|
1106
|
-
if (!(this.
|
|
1124
|
+
if (!(this.qu_1 === other.qu_1))
|
|
1107
1125
|
return false;
|
|
1108
|
-
if (!equals(this.
|
|
1126
|
+
if (!equals(this.ru_1, other.ru_1))
|
|
1109
1127
|
return false;
|
|
1110
1128
|
return true;
|
|
1111
1129
|
};
|
|
1130
|
+
protoOf(LongIndexedImpl).d = function (other) {
|
|
1131
|
+
return this.rt((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1132
|
+
};
|
|
1112
1133
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1113
1134
|
return function () {
|
|
1114
|
-
return this$0.
|
|
1135
|
+
return this$0.tu_1(ensureNotNull(this$0.su_1.rr()));
|
|
1115
1136
|
};
|
|
1116
1137
|
}
|
|
1117
1138
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1118
1139
|
return constructCallableReference(function (p0) {
|
|
1119
|
-
return p0.
|
|
1120
|
-
}, 1, 0,
|
|
1140
|
+
return p0.rr();
|
|
1141
|
+
}, 1, 0, 5);
|
|
1121
1142
|
}
|
|
1122
1143
|
function MapperCursor(wrapped, mapper) {
|
|
1123
1144
|
AbstractCursor.call(this);
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1145
|
+
this.su_1 = wrapped;
|
|
1146
|
+
this.tu_1 = mapper;
|
|
1126
1147
|
var tmp = this;
|
|
1127
|
-
tmp.
|
|
1148
|
+
tmp.uu_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1128
1149
|
}
|
|
1129
|
-
protoOf(MapperCursor).
|
|
1130
|
-
return this.
|
|
1150
|
+
protoOf(MapperCursor).qr = function () {
|
|
1151
|
+
return this.su_1.qr().zt(this.tu_1);
|
|
1131
1152
|
};
|
|
1132
|
-
protoOf(MapperCursor).
|
|
1133
|
-
var tmp0 = this.
|
|
1153
|
+
protoOf(MapperCursor).rr = function () {
|
|
1154
|
+
var tmp0 = this.uu_1;
|
|
1134
1155
|
var tmp = KProperty1;
|
|
1135
1156
|
// Inline function 'kotlin.getValue' call
|
|
1136
1157
|
getPropertyCallableRef('current', 1, tmp, MapperCursor$_get_current_$ref_lsggiu(), null);
|
|
1137
1158
|
return tmp0.f1();
|
|
1138
1159
|
};
|
|
1139
|
-
protoOf(MapperCursor).
|
|
1160
|
+
protoOf(MapperCursor).sr = function () {
|
|
1140
1161
|
return true;
|
|
1141
1162
|
};
|
|
1142
|
-
protoOf(MapperCursor).
|
|
1163
|
+
protoOf(MapperCursor).tr = function () {
|
|
1143
1164
|
return false;
|
|
1144
1165
|
};
|
|
1145
1166
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1149,60 +1170,60 @@
|
|
|
1149
1170
|
return false;
|
|
1150
1171
|
if (!(other instanceof MapperCursor))
|
|
1151
1172
|
THROW_CCE();
|
|
1152
|
-
if (!equals(this.
|
|
1173
|
+
if (!equals(this.su_1, other.su_1))
|
|
1153
1174
|
return false;
|
|
1154
|
-
if (!equals(this.
|
|
1175
|
+
if (!equals(this.tu_1, other.tu_1))
|
|
1155
1176
|
return false;
|
|
1156
1177
|
return true;
|
|
1157
1178
|
};
|
|
1158
1179
|
protoOf(MapperCursor).hashCode = function () {
|
|
1159
|
-
var result = hashCode(this.
|
|
1160
|
-
result = imul(31, result) + hashCode(this.
|
|
1180
|
+
var result = hashCode(this.su_1);
|
|
1181
|
+
result = imul(31, result) + hashCode(this.tu_1) | 0;
|
|
1161
1182
|
return result;
|
|
1162
1183
|
};
|
|
1163
|
-
protoOf(MapperCursor).
|
|
1164
|
-
return new ValueCursor(mapper(this.
|
|
1184
|
+
protoOf(MapperCursor).vu = function (mapper) {
|
|
1185
|
+
return new ValueCursor(mapper(this.rr()), this.qr().zt(mapper));
|
|
1165
1186
|
};
|
|
1166
1187
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1167
|
-
return this.
|
|
1188
|
+
return this.vu(mapper);
|
|
1168
1189
|
};
|
|
1169
|
-
protoOf(MapperCursor).
|
|
1170
|
-
return this.
|
|
1190
|
+
protoOf(MapperCursor).zt = function (mapper) {
|
|
1191
|
+
return this.vu(mapper);
|
|
1171
1192
|
};
|
|
1172
1193
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1173
1194
|
return function () {
|
|
1174
1195
|
// Inline function 'kotlin.also' call
|
|
1175
|
-
var this_0 = Companion_instance_6.
|
|
1176
|
-
this$0.
|
|
1196
|
+
var this_0 = Companion_instance_6.ur($source);
|
|
1197
|
+
this$0.wu_1 = null;
|
|
1177
1198
|
return this_0;
|
|
1178
1199
|
};
|
|
1179
1200
|
}
|
|
1180
1201
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1181
1202
|
return constructCallableReference(function (p0) {
|
|
1182
|
-
return p0.
|
|
1183
|
-
}, 1, 0,
|
|
1203
|
+
return p0.qr();
|
|
1204
|
+
}, 1, 0, 6);
|
|
1184
1205
|
}
|
|
1185
1206
|
function NonLastCursor(source) {
|
|
1186
1207
|
AbstractCursor.call(this);
|
|
1187
|
-
this.
|
|
1208
|
+
this.wu_1 = source;
|
|
1188
1209
|
var tmp = this;
|
|
1189
|
-
tmp.
|
|
1190
|
-
this.
|
|
1210
|
+
tmp.xu_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1211
|
+
this.yu_1 = source.r();
|
|
1191
1212
|
}
|
|
1192
|
-
protoOf(NonLastCursor).
|
|
1193
|
-
var tmp0 = this.
|
|
1213
|
+
protoOf(NonLastCursor).qr = function () {
|
|
1214
|
+
var tmp0 = this.xu_1;
|
|
1194
1215
|
var tmp = KProperty1;
|
|
1195
1216
|
// Inline function 'kotlin.getValue' call
|
|
1196
1217
|
getPropertyCallableRef('next', 1, tmp, NonLastCursor$_get_next_$ref_gp6ycu(), null);
|
|
1197
1218
|
return tmp0.f1();
|
|
1198
1219
|
};
|
|
1199
|
-
protoOf(NonLastCursor).
|
|
1200
|
-
return this.
|
|
1220
|
+
protoOf(NonLastCursor).rr = function () {
|
|
1221
|
+
return this.yu_1;
|
|
1201
1222
|
};
|
|
1202
|
-
protoOf(NonLastCursor).
|
|
1223
|
+
protoOf(NonLastCursor).sr = function () {
|
|
1203
1224
|
return true;
|
|
1204
1225
|
};
|
|
1205
|
-
protoOf(NonLastCursor).
|
|
1226
|
+
protoOf(NonLastCursor).tr = function () {
|
|
1206
1227
|
return false;
|
|
1207
1228
|
};
|
|
1208
1229
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1210,28 +1231,28 @@
|
|
|
1210
1231
|
};
|
|
1211
1232
|
function removeLeastRecent($this) {
|
|
1212
1233
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1213
|
-
var tmp$ret$0 = $this.
|
|
1234
|
+
var tmp$ret$0 = $this.av_1.d1();
|
|
1214
1235
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1215
1236
|
// Inline function 'kotlin.collections.component1' call
|
|
1216
1237
|
var key = _destruct__k2r9zo.e1();
|
|
1217
1238
|
// Inline function 'kotlin.collections.component2' call
|
|
1218
1239
|
var value = _destruct__k2r9zo.f1();
|
|
1219
|
-
$this.
|
|
1220
|
-
return Companion_instance_5.
|
|
1240
|
+
$this.av_1.u4(key);
|
|
1241
|
+
return Companion_instance_5.xt(to(key, value));
|
|
1221
1242
|
}
|
|
1222
1243
|
function removeLeastRecentIfNecessary($this) {
|
|
1223
1244
|
var tmp;
|
|
1224
|
-
if ($this.
|
|
1245
|
+
if ($this.av_1.s() >= $this.zu_1) {
|
|
1225
1246
|
tmp = removeLeastRecent($this);
|
|
1226
1247
|
} else {
|
|
1227
|
-
tmp = Companion_instance_5.
|
|
1248
|
+
tmp = Companion_instance_5.kr();
|
|
1228
1249
|
}
|
|
1229
1250
|
return tmp;
|
|
1230
1251
|
}
|
|
1231
1252
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1232
1253
|
return function () {
|
|
1233
1254
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1234
|
-
var tmp0 = this$0.
|
|
1255
|
+
var tmp0 = this$0.av_1;
|
|
1235
1256
|
var tmp2 = $key;
|
|
1236
1257
|
// Inline function 'kotlin.collections.set' call
|
|
1237
1258
|
var value = $value;
|
|
@@ -1242,10 +1263,10 @@
|
|
|
1242
1263
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1243
1264
|
return function () {
|
|
1244
1265
|
var tmp;
|
|
1245
|
-
if (this$0.
|
|
1246
|
-
tmp = Companion_instance_5.
|
|
1266
|
+
if (this$0.av_1.h2($key)) {
|
|
1267
|
+
tmp = Companion_instance_5.lr(this$0.av_1.j2($key));
|
|
1247
1268
|
} else {
|
|
1248
|
-
tmp = Companion_instance_5.
|
|
1269
|
+
tmp = Companion_instance_5.kr();
|
|
1249
1270
|
}
|
|
1250
1271
|
return tmp;
|
|
1251
1272
|
};
|
|
@@ -1256,7 +1277,7 @@
|
|
|
1256
1277
|
}
|
|
1257
1278
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1258
1279
|
return function () {
|
|
1259
|
-
var tmp = asSequence(this$0.
|
|
1280
|
+
var tmp = asSequence(this$0.av_1.d1());
|
|
1260
1281
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1261
1282
|
};
|
|
1262
1283
|
}
|
|
@@ -1264,16 +1285,16 @@
|
|
|
1264
1285
|
return toString_0(it.first) + ' = ' + toString_0(it.second);
|
|
1265
1286
|
}
|
|
1266
1287
|
function SimpleLRUCache(capacity) {
|
|
1267
|
-
this.
|
|
1288
|
+
this.zu_1 = capacity;
|
|
1268
1289
|
// Inline function 'kotlin.require' call
|
|
1269
1290
|
// Inline function 'kotlin.require' call
|
|
1270
|
-
if (!(this.
|
|
1291
|
+
if (!(this.zu_1 > 0)) {
|
|
1271
1292
|
var message = 'Failed requirement.';
|
|
1272
1293
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1273
1294
|
}
|
|
1274
|
-
this.
|
|
1295
|
+
this.av_1 = LinkedHashMap_init_$Create$();
|
|
1275
1296
|
}
|
|
1276
|
-
protoOf(SimpleLRUCache).
|
|
1297
|
+
protoOf(SimpleLRUCache).dr = function (key, value) {
|
|
1277
1298
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1278
1299
|
};
|
|
1279
1300
|
protoOf(SimpleLRUCache).j2 = function (key) {
|
|
@@ -1286,39 +1307,39 @@
|
|
|
1286
1307
|
return false;
|
|
1287
1308
|
if (!(other instanceof SimpleLRUCache))
|
|
1288
1309
|
THROW_CCE();
|
|
1289
|
-
if (!(this.
|
|
1310
|
+
if (!(this.zu_1 === other.zu_1))
|
|
1290
1311
|
return false;
|
|
1291
|
-
if (!this.
|
|
1312
|
+
if (!this.av_1.equals(other.av_1))
|
|
1292
1313
|
return false;
|
|
1293
1314
|
return true;
|
|
1294
1315
|
};
|
|
1295
1316
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1296
|
-
var result = this.
|
|
1297
|
-
result = imul(31, result) + this.
|
|
1317
|
+
var result = this.zu_1;
|
|
1318
|
+
result = imul(31, result) + this.av_1.hashCode() | 0;
|
|
1298
1319
|
return result;
|
|
1299
1320
|
};
|
|
1300
|
-
protoOf(SimpleLRUCache).
|
|
1321
|
+
protoOf(SimpleLRUCache).bv = function () {
|
|
1301
1322
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1302
1323
|
};
|
|
1303
1324
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1304
|
-
var tmp = this.
|
|
1325
|
+
var tmp = this.bv();
|
|
1305
1326
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1306
1327
|
};
|
|
1307
1328
|
function ValueCursor(current, next) {
|
|
1308
1329
|
AbstractCursor.call(this);
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1330
|
+
this.cv_1 = current;
|
|
1331
|
+
this.dv_1 = next;
|
|
1311
1332
|
}
|
|
1312
|
-
protoOf(ValueCursor).
|
|
1333
|
+
protoOf(ValueCursor).rr = function () {
|
|
1334
|
+
return this.cv_1;
|
|
1335
|
+
};
|
|
1336
|
+
protoOf(ValueCursor).qr = function () {
|
|
1313
1337
|
return this.dv_1;
|
|
1314
1338
|
};
|
|
1315
1339
|
protoOf(ValueCursor).sr = function () {
|
|
1316
|
-
return this.ev_1;
|
|
1317
|
-
};
|
|
1318
|
-
protoOf(ValueCursor).ur = function () {
|
|
1319
1340
|
return true;
|
|
1320
1341
|
};
|
|
1321
|
-
protoOf(ValueCursor).
|
|
1342
|
+
protoOf(ValueCursor).tr = function () {
|
|
1322
1343
|
return false;
|
|
1323
1344
|
};
|
|
1324
1345
|
function dequeOf(items) {
|
|
@@ -1337,7 +1358,7 @@
|
|
|
1337
1358
|
function takeFirst(_this__u8e3s4) {
|
|
1338
1359
|
if (_this__u8e3s4.i())
|
|
1339
1360
|
return null;
|
|
1340
|
-
var first = _this__u8e3s4.
|
|
1361
|
+
var first = _this__u8e3s4.t(0);
|
|
1341
1362
|
_this__u8e3s4.q3(0);
|
|
1342
1363
|
return first;
|
|
1343
1364
|
}
|
|
@@ -1362,9 +1383,10 @@
|
|
|
1362
1383
|
//region block: post-declaration
|
|
1363
1384
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1364
1385
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1365
|
-
protoOf(CachedImpl).
|
|
1366
|
-
protoOf(IntIndexedImpl).
|
|
1367
|
-
protoOf(
|
|
1386
|
+
protoOf(CachedImpl).jr = ifValid;
|
|
1387
|
+
protoOf(IntIndexedImpl).xr = compareTo_0;
|
|
1388
|
+
protoOf(LongIndexedImpl).rt = compareTo_1;
|
|
1389
|
+
protoOf(SimpleLRUCache).er = getOrSet;
|
|
1368
1390
|
//endregion
|
|
1369
1391
|
//region block: init
|
|
1370
1392
|
Companion_instance = new Companion();
|