package o; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.List; import o.C15715hv; import o.QJ; import o.QO; import o.QP; /* renamed from: o.tS, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17038tS extends C16181lx { /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C17038tS(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } public final List d(NU nu, bTI bti) { String i; C14957gcv.e(nu, ""); C14957gcv.e(bti, ""); List list = this.a; String e = e(C15715hv.tOB.hml_business_owner_review_loan_details_info_label); C14957gcv.c((Object) e, ""); list.add(new QV(e, YD.TITLE)); this.a.add(new QQ()); QO.IeS d = QO.d(); d.g = e(C15715hv.tOB.hml_offer_review_duration); String str = nu.a; String str2 = nu.c; StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(" "); sb.append(str2); d.h = sb.toString(); this.a.add(d.d()); this.a.add(new QQ()); WZ wz = nu.j; if (wz == null || !wz.d) { wz = null; } QJ.RVV c = QJ.c(); c.c = e(C15715hv.tOB.hml_outcome_interest_rate_title); c.b = wz != null ? wz.c : null; this.a.add(new QJ((QJ.RVV) c)); this.a.add(new QQ()); List list2 = this.a; QO.IeS d2 = QO.d(); d2.g = e(C15715hv.tOB.hml_offer_review_start_repayment); d2.h = nu.l; list2.add(d2.d()); QP.Sts a = QP.a(); a.c = e(C15715hv.tOB.hml_summary_repayment_description); this.a.add(new QP((QP.Sts) a)); this.a.add(new QQ()); String e2 = e(C15715hv.tOB.hml_business_owner_review_loan_details_tax_fees_label); C14957gcv.c((Object) e2, ""); this.a.add(new QV(e2, YD.TITLE)); this.a.add(new QQ()); if (C14957gcv.b((Object) nu.f8286o, (Object) "0.00")) { i = e(C15715hv.tOB.hml_offer_review_waived); } else { i = C6583cXR.i(nu.f8286o); } String i2 = C6583cXR.i(nu.m); StringBuilder sb2 = new StringBuilder(); sb2.append(i2); sb2.append("%"); String obj = sb2.toString(); QO.IeS d3 = QO.d(); d3.g = c(C15715hv.tOB.auto_app_outcome_stamp_duty_title, obj); d3.h = i; this.a.add(d3.d()); this.a.add(new QQ()); String str3 = nu.b; if (str3 != null) { QO.IeS c2 = QO.c(); c2.g = e(C15715hv.tOB.hml_review_confirmation_front_end_fee_title); c2.h = str3; this.a.add(c2.d()); this.a.add(new QQ()); } QO.IeS c3 = QO.c(); c3.g = e(C15715hv.tOB.auto_app_outcome_transfer_fee_title); c3.h = C14957gcv.b((Object) nu.n, (Object) "0.00") ? e(C15715hv.tOB.hml_offer_review_waived) : C6583cXR.i(nu.n); this.a.add(c3.d()); this.a.add(new QQ()); QP.Sts a2 = QP.a(); a2.c = e(C15715hv.tOB.hml_business_owner_loan_review_duty_stamp_disclaimer); this.a.add(new QP((QP.Sts) a2)); this.a.add(new QQ()); String str4 = nu.h; if (str4 != null) { QO.IeS c4 = QO.c(); c4.g = e(C15715hv.tOB.hml_review_confirmation_net_amount_received_title); c4.h = str4; this.a.add(c4.d()); this.a.add(new QQ()); } List list3 = this.a; C14957gcv.c(list3, ""); return list3; } public final NV a(NU nu, String str) { C14957gcv.e(nu, ""); String d = C16157lj.d(Double.valueOf(Double.parseDouble(nu.e))); C14957gcv.c((Object) d, ""); String c = c(C15715hv.tOB.hml_offer_review_Baht_per, C16157lj.d(Double.valueOf(Double.parseDouble(nu.g))), nu.k); C14957gcv.c((Object) c, ""); return new NV(d, c, str, nu.d); } }