package o; import com.scb.phone.data.entity.transfer.SingleDataEntity; /* loaded from: classes3.dex */ public final class XVm implements uDZ { final C3657bCq a; private final C8852dXw b; final sLi e; @InterfaceC13391fZD public XVm(C8852dXw c8852dXw, sLi sli, C3657bCq c3657bCq) { this.b = c8852dXw; this.e = sli; this.a = c3657bCq; } @Override // o.uDZ public final void b() { this.e.a = null; } @Override // o.uDZ public final AbstractC13163fSk e() { if (this.e.a != null) { return AbstractC13163fSk.just(C3657bCq.a(this.e.a)); } return this.b.b.getPromptPayQR().doOnNext(new fSQ(this) { // from class: o.wwO private XVm d; @Override // o.fSQ public final void c(Object obj) { this.d.e.a = (xTg) ((SingleDataEntity) obj).getData(); } { this.d = this; } }).map(new fSS(this) { // from class: o.DzO private XVm e; @Override // o.fSS public final Object a(Object obj) { C3657bCq c3657bCq = this.e.a; return C3657bCq.a((xTg) ((SingleDataEntity) obj).getData()); } { this.e = this; } }); } @Override // o.uDZ public final AbstractC13163fSk c(C11476eg c11476eg) { if (this.e.a == null) { return this.b.b.getQRCode(c11476eg).doOnNext(new fSQ(this) { // from class: o.wEH private XVm e; @Override // o.fSQ public final void c(Object obj) { this.e.e.a = (xTg) ((SingleDataEntity) obj).getData(); } { this.e = this; } }).map(new fSS(this) { // from class: o.fBE private XVm a; @Override // o.fSS public final Object a(Object obj) { C3657bCq c3657bCq = this.a.a; return C3657bCq.a((xTg) ((SingleDataEntity) obj).getData()); } { this.a = this; } }); } this.e.a = null; return this.b.b.getQRCode(c11476eg).doOnNext(new fSQ(this) { // from class: o.ALx private XVm c; @Override // o.fSQ public final void c(Object obj) { this.c.e.a = (xTg) ((SingleDataEntity) obj).getData(); } { this.c = this; } }).map(new fSS(this) { // from class: o.rKU private XVm a; @Override // o.fSS public final Object a(Object obj) { C3657bCq c3657bCq = this.a.a; return C3657bCq.a((xTg) ((SingleDataEntity) obj).getData()); } { this.a = this; } }); } }