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

573 lines
21 KiB
Java

package o;
import java.util.NoSuchElementException;
import o.C0690Mh;
import o.C0907Rf;
import o.C7217ckC;
import o.ZI;
import o.wRi;
/* renamed from: o.ckC, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7217ckC extends ZI<InterfaceC8941daO> {
public final EPT a;
private C1036Ue b;
private final C17727zK c;
private C1045Uk d;
private final C17726zJ e;
private final oMt i;
@InterfaceC13391fZD
public C7217ckC(oMt omt, C17726zJ c17726zJ, C17727zK c17727zK, C16903sI c16903sI, EPT ept) {
super(c16903sI);
this.c = c17727zK;
this.e = c17726zJ;
this.i = omt;
this.a = ept;
}
/* JADX WARN: Multi-variable type inference failed */
private void c(boolean z, ZI.IeS<InterfaceC8941daO> ieS) {
if (z && !this.i.e.V()) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ckB
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).h();
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
}
if (this.f != 0) {
ieS.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ckC$3, reason: invalid class name */
/* loaded from: classes4.dex */
public static /* synthetic */ class AnonymousClass3 {
static final int[] b;
static {
int[] iArr = new int[EnumC15824isw.values().length];
b = iArr;
try {
iArr[EnumC15824isw.BILLERTOPUP.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
b[EnumC15824isw.BILLERPAYMENT.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
b[EnumC15824isw.FAVOURITE.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
b[EnumC15824isw.QUICKBALANCE.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
b[EnumC15824isw.QUICKPROMPTPAY.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
b[EnumC15824isw.BILLERSCAN.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
b[EnumC15824isw.TRANSFER.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
b[EnumC15824isw.DEEPLINK.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ckC$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<HaE> {
private C7217ckC b;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private IeS(C7217ckC c7217ckC) {
this.b = c7217ckC;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7217ckC.i(this.b);
C7217ckC c7217ckC = this.b;
c7217ckC.d = c7217ckC.e.b((HaE) obj, this.b.i.e.T());
C7217ckC c7217ckC2 = this.b;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.ckM
private C7217ckC.IeS c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7217ckC.IeS.d(this.c, (InterfaceC8941daO) obj2);
}
{
this.c = this;
}
};
if (c7217ckC2.f != 0) {
ieS.e(c7217ckC2.f);
}
this.b.d = null;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7217ckC.e(this.b, th, C0690Mh.IeS.NAVIGATE_BACK);
}
public static /* synthetic */ void d(IeS ieS, InterfaceC8941daO interfaceC8941daO) {
if (ieS.b.d.j != Uro.NORMAL) {
if (ieS.b.d.j == Uro.WITHOUT_PRE_REQUISITE) {
interfaceC8941daO.e();
return;
} else {
interfaceC8941daO.c();
return;
}
}
interfaceC8941daO.b(ieS.b.d);
}
/* synthetic */ IeS(C7217ckC c7217ckC, byte b) {
this(c7217ckC);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.ckC$Sts */
/* loaded from: classes4.dex */
public final class Sts extends wRi.LWm<jWV> {
private C7217ckC a;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private Sts(C7217ckC c7217ckC) {
this.a = c7217ckC;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7217ckC.g(this.a);
C7217ckC c7217ckC = this.a;
c7217ckC.b = c7217ckC.c.d((jWV) obj, true);
C7217ckC c7217ckC2 = this.a;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.ckK
private C7217ckC.Sts e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C7217ckC.Sts.e(this.e, (InterfaceC8941daO) obj2);
}
{
this.e = this;
}
};
if (c7217ckC2.f != 0) {
ieS.e(c7217ckC2.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7217ckC.b(this.a, th, C0690Mh.IeS.NAVIGATE_BACK);
}
public static /* synthetic */ void e(Sts sts, InterfaceC8941daO interfaceC8941daO) {
if (sts.a.b.j != Uro.NORMAL) {
if (sts.a.b.j == Uro.WITHOUT_PRE_REQUISITE) {
interfaceC8941daO.a();
return;
} else {
interfaceC8941daO.d();
return;
}
}
interfaceC8941daO.d(sts.a.b);
}
/* synthetic */ Sts(C7217ckC c7217ckC, byte b) {
this(c7217ckC);
}
}
static /* synthetic */ void e(C7217ckC c7217ckC, Throwable th, C0690Mh.IeS ieS) {
if (c7217ckC.b(th)) {
c7217ckC.d(c7217ckC.j.d(th, ieS));
}
}
static /* synthetic */ void i(C7217ckC c7217ckC) {
if (c7217ckC.f != 0) {
c7217ckC.f.ar_();
}
}
static /* synthetic */ void b(C7217ckC c7217ckC, Throwable th, C0690Mh.IeS ieS) {
if (c7217ckC.b(th)) {
c7217ckC.d(c7217ckC.j.d(th, ieS));
}
}
static /* synthetic */ void g(C7217ckC c7217ckC) {
if (c7217ckC.f != 0) {
c7217ckC.f.ar_();
}
}
/* JADX WARN: Multi-variable type inference failed */
public final void d(final C0907Rf.Sts sts) {
double d;
String str;
String str2;
String str3;
String str4;
String str5;
int i;
String str6;
String str7;
String str8;
String str9;
String str10;
String str11;
if (sts.M != null) {
boolean z = false;
z = false;
switch (AnonymousClass3.b[sts.M.ordinal()]) {
case 1:
c(sts.i, new ZI.IeS(sts) { // from class: o.ckD
private C0907Rf.Sts b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).c(r0.Q, this.b.I);
}
{
this.b = sts;
}
});
return;
case 2:
c(sts.i, new ZI.IeS(sts) { // from class: o.ckJ
private C0907Rf.Sts c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).d(r0.j, this.c.I);
}
{
this.c = sts;
}
});
return;
case 3:
oMt omt = this.i;
C1182Xi c1182Xi = sts.q;
C1019Twi c1019Twi = new C1019Twi();
c1019Twi.h = C6583cXR.c(c1182Xi.m).doubleValue();
c1019Twi.t = c1182Xi.r;
c1019Twi.z = c1182Xi.D;
c1019Twi.x = c1182Xi.u;
c1019Twi.b = c1182Xi.g;
c1019Twi.u = c1182Xi.e();
c1019Twi.q = c1182Xi.q;
c1019Twi.w = c1182Xi.c();
c1019Twi.C = c1182Xi.v;
c1019Twi.D = c1182Xi.w;
c1019Twi.B = c1182Xi.y;
c1019Twi.a = c1182Xi.h;
c1019Twi.d = c1182Xi.i;
c1019Twi.f8382o = c1182Xi.p;
c1019Twi.s = c1182Xi.t;
c1019Twi.k = c1182Xi.l;
c1019Twi.g = c1182Xi.n;
c1019Twi.j = c1182Xi.f;
c1019Twi.n = c1182Xi.k;
C1111Vw c1111Vw = c1182Xi.j;
c1019Twi.c = c1111Vw == null ? null : new KnO(c1111Vw.s, c1111Vw.c, c1111Vw.b, c1111Vw.a, c1111Vw.v, c1111Vw.w, c1111Vw.h, c1111Vw.k, c1111Vw.f8425o, c1111Vw.l, c1111Vw.m, c1111Vw.e, c1111Vw.g, c1111Vw.t, c1111Vw.p, c1111Vw.j, c1111Vw.q, c1111Vw.i, c1111Vw.r, c1111Vw.f, c1111Vw.n, c1111Vw.d);
omt.e.d(c1019Twi);
if ("REMITTANCE".equals(sts.q.r)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.ckF
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).j();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ckE
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).b();
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
case 4:
if (this.f != 0) {
this.f.y();
}
this.i.e();
oMt omt2 = this.i;
omt2.d(omt2.i, new Sts(this, z ? (byte) 1 : (byte) 0));
return;
case 5:
if (this.f != 0) {
this.f.y();
}
this.i.b();
oMt omt3 = this.i;
omt3.d(omt3.i, new IeS(this, z ? (byte) 1 : (byte) 0));
return;
case 6:
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.ckH
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).i();
}
};
if (this.f != 0) {
ieS3.e(this.f);
return;
}
return;
case 7:
if (sts.O != null && sts.I != null) {
oMt omt4 = this.i;
zEQ b = zEQ.b(sts.O);
zEQ b2 = zEQ.b(sts.I);
C1019Twi c1019Twi2 = new C1019Twi();
if (b2.d != 0) {
T t = b2.d;
if (t != 0) {
d = C6583cXR.c(((C0910Ri) t).b).doubleValue();
} else {
throw new NoSuchElementException("No value present");
}
} else {
d = 0.0d;
}
c1019Twi2.h = d;
String str12 = "";
if ((b.d != 0) == false) {
str = "";
} else {
T t2 = b.d;
if (t2 == 0) {
throw new NoSuchElementException("No value present");
}
str = ((C1182Xi) t2).r;
}
c1019Twi2.t = str;
if (b.d == 0) {
str2 = "";
} else {
T t3 = b.d;
if (t3 == 0) {
throw new NoSuchElementException("No value present");
}
str2 = ((C1182Xi) t3).D;
}
c1019Twi2.z = str2;
if (b.d == 0) {
str3 = "";
} else {
T t4 = b.d;
if (t4 == 0) {
throw new NoSuchElementException("No value present");
}
str3 = ((C1182Xi) t4).u;
}
c1019Twi2.x = str3;
if (b2.d == 0) {
str4 = "";
} else {
T t5 = b2.d;
if (t5 == 0) {
throw new NoSuchElementException("No value present");
}
str4 = ((C0910Ri) t5).a;
}
c1019Twi2.b = str4;
if (b.d == 0) {
str5 = "";
} else {
T t6 = b.d;
if (t6 != 0) {
str5 = ((C1182Xi) t6).e();
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.u = str5;
if (b.d != 0) {
T t7 = b.d;
if (t7 != 0) {
i = ((C1182Xi) t7).q.intValue();
} else {
throw new NoSuchElementException("No value present");
}
} else {
i = 0;
}
c1019Twi2.q = Integer.valueOf(i);
if (b.d == 0) {
str6 = "";
} else {
T t8 = b.d;
if (t8 != 0) {
str6 = ((C1182Xi) t8).c();
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.w = str6;
if (b.d == 0) {
str7 = "";
} else {
T t9 = b.d;
if (t9 != 0) {
str7 = ((C1182Xi) t9).v;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.C = str7;
if (b.d == 0) {
str8 = "";
} else {
T t10 = b.d;
if (t10 != 0) {
str8 = ((C1182Xi) t10).w;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.D = str8;
if (b.d == 0) {
str9 = "";
} else {
T t11 = b.d;
if (t11 != 0) {
str9 = ((C1182Xi) t11).y;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.B = str9;
if (b2.d == 0) {
str10 = "";
} else {
T t12 = b2.d;
if (t12 != 0) {
str10 = ((C0910Ri) t12).d;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.a = str10;
if (b.d == 0) {
str11 = "";
} else {
T t13 = b.d;
if (t13 != 0) {
str11 = ((C1182Xi) t13).i;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.d = str11;
if (b.d != 0) {
T t14 = b.d;
if (t14 != 0) {
if (((C1182Xi) t14).p) {
z = true;
}
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.f8382o = z;
if (b.d != 0) {
T t15 = b.d;
if (t15 != 0) {
str12 = ((C1182Xi) t15).t;
} else {
throw new NoSuchElementException("No value present");
}
}
c1019Twi2.s = str12;
omt4.e.d(c1019Twi2);
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.ckE
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).b();
}
};
if (this.f != 0) {
ieS4.e(this.f);
return;
}
return;
}
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.ckI
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).f();
}
};
if (this.f != 0) {
ieS5.e(this.f);
return;
}
return;
case 8:
c(sts.i, new ZI.IeS(sts) { // from class: o.ckG
private C0907Rf.Sts a;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8941daO) obj).e(this.a.m);
}
{
this.a = sts;
}
});
return;
default:
return;
}
}
}
}