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

405 lines
14 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.C3367awH;
import o.InterfaceC9125ddn;
import o.ZI;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.awH, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C3367awH extends ZI<InterfaceC9125ddn.RVV> {
public HH a;
public final C15652hW b;
public C1096Vn c;
public final C16480oi d;
public final C15769iV e;
private final C16903sI h;
private final C16493oo i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3367awH(C16903sI c16903sI, C15652hW c15652hW, C15769iV c15769iV, C16480oi c16480oi, C16493oo c16493oo) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15652hW, "");
C14957gcv.e(c15769iV, "");
C14957gcv.e(c16480oi, "");
C14957gcv.e(c16493oo, "");
this.h = c16903sI;
this.b = c15652hW;
this.e = c15769iV;
this.d = c16480oi;
this.i = c16493oo;
}
/* renamed from: o.awH$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3367awH b;
/* JADX WARN: Code restructure failed: missing block: B:19:0x0043, code lost:
r0 = r3.b;
o.C3367awH.c(r0, r4, new o.RunnableC3375awP(r0));
*/
@Override // o.InterfaceC14894gbR
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final /* synthetic */ o.C14866gag invoke(java.lang.Throwable r4) {
/*
r3 = this;
java.lang.Throwable r4 = (java.lang.Throwable) r4
java.lang.String r0 = ""
o.C14957gcv.e(r4, r0)
boolean r0 = r4 instanceof com.scb.phone.domain.errors.RetrofitException
r1 = 0
if (r0 == 0) goto L10
r0 = r4
com.scb.phone.domain.errors.RetrofitException r0 = (com.scb.phone.domain.errors.RetrofitException) r0
goto L11
L10:
r0 = r1
L11:
if (r0 == 0) goto L1d
o.VCl r0 = r0.e
if (r0 == 0) goto L1d
o.ggV r0 = r0.c
if (r0 == 0) goto L1d
java.lang.String r1 = r0.e
L1d:
if (r1 == 0) goto L5c
int r0 = r1.hashCode()
r2 = 1515399(0x171f87, float:2.123526E-39)
if (r0 == r2) goto L4e
r2 = 1567011(0x17e923, float:2.19585E-39)
if (r0 == r2) goto L3b
r2 = 1567044(0x17e944, float:2.195896E-39)
if (r0 != r2) goto L5c
java.lang.String r0 = "3018"
boolean r0 = r1.equals(r0)
if (r0 != 0) goto L43
goto L5c
L3b:
java.lang.String r0 = "3006"
boolean r0 = r1.equals(r0)
if (r0 == 0) goto L5c
L43:
o.awH r0 = r3.b
o.awP r1 = new o.awP
r1.<init>(r0)
o.C3367awH.c(r0, r4, r1)
goto L66
L4e:
java.lang.String r0 = "1899"
boolean r0 = r1.equals(r0)
if (r0 == 0) goto L5c
o.awH r0 = r3.b
o.C3367awH.a(r0, r4)
goto L66
L5c:
o.awH r0 = r3.b
o.awQ r1 = new o.awQ
r1.<init>(r0)
o.C3367awH.c(r0, r4, r1)
L66:
o.gag r4 = o.C14866gag.c
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.C3367awH.LWm.invoke(java.lang.Object):java.lang.Object");
}
public static /* synthetic */ void a(C3367awH c3367awH) {
C14957gcv.e(c3367awH, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.awS
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9125ddn.RVV) obj).b();
}
};
if (c3367awH.f != 0) {
ieS.e(c3367awH.f);
}
}
public static /* synthetic */ void d(C3367awH c3367awH) {
C14957gcv.e(c3367awH, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.awM
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9125ddn.RVV) obj).c();
}
};
if (c3367awH.f != 0) {
ieS.e(c3367awH.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C3367awH c3367awH) {
super(1);
this.b = c3367awH;
}
}
/* renamed from: o.awH$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<kVd, C14866gag> {
private C3367awH e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(kVd kvd) {
kVd kvd2 = kvd;
C14957gcv.e(kvd2, "");
C3367awH.a(this.e);
C16493oo c16493oo = this.e.i;
HH hh = this.e.a;
C1096Vn c1096Vn = null;
if (hh == null) {
C14957gcv.a("");
hh = null;
}
C1096Vn c1096Vn2 = this.e.c;
if (c1096Vn2 == null) {
C14957gcv.a("");
} else {
c1096Vn = c1096Vn2;
}
EW c = c16493oo.c(hh, kvd2, c1096Vn.e);
C16493oo unused = this.e.i;
C3367awH.b(this.e, c, C16493oo.a(kvd2.b));
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C3367awH c3367awH) {
super(1);
this.e = c3367awH;
}
}
/* renamed from: o.awH$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<C5465btZ, C14866gag> {
private C3367awH a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C5465btZ c5465btZ) {
C15758iOf c15758iOf;
C14851gaI c14851gaI;
C5465btZ c5465btZ2 = c5465btZ;
C14957gcv.e(c5465btZ2, "");
C3367awH.a(this.a);
C16493oo unused = this.a.i;
C14957gcv.e(c5465btZ2, "");
String str = c5465btZ2.b;
OffsetDateTime parse = OffsetDateTime.parse(c5465btZ2.g);
Double d = c5465btZ2.d;
Double d2 = c5465btZ2.c;
jFB jfb = c5465btZ2.e;
C1096Vn c1096Vn = null;
if (jfb != null) {
String str2 = jfb.e;
C8111dBf c8111dBf = jfb.a;
xLZ xlz = c8111dBf != null ? new xLZ(c8111dBf.b, c8111dBf.e, c8111dBf.a, c8111dBf.c, c8111dBf.j, c8111dBf.d) : null;
List<TyG> list = jfb.b;
if (list != null) {
List<TyG> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (TyG tyG : list2) {
arrayList.add(new C16360nhu(tyG != null ? tyG.g : null, tyG != null ? tyG.a : null, tyG != null ? tyG.d : null, tyG != null ? tyG.e : null, tyG != null ? tyG.c : null));
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
FCD fcd = jfb.d;
iTC itc = fcd != null ? fcd.a : null;
c15758iOf = new C15758iOf(str2, xlz, c14851gaI, new FFT(itc != null ? new wKJ(itc.c, itc.b, itc.d) : null));
} else {
c15758iOf = null;
}
kVd kvd = new kVd(str, parse, d, null, c15758iOf, c5465btZ2.a);
C16493oo c16493oo = this.a.i;
HH hh = this.a.a;
if (hh == null) {
C14957gcv.a("");
hh = null;
}
C1096Vn c1096Vn2 = this.a.c;
if (c1096Vn2 == null) {
C14957gcv.a("");
} else {
c1096Vn = c1096Vn2;
}
EW c = c16493oo.c(hh, kvd, c1096Vn.e);
C16493oo unused2 = this.a.i;
C3367awH.b(this.a, c, C16493oo.a(c5465btZ2.a));
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C3367awH c3367awH) {
super(1);
this.a = c3367awH;
}
}
/* renamed from: o.awH$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3367awH c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C3367awH c3367awH = this.c;
C3367awH.c(c3367awH, th2, new Runnable(c3367awH) { // from class: o.awU
private C3367awH d;
@Override // java.lang.Runnable
public final void run() {
C3367awH.RVV.e(this.d);
}
{
this.d = c3367awH;
}
});
return C14866gag.c;
}
public static /* synthetic */ void e(C3367awH c3367awH) {
C14957gcv.e(c3367awH, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.awO
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9125ddn.RVV) obj).b();
}
};
if (c3367awH.f != 0) {
ieS.e(c3367awH.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C3367awH c3367awH) {
super(1);
this.c = c3367awH;
}
}
public static boolean b(String str, int i) {
return gdZ.a(YL.CREDIT_CARD_FULL_AMOUNT.code, str, false) && i == 102;
}
@Override // o.ZI
public final void w_() {
this.b.a();
super.w_();
}
public static /* synthetic */ void a(InterfaceC9125ddn.RVV rvv) {
rvv.d();
rvv.a();
}
public static /* synthetic */ void c(List list, InterfaceC9125ddn.RVV rvv) {
C14957gcv.e(list, "");
rvv.e((List<? extends EM>) list);
}
public static /* synthetic */ void d(C3367awH c3367awH, InterfaceC9125ddn.RVV rvv) {
C14957gcv.e(c3367awH, "");
C1096Vn c1096Vn = c3367awH.c;
HH hh = null;
if (c1096Vn == null) {
C14957gcv.a("");
c1096Vn = null;
}
String str = c1096Vn.b.g;
HH hh2 = c3367awH.a;
if (hh2 == null) {
C14957gcv.a("");
} else {
hh = hh2;
}
rvv.e(str, hh);
}
public static /* synthetic */ void b(C3367awH c3367awH, InterfaceC9125ddn.RVV rvv) {
C14957gcv.e(c3367awH, "");
C1096Vn c1096Vn = c3367awH.c;
if (c1096Vn == null) {
C14957gcv.a("");
c1096Vn = null;
}
String str = c1096Vn.b.c;
if (str != null) {
rvv.c(str);
}
}
public static /* synthetic */ void c(C1096Vn c1096Vn, InterfaceC9125ddn.RVV rvv) {
C14957gcv.e(c1096Vn, "");
rvv.c(c1096Vn.e, c1096Vn.b.h, c1096Vn.b.f);
}
public static /* synthetic */ void e(EW ew, C3367awH c3367awH, List list, InterfaceC9125ddn.RVV rvv) {
C14957gcv.e(ew, "");
C14957gcv.e(c3367awH, "");
C1096Vn c1096Vn = c3367awH.c;
if (c1096Vn == null) {
C14957gcv.a("");
c1096Vn = null;
}
rvv.e(ew, c1096Vn.b.h, list);
}
public static final /* synthetic */ void a(C3367awH c3367awH) {
if (c3367awH.f != 0) {
c3367awH.f.ar_();
}
}
public static final /* synthetic */ void b(final C3367awH c3367awH, final EW ew, final List list) {
ZI.IeS ieS = new ZI.IeS(ew, c3367awH, list) { // from class: o.awG
private List a;
private C3367awH d;
private EW e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3367awH.e(this.e, this.d, this.a, (InterfaceC9125ddn.RVV) obj);
}
{
this.e = ew;
this.d = c3367awH;
this.a = list;
}
};
if (c3367awH.f != 0) {
ieS.e(c3367awH.f);
}
}
public static final /* synthetic */ void a(C3367awH c3367awH, Throwable th) {
if (c3367awH.b(th)) {
c3367awH.d(c3367awH.j.e(th));
}
}
public static final /* synthetic */ void c(C3367awH c3367awH, Throwable th, Runnable runnable) {
if (c3367awH.b(th)) {
c3367awH.d(c3367awH.j.c(th, runnable));
}
}
}