package o; import o.InterfaceC6629cYg; import o.ZI; /* renamed from: o.Zm */ /* loaded from: classes3.dex */ public abstract class AbstractC1278Zm extends ZI { private String a; public boolean b; private final C17767zc c; private final olI d; public IeS e; /* renamed from: o.Zm$IeS */ /* loaded from: classes3.dex */ public enum IeS { NEW, CONFIRM } public abstract void c(String str); public AbstractC1278Zm(olI oli, C16903sI c16903sI, C17767zc c17767zc) { super(c16903sI); this.d = oli; this.c = c17767zc; } public final void a(String str) { if (this.e == IeS.NEW) { this.a = str; TV a = C17767zc.a(olI.c(str)); ZI.IeS ieS = new ZI.IeS(a) { // from class: o.Zs private TV a; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6629cYg) obj).b(this.a); } { this.a = a; } }; if (this.f != 0) { ieS.e(this.f); } if (a == TV.ERROR) { ZI.IeS ieS2 = new ZI.IeS() { // from class: o.Zu @Override // o.ZI.IeS public final void e(Object obj) { AbstractC1278Zm.a((InterfaceC6629cYg) obj); } }; if (this.f != 0) { ieS2.e(this.f); return; } return; } ZI.IeS ieS3 = new ZI.IeS() { // from class: o.Zt @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6629cYg) obj).e(); } }; if (this.f != 0) { ieS3.e(this.f); return; } return; } if (this.e == IeS.CONFIRM) { if (!this.a.equalsIgnoreCase(str)) { ZI.IeS ieS4 = new ZI.IeS() { // from class: o.Zz @Override // o.ZI.IeS public final void e(Object obj) { AbstractC1278Zm.c((InterfaceC6629cYg) obj); } }; if (this.f != 0) { ieS4.e(this.f); return; } return; } c(this.a); } } public static /* synthetic */ void a(InterfaceC6629cYg interfaceC6629cYg) { interfaceC6629cYg.b(); interfaceC6629cYg.d(); } public static /* synthetic */ void c(InterfaceC6629cYg interfaceC6629cYg) { interfaceC6629cYg.d(); interfaceC6629cYg.h(); } public final void d() { this.e = IeS.NEW; C1288Zr c1288Zr = new C1288Zr(); if (this.f != 0) { c1288Zr.e(this.f); } } public static /* synthetic */ void d(InterfaceC6629cYg interfaceC6629cYg) { interfaceC6629cYg.d(); interfaceC6629cYg.b(); interfaceC6629cYg.g(); interfaceC6629cYg.e(0); interfaceC6629cYg.a(); } public void a() { this.e = IeS.CONFIRM; ZI.IeS ieS = new ZI.IeS() { // from class: o.Zx @Override // o.ZI.IeS public final void e(Object obj) { AbstractC1278Zm.b((InterfaceC6629cYg) obj); } }; if (this.f != 0) { ieS.e(this.f); } } public static /* synthetic */ void b(InterfaceC6629cYg interfaceC6629cYg) { interfaceC6629cYg.a(); interfaceC6629cYg.d(); interfaceC6629cYg.j(); interfaceC6629cYg.e(4); } public static /* synthetic */ void e(InterfaceC6629cYg interfaceC6629cYg) { interfaceC6629cYg.a(); interfaceC6629cYg.b(); } public void c() { if (this.e == IeS.CONFIRM) { this.e = IeS.NEW; C1288Zr c1288Zr = new C1288Zr(); if (this.f != 0) { c1288Zr.e(this.f); } } } public void e() { this.e = IeS.NEW; C1288Zr c1288Zr = new C1288Zr(); if (this.f != 0) { c1288Zr.e(this.f); } } }