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

199 lines
5.9 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import o.C15715hv;
import o.InterfaceC6669cZl;
import o.ZI;
import o.wRi;
/* loaded from: classes4.dex */
public class bEV extends ZI<InterfaceC6669cZl.tOB> {
public C0928RsD a;
public int b;
private C17330vq d;
public C14470ftn e;
@InterfaceC13391fZD
public bEV(C0928RsD c0928RsD, C17330vq c17330vq, C16903sI c16903sI, C14470ftn c14470ftn) {
super(c16903sI);
this.b = 0;
this.a = c0928RsD;
this.d = c17330vq;
this.e = c14470ftn;
}
/* loaded from: classes4.dex */
public class RVV extends wRi.LWm<YIs> {
private bEV d;
public RVV(bEV bev) {
this.d = bev;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
String str;
YIs yIs = (YIs) obj;
super.onNext(yIs);
bEV.e(this.d);
C17330vq c17330vq = this.d.d;
int i = this.d.b;
final ArrayList arrayList = new ArrayList();
String[] split = yIs.g.split(" ");
SZ e = SZ.e();
StringBuilder sb = new StringBuilder();
sb.append(c17330vq.e(C15715hv.tOB.single_form_personal_info_hello));
sb.append(" ");
sb.append(split[1]);
e.d = sb.toString();
e.h = c17330vq.e(C15715hv.tOB.mf_personal_info_hello_desc);
arrayList.add(e);
SZ e2 = SZ.e();
e2.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_name);
e2.h = yIs.g;
arrayList.add(e2);
SZ e3 = SZ.e();
e3.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_gender);
e3.h = yIs.d.e;
arrayList.add(e3);
SZ e4 = SZ.e();
e4.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_nationality);
e4.h = yIs.j;
arrayList.add(e4);
SZ e5 = SZ.e();
e5.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_dob);
e5.h = c17330vq.a(yIs.b);
arrayList.add(e5);
SZ e6 = SZ.e();
e6.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_id);
e6.h = (String) C6583cXR.c(new Object[]{true, false, yIs.c}, -1092823629, 1092823630, (int) System.currentTimeMillis());
arrayList.add(e6);
SZ e7 = SZ.e();
e7.d = c17330vq.e(C15715hv.tOB.single_form_personal_info_email);
e7.h = yIs.a;
arrayList.add(e7);
if (i == 0) {
SZ e8 = SZ.e();
e8.d = c17330vq.e(C15715hv.tOB.mf_personal_info_occupation);
e8.h = yIs.i;
arrayList.add(e8);
SZ e9 = SZ.e();
e9.d = c17330vq.e(C15715hv.tOB.mf_personal_info_source_income);
e9.h = yIs.k;
arrayList.add(e9);
}
SZ e10 = SZ.e();
e10.d = c17330vq.e(C15715hv.tOB.auto_single_form_personal_info_mobile_no);
e10.a = "MOBILE_NUMBER";
if (yIs.h == null) {
str = "";
} else {
str = yIs.h.get(0).b;
}
e10.h = C6583cXR.z(str);
e10.f = C17330vq.d(yIs.h);
List<String> d = C17330vq.d(yIs.h);
ArrayList arrayList2 = new ArrayList();
Iterator<String> it = d.iterator();
while (it.hasNext()) {
arrayList2.add(C6583cXR.z(it.next()));
}
e10.c = arrayList2;
e10.j = true;
arrayList.add(e10);
bEV bev = this.d;
ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.bEZ
private List b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6669cZl.tOB) obj2).a(this.b);
}
{
this.b = arrayList;
}
};
if (bev.f != 0) {
ieS.e(bev.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
bEV.c(this.d);
bEV.c(this.d, th);
}
}
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<Pag> {
private bEV d;
public Sts(bEV bev) {
this.d = bev;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
bEV.d(this.d);
bEV bev = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bEX
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC6669cZl.tOB) obj2).c();
}
};
if (bev.f != 0) {
ieS.e(bev.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
bEV.j(this.d);
bEV.e(this.d, th);
}
}
static /* synthetic */ void e(bEV bev) {
if (bev.f != 0) {
bev.f.ar_();
}
}
static /* synthetic */ void c(bEV bev) {
if (bev.f != 0) {
bev.f.ar_();
}
}
static /* synthetic */ void c(bEV bev, Throwable th) {
if (bev.b(th)) {
bev.d(bev.j.e(th));
}
}
static /* synthetic */ void d(bEV bev) {
if (bev.f != 0) {
bev.f.ar_();
}
}
static /* synthetic */ void j(bEV bev) {
if (bev.f != 0) {
bev.f.ar_();
}
}
static /* synthetic */ void e(bEV bev, Throwable th) {
if (bev.b(th)) {
bev.d(bev.j.e(th));
}
}
}