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

253 lines
7.5 KiB
Java

package o;
import java.util.List;
import o.C15716hvG;
import o.InterfaceC9583dmV;
import o.ZI;
/* loaded from: classes4.dex */
public final class cHL extends ZI<InterfaceC9583dmV.RVV> {
public C0819Pd a;
public List<C0821Pe> b;
public final C16077kw c;
public final C15987kG d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public cHL(C16077kw c16077kw, C15987kG c15987kG, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c16077kw, "");
C14957gcv.e(c15987kG, "");
C14957gcv.e(c16903sI, "");
this.c = c16077kw;
this.d = c15987kG;
this.b = C14851gaI.c;
}
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private cHL a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
cHL.a(this.a);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(cHL chl) {
super(1);
this.a = chl;
}
}
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private cHL d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
cHL.b(this.d, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(cHL chl) {
super(1);
this.d = chl;
}
}
public final void b() {
final C0819Pd c0819Pd = this.a;
if (c0819Pd != null) {
C15987kG c15987kG = this.d;
C14957gcv.e(c0819Pd, "");
C17152uO c17152uO = c15987kG.e;
this.b = (List) C17152uO.d(new Object[]{c0819Pd});
ZI.IeS ieS = new ZI.IeS(this, c0819Pd) { // from class: o.cHO
private C0819Pd a;
private cHL d;
@Override // o.ZI.IeS
public final void e(Object obj) {
cHL.a(this.d, this.a, (InterfaceC9583dmV.RVV) obj);
}
{
this.d = this;
this.a = c0819Pd;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
}
@Override // o.ZI
public final void w_() {
this.c.a();
this.d.a();
super.w_();
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
public static /* synthetic */ void a(cHL chl, C0819Pd c0819Pd, InterfaceC9583dmV.RVV rvv) {
C14957gcv.e(chl, "");
C14957gcv.e(c0819Pd, "");
C15987kG c15987kG = chl.d;
C14957gcv.e(c0819Pd, "");
C6623cYa c6623cYa = c15987kG.d;
rvv.d(C6623cYa.d(c0819Pd));
}
public static /* synthetic */ void b(C0819Pd c0819Pd, InterfaceC9583dmV.RVV rvv) {
boolean z;
boolean z2;
boolean z3;
C14957gcv.e(c0819Pd, "");
rvv.e(c0819Pd);
C15716hvG.RVV rvv2 = C15716hvG.d;
z = C15716hvG.a;
z2 = C15716hvG.e;
z3 = C15716hvG.b;
rvv.a(C15716hvG.RVV.d("investment_onboard_suit_question", z, z2, z3, null));
}
public static /* synthetic */ void d(cHL chl) {
C14957gcv.e(chl, "");
cHN chn = new cHN();
if (chl.f != 0) {
chn.e(chl.f);
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0023, code lost:
if (r1.equals("3018") == false) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0037, code lost:
r8.d(r8.j.b(r0.e.c.d, r0.e.c.c, o.C15715hv.tOB.single_form_suitability_assessment_questionnaire_accept_button, o.C15715hv.tOB.cancel, new o.cHR(r8), new o.cHQ()));
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x005a, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x002c, code lost:
if (r1.equals("3017") == false) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0035, code lost:
if (r1.equals("3016") != false) goto L22;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final /* synthetic */ void b(final o.cHL r8, java.lang.Throwable r9) {
/*
boolean r0 = r9 instanceof com.scb.phone.domain.errors.RetrofitException
if (r0 == 0) goto L6d
r0 = r9
com.scb.phone.domain.errors.RetrofitException r0 = (com.scb.phone.domain.errors.RetrofitException) r0
o.VCl r1 = r0.e
if (r1 == 0) goto L12
o.ggV r1 = r1.c
if (r1 == 0) goto L12
java.lang.String r1 = r1.e
goto L13
L12:
r1 = 0
L13:
if (r1 == 0) goto L5b
int r2 = r1.hashCode()
switch(r2) {
case 1567042: goto L2f;
case 1567043: goto L26;
case 1567044: goto L1d;
default: goto L1c;
}
L1c:
goto L5b
L1d:
java.lang.String r2 = "3018"
boolean r1 = r1.equals(r2)
if (r1 != 0) goto L37
goto L5b
L26:
java.lang.String r2 = "3017"
boolean r1 = r1.equals(r2)
if (r1 != 0) goto L37
goto L5b
L2f:
java.lang.String r2 = "3016"
boolean r1 = r1.equals(r2)
if (r1 == 0) goto L5b
L37:
o.VCl r9 = r0.e
o.ggV r9 = r9.c
java.lang.String r2 = r9.d
o.VCl r9 = r0.e
o.ggV r9 = r9.c
java.lang.String r3 = r9.c
int r4 = o.C15715hv.tOB.single_form_suitability_assessment_questionnaire_accept_button
int r5 = o.C15715hv.tOB.cancel
o.cHR r6 = new o.cHR
r6.<init>(r8)
o.cHQ r7 = new o.cHQ
r7.<init>()
o.sI r1 = r8.j
o.Mj r9 = r1.b(r2, r3, r4, r5, r6, r7)
r8.d(r9)
return
L5b:
o.Mh$IeS r0 = o.C0690Mh.IeS.JUST_DISMISS
boolean r1 = r8.b(r9)
if (r1 == 0) goto L6c
o.sI r1 = r8.j
o.Mj r9 = r1.d(r9, r0)
r8.d(r9)
L6c:
return
L6d:
o.Mh$IeS r0 = o.C0690Mh.IeS.JUST_DISMISS
boolean r1 = r8.b(r9)
if (r1 == 0) goto L7e
o.sI r1 = r8.j
o.Mj r9 = r1.d(r9, r0)
r8.d(r9)
L7e:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.cHL.b(o.cHL, java.lang.Throwable):void");
}
public static final /* synthetic */ void a(cHL chl) {
if (chl.f != 0) {
chl.f.ar_();
}
cHN chn = new cHN();
if (chl.f != 0) {
chn.e(chl.f);
}
}
static {
new IeS((byte) 0);
}
}