165 lines
5.5 KiB
Java
165 lines
5.5 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
|
|
/* renamed from: o.Bx, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C0231Bx extends C0352Et {
|
|
private final Context d;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C0231Bx(Context context, Resources resources, SharedPreferences sharedPreferences, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
C14957gcv.e(context, "");
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
this.d = context;
|
|
}
|
|
|
|
/* renamed from: o.Bx$LWm */
|
|
/* loaded from: classes3.dex */
|
|
public static final class LWm {
|
|
private LWm() {
|
|
}
|
|
|
|
public /* synthetic */ LWm(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:20:0x011a */
|
|
/* JADX WARN: Removed duplicated region for block: B:31:0x0193 */
|
|
/* JADX WARN: Removed duplicated region for block: B:42:0x01f5 */
|
|
/* JADX WARN: Removed duplicated region for block: B:62:0x0245 */
|
|
/* JADX WARN: Removed duplicated region for block: B:75:0x02d5 */
|
|
/* JADX WARN: Removed duplicated region for block: B:78:0x02fd */
|
|
/* JADX WARN: Removed duplicated region for block: B:81:0x0349 */
|
|
/* JADX WARN: Removed duplicated region for block: B:86:0x02d8 */
|
|
/* JADX WARN: Removed duplicated region for block: B:89:0x0248 */
|
|
/* JADX WARN: Removed duplicated region for block: B:9:0x007f */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final o.C1114Vy c(o.PAy r55, boolean r56, boolean r57) {
|
|
/*
|
|
Method dump skipped, instructions count: 915
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C0231Bx.c(o.PAy, boolean, boolean):o.Vy");
|
|
}
|
|
|
|
public static C0520Io m(String str) {
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
return new C0520Io(str, "", "");
|
|
}
|
|
|
|
public static EnumC1271Zi k(String str) {
|
|
if (gdZ.a(str, EnumC1271Zi.NATIONAL_ID.value, true)) {
|
|
return EnumC1271Zi.NATIONAL_ID;
|
|
}
|
|
if (gdZ.a(str, EnumC1271Zi.PASSPORT.value, true)) {
|
|
return EnumC1271Zi.PASSPORT;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public static String a(List<C16969snw> list, String str) {
|
|
String str2;
|
|
C14957gcv.e(list, "");
|
|
C14957gcv.e(str, "");
|
|
Iterator<C16969snw> it = list.iterator();
|
|
int i = 0;
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
i = -1;
|
|
break;
|
|
}
|
|
String str3 = str;
|
|
String str4 = it.next().e;
|
|
if (str4 == null) {
|
|
str4 = "";
|
|
}
|
|
if (gdZ.d((CharSequence) str3, (CharSequence) str4, true)) {
|
|
break;
|
|
}
|
|
i++;
|
|
}
|
|
return (i < 0 || (str2 = list.get(i).c) == null) ? "" : str2;
|
|
}
|
|
|
|
private static String c(FtD ftD, boolean z) {
|
|
String str;
|
|
if (z) {
|
|
str = ftD.e;
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
} else {
|
|
str = ftD.b;
|
|
}
|
|
String[] strArr = {str, ftD.d};
|
|
C14957gcv.e(strArr, "");
|
|
C14957gcv.e(strArr, "");
|
|
List list = (List) C14875gap.d((Object[]) strArr, new ArrayList());
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj : list) {
|
|
if (((String) obj).length() != 0) {
|
|
arrayList.add(obj);
|
|
}
|
|
}
|
|
return C14881gav.b(arrayList, "\n", null, null, 0, null, null, 62);
|
|
}
|
|
|
|
private static String c(UJi uJi, boolean z) {
|
|
String str;
|
|
if (z) {
|
|
str = uJi.d;
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
} else {
|
|
str = uJi.a;
|
|
}
|
|
String[] strArr = {uJi.b, str};
|
|
C14957gcv.e(strArr, "");
|
|
C14957gcv.e(strArr, "");
|
|
List list = (List) C14875gap.d((Object[]) strArr, new ArrayList());
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj : list) {
|
|
if (((String) obj).length() != 0) {
|
|
arrayList.add(obj);
|
|
}
|
|
}
|
|
return C14881gav.b(arrayList, "\n", null, null, 0, null, null, 62);
|
|
}
|
|
|
|
public final C1114Vy c(ZVj zVj, C1114Vy c1114Vy) {
|
|
C14957gcv.e(zVj, "");
|
|
C14957gcv.e(c1114Vy, "");
|
|
String d = d(zVj.j);
|
|
String str = zVj.f;
|
|
String c = c(C15715hv.tOB.ref_id, zVj.f);
|
|
String obj = C6583cXR.VS_(this.d, C15715hv.IeS.bankicon_scb).toString();
|
|
String str2 = c1114Vy.b.a;
|
|
String str3 = c1114Vy.b.b;
|
|
String c2 = c(c1114Vy.b.b, true);
|
|
C14957gcv.c((Object) c2, "");
|
|
return new C1114Vy(new C1099Vp(obj, str2, str3, c2), new C1098Vo(c1114Vy.d.d, c1114Vy.d.a, c1114Vy.d.c, c1114Vy.d.b, c1114Vy.d.e), c1114Vy.c, c1114Vy.a, c1114Vy.e, c1114Vy.f, c1114Vy.v, c1114Vy.l, c1114Vy.k, c1114Vy.f8427o, c1114Vy.m, c1114Vy.n, c1114Vy.h, c1114Vy.j, c1114Vy.g, str, c, d, c1114Vy.r, true, 12648449);
|
|
}
|
|
|
|
static {
|
|
new LWm((byte) 0);
|
|
}
|
|
}
|