@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
  }
@@ -993,6 +997,9 @@ let Playoff = class Playoff extends BaseModel {
993
997
  const playoffStage = this.settings.teamsCount / Math.pow(2, stage);
994
998
  let title = '';
995
999
  if (playoffStage === 1) {
1000
+ if (this.winnerPlace > 1) {
1001
+ title = `${this.winnerPlace} место`;
1002
+ }
996
1003
  title = 'Финал';
997
1004
  }
998
1005
  else {
@@ -1202,6 +1209,18 @@ let Game = class Game extends BaseModel {
1202
1209
  }
1203
1210
  return null;
1204
1211
  }
1212
+ get sport() {
1213
+ var _a, _b, _c, _d, _e, _f;
1214
+ if ((_b = (_a = this.tournament) === null || _a === void 0 ? void 0 : _a.sport) === null || _b === void 0 ? void 0 : _b.id) {
1215
+ return this.tournament.sport;
1216
+ }
1217
+ if ((_d = (_c = this.team) === null || _c === void 0 ? void 0 : _c.sport) === null || _d === void 0 ? void 0 : _d.id) {
1218
+ return this.team.sport;
1219
+ }
1220
+ if ((_f = (_e = this.competitorTeam) === null || _e === void 0 ? void 0 : _e.sport) === null || _f === void 0 ? void 0 : _f.id) {
1221
+ return this.competitorTeam.sport;
1222
+ }
1223
+ }
1205
1224
  };
1206
1225
  Game = __decorate([
1207
1226
  Model({
@@ -1463,24 +1482,64 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1463
1482
  get totalFouls() {
1464
1483
  return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
1465
1484
  }
1485
+ set onePointPercent(v) { }
1486
+ get onePointPercent() {
1487
+ if (!this.onePointsMade || !this.onePointAttempts) {
1488
+ return 0;
1489
+ }
1490
+ return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1491
+ }
1492
+ /**
1493
+ * @deprecated Use onePointPercent instead
1494
+ */
1466
1495
  get onePointsPercent() {
1467
1496
  if (!this.onePointsMade || !this.onePointAttempts) {
1468
1497
  return 0;
1469
1498
  }
1470
1499
  return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1471
1500
  }
1501
+ set twoPointPercent(v) { }
1502
+ get twoPointPercent() {
1503
+ if (!this.twoPointsMade || !this.twoPointAttempts) {
1504
+ return 0;
1505
+ }
1506
+ return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1507
+ }
1508
+ /**
1509
+ * @deprecated Use twoPointPercent instead
1510
+ */
1472
1511
  get twoPointsPercent() {
1473
1512
  if (!this.twoPointsMade || !this.twoPointAttempts) {
1474
1513
  return 0;
1475
1514
  }
1476
1515
  return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1477
1516
  }
1517
+ set threePointPercent(v) { }
1518
+ get threePointPercent() {
1519
+ if (!this.threePointsMade || !this.threePointAttempts) {
1520
+ return 0;
1521
+ }
1522
+ return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1523
+ }
1524
+ /**
1525
+ * @deprecated Use threePointPercent instead
1526
+ */
1478
1527
  get threePointsPercent() {
1479
1528
  if (!this.threePointsMade || !this.threePointAttempts) {
1480
1529
  return 0;
1481
1530
  }
1482
1531
  return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1483
1532
  }
1533
+ set freeThrowPercent(v) { }
1534
+ get freeThrowPercent() {
1535
+ if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1536
+ return 0;
1537
+ }
1538
+ return Math.round(1000 * this.freeThrowsMade / this.freeThrowAttempts) / 10;
1539
+ }
1540
+ /**
1541
+ * @deprecated Use freeThrowPercent instead
1542
+ */
1484
1543
  get freeThrowsPercent() {
1485
1544
  if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1486
1545
  return 0;
@@ -1490,6 +1549,24 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1490
1549
  get totalRebounds() {
1491
1550
  return Math.floor(10 * ((this.offensiveRebounds || 0) + (this.defensiveRebounds || 0))) / 10;
1492
1551
  }
1552
+ set fourPointPercent(v) { }
1553
+ get fourPointPercent() {
1554
+ if (!this.fourPointAttempts || !this.fourPointsMade) {
1555
+ return 0;
1556
+ }
1557
+ return Math.round(1000 * this.fourPointsMade / this.fourPointAttempts) / 10;
1558
+ }
1559
+ set shootoutsTotal(v) { }
1560
+ get shootoutsTotal() {
1561
+ return (this.shootoutsLost || 0) + (this.shootoutsWon || 0);
1562
+ }
1563
+ set shootoutWonPercent(v) { }
1564
+ get shootoutWonPercent() {
1565
+ if (!this.shootoutsTotal || !this.shootoutsWon) {
1566
+ return 0;
1567
+ }
1568
+ return Math.round(1000 * this.shootoutsWon / this.shootoutsTotal) / 10;
1569
+ }
1493
1570
  };
1494
1571
  BasketballGameStatistic = __decorate([
1495
1572
  Model({
@@ -1528,6 +1605,13 @@ var BasketballGameLogTypes;
1528
1605
  BasketballGameLogTypes[BasketballGameLogTypes["one_point_made"] = 22] = "one_point_made";
1529
1606
  BasketballGameLogTypes[BasketballGameLogTypes["timeout"] = 23] = "timeout";
1530
1607
  BasketballGameLogTypes[BasketballGameLogTypes["team_rebound"] = 24] = "team_rebound";
1608
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_attempt"] = 25] = "four_point_attempt";
1609
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_made"] = 26] = "four_point_made";
1610
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_attempt"] = 27] = "dunk_attempt";
1611
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_made"] = 28] = "dunk_made";
1612
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout"] = 29] = "shootout";
1613
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_won"] = 30] = "shootout_won";
1614
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_lost"] = 31] = "shootout_lost";
1531
1615
  })(BasketballGameLogTypes || (BasketballGameLogTypes = {}));
1532
1616
  var BasketballSubLogTypes;
1533
1617
  (function (BasketballSubLogTypes) {
@@ -1601,6 +1685,9 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1601
1685
  BasketballGameLogTypes.three_point_made,
1602
1686
  BasketballGameLogTypes.free_throw_made,
1603
1687
  BasketballGameLogTypes.one_point_made,
1688
+ BasketballGameLogTypes.four_point_made,
1689
+ BasketballGameLogTypes.dunk_made,
1690
+ BasketballGameLogTypes.shootout_won,
1604
1691
  ].indexOf(this.logType) > -1;
1605
1692
  }
1606
1693
  isReboundType() {
@@ -1624,9 +1711,14 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1624
1711
  [BasketballGameLogTypes.one_point_made]: 1,
1625
1712
  [BasketballGameLogTypes.free_throw_made]: 1,
1626
1713
  [BasketballGameLogTypes.two_point_made]: 2,
1627
- [BasketballGameLogTypes.three_point_made]: 3
1714
+ [BasketballGameLogTypes.three_point_made]: 3,
1715
+ [BasketballGameLogTypes.four_point_made]: 4,
1716
+ [BasketballGameLogTypes.dunk_made]: 3,
1628
1717
  };
1629
- return scoreMapping[this.logType];
1718
+ if (this.logType === BasketballGameLogTypes.shootout_won) {
1719
+ return this.shootoutPoints;
1720
+ }
1721
+ return scoreMapping[this.logType] || 0;
1630
1722
  }
1631
1723
  compare(model) {
1632
1724
  if (this.time === model.time && this.period === model.period) {
@@ -1661,7 +1753,7 @@ BasketballGameLog = __decorate([
1661
1753
 
1662
1754
  let GameUser = class GameUser extends BaseModel {
1663
1755
  get gameUserNumber() {
1664
- return this.number ? this.number : this.teamUser.number;
1756
+ return (this.number || this.number === 0) ? this.number : this.teamUser.number;
1665
1757
  }
1666
1758
  };
1667
1759
  GameUser = __decorate([
@@ -1930,9 +2022,9 @@ class BaseService {
1930
2022
  this.store.dispose();
1931
2023
  }
1932
2024
  }
1933
- BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1934
- BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, providedIn: 'root' });
1935
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BaseService, decorators: [{
2025
+ BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2026
+ BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, providedIn: 'root' });
2027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, decorators: [{
1936
2028
  type: Injectable,
1937
2029
  args: [{ providedIn: 'root' }]
1938
2030
  }] });
@@ -1963,9 +2055,9 @@ class ConfigService extends BaseService {
1963
2055
  return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
1964
2056
  }
1965
2057
  }
1966
- 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 });
1967
- ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, providedIn: 'root' });
1968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ConfigService, decorators: [{
2058
+ 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 });
2059
+ ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, providedIn: 'root' });
2060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, decorators: [{
1969
2061
  type: Injectable,
1970
2062
  args: [{ providedIn: 'root' }]
1971
2063
  }], ctorParameters: function () {
@@ -2011,9 +2103,9 @@ class GameBaseApi {
2011
2103
  });
2012
2104
  }
2013
2105
  }
2014
- 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 });
2015
- GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
2016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameBaseApi, decorators: [{
2106
+ 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 });
2107
+ GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
2108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, decorators: [{
2017
2109
  type: Injectable,
2018
2110
  args: [{ providedIn: 'root' }]
2019
2111
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2057,9 +2149,9 @@ class BasketballGameApi extends GameBaseApi {
2057
2149
  });
2058
2150
  }
2059
2151
  }
2060
- 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 });
2061
- BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
2062
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: BasketballGameApi, decorators: [{
2152
+ 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 });
2153
+ BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
2154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, decorators: [{
2063
2155
  type: Injectable,
2064
2156
  args: [{ providedIn: 'root' }]
2065
2157
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2094,9 +2186,9 @@ class FeedbackApi {
2094
2186
  });
2095
2187
  }
2096
2188
  }
2097
- 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 });
2098
- FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
2099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FeedbackApi, decorators: [{
2189
+ 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 });
2190
+ FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
2191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, decorators: [{
2100
2192
  type: Injectable,
2101
2193
  args: [{ providedIn: 'root' }]
2102
2194
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2132,9 +2224,9 @@ class FileApi {
2132
2224
  });
2133
2225
  }
2134
2226
  }
2135
- 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 });
2136
- FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, providedIn: 'root' });
2137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FileApi, decorators: [{
2227
+ 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 });
2228
+ FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, providedIn: 'root' });
2229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, decorators: [{
2138
2230
  type: Injectable,
2139
2231
  args: [{ providedIn: 'root' }]
2140
2232
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2484,9 +2576,9 @@ class HockeyGameApi extends GameBaseApi {
2484
2576
  });
2485
2577
  }
2486
2578
  }
2487
- 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 });
2488
- HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
2489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HockeyGameApi, decorators: [{
2579
+ 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 });
2580
+ HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
2581
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, decorators: [{
2490
2582
  type: Injectable,
2491
2583
  args: [{ providedIn: 'root' }]
2492
2584
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2779,9 +2871,9 @@ class FootballGameApi extends GameBaseApi {
2779
2871
  });
2780
2872
  }
2781
2873
  }
2782
- 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 });
2783
- FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
2784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: FootballGameApi, decorators: [{
2874
+ 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 });
2875
+ FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
2876
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, decorators: [{
2785
2877
  type: Injectable,
2786
2878
  args: [{ providedIn: 'root' }]
2787
2879
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2997,9 +3089,9 @@ class HandballGameApi extends GameBaseApi {
2997
3089
  });
2998
3090
  }
2999
3091
  }
3000
- 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 });
3001
- HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
3002
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HandballGameApi, decorators: [{
3092
+ 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 });
3093
+ HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
3094
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, decorators: [{
3003
3095
  type: Injectable,
3004
3096
  args: [{ providedIn: 'root' }]
3005
3097
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3642,9 +3734,9 @@ class TournamentApi {
3642
3734
  });
3643
3735
  }
3644
3736
  }
3645
- 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 });
3646
- TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, providedIn: 'root' });
3647
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentApi, decorators: [{
3737
+ 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 });
3738
+ TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, providedIn: 'root' });
3739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, decorators: [{
3648
3740
  type: Injectable,
3649
3741
  args: [{ providedIn: 'root' }]
3650
3742
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3658,6 +3750,9 @@ function applyGamesFilters(filters, params) {
3658
3750
  if (filters.tournamentRoundId) {
3659
3751
  params = params.set('tournament_round_id', filters.tournamentRoundId.toString());
3660
3752
  }
3753
+ if (filters.tournamentGroupId) {
3754
+ params = params.set('tournament_group_id', filters.tournamentGroupId.toString());
3755
+ }
3661
3756
  if (filters.divisionId) {
3662
3757
  params = params.set('division_id', filters.divisionId.toString());
3663
3758
  }
@@ -3928,9 +4023,9 @@ class LeagueApi {
3928
4023
  });
3929
4024
  }
3930
4025
  }
3931
- 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 });
3932
- LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, providedIn: 'root' });
3933
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueApi, decorators: [{
4026
+ 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 });
4027
+ LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, providedIn: 'root' });
4028
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, decorators: [{
3934
4029
  type: Injectable,
3935
4030
  args: [{ providedIn: 'root' }]
3936
4031
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3988,9 +4083,9 @@ class LeagueNewsApi {
3988
4083
  });
3989
4084
  }
3990
4085
  }
3991
- 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 });
3992
- LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
3993
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeagueNewsApi, decorators: [{
4086
+ 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 });
4087
+ LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
4088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, decorators: [{
3994
4089
  type: Injectable,
3995
4090
  args: [{ providedIn: 'root' }]
3996
4091
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4011,9 +4106,9 @@ class LeaguePlayerApi {
4011
4106
  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();
4012
4107
  }
4013
4108
  }
4014
- 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 });
4015
- LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
4016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: LeaguePlayerApi, decorators: [{
4109
+ 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 });
4110
+ LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
4111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, decorators: [{
4017
4112
  type: Injectable,
4018
4113
  args: [{ providedIn: 'root' }]
4019
4114
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4118,9 +4213,9 @@ class MediaApi {
4118
4213
  });
4119
4214
  }
4120
4215
  }
4121
- 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 });
4122
- MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, providedIn: 'root' });
4123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: MediaApi, decorators: [{
4216
+ 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 });
4217
+ MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, providedIn: 'root' });
4218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, decorators: [{
4124
4219
  type: Injectable,
4125
4220
  args: [{ providedIn: 'root' }]
4126
4221
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4500,9 +4595,9 @@ class NotificationBaseApi {
4500
4595
  });
4501
4596
  }
4502
4597
  }
4503
- 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 });
4504
- NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
4505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationBaseApi, decorators: [{
4598
+ 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 });
4599
+ NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
4600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, decorators: [{
4506
4601
  type: Injectable,
4507
4602
  args: [{ providedIn: 'root' }]
4508
4603
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4513,9 +4608,9 @@ class NotificationApi extends NotificationBaseApi {
4513
4608
  this.apiUrl = '/api/v1';
4514
4609
  }
4515
4610
  }
4516
- NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4517
- NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, providedIn: 'root' });
4518
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: NotificationApi, decorators: [{
4611
+ NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4612
+ NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, providedIn: 'root' });
4613
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, decorators: [{
4519
4614
  type: Injectable,
4520
4615
  args: [{ providedIn: 'root' }]
4521
4616
  }] });
@@ -4526,9 +4621,9 @@ class OrgNotificationApi extends NotificationBaseApi {
4526
4621
  this.apiUrl = '/org/api/v1';
4527
4622
  }
4528
4623
  }
4529
- OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4530
- OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
4531
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: OrgNotificationApi, decorators: [{
4624
+ OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4625
+ OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
4626
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, decorators: [{
4532
4627
  type: Injectable,
4533
4628
  args: [{ providedIn: 'root' }]
4534
4629
  }] });
@@ -4553,9 +4648,9 @@ class ReferenceApi {
4553
4648
  });
4554
4649
  }
4555
4650
  }
4556
- 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 });
4557
- ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
4558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: ReferenceApi, decorators: [{
4651
+ 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 });
4652
+ ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
4653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, decorators: [{
4559
4654
  type: Injectable,
4560
4655
  args: [{ providedIn: 'root' }]
4561
4656
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4609,7 +4704,7 @@ let RugbyGameStatistic = class RugbyGameStatistic extends GameStatisticBase {
4609
4704
  return (this.conversionGoals || 0) + (this.dropGoals || 0) + (this.penaltyGoals || 0);
4610
4705
  }
4611
4706
  get footShots() {
4612
- return (this.footFieldShots || 0) + (this.footOutShots || 0);
4707
+ return (this.footFieldShots || 0) + (this.footOutShots || 0) + (this.footKicks5022 || 0);
4613
4708
  }
4614
4709
  get totalFouls() {
4615
4710
  return (this.fouls || 0) + (this.teamFouls || 0);
@@ -4685,24 +4780,25 @@ var RugbyGameLogTypes;
4685
4780
  RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 22] = "end_game_penalty_goal";
4686
4781
  RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 23] = "foot_field_shot";
4687
4782
  RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 24] = "foot_out_shot";
4783
+ RugbyGameLogTypes[RugbyGameLogTypes["foot_kick_50_22"] = 25] = "foot_kick_50_22";
4688
4784
  // team actions
4689
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
4690
- RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 26] = "tap_penalty";
4691
- RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 27] = "penalty_kick_to_touch";
4692
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 28] = "scrum_won";
4693
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 29] = "scrum_lost";
4694
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 30] = "scrum_won_free";
4695
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 31] = "lineout_won";
4696
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 32] = "lineout_lost";
4697
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 33] = "quick_throw";
4698
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 34] = "ruck_won";
4699
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 35] = "ruck_lost";
4700
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 36] = "maul_won";
4701
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 37] = "maul_lost";
4702
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 38] = "team_foul";
4703
- RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 39] = "start_kick";
4704
- RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 40] = "twenty_two_meters_kick";
4705
- RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 41] = "goal_kick";
4785
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 26] = "timeout";
4786
+ RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 27] = "tap_penalty";
4787
+ RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 28] = "penalty_kick_to_touch";
4788
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 29] = "scrum_won";
4789
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 30] = "scrum_lost";
4790
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 31] = "scrum_won_free";
4791
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 32] = "lineout_won";
4792
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 33] = "lineout_lost";
4793
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 34] = "quick_throw";
4794
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 35] = "ruck_won";
4795
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 36] = "ruck_lost";
4796
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 37] = "maul_won";
4797
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 38] = "maul_lost";
4798
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 39] = "team_foul";
4799
+ RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 40] = "start_kick";
4800
+ RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 41] = "twenty_two_meters_kick";
4801
+ RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 42] = "goal_kick";
4706
4802
  })(RugbyGameLogTypes || (RugbyGameLogTypes = {}));
4707
4803
  const RUGBY_GAME_LOG_TYPE_POINTS = {
4708
4804
  [RugbyGameLogTypes.penalty_try]: 7,
@@ -4814,9 +4910,9 @@ class RugbyGameApi extends GameBaseApi {
4814
4910
  });
4815
4911
  }
4816
4912
  }
4817
- 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 });
4818
- RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
4819
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: RugbyGameApi, decorators: [{
4913
+ 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 });
4914
+ RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
4915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, decorators: [{
4820
4916
  type: Injectable,
4821
4917
  args: [{ providedIn: 'root' }]
4822
4918
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5218,9 +5314,9 @@ class TeamApi {
5218
5314
  });
5219
5315
  }
5220
5316
  }
5221
- 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 });
5222
- TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, providedIn: 'root' });
5223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamApi, decorators: [{
5317
+ 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 });
5318
+ TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, providedIn: 'root' });
5319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, decorators: [{
5224
5320
  type: Injectable,
5225
5321
  args: [{ providedIn: 'root' }]
5226
5322
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5286,9 +5382,9 @@ class TeamEventApi {
5286
5382
  });
5287
5383
  }
5288
5384
  }
5289
- 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 });
5290
- TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
5291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TeamEventApi, decorators: [{
5385
+ 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 });
5386
+ TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
5387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, decorators: [{
5292
5388
  type: Injectable,
5293
5389
  args: [{ providedIn: 'root' }]
5294
5390
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5365,9 +5461,9 @@ class TournamentJoinApi {
5365
5461
  });
5366
5462
  }
5367
5463
  }
5368
- 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 });
5369
- TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
5370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentJoinApi, decorators: [{
5464
+ 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 });
5465
+ TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
5466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, decorators: [{
5371
5467
  type: Injectable,
5372
5468
  args: [{ providedIn: 'root' }]
5373
5469
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5450,9 +5546,9 @@ class TournamentRoundApi {
5450
5546
  });
5451
5547
  }
5452
5548
  }
5453
- 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 });
5454
- TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
5455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentRoundApi, decorators: [{
5549
+ 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 });
5550
+ TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
5551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, decorators: [{
5456
5552
  type: Injectable,
5457
5553
  args: [{ providedIn: 'root' }]
5458
5554
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5559,9 +5655,9 @@ class TournamentSeasonApi {
5559
5655
  });
5560
5656
  }
5561
5657
  }
5562
- 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 });
5563
- TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
5564
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentSeasonApi, decorators: [{
5658
+ 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 });
5659
+ TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
5660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, decorators: [{
5565
5661
  type: Injectable,
5566
5662
  args: [{ providedIn: 'root' }]
5567
5663
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5614,9 +5710,9 @@ class TournamentStageApi {
5614
5710
  });
5615
5711
  }
5616
5712
  }
5617
- 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 });
5618
- TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
5619
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: TournamentStageApi, decorators: [{
5713
+ 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 });
5714
+ TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
5715
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, decorators: [{
5620
5716
  type: Injectable,
5621
5717
  args: [{ providedIn: 'root' }]
5622
5718
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5899,9 +5995,9 @@ class UserApi {
5899
5995
  });
5900
5996
  }
5901
5997
  }
5902
- 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 });
5903
- UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, providedIn: 'root' });
5904
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: UserApi, decorators: [{
5998
+ 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 });
5999
+ UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, providedIn: 'root' });
6000
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, decorators: [{
5905
6001
  type: Injectable,
5906
6002
  args: [{ providedIn: 'root' }]
5907
6003
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6118,9 +6214,9 @@ class VolleyballGameApi extends GameBaseApi {
6118
6214
  });
6119
6215
  }
6120
6216
  }
6121
- 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 });
6122
- VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
6123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: VolleyballGameApi, decorators: [{
6217
+ 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 });
6218
+ VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
6219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, decorators: [{
6124
6220
  type: Injectable,
6125
6221
  args: [{ providedIn: 'root' }]
6126
6222
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6784,9 +6880,9 @@ class WaterpoloGameApi extends GameBaseApi {
6784
6880
  });
6785
6881
  }
6786
6882
  }
6787
- 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 });
6788
- WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
6789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: WaterpoloGameApi, decorators: [{
6883
+ 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 });
6884
+ WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
6885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, decorators: [{
6790
6886
  type: Injectable,
6791
6887
  args: [{ providedIn: 'root' }]
6792
6888
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6812,9 +6908,9 @@ class PublicTeamApi {
6812
6908
  });
6813
6909
  }
6814
6910
  }
6815
- 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 });
6816
- PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
6817
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicTeamApi, decorators: [{
6911
+ 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 });
6912
+ PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
6913
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, decorators: [{
6818
6914
  type: Injectable,
6819
6915
  args: [{ providedIn: 'root' }]
6820
6916
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6840,9 +6936,9 @@ class PublicUserApi {
6840
6936
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
6841
6937
  }
6842
6938
  }
6843
- 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 });
6844
- PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
6845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: PublicUserApi, decorators: [{
6939
+ 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 });
6940
+ PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
6941
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, decorators: [{
6846
6942
  type: Injectable,
6847
6943
  args: [{ providedIn: 'root' }]
6848
6944
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6871,6 +6967,13 @@ const BasketballGameLogTypeLocalization = {
6871
6967
  [BasketballGameLogTypes.unsportsmanlike_foul]: 'Неспортиный фол',
6872
6968
  [BasketballGameLogTypes.timeout]: 'Таймаут',
6873
6969
  [BasketballGameLogTypes.team_rebound]: 'Командный подбор',
6970
+ [BasketballGameLogTypes.dunk_attempt]: 'Данк мимо',
6971
+ [BasketballGameLogTypes.dunk_made]: 'Данк',
6972
+ [BasketballGameLogTypes.four_point_attempt]: 'Бросок 4 очка',
6973
+ [BasketballGameLogTypes.four_point_made]: '4 очка',
6974
+ [BasketballGameLogTypes.shootout]: 'Булит',
6975
+ [BasketballGameLogTypes.shootout_won]: 'Булит выигран',
6976
+ [BasketballGameLogTypes.shootout_lost]: 'Булит проигран',
6874
6977
  };
6875
6978
 
6876
6979
  const BasketballGameSubLogTypesLocalization = {
@@ -7073,7 +7176,7 @@ const OvertimeTypeLocalization = {
7073
7176
 
7074
7177
  const RugbyFoulSanctionLocalization = {
7075
7178
  [RugbyFoulSanctions.scrum]: 'Схватка',
7076
- [RugbyFoulSanctions.lineout]: 'Корридор',
7179
+ [RugbyFoulSanctions.lineout]: 'Коридор',
7077
7180
  [RugbyFoulSanctions.start_kick]: 'Начальный удар',
7078
7181
  [RugbyFoulSanctions.free_kick]: 'Свободный удар',
7079
7182
  [RugbyFoulSanctions.penalty_shot]: 'Штрафной удар',
@@ -7123,6 +7226,7 @@ const RugbyGameLogTypeLocalization = {
7123
7226
  [RugbyGameLogTypes.end_game_penalty_goal]: 'Штрафной гол',
7124
7227
  [RugbyGameLogTypes.foot_field_shot]: 'Удар ногой в поле',
7125
7228
  [RugbyGameLogTypes.foot_out_shot]: 'Удар ногой в аут',
7229
+ [RugbyGameLogTypes.foot_kick_50_22]: 'Удар ногой 50/22',
7126
7230
  [RugbyGameLogTypes.timeout]: 'Таймаут',
7127
7231
  [RugbyGameLogTypes.scrum_won]: 'Схватка выиграна',
7128
7232
  [RugbyGameLogTypes.scrum_lost]: 'Схватка проиграна',
@@ -7416,6 +7520,7 @@ class CentrifugoService {
7416
7520
  unsubscribe(channel) {
7417
7521
  if (this.subscriptions[channel]) {
7418
7522
  this.subscriptions[channel].unsubscribe();
7523
+ this.centrifuge.removeSubscription(this.subscriptions[channel]);
7419
7524
  delete this.subscriptions[channel];
7420
7525
  }
7421
7526
  if (this.channels$[channel]) {
@@ -7481,10 +7586,13 @@ class CentrifugoService {
7481
7586
  this.centrifuge._debugEnabled = false;
7482
7587
  }
7483
7588
  addEngineSubscription(channel) {
7484
- const sub = this.centrifuge.newSubscription(channel);
7485
- sub.on('publication', ctx => {
7486
- this.resolveMessage(channel, ctx.data);
7487
- });
7589
+ let sub = this.centrifuge.getSubscription(channel);
7590
+ if (!sub) {
7591
+ sub = this.centrifuge.newSubscription(channel);
7592
+ sub.on('publication', ctx => {
7593
+ this.resolveMessage(channel, ctx.data);
7594
+ });
7595
+ }
7488
7596
  sub.subscribe();
7489
7597
  return sub;
7490
7598
  }
@@ -7495,9 +7603,9 @@ class CentrifugoService {
7495
7603
  this.channels$[channel].next(message);
7496
7604
  }
7497
7605
  }
7498
- 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 });
7499
- CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
7500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: CentrifugoService, decorators: [{
7606
+ 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 });
7607
+ CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
7608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, decorators: [{
7501
7609
  type: Injectable,
7502
7610
  args: [{ providedIn: 'root' }]
7503
7611
  }], ctorParameters: function () {
@@ -7546,9 +7654,9 @@ class DeviceInfoService {
7546
7654
  });
7547
7655
  }
7548
7656
  }
7549
- DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7550
- DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
7551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: DeviceInfoService, decorators: [{
7657
+ DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7658
+ DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
7659
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, decorators: [{
7552
7660
  type: Injectable,
7553
7661
  args: [{ providedIn: 'root' }]
7554
7662
  }], ctorParameters: function () {
@@ -7910,9 +8018,9 @@ class HttpCookieInterceptor {
7910
8018
  return next.handle(req);
7911
8019
  }
7912
8020
  }
7913
- 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 });
7914
- HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor });
7915
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
8021
+ 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 });
8022
+ HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor });
8023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
7916
8024
  type: Injectable
7917
8025
  }], ctorParameters: function () {
7918
8026
  return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
@@ -7968,9 +8076,9 @@ class GameWebsocket {
7968
8076
  return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
7969
8077
  }
7970
8078
  }
7971
- GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
7972
- GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
7973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.3", ngImport: i0, type: GameWebsocket, decorators: [{
8079
+ GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
8080
+ GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
8081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, decorators: [{
7974
8082
  type: Injectable,
7975
8083
  args: [{ providedIn: 'root' }]
7976
8084
  }], ctorParameters: function () { return [{ type: CentrifugoService }]; } });