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

288 lines
9.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.HashMap;
import o.AbstractC2105aXd;
import o.InterfaceC6621cYR;
import o.InterfaceC6621cYR.AcL;
import o.ZI;
import o.wRi;
/* renamed from: o.aXd, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractC2105aXd<T extends InterfaceC6621cYR.AcL> extends aWQ<T> {
protected iRT g;
C16772rC h;
@Override // o.aWQ
public void a(C0665Ls c0665Ls) {
}
protected abstract void h(Throwable th);
/* JADX INFO: Access modifiers changed from: package-private */
public AbstractC2105aXd(kqX kqx, C16823rY c16823rY, LXn lXn, C16937sa c16937sa, KPp kPp, C16963sm c16963sm, C16903sI c16903sI, iRT irt, C16772rC c16772rC) {
super(kqx, c16823rY, lXn, c16937sa, kPp, c16963sm, c16903sI);
this.g = irt;
this.h = c16772rC;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void c(C0657Lo c0657Lo) {
if (("CREDIT_CARD".equals(c0657Lo.h) && this.g.b.a() && !this.g.b.i()) || "SPEEDY_CASH_CDX".equals(c0657Lo.h) || "SPEEDY_LOAN_CDX".equals(c0657Lo.h) || "AUTO_TOP_UP".equals(c0657Lo.h)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aXe
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6621cYR.AcL) obj).e("th");
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
if (this.f != 0) {
this.f.y();
}
this.g.d(c0657Lo.h);
iRT irt = this.g;
irt.d(irt.i, new IeS(this, c0657Lo));
}
/* JADX INFO: Access modifiers changed from: protected */
public final boolean c() {
return this.g.b.a();
}
/* JADX INFO: Access modifiers changed from: protected */
public final boolean a() {
return this.g.b.i();
}
/* JADX INFO: Access modifiers changed from: protected */
public final void c(HashMap<String, String> hashMap) {
if (hashMap != null) {
this.g.a.a(hashMap);
}
}
/* renamed from: o.aXd$IeS */
/* loaded from: classes4.dex */
public class IeS extends wRi.LWm<C3356avx> {
private AbstractC2105aXd d;
private final C0657Lo e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final C0593Kf b = this.d.h.b((C3356avx) obj);
AbstractC2105aXd abstractC2105aXd = this.d;
if (abstractC2105aXd.f != 0) {
abstractC2105aXd.f.ar_();
}
if (b != null) {
this.d.c(b.i);
}
final C0657Lo c0657Lo = this.e;
AbstractC2105aXd abstractC2105aXd2 = this.d;
ZI.IeS ieS = new ZI.IeS(this, c0657Lo, b) { // from class: o.aXc
private C0593Kf b;
private AbstractC2105aXd.IeS c;
private C0657Lo d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
AbstractC2105aXd.IeS.a(this.c, this.d, this.b, (InterfaceC6621cYR.AcL) obj2);
}
{
this.c = this;
this.d = c0657Lo;
this.b = b;
}
};
if (abstractC2105aXd2.f != 0) {
ieS.e(abstractC2105aXd2.f);
}
}
IeS(AbstractC2105aXd abstractC2105aXd, C0657Lo c0657Lo) {
this.d = abstractC2105aXd;
this.e = c0657Lo;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
AbstractC2105aXd abstractC2105aXd = this.d;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.aXj
private AbstractC2105aXd.IeS a;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6621cYR.AcL) obj).e(this.a.d.g.e.t());
}
{
this.a = this;
}
};
if (abstractC2105aXd.f != 0) {
ieS.e(abstractC2105aXd.f);
}
this.d.h(th);
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
public static /* synthetic */ void a(IeS ieS, C0657Lo c0657Lo, C0593Kf c0593Kf, InterfaceC6621cYR.AcL acL) {
char c;
C0652Lk c0652Lk = new C0652Lk(null, null);
String str = c0657Lo.h;
str.hashCode();
switch (str.hashCode()) {
case -1015374440:
if (str.equals("SPEEDY_CASH_CDX")) {
c = 0;
break;
}
c = 65535;
break;
case -771079065:
if (str.equals("SPEEDY_LOAN_TOP_UP")) {
c = 1;
break;
}
c = 65535;
break;
case -726968715:
if (str.equals("AUTO_TOP_UP")) {
c = 2;
break;
}
c = 65535;
break;
case 2360748:
if (str.equals("MCMC")) {
c = 3;
break;
}
c = 65535;
break;
case 2365553:
if (str.equals("MHMC")) {
c = 4;
break;
}
c = 65535;
break;
case 159567045:
if (str.equals("COMMERCIAL_LOAN")) {
c = 5;
break;
}
c = 65535;
break;
case 277399877:
if (str.equals("HOME_TOP_UP")) {
c = 6;
break;
}
c = 65535;
break;
case 815382741:
if (str.equals("SPEEDY_LOAN_CDX")) {
c = 7;
break;
}
c = 65535;
break;
case 1033734720:
if (str.equals("SPEEDY_CASH")) {
c = '\b';
break;
}
c = 65535;
break;
case 1034015741:
if (str.equals("SPEEDY_LOAN")) {
c = '\t';
break;
}
c = 65535;
break;
case 1281623566:
if (str.equals("SPEEDY_CASH_M")) {
c = '\n';
break;
}
c = 65535;
break;
case 1878720662:
if (str.equals("CREDIT_CARD")) {
c = 11;
break;
}
c = 65535;
break;
case 2090361232:
if (str.equals("PURPOSEFUL_LOAN")) {
c = '\f';
break;
}
c = 65535;
break;
default:
c = 65535;
break;
}
switch (c) {
case 0:
case 7:
break;
case 1:
acL.c(c0657Lo, c0593Kf, c0652Lk);
return;
case 2:
acL.e(c0657Lo, c0593Kf);
return;
case 3:
acL.a(c0657Lo, c0593Kf);
return;
case 4:
case 6:
acL.j(c0657Lo, c0593Kf);
return;
case 5:
acL.b(c0657Lo, c0593Kf);
return;
case '\b':
acL.e(c0657Lo, c0593Kf, c0652Lk);
return;
case '\t':
acL.b(c0657Lo, c0593Kf, c0652Lk);
return;
case '\n':
if (!ieS.d.g.b.f()) {
acL.d(c0657Lo, c0593Kf);
return;
}
break;
case 11:
if (!ieS.d.a()) {
if (c0593Kf.i != null && "Y".equals(c0593Kf.i.get("DROP_OFF_IMPROVEMENT_IS_TOGGLE_ON"))) {
acL.d(c0657Lo, new KJ(null, c0657Lo.h, null, null, null, null), c0652Lk, false);
return;
} else {
acL.c(c0657Lo, c0593Kf);
return;
}
}
break;
case '\f':
acL.h(c0657Lo, c0593Kf);
return;
default:
ieS.d.h(null);
return;
}
acL.i(c0657Lo, c0593Kf);
}
}
}