import { Observable } from 'rxjs'; import { switchMap } from 'rxjs/operators';