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

132 lines
4.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 java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import o.C15715hv;
import o.ES;
import o.QK;
import o.QO;
import o.QR;
import o.cXH;
/* renamed from: o.ml, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16260ml extends C16181lx {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C16260ml(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
public final ES c(FI fi, krp krpVar, boolean z, cXH.IeS.EnumC0105IeS enumC0105IeS) {
String format;
String str;
String str2;
C14957gcv.e(fi, "");
C14957gcv.e(krpVar, "");
C14957gcv.e(enumC0105IeS, "");
this.a = new ArrayList();
ES.IeS a = ES.a();
QK.LWm e = QK.e();
e.g = e(C15715hv.tOB.bond_review_label_bond_account);
e.h = fi.a.x;
e.a = fi.a.s;
e.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
this.a.add(new QK(e, (byte) 0));
this.a.add(new QQ());
QK.LWm e2 = QK.e();
e2.g = e(C15715hv.tOB.bond_review_label_bond);
e2.h = fi.l.a;
e2.a = fi.l.j;
this.a.add(new QK(e2, (byte) 0));
this.a.add(new QQ());
QR.LWm b = QR.b();
b.g = e(C15715hv.tOB.bond_review_label_details);
b.e = fi.l.b;
this.a.add(new QR(b, (byte) 0));
this.a.add(new QQ());
QK.LWm e3 = QK.e();
e3.g = e(C15715hv.tOB.bond_review_label_pay_by);
e3.h = krpVar.b;
WW ww = fi.f8156o;
String str3 = null;
String c = ww != null ? c(ww.s, z) : null;
if (c == null) {
c = "";
}
e3.a = c;
e3.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
this.a.add(new QK(e3, (byte) 0));
this.a.add(new QQ());
QO.IeS d = QO.d();
d.g = e(C15715hv.tOB.bond_review_label_no_of_unit);
d.h = String.valueOf(fi.n);
this.a.add(d.d());
this.a.add(new QQ());
if (cXH.IeS.EnumC0105IeS.DLT == enumC0105IeS) {
QO.IeS d2 = QO.d();
d2.g = e(C15715hv.tOB.payable_amount);
d2.h = c(Double.valueOf(fi.b));
this.a.add(d2.d());
this.a.add(new QQ());
QO.IeS d3 = QO.d();
d3.g = e(C15715hv.tOB.auto_purchase_bond_dlt_review_contact_number);
if (!fi.g) {
str2 = (String) C6583cXR.c(new Object[]{false, true, fi.i.b}, -1092823629, 1092823630, (int) System.currentTimeMillis());
} else {
str2 = fi.i.d;
}
d3.h = str2;
this.a.add(d3.d());
this.a.add(new QQ());
} else {
QO.IeS d4 = QO.d();
d4.g = e(C15715hv.tOB.payable_amount);
d4.h = c(Double.valueOf(fi.b));
this.a.add(d4.d());
}
List<EM> list = this.a;
C14957gcv.c(list, "");
a.c = list;
if (cXH.IeS.EnumC0105IeS.DLT != enumC0105IeS) {
if (fi.l.c != null) {
gcH gch = gcH.d;
String string = this.e.getString(C15715hv.tOB.bond_review_purchase_page_scb_function_flow_disclaimer_next_day);
C14957gcv.c((Object) string, "");
str3 = String.format(string, Arrays.copyOf(new Object[]{fi.l.c}, 1));
C14957gcv.c((Object) str3, "");
}
gcH gch2 = gcH.d;
String string2 = this.e.getString(C15715hv.tOB.bond_review_purchase_page_scb_disclaimer_pattern);
C14957gcv.c((Object) string2, "");
format = String.format(string2, Arrays.copyOf(new Object[]{str3, krpVar.d}, 2));
C14957gcv.c((Object) format, "");
} else {
gcH gch3 = gcH.d;
String string3 = this.e.getString(C15715hv.tOB.bond_review_purchase_page_scb_disclaimer_pattern);
C14957gcv.c((Object) string3, "");
format = String.format(string3, Arrays.copyOf(new Object[]{this.e.getString(C15715hv.tOB.bond_purchase_bond_dlt_disclaimer), krpVar.d}, 2));
C14957gcv.c((Object) format, "");
}
a.b = format;
if (cXH.IeS.EnumC0105IeS.DLT == enumC0105IeS) {
gcH gch4 = gcH.d;
String string4 = this.e.getString(C15715hv.tOB.bond_review_purchase_page_scb_disclaimer_pattern);
C14957gcv.c((Object) string4, "");
str = String.format(string4, Arrays.copyOf(new Object[]{this.e.getString(C15715hv.tOB.bond_purchase_bond_dlt_disclaimer), krpVar.d}, 2));
C14957gcv.c((Object) str, "");
} else {
str = "";
}
a.d = str;
ES es = new ES(a, (byte) 0);
C14957gcv.c(es, "");
return es;
}
}