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

86 lines
2.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.google.android.gms.stats.CodePackage;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import o.C15715hv;
import o.IV;
import o.PRA;
/* renamed from: o.so, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16971so extends C16157lj {
public final Context a;
@InterfaceC13391fZD
public C16971so(Resources resources, SharedPreferences sharedPreferences, Context context) {
super(resources, sharedPreferences);
this.a = context;
}
public final List<IV> b(final String str, List<LJ> list) {
if (list == null) {
list = new ArrayList<>();
}
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.sq
private String c;
@Override // o.Jel
public final boolean e(Object obj) {
boolean equals;
equals = this.c.equals(((LJ) obj).a);
return equals;
}
{
this.c = str;
}
}));
return (List) new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw(this) { // from class: o.sp
private C16971so d;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16971so.d(this.d, (LJ) obj);
}
{
this.d = this;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
}
public static List<IV.Sts> c(String str, String str2, List<C0648Lh> list) {
ArrayList arrayList = new ArrayList();
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(" ");
sb.append(str2);
arrayList.add(new IV.Sts(sb.toString()));
if (list != null) {
for (C0648Lh c0648Lh : list) {
if (c0648Lh != null && (!gjJ.b((CharSequence) c0648Lh.e) || !gjJ.b((CharSequence) c0648Lh.c))) {
StringBuilder sb2 = new StringBuilder();
sb2.append(c0648Lh.e);
sb2.append(" ");
sb2.append(c0648Lh.c);
arrayList.add(new IV.Sts(sb2.toString()));
}
}
}
return arrayList;
}
public static /* synthetic */ IV d(C16971so c16971so, LJ lj) {
if (CodePackage.LOCATION.equals(lj.b) || "ANNUAL_INTEREST".equals(lj.b)) {
return new IV(lj.c, (List<IV.Sts>) Collections.singletonList(new IV.Sts(lj.g, nMh.getColor(c16971so.a, C15715hv.LWm.dark_gray))));
}
return new IV(lj.c, lj.g);
}
}