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

402 lines
13 KiB
Java

package o;
import java.util.ArrayList;
import o.C0907Rf;
import o.C3967bMF;
import o.InterfaceC6633cYk;
import o.ZI;
import o.wRi;
/* renamed from: o.bMF, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C3967bMF<V extends InterfaceC6633cYk> extends ZI<V> {
public C0907Rf k;
/* renamed from: o, reason: collision with root package name */
public final C12374ewx f8546o;
public C3967bMF(C16903sI c16903sI, C12374ewx c12374ewx) {
super(c16903sI);
this.f8546o = c12374ewx;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bMF$1, reason: invalid class name */
/* loaded from: classes4.dex */
public static /* synthetic */ class AnonymousClass1 {
static final int[] d;
static {
int[] iArr = new int[EnumC15824isw.values().length];
d = iArr;
try {
iArr[EnumC15824isw.CONTACTUS.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
d[EnumC15824isw.DONATION.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
d[EnumC15824isw.MANAGE_SCB_PROMPTPAY.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
d[EnumC15824isw.ACCOUNT_SUMMARY.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
d[EnumC15824isw.CARDLESS_ATM.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
d[EnumC15824isw.CHANGE_TRANSFER_LIMIT.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
d[EnumC15824isw.TOP_UP.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
d[EnumC15824isw.TRANSFER.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
try {
d[EnumC15824isw.REQUEST_MONEY.ordinal()] = 9;
} catch (NoSuchFieldError unused9) {
}
try {
d[EnumC15824isw.FIND_US.ordinal()] = 10;
} catch (NoSuchFieldError unused10) {
}
try {
d[EnumC15824isw.BILL_PAYMENT.ordinal()] = 11;
} catch (NoSuchFieldError unused11) {
}
try {
d[EnumC15824isw.BILLERSCAN.ordinal()] = 12;
} catch (NoSuchFieldError unused12) {
}
}
}
/* JADX INFO: Access modifiers changed from: protected */
/* renamed from: o.bMF$HBt */
/* loaded from: classes4.dex */
public class HBt extends wRi.LWm<Boolean> {
private long b;
private C3967bMF d;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C3967bMF c3967bMF = this.d;
bMU bmu = new bMU();
if (c3967bMF.f != 0) {
bmu.e(c3967bMF.f);
}
C3967bMF c3967bMF2 = this.d;
if (c3967bMF2.f != 0) {
c3967bMF2.f.ar_();
}
C3967bMF c3967bMF3 = this.d;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bMX
private C3967bMF.HBt c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6633cYk) obj2).c(this.c.b);
}
{
this.c = this;
}
};
if (c3967bMF3.f != 0) {
ieS.e(c3967bMF3.f);
}
}
HBt(C3967bMF c3967bMF, long j) {
this.d = c3967bMF;
this.b = j;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C3967bMF c3967bMF = this.d;
if (c3967bMF.b(th)) {
c3967bMF.d(c3967bMF.j.e(th));
}
}
}
/* renamed from: o.bMF$Sts */
/* loaded from: classes4.dex */
protected class Sts extends wRi.LWm<Boolean> {
private C3967bMF b;
protected Sts(C3967bMF c3967bMF) {
this.b = c3967bMF;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C3967bMF c3967bMF = this.b;
bMU bmu = new bMU();
if (c3967bMF.f != 0) {
bmu.e(c3967bMF.f);
}
C3967bMF c3967bMF2 = this.b;
if (c3967bMF2.f != 0) {
c3967bMF2.f.ar_();
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C3967bMF c3967bMF = this.b;
if (c3967bMF.b(th)) {
c3967bMF.d(c3967bMF.j.e(th));
}
C3967bMF c3967bMF2 = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bMV
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).n();
}
};
if (c3967bMF2.f != 0) {
ieS.e(c3967bMF2.f);
}
}
}
public final void b(long j) {
if (this.f != 0) {
this.f.y();
}
C12374ewx c12374ewx = this.f8546o;
C1574aI b = C1574aI.b();
b.d = j;
c12374ewx.c(b);
C12374ewx c12374ewx2 = this.f8546o;
c12374ewx2.d(c12374ewx2.i, new HBt(this, j));
}
public final void d(long j) {
if (this.f != 0) {
final C0907Rf.Sts a = this.k.a(j);
if (a.r == null) {
ZI.IeS ieS = new ZI.IeS(a) { // from class: o.bME
private C0907Rf.Sts c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).b(this.c);
}
{
this.c = a;
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
final EnumC15824isw enumC15824isw = a.r;
switch (AnonymousClass1.d[enumC15824isw.ordinal()]) {
case 1:
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bMR
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).b();
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
case 2:
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bMT
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).e();
}
};
if (this.f != 0) {
ieS3.e(this.f);
return;
}
return;
case 3:
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bMW
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).g();
}
};
if (this.f != 0) {
ieS4.e(this.f);
return;
}
return;
case 4:
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.bMY
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).c();
}
};
if (this.f != 0) {
ieS5.e(this.f);
return;
}
return;
case 5:
ZI.IeS ieS6 = new ZI.IeS() { // from class: o.bMI
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).d();
}
};
if (this.f != 0) {
ieS6.e(this.f);
return;
}
return;
case 6:
ZI.IeS ieS7 = new ZI.IeS() { // from class: o.bMJ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).m();
}
};
if (this.f != 0) {
ieS7.e(this.f);
return;
}
return;
case 7:
ZI.IeS ieS8 = new ZI.IeS(enumC15824isw) { // from class: o.bMK
private EnumC15824isw d;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).a(this.d);
}
{
this.d = enumC15824isw;
}
};
if (this.f != 0) {
ieS8.e(this.f);
return;
}
return;
case 8:
ZI.IeS ieS9 = new ZI.IeS(enumC15824isw) { // from class: o.bMO
private EnumC15824isw b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).b(this.b);
}
{
this.b = enumC15824isw;
}
};
if (this.f != 0) {
ieS9.e(this.f);
return;
}
return;
case 9:
ZI.IeS ieS10 = new ZI.IeS() { // from class: o.bMM
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).h();
}
};
if (this.f != 0) {
ieS10.e(this.f);
return;
}
return;
case 10:
ZI.IeS ieS11 = new ZI.IeS() { // from class: o.bMP
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).a();
}
};
if (this.f != 0) {
ieS11.e(this.f);
return;
}
return;
case 11:
ZI.IeS ieS12 = new ZI.IeS(enumC15824isw) { // from class: o.bMQ
private EnumC15824isw d;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).e(this.d);
}
{
this.d = enumC15824isw;
}
};
if (this.f != 0) {
ieS12.e(this.f);
return;
}
return;
case 12:
ZI.IeS ieS13 = new ZI.IeS() { // from class: o.bMS
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6633cYk) obj).k();
}
};
if (this.f != 0) {
ieS13.e(this.f);
return;
}
return;
default:
return;
}
}
}
public final void c(long j, long j2) {
if (this.f != 0) {
this.f.y();
}
C0907Rf.Sts a = this.k.a(j);
C0907Rf.Sts a2 = this.k.a(j2);
ArrayList arrayList = new ArrayList();
C1775aO d = C1775aO.d();
d.a = a.x;
d.e = a2.F;
arrayList.add(d);
C1775aO d2 = C1775aO.d();
d2.a = a2.x;
d2.e = a.F;
arrayList.add(d2);
C12374ewx c12374ewx = this.f8546o;
Cnh e = Cnh.e();
e.e = a.z;
e.b = arrayList;
c12374ewx.c(e);
C12374ewx c12374ewx2 = this.f8546o;
c12374ewx2.d(c12374ewx2.i, new Sts(this));
}
}