143 lines
5.4 KiB
Java
143 lines
5.4 KiB
Java
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;
|
|
|
|
/* renamed from: o.Ad, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C0144Ad extends C16181lx {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C0144Ad(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
}
|
|
|
|
/* renamed from: o.Ad$HBt */
|
|
/* loaded from: classes3.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final ES e(UD ud, C1064Uv c1064Uv, boolean z, boolean z2, boolean z3) {
|
|
C14957gcv.e(ud, "");
|
|
C14957gcv.e(c1064Uv, "");
|
|
ES.IeS a = ES.a();
|
|
a.c = b(ud, c1064Uv, z, z2, z3);
|
|
a.e = this.e.getString(C15715hv.tOB.prepaid_request_review_bottom_text);
|
|
ES es = new ES(a, (byte) 0);
|
|
C14957gcv.c(es, "");
|
|
return es;
|
|
}
|
|
|
|
private final List<EM> b(UD ud, C1064Uv c1064Uv, boolean z, boolean z2, boolean z3) {
|
|
this.a.clear();
|
|
QO.IeS d = QO.d();
|
|
d.g = this.e.getString(C15715hv.tOB.prepaid_request_review_request_type);
|
|
d.h = ud.j;
|
|
this.a.add(d.d());
|
|
this.a.add(new QQ());
|
|
QK.LWm e = QK.e();
|
|
e.g = this.e.getString(C15715hv.tOB.prepaid_request_review_account);
|
|
e.h = ud.a;
|
|
e.a = c(ud.d, z);
|
|
e.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
|
|
this.a.add(new QK(e, (byte) 0));
|
|
this.a.add(new QQ());
|
|
QO.IeS d2 = QO.d();
|
|
d2.g = this.e.getString(C15715hv.tOB.prepaid_request_review_display_name);
|
|
d2.h = ud.c;
|
|
this.a.add(d2.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d3 = QO.d();
|
|
d3.g = this.e.getString(C15715hv.tOB.prepaid_request_review_prepaid_card_type);
|
|
d3.h = ud.i;
|
|
this.a.add(d3.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d4 = QO.d();
|
|
d4.g = this.e.getString(C15715hv.tOB.prepaid_request_review_annual_fee);
|
|
d4.h = c(Double.valueOf(ud.b));
|
|
this.a.add(d4.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d5 = QO.d();
|
|
d5.g = this.e.getString(C15715hv.tOB.prepaid_request_review_issuing_fee);
|
|
d5.h = c(Double.valueOf(ud.h));
|
|
this.a.add(d5.d());
|
|
this.a.add(new QQ());
|
|
QO.IeS d6 = QO.d();
|
|
d6.g = this.e.getString(C15715hv.tOB.prepaid_request_review_delivery_fee);
|
|
d6.h = c(Double.valueOf(ud.e));
|
|
this.a.add(d6.d());
|
|
this.a.add(new QQ());
|
|
List<String> list = ud.f;
|
|
if (!list.isEmpty()) {
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj : list) {
|
|
if (((String) obj).length() > 0) {
|
|
arrayList.add(obj);
|
|
}
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
QR.LWm b = QR.b();
|
|
b.g = this.e.getString(C15715hv.tOB.prepaid_request_review_mailing_address);
|
|
C14957gcv.e(arrayList2, "");
|
|
C14957gcv.e("\n", "");
|
|
b.a = C14881gav.b(arrayList2, "\n", null, null, 0, null, null, 62);
|
|
this.a.add(new QR(b, (byte) 0));
|
|
this.a.add(new QQ());
|
|
}
|
|
ArrayList arrayList3 = new ArrayList();
|
|
arrayList3.add(c1064Uv.b);
|
|
if (z2) {
|
|
arrayList3.add(ud.g);
|
|
}
|
|
ArrayList arrayList4 = new ArrayList();
|
|
if (z3) {
|
|
QR.LWm b2 = QR.b();
|
|
b2.g = this.e.getString(C15715hv.tOB.prepaid_request_review_remark);
|
|
int VQ_ = C6583cXR.VQ_(16, this.e);
|
|
b2.a = (CharSequence) C6583cXR.c(new Object[]{Integer.valueOf(VQ_), arrayList3}, -1984242070, 1984242084, VQ_);
|
|
this.a.add(new QR(b2, (byte) 0));
|
|
this.a.add(new QQ());
|
|
String[] strArr = {this.e.getString(C15715hv.tOB.prepaid_request_review_caution_line1), this.e.getString(C15715hv.tOB.prepaid_request_review_caution_line2), this.e.getString(C15715hv.tOB.prepaid_request_review_caution_line3), this.e.getString(C15715hv.tOB.prepaid_request_review_caution_line4)};
|
|
C14957gcv.e(strArr, "");
|
|
C14957gcv.e(strArr, "");
|
|
List asList = Arrays.asList(strArr);
|
|
C14957gcv.c(asList, "");
|
|
QR.LWm b3 = QR.b();
|
|
b3.g = this.e.getString(C15715hv.tOB.prepaid_request_review_caution_title);
|
|
int VQ_2 = C6583cXR.VQ_(16, this.e);
|
|
b3.a = (CharSequence) C6583cXR.c(new Object[]{Integer.valueOf(VQ_2), asList}, -1984242070, 1984242084, VQ_2);
|
|
arrayList4.add(new QR(b3, (byte) 0));
|
|
} else {
|
|
QR.LWm b4 = QR.b();
|
|
b4.g = this.e.getString(C15715hv.tOB.prepaid_request_review_remark);
|
|
int VQ_3 = C6583cXR.VQ_(16, this.e);
|
|
b4.a = (CharSequence) C6583cXR.c(new Object[]{Integer.valueOf(VQ_3), arrayList3}, -1984242070, 1984242084, VQ_3);
|
|
arrayList4.add(new QR(b4, (byte) 0));
|
|
}
|
|
a((List<EM>) arrayList4, false);
|
|
List<EM> list2 = this.a;
|
|
C14957gcv.c(list2, "");
|
|
return list2;
|
|
}
|
|
|
|
static {
|
|
new HBt((byte) 0);
|
|
}
|
|
}
|