what-the-bank/sources/o/C7519cpp.java

195 lines
5.9 KiB
Java

package o;
import o.AbstractC1278Zm;
import o.C8745dUk;
import o.InterfaceC9549dlo;
import o.ZI;
/* renamed from: o.cpp, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7519cpp extends AbstractC1278Zm<InterfaceC9549dlo.HBt> {
private final C8745dUk a;
private String c;
private boolean d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7519cpp(olI oli, C16903sI c16903sI, C17767zc c17767zc, C8745dUk c8745dUk) {
super(oli, c16903sI, c17767zc);
C14957gcv.e(oli, "");
C14957gcv.e(c16903sI, "");
C14957gcv.e(c17767zc, "");
C14957gcv.e(c8745dUk, "");
this.a = c8745dUk;
}
public final void e(String str, boolean z) {
C14957gcv.e(str, "");
this.d = z;
this.c = str;
super.e();
}
@Override // o.AbstractC1278Zm
public final void c() {
if (this.e == AbstractC1278Zm.IeS.CONFIRM) {
d();
return;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.cpt
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9549dlo.HBt) obj).c();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public static /* synthetic */ void a(C7519cpp c7519cpp, Throwable th) {
C14957gcv.e(c7519cpp, "");
c7519cpp.d();
if (c7519cpp.b(th)) {
c7519cpp.d(c7519cpp.j.e(th));
}
}
public static /* synthetic */ void b(C7519cpp c7519cpp, final C9085dd c9085dd) {
C14957gcv.e(c7519cpp, "");
if (c7519cpp.f != 0) {
c7519cpp.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c9085dd) { // from class: o.cpw
private C9085dd e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9549dlo.HBt) obj).e(this.e);
}
{
this.e = c9085dd;
}
};
if (c7519cpp.f != 0) {
ieS.e(c7519cpp.f);
}
}
@Override // o.AbstractC1278Zm
public final void c(String str) {
AbstractC13163fSk<xWw> c;
InterfaceC13169fSq flatMap;
C14957gcv.e(str, "");
if (this.f != 0) {
this.f.y();
}
C8745dUk c8745dUk = this.a;
String str2 = this.c;
if (str2 == null) {
C14957gcv.a("");
str2 = null;
}
boolean z = this.d;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
c8745dUk.b = str2;
c8745dUk.d = z;
if (z) {
AbstractC13163fSk<xWw> n = ((Tve) c8745dUk).a.n();
final C8745dUk.HBt hBt = new C8745dUk.HBt(c8745dUk, str2);
AbstractC13163fSk<R> map = n.map(new fSS(hBt) { // from class: o.sdD
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C14866gag) interfaceC14894gbR.invoke(obj);
}
{
this.b = hBt;
}
});
final C8745dUk.RVV rvv = new C8745dUk.RVV(c8745dUk);
AbstractC13163fSk flatMap2 = map.flatMap(new fSS(rvv) { // from class: o.jQO
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.b = rvv;
}
});
final C8745dUk.IeS ieS = new C8745dUk.IeS(c8745dUk, str);
flatMap = flatMap2.flatMap(new fSS(ieS) { // from class: o.srw
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.a = ieS;
}
});
C14957gcv.c(flatMap, "");
} else {
if (((Tve) c8745dUk).a.g()) {
c = ((Tve) c8745dUk).a.d(new C3412ax(EnumC1253Yzm.PS10K_RN.a()));
} else {
c = ((Tve) c8745dUk).a.c(new C3412ax());
}
final C8745dUk.LWm lWm = new C8745dUk.LWm(c8745dUk, str2, str);
flatMap = c.flatMap(new fSS(lWm) { // from class: o.dtf
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.a;
C14957gcv.e(interfaceC14894gbR, "");
return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj);
}
{
this.a = lWm;
}
});
C14957gcv.c(flatMap, "");
}
c8745dUk.d(flatMap, new fSQ(this) { // from class: o.cpx
private C7519cpp b;
@Override // o.fSQ
public final void c(Object obj) {
C7519cpp.b(this.b, (C9085dd) obj);
}
{
this.b = this;
}
}, new fSQ(this) { // from class: o.cpy
private C7519cpp e;
@Override // o.fSQ
public final void c(Object obj) {
C7519cpp.a(this.e, (Throwable) obj);
}
{
this.e = this;
}
});
}
}