375 lines
17 KiB
Java
375 lines
17 KiB
Java
package o;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C0533Ix;
|
|
import o.C15715hv;
|
|
import org.threeten.bp.OffsetDateTime;
|
|
|
|
/* renamed from: o.kI, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C15989kI extends C15620hF {
|
|
final VHE b;
|
|
public final C1949aSy c;
|
|
final FHl d;
|
|
final CA e;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C15989kI(C1949aSy c1949aSy, FHl fHl, VHE vhe, CA ca) {
|
|
super((byte) 0);
|
|
C14957gcv.e(c1949aSy, "");
|
|
C14957gcv.e(fHl, "");
|
|
C14957gcv.e(vhe, "");
|
|
C14957gcv.e(ca, "");
|
|
this.c = c1949aSy;
|
|
this.d = fHl;
|
|
this.b = vhe;
|
|
this.e = ca;
|
|
}
|
|
|
|
/* renamed from: o.kI$HBt */
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<JWr, WE> {
|
|
private C15989kI e;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ WE invoke(JWr jWr) {
|
|
C0533Ix c0533Ix;
|
|
AbstractC0518Im abstractC0518Im;
|
|
C0533Ix c0533Ix2;
|
|
C0533Ix c0533Ix3;
|
|
C0533Ix c0533Ix4;
|
|
C0533Ix c0533Ix5;
|
|
C0533Ix c0533Ix6;
|
|
C0533Ix c0533Ix7;
|
|
C0533Ix c0533Ix8;
|
|
C0533Ix c0533Ix9;
|
|
C0533Ix c0533Ix10;
|
|
C0533Ix c0533Ix11;
|
|
C0533Ix c0533Ix12;
|
|
C0533Ix c0533Ix13;
|
|
C0533Ix c0533Ix14;
|
|
C0533Ix c0533Ix15;
|
|
C0533Ix c0533Ix16;
|
|
C0533Ix c0533Ix17;
|
|
C0533Ix c0533Ix18;
|
|
C0533Ix c0533Ix19;
|
|
C0533Ix c0533Ix20;
|
|
C14851gaI c14851gaI;
|
|
int i;
|
|
C0533Ix c0533Ix21;
|
|
C0533Ix c0533Ix22;
|
|
String str;
|
|
List<JSa> list;
|
|
String str2;
|
|
String str3;
|
|
List<String> list2;
|
|
List<String> list3;
|
|
List<String> list4;
|
|
String str4;
|
|
String str5;
|
|
List<String> list5;
|
|
String str6;
|
|
String str7;
|
|
String str8;
|
|
String str9;
|
|
String str10;
|
|
String str11;
|
|
String str12;
|
|
String str13;
|
|
OffsetDateTime offsetDateTime;
|
|
String str14;
|
|
JZY jzy;
|
|
String str15;
|
|
aJH ajh;
|
|
int i2;
|
|
aJH ajh2;
|
|
aJH ajh3;
|
|
String str16;
|
|
JWr jWr2 = jWr;
|
|
C14957gcv.e(jWr2, "");
|
|
CA ca = this.e.e;
|
|
iKd K = this.e.d.a.K();
|
|
boolean z = K != null && K.m > 0;
|
|
C15989kI c15989kI = this.e;
|
|
boolean z2 = C14957gcv.b((Object) c15989kI.b.e.d(), (Object) "N") && C14957gcv.b((Object) c15989kI.b.e.f(), (Object) "N") && C14957gcv.b((Object) c15989kI.b.e.i(), (Object) "Y");
|
|
C14957gcv.e(jWr2, "");
|
|
C8843dXn c8843dXn = jWr2.c;
|
|
AbstractC0518Im[] abstractC0518ImArr = new AbstractC0518Im[23];
|
|
C0533Ix c0533Ix23 = null;
|
|
if (c8843dXn == null || (str16 = c8843dXn.m) == null) {
|
|
c0533Ix = null;
|
|
} else {
|
|
String e = ca.e(C15715hv.tOB.auto_single_form_review_name);
|
|
C14957gcv.c((Object) e, "");
|
|
c0533Ix = new C0533Ix(e, str16, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[0] = c0533Ix;
|
|
abstractC0518ImArr[1] = (c8843dXn == null || (ajh3 = c8843dXn.f8864o) == null) ? null : ca.c(C15715hv.tOB.auto_single_form_review_mf_account, ajh3, z);
|
|
abstractC0518ImArr[2] = (c8843dXn == null || (ajh2 = c8843dXn.p) == null) ? null : ca.c(C15715hv.tOB.auto_single_form_review_omnibus_account, ajh2, z);
|
|
if (c8843dXn == null || (ajh = c8843dXn.y) == null) {
|
|
abstractC0518Im = null;
|
|
} else {
|
|
if (z2) {
|
|
i2 = C15715hv.tOB.auto_single_form_review_scbs_account;
|
|
} else {
|
|
i2 = C15715hv.tOB.auto_single_form_review_innovest_x_account;
|
|
}
|
|
abstractC0518Im = ca.c(i2, ajh, z);
|
|
}
|
|
abstractC0518ImArr[3] = abstractC0518Im;
|
|
if (c8843dXn == null || (jzy = c8843dXn.g) == null || (str15 = jzy.d) == null) {
|
|
c0533Ix2 = null;
|
|
} else {
|
|
C14957gcv.c((Object) str15, "");
|
|
String e2 = ca.e(C15715hv.tOB.auto_single_form_review_gender);
|
|
C14957gcv.c((Object) e2, "");
|
|
c0533Ix2 = new C0533Ix(e2, str15, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[4] = c0533Ix2;
|
|
if (c8843dXn == null || (str14 = c8843dXn.l) == null) {
|
|
c0533Ix3 = null;
|
|
} else {
|
|
String e3 = ca.e(C15715hv.tOB.auto_single_form_review_nationality);
|
|
C14957gcv.c((Object) e3, "");
|
|
c0533Ix3 = new C0533Ix(e3, str14, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[5] = c0533Ix3;
|
|
if (c8843dXn == null || (offsetDateTime = c8843dXn.c) == null) {
|
|
c0533Ix4 = null;
|
|
} else {
|
|
String e4 = ca.e(C15715hv.tOB.auto_single_form_review_date_of_birth);
|
|
C14957gcv.c((Object) e4, "");
|
|
String m = ca.m(offsetDateTime);
|
|
C14957gcv.c((Object) m, "");
|
|
c0533Ix4 = new C0533Ix(e4, m, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[6] = c0533Ix4;
|
|
if (c8843dXn == null || (str13 = c8843dXn.e) == null) {
|
|
c0533Ix5 = null;
|
|
} else {
|
|
String e5 = ca.e(C15715hv.tOB.auto_single_form_review_nationality_id);
|
|
C14957gcv.c((Object) e5, "");
|
|
String b = CA.b(str13, true);
|
|
C14957gcv.c((Object) b, "");
|
|
c0533Ix5 = new C0533Ix(e5, b, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[7] = c0533Ix5;
|
|
OffsetDateTime offsetDateTime2 = c8843dXn != null ? c8843dXn.b : null;
|
|
if (ca.d.c.b()) {
|
|
String e6 = ca.e(C15715hv.tOB.auto_single_form_review_id_expiry_date);
|
|
C14957gcv.c((Object) e6, "");
|
|
String e7 = ca.e(C15715hv.tOB.single_form_review_info_card_lifetime);
|
|
C14957gcv.c((Object) e7, "");
|
|
c0533Ix6 = new C0533Ix(e6, e7, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
} else if (offsetDateTime2 != null) {
|
|
String e8 = ca.e(C15715hv.tOB.auto_single_form_review_id_expiry_date);
|
|
C14957gcv.c((Object) e8, "");
|
|
String m2 = ca.m(offsetDateTime2);
|
|
C14957gcv.c((Object) m2, "");
|
|
c0533Ix6 = new C0533Ix(e8, m2, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
} else {
|
|
c0533Ix6 = null;
|
|
}
|
|
abstractC0518ImArr[8] = c0533Ix6;
|
|
if (c8843dXn == null || (str12 = c8843dXn.d) == null) {
|
|
c0533Ix7 = null;
|
|
} else {
|
|
String e9 = ca.e(C15715hv.tOB.auto_single_form_review_email);
|
|
C14957gcv.c((Object) e9, "");
|
|
c0533Ix7 = new C0533Ix(e9, str12, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[9] = c0533Ix7;
|
|
if (c8843dXn == null || (str11 = c8843dXn.n) == null) {
|
|
c0533Ix8 = null;
|
|
} else {
|
|
String e10 = ca.e(C15715hv.tOB.auto_single_form_review_mobile_no);
|
|
C14957gcv.c((Object) e10, "");
|
|
String z3 = C6583cXR.z(str11);
|
|
C14957gcv.c((Object) z3, "");
|
|
c0533Ix8 = new C0533Ix(e10, z3, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[10] = c0533Ix8;
|
|
if (c8843dXn == null || (str10 = c8843dXn.k) == null) {
|
|
c0533Ix9 = null;
|
|
} else {
|
|
String e11 = ca.e(C15715hv.tOB.auto_single_form_review_occupation);
|
|
C14957gcv.c((Object) e11, "");
|
|
c0533Ix9 = new C0533Ix(e11, str10, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[11] = c0533Ix9;
|
|
if (c8843dXn == null || (str9 = c8843dXn.v) == null) {
|
|
c0533Ix10 = null;
|
|
} else {
|
|
String e12 = ca.e(C15715hv.tOB.auto_single_form_review_type_of_business);
|
|
C14957gcv.c((Object) e12, "");
|
|
c0533Ix10 = new C0533Ix(e12, str9, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[12] = c0533Ix10;
|
|
if (c8843dXn == null || (str8 = c8843dXn.u) == null) {
|
|
c0533Ix11 = null;
|
|
} else {
|
|
String e13 = ca.e(C15715hv.tOB.auto_single_form_review_company_name);
|
|
C14957gcv.c((Object) e13, "");
|
|
c0533Ix11 = new C0533Ix(e13, str8, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[13] = c0533Ix11;
|
|
if (c8843dXn == null || (str7 = c8843dXn.r) == null) {
|
|
c0533Ix12 = null;
|
|
} else {
|
|
String e14 = ca.e(C15715hv.tOB.auto_single_form_review_type_of_work);
|
|
C14957gcv.c((Object) e14, "");
|
|
c0533Ix12 = new C0533Ix(e14, str7, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[14] = c0533Ix12;
|
|
if (c8843dXn == null || (str6 = c8843dXn.t) == null) {
|
|
c0533Ix13 = null;
|
|
} else {
|
|
String e15 = ca.e(C15715hv.tOB.auto_single_form_review_work_detail);
|
|
C14957gcv.c((Object) e15, "");
|
|
c0533Ix13 = new C0533Ix(e15, str6, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[15] = c0533Ix13;
|
|
if (c8843dXn == null || (list5 = c8843dXn.s) == null) {
|
|
c0533Ix14 = null;
|
|
} else {
|
|
String e16 = ca.e(C15715hv.tOB.auto_single_form_review_work_address);
|
|
C14957gcv.c((Object) e16, "");
|
|
c0533Ix14 = new C0533Ix(e16, C17315vjO.e(list5), null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[16] = c0533Ix14;
|
|
if (c8843dXn == null || (str5 = c8843dXn.q) == null) {
|
|
c0533Ix15 = null;
|
|
} else {
|
|
String e17 = ca.e(C15715hv.tOB.auto_single_form_review_job_title);
|
|
C14957gcv.c((Object) e17, "");
|
|
c0533Ix15 = new C0533Ix(e17, str5, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[17] = c0533Ix15;
|
|
if (c8843dXn == null || (str4 = c8843dXn.j) == null) {
|
|
c0533Ix16 = null;
|
|
} else {
|
|
String e18 = ca.e(C15715hv.tOB.auto_single_form_review_monthly_income);
|
|
C14957gcv.c((Object) e18, "");
|
|
String b2 = C6583cXR.b(str4);
|
|
C14957gcv.c((Object) b2, "");
|
|
c0533Ix16 = new C0533Ix(e18, b2, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[18] = c0533Ix16;
|
|
if (c8843dXn == null || (list4 = c8843dXn.h) == null) {
|
|
c0533Ix17 = null;
|
|
} else {
|
|
String e19 = ca.e(C15715hv.tOB.auto_single_form_review_id_card_address);
|
|
C14957gcv.c((Object) e19, "");
|
|
c0533Ix17 = new C0533Ix(e19, C17315vjO.e(list4), null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[19] = c0533Ix17;
|
|
if (c8843dXn == null || (list3 = c8843dXn.a) == null) {
|
|
c0533Ix18 = null;
|
|
} else {
|
|
String e20 = ca.e(C15715hv.tOB.auto_single_form_review_current_address);
|
|
C14957gcv.c((Object) e20, "");
|
|
c0533Ix18 = new C0533Ix(e20, C17315vjO.e(list3), null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[20] = c0533Ix18;
|
|
if (c8843dXn == null || (list2 = c8843dXn.i) == null) {
|
|
c0533Ix19 = null;
|
|
} else {
|
|
String e21 = ca.e(C15715hv.tOB.auto_single_form_review_mailing_address);
|
|
C14957gcv.c((Object) e21, "");
|
|
c0533Ix19 = new C0533Ix(e21, C17315vjO.e(list2), null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[21] = c0533Ix19;
|
|
if (c8843dXn == null || (str3 = c8843dXn.f) == null) {
|
|
c0533Ix20 = null;
|
|
} else {
|
|
String e22 = ca.e(C15715hv.tOB.auto_single_form_review_marital_status);
|
|
C14957gcv.c((Object) e22, "");
|
|
c0533Ix20 = new C0533Ix(e22, str3, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr[22] = c0533Ix20;
|
|
List d = C14881gav.d(abstractC0518ImArr);
|
|
C8843dXn c8843dXn2 = jWr2.c;
|
|
C9165dea c9165dea = c8843dXn2 != null ? c8843dXn2.w : null;
|
|
if (c9165dea != null) {
|
|
String str17 = c9165dea.e;
|
|
String str18 = c9165dea.b;
|
|
String str19 = c9165dea.c;
|
|
if (str17 == null || str18 == null || str19 == null) {
|
|
c14851gaI = C14851gaI.c;
|
|
} else {
|
|
AbstractC0518Im[] abstractC0518ImArr2 = new AbstractC0518Im[2];
|
|
String e23 = ca.e(C15715hv.tOB.auto_single_form_review_spouse_name);
|
|
C14957gcv.c((Object) e23, "");
|
|
abstractC0518ImArr2[0] = new C0533Ix(e23, str17, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
if (C14957gcv.b((Object) c9165dea.b, (Object) "THAI")) {
|
|
i = C15715hv.tOB.auto_single_form_review_spouse_id_name;
|
|
} else {
|
|
i = C15715hv.tOB.auto_single_form_review_spouse_passport_no;
|
|
}
|
|
String e24 = ca.e(i);
|
|
C14957gcv.c((Object) e24, "");
|
|
abstractC0518ImArr2[1] = new C0533Ix(e24, str19, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
C14957gcv.e(abstractC0518ImArr2, "");
|
|
C14957gcv.e(abstractC0518ImArr2, "");
|
|
c14851gaI = Arrays.asList(abstractC0518ImArr2);
|
|
C14957gcv.c(c14851gaI, "");
|
|
}
|
|
} else {
|
|
c14851gaI = C14851gaI.c;
|
|
}
|
|
d.addAll(c14851gaI);
|
|
List list6 = d;
|
|
C14957gcv.e(list6, "");
|
|
List list7 = (List) C14881gav.b((Iterable) list6, new ArrayList());
|
|
TRE tre = jWr2.a;
|
|
AbstractC0518Im[] abstractC0518ImArr3 = new AbstractC0518Im[3];
|
|
if (tre == null || (str2 = tre.e) == null) {
|
|
c0533Ix21 = null;
|
|
} else {
|
|
String e25 = ca.e(C15715hv.tOB.auto_single_form_review_country_source_of_income);
|
|
C14957gcv.c((Object) e25, "");
|
|
c0533Ix21 = new C0533Ix(e25, str2, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr3[0] = c0533Ix21;
|
|
if (tre == null || (list = tre.d) == null) {
|
|
c0533Ix22 = null;
|
|
} else {
|
|
String e26 = ca.e(C15715hv.tOB.auto_single_form_review_source_of_income);
|
|
C14957gcv.c((Object) e26, "");
|
|
ArrayList arrayList = new ArrayList();
|
|
Iterator<T> it = list.iterator();
|
|
while (it.hasNext()) {
|
|
String str20 = ((JSa) it.next()).d;
|
|
if (str20 != null) {
|
|
arrayList.add(str20);
|
|
}
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
C14957gcv.e(arrayList2, "");
|
|
C14957gcv.e("\n", "");
|
|
c0533Ix22 = new C0533Ix(e26, C14881gav.b(arrayList2, "\n", null, null, 0, null, null, 62), null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr3[1] = c0533Ix22;
|
|
if (tre != null && (str = tre.c) != null) {
|
|
String e27 = ca.e(C15715hv.tOB.auto_single_form_review_investment_objective);
|
|
C14957gcv.c((Object) e27, "");
|
|
c0533Ix23 = new C0533Ix(e27, str, null, C0533Ix.RVV.MEDIUM, null, 44);
|
|
}
|
|
abstractC0518ImArr3[2] = c0533Ix23;
|
|
C14957gcv.e(abstractC0518ImArr3, "");
|
|
C14957gcv.e(abstractC0518ImArr3, "");
|
|
return new WE(list7, (List) C14875gap.d((Object[]) abstractC0518ImArr3, new ArrayList()));
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public HBt(C15989kI c15989kI) {
|
|
super(1);
|
|
this.e = c15989kI;
|
|
}
|
|
}
|
|
}
|