game_client_logic_deb 1.3.79 → 1.3.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +119 -114
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +659 -689
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +4 -4
- package/Logic_Debertz-game_client.js +2250 -2237
- package/Logic_Debertz-game_client.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-engine.js
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
var imul = Math.imul;
|
|
40
40
|
var Long = kotlin_kotlin.$_$.xb;
|
|
41
41
|
var objectMeta = kotlin_kotlin.$_$.x9;
|
|
42
|
-
var AsyncProvider = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
42
|
+
var AsyncProvider = kotlin_com_gamewithcats_game_engine_core.$_$.l1;
|
|
43
43
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
44
44
|
var arrayOf = kotlin_kotlin.$_$.qc;
|
|
45
45
|
var createKType = kotlin_kotlin.$_$.b;
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
var isInterface = kotlin_kotlin.$_$.o9;
|
|
50
50
|
var Unit_getInstance = kotlin_kotlin.$_$.n4;
|
|
51
51
|
var Instance = kotlin_org_kodein_di_kodein_di.$_$.e;
|
|
52
|
-
var JobsProvider = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
52
|
+
var JobsProvider = kotlin_com_gamewithcats_game_engine_core.$_$.m1;
|
|
53
53
|
var classMeta = kotlin_kotlin.$_$.z8;
|
|
54
54
|
var KProperty1 = kotlin_kotlin.$_$.ka;
|
|
55
55
|
var getPropertyCallableRef = kotlin_kotlin.$_$.d9;
|
|
56
56
|
var listOf = kotlin_kotlin.$_$.v6;
|
|
57
57
|
var plus = kotlin_kotlin.$_$.d7;
|
|
58
58
|
var copyToArray = kotlin_kotlin.$_$.z5;
|
|
59
|
-
var combineReducers = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
60
|
-
var applyCatcher = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
61
|
-
var applyMiddleware = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
59
|
+
var combineReducers = kotlin_com_gamewithcats_game_engine_core.$_$.s1;
|
|
60
|
+
var applyCatcher = kotlin_com_gamewithcats_game_engine_core.$_$.k2;
|
|
61
|
+
var applyMiddleware = kotlin_com_gamewithcats_game_engine_core.$_$.l2;
|
|
62
62
|
var listOf_0 = kotlin_kotlin.$_$.w6;
|
|
63
|
-
var compose = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
64
|
-
var createStore = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
65
|
-
var GameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
63
|
+
var compose = kotlin_com_gamewithcats_game_engine_core.$_$.v1;
|
|
64
|
+
var createStore = kotlin_com_gamewithcats_game_engine_core.$_$.w1;
|
|
65
|
+
var GameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.p2;
|
|
66
66
|
var lazy = kotlin_kotlin.$_$.yc;
|
|
67
67
|
var interfaceMeta = kotlin_kotlin.$_$.g9;
|
|
68
68
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
76
76
|
var PlayerIdContract = kotlin_com_gamewithcats_game_engine_core.$_$.b;
|
|
77
77
|
var emptyList = kotlin_kotlin.$_$.c6;
|
|
78
|
-
var Player = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
78
|
+
var Player = kotlin_com_gamewithcats_game_engine_core.$_$.d;
|
|
79
79
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
80
80
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
81
81
|
var isObject = kotlin_kotlin.$_$.q9;
|
|
@@ -88,18 +88,18 @@
|
|
|
88
88
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.zc;
|
|
89
89
|
var Collection = kotlin_kotlin.$_$.p4;
|
|
90
90
|
var checkIndexOverflow = kotlin_kotlin.$_$.i5;
|
|
91
|
-
var getPoint = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
91
|
+
var getPoint = kotlin_com_gamewithcats_game_engine_core.$_$.c1;
|
|
92
92
|
var first = kotlin_kotlin.$_$.i6;
|
|
93
93
|
var Comparable = kotlin_kotlin.$_$.ob;
|
|
94
94
|
var MechanicException = kotlin_com_gamewithcats_game_engine_core.$_$.a;
|
|
95
95
|
var List = kotlin_kotlin.$_$.x4;
|
|
96
96
|
var ensureNotNull = kotlin_kotlin.$_$.tc;
|
|
97
97
|
var sortedWith = kotlin_kotlin.$_$.j7;
|
|
98
|
-
var GameCard = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
98
|
+
var GameCard = kotlin_com_gamewithcats_game_engine_core.$_$.w;
|
|
99
99
|
var firstOrNull = kotlin_kotlin.$_$.h6;
|
|
100
100
|
var toString = kotlin_kotlin.$_$.ba;
|
|
101
101
|
var toList = kotlin_kotlin.$_$.q7;
|
|
102
|
-
var Companion_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
102
|
+
var Companion_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.c4;
|
|
103
103
|
var singleOrNull = kotlin_kotlin.$_$.h7;
|
|
104
104
|
var mapCapacity = kotlin_kotlin.$_$.x6;
|
|
105
105
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
@@ -118,63 +118,63 @@
|
|
|
118
118
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
119
119
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
120
120
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
121
|
-
var Companion_getInstance_0 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
122
|
-
var Companion_getInstance_1 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
121
|
+
var Companion_getInstance_0 = kotlin_com_gamewithcats_game_engine_core.$_$.d4;
|
|
122
|
+
var Companion_getInstance_1 = kotlin_com_gamewithcats_game_engine_core.$_$.e4;
|
|
123
123
|
var PolymorphicSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
124
|
-
var Companion_getInstance_2 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
125
|
-
var Companion_getInstance_3 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
126
|
-
var RestartGameReason_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
124
|
+
var Companion_getInstance_2 = kotlin_com_gamewithcats_game_engine_core.$_$.h4;
|
|
125
|
+
var Companion_getInstance_3 = kotlin_com_gamewithcats_game_engine_core.$_$.v3;
|
|
126
|
+
var RestartGameReason_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.g4;
|
|
127
127
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
128
|
-
var $serializer_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
129
|
-
var mapToDto = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
130
|
-
var mapFromDto = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
131
|
-
var mapToDto_0 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
132
|
-
var enumToString = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
133
|
-
var mapFromDto_0 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
134
|
-
var toDomainEnumSafe = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
135
|
-
var RulesSetType_custom_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
136
|
-
var RulesSetType_belot_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
137
|
-
var RulesSetType_klabor_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
138
|
-
var RulesSetType_debertzCommon_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
139
|
-
var RulesSetType_debertzKharkiv_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
128
|
+
var $serializer_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.x3;
|
|
129
|
+
var mapToDto = kotlin_com_gamewithcats_game_engine_core.$_$.t;
|
|
130
|
+
var mapFromDto = kotlin_com_gamewithcats_game_engine_core.$_$.n;
|
|
131
|
+
var mapToDto_0 = kotlin_com_gamewithcats_game_engine_core.$_$.r;
|
|
132
|
+
var enumToString = kotlin_com_gamewithcats_game_engine_core.$_$.s2;
|
|
133
|
+
var mapFromDto_0 = kotlin_com_gamewithcats_game_engine_core.$_$.l;
|
|
134
|
+
var toDomainEnumSafe = kotlin_com_gamewithcats_game_engine_core.$_$.v2;
|
|
135
|
+
var RulesSetType_custom_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.e3;
|
|
136
|
+
var RulesSetType_belot_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.d3;
|
|
137
|
+
var RulesSetType_klabor_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.h3;
|
|
138
|
+
var RulesSetType_debertzCommon_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.f3;
|
|
139
|
+
var RulesSetType_debertzKharkiv_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.g3;
|
|
140
140
|
var mapOf_0 = kotlin_kotlin.$_$.z6;
|
|
141
141
|
var toIntOrNull = kotlin_kotlin.$_$.ab;
|
|
142
|
-
var mapToDto_1 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
142
|
+
var mapToDto_1 = kotlin_com_gamewithcats_game_engine_core.$_$.s;
|
|
143
143
|
var toString_0 = kotlin_kotlin.$_$.ed;
|
|
144
|
-
var mapFromDto_1 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
144
|
+
var mapFromDto_1 = kotlin_com_gamewithcats_game_engine_core.$_$.o;
|
|
145
145
|
var Companion_getInstance_4 = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
146
|
-
var mapToDto_2 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
147
|
-
var mapFromDto_2 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
148
|
-
var PlayerConnectionState_LIVE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
149
|
-
var mapToDto_3 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
150
|
-
var GameCardWIthPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
151
|
-
var $serializer_getInstance_0 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
146
|
+
var mapToDto_2 = kotlin_com_gamewithcats_game_engine_core.$_$.p;
|
|
147
|
+
var mapFromDto_2 = kotlin_com_gamewithcats_game_engine_core.$_$.m;
|
|
148
|
+
var PlayerConnectionState_LIVE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.a3;
|
|
149
|
+
var mapToDto_3 = kotlin_com_gamewithcats_game_engine_core.$_$.q;
|
|
150
|
+
var GameCardWIthPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.v;
|
|
151
|
+
var $serializer_getInstance_0 = kotlin_com_gamewithcats_game_engine_core.$_$.y3;
|
|
152
152
|
var LinkedHashMapSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
153
153
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
154
|
-
var $serializer_getInstance_1 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
154
|
+
var $serializer_getInstance_1 = kotlin_com_gamewithcats_game_engine_core.$_$.z3;
|
|
155
155
|
var System_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
|
|
156
156
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
157
157
|
var contentEquals = kotlin_kotlin.$_$.l5;
|
|
158
158
|
var contentHashCode = kotlin_kotlin.$_$.o5;
|
|
159
|
-
var LoggerPayload = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
160
|
-
var CardGrowthComparator = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
159
|
+
var LoggerPayload = kotlin_com_gamewithcats_game_engine_core.$_$.o2;
|
|
160
|
+
var CardGrowthComparator = kotlin_com_gamewithcats_game_engine_core.$_$.u;
|
|
161
161
|
var take = kotlin_kotlin.$_$.m7;
|
|
162
162
|
var toList_0 = kotlin_kotlin.$_$.p7;
|
|
163
163
|
var takeLast = kotlin_kotlin.$_$.l7;
|
|
164
|
-
var nextTo = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
164
|
+
var nextTo = kotlin_com_gamewithcats_game_engine_core.$_$.t2;
|
|
165
165
|
var last = kotlin_kotlin.$_$.s6;
|
|
166
166
|
var uuid4 = kotlin_uuid.$_$.a;
|
|
167
167
|
var THROW_ISE = kotlin_kotlin.$_$.dc;
|
|
168
|
-
var CardName_SEVEN_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
169
|
-
var CardName_EIGHT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
170
|
-
var CardName_DAME_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
171
|
-
var CardName_KING_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
172
|
-
var CardName_JACK_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
173
|
-
var CardName_NINE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
174
|
-
var CardName_ACE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
175
|
-
var CardName_TEN_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
176
|
-
var values = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
177
|
-
var getPlayer = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
168
|
+
var CardName_SEVEN_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.o3;
|
|
169
|
+
var CardName_EIGHT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.k3;
|
|
170
|
+
var CardName_DAME_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.j3;
|
|
171
|
+
var CardName_KING_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.m3;
|
|
172
|
+
var CardName_JACK_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.l3;
|
|
173
|
+
var CardName_NINE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.n3;
|
|
174
|
+
var CardName_ACE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.i3;
|
|
175
|
+
var CardName_TEN_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.p3;
|
|
176
|
+
var values = kotlin_com_gamewithcats_game_engine_core.$_$.y;
|
|
177
|
+
var getPlayer = kotlin_com_gamewithcats_game_engine_core.$_$.j;
|
|
178
178
|
var compareValues = kotlin_kotlin.$_$.w7;
|
|
179
179
|
var flatten = kotlin_kotlin.$_$.j6;
|
|
180
180
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v2;
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
var Json$default = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
184
184
|
var SerializersModuleBuilder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
185
185
|
var PolymorphicModuleBuilder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
|
|
186
|
-
var filterByPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
187
|
-
var CardNumberComparator_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
186
|
+
var filterByPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.g;
|
|
187
|
+
var CardNumberComparator_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.b4;
|
|
188
188
|
var addAll = kotlin_kotlin.$_$.e5;
|
|
189
189
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
190
190
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
@@ -193,62 +193,60 @@
|
|
|
193
193
|
var getOrNull = kotlin_kotlin.$_$.k6;
|
|
194
194
|
var plus_0 = kotlin_kotlin.$_$.e7;
|
|
195
195
|
var listOfNotNull = kotlin_kotlin.$_$.t6;
|
|
196
|
-
var filterByCardName = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
197
|
-
var CardIndexComparator_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
198
|
-
var filterBySuit = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
196
|
+
var filterByCardName = kotlin_com_gamewithcats_game_engine_core.$_$.z;
|
|
197
|
+
var CardIndexComparator_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.a4;
|
|
198
|
+
var filterBySuit = kotlin_com_gamewithcats_game_engine_core.$_$.a1;
|
|
199
199
|
var dropLast = kotlin_kotlin.$_$.b6;
|
|
200
200
|
var minus = kotlin_kotlin.$_$.a7;
|
|
201
|
-
var Team = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
202
|
-
var nextToPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
201
|
+
var Team = kotlin_com_gamewithcats_game_engine_core.$_$.e;
|
|
202
|
+
var nextToPlayerId = kotlin_com_gamewithcats_game_engine_core.$_$.k;
|
|
203
203
|
var charSequenceLength = kotlin_kotlin.$_$.x8;
|
|
204
204
|
var coerceAtLeast = kotlin_kotlin.$_$.ca;
|
|
205
205
|
var getValue = kotlin_kotlin.$_$.l6;
|
|
206
206
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.w;
|
|
207
|
-
var get_actionTag = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
208
|
-
var notValidateWhenFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
209
|
-
var notValidateWhenFinished = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
210
|
-
var Action = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
211
|
-
var NotValidateIfGameFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
212
|
-
var NotValidateIfGameFinished = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
213
|
-
var sortWithItem = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
214
|
-
var BufferedAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
215
|
-
var ReleaseBufferTriggerAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
216
|
-
var PlayerConnectionState_TIMEOUT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
217
|
-
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
218
|
-
var PlayerConnectionState_LEFT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
219
|
-
var PlayerConnectionState_DELETED_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
220
|
-
var ignoreExpectant = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
221
|
-
var ExpectantAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
222
|
-
var timerMiddleware = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
207
|
+
var get_actionTag = kotlin_com_gamewithcats_game_engine_core.$_$.o1;
|
|
208
|
+
var notValidateWhenFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.z1;
|
|
209
|
+
var notValidateWhenFinished = kotlin_com_gamewithcats_game_engine_core.$_$.x1;
|
|
210
|
+
var Action = kotlin_com_gamewithcats_game_engine_core.$_$.p1;
|
|
211
|
+
var NotValidateIfGameFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.a2;
|
|
212
|
+
var NotValidateIfGameFinished = kotlin_com_gamewithcats_game_engine_core.$_$.y1;
|
|
213
|
+
var sortWithItem = kotlin_com_gamewithcats_game_engine_core.$_$.u2;
|
|
214
|
+
var BufferedAction = kotlin_com_gamewithcats_game_engine_core.$_$.b2;
|
|
215
|
+
var ReleaseBufferTriggerAction = kotlin_com_gamewithcats_game_engine_core.$_$.e2;
|
|
216
|
+
var PlayerConnectionState_TIMEOUT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.c3;
|
|
217
|
+
var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.b3;
|
|
218
|
+
var PlayerConnectionState_LEFT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.z2;
|
|
219
|
+
var PlayerConnectionState_DELETED_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.y2;
|
|
220
|
+
var ignoreExpectant = kotlin_com_gamewithcats_game_engine_core.$_$.c2;
|
|
221
|
+
var ExpectantAction = kotlin_com_gamewithcats_game_engine_core.$_$.d2;
|
|
222
|
+
var timerMiddleware = kotlin_com_gamewithcats_game_engine_core.$_$.m2;
|
|
223
223
|
var listOfNotNull_0 = kotlin_kotlin.$_$.u6;
|
|
224
224
|
var CoroutineImpl = kotlin_kotlin.$_$.n8;
|
|
225
225
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
226
|
-
var Middleware = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
226
|
+
var Middleware = kotlin_com_gamewithcats_game_engine_core.$_$.q1;
|
|
227
227
|
var SuspendFunction1 = kotlin_kotlin.$_$.o8;
|
|
228
|
-
var middleware = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
229
|
-
var TimerTag = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
228
|
+
var middleware = kotlin_com_gamewithcats_game_engine_core.$_$.t1;
|
|
229
|
+
var TimerTag = kotlin_com_gamewithcats_game_engine_core.$_$.i2;
|
|
230
230
|
var toLong = kotlin_kotlin.$_$.z9;
|
|
231
231
|
var Default_getInstance = kotlin_kotlin.$_$.c4;
|
|
232
|
-
var TimerType_DELAY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
233
|
-
var StartTimerAction_init_$Create$ = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
234
|
-
var StopTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
235
|
-
var TimerTickAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
236
|
-
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
|
|
237
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y7;
|
|
232
|
+
var TimerType_DELAY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.q3;
|
|
233
|
+
var StartTimerAction_init_$Create$ = kotlin_com_gamewithcats_game_engine_core.$_$.u3;
|
|
234
|
+
var StopTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.g2;
|
|
235
|
+
var TimerTickAction = kotlin_com_gamewithcats_game_engine_core.$_$.j2;
|
|
238
236
|
var toSet = kotlin_kotlin.$_$.t7;
|
|
239
|
-
var filterPlayerTurn = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
240
|
-
var Reducer = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
241
|
-
var TimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
242
|
-
var StartTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
243
|
-
var get_byIdPlayerPredicate = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
244
|
-
var updateItem = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
245
|
-
var Companion_getInstance_5 = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
246
|
-
var updated = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
247
|
-
var d$default = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
248
|
-
var e$default = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
249
|
-
var w$default = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
250
|
-
var LoggerOutput = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
251
|
-
var generateMsg = kotlin_com_gamewithcats_game_engine_core.$_$.
|
|
237
|
+
var filterPlayerTurn = kotlin_com_gamewithcats_game_engine_core.$_$.h;
|
|
238
|
+
var Reducer = kotlin_com_gamewithcats_game_engine_core.$_$.r1;
|
|
239
|
+
var TimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.h2;
|
|
240
|
+
var StartTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.f2;
|
|
241
|
+
var get_byIdPlayerPredicate = kotlin_com_gamewithcats_game_engine_core.$_$.f;
|
|
242
|
+
var updateItem = kotlin_com_gamewithcats_game_engine_core.$_$.w2;
|
|
243
|
+
var Companion_getInstance_5 = kotlin_com_gamewithcats_game_engine_core.$_$.w3;
|
|
244
|
+
var updated = kotlin_com_gamewithcats_game_engine_core.$_$.x2;
|
|
245
|
+
var d$default = kotlin_com_gamewithcats_game_engine_core.$_$.r3;
|
|
246
|
+
var e$default = kotlin_com_gamewithcats_game_engine_core.$_$.s3;
|
|
247
|
+
var w$default = kotlin_com_gamewithcats_game_engine_core.$_$.t3;
|
|
248
|
+
var LoggerOutput = kotlin_com_gamewithcats_game_engine_core.$_$.q2;
|
|
249
|
+
var generateMsg = kotlin_com_gamewithcats_game_engine_core.$_$.r2;
|
|
252
250
|
var Companion_getInstance_6 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
253
251
|
//endregion
|
|
254
252
|
//region block: pre-declaration
|
|
@@ -524,8 +522,6 @@
|
|
|
524
522
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.prototype.constructor = sceneLifecycleMiddleware$o$handle$slambda$slambda;
|
|
525
523
|
sceneLifecycleMiddleware$o$handle$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
526
524
|
sceneLifecycleMiddleware$o$handle$slambda.prototype.constructor = sceneLifecycleMiddleware$o$handle$slambda;
|
|
527
|
-
checkGameIsFinishedWaitForFinishMiddleware$o$handle$slambda.prototype = Object.create(CoroutineImpl.prototype);
|
|
528
|
-
checkGameIsFinishedWaitForFinishMiddleware$o$handle$slambda.prototype.constructor = checkGameIsFinishedWaitForFinishMiddleware$o$handle$slambda;
|
|
529
525
|
function notValidateTimerReset() {
|
|
530
526
|
return true;
|
|
531
527
|
}
|
|
@@ -9228,12 +9224,18 @@
|
|
|
9228
9224
|
}
|
|
9229
9225
|
FirstMechanicActionDto.$metadata$ = interfaceMeta('FirstMechanicActionDto');
|
|
9230
9226
|
function mapToDto_4(_this__u8e3s4) {
|
|
9231
|
-
return new
|
|
9227
|
+
return new CardOnTableDto(_this__u8e3s4.y39_1, _this__u8e3s4.x39_1, mapToDto(_this__u8e3s4.z39_1));
|
|
9228
|
+
}
|
|
9229
|
+
function mapFromDto_3(_this__u8e3s4) {
|
|
9230
|
+
var tmp0_position = _this__u8e3s4.k3g_1;
|
|
9231
|
+
var tmp1_playerId = _this__u8e3s4.l3g_1;
|
|
9232
|
+
var tmp2_card = mapFromDto(_this__u8e3s4.m3g_1);
|
|
9233
|
+
return new CardOnTable(tmp1_playerId, tmp0_position, tmp2_card);
|
|
9232
9234
|
}
|
|
9233
9235
|
function mapToDto_5(_this__u8e3s4) {
|
|
9234
9236
|
var tmp$ret$2;
|
|
9235
9237
|
// Inline function 'kotlin.collections.map' call
|
|
9236
|
-
var tmp0_map = _this__u8e3s4.
|
|
9238
|
+
var tmp0_map = _this__u8e3s4.n3g_1;
|
|
9237
9239
|
var tmp$ret$1;
|
|
9238
9240
|
// Inline function 'kotlin.collections.mapTo' call
|
|
9239
9241
|
var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -9249,12 +9251,6 @@
|
|
|
9249
9251
|
tmp$ret$2 = tmp$ret$1;
|
|
9250
9252
|
return new BribeDto(tmp$ret$2);
|
|
9251
9253
|
}
|
|
9252
|
-
function mapFromDto_3(_this__u8e3s4) {
|
|
9253
|
-
var tmp0_position = _this__u8e3s4.l3g_1;
|
|
9254
|
-
var tmp1_playerId = _this__u8e3s4.m3g_1;
|
|
9255
|
-
var tmp2_card = mapFromDto(_this__u8e3s4.n3g_1);
|
|
9256
|
-
return new CardOnTheTable(tmp1_playerId, tmp0_position, tmp2_card);
|
|
9257
|
-
}
|
|
9258
9254
|
function mapFromDto_4(_this__u8e3s4) {
|
|
9259
9255
|
var tmp$ret$2;
|
|
9260
9256
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -15299,7 +15295,7 @@
|
|
|
15299
15295
|
}
|
|
15300
15296
|
function $serializer_49() {
|
|
15301
15297
|
$serializer_instance_49 = this;
|
|
15302
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.debertz.logic.data.models.serializable.table.bribes.
|
|
15298
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.debertz.logic.data.models.serializable.table.bribes.CardOnTableDto', this, 3);
|
|
15303
15299
|
tmp0_serialDesc.v1s('position', false);
|
|
15304
15300
|
tmp0_serialDesc.v1s('playerId', false);
|
|
15305
15301
|
tmp0_serialDesc.v1s('card', false);
|
|
@@ -15361,18 +15357,18 @@
|
|
|
15361
15357
|
}
|
|
15362
15358
|
}
|
|
15363
15359
|
tmp7_input.r1l(tmp0_desc);
|
|
15364
|
-
return
|
|
15360
|
+
return CardOnTableDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
15365
15361
|
};
|
|
15366
15362
|
$serializer_49.prototype.d3t = function (encoder, value) {
|
|
15367
15363
|
var tmp0_desc = this.c3t_1;
|
|
15368
15364
|
var tmp1_output = encoder.q1l(tmp0_desc);
|
|
15369
|
-
tmp1_output.z1m(tmp0_desc, 0, value.
|
|
15370
|
-
tmp1_output.e1n(tmp0_desc, 1, value.
|
|
15371
|
-
tmp1_output.z1m(tmp0_desc, 2, value.
|
|
15365
|
+
tmp1_output.z1m(tmp0_desc, 0, value.k3g_1);
|
|
15366
|
+
tmp1_output.e1n(tmp0_desc, 1, value.l3g_1);
|
|
15367
|
+
tmp1_output.z1m(tmp0_desc, 2, value.m3g_1);
|
|
15372
15368
|
tmp1_output.r1l(tmp0_desc);
|
|
15373
15369
|
};
|
|
15374
15370
|
$serializer_49.prototype.j1i = function (encoder, value) {
|
|
15375
|
-
return this.d3t(encoder, value instanceof
|
|
15371
|
+
return this.d3t(encoder, value instanceof CardOnTableDto ? value : THROW_CCE());
|
|
15376
15372
|
};
|
|
15377
15373
|
$serializer_49.$metadata$ = objectMeta('$serializer', [GeneratedSerializer]);
|
|
15378
15374
|
var $serializer_instance_49;
|
|
@@ -15381,48 +15377,48 @@
|
|
|
15381
15377
|
new $serializer_49();
|
|
15382
15378
|
return $serializer_instance_49;
|
|
15383
15379
|
}
|
|
15384
|
-
function
|
|
15380
|
+
function CardOnTableDto_init_$Init$(seen1, position, playerId, card, serializationConstructorMarker, $this) {
|
|
15385
15381
|
if (!(7 === (7 & seen1))) {
|
|
15386
15382
|
throwMissingFieldException(seen1, 7, $serializer_getInstance_52().c3t_1);
|
|
15387
15383
|
}
|
|
15388
|
-
$this.
|
|
15389
|
-
$this.
|
|
15390
|
-
$this.
|
|
15384
|
+
$this.k3g_1 = position;
|
|
15385
|
+
$this.l3g_1 = playerId;
|
|
15386
|
+
$this.m3g_1 = card;
|
|
15391
15387
|
return $this;
|
|
15392
15388
|
}
|
|
15393
|
-
function
|
|
15394
|
-
return
|
|
15389
|
+
function CardOnTableDto_init_$Create$(seen1, position, playerId, card, serializationConstructorMarker) {
|
|
15390
|
+
return CardOnTableDto_init_$Init$(seen1, position, playerId, card, serializationConstructorMarker, Object.create(CardOnTableDto.prototype));
|
|
15395
15391
|
}
|
|
15396
|
-
function
|
|
15392
|
+
function CardOnTableDto(position, playerId, card) {
|
|
15397
15393
|
Companion_getInstance_79();
|
|
15398
|
-
this.
|
|
15399
|
-
this.
|
|
15400
|
-
this.
|
|
15394
|
+
this.k3g_1 = position;
|
|
15395
|
+
this.l3g_1 = playerId;
|
|
15396
|
+
this.m3g_1 = card;
|
|
15401
15397
|
}
|
|
15402
|
-
|
|
15403
|
-
return '
|
|
15398
|
+
CardOnTableDto.prototype.toString = function () {
|
|
15399
|
+
return 'CardOnTableDto(position=' + this.k3g_1 + ', playerId=' + this.l3g_1 + ', card=' + this.m3g_1 + ')';
|
|
15404
15400
|
};
|
|
15405
|
-
|
|
15406
|
-
var result = this.
|
|
15407
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
15408
|
-
result = imul(result, 31) + this.
|
|
15401
|
+
CardOnTableDto.prototype.hashCode = function () {
|
|
15402
|
+
var result = this.k3g_1;
|
|
15403
|
+
result = imul(result, 31) + getStringHashCode(this.l3g_1) | 0;
|
|
15404
|
+
result = imul(result, 31) + this.m3g_1 | 0;
|
|
15409
15405
|
return result;
|
|
15410
15406
|
};
|
|
15411
|
-
|
|
15407
|
+
CardOnTableDto.prototype.equals = function (other) {
|
|
15412
15408
|
if (this === other)
|
|
15413
15409
|
return true;
|
|
15414
|
-
if (!(other instanceof
|
|
15410
|
+
if (!(other instanceof CardOnTableDto))
|
|
15411
|
+
return false;
|
|
15412
|
+
var tmp0_other_with_cast = other instanceof CardOnTableDto ? other : THROW_CCE();
|
|
15413
|
+
if (!(this.k3g_1 === tmp0_other_with_cast.k3g_1))
|
|
15415
15414
|
return false;
|
|
15416
|
-
var tmp0_other_with_cast = other instanceof CardOnTheTableDto ? other : THROW_CCE();
|
|
15417
15415
|
if (!(this.l3g_1 === tmp0_other_with_cast.l3g_1))
|
|
15418
15416
|
return false;
|
|
15419
15417
|
if (!(this.m3g_1 === tmp0_other_with_cast.m3g_1))
|
|
15420
15418
|
return false;
|
|
15421
|
-
if (!(this.n3g_1 === tmp0_other_with_cast.n3g_1))
|
|
15422
|
-
return false;
|
|
15423
15419
|
return true;
|
|
15424
15420
|
};
|
|
15425
|
-
|
|
15421
|
+
CardOnTableDto.$metadata$ = classMeta('CardOnTableDto', undefined, undefined, {0: $serializer_getInstance_52});
|
|
15426
15422
|
function Companion_72() {
|
|
15427
15423
|
Companion_instance_72 = this;
|
|
15428
15424
|
}
|
|
@@ -17594,8 +17590,8 @@
|
|
|
17594
17590
|
return this.u3v_1.n2p(a.z39_1, b.z39_1);
|
|
17595
17591
|
};
|
|
17596
17592
|
CardOnTheTableGrowthComparator.prototype.compare = function (a, b) {
|
|
17597
|
-
var tmp = a instanceof
|
|
17598
|
-
return this.v3v(tmp, b instanceof
|
|
17593
|
+
var tmp = a instanceof CardOnTable ? a : THROW_CCE();
|
|
17594
|
+
return this.v3v(tmp, b instanceof CardOnTable ? b : THROW_CCE());
|
|
17599
17595
|
};
|
|
17600
17596
|
CardOnTheTableGrowthComparator.$metadata$ = classMeta('CardOnTheTableGrowthComparator', [Comparator]);
|
|
17601
17597
|
function CardOnTheTablePositionComparator() {
|
|
@@ -17605,8 +17601,8 @@
|
|
|
17605
17601
|
return a.y39_1 - b.y39_1 | 0;
|
|
17606
17602
|
};
|
|
17607
17603
|
CardOnTheTablePositionComparator.prototype.compare = function (a, b) {
|
|
17608
|
-
var tmp = a instanceof
|
|
17609
|
-
return this.v3v(tmp, b instanceof
|
|
17604
|
+
var tmp = a instanceof CardOnTable ? a : THROW_CCE();
|
|
17605
|
+
return this.v3v(tmp, b instanceof CardOnTable ? b : THROW_CCE());
|
|
17610
17606
|
};
|
|
17611
17607
|
CardOnTheTablePositionComparator.$metadata$ = objectMeta('CardOnTheTablePositionComparator', [Comparator]);
|
|
17612
17608
|
var CardOnTheTablePositionComparator_instance;
|
|
@@ -17628,36 +17624,36 @@
|
|
|
17628
17624
|
new Companion_83();
|
|
17629
17625
|
return Companion_instance_83;
|
|
17630
17626
|
}
|
|
17631
|
-
function
|
|
17627
|
+
function CardOnTable(playerId, position, card) {
|
|
17632
17628
|
Companion_getInstance_91();
|
|
17633
17629
|
this.x39_1 = playerId;
|
|
17634
17630
|
this.y39_1 = position;
|
|
17635
17631
|
this.z39_1 = card;
|
|
17636
17632
|
}
|
|
17637
|
-
|
|
17633
|
+
CardOnTable.prototype.x2k = function () {
|
|
17638
17634
|
return this.x39_1;
|
|
17639
17635
|
};
|
|
17640
|
-
|
|
17636
|
+
CardOnTable.prototype.x3v = function () {
|
|
17641
17637
|
return this.z39_1;
|
|
17642
17638
|
};
|
|
17643
|
-
|
|
17639
|
+
CardOnTable.prototype.f9 = function () {
|
|
17644
17640
|
return this.z39_1;
|
|
17645
17641
|
};
|
|
17646
|
-
|
|
17647
|
-
return '
|
|
17642
|
+
CardOnTable.prototype.toString = function () {
|
|
17643
|
+
return 'CardOnTable(playerId=' + this.x39_1 + ', position=' + this.y39_1 + ', card=' + this.z39_1 + ')';
|
|
17648
17644
|
};
|
|
17649
|
-
|
|
17645
|
+
CardOnTable.prototype.hashCode = function () {
|
|
17650
17646
|
var result = getStringHashCode(this.x39_1);
|
|
17651
17647
|
result = imul(result, 31) + this.y39_1 | 0;
|
|
17652
17648
|
result = imul(result, 31) + this.z39_1.hashCode() | 0;
|
|
17653
17649
|
return result;
|
|
17654
17650
|
};
|
|
17655
|
-
|
|
17651
|
+
CardOnTable.prototype.equals = function (other) {
|
|
17656
17652
|
if (this === other)
|
|
17657
17653
|
return true;
|
|
17658
|
-
if (!(other instanceof
|
|
17654
|
+
if (!(other instanceof CardOnTable))
|
|
17659
17655
|
return false;
|
|
17660
|
-
var tmp0_other_with_cast = other instanceof
|
|
17656
|
+
var tmp0_other_with_cast = other instanceof CardOnTable ? other : THROW_CCE();
|
|
17661
17657
|
if (!(this.x39_1 === tmp0_other_with_cast.x39_1))
|
|
17662
17658
|
return false;
|
|
17663
17659
|
if (!(this.y39_1 === tmp0_other_with_cast.y39_1))
|
|
@@ -17666,24 +17662,24 @@
|
|
|
17666
17662
|
return false;
|
|
17667
17663
|
return true;
|
|
17668
17664
|
};
|
|
17669
|
-
|
|
17670
|
-
Object.defineProperty(
|
|
17665
|
+
CardOnTable.$metadata$ = classMeta('CardOnTable', [PlayerIdContract]);
|
|
17666
|
+
Object.defineProperty(CardOnTable.prototype, 'playerId', {
|
|
17671
17667
|
configurable: true,
|
|
17672
17668
|
get: function () {
|
|
17673
17669
|
return this.x2k();
|
|
17674
17670
|
}
|
|
17675
17671
|
});
|
|
17676
17672
|
function Bribe(cards) {
|
|
17677
|
-
this.
|
|
17673
|
+
this.n3g_1 = cards;
|
|
17678
17674
|
}
|
|
17679
17675
|
Bribe.prototype.u30 = function () {
|
|
17680
|
-
return this.
|
|
17676
|
+
return this.n3g_1;
|
|
17681
17677
|
};
|
|
17682
17678
|
Bribe.prototype.toString = function () {
|
|
17683
|
-
return 'Bribe(cards=' + this.
|
|
17679
|
+
return 'Bribe(cards=' + this.n3g_1 + ')';
|
|
17684
17680
|
};
|
|
17685
17681
|
Bribe.prototype.hashCode = function () {
|
|
17686
|
-
return hashCode(this.
|
|
17682
|
+
return hashCode(this.n3g_1);
|
|
17687
17683
|
};
|
|
17688
17684
|
Bribe.prototype.equals = function (other) {
|
|
17689
17685
|
if (this === other)
|
|
@@ -17691,7 +17687,7 @@
|
|
|
17691
17687
|
if (!(other instanceof Bribe))
|
|
17692
17688
|
return false;
|
|
17693
17689
|
var tmp0_other_with_cast = other instanceof Bribe ? other : THROW_CCE();
|
|
17694
|
-
if (!equals(this.
|
|
17690
|
+
if (!equals(this.n3g_1, tmp0_other_with_cast.n3g_1))
|
|
17695
17691
|
return false;
|
|
17696
17692
|
return true;
|
|
17697
17693
|
};
|
|
@@ -23358,7 +23354,7 @@
|
|
|
23358
23354
|
var element = tmp0_iterator.h();
|
|
23359
23355
|
var tmp$ret$0;
|
|
23360
23356
|
// Inline function 'com.debertz.logic.domain.interactors.bot.BotLogicInteractorImpl.getReleasedCards.<anonymous>' call
|
|
23361
|
-
tmp$ret$0 = element.
|
|
23357
|
+
tmp$ret$0 = element.n3g_1;
|
|
23362
23358
|
var list = tmp$ret$0;
|
|
23363
23359
|
addAll(tmp0_flatMapTo, list);
|
|
23364
23360
|
}
|
|
@@ -29550,32 +29546,32 @@
|
|
|
29550
29546
|
var tmp$ret$0;
|
|
29551
29547
|
// Inline function 'kotlin.getValue' call
|
|
29552
29548
|
var tmp0_getValue = sceneFactory$factory_0();
|
|
29553
|
-
tmp$ret$0 = $this.
|
|
29549
|
+
tmp$ret$0 = $this.j4a_1.c2();
|
|
29554
29550
|
return tmp$ret$0;
|
|
29555
29551
|
}
|
|
29556
29552
|
function _get_sceneRouter__ee4ncs($this) {
|
|
29557
29553
|
var tmp$ret$0;
|
|
29558
29554
|
// Inline function 'kotlin.getValue' call
|
|
29559
29555
|
var tmp0_getValue = sceneRouter$factory_0();
|
|
29560
|
-
tmp$ret$0 = $this.
|
|
29556
|
+
tmp$ret$0 = $this.k4a_1.c2();
|
|
29561
29557
|
return tmp$ret$0;
|
|
29562
29558
|
}
|
|
29563
29559
|
function _get_gameLogicInteractor__895s7o($this) {
|
|
29564
29560
|
var tmp$ret$0;
|
|
29565
29561
|
// Inline function 'kotlin.getValue' call
|
|
29566
29562
|
var tmp0_getValue = gameLogicInteractor$factory_0();
|
|
29567
|
-
tmp$ret$0 = $this.
|
|
29563
|
+
tmp$ret$0 = $this.l4a_1.c2();
|
|
29568
29564
|
return tmp$ret$0;
|
|
29569
29565
|
}
|
|
29570
29566
|
function _get_asyncProvider__jbpyhw_1($this) {
|
|
29571
29567
|
var tmp$ret$0;
|
|
29572
29568
|
// Inline function 'kotlin.getValue' call
|
|
29573
29569
|
var tmp0_getValue = asyncProvider$factory_6();
|
|
29574
|
-
tmp$ret$0 = $this.
|
|
29570
|
+
tmp$ret$0 = $this.m4a_1.c2();
|
|
29575
29571
|
return tmp$ret$0;
|
|
29576
29572
|
}
|
|
29577
29573
|
function GameMechanicStoreContract(di, playerTurnStoreContract) {
|
|
29578
|
-
this.
|
|
29574
|
+
this.i4a_1 = playerTurnStoreContract;
|
|
29579
29575
|
var tmp = this;
|
|
29580
29576
|
var tmp$ret$1;
|
|
29581
29577
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29584,7 +29580,7 @@
|
|
|
29584
29580
|
var tmp_0 = typeToken(createKType(getKClass(SceneFactory), arrayOf([]), false));
|
|
29585
29581
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29586
29582
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29587
|
-
tmp.
|
|
29583
|
+
tmp.j4a_1 = tmp$ret$1.c2k(this, sceneFactory$factory());
|
|
29588
29584
|
var tmp_1 = this;
|
|
29589
29585
|
var tmp$ret$3;
|
|
29590
29586
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29593,7 +29589,7 @@
|
|
|
29593
29589
|
var tmp_2 = typeToken(createKType(getKClass(SceneRouter), arrayOf([]), false));
|
|
29594
29590
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29595
29591
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29596
|
-
tmp_1.
|
|
29592
|
+
tmp_1.k4a_1 = tmp$ret$3.c2k(this, sceneRouter$factory());
|
|
29597
29593
|
var tmp_3 = this;
|
|
29598
29594
|
var tmp$ret$5;
|
|
29599
29595
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29602,7 +29598,7 @@
|
|
|
29602
29598
|
var tmp_4 = typeToken(createKType(getKClass(GameMechanicLogicInteractor), arrayOf([]), false));
|
|
29603
29599
|
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29604
29600
|
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29605
|
-
tmp_3.
|
|
29601
|
+
tmp_3.l4a_1 = tmp$ret$5.c2k(this, gameLogicInteractor$factory());
|
|
29606
29602
|
var tmp_5 = this;
|
|
29607
29603
|
var tmp$ret$7;
|
|
29608
29604
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29611,13 +29607,13 @@
|
|
|
29611
29607
|
var tmp_6 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29612
29608
|
tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29613
29609
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
29614
|
-
tmp_5.
|
|
29610
|
+
tmp_5.m4a_1 = tmp$ret$7.c2k(this, asyncProvider$factory_5());
|
|
29615
29611
|
}
|
|
29616
29612
|
GameMechanicStoreContract.prototype.b4a = function () {
|
|
29617
|
-
return this.
|
|
29613
|
+
return this.i4a_1.b4a();
|
|
29618
29614
|
};
|
|
29619
29615
|
GameMechanicStoreContract.prototype.c4a = function () {
|
|
29620
|
-
return plus(listOfNotNull_0([sceneLifecycleMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this)), sceneRouterMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneRouter__ee4ncs(this)), consumeFromClientActionsMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_gameLogicInteractor__895s7o(this))]), this.
|
|
29616
|
+
return plus(listOfNotNull_0([sceneLifecycleMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this)), sceneRouterMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_sceneRouter__ee4ncs(this)), consumeFromClientActionsMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_gameLogicInteractor__895s7o(this))]), this.i4a_1.c4a());
|
|
29621
29617
|
};
|
|
29622
29618
|
GameMechanicStoreContract.$metadata$ = classMeta('GameMechanicStoreContract', [StoreContract]);
|
|
29623
29619
|
function sceneFactory$factory() {
|
|
@@ -29664,28 +29660,28 @@
|
|
|
29664
29660
|
var tmp$ret$0;
|
|
29665
29661
|
// Inline function 'kotlin.getValue' call
|
|
29666
29662
|
var tmp0_getValue = logger$factory_2();
|
|
29667
|
-
tmp$ret$0 = $this.
|
|
29663
|
+
tmp$ret$0 = $this.n4a_1.c2();
|
|
29668
29664
|
return tmp$ret$0;
|
|
29669
29665
|
}
|
|
29670
29666
|
function _get_playerTurnInteractor__lczh1o_0($this) {
|
|
29671
29667
|
var tmp$ret$0;
|
|
29672
29668
|
// Inline function 'kotlin.getValue' call
|
|
29673
29669
|
var tmp0_getValue = playerTurnInteractor$factory_2();
|
|
29674
|
-
tmp$ret$0 = $this.
|
|
29670
|
+
tmp$ret$0 = $this.o4a_1.c2();
|
|
29675
29671
|
return tmp$ret$0;
|
|
29676
29672
|
}
|
|
29677
29673
|
function _get_playerTurnMechanicReducer__y10a87_0($this) {
|
|
29678
29674
|
var tmp$ret$0;
|
|
29679
29675
|
// Inline function 'kotlin.getValue' call
|
|
29680
29676
|
var tmp0_getValue = playerTurnMechanicReducer$factory_2();
|
|
29681
|
-
tmp$ret$0 = $this.
|
|
29677
|
+
tmp$ret$0 = $this.p4a_1.c2();
|
|
29682
29678
|
return tmp$ret$0;
|
|
29683
29679
|
}
|
|
29684
29680
|
function _get_logicConfig__52ww9d($this) {
|
|
29685
29681
|
var tmp$ret$0;
|
|
29686
29682
|
// Inline function 'kotlin.getValue' call
|
|
29687
29683
|
var tmp0_getValue = logicConfig$factory_0();
|
|
29688
|
-
tmp$ret$0 = $this.
|
|
29684
|
+
tmp$ret$0 = $this.q4a_1.c2();
|
|
29689
29685
|
return tmp$ret$0;
|
|
29690
29686
|
}
|
|
29691
29687
|
function PlayerTurnStoreContract(di) {
|
|
@@ -29697,7 +29693,7 @@
|
|
|
29697
29693
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
29698
29694
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
29699
29695
|
tmp$ret$1 = Instance(di, tmp$ret$0, null);
|
|
29700
|
-
tmp.
|
|
29696
|
+
tmp.n4a_1 = tmp$ret$1.c2k(this, logger$factory_1());
|
|
29701
29697
|
var tmp_1 = this;
|
|
29702
29698
|
var tmp$ret$3;
|
|
29703
29699
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29706,7 +29702,7 @@
|
|
|
29706
29702
|
var tmp_2 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
29707
29703
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29708
29704
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29709
|
-
tmp_1.
|
|
29705
|
+
tmp_1.o4a_1 = tmp$ret$3.c2k(this, playerTurnInteractor$factory_1());
|
|
29710
29706
|
var tmp_3 = this;
|
|
29711
29707
|
var tmp$ret$5;
|
|
29712
29708
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29715,7 +29711,7 @@
|
|
|
29715
29711
|
var tmp_4 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
29716
29712
|
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29717
29713
|
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29718
|
-
tmp_3.
|
|
29714
|
+
tmp_3.p4a_1 = tmp$ret$5.c2k(this, playerTurnMechanicReducer$factory_1());
|
|
29719
29715
|
var tmp_5 = this;
|
|
29720
29716
|
var tmp$ret$7;
|
|
29721
29717
|
// Inline function 'org.kodein.di.instance' call
|
|
@@ -29724,7 +29720,7 @@
|
|
|
29724
29720
|
var tmp_6 = typeToken(createKType(getKClass(LogicReduxConfig), arrayOf([]), false));
|
|
29725
29721
|
tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
29726
29722
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
29727
|
-
tmp_5.
|
|
29723
|
+
tmp_5.q4a_1 = tmp$ret$7.c2k(this, logicConfig$factory());
|
|
29728
29724
|
}
|
|
29729
29725
|
PlayerTurnStoreContract.prototype.b4a = function () {
|
|
29730
29726
|
return listOfNotNull_0([_get_logicConfig__52ww9d(this).w2x_1 ? setPlayerTurnReducer(_get_logger__rkp4sl_0(this), _get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this)) : null, resetPlayerTurnReducer(_get_logger__rkp4sl_0(this), _get_playerTurnInteractor__lczh1o_0(this), _get_playerTurnMechanicReducer__y10a87_0(this))]);
|
|
@@ -29790,13 +29786,6 @@
|
|
|
29790
29786
|
tmp$ret$0 = $this.h4a_1.c2();
|
|
29791
29787
|
return tmp$ret$0;
|
|
29792
29788
|
}
|
|
29793
|
-
function _get_asyncProvider__jbpyhw_2($this) {
|
|
29794
|
-
var tmp$ret$0;
|
|
29795
|
-
// Inline function 'kotlin.getValue' call
|
|
29796
|
-
var tmp0_getValue = asyncProvider$factory_8();
|
|
29797
|
-
tmp$ret$0 = $this.i4a_1.c2();
|
|
29798
|
-
return tmp$ret$0;
|
|
29799
|
-
}
|
|
29800
29789
|
function ValidationStoreContract(di) {
|
|
29801
29790
|
var tmp = this;
|
|
29802
29791
|
var tmp$ret$1;
|
|
@@ -29816,15 +29805,6 @@
|
|
|
29816
29805
|
tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
29817
29806
|
tmp$ret$3 = Instance(di, tmp$ret$2, null);
|
|
29818
29807
|
tmp_1.h4a_1 = tmp$ret$3.c2k(this, logicReduxConfig$factory());
|
|
29819
|
-
var tmp_3 = this;
|
|
29820
|
-
var tmp$ret$5;
|
|
29821
|
-
// Inline function 'org.kodein.di.instance' call
|
|
29822
|
-
var tmp$ret$4;
|
|
29823
|
-
// Inline function 'org.kodein.type.generic' call
|
|
29824
|
-
var tmp_4 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
29825
|
-
tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
29826
|
-
tmp$ret$5 = Instance(di, tmp$ret$4, null);
|
|
29827
|
-
tmp_3.i4a_1 = tmp$ret$5.c2k(this, asyncProvider$factory_7());
|
|
29828
29808
|
}
|
|
29829
29809
|
ValidationStoreContract.prototype.b4a = function () {
|
|
29830
29810
|
return emptyList();
|
|
@@ -29832,7 +29812,7 @@
|
|
|
29832
29812
|
ValidationStoreContract.prototype.c4a = function () {
|
|
29833
29813
|
var tmp = _get_logicReduxConfig__ksu5rn(this).x2x_1 ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_1(this)) : null;
|
|
29834
29814
|
var tmp_0 = checkValidClientTurnMiddleware$default(null, _get_logger__rkp4sl_1(this), 1, null);
|
|
29835
|
-
return listOfNotNull_0([tmp, tmp_0, checkPlayerTurnIsAlreadySetMiddleware$default(null, _get_logger__rkp4sl_1(this), 1, null), checkPlayerCardsCountAfterBribeMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)),
|
|
29815
|
+
return listOfNotNull_0([tmp, tmp_0, checkPlayerTurnIsAlreadySetMiddleware$default(null, _get_logger__rkp4sl_1(this), 1, null), checkPlayerCardsCountAfterBribeMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneMiddleware(_get_logger__rkp4sl_1(this)), checkEmptyTimersBeforeSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]);
|
|
29836
29816
|
};
|
|
29837
29817
|
ValidationStoreContract.$metadata$ = classMeta('ValidationStoreContract', [StoreContract]);
|
|
29838
29818
|
function logger$factory_3() {
|
|
@@ -29845,11 +29825,6 @@
|
|
|
29845
29825
|
return _get_logicReduxConfig__ksu5rn(receiver);
|
|
29846
29826
|
}, null);
|
|
29847
29827
|
}
|
|
29848
|
-
function asyncProvider$factory_7() {
|
|
29849
|
-
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
29850
|
-
return _get_asyncProvider__jbpyhw_2(receiver);
|
|
29851
|
-
}, null);
|
|
29852
|
-
}
|
|
29853
29828
|
function logger$factory_4() {
|
|
29854
29829
|
return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
|
|
29855
29830
|
return _get_logger__rkp4sl_1(receiver);
|
|
@@ -29860,11 +29835,6 @@
|
|
|
29860
29835
|
return _get_logicReduxConfig__ksu5rn(receiver);
|
|
29861
29836
|
}, null);
|
|
29862
29837
|
}
|
|
29863
|
-
function asyncProvider$factory_8() {
|
|
29864
|
-
return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
|
|
29865
|
-
return _get_asyncProvider__jbpyhw_2(receiver);
|
|
29866
|
-
}, null);
|
|
29867
|
-
}
|
|
29868
29838
|
function consumeFromClientActionsMiddleware(asyncProvider, gameMechanicLogicInteractor) {
|
|
29869
29839
|
var tmp$ret$0;
|
|
29870
29840
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
@@ -29872,8 +29842,8 @@
|
|
|
29872
29842
|
return tmp$ret$0;
|
|
29873
29843
|
}
|
|
29874
29844
|
function consumeFromClientActionsMiddleware$o$handle$slambda$slambda($mechanicActions, $store, resultContinuation) {
|
|
29875
|
-
this.
|
|
29876
|
-
this.
|
|
29845
|
+
this.z4a_1 = $mechanicActions;
|
|
29846
|
+
this.a4b_1 = $store;
|
|
29877
29847
|
CoroutineImpl.call(this, resultContinuation);
|
|
29878
29848
|
}
|
|
29879
29849
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -29892,10 +29862,10 @@
|
|
|
29892
29862
|
var tmp = this.mj_1;
|
|
29893
29863
|
if (tmp === 0) {
|
|
29894
29864
|
this.nj_1 = 1;
|
|
29895
|
-
var tmp0_iterator = this.
|
|
29865
|
+
var tmp0_iterator = this.z4a_1.f();
|
|
29896
29866
|
while (tmp0_iterator.g()) {
|
|
29897
29867
|
var element = tmp0_iterator.h();
|
|
29898
|
-
this.
|
|
29868
|
+
this.a4b_1.dispatch(element);
|
|
29899
29869
|
}
|
|
29900
29870
|
return Unit_getInstance();
|
|
29901
29871
|
} else if (tmp === 1) {
|
|
@@ -29907,8 +29877,8 @@
|
|
|
29907
29877
|
while (true);
|
|
29908
29878
|
};
|
|
29909
29879
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
29910
|
-
var i = new consumeFromClientActionsMiddleware$o$handle$slambda$slambda(this.
|
|
29911
|
-
i.
|
|
29880
|
+
var i = new consumeFromClientActionsMiddleware$o$handle$slambda$slambda(this.z4a_1, this.a4b_1, completion);
|
|
29881
|
+
i.b4b_1 = $this$launchStore;
|
|
29912
29882
|
return i;
|
|
29913
29883
|
};
|
|
29914
29884
|
consumeFromClientActionsMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('consumeFromClientActionsMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -29921,11 +29891,11 @@
|
|
|
29921
29891
|
return l;
|
|
29922
29892
|
}
|
|
29923
29893
|
function consumeFromClientActionsMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $gameMechanicLogicInteractor, $table, $asyncProvider, $store, resultContinuation) {
|
|
29924
|
-
this.
|
|
29925
|
-
this.
|
|
29926
|
-
this.
|
|
29927
|
-
this.
|
|
29928
|
-
this.
|
|
29894
|
+
this.k4b_1 = $tmp0__anonymous__1nv1x1;
|
|
29895
|
+
this.l4b_1 = $gameMechanicLogicInteractor;
|
|
29896
|
+
this.m4b_1 = $table;
|
|
29897
|
+
this.n4b_1 = $asyncProvider;
|
|
29898
|
+
this.o4b_1 = $store;
|
|
29929
29899
|
CoroutineImpl.call(this, resultContinuation);
|
|
29930
29900
|
}
|
|
29931
29901
|
consumeFromClientActionsMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -29944,19 +29914,19 @@
|
|
|
29944
29914
|
var tmp = this.mj_1;
|
|
29945
29915
|
if (tmp === 0) {
|
|
29946
29916
|
this.nj_1 = 1;
|
|
29947
|
-
var tmp0_subject = this.
|
|
29917
|
+
var tmp0_subject = this.k4b_1;
|
|
29948
29918
|
var tmp_0;
|
|
29949
29919
|
if (tmp0_subject instanceof MessageFromClientAction) {
|
|
29950
|
-
tmp_0 = listOf(this.
|
|
29920
|
+
tmp_0 = listOf(this.l4b_1.e44(this.k4b_1, this.m4b_1.c3u_1));
|
|
29951
29921
|
} else {
|
|
29952
29922
|
if (tmp0_subject instanceof PartnerSelectedFromClientAction) {
|
|
29953
|
-
tmp_0 = listOf(this.
|
|
29923
|
+
tmp_0 = listOf(this.l4b_1.f44(this.k4b_1, this.m4b_1.c3u_1));
|
|
29954
29924
|
} else {
|
|
29955
29925
|
if (tmp0_subject instanceof PlayerReadyFromClientAction) {
|
|
29956
|
-
tmp_0 = listOf(this.
|
|
29926
|
+
tmp_0 = listOf(this.l4b_1.g44(this.k4b_1));
|
|
29957
29927
|
} else {
|
|
29958
29928
|
if (tmp0_subject instanceof SuitChoiceFromClientAction) {
|
|
29959
|
-
var mechanicAction = this.
|
|
29929
|
+
var mechanicAction = this.l4b_1.h44(this.k4b_1, this.m4b_1.c3u_1, this.m4b_1.b3u_1);
|
|
29960
29930
|
var tmp1_safe_receiver = mechanicAction.n45_1;
|
|
29961
29931
|
var tmp_1;
|
|
29962
29932
|
if (tmp1_safe_receiver == null) {
|
|
@@ -29967,28 +29937,28 @@
|
|
|
29967
29937
|
tmp_0 = listOfNotNull_0([mechanicAction, tmp_1]);
|
|
29968
29938
|
} else {
|
|
29969
29939
|
if (tmp0_subject instanceof CombinationChoiceFromClientAction) {
|
|
29970
|
-
tmp_0 = listOf(this.
|
|
29940
|
+
tmp_0 = listOf(this.l4b_1.i44(this.k4b_1, this.m4b_1));
|
|
29971
29941
|
} else {
|
|
29972
29942
|
if (tmp0_subject instanceof CardFromClientAction) {
|
|
29973
29943
|
var actions = ArrayList_init_$Create$();
|
|
29974
|
-
var newCardsOnTheTable = plus_0(this.
|
|
29975
|
-
var cardMechanicAction = this.
|
|
29944
|
+
var newCardsOnTheTable = plus_0(this.m4b_1.e3u_1, new CardOnTable(this.k4b_1.playerId, this.m4b_1.e3u_1.i(), this.k4b_1.r3i_1));
|
|
29945
|
+
var cardMechanicAction = this.l4b_1.j44(this.k4b_1, newCardsOnTheTable, this.m4b_1.c3u_1, this.m4b_1.b3u_1);
|
|
29976
29946
|
actions.a(cardMechanicAction);
|
|
29977
|
-
var shouldValidateBribe = newCardsOnTheTable.i() === this.
|
|
29947
|
+
var shouldValidateBribe = newCardsOnTheTable.i() === this.m4b_1.b3u_1.o3h_1.count;
|
|
29978
29948
|
if (shouldValidateBribe) {
|
|
29979
|
-
var tmp0_safe_receiver = this.
|
|
29949
|
+
var tmp0_safe_receiver = this.l4b_1.k44(this.k4b_1, this.m4b_1.h3u_1.v3u_1, newCardsOnTheTable, this.m4b_1.c3u_1, this.m4b_1.b3u_1);
|
|
29980
29950
|
if (tmp0_safe_receiver == null)
|
|
29981
29951
|
null;
|
|
29982
29952
|
else {
|
|
29983
29953
|
actions.a(tmp0_safe_receiver);
|
|
29984
29954
|
}
|
|
29985
|
-
var bribeMechanicAction = this.
|
|
29955
|
+
var bribeMechanicAction = this.l4b_1.l44(this.k4b_1, this.m4b_1.h3u_1.v3u_1, newCardsOnTheTable, this.m4b_1.c3u_1, this.m4b_1.b3u_1);
|
|
29986
29956
|
actions.a(bribeMechanicAction);
|
|
29987
29957
|
}
|
|
29988
29958
|
tmp_0 = actions;
|
|
29989
29959
|
} else {
|
|
29990
29960
|
if (tmp0_subject instanceof ExitFromClientAction) {
|
|
29991
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_LEFT_getInstance(), this.
|
|
29961
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_LEFT_getInstance(), this.k4b_1.playerId));
|
|
29992
29962
|
} else {
|
|
29993
29963
|
noWhenBranchMatchedException();
|
|
29994
29964
|
}
|
|
@@ -29999,7 +29969,7 @@
|
|
|
29999
29969
|
}
|
|
30000
29970
|
}
|
|
30001
29971
|
var mechanicActions = tmp_0;
|
|
30002
|
-
this.
|
|
29972
|
+
this.n4b_1.l2q(null, consumeFromClientActionsMiddleware$o$handle$slambda$slambda_0(mechanicActions, this.o4b_1, null), 1, null);
|
|
30003
29973
|
return Unit_getInstance();
|
|
30004
29974
|
} else if (tmp === 1) {
|
|
30005
29975
|
throw this.pj_1;
|
|
@@ -30010,8 +29980,8 @@
|
|
|
30010
29980
|
while (true);
|
|
30011
29981
|
};
|
|
30012
29982
|
consumeFromClientActionsMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30013
|
-
var i = new consumeFromClientActionsMiddleware$o$handle$slambda(this.l4b_1, this.m4b_1, this.n4b_1, this.o4b_1,
|
|
30014
|
-
i.
|
|
29983
|
+
var i = new consumeFromClientActionsMiddleware$o$handle$slambda(this.k4b_1, this.l4b_1, this.m4b_1, this.n4b_1, this.o4b_1, completion);
|
|
29984
|
+
i.p4b_1 = $this$launchWorker;
|
|
30015
29985
|
return i;
|
|
30016
29986
|
};
|
|
30017
29987
|
consumeFromClientActionsMiddleware$o$handle$slambda.$metadata$ = classMeta('consumeFromClientActionsMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30024,21 +29994,21 @@
|
|
|
30024
29994
|
return l;
|
|
30025
29995
|
}
|
|
30026
29996
|
function _no_name_provided__qut3iv($asyncProvider, $gameMechanicLogicInteractor) {
|
|
30027
|
-
this.
|
|
30028
|
-
this.
|
|
29997
|
+
this.q4b_1 = $asyncProvider;
|
|
29998
|
+
this.r4b_1 = $gameMechanicLogicInteractor;
|
|
30029
29999
|
}
|
|
30030
30000
|
_no_name_provided__qut3iv.prototype.f2r = function (action) {
|
|
30031
30001
|
return action instanceof FromClientAction;
|
|
30032
30002
|
};
|
|
30033
|
-
_no_name_provided__qut3iv.prototype.
|
|
30003
|
+
_no_name_provided__qut3iv.prototype.s4b = function (store, next, action) {
|
|
30034
30004
|
// Inline function 'com.debertz.logic.redux.middlewares.consumeFromClientActionsMiddleware.<anonymous>' call
|
|
30035
30005
|
var tmp0__anonymous__q1qw7t = action instanceof FromClientAction ? action : THROW_CCE();
|
|
30036
30006
|
var table = store.state.h2x();
|
|
30037
30007
|
next(tmp0__anonymous__q1qw7t);
|
|
30038
|
-
this.
|
|
30008
|
+
this.q4b_1.n2q(null, consumeFromClientActionsMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.r4b_1, table, this.q4b_1, store, null), 1, null);
|
|
30039
30009
|
};
|
|
30040
30010
|
_no_name_provided__qut3iv.prototype.g2r = function (store, next, action) {
|
|
30041
|
-
return this.
|
|
30011
|
+
return this.s4b(store, next, action);
|
|
30042
30012
|
};
|
|
30043
30013
|
_no_name_provided__qut3iv.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30044
30014
|
function IgnoreLoggerAction() {
|
|
@@ -30065,8 +30035,8 @@
|
|
|
30065
30035
|
return tmp$ret$0;
|
|
30066
30036
|
}
|
|
30067
30037
|
function botLogicMiddleware$o$handle$slambda$slambda($store, $botAction, resultContinuation) {
|
|
30068
|
-
this.
|
|
30069
|
-
this.
|
|
30038
|
+
this.b4c_1 = $store;
|
|
30039
|
+
this.c4c_1 = $botAction;
|
|
30070
30040
|
CoroutineImpl.call(this, resultContinuation);
|
|
30071
30041
|
}
|
|
30072
30042
|
botLogicMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30085,7 +30055,7 @@
|
|
|
30085
30055
|
var tmp = this.mj_1;
|
|
30086
30056
|
if (tmp === 0) {
|
|
30087
30057
|
this.nj_1 = 1;
|
|
30088
|
-
this.
|
|
30058
|
+
this.b4c_1.dispatch(this.c4c_1);
|
|
30089
30059
|
return Unit_getInstance();
|
|
30090
30060
|
} else if (tmp === 1) {
|
|
30091
30061
|
throw this.pj_1;
|
|
@@ -30096,8 +30066,8 @@
|
|
|
30096
30066
|
while (true);
|
|
30097
30067
|
};
|
|
30098
30068
|
botLogicMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30099
|
-
var i = new botLogicMiddleware$o$handle$slambda$slambda(this.
|
|
30100
|
-
i.
|
|
30069
|
+
var i = new botLogicMiddleware$o$handle$slambda$slambda(this.b4c_1, this.c4c_1, completion);
|
|
30070
|
+
i.d4c_1 = $this$launchStore;
|
|
30101
30071
|
return i;
|
|
30102
30072
|
};
|
|
30103
30073
|
botLogicMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('botLogicMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30110,12 +30080,12 @@
|
|
|
30110
30080
|
return l;
|
|
30111
30081
|
}
|
|
30112
30082
|
function botLogicMiddleware$o$handle$slambda($playerAnswerInteractor, $tmp0__anonymous__1nv1x1, $table, $botConfig, $asyncProvider, $store, resultContinuation) {
|
|
30113
|
-
this.
|
|
30114
|
-
this.
|
|
30115
|
-
this.
|
|
30116
|
-
this.
|
|
30117
|
-
this.
|
|
30118
|
-
this.
|
|
30083
|
+
this.m4c_1 = $playerAnswerInteractor;
|
|
30084
|
+
this.n4c_1 = $tmp0__anonymous__1nv1x1;
|
|
30085
|
+
this.o4c_1 = $table;
|
|
30086
|
+
this.p4c_1 = $botConfig;
|
|
30087
|
+
this.q4c_1 = $asyncProvider;
|
|
30088
|
+
this.r4c_1 = $store;
|
|
30119
30089
|
CoroutineImpl.call(this, resultContinuation);
|
|
30120
30090
|
}
|
|
30121
30091
|
botLogicMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30134,8 +30104,8 @@
|
|
|
30134
30104
|
var tmp = this.mj_1;
|
|
30135
30105
|
if (tmp === 0) {
|
|
30136
30106
|
this.nj_1 = 1;
|
|
30137
|
-
var botAction = this.
|
|
30138
|
-
this.
|
|
30107
|
+
var botAction = this.m4c_1.y42(this.n4c_1.d47_1, this.o4c_1, this.p4c_1);
|
|
30108
|
+
this.q4c_1.l2q(null, botLogicMiddleware$o$handle$slambda$slambda_0(this.r4c_1, botAction, null), 1, null);
|
|
30139
30109
|
return Unit_getInstance();
|
|
30140
30110
|
} else if (tmp === 1) {
|
|
30141
30111
|
throw this.pj_1;
|
|
@@ -30146,8 +30116,8 @@
|
|
|
30146
30116
|
while (true);
|
|
30147
30117
|
};
|
|
30148
30118
|
botLogicMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30149
|
-
var i = new botLogicMiddleware$o$handle$slambda(this.n4c_1, this.o4c_1, this.p4c_1, this.q4c_1, this.r4c_1,
|
|
30150
|
-
i.
|
|
30119
|
+
var i = new botLogicMiddleware$o$handle$slambda(this.m4c_1, this.n4c_1, this.o4c_1, this.p4c_1, this.q4c_1, this.r4c_1, completion);
|
|
30120
|
+
i.s4c_1 = $this$launchWorker;
|
|
30151
30121
|
return i;
|
|
30152
30122
|
};
|
|
30153
30123
|
botLogicMiddleware$o$handle$slambda.$metadata$ = classMeta('botLogicMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30160,22 +30130,22 @@
|
|
|
30160
30130
|
return l;
|
|
30161
30131
|
}
|
|
30162
30132
|
function _no_name_provided__qut3iv_0($asyncProvider, $playerAnswerInteractor, $botConfig) {
|
|
30163
|
-
this.
|
|
30164
|
-
this.
|
|
30165
|
-
this.
|
|
30133
|
+
this.t4c_1 = $asyncProvider;
|
|
30134
|
+
this.u4c_1 = $playerAnswerInteractor;
|
|
30135
|
+
this.v4c_1 = $botConfig;
|
|
30166
30136
|
}
|
|
30167
30137
|
_no_name_provided__qut3iv_0.prototype.f2r = function (action) {
|
|
30168
30138
|
return action instanceof AskBotAction;
|
|
30169
30139
|
};
|
|
30170
|
-
_no_name_provided__qut3iv_0.prototype.
|
|
30140
|
+
_no_name_provided__qut3iv_0.prototype.s4b = function (store, next, action) {
|
|
30171
30141
|
// Inline function 'com.debertz.logic.redux.middlewares.bot.botLogicMiddleware.<anonymous>' call
|
|
30172
30142
|
var tmp0__anonymous__q1qw7t = action instanceof AskBotAction ? action : THROW_CCE();
|
|
30173
30143
|
var table = store.state.h2x();
|
|
30174
30144
|
next(tmp0__anonymous__q1qw7t);
|
|
30175
|
-
this.
|
|
30145
|
+
this.t4c_1.n2q(null, botLogicMiddleware$o$handle$slambda_0(this.u4c_1, tmp0__anonymous__q1qw7t, table, this.v4c_1, this.t4c_1, store, null), 1, null);
|
|
30176
30146
|
};
|
|
30177
30147
|
_no_name_provided__qut3iv_0.prototype.g2r = function (store, next, action) {
|
|
30178
|
-
return this.
|
|
30148
|
+
return this.s4b(store, next, action);
|
|
30179
30149
|
};
|
|
30180
30150
|
_no_name_provided__qut3iv_0.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30181
30151
|
function gameStatisticsMiddleware() {
|
|
@@ -30189,7 +30159,7 @@
|
|
|
30189
30159
|
_no_name_provided__qut3iv_1.prototype.f2r = function (action) {
|
|
30190
30160
|
return action instanceof MechanicAction;
|
|
30191
30161
|
};
|
|
30192
|
-
_no_name_provided__qut3iv_1.prototype.
|
|
30162
|
+
_no_name_provided__qut3iv_1.prototype.s4b = function (store, next, action) {
|
|
30193
30163
|
// Inline function 'com.debertz.logic.redux.middlewares.game.gameStatisticsMiddleware.<anonymous>' call
|
|
30194
30164
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
30195
30165
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
@@ -30478,7 +30448,7 @@
|
|
|
30478
30448
|
next(tmp0__anonymous__q1qw7t);
|
|
30479
30449
|
};
|
|
30480
30450
|
_no_name_provided__qut3iv_1.prototype.g2r = function (store, next, action) {
|
|
30481
|
-
return this.
|
|
30451
|
+
return this.s4b(store, next, action);
|
|
30482
30452
|
};
|
|
30483
30453
|
_no_name_provided__qut3iv_1.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30484
30454
|
function putPlayerLastCardMiddleware(asyncProvider, lastCardInteractor) {
|
|
@@ -30488,8 +30458,8 @@
|
|
|
30488
30458
|
return tmp$ret$0;
|
|
30489
30459
|
}
|
|
30490
30460
|
function putPlayerLastCardMiddleware$o$handle$slambda$slambda($store, $newAction, resultContinuation) {
|
|
30491
|
-
this.
|
|
30492
|
-
this.
|
|
30461
|
+
this.e4d_1 = $store;
|
|
30462
|
+
this.f4d_1 = $newAction;
|
|
30493
30463
|
CoroutineImpl.call(this, resultContinuation);
|
|
30494
30464
|
}
|
|
30495
30465
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30508,7 +30478,7 @@
|
|
|
30508
30478
|
var tmp = this.mj_1;
|
|
30509
30479
|
if (tmp === 0) {
|
|
30510
30480
|
this.nj_1 = 1;
|
|
30511
|
-
this.
|
|
30481
|
+
this.e4d_1.dispatch(this.f4d_1);
|
|
30512
30482
|
return Unit_getInstance();
|
|
30513
30483
|
} else if (tmp === 1) {
|
|
30514
30484
|
throw this.pj_1;
|
|
@@ -30519,8 +30489,8 @@
|
|
|
30519
30489
|
while (true);
|
|
30520
30490
|
};
|
|
30521
30491
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30522
|
-
var i = new putPlayerLastCardMiddleware$o$handle$slambda$slambda(this.
|
|
30523
|
-
i.
|
|
30492
|
+
var i = new putPlayerLastCardMiddleware$o$handle$slambda$slambda(this.e4d_1, this.f4d_1, completion);
|
|
30493
|
+
i.g4d_1 = $this$launchStore;
|
|
30524
30494
|
return i;
|
|
30525
30495
|
};
|
|
30526
30496
|
putPlayerLastCardMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('putPlayerLastCardMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30533,11 +30503,11 @@
|
|
|
30533
30503
|
return l;
|
|
30534
30504
|
}
|
|
30535
30505
|
function putPlayerLastCardMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $table, $lastCardInteractor, $asyncProvider, $store, resultContinuation) {
|
|
30536
|
-
this.
|
|
30537
|
-
this.
|
|
30538
|
-
this.
|
|
30539
|
-
this.
|
|
30540
|
-
this.
|
|
30506
|
+
this.p4d_1 = $tmp0__anonymous__1nv1x1;
|
|
30507
|
+
this.q4d_1 = $table;
|
|
30508
|
+
this.r4d_1 = $lastCardInteractor;
|
|
30509
|
+
this.s4d_1 = $asyncProvider;
|
|
30510
|
+
this.t4d_1 = $store;
|
|
30541
30511
|
CoroutineImpl.call(this, resultContinuation);
|
|
30542
30512
|
}
|
|
30543
30513
|
putPlayerLastCardMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30556,12 +30526,12 @@
|
|
|
30556
30526
|
var tmp = this.mj_1;
|
|
30557
30527
|
if (tmp === 0) {
|
|
30558
30528
|
this.nj_1 = 1;
|
|
30559
|
-
var nextTurnPlayerId = singleOrNull(this.
|
|
30529
|
+
var nextTurnPlayerId = singleOrNull(this.p4d_1.h48());
|
|
30560
30530
|
if (!(nextTurnPlayerId == null)) {
|
|
30561
|
-
var nextTurnPlayer = getPlayer(this.
|
|
30562
|
-
if (this.
|
|
30531
|
+
var nextTurnPlayer = getPlayer(this.q4d_1.c3u_1, nextTurnPlayerId);
|
|
30532
|
+
if (this.r4d_1.r42(nextTurnPlayer)) {
|
|
30563
30533
|
var newAction = new AskBotAction(nextTurnPlayer.x2k(), 'PlayerTurn when last bribe');
|
|
30564
|
-
this.
|
|
30534
|
+
this.s4d_1.l2q(null, putPlayerLastCardMiddleware$o$handle$slambda$slambda_0(this.t4d_1, newAction, null), 1, null);
|
|
30565
30535
|
}
|
|
30566
30536
|
}
|
|
30567
30537
|
return Unit_getInstance();
|
|
@@ -30574,8 +30544,8 @@
|
|
|
30574
30544
|
while (true);
|
|
30575
30545
|
};
|
|
30576
30546
|
putPlayerLastCardMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30577
|
-
var i = new putPlayerLastCardMiddleware$o$handle$slambda(this.q4d_1, this.r4d_1, this.s4d_1, this.t4d_1,
|
|
30578
|
-
i.
|
|
30547
|
+
var i = new putPlayerLastCardMiddleware$o$handle$slambda(this.p4d_1, this.q4d_1, this.r4d_1, this.s4d_1, this.t4d_1, completion);
|
|
30548
|
+
i.u4d_1 = $this$launchWorker;
|
|
30579
30549
|
return i;
|
|
30580
30550
|
};
|
|
30581
30551
|
putPlayerLastCardMiddleware$o$handle$slambda.$metadata$ = classMeta('putPlayerLastCardMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30588,21 +30558,21 @@
|
|
|
30588
30558
|
return l;
|
|
30589
30559
|
}
|
|
30590
30560
|
function _no_name_provided__qut3iv_2($asyncProvider, $lastCardInteractor) {
|
|
30591
|
-
this.
|
|
30592
|
-
this.
|
|
30561
|
+
this.v4d_1 = $asyncProvider;
|
|
30562
|
+
this.w4d_1 = $lastCardInteractor;
|
|
30593
30563
|
}
|
|
30594
30564
|
_no_name_provided__qut3iv_2.prototype.f2r = function (action) {
|
|
30595
30565
|
return isInterface(action, CardsMechanicAction);
|
|
30596
30566
|
};
|
|
30597
|
-
_no_name_provided__qut3iv_2.prototype.
|
|
30567
|
+
_no_name_provided__qut3iv_2.prototype.s4b = function (store, next, action) {
|
|
30598
30568
|
// Inline function 'com.debertz.logic.redux.middlewares.lastbribe.putPlayerLastCardMiddleware.<anonymous>' call
|
|
30599
30569
|
var tmp0__anonymous__q1qw7t = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
30600
30570
|
var table = store.state.h2x();
|
|
30601
30571
|
next(tmp0__anonymous__q1qw7t);
|
|
30602
|
-
this.
|
|
30572
|
+
this.v4d_1.n2q(null, putPlayerLastCardMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, table, this.w4d_1, this.v4d_1, store, null), 1, null);
|
|
30603
30573
|
};
|
|
30604
30574
|
_no_name_provided__qut3iv_2.prototype.g2r = function (store, next, action) {
|
|
30605
|
-
return this.
|
|
30575
|
+
return this.s4b(store, next, action);
|
|
30606
30576
|
};
|
|
30607
30577
|
_no_name_provided__qut3iv_2.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30608
30578
|
function sceneRouterMiddleware(asyncProvider, sceneRouter) {
|
|
@@ -30612,8 +30582,8 @@
|
|
|
30612
30582
|
return tmp$ret$0;
|
|
30613
30583
|
}
|
|
30614
30584
|
function sceneRouterMiddleware$o$handle$slambda$slambda($actions, $store, resultContinuation) {
|
|
30615
|
-
this.
|
|
30616
|
-
this.
|
|
30585
|
+
this.f4e_1 = $actions;
|
|
30586
|
+
this.g4e_1 = $store;
|
|
30617
30587
|
CoroutineImpl.call(this, resultContinuation);
|
|
30618
30588
|
}
|
|
30619
30589
|
sceneRouterMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -30632,10 +30602,10 @@
|
|
|
30632
30602
|
var tmp = this.mj_1;
|
|
30633
30603
|
if (tmp === 0) {
|
|
30634
30604
|
this.nj_1 = 1;
|
|
30635
|
-
var tmp0_iterator = this.
|
|
30605
|
+
var tmp0_iterator = this.f4e_1.f();
|
|
30636
30606
|
while (tmp0_iterator.g()) {
|
|
30637
30607
|
var element = tmp0_iterator.h();
|
|
30638
|
-
this.
|
|
30608
|
+
this.g4e_1.dispatch(element);
|
|
30639
30609
|
}
|
|
30640
30610
|
return Unit_getInstance();
|
|
30641
30611
|
} else if (tmp === 1) {
|
|
@@ -30647,8 +30617,8 @@
|
|
|
30647
30617
|
while (true);
|
|
30648
30618
|
};
|
|
30649
30619
|
sceneRouterMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
30650
|
-
var i = new sceneRouterMiddleware$o$handle$slambda$slambda(this.
|
|
30651
|
-
i.
|
|
30620
|
+
var i = new sceneRouterMiddleware$o$handle$slambda$slambda(this.f4e_1, this.g4e_1, completion);
|
|
30621
|
+
i.h4e_1 = $this$launchStore;
|
|
30652
30622
|
return i;
|
|
30653
30623
|
};
|
|
30654
30624
|
sceneRouterMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('sceneRouterMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30661,11 +30631,11 @@
|
|
|
30661
30631
|
return l;
|
|
30662
30632
|
}
|
|
30663
30633
|
function sceneRouterMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $sceneRouter, $state, $asyncProvider, $store, resultContinuation) {
|
|
30664
|
-
this.
|
|
30665
|
-
this.
|
|
30666
|
-
this.
|
|
30667
|
-
this.
|
|
30668
|
-
this.
|
|
30634
|
+
this.q4e_1 = $tmp0__anonymous__1nv1x1;
|
|
30635
|
+
this.r4e_1 = $sceneRouter;
|
|
30636
|
+
this.s4e_1 = $state;
|
|
30637
|
+
this.t4e_1 = $asyncProvider;
|
|
30638
|
+
this.u4e_1 = $store;
|
|
30669
30639
|
CoroutineImpl.call(this, resultContinuation);
|
|
30670
30640
|
}
|
|
30671
30641
|
sceneRouterMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -30684,19 +30654,19 @@
|
|
|
30684
30654
|
var tmp = this.mj_1;
|
|
30685
30655
|
if (tmp === 0) {
|
|
30686
30656
|
this.nj_1 = 1;
|
|
30687
|
-
var tmp0_subject = this.
|
|
30657
|
+
var tmp0_subject = this.q4e_1;
|
|
30688
30658
|
var tmp_0;
|
|
30689
30659
|
if (tmp0_subject instanceof StartGameMechanicAction) {
|
|
30690
|
-
tmp_0 = listOf(new SceneStartedMechanicAction(this.
|
|
30660
|
+
tmp_0 = listOf(new SceneStartedMechanicAction(this.r4e_1.m46(this.q4e_1.i49_1).s46_1));
|
|
30691
30661
|
} else {
|
|
30692
30662
|
if (tmp0_subject instanceof RestartGameMechanicAction) {
|
|
30693
|
-
tmp_0 = listOf(new SceneStartedMechanicAction(this.
|
|
30663
|
+
tmp_0 = listOf(new SceneStartedMechanicAction(this.r4e_1.n46(null, this.s4e_1.h2x().b3u_1).s46_1));
|
|
30694
30664
|
} else {
|
|
30695
30665
|
if (tmp0_subject instanceof TeamsDataMechanicAction) {
|
|
30696
|
-
tmp_0 = listOf(new SceneEndedMechanicAction(this.
|
|
30666
|
+
tmp_0 = listOf(new SceneEndedMechanicAction(this.s4e_1.h2x().d3u_1.b3y_1));
|
|
30697
30667
|
} else {
|
|
30698
30668
|
if (tmp0_subject instanceof PlayerReadyMechanicAction) {
|
|
30699
|
-
var table = this.
|
|
30669
|
+
var table = this.s4e_1.h2x();
|
|
30700
30670
|
var tmp_1;
|
|
30701
30671
|
var tmp$ret$0;
|
|
30702
30672
|
l$ret$1: do {
|
|
@@ -30705,7 +30675,7 @@
|
|
|
30705
30675
|
var tmp0_iterator = tmp0_filterNot.f();
|
|
30706
30676
|
while (tmp0_iterator.g()) {
|
|
30707
30677
|
var element = tmp0_iterator.h();
|
|
30708
|
-
if (!(element.x2k() === this.
|
|
30678
|
+
if (!(element.x2k() === this.q4e_1.v48_1)) {
|
|
30709
30679
|
tmp0_filterNotTo.a(element);
|
|
30710
30680
|
}
|
|
30711
30681
|
}
|
|
@@ -30732,7 +30702,7 @@
|
|
|
30732
30702
|
}
|
|
30733
30703
|
while (false);
|
|
30734
30704
|
if (tmp$ret$0) {
|
|
30735
|
-
tmp_1 = new SceneEndedMechanicAction(this.
|
|
30705
|
+
tmp_1 = new SceneEndedMechanicAction(this.s4e_1.h2x().d3u_1.b3y_1);
|
|
30736
30706
|
} else {
|
|
30737
30707
|
tmp_1 = null;
|
|
30738
30708
|
}
|
|
@@ -30740,7 +30710,7 @@
|
|
|
30740
30710
|
} else {
|
|
30741
30711
|
if (tmp0_subject instanceof SuitChoiceMechanicAction) {
|
|
30742
30712
|
var tmp_3;
|
|
30743
|
-
if (this.
|
|
30713
|
+
if (this.q4e_1.o45_1) {
|
|
30744
30714
|
tmp_3 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
30745
30715
|
} else {
|
|
30746
30716
|
tmp_3 = null;
|
|
@@ -30748,7 +30718,7 @@
|
|
|
30748
30718
|
tmp_0 = listOfNotNull(tmp_3);
|
|
30749
30719
|
} else {
|
|
30750
30720
|
if (tmp0_subject instanceof TrumpMechanicAction) {
|
|
30751
|
-
var tmp2_requireNotNull = this.
|
|
30721
|
+
var tmp2_requireNotNull = this.s4e_1.h2x().d3u_1.d3y_1;
|
|
30752
30722
|
var tmp$ret$2;
|
|
30753
30723
|
l$ret$3: do {
|
|
30754
30724
|
if (tmp2_requireNotNull == null) {
|
|
@@ -30763,8 +30733,8 @@
|
|
|
30763
30733
|
tmp_0 = listOf(new SceneActEndedMechanicAction(tmp$ret$2));
|
|
30764
30734
|
} else {
|
|
30765
30735
|
if (tmp0_subject instanceof PickUpBribeMechanicAction) {
|
|
30766
|
-
var table_0 = this.
|
|
30767
|
-
var player = getPlayer(table_0.c3u_1, this.
|
|
30736
|
+
var table_0 = this.s4e_1.h2x();
|
|
30737
|
+
var player = getPlayer(table_0.c3u_1, this.q4e_1.t45_1);
|
|
30768
30738
|
var tmp_4;
|
|
30769
30739
|
if (player.w30() === 0) {
|
|
30770
30740
|
var tmp3_requireNotNull = table_0.d3u_1.d3y_1;
|
|
@@ -30786,8 +30756,8 @@
|
|
|
30786
30756
|
tmp_0 = listOfNotNull(tmp_4);
|
|
30787
30757
|
} else {
|
|
30788
30758
|
if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
|
|
30789
|
-
var table_1 = this.
|
|
30790
|
-
var combination = first(this.
|
|
30759
|
+
var table_1 = this.s4e_1.h2x();
|
|
30760
|
+
var combination = first(this.q4e_1.a49_1);
|
|
30791
30761
|
var tmp1_subject = combination.s3a_1;
|
|
30792
30762
|
var tmp0 = tmp1_subject.e5_1;
|
|
30793
30763
|
var tmp_5;
|
|
@@ -30809,7 +30779,7 @@
|
|
|
30809
30779
|
break;
|
|
30810
30780
|
case 5:
|
|
30811
30781
|
var tmp_6;
|
|
30812
|
-
if (this.
|
|
30782
|
+
if (this.q4e_1.z48_1) {
|
|
30813
30783
|
tmp_6 = new RestartGameMechanicAction(RestartGameReason_getInstance());
|
|
30814
30784
|
} else {
|
|
30815
30785
|
var tmp5_requireNotNull = table_1.d3u_1.d3y_1;
|
|
@@ -30846,7 +30816,7 @@
|
|
|
30846
30816
|
}
|
|
30847
30817
|
var actions = tmp_0;
|
|
30848
30818
|
if (!actions.k()) {
|
|
30849
|
-
this.
|
|
30819
|
+
this.t4e_1.l2q(null, sceneRouterMiddleware$o$handle$slambda$slambda_0(actions, this.u4e_1, null), 1, null);
|
|
30850
30820
|
}
|
|
30851
30821
|
return Unit_getInstance();
|
|
30852
30822
|
} else if (tmp === 1) {
|
|
@@ -30858,8 +30828,8 @@
|
|
|
30858
30828
|
while (true);
|
|
30859
30829
|
};
|
|
30860
30830
|
sceneRouterMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
30861
|
-
var i = new sceneRouterMiddleware$o$handle$slambda(this.r4e_1, this.s4e_1, this.t4e_1, this.u4e_1,
|
|
30862
|
-
i.
|
|
30831
|
+
var i = new sceneRouterMiddleware$o$handle$slambda(this.q4e_1, this.r4e_1, this.s4e_1, this.t4e_1, this.u4e_1, completion);
|
|
30832
|
+
i.v4e_1 = $this$launchWorker;
|
|
30863
30833
|
return i;
|
|
30864
30834
|
};
|
|
30865
30835
|
sceneRouterMiddleware$o$handle$slambda.$metadata$ = classMeta('sceneRouterMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -30872,29 +30842,29 @@
|
|
|
30872
30842
|
return l;
|
|
30873
30843
|
}
|
|
30874
30844
|
function _no_name_provided__qut3iv_3($asyncProvider, $sceneRouter) {
|
|
30875
|
-
this.
|
|
30876
|
-
this.
|
|
30845
|
+
this.w4e_1 = $asyncProvider;
|
|
30846
|
+
this.x4e_1 = $sceneRouter;
|
|
30877
30847
|
}
|
|
30878
30848
|
_no_name_provided__qut3iv_3.prototype.f2r = function (action) {
|
|
30879
30849
|
return action instanceof MechanicAction;
|
|
30880
30850
|
};
|
|
30881
|
-
_no_name_provided__qut3iv_3.prototype.
|
|
30851
|
+
_no_name_provided__qut3iv_3.prototype.s4b = function (store, next, action) {
|
|
30882
30852
|
// Inline function 'com.debertz.logic.redux.middlewares.navigation.sceneRouterMiddleware.<anonymous>' call
|
|
30883
30853
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
30884
30854
|
var state = store.state;
|
|
30885
30855
|
next(tmp0__anonymous__q1qw7t);
|
|
30886
|
-
this.
|
|
30856
|
+
this.w4e_1.n2q(null, sceneRouterMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.x4e_1, state, this.w4e_1, store, null), 1, null);
|
|
30887
30857
|
};
|
|
30888
30858
|
_no_name_provided__qut3iv_3.prototype.g2r = function (store, next, action) {
|
|
30889
|
-
return this.
|
|
30859
|
+
return this.s4b(store, next, action);
|
|
30890
30860
|
};
|
|
30891
30861
|
_no_name_provided__qut3iv_3.$metadata$ = classMeta(undefined, [Middleware]);
|
|
30892
30862
|
function PlayerTurnTimerTag(playerId, tag) {
|
|
30893
|
-
this.
|
|
30894
|
-
this.
|
|
30863
|
+
this.y4e_1 = playerId;
|
|
30864
|
+
this.z4e_1 = tag;
|
|
30895
30865
|
}
|
|
30896
30866
|
PlayerTurnTimerTag.prototype.x2k = function () {
|
|
30897
|
-
return this.
|
|
30867
|
+
return this.y4e_1;
|
|
30898
30868
|
};
|
|
30899
30869
|
PlayerTurnTimerTag.prototype.equals = function (other) {
|
|
30900
30870
|
if (this === other)
|
|
@@ -30905,15 +30875,15 @@
|
|
|
30905
30875
|
other;
|
|
30906
30876
|
else
|
|
30907
30877
|
THROW_CCE();
|
|
30908
|
-
if (!(this.
|
|
30878
|
+
if (!(this.y4e_1 === other.y4e_1))
|
|
30909
30879
|
return false;
|
|
30910
30880
|
return true;
|
|
30911
30881
|
};
|
|
30912
30882
|
PlayerTurnTimerTag.prototype.hashCode = function () {
|
|
30913
|
-
return getStringHashCode(this.
|
|
30883
|
+
return getStringHashCode(this.y4e_1);
|
|
30914
30884
|
};
|
|
30915
30885
|
PlayerTurnTimerTag.prototype.toString = function () {
|
|
30916
|
-
return 'PlayerTurnTimerTag(playerId=' + this.
|
|
30886
|
+
return 'PlayerTurnTimerTag(playerId=' + this.y4e_1 + ', tag=' + this.z4e_1 + ')';
|
|
30917
30887
|
};
|
|
30918
30888
|
PlayerTurnTimerTag.$metadata$ = classMeta('PlayerTurnTimerTag', [TimerTag]);
|
|
30919
30889
|
function getStartPlayerStepTimerDelayMillis(player, config, isDelayForBot, random) {
|
|
@@ -30951,15 +30921,15 @@
|
|
|
30951
30921
|
return tmp;
|
|
30952
30922
|
}
|
|
30953
30923
|
function _no_name_provided__qut3iv_4($isEnableBotForPlayer, $botConfig, $lastCardInteractor, $playerTurnInteractor) {
|
|
30954
|
-
this.
|
|
30955
|
-
this.
|
|
30956
|
-
this.
|
|
30957
|
-
this.
|
|
30924
|
+
this.a4f_1 = $isEnableBotForPlayer;
|
|
30925
|
+
this.b4f_1 = $botConfig;
|
|
30926
|
+
this.c4f_1 = $lastCardInteractor;
|
|
30927
|
+
this.d4f_1 = $playerTurnInteractor;
|
|
30958
30928
|
}
|
|
30959
30929
|
_no_name_provided__qut3iv_4.prototype.f2r = function (action) {
|
|
30960
30930
|
return isInterface(action, NextPlayerTurnAction);
|
|
30961
30931
|
};
|
|
30962
|
-
_no_name_provided__qut3iv_4.prototype.
|
|
30932
|
+
_no_name_provided__qut3iv_4.prototype.s4b = function (store, next, action) {
|
|
30963
30933
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>' call
|
|
30964
30934
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
30965
30935
|
var table = store.state.h2x();
|
|
@@ -30975,7 +30945,7 @@
|
|
|
30975
30945
|
var element = tmp0_iterator.h();
|
|
30976
30946
|
var tmp$ret$0;
|
|
30977
30947
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
|
|
30978
|
-
tmp$ret$0 = this.
|
|
30948
|
+
tmp$ret$0 = this.a4f_1(element);
|
|
30979
30949
|
if (tmp$ret$0) {
|
|
30980
30950
|
tmp0_filterTo.a(element);
|
|
30981
30951
|
}
|
|
@@ -30989,11 +30959,11 @@
|
|
|
30989
30959
|
var tmp$ret$3;
|
|
30990
30960
|
$l$block_0: {
|
|
30991
30961
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
|
|
30992
|
-
if (this.
|
|
30962
|
+
if (this.b4f_1.j2x_1 ? this.c4f_1.r42(getPlayer(table.c3u_1, element_0)) : false) {
|
|
30993
30963
|
tmp$ret$3 = Unit_getInstance();
|
|
30994
30964
|
break $l$block_0;
|
|
30995
30965
|
}
|
|
30996
|
-
var tmp0_elvis_lhs = this.
|
|
30966
|
+
var tmp0_elvis_lhs = this.d4f_1.v45(tmp0__anonymous__q1qw7t, table.c3u_1, table.h3u_1.v3u_1);
|
|
30997
30967
|
var tmp;
|
|
30998
30968
|
if (tmp0_elvis_lhs == null) {
|
|
30999
30969
|
tmp$ret$3 = Unit_getInstance();
|
|
@@ -31004,33 +30974,33 @@
|
|
|
31004
30974
|
var turnModel = tmp;
|
|
31005
30975
|
var tmp_0 = store.dispatch;
|
|
31006
30976
|
var tmp_1 = new PlayerTurnTimerTag(element_0, turnModel.f32_1);
|
|
31007
|
-
var tmp_2 = getStartPlayerStepTimerDelayMillis(getPlayer(table.c3u_1, element_0), table.b3u_1, this.
|
|
30977
|
+
var tmp_2 = getStartPlayerStepTimerDelayMillis(getPlayer(table.c3u_1, element_0), table.b3u_1, this.b4f_1.l2x_1, this.b4f_1.k2x_1 ? Default_getInstance() : null);
|
|
31008
30978
|
tmp_0(StartTimerAction_init_$Create$(tmp_1, tmp_2, new Long(0, 0), TimerType_DELAY_getInstance(), 4, null));
|
|
31009
30979
|
}
|
|
31010
30980
|
}
|
|
31011
30981
|
next(tmp0__anonymous__q1qw7t);
|
|
31012
30982
|
};
|
|
31013
30983
|
_no_name_provided__qut3iv_4.prototype.g2r = function (store, next, action) {
|
|
31014
|
-
return this.
|
|
30984
|
+
return this.s4b(store, next, action);
|
|
31015
30985
|
};
|
|
31016
30986
|
_no_name_provided__qut3iv_4.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31017
30987
|
function _no_name_provided__qut3iv_5($isEnableBotForPlayer) {
|
|
31018
|
-
this.
|
|
30988
|
+
this.e4f_1 = $isEnableBotForPlayer;
|
|
31019
30989
|
}
|
|
31020
30990
|
_no_name_provided__qut3iv_5.prototype.f2r = function (action) {
|
|
31021
30991
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
31022
30992
|
};
|
|
31023
|
-
_no_name_provided__qut3iv_5.prototype.
|
|
30993
|
+
_no_name_provided__qut3iv_5.prototype.s4b = function (store, next, action) {
|
|
31024
30994
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerStopTimerMiddleware.<anonymous>' call
|
|
31025
30995
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
31026
|
-
if (this.
|
|
30996
|
+
if (this.e4f_1(tmp0__anonymous__q1qw7t.playerId)) {
|
|
31027
30997
|
var player = getPlayer(store.state.h2x().c3u_1, tmp0__anonymous__q1qw7t.playerId);
|
|
31028
30998
|
store.dispatch(new StopTimerAction(new PlayerTurnTimerTag(tmp0__anonymous__q1qw7t.playerId, player.o30_1.s2m())));
|
|
31029
30999
|
}
|
|
31030
31000
|
next(tmp0__anonymous__q1qw7t);
|
|
31031
31001
|
};
|
|
31032
31002
|
_no_name_provided__qut3iv_5.prototype.g2r = function (store, next, action) {
|
|
31033
|
-
return this.
|
|
31003
|
+
return this.s4b(store, next, action);
|
|
31034
31004
|
};
|
|
31035
31005
|
_no_name_provided__qut3iv_5.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31036
31006
|
function playerTurnTimeoutMiddleware() {
|
|
@@ -31044,18 +31014,18 @@
|
|
|
31044
31014
|
_no_name_provided__qut3iv_6.prototype.f2r = function (action) {
|
|
31045
31015
|
return action instanceof TimerTickAction;
|
|
31046
31016
|
};
|
|
31047
|
-
_no_name_provided__qut3iv_6.prototype.
|
|
31017
|
+
_no_name_provided__qut3iv_6.prototype.s4b = function (store, next, action) {
|
|
31048
31018
|
// Inline function 'com.debertz.logic.redux.middlewares.player.playerTurnTimeoutMiddleware.<anonymous>' call
|
|
31049
31019
|
var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
31050
31020
|
var timerTag = tmp0__anonymous__q1qw7t.t2r_1;
|
|
31051
31021
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
31052
|
-
var player = getPlayer(store.state.h2x().c3u_1, timerTag.
|
|
31022
|
+
var player = getPlayer(store.state.h2x().c3u_1, timerTag.y4e_1);
|
|
31053
31023
|
store.dispatch(new AskBotAction(player.x2k(), 'PlayerTurn'));
|
|
31054
31024
|
}
|
|
31055
31025
|
next(tmp0__anonymous__q1qw7t);
|
|
31056
31026
|
};
|
|
31057
31027
|
_no_name_provided__qut3iv_6.prototype.g2r = function (store, next, action) {
|
|
31058
|
-
return this.
|
|
31028
|
+
return this.s4b(store, next, action);
|
|
31059
31029
|
};
|
|
31060
31030
|
_no_name_provided__qut3iv_6.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31061
31031
|
function sceneLifecycleMiddleware(asyncProvider, sceneFactory, router) {
|
|
@@ -31065,8 +31035,8 @@
|
|
|
31065
31035
|
return tmp$ret$0;
|
|
31066
31036
|
}
|
|
31067
31037
|
function sceneLifecycleMiddleware$o$handle$slambda$slambda($navigationActions, $store, resultContinuation) {
|
|
31068
|
-
this.
|
|
31069
|
-
this.
|
|
31038
|
+
this.n4f_1 = $navigationActions;
|
|
31039
|
+
this.o4f_1 = $store;
|
|
31070
31040
|
CoroutineImpl.call(this, resultContinuation);
|
|
31071
31041
|
}
|
|
31072
31042
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.prototype.j16 = function ($this$launchStore, $cont) {
|
|
@@ -31085,10 +31055,10 @@
|
|
|
31085
31055
|
var tmp = this.mj_1;
|
|
31086
31056
|
if (tmp === 0) {
|
|
31087
31057
|
this.nj_1 = 1;
|
|
31088
|
-
var tmp0_iterator = this.
|
|
31058
|
+
var tmp0_iterator = this.n4f_1.f();
|
|
31089
31059
|
while (tmp0_iterator.g()) {
|
|
31090
31060
|
var element = tmp0_iterator.h();
|
|
31091
|
-
this.
|
|
31061
|
+
this.o4f_1.dispatch(element);
|
|
31092
31062
|
}
|
|
31093
31063
|
return Unit_getInstance();
|
|
31094
31064
|
} else if (tmp === 1) {
|
|
@@ -31100,8 +31070,8 @@
|
|
|
31100
31070
|
while (true);
|
|
31101
31071
|
};
|
|
31102
31072
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.prototype.k16 = function ($this$launchStore, completion) {
|
|
31103
|
-
var i = new sceneLifecycleMiddleware$o$handle$slambda$slambda(this.
|
|
31104
|
-
i.
|
|
31073
|
+
var i = new sceneLifecycleMiddleware$o$handle$slambda$slambda(this.n4f_1, this.o4f_1, completion);
|
|
31074
|
+
i.p4f_1 = $this$launchStore;
|
|
31105
31075
|
return i;
|
|
31106
31076
|
};
|
|
31107
31077
|
sceneLifecycleMiddleware$o$handle$slambda$slambda.$metadata$ = classMeta('sceneLifecycleMiddleware$o$handle$slambda$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -31114,12 +31084,12 @@
|
|
|
31114
31084
|
return l;
|
|
31115
31085
|
}
|
|
31116
31086
|
function sceneLifecycleMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $sceneFactory, $table, $router, $asyncProvider, $store, resultContinuation) {
|
|
31117
|
-
this.
|
|
31118
|
-
this.
|
|
31119
|
-
this.
|
|
31120
|
-
this.
|
|
31121
|
-
this.
|
|
31122
|
-
this.
|
|
31087
|
+
this.y4f_1 = $tmp0__anonymous__1nv1x1;
|
|
31088
|
+
this.z4f_1 = $sceneFactory;
|
|
31089
|
+
this.a4g_1 = $table;
|
|
31090
|
+
this.b4g_1 = $router;
|
|
31091
|
+
this.c4g_1 = $asyncProvider;
|
|
31092
|
+
this.d4g_1 = $store;
|
|
31123
31093
|
CoroutineImpl.call(this, resultContinuation);
|
|
31124
31094
|
}
|
|
31125
31095
|
sceneLifecycleMiddleware$o$handle$slambda.prototype.j16 = function ($this$launchWorker, $cont) {
|
|
@@ -31138,11 +31108,11 @@
|
|
|
31138
31108
|
var tmp = this.mj_1;
|
|
31139
31109
|
if (tmp === 0) {
|
|
31140
31110
|
this.nj_1 = 1;
|
|
31141
|
-
var tmp0_subject = this.
|
|
31111
|
+
var tmp0_subject = this.y4f_1;
|
|
31142
31112
|
var tmp_0;
|
|
31143
31113
|
if (tmp0_subject instanceof SceneStartedMechanicAction) {
|
|
31144
|
-
var sceneData = this.
|
|
31145
|
-
var navigationActCommand = this.
|
|
31114
|
+
var sceneData = this.z4f_1.g46(this.y4f_1.p49_1, this.a4g_1);
|
|
31115
|
+
var navigationActCommand = this.b4g_1.o46(sceneData, this.a4g_1);
|
|
31146
31116
|
var tmp1_safe_receiver = navigationActCommand;
|
|
31147
31117
|
var tmp_1;
|
|
31148
31118
|
if (tmp1_safe_receiver == null) {
|
|
@@ -31150,18 +31120,18 @@
|
|
|
31150
31120
|
} else {
|
|
31151
31121
|
var tmp0_actId = tmp1_safe_receiver.u46_1;
|
|
31152
31122
|
var tmp1_payload = tmp1_safe_receiver.v46_1;
|
|
31153
|
-
tmp_1 = this.
|
|
31123
|
+
tmp_1 = this.z4f_1.h46(tmp0_actId, sceneData, tmp1_payload, this.a4g_1);
|
|
31154
31124
|
}
|
|
31155
31125
|
var actData = tmp_1;
|
|
31156
|
-
var tmp3_sceneId = this.
|
|
31126
|
+
var tmp3_sceneId = this.y4f_1.p49_1;
|
|
31157
31127
|
var tmp2_safe_receiver = actData;
|
|
31158
31128
|
var tmp4_actId = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.actId;
|
|
31159
31129
|
var mechanicAction = new SceneMechanicAction(tmp3_sceneId, tmp4_actId, sceneData, actData);
|
|
31160
31130
|
tmp_0 = listOfNotNull(mechanicAction);
|
|
31161
31131
|
} else {
|
|
31162
31132
|
if (tmp0_subject instanceof SceneEndedMechanicAction) {
|
|
31163
|
-
var tmp5_safe_receiver = firstOrNull(filterByGameWinner(this.
|
|
31164
|
-
var nextSceneCommand = this.
|
|
31133
|
+
var tmp5_safe_receiver = firstOrNull(filterByGameWinner(this.a4g_1.c3u_1));
|
|
31134
|
+
var nextSceneCommand = this.b4g_1.p46(this.y4f_1.o49_1, tmp5_safe_receiver == null ? null : tmp5_safe_receiver.x2k(), this.a4g_1.b3u_1);
|
|
31165
31135
|
var tmp6_subject = nextSceneCommand;
|
|
31166
31136
|
var tmp_2;
|
|
31167
31137
|
if (tmp6_subject instanceof MoveSceneNext) {
|
|
@@ -31172,20 +31142,20 @@
|
|
|
31172
31142
|
tmp_0 = tmp_2;
|
|
31173
31143
|
} else {
|
|
31174
31144
|
if (tmp0_subject instanceof SceneActStartedMechanicAction) {
|
|
31175
|
-
var mechanicAction_0 = new SceneActMechanicAction(this.
|
|
31145
|
+
var mechanicAction_0 = new SceneActMechanicAction(this.y4f_1.r49_1, this.y4f_1.s49_1, this.y4f_1.t49_1);
|
|
31176
31146
|
tmp_0 = listOf(mechanicAction_0);
|
|
31177
31147
|
} else {
|
|
31178
31148
|
if (tmp0_subject instanceof SceneActEndedMechanicAction) {
|
|
31179
|
-
var navigationCommand = this.
|
|
31149
|
+
var navigationCommand = this.b4g_1.r46(this.a4g_1, null, 2, null);
|
|
31180
31150
|
var tmp_3;
|
|
31181
31151
|
if (navigationCommand instanceof FinishActNext) {
|
|
31182
|
-
tmp_3 = listOf(new SceneEndedMechanicAction(this.
|
|
31152
|
+
tmp_3 = listOf(new SceneEndedMechanicAction(this.a4g_1.d3u_1.b3y_1));
|
|
31183
31153
|
} else {
|
|
31184
31154
|
if (navigationCommand instanceof MoveActNext) {
|
|
31185
31155
|
var tmp7_actId = navigationCommand.u46_1;
|
|
31186
31156
|
var tmp$ret$0;
|
|
31187
31157
|
l$ret$1: do {
|
|
31188
|
-
var tmp0_requireSceneData = this.
|
|
31158
|
+
var tmp0_requireSceneData = this.a4g_1.d3u_1.e3y_1;
|
|
31189
31159
|
if (!(tmp0_requireSceneData == null) ? isInterface(tmp0_requireSceneData, SceneData) : false) {
|
|
31190
31160
|
tmp$ret$0 = tmp0_requireSceneData;
|
|
31191
31161
|
break l$ret$1;
|
|
@@ -31195,8 +31165,8 @@
|
|
|
31195
31165
|
while (false);
|
|
31196
31166
|
var tmp8_sceneData = tmp$ret$0;
|
|
31197
31167
|
var tmp9_payload = navigationCommand.v46_1;
|
|
31198
|
-
var actData_0 = this.
|
|
31199
|
-
tmp_3 = listOf(new SceneActStartedMechanicAction(this.
|
|
31168
|
+
var actData_0 = this.z4f_1.h46(tmp7_actId, tmp8_sceneData, tmp9_payload, this.a4g_1);
|
|
31169
|
+
tmp_3 = listOf(new SceneActStartedMechanicAction(this.a4g_1.d3u_1.b3y_1, navigationCommand.u46_1, actData_0));
|
|
31200
31170
|
} else {
|
|
31201
31171
|
noWhenBranchMatchedException();
|
|
31202
31172
|
}
|
|
@@ -31209,7 +31179,7 @@
|
|
|
31209
31179
|
}
|
|
31210
31180
|
}
|
|
31211
31181
|
var navigationActions = tmp_0;
|
|
31212
|
-
this.
|
|
31182
|
+
this.c4g_1.l2q(null, sceneLifecycleMiddleware$o$handle$slambda$slambda_0(navigationActions, this.d4g_1, null), 1, null);
|
|
31213
31183
|
return Unit_getInstance();
|
|
31214
31184
|
} else if (tmp === 1) {
|
|
31215
31185
|
throw this.pj_1;
|
|
@@ -31220,8 +31190,8 @@
|
|
|
31220
31190
|
while (true);
|
|
31221
31191
|
};
|
|
31222
31192
|
sceneLifecycleMiddleware$o$handle$slambda.prototype.k16 = function ($this$launchWorker, completion) {
|
|
31223
|
-
var i = new sceneLifecycleMiddleware$o$handle$slambda(this.z4f_1, this.a4g_1, this.b4g_1, this.c4g_1, this.d4g_1,
|
|
31224
|
-
i.
|
|
31193
|
+
var i = new sceneLifecycleMiddleware$o$handle$slambda(this.y4f_1, this.z4f_1, this.a4g_1, this.b4g_1, this.c4g_1, this.d4g_1, completion);
|
|
31194
|
+
i.e4g_1 = $this$launchWorker;
|
|
31225
31195
|
return i;
|
|
31226
31196
|
};
|
|
31227
31197
|
sceneLifecycleMiddleware$o$handle$slambda.$metadata$ = classMeta('sceneLifecycleMiddleware$o$handle$slambda', undefined, undefined, undefined, [1], CoroutineImpl.prototype);
|
|
@@ -31234,22 +31204,22 @@
|
|
|
31234
31204
|
return l;
|
|
31235
31205
|
}
|
|
31236
31206
|
function _no_name_provided__qut3iv_7($asyncProvider, $sceneFactory, $router) {
|
|
31237
|
-
this.
|
|
31238
|
-
this.
|
|
31239
|
-
this.
|
|
31207
|
+
this.f4g_1 = $asyncProvider;
|
|
31208
|
+
this.g4g_1 = $sceneFactory;
|
|
31209
|
+
this.h4g_1 = $router;
|
|
31240
31210
|
}
|
|
31241
31211
|
_no_name_provided__qut3iv_7.prototype.f2r = function (action) {
|
|
31242
31212
|
return action instanceof SceneLifecycleAction;
|
|
31243
31213
|
};
|
|
31244
|
-
_no_name_provided__qut3iv_7.prototype.
|
|
31214
|
+
_no_name_provided__qut3iv_7.prototype.s4b = function (store, next, action) {
|
|
31245
31215
|
// Inline function 'com.debertz.logic.redux.middlewares.slices.sceneLifecycleMiddleware.<anonymous>' call
|
|
31246
31216
|
var tmp0__anonymous__q1qw7t = action instanceof SceneLifecycleAction ? action : THROW_CCE();
|
|
31247
31217
|
var table = store.state.h2x();
|
|
31248
31218
|
next(tmp0__anonymous__q1qw7t);
|
|
31249
|
-
this.
|
|
31219
|
+
this.f4g_1.n2q(null, sceneLifecycleMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.g4g_1, table, this.h4g_1, this.f4g_1, store, null), 1, null);
|
|
31250
31220
|
};
|
|
31251
31221
|
_no_name_provided__qut3iv_7.prototype.g2r = function (store, next, action) {
|
|
31252
|
-
return this.
|
|
31222
|
+
return this.s4b(store, next, action);
|
|
31253
31223
|
};
|
|
31254
31224
|
_no_name_provided__qut3iv_7.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31255
31225
|
function clearTimersWhenFinishingGameMiddleware() {
|
|
@@ -31263,7 +31233,7 @@
|
|
|
31263
31233
|
_no_name_provided__qut3iv_8.prototype.f2r = function (action) {
|
|
31264
31234
|
return action instanceof FinishingGameMechanicAction;
|
|
31265
31235
|
};
|
|
31266
|
-
_no_name_provided__qut3iv_8.prototype.
|
|
31236
|
+
_no_name_provided__qut3iv_8.prototype.s4b = function (store, next, action) {
|
|
31267
31237
|
// Inline function 'com.debertz.logic.redux.middlewares.timers.clearTimersWhenFinishingGameMiddleware.<anonymous>' call
|
|
31268
31238
|
var tmp0__anonymous__q1qw7t = action instanceof FinishingGameMechanicAction ? action : THROW_CCE();
|
|
31269
31239
|
var state = store.state;
|
|
@@ -31280,18 +31250,43 @@
|
|
|
31280
31250
|
next(tmp0__anonymous__q1qw7t);
|
|
31281
31251
|
};
|
|
31282
31252
|
_no_name_provided__qut3iv_8.prototype.g2r = function (store, next, action) {
|
|
31283
|
-
return this.
|
|
31253
|
+
return this.s4b(store, next, action);
|
|
31284
31254
|
};
|
|
31285
31255
|
_no_name_provided__qut3iv_8.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31286
31256
|
function checkGameIsNotFinishedMiddleware(logger) {
|
|
31287
31257
|
return middleware(checkGameIsNotFinishedMiddleware$lambda(logger));
|
|
31288
31258
|
}
|
|
31289
|
-
function
|
|
31259
|
+
function checkGameIsFinishedTimerTickMiddleware(logger) {
|
|
31260
|
+
var tmp$ret$0;
|
|
31261
|
+
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31262
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_9(logger);
|
|
31263
|
+
return tmp$ret$0;
|
|
31264
|
+
}
|
|
31265
|
+
function checkGameIsFinishedStartTimerMiddleware() {
|
|
31266
|
+
var tmp$ret$0;
|
|
31267
|
+
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31268
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_10();
|
|
31269
|
+
return tmp$ret$0;
|
|
31270
|
+
}
|
|
31271
|
+
function checkGameIsFinishedStopTimerMiddleware() {
|
|
31290
31272
|
var tmp$ret$0;
|
|
31291
31273
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31292
|
-
tmp$ret$0 = new
|
|
31274
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_11();
|
|
31293
31275
|
return tmp$ret$0;
|
|
31294
31276
|
}
|
|
31277
|
+
function GameIsNotFinishedTimerTag() {
|
|
31278
|
+
GameIsNotFinishedTimerTag_instance = this;
|
|
31279
|
+
}
|
|
31280
|
+
GameIsNotFinishedTimerTag.prototype.toString = function () {
|
|
31281
|
+
return 'GameIsNotFinishedTimerTag';
|
|
31282
|
+
};
|
|
31283
|
+
GameIsNotFinishedTimerTag.$metadata$ = objectMeta('GameIsNotFinishedTimerTag', [TimerTag]);
|
|
31284
|
+
var GameIsNotFinishedTimerTag_instance;
|
|
31285
|
+
function GameIsNotFinishedTimerTag_getInstance() {
|
|
31286
|
+
if (GameIsNotFinishedTimerTag_instance == null)
|
|
31287
|
+
new GameIsNotFinishedTimerTag();
|
|
31288
|
+
return GameIsNotFinishedTimerTag_instance;
|
|
31289
|
+
}
|
|
31295
31290
|
function get_WAIT_FOR_FINISH_TIMEOUT_MILLIS() {
|
|
31296
31291
|
return WAIT_FOR_FINISH_TIMEOUT_MILLIS;
|
|
31297
31292
|
}
|
|
@@ -31326,125 +31321,100 @@
|
|
|
31326
31321
|
return Unit_getInstance();
|
|
31327
31322
|
};
|
|
31328
31323
|
}
|
|
31329
|
-
function
|
|
31330
|
-
this.
|
|
31331
|
-
this.s4g_1 = $tmp0__anonymous__1nv1x1;
|
|
31332
|
-
this.t4g_1 = $store;
|
|
31333
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
31324
|
+
function _no_name_provided__qut3iv_9($logger) {
|
|
31325
|
+
this.i4g_1 = $logger;
|
|
31334
31326
|
}
|
|
31335
|
-
|
|
31336
|
-
|
|
31337
|
-
tmp.oj_1 = Unit_getInstance();
|
|
31338
|
-
tmp.pj_1 = null;
|
|
31339
|
-
return tmp.vj();
|
|
31340
|
-
};
|
|
31341
|
-
checkGameIsFinishedWaitForFinishMiddleware$o$handle$slambda.prototype.wj = function (p1, $cont) {
|
|
31342
|
-
return this.j16((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $cont);
|
|
31327
|
+
_no_name_provided__qut3iv_9.prototype.f2r = function (action) {
|
|
31328
|
+
return action instanceof TimerTickAction;
|
|
31343
31329
|
};
|
|
31344
|
-
|
|
31345
|
-
|
|
31346
|
-
|
|
31347
|
-
|
|
31348
|
-
|
|
31349
|
-
|
|
31350
|
-
|
|
31351
|
-
|
|
31352
|
-
|
|
31353
|
-
|
|
31354
|
-
|
|
31355
|
-
return suspendResult;
|
|
31356
|
-
}
|
|
31357
|
-
|
|
31358
|
-
continue $sm;
|
|
31359
|
-
case 1:
|
|
31360
|
-
var tmp_0 = get_TAG();
|
|
31361
|
-
var tmp_1 = "CheckGameISNotFinishedMiddleware: Game engine marked as FINISHED, can't consume events, action: " + this.s4g_1;
|
|
31362
|
-
this.r4g_1.r2q(tmp_0, tmp_1, null, 4, null);
|
|
31363
|
-
this.t4g_1.dispatch(new FinishGameMechanicAction(this.t4g_1.state.y46()));
|
|
31364
|
-
return Unit_getInstance();
|
|
31365
|
-
case 2:
|
|
31366
|
-
throw this.pj_1;
|
|
31367
|
-
}
|
|
31368
|
-
} catch ($p) {
|
|
31369
|
-
if (this.nj_1 === 2) {
|
|
31370
|
-
throw $p;
|
|
31371
|
-
} else {
|
|
31372
|
-
this.mj_1 = this.nj_1;
|
|
31373
|
-
this.pj_1 = $p;
|
|
31374
|
-
}
|
|
31375
|
-
}
|
|
31376
|
-
while (true);
|
|
31330
|
+
_no_name_provided__qut3iv_9.prototype.s4b = function (store, next, action) {
|
|
31331
|
+
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkGameIsFinishedTimerTickMiddleware.<anonymous>' call
|
|
31332
|
+
var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
31333
|
+
var tmp = tmp0__anonymous__q1qw7t.t2r_1;
|
|
31334
|
+
if (tmp instanceof GameIsNotFinishedTimerTag) {
|
|
31335
|
+
var tmp_0 = get_TAG();
|
|
31336
|
+
var tmp_1 = "CheckGameISNotFinishedMiddleware: Game engine marked as FINISHED, can't consume events, action: " + tmp0__anonymous__q1qw7t;
|
|
31337
|
+
this.i4g_1.r2q(tmp_0, tmp_1, null, 4, null);
|
|
31338
|
+
store.dispatch(new FinishGameMechanicAction(store.state.y46()));
|
|
31339
|
+
}
|
|
31340
|
+
next(tmp0__anonymous__q1qw7t);
|
|
31377
31341
|
};
|
|
31378
|
-
|
|
31379
|
-
|
|
31380
|
-
i.u4g_1 = $this$launchWorker;
|
|
31381
|
-
return i;
|
|
31342
|
+
_no_name_provided__qut3iv_9.prototype.g2r = function (store, next, action) {
|
|
31343
|
+
return this.s4b(store, next, action);
|
|
31382
31344
|
};
|
|
31383
|
-
|
|
31384
|
-
function
|
|
31385
|
-
var i = new checkGameIsFinishedWaitForFinishMiddleware$o$handle$slambda($logger, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
31386
|
-
var l = function ($this$launchWorker, $cont) {
|
|
31387
|
-
return i.j16($this$launchWorker, $cont);
|
|
31388
|
-
};
|
|
31389
|
-
l.$arity = 1;
|
|
31390
|
-
return l;
|
|
31391
|
-
}
|
|
31392
|
-
function _no_name_provided__qut3iv_9($asyncProvider, $logger) {
|
|
31393
|
-
this.v4g_1 = $asyncProvider;
|
|
31394
|
-
this.w4g_1 = $logger;
|
|
31345
|
+
_no_name_provided__qut3iv_9.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31346
|
+
function _no_name_provided__qut3iv_10() {
|
|
31395
31347
|
}
|
|
31396
|
-
|
|
31348
|
+
_no_name_provided__qut3iv_10.prototype.f2r = function (action) {
|
|
31397
31349
|
return action instanceof FinishingGameMechanicAction;
|
|
31398
31350
|
};
|
|
31399
|
-
|
|
31400
|
-
// Inline function 'com.debertz.logic.redux.middlewares.validation.
|
|
31351
|
+
_no_name_provided__qut3iv_10.prototype.s4b = function (store, next, action) {
|
|
31352
|
+
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkGameIsFinishedStartTimerMiddleware.<anonymous>' call
|
|
31401
31353
|
var tmp0__anonymous__q1qw7t = action instanceof FinishingGameMechanicAction ? action : THROW_CCE();
|
|
31402
|
-
|
|
31354
|
+
var tmp = store.dispatch;
|
|
31355
|
+
var tmp_0 = GameIsNotFinishedTimerTag_getInstance();
|
|
31356
|
+
var tmp_1 = new Long(5000, 0);
|
|
31357
|
+
tmp(StartTimerAction_init_$Create$(tmp_0, tmp_1, new Long(0, 0), TimerType_DELAY_getInstance(), 4, null));
|
|
31403
31358
|
next(tmp0__anonymous__q1qw7t);
|
|
31404
31359
|
};
|
|
31405
|
-
|
|
31406
|
-
return this.
|
|
31360
|
+
_no_name_provided__qut3iv_10.prototype.g2r = function (store, next, action) {
|
|
31361
|
+
return this.s4b(store, next, action);
|
|
31407
31362
|
};
|
|
31408
|
-
|
|
31363
|
+
_no_name_provided__qut3iv_10.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31364
|
+
function _no_name_provided__qut3iv_11() {
|
|
31365
|
+
}
|
|
31366
|
+
_no_name_provided__qut3iv_11.prototype.f2r = function (action) {
|
|
31367
|
+
return action instanceof FinishGameMechanicAction;
|
|
31368
|
+
};
|
|
31369
|
+
_no_name_provided__qut3iv_11.prototype.s4b = function (store, next, action) {
|
|
31370
|
+
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkGameIsFinishedStopTimerMiddleware.<anonymous>' call
|
|
31371
|
+
var tmp0__anonymous__q1qw7t = action instanceof FinishGameMechanicAction ? action : THROW_CCE();
|
|
31372
|
+
store.dispatch(new StopTimerAction(GameIsNotFinishedTimerTag_getInstance()));
|
|
31373
|
+
next(tmp0__anonymous__q1qw7t);
|
|
31374
|
+
};
|
|
31375
|
+
_no_name_provided__qut3iv_11.prototype.g2r = function (store, next, action) {
|
|
31376
|
+
return this.s4b(store, next, action);
|
|
31377
|
+
};
|
|
31378
|
+
_no_name_provided__qut3iv_11.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31409
31379
|
function checkGameTestPointsMiddleware(logger) {
|
|
31410
31380
|
var tmp$ret$0;
|
|
31411
31381
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31412
|
-
tmp$ret$0 = new
|
|
31382
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_12(logger);
|
|
31413
31383
|
return tmp$ret$0;
|
|
31414
31384
|
}
|
|
31415
|
-
function
|
|
31416
|
-
this.
|
|
31385
|
+
function _no_name_provided__qut3iv_12($logger) {
|
|
31386
|
+
this.j4g_1 = $logger;
|
|
31417
31387
|
}
|
|
31418
|
-
|
|
31388
|
+
_no_name_provided__qut3iv_12.prototype.f2r = function (action) {
|
|
31419
31389
|
return isInterface(action, FirstMechanicAction);
|
|
31420
31390
|
};
|
|
31421
|
-
|
|
31391
|
+
_no_name_provided__qut3iv_12.prototype.s4b = function (store, next, action) {
|
|
31422
31392
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkGameTestPointsMiddleware.<anonymous>' call
|
|
31423
31393
|
var tmp0__anonymous__q1qw7t = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
|
|
31424
31394
|
if (store.state.o3v()) {
|
|
31425
31395
|
if (store.state.h2x().b3u_1.p3h_1.equals(PointsMode_TEST_getInstance())) {
|
|
31426
|
-
this.
|
|
31396
|
+
this.j4g_1.e2q(null, "checkGameTestPointsMiddleware: can't start game with the test mode points", null, null, 13, null);
|
|
31427
31397
|
}
|
|
31428
31398
|
}
|
|
31429
31399
|
next(tmp0__anonymous__q1qw7t);
|
|
31430
31400
|
};
|
|
31431
|
-
|
|
31432
|
-
return this.
|
|
31401
|
+
_no_name_provided__qut3iv_12.prototype.g2r = function (store, next, action) {
|
|
31402
|
+
return this.s4b(store, next, action);
|
|
31433
31403
|
};
|
|
31434
|
-
|
|
31404
|
+
_no_name_provided__qut3iv_12.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31435
31405
|
function checkPlayerCardsCountAfterBribeMiddleware(logger) {
|
|
31436
31406
|
var tmp$ret$0;
|
|
31437
31407
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31438
|
-
tmp$ret$0 = new
|
|
31408
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_13(logger);
|
|
31439
31409
|
return tmp$ret$0;
|
|
31440
31410
|
}
|
|
31441
|
-
function
|
|
31442
|
-
this.
|
|
31411
|
+
function _no_name_provided__qut3iv_13($logger) {
|
|
31412
|
+
this.k4g_1 = $logger;
|
|
31443
31413
|
}
|
|
31444
|
-
|
|
31414
|
+
_no_name_provided__qut3iv_13.prototype.f2r = function (action) {
|
|
31445
31415
|
return action instanceof PickUpBribeMechanicAction;
|
|
31446
31416
|
};
|
|
31447
|
-
|
|
31417
|
+
_no_name_provided__qut3iv_13.prototype.s4b = function (store, next, action) {
|
|
31448
31418
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkPlayerCardsCountAfterBribeMiddleware.<anonymous>' call
|
|
31449
31419
|
var tmp0__anonymous__q1qw7t = action instanceof PickUpBribeMechanicAction ? action : THROW_CCE();
|
|
31450
31420
|
var state = store.state;
|
|
@@ -31483,36 +31453,36 @@
|
|
|
31483
31453
|
if (!(toSet(tmp$ret$5).i() === 1)) {
|
|
31484
31454
|
var tmp = get_TAG();
|
|
31485
31455
|
var tmp_0 = 'CheckPlayerCardsCountAfterBribeMiddleware: Some of players have different cards count: ' + playersCards;
|
|
31486
|
-
this.
|
|
31456
|
+
this.k4g_1.r2q(tmp, tmp_0, null, 4, null);
|
|
31487
31457
|
}
|
|
31488
31458
|
next(tmp0__anonymous__q1qw7t);
|
|
31489
31459
|
};
|
|
31490
|
-
|
|
31491
|
-
return this.
|
|
31460
|
+
_no_name_provided__qut3iv_13.prototype.g2r = function (store, next, action) {
|
|
31461
|
+
return this.s4b(store, next, action);
|
|
31492
31462
|
};
|
|
31493
|
-
|
|
31463
|
+
_no_name_provided__qut3iv_13.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31494
31464
|
function NotValidateTimerReset() {
|
|
31495
31465
|
}
|
|
31496
31466
|
NotValidateTimerReset.$metadata$ = interfaceMeta('NotValidateTimerReset');
|
|
31497
31467
|
function checkEmptyTimersBeforeSceneMiddleware(logger) {
|
|
31498
31468
|
var tmp$ret$0;
|
|
31499
31469
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31500
|
-
tmp$ret$0 = new
|
|
31470
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_14(logger);
|
|
31501
31471
|
return tmp$ret$0;
|
|
31502
31472
|
}
|
|
31503
31473
|
function checkEmptyTimersBeforeSceneActMiddleware(logger) {
|
|
31504
31474
|
var tmp$ret$0;
|
|
31505
31475
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31506
|
-
tmp$ret$0 = new
|
|
31476
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_15(logger);
|
|
31507
31477
|
return tmp$ret$0;
|
|
31508
31478
|
}
|
|
31509
|
-
function
|
|
31510
|
-
this.
|
|
31479
|
+
function _no_name_provided__qut3iv_14($logger) {
|
|
31480
|
+
this.m4g_1 = $logger;
|
|
31511
31481
|
}
|
|
31512
|
-
|
|
31482
|
+
_no_name_provided__qut3iv_14.prototype.f2r = function (action) {
|
|
31513
31483
|
return action instanceof SceneMechanicAction;
|
|
31514
31484
|
};
|
|
31515
|
-
|
|
31485
|
+
_no_name_provided__qut3iv_14.prototype.s4b = function (store, next, action) {
|
|
31516
31486
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneMiddleware.<anonymous>' call
|
|
31517
31487
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
31518
31488
|
var tmp$ret$2;
|
|
@@ -31528,7 +31498,7 @@
|
|
|
31528
31498
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneMiddleware.<anonymous>.<anonymous>' call
|
|
31529
31499
|
var tmp;
|
|
31530
31500
|
if (isInterface(element, NotValidateTimerReset)) {
|
|
31531
|
-
tmp = element.
|
|
31501
|
+
tmp = element.l4g();
|
|
31532
31502
|
} else {
|
|
31533
31503
|
tmp = false;
|
|
31534
31504
|
}
|
|
@@ -31546,21 +31516,21 @@
|
|
|
31546
31516
|
if (tmp$ret$3) {
|
|
31547
31517
|
var tmp_0 = get_TAG();
|
|
31548
31518
|
var tmp_1 = 'CheckEmptyTimersBeforeSceneMiddleware: Timers are not empty before scene: ' + timers + ', ' + tmp0__anonymous__q1qw7t;
|
|
31549
|
-
this.
|
|
31519
|
+
this.m4g_1.r2q(tmp_0, tmp_1, null, 4, null);
|
|
31550
31520
|
}
|
|
31551
31521
|
next(tmp0__anonymous__q1qw7t);
|
|
31552
31522
|
};
|
|
31553
|
-
|
|
31554
|
-
return this.
|
|
31523
|
+
_no_name_provided__qut3iv_14.prototype.g2r = function (store, next, action) {
|
|
31524
|
+
return this.s4b(store, next, action);
|
|
31555
31525
|
};
|
|
31556
|
-
|
|
31557
|
-
function
|
|
31558
|
-
this.
|
|
31526
|
+
_no_name_provided__qut3iv_14.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31527
|
+
function _no_name_provided__qut3iv_15($logger) {
|
|
31528
|
+
this.n4g_1 = $logger;
|
|
31559
31529
|
}
|
|
31560
|
-
|
|
31530
|
+
_no_name_provided__qut3iv_15.prototype.f2r = function (action) {
|
|
31561
31531
|
return action instanceof SceneActMechanicAction;
|
|
31562
31532
|
};
|
|
31563
|
-
|
|
31533
|
+
_no_name_provided__qut3iv_15.prototype.s4b = function (store, next, action) {
|
|
31564
31534
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneActMiddleware.<anonymous>' call
|
|
31565
31535
|
var tmp0__anonymous__q1qw7t = action instanceof SceneActMechanicAction ? action : THROW_CCE();
|
|
31566
31536
|
var tmp$ret$2;
|
|
@@ -31576,7 +31546,7 @@
|
|
|
31576
31546
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkEmptyTimersBeforeSceneActMiddleware.<anonymous>.<anonymous>' call
|
|
31577
31547
|
var tmp;
|
|
31578
31548
|
if (isInterface(element, NotValidateTimerReset)) {
|
|
31579
|
-
tmp = element.
|
|
31549
|
+
tmp = element.l4g();
|
|
31580
31550
|
} else {
|
|
31581
31551
|
tmp = false;
|
|
31582
31552
|
}
|
|
@@ -31594,18 +31564,18 @@
|
|
|
31594
31564
|
if (tmp$ret$3) {
|
|
31595
31565
|
var tmp_0 = get_TAG();
|
|
31596
31566
|
var tmp_1 = 'CheckEmptyTimersBeforeSceneActMiddleware: Timers are not empty before act: ' + timers + ', ' + tmp0__anonymous__q1qw7t;
|
|
31597
|
-
this.
|
|
31567
|
+
this.n4g_1.r2q(tmp_0, tmp_1, null, 4, null);
|
|
31598
31568
|
}
|
|
31599
31569
|
next(tmp0__anonymous__q1qw7t);
|
|
31600
31570
|
};
|
|
31601
|
-
|
|
31602
|
-
return this.
|
|
31571
|
+
_no_name_provided__qut3iv_15.prototype.g2r = function (store, next, action) {
|
|
31572
|
+
return this.s4b(store, next, action);
|
|
31603
31573
|
};
|
|
31604
|
-
|
|
31574
|
+
_no_name_provided__qut3iv_15.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31605
31575
|
function checkValidClientTurnMiddleware(disableClientTurnCheckWhen, logger) {
|
|
31606
31576
|
var tmp$ret$0;
|
|
31607
31577
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31608
|
-
tmp$ret$0 = new
|
|
31578
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_16(disableClientTurnCheckWhen, logger);
|
|
31609
31579
|
return tmp$ret$0;
|
|
31610
31580
|
}
|
|
31611
31581
|
function checkValidClientTurnMiddleware$default(disableClientTurnCheckWhen, logger, $mask0, $handler) {
|
|
@@ -31616,7 +31586,7 @@
|
|
|
31616
31586
|
function checkPlayerTurnIsAlreadySetMiddleware(disableClientTurnCheckWhen, logger) {
|
|
31617
31587
|
var tmp$ret$0;
|
|
31618
31588
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31619
|
-
tmp$ret$0 = new
|
|
31589
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_17(disableClientTurnCheckWhen, logger);
|
|
31620
31590
|
return tmp$ret$0;
|
|
31621
31591
|
}
|
|
31622
31592
|
function checkPlayerTurnIsAlreadySetMiddleware$default(disableClientTurnCheckWhen, logger, $mask0, $handler) {
|
|
@@ -31624,14 +31594,14 @@
|
|
|
31624
31594
|
disableClientTurnCheckWhen = emptyList();
|
|
31625
31595
|
return checkPlayerTurnIsAlreadySetMiddleware(disableClientTurnCheckWhen, logger);
|
|
31626
31596
|
}
|
|
31627
|
-
function
|
|
31628
|
-
this.
|
|
31629
|
-
this.
|
|
31597
|
+
function _no_name_provided__qut3iv_16($disableClientTurnCheckWhen, $logger) {
|
|
31598
|
+
this.o4g_1 = $disableClientTurnCheckWhen;
|
|
31599
|
+
this.p4g_1 = $logger;
|
|
31630
31600
|
}
|
|
31631
|
-
|
|
31601
|
+
_no_name_provided__qut3iv_16.prototype.f2r = function (action) {
|
|
31632
31602
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
31633
31603
|
};
|
|
31634
|
-
|
|
31604
|
+
_no_name_provided__qut3iv_16.prototype.s4b = function (store, next, action) {
|
|
31635
31605
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidClientTurnMiddleware.<anonymous>' call
|
|
31636
31606
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
31637
31607
|
var state = store.state;
|
|
@@ -31657,9 +31627,9 @@
|
|
|
31657
31627
|
$l$block_0: {
|
|
31658
31628
|
// Inline function 'kotlin.collections.any' call
|
|
31659
31629
|
var tmp_0;
|
|
31660
|
-
var tmp_1 = this.
|
|
31630
|
+
var tmp_1 = this.o4g_1;
|
|
31661
31631
|
if (isInterface(tmp_1, Collection)) {
|
|
31662
|
-
tmp_0 = this.
|
|
31632
|
+
tmp_0 = this.o4g_1.k();
|
|
31663
31633
|
} else {
|
|
31664
31634
|
tmp_0 = false;
|
|
31665
31635
|
}
|
|
@@ -31667,7 +31637,7 @@
|
|
|
31667
31637
|
tmp$ret$3 = false;
|
|
31668
31638
|
break $l$block_0;
|
|
31669
31639
|
}
|
|
31670
|
-
var tmp0_iterator_0 = this.
|
|
31640
|
+
var tmp0_iterator_0 = this.o4g_1.f();
|
|
31671
31641
|
while (tmp0_iterator_0.g()) {
|
|
31672
31642
|
var element = tmp0_iterator_0.h();
|
|
31673
31643
|
var tmp$ret$4;
|
|
@@ -31703,23 +31673,23 @@
|
|
|
31703
31673
|
var playersIdsWithTag = tmp$ret$7;
|
|
31704
31674
|
var tmp_2 = get_TAG();
|
|
31705
31675
|
var tmp_3 = 'CheckValidClientTurnMiddleware: Unexpected playerId: ' + ('expected = ' + playersIdsWithTag + '; \n') + ('actual = ' + tmp0__anonymous__q1qw7t.playerId + ', action: ' + tmp0__anonymous__q1qw7t);
|
|
31706
|
-
this.
|
|
31676
|
+
this.p4g_1.r2q(tmp_2, tmp_3, null, 4, null);
|
|
31707
31677
|
} else {
|
|
31708
31678
|
next(tmp0__anonymous__q1qw7t);
|
|
31709
31679
|
}
|
|
31710
31680
|
};
|
|
31711
|
-
|
|
31712
|
-
return this.
|
|
31681
|
+
_no_name_provided__qut3iv_16.prototype.g2r = function (store, next, action) {
|
|
31682
|
+
return this.s4b(store, next, action);
|
|
31713
31683
|
};
|
|
31714
|
-
|
|
31715
|
-
function
|
|
31716
|
-
this.
|
|
31717
|
-
this.
|
|
31684
|
+
_no_name_provided__qut3iv_16.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31685
|
+
function _no_name_provided__qut3iv_17($disableClientTurnCheckWhen, $logger) {
|
|
31686
|
+
this.q4g_1 = $disableClientTurnCheckWhen;
|
|
31687
|
+
this.r4g_1 = $logger;
|
|
31718
31688
|
}
|
|
31719
|
-
|
|
31689
|
+
_no_name_provided__qut3iv_17.prototype.f2r = function (action) {
|
|
31720
31690
|
return isInterface(action, NextPlayerTurnAction);
|
|
31721
31691
|
};
|
|
31722
|
-
|
|
31692
|
+
_no_name_provided__qut3iv_17.prototype.s4b = function (store, next, action) {
|
|
31723
31693
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkPlayerTurnIsAlreadySetMiddleware.<anonymous>' call
|
|
31724
31694
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
31725
31695
|
var state = store.state;
|
|
@@ -31772,9 +31742,9 @@
|
|
|
31772
31742
|
$l$block_2: {
|
|
31773
31743
|
// Inline function 'kotlin.collections.any' call
|
|
31774
31744
|
var tmp_1;
|
|
31775
|
-
var tmp_2 = this.
|
|
31745
|
+
var tmp_2 = this.q4g_1;
|
|
31776
31746
|
if (isInterface(tmp_2, Collection)) {
|
|
31777
|
-
tmp_1 = this.
|
|
31747
|
+
tmp_1 = this.q4g_1.k();
|
|
31778
31748
|
} else {
|
|
31779
31749
|
tmp_1 = false;
|
|
31780
31750
|
}
|
|
@@ -31782,7 +31752,7 @@
|
|
|
31782
31752
|
tmp$ret$5 = false;
|
|
31783
31753
|
break $l$block_2;
|
|
31784
31754
|
}
|
|
31785
|
-
var tmp0_iterator_1 = this.
|
|
31755
|
+
var tmp0_iterator_1 = this.q4g_1.f();
|
|
31786
31756
|
while (tmp0_iterator_1.g()) {
|
|
31787
31757
|
var element_0 = tmp0_iterator_1.h();
|
|
31788
31758
|
var tmp$ret$6;
|
|
@@ -31818,38 +31788,38 @@
|
|
|
31818
31788
|
var playersIdsWithTag = tmp$ret$9;
|
|
31819
31789
|
var tmp_3 = get_TAG();
|
|
31820
31790
|
var tmp_4 = 'CheckPlayerTurnIsAlreadySetMiddleware: Player turn is already set for that player: ' + ('expected = ' + playersIdsWithTag + '; \n') + ('actual = ' + tmp0__anonymous__q1qw7t.h48() + ', action: ' + tmp0__anonymous__q1qw7t);
|
|
31821
|
-
this.
|
|
31791
|
+
this.r4g_1.r2q(tmp_3, tmp_4, null, 4, null);
|
|
31822
31792
|
} else {
|
|
31823
31793
|
next(tmp0__anonymous__q1qw7t);
|
|
31824
31794
|
}
|
|
31825
31795
|
};
|
|
31826
|
-
|
|
31827
|
-
return this.
|
|
31796
|
+
_no_name_provided__qut3iv_17.prototype.g2r = function (store, next, action) {
|
|
31797
|
+
return this.s4b(store, next, action);
|
|
31828
31798
|
};
|
|
31829
|
-
|
|
31799
|
+
_no_name_provided__qut3iv_17.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31830
31800
|
function checkValidSceneMiddleware(logger) {
|
|
31831
31801
|
var tmp$ret$0;
|
|
31832
31802
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31833
|
-
tmp$ret$0 = new
|
|
31803
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_18(logger);
|
|
31834
31804
|
return tmp$ret$0;
|
|
31835
31805
|
}
|
|
31836
31806
|
function checkValidSceneActMiddleware(logger) {
|
|
31837
31807
|
var tmp$ret$0;
|
|
31838
31808
|
// Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
|
|
31839
|
-
tmp$ret$0 = new
|
|
31809
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_19(logger);
|
|
31840
31810
|
return tmp$ret$0;
|
|
31841
31811
|
}
|
|
31842
31812
|
function get_TAG() {
|
|
31843
31813
|
return TAG;
|
|
31844
31814
|
}
|
|
31845
31815
|
var TAG;
|
|
31846
|
-
function
|
|
31847
|
-
this.
|
|
31816
|
+
function _no_name_provided__qut3iv_18($logger) {
|
|
31817
|
+
this.s4g_1 = $logger;
|
|
31848
31818
|
}
|
|
31849
|
-
|
|
31819
|
+
_no_name_provided__qut3iv_18.prototype.f2r = function (action) {
|
|
31850
31820
|
return action instanceof SceneMechanicAction;
|
|
31851
31821
|
};
|
|
31852
|
-
|
|
31822
|
+
_no_name_provided__qut3iv_18.prototype.s4b = function (store, next, action) {
|
|
31853
31823
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidSceneMiddleware.<anonymous>' call
|
|
31854
31824
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
31855
31825
|
var state = store.state;
|
|
@@ -31857,22 +31827,22 @@
|
|
|
31857
31827
|
var sceneInfo = state.h2x().d3u_1;
|
|
31858
31828
|
if ((!get_isWaitingScene(sceneInfo.b3y_1) ? Companion_getInstance_8().n2w(sceneInfo.b3y_1, tmp0__anonymous__q1qw7t.e45_1) : false) ? equals(sceneInfo.e3y_1, tmp0__anonymous__q1qw7t.g45_1) : false) {
|
|
31859
31829
|
var tmp = new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo + ', ') + ('actual = ' + tmp0__anonymous__q1qw7t));
|
|
31860
|
-
this.
|
|
31830
|
+
this.s4g_1.e2q('Validation', 'CheckValidSceneMiddleware', tmp, null, 8, null);
|
|
31861
31831
|
}
|
|
31862
31832
|
}
|
|
31863
31833
|
next(tmp0__anonymous__q1qw7t);
|
|
31864
31834
|
};
|
|
31865
|
-
|
|
31866
|
-
return this.
|
|
31835
|
+
_no_name_provided__qut3iv_18.prototype.g2r = function (store, next, action) {
|
|
31836
|
+
return this.s4b(store, next, action);
|
|
31867
31837
|
};
|
|
31868
|
-
|
|
31869
|
-
function
|
|
31870
|
-
this.
|
|
31838
|
+
_no_name_provided__qut3iv_18.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31839
|
+
function _no_name_provided__qut3iv_19($logger) {
|
|
31840
|
+
this.t4g_1 = $logger;
|
|
31871
31841
|
}
|
|
31872
|
-
|
|
31842
|
+
_no_name_provided__qut3iv_19.prototype.f2r = function (action) {
|
|
31873
31843
|
return action instanceof SceneActMechanicAction;
|
|
31874
31844
|
};
|
|
31875
|
-
|
|
31845
|
+
_no_name_provided__qut3iv_19.prototype.s4b = function (store, next, action) {
|
|
31876
31846
|
// Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidSceneActMiddleware.<anonymous>' call
|
|
31877
31847
|
var tmp0__anonymous__q1qw7t = action instanceof SceneActMechanicAction ? action : THROW_CCE();
|
|
31878
31848
|
var state = store.state;
|
|
@@ -31880,93 +31850,93 @@
|
|
|
31880
31850
|
var sceneInfo = state.h2x().d3u_1;
|
|
31881
31851
|
if ((Companion_getInstance_8().n2w(sceneInfo.b3y_1, tmp0__anonymous__q1qw7t.w44_1) ? sceneInfo.d3y_1 === tmp0__anonymous__q1qw7t.x44_1 : false) ? equals(sceneInfo.f3y_1, tmp0__anonymous__q1qw7t.y44_1) : false) {
|
|
31882
31852
|
var tmp = new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo + ', ') + ('actual = ' + tmp0__anonymous__q1qw7t));
|
|
31883
|
-
this.
|
|
31853
|
+
this.t4g_1.e2q('Validation', 'CheckValidSceneActMiddleware', tmp, null, 8, null);
|
|
31884
31854
|
}
|
|
31885
31855
|
}
|
|
31886
31856
|
next(tmp0__anonymous__q1qw7t);
|
|
31887
31857
|
};
|
|
31888
|
-
|
|
31889
|
-
return this.
|
|
31858
|
+
_no_name_provided__qut3iv_19.prototype.g2r = function (store, next, action) {
|
|
31859
|
+
return this.s4b(store, next, action);
|
|
31890
31860
|
};
|
|
31891
|
-
|
|
31861
|
+
_no_name_provided__qut3iv_19.$metadata$ = classMeta(undefined, [Middleware]);
|
|
31892
31862
|
function mechanicReducer(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer) {
|
|
31893
31863
|
var tmp$ret$0;
|
|
31894
31864
|
// Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
|
|
31895
|
-
tmp$ret$0 = new
|
|
31865
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_20(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, combinationsMechanicReducer, earnPointsMechanicReducer, sceneReducer, sceneActReducer, playerTurnMechanicReducer);
|
|
31896
31866
|
return tmp$ret$0;
|
|
31897
31867
|
}
|
|
31898
|
-
function
|
|
31899
|
-
this.
|
|
31900
|
-
this.
|
|
31901
|
-
this.
|
|
31902
|
-
this.
|
|
31903
|
-
this.
|
|
31904
|
-
this.
|
|
31905
|
-
this.
|
|
31906
|
-
this.
|
|
31868
|
+
function _no_name_provided__qut3iv_20($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer) {
|
|
31869
|
+
this.u4g_1 = $gameLifecycleReducer;
|
|
31870
|
+
this.v4g_1 = $teamsMechanicReducer;
|
|
31871
|
+
this.w4g_1 = $tradeMechanicReducer;
|
|
31872
|
+
this.x4g_1 = $combinationsMechanicReducer;
|
|
31873
|
+
this.y4g_1 = $earnPointsMechanicReducer;
|
|
31874
|
+
this.z4g_1 = $sceneReducer;
|
|
31875
|
+
this.a4h_1 = $sceneActReducer;
|
|
31876
|
+
this.b4h_1 = $playerTurnMechanicReducer;
|
|
31907
31877
|
}
|
|
31908
|
-
|
|
31878
|
+
_no_name_provided__qut3iv_20.prototype.f2r = function (action) {
|
|
31909
31879
|
return action instanceof MechanicAction;
|
|
31910
31880
|
};
|
|
31911
|
-
|
|
31881
|
+
_no_name_provided__qut3iv_20.prototype.c4h = function (state, action) {
|
|
31912
31882
|
var tmp$ret$0;
|
|
31913
31883
|
// Inline function 'com.debertz.logic.redux.reducers.mechanicReducer.<anonymous>' call
|
|
31914
31884
|
var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
|
|
31915
31885
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
31916
31886
|
var tmp;
|
|
31917
31887
|
if (tmp0_subject instanceof StartGameMechanicAction) {
|
|
31918
|
-
tmp = this.
|
|
31888
|
+
tmp = this.u4g_1.g4i(state, tmp0__anonymous__q1qw7t);
|
|
31919
31889
|
} else {
|
|
31920
31890
|
if (tmp0_subject instanceof ContinueGameMechanicAction) {
|
|
31921
|
-
tmp = this.
|
|
31891
|
+
tmp = this.u4g_1.f4i(state, tmp0__anonymous__q1qw7t);
|
|
31922
31892
|
} else {
|
|
31923
31893
|
if (tmp0_subject instanceof FinishingGameMechanicAction) {
|
|
31924
|
-
tmp = this.
|
|
31894
|
+
tmp = this.u4g_1.e4i(state, tmp0__anonymous__q1qw7t);
|
|
31925
31895
|
} else {
|
|
31926
31896
|
if (tmp0_subject instanceof FinishGameMechanicAction) {
|
|
31927
|
-
tmp = this.
|
|
31897
|
+
tmp = this.u4g_1.d4i(state, tmp0__anonymous__q1qw7t);
|
|
31928
31898
|
} else {
|
|
31929
31899
|
if (tmp0_subject instanceof RestartGameMechanicAction) {
|
|
31930
|
-
tmp = this.
|
|
31900
|
+
tmp = this.u4g_1.c4i(state, tmp0__anonymous__q1qw7t);
|
|
31931
31901
|
} else {
|
|
31932
31902
|
if (tmp0_subject instanceof TeamsDataMechanicAction) {
|
|
31933
31903
|
var tmp_0 = state.h2x();
|
|
31934
|
-
var tmp_1 = this.
|
|
31904
|
+
var tmp_1 = this.v4g_1.b4i(state.h2x().c3u_1, tmp0__anonymous__q1qw7t);
|
|
31935
31905
|
var tmp_2 = tmp_0.b3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
31936
31906
|
tmp = state.a47(tmp_2, null, null, null, null, 30, null);
|
|
31937
31907
|
} else {
|
|
31938
31908
|
if (tmp0_subject instanceof SuitChoiceMechanicAction) {
|
|
31939
|
-
tmp = this.
|
|
31909
|
+
tmp = this.w4g_1.a4i(state, tmp0__anonymous__q1qw7t);
|
|
31940
31910
|
} else {
|
|
31941
31911
|
if (tmp0_subject instanceof TrumpMechanicAction) {
|
|
31942
|
-
tmp = this.
|
|
31912
|
+
tmp = this.w4g_1.z4h(state, tmp0__anonymous__q1qw7t);
|
|
31943
31913
|
} else {
|
|
31944
31914
|
if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
|
|
31945
|
-
tmp = this.
|
|
31915
|
+
tmp = this.x4g_1.y4h(state, tmp0__anonymous__q1qw7t);
|
|
31946
31916
|
} else {
|
|
31947
31917
|
if (tmp0_subject instanceof PutCardMechanicAction) {
|
|
31948
|
-
tmp = this.
|
|
31918
|
+
tmp = this.y4g_1.x4h(state, tmp0__anonymous__q1qw7t);
|
|
31949
31919
|
} else {
|
|
31950
31920
|
if (tmp0_subject instanceof PickUpBribeMechanicAction) {
|
|
31951
|
-
tmp = this.
|
|
31921
|
+
tmp = this.y4g_1.w4h(state, tmp0__anonymous__q1qw7t);
|
|
31952
31922
|
} else {
|
|
31953
31923
|
if (tmp0_subject instanceof WinnerCombinationsMechanicAction) {
|
|
31954
|
-
tmp = this.
|
|
31924
|
+
tmp = this.x4g_1.r4h(state, tmp0__anonymous__q1qw7t);
|
|
31955
31925
|
} else {
|
|
31956
31926
|
if (tmp0_subject instanceof SceneMechanicAction) {
|
|
31957
|
-
var tmp_3 = this.
|
|
31927
|
+
var tmp_3 = this.z4g_1.n4h(state.h2x(), tmp0__anonymous__q1qw7t);
|
|
31958
31928
|
tmp = state.a47(tmp_3, null, null, null, null, 30, null);
|
|
31959
31929
|
} else {
|
|
31960
31930
|
if (tmp0_subject instanceof SceneActMechanicAction) {
|
|
31961
|
-
var tmp_4 = this.
|
|
31931
|
+
var tmp_4 = this.a4h_1.h4h(state.h2x(), tmp0__anonymous__q1qw7t);
|
|
31962
31932
|
tmp = state.a47(tmp_4, null, null, null, null, 30, null);
|
|
31963
31933
|
} else {
|
|
31964
31934
|
if (tmp0_subject instanceof PlayerReadyMechanicAction) {
|
|
31965
|
-
var tmp_5 = this.
|
|
31935
|
+
var tmp_5 = this.b4h_1.f4h(state.h2x(), tmp0__anonymous__q1qw7t);
|
|
31966
31936
|
tmp = state.a47(tmp_5, null, null, null, null, 30, null);
|
|
31967
31937
|
} else {
|
|
31968
31938
|
if (tmp0_subject instanceof PlayerConnectionChangedMechanicAction) {
|
|
31969
|
-
var tmp_6 = this.
|
|
31939
|
+
var tmp_6 = this.b4h_1.e4h(state.h2x(), tmp0__anonymous__q1qw7t);
|
|
31970
31940
|
tmp = state.a47(tmp_6, null, null, null, null, 30, null);
|
|
31971
31941
|
} else {
|
|
31972
31942
|
if (tmp0_subject instanceof MessageMechanicAction) {
|
|
@@ -31993,22 +31963,22 @@
|
|
|
31993
31963
|
tmp$ret$0 = tmp;
|
|
31994
31964
|
return tmp$ret$0;
|
|
31995
31965
|
};
|
|
31996
|
-
|
|
31997
|
-
return this.
|
|
31966
|
+
_no_name_provided__qut3iv_20.prototype.w2q = function (state, action) {
|
|
31967
|
+
return this.c4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
31998
31968
|
};
|
|
31999
|
-
|
|
31969
|
+
_no_name_provided__qut3iv_20.$metadata$ = classMeta(undefined, [Reducer]);
|
|
32000
31970
|
function timerReducer() {
|
|
32001
31971
|
var tmp$ret$0;
|
|
32002
31972
|
// Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
|
|
32003
|
-
tmp$ret$0 = new
|
|
31973
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_21();
|
|
32004
31974
|
return tmp$ret$0;
|
|
32005
31975
|
}
|
|
32006
|
-
function
|
|
31976
|
+
function _no_name_provided__qut3iv_21() {
|
|
32007
31977
|
}
|
|
32008
|
-
|
|
31978
|
+
_no_name_provided__qut3iv_21.prototype.f2r = function (action) {
|
|
32009
31979
|
return action instanceof TimerAction;
|
|
32010
31980
|
};
|
|
32011
|
-
|
|
31981
|
+
_no_name_provided__qut3iv_21.prototype.c4h = function (state, action) {
|
|
32012
31982
|
var tmp$ret$0;
|
|
32013
31983
|
// Inline function 'com.debertz.logic.redux.reducers.timerReducer.<anonymous>' call
|
|
32014
31984
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
@@ -32036,14 +32006,14 @@
|
|
|
32036
32006
|
tmp$ret$0 = tmp;
|
|
32037
32007
|
return tmp$ret$0;
|
|
32038
32008
|
};
|
|
32039
|
-
|
|
32040
|
-
return this.
|
|
32009
|
+
_no_name_provided__qut3iv_21.prototype.w2q = function (state, action) {
|
|
32010
|
+
return this.c4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
32041
32011
|
};
|
|
32042
|
-
|
|
32012
|
+
_no_name_provided__qut3iv_21.$metadata$ = classMeta(undefined, [Reducer]);
|
|
32043
32013
|
function SceneActReducer(combinationsMechanicReducer) {
|
|
32044
|
-
this.
|
|
32014
|
+
this.g4h_1 = combinationsMechanicReducer;
|
|
32045
32015
|
}
|
|
32046
|
-
SceneActReducer.prototype.
|
|
32016
|
+
SceneActReducer.prototype.h4h = function (table, action) {
|
|
32047
32017
|
var tmp0_subject = action.w44_1;
|
|
32048
32018
|
var tmp;
|
|
32049
32019
|
var tmp_0;
|
|
@@ -32059,11 +32029,11 @@
|
|
|
32059
32029
|
var tmp_1;
|
|
32060
32030
|
Companion_getInstance_9();
|
|
32061
32031
|
if (tmp1_subject === 'PLAYER_TURN') {
|
|
32062
|
-
tmp_1 = playerTurnReducer(action, table, this.
|
|
32032
|
+
tmp_1 = playerTurnReducer(action, table, this.g4h_1);
|
|
32063
32033
|
} else {
|
|
32064
32034
|
Companion_getInstance_9();
|
|
32065
32035
|
if (tmp1_subject === 'COMBINATION') {
|
|
32066
|
-
tmp_1 = combinationReducer(action, table, this.
|
|
32036
|
+
tmp_1 = combinationReducer(action, table, this.g4h_1);
|
|
32067
32037
|
} else {
|
|
32068
32038
|
throw new MechanicException("Can't support this act " + action);
|
|
32069
32039
|
}
|
|
@@ -32116,7 +32086,7 @@
|
|
|
32116
32086
|
var tmp1_excludePredicate = get_combinationsPredicate();
|
|
32117
32087
|
var tmp2_combinations = getValue(combinationActData.w3a_1, item.x2k());
|
|
32118
32088
|
var tmp3_config = table.b3u_1;
|
|
32119
|
-
var tmp_1 = combinationsMechanicReducer.
|
|
32089
|
+
var tmp_1 = combinationsMechanicReducer.h4i(tmp0_state, tmp2_combinations, item, tmp3_config, tmp1_excludePredicate);
|
|
32120
32090
|
tmp_0 = item.l31(null, null, null, null, null, item.s30_1.j33(0, tmp_1, null, 5, null), 31, null);
|
|
32121
32091
|
} else {
|
|
32122
32092
|
tmp_0 = item;
|
|
@@ -32151,7 +32121,7 @@
|
|
|
32151
32121
|
var tmp0_state = CombinationState_VERIFYING_getInstance();
|
|
32152
32122
|
var tmp1_combinations = combinationActData.o3a_1;
|
|
32153
32123
|
var tmp2_config = table.b3u_1;
|
|
32154
|
-
var tmp = combinationsMechanicReducer.
|
|
32124
|
+
var tmp = combinationsMechanicReducer.i4i(tmp0_state, tmp1_combinations, player, tmp2_config, null, 16, null);
|
|
32155
32125
|
var tmp4_players = updateItem(table.c3u_1, player.l31(null, null, null, null, null, player.s30_1.j33(0, tmp, null, 5, null), 31, null), get_byIdPlayerPredicate()(player.x2k()));
|
|
32156
32126
|
return table.b3v(null, null, null, null, tmp4_players, tmp3_sceneInfo, null, null, null, null, 975, null);
|
|
32157
32127
|
}
|
|
@@ -32159,39 +32129,39 @@
|
|
|
32159
32129
|
}
|
|
32160
32130
|
MechanicLifecycleReducer.$metadata$ = interfaceMeta('MechanicLifecycleReducer');
|
|
32161
32131
|
function BaseMechanicLifecycleReducer(tableLifecycleReducer) {
|
|
32162
|
-
this.
|
|
32132
|
+
this.j4i_1 = tableLifecycleReducer;
|
|
32163
32133
|
}
|
|
32164
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
32134
|
+
BaseMechanicLifecycleReducer.prototype.f4i = function (state, action) {
|
|
32165
32135
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
32166
32136
|
var tmp1_gameTable = action.e49_1;
|
|
32167
32137
|
var tmp2_payload = action.g49_1;
|
|
32168
32138
|
return state.a47(tmp1_gameTable, tmp2_payload, tmp0_gameLifecycleState, null, null, 16, null);
|
|
32169
32139
|
};
|
|
32170
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
32140
|
+
BaseMechanicLifecycleReducer.prototype.d4i = function (state, action) {
|
|
32171
32141
|
var tmp = GameLifecycleState_FINISHED_getInstance();
|
|
32172
32142
|
return state.a47(null, null, tmp, action.e48_1, null, 19, null);
|
|
32173
32143
|
};
|
|
32174
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
32144
|
+
BaseMechanicLifecycleReducer.prototype.e4i = function (state, action) {
|
|
32175
32145
|
var tmp0_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
32176
32146
|
var tmp1_terminationGameReason = action.b48_1;
|
|
32177
|
-
var tmp2_gameTable = this.
|
|
32147
|
+
var tmp2_gameTable = this.j4i_1.l4i(state.h2x());
|
|
32178
32148
|
return state.a47(tmp2_gameTable, null, tmp0_gameLifecycleState, tmp1_terminationGameReason, null, 18, null);
|
|
32179
32149
|
};
|
|
32180
|
-
BaseMechanicLifecycleReducer.prototype.
|
|
32181
|
-
var tmp = this.
|
|
32150
|
+
BaseMechanicLifecycleReducer.prototype.c4i = function (state, action) {
|
|
32151
|
+
var tmp = this.j4i_1.m4i(state.h2x());
|
|
32182
32152
|
return state.a47(tmp, null, null, null, null, 30, null);
|
|
32183
32153
|
};
|
|
32184
32154
|
BaseMechanicLifecycleReducer.$metadata$ = classMeta('BaseMechanicLifecycleReducer', [MechanicLifecycleReducer]);
|
|
32185
32155
|
function PlayerSceneReducer(combinationsMechanicReducer) {
|
|
32186
|
-
this.
|
|
32156
|
+
this.n4i_1 = combinationsMechanicReducer;
|
|
32187
32157
|
}
|
|
32188
|
-
PlayerSceneReducer.prototype.
|
|
32158
|
+
PlayerSceneReducer.prototype.o4i = function (player, scene) {
|
|
32189
32159
|
var cards = getValue(scene.a3c_1, player.x2k());
|
|
32190
32160
|
var tmp = player.x2k() === scene.d3c_1;
|
|
32191
32161
|
var tmp0_options = player.p30_1.a33(false, 0, false, tmp, false, false, false, 0, 0, false, null, false, false, 8183, null);
|
|
32192
32162
|
return player.l31(null, null, tmp0_options, cards, null, null, 51, null);
|
|
32193
32163
|
};
|
|
32194
|
-
PlayerSceneReducer.prototype.
|
|
32164
|
+
PlayerSceneReducer.prototype.p4i = function (player, config, scene) {
|
|
32195
32165
|
var tmp0_safe_receiver = scene.f3c_1;
|
|
32196
32166
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n(player.x2k());
|
|
32197
32167
|
var combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
|
|
@@ -32202,9 +32172,9 @@
|
|
|
32202
32172
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
32203
32173
|
tmp$ret$0 = !combinations.k();
|
|
32204
32174
|
if (tmp$ret$0) {
|
|
32205
|
-
var tmp2_$this = this.
|
|
32175
|
+
var tmp2_$this = this.n4i_1;
|
|
32206
32176
|
var tmp3_state = CombinationState_NOT_VERIFIED_getInstance();
|
|
32207
|
-
var tmp_0 = tmp2_$this.
|
|
32177
|
+
var tmp_0 = tmp2_$this.i4i(tmp3_state, combinations, player, config, null, 16, null);
|
|
32208
32178
|
tmp = player.s30_1.j33(0, tmp_0, null, 5, null);
|
|
32209
32179
|
} else {
|
|
32210
32180
|
tmp = player.s30_1;
|
|
@@ -32212,7 +32182,7 @@
|
|
|
32212
32182
|
var tmp5_points = tmp;
|
|
32213
32183
|
return player.l31(null, null, tmp4_options, cards, null, tmp5_points, 19, null);
|
|
32214
32184
|
};
|
|
32215
|
-
PlayerSceneReducer.prototype.
|
|
32185
|
+
PlayerSceneReducer.prototype.q4i = function (player, sceneData) {
|
|
32216
32186
|
var tmp$ret$1;
|
|
32217
32187
|
// Inline function 'kotlin.collections.single' call
|
|
32218
32188
|
var tmp0_single = sceneData.s3b_1;
|
|
@@ -32254,16 +32224,16 @@
|
|
|
32254
32224
|
var tmp9_combinations = tmp$ret$2;
|
|
32255
32225
|
return player.l31(null, null, tmp, null, null, new PlayerPoints(tmp7_earnedPoints, tmp9_combinations, tmp8_earnedCards), 27, null);
|
|
32256
32226
|
};
|
|
32257
|
-
PlayerSceneReducer.prototype.
|
|
32227
|
+
PlayerSceneReducer.prototype.r4i = function (player, sceneData) {
|
|
32258
32228
|
var tmp = player.x2k() === sceneData.z3b_1;
|
|
32259
32229
|
var tmp_0 = player.p30_1.a33(false, 0, false, false, false, tmp, false, 0, 0, false, null, false, false, 8159, null);
|
|
32260
32230
|
return player.l31(null, null, tmp_0, null, null, null, 59, null);
|
|
32261
32231
|
};
|
|
32262
32232
|
PlayerSceneReducer.$metadata$ = classMeta('PlayerSceneReducer');
|
|
32263
32233
|
function PlayerTurnMechanicReducer(logger) {
|
|
32264
|
-
this.
|
|
32234
|
+
this.d4h_1 = logger;
|
|
32265
32235
|
}
|
|
32266
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32236
|
+
PlayerTurnMechanicReducer.prototype.s4i = function (table, action) {
|
|
32267
32237
|
var tmp$ret$1;
|
|
32268
32238
|
// Inline function 'com.logic.utils.copy' call
|
|
32269
32239
|
var tmp0_copy = table.c3u_1;
|
|
@@ -32281,7 +32251,7 @@
|
|
|
32281
32251
|
var player = getPlayer(table.c3u_1, element);
|
|
32282
32252
|
if (!(player.o30_1.u2l_1 == null)) {
|
|
32283
32253
|
var tmp = 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.o30_1.u2l_1) + (', new tag: ' + action.f32_1);
|
|
32284
|
-
this.
|
|
32254
|
+
this.d4h_1.r2q(null, tmp, null, 5, null);
|
|
32285
32255
|
}
|
|
32286
32256
|
var newState = Companion_getInstance_5().o2m(player.o30_1, System_getInstance().g2u().t2u(), action.f32_1);
|
|
32287
32257
|
updated(tmp0_apply, player.l31(null, newState, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.x2k()));
|
|
@@ -32291,24 +32261,24 @@
|
|
|
32291
32261
|
var tmp_0 = tmp$ret$1;
|
|
32292
32262
|
return table.b3v(null, null, null, null, tmp_0, null, null, null, null, null, 1007, null);
|
|
32293
32263
|
};
|
|
32294
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32264
|
+
PlayerTurnMechanicReducer.prototype.t4i = function (table, action) {
|
|
32295
32265
|
var player = getPlayer(table.c3u_1, action.x2k());
|
|
32296
32266
|
if (player.o30_1.u2l_1 == null) {
|
|
32297
32267
|
var tmp = 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + action.f32_1);
|
|
32298
|
-
this.
|
|
32268
|
+
this.d4h_1.r2q(null, tmp, null, 5, null);
|
|
32299
32269
|
}
|
|
32300
32270
|
var tmp_0 = Companion_getInstance_5().m2m(player.o30_1);
|
|
32301
32271
|
var tmp_1 = updateItem(table.c3u_1, player.l31(null, tmp_0, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.x2k()));
|
|
32302
32272
|
return table.b3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
32303
32273
|
};
|
|
32304
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32274
|
+
PlayerTurnMechanicReducer.prototype.f4h = function (table, action) {
|
|
32305
32275
|
var player = getPlayer(table.c3u_1, action.v48_1);
|
|
32306
32276
|
var tmp = new Long(0, 0);
|
|
32307
32277
|
var tmp_0 = player.o30_1.n2m(tmp, null, true, null, null, 27, null);
|
|
32308
32278
|
var tmp_1 = updateItem(table.c3u_1, player.l31(null, tmp_0, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.x2k()));
|
|
32309
32279
|
return table.b3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
32310
32280
|
};
|
|
32311
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32281
|
+
PlayerTurnMechanicReducer.prototype.u4i = function (table) {
|
|
32312
32282
|
var tmp$ret$2;
|
|
32313
32283
|
// Inline function 'kotlin.collections.map' call
|
|
32314
32284
|
var tmp0_map = table.c3u_1;
|
|
@@ -32330,11 +32300,11 @@
|
|
|
32330
32300
|
var tmp_1 = tmp$ret$2;
|
|
32331
32301
|
return table.b3v(null, null, null, null, tmp_1, null, null, null, null, null, 1007, null);
|
|
32332
32302
|
};
|
|
32333
|
-
PlayerTurnMechanicReducer.prototype.
|
|
32303
|
+
PlayerTurnMechanicReducer.prototype.e4h = function (table, action) {
|
|
32334
32304
|
var players = table.c3u_1;
|
|
32335
32305
|
var player = getPlayer(players, action.k48_1);
|
|
32336
32306
|
var tmp = 'playerConnectionChangesReducer: ' + action.l48_1 + ', playerId: ' + action.k48_1;
|
|
32337
|
-
this.
|
|
32307
|
+
this.d4h_1.m2t(null, tmp, null, 5, null);
|
|
32338
32308
|
var tmp_0 = new Long(0, 0);
|
|
32339
32309
|
var tmp_1 = player.o30_1.n2m(tmp_0, null, false, action.l48_1, null, 23, null);
|
|
32340
32310
|
var tmp_2 = updateItem(players, player.l31(null, tmp_1, null, null, null, null, 61, null), get_byIdPlayerPredicate()(player.x2k()));
|
|
@@ -32380,7 +32350,7 @@
|
|
|
32380
32350
|
var item = tmp0_iterator.h();
|
|
32381
32351
|
var tmp$ret$1;
|
|
32382
32352
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32383
|
-
tmp$ret$1 = $this.
|
|
32353
|
+
tmp$ret$1 = $this.i4h_1.r4i(item, scene);
|
|
32384
32354
|
tmp0_mapTo.a(tmp$ret$1);
|
|
32385
32355
|
}
|
|
32386
32356
|
tmp$ret$2 = tmp0_mapTo;
|
|
@@ -32412,7 +32382,7 @@
|
|
|
32412
32382
|
var item_0 = tmp0_iterator_0.h();
|
|
32413
32383
|
var tmp$ret$5;
|
|
32414
32384
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32415
|
-
tmp$ret$5 = $this.
|
|
32385
|
+
tmp$ret$5 = $this.i4h_1.o4i(item_0, scene_0);
|
|
32416
32386
|
tmp0_mapTo_0.a(tmp$ret$5);
|
|
32417
32387
|
}
|
|
32418
32388
|
tmp$ret$6 = tmp0_mapTo_0;
|
|
@@ -32461,15 +32431,15 @@
|
|
|
32461
32431
|
var tmp$ret$13;
|
|
32462
32432
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32463
32433
|
var tmp_1;
|
|
32464
|
-
if ($this.
|
|
32465
|
-
tmp_1 = $this.
|
|
32434
|
+
if ($this.m4h_1.n41(config)) {
|
|
32435
|
+
tmp_1 = $this.l4h_1.x43(tmp4_let, cardDeck.y3u_1);
|
|
32466
32436
|
} else {
|
|
32467
32437
|
tmp_1 = tmp4_let;
|
|
32468
32438
|
}
|
|
32469
32439
|
tmp$ret$13 = tmp_1;
|
|
32470
32440
|
tmp$ret$14 = tmp$ret$13;
|
|
32471
32441
|
var playersCards = tmp$ret$14;
|
|
32472
|
-
var cards = $this.
|
|
32442
|
+
var cards = $this.l4h_1.w43(cardDeck.x3u_1, plus(playersCards, listOfNotNull(scene_1.g3c_1)));
|
|
32473
32443
|
var newCardDeck_0 = cardDeck.a3w(cards, null, scene_1.g3c_1, 2, null);
|
|
32474
32444
|
var tmp$ret$17;
|
|
32475
32445
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -32481,7 +32451,7 @@
|
|
|
32481
32451
|
var item_2 = tmp0_iterator_2.h();
|
|
32482
32452
|
var tmp$ret$15;
|
|
32483
32453
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32484
|
-
tmp$ret$15 = $this.
|
|
32454
|
+
tmp$ret$15 = $this.i4h_1.p4i(item_2, config, scene_1);
|
|
32485
32455
|
tmp0_mapTo_2.a(tmp$ret$15);
|
|
32486
32456
|
}
|
|
32487
32457
|
tmp$ret$16 = tmp0_mapTo_2;
|
|
@@ -32512,7 +32482,7 @@
|
|
|
32512
32482
|
var item_3 = tmp0_iterator_3.h();
|
|
32513
32483
|
var tmp$ret$19;
|
|
32514
32484
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
|
|
32515
|
-
tmp$ret$19 = $this.
|
|
32485
|
+
tmp$ret$19 = $this.i4h_1.q4i(item_3, scene_2);
|
|
32516
32486
|
tmp0_mapTo_3.a(tmp$ret$19);
|
|
32517
32487
|
}
|
|
32518
32488
|
tmp$ret$20 = tmp0_mapTo_3;
|
|
@@ -32533,13 +32503,13 @@
|
|
|
32533
32503
|
var tmp;
|
|
32534
32504
|
Companion_getInstance_8();
|
|
32535
32505
|
if (tmp0_subject === 'PREVIEW') {
|
|
32536
|
-
tmp = $this.
|
|
32506
|
+
tmp = $this.j4h_1.u4i(table);
|
|
32537
32507
|
} else {
|
|
32538
32508
|
Companion_getInstance_8();
|
|
32539
32509
|
if (tmp0_subject === 'CALC_POINTS') {
|
|
32540
|
-
$this.
|
|
32510
|
+
$this.j4h_1.u4i(table);
|
|
32541
32511
|
var gameFinished = !(firstOrNull(filterByGameWinner(table.c3u_1)) == null);
|
|
32542
|
-
tmp = gameFinished ? $this.
|
|
32512
|
+
tmp = gameFinished ? $this.k4h_1.w4i(table) : $this.k4h_1.v4i(table);
|
|
32543
32513
|
} else {
|
|
32544
32514
|
tmp = table;
|
|
32545
32515
|
}
|
|
@@ -32547,13 +32517,13 @@
|
|
|
32547
32517
|
return tmp;
|
|
32548
32518
|
}
|
|
32549
32519
|
function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, dealerInteractor, gameParamsProvider) {
|
|
32550
|
-
this.
|
|
32551
|
-
this.
|
|
32552
|
-
this.
|
|
32553
|
-
this.
|
|
32554
|
-
this.
|
|
32520
|
+
this.i4h_1 = playerSceneReducer;
|
|
32521
|
+
this.j4h_1 = playerTurnMechanicReducer;
|
|
32522
|
+
this.k4h_1 = tableLifecycleReducer;
|
|
32523
|
+
this.l4h_1 = dealerInteractor;
|
|
32524
|
+
this.m4h_1 = gameParamsProvider;
|
|
32555
32525
|
}
|
|
32556
|
-
SceneReducer.prototype.
|
|
32526
|
+
SceneReducer.prototype.n4h = function (table, action) {
|
|
32557
32527
|
var previousSceneId = table.d3u_1.b3y_1;
|
|
32558
32528
|
var tmp;
|
|
32559
32529
|
Companion_getInstance_8();
|
|
@@ -32570,7 +32540,7 @@
|
|
|
32570
32540
|
SceneReducer.$metadata$ = classMeta('SceneReducer');
|
|
32571
32541
|
function TeamsMechanicReducer() {
|
|
32572
32542
|
}
|
|
32573
|
-
TeamsMechanicReducer.prototype.
|
|
32543
|
+
TeamsMechanicReducer.prototype.b4i = function (players, action) {
|
|
32574
32544
|
var tmp$ret$2;
|
|
32575
32545
|
// Inline function 'kotlin.collections.map' call
|
|
32576
32546
|
var tmp0_map = action.s48_1.u2m_1;
|
|
@@ -32631,7 +32601,7 @@
|
|
|
32631
32601
|
TeamsMechanicReducer.$metadata$ = classMeta('TeamsMechanicReducer');
|
|
32632
32602
|
function TradeMechanicReducer() {
|
|
32633
32603
|
}
|
|
32634
|
-
TradeMechanicReducer.prototype.
|
|
32604
|
+
TradeMechanicReducer.prototype.a4i = function (state, action) {
|
|
32635
32605
|
var table = state.h2x();
|
|
32636
32606
|
var tmp$ret$3;
|
|
32637
32607
|
// Inline function 'kotlin.with' call
|
|
@@ -32669,7 +32639,7 @@
|
|
|
32669
32639
|
}
|
|
32670
32640
|
return tmp;
|
|
32671
32641
|
};
|
|
32672
|
-
TradeMechanicReducer.prototype.
|
|
32642
|
+
TradeMechanicReducer.prototype.z4h = function (state, action) {
|
|
32673
32643
|
var table = state.h2x();
|
|
32674
32644
|
var tmp$ret$2;
|
|
32675
32645
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -32754,11 +32724,11 @@
|
|
|
32754
32724
|
};
|
|
32755
32725
|
}
|
|
32756
32726
|
function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerInteractor) {
|
|
32757
|
-
this.
|
|
32758
|
-
this.
|
|
32759
|
-
this.
|
|
32727
|
+
this.o4h_1 = teamsLogicProvider;
|
|
32728
|
+
this.p4h_1 = combinationsInteractor;
|
|
32729
|
+
this.q4h_1 = dealerInteractor;
|
|
32760
32730
|
}
|
|
32761
|
-
CombinationsMechanicReducer.prototype.
|
|
32731
|
+
CombinationsMechanicReducer.prototype.h4i = function (state, combinations, player, config, excludePredicate) {
|
|
32762
32732
|
var tmp$ret$1;
|
|
32763
32733
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32764
32734
|
var tmp0_filterNot = player.s30_1.d33_1;
|
|
@@ -32792,13 +32762,13 @@
|
|
|
32792
32762
|
tmp$ret$4 = tmp$ret$3;
|
|
32793
32763
|
return plus(tmp, tmp$ret$4);
|
|
32794
32764
|
};
|
|
32795
|
-
CombinationsMechanicReducer.prototype.
|
|
32765
|
+
CombinationsMechanicReducer.prototype.i4i = function (state, combinations, player, config, excludePredicate, $mask0, $handler) {
|
|
32796
32766
|
if (!(($mask0 & 16) === 0)) {
|
|
32797
32767
|
excludePredicate = CombinationsMechanicReducer$rebuildPlayerCombinations$lambda(combinations);
|
|
32798
32768
|
}
|
|
32799
|
-
return this.
|
|
32769
|
+
return this.h4i(state, combinations, player, config, excludePredicate);
|
|
32800
32770
|
};
|
|
32801
|
-
CombinationsMechanicReducer.prototype.
|
|
32771
|
+
CombinationsMechanicReducer.prototype.x4i = function (player, combinations, excludePredicate) {
|
|
32802
32772
|
var tmp$ret$1;
|
|
32803
32773
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32804
32774
|
var tmp0_filterNot = player.s30_1.d33_1;
|
|
@@ -32816,13 +32786,13 @@
|
|
|
32816
32786
|
tmp$ret$1 = tmp$ret$0;
|
|
32817
32787
|
return plus(tmp$ret$1, combinations);
|
|
32818
32788
|
};
|
|
32819
|
-
CombinationsMechanicReducer.prototype.
|
|
32789
|
+
CombinationsMechanicReducer.prototype.y4i = function (player, combinations, excludePredicate, $mask0, $handler) {
|
|
32820
32790
|
if (!(($mask0 & 4) === 0)) {
|
|
32821
32791
|
excludePredicate = CombinationsMechanicReducer$rebuildPlayerCombinations$lambda_0(combinations);
|
|
32822
32792
|
}
|
|
32823
|
-
return this.
|
|
32793
|
+
return this.x4i(player, combinations, excludePredicate);
|
|
32824
32794
|
};
|
|
32825
|
-
CombinationsMechanicReducer.prototype.
|
|
32795
|
+
CombinationsMechanicReducer.prototype.z4i = function (whoGotBribePlayerId, playerCombinations, players, config) {
|
|
32826
32796
|
var bellaCombination = first(playerCombinations.s3w_1);
|
|
32827
32797
|
var player = getPlayer(players, playerCombinations.r3w_1);
|
|
32828
32798
|
if (bellaCombination.n34_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
|
|
@@ -32832,7 +32802,7 @@
|
|
|
32832
32802
|
var tmp_0;
|
|
32833
32803
|
if (config.l3h_1.x2m_1) {
|
|
32834
32804
|
var playerWithBellaGotBribe = player.x2k() === whoGotBribePlayerId;
|
|
32835
|
-
var partnerGotBribe = config.o3h_1.isTeamGame ? this.
|
|
32805
|
+
var partnerGotBribe = config.o3h_1.isTeamGame ? this.o4h_1.k40(player.x2k(), players).x2k() === whoGotBribePlayerId : false;
|
|
32836
32806
|
var tmp_1;
|
|
32837
32807
|
if (playerWithBellaGotBribe ? true : partnerGotBribe) {
|
|
32838
32808
|
var tmp_2 = CombinationState_ACCEPTED_getInstance();
|
|
@@ -32849,7 +32819,7 @@
|
|
|
32849
32819
|
return tmp_0;
|
|
32850
32820
|
}
|
|
32851
32821
|
};
|
|
32852
|
-
CombinationsMechanicReducer.prototype.
|
|
32822
|
+
CombinationsMechanicReducer.prototype.r4h = function (state, action) {
|
|
32853
32823
|
var table = state.h2x();
|
|
32854
32824
|
var players = table.c3u_1;
|
|
32855
32825
|
var config = table.b3u_1;
|
|
@@ -32893,7 +32863,7 @@
|
|
|
32893
32863
|
// Inline function 'kotlin.collections.associate' call
|
|
32894
32864
|
var tmp$ret$8;
|
|
32895
32865
|
// Inline function 'kotlin.collections.filterNot' call
|
|
32896
|
-
var tmp1_filterNot = plus(this.
|
|
32866
|
+
var tmp1_filterNot = plus(this.p4h_1.l43(players), this.p4h_1.m43(players));
|
|
32897
32867
|
var tmp$ret$7;
|
|
32898
32868
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
32899
32869
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
@@ -32968,7 +32938,7 @@
|
|
|
32968
32938
|
var tmp0_elvis_lhs_0 = tmp1_orEmpty;
|
|
32969
32939
|
tmp$ret$16 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
32970
32940
|
var tmp_2 = plus(tmp_1, tmp$ret$16);
|
|
32971
|
-
var tmp_3 = this.
|
|
32941
|
+
var tmp_3 = this.y4i(item_1, tmp_2, null, 4, null);
|
|
32972
32942
|
tmp_0 = item_1.l31(null, null, null, null, null, item_1.s30_1.j33(0, tmp_3, null, 5, null), 31, null);
|
|
32973
32943
|
} else {
|
|
32974
32944
|
tmp_0 = item_1;
|
|
@@ -32982,13 +32952,13 @@
|
|
|
32982
32952
|
var tmp_5 = table.b3v(null, null, null, null, tmp_4, null, null, null, null, null, 1007, null);
|
|
32983
32953
|
return state.a47(tmp_5, null, null, null, null, 30, null);
|
|
32984
32954
|
};
|
|
32985
|
-
CombinationsMechanicReducer.prototype.
|
|
32955
|
+
CombinationsMechanicReducer.prototype.y4h = function (state, action) {
|
|
32986
32956
|
var table = state.h2x();
|
|
32987
32957
|
var playerWithCombination = getPlayer(table.c3u_1, action.y48_1);
|
|
32988
32958
|
var tmp0_state = action.z48_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
|
|
32989
32959
|
var tmp1_combinations = action.a49_1;
|
|
32990
32960
|
var tmp2_config = table.b3u_1;
|
|
32991
|
-
var tmp = this.
|
|
32961
|
+
var tmp = this.i4i(tmp0_state, tmp1_combinations, playerWithCombination, tmp2_config, null, 16, null);
|
|
32992
32962
|
var newPoints = playerWithCombination.s30_1.j33(0, tmp, null, 5, null);
|
|
32993
32963
|
var announcedCombination = getCombination(newPoints.d33_1, single(action.a49_1).r3a_1);
|
|
32994
32964
|
if (announcedCombination.n34_1.equals(CombinationState_ACCEPTED_getInstance())) {
|
|
@@ -33006,8 +32976,8 @@
|
|
|
33006
32976
|
// Inline function 'kotlin.contracts.contract' call
|
|
33007
32977
|
var tmp$ret$0;
|
|
33008
32978
|
// Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.onCombinationChoice.<anonymous>' call
|
|
33009
|
-
var newCards = this.
|
|
33010
|
-
tmp$ret$0 = this.
|
|
32979
|
+
var newCards = this.q4h_1.x43(tmp0_let, trumpSevenCard);
|
|
32980
|
+
tmp$ret$0 = this.q4h_1.y43(newCards, trumpCard);
|
|
33011
32981
|
tmp$ret$1 = tmp$ret$0;
|
|
33012
32982
|
|
|
33013
32983
|
var tmp4_cards = tmp$ret$1;
|
|
@@ -33029,7 +32999,7 @@
|
|
|
33029
32999
|
};
|
|
33030
33000
|
CombinationsMechanicReducer.$metadata$ = classMeta('CombinationsMechanicReducer');
|
|
33031
33001
|
function onPutCardForPlayer($this, player, table, card, cardsOnTheTable, combinations) {
|
|
33032
|
-
var tmp2_cards = $this.
|
|
33002
|
+
var tmp2_cards = $this.v4h_1.x43(player.q30_1, card);
|
|
33033
33003
|
var tmp0_safe_receiver = combinations;
|
|
33034
33004
|
var tmp;
|
|
33035
33005
|
if (tmp0_safe_receiver == null) {
|
|
@@ -33050,10 +33020,10 @@
|
|
|
33050
33020
|
return player.l31(null, null, null, tmp2_cards, tmp4_hand, tmp3_points, 7, null);
|
|
33051
33021
|
}
|
|
33052
33022
|
function onAddCombinations($this, player, combinations, table) {
|
|
33053
|
-
var tmp0_$this = $this.
|
|
33023
|
+
var tmp0_$this = $this.s4h_1;
|
|
33054
33024
|
var tmp1_state = CombinationState_VERIFYING_getInstance();
|
|
33055
33025
|
var tmp2_config = table.b3u_1;
|
|
33056
|
-
var tmp = tmp0_$this.
|
|
33026
|
+
var tmp = tmp0_$this.i4i(tmp1_state, combinations, player, tmp2_config, null, 16, null);
|
|
33057
33027
|
return player.s30_1.j33(0, tmp, null, 5, null);
|
|
33058
33028
|
}
|
|
33059
33029
|
function onUpdateBribeNumber($this, party, numberOfBribe) {
|
|
@@ -33066,7 +33036,7 @@
|
|
|
33066
33036
|
var isGotBribe = player.x2k() === whoGotBribePlayerId;
|
|
33067
33037
|
var isGotLastBribe = player.w30() === 0 ? isGotBribe : false;
|
|
33068
33038
|
var hasBellaCombination = !(bellaCombination == null) ? bellaCombination.r3w_1 === player.x2k() : false;
|
|
33069
|
-
var tmp = isGotLastBribe ? $this.
|
|
33039
|
+
var tmp = isGotLastBribe ? $this.t4h_1.w33(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_getInstance_92().b3w(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
|
|
33070
33040
|
var tmp_0;
|
|
33071
33041
|
if (hasBellaCombination) {
|
|
33072
33042
|
var tmp$ret$2;
|
|
@@ -33088,7 +33058,7 @@
|
|
|
33088
33058
|
}
|
|
33089
33059
|
}
|
|
33090
33060
|
tmp$ret$2 = tmp$ret$1;
|
|
33091
|
-
tmp_0 = $this.
|
|
33061
|
+
tmp_0 = $this.s4h_1.z4i(whoGotBribePlayerId, tmp$ret$2, players, config);
|
|
33092
33062
|
} else {
|
|
33093
33063
|
tmp_0 = null;
|
|
33094
33064
|
}
|
|
@@ -33101,7 +33071,7 @@
|
|
|
33101
33071
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
33102
33072
|
tmp$ret$3 = !combinations.k();
|
|
33103
33073
|
if (tmp$ret$3) {
|
|
33104
|
-
tmp_2 = $this.
|
|
33074
|
+
tmp_2 = $this.s4h_1.y4i(player, combinations, null, 4, null);
|
|
33105
33075
|
} else {
|
|
33106
33076
|
tmp_2 = player.s30_1.d33_1;
|
|
33107
33077
|
}
|
|
@@ -33173,24 +33143,24 @@
|
|
|
33173
33143
|
return player.r30_1;
|
|
33174
33144
|
}
|
|
33175
33145
|
function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerInteractor) {
|
|
33176
|
-
this.
|
|
33177
|
-
this.
|
|
33178
|
-
this.
|
|
33179
|
-
this.
|
|
33146
|
+
this.s4h_1 = combinationsMechanicReducer;
|
|
33147
|
+
this.t4h_1 = combinationsFactory;
|
|
33148
|
+
this.u4h_1 = combinationsInteractor;
|
|
33149
|
+
this.v4h_1 = dealerInteractor;
|
|
33180
33150
|
}
|
|
33181
|
-
EarnPointsMechanicReducer.prototype.
|
|
33151
|
+
EarnPointsMechanicReducer.prototype.x4h = function (state, action) {
|
|
33182
33152
|
var table = state.h2x();
|
|
33183
33153
|
var player = getPlayer(table.c3u_1, action.p45_1);
|
|
33184
|
-
var cardsOnTheTable = plus_0(table.e3u_1, new
|
|
33154
|
+
var cardsOnTheTable = plus_0(table.e3u_1, new CardOnTable(action.p45_1, table.e3u_1.i(), action.r45_1));
|
|
33185
33155
|
var tmp0_$this = state.h2x();
|
|
33186
33156
|
var tmp1_players = updateItem(table.c3u_1, onPutCardForPlayer(this, player, table, action.r45_1, cardsOnTheTable, action.s45_1), get_byIdPlayerPredicate()(player.x2k()));
|
|
33187
33157
|
var tmp = tmp0_$this.b3v(null, null, null, null, tmp1_players, null, cardsOnTheTable, null, null, null, 943, null);
|
|
33188
33158
|
return state.a47(tmp, null, null, null, null, 30, null);
|
|
33189
33159
|
};
|
|
33190
|
-
EarnPointsMechanicReducer.prototype.
|
|
33160
|
+
EarnPointsMechanicReducer.prototype.w4h = function (state, action) {
|
|
33191
33161
|
var table = state.h2x();
|
|
33192
33162
|
var players = table.c3u_1;
|
|
33193
|
-
var bellaCombination = this.
|
|
33163
|
+
var bellaCombination = this.u4h_1.k43(players);
|
|
33194
33164
|
var cardsOnTheTable = table.e3u_1;
|
|
33195
33165
|
var config = table.b3u_1;
|
|
33196
33166
|
var tmp0_bribes = onAddBribe(this, table.f3u_1, cardsOnTheTable);
|
|
@@ -33246,7 +33216,7 @@
|
|
|
33246
33216
|
tmp = cardDeck;
|
|
33247
33217
|
}
|
|
33248
33218
|
var newCardDeck = tmp;
|
|
33249
|
-
return new PreviousParty(bribes, newCardDeck, $this.
|
|
33219
|
+
return new PreviousParty(bribes, newCardDeck, $this.k4i_1.u44(players, config));
|
|
33250
33220
|
}
|
|
33251
33221
|
function partyFinishedGameInfoReducer($this, table) {
|
|
33252
33222
|
var tmp = partyFinishedPartyReducer($this, table.h3u_1.v3u_1);
|
|
@@ -33301,9 +33271,9 @@
|
|
|
33301
33271
|
return points.i33(0, emptyList(), emptyList());
|
|
33302
33272
|
}
|
|
33303
33273
|
function TableLifecycleReducer(pointsInteractor) {
|
|
33304
|
-
this.
|
|
33274
|
+
this.k4i_1 = pointsInteractor;
|
|
33305
33275
|
}
|
|
33306
|
-
TableLifecycleReducer.prototype.
|
|
33276
|
+
TableLifecycleReducer.prototype.a4j = function (id, config, version, users, gameCreatorPlayerId) {
|
|
33307
33277
|
var tmp = Companion_getInstance_89();
|
|
33308
33278
|
var tmp$ret$2;
|
|
33309
33279
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
@@ -33329,7 +33299,7 @@
|
|
|
33329
33299
|
tmp$ret$2 = tmp$ret$1;
|
|
33330
33300
|
return tmp.initial(id, version, config, tmp$ret$2);
|
|
33331
33301
|
};
|
|
33332
|
-
TableLifecycleReducer.prototype.
|
|
33302
|
+
TableLifecycleReducer.prototype.l4i = function (table) {
|
|
33333
33303
|
var tmp$ret$2;
|
|
33334
33304
|
// Inline function 'kotlin.collections.map' call
|
|
33335
33305
|
var tmp0_map = table.c3u_1;
|
|
@@ -33350,7 +33320,7 @@
|
|
|
33350
33320
|
var tmp_0 = tmp$ret$2;
|
|
33351
33321
|
return table.b3v(null, null, null, null, tmp_0, null, null, null, null, null, 1007, null);
|
|
33352
33322
|
};
|
|
33353
|
-
TableLifecycleReducer.prototype.
|
|
33323
|
+
TableLifecycleReducer.prototype.m4i = function (table) {
|
|
33354
33324
|
Companion_getInstance_8();
|
|
33355
33325
|
var tmp0_sceneInfo = SceneInfo_init_$Create$('WAITING', null, null, null, null, 30, null);
|
|
33356
33326
|
var tmp$ret$2;
|
|
@@ -33375,7 +33345,7 @@
|
|
|
33375
33345
|
var tmp4_gameInfo = partyFinishedGameInfoReducer(this, table);
|
|
33376
33346
|
return table.b3v(null, null, null, null, tmp1_players, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, null, tmp4_gameInfo, 15, null);
|
|
33377
33347
|
};
|
|
33378
|
-
TableLifecycleReducer.prototype.
|
|
33348
|
+
TableLifecycleReducer.prototype.v4i = function (table) {
|
|
33379
33349
|
var tmp$ret$2;
|
|
33380
33350
|
// Inline function 'kotlin.collections.map' call
|
|
33381
33351
|
var tmp0_map = table.c3u_1;
|
|
@@ -33395,7 +33365,7 @@
|
|
|
33395
33365
|
var tmp = tmp$ret$2;
|
|
33396
33366
|
return table.b3v(null, null, null, null, tmp, null, emptyList(), emptyList(), null, partyFinishedGameInfoReducer(this, table), 47, null);
|
|
33397
33367
|
};
|
|
33398
|
-
TableLifecycleReducer.prototype.
|
|
33368
|
+
TableLifecycleReducer.prototype.w4i = function (table) {
|
|
33399
33369
|
var tmp$ret$2;
|
|
33400
33370
|
// Inline function 'kotlin.collections.map' call
|
|
33401
33371
|
var tmp0_map = table.c3u_1;
|
|
@@ -33419,24 +33389,24 @@
|
|
|
33419
33389
|
function resetPlayerTurnReducer(logger, playerTurnInteractor, playerTurnMechanicReducer) {
|
|
33420
33390
|
var tmp$ret$0;
|
|
33421
33391
|
// Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
|
|
33422
|
-
tmp$ret$0 = new
|
|
33392
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_22(playerTurnInteractor, logger, playerTurnMechanicReducer);
|
|
33423
33393
|
return tmp$ret$0;
|
|
33424
33394
|
}
|
|
33425
|
-
function
|
|
33426
|
-
this.
|
|
33427
|
-
this.
|
|
33428
|
-
this.
|
|
33395
|
+
function _no_name_provided__qut3iv_22($playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
33396
|
+
this.b4j_1 = $playerTurnInteractor;
|
|
33397
|
+
this.c4j_1 = $logger;
|
|
33398
|
+
this.d4j_1 = $playerTurnMechanicReducer;
|
|
33429
33399
|
}
|
|
33430
|
-
|
|
33400
|
+
_no_name_provided__qut3iv_22.prototype.f2r = function (action) {
|
|
33431
33401
|
return isInterface(action, PlayerAnswerFromClientAction);
|
|
33432
33402
|
};
|
|
33433
|
-
|
|
33403
|
+
_no_name_provided__qut3iv_22.prototype.c4h = function (state, action) {
|
|
33434
33404
|
var tmp$ret$0;
|
|
33435
33405
|
$l$block: {
|
|
33436
33406
|
// Inline function 'com.debertz.logic.redux.reducers.turn.resetPlayerTurnReducer.<anonymous>' call
|
|
33437
33407
|
var tmp0__anonymous__q1qw7t = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
|
|
33438
33408
|
var player = getPlayer(state.h2x().c3u_1, tmp0__anonymous__q1qw7t.playerId);
|
|
33439
|
-
var tmp0_elvis_lhs = this.
|
|
33409
|
+
var tmp0_elvis_lhs = this.b4j_1.w45(player, tmp0__anonymous__q1qw7t);
|
|
33440
33410
|
var tmp;
|
|
33441
33411
|
if (tmp0_elvis_lhs == null) {
|
|
33442
33412
|
tmp$ret$0 = state;
|
|
@@ -33446,36 +33416,36 @@
|
|
|
33446
33416
|
}
|
|
33447
33417
|
var turnModel = tmp;
|
|
33448
33418
|
var tmp_0 = 'resetPlayerTurnReducer: ' + turnModel;
|
|
33449
|
-
this.
|
|
33450
|
-
var tmp_1 = this.
|
|
33419
|
+
this.c4j_1.m2t('PlayerTurn', tmp_0, null, 4, null);
|
|
33420
|
+
var tmp_1 = this.d4j_1.t4i(state.h2x(), turnModel);
|
|
33451
33421
|
tmp$ret$0 = state.a47(tmp_1, null, null, null, null, 30, null);
|
|
33452
33422
|
}
|
|
33453
33423
|
return tmp$ret$0;
|
|
33454
33424
|
};
|
|
33455
|
-
|
|
33456
|
-
return this.
|
|
33425
|
+
_no_name_provided__qut3iv_22.prototype.w2q = function (state, action) {
|
|
33426
|
+
return this.c4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
33457
33427
|
};
|
|
33458
|
-
|
|
33428
|
+
_no_name_provided__qut3iv_22.$metadata$ = classMeta(undefined, [Reducer]);
|
|
33459
33429
|
function setPlayerTurnReducer(logger, playerTurnInteractor, playerTurnMechanicReducer) {
|
|
33460
33430
|
var tmp$ret$0;
|
|
33461
33431
|
// Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
|
|
33462
|
-
tmp$ret$0 = new
|
|
33432
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_23(playerTurnInteractor, logger, playerTurnMechanicReducer);
|
|
33463
33433
|
return tmp$ret$0;
|
|
33464
33434
|
}
|
|
33465
|
-
function
|
|
33466
|
-
this.
|
|
33467
|
-
this.
|
|
33468
|
-
this.
|
|
33435
|
+
function _no_name_provided__qut3iv_23($playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
|
|
33436
|
+
this.e4j_1 = $playerTurnInteractor;
|
|
33437
|
+
this.f4j_1 = $logger;
|
|
33438
|
+
this.g4j_1 = $playerTurnMechanicReducer;
|
|
33469
33439
|
}
|
|
33470
|
-
|
|
33440
|
+
_no_name_provided__qut3iv_23.prototype.f2r = function (action) {
|
|
33471
33441
|
return isInterface(action, NextPlayerTurnAction);
|
|
33472
33442
|
};
|
|
33473
|
-
|
|
33443
|
+
_no_name_provided__qut3iv_23.prototype.c4h = function (state, action) {
|
|
33474
33444
|
var tmp$ret$0;
|
|
33475
33445
|
$l$block: {
|
|
33476
33446
|
// Inline function 'com.debertz.logic.redux.reducers.turn.setPlayerTurnReducer.<anonymous>' call
|
|
33477
33447
|
var tmp0__anonymous__q1qw7t = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
|
|
33478
|
-
var tmp0_elvis_lhs = this.
|
|
33448
|
+
var tmp0_elvis_lhs = this.e4j_1.v45(tmp0__anonymous__q1qw7t, state.h2x().c3u_1, state.h2x().h3u_1.v3u_1);
|
|
33479
33449
|
var tmp;
|
|
33480
33450
|
if (tmp0_elvis_lhs == null) {
|
|
33481
33451
|
tmp$ret$0 = state;
|
|
@@ -33485,16 +33455,16 @@
|
|
|
33485
33455
|
}
|
|
33486
33456
|
var turnModel = tmp;
|
|
33487
33457
|
var tmp_0 = 'setPlayerTurnReducer: ' + turnModel;
|
|
33488
|
-
this.
|
|
33489
|
-
var tmp_1 = this.
|
|
33458
|
+
this.f4j_1.m2t('PlayerTurn', tmp_0, null, 4, null);
|
|
33459
|
+
var tmp_1 = this.g4j_1.s4i(state.h2x(), turnModel);
|
|
33490
33460
|
tmp$ret$0 = state.a47(tmp_1, null, null, null, null, 30, null);
|
|
33491
33461
|
}
|
|
33492
33462
|
return tmp$ret$0;
|
|
33493
33463
|
};
|
|
33494
|
-
|
|
33495
|
-
return this.
|
|
33464
|
+
_no_name_provided__qut3iv_23.prototype.w2q = function (state, action) {
|
|
33465
|
+
return this.c4h(state instanceof AppState ? state : THROW_CCE(), action);
|
|
33496
33466
|
};
|
|
33497
|
-
|
|
33467
|
+
_no_name_provided__qut3iv_23.$metadata$ = classMeta(undefined, [Reducer]);
|
|
33498
33468
|
function GameLoggerOutputTablePayloadWrapper_init_$Init$(logger, stateProvider, $mask0, $marker, $this) {
|
|
33499
33469
|
if (!(($mask0 & 2) === 0)) {
|
|
33500
33470
|
stateProvider = GameLoggerOutputTablePayloadWrapper$_init_$lambda_368g91;
|
|
@@ -33508,7 +33478,7 @@
|
|
|
33508
33478
|
function getPayload($this, payload) {
|
|
33509
33479
|
var tmp;
|
|
33510
33480
|
try {
|
|
33511
|
-
var state = $this.
|
|
33481
|
+
var state = $this.i4j_1();
|
|
33512
33482
|
var tmp_0;
|
|
33513
33483
|
if (!(state == null) ? state.o3v() : false) {
|
|
33514
33484
|
tmp_0 = toLoggerPayload(state);
|
|
@@ -33527,7 +33497,7 @@
|
|
|
33527
33497
|
} catch ($p) {
|
|
33528
33498
|
var tmp_1;
|
|
33529
33499
|
if ($p instanceof Error) {
|
|
33530
|
-
$this.
|
|
33500
|
+
$this.h4j_1.e2q(null, null, $p, null, 3, null);
|
|
33531
33501
|
tmp_1 = null;
|
|
33532
33502
|
} else {
|
|
33533
33503
|
throw $p;
|
|
@@ -33540,17 +33510,17 @@
|
|
|
33540
33510
|
return null;
|
|
33541
33511
|
}
|
|
33542
33512
|
function GameLoggerOutputTablePayloadWrapper(logger, stateProvider) {
|
|
33543
|
-
this.
|
|
33544
|
-
this.
|
|
33513
|
+
this.h4j_1 = logger;
|
|
33514
|
+
this.i4j_1 = stateProvider;
|
|
33545
33515
|
}
|
|
33546
33516
|
GameLoggerOutputTablePayloadWrapper.prototype.l2t = function (tag, message, payload) {
|
|
33547
|
-
this.
|
|
33517
|
+
this.h4j_1.l2t(tag, message, getPayload(this, payload));
|
|
33548
33518
|
};
|
|
33549
33519
|
GameLoggerOutputTablePayloadWrapper.prototype.n2t = function (tag, message, exception, payload) {
|
|
33550
|
-
this.
|
|
33520
|
+
this.h4j_1.n2t(tag, message, exception, getPayload(this, payload));
|
|
33551
33521
|
};
|
|
33552
33522
|
GameLoggerOutputTablePayloadWrapper.prototype.o2t = function (tag, message, payload) {
|
|
33553
|
-
this.
|
|
33523
|
+
this.h4j_1.o2t(tag, message, getPayload(this, payload));
|
|
33554
33524
|
};
|
|
33555
33525
|
GameLoggerOutputTablePayloadWrapper.$metadata$ = classMeta('GameLoggerOutputTablePayloadWrapper', [LoggerOutput]);
|
|
33556
33526
|
function get_isCreated_0(_this__u8e3s4) {
|
|
@@ -33576,16 +33546,16 @@
|
|
|
33576
33546
|
return GameLoggerOutputTablePayloadWrapper_init_$Create$(tmp, null, 2, null);
|
|
33577
33547
|
}
|
|
33578
33548
|
function createLoggerOutputWithTablePayload$1($loggerCallback) {
|
|
33579
|
-
this.
|
|
33549
|
+
this.j4j_1 = $loggerCallback;
|
|
33580
33550
|
}
|
|
33581
33551
|
createLoggerOutputWithTablePayload$1.prototype.l2t = function (tag, message, payload) {
|
|
33582
|
-
this.
|
|
33552
|
+
this.j4j_1('debug', tag, message, null, payload);
|
|
33583
33553
|
};
|
|
33584
33554
|
createLoggerOutputWithTablePayload$1.prototype.n2t = function (tag, message, exception, payload) {
|
|
33585
|
-
this.
|
|
33555
|
+
this.j4j_1('error', tag, generateMsg(message, exception), exception, payload);
|
|
33586
33556
|
};
|
|
33587
33557
|
createLoggerOutputWithTablePayload$1.prototype.o2t = function (tag, message, payload) {
|
|
33588
|
-
this.
|
|
33558
|
+
this.j4j_1('warn', tag, message, null, payload);
|
|
33589
33559
|
};
|
|
33590
33560
|
createLoggerOutputWithTablePayload$1.$metadata$ = classMeta(undefined, [LoggerOutput]);
|
|
33591
33561
|
function ParserHelper() {
|
|
@@ -33595,7 +33565,7 @@
|
|
|
33595
33565
|
var tmp$ret$0;
|
|
33596
33566
|
// Inline function 'kotlin.getValue' call
|
|
33597
33567
|
var tmp0_getValue = encoderDecoderProvider$factory_0();
|
|
33598
|
-
tmp$ret$0 = $this.
|
|
33568
|
+
tmp$ret$0 = $this.l4j_1.c2();
|
|
33599
33569
|
return tmp$ret$0;
|
|
33600
33570
|
}
|
|
33601
33571
|
function ParserHelperImpl$di$lambda($this$invoke) {
|
|
@@ -33606,17 +33576,17 @@
|
|
|
33606
33576
|
function ParserHelperImpl() {
|
|
33607
33577
|
var tmp = this;
|
|
33608
33578
|
var tmp_0 = Companion_getInstance_6();
|
|
33609
|
-
tmp.
|
|
33579
|
+
tmp.k4j_1 = tmp_0.y2e(false, ParserHelperImpl$di$lambda, 1, null);
|
|
33610
33580
|
var tmp_1 = this;
|
|
33611
33581
|
var tmp$ret$1;
|
|
33612
33582
|
// Inline function 'org.kodein.di.instance' call
|
|
33613
|
-
var tmp0_instance = this.
|
|
33583
|
+
var tmp0_instance = this.k4j_1;
|
|
33614
33584
|
var tmp$ret$0;
|
|
33615
33585
|
// Inline function 'org.kodein.type.generic' call
|
|
33616
33586
|
var tmp_2 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
|
|
33617
33587
|
tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
33618
33588
|
tmp$ret$1 = Instance(tmp0_instance, tmp$ret$0, null);
|
|
33619
|
-
tmp_1.
|
|
33589
|
+
tmp_1.l4j_1 = tmp$ret$1.c2k(this, encoderDecoderProvider$factory());
|
|
33620
33590
|
}
|
|
33621
33591
|
ParserHelperImpl.prototype.encodeFromClientEvent = function (action) {
|
|
33622
33592
|
return _get_encoderDecoderProvider__qqgrji(this).c41(mapToDto_12(action));
|
|
@@ -34051,7 +34021,7 @@
|
|
|
34051
34021
|
_.$_$.o = getWhoGotBribe;
|
|
34052
34022
|
_.$_$.p = CombinationActData;
|
|
34053
34023
|
_.$_$.q = PreviewSceneData;
|
|
34054
|
-
_.$_$.r =
|
|
34024
|
+
_.$_$.r = CardOnTable;
|
|
34055
34025
|
_.$_$.s = mapFromDetailed;
|
|
34056
34026
|
_.$_$.t = get_isChoosePartnerScene;
|
|
34057
34027
|
_.$_$.u = get_isEarnPointScene;
|