package o; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import o.RLF; /* renamed from: o.hP, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15641hP extends C15620hF { public final C12457eya b; final C16326nW c; final C16328nX d; public final FOr e; public final YGF f; final C16467oe g; final C16330nY h; public final CzX i; public final kqm j; final C16463oc k; final C16324nV l; private final RLF m; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C15641hP(RLF rlf, C16463oc c16463oc, FOr fOr, C12457eya c12457eya, YGF ygf, C16330nY c16330nY, C16328nX c16328nX, C16326nW c16326nW, kqm kqmVar, C16324nV c16324nV, CzX czX, C16467oe c16467oe) { super((byte) 0); C14957gcv.e(rlf, ""); C14957gcv.e(c16463oc, ""); C14957gcv.e(fOr, ""); C14957gcv.e(c12457eya, ""); C14957gcv.e(ygf, ""); C14957gcv.e(c16330nY, ""); C14957gcv.e(c16328nX, ""); C14957gcv.e(c16326nW, ""); C14957gcv.e(kqmVar, ""); C14957gcv.e(c16324nV, ""); C14957gcv.e(czX, ""); C14957gcv.e(c16467oe, ""); this.m = rlf; this.k = c16463oc; this.e = fOr; this.b = c12457eya; this.f = ygf; this.h = c16330nY; this.d = c16328nX; this.c = c16326nW; this.j = kqmVar; this.l = c16324nV; this.i = czX; this.g = c16467oe; } /* renamed from: o.hP$LWm */ /* loaded from: classes3.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C0481Ho invoke(NMw nMw) { NMw nMw2 = nMw; C14957gcv.e(nMw2, ""); C16467oe c16467oe = this.a.g; C14957gcv.e(nMw2, ""); return new C0481Ho(nMw2.c); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LWm(C15641hP c15641hP) { super(1); this.a = c15641hP; } } /* renamed from: o.hP$IeS */ /* loaded from: classes3.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C0479Hn invoke(Bct bct) { Iterator it; int i; double time; String str; int i2; double d; Bct bct2; String str2; double d2; Bct bct3 = bct; String str3 = ""; C14957gcv.e(bct3, ""); C16463oc c16463oc = this.c.k; C14957gcv.e(bct3, ""); int i3 = bct3.a; List list = bct3.c; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); Iterator it2 = list.iterator(); while (it2.hasNext()) { dBS dbs = (dBS) it2.next(); C14957gcv.e(dbs, str3); String str4 = dbs.b; int i4 = dbs.a; String str5 = dbs.e; String str6 = dbs.c; String str7 = dbs.f; String str8 = dbs.g; int parseInt = Integer.parseInt(dbs.h); String str9 = dbs.i; String str10 = str3; String str11 = dbs.d; if (dbs.b.length() == 0) { i = i3; it = it2; str = str9; time = 0.0d; } else { it = it2; i = i3; time = (C16463oc.i().parse(r2).getTime() - C16463oc.i().parse(C16463oc.g()).getTime()) / 8.64E7d; str = str9; } String str12 = dbs.b; if (str12.length() == 0) { str2 = str11; i2 = i; d = time; d2 = 0.0d; bct2 = bct3; } else { i2 = i; long time2 = C16463oc.i().parse(str12).getTime() - C16463oc.i().parse(C16463oc.g()).getTime(); d = time; bct2 = bct3; str2 = str11; d2 = (((time2 / 60000) % 60) + (((time2 / 1000) % 60) / 60.0d)) * 60.0d * 1000.0d; } arrayList.add(new C0484Hp(str4, i4, str5, str6, str7, str8, parseInt, str, str2, d, d2, dbs.i.length() > 0, C16463oc.h().isAfter(C16463oc.k(dbs.b)), c16463oc.m(dbs.b), c16463oc.m(dbs.i))); str3 = str10; bct3 = bct2; it2 = it; i3 = i2; } return new C0479Hn(i3, arrayList, C16463oc.d(bct3.b)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(C15641hP c15641hP) { super(1); this.c = c15641hP; } } public final void a(C0719NOk c0719NOk, InterfaceC14894gbR interfaceC14894gbR, InterfaceC14894gbR interfaceC14894gbR2) { C14957gcv.e(c0719NOk, ""); C14957gcv.e(interfaceC14894gbR, ""); C14957gcv.e(interfaceC14894gbR2, ""); this.m.e(interfaceC14894gbR, interfaceC14894gbR2, new RLF.LWm(c0719NOk), new IeS(this), this.a); } /* renamed from: o.hP$Sts */ /* loaded from: classes3.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C0473Hi invoke(C11117eYu c11117eYu) { C11117eYu c11117eYu2 = c11117eYu; C14957gcv.e(c11117eYu2, ""); C16328nX c16328nX = this.a.d; return C16328nX.b(c11117eYu2); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Sts(C15641hP c15641hP) { super(1); this.a = c15641hP; } } /* renamed from: o.hP$RVV */ /* loaded from: classes3.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C0485Hq invoke(Bhc bhc) { Bhc bhc2 = bhc; C14957gcv.e(bhc2, ""); return this.c.c.d(bhc2); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public RVV(C15641hP c15641hP) { super(1); this.c = c15641hP; } } /* renamed from: o.hP$HBt */ /* loaded from: classes3.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C0489Ht invoke(Yag yag) { Yag yag2 = yag; C14957gcv.e(yag2, ""); C16330nY c16330nY = this.c.h; return C16330nY.a(yag2); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public HBt(C15641hP c15641hP) { super(1); this.c = c15641hP; } } /* renamed from: o.hP$ZqN */ /* loaded from: classes3.dex */ public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR { private C15641hP c; @Override // o.InterfaceC14894gbR public final /* synthetic */ EW invoke(gkG gkg) { gkG gkg2 = gkg; C14957gcv.e(gkg2, ""); return this.c.l.e(gkg2); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ZqN(C15641hP c15641hP) { super(1); this.c = c15641hP; } } }