game_client_logic_deb 1.8.355 → 1.8.356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +8 -8
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -1
- package/Logic_Debertz-game_client.js +95 -95
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +17 -17
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -2878,7 +2878,7 @@ export declare namespace games.jass.logic.client.domain.mechanic {
|
|
|
2878
2878
|
observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.config.ClientConfig> */;
|
|
2879
2879
|
observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.PlayersHandsMetadataViewModel> */;
|
|
2880
2880
|
observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.GameLifecycleViewModel> */;
|
|
2881
|
-
observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.
|
|
2881
|
+
observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.interceptors.RestartGameExpectant>> */;
|
|
2882
2882
|
observeScene(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.SceneViewModel> */;
|
|
2883
2883
|
observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
|
|
2884
2884
|
observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.data.models.table.error.ErrorState>> */;
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
initMetadataForClass(PassIgnoreBufferActionUseCase, 'PassIgnoreBufferActionUseCase', PassIgnoreBufferActionUseCase);
|
|
468
468
|
initMetadataForClass(PassTerminatedActionBufferUseCase, 'PassTerminatedActionBufferUseCase', PassTerminatedActionBufferUseCase);
|
|
469
469
|
initMetadataForClass(WaitPlayerAnswerBufferUseCase, 'WaitPlayerAnswerBufferUseCase', WaitPlayerAnswerBufferUseCase);
|
|
470
|
-
initMetadataForClass(
|
|
470
|
+
initMetadataForClass(WaitUntilInterceptorFinishedBufferUseCase, 'WaitUntilInterceptorFinishedBufferUseCase', WaitUntilInterceptorFinishedBufferUseCase);
|
|
471
471
|
initMetadataForClass(WaitWhenSceneIsActiveBufferUseCase, 'WaitWhenSceneIsActiveBufferUseCase', WaitWhenSceneIsActiveBufferUseCase);
|
|
472
472
|
initMetadataForInterface(ClientGameHistoryInteractor, 'ClientGameHistoryInteractor', VOID, VOID, VOID, [4]);
|
|
473
473
|
initMetadataForInterface(ClientStatisticsInteractor, 'ClientStatisticsInteractor', VOID, VOID, VOID, [3, 1]);
|
|
@@ -666,10 +666,10 @@
|
|
|
666
666
|
initMetadataForClass(AnnouncedCombinationAction, 'AnnouncedCombinationAction', VOID, ClientAction);
|
|
667
667
|
initMetadataForClass(TransitionsFinishedAction, 'TransitionsFinishedAction', VOID, ClientAction);
|
|
668
668
|
initMetadataForObject(ResetErrorAction, 'ResetErrorAction', VOID, ClientAction, [ClientAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
|
|
669
|
-
initMetadataForClass(
|
|
670
|
-
initMetadataForClass(
|
|
671
|
-
initMetadataForClass(
|
|
672
|
-
initMetadataForClass(
|
|
669
|
+
initMetadataForClass(InterceptorLifecycleAction, 'InterceptorLifecycleAction', VOID, VOID, [Action]);
|
|
670
|
+
initMetadataForClass(InterceptorCreatedClientAction, 'InterceptorCreatedClientAction', VOID, InterceptorLifecycleAction);
|
|
671
|
+
initMetadataForClass(InterceptorStageCompletedClientAction, 'InterceptorStageCompletedClientAction', VOID, InterceptorLifecycleAction);
|
|
672
|
+
initMetadataForClass(InterceptorFinishedClientAction, 'InterceptorFinishedClientAction', VOID, InterceptorLifecycleAction, [InterceptorLifecycleAction, ReleaseBufferTriggerAction]);
|
|
673
673
|
initMetadataForClass(ClientCommonStoreContract, 'ClientCommonStoreContract', VOID, VOID, [StoreContract]);
|
|
674
674
|
initMetadataForClass(OnlineGameStoreContract, 'OnlineGameStoreContract', VOID, VOID, [StoreContract]);
|
|
675
675
|
initMetadataForClass(SingleGameStoreContract, 'SingleGameStoreContract', VOID, VOID, [StoreContract]);
|
|
@@ -721,7 +721,7 @@
|
|
|
721
721
|
initMetadataForClass(bufferReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
722
722
|
initMetadataForClass(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
723
723
|
initMetadataForClass(expectantLifecycleReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
724
|
-
initMetadataForClass(
|
|
724
|
+
initMetadataForClass(interceptorActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
725
725
|
function reducers(currentPlayerId) {
|
|
726
726
|
return listOf([this.pbd(currentPlayerId), this.qbd(currentPlayerId), this.rbd(currentPlayerId), this.sbd(currentPlayerId)]);
|
|
727
727
|
}
|
|
@@ -4574,7 +4574,7 @@
|
|
|
4574
4574
|
}
|
|
4575
4575
|
function getClientBufferModule$lambda$lambda($externalBufferUseCases) {
|
|
4576
4576
|
return function ($this$singleton) {
|
|
4577
|
-
var tmp = plus(listOf([new WaitWhenSceneIsActiveBufferUseCase(), new
|
|
4577
|
+
var tmp = plus(listOf([new WaitWhenSceneIsActiveBufferUseCase(), new WaitUntilInterceptorFinishedBufferUseCase(), new WaitPlayerAnswerBufferUseCase(), new PassIgnoreBufferActionUseCase(), new CheckSceneBufferUseCase(), new PassTerminatedActionBufferUseCase(), new PassErrorActionBufferUseCase()]), $externalBufferUseCases);
|
|
4578
4578
|
// Inline function 'org.kodein.di.instance' call
|
|
4579
4579
|
var tmp_0 = $this$singleton.c63();
|
|
4580
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5353,7 +5353,7 @@
|
|
|
5353
5353
|
}
|
|
5354
5354
|
return new AvoidBuffer('WaitPlayerAnswerBufferUseCase');
|
|
5355
5355
|
};
|
|
5356
|
-
function
|
|
5356
|
+
function isCurrentInterceptorFinished($this, action, notFinished) {
|
|
5357
5357
|
var tmp0_elvis_lhs = singleOrNull(notFinished);
|
|
5358
5358
|
var tmp;
|
|
5359
5359
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -5361,22 +5361,22 @@
|
|
|
5361
5361
|
} else {
|
|
5362
5362
|
tmp = tmp0_elvis_lhs;
|
|
5363
5363
|
}
|
|
5364
|
-
var
|
|
5365
|
-
var tmp1_elvis_lhs = action instanceof
|
|
5364
|
+
var intercepted = tmp;
|
|
5365
|
+
var tmp1_elvis_lhs = action instanceof InterceptorFinishedClientAction ? action : null;
|
|
5366
5366
|
var tmp_0;
|
|
5367
5367
|
if (tmp1_elvis_lhs == null) {
|
|
5368
5368
|
return false;
|
|
5369
5369
|
} else {
|
|
5370
5370
|
tmp_0 = tmp1_elvis_lhs;
|
|
5371
5371
|
}
|
|
5372
|
-
var
|
|
5373
|
-
return
|
|
5372
|
+
var interceptedAction = tmp_0;
|
|
5373
|
+
return intercepted.q9w_1 === interceptedAction.m9y_1;
|
|
5374
5374
|
}
|
|
5375
|
-
function
|
|
5375
|
+
function WaitUntilInterceptorFinishedBufferUseCase() {
|
|
5376
5376
|
}
|
|
5377
|
-
protoOf(
|
|
5377
|
+
protoOf(WaitUntilInterceptorFinishedBufferUseCase).k9x = function (state, action) {
|
|
5378
5378
|
if (!state.y6s() && !get_isCreated(state)) {
|
|
5379
|
-
return new PutInBuffer('
|
|
5379
|
+
return new PutInBuffer('WaitUntilInterceptorFinishedBufferUseCase.isTableExists');
|
|
5380
5380
|
}
|
|
5381
5381
|
var clientState = get_clientPayload_0(state);
|
|
5382
5382
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5391,10 +5391,10 @@
|
|
|
5391
5391
|
}
|
|
5392
5392
|
}
|
|
5393
5393
|
var notFinished = destination;
|
|
5394
|
-
if (notFinished.p() ||
|
|
5395
|
-
return new AvoidBuffer('
|
|
5394
|
+
if (notFinished.p() || isCurrentInterceptorFinished(this, action, notFinished)) {
|
|
5395
|
+
return new AvoidBuffer('WaitUntilInterceptorFinishedBufferUseCase');
|
|
5396
5396
|
}
|
|
5397
|
-
return new PutInBuffer('
|
|
5397
|
+
return new PutInBuffer('WaitUntilInterceptorFinishedBufferUseCase.interceptor');
|
|
5398
5398
|
};
|
|
5399
5399
|
function WaitWhenSceneIsActiveBufferUseCase() {
|
|
5400
5400
|
}
|
|
@@ -11559,49 +11559,49 @@
|
|
|
11559
11559
|
new ResetErrorAction();
|
|
11560
11560
|
return ResetErrorAction_instance;
|
|
11561
11561
|
}
|
|
11562
|
-
function
|
|
11562
|
+
function InterceptorLifecycleAction() {
|
|
11563
11563
|
}
|
|
11564
|
-
function
|
|
11565
|
-
|
|
11564
|
+
function InterceptorCreatedClientAction(expectant) {
|
|
11565
|
+
InterceptorLifecycleAction.call(this);
|
|
11566
11566
|
this.gb5_1 = expectant;
|
|
11567
11567
|
}
|
|
11568
|
-
protoOf(
|
|
11568
|
+
protoOf(InterceptorCreatedClientAction).toString = function () {
|
|
11569
11569
|
return 'ExpectantCreatedClientAction(id: ' + this.gb5_1.q9w_1 + ', expectant=' + parseActionName(this.gb5_1.r9w_1) + ')';
|
|
11570
11570
|
};
|
|
11571
|
-
protoOf(
|
|
11571
|
+
protoOf(InterceptorCreatedClientAction).hashCode = function () {
|
|
11572
11572
|
return this.gb5_1.hashCode();
|
|
11573
11573
|
};
|
|
11574
|
-
protoOf(
|
|
11574
|
+
protoOf(InterceptorCreatedClientAction).equals = function (other) {
|
|
11575
11575
|
if (this === other)
|
|
11576
11576
|
return true;
|
|
11577
|
-
if (!(other instanceof
|
|
11577
|
+
if (!(other instanceof InterceptorCreatedClientAction))
|
|
11578
11578
|
return false;
|
|
11579
|
-
var tmp0_other_with_cast = other instanceof
|
|
11579
|
+
var tmp0_other_with_cast = other instanceof InterceptorCreatedClientAction ? other : THROW_CCE();
|
|
11580
11580
|
if (!this.gb5_1.equals(tmp0_other_with_cast.gb5_1))
|
|
11581
11581
|
return false;
|
|
11582
11582
|
return true;
|
|
11583
11583
|
};
|
|
11584
|
-
function
|
|
11584
|
+
function InterceptorStageCompletedClientAction() {
|
|
11585
11585
|
}
|
|
11586
|
-
protoOf(
|
|
11587
|
-
return '
|
|
11586
|
+
protoOf(InterceptorStageCompletedClientAction).toString = function () {
|
|
11587
|
+
return 'InterceptorStageCompletedClientAction(id=' + this.hb5_1 + ')';
|
|
11588
11588
|
};
|
|
11589
|
-
function
|
|
11590
|
-
|
|
11591
|
-
this.m9y_1 =
|
|
11589
|
+
function InterceptorFinishedClientAction(id) {
|
|
11590
|
+
InterceptorLifecycleAction.call(this);
|
|
11591
|
+
this.m9y_1 = id;
|
|
11592
11592
|
}
|
|
11593
|
-
protoOf(
|
|
11594
|
-
return '
|
|
11593
|
+
protoOf(InterceptorFinishedClientAction).toString = function () {
|
|
11594
|
+
return 'InterceptorFinishedClientAction(id=' + this.m9y_1 + ')';
|
|
11595
11595
|
};
|
|
11596
|
-
protoOf(
|
|
11596
|
+
protoOf(InterceptorFinishedClientAction).hashCode = function () {
|
|
11597
11597
|
return getStringHashCode(this.m9y_1);
|
|
11598
11598
|
};
|
|
11599
|
-
protoOf(
|
|
11599
|
+
protoOf(InterceptorFinishedClientAction).equals = function (other) {
|
|
11600
11600
|
if (this === other)
|
|
11601
11601
|
return true;
|
|
11602
|
-
if (!(other instanceof
|
|
11602
|
+
if (!(other instanceof InterceptorFinishedClientAction))
|
|
11603
11603
|
return false;
|
|
11604
|
-
var tmp0_other_with_cast = other instanceof
|
|
11604
|
+
var tmp0_other_with_cast = other instanceof InterceptorFinishedClientAction ? other : THROW_CCE();
|
|
11605
11605
|
if (!(this.m9y_1 === tmp0_other_with_cast.m9y_1))
|
|
11606
11606
|
return false;
|
|
11607
11607
|
return true;
|
|
@@ -11912,7 +11912,7 @@
|
|
|
11912
11912
|
tmp_43.vb5_1 = tmp_45.k67(this, getPropertyCallableRef('clientGameHistoryInteractor', 1, tmp_46, ClientCommonStoreContract$_get_clientGameHistoryInteractor_$ref_2ivcgn(), null));
|
|
11913
11913
|
}
|
|
11914
11914
|
protoOf(ClientCommonStoreContract).i94 = function () {
|
|
11915
|
-
return plus(listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantLifecycleReducer() : null, _get_gameClientConfig__xfscic_0(this).validateExpectantActions ?
|
|
11915
|
+
return plus(listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantLifecycleReducer() : null, _get_gameClientConfig__xfscic_0(this).validateExpectantActions ? interceptorActionReducer() : null, bufferReducer(), messageReducer(), _get_gameClientConfig__xfscic_0(this).validateSceneActiveState ? sceneActivationReducer() : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl_0(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl_0(this)), clientUIReducer(this.ib5_1), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl_0(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.jb5_1.i94());
|
|
11916
11916
|
};
|
|
11917
11917
|
protoOf(ClientCommonStoreContract).j94 = function () {
|
|
11918
11918
|
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.ib5_1, _get_logger__rkp4sl_0(this)), checkExpectantsMiddleware(_get_logger__rkp4sl_0(this))]), listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateCardOnMove ? validateCardOnMoveMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)) : null, clientShowDisabledCardMessageMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)), clientCheckCombinationsMiddleware(_get_combinationProvider__3gs1n3(this), _get_playerTurnTagProvider__7cizx8(this)), gameHistoryMiddleware(_get_asyncProvider__jbpyhw(this), _get_clientGameHistoryInteractor__6os8wx(this)), finishingGameWhenPlayerExitsMiddleware(_get_gameClientConfig__xfscic_0(this)), startResetTimerForInfoMessageMiddleware(), clearTimersWhenErrorMiddleware(), resetInfoMessageWhenShownMiddleware(), roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this))])), bufferMiddleware(_get_bufferInteractor__bbjsb2_0(this))), expectantMiddlewares()), this.jb5_1.j94());
|
|
@@ -12751,7 +12751,7 @@
|
|
|
12751
12751
|
}
|
|
12752
12752
|
$origDispatch(action);
|
|
12753
12753
|
} else {
|
|
12754
|
-
$store.dispatch(new
|
|
12754
|
+
$store.dispatch(new InterceptorCreatedClientAction(new InterceptableActionWrapper($idsProvider.t6l(), action)));
|
|
12755
12755
|
}
|
|
12756
12756
|
tmp = Unit_instance;
|
|
12757
12757
|
} else {
|
|
@@ -13235,12 +13235,12 @@
|
|
|
13235
13235
|
function expectantsLifecycleMiddleware$$inlined$middlewareForActionType$1() {
|
|
13236
13236
|
}
|
|
13237
13237
|
protoOf(expectantsLifecycleMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13238
|
-
return action instanceof
|
|
13238
|
+
return action instanceof InterceptorLifecycleAction;
|
|
13239
13239
|
};
|
|
13240
13240
|
protoOf(expectantsLifecycleMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13241
|
-
var action_0 = action instanceof
|
|
13241
|
+
var action_0 = action instanceof InterceptorLifecycleAction ? action : THROW_CCE();
|
|
13242
13242
|
var tmp;
|
|
13243
|
-
if (action_0 instanceof
|
|
13243
|
+
if (action_0 instanceof InterceptorCreatedClientAction) {
|
|
13244
13244
|
var expectantAction = action_0.gb5_1.r9w_1;
|
|
13245
13245
|
var tmp_0;
|
|
13246
13246
|
if (expectantAction.l6n()) {
|
|
@@ -13250,10 +13250,10 @@
|
|
|
13250
13250
|
}
|
|
13251
13251
|
tmp = tmp_0;
|
|
13252
13252
|
} else {
|
|
13253
|
-
if (action_0 instanceof
|
|
13254
|
-
tmp = listOf_0(new
|
|
13253
|
+
if (action_0 instanceof InterceptorStageCompletedClientAction) {
|
|
13254
|
+
tmp = listOf_0(new InterceptorFinishedClientAction(action_0.hb5_1));
|
|
13255
13255
|
} else {
|
|
13256
|
-
if (action_0 instanceof
|
|
13256
|
+
if (action_0 instanceof InterceptorFinishedClientAction) {
|
|
13257
13257
|
tmp = emptyList();
|
|
13258
13258
|
} else {
|
|
13259
13259
|
noWhenBranchMatchedException();
|
|
@@ -13281,7 +13281,7 @@
|
|
|
13281
13281
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
13282
13282
|
var timerTag = action_0.q6n_1;
|
|
13283
13283
|
if (timerTag instanceof ExpectantTimerTag) {
|
|
13284
|
-
store.dispatch(new
|
|
13284
|
+
store.dispatch(new InterceptorFinishedClientAction(timerTag.ab8_1));
|
|
13285
13285
|
}
|
|
13286
13286
|
next(action_0);
|
|
13287
13287
|
};
|
|
@@ -13552,7 +13552,7 @@
|
|
|
13552
13552
|
onSuitSelectMessages(this$0, store, action.u8w_1, action.s8w_1);
|
|
13553
13553
|
tmp = Unit_instance;
|
|
13554
13554
|
} else {
|
|
13555
|
-
if (action instanceof
|
|
13555
|
+
if (action instanceof InterceptorCreatedClientAction) {
|
|
13556
13556
|
onExpectantCreatedMessages$default(this$0, store, action);
|
|
13557
13557
|
tmp = Unit_instance;
|
|
13558
13558
|
} else {
|
|
@@ -13597,7 +13597,7 @@
|
|
|
13597
13597
|
}
|
|
13598
13598
|
tmp = tmp_1;
|
|
13599
13599
|
} else {
|
|
13600
|
-
if (action instanceof
|
|
13600
|
+
if (action instanceof InterceptorCreatedClientAction) {
|
|
13601
13601
|
onExpectantCreatedMessages(this$0, store, action, listOf_0($currentPlayerId));
|
|
13602
13602
|
tmp = Unit_instance;
|
|
13603
13603
|
} else {
|
|
@@ -14470,7 +14470,7 @@
|
|
|
14470
14470
|
}
|
|
14471
14471
|
throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
|
|
14472
14472
|
}
|
|
14473
|
-
tmp(new
|
|
14473
|
+
tmp(new InterceptorFinishedClientAction(tmp$ret$3.q9w_1));
|
|
14474
14474
|
} else {
|
|
14475
14475
|
if (transition instanceof PickUpBribeTransition) {
|
|
14476
14476
|
var tmp_1 = store.dispatch;
|
|
@@ -14489,7 +14489,7 @@
|
|
|
14489
14489
|
}
|
|
14490
14490
|
throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
|
|
14491
14491
|
}
|
|
14492
|
-
tmp_1(new
|
|
14492
|
+
tmp_1(new InterceptorFinishedClientAction(tmp$ret$5.q9w_1));
|
|
14493
14493
|
} else {
|
|
14494
14494
|
if (transition instanceof ShowCombinationTransition) {
|
|
14495
14495
|
var tmp_3 = store.dispatch;
|
|
@@ -14508,7 +14508,7 @@
|
|
|
14508
14508
|
}
|
|
14509
14509
|
throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
|
|
14510
14510
|
}
|
|
14511
|
-
tmp_3(new
|
|
14511
|
+
tmp_3(new InterceptorFinishedClientAction(tmp$ret$7.q9w_1));
|
|
14512
14512
|
} else {
|
|
14513
14513
|
noWhenBranchMatchedException();
|
|
14514
14514
|
}
|
|
@@ -14531,13 +14531,13 @@
|
|
|
14531
14531
|
this.dbc_1 = $logger;
|
|
14532
14532
|
}
|
|
14533
14533
|
protoOf(checkExpectantsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14534
|
-
return action instanceof
|
|
14534
|
+
return action instanceof InterceptorLifecycleAction;
|
|
14535
14535
|
};
|
|
14536
14536
|
protoOf(checkExpectantsMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
14537
|
-
var tmp4 = action instanceof
|
|
14537
|
+
var tmp4 = action instanceof InterceptorLifecycleAction ? action : THROW_CCE();
|
|
14538
14538
|
$l$block_7: {
|
|
14539
14539
|
var expectants = get_clientPayload_0(store.state).w9x_1;
|
|
14540
|
-
if (tmp4 instanceof
|
|
14540
|
+
if (tmp4 instanceof InterceptorFinishedClientAction) {
|
|
14541
14541
|
var tmp$ret$0;
|
|
14542
14542
|
$l$block_0: {
|
|
14543
14543
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -14567,7 +14567,7 @@
|
|
|
14567
14567
|
break $l$block_7;
|
|
14568
14568
|
}
|
|
14569
14569
|
} else {
|
|
14570
|
-
if (tmp4 instanceof
|
|
14570
|
+
if (tmp4 instanceof InterceptorCreatedClientAction) {
|
|
14571
14571
|
var tmp$ret$3;
|
|
14572
14572
|
$l$block_3: {
|
|
14573
14573
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -14597,7 +14597,7 @@
|
|
|
14597
14597
|
break $l$block_7;
|
|
14598
14598
|
}
|
|
14599
14599
|
} else {
|
|
14600
|
-
if (tmp4 instanceof
|
|
14600
|
+
if (tmp4 instanceof InterceptorStageCompletedClientAction) {
|
|
14601
14601
|
var tmp$ret$5;
|
|
14602
14602
|
$l$block_6: {
|
|
14603
14603
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -14814,13 +14814,13 @@
|
|
|
14814
14814
|
var tmp2_uiState = state.y9x_1;
|
|
14815
14815
|
var tmp3_isSceneActive = state.z9x_1;
|
|
14816
14816
|
var tmp4_error = state.h9y_1;
|
|
14817
|
-
var
|
|
14817
|
+
var tmp5_interceptedActions = state.w9x_1;
|
|
14818
14818
|
var tmp6_bufferedActions = state.x9x_1;
|
|
14819
14819
|
var tmp7_combinationsToAnnounce = state.c9y_1;
|
|
14820
14820
|
var tmp8_messages = state.u9x_1;
|
|
14821
14821
|
var tmp9_processingCard = state.f9y_1;
|
|
14822
14822
|
var tmp10_transitions = state.g9y_1;
|
|
14823
|
-
return Companion_instance_13.tbc(tmp1_config, tmp2_uiState, tmp3_isSceneActive, tmp8_messages, tmp6_bufferedActions,
|
|
14823
|
+
return Companion_instance_13.tbc(tmp1_config, tmp2_uiState, tmp3_isSceneActive, tmp8_messages, tmp6_bufferedActions, tmp5_interceptedActions, tmp7_combinationsToAnnounce, tmp9_processingCard, tmp4_error, tmp10_transitions);
|
|
14824
14824
|
}
|
|
14825
14825
|
};
|
|
14826
14826
|
protoOf(ClientLifecycleReducer).vbc = function (messages) {
|
|
@@ -15424,18 +15424,18 @@
|
|
|
15424
15424
|
function expectantLifecycleReducer$$inlined$reducerForActionType$1() {
|
|
15425
15425
|
}
|
|
15426
15426
|
protoOf(expectantLifecycleReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15427
|
-
return action instanceof
|
|
15427
|
+
return action instanceof InterceptorLifecycleAction;
|
|
15428
15428
|
};
|
|
15429
15429
|
protoOf(expectantLifecycleReducer$$inlined$reducerForActionType$1).u9c = function (state, action) {
|
|
15430
|
-
var action_0 = action instanceof
|
|
15430
|
+
var action_0 = action instanceof InterceptorLifecycleAction ? action : THROW_CCE();
|
|
15431
15431
|
var clientState = get_clientPayload_0(state);
|
|
15432
15432
|
var tmp;
|
|
15433
|
-
if (action_0 instanceof
|
|
15434
|
-
var
|
|
15435
|
-
var
|
|
15436
|
-
tmp = state.z8z(VOID, clientState.fb8(VOID, VOID, VOID,
|
|
15433
|
+
if (action_0 instanceof InterceptorCreatedClientAction) {
|
|
15434
|
+
var updatedInterceptedActions = plus_0(clientState.w9x_1, action_0.gb5_1);
|
|
15435
|
+
var updatedBufferedActions = plus_0(clientState.x9x_1, action_0.gb5_1.r9w_1);
|
|
15436
|
+
tmp = state.z8z(VOID, clientState.fb8(VOID, VOID, VOID, updatedInterceptedActions, updatedBufferedActions));
|
|
15437
15437
|
} else {
|
|
15438
|
-
if (action_0 instanceof
|
|
15438
|
+
if (action_0 instanceof InterceptorFinishedClientAction) {
|
|
15439
15439
|
// Inline function 'kotlin.collections.single' call
|
|
15440
15440
|
var single = null;
|
|
15441
15441
|
var found = false;
|
|
@@ -15463,10 +15463,10 @@
|
|
|
15463
15463
|
destination.e(element_0);
|
|
15464
15464
|
}
|
|
15465
15465
|
}
|
|
15466
|
-
var
|
|
15467
|
-
tmp = state.z8z(VOID, clientState.fb8(VOID, VOID, VOID,
|
|
15466
|
+
var updatedInterceptedActions_0 = plus_0(destination, expectant.v9w(VOID, VOID, true));
|
|
15467
|
+
tmp = state.z8z(VOID, clientState.fb8(VOID, VOID, VOID, updatedInterceptedActions_0));
|
|
15468
15468
|
} else {
|
|
15469
|
-
if (action_0 instanceof
|
|
15469
|
+
if (action_0 instanceof InterceptorStageCompletedClientAction) {
|
|
15470
15470
|
tmp = state;
|
|
15471
15471
|
} else {
|
|
15472
15472
|
noWhenBranchMatchedException();
|
|
@@ -15478,16 +15478,16 @@
|
|
|
15478
15478
|
protoOf(expectantLifecycleReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15479
15479
|
return this.u9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15480
15480
|
};
|
|
15481
|
-
function
|
|
15481
|
+
function interceptorActionReducer() {
|
|
15482
15482
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15483
|
-
return new
|
|
15483
|
+
return new interceptorActionReducer$$inlined$reducerForActionType$1();
|
|
15484
15484
|
}
|
|
15485
|
-
function
|
|
15485
|
+
function interceptorActionReducer$$inlined$reducerForActionType$1() {
|
|
15486
15486
|
}
|
|
15487
|
-
protoOf(
|
|
15487
|
+
protoOf(interceptorActionReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15488
15488
|
return isInterface(action, InterceptableAction);
|
|
15489
15489
|
};
|
|
15490
|
-
protoOf(
|
|
15490
|
+
protoOf(interceptorActionReducer$$inlined$reducerForActionType$1).u9c = function (state, action) {
|
|
15491
15491
|
var action_0 = isInterface(action, InterceptableAction) ? action : THROW_CCE();
|
|
15492
15492
|
var clientPayload = get_clientPayload_0(state);
|
|
15493
15493
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -15501,10 +15501,10 @@
|
|
|
15501
15501
|
destination.e(element);
|
|
15502
15502
|
}
|
|
15503
15503
|
}
|
|
15504
|
-
var
|
|
15505
|
-
return state.z8z(VOID, clientPayload.fb8(VOID, VOID, VOID,
|
|
15504
|
+
var updatedInterceptedActions = destination;
|
|
15505
|
+
return state.z8z(VOID, clientPayload.fb8(VOID, VOID, VOID, updatedInterceptedActions));
|
|
15506
15506
|
};
|
|
15507
|
-
protoOf(
|
|
15507
|
+
protoOf(interceptorActionReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15508
15508
|
return this.u9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15509
15509
|
};
|
|
15510
15510
|
function TransitionsReducer() {
|
|
@@ -15914,10 +15914,10 @@
|
|
|
15914
15914
|
this.nbe_1 = $currentPlayerId;
|
|
15915
15915
|
}
|
|
15916
15916
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15917
|
-
return action instanceof
|
|
15917
|
+
return action instanceof InterceptorCreatedClientAction;
|
|
15918
15918
|
};
|
|
15919
15919
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).u9c = function (state, action) {
|
|
15920
|
-
var action_0 = action instanceof
|
|
15920
|
+
var action_0 = action instanceof InterceptorCreatedClientAction ? action : THROW_CCE();
|
|
15921
15921
|
var clientPayload = get_clientPayload_0(state);
|
|
15922
15922
|
var expectantAction = action_0.gb5_1.r9w_1;
|
|
15923
15923
|
var tmp;
|
|
@@ -16075,8 +16075,8 @@
|
|
|
16075
16075
|
protoOf(Companion_3).rbc = function (config, uiState, isSceneActive, messages, bufferedActions, error) {
|
|
16076
16076
|
return new ClientStatePayload(config, messages, VOID, VOID, bufferedActions, uiState, isSceneActive, VOID, VOID, VOID, VOID, VOID, VOID, VOID, error);
|
|
16077
16077
|
};
|
|
16078
|
-
protoOf(Companion_3).tbc = function (config, uiState, isSceneActive, messages, bufferedActions,
|
|
16079
|
-
return new ClientStatePayload(config, messages, VOID,
|
|
16078
|
+
protoOf(Companion_3).tbc = function (config, uiState, isSceneActive, messages, bufferedActions, interceptedActions, combinationsToAnnounce, processingCard, error, transitions) {
|
|
16079
|
+
return new ClientStatePayload(config, messages, VOID, interceptedActions, bufferedActions, uiState, isSceneActive, VOID, VOID, combinationsToAnnounce, VOID, VOID, processingCard, transitions, error);
|
|
16080
16080
|
};
|
|
16081
16081
|
protoOf(Companion_3).ubc = function (config, uiState, isSceneActive) {
|
|
16082
16082
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, uiState, isSceneActive);
|
|
@@ -16085,10 +16085,10 @@
|
|
|
16085
16085
|
function Companion_getInstance_4() {
|
|
16086
16086
|
return Companion_instance_13;
|
|
16087
16087
|
}
|
|
16088
|
-
function ClientStatePayload(config, messages, infoMessage,
|
|
16088
|
+
function ClientStatePayload(config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
16089
16089
|
messages = messages === VOID ? emptyList() : messages;
|
|
16090
16090
|
infoMessage = infoMessage === VOID ? null : infoMessage;
|
|
16091
|
-
|
|
16091
|
+
interceptedActions = interceptedActions === VOID ? emptyList() : interceptedActions;
|
|
16092
16092
|
bufferedActions = bufferedActions === VOID ? emptyList() : bufferedActions;
|
|
16093
16093
|
isSceneActive = isSceneActive === VOID ? true : isSceneActive;
|
|
16094
16094
|
chatOpened = chatOpened === VOID ? false : chatOpened;
|
|
@@ -16103,7 +16103,7 @@
|
|
|
16103
16103
|
this.t9x_1 = config;
|
|
16104
16104
|
this.u9x_1 = messages;
|
|
16105
16105
|
this.v9x_1 = infoMessage;
|
|
16106
|
-
this.w9x_1 =
|
|
16106
|
+
this.w9x_1 = interceptedActions;
|
|
16107
16107
|
this.x9x_1 = bufferedActions;
|
|
16108
16108
|
this.y9x_1 = uiState;
|
|
16109
16109
|
this.z9x_1 = isSceneActive;
|
|
@@ -16117,14 +16117,14 @@
|
|
|
16117
16117
|
this.h9y_1 = error;
|
|
16118
16118
|
this.i9y_1 = tutorial;
|
|
16119
16119
|
}
|
|
16120
|
-
protoOf(ClientStatePayload).pbe = function (config, messages, infoMessage,
|
|
16121
|
-
return new ClientStatePayload(config, messages, infoMessage,
|
|
16120
|
+
protoOf(ClientStatePayload).pbe = function (config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
16121
|
+
return new ClientStatePayload(config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
16122
16122
|
};
|
|
16123
|
-
protoOf(ClientStatePayload).fb8 = function (config, messages, infoMessage,
|
|
16123
|
+
protoOf(ClientStatePayload).fb8 = function (config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial, $super) {
|
|
16124
16124
|
config = config === VOID ? this.t9x_1 : config;
|
|
16125
16125
|
messages = messages === VOID ? this.u9x_1 : messages;
|
|
16126
16126
|
infoMessage = infoMessage === VOID ? this.v9x_1 : infoMessage;
|
|
16127
|
-
|
|
16127
|
+
interceptedActions = interceptedActions === VOID ? this.w9x_1 : interceptedActions;
|
|
16128
16128
|
bufferedActions = bufferedActions === VOID ? this.x9x_1 : bufferedActions;
|
|
16129
16129
|
uiState = uiState === VOID ? this.y9x_1 : uiState;
|
|
16130
16130
|
isSceneActive = isSceneActive === VOID ? this.z9x_1 : isSceneActive;
|
|
@@ -16137,10 +16137,10 @@
|
|
|
16137
16137
|
transitions = transitions === VOID ? this.g9y_1 : transitions;
|
|
16138
16138
|
error = error === VOID ? this.h9y_1 : error;
|
|
16139
16139
|
tutorial = tutorial === VOID ? this.i9y_1 : tutorial;
|
|
16140
|
-
return $super === VOID ? this.pbe(config, messages, infoMessage,
|
|
16140
|
+
return $super === VOID ? this.pbe(config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) : $super.pbe.call(this, config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
16141
16141
|
};
|
|
16142
16142
|
protoOf(ClientStatePayload).toString = function () {
|
|
16143
|
-
return 'ClientStatePayload(config=' + this.t9x_1.toString() + ', messages=' + toString(this.u9x_1) + ', infoMessage=' + toString_0(this.v9x_1) + ',
|
|
16143
|
+
return 'ClientStatePayload(config=' + this.t9x_1.toString() + ', messages=' + toString(this.u9x_1) + ', infoMessage=' + toString_0(this.v9x_1) + ', interceptedActions=' + toString(this.w9x_1) + ', bufferedActions=' + toString(this.x9x_1) + ', uiState=' + this.y9x_1.toString() + ', isSceneActive=' + this.z9x_1 + ', chatOpened=' + this.a9y_1 + ', settingsOpened=' + this.b9y_1 + ', combinationsToAnnounce=' + toString_0(this.c9y_1) + ', lastBribe=' + toString_0(this.d9y_1) + ', gameInfo=' + toString_0(this.e9y_1) + ', processingCard=' + toString_0(this.f9y_1) + ', transitions=' + toString(this.g9y_1) + ', error=' + toString_0(this.h9y_1) + ', tutorial=' + this.i9y_1 + ')';
|
|
16144
16144
|
};
|
|
16145
16145
|
protoOf(ClientStatePayload).hashCode = function () {
|
|
16146
16146
|
var result = this.t9x_1.hashCode();
|
|
@@ -16288,7 +16288,7 @@
|
|
|
16288
16288
|
function Companion_4() {
|
|
16289
16289
|
}
|
|
16290
16290
|
protoOf(Companion_4).obe = function () {
|
|
16291
|
-
return new UIState(
|
|
16291
|
+
return new UIState(false, false);
|
|
16292
16292
|
};
|
|
16293
16293
|
var Companion_instance_14;
|
|
16294
16294
|
function Companion_getInstance_5() {
|
|
@@ -16800,14 +16800,14 @@
|
|
|
16800
16800
|
defineProp(protoOf(ResetErrorAction), 'actionTag', function () {
|
|
16801
16801
|
return this.h6n();
|
|
16802
16802
|
});
|
|
16803
|
-
protoOf(
|
|
16804
|
-
defineProp(protoOf(
|
|
16803
|
+
protoOf(InterceptorLifecycleAction).h6n = get_actionTag;
|
|
16804
|
+
defineProp(protoOf(InterceptorLifecycleAction), 'actionTag', function () {
|
|
16805
16805
|
return this.h6n();
|
|
16806
16806
|
});
|
|
16807
|
-
defineProp(protoOf(
|
|
16807
|
+
defineProp(protoOf(InterceptorCreatedClientAction), 'actionTag', function () {
|
|
16808
16808
|
return this.h6n();
|
|
16809
16809
|
});
|
|
16810
|
-
defineProp(protoOf(
|
|
16810
|
+
defineProp(protoOf(InterceptorFinishedClientAction), 'actionTag', function () {
|
|
16811
16811
|
return this.h6n();
|
|
16812
16812
|
});
|
|
16813
16813
|
protoOf(ExpectantTimerTag).notValidateWhenFinished = notValidateWhenFinished;
|