@mtgame/core 2.0.12 → 2.0.13

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.
Files changed (70) hide show
  1. package/api/tournament-api.d.ts +1 -0
  2. package/esm2020/api/basketball-game-api.mjs +3 -3
  3. package/esm2020/api/feedback-api.mjs +3 -3
  4. package/esm2020/api/file-api.mjs +3 -3
  5. package/esm2020/api/football-game-api.mjs +3 -3
  6. package/esm2020/api/game-base-api.mjs +3 -3
  7. package/esm2020/api/handball-game-api.mjs +3 -3
  8. package/esm2020/api/hockey-game-api.mjs +3 -3
  9. package/esm2020/api/league-api.mjs +3 -3
  10. package/esm2020/api/league-news-api.mjs +3 -3
  11. package/esm2020/api/league-player-api.mjs +3 -3
  12. package/esm2020/api/media-api.mjs +3 -3
  13. package/esm2020/api/notification-api.mjs +3 -3
  14. package/esm2020/api/notification-base-api.mjs +3 -3
  15. package/esm2020/api/org-notification-api.mjs +3 -3
  16. package/esm2020/api/public-team-api.mjs +3 -3
  17. package/esm2020/api/public-user-api.mjs +3 -3
  18. package/esm2020/api/reference-api.mjs +3 -3
  19. package/esm2020/api/rugby-game-api.mjs +3 -3
  20. package/esm2020/api/team-api.mjs +3 -3
  21. package/esm2020/api/team-event-api.mjs +3 -3
  22. package/esm2020/api/tournament-api.mjs +7 -4
  23. package/esm2020/api/tournament-join-api.mjs +3 -3
  24. package/esm2020/api/tournament-round-api.mjs +3 -3
  25. package/esm2020/api/tournament-season-api.mjs +3 -3
  26. package/esm2020/api/tournament-stage-api.mjs +3 -3
  27. package/esm2020/api/user-api.mjs +3 -3
  28. package/esm2020/api/volleyball-game-api.mjs +3 -3
  29. package/esm2020/api/waterpolo-game-api.mjs +3 -3
  30. package/esm2020/http-cookie.interceptor.mjs +3 -3
  31. package/esm2020/localization/basketball-game-log-types.mjs +8 -1
  32. package/esm2020/localization/rugby-foul-sanction.mjs +2 -2
  33. package/esm2020/localization/rugby-game-log-types.mjs +2 -1
  34. package/esm2020/models/basketball-game-log.mjs +18 -3
  35. package/esm2020/models/basketball-game-statistic.mjs +59 -1
  36. package/esm2020/models/basketball-statistic.mjs +1 -1
  37. package/esm2020/models/football-statistic.mjs +1 -1
  38. package/esm2020/models/game-user.mjs +2 -2
  39. package/esm2020/models/game.mjs +12 -1
  40. package/esm2020/models/hockey-statistic.mjs +1 -1
  41. package/esm2020/models/playoff.mjs +4 -1
  42. package/esm2020/models/rugby-game-log.mjs +19 -18
  43. package/esm2020/models/rugby-game-statistic.mjs +2 -2
  44. package/esm2020/models/rugby-statistic.mjs +1 -1
  45. package/esm2020/models/sport.mjs +5 -1
  46. package/esm2020/models/team.mjs +1 -1
  47. package/esm2020/services/base.service.mjs +3 -3
  48. package/esm2020/services/centrifugo.service.mjs +12 -8
  49. package/esm2020/services/config.service.mjs +3 -3
  50. package/esm2020/services/device-info.service.mjs +3 -3
  51. package/esm2020/websocket/game.websocket.mjs +3 -3
  52. package/fesm2015/mtgame-core.mjs +236 -128
  53. package/fesm2015/mtgame-core.mjs.map +1 -1
  54. package/fesm2020/mtgame-core.mjs +235 -128
  55. package/fesm2020/mtgame-core.mjs.map +1 -1
  56. package/localization/basketball-game-log-types.d.ts +7 -0
  57. package/localization/rugby-game-log-types.d.ts +3 -2
  58. package/models/basketball-game-log.d.ts +9 -1
  59. package/models/basketball-game-statistic.d.ts +32 -0
  60. package/models/basketball-statistic.d.ts +9 -0
  61. package/models/football-statistic.d.ts +2 -0
  62. package/models/game.d.ts +2 -0
  63. package/models/hockey-statistic.d.ts +3 -0
  64. package/models/playoff.d.ts +1 -0
  65. package/models/rugby-game-log.d.ts +18 -17
  66. package/models/rugby-game-statistic.d.ts +1 -0
  67. package/models/rugby-statistic.d.ts +1 -0
  68. package/models/sport.d.ts +3 -1
  69. package/models/team.d.ts +1 -0
  70. package/package.json +1 -1
@@ -209,6 +209,7 @@ var SportTypes;
209
209
  SportTypes[SportTypes["waterpolo"] = 19] = "waterpolo";
210
210
  SportTypes[SportTypes["classic_waterpolo"] = 20] = "classic_waterpolo";
211
211
  SportTypes[SportTypes["mini_waterpolo"] = 21] = "mini_waterpolo";
212
+ SportTypes[SportTypes["media_basket"] = 22] = "media_basket";
212
213
  })(SportTypes || (SportTypes = {}));
213
214
  let Sport = class Sport extends BaseModel {
214
215
  isBasketball() {
@@ -223,6 +224,9 @@ let Sport = class Sport extends BaseModel {
223
224
  isBasketball1x1() {
224
225
  return this.id === SportTypes.basketball_1x1;
225
226
  }
227
+ isMediaBasket() {
228
+ return this.id === SportTypes.media_basket;
229
+ }
226
230
  isVolleyball() {
227
231
  return this.id === SportTypes.volleyball || this.parentId === SportTypes.volleyball;
228
232
  }
@@ -996,6 +1000,9 @@ let Playoff = class Playoff extends BaseModel {
996
1000
  const playoffStage = this.settings.teamsCount / 2 ** stage;
997
1001
  let title = '';
998
1002
  if (playoffStage === 1) {
1003
+ if (this.winnerPlace > 1) {
1004
+ title = `${this.winnerPlace} место`;
1005
+ }
999
1006
  title = 'Финал';
1000
1007
  }
1001
1008
  else {
@@ -1205,6 +1212,17 @@ let Game = class Game extends BaseModel {
1205
1212
  }
1206
1213
  return null;
1207
1214
  }
1215
+ get sport() {
1216
+ if (this.tournament?.sport?.id) {
1217
+ return this.tournament.sport;
1218
+ }
1219
+ if (this.team?.sport?.id) {
1220
+ return this.team.sport;
1221
+ }
1222
+ if (this.competitorTeam?.sport?.id) {
1223
+ return this.competitorTeam.sport;
1224
+ }
1225
+ }
1208
1226
  };
1209
1227
  Game = __decorate([
1210
1228
  Model({
@@ -1466,24 +1484,64 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1466
1484
  get totalFouls() {
1467
1485
  return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
1468
1486
  }
1487
+ set onePointPercent(v) { }
1488
+ get onePointPercent() {
1489
+ if (!this.onePointsMade || !this.onePointAttempts) {
1490
+ return 0;
1491
+ }
1492
+ return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1493
+ }
1494
+ /**
1495
+ * @deprecated Use onePointPercent instead
1496
+ */
1469
1497
  get onePointsPercent() {
1470
1498
  if (!this.onePointsMade || !this.onePointAttempts) {
1471
1499
  return 0;
1472
1500
  }
1473
1501
  return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1474
1502
  }
1503
+ set twoPointPercent(v) { }
1504
+ get twoPointPercent() {
1505
+ if (!this.twoPointsMade || !this.twoPointAttempts) {
1506
+ return 0;
1507
+ }
1508
+ return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1509
+ }
1510
+ /**
1511
+ * @deprecated Use twoPointPercent instead
1512
+ */
1475
1513
  get twoPointsPercent() {
1476
1514
  if (!this.twoPointsMade || !this.twoPointAttempts) {
1477
1515
  return 0;
1478
1516
  }
1479
1517
  return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1480
1518
  }
1519
+ set threePointPercent(v) { }
1520
+ get threePointPercent() {
1521
+ if (!this.threePointsMade || !this.threePointAttempts) {
1522
+ return 0;
1523
+ }
1524
+ return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1525
+ }
1526
+ /**
1527
+ * @deprecated Use threePointPercent instead
1528
+ */
1481
1529
  get threePointsPercent() {
1482
1530
  if (!this.threePointsMade || !this.threePointAttempts) {
1483
1531
  return 0;
1484
1532
  }
1485
1533
  return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1486
1534
  }
1535
+ set freeThrowPercent(v) { }
1536
+ get freeThrowPercent() {
1537
+ if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1538
+ return 0;
1539
+ }
1540
+ return Math.round(1000 * this.freeThrowsMade / this.freeThrowAttempts) / 10;
1541
+ }
1542
+ /**
1543
+ * @deprecated Use freeThrowPercent instead
1544
+ */
1487
1545
  get freeThrowsPercent() {
1488
1546
  if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1489
1547
  return 0;
@@ -1493,6 +1551,24 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1493
1551
  get totalRebounds() {
1494
1552
  return Math.floor(10 * ((this.offensiveRebounds || 0) + (this.defensiveRebounds || 0))) / 10;
1495
1553
  }
1554
+ set fourPointPercent(v) { }
1555
+ get fourPointPercent() {
1556
+ if (!this.fourPointAttempts || !this.fourPointsMade) {
1557
+ return 0;
1558
+ }
1559
+ return Math.round(1000 * this.fourPointsMade / this.fourPointAttempts) / 10;
1560
+ }
1561
+ set shootoutsTotal(v) { }
1562
+ get shootoutsTotal() {
1563
+ return (this.shootoutsLost || 0) + (this.shootoutsWon || 0);
1564
+ }
1565
+ set shootoutWonPercent(v) { }
1566
+ get shootoutWonPercent() {
1567
+ if (!this.shootoutsTotal || !this.shootoutsWon) {
1568
+ return 0;
1569
+ }
1570
+ return Math.round(1000 * this.shootoutsWon / this.shootoutsTotal) / 10;
1571
+ }
1496
1572
  };
1497
1573
  BasketballGameStatistic = __decorate([
1498
1574
  Model({
@@ -1531,6 +1607,13 @@ var BasketballGameLogTypes;
1531
1607
  BasketballGameLogTypes[BasketballGameLogTypes["one_point_made"] = 22] = "one_point_made";
1532
1608
  BasketballGameLogTypes[BasketballGameLogTypes["timeout"] = 23] = "timeout";
1533
1609
  BasketballGameLogTypes[BasketballGameLogTypes["team_rebound"] = 24] = "team_rebound";
1610
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_attempt"] = 25] = "four_point_attempt";
1611
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_made"] = 26] = "four_point_made";
1612
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_attempt"] = 27] = "dunk_attempt";
1613
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_made"] = 28] = "dunk_made";
1614
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout"] = 29] = "shootout";
1615
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_won"] = 30] = "shootout_won";
1616
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_lost"] = 31] = "shootout_lost";
1534
1617
  })(BasketballGameLogTypes || (BasketballGameLogTypes = {}));
1535
1618
  var BasketballSubLogTypes;
1536
1619
  (function (BasketballSubLogTypes) {
@@ -1604,6 +1687,9 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1604
1687
  BasketballGameLogTypes.three_point_made,
1605
1688
  BasketballGameLogTypes.free_throw_made,
1606
1689
  BasketballGameLogTypes.one_point_made,
1690
+ BasketballGameLogTypes.four_point_made,
1691
+ BasketballGameLogTypes.dunk_made,
1692
+ BasketballGameLogTypes.shootout_won,
1607
1693
  ].indexOf(this.logType) > -1;
1608
1694
  }
1609
1695
  isReboundType() {
@@ -1627,9 +1713,14 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1627
1713
  [BasketballGameLogTypes.one_point_made]: 1,
1628
1714
  [BasketballGameLogTypes.free_throw_made]: 1,
1629
1715
  [BasketballGameLogTypes.two_point_made]: 2,
1630
- [BasketballGameLogTypes.three_point_made]: 3
1716
+ [BasketballGameLogTypes.three_point_made]: 3,
1717
+ [BasketballGameLogTypes.four_point_made]: 4,
1718
+ [BasketballGameLogTypes.dunk_made]: 3,
1631
1719
  };
1632
- return scoreMapping[this.logType];
1720
+ if (this.logType === BasketballGameLogTypes.shootout_won) {
1721
+ return this.shootoutPoints;
1722
+ }
1723
+ return scoreMapping[this.logType] || 0;
1633
1724
  }
1634
1725
  compare(model) {
1635
1726
  if (this.time === model.time && this.period === model.period) {
@@ -1664,7 +1755,7 @@ BasketballGameLog = __decorate([
1664
1755
 
1665
1756
  let GameUser = class GameUser extends BaseModel {
1666
1757
  get gameUserNumber() {
1667
- return this.number ? this.number : this.teamUser.number;
1758
+ return (this.number || this.number === 0) ? this.number : this.teamUser.number;
1668
1759
  }
1669
1760
  };
1670
1761
  GameUser = __decorate([
@@ -1936,9 +2027,9 @@ class BaseService {
1936
2027
  this.store.dispose();
1937
2028
  }
1938
2029
  }
1939
- BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1940
- BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, providedIn: 'root' });
1941
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, decorators: [{
2030
+ BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2031
+ BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, providedIn: 'root' });
2032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, decorators: [{
1942
2033
  type: Injectable,
1943
2034
  args: [{ providedIn: 'root' }]
1944
2035
  }] });
@@ -1972,9 +2063,9 @@ class ConfigService extends BaseService {
1972
2063
  return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
1973
2064
  }
1974
2065
  }
1975
- ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, deps: [{ token: CONFIG_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1976
- ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, providedIn: 'root' });
1977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, decorators: [{
2066
+ ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, deps: [{ token: CONFIG_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2067
+ ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, providedIn: 'root' });
2068
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, decorators: [{
1978
2069
  type: Injectable,
1979
2070
  args: [{ providedIn: 'root' }]
1980
2071
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -2008,9 +2099,9 @@ class GameBaseApi {
2008
2099
  }).toPromise();
2009
2100
  }
2010
2101
  }
2011
- GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2012
- GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
2013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, decorators: [{
2102
+ GameBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2103
+ GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
2104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, decorators: [{
2014
2105
  type: Injectable,
2015
2106
  args: [{ providedIn: 'root' }]
2016
2107
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2042,9 +2133,9 @@ class BasketballGameApi extends GameBaseApi {
2042
2133
  .toPromise();
2043
2134
  }
2044
2135
  }
2045
- BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2046
- BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
2047
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, decorators: [{
2136
+ BasketballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2137
+ BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
2138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, decorators: [{
2048
2139
  type: Injectable,
2049
2140
  args: [{ providedIn: 'root' }]
2050
2141
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2075,9 +2166,9 @@ class FeedbackApi {
2075
2166
  .toPromise();
2076
2167
  }
2077
2168
  }
2078
- FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2079
- FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
2080
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, decorators: [{
2169
+ FeedbackApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2170
+ FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
2171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, decorators: [{
2081
2172
  type: Injectable,
2082
2173
  args: [{ providedIn: 'root' }]
2083
2174
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2109,9 +2200,9 @@ class FileApi {
2109
2200
  .toPromise();
2110
2201
  }
2111
2202
  }
2112
- FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2113
- FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, providedIn: 'root' });
2114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, decorators: [{
2203
+ FileApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2204
+ FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, providedIn: 'root' });
2205
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, decorators: [{
2115
2206
  type: Injectable,
2116
2207
  args: [{ providedIn: 'root' }]
2117
2208
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2449,9 +2540,9 @@ class HockeyGameApi extends GameBaseApi {
2449
2540
  }).toPromise();
2450
2541
  }
2451
2542
  }
2452
- HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2453
- HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
2454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, decorators: [{
2543
+ HockeyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2544
+ HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
2545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, decorators: [{
2455
2546
  type: Injectable,
2456
2547
  args: [{ providedIn: 'root' }]
2457
2548
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2732,9 +2823,9 @@ class FootballGameApi extends GameBaseApi {
2732
2823
  }).toPromise();
2733
2824
  }
2734
2825
  }
2735
- FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2736
- FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
2737
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, decorators: [{
2826
+ FootballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2827
+ FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
2828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, decorators: [{
2738
2829
  type: Injectable,
2739
2830
  args: [{ providedIn: 'root' }]
2740
2831
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2938,9 +3029,9 @@ class HandballGameApi extends GameBaseApi {
2938
3029
  }).toPromise();
2939
3030
  }
2940
3031
  }
2941
- HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
2942
- HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
2943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, decorators: [{
3032
+ HandballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3033
+ HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
3034
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, decorators: [{
2944
3035
  type: Injectable,
2945
3036
  args: [{ providedIn: 'root' }]
2946
3037
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3507,9 +3598,9 @@ class TournamentApi {
3507
3598
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/tournament_team_user/${tournamentTeamUserId}/tournaments/`).pipe(map(result => result.map(item => new Tournament(item)))).toPromise();
3508
3599
  }
3509
3600
  }
3510
- TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3511
- TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, providedIn: 'root' });
3512
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, decorators: [{
3601
+ TournamentApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3602
+ TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, providedIn: 'root' });
3603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, decorators: [{
3513
3604
  type: Injectable,
3514
3605
  args: [{ providedIn: 'root' }]
3515
3606
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3523,6 +3614,9 @@ function applyGamesFilters(filters, params) {
3523
3614
  if (filters.tournamentRoundId) {
3524
3615
  params = params.set('tournament_round_id', filters.tournamentRoundId.toString());
3525
3616
  }
3617
+ if (filters.tournamentGroupId) {
3618
+ params = params.set('tournament_group_id', filters.tournamentGroupId.toString());
3619
+ }
3526
3620
  if (filters.divisionId) {
3527
3621
  params = params.set('division_id', filters.divisionId.toString());
3528
3622
  }
@@ -3763,9 +3857,9 @@ class LeagueApi {
3763
3857
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league/${leagueId}/team_and_user_search/`, { params }).pipe(map(result => new TeamsAndUsers(result))).toPromise();
3764
3858
  }
3765
3859
  }
3766
- LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3767
- LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
3768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
3860
+ LeagueApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3861
+ LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, providedIn: 'root' });
3862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, decorators: [{
3769
3863
  type: Injectable,
3770
3864
  args: [{ providedIn: 'root' }]
3771
3865
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3813,9 +3907,9 @@ class LeagueNewsApi {
3813
3907
  .toPromise();
3814
3908
  }
3815
3909
  }
3816
- LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3817
- LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
3818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
3910
+ LeagueNewsApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3911
+ LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
3912
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, decorators: [{
3819
3913
  type: Injectable,
3820
3914
  args: [{ providedIn: 'root' }]
3821
3915
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3836,9 +3930,9 @@ class LeaguePlayerApi {
3836
3930
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/league_player/${leaguePlayerId}/tournament_users/`, { params }).pipe(map(response => response.map(item => new TournamentTeamUser(item)))).toPromise();
3837
3931
  }
3838
3932
  }
3839
- LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3840
- LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
3841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
3933
+ LeaguePlayerApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3934
+ LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
3935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, decorators: [{
3842
3936
  type: Injectable,
3843
3937
  args: [{ providedIn: 'root' }]
3844
3938
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3925,9 +4019,9 @@ class MediaApi {
3925
4019
  .toPromise();
3926
4020
  }
3927
4021
  }
3928
- MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
3929
- MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
3930
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
4022
+ MediaApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4023
+ MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, providedIn: 'root' });
4024
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, decorators: [{
3931
4025
  type: Injectable,
3932
4026
  args: [{ providedIn: 'root' }]
3933
4027
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4295,9 +4389,9 @@ class NotificationBaseApi {
4295
4389
  .toPromise();
4296
4390
  }
4297
4391
  }
4298
- NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4299
- NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
4300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
4392
+ NotificationBaseApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4393
+ NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
4394
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, decorators: [{
4301
4395
  type: Injectable,
4302
4396
  args: [{ providedIn: 'root' }]
4303
4397
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4308,9 +4402,9 @@ class NotificationApi extends NotificationBaseApi {
4308
4402
  this.apiUrl = '/api/v1';
4309
4403
  }
4310
4404
  }
4311
- NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4312
- NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
4313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
4405
+ NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4406
+ NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, providedIn: 'root' });
4407
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, decorators: [{
4314
4408
  type: Injectable,
4315
4409
  args: [{ providedIn: 'root' }]
4316
4410
  }] });
@@ -4321,9 +4415,9 @@ class OrgNotificationApi extends NotificationBaseApi {
4321
4415
  this.apiUrl = '/org/api/v1';
4322
4416
  }
4323
4417
  }
4324
- OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4325
- OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
4326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
4418
+ OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4419
+ OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
4420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, decorators: [{
4327
4421
  type: Injectable,
4328
4422
  args: [{ providedIn: 'root' }]
4329
4423
  }] });
@@ -4344,9 +4438,9 @@ class ReferenceApi {
4344
4438
  .pipe(map(data => data.map(item => new Sport(item)))).toPromise();
4345
4439
  }
4346
4440
  }
4347
- ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4348
- ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
4349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
4441
+ ReferenceApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4442
+ ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
4443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, decorators: [{
4350
4444
  type: Injectable,
4351
4445
  args: [{ providedIn: 'root' }]
4352
4446
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4400,7 +4494,7 @@ let RugbyGameStatistic = class RugbyGameStatistic extends GameStatisticBase {
4400
4494
  return (this.conversionGoals || 0) + (this.dropGoals || 0) + (this.penaltyGoals || 0);
4401
4495
  }
4402
4496
  get footShots() {
4403
- return (this.footFieldShots || 0) + (this.footOutShots || 0);
4497
+ return (this.footFieldShots || 0) + (this.footOutShots || 0) + (this.footKicks5022 || 0);
4404
4498
  }
4405
4499
  get totalFouls() {
4406
4500
  return (this.fouls || 0) + (this.teamFouls || 0);
@@ -4476,24 +4570,25 @@ var RugbyGameLogTypes;
4476
4570
  RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 22] = "end_game_penalty_goal";
4477
4571
  RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 23] = "foot_field_shot";
4478
4572
  RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 24] = "foot_out_shot";
4573
+ RugbyGameLogTypes[RugbyGameLogTypes["foot_kick_50_22"] = 25] = "foot_kick_50_22";
4479
4574
  // team actions
4480
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
4481
- RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 26] = "tap_penalty";
4482
- RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 27] = "penalty_kick_to_touch";
4483
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 28] = "scrum_won";
4484
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 29] = "scrum_lost";
4485
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 30] = "scrum_won_free";
4486
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 31] = "lineout_won";
4487
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 32] = "lineout_lost";
4488
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 33] = "quick_throw";
4489
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 34] = "ruck_won";
4490
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 35] = "ruck_lost";
4491
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 36] = "maul_won";
4492
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 37] = "maul_lost";
4493
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 38] = "team_foul";
4494
- RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 39] = "start_kick";
4495
- RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 40] = "twenty_two_meters_kick";
4496
- RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 41] = "goal_kick";
4575
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 26] = "timeout";
4576
+ RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 27] = "tap_penalty";
4577
+ RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 28] = "penalty_kick_to_touch";
4578
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 29] = "scrum_won";
4579
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 30] = "scrum_lost";
4580
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 31] = "scrum_won_free";
4581
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 32] = "lineout_won";
4582
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 33] = "lineout_lost";
4583
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 34] = "quick_throw";
4584
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 35] = "ruck_won";
4585
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 36] = "ruck_lost";
4586
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 37] = "maul_won";
4587
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 38] = "maul_lost";
4588
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 39] = "team_foul";
4589
+ RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 40] = "start_kick";
4590
+ RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 41] = "twenty_two_meters_kick";
4591
+ RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 42] = "goal_kick";
4497
4592
  })(RugbyGameLogTypes || (RugbyGameLogTypes = {}));
4498
4593
  const RUGBY_GAME_LOG_TYPE_POINTS = {
4499
4594
  [RugbyGameLogTypes.penalty_try]: 7,
@@ -4593,9 +4688,9 @@ class RugbyGameApi extends GameBaseApi {
4593
4688
  }).toPromise();
4594
4689
  }
4595
4690
  }
4596
- RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4597
- RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
4598
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
4691
+ RugbyGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4692
+ RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
4693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, decorators: [{
4599
4694
  type: Injectable,
4600
4695
  args: [{ providedIn: 'root' }]
4601
4696
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4911,9 +5006,9 @@ class TeamApi {
4911
5006
  .toPromise();
4912
5007
  }
4913
5008
  }
4914
- TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4915
- TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
4916
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
5009
+ TeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5010
+ TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, providedIn: 'root' });
5011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, decorators: [{
4917
5012
  type: Injectable,
4918
5013
  args: [{ providedIn: 'root' }]
4919
5014
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4965,9 +5060,9 @@ class TeamEventApi {
4965
5060
  .toPromise();
4966
5061
  }
4967
5062
  }
4968
- TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
4969
- TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
4970
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
5063
+ TeamEventApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5064
+ TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
5065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, decorators: [{
4971
5066
  type: Injectable,
4972
5067
  args: [{ providedIn: 'root' }]
4973
5068
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5034,9 +5129,9 @@ class TournamentJoinApi {
5034
5129
  .toPromise();
5035
5130
  }
5036
5131
  }
5037
- TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5038
- TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
5039
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
5132
+ TournamentJoinApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5133
+ TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
5134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, decorators: [{
5040
5135
  type: Injectable,
5041
5136
  args: [{ providedIn: 'root' }]
5042
5137
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5112,9 +5207,9 @@ class TournamentRoundApi {
5112
5207
  }))).toPromise();
5113
5208
  }
5114
5209
  }
5115
- TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5116
- TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
5117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
5210
+ TournamentRoundApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5211
+ TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
5212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, decorators: [{
5118
5213
  type: Injectable,
5119
5214
  args: [{ providedIn: 'root' }]
5120
5215
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5203,9 +5298,9 @@ class TournamentSeasonApi {
5203
5298
  .toPromise();
5204
5299
  }
5205
5300
  }
5206
- TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5207
- TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
5208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
5301
+ TournamentSeasonApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5302
+ TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
5303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, decorators: [{
5209
5304
  type: Injectable,
5210
5305
  args: [{ providedIn: 'root' }]
5211
5306
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5248,9 +5343,9 @@ class TournamentStageApi {
5248
5343
  .toPromise();
5249
5344
  }
5250
5345
  }
5251
- TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5252
- TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
5253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
5346
+ TournamentStageApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5347
+ TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
5348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, decorators: [{
5254
5349
  type: Injectable,
5255
5350
  args: [{ providedIn: 'root' }]
5256
5351
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5473,9 +5568,9 @@ class UserApi {
5473
5568
  .toPromise();
5474
5569
  }
5475
5570
  }
5476
- UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5477
- UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
5478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
5571
+ UserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5572
+ UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, providedIn: 'root' });
5573
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, decorators: [{
5479
5574
  type: Injectable,
5480
5575
  args: [{ providedIn: 'root' }]
5481
5576
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5678,9 +5773,9 @@ class VolleyballGameApi extends GameBaseApi {
5678
5773
  }).toPromise();
5679
5774
  }
5680
5775
  }
5681
- VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5682
- VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
5683
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
5776
+ VolleyballGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
5777
+ VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
5778
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, decorators: [{
5684
5779
  type: Injectable,
5685
5780
  args: [{ providedIn: 'root' }]
5686
5781
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6332,9 +6427,9 @@ class WaterpoloGameApi extends GameBaseApi {
6332
6427
  }).toPromise();
6333
6428
  }
6334
6429
  }
6335
- WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6336
- WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
6337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
6430
+ WaterpoloGameApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6431
+ WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
6432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, decorators: [{
6338
6433
  type: Injectable,
6339
6434
  args: [{ providedIn: 'root' }]
6340
6435
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6358,9 +6453,9 @@ class PublicTeamApi {
6358
6453
  .toPromise();
6359
6454
  }
6360
6455
  }
6361
- PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6362
- PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
6363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
6456
+ PublicTeamApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6457
+ PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
6458
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, decorators: [{
6364
6459
  type: Injectable,
6365
6460
  args: [{ providedIn: 'root' }]
6366
6461
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6386,9 +6481,9 @@ class PublicUserApi {
6386
6481
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
6387
6482
  }
6388
6483
  }
6389
- PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6390
- PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
6391
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
6484
+ PublicUserApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, deps: [{ token: i1.HttpClient }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
6485
+ PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
6486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, decorators: [{
6392
6487
  type: Injectable,
6393
6488
  args: [{ providedIn: 'root' }]
6394
6489
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6417,6 +6512,13 @@ const BasketballGameLogTypeLocalization = {
6417
6512
  [BasketballGameLogTypes.unsportsmanlike_foul]: 'Неспортиный фол',
6418
6513
  [BasketballGameLogTypes.timeout]: 'Таймаут',
6419
6514
  [BasketballGameLogTypes.team_rebound]: 'Командный подбор',
6515
+ [BasketballGameLogTypes.dunk_attempt]: 'Данк мимо',
6516
+ [BasketballGameLogTypes.dunk_made]: 'Данк',
6517
+ [BasketballGameLogTypes.four_point_attempt]: 'Бросок 4 очка',
6518
+ [BasketballGameLogTypes.four_point_made]: '4 очка',
6519
+ [BasketballGameLogTypes.shootout]: 'Булит',
6520
+ [BasketballGameLogTypes.shootout_won]: 'Булит выигран',
6521
+ [BasketballGameLogTypes.shootout_lost]: 'Булит проигран',
6420
6522
  };
6421
6523
 
6422
6524
  const BasketballGameSubLogTypesLocalization = {
@@ -6619,7 +6721,7 @@ const OvertimeTypeLocalization = {
6619
6721
 
6620
6722
  const RugbyFoulSanctionLocalization = {
6621
6723
  [RugbyFoulSanctions.scrum]: 'Схватка',
6622
- [RugbyFoulSanctions.lineout]: 'Корридор',
6724
+ [RugbyFoulSanctions.lineout]: 'Коридор',
6623
6725
  [RugbyFoulSanctions.start_kick]: 'Начальный удар',
6624
6726
  [RugbyFoulSanctions.free_kick]: 'Свободный удар',
6625
6727
  [RugbyFoulSanctions.penalty_shot]: 'Штрафной удар',
@@ -6669,6 +6771,7 @@ const RugbyGameLogTypeLocalization = {
6669
6771
  [RugbyGameLogTypes.end_game_penalty_goal]: 'Штрафной гол',
6670
6772
  [RugbyGameLogTypes.foot_field_shot]: 'Удар ногой в поле',
6671
6773
  [RugbyGameLogTypes.foot_out_shot]: 'Удар ногой в аут',
6774
+ [RugbyGameLogTypes.foot_kick_50_22]: 'Удар ногой 50/22',
6672
6775
  [RugbyGameLogTypes.timeout]: 'Таймаут',
6673
6776
  [RugbyGameLogTypes.scrum_won]: 'Схватка выиграна',
6674
6777
  [RugbyGameLogTypes.scrum_lost]: 'Схватка проиграна',
@@ -6962,6 +7065,7 @@ class CentrifugoService {
6962
7065
  unsubscribe(channel) {
6963
7066
  if (this.subscriptions[channel]) {
6964
7067
  this.subscriptions[channel].unsubscribe();
7068
+ this.centrifuge.removeSubscription(this.subscriptions[channel]);
6965
7069
  delete this.subscriptions[channel];
6966
7070
  }
6967
7071
  if (this.channels$[channel]) {
@@ -7025,10 +7129,13 @@ class CentrifugoService {
7025
7129
  this.centrifuge._debugEnabled = false;
7026
7130
  }
7027
7131
  addEngineSubscription(channel) {
7028
- const sub = this.centrifuge.newSubscription(channel);
7029
- sub.on('publication', ctx => {
7030
- this.resolveMessage(channel, ctx.data);
7031
- });
7132
+ let sub = this.centrifuge.getSubscription(channel);
7133
+ if (!sub) {
7134
+ sub = this.centrifuge.newSubscription(channel);
7135
+ sub.on('publication', ctx => {
7136
+ this.resolveMessage(channel, ctx.data);
7137
+ });
7138
+ }
7032
7139
  sub.subscribe();
7033
7140
  return sub;
7034
7141
  }
@@ -7039,9 +7146,9 @@ class CentrifugoService {
7039
7146
  this.channels$[channel].next(message);
7040
7147
  }
7041
7148
  }
7042
- CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, deps: [{ token: i1.HttpClient }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7043
- CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
7044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
7149
+ CentrifugoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, deps: [{ token: i1.HttpClient }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7150
+ CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
7151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, decorators: [{
7045
7152
  type: Injectable,
7046
7153
  args: [{ providedIn: 'root' }]
7047
7154
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }, { type: undefined, decorators: [{
@@ -7094,9 +7201,9 @@ class DeviceInfoService {
7094
7201
  });
7095
7202
  }
7096
7203
  }
7097
- DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7098
- DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
7099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
7204
+ DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7205
+ DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
7206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, decorators: [{
7100
7207
  type: Injectable,
7101
7208
  args: [{ providedIn: 'root' }]
7102
7209
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -7468,9 +7575,9 @@ class HttpCookieInterceptor {
7468
7575
  return next.handle(req);
7469
7576
  }
7470
7577
  }
7471
- HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, deps: [{ token: i0.Injector }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7472
- HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
7473
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
7578
+ HttpCookieInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor, deps: [{ token: i0.Injector }, { token: ConfigService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7579
+ HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor });
7580
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
7474
7581
  type: Injectable
7475
7582
  }], ctorParameters: function () { return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
7476
7583
  type: Inject,
@@ -7524,9 +7631,9 @@ class GameWebsocket {
7524
7631
  return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
7525
7632
  }
7526
7633
  }
7527
- GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
7528
- GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
7529
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
7634
+ GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
7635
+ GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
7636
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, decorators: [{
7530
7637
  type: Injectable,
7531
7638
  args: [{ providedIn: 'root' }]
7532
7639
  }], ctorParameters: function () { return [{ type: CentrifugoService }]; } });