import { Component, OnDestroy, OnInit } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
import { Component, OnDestroy, OnInit } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
import { immutableAssign } from '@app/shared/misc/utils'
import { AuthService } from '../../core/auth'
import { AbstractVideoList } from '../../shared/video/abstract-video-list'
import { immutableAssign } from '@app/shared/misc/utils'
import { AuthService } from '../../core/auth'
import { AbstractVideoList } from '../../shared/video/abstract-video-list'
protected route: ActivatedRoute,
protected notifier: Notifier,
protected authService: AuthService,
protected route: ActivatedRoute,
protected notifier: Notifier,
protected authService: AuthService,
} else {
this.titlePage = this.i18n('Trending for the last {{days}} days', { days: trendingDays })
this.titleTooltip = this.i18n(
} else {
this.titlePage = this.i18n('Trending for the last {{days}} days', { days: trendingDays })
this.titleTooltip = this.i18n(