\r\n
{{ banner.message }}
\r\n @if (banner.linkText) {\r\n
\r\n }\r\n
\r\n}\r\n\r\n\r\n","import { Injectable } from '@angular/core';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { Store } from '@ngxs/store';\r\nimport { IRequest } from 'ngxs-requests-plugin';\r\nimport { Observable } from 'rxjs';\r\nimport { map, switchMap, take } from 'rxjs/operators';\r\n\r\nimport { BuyerTierGetterState } from '../../core/ngxs/buyer-tier/buyer-tier-getter.state';\r\nimport { BuyerTierService } from '../../core/services/buyer-tier.service';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class BuyerTierResolverService {\r\n\r\n constructor(\r\n private buyerTierService: BuyerTierService,\r\n private store: Store,\r\n ) {\r\n }\r\n\r\n resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable