package o; import java.util.List; import o.C0690Mh; import o.C15715hv; import o.C15716hvG; import o.InterfaceC9642dne; import o.ZI; /* renamed from: o.cIr, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C6104cIr extends ZI { private final SMl a; public final C0276Cy d; public final C15994kL e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C6104cIr(C15994kL c15994kL, SMl sMl, C0276Cy c0276Cy, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15994kL, ""); C14957gcv.e(sMl, ""); C14957gcv.e(c0276Cy, ""); C14957gcv.e(c16903sI, ""); this.e = c15994kL; this.a = sMl; this.d = c0276Cy; } /* renamed from: o.cIr$RVV */ /* loaded from: classes4.dex */ public final /* synthetic */ class RVV extends C14954gcs implements InterfaceC14894gbR { @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(WF wf) { WF wf2 = wf; C14957gcv.e(wf2, ""); C6104cIr.d((C6104cIr) this.f, wf2); return C14866gag.c; } public RVV(Object obj) { super(1, obj, C6104cIr.class, "onSuccessSelectAccount", "onSuccessSelectAccount(Lcom/scb/phone/presentation/model/display/singleform/SingleFormSelectAccountDisplay;)V"); } } /* renamed from: o.cIr$LWm */ /* loaded from: classes4.dex */ public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR { @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6104cIr.a((C6104cIr) this.f, th2); return C14866gag.c; } public LWm(Object obj) { super(1, obj, C6104cIr.class, "onErrorSelectAccount", "onErrorSelectAccount(Ljava/lang/Throwable;)V"); } } private static boolean b(WF wf, String str) { int hashCode = str.hashCode(); if (hashCode != -948163410) { if (hashCode == -948055133) { if (str.equals("SINGLE_FORM_MF_SCBS") && (!wf.c.isEmpty()) && (!wf.e.isEmpty())) { return true; } } else if (hashCode == 617235878 && str.equals("SINGLE_FORM_SCBS_ONLY") && !wf.e.isEmpty()) { return true; } } else if (str.equals("SINGLE_FORM_MF_ONLY") && !wf.c.isEmpty()) { return true; } return false; } /* renamed from: o.cIr$HBt */ /* loaded from: classes4.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private C6104cIr b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Boolean bool) { C6104cIr.a(this.b); C6104cIr c6104cIr = this.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.cIv @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9642dne.Sts) obj).b(); } }; if (c6104cIr.f != 0) { ieS.e(c6104cIr.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public HBt(C6104cIr c6104cIr) { super(1); this.b = c6104cIr; } } /* renamed from: o.cIr$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C6104cIr a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6104cIr.c(this.a, th2, C0690Mh.IeS.JUST_DISMISS); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(C6104cIr c6104cIr) { super(1); this.a = c6104cIr; } } @Override // o.ZI public final void w_() { super.w_(); this.e.a(); } /* renamed from: o.cIr$Sts */ /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } public static /* synthetic */ void c(WF wf, List list, C6104cIr c6104cIr, List list2, InterfaceC9642dne.Sts sts) { boolean z; boolean z2; boolean z3; int i; boolean z4; boolean z5; boolean z6; int i2; boolean z7; boolean z8; boolean z9; C14957gcv.e(wf, ""); C14957gcv.e(list, ""); C14957gcv.e(c6104cIr, ""); C14957gcv.e(list2, ""); if (wf.b && wf.d) { sts.g(); int size = list.size(); sts.a(list, (size <= 0 || size >= 11) ? 8 : 0); if (c6104cIr.a.d.t()) { i2 = C15715hv.tOB.auto_single_form_select_account_mf_omnibus_title; } else { i2 = C15715hv.tOB.auto_single_form_select_account_mf_title; } sts.c(i2); int size2 = list2.size(); sts.e(list2, (size2 <= 0 || size2 >= 11) ? 8 : 0); sts.d(); sts.b(b(wf, "SINGLE_FORM_MF_SCBS")); C15716hvG.RVV rvv = C15716hvG.d; z7 = C15716hvG.a; z8 = C15716hvG.e; z9 = C15716hvG.b; sts.e(C15716hvG.RVV.d("investment_onboard_selectacc", z7, z8, z9, null)); return; } if (wf.b && !wf.d) { sts.c(); int size3 = list.size(); sts.a(list, (size3 <= 0 || size3 >= 11) ? 8 : 0); if (c6104cIr.a.d.t()) { i = C15715hv.tOB.auto_single_form_select_account_mf_omnibus_title; } else { i = C15715hv.tOB.auto_single_form_select_account_mf_title; } sts.c(i); sts.b(b(wf, "SINGLE_FORM_MF_ONLY")); C15716hvG.RVV rvv2 = C15716hvG.d; z4 = C15716hvG.a; z5 = C15716hvG.e; z6 = C15716hvG.b; sts.e(C15716hvG.RVV.d("investment_onboard_selectacc", z4, z5, z6, null)); return; } if (!wf.b && wf.d) { sts.e(); int size4 = list2.size(); sts.e(list2, (size4 <= 0 || size4 >= 11) ? 8 : 0); sts.b(b(wf, "SINGLE_FORM_SCBS_ONLY")); C15716hvG.RVV rvv3 = C15716hvG.d; z = C15716hvG.a; z2 = C15716hvG.e; z3 = C15716hvG.b; sts.e(C15716hvG.RVV.d("investment_onboard_selectacc", z, z2, z3, null)); return; } c6104cIr.c(C15715hv.tOB.error_generic, C0690Mh.IeS.NAVIGATE_BACK); } public static /* synthetic */ void e(C6104cIr c6104cIr) { C14957gcv.e(c6104cIr, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.cIt @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9642dne.Sts) obj).a(); } }; if (c6104cIr.f != 0) { ieS.e(c6104cIr.f); } } public static final /* synthetic */ void a(C6104cIr c6104cIr) { if (c6104cIr.f != 0) { c6104cIr.f.ar_(); } } public static final /* synthetic */ void a(final C6104cIr c6104cIr, Throwable th) { Runnable runnable = new Runnable(c6104cIr) { // from class: o.cIq private C6104cIr d; @Override // java.lang.Runnable public final void run() { C6104cIr.e(this.d); } { this.d = c6104cIr; } }; if (c6104cIr.b(th)) { c6104cIr.d(c6104cIr.j.c(th, runnable)); } } public static final /* synthetic */ void d(final C6104cIr c6104cIr, final WF wf) { if (c6104cIr.f != 0) { c6104cIr.f.ar_(); } final List list = wf.c; final List list2 = wf.e; ZI.IeS ieS = new ZI.IeS(wf, list, c6104cIr, list2) { // from class: o.cIn private WF a; private List b; private C6104cIr c; private List d; @Override // o.ZI.IeS public final void e(Object obj) { C6104cIr.c(this.a, this.d, this.c, this.b, (InterfaceC9642dne.Sts) obj); } { this.a = wf; this.d = list; this.c = c6104cIr; this.b = list2; } }; if (c6104cIr.f != 0) { ieS.e(c6104cIr.f); } } public static final /* synthetic */ void c(C6104cIr c6104cIr, Throwable th, C0690Mh.IeS ieS) { if (c6104cIr.b(th)) { c6104cIr.d(c6104cIr.j.d(th, ieS)); } } static { new Sts((byte) 0); } }