package o; import java.util.ArrayList; import java.util.Collection; import java.util.List; import o.C0690Mh; import o.C5354brU; import o.ZI; /* renamed from: o.brU, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C5354brU extends ZI { private final C17010tF a; public final C16811rSv b; public final fSC e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C5354brU(C16903sI c16903sI, C17010tF c17010tF, C16811rSv c16811rSv) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c17010tF, ""); C14957gcv.e(c16811rSv, ""); this.a = c17010tF; this.b = c16811rSv; this.e = new fSC(); } /* renamed from: o.brU$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C5354brU a; private boolean c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(zMW zmw) { final zMW zmw2 = zmw; C14957gcv.e(zmw2, ""); final C5354brU c5354brU = this.a; final boolean z = this.c; ZI.IeS ieS = new ZI.IeS(c5354brU, zmw2, z) { // from class: o.brV private zMW c; private boolean d; private C5354brU e; @Override // o.ZI.IeS public final void e(Object obj) { C5354brU.IeS.e(this.e, this.c, this.d, (InterfaceC9329dhg) obj); } { this.e = c5354brU; this.c = zmw2; this.d = z; } }; if (c5354brU.f != 0) { ieS.e(c5354brU.f); } C5354brU.a(this.a); return C14866gag.c; } public static /* synthetic */ void e(C5354brU c5354brU, zMW zmw, boolean z, InterfaceC9329dhg interfaceC9329dhg) { C14957gcv.e(c5354brU, ""); C14957gcv.e(zmw, ""); C17010tF c17010tF = c5354brU.a; C14957gcv.e(zmw, ""); Urh urh = zmw.b; String str = z ? urh.d : urh.b; String b_ = c17010tF.b_(zmw.c); C14957gcv.c((Object) b_, ""); Urh urh2 = zmw.e; String str2 = z ? urh2.d : urh2.b; List list = zmw.a; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); for (EHZ ehz : list) { Urh urh3 = ehz.a; arrayList.add(new C0751Nt(z ? urh3.d : urh3.b, ehz.e, ehz.a.b)); } interfaceC9329dhg.d(new C0747Nq(str, b_, str2, arrayList)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(C5354brU c5354brU, boolean z) { super(1); this.a = c5354brU; this.c = z; } } /* renamed from: o.brU$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C5354brU d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C5354brU.e(this.d, th2, C0690Mh.IeS.NAVIGATE_BACK); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LWm(C5354brU c5354brU) { super(1); this.d = c5354brU; } } @Override // o.ZI public final void w_() { this.e.dispose(); super.w_(); } public static final /* synthetic */ void a(C5354brU c5354brU) { if (c5354brU.f != 0) { c5354brU.f.ar_(); } } public static final /* synthetic */ void e(C5354brU c5354brU, Throwable th, C0690Mh.IeS ieS) { if (c5354brU.b(th)) { c5354brU.d(c5354brU.j.d(th, ieS)); } } }