@tuprolog/2p-full 1.1.4 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,34 +28,35 @@
28
28
  'use strict';
29
29
  //region block: imports
30
30
  var imul = Math.imul;
31
- var first = kotlin_kotlin.$_$.s7;
32
- var protoOf = kotlin_kotlin.$_$.k6;
33
- var initMetadataForClass = kotlin_kotlin.$_$.t5;
34
- var initMetadataForCompanion = kotlin_kotlin.$_$.u5;
35
- var isInterface = kotlin_kotlin.$_$.c6;
31
+ var first = kotlin_kotlin.$_$.x7;
32
+ var protoOf = kotlin_kotlin.$_$.p6;
33
+ var initMetadataForClass = kotlin_kotlin.$_$.a6;
34
+ var initMetadataForCompanion = kotlin_kotlin.$_$.b6;
35
+ var Unit_instance = kotlin_kotlin.$_$.m;
36
+ var constructCallableReference = kotlin_kotlin.$_$.r5;
37
+ var isInterface = kotlin_kotlin.$_$.j6;
36
38
  var Companion_getInstance = kotlin_it_unibo_tuprolog_unify.$_$.a;
37
39
  var VOID = kotlin_kotlin.$_$.b;
38
- var Companion_instance = kotlin_it_unibo_tuprolog_solve.$_$.i1;
39
- var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.d1;
40
+ var Companion_instance = kotlin_it_unibo_tuprolog_solve.$_$.q;
41
+ var Companion_getInstance_0 = kotlin_it_unibo_tuprolog_solve.$_$.l;
40
42
  var Companion_instance_0 = kotlin_it_unibo_tuprolog_theory.$_$.b;
41
43
  var Companion_instance_1 = kotlin_it_unibo_tuprolog_theory.$_$.a;
42
- var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.s;
43
- var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.u;
44
- var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.t;
45
- var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.v;
46
- var objectCreate = kotlin_kotlin.$_$.j6;
47
- var filter = kotlin_kotlin.$_$.q7;
48
- var THROW_CCE = kotlin_kotlin.$_$.ea;
49
- var Sequence = kotlin_kotlin.$_$.e7;
50
- var map = kotlin_kotlin.$_$.c8;
51
- var Unit_instance = kotlin_kotlin.$_$.k1;
44
+ var Companion_instance_2 = kotlin_it_unibo_tuprolog_solve.$_$.a;
45
+ var Companion_instance_3 = kotlin_it_unibo_tuprolog_solve.$_$.c;
46
+ var Companion_instance_4 = kotlin_it_unibo_tuprolog_solve.$_$.b;
47
+ var Companion_instance_5 = kotlin_it_unibo_tuprolog_solve.$_$.d;
48
+ var objectCreate = kotlin_kotlin.$_$.o6;
49
+ var filter = kotlin_kotlin.$_$.v7;
50
+ var THROW_CCE = kotlin_kotlin.$_$.na;
51
+ var Sequence = kotlin_kotlin.$_$.j7;
52
+ var map = kotlin_kotlin.$_$.h8;
52
53
  var getAllOperators = kotlin_it_unibo_tuprolog_solve.$_$.c4;
53
54
  var toOperatorSet = kotlin_it_unibo_tuprolog_solve.$_$.e4;
54
55
  var extractSignature = kotlin_it_unibo_tuprolog_solve.$_$.b4;
55
56
  var Request = kotlin_it_unibo_tuprolog_solve.$_$.a2;
56
- var take = kotlin_kotlin.$_$.n8;
57
+ var take = kotlin_kotlin.$_$.s8;
57
58
  var buffered = kotlin_it_unibo_tuprolog_utils.$_$.q;
58
- var copy = kotlin_it_unibo_tuprolog_solve.$_$.e;
59
+ var copy = kotlin_it_unibo_tuprolog_solve.$_$.b1;
59
60
  var solveWithTimeout = kotlin_it_unibo_tuprolog_solve.$_$.k3;
60
61
  var solve = kotlin_it_unibo_tuprolog_solve.$_$.l3;
61
62
  var solveListWithTimeout = kotlin_it_unibo_tuprolog_solve.$_$.f3;
@@ -70,11 +71,11 @@
70
71
  var get_standardError = kotlin_it_unibo_tuprolog_solve.$_$.n2;
71
72
  var get_warnings = kotlin_it_unibo_tuprolog_solve.$_$.q2;
72
73
  var Solver = kotlin_it_unibo_tuprolog_solve.$_$.z3;
73
- var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.j;
74
- var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.i;
75
- var NotImplementedError = kotlin_kotlin.$_$.z9;
76
- var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.f;
77
- var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.g;
74
+ var rawSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.g1;
75
+ var solverOf = kotlin_it_unibo_tuprolog_solve.$_$.f1;
76
+ var NotImplementedError = kotlin_kotlin.$_$.ia;
77
+ var mutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.c1;
78
+ var rawMutableSolverOf = kotlin_it_unibo_tuprolog_solve.$_$.d1;
78
79
  var newBuilder = kotlin_it_unibo_tuprolog_solve.$_$.w3;
79
80
  var get_defaultRuntime = kotlin_it_unibo_tuprolog_solve.$_$.r3;
80
81
  var get_defaultUnificator = kotlin_it_unibo_tuprolog_solve.$_$.t3;
@@ -86,100 +87,100 @@
86
87
  var get_defaultErrorChannel = kotlin_it_unibo_tuprolog_solve.$_$.n3;
87
88
  var get_defaultWarningsChannel = kotlin_it_unibo_tuprolog_solve.$_$.u3;
88
89
  var solverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.x3;
89
- var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.k;
90
+ var solverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.h1;
90
91
  var mutableSolverWithDefaultBuiltins = kotlin_it_unibo_tuprolog_solve.$_$.v3;
91
- var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.h;
92
+ var mutableSolverWithDefaultBuiltinsAnd = kotlin_it_unibo_tuprolog_solve.$_$.e1;
92
93
  var SolverFactory = kotlin_it_unibo_tuprolog_solve.$_$.y3;
93
- var initMetadataForObject = kotlin_kotlin.$_$.y5;
94
- var defineProp = kotlin_kotlin.$_$.l5;
95
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
96
- var firstOrNull = kotlin_kotlin.$_$.k2;
97
- var emptyList = kotlin_kotlin.$_$.h2;
98
- var emptySequence = kotlin_kotlin.$_$.m7;
99
- var plus = kotlin_kotlin.$_$.h8;
100
- var toMutableList = kotlin_kotlin.$_$.e4;
101
- var first_0 = kotlin_kotlin.$_$.l2;
102
- var listOf = kotlin_kotlin.$_$.x2;
103
- var lastOrNull = kotlin_kotlin.$_$.t2;
104
- var contains = kotlin_kotlin.$_$.i7;
105
- var equals = kotlin_kotlin.$_$.m5;
106
- var plus_0 = kotlin_kotlin.$_$.f8;
107
- var Collection = kotlin_kotlin.$_$.l1;
108
- var toString = kotlin_kotlin.$_$.n6;
109
- var toString_0 = kotlin_kotlin.$_$.oa;
110
- var hashCode = kotlin_kotlin.$_$.s5;
111
- var getBooleanHashCode = kotlin_kotlin.$_$.o5;
112
- var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.k;
113
- var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.v;
94
+ var initMetadataForObject = kotlin_kotlin.$_$.f6;
95
+ var defineProp = kotlin_kotlin.$_$.s5;
96
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.o;
97
+ var firstOrNull = kotlin_kotlin.$_$.o2;
98
+ var emptyList = kotlin_kotlin.$_$.l2;
99
+ var emptySequence = kotlin_kotlin.$_$.r7;
100
+ var plus = kotlin_kotlin.$_$.m8;
101
+ var toMutableList = kotlin_kotlin.$_$.j4;
102
+ var first_0 = kotlin_kotlin.$_$.p2;
103
+ var listOf = kotlin_kotlin.$_$.b3;
104
+ var lastOrNull = kotlin_kotlin.$_$.x2;
105
+ var contains = kotlin_kotlin.$_$.n7;
106
+ var equals = kotlin_kotlin.$_$.t5;
107
+ var plus_0 = kotlin_kotlin.$_$.k8;
108
+ var Collection = kotlin_kotlin.$_$.p1;
109
+ var toString = kotlin_kotlin.$_$.s6;
110
+ var toString_0 = kotlin_kotlin.$_$.xa;
111
+ var hashCode = kotlin_kotlin.$_$.z5;
112
+ var getBooleanHashCode = kotlin_kotlin.$_$.v5;
113
+ var Companion_getInstance_1 = kotlin_it_unibo_tuprolog_core.$_$.e;
114
+ var Companion_getInstance_2 = kotlin_it_unibo_tuprolog_core.$_$.p;
114
115
  var Unifier = kotlin_it_unibo_tuprolog_core.$_$.q1;
115
- var Companion_instance_6 = kotlin_it_unibo_tuprolog_core.$_$.l;
116
+ var Companion_instance_6 = kotlin_it_unibo_tuprolog_core.$_$.f;
116
117
  var prepareForExecution = kotlin_it_unibo_tuprolog_core.$_$.u2;
117
- var single = kotlin_kotlin.$_$.u3;
118
- var copyToArray = kotlin_kotlin.$_$.e2;
119
- var any = kotlin_kotlin.$_$.f7;
120
- var sequence = kotlin_kotlin.$_$.k8;
121
- var drop = kotlin_kotlin.$_$.g2;
122
- var plus_1 = kotlin_kotlin.$_$.p3;
123
- var indexOf = kotlin_kotlin.$_$.w7;
124
- var CoroutineImpl = kotlin_kotlin.$_$.k4;
125
- var SequenceScope = kotlin_kotlin.$_$.d7;
126
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.j4;
127
- var filterIndexed = kotlin_kotlin.$_$.n7;
128
- var initMetadataForLambda = kotlin_kotlin.$_$.x5;
129
- var asSequence = kotlin_kotlin.$_$.w1;
130
- var toList = kotlin_kotlin.$_$.q8;
131
- var Companion_instance_7 = kotlin_it_unibo_tuprolog_solve.$_$.w;
118
+ var single = kotlin_kotlin.$_$.z3;
119
+ var copyToArray = kotlin_kotlin.$_$.i2;
120
+ var any = kotlin_kotlin.$_$.k7;
121
+ var sequence = kotlin_kotlin.$_$.p8;
122
+ var drop = kotlin_kotlin.$_$.k2;
123
+ var plus_1 = kotlin_kotlin.$_$.t3;
124
+ var indexOf = kotlin_kotlin.$_$.b8;
125
+ var CoroutineImpl = kotlin_kotlin.$_$.p4;
126
+ var SequenceScope = kotlin_kotlin.$_$.i7;
127
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.o4;
128
+ var filterIndexed = kotlin_kotlin.$_$.s7;
129
+ var initMetadataForLambda = kotlin_kotlin.$_$.e6;
130
+ var asSequence = kotlin_kotlin.$_$.a2;
131
+ var toList = kotlin_kotlin.$_$.v8;
132
+ var Companion_instance_7 = kotlin_it_unibo_tuprolog_solve.$_$.e;
132
133
  var currentTimeInstant = kotlin_it_unibo_tuprolog_solve.$_$.a4;
133
- var lazy = kotlin_kotlin.$_$.ja;
134
- var collectionSizeOrDefault = kotlin_kotlin.$_$.z1;
135
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.c;
136
- var KProperty1 = kotlin_kotlin.$_$.c7;
137
- var getPropertyCallableRef = kotlin_kotlin.$_$.q5;
138
- var createSolver = kotlin_it_unibo_tuprolog_solve.$_$.c;
139
- var createMutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.b;
134
+ var lazy = kotlin_kotlin.$_$.ta;
135
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.d2;
136
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.n;
137
+ var KProperty1 = kotlin_kotlin.$_$.h7;
138
+ var getPropertyCallableRef = kotlin_kotlin.$_$.x5;
139
+ var createSolver = kotlin_it_unibo_tuprolog_solve.$_$.z;
140
+ var createMutableSolver = kotlin_it_unibo_tuprolog_solve.$_$.y;
140
141
  var apply = kotlin_it_unibo_tuprolog_solve.$_$.l2;
141
142
  var applyIterable = kotlin_it_unibo_tuprolog_solve.$_$.k2;
142
143
  var applySequence = kotlin_it_unibo_tuprolog_solve.$_$.m2;
143
- var update = kotlin_it_unibo_tuprolog_solve.$_$.d;
144
- var getBigIntHashCode = kotlin_kotlin.$_$.n5;
144
+ var update = kotlin_it_unibo_tuprolog_solve.$_$.a1;
145
+ var getBigIntHashCode = kotlin_kotlin.$_$.u5;
145
146
  var get_endTime = kotlin_it_unibo_tuprolog_solve.$_$.i2;
146
147
  var get_remainingTime = kotlin_it_unibo_tuprolog_solve.$_$.j2;
147
148
  var get_elapsedTime = kotlin_it_unibo_tuprolog_solve.$_$.h2;
148
149
  var ExecutionContext = kotlin_it_unibo_tuprolog_solve.$_$.r2;
149
- var initMetadataForInterface = kotlin_kotlin.$_$.w5;
150
- var sequenceOf = kotlin_kotlin.$_$.j8;
151
- var drop_0 = kotlin_kotlin.$_$.l7;
152
- var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.o;
153
- var subtract = kotlin_kotlin.$_$.a5;
154
- var getKClassFromExpression = kotlin_kotlin.$_$.a7;
150
+ var initMetadataForInterface = kotlin_kotlin.$_$.d6;
151
+ var sequenceOf = kotlin_kotlin.$_$.o8;
152
+ var drop_0 = kotlin_kotlin.$_$.q7;
153
+ var TimeOutException_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.l1;
154
+ var subtract = kotlin_kotlin.$_$.g5;
155
+ var getKClassFromExpression = kotlin_kotlin.$_$.f7;
155
156
  var Halt = kotlin_it_unibo_tuprolog_solve.$_$.a3;
156
157
  var Yes = kotlin_it_unibo_tuprolog_solve.$_$.c3;
157
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q;
158
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.b1;
158
159
  var No = kotlin_it_unibo_tuprolog_solve.$_$.b3;
159
- var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.u;
160
+ var Companion_getInstance_3 = kotlin_it_unibo_tuprolog_core.$_$.o;
160
161
  var LogicError = kotlin_it_unibo_tuprolog_solve.$_$.r1;
161
162
  var HaltException = kotlin_it_unibo_tuprolog_solve.$_$.q1;
162
- var sequenceOf_0 = kotlin_kotlin.$_$.i8;
163
- var flatMap = kotlin_kotlin.$_$.t7;
164
- var asIterable = kotlin_kotlin.$_$.g7;
163
+ var sequenceOf_0 = kotlin_kotlin.$_$.n8;
164
+ var flatMap = kotlin_kotlin.$_$.y7;
165
+ var asIterable = kotlin_kotlin.$_$.l7;
165
166
  var Rule = kotlin_it_unibo_tuprolog_core.$_$.o1;
166
- var none = kotlin_kotlin.$_$.e8;
167
+ var none = kotlin_kotlin.$_$.j8;
167
168
  var Struct = kotlin_it_unibo_tuprolog_core.$_$.p1;
168
169
  var ExtensionLibrary = kotlin_it_unibo_tuprolog_solve.$_$.v1;
169
- var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.m1;
170
- var listOf_0 = kotlin_kotlin.$_$.y2;
170
+ var CommonBuiltins_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.u;
171
+ var listOf_0 = kotlin_kotlin.$_$.c3;
171
172
  var PrimitiveWrapper = kotlin_it_unibo_tuprolog_solve.$_$.y1;
172
- var PrimitiveWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.p;
173
- var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.j1;
174
- var Expected_CALLABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.a;
175
- var TypeError_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.l;
176
- var last = kotlin_kotlin.$_$.u2;
177
- var first_1 = kotlin_kotlin.$_$.m2;
178
- var Pair = kotlin_kotlin.$_$.ca;
179
- var initMetadataForCoroutine = kotlin_kotlin.$_$.v5;
180
- var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.c1;
173
+ var PrimitiveWrapper_init_$Init$ = kotlin_it_unibo_tuprolog_solve.$_$.m1;
174
+ var Companion_getInstance_4 = kotlin_it_unibo_tuprolog_solve.$_$.r;
175
+ var Expected_CALLABLE_getInstance = kotlin_it_unibo_tuprolog_solve.$_$.x;
176
+ var TypeError_init_$Create$ = kotlin_it_unibo_tuprolog_solve.$_$.i1;
177
+ var last = kotlin_kotlin.$_$.y2;
178
+ var first_1 = kotlin_kotlin.$_$.q2;
179
+ var Pair = kotlin_kotlin.$_$.la;
180
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.c6;
181
+ var Companion_instance_8 = kotlin_it_unibo_tuprolog_solve.$_$.k;
181
182
  var NonBacktrackable = kotlin_it_unibo_tuprolog_solve.$_$.d2;
182
- var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.a1;
183
+ var Companion_instance_9 = kotlin_it_unibo_tuprolog_solve.$_$.i;
183
184
  //endregion
184
185
  //region block: pre-declaration
185
186
  initMetadataForClass(SolverStrategies$Companion$prologStandard$1);
@@ -194,18 +195,18 @@
194
195
  initMetadataForClass(AlreadyExecutedState, 'AlreadyExecutedState');
195
196
  initMetadataForInterface(FinalState, 'FinalState');
196
197
  function get_context() {
197
- var tmp = this.y3a().context;
198
+ var tmp = this.x3a().context;
198
199
  return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
199
200
  }
200
201
  initMetadataForInterface(IntermediateState, 'IntermediateState');
201
202
  initMetadataForLambda(StateMachineExecutor$internalExecute$slambda, CoroutineImpl, VOID, [1]);
202
203
  initMetadataForObject(StateMachineExecutor, 'StateMachineExecutor');
203
204
  initMetadataForCompanion(Companion_1);
204
- initMetadataForClass(AbstractTimedState, 'AbstractTimedState', VOID, AbstractState, [AbstractState, IntermediateState]);
205
- initMetadataForClass(StateEnd, 'StateEnd', VOID, AbstractState, [AbstractState, FinalState]);
206
- initMetadataForClass(True, 'True', VOID, StateEnd, [StateEnd, FinalState]);
207
- initMetadataForClass(False, 'False', VOID, StateEnd, [StateEnd, FinalState]);
208
- initMetadataForClass(Halt_0, 'Halt', VOID, StateEnd, [StateEnd, FinalState]);
205
+ initMetadataForClass(AbstractTimedState, 'AbstractTimedState', VOID, AbstractState, [IntermediateState]);
206
+ initMetadataForClass(StateEnd, 'StateEnd', VOID, AbstractState, [FinalState]);
207
+ initMetadataForClass(True, 'True', VOID, StateEnd, [FinalState]);
208
+ initMetadataForClass(False, 'False', VOID, StateEnd, [FinalState]);
209
+ initMetadataForClass(Halt_0, 'Halt', VOID, StateEnd, [FinalState]);
209
210
  initMetadataForCompanion(Companion_2);
210
211
  initMetadataForLambda(StateGoalEvaluation$behaveTimed$slambda, CoroutineImpl, VOID, [1]);
211
212
  initMetadataForClass(StateGoalEvaluation, 'StateGoalEvaluation', VOID, AbstractTimedState);
@@ -228,19 +229,19 @@
228
229
  //endregion
229
230
  function SolverStrategies$Companion$prologStandard$1() {
230
231
  }
231
- protoOf(SolverStrategies$Companion$prologStandard$1).u3a = function (predicationSequence, context) {
232
+ protoOf(SolverStrategies$Companion$prologStandard$1).t3a = function (predicationSequence, context) {
232
233
  return first(predicationSequence);
233
234
  };
234
- protoOf(SolverStrategies$Companion$prologStandard$1).v3a = function (unifiableClauses, context) {
235
+ protoOf(SolverStrategies$Companion$prologStandard$1).u3a = function (unifiableClauses, context) {
235
236
  return first(unifiableClauses);
236
237
  };
237
- protoOf(SolverStrategies$Companion$prologStandard$1).w3a = function (term, context) {
238
- return term.xt();
238
+ protoOf(SolverStrategies$Companion$prologStandard$1).v3a = function (term, context) {
239
+ return term.vt();
239
240
  };
240
241
  function Companion() {
241
242
  Companion_instance_10 = this;
242
243
  var tmp = this;
243
- tmp.x3a_1 = new SolverStrategies$Companion$prologStandard$1();
244
+ tmp.w3a_1 = new SolverStrategies$Companion$prologStandard$1();
244
245
  }
245
246
  var Companion_instance_10;
246
247
  function Companion_getInstance_5() {
@@ -248,19 +249,29 @@
248
249
  new Companion();
249
250
  return Companion_instance_10;
250
251
  }
252
+ function SolverStrategies$clauseChoiceStrategy$ref(p0) {
253
+ return constructCallableReference(function (p0_0, p1) {
254
+ return p0.u3a(p0_0, p1);
255
+ }, 2, 0, 94, 'clauseChoiceStrategy', [p0]);
256
+ }
257
+ function SolverStrategies$predicationChoiceStrategy$ref(p0) {
258
+ return constructCallableReference(function (p0_0, p1) {
259
+ return p0.t3a(p0_0, p1);
260
+ }, 2, 0, 95, 'predicationChoiceStrategy', [p0]);
261
+ }
251
262
  function StreamsSolver$Companion$solveToFinalStates$lambda(it) {
252
263
  return !(it == null) ? isInterface(it, FinalState) : false;
253
264
  }
254
265
  function StreamsSolver$Companion$solveToFinalStates$lambda_0($goalRequest) {
255
266
  return function (it) {
256
- return it.y3a().solution.j1t().equals($goalRequest.j1t());
267
+ return it.x3a().solution.i1t().equals($goalRequest.i1t());
257
268
  };
258
269
  }
259
270
  function StreamsSolver$Companion$solveToResponses$lambda(it) {
260
- return it.y3a();
271
+ return it.x3a();
261
272
  }
262
273
  function StreamsSolver_init_$Init$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $this) {
263
- unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
274
+ unificator = unificator === VOID ? Companion_getInstance().f1i() : unificator;
264
275
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
265
276
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
266
277
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -269,7 +280,7 @@
269
280
  stdOut = stdOut === VOID ? Companion_instance_3.stdOut() : stdOut;
270
281
  stdErr = stdErr === VOID ? Companion_instance_3.stdErr() : stdErr;
271
282
  warnings = warnings === VOID ? Companion_instance_3.warning() : warnings;
272
- StreamsSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.j1v(stdIn), Companion_instance_5.m1v(stdOut, stdErr, warnings));
283
+ StreamsSolver.call($this, unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.i1v(stdIn), Companion_instance_5.l1v(stdOut, stdErr, warnings));
273
284
  return $this;
274
285
  }
275
286
  function StreamsSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
@@ -277,15 +288,15 @@
277
288
  }
278
289
  function Companion_0() {
279
290
  }
280
- protoOf(Companion_0).z3a = function (goalRequest) {
291
+ protoOf(Companion_0).y3a = function (goalRequest) {
281
292
  // Inline function 'kotlin.sequences.filterIsInstance' call
282
- var this_0 = StateMachineExecutor_instance.a3b(new StateInit(goalRequest));
293
+ var this_0 = StateMachineExecutor_instance.z3a(new StateInit(goalRequest));
283
294
  var tmp = filter(this_0, StreamsSolver$Companion$solveToFinalStates$lambda);
284
295
  var tmp_0 = isInterface(tmp, Sequence) ? tmp : THROW_CCE();
285
296
  return filter(tmp_0, StreamsSolver$Companion$solveToFinalStates$lambda_0(goalRequest));
286
297
  };
287
- protoOf(Companion_0).b3b = function (goalRequest) {
288
- var tmp = this.z3a(goalRequest);
298
+ protoOf(Companion_0).a3b = function (goalRequest) {
299
+ var tmp = this.y3a(goalRequest);
289
300
  return map(tmp, StreamsSolver$Companion$solveToResponses$lambda);
290
301
  };
291
302
  var Companion_instance_11;
@@ -294,83 +305,83 @@
294
305
  }
295
306
  function StreamsSolver$solve$lambda(this$0) {
296
307
  return function (it) {
297
- this$0.c3b_1 = it.h8().s2y(it.y3a().sideEffects);
298
- return it.y3a().solution.cleanUp();
308
+ this$0.b3b_1 = it.h8().r2y(it.x3a().sideEffects);
309
+ return it.x3a().solution.cleanUp();
299
310
  };
300
311
  }
301
312
  function StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
302
- unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
313
+ unificator = unificator === VOID ? Companion_getInstance().f1i() : unificator;
303
314
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
304
315
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
305
316
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
306
317
  dynamicKb = dynamicKb === VOID ? Companion_instance_0.empty(unificator) : dynamicKb;
307
318
  inputChannels = inputChannels === VOID ? Companion_instance_4.fromStandard() : inputChannels;
308
319
  outputChannels = outputChannels === VOID ? Companion_instance_5.fromStandard() : outputChannels;
309
- this.c3b_1 = new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb])), inputChannels, outputChannels);
320
+ this.b3b_1 = new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, toOperatorSet(getAllOperators(libraries, [staticKb, dynamicKb])), inputChannels, outputChannels);
310
321
  }
311
- protoOf(StreamsSolver).h28 = function (goal, options) {
312
- this.c3b_1 = new StreamsExecutionContext(this.n1i(), this.k1s(), this.l1s(), this.m1s(), this.n1s(), VOID, this.o1s(), this.p1s(), VOID, VOID, VOID, options.r1u());
313
- var tmp = Companion_instance_11.z3a(new Request(extractSignature(goal), goal.au(), this.c3b_1));
322
+ protoOf(StreamsSolver).g28 = function (goal, options) {
323
+ this.b3b_1 = new StreamsExecutionContext(this.m1i(), this.j1s(), this.k1s(), this.l1s(), this.m1s(), VOID, this.n1s(), this.o1s(), VOID, VOID, VOID, options.q1u());
324
+ var tmp = Companion_instance_11.y3a(new Request(extractSignature(goal), goal.yt(), this.b3b_1));
314
325
  var solutionSequence = map(tmp, StreamsSolver$solve$lambda(this));
315
- if (options.s1u() > 0) {
316
- solutionSequence = take(solutionSequence, options.s1u());
326
+ if (options.r1u() > 0) {
327
+ solutionSequence = take(solutionSequence, options.r1u());
317
328
  }
318
- if (options.q1u()) {
329
+ if (options.p1u()) {
319
330
  solutionSequence = buffered(solutionSequence);
320
331
  }
321
332
  return solutionSequence;
322
333
  };
323
334
  protoOf(StreamsSolver).solveWithOptions = function (goal, options) {
324
- return this.h28(goal, options);
335
+ return this.g28(goal, options);
325
336
  };
326
- protoOf(StreamsSolver).b1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
337
+ protoOf(StreamsSolver).a1t = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
327
338
  return StreamsSolver_init_$Create$(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings);
328
339
  };
329
340
  protoOf(StreamsSolver).copy = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
330
341
  return this.copy(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolver) ? $super : THROW_CCE());
331
342
  };
332
- protoOf(StreamsSolver).n1i = function () {
333
- return this.c3b_1.d3b_1;
343
+ protoOf(StreamsSolver).m1i = function () {
344
+ return this.b3b_1.c3b_1;
345
+ };
346
+ protoOf(StreamsSolver).j1s = function () {
347
+ return this.b3b_1.d3b_1;
334
348
  };
335
349
  protoOf(StreamsSolver).k1s = function () {
336
- return this.c3b_1.e3b_1;
350
+ return this.b3b_1.e3b_1;
337
351
  };
338
352
  protoOf(StreamsSolver).l1s = function () {
339
- return this.c3b_1.f3b_1;
353
+ return this.b3b_1.f3b_1;
340
354
  };
341
355
  protoOf(StreamsSolver).m1s = function () {
342
- return this.c3b_1.g3b_1;
356
+ return this.b3b_1.g3b_1;
343
357
  };
344
358
  protoOf(StreamsSolver).n1s = function () {
345
- return this.c3b_1.h3b_1;
359
+ return this.b3b_1.i3b_1;
346
360
  };
347
361
  protoOf(StreamsSolver).o1s = function () {
348
- return this.c3b_1.j3b_1;
349
- };
350
- protoOf(StreamsSolver).p1s = function () {
351
- return this.c3b_1.k3b_1;
362
+ return this.b3b_1.j3b_1;
352
363
  };
353
- protoOf(StreamsSolver).t1s = function () {
354
- return this.c3b_1.i3b_1;
364
+ protoOf(StreamsSolver).s1s = function () {
365
+ return this.b3b_1.h3b_1;
355
366
  };
356
367
  function StreamsSolverFactory() {
357
368
  }
358
- protoOf(StreamsSolverFactory).w1u = function () {
369
+ protoOf(StreamsSolverFactory).v1u = function () {
359
370
  return DefaultBuiltins_getInstance();
360
371
  };
361
- protoOf(StreamsSolverFactory).h1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
372
+ protoOf(StreamsSolverFactory).g1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
362
373
  return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs);
363
374
  };
364
375
  protoOf(StreamsSolverFactory).rawSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, $super) {
365
376
  return this.rawSolverOf(unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
366
377
  };
367
- protoOf(StreamsSolverFactory).n1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
368
- return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.j1v(stdIn), Companion_instance_5.m1v(stdOut, stdErr, warnings));
378
+ protoOf(StreamsSolverFactory).m1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
379
+ return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, Companion_instance_4.i1v(stdIn), Companion_instance_5.l1v(stdOut, stdErr, warnings));
369
380
  };
370
381
  protoOf(StreamsSolverFactory).solverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
371
382
  return this.solverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
372
383
  };
373
- protoOf(StreamsSolverFactory).p1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
384
+ protoOf(StreamsSolverFactory).o1v = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings) {
374
385
  // Inline function 'kotlin.TODO' call
375
386
  var reason = 'Mutable stream solver is not supported yet';
376
387
  throw new NotImplementedError('An operation is not implemented: ' + reason);
@@ -378,7 +389,7 @@
378
389
  protoOf(StreamsSolverFactory).mutableSolverOf = function (unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, $super) {
379
390
  return this.mutableSolverOf(unificator, libraries, flags, staticKb, dynamicKb, stdIn, stdOut, stdErr, warnings, ($super == null ? true : $super instanceof StreamsSolverFactory) ? $super : THROW_CCE());
380
391
  };
381
- protoOf(StreamsSolverFactory).r1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
392
+ protoOf(StreamsSolverFactory).q1v = function (unificator, libraries, flags, staticKb, dynamicKb, inputs, outputs) {
382
393
  // Inline function 'kotlin.TODO' call
383
394
  var reason = 'Mutable stream solver is not supported yet';
384
395
  throw new NotImplementedError('An operation is not implemented: ' + reason);
@@ -392,29 +403,29 @@
392
403
  }
393
404
  function getFirstChoicePointContext($this) {
394
405
  // Inline function 'kotlin.collections.filter' call
395
- var tmp0 = $this.s3b_1;
406
+ var tmp0 = $this.r3b_1;
396
407
  // Inline function 'kotlin.collections.filterTo' call
397
408
  var destination = ArrayList_init_$Create$();
398
- var _iterator__ex2g4s = tmp0.p();
399
- while (_iterator__ex2g4s.s()) {
400
- var element = _iterator__ex2g4s.t();
401
- if (element.q3b_1.t3b_1) {
402
- destination.n(element);
409
+ var _iterator__ex2g4s = tmp0.n();
410
+ while (_iterator__ex2g4s.q()) {
411
+ var element = _iterator__ex2g4s.r();
412
+ if (element.p3b_1.s3b_1) {
413
+ destination.l(element);
403
414
  }
404
415
  }
405
416
  // Inline function 'kotlin.collections.mapNotNull' call
406
417
  // Inline function 'kotlin.collections.mapNotNullTo' call
407
418
  var destination_0 = ArrayList_init_$Create$();
408
419
  // Inline function 'kotlin.collections.forEach' call
409
- var _iterator__ex2g4s_0 = destination.p();
410
- while (_iterator__ex2g4s_0.s()) {
411
- var element_0 = _iterator__ex2g4s_0.t();
412
- var tmp0_safe_receiver = firstOrNull(element_0.q3b_1.s3b_1);
420
+ var _iterator__ex2g4s_0 = destination.n();
421
+ while (_iterator__ex2g4s_0.q()) {
422
+ var element_0 = _iterator__ex2g4s_0.r();
423
+ var tmp0_safe_receiver = firstOrNull(element_0.p3b_1.r3b_1);
413
424
  if (tmp0_safe_receiver == null)
414
425
  null;
415
426
  else {
416
427
  // Inline function 'kotlin.let' call
417
- destination_0.n(tmp0_safe_receiver);
428
+ destination_0.l(tmp0_safe_receiver);
418
429
  }
419
430
  }
420
431
  return destination_0;
@@ -426,44 +437,44 @@
426
437
  logicalParentRequests = logicalParentRequests === VOID ? emptyList() : logicalParentRequests;
427
438
  throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? emptySequence() : throwNonSelectableParentContexts;
428
439
  throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? null : throwRelatedToCutContextsParent;
429
- this.s3b_1 = clauseScopedParents;
430
- this.t3b_1 = isChoicePointChild;
431
- this.u3b_1 = toCutContextsParent;
432
- this.v3b_1 = logicalParentRequests;
433
- this.w3b_1 = throwNonSelectableParentContexts;
434
- this.x3b_1 = throwRelatedToCutContextsParent;
440
+ this.r3b_1 = clauseScopedParents;
441
+ this.s3b_1 = isChoicePointChild;
442
+ this.t3b_1 = toCutContextsParent;
443
+ this.u3b_1 = logicalParentRequests;
444
+ this.v3b_1 = throwNonSelectableParentContexts;
445
+ this.w3b_1 = throwRelatedToCutContextsParent;
435
446
  }
436
- protoOf(SideEffectManagerImpl).y3b = function () {
437
- return this.z3b(VOID, VOID, plus(this.u3b_1, getFirstChoicePointContext(this)));
447
+ protoOf(SideEffectManagerImpl).x3b = function () {
448
+ return this.y3b(VOID, VOID, plus(this.t3b_1, getFirstChoicePointContext(this)));
438
449
  };
439
450
  protoOf(SideEffectManagerImpl).cut = function () {
440
- return this.y3b();
451
+ return this.x3b();
441
452
  };
442
- protoOf(SideEffectManagerImpl).a3c = function (currentContext) {
453
+ protoOf(SideEffectManagerImpl).z3b = function (currentContext) {
443
454
  // Inline function 'kotlin.apply' call
444
- var this_0 = toMutableList(this.s3b_1);
455
+ var this_0 = toMutableList(this.r3b_1);
445
456
  this_0.r3(0, currentContext);
446
- return this.z3b(this_0, false);
457
+ return this.y3b(this_0, false);
447
458
  };
448
- protoOf(SideEffectManagerImpl).b3c = function (currentContext, isChoicePointChild, logicalParentRequest) {
459
+ protoOf(SideEffectManagerImpl).a3c = function (currentContext, isChoicePointChild, logicalParentRequest) {
449
460
  // Inline function 'kotlin.apply' call
450
- var this_0 = toMutableList(this.s3b_1);
461
+ var this_0 = toMutableList(this.r3b_1);
451
462
  this_0.r3(0, currentContext);
452
463
  var tmp = this_0;
453
464
  var tmp_0;
454
- if (this.v3b_1.a1(logicalParentRequest)) {
465
+ if (this.u3b_1.y(logicalParentRequest)) {
455
466
  // Inline function 'kotlin.collections.dropWhile' call
456
- var this_1 = this.v3b_1;
467
+ var this_1 = this.u3b_1;
457
468
  var yielding = false;
458
469
  var list = ArrayList_init_$Create$();
459
- var _iterator__ex2g4s = this_1.p();
460
- while (_iterator__ex2g4s.s()) {
461
- var item = _iterator__ex2g4s.t();
470
+ var _iterator__ex2g4s = this_1.n();
471
+ while (_iterator__ex2g4s.q()) {
472
+ var item = _iterator__ex2g4s.r();
462
473
  if (yielding) {
463
- list.n(item);
474
+ list.l(item);
464
475
  } else {
465
476
  if (!!item.equals(logicalParentRequest)) {
466
- list.n(item);
477
+ list.l(item);
467
478
  yielding = true;
468
479
  }
469
480
  }
@@ -471,44 +482,44 @@
471
482
  tmp_0 = list;
472
483
  } else {
473
484
  // Inline function 'kotlin.apply' call
474
- var this_2 = toMutableList(this.v3b_1);
485
+ var this_2 = toMutableList(this.u3b_1);
475
486
  this_2.r3(0, logicalParentRequest);
476
487
  tmp_0 = this_2;
477
488
  }
478
- return this.z3b(tmp, isChoicePointChild, VOID, tmp_0);
489
+ return this.y3b(tmp, isChoicePointChild, VOID, tmp_0);
479
490
  };
480
- protoOf(SideEffectManagerImpl).c3c = function () {
481
- return this.z3b(listOf(first_0(this.s3b_1)));
491
+ protoOf(SideEffectManagerImpl).b3c = function () {
492
+ return this.y3b(listOf(first_0(this.r3b_1)));
482
493
  };
483
- protoOf(SideEffectManagerImpl).d3c = function (upperScopeSideEffectsManager) {
494
+ protoOf(SideEffectManagerImpl).c3c = function (upperScopeSideEffectsManager) {
484
495
  // Inline function 'kotlin.apply' call
485
- var this_0 = toMutableList(this.s3b_1);
486
- this_0.y(upperScopeSideEffectsManager.s3b_1);
487
- return this.z3b(this_0);
496
+ var this_0 = toMutableList(this.r3b_1);
497
+ this_0.w(upperScopeSideEffectsManager.r3b_1);
498
+ return this.y3b(this_0);
488
499
  };
489
- protoOf(SideEffectManagerImpl).e3c = function () {
490
- return contains(this.u3b_1, lastOrNull(this.s3b_1)) || this.f3c();
500
+ protoOf(SideEffectManagerImpl).d3c = function () {
501
+ return contains(this.t3b_1, lastOrNull(this.r3b_1)) || this.e3c();
491
502
  };
492
- protoOf(SideEffectManagerImpl).g3c = function (toUnifyArgument) {
503
+ protoOf(SideEffectManagerImpl).f3c = function (toUnifyArgument) {
493
504
  // Inline function 'kotlin.collections.filter' call
494
- var tmp0 = this.v3b_1;
505
+ var tmp0 = this.u3b_1;
495
506
  // Inline function 'kotlin.collections.filterTo' call
496
507
  var destination = ArrayList_init_$Create$();
497
- var _iterator__ex2g4s = tmp0.p();
498
- while (_iterator__ex2g4s.s()) {
499
- var element = _iterator__ex2g4s.t();
508
+ var _iterator__ex2g4s = tmp0.n();
509
+ while (_iterator__ex2g4s.q()) {
510
+ var element = _iterator__ex2g4s.r();
500
511
  if (element.signature.equals(Catch_getInstance().signature)) {
501
- destination.n(element);
512
+ destination.l(element);
502
513
  }
503
514
  }
504
515
  // Inline function 'kotlin.collections.filterNot' call
505
516
  // Inline function 'kotlin.collections.filterNotTo' call
506
517
  var destination_0 = ArrayList_init_$Create$();
507
- var _iterator__ex2g4s_0 = destination.p();
508
- while (_iterator__ex2g4s_0.s()) {
509
- var element_0 = _iterator__ex2g4s_0.t();
510
- if (!contains(this.w3b_1, element_0.context)) {
511
- destination_0.n(element_0);
518
+ var _iterator__ex2g4s_0 = destination.n();
519
+ while (_iterator__ex2g4s_0.q()) {
520
+ var element_0 = _iterator__ex2g4s_0.r();
521
+ if (!contains(this.v3b_1, element_0.context)) {
522
+ destination_0.l(element_0);
512
523
  }
513
524
  }
514
525
  var ancestorCatchesRequests = destination_0;
@@ -516,10 +527,10 @@
516
527
  var tmp$ret$7;
517
528
  $l$block: {
518
529
  // Inline function 'kotlin.collections.firstOrNull' call
519
- var _iterator__ex2g4s_1 = ancestorCatchesRequests.p();
520
- while (_iterator__ex2g4s_1.s()) {
521
- var element_1 = _iterator__ex2g4s_1.t();
522
- if (Companion_getInstance().matches(element_1.arguments.z(1), toUnifyArgument)) {
530
+ var _iterator__ex2g4s_1 = ancestorCatchesRequests.n();
531
+ while (_iterator__ex2g4s_1.q()) {
532
+ var element_1 = _iterator__ex2g4s_1.r();
533
+ if (Companion_getInstance().matches(element_1.arguments.x(1), toUnifyArgument)) {
523
534
  tmp$ret$7 = element_1;
524
535
  break $l$block;
525
536
  }
@@ -528,26 +539,26 @@
528
539
  }
529
540
  return tmp$ret$7;
530
541
  };
531
- protoOf(SideEffectManagerImpl).h3c = function (ancestorCatchContext) {
532
- return this.z3b(VOID, VOID, VOID, VOID, VOID, ancestorCatchContext);
542
+ protoOf(SideEffectManagerImpl).g3c = function (ancestorCatchContext) {
543
+ return this.y3b(VOID, VOID, VOID, VOID, VOID, ancestorCatchContext);
533
544
  };
534
- protoOf(SideEffectManagerImpl).i3c = function (contextImpl) {
535
- return equals(this.x3b_1, contextImpl);
545
+ protoOf(SideEffectManagerImpl).h3c = function (contextImpl) {
546
+ return equals(this.w3b_1, contextImpl);
536
547
  };
537
- protoOf(SideEffectManagerImpl).j3c = function (contextImpl) {
538
- return this.z3b(VOID, VOID, VOID, VOID, plus_0(this.w3b_1, contextImpl));
548
+ protoOf(SideEffectManagerImpl).i3c = function (contextImpl) {
549
+ return this.y3b(VOID, VOID, VOID, VOID, plus_0(this.v3b_1, contextImpl));
539
550
  };
540
- protoOf(SideEffectManagerImpl).k3c = function (toRecoverSituation) {
541
- return this.z3b(VOID, VOID, toRecoverSituation.u3b_1);
551
+ protoOf(SideEffectManagerImpl).j3c = function (toRecoverSituation) {
552
+ return this.y3b(VOID, VOID, toRecoverSituation.t3b_1);
542
553
  };
543
- protoOf(SideEffectManagerImpl).f3c = function () {
544
- var tmp0 = this.v3b_1;
554
+ protoOf(SideEffectManagerImpl).e3c = function () {
555
+ var tmp0 = this.u3b_1;
545
556
  var tmp$ret$0;
546
557
  $l$block_0: {
547
558
  // Inline function 'kotlin.collections.any' call
548
559
  var tmp;
549
560
  if (isInterface(tmp0, Collection)) {
550
- tmp = tmp0.j();
561
+ tmp = tmp0.h();
551
562
  } else {
552
563
  tmp = false;
553
564
  }
@@ -555,10 +566,10 @@
555
566
  tmp$ret$0 = false;
556
567
  break $l$block_0;
557
568
  }
558
- var _iterator__ex2g4s = tmp0.p();
559
- while (_iterator__ex2g4s.s()) {
560
- var element = _iterator__ex2g4s.t();
561
- if (element.context.equals(this.x3b_1)) {
569
+ var _iterator__ex2g4s = tmp0.n();
570
+ while (_iterator__ex2g4s.q()) {
571
+ var element = _iterator__ex2g4s.r();
572
+ if (element.context.equals(this.w3b_1)) {
562
573
  tmp$ret$0 = true;
563
574
  break $l$block_0;
564
575
  }
@@ -567,28 +578,28 @@
567
578
  }
568
579
  return tmp$ret$0;
569
580
  };
570
- protoOf(SideEffectManagerImpl).l3c = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) {
581
+ protoOf(SideEffectManagerImpl).k3c = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) {
571
582
  return new SideEffectManagerImpl(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
572
583
  };
573
- protoOf(SideEffectManagerImpl).z3b = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent, $super) {
574
- clauseScopedParents = clauseScopedParents === VOID ? this.s3b_1 : clauseScopedParents;
575
- isChoicePointChild = isChoicePointChild === VOID ? this.t3b_1 : isChoicePointChild;
576
- toCutContextsParent = toCutContextsParent === VOID ? this.u3b_1 : toCutContextsParent;
577
- logicalParentRequests = logicalParentRequests === VOID ? this.v3b_1 : logicalParentRequests;
578
- throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? this.w3b_1 : throwNonSelectableParentContexts;
579
- throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? this.x3b_1 : throwRelatedToCutContextsParent;
580
- return $super === VOID ? this.l3c(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) : $super.l3c.call(this, clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
584
+ protoOf(SideEffectManagerImpl).y3b = function (clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent, $super) {
585
+ clauseScopedParents = clauseScopedParents === VOID ? this.r3b_1 : clauseScopedParents;
586
+ isChoicePointChild = isChoicePointChild === VOID ? this.s3b_1 : isChoicePointChild;
587
+ toCutContextsParent = toCutContextsParent === VOID ? this.t3b_1 : toCutContextsParent;
588
+ logicalParentRequests = logicalParentRequests === VOID ? this.u3b_1 : logicalParentRequests;
589
+ throwNonSelectableParentContexts = throwNonSelectableParentContexts === VOID ? this.v3b_1 : throwNonSelectableParentContexts;
590
+ throwRelatedToCutContextsParent = throwRelatedToCutContextsParent === VOID ? this.w3b_1 : throwRelatedToCutContextsParent;
591
+ return $super === VOID ? this.k3c(clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent) : $super.k3c.call(this, clauseScopedParents, isChoicePointChild, toCutContextsParent, logicalParentRequests, throwNonSelectableParentContexts, throwRelatedToCutContextsParent);
581
592
  };
582
593
  protoOf(SideEffectManagerImpl).toString = function () {
583
- return 'SideEffectManagerImpl(clauseScopedParents=' + toString(this.s3b_1) + ', isChoicePointChild=' + this.t3b_1 + ', toCutContextsParent=' + toString(this.u3b_1) + ', logicalParentRequests=' + toString(this.v3b_1) + ', throwNonSelectableParentContexts=' + toString(this.w3b_1) + ', throwRelatedToCutContextsParent=' + toString_0(this.x3b_1) + ')';
594
+ return 'SideEffectManagerImpl(clauseScopedParents=' + toString(this.r3b_1) + ', isChoicePointChild=' + this.s3b_1 + ', toCutContextsParent=' + toString(this.t3b_1) + ', logicalParentRequests=' + toString(this.u3b_1) + ', throwNonSelectableParentContexts=' + toString(this.v3b_1) + ', throwRelatedToCutContextsParent=' + toString_0(this.w3b_1) + ')';
584
595
  };
585
596
  protoOf(SideEffectManagerImpl).hashCode = function () {
586
- var result = hashCode(this.s3b_1);
587
- result = imul(result, 31) + getBooleanHashCode(this.t3b_1) | 0;
597
+ var result = hashCode(this.r3b_1);
598
+ result = imul(result, 31) + getBooleanHashCode(this.s3b_1) | 0;
599
+ result = imul(result, 31) + hashCode(this.t3b_1) | 0;
588
600
  result = imul(result, 31) + hashCode(this.u3b_1) | 0;
589
601
  result = imul(result, 31) + hashCode(this.v3b_1) | 0;
590
- result = imul(result, 31) + hashCode(this.w3b_1) | 0;
591
- result = imul(result, 31) + (this.x3b_1 == null ? 0 : this.x3b_1.hashCode()) | 0;
602
+ result = imul(result, 31) + (this.w3b_1 == null ? 0 : this.w3b_1.hashCode()) | 0;
592
603
  return result;
593
604
  };
594
605
  protoOf(SideEffectManagerImpl).equals = function (other) {
@@ -596,9 +607,11 @@
596
607
  return true;
597
608
  if (!(other instanceof SideEffectManagerImpl))
598
609
  return false;
599
- if (!equals(this.s3b_1, other.s3b_1))
610
+ if (!equals(this.r3b_1, other.r3b_1))
600
611
  return false;
601
- if (!(this.t3b_1 === other.t3b_1))
612
+ if (!(this.s3b_1 === other.s3b_1))
613
+ return false;
614
+ if (!equals(this.t3b_1, other.t3b_1))
602
615
  return false;
603
616
  if (!equals(this.u3b_1, other.u3b_1))
604
617
  return false;
@@ -606,32 +619,30 @@
606
619
  return false;
607
620
  if (!equals(this.w3b_1, other.w3b_1))
608
621
  return false;
609
- if (!equals(this.x3b_1, other.x3b_1))
610
- return false;
611
622
  return true;
612
623
  };
613
624
  function resetCutWorkChanges(_this__u8e3s4, toRecoverSituation) {
614
625
  var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
615
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k3c(toRecoverSituation);
626
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j3c(toRecoverSituation);
616
627
  }
617
628
  function isSelectedThrowCatch(_this__u8e3s4, context) {
618
629
  var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
619
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i3c(context);
630
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h3c(context);
620
631
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
621
632
  }
622
633
  function shouldExecuteThrowCut(_this__u8e3s4) {
623
634
  var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
624
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f3c();
635
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e3c();
625
636
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
626
637
  }
627
638
  function shouldCutExecuteInRuleSelection(_this__u8e3s4) {
628
639
  var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
629
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e3c();
640
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3c();
630
641
  return tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
631
642
  }
632
643
  function extendParentScopeWith(_this__u8e3s4, upperScopeSideEffectsManager) {
633
644
  var tmp0_safe_receiver = _this__u8e3s4 instanceof SideEffectManagerImpl ? _this__u8e3s4 : null;
634
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3c(upperScopeSideEffectsManager);
645
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c3c(upperScopeSideEffectsManager);
635
646
  }
636
647
  function isWellFormed(_this__u8e3s4) {
637
648
  return _this__u8e3s4.accept(Companion_getInstance_1().bodyWellFormedVisitor);
@@ -639,22 +650,22 @@
639
650
  function newSolveRequest(_this__u8e3s4, newGoal, toAddSubstitutions, toPropagateContextData, baseSideEffectManager, requestIssuingInstant, isChoicePointChild) {
640
651
  toAddSubstitutions = toAddSubstitutions === VOID ? Companion_getInstance_2().empty() : toAddSubstitutions;
641
652
  toPropagateContextData = toPropagateContextData === VOID ? _this__u8e3s4.context : toPropagateContextData;
642
- baseSideEffectManager = baseSideEffectManager === VOID ? _this__u8e3s4.context.q3b_1 : baseSideEffectManager;
643
- requestIssuingInstant = requestIssuingInstant === VOID ? _this__u8e3s4.i26_1 : requestIssuingInstant;
653
+ baseSideEffectManager = baseSideEffectManager === VOID ? _this__u8e3s4.context.p3b_1 : baseSideEffectManager;
654
+ requestIssuingInstant = requestIssuingInstant === VOID ? _this__u8e3s4.h26_1 : requestIssuingInstant;
644
655
  isChoicePointChild = isChoicePointChild === VOID ? false : isChoicePointChild;
645
656
  var tmp = extractSignature(newGoal);
646
- var tmp_0 = newGoal.au();
647
- var tmp_1 = toPropagateContextData.k1s();
648
- var tmp_2 = toPropagateContextData.l1s();
649
- var tmp_3 = toPropagateContextData.m1s();
650
- var tmp_4 = toPropagateContextData.n1s();
651
- var tmp_5 = toPropagateContextData.o1s();
652
- var tmp_6 = toPropagateContextData.p1s();
653
- var tmp_7 = _this__u8e3s4.context.m3b_1.plus(toAddSubstitutions);
654
- return _this__u8e3s4.e2f(tmp, tmp_0, _this__u8e3s4.context.m3c(VOID, tmp_1, tmp_2, tmp_3, tmp_4, VOID, tmp_5, tmp_6, VOID, isInterface(tmp_7, Unifier) ? tmp_7 : THROW_CCE(), VOID, VOID, VOID, baseSideEffectManager.b3c(_this__u8e3s4.context, isChoicePointChild, _this__u8e3s4)), requestIssuingInstant);
657
+ var tmp_0 = newGoal.yt();
658
+ var tmp_1 = toPropagateContextData.j1s();
659
+ var tmp_2 = toPropagateContextData.k1s();
660
+ var tmp_3 = toPropagateContextData.l1s();
661
+ var tmp_4 = toPropagateContextData.m1s();
662
+ var tmp_5 = toPropagateContextData.n1s();
663
+ var tmp_6 = toPropagateContextData.o1s();
664
+ var tmp_7 = _this__u8e3s4.context.l3b_1.plus(toAddSubstitutions);
665
+ return _this__u8e3s4.d2f(tmp, tmp_0, _this__u8e3s4.context.l3c(VOID, tmp_1, tmp_2, tmp_3, tmp_4, VOID, tmp_5, tmp_6, VOID, isInterface(tmp_7, Unifier) ? tmp_7 : THROW_CCE(), VOID, VOID, VOID, baseSideEffectManager.a3c(_this__u8e3s4.context, isChoicePointChild, _this__u8e3s4)), requestIssuingInstant);
655
666
  }
656
667
  function prepareForExecutionAsGoal(_this__u8e3s4) {
657
- return single(prepareForExecution(Companion_instance_6.of(_this__u8e3s4, [])).au()).tu();
668
+ return single(prepareForExecution(Companion_instance_6.of(_this__u8e3s4, [])).yt()).ru();
658
669
  }
659
670
  function replyWith(_this__u8e3s4, otherResponse) {
660
671
  // Inline function 'kotlin.with' call
@@ -662,8 +673,8 @@
662
673
  var tmp = tmp0_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.context) : tmp0_elvis_lhs;
663
674
  // Inline function 'kotlin.collections.toTypedArray' call
664
675
  var this_0 = otherResponse.sideEffects;
665
- var tmp$ret$0 = copyToArray(this_0);
666
- return _this__u8e3s4.x2e(otherResponse.solution, tmp, tmp$ret$0.slice());
676
+ var tmp$ret$2 = copyToArray(this_0);
677
+ return _this__u8e3s4.w2e(otherResponse.solution, tmp, tmp$ret$2.slice());
667
678
  }
668
679
  function orderWithStrategy(_this__u8e3s4, context, selectionStrategy) {
669
680
  var tmp;
@@ -677,24 +688,24 @@
677
688
  function addWithNoDuplicates(_this__u8e3s4, toAddSideEffects) {
678
689
  var duplicatedCount = 0;
679
690
  // Inline function 'kotlin.collections.forEach' call
680
- var _iterator__ex2g4s = _this__u8e3s4.p();
681
- while (_iterator__ex2g4s.s()) {
682
- var element = _iterator__ex2g4s.t();
691
+ var _iterator__ex2g4s = _this__u8e3s4.n();
692
+ while (_iterator__ex2g4s.q()) {
693
+ var element = _iterator__ex2g4s.r();
683
694
  // Inline function 'kotlin.collections.find' call
684
- var tmp$ret$1;
695
+ var tmp$ret$3;
685
696
  $l$block: {
686
697
  // Inline function 'kotlin.collections.firstOrNull' call
687
- var _iterator__ex2g4s_0 = toAddSideEffects.p();
688
- while (_iterator__ex2g4s_0.s()) {
689
- var element_0 = _iterator__ex2g4s_0.t();
698
+ var _iterator__ex2g4s_0 = toAddSideEffects.n();
699
+ while (_iterator__ex2g4s_0.q()) {
700
+ var element_0 = _iterator__ex2g4s_0.r();
690
701
  if (element === element_0) {
691
- tmp$ret$1 = element_0;
702
+ tmp$ret$3 = element_0;
692
703
  break $l$block;
693
704
  }
694
705
  }
695
- tmp$ret$1 = null;
706
+ tmp$ret$3 = null;
696
707
  }
697
- if (!(tmp$ret$1 === null)) {
708
+ if (!(tmp$ret$3 === null)) {
698
709
  duplicatedCount = duplicatedCount + 1 | 0;
699
710
  }
700
711
  }
@@ -702,13 +713,13 @@
702
713
  }
703
714
  function moreThanOne(elements) {
704
715
  // Inline function 'kotlin.with' call
705
- var $this$with = elements.p();
716
+ var $this$with = elements.n();
706
717
  var tmp;
707
- if (!$this$with.s()) {
718
+ if (!$this$with.q()) {
708
719
  tmp = false;
709
720
  } else {
710
- $this$with.t();
711
- tmp = $this$with.s();
721
+ $this$with.r();
722
+ tmp = $this$with.q();
712
723
  }
713
724
  return tmp;
714
725
  }
@@ -718,19 +729,19 @@
718
729
  };
719
730
  }
720
731
  function orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
721
- this.v3c_1 = $selectionStrategy;
722
- this.w3c_1 = $this_orderWithStrategy;
723
- this.x3c_1 = $context;
732
+ this.u3c_1 = $selectionStrategy;
733
+ this.v3c_1 = $this_orderWithStrategy;
734
+ this.w3c_1 = $context;
724
735
  CoroutineImpl.call(this, resultContinuation);
725
736
  }
726
- protoOf(orderWithStrategy$slambda).a3d = function ($this$sequence, $completion) {
727
- var tmp = this.b3d($this$sequence, $completion);
737
+ protoOf(orderWithStrategy$slambda).z3c = function ($this$sequence, $completion) {
738
+ var tmp = this.a3d($this$sequence, $completion);
728
739
  tmp.d8_1 = Unit_instance;
729
740
  tmp.e8_1 = null;
730
741
  return tmp.j8();
731
742
  };
732
743
  protoOf(orderWithStrategy$slambda).a9 = function (p1, $completion) {
733
- return this.a3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
744
+ return this.z3c(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
734
745
  };
735
746
  protoOf(orderWithStrategy$slambda).j8 = function () {
736
747
  var suspendResult = this.d8_1;
@@ -740,9 +751,9 @@
740
751
  switch (tmp) {
741
752
  case 0:
742
753
  this.c8_1 = 3;
743
- this.z3c_1 = this.v3c_1(this.w3c_1, this.x3c_1);
754
+ this.y3c_1 = this.u3c_1(this.v3c_1, this.w3c_1);
744
755
  this.b8_1 = 1;
745
- suspendResult = this.y3c_1.gd(this.z3c_1, this);
756
+ suspendResult = this.x3c_1.bd(this.y3c_1, this);
746
757
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
747
758
  return suspendResult;
748
759
  }
@@ -750,7 +761,7 @@
750
761
  continue $sm;
751
762
  case 1:
752
763
  this.b8_1 = 2;
753
- suspendResult = this.y3c_1.jd(orderWithStrategy(filterIndexed(this.w3c_1, orderWithStrategy$slambda$lambda(this.w3c_1, this.z3c_1)), this.x3c_1, this.v3c_1), this);
764
+ suspendResult = this.x3c_1.ed(orderWithStrategy(filterIndexed(this.v3c_1, orderWithStrategy$slambda$lambda(this.v3c_1, this.y3c_1)), this.w3c_1, this.u3c_1), this);
754
765
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
755
766
  return suspendResult;
756
767
  }
@@ -772,34 +783,32 @@
772
783
  }
773
784
  while (true);
774
785
  };
775
- protoOf(orderWithStrategy$slambda).b3d = function ($this$sequence, completion) {
776
- var i = new orderWithStrategy$slambda(this.v3c_1, this.w3c_1, this.x3c_1, completion);
777
- i.y3c_1 = $this$sequence;
786
+ protoOf(orderWithStrategy$slambda).a3d = function ($this$sequence, completion) {
787
+ var i = new orderWithStrategy$slambda(this.u3c_1, this.v3c_1, this.w3c_1, completion);
788
+ i.x3c_1 = $this$sequence;
778
789
  return i;
779
790
  };
780
791
  function orderWithStrategy$slambda_0($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation) {
781
792
  var i = new orderWithStrategy$slambda($selectionStrategy, $this_orderWithStrategy, $context, resultContinuation);
782
- var l = function ($this$sequence, $completion) {
783
- return i.a3d($this$sequence, $completion);
784
- };
785
- l.$arity = 1;
786
- return l;
793
+ return constructCallableReference(function ($this$sequence, $completion) {
794
+ return i.z3c($this$sequence, $completion);
795
+ }, 1);
787
796
  }
788
797
  function StreamsExecutionContext_init_$Init$(context, newCurrentSubstitution, $this) {
789
- var tmp = context.n1i();
790
- var tmp_0 = context.k1s();
791
- var tmp_1 = context.l1s();
792
- var tmp_2 = context.m1s();
793
- var tmp_3 = context.n1s();
794
- var tmp_4 = context.t1s();
795
- var tmp_5 = context.o1s();
796
- var tmp_6 = context.p1s();
797
- var tmp_7 = context.i1s();
798
+ var tmp = context.m1i();
799
+ var tmp_0 = context.j1s();
800
+ var tmp_1 = context.k1s();
801
+ var tmp_2 = context.l1s();
802
+ var tmp_3 = context.m1s();
803
+ var tmp_4 = context.s1s();
804
+ var tmp_5 = context.n1s();
805
+ var tmp_6 = context.o1s();
806
+ var tmp_7 = context.h1s();
798
807
  var tmp0_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
799
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p3b_1;
800
- var tmp_8 = tmp1_elvis_lhs == null ? Companion_getInstance_5().x3a_1 : tmp1_elvis_lhs;
808
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o3b_1;
809
+ var tmp_8 = tmp1_elvis_lhs == null ? Companion_getInstance_5().w3a_1 : tmp1_elvis_lhs;
801
810
  var tmp2_safe_receiver = context instanceof StreamsExecutionContext ? context : null;
802
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.q3b_1;
811
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.p3b_1;
803
812
  StreamsExecutionContext.call($this, tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, newCurrentSubstitution, VOID, VOID, tmp_8, tmp3_elvis_lhs == null ? new SideEffectManagerImpl() : tmp3_elvis_lhs);
804
813
  return $this;
805
814
  }
@@ -807,21 +816,21 @@
807
816
  return StreamsExecutionContext_init_$Init$(context, newCurrentSubstitution, objectCreate(protoOf(StreamsExecutionContext)));
808
817
  }
809
818
  function StreamsExecutionContext$logicStackTrace$delegate$lambda$lambda(it) {
810
- return it.j1t();
819
+ return it.i1t();
811
820
  }
812
821
  function StreamsExecutionContext$logicStackTrace$delegate$lambda(this$0) {
813
822
  return function () {
814
- var tmp = asSequence(this$0.q3b_1.v3b_1);
823
+ var tmp = asSequence(this$0.p3b_1.u3b_1);
815
824
  return toList(map(tmp, StreamsExecutionContext$logicStackTrace$delegate$lambda$lambda));
816
825
  };
817
826
  }
818
827
  function StreamsExecutionContext$_get_logicStackTrace_$ref_tj4lit() {
819
- return function (p0) {
820
- return p0.h1s();
821
- };
828
+ return constructCallableReference(function (p0) {
829
+ return p0.g1s();
830
+ }, 1, 0, 96);
822
831
  }
823
832
  function StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
824
- unificator = unificator === VOID ? Companion_getInstance().g1i() : unificator;
833
+ unificator = unificator === VOID ? Companion_getInstance().f1i() : unificator;
825
834
  libraries = libraries === VOID ? Companion_instance.empty() : libraries;
826
835
  flags = flags === VOID ? Companion_getInstance_0().empty() : flags;
827
836
  staticKb = staticKb === VOID ? Companion_instance_0.empty(unificator) : staticKb;
@@ -833,26 +842,29 @@
833
842
  substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
834
843
  startTime = startTime === VOID ? currentTimeInstant() : startTime;
835
844
  maxDuration = maxDuration === VOID ? 9223372036854775807n : maxDuration;
836
- solverStrategies = solverStrategies === VOID ? Companion_getInstance_5().x3a_1 : solverStrategies;
845
+ solverStrategies = solverStrategies === VOID ? Companion_getInstance_5().w3a_1 : solverStrategies;
837
846
  sideEffectManager = sideEffectManager === VOID ? new SideEffectManagerImpl() : sideEffectManager;
838
- this.d3b_1 = unificator;
839
- this.e3b_1 = libraries;
840
- this.f3b_1 = flags;
841
- this.g3b_1 = staticKb;
842
- this.h3b_1 = dynamicKb;
843
- this.i3b_1 = operators;
844
- this.j3b_1 = inputChannels;
845
- this.k3b_1 = outputChannels;
846
- this.l3b_1 = customData;
847
- this.m3b_1 = substitution;
848
- this.n3b_1 = startTime;
849
- this.o3b_1 = maxDuration;
850
- this.p3b_1 = solverStrategies;
851
- this.q3b_1 = sideEffectManager;
847
+ this.c3b_1 = unificator;
848
+ this.d3b_1 = libraries;
849
+ this.e3b_1 = flags;
850
+ this.f3b_1 = staticKb;
851
+ this.g3b_1 = dynamicKb;
852
+ this.h3b_1 = operators;
853
+ this.i3b_1 = inputChannels;
854
+ this.j3b_1 = outputChannels;
855
+ this.k3b_1 = customData;
856
+ this.l3b_1 = substitution;
857
+ this.m3b_1 = startTime;
858
+ this.n3b_1 = maxDuration;
859
+ this.o3b_1 = solverStrategies;
860
+ this.p3b_1 = sideEffectManager;
852
861
  var tmp = this;
853
- tmp.r3b_1 = lazy(StreamsExecutionContext$logicStackTrace$delegate$lambda(this));
862
+ tmp.q3b_1 = lazy(StreamsExecutionContext$logicStackTrace$delegate$lambda(this));
854
863
  }
855
- protoOf(StreamsExecutionContext).n1i = function () {
864
+ protoOf(StreamsExecutionContext).m1i = function () {
865
+ return this.c3b_1;
866
+ };
867
+ protoOf(StreamsExecutionContext).j1s = function () {
856
868
  return this.d3b_1;
857
869
  };
858
870
  protoOf(StreamsExecutionContext).k1s = function () {
@@ -864,128 +876,126 @@
864
876
  protoOf(StreamsExecutionContext).m1s = function () {
865
877
  return this.g3b_1;
866
878
  };
867
- protoOf(StreamsExecutionContext).n1s = function () {
879
+ protoOf(StreamsExecutionContext).s1s = function () {
868
880
  return this.h3b_1;
869
881
  };
870
- protoOf(StreamsExecutionContext).t1s = function () {
882
+ protoOf(StreamsExecutionContext).n1s = function () {
871
883
  return this.i3b_1;
872
884
  };
873
885
  protoOf(StreamsExecutionContext).o1s = function () {
874
886
  return this.j3b_1;
875
887
  };
876
- protoOf(StreamsExecutionContext).p1s = function () {
888
+ protoOf(StreamsExecutionContext).h1s = function () {
877
889
  return this.k3b_1;
878
890
  };
879
- protoOf(StreamsExecutionContext).i1s = function () {
891
+ protoOf(StreamsExecutionContext).f1s = function () {
880
892
  return this.l3b_1;
881
893
  };
882
- protoOf(StreamsExecutionContext).g1s = function () {
894
+ protoOf(StreamsExecutionContext).z1r = function () {
883
895
  return this.m3b_1;
884
896
  };
885
- protoOf(StreamsExecutionContext).a1s = function () {
897
+ protoOf(StreamsExecutionContext).b1s = function () {
886
898
  return this.n3b_1;
887
899
  };
888
- protoOf(StreamsExecutionContext).c1s = function () {
889
- return this.o3b_1;
890
- };
891
- protoOf(StreamsExecutionContext).f1s = function () {
900
+ protoOf(StreamsExecutionContext).e1s = function () {
892
901
  // Inline function 'kotlin.collections.map' call
893
- var this_0 = this.q3b_1.v3b_1;
902
+ var this_0 = this.p3b_1.u3b_1;
894
903
  // Inline function 'kotlin.collections.mapTo' call
895
904
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
896
- var _iterator__ex2g4s = this_0.p();
897
- while (_iterator__ex2g4s.s()) {
898
- var item = _iterator__ex2g4s.t();
899
- var tmp$ret$0 = item.j1t();
900
- destination.n(tmp$ret$0);
905
+ var _iterator__ex2g4s = this_0.n();
906
+ while (_iterator__ex2g4s.q()) {
907
+ var item = _iterator__ex2g4s.r();
908
+ var tmp$ret$2 = item.i1t();
909
+ destination.l(tmp$ret$2);
901
910
  }
902
911
  return firstOrNull(destination);
903
912
  };
904
- protoOf(StreamsExecutionContext).h1s = function () {
905
- var tmp0 = this.r3b_1;
913
+ protoOf(StreamsExecutionContext).g1s = function () {
914
+ var tmp0 = this.q3b_1;
906
915
  var tmp = KProperty1;
907
916
  // Inline function 'kotlin.getValue' call
908
917
  getPropertyCallableRef('logicStackTrace', 1, tmp, StreamsExecutionContext$_get_logicStackTrace_$ref_tj4lit(), null);
909
918
  return tmp0.e2();
910
919
  };
911
- protoOf(StreamsExecutionContext).j1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
920
+ protoOf(StreamsExecutionContext).i1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
912
921
  return new StreamsSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels);
913
922
  };
914
923
  protoOf(StreamsExecutionContext).createSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
915
924
  return this.createSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
916
925
  };
917
- protoOf(StreamsExecutionContext).q1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
926
+ protoOf(StreamsExecutionContext).p1s = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels) {
927
+ // Inline function 'kotlin.TODO' call
918
928
  var reason = 'Not yet implemented';
919
929
  throw new NotImplementedError('An operation is not implemented: ' + reason);
920
930
  };
921
931
  protoOf(StreamsExecutionContext).createMutableSolver = function (unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, $super) {
922
932
  return this.createMutableSolver(unificator, libraries, flags, staticKb, dynamicKb, inputChannels, outputChannels, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
923
933
  };
924
- protoOf(StreamsExecutionContext).r2y = function (sideEffect) {
934
+ protoOf(StreamsExecutionContext).q2y = function (sideEffect) {
925
935
  var tmp = apply.call(this, sideEffect);
926
936
  return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
927
937
  };
928
938
  protoOf(StreamsExecutionContext).apply = function (sideEffect) {
929
- return this.r2y(sideEffect);
939
+ return this.q2y(sideEffect);
930
940
  };
931
- protoOf(StreamsExecutionContext).s2y = function (sideEffects) {
941
+ protoOf(StreamsExecutionContext).r2y = function (sideEffects) {
932
942
  var tmp = applyIterable.call(this, sideEffects);
933
943
  return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
934
944
  };
935
945
  protoOf(StreamsExecutionContext).applyIterable = function (sideEffects) {
936
- return this.s2y(sideEffects);
946
+ return this.r2y(sideEffects);
937
947
  };
938
- protoOf(StreamsExecutionContext).t2y = function (sideEffects) {
948
+ protoOf(StreamsExecutionContext).s2y = function (sideEffects) {
939
949
  var tmp = applySequence.call(this, sideEffects);
940
950
  return tmp instanceof StreamsExecutionContext ? tmp : THROW_CCE();
941
951
  };
942
952
  protoOf(StreamsExecutionContext).applySequence = function (sideEffects) {
943
- return this.t2y(sideEffects);
953
+ return this.s2y(sideEffects);
944
954
  };
945
- protoOf(StreamsExecutionContext).s1s = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
946
- return this.m3c(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData);
955
+ protoOf(StreamsExecutionContext).r1s = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData) {
956
+ return this.l3c(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData);
947
957
  };
948
958
  protoOf(StreamsExecutionContext).update = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, $super) {
949
959
  return this.update(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, ($super == null ? true : $super instanceof StreamsExecutionContext) ? $super : THROW_CCE());
950
960
  };
951
- protoOf(StreamsExecutionContext).c3d = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
961
+ protoOf(StreamsExecutionContext).b3d = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) {
952
962
  return new StreamsExecutionContext(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
953
963
  };
954
- protoOf(StreamsExecutionContext).m3c = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager, $super) {
955
- unificator = unificator === VOID ? this.d3b_1 : unificator;
956
- libraries = libraries === VOID ? this.e3b_1 : libraries;
957
- flags = flags === VOID ? this.f3b_1 : flags;
958
- staticKb = staticKb === VOID ? this.g3b_1 : staticKb;
959
- dynamicKb = dynamicKb === VOID ? this.h3b_1 : dynamicKb;
960
- operators = operators === VOID ? this.i3b_1 : operators;
961
- inputChannels = inputChannels === VOID ? this.j3b_1 : inputChannels;
962
- outputChannels = outputChannels === VOID ? this.k3b_1 : outputChannels;
963
- customData = customData === VOID ? this.l3b_1 : customData;
964
- substitution = substitution === VOID ? this.m3b_1 : substitution;
965
- startTime = startTime === VOID ? this.n3b_1 : startTime;
966
- maxDuration = maxDuration === VOID ? this.o3b_1 : maxDuration;
967
- solverStrategies = solverStrategies === VOID ? this.p3b_1 : solverStrategies;
968
- sideEffectManager = sideEffectManager === VOID ? this.q3b_1 : sideEffectManager;
969
- return $super === VOID ? this.c3d(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) : $super.c3d.call(this, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
964
+ protoOf(StreamsExecutionContext).l3c = function (unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager, $super) {
965
+ unificator = unificator === VOID ? this.c3b_1 : unificator;
966
+ libraries = libraries === VOID ? this.d3b_1 : libraries;
967
+ flags = flags === VOID ? this.e3b_1 : flags;
968
+ staticKb = staticKb === VOID ? this.f3b_1 : staticKb;
969
+ dynamicKb = dynamicKb === VOID ? this.g3b_1 : dynamicKb;
970
+ operators = operators === VOID ? this.h3b_1 : operators;
971
+ inputChannels = inputChannels === VOID ? this.i3b_1 : inputChannels;
972
+ outputChannels = outputChannels === VOID ? this.j3b_1 : outputChannels;
973
+ customData = customData === VOID ? this.k3b_1 : customData;
974
+ substitution = substitution === VOID ? this.l3b_1 : substitution;
975
+ startTime = startTime === VOID ? this.m3b_1 : startTime;
976
+ maxDuration = maxDuration === VOID ? this.n3b_1 : maxDuration;
977
+ solverStrategies = solverStrategies === VOID ? this.o3b_1 : solverStrategies;
978
+ sideEffectManager = sideEffectManager === VOID ? this.p3b_1 : sideEffectManager;
979
+ return $super === VOID ? this.b3d(unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager) : $super.b3d.call(this, unificator, libraries, flags, staticKb, dynamicKb, operators, inputChannels, outputChannels, customData, substitution, startTime, maxDuration, solverStrategies, sideEffectManager);
970
980
  };
971
981
  protoOf(StreamsExecutionContext).toString = function () {
972
- return 'StreamsExecutionContext(unificator=' + toString(this.d3b_1) + ', libraries=' + toString(this.e3b_1) + ', flags=' + this.f3b_1.toString() + ', staticKb=' + toString(this.g3b_1) + ', dynamicKb=' + toString(this.h3b_1) + ', operators=' + this.i3b_1.toString() + ', inputChannels=' + toString(this.j3b_1) + ', outputChannels=' + toString(this.k3b_1) + ', customData=' + this.l3b_1.toString() + ', substitution=' + toString(this.m3b_1) + ', startTime=' + this.n3b_1.toString() + ', maxDuration=' + this.o3b_1.toString() + ', solverStrategies=' + toString(this.p3b_1) + ', sideEffectManager=' + this.q3b_1.toString() + ')';
982
+ return 'StreamsExecutionContext(unificator=' + toString(this.c3b_1) + ', libraries=' + toString(this.d3b_1) + ', flags=' + this.e3b_1.toString() + ', staticKb=' + toString(this.f3b_1) + ', dynamicKb=' + toString(this.g3b_1) + ', operators=' + this.h3b_1.toString() + ', inputChannels=' + toString(this.i3b_1) + ', outputChannels=' + toString(this.j3b_1) + ', customData=' + this.k3b_1.toString() + ', substitution=' + toString(this.l3b_1) + ', startTime=' + this.m3b_1.toString() + ', maxDuration=' + this.n3b_1.toString() + ', solverStrategies=' + toString(this.o3b_1) + ', sideEffectManager=' + this.p3b_1.toString() + ')';
973
983
  };
974
984
  protoOf(StreamsExecutionContext).hashCode = function () {
975
- var result = hashCode(this.d3b_1);
976
- result = imul(result, 31) + hashCode(this.e3b_1) | 0;
977
- result = imul(result, 31) + this.f3b_1.hashCode() | 0;
985
+ var result = hashCode(this.c3b_1);
986
+ result = imul(result, 31) + hashCode(this.d3b_1) | 0;
987
+ result = imul(result, 31) + this.e3b_1.hashCode() | 0;
988
+ result = imul(result, 31) + hashCode(this.f3b_1) | 0;
978
989
  result = imul(result, 31) + hashCode(this.g3b_1) | 0;
979
- result = imul(result, 31) + hashCode(this.h3b_1) | 0;
980
- result = imul(result, 31) + this.i3b_1.hashCode() | 0;
990
+ result = imul(result, 31) + this.h3b_1.hashCode() | 0;
991
+ result = imul(result, 31) + hashCode(this.i3b_1) | 0;
981
992
  result = imul(result, 31) + hashCode(this.j3b_1) | 0;
982
- result = imul(result, 31) + hashCode(this.k3b_1) | 0;
983
- result = imul(result, 31) + this.l3b_1.hashCode() | 0;
984
- result = imul(result, 31) + hashCode(this.m3b_1) | 0;
993
+ result = imul(result, 31) + this.k3b_1.hashCode() | 0;
994
+ result = imul(result, 31) + hashCode(this.l3b_1) | 0;
995
+ result = imul(result, 31) + getBigIntHashCode(this.m3b_1) | 0;
985
996
  result = imul(result, 31) + getBigIntHashCode(this.n3b_1) | 0;
986
- result = imul(result, 31) + getBigIntHashCode(this.o3b_1) | 0;
987
- result = imul(result, 31) + hashCode(this.p3b_1) | 0;
988
- result = imul(result, 31) + this.q3b_1.hashCode() | 0;
997
+ result = imul(result, 31) + hashCode(this.o3b_1) | 0;
998
+ result = imul(result, 31) + this.p3b_1.hashCode() | 0;
989
999
  return result;
990
1000
  };
991
1001
  protoOf(StreamsExecutionContext).equals = function (other) {
@@ -993,62 +1003,62 @@
993
1003
  return true;
994
1004
  if (!(other instanceof StreamsExecutionContext))
995
1005
  return false;
1006
+ if (!equals(this.c3b_1, other.c3b_1))
1007
+ return false;
996
1008
  if (!equals(this.d3b_1, other.d3b_1))
997
1009
  return false;
998
- if (!equals(this.e3b_1, other.e3b_1))
1010
+ if (!this.e3b_1.equals(other.e3b_1))
999
1011
  return false;
1000
- if (!this.f3b_1.equals(other.f3b_1))
1012
+ if (!equals(this.f3b_1, other.f3b_1))
1001
1013
  return false;
1002
1014
  if (!equals(this.g3b_1, other.g3b_1))
1003
1015
  return false;
1004
- if (!equals(this.h3b_1, other.h3b_1))
1016
+ if (!this.h3b_1.equals(other.h3b_1))
1005
1017
  return false;
1006
- if (!this.i3b_1.equals(other.i3b_1))
1018
+ if (!equals(this.i3b_1, other.i3b_1))
1007
1019
  return false;
1008
1020
  if (!equals(this.j3b_1, other.j3b_1))
1009
1021
  return false;
1010
- if (!equals(this.k3b_1, other.k3b_1))
1022
+ if (!this.k3b_1.equals(other.k3b_1))
1011
1023
  return false;
1012
- if (!this.l3b_1.equals(other.l3b_1))
1024
+ if (!equals(this.l3b_1, other.l3b_1))
1013
1025
  return false;
1014
- if (!equals(this.m3b_1, other.m3b_1))
1026
+ if (!(this.m3b_1 === other.m3b_1))
1015
1027
  return false;
1016
1028
  if (!(this.n3b_1 === other.n3b_1))
1017
1029
  return false;
1018
- if (!(this.o3b_1 === other.o3b_1))
1019
- return false;
1020
- if (!equals(this.p3b_1, other.p3b_1))
1030
+ if (!equals(this.o3b_1, other.o3b_1))
1021
1031
  return false;
1022
- if (!this.q3b_1.equals(other.q3b_1))
1032
+ if (!this.p3b_1.equals(other.p3b_1))
1023
1033
  return false;
1024
1034
  return true;
1025
1035
  };
1026
1036
  function getSideEffectManager(_this__u8e3s4) {
1027
1037
  var tmp0_safe_receiver = _this__u8e3s4 instanceof StreamsExecutionContext ? _this__u8e3s4 : null;
1028
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q3b_1;
1038
+ return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p3b_1;
1029
1039
  }
1030
1040
  function AbstractState(solve) {
1031
- this.d3d_1 = solve;
1032
- this.e3d_1 = false;
1041
+ this.c3d_1 = solve;
1042
+ this.d3d_1 = false;
1033
1043
  }
1034
- protoOf(AbstractState).f3d = function () {
1035
- return this.e3d_1;
1044
+ protoOf(AbstractState).e3d = function () {
1045
+ return this.d3d_1;
1036
1046
  };
1037
1047
  function AlreadyExecutedState(wrappedState) {
1038
- this.h3d_1 = wrappedState;
1039
- this.i3d_1 = true;
1048
+ this.g3d_1 = wrappedState;
1049
+ this.h3d_1 = true;
1040
1050
  }
1041
- protoOf(AlreadyExecutedState).f3d = function () {
1042
- return this.i3d_1;
1051
+ protoOf(AlreadyExecutedState).e3d = function () {
1052
+ return this.h3d_1;
1043
1053
  };
1044
1054
  protoOf(AlreadyExecutedState).toString = function () {
1045
- return 'AlreadyExecutedState of: ' + toString(this.h3d_1);
1055
+ return 'AlreadyExecutedState of: ' + toString(this.g3d_1);
1046
1056
  };
1047
- protoOf(AlreadyExecutedState).g3d = function () {
1048
- return this.h3d_1.g3d();
1057
+ protoOf(AlreadyExecutedState).f3d = function () {
1058
+ return this.g3d_1.f3d();
1049
1059
  };
1050
1060
  protoOf(AlreadyExecutedState).h8 = function () {
1051
- return this.h3d_1.h8();
1061
+ return this.g3d_1.h8();
1052
1062
  };
1053
1063
  function asAlreadyExecuted(_this__u8e3s4) {
1054
1064
  var tmp0_safe_receiver = _this__u8e3s4 instanceof AlreadyExecutedState ? _this__u8e3s4 : null;
@@ -1068,7 +1078,7 @@
1068
1078
  }
1069
1079
  function internalExecute($this, state) {
1070
1080
  var tmp;
1071
- if (state.f3d()) {
1081
+ if (state.e3d()) {
1072
1082
  tmp = sequenceOf(state);
1073
1083
  } else {
1074
1084
  tmp = sequence(StateMachineExecutor$internalExecute$slambda_0(state, null));
@@ -1076,23 +1086,23 @@
1076
1086
  return tmp;
1077
1087
  }
1078
1088
  function StateMachineExecutor$execute$lambda(it) {
1079
- return StateMachineExecutor_instance.j3d(it);
1089
+ return StateMachineExecutor_instance.i3d(it);
1080
1090
  }
1081
1091
  function StateMachineExecutor$executeWrapping$lambda(it) {
1082
1092
  return asAlreadyExecuted(it);
1083
1093
  }
1084
1094
  function StateMachineExecutor$internalExecute$slambda($state, resultContinuation) {
1085
- this.s3d_1 = $state;
1095
+ this.r3d_1 = $state;
1086
1096
  CoroutineImpl.call(this, resultContinuation);
1087
1097
  }
1088
- protoOf(StateMachineExecutor$internalExecute$slambda).v3d = function ($this$sequence, $completion) {
1089
- var tmp = this.w3d($this$sequence, $completion);
1098
+ protoOf(StateMachineExecutor$internalExecute$slambda).u3d = function ($this$sequence, $completion) {
1099
+ var tmp = this.v3d($this$sequence, $completion);
1090
1100
  tmp.d8_1 = Unit_instance;
1091
1101
  tmp.e8_1 = null;
1092
1102
  return tmp.j8();
1093
1103
  };
1094
1104
  protoOf(StateMachineExecutor$internalExecute$slambda).a9 = function (p1, $completion) {
1095
- return this.v3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1105
+ return this.u3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1096
1106
  };
1097
1107
  protoOf(StateMachineExecutor$internalExecute$slambda).j8 = function () {
1098
1108
  var suspendResult = this.d8_1;
@@ -1103,25 +1113,25 @@
1103
1113
  case 0:
1104
1114
  this.c8_1 = 5;
1105
1115
  this.b8_1 = 1;
1106
- suspendResult = this.t3d_1.gd(this.s3d_1, this);
1116
+ suspendResult = this.s3d_1.bd(this.r3d_1, this);
1107
1117
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1108
1118
  return suspendResult;
1109
1119
  }
1110
1120
 
1111
1121
  continue $sm;
1112
1122
  case 1:
1113
- this.u3d_1 = this.s3d_1.g3d().p();
1123
+ this.t3d_1 = this.r3d_1.f3d().n();
1114
1124
  this.b8_1 = 2;
1115
1125
  continue $sm;
1116
1126
  case 2:
1117
- if (!this.u3d_1.s()) {
1127
+ if (!this.t3d_1.q()) {
1118
1128
  this.b8_1 = 4;
1119
1129
  continue $sm;
1120
1130
  }
1121
1131
 
1122
- var element = this.u3d_1.t();
1132
+ var element = this.t3d_1.r();
1123
1133
  this.b8_1 = 3;
1124
- suspendResult = this.t3d_1.jd(internalExecute(StateMachineExecutor_instance, element), this);
1134
+ suspendResult = this.s3d_1.ed(internalExecute(StateMachineExecutor_instance, element), this);
1125
1135
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1126
1136
  return suspendResult;
1127
1137
  }
@@ -1146,24 +1156,22 @@
1146
1156
  }
1147
1157
  while (true);
1148
1158
  };
1149
- protoOf(StateMachineExecutor$internalExecute$slambda).w3d = function ($this$sequence, completion) {
1150
- var i = new StateMachineExecutor$internalExecute$slambda(this.s3d_1, completion);
1151
- i.t3d_1 = $this$sequence;
1159
+ protoOf(StateMachineExecutor$internalExecute$slambda).v3d = function ($this$sequence, completion) {
1160
+ var i = new StateMachineExecutor$internalExecute$slambda(this.r3d_1, completion);
1161
+ i.s3d_1 = $this$sequence;
1152
1162
  return i;
1153
1163
  };
1154
1164
  function StateMachineExecutor$internalExecute$slambda_0($state, resultContinuation) {
1155
1165
  var i = new StateMachineExecutor$internalExecute$slambda($state, resultContinuation);
1156
- var l = function ($this$sequence, $completion) {
1157
- return i.v3d($this$sequence, $completion);
1158
- };
1159
- l.$arity = 1;
1160
- return l;
1166
+ return constructCallableReference(function ($this$sequence, $completion) {
1167
+ return i.u3d($this$sequence, $completion);
1168
+ }, 1);
1161
1169
  }
1162
1170
  function StateMachineExecutor() {
1163
1171
  }
1164
- protoOf(StateMachineExecutor).a3b = function (state) {
1172
+ protoOf(StateMachineExecutor).z3a = function (state) {
1165
1173
  var tmp;
1166
- if (state.f3d()) {
1174
+ if (state.e3d()) {
1167
1175
  tmp = emptySequence();
1168
1176
  } else {
1169
1177
  var tmp_0 = drop_0(internalExecute(this, state), 1);
@@ -1171,14 +1179,14 @@
1171
1179
  }
1172
1180
  return tmp;
1173
1181
  };
1174
- protoOf(StateMachineExecutor).x3d = function (state) {
1175
- var tmp = this.a3b(state);
1182
+ protoOf(StateMachineExecutor).w3d = function (state) {
1183
+ var tmp = this.z3a(state);
1176
1184
  return map(tmp, StateMachineExecutor$executeWrapping$lambda);
1177
1185
  };
1178
- protoOf(StateMachineExecutor).j3d = function (_this__u8e3s4) {
1186
+ protoOf(StateMachineExecutor).i3d = function (_this__u8e3s4) {
1179
1187
  var tmp;
1180
1188
  if (_this__u8e3s4 instanceof AlreadyExecutedState) {
1181
- tmp = _this__u8e3s4.h3d_1;
1189
+ tmp = _this__u8e3s4.g3d_1;
1182
1190
  } else {
1183
1191
  tmp = _this__u8e3s4;
1184
1192
  }
@@ -1188,11 +1196,16 @@
1188
1196
  function StateMachineExecutor_getInstance() {
1189
1197
  return StateMachineExecutor_instance;
1190
1198
  }
1191
- function statEndHaltTimeout($this, _this__u8e3s4) {
1192
- return stateEndHalt(_this__u8e3s4, TimeOutException_init_$Create$('Given time for `' + _this__u8e3s4.y3a().j1t().toString() + '` computation (' + _this__u8e3s4.y3a().j26_1.toString() + ") wasn't enough for completion", VOID, _this__u8e3s4.y3a().context, _this__u8e3s4.y3a().j26_1), VOID, []);
1199
+ function StateMachineExecutor$executeWrapping$ref(p0) {
1200
+ return constructCallableReference(function (p0_0) {
1201
+ return p0.w3d(p0_0);
1202
+ }, 1, 0, 97, 'executeWrapping', [p0]);
1203
+ }
1204
+ function statEndHaltTimeout($this, $receiver) {
1205
+ return stateEndHalt($receiver, TimeOutException_init_$Create$('Given time for `' + $receiver.x3a().i1t().toString() + '` computation (' + $receiver.x3a().i26_1.toString() + ") wasn't enough for completion", VOID, $receiver.x3a().context, $receiver.x3a().i26_1), VOID, []);
1193
1206
  }
1194
1207
  function _get_stateCurrentTime__3c8uza($this) {
1195
- var tmp0 = $this.b3e_1;
1208
+ var tmp0 = $this.a3e_1;
1196
1209
  var tmp = KProperty1;
1197
1210
  // Inline function 'kotlin.getValue' call
1198
1211
  getPropertyCallableRef('stateCurrentTime', 1, tmp, AbstractTimedState$_get_stateCurrentTime_$ref_pw5vcd(), null);
@@ -1211,54 +1224,54 @@
1211
1224
  return currentTimeInstant();
1212
1225
  }
1213
1226
  function AbstractTimedState$_get_stateCurrentTime_$ref_pw5vcd() {
1214
- return function (p0) {
1227
+ return constructCallableReference(function (p0) {
1215
1228
  return _get_stateCurrentTime__3c8uza(p0);
1216
- };
1229
+ }, 1, 0, 98);
1217
1230
  }
1218
1231
  function AbstractTimedState(solve) {
1219
1232
  AbstractState.call(this, solve);
1220
- this.a3e_1 = solve;
1233
+ this.z3d_1 = solve;
1221
1234
  var tmp = this;
1222
- tmp.b3e_1 = lazy(AbstractTimedState$stateCurrentTime$delegate$lambda);
1235
+ tmp.a3e_1 = lazy(AbstractTimedState$stateCurrentTime$delegate$lambda);
1223
1236
  }
1224
- protoOf(AbstractTimedState).y3a = function () {
1225
- return this.a3e_1;
1237
+ protoOf(AbstractTimedState).x3a = function () {
1238
+ return this.z3d_1;
1226
1239
  };
1227
- protoOf(AbstractTimedState).g3d = function () {
1228
- return this.y3a().j26_1 === 9223372036854775807n ? this.c3e() : timeIsOver(this, subtract(_get_stateCurrentTime__3c8uza(this), this.y3a().i26_1), this.y3a().j26_1) ? sequenceOf(statEndHaltTimeout(Companion_instance_12, this)) : this.c3e();
1240
+ protoOf(AbstractTimedState).f3d = function () {
1241
+ return this.x3a().i26_1 === 9223372036854775807n ? this.b3e() : timeIsOver(this, subtract(_get_stateCurrentTime__3c8uza(this), this.x3a().h26_1), this.x3a().i26_1) ? sequenceOf(statEndHaltTimeout(Companion_instance_12, this)) : this.b3e();
1229
1242
  };
1230
- protoOf(AbstractTimedState).d3e = function (_this__u8e3s4, toYieldState) {
1231
- return timeIsOver(this, subtract(currentTimeInstant(), _this__u8e3s4.y3a().i26_1), _this__u8e3s4.y3a().j26_1) ? statEndHaltTimeout(Companion_instance_12, _this__u8e3s4) : toYieldState;
1243
+ protoOf(AbstractTimedState).c3e = function (_this__u8e3s4, toYieldState) {
1244
+ return timeIsOver(this, subtract(currentTimeInstant(), _this__u8e3s4.x3a().h26_1), _this__u8e3s4.x3a().i26_1) ? statEndHaltTimeout(Companion_instance_12, _this__u8e3s4) : toYieldState;
1232
1245
  };
1233
1246
  protoOf(AbstractTimedState).toString = function () {
1234
- return toString(getKClassFromExpression(this)) + ' with ' + this.y3a().toString();
1247
+ return toString(getKClassFromExpression(this)) + ' with ' + this.x3a().toString();
1235
1248
  };
1236
1249
  function StateEnd$Halt$exception$delegate$lambda(this$0) {
1237
1250
  return function () {
1238
- var tmp = this$0.k3e_1.solution;
1239
- return (isInterface(tmp, Halt) ? tmp : THROW_CCE()).m1t();
1251
+ var tmp = this$0.j3e_1.solution;
1252
+ return (isInterface(tmp, Halt) ? tmp : THROW_CCE()).l1t();
1240
1253
  };
1241
1254
  }
1242
1255
  function True(sourceContext, solve) {
1243
1256
  StateEnd.call(this, sourceContext, solve);
1244
- this.r3e_1 = sourceContext;
1245
- this.s3e_1 = solve;
1246
- var tmp = this.s3e_1.solution;
1257
+ this.q3e_1 = sourceContext;
1258
+ this.r3e_1 = solve;
1259
+ var tmp = this.r3e_1.solution;
1247
1260
  // Inline function 'kotlin.require' call
1248
1261
  if (!isInterface(tmp, Yes)) {
1249
- var message = 'True end state can be created only with Solution.Yes. Current: `' + toString(this.s3e_1.solution) + '`';
1262
+ var message = 'True end state can be created only with Solution.Yes. Current: `' + toString(this.r3e_1.solution) + '`';
1250
1263
  throw IllegalArgumentException_init_$Create$(toString(message));
1251
1264
  }
1252
1265
  }
1253
- protoOf(True).y3a = function () {
1254
- return this.s3e_1;
1266
+ protoOf(True).x3a = function () {
1267
+ return this.r3e_1;
1255
1268
  };
1256
1269
  protoOf(True).toString = function () {
1257
- return 'True(sourceContext=' + toString(this.r3e_1) + ', solve=' + this.s3e_1.toString() + ')';
1270
+ return 'True(sourceContext=' + toString(this.q3e_1) + ', solve=' + this.r3e_1.toString() + ')';
1258
1271
  };
1259
1272
  protoOf(True).hashCode = function () {
1260
- var result = hashCode(this.r3e_1);
1261
- result = imul(result, 31) + this.s3e_1.hashCode() | 0;
1273
+ var result = hashCode(this.q3e_1);
1274
+ result = imul(result, 31) + this.r3e_1.hashCode() | 0;
1262
1275
  return result;
1263
1276
  };
1264
1277
  protoOf(True).equals = function (other) {
@@ -1266,32 +1279,32 @@
1266
1279
  return true;
1267
1280
  if (!(other instanceof True))
1268
1281
  return false;
1269
- if (!equals(this.r3e_1, other.r3e_1))
1282
+ if (!equals(this.q3e_1, other.q3e_1))
1270
1283
  return false;
1271
- if (!this.s3e_1.equals(other.s3e_1))
1284
+ if (!this.r3e_1.equals(other.r3e_1))
1272
1285
  return false;
1273
1286
  return true;
1274
1287
  };
1275
1288
  function False(sourceContext, solve) {
1276
1289
  StateEnd.call(this, sourceContext, solve);
1277
- this.d3f_1 = sourceContext;
1278
- this.e3f_1 = solve;
1279
- var tmp = this.e3f_1.solution;
1290
+ this.c3f_1 = sourceContext;
1291
+ this.d3f_1 = solve;
1292
+ var tmp = this.d3f_1.solution;
1280
1293
  // Inline function 'kotlin.require' call
1281
1294
  if (!isInterface(tmp, No)) {
1282
- var message = 'False end state can be created only with Solution.No. Current: `' + toString(this.e3f_1.solution) + '`';
1295
+ var message = 'False end state can be created only with Solution.No. Current: `' + toString(this.d3f_1.solution) + '`';
1283
1296
  throw IllegalArgumentException_init_$Create$(toString(message));
1284
1297
  }
1285
1298
  }
1286
- protoOf(False).y3a = function () {
1287
- return this.e3f_1;
1299
+ protoOf(False).x3a = function () {
1300
+ return this.d3f_1;
1288
1301
  };
1289
1302
  protoOf(False).toString = function () {
1290
- return 'False(sourceContext=' + toString(this.d3f_1) + ', solve=' + this.e3f_1.toString() + ')';
1303
+ return 'False(sourceContext=' + toString(this.c3f_1) + ', solve=' + this.d3f_1.toString() + ')';
1291
1304
  };
1292
1305
  protoOf(False).hashCode = function () {
1293
- var result = hashCode(this.d3f_1);
1294
- result = imul(result, 31) + this.e3f_1.hashCode() | 0;
1306
+ var result = hashCode(this.c3f_1);
1307
+ result = imul(result, 31) + this.d3f_1.hashCode() | 0;
1295
1308
  return result;
1296
1309
  };
1297
1310
  protoOf(False).equals = function (other) {
@@ -1299,34 +1312,34 @@
1299
1312
  return true;
1300
1313
  if (!(other instanceof False))
1301
1314
  return false;
1302
- if (!equals(this.d3f_1, other.d3f_1))
1315
+ if (!equals(this.c3f_1, other.c3f_1))
1303
1316
  return false;
1304
- if (!this.e3f_1.equals(other.e3f_1))
1317
+ if (!this.d3f_1.equals(other.d3f_1))
1305
1318
  return false;
1306
1319
  return true;
1307
1320
  };
1308
1321
  function Halt_0(sourceContext, solve) {
1309
1322
  StateEnd.call(this, sourceContext, solve);
1310
- this.j3e_1 = sourceContext;
1311
- this.k3e_1 = solve;
1312
- var tmp = this.k3e_1.solution;
1323
+ this.i3e_1 = sourceContext;
1324
+ this.j3e_1 = solve;
1325
+ var tmp = this.j3e_1.solution;
1313
1326
  // Inline function 'kotlin.require' call
1314
1327
  if (!isInterface(tmp, Halt)) {
1315
- var message = 'Halt end state can be created only with Solution.Halt. Current: `' + toString(this.k3e_1.solution) + '`';
1328
+ var message = 'Halt end state can be created only with Solution.Halt. Current: `' + toString(this.j3e_1.solution) + '`';
1316
1329
  throw IllegalArgumentException_init_$Create$(toString(message));
1317
1330
  }
1318
1331
  var tmp_0 = this;
1319
- tmp_0.l3e_1 = lazy(StateEnd$Halt$exception$delegate$lambda(this));
1332
+ tmp_0.k3e_1 = lazy(StateEnd$Halt$exception$delegate$lambda(this));
1320
1333
  }
1321
- protoOf(Halt_0).y3a = function () {
1322
- return this.k3e_1;
1334
+ protoOf(Halt_0).x3a = function () {
1335
+ return this.j3e_1;
1323
1336
  };
1324
1337
  protoOf(Halt_0).toString = function () {
1325
- return 'Halt(sourceContext=' + toString(this.j3e_1) + ', solve=' + this.k3e_1.toString() + ')';
1338
+ return 'Halt(sourceContext=' + toString(this.i3e_1) + ', solve=' + this.j3e_1.toString() + ')';
1326
1339
  };
1327
1340
  protoOf(Halt_0).hashCode = function () {
1328
- var result = hashCode(this.j3e_1);
1329
- result = imul(result, 31) + this.k3e_1.hashCode() | 0;
1341
+ var result = hashCode(this.i3e_1);
1342
+ result = imul(result, 31) + this.j3e_1.hashCode() | 0;
1330
1343
  return result;
1331
1344
  };
1332
1345
  protoOf(Halt_0).equals = function (other) {
@@ -1334,39 +1347,39 @@
1334
1347
  return true;
1335
1348
  if (!(other instanceof Halt_0))
1336
1349
  return false;
1337
- if (!equals(this.j3e_1, other.j3e_1))
1350
+ if (!equals(this.i3e_1, other.i3e_1))
1338
1351
  return false;
1339
- if (!this.k3e_1.equals(other.k3e_1))
1352
+ if (!this.j3e_1.equals(other.j3e_1))
1340
1353
  return false;
1341
1354
  return true;
1342
1355
  };
1343
1356
  function StateEnd$context$delegate$lambda(this$0) {
1344
1357
  return function () {
1345
- var tmp = this$0.y3a().solution.g1s();
1358
+ var tmp = this$0.x3a().solution.f1s();
1346
1359
  var tmp0_elvis_lhs = isInterface(tmp, Unifier) ? tmp : null;
1347
- return StreamsExecutionContext_init_$Create$(this$0.v3e_1, tmp0_elvis_lhs == null ? Companion_getInstance_2().empty() : tmp0_elvis_lhs);
1360
+ return StreamsExecutionContext_init_$Create$(this$0.u3e_1, tmp0_elvis_lhs == null ? Companion_getInstance_2().empty() : tmp0_elvis_lhs);
1348
1361
  };
1349
1362
  }
1350
1363
  function StateEnd$_get_context_$ref_fll2gn() {
1351
- return function (p0) {
1364
+ return constructCallableReference(function (p0) {
1352
1365
  return p0.h8();
1353
- };
1366
+ }, 1, 0, 99);
1354
1367
  }
1355
1368
  function StateEnd(sourceContext, solve) {
1356
1369
  AbstractState.call(this, solve);
1357
- this.v3e_1 = sourceContext;
1358
- this.w3e_1 = solve;
1370
+ this.u3e_1 = sourceContext;
1371
+ this.v3e_1 = solve;
1359
1372
  var tmp = this;
1360
- tmp.x3e_1 = lazy(StateEnd$context$delegate$lambda(this));
1373
+ tmp.w3e_1 = lazy(StateEnd$context$delegate$lambda(this));
1361
1374
  }
1362
- protoOf(StateEnd).y3a = function () {
1363
- return this.w3e_1;
1375
+ protoOf(StateEnd).x3a = function () {
1376
+ return this.v3e_1;
1364
1377
  };
1365
- protoOf(StateEnd).g3d = function () {
1378
+ protoOf(StateEnd).f3d = function () {
1366
1379
  return emptySequence();
1367
1380
  };
1368
1381
  protoOf(StateEnd).h8 = function () {
1369
- var tmp0 = this.x3e_1;
1382
+ var tmp0 = this.w3e_1;
1370
1383
  var tmp = KProperty1;
1371
1384
  // Inline function 'kotlin.getValue' call
1372
1385
  getPropertyCallableRef('context', 1, tmp, StateEnd$_get_context_$ref_fll2gn(), null);
@@ -1376,28 +1389,28 @@
1376
1389
  substitution = substitution === VOID ? Companion_getInstance_2().empty() : substitution;
1377
1390
  sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
1378
1391
  var tmp = _this__u8e3s4.h8();
1379
- var tmp_0 = _this__u8e3s4.y3a();
1380
- return new True(tmp, tmp_0.p2e(substitution, sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.y3a().context) : sideEffectManager, sideEffects.slice()));
1392
+ var tmp_0 = _this__u8e3s4.x3a();
1393
+ return new True(tmp, tmp_0.o2e(substitution, sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.x3a().context) : sideEffectManager, sideEffects.slice()));
1381
1394
  }
1382
1395
  function stateEndFalse(_this__u8e3s4, sideEffectManager, sideEffects) {
1383
1396
  sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
1384
1397
  var tmp = _this__u8e3s4.h8();
1385
- var tmp_0 = _this__u8e3s4.y3a();
1386
- return new False(tmp, tmp_0.q2e(sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.y3a().context) : sideEffectManager, sideEffects.slice()));
1398
+ var tmp_0 = _this__u8e3s4.x3a();
1399
+ return new False(tmp, tmp_0.p2e(sideEffectManager == null ? getSideEffectManager(_this__u8e3s4.x3a().context) : sideEffectManager, sideEffects.slice()));
1387
1400
  }
1388
1401
  function stateEndHalt(_this__u8e3s4, exception, sideEffectManager, sideEffects) {
1389
1402
  sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
1390
1403
  var tmp = _this__u8e3s4.h8();
1391
- var tmp_0 = _this__u8e3s4.y3a();
1404
+ var tmp_0 = _this__u8e3s4.x3a();
1392
1405
  var tmp1_elvis_lhs = sideEffectManager == null ? getSideEffectManager(exception.h8()) : sideEffectManager;
1393
- return new Halt_0(tmp, tmp_0.r2e(exception, tmp1_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.y3a().context) : tmp1_elvis_lhs, sideEffects.slice()));
1406
+ return new Halt_0(tmp, tmp_0.q2e(exception, tmp1_elvis_lhs == null ? getSideEffectManager(_this__u8e3s4.x3a().context) : tmp1_elvis_lhs, sideEffects.slice()));
1394
1407
  }
1395
1408
  function stateEnd(_this__u8e3s4, response) {
1396
1409
  // Inline function 'kotlin.with' call
1397
1410
  // Inline function 'kotlin.collections.toTypedArray' call
1398
1411
  var this_0 = response.sideEffects;
1399
- var tmp$ret$0 = copyToArray(this_0);
1400
- return stateEnd_0(_this__u8e3s4, response.solution, response.sideEffectManager, tmp$ret$0.slice());
1412
+ var tmp$ret$2 = copyToArray(this_0);
1413
+ return stateEnd_0(_this__u8e3s4, response.solution, response.sideEffectManager, tmp$ret$2.slice());
1401
1414
  }
1402
1415
  function stateEnd_0(_this__u8e3s4, solution, sideEffectManager, sideEffects) {
1403
1416
  sideEffectManager = sideEffectManager === VOID ? null : sideEffectManager;
@@ -1408,15 +1421,15 @@
1408
1421
  function stateEnd$lambda($this_stateEnd, $sideEffectManager, $sideEffects) {
1409
1422
  return function (sol) {
1410
1423
  // Inline function 'kotlin.takeUnless' call
1411
- var this_0 = sol.g1s();
1424
+ var this_0 = sol.f1s();
1412
1425
  var tmp;
1413
- if (!this_0.j()) {
1426
+ if (!this_0.h()) {
1414
1427
  tmp = this_0;
1415
1428
  } else {
1416
1429
  tmp = null;
1417
1430
  }
1418
1431
  var tmp0_elvis_lhs = tmp;
1419
- return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.y3a().context.g1s() : tmp0_elvis_lhs, $sideEffectManager, $sideEffects.slice());
1432
+ return stateEndTrue($this_stateEnd, tmp0_elvis_lhs == null ? $this_stateEnd.x3a().context.f1s() : tmp0_elvis_lhs, $sideEffectManager, $sideEffects.slice());
1420
1433
  };
1421
1434
  }
1422
1435
  function stateEnd$lambda_0($this_stateEnd, $sideEffectManager, $sideEffects) {
@@ -1426,16 +1439,16 @@
1426
1439
  }
1427
1440
  function stateEnd$lambda_1($this_stateEnd, $sideEffectManager, $sideEffects) {
1428
1441
  return function (it) {
1429
- return stateEndHalt($this_stateEnd, it.m1t(), $sideEffectManager, $sideEffects.slice());
1442
+ return stateEndHalt($this_stateEnd, it.l1t(), $sideEffectManager, $sideEffects.slice());
1430
1443
  };
1431
1444
  }
1432
- function newThrowSolveRequest($this, _this__u8e3s4, error) {
1445
+ function newThrowSolveRequest($this, $receiver, error) {
1433
1446
  var tmp = Companion_getInstance_3();
1434
1447
  // Inline function 'it.unibo.tuprolog.solve.AbstractWrapper.functor' call
1435
1448
  var tmp$ret$0 = Throw_getInstance().signature.name;
1436
- var tmp_0 = tmp.of(tmp$ret$0, [error.u21()]);
1449
+ var tmp_0 = tmp.of(tmp$ret$0, [error.t21()]);
1437
1450
  var tmp0_elvis_lhs = getSideEffectManager(error.h8());
1438
- return newSolveRequest(_this__u8e3s4, tmp_0, VOID, VOID, tmp0_elvis_lhs == null ? _this__u8e3s4.context.q3b_1 : tmp0_elvis_lhs, currentTimeInstant());
1451
+ return newSolveRequest($receiver, tmp_0, VOID, VOID, tmp0_elvis_lhs == null ? $receiver.context.p3b_1 : tmp0_elvis_lhs, currentTimeInstant());
1439
1452
  }
1440
1453
  function Companion_2() {
1441
1454
  }
@@ -1444,17 +1457,17 @@
1444
1457
  return Companion_instance_13;
1445
1458
  }
1446
1459
  function StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation) {
1447
- this.n3f_1 = this$0;
1460
+ this.m3f_1 = this$0;
1448
1461
  CoroutineImpl.call(this, resultContinuation);
1449
1462
  }
1450
- protoOf(StateGoalEvaluation$behaveTimed$slambda).v3d = function ($this$sequence, $completion) {
1451
- var tmp = this.w3d($this$sequence, $completion);
1463
+ protoOf(StateGoalEvaluation$behaveTimed$slambda).u3d = function ($this$sequence, $completion) {
1464
+ var tmp = this.v3d($this$sequence, $completion);
1452
1465
  tmp.d8_1 = Unit_instance;
1453
1466
  tmp.e8_1 = null;
1454
1467
  return tmp.j8();
1455
1468
  };
1456
1469
  protoOf(StateGoalEvaluation$behaveTimed$slambda).a9 = function (p1, $completion) {
1457
- return this.v3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1470
+ return this.u3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1458
1471
  };
1459
1472
  protoOf(StateGoalEvaluation$behaveTimed$slambda).j8 = function () {
1460
1473
  var suspendResult = this.d8_1;
@@ -1464,18 +1477,18 @@
1464
1477
  switch (tmp) {
1465
1478
  case 0:
1466
1479
  this.c8_1 = 11;
1467
- var $this$with = this.n3f_1.b3g_1;
1468
- var primitive = $this$with.context.e3b_1.x2a().h2($this$with.signature);
1480
+ var $this$with = this.m3f_1.a3g_1;
1481
+ var primitive = $this$with.context.d3b_1.w2a().h2($this$with.signature);
1469
1482
  if (primitive == null) {
1470
- this.q3f_1 = null;
1483
+ this.p3f_1 = null;
1471
1484
  this.b8_1 = 8;
1472
1485
  continue $sm;
1473
1486
  } else {
1474
- this.r3f_1 = primitive;
1475
- this.r3f_1;
1476
- this.w3f_1 = null;
1487
+ this.q3f_1 = primitive;
1488
+ this.q3f_1;
1489
+ this.v3f_1 = null;
1477
1490
  this.c8_1 = 1;
1478
- this.w3f_1 = primitive.solve(this.n3f_1.b3g_1);
1491
+ this.v3f_1 = primitive.solve(this.m3f_1.a3g_1);
1479
1492
  this.c8_1 = 11;
1480
1493
  this.b8_1 = 3;
1481
1494
  continue $sm;
@@ -1487,7 +1500,7 @@
1487
1500
  if (tmp_0 instanceof HaltException) {
1488
1501
  var exception = this.e8_1;
1489
1502
  this.b8_1 = 2;
1490
- suspendResult = this.o3f_1.gd(stateEndHalt(this.n3f_1, exception, VOID, []), this);
1503
+ suspendResult = this.n3f_1.bd(stateEndHalt(this.m3f_1, exception, VOID, []), this);
1491
1504
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1492
1505
  return suspendResult;
1493
1506
  }
@@ -1496,7 +1509,7 @@
1496
1509
  var tmp_1 = this.e8_1;
1497
1510
  if (tmp_1 instanceof LogicError) {
1498
1511
  var logicError = this.e8_1;
1499
- this.w3f_1 = Companion_instance_11.b3b(newThrowSolveRequest(Companion_instance_13, this.n3f_1.b3g_1, logicError));
1512
+ this.v3f_1 = Companion_instance_11.a3b(newThrowSolveRequest(Companion_instance_13, this.m3f_1.a3g_1, logicError));
1500
1513
  this.b8_1 = 3;
1501
1514
  continue $sm;
1502
1515
  } else {
@@ -1509,66 +1522,66 @@
1509
1522
  continue $sm;
1510
1523
  case 3:
1511
1524
  this.c8_1 = 11;
1512
- this.u3f_1 = emptyList();
1513
- var tmp0_safe_receiver = this.w3f_1;
1525
+ this.t3f_1 = emptyList();
1526
+ var tmp0_safe_receiver = this.v3f_1;
1514
1527
  if (tmp0_safe_receiver == null) {
1515
- this.s3f_1 = null;
1528
+ this.r3f_1 = null;
1516
1529
  this.b8_1 = 7;
1517
1530
  continue $sm;
1518
1531
  } else {
1519
- this.v3f_1 = tmp0_safe_receiver.p();
1532
+ this.u3f_1 = tmp0_safe_receiver.n();
1520
1533
  this.b8_1 = 4;
1521
1534
  continue $sm;
1522
1535
  }
1523
1536
 
1524
1537
  case 4:
1525
- if (!this.v3f_1.s()) {
1538
+ if (!this.u3f_1.q()) {
1526
1539
  this.b8_1 = 6;
1527
1540
  continue $sm;
1528
1541
  }
1529
1542
 
1530
- var element = this.v3f_1.t();
1531
- this.t3f_1 = element;
1532
- this.u3f_1 = addWithNoDuplicates(this.u3f_1, this.t3f_1.sideEffects);
1543
+ var element = this.u3f_1.r();
1544
+ this.s3f_1 = element;
1545
+ this.t3f_1 = addWithNoDuplicates(this.t3f_1, this.s3f_1.sideEffects);
1533
1546
  this.b8_1 = 5;
1534
- suspendResult = this.o3f_1.gd(this.n3f_1.d3e(this.n3f_1, stateEnd(this.n3f_1, this.t3f_1.j2f(VOID, VOID, this.u3f_1))), this);
1547
+ suspendResult = this.n3f_1.bd(this.m3f_1.c3e(this.m3f_1, stateEnd(this.m3f_1, this.s3f_1.i2f(VOID, VOID, this.t3f_1))), this);
1535
1548
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1536
1549
  return suspendResult;
1537
1550
  }
1538
1551
 
1539
1552
  continue $sm;
1540
1553
  case 5:
1541
- var tmp_2 = this.t3f_1.solution;
1554
+ var tmp_2 = this.s3f_1.solution;
1542
1555
  if (isInterface(tmp_2, Halt))
1543
1556
  return Unit_instance;
1544
1557
  this.b8_1 = 4;
1545
1558
  continue $sm;
1546
1559
  case 6:
1547
- this.s3f_1 = Unit_instance;
1560
+ this.r3f_1 = Unit_instance;
1548
1561
  this.b8_1 = 7;
1549
1562
  continue $sm;
1550
1563
  case 7:
1551
- this.q3f_1 = this.r3f_1;
1564
+ this.p3f_1 = this.q3f_1;
1552
1565
  this.b8_1 = 8;
1553
1566
  continue $sm;
1554
1567
  case 8:
1555
- var tmp1_elvis_lhs = this.q3f_1;
1568
+ var tmp1_elvis_lhs = this.p3f_1;
1556
1569
  if (tmp1_elvis_lhs == null) {
1557
1570
  this.b8_1 = 9;
1558
- suspendResult = this.o3f_1.gd(new StateRuleSelection(this.n3f_1.b3g_1), this);
1571
+ suspendResult = this.n3f_1.bd(new StateRuleSelection(this.m3f_1.a3g_1), this);
1559
1572
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1560
1573
  return suspendResult;
1561
1574
  }
1562
1575
  continue $sm;
1563
1576
  } else {
1564
- this.p3f_1 = tmp1_elvis_lhs;
1577
+ this.o3f_1 = tmp1_elvis_lhs;
1565
1578
  this.b8_1 = 10;
1566
1579
  continue $sm;
1567
1580
  }
1568
1581
 
1569
1582
  case 9:
1570
1583
  var tmp_3 = this;
1571
- tmp_3.p3f_1 = Unit_instance;
1584
+ tmp_3.o3f_1 = Unit_instance;
1572
1585
  this.b8_1 = 10;
1573
1586
  continue $sm;
1574
1587
  case 10:
@@ -1587,41 +1600,39 @@
1587
1600
  }
1588
1601
  while (true);
1589
1602
  };
1590
- protoOf(StateGoalEvaluation$behaveTimed$slambda).w3d = function ($this$sequence, completion) {
1591
- var i = new StateGoalEvaluation$behaveTimed$slambda(this.n3f_1, completion);
1592
- i.o3f_1 = $this$sequence;
1603
+ protoOf(StateGoalEvaluation$behaveTimed$slambda).v3d = function ($this$sequence, completion) {
1604
+ var i = new StateGoalEvaluation$behaveTimed$slambda(this.m3f_1, completion);
1605
+ i.n3f_1 = $this$sequence;
1593
1606
  return i;
1594
1607
  };
1595
1608
  function StateGoalEvaluation$behaveTimed$slambda_0(this$0, resultContinuation) {
1596
1609
  var i = new StateGoalEvaluation$behaveTimed$slambda(this$0, resultContinuation);
1597
- var l = function ($this$sequence, $completion) {
1598
- return i.v3d($this$sequence, $completion);
1599
- };
1600
- l.$arity = 1;
1601
- return l;
1610
+ return constructCallableReference(function ($this$sequence, $completion) {
1611
+ return i.u3d($this$sequence, $completion);
1612
+ }, 1);
1602
1613
  }
1603
1614
  function StateGoalEvaluation(solve) {
1604
1615
  AbstractTimedState.call(this, solve);
1605
- this.b3g_1 = solve;
1616
+ this.a3g_1 = solve;
1606
1617
  }
1607
- protoOf(StateGoalEvaluation).y3a = function () {
1608
- return this.b3g_1;
1618
+ protoOf(StateGoalEvaluation).x3a = function () {
1619
+ return this.a3g_1;
1609
1620
  };
1610
- protoOf(StateGoalEvaluation).c3e = function () {
1621
+ protoOf(StateGoalEvaluation).b3e = function () {
1611
1622
  return sequence(StateGoalEvaluation$behaveTimed$slambda_0(this, null));
1612
1623
  };
1613
1624
  function StateInit$behaveTimed$slambda(this$0, resultContinuation) {
1614
- this.k3g_1 = this$0;
1625
+ this.j3g_1 = this$0;
1615
1626
  CoroutineImpl.call(this, resultContinuation);
1616
1627
  }
1617
- protoOf(StateInit$behaveTimed$slambda).v3d = function ($this$sequence, $completion) {
1618
- var tmp = this.w3d($this$sequence, $completion);
1628
+ protoOf(StateInit$behaveTimed$slambda).u3d = function ($this$sequence, $completion) {
1629
+ var tmp = this.v3d($this$sequence, $completion);
1619
1630
  tmp.d8_1 = Unit_instance;
1620
1631
  tmp.e8_1 = null;
1621
1632
  return tmp.j8();
1622
1633
  };
1623
1634
  protoOf(StateInit$behaveTimed$slambda).a9 = function (p1, $completion) {
1624
- return this.v3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1635
+ return this.u3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1625
1636
  };
1626
1637
  protoOf(StateInit$behaveTimed$slambda).j8 = function () {
1627
1638
  var suspendResult = this.d8_1;
@@ -1631,33 +1642,33 @@
1631
1642
  switch (tmp) {
1632
1643
  case 0:
1633
1644
  this.c8_1 = 6;
1634
- var $this$with = this.k3g_1.t3g_1.context;
1635
- var initializedSideEffectsManager = $this$with.q3b_1.a3c($this$with);
1636
- var currentGoal = this.k3g_1.t3g_1.j1t();
1637
- var $this$with_0 = this.k3g_1.t3g_1.context;
1638
- if ($this$with_0.p3b_1.w3a(currentGoal, $this$with_0)) {
1645
+ var $this$with = this.j3g_1.s3g_1.context;
1646
+ var initializedSideEffectsManager = $this$with.p3b_1.z3b($this$with);
1647
+ var currentGoal = this.j3g_1.s3g_1.i1t();
1648
+ var $this$with_0 = this.j3g_1.s3g_1.context;
1649
+ if ($this$with_0.o3b_1.v3a(currentGoal, $this$with_0)) {
1639
1650
  this.b8_1 = 4;
1640
- suspendResult = this.l3g_1.gd(this.k3g_1.d3e(this.k3g_1, stateEndTrue(this.k3g_1, this.k3g_1.t3g_1.context.m3b_1, initializedSideEffectsManager, [])), this);
1651
+ suspendResult = this.k3g_1.bd(this.j3g_1.c3e(this.j3g_1, stateEndTrue(this.j3g_1, this.j3g_1.s3g_1.context.l3b_1, initializedSideEffectsManager, [])), this);
1641
1652
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1642
1653
  return suspendResult;
1643
1654
  }
1644
1655
  continue $sm;
1645
1656
  } else {
1646
1657
  if (isWellFormed(currentGoal)) {
1647
- this.o3g_1 = prepareForExecutionAsGoal(currentGoal);
1648
- var preparedGoal = this.o3g_1;
1658
+ this.n3g_1 = prepareForExecutionAsGoal(currentGoal);
1659
+ var preparedGoal = this.n3g_1;
1649
1660
  this.b8_1 = 2;
1650
1661
  var tmp_0 = extractSignature(preparedGoal);
1651
- var tmp_1 = preparedGoal.au();
1652
- var $this$with_1 = this.k3g_1.t3g_1.context;
1653
- suspendResult = this.l3g_1.gd(new StateGoalEvaluation(this.k3g_1.t3g_1.e2f(tmp_0, tmp_1, $this$with_1.m3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, initializedSideEffectsManager))), this);
1662
+ var tmp_1 = preparedGoal.yt();
1663
+ var $this$with_1 = this.j3g_1.s3g_1.context;
1664
+ suspendResult = this.k3g_1.bd(new StateGoalEvaluation(this.j3g_1.s3g_1.d2f(tmp_0, tmp_1, $this$with_1.l3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, initializedSideEffectsManager))), this);
1654
1665
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1655
1666
  return suspendResult;
1656
1667
  }
1657
1668
  continue $sm;
1658
1669
  } else {
1659
1670
  this.b8_1 = 1;
1660
- suspendResult = this.l3g_1.gd(stateEndFalse(this.k3g_1, initializedSideEffectsManager, []), this);
1671
+ suspendResult = this.k3g_1.bd(stateEndFalse(this.j3g_1, initializedSideEffectsManager, []), this);
1661
1672
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1662
1673
  return suspendResult;
1663
1674
  }
@@ -1667,20 +1678,20 @@
1667
1678
 
1668
1679
  case 1:
1669
1680
  var tmp_2 = this;
1670
- tmp_2.n3g_1 = Unit_instance;
1681
+ tmp_2.m3g_1 = Unit_instance;
1671
1682
  this.b8_1 = 3;
1672
1683
  continue $sm;
1673
1684
  case 2:
1674
- this.n3g_1 = this.o3g_1;
1685
+ this.m3g_1 = this.n3g_1;
1675
1686
  this.b8_1 = 3;
1676
1687
  continue $sm;
1677
1688
  case 3:
1678
- this.m3g_1 = this.n3g_1;
1689
+ this.l3g_1 = this.m3g_1;
1679
1690
  this.b8_1 = 5;
1680
1691
  continue $sm;
1681
1692
  case 4:
1682
1693
  var tmp_3 = this;
1683
- tmp_3.m3g_1 = Unit_instance;
1694
+ tmp_3.l3g_1 = Unit_instance;
1684
1695
  this.b8_1 = 5;
1685
1696
  continue $sm;
1686
1697
  case 5:
@@ -1699,34 +1710,32 @@
1699
1710
  }
1700
1711
  while (true);
1701
1712
  };
1702
- protoOf(StateInit$behaveTimed$slambda).w3d = function ($this$sequence, completion) {
1703
- var i = new StateInit$behaveTimed$slambda(this.k3g_1, completion);
1704
- i.l3g_1 = $this$sequence;
1713
+ protoOf(StateInit$behaveTimed$slambda).v3d = function ($this$sequence, completion) {
1714
+ var i = new StateInit$behaveTimed$slambda(this.j3g_1, completion);
1715
+ i.k3g_1 = $this$sequence;
1705
1716
  return i;
1706
1717
  };
1707
1718
  function StateInit$behaveTimed$slambda_0(this$0, resultContinuation) {
1708
1719
  var i = new StateInit$behaveTimed$slambda(this$0, resultContinuation);
1709
- var l = function ($this$sequence, $completion) {
1710
- return i.v3d($this$sequence, $completion);
1711
- };
1712
- l.$arity = 1;
1713
- return l;
1720
+ return constructCallableReference(function ($this$sequence, $completion) {
1721
+ return i.u3d($this$sequence, $completion);
1722
+ }, 1);
1714
1723
  }
1715
1724
  function StateInit(solve) {
1716
1725
  AbstractTimedState.call(this, solve);
1717
- this.t3g_1 = solve;
1726
+ this.s3g_1 = solve;
1718
1727
  }
1719
- protoOf(StateInit).y3a = function () {
1720
- return this.t3g_1;
1728
+ protoOf(StateInit).x3a = function () {
1729
+ return this.s3g_1;
1721
1730
  };
1722
- protoOf(StateInit).c3e = function () {
1731
+ protoOf(StateInit).b3e = function () {
1723
1732
  return sequence(StateInit$behaveTimed$slambda_0(this, null));
1724
1733
  };
1725
- function retrieveRulesMatching($this, _this__u8e3s4, currentGoal) {
1734
+ function retrieveRulesMatching($this, $receiver, currentGoal) {
1726
1735
  // Inline function 'kotlin.let' call
1727
- var refreshedGoal = currentGoal.cu();
1736
+ var refreshedGoal = currentGoal.au();
1728
1737
  // Inline function 'kotlin.takeIf' call
1729
- var this_0 = _this__u8e3s4.k1s().asTheory(_this__u8e3s4.n1i()).getByHead(refreshedGoal);
1738
+ var this_0 = $receiver.j1s().asTheory($receiver.m1i()).getByHead(refreshedGoal);
1730
1739
  var tmp;
1731
1740
  if (any(this_0)) {
1732
1741
  tmp = this_0;
@@ -1736,25 +1745,25 @@
1736
1745
  var tmp0_elvis_lhs = tmp;
1737
1746
  var tmp_0;
1738
1747
  if (tmp0_elvis_lhs == null) {
1739
- var tmp_1 = sequenceOf_0([_this__u8e3s4.m1s(), _this__u8e3s4.n1s()]);
1748
+ var tmp_1 = sequenceOf_0([$receiver.l1s(), $receiver.m1s()]);
1740
1749
  tmp_0 = flatMap(tmp_1, StateRuleSelection$Companion$retrieveRulesMatching$lambda(refreshedGoal));
1741
1750
  } else {
1742
1751
  tmp_0 = tmp0_elvis_lhs;
1743
1752
  }
1744
1753
  return tmp_0;
1745
1754
  }
1746
- function initializeForSubRuleScope($this, _this__u8e3s4) {
1755
+ function initializeForSubRuleScope($this, $receiver) {
1747
1756
  // Inline function 'kotlin.with' call
1748
- var $this$with = _this__u8e3s4.context;
1749
- var tmp$ret$1 = $this$with.m3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$with.q3b_1.c3c());
1750
- return _this__u8e3s4.e2f(VOID, VOID, tmp$ret$1);
1757
+ var $this$with = $receiver.context;
1758
+ var tmp$ret$0 = $this$with.l3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this$with.p3b_1.b3c());
1759
+ return $receiver.d2f(VOID, VOID, tmp$ret$0);
1751
1760
  }
1752
- function removeSubstitutionFor($this, _this__u8e3s4, unusedVariables) {
1761
+ function removeSubstitutionFor($this, $receiver, unusedVariables) {
1753
1762
  var tmp;
1754
- if (isInterface(_this__u8e3s4, Yes)) {
1755
- tmp = _this__u8e3s4.copy(VOID, _this__u8e3s4.g1s().xz(asIterable(unusedVariables)));
1763
+ if (isInterface($receiver, Yes)) {
1764
+ tmp = $receiver.copy(VOID, $receiver.f1s().vz(asIterable(unusedVariables)));
1756
1765
  } else {
1757
- tmp = _this__u8e3s4;
1766
+ tmp = $receiver;
1758
1767
  }
1759
1768
  return tmp;
1760
1769
  }
@@ -1763,15 +1772,8 @@
1763
1772
  return it.getByHead($refreshedGoal);
1764
1773
  };
1765
1774
  }
1766
- function SolverStrategies$clauseChoiceStrategy$ref(p0) {
1767
- var l = function (_this__u8e3s4, p0_0) {
1768
- return p0.v3a(_this__u8e3s4, p0_0);
1769
- };
1770
- l.callableName = 'clauseChoiceStrategy';
1771
- return l;
1772
- }
1773
1775
  function StateRuleSelection$behaveTimed$slambda$lambda(it) {
1774
- var tmp = prepareForExecution(it).cu();
1776
+ var tmp = prepareForExecution(it).au();
1775
1777
  return isInterface(tmp, Rule) ? tmp : THROW_CCE();
1776
1778
  }
1777
1779
  function Companion_3() {
@@ -1780,25 +1782,18 @@
1780
1782
  function Companion_getInstance_9() {
1781
1783
  return Companion_instance_14;
1782
1784
  }
1783
- function StateMachineExecutor$executeWrapping$ref(p0) {
1784
- var l = function (_this__u8e3s4) {
1785
- return p0.x3d(_this__u8e3s4);
1786
- };
1787
- l.callableName = 'executeWrapping';
1788
- return l;
1789
- }
1790
1785
  function StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation) {
1791
- this.c3h_1 = this$0;
1786
+ this.b3h_1 = this$0;
1792
1787
  CoroutineImpl.call(this, resultContinuation);
1793
1788
  }
1794
- protoOf(StateRuleSelection$behaveTimed$slambda).v3d = function ($this$sequence, $completion) {
1795
- var tmp = this.w3d($this$sequence, $completion);
1789
+ protoOf(StateRuleSelection$behaveTimed$slambda).u3d = function ($this$sequence, $completion) {
1790
+ var tmp = this.v3d($this$sequence, $completion);
1796
1791
  tmp.d8_1 = Unit_instance;
1797
1792
  tmp.e8_1 = null;
1798
1793
  return tmp.j8();
1799
1794
  };
1800
1795
  protoOf(StateRuleSelection$behaveTimed$slambda).a9 = function (p1, $completion) {
1801
- return this.v3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1796
+ return this.u3d(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
1802
1797
  };
1803
1798
  protoOf(StateRuleSelection$behaveTimed$slambda).j8 = function () {
1804
1799
  var suspendResult = this.d8_1;
@@ -1808,93 +1803,93 @@
1808
1803
  switch (tmp) {
1809
1804
  case 0:
1810
1805
  this.c8_1 = 12;
1811
- this.m3h_1 = this.c3h_1.s3h_1.j1t();
1812
- var matchingRules = retrieveRulesMatching(Companion_instance_14, this.c3h_1.s3h_1.context, this.m3h_1);
1813
- this.l3h_1 = moreThanOne(matchingRules);
1806
+ this.l3h_1 = this.b3h_1.r3h_1.i1t();
1807
+ var matchingRules = retrieveRulesMatching(Companion_instance_14, this.b3h_1.r3h_1.context, this.l3h_1);
1808
+ this.k3h_1 = moreThanOne(matchingRules);
1814
1809
  if (none(matchingRules)) {
1815
1810
  this.b8_1 = 10;
1816
- suspendResult = this.d3h_1.gd(stateEndFalse(this.c3h_1, VOID, []), this);
1811
+ suspendResult = this.c3h_1.bd(stateEndFalse(this.b3h_1, VOID, []), this);
1817
1812
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1818
1813
  return suspendResult;
1819
1814
  }
1820
1815
  continue $sm;
1821
1816
  } else {
1822
- var $this$with = this.c3h_1.s3h_1.context;
1823
- var tmp_0 = orderWithStrategy(matchingRules, $this$with, SolverStrategies$clauseChoiceStrategy$ref($this$with.p3b_1));
1824
- this.n3h_1 = map(tmp_0, StateRuleSelection$behaveTimed$slambda$lambda).p();
1817
+ var $this$with = this.b3h_1.r3h_1.context;
1818
+ var tmp_0 = orderWithStrategy(matchingRules, $this$with, SolverStrategies$clauseChoiceStrategy$ref($this$with.o3b_1));
1819
+ this.m3h_1 = map(tmp_0, StateRuleSelection$behaveTimed$slambda$lambda).n();
1825
1820
  this.b8_1 = 1;
1826
1821
  continue $sm;
1827
1822
  }
1828
1823
 
1829
1824
  case 1:
1830
- if (!this.n3h_1.s()) {
1825
+ if (!this.m3h_1.q()) {
1831
1826
  this.b8_1 = 9;
1832
1827
  continue $sm;
1833
1828
  }
1834
1829
 
1835
- var tmp0 = this.n3h_1.t();
1836
- var tmp2 = this.n3h_1.s();
1837
- this.g3h_1 = tmp0;
1838
- this.h3h_1 = tmp2;
1839
- var unifyingSubstitution = this.c3h_1.h8().d3b_1.mgu(this.m3h_1, this.g3h_1.fw());
1840
- var tmp_1 = this.g3h_1.gw().applySubstitution(unifyingSubstitution);
1830
+ var tmp0 = this.m3h_1.r();
1831
+ var tmp2 = this.m3h_1.q();
1832
+ this.f3h_1 = tmp0;
1833
+ this.g3h_1 = tmp2;
1834
+ var unifyingSubstitution = this.b3h_1.h8().c3b_1.mgu(this.l3h_1, this.f3h_1.dw());
1835
+ var tmp_1 = this.f3h_1.ew().applySubstitution(unifyingSubstitution);
1841
1836
  var wellFormedRuleBody = isInterface(tmp_1, Struct) ? tmp_1 : THROW_CCE();
1842
1837
  var tmp_2 = this;
1843
- var tmp0_$receiver = this.c3h_1.s3h_1;
1838
+ var tmp0_$receiver = this.b3h_1.r3h_1;
1844
1839
  var tmp1_requestIssuingInstant = currentTimeInstant();
1845
- tmp_2.i3h_1 = newSolveRequest(tmp0_$receiver, wellFormedRuleBody, unifyingSubstitution, VOID, VOID, tmp1_requestIssuingInstant, this.l3h_1);
1846
- this.k3h_1 = new StateInit(initializeForSubRuleScope(Companion_instance_14, this.i3h_1));
1847
- var it = this.k3h_1;
1840
+ tmp_2.h3h_1 = newSolveRequest(tmp0_$receiver, wellFormedRuleBody, unifyingSubstitution, VOID, VOID, tmp1_requestIssuingInstant, this.k3h_1);
1841
+ this.j3h_1 = new StateInit(initializeForSubRuleScope(Companion_instance_14, this.h3h_1));
1842
+ var it = this.j3h_1;
1848
1843
  this.b8_1 = 2;
1849
- suspendResult = this.d3h_1.gd(asAlreadyExecuted(it), this);
1844
+ suspendResult = this.c3h_1.bd(asAlreadyExecuted(it), this);
1850
1845
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1851
1846
  return suspendResult;
1852
1847
  }
1853
1848
 
1854
1849
  continue $sm;
1855
1850
  case 2:
1856
- var subInitialState = this.k3h_1;
1857
- this.e3h_1 = false;
1858
- this.j3h_1 = this.c3h_1.t3h_1(subInitialState).p();
1851
+ var subInitialState = this.j3h_1;
1852
+ this.d3h_1 = false;
1853
+ this.i3h_1 = this.b3h_1.s3h_1(subInitialState).n();
1859
1854
  this.b8_1 = 3;
1860
1855
  continue $sm;
1861
1856
  case 3:
1862
- if (!this.j3h_1.s()) {
1857
+ if (!this.i3h_1.q()) {
1863
1858
  this.b8_1 = 8;
1864
1859
  continue $sm;
1865
1860
  }
1866
1861
 
1867
- var element = this.j3h_1.t();
1868
- this.f3h_1 = element.h3d_1;
1862
+ var element = this.i3h_1.r();
1863
+ this.e3h_1 = element.g3d_1;
1869
1864
  var tmp_3;
1870
- var tmp_4 = this.f3h_1;
1865
+ var tmp_4 = this.e3h_1;
1871
1866
  if (isInterface(tmp_4, FinalState)) {
1872
- tmp_3 = this.f3h_1.y3a().solution.j1t().equals(this.i3h_1.j1t());
1867
+ tmp_3 = this.e3h_1.x3a().solution.i1t().equals(this.h3h_1.i1t());
1873
1868
  } else {
1874
1869
  tmp_3 = false;
1875
1870
  }
1876
1871
 
1877
1872
  if (tmp_3) {
1878
- if (shouldCutExecuteInRuleSelection(this.f3h_1.y3a().sideEffectManager)) {
1879
- this.e3h_1 = true;
1873
+ if (shouldCutExecuteInRuleSelection(this.e3h_1.x3a().sideEffectManager)) {
1874
+ this.d3h_1 = true;
1880
1875
  }
1881
1876
  var tmp_5;
1882
1877
  var tmp_6;
1883
- var tmp_7 = this.f3h_1;
1878
+ var tmp_7 = this.e3h_1;
1884
1879
  if (!(tmp_7 instanceof False)) {
1885
1880
  tmp_6 = true;
1886
1881
  } else {
1887
- tmp_6 = !this.h3h_1;
1882
+ tmp_6 = !this.g3h_1;
1888
1883
  }
1889
1884
  if (tmp_6) {
1890
1885
  tmp_5 = true;
1891
1886
  } else {
1892
- tmp_5 = this.e3h_1;
1887
+ tmp_5 = this.d3h_1;
1893
1888
  }
1894
1889
  if (tmp_5) {
1895
- var extendedScopeSideEffectManager = extendParentScopeWith(this.f3h_1.y3a().sideEffectManager, this.c3h_1.s3h_1.context.q3b_1);
1890
+ var extendedScopeSideEffectManager = extendParentScopeWith(this.e3h_1.x3a().sideEffectManager, this.b3h_1.r3h_1.context.p3b_1);
1896
1891
  this.b8_1 = 5;
1897
- suspendResult = this.d3h_1.gd(stateEnd(this.c3h_1, this.f3h_1.y3a().j2f(removeSubstitutionFor(Companion_instance_14, this.f3h_1.y3a().solution, this.g3h_1.bu()), extendedScopeSideEffectManager)), this);
1892
+ suspendResult = this.c3h_1.bd(stateEnd(this.b3h_1, this.e3h_1.x3a().i2f(removeSubstitutionFor(Companion_instance_14, this.e3h_1.x3a().solution, this.f3h_1.zt()), extendedScopeSideEffectManager)), this);
1898
1893
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1899
1894
  return suspendResult;
1900
1895
  }
@@ -1905,7 +1900,7 @@
1905
1900
  }
1906
1901
  } else {
1907
1902
  this.b8_1 = 4;
1908
- suspendResult = this.d3h_1.gd(element, this);
1903
+ suspendResult = this.c3h_1.bd(element, this);
1909
1904
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1910
1905
  return suspendResult;
1911
1906
  }
@@ -1919,7 +1914,7 @@
1919
1914
  this.b8_1 = 6;
1920
1915
  continue $sm;
1921
1916
  case 6:
1922
- var tmp_8 = this.f3h_1;
1917
+ var tmp_8 = this.e3h_1;
1923
1918
  if (tmp_8 instanceof Halt_0)
1924
1919
  return Unit_instance;
1925
1920
  this.b8_1 = 7;
@@ -1928,7 +1923,7 @@
1928
1923
  this.b8_1 = 3;
1929
1924
  continue $sm;
1930
1925
  case 8:
1931
- if (this.e3h_1)
1926
+ if (this.d3h_1)
1932
1927
  return Unit_instance;
1933
1928
  this.b8_1 = 1;
1934
1929
  continue $sm;
@@ -1954,36 +1949,34 @@
1954
1949
  }
1955
1950
  while (true);
1956
1951
  };
1957
- protoOf(StateRuleSelection$behaveTimed$slambda).w3d = function ($this$sequence, completion) {
1958
- var i = new StateRuleSelection$behaveTimed$slambda(this.c3h_1, completion);
1959
- i.d3h_1 = $this$sequence;
1952
+ protoOf(StateRuleSelection$behaveTimed$slambda).v3d = function ($this$sequence, completion) {
1953
+ var i = new StateRuleSelection$behaveTimed$slambda(this.b3h_1, completion);
1954
+ i.c3h_1 = $this$sequence;
1960
1955
  return i;
1961
1956
  };
1962
1957
  function StateRuleSelection$behaveTimed$slambda_0(this$0, resultContinuation) {
1963
1958
  var i = new StateRuleSelection$behaveTimed$slambda(this$0, resultContinuation);
1964
- var l = function ($this$sequence, $completion) {
1965
- return i.v3d($this$sequence, $completion);
1966
- };
1967
- l.$arity = 1;
1968
- return l;
1959
+ return constructCallableReference(function ($this$sequence, $completion) {
1960
+ return i.u3d($this$sequence, $completion);
1961
+ }, 1);
1969
1962
  }
1970
1963
  function StateRuleSelection(solve) {
1971
1964
  AbstractTimedState.call(this, solve);
1972
- this.s3h_1 = solve;
1965
+ this.r3h_1 = solve;
1973
1966
  var tmp = this;
1974
- tmp.t3h_1 = StateMachineExecutor$executeWrapping$ref(StateMachineExecutor_instance);
1967
+ tmp.s3h_1 = StateMachineExecutor$executeWrapping$ref(StateMachineExecutor_instance);
1975
1968
  }
1976
- protoOf(StateRuleSelection).y3a = function () {
1977
- return this.s3h_1;
1969
+ protoOf(StateRuleSelection).x3a = function () {
1970
+ return this.r3h_1;
1978
1971
  };
1979
- protoOf(StateRuleSelection).c3e = function () {
1972
+ protoOf(StateRuleSelection).b3e = function () {
1980
1973
  return sequence(StateRuleSelection$behaveTimed$slambda_0(this, null));
1981
1974
  };
1982
1975
  function DefaultBuiltins() {
1983
1976
  DefaultBuiltins_instance = this;
1984
1977
  ExtensionLibrary.call(this, CommonBuiltins_getInstance());
1985
1978
  }
1986
- protoOf(DefaultBuiltins).l2b = function () {
1979
+ protoOf(DefaultBuiltins).k2b = function () {
1987
1980
  return listOf_0([Call_getInstance(), Catch_getInstance(), Conjunction_getInstance(), Cut_getInstance(), Throw_getInstance(), Not_getInstance()]);
1988
1981
  };
1989
1982
  var DefaultBuiltins_instance;
@@ -1994,27 +1987,27 @@
1994
1987
  }
1995
1988
  function Call$uncheckedImplementation$lambda($request) {
1996
1989
  return function (it) {
1997
- return replyWith($request, it.j2f(VOID, resetCutWorkChanges(it.sideEffectManager, $request.context.q3b_1)));
1990
+ return replyWith($request, it.i2f(VOID, resetCutWorkChanges(it.sideEffectManager, $request.context.p3b_1)));
1998
1991
  };
1999
1992
  }
2000
1993
  function Call() {
2001
1994
  Call_instance = this;
2002
1995
  PrimitiveWrapper_init_$Init$('call', 1, VOID, this);
2003
1996
  }
2004
- protoOf(Call).b3i = function (request) {
1997
+ protoOf(Call).a3i = function (request) {
2005
1998
  // Inline function 'kotlin.let' call
2006
- var toBeCalledGoal = single(Companion_getInstance_4().l2c(request).arguments);
1999
+ var toBeCalledGoal = single(Companion_getInstance_4().k2c(request).arguments);
2007
2000
  var tmp;
2008
2001
  if (isWellFormed(toBeCalledGoal)) {
2009
- var tmp_0 = Companion_instance_11.b3b(newSolveRequest(request, prepareForExecutionAsGoal(toBeCalledGoal)));
2002
+ var tmp_0 = Companion_instance_11.a3b(newSolveRequest(request, prepareForExecutionAsGoal(toBeCalledGoal)));
2010
2003
  tmp = map(tmp_0, Call$uncheckedImplementation$lambda(request));
2011
2004
  } else {
2012
2005
  throw TypeError_init_$Create$('call/1 argument is neither a Variable nor a well-formed goal', VOID, request.context, Expected_CALLABLE_getInstance(), toBeCalledGoal);
2013
2006
  }
2014
2007
  return tmp;
2015
2008
  };
2016
- protoOf(Call).x2c = function (request) {
2017
- return this.b3i(request);
2009
+ protoOf(Call).w2c = function (request) {
2010
+ return this.a3i(request);
2018
2011
  };
2019
2012
  var Call_instance;
2020
2013
  function Call_getInstance() {
@@ -2033,21 +2026,21 @@
2033
2026
  var tmp$ret$0 = Call_getInstance().signature.name;
2034
2027
  return tmp.of(tmp$ret$0, [goal]);
2035
2028
  }
2036
- function ensureNoMoreSelectableCatch($this, _this__u8e3s4, notSelectableContext) {
2037
- return _this__u8e3s4.e2f(VOID, VOID, _this__u8e3s4.context.m3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, _this__u8e3s4.context.q3b_1.j3c(notSelectableContext)));
2029
+ function ensureNoMoreSelectableCatch($this, $receiver, notSelectableContext) {
2030
+ return $receiver.d2f(VOID, VOID, $receiver.context.l3c(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $receiver.context.p3b_1.i3c(notSelectableContext)));
2038
2031
  }
2039
2032
  function Catch$uncheckedImplementation$slambda($request, resultContinuation) {
2040
- this.k3i_1 = $request;
2033
+ this.j3i_1 = $request;
2041
2034
  CoroutineImpl.call(this, resultContinuation);
2042
2035
  }
2043
- protoOf(Catch$uncheckedImplementation$slambda).g2n = function ($this$sequence, $completion) {
2044
- var tmp = this.h2n($this$sequence, $completion);
2036
+ protoOf(Catch$uncheckedImplementation$slambda).f2n = function ($this$sequence, $completion) {
2037
+ var tmp = this.g2n($this$sequence, $completion);
2045
2038
  tmp.d8_1 = Unit_instance;
2046
2039
  tmp.e8_1 = null;
2047
2040
  return tmp.j8();
2048
2041
  };
2049
2042
  protoOf(Catch$uncheckedImplementation$slambda).a9 = function (p1, $completion) {
2050
- return this.g2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2043
+ return this.f2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2051
2044
  };
2052
2045
  protoOf(Catch$uncheckedImplementation$slambda).j8 = function () {
2053
2046
  var suspendResult = this.d8_1;
@@ -2057,30 +2050,30 @@
2057
2050
  switch (tmp) {
2058
2051
  case 0:
2059
2052
  this.c8_1 = 6;
2060
- var goalArgument = first_0(this.k3i_1.arguments);
2061
- this.m3i_1 = Companion_instance_11.b3b(newSolveRequest(this.k3i_1, call(Catch_getInstance(), goalArgument))).p();
2053
+ var goalArgument = first_0(this.j3i_1.arguments);
2054
+ this.l3i_1 = Companion_instance_11.a3b(newSolveRequest(this.j3i_1, call(Catch_getInstance(), goalArgument))).n();
2062
2055
  this.b8_1 = 1;
2063
2056
  continue $sm;
2064
2057
  case 1:
2065
- if (!this.m3i_1.s()) {
2058
+ if (!this.l3i_1.q()) {
2066
2059
  this.b8_1 = 5;
2067
2060
  continue $sm;
2068
2061
  }
2069
2062
 
2070
- var element = this.m3i_1.t();
2071
- if (isSelectedThrowCatch(element.sideEffectManager, this.k3i_1.context)) {
2072
- var recoverGoalArgument = last(this.k3i_1.arguments).applySubstitution(element.solution.g1s());
2073
- var recoverGoalSolveRequest = ensureNoMoreSelectableCatch(Catch_getInstance(), newSolveRequest(this.k3i_1, call(Catch_getInstance(), recoverGoalArgument), element.solution.g1s().minus(this.k3i_1.context.m3b_1), VOID, VOID, currentTimeInstant()), this.k3i_1.context);
2063
+ var element = this.l3i_1.r();
2064
+ if (isSelectedThrowCatch(element.sideEffectManager, this.j3i_1.context)) {
2065
+ var recoverGoalArgument = last(this.j3i_1.arguments).applySubstitution(element.solution.f1s());
2066
+ var recoverGoalSolveRequest = ensureNoMoreSelectableCatch(Catch_getInstance(), newSolveRequest(this.j3i_1, call(Catch_getInstance(), recoverGoalArgument), element.solution.f1s().minus(this.j3i_1.context.l3b_1), VOID, VOID, currentTimeInstant()), this.j3i_1.context);
2074
2067
  this.b8_1 = 3;
2075
- var tmp_0 = Companion_instance_11.b3b(recoverGoalSolveRequest);
2076
- suspendResult = this.l3i_1.jd(map(tmp_0, Catch$uncheckedImplementation$slambda$lambda(this.k3i_1)), this);
2068
+ var tmp_0 = Companion_instance_11.a3b(recoverGoalSolveRequest);
2069
+ suspendResult = this.k3i_1.ed(map(tmp_0, Catch$uncheckedImplementation$slambda$lambda(this.j3i_1)), this);
2077
2070
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2078
2071
  return suspendResult;
2079
2072
  }
2080
2073
  continue $sm;
2081
2074
  } else {
2082
2075
  this.b8_1 = 2;
2083
- suspendResult = this.l3i_1.gd(replyWith(this.k3i_1, element), this);
2076
+ suspendResult = this.k3i_1.bd(replyWith(this.j3i_1, element), this);
2084
2077
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2085
2078
  return suspendResult;
2086
2079
  }
@@ -2112,28 +2105,26 @@
2112
2105
  }
2113
2106
  while (true);
2114
2107
  };
2115
- protoOf(Catch$uncheckedImplementation$slambda).h2n = function ($this$sequence, completion) {
2116
- var i = new Catch$uncheckedImplementation$slambda(this.k3i_1, completion);
2117
- i.l3i_1 = $this$sequence;
2108
+ protoOf(Catch$uncheckedImplementation$slambda).g2n = function ($this$sequence, completion) {
2109
+ var i = new Catch$uncheckedImplementation$slambda(this.j3i_1, completion);
2110
+ i.k3i_1 = $this$sequence;
2118
2111
  return i;
2119
2112
  };
2120
2113
  function Catch$uncheckedImplementation$slambda_0($request, resultContinuation) {
2121
2114
  var i = new Catch$uncheckedImplementation$slambda($request, resultContinuation);
2122
- var l = function ($this$sequence, $completion) {
2123
- return i.g2n($this$sequence, $completion);
2124
- };
2125
- l.$arity = 1;
2126
- return l;
2115
+ return constructCallableReference(function ($this$sequence, $completion) {
2116
+ return i.f2n($this$sequence, $completion);
2117
+ }, 1);
2127
2118
  }
2128
2119
  function Catch() {
2129
2120
  Catch_instance = this;
2130
2121
  PrimitiveWrapper_init_$Init$('catch', 3, VOID, this);
2131
2122
  }
2132
- protoOf(Catch).b3i = function (request) {
2123
+ protoOf(Catch).a3i = function (request) {
2133
2124
  return sequence(Catch$uncheckedImplementation$slambda_0(request, null));
2134
2125
  };
2135
- protoOf(Catch).x2c = function (request) {
2136
- return this.b3i(request);
2126
+ protoOf(Catch).w2c = function (request) {
2127
+ return this.a3i(request);
2137
2128
  };
2138
2129
  var Catch_instance;
2139
2130
  function Catch_getInstance() {
@@ -2141,31 +2132,24 @@
2141
2132
  new Catch();
2142
2133
  return Catch_instance;
2143
2134
  }
2144
- function SolverStrategies$predicationChoiceStrategy$ref(p0) {
2145
- var l = function (_this__u8e3s4, p0_0) {
2146
- return p0.u3a(_this__u8e3s4, p0_0);
2147
- };
2148
- l.callableName = 'predicationChoiceStrategy';
2149
- return l;
2150
- }
2151
- function solveConjunctionGoals($this, _this__u8e3s4, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion) {
2152
- var tmp = new $solveConjunctionGoalsCOROUTINE$($this, _this__u8e3s4, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion);
2135
+ function solveConjunctionGoals($this, $receiver, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion) {
2136
+ var tmp = new $solveConjunctionGoalsCOROUTINE$($this, $receiver, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, $completion);
2153
2137
  tmp.d8_1 = Unit_instance;
2154
2138
  tmp.e8_1 = null;
2155
2139
  return tmp.j8();
2156
2140
  }
2157
2141
  function Conjunction$uncheckedImplementation$slambda($request, resultContinuation) {
2158
- this.s3j_1 = $request;
2142
+ this.r3j_1 = $request;
2159
2143
  CoroutineImpl.call(this, resultContinuation);
2160
2144
  }
2161
- protoOf(Conjunction$uncheckedImplementation$slambda).g2n = function ($this$sequence, $completion) {
2162
- var tmp = this.h2n($this$sequence, $completion);
2145
+ protoOf(Conjunction$uncheckedImplementation$slambda).f2n = function ($this$sequence, $completion) {
2146
+ var tmp = this.g2n($this$sequence, $completion);
2163
2147
  tmp.d8_1 = Unit_instance;
2164
2148
  tmp.e8_1 = null;
2165
2149
  return tmp.j8();
2166
2150
  };
2167
2151
  protoOf(Conjunction$uncheckedImplementation$slambda).a9 = function (p1, $completion) {
2168
- return this.g2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2152
+ return this.f2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2169
2153
  };
2170
2154
  protoOf(Conjunction$uncheckedImplementation$slambda).j8 = function () {
2171
2155
  var suspendResult = this.d8_1;
@@ -2175,11 +2159,11 @@
2175
2159
  switch (tmp) {
2176
2160
  case 0:
2177
2161
  this.c8_1 = 2;
2178
- var $this$with = this.s3j_1;
2179
- var tmp_0 = $this$with.j1t().castToTuple().ps();
2180
- var subGoals = toList(orderWithStrategy(tmp_0, $this$with.context, SolverStrategies$predicationChoiceStrategy$ref($this$with.context.p3b_1)));
2162
+ var $this$with = this.r3j_1;
2163
+ var tmp_0 = $this$with.i1t().castToTuple().ns();
2164
+ var subGoals = toList(orderWithStrategy(tmp_0, $this$with.context, SolverStrategies$predicationChoiceStrategy$ref($this$with.context.o3b_1)));
2181
2165
  this.b8_1 = 1;
2182
- suspendResult = solveConjunctionGoals(Conjunction_getInstance(), this.t3j_1, this.s3j_1, subGoals, this.s3j_1.context, Companion_getInstance_2().empty(), emptyList(), this.s3j_1.context.q3b_1, false, this);
2166
+ suspendResult = solveConjunctionGoals(Conjunction_getInstance(), this.s3j_1, this.r3j_1, subGoals, this.r3j_1.context, Companion_getInstance_2().empty(), emptyList(), this.r3j_1.context.p3b_1, false, this);
2183
2167
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2184
2168
  return suspendResult;
2185
2169
  }
@@ -2201,30 +2185,28 @@
2201
2185
  }
2202
2186
  while (true);
2203
2187
  };
2204
- protoOf(Conjunction$uncheckedImplementation$slambda).h2n = function ($this$sequence, completion) {
2205
- var i = new Conjunction$uncheckedImplementation$slambda(this.s3j_1, completion);
2206
- i.t3j_1 = $this$sequence;
2188
+ protoOf(Conjunction$uncheckedImplementation$slambda).g2n = function ($this$sequence, completion) {
2189
+ var i = new Conjunction$uncheckedImplementation$slambda(this.r3j_1, completion);
2190
+ i.s3j_1 = $this$sequence;
2207
2191
  return i;
2208
2192
  };
2209
2193
  function Conjunction$uncheckedImplementation$slambda_0($request, resultContinuation) {
2210
2194
  var i = new Conjunction$uncheckedImplementation$slambda($request, resultContinuation);
2211
- var l = function ($this$sequence, $completion) {
2212
- return i.g2n($this$sequence, $completion);
2213
- };
2214
- l.$arity = 1;
2215
- return l;
2195
+ return constructCallableReference(function ($this$sequence, $completion) {
2196
+ return i.f2n($this$sequence, $completion);
2197
+ }, 1);
2216
2198
  }
2217
2199
  function $solveConjunctionGoalsCOROUTINE$(_this__u8e3s4, _this__u8e3s4_0, mainRequest, goals, toPropagateContext, accumulatedSubstitutions, accumulatedSideEffects, previousResponseSideEffectManager, previousGoalsHadAlternatives, resultContinuation) {
2218
2200
  CoroutineImpl.call(this, resultContinuation);
2219
- this.w3i_1 = _this__u8e3s4;
2220
- this.x3i_1 = _this__u8e3s4_0;
2221
- this.y3i_1 = mainRequest;
2222
- this.z3i_1 = goals;
2223
- this.a3j_1 = toPropagateContext;
2224
- this.b3j_1 = accumulatedSubstitutions;
2225
- this.c3j_1 = accumulatedSideEffects;
2226
- this.d3j_1 = previousResponseSideEffectManager;
2227
- this.e3j_1 = previousGoalsHadAlternatives;
2201
+ this.v3i_1 = _this__u8e3s4;
2202
+ this.w3i_1 = _this__u8e3s4_0;
2203
+ this.x3i_1 = mainRequest;
2204
+ this.y3i_1 = goals;
2205
+ this.z3i_1 = toPropagateContext;
2206
+ this.a3j_1 = accumulatedSubstitutions;
2207
+ this.b3j_1 = accumulatedSideEffects;
2208
+ this.c3j_1 = previousResponseSideEffectManager;
2209
+ this.d3j_1 = previousGoalsHadAlternatives;
2228
2210
  }
2229
2211
  protoOf($solveConjunctionGoalsCOROUTINE$).j8 = function () {
2230
2212
  var suspendResult = this.d8_1;
@@ -2234,48 +2216,48 @@
2234
2216
  switch (tmp) {
2235
2217
  case 0:
2236
2218
  this.c8_1 = 7;
2237
- this.i3j_1 = prepareForExecutionAsGoal(first_1(this.z3i_1).applySubstitution(this.b3j_1));
2238
- var tmp0_elvis_lhs = this.d3j_1;
2239
- var goalRequest = newSolveRequest(this.y3i_1, this.i3j_1, this.b3j_1, this.a3j_1, tmp0_elvis_lhs == null ? this.y3i_1.context.q3b_1 : tmp0_elvis_lhs);
2240
- this.g3j_1 = false;
2241
- this.f3j_1 = emptyList();
2242
- this.j3j_1 = Companion_instance_11.z3a(goalRequest).p();
2219
+ this.h3j_1 = prepareForExecutionAsGoal(first_1(this.y3i_1).applySubstitution(this.a3j_1));
2220
+ var tmp0_elvis_lhs = this.c3j_1;
2221
+ var goalRequest = newSolveRequest(this.x3i_1, this.h3j_1, this.a3j_1, this.z3i_1, tmp0_elvis_lhs == null ? this.x3i_1.context.p3b_1 : tmp0_elvis_lhs);
2222
+ this.f3j_1 = false;
2223
+ this.e3j_1 = emptyList();
2224
+ this.i3j_1 = Companion_instance_11.y3a(goalRequest).n();
2243
2225
  this.b8_1 = 1;
2244
2226
  continue $sm;
2245
2227
  case 1:
2246
- if (!this.j3j_1.s()) {
2228
+ if (!this.i3j_1.q()) {
2247
2229
  this.b8_1 = 6;
2248
2230
  continue $sm;
2249
2231
  }
2250
2232
 
2251
- var tmp0 = this.j3j_1.t();
2252
- var currentHasAlternatives = this.j3j_1.s();
2253
- this.h3j_1 = tmp0.y3a();
2233
+ var tmp0 = this.i3j_1.r();
2234
+ var currentHasAlternatives = this.i3j_1.q();
2235
+ this.g3j_1 = tmp0.x3a();
2254
2236
  var tmp_0;
2255
- if (Cut_getInstance().signature.name === this.i3j_1.zt()) {
2237
+ if (Cut_getInstance().signature.name === this.h3j_1.xt()) {
2256
2238
  tmp_0 = true;
2257
2239
  } else {
2258
- var tmp0_safe_receiver = this.h3j_1.sideEffectManager;
2240
+ var tmp0_safe_receiver = this.g3j_1.sideEffectManager;
2259
2241
  tmp_0 = (tmp0_safe_receiver == null ? null : shouldExecuteThrowCut(tmp0_safe_receiver)) === true;
2260
2242
  }
2261
2243
 
2262
2244
  if (tmp_0) {
2263
- this.g3j_1 = true;
2245
+ this.f3j_1 = true;
2264
2246
  }
2265
2247
 
2266
- this.f3j_1 = addWithNoDuplicates(this.f3j_1, this.h3j_1.sideEffects);
2248
+ this.e3j_1 = addWithNoDuplicates(this.e3j_1, this.g3j_1.sideEffects);
2267
2249
  var tmp_1;
2268
2250
  var tmp_2;
2269
- var tmp1_safe_receiver = this.h3j_1.sideEffectManager;
2251
+ var tmp1_safe_receiver = this.g3j_1.sideEffectManager;
2270
2252
  if ((tmp1_safe_receiver == null ? null : shouldExecuteThrowCut(tmp1_safe_receiver)) === false) {
2271
- var tmp_3 = this.h3j_1.solution;
2253
+ var tmp_3 = this.g3j_1.solution;
2272
2254
  tmp_2 = isInterface(tmp_3, Yes);
2273
2255
  } else {
2274
2256
  tmp_2 = false;
2275
2257
  }
2276
2258
 
2277
2259
  if (tmp_2) {
2278
- tmp_1 = moreThanOne(asSequence(this.z3i_1));
2260
+ tmp_1 = moreThanOne(asSequence(this.y3i_1));
2279
2261
  } else {
2280
2262
  tmp_1 = false;
2281
2263
  }
@@ -2283,12 +2265,12 @@
2283
2265
  if (tmp_1) {
2284
2266
  this.b8_1 = 4;
2285
2267
  var tmp_4 = Conjunction_getInstance();
2286
- var tmp_5 = drop(this.z3i_1, 1);
2287
- var tmp_6 = tmp0.h8().s2y(this.f3j_1);
2288
- var tmp_7 = this.h3j_1.solution.g1s().minus(this.y3i_1.context.m3b_1);
2289
- var tmp_8 = this.f3j_1;
2290
- var tmp_9 = this.h3j_1.sideEffectManager;
2291
- suspendResult = solveConjunctionGoals(tmp_4, this.x3i_1, this.y3i_1, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9 instanceof SideEffectManagerImpl ? tmp_9 : null, this.e3j_1 || currentHasAlternatives, this);
2268
+ var tmp_5 = drop(this.y3i_1, 1);
2269
+ var tmp_6 = tmp0.h8().r2y(this.e3j_1);
2270
+ var tmp_7 = this.g3j_1.solution.f1s().minus(this.x3i_1.context.l3b_1);
2271
+ var tmp_8 = this.e3j_1;
2272
+ var tmp_9 = this.g3j_1.sideEffectManager;
2273
+ suspendResult = solveConjunctionGoals(tmp_4, this.w3i_1, this.x3i_1, tmp_5, tmp_6, tmp_7, tmp_8, tmp_9 instanceof SideEffectManagerImpl ? tmp_9 : null, this.d3j_1 || currentHasAlternatives, this);
2292
2274
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2293
2275
  return suspendResult;
2294
2276
  }
@@ -2296,20 +2278,20 @@
2296
2278
  } else {
2297
2279
  var tmp_10;
2298
2280
  var tmp_11;
2299
- var tmp_12 = this.h3j_1.solution;
2281
+ var tmp_12 = this.g3j_1.solution;
2300
2282
  if (!isInterface(tmp_12, No)) {
2301
2283
  tmp_11 = true;
2302
2284
  } else {
2303
- tmp_11 = (!this.e3j_1 && !currentHasAlternatives);
2285
+ tmp_11 = (!this.d3j_1 && !currentHasAlternatives);
2304
2286
  }
2305
2287
  if (tmp_11) {
2306
2288
  tmp_10 = true;
2307
2289
  } else {
2308
- tmp_10 = this.g3j_1;
2290
+ tmp_10 = this.f3j_1;
2309
2291
  }
2310
2292
  if (tmp_10) {
2311
2293
  this.b8_1 = 2;
2312
- suspendResult = this.x3i_1.gd(replyWith(this.y3i_1, this.h3j_1.j2f(VOID, VOID, plus_1(this.c3j_1, this.f3j_1))), this);
2294
+ suspendResult = this.w3i_1.bd(replyWith(this.x3i_1, this.g3j_1.i2f(VOID, VOID, plus_1(this.b3j_1, this.e3j_1))), this);
2313
2295
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2314
2296
  return suspendResult;
2315
2297
  }
@@ -2328,30 +2310,30 @@
2328
2310
  continue $sm;
2329
2311
  case 4:
2330
2312
  var sideEffectPair = suspendResult;
2331
- if (sideEffectPair.xc_1) {
2332
- this.g3j_1 = true;
2313
+ if (sideEffectPair.first) {
2314
+ this.f3j_1 = true;
2333
2315
  }
2334
2316
 
2335
- this.f3j_1 = sideEffectPair.yc_1;
2317
+ this.e3j_1 = sideEffectPair.second;
2336
2318
  this.b8_1 = 5;
2337
2319
  continue $sm;
2338
2320
  case 5:
2339
2321
  var tmp_13;
2340
- if (this.g3j_1) {
2322
+ if (this.f3j_1) {
2341
2323
  tmp_13 = true;
2342
2324
  } else {
2343
- var tmp_14 = this.h3j_1.solution;
2325
+ var tmp_14 = this.g3j_1.solution;
2344
2326
  tmp_13 = isInterface(tmp_14, Halt);
2345
2327
  }
2346
2328
 
2347
2329
  if (tmp_13) {
2348
- return new Pair(true, plus_1(this.c3j_1, this.f3j_1));
2330
+ return new Pair(true, plus_1(this.b3j_1, this.e3j_1));
2349
2331
  }
2350
2332
 
2351
2333
  this.b8_1 = 1;
2352
2334
  continue $sm;
2353
2335
  case 6:
2354
- return new Pair(this.g3j_1, plus_1(this.c3j_1, this.f3j_1));
2336
+ return new Pair(this.f3j_1, plus_1(this.b3j_1, this.e3j_1));
2355
2337
  case 7:
2356
2338
  throw this.e8_1;
2357
2339
  }
@@ -2370,11 +2352,11 @@
2370
2352
  Conjunction_instance = this;
2371
2353
  PrimitiveWrapper_init_$Init$(',', 2, VOID, this);
2372
2354
  }
2373
- protoOf(Conjunction).b3i = function (request) {
2355
+ protoOf(Conjunction).a3i = function (request) {
2374
2356
  return sequence(Conjunction$uncheckedImplementation$slambda_0(request, null));
2375
2357
  };
2376
- protoOf(Conjunction).x2c = function (request) {
2377
- return this.b3i(request);
2358
+ protoOf(Conjunction).w2c = function (request) {
2359
+ return this.a3i(request);
2378
2360
  };
2379
2361
  var Conjunction_instance;
2380
2362
  function Conjunction_getInstance() {
@@ -2386,12 +2368,12 @@
2386
2368
  Cut_instance = this;
2387
2369
  PrimitiveWrapper_init_$Init$('!', 0, VOID, this);
2388
2370
  }
2389
- protoOf(Cut).b3i = function (request) {
2371
+ protoOf(Cut).a3i = function (request) {
2390
2372
  // Inline function 'kotlin.with' call
2391
- return sequenceOf(request.replySuccess(request.context.m3b_1, request.context.q3b_1.y3b(), []));
2373
+ return sequenceOf(request.replySuccess(request.context.l3b_1, request.context.p3b_1.x3b(), []));
2392
2374
  };
2393
- protoOf(Cut).x2c = function (request) {
2394
- return this.b3i(request);
2375
+ protoOf(Cut).w2c = function (request) {
2376
+ return this.a3i(request);
2395
2377
  };
2396
2378
  var Cut_instance;
2397
2379
  function Cut_getInstance() {
@@ -2400,17 +2382,17 @@
2400
2382
  return Cut_instance;
2401
2383
  }
2402
2384
  function Not$uncheckedImplementation$slambda($request, resultContinuation) {
2403
- this.e3k_1 = $request;
2385
+ this.d3k_1 = $request;
2404
2386
  CoroutineImpl.call(this, resultContinuation);
2405
2387
  }
2406
- protoOf(Not$uncheckedImplementation$slambda).g2n = function ($this$sequence, $completion) {
2407
- var tmp = this.h2n($this$sequence, $completion);
2388
+ protoOf(Not$uncheckedImplementation$slambda).f2n = function ($this$sequence, $completion) {
2389
+ var tmp = this.g2n($this$sequence, $completion);
2408
2390
  tmp.d8_1 = Unit_instance;
2409
2391
  tmp.e8_1 = null;
2410
2392
  return tmp.j8();
2411
2393
  };
2412
2394
  protoOf(Not$uncheckedImplementation$slambda).a9 = function (p1, $completion) {
2413
- return this.g2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2395
+ return this.f2n(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
2414
2396
  };
2415
2397
  protoOf(Not$uncheckedImplementation$slambda).j8 = function () {
2416
2398
  var suspendResult = this.d8_1;
@@ -2420,24 +2402,24 @@
2420
2402
  switch (tmp) {
2421
2403
  case 0:
2422
2404
  this.c8_1 = 7;
2423
- var goalArgument = single(this.e3k_1.arguments);
2405
+ var goalArgument = single(this.d3k_1.arguments);
2424
2406
  var tmp_0 = Companion_instance_11;
2425
2407
  var tmp_1 = Companion_getInstance_3();
2426
2408
  var this_0 = Call_getInstance();
2427
- this.g3k_1 = tmp_0.b3b(newSolveRequest(this.e3k_1, tmp_1.of(this_0.signature.name, [goalArgument]))).p();
2409
+ this.f3k_1 = tmp_0.a3b(newSolveRequest(this.d3k_1, tmp_1.of(this_0.signature.name, [goalArgument]))).n();
2428
2410
  this.b8_1 = 1;
2429
2411
  continue $sm;
2430
2412
  case 1:
2431
- if (!this.g3k_1.s()) {
2413
+ if (!this.f3k_1.q()) {
2432
2414
  this.b8_1 = 6;
2433
2415
  continue $sm;
2434
2416
  }
2435
2417
 
2436
- var element = this.g3k_1.t();
2418
+ var element = this.f3k_1.r();
2437
2419
  var tmp0_subject = element.solution;
2438
2420
  if (isInterface(tmp0_subject, Yes)) {
2439
2421
  this.b8_1 = 5;
2440
- suspendResult = this.f3k_1.gd(this.e3k_1.replyFail(VOID, []), this);
2422
+ suspendResult = this.e3k_1.bd(this.d3k_1.replyFail(VOID, []), this);
2441
2423
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2442
2424
  return suspendResult;
2443
2425
  }
@@ -2445,14 +2427,14 @@
2445
2427
  } else {
2446
2428
  if (isInterface(tmp0_subject, No)) {
2447
2429
  this.b8_1 = 3;
2448
- suspendResult = this.f3k_1.gd(this.e3k_1.replySuccess(this.e3k_1.context.m3b_1, VOID, []), this);
2430
+ suspendResult = this.e3k_1.bd(this.d3k_1.replySuccess(this.d3k_1.context.l3b_1, VOID, []), this);
2449
2431
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2450
2432
  return suspendResult;
2451
2433
  }
2452
2434
  continue $sm;
2453
2435
  } else {
2454
2436
  this.b8_1 = 2;
2455
- suspendResult = this.f3k_1.gd(replyWith(this.e3k_1, element), this);
2437
+ suspendResult = this.e3k_1.bd(replyWith(this.d3k_1, element), this);
2456
2438
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2457
2439
  return suspendResult;
2458
2440
  }
@@ -2487,28 +2469,26 @@
2487
2469
  }
2488
2470
  while (true);
2489
2471
  };
2490
- protoOf(Not$uncheckedImplementation$slambda).h2n = function ($this$sequence, completion) {
2491
- var i = new Not$uncheckedImplementation$slambda(this.e3k_1, completion);
2492
- i.f3k_1 = $this$sequence;
2472
+ protoOf(Not$uncheckedImplementation$slambda).g2n = function ($this$sequence, completion) {
2473
+ var i = new Not$uncheckedImplementation$slambda(this.d3k_1, completion);
2474
+ i.e3k_1 = $this$sequence;
2493
2475
  return i;
2494
2476
  };
2495
2477
  function Not$uncheckedImplementation$slambda_0($request, resultContinuation) {
2496
2478
  var i = new Not$uncheckedImplementation$slambda($request, resultContinuation);
2497
- var l = function ($this$sequence, $completion) {
2498
- return i.g2n($this$sequence, $completion);
2499
- };
2500
- l.$arity = 1;
2501
- return l;
2479
+ return constructCallableReference(function ($this$sequence, $completion) {
2480
+ return i.f2n($this$sequence, $completion);
2481
+ }, 1);
2502
2482
  }
2503
2483
  function Not() {
2504
2484
  Not_instance = this;
2505
2485
  PrimitiveWrapper_init_$Init$('\\+', 1, VOID, this);
2506
2486
  }
2507
- protoOf(Not).b3i = function (request) {
2487
+ protoOf(Not).a3i = function (request) {
2508
2488
  return sequence(Not$uncheckedImplementation$slambda_0(request, null));
2509
2489
  };
2510
- protoOf(Not).x2c = function (request) {
2511
- return this.b3i(request);
2490
+ protoOf(Not).w2c = function (request) {
2491
+ return this.a3i(request);
2512
2492
  };
2513
2493
  var Not_instance;
2514
2494
  function Not_getInstance() {
@@ -2516,25 +2496,25 @@
2516
2496
  new Not();
2517
2497
  return Not_instance;
2518
2498
  }
2519
- function extractErrorTypeAndExtra($this, _this__u8e3s4) {
2499
+ function extractErrorTypeAndExtra($this, $receiver) {
2520
2500
  // Inline function 'kotlin.with' call
2521
- var $this$with = isInterface(_this__u8e3s4, Struct) ? _this__u8e3s4 : null;
2501
+ var $this$with = isInterface($receiver, Struct) ? $receiver : null;
2522
2502
  var tmp;
2523
2503
  var tmp_0;
2524
- if (($this$with == null ? null : $this$with.zt()) === 'error') {
2525
- tmp_0 = $this$with.tt() === 2;
2504
+ if (($this$with == null ? null : $this$with.xt()) === 'error') {
2505
+ tmp_0 = $this$with.rt() === 2;
2526
2506
  } else {
2527
2507
  tmp_0 = false;
2528
2508
  }
2529
2509
  if (tmp_0) {
2530
- var tmp_1 = firstOrNull($this$with.au());
2510
+ var tmp_1 = firstOrNull($this$with.yt());
2531
2511
  var tmp0_safe_receiver = (!(tmp_1 == null) ? isInterface(tmp_1, Struct) : false) ? tmp_1 : null;
2532
2512
  var tmp_2;
2533
2513
  if (tmp0_safe_receiver == null) {
2534
2514
  tmp_2 = null;
2535
2515
  } else {
2536
2516
  // Inline function 'kotlin.let' call
2537
- tmp_2 = new Pair(tmp0_safe_receiver, $this$with.au().z(1));
2517
+ tmp_2 = new Pair(tmp0_safe_receiver, $this$with.yt().x(1));
2538
2518
  }
2539
2519
  tmp = tmp_2;
2540
2520
  } else {
@@ -2542,15 +2522,15 @@
2542
2522
  }
2543
2523
  return tmp;
2544
2524
  }
2545
- function extractErrorCauseChain($this, _this__u8e3s4, withContext) {
2546
- var tmp0_safe_receiver = extractErrorTypeAndExtra($this, _this__u8e3s4);
2525
+ function extractErrorCauseChain($this, $receiver, withContext) {
2526
+ var tmp0_safe_receiver = extractErrorTypeAndExtra($this, $receiver);
2547
2527
  var tmp;
2548
2528
  if (tmp0_safe_receiver == null) {
2549
2529
  tmp = null;
2550
2530
  } else {
2551
2531
  // Inline function 'kotlin.let' call
2552
- var type = tmp0_safe_receiver.rc();
2553
- var extra = tmp0_safe_receiver.sc();
2532
+ var type = tmp0_safe_receiver.oc();
2533
+ var extra = tmp0_safe_receiver.pc();
2554
2534
  var tmp1_cause = extractErrorCauseChain(Throw_getInstance(), extra, withContext);
2555
2535
  tmp = Companion_instance_8.of(VOID, tmp1_cause, withContext, type, extra);
2556
2536
  }
@@ -2560,27 +2540,27 @@
2560
2540
  Throw_instance = this;
2561
2541
  NonBacktrackable.call(this, 'throw');
2562
2542
  }
2563
- protoOf(Throw).j3k = function (_this__u8e3s4, first) {
2543
+ protoOf(Throw).i3k = function (_this__u8e3s4, first) {
2564
2544
  var tmp;
2565
2545
  try {
2566
2546
  // Inline function 'kotlin.let' call
2567
- var throwArgument = single(Companion_getInstance_4().l2c(_this__u8e3s4).arguments).freshCopy();
2568
- var ancestorCatch = _this__u8e3s4.context.q3b_1.g3c(throwArgument);
2547
+ var throwArgument = single(Companion_getInstance_4().k2c(_this__u8e3s4).arguments).freshCopy();
2548
+ var ancestorCatch = _this__u8e3s4.context.p3b_1.f3c(throwArgument);
2569
2549
  var tmp1_safe_receiver = ancestorCatch == null ? null : ancestorCatch.arguments;
2570
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.z(1);
2550
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.x(1);
2571
2551
  var tmp_0;
2572
2552
  if (tmp2_safe_receiver == null) {
2573
2553
  tmp_0 = null;
2574
2554
  } else {
2575
2555
  // Inline function 'kotlin.let' call
2576
- tmp_0 = Companion_getInstance_4().j2d(_this__u8e3s4, tmp2_safe_receiver, throwArgument);
2556
+ tmp_0 = Companion_getInstance_4().i2d(_this__u8e3s4, tmp2_safe_receiver, throwArgument);
2577
2557
  }
2578
2558
  var catcher = tmp_0;
2579
2559
  var tmp_1;
2580
2560
  if (!(catcher == null) ? isInterface(catcher, Unifier) : false) {
2581
- var tmp_2 = _this__u8e3s4.context.m3b_1.plus(catcher);
2561
+ var tmp_2 = _this__u8e3s4.context.l3b_1.plus(catcher);
2582
2562
  var newSubstitution = isInterface(tmp_2, Unifier) ? tmp_2 : THROW_CCE();
2583
- tmp_1 = _this__u8e3s4.replySuccess(newSubstitution, _this__u8e3s4.context.q3b_1.h3c(ancestorCatch.context), []);
2563
+ tmp_1 = _this__u8e3s4.replySuccess(newSubstitution, _this__u8e3s4.context.p3b_1.g3c(ancestorCatch.context), []);
2584
2564
  } else {
2585
2565
  var errorCause = extractErrorCauseChain(Throw_getInstance(), throwArgument, _this__u8e3s4.context);
2586
2566
  if (!(errorCause == null))
@@ -2601,8 +2581,8 @@
2601
2581
  }
2602
2582
  return tmp;
2603
2583
  };
2604
- protoOf(Throw).w2f = function (_this__u8e3s4, first) {
2605
- return this.j3k(_this__u8e3s4, first);
2584
+ protoOf(Throw).v2f = function (_this__u8e3s4, first) {
2585
+ return this.i3k(_this__u8e3s4, first);
2606
2586
  };
2607
2587
  var Throw_instance;
2608
2588
  function Throw_getInstance() {
@@ -2621,38 +2601,38 @@
2621
2601
  protoOf(StreamsSolver).solveOnce = solveOnce;
2622
2602
  protoOf(StreamsSolver).solveOnceWithOptions = solveOnceWithOptions;
2623
2603
  protoOf(StreamsSolver).clone = clone;
2624
- protoOf(StreamsSolver).u1s = get_standardInput;
2625
- protoOf(StreamsSolver).v1s = get_standardOutput;
2626
- protoOf(StreamsSolver).w1s = get_standardError;
2627
- protoOf(StreamsSolver).x1s = get_warnings;
2604
+ protoOf(StreamsSolver).t1s = get_standardInput;
2605
+ protoOf(StreamsSolver).u1s = get_standardOutput;
2606
+ protoOf(StreamsSolver).v1s = get_standardError;
2607
+ protoOf(StreamsSolver).w1s = get_warnings;
2628
2608
  protoOf(StreamsSolverFactory).rawSolverOf = rawSolverOf;
2629
2609
  protoOf(StreamsSolverFactory).solverOf = solverOf;
2630
2610
  protoOf(StreamsSolverFactory).mutableSolverOf = mutableSolverOf;
2631
2611
  protoOf(StreamsSolverFactory).rawMutableSolverOf = rawMutableSolverOf;
2632
2612
  protoOf(StreamsSolverFactory).newBuilder = newBuilder;
2633
- protoOf(StreamsSolverFactory).v1u = get_defaultRuntime;
2634
- protoOf(StreamsSolverFactory).x1u = get_defaultUnificator;
2635
- protoOf(StreamsSolverFactory).y1u = get_defaultFlags;
2636
- protoOf(StreamsSolverFactory).b1v = get_defaultStaticKb;
2637
- protoOf(StreamsSolverFactory).c1v = get_defaultDynamicKb;
2638
- protoOf(StreamsSolverFactory).d1v = get_defaultInputChannel;
2639
- protoOf(StreamsSolverFactory).e1v = get_defaultOutputChannel;
2640
- protoOf(StreamsSolverFactory).f1v = get_defaultErrorChannel;
2641
- protoOf(StreamsSolverFactory).g1v = get_defaultWarningsChannel;
2642
- protoOf(StreamsSolverFactory).o1v = solverWithDefaultBuiltins;
2613
+ protoOf(StreamsSolverFactory).u1u = get_defaultRuntime;
2614
+ protoOf(StreamsSolverFactory).w1u = get_defaultUnificator;
2615
+ protoOf(StreamsSolverFactory).x1u = get_defaultFlags;
2616
+ protoOf(StreamsSolverFactory).a1v = get_defaultStaticKb;
2617
+ protoOf(StreamsSolverFactory).b1v = get_defaultDynamicKb;
2618
+ protoOf(StreamsSolverFactory).c1v = get_defaultInputChannel;
2619
+ protoOf(StreamsSolverFactory).d1v = get_defaultOutputChannel;
2620
+ protoOf(StreamsSolverFactory).e1v = get_defaultErrorChannel;
2621
+ protoOf(StreamsSolverFactory).f1v = get_defaultWarningsChannel;
2622
+ protoOf(StreamsSolverFactory).n1v = solverWithDefaultBuiltins;
2643
2623
  protoOf(StreamsSolverFactory).solverWithDefaultBuiltinsAnd = solverWithDefaultBuiltinsAnd;
2644
- protoOf(StreamsSolverFactory).q1v = mutableSolverWithDefaultBuiltins;
2624
+ protoOf(StreamsSolverFactory).p1v = mutableSolverWithDefaultBuiltins;
2645
2625
  protoOf(StreamsSolverFactory).mutableSolverWithDefaultBuiltinsAnd = mutableSolverWithDefaultBuiltinsAnd;
2646
2626
  protoOf(StreamsExecutionContext).createSolver = createSolver;
2647
2627
  protoOf(StreamsExecutionContext).createMutableSolver = createMutableSolver;
2648
2628
  protoOf(StreamsExecutionContext).update = update;
2649
- protoOf(StreamsExecutionContext).u1s = get_standardInput;
2650
- protoOf(StreamsExecutionContext).v1s = get_standardOutput;
2651
- protoOf(StreamsExecutionContext).w1s = get_standardError;
2652
- protoOf(StreamsExecutionContext).x1s = get_warnings;
2653
- protoOf(StreamsExecutionContext).b1s = get_endTime;
2654
- protoOf(StreamsExecutionContext).d1s = get_remainingTime;
2655
- protoOf(StreamsExecutionContext).e1s = get_elapsedTime;
2629
+ protoOf(StreamsExecutionContext).t1s = get_standardInput;
2630
+ protoOf(StreamsExecutionContext).u1s = get_standardOutput;
2631
+ protoOf(StreamsExecutionContext).v1s = get_standardError;
2632
+ protoOf(StreamsExecutionContext).w1s = get_warnings;
2633
+ protoOf(StreamsExecutionContext).a1s = get_endTime;
2634
+ protoOf(StreamsExecutionContext).c1s = get_remainingTime;
2635
+ protoOf(StreamsExecutionContext).d1s = get_elapsedTime;
2656
2636
  protoOf(AbstractTimedState).h8 = get_context;
2657
2637
  //endregion
2658
2638
  //region block: init
@@ -2665,12 +2645,12 @@
2665
2645
  //endregion
2666
2646
  //region block: exports
2667
2647
  function $jsExportAll$(_) {
2668
- var $it = _.it || (_.it = {});
2669
- var $it$unibo = $it.unibo || ($it.unibo = {});
2670
- var $it$unibo$tuprolog = $it$unibo.tuprolog || ($it$unibo.tuprolog = {});
2671
- var $it$unibo$tuprolog$solve = $it$unibo$tuprolog.solve || ($it$unibo$tuprolog.solve = {});
2672
- var $it$unibo$tuprolog$solve$streams = $it$unibo$tuprolog$solve.streams || ($it$unibo$tuprolog$solve.streams = {});
2673
- defineProp($it$unibo$tuprolog$solve$streams, 'StreamsSolverFactory', StreamsSolverFactory_getInstance, VOID, true);
2648
+ var it = _.it || (_.it = {});
2649
+ var unibo = it.unibo || (it.unibo = {});
2650
+ var tuprolog = unibo.tuprolog || (unibo.tuprolog = {});
2651
+ var solve = tuprolog.solve || (tuprolog.solve = {});
2652
+ var streams = solve.streams || (solve.streams = {});
2653
+ defineProp(streams, 'StreamsSolverFactory', StreamsSolverFactory_getInstance, VOID, true);
2674
2654
  }
2675
2655
  $jsExportAll$(_);
2676
2656
  _.$jsExportAll$ = $jsExportAll$;