package o; import o.C0690Mh; import o.C15715hv; import o.C15716hvG; import o.InterfaceC9645dnh; import o.hca; /* loaded from: classes4.dex */ public final class cHX extends ZI { public final CQ a; public final C15990kJ c; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public cHX(C16903sI c16903sI, C15990kJ c15990kJ, CQ cq) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c15990kJ, ""); C14957gcv.e(cq, ""); this.c = c15990kJ; this.a = cq; } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private cHX c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); cHX.d(this.c, th2, C0690Mh.IeS.NAVIGATE_BACK); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(cHX chx) { super(1); this.c = chx; } } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private C0371Fd c; private cHX d; private InterfaceC9645dnh.Sts e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(EyW eyW) { boolean z; boolean z2; boolean z3; EyW eyW2 = eyW; C14957gcv.e(eyW2, ""); cHX.b(this.d); String str = eyW2.e; if (str == null) { str = ""; } if (str.length() != 0) { C15990kJ c15990kJ = this.d.c; C14957gcv.e(str, ""); hca hcaVar = c15990kJ.d; C14957gcv.e(str, ""); hcaVar.e.c(str); this.e.d(this.c); } else { cHX chx = this.d; int i = C15715hv.tOB.error_generic_resource; C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK; C16903sI c16903sI = chx.j; chx.d(c16903sI.c((String) null, c16903sI.e(i), ieS)); } InterfaceC9645dnh.Sts sts = this.e; C15716hvG.RVV rvv = C15716hvG.d; z = C15716hvG.a; z2 = C15716hvG.e; z3 = C15716hvG.b; sts.d(C15716hvG.RVV.d("investment_onboard_termandcon", z, z2, z3, null)); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(cHX chx, InterfaceC9645dnh.Sts sts, C0371Fd c0371Fd) { super(1); this.d = chx; this.e = sts; this.c = c0371Fd; } } @Override // o.ZI public final void w_() { this.c.a(); super.w_(); } public static /* synthetic */ void b(InterfaceC9645dnh.Sts sts) { boolean z; boolean z2; boolean z3; C15716hvG.RVV rvv = C15716hvG.d; z = C15716hvG.a; z2 = C15716hvG.e; z3 = C15716hvG.b; sts.d(C15716hvG.RVV.d("investment_onboard_termandcon", z, z2, z3, null)); sts.e(); } public static /* synthetic */ void b(cHX chx, String str, C0371Fd c0371Fd, InterfaceC9645dnh.Sts sts) { C14957gcv.e(chx, ""); C14957gcv.e(c0371Fd, ""); if (chx.f != 0) { chx.f.y(); } C15990kJ c15990kJ = chx.c; RVV rvv = new RVV(chx, sts, c0371Fd); LWm lWm = new LWm(chx); if (str == null) { str = ""; } C14957gcv.e(rvv, ""); C14957gcv.e(lWm, ""); C14957gcv.e(str, ""); c15990kJ.d.e(rvv, lWm, new hca.HBt(str), new fSC()); } public static /* synthetic */ void e(InterfaceC9645dnh.Sts sts) { boolean z; boolean z2; boolean z3; C15716hvG.RVV rvv = C15716hvG.d; z = C15716hvG.a; z2 = C15716hvG.e; z3 = C15716hvG.b; sts.d(C15716hvG.RVV.d("investment_onboard_termandcon", z, z2, z3, null)); sts.a(); } public static final /* synthetic */ void b(cHX chx) { if (chx.f != 0) { chx.f.ar_(); } } public static final /* synthetic */ void d(cHX chx, Throwable th, C0690Mh.IeS ieS) { if (chx.b(th)) { chx.d(chx.j.d(th, ieS)); } } }