package o; import android.content.res.Resources; import java.util.UUID; import o.C1974aTp; import o.ZI; /* renamed from: o.aTp, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1974aTp extends ZI { public final InterfaceC14890gbN a; public final InterfaceC14890gbN b; public String c; public final InterfaceC14890gbN d; public String e; public String g; public boolean h; public final InterfaceC14890gbN i; public String k; public final Resources l; private final C15842iz m; public String n; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1974aTp(C15842iz c15842iz, Resources resources, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15842iz, ""); C14957gcv.e(resources, ""); C14957gcv.e(c16903sI, ""); this.m = c15842iz; this.l = resources; this.e = ""; this.g = ""; this.k = ""; this.n = "MHMC"; this.c = ""; this.b = new LWm(this); this.i = new IeS(this); this.d = new Sts(this); this.a = new RVV(this); } /* renamed from: o.aTp$HBt */ /* loaded from: classes4.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } /* renamed from: o.aTp$LWm */ /* loaded from: classes4.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN { private C1974aTp d; @Override // o.InterfaceC14890gbN public final /* synthetic */ Boolean invoke() { return Boolean.valueOf(C14957gcv.b((Object) "MCMC", (Object) this.d.n)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C1974aTp c1974aTp) { super(0); this.d = c1974aTp; } } /* renamed from: o.aTp$IeS */ /* loaded from: classes4.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN { private C1974aTp a; @Override // o.InterfaceC14890gbN public final /* synthetic */ Boolean invoke() { return Boolean.valueOf(this.a.e.length() > 0); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C1974aTp c1974aTp) { super(0); this.a = c1974aTp; } } /* renamed from: o.aTp$Sts */ /* loaded from: classes4.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN { private C1974aTp a; @Override // o.InterfaceC14890gbN public final /* synthetic */ Boolean invoke() { return Boolean.valueOf(this.a.g.length() > 0); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(C1974aTp c1974aTp) { super(0); this.a = c1974aTp; } } /* renamed from: o.aTp$RVV */ /* loaded from: classes4.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private C1974aTp c; @Override // o.InterfaceC14890gbN public final /* synthetic */ Boolean invoke() { return Boolean.valueOf(this.c.k.length() == 10); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C1974aTp c1974aTp) { super(0); this.c = c1974aTp; } } public final void b() { if (a()) { ZI.IeS ieS = new ZI.IeS() { // from class: o.aTA @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9202dfK) obj).e(true); } }; if (this.f != 0) { ieS.e(this.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aTB @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9202dfK) obj).e(false); } }; if (this.f != 0) { ieS2.e(this.f); } } public final boolean a() { return this.i.invoke().booleanValue() && this.d.invoke().booleanValue() && this.a.invoke().booleanValue(); } public final void c() { String obj = UUID.randomUUID().toString(); C14957gcv.c((Object) obj, ""); C16553pKY c16553pKY = new C16553pKY(obj, this.e, this.g, this.k, this.n, this.c); if (this.f != 0) { this.f.y(); } this.m.e(new tOB(this), new saX(this), c16553pKY); } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aTp$saX */ /* loaded from: classes4.dex */ public static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR { private C1974aTp e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C1974aTp.c(this.e, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ saX(C1974aTp c1974aTp) { super(1); this.e = c1974aTp; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.aTp$tOB */ /* loaded from: classes4.dex */ public static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR { private C1974aTp e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Boolean bool) { C1974aTp.g(this.e); final C1974aTp c1974aTp = this.e; ZI.IeS ieS = new ZI.IeS(c1974aTp) { // from class: o.aTM private C1974aTp a; @Override // o.ZI.IeS public final void e(Object obj) { C1974aTp.tOB.b(this.a, (InterfaceC9202dfK) obj); } { this.a = c1974aTp; } }; if (c1974aTp.f != 0) { ieS.e(c1974aTp.f); } return C14866gag.c; } public static /* synthetic */ void b(C1974aTp c1974aTp, InterfaceC9202dfK interfaceC9202dfK) { C14957gcv.e(c1974aTp, ""); String str = c1974aTp.n; boolean unused = c1974aTp.h; interfaceC9202dfK.e(str); interfaceC9202dfK.a(true); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ tOB(C1974aTp c1974aTp) { super(1); this.e = c1974aTp; } } @Override // o.ZI public final void w_() { this.m.a(); super.w_(); } public static /* synthetic */ void e(C1974aTp c1974aTp) { C14957gcv.e(c1974aTp, ""); c1974aTp.c(); } public static /* synthetic */ void d(C1974aTp c1974aTp) { C14957gcv.e(c1974aTp, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aTH @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9202dfK) obj).a(false); } }; if (c1974aTp.f != 0) { ieS.e(c1974aTp.f); } } public static /* synthetic */ void a(C1974aTp c1974aTp) { C14957gcv.e(c1974aTp, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aTI @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9202dfK) obj).a(false); } }; if (c1974aTp.f != 0) { ieS.e(c1974aTp.f); } } public static /* synthetic */ void d(C1974aTp c1974aTp, InterfaceC9202dfK interfaceC9202dfK) { C14957gcv.e(c1974aTp, ""); interfaceC9202dfK.b(); if (c1974aTp.b.invoke().booleanValue()) { interfaceC9202dfK.d(); } } public static /* synthetic */ void c(C1974aTp c1974aTp) { C14957gcv.e(c1974aTp, ""); c1974aTp.c(); } public static final /* synthetic */ void g(C1974aTp c1974aTp) { if (c1974aTp.f != 0) { c1974aTp.f.ar_(); } } public static final /* synthetic */ void c(C1974aTp c1974aTp, Throwable th) { if (c1974aTp.b(th)) { c1974aTp.d(c1974aTp.j.e(th)); } } static { new HBt((byte) 0); } }