package o; import com.huawei.hms.support.api.entity.common.CommonConstant; import java.util.ArrayList; import o.AfS; import o.C0690Mh; import o.C15639hO; import o.C3024apg; import o.InterfaceC9068dcj; import o.ZI; /* renamed from: o.apg, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C3024apg extends ZI { private final C15639hO a; public C0367Fb b; public ArrayList c; public GT d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C3024apg(C15639hO c15639hO, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15639hO, ""); C14957gcv.e(c16903sI, ""); this.a = c15639hO; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.apg$IeS */ /* loaded from: classes3.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C3024apg b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(GT gt) { final GT gt2 = gt; C14957gcv.e(gt2, ""); this.b.d = gt2; final C3024apg c3024apg = this.b; ZI.IeS ieS = new ZI.IeS(c3024apg, gt2) { // from class: o.aps private GT d; private C3024apg e; @Override // o.ZI.IeS public final void e(Object obj) { C3024apg.IeS.d(this.e, this.d, (InterfaceC9068dcj.IeS) obj); } { this.e = c3024apg; this.d = gt2; } }; if (c3024apg.f != 0) { ieS.e(c3024apg.f); } return C14866gag.c; } public static /* synthetic */ void d(C3024apg c3024apg, GT gt, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(c3024apg, ""); C14957gcv.e(gt, ""); ieS.ar_(); ieS.a(true); ieS.c(); C3024apg.e(c3024apg, gt); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C3024apg c3024apg) { super(1); this.b = c3024apg; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.apg$LWm */ /* loaded from: classes3.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C3024apg c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { final Throwable th2 = th; C14957gcv.e(th2, ""); final C3024apg c3024apg = this.c; ZI.IeS ieS = new ZI.IeS(c3024apg, th2) { // from class: o.app private Throwable d; private C3024apg e; @Override // o.ZI.IeS public final void e(Object obj) { C3024apg.LWm.c(this.e, this.d, (InterfaceC9068dcj.IeS) obj); } { this.e = c3024apg; this.d = th2; } }; if (c3024apg.f != 0) { ieS.e(c3024apg.f); } return C14866gag.c; } public static /* synthetic */ void c(C3024apg c3024apg, Throwable th, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(c3024apg, ""); C14957gcv.e(th, ""); ieS.ar_(); ieS.e(c3024apg.j.d(th, C0690Mh.IeS.NAVIGATE_BACK)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C3024apg c3024apg) { super(1); this.c = c3024apg; } } public static /* synthetic */ void b(C3024apg c3024apg, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(c3024apg, ""); ieS.b(false); ieS.a(false); C0367Fb c0367Fb = c3024apg.b; C14866gag c14866gag = null; if (c0367Fb == null) { C14957gcv.a(""); c0367Fb = null; } String str = c0367Fb.g; if (str != null) { ZI.IeS ieS2 = new ZI.IeS() { // from class: o.api @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9068dcj.IeS) obj).y(); } }; if (c3024apg.f != 0) { ieS2.e(c3024apg.f); } C15639hO c15639hO = c3024apg.a; IeS ieS3 = new IeS(c3024apg); LWm lWm = new LWm(c3024apg); C14957gcv.e(str, ""); C14957gcv.e(ieS3, ""); C14957gcv.e(lWm, ""); c15639hO.b.e(ieS3, lWm, new AfS.IeS(new C16795rLc(str)), new C15639hO.Sts(c15639hO), c15639hO.a); c14866gag = C14866gag.c; } if (c14866gag == null) { ieS.d(); } ieS.b(); } public static /* synthetic */ void e(C3024apg c3024apg, String str, InterfaceC9068dcj.IeS ieS) { String str2 = ""; C14957gcv.e(c3024apg, ""); C14957gcv.e(str, ""); GT gt = c3024apg.d; if (gt != null) { C0367Fb c0367Fb = c3024apg.b; ArrayList arrayList = null; if (c0367Fb == null) { C14957gcv.a(""); c0367Fb = null; } ArrayList arrayList2 = c3024apg.c; if (arrayList2 == null) { C14957gcv.a(""); } else { arrayList = arrayList2; } if (!C14957gcv.b((Object) str, (Object) "PAPER")) { if (C14957gcv.b((Object) str, (Object) CommonConstant.RETKEY.EMAIL)) { str2 = gt.a; } } else { str2 = gt.c; } ieS.d(str, c0367Fb, arrayList, str2); } } public static /* synthetic */ void c(C3024apg c3024apg, String str, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(c3024apg, ""); C14957gcv.e(str, ""); if (c3024apg.d != null) { C0367Fb c0367Fb = c3024apg.b; ArrayList arrayList = null; if (c0367Fb == null) { C14957gcv.a(""); c0367Fb = null; } ArrayList arrayList2 = c3024apg.c; if (arrayList2 == null) { C14957gcv.a(""); } else { arrayList = arrayList2; } ieS.d(str, c0367Fb, arrayList); } } public static /* synthetic */ void a(GT gt, String str, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(gt, ""); C14957gcv.e(str, ""); ieS.d(gt.e); ieS.b(str.length() > 0); } public static /* synthetic */ void a(GT gt, InterfaceC9068dcj.IeS ieS) { C14957gcv.e(gt, ""); ieS.d(gt.e); String str = gt.d; int hashCode = str.hashCode(); if (hashCode == -1246479813) { if (str.equals("EASYNET")) { ieS.c(gt.b); ieS.d(true); return; } return; } if (hashCode == 66081660) { if (str.equals(CommonConstant.RETKEY.EMAIL)) { ieS.c(gt.b); ieS.b(gt.a); ieS.d(false); ieS.c(false); ieS.e(false); return; } return; } if (hashCode == 75897196 && str.equals("PAPER")) { ieS.c(gt.b); ieS.a(gt.c); ieS.d(false); ieS.c(true); ieS.e(true); } } public static final /* synthetic */ void e(C3024apg c3024apg, final GT gt) { ZI.IeS ieS = new ZI.IeS(gt) { // from class: o.apn private GT a; @Override // o.ZI.IeS public final void e(Object obj) { C3024apg.a(this.a, (InterfaceC9068dcj.IeS) obj); } { this.a = gt; } }; if (c3024apg.f != 0) { ieS.e(c3024apg.f); } } }