package o; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import java.util.List; import o.C0242Cc; import o.C0690Mh; import o.InterfaceC9647dnj; import o.ZI; /* renamed from: o.cIw, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C6109cIw extends ZI { private List a; private final C0242Cc b; public EnumC6588cXZ c; public final C15988kH e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C6109cIw(C16903sI c16903sI, C15988kH c15988kH, C0242Cc c0242Cc) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(c15988kH, ""); C14957gcv.e(c0242Cc, ""); this.e = c15988kH; this.b = c0242Cc; this.a = C14851gaI.c; } /* renamed from: o.cIw$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C6109cIw d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6109cIw.c(this.d, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(C6109cIw c6109cIw) { super(1); this.d = c6109cIw; } } /* renamed from: o.cIw$RVV */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C6109cIw b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C6109cIw.c(this.b, list2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public RVV(C6109cIw c6109cIw) { super(1); this.b = c6109cIw; } } /* renamed from: o.cIw$HBt */ /* loaded from: classes4.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C6109cIw a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C6109cIw.c(this.a, list2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public HBt(C6109cIw c6109cIw) { super(1); this.a = c6109cIw; } } /* renamed from: o.cIw$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR { private C6109cIw c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6109cIw.c(this.c, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LWm(C6109cIw c6109cIw) { super(1); this.c = c6109cIw; } } /* renamed from: o.cIw$jbe */ /* loaded from: classes4.dex */ public static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR { private C6109cIw d; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6109cIw.c(this.d, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public jbe(C6109cIw c6109cIw) { super(1); this.d = c6109cIw; } } /* renamed from: o.cIw$saX */ /* loaded from: classes4.dex */ public static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C6109cIw c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C6109cIw.c(this.c, list2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public saX(C6109cIw c6109cIw) { super(1); this.c = c6109cIw; } } /* renamed from: o.cIw$ZqN */ /* loaded from: classes4.dex */ public static final class ZqN extends AbstractC14961gcz implements InterfaceC14894gbR { private C6109cIw b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6109cIw.c(this.b, th2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ZqN(C6109cIw c6109cIw) { super(1); this.b = c6109cIw; } } /* renamed from: o.cIw$ojQ */ /* loaded from: classes4.dex */ public static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR, C14866gag> { private C6109cIw c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(List list) { List list2 = list; C14957gcv.e(list2, ""); C6109cIw.c(this.c, list2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ojQ(C6109cIw c6109cIw) { super(1); this.c = c6109cIw; } } @Override // o.ZI public final void w_() { this.e.a(); super.w_(); } public static /* synthetic */ void a(String str, C6109cIw c6109cIw, InterfaceC9647dnj.Sts sts) { C14957gcv.e(str, ""); C14957gcv.e(c6109cIw, ""); String str2 = str; if (str2.length() == 0) { sts.b(c6109cIw.a); } else { if (c6109cIw.a.isEmpty()) { sts.b(null); sts.a(8); sts.d(0); return; } if (str2.length() <= 0 || !(!c6109cIw.a.isEmpty())) { return; } List list = c6109cIw.a; ArrayList arrayList = new ArrayList(); for (Object obj : list) { if (gdZ.d((CharSequence) String.valueOf(((C1126Wd) obj).b), (CharSequence) str2, true)) { arrayList.add(obj); } } ArrayList arrayList2 = arrayList; sts.b(arrayList2); if (arrayList2.isEmpty()) { sts.a(8); sts.d(0); return; } } sts.a(0); sts.d(8); } public static /* synthetic */ void c(C6109cIw c6109cIw, InterfaceC9647dnj.Sts sts) { C14957gcv.e(c6109cIw, ""); sts.b(c6109cIw.a); sts.d(8); } public static /* synthetic */ void e(C6109cIw c6109cIw, InterfaceC9647dnj.Sts sts) { C14957gcv.e(c6109cIw, ""); sts.b(c6109cIw.a); EnumC6588cXZ enumC6588cXZ = c6109cIw.c; if (enumC6588cXZ != null) { sts.a(enumC6588cXZ); } } public static final /* synthetic */ void c(C6109cIw c6109cIw, Throwable th) { C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK; if (c6109cIw.b(th)) { c6109cIw.d(c6109cIw.j.d(th, ieS)); } } public static final /* synthetic */ void c(final C6109cIw c6109cIw, List list) { if (c6109cIw.f != 0) { c6109cIw.f.ar_(); } C0242Cc c0242Cc = c6109cIw.b; C14957gcv.e(list, ""); List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (Vzi vzi : list2) { String str = vzi.a; String str2 = str; arrayList.add(new C1126Wd(vzi.b, vzi.d, (str2 == null || str2.length() == 0) ? 0 : Integer.parseInt(str))); } c6109cIw.a = C14881gav.d((Iterable) C14881gav.a((Iterable) arrayList, (Comparator) new C0242Cc.IeS())); ZI.IeS ieS = new ZI.IeS(c6109cIw) { // from class: o.cIx private C6109cIw c; @Override // o.ZI.IeS public final void e(Object obj) { C6109cIw.e(this.c, (InterfaceC9647dnj.Sts) obj); } { this.c = c6109cIw; } }; if (c6109cIw.f != 0) { ieS.e(c6109cIw.f); } } /* renamed from: o.cIw$Sts */ /* loaded from: classes4.dex */ public final /* synthetic */ class Sts { public static final int[] e; static { int[] iArr = new int[EnumC6588cXZ.values().length]; try { iArr[EnumC6588cXZ.OCCUPATION.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[EnumC6588cXZ.TYPE_OF_BUSINESS.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[EnumC6588cXZ.TYPE_OF_WORK.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { iArr[EnumC6588cXZ.JOB_TITLE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } e = iArr; } } }