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

461 lines
14 KiB
Java

package o;
import java.util.List;
import o.C1168Xb;
import o.C15715hv;
import o.ZI;
import o.wRi;
/* renamed from: o.coo, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7465coo extends ZI<InterfaceC8968dap> {
public final HfG a;
public int b;
private boolean c;
private final C17727zK d;
private C1036Ue e;
private C1039Ug g;
private C1045Uk h;
private final C17726zJ i;
private Throwable l;
private final C0290Di m;
private final C17737zO n;
/* renamed from: o, reason: collision with root package name */
private final C16121lS f8658o;
@InterfaceC13391fZD
public C7465coo(HfG hfG, C16903sI c16903sI, C17727zK c17727zK, C17726zJ c17726zJ, C17737zO c17737zO, C0290Di c0290Di, C16121lS c16121lS) {
super(c16903sI);
this.c = false;
this.b = -1;
this.a = hfG;
this.d = c17727zK;
this.i = c17726zJ;
this.n = c17737zO;
this.m = c0290Di;
this.f8658o = c16121lS;
}
@Override // o.ZI
public final void w_() {
super.w_();
HfG hfG = this.a;
if (hfG.h.isDisposed()) {
return;
}
hfG.h.dispose();
}
/* renamed from: o.coo$RVV */
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<vSx> {
private C7465coo c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private RVV(C7465coo c7465coo) {
this.c = c7465coo;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7465coo c7465coo = this.c;
C17737zO unused = c7465coo.n;
c7465coo.g = C17737zO.a((vSx) obj);
if (this.c.c) {
C7465coo.f(this.c);
} else {
C7465coo.i(this.c);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.c.c) {
C7465coo c7465coo = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cov
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).g();
}
};
if (c7465coo.f != 0) {
ieS.e(c7465coo.f);
return;
}
return;
}
this.c.l = th;
this.c.g = new C1039Ug();
this.c.g.t = Uro.ERROR;
C7465coo.i(this.c);
}
public /* synthetic */ RVV(C7465coo c7465coo, byte b) {
this(c7465coo);
}
}
/* renamed from: o.coo$Sts */
/* loaded from: classes4.dex */
public final class Sts extends wRi.LWm<jWV> {
private C7465coo a;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private Sts(C7465coo c7465coo) {
this.a = c7465coo;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7465coo c7465coo = this.a;
c7465coo.e = c7465coo.d.d((jWV) obj, true);
if (this.a.c) {
C7465coo.f(this.a);
} else {
C7465coo.i(this.a);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7465coo.b(this.a, th);
}
public /* synthetic */ Sts(C7465coo c7465coo, byte b) {
this(c7465coo);
}
}
/* renamed from: o.coo$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<HaE> {
private C7465coo a;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private LWm(C7465coo c7465coo) {
this.a = c7465coo;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7465coo c7465coo = this.a;
c7465coo.h = c7465coo.i.b((HaE) obj, this.a.a.e.T());
if (this.a.c) {
C7465coo.f(this.a);
} else {
C7465coo.i(this.a);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7465coo.e(this.a, th);
}
public /* synthetic */ LWm(C7465coo c7465coo, byte b) {
this(c7465coo);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.coo$HBt */
/* loaded from: classes4.dex */
public class HBt extends wRi.LWm<List<AbstractC17763zaS>> {
private C7465coo c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private HBt(C7465coo c7465coo) {
this.c = c7465coo;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
this.c.c = true;
C7465coo.f(this.c);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7465coo.c(this.c, th);
}
/* synthetic */ HBt(C7465coo c7465coo, byte b) {
this(c7465coo);
}
}
public static /* synthetic */ void a(C7465coo c7465coo) {
if (c7465coo.f != 0) {
C7470cot c7470cot = new C7470cot();
if (c7465coo.f != 0) {
c7470cot.e(c7465coo.f);
}
c7465coo.l = null;
}
}
public static /* synthetic */ void d(C7465coo c7465coo, InterfaceC8968dap interfaceC8968dap) {
String str;
String str2;
String str3;
String str4;
C0290Di c0290Di = c7465coo.m;
C1039Ug c1039Ug = c7465coo.g;
boolean T = c7465coo.a.e.T();
EKc L = c7465coo.a.e.L();
C1189Xo c1189Xo = new C1189Xo();
c1189Xo.K = true;
C1189Xo b = c1189Xo.b(C0290Di.b(L));
b.S = c1039Ug.e;
C1189Xo a = b.a((String) C16157lj.c(new Object[]{c1039Ug.e, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis()));
a.X = c1039Ug.e;
a.y = c1039Ug.j;
a.x = c0290Di.b_(c1039Ug.h);
a.t = c1039Ug.l;
a.v = c1039Ug.l;
String str5 = "";
if (c1039Ug.f == null) {
str = "";
} else {
str = c1039Ug.f;
}
a.aj = str;
if (c1039Ug.i == null) {
str2 = "";
} else {
str2 = c1039Ug.i;
}
a.ai = str2;
if (c1039Ug.f8395o == null) {
str3 = "";
} else {
str3 = c1039Ug.f8395o;
}
a.am = str3;
if (c1039Ug.n == null) {
str4 = "";
} else {
str4 = c1039Ug.n;
}
a.aq = str4;
if (c1039Ug.m != null) {
str5 = c1039Ug.m;
}
a.ar = str5;
a.O = c1039Ug.c;
a.an = c1039Ug.a;
a.k = c1039Ug.d;
C1168Xb.LWm lWm = new C1168Xb.LWm();
lWm.b = c1039Ug.r;
a.j = new C1168Xb(lWm, (byte) 0);
C1189Xo h = a.h(c1039Ug.p);
h.z = c1039Ug.k;
h.V = String.valueOf(c1039Ug.g);
interfaceC8968dap.b(h.e("QTOPUP"));
}
static /* synthetic */ void f(final C7465coo c7465coo) {
if (c7465coo.f != 0) {
c7465coo.f.ar_();
}
int i = c7465coo.b;
if (i == 0) {
if (c7465coo.f != 0) {
if (c7465coo.e.j == Uro.NORMAL) {
ZI.IeS ieS = new ZI.IeS(c7465coo) { // from class: o.cop
private C7465coo c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).e(this.c.e);
}
{
this.c = c7465coo;
}
};
if (c7465coo.f != 0) {
ieS.e(c7465coo.f);
}
} else if (c7465coo.e.j == Uro.WITHOUT_PRE_REQUISITE) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cos
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).c();
}
};
if (c7465coo.f != 0) {
ieS2.e(c7465coo.f);
}
} else {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.coq
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).d();
}
};
if (c7465coo.f != 0) {
ieS3.e(c7465coo.f);
}
}
}
c7465coo.e = null;
return;
}
if (i == 1) {
if (c7465coo.f != 0) {
if (c7465coo.h.j == Uro.NORMAL) {
ZI.IeS ieS4 = new ZI.IeS(c7465coo) { // from class: o.cow
private C7465coo d;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).b(this.d.h);
}
{
this.d = c7465coo;
}
};
if (c7465coo.f != 0) {
ieS4.e(c7465coo.f);
}
} else if (c7465coo.h.j == Uro.WITHOUT_PRE_REQUISITE) {
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.coA
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).a();
}
};
if (c7465coo.f != 0) {
ieS5.e(c7465coo.f);
}
} else {
ZI.IeS ieS6 = new ZI.IeS() { // from class: o.coi
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).b();
}
};
if (c7465coo.f != 0) {
ieS6.e(c7465coo.f);
}
}
}
c7465coo.h = null;
return;
}
if (i != 2) {
if (i == 3) {
ZI.IeS ieS7 = new ZI.IeS() { // from class: o.coy
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).e();
}
};
if (c7465coo.f != 0) {
ieS7.e(c7465coo.f);
return;
}
return;
}
return;
}
if (c7465coo.f != 0) {
if (c7465coo.g.t == Uro.NORMAL) {
ZI.IeS ieS8 = new ZI.IeS(c7465coo) { // from class: o.cou
private C7465coo c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7465coo.d(this.c, (InterfaceC8968dap) obj);
}
{
this.c = c7465coo;
}
};
if (c7465coo.f != 0) {
ieS8.e(c7465coo.f);
}
} else if (c7465coo.g.t == Uro.WITHOUT_PRE_REQUISITE) {
ZI.IeS ieS9 = new ZI.IeS() { // from class: o.coj
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8968dap) obj).f();
}
};
if (c7465coo.f != 0) {
ieS9.e(c7465coo.f);
}
} else if (c7465coo.g.t == Uro.ERROR) {
c7465coo.d(c7465coo.l, C15715hv.tOB.setup_quick_top_up, new Runnable(c7465coo) { // from class: o.cor
private C7465coo d;
@Override // java.lang.Runnable
public final void run() {
C7465coo.a(this.d);
}
{
this.d = c7465coo;
}
});
} else {
C7470cot c7470cot = new C7470cot();
if (c7465coo.f != 0) {
c7470cot.e(c7465coo.f);
}
}
}
c7465coo.g = null;
}
public final void d() {
this.b = 3;
if (this.f != 0) {
this.f.y();
}
this.a.e();
HfG hfG = this.a;
hfG.d(hfG.i, new HBt(this, (byte) 0));
}
static /* synthetic */ void i(C7465coo c7465coo) {
c7465coo.a.e();
HfG hfG = c7465coo.a;
hfG.d(hfG.i, new HBt(c7465coo, (byte) 0));
}
static /* synthetic */ void b(C7465coo c7465coo, Throwable th) {
if (c7465coo.b(th)) {
c7465coo.d(c7465coo.j.e(th));
}
}
static /* synthetic */ void e(C7465coo c7465coo, Throwable th) {
if (c7465coo.b(th)) {
c7465coo.d(c7465coo.j.e(th));
}
}
static /* synthetic */ void c(C7465coo c7465coo, Throwable th) {
if (c7465coo.b(th)) {
c7465coo.d(c7465coo.j.e(th));
}
}
}