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

82 lines
2.4 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.util.List;
import java.util.NoSuchElementException;
import o.C15715hv;
/* renamed from: o.Ei, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0334Ei extends BaseAssetsDisplayMapper {
@InterfaceC13391fZD
public C0334Ei(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
}
public final C1226Yl a(BOc bOc) {
String e;
if (bOc.j == null || bOc.j.isEmpty()) {
e = e(C15715hv.tOB.reference);
} else {
e = bOc.j;
}
C1226Yl b = C1226Yl.b();
if ("PREPAID".equalsIgnoreCase(bOc.g)) {
b.f8469o = String.format(e(C15715hv.tOB.two_words_with_separator), C6583cXR.c().format(100L), C6583cXR.c().format(50000L));
}
b.m = bOc.c;
b.f = bOc.b;
b.r = bOc.f;
b.k = c(bOc.h);
b.d = b_(bOc.a);
b.n = String.format(e(C15715hv.tOB.two_words), e(C15715hv.tOB.input), e);
b.t = e;
b.c = bOc.e;
b.s = bOc.g;
b.g = bOc.d;
return b;
}
/* JADX WARN: Multi-variable type inference failed */
public final C1226Yl c(List<BOc> list, final C1019Twi c1019Twi) {
zEQ d;
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(c1019Twi) { // from class: o.Em
private C1019Twi d;
@Override // o.Jel
public final boolean e(Object obj) {
boolean equals;
equals = String.valueOf(((BOc) obj).c).equals(this.d.x);
return equals;
}
{
this.d = c1019Twi;
}
}));
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) {
C1226Yl a = a((BOc) t);
a.b = true;
a.i = c1019Twi.u;
a.q = c1019Twi.C;
a.h = c(Double.valueOf(c1019Twi.h));
a.p = c1019Twi.A;
a.l = c1019Twi.r;
return a;
}
throw new NoSuchElementException("No value present");
}
}