what-the-bank/sources/o/C16992sv.java

292 lines
9.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.sv, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16992sv extends C16157lj {
private static final List<EnumC0622Kw> b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16992sv(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.sv$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
static {
new Sts((byte) 0);
EnumC0622Kw[] enumC0622KwArr = {EnumC0622Kw.SPOUSE_NATIONAL_ID, EnumC0622Kw.SPOUSE_TITLE, EnumC0622Kw.SPOUSE_FIRST_NAME, EnumC0622Kw.SPOUSE_LAST_NAME};
C14957gcv.e(enumC0622KwArr, "");
C14957gcv.e(enumC0622KwArr, "");
List<EnumC0622Kw> asList = Arrays.asList(enumC0622KwArr);
C14957gcv.c(asList, "");
b = asList;
}
/* renamed from: o.sv$IeS */
/* loaded from: classes3.dex */
public static final class IeS<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((C9429dja) t).e);
Integer valueOf2 = Integer.valueOf(((C9429dja) t2).e);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
/* renamed from: o.sv$LWm */
/* loaded from: classes3.dex */
public static final class LWm<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((C16342nct) t).c);
Integer valueOf2 = Integer.valueOf(((C16342nct) t2).c);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
/* renamed from: o.sv$RVV */
/* loaded from: classes3.dex */
public static final class RVV<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((DNj) t).d);
Integer valueOf2 = Integer.valueOf(((DNj) t2).d);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
/* renamed from: o.sv$ZqN */
/* loaded from: classes3.dex */
public static final class ZqN<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((C16342nct) t).c);
Integer valueOf2 = Integer.valueOf(((C16342nct) t2).c);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
/* renamed from: o.sv$jbe */
/* loaded from: classes3.dex */
public static final class jbe<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((C9429dja) t).e);
Integer valueOf2 = Integer.valueOf(((C9429dja) t2).e);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
/* renamed from: o.sv$saX */
/* loaded from: classes3.dex */
public static final class saX<T> implements Comparator {
/* JADX WARN: Multi-variable type inference failed */
@Override // java.util.Comparator
public final int compare(T t, T t2) {
Integer valueOf = Integer.valueOf(((C16342nct) t).c);
Integer valueOf2 = Integer.valueOf(((C16342nct) t2).c);
if (valueOf == valueOf2) {
return 0;
}
if (valueOf == null) {
return -1;
}
if (valueOf2 == null) {
return 1;
}
return valueOf.compareTo(valueOf2);
}
}
public static C16342nct e(List<C16342nct> list) {
Object obj;
Iterator<T> it = list.iterator();
while (true) {
if (!it.hasNext()) {
obj = null;
break;
}
obj = it.next();
if (((C16342nct) obj).b) {
break;
}
}
return (C16342nct) obj;
}
public static List<AbstractC0624Ky> a(List<? extends AbstractC0624Ky> list) {
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList();
for (Object obj : list) {
if (b.contains(((AbstractC0624Ky) obj).b)) {
arrayList.add(obj);
}
}
return arrayList;
}
public static List<AbstractC0624Ky> c(List<? extends AbstractC0624Ky> list) {
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList();
for (Object obj : list) {
if (!b.contains(((AbstractC0624Ky) obj).b)) {
arrayList.add(obj);
}
}
return arrayList;
}
public static List<AbstractC0624Ky> b(List<? extends AbstractC0624Ky> list, List<? extends AbstractC0624Ky> list2) {
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
List[] listArr = {list, list2};
C14957gcv.e(listArr, "");
C14957gcv.e(listArr, "");
List asList = Arrays.asList(listArr);
C14957gcv.c(asList, "");
List list3 = asList;
C14957gcv.e(list3, "");
ArrayList arrayList = new ArrayList();
Iterator it = list3.iterator();
while (it.hasNext()) {
C14881gav.d(arrayList, (Iterable) it.next());
}
return arrayList;
}
public static String e(C16342nct c16342nct) {
List<String> list = c16342nct != null ? c16342nct.d : null;
if (list == null) {
return "";
}
C14957gcv.e(list, "");
String str = list.isEmpty() ? null : list.get(0);
return str == null ? "" : str;
}
public static C0625Kz e(EnumC0622Kw enumC0622Kw, C9429dja c9429dja, String str, int i, int i2, String str2) {
return new C0625Kz(enumC0622Kw, c9429dja.d, c9429dja.b, e(e(c9429dja.c)), str, i, i2, str2);
}
/* renamed from: o.sv$HBt */
/* loaded from: classes3.dex */
public final /* synthetic */ class HBt {
public static final int[] e;
static {
int[] iArr = new int[EnumC0622Kw.values().length];
try {
iArr[EnumC0622Kw.BUSINESS_INFORMATION.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[EnumC0622Kw.MARITAL_INFORMATION.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[EnumC0622Kw.BUSINESS_NAME.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
iArr[EnumC0622Kw.NUMBER_OF_EMPLOYEES.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
iArr[EnumC0622Kw.YEAR_MONTH_IN_BUSINESS.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
iArr[EnumC0622Kw.SPOUSE_NATIONAL_ID.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
iArr[EnumC0622Kw.SPOUSE_FIRST_NAME.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
iArr[EnumC0622Kw.SPOUSE_LAST_NAME.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
try {
iArr[EnumC0622Kw.SPOUSE_TITLE.ordinal()] = 9;
} catch (NoSuchFieldError unused9) {
}
try {
iArr[EnumC0622Kw.MARITAL_STATUS.ordinal()] = 10;
} catch (NoSuchFieldError unused10) {
}
e = iArr;
}
}
}