207 lines
5.8 KiB
Java
207 lines
5.8 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.data.entity.transfer.SingleDataEntity;
|
||
|
import java.util.Objects;
|
||
|
import org.threeten.bp.OffsetDateTime;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class rCk implements yhL {
|
||
|
private final FWs a;
|
||
|
private final icz c;
|
||
|
private final Ztp d;
|
||
|
private final AXF e;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public rCk(AXF axf, FWs fWs, icz iczVar, Ztp ztp) {
|
||
|
this.e = axf;
|
||
|
this.a = fWs;
|
||
|
this.c = iczVar;
|
||
|
this.d = ztp;
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final fRY a(KZg kZg) {
|
||
|
AbstractC13163fSk map = this.e.b.validateEligibility(kZg).map(new qCJ()).doOnNext(new fSQ(this) { // from class: o.wtI
|
||
|
private rCk a;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
rCk.b(this.a, (lMw) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
}).map(new fSS() { // from class: o.eHD
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return Integer.valueOf(((lMw) obj).c);
|
||
|
}
|
||
|
}).map(new fSS() { // from class: o.stJ
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
Boolean valueOf;
|
||
|
valueOf = Boolean.valueOf(r1.intValue() == 1);
|
||
|
return valueOf;
|
||
|
}
|
||
|
});
|
||
|
final Ztp ztp = this.d;
|
||
|
Objects.requireNonNull(ztp);
|
||
|
return map.doOnNext(new fSQ(ztp) { // from class: o.moz
|
||
|
private Ztp c;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
this.c.e = (Boolean) obj;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = ztp;
|
||
|
}
|
||
|
}).ignoreElements();
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13163fSk<TPf> a(C17403wVH c17403wVH) {
|
||
|
AbstractC13163fSk<R> map = this.e.b.closeAccountVerification(c17403wVH).map(new qCJ());
|
||
|
final icz iczVar = this.c;
|
||
|
Objects.requireNonNull(iczVar);
|
||
|
AbstractC13163fSk map2 = map.map(new fSS(iczVar) { // from class: o.tly
|
||
|
private icz e;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return icz.d((lMw) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = iczVar;
|
||
|
}
|
||
|
});
|
||
|
final Ztp ztp = this.d;
|
||
|
Objects.requireNonNull(ztp);
|
||
|
return map2.doOnNext(new fSQ(ztp) { // from class: o.Fsu
|
||
|
private Ztp a;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
this.a.d = (TPf) obj;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = ztp;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13163fSk<Dhj> e(String str, String str2, pgt pgtVar) {
|
||
|
AbstractC13163fSk<R> map = this.e.b.closeAccount(str, str2, pgtVar).map(new fSS() { // from class: o.RVn
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
return (C9124ddm) ((SingleDataEntity) obj).getData();
|
||
|
}
|
||
|
});
|
||
|
final FWs fWs = this.a;
|
||
|
Objects.requireNonNull(fWs);
|
||
|
AbstractC13163fSk map2 = map.map(new fSS(fWs) { // from class: o.hSr
|
||
|
private FWs b;
|
||
|
|
||
|
@Override // o.fSS
|
||
|
public final Object a(Object obj) {
|
||
|
C9124ddm c9124ddm = (C9124ddm) obj;
|
||
|
C14957gcv.e(c9124ddm, "");
|
||
|
return new Dhj((OffsetDateTime) ZTC.e(new Object[]{c9124ddm.c, null}, 267499366, -267499366, (int) System.currentTimeMillis()), c9124ddm.d);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = fWs;
|
||
|
}
|
||
|
});
|
||
|
final Ztp ztp = this.d;
|
||
|
Objects.requireNonNull(ztp);
|
||
|
return map2.doOnNext(new fSQ(ztp) { // from class: o.Tym
|
||
|
private Ztp a;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
this.a.b = (Dhj) obj;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = ztp;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13175fSw<String> a() {
|
||
|
C5762bzF c5762bzF = this.d.c;
|
||
|
if ((c5762bzF != null ? c5762bzF.d : null) == null) {
|
||
|
return AbstractC13175fSw.e(new Throwable("Data not found"));
|
||
|
}
|
||
|
C5762bzF c5762bzF2 = this.d.c;
|
||
|
return AbstractC13175fSw.d(c5762bzF2 != null ? c5762bzF2.d : null);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final fRY d(final USY usy) {
|
||
|
return fRY.b(new fSP(this, usy) { // from class: o.mez
|
||
|
private rCk a;
|
||
|
private USY d;
|
||
|
|
||
|
@Override // o.fSP
|
||
|
public final void c() {
|
||
|
this.a.d.a = this.d;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
this.d = usy;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(rCk rck, lMw lmw) {
|
||
|
Ztp ztp = rck.d;
|
||
|
icz iczVar = rck.c;
|
||
|
ztp.d = icz.d(lmw);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13175fSw<Dhj> b() {
|
||
|
return AbstractC13175fSw.d(this.d.b);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13175fSw<C5762bzF> d() {
|
||
|
return AbstractC13175fSw.d(this.d.c);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13175fSw<USY> e() {
|
||
|
return AbstractC13175fSw.d(this.d.a);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13163fSk<TPf> c() {
|
||
|
return AbstractC13163fSk.just(this.d.d);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final AbstractC13163fSk<Boolean> g() {
|
||
|
return AbstractC13163fSk.just(this.d.e);
|
||
|
}
|
||
|
|
||
|
@Override // o.yhL
|
||
|
public final fRY e(C5762bzF c5762bzF) {
|
||
|
this.d.c = c5762bzF;
|
||
|
return fRY.e(new InterfaceC13153fSa() { // from class: o.zKp
|
||
|
@Override // o.InterfaceC13153fSa
|
||
|
public final void d(InterfaceC13118fRX interfaceC13118fRX) {
|
||
|
interfaceC13118fRX.a();
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|