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

259 lines
8.9 KiB
Java

package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.C6711caa;
import o.ZI;
import o.wRi;
/* renamed from: o.caa, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C6711caa extends ZI<InterfaceC9489dkh> {
public final tXL a;
public final oHi d;
@InterfaceC13391fZD
public C6711caa(C16903sI c16903sI, tXL txl, oHi ohi) {
super(c16903sI);
this.a = txl;
this.d = ohi;
}
/* renamed from: o.caa$2, reason: invalid class name */
/* loaded from: classes4.dex */
public class AnonymousClass2 extends wRi.LWm<Void> {
private C6711caa e;
public AnonymousClass2(C6711caa c6711caa) {
this.e = c6711caa;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
String str;
char c;
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e == null || retrofitException.e.c == null) {
str = "";
} else {
str = retrofitException.e.c.e;
}
str.hashCode();
int hashCode = str.hashCode();
if (hashCode == 1567036) {
if (str.equals("3010")) {
c = 0;
}
c = 65535;
} else if (hashCode == 1567042) {
if (str.equals("3016")) {
c = 1;
}
c = 65535;
} else if (hashCode != 1567044) {
switch (hashCode) {
case 1567103:
if (str.equals("3035")) {
c = 3;
break;
}
c = 65535;
break;
case 1567104:
if (str.equals("3036")) {
c = 4;
break;
}
c = 65535;
break;
case 1567105:
if (str.equals("3037")) {
c = 5;
break;
}
c = 65535;
break;
case 1567106:
if (str.equals("3038")) {
c = 6;
break;
}
c = 65535;
break;
case 1567107:
if (str.equals("3039")) {
c = 7;
break;
}
c = 65535;
break;
default:
switch (hashCode) {
case 1567129:
if (str.equals("3040")) {
c = '\b';
break;
}
c = 65535;
break;
case 1567130:
if (str.equals("3041")) {
c = '\t';
break;
}
c = 65535;
break;
case 1567131:
if (str.equals("3042")) {
c = '\n';
break;
}
c = 65535;
break;
case 1567132:
if (str.equals("3043")) {
c = 11;
break;
}
c = 65535;
break;
default:
c = 65535;
break;
}
}
} else {
if (str.equals("3018")) {
c = 2;
}
c = 65535;
}
switch (c) {
case 0:
case 1:
C6711caa.a(this.e, th, C0690Mh.IeS.NAVIGATE_BACK);
return;
case 2:
C6711caa.d(this.e);
C6711caa c6711caa = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cab
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9489dkh) obj).a();
}
};
if (c6711caa.f != 0) {
ieS.e(c6711caa.f);
return;
}
return;
case 3:
case 4:
case 5:
case 6:
case 7:
case '\b':
case '\t':
case '\n':
case 11:
C6711caa.c(this.e, th, new Runnable(this) { // from class: o.cah
private C6711caa.AnonymousClass2 c;
@Override // java.lang.Runnable
public final void run() {
C6711caa.AnonymousClass2.c(this.c);
}
{
this.c = this;
}
});
return;
default:
C6711caa.e(this.e, th, C0690Mh.IeS.JUST_DISMISS);
return;
}
}
C6711caa.b(this.e, th, C0690Mh.IeS.JUST_DISMISS);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C6711caa.c(this.e);
C6711caa c6711caa = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.caj
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9489dkh) obj).b();
}
};
if (c6711caa.f != 0) {
ieS.e(c6711caa.f);
}
}
public static /* synthetic */ void c(AnonymousClass2 anonymousClass2) {
C6711caa c6711caa = anonymousClass2.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cag
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9489dkh) obj).e();
}
};
if (c6711caa.f != 0) {
ieS.e(c6711caa.f);
}
}
}
static /* synthetic */ void d(C6711caa c6711caa, Throwable th, C0690Mh.IeS ieS) {
if (c6711caa.b(th)) {
c6711caa.d(c6711caa.j.d(th, ieS));
}
}
static /* synthetic */ void e(C6711caa c6711caa) {
if (c6711caa.f != 0) {
c6711caa.f.ar_();
}
}
static /* synthetic */ void d(C6711caa c6711caa) {
if (c6711caa.f != 0) {
c6711caa.f.ar_();
}
}
static /* synthetic */ void a(C6711caa c6711caa, Throwable th, C0690Mh.IeS ieS) {
if (c6711caa.b(th)) {
c6711caa.d(c6711caa.j.d(th, ieS));
}
}
static /* synthetic */ void c(C6711caa c6711caa, Throwable th, Runnable runnable) {
if (c6711caa.b(th)) {
c6711caa.d(c6711caa.j.c(th, runnable));
}
}
static /* synthetic */ void e(C6711caa c6711caa, Throwable th, C0690Mh.IeS ieS) {
if (c6711caa.b(th)) {
c6711caa.d(c6711caa.j.d(th, ieS));
}
}
static /* synthetic */ void b(C6711caa c6711caa, Throwable th, C0690Mh.IeS ieS) {
if (c6711caa.b(th)) {
c6711caa.d(c6711caa.j.d(th, ieS));
}
}
static /* synthetic */ void c(C6711caa c6711caa) {
if (c6711caa.f != 0) {
c6711caa.f.ar_();
}
}
}