{ "version": 3, "sources": ["src/app/shared/pipes/timespan.pipe.ts", "src/app/shared/scoreboard/elo-scoreboard/elo-scoreboard.component.ts", "src/app/shared/scoreboard/elo-scoreboard/elo-scoreboard.component.html", "src/app/shared/scoreboard/offense-defense-scoreboard/offense-defense-scoreboard.component.ts", "src/app/shared/scoreboard/offense-defense-scoreboard/offense-defense-scoreboard.component.html"], "sourcesContent": ["import { ChangeDetectorRef, Pipe, PipeTransform } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Duration } from 'luxon';\n\n@Pipe({\n name: 'timespan',\n pure: false,\n})\nexport class TimespanPipe implements PipeTransform {\n constructor(\n private readonly translate: TranslateService,\n private readonly ref: ChangeDetectorRef,\n ) {\n this.translate.onLangChange.pipe(takeUntilDestroyed()).subscribe(() => {\n this.ref.markForCheck();\n });\n }\n\n transform(value: number, format?: 'hh?:mm:ss' | 'm:ss' | 'long'): unknown {\n if (value === null || value === undefined) {\n return value;\n }\n let duration = Duration.fromMillis(value * 1000).rescale();\n switch (format) {\n case 'hh?:mm:ss':\n if (duration.hours) {\n return duration.toFormat('hh:mm:ss');\n } else {\n return duration.toFormat('mm:ss');\n }\n case 'm:ss':\n return duration.toFormat('m:ss');\n case 'long':\n default:\n duration = duration.shiftTo('hours', 'minutes', 'seconds');\n return this.translate.instant('COMMON.TIMESPAN_FORMAT', { hours: Math.floor(duration.hours), minutes: duration.minutes });\n }\n }\n}\n", "import { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { Store, select } from '@ngrx/store';\nimport { EloScoreboardModel, TeamSettings } from 'models';\nimport { Subject } from 'rxjs';\nimport { medals } from 'shared/medal-img/medals';\nimport {\n ScoreboardHistoryModalComponent,\n ScoreboardHistoryModalCotext,\n} from 'shared/scoreboard-history-modal/scoreboard-history-modal.component';\nimport { AppState, playersSelectors } from 'store';\nimport { NgIf, NgFor } from '@angular/common';\nimport { MatTooltip } from '@angular/material/tooltip';\nimport { MatIcon } from '@angular/material/icon';\nimport { MedalImgComponent } from '../../medal-img/medal-img.component';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-elo-scoreboard',\n templateUrl: './elo-scoreboard.component.html',\n styleUrls: ['../scoreboard.component.scss'],\n imports: [NgIf, MatTooltip, MatIcon, NgFor, MedalImgComponent, TranslateModule],\n})\nexport class EloScoreboardComponent implements OnInit, OnDestroy {\n #unsubscribe = new Subject();\n #items: Array = [];\n notQualified: Array = [];\n\n @Input() height: number;\n\n public get items() {\n return this.#items;\n }\n\n @Input() set items(value: Array) {\n if (!value?.length) {\n this.#items = [];\n this.notQualified = [];\n return;\n }\n this.#items = value.filter((x) => x.qualifies);\n this.notQualified = value.filter((x) => !x.qualifies);\n }\n\n settings: TeamSettings;\n\n constructor(\n private readonly store: Store,\n private readonly dialog: MatDialog,\n ) {}\n\n ngOnInit(): void {\n this.store.pipe(select(playersSelectors.selectSettings)).subscribe((settings) => (this.settings = settings));\n }\n\n ngOnDestroy(): void {\n this.#unsubscribe.next();\n this.#unsubscribe.complete();\n }\n\n public getMedal(position: number, settings: TeamSettings) {\n switch (position) {\n case 1:\n return medals.find((x) => x.code === 'gold');\n case 2:\n return medals.find((x) => x.code === 'silver');\n case 3:\n return medals.find((x) => x.code === 'bronze');\n case 4:\n return medals.find((x) => x.code === 'potato');\n default:\n if (settings.showAditionalPositionImages && settings.additionalMedalsSettings) {\n if (position > 5 && position === this.items?.length) {\n return medals.find((x) => x.code === 'champion');\n }\n const medalCode = settings.additionalMedalsSettings[position - 5];\n if (medalCode) {\n return medals.find((x) => x.code === medalCode) || null;\n }\n }\n break;\n }\n\n return null;\n }\n\n public openHistory() {\n this.dialog.open(ScoreboardHistoryModalComponent, {\n data: { type: 'elo', notQualified: this.notQualified.map((x) => x.id) },\n panelClass: 'dialog-xl',\n height: '90vh',\n });\n }\n}\n", "\n
\n

{{ 'DASHBOARD.EMPTY_SCOREBOARD' | translate }}

\n
\n
\n\n
\n
\n \n \n {{ 'STATISTICS.SCOREBOARD_ELO_TITLE' | translate }}\n \n analytics\n
\n {{ 'STATISTICS.SCOREBOARD_ELO_TITLE' | translate }}\n
{{ 'DASHBOARD.ELO_SCOREBOARD_POINTS' | translate }}
\n
\n\n \n \n
\n \n
\n
\n {{ ix + 1 }}. {{ p.displayName }}\n
\n
\n {{ p.eloPoints }}\n
\n \n\n \n
\n
\n {{ p.displayName }}\n
\n \n
\n {{ p.eloPoints }}\n
\n \n \n\n", "import { Component, Input, OnDestroy, OnInit } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { Store, select } from '@ngrx/store';\nimport { OffenseDefenseScoreboardModel, TeamSettings } from 'models';\nimport { Subject } from 'rxjs';\nimport { medals } from 'shared/medal-img/medals';\nimport {\n ScoreboardHistoryModalComponent,\n ScoreboardHistoryModalCotext,\n} from 'shared/scoreboard-history-modal/scoreboard-history-modal.component';\nimport { AppState, playersSelectors } from 'store';\nimport { ScoreboardType } from 'store/scoreboards/scoreboards.model';\nimport { NgIf, NgFor, DecimalPipe } from '@angular/common';\nimport { MatTooltip } from '@angular/material/tooltip';\nimport { MatIcon } from '@angular/material/icon';\nimport { MedalImgComponent } from '../../medal-img/medal-img.component';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-offense-defense-scoreboard',\n templateUrl: './offense-defense-scoreboard.component.html',\n styleUrls: ['../scoreboard.component.scss'],\n imports: [NgIf, MatTooltip, MatIcon, NgFor, MedalImgComponent, DecimalPipe, TranslateModule],\n})\nexport class OffenseDefenseScoreboardComponent implements OnInit, OnDestroy {\n #unsubscribe = new Subject();\n #items: Array = [];\n notQualified: Array = [];\n\n @Input() title = '';\n\n @Input() scoreboardType: ScoreboardType;\n\n public get items() {\n return this.#items;\n }\n\n @Input() set items(value: Array) {\n if (!value?.length) {\n this.#items = [];\n this.notQualified = [];\n return;\n }\n this.#items = value.filter((x) => x.qualifies);\n this.notQualified = value.filter((x) => !x.qualifies);\n }\n @Input() height: number;\n settings: TeamSettings;\n\n constructor(\n private readonly store: Store,\n private readonly dialog: MatDialog,\n ) {}\n\n ngOnInit(): void {\n this.store.pipe(select(playersSelectors.selectSettings)).subscribe((settings) => (this.settings = settings));\n }\n\n ngOnDestroy(): void {\n this.#unsubscribe.next();\n this.#unsubscribe.complete();\n }\n\n public getMedal(position: number, settings: TeamSettings) {\n switch (position) {\n case 1:\n return medals.find((x) => x.code === 'gold');\n case 2:\n return medals.find((x) => x.code === 'silver');\n case 3:\n return medals.find((x) => x.code === 'bronze');\n case 4:\n return medals.find((x) => x.code === 'potato');\n default:\n if (settings.showAditionalPositionImages && settings.additionalMedalsSettings) {\n if (position > 5 && position === this.items?.length) {\n return medals.find((x) => x.code === 'champion');\n }\n const medalCode = settings.additionalMedalsSettings[position - 5];\n if (medalCode) {\n return medals.find((x) => x.code === medalCode) || null;\n }\n }\n break;\n }\n\n return null;\n }\n\n public openHistory() {\n this.dialog.open(ScoreboardHistoryModalComponent, {\n data: { type: this.scoreboardType, notQualified: this.notQualified.map((x) => x.id) },\n panelClass: 'dialog-xl',\n height: '90vh',\n });\n }\n}\n", "\n
\n

{{ 'DASHBOARD.EMPTY_SCOREBOARD' | translate }}

\n
\n
\n\n
\n
\n \n \n {{ title }}\n \n analytics\n
\n {{ title }}\n
\n {{ 'DASHBOARD.DEFOF_SETS' | translate }}\n
\n
\n {{ 'DASHBOARD.DEFOF_GOALS' | translate }}\n
\n
{{ 'DASHBOARD.DEFOF_AVG_GOALS' | translate }}
\n
\n\n
\n \n
\n \n
\n
\n {{ ix + 1 }}. {{ p.displayName }}\n
\n
{{ p.totalSets }}
\n\n
\n {{ p.totalGoals }}\n
\n \n {{ p.avgGoals | number: '1.0-2' }}\n
\n \n\n \n
\n
\n {{ p.displayName }}\n
\n
{{ p.totalSets }}
\n\n
\n {{ p.totalGoals }}\n
\n
\n {{ p.avgGoals | number: '1.0-2' }}\n
\n \n \n\n"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AAA,EAAA,CAAA,EAAA,eAAA,uBAAA,EAAA,CAAA,EAAA,WAAA,OAAA,EAAA,CAAA,EAAA,eAAA,sBAAA,EAAA,CAAA,EAAA,EAAA,EAAA,CAAA,EAAA,eAAA,yBAAA,EAAA,CAAA,EAAA,eAAA,0BAAA,EAAA,CAAA,qBAAA,QAAA,0BAAA,MAAA,EAAA,eAAA,uBAAA,EAAA,YAAA,EAAA,CAAA,0BAAA,MAAA,EAAA,eAAA,kBAAA,aAAA,EAAA,YAAA,EAAA,CAAA,qBAAA,QAAA,EAAA,eAAA,uBAAA,EAAA,YAAA,CAAA,EAAAC,SAAA,SAAAC,EAAAC,EAAA,IAAAD,EAAA,ICxB9ChF,EAAA,EAAAkF,GAAA,EAAA,EAAA,cAAA,KAAA,EAAAC,CAAA,EAMAzF,EAAA,EAAA,MAAA,CAAA,EACIM,EAAA,EAAAoF,GAAA,GAAA,GAAA,MAAA,CAAA,EAA4D,EAAAC,GAAA,EAAA,EAAA,MAAA,CAAA,EAsEhEzF,EAAA,mBAtEmDC,EAAA,CAAA,EAAAK,EAAA,OAAA+E,EAAA7E,KAAA,EAqBEP,EAAA,EAAAK,EAAA,OAAA+E,EAAA7E,OAAA,KAAA,KAAA6E,EAAA7E,MAAAC,MAAA,EAAqB,WAAAiF,CAAA,kBDN5DC,EAAMC,EAAYC,EAASC,EAAOC,EAAmBC,EAAaC,EAAeC,CAAA,EAAAC,OAAA,CAAA;8DAAA,CAAA,CAAA,CAAA,SAElF3D,CAAiC,GAAA", "names": ["TimespanPipe", "constructor", "translate", "ref", "onLangChange", "pipe", "takeUntilDestroyed", "subscribe", "markForCheck", "transform", "value", "format", "duration", "Duration", "fromMillis", "rescale", "hours", "toFormat", "shiftTo", "instant", "Math", "floor", "minutes", "\u0275\u0275directiveInject", "TranslateService", "ChangeDetectorRef", "pure", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "\u0275\u0275pipeBind1", "\u0275\u0275template", "EloScoreboardComponent_ng_template_0_div_0_Template", "\u0275\u0275property", "ctx_r0", "items", "length", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r2", "\u0275\u0275nextContext", "\u0275\u0275resetView", "openHistory", "\u0275\u0275textInterpolate1", "\u0275\u0275element", "\u0275\u0275classProp", "ix_r4", "getMedal", "settings", "\u0275\u0275textInterpolate2", "p_r3", "displayName", "eloPoints", "\u0275\u0275pipeBind2", "\u0275\u0275pureFunction1", "_c0", "p_r5", "remainsForQualification", "EloScoreboardComponent_div_4_div_1_Template", "EloScoreboardComponent_div_4_div_2_Template", "\u0275\u0275styleProp", "height", "undefined", "notQualified", "EloScoreboardComponent", "#unsubscribe", "#items", "value", "filter", "x", "qualifies", "constructor", "store", "dialog", "Subject", "ngOnInit", "pipe", "select", "playersSelectors", "selectSettings", "subscribe", "ngOnDestroy", "next", "complete", "position", "medals", "find", "code", "showAditionalPositionImages", "additionalMedalsSettings", "medalCode", "open", "ScoreboardHistoryModalComponent", "data", "type", "map", "id", "panelClass", "\u0275\u0275directiveInject", "Store", "MatDialog", "selectors", "inputs", "decls", "vars", "consts", "template", "rf", "ctx", "EloScoreboardComponent_ng_template_0_Template", "\u0275\u0275templateRefExtractor", "EloScoreboardComponent_div_3_Template", "EloScoreboardComponent_div_4_Template", "emptyMainScoreboard_r6", "NgIf", "MatTooltip", "MatIcon", "NgFor", "MedalImgComponent", "TranslateModule", "TranslatePipe", "styles", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "\u0275\u0275pipeBind1", "\u0275\u0275template", "OffenseDefenseScoreboardComponent_ng_template_0_div_0_Template", "\u0275\u0275property", "ctx_r0", "items", "length", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r2", "\u0275\u0275nextContext", "\u0275\u0275resetView", "openHistory", "\u0275\u0275textInterpolate1", "title", "\u0275\u0275element", "\u0275\u0275classProp", "ix_r4", "getMedal", "settings", "\u0275\u0275textInterpolate2", "p_r3", "displayName", "totalSets", "totalGoals", "\u0275\u0275pipeBind3", "avgGoals", "\u0275\u0275pipeBind2", "\u0275\u0275pureFunction1", "_c0", "p_r5", "remainsForQualification", "OffenseDefenseScoreboardComponent_div_4_div_1_Template", "OffenseDefenseScoreboardComponent_div_4_div_2_Template", "\u0275\u0275styleProp", "height", "notQualified", "OffenseDefenseScoreboardComponent", "#unsubscribe", "#items", "value", "filter", "x", "qualifies", "constructor", "store", "dialog", "Subject", "ngOnInit", "pipe", "select", "playersSelectors", "selectSettings", "subscribe", "ngOnDestroy", "next", "complete", "position", "medals", "find", "code", "showAditionalPositionImages", "additionalMedalsSettings", "medalCode", "open", "ScoreboardHistoryModalComponent", "data", "type", "scoreboardType", "map", "id", "panelClass", "\u0275\u0275directiveInject", "Store", "MatDialog", "selectors", "inputs", "decls", "vars", "consts", "template", "rf", "ctx", "OffenseDefenseScoreboardComponent_ng_template_0_Template", "\u0275\u0275templateRefExtractor", "OffenseDefenseScoreboardComponent_div_3_Template", "OffenseDefenseScoreboardComponent_div_4_Template", "emptyMainScoreboard_r6", "NgIf", "MatTooltip", "MatIcon", "NgFor", "MedalImgComponent", "DecimalPipe", "TranslateModule", "TranslatePipe", "styles"] }