@tuprolog/2p-full 1.0.4 → 1.1.0

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.
Files changed (85) hide show
  1. package/2p-bdd.js +204 -201
  2. package/2p-bdd.js.map +1 -1
  3. package/2p-core.js +3668 -4128
  4. package/2p-core.js.map +1 -1
  5. package/2p-datalog.js +3 -3
  6. package/2p-datalog.js.map +1 -1
  7. package/2p-dsl-core.js +3 -3
  8. package/2p-dsl-core.js.map +1 -1
  9. package/2p-dsl-solve.js +3 -3
  10. package/2p-dsl-solve.js.map +1 -1
  11. package/2p-dsl-theory.js +3 -3
  12. package/2p-dsl-theory.js.map +1 -1
  13. package/2p-dsl-unify.js +3 -3
  14. package/2p-dsl-unify.js.map +1 -1
  15. package/2p-full.js +9 -19
  16. package/2p-full.js.map +1 -1
  17. package/2p-io-lib.js +6 -3321
  18. package/2p-io-lib.js.map +1 -1
  19. package/2p-oop-lib.js +6 -3435
  20. package/2p-oop-lib.js.map +1 -1
  21. package/2p-parser-core.js +6 -1266
  22. package/2p-parser-core.js.map +1 -1
  23. package/2p-parser-js.js +6 -30
  24. package/2p-parser-js.js.map +1 -1
  25. package/2p-parser-theory.js +6 -126
  26. package/2p-parser-theory.js.map +1 -1
  27. package/2p-repl.js +6 -499
  28. package/2p-repl.js.map +1 -1
  29. package/2p-serialize-core.js +3 -3
  30. package/2p-serialize-core.js.map +1 -1
  31. package/2p-serialize-theory.js +3 -3
  32. package/2p-serialize-theory.js.map +1 -1
  33. package/2p-solve-classic.js +1216 -1203
  34. package/2p-solve-classic.js.map +1 -1
  35. package/2p-solve-concurrent.js +3 -3
  36. package/2p-solve-concurrent.js.map +1 -1
  37. package/2p-solve-plp.js +8 -8
  38. package/2p-solve-plp.js.map +1 -1
  39. package/2p-solve-problog.js +2095 -2140
  40. package/2p-solve-problog.js.map +1 -1
  41. package/2p-solve-streams.js +1244 -1333
  42. package/2p-solve-streams.js.map +1 -1
  43. package/2p-solve.js +5185 -6393
  44. package/2p-solve.js.map +1 -1
  45. package/2p-test-dsl.js +3 -3
  46. package/2p-test-dsl.js.map +1 -1
  47. package/2p-theory.js +2091 -1992
  48. package/2p-theory.js.map +1 -1
  49. package/2p-unify.js +315 -300
  50. package/2p-unify.js.map +1 -1
  51. package/2p-utils.js +625 -635
  52. package/2p-utils.js.map +1 -1
  53. package/clikt-clikt-mordant.js +15 -0
  54. package/clikt-clikt-mordant.js.map +1 -0
  55. package/clikt-clikt.js +15 -0
  56. package/clikt-clikt.js.map +1 -0
  57. package/colormath-root-colormath.js +15 -0
  58. package/colormath-root-colormath.js.map +1 -0
  59. package/kotlin-kotlin-stdlib.js +6829 -8585
  60. package/kotlin-kotlin-stdlib.js.map +1 -1
  61. package/kotlin-kotlin-test.js +15 -0
  62. package/kotlin-kotlin-test.js.map +1 -0
  63. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
  64. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
  65. package/kotlinx-atomicfu.js +15 -0
  66. package/kotlinx-atomicfu.js.map +1 -0
  67. package/kotlinx-coroutines-core.js +15 -0
  68. package/kotlinx-coroutines-core.js.map +1 -0
  69. package/kt-math.js +3143 -3508
  70. package/kt-math.js.map +1 -1
  71. package/mordant-mordant-omnibus.js +15 -0
  72. package/mordant-mordant-omnibus.js.map +1 -0
  73. package/mordant-mordant.js +19 -0
  74. package/mordant-mordant.js.map +1 -0
  75. package/package.json +2 -3
  76. package/88b0986a7186d029-atomicfu-js-ir.js +0 -15
  77. package/88b0986a7186d029-atomicfu-js-ir.js.map +0 -1
  78. package/clikt-clikt-js-ir.js +0 -6006
  79. package/clikt-clikt-js-ir.js.map +0 -1
  80. package/kotlin-kotlin-test-kotlin-test-js-ir.js +0 -15
  81. package/kotlin-kotlin-test-kotlin-test-js-ir.js.map +0 -1
  82. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +0 -15
  83. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +0 -1
  84. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +0 -15
  85. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
package/2p-utils.js CHANGED
@@ -1,195 +1,190 @@
1
- (function (root, factory) {
1
+ (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js', './kt-math.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kt-math.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
6
  else {
7
- if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
8
  throw new Error("Error loading module '2p-utils'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to '2p-utils'.");
9
9
  }
10
- if (typeof this['kt-math'] === 'undefined') {
11
- throw new Error("Error loading module '2p-utils'. Its dependency 'kt-math' was not found. Please, check whether 'kt-math' is loaded prior to '2p-utils'.");
12
- }
13
- root['2p-utils'] = factory(typeof this['2p-utils'] === 'undefined' ? {} : this['2p-utils'], this['kotlin-kotlin-stdlib'], this['kt-math']);
10
+ globalThis['2p-utils'] = factory(typeof globalThis['2p-utils'] === 'undefined' ? {} : globalThis['2p-utils'], globalThis['kotlin-kotlin-stdlib']);
14
11
  }
15
- }(this, function (_, kotlin_kotlin, kotlin_io_github_gciatto_kt_math) {
12
+ }(function (_, kotlin_kotlin) {
16
13
  'use strict';
17
14
  //region block: imports
18
15
  var imul = Math.imul;
19
- var protoOf = kotlin_kotlin.$_$.u6;
20
- var objectMeta = kotlin_kotlin.$_$.t6;
21
- var setMetadataFor = kotlin_kotlin.$_$.v6;
22
- var Unit_instance = kotlin_kotlin.$_$.y1;
23
- var interfaceMeta = kotlin_kotlin.$_$.f6;
24
- var THROW_CCE = kotlin_kotlin.$_$.vb;
25
- var isInterface = kotlin_kotlin.$_$.j6;
26
- var classMeta = kotlin_kotlin.$_$.v5;
27
- var VOID = kotlin_kotlin.$_$.d;
28
- var Sequence = kotlin_kotlin.$_$.s7;
29
- var arrayIterator = kotlin_kotlin.$_$.o5;
30
- var Comparable = kotlin_kotlin.$_$.jb;
31
- var sequence = kotlin_kotlin.$_$.x8;
32
- var hashCode = kotlin_kotlin.$_$.e6;
33
- var asIterable = kotlin_kotlin.$_$.u7;
34
- var toList = kotlin_kotlin.$_$.d9;
35
- var asSequence = kotlin_kotlin.$_$.n2;
36
- var asIterable_0 = kotlin_kotlin.$_$.i2;
37
- var collectionSizeOrDefault = kotlin_kotlin.$_$.q2;
38
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
39
- var IntCompanionObject_instance = kotlin_kotlin.$_$.s1;
40
- var IntRange = kotlin_kotlin.$_$.j7;
41
- var zip = kotlin_kotlin.$_$.h9;
42
- var CoroutineImpl = kotlin_kotlin.$_$.l5;
43
- var SequenceScope = kotlin_kotlin.$_$.r7;
44
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k5;
45
- var withIndex = kotlin_kotlin.$_$.g9;
46
- var equals = kotlin_kotlin.$_$.y5;
47
- var ensureNotNull = kotlin_kotlin.$_$.yb;
48
- var map = kotlin_kotlin.$_$.q8;
49
- var filterNot = kotlin_kotlin.$_$.d8;
50
- var toMutableList = kotlin_kotlin.$_$.e9;
51
- var minWithOrNull = kotlin_kotlin.$_$.r8;
52
- var Regex_init_$Create$ = kotlin_kotlin.$_$.m;
53
- var toString = kotlin_kotlin.$_$.z6;
54
- var Companion_getInstance = kotlin_io_github_gciatto_kt_math.$_$.e;
55
- var Companion_getInstance_0 = kotlin_io_github_gciatto_kt_math.$_$.d;
56
- var Map = kotlin_kotlin.$_$.d2;
57
- var toMutableMap = kotlin_kotlin.$_$.e5;
58
- var lazy = kotlin_kotlin.$_$.ac;
59
- var getKClassFromExpression = kotlin_kotlin.$_$.b;
60
- var KProperty1 = kotlin_kotlin.$_$.q7;
61
- var getPropertyCallableRef = kotlin_kotlin.$_$.c6;
62
- var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.b1;
63
- var first = kotlin_kotlin.$_$.f3;
64
- var to = kotlin_kotlin.$_$.hc;
65
- var Pair = kotlin_kotlin.$_$.tb;
66
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
67
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.j;
68
- var joinToString = kotlin_kotlin.$_$.m8;
69
- var mutableListOf = kotlin_kotlin.$_$.c4;
70
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
71
- var addAll = kotlin_kotlin.$_$.f2;
16
+ var protoOf = kotlin_kotlin.$_$.k6;
17
+ var initMetadataForCompanion = kotlin_kotlin.$_$.u5;
18
+ var Unit_instance = kotlin_kotlin.$_$.k1;
19
+ var initMetadataForInterface = kotlin_kotlin.$_$.w5;
20
+ var THROW_CCE = kotlin_kotlin.$_$.ea;
21
+ var isInterface = kotlin_kotlin.$_$.c6;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.t5;
23
+ var Sequence = kotlin_kotlin.$_$.e7;
24
+ var VOID = kotlin_kotlin.$_$.b;
25
+ var arrayIterator = kotlin_kotlin.$_$.d5;
26
+ var Comparable = kotlin_kotlin.$_$.t9;
27
+ var toList = kotlin_kotlin.$_$.q8;
28
+ var asSequence = kotlin_kotlin.$_$.w1;
29
+ var asIterable = kotlin_kotlin.$_$.s1;
30
+ var hashCode = kotlin_kotlin.$_$.s5;
31
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.z1;
32
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
33
+ var asIterable_0 = kotlin_kotlin.$_$.g7;
34
+ var sequence = kotlin_kotlin.$_$.k8;
35
+ var IntRange = kotlin_kotlin.$_$.w6;
36
+ var zip = kotlin_kotlin.$_$.u8;
37
+ var equals = kotlin_kotlin.$_$.m5;
38
+ var FunctionAdapter = kotlin_kotlin.$_$.c5;
39
+ var Comparator = kotlin_kotlin.$_$.u9;
40
+ var CoroutineImpl = kotlin_kotlin.$_$.k4;
41
+ var SequenceScope = kotlin_kotlin.$_$.d7;
42
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.j4;
43
+ var initMetadataForLambda = kotlin_kotlin.$_$.x5;
44
+ var withIndex = kotlin_kotlin.$_$.t8;
45
+ var ensureNotNull = kotlin_kotlin.$_$.ha;
46
+ var map = kotlin_kotlin.$_$.c8;
47
+ var filterNot = kotlin_kotlin.$_$.p7;
48
+ var toMutableList = kotlin_kotlin.$_$.r8;
49
+ var minWithOrNull = kotlin_kotlin.$_$.d8;
50
+ var subtract = kotlin_kotlin.$_$.a5;
51
+ var convertToInt = kotlin_kotlin.$_$.p4;
52
+ var toString = kotlin_kotlin.$_$.oa;
53
+ var initMetadataForObject = kotlin_kotlin.$_$.y5;
54
+ var KtMap = kotlin_kotlin.$_$.n1;
55
+ var toMutableMap = kotlin_kotlin.$_$.g4;
56
+ var toString_0 = kotlin_kotlin.$_$.n6;
57
+ var lazy = kotlin_kotlin.$_$.ja;
58
+ var KProperty1 = kotlin_kotlin.$_$.c7;
59
+ var getPropertyCallableRef = kotlin_kotlin.$_$.q5;
60
+ var getKClassFromExpression = kotlin_kotlin.$_$.a7;
61
+ var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.w;
62
+ var getBigIntHashCode = kotlin_kotlin.$_$.n5;
63
+ var first = kotlin_kotlin.$_$.m2;
64
+ var to = kotlin_kotlin.$_$.pa;
65
+ var Pair = kotlin_kotlin.$_$.ca;
66
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
67
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f;
68
+ var joinToString = kotlin_kotlin.$_$.y7;
69
+ var mutableListOf = kotlin_kotlin.$_$.i3;
70
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.d;
71
+ var addAll = kotlin_kotlin.$_$.p1;
72
72
  //endregion
73
73
  //region block: pre-declaration
74
- setMetadataFor(Companion, 'Companion', objectMeta);
74
+ initMetadataForCompanion(Companion);
75
75
  function getOrSet(key, valueGenerator) {
76
- var got = this.x2(key);
76
+ var got = this.h2(key);
77
77
  var tmp;
78
78
  if (got instanceof Some) {
79
- tmp = got.uq_1;
79
+ tmp = got.zo_1;
80
80
  } else {
81
81
  // Inline function 'kotlin.also' call
82
82
  var this_0 = valueGenerator();
83
- // Inline function 'kotlin.contracts.contract' call
84
- // Inline function 'it.unibo.tuprolog.utils.Cache.getOrSet.<anonymous>' call
85
- this.sq(key, this_0);
83
+ this.xo(key, this_0);
86
84
  tmp = this_0;
87
85
  }
88
86
  return tmp;
89
87
  }
90
- setMetadataFor(Cache, 'Cache', interfaceMeta);
91
- setMetadataFor(Companion_0, 'Companion', objectMeta);
88
+ initMetadataForInterface(Cache, 'Cache');
89
+ initMetadataForCompanion(Companion_0);
92
90
  function ifValid(consumer) {
93
91
  var tmp;
94
- if (this.wq()) {
95
- var tmp_0 = Companion_instance_5;
92
+ if (this.bp()) {
93
+ var tmp_0 = Companion_instance_4;
96
94
  // Inline function 'kotlin.let' call
97
- // Inline function 'kotlin.contracts.contract' call
98
- var tmp$ret$0 = consumer(this.r2());
99
- tmp = tmp_0.ar(tmp$ret$0);
95
+ var tmp$ret$0 = consumer(this.e2());
96
+ tmp = tmp_0.fp(tmp$ret$0);
100
97
  } else {
101
- tmp = Companion_instance_5.zq();
98
+ tmp = Companion_instance_4.ep();
102
99
  }
103
100
  return tmp;
104
101
  }
105
- setMetadataFor(Cached, 'Cached', interfaceMeta);
102
+ initMetadataForInterface(Cached, 'Cached');
106
103
  function castTo() {
107
104
  return isInterface(this, Castable) ? this : THROW_CCE();
108
105
  }
109
- setMetadataFor(Castable, 'Castable', interfaceMeta);
110
- setMetadataFor(Companion_1, 'Companion', objectMeta);
111
- setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta);
112
- setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, VOID, [Sequence]);
106
+ initMetadataForInterface(Castable, 'Castable');
107
+ initMetadataForCompanion(Companion_1);
108
+ initMetadataForClass(Cursor$asIterable$$inlined$Iterable$1);
109
+ initMetadataForClass(Cursor$asSequence$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
113
110
  function asIterable_1() {
114
111
  // Inline function 'kotlin.collections.Iterable' call
115
- return new _no_name_provided__qut3iv(this);
112
+ return new Cursor$asIterable$$inlined$Iterable$1(this);
116
113
  }
117
114
  function asSequence_0() {
118
115
  // Inline function 'kotlin.sequences.Sequence' call
119
- return new _no_name_provided__qut3iv_0(this);
116
+ return new Cursor$asSequence$$inlined$Sequence$1(this);
120
117
  }
121
- setMetadataFor(Cursor, 'Cursor', interfaceMeta);
118
+ initMetadataForInterface(Cursor, 'Cursor');
122
119
  function component1() {
123
- return this.jr();
120
+ return this.op();
124
121
  }
125
122
  function component2() {
126
- return this.r2();
123
+ return this.e2();
127
124
  }
128
- setMetadataFor(Indexed, 'Indexed', interfaceMeta);
129
- setMetadataFor(Companion_2, 'Companion', objectMeta);
125
+ initMetadataForInterface(Indexed, 'Indexed');
126
+ initMetadataForCompanion(Companion_2);
130
127
  function compareTo(other) {
131
- return this.jr() - other.jr() | 0;
132
- }
133
- setMetadataFor(IntIndexed, 'IntIndexed', interfaceMeta, VOID, [Indexed, Comparable]);
134
- setMetadataFor(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', classMeta);
135
- setMetadataFor(dropLast$slambda, 'dropLast$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
136
- setMetadataFor(insertAt$slambda, 'insertAt$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
137
- setMetadataFor(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', classMeta);
138
- setMetadataFor(merge$slambda, 'merge$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, VOID, [1]);
139
- setMetadataFor(Companion_3, 'Companion', objectMeta);
128
+ return this.op() - other.op() | 0;
129
+ }
130
+ initMetadataForInterface(IntIndexed, 'IntIndexed', VOID, VOID, [Indexed, Comparable]);
131
+ initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
132
+ initMetadataForLambda(dropLast$slambda, CoroutineImpl, VOID, [1]);
133
+ initMetadataForLambda(insertAt$slambda, CoroutineImpl, VOID, [1]);
134
+ initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
135
+ initMetadataForLambda(merge$slambda, CoroutineImpl, VOID, [1]);
136
+ initMetadataForCompanion(Companion_3);
140
137
  function compareTo_0(other) {
141
- return this.jr().pb(other.jr()).ha();
142
- }
143
- setMetadataFor(LongIndexed, 'LongIndexed', interfaceMeta, VOID, [Indexed, Comparable]);
144
- setMetadataFor(Companion_4, 'Companion', objectMeta);
145
- setMetadataFor(NumberTypeTester, 'NumberTypeTester', classMeta, VOID, VOID, NumberTypeTester);
146
- setMetadataFor(Companion_5, 'Companion', objectMeta);
147
- setMetadataFor(Optional, 'Optional', classMeta);
148
- setMetadataFor(Some, 'Some', classMeta, Optional);
149
- setMetadataFor(None, 'None', objectMeta, Optional);
138
+ return convertToInt(subtract(this.op(), other.op()));
139
+ }
140
+ initMetadataForInterface(LongIndexed, 'LongIndexed', VOID, VOID, [Indexed, Comparable]);
141
+ initMetadataForCompanion(Companion_4);
142
+ initMetadataForClass(Optional, 'Optional');
143
+ initMetadataForClass(Some, 'Some', VOID, Optional);
144
+ initMetadataForObject(None, 'None', VOID, Optional);
150
145
  function getTag(name) {
151
- var tmp = this.vt().x2(name);
146
+ var tmp = this.nr().h2(name);
152
147
  return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
153
148
  }
154
149
  function containsTag(name) {
155
150
  // Inline function 'kotlin.collections.contains' call
156
151
  // Inline function 'kotlin.collections.containsKey' call
157
- var this_0 = this.vt();
158
- return (isInterface(this_0, Map) ? this_0 : THROW_CCE()).u2(name);
159
- }
160
- setMetadataFor(Taggable, 'Taggable', interfaceMeta);
161
- setMetadataFor(Companion_6, 'Companion', objectMeta);
162
- setMetadataFor(AbstractCursor$iterator$1, VOID, classMeta);
163
- setMetadataFor(AbstractCursor, 'AbstractCursor', classMeta, VOID, [Cursor]);
164
- setMetadataFor(CachedImpl, 'CachedImpl', classMeta, VOID, [Cached]);
165
- setMetadataFor(ConjunctionCursor, 'ConjunctionCursor', classMeta, AbstractCursor);
166
- setMetadataFor(EmptyCursor, 'EmptyCursor', objectMeta, AbstractCursor);
167
- setMetadataFor(IntIndexedImpl, 'IntIndexedImpl', classMeta, VOID, [IntIndexed]);
168
- setMetadataFor(LazyCursor, 'LazyCursor', classMeta, AbstractCursor);
169
- setMetadataFor(LongIndexedImpl, 'LongIndexedImpl', classMeta, VOID, [LongIndexed]);
170
- setMetadataFor(MapperCursor, 'MapperCursor', classMeta, AbstractCursor);
171
- setMetadataFor(NonLastCursor, 'NonLastCursor', classMeta, AbstractCursor);
172
- setMetadataFor(SimpleLRUCache, 'SimpleLRUCache', classMeta, VOID, [Cache]);
173
- setMetadataFor(ValueCursor, 'ValueCursor', classMeta, AbstractCursor);
152
+ var this_0 = this.nr();
153
+ return (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(name);
154
+ }
155
+ initMetadataForInterface(Taggable, 'Taggable');
156
+ initMetadataForCompanion(Companion_5);
157
+ initMetadataForClass(AbstractCursor$iterator$1);
158
+ initMetadataForClass(AbstractCursor, 'AbstractCursor', VOID, VOID, [Cursor]);
159
+ initMetadataForClass(CachedImpl, 'CachedImpl', VOID, VOID, [Cached]);
160
+ initMetadataForClass(ConjunctionCursor, 'ConjunctionCursor', VOID, AbstractCursor);
161
+ initMetadataForObject(EmptyCursor, 'EmptyCursor', VOID, AbstractCursor);
162
+ initMetadataForClass(IntIndexedImpl, 'IntIndexedImpl', VOID, VOID, [IntIndexed]);
163
+ initMetadataForClass(LazyCursor, 'LazyCursor', VOID, AbstractCursor);
164
+ initMetadataForClass(LongIndexedImpl, 'LongIndexedImpl', VOID, VOID, [LongIndexed]);
165
+ initMetadataForClass(MapperCursor, 'MapperCursor', VOID, AbstractCursor);
166
+ initMetadataForClass(NonLastCursor, 'NonLastCursor', VOID, AbstractCursor);
167
+ initMetadataForClass(SimpleLRUCache, 'SimpleLRUCache', VOID, VOID, [Cache]);
168
+ initMetadataForClass(ValueCursor, 'ValueCursor', VOID, AbstractCursor);
174
169
  //endregion
175
170
  function Companion() {
176
171
  }
177
- protoOf(Companion).rq = function (capacity) {
172
+ protoOf(Companion).wo = function (capacity) {
178
173
  return new SimpleLRUCache(capacity);
179
174
  };
180
175
  var Companion_instance;
181
- function Companion_getInstance_1() {
176
+ function Companion_getInstance() {
182
177
  return Companion_instance;
183
178
  }
184
179
  function Cache() {
185
180
  }
186
181
  function Companion_0() {
187
182
  }
188
- protoOf(Companion_0).vq = function (generator) {
183
+ protoOf(Companion_0).ap = function (generator) {
189
184
  return new CachedImpl(generator);
190
185
  };
191
186
  var Companion_instance_0;
192
- function Companion_getInstance_2() {
187
+ function Companion_getInstance_0() {
193
188
  return Companion_instance_0;
194
189
  }
195
190
  function Cached() {
@@ -202,520 +197,523 @@
202
197
  return toCursor(iterator);
203
198
  };
204
199
  protoOf(Companion_1).ofSequence = function (sequence) {
205
- return cursor_0(sequence);
200
+ return cursor(sequence);
206
201
  };
207
202
  protoOf(Companion_1).empty = function () {
208
203
  return EmptyCursor_getInstance();
209
204
  };
210
205
  var Companion_instance_1;
211
- function Companion_getInstance_3() {
206
+ function Companion_getInstance_1() {
212
207
  return Companion_instance_1;
213
208
  }
214
- function _no_name_provided__qut3iv(this$0) {
215
- this.cr_1 = this$0;
209
+ function Cursor$asIterable$$inlined$Iterable$1(this$0) {
210
+ this.hp_1 = this$0;
216
211
  }
217
- protoOf(_no_name_provided__qut3iv).r = function () {
218
- // Inline function 'it.unibo.tuprolog.utils.Cursor.asIterable.<anonymous>' call
219
- return this.cr_1.iterator();
212
+ protoOf(Cursor$asIterable$$inlined$Iterable$1).p = function () {
213
+ return this.hp_1.iterator();
220
214
  };
221
- function _no_name_provided__qut3iv_0(this$0) {
222
- this.dr_1 = this$0;
215
+ function Cursor$asSequence$$inlined$Sequence$1(this$0) {
216
+ this.ip_1 = this$0;
223
217
  }
224
- protoOf(_no_name_provided__qut3iv_0).r = function () {
225
- // Inline function 'it.unibo.tuprolog.utils.Cursor.asSequence.<anonymous>' call
226
- return this.dr_1.iterator();
218
+ protoOf(Cursor$asSequence$$inlined$Sequence$1).p = function () {
219
+ return this.ip_1.iterator();
227
220
  };
228
221
  function Cursor() {
229
222
  }
230
223
  function cursor(_this__u8e3s4) {
231
- return toCursor(_this__u8e3s4.r());
224
+ return toCursor(_this__u8e3s4.p());
225
+ }
226
+ function plus(_this__u8e3s4, other) {
227
+ return other.lp() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.lp() ? _this__u8e3s4 : EmptyCursor_getInstance();
232
228
  }
233
229
  function cursor_0(_this__u8e3s4) {
234
- return toCursor(_this__u8e3s4.r());
230
+ return toCursor(_this__u8e3s4.p());
235
231
  }
236
232
  function cursor_1(_this__u8e3s4) {
237
233
  return toCursor(arrayIterator(_this__u8e3s4));
238
234
  }
239
- function plus(_this__u8e3s4, other) {
240
- return other.gr() ? new ConjunctionCursor(_this__u8e3s4, forceCast(other)) : _this__u8e3s4.gr() ? _this__u8e3s4 : EmptyCursor_getInstance();
241
- }
242
235
  function toCursor(_this__u8e3s4) {
243
- return Companion_instance_6.ir(_this__u8e3s4);
236
+ return Companion_instance_5.np(_this__u8e3s4);
244
237
  }
245
238
  function Indexed() {
246
239
  }
247
240
  function Companion_2() {
248
241
  }
249
- protoOf(Companion_2).kr = function (index, value) {
242
+ protoOf(Companion_2).pp = function (index, value) {
250
243
  return new IntIndexedImpl(index, value);
251
244
  };
252
245
  var Companion_instance_2;
253
- function Companion_getInstance_4() {
246
+ function Companion_getInstance_2() {
254
247
  return Companion_instance_2;
255
248
  }
256
249
  function IntIndexed() {
257
250
  }
258
- function dropLast(_this__u8e3s4) {
259
- return sequence(dropLast$slambda_0(_this__u8e3s4, null));
251
+ function cached(_this__u8e3s4) {
252
+ return cursor(_this__u8e3s4).asSequence();
253
+ }
254
+ function buffered(_this__u8e3s4) {
255
+ return asSequence(toList(_this__u8e3s4));
256
+ }
257
+ function itemWiseHashCode(items) {
258
+ return itemWiseHashCode_0(asIterable(items));
260
259
  }
261
- function itemWiseHashCode(iterable) {
260
+ function itemWiseHashCode_0(iterable) {
262
261
  var hash = 13;
263
- var i = iterable.r();
262
+ var i = iterable.p();
264
263
  while (i.s()) {
265
264
  var tmp = imul(31, hash);
266
- var tmp0_safe_receiver = i.u();
265
+ var tmp0_safe_receiver = i.t();
267
266
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
268
267
  hash = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
269
268
  }
270
269
  return hash;
271
270
  }
272
- function insertAt(_this__u8e3s4, index, item, items) {
273
- return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
271
+ function itemWiseEquals(iterable1, iterable2) {
272
+ return itemWiseEquals_1(iterable1, iterable2, itemWiseEquals$lambda);
274
273
  }
275
- function itemWiseHashCode_0(sequence) {
276
- return itemWiseHashCode(asIterable(sequence));
274
+ function mergeSequences(iterables, comparator) {
275
+ var tmp = new sam$kotlin_Comparator$0(comparator);
276
+ // Inline function 'kotlin.collections.map' call
277
+ // Inline function 'kotlin.collections.mapTo' call
278
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
279
+ var _iterator__ex2g4s = iterables.p();
280
+ while (_iterator__ex2g4s.s()) {
281
+ var item = _iterator__ex2g4s.t();
282
+ var tmp$ret$0 = asIterable_0(item);
283
+ destination.n(tmp$ret$0);
284
+ }
285
+ return merge(tmp, destination);
277
286
  }
278
- function itemWiseEquals(sequence1, sequence2, comparator) {
279
- return itemWiseEquals_0(asIterable(sequence1), asIterable(sequence2), comparator);
287
+ function dropLast(_this__u8e3s4) {
288
+ return sequence(dropLast$slambda_0(_this__u8e3s4, null));
280
289
  }
281
- function cached(_this__u8e3s4) {
282
- return cursor_0(_this__u8e3s4).asSequence();
290
+ function itemWiseHashCode_1(sequence) {
291
+ return itemWiseHashCode_0(asIterable_0(sequence));
283
292
  }
284
- function buffered(_this__u8e3s4) {
285
- return asSequence(toList(_this__u8e3s4));
293
+ function itemWiseEquals_0(sequence1, sequence2, comparator) {
294
+ return itemWiseEquals_1(asIterable_0(sequence1), asIterable_0(sequence2), comparator);
286
295
  }
287
- function itemWiseEquals_0(iterable1, iterable2, comparator) {
288
- var i = iterable1.r();
289
- var j = iterable2.r();
290
- while (i.s() ? j.s() : false) {
291
- var a = i.u();
292
- var b = j.u();
296
+ function insertAt(_this__u8e3s4, index, item, items) {
297
+ return sequence(insertAt$slambda_0(_this__u8e3s4, index, item, items, null));
298
+ }
299
+ function itemWiseEquals_1(iterable1, iterable2, comparator) {
300
+ var i = iterable1.p();
301
+ var j = iterable2.p();
302
+ while (i.s() && j.s()) {
303
+ var a = i.t();
304
+ var b = j.t();
293
305
  if (!comparator(a, b)) {
294
306
  return false;
295
307
  }
296
308
  }
297
309
  return i.s() === j.s();
298
310
  }
299
- function itemWiseHashCode_1(items) {
300
- return itemWiseHashCode(asIterable_0(items));
301
- }
302
- function itemWiseEquals_1(iterable1, iterable2) {
303
- return itemWiseEquals_0(iterable1, iterable2, itemWiseEquals$lambda);
304
- }
305
- function mergeSequences(iterables, comparator) {
306
- var tmp = new sam$kotlin_Comparator$0(comparator);
307
- // Inline function 'kotlin.collections.map' call
308
- // Inline function 'kotlin.collections.mapTo' call
309
- var destination = ArrayList_init_$Create$(collectionSizeOrDefault(iterables, 10));
310
- var tmp0_iterator = iterables.r();
311
- while (tmp0_iterator.s()) {
312
- var item = tmp0_iterator.u();
313
- // Inline function 'it.unibo.tuprolog.utils.mergeSequences.<anonymous>' call
314
- var tmp$ret$0 = asIterable(item);
315
- destination.o(tmp$ret$0);
316
- }
317
- return merge(tmp, destination);
318
- }
319
311
  function merge(comparator, iterables) {
320
312
  return sequence(merge$slambda_0(iterables, comparator, null));
321
313
  }
322
314
  function indexed(_this__u8e3s4) {
323
- var tmp = asSequence(new IntRange(0, IntCompanionObject_instance.MAX_VALUE));
315
+ var tmp = asSequence(new IntRange(0, 2147483647));
324
316
  return zip(_this__u8e3s4, tmp, indexed$lambda);
325
317
  }
326
318
  function sam$kotlin_Comparator$0(function_0) {
327
- this.mr_1 = function_0;
319
+ this.rp_1 = function_0;
328
320
  }
329
- protoOf(sam$kotlin_Comparator$0).z9 = function (a, b) {
330
- return this.mr_1(a, b);
321
+ protoOf(sam$kotlin_Comparator$0).tb = function (a, b) {
322
+ return this.rp_1(a, b);
331
323
  };
332
324
  protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
333
- return this.z9(a, b);
325
+ return this.tb(a, b);
326
+ };
327
+ protoOf(sam$kotlin_Comparator$0).p2 = function () {
328
+ return this.rp_1;
334
329
  };
330
+ protoOf(sam$kotlin_Comparator$0).equals = function (other) {
331
+ var tmp;
332
+ if (!(other == null) ? isInterface(other, Comparator) : false) {
333
+ var tmp_0;
334
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
335
+ tmp_0 = equals(this.p2(), other.p2());
336
+ } else {
337
+ tmp_0 = false;
338
+ }
339
+ tmp = tmp_0;
340
+ } else {
341
+ tmp = false;
342
+ }
343
+ return tmp;
344
+ };
345
+ protoOf(sam$kotlin_Comparator$0).hashCode = function () {
346
+ return hashCode(this.p2());
347
+ };
348
+ function itemWiseEquals$lambda(a, b) {
349
+ return equals(a, b);
350
+ }
335
351
  function dropLast$slambda($this_dropLast, resultContinuation) {
336
- this.wr_1 = $this_dropLast;
352
+ this.aq_1 = $this_dropLast;
337
353
  CoroutineImpl.call(this, resultContinuation);
338
354
  }
339
- protoOf(dropLast$slambda).as = function ($this$sequence, $completion) {
340
- var tmp = this.bs($this$sequence, $completion);
341
- tmp.pc_1 = Unit_instance;
342
- tmp.qc_1 = null;
343
- return tmp.yc();
355
+ protoOf(dropLast$slambda).dq = function ($this$sequence, $completion) {
356
+ var tmp = this.eq($this$sequence, $completion);
357
+ tmp.d8_1 = Unit_instance;
358
+ tmp.e8_1 = null;
359
+ return tmp.j8();
344
360
  };
345
- protoOf(dropLast$slambda).ld = function (p1, $completion) {
346
- return this.as(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
361
+ protoOf(dropLast$slambda).a9 = function (p1, $completion) {
362
+ return this.dq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
347
363
  };
348
- protoOf(dropLast$slambda).yc = function () {
349
- var suspendResult = this.pc_1;
364
+ protoOf(dropLast$slambda).j8 = function () {
365
+ var suspendResult = this.d8_1;
350
366
  $sm: do
351
367
  try {
352
- var tmp = this.nc_1;
368
+ var tmp = this.b8_1;
353
369
  switch (tmp) {
354
370
  case 0:
355
- this.oc_1 = 5;
356
- this.yr_1 = this.wr_1.r();
357
- this.nc_1 = 1;
371
+ this.c8_1 = 5;
372
+ this.cq_1 = this.aq_1.p();
373
+ this.b8_1 = 1;
358
374
  continue $sm;
359
375
  case 1:
360
- if (!this.yr_1.s()) {
361
- this.nc_1 = 4;
376
+ if (!this.cq_1.s()) {
377
+ this.b8_1 = 4;
362
378
  continue $sm;
363
379
  }
364
380
 
365
- this.zr_1 = this.yr_1.u();
366
- if (this.yr_1.s()) {
367
- this.nc_1 = 2;
368
- suspendResult = this.xr_1.ef(this.zr_1, this);
381
+ var current = this.cq_1.t();
382
+ if (this.cq_1.s()) {
383
+ this.b8_1 = 2;
384
+ suspendResult = this.bq_1.gd(current, this);
369
385
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
370
386
  return suspendResult;
371
387
  }
372
388
  continue $sm;
373
389
  } else {
374
- this.nc_1 = 3;
390
+ this.b8_1 = 3;
375
391
  continue $sm;
376
392
  }
377
393
 
378
394
  case 2:
379
- this.nc_1 = 3;
395
+ this.b8_1 = 3;
380
396
  continue $sm;
381
397
  case 3:
382
- this.nc_1 = 1;
398
+ this.b8_1 = 1;
383
399
  continue $sm;
384
400
  case 4:
385
401
  return Unit_instance;
386
402
  case 5:
387
- throw this.qc_1;
403
+ throw this.e8_1;
388
404
  }
389
405
  } catch ($p) {
390
406
  var e = $p;
391
- if (this.oc_1 === 5) {
407
+ if (this.c8_1 === 5) {
392
408
  throw e;
393
409
  } else {
394
- this.nc_1 = this.oc_1;
395
- this.qc_1 = e;
410
+ this.b8_1 = this.c8_1;
411
+ this.e8_1 = e;
396
412
  }
397
413
  }
398
414
  while (true);
399
415
  };
400
- protoOf(dropLast$slambda).bs = function ($this$sequence, completion) {
401
- var i = new dropLast$slambda(this.wr_1, completion);
402
- i.xr_1 = $this$sequence;
416
+ protoOf(dropLast$slambda).eq = function ($this$sequence, completion) {
417
+ var i = new dropLast$slambda(this.aq_1, completion);
418
+ i.bq_1 = $this$sequence;
403
419
  return i;
404
420
  };
405
421
  function dropLast$slambda_0($this_dropLast, resultContinuation) {
406
422
  var i = new dropLast$slambda($this_dropLast, resultContinuation);
407
423
  var l = function ($this$sequence, $completion) {
408
- return i.as($this$sequence, $completion);
424
+ return i.dq($this$sequence, $completion);
409
425
  };
410
426
  l.$arity = 1;
411
427
  return l;
412
428
  }
413
429
  function insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation) {
414
- this.ks_1 = $this_insertAt;
415
- this.ls_1 = $index;
416
- this.ms_1 = $item;
417
- this.ns_1 = $items;
430
+ this.nq_1 = $this_insertAt;
431
+ this.oq_1 = $index;
432
+ this.pq_1 = $item;
433
+ this.qq_1 = $items;
418
434
  CoroutineImpl.call(this, resultContinuation);
419
435
  }
420
- protoOf(insertAt$slambda).as = function ($this$sequence, $completion) {
421
- var tmp = this.bs($this$sequence, $completion);
422
- tmp.pc_1 = Unit_instance;
423
- tmp.qc_1 = null;
424
- return tmp.yc();
436
+ protoOf(insertAt$slambda).dq = function ($this$sequence, $completion) {
437
+ var tmp = this.eq($this$sequence, $completion);
438
+ tmp.d8_1 = Unit_instance;
439
+ tmp.e8_1 = null;
440
+ return tmp.j8();
425
441
  };
426
- protoOf(insertAt$slambda).ld = function (p1, $completion) {
427
- return this.as(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
442
+ protoOf(insertAt$slambda).a9 = function (p1, $completion) {
443
+ return this.dq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
428
444
  };
429
- protoOf(insertAt$slambda).yc = function () {
430
- var suspendResult = this.pc_1;
445
+ protoOf(insertAt$slambda).j8 = function () {
446
+ var suspendResult = this.d8_1;
431
447
  $sm: do
432
448
  try {
433
- var tmp = this.nc_1;
449
+ var tmp = this.b8_1;
434
450
  switch (tmp) {
435
451
  case 0:
436
- this.oc_1 = 7;
437
- this.ps_1 = asIterable(withIndex(this.ks_1)).r();
438
- this.nc_1 = 1;
452
+ this.c8_1 = 7;
453
+ this.tq_1 = asIterable_0(withIndex(this.nq_1)).p();
454
+ this.b8_1 = 1;
439
455
  continue $sm;
440
456
  case 1:
441
- if (!this.ps_1.s()) {
442
- this.nc_1 = 6;
457
+ if (!this.tq_1.s()) {
458
+ this.b8_1 = 6;
443
459
  continue $sm;
444
460
  }
445
461
 
446
- this.qs_1 = this.ps_1.u();
447
- this.rs_1 = this.qs_1.me();
448
- this.ss_1 = this.qs_1.ne();
449
- if (this.rs_1 === this.ls_1) {
450
- this.nc_1 = 2;
451
- suspendResult = this.os_1.ef(this.ms_1, this);
462
+ var _destruct__k2r9zo = this.tq_1.t();
463
+ var i = _destruct__k2r9zo.rc();
464
+ this.sq_1 = _destruct__k2r9zo.sc();
465
+ if (i === this.oq_1) {
466
+ this.b8_1 = 2;
467
+ suspendResult = this.rq_1.gd(this.pq_1, this);
452
468
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
453
469
  return suspendResult;
454
470
  }
455
471
  continue $sm;
456
472
  } else {
457
- this.nc_1 = 4;
473
+ this.b8_1 = 4;
458
474
  continue $sm;
459
475
  }
460
476
 
461
477
  case 2:
462
- this.nc_1 = 3;
463
- suspendResult = this.os_1.gf(asIterable_0(this.ns_1), this);
478
+ this.b8_1 = 3;
479
+ suspendResult = this.rq_1.id(asIterable(this.qq_1), this);
464
480
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
465
481
  return suspendResult;
466
482
  }
467
483
 
468
484
  continue $sm;
469
485
  case 3:
470
- this.nc_1 = 4;
486
+ this.b8_1 = 4;
471
487
  continue $sm;
472
488
  case 4:
473
- this.nc_1 = 5;
474
- suspendResult = this.os_1.ef(this.ss_1, this);
489
+ this.b8_1 = 5;
490
+ suspendResult = this.rq_1.gd(this.sq_1, this);
475
491
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
476
492
  return suspendResult;
477
493
  }
478
494
 
479
495
  continue $sm;
480
496
  case 5:
481
- this.nc_1 = 1;
497
+ this.b8_1 = 1;
482
498
  continue $sm;
483
499
  case 6:
484
500
  return Unit_instance;
485
501
  case 7:
486
- throw this.qc_1;
502
+ throw this.e8_1;
487
503
  }
488
504
  } catch ($p) {
489
505
  var e = $p;
490
- if (this.oc_1 === 7) {
506
+ if (this.c8_1 === 7) {
491
507
  throw e;
492
508
  } else {
493
- this.nc_1 = this.oc_1;
494
- this.qc_1 = e;
509
+ this.b8_1 = this.c8_1;
510
+ this.e8_1 = e;
495
511
  }
496
512
  }
497
513
  while (true);
498
514
  };
499
- protoOf(insertAt$slambda).bs = function ($this$sequence, completion) {
500
- var i = new insertAt$slambda(this.ks_1, this.ls_1, this.ms_1, this.ns_1, completion);
501
- i.os_1 = $this$sequence;
515
+ protoOf(insertAt$slambda).eq = function ($this$sequence, completion) {
516
+ var i = new insertAt$slambda(this.nq_1, this.oq_1, this.pq_1, this.qq_1, completion);
517
+ i.rq_1 = $this$sequence;
502
518
  return i;
503
519
  };
504
520
  function insertAt$slambda_0($this_insertAt, $index, $item, $items, resultContinuation) {
505
521
  var i = new insertAt$slambda($this_insertAt, $index, $item, $items, resultContinuation);
506
522
  var l = function ($this$sequence, $completion) {
507
- return i.as($this$sequence, $completion);
523
+ return i.dq($this$sequence, $completion);
508
524
  };
509
525
  l.$arity = 1;
510
526
  return l;
511
527
  }
512
- function itemWiseEquals$lambda(a, b) {
513
- return equals(a, b);
514
- }
515
528
  function sam$kotlin_Comparator$0_0(function_0) {
516
- this.ts_1 = function_0;
529
+ this.uq_1 = function_0;
517
530
  }
518
- protoOf(sam$kotlin_Comparator$0_0).z9 = function (a, b) {
519
- return this.ts_1(a, b);
531
+ protoOf(sam$kotlin_Comparator$0_0).tb = function (a, b) {
532
+ return this.uq_1(a, b);
520
533
  };
521
534
  protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
522
- return this.z9(a, b);
535
+ return this.tb(a, b);
536
+ };
537
+ protoOf(sam$kotlin_Comparator$0_0).p2 = function () {
538
+ return this.uq_1;
539
+ };
540
+ protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
541
+ var tmp;
542
+ if (!(other == null) ? isInterface(other, Comparator) : false) {
543
+ var tmp_0;
544
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
545
+ tmp_0 = equals(this.p2(), other.p2());
546
+ } else {
547
+ tmp_0 = false;
548
+ }
549
+ tmp = tmp_0;
550
+ } else {
551
+ tmp = false;
552
+ }
553
+ return tmp;
554
+ };
555
+ protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
556
+ return hashCode(this.p2());
523
557
  };
524
558
  function merge$slambda$lambda(it) {
525
- return cursor(it);
559
+ return cursor_0(it);
526
560
  }
527
561
  function merge$slambda$lambda_0(it) {
528
- return it.hr();
562
+ return it.mp();
529
563
  }
530
564
  function merge$slambda$lambda_1(it) {
531
- return ensureNotNull(it.fr());
565
+ return ensureNotNull(it.kp());
532
566
  }
533
567
  function merge$slambda$lambda_2($comparator) {
534
568
  return function (a, b) {
535
- return $comparator.compare(a.r2(), b.r2());
569
+ return $comparator.compare(a.e2(), b.e2());
536
570
  };
537
571
  }
538
572
  function merge$slambda($iterables, $comparator, resultContinuation) {
539
- this.ct_1 = $iterables;
540
- this.dt_1 = $comparator;
573
+ this.dr_1 = $iterables;
574
+ this.er_1 = $comparator;
541
575
  CoroutineImpl.call(this, resultContinuation);
542
576
  }
543
- protoOf(merge$slambda).as = function ($this$sequence, $completion) {
544
- var tmp = this.bs($this$sequence, $completion);
545
- tmp.pc_1 = Unit_instance;
546
- tmp.qc_1 = null;
547
- return tmp.yc();
577
+ protoOf(merge$slambda).dq = function ($this$sequence, $completion) {
578
+ var tmp = this.eq($this$sequence, $completion);
579
+ tmp.d8_1 = Unit_instance;
580
+ tmp.e8_1 = null;
581
+ return tmp.j8();
548
582
  };
549
- protoOf(merge$slambda).ld = function (p1, $completion) {
550
- return this.as(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
583
+ protoOf(merge$slambda).a9 = function (p1, $completion) {
584
+ return this.dq(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
551
585
  };
552
- protoOf(merge$slambda).yc = function () {
553
- var suspendResult = this.pc_1;
586
+ protoOf(merge$slambda).j8 = function () {
587
+ var suspendResult = this.d8_1;
554
588
  $sm: do
555
589
  try {
556
- var tmp = this.nc_1;
590
+ var tmp = this.b8_1;
557
591
  switch (tmp) {
558
592
  case 0:
559
- this.oc_1 = 3;
593
+ this.c8_1 = 3;
560
594
  var tmp_0 = this;
561
- var tmp_1 = asSequence(this.ct_1);
595
+ var tmp_1 = asSequence(this.dr_1);
562
596
  var tmp_2 = map(tmp_1, merge$slambda$lambda);
563
- tmp_0.ft_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
564
- this.nc_1 = 1;
597
+ tmp_0.hr_1 = toMutableList(filterNot(tmp_2, merge$slambda$lambda_0));
598
+ this.b8_1 = 1;
565
599
  continue $sm;
566
600
  case 1:
567
- if (!!this.ft_1.y()) {
568
- this.nc_1 = 4;
601
+ if (!!this.hr_1.j()) {
602
+ this.b8_1 = 4;
569
603
  continue $sm;
570
604
  }
571
605
 
572
- var tmp_3 = this;
573
- var tmp_4 = asSequence(this.ft_1);
574
- var tmp_5 = indexed(map(tmp_4, merge$slambda$lambda_1));
575
- var tmp_6 = merge$slambda$lambda_2(this.dt_1);
576
- tmp_3.gt_1 = ensureNotNull(minWithOrNull(tmp_5, new sam$kotlin_Comparator$0_0(tmp_6)));
577
- this.ht_1 = this.gt_1.me();
578
- this.it_1 = this.gt_1.ne();
579
- this.nc_1 = 2;
580
- suspendResult = this.et_1.ef(this.it_1, this);
606
+ var tmp_3 = asSequence(this.hr_1);
607
+ var tmp_4 = indexed(map(tmp_3, merge$slambda$lambda_1));
608
+ var tmp_5 = merge$slambda$lambda_2(this.er_1);
609
+ var _destruct__k2r9zo = ensureNotNull(minWithOrNull(tmp_4, new sam$kotlin_Comparator$0_0(tmp_5)));
610
+ this.gr_1 = _destruct__k2r9zo.rc();
611
+ var minValue = _destruct__k2r9zo.sc();
612
+ this.b8_1 = 2;
613
+ suspendResult = this.fr_1.gd(minValue, this);
581
614
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
582
615
  return suspendResult;
583
616
  }
584
617
 
585
618
  continue $sm;
586
619
  case 2:
587
- var it = this.ft_1.c1(this.ht_1).er();
588
- if (it.hr()) {
589
- this.ft_1.e1(this.ht_1);
620
+ var it = this.hr_1.z(this.gr_1).jp();
621
+ var tmp_6;
622
+ if (it.mp()) {
623
+ tmp_6 = this.hr_1.g3(this.gr_1);
590
624
  } else {
591
- this.ft_1.m(this.ht_1, it);
625
+ this.hr_1.y3(this.gr_1, it);
626
+ tmp_6 = Unit_instance;
592
627
  }
593
628
 
594
- this.nc_1 = 1;
629
+ this.b8_1 = 1;
595
630
  continue $sm;
596
631
  case 3:
597
- throw this.qc_1;
632
+ throw this.e8_1;
598
633
  case 4:
599
634
  return Unit_instance;
600
635
  }
601
636
  } catch ($p) {
602
637
  var e = $p;
603
- if (this.oc_1 === 3) {
638
+ if (this.c8_1 === 3) {
604
639
  throw e;
605
640
  } else {
606
- this.nc_1 = this.oc_1;
607
- this.qc_1 = e;
641
+ this.b8_1 = this.c8_1;
642
+ this.e8_1 = e;
608
643
  }
609
644
  }
610
645
  while (true);
611
646
  };
612
- protoOf(merge$slambda).bs = function ($this$sequence, completion) {
613
- var i = new merge$slambda(this.ct_1, this.dt_1, completion);
614
- i.et_1 = $this$sequence;
647
+ protoOf(merge$slambda).eq = function ($this$sequence, completion) {
648
+ var i = new merge$slambda(this.dr_1, this.er_1, completion);
649
+ i.fr_1 = $this$sequence;
615
650
  return i;
616
651
  };
617
652
  function merge$slambda_0($iterables, $comparator, resultContinuation) {
618
653
  var i = new merge$slambda($iterables, $comparator, resultContinuation);
619
654
  var l = function ($this$sequence, $completion) {
620
- return i.as($this$sequence, $completion);
655
+ return i.dq($this$sequence, $completion);
621
656
  };
622
657
  l.$arity = 1;
623
658
  return l;
624
659
  }
625
660
  function indexed$lambda(it, i) {
626
- return Companion_instance_2.kr(i, it);
661
+ return Companion_instance_2.pp(i, it);
627
662
  }
628
663
  function Companion_3() {
629
664
  }
630
- protoOf(Companion_3).jt = function (index, value) {
665
+ protoOf(Companion_3).ir = function (index, value) {
631
666
  return new LongIndexedImpl(index, value);
632
667
  };
633
668
  var Companion_instance_3;
634
- function Companion_getInstance_5() {
669
+ function Companion_getInstance_3() {
635
670
  return Companion_instance_3;
636
671
  }
637
672
  function LongIndexed() {
638
673
  }
639
674
  function Companion_4() {
640
- Companion_instance_4 = this;
641
- var tmp = this;
642
- // Inline function 'kotlin.text.toRegex' call
643
- tmp.lt_1 = Regex_init_$Create$('[0-9]+');
644
675
  }
645
- var Companion_instance_4;
646
- function Companion_getInstance_6() {
647
- if (Companion_instance_4 == null)
648
- new Companion_4();
649
- return Companion_instance_4;
650
- }
651
- function _get_stringRepresentation__xuqjt9(_this__u8e3s4, $this) {
652
- return $this.mt_1.tq(_this__u8e3s4, NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg(_this__u8e3s4));
653
- }
654
- function NumberTypeTester$_get_stringRepresentation_$lambda_7w0qtg($this_stringRepresentation) {
655
- return function () {
656
- return toString($this_stringRepresentation);
657
- };
658
- }
659
- function NumberTypeTester() {
660
- Companion_getInstance_6();
661
- this.mt_1 = Companion_instance.rq(8);
662
- }
663
- protoOf(NumberTypeTester).nt = function (_this__u8e3s4) {
664
- return Companion_getInstance_6().lt_1.o8(_get_stringRepresentation__xuqjt9(_this__u8e3s4, this));
665
- };
666
- protoOf(NumberTypeTester).ot = function (_this__u8e3s4) {
667
- return Companion_getInstance().parse(_get_stringRepresentation__xuqjt9(_this__u8e3s4, this));
668
- };
669
- protoOf(NumberTypeTester).pt = function (_this__u8e3s4) {
670
- return Companion_getInstance_0().parse(_get_stringRepresentation__xuqjt9(_this__u8e3s4, this));
671
- };
672
- function Companion_5() {
673
- }
674
- protoOf(Companion_5).qt = function (value) {
676
+ protoOf(Companion_4).kr = function (value) {
675
677
  return new Some(value);
676
678
  };
677
- protoOf(Companion_5).ar = function (value) {
679
+ protoOf(Companion_4).fp = function (value) {
678
680
  var tmp;
679
681
  if (value == null) {
680
- tmp = this.zq();
682
+ tmp = this.ep();
681
683
  } else {
682
- tmp = this.qt(value);
684
+ tmp = this.kr(value);
683
685
  }
684
686
  return tmp;
685
687
  };
686
- protoOf(Companion_5).zq = function () {
688
+ protoOf(Companion_4).ep = function () {
687
689
  return None_getInstance();
688
690
  };
689
- var Companion_instance_5;
690
- function Companion_getInstance_7() {
691
- return Companion_instance_5;
691
+ var Companion_instance_4;
692
+ function Companion_getInstance_4() {
693
+ return Companion_instance_4;
692
694
  }
693
695
  function Some(value) {
694
696
  Optional.call(this);
695
- this.uq_1 = value;
697
+ this.zo_1 = value;
696
698
  }
697
- protoOf(Some).r2 = function () {
698
- return this.uq_1;
699
+ protoOf(Some).e2 = function () {
700
+ return this.zo_1;
699
701
  };
700
- protoOf(Some).rt = function () {
702
+ protoOf(Some).lr = function () {
701
703
  return true;
702
704
  };
703
- protoOf(Some).st = function (function_0) {
704
- return new Some(function_0(this.uq_1));
705
- };
706
705
  protoOf(Some).toString = function () {
707
- return 'Some(' + this.uq_1 + ')';
706
+ return 'Some(' + toString(this.zo_1) + ')';
708
707
  };
709
708
  protoOf(Some).hashCode = function () {
710
- return this.uq_1 == null ? 0 : hashCode(this.uq_1);
709
+ return this.zo_1 == null ? 0 : hashCode(this.zo_1);
711
710
  };
712
711
  protoOf(Some).equals = function (other) {
713
712
  if (this === other)
714
713
  return true;
715
714
  if (!(other instanceof Some))
716
715
  return false;
717
- var tmp0_other_with_cast = other instanceof Some ? other : THROW_CCE();
718
- if (!equals(this.uq_1, tmp0_other_with_cast.uq_1))
716
+ if (!equals(this.zo_1, other.zo_1))
719
717
  return false;
720
718
  return true;
721
719
  };
@@ -723,18 +721,12 @@
723
721
  None_instance = this;
724
722
  Optional.call(this);
725
723
  }
726
- protoOf(None).r2 = function () {
724
+ protoOf(None).e2 = function () {
727
725
  return null;
728
726
  };
729
- protoOf(None).rt = function () {
727
+ protoOf(None).lr = function () {
730
728
  return false;
731
729
  };
732
- protoOf(None).ut = function (function_0) {
733
- return None_getInstance();
734
- };
735
- protoOf(None).st = function (function_0) {
736
- return this.ut(function_0);
737
- };
738
730
  protoOf(None).toString = function () {
739
731
  return 'None';
740
732
  };
@@ -746,30 +738,28 @@
746
738
  }
747
739
  function Optional() {
748
740
  }
749
- protoOf(Optional).tt = function () {
750
- return !this.rt();
741
+ protoOf(Optional).mr = function () {
742
+ return !this.lr();
751
743
  };
752
744
  function Taggable() {
753
745
  }
754
- function setTags(_this__u8e3s4, tags) {
755
- var tmp = _this__u8e3s4.resetTags(tags);
756
- return isInterface(tmp, Taggable) ? tmp : THROW_CCE();
757
- }
758
746
  function setTag(_this__u8e3s4, key, value) {
759
747
  // Inline function 'kotlin.also' call
760
- var this_0 = toMutableMap(_this__u8e3s4.vt());
761
- // Inline function 'kotlin.contracts.contract' call
762
- // Inline function 'it.unibo.tuprolog.utils.setTag.<anonymous>' call
748
+ var this_0 = toMutableMap(_this__u8e3s4.nr());
763
749
  // Inline function 'kotlin.collections.set' call
764
- this_0.n2(key, value);
750
+ this_0.k4(key, value);
765
751
  return setTags(_this__u8e3s4, this_0);
766
752
  }
753
+ function setTags(_this__u8e3s4, tags) {
754
+ var tmp = _this__u8e3s4.resetTags(tags);
755
+ return isInterface(tmp, Taggable) ? tmp : THROW_CCE();
756
+ }
767
757
  function synchronizedOnSelf(_this__u8e3s4, action) {
768
758
  return synchronizedOn(_this__u8e3s4, action);
769
759
  }
770
- function Companion_6() {
760
+ function Companion_5() {
771
761
  }
772
- protoOf(Companion_6).ir = function (source) {
762
+ protoOf(Companion_5).np = function (source) {
773
763
  var tmp;
774
764
  if (source.s()) {
775
765
  tmp = new LazyCursor(source);
@@ -778,156 +768,156 @@
778
768
  }
779
769
  return tmp;
780
770
  };
781
- var Companion_instance_6;
782
- function Companion_getInstance_8() {
783
- return Companion_instance_6;
771
+ var Companion_instance_5;
772
+ function Companion_getInstance_5() {
773
+ return Companion_instance_5;
784
774
  }
785
775
  function AbstractCursor$iterator$1(this$0) {
786
- this.wt_1 = this$0;
776
+ this.pr_1 = this$0;
787
777
  }
788
778
  protoOf(AbstractCursor$iterator$1).s = function () {
789
- return !this.wt_1.hr();
779
+ return !this.pr_1.mp();
790
780
  };
791
- protoOf(AbstractCursor$iterator$1).u = function () {
792
- var result = this.wt_1.fr();
793
- this.wt_1 = this.wt_1.er();
781
+ protoOf(AbstractCursor$iterator$1).t = function () {
782
+ var result = this.pr_1.kp();
783
+ this.pr_1 = this.pr_1.jp();
794
784
  return ensureNotNull(result);
795
785
  };
796
786
  function AbstractCursor() {
797
787
  }
798
788
  protoOf(AbstractCursor).toString = function () {
799
- return this.hr() ? '[]' : !this.gr() ? '[' + this.fr() + ']' : '[' + this.fr() + ', ...]';
789
+ return this.mp() ? '[]' : !this.lp() ? '[' + toString(this.kp()) + ']' : '[' + toString(this.kp()) + ', ...]';
800
790
  };
801
- protoOf(AbstractCursor).r = function () {
791
+ protoOf(AbstractCursor).p = function () {
802
792
  return new AbstractCursor$iterator$1(this);
803
793
  };
804
794
  protoOf(AbstractCursor).iterator = function () {
805
- return this.r();
795
+ return this.p();
806
796
  };
807
- protoOf(AbstractCursor).xt = function () {
797
+ protoOf(AbstractCursor).qr = function () {
808
798
  return false;
809
799
  };
810
- protoOf(AbstractCursor).st = function (mapper) {
800
+ protoOf(AbstractCursor).rr = function (mapper) {
811
801
  return new MapperCursor(this, mapper);
812
802
  };
813
803
  protoOf(AbstractCursor).map = function (mapper) {
814
- return this.st(mapper);
804
+ return this.rr(mapper);
815
805
  };
816
806
  function CachedImpl(generator) {
817
- this.yt_1 = generator;
818
- this.zt_1 = Companion_instance_5.zq();
807
+ this.sr_1 = generator;
808
+ this.tr_1 = Companion_instance_4.ep();
819
809
  }
820
- protoOf(CachedImpl).wq = function () {
821
- return this.zt_1.rt();
810
+ protoOf(CachedImpl).bp = function () {
811
+ return this.tr_1.lr();
822
812
  };
823
- protoOf(CachedImpl).au = function () {
824
- return this.zt_1.tt();
813
+ protoOf(CachedImpl).ur = function () {
814
+ return this.tr_1.mr();
825
815
  };
826
- protoOf(CachedImpl).r2 = function () {
827
- this.bu();
828
- return ensureNotNull(this.zt_1.r2());
816
+ protoOf(CachedImpl).e2 = function () {
817
+ this.vr();
818
+ return ensureNotNull(this.tr_1.e2());
829
819
  };
830
- protoOf(CachedImpl).bu = function () {
831
- if (this.au()) {
832
- this.zt_1 = Companion_instance_5.qt(this.yt_1());
820
+ protoOf(CachedImpl).vr = function () {
821
+ if (this.ur()) {
822
+ this.tr_1 = Companion_instance_4.kr(this.sr_1());
833
823
  }
834
824
  };
835
- protoOf(CachedImpl).xq = function () {
836
- this.zt_1 = Companion_instance_5.zq();
825
+ protoOf(CachedImpl).cp = function () {
826
+ this.tr_1 = Companion_instance_4.ep();
837
827
  };
838
828
  protoOf(CachedImpl).toString = function () {
839
- return 'CachedImpl(generator=' + this.yt_1 + ')';
829
+ return 'CachedImpl(generator=' + toString_0(this.sr_1) + ')';
840
830
  };
841
831
  protoOf(CachedImpl).hashCode = function () {
842
- return hashCode(this.yt_1);
832
+ return hashCode(this.sr_1);
843
833
  };
844
834
  protoOf(CachedImpl).equals = function (other) {
845
835
  if (this === other)
846
836
  return true;
847
837
  if (!(other instanceof CachedImpl))
848
838
  return false;
849
- var tmp0_other_with_cast = other instanceof CachedImpl ? other : THROW_CCE();
850
- if (!equals(this.yt_1, tmp0_other_with_cast.yt_1))
839
+ if (!equals(this.sr_1, other.sr_1))
851
840
  return false;
852
841
  return true;
853
842
  };
854
843
  function ConjunctionCursor$next$delegate$lambda(this$0) {
855
844
  return function () {
856
- return this$0.cu_1.gr() ? new ConjunctionCursor(this$0.cu_1.er(), this$0.du_1) : this$0.du_1.xt() ? this$0.du_1.er() : this$0.du_1;
845
+ return this$0.wr_1.lp() ? new ConjunctionCursor(this$0.wr_1.jp(), this$0.xr_1) : this$0.xr_1.qr() ? this$0.xr_1.jp() : this$0.xr_1;
846
+ };
847
+ }
848
+ function ConjunctionCursor$_get_next_$ref_xfvrtr() {
849
+ return function (p0) {
850
+ return p0.jp();
857
851
  };
858
852
  }
859
853
  function ConjunctionCursor(first, second) {
860
854
  AbstractCursor.call(this);
861
- this.cu_1 = first;
862
- this.du_1 = second;
855
+ this.wr_1 = first;
856
+ this.xr_1 = second;
863
857
  var tmp = this;
864
- tmp.eu_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
858
+ tmp.yr_1 = lazy(ConjunctionCursor$next$delegate$lambda(this));
865
859
  }
866
- protoOf(ConjunctionCursor).hr = function () {
867
- return this.cu_1.hr() ? this.du_1.hr() : false;
860
+ protoOf(ConjunctionCursor).mp = function () {
861
+ return this.wr_1.mp() && this.xr_1.mp();
868
862
  };
869
- protoOf(ConjunctionCursor).er = function () {
863
+ protoOf(ConjunctionCursor).jp = function () {
864
+ var tmp0 = this.yr_1;
865
+ var tmp = KProperty1;
870
866
  // Inline function 'kotlin.getValue' call
871
- var this_0 = this.eu_1;
872
- next$factory();
873
- return this_0.r2();
867
+ getPropertyCallableRef('next', 1, tmp, ConjunctionCursor$_get_next_$ref_xfvrtr(), null);
868
+ return tmp0.e2();
874
869
  };
875
- protoOf(ConjunctionCursor).fr = function () {
876
- return this.cu_1.gr() ? this.cu_1.fr() : this.du_1.fr();
870
+ protoOf(ConjunctionCursor).kp = function () {
871
+ return this.wr_1.lp() ? this.wr_1.kp() : this.xr_1.kp();
877
872
  };
878
- protoOf(ConjunctionCursor).gr = function () {
879
- return this.cu_1.gr() ? true : this.du_1.gr();
873
+ protoOf(ConjunctionCursor).lp = function () {
874
+ return this.wr_1.lp() || this.xr_1.lp();
880
875
  };
881
876
  protoOf(ConjunctionCursor).equals = function (other) {
882
877
  if (this === other)
883
878
  return true;
884
- if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
879
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
885
880
  return false;
886
881
  if (!(other instanceof ConjunctionCursor))
887
882
  THROW_CCE();
888
- if (!equals(this.cu_1, other.cu_1))
883
+ if (!equals(this.wr_1, other.wr_1))
889
884
  return false;
890
- if (!equals(this.du_1, other.du_1))
885
+ if (!equals(this.xr_1, other.xr_1))
891
886
  return false;
892
887
  return true;
893
888
  };
894
889
  protoOf(ConjunctionCursor).hashCode = function () {
895
- var result = hashCode(this.cu_1);
896
- result = imul(31, result) + hashCode(this.du_1) | 0;
890
+ var result = hashCode(this.wr_1);
891
+ result = imul(31, result) + hashCode(this.xr_1) | 0;
897
892
  return result;
898
893
  };
899
- function next$factory() {
900
- return getPropertyCallableRef('next', 1, KProperty1, function (receiver) {
901
- return receiver.er();
902
- }, null);
903
- }
904
894
  function EmptyCursor() {
905
895
  EmptyCursor_instance = this;
906
896
  AbstractCursor.call(this);
907
897
  }
908
- protoOf(EmptyCursor).er = function () {
898
+ protoOf(EmptyCursor).jp = function () {
909
899
  throw NoSuchElementException_init_$Create$();
910
900
  };
911
- protoOf(EmptyCursor).fr = function () {
901
+ protoOf(EmptyCursor).kp = function () {
912
902
  return null;
913
903
  };
914
- protoOf(EmptyCursor).gr = function () {
904
+ protoOf(EmptyCursor).lp = function () {
915
905
  return false;
916
906
  };
917
- protoOf(EmptyCursor).hr = function () {
907
+ protoOf(EmptyCursor).mp = function () {
918
908
  return true;
919
909
  };
920
910
  protoOf(EmptyCursor).toString = function () {
921
911
  return protoOf(AbstractCursor).toString.call(this);
922
912
  };
923
- protoOf(EmptyCursor).ut = function (mapper) {
913
+ protoOf(EmptyCursor).zr = function (mapper) {
924
914
  return this;
925
915
  };
926
916
  protoOf(EmptyCursor).map = function (mapper) {
927
- return this.ut(mapper);
917
+ return this.zr(mapper);
928
918
  };
929
- protoOf(EmptyCursor).st = function (mapper) {
930
- return this.ut(mapper);
919
+ protoOf(EmptyCursor).rr = function (mapper) {
920
+ return this.zr(mapper);
931
921
  };
932
922
  var EmptyCursor_instance;
933
923
  function EmptyCursor_getInstance() {
@@ -936,27 +926,27 @@
936
926
  return EmptyCursor_instance;
937
927
  }
938
928
  function IntIndexedImpl(index, value) {
939
- this.fu_1 = index;
940
- this.gu_1 = value;
929
+ this.as_1 = index;
930
+ this.bs_1 = value;
941
931
  }
942
- protoOf(IntIndexedImpl).jr = function () {
943
- return this.fu_1;
932
+ protoOf(IntIndexedImpl).op = function () {
933
+ return this.as_1;
944
934
  };
945
- protoOf(IntIndexedImpl).r2 = function () {
946
- return this.gu_1;
935
+ protoOf(IntIndexedImpl).e2 = function () {
936
+ return this.bs_1;
947
937
  };
948
- protoOf(IntIndexedImpl).me = function () {
949
- return this.fu_1;
938
+ protoOf(IntIndexedImpl).rc = function () {
939
+ return this.as_1;
950
940
  };
951
- protoOf(IntIndexedImpl).ne = function () {
952
- return this.gu_1;
941
+ protoOf(IntIndexedImpl).sc = function () {
942
+ return this.bs_1;
953
943
  };
954
944
  protoOf(IntIndexedImpl).toString = function () {
955
- return 'IntIndexedImpl(index=' + this.fu_1 + ', value=' + this.gu_1 + ')';
945
+ return 'IntIndexedImpl(index=' + this.as_1 + ', value=' + toString(this.bs_1) + ')';
956
946
  };
957
947
  protoOf(IntIndexedImpl).hashCode = function () {
958
- var result = this.fu_1;
959
- result = imul(result, 31) + (this.gu_1 == null ? 0 : hashCode(this.gu_1)) | 0;
948
+ var result = this.as_1;
949
+ result = imul(result, 31) + (this.bs_1 == null ? 0 : hashCode(this.bs_1)) | 0;
960
950
  return result;
961
951
  };
962
952
  protoOf(IntIndexedImpl).equals = function (other) {
@@ -964,97 +954,102 @@
964
954
  return true;
965
955
  if (!(other instanceof IntIndexedImpl))
966
956
  return false;
967
- var tmp0_other_with_cast = other instanceof IntIndexedImpl ? other : THROW_CCE();
968
- if (!(this.fu_1 === tmp0_other_with_cast.fu_1))
957
+ if (!(this.as_1 === other.as_1))
969
958
  return false;
970
- if (!equals(this.gu_1, tmp0_other_with_cast.gu_1))
959
+ if (!equals(this.bs_1, other.bs_1))
971
960
  return false;
972
961
  return true;
973
962
  };
974
963
  protoOf(IntIndexedImpl).d = function (other) {
975
- return this.lr((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
964
+ return this.qp((!(other == null) ? isInterface(other, IntIndexed) : false) ? other : THROW_CCE());
976
965
  };
977
966
  function _get_wrapped__s2ip8($this) {
967
+ var tmp0 = $this.ds_1;
968
+ var tmp = KProperty1;
978
969
  // Inline function 'kotlin.getValue' call
979
- var this_0 = $this.iu_1;
980
- wrapped$factory();
981
- return this_0.r2();
970
+ getPropertyCallableRef('wrapped', 1, tmp, LazyCursor$_get_wrapped_$ref_p28zr5(), null);
971
+ return tmp0.e2();
982
972
  }
983
973
  function LazyCursor$wrapped$delegate$lambda(this$0) {
984
974
  return function () {
985
- return new NonLastCursor(this$0.hu_1);
975
+ return new NonLastCursor(this$0.cs_1);
976
+ };
977
+ }
978
+ function LazyCursor$_get_wrapped_$ref_p28zr5() {
979
+ return function (p0) {
980
+ return _get_wrapped__s2ip8(p0);
986
981
  };
987
982
  }
988
983
  function LazyCursor(delegate) {
989
984
  AbstractCursor.call(this);
990
- this.hu_1 = delegate;
985
+ this.cs_1 = delegate;
991
986
  var tmp = this;
992
- tmp.iu_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
987
+ tmp.ds_1 = lazy(LazyCursor$wrapped$delegate$lambda(this));
993
988
  }
994
- protoOf(LazyCursor).xt = function () {
989
+ protoOf(LazyCursor).qr = function () {
995
990
  return true;
996
991
  };
997
- protoOf(LazyCursor).er = function () {
998
- return _get_wrapped__s2ip8(this).er();
992
+ protoOf(LazyCursor).jp = function () {
993
+ return _get_wrapped__s2ip8(this).jp();
999
994
  };
1000
- protoOf(LazyCursor).fr = function () {
1001
- return _get_wrapped__s2ip8(this).fr();
995
+ protoOf(LazyCursor).kp = function () {
996
+ return _get_wrapped__s2ip8(this).kp();
1002
997
  };
1003
- protoOf(LazyCursor).gr = function () {
998
+ protoOf(LazyCursor).lp = function () {
1004
999
  return true;
1005
1000
  };
1006
- protoOf(LazyCursor).hr = function () {
1001
+ protoOf(LazyCursor).mp = function () {
1007
1002
  return false;
1008
1003
  };
1009
1004
  protoOf(LazyCursor).toString = function () {
1010
1005
  return protoOf(AbstractCursor).toString.call(this);
1011
1006
  };
1012
- protoOf(LazyCursor).r = function () {
1013
- return _get_wrapped__s2ip8(this).r();
1007
+ protoOf(LazyCursor).p = function () {
1008
+ return _get_wrapped__s2ip8(this).p();
1014
1009
  };
1015
1010
  protoOf(LazyCursor).iterator = function () {
1016
- return this.r();
1011
+ return this.p();
1017
1012
  };
1018
1013
  protoOf(LazyCursor).hashCode = function () {
1019
- return hashCode(this.hu_1);
1014
+ return hashCode(this.cs_1);
1020
1015
  };
1021
1016
  protoOf(LazyCursor).equals = function (other) {
1022
1017
  if (this === other)
1023
1018
  return true;
1024
1019
  if (!(other instanceof LazyCursor))
1025
1020
  return false;
1026
- var tmp0_other_with_cast = other instanceof LazyCursor ? other : THROW_CCE();
1027
- if (!equals(this.hu_1, tmp0_other_with_cast.hu_1))
1021
+ if (!equals(this.cs_1, other.cs_1))
1028
1022
  return false;
1029
1023
  return true;
1030
1024
  };
1031
- function wrapped$factory() {
1032
- return getPropertyCallableRef('wrapped', 1, KProperty1, function (receiver) {
1033
- return _get_wrapped__s2ip8(receiver);
1034
- }, null);
1035
- }
1036
1025
  function LongIndexedImpl(index, value) {
1037
- this.ju_1 = index;
1038
- this.ku_1 = value;
1026
+ this.es_1 = index;
1027
+ this.fs_1 = value;
1039
1028
  }
1040
- protoOf(LongIndexedImpl).jr = function () {
1041
- return this.ju_1;
1029
+ protoOf(LongIndexedImpl).op = function () {
1030
+ return this.es_1;
1042
1031
  };
1043
- protoOf(LongIndexedImpl).r2 = function () {
1044
- return this.ku_1;
1032
+ protoOf(LongIndexedImpl).e2 = function () {
1033
+ return this.fs_1;
1045
1034
  };
1046
- protoOf(LongIndexedImpl).kt = function (other) {
1047
- return this.ju_1.pb(other.jr()).ha();
1035
+ protoOf(LongIndexedImpl).jr = function (other) {
1036
+ return convertToInt(subtract(this.es_1, other.op()));
1048
1037
  };
1049
1038
  protoOf(LongIndexedImpl).d = function (other) {
1050
- return this.kt((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
1039
+ return this.jr((!(other == null) ? isInterface(other, LongIndexed) : false) ? other : THROW_CCE());
1040
+ };
1041
+ protoOf(LongIndexedImpl).rc = function () {
1042
+ return this.es_1;
1043
+ };
1044
+ protoOf(LongIndexedImpl).sc = function () {
1045
+ return this.fs_1;
1051
1046
  };
1052
1047
  protoOf(LongIndexedImpl).toString = function () {
1053
- return 'LongIndexedImpl(index=' + this.ju_1.toString() + ', value=' + this.ku_1 + ')';
1048
+ return 'LongIndexedImpl(index=' + this.es_1.toString() + ', value=' + toString(this.fs_1) + ')';
1054
1049
  };
1055
1050
  protoOf(LongIndexedImpl).hashCode = function () {
1056
- var result = this.ju_1.hashCode();
1057
- result = imul(result, 31) + (this.ku_1 == null ? 0 : hashCode(this.ku_1)) | 0;
1051
+ var result = getBigIntHashCode(this.es_1);
1052
+ result = imul(result, 31) + (this.fs_1 == null ? 0 : hashCode(this.fs_1)) | 0;
1058
1053
  return result;
1059
1054
  };
1060
1055
  protoOf(LongIndexedImpl).equals = function (other) {
@@ -1062,258 +1057,253 @@
1062
1057
  return true;
1063
1058
  if (!(other instanceof LongIndexedImpl))
1064
1059
  return false;
1065
- var tmp0_other_with_cast = other instanceof LongIndexedImpl ? other : THROW_CCE();
1066
- if (!this.ju_1.equals(tmp0_other_with_cast.ju_1))
1060
+ if (!(this.es_1 === other.es_1))
1067
1061
  return false;
1068
- if (!equals(this.ku_1, tmp0_other_with_cast.ku_1))
1062
+ if (!equals(this.fs_1, other.fs_1))
1069
1063
  return false;
1070
1064
  return true;
1071
1065
  };
1072
1066
  function MapperCursor$current$delegate$lambda(this$0) {
1073
1067
  return function () {
1074
- return this$0.mu_1(ensureNotNull(this$0.lu_1.fr()));
1068
+ return this$0.hs_1(ensureNotNull(this$0.gs_1.kp()));
1069
+ };
1070
+ }
1071
+ function MapperCursor$_get_current_$ref_lsggiu() {
1072
+ return function (p0) {
1073
+ return p0.kp();
1075
1074
  };
1076
1075
  }
1077
1076
  function MapperCursor(wrapped, mapper) {
1078
1077
  AbstractCursor.call(this);
1079
- this.lu_1 = wrapped;
1080
- this.mu_1 = mapper;
1078
+ this.gs_1 = wrapped;
1079
+ this.hs_1 = mapper;
1081
1080
  var tmp = this;
1082
- tmp.nu_1 = lazy(MapperCursor$current$delegate$lambda(this));
1081
+ tmp.is_1 = lazy(MapperCursor$current$delegate$lambda(this));
1083
1082
  }
1084
- protoOf(MapperCursor).er = function () {
1085
- return this.lu_1.er().st(this.mu_1);
1083
+ protoOf(MapperCursor).jp = function () {
1084
+ return this.gs_1.jp().rr(this.hs_1);
1086
1085
  };
1087
- protoOf(MapperCursor).fr = function () {
1086
+ protoOf(MapperCursor).kp = function () {
1087
+ var tmp0 = this.is_1;
1088
+ var tmp = KProperty1;
1088
1089
  // Inline function 'kotlin.getValue' call
1089
- var this_0 = this.nu_1;
1090
- current$factory();
1091
- return this_0.r2();
1090
+ getPropertyCallableRef('current', 1, tmp, MapperCursor$_get_current_$ref_lsggiu(), null);
1091
+ return tmp0.e2();
1092
1092
  };
1093
- protoOf(MapperCursor).gr = function () {
1093
+ protoOf(MapperCursor).lp = function () {
1094
1094
  return true;
1095
1095
  };
1096
- protoOf(MapperCursor).hr = function () {
1096
+ protoOf(MapperCursor).mp = function () {
1097
1097
  return false;
1098
1098
  };
1099
1099
  protoOf(MapperCursor).equals = function (other) {
1100
1100
  if (this === other)
1101
1101
  return true;
1102
- if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1102
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1103
1103
  return false;
1104
1104
  if (!(other instanceof MapperCursor))
1105
1105
  THROW_CCE();
1106
- if (!equals(this.lu_1, other.lu_1))
1106
+ if (!equals(this.gs_1, other.gs_1))
1107
1107
  return false;
1108
- if (!equals(this.mu_1, other.mu_1))
1108
+ if (!equals(this.hs_1, other.hs_1))
1109
1109
  return false;
1110
1110
  return true;
1111
1111
  };
1112
1112
  protoOf(MapperCursor).hashCode = function () {
1113
- var result = hashCode(this.lu_1);
1114
- result = imul(31, result) + hashCode(this.mu_1) | 0;
1113
+ var result = hashCode(this.gs_1);
1114
+ result = imul(31, result) + hashCode(this.hs_1) | 0;
1115
1115
  return result;
1116
1116
  };
1117
- protoOf(MapperCursor).ou = function (mapper) {
1118
- return new ValueCursor(mapper(this.fr()), this.er().st(mapper));
1117
+ protoOf(MapperCursor).js = function (mapper) {
1118
+ return new ValueCursor(mapper(this.kp()), this.jp().rr(mapper));
1119
1119
  };
1120
1120
  protoOf(MapperCursor).map = function (mapper) {
1121
- return this.ou(mapper);
1121
+ return this.js(mapper);
1122
1122
  };
1123
- protoOf(MapperCursor).st = function (mapper) {
1124
- return this.ou(mapper);
1123
+ protoOf(MapperCursor).rr = function (mapper) {
1124
+ return this.js(mapper);
1125
1125
  };
1126
- function current$factory() {
1127
- return getPropertyCallableRef('current', 1, KProperty1, function (receiver) {
1128
- return receiver.fr();
1129
- }, null);
1130
- }
1131
1126
  function NonLastCursor$next$delegate$lambda($source, this$0) {
1132
1127
  return function () {
1133
1128
  // Inline function 'kotlin.also' call
1134
- var this_0 = Companion_instance_6.ir($source);
1135
- // Inline function 'kotlin.contracts.contract' call
1136
- // Inline function 'it.unibo.tuprolog.utils.impl.NonLastCursor.next$delegate.<anonymous>.<anonymous>' call
1137
- this$0.pu_1 = null;
1129
+ var this_0 = Companion_instance_5.np($source);
1130
+ this$0.ks_1 = null;
1138
1131
  return this_0;
1139
1132
  };
1140
1133
  }
1134
+ function NonLastCursor$_get_next_$ref_gp6ycu() {
1135
+ return function (p0) {
1136
+ return p0.jp();
1137
+ };
1138
+ }
1141
1139
  function NonLastCursor(source) {
1142
1140
  AbstractCursor.call(this);
1143
- this.pu_1 = source;
1141
+ this.ks_1 = source;
1144
1142
  var tmp = this;
1145
- tmp.qu_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
1146
- this.ru_1 = source.u();
1143
+ tmp.ls_1 = lazy(NonLastCursor$next$delegate$lambda(source, this));
1144
+ this.ms_1 = source.t();
1147
1145
  }
1148
- protoOf(NonLastCursor).er = function () {
1146
+ protoOf(NonLastCursor).jp = function () {
1147
+ var tmp0 = this.ls_1;
1148
+ var tmp = KProperty1;
1149
1149
  // Inline function 'kotlin.getValue' call
1150
- var this_0 = this.qu_1;
1151
- next$factory_0();
1152
- return this_0.r2();
1150
+ getPropertyCallableRef('next', 1, tmp, NonLastCursor$_get_next_$ref_gp6ycu(), null);
1151
+ return tmp0.e2();
1153
1152
  };
1154
- protoOf(NonLastCursor).fr = function () {
1155
- return this.ru_1;
1153
+ protoOf(NonLastCursor).kp = function () {
1154
+ return this.ms_1;
1156
1155
  };
1157
- protoOf(NonLastCursor).gr = function () {
1156
+ protoOf(NonLastCursor).lp = function () {
1158
1157
  return true;
1159
1158
  };
1160
- protoOf(NonLastCursor).hr = function () {
1159
+ protoOf(NonLastCursor).mp = function () {
1161
1160
  return false;
1162
1161
  };
1163
1162
  protoOf(NonLastCursor).toString = function () {
1164
1163
  return protoOf(AbstractCursor).toString.call(this);
1165
1164
  };
1166
- function next$factory_0() {
1167
- return getPropertyCallableRef('next', 1, KProperty1, function (receiver) {
1168
- return receiver.er();
1169
- }, null);
1170
- }
1171
1165
  function removeLeastRecent($this) {
1172
1166
  // Inline function 'kotlin.collections.asIterable' call
1173
- var tmp$ret$0 = $this.tu_1.p2();
1174
- var tmp0_container = first(tmp$ret$0);
1167
+ var tmp$ret$0 = $this.os_1.f1();
1168
+ var _destruct__k2r9zo = first(tmp$ret$0);
1175
1169
  // Inline function 'kotlin.collections.component1' call
1176
- var key = tmp0_container.q2();
1170
+ var key = _destruct__k2r9zo.d2();
1177
1171
  // Inline function 'kotlin.collections.component2' call
1178
- var value = tmp0_container.r2();
1179
- $this.tu_1.o2(key);
1180
- return Companion_instance_5.qt(to(key, value));
1172
+ var value = _destruct__k2r9zo.e2();
1173
+ $this.os_1.l4(key);
1174
+ return Companion_instance_4.kr(to(key, value));
1181
1175
  }
1182
1176
  function removeLeastRecentIfNecessary($this) {
1183
1177
  var tmp;
1184
- if ($this.tu_1.l() >= $this.su_1) {
1178
+ if ($this.os_1.u() >= $this.ns_1) {
1185
1179
  tmp = removeLeastRecent($this);
1186
1180
  } else {
1187
- tmp = Companion_instance_5.zq();
1181
+ tmp = Companion_instance_4.ep();
1188
1182
  }
1189
1183
  return tmp;
1190
1184
  }
1191
1185
  function SimpleLRUCache$set$lambda(this$0, $key, $value) {
1192
1186
  return function () {
1193
1187
  var evicted = removeLeastRecentIfNecessary(this$0);
1194
- var this_0 = this$0.tu_1;
1195
- var key = $key;
1188
+ var tmp0 = this$0.os_1;
1189
+ var tmp2 = $key;
1190
+ // Inline function 'kotlin.collections.set' call
1196
1191
  var value = $value;
1197
- this_0.n2(key, value);
1192
+ tmp0.k4(tmp2, value);
1198
1193
  return evicted;
1199
1194
  };
1200
1195
  }
1201
1196
  function SimpleLRUCache$get$lambda(this$0, $key) {
1202
1197
  return function () {
1203
1198
  var tmp;
1204
- if (this$0.tu_1.u2($key)) {
1205
- tmp = Companion_instance_5.ar(this$0.tu_1.x2($key));
1199
+ if (this$0.os_1.f2($key)) {
1200
+ tmp = Companion_instance_4.fp(this$0.os_1.h2($key));
1206
1201
  } else {
1207
- tmp = Companion_instance_5.zq();
1202
+ tmp = Companion_instance_4.ep();
1208
1203
  }
1209
1204
  return tmp;
1210
1205
  };
1211
1206
  }
1212
1207
  function SimpleLRUCache$toSequence$lambda$lambda(it) {
1213
1208
  // Inline function 'kotlin.collections.toPair' call
1214
- return new Pair(it.q2(), it.r2());
1209
+ return new Pair(it.d2(), it.e2());
1215
1210
  }
1216
1211
  function SimpleLRUCache$toSequence$lambda(this$0) {
1217
1212
  return function () {
1218
- var tmp = asSequence(this$0.tu_1.p2());
1213
+ var tmp = asSequence(this$0.os_1.f1());
1219
1214
  return buffered(map(tmp, SimpleLRUCache$toSequence$lambda$lambda));
1220
1215
  };
1221
1216
  }
1222
1217
  function SimpleLRUCache$toString$lambda(it) {
1223
- return '' + it.ye_1 + ' = ' + it.ze_1;
1218
+ return toString(it.xc_1) + ' = ' + toString(it.yc_1);
1224
1219
  }
1225
1220
  function SimpleLRUCache(capacity) {
1226
- this.su_1 = capacity;
1221
+ this.ns_1 = capacity;
1227
1222
  // Inline function 'kotlin.require' call
1228
- // Inline function 'kotlin.contracts.contract' call
1229
1223
  // Inline function 'kotlin.require' call
1230
- // Inline function 'kotlin.contracts.contract' call
1231
- if (!(this.su_1 > 0)) {
1232
- // Inline function 'kotlin.require.<anonymous>' call
1224
+ if (!(this.ns_1 > 0)) {
1233
1225
  var message = 'Failed requirement.';
1234
- throw IllegalArgumentException_init_$Create$(toString(message));
1226
+ throw IllegalArgumentException_init_$Create$(toString_0(message));
1235
1227
  }
1236
- this.tu_1 = LinkedHashMap_init_$Create$();
1228
+ this.os_1 = LinkedHashMap_init_$Create$();
1237
1229
  }
1238
- protoOf(SimpleLRUCache).sq = function (key, value) {
1230
+ protoOf(SimpleLRUCache).xo = function (key, value) {
1239
1231
  return synchronizedOnSelf(this, SimpleLRUCache$set$lambda(this, key, value));
1240
1232
  };
1241
- protoOf(SimpleLRUCache).x2 = function (key) {
1233
+ protoOf(SimpleLRUCache).h2 = function (key) {
1242
1234
  return synchronizedOnSelf(this, SimpleLRUCache$get$lambda(this, key));
1243
1235
  };
1244
1236
  protoOf(SimpleLRUCache).equals = function (other) {
1245
1237
  if (this === other)
1246
1238
  return true;
1247
- if (other == null ? true : !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1239
+ if (other == null || !getKClassFromExpression(this).equals(getKClassFromExpression(other)))
1248
1240
  return false;
1249
1241
  if (!(other instanceof SimpleLRUCache))
1250
1242
  THROW_CCE();
1251
- if (!(this.su_1 === other.su_1))
1243
+ if (!(this.ns_1 === other.ns_1))
1252
1244
  return false;
1253
- if (!this.tu_1.equals(other.tu_1))
1245
+ if (!this.os_1.equals(other.os_1))
1254
1246
  return false;
1255
1247
  return true;
1256
1248
  };
1257
1249
  protoOf(SimpleLRUCache).hashCode = function () {
1258
- var result = this.su_1;
1259
- result = imul(31, result) + this.tu_1.hashCode() | 0;
1250
+ var result = this.ns_1;
1251
+ result = imul(31, result) + this.os_1.hashCode() | 0;
1260
1252
  return result;
1261
1253
  };
1262
- protoOf(SimpleLRUCache).uu = function () {
1254
+ protoOf(SimpleLRUCache).ps = function () {
1263
1255
  return synchronizedOnSelf(this, SimpleLRUCache$toSequence$lambda(this));
1264
1256
  };
1265
1257
  protoOf(SimpleLRUCache).toString = function () {
1266
- var tmp = this.uu();
1258
+ var tmp = this.ps();
1267
1259
  return 'SimpleLRUCache(' + joinToString(map(tmp, SimpleLRUCache$toString$lambda), ', ') + ')';
1268
1260
  };
1269
1261
  function ValueCursor(current, next) {
1270
1262
  AbstractCursor.call(this);
1271
- this.vu_1 = current;
1272
- this.wu_1 = next;
1263
+ this.qs_1 = current;
1264
+ this.rs_1 = next;
1273
1265
  }
1274
- protoOf(ValueCursor).fr = function () {
1275
- return this.vu_1;
1266
+ protoOf(ValueCursor).kp = function () {
1267
+ return this.qs_1;
1276
1268
  };
1277
- protoOf(ValueCursor).er = function () {
1278
- return this.wu_1;
1269
+ protoOf(ValueCursor).jp = function () {
1270
+ return this.rs_1;
1279
1271
  };
1280
- protoOf(ValueCursor).gr = function () {
1272
+ protoOf(ValueCursor).lp = function () {
1281
1273
  return true;
1282
1274
  };
1283
- protoOf(ValueCursor).hr = function () {
1275
+ protoOf(ValueCursor).mp = function () {
1284
1276
  return false;
1285
1277
  };
1286
1278
  function dequeOf(items) {
1287
- return toMutableList(items);
1288
- }
1289
- function dequeOf_0(items) {
1290
1279
  return mutableListOf(items.slice());
1291
1280
  }
1292
- function dequeOf_1(items) {
1293
- // Inline function 'kotlin.also' call
1281
+ function dequeOf_0(items) {
1294
1282
  // Inline function 'kotlin.collections.mutableListOf' call
1283
+ // Inline function 'kotlin.also' call
1295
1284
  var this_0 = ArrayList_init_$Create$_0();
1296
- // Inline function 'kotlin.contracts.contract' call
1297
- // Inline function 'it.unibo.tuprolog.utils.dequeOf.<anonymous>' call
1298
1285
  addAll(this_0, items);
1299
1286
  return this_0;
1300
1287
  }
1288
+ function dequeOf_1(items) {
1289
+ return toMutableList(items);
1290
+ }
1301
1291
  function takeFirst(_this__u8e3s4) {
1302
- if (_this__u8e3s4.y())
1292
+ if (_this__u8e3s4.j())
1303
1293
  return null;
1304
- var first = _this__u8e3s4.c1(0);
1305
- _this__u8e3s4.e1(0);
1294
+ var first = _this__u8e3s4.z(0);
1295
+ _this__u8e3s4.g3(0);
1306
1296
  return first;
1307
1297
  }
1308
1298
  function addFirst(_this__u8e3s4, item) {
1309
- _this__u8e3s4.p1(0, item);
1299
+ _this__u8e3s4.r3(0, item);
1310
1300
  }
1311
1301
  function addFirst_0(_this__u8e3s4, items) {
1312
- var i = _this__u8e3s4.z1();
1313
- var tmp0_iterator = items.r();
1314
- while (tmp0_iterator.s()) {
1315
- var item = tmp0_iterator.u();
1316
- i.q1(item);
1302
+ var i = _this__u8e3s4.b4();
1303
+ var _iterator__ex2g4s = items.p();
1304
+ while (_iterator__ex2g4s.s()) {
1305
+ var item = _iterator__ex2g4s.t();
1306
+ i.s3(item);
1317
1307
  }
1318
1308
  }
1319
1309
  function synchronizedOn(obj, action) {
@@ -1326,9 +1316,9 @@
1326
1316
  //region block: post-declaration
1327
1317
  protoOf(AbstractCursor).asIterable = asIterable_1;
1328
1318
  protoOf(AbstractCursor).asSequence = asSequence_0;
1329
- protoOf(CachedImpl).yq = ifValid;
1330
- protoOf(IntIndexedImpl).lr = compareTo;
1331
- protoOf(SimpleLRUCache).tq = getOrSet;
1319
+ protoOf(CachedImpl).dp = ifValid;
1320
+ protoOf(IntIndexedImpl).qp = compareTo;
1321
+ protoOf(SimpleLRUCache).yo = getOrSet;
1332
1322
  //endregion
1333
1323
  //region block: init
1334
1324
  Companion_instance = new Companion();
@@ -1336,8 +1326,8 @@
1336
1326
  Companion_instance_1 = new Companion_1();
1337
1327
  Companion_instance_2 = new Companion_2();
1338
1328
  Companion_instance_3 = new Companion_3();
1329
+ Companion_instance_4 = new Companion_4();
1339
1330
  Companion_instance_5 = new Companion_5();
1340
- Companion_instance_6 = new Companion_6();
1341
1331
  //endregion
1342
1332
  //region block: exports
1343
1333
  _.$_$ = _.$_$ || {};
@@ -1345,12 +1335,12 @@
1345
1335
  _.$_$.b = Companion_instance_0;
1346
1336
  _.$_$.c = Companion_instance_1;
1347
1337
  _.$_$.d = Companion_instance_3;
1348
- _.$_$.e = Companion_instance_5;
1349
- _.$_$.f = castTo;
1350
- _.$_$.g = Castable;
1351
- _.$_$.h = compareTo_0;
1352
- _.$_$.i = LongIndexed;
1353
- _.$_$.j = NumberTypeTester;
1338
+ _.$_$.e = castTo;
1339
+ _.$_$.f = Castable;
1340
+ _.$_$.g = component1;
1341
+ _.$_$.h = component2;
1342
+ _.$_$.i = compareTo_0;
1343
+ _.$_$.j = LongIndexed;
1354
1344
  _.$_$.k = Some;
1355
1345
  _.$_$.l = containsTag;
1356
1346
  _.$_$.m = getTag;
@@ -1359,20 +1349,20 @@
1359
1349
  _.$_$.p = addFirst;
1360
1350
  _.$_$.q = buffered;
1361
1351
  _.$_$.r = cached;
1362
- _.$_$.s = cursor;
1363
- _.$_$.t = cursor_0;
1352
+ _.$_$.s = cursor_0;
1353
+ _.$_$.t = cursor;
1364
1354
  _.$_$.u = cursor_1;
1365
- _.$_$.v = dequeOf;
1366
- _.$_$.w = dequeOf_1;
1367
- _.$_$.x = dequeOf_0;
1355
+ _.$_$.v = dequeOf_1;
1356
+ _.$_$.w = dequeOf_0;
1357
+ _.$_$.x = dequeOf;
1368
1358
  _.$_$.y = dropLast;
1369
1359
  _.$_$.z = forceCast;
1370
1360
  _.$_$.a1 = insertAt;
1371
- _.$_$.b1 = itemWiseEquals;
1372
- _.$_$.c1 = itemWiseEquals_1;
1373
- _.$_$.d1 = itemWiseHashCode;
1374
- _.$_$.e1 = itemWiseHashCode_1;
1375
- _.$_$.f1 = itemWiseHashCode_0;
1361
+ _.$_$.b1 = itemWiseEquals_0;
1362
+ _.$_$.c1 = itemWiseEquals;
1363
+ _.$_$.d1 = itemWiseHashCode_0;
1364
+ _.$_$.e1 = itemWiseHashCode;
1365
+ _.$_$.f1 = itemWiseHashCode_1;
1376
1366
  _.$_$.g1 = mergeSequences;
1377
1367
  _.$_$.h1 = plus;
1378
1368
  _.$_$.i1 = setTags;