229 lines
7.1 KiB
Java
229 lines
7.1 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Collections;
|
||
|
import java.util.List;
|
||
|
import java.util.NoSuchElementException;
|
||
|
import o.C15715hv;
|
||
|
import o.PRA;
|
||
|
|
||
|
/* renamed from: o.lC, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C16091lC extends AbstractC16167lp<LWm, C0386Fk> {
|
||
|
private final C16099lH b;
|
||
|
|
||
|
/* renamed from: o.lC$LWm */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public class LWm {
|
||
|
List<JNE> c;
|
||
|
C5762bzF d;
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC16167lp
|
||
|
public final /* bridge */ /* synthetic */ C0386Fk d(LWm lWm, boolean z) {
|
||
|
LWm lWm2 = lWm;
|
||
|
return d(lWm2.c, lWm2.d, z);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@InterfaceC13391fZD
|
||
|
public C16091lC(Resources resources, SharedPreferences sharedPreferences, C16099lH c16099lH) {
|
||
|
super(resources, sharedPreferences);
|
||
|
this.b = c16099lH;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public C0386Fk d(List<JNE> list, C5762bzF c5762bzF, boolean z) {
|
||
|
String str;
|
||
|
String str2;
|
||
|
String str3;
|
||
|
String str4;
|
||
|
String str5;
|
||
|
String str6;
|
||
|
String str7;
|
||
|
boolean z2;
|
||
|
String str8;
|
||
|
String str9;
|
||
|
boolean z3;
|
||
|
String str10;
|
||
|
String str11;
|
||
|
String str12;
|
||
|
JNE e = e(c5762bzF.d, list);
|
||
|
String str13 = e == null ? null : e.e;
|
||
|
List<String> list2 = c5762bzF.i;
|
||
|
if (list2 == null) {
|
||
|
list2 = Collections.emptyList();
|
||
|
}
|
||
|
String c = list2.contains("DISPLAY_BALANCE") ? c(c5762bzF.g) : "";
|
||
|
ZGL zgl = c5762bzF.p;
|
||
|
boolean z4 = !(zgl == ZGL.TYPE_SAVING || zgl == ZGL.TYPE_CURRENT) || list2.contains("DISPLAY_TRANSACTIONS");
|
||
|
boolean contains = list2.contains("MUTUALFUND_SOURCE");
|
||
|
boolean contains2 = list2.contains("EXPORT_STATEMENT");
|
||
|
boolean contains3 = list2.contains("DISPLAY_CLOSEACCT_INFO");
|
||
|
boolean z5 = (c5762bzF.s == null || c5762bzF.s.isEmpty()) ? false : true;
|
||
|
if (z5) {
|
||
|
C14827gQM c14827gQM = c5762bzF.s.get(0);
|
||
|
str2 = c14827gQM.a;
|
||
|
str = c14827gQM.e;
|
||
|
} else {
|
||
|
str = "";
|
||
|
str2 = str;
|
||
|
}
|
||
|
boolean z6 = (c5762bzF.l == null || c5762bzF.l.isEmpty() || gjJ.b((CharSequence) c5762bzF.l.get(0).c) || gjJ.b((CharSequence) c5762bzF.l.get(0).a)) ? false : true;
|
||
|
if (z6) {
|
||
|
Cxv cxv = c5762bzF.l.get(0);
|
||
|
str4 = cxv.c;
|
||
|
str3 = cxv.a;
|
||
|
str5 = "";
|
||
|
} else {
|
||
|
str3 = "";
|
||
|
str4 = str3;
|
||
|
str5 = str4;
|
||
|
}
|
||
|
if (c5762bzF.w != null) {
|
||
|
str6 = str;
|
||
|
str7 = str2;
|
||
|
z2 = false;
|
||
|
if (new YKU(c5762bzF.w).d(new Jel() { // from class: o.lA
|
||
|
@Override // o.Jel
|
||
|
public final boolean e(Object obj) {
|
||
|
boolean equalsIgnoreCase;
|
||
|
equalsIgnoreCase = "SPEEDYCASH".equalsIgnoreCase(((HsO) obj).b);
|
||
|
return equalsIgnoreCase;
|
||
|
}
|
||
|
}, 0)) {
|
||
|
z2 = true;
|
||
|
}
|
||
|
} else {
|
||
|
str6 = str;
|
||
|
str7 = str2;
|
||
|
z2 = false;
|
||
|
}
|
||
|
if (!z2 || c5762bzF.j == null || c5762bzF.j.f == null || c5762bzF.j.f.b == null) {
|
||
|
str8 = str3;
|
||
|
str9 = str4;
|
||
|
z3 = z2;
|
||
|
str10 = str5;
|
||
|
} else {
|
||
|
vDw vdw = c5762bzF.j;
|
||
|
z3 = z2;
|
||
|
if ("1000".equals(vdw.f.b)) {
|
||
|
StringBuilder sb = new StringBuilder();
|
||
|
sb.append(vdw.c);
|
||
|
sb.append(" ");
|
||
|
str9 = str4;
|
||
|
str8 = str3;
|
||
|
sb.append((String) C6583cXR.c(new Object[]{Double.valueOf(vdw.a.doubleValue())}, -150997759, 150997764, (int) System.currentTimeMillis()));
|
||
|
str10 = sb.toString();
|
||
|
} else {
|
||
|
str8 = str3;
|
||
|
str9 = str4;
|
||
|
str10 = vdw.f.a;
|
||
|
}
|
||
|
}
|
||
|
List<C0380Fh> d = z4 ? this.b.d((List) c5762bzF.r) : new ArrayList<>();
|
||
|
if (list2.contains("DISPLAY_HELPMSG")) {
|
||
|
str11 = e(C15715hv.tOB.custom_error_contact_call_center_title);
|
||
|
str12 = e(C15715hv.tOB.custom_error_contact_call_center);
|
||
|
} else {
|
||
|
str11 = null;
|
||
|
str12 = null;
|
||
|
}
|
||
|
C0386Fk c2 = C0386Fk.c();
|
||
|
c2.D = c5762bzF.d;
|
||
|
c2.f = c;
|
||
|
c2.v = str13;
|
||
|
c2.b = c(c5762bzF.d, z);
|
||
|
c2.w = c5762bzF.p;
|
||
|
c2.A = c5762bzF.t;
|
||
|
c2.y = c5762bzF.k;
|
||
|
c2.u = c5762bzF.m;
|
||
|
c2.x = c5762bzF.f8593o;
|
||
|
c2.a = c5762bzF.c;
|
||
|
c2.d = c5762bzF.a;
|
||
|
c2.m = c5762bzF.f;
|
||
|
c2.q = d;
|
||
|
c2.j = z4;
|
||
|
c2.t = str11;
|
||
|
c2.p = str12;
|
||
|
c2.i = contains;
|
||
|
c2.e = c(c5762bzF);
|
||
|
c2.s = list2.contains("DISPLAY_HELPMSG");
|
||
|
c2.h = contains2;
|
||
|
c2.r = contains3;
|
||
|
c2.g = c5762bzF.i;
|
||
|
c2.E = c5762bzF.d;
|
||
|
c2.c = c5762bzF.b;
|
||
|
c2.H = z6;
|
||
|
c2.B = z5;
|
||
|
c2.l = str9;
|
||
|
c2.f8173o = str8;
|
||
|
c2.k = str7;
|
||
|
c2.n = str6;
|
||
|
c2.z = z3;
|
||
|
c2.C = str10;
|
||
|
return c2;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
private static JNE e(final String str, List<JNE> list) {
|
||
|
zEQ d;
|
||
|
if (list == null || str == null) {
|
||
|
return null;
|
||
|
}
|
||
|
YKU yku = new YKU(list);
|
||
|
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.lD
|
||
|
private String d;
|
||
|
|
||
|
@Override // o.Jel
|
||
|
public final boolean e(Object obj) {
|
||
|
boolean equals;
|
||
|
equals = this.d.equals(((JNE) obj).a);
|
||
|
return equals;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = str;
|
||
|
}
|
||
|
}));
|
||
|
if (yku2.b.hasNext()) {
|
||
|
d = zEQ.a(yku2.b.next());
|
||
|
} else {
|
||
|
d = zEQ.d();
|
||
|
}
|
||
|
if (d.d == 0) {
|
||
|
return null;
|
||
|
}
|
||
|
T t = d.d;
|
||
|
if (t != 0) {
|
||
|
return (JNE) t;
|
||
|
}
|
||
|
throw new NoSuchElementException("No value present");
|
||
|
}
|
||
|
|
||
|
public final List<C0386Fk> a(List<C5762bzF> list, final List<JNE> list2, final boolean z) {
|
||
|
YKU yku = new YKU(list);
|
||
|
return (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this, list2, z) { // from class: o.lE
|
||
|
private C16091lC b;
|
||
|
private boolean c;
|
||
|
private List e;
|
||
|
|
||
|
@Override // o.InterfaceC1244Ytw
|
||
|
public final Object d(Object obj) {
|
||
|
C0386Fk d;
|
||
|
C5762bzF c5762bzF = (C5762bzF) obj;
|
||
|
d = this.b.d((List<JNE>) this.e, c5762bzF, this.c);
|
||
|
return d;
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.e = list2;
|
||
|
this.c = z;
|
||
|
}
|
||
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
||
|
}
|
||
|
}
|