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

832 lines
28 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import java.util.List;
import o.C0690Mh;
import o.C0738Nl;
import o.C5204bod;
import o.PRA;
import o.ZI;
import o.wRi;
/* renamed from: o.bod, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C5204bod extends ZI<InterfaceC9260dgQ> {
public boolean a;
public C0738Nl b;
public ToF c;
public EBZ d;
public String e;
public NA g;
public double h;
public double i;
public NA k;
public DRg l;
public EVU m;
public SharedPreferences n;
/* renamed from: o, reason: collision with root package name */
public C0738Nl.IeS f8580o;
private zWC p;
private C17108tx q;
private C13182fTF r;
private jYP s;
private fSC t;
private C17115tz u;
/* renamed from: o.bod$HBt */
/* loaded from: classes4.dex */
protected enum HBt {
APPROVE("APPROVE"),
REJECT("REJECT"),
ACCEPT("ACCEPT"),
PENDING("PENDING"),
SUCCESS("SUCCESS"),
PROGRESS("PROGRESS"),
VERIFY_KYC("VERIFY_KYC"),
PENDING_OCR_RESUBMIT("PENDING_OCR_RESUBMIT"),
PENDING_LEADS_RESUBMIT("PENDING_LEADS_RESUBMIT"),
PROGRESS_BUSINESS_HOUR("PROGRESS_BUSINESS_HOUR"),
PROGRESS_OFF_HOUR("PROGRESS_OFF_HOUR"),
PENDING_PERSONAL_INFO("PENDING_PERSONAL_INFO"),
PENDING_BUSINESS_INFO("PENDING_BUSINESS_INFO"),
PENDING_DOC_UPLOAD("PENDING_DOC_UPLOAD"),
PENDING_NCB_CONSENT("PENDING_NCB_CONSENT"),
PENDING_SUBMISSION("PENDING_SUBMISSION"),
PENDING_WITH_AIP("PENDING_WITH_AIP");
public final String type;
HBt(String str) {
this.type = str;
}
}
@InterfaceC13391fZD
public C5204bod(EBZ ebz, jYP jyp, zWC zwc, C17115tz c17115tz, C17108tx c17108tx, C16903sI c16903sI, SharedPreferences sharedPreferences, DRg dRg, C13182fTF c13182fTF) {
super(c16903sI);
this.f8580o = null;
this.m = null;
this.i = 0.0d;
this.h = 0.0d;
this.c = null;
this.a = true;
this.e = "";
this.t = new fSC();
this.d = ebz;
this.s = jyp;
this.p = zwc;
this.u = c17115tz;
this.q = c17108tx;
this.n = sharedPreferences;
this.l = dRg;
this.r = c13182fTF;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.z();
interfaceC9260dgQ.d(false);
interfaceC9260dgQ.a();
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(String str, InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.e(str);
interfaceC9260dgQ.a();
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(String str, InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.d(str);
interfaceC9260dgQ.a();
}
public final void a(Sts sts) {
if (this.i != 0.0d) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boS
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).y();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
double d = this.h;
String valueOf = d == 0.0d ? null : String.valueOf(C15602gz.e(d));
jYP jyp = this.s;
String obj = this.m.toString();
String valueOf2 = String.valueOf(C15602gz.e(this.i));
C16658q c16658q = new C16658q(valueOf, this.f8580o.b);
String str = this.g.e;
NA na = this.k;
jyp.d(jyp.a(new C16086l(obj, valueOf2, c16658q, str, na != null ? na.e : null, this.r.d.H())), sts);
}
}
/* renamed from: o.bod$2, reason: invalid class name */
/* loaded from: classes4.dex */
static /* synthetic */ class AnonymousClass2 {
static final int[] e;
static {
int[] iArr = new int[HBt.values().length];
e = iArr;
try {
iArr[HBt.APPROVE.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
e[HBt.PENDING.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
e[HBt.REJECT.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
e[HBt.ACCEPT.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
e[HBt.PROGRESS.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
e[HBt.PROGRESS_BUSINESS_HOUR.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
e[HBt.SUCCESS.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
e[HBt.VERIFY_KYC.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
try {
e[HBt.PENDING_LEADS_RESUBMIT.ordinal()] = 9;
} catch (NoSuchFieldError unused9) {
}
try {
e[HBt.PENDING_OCR_RESUBMIT.ordinal()] = 10;
} catch (NoSuchFieldError unused10) {
}
try {
e[HBt.PROGRESS_OFF_HOUR.ordinal()] = 11;
} catch (NoSuchFieldError unused11) {
}
try {
e[HBt.PENDING_PERSONAL_INFO.ordinal()] = 12;
} catch (NoSuchFieldError unused12) {
}
try {
e[HBt.PENDING_BUSINESS_INFO.ordinal()] = 13;
} catch (NoSuchFieldError unused13) {
}
try {
e[HBt.PENDING_DOC_UPLOAD.ordinal()] = 14;
} catch (NoSuchFieldError unused14) {
}
try {
e[HBt.PENDING_NCB_CONSENT.ordinal()] = 15;
} catch (NoSuchFieldError unused15) {
}
try {
e[HBt.PENDING_SUBMISSION.ordinal()] = 16;
} catch (NoSuchFieldError unused16) {
}
try {
e[HBt.PENDING_WITH_AIP.ordinal()] = 17;
} catch (NoSuchFieldError unused17) {
}
}
}
public void j() {
C5189boO c5189boO = new C5189boO();
if (this.f != 0) {
c5189boO.e(this.f);
}
}
public void a() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).k();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public void c() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boW
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).o();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public void d() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boJ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).f();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public void g() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bpa
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).s();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public void b() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boA
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).r();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
@Override // o.ZI
public final void w_() {
jYP jyp = this.s;
if (!jyp.h.isDisposed()) {
jyp.h.dispose();
}
EBZ ebz = this.d;
if (!ebz.h.isDisposed()) {
ebz.h.dispose();
}
this.t.dispose();
super.w_();
}
/* renamed from: o.bod$RVV */
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<Dne> {
private C5204bod c;
private RVV(C5204bod c5204bod) {
this.c = c5204bod;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C5204bod.f(this.c);
C5204bod c5204bod = this.c;
c5204bod.b = c5204bod.u.e((Dne) obj);
if (this.c.b.b != null) {
C5204bod c5204bod2 = this.c;
switch (AnonymousClass2.e[HBt.valueOf(c5204bod2.b.b).ordinal()]) {
case 1:
ZI.IeS ieS = new ZI.IeS() { // from class: o.boX
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).D();
}
};
if (c5204bod2.f != 0) {
ieS.e(c5204bod2.f);
break;
}
break;
case 2:
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bop
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).G();
}
};
if (c5204bod2.f != 0) {
ieS2.e(c5204bod2.f);
break;
}
break;
case 3:
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.boo
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).P();
}
};
if (c5204bod2.f != 0) {
ieS3.e(c5204bod2.f);
break;
}
break;
case 4:
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bor
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).B();
}
};
if (c5204bod2.f != 0) {
ieS4.e(c5204bod2.f);
break;
}
break;
case 5:
case 6:
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.bos
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).N();
}
};
if (c5204bod2.f != 0) {
ieS5.e(c5204bod2.f);
break;
}
break;
case 7:
ZI.IeS ieS6 = new ZI.IeS() { // from class: o.boq
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).S();
}
};
if (c5204bod2.f != 0) {
ieS6.e(c5204bod2.f);
break;
}
break;
case 8:
ZI.IeS ieS7 = new ZI.IeS() { // from class: o.bot
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).F();
}
};
if (c5204bod2.f != 0) {
ieS7.e(c5204bod2.f);
break;
}
break;
case 9:
case 10:
ZI.IeS ieS8 = new ZI.IeS() { // from class: o.box
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).R();
}
};
if (c5204bod2.f != 0) {
ieS8.e(c5204bod2.f);
break;
}
break;
case 11:
ZI.IeS ieS9 = new ZI.IeS() { // from class: o.bov
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).M();
}
};
if (c5204bod2.f != 0) {
ieS9.e(c5204bod2.f);
break;
}
break;
case 12:
ZI.IeS ieS10 = new ZI.IeS() { // from class: o.boB
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).J();
}
};
if (c5204bod2.f != 0) {
ieS10.e(c5204bod2.f);
break;
}
break;
case 13:
ZI.IeS ieS11 = new ZI.IeS() { // from class: o.boY
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).E();
}
};
if (c5204bod2.f != 0) {
ieS11.e(c5204bod2.f);
break;
}
break;
case 14:
ZI.IeS ieS12 = new ZI.IeS() { // from class: o.bpd
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).H();
}
};
if (c5204bod2.f != 0) {
ieS12.e(c5204bod2.f);
break;
}
break;
case 15:
ZI.IeS ieS13 = new ZI.IeS() { // from class: o.bom
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).I();
}
};
if (c5204bod2.f != 0) {
ieS13.e(c5204bod2.f);
break;
}
break;
case 16:
ZI.IeS ieS14 = new ZI.IeS() { // from class: o.bok
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).L();
}
};
if (c5204bod2.f != 0) {
ieS14.e(c5204bod2.f);
break;
}
break;
case 17:
ZI.IeS ieS15 = new ZI.IeS() { // from class: o.bon
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9260dgQ) obj2).K();
}
};
if (c5204bod2.f != 0) {
ieS15.e(c5204bod2.f);
break;
}
break;
}
}
C5204bod c5204bod3 = this.c;
ZI.IeS ieS16 = new ZI.IeS(this) { // from class: o.bpi
private C5204bod.RVV e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5204bod.RVV.a(this.e, (InterfaceC9260dgQ) obj2);
}
{
this.e = this;
}
};
if (c5204bod3.f != 0) {
ieS16.e(c5204bod3.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C5204bod.a(this.c, th, C0690Mh.IeS.NAVIGATE_BACK);
}
public static /* synthetic */ void a(RVV rvv, InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.a(rvv.c.b, rvv.c.p.a.f());
interfaceC9260dgQ.d(false);
}
public /* synthetic */ RVV(C5204bod c5204bod, byte b) {
this(c5204bod);
}
}
/* renamed from: o.bod$Sts */
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<ToF> {
private C5204bod e;
public Sts(C5204bod c5204bod) {
this.e = c5204bod;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
/* renamed from: c, reason: merged with bridge method [inline-methods] */
public void onNext(final ToF toF) {
this.e.c = toF;
C5204bod c5204bod = this.e;
ZI.IeS ieS = new ZI.IeS(this, toF) { // from class: o.bpl
private ToF a;
private C5204bod.Sts e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5204bod.Sts.c(this.e, this.a, (InterfaceC9260dgQ) obj);
}
{
this.e = this;
this.a = toF;
}
};
if (c5204bod.f != 0) {
ieS.e(c5204bod.f);
}
if (toF.b == null || toF.c.d == null || toF.c.a == null || this.e.h < toF.c.d.doubleValue() || this.e.h > toF.c.a.doubleValue()) {
C5204bod c5204bod2 = this.e;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bph
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).A();
}
};
if (c5204bod2.f != 0) {
ieS2.e(c5204bod2.f);
}
} else {
C5204bod c5204bod3 = this.e;
ZI.IeS ieS3 = new ZI.IeS(this, toF) { // from class: o.bpg
private ToF b;
private C5204bod.Sts c;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9260dgQ interfaceC9260dgQ = (InterfaceC9260dgQ) obj;
interfaceC9260dgQ.b(this.c.e.q.d(this.b));
}
{
this.c = this;
this.b = toF;
}
};
if (c5204bod3.f != 0) {
ieS3.e(c5204bod3.f);
}
}
C5204bod.h(this.e);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public void onError(Throwable th) {
C5204bod c5204bod = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bpc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).ar_();
}
};
if (c5204bod.f != 0) {
ieS.e(c5204bod.f);
}
C5204bod.a(this.e, th, new Runnable(this) { // from class: o.bpe
private C5204bod.Sts c;
@Override // java.lang.Runnable
public final void run() {
C5204bod.Sts.d(this.c);
}
{
this.c = this;
}
});
}
public static /* synthetic */ void e(Sts sts, InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.C();
sts.e.i = 0.0d;
interfaceC9260dgQ.z();
interfaceC9260dgQ.A();
C5204bod c5204bod = sts.e;
c5204bod.a(c5204bod.f8580o, 0);
interfaceC9260dgQ.d(false);
interfaceC9260dgQ.a();
}
public static /* synthetic */ void d(final Sts sts) {
C5204bod c5204bod = sts.e;
ZI.IeS ieS = new ZI.IeS(sts) { // from class: o.bpf
private C5204bod.Sts d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5204bod.Sts.e(this.d, (InterfaceC9260dgQ) obj);
}
{
this.d = sts;
}
};
if (c5204bod.f != 0) {
ieS.e(c5204bod.f);
}
}
public static /* synthetic */ void c(Sts sts, ToF toF, InterfaceC9260dgQ interfaceC9260dgQ) {
interfaceC9260dgQ.d(true);
if (sts.e.h != 0.0d) {
interfaceC9260dgQ.e();
C5204bod c5204bod = sts.e;
c5204bod.b(c5204bod.h, false);
}
C17108tx unused = sts.e.q;
interfaceC9260dgQ.c(C16157lj.j(toF.c.d));
}
}
/* renamed from: o.bod$LWm */
/* loaded from: classes4.dex */
public class LWm extends Sts {
private C5204bod a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
private LWm(C5204bod c5204bod) {
super(c5204bod);
this.a = c5204bod;
}
@Override // o.C5204bod.Sts, o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
super.onNext((ToF) obj);
C5204bod c5204bod = this.a;
C5255bpb c5255bpb = new C5255bpb();
if (c5204bod.f != 0) {
c5255bpb.e(c5204bod.f);
}
}
@Override // o.C5204bod.Sts
/* renamed from: c */
public final void onNext(ToF toF) {
super.onNext(toF);
C5204bod c5204bod = this.a;
C5255bpb c5255bpb = new C5255bpb();
if (c5204bod.f != 0) {
c5255bpb.e(c5204bod.f);
}
}
public /* synthetic */ LWm(C5204bod c5204bod, byte b) {
this(c5204bod);
}
}
public static /* synthetic */ void a(C5204bod c5204bod, InterfaceC9260dgQ interfaceC9260dgQ) {
C17108tx c17108tx = c5204bod.q;
interfaceC9260dgQ.b(C16157lj.d(Double.valueOf(c5204bod.b.d)));
}
public static /* synthetic */ void c(C5204bod c5204bod, InterfaceC9260dgQ interfaceC9260dgQ) {
C17108tx c17108tx = c5204bod.q;
interfaceC9260dgQ.a(C16157lj.d(Double.valueOf(c5204bod.b.h)));
}
public static /* synthetic */ void e(C5204bod c5204bod, InterfaceC9260dgQ interfaceC9260dgQ) {
YKU yku = new YKU(c5204bod.f8580o.a);
interfaceC9260dgQ.b((List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.bow
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return ((NA) obj).a;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())), c5204bod.f8580o.a.indexOf(c5204bod.f8580o.e));
if (c5204bod.f8580o.d != null) {
YKU yku2 = new YKU(c5204bod.f8580o.d);
interfaceC9260dgQ.a((List<String>) new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw() { // from class: o.bow
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return ((NA) obj).a;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())), c5204bod.f8580o.d.indexOf(c5204bod.f8580o.c));
}
interfaceC9260dgQ.z();
interfaceC9260dgQ.a();
c5204bod.a(new Sts(c5204bod));
}
static /* synthetic */ void f(C5204bod c5204bod) {
if (c5204bod.f != 0) {
c5204bod.f.ar_();
}
}
static /* synthetic */ void a(C5204bod c5204bod, Throwable th, C0690Mh.IeS ieS) {
if (c5204bod.b(th)) {
c5204bod.d(c5204bod.j.d(th, ieS));
}
}
static /* synthetic */ void h(C5204bod c5204bod) {
if (c5204bod.f != 0) {
c5204bod.f.ar_();
}
}
static /* synthetic */ void a(C5204bod c5204bod, Throwable th, Runnable runnable) {
if (c5204bod.b(th)) {
c5204bod.d(c5204bod.j.c(th, runnable));
}
}
public final void a(C0738Nl.IeS ieS, final int i) {
List<NA> list = ieS.d;
final int indexOf = list == null ? 0 : list.indexOf(ieS.c);
final int indexOf2 = ieS.a.indexOf(ieS.e);
ZI.IeS ieS2 = new ZI.IeS(i, indexOf, indexOf2) { // from class: o.boP
private int a;
private int b;
private int e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).a(this.b, this.a, this.e);
}
{
this.b = i;
this.a = indexOf;
this.e = indexOf2;
}
};
if (this.f != 0) {
ieS2.e(this.f);
}
}
public final void b(double d, boolean z) {
this.h = d;
ToF toF = this.c;
if (toF == null || d >= toF.c.d.doubleValue()) {
ToF toF2 = this.c;
if (toF2 == null || d <= toF2.c.a.doubleValue()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.boU
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9260dgQ) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
if (z) {
a(new Sts(this));
return;
}
return;
}
final String d2 = C16157lj.d(Double.valueOf(this.c.c.a.doubleValue()));
ZI.IeS ieS2 = new ZI.IeS(d2) { // from class: o.boI
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5204bod.a(this.e, (InterfaceC9260dgQ) obj);
}
{
this.e = d2;
}
};
if (this.f != 0) {
ieS2.e(this.f);
return;
}
return;
}
final String d3 = C16157lj.d(Double.valueOf(this.c.c.d.doubleValue()));
ZI.IeS ieS3 = new ZI.IeS(d3) { // from class: o.bou
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5204bod.e(this.c, (InterfaceC9260dgQ) obj);
}
{
this.c = d3;
}
};
if (this.f != 0) {
ieS3.e(this.f);
}
}
}