import { Component , OnInit , Input , Output , EventEmitter } from '@angular/core' ; import { SiteService } from '../../../../common/services/site.service' ; import { SignupModalService } from '../../../modals/signup/service' ; import { ProChannelService } from '../channel.service' ; import { Session } from '../../../../services/session' ; import { SupportTier , SupportTiersService , } from '../../../wire/v2/support-tiers.service' ; import { AuthModalService } from '../../../auth/modal/auth-modal.service' ; @ Component ( { selector : 'm-proChannel__splash' , templateUrl : './splash.component.html' , styleUrls : [ './splash.component.ng.scss' ] , providers : [ SupportTiersService ] , } ) export class ProChannelSplashComponent implements OnInit { channel : any ; settings : any ; constructor ( public service , protected modal , protected site , private authModal , public session ) { } ngOnInit ( ) { this . channel = this . service . currentChannel ; this . settings = this . channel . pro_settings ; } async showLoginModal ( ) { await this . authModal . open ( { formDisplay : 'login' } ) ; } }