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AAoB","sources":["./src/app/core/ngxs/lobby/lobby-getter.state.ts","./src/app/core/ngxs/utils/filterActorByRegionIdAddTimezone.ts","./src/app/core/services/lobby.service.ts","./src/app/lobby/components/hide-inactive-checkbox/hide-inactive-checkbox.component.ts","./src/app/lobby/components/hide-inactive-checkbox/hide-inactive-checkbox.component.html","./src/app/lobby/components/purchasing-channels/purchasing-channels.component.ts","./src/app/lobby/components/purchasing-channels/purchasing-channels.component.html","./src/app/lobby/components/submission-channels/submission-channels.component.ts","./src/app/lobby/components/submission-channels/submission-channels.component.html","./src/app/lobby/components/time/time.component.ts","./src/app/lobby/components/time/time.component.html","./src/app/lobby/lobby.component.ts","./src/app/lobby/lobby.component.html","./src/app/lobby/lobby.routes.ts","./src/app/lobby/resolver/lobby-summary-resolver.service.ts","./src/app/shared/consts/refresh-data-interval.ts","./src/app/shared/models/common/fee-strategy.enum.ts","./src/app/shared/models/country.enum.ts","./src/app/shared/models/seller/seller-characteristic.enum.ts"],"sourcesContent":["import { Selector } from '@ngxs/store';\r\n\r\nimport { ILobbySummariesData } from '../../../lobby/models/lobbySummariesData.interface';\r\nimport { IBuyerTier } from '../../../shared/models/buyer-tier/buyer-tier.interface';\r\nimport { IRegion } from '../../../shared/models/region.interface';\r\nimport { ISeller } from '../../../shared/models/seller/seller.interface';\r\nimport { IStream } from '../../../shared/models/stream/stream.interface';\r\nimport { BuyerTierGetterState } from '../buyer-tier/buyer-tier-getter.state';\r\nimport { RegionGetterState } from '../region/region-getter.state';\r\nimport { SellerGetterState } from '../seller/seller-getter.state';\r\nimport { StreamGetterState } from '../stream/stream-getter.state';\r\nimport { TimezoneState, TimezoneStateModel } from '../timezone/timezone.state';\r\nimport { filterActorByRegionIdAddTimezone } from '../utils/filterActorByRegionIdAddTimezone';\r\nimport { LobbyState, LobbySummaryStateModel } from './lobby.state';\r\n\r\nexport class LobbyGetterState {\r\n @Selector([\r\n LobbyState,\r\n RegionGetterState.getAllRegions,\r\n SellerGetterState.getAllSellers,\r\n BuyerTierGetterState.getAllBuyerTiers,\r\n StreamGetterState.getAllStreams,\r\n TimezoneState,\r\n ])\r\n static getLobbySummaries(\r\n lobbySummaryState: LobbySummaryStateModel,\r\n regions: IRegion[],\r\n sellers: ISeller[],\r\n buyerTiers: IBuyerTier[],\r\n dataAgents: IStream[],\r\n timezoneState: TimezoneStateModel,\r\n ): ILobbySummariesData[] {\r\n return lobbySummaryState.regionIds.map((regionId) => {\r\n\r\n const curRegion = regions.find((region) => region.id === regionId);\r\n const curRegionSellers = filterActorByRegionIdAddTimezone(\r\n sellers, regionId, timezoneState, lobbySummaryState.sellerIds\r\n );\r\n const curRegionBuyerTiers = filterActorByRegionIdAddTimezone(\r\n buyerTiers,\r\n regionId,\r\n timezoneState,\r\n lobbySummaryState.buyerIds\r\n );\r\n const curRegionDataAgents = filterActorByRegionIdAddTimezone(\r\n dataAgents, regionId, timezoneState, lobbySummaryState.dataAgentIds\r\n );\r\n\r\n return {\r\n ...curRegion,\r\n sellers: curRegionSellers || [],\r\n buyerTiers: curRegionBuyerTiers || [],\r\n dataAgents: curRegionDataAgents || [],\r\n };\r\n });\r\n }\r\n\r\n @Selector([LobbyGetterState.getLobbySummaries, LobbyState])\r\n static getLobbySummariesInactiveFiltered(summaries: ILobbySummariesData[], lobbyState: LobbySummaryStateModel) {\r\n const filterOptions = lobbyState.hideInactive;\r\n return summaries.map(summaryForRegion => {\r\n const {sellers, buyerTiers, dataAgents, ...region} = summaryForRegion;\r\n const curRegionFilterOptions = filterOptions[region.countryCode];\r\n const filteredSellers = curRegionFilterOptions?.isHideInactiveSellers\r\n ? sellers.filter(seller => seller.inactive === false)\r\n : sellers;\r\n const filteredTiers = curRegionFilterOptions?.isHideInactiveTiers\r\n ? buyerTiers.filter(tier => tier.inactive === false)\r\n : buyerTiers;\r\n const filteredStreams = curRegionFilterOptions?.isHideInactiveStreams\r\n ? dataAgents.filter(stream => stream.inactive === false)\r\n : dataAgents;\r\n return {\r\n ...summaryForRegion,\r\n sellers: filteredSellers,\r\n buyerTiers: filteredTiers,\r\n dataAgents: filteredStreams,\r\n isTiersInitiallyEmpty: buyerTiers.length === 0,\r\n isSellersInitiallyEmpty: sellers.length === 0,\r\n isStreamsInitiallyEmpty: dataAgents.length === 0,\r\n };\r\n });\r\n }\r\n\r\n}\r\n","import { IBuyerTier } from '../../../shared/models/buyer-tier/buyer-tier.interface';\r\nimport { ISeller } from '../../../shared/models/seller/seller.interface';\r\nimport { IStream } from '../../../shared/models/stream/stream.interface';\r\nimport { TimezoneStateModel } from '../timezone/timezone.state';\r\n\r\nexport function filterActorByRegionIdAddTimezone(\r\n actors: T[],\r\n regionId: number,\r\n timezoneState: TimezoneStateModel,\r\n ids: string[],\r\n) {\r\n return actors.filter((actor) => {\r\n const isInList = ids.find((id) => actor.pseudonym === id);\r\n return !!isInList && actor.regionId === regionId;\r\n })\r\n .map((actor) => {\r\n const timezone = timezoneState.entities[actor.timezoneId];\r\n return {...actor, timezone: timezone};\r\n });\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { Store } from '@ngxs/store';\r\nimport { IRequest } from 'ngxs-requests-plugin';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { ILobbySummariesData } from '../../lobby/models/lobbySummariesData.interface';\r\nimport { GetLobbySummary } from '../ngxs/lobby/lobby.actions';\r\nimport { GetLobbySummaryRequestState, GetLobbySummarySilentRequestState } from '../ngxs/lobby/lobby.state';\r\nimport { LobbyGetterState } from '../ngxs/lobby/lobby-getter.state';\r\nimport { RequestGetterState } from \"../ngxs/requests/request-getter.state\";\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LobbyService {\r\n lobbySummaries$: Observable = this.store.select(LobbyGetterState.getLobbySummaries);\r\n getLobbySummaryRequestState$: Observable = this.store.select(\r\n RequestGetterState.getState(GetLobbySummaryRequestState)\r\n );\r\n getLobbySummarySilentRequestState$: Observable = this.store.select(\r\n RequestGetterState.getState(GetLobbySummarySilentRequestState)\r\n );\r\n\r\n constructor(\r\n private store: Store,\r\n ) {\r\n }\r\n\r\n getLobbySummary(isSilent = false) {\r\n this.store.dispatch(new GetLobbySummary(isSilent));\r\n return isSilent ? this.getLobbySummarySilentRequestState$ : this.getLobbySummaryRequestState$;\r\n }\r\n}\r\n","import { Component, Input } from '@angular/core';\r\nimport { AbstractControl, UntypedFormControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatCheckbox } from '@angular/material/checkbox';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-hide-inactive-checkbox',\r\n templateUrl: './hide-inactive-checkbox.component.html',\r\n standalone: true,\r\n imports: [\r\n MatCheckbox,\r\n ReactiveFormsModule,\r\n TranslateModule,\r\n ],\r\n})\r\nexport class HideInactiveCheckboxComponent {\r\n @Input()\r\n get control() {\r\n return this._control as UntypedFormControl;\r\n }\r\n set control(val) {\r\n this._control = val;\r\n }\r\n\r\n private _control: AbstractControl;\r\n}\r\n","{{'TEMPLATE.LOBBY.HIDE_INACTIVE' | translate}}\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { TranslateService, TranslateModule } from '@ngx-translate/core';\r\nimport { interval, Observable } from 'rxjs';\r\nimport { map, takeWhile } from 'rxjs/operators';\r\n\r\nimport { IBuyerTier } from '../../../shared/models/buyer-tier/buyer-tier.interface';\r\nimport { BuyerTierCharacteristics } from '../../../shared/models/buyer-tier/buyer-tier-characteristics.enum';\r\nimport { FeeStrategy } from '../../../shared/models/common/fee-strategy.enum';\r\nimport { IconNames } from '../../../shared/models/common/icon-names.enum';\r\nimport { SharedComponentActorType } from '../../../shared/models/common/shared-component-actor-type.enum';\r\nimport { IStream } from '../../../shared/models/stream/stream.interface';\r\nimport { StreamCharacteristic } from '../../../shared/models/stream/stream-characteristic.enum';\r\nimport { MaskFlagPipe } from '../../../shared/pipes/mask-flag/mask-flag.pipe';\r\nimport { TimeDurationPipe } from '../../../shared/pipes/time-duration/time-duration.pipe';\r\nimport { NgClass, AsyncPipe, CurrencyPipe } from '@angular/common';\r\nimport { ExtendedModule } from '@angular/flex-layout/extended';\r\nimport { TimeComponent } from '../time/time.component';\r\nimport { MatTooltip } from '@angular/material/tooltip';\r\nimport { IconWithTooltipComponent } from '../../../shared/components/icon-with-tooltip/icon-with-tooltip.component';\r\nimport { FlexModule } from '@angular/flex-layout/flex';\r\n\r\n@Component({\r\n selector: 'app-purchasing-channels',\r\n templateUrl: './purchasing-channels.component.html',\r\n standalone: true,\r\n imports: [\r\n NgClass,\r\n ExtendedModule,\r\n TimeComponent,\r\n MatTooltip,\r\n IconWithTooltipComponent,\r\n FlexModule,\r\n AsyncPipe,\r\n CurrencyPipe,\r\n TranslateModule,\r\n ],\r\n})\r\nexport class PurchasingChannelsComponent implements OnInit {\r\n @Input() channel: IBuyerTier | IStream;\r\n @Input() currency: string;\r\n @Input() characteristicWithIcons: any[] = [];\r\n @Input() characteristics: BuyerTierCharacteristics | StreamCharacteristic;\r\n @Input() actorType: SharedComponentActorType = SharedComponentActorType.BuyerTier;\r\n\r\n feeStrategy = FeeStrategy;\r\n icons: BuyerTierCharacteristics[] | StreamCharacteristic[] = [];\r\n iconsDescriptions: string;\r\n\r\n countDown$: Observable;\r\n\r\n get channelNameColumnTitle() {\r\n if (this.actorType === SharedComponentActorType.BuyerTier) {\r\n return 'TEMPLATE.LOBBY.BUYER_TIER_ID';\r\n } else {\r\n return 'TEMPLATE.LOBBY.STREAM_ID';\r\n }\r\n }\r\n\r\n constructor(\r\n private timeDurationPipe: TimeDurationPipe,\r\n private maskFlagPipe: MaskFlagPipe,\r\n private translateService: TranslateService,\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.countDown$ = interval(1000).pipe(\r\n map(() => this.timeDurationPipe.transform(this.channel.pausedUntil)),\r\n takeWhile(res => !!res, true),\r\n );\r\n this.icons = this.characteristicWithIcons.reduce((acc, item) => {\r\n return this.maskFlagPipe.transform(this.channel.characteristics, item) ? [...acc, this.characteristics[item]] : acc;\r\n }, []);\r\n\r\n this.iconsDescriptions = this.icons.map((icon) => this.translateService.instant(IconNames[icon])).join(', ');\r\n }\r\n}\r\n","
\r\n
\r\n

{{ channel?.timezone?.acronym }}

\r\n \r\n
\r\n
\r\n

{{ channelNameColumnTitle | translate }}

\r\n

\r\n {{ channel.name }}\r\n

\r\n
\r\n\r\n
\r\n
\r\n @for (characteristic of icons; track characteristic) {\r\n \r\n }\r\n
\r\n @if (icons.length > 2) {\r\n
...\r\n
\r\n }\r\n
\r\n\r\n
\r\n

{{ 'TEMPLATE.LOBBY.TYPE' | translate }}

\r\n

{{ 'SHARED.FEE_STRATEGY.' + feeStrategy[channel.feeStrategy] | translate }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.PRICE' | translate }}

\r\n

{{ channel.price | currency: currency }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.LOOKS' | translate }}

\r\n

{{ channel.looks }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.PURCHASES' | translate }}

\r\n

{{ channel.purchases }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.PROVISIONAL_PURCHASES' | translate }}

\r\n

{{ channel.provisionalPurchases }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.FAULTS' | translate }}

\r\n

{{ channel.faults }}

\r\n
\r\n \r\n
\r\n @if (!channel.enabled) {\r\n
\r\n \r\n

{{ 'TEMPLATE.LOBBY.CHANNEL_DISABLED' | translate }}

\r\n
\r\n } @else {\r\n
\r\n \r\n

{{ 'TEMPLATE.LOBBY.PAUSED' | translate }}

\r\n
\r\n }\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport { TranslateService, TranslateModule } from '@ngx-translate/core';\r\n\r\nimport { IconNames } from '../../../shared/models/common/icon-names.enum';\r\nimport { ISeller } from '../../../shared/models/seller/seller.interface';\r\nimport { SellerCharacteristic } from '../../../shared/models/seller/seller-characteristic.enum';\r\nimport { MaskFlagPipe } from '../../../shared/pipes/mask-flag/mask-flag.pipe';\r\nimport { NgClass, CurrencyPipe } from '@angular/common';\r\nimport { ExtendedModule } from '@angular/flex-layout/extended';\r\nimport { TimeComponent } from '../time/time.component';\r\nimport { MatTooltip } from '@angular/material/tooltip';\r\nimport { IconWithTooltipComponent } from '../../../shared/components/icon-with-tooltip/icon-with-tooltip.component';\r\nimport { RedirectRateComponent } from '../../../shared/components/redirect-rate/redirect-rate.component';\r\nimport { FlexModule } from '@angular/flex-layout/flex';\r\n\r\n@Component({\r\n selector: 'app-submission-channels',\r\n templateUrl: './submission-channels.component.html',\r\n styleUrls: ['./submission-channels.component.less'],\r\n standalone: true,\r\n imports: [\r\n NgClass,\r\n ExtendedModule,\r\n TimeComponent,\r\n MatTooltip,\r\n IconWithTooltipComponent,\r\n RedirectRateComponent,\r\n FlexModule,\r\n CurrencyPipe,\r\n TranslateModule,\r\n ],\r\n})\r\nexport class SubmissionChannelsComponent implements OnInit {\r\n @Input() seller: ISeller;\r\n @Input() currency: string;\r\n icons: SellerCharacteristic[];\r\n iconsDescriptions: string;\r\n iconNamesEnum = IconNames;\r\n\r\n constructor(\r\n private maskFlagPipe: MaskFlagPipe,\r\n private translateService: TranslateService,\r\n ) {\r\n\r\n }\r\n\r\n sellerCharacteristic = Object.values(SellerCharacteristic);\r\n sellerCharacteristicEnum = SellerCharacteristic;\r\n\r\n ngOnInit() {\r\n this.icons = this.sellerCharacteristic.filter((item) =>\r\n item !== SellerCharacteristic.HasSettings && item !== SellerCharacteristic.HasSpecialOffers && item !== SellerCharacteristic.HasSites\r\n ).reduce((acc, item) => {\r\n return this.maskFlagPipe.transform(this.seller.characteristics, item) ? [...acc, this.sellerCharacteristicEnum[item]] : acc;\r\n }, []);\r\n\r\n this.iconsDescriptions = this.icons.map((icon) => this.translateService.instant(this.iconNamesEnum[icon])).join(', ');\r\n }\r\n}\r\n","
\r\n
\r\n

{{ seller?.timezone?.acronym }}

\r\n \r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.SELLER_ID' | translate }}

\r\n

\r\n {{ seller.name }}\r\n

\r\n
\r\n
\r\n
\r\n @for (characteristic of icons; track characteristic) {\r\n \r\n }\r\n
\r\n @if (icons.length > 2) {\r\n
...\r\n
\r\n }\r\n
\r\n\r\n
\r\n

{{ 'TEMPLATE.LOBBY.SUBMISSIONS_SALES' | translate }}

\r\n

{{ seller.submissions }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.COMMISSION' | translate }}

\r\n

{{ seller.commission }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.FAULTS' | translate }}

\r\n

{{ seller.faults }}

\r\n
\r\n
\r\n

\r\n {{ 'TEMPLATE.LOBBY.EPA' | translate }}\r\n @if (seller.epsComparison > 0) {\r\n \r\n }\r\n @if (seller.epsComparison < 0) {\r\n \r\n }\r\n

\r\n

{{ seller.eps | currency: currency }}

\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.CONVERSION_RATE' | translate }}

\r\n @if (seller.conversionRate !== null) {\r\n

{{ seller.conversionRate }}%

\r\n }\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.SUBMIT_RATIO' | translate }}

\r\n @if (seller.submissionRate !== null) {\r\n

{{ seller.submissionRate }}%

\r\n }\r\n
\r\n
\r\n

{{ 'TEMPLATE.LOBBY.REDIRECT_RATE' | translate }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n

{{ 'TEMPLATE.LOBBY.CHANNEL_DISABLED' | translate }}

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, Input, OnInit } from '@angular/core';\r\nimport * as moment from 'moment';\r\nimport { interval, Observable } from 'rxjs';\r\nimport { map, startWith } from 'rxjs/operators';\r\nimport { AsyncPipe } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'app-time',\r\n templateUrl: './time.component.html',\r\n standalone: true,\r\n imports: [AsyncPipe],\r\n})\r\nexport class TimeComponent implements OnInit {\r\n @Input() offset: number;\r\n\r\n time$: Observable;\r\n\r\n ngOnInit() {\r\n this.time$ = interval(1000).pipe(\r\n startWith(0),\r\n map(() => moment().utcOffset(this.offset || 0).format('HH:mm'))\r\n );\r\n }\r\n}\r\n\r\n","

\r\n {{time$ | async}}\r\n

\r\n","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { Store } from '@ngxs/store';\r\nimport { interval, Observable, Subscription } from 'rxjs';\r\nimport { filter, startWith, take } from 'rxjs/operators';\r\n\r\nimport { SetHideInactiveLobbySummaryItemsOptions } from '../core/ngxs/lobby/lobby.actions';\r\nimport { LobbyGetterState } from '../core/ngxs/lobby/lobby-getter.state';\r\nimport { LobbyService } from '../core/services/lobby.service';\r\nimport { REFRESH_DATA_DEFAULT_INTERVAL } from '../shared/consts/refresh-data-interval';\r\nimport { BuyerTierCharacteristics } from '../shared/models/buyer-tier/buyer-tier-characteristics.enum';\r\nimport { SharedComponentActorType } from '../shared/models/common/shared-component-actor-type.enum';\r\nimport { Country } from '../shared/models/country.enum';\r\nimport { StreamCharacteristic } from '../shared/models/stream/stream-characteristic.enum';\r\nimport { ILobbySummariesData } from './models/lobbySummariesData.interface';\r\nimport { NgClass, AsyncPipe } from '@angular/common';\r\nimport { MatCard, MatCardHeader, MatCardTitle, MatCardContent } from '@angular/material/card';\r\nimport { ExtendedModule } from '@angular/flex-layout/extended';\r\nimport { FlexModule } from '@angular/flex-layout/flex';\r\nimport { HideInactiveCheckboxComponent } from './components/hide-inactive-checkbox/hide-inactive-checkbox.component';\r\nimport { RouterLink } from '@angular/router';\r\nimport { SubmissionChannelsComponent } from './components/submission-channels/submission-channels.component';\r\nimport { PurchasingChannelsComponent } from './components/purchasing-channels/purchasing-channels.component';\r\nimport { RedirectRateComponent } from '../shared/components/redirect-rate/redirect-rate.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-lobby',\r\n templateUrl: './lobby.component.html',\r\n styleUrls: ['./lobby.component.less'],\r\n standalone: true,\r\n imports: [MatCard, MatCardHeader, MatCardTitle, NgClass, ExtendedModule, MatCardContent, FlexModule, HideInactiveCheckboxComponent, RouterLink, SubmissionChannelsComponent, PurchasingChannelsComponent, RedirectRateComponent, AsyncPipe, TranslateModule]\r\n})\r\nexport class LobbyComponent implements OnInit, OnDestroy {\r\n\r\n lobbySummaries$: Observable = this.lobbyService.lobbySummaries$;\r\n lobbySummariesFiltered$: Observable<\r\n (ILobbySummariesData & {\r\n isTiersInitiallyEmpty: boolean;\r\n isSellersInitiallyEmpty: boolean;\r\n isStreamsInitiallyEmpty: boolean;\r\n })[]>;\r\n\r\n countries = Country;\r\n buyerTierCharacteristics = BuyerTierCharacteristics;\r\n streamCharacteristics = StreamCharacteristic;\r\n buyerTierCharacteristicWithIcons: BuyerTierCharacteristics[] = [\r\n BuyerTierCharacteristics.InternallyOwned,\r\n BuyerTierCharacteristics.PriceBidding,\r\n BuyerTierCharacteristics.IntegrationSupportsDynamicPricing,\r\n ];\r\n\r\n streamCharacteristicWithIcons: StreamCharacteristic[] = [\r\n StreamCharacteristic.InternallyOwned,\r\n StreamCharacteristic.IntegrationSupportsDynamicPricing,\r\n StreamCharacteristic.MarketingOptOutRelay,\r\n StreamCharacteristic.BlindRelay,\r\n StreamCharacteristic.SellerReturnRelay,\r\n StreamCharacteristic.AnonymisedRelay,\r\n StreamCharacteristic.MarketingRelay,\r\n ];\r\n\r\n actorType = SharedComponentActorType;\r\n\r\n hideInactiveItemsFormGroup: FormGroup;\r\n\r\n intervalSubscription: Subscription;\r\n lobbySummariesSubscription: Subscription;\r\n hideInactiveItemsFormGroupSubscription: Subscription;\r\n\r\n constructor(\r\n private store: Store,\r\n private lobbyService: LobbyService,\r\n ) {\r\n }\r\n\r\n ngOnInit() {\r\n this.lobbySummariesSubscription = this.lobbySummaries$.pipe(\r\n filter(summaries => !!summaries?.length),\r\n take(1)\r\n ).subscribe(summaries => {\r\n const formGroupsByRegion = summaries.reduce((acc, summary) => {\r\n return {\r\n ...acc,\r\n [summary.countryCode]: new FormGroup({\r\n isHideInactiveSellers: new FormControl(true),\r\n isHideInactiveTiers: new FormControl(true),\r\n isHideInactiveStreams: new FormControl(true),\r\n })\r\n };\r\n }, {});\r\n this.hideInactiveItemsFormGroup = new FormGroup(formGroupsByRegion);\r\n });\r\n\r\n this.hideInactiveItemsFormGroupSubscription = this.hideInactiveItemsFormGroup.valueChanges.pipe(\r\n startWith(this.hideInactiveItemsFormGroup.value)\r\n ).subscribe(value => {\r\n this.store.dispatch(new SetHideInactiveLobbySummaryItemsOptions(value));\r\n });\r\n\r\n this.lobbySummariesFiltered$ = this.store.select(LobbyGetterState.getLobbySummariesInactiveFiltered);\r\n\r\n this.intervalSubscription = interval(REFRESH_DATA_DEFAULT_INTERVAL).subscribe(() => this.lobbyService.getLobbySummary(true));\r\n }\r\n\r\n ngOnDestroy() {\r\n this.intervalSubscription.unsubscribe();\r\n this.lobbySummariesSubscription.unsubscribe();\r\n this.hideInactiveItemsFormGroupSubscription.unsubscribe();\r\n }\r\n}\r\n","
\r\n
\r\n @for (item of lobbySummariesFiltered$ | async; track item.id) {\r\n \r\n \r\n \r\n
\r\n {{ countries[item.countryCode] | translate }}\r\n
\r\n
\r\n \r\n @if (!item.isSellersInitiallyEmpty) {\r\n
\r\n

{{ 'TEMPLATE.LOBBY.LEAD_SUBMISSION_CHANNELS' | translate }}

\r\n \r\n
\r\n @if (item.sellers.length) {\r\n @for (seller of item.sellers; track seller.pseudonym) {\r\n \r\n \r\n \r\n }\r\n } @else {\r\n
\r\n
{{ 'TEMPLATE.LOBBY.NO_ACTIVE' | translate }}
\r\n
\r\n }\r\n }\r\n @if (!item.isTiersInitiallyEmpty) {\r\n
\r\n

{{ 'TEMPLATE.LOBBY.LEAD_PURCHASING_CHANNELS' | translate }}

\r\n \r\n
\r\n @if (item.buyerTiers.length) {\r\n @for (buyerTier of item.buyerTiers; track buyerTier.pseudonym) {\r\n \r\n \r\n
\r\n

{{ 'TEMPLATE.LOBBY.REDIRECT_RATE' | translate }}

\r\n \r\n
\r\n \r\n \r\n }\r\n } @else {\r\n
\r\n
{{ 'TEMPLATE.LOBBY.NO_ACTIVE' | translate }}
\r\n
\r\n }\r\n }\r\n @if (!item.isStreamsInitiallyEmpty) {\r\n
\r\n

{{ 'TEMPLATE.LOBBY.APP_STREAM' | translate }}

\r\n \r\n
\r\n @if (item.dataAgents.length) {\r\n @for (dataAgent of item.dataAgents; track dataAgent.pseudonym) {\r\n \r\n \r\n \r\n }\r\n } @else {\r\n
\r\n
{{ 'TEMPLATE.LOBBY.NO_ACTIVE' | translate }}
\r\n
\r\n }\r\n }\r\n
\r\n
\r\n }\r\n
\r\n
\r\n\r\n","import { Routes } from '@angular/router';\r\n\r\nimport { LobbyComponent } from './lobby.component';\r\nimport { LobbySummaryResolver } from './resolver/lobby-summary-resolver.service';\r\n\r\nexport const LOBBY_ROUTES: Routes = [\r\n {\r\n path: '',\r\n component: LobbyComponent,\r\n resolve: [LobbySummaryResolver]\r\n }\r\n];\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { IRequest } from 'ngxs-requests-plugin';\r\nimport { Observable } from 'rxjs';\r\nimport { filter, take } from 'rxjs/operators';\r\n\r\nimport { LobbyService } from '../../core/services/lobby.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LobbySummaryResolver {\r\n constructor(private lobbyService: LobbyService) {\r\n }\r\n\r\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\r\n return this.lobbyService.getLobbySummary().pipe(\r\n filter(res => res.loaded),\r\n take(1)\r\n );\r\n }\r\n}\r\n","// 3 min in milliseconds (180000)\r\nexport const REFRESH_DATA_DEFAULT_INTERVAL = 180000;\r\n","export enum FeeStrategy {\r\n PerSubmission = 0x1,\r\n PerSale = 0x2,\r\n PerFunded = 0x4,\r\n NoCommission = 0x8,\r\n}\r\n","export enum Country {\r\n ES = 'SHARED.COUNTRIES.SPAIN',\r\n CA = 'SHARED.COUNTRIES.CANADA',\r\n US = 'SHARED.COUNTRIES.UNITED_STATES',\r\n GB = 'SHARED.COUNTRIES.UNITED_KINGDOM',\r\n}\r\n","export enum SellerCharacteristic {\r\n InternallyOwned = 0x1,\r\n Network = 0x2,\r\n SubAsPrime = 0x4,\r\n BuyerAsSeller = 0x8,\r\n DeclineFeed = 0x10,\r\n Curated = 0x20,\r\n HasSettings = 0x40,\r\n HasSpecialOffers = 0x80,\r\n HasSites = 0x100,\r\n Suspect = 0x200,\r\n}\r\n"],"names":["Selector","BuyerTierGetterState","RegionGetterState","SellerGetterState","StreamGetterState","TimezoneState","filterActorByRegionIdAddTimezone","LobbyState","LobbyGetterState","getLobbySummaries","lobbySummaryState","regions","sellers","buyerTiers","dataAgents","timezoneState","regionIds","map","regionId","curRegion","find","region","id","curRegionSellers","sellerIds","curRegionBuyerTiers","buyerIds","curRegionDataAgents","dataAgentIds","getLobbySummariesInactiveFiltered","summaries","lobbyState","filterOptions","hideInactive","summaryForRegion","curRegionFilterOptions","countryCode","filteredSellers","isHideInactiveSellers","filter","seller","inactive","filteredTiers","isHideInactiveTiers","tier","filteredStreams","isHideInactiveStreams","stream","isTiersInitiallyEmpty","length","isSellersInitiallyEmpty","isStreamsInitiallyEmpty","__decorate","getAllRegions","getAllSellers","getAllBuyerTiers","getAllStreams","actors","ids","actor","isInList","pseudonym","timezone","entities","timezoneId","GetLobbySummary","GetLobbySummaryRequestState","GetLobbySummarySilentRequestState","RequestGetterState","LobbyService","constructor","store","lobbySummaries$","select","getLobbySummaryRequestState$","getState","getLobbySummarySilentRequestState$","getLobbySummary","isSilent","dispatch","i0","ɵɵinject","i1","Store","factory","ɵfac","providedIn","ReactiveFormsModule","MatCheckbox","TranslateModule","HideInactiveCheckboxComponent","control","_control","val","selectors","inputs","decls","vars","consts","template","HideInactiveCheckboxComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ɵɵadvance","ɵɵtextInterpolate","ɵɵpipeBind1","NgControlStatus","FormControlDirective","i2","TranslatePipe","encapsulation","interval","takeWhile","FeeStrategy","IconNames","SharedComponentActorType","NgClass","AsyncPipe","CurrencyPipe","ExtendedModule","TimeComponent","MatTooltip","IconWithTooltipComponent","FlexModule","ɵɵelement","characteristic_r1","ctx_r1","iconsDescriptions","PurchasingChannelsComponent","channelNameColumnTitle","actorType","BuyerTier","timeDurationPipe","maskFlagPipe","translateService","characteristicWithIcons","feeStrategy","icons","ngOnInit","countDown$","pipe","transform","channel","pausedUntil","res","reduce","acc","item","characteristics","icon","instant","join","ɵɵdirectiveInject","TimeDurationPipe","MaskFlagPipe","i3","TranslateService","currency","ngContentSelectors","_c0","PurchasingChannelsComponent_Template","ɵɵrepeaterCreate","PurchasingChannelsComponent_For_15_Template","ɵɵrepeaterTrackByIdentity","ɵɵtemplate","PurchasingChannelsComponent_Conditional_16_Template","ɵɵprojection","PurchasingChannelsComponent_Conditional_58_Template","PurchasingChannelsComponent_Conditional_59_Template","ɵɵpureFunction1","_c1","enabled","acronym","biasMinutes","name","ɵɵrepeater","ɵɵconditional","ɵɵpipeBind2","price","looks","purchases","_c2","provisionalPurchases","_c3","faults","i4","DefaultClassDirective","i5","DefaultLayoutDirective","DefaultLayoutAlignDirective","SellerCharacteristic","RedirectRateComponent","sellerCharacteristicEnum","Suspect","ɵɵtextInterpolate1","conversionRate","submissionRate","SubmissionChannelsComponent","iconNamesEnum","sellerCharacteristic","Object","values","HasSettings","HasSpecialOffers","HasSites","SubmissionChannelsComponent_Template","SubmissionChannelsComponent_For_15_Template","SubmissionChannelsComponent_Conditional_16_Template","SubmissionChannelsComponent_Conditional_39_Template","SubmissionChannelsComponent_Conditional_40_Template","SubmissionChannelsComponent_Conditional_48_Template","SubmissionChannelsComponent_Conditional_53_Template","submissions","commission","epsComparison","eps","redirectRate","styles","moment","startWith","time$","utcOffset","offset","format","TimeComponent_Template","FormControl","FormGroup","take","SetHideInactiveLobbySummaryItemsOptions","REFRESH_DATA_DEFAULT_INTERVAL","BuyerTierCharacteristics","Country","StreamCharacteristic","MatCard","MatCardHeader","MatCardTitle","MatCardContent","RouterLink","seller_r1","item_r2","currencyCode","LobbyComponent_For_3_Conditional_7_Conditional_5_For_1_Template","_forTrack1","LobbyComponent_For_3_Conditional_7_Conditional_5_Template","LobbyComponent_For_3_Conditional_7_Conditional_6_Template","ctx_r2","hideInactiveItemsFormGroup","tmp_12_0","get","ɵɵpureFunction2","buyerTier_r4","buyerPseudonym","buyerTierCharacteristicWithIcons","buyerTierCharacteristics","LobbyComponent_For_3_Conditional_8_Conditional_5_For_1_Template","LobbyComponent_For_3_Conditional_8_Conditional_5_Template","LobbyComponent_For_3_Conditional_8_Conditional_6_Template","dataAgent_r5","streamAgentPseudonym","Stream","streamCharacteristicWithIcons","streamCharacteristics","LobbyComponent_For_3_Conditional_9_Conditional_5_For_1_Template","LobbyComponent_For_3_Conditional_9_Conditional_5_Template","LobbyComponent_For_3_Conditional_9_Conditional_6_Template","LobbyComponent_For_3_Conditional_7_Template","LobbyComponent_For_3_Conditional_8_Template","LobbyComponent_For_3_Conditional_9_Template","countries","LobbyComponent","lobbyService","InternallyOwned","PriceBidding","IntegrationSupportsDynamicPricing","MarketingOptOutRelay","BlindRelay","SellerReturnRelay","AnonymisedRelay","MarketingRelay","lobbySummariesSubscription","subscribe","formGroupsByRegion","summary","hideInactiveItemsFormGroupSubscription","valueChanges","value","lobbySummariesFiltered$","intervalSubscription","ngOnDestroy","unsubscribe","LobbyComponent_Template","LobbyComponent_For_3_Template","_forTrack0","LobbySummaryResolver","LOBBY_ROUTES","path","component","resolve","route","state","loaded"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}