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

310 lines
11 KiB
Java

package o;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import o.C15715hv;
import o.C7274clG;
import o.InterfaceC9542dlh;
import o.ZI;
/* renamed from: o.clG, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7274clG extends AbstractC7318cly<InterfaceC9542dlh.HBt, C17792zl> {
private final C17786zi a;
public final C15652hW e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7274clG(C16903sI c16903sI, Xky xky, C17792zl c17792zl, C15652hW c15652hW, C17786zi c17786zi) {
super(c16903sI, xky, c17792zl);
C14957gcv.e(c16903sI, "");
C14957gcv.e(xky, "");
C14957gcv.e(c17792zl, "");
C14957gcv.e(c15652hW, "");
C14957gcv.e(c17786zi, "");
this.e = c15652hW;
this.a = c17786zi;
}
/* renamed from: o.clG$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<kVd, C14866gag> {
private TY a;
private C7274clG b;
private String e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(kVd kvd) {
final kVd kvd2 = kvd;
C14957gcv.e(kvd2, "");
C7274clG.c(this.b);
final C7274clG c7274clG = this.b;
final TY ty = this.a;
final String str = this.e;
ZI.IeS ieS = new ZI.IeS(ty, c7274clG, kvd2, str) { // from class: o.clE
private C7274clG a;
private kVd b;
private String c;
private TY e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7274clG.RVV.e(this.e, this.a, this.b, this.c, (InterfaceC9542dlh.HBt) obj);
}
{
this.e = ty;
this.a = c7274clG;
this.b = kvd2;
this.c = str;
}
};
if (c7274clG.f != 0) {
ieS.e(c7274clG.f);
}
return C14866gag.c;
}
public static /* synthetic */ void e(TY ty, C7274clG c7274clG, kVd kvd, String str, InterfaceC9542dlh.HBt hBt) {
tlc tlcVar;
C14957gcv.e(c7274clG, "");
C14957gcv.e(kvd, "");
C14957gcv.e(str, "");
EW a = c7274clG.a.a(ty, kvd);
C17786zi c17786zi = c7274clG.a;
String str2 = ty.c;
List<tlc> list = kvd.b;
List<QI> list2 = null;
if (list != null) {
C14957gcv.e(list, "");
tlcVar = list.isEmpty() ? null : list.get(0);
} else {
tlcVar = null;
}
C14957gcv.e(str2, "");
if (str2.length() > 0) {
QI[] qiArr = new QI[2];
String str3 = tlcVar != null ? tlcVar.a : null;
if (str3 == null) {
str3 = "";
}
String str4 = tlcVar != null ? tlcVar.e : null;
if (str4 == null) {
str4 = "";
}
qiArr[0] = new QI(str3, str4, true);
String e = c17786zi.e(C15715hv.tOB.return_to_pointx);
C14957gcv.c((Object) e, "");
qiArr[1] = new QI(e, str2);
C14957gcv.e(qiArr, "");
C14957gcv.e(qiArr, "");
list2 = Arrays.asList(qiArr);
C14957gcv.c(list2, "");
} else if (tlcVar != null) {
list2 = Collections.singletonList(new QI(tlcVar.a, tlcVar.e, true));
C14957gcv.c(list2, "");
}
hBt.b(a, list2, str, ty.b);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C7274clG c7274clG, TY ty, String str) {
super(1);
this.b = c7274clG;
this.a = ty;
this.e = str;
}
}
/* renamed from: o.clG$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7274clG b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
if (!this.b.i(th2)) {
final C7274clG c7274clG = this.b;
ZI.IeS ieS = new ZI.IeS(th2, c7274clG) { // from class: o.clJ
private Throwable a;
private C7274clG e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7274clG.Sts.a(this.a, this.e, (InterfaceC9542dlh.HBt) obj);
}
{
this.a = th2;
this.e = c7274clG;
}
};
if (c7274clG.f != 0) {
ieS.e(c7274clG.f);
}
}
return C14866gag.c;
}
/* JADX WARN: Code restructure failed: missing block: B:14:0x002e, code lost:
if (r1.equals("3017") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x006f, code lost:
o.C7274clG.a(r3, r2, new o.RunnableC7278clK(r4));
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0077, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0037, code lost:
if (r1.equals("3016") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0040, code lost:
if (r1.equals("3015") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0049, code lost:
if (r1.equals("3012") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0052, code lost:
if (r1.equals("3011") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x005b, code lost:
if (r1.equals("3010") != false) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0064, code lost:
if (r1.equals("3006") == false) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x006d, code lost:
if (r1.equals("3001") != false) goto L39;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void a(java.lang.Throwable r2, o.C7274clG r3, final o.InterfaceC9542dlh.HBt r4) {
/*
java.lang.String r0 = ""
o.C14957gcv.e(r2, r0)
o.C14957gcv.e(r3, r0)
boolean r0 = r2 instanceof com.scb.phone.domain.errors.RetrofitException
r1 = 0
if (r0 == 0) goto L11
r0 = r2
com.scb.phone.domain.errors.RetrofitException r0 = (com.scb.phone.domain.errors.RetrofitException) r0
goto L12
L11:
r0 = r1
L12:
if (r0 == 0) goto L1e
o.VCl r0 = r0.e
if (r0 == 0) goto L1e
o.ggV r0 = r0.c
if (r0 == 0) goto L1e
java.lang.String r1 = r0.e
L1e:
if (r1 == 0) goto L78
int r0 = r1.hashCode()
switch(r0) {
case 1567006: goto L67;
case 1567011: goto L5e;
case 1567036: goto L55;
case 1567037: goto L4c;
case 1567038: goto L43;
case 1567041: goto L3a;
case 1567042: goto L31;
case 1567043: goto L28;
default: goto L27;
}
L27:
goto L78
L28:
java.lang.String r0 = "3017"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L31:
java.lang.String r0 = "3016"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L3a:
java.lang.String r0 = "3015"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L43:
java.lang.String r0 = "3012"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L4c:
java.lang.String r0 = "3011"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L55:
java.lang.String r0 = "3010"
boolean r0 = r1.equals(r0)
if (r0 == 0) goto L78
goto L6f
L5e:
java.lang.String r0 = "3006"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L6f
goto L78
L67:
java.lang.String r0 = "3001"
boolean r0 = r1.equals(r0)
if (r0 == 0) goto L78
L6f:
o.clK r0 = new o.clK
r0.<init>(r4)
o.C7274clG.a(r3, r2, r0)
return
L78:
o.clH r0 = new o.clH
r0.<init>(r4)
o.C7274clG.a(r3, r2, r0)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C7274clG.Sts.a(java.lang.Throwable, o.clG, o.dlh$HBt):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C7274clG c7274clG) {
super(1);
this.b = c7274clG;
}
}
@Override // o.ZI
public final void w_() {
this.e.a();
super.w_();
}
public static final /* synthetic */ void c(C7274clG c7274clG) {
if (c7274clG.f != 0) {
c7274clG.f.ar_();
}
}
public static final /* synthetic */ void a(C7274clG c7274clG, Throwable th, Runnable runnable) {
if (c7274clG.b(th)) {
c7274clG.d(c7274clG.j.c(th, runnable));
}
}
}