package o; import java.util.List; import o.C0690Mh; import o.InterfaceC9321dhY; import o.SYy; import o.ZI; /* renamed from: o.byA, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C5704byA extends ZI { public final C15771iW a; public C0804Oy c; public static final /* synthetic */ void b(C5704byA c5704byA, final C0797Os c0797Os) { C0804Oy c0804Oy = c5704byA.c; String str = c0804Oy != null ? c0804Oy.g : null; c0797Os.c.m = str; c0797Os.d.ah = str; final List list = c0797Os.b; final int size = list.size(); final String str2 = "bill_payment"; ZI.IeS ieS = new ZI.IeS(size, list, c0797Os, str2) { // from class: o.byE private String a; private C0797Os b; private int c; private List d; @Override // o.ZI.IeS public final void e(Object obj) { C5704byA.b(this.c, this.d, this.b, this.a, (InterfaceC9321dhY.LWm) obj); } { this.c = size; this.d = list; this.b = c0797Os; this.a = str2; } }; if (c5704byA.f != 0) { ieS.e(c5704byA.f); } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C5704byA(C15771iW c15771iW, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15771iW, ""); C14957gcv.e(c16903sI, ""); this.a = c15771iW; } /* renamed from: o.byA$LWm */ /* loaded from: classes4.dex */ public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR { @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(C0797Os c0797Os) { C0797Os c0797Os2 = c0797Os; C14957gcv.e(c0797Os2, ""); C5704byA.b((C5704byA) this.f, c0797Os2); return C14866gag.c; } public LWm(Object obj) { super(1, obj, C5704byA.class, "onInitiatePaymentSuccess", "onInitiatePaymentSuccess(Lcom/scb/phone/presentation/model/display/insurance/InitiatePaymentDisplay;)V"); } } /* renamed from: o.byA$Sts */ /* loaded from: classes4.dex */ public final /* synthetic */ class Sts extends C14954gcs implements InterfaceC14894gbR { @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C5704byA.e((C5704byA) this.f, th2); return C14866gag.c; } public Sts(Object obj) { super(1, obj, C5704byA.class, "onInitiatePaymentError", "onInitiatePaymentError(Ljava/lang/Throwable;)V"); } } @Override // o.ZI public final void w_() { super.w_(); this.a.a(); } /* renamed from: o.byA$RVV */ /* loaded from: classes4.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } public static /* synthetic */ void c(C0804Oy c0804Oy, InterfaceC9321dhY.LWm lWm) { C14957gcv.e(c0804Oy, ""); AbstractC0805Oz abstractC0805Oz = c0804Oy.a; if (abstractC0805Oz != null) { if (abstractC0805Oz instanceof C0798Ot) { lWm.c((C0798Ot) abstractC0805Oz); } else if (abstractC0805Oz instanceof C0802Ow) { lWm.d((C0802Ow) abstractC0805Oz); } } } public static /* synthetic */ void b(C5704byA c5704byA, InterfaceC9321dhY.LWm lWm) { MZT mzt; C14957gcv.e(c5704byA, ""); SYy.RVV rvv = SYy.a; C0804Oy c0804Oy = c5704byA.c; String str = null; String str2 = c0804Oy != null ? c0804Oy.j : null; if (str2 == null) { str2 = ""; } C0804Oy c0804Oy2 = c5704byA.c; if (c0804Oy2 != null && (mzt = c0804Oy2.h) != null) { str = mzt.name(); } if (str == null) { str = ""; } C14957gcv.e(str2, ""); C14957gcv.e(str, ""); lWm.d(SYy.RVV.c("insurance_port_renewal", str2, str)); } public static /* synthetic */ void d(C0804Oy c0804Oy, InterfaceC9321dhY.LWm lWm) { C14957gcv.e(c0804Oy, ""); OB ob = c0804Oy.d; if (ob instanceof C0787Op) { lWm.e((C0787Op) ob); } else if (ob instanceof C0799Ou) { lWm.b((C0799Ou) ob); } else if (ob == null) { lWm.d(); } } public static /* synthetic */ void b(int i, List list, C0797Os c0797Os, String str, InterfaceC9321dhY.LWm lWm) { C14957gcv.e(list, ""); C14957gcv.e(c0797Os, ""); C14957gcv.e(str, ""); if (i == 1) { String str2 = (String) list.get(0); c0797Os.c.l = str2; if (C14957gcv.b((Object) str2, (Object) YL.CREDIT_CARD_INSTALLMENT_PAYMENT_PLAN.code) || C14957gcv.b((Object) str2, (Object) YL.CREDIT_CARD_FULL_AMOUNT.code)) { lWm.a(c0797Os.c, YY.INSURANCE_PORT); return; } else { lWm.a(c0797Os.d, str, YY.INSURANCE_PORT); return; } } if (i > 1) { if (list.contains(YL.BILL_PAYMENT.code)) { c0797Os.c.l = YL.BILL_PAYMENT.code; lWm.d(c0797Os.c, str, YY.INSURANCE_PORT); return; } else { c0797Os.c.l = YL.CREDIT_CARD_FULL_AMOUNT.code; lWm.a(c0797Os.c, YY.INSURANCE_PORT); return; } } lWm.b(); } public static final /* synthetic */ void e(C5704byA c5704byA, Throwable th) { C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS; if (c5704byA.b(th)) { c5704byA.d(c5704byA.j.d(th, ieS)); } } static { new RVV((byte) 0); } }