package o; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Locale; import o.C0690Mh; import o.C6744cbG; import o.InterfaceC9502dku; import o.ZI; /* renamed from: o.cbG, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C6744cbG extends ZI { public boolean a; public C0982Sz b; public final C15970jz c; public SB d; public final List e; private final C17529xY g; public final String h; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C6744cbG(C15970jz c15970jz, C17529xY c17529xY, String str, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c15970jz, ""); C14957gcv.e(c17529xY, ""); C14957gcv.e(str, ""); C14957gcv.e(c16903sI, ""); this.c = c15970jz; this.g = c17529xY; this.h = str; String[] strArr = {"LVL", "DSMCM"}; C14957gcv.e(strArr, ""); C14957gcv.e(strArr, ""); List asList = Arrays.asList(strArr); C14957gcv.c(asList, ""); this.e = asList; } /* renamed from: o.cbG$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C6744cbG b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(C0767ObZ c0767ObZ) { final C0767ObZ c0767ObZ2 = c0767ObZ; C14957gcv.e(c0767ObZ2, ""); C6744cbG.a(this.b); final C6744cbG c6744cbG = this.b; ZI.IeS ieS = new ZI.IeS(c6744cbG, c0767ObZ2) { // from class: o.cbT private C6744cbG b; private C0767ObZ c; @Override // o.ZI.IeS public final void e(Object obj) { C6744cbG.IeS.c(this.b, this.c, (InterfaceC9502dku.HBt) obj); } { this.b = c6744cbG; this.c = c0767ObZ2; } }; if (c6744cbG.f != 0) { ieS.e(c6744cbG.f); } return C14866gag.c; } public static /* synthetic */ void c(C6744cbG c6744cbG, C0767ObZ c0767ObZ, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); C14957gcv.e(c0767ObZ, ""); C17529xY unused = c6744cbG.g; hBt.b(C17529xY.c(c0767ObZ)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(C6744cbG c6744cbG) { super(1); this.b = c6744cbG; } } /* renamed from: o.cbG$RVV */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private C6744cbG a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C6744cbG.e(this.a, th2, C0690Mh.IeS.JUST_DISMISS); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public RVV(C6744cbG c6744cbG) { super(1); this.a = c6744cbG; } } @Override // o.ZI public final void w_() { this.c.a(); super.w_(); } public static /* synthetic */ void e(C6744cbG c6744cbG, C0982Sz c0982Sz, InterfaceC9502dku.HBt hBt) { ArrayList arrayList; C14957gcv.e(c6744cbG, ""); C14957gcv.e(c0982Sz, ""); C17529xY c17529xY = c6744cbG.g; List list = c0982Sz.a; C14957gcv.e(list, ""); if (C14957gcv.b(new Locale("th"), bBI.qs_(c17529xY.d.c.getConfiguration()).c(0))) { List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10); Iterator it = list2.iterator(); while (it.hasNext()) { arrayList2.add(((SB) it.next()).g); } arrayList = arrayList2; } else { List list3 = list; C14957gcv.e(list3, ""); ArrayList arrayList3 = new ArrayList(list3 instanceof Collection ? list3.size() : 10); Iterator it2 = list3.iterator(); while (it2.hasNext()) { arrayList3.add(((SB) it2.next()).h); } arrayList = arrayList3; } hBt.e(arrayList); } public static /* synthetic */ void b(C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); SB sb = c6744cbG.d; String str = sb != null ? sb.h : null; SB sb2 = c6744cbG.d; String str2 = sb2 != null ? sb2.g : null; StringBuilder sb3 = new StringBuilder(); sb3.append(str); sb3.append(","); sb3.append(str2); hBt.c(sb3.toString()); hBt.d(c6744cbG.a); } public static /* synthetic */ void e(C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); C0982Sz c0982Sz = c6744cbG.b; if (c0982Sz != null) { hBt.a(c0982Sz); } } public static /* synthetic */ void a(C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); SB sb = c6744cbG.d; String str = sb != null ? sb.h : null; SB sb2 = c6744cbG.d; String str2 = sb2 != null ? sb2.g : null; StringBuilder sb3 = new StringBuilder(); sb3.append(str); sb3.append(","); sb3.append(str2); hBt.c(sb3.toString()); SB sb4 = c6744cbG.d; String str3 = sb4 != null ? sb4.i : null; hBt.a(str3 != null ? str3 : ""); hBt.d(c6744cbG.a); } public static /* synthetic */ void e(boolean z, C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); hBt.d(z && c6744cbG.d != null); } public static /* synthetic */ void d(C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); SB sb = c6744cbG.d; String str = sb != null ? sb.i : null; hBt.a(str != null ? str : ""); } public static /* synthetic */ void c(C6744cbG c6744cbG, InterfaceC9502dku.HBt hBt) { C14957gcv.e(c6744cbG, ""); hBt.a(c6744cbG.d); } public static final /* synthetic */ void a(C6744cbG c6744cbG) { if (c6744cbG.f != 0) { c6744cbG.f.ar_(); } } public static final /* synthetic */ void e(C6744cbG c6744cbG, Throwable th, C0690Mh.IeS ieS) { if (c6744cbG.b(th)) { c6744cbG.d(c6744cbG.j.d(th, ieS)); } } }