package o; import java.util.ArrayList; import java.util.List; import o.C15715hv; import o.C4846bhq; import o.InterfaceC9273dgd; import o.ZI; import o.wRi; /* renamed from: o.bhq, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4846bhq extends ZI implements InterfaceC4774bgX { public final NgS b; private final mJZ c; private final C16927sU d; private final C16912sN e; @InterfaceC13391fZD public C4846bhq(C16903sI c16903sI, mJZ mjz, NgS ngS, C16912sN c16912sN, C16927sU c16927sU) { super(c16903sI); this.b = ngS; this.e = c16912sN; this.c = mjz; this.d = c16927sU; } public final void b() { ZI.IeS ieS = new ZI.IeS() { // from class: o.bhv @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9273dgd.IeS) obj).y(); } }; if (this.f != 0) { ieS.e(this.f); } mJZ mjz = this.c; mjz.d(mjz.d(), new AnonymousClass1(this)); } /* renamed from: o.bhq$1, reason: invalid class name */ /* loaded from: classes4.dex */ final class AnonymousClass1 extends wRi.LWm { private C4846bhq d; AnonymousClass1(C4846bhq c4846bhq) { this.d = c4846bhq; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C0548Jeh c0548Jeh = (C0548Jeh) obj; super.onNext(c0548Jeh); C16927sU c16927sU = this.d.d; final ArrayList arrayList = new ArrayList(); SZ e = SZ.e(); e.d = c16927sU.e(C15715hv.tOB.etb_personal_info_name); e.h = c0548Jeh.f; arrayList.add(e); SZ e2 = SZ.e(); e2.d = c16927sU.e(C15715hv.tOB.etb_personal_info_id); e2.h = (String) C6583cXR.c(new Object[]{false, false, c0548Jeh.b}, -1092823629, 1092823630, (int) System.currentTimeMillis()); arrayList.add(e2); C4846bhq c4846bhq = this.d; ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.bhu private List a; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.IeS) obj2).a((List) this.a); } { this.a = arrayList; } }; if (c4846bhq.f != 0) { ieS.e(c4846bhq.f); } C16927sU c16927sU2 = this.d.d; final ArrayList arrayList2 = new ArrayList(); SZ e3 = SZ.e(); e3.d = c16927sU2.e(C15715hv.tOB.etb_personal_info_email); e3.h = c0548Jeh.a; arrayList2.add(e3); HpA hpA = c0548Jeh.c; if (hpA != null && hpA.e != null) { SZ e4 = SZ.e(); e4.d = c16927sU2.e(C15715hv.tOB.etb_personal_info_current_mailing_address); e4.h = C16927sU.d(hpA.e); arrayList2.add(e4); } else if (c0548Jeh.d != null) { HpA hpA2 = c0548Jeh.d; if (hpA2.e != null) { SZ e5 = SZ.e(); e5.d = c16927sU2.e(C15715hv.tOB.etb_personal_info_current_mailing_address); e5.h = C16927sU.d(hpA2.e); arrayList2.add(e5); } } C4846bhq c4846bhq2 = this.d; ZI.IeS ieS2 = new ZI.IeS(arrayList2) { // from class: o.bhs private List a; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.IeS) obj2).d((List) this.a); } { this.a = arrayList2; } }; if (c4846bhq2.f != 0) { ieS2.e(c4846bhq2.f); } C16927sU c16927sU3 = this.d.d; final ArrayList arrayList3 = new ArrayList(); SZ e6 = SZ.e(); e6.d = c16927sU3.e(C15715hv.tOB.etb_personal_info_job_title); e6.h = c0548Jeh.h; arrayList3.add(e6); HpA hpA3 = c0548Jeh.g; if (hpA3 != null && hpA3.e != null) { SZ e7 = SZ.e(); e7.d = c16927sU3.e(C15715hv.tOB.etb_personal_info_work_address); e7.h = C16927sU.d(hpA3.e); arrayList3.add(e7); } C4846bhq c4846bhq3 = this.d; ZI.IeS ieS3 = new ZI.IeS(arrayList3) { // from class: o.bhA private List b; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.IeS) obj2).b(this.b); } { this.b = arrayList3; } }; if (c4846bhq3.f != 0) { ieS3.e(c4846bhq3.f); } C4846bhq c4846bhq4 = this.d; ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bhx @Override // o.ZI.IeS public final void e(Object obj2) { C4846bhq.AnonymousClass1.a((InterfaceC9273dgd.IeS) obj2); } }; if (c4846bhq4.f != 0) { ieS4.e(c4846bhq4.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void a(InterfaceC9273dgd.IeS ieS) { ieS.c(false); ieS.ar_(); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { super.onError(th); C4846bhq c4846bhq = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.bht @Override // o.ZI.IeS public final void e(Object obj) { C4846bhq.AnonymousClass1.b((InterfaceC9273dgd.IeS) obj); } }; if (c4846bhq.f != 0) { ieS.e(c4846bhq.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void b(InterfaceC9273dgd.IeS ieS) { ieS.c(true); ieS.ar_(); } } /* renamed from: o.bhq$RVV */ /* loaded from: classes4.dex */ public final class RVV extends wRi.LWm { private C4846bhq c; private final C0698Mn e; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C17167uTB c17167uTB = (C17167uTB) obj; C4846bhq.c(this.c); if (this.c.f != 0) { C16912sN unused = this.c.e; final C0710Mv b = C16912sN.b(c17167uTB, this.e); C4846bhq c4846bhq = this.c; ZI.IeS ieS = new ZI.IeS(b) { // from class: o.bhy private C0710Mv d; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9273dgd.IeS) obj2).a(this.d); } { this.d = b; } }; if (c4846bhq.f != 0) { ieS.e(c4846bhq.f); } } } public RVV(C4846bhq c4846bhq, C0698Mn c0698Mn) { this.c = c4846bhq; this.e = c0698Mn; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C4846bhq.e(this.c); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C4846bhq.d(this.c); C4846bhq.c(this.c, th); } } static /* synthetic */ void e(C4846bhq c4846bhq) { if (c4846bhq.f != 0) { c4846bhq.f.ar_(); } } static /* synthetic */ void d(C4846bhq c4846bhq) { if (c4846bhq.f != 0) { c4846bhq.f.ar_(); } } static /* synthetic */ void c(C4846bhq c4846bhq, Throwable th) { if (c4846bhq.b(th)) { c4846bhq.d(c4846bhq.j.e(th)); } } static /* synthetic */ void c(C4846bhq c4846bhq) { if (c4846bhq.f != 0) { c4846bhq.f.ar_(); } } }