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

716 lines
21 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.C14930gcM;
import o.C15716hvG;
import o.C6017cFx;
import o.InterfaceC9574dmM;
import o.ZI;
/* renamed from: o.cFx */
/* loaded from: classes4.dex */
public final class C6017cFx extends ZI<InterfaceC9574dmM.HBt> {
public boolean a;
public boolean b;
public int c;
public boolean d;
public boolean e;
public String g;
public String h;
public String i;
public String k;
public String l;
public String m;
public String n;
/* renamed from: o */
public String f8602o;
public final C0242Cc p;
public String r;
private boolean s;
public final C16072ku t;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6017cFx(C16903sI c16903sI, C16072ku c16072ku, C0242Cc c0242Cc) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c16072ku, "");
C14957gcv.e(c0242Cc, "");
this.t = c16072ku;
this.p = c0242Cc;
this.c = -1;
}
/* renamed from: o.cFx$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6017cFx d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C6017cFx c6017cFx = this.d;
C6017cFx.a(c6017cFx, th2, new Runnable(c6017cFx) { // from class: o.cFP
private C6017cFx e;
@Override // java.lang.Runnable
public final void run() {
C6017cFx.RVV.b(this.e);
}
{
this.e = c6017cFx;
}
});
return C14866gag.c;
}
public static /* synthetic */ void b(C6017cFx c6017cFx) {
C14957gcv.e(c6017cFx, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cFQ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9574dmM.HBt) obj).c();
}
};
if (c6017cFx.f != 0) {
ieS.e(c6017cFx.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C6017cFx c6017cFx) {
super(1);
this.d = c6017cFx;
}
}
/* renamed from: o.cFx$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<gvN, C14866gag> {
private C6017cFx c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(gvN gvn) {
gvN gvn2 = gvn;
C14957gcv.e(gvn2, "");
C0242Cc unused = this.c.p;
C6017cFx.d(this.c, C0242Cc.a(gvn2));
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C6017cFx c6017cFx) {
super(1);
this.c = c6017cFx;
}
}
public final void a(double d, String str) {
C14957gcv.e(str, "");
this.c = str.length() > 0 ? (int) d : -1;
b();
}
/* renamed from: o.cFx$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C6017cFx a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
C6017cFx.b(this.a);
C6017cFx c6017cFx = this.a;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cFV
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9574dmM.HBt) obj).b();
}
};
if (c6017cFx.f != 0) {
ieS.e(c6017cFx.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C6017cFx c6017cFx) {
super(1);
this.a = c6017cFx;
}
}
/* renamed from: o.cFx$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6017cFx c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
VCl vCl;
ggV ggv;
Throwable th2 = th;
C14957gcv.e(th2, "");
String str = null;
RetrofitException retrofitException = th2 instanceof RetrofitException ? (RetrofitException) th2 : null;
if (retrofitException != null && (vCl = retrofitException.e) != null && (ggv = vCl.c) != null) {
str = ggv.e;
}
if (C14957gcv.b((Object) str, (Object) "3010")) {
C6017cFx c6017cFx = this.c;
C6017cFx.a(c6017cFx, th2, new Runnable(c6017cFx) { // from class: o.cFW
private C6017cFx b;
@Override // java.lang.Runnable
public final void run() {
C6017cFx.IeS.b(this.b);
}
{
this.b = c6017cFx;
}
});
} else {
C6017cFx.b(this.c, th2, C0690Mh.IeS.JUST_DISMISS);
}
return C14866gag.c;
}
public static /* synthetic */ void b(C6017cFx c6017cFx) {
C14957gcv.e(c6017cFx, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cFS
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9574dmM.HBt) obj).a();
}
};
if (c6017cFx.f != 0) {
ieS.e(c6017cFx.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C6017cFx c6017cFx) {
super(1);
this.c = c6017cFx;
}
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x005c, code lost:
if (r5.length() == 0) goto L112;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void b() {
/*
r8 = this;
o.gcM$Sts r0 = new o.gcM$Sts
r0.<init>()
r1 = 1
r0.b = r1
java.lang.String r2 = r8.i
java.lang.String r3 = ""
if (r2 != 0) goto Lf
r2 = r3
Lf:
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r2 = r2.length()
r4 = 0
if (r2 == 0) goto L21
boolean r2 = r8.c()
if (r2 == 0) goto L1f
goto L21
L1f:
r2 = r4
goto L22
L21:
r2 = r1
L22:
java.lang.String r5 = r8.r
if (r5 != 0) goto L27
r5 = r3
L27:
java.lang.CharSequence r5 = (java.lang.CharSequence) r5
int r5 = r5.length()
if (r5 == 0) goto L44
java.lang.String r5 = r8.r
if (r5 != 0) goto L34
r5 = r3
L34:
int r6 = r5.length()
r7 = 2
if (r6 < r7) goto L44
int r5 = r5.length()
r6 = 29
if (r5 > r6) goto L44
r1 = r4
L44:
java.lang.String r5 = r8.n
if (r5 != 0) goto L49
r5 = r3
L49:
java.lang.CharSequence r5 = (java.lang.CharSequence) r5
int r5 = r5.length()
if (r5 == 0) goto L5e
java.lang.String r5 = r8.k
if (r5 != 0) goto L56
r5 = r3
L56:
java.lang.CharSequence r5 = (java.lang.CharSequence) r5
int r5 = r5.length()
if (r5 != 0) goto L60
L5e:
r0.b = r4
L60:
boolean r5 = r8.s
if (r5 == 0) goto L68
if (r2 == 0) goto L68
r0.b = r4
L68:
boolean r2 = r8.e
if (r2 == 0) goto L7b
java.lang.String r2 = r8.g
if (r2 != 0) goto L71
r2 = r3
L71:
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r2 = r2.length()
if (r2 != 0) goto L7b
r0.b = r4
L7b:
boolean r2 = r8.d
if (r2 == 0) goto L8e
java.lang.String r2 = r8.l
if (r2 != 0) goto L84
r2 = r3
L84:
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r2 = r2.length()
if (r2 != 0) goto L8e
r0.b = r4
L8e:
boolean r2 = r8.a
if (r2 == 0) goto La2
java.lang.String r2 = r8.m
if (r2 != 0) goto L97
goto L98
L97:
r3 = r2
L98:
java.lang.CharSequence r3 = (java.lang.CharSequence) r3
int r2 = r3.length()
if (r2 != 0) goto La2
r0.b = r4
La2:
boolean r2 = r8.b
if (r2 == 0) goto Laa
if (r1 == 0) goto Laa
r0.b = r4
Laa:
int r1 = r8.c
r2 = -1
if (r1 != r2) goto Lb1
r0.b = r4
Lb1:
o.cFO r1 = new o.cFO
r1.<init>(r0)
T extends o.cYp r0 = r8.f
if (r0 == 0) goto Lbf
T extends o.cYp r0 = r8.f
r1.e(r0)
Lbf:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6017cFx.b():void");
}
public final void d() {
C0242Cc c0242Cc = this.p;
String str = this.n;
if (str == null) {
str = "";
}
String str2 = this.m;
if (str2 == null) {
str2 = "";
}
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.b = C0242Cc.k(str) && gdZ.a(str2, c0242Cc.f(), true);
String str3 = this.n;
if (str3 == null) {
str3 = "";
}
C14957gcv.e(str3, "");
boolean z = !C14881gav.c("18", "63", "92", "93", "98").contains(str3);
this.s = z;
this.e = z;
}
public final void a() {
this.c = -1;
boolean z = this.b;
String str = this.r;
this.b = z;
C5988cFI c5988cFI = new C5988cFI(this, str);
if (this.f != 0) {
c5988cFI.e(this.f);
}
boolean z2 = this.s;
String str2 = this.i;
this.s = z2;
cFK cfk = new cFK(this, str2);
if (this.f != 0) {
cfk.e(this.f);
}
boolean z3 = this.e;
String str3 = this.g;
this.e = z3;
cFE cfe = new cFE(this, str3);
if (this.f != 0) {
cfe.e(this.f);
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.cFy
@Override // o.ZI.IeS
public final void e(Object obj) {
C6017cFx.e((InterfaceC9574dmM.HBt) obj);
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
private final boolean c() {
String str = this.i;
if (str == null) {
return false;
}
String str2 = str;
if (str2.length() > 0) {
return str.length() < 2 || str.length() > 29 || !((Boolean) C6583cXR.c(new Object[]{str}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue() || C6583cXR.b("^(?=\\S)[_*'\"#&*()@\\-]+$", String.valueOf(gdZ.e((CharSequence) str2)));
}
return false;
}
@Override // o.ZI
public final void w_() {
this.t.a();
super.w_();
}
/* renamed from: o.cFx$LWm */
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public static /* synthetic */ void a(C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
boolean z;
boolean z2;
boolean z3;
C14957gcv.e(c6017cFx, "");
String str = c6017cFx.n;
hBt.e(str != null ? str : "");
C15716hvG.RVV rvv = C15716hvG.d;
z = C15716hvG.a;
z2 = C15716hvG.e;
z3 = C15716hvG.b;
hBt.d(C15716hvG.RVV.d("investment_onboard_careerinfo", z, z2, z3, null));
}
public static /* synthetic */ void c(boolean z, C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
String str;
C14957gcv.e(c6017cFx, "");
if (z || (str = c6017cFx.i) == null) {
return;
}
hBt.c(0, str);
}
public static /* synthetic */ void a(boolean z, C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
String str;
C14957gcv.e(c6017cFx, "");
if (z || (str = c6017cFx.r) == null) {
return;
}
hBt.b(0, str);
}
public static /* synthetic */ void c(String str, C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
if (str != null) {
hBt.d(str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.d("");
}
}
public static /* synthetic */ void b(String str, InterfaceC9574dmM.HBt hBt) {
C14957gcv.e(str, "");
hBt.e(str);
}
public static /* synthetic */ void e(C6017cFx c6017cFx, String str, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
boolean z = c6017cFx.e;
if (!z) {
if (z) {
return;
}
hBt.e(8, "");
return;
}
if (str != null) {
hBt.e(0, str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.e(0, "");
}
}
public static /* synthetic */ void d(C6017cFx c6017cFx, String str, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
boolean z = c6017cFx.d;
if (!z) {
if (z) {
return;
}
hBt.d(8, "");
return;
}
if (str != null) {
hBt.d(0, str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.d(0, "");
}
}
public static /* synthetic */ void a(C6017cFx c6017cFx, String str, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
boolean z = c6017cFx.a;
if (!z) {
if (z) {
return;
}
hBt.a(8, "");
return;
}
if (str != null) {
hBt.a(0, str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.a(0, "");
}
}
public static /* synthetic */ void c(C6017cFx c6017cFx, String str, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
boolean z = c6017cFx.s;
if (!z) {
if (z) {
return;
}
hBt.c(8, "");
return;
}
if (str != null) {
hBt.c(0, str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.c(0, "");
hBt.b(false);
}
}
public static /* synthetic */ void e(C14930gcM.Sts sts, InterfaceC9574dmM.HBt hBt) {
C14957gcv.e(sts, "");
hBt.c(sts.b);
}
public static /* synthetic */ void e(InterfaceC9574dmM.HBt hBt) {
hBt.c("");
hBt.e(false);
hBt.b(false);
}
public static /* synthetic */ void c(C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
C14957gcv.e(c6017cFx, "");
hBt.b(c6017cFx.c());
}
public static /* synthetic */ void e(C6017cFx c6017cFx, InterfaceC9574dmM.HBt hBt) {
C14957gcv.e(c6017cFx, "");
String str = c6017cFx.r;
boolean z = false;
if (str != null && str.length() > 0 && (str.length() < 2 || str.length() > 29)) {
z = true;
}
hBt.e(z);
}
public static /* synthetic */ void b(C6017cFx c6017cFx, String str, InterfaceC9574dmM.HBt hBt) {
C14866gag c14866gag;
C14957gcv.e(c6017cFx, "");
boolean z = c6017cFx.b;
if (!z) {
if (z) {
return;
}
hBt.b(8, "");
return;
}
if (str != null) {
hBt.b(0, str);
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
hBt.b(0, "");
hBt.e(false);
}
}
public static final /* synthetic */ void b(C6017cFx c6017cFx) {
if (c6017cFx.f != 0) {
c6017cFx.f.ar_();
}
}
public static final /* synthetic */ void d(C6017cFx c6017cFx, C1135Wj c1135Wj) {
if (c6017cFx.f != 0) {
c6017cFx.f.ar_();
}
c6017cFx.n = c1135Wj.i;
c6017cFx.k = c1135Wj.j;
c6017cFx.f8602o = c1135Wj.n;
c6017cFx.l = c1135Wj.f8434o;
c6017cFx.m = c1135Wj.k;
String str = c1135Wj.m;
c6017cFx.r = str != null ? gdZ.b((CharSequence) str).toString() : null;
String str2 = c1135Wj.c;
c6017cFx.i = str2 != null ? gdZ.b((CharSequence) str2).toString() : null;
c6017cFx.h = c1135Wj.f;
c6017cFx.g = c1135Wj.h;
C5989cFL c5989cFL = new C5989cFL(c6017cFx.k, c6017cFx);
if (c6017cFx.f != 0) {
c5989cFL.e(c6017cFx.f);
}
Boolean bool = c1135Wj.b;
if (bool != null) {
boolean booleanValue = bool.booleanValue();
String str3 = c6017cFx.l;
c6017cFx.d = booleanValue;
cFR cfr = new cFR(c6017cFx, str3);
if (c6017cFx.f != 0) {
cfr.e(c6017cFx.f);
}
}
Boolean bool2 = c1135Wj.e;
if (bool2 != null) {
boolean booleanValue2 = bool2.booleanValue();
String str4 = c6017cFx.m;
c6017cFx.a = booleanValue2;
cFH cfh = new cFH(c6017cFx, str4);
if (c6017cFx.f != 0) {
cfh.e(c6017cFx.f);
}
}
Boolean bool3 = c1135Wj.g;
if (bool3 != null) {
boolean booleanValue3 = bool3.booleanValue();
String str5 = c6017cFx.r;
c6017cFx.b = booleanValue3;
C5988cFI c5988cFI = new C5988cFI(c6017cFx, str5);
if (c6017cFx.f != 0) {
c5988cFI.e(c6017cFx.f);
}
}
Boolean bool4 = c1135Wj.d;
if (bool4 != null) {
boolean booleanValue4 = bool4.booleanValue();
String str6 = c6017cFx.i;
c6017cFx.s = booleanValue4;
cFK cfk = new cFK(c6017cFx, str6);
if (c6017cFx.f != 0) {
cfk.e(c6017cFx.f);
}
}
Boolean bool5 = c1135Wj.a;
if (bool5 != null) {
boolean booleanValue5 = bool5.booleanValue();
String str7 = c6017cFx.g;
c6017cFx.e = booleanValue5;
cFE cfe = new cFE(c6017cFx, str7);
if (c6017cFx.f != 0) {
cfe.e(c6017cFx.f);
}
}
ZI.IeS ieS = new ZI.IeS(c6017cFx) { // from class: o.cFG
private C6017cFx d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6017cFx.a(this.d, (InterfaceC9574dmM.HBt) obj);
}
{
this.d = c6017cFx;
}
};
if (c6017cFx.f != 0) {
ieS.e(c6017cFx.f);
}
}
public static final /* synthetic */ void a(C6017cFx c6017cFx, Throwable th, Runnable runnable) {
if (c6017cFx.b(th)) {
c6017cFx.d(c6017cFx.j.c(th, runnable));
}
}
public static final /* synthetic */ void b(C6017cFx c6017cFx, Throwable th, C0690Mh.IeS ieS) {
if (c6017cFx.b(th)) {
c6017cFx.d(c6017cFx.j.d(th, ieS));
}
}
static {
new LWm((byte) 0);
}
}