package o; import java.util.List; import o.InterfaceC6618cYI; import o.ZI; /* renamed from: o.aAz */ /* loaded from: classes4.dex */ public class C1333aAz extends ZI { private final C17634yY a; private final Oqm c; @InterfaceC13391fZD public C1333aAz(C16903sI c16903sI, C17634yY c17634yY, Oqm oqm) { super(c16903sI); this.a = c17634yY; this.c = oqm; } public final void b(C0367Fb c0367Fb) { if ("MCARD".equalsIgnoreCase(c0367Fb.x) && c0367Fb.f != null && c0367Fb.i != null) { ZI.IeS ieS = new ZI.IeS(c0367Fb) { // from class: o.aAN private C0367Fb a; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).a(this.a); } { this.a = c0367Fb; } }; if (this.f != 0) { ieS.e(this.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aAM @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).b(); } }; if (this.f != 0) { ieS2.e(this.f); } } public static /* synthetic */ void c(boolean z, InterfaceC6618cYI.RVV rvv) { rvv.d(z); rvv.g(); rvv.c(false); } private static boolean d(C0367Fb c0367Fb) { return "B6".equals(c0367Fb.f8169o) && "BLOCK".equals(c0367Fb.u); } public static /* synthetic */ void d(C1333aAz c1333aAz, C0367Fb c0367Fb, InterfaceC6618cYI.RVV rvv) { if ("MCARD".equalsIgnoreCase(c0367Fb.x)) { rvv.e(c0367Fb); } else { rvv.b(c0367Fb); } aAO aao = new aAO(false); if (c1333aAz.f != 0) { aao.e(c1333aAz.f); } } public static /* synthetic */ void d(C1333aAz c1333aAz, InterfaceC6618cYI.RVV rvv) { String b_; rvv.i(); C17634yY c17634yY = c1333aAz.a; String M = c1333aAz.c.c.M(); C14957gcv.e(M, ""); if (gdZ.a("th", M, true)) { b_ = c17634yY.b_("/point/image/footer/footer_banner_th.png"); C14957gcv.c((Object) b_, ""); } else { b_ = c17634yY.b_("/point/image/footer/footer_banner_en.png"); C14957gcv.c((Object) b_, ""); } rvv.b(b_); } public static /* synthetic */ void a(C0367Fb c0367Fb, InterfaceC6618cYI.RVV rvv) { if (d(c0367Fb)) { rvv.e(); } else { rvv.d(); } } public final void e(C0367Fb c0367Fb, boolean z) { if (z) { if (d(c0367Fb)) { ZI.IeS ieS = new ZI.IeS() { // from class: o.aAA @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).c(); } }; if (this.f != 0) { ieS.e(this.f); } } else { List list = c0367Fb.c; if (list != null && !list.isEmpty() && list.contains("SHOW_POINTX_ONBOARD_BANNER")) { ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.aAB private C1333aAz d; @Override // o.ZI.IeS public final void e(Object obj) { C1333aAz.d(this.d, (InterfaceC6618cYI.RVV) obj); } { this.d = this; } }; if (this.f != 0) { ieS2.e(this.f); } } else { ZI.IeS ieS3 = new ZI.IeS() { // from class: o.aAD @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).f(); } }; if (this.f != 0) { ieS3.e(this.f); } } } } if (!c0367Fb.M) { ZI.IeS ieS4 = new ZI.IeS(c0367Fb) { // from class: o.aAJ private C0367Fb c; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).a(this.c.ac); } { this.c = c0367Fb; } }; if (this.f != 0) { ieS4.e(this.f); } } else if (c0367Fb.ab == null) { ZI.IeS ieS5 = new ZI.IeS() { // from class: o.aAw @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).h(); } }; if (this.f != 0) { ieS5.e(this.f); } } else if ("-1".equals(c0367Fb.ab)) { ZI.IeS ieS6 = new ZI.IeS() { // from class: o.aAF @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).j(); } }; if (this.f != 0) { ieS6.e(this.f); } } else if ("BLOCK".equalsIgnoreCase(c0367Fb.u)) { ZI.IeS ieS7 = new ZI.IeS(this, c0367Fb) { // from class: o.aAG private C0367Fb a; private C1333aAz d; @Override // o.ZI.IeS public final void e(Object obj) { C1333aAz.d(this.d, this.a, (InterfaceC6618cYI.RVV) obj); } { this.d = this; this.a = c0367Fb; } }; if (this.f != 0) { ieS7.e(this.f); } } else { if ("MCARD".equalsIgnoreCase(c0367Fb.x)) { ZI.IeS ieS8 = new ZI.IeS(c0367Fb) { // from class: o.aAH private C0367Fb d; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).e(this.d); } { this.d = c0367Fb; } }; if (this.f != 0) { ieS8.e(this.f); } } else { ZI.IeS ieS9 = new ZI.IeS(c0367Fb) { // from class: o.aAI private C0367Fb e; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).b(this.e); } { this.e = c0367Fb; } }; if (this.f != 0) { ieS9.e(this.f); } } aAO aao = new aAO(c0367Fb.ag); if (this.f != 0) { aao.e(this.f); } } ZI.IeS ieS10 = new ZI.IeS(c0367Fb.af) { // from class: o.aAE private boolean c; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6618cYI.RVV) obj).a(this.c); } { this.c = r1; } }; if (this.f != 0) { ieS10.e(this.f); } } }