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

79 lines
2.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.C15715hv;
import o.WR;
/* renamed from: o.tl, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C17082tl extends BaseAssetsDisplayMapper {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17082tl(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
}
public static /* synthetic */ WZ c(C17082tl c17082tl, boolean z, List list, int i, int i2, int i3) {
C14851gaI c14851gaI;
if ((i3 & 4) != 0) {
i = C15715hv.tOB.hml_landing_promotion_interest_rate_title;
}
if ((i3 & 8) != 0) {
i2 = C15715hv.tOB.hml_landing_promotion_remark;
}
String e = c17082tl.e(i);
if (list != null) {
List<C0393Fnz> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (C0393Fnz c0393Fnz : list2) {
C14957gcv.e(c0393Fnz, "");
arrayList.add(new WY(c0393Fnz.a, c0393Fnz.d));
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
return new WZ(z, e, c14851gaI, c17082tl.e(i2));
}
/* JADX INFO: Access modifiers changed from: protected */
public final C0786Oo e(AUj aUj) {
C14957gcv.e(aUj, "");
boolean z = aUj.b;
String str = aUj.a;
List<Ikr> list = aUj.d;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList();
String e = e(C15715hv.tOB.hml_landing_loandetails_principal_title);
C14957gcv.c((Object) e, "");
String e2 = e(C15715hv.tOB.hml_landing_loandetails_interest_title);
C14957gcv.c((Object) e2, "");
arrayList.add(new WV(e, e2));
List<Ikr> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (Ikr ikr : list2) {
C14957gcv.e(ikr, "");
String str2 = ikr.e;
List<C0393Fnz> list3 = ikr.c;
C14957gcv.e(list3, "");
ArrayList arrayList3 = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
for (C0393Fnz c0393Fnz : list3) {
arrayList3.add(new WR.IeS(c0393Fnz.d, c0393Fnz.a));
}
arrayList2.add(new WR(str2, arrayList3));
}
arrayList.addAll(arrayList2);
return new C0786Oo(z, str, arrayList);
}
}