client_plugin_logic_deb 1.8.329 → 1.8.331

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.
@@ -32423,101 +32423,109 @@
32423
32423
  return action instanceof ExpectantLifecycleAction;
32424
32424
  };
32425
32425
  protoOf(_no_name_provided__qut3iv_93).i6q = function (store, next, action) {
32426
- // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>' call
32427
- var action_0 = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
32428
- var expectants = get_clientPayload(store.state).eao_1;
32429
- if (action_0 instanceof ExpectantTimerFinishedClientAction) {
32430
- var tmp$ret$0;
32431
- $l$block_0: {
32432
- // Inline function 'kotlin.collections.none' call
32433
- var tmp;
32434
- if (isInterface(expectants, Collection)) {
32435
- tmp = expectants.p();
32436
- } else {
32437
- tmp = false;
32438
- }
32439
- if (tmp) {
32440
- tmp$ret$0 = true;
32441
- break $l$block_0;
32442
- }
32443
- var tmp0_iterator = expectants.j();
32444
- while (tmp0_iterator.k()) {
32445
- var element = tmp0_iterator.l();
32446
- // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
32447
- if (element.nab_1 === action_0.qaq_1) {
32448
- tmp$ret$0 = false;
32449
- break $l$block_0;
32450
- }
32451
- }
32452
- tmp$ret$0 = true;
32453
- }
32454
- if (tmp$ret$0) {
32455
- this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + action_0.toString());
32456
- }
32457
- } else {
32458
- if (action_0 instanceof ExpectantCreatedClientAction) {
32459
- var tmp$ret$2;
32460
- $l$block_2: {
32461
- // Inline function 'kotlin.collections.any' call
32462
- var tmp_0;
32426
+ $l$block_7: {
32427
+ // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>' call
32428
+ var action_0 = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
32429
+ var expectants = get_clientPayload(store.state).eao_1;
32430
+ if (action_0 instanceof ExpectantTimerFinishedClientAction) {
32431
+ var tmp$ret$0;
32432
+ $l$block_0: {
32433
+ // Inline function 'kotlin.collections.none' call
32434
+ var tmp;
32463
32435
  if (isInterface(expectants, Collection)) {
32464
- tmp_0 = expectants.p();
32436
+ tmp = expectants.p();
32465
32437
  } else {
32466
- tmp_0 = false;
32438
+ tmp = false;
32467
32439
  }
32468
- if (tmp_0) {
32469
- tmp$ret$2 = false;
32470
- break $l$block_2;
32440
+ if (tmp) {
32441
+ tmp$ret$0 = true;
32442
+ break $l$block_0;
32471
32443
  }
32472
- var tmp0_iterator_0 = expectants.j();
32473
- while (tmp0_iterator_0.k()) {
32474
- var element_0 = tmp0_iterator_0.l();
32444
+ var tmp0_iterator = expectants.j();
32445
+ while (tmp0_iterator.k()) {
32446
+ var element = tmp0_iterator.l();
32475
32447
  // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
32476
- if (element_0.nab_1 === action_0.kd5_1.nab_1) {
32477
- tmp$ret$2 = true;
32478
- break $l$block_2;
32448
+ if (element.nab_1 === action_0.qaq_1) {
32449
+ tmp$ret$0 = false;
32450
+ break $l$block_0;
32479
32451
  }
32480
32452
  }
32481
- tmp$ret$2 = false;
32453
+ tmp$ret$0 = true;
32482
32454
  }
32483
- if (tmp$ret$2) {
32484
- this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + action_0.toString());
32455
+ if (tmp$ret$0) {
32456
+ this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + action_0.toString());
32457
+ next(action_0);
32458
+ break $l$block_7;
32485
32459
  }
32486
32460
  } else {
32487
- if (action_0 instanceof ExpectantStageCompletedClientAction) {
32488
- var tmp$ret$4;
32489
- $l$block_4: {
32490
- // Inline function 'kotlin.collections.none' call
32491
- var tmp_1;
32461
+ if (action_0 instanceof ExpectantCreatedClientAction) {
32462
+ var tmp$ret$3;
32463
+ $l$block_3: {
32464
+ // Inline function 'kotlin.collections.any' call
32465
+ var tmp_0;
32492
32466
  if (isInterface(expectants, Collection)) {
32493
- tmp_1 = expectants.p();
32467
+ tmp_0 = expectants.p();
32494
32468
  } else {
32495
- tmp_1 = false;
32469
+ tmp_0 = false;
32496
32470
  }
32497
- if (tmp_1) {
32498
- tmp$ret$4 = true;
32499
- break $l$block_4;
32471
+ if (tmp_0) {
32472
+ tmp$ret$3 = false;
32473
+ break $l$block_3;
32500
32474
  }
32501
- var tmp0_iterator_1 = expectants.j();
32502
- while (tmp0_iterator_1.k()) {
32503
- var element_1 = tmp0_iterator_1.l();
32475
+ var tmp0_iterator_0 = expectants.j();
32476
+ while (tmp0_iterator_0.k()) {
32477
+ var element_0 = tmp0_iterator_0.l();
32504
32478
  // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
32505
- if (element_1.nab_1 === action_0.jd5_1) {
32506
- tmp$ret$4 = false;
32507
- break $l$block_4;
32479
+ if (element_0.nab_1 === action_0.kd5_1.nab_1) {
32480
+ tmp$ret$3 = true;
32481
+ break $l$block_3;
32508
32482
  }
32509
32483
  }
32510
- tmp$ret$4 = true;
32484
+ tmp$ret$3 = false;
32511
32485
  }
32512
- if (tmp$ret$4) {
32513
- this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + action_0.toString());
32486
+ if (tmp$ret$3) {
32487
+ this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + action_0.toString());
32488
+ next(action_0);
32489
+ break $l$block_7;
32514
32490
  }
32515
32491
  } else {
32516
- noWhenBranchMatchedException();
32492
+ if (action_0 instanceof ExpectantStageCompletedClientAction) {
32493
+ var tmp$ret$5;
32494
+ $l$block_6: {
32495
+ // Inline function 'kotlin.collections.none' call
32496
+ var tmp_1;
32497
+ if (isInterface(expectants, Collection)) {
32498
+ tmp_1 = expectants.p();
32499
+ } else {
32500
+ tmp_1 = false;
32501
+ }
32502
+ if (tmp_1) {
32503
+ tmp$ret$5 = true;
32504
+ break $l$block_6;
32505
+ }
32506
+ var tmp0_iterator_1 = expectants.j();
32507
+ while (tmp0_iterator_1.k()) {
32508
+ var element_1 = tmp0_iterator_1.l();
32509
+ // Inline function 'games.jass.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>.<anonymous>' call
32510
+ if (element_1.nab_1 === action_0.jd5_1) {
32511
+ tmp$ret$5 = false;
32512
+ break $l$block_6;
32513
+ }
32514
+ }
32515
+ tmp$ret$5 = true;
32516
+ }
32517
+ if (tmp$ret$5) {
32518
+ this.bdc_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + action_0.toString());
32519
+ next(action_0);
32520
+ break $l$block_7;
32521
+ }
32522
+ } else {
32523
+ noWhenBranchMatchedException();
32524
+ }
32517
32525
  }
32518
32526
  }
32527
+ next(action_0);
32519
32528
  }
32520
- next(action_0);
32521
32529
  };
32522
32530
  protoOf(_no_name_provided__qut3iv_93).q6o = function (store, next, action) {
32523
32531
  return this.i6q(store, next, action);