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

75 lines
2.2 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.ro, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16849ro extends BaseAssetsDisplayMapper {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16849ro(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
}
/* renamed from: o.ro$HBt */
/* loaded from: classes3.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static JT c(JU ju, String str) {
List<JT> list;
Object obj = null;
if (ju == null || (list = ju.c) == null) {
return null;
}
Iterator<T> it = list.iterator();
while (true) {
if (!it.hasNext()) {
break;
}
Object next = it.next();
JT jt = (JT) next;
if (C14957gcv.b((Object) (jt != null ? jt.a : null), (Object) str)) {
obj = next;
break;
}
}
return (JT) obj;
}
public final KM a(JV jv) {
JT c = c(jv != null ? jv.c : null, "BORROWER_NAME");
JT c2 = c(jv != null ? jv.c : null, "LOAN_TYPE");
String str = jv != null ? jv.a : null;
if (str == null) {
str = "";
}
String b_ = b_(str);
String str2 = c != null ? c.b : null;
String str3 = c != null ? c.c : null;
String str4 = str3 == null ? "" : str3;
String str5 = c2 != null ? c2.b : null;
String str6 = c2 != null ? c2.c : null;
String str7 = str6 == null ? "" : str6;
C14957gcv.c((Object) b_, "");
return new KM(str4, str7, b_, str2, str5);
}
static {
new HBt((byte) 0);
}
}