@mtgame/core 2.0.12 → 2.0.14

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 (71) 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 +5 -2
  37. package/esm2020/models/football-statistic.mjs +2 -2
  38. package/esm2020/models/game-user.mjs +2 -2
  39. package/esm2020/models/game.mjs +12 -1
  40. package/esm2020/models/hockey-statistic.mjs +3 -3
  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 +2 -2
  45. package/esm2020/models/sport.mjs +5 -1
  46. package/esm2020/models/team.mjs +1 -1
  47. package/esm2020/models/waterpolo-statistic.mjs +3 -3
  48. package/esm2020/services/base.service.mjs +3 -3
  49. package/esm2020/services/centrifugo.service.mjs +12 -8
  50. package/esm2020/services/config.service.mjs +3 -3
  51. package/esm2020/services/device-info.service.mjs +3 -3
  52. package/esm2020/websocket/game.websocket.mjs +3 -3
  53. package/fesm2015/mtgame-core.mjs +246 -135
  54. package/fesm2015/mtgame-core.mjs.map +1 -1
  55. package/fesm2020/mtgame-core.mjs +245 -135
  56. package/fesm2020/mtgame-core.mjs.map +1 -1
  57. package/localization/basketball-game-log-types.d.ts +7 -0
  58. package/localization/rugby-game-log-types.d.ts +3 -2
  59. package/models/basketball-game-log.d.ts +9 -1
  60. package/models/basketball-game-statistic.d.ts +32 -0
  61. package/models/basketball-statistic.d.ts +9 -0
  62. package/models/football-statistic.d.ts +2 -0
  63. package/models/game.d.ts +2 -0
  64. package/models/hockey-statistic.d.ts +3 -0
  65. package/models/playoff.d.ts +1 -0
  66. package/models/rugby-game-log.d.ts +18 -17
  67. package/models/rugby-game-statistic.d.ts +1 -0
  68. package/models/rugby-statistic.d.ts +1 -0
  69. package/models/sport.d.ts +3 -1
  70. package/models/team.d.ts +1 -0
  71. 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({
@@ -1389,7 +1408,10 @@ class BaseStatistic extends BaseModel {
1389
1408
 
1390
1409
  let BasketballStatistic = class BasketballStatistic extends BaseStatistic {
1391
1410
  get totalFouls() {
1392
- return this.personalFouls + this.technicalFouls + this.unsportsmanlikeFouls + this.disqualificationFouls;
1411
+ return Math.floor(10 * ((this.personalFouls || 0) +
1412
+ (this.technicalFouls || 0) +
1413
+ (this.unsportsmanlikeFouls || 0) +
1414
+ (this.disqualificationFouls || 0))) / 10;
1393
1415
  }
1394
1416
  get gameMinutes() {
1395
1417
  return Math.floor(this.gameTime / 60);
@@ -1463,24 +1485,64 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1463
1485
  get totalFouls() {
1464
1486
  return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
1465
1487
  }
1488
+ set onePointPercent(v) { }
1489
+ get onePointPercent() {
1490
+ if (!this.onePointsMade || !this.onePointAttempts) {
1491
+ return 0;
1492
+ }
1493
+ return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1494
+ }
1495
+ /**
1496
+ * @deprecated Use onePointPercent instead
1497
+ */
1466
1498
  get onePointsPercent() {
1467
1499
  if (!this.onePointsMade || !this.onePointAttempts) {
1468
1500
  return 0;
1469
1501
  }
1470
1502
  return Math.round(1000 * this.onePointsMade / this.onePointAttempts) / 10;
1471
1503
  }
1504
+ set twoPointPercent(v) { }
1505
+ get twoPointPercent() {
1506
+ if (!this.twoPointsMade || !this.twoPointAttempts) {
1507
+ return 0;
1508
+ }
1509
+ return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1510
+ }
1511
+ /**
1512
+ * @deprecated Use twoPointPercent instead
1513
+ */
1472
1514
  get twoPointsPercent() {
1473
1515
  if (!this.twoPointsMade || !this.twoPointAttempts) {
1474
1516
  return 0;
1475
1517
  }
1476
1518
  return Math.round(1000 * this.twoPointsMade / this.twoPointAttempts) / 10;
1477
1519
  }
1520
+ set threePointPercent(v) { }
1521
+ get threePointPercent() {
1522
+ if (!this.threePointsMade || !this.threePointAttempts) {
1523
+ return 0;
1524
+ }
1525
+ return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1526
+ }
1527
+ /**
1528
+ * @deprecated Use threePointPercent instead
1529
+ */
1478
1530
  get threePointsPercent() {
1479
1531
  if (!this.threePointsMade || !this.threePointAttempts) {
1480
1532
  return 0;
1481
1533
  }
1482
1534
  return Math.round(1000 * this.threePointsMade / this.threePointAttempts) / 10;
1483
1535
  }
1536
+ set freeThrowPercent(v) { }
1537
+ get freeThrowPercent() {
1538
+ if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1539
+ return 0;
1540
+ }
1541
+ return Math.round(1000 * this.freeThrowsMade / this.freeThrowAttempts) / 10;
1542
+ }
1543
+ /**
1544
+ * @deprecated Use freeThrowPercent instead
1545
+ */
1484
1546
  get freeThrowsPercent() {
1485
1547
  if (!this.freeThrowsMade || !this.freeThrowAttempts) {
1486
1548
  return 0;
@@ -1490,6 +1552,24 @@ let BasketballGameStatistic = class BasketballGameStatistic extends GameStatisti
1490
1552
  get totalRebounds() {
1491
1553
  return Math.floor(10 * ((this.offensiveRebounds || 0) + (this.defensiveRebounds || 0))) / 10;
1492
1554
  }
1555
+ set fourPointPercent(v) { }
1556
+ get fourPointPercent() {
1557
+ if (!this.fourPointAttempts || !this.fourPointsMade) {
1558
+ return 0;
1559
+ }
1560
+ return Math.round(1000 * this.fourPointsMade / this.fourPointAttempts) / 10;
1561
+ }
1562
+ set shootoutsTotal(v) { }
1563
+ get shootoutsTotal() {
1564
+ return (this.shootoutsLost || 0) + (this.shootoutsWon || 0);
1565
+ }
1566
+ set shootoutWonPercent(v) { }
1567
+ get shootoutWonPercent() {
1568
+ if (!this.shootoutsTotal || !this.shootoutsWon) {
1569
+ return 0;
1570
+ }
1571
+ return Math.round(1000 * this.shootoutsWon / this.shootoutsTotal) / 10;
1572
+ }
1493
1573
  };
1494
1574
  BasketballGameStatistic = __decorate([
1495
1575
  Model({
@@ -1528,6 +1608,13 @@ var BasketballGameLogTypes;
1528
1608
  BasketballGameLogTypes[BasketballGameLogTypes["one_point_made"] = 22] = "one_point_made";
1529
1609
  BasketballGameLogTypes[BasketballGameLogTypes["timeout"] = 23] = "timeout";
1530
1610
  BasketballGameLogTypes[BasketballGameLogTypes["team_rebound"] = 24] = "team_rebound";
1611
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_attempt"] = 25] = "four_point_attempt";
1612
+ BasketballGameLogTypes[BasketballGameLogTypes["four_point_made"] = 26] = "four_point_made";
1613
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_attempt"] = 27] = "dunk_attempt";
1614
+ BasketballGameLogTypes[BasketballGameLogTypes["dunk_made"] = 28] = "dunk_made";
1615
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout"] = 29] = "shootout";
1616
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_won"] = 30] = "shootout_won";
1617
+ BasketballGameLogTypes[BasketballGameLogTypes["shootout_lost"] = 31] = "shootout_lost";
1531
1618
  })(BasketballGameLogTypes || (BasketballGameLogTypes = {}));
1532
1619
  var BasketballSubLogTypes;
1533
1620
  (function (BasketballSubLogTypes) {
@@ -1601,6 +1688,9 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1601
1688
  BasketballGameLogTypes.three_point_made,
1602
1689
  BasketballGameLogTypes.free_throw_made,
1603
1690
  BasketballGameLogTypes.one_point_made,
1691
+ BasketballGameLogTypes.four_point_made,
1692
+ BasketballGameLogTypes.dunk_made,
1693
+ BasketballGameLogTypes.shootout_won,
1604
1694
  ].indexOf(this.logType) > -1;
1605
1695
  }
1606
1696
  isReboundType() {
@@ -1624,9 +1714,14 @@ let BasketballGameLog = class BasketballGameLog extends GameLogBase {
1624
1714
  [BasketballGameLogTypes.one_point_made]: 1,
1625
1715
  [BasketballGameLogTypes.free_throw_made]: 1,
1626
1716
  [BasketballGameLogTypes.two_point_made]: 2,
1627
- [BasketballGameLogTypes.three_point_made]: 3
1717
+ [BasketballGameLogTypes.three_point_made]: 3,
1718
+ [BasketballGameLogTypes.four_point_made]: 4,
1719
+ [BasketballGameLogTypes.dunk_made]: 3,
1628
1720
  };
1629
- return scoreMapping[this.logType];
1721
+ if (this.logType === BasketballGameLogTypes.shootout_won) {
1722
+ return this.shootoutPoints;
1723
+ }
1724
+ return scoreMapping[this.logType] || 0;
1630
1725
  }
1631
1726
  compare(model) {
1632
1727
  if (this.time === model.time && this.period === model.period) {
@@ -1661,7 +1756,7 @@ BasketballGameLog = __decorate([
1661
1756
 
1662
1757
  let GameUser = class GameUser extends BaseModel {
1663
1758
  get gameUserNumber() {
1664
- return this.number ? this.number : this.teamUser.number;
1759
+ return (this.number || this.number === 0) ? this.number : this.teamUser.number;
1665
1760
  }
1666
1761
  };
1667
1762
  GameUser = __decorate([
@@ -1930,9 +2025,9 @@ class BaseService {
1930
2025
  this.store.dispose();
1931
2026
  }
1932
2027
  }
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: [{
2028
+ BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2029
+ BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, providedIn: 'root' });
2030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseService, decorators: [{
1936
2031
  type: Injectable,
1937
2032
  args: [{ providedIn: 'root' }]
1938
2033
  }] });
@@ -1963,9 +2058,9 @@ class ConfigService extends BaseService {
1963
2058
  return this.store.value(CONFIG_STORE_KEY) && this.store.value(CONFIG_STORE_KEY)[key];
1964
2059
  }
1965
2060
  }
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: [{
2061
+ 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 });
2062
+ ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, providedIn: 'root' });
2063
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ConfigService, decorators: [{
1969
2064
  type: Injectable,
1970
2065
  args: [{ providedIn: 'root' }]
1971
2066
  }], ctorParameters: function () {
@@ -2011,9 +2106,9 @@ class GameBaseApi {
2011
2106
  });
2012
2107
  }
2013
2108
  }
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: [{
2109
+ 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 });
2110
+ GameBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, providedIn: 'root' });
2111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameBaseApi, decorators: [{
2017
2112
  type: Injectable,
2018
2113
  args: [{ providedIn: 'root' }]
2019
2114
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2057,9 +2152,9 @@ class BasketballGameApi extends GameBaseApi {
2057
2152
  });
2058
2153
  }
2059
2154
  }
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: [{
2155
+ 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 });
2156
+ BasketballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, providedIn: 'root' });
2157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BasketballGameApi, decorators: [{
2063
2158
  type: Injectable,
2064
2159
  args: [{ providedIn: 'root' }]
2065
2160
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2094,9 +2189,9 @@ class FeedbackApi {
2094
2189
  });
2095
2190
  }
2096
2191
  }
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: [{
2192
+ 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 });
2193
+ FeedbackApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, providedIn: 'root' });
2194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FeedbackApi, decorators: [{
2100
2195
  type: Injectable,
2101
2196
  args: [{ providedIn: 'root' }]
2102
2197
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2132,9 +2227,9 @@ class FileApi {
2132
2227
  });
2133
2228
  }
2134
2229
  }
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: [{
2230
+ 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 });
2231
+ FileApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, providedIn: 'root' });
2232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FileApi, decorators: [{
2138
2233
  type: Injectable,
2139
2234
  args: [{ providedIn: 'root' }]
2140
2235
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2393,10 +2488,10 @@ HockeyGameStatistic = __decorate([
2393
2488
 
2394
2489
  let HockeyStatistic = class HockeyStatistic extends BaseStatistic {
2395
2490
  get assists() {
2396
- return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
2491
+ return Math.floor(10 * ((this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0))) / 10;
2397
2492
  }
2398
2493
  get goalpass() {
2399
- return (this.totalGoals || 0) + (this.assists || 0);
2494
+ return Math.floor(10 * ((this.totalGoals || 0) + (this.assists || 0))) / 10;
2400
2495
  }
2401
2496
  get userMinutes() {
2402
2497
  if (!this.gameTime) {
@@ -2484,9 +2579,9 @@ class HockeyGameApi extends GameBaseApi {
2484
2579
  });
2485
2580
  }
2486
2581
  }
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: [{
2582
+ 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 });
2583
+ HockeyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, providedIn: 'root' });
2584
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HockeyGameApi, decorators: [{
2490
2585
  type: Injectable,
2491
2586
  args: [{ providedIn: 'root' }]
2492
2587
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2678,7 +2773,7 @@ let FootballStatistic = class FootballStatistic extends BaseStatistic {
2678
2773
  return Math.floor(10 * ((this.smallPenaltyGoals || 0) + (this.smallPenaltyAttempts || 0))) / 10;
2679
2774
  }
2680
2775
  get goalpass() {
2681
- return (this.totalGoals || 0) + (this.assists || 0);
2776
+ return Math.floor(10 * ((this.totalGoals || 0) + (this.assists || 0))) / 10;
2682
2777
  }
2683
2778
  get tournamentTeamPoints() {
2684
2779
  return this.tournamentTeam && this.tournamentTeam.points;
@@ -2779,9 +2874,9 @@ class FootballGameApi extends GameBaseApi {
2779
2874
  });
2780
2875
  }
2781
2876
  }
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: [{
2877
+ 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 });
2878
+ FootballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, providedIn: 'root' });
2879
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: FootballGameApi, decorators: [{
2785
2880
  type: Injectable,
2786
2881
  args: [{ providedIn: 'root' }]
2787
2882
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -2997,9 +3092,9 @@ class HandballGameApi extends GameBaseApi {
2997
3092
  });
2998
3093
  }
2999
3094
  }
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: [{
3095
+ 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 });
3096
+ HandballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, providedIn: 'root' });
3097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HandballGameApi, decorators: [{
3003
3098
  type: Injectable,
3004
3099
  args: [{ providedIn: 'root' }]
3005
3100
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3184,7 +3279,7 @@ let RugbyStatistic = class RugbyStatistic extends BaseStatistic {
3184
3279
  return `${minutes < 10 ? 0 : ''}${minutes}:${seconds < 10 ? 0 : ''}${seconds}`;
3185
3280
  }
3186
3281
  get totalFouls() {
3187
- return (this.fouls || 0) + (this.teamFouls || 0);
3282
+ return Math.floor(10 * ((this.fouls || 0) + (this.teamFouls || 0))) / 10;
3188
3283
  }
3189
3284
  };
3190
3285
  RugbyStatistic = __decorate([
@@ -3230,10 +3325,10 @@ TeamAchievement = __decorate([
3230
3325
 
3231
3326
  let WaterpoloStatistic = class WaterpoloStatistic extends BaseStatistic {
3232
3327
  get assists() {
3233
- return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
3328
+ return Math.floor(10 * ((this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0))) / 10;
3234
3329
  }
3235
3330
  get goalpass() {
3236
- return (this.totalGoals || 0) + (this.assists || 0);
3331
+ return Math.floor(10 * ((this.totalGoals || 0) + (this.assists || 0))) / 10;
3237
3332
  }
3238
3333
  get userMinutes() {
3239
3334
  if (!this.gameTime) {
@@ -3642,9 +3737,9 @@ class TournamentApi {
3642
3737
  });
3643
3738
  }
3644
3739
  }
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: [{
3740
+ 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 });
3741
+ TournamentApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, providedIn: 'root' });
3742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentApi, decorators: [{
3648
3743
  type: Injectable,
3649
3744
  args: [{ providedIn: 'root' }]
3650
3745
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3658,6 +3753,9 @@ function applyGamesFilters(filters, params) {
3658
3753
  if (filters.tournamentRoundId) {
3659
3754
  params = params.set('tournament_round_id', filters.tournamentRoundId.toString());
3660
3755
  }
3756
+ if (filters.tournamentGroupId) {
3757
+ params = params.set('tournament_group_id', filters.tournamentGroupId.toString());
3758
+ }
3661
3759
  if (filters.divisionId) {
3662
3760
  params = params.set('division_id', filters.divisionId.toString());
3663
3761
  }
@@ -3928,9 +4026,9 @@ class LeagueApi {
3928
4026
  });
3929
4027
  }
3930
4028
  }
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: [{
4029
+ 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 });
4030
+ LeagueApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, providedIn: 'root' });
4031
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueApi, decorators: [{
3934
4032
  type: Injectable,
3935
4033
  args: [{ providedIn: 'root' }]
3936
4034
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -3988,9 +4086,9 @@ class LeagueNewsApi {
3988
4086
  });
3989
4087
  }
3990
4088
  }
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: [{
4089
+ 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 });
4090
+ LeagueNewsApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, providedIn: 'root' });
4091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeagueNewsApi, decorators: [{
3994
4092
  type: Injectable,
3995
4093
  args: [{ providedIn: 'root' }]
3996
4094
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4011,9 +4109,9 @@ class LeaguePlayerApi {
4011
4109
  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
4110
  }
4013
4111
  }
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: [{
4112
+ 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 });
4113
+ LeaguePlayerApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, providedIn: 'root' });
4114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: LeaguePlayerApi, decorators: [{
4017
4115
  type: Injectable,
4018
4116
  args: [{ providedIn: 'root' }]
4019
4117
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4118,9 +4216,9 @@ class MediaApi {
4118
4216
  });
4119
4217
  }
4120
4218
  }
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: [{
4219
+ 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 });
4220
+ MediaApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, providedIn: 'root' });
4221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: MediaApi, decorators: [{
4124
4222
  type: Injectable,
4125
4223
  args: [{ providedIn: 'root' }]
4126
4224
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4500,9 +4598,9 @@ class NotificationBaseApi {
4500
4598
  });
4501
4599
  }
4502
4600
  }
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: [{
4601
+ 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 });
4602
+ NotificationBaseApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, providedIn: 'root' });
4603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationBaseApi, decorators: [{
4506
4604
  type: Injectable,
4507
4605
  args: [{ providedIn: 'root' }]
4508
4606
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4513,9 +4611,9 @@ class NotificationApi extends NotificationBaseApi {
4513
4611
  this.apiUrl = '/api/v1';
4514
4612
  }
4515
4613
  }
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: [{
4614
+ NotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4615
+ NotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, providedIn: 'root' });
4616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: NotificationApi, decorators: [{
4519
4617
  type: Injectable,
4520
4618
  args: [{ providedIn: 'root' }]
4521
4619
  }] });
@@ -4526,9 +4624,9 @@ class OrgNotificationApi extends NotificationBaseApi {
4526
4624
  this.apiUrl = '/org/api/v1';
4527
4625
  }
4528
4626
  }
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: [{
4627
+ OrgNotificationApi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
4628
+ OrgNotificationApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, providedIn: 'root' });
4629
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OrgNotificationApi, decorators: [{
4532
4630
  type: Injectable,
4533
4631
  args: [{ providedIn: 'root' }]
4534
4632
  }] });
@@ -4553,9 +4651,9 @@ class ReferenceApi {
4553
4651
  });
4554
4652
  }
4555
4653
  }
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: [{
4654
+ 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 });
4655
+ ReferenceApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, providedIn: 'root' });
4656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ReferenceApi, decorators: [{
4559
4657
  type: Injectable,
4560
4658
  args: [{ providedIn: 'root' }]
4561
4659
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -4609,7 +4707,7 @@ let RugbyGameStatistic = class RugbyGameStatistic extends GameStatisticBase {
4609
4707
  return (this.conversionGoals || 0) + (this.dropGoals || 0) + (this.penaltyGoals || 0);
4610
4708
  }
4611
4709
  get footShots() {
4612
- return (this.footFieldShots || 0) + (this.footOutShots || 0);
4710
+ return (this.footFieldShots || 0) + (this.footOutShots || 0) + (this.footKicks5022 || 0);
4613
4711
  }
4614
4712
  get totalFouls() {
4615
4713
  return (this.fouls || 0) + (this.teamFouls || 0);
@@ -4685,24 +4783,25 @@ var RugbyGameLogTypes;
4685
4783
  RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 22] = "end_game_penalty_goal";
4686
4784
  RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 23] = "foot_field_shot";
4687
4785
  RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 24] = "foot_out_shot";
4786
+ RugbyGameLogTypes[RugbyGameLogTypes["foot_kick_50_22"] = 25] = "foot_kick_50_22";
4688
4787
  // 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";
4788
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 26] = "timeout";
4789
+ RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 27] = "tap_penalty";
4790
+ RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 28] = "penalty_kick_to_touch";
4791
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 29] = "scrum_won";
4792
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 30] = "scrum_lost";
4793
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 31] = "scrum_won_free";
4794
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 32] = "lineout_won";
4795
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 33] = "lineout_lost";
4796
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 34] = "quick_throw";
4797
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 35] = "ruck_won";
4798
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 36] = "ruck_lost";
4799
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 37] = "maul_won";
4800
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 38] = "maul_lost";
4801
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 39] = "team_foul";
4802
+ RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 40] = "start_kick";
4803
+ RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 41] = "twenty_two_meters_kick";
4804
+ RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 42] = "goal_kick";
4706
4805
  })(RugbyGameLogTypes || (RugbyGameLogTypes = {}));
4707
4806
  const RUGBY_GAME_LOG_TYPE_POINTS = {
4708
4807
  [RugbyGameLogTypes.penalty_try]: 7,
@@ -4814,9 +4913,9 @@ class RugbyGameApi extends GameBaseApi {
4814
4913
  });
4815
4914
  }
4816
4915
  }
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: [{
4916
+ 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 });
4917
+ RugbyGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, providedIn: 'root' });
4918
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: RugbyGameApi, decorators: [{
4820
4919
  type: Injectable,
4821
4920
  args: [{ providedIn: 'root' }]
4822
4921
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5218,9 +5317,9 @@ class TeamApi {
5218
5317
  });
5219
5318
  }
5220
5319
  }
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: [{
5320
+ 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 });
5321
+ TeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, providedIn: 'root' });
5322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamApi, decorators: [{
5224
5323
  type: Injectable,
5225
5324
  args: [{ providedIn: 'root' }]
5226
5325
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5286,9 +5385,9 @@ class TeamEventApi {
5286
5385
  });
5287
5386
  }
5288
5387
  }
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: [{
5388
+ 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 });
5389
+ TeamEventApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, providedIn: 'root' });
5390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TeamEventApi, decorators: [{
5292
5391
  type: Injectable,
5293
5392
  args: [{ providedIn: 'root' }]
5294
5393
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5365,9 +5464,9 @@ class TournamentJoinApi {
5365
5464
  });
5366
5465
  }
5367
5466
  }
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: [{
5467
+ 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 });
5468
+ TournamentJoinApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, providedIn: 'root' });
5469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentJoinApi, decorators: [{
5371
5470
  type: Injectable,
5372
5471
  args: [{ providedIn: 'root' }]
5373
5472
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5450,9 +5549,9 @@ class TournamentRoundApi {
5450
5549
  });
5451
5550
  }
5452
5551
  }
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: [{
5552
+ 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 });
5553
+ TournamentRoundApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, providedIn: 'root' });
5554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentRoundApi, decorators: [{
5456
5555
  type: Injectable,
5457
5556
  args: [{ providedIn: 'root' }]
5458
5557
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5559,9 +5658,9 @@ class TournamentSeasonApi {
5559
5658
  });
5560
5659
  }
5561
5660
  }
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: [{
5661
+ 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 });
5662
+ TournamentSeasonApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, providedIn: 'root' });
5663
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentSeasonApi, decorators: [{
5565
5664
  type: Injectable,
5566
5665
  args: [{ providedIn: 'root' }]
5567
5666
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5614,9 +5713,9 @@ class TournamentStageApi {
5614
5713
  });
5615
5714
  }
5616
5715
  }
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: [{
5716
+ 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 });
5717
+ TournamentStageApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, providedIn: 'root' });
5718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TournamentStageApi, decorators: [{
5620
5719
  type: Injectable,
5621
5720
  args: [{ providedIn: 'root' }]
5622
5721
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -5899,9 +5998,9 @@ class UserApi {
5899
5998
  });
5900
5999
  }
5901
6000
  }
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: [{
6001
+ 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 });
6002
+ UserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, providedIn: 'root' });
6003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: UserApi, decorators: [{
5905
6004
  type: Injectable,
5906
6005
  args: [{ providedIn: 'root' }]
5907
6006
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6118,9 +6217,9 @@ class VolleyballGameApi extends GameBaseApi {
6118
6217
  });
6119
6218
  }
6120
6219
  }
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: [{
6220
+ 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 });
6221
+ VolleyballGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, providedIn: 'root' });
6222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: VolleyballGameApi, decorators: [{
6124
6223
  type: Injectable,
6125
6224
  args: [{ providedIn: 'root' }]
6126
6225
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6784,9 +6883,9 @@ class WaterpoloGameApi extends GameBaseApi {
6784
6883
  });
6785
6884
  }
6786
6885
  }
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: [{
6886
+ 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 });
6887
+ WaterpoloGameApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, providedIn: 'root' });
6888
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: WaterpoloGameApi, decorators: [{
6790
6889
  type: Injectable,
6791
6890
  args: [{ providedIn: 'root' }]
6792
6891
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6812,9 +6911,9 @@ class PublicTeamApi {
6812
6911
  });
6813
6912
  }
6814
6913
  }
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: [{
6914
+ 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 });
6915
+ PublicTeamApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, providedIn: 'root' });
6916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicTeamApi, decorators: [{
6818
6917
  type: Injectable,
6819
6918
  args: [{ providedIn: 'root' }]
6820
6919
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6840,9 +6939,9 @@ class PublicUserApi {
6840
6939
  return this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/public_user/${userId}/league_player/`, { params }).pipe(map(result => new LeaguePlayer(result))).toPromise();
6841
6940
  }
6842
6941
  }
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: [{
6942
+ 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 });
6943
+ PublicUserApi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, providedIn: 'root' });
6944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PublicUserApi, decorators: [{
6846
6945
  type: Injectable,
6847
6946
  args: [{ providedIn: 'root' }]
6848
6947
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: ConfigService }]; } });
@@ -6871,6 +6970,13 @@ const BasketballGameLogTypeLocalization = {
6871
6970
  [BasketballGameLogTypes.unsportsmanlike_foul]: 'Неспортиный фол',
6872
6971
  [BasketballGameLogTypes.timeout]: 'Таймаут',
6873
6972
  [BasketballGameLogTypes.team_rebound]: 'Командный подбор',
6973
+ [BasketballGameLogTypes.dunk_attempt]: 'Данк мимо',
6974
+ [BasketballGameLogTypes.dunk_made]: 'Данк',
6975
+ [BasketballGameLogTypes.four_point_attempt]: 'Бросок 4 очка',
6976
+ [BasketballGameLogTypes.four_point_made]: '4 очка',
6977
+ [BasketballGameLogTypes.shootout]: 'Булит',
6978
+ [BasketballGameLogTypes.shootout_won]: 'Булит выигран',
6979
+ [BasketballGameLogTypes.shootout_lost]: 'Булит проигран',
6874
6980
  };
6875
6981
 
6876
6982
  const BasketballGameSubLogTypesLocalization = {
@@ -7073,7 +7179,7 @@ const OvertimeTypeLocalization = {
7073
7179
 
7074
7180
  const RugbyFoulSanctionLocalization = {
7075
7181
  [RugbyFoulSanctions.scrum]: 'Схватка',
7076
- [RugbyFoulSanctions.lineout]: 'Корридор',
7182
+ [RugbyFoulSanctions.lineout]: 'Коридор',
7077
7183
  [RugbyFoulSanctions.start_kick]: 'Начальный удар',
7078
7184
  [RugbyFoulSanctions.free_kick]: 'Свободный удар',
7079
7185
  [RugbyFoulSanctions.penalty_shot]: 'Штрафной удар',
@@ -7123,6 +7229,7 @@ const RugbyGameLogTypeLocalization = {
7123
7229
  [RugbyGameLogTypes.end_game_penalty_goal]: 'Штрафной гол',
7124
7230
  [RugbyGameLogTypes.foot_field_shot]: 'Удар ногой в поле',
7125
7231
  [RugbyGameLogTypes.foot_out_shot]: 'Удар ногой в аут',
7232
+ [RugbyGameLogTypes.foot_kick_50_22]: 'Удар ногой 50/22',
7126
7233
  [RugbyGameLogTypes.timeout]: 'Таймаут',
7127
7234
  [RugbyGameLogTypes.scrum_won]: 'Схватка выиграна',
7128
7235
  [RugbyGameLogTypes.scrum_lost]: 'Схватка проиграна',
@@ -7416,6 +7523,7 @@ class CentrifugoService {
7416
7523
  unsubscribe(channel) {
7417
7524
  if (this.subscriptions[channel]) {
7418
7525
  this.subscriptions[channel].unsubscribe();
7526
+ this.centrifuge.removeSubscription(this.subscriptions[channel]);
7419
7527
  delete this.subscriptions[channel];
7420
7528
  }
7421
7529
  if (this.channels$[channel]) {
@@ -7481,10 +7589,13 @@ class CentrifugoService {
7481
7589
  this.centrifuge._debugEnabled = false;
7482
7590
  }
7483
7591
  addEngineSubscription(channel) {
7484
- const sub = this.centrifuge.newSubscription(channel);
7485
- sub.on('publication', ctx => {
7486
- this.resolveMessage(channel, ctx.data);
7487
- });
7592
+ let sub = this.centrifuge.getSubscription(channel);
7593
+ if (!sub) {
7594
+ sub = this.centrifuge.newSubscription(channel);
7595
+ sub.on('publication', ctx => {
7596
+ this.resolveMessage(channel, ctx.data);
7597
+ });
7598
+ }
7488
7599
  sub.subscribe();
7489
7600
  return sub;
7490
7601
  }
@@ -7495,9 +7606,9 @@ class CentrifugoService {
7495
7606
  this.channels$[channel].next(message);
7496
7607
  }
7497
7608
  }
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: [{
7609
+ 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 });
7610
+ CentrifugoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, providedIn: 'root' });
7611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CentrifugoService, decorators: [{
7501
7612
  type: Injectable,
7502
7613
  args: [{ providedIn: 'root' }]
7503
7614
  }], ctorParameters: function () {
@@ -7546,9 +7657,9 @@ class DeviceInfoService {
7546
7657
  });
7547
7658
  }
7548
7659
  }
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: [{
7660
+ DeviceInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, deps: [{ token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Injectable });
7661
+ DeviceInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, providedIn: 'root' });
7662
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DeviceInfoService, decorators: [{
7552
7663
  type: Injectable,
7553
7664
  args: [{ providedIn: 'root' }]
7554
7665
  }], ctorParameters: function () {
@@ -7910,9 +8021,9 @@ class HttpCookieInterceptor {
7910
8021
  return next.handle(req);
7911
8022
  }
7912
8023
  }
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: [{
8024
+ 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 });
8025
+ HttpCookieInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor });
8026
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: HttpCookieInterceptor, decorators: [{
7916
8027
  type: Injectable
7917
8028
  }], ctorParameters: function () {
7918
8029
  return [{ type: i0.Injector }, { type: ConfigService }, { type: undefined, decorators: [{
@@ -7968,9 +8079,9 @@ class GameWebsocket {
7968
8079
  return this.centrifugoService.listen(`game_${gameId}`).pipe(filter(item => item.action === GameWebsocketEvents.GAME_USER_DELETED), map(item => new GameUser(item.data)));
7969
8080
  }
7970
8081
  }
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: [{
8082
+ GameWebsocket.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, deps: [{ token: CentrifugoService }], target: i0.ɵɵFactoryTarget.Injectable });
8083
+ GameWebsocket.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, providedIn: 'root' });
8084
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: GameWebsocket, decorators: [{
7974
8085
  type: Injectable,
7975
8086
  args: [{ providedIn: 'root' }]
7976
8087
  }], ctorParameters: function () { return [{ type: CentrifugoService }]; } });