@tuprolog/2p-full 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2p-bdd.js +147 -147
- package/2p-bdd.js.map +1 -1
- package/2p-core.js +2583 -2583
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +844 -844
- package/2p-io-lib.js.map +1 -1
- package/2p-oop-lib.js +898 -898
- package/2p-oop-lib.js.map +1 -1
- package/2p-parser-core.js +113 -113
- package/2p-parser-core.js.map +1 -1
- package/2p-parser-impl.js +1487 -1487
- package/2p-parser-impl.js.map +1 -1
- package/2p-parser-theory.js +78 -78
- package/2p-parser-theory.js.map +1 -1
- package/2p-repl.js +98 -98
- package/2p-repl.js.map +1 -1
- package/2p-solve-plp.js +1 -1
- package/2p-solve-plp.js.map +1 -1
- package/2p-solve-problog.js +1298 -1298
- package/2p-solve-problog.js.map +1 -1
- package/2p-solve-prolog.js +913 -913
- package/2p-solve-prolog.js.map +1 -1
- package/2p-solve.js +4266 -4266
- package/2p-solve.js.map +1 -1
- package/2p-theory.js +1613 -1613
- package/2p-theory.js.map +1 -1
- package/2p-unify.js +333 -333
- package/2p-unify.js.map +1 -1
- package/2p-utils.js +388 -388
- package/2p-utils.js.map +1 -1
- package/clikt-clikt-mordant.js +88 -88
- package/clikt-clikt-mordant.js.map +1 -1
- package/clikt-clikt.js +2034 -2034
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +456 -456
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2405 -2405
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kt-math.js +1454 -1454
- package/kt-math.js.map +1 -1
- package/mordant-mordant.js +1791 -1791
- package/mordant-mordant.js.map +1 -1
- package/okio-parent-okio-nodefilesystem.js +39 -39
- package/okio-parent-okio-nodefilesystem.js.map +1 -1
- package/okio-parent-okio.js +650 -650
- package/okio-parent-okio.js.map +1 -1
- package/package.json +1 -1
package/2p-utils.js
CHANGED
|
@@ -81,14 +81,14 @@
|
|
|
81
81
|
//region block: pre-declaration
|
|
82
82
|
initMetadataForCompanion(Companion);
|
|
83
83
|
function getOrSet(key, valueGenerator) {
|
|
84
|
-
var got = this.
|
|
84
|
+
var got = this.j2(key);
|
|
85
85
|
var tmp;
|
|
86
86
|
if (got instanceof Some) {
|
|
87
|
-
tmp = got.
|
|
87
|
+
tmp = got.hr_1;
|
|
88
88
|
} else {
|
|
89
89
|
// Inline function 'kotlin.also' call
|
|
90
90
|
var this_0 = valueGenerator();
|
|
91
|
-
this.
|
|
91
|
+
this.fr(key, this_0);
|
|
92
92
|
tmp = this_0;
|
|
93
93
|
}
|
|
94
94
|
return tmp;
|
|
@@ -97,13 +97,13 @@
|
|
|
97
97
|
initMetadataForCompanion(Companion_0);
|
|
98
98
|
function ifValid(consumer) {
|
|
99
99
|
var tmp;
|
|
100
|
-
if (this.
|
|
100
|
+
if (this.jr()) {
|
|
101
101
|
var tmp_0 = Companion_instance_5;
|
|
102
102
|
// Inline function 'kotlin.let' call
|
|
103
|
-
var tmp$ret$0 = consumer(this.
|
|
104
|
-
tmp = tmp_0.
|
|
103
|
+
var tmp$ret$0 = consumer(this.f1());
|
|
104
|
+
tmp = tmp_0.nr(tmp$ret$0);
|
|
105
105
|
} else {
|
|
106
|
-
tmp = Companion_instance_5.
|
|
106
|
+
tmp = Companion_instance_5.mr();
|
|
107
107
|
}
|
|
108
108
|
return tmp;
|
|
109
109
|
}
|
|
@@ -125,15 +125,15 @@
|
|
|
125
125
|
}
|
|
126
126
|
initMetadataForInterface(Cursor, 'Cursor');
|
|
127
127
|
function component1() {
|
|
128
|
-
return this.
|
|
128
|
+
return this.xr();
|
|
129
129
|
}
|
|
130
130
|
function component2() {
|
|
131
|
-
return this.
|
|
131
|
+
return this.f1();
|
|
132
132
|
}
|
|
133
133
|
initMetadataForInterface(Indexed, 'Indexed');
|
|
134
134
|
initMetadataForCompanion(Companion_2);
|
|
135
135
|
function compareTo_0(other) {
|
|
136
|
-
return compareTo(this.
|
|
136
|
+
return compareTo(this.xr(), other.xr());
|
|
137
137
|
}
|
|
138
138
|
initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
139
139
|
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
|
|
144
144
|
initMetadataForCompanion(Companion_3);
|
|
145
145
|
function compareTo_1(other) {
|
|
146
|
-
return compareTo(this.
|
|
146
|
+
return compareTo(this.xr(), other.xr());
|
|
147
147
|
}
|
|
148
148
|
initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
|
|
149
149
|
initMetadataForCompanion(Companion_4);
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
initMetadataForClass(Some, 'Some', VOID, Optional);
|
|
154
154
|
initMetadataForObject(None, 'None', VOID, Optional);
|
|
155
155
|
function getTag(name) {
|
|
156
|
-
return this.
|
|
156
|
+
return this.du().j2(name);
|
|
157
157
|
}
|
|
158
158
|
function containsTag(name) {
|
|
159
159
|
// Inline function 'kotlin.collections.contains' call
|
|
160
160
|
// Inline function 'kotlin.collections.containsKey' call
|
|
161
|
-
var this_0 = this.
|
|
162
|
-
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).
|
|
161
|
+
var this_0 = this.du();
|
|
162
|
+
return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).h2(name);
|
|
163
163
|
}
|
|
164
164
|
initMetadataForInterface(Taggable, 'Taggable');
|
|
165
165
|
initMetadataForCompanion(Companion_6);
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
//endregion
|
|
179
179
|
function Companion() {
|
|
180
180
|
}
|
|
181
|
-
protoOf(Companion).
|
|
181
|
+
protoOf(Companion).er = function (capacity) {
|
|
182
182
|
return new SimpleLRUCache(capacity);
|
|
183
183
|
};
|
|
184
184
|
var Companion_instance;
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
function Companion_0() {
|
|
191
191
|
}
|
|
192
|
-
protoOf(Companion_0).
|
|
192
|
+
protoOf(Companion_0).ir = function (generator) {
|
|
193
193
|
return new CachedImpl(generator);
|
|
194
194
|
};
|
|
195
195
|
var Companion_instance_0;
|
|
@@ -216,39 +216,39 @@
|
|
|
216
216
|
return Companion_instance_1;
|
|
217
217
|
}
|
|
218
218
|
function Cursor$asIterable$$inlined$Iterable$1(this$0) {
|
|
219
|
-
this.
|
|
219
|
+
this.qr_1 = this$0;
|
|
220
220
|
}
|
|
221
|
-
protoOf(Cursor$asIterable$$inlined$Iterable$1).
|
|
222
|
-
return this.
|
|
221
|
+
protoOf(Cursor$asIterable$$inlined$Iterable$1).n = function () {
|
|
222
|
+
return this.qr_1.iterator();
|
|
223
223
|
};
|
|
224
224
|
function Cursor$asSequence$$inlined$Sequence$1(this$0) {
|
|
225
|
-
this.
|
|
225
|
+
this.rr_1 = this$0;
|
|
226
226
|
}
|
|
227
|
-
protoOf(Cursor$asSequence$$inlined$Sequence$1).
|
|
228
|
-
return this.
|
|
227
|
+
protoOf(Cursor$asSequence$$inlined$Sequence$1).n = function () {
|
|
228
|
+
return this.rr_1.iterator();
|
|
229
229
|
};
|
|
230
230
|
function Cursor() {
|
|
231
231
|
}
|
|
232
232
|
function cursor(_this__u8e3s4) {
|
|
233
|
-
return toCursor(_this__u8e3s4.
|
|
233
|
+
return toCursor(_this__u8e3s4.n());
|
|
234
234
|
}
|
|
235
235
|
function plus(_this__u8e3s4, other) {
|
|
236
|
-
return other.
|
|
236
|
+
return other.ur() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.ur() ? _this__u8e3s4 : EmptyCursor_getInstance();
|
|
237
237
|
}
|
|
238
238
|
function cursor_0(_this__u8e3s4) {
|
|
239
|
-
return toCursor(_this__u8e3s4.
|
|
239
|
+
return toCursor(_this__u8e3s4.n());
|
|
240
240
|
}
|
|
241
241
|
function cursor_1(_this__u8e3s4) {
|
|
242
242
|
return toCursor(arrayIterator(_this__u8e3s4));
|
|
243
243
|
}
|
|
244
244
|
function toCursor(_this__u8e3s4) {
|
|
245
|
-
return Companion_instance_6.
|
|
245
|
+
return Companion_instance_6.wr(_this__u8e3s4);
|
|
246
246
|
}
|
|
247
247
|
function Indexed() {
|
|
248
248
|
}
|
|
249
249
|
function Companion_2() {
|
|
250
250
|
}
|
|
251
|
-
protoOf(Companion_2).
|
|
251
|
+
protoOf(Companion_2).yr = function (index, value) {
|
|
252
252
|
return new IntIndexedImpl(index, value);
|
|
253
253
|
};
|
|
254
254
|
var Companion_instance_2;
|
|
@@ -268,10 +268,10 @@
|
|
|
268
268
|
}
|
|
269
269
|
function itemWiseHashCode_0(iterable) {
|
|
270
270
|
var hash = 13;
|
|
271
|
-
var i = iterable.
|
|
272
|
-
while (i.
|
|
271
|
+
var i = iterable.n();
|
|
272
|
+
while (i.q()) {
|
|
273
273
|
var tmp = imul(31, hash);
|
|
274
|
-
var tmp0_safe_receiver = i.
|
|
274
|
+
var tmp0_safe_receiver = i.r();
|
|
275
275
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
276
276
|
hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
277
277
|
}
|
|
@@ -285,11 +285,11 @@
|
|
|
285
285
|
// Inline function 'kotlin.collections.map' call
|
|
286
286
|
// Inline function 'kotlin.collections.mapTo' call
|
|
287
287
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
|
|
288
|
-
var _iterator__ex2g4s = iterables.
|
|
289
|
-
while (_iterator__ex2g4s.
|
|
290
|
-
var item = _iterator__ex2g4s.
|
|
288
|
+
var _iterator__ex2g4s = iterables.n();
|
|
289
|
+
while (_iterator__ex2g4s.q()) {
|
|
290
|
+
var item = _iterator__ex2g4s.r();
|
|
291
291
|
var tmp$ret$2 = asIterable_0(item);
|
|
292
|
-
destination.
|
|
292
|
+
destination.l(tmp$ret$2);
|
|
293
293
|
}
|
|
294
294
|
return merge(tmp, destination);
|
|
295
295
|
}
|
|
@@ -306,16 +306,16 @@
|
|
|
306
306
|
return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
|
|
307
307
|
}
|
|
308
308
|
function itemWiseEquals_1(iterable1, iterable2, comparator) {
|
|
309
|
-
var i = iterable1.
|
|
310
|
-
var j = iterable2.
|
|
311
|
-
while (i.
|
|
312
|
-
var a = i.
|
|
313
|
-
var b = j.
|
|
309
|
+
var i = iterable1.n();
|
|
310
|
+
var j = iterable2.n();
|
|
311
|
+
while (i.q() && j.q()) {
|
|
312
|
+
var a = i.r();
|
|
313
|
+
var b = j.r();
|
|
314
314
|
if (!comparator(a, b)) {
|
|
315
315
|
return false;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
-
return i.
|
|
318
|
+
return i.q() === j.q();
|
|
319
319
|
}
|
|
320
320
|
function merge(comparator, iterables) {
|
|
321
321
|
return sequence(merge$slambda_0(iterables, comparator, null));
|
|
@@ -325,23 +325,23 @@
|
|
|
325
325
|
return zip(_this__u8e3s4, tmp, indexed$lambda);
|
|
326
326
|
}
|
|
327
327
|
function sam$kotlin_Comparator$0(function_0) {
|
|
328
|
-
this.
|
|
328
|
+
this.as_1 = function_0;
|
|
329
329
|
}
|
|
330
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
331
|
-
return this.
|
|
330
|
+
protoOf(sam$kotlin_Comparator$0).qc = function (a, b) {
|
|
331
|
+
return this.as_1(a, b);
|
|
332
332
|
};
|
|
333
333
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
334
|
-
return this.
|
|
334
|
+
return this.qc(a, b);
|
|
335
335
|
};
|
|
336
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
337
|
-
return this.
|
|
336
|
+
protoOf(sam$kotlin_Comparator$0).r2 = function () {
|
|
337
|
+
return this.as_1;
|
|
338
338
|
};
|
|
339
339
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
340
340
|
var tmp;
|
|
341
341
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
342
342
|
var tmp_0;
|
|
343
343
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
344
|
-
tmp_0 = equals(this.
|
|
344
|
+
tmp_0 = equals(this.r2(), other.r2());
|
|
345
345
|
} else {
|
|
346
346
|
tmp_0 = false;
|
|
347
347
|
}
|
|
@@ -352,202 +352,202 @@
|
|
|
352
352
|
return tmp;
|
|
353
353
|
};
|
|
354
354
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
355
|
-
return hashCode(this.
|
|
355
|
+
return hashCode(this.r2());
|
|
356
356
|
};
|
|
357
357
|
function itemWiseEquals$lambda(a, b) {
|
|
358
358
|
return equals(a, b);
|
|
359
359
|
}
|
|
360
360
|
function dropLast$slambda($this_dropLast, resultContinuation) {
|
|
361
|
-
this
|
|
361
|
+
this.js_1 = $this_dropLast;
|
|
362
362
|
CoroutineImpl.call(this, resultContinuation);
|
|
363
363
|
}
|
|
364
|
-
protoOf(dropLast$slambda).
|
|
365
|
-
var tmp = this.
|
|
366
|
-
tmp.
|
|
367
|
-
tmp.
|
|
368
|
-
return tmp.
|
|
364
|
+
protoOf(dropLast$slambda).ms = function ($this$sequence, $completion) {
|
|
365
|
+
var tmp = this.ns($this$sequence, $completion);
|
|
366
|
+
tmp.r8_1 = Unit_instance;
|
|
367
|
+
tmp.s8_1 = null;
|
|
368
|
+
return tmp.x8();
|
|
369
369
|
};
|
|
370
|
-
protoOf(dropLast$slambda).
|
|
371
|
-
return this.
|
|
370
|
+
protoOf(dropLast$slambda).o9 = function (p1, $completion) {
|
|
371
|
+
return this.ms(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
372
372
|
};
|
|
373
|
-
protoOf(dropLast$slambda).
|
|
374
|
-
var suspendResult = this.
|
|
373
|
+
protoOf(dropLast$slambda).x8 = function () {
|
|
374
|
+
var suspendResult = this.r8_1;
|
|
375
375
|
$sm: do
|
|
376
376
|
try {
|
|
377
|
-
var tmp = this.
|
|
377
|
+
var tmp = this.p8_1;
|
|
378
378
|
switch (tmp) {
|
|
379
379
|
case 0:
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
380
|
+
this.q8_1 = 5;
|
|
381
|
+
this.ls_1 = this.js_1.n();
|
|
382
|
+
this.p8_1 = 1;
|
|
383
383
|
continue $sm;
|
|
384
384
|
case 1:
|
|
385
|
-
if (!this.
|
|
386
|
-
this.
|
|
385
|
+
if (!this.ls_1.q()) {
|
|
386
|
+
this.p8_1 = 4;
|
|
387
387
|
continue $sm;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
var current = this.
|
|
391
|
-
if (this.
|
|
392
|
-
this.
|
|
393
|
-
suspendResult = this
|
|
390
|
+
var current = this.ls_1.r();
|
|
391
|
+
if (this.ls_1.q()) {
|
|
392
|
+
this.p8_1 = 2;
|
|
393
|
+
suspendResult = this.ks_1.te(current, this);
|
|
394
394
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
395
395
|
return suspendResult;
|
|
396
396
|
}
|
|
397
397
|
continue $sm;
|
|
398
398
|
} else {
|
|
399
|
-
this.
|
|
399
|
+
this.p8_1 = 3;
|
|
400
400
|
continue $sm;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
case 2:
|
|
404
|
-
this.
|
|
404
|
+
this.p8_1 = 3;
|
|
405
405
|
continue $sm;
|
|
406
406
|
case 3:
|
|
407
|
-
this.
|
|
407
|
+
this.p8_1 = 1;
|
|
408
408
|
continue $sm;
|
|
409
409
|
case 4:
|
|
410
410
|
return Unit_instance;
|
|
411
411
|
case 5:
|
|
412
|
-
throw this.
|
|
412
|
+
throw this.s8_1;
|
|
413
413
|
}
|
|
414
414
|
} catch ($p) {
|
|
415
415
|
var e = $p;
|
|
416
|
-
if (this.
|
|
416
|
+
if (this.q8_1 === 5) {
|
|
417
417
|
throw e;
|
|
418
418
|
} else {
|
|
419
|
-
this.
|
|
420
|
-
this.
|
|
419
|
+
this.p8_1 = this.q8_1;
|
|
420
|
+
this.s8_1 = e;
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
while (true);
|
|
424
424
|
};
|
|
425
|
-
protoOf(dropLast$slambda).
|
|
426
|
-
var i = new dropLast$slambda(this
|
|
427
|
-
i
|
|
425
|
+
protoOf(dropLast$slambda).ns = function ($this$sequence, completion) {
|
|
426
|
+
var i = new dropLast$slambda(this.js_1, completion);
|
|
427
|
+
i.ks_1 = $this$sequence;
|
|
428
428
|
return i;
|
|
429
429
|
};
|
|
430
430
|
function dropLast$slambda_0($this_dropLast, resultContinuation) {
|
|
431
431
|
var i = new dropLast$slambda($this_dropLast, resultContinuation);
|
|
432
432
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
433
|
-
return i.
|
|
433
|
+
return i.ms($this$sequence, $completion);
|
|
434
434
|
}, 1);
|
|
435
435
|
}
|
|
436
436
|
function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
437
|
-
this
|
|
438
|
-
this
|
|
439
|
-
this
|
|
440
|
-
this
|
|
437
|
+
this.ws_1 = $this_insertAt;
|
|
438
|
+
this.xs_1 = $index;
|
|
439
|
+
this.ys_1 = $item;
|
|
440
|
+
this.zs_1 = $items;
|
|
441
441
|
CoroutineImpl.call(this, resultContinuation);
|
|
442
442
|
}
|
|
443
|
-
protoOf(insertAt$slambda).
|
|
444
|
-
var tmp = this.
|
|
445
|
-
tmp.
|
|
446
|
-
tmp.
|
|
447
|
-
return tmp.
|
|
443
|
+
protoOf(insertAt$slambda).ms = function ($this$sequence, $completion) {
|
|
444
|
+
var tmp = this.ns($this$sequence, $completion);
|
|
445
|
+
tmp.r8_1 = Unit_instance;
|
|
446
|
+
tmp.s8_1 = null;
|
|
447
|
+
return tmp.x8();
|
|
448
448
|
};
|
|
449
|
-
protoOf(insertAt$slambda).
|
|
450
|
-
return this.
|
|
449
|
+
protoOf(insertAt$slambda).o9 = function (p1, $completion) {
|
|
450
|
+
return this.ms(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
451
451
|
};
|
|
452
|
-
protoOf(insertAt$slambda).
|
|
453
|
-
var suspendResult = this.
|
|
452
|
+
protoOf(insertAt$slambda).x8 = function () {
|
|
453
|
+
var suspendResult = this.r8_1;
|
|
454
454
|
$sm: do
|
|
455
455
|
try {
|
|
456
|
-
var tmp = this.
|
|
456
|
+
var tmp = this.p8_1;
|
|
457
457
|
switch (tmp) {
|
|
458
458
|
case 0:
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.
|
|
459
|
+
this.q8_1 = 7;
|
|
460
|
+
this.ct_1 = asIterable_0(withIndex(this.ws_1)).n();
|
|
461
|
+
this.p8_1 = 1;
|
|
462
462
|
continue $sm;
|
|
463
463
|
case 1:
|
|
464
|
-
if (!this.
|
|
465
|
-
this.
|
|
464
|
+
if (!this.ct_1.q()) {
|
|
465
|
+
this.p8_1 = 6;
|
|
466
466
|
continue $sm;
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
var _destruct__k2r9zo = this.
|
|
470
|
-
var i = _destruct__k2r9zo.
|
|
471
|
-
this.
|
|
472
|
-
if (i === this
|
|
473
|
-
this.
|
|
474
|
-
suspendResult = this
|
|
469
|
+
var _destruct__k2r9zo = this.ct_1.r();
|
|
470
|
+
var i = _destruct__k2r9zo.ae();
|
|
471
|
+
this.bt_1 = _destruct__k2r9zo.be();
|
|
472
|
+
if (i === this.xs_1) {
|
|
473
|
+
this.p8_1 = 2;
|
|
474
|
+
suspendResult = this.at_1.te(this.ys_1, this);
|
|
475
475
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
476
476
|
return suspendResult;
|
|
477
477
|
}
|
|
478
478
|
continue $sm;
|
|
479
479
|
} else {
|
|
480
|
-
this.
|
|
480
|
+
this.p8_1 = 4;
|
|
481
481
|
continue $sm;
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
case 2:
|
|
485
|
-
this.
|
|
486
|
-
suspendResult = this
|
|
485
|
+
this.p8_1 = 3;
|
|
486
|
+
suspendResult = this.at_1.ve(asIterable(this.zs_1), this);
|
|
487
487
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
488
488
|
return suspendResult;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
continue $sm;
|
|
492
492
|
case 3:
|
|
493
|
-
this.
|
|
493
|
+
this.p8_1 = 4;
|
|
494
494
|
continue $sm;
|
|
495
495
|
case 4:
|
|
496
|
-
this.
|
|
497
|
-
suspendResult = this
|
|
496
|
+
this.p8_1 = 5;
|
|
497
|
+
suspendResult = this.at_1.te(this.bt_1, this);
|
|
498
498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
499
499
|
return suspendResult;
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
continue $sm;
|
|
503
503
|
case 5:
|
|
504
|
-
this.
|
|
504
|
+
this.p8_1 = 1;
|
|
505
505
|
continue $sm;
|
|
506
506
|
case 6:
|
|
507
507
|
return Unit_instance;
|
|
508
508
|
case 7:
|
|
509
|
-
throw this.
|
|
509
|
+
throw this.s8_1;
|
|
510
510
|
}
|
|
511
511
|
} catch ($p) {
|
|
512
512
|
var e = $p;
|
|
513
|
-
if (this.
|
|
513
|
+
if (this.q8_1 === 7) {
|
|
514
514
|
throw e;
|
|
515
515
|
} else {
|
|
516
|
-
this.
|
|
517
|
-
this.
|
|
516
|
+
this.p8_1 = this.q8_1;
|
|
517
|
+
this.s8_1 = e;
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
while (true);
|
|
521
521
|
};
|
|
522
|
-
protoOf(insertAt$slambda).
|
|
523
|
-
var i = new insertAt$slambda(this
|
|
524
|
-
i
|
|
522
|
+
protoOf(insertAt$slambda).ns = function ($this$sequence, completion) {
|
|
523
|
+
var i = new insertAt$slambda(this.ws_1, this.xs_1, this.ys_1, this.zs_1, completion);
|
|
524
|
+
i.at_1 = $this$sequence;
|
|
525
525
|
return i;
|
|
526
526
|
};
|
|
527
527
|
function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
|
|
528
528
|
var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
|
|
529
529
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
530
|
-
return i.
|
|
530
|
+
return i.ms($this$sequence, $completion);
|
|
531
531
|
}, 1);
|
|
532
532
|
}
|
|
533
533
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
534
|
-
this.
|
|
534
|
+
this.dt_1 = function_0;
|
|
535
535
|
}
|
|
536
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
537
|
-
return this.
|
|
536
|
+
protoOf(sam$kotlin_Comparator$0_0).qc = function (a, b) {
|
|
537
|
+
return this.dt_1(a, b);
|
|
538
538
|
};
|
|
539
539
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
540
|
-
return this.
|
|
540
|
+
return this.qc(a, b);
|
|
541
541
|
};
|
|
542
|
-
protoOf(sam$kotlin_Comparator$0_0).
|
|
543
|
-
return this.
|
|
542
|
+
protoOf(sam$kotlin_Comparator$0_0).r2 = function () {
|
|
543
|
+
return this.dt_1;
|
|
544
544
|
};
|
|
545
545
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
546
546
|
var tmp;
|
|
547
547
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
548
548
|
var tmp_0;
|
|
549
549
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
550
|
-
tmp_0 = equals(this.
|
|
550
|
+
tmp_0 = equals(this.r2(), other.r2());
|
|
551
551
|
} else {
|
|
552
552
|
tmp_0 = false;
|
|
553
553
|
}
|
|
@@ -558,114 +558,114 @@
|
|
|
558
558
|
return tmp;
|
|
559
559
|
};
|
|
560
560
|
protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
561
|
-
return hashCode(this.
|
|
561
|
+
return hashCode(this.r2());
|
|
562
562
|
};
|
|
563
563
|
function merge$slambda$lambda(it) {
|
|
564
564
|
return cursor_0(it);
|
|
565
565
|
}
|
|
566
566
|
function merge$slambda$lambda_0(it) {
|
|
567
|
-
return it.
|
|
567
|
+
return it.vr();
|
|
568
568
|
}
|
|
569
569
|
function merge$slambda$lambda_1(it) {
|
|
570
|
-
return ensureNotNull(it.
|
|
570
|
+
return ensureNotNull(it.tr());
|
|
571
571
|
}
|
|
572
572
|
function merge$slambda$lambda_2($comparator) {
|
|
573
573
|
return function (a, b) {
|
|
574
|
-
return $comparator.compare(a.
|
|
574
|
+
return $comparator.compare(a.f1(), b.f1());
|
|
575
575
|
};
|
|
576
576
|
}
|
|
577
577
|
function merge$slambda($iterables, $comparator, resultContinuation) {
|
|
578
|
-
this
|
|
579
|
-
this
|
|
578
|
+
this.mt_1 = $iterables;
|
|
579
|
+
this.nt_1 = $comparator;
|
|
580
580
|
CoroutineImpl.call(this, resultContinuation);
|
|
581
581
|
}
|
|
582
|
-
protoOf(merge$slambda).
|
|
583
|
-
var tmp = this.
|
|
584
|
-
tmp.
|
|
585
|
-
tmp.
|
|
586
|
-
return tmp.
|
|
582
|
+
protoOf(merge$slambda).ms = function ($this$sequence, $completion) {
|
|
583
|
+
var tmp = this.ns($this$sequence, $completion);
|
|
584
|
+
tmp.r8_1 = Unit_instance;
|
|
585
|
+
tmp.s8_1 = null;
|
|
586
|
+
return tmp.x8();
|
|
587
587
|
};
|
|
588
|
-
protoOf(merge$slambda).
|
|
589
|
-
return this.
|
|
588
|
+
protoOf(merge$slambda).o9 = function (p1, $completion) {
|
|
589
|
+
return this.ms(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
590
590
|
};
|
|
591
|
-
protoOf(merge$slambda).
|
|
592
|
-
var suspendResult = this.
|
|
591
|
+
protoOf(merge$slambda).x8 = function () {
|
|
592
|
+
var suspendResult = this.r8_1;
|
|
593
593
|
$sm: do
|
|
594
594
|
try {
|
|
595
|
-
var tmp = this.
|
|
595
|
+
var tmp = this.p8_1;
|
|
596
596
|
switch (tmp) {
|
|
597
597
|
case 0:
|
|
598
|
-
this.
|
|
598
|
+
this.q8_1 = 3;
|
|
599
599
|
var tmp_0 = this;
|
|
600
|
-
var tmp_1 = asSequence(this
|
|
600
|
+
var tmp_1 = asSequence(this.mt_1);
|
|
601
601
|
var tmp_2 = map(tmp_1, merge$slambda$lambda);
|
|
602
|
-
tmp_0.
|
|
603
|
-
this.
|
|
602
|
+
tmp_0.qt_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
|
|
603
|
+
this.p8_1 = 1;
|
|
604
604
|
continue $sm;
|
|
605
605
|
case 1:
|
|
606
|
-
if (!!this.
|
|
607
|
-
this.
|
|
606
|
+
if (!!this.qt_1.i()) {
|
|
607
|
+
this.p8_1 = 4;
|
|
608
608
|
continue $sm;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
|
-
var tmp_3 = asSequence(this.
|
|
611
|
+
var tmp_3 = asSequence(this.qt_1);
|
|
612
612
|
var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
|
|
613
|
-
var tmp_5 = merge$slambda$lambda_2(this
|
|
613
|
+
var tmp_5 = merge$slambda$lambda_2(this.nt_1);
|
|
614
614
|
var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
|
|
615
|
-
this.
|
|
616
|
-
var minValue = _destruct__k2r9zo.
|
|
617
|
-
this.
|
|
618
|
-
suspendResult = this
|
|
615
|
+
this.pt_1 = _destruct__k2r9zo.ae();
|
|
616
|
+
var minValue = _destruct__k2r9zo.be();
|
|
617
|
+
this.p8_1 = 2;
|
|
618
|
+
suspendResult = this.ot_1.te(minValue, this);
|
|
619
619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
620
620
|
return suspendResult;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
continue $sm;
|
|
624
624
|
case 2:
|
|
625
|
-
var it = this.
|
|
625
|
+
var it = this.qt_1.x(this.pt_1).sr();
|
|
626
626
|
var tmp_6;
|
|
627
|
-
if (it.
|
|
628
|
-
tmp_6 = this.
|
|
627
|
+
if (it.vr()) {
|
|
628
|
+
tmp_6 = this.qt_1.q3(this.pt_1);
|
|
629
629
|
} else {
|
|
630
|
-
this.
|
|
630
|
+
this.qt_1.i3(this.pt_1, it);
|
|
631
631
|
tmp_6 = Unit_instance;
|
|
632
632
|
}
|
|
633
633
|
|
|
634
|
-
this.
|
|
634
|
+
this.p8_1 = 1;
|
|
635
635
|
continue $sm;
|
|
636
636
|
case 3:
|
|
637
|
-
throw this.
|
|
637
|
+
throw this.s8_1;
|
|
638
638
|
case 4:
|
|
639
639
|
return Unit_instance;
|
|
640
640
|
}
|
|
641
641
|
} catch ($p) {
|
|
642
642
|
var e = $p;
|
|
643
|
-
if (this.
|
|
643
|
+
if (this.q8_1 === 3) {
|
|
644
644
|
throw e;
|
|
645
645
|
} else {
|
|
646
|
-
this.
|
|
647
|
-
this.
|
|
646
|
+
this.p8_1 = this.q8_1;
|
|
647
|
+
this.s8_1 = e;
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
while (true);
|
|
651
651
|
};
|
|
652
|
-
protoOf(merge$slambda).
|
|
653
|
-
var i = new merge$slambda(this
|
|
654
|
-
i
|
|
652
|
+
protoOf(merge$slambda).ns = function ($this$sequence, completion) {
|
|
653
|
+
var i = new merge$slambda(this.mt_1, this.nt_1, completion);
|
|
654
|
+
i.ot_1 = $this$sequence;
|
|
655
655
|
return i;
|
|
656
656
|
};
|
|
657
657
|
function merge$slambda_0($iterables, $comparator, resultContinuation) {
|
|
658
658
|
var i = new merge$slambda($iterables, $comparator, resultContinuation);
|
|
659
659
|
return constructCallableReference(function ($this$sequence, $completion) {
|
|
660
|
-
return i.
|
|
660
|
+
return i.ms($this$sequence, $completion);
|
|
661
661
|
}, 1);
|
|
662
662
|
}
|
|
663
663
|
function indexed$lambda(it, i) {
|
|
664
|
-
return Companion_instance_2.
|
|
664
|
+
return Companion_instance_2.yr(i, it);
|
|
665
665
|
}
|
|
666
666
|
function Companion_3() {
|
|
667
667
|
}
|
|
668
|
-
protoOf(Companion_3).
|
|
668
|
+
protoOf(Companion_3).rt = function (index, value) {
|
|
669
669
|
return new LongIndexedImpl(index, value);
|
|
670
670
|
};
|
|
671
671
|
var Companion_instance_3;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
var tmp = this;
|
|
680
680
|
// Inline function 'kotlin.text.toRegex' call
|
|
681
681
|
var this_0 = '-?[0-9]+';
|
|
682
|
-
tmp.
|
|
682
|
+
tmp.tt_1 = Regex_init_$Create$(this_0);
|
|
683
683
|
}
|
|
684
684
|
var Companion_instance_4;
|
|
685
685
|
function Companion_getInstance_6() {
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
return Companion_instance_4;
|
|
689
689
|
}
|
|
690
690
|
function _get_stringRepresentation__xuqjt9($this, $receiver) {
|
|
691
|
-
return $this.
|
|
691
|
+
return $this.ut_1.gr($receiver, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($receiver));
|
|
692
692
|
}
|
|
693
693
|
function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
|
|
694
694
|
return function () {
|
|
@@ -697,32 +697,32 @@
|
|
|
697
697
|
}
|
|
698
698
|
function NumberTypeTester() {
|
|
699
699
|
Companion_getInstance_6();
|
|
700
|
-
this.
|
|
700
|
+
this.ut_1 = Companion_instance.er(8);
|
|
701
701
|
}
|
|
702
|
-
protoOf(NumberTypeTester).
|
|
703
|
-
return Companion_getInstance_6().
|
|
702
|
+
protoOf(NumberTypeTester).vt = function (_this__u8e3s4) {
|
|
703
|
+
return Companion_getInstance_6().tt_1.nb(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
704
704
|
};
|
|
705
|
-
protoOf(NumberTypeTester).
|
|
705
|
+
protoOf(NumberTypeTester).wt = function (_this__u8e3s4) {
|
|
706
706
|
return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
707
707
|
};
|
|
708
|
-
protoOf(NumberTypeTester).
|
|
708
|
+
protoOf(NumberTypeTester).xt = function (_this__u8e3s4) {
|
|
709
709
|
return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(this, _this__u8e3s4));
|
|
710
710
|
};
|
|
711
711
|
function Companion_5() {
|
|
712
712
|
}
|
|
713
|
-
protoOf(Companion_5).
|
|
713
|
+
protoOf(Companion_5).yt = function (value) {
|
|
714
714
|
return new Some(value);
|
|
715
715
|
};
|
|
716
|
-
protoOf(Companion_5).
|
|
716
|
+
protoOf(Companion_5).nr = function (value) {
|
|
717
717
|
var tmp;
|
|
718
718
|
if (value == null) {
|
|
719
|
-
tmp = this.
|
|
719
|
+
tmp = this.mr();
|
|
720
720
|
} else {
|
|
721
|
-
tmp = this.
|
|
721
|
+
tmp = this.yt(value);
|
|
722
722
|
}
|
|
723
723
|
return tmp;
|
|
724
724
|
};
|
|
725
|
-
protoOf(Companion_5).
|
|
725
|
+
protoOf(Companion_5).mr = function () {
|
|
726
726
|
return None_getInstance();
|
|
727
727
|
};
|
|
728
728
|
var Companion_instance_5;
|
|
@@ -731,29 +731,29 @@
|
|
|
731
731
|
}
|
|
732
732
|
function Some(value) {
|
|
733
733
|
Optional.call(this);
|
|
734
|
-
this.
|
|
734
|
+
this.hr_1 = value;
|
|
735
735
|
}
|
|
736
|
-
protoOf(Some).
|
|
737
|
-
return this.
|
|
736
|
+
protoOf(Some).f1 = function () {
|
|
737
|
+
return this.hr_1;
|
|
738
738
|
};
|
|
739
|
-
protoOf(Some).
|
|
739
|
+
protoOf(Some).zt = function () {
|
|
740
740
|
return true;
|
|
741
741
|
};
|
|
742
|
-
protoOf(Some).
|
|
743
|
-
return new Some(function_0(this.
|
|
742
|
+
protoOf(Some).au = function (function_0) {
|
|
743
|
+
return new Some(function_0(this.hr_1));
|
|
744
744
|
};
|
|
745
745
|
protoOf(Some).toString = function () {
|
|
746
|
-
return 'Some(' + toString_0(this.
|
|
746
|
+
return 'Some(' + toString_0(this.hr_1) + ')';
|
|
747
747
|
};
|
|
748
748
|
protoOf(Some).hashCode = function () {
|
|
749
|
-
return this.
|
|
749
|
+
return this.hr_1 == null ? 0 : hashCode(this.hr_1);
|
|
750
750
|
};
|
|
751
751
|
protoOf(Some).equals = function (other) {
|
|
752
752
|
if (this === other)
|
|
753
753
|
return true;
|
|
754
754
|
if (!(other instanceof Some))
|
|
755
755
|
return false;
|
|
756
|
-
if (!equals(this.
|
|
756
|
+
if (!equals(this.hr_1, other.hr_1))
|
|
757
757
|
return false;
|
|
758
758
|
return true;
|
|
759
759
|
};
|
|
@@ -761,17 +761,17 @@
|
|
|
761
761
|
None_instance = this;
|
|
762
762
|
Optional.call(this);
|
|
763
763
|
}
|
|
764
|
-
protoOf(None).
|
|
764
|
+
protoOf(None).f1 = function () {
|
|
765
765
|
return null;
|
|
766
766
|
};
|
|
767
|
-
protoOf(None).
|
|
767
|
+
protoOf(None).zt = function () {
|
|
768
768
|
return false;
|
|
769
769
|
};
|
|
770
|
-
protoOf(None).
|
|
770
|
+
protoOf(None).cu = function (function_0) {
|
|
771
771
|
return None_getInstance();
|
|
772
772
|
};
|
|
773
|
-
protoOf(None).
|
|
774
|
-
return this.
|
|
773
|
+
protoOf(None).au = function (function_0) {
|
|
774
|
+
return this.cu(function_0);
|
|
775
775
|
};
|
|
776
776
|
protoOf(None).toString = function () {
|
|
777
777
|
return 'None';
|
|
@@ -784,16 +784,16 @@
|
|
|
784
784
|
}
|
|
785
785
|
function Optional() {
|
|
786
786
|
}
|
|
787
|
-
protoOf(Optional).
|
|
788
|
-
return !this.
|
|
787
|
+
protoOf(Optional).bu = function () {
|
|
788
|
+
return !this.zt();
|
|
789
789
|
};
|
|
790
790
|
function Taggable() {
|
|
791
791
|
}
|
|
792
792
|
function setTag(_this__u8e3s4, key, value) {
|
|
793
793
|
// Inline function 'kotlin.also' call
|
|
794
|
-
var this_0 = toMutableMap(_this__u8e3s4.
|
|
794
|
+
var this_0 = toMutableMap(_this__u8e3s4.du());
|
|
795
795
|
// Inline function 'kotlin.collections.set' call
|
|
796
|
-
this_0.
|
|
796
|
+
this_0.s4(key, value);
|
|
797
797
|
return setTags(_this__u8e3s4, this_0);
|
|
798
798
|
}
|
|
799
799
|
function setTags(_this__u8e3s4, tags) {
|
|
@@ -805,9 +805,9 @@
|
|
|
805
805
|
}
|
|
806
806
|
function Companion_6() {
|
|
807
807
|
}
|
|
808
|
-
protoOf(Companion_6).
|
|
808
|
+
protoOf(Companion_6).wr = function (source) {
|
|
809
809
|
var tmp;
|
|
810
|
-
if (source.
|
|
810
|
+
if (source.q()) {
|
|
811
811
|
tmp = new LazyCursor(source);
|
|
812
812
|
} else {
|
|
813
813
|
tmp = EmptyCursor_getInstance();
|
|
@@ -819,105 +819,105 @@
|
|
|
819
819
|
return Companion_instance_6;
|
|
820
820
|
}
|
|
821
821
|
function AbstractCursor$iterator$1(this$0) {
|
|
822
|
-
this.
|
|
822
|
+
this.eu_1 = this$0;
|
|
823
823
|
}
|
|
824
|
-
protoOf(AbstractCursor$iterator$1).
|
|
825
|
-
return !this.
|
|
824
|
+
protoOf(AbstractCursor$iterator$1).q = function () {
|
|
825
|
+
return !this.eu_1.vr();
|
|
826
826
|
};
|
|
827
|
-
protoOf(AbstractCursor$iterator$1).
|
|
828
|
-
var result = this.
|
|
829
|
-
this.
|
|
827
|
+
protoOf(AbstractCursor$iterator$1).r = function () {
|
|
828
|
+
var result = this.eu_1.tr();
|
|
829
|
+
this.eu_1 = this.eu_1.sr();
|
|
830
830
|
return ensureNotNull(result);
|
|
831
831
|
};
|
|
832
832
|
function AbstractCursor() {
|
|
833
833
|
}
|
|
834
834
|
protoOf(AbstractCursor).toString = function () {
|
|
835
|
-
return this.
|
|
835
|
+
return this.vr() ? '[]' : !this.ur() ? '[' + toString_0(this.tr()) + ']' : '[' + toString_0(this.tr()) + ', ...]';
|
|
836
836
|
};
|
|
837
|
-
protoOf(AbstractCursor).
|
|
837
|
+
protoOf(AbstractCursor).n = function () {
|
|
838
838
|
return new AbstractCursor$iterator$1(this);
|
|
839
839
|
};
|
|
840
840
|
protoOf(AbstractCursor).iterator = function () {
|
|
841
|
-
return this.
|
|
841
|
+
return this.n();
|
|
842
842
|
};
|
|
843
|
-
protoOf(AbstractCursor).
|
|
843
|
+
protoOf(AbstractCursor).fu = function () {
|
|
844
844
|
return false;
|
|
845
845
|
};
|
|
846
|
-
protoOf(AbstractCursor).
|
|
846
|
+
protoOf(AbstractCursor).au = function (mapper) {
|
|
847
847
|
return new MapperCursor(this, mapper);
|
|
848
848
|
};
|
|
849
849
|
protoOf(AbstractCursor).map = function (mapper) {
|
|
850
|
-
return this.
|
|
850
|
+
return this.au(mapper);
|
|
851
851
|
};
|
|
852
852
|
function CachedImpl(generator) {
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
853
|
+
this.gu_1 = generator;
|
|
854
|
+
this.hu_1 = Companion_instance_5.mr();
|
|
855
855
|
}
|
|
856
|
-
protoOf(CachedImpl).
|
|
857
|
-
return this.
|
|
856
|
+
protoOf(CachedImpl).jr = function () {
|
|
857
|
+
return this.hu_1.zt();
|
|
858
858
|
};
|
|
859
|
-
protoOf(CachedImpl).
|
|
860
|
-
return this.
|
|
859
|
+
protoOf(CachedImpl).iu = function () {
|
|
860
|
+
return this.hu_1.bu();
|
|
861
861
|
};
|
|
862
|
-
protoOf(CachedImpl).
|
|
863
|
-
this.
|
|
864
|
-
return ensureNotNull(this.
|
|
862
|
+
protoOf(CachedImpl).f1 = function () {
|
|
863
|
+
this.ju();
|
|
864
|
+
return ensureNotNull(this.hu_1.f1());
|
|
865
865
|
};
|
|
866
|
-
protoOf(CachedImpl).
|
|
867
|
-
if (this.
|
|
868
|
-
this.
|
|
866
|
+
protoOf(CachedImpl).ju = function () {
|
|
867
|
+
if (this.iu()) {
|
|
868
|
+
this.hu_1 = Companion_instance_5.yt(this.gu_1());
|
|
869
869
|
}
|
|
870
870
|
};
|
|
871
|
-
protoOf(CachedImpl).
|
|
872
|
-
this.
|
|
871
|
+
protoOf(CachedImpl).kr = function () {
|
|
872
|
+
this.hu_1 = Companion_instance_5.mr();
|
|
873
873
|
};
|
|
874
874
|
protoOf(CachedImpl).toString = function () {
|
|
875
|
-
return 'CachedImpl(generator=' + toString(this.
|
|
875
|
+
return 'CachedImpl(generator=' + toString(this.gu_1) + ')';
|
|
876
876
|
};
|
|
877
877
|
protoOf(CachedImpl).hashCode = function () {
|
|
878
|
-
return hashCode(this.
|
|
878
|
+
return hashCode(this.gu_1);
|
|
879
879
|
};
|
|
880
880
|
protoOf(CachedImpl).equals = function (other) {
|
|
881
881
|
if (this === other)
|
|
882
882
|
return true;
|
|
883
883
|
if (!(other instanceof CachedImpl))
|
|
884
884
|
return false;
|
|
885
|
-
if (!equals(this.
|
|
885
|
+
if (!equals(this.gu_1, other.gu_1))
|
|
886
886
|
return false;
|
|
887
887
|
return true;
|
|
888
888
|
};
|
|
889
889
|
function ConjunctionCursor$next$delegate$lambda(this$0) {
|
|
890
890
|
return function () {
|
|
891
|
-
return this$0.
|
|
891
|
+
return this$0.ku_1.ur() ? new ConjunctionCursor(this$0.ku_1.sr(), this$0.lu_1) : this$0.lu_1.fu() ? this$0.lu_1.sr() : this$0.lu_1;
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
894
|
function ConjunctionCursor$_get_next_$ref_xfvrtr() {
|
|
895
895
|
return constructCallableReference(function (p0) {
|
|
896
|
-
return p0.
|
|
896
|
+
return p0.sr();
|
|
897
897
|
}, 1, 0, 2);
|
|
898
898
|
}
|
|
899
899
|
function ConjunctionCursor(first, second) {
|
|
900
900
|
AbstractCursor.call(this);
|
|
901
|
-
this.
|
|
902
|
-
this.
|
|
901
|
+
this.ku_1 = first;
|
|
902
|
+
this.lu_1 = second;
|
|
903
903
|
var tmp = this;
|
|
904
|
-
tmp.
|
|
904
|
+
tmp.mu_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
|
|
905
905
|
}
|
|
906
|
-
protoOf(ConjunctionCursor).
|
|
907
|
-
return this.
|
|
906
|
+
protoOf(ConjunctionCursor).vr = function () {
|
|
907
|
+
return this.ku_1.vr() && this.lu_1.vr();
|
|
908
908
|
};
|
|
909
|
-
protoOf(ConjunctionCursor).
|
|
910
|
-
var tmp0 = this.
|
|
909
|
+
protoOf(ConjunctionCursor).sr = function () {
|
|
910
|
+
var tmp0 = this.mu_1;
|
|
911
911
|
var tmp = KProperty1;
|
|
912
912
|
// Inline function 'kotlin.getValue' call
|
|
913
913
|
getPropertyCallableRef('next', 1, tmp, ConjunctionCursor$_get_next_$ref_xfvrtr(), null);
|
|
914
|
-
return tmp0.
|
|
914
|
+
return tmp0.f1();
|
|
915
915
|
};
|
|
916
|
-
protoOf(ConjunctionCursor).
|
|
917
|
-
return this.
|
|
916
|
+
protoOf(ConjunctionCursor).tr = function () {
|
|
917
|
+
return this.ku_1.ur() ? this.ku_1.tr() : this.lu_1.tr();
|
|
918
918
|
};
|
|
919
|
-
protoOf(ConjunctionCursor).
|
|
920
|
-
return this.
|
|
919
|
+
protoOf(ConjunctionCursor).ur = function () {
|
|
920
|
+
return this.ku_1.ur() || this.lu_1.ur();
|
|
921
921
|
};
|
|
922
922
|
protoOf(ConjunctionCursor).equals = function (other) {
|
|
923
923
|
if (this === other)
|
|
@@ -926,44 +926,44 @@
|
|
|
926
926
|
return false;
|
|
927
927
|
if (!(other instanceof ConjunctionCursor))
|
|
928
928
|
THROW_CCE();
|
|
929
|
-
if (!equals(this.
|
|
929
|
+
if (!equals(this.ku_1, other.ku_1))
|
|
930
930
|
return false;
|
|
931
|
-
if (!equals(this.
|
|
931
|
+
if (!equals(this.lu_1, other.lu_1))
|
|
932
932
|
return false;
|
|
933
933
|
return true;
|
|
934
934
|
};
|
|
935
935
|
protoOf(ConjunctionCursor).hashCode = function () {
|
|
936
|
-
var result = hashCode(this.
|
|
937
|
-
result = imul(31, result) + hashCode(this.
|
|
936
|
+
var result = hashCode(this.ku_1);
|
|
937
|
+
result = imul(31, result) + hashCode(this.lu_1) | 0;
|
|
938
938
|
return result;
|
|
939
939
|
};
|
|
940
940
|
function EmptyCursor() {
|
|
941
941
|
EmptyCursor_instance = this;
|
|
942
942
|
AbstractCursor.call(this);
|
|
943
943
|
}
|
|
944
|
-
protoOf(EmptyCursor).
|
|
944
|
+
protoOf(EmptyCursor).sr = function () {
|
|
945
945
|
throw NoSuchElementException_init_$Create$();
|
|
946
946
|
};
|
|
947
|
-
protoOf(EmptyCursor).
|
|
947
|
+
protoOf(EmptyCursor).tr = function () {
|
|
948
948
|
return null;
|
|
949
949
|
};
|
|
950
|
-
protoOf(EmptyCursor).
|
|
950
|
+
protoOf(EmptyCursor).ur = function () {
|
|
951
951
|
return false;
|
|
952
952
|
};
|
|
953
|
-
protoOf(EmptyCursor).
|
|
953
|
+
protoOf(EmptyCursor).vr = function () {
|
|
954
954
|
return true;
|
|
955
955
|
};
|
|
956
956
|
protoOf(EmptyCursor).toString = function () {
|
|
957
957
|
return protoOf(AbstractCursor).toString.call(this);
|
|
958
958
|
};
|
|
959
|
-
protoOf(EmptyCursor).
|
|
959
|
+
protoOf(EmptyCursor).cu = function (mapper) {
|
|
960
960
|
return this;
|
|
961
961
|
};
|
|
962
962
|
protoOf(EmptyCursor).map = function (mapper) {
|
|
963
|
-
return this.
|
|
963
|
+
return this.cu(mapper);
|
|
964
964
|
};
|
|
965
|
-
protoOf(EmptyCursor).
|
|
966
|
-
return this.
|
|
965
|
+
protoOf(EmptyCursor).au = function (mapper) {
|
|
966
|
+
return this.cu(mapper);
|
|
967
967
|
};
|
|
968
968
|
var EmptyCursor_instance;
|
|
969
969
|
function EmptyCursor_getInstance() {
|
|
@@ -972,27 +972,27 @@
|
|
|
972
972
|
return EmptyCursor_instance;
|
|
973
973
|
}
|
|
974
974
|
function IntIndexedImpl(index, value) {
|
|
975
|
-
this.
|
|
976
|
-
this.
|
|
975
|
+
this.nu_1 = index;
|
|
976
|
+
this.ou_1 = value;
|
|
977
977
|
}
|
|
978
|
-
protoOf(IntIndexedImpl).
|
|
979
|
-
return this.
|
|
978
|
+
protoOf(IntIndexedImpl).xr = function () {
|
|
979
|
+
return this.nu_1;
|
|
980
980
|
};
|
|
981
|
-
protoOf(IntIndexedImpl).
|
|
982
|
-
return this.
|
|
981
|
+
protoOf(IntIndexedImpl).f1 = function () {
|
|
982
|
+
return this.ou_1;
|
|
983
983
|
};
|
|
984
|
-
protoOf(IntIndexedImpl).
|
|
985
|
-
return this.
|
|
984
|
+
protoOf(IntIndexedImpl).ae = function () {
|
|
985
|
+
return this.nu_1;
|
|
986
986
|
};
|
|
987
|
-
protoOf(IntIndexedImpl).
|
|
988
|
-
return this.
|
|
987
|
+
protoOf(IntIndexedImpl).be = function () {
|
|
988
|
+
return this.ou_1;
|
|
989
989
|
};
|
|
990
990
|
protoOf(IntIndexedImpl).toString = function () {
|
|
991
|
-
return 'IntIndexedImpl(index=' + this.
|
|
991
|
+
return 'IntIndexedImpl(index=' + this.nu_1 + ', value=' + toString_0(this.ou_1) + ')';
|
|
992
992
|
};
|
|
993
993
|
protoOf(IntIndexedImpl).hashCode = function () {
|
|
994
|
-
var result = this.
|
|
995
|
-
result = imul(result, 31) + (this.
|
|
994
|
+
var result = this.nu_1;
|
|
995
|
+
result = imul(result, 31) + (this.ou_1 == null ? 0 : hashCode(this.ou_1)) | 0;
|
|
996
996
|
return result;
|
|
997
997
|
};
|
|
998
998
|
protoOf(IntIndexedImpl).equals = function (other) {
|
|
@@ -1000,25 +1000,25 @@
|
|
|
1000
1000
|
return true;
|
|
1001
1001
|
if (!(other instanceof IntIndexedImpl))
|
|
1002
1002
|
return false;
|
|
1003
|
-
if (!(this.
|
|
1003
|
+
if (!(this.nu_1 === other.nu_1))
|
|
1004
1004
|
return false;
|
|
1005
|
-
if (!equals(this.
|
|
1005
|
+
if (!equals(this.ou_1, other.ou_1))
|
|
1006
1006
|
return false;
|
|
1007
1007
|
return true;
|
|
1008
1008
|
};
|
|
1009
|
-
protoOf(IntIndexedImpl).
|
|
1010
|
-
return this.
|
|
1009
|
+
protoOf(IntIndexedImpl).d = function (other) {
|
|
1010
|
+
return this.zr((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
|
|
1011
1011
|
};
|
|
1012
1012
|
function _get_wrapped__s2ip8($this) {
|
|
1013
|
-
var tmp0 = $this.
|
|
1013
|
+
var tmp0 = $this.qu_1;
|
|
1014
1014
|
var tmp = KProperty1;
|
|
1015
1015
|
// Inline function 'kotlin.getValue' call
|
|
1016
1016
|
getPropertyCallableRef('wrapped', 1, tmp, LazyCursor$_get_wrapped_$ref_p28zr5(), null);
|
|
1017
|
-
return tmp0.
|
|
1017
|
+
return tmp0.f1();
|
|
1018
1018
|
}
|
|
1019
1019
|
function LazyCursor$wrapped$delegate$lambda(this$0) {
|
|
1020
1020
|
return function () {
|
|
1021
|
-
return new NonLastCursor(this$0.
|
|
1021
|
+
return new NonLastCursor(this$0.pu_1);
|
|
1022
1022
|
};
|
|
1023
1023
|
}
|
|
1024
1024
|
function LazyCursor$_get_wrapped_$ref_p28zr5() {
|
|
@@ -1028,74 +1028,74 @@
|
|
|
1028
1028
|
}
|
|
1029
1029
|
function LazyCursor(delegate) {
|
|
1030
1030
|
AbstractCursor.call(this);
|
|
1031
|
-
this.
|
|
1031
|
+
this.pu_1 = delegate;
|
|
1032
1032
|
var tmp = this;
|
|
1033
|
-
tmp.
|
|
1033
|
+
tmp.qu_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
|
|
1034
1034
|
}
|
|
1035
|
-
protoOf(LazyCursor).
|
|
1035
|
+
protoOf(LazyCursor).fu = function () {
|
|
1036
1036
|
return true;
|
|
1037
1037
|
};
|
|
1038
|
-
protoOf(LazyCursor).
|
|
1039
|
-
return _get_wrapped__s2ip8(this).
|
|
1038
|
+
protoOf(LazyCursor).sr = function () {
|
|
1039
|
+
return _get_wrapped__s2ip8(this).sr();
|
|
1040
1040
|
};
|
|
1041
|
-
protoOf(LazyCursor).
|
|
1042
|
-
return _get_wrapped__s2ip8(this).
|
|
1041
|
+
protoOf(LazyCursor).tr = function () {
|
|
1042
|
+
return _get_wrapped__s2ip8(this).tr();
|
|
1043
1043
|
};
|
|
1044
|
-
protoOf(LazyCursor).
|
|
1044
|
+
protoOf(LazyCursor).ur = function () {
|
|
1045
1045
|
return true;
|
|
1046
1046
|
};
|
|
1047
|
-
protoOf(LazyCursor).
|
|
1047
|
+
protoOf(LazyCursor).vr = function () {
|
|
1048
1048
|
return false;
|
|
1049
1049
|
};
|
|
1050
1050
|
protoOf(LazyCursor).toString = function () {
|
|
1051
1051
|
return protoOf(AbstractCursor).toString.call(this);
|
|
1052
1052
|
};
|
|
1053
|
-
protoOf(LazyCursor).
|
|
1054
|
-
return _get_wrapped__s2ip8(this).
|
|
1053
|
+
protoOf(LazyCursor).n = function () {
|
|
1054
|
+
return _get_wrapped__s2ip8(this).n();
|
|
1055
1055
|
};
|
|
1056
1056
|
protoOf(LazyCursor).iterator = function () {
|
|
1057
|
-
return this.
|
|
1057
|
+
return this.n();
|
|
1058
1058
|
};
|
|
1059
1059
|
protoOf(LazyCursor).hashCode = function () {
|
|
1060
|
-
return hashCode(this.
|
|
1060
|
+
return hashCode(this.pu_1);
|
|
1061
1061
|
};
|
|
1062
1062
|
protoOf(LazyCursor).equals = function (other) {
|
|
1063
1063
|
if (this === other)
|
|
1064
1064
|
return true;
|
|
1065
1065
|
if (!(other instanceof LazyCursor))
|
|
1066
1066
|
return false;
|
|
1067
|
-
if (!equals(this.
|
|
1067
|
+
if (!equals(this.pu_1, other.pu_1))
|
|
1068
1068
|
return false;
|
|
1069
1069
|
return true;
|
|
1070
1070
|
};
|
|
1071
1071
|
function LongIndexedImpl(index, value) {
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1072
|
+
this.ru_1 = index;
|
|
1073
|
+
this.su_1 = value;
|
|
1074
1074
|
}
|
|
1075
|
-
protoOf(LongIndexedImpl).
|
|
1076
|
-
return this.
|
|
1075
|
+
protoOf(LongIndexedImpl).xr = function () {
|
|
1076
|
+
return this.ru_1;
|
|
1077
1077
|
};
|
|
1078
|
-
protoOf(LongIndexedImpl).
|
|
1079
|
-
return this.
|
|
1078
|
+
protoOf(LongIndexedImpl).f1 = function () {
|
|
1079
|
+
return this.su_1;
|
|
1080
1080
|
};
|
|
1081
|
-
protoOf(LongIndexedImpl).
|
|
1082
|
-
return convertToInt(subtract(this.
|
|
1081
|
+
protoOf(LongIndexedImpl).st = function (other) {
|
|
1082
|
+
return convertToInt(subtract(this.ru_1, other.xr()));
|
|
1083
1083
|
};
|
|
1084
|
-
protoOf(LongIndexedImpl).
|
|
1085
|
-
return this.
|
|
1084
|
+
protoOf(LongIndexedImpl).d = function (other) {
|
|
1085
|
+
return this.st((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
|
|
1086
1086
|
};
|
|
1087
|
-
protoOf(LongIndexedImpl).
|
|
1088
|
-
return this.
|
|
1087
|
+
protoOf(LongIndexedImpl).ae = function () {
|
|
1088
|
+
return this.ru_1;
|
|
1089
1089
|
};
|
|
1090
|
-
protoOf(LongIndexedImpl).
|
|
1091
|
-
return this.
|
|
1090
|
+
protoOf(LongIndexedImpl).be = function () {
|
|
1091
|
+
return this.su_1;
|
|
1092
1092
|
};
|
|
1093
1093
|
protoOf(LongIndexedImpl).toString = function () {
|
|
1094
|
-
return 'LongIndexedImpl(index=' + this.
|
|
1094
|
+
return 'LongIndexedImpl(index=' + this.ru_1.toString() + ', value=' + toString_0(this.su_1) + ')';
|
|
1095
1095
|
};
|
|
1096
1096
|
protoOf(LongIndexedImpl).hashCode = function () {
|
|
1097
|
-
var result = getBigIntHashCode(this.
|
|
1098
|
-
result = imul(result, 31) + (this.
|
|
1097
|
+
var result = getBigIntHashCode(this.ru_1);
|
|
1098
|
+
result = imul(result, 31) + (this.su_1 == null ? 0 : hashCode(this.su_1)) | 0;
|
|
1099
1099
|
return result;
|
|
1100
1100
|
};
|
|
1101
1101
|
protoOf(LongIndexedImpl).equals = function (other) {
|
|
@@ -1103,43 +1103,43 @@
|
|
|
1103
1103
|
return true;
|
|
1104
1104
|
if (!(other instanceof LongIndexedImpl))
|
|
1105
1105
|
return false;
|
|
1106
|
-
if (!(this.
|
|
1106
|
+
if (!(this.ru_1 === other.ru_1))
|
|
1107
1107
|
return false;
|
|
1108
|
-
if (!equals(this.
|
|
1108
|
+
if (!equals(this.su_1, other.su_1))
|
|
1109
1109
|
return false;
|
|
1110
1110
|
return true;
|
|
1111
1111
|
};
|
|
1112
1112
|
function MapperCursor$current$delegate$lambda(this$0) {
|
|
1113
1113
|
return function () {
|
|
1114
|
-
return this$0.
|
|
1114
|
+
return this$0.uu_1(ensureNotNull(this$0.tu_1.tr()));
|
|
1115
1115
|
};
|
|
1116
1116
|
}
|
|
1117
1117
|
function MapperCursor$_get_current_$ref_lsggiu() {
|
|
1118
1118
|
return constructCallableReference(function (p0) {
|
|
1119
|
-
return p0.
|
|
1119
|
+
return p0.tr();
|
|
1120
1120
|
}, 1, 0, 4);
|
|
1121
1121
|
}
|
|
1122
1122
|
function MapperCursor(wrapped, mapper) {
|
|
1123
1123
|
AbstractCursor.call(this);
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1124
|
+
this.tu_1 = wrapped;
|
|
1125
|
+
this.uu_1 = mapper;
|
|
1126
1126
|
var tmp = this;
|
|
1127
|
-
tmp.
|
|
1127
|
+
tmp.vu_1 = lazy(MapperCursor$current$delegate$lambda(this));
|
|
1128
1128
|
}
|
|
1129
|
-
protoOf(MapperCursor).
|
|
1130
|
-
return this.
|
|
1129
|
+
protoOf(MapperCursor).sr = function () {
|
|
1130
|
+
return this.tu_1.sr().au(this.uu_1);
|
|
1131
1131
|
};
|
|
1132
|
-
protoOf(MapperCursor).
|
|
1133
|
-
var tmp0 = this.
|
|
1132
|
+
protoOf(MapperCursor).tr = function () {
|
|
1133
|
+
var tmp0 = this.vu_1;
|
|
1134
1134
|
var tmp = KProperty1;
|
|
1135
1135
|
// Inline function 'kotlin.getValue' call
|
|
1136
1136
|
getPropertyCallableRef('current', 1, tmp, MapperCursor$_get_current_$ref_lsggiu(), null);
|
|
1137
|
-
return tmp0.
|
|
1137
|
+
return tmp0.f1();
|
|
1138
1138
|
};
|
|
1139
|
-
protoOf(MapperCursor).
|
|
1139
|
+
protoOf(MapperCursor).ur = function () {
|
|
1140
1140
|
return true;
|
|
1141
1141
|
};
|
|
1142
|
-
protoOf(MapperCursor).
|
|
1142
|
+
protoOf(MapperCursor).vr = function () {
|
|
1143
1143
|
return false;
|
|
1144
1144
|
};
|
|
1145
1145
|
protoOf(MapperCursor).equals = function (other) {
|
|
@@ -1149,60 +1149,60 @@
|
|
|
1149
1149
|
return false;
|
|
1150
1150
|
if (!(other instanceof MapperCursor))
|
|
1151
1151
|
THROW_CCE();
|
|
1152
|
-
if (!equals(this.
|
|
1152
|
+
if (!equals(this.tu_1, other.tu_1))
|
|
1153
1153
|
return false;
|
|
1154
|
-
if (!equals(this.
|
|
1154
|
+
if (!equals(this.uu_1, other.uu_1))
|
|
1155
1155
|
return false;
|
|
1156
1156
|
return true;
|
|
1157
1157
|
};
|
|
1158
1158
|
protoOf(MapperCursor).hashCode = function () {
|
|
1159
|
-
var result = hashCode(this.
|
|
1160
|
-
result = imul(31, result) + hashCode(this.
|
|
1159
|
+
var result = hashCode(this.tu_1);
|
|
1160
|
+
result = imul(31, result) + hashCode(this.uu_1) | 0;
|
|
1161
1161
|
return result;
|
|
1162
1162
|
};
|
|
1163
|
-
protoOf(MapperCursor).
|
|
1164
|
-
return new ValueCursor(mapper(this.
|
|
1163
|
+
protoOf(MapperCursor).wu = function (mapper) {
|
|
1164
|
+
return new ValueCursor(mapper(this.tr()), this.sr().au(mapper));
|
|
1165
1165
|
};
|
|
1166
1166
|
protoOf(MapperCursor).map = function (mapper) {
|
|
1167
|
-
return this.
|
|
1167
|
+
return this.wu(mapper);
|
|
1168
1168
|
};
|
|
1169
|
-
protoOf(MapperCursor).
|
|
1170
|
-
return this.
|
|
1169
|
+
protoOf(MapperCursor).au = function (mapper) {
|
|
1170
|
+
return this.wu(mapper);
|
|
1171
1171
|
};
|
|
1172
1172
|
function NonLastCursor$next$delegate$lambda($source, this$0) {
|
|
1173
1173
|
return function () {
|
|
1174
1174
|
// Inline function 'kotlin.also' call
|
|
1175
|
-
var this_0 = Companion_instance_6.
|
|
1176
|
-
this$0.
|
|
1175
|
+
var this_0 = Companion_instance_6.wr($source);
|
|
1176
|
+
this$0.xu_1 = null;
|
|
1177
1177
|
return this_0;
|
|
1178
1178
|
};
|
|
1179
1179
|
}
|
|
1180
1180
|
function NonLastCursor$_get_next_$ref_gp6ycu() {
|
|
1181
1181
|
return constructCallableReference(function (p0) {
|
|
1182
|
-
return p0.
|
|
1182
|
+
return p0.sr();
|
|
1183
1183
|
}, 1, 0, 5);
|
|
1184
1184
|
}
|
|
1185
1185
|
function NonLastCursor(source) {
|
|
1186
1186
|
AbstractCursor.call(this);
|
|
1187
|
-
this.
|
|
1187
|
+
this.xu_1 = source;
|
|
1188
1188
|
var tmp = this;
|
|
1189
|
-
tmp.
|
|
1190
|
-
this.
|
|
1189
|
+
tmp.yu_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
|
|
1190
|
+
this.zu_1 = source.r();
|
|
1191
1191
|
}
|
|
1192
|
-
protoOf(NonLastCursor).
|
|
1193
|
-
var tmp0 = this.
|
|
1192
|
+
protoOf(NonLastCursor).sr = function () {
|
|
1193
|
+
var tmp0 = this.yu_1;
|
|
1194
1194
|
var tmp = KProperty1;
|
|
1195
1195
|
// Inline function 'kotlin.getValue' call
|
|
1196
1196
|
getPropertyCallableRef('next', 1, tmp, NonLastCursor$_get_next_$ref_gp6ycu(), null);
|
|
1197
|
-
return tmp0.
|
|
1197
|
+
return tmp0.f1();
|
|
1198
1198
|
};
|
|
1199
|
-
protoOf(NonLastCursor).
|
|
1200
|
-
return this.
|
|
1199
|
+
protoOf(NonLastCursor).tr = function () {
|
|
1200
|
+
return this.zu_1;
|
|
1201
1201
|
};
|
|
1202
|
-
protoOf(NonLastCursor).
|
|
1202
|
+
protoOf(NonLastCursor).ur = function () {
|
|
1203
1203
|
return true;
|
|
1204
1204
|
};
|
|
1205
|
-
protoOf(NonLastCursor).
|
|
1205
|
+
protoOf(NonLastCursor).vr = function () {
|
|
1206
1206
|
return false;
|
|
1207
1207
|
};
|
|
1208
1208
|
protoOf(NonLastCursor).toString = function () {
|
|
@@ -1210,53 +1210,53 @@
|
|
|
1210
1210
|
};
|
|
1211
1211
|
function removeLeastRecent($this) {
|
|
1212
1212
|
// Inline function 'kotlin.collections.asIterable' call
|
|
1213
|
-
var tmp$ret$0 = $this.
|
|
1213
|
+
var tmp$ret$0 = $this.bv_1.d1();
|
|
1214
1214
|
var _destruct__k2r9zo = first(tmp$ret$0);
|
|
1215
1215
|
// Inline function 'kotlin.collections.component1' call
|
|
1216
|
-
var key = _destruct__k2r9zo.
|
|
1216
|
+
var key = _destruct__k2r9zo.e1();
|
|
1217
1217
|
// Inline function 'kotlin.collections.component2' call
|
|
1218
|
-
var value = _destruct__k2r9zo.
|
|
1219
|
-
$this.
|
|
1220
|
-
return Companion_instance_5.
|
|
1218
|
+
var value = _destruct__k2r9zo.f1();
|
|
1219
|
+
$this.bv_1.u4(key);
|
|
1220
|
+
return Companion_instance_5.yt(to(key, value));
|
|
1221
1221
|
}
|
|
1222
1222
|
function removeLeastRecentIfNecessary($this) {
|
|
1223
1223
|
var tmp;
|
|
1224
|
-
if ($this.
|
|
1224
|
+
if ($this.bv_1.s() >= $this.av_1) {
|
|
1225
1225
|
tmp = removeLeastRecent($this);
|
|
1226
1226
|
} else {
|
|
1227
|
-
tmp = Companion_instance_5.
|
|
1227
|
+
tmp = Companion_instance_5.mr();
|
|
1228
1228
|
}
|
|
1229
1229
|
return tmp;
|
|
1230
1230
|
}
|
|
1231
1231
|
function SimpleLRUCache$set$lambda(this$0, $key, $value) {
|
|
1232
1232
|
return function () {
|
|
1233
1233
|
var evicted = removeLeastRecentIfNecessary(this$0);
|
|
1234
|
-
var tmp0 = this$0.
|
|
1234
|
+
var tmp0 = this$0.bv_1;
|
|
1235
1235
|
var tmp2 = $key;
|
|
1236
1236
|
// Inline function 'kotlin.collections.set' call
|
|
1237
1237
|
var value = $value;
|
|
1238
|
-
tmp0.
|
|
1238
|
+
tmp0.s4(tmp2, value);
|
|
1239
1239
|
return evicted;
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
1242
|
function SimpleLRUCache$get$lambda(this$0, $key) {
|
|
1243
1243
|
return function () {
|
|
1244
1244
|
var tmp;
|
|
1245
|
-
if (this$0.
|
|
1246
|
-
tmp = Companion_instance_5.
|
|
1245
|
+
if (this$0.bv_1.h2($key)) {
|
|
1246
|
+
tmp = Companion_instance_5.nr(this$0.bv_1.j2($key));
|
|
1247
1247
|
} else {
|
|
1248
|
-
tmp = Companion_instance_5.
|
|
1248
|
+
tmp = Companion_instance_5.mr();
|
|
1249
1249
|
}
|
|
1250
1250
|
return tmp;
|
|
1251
1251
|
};
|
|
1252
1252
|
}
|
|
1253
1253
|
function SimpleLRUCache$toSequence$lambda$lambda(it) {
|
|
1254
1254
|
// Inline function 'kotlin.collections.toPair' call
|
|
1255
|
-
return new Pair(it.
|
|
1255
|
+
return new Pair(it.e1(), it.f1());
|
|
1256
1256
|
}
|
|
1257
1257
|
function SimpleLRUCache$toSequence$lambda(this$0) {
|
|
1258
1258
|
return function () {
|
|
1259
|
-
var tmp = asSequence(this$0.
|
|
1259
|
+
var tmp = asSequence(this$0.bv_1.d1());
|
|
1260
1260
|
return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
|
|
1261
1261
|
};
|
|
1262
1262
|
}
|
|
@@ -1264,19 +1264,19 @@
|
|
|
1264
1264
|
return toString_0(it.first) + ' = ' + toString_0(it.second);
|
|
1265
1265
|
}
|
|
1266
1266
|
function SimpleLRUCache(capacity) {
|
|
1267
|
-
this.
|
|
1267
|
+
this.av_1 = capacity;
|
|
1268
1268
|
// Inline function 'kotlin.require' call
|
|
1269
1269
|
// Inline function 'kotlin.require' call
|
|
1270
|
-
if (!(this.
|
|
1270
|
+
if (!(this.av_1 > 0)) {
|
|
1271
1271
|
var message = 'Failed requirement.';
|
|
1272
1272
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1273
1273
|
}
|
|
1274
|
-
this.
|
|
1274
|
+
this.bv_1 = LinkedHashMap_init_$Create$();
|
|
1275
1275
|
}
|
|
1276
|
-
protoOf(SimpleLRUCache).
|
|
1276
|
+
protoOf(SimpleLRUCache).fr = function (key, value) {
|
|
1277
1277
|
return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
|
|
1278
1278
|
};
|
|
1279
|
-
protoOf(SimpleLRUCache).
|
|
1279
|
+
protoOf(SimpleLRUCache).j2 = function (key) {
|
|
1280
1280
|
return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
|
|
1281
1281
|
};
|
|
1282
1282
|
protoOf(SimpleLRUCache).equals = function (other) {
|
|
@@ -1286,39 +1286,39 @@
|
|
|
1286
1286
|
return false;
|
|
1287
1287
|
if (!(other instanceof SimpleLRUCache))
|
|
1288
1288
|
THROW_CCE();
|
|
1289
|
-
if (!(this.
|
|
1289
|
+
if (!(this.av_1 === other.av_1))
|
|
1290
1290
|
return false;
|
|
1291
|
-
if (!this.
|
|
1291
|
+
if (!this.bv_1.equals(other.bv_1))
|
|
1292
1292
|
return false;
|
|
1293
1293
|
return true;
|
|
1294
1294
|
};
|
|
1295
1295
|
protoOf(SimpleLRUCache).hashCode = function () {
|
|
1296
|
-
var result = this.
|
|
1297
|
-
result = imul(31, result) + this.
|
|
1296
|
+
var result = this.av_1;
|
|
1297
|
+
result = imul(31, result) + this.bv_1.hashCode() | 0;
|
|
1298
1298
|
return result;
|
|
1299
1299
|
};
|
|
1300
|
-
protoOf(SimpleLRUCache).
|
|
1300
|
+
protoOf(SimpleLRUCache).cv = function () {
|
|
1301
1301
|
return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
|
|
1302
1302
|
};
|
|
1303
1303
|
protoOf(SimpleLRUCache).toString = function () {
|
|
1304
|
-
var tmp = this.
|
|
1304
|
+
var tmp = this.cv();
|
|
1305
1305
|
return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
|
|
1306
1306
|
};
|
|
1307
1307
|
function ValueCursor(current, next) {
|
|
1308
1308
|
AbstractCursor.call(this);
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1309
|
+
this.dv_1 = current;
|
|
1310
|
+
this.ev_1 = next;
|
|
1311
1311
|
}
|
|
1312
|
-
protoOf(ValueCursor).
|
|
1313
|
-
return this.
|
|
1312
|
+
protoOf(ValueCursor).tr = function () {
|
|
1313
|
+
return this.dv_1;
|
|
1314
1314
|
};
|
|
1315
|
-
protoOf(ValueCursor).
|
|
1316
|
-
return this.
|
|
1315
|
+
protoOf(ValueCursor).sr = function () {
|
|
1316
|
+
return this.ev_1;
|
|
1317
1317
|
};
|
|
1318
|
-
protoOf(ValueCursor).
|
|
1318
|
+
protoOf(ValueCursor).ur = function () {
|
|
1319
1319
|
return true;
|
|
1320
1320
|
};
|
|
1321
|
-
protoOf(ValueCursor).
|
|
1321
|
+
protoOf(ValueCursor).vr = function () {
|
|
1322
1322
|
return false;
|
|
1323
1323
|
};
|
|
1324
1324
|
function dequeOf(items) {
|
|
@@ -1335,21 +1335,21 @@
|
|
|
1335
1335
|
return toMutableList(items);
|
|
1336
1336
|
}
|
|
1337
1337
|
function takeFirst(_this__u8e3s4) {
|
|
1338
|
-
if (_this__u8e3s4.
|
|
1338
|
+
if (_this__u8e3s4.i())
|
|
1339
1339
|
return null;
|
|
1340
|
-
var first = _this__u8e3s4.
|
|
1341
|
-
_this__u8e3s4.
|
|
1340
|
+
var first = _this__u8e3s4.x(0);
|
|
1341
|
+
_this__u8e3s4.q3(0);
|
|
1342
1342
|
return first;
|
|
1343
1343
|
}
|
|
1344
1344
|
function addFirst(_this__u8e3s4, item) {
|
|
1345
|
-
_this__u8e3s4.
|
|
1345
|
+
_this__u8e3s4.b4(0, item);
|
|
1346
1346
|
}
|
|
1347
1347
|
function addFirst_0(_this__u8e3s4, items) {
|
|
1348
|
-
var i = _this__u8e3s4.
|
|
1349
|
-
var _iterator__ex2g4s = items.
|
|
1350
|
-
while (_iterator__ex2g4s.
|
|
1351
|
-
var item = _iterator__ex2g4s.
|
|
1352
|
-
i.
|
|
1348
|
+
var i = _this__u8e3s4.g2();
|
|
1349
|
+
var _iterator__ex2g4s = items.n();
|
|
1350
|
+
while (_iterator__ex2g4s.q()) {
|
|
1351
|
+
var item = _iterator__ex2g4s.r();
|
|
1352
|
+
i.c4(item);
|
|
1353
1353
|
}
|
|
1354
1354
|
}
|
|
1355
1355
|
function synchronizedOn(obj, action) {
|
|
@@ -1362,9 +1362,9 @@
|
|
|
1362
1362
|
//region block: post-declaration
|
|
1363
1363
|
protoOf(AbstractCursor).asIterable = asIterable_1;
|
|
1364
1364
|
protoOf(AbstractCursor).asSequence = asSequence_0;
|
|
1365
|
-
protoOf(CachedImpl).
|
|
1366
|
-
protoOf(IntIndexedImpl).
|
|
1367
|
-
protoOf(SimpleLRUCache).
|
|
1365
|
+
protoOf(CachedImpl).lr = ifValid;
|
|
1366
|
+
protoOf(IntIndexedImpl).zr = compareTo_0;
|
|
1367
|
+
protoOf(SimpleLRUCache).gr = getOrSet;
|
|
1368
1368
|
//endregion
|
|
1369
1369
|
//region block: init
|
|
1370
1370
|
Companion_instance = new Companion();
|