package o; import java.util.List; import o.C1822aPb; import o.InterfaceC6632cYj; import o.ZI; /* renamed from: o.aPb, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1822aPb extends ZC { private final C0297Dm b; private final Xky c; private final C15805ik e; private final String g; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1822aPb(C15805ik c15805ik, C0297Dm c0297Dm, Xky xky, String str, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15805ik, ""); C14957gcv.e(c0297Dm, ""); C14957gcv.e(xky, ""); C14957gcv.e(str, ""); C14957gcv.e(c16903sI, ""); this.e = c15805ik; this.b = c0297Dm; this.c = xky; this.g = str; } @Override // o.ZC public final AbstractC15611hB a() { return this.e; } /* renamed from: o.aPb$HBt */ /* loaded from: classes4.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private C1822aPb c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(pmX pmx) { final pmX pmx2 = pmx; C14957gcv.e(pmx2, ""); C1822aPb.d(this.c); C1822aPb c1822aPb = this.c; String str = pmx2.b.e; C14957gcv.c((Object) str, ""); C1822aPb.d(c1822aPb, str); C1822aPb c1822aPb2 = this.c; ZI.IeS ieS = new ZI.IeS(pmx2) { // from class: o.aPf private pmX a; @Override // o.ZI.IeS public final void e(Object obj) { C1822aPb.HBt.b(this.a, (InterfaceC6632cYj.IeS) obj); } { this.a = pmx2; } }; if (c1822aPb2.f != 0) { ieS.e(c1822aPb2.f); } List list = pmx2.a; if (list == null || list.isEmpty()) { C1822aPb c1822aPb3 = this.c; ZI.IeS ieS2 = new ZI.IeS() { // from class: o.aPi @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).j(); } }; if (c1822aPb3.f != 0) { ieS2.e(c1822aPb3.f); } } else { final C1822aPb c1822aPb4 = this.c; ZI.IeS ieS3 = new ZI.IeS(c1822aPb4, pmx2) { // from class: o.aPg private pmX c; private C1822aPb d; @Override // o.ZI.IeS public final void e(Object obj) { C1822aPb.HBt.d(this.d, this.c, (InterfaceC6632cYj.IeS) obj); } { this.d = c1822aPb4; this.c = pmx2; } }; if (c1822aPb4.f != 0) { ieS3.e(c1822aPb4.f); } } return C14866gag.c; } public static /* synthetic */ void d(C1822aPb c1822aPb, pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(c1822aPb, ""); C14957gcv.e(pmx, ""); List c = c1822aPb.b.c(pmx.a, c1822aPb.c.M()); C14957gcv.c(c, ""); ieS.b(c); } public static /* synthetic */ void b(pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(pmx, ""); ieS.e(String.valueOf(pmx.b.b)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C1822aPb c1822aPb) { super(1); this.c = c1822aPb; } } /* renamed from: o.aPb$Sts */ /* loaded from: classes4.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private C1822aPb d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); C1822aPb.d(this.d); C1822aPb c1822aPb = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.aPo @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).h(); } }; if (c1822aPb.f != 0) { ieS.e(c1822aPb.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(C1822aPb c1822aPb) { super(1); this.d = c1822aPb; } } /* renamed from: o.aPb$IeS */ /* loaded from: classes4.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C1822aPb d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(pmX pmx) { final pmX pmx2 = pmx; C14957gcv.e(pmx2, ""); C1822aPb c1822aPb = this.d; ZI.IeS ieS = new ZI.IeS() { // from class: o.aPa @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).d(); } }; if (c1822aPb.f != 0) { ieS.e(c1822aPb.f); } C14957gcv.c(pmx2.a, ""); if (!r1.isEmpty()) { C1822aPb c1822aPb2 = this.d; String str = pmx2.b.e; C14957gcv.c((Object) str, ""); C1822aPb.d(c1822aPb2, str); final C1822aPb c1822aPb3 = this.d; ZI.IeS ieS2 = new ZI.IeS(c1822aPb3, pmx2) { // from class: o.aPe private C1822aPb b; private pmX c; @Override // o.ZI.IeS public final void e(Object obj) { C1822aPb.IeS.d(this.b, this.c, (InterfaceC6632cYj.IeS) obj); } { this.b = c1822aPb3; this.c = pmx2; } }; if (c1822aPb3.f != 0) { ieS2.e(c1822aPb3.f); } } return C14866gag.c; } public static /* synthetic */ void d(C1822aPb c1822aPb, pmX pmx, InterfaceC6632cYj.IeS ieS) { C14957gcv.e(c1822aPb, ""); C14957gcv.e(pmx, ""); List c = c1822aPb.b.c(pmx.a, c1822aPb.c.M()); C14957gcv.c(c, ""); ieS.b(c); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C1822aPb c1822aPb) { super(1); this.d = c1822aPb; } } /* renamed from: o.aPb$LWm */ /* loaded from: classes4.dex */ static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C1822aPb b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { C14957gcv.e(th, ""); C1822aPb c1822aPb = this.b; ZI.IeS ieS = new ZI.IeS() { // from class: o.aPh @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).d(); } }; if (c1822aPb.f != 0) { ieS.e(c1822aPb.f); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C1822aPb c1822aPb) { super(1); this.b = c1822aPb; } } @Override // o.ZC public final void c() { ZI.IeS ieS = new ZI.IeS() { // from class: o.aPc @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6632cYj.IeS) obj).i(); } }; if (this.f != 0) { ieS.e(this.f); } this.e.d(new IeS(this), new LWm(this), new C15601gyZ(this.d, this.a, this.g)); } public static final /* synthetic */ void d(C1822aPb c1822aPb) { if (c1822aPb.f != 0) { c1822aPb.f.aq_(); } } public static final /* synthetic */ void d(C1822aPb c1822aPb, String str) { C14957gcv.e(str, ""); c1822aPb.a = str; } @Override // o.ZC public final void e(String str) { C14957gcv.e(str, ""); if (this.f != 0) { this.f.v(); } this.e.d(new HBt(this), new Sts(this), new C15601gyZ(this.d, this.a, this.g)); } }