game_client_logic_deb 1.4.72 → 1.4.85
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/88b0986a7186d029-atomicfu-js-ir.js +2 -2
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kodein-kodein-di.js +502 -502
- package/KosiTypeSystem-kaverit.js +59 -59
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +51 -51
- package/Logic_Debertz-core.js +1077 -1100
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9487 -9509
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +2867 -2868
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +83 -72
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1806 -1776
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1297 -1255
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1121 -1217
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +14 -14
package/Logic_Debertz-core.js
CHANGED
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
var imul = Math.imul;
|
|
34
34
|
var protoOf = kotlin_kotlin.$_$.ba;
|
|
35
35
|
var objectMeta = kotlin_kotlin.$_$.aa;
|
|
36
|
-
var VOID = kotlin_kotlin.$_$.
|
|
36
|
+
var VOID = kotlin_kotlin.$_$.td;
|
|
37
37
|
var setMetadataFor = kotlin_kotlin.$_$.ca;
|
|
38
38
|
var defineProp = kotlin_kotlin.$_$.a9;
|
|
39
39
|
var getKClass = kotlin_kotlin.$_$.e;
|
|
40
40
|
var Unit_getInstance = kotlin_kotlin.$_$.m4;
|
|
41
41
|
var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d;
|
|
42
42
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.g;
|
|
43
|
-
var lazy = kotlin_kotlin.$_$.
|
|
43
|
+
var lazy = kotlin_kotlin.$_$.kd;
|
|
44
44
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
45
45
|
var classMeta = kotlin_kotlin.$_$.y8;
|
|
46
46
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
47
47
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
|
|
48
48
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g;
|
|
49
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
49
|
+
var THROW_CCE = kotlin_kotlin.$_$.pc;
|
|
50
50
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
51
51
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
|
|
52
52
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
@@ -54,31 +54,31 @@
|
|
|
54
54
|
var getStringHashCode = kotlin_kotlin.$_$.f9;
|
|
55
55
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
|
|
56
56
|
var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
57
|
-
var Enum = kotlin_kotlin.$_$.
|
|
57
|
+
var Enum = kotlin_kotlin.$_$.ec;
|
|
58
58
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w;
|
|
59
59
|
var equals = kotlin_kotlin.$_$.b9;
|
|
60
60
|
var interfaceMeta = kotlin_kotlin.$_$.h9;
|
|
61
|
-
var Exception = kotlin_kotlin.$_$.
|
|
61
|
+
var Exception = kotlin_kotlin.$_$.gc;
|
|
62
62
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.e1;
|
|
63
63
|
var captureStack = kotlin_kotlin.$_$.t8;
|
|
64
|
-
var toString = kotlin_kotlin.$_$.
|
|
64
|
+
var toString = kotlin_kotlin.$_$.rd;
|
|
65
65
|
var hashCode = kotlin_kotlin.$_$.g9;
|
|
66
66
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
67
|
-
var THROW_ISE = kotlin_kotlin.$_$.
|
|
67
|
+
var THROW_ISE = kotlin_kotlin.$_$.qc;
|
|
68
68
|
var System_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
|
|
69
69
|
var toString_0 = kotlin_kotlin.$_$.ga;
|
|
70
70
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
71
71
|
var PolymorphicSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
|
|
72
|
-
var Long = kotlin_kotlin.$_$.
|
|
72
|
+
var Long = kotlin_kotlin.$_$.jc;
|
|
73
73
|
var toInstant = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.c;
|
|
74
74
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
75
75
|
var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
76
76
|
var Companion_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.b;
|
|
77
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
77
|
+
var ensureNotNull = kotlin_kotlin.$_$.gd;
|
|
78
78
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
79
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
79
|
+
var Comparator = kotlin_kotlin.$_$.bc;
|
|
80
80
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
81
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
81
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.md;
|
|
82
82
|
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.d8;
|
|
83
83
|
var Key_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
84
84
|
var get = kotlin_kotlin.$_$.k8;
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
99
99
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
100
100
|
var toSet = kotlin_kotlin.$_$.u7;
|
|
101
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
101
|
+
var arrayOf = kotlin_kotlin.$_$.dd;
|
|
102
102
|
var createKType = kotlin_kotlin.$_$.b;
|
|
103
103
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
104
104
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
@@ -106,10 +106,10 @@
|
|
|
106
106
|
var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
|
|
107
107
|
var BufferOverflow_DROP_OLDEST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
108
108
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
109
|
-
var Unit = kotlin_kotlin.$_$.
|
|
109
|
+
var Unit = kotlin_kotlin.$_$.ad;
|
|
110
110
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
111
111
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
112
|
-
var split = kotlin_kotlin.$_$.
|
|
112
|
+
var split = kotlin_kotlin.$_$.ib;
|
|
113
113
|
var first = kotlin_kotlin.$_$.c6;
|
|
114
114
|
var isObject = kotlin_kotlin.$_$.r9;
|
|
115
115
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
var get_lastIndex = kotlin_kotlin.$_$.n6;
|
|
120
120
|
var toMutableList = kotlin_kotlin.$_$.t7;
|
|
121
121
|
var firstOrNull = kotlin_kotlin.$_$.b6;
|
|
122
|
-
var printStackTrace = kotlin_kotlin.$_$.
|
|
123
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
124
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
122
|
+
var printStackTrace = kotlin_kotlin.$_$.od;
|
|
123
|
+
var isBlank = kotlin_kotlin.$_$.cb;
|
|
124
|
+
var stackTraceToString = kotlin_kotlin.$_$.pd;
|
|
125
125
|
//endregion
|
|
126
126
|
//region block: pre-declaration
|
|
127
127
|
setMetadataFor(GameEngineConfig, 'GameEngineConfig', objectMeta);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
158
158
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
159
159
|
function get_amountOfCards() {
|
|
160
|
-
return this.
|
|
160
|
+
return this.k2g().i();
|
|
161
161
|
}
|
|
162
162
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
163
163
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -200,16 +200,16 @@
|
|
|
200
200
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
201
201
|
setMetadataFor(AsyncProviderImpl$launchWorkerWithLock$slambda, 'AsyncProviderImpl$launchWorkerWithLock$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
|
|
202
202
|
function launchWorker$default(context, block, $super) {
|
|
203
|
-
context = context === VOID ? this.
|
|
204
|
-
return $super === VOID ? this.
|
|
203
|
+
context = context === VOID ? this.d2m() : context;
|
|
204
|
+
return $super === VOID ? this.g2m(context, block) : $super.g2m.call(this, context, block);
|
|
205
205
|
}
|
|
206
206
|
function launchWorkerWithLock$default(context, block, $super) {
|
|
207
|
-
context = context === VOID ? this.
|
|
208
|
-
return $super === VOID ? this.
|
|
207
|
+
context = context === VOID ? this.d2m() : context;
|
|
208
|
+
return $super === VOID ? this.i2m(context, block) : $super.i2m.call(this, context, block);
|
|
209
209
|
}
|
|
210
210
|
function launchStore$default(context, block, $super) {
|
|
211
|
-
context = context === VOID ? this.
|
|
212
|
-
return $super === VOID ? this.
|
|
211
|
+
context = context === VOID ? this.d2m() : context;
|
|
212
|
+
return $super === VOID ? this.e2m(context, block) : $super.e2m.call(this, context, block);
|
|
213
213
|
}
|
|
214
214
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
215
215
|
setMetadataFor(AsyncProviderImpl, 'AsyncProviderImpl', classMeta, VOID, [AsyncProvider]);
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
return false;
|
|
249
249
|
}
|
|
250
250
|
function get_isAutoStartTimer() {
|
|
251
|
-
return !this.
|
|
251
|
+
return !this.l2o() ? !this.m2o() : false;
|
|
252
252
|
}
|
|
253
253
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
254
254
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -276,10 +276,10 @@
|
|
|
276
276
|
payload = payload === VOID ? null : payload;
|
|
277
277
|
var tmp;
|
|
278
278
|
if ($super === VOID) {
|
|
279
|
-
this.
|
|
279
|
+
this.e2r(tag, message, payload);
|
|
280
280
|
tmp = Unit_getInstance();
|
|
281
281
|
} else {
|
|
282
|
-
tmp = $super.
|
|
282
|
+
tmp = $super.e2r.call(this, tag, message, payload);
|
|
283
283
|
}
|
|
284
284
|
return tmp;
|
|
285
285
|
}
|
|
@@ -290,10 +290,10 @@
|
|
|
290
290
|
payload = payload === VOID ? null : payload;
|
|
291
291
|
var tmp;
|
|
292
292
|
if ($super === VOID) {
|
|
293
|
-
this.
|
|
293
|
+
this.w2o(tag, message, exception, payload);
|
|
294
294
|
tmp = Unit_getInstance();
|
|
295
295
|
} else {
|
|
296
|
-
tmp = $super.
|
|
296
|
+
tmp = $super.w2o.call(this, tag, message, exception, payload);
|
|
297
297
|
}
|
|
298
298
|
return tmp;
|
|
299
299
|
}
|
|
@@ -302,10 +302,10 @@
|
|
|
302
302
|
payload = payload === VOID ? null : payload;
|
|
303
303
|
var tmp;
|
|
304
304
|
if ($super === VOID) {
|
|
305
|
-
this.
|
|
305
|
+
this.g2r(tag, message, payload);
|
|
306
306
|
tmp = Unit_getInstance();
|
|
307
307
|
} else {
|
|
308
|
-
tmp = $super.
|
|
308
|
+
tmp = $super.g2r.call(this, tag, message, payload);
|
|
309
309
|
}
|
|
310
310
|
return tmp;
|
|
311
311
|
}
|
|
@@ -318,9 +318,9 @@
|
|
|
318
318
|
//endregion
|
|
319
319
|
function GameEngineConfig() {
|
|
320
320
|
GameEngineConfig_instance = this;
|
|
321
|
-
this.version = '1.4.
|
|
321
|
+
this.version = '1.4.85';
|
|
322
322
|
}
|
|
323
|
-
protoOf(GameEngineConfig).
|
|
323
|
+
protoOf(GameEngineConfig).a2f = function () {
|
|
324
324
|
return this.version;
|
|
325
325
|
};
|
|
326
326
|
var GameEngineConfig_instance;
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
return GameEngineConfig_instance;
|
|
331
331
|
}
|
|
332
332
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
333
|
-
return $this.
|
|
333
|
+
return $this.b2f_1.j1();
|
|
334
334
|
}
|
|
335
335
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
336
336
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -371,13 +371,13 @@
|
|
|
371
371
|
Companion_instance = this;
|
|
372
372
|
var tmp = this;
|
|
373
373
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
374
|
-
tmp.
|
|
374
|
+
tmp.b2f_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
375
375
|
}
|
|
376
|
-
protoOf(Companion).
|
|
376
|
+
protoOf(Companion).y1y = function () {
|
|
377
377
|
return _get_$cachedSerializer__te6jhj(this);
|
|
378
378
|
};
|
|
379
|
-
protoOf(Companion).
|
|
380
|
-
return this.
|
|
379
|
+
protoOf(Companion).n1n = function (typeParamsSerializers) {
|
|
380
|
+
return this.y1y();
|
|
381
381
|
};
|
|
382
382
|
var Companion_instance;
|
|
383
383
|
function Companion_getInstance_0() {
|
|
@@ -403,13 +403,13 @@
|
|
|
403
403
|
function $serializer() {
|
|
404
404
|
$serializer_instance = this;
|
|
405
405
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
406
|
-
tmp0_serialDesc.
|
|
407
|
-
this.
|
|
406
|
+
tmp0_serialDesc.n1m('playerId', false);
|
|
407
|
+
this.c2f_1 = tmp0_serialDesc;
|
|
408
408
|
}
|
|
409
|
-
protoOf($serializer).
|
|
410
|
-
return this.
|
|
409
|
+
protoOf($serializer).b1c = function () {
|
|
410
|
+
return this.c2f_1;
|
|
411
411
|
};
|
|
412
|
-
protoOf($serializer).
|
|
412
|
+
protoOf($serializer).c1n = function () {
|
|
413
413
|
var tmp$ret$2;
|
|
414
414
|
// Inline function 'kotlin.arrayOf' call
|
|
415
415
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -422,42 +422,42 @@
|
|
|
422
422
|
tmp$ret$2 = tmp$ret$1;
|
|
423
423
|
return tmp$ret$2;
|
|
424
424
|
};
|
|
425
|
-
protoOf($serializer).
|
|
426
|
-
var tmp0_desc = this.
|
|
425
|
+
protoOf($serializer).d1c = function (decoder) {
|
|
426
|
+
var tmp0_desc = this.c2f_1;
|
|
427
427
|
var tmp1_flag = true;
|
|
428
428
|
var tmp2_index = 0;
|
|
429
429
|
var tmp3_bitMask0 = 0;
|
|
430
430
|
var tmp4_local0 = null;
|
|
431
|
-
var tmp5_input = decoder.
|
|
432
|
-
if (tmp5_input.
|
|
433
|
-
tmp4_local0 = tmp5_input.
|
|
431
|
+
var tmp5_input = decoder.i1f(tmp0_desc);
|
|
432
|
+
if (tmp5_input.y1f()) {
|
|
433
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
434
434
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
435
435
|
} else
|
|
436
436
|
while (tmp1_flag) {
|
|
437
|
-
tmp2_index = tmp5_input.
|
|
437
|
+
tmp2_index = tmp5_input.z1f(tmp0_desc);
|
|
438
438
|
switch (tmp2_index) {
|
|
439
439
|
case -1:
|
|
440
440
|
tmp1_flag = false;
|
|
441
441
|
break;
|
|
442
442
|
case 0:
|
|
443
|
-
tmp4_local0 = tmp5_input.
|
|
443
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
444
444
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
445
445
|
break;
|
|
446
446
|
default:
|
|
447
447
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
tmp5_input.
|
|
450
|
+
tmp5_input.j1f(tmp0_desc);
|
|
451
451
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
452
452
|
};
|
|
453
|
-
protoOf($serializer).
|
|
454
|
-
var tmp0_desc = this.
|
|
455
|
-
var tmp1_output = encoder.
|
|
456
|
-
tmp1_output.
|
|
457
|
-
tmp1_output.
|
|
453
|
+
protoOf($serializer).d2f = function (encoder, value) {
|
|
454
|
+
var tmp0_desc = this.c2f_1;
|
|
455
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
456
|
+
tmp1_output.x1g(tmp0_desc, 0, value.e2f_1);
|
|
457
|
+
tmp1_output.j1f(tmp0_desc);
|
|
458
458
|
};
|
|
459
|
-
protoOf($serializer).
|
|
460
|
-
return this.
|
|
459
|
+
protoOf($serializer).c1c = function (encoder, value) {
|
|
460
|
+
return this.d2f(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
461
461
|
};
|
|
462
462
|
var $serializer_instance;
|
|
463
463
|
function $serializer_getInstance() {
|
|
@@ -467,10 +467,10 @@
|
|
|
467
467
|
}
|
|
468
468
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
469
469
|
if (!(1 === (1 & seen1))) {
|
|
470
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
470
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().c2f_1);
|
|
471
471
|
}
|
|
472
472
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
473
|
-
$this.
|
|
473
|
+
$this.e2f_1 = playerId;
|
|
474
474
|
return $this;
|
|
475
475
|
}
|
|
476
476
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -479,13 +479,13 @@
|
|
|
479
479
|
function PlayerReturnsReason(playerId) {
|
|
480
480
|
Companion_getInstance_1();
|
|
481
481
|
ContinueGameReason.call(this);
|
|
482
|
-
this.
|
|
482
|
+
this.e2f_1 = playerId;
|
|
483
483
|
}
|
|
484
484
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
485
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
485
|
+
return 'PlayerReturnsReason(playerId=' + this.e2f_1 + ')';
|
|
486
486
|
};
|
|
487
487
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
488
|
-
return getStringHashCode(this.
|
|
488
|
+
return getStringHashCode(this.e2f_1);
|
|
489
489
|
};
|
|
490
490
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
491
491
|
if (this === other)
|
|
@@ -493,12 +493,12 @@
|
|
|
493
493
|
if (!(other instanceof PlayerReturnsReason))
|
|
494
494
|
return false;
|
|
495
495
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
496
|
-
if (!(this.
|
|
496
|
+
if (!(this.e2f_1 === tmp0_other_with_cast.e2f_1))
|
|
497
497
|
return false;
|
|
498
498
|
return true;
|
|
499
499
|
};
|
|
500
500
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
501
|
-
return $this.
|
|
501
|
+
return $this.f2f_1.j1();
|
|
502
502
|
}
|
|
503
503
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
504
504
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -517,16 +517,16 @@
|
|
|
517
517
|
RestartGameReason_instance = this;
|
|
518
518
|
var tmp = this;
|
|
519
519
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
520
|
-
tmp.
|
|
520
|
+
tmp.f2f_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
521
521
|
}
|
|
522
522
|
protoOf(RestartGameReason).toString = function () {
|
|
523
523
|
return 'RestartGameReason';
|
|
524
524
|
};
|
|
525
|
-
protoOf(RestartGameReason).
|
|
525
|
+
protoOf(RestartGameReason).y1y = function () {
|
|
526
526
|
return _get_$cachedSerializer__te6jhj_0(this);
|
|
527
527
|
};
|
|
528
|
-
protoOf(RestartGameReason).
|
|
529
|
-
return this.
|
|
528
|
+
protoOf(RestartGameReason).n1n = function (typeParamsSerializers) {
|
|
529
|
+
return this.y1y();
|
|
530
530
|
};
|
|
531
531
|
var RestartGameReason_instance;
|
|
532
532
|
function RestartGameReason_getInstance() {
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
return RestartGameReason_instance;
|
|
536
536
|
}
|
|
537
537
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
538
|
-
return $this.
|
|
538
|
+
return $this.g2f_1.j1();
|
|
539
539
|
}
|
|
540
540
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
541
541
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -602,12 +602,12 @@
|
|
|
602
602
|
Companion_instance_1 = this;
|
|
603
603
|
var tmp = this;
|
|
604
604
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
605
|
-
tmp.
|
|
605
|
+
tmp.g2f_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
606
606
|
}
|
|
607
607
|
protoOf(Companion_1).serializer = function () {
|
|
608
608
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
609
609
|
};
|
|
610
|
-
protoOf(Companion_1).
|
|
610
|
+
protoOf(Companion_1).n1n = function (typeParamsSerializers) {
|
|
611
611
|
return this.serializer();
|
|
612
612
|
};
|
|
613
613
|
var Companion_instance_1;
|
|
@@ -637,13 +637,13 @@
|
|
|
637
637
|
function $serializer_0() {
|
|
638
638
|
$serializer_instance_0 = this;
|
|
639
639
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
640
|
-
tmp0_serialDesc.
|
|
641
|
-
this.
|
|
640
|
+
tmp0_serialDesc.n1m('reason', false);
|
|
641
|
+
this.h2f_1 = tmp0_serialDesc;
|
|
642
642
|
}
|
|
643
|
-
protoOf($serializer_0).
|
|
644
|
-
return this.
|
|
643
|
+
protoOf($serializer_0).b1c = function () {
|
|
644
|
+
return this.h2f_1;
|
|
645
645
|
};
|
|
646
|
-
protoOf($serializer_0).
|
|
646
|
+
protoOf($serializer_0).c1n = function () {
|
|
647
647
|
var tmp$ret$2;
|
|
648
648
|
// Inline function 'kotlin.arrayOf' call
|
|
649
649
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -656,42 +656,42 @@
|
|
|
656
656
|
tmp$ret$2 = tmp$ret$1;
|
|
657
657
|
return tmp$ret$2;
|
|
658
658
|
};
|
|
659
|
-
protoOf($serializer_0).
|
|
660
|
-
var tmp0_desc = this.
|
|
659
|
+
protoOf($serializer_0).d1c = function (decoder) {
|
|
660
|
+
var tmp0_desc = this.h2f_1;
|
|
661
661
|
var tmp1_flag = true;
|
|
662
662
|
var tmp2_index = 0;
|
|
663
663
|
var tmp3_bitMask0 = 0;
|
|
664
664
|
var tmp4_local0 = null;
|
|
665
|
-
var tmp5_input = decoder.
|
|
666
|
-
if (tmp5_input.
|
|
667
|
-
tmp4_local0 = tmp5_input.
|
|
665
|
+
var tmp5_input = decoder.i1f(tmp0_desc);
|
|
666
|
+
if (tmp5_input.y1f()) {
|
|
667
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
668
668
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
669
669
|
} else
|
|
670
670
|
while (tmp1_flag) {
|
|
671
|
-
tmp2_index = tmp5_input.
|
|
671
|
+
tmp2_index = tmp5_input.z1f(tmp0_desc);
|
|
672
672
|
switch (tmp2_index) {
|
|
673
673
|
case -1:
|
|
674
674
|
tmp1_flag = false;
|
|
675
675
|
break;
|
|
676
676
|
case 0:
|
|
677
|
-
tmp4_local0 = tmp5_input.
|
|
677
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
678
678
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
679
679
|
break;
|
|
680
680
|
default:
|
|
681
681
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
|
-
tmp5_input.
|
|
684
|
+
tmp5_input.j1f(tmp0_desc);
|
|
685
685
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
686
686
|
};
|
|
687
|
-
protoOf($serializer_0).
|
|
688
|
-
var tmp0_desc = this.
|
|
689
|
-
var tmp1_output = encoder.
|
|
690
|
-
tmp1_output.
|
|
691
|
-
tmp1_output.
|
|
687
|
+
protoOf($serializer_0).i2f = function (encoder, value) {
|
|
688
|
+
var tmp0_desc = this.h2f_1;
|
|
689
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
690
|
+
tmp1_output.x1g(tmp0_desc, 0, value.j2f_1);
|
|
691
|
+
tmp1_output.j1f(tmp0_desc);
|
|
692
692
|
};
|
|
693
|
-
protoOf($serializer_0).
|
|
694
|
-
return this.
|
|
693
|
+
protoOf($serializer_0).c1c = function (encoder, value) {
|
|
694
|
+
return this.i2f(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
695
695
|
};
|
|
696
696
|
var $serializer_instance_0;
|
|
697
697
|
function $serializer_getInstance_0() {
|
|
@@ -701,10 +701,10 @@
|
|
|
701
701
|
}
|
|
702
702
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
703
703
|
if (!(1 === (1 & seen1))) {
|
|
704
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().
|
|
704
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_0().h2f_1);
|
|
705
705
|
}
|
|
706
706
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
707
|
-
$this.
|
|
707
|
+
$this.j2f_1 = reason;
|
|
708
708
|
return $this;
|
|
709
709
|
}
|
|
710
710
|
function GameErrorReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -713,13 +713,13 @@
|
|
|
713
713
|
function GameErrorReason(reason) {
|
|
714
714
|
Companion_getInstance_3();
|
|
715
715
|
TerminationGameReason.call(this);
|
|
716
|
-
this.
|
|
716
|
+
this.j2f_1 = reason;
|
|
717
717
|
}
|
|
718
718
|
protoOf(GameErrorReason).toString = function () {
|
|
719
|
-
return 'GameErrorReason(reason=' + this.
|
|
719
|
+
return 'GameErrorReason(reason=' + this.j2f_1 + ')';
|
|
720
720
|
};
|
|
721
721
|
protoOf(GameErrorReason).hashCode = function () {
|
|
722
|
-
return getStringHashCode(this.
|
|
722
|
+
return getStringHashCode(this.j2f_1);
|
|
723
723
|
};
|
|
724
724
|
protoOf(GameErrorReason).equals = function (other) {
|
|
725
725
|
if (this === other)
|
|
@@ -727,12 +727,12 @@
|
|
|
727
727
|
if (!(other instanceof GameErrorReason))
|
|
728
728
|
return false;
|
|
729
729
|
var tmp0_other_with_cast = other instanceof GameErrorReason ? other : THROW_CCE();
|
|
730
|
-
if (!(this.
|
|
730
|
+
if (!(this.j2f_1 === tmp0_other_with_cast.j2f_1))
|
|
731
731
|
return false;
|
|
732
732
|
return true;
|
|
733
733
|
};
|
|
734
734
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
735
|
-
return $this.
|
|
735
|
+
return $this.k2f_1.j1();
|
|
736
736
|
}
|
|
737
737
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
738
738
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -745,13 +745,13 @@
|
|
|
745
745
|
Companion_instance_3 = this;
|
|
746
746
|
var tmp = this;
|
|
747
747
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
748
|
-
tmp.
|
|
748
|
+
tmp.k2f_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
749
749
|
}
|
|
750
|
-
protoOf(Companion_3).
|
|
750
|
+
protoOf(Companion_3).y1y = function () {
|
|
751
751
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
752
752
|
};
|
|
753
|
-
protoOf(Companion_3).
|
|
754
|
-
return this.
|
|
753
|
+
protoOf(Companion_3).n1n = function (typeParamsSerializers) {
|
|
754
|
+
return this.y1y();
|
|
755
755
|
};
|
|
756
756
|
var Companion_instance_3;
|
|
757
757
|
function Companion_getInstance_4() {
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
var tmp = this;
|
|
783
783
|
var tmp$ret$2;
|
|
784
784
|
// Inline function 'kotlin.arrayOf' call
|
|
785
|
-
var tmp0_arrayOf = [Companion_getInstance_4().
|
|
785
|
+
var tmp0_arrayOf = [Companion_getInstance_4().y1y()];
|
|
786
786
|
var tmp$ret$1;
|
|
787
787
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
788
788
|
var tmp$ret$0;
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
tmp$ret$0 = tmp0_arrayOf;
|
|
791
791
|
tmp$ret$1 = tmp$ret$0;
|
|
792
792
|
tmp$ret$2 = tmp$ret$1;
|
|
793
|
-
tmp.
|
|
793
|
+
tmp.l2f_1 = tmp$ret$2;
|
|
794
794
|
}
|
|
795
795
|
var Companion_instance_4;
|
|
796
796
|
function Companion_getInstance_5() {
|
|
@@ -801,14 +801,14 @@
|
|
|
801
801
|
function $serializer_1() {
|
|
802
802
|
$serializer_instance_1 = this;
|
|
803
803
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
804
|
-
tmp0_serialDesc.
|
|
805
|
-
this.
|
|
804
|
+
tmp0_serialDesc.n1m('reason', true);
|
|
805
|
+
this.m2f_1 = tmp0_serialDesc;
|
|
806
806
|
}
|
|
807
|
-
protoOf($serializer_1).
|
|
808
|
-
return this.
|
|
807
|
+
protoOf($serializer_1).b1c = function () {
|
|
808
|
+
return this.m2f_1;
|
|
809
809
|
};
|
|
810
|
-
protoOf($serializer_1).
|
|
811
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
810
|
+
protoOf($serializer_1).c1n = function () {
|
|
811
|
+
var tmp0_cached = Companion_getInstance_5().l2f_1;
|
|
812
812
|
var tmp$ret$2;
|
|
813
813
|
// Inline function 'kotlin.arrayOf' call
|
|
814
814
|
var tmp0_arrayOf = [get_nullable(tmp0_cached[0])];
|
|
@@ -821,46 +821,46 @@
|
|
|
821
821
|
tmp$ret$2 = tmp$ret$1;
|
|
822
822
|
return tmp$ret$2;
|
|
823
823
|
};
|
|
824
|
-
protoOf($serializer_1).
|
|
825
|
-
var tmp0_desc = this.
|
|
824
|
+
protoOf($serializer_1).d1c = function (decoder) {
|
|
825
|
+
var tmp0_desc = this.m2f_1;
|
|
826
826
|
var tmp1_flag = true;
|
|
827
827
|
var tmp2_index = 0;
|
|
828
828
|
var tmp3_bitMask0 = 0;
|
|
829
829
|
var tmp4_local0 = null;
|
|
830
|
-
var tmp5_input = decoder.
|
|
831
|
-
var tmp6_cached = Companion_getInstance_5().
|
|
832
|
-
if (tmp5_input.
|
|
833
|
-
tmp4_local0 = tmp5_input.
|
|
830
|
+
var tmp5_input = decoder.i1f(tmp0_desc);
|
|
831
|
+
var tmp6_cached = Companion_getInstance_5().l2f_1;
|
|
832
|
+
if (tmp5_input.y1f()) {
|
|
833
|
+
tmp4_local0 = tmp5_input.w1f(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
834
834
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
835
835
|
} else
|
|
836
836
|
while (tmp1_flag) {
|
|
837
|
-
tmp2_index = tmp5_input.
|
|
837
|
+
tmp2_index = tmp5_input.z1f(tmp0_desc);
|
|
838
838
|
switch (tmp2_index) {
|
|
839
839
|
case -1:
|
|
840
840
|
tmp1_flag = false;
|
|
841
841
|
break;
|
|
842
842
|
case 0:
|
|
843
|
-
tmp4_local0 = tmp5_input.
|
|
843
|
+
tmp4_local0 = tmp5_input.w1f(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
844
844
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
845
845
|
break;
|
|
846
846
|
default:
|
|
847
847
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
|
-
tmp5_input.
|
|
850
|
+
tmp5_input.j1f(tmp0_desc);
|
|
851
851
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
852
852
|
};
|
|
853
|
-
protoOf($serializer_1).
|
|
854
|
-
var tmp0_desc = this.
|
|
855
|
-
var tmp1_output = encoder.
|
|
856
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
857
|
-
if (tmp1_output.
|
|
858
|
-
tmp1_output.
|
|
853
|
+
protoOf($serializer_1).n2f = function (encoder, value) {
|
|
854
|
+
var tmp0_desc = this.m2f_1;
|
|
855
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
856
|
+
var tmp2_cached = Companion_getInstance_5().l2f_1;
|
|
857
|
+
if (tmp1_output.f1h(tmp0_desc, 0) ? true : !(value.o2f_1 == null)) {
|
|
858
|
+
tmp1_output.b1h(tmp0_desc, 0, tmp2_cached[0], value.o2f_1);
|
|
859
859
|
}
|
|
860
|
-
tmp1_output.
|
|
860
|
+
tmp1_output.j1f(tmp0_desc);
|
|
861
861
|
};
|
|
862
|
-
protoOf($serializer_1).
|
|
863
|
-
return this.
|
|
862
|
+
protoOf($serializer_1).c1c = function (encoder, value) {
|
|
863
|
+
return this.n2f(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
864
864
|
};
|
|
865
865
|
var $serializer_instance_1;
|
|
866
866
|
function $serializer_getInstance_1() {
|
|
@@ -870,13 +870,13 @@
|
|
|
870
870
|
}
|
|
871
871
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
872
872
|
if (!(0 === (0 & seen1))) {
|
|
873
|
-
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().
|
|
873
|
+
throwMissingFieldException(seen1, 0, $serializer_getInstance_1().m2f_1);
|
|
874
874
|
}
|
|
875
875
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
876
876
|
if (0 === (seen1 & 1))
|
|
877
|
-
$this.
|
|
877
|
+
$this.o2f_1 = null;
|
|
878
878
|
else
|
|
879
|
-
$this.
|
|
879
|
+
$this.o2f_1 = reason;
|
|
880
880
|
return $this;
|
|
881
881
|
}
|
|
882
882
|
function GameFinishedReason_init_$Create$(seen1, reason, serializationConstructorMarker) {
|
|
@@ -902,13 +902,13 @@
|
|
|
902
902
|
Companion_getInstance_5();
|
|
903
903
|
reason = reason === VOID ? null : reason;
|
|
904
904
|
TerminationGameReason.call(this);
|
|
905
|
-
this.
|
|
905
|
+
this.o2f_1 = reason;
|
|
906
906
|
}
|
|
907
907
|
protoOf(GameFinishedReason).toString = function () {
|
|
908
|
-
return 'GameFinishedReason(reason=' + this.
|
|
908
|
+
return 'GameFinishedReason(reason=' + this.o2f_1 + ')';
|
|
909
909
|
};
|
|
910
910
|
protoOf(GameFinishedReason).hashCode = function () {
|
|
911
|
-
return this.
|
|
911
|
+
return this.o2f_1 == null ? 0 : this.o2f_1.hashCode();
|
|
912
912
|
};
|
|
913
913
|
protoOf(GameFinishedReason).equals = function (other) {
|
|
914
914
|
if (this === other)
|
|
@@ -916,7 +916,7 @@
|
|
|
916
916
|
if (!(other instanceof GameFinishedReason))
|
|
917
917
|
return false;
|
|
918
918
|
var tmp0_other_with_cast = other instanceof GameFinishedReason ? other : THROW_CCE();
|
|
919
|
-
if (!equals(this.
|
|
919
|
+
if (!equals(this.o2f_1, tmp0_other_with_cast.o2f_1))
|
|
920
920
|
return false;
|
|
921
921
|
return true;
|
|
922
922
|
};
|
|
@@ -932,13 +932,13 @@
|
|
|
932
932
|
function $serializer_2() {
|
|
933
933
|
$serializer_instance_2 = this;
|
|
934
934
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
935
|
-
tmp0_serialDesc.
|
|
936
|
-
this.
|
|
935
|
+
tmp0_serialDesc.n1m('playerId', false);
|
|
936
|
+
this.p2f_1 = tmp0_serialDesc;
|
|
937
937
|
}
|
|
938
|
-
protoOf($serializer_2).
|
|
939
|
-
return this.
|
|
938
|
+
protoOf($serializer_2).b1c = function () {
|
|
939
|
+
return this.p2f_1;
|
|
940
940
|
};
|
|
941
|
-
protoOf($serializer_2).
|
|
941
|
+
protoOf($serializer_2).c1n = function () {
|
|
942
942
|
var tmp$ret$2;
|
|
943
943
|
// Inline function 'kotlin.arrayOf' call
|
|
944
944
|
var tmp0_arrayOf = [StringSerializer_getInstance()];
|
|
@@ -951,42 +951,42 @@
|
|
|
951
951
|
tmp$ret$2 = tmp$ret$1;
|
|
952
952
|
return tmp$ret$2;
|
|
953
953
|
};
|
|
954
|
-
protoOf($serializer_2).
|
|
955
|
-
var tmp0_desc = this.
|
|
954
|
+
protoOf($serializer_2).d1c = function (decoder) {
|
|
955
|
+
var tmp0_desc = this.p2f_1;
|
|
956
956
|
var tmp1_flag = true;
|
|
957
957
|
var tmp2_index = 0;
|
|
958
958
|
var tmp3_bitMask0 = 0;
|
|
959
959
|
var tmp4_local0 = null;
|
|
960
|
-
var tmp5_input = decoder.
|
|
961
|
-
if (tmp5_input.
|
|
962
|
-
tmp4_local0 = tmp5_input.
|
|
960
|
+
var tmp5_input = decoder.i1f(tmp0_desc);
|
|
961
|
+
if (tmp5_input.y1f()) {
|
|
962
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
963
963
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
964
964
|
} else
|
|
965
965
|
while (tmp1_flag) {
|
|
966
|
-
tmp2_index = tmp5_input.
|
|
966
|
+
tmp2_index = tmp5_input.z1f(tmp0_desc);
|
|
967
967
|
switch (tmp2_index) {
|
|
968
968
|
case -1:
|
|
969
969
|
tmp1_flag = false;
|
|
970
970
|
break;
|
|
971
971
|
case 0:
|
|
972
|
-
tmp4_local0 = tmp5_input.
|
|
972
|
+
tmp4_local0 = tmp5_input.s1f(tmp0_desc, 0);
|
|
973
973
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
974
974
|
break;
|
|
975
975
|
default:
|
|
976
976
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
|
-
tmp5_input.
|
|
979
|
+
tmp5_input.j1f(tmp0_desc);
|
|
980
980
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
981
981
|
};
|
|
982
|
-
protoOf($serializer_2).
|
|
983
|
-
var tmp0_desc = this.
|
|
984
|
-
var tmp1_output = encoder.
|
|
985
|
-
tmp1_output.
|
|
986
|
-
tmp1_output.
|
|
982
|
+
protoOf($serializer_2).q2f = function (encoder, value) {
|
|
983
|
+
var tmp0_desc = this.p2f_1;
|
|
984
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
985
|
+
tmp1_output.x1g(tmp0_desc, 0, value.r2f_1);
|
|
986
|
+
tmp1_output.j1f(tmp0_desc);
|
|
987
987
|
};
|
|
988
|
-
protoOf($serializer_2).
|
|
989
|
-
return this.
|
|
988
|
+
protoOf($serializer_2).c1c = function (encoder, value) {
|
|
989
|
+
return this.q2f(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
990
990
|
};
|
|
991
991
|
var $serializer_instance_2;
|
|
992
992
|
function $serializer_getInstance_2() {
|
|
@@ -996,10 +996,10 @@
|
|
|
996
996
|
}
|
|
997
997
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
998
998
|
if (!(1 === (1 & seen1))) {
|
|
999
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
999
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().p2f_1);
|
|
1000
1000
|
}
|
|
1001
1001
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1002
|
-
$this.
|
|
1002
|
+
$this.r2f_1 = playerId;
|
|
1003
1003
|
return $this;
|
|
1004
1004
|
}
|
|
1005
1005
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1008,16 +1008,16 @@
|
|
|
1008
1008
|
function PlayerExitReason(playerId) {
|
|
1009
1009
|
Companion_getInstance_6();
|
|
1010
1010
|
TerminationGameReason.call(this);
|
|
1011
|
-
this.
|
|
1011
|
+
this.r2f_1 = playerId;
|
|
1012
1012
|
}
|
|
1013
|
-
protoOf(PlayerExitReason).
|
|
1014
|
-
return this.
|
|
1013
|
+
protoOf(PlayerExitReason).s2f = function () {
|
|
1014
|
+
return this.r2f_1;
|
|
1015
1015
|
};
|
|
1016
1016
|
protoOf(PlayerExitReason).toString = function () {
|
|
1017
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1017
|
+
return 'PlayerExitReason(playerId=' + this.r2f_1 + ')';
|
|
1018
1018
|
};
|
|
1019
1019
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1020
|
-
return getStringHashCode(this.
|
|
1020
|
+
return getStringHashCode(this.r2f_1);
|
|
1021
1021
|
};
|
|
1022
1022
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1023
1023
|
if (this === other)
|
|
@@ -1025,7 +1025,7 @@
|
|
|
1025
1025
|
if (!(other instanceof PlayerExitReason))
|
|
1026
1026
|
return false;
|
|
1027
1027
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1028
|
-
if (!(this.
|
|
1028
|
+
if (!(this.r2f_1 === tmp0_other_with_cast.r2f_1))
|
|
1029
1029
|
return false;
|
|
1030
1030
|
return true;
|
|
1031
1031
|
};
|
|
@@ -1041,14 +1041,14 @@
|
|
|
1041
1041
|
function $serializer_3() {
|
|
1042
1042
|
$serializer_instance_3 = this;
|
|
1043
1043
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
1044
|
-
tmp0_serialDesc.
|
|
1045
|
-
tmp0_serialDesc.
|
|
1046
|
-
this.
|
|
1044
|
+
tmp0_serialDesc.n1m('playerId', false);
|
|
1045
|
+
tmp0_serialDesc.n1m('tag', false);
|
|
1046
|
+
this.t2f_1 = tmp0_serialDesc;
|
|
1047
1047
|
}
|
|
1048
|
-
protoOf($serializer_3).
|
|
1049
|
-
return this.
|
|
1048
|
+
protoOf($serializer_3).b1c = function () {
|
|
1049
|
+
return this.t2f_1;
|
|
1050
1050
|
};
|
|
1051
|
-
protoOf($serializer_3).
|
|
1051
|
+
protoOf($serializer_3).c1n = function () {
|
|
1052
1052
|
var tmp$ret$2;
|
|
1053
1053
|
// Inline function 'kotlin.arrayOf' call
|
|
1054
1054
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -1061,50 +1061,50 @@
|
|
|
1061
1061
|
tmp$ret$2 = tmp$ret$1;
|
|
1062
1062
|
return tmp$ret$2;
|
|
1063
1063
|
};
|
|
1064
|
-
protoOf($serializer_3).
|
|
1065
|
-
var tmp0_desc = this.
|
|
1064
|
+
protoOf($serializer_3).d1c = function (decoder) {
|
|
1065
|
+
var tmp0_desc = this.t2f_1;
|
|
1066
1066
|
var tmp1_flag = true;
|
|
1067
1067
|
var tmp2_index = 0;
|
|
1068
1068
|
var tmp3_bitMask0 = 0;
|
|
1069
1069
|
var tmp4_local0 = null;
|
|
1070
1070
|
var tmp5_local1 = null;
|
|
1071
|
-
var tmp6_input = decoder.
|
|
1072
|
-
if (tmp6_input.
|
|
1073
|
-
tmp4_local0 = tmp6_input.
|
|
1071
|
+
var tmp6_input = decoder.i1f(tmp0_desc);
|
|
1072
|
+
if (tmp6_input.y1f()) {
|
|
1073
|
+
tmp4_local0 = tmp6_input.s1f(tmp0_desc, 0);
|
|
1074
1074
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1075
|
-
tmp5_local1 = tmp6_input.
|
|
1075
|
+
tmp5_local1 = tmp6_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1076
1076
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1077
1077
|
} else
|
|
1078
1078
|
while (tmp1_flag) {
|
|
1079
|
-
tmp2_index = tmp6_input.
|
|
1079
|
+
tmp2_index = tmp6_input.z1f(tmp0_desc);
|
|
1080
1080
|
switch (tmp2_index) {
|
|
1081
1081
|
case -1:
|
|
1082
1082
|
tmp1_flag = false;
|
|
1083
1083
|
break;
|
|
1084
1084
|
case 0:
|
|
1085
|
-
tmp4_local0 = tmp6_input.
|
|
1085
|
+
tmp4_local0 = tmp6_input.s1f(tmp0_desc, 0);
|
|
1086
1086
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1087
1087
|
break;
|
|
1088
1088
|
case 1:
|
|
1089
|
-
tmp5_local1 = tmp6_input.
|
|
1089
|
+
tmp5_local1 = tmp6_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1090
1090
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1091
1091
|
break;
|
|
1092
1092
|
default:
|
|
1093
1093
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
|
-
tmp6_input.
|
|
1096
|
+
tmp6_input.j1f(tmp0_desc);
|
|
1097
1097
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1098
1098
|
};
|
|
1099
|
-
protoOf($serializer_3).
|
|
1100
|
-
var tmp0_desc = this.
|
|
1101
|
-
var tmp1_output = encoder.
|
|
1102
|
-
tmp1_output.
|
|
1103
|
-
tmp1_output.
|
|
1104
|
-
tmp1_output.
|
|
1099
|
+
protoOf($serializer_3).u2f = function (encoder, value) {
|
|
1100
|
+
var tmp0_desc = this.t2f_1;
|
|
1101
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
1102
|
+
tmp1_output.x1g(tmp0_desc, 0, value.v2f_1);
|
|
1103
|
+
tmp1_output.b1h(tmp0_desc, 1, StringSerializer_getInstance(), value.w2f_1);
|
|
1104
|
+
tmp1_output.j1f(tmp0_desc);
|
|
1105
1105
|
};
|
|
1106
|
-
protoOf($serializer_3).
|
|
1107
|
-
return this.
|
|
1106
|
+
protoOf($serializer_3).c1c = function (encoder, value) {
|
|
1107
|
+
return this.u2f(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
1108
1108
|
};
|
|
1109
1109
|
var $serializer_instance_3;
|
|
1110
1110
|
function $serializer_getInstance_3() {
|
|
@@ -1114,11 +1114,11 @@
|
|
|
1114
1114
|
}
|
|
1115
1115
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1116
1116
|
if (!(3 === (3 & seen1))) {
|
|
1117
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().
|
|
1117
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_3().t2f_1);
|
|
1118
1118
|
}
|
|
1119
1119
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1120
|
-
$this.
|
|
1121
|
-
$this.
|
|
1120
|
+
$this.v2f_1 = playerId;
|
|
1121
|
+
$this.w2f_1 = tag;
|
|
1122
1122
|
return $this;
|
|
1123
1123
|
}
|
|
1124
1124
|
function PlayerLostConnectionReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1127,18 +1127,18 @@
|
|
|
1127
1127
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
1128
1128
|
Companion_getInstance_7();
|
|
1129
1129
|
TerminationGameReason.call(this);
|
|
1130
|
-
this.
|
|
1131
|
-
this.
|
|
1130
|
+
this.v2f_1 = playerId;
|
|
1131
|
+
this.w2f_1 = tag;
|
|
1132
1132
|
}
|
|
1133
|
-
protoOf(PlayerLostConnectionReason).
|
|
1134
|
-
return this.
|
|
1133
|
+
protoOf(PlayerLostConnectionReason).s2f = function () {
|
|
1134
|
+
return this.v2f_1;
|
|
1135
1135
|
};
|
|
1136
1136
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
1137
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
1137
|
+
return 'PlayerLostConnectionReason(playerId=' + this.v2f_1 + ', tag=' + this.w2f_1 + ')';
|
|
1138
1138
|
};
|
|
1139
1139
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
1140
|
-
var result = getStringHashCode(this.
|
|
1141
|
-
result = imul(result, 31) + (this.
|
|
1140
|
+
var result = getStringHashCode(this.v2f_1);
|
|
1141
|
+
result = imul(result, 31) + (this.w2f_1 == null ? 0 : getStringHashCode(this.w2f_1)) | 0;
|
|
1142
1142
|
return result;
|
|
1143
1143
|
};
|
|
1144
1144
|
protoOf(PlayerLostConnectionReason).equals = function (other) {
|
|
@@ -1147,9 +1147,9 @@
|
|
|
1147
1147
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
1148
1148
|
return false;
|
|
1149
1149
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
1150
|
-
if (!(this.
|
|
1150
|
+
if (!(this.v2f_1 === tmp0_other_with_cast.v2f_1))
|
|
1151
1151
|
return false;
|
|
1152
|
-
if (!(this.
|
|
1152
|
+
if (!(this.w2f_1 == tmp0_other_with_cast.w2f_1))
|
|
1153
1153
|
return false;
|
|
1154
1154
|
return true;
|
|
1155
1155
|
};
|
|
@@ -1165,14 +1165,14 @@
|
|
|
1165
1165
|
function $serializer_4() {
|
|
1166
1166
|
$serializer_instance_4 = this;
|
|
1167
1167
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
1168
|
-
tmp0_serialDesc.
|
|
1169
|
-
tmp0_serialDesc.
|
|
1170
|
-
this.
|
|
1168
|
+
tmp0_serialDesc.n1m('playerId', false);
|
|
1169
|
+
tmp0_serialDesc.n1m('tag', false);
|
|
1170
|
+
this.x2f_1 = tmp0_serialDesc;
|
|
1171
1171
|
}
|
|
1172
|
-
protoOf($serializer_4).
|
|
1173
|
-
return this.
|
|
1172
|
+
protoOf($serializer_4).b1c = function () {
|
|
1173
|
+
return this.x2f_1;
|
|
1174
1174
|
};
|
|
1175
|
-
protoOf($serializer_4).
|
|
1175
|
+
protoOf($serializer_4).c1n = function () {
|
|
1176
1176
|
var tmp$ret$2;
|
|
1177
1177
|
// Inline function 'kotlin.arrayOf' call
|
|
1178
1178
|
var tmp0_arrayOf = [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -1185,50 +1185,50 @@
|
|
|
1185
1185
|
tmp$ret$2 = tmp$ret$1;
|
|
1186
1186
|
return tmp$ret$2;
|
|
1187
1187
|
};
|
|
1188
|
-
protoOf($serializer_4).
|
|
1189
|
-
var tmp0_desc = this.
|
|
1188
|
+
protoOf($serializer_4).d1c = function (decoder) {
|
|
1189
|
+
var tmp0_desc = this.x2f_1;
|
|
1190
1190
|
var tmp1_flag = true;
|
|
1191
1191
|
var tmp2_index = 0;
|
|
1192
1192
|
var tmp3_bitMask0 = 0;
|
|
1193
1193
|
var tmp4_local0 = null;
|
|
1194
1194
|
var tmp5_local1 = null;
|
|
1195
|
-
var tmp6_input = decoder.
|
|
1196
|
-
if (tmp6_input.
|
|
1197
|
-
tmp4_local0 = tmp6_input.
|
|
1195
|
+
var tmp6_input = decoder.i1f(tmp0_desc);
|
|
1196
|
+
if (tmp6_input.y1f()) {
|
|
1197
|
+
tmp4_local0 = tmp6_input.s1f(tmp0_desc, 0);
|
|
1198
1198
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1199
|
-
tmp5_local1 = tmp6_input.
|
|
1199
|
+
tmp5_local1 = tmp6_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1200
1200
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1201
1201
|
} else
|
|
1202
1202
|
while (tmp1_flag) {
|
|
1203
|
-
tmp2_index = tmp6_input.
|
|
1203
|
+
tmp2_index = tmp6_input.z1f(tmp0_desc);
|
|
1204
1204
|
switch (tmp2_index) {
|
|
1205
1205
|
case -1:
|
|
1206
1206
|
tmp1_flag = false;
|
|
1207
1207
|
break;
|
|
1208
1208
|
case 0:
|
|
1209
|
-
tmp4_local0 = tmp6_input.
|
|
1209
|
+
tmp4_local0 = tmp6_input.s1f(tmp0_desc, 0);
|
|
1210
1210
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1211
1211
|
break;
|
|
1212
1212
|
case 1:
|
|
1213
|
-
tmp5_local1 = tmp6_input.
|
|
1213
|
+
tmp5_local1 = tmp6_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1214
1214
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1215
1215
|
break;
|
|
1216
1216
|
default:
|
|
1217
1217
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
|
-
tmp6_input.
|
|
1220
|
+
tmp6_input.j1f(tmp0_desc);
|
|
1221
1221
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1222
1222
|
};
|
|
1223
|
-
protoOf($serializer_4).
|
|
1224
|
-
var tmp0_desc = this.
|
|
1225
|
-
var tmp1_output = encoder.
|
|
1226
|
-
tmp1_output.
|
|
1227
|
-
tmp1_output.
|
|
1228
|
-
tmp1_output.
|
|
1223
|
+
protoOf($serializer_4).y2f = function (encoder, value) {
|
|
1224
|
+
var tmp0_desc = this.x2f_1;
|
|
1225
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
1226
|
+
tmp1_output.x1g(tmp0_desc, 0, value.z2f_1);
|
|
1227
|
+
tmp1_output.b1h(tmp0_desc, 1, StringSerializer_getInstance(), value.a2g_1);
|
|
1228
|
+
tmp1_output.j1f(tmp0_desc);
|
|
1229
1229
|
};
|
|
1230
|
-
protoOf($serializer_4).
|
|
1231
|
-
return this.
|
|
1230
|
+
protoOf($serializer_4).c1c = function (encoder, value) {
|
|
1231
|
+
return this.y2f(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
1232
1232
|
};
|
|
1233
1233
|
var $serializer_instance_4;
|
|
1234
1234
|
function $serializer_getInstance_4() {
|
|
@@ -1238,11 +1238,11 @@
|
|
|
1238
1238
|
}
|
|
1239
1239
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
1240
1240
|
if (!(3 === (3 & seen1))) {
|
|
1241
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().
|
|
1241
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_4().x2f_1);
|
|
1242
1242
|
}
|
|
1243
1243
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1244
|
-
$this.
|
|
1245
|
-
$this.
|
|
1244
|
+
$this.z2f_1 = playerId;
|
|
1245
|
+
$this.a2g_1 = tag;
|
|
1246
1246
|
return $this;
|
|
1247
1247
|
}
|
|
1248
1248
|
function PlayerTimeoutReason_init_$Create$(seen1, playerId, tag, serializationConstructorMarker) {
|
|
@@ -1251,18 +1251,18 @@
|
|
|
1251
1251
|
function PlayerTimeoutReason(playerId, tag) {
|
|
1252
1252
|
Companion_getInstance_8();
|
|
1253
1253
|
TerminationGameReason.call(this);
|
|
1254
|
-
this.
|
|
1255
|
-
this.
|
|
1254
|
+
this.z2f_1 = playerId;
|
|
1255
|
+
this.a2g_1 = tag;
|
|
1256
1256
|
}
|
|
1257
|
-
protoOf(PlayerTimeoutReason).
|
|
1258
|
-
return this.
|
|
1257
|
+
protoOf(PlayerTimeoutReason).s2f = function () {
|
|
1258
|
+
return this.z2f_1;
|
|
1259
1259
|
};
|
|
1260
1260
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
1261
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
1261
|
+
return 'PlayerTimeoutReason(playerId=' + this.z2f_1 + ', tag=' + this.a2g_1 + ')';
|
|
1262
1262
|
};
|
|
1263
1263
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
1264
|
-
var result = getStringHashCode(this.
|
|
1265
|
-
result = imul(result, 31) + (this.
|
|
1264
|
+
var result = getStringHashCode(this.z2f_1);
|
|
1265
|
+
result = imul(result, 31) + (this.a2g_1 == null ? 0 : getStringHashCode(this.a2g_1)) | 0;
|
|
1266
1266
|
return result;
|
|
1267
1267
|
};
|
|
1268
1268
|
protoOf(PlayerTimeoutReason).equals = function (other) {
|
|
@@ -1271,14 +1271,14 @@
|
|
|
1271
1271
|
if (!(other instanceof PlayerTimeoutReason))
|
|
1272
1272
|
return false;
|
|
1273
1273
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
1274
|
-
if (!(this.
|
|
1274
|
+
if (!(this.z2f_1 === tmp0_other_with_cast.z2f_1))
|
|
1275
1275
|
return false;
|
|
1276
|
-
if (!(this.
|
|
1276
|
+
if (!(this.a2g_1 == tmp0_other_with_cast.a2g_1))
|
|
1277
1277
|
return false;
|
|
1278
1278
|
return true;
|
|
1279
1279
|
};
|
|
1280
1280
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1281
|
-
return $this.
|
|
1281
|
+
return $this.b2g_1.j1();
|
|
1282
1282
|
}
|
|
1283
1283
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1284
1284
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1298,16 +1298,16 @@
|
|
|
1298
1298
|
TerminationGameReason.call(this);
|
|
1299
1299
|
var tmp = this;
|
|
1300
1300
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1301
|
-
tmp.
|
|
1301
|
+
tmp.b2g_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1302
1302
|
}
|
|
1303
1303
|
protoOf(ProcessingReason).toString = function () {
|
|
1304
1304
|
return 'ProcessingReason';
|
|
1305
1305
|
};
|
|
1306
|
-
protoOf(ProcessingReason).
|
|
1306
|
+
protoOf(ProcessingReason).y1y = function () {
|
|
1307
1307
|
return _get_$cachedSerializer__te6jhj_3(this);
|
|
1308
1308
|
};
|
|
1309
|
-
protoOf(ProcessingReason).
|
|
1310
|
-
return this.
|
|
1309
|
+
protoOf(ProcessingReason).n1n = function (typeParamsSerializers) {
|
|
1310
|
+
return this.y1y();
|
|
1311
1311
|
};
|
|
1312
1312
|
var ProcessingReason_instance;
|
|
1313
1313
|
function ProcessingReason_getInstance() {
|
|
@@ -1316,7 +1316,7 @@
|
|
|
1316
1316
|
return ProcessingReason_instance;
|
|
1317
1317
|
}
|
|
1318
1318
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1319
|
-
return $this.
|
|
1319
|
+
return $this.c2g_1.j1();
|
|
1320
1320
|
}
|
|
1321
1321
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1322
1322
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1336,16 +1336,16 @@
|
|
|
1336
1336
|
TerminationGameReason.call(this);
|
|
1337
1337
|
var tmp = this;
|
|
1338
1338
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1339
|
-
tmp.
|
|
1339
|
+
tmp.c2g_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1340
1340
|
}
|
|
1341
1341
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1342
1342
|
return 'WaitingForConnectionReason';
|
|
1343
1343
|
};
|
|
1344
|
-
protoOf(WaitingForConnectionReason).
|
|
1344
|
+
protoOf(WaitingForConnectionReason).y1y = function () {
|
|
1345
1345
|
return _get_$cachedSerializer__te6jhj_4(this);
|
|
1346
1346
|
};
|
|
1347
|
-
protoOf(WaitingForConnectionReason).
|
|
1348
|
-
return this.
|
|
1347
|
+
protoOf(WaitingForConnectionReason).n1n = function (typeParamsSerializers) {
|
|
1348
|
+
return this.y1y();
|
|
1349
1349
|
};
|
|
1350
1350
|
var WaitingForConnectionReason_instance;
|
|
1351
1351
|
function WaitingForConnectionReason_getInstance() {
|
|
@@ -1363,29 +1363,29 @@
|
|
|
1363
1363
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
1364
1364
|
isBot = isBot === VOID ? false : isBot;
|
|
1365
1365
|
payload = payload === VOID ? null : payload;
|
|
1366
|
-
this.
|
|
1366
|
+
this.d2g_1 = playerId;
|
|
1367
1367
|
this.name = name;
|
|
1368
1368
|
this.avatarUrl = avatarUrl;
|
|
1369
1369
|
this.isBot = isBot;
|
|
1370
1370
|
this.payload = payload;
|
|
1371
1371
|
}
|
|
1372
|
-
protoOf(GameUserInfo).
|
|
1373
|
-
return this.
|
|
1372
|
+
protoOf(GameUserInfo).s2f = function () {
|
|
1373
|
+
return this.d2g_1;
|
|
1374
1374
|
};
|
|
1375
1375
|
protoOf(GameUserInfo).yg = function () {
|
|
1376
1376
|
return this.name;
|
|
1377
1377
|
};
|
|
1378
|
-
protoOf(GameUserInfo).
|
|
1378
|
+
protoOf(GameUserInfo).e2g = function () {
|
|
1379
1379
|
return this.avatarUrl;
|
|
1380
1380
|
};
|
|
1381
|
-
protoOf(GameUserInfo).
|
|
1381
|
+
protoOf(GameUserInfo).f2g = function () {
|
|
1382
1382
|
return this.isBot;
|
|
1383
1383
|
};
|
|
1384
|
-
protoOf(GameUserInfo).
|
|
1384
|
+
protoOf(GameUserInfo).g2g = function () {
|
|
1385
1385
|
return this.payload;
|
|
1386
1386
|
};
|
|
1387
1387
|
protoOf(GameUserInfo).y3 = function () {
|
|
1388
|
-
return this.
|
|
1388
|
+
return this.d2g_1;
|
|
1389
1389
|
};
|
|
1390
1390
|
protoOf(GameUserInfo).z3 = function () {
|
|
1391
1391
|
return this.name;
|
|
@@ -1393,28 +1393,28 @@
|
|
|
1393
1393
|
protoOf(GameUserInfo).i9 = function () {
|
|
1394
1394
|
return this.avatarUrl;
|
|
1395
1395
|
};
|
|
1396
|
-
protoOf(GameUserInfo).
|
|
1396
|
+
protoOf(GameUserInfo).h2g = function () {
|
|
1397
1397
|
return this.isBot;
|
|
1398
1398
|
};
|
|
1399
|
-
protoOf(GameUserInfo).
|
|
1399
|
+
protoOf(GameUserInfo).i2g = function () {
|
|
1400
1400
|
return this.payload;
|
|
1401
1401
|
};
|
|
1402
|
-
protoOf(GameUserInfo).
|
|
1402
|
+
protoOf(GameUserInfo).j2g = function (playerId, name, avatarUrl, isBot, payload) {
|
|
1403
1403
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, payload);
|
|
1404
1404
|
};
|
|
1405
1405
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, payload, $super) {
|
|
1406
|
-
playerId = playerId === VOID ? this.
|
|
1406
|
+
playerId = playerId === VOID ? this.d2g_1 : playerId;
|
|
1407
1407
|
name = name === VOID ? this.name : name;
|
|
1408
1408
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1409
1409
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1410
1410
|
payload = payload === VOID ? this.payload : payload;
|
|
1411
|
-
return this.
|
|
1411
|
+
return this.j2g(playerId, name, avatarUrl, isBot, payload);
|
|
1412
1412
|
};
|
|
1413
1413
|
protoOf(GameUserInfo).toString = function () {
|
|
1414
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1414
|
+
return 'GameUserInfo(playerId=' + this.d2g_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', payload=' + toString(this.payload) + ')';
|
|
1415
1415
|
};
|
|
1416
1416
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1417
|
-
var result = getStringHashCode(this.
|
|
1417
|
+
var result = getStringHashCode(this.d2g_1);
|
|
1418
1418
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1419
1419
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1420
1420
|
result = imul(result, 31) + (this.isBot | 0) | 0;
|
|
@@ -1427,7 +1427,7 @@
|
|
|
1427
1427
|
if (!(other instanceof GameUserInfo))
|
|
1428
1428
|
return false;
|
|
1429
1429
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1430
|
-
if (!(this.
|
|
1430
|
+
if (!(this.d2g_1 === tmp0_other_with_cast.d2g_1))
|
|
1431
1431
|
return false;
|
|
1432
1432
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1433
1433
|
return false;
|
|
@@ -1440,7 +1440,7 @@
|
|
|
1440
1440
|
return true;
|
|
1441
1441
|
};
|
|
1442
1442
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
1443
|
-
return this.
|
|
1443
|
+
return this.s2f();
|
|
1444
1444
|
});
|
|
1445
1445
|
function get_byIdPlayerPredicate() {
|
|
1446
1446
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1512,18 +1512,18 @@
|
|
|
1512
1512
|
return tmp$ret$1;
|
|
1513
1513
|
}
|
|
1514
1514
|
function PlayerIndex(playerId, index) {
|
|
1515
|
-
this.
|
|
1516
|
-
this.
|
|
1515
|
+
this.m2g_1 = playerId;
|
|
1516
|
+
this.n2g_1 = index;
|
|
1517
1517
|
}
|
|
1518
|
-
protoOf(PlayerIndex).
|
|
1519
|
-
return this.
|
|
1518
|
+
protoOf(PlayerIndex).s2f = function () {
|
|
1519
|
+
return this.m2g_1;
|
|
1520
1520
|
};
|
|
1521
1521
|
protoOf(PlayerIndex).toString = function () {
|
|
1522
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1522
|
+
return 'PlayerIndex(playerId=' + this.m2g_1 + ', index=' + this.n2g_1 + ')';
|
|
1523
1523
|
};
|
|
1524
1524
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1525
|
-
var result = getStringHashCode(this.
|
|
1526
|
-
result = imul(result, 31) + this.
|
|
1525
|
+
var result = getStringHashCode(this.m2g_1);
|
|
1526
|
+
result = imul(result, 31) + this.n2g_1 | 0;
|
|
1527
1527
|
return result;
|
|
1528
1528
|
};
|
|
1529
1529
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1532,14 +1532,14 @@
|
|
|
1532
1532
|
if (!(other instanceof PlayerIndex))
|
|
1533
1533
|
return false;
|
|
1534
1534
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1535
|
-
if (!(this.
|
|
1535
|
+
if (!(this.m2g_1 === tmp0_other_with_cast.m2g_1))
|
|
1536
1536
|
return false;
|
|
1537
|
-
if (!(this.
|
|
1537
|
+
if (!(this.n2g_1 === tmp0_other_with_cast.n2g_1))
|
|
1538
1538
|
return false;
|
|
1539
1539
|
return true;
|
|
1540
1540
|
};
|
|
1541
1541
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
1542
|
-
return this.
|
|
1542
|
+
return this.s2f();
|
|
1543
1543
|
});
|
|
1544
1544
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
1545
1545
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1575,7 +1575,7 @@
|
|
|
1575
1575
|
}
|
|
1576
1576
|
function playerTurnPredicate$lambda(p1) {
|
|
1577
1577
|
_init_properties_Player_kt__qi83pd();
|
|
1578
|
-
return p1.xj().
|
|
1578
|
+
return p1.xj().v2g();
|
|
1579
1579
|
}
|
|
1580
1580
|
var properties_initialized_Player_kt_56shkt;
|
|
1581
1581
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1587,7 +1587,7 @@
|
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
1589
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1590
|
-
return $this.
|
|
1590
|
+
return $this.w2g_1.j1();
|
|
1591
1591
|
}
|
|
1592
1592
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1593
1593
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1602,12 +1602,12 @@
|
|
|
1602
1602
|
Companion_instance_8 = this;
|
|
1603
1603
|
var tmp = this;
|
|
1604
1604
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1605
|
-
tmp.
|
|
1605
|
+
tmp.w2g_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1606
1606
|
}
|
|
1607
1607
|
protoOf(Companion_8).serializer = function () {
|
|
1608
1608
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1609
1609
|
};
|
|
1610
|
-
protoOf(Companion_8).
|
|
1610
|
+
protoOf(Companion_8).n1n = function (typeParamsSerializers) {
|
|
1611
1611
|
return this.serializer();
|
|
1612
1612
|
};
|
|
1613
1613
|
var Companion_instance_8;
|
|
@@ -1656,38 +1656,38 @@
|
|
|
1656
1656
|
function PlayerConnectionState(name, ordinal) {
|
|
1657
1657
|
Enum.call(this, name, ordinal);
|
|
1658
1658
|
}
|
|
1659
|
-
protoOf(PlayerConnectionState).
|
|
1659
|
+
protoOf(PlayerConnectionState).z2g = function () {
|
|
1660
1660
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1661
1661
|
};
|
|
1662
|
-
protoOf(PlayerConnectionState).
|
|
1662
|
+
protoOf(PlayerConnectionState).a2h = function () {
|
|
1663
1663
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1664
1664
|
};
|
|
1665
|
-
protoOf(PlayerConnectionState).
|
|
1665
|
+
protoOf(PlayerConnectionState).b2h = function () {
|
|
1666
1666
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1667
1667
|
};
|
|
1668
|
-
protoOf(PlayerConnectionState).
|
|
1668
|
+
protoOf(PlayerConnectionState).c2h = function () {
|
|
1669
1669
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1670
1670
|
};
|
|
1671
|
-
protoOf(PlayerConnectionState).
|
|
1671
|
+
protoOf(PlayerConnectionState).d2h = function () {
|
|
1672
1672
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1673
1673
|
};
|
|
1674
|
-
protoOf(PlayerConnectionState).
|
|
1674
|
+
protoOf(PlayerConnectionState).e2h = function () {
|
|
1675
1675
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1676
1676
|
};
|
|
1677
|
-
protoOf(PlayerConnectionState).
|
|
1677
|
+
protoOf(PlayerConnectionState).f2h = function () {
|
|
1678
1678
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1679
1679
|
};
|
|
1680
|
-
protoOf(PlayerConnectionState).
|
|
1680
|
+
protoOf(PlayerConnectionState).g2h = function () {
|
|
1681
1681
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1682
1682
|
};
|
|
1683
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
1684
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
1685
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
1686
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
1687
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
1688
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
1689
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
1690
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
1683
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).z2g);
|
|
1684
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).a2h);
|
|
1685
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).b2h);
|
|
1686
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).c2h);
|
|
1687
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).d2h);
|
|
1688
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).e2h);
|
|
1689
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).f2h);
|
|
1690
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).g2h);
|
|
1691
1691
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).yg);
|
|
1692
1692
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).zg);
|
|
1693
1693
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1715,7 +1715,7 @@
|
|
|
1715
1715
|
return PlayerConnectionState_DELETED_instance;
|
|
1716
1716
|
}
|
|
1717
1717
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1718
|
-
return $this.
|
|
1718
|
+
return $this.h2h_1.j1();
|
|
1719
1719
|
}
|
|
1720
1720
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1721
1721
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -1727,13 +1727,13 @@
|
|
|
1727
1727
|
Companion_instance_9 = this;
|
|
1728
1728
|
var tmp = this;
|
|
1729
1729
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1730
|
-
tmp.
|
|
1730
|
+
tmp.h2h_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1731
1731
|
}
|
|
1732
|
-
protoOf(Companion_9).
|
|
1732
|
+
protoOf(Companion_9).y1y = function () {
|
|
1733
1733
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
1734
1734
|
};
|
|
1735
|
-
protoOf(Companion_9).
|
|
1736
|
-
return this.
|
|
1735
|
+
protoOf(Companion_9).n1n = function (typeParamsSerializers) {
|
|
1736
|
+
return this.y1y();
|
|
1737
1737
|
};
|
|
1738
1738
|
var Companion_instance_9;
|
|
1739
1739
|
function Companion_getInstance_10() {
|
|
@@ -1758,26 +1758,26 @@
|
|
|
1758
1758
|
function PlayerWaitingState(name, ordinal) {
|
|
1759
1759
|
Enum.call(this, name, ordinal);
|
|
1760
1760
|
}
|
|
1761
|
-
protoOf(PlayerWaitingState).
|
|
1761
|
+
protoOf(PlayerWaitingState).k2h = function () {
|
|
1762
1762
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1763
1763
|
};
|
|
1764
|
-
protoOf(PlayerWaitingState).
|
|
1764
|
+
protoOf(PlayerWaitingState).l2h = function () {
|
|
1765
1765
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1766
1766
|
};
|
|
1767
1767
|
function Companion_10() {
|
|
1768
1768
|
Companion_instance_10 = this;
|
|
1769
1769
|
}
|
|
1770
|
-
protoOf(Companion_10).
|
|
1770
|
+
protoOf(Companion_10).m2h = function (connectionState) {
|
|
1771
1771
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1772
1772
|
return new PlayerState(null, null, null, tmp0_state, false, connectionState, null);
|
|
1773
1773
|
};
|
|
1774
|
-
protoOf(Companion_10).
|
|
1775
|
-
return _this__u8e3s4.
|
|
1774
|
+
protoOf(Companion_10).n2h = function (_this__u8e3s4) {
|
|
1775
|
+
return _this__u8e3s4.o2h(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, VOID, null);
|
|
1776
1776
|
};
|
|
1777
|
-
protoOf(Companion_10).
|
|
1778
|
-
var tmp0_startFromTime = System_getInstance().
|
|
1777
|
+
protoOf(Companion_10).p2h = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
1778
|
+
var tmp0_startFromTime = System_getInstance().g2e();
|
|
1779
1779
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
1780
|
-
return _this__u8e3s4.
|
|
1780
|
+
return _this__u8e3s4.o2h(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, VOID, tag);
|
|
1781
1781
|
};
|
|
1782
1782
|
var Companion_instance_10;
|
|
1783
1783
|
function Companion_getInstance_11() {
|
|
@@ -1800,18 +1800,18 @@
|
|
|
1800
1800
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1801
1801
|
Companion_getInstance_11();
|
|
1802
1802
|
tag = tag === VOID ? null : tag;
|
|
1803
|
-
this.
|
|
1804
|
-
this.
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1807
|
-
this.
|
|
1808
|
-
this.
|
|
1809
|
-
this.
|
|
1810
|
-
}
|
|
1811
|
-
protoOf(PlayerState).
|
|
1803
|
+
this.o2g_1 = startFromTime;
|
|
1804
|
+
this.p2g_1 = playerTurnTimeout;
|
|
1805
|
+
this.q2g_1 = waitPlayerUntilTime;
|
|
1806
|
+
this.r2g_1 = state;
|
|
1807
|
+
this.s2g_1 = ready;
|
|
1808
|
+
this.t2g_1 = connectionState;
|
|
1809
|
+
this.u2g_1 = tag;
|
|
1810
|
+
}
|
|
1811
|
+
protoOf(PlayerState).q2h = function () {
|
|
1812
1812
|
var tmp$ret$2;
|
|
1813
1813
|
// Inline function 'kotlin.requireNotNull' call
|
|
1814
|
-
var tmp0_requireNotNull = this.
|
|
1814
|
+
var tmp0_requireNotNull = this.u2g_1;
|
|
1815
1815
|
// Inline function 'kotlin.contracts.contract' call
|
|
1816
1816
|
var tmp$ret$1;
|
|
1817
1817
|
$l$block: {
|
|
@@ -1831,37 +1831,37 @@
|
|
|
1831
1831
|
tmp$ret$2 = tmp$ret$1;
|
|
1832
1832
|
return tmp$ret$2;
|
|
1833
1833
|
};
|
|
1834
|
-
protoOf(PlayerState).
|
|
1835
|
-
var tmp0_elvis_lhs = this.
|
|
1834
|
+
protoOf(PlayerState).r2h = function () {
|
|
1835
|
+
var tmp0_elvis_lhs = this.u2g_1;
|
|
1836
1836
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
1837
1837
|
};
|
|
1838
|
-
protoOf(PlayerState).
|
|
1839
|
-
return this.
|
|
1838
|
+
protoOf(PlayerState).v2g = function () {
|
|
1839
|
+
return this.r2g_1.k2h() ? true : this.r2g_1.l2h();
|
|
1840
1840
|
};
|
|
1841
|
-
protoOf(PlayerState).
|
|
1841
|
+
protoOf(PlayerState).s2h = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag) {
|
|
1842
1842
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1843
1843
|
};
|
|
1844
|
-
protoOf(PlayerState).
|
|
1845
|
-
startFromTime = startFromTime === VOID ? this.
|
|
1846
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
1847
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
1848
|
-
state = state === VOID ? this.
|
|
1849
|
-
ready = ready === VOID ? this.
|
|
1850
|
-
connectionState = connectionState === VOID ? this.
|
|
1851
|
-
tag = tag === VOID ? this.
|
|
1852
|
-
return $super === VOID ? this.
|
|
1844
|
+
protoOf(PlayerState).o2h = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag, $super) {
|
|
1845
|
+
startFromTime = startFromTime === VOID ? this.o2g_1 : startFromTime;
|
|
1846
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.p2g_1 : playerTurnTimeout;
|
|
1847
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.q2g_1 : waitPlayerUntilTime;
|
|
1848
|
+
state = state === VOID ? this.r2g_1 : state;
|
|
1849
|
+
ready = ready === VOID ? this.s2g_1 : ready;
|
|
1850
|
+
connectionState = connectionState === VOID ? this.t2g_1 : connectionState;
|
|
1851
|
+
tag = tag === VOID ? this.u2g_1 : tag;
|
|
1852
|
+
return $super === VOID ? this.s2h(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag) : $super.s2h.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, connectionState, tag);
|
|
1853
1853
|
};
|
|
1854
1854
|
protoOf(PlayerState).toString = function () {
|
|
1855
|
-
return 'PlayerState(startFromTime=' + this.
|
|
1855
|
+
return 'PlayerState(startFromTime=' + this.o2g_1 + ', playerTurnTimeout=' + this.p2g_1 + ', waitPlayerUntilTime=' + this.q2g_1 + ', state=' + this.r2g_1 + ', ready=' + this.s2g_1 + ', connectionState=' + this.t2g_1 + ', tag=' + this.u2g_1 + ')';
|
|
1856
1856
|
};
|
|
1857
1857
|
protoOf(PlayerState).hashCode = function () {
|
|
1858
|
-
var result = this.
|
|
1859
|
-
result = imul(result, 31) + (this.
|
|
1860
|
-
result = imul(result, 31) + (this.
|
|
1861
|
-
result = imul(result, 31) + this.
|
|
1862
|
-
result = imul(result, 31) + (this.
|
|
1863
|
-
result = imul(result, 31) + this.
|
|
1864
|
-
result = imul(result, 31) + (this.
|
|
1858
|
+
var result = this.o2g_1 == null ? 0 : this.o2g_1.hashCode();
|
|
1859
|
+
result = imul(result, 31) + (this.p2g_1 == null ? 0 : this.p2g_1.hashCode()) | 0;
|
|
1860
|
+
result = imul(result, 31) + (this.q2g_1 == null ? 0 : this.q2g_1.hashCode()) | 0;
|
|
1861
|
+
result = imul(result, 31) + this.r2g_1.hashCode() | 0;
|
|
1862
|
+
result = imul(result, 31) + (this.s2g_1 | 0) | 0;
|
|
1863
|
+
result = imul(result, 31) + this.t2g_1.hashCode() | 0;
|
|
1864
|
+
result = imul(result, 31) + (this.u2g_1 == null ? 0 : getStringHashCode(this.u2g_1)) | 0;
|
|
1865
1865
|
return result;
|
|
1866
1866
|
};
|
|
1867
1867
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -1870,30 +1870,30 @@
|
|
|
1870
1870
|
if (!(other instanceof PlayerState))
|
|
1871
1871
|
return false;
|
|
1872
1872
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
1873
|
-
if (!equals(this.
|
|
1873
|
+
if (!equals(this.o2g_1, tmp0_other_with_cast.o2g_1))
|
|
1874
1874
|
return false;
|
|
1875
|
-
if (!equals(this.
|
|
1875
|
+
if (!equals(this.p2g_1, tmp0_other_with_cast.p2g_1))
|
|
1876
1876
|
return false;
|
|
1877
|
-
if (!equals(this.
|
|
1877
|
+
if (!equals(this.q2g_1, tmp0_other_with_cast.q2g_1))
|
|
1878
1878
|
return false;
|
|
1879
|
-
if (!this.
|
|
1879
|
+
if (!this.r2g_1.equals(tmp0_other_with_cast.r2g_1))
|
|
1880
1880
|
return false;
|
|
1881
|
-
if (!(this.
|
|
1881
|
+
if (!(this.s2g_1 === tmp0_other_with_cast.s2g_1))
|
|
1882
1882
|
return false;
|
|
1883
|
-
if (!this.
|
|
1883
|
+
if (!this.t2g_1.equals(tmp0_other_with_cast.t2g_1))
|
|
1884
1884
|
return false;
|
|
1885
|
-
if (!(this.
|
|
1885
|
+
if (!(this.u2g_1 == tmp0_other_with_cast.u2g_1))
|
|
1886
1886
|
return false;
|
|
1887
1887
|
return true;
|
|
1888
1888
|
};
|
|
1889
1889
|
function Team(playerIds) {
|
|
1890
|
-
this.
|
|
1890
|
+
this.t2h_1 = playerIds;
|
|
1891
1891
|
}
|
|
1892
1892
|
protoOf(Team).toString = function () {
|
|
1893
|
-
return 'Team(playerIds=' + this.
|
|
1893
|
+
return 'Team(playerIds=' + this.t2h_1 + ')';
|
|
1894
1894
|
};
|
|
1895
1895
|
protoOf(Team).hashCode = function () {
|
|
1896
|
-
return hashCode(this.
|
|
1896
|
+
return hashCode(this.t2h_1);
|
|
1897
1897
|
};
|
|
1898
1898
|
protoOf(Team).equals = function (other) {
|
|
1899
1899
|
if (this === other)
|
|
@@ -1901,7 +1901,7 @@
|
|
|
1901
1901
|
if (!(other instanceof Team))
|
|
1902
1902
|
return false;
|
|
1903
1903
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
1904
|
-
if (!equals(this.
|
|
1904
|
+
if (!equals(this.t2h_1, tmp0_other_with_cast.t2h_1))
|
|
1905
1905
|
return false;
|
|
1906
1906
|
return true;
|
|
1907
1907
|
};
|
|
@@ -1949,55 +1949,55 @@
|
|
|
1949
1949
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
1950
1950
|
this.tenCardsInHand = tenCardsInHand;
|
|
1951
1951
|
}
|
|
1952
|
-
protoOf(Rules).
|
|
1952
|
+
protoOf(Rules).u2h = function () {
|
|
1953
1953
|
return this.needToPutHigherTrump;
|
|
1954
1954
|
};
|
|
1955
|
-
protoOf(Rules).
|
|
1955
|
+
protoOf(Rules).v2h = function () {
|
|
1956
1956
|
return this.distributePoints;
|
|
1957
1957
|
};
|
|
1958
|
-
protoOf(Rules).
|
|
1958
|
+
protoOf(Rules).w2h = function () {
|
|
1959
1959
|
return this.protectBella;
|
|
1960
1960
|
};
|
|
1961
|
-
protoOf(Rules).
|
|
1961
|
+
protoOf(Rules).x2h = function () {
|
|
1962
1962
|
return this.oneTryToProtectBella;
|
|
1963
1963
|
};
|
|
1964
|
-
protoOf(Rules).
|
|
1964
|
+
protoOf(Rules).y2h = function () {
|
|
1965
1965
|
return this.enableFourSevensCombination;
|
|
1966
1966
|
};
|
|
1967
|
-
protoOf(Rules).
|
|
1967
|
+
protoOf(Rules).z2h = function () {
|
|
1968
1968
|
return this.enableTrumpSevenCombination;
|
|
1969
1969
|
};
|
|
1970
|
-
protoOf(Rules).
|
|
1970
|
+
protoOf(Rules).a2i = function () {
|
|
1971
1971
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
1972
1972
|
};
|
|
1973
|
-
protoOf(Rules).
|
|
1973
|
+
protoOf(Rules).b2i = function () {
|
|
1974
1974
|
return this.playerWhoChooseSuitGoFirst;
|
|
1975
1975
|
};
|
|
1976
|
-
protoOf(Rules).
|
|
1976
|
+
protoOf(Rules).c2i = function () {
|
|
1977
1977
|
return this.winnerShuffleCards;
|
|
1978
1978
|
};
|
|
1979
|
-
protoOf(Rules).
|
|
1979
|
+
protoOf(Rules).d2i = function () {
|
|
1980
1980
|
return this.playWithoutLiabilities;
|
|
1981
1981
|
};
|
|
1982
|
-
protoOf(Rules).
|
|
1982
|
+
protoOf(Rules).e2i = function () {
|
|
1983
1983
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
1984
1984
|
};
|
|
1985
|
-
protoOf(Rules).
|
|
1985
|
+
protoOf(Rules).f2i = function () {
|
|
1986
1986
|
return this.enableFineIfNoBribes;
|
|
1987
1987
|
};
|
|
1988
|
-
protoOf(Rules).
|
|
1988
|
+
protoOf(Rules).g2i = function () {
|
|
1989
1989
|
return this.fineIfNoBribes;
|
|
1990
1990
|
};
|
|
1991
|
-
protoOf(Rules).
|
|
1991
|
+
protoOf(Rules).h2i = function () {
|
|
1992
1992
|
return this.enableFineAfterThirdByte;
|
|
1993
1993
|
};
|
|
1994
|
-
protoOf(Rules).
|
|
1994
|
+
protoOf(Rules).i2i = function () {
|
|
1995
1995
|
return this.checkTrumpCombination;
|
|
1996
1996
|
};
|
|
1997
|
-
protoOf(Rules).
|
|
1997
|
+
protoOf(Rules).j2i = function () {
|
|
1998
1998
|
return this.checkOnlyTrumpDebertz;
|
|
1999
1999
|
};
|
|
2000
|
-
protoOf(Rules).
|
|
2000
|
+
protoOf(Rules).k2i = function () {
|
|
2001
2001
|
return this.tenCardsInHand;
|
|
2002
2002
|
};
|
|
2003
2003
|
protoOf(Rules).y3 = function () {
|
|
@@ -2009,49 +2009,49 @@
|
|
|
2009
2009
|
protoOf(Rules).i9 = function () {
|
|
2010
2010
|
return this.protectBella;
|
|
2011
2011
|
};
|
|
2012
|
-
protoOf(Rules).
|
|
2012
|
+
protoOf(Rules).h2g = function () {
|
|
2013
2013
|
return this.oneTryToProtectBella;
|
|
2014
2014
|
};
|
|
2015
|
-
protoOf(Rules).
|
|
2015
|
+
protoOf(Rules).i2g = function () {
|
|
2016
2016
|
return this.enableFourSevensCombination;
|
|
2017
2017
|
};
|
|
2018
|
-
protoOf(Rules).
|
|
2018
|
+
protoOf(Rules).l2i = function () {
|
|
2019
2019
|
return this.enableTrumpSevenCombination;
|
|
2020
2020
|
};
|
|
2021
|
-
protoOf(Rules).
|
|
2021
|
+
protoOf(Rules).m2i = function () {
|
|
2022
2022
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2023
2023
|
};
|
|
2024
|
-
protoOf(Rules).
|
|
2024
|
+
protoOf(Rules).n2i = function () {
|
|
2025
2025
|
return this.playerWhoChooseSuitGoFirst;
|
|
2026
2026
|
};
|
|
2027
|
-
protoOf(Rules).
|
|
2027
|
+
protoOf(Rules).o2i = function () {
|
|
2028
2028
|
return this.winnerShuffleCards;
|
|
2029
2029
|
};
|
|
2030
|
-
protoOf(Rules).
|
|
2030
|
+
protoOf(Rules).p2i = function () {
|
|
2031
2031
|
return this.playWithoutLiabilities;
|
|
2032
2032
|
};
|
|
2033
|
-
protoOf(Rules).
|
|
2033
|
+
protoOf(Rules).q2i = function () {
|
|
2034
2034
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2035
2035
|
};
|
|
2036
|
-
protoOf(Rules).
|
|
2036
|
+
protoOf(Rules).r2i = function () {
|
|
2037
2037
|
return this.enableFineIfNoBribes;
|
|
2038
2038
|
};
|
|
2039
|
-
protoOf(Rules).
|
|
2039
|
+
protoOf(Rules).s2i = function () {
|
|
2040
2040
|
return this.fineIfNoBribes;
|
|
2041
2041
|
};
|
|
2042
|
-
protoOf(Rules).
|
|
2042
|
+
protoOf(Rules).t2i = function () {
|
|
2043
2043
|
return this.enableFineAfterThirdByte;
|
|
2044
2044
|
};
|
|
2045
|
-
protoOf(Rules).
|
|
2045
|
+
protoOf(Rules).u2i = function () {
|
|
2046
2046
|
return this.checkTrumpCombination;
|
|
2047
2047
|
};
|
|
2048
|
-
protoOf(Rules).
|
|
2048
|
+
protoOf(Rules).v2i = function () {
|
|
2049
2049
|
return this.checkOnlyTrumpDebertz;
|
|
2050
2050
|
};
|
|
2051
|
-
protoOf(Rules).
|
|
2051
|
+
protoOf(Rules).w2i = function () {
|
|
2052
2052
|
return this.tenCardsInHand;
|
|
2053
2053
|
};
|
|
2054
|
-
protoOf(Rules).
|
|
2054
|
+
protoOf(Rules).x2i = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2055
2055
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2056
2056
|
};
|
|
2057
2057
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2072,7 +2072,7 @@
|
|
|
2072
2072
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2073
2073
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2074
2074
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2075
|
-
return this.
|
|
2075
|
+
return this.x2i(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2076
2076
|
};
|
|
2077
2077
|
protoOf(Rules).toString = function () {
|
|
2078
2078
|
return 'Rules(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -2202,7 +2202,7 @@
|
|
|
2202
2202
|
return RulesSetType_custom_instance;
|
|
2203
2203
|
}
|
|
2204
2204
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2205
|
-
return $this.
|
|
2205
|
+
return $this.a2j_1.j1();
|
|
2206
2206
|
}
|
|
2207
2207
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2208
2208
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2221,13 +2221,13 @@
|
|
|
2221
2221
|
Companion_instance_12 = this;
|
|
2222
2222
|
var tmp = this;
|
|
2223
2223
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2224
|
-
tmp.
|
|
2224
|
+
tmp.a2j_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2225
2225
|
}
|
|
2226
|
-
protoOf(Companion_12).
|
|
2226
|
+
protoOf(Companion_12).y1y = function () {
|
|
2227
2227
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2228
2228
|
};
|
|
2229
|
-
protoOf(Companion_12).
|
|
2230
|
-
return this.
|
|
2229
|
+
protoOf(Companion_12).n1n = function (typeParamsSerializers) {
|
|
2230
|
+
return this.y1y();
|
|
2231
2231
|
};
|
|
2232
2232
|
var Companion_instance_12;
|
|
2233
2233
|
function Companion_getInstance_13() {
|
|
@@ -2242,23 +2242,23 @@
|
|
|
2242
2242
|
Companion_getInstance_13();
|
|
2243
2243
|
}
|
|
2244
2244
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
2245
|
-
return this.
|
|
2245
|
+
return this.b2j();
|
|
2246
2246
|
});
|
|
2247
2247
|
function mapToDto(_this__u8e3s4) {
|
|
2248
|
-
return _this__u8e3s4.
|
|
2248
|
+
return _this__u8e3s4.c2j_1;
|
|
2249
2249
|
}
|
|
2250
2250
|
function mapFromDto(_this__u8e3s4) {
|
|
2251
2251
|
return new GameCard(_this__u8e3s4);
|
|
2252
2252
|
}
|
|
2253
2253
|
function mapToDto_0(_this__u8e3s4) {
|
|
2254
|
-
return _this__u8e3s4.
|
|
2254
|
+
return _this__u8e3s4.e2j_1.c2j_1;
|
|
2255
2255
|
}
|
|
2256
2256
|
function mapToDto_1(_this__u8e3s4) {
|
|
2257
2257
|
return new RulesDto(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, VOID, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand);
|
|
2258
2258
|
}
|
|
2259
2259
|
function mapFromDto_0(_this__u8e3s4) {
|
|
2260
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2261
|
-
return new Rules(_this__u8e3s4.
|
|
2260
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i2j_1;
|
|
2261
|
+
return new Rules(_this__u8e3s4.f2j_1, _this__u8e3s4.g2j_1, _this__u8e3s4.h2j_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.j2j_1, _this__u8e3s4.k2j_1, _this__u8e3s4.l2j_1, _this__u8e3s4.m2j_1, _this__u8e3s4.n2j_1, _this__u8e3s4.o2j_1, _this__u8e3s4.p2j_1, _this__u8e3s4.q2j_1, _this__u8e3s4.r2j_1, _this__u8e3s4.s2j_1, _this__u8e3s4.t2j_1, _this__u8e3s4.u2j_1, _this__u8e3s4.v2j_1);
|
|
2262
2262
|
}
|
|
2263
2263
|
function mapToDto_2(_this__u8e3s4) {
|
|
2264
2264
|
var tmp$ret$1;
|
|
@@ -2275,36 +2275,36 @@
|
|
|
2275
2275
|
tmp = null;
|
|
2276
2276
|
}
|
|
2277
2277
|
tmp$ret$1 = tmp;
|
|
2278
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2278
|
+
return new GameUserInfoDto(_this__u8e3s4.d2g_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1);
|
|
2279
2279
|
}
|
|
2280
2280
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2281
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2282
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2281
|
+
var tmp0_elvis_lhs = _this__u8e3s4.z2j_1;
|
|
2282
|
+
return new GameUserInfo(_this__u8e3s4.w2j_1, _this__u8e3s4.x2j_1, _this__u8e3s4.y2j_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs);
|
|
2283
2283
|
}
|
|
2284
2284
|
function mapToDto_3(_this__u8e3s4) {
|
|
2285
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2286
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2285
|
+
var tmp0_safe_receiver = _this__u8e3s4.o2g_1;
|
|
2286
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t2e();
|
|
2287
2287
|
var tmp5_startFromTime = tmp1_elvis_lhs == null ? new Long(0, 0) : tmp1_elvis_lhs;
|
|
2288
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
2288
|
+
var tmp2_safe_receiver = _this__u8e3s4.o2g_1;
|
|
2289
2289
|
var tmp6_startFrom = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.toString();
|
|
2290
|
-
var tmp4_safe_receiver = _this__u8e3s4.
|
|
2290
|
+
var tmp4_safe_receiver = _this__u8e3s4.q2g_1;
|
|
2291
2291
|
var tmp7_waitPlayerUntilTime = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.toString();
|
|
2292
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
2292
|
+
var tmp3_safe_receiver = _this__u8e3s4.p2g_1;
|
|
2293
2293
|
var tmp8_playerTurnTimeout = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.toString();
|
|
2294
|
-
var tmp9_state = _this__u8e3s4.
|
|
2295
|
-
var tmp10_tag = _this__u8e3s4.
|
|
2296
|
-
var tmp11_ready = _this__u8e3s4.
|
|
2294
|
+
var tmp9_state = _this__u8e3s4.r2g_1;
|
|
2295
|
+
var tmp10_tag = _this__u8e3s4.u2g_1;
|
|
2296
|
+
var tmp11_ready = _this__u8e3s4.s2g_1;
|
|
2297
2297
|
return new PlayerStateDto(tmp5_startFromTime, tmp6_startFrom, tmp8_playerTurnTimeout, tmp7_waitPlayerUntilTime, tmp9_state, tmp11_ready, tmp10_tag);
|
|
2298
2298
|
}
|
|
2299
2299
|
function mapFromDto_2(_this__u8e3s4, connectionState) {
|
|
2300
|
-
var tmp2_startFromTime = _this__u8e3s4.
|
|
2301
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
2300
|
+
var tmp2_startFromTime = _this__u8e3s4.h2k();
|
|
2301
|
+
var tmp1_safe_receiver = _this__u8e3s4.d2k_1;
|
|
2302
2302
|
var tmp3_waitPlayerUntilTime = tmp1_safe_receiver == null ? null : toInstant(tmp1_safe_receiver);
|
|
2303
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
2303
|
+
var tmp0_safe_receiver = _this__u8e3s4.c2k_1;
|
|
2304
2304
|
var tmp4_playerTurnTimeout = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2305
|
-
var tmp5_state = _this__u8e3s4.
|
|
2306
|
-
var tmp6_tag = _this__u8e3s4.
|
|
2307
|
-
var tmp7_ready = _this__u8e3s4.
|
|
2305
|
+
var tmp5_state = _this__u8e3s4.e2k_1;
|
|
2306
|
+
var tmp6_tag = _this__u8e3s4.g2k_1;
|
|
2307
|
+
var tmp7_ready = _this__u8e3s4.f2k_1;
|
|
2308
2308
|
return new PlayerState(tmp2_startFromTime, tmp4_playerTurnTimeout, tmp3_waitPlayerUntilTime, tmp5_state, tmp7_ready, connectionState, tmp6_tag);
|
|
2309
2309
|
}
|
|
2310
2310
|
function Companion_13() {
|
|
@@ -2319,16 +2319,16 @@
|
|
|
2319
2319
|
function $serializer_5() {
|
|
2320
2320
|
$serializer_instance_5 = this;
|
|
2321
2321
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.GameUserInfoDto', this, 4);
|
|
2322
|
-
tmp0_serialDesc.
|
|
2323
|
-
tmp0_serialDesc.
|
|
2324
|
-
tmp0_serialDesc.
|
|
2325
|
-
tmp0_serialDesc.
|
|
2326
|
-
this.
|
|
2322
|
+
tmp0_serialDesc.n1m('playerId', false);
|
|
2323
|
+
tmp0_serialDesc.n1m('name', false);
|
|
2324
|
+
tmp0_serialDesc.n1m('avatarUrl', true);
|
|
2325
|
+
tmp0_serialDesc.n1m('isBot', true);
|
|
2326
|
+
this.i2k_1 = tmp0_serialDesc;
|
|
2327
2327
|
}
|
|
2328
|
-
protoOf($serializer_5).
|
|
2329
|
-
return this.
|
|
2328
|
+
protoOf($serializer_5).b1c = function () {
|
|
2329
|
+
return this.i2k_1;
|
|
2330
2330
|
};
|
|
2331
|
-
protoOf($serializer_5).
|
|
2331
|
+
protoOf($serializer_5).c1n = function () {
|
|
2332
2332
|
var tmp$ret$2;
|
|
2333
2333
|
// Inline function 'kotlin.arrayOf' call
|
|
2334
2334
|
var tmp0_arrayOf = [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
@@ -2341,8 +2341,8 @@
|
|
|
2341
2341
|
tmp$ret$2 = tmp$ret$1;
|
|
2342
2342
|
return tmp$ret$2;
|
|
2343
2343
|
};
|
|
2344
|
-
protoOf($serializer_5).
|
|
2345
|
-
var tmp0_desc = this.
|
|
2344
|
+
protoOf($serializer_5).d1c = function (decoder) {
|
|
2345
|
+
var tmp0_desc = this.i2k_1;
|
|
2346
2346
|
var tmp1_flag = true;
|
|
2347
2347
|
var tmp2_index = 0;
|
|
2348
2348
|
var tmp3_bitMask0 = 0;
|
|
@@ -2350,61 +2350,61 @@
|
|
|
2350
2350
|
var tmp5_local1 = null;
|
|
2351
2351
|
var tmp6_local2 = null;
|
|
2352
2352
|
var tmp7_local3 = null;
|
|
2353
|
-
var tmp8_input = decoder.
|
|
2354
|
-
if (tmp8_input.
|
|
2355
|
-
tmp4_local0 = tmp8_input.
|
|
2353
|
+
var tmp8_input = decoder.i1f(tmp0_desc);
|
|
2354
|
+
if (tmp8_input.y1f()) {
|
|
2355
|
+
tmp4_local0 = tmp8_input.s1f(tmp0_desc, 0);
|
|
2356
2356
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2357
|
-
tmp5_local1 = tmp8_input.
|
|
2357
|
+
tmp5_local1 = tmp8_input.s1f(tmp0_desc, 1);
|
|
2358
2358
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2359
|
-
tmp6_local2 = tmp8_input.
|
|
2359
|
+
tmp6_local2 = tmp8_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2360
2360
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2361
|
-
tmp7_local3 = tmp8_input.
|
|
2361
|
+
tmp7_local3 = tmp8_input.w1f(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2362
2362
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2363
2363
|
} else
|
|
2364
2364
|
while (tmp1_flag) {
|
|
2365
|
-
tmp2_index = tmp8_input.
|
|
2365
|
+
tmp2_index = tmp8_input.z1f(tmp0_desc);
|
|
2366
2366
|
switch (tmp2_index) {
|
|
2367
2367
|
case -1:
|
|
2368
2368
|
tmp1_flag = false;
|
|
2369
2369
|
break;
|
|
2370
2370
|
case 0:
|
|
2371
|
-
tmp4_local0 = tmp8_input.
|
|
2371
|
+
tmp4_local0 = tmp8_input.s1f(tmp0_desc, 0);
|
|
2372
2372
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2373
2373
|
break;
|
|
2374
2374
|
case 1:
|
|
2375
|
-
tmp5_local1 = tmp8_input.
|
|
2375
|
+
tmp5_local1 = tmp8_input.s1f(tmp0_desc, 1);
|
|
2376
2376
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2377
2377
|
break;
|
|
2378
2378
|
case 2:
|
|
2379
|
-
tmp6_local2 = tmp8_input.
|
|
2379
|
+
tmp6_local2 = tmp8_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2380
2380
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2381
2381
|
break;
|
|
2382
2382
|
case 3:
|
|
2383
|
-
tmp7_local3 = tmp8_input.
|
|
2383
|
+
tmp7_local3 = tmp8_input.w1f(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2384
2384
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2385
2385
|
break;
|
|
2386
2386
|
default:
|
|
2387
2387
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2388
2388
|
}
|
|
2389
2389
|
}
|
|
2390
|
-
tmp8_input.
|
|
2390
|
+
tmp8_input.j1f(tmp0_desc);
|
|
2391
2391
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2392
2392
|
};
|
|
2393
|
-
protoOf($serializer_5).
|
|
2394
|
-
var tmp0_desc = this.
|
|
2395
|
-
var tmp1_output = encoder.
|
|
2396
|
-
tmp1_output.
|
|
2397
|
-
tmp1_output.
|
|
2398
|
-
if (tmp1_output.
|
|
2399
|
-
tmp1_output.
|
|
2393
|
+
protoOf($serializer_5).j2k = function (encoder, value) {
|
|
2394
|
+
var tmp0_desc = this.i2k_1;
|
|
2395
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
2396
|
+
tmp1_output.x1g(tmp0_desc, 0, value.w2j_1);
|
|
2397
|
+
tmp1_output.x1g(tmp0_desc, 1, value.x2j_1);
|
|
2398
|
+
if (tmp1_output.f1h(tmp0_desc, 2) ? true : !(value.y2j_1 == null)) {
|
|
2399
|
+
tmp1_output.b1h(tmp0_desc, 2, StringSerializer_getInstance(), value.y2j_1);
|
|
2400
2400
|
}
|
|
2401
|
-
if (tmp1_output.
|
|
2402
|
-
tmp1_output.
|
|
2401
|
+
if (tmp1_output.f1h(tmp0_desc, 3) ? true : !(value.z2j_1 === false)) {
|
|
2402
|
+
tmp1_output.b1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.z2j_1);
|
|
2403
2403
|
}
|
|
2404
|
-
tmp1_output.
|
|
2404
|
+
tmp1_output.j1f(tmp0_desc);
|
|
2405
2405
|
};
|
|
2406
|
-
protoOf($serializer_5).
|
|
2407
|
-
return this.
|
|
2406
|
+
protoOf($serializer_5).c1c = function (encoder, value) {
|
|
2407
|
+
return this.j2k(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2408
2408
|
};
|
|
2409
2409
|
var $serializer_instance_5;
|
|
2410
2410
|
function $serializer_getInstance_5() {
|
|
@@ -2414,18 +2414,18 @@
|
|
|
2414
2414
|
}
|
|
2415
2415
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker, $this) {
|
|
2416
2416
|
if (!(3 === (3 & seen1))) {
|
|
2417
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2417
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().i2k_1);
|
|
2418
2418
|
}
|
|
2419
|
-
$this.
|
|
2420
|
-
$this.
|
|
2419
|
+
$this.w2j_1 = playerId;
|
|
2420
|
+
$this.x2j_1 = name;
|
|
2421
2421
|
if (0 === (seen1 & 4))
|
|
2422
|
-
$this.
|
|
2422
|
+
$this.y2j_1 = null;
|
|
2423
2423
|
else
|
|
2424
|
-
$this.
|
|
2424
|
+
$this.y2j_1 = avatarUrl;
|
|
2425
2425
|
if (0 === (seen1 & 8))
|
|
2426
|
-
$this.
|
|
2426
|
+
$this.z2j_1 = false;
|
|
2427
2427
|
else
|
|
2428
|
-
$this.
|
|
2428
|
+
$this.z2j_1 = isBot;
|
|
2429
2429
|
return $this;
|
|
2430
2430
|
}
|
|
2431
2431
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, serializationConstructorMarker) {
|
|
@@ -2435,19 +2435,19 @@
|
|
|
2435
2435
|
Companion_getInstance_14();
|
|
2436
2436
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2437
2437
|
isBot = isBot === VOID ? false : isBot;
|
|
2438
|
-
this.
|
|
2439
|
-
this.
|
|
2440
|
-
this.
|
|
2441
|
-
this.
|
|
2438
|
+
this.w2j_1 = playerId;
|
|
2439
|
+
this.x2j_1 = name;
|
|
2440
|
+
this.y2j_1 = avatarUrl;
|
|
2441
|
+
this.z2j_1 = isBot;
|
|
2442
2442
|
}
|
|
2443
2443
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2444
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2444
|
+
return 'GameUserInfoDto(playerId=' + this.w2j_1 + ', name=' + this.x2j_1 + ', avatarUrl=' + this.y2j_1 + ', isBot=' + this.z2j_1 + ')';
|
|
2445
2445
|
};
|
|
2446
2446
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2447
|
-
var result = getStringHashCode(this.
|
|
2448
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2449
|
-
result = imul(result, 31) + (this.
|
|
2450
|
-
result = imul(result, 31) + (this.
|
|
2447
|
+
var result = getStringHashCode(this.w2j_1);
|
|
2448
|
+
result = imul(result, 31) + getStringHashCode(this.x2j_1) | 0;
|
|
2449
|
+
result = imul(result, 31) + (this.y2j_1 == null ? 0 : getStringHashCode(this.y2j_1)) | 0;
|
|
2450
|
+
result = imul(result, 31) + (this.z2j_1 == null ? 0 : this.z2j_1 | 0) | 0;
|
|
2451
2451
|
return result;
|
|
2452
2452
|
};
|
|
2453
2453
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2456,13 +2456,13 @@
|
|
|
2456
2456
|
if (!(other instanceof GameUserInfoDto))
|
|
2457
2457
|
return false;
|
|
2458
2458
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2459
|
-
if (!(this.
|
|
2459
|
+
if (!(this.w2j_1 === tmp0_other_with_cast.w2j_1))
|
|
2460
2460
|
return false;
|
|
2461
|
-
if (!(this.
|
|
2461
|
+
if (!(this.x2j_1 === tmp0_other_with_cast.x2j_1))
|
|
2462
2462
|
return false;
|
|
2463
|
-
if (!(this.
|
|
2463
|
+
if (!(this.y2j_1 == tmp0_other_with_cast.y2j_1))
|
|
2464
2464
|
return false;
|
|
2465
|
-
if (!(this.
|
|
2465
|
+
if (!(this.z2j_1 == tmp0_other_with_cast.z2j_1))
|
|
2466
2466
|
return false;
|
|
2467
2467
|
return true;
|
|
2468
2468
|
};
|
|
@@ -2471,7 +2471,7 @@
|
|
|
2471
2471
|
var tmp = this;
|
|
2472
2472
|
var tmp$ret$2;
|
|
2473
2473
|
// Inline function 'kotlin.arrayOf' call
|
|
2474
|
-
var tmp0_arrayOf = [null, null, null, null, Companion_getInstance_10().
|
|
2474
|
+
var tmp0_arrayOf = [null, null, null, null, Companion_getInstance_10().y1y(), null, null];
|
|
2475
2475
|
var tmp$ret$1;
|
|
2476
2476
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2477
2477
|
var tmp$ret$0;
|
|
@@ -2479,7 +2479,7 @@
|
|
|
2479
2479
|
tmp$ret$0 = tmp0_arrayOf;
|
|
2480
2480
|
tmp$ret$1 = tmp$ret$0;
|
|
2481
2481
|
tmp$ret$2 = tmp$ret$1;
|
|
2482
|
-
tmp.
|
|
2482
|
+
tmp.k2k_1 = tmp$ret$2;
|
|
2483
2483
|
}
|
|
2484
2484
|
var Companion_instance_14;
|
|
2485
2485
|
function Companion_getInstance_15() {
|
|
@@ -2490,20 +2490,20 @@
|
|
|
2490
2490
|
function $serializer_6() {
|
|
2491
2491
|
$serializer_instance_6 = this;
|
|
2492
2492
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.player.PlayerStateDto', this, 7);
|
|
2493
|
-
tmp0_serialDesc.
|
|
2494
|
-
tmp0_serialDesc.
|
|
2495
|
-
tmp0_serialDesc.
|
|
2496
|
-
tmp0_serialDesc.
|
|
2497
|
-
tmp0_serialDesc.
|
|
2498
|
-
tmp0_serialDesc.
|
|
2499
|
-
tmp0_serialDesc.
|
|
2500
|
-
this.
|
|
2501
|
-
}
|
|
2502
|
-
protoOf($serializer_6).
|
|
2503
|
-
return this.
|
|
2504
|
-
};
|
|
2505
|
-
protoOf($serializer_6).
|
|
2506
|
-
var tmp0_cached = Companion_getInstance_15().
|
|
2493
|
+
tmp0_serialDesc.n1m('startFromTime', true);
|
|
2494
|
+
tmp0_serialDesc.n1m('startFrom', true);
|
|
2495
|
+
tmp0_serialDesc.n1m('playerTurnTimeout', true);
|
|
2496
|
+
tmp0_serialDesc.n1m('waitPlayerUntilTime', true);
|
|
2497
|
+
tmp0_serialDesc.n1m('state', false);
|
|
2498
|
+
tmp0_serialDesc.n1m('ready', false);
|
|
2499
|
+
tmp0_serialDesc.n1m('tag', true);
|
|
2500
|
+
this.l2k_1 = tmp0_serialDesc;
|
|
2501
|
+
}
|
|
2502
|
+
protoOf($serializer_6).b1c = function () {
|
|
2503
|
+
return this.l2k_1;
|
|
2504
|
+
};
|
|
2505
|
+
protoOf($serializer_6).c1n = function () {
|
|
2506
|
+
var tmp0_cached = Companion_getInstance_15().k2k_1;
|
|
2507
2507
|
var tmp$ret$2;
|
|
2508
2508
|
// Inline function 'kotlin.arrayOf' call
|
|
2509
2509
|
var tmp0_arrayOf = [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
@@ -2516,8 +2516,8 @@
|
|
|
2516
2516
|
tmp$ret$2 = tmp$ret$1;
|
|
2517
2517
|
return tmp$ret$2;
|
|
2518
2518
|
};
|
|
2519
|
-
protoOf($serializer_6).
|
|
2520
|
-
var tmp0_desc = this.
|
|
2519
|
+
protoOf($serializer_6).d1c = function (decoder) {
|
|
2520
|
+
var tmp0_desc = this.l2k_1;
|
|
2521
2521
|
var tmp1_flag = true;
|
|
2522
2522
|
var tmp2_index = 0;
|
|
2523
2523
|
var tmp3_bitMask0 = 0;
|
|
@@ -2528,90 +2528,90 @@
|
|
|
2528
2528
|
var tmp8_local4 = null;
|
|
2529
2529
|
var tmp9_local5 = false;
|
|
2530
2530
|
var tmp10_local6 = null;
|
|
2531
|
-
var tmp11_input = decoder.
|
|
2532
|
-
var tmp12_cached = Companion_getInstance_15().
|
|
2533
|
-
if (tmp11_input.
|
|
2534
|
-
tmp4_local0 = tmp11_input.
|
|
2531
|
+
var tmp11_input = decoder.i1f(tmp0_desc);
|
|
2532
|
+
var tmp12_cached = Companion_getInstance_15().k2k_1;
|
|
2533
|
+
if (tmp11_input.y1f()) {
|
|
2534
|
+
tmp4_local0 = tmp11_input.w1f(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2535
2535
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2536
|
-
tmp5_local1 = tmp11_input.
|
|
2536
|
+
tmp5_local1 = tmp11_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2537
2537
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2538
|
-
tmp6_local2 = tmp11_input.
|
|
2538
|
+
tmp6_local2 = tmp11_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2539
2539
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2540
|
-
tmp7_local3 = tmp11_input.
|
|
2540
|
+
tmp7_local3 = tmp11_input.w1f(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2541
2541
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2542
|
-
tmp8_local4 = tmp11_input.
|
|
2542
|
+
tmp8_local4 = tmp11_input.u1f(tmp0_desc, 4, tmp12_cached[4], tmp8_local4);
|
|
2543
2543
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2544
|
-
tmp9_local5 = tmp11_input.
|
|
2544
|
+
tmp9_local5 = tmp11_input.k1f(tmp0_desc, 5);
|
|
2545
2545
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2546
|
-
tmp10_local6 = tmp11_input.
|
|
2546
|
+
tmp10_local6 = tmp11_input.w1f(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2547
2547
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2548
2548
|
} else
|
|
2549
2549
|
while (tmp1_flag) {
|
|
2550
|
-
tmp2_index = tmp11_input.
|
|
2550
|
+
tmp2_index = tmp11_input.z1f(tmp0_desc);
|
|
2551
2551
|
switch (tmp2_index) {
|
|
2552
2552
|
case -1:
|
|
2553
2553
|
tmp1_flag = false;
|
|
2554
2554
|
break;
|
|
2555
2555
|
case 0:
|
|
2556
|
-
tmp4_local0 = tmp11_input.
|
|
2556
|
+
tmp4_local0 = tmp11_input.w1f(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
2557
2557
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2558
2558
|
break;
|
|
2559
2559
|
case 1:
|
|
2560
|
-
tmp5_local1 = tmp11_input.
|
|
2560
|
+
tmp5_local1 = tmp11_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2561
2561
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2562
2562
|
break;
|
|
2563
2563
|
case 2:
|
|
2564
|
-
tmp6_local2 = tmp11_input.
|
|
2564
|
+
tmp6_local2 = tmp11_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2565
2565
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2566
2566
|
break;
|
|
2567
2567
|
case 3:
|
|
2568
|
-
tmp7_local3 = tmp11_input.
|
|
2568
|
+
tmp7_local3 = tmp11_input.w1f(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
2569
2569
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2570
2570
|
break;
|
|
2571
2571
|
case 4:
|
|
2572
|
-
tmp8_local4 = tmp11_input.
|
|
2572
|
+
tmp8_local4 = tmp11_input.u1f(tmp0_desc, 4, tmp12_cached[4], tmp8_local4);
|
|
2573
2573
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2574
2574
|
break;
|
|
2575
2575
|
case 5:
|
|
2576
|
-
tmp9_local5 = tmp11_input.
|
|
2576
|
+
tmp9_local5 = tmp11_input.k1f(tmp0_desc, 5);
|
|
2577
2577
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2578
2578
|
break;
|
|
2579
2579
|
case 6:
|
|
2580
|
-
tmp10_local6 = tmp11_input.
|
|
2580
|
+
tmp10_local6 = tmp11_input.w1f(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2581
2581
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2582
2582
|
break;
|
|
2583
2583
|
default:
|
|
2584
2584
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2585
2585
|
}
|
|
2586
2586
|
}
|
|
2587
|
-
tmp11_input.
|
|
2587
|
+
tmp11_input.j1f(tmp0_desc);
|
|
2588
2588
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
2589
2589
|
};
|
|
2590
|
-
protoOf($serializer_6).
|
|
2591
|
-
var tmp0_desc = this.
|
|
2592
|
-
var tmp1_output = encoder.
|
|
2593
|
-
var tmp2_cached = Companion_getInstance_15().
|
|
2594
|
-
if (tmp1_output.
|
|
2595
|
-
tmp1_output.
|
|
2590
|
+
protoOf($serializer_6).m2k = function (encoder, value) {
|
|
2591
|
+
var tmp0_desc = this.l2k_1;
|
|
2592
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
2593
|
+
var tmp2_cached = Companion_getInstance_15().k2k_1;
|
|
2594
|
+
if (tmp1_output.f1h(tmp0_desc, 0) ? true : !(value.a2k_1 == null)) {
|
|
2595
|
+
tmp1_output.b1h(tmp0_desc, 0, LongSerializer_getInstance(), value.a2k_1);
|
|
2596
2596
|
}
|
|
2597
|
-
if (tmp1_output.
|
|
2598
|
-
tmp1_output.
|
|
2597
|
+
if (tmp1_output.f1h(tmp0_desc, 1) ? true : !(value.b2k_1 == null)) {
|
|
2598
|
+
tmp1_output.b1h(tmp0_desc, 1, StringSerializer_getInstance(), value.b2k_1);
|
|
2599
2599
|
}
|
|
2600
|
-
if (tmp1_output.
|
|
2601
|
-
tmp1_output.
|
|
2600
|
+
if (tmp1_output.f1h(tmp0_desc, 2) ? true : !(value.c2k_1 == null)) {
|
|
2601
|
+
tmp1_output.b1h(tmp0_desc, 2, StringSerializer_getInstance(), value.c2k_1);
|
|
2602
2602
|
}
|
|
2603
|
-
if (tmp1_output.
|
|
2604
|
-
tmp1_output.
|
|
2603
|
+
if (tmp1_output.f1h(tmp0_desc, 3) ? true : !(value.d2k_1 == null)) {
|
|
2604
|
+
tmp1_output.b1h(tmp0_desc, 3, StringSerializer_getInstance(), value.d2k_1);
|
|
2605
2605
|
}
|
|
2606
|
-
tmp1_output.
|
|
2607
|
-
tmp1_output.
|
|
2608
|
-
if (tmp1_output.
|
|
2609
|
-
tmp1_output.
|
|
2606
|
+
tmp1_output.z1g(tmp0_desc, 4, tmp2_cached[4], value.e2k_1);
|
|
2607
|
+
tmp1_output.p1g(tmp0_desc, 5, value.f2k_1);
|
|
2608
|
+
if (tmp1_output.f1h(tmp0_desc, 6) ? true : !(value.g2k_1 == null)) {
|
|
2609
|
+
tmp1_output.b1h(tmp0_desc, 6, StringSerializer_getInstance(), value.g2k_1);
|
|
2610
2610
|
}
|
|
2611
|
-
tmp1_output.
|
|
2611
|
+
tmp1_output.j1f(tmp0_desc);
|
|
2612
2612
|
};
|
|
2613
|
-
protoOf($serializer_6).
|
|
2614
|
-
return this.
|
|
2613
|
+
protoOf($serializer_6).c1c = function (encoder, value) {
|
|
2614
|
+
return this.m2k(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
2615
2615
|
};
|
|
2616
2616
|
var $serializer_instance_6;
|
|
2617
2617
|
function $serializer_getInstance_6() {
|
|
@@ -2621,30 +2621,30 @@
|
|
|
2621
2621
|
}
|
|
2622
2622
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker, $this) {
|
|
2623
2623
|
if (!(48 === (48 & seen1))) {
|
|
2624
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_6().
|
|
2624
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_6().l2k_1);
|
|
2625
2625
|
}
|
|
2626
2626
|
if (0 === (seen1 & 1))
|
|
2627
|
-
$this.
|
|
2627
|
+
$this.a2k_1 = null;
|
|
2628
2628
|
else
|
|
2629
|
-
$this.
|
|
2629
|
+
$this.a2k_1 = startFromTime;
|
|
2630
2630
|
if (0 === (seen1 & 2))
|
|
2631
|
-
$this.
|
|
2631
|
+
$this.b2k_1 = null;
|
|
2632
2632
|
else
|
|
2633
|
-
$this.
|
|
2633
|
+
$this.b2k_1 = startFrom;
|
|
2634
2634
|
if (0 === (seen1 & 4))
|
|
2635
|
-
$this.
|
|
2635
|
+
$this.c2k_1 = null;
|
|
2636
2636
|
else
|
|
2637
|
-
$this.
|
|
2637
|
+
$this.c2k_1 = playerTurnTimeout;
|
|
2638
2638
|
if (0 === (seen1 & 8))
|
|
2639
|
-
$this.
|
|
2639
|
+
$this.d2k_1 = null;
|
|
2640
2640
|
else
|
|
2641
|
-
$this.
|
|
2642
|
-
$this.
|
|
2643
|
-
$this.
|
|
2641
|
+
$this.d2k_1 = waitPlayerUntilTime;
|
|
2642
|
+
$this.e2k_1 = state;
|
|
2643
|
+
$this.f2k_1 = ready;
|
|
2644
2644
|
if (0 === (seen1 & 64))
|
|
2645
|
-
$this.
|
|
2645
|
+
$this.g2k_1 = null;
|
|
2646
2646
|
else
|
|
2647
|
-
$this.
|
|
2647
|
+
$this.g2k_1 = tag;
|
|
2648
2648
|
return $this;
|
|
2649
2649
|
}
|
|
2650
2650
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, serializationConstructorMarker) {
|
|
@@ -2657,30 +2657,30 @@
|
|
|
2657
2657
|
playerTurnTimeout = playerTurnTimeout === VOID ? null : playerTurnTimeout;
|
|
2658
2658
|
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? null : waitPlayerUntilTime;
|
|
2659
2659
|
tag = tag === VOID ? null : tag;
|
|
2660
|
-
this.
|
|
2661
|
-
this.
|
|
2662
|
-
this.
|
|
2663
|
-
this.
|
|
2664
|
-
this.
|
|
2665
|
-
this.
|
|
2666
|
-
this.
|
|
2667
|
-
}
|
|
2668
|
-
protoOf(PlayerStateDto).
|
|
2669
|
-
var tmp0_safe_receiver = this.
|
|
2660
|
+
this.a2k_1 = startFromTime;
|
|
2661
|
+
this.b2k_1 = startFrom;
|
|
2662
|
+
this.c2k_1 = playerTurnTimeout;
|
|
2663
|
+
this.d2k_1 = waitPlayerUntilTime;
|
|
2664
|
+
this.e2k_1 = state;
|
|
2665
|
+
this.f2k_1 = ready;
|
|
2666
|
+
this.g2k_1 = tag;
|
|
2667
|
+
}
|
|
2668
|
+
protoOf(PlayerStateDto).h2k = function () {
|
|
2669
|
+
var tmp0_safe_receiver = this.b2k_1;
|
|
2670
2670
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toInstant(tmp0_safe_receiver);
|
|
2671
|
-
return tmp1_elvis_lhs == null ? Companion_getInstance().
|
|
2671
|
+
return tmp1_elvis_lhs == null ? Companion_getInstance().o2e(ensureNotNull(this.a2k_1)) : tmp1_elvis_lhs;
|
|
2672
2672
|
};
|
|
2673
2673
|
protoOf(PlayerStateDto).toString = function () {
|
|
2674
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
2674
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.a2k_1) + ', startFrom=' + this.b2k_1 + ', playerTurnTimeout=' + this.c2k_1 + ', waitPlayerUntilTime=' + this.d2k_1 + ', state=' + this.e2k_1 + ', ready=' + this.f2k_1 + ', tag=' + this.g2k_1 + ')';
|
|
2675
2675
|
};
|
|
2676
2676
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
2677
|
-
var result = this.
|
|
2678
|
-
result = imul(result, 31) + (this.
|
|
2677
|
+
var result = this.a2k_1 == null ? 0 : this.a2k_1.hashCode();
|
|
2678
|
+
result = imul(result, 31) + (this.b2k_1 == null ? 0 : getStringHashCode(this.b2k_1)) | 0;
|
|
2679
|
+
result = imul(result, 31) + (this.c2k_1 == null ? 0 : getStringHashCode(this.c2k_1)) | 0;
|
|
2680
|
+
result = imul(result, 31) + (this.d2k_1 == null ? 0 : getStringHashCode(this.d2k_1)) | 0;
|
|
2681
|
+
result = imul(result, 31) + this.e2k_1.hashCode() | 0;
|
|
2682
|
+
result = imul(result, 31) + (this.f2k_1 | 0) | 0;
|
|
2679
2683
|
result = imul(result, 31) + (this.g2k_1 == null ? 0 : getStringHashCode(this.g2k_1)) | 0;
|
|
2680
|
-
result = imul(result, 31) + (this.h2k_1 == null ? 0 : getStringHashCode(this.h2k_1)) | 0;
|
|
2681
|
-
result = imul(result, 31) + this.i2k_1.hashCode() | 0;
|
|
2682
|
-
result = imul(result, 31) + (this.j2k_1 | 0) | 0;
|
|
2683
|
-
result = imul(result, 31) + (this.k2k_1 == null ? 0 : getStringHashCode(this.k2k_1)) | 0;
|
|
2684
2684
|
return result;
|
|
2685
2685
|
};
|
|
2686
2686
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -2689,19 +2689,19 @@
|
|
|
2689
2689
|
if (!(other instanceof PlayerStateDto))
|
|
2690
2690
|
return false;
|
|
2691
2691
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
2692
|
-
if (!equals(this.
|
|
2692
|
+
if (!equals(this.a2k_1, tmp0_other_with_cast.a2k_1))
|
|
2693
2693
|
return false;
|
|
2694
|
-
if (!(this.
|
|
2694
|
+
if (!(this.b2k_1 == tmp0_other_with_cast.b2k_1))
|
|
2695
2695
|
return false;
|
|
2696
|
-
if (!(this.
|
|
2696
|
+
if (!(this.c2k_1 == tmp0_other_with_cast.c2k_1))
|
|
2697
2697
|
return false;
|
|
2698
|
-
if (!(this.
|
|
2698
|
+
if (!(this.d2k_1 == tmp0_other_with_cast.d2k_1))
|
|
2699
2699
|
return false;
|
|
2700
|
-
if (!this.
|
|
2700
|
+
if (!this.e2k_1.equals(tmp0_other_with_cast.e2k_1))
|
|
2701
2701
|
return false;
|
|
2702
|
-
if (!(this.
|
|
2702
|
+
if (!(this.f2k_1 === tmp0_other_with_cast.f2k_1))
|
|
2703
2703
|
return false;
|
|
2704
|
-
if (!(this.
|
|
2704
|
+
if (!(this.g2k_1 == tmp0_other_with_cast.g2k_1))
|
|
2705
2705
|
return false;
|
|
2706
2706
|
return true;
|
|
2707
2707
|
};
|
|
@@ -2717,29 +2717,29 @@
|
|
|
2717
2717
|
function $serializer_7() {
|
|
2718
2718
|
$serializer_instance_7 = this;
|
|
2719
2719
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.data.models.serializable.rules.RulesDto', this, 17);
|
|
2720
|
-
tmp0_serialDesc.
|
|
2721
|
-
tmp0_serialDesc.
|
|
2722
|
-
tmp0_serialDesc.
|
|
2723
|
-
tmp0_serialDesc.
|
|
2724
|
-
tmp0_serialDesc.
|
|
2725
|
-
tmp0_serialDesc.
|
|
2726
|
-
tmp0_serialDesc.
|
|
2727
|
-
tmp0_serialDesc.
|
|
2728
|
-
tmp0_serialDesc.
|
|
2729
|
-
tmp0_serialDesc.
|
|
2730
|
-
tmp0_serialDesc.
|
|
2731
|
-
tmp0_serialDesc.
|
|
2732
|
-
tmp0_serialDesc.
|
|
2733
|
-
tmp0_serialDesc.
|
|
2734
|
-
tmp0_serialDesc.
|
|
2735
|
-
tmp0_serialDesc.
|
|
2736
|
-
tmp0_serialDesc.
|
|
2737
|
-
this.
|
|
2738
|
-
}
|
|
2739
|
-
protoOf($serializer_7).
|
|
2740
|
-
return this.
|
|
2741
|
-
};
|
|
2742
|
-
protoOf($serializer_7).
|
|
2720
|
+
tmp0_serialDesc.n1m('needToPutHigherTrump', false);
|
|
2721
|
+
tmp0_serialDesc.n1m('distributePoints', false);
|
|
2722
|
+
tmp0_serialDesc.n1m('protectBella', false);
|
|
2723
|
+
tmp0_serialDesc.n1m('oneTryToProtectBella', true);
|
|
2724
|
+
tmp0_serialDesc.n1m('enableFourSevensCombination', false);
|
|
2725
|
+
tmp0_serialDesc.n1m('enableTrumpSevenCombination', false);
|
|
2726
|
+
tmp0_serialDesc.n1m('enableTrumpSevenCombinationAfterDistribution', false);
|
|
2727
|
+
tmp0_serialDesc.n1m('playerWhoChooseSuitGoFirst', false);
|
|
2728
|
+
tmp0_serialDesc.n1m('winnerShuffleCards', false);
|
|
2729
|
+
tmp0_serialDesc.n1m('playWithoutLiabilities', false);
|
|
2730
|
+
tmp0_serialDesc.n1m('trumpCardGoToPlayerWhoShuffleCards', false);
|
|
2731
|
+
tmp0_serialDesc.n1m('enableFineIfNoBribes', false);
|
|
2732
|
+
tmp0_serialDesc.n1m('fineIfNoBribes', false);
|
|
2733
|
+
tmp0_serialDesc.n1m('enableFineAfterThirdByte', false);
|
|
2734
|
+
tmp0_serialDesc.n1m('checkTrumpCombination', false);
|
|
2735
|
+
tmp0_serialDesc.n1m('checkOnlyTrumpDebertz', false);
|
|
2736
|
+
tmp0_serialDesc.n1m('tenCardsInHand', false);
|
|
2737
|
+
this.n2k_1 = tmp0_serialDesc;
|
|
2738
|
+
}
|
|
2739
|
+
protoOf($serializer_7).b1c = function () {
|
|
2740
|
+
return this.n2k_1;
|
|
2741
|
+
};
|
|
2742
|
+
protoOf($serializer_7).c1n = function () {
|
|
2743
2743
|
var tmp$ret$2;
|
|
2744
2744
|
// Inline function 'kotlin.arrayOf' call
|
|
2745
2745
|
var tmp0_arrayOf = [BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), IntSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance(), BooleanSerializer_getInstance()];
|
|
@@ -2752,8 +2752,8 @@
|
|
|
2752
2752
|
tmp$ret$2 = tmp$ret$1;
|
|
2753
2753
|
return tmp$ret$2;
|
|
2754
2754
|
};
|
|
2755
|
-
protoOf($serializer_7).
|
|
2756
|
-
var tmp0_desc = this.
|
|
2755
|
+
protoOf($serializer_7).d1c = function (decoder) {
|
|
2756
|
+
var tmp0_desc = this.n2k_1;
|
|
2757
2757
|
var tmp1_flag = true;
|
|
2758
2758
|
var tmp2_index = 0;
|
|
2759
2759
|
var tmp3_bitMask0 = 0;
|
|
@@ -2774,150 +2774,150 @@
|
|
|
2774
2774
|
var tmp18_local14 = false;
|
|
2775
2775
|
var tmp19_local15 = false;
|
|
2776
2776
|
var tmp20_local16 = false;
|
|
2777
|
-
var tmp21_input = decoder.
|
|
2778
|
-
if (tmp21_input.
|
|
2779
|
-
tmp4_local0 = tmp21_input.
|
|
2777
|
+
var tmp21_input = decoder.i1f(tmp0_desc);
|
|
2778
|
+
if (tmp21_input.y1f()) {
|
|
2779
|
+
tmp4_local0 = tmp21_input.k1f(tmp0_desc, 0);
|
|
2780
2780
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2781
|
-
tmp5_local1 = tmp21_input.
|
|
2781
|
+
tmp5_local1 = tmp21_input.k1f(tmp0_desc, 1);
|
|
2782
2782
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2783
|
-
tmp6_local2 = tmp21_input.
|
|
2783
|
+
tmp6_local2 = tmp21_input.k1f(tmp0_desc, 2);
|
|
2784
2784
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2785
|
-
tmp7_local3 = tmp21_input.
|
|
2785
|
+
tmp7_local3 = tmp21_input.w1f(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2786
2786
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2787
|
-
tmp8_local4 = tmp21_input.
|
|
2787
|
+
tmp8_local4 = tmp21_input.k1f(tmp0_desc, 4);
|
|
2788
2788
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2789
|
-
tmp9_local5 = tmp21_input.
|
|
2789
|
+
tmp9_local5 = tmp21_input.k1f(tmp0_desc, 5);
|
|
2790
2790
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2791
|
-
tmp10_local6 = tmp21_input.
|
|
2791
|
+
tmp10_local6 = tmp21_input.k1f(tmp0_desc, 6);
|
|
2792
2792
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2793
|
-
tmp11_local7 = tmp21_input.
|
|
2793
|
+
tmp11_local7 = tmp21_input.k1f(tmp0_desc, 7);
|
|
2794
2794
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2795
|
-
tmp12_local8 = tmp21_input.
|
|
2795
|
+
tmp12_local8 = tmp21_input.k1f(tmp0_desc, 8);
|
|
2796
2796
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2797
|
-
tmp13_local9 = tmp21_input.
|
|
2797
|
+
tmp13_local9 = tmp21_input.k1f(tmp0_desc, 9);
|
|
2798
2798
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2799
|
-
tmp14_local10 = tmp21_input.
|
|
2799
|
+
tmp14_local10 = tmp21_input.k1f(tmp0_desc, 10);
|
|
2800
2800
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2801
|
-
tmp15_local11 = tmp21_input.
|
|
2801
|
+
tmp15_local11 = tmp21_input.k1f(tmp0_desc, 11);
|
|
2802
2802
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2803
|
-
tmp16_local12 = tmp21_input.
|
|
2803
|
+
tmp16_local12 = tmp21_input.n1f(tmp0_desc, 12);
|
|
2804
2804
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2805
|
-
tmp17_local13 = tmp21_input.
|
|
2805
|
+
tmp17_local13 = tmp21_input.k1f(tmp0_desc, 13);
|
|
2806
2806
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2807
|
-
tmp18_local14 = tmp21_input.
|
|
2807
|
+
tmp18_local14 = tmp21_input.k1f(tmp0_desc, 14);
|
|
2808
2808
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2809
|
-
tmp19_local15 = tmp21_input.
|
|
2809
|
+
tmp19_local15 = tmp21_input.k1f(tmp0_desc, 15);
|
|
2810
2810
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2811
|
-
tmp20_local16 = tmp21_input.
|
|
2811
|
+
tmp20_local16 = tmp21_input.k1f(tmp0_desc, 16);
|
|
2812
2812
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2813
2813
|
} else
|
|
2814
2814
|
while (tmp1_flag) {
|
|
2815
|
-
tmp2_index = tmp21_input.
|
|
2815
|
+
tmp2_index = tmp21_input.z1f(tmp0_desc);
|
|
2816
2816
|
switch (tmp2_index) {
|
|
2817
2817
|
case -1:
|
|
2818
2818
|
tmp1_flag = false;
|
|
2819
2819
|
break;
|
|
2820
2820
|
case 0:
|
|
2821
|
-
tmp4_local0 = tmp21_input.
|
|
2821
|
+
tmp4_local0 = tmp21_input.k1f(tmp0_desc, 0);
|
|
2822
2822
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2823
2823
|
break;
|
|
2824
2824
|
case 1:
|
|
2825
|
-
tmp5_local1 = tmp21_input.
|
|
2825
|
+
tmp5_local1 = tmp21_input.k1f(tmp0_desc, 1);
|
|
2826
2826
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2827
2827
|
break;
|
|
2828
2828
|
case 2:
|
|
2829
|
-
tmp6_local2 = tmp21_input.
|
|
2829
|
+
tmp6_local2 = tmp21_input.k1f(tmp0_desc, 2);
|
|
2830
2830
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2831
2831
|
break;
|
|
2832
2832
|
case 3:
|
|
2833
|
-
tmp7_local3 = tmp21_input.
|
|
2833
|
+
tmp7_local3 = tmp21_input.w1f(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2834
2834
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2835
2835
|
break;
|
|
2836
2836
|
case 4:
|
|
2837
|
-
tmp8_local4 = tmp21_input.
|
|
2837
|
+
tmp8_local4 = tmp21_input.k1f(tmp0_desc, 4);
|
|
2838
2838
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2839
2839
|
break;
|
|
2840
2840
|
case 5:
|
|
2841
|
-
tmp9_local5 = tmp21_input.
|
|
2841
|
+
tmp9_local5 = tmp21_input.k1f(tmp0_desc, 5);
|
|
2842
2842
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2843
2843
|
break;
|
|
2844
2844
|
case 6:
|
|
2845
|
-
tmp10_local6 = tmp21_input.
|
|
2845
|
+
tmp10_local6 = tmp21_input.k1f(tmp0_desc, 6);
|
|
2846
2846
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2847
2847
|
break;
|
|
2848
2848
|
case 7:
|
|
2849
|
-
tmp11_local7 = tmp21_input.
|
|
2849
|
+
tmp11_local7 = tmp21_input.k1f(tmp0_desc, 7);
|
|
2850
2850
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2851
2851
|
break;
|
|
2852
2852
|
case 8:
|
|
2853
|
-
tmp12_local8 = tmp21_input.
|
|
2853
|
+
tmp12_local8 = tmp21_input.k1f(tmp0_desc, 8);
|
|
2854
2854
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2855
2855
|
break;
|
|
2856
2856
|
case 9:
|
|
2857
|
-
tmp13_local9 = tmp21_input.
|
|
2857
|
+
tmp13_local9 = tmp21_input.k1f(tmp0_desc, 9);
|
|
2858
2858
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
2859
2859
|
break;
|
|
2860
2860
|
case 10:
|
|
2861
|
-
tmp14_local10 = tmp21_input.
|
|
2861
|
+
tmp14_local10 = tmp21_input.k1f(tmp0_desc, 10);
|
|
2862
2862
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
2863
2863
|
break;
|
|
2864
2864
|
case 11:
|
|
2865
|
-
tmp15_local11 = tmp21_input.
|
|
2865
|
+
tmp15_local11 = tmp21_input.k1f(tmp0_desc, 11);
|
|
2866
2866
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
2867
2867
|
break;
|
|
2868
2868
|
case 12:
|
|
2869
|
-
tmp16_local12 = tmp21_input.
|
|
2869
|
+
tmp16_local12 = tmp21_input.n1f(tmp0_desc, 12);
|
|
2870
2870
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
2871
2871
|
break;
|
|
2872
2872
|
case 13:
|
|
2873
|
-
tmp17_local13 = tmp21_input.
|
|
2873
|
+
tmp17_local13 = tmp21_input.k1f(tmp0_desc, 13);
|
|
2874
2874
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
2875
2875
|
break;
|
|
2876
2876
|
case 14:
|
|
2877
|
-
tmp18_local14 = tmp21_input.
|
|
2877
|
+
tmp18_local14 = tmp21_input.k1f(tmp0_desc, 14);
|
|
2878
2878
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
2879
2879
|
break;
|
|
2880
2880
|
case 15:
|
|
2881
|
-
tmp19_local15 = tmp21_input.
|
|
2881
|
+
tmp19_local15 = tmp21_input.k1f(tmp0_desc, 15);
|
|
2882
2882
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
2883
2883
|
break;
|
|
2884
2884
|
case 16:
|
|
2885
|
-
tmp20_local16 = tmp21_input.
|
|
2885
|
+
tmp20_local16 = tmp21_input.k1f(tmp0_desc, 16);
|
|
2886
2886
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
2887
2887
|
break;
|
|
2888
2888
|
default:
|
|
2889
2889
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2890
2890
|
}
|
|
2891
2891
|
}
|
|
2892
|
-
tmp21_input.
|
|
2892
|
+
tmp21_input.j1f(tmp0_desc);
|
|
2893
2893
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
2894
2894
|
};
|
|
2895
|
-
protoOf($serializer_7).
|
|
2896
|
-
var tmp0_desc = this.
|
|
2897
|
-
var tmp1_output = encoder.
|
|
2898
|
-
tmp1_output.
|
|
2899
|
-
tmp1_output.
|
|
2900
|
-
tmp1_output.
|
|
2901
|
-
if (tmp1_output.
|
|
2902
|
-
tmp1_output.
|
|
2895
|
+
protoOf($serializer_7).o2k = function (encoder, value) {
|
|
2896
|
+
var tmp0_desc = this.n2k_1;
|
|
2897
|
+
var tmp1_output = encoder.i1f(tmp0_desc);
|
|
2898
|
+
tmp1_output.p1g(tmp0_desc, 0, value.f2j_1);
|
|
2899
|
+
tmp1_output.p1g(tmp0_desc, 1, value.g2j_1);
|
|
2900
|
+
tmp1_output.p1g(tmp0_desc, 2, value.h2j_1);
|
|
2901
|
+
if (tmp1_output.f1h(tmp0_desc, 3) ? true : !(value.i2j_1 == null)) {
|
|
2902
|
+
tmp1_output.b1h(tmp0_desc, 3, BooleanSerializer_getInstance(), value.i2j_1);
|
|
2903
2903
|
}
|
|
2904
|
-
tmp1_output.
|
|
2905
|
-
tmp1_output.
|
|
2906
|
-
tmp1_output.
|
|
2907
|
-
tmp1_output.
|
|
2908
|
-
tmp1_output.
|
|
2909
|
-
tmp1_output.
|
|
2910
|
-
tmp1_output.
|
|
2911
|
-
tmp1_output.
|
|
2912
|
-
tmp1_output.
|
|
2913
|
-
tmp1_output.
|
|
2914
|
-
tmp1_output.
|
|
2915
|
-
tmp1_output.
|
|
2916
|
-
tmp1_output.
|
|
2917
|
-
tmp1_output.
|
|
2918
|
-
};
|
|
2919
|
-
protoOf($serializer_7).
|
|
2920
|
-
return this.
|
|
2904
|
+
tmp1_output.p1g(tmp0_desc, 4, value.j2j_1);
|
|
2905
|
+
tmp1_output.p1g(tmp0_desc, 5, value.k2j_1);
|
|
2906
|
+
tmp1_output.p1g(tmp0_desc, 6, value.l2j_1);
|
|
2907
|
+
tmp1_output.p1g(tmp0_desc, 7, value.m2j_1);
|
|
2908
|
+
tmp1_output.p1g(tmp0_desc, 8, value.n2j_1);
|
|
2909
|
+
tmp1_output.p1g(tmp0_desc, 9, value.o2j_1);
|
|
2910
|
+
tmp1_output.p1g(tmp0_desc, 10, value.p2j_1);
|
|
2911
|
+
tmp1_output.p1g(tmp0_desc, 11, value.q2j_1);
|
|
2912
|
+
tmp1_output.s1g(tmp0_desc, 12, value.r2j_1);
|
|
2913
|
+
tmp1_output.p1g(tmp0_desc, 13, value.s2j_1);
|
|
2914
|
+
tmp1_output.p1g(tmp0_desc, 14, value.t2j_1);
|
|
2915
|
+
tmp1_output.p1g(tmp0_desc, 15, value.u2j_1);
|
|
2916
|
+
tmp1_output.p1g(tmp0_desc, 16, value.v2j_1);
|
|
2917
|
+
tmp1_output.j1f(tmp0_desc);
|
|
2918
|
+
};
|
|
2919
|
+
protoOf($serializer_7).c1c = function (encoder, value) {
|
|
2920
|
+
return this.o2k(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
2921
2921
|
};
|
|
2922
2922
|
var $serializer_instance_7;
|
|
2923
2923
|
function $serializer_getInstance_7() {
|
|
@@ -2927,28 +2927,28 @@
|
|
|
2927
2927
|
}
|
|
2928
2928
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
2929
2929
|
if (!(131063 === (131063 & seen1))) {
|
|
2930
|
-
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().
|
|
2930
|
+
throwMissingFieldException(seen1, 131063, $serializer_getInstance_7().n2k_1);
|
|
2931
2931
|
}
|
|
2932
|
-
$this.
|
|
2933
|
-
$this.
|
|
2934
|
-
$this.
|
|
2932
|
+
$this.f2j_1 = needToPutHigherTrump;
|
|
2933
|
+
$this.g2j_1 = distributePoints;
|
|
2934
|
+
$this.h2j_1 = protectBella;
|
|
2935
2935
|
if (0 === (seen1 & 8))
|
|
2936
|
-
$this.
|
|
2936
|
+
$this.i2j_1 = null;
|
|
2937
2937
|
else
|
|
2938
|
-
$this.
|
|
2939
|
-
$this.
|
|
2940
|
-
$this.
|
|
2941
|
-
$this.
|
|
2942
|
-
$this.
|
|
2943
|
-
$this.
|
|
2944
|
-
$this.
|
|
2945
|
-
$this.
|
|
2946
|
-
$this.
|
|
2947
|
-
$this.
|
|
2948
|
-
$this.
|
|
2949
|
-
$this.
|
|
2950
|
-
$this.
|
|
2951
|
-
$this.
|
|
2938
|
+
$this.i2j_1 = oneTryToProtectBella;
|
|
2939
|
+
$this.j2j_1 = enableFourSevensCombination;
|
|
2940
|
+
$this.k2j_1 = enableTrumpSevenCombination;
|
|
2941
|
+
$this.l2j_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2942
|
+
$this.m2j_1 = playerWhoChooseSuitGoFirst;
|
|
2943
|
+
$this.n2j_1 = winnerShuffleCards;
|
|
2944
|
+
$this.o2j_1 = playWithoutLiabilities;
|
|
2945
|
+
$this.p2j_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2946
|
+
$this.q2j_1 = enableFineIfNoBribes;
|
|
2947
|
+
$this.r2j_1 = fineIfNoBribes;
|
|
2948
|
+
$this.s2j_1 = enableFineAfterThirdByte;
|
|
2949
|
+
$this.t2j_1 = checkTrumpCombination;
|
|
2950
|
+
$this.u2j_1 = checkOnlyTrumpDebertz;
|
|
2951
|
+
$this.v2j_1 = tenCardsInHand;
|
|
2952
2952
|
return $this;
|
|
2953
2953
|
}
|
|
2954
2954
|
function RulesDto_init_$Create$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker) {
|
|
@@ -2957,45 +2957,45 @@
|
|
|
2957
2957
|
function RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2958
2958
|
Companion_getInstance_16();
|
|
2959
2959
|
oneTryToProtectBella = oneTryToProtectBella === VOID ? null : oneTryToProtectBella;
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2963
|
-
this.
|
|
2964
|
-
this.
|
|
2965
|
-
this.
|
|
2966
|
-
this.
|
|
2967
|
-
this.
|
|
2968
|
-
this.
|
|
2969
|
-
this.
|
|
2970
|
-
this.
|
|
2971
|
-
this.
|
|
2972
|
-
this.
|
|
2973
|
-
this.
|
|
2974
|
-
this.
|
|
2975
|
-
this.
|
|
2976
|
-
this.
|
|
2960
|
+
this.f2j_1 = needToPutHigherTrump;
|
|
2961
|
+
this.g2j_1 = distributePoints;
|
|
2962
|
+
this.h2j_1 = protectBella;
|
|
2963
|
+
this.i2j_1 = oneTryToProtectBella;
|
|
2964
|
+
this.j2j_1 = enableFourSevensCombination;
|
|
2965
|
+
this.k2j_1 = enableTrumpSevenCombination;
|
|
2966
|
+
this.l2j_1 = enableTrumpSevenCombinationAfterDistribution;
|
|
2967
|
+
this.m2j_1 = playerWhoChooseSuitGoFirst;
|
|
2968
|
+
this.n2j_1 = winnerShuffleCards;
|
|
2969
|
+
this.o2j_1 = playWithoutLiabilities;
|
|
2970
|
+
this.p2j_1 = trumpCardGoToPlayerWhoShuffleCards;
|
|
2971
|
+
this.q2j_1 = enableFineIfNoBribes;
|
|
2972
|
+
this.r2j_1 = fineIfNoBribes;
|
|
2973
|
+
this.s2j_1 = enableFineAfterThirdByte;
|
|
2974
|
+
this.t2j_1 = checkTrumpCombination;
|
|
2975
|
+
this.u2j_1 = checkOnlyTrumpDebertz;
|
|
2976
|
+
this.v2j_1 = tenCardsInHand;
|
|
2977
2977
|
}
|
|
2978
2978
|
protoOf(RulesDto).toString = function () {
|
|
2979
|
-
return 'RulesDto(needToPutHigherTrump=' + this.
|
|
2979
|
+
return 'RulesDto(needToPutHigherTrump=' + this.f2j_1 + ', distributePoints=' + this.g2j_1 + ', protectBella=' + this.h2j_1 + ', oneTryToProtectBella=' + this.i2j_1 + ', enableFourSevensCombination=' + this.j2j_1 + ', enableTrumpSevenCombination=' + this.k2j_1 + ', enableTrumpSevenCombinationAfterDistribution=' + this.l2j_1 + ', playerWhoChooseSuitGoFirst=' + this.m2j_1 + ', winnerShuffleCards=' + this.n2j_1 + ', playWithoutLiabilities=' + this.o2j_1 + ', trumpCardGoToPlayerWhoShuffleCards=' + this.p2j_1 + ', enableFineIfNoBribes=' + this.q2j_1 + ', fineIfNoBribes=' + this.r2j_1 + ', enableFineAfterThirdByte=' + this.s2j_1 + ', checkTrumpCombination=' + this.t2j_1 + ', checkOnlyTrumpDebertz=' + this.u2j_1 + ', tenCardsInHand=' + this.v2j_1 + ')';
|
|
2980
2980
|
};
|
|
2981
2981
|
protoOf(RulesDto).hashCode = function () {
|
|
2982
|
-
var result = this.
|
|
2982
|
+
var result = this.f2j_1 | 0;
|
|
2983
|
+
result = imul(result, 31) + (this.g2j_1 | 0) | 0;
|
|
2984
|
+
result = imul(result, 31) + (this.h2j_1 | 0) | 0;
|
|
2985
|
+
result = imul(result, 31) + (this.i2j_1 == null ? 0 : this.i2j_1 | 0) | 0;
|
|
2986
|
+
result = imul(result, 31) + (this.j2j_1 | 0) | 0;
|
|
2983
2987
|
result = imul(result, 31) + (this.k2j_1 | 0) | 0;
|
|
2984
2988
|
result = imul(result, 31) + (this.l2j_1 | 0) | 0;
|
|
2985
|
-
result = imul(result, 31) + (this.m2j_1
|
|
2989
|
+
result = imul(result, 31) + (this.m2j_1 | 0) | 0;
|
|
2986
2990
|
result = imul(result, 31) + (this.n2j_1 | 0) | 0;
|
|
2987
2991
|
result = imul(result, 31) + (this.o2j_1 | 0) | 0;
|
|
2988
2992
|
result = imul(result, 31) + (this.p2j_1 | 0) | 0;
|
|
2989
2993
|
result = imul(result, 31) + (this.q2j_1 | 0) | 0;
|
|
2990
|
-
result = imul(result, 31) +
|
|
2994
|
+
result = imul(result, 31) + this.r2j_1 | 0;
|
|
2991
2995
|
result = imul(result, 31) + (this.s2j_1 | 0) | 0;
|
|
2992
2996
|
result = imul(result, 31) + (this.t2j_1 | 0) | 0;
|
|
2993
2997
|
result = imul(result, 31) + (this.u2j_1 | 0) | 0;
|
|
2994
|
-
result = imul(result, 31) + this.v2j_1 | 0;
|
|
2995
|
-
result = imul(result, 31) + (this.w2j_1 | 0) | 0;
|
|
2996
|
-
result = imul(result, 31) + (this.x2j_1 | 0) | 0;
|
|
2997
|
-
result = imul(result, 31) + (this.y2j_1 | 0) | 0;
|
|
2998
|
-
result = imul(result, 31) + (this.z2j_1 | 0) | 0;
|
|
2998
|
+
result = imul(result, 31) + (this.v2j_1 | 0) | 0;
|
|
2999
2999
|
return result;
|
|
3000
3000
|
};
|
|
3001
3001
|
protoOf(RulesDto).equals = function (other) {
|
|
@@ -3004,13 +3004,21 @@
|
|
|
3004
3004
|
if (!(other instanceof RulesDto))
|
|
3005
3005
|
return false;
|
|
3006
3006
|
var tmp0_other_with_cast = other instanceof RulesDto ? other : THROW_CCE();
|
|
3007
|
+
if (!(this.f2j_1 === tmp0_other_with_cast.f2j_1))
|
|
3008
|
+
return false;
|
|
3009
|
+
if (!(this.g2j_1 === tmp0_other_with_cast.g2j_1))
|
|
3010
|
+
return false;
|
|
3011
|
+
if (!(this.h2j_1 === tmp0_other_with_cast.h2j_1))
|
|
3012
|
+
return false;
|
|
3013
|
+
if (!(this.i2j_1 == tmp0_other_with_cast.i2j_1))
|
|
3014
|
+
return false;
|
|
3007
3015
|
if (!(this.j2j_1 === tmp0_other_with_cast.j2j_1))
|
|
3008
3016
|
return false;
|
|
3009
3017
|
if (!(this.k2j_1 === tmp0_other_with_cast.k2j_1))
|
|
3010
3018
|
return false;
|
|
3011
3019
|
if (!(this.l2j_1 === tmp0_other_with_cast.l2j_1))
|
|
3012
3020
|
return false;
|
|
3013
|
-
if (!(this.m2j_1
|
|
3021
|
+
if (!(this.m2j_1 === tmp0_other_with_cast.m2j_1))
|
|
3014
3022
|
return false;
|
|
3015
3023
|
if (!(this.n2j_1 === tmp0_other_with_cast.n2j_1))
|
|
3016
3024
|
return false;
|
|
@@ -3030,25 +3038,17 @@
|
|
|
3030
3038
|
return false;
|
|
3031
3039
|
if (!(this.v2j_1 === tmp0_other_with_cast.v2j_1))
|
|
3032
3040
|
return false;
|
|
3033
|
-
if (!(this.w2j_1 === tmp0_other_with_cast.w2j_1))
|
|
3034
|
-
return false;
|
|
3035
|
-
if (!(this.x2j_1 === tmp0_other_with_cast.x2j_1))
|
|
3036
|
-
return false;
|
|
3037
|
-
if (!(this.y2j_1 === tmp0_other_with_cast.y2j_1))
|
|
3038
|
-
return false;
|
|
3039
|
-
if (!(this.z2j_1 === tmp0_other_with_cast.z2j_1))
|
|
3040
|
-
return false;
|
|
3041
3041
|
return true;
|
|
3042
3042
|
};
|
|
3043
3043
|
function CardIndexComparator() {
|
|
3044
3044
|
CardIndexComparator_instance = this;
|
|
3045
3045
|
}
|
|
3046
|
-
protoOf(CardIndexComparator).
|
|
3047
|
-
return a.
|
|
3046
|
+
protoOf(CardIndexComparator).p2k = function (a, b) {
|
|
3047
|
+
return a.c2j_1 - b.c2j_1 | 0;
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3050
3050
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3051
|
-
return this.
|
|
3051
|
+
return this.p2k(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3052
3052
|
};
|
|
3053
3053
|
var CardIndexComparator_instance;
|
|
3054
3054
|
function CardIndexComparator_getInstance() {
|
|
@@ -3057,15 +3057,15 @@
|
|
|
3057
3057
|
return CardIndexComparator_instance;
|
|
3058
3058
|
}
|
|
3059
3059
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3060
|
-
this.
|
|
3061
|
-
this.
|
|
3060
|
+
this.q2k_1 = trump;
|
|
3061
|
+
this.r2k_1 = firstCardSuit;
|
|
3062
3062
|
}
|
|
3063
|
-
protoOf(CardGrowthComparator).
|
|
3064
|
-
return getGrowth(b, this.
|
|
3063
|
+
protoOf(CardGrowthComparator).p2k = function (a, b) {
|
|
3064
|
+
return getGrowth(b, this.q2k_1, this.r2k_1) - getGrowth(a, this.q2k_1, this.r2k_1) | 0;
|
|
3065
3065
|
};
|
|
3066
3066
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3067
3067
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3068
|
-
return this.
|
|
3068
|
+
return this.p2k(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3069
3069
|
};
|
|
3070
3070
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3071
3071
|
var tmp$ret$1;
|
|
@@ -3106,12 +3106,12 @@
|
|
|
3106
3106
|
function CardNumberComparator() {
|
|
3107
3107
|
CardNumberComparator_instance = this;
|
|
3108
3108
|
}
|
|
3109
|
-
protoOf(CardNumberComparator).
|
|
3110
|
-
return b.
|
|
3109
|
+
protoOf(CardNumberComparator).p2k = function (a, b) {
|
|
3110
|
+
return b.s2k() - a.s2k() | 0;
|
|
3111
3111
|
};
|
|
3112
3112
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
3113
3113
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3114
|
-
return this.
|
|
3114
|
+
return this.p2k(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3115
3115
|
};
|
|
3116
3116
|
var CardNumberComparator_instance;
|
|
3117
3117
|
function CardNumberComparator_getInstance() {
|
|
@@ -3120,13 +3120,13 @@
|
|
|
3120
3120
|
return CardNumberComparator_instance;
|
|
3121
3121
|
}
|
|
3122
3122
|
function getPoint(_this__u8e3s4, trump) {
|
|
3123
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3123
|
+
var isTrump = trump.equals(_this__u8e3s4.t2k());
|
|
3124
3124
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
3125
3125
|
}
|
|
3126
3126
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3127
3127
|
var minPoint = 0;
|
|
3128
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3129
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3128
|
+
var isTrump = trump.equals(_this__u8e3s4.t2k());
|
|
3129
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.t2k());
|
|
3130
3130
|
var minGrowth;
|
|
3131
3131
|
var maxGrowth;
|
|
3132
3132
|
var tmp0_subject = _this__u8e3s4.yg();
|
|
@@ -3220,7 +3220,7 @@
|
|
|
3220
3220
|
return tmp;
|
|
3221
3221
|
}
|
|
3222
3222
|
function getValueInHand(_this__u8e3s4, trump) {
|
|
3223
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3223
|
+
var isTrump = trump.equals(_this__u8e3s4.t2k());
|
|
3224
3224
|
return getValueInHand_0(_this__u8e3s4, isTrump);
|
|
3225
3225
|
}
|
|
3226
3226
|
function getValueInHand_0(_this__u8e3s4, isTrump) {
|
|
@@ -3309,7 +3309,7 @@
|
|
|
3309
3309
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3310
3310
|
var tmp$ret$0;
|
|
3311
3311
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
3312
|
-
tmp$ret$0 = p1.
|
|
3312
|
+
tmp$ret$0 = p1.t2k().equals(element);
|
|
3313
3313
|
if (tmp$ret$0) {
|
|
3314
3314
|
tmp$ret$1 = true;
|
|
3315
3315
|
break $l$block;
|
|
@@ -3410,10 +3410,10 @@
|
|
|
3410
3410
|
function Companion_16() {
|
|
3411
3411
|
Companion_instance_16 = this;
|
|
3412
3412
|
}
|
|
3413
|
-
protoOf(Companion_16).
|
|
3413
|
+
protoOf(Companion_16).u2k = function (suit, cardNumber) {
|
|
3414
3414
|
return new GameCard(getNumber(Companion_getInstance_18(), cardNumber, suit));
|
|
3415
3415
|
};
|
|
3416
|
-
protoOf(Companion_16).
|
|
3416
|
+
protoOf(Companion_16).v2k = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
3417
3417
|
var tmp0_safe_receiver = previousStubCardWithMaxIndex;
|
|
3418
3418
|
var tmp;
|
|
3419
3419
|
if (tmp0_safe_receiver == null) {
|
|
@@ -3425,7 +3425,7 @@
|
|
|
3425
3425
|
var tmp_0;
|
|
3426
3426
|
var tmp$ret$0;
|
|
3427
3427
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
3428
|
-
tmp$ret$0 = tmp0_safe_receiver.
|
|
3428
|
+
tmp$ret$0 = tmp0_safe_receiver.w2k();
|
|
3429
3429
|
if (tmp$ret$0) {
|
|
3430
3430
|
tmp_0 = tmp0_safe_receiver;
|
|
3431
3431
|
} else {
|
|
@@ -3435,8 +3435,8 @@
|
|
|
3435
3435
|
tmp = tmp$ret$1;
|
|
3436
3436
|
}
|
|
3437
3437
|
var tmp1_safe_receiver = tmp;
|
|
3438
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3439
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_18().
|
|
3438
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c2j_1;
|
|
3439
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_getInstance_18().b2l(tmp2_safe_receiver, playerIndex, reverse);
|
|
3440
3440
|
var tmp_1;
|
|
3441
3441
|
if (tmp3_safe_receiver == null) {
|
|
3442
3442
|
tmp_1 = null;
|
|
@@ -3465,10 +3465,10 @@
|
|
|
3465
3465
|
var index = tmp_2;
|
|
3466
3466
|
return new GameCard(index);
|
|
3467
3467
|
};
|
|
3468
|
-
protoOf(Companion_16).
|
|
3468
|
+
protoOf(Companion_16).c2l = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
3469
3469
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
3470
3470
|
reverse = reverse === VOID ? false : reverse;
|
|
3471
|
-
return $super === VOID ? this.
|
|
3471
|
+
return $super === VOID ? this.v2k(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.v2k.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
3472
3472
|
};
|
|
3473
3473
|
var Companion_instance_16;
|
|
3474
3474
|
function Companion_getInstance_17() {
|
|
@@ -3578,7 +3578,7 @@
|
|
|
3578
3578
|
}
|
|
3579
3579
|
function _get_isShirt__vd98rp($this) {
|
|
3580
3580
|
Companion_getInstance_18();
|
|
3581
|
-
return $this.
|
|
3581
|
+
return $this.c2j_1 === 52;
|
|
3582
3582
|
}
|
|
3583
3583
|
function CardName(name, ordinal) {
|
|
3584
3584
|
Enum.call(this, name, ordinal);
|
|
@@ -3588,12 +3588,12 @@
|
|
|
3588
3588
|
};
|
|
3589
3589
|
function Companion_17() {
|
|
3590
3590
|
Companion_instance_17 = this;
|
|
3591
|
-
this.
|
|
3592
|
-
this.
|
|
3593
|
-
this.
|
|
3594
|
-
this.
|
|
3591
|
+
this.x2k_1 = -1;
|
|
3592
|
+
this.y2k_1 = 13;
|
|
3593
|
+
this.z2k_1 = 52;
|
|
3594
|
+
this.a2l_1 = 53;
|
|
3595
3595
|
}
|
|
3596
|
-
protoOf(Companion_17).
|
|
3596
|
+
protoOf(Companion_17).b2l = function (_this__u8e3s4, playerIndex, reverse) {
|
|
3597
3597
|
var tmp;
|
|
3598
3598
|
if (reverse) {
|
|
3599
3599
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -3666,67 +3666,67 @@
|
|
|
3666
3666
|
}
|
|
3667
3667
|
function GameCard(index) {
|
|
3668
3668
|
Companion_getInstance_18();
|
|
3669
|
-
this.
|
|
3669
|
+
this.c2j_1 = index;
|
|
3670
3670
|
}
|
|
3671
|
-
protoOf(GameCard).
|
|
3671
|
+
protoOf(GameCard).t2k = function () {
|
|
3672
3672
|
var tmp;
|
|
3673
3673
|
Companion_getInstance_18();
|
|
3674
3674
|
var containsUpper = 13;
|
|
3675
|
-
var containsArg = this.
|
|
3675
|
+
var containsArg = this.c2j_1;
|
|
3676
3676
|
if (0 <= containsArg ? containsArg <= containsUpper : false) {
|
|
3677
3677
|
tmp = Suit_DIAMOND_getInstance();
|
|
3678
3678
|
} else {
|
|
3679
3679
|
Companion_getInstance_18();
|
|
3680
|
-
if (this.
|
|
3680
|
+
if (this.c2j_1 <= imul(13, 2)) {
|
|
3681
3681
|
tmp = Suit_SPADE_getInstance();
|
|
3682
3682
|
} else {
|
|
3683
3683
|
Companion_getInstance_18();
|
|
3684
|
-
if (this.
|
|
3684
|
+
if (this.c2j_1 <= imul(13, 3)) {
|
|
3685
3685
|
tmp = Suit_HEART_getInstance();
|
|
3686
3686
|
} else {
|
|
3687
3687
|
Companion_getInstance_18();
|
|
3688
|
-
if (this.
|
|
3688
|
+
if (this.c2j_1 <= imul(13, 4)) {
|
|
3689
3689
|
tmp = Suit_CLUB_getInstance();
|
|
3690
3690
|
} else {
|
|
3691
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
3691
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.c2j_1);
|
|
3692
3692
|
}
|
|
3693
3693
|
}
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
return tmp;
|
|
3697
3697
|
};
|
|
3698
|
-
protoOf(GameCard).
|
|
3698
|
+
protoOf(GameCard).s2k = function () {
|
|
3699
3699
|
var tmp;
|
|
3700
|
-
if (this.
|
|
3700
|
+
if (this.w2k()) {
|
|
3701
3701
|
Companion_getInstance_18();
|
|
3702
3702
|
tmp = -1;
|
|
3703
3703
|
} else {
|
|
3704
3704
|
Companion_getInstance_18();
|
|
3705
|
-
tmp = this.
|
|
3705
|
+
tmp = this.c2j_1 - imul(13, getIndex(this.t2k())) | 0;
|
|
3706
3706
|
}
|
|
3707
3707
|
return tmp;
|
|
3708
3708
|
};
|
|
3709
3709
|
protoOf(GameCard).yg = function () {
|
|
3710
|
-
return this.
|
|
3710
|
+
return this.w2k() ? CardName_STUB_getInstance() : getName(Companion_getInstance_18(), this.s2k());
|
|
3711
3711
|
};
|
|
3712
|
-
protoOf(GameCard).
|
|
3713
|
-
return !_get_isShirt__vd98rp(this) ? !this.
|
|
3712
|
+
protoOf(GameCard).d2l = function () {
|
|
3713
|
+
return !_get_isShirt__vd98rp(this) ? !this.w2k() : false;
|
|
3714
3714
|
};
|
|
3715
|
-
protoOf(GameCard).
|
|
3715
|
+
protoOf(GameCard).w2k = function () {
|
|
3716
3716
|
Companion_getInstance_18();
|
|
3717
|
-
return this.
|
|
3717
|
+
return this.c2j_1 >= 53;
|
|
3718
3718
|
};
|
|
3719
3719
|
protoOf(GameCard).toString = function () {
|
|
3720
3720
|
if (_get_isShirt__vd98rp(this)) {
|
|
3721
3721
|
return 'GameCard(SHIRT)';
|
|
3722
3722
|
}
|
|
3723
|
-
if (this.
|
|
3724
|
-
return 'GameCard(STUB, ' + this.
|
|
3723
|
+
if (this.w2k()) {
|
|
3724
|
+
return 'GameCard(STUB, ' + this.c2j_1 + ')';
|
|
3725
3725
|
}
|
|
3726
|
-
return 'GameCard(' + this.
|
|
3726
|
+
return 'GameCard(' + this.t2k() + this.yg() + ', ' + this.c2j_1 + ')';
|
|
3727
3727
|
};
|
|
3728
3728
|
protoOf(GameCard).hashCode = function () {
|
|
3729
|
-
return this.
|
|
3729
|
+
return this.c2j_1;
|
|
3730
3730
|
};
|
|
3731
3731
|
protoOf(GameCard).equals = function (other) {
|
|
3732
3732
|
if (this === other)
|
|
@@ -3734,23 +3734,23 @@
|
|
|
3734
3734
|
if (!(other instanceof GameCard))
|
|
3735
3735
|
return false;
|
|
3736
3736
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
3737
|
-
if (!(this.
|
|
3737
|
+
if (!(this.c2j_1 === tmp0_other_with_cast.c2j_1))
|
|
3738
3738
|
return false;
|
|
3739
3739
|
return true;
|
|
3740
3740
|
};
|
|
3741
3741
|
function GameCardWIthPlayerId(playerId, gameCard) {
|
|
3742
|
-
this.
|
|
3743
|
-
this.
|
|
3742
|
+
this.d2j_1 = playerId;
|
|
3743
|
+
this.e2j_1 = gameCard;
|
|
3744
3744
|
}
|
|
3745
|
-
protoOf(GameCardWIthPlayerId).
|
|
3746
|
-
return this.
|
|
3745
|
+
protoOf(GameCardWIthPlayerId).s2f = function () {
|
|
3746
|
+
return this.d2j_1;
|
|
3747
3747
|
};
|
|
3748
3748
|
protoOf(GameCardWIthPlayerId).toString = function () {
|
|
3749
|
-
return 'GameCardWIthPlayerId(playerId=' + this.
|
|
3749
|
+
return 'GameCardWIthPlayerId(playerId=' + this.d2j_1 + ', gameCard=' + this.e2j_1 + ')';
|
|
3750
3750
|
};
|
|
3751
3751
|
protoOf(GameCardWIthPlayerId).hashCode = function () {
|
|
3752
|
-
var result = getStringHashCode(this.
|
|
3753
|
-
result = imul(result, 31) + this.
|
|
3752
|
+
var result = getStringHashCode(this.d2j_1);
|
|
3753
|
+
result = imul(result, 31) + this.e2j_1.hashCode() | 0;
|
|
3754
3754
|
return result;
|
|
3755
3755
|
};
|
|
3756
3756
|
protoOf(GameCardWIthPlayerId).equals = function (other) {
|
|
@@ -3759,25 +3759,25 @@
|
|
|
3759
3759
|
if (!(other instanceof GameCardWIthPlayerId))
|
|
3760
3760
|
return false;
|
|
3761
3761
|
var tmp0_other_with_cast = other instanceof GameCardWIthPlayerId ? other : THROW_CCE();
|
|
3762
|
-
if (!(this.
|
|
3762
|
+
if (!(this.d2j_1 === tmp0_other_with_cast.d2j_1))
|
|
3763
3763
|
return false;
|
|
3764
|
-
if (!this.
|
|
3764
|
+
if (!this.e2j_1.equals(tmp0_other_with_cast.e2j_1))
|
|
3765
3765
|
return false;
|
|
3766
3766
|
return true;
|
|
3767
3767
|
};
|
|
3768
3768
|
defineProp(protoOf(GameCardWIthPlayerId), 'playerId', function () {
|
|
3769
|
-
return this.
|
|
3769
|
+
return this.s2f();
|
|
3770
3770
|
});
|
|
3771
3771
|
function ProcessingCard(gameCard, payload) {
|
|
3772
|
-
this.
|
|
3773
|
-
this.
|
|
3772
|
+
this.e2l_1 = gameCard;
|
|
3773
|
+
this.f2l_1 = payload;
|
|
3774
3774
|
}
|
|
3775
3775
|
protoOf(ProcessingCard).toString = function () {
|
|
3776
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
3776
|
+
return 'ProcessingCard(gameCard=' + this.e2l_1 + ', payload=' + this.f2l_1 + ')';
|
|
3777
3777
|
};
|
|
3778
3778
|
protoOf(ProcessingCard).hashCode = function () {
|
|
3779
|
-
var result = this.
|
|
3780
|
-
result = imul(result, 31) + (this.
|
|
3779
|
+
var result = this.e2l_1.hashCode();
|
|
3780
|
+
result = imul(result, 31) + (this.f2l_1 == null ? 0 : hashCode(this.f2l_1)) | 0;
|
|
3781
3781
|
return result;
|
|
3782
3782
|
};
|
|
3783
3783
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -3786,14 +3786,14 @@
|
|
|
3786
3786
|
if (!(other instanceof ProcessingCard))
|
|
3787
3787
|
return false;
|
|
3788
3788
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
3789
|
-
if (!this.
|
|
3789
|
+
if (!this.e2l_1.equals(tmp0_other_with_cast.e2l_1))
|
|
3790
3790
|
return false;
|
|
3791
|
-
if (!equals(this.
|
|
3791
|
+
if (!equals(this.f2l_1, tmp0_other_with_cast.f2l_1))
|
|
3792
3792
|
return false;
|
|
3793
3793
|
return true;
|
|
3794
3794
|
};
|
|
3795
3795
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
3796
|
-
return $this.
|
|
3796
|
+
return $this.g2l_1.j1();
|
|
3797
3797
|
}
|
|
3798
3798
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
3799
3799
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -3829,13 +3829,13 @@
|
|
|
3829
3829
|
Companion_instance_18 = this;
|
|
3830
3830
|
var tmp = this;
|
|
3831
3831
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3832
|
-
tmp.
|
|
3832
|
+
tmp.g2l_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
3833
3833
|
}
|
|
3834
|
-
protoOf(Companion_18).
|
|
3834
|
+
protoOf(Companion_18).y1y = function () {
|
|
3835
3835
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
3836
3836
|
};
|
|
3837
|
-
protoOf(Companion_18).
|
|
3838
|
-
return this.
|
|
3837
|
+
protoOf(Companion_18).n1n = function (typeParamsSerializers) {
|
|
3838
|
+
return this.y1y();
|
|
3839
3839
|
};
|
|
3840
3840
|
var Companion_instance_18;
|
|
3841
3841
|
function Companion_getInstance_19() {
|
|
@@ -3904,25 +3904,25 @@
|
|
|
3904
3904
|
return tmp;
|
|
3905
3905
|
}
|
|
3906
3906
|
function _no_name_provided__qut3iv($logger) {
|
|
3907
|
-
this.
|
|
3907
|
+
this.i2l_1 = $logger;
|
|
3908
3908
|
AbstractCoroutineContextElement.call(this, Key_getInstance());
|
|
3909
3909
|
}
|
|
3910
3910
|
protoOf(_no_name_provided__qut3iv).wn = function (context, exception) {
|
|
3911
|
-
return this.
|
|
3911
|
+
return this.i2l_1.j2l('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
3912
3912
|
};
|
|
3913
3913
|
function AsyncProviderImpl$launchWorkerWithLock$slambda(this$0, $block, resultContinuation) {
|
|
3914
|
-
this.
|
|
3915
|
-
this.
|
|
3914
|
+
this.s2l_1 = this$0;
|
|
3915
|
+
this.t2l_1 = $block;
|
|
3916
3916
|
CoroutineImpl.call(this, resultContinuation);
|
|
3917
3917
|
}
|
|
3918
|
-
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).
|
|
3919
|
-
var tmp = this.
|
|
3918
|
+
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).d13 = function ($this$launch, $completion) {
|
|
3919
|
+
var tmp = this.e13($this$launch, $completion);
|
|
3920
3920
|
tmp.vh_1 = Unit_getInstance();
|
|
3921
3921
|
tmp.wh_1 = null;
|
|
3922
3922
|
return tmp.ci();
|
|
3923
3923
|
};
|
|
3924
3924
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).oi = function (p1, $completion) {
|
|
3925
|
-
return this.
|
|
3925
|
+
return this.d13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
3926
3926
|
};
|
|
3927
3927
|
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).ci = function () {
|
|
3928
3928
|
var suspendResult = this.vh_1;
|
|
@@ -3936,9 +3936,9 @@
|
|
|
3936
3936
|
continue $sm;
|
|
3937
3937
|
case 1:
|
|
3938
3938
|
var tmp_0 = this;
|
|
3939
|
-
tmp_0.
|
|
3939
|
+
tmp_0.w2l_1 = this.s2l_1.z2l_1;
|
|
3940
3940
|
this.th_1 = 2;
|
|
3941
|
-
suspendResult = this.
|
|
3941
|
+
suspendResult = this.w2l_1.x19(null, this);
|
|
3942
3942
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3943
3943
|
return suspendResult;
|
|
3944
3944
|
}
|
|
@@ -3953,26 +3953,26 @@
|
|
|
3953
3953
|
case 4:
|
|
3954
3954
|
this.uh_1 = 9;
|
|
3955
3955
|
this.th_1 = 5;
|
|
3956
|
-
suspendResult = this.
|
|
3956
|
+
suspendResult = this.t2l_1(this.u2l_1, this);
|
|
3957
3957
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3958
3958
|
return suspendResult;
|
|
3959
3959
|
}
|
|
3960
3960
|
|
|
3961
3961
|
continue $sm;
|
|
3962
3962
|
case 5:
|
|
3963
|
-
this.
|
|
3963
|
+
this.x2l_1 = suspendResult;
|
|
3964
3964
|
this.uh_1 = 10;
|
|
3965
3965
|
this.th_1 = 6;
|
|
3966
3966
|
var tmp_1 = this;
|
|
3967
3967
|
continue $sm;
|
|
3968
3968
|
case 6:
|
|
3969
3969
|
var tmp_2 = this;
|
|
3970
|
-
this.
|
|
3971
|
-
tmp_2.
|
|
3970
|
+
this.w2l_1.i19(null);
|
|
3971
|
+
tmp_2.v2l_1 = Unit_getInstance();
|
|
3972
3972
|
this.th_1 = 8;
|
|
3973
3973
|
continue $sm;
|
|
3974
3974
|
case 7:
|
|
3975
|
-
this.
|
|
3975
|
+
this.w2l_1.i19(null);
|
|
3976
3976
|
;
|
|
3977
3977
|
if (false) {
|
|
3978
3978
|
this.th_1 = 1;
|
|
@@ -3986,7 +3986,7 @@
|
|
|
3986
3986
|
case 9:
|
|
3987
3987
|
this.uh_1 = 10;
|
|
3988
3988
|
var t = this.wh_1;
|
|
3989
|
-
this.
|
|
3989
|
+
this.w2l_1.i19(null);
|
|
3990
3990
|
;
|
|
3991
3991
|
throw t;
|
|
3992
3992
|
case 10:
|
|
@@ -4003,45 +4003,45 @@
|
|
|
4003
4003
|
}
|
|
4004
4004
|
while (true);
|
|
4005
4005
|
};
|
|
4006
|
-
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).
|
|
4007
|
-
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.
|
|
4008
|
-
i.
|
|
4006
|
+
protoOf(AsyncProviderImpl$launchWorkerWithLock$slambda).e13 = function ($this$launch, completion) {
|
|
4007
|
+
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this.s2l_1, this.t2l_1, completion);
|
|
4008
|
+
i.u2l_1 = $this$launch;
|
|
4009
4009
|
return i;
|
|
4010
4010
|
};
|
|
4011
4011
|
function AsyncProviderImpl$launchWorkerWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
4012
4012
|
var i = new AsyncProviderImpl$launchWorkerWithLock$slambda(this$0, $block, resultContinuation);
|
|
4013
4013
|
var l = function ($this$launch, $completion) {
|
|
4014
|
-
return i.
|
|
4014
|
+
return i.d13($this$launch, $completion);
|
|
4015
4015
|
};
|
|
4016
4016
|
l.$arity = 1;
|
|
4017
4017
|
return l;
|
|
4018
4018
|
}
|
|
4019
4019
|
function AsyncProviderImpl(logger) {
|
|
4020
|
-
this.
|
|
4021
|
-
this.
|
|
4020
|
+
this.y2l_1 = Job();
|
|
4021
|
+
this.z2l_1 = Mutex();
|
|
4022
4022
|
var tmp = this;
|
|
4023
4023
|
var tmp$ret$0;
|
|
4024
4024
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4025
4025
|
tmp$ret$0 = new _no_name_provided__qut3iv(logger);
|
|
4026
|
-
tmp.
|
|
4027
|
-
this.
|
|
4028
|
-
this.
|
|
4026
|
+
tmp.a2m_1 = tmp$ret$0;
|
|
4027
|
+
this.b2m_1 = CoroutineScope_0(Dispatchers_getInstance().sr().j5(this.y2l_1));
|
|
4028
|
+
this.c2m_1 = CoroutineScope_0(Dispatchers_getInstance().or_1.j5(this.y2l_1));
|
|
4029
4029
|
}
|
|
4030
|
-
protoOf(AsyncProviderImpl).
|
|
4031
|
-
return this.
|
|
4030
|
+
protoOf(AsyncProviderImpl).d2m = function () {
|
|
4031
|
+
return this.a2m_1;
|
|
4032
4032
|
};
|
|
4033
|
-
protoOf(AsyncProviderImpl).
|
|
4034
|
-
return launch(this.
|
|
4033
|
+
protoOf(AsyncProviderImpl).e2m = function (context, block) {
|
|
4034
|
+
return launch(this.b2m_1, context, VOID, block);
|
|
4035
4035
|
};
|
|
4036
|
-
protoOf(AsyncProviderImpl).
|
|
4037
|
-
return launch(this.
|
|
4036
|
+
protoOf(AsyncProviderImpl).g2m = function (context, block) {
|
|
4037
|
+
return launch(this.c2m_1, context, VOID, block);
|
|
4038
4038
|
};
|
|
4039
|
-
protoOf(AsyncProviderImpl).
|
|
4040
|
-
return launch(this.
|
|
4039
|
+
protoOf(AsyncProviderImpl).i2m = function (context, block) {
|
|
4040
|
+
return launch(this.c2m_1, context, VOID, AsyncProviderImpl$launchWorkerWithLock$slambda_0(this, block, null));
|
|
4041
4041
|
};
|
|
4042
4042
|
protoOf(AsyncProviderImpl).ml = function () {
|
|
4043
|
-
if (!this.
|
|
4044
|
-
this.
|
|
4043
|
+
if (!this.y2l_1.kq()) {
|
|
4044
|
+
this.y2l_1.lk();
|
|
4045
4045
|
}
|
|
4046
4046
|
};
|
|
4047
4047
|
function AsyncProvider() {
|
|
@@ -4049,7 +4049,7 @@
|
|
|
4049
4049
|
function UUIDIdsProvider() {
|
|
4050
4050
|
UUIDIdsProvider_instance = this;
|
|
4051
4051
|
}
|
|
4052
|
-
protoOf(UUIDIdsProvider).
|
|
4052
|
+
protoOf(UUIDIdsProvider).k2m = function () {
|
|
4053
4053
|
return uuid4().toString();
|
|
4054
4054
|
};
|
|
4055
4055
|
var UUIDIdsProvider_instance;
|
|
@@ -4061,37 +4061,37 @@
|
|
|
4061
4061
|
function IdsProvider() {
|
|
4062
4062
|
}
|
|
4063
4063
|
function JobsProviderImpl(logger) {
|
|
4064
|
-
this.
|
|
4064
|
+
this.l2m_1 = logger;
|
|
4065
4065
|
var tmp = this;
|
|
4066
4066
|
var tmp$ret$0;
|
|
4067
4067
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4068
4068
|
tmp$ret$0 = HashMap_init_$Create$();
|
|
4069
|
-
tmp.
|
|
4069
|
+
tmp.m2m_1 = tmp$ret$0;
|
|
4070
4070
|
}
|
|
4071
|
-
protoOf(JobsProviderImpl).
|
|
4072
|
-
if (this.
|
|
4073
|
-
this.
|
|
4071
|
+
protoOf(JobsProviderImpl).n2m = function (timerTag, job) {
|
|
4072
|
+
if (this.p2m(timerTag)) {
|
|
4073
|
+
this.l2m_1.o2m(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
4074
4074
|
}
|
|
4075
4075
|
// Inline function 'kotlin.collections.set' call
|
|
4076
|
-
var tmp0_set = this.
|
|
4076
|
+
var tmp0_set = this.m2m_1;
|
|
4077
4077
|
tmp0_set.a4(timerTag, job);
|
|
4078
4078
|
};
|
|
4079
|
-
protoOf(JobsProviderImpl).
|
|
4080
|
-
return this.
|
|
4079
|
+
protoOf(JobsProviderImpl).p2m = function (timerTag) {
|
|
4080
|
+
return this.m2m_1.r1(timerTag);
|
|
4081
4081
|
};
|
|
4082
|
-
protoOf(JobsProviderImpl).
|
|
4083
|
-
if (!this.
|
|
4084
|
-
this.
|
|
4082
|
+
protoOf(JobsProviderImpl).q2m = function (timerTag) {
|
|
4083
|
+
if (!this.p2m(timerTag)) {
|
|
4084
|
+
this.l2m_1.o2m(VOID, "Can't find timer for that tag: " + timerTag);
|
|
4085
4085
|
}
|
|
4086
|
-
this.
|
|
4086
|
+
this.m2m_1.rc(timerTag);
|
|
4087
4087
|
};
|
|
4088
|
-
protoOf(JobsProviderImpl).
|
|
4088
|
+
protoOf(JobsProviderImpl).r2m = function (timers) {
|
|
4089
4089
|
// Inline function 'kotlin.collections.forEach' call
|
|
4090
4090
|
var tmp0_iterator = timers.f();
|
|
4091
4091
|
while (tmp0_iterator.g()) {
|
|
4092
4092
|
var element = tmp0_iterator.h();
|
|
4093
4093
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4094
|
-
var timer = this.
|
|
4094
|
+
var timer = this.m2m_1.x1(element);
|
|
4095
4095
|
var tmp0_safe_receiver = timer;
|
|
4096
4096
|
if (tmp0_safe_receiver == null)
|
|
4097
4097
|
null;
|
|
@@ -4099,11 +4099,11 @@
|
|
|
4099
4099
|
tmp0_safe_receiver.lk();
|
|
4100
4100
|
}
|
|
4101
4101
|
}
|
|
4102
|
-
this.
|
|
4102
|
+
this.m2m_1.y1().v2(toSet(timers));
|
|
4103
4103
|
};
|
|
4104
|
-
protoOf(JobsProviderImpl).
|
|
4105
|
-
var timer = this.
|
|
4106
|
-
this.
|
|
4104
|
+
protoOf(JobsProviderImpl).s2m = function (timerTag) {
|
|
4105
|
+
var timer = this.m2m_1.x1(timerTag);
|
|
4106
|
+
this.m2m_1.rc(timerTag);
|
|
4107
4107
|
var tmp0_safe_receiver = timer;
|
|
4108
4108
|
if (tmp0_safe_receiver == null)
|
|
4109
4109
|
null;
|
|
@@ -4126,84 +4126,84 @@
|
|
|
4126
4126
|
// Inline function 'org.kodein.type.generic' call
|
|
4127
4127
|
var tmp = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
4128
4128
|
tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
4129
|
-
tmp$ret$1 = $this$$receiver.
|
|
4129
|
+
tmp$ret$1 = $this$$receiver.n28(tmp$ret$0, null, null);
|
|
4130
4130
|
var tmp_0 = tmp$ret$1;
|
|
4131
4131
|
var tmp$ret$3;
|
|
4132
4132
|
// Inline function 'org.kodein.di.singleton' call
|
|
4133
4133
|
var tmp0_singleton = coreModule$lambda$lambda;
|
|
4134
|
-
var tmp_1 = $this$$receiver.
|
|
4135
|
-
var tmp_2 = $this$$receiver.
|
|
4136
|
-
var tmp_3 = $this$$receiver.
|
|
4134
|
+
var tmp_1 = $this$$receiver.d2a();
|
|
4135
|
+
var tmp_2 = $this$$receiver.e2a();
|
|
4136
|
+
var tmp_3 = $this$$receiver.c2c();
|
|
4137
4137
|
var tmp$ret$2;
|
|
4138
4138
|
// Inline function 'org.kodein.type.generic' call
|
|
4139
4139
|
var tmp_4 = typeToken(createKType(getKClass(AsyncProviderImpl), arrayOf([]), false));
|
|
4140
4140
|
tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4141
4141
|
tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
|
|
4142
|
-
tmp_0.
|
|
4142
|
+
tmp_0.h2c(tmp$ret$3);
|
|
4143
4143
|
var tmp$ret$5;
|
|
4144
4144
|
// Inline function 'org.kodein.di.bind' call
|
|
4145
4145
|
var tmp$ret$4;
|
|
4146
4146
|
// Inline function 'org.kodein.type.generic' call
|
|
4147
4147
|
var tmp_5 = typeToken(createKType(getKClass(JobsProvider), arrayOf([]), false));
|
|
4148
4148
|
tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4149
|
-
tmp$ret$5 = $this$$receiver.
|
|
4149
|
+
tmp$ret$5 = $this$$receiver.n28(tmp$ret$4, null, null);
|
|
4150
4150
|
var tmp_6 = tmp$ret$5;
|
|
4151
4151
|
var tmp$ret$7;
|
|
4152
4152
|
// Inline function 'org.kodein.di.singleton' call
|
|
4153
4153
|
var tmp1_singleton = coreModule$lambda$lambda_0;
|
|
4154
|
-
var tmp_7 = $this$$receiver.
|
|
4155
|
-
var tmp_8 = $this$$receiver.
|
|
4156
|
-
var tmp_9 = $this$$receiver.
|
|
4154
|
+
var tmp_7 = $this$$receiver.d2a();
|
|
4155
|
+
var tmp_8 = $this$$receiver.e2a();
|
|
4156
|
+
var tmp_9 = $this$$receiver.c2c();
|
|
4157
4157
|
var tmp$ret$6;
|
|
4158
4158
|
// Inline function 'org.kodein.type.generic' call
|
|
4159
4159
|
var tmp_10 = typeToken(createKType(getKClass(JobsProviderImpl), arrayOf([]), false));
|
|
4160
4160
|
tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4161
4161
|
tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
|
|
4162
|
-
tmp_6.
|
|
4162
|
+
tmp_6.h2c(tmp$ret$7);
|
|
4163
4163
|
var tmp$ret$9;
|
|
4164
4164
|
// Inline function 'org.kodein.di.bind' call
|
|
4165
4165
|
var tmp$ret$8;
|
|
4166
4166
|
// Inline function 'org.kodein.type.generic' call
|
|
4167
4167
|
var tmp_11 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
4168
4168
|
tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
4169
|
-
tmp$ret$9 = $this$$receiver.
|
|
4169
|
+
tmp$ret$9 = $this$$receiver.n28(tmp$ret$8, null, null);
|
|
4170
4170
|
var tmp_12 = tmp$ret$9;
|
|
4171
4171
|
var tmp$ret$11;
|
|
4172
4172
|
// Inline function 'org.kodein.di.singleton' call
|
|
4173
4173
|
var tmp2_singleton = coreModule$lambda$lambda_1;
|
|
4174
|
-
var tmp_13 = $this$$receiver.
|
|
4175
|
-
var tmp_14 = $this$$receiver.
|
|
4176
|
-
var tmp_15 = $this$$receiver.
|
|
4174
|
+
var tmp_13 = $this$$receiver.d2a();
|
|
4175
|
+
var tmp_14 = $this$$receiver.e2a();
|
|
4176
|
+
var tmp_15 = $this$$receiver.c2c();
|
|
4177
4177
|
var tmp$ret$10;
|
|
4178
4178
|
// Inline function 'org.kodein.type.generic' call
|
|
4179
4179
|
var tmp_16 = typeToken(createKType(getKClass(UUIDIdsProvider), arrayOf([]), false));
|
|
4180
4180
|
tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4181
4181
|
tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, tmp2_singleton);
|
|
4182
|
-
tmp_12.
|
|
4182
|
+
tmp_12.h2c(tmp$ret$11);
|
|
4183
4183
|
return Unit_getInstance();
|
|
4184
4184
|
}
|
|
4185
4185
|
function coreModule$lambda$lambda($this$singleton) {
|
|
4186
4186
|
_init_properties_DI_kt__lm8vuj();
|
|
4187
4187
|
var tmp$ret$1;
|
|
4188
4188
|
// Inline function 'org.kodein.di.instance' call
|
|
4189
|
-
var tmp = $this$singleton.
|
|
4189
|
+
var tmp = $this$singleton.w29();
|
|
4190
4190
|
var tmp$ret$0;
|
|
4191
4191
|
// Inline function 'org.kodein.type.generic' call
|
|
4192
4192
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
4193
4193
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4194
|
-
tmp$ret$1 = tmp.
|
|
4194
|
+
tmp$ret$1 = tmp.x29(tmp$ret$0, null);
|
|
4195
4195
|
return new AsyncProviderImpl(tmp$ret$1);
|
|
4196
4196
|
}
|
|
4197
4197
|
function coreModule$lambda$lambda_0($this$singleton) {
|
|
4198
4198
|
_init_properties_DI_kt__lm8vuj();
|
|
4199
4199
|
var tmp$ret$1;
|
|
4200
4200
|
// Inline function 'org.kodein.di.instance' call
|
|
4201
|
-
var tmp = $this$singleton.
|
|
4201
|
+
var tmp = $this$singleton.w29();
|
|
4202
4202
|
var tmp$ret$0;
|
|
4203
4203
|
// Inline function 'org.kodein.type.generic' call
|
|
4204
4204
|
var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
|
|
4205
4205
|
tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4206
|
-
tmp$ret$1 = tmp.
|
|
4206
|
+
tmp$ret$1 = tmp.x29(tmp$ret$0, null);
|
|
4207
4207
|
return new JobsProviderImpl(tmp$ret$1);
|
|
4208
4208
|
}
|
|
4209
4209
|
function coreModule$lambda$lambda_1($this$singleton) {
|
|
@@ -4257,16 +4257,16 @@
|
|
|
4257
4257
|
}
|
|
4258
4258
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
4259
4259
|
try {
|
|
4260
|
-
currentState._v = currentReducer._v.
|
|
4260
|
+
currentState._v = currentReducer._v.t2m(currentState._v, action);
|
|
4261
4261
|
} catch ($p) {
|
|
4262
4262
|
if ($p instanceof Exception) {
|
|
4263
4263
|
var exception = $p;
|
|
4264
|
-
$logger.
|
|
4264
|
+
$logger.j2l('createStore.dispatch', VOID, exception);
|
|
4265
4265
|
} else {
|
|
4266
4266
|
throw $p;
|
|
4267
4267
|
}
|
|
4268
4268
|
}
|
|
4269
|
-
stateTrigger.
|
|
4269
|
+
stateTrigger.a10(Unit_getInstance());
|
|
4270
4270
|
}
|
|
4271
4271
|
function createStore$replaceReducer(currentReducer, currentState, $logger, stateTrigger, nextReducer) {
|
|
4272
4272
|
currentReducer._v = nextReducer;
|
|
@@ -4278,18 +4278,18 @@
|
|
|
4278
4278
|
};
|
|
4279
4279
|
}
|
|
4280
4280
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($collector, this$0, resultContinuation) {
|
|
4281
|
-
this.
|
|
4282
|
-
this.
|
|
4281
|
+
this.c2n_1 = $collector;
|
|
4282
|
+
this.d2n_1 = this$0;
|
|
4283
4283
|
CoroutineImpl.call(this, resultContinuation);
|
|
4284
4284
|
}
|
|
4285
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4286
|
-
var tmp = this.
|
|
4285
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).f2n = function (value, $completion) {
|
|
4286
|
+
var tmp = this.g2n(value, $completion);
|
|
4287
4287
|
tmp.vh_1 = Unit_getInstance();
|
|
4288
4288
|
tmp.wh_1 = null;
|
|
4289
4289
|
return tmp.ci();
|
|
4290
4290
|
};
|
|
4291
4291
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).oi = function (p1, $completion) {
|
|
4292
|
-
return this.
|
|
4292
|
+
return this.f2n(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
4293
4293
|
};
|
|
4294
4294
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ci = function () {
|
|
4295
4295
|
var suspendResult = this.vh_1;
|
|
@@ -4300,7 +4300,7 @@
|
|
|
4300
4300
|
case 0:
|
|
4301
4301
|
this.uh_1 = 2;
|
|
4302
4302
|
this.th_1 = 1;
|
|
4303
|
-
suspendResult = this.
|
|
4303
|
+
suspendResult = this.c2n_1.gy(this.d2n_1.xj(), this);
|
|
4304
4304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4305
4305
|
return suspendResult;
|
|
4306
4306
|
}
|
|
@@ -4322,23 +4322,23 @@
|
|
|
4322
4322
|
}
|
|
4323
4323
|
while (true);
|
|
4324
4324
|
};
|
|
4325
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
4326
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
4327
|
-
i.
|
|
4325
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).g2n = function (value, completion) {
|
|
4326
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.c2n_1, this.d2n_1, completion);
|
|
4327
|
+
i.e2n_1 = value;
|
|
4328
4328
|
return i;
|
|
4329
4329
|
};
|
|
4330
4330
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($collector, this$0, resultContinuation) {
|
|
4331
4331
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($collector, this$0, resultContinuation);
|
|
4332
4332
|
var l = function (value, $completion) {
|
|
4333
|
-
return i.
|
|
4333
|
+
return i.f2n(value, $completion);
|
|
4334
4334
|
};
|
|
4335
4335
|
l.$arity = 1;
|
|
4336
4336
|
return l;
|
|
4337
4337
|
}
|
|
4338
4338
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
4339
4339
|
CoroutineImpl.call(this, resultContinuation);
|
|
4340
|
-
this.
|
|
4341
|
-
this.
|
|
4340
|
+
this.u2n_1 = _this__u8e3s4;
|
|
4341
|
+
this.v2n_1 = collector;
|
|
4342
4342
|
}
|
|
4343
4343
|
protoOf($collectCOROUTINE$0).ci = function () {
|
|
4344
4344
|
var suspendResult = this.vh_1;
|
|
@@ -4349,8 +4349,8 @@
|
|
|
4349
4349
|
case 0:
|
|
4350
4350
|
this.uh_1 = 2;
|
|
4351
4351
|
this.th_1 = 1;
|
|
4352
|
-
var tmp_0 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
4353
|
-
suspendResult = this.
|
|
4352
|
+
var tmp_0 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.v2n_1, this.u2n_1.x2n_1, null);
|
|
4353
|
+
suspendResult = this.u2n_1.w2n_1.zz(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_0), this);
|
|
4354
4354
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4355
4355
|
return suspendResult;
|
|
4356
4356
|
}
|
|
@@ -4373,108 +4373,96 @@
|
|
|
4373
4373
|
while (true);
|
|
4374
4374
|
};
|
|
4375
4375
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
4376
|
-
this.
|
|
4376
|
+
this.y2n_1 = function_0;
|
|
4377
4377
|
}
|
|
4378
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
4379
|
-
var tmp0 = this.
|
|
4378
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).gy = function (value, $completion) {
|
|
4379
|
+
var tmp0 = this.y2n_1(value, $completion);
|
|
4380
4380
|
return tmp0;
|
|
4381
4381
|
};
|
|
4382
4382
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4383
4383
|
return function (action) {
|
|
4384
|
-
var tmp$ret$0;
|
|
4385
|
-
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
4386
4384
|
createStore$dispatch($currentState, $currentReducer, $logger, $stateTrigger, action);
|
|
4387
|
-
tmp$ret$0 = Unit_getInstance();
|
|
4388
4385
|
return Unit_getInstance();
|
|
4389
4386
|
};
|
|
4390
4387
|
}
|
|
4391
4388
|
function createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger) {
|
|
4392
4389
|
return function (nextReducer) {
|
|
4393
|
-
var tmp$ret$0;
|
|
4394
|
-
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
4395
4390
|
createStore$replaceReducer($currentReducer, $currentState, $logger, $stateTrigger, nextReducer);
|
|
4396
|
-
tmp$ret$0 = Unit_getInstance();
|
|
4397
4391
|
return Unit_getInstance();
|
|
4398
4392
|
};
|
|
4399
4393
|
}
|
|
4400
4394
|
function _no_name_provided__qut3iv_0($stateTrigger, this$0) {
|
|
4401
|
-
this.
|
|
4402
|
-
this.
|
|
4395
|
+
this.w2n_1 = $stateTrigger;
|
|
4396
|
+
this.x2n_1 = this$0;
|
|
4403
4397
|
}
|
|
4404
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
4398
|
+
protoOf(_no_name_provided__qut3iv_0).z2n = function (collector, $completion) {
|
|
4405
4399
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
4406
4400
|
tmp.vh_1 = Unit_getInstance();
|
|
4407
4401
|
tmp.wh_1 = null;
|
|
4408
4402
|
return tmp.ci();
|
|
4409
4403
|
};
|
|
4410
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
4411
|
-
return this.
|
|
4404
|
+
protoOf(_no_name_provided__qut3iv_0).zz = function (collector, $completion) {
|
|
4405
|
+
return this.z2n(collector, $completion);
|
|
4412
4406
|
};
|
|
4413
4407
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
4414
|
-
this.
|
|
4415
|
-
this.
|
|
4416
|
-
this.
|
|
4408
|
+
this.k2n_1 = $currentState;
|
|
4409
|
+
this.l2n_1 = $stateTrigger;
|
|
4410
|
+
this.h2n_1 = this;
|
|
4417
4411
|
var tmp = this;
|
|
4418
|
-
tmp.
|
|
4412
|
+
tmp.i2n_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
4419
4413
|
var tmp_0 = this;
|
|
4420
|
-
tmp_0.
|
|
4414
|
+
tmp_0.j2n_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
4421
4415
|
}
|
|
4422
|
-
protoOf(createStore$2).
|
|
4423
|
-
return this.
|
|
4416
|
+
protoOf(createStore$2).a2o = function () {
|
|
4417
|
+
return this.h2n_1;
|
|
4424
4418
|
};
|
|
4425
4419
|
protoOf(createStore$2).xj = function () {
|
|
4426
|
-
|
|
4427
|
-
// Inline function 'kotlinx.atomicfu.locks.synchronized' call
|
|
4428
|
-
var tmp$ret$0;
|
|
4429
|
-
// Inline function 'com.logic.domain.engine.<no name provided>.<get-state>.<anonymous>' call
|
|
4430
|
-
tmp$ret$0 = createStore$getState(this.o2n_1);
|
|
4431
|
-
tmp$ret$1 = tmp$ret$0;
|
|
4432
|
-
return tmp$ret$1;
|
|
4420
|
+
return createStore$getState(this.k2n_1);
|
|
4433
4421
|
};
|
|
4434
|
-
protoOf(createStore$2).
|
|
4435
|
-
this.
|
|
4422
|
+
protoOf(createStore$2).b2o = function (_set____db54di) {
|
|
4423
|
+
this.i2n_1 = _set____db54di;
|
|
4436
4424
|
};
|
|
4437
|
-
protoOf(createStore$2).
|
|
4438
|
-
return this.
|
|
4425
|
+
protoOf(createStore$2).c2o = function () {
|
|
4426
|
+
return this.i2n_1;
|
|
4439
4427
|
};
|
|
4440
|
-
protoOf(createStore$2).
|
|
4441
|
-
return this.
|
|
4428
|
+
protoOf(createStore$2).d2o = function () {
|
|
4429
|
+
return this.j2n_1;
|
|
4442
4430
|
};
|
|
4443
|
-
protoOf(createStore$2).
|
|
4431
|
+
protoOf(createStore$2).e2o = function () {
|
|
4444
4432
|
var tmp$ret$2;
|
|
4445
4433
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
4446
4434
|
var tmp$ret$1;
|
|
4447
4435
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
4448
4436
|
var tmp$ret$0;
|
|
4449
4437
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
4450
|
-
tmp$ret$0 = new _no_name_provided__qut3iv_0(this.
|
|
4438
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_0(this.l2n_1, this);
|
|
4451
4439
|
tmp$ret$1 = tmp$ret$0;
|
|
4452
4440
|
tmp$ret$2 = tmp$ret$1;
|
|
4453
4441
|
return tmp$ret$2;
|
|
4454
4442
|
};
|
|
4455
4443
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
4456
|
-
return this.
|
|
4444
|
+
return this.a2o();
|
|
4457
4445
|
});
|
|
4458
4446
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
4459
4447
|
return this.xj();
|
|
4460
4448
|
});
|
|
4461
4449
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
4462
|
-
return this.
|
|
4450
|
+
return this.c2o();
|
|
4463
4451
|
}, function (value) {
|
|
4464
|
-
this.
|
|
4452
|
+
this.b2o(value);
|
|
4465
4453
|
});
|
|
4466
4454
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
4467
|
-
return this.
|
|
4455
|
+
return this.d2o();
|
|
4468
4456
|
});
|
|
4469
4457
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
4470
|
-
return this.
|
|
4458
|
+
return this.e2o();
|
|
4471
4459
|
});
|
|
4472
4460
|
function INIT() {
|
|
4473
4461
|
INIT_instance = this;
|
|
4474
4462
|
ActionTypes.call(this);
|
|
4475
4463
|
}
|
|
4476
4464
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
4477
|
-
return this.
|
|
4465
|
+
return this.b2j();
|
|
4478
4466
|
});
|
|
4479
4467
|
var INIT_instance;
|
|
4480
4468
|
function INIT_getInstance() {
|
|
@@ -4487,7 +4475,7 @@
|
|
|
4487
4475
|
ActionTypes.call(this);
|
|
4488
4476
|
}
|
|
4489
4477
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
4490
|
-
return this.
|
|
4478
|
+
return this.b2j();
|
|
4491
4479
|
});
|
|
4492
4480
|
var REPLACE_instance;
|
|
4493
4481
|
function REPLACE_getInstance() {
|
|
@@ -4498,7 +4486,7 @@
|
|
|
4498
4486
|
function ActionTypes() {
|
|
4499
4487
|
}
|
|
4500
4488
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
4501
|
-
return this.
|
|
4489
|
+
return this.b2j();
|
|
4502
4490
|
});
|
|
4503
4491
|
function Action() {
|
|
4504
4492
|
}
|
|
@@ -4524,10 +4512,10 @@
|
|
|
4524
4512
|
return new middleware$1(dispatch);
|
|
4525
4513
|
}
|
|
4526
4514
|
function middleware$1($dispatch) {
|
|
4527
|
-
this.
|
|
4515
|
+
this.h2o_1 = $dispatch;
|
|
4528
4516
|
}
|
|
4529
|
-
protoOf(middleware$1).
|
|
4530
|
-
this.
|
|
4517
|
+
protoOf(middleware$1).g2o = function (store, next, action) {
|
|
4518
|
+
this.h2o_1(store, next, action);
|
|
4531
4519
|
};
|
|
4532
4520
|
function Reducer() {
|
|
4533
4521
|
}
|
|
@@ -4535,9 +4523,9 @@
|
|
|
4535
4523
|
return new combineReducers$1(reducers);
|
|
4536
4524
|
}
|
|
4537
4525
|
function combineReducers$1($reducers) {
|
|
4538
|
-
this.
|
|
4526
|
+
this.i2o_1 = $reducers;
|
|
4539
4527
|
}
|
|
4540
|
-
protoOf(combineReducers$1).
|
|
4528
|
+
protoOf(combineReducers$1).j2o = function (state, action) {
|
|
4541
4529
|
var tmp$ret$4;
|
|
4542
4530
|
// Inline function 'kotlin.collections.fold' call
|
|
4543
4531
|
var tmp$ret$2;
|
|
@@ -4545,7 +4533,7 @@
|
|
|
4545
4533
|
var tmp$ret$1;
|
|
4546
4534
|
// Inline function 'kotlin.collections.filterTo' call
|
|
4547
4535
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
4548
|
-
var indexedObject = this.
|
|
4536
|
+
var indexedObject = this.i2o_1;
|
|
4549
4537
|
var inductionVariable = 0;
|
|
4550
4538
|
var last = indexedObject.length;
|
|
4551
4539
|
while (inductionVariable < last) {
|
|
@@ -4553,7 +4541,7 @@
|
|
|
4553
4541
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4554
4542
|
var tmp$ret$0;
|
|
4555
4543
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4556
|
-
tmp$ret$0 = element.
|
|
4544
|
+
tmp$ret$0 = element.f2o(action);
|
|
4557
4545
|
if (tmp$ret$0) {
|
|
4558
4546
|
tmp0_filterTo.a(element);
|
|
4559
4547
|
}
|
|
@@ -4568,14 +4556,14 @@
|
|
|
4568
4556
|
var tmp$ret$3;
|
|
4569
4557
|
// Inline function 'com.logic.domain.engine.definitions.<no name provided>.reduce.<anonymous>' call
|
|
4570
4558
|
var tmp2__anonymous__z9zvc9 = accumulator;
|
|
4571
|
-
tmp$ret$3 = element_0.
|
|
4559
|
+
tmp$ret$3 = element_0.t2m(tmp2__anonymous__z9zvc9, action);
|
|
4572
4560
|
accumulator = tmp$ret$3;
|
|
4573
4561
|
}
|
|
4574
4562
|
tmp$ret$4 = accumulator;
|
|
4575
4563
|
return tmp$ret$4;
|
|
4576
4564
|
};
|
|
4577
|
-
protoOf(combineReducers$1).
|
|
4578
|
-
return this.
|
|
4565
|
+
protoOf(combineReducers$1).t2m = function (state, action) {
|
|
4566
|
+
return this.j2o((state == null ? true : isObject(state)) ? state : THROW_CCE(), action);
|
|
4579
4567
|
};
|
|
4580
4568
|
function Store() {
|
|
4581
4569
|
}
|
|
@@ -4589,22 +4577,22 @@
|
|
|
4589
4577
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
4590
4578
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
4591
4579
|
TimerAction.call(this);
|
|
4592
|
-
this.
|
|
4593
|
-
this.
|
|
4594
|
-
this.
|
|
4595
|
-
this.
|
|
4580
|
+
this.o2o_1 = timerTag;
|
|
4581
|
+
this.p2o_1 = delayMillis;
|
|
4582
|
+
this.q2o_1 = initialDelay;
|
|
4583
|
+
this.r2o_1 = type;
|
|
4596
4584
|
}
|
|
4597
|
-
protoOf(StartTimerAction).
|
|
4598
|
-
return this.
|
|
4585
|
+
protoOf(StartTimerAction).s2o = function () {
|
|
4586
|
+
return this.o2o_1;
|
|
4599
4587
|
};
|
|
4600
4588
|
protoOf(StartTimerAction).toString = function () {
|
|
4601
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
4589
|
+
return 'StartTimerAction(timerTag=' + this.o2o_1 + ', delayMillis=' + toString_0(this.p2o_1) + ', initialDelay=' + toString_0(this.q2o_1) + ', type=' + this.r2o_1 + ')';
|
|
4602
4590
|
};
|
|
4603
4591
|
protoOf(StartTimerAction).hashCode = function () {
|
|
4604
|
-
var result = hashCode(this.
|
|
4605
|
-
result = imul(result, 31) + this.
|
|
4606
|
-
result = imul(result, 31) + this.
|
|
4607
|
-
result = imul(result, 31) + this.
|
|
4592
|
+
var result = hashCode(this.o2o_1);
|
|
4593
|
+
result = imul(result, 31) + this.p2o_1.hashCode() | 0;
|
|
4594
|
+
result = imul(result, 31) + this.q2o_1.hashCode() | 0;
|
|
4595
|
+
result = imul(result, 31) + this.r2o_1.hashCode() | 0;
|
|
4608
4596
|
return result;
|
|
4609
4597
|
};
|
|
4610
4598
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -4613,18 +4601,18 @@
|
|
|
4613
4601
|
if (!(other instanceof StartTimerAction))
|
|
4614
4602
|
return false;
|
|
4615
4603
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
4616
|
-
if (!equals(this.
|
|
4604
|
+
if (!equals(this.o2o_1, tmp0_other_with_cast.o2o_1))
|
|
4617
4605
|
return false;
|
|
4618
|
-
if (!this.
|
|
4606
|
+
if (!this.p2o_1.equals(tmp0_other_with_cast.p2o_1))
|
|
4619
4607
|
return false;
|
|
4620
|
-
if (!this.
|
|
4608
|
+
if (!this.q2o_1.equals(tmp0_other_with_cast.q2o_1))
|
|
4621
4609
|
return false;
|
|
4622
|
-
if (!this.
|
|
4610
|
+
if (!this.r2o_1.equals(tmp0_other_with_cast.r2o_1))
|
|
4623
4611
|
return false;
|
|
4624
4612
|
return true;
|
|
4625
4613
|
};
|
|
4626
4614
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
4627
|
-
return this.
|
|
4615
|
+
return this.b2j();
|
|
4628
4616
|
});
|
|
4629
4617
|
var TimerType_DELAY_instance;
|
|
4630
4618
|
var TimerType_INTERVAL_instance;
|
|
@@ -4641,21 +4629,21 @@
|
|
|
4641
4629
|
}
|
|
4642
4630
|
function TimerTickAction(timerTag, type) {
|
|
4643
4631
|
TimerAction.call(this);
|
|
4644
|
-
this.
|
|
4645
|
-
this.
|
|
4632
|
+
this.t2o_1 = timerTag;
|
|
4633
|
+
this.u2o_1 = type;
|
|
4646
4634
|
}
|
|
4647
|
-
protoOf(TimerTickAction).
|
|
4648
|
-
return this.
|
|
4635
|
+
protoOf(TimerTickAction).s2o = function () {
|
|
4636
|
+
return this.t2o_1;
|
|
4649
4637
|
};
|
|
4650
4638
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
4651
|
-
return this.
|
|
4639
|
+
return this.t2o_1.notValidateWhenFinished();
|
|
4652
4640
|
};
|
|
4653
4641
|
protoOf(TimerTickAction).toString = function () {
|
|
4654
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
4642
|
+
return 'TimerTickAction(timerTag=' + this.t2o_1 + ', type=' + this.u2o_1 + ')';
|
|
4655
4643
|
};
|
|
4656
4644
|
protoOf(TimerTickAction).hashCode = function () {
|
|
4657
|
-
var result = hashCode(this.
|
|
4658
|
-
result = imul(result, 31) + this.
|
|
4645
|
+
var result = hashCode(this.t2o_1);
|
|
4646
|
+
result = imul(result, 31) + this.u2o_1.hashCode() | 0;
|
|
4659
4647
|
return result;
|
|
4660
4648
|
};
|
|
4661
4649
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -4664,27 +4652,27 @@
|
|
|
4664
4652
|
if (!(other instanceof TimerTickAction))
|
|
4665
4653
|
return false;
|
|
4666
4654
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
4667
|
-
if (!equals(this.
|
|
4655
|
+
if (!equals(this.t2o_1, tmp0_other_with_cast.t2o_1))
|
|
4668
4656
|
return false;
|
|
4669
|
-
if (!this.
|
|
4657
|
+
if (!this.u2o_1.equals(tmp0_other_with_cast.u2o_1))
|
|
4670
4658
|
return false;
|
|
4671
4659
|
return true;
|
|
4672
4660
|
};
|
|
4673
4661
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
4674
|
-
return this.
|
|
4662
|
+
return this.b2j();
|
|
4675
4663
|
});
|
|
4676
4664
|
function StopTimerAction(timerTag) {
|
|
4677
4665
|
TimerAction.call(this);
|
|
4678
|
-
this.
|
|
4666
|
+
this.v2o_1 = timerTag;
|
|
4679
4667
|
}
|
|
4680
|
-
protoOf(StopTimerAction).
|
|
4681
|
-
return this.
|
|
4668
|
+
protoOf(StopTimerAction).s2o = function () {
|
|
4669
|
+
return this.v2o_1;
|
|
4682
4670
|
};
|
|
4683
4671
|
protoOf(StopTimerAction).toString = function () {
|
|
4684
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
4672
|
+
return 'StopTimerAction(timerTag=' + this.v2o_1 + ')';
|
|
4685
4673
|
};
|
|
4686
4674
|
protoOf(StopTimerAction).hashCode = function () {
|
|
4687
|
-
return hashCode(this.
|
|
4675
|
+
return hashCode(this.v2o_1);
|
|
4688
4676
|
};
|
|
4689
4677
|
protoOf(StopTimerAction).equals = function (other) {
|
|
4690
4678
|
if (this === other)
|
|
@@ -4692,17 +4680,17 @@
|
|
|
4692
4680
|
if (!(other instanceof StopTimerAction))
|
|
4693
4681
|
return false;
|
|
4694
4682
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
4695
|
-
if (!equals(this.
|
|
4683
|
+
if (!equals(this.v2o_1, tmp0_other_with_cast.v2o_1))
|
|
4696
4684
|
return false;
|
|
4697
4685
|
return true;
|
|
4698
4686
|
};
|
|
4699
4687
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
4700
|
-
return this.
|
|
4688
|
+
return this.b2j();
|
|
4701
4689
|
});
|
|
4702
4690
|
function TimerAction() {
|
|
4703
4691
|
}
|
|
4704
4692
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
4705
|
-
return this.
|
|
4693
|
+
return this.b2j();
|
|
4706
4694
|
});
|
|
4707
4695
|
function TimerType_DELAY_getInstance() {
|
|
4708
4696
|
TimerType_initEntries();
|
|
@@ -4728,7 +4716,7 @@
|
|
|
4728
4716
|
var tmp_0;
|
|
4729
4717
|
if ($p instanceof Exception) {
|
|
4730
4718
|
var error = $p;
|
|
4731
|
-
$logger.
|
|
4719
|
+
$logger.w2o('StoreEnhancer', 'StoreEnhancer error: ' + error, error, action);
|
|
4732
4720
|
tmp_0 = Unit_getInstance();
|
|
4733
4721
|
} else {
|
|
4734
4722
|
throw $p;
|
|
@@ -4756,7 +4744,7 @@
|
|
|
4756
4744
|
}
|
|
4757
4745
|
function applyMiddleware$lambda$lambda$lambda$lambda($tmp1__anonymous__6ijp4k, $store, $tmp2__anonymous__bd8cc3) {
|
|
4758
4746
|
return function (action) {
|
|
4759
|
-
$tmp1__anonymous__6ijp4k.
|
|
4747
|
+
$tmp1__anonymous__6ijp4k.g2o($store, $tmp2__anonymous__bd8cc3, action);
|
|
4760
4748
|
return Unit_getInstance();
|
|
4761
4749
|
};
|
|
4762
4750
|
}
|
|
@@ -4775,7 +4763,7 @@
|
|
|
4775
4763
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4776
4764
|
var tmp$ret$0;
|
|
4777
4765
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
4778
|
-
tmp$ret$0 = element.
|
|
4766
|
+
tmp$ret$0 = element.f2o(action);
|
|
4779
4767
|
if (tmp$ret$0) {
|
|
4780
4768
|
tmp0_filterTo.a(element);
|
|
4781
4769
|
}
|
|
@@ -4823,19 +4811,19 @@
|
|
|
4823
4811
|
return tmp$ret$0;
|
|
4824
4812
|
}
|
|
4825
4813
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4826
|
-
this.
|
|
4827
|
-
this.
|
|
4828
|
-
this.
|
|
4814
|
+
this.f2p_1 = $jobsProvider;
|
|
4815
|
+
this.g2p_1 = $tmp0__anonymous__1nv1x1;
|
|
4816
|
+
this.h2p_1 = $store;
|
|
4829
4817
|
CoroutineImpl.call(this, resultContinuation);
|
|
4830
4818
|
}
|
|
4831
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda).
|
|
4832
|
-
var tmp = this.
|
|
4819
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda).d13 = function ($this$launchStore, $completion) {
|
|
4820
|
+
var tmp = this.e13($this$launchStore, $completion);
|
|
4833
4821
|
tmp.vh_1 = Unit_getInstance();
|
|
4834
4822
|
tmp.wh_1 = null;
|
|
4835
4823
|
return tmp.ci();
|
|
4836
4824
|
};
|
|
4837
4825
|
protoOf(timerMiddleware$o$handle$slambda$slambda).oi = function (p1, $completion) {
|
|
4838
|
-
return this.
|
|
4826
|
+
return this.d13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4839
4827
|
};
|
|
4840
4828
|
protoOf(timerMiddleware$o$handle$slambda$slambda).ci = function () {
|
|
4841
4829
|
var suspendResult = this.vh_1;
|
|
@@ -4844,8 +4832,8 @@
|
|
|
4844
4832
|
var tmp = this.th_1;
|
|
4845
4833
|
if (tmp === 0) {
|
|
4846
4834
|
this.uh_1 = 1;
|
|
4847
|
-
if (this.
|
|
4848
|
-
this.
|
|
4835
|
+
if (this.f2p_1.p2m(this.g2p_1.s2o())) {
|
|
4836
|
+
this.h2p_1.dispatch(new TimerTickAction(this.g2p_1.s2o(), TimerType_DELAY_getInstance()));
|
|
4849
4837
|
}
|
|
4850
4838
|
return Unit_getInstance();
|
|
4851
4839
|
} else if (tmp === 1) {
|
|
@@ -4857,33 +4845,33 @@
|
|
|
4857
4845
|
}
|
|
4858
4846
|
while (true);
|
|
4859
4847
|
};
|
|
4860
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda).
|
|
4861
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
4862
|
-
i.
|
|
4848
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda).e13 = function ($this$launchStore, completion) {
|
|
4849
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.f2p_1, this.g2p_1, this.h2p_1, completion);
|
|
4850
|
+
i.i2p_1 = $this$launchStore;
|
|
4863
4851
|
return i;
|
|
4864
4852
|
};
|
|
4865
4853
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4866
4854
|
var i = new timerMiddleware$o$handle$slambda$slambda($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4867
4855
|
var l = function ($this$launchStore, $completion) {
|
|
4868
|
-
return i.
|
|
4856
|
+
return i.d13($this$launchStore, $completion);
|
|
4869
4857
|
};
|
|
4870
4858
|
l.$arity = 1;
|
|
4871
4859
|
return l;
|
|
4872
4860
|
}
|
|
4873
4861
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4874
|
-
this.
|
|
4875
|
-
this.
|
|
4876
|
-
this.
|
|
4862
|
+
this.r2p_1 = $jobsProvider;
|
|
4863
|
+
this.s2p_1 = $tmp0__anonymous__1nv1x1;
|
|
4864
|
+
this.t2p_1 = $store;
|
|
4877
4865
|
CoroutineImpl.call(this, resultContinuation);
|
|
4878
4866
|
}
|
|
4879
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda_1).
|
|
4880
|
-
var tmp = this.
|
|
4867
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda_1).d13 = function ($this$launchStore, $completion) {
|
|
4868
|
+
var tmp = this.e13($this$launchStore, $completion);
|
|
4881
4869
|
tmp.vh_1 = Unit_getInstance();
|
|
4882
4870
|
tmp.wh_1 = null;
|
|
4883
4871
|
return tmp.ci();
|
|
4884
4872
|
};
|
|
4885
4873
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).oi = function (p1, $completion) {
|
|
4886
|
-
return this.
|
|
4874
|
+
return this.d13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4887
4875
|
};
|
|
4888
4876
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).ci = function () {
|
|
4889
4877
|
var suspendResult = this.vh_1;
|
|
@@ -4892,8 +4880,8 @@
|
|
|
4892
4880
|
var tmp = this.th_1;
|
|
4893
4881
|
if (tmp === 0) {
|
|
4894
4882
|
this.uh_1 = 1;
|
|
4895
|
-
if (this.
|
|
4896
|
-
this.
|
|
4883
|
+
if (this.r2p_1.p2m(this.s2p_1.s2o())) {
|
|
4884
|
+
this.t2p_1.dispatch(new TimerTickAction(this.s2p_1.s2o(), TimerType_INTERVAL_getInstance()));
|
|
4897
4885
|
}
|
|
4898
4886
|
return Unit_getInstance();
|
|
4899
4887
|
} else if (tmp === 1) {
|
|
@@ -4905,34 +4893,34 @@
|
|
|
4905
4893
|
}
|
|
4906
4894
|
while (true);
|
|
4907
4895
|
};
|
|
4908
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda_1).
|
|
4909
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
4910
|
-
i.
|
|
4896
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda_1).e13 = function ($this$launchStore, completion) {
|
|
4897
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.r2p_1, this.s2p_1, this.t2p_1, completion);
|
|
4898
|
+
i.u2p_1 = $this$launchStore;
|
|
4911
4899
|
return i;
|
|
4912
4900
|
};
|
|
4913
4901
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation) {
|
|
4914
4902
|
var i = new timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $tmp0__anonymous__1nv1x1, $store, resultContinuation);
|
|
4915
4903
|
var l = function ($this$launchStore, $completion) {
|
|
4916
|
-
return i.
|
|
4904
|
+
return i.d13($this$launchStore, $completion);
|
|
4917
4905
|
};
|
|
4918
4906
|
l.$arity = 1;
|
|
4919
4907
|
return l;
|
|
4920
4908
|
}
|
|
4921
4909
|
function timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
4922
|
-
this.
|
|
4923
|
-
this.
|
|
4924
|
-
this.
|
|
4925
|
-
this.
|
|
4910
|
+
this.d2q_1 = $tmp0__anonymous__1nv1x1;
|
|
4911
|
+
this.e2q_1 = $asyncProvider;
|
|
4912
|
+
this.f2q_1 = $jobsProvider;
|
|
4913
|
+
this.g2q_1 = $store;
|
|
4926
4914
|
CoroutineImpl.call(this, resultContinuation);
|
|
4927
4915
|
}
|
|
4928
|
-
protoOf(timerMiddleware$o$handle$slambda).
|
|
4929
|
-
var tmp = this.
|
|
4916
|
+
protoOf(timerMiddleware$o$handle$slambda).d13 = function ($this$launchWorker, $completion) {
|
|
4917
|
+
var tmp = this.e13($this$launchWorker, $completion);
|
|
4930
4918
|
tmp.vh_1 = Unit_getInstance();
|
|
4931
4919
|
tmp.wh_1 = null;
|
|
4932
4920
|
return tmp.ci();
|
|
4933
4921
|
};
|
|
4934
4922
|
protoOf(timerMiddleware$o$handle$slambda).oi = function (p1, $completion) {
|
|
4935
|
-
return this.
|
|
4923
|
+
return this.d13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4936
4924
|
};
|
|
4937
4925
|
protoOf(timerMiddleware$o$handle$slambda).ci = function () {
|
|
4938
4926
|
var suspendResult = this.vh_1;
|
|
@@ -4942,9 +4930,9 @@
|
|
|
4942
4930
|
switch (tmp) {
|
|
4943
4931
|
case 0:
|
|
4944
4932
|
this.uh_1 = 10;
|
|
4945
|
-
if (!this.
|
|
4933
|
+
if (!this.d2q_1.q2o_1.equals(new Long(0, 0)) ? this.d2q_1.r2o_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
4946
4934
|
this.th_1 = 1;
|
|
4947
|
-
suspendResult = delay(this.
|
|
4935
|
+
suspendResult = delay(this.d2q_1.q2o_1, this);
|
|
4948
4936
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4949
4937
|
return suspendResult;
|
|
4950
4938
|
}
|
|
@@ -4959,20 +4947,20 @@
|
|
|
4959
4947
|
this.th_1 = 2;
|
|
4960
4948
|
continue $sm;
|
|
4961
4949
|
case 2:
|
|
4962
|
-
this.
|
|
4963
|
-
this.
|
|
4964
|
-
if (this.
|
|
4950
|
+
this.i2q_1 = this.d2q_1.r2o_1;
|
|
4951
|
+
this.j2q_1 = this.i2q_1.p5_1;
|
|
4952
|
+
if (this.j2q_1 === 0) {
|
|
4965
4953
|
this.th_1 = 8;
|
|
4966
|
-
suspendResult = delay(this.
|
|
4954
|
+
suspendResult = delay(this.d2q_1.p2o_1, this);
|
|
4967
4955
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4968
4956
|
return suspendResult;
|
|
4969
4957
|
}
|
|
4970
4958
|
continue $sm;
|
|
4971
4959
|
} else {
|
|
4972
|
-
if (this.
|
|
4973
|
-
if (!this.
|
|
4960
|
+
if (this.j2q_1 === 1) {
|
|
4961
|
+
if (!this.d2q_1.q2o_1.equals(new Long(0, 0))) {
|
|
4974
4962
|
this.th_1 = 3;
|
|
4975
|
-
suspendResult = delay(this.
|
|
4963
|
+
suspendResult = delay(this.d2q_1.q2o_1, this);
|
|
4976
4964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4977
4965
|
return suspendResult;
|
|
4978
4966
|
}
|
|
@@ -4995,15 +4983,15 @@
|
|
|
4995
4983
|
this.th_1 = 5;
|
|
4996
4984
|
continue $sm;
|
|
4997
4985
|
case 5:
|
|
4998
|
-
if (!get_isActive(this.
|
|
4986
|
+
if (!get_isActive(this.h2q_1)) {
|
|
4999
4987
|
this.th_1 = 7;
|
|
5000
4988
|
continue $sm;
|
|
5001
4989
|
}
|
|
5002
4990
|
|
|
5003
|
-
this.
|
|
4991
|
+
this.e2q_1.f2m(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.f2q_1, this.d2q_1, this.g2q_1, null));
|
|
5004
4992
|
;
|
|
5005
4993
|
this.th_1 = 6;
|
|
5006
|
-
suspendResult = delay(this.
|
|
4994
|
+
suspendResult = delay(this.d2q_1.q2o_1, this);
|
|
5007
4995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5008
4996
|
return suspendResult;
|
|
5009
4997
|
}
|
|
@@ -5016,7 +5004,7 @@
|
|
|
5016
5004
|
this.th_1 = 9;
|
|
5017
5005
|
continue $sm;
|
|
5018
5006
|
case 8:
|
|
5019
|
-
this.
|
|
5007
|
+
this.e2q_1.f2m(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.f2q_1, this.d2q_1, this.g2q_1, null));
|
|
5020
5008
|
;
|
|
5021
5009
|
this.th_1 = 9;
|
|
5022
5010
|
continue $sm;
|
|
@@ -5036,48 +5024,48 @@
|
|
|
5036
5024
|
}
|
|
5037
5025
|
while (true);
|
|
5038
5026
|
};
|
|
5039
|
-
protoOf(timerMiddleware$o$handle$slambda).
|
|
5040
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5041
|
-
i.
|
|
5027
|
+
protoOf(timerMiddleware$o$handle$slambda).e13 = function ($this$launchWorker, completion) {
|
|
5028
|
+
var i = new timerMiddleware$o$handle$slambda(this.d2q_1, this.e2q_1, this.f2q_1, this.g2q_1, completion);
|
|
5029
|
+
i.h2q_1 = $this$launchWorker;
|
|
5042
5030
|
return i;
|
|
5043
5031
|
};
|
|
5044
5032
|
function timerMiddleware$o$handle$slambda_0($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5045
5033
|
var i = new timerMiddleware$o$handle$slambda($tmp0__anonymous__1nv1x1, $asyncProvider, $jobsProvider, $store, resultContinuation);
|
|
5046
5034
|
var l = function ($this$launchWorker, $completion) {
|
|
5047
|
-
return i.
|
|
5035
|
+
return i.d13($this$launchWorker, $completion);
|
|
5048
5036
|
};
|
|
5049
5037
|
l.$arity = 1;
|
|
5050
5038
|
return l;
|
|
5051
5039
|
}
|
|
5052
5040
|
function _no_name_provided__qut3iv_1($asyncProvider, $jobsProvider) {
|
|
5053
|
-
this.
|
|
5054
|
-
this.
|
|
5041
|
+
this.k2q_1 = $asyncProvider;
|
|
5042
|
+
this.l2q_1 = $jobsProvider;
|
|
5055
5043
|
}
|
|
5056
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5044
|
+
protoOf(_no_name_provided__qut3iv_1).f2o = function (action) {
|
|
5057
5045
|
return action instanceof TimerAction;
|
|
5058
5046
|
};
|
|
5059
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5047
|
+
protoOf(_no_name_provided__qut3iv_1).m2q = function (store, next, action) {
|
|
5060
5048
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5061
5049
|
var tmp0__anonymous__q1qw7t = action instanceof TimerAction ? action : THROW_CCE();
|
|
5062
5050
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
5063
5051
|
if (tmp0_subject instanceof StartTimerAction) {
|
|
5064
|
-
var job = this.
|
|
5065
|
-
this.
|
|
5052
|
+
var job = this.k2q_1.h2m(VOID, timerMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.k2q_1, this.l2q_1, store, null));
|
|
5053
|
+
this.l2q_1.n2m(tmp0__anonymous__q1qw7t.s2o(), job);
|
|
5066
5054
|
} else {
|
|
5067
5055
|
if (tmp0_subject instanceof StopTimerAction) {
|
|
5068
|
-
this.
|
|
5056
|
+
this.l2q_1.s2m(tmp0__anonymous__q1qw7t.s2o());
|
|
5069
5057
|
} else {
|
|
5070
5058
|
if (tmp0_subject instanceof TimerTickAction) {
|
|
5071
|
-
if (tmp0__anonymous__q1qw7t.
|
|
5072
|
-
this.
|
|
5059
|
+
if (tmp0__anonymous__q1qw7t.u2o_1.equals(TimerType_DELAY_getInstance())) {
|
|
5060
|
+
this.l2q_1.q2m(tmp0__anonymous__q1qw7t.s2o());
|
|
5073
5061
|
}
|
|
5074
5062
|
}
|
|
5075
5063
|
}
|
|
5076
5064
|
}
|
|
5077
5065
|
next(tmp0__anonymous__q1qw7t);
|
|
5078
5066
|
};
|
|
5079
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5080
|
-
return this.
|
|
5067
|
+
protoOf(_no_name_provided__qut3iv_1).g2o = function (store, next, action) {
|
|
5068
|
+
return this.m2q(store, next, action);
|
|
5081
5069
|
};
|
|
5082
5070
|
function enumToString(_this__u8e3s4, mapping) {
|
|
5083
5071
|
var tmp$ret$2;
|
|
@@ -5251,23 +5239,23 @@
|
|
|
5251
5239
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
5252
5240
|
}
|
|
5253
5241
|
function generateTag($this, tag) {
|
|
5254
|
-
return (!($this.
|
|
5242
|
+
return (!($this.p2q_1 == null) ? !(tag == null) : false) ? '' + $this.p2q_1 + ':' + tag : tag;
|
|
5255
5243
|
}
|
|
5256
5244
|
function Category(name, ordinal, isEnabled) {
|
|
5257
5245
|
Enum.call(this, name, ordinal);
|
|
5258
|
-
this.
|
|
5246
|
+
this.s2q_1 = isEnabled;
|
|
5259
5247
|
}
|
|
5260
5248
|
function Logger$loggerSource$1() {
|
|
5261
|
-
this.
|
|
5249
|
+
this.t2q_1 = new PlatformLogger();
|
|
5262
5250
|
}
|
|
5263
|
-
protoOf(Logger$loggerSource$1).
|
|
5264
|
-
this.
|
|
5251
|
+
protoOf(Logger$loggerSource$1).u2q = function (tag, msg) {
|
|
5252
|
+
this.t2q_1.u2q(tag, msg);
|
|
5265
5253
|
};
|
|
5266
|
-
protoOf(Logger$loggerSource$1).
|
|
5267
|
-
this.
|
|
5254
|
+
protoOf(Logger$loggerSource$1).v2q = function (tag, msg, exception) {
|
|
5255
|
+
this.t2q_1.v2q(tag, msg, exception);
|
|
5268
5256
|
};
|
|
5269
|
-
protoOf(Logger$loggerSource$1).
|
|
5270
|
-
this.
|
|
5257
|
+
protoOf(Logger$loggerSource$1).w2q = function (tag, msg) {
|
|
5258
|
+
this.t2q_1.w2q(tag, msg);
|
|
5271
5259
|
};
|
|
5272
5260
|
function Category_NONE_getInstance() {
|
|
5273
5261
|
Category_initEntries();
|
|
@@ -5276,68 +5264,57 @@
|
|
|
5276
5264
|
function Logger() {
|
|
5277
5265
|
Logger_instance = this;
|
|
5278
5266
|
var tmp = this;
|
|
5279
|
-
tmp.
|
|
5280
|
-
this.
|
|
5281
|
-
this.
|
|
5267
|
+
tmp.n2q_1 = new Logger$loggerSource$1();
|
|
5268
|
+
this.o2q_1 = true;
|
|
5269
|
+
this.p2q_1 = null;
|
|
5282
5270
|
}
|
|
5283
|
-
protoOf(Logger).
|
|
5284
|
-
this.
|
|
5285
|
-
};
|
|
5286
|
-
protoOf(Logger).d2r = function (tag, message, $super) {
|
|
5287
|
-
tag = tag === VOID ? null : tag;
|
|
5288
|
-
var tmp;
|
|
5289
|
-
if ($super === VOID) {
|
|
5290
|
-
this.b2r(tag, message);
|
|
5291
|
-
tmp = Unit_getInstance();
|
|
5292
|
-
} else {
|
|
5293
|
-
tmp = $super.b2r.call(this, tag, message);
|
|
5294
|
-
}
|
|
5295
|
-
return tmp;
|
|
5271
|
+
protoOf(Logger).x2q = function (tag, message) {
|
|
5272
|
+
this.y2q(tag, message, Category_NONE_getInstance());
|
|
5296
5273
|
};
|
|
5297
|
-
protoOf(Logger).
|
|
5298
|
-
if (this.
|
|
5299
|
-
this.
|
|
5274
|
+
protoOf(Logger).z2q = function (tag, message, category) {
|
|
5275
|
+
if (this.o2q_1 ? category.s2q_1 : false) {
|
|
5276
|
+
this.n2q_1.w2q(generateTag(this, tag), message);
|
|
5300
5277
|
}
|
|
5301
5278
|
};
|
|
5302
|
-
protoOf(Logger).
|
|
5279
|
+
protoOf(Logger).a2r = function (tag, message, category, $super) {
|
|
5303
5280
|
tag = tag === VOID ? null : tag;
|
|
5304
5281
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5305
5282
|
var tmp;
|
|
5306
5283
|
if ($super === VOID) {
|
|
5307
|
-
this.
|
|
5284
|
+
this.z2q(tag, message, category);
|
|
5308
5285
|
tmp = Unit_getInstance();
|
|
5309
5286
|
} else {
|
|
5310
|
-
tmp = $super.
|
|
5287
|
+
tmp = $super.z2q.call(this, tag, message, category);
|
|
5311
5288
|
}
|
|
5312
5289
|
return tmp;
|
|
5313
5290
|
};
|
|
5314
|
-
protoOf(Logger).
|
|
5315
|
-
if (this.
|
|
5316
|
-
this.
|
|
5291
|
+
protoOf(Logger).y2q = function (tag, message, category) {
|
|
5292
|
+
if (this.o2q_1 ? category.s2q_1 : false) {
|
|
5293
|
+
this.n2q_1.u2q(generateTag(this, tag), message);
|
|
5317
5294
|
}
|
|
5318
5295
|
};
|
|
5319
|
-
protoOf(Logger).
|
|
5320
|
-
if (this.
|
|
5296
|
+
protoOf(Logger).b2r = function (tag, message, exception, category) {
|
|
5297
|
+
if (this.o2q_1 ? category.s2q_1 : false) {
|
|
5321
5298
|
var tmp0_safe_receiver = exception;
|
|
5322
5299
|
if (tmp0_safe_receiver == null)
|
|
5323
5300
|
null;
|
|
5324
5301
|
else {
|
|
5325
5302
|
printStackTrace(tmp0_safe_receiver);
|
|
5326
5303
|
}
|
|
5327
|
-
this.
|
|
5304
|
+
this.n2q_1.v2q(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
5328
5305
|
}
|
|
5329
5306
|
};
|
|
5330
|
-
protoOf(Logger).
|
|
5307
|
+
protoOf(Logger).c2r = function (tag, message, exception, category, $super) {
|
|
5331
5308
|
tag = tag === VOID ? null : tag;
|
|
5332
5309
|
message = message === VOID ? null : message;
|
|
5333
5310
|
exception = exception === VOID ? null : exception;
|
|
5334
5311
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
5335
5312
|
var tmp;
|
|
5336
5313
|
if ($super === VOID) {
|
|
5337
|
-
this.
|
|
5314
|
+
this.b2r(tag, message, exception, category);
|
|
5338
5315
|
tmp = Unit_getInstance();
|
|
5339
5316
|
} else {
|
|
5340
|
-
tmp = $super.
|
|
5317
|
+
tmp = $super.b2r.call(this, tag, message, exception, category);
|
|
5341
5318
|
}
|
|
5342
5319
|
return tmp;
|
|
5343
5320
|
};
|
|
@@ -5375,36 +5352,36 @@
|
|
|
5375
5352
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
5376
5353
|
}
|
|
5377
5354
|
function CombinedGameLogger(logOutputs) {
|
|
5378
|
-
this.
|
|
5355
|
+
this.d2r_1 = logOutputs;
|
|
5379
5356
|
}
|
|
5380
|
-
protoOf(CombinedGameLogger).
|
|
5357
|
+
protoOf(CombinedGameLogger).e2r = function (tag, message, payload) {
|
|
5381
5358
|
// Inline function 'kotlin.collections.forEach' call
|
|
5382
|
-
var tmp0_forEach = this.
|
|
5359
|
+
var tmp0_forEach = this.d2r_1;
|
|
5383
5360
|
var tmp0_iterator = tmp0_forEach.f();
|
|
5384
5361
|
while (tmp0_iterator.g()) {
|
|
5385
5362
|
var element = tmp0_iterator.h();
|
|
5386
5363
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
5387
|
-
element.
|
|
5364
|
+
element.e2r(tag, message, payload);
|
|
5388
5365
|
}
|
|
5389
5366
|
};
|
|
5390
|
-
protoOf(CombinedGameLogger).
|
|
5367
|
+
protoOf(CombinedGameLogger).w2o = function (tag, message, exception, payload) {
|
|
5391
5368
|
// Inline function 'kotlin.collections.forEach' call
|
|
5392
|
-
var tmp0_forEach = this.
|
|
5369
|
+
var tmp0_forEach = this.d2r_1;
|
|
5393
5370
|
var tmp0_iterator = tmp0_forEach.f();
|
|
5394
5371
|
while (tmp0_iterator.g()) {
|
|
5395
5372
|
var element = tmp0_iterator.h();
|
|
5396
5373
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
5397
|
-
element.
|
|
5374
|
+
element.w2o(tag, message, exception, payload);
|
|
5398
5375
|
}
|
|
5399
5376
|
};
|
|
5400
|
-
protoOf(CombinedGameLogger).
|
|
5377
|
+
protoOf(CombinedGameLogger).g2r = function (tag, message, payload) {
|
|
5401
5378
|
// Inline function 'kotlin.collections.forEach' call
|
|
5402
|
-
var tmp0_forEach = this.
|
|
5379
|
+
var tmp0_forEach = this.d2r_1;
|
|
5403
5380
|
var tmp0_iterator = tmp0_forEach.f();
|
|
5404
5381
|
while (tmp0_iterator.g()) {
|
|
5405
5382
|
var element = tmp0_iterator.h();
|
|
5406
5383
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
5407
|
-
element.
|
|
5384
|
+
element.g2r(tag, message, payload);
|
|
5408
5385
|
}
|
|
5409
5386
|
};
|
|
5410
5387
|
function GameLogger() {
|
|
@@ -5413,75 +5390,75 @@
|
|
|
5413
5390
|
}
|
|
5414
5391
|
function PlatformGameLogger(enabled) {
|
|
5415
5392
|
enabled = enabled === VOID ? true : enabled;
|
|
5416
|
-
this.
|
|
5393
|
+
this.h2r_1 = enabled;
|
|
5417
5394
|
}
|
|
5418
|
-
protoOf(PlatformGameLogger).
|
|
5419
|
-
if (!this.
|
|
5395
|
+
protoOf(PlatformGameLogger).e2r = function (tag, message, payload) {
|
|
5396
|
+
if (!this.h2r_1)
|
|
5420
5397
|
return Unit_getInstance();
|
|
5421
|
-
Logger_getInstance().
|
|
5398
|
+
Logger_getInstance().x2q(tag, message);
|
|
5422
5399
|
};
|
|
5423
|
-
protoOf(PlatformGameLogger).
|
|
5424
|
-
if (!this.
|
|
5400
|
+
protoOf(PlatformGameLogger).w2o = function (tag, message, exception, payload) {
|
|
5401
|
+
if (!this.h2r_1)
|
|
5425
5402
|
return Unit_getInstance();
|
|
5426
|
-
Logger_getInstance().
|
|
5403
|
+
Logger_getInstance().c2r(tag, message, exception);
|
|
5427
5404
|
};
|
|
5428
|
-
protoOf(PlatformGameLogger).
|
|
5429
|
-
if (!this.
|
|
5405
|
+
protoOf(PlatformGameLogger).g2r = function (tag, message, payload) {
|
|
5406
|
+
if (!this.h2r_1)
|
|
5430
5407
|
return Unit_getInstance();
|
|
5431
|
-
Logger_getInstance().
|
|
5408
|
+
Logger_getInstance().a2r(tag, message);
|
|
5432
5409
|
};
|
|
5433
5410
|
function LoggerOutput() {
|
|
5434
5411
|
}
|
|
5435
5412
|
function PlatformLogger() {
|
|
5436
5413
|
}
|
|
5437
|
-
protoOf(PlatformLogger).
|
|
5414
|
+
protoOf(PlatformLogger).u2q = function (tag, msg) {
|
|
5438
5415
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
5439
5416
|
};
|
|
5440
|
-
protoOf(PlatformLogger).
|
|
5417
|
+
protoOf(PlatformLogger).v2q = function (tag, msg, exception) {
|
|
5441
5418
|
if (!(exception == null)) {
|
|
5442
5419
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
5443
5420
|
} else {
|
|
5444
5421
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
5445
5422
|
}
|
|
5446
5423
|
};
|
|
5447
|
-
protoOf(PlatformLogger).
|
|
5424
|
+
protoOf(PlatformLogger).w2q = function (tag, msg) {
|
|
5448
5425
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
5449
5426
|
};
|
|
5450
5427
|
//region block: post-declaration
|
|
5451
|
-
protoOf($serializer).
|
|
5452
|
-
protoOf($serializer_0).
|
|
5453
|
-
protoOf($serializer_1).
|
|
5454
|
-
protoOf($serializer_2).
|
|
5455
|
-
protoOf($serializer_3).
|
|
5456
|
-
protoOf($serializer_4).
|
|
5457
|
-
protoOf(BufferedActionDto).
|
|
5458
|
-
protoOf($serializer_5).
|
|
5459
|
-
protoOf($serializer_6).
|
|
5460
|
-
protoOf($serializer_7).
|
|
5428
|
+
protoOf($serializer).d1n = typeParametersSerializers;
|
|
5429
|
+
protoOf($serializer_0).d1n = typeParametersSerializers;
|
|
5430
|
+
protoOf($serializer_1).d1n = typeParametersSerializers;
|
|
5431
|
+
protoOf($serializer_2).d1n = typeParametersSerializers;
|
|
5432
|
+
protoOf($serializer_3).d1n = typeParametersSerializers;
|
|
5433
|
+
protoOf($serializer_4).d1n = typeParametersSerializers;
|
|
5434
|
+
protoOf(BufferedActionDto).b2j = get_actionTag;
|
|
5435
|
+
protoOf($serializer_5).d1n = typeParametersSerializers;
|
|
5436
|
+
protoOf($serializer_6).d1n = typeParametersSerializers;
|
|
5437
|
+
protoOf($serializer_7).d1n = typeParametersSerializers;
|
|
5461
5438
|
protoOf(_no_name_provided__qut3iv).c5 = get;
|
|
5462
5439
|
protoOf(_no_name_provided__qut3iv).i5 = fold;
|
|
5463
5440
|
protoOf(_no_name_provided__qut3iv).h5 = minusKey;
|
|
5464
5441
|
protoOf(_no_name_provided__qut3iv).j5 = plus;
|
|
5465
|
-
protoOf(AsyncProviderImpl).
|
|
5466
|
-
protoOf(AsyncProviderImpl).
|
|
5467
|
-
protoOf(AsyncProviderImpl).
|
|
5468
|
-
protoOf(ActionTypes).
|
|
5469
|
-
protoOf(INIT).
|
|
5470
|
-
protoOf(REPLACE).
|
|
5471
|
-
protoOf(middleware$1).
|
|
5472
|
-
protoOf(combineReducers$1).
|
|
5473
|
-
protoOf(TimerAction).
|
|
5474
|
-
protoOf(StartTimerAction).
|
|
5475
|
-
protoOf(TimerTickAction).
|
|
5476
|
-
protoOf(StopTimerAction).
|
|
5442
|
+
protoOf(AsyncProviderImpl).f2m = launchStore$default;
|
|
5443
|
+
protoOf(AsyncProviderImpl).h2m = launchWorker$default;
|
|
5444
|
+
protoOf(AsyncProviderImpl).j2m = launchWorkerWithLock$default;
|
|
5445
|
+
protoOf(ActionTypes).b2j = get_actionTag;
|
|
5446
|
+
protoOf(INIT).b2j = get_actionTag;
|
|
5447
|
+
protoOf(REPLACE).b2j = get_actionTag;
|
|
5448
|
+
protoOf(middleware$1).f2o = canHandle;
|
|
5449
|
+
protoOf(combineReducers$1).f2o = canHandle_0;
|
|
5450
|
+
protoOf(TimerAction).b2j = get_actionTag;
|
|
5451
|
+
protoOf(StartTimerAction).b2j = get_actionTag;
|
|
5452
|
+
protoOf(TimerTickAction).b2j = get_actionTag;
|
|
5453
|
+
protoOf(StopTimerAction).b2j = get_actionTag;
|
|
5477
5454
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
5478
5455
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
5479
|
-
protoOf(CombinedGameLogger).
|
|
5480
|
-
protoOf(CombinedGameLogger).
|
|
5481
|
-
protoOf(CombinedGameLogger).
|
|
5482
|
-
protoOf(PlatformGameLogger).
|
|
5483
|
-
protoOf(PlatformGameLogger).
|
|
5484
|
-
protoOf(PlatformGameLogger).
|
|
5456
|
+
protoOf(CombinedGameLogger).f2r = d$default;
|
|
5457
|
+
protoOf(CombinedGameLogger).j2l = e$default;
|
|
5458
|
+
protoOf(CombinedGameLogger).o2m = w$default;
|
|
5459
|
+
protoOf(PlatformGameLogger).f2r = d$default;
|
|
5460
|
+
protoOf(PlatformGameLogger).j2l = e$default;
|
|
5461
|
+
protoOf(PlatformGameLogger).o2m = w$default;
|
|
5485
5462
|
//endregion
|
|
5486
5463
|
//region block: exports
|
|
5487
5464
|
function $jsExportAll$(_) {
|