what-the-bank/sources/com/scb/phone/view/fragment/pointx/PointXPurchaseInputFragment...

816 lines
28 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.pointx;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.SpannableString;
import android.text.TextPaint;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity;
import com.scb.phone.view.activity.pointx.PointXPartnerCreditCardReviewActivity;
import com.scb.phone.view.activity.pointx.PointXPartnerPaymentReviewActivity;
import com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment;
import com.scb.phone.view.fragment.pointx.PointXPurchaseInputFragment;
import java.util.ArrayList;
import java.util.List;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C1193Xr;
import o.C1194Xs;
import o.C1202Xx;
import o.C1203Xy;
import o.C14866gag;
import o.C14881gav;
import o.C14957gcv;
import o.C2328acY;
import o.C6509cV;
import o.C7324cmD;
import o.C7325cmE;
import o.C7331cmK;
import o.C7335cmO;
import o.C7411cnl;
import o.C7415cnp;
import o.HM;
import o.HN;
import o.HR;
import o.HS;
import o.InterfaceC13391fZD;
import o.InterfaceC14894gbR;
import o.InterfaceC9547dlm;
import o.TS;
import o.TW;
import o.TY;
import o.YZ;
import o.ZI;
import o.fKI;
import o.fSJ;
import o.fSQ;
import o.glR;
import o.guQ;
import o.huo;
import o.nMh;
import o.pug;
/* loaded from: classes5.dex */
public final class PointXPurchaseInputFragment extends Hilt_PointXPurchaseInputFragment implements InterfaceC9547dlm.HBt, PointXPointPurchaseFragment.HBt {
public static final LWm d = new LWm(0);
private fSJ c;
private HR j;
@InterfaceC13391fZD
public C7411cnl pointXPurchaseInputPresenter;
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
/* JADX INFO: Access modifiers changed from: private */
public static PointXPurchaseInputFragment b(C1203Xy c1203Xy, TS ts, String str, boolean z, String[] strArr, String str2, C1194Xs c1194Xs, HR hr) {
C14957gcv.e(c1203Xy, "");
C14957gcv.e(strArr, "");
PointXPurchaseInputFragment pointXPurchaseInputFragment = new PointXPurchaseInputFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN", c1203Xy);
bundle.putParcelable("com.scb.phone.EXTRA_POINT_INQUIRY", ts);
bundle.putString("com.scb.phone.EXTRA_POINT_DEEPLINK", str);
bundle.putBoolean("EXTRA_POINT_ERROR", z);
bundle.putStringArray("EXTRA_ALLOW_LIST", strArr);
bundle.putString("EXTRA_PURCHASE_CALLBACK_PARTNER", str2);
bundle.putParcelable("EXTRA_BILL_PAYMENT_PARTNER", c1194Xs);
bundle.putParcelable("EXTRA_PURCHASE_PAYMENT_PARTNER", hr);
pointXPurchaseInputFragment.setArguments(bundle);
return pointXPurchaseInputFragment;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void e(C1203Xy c1203Xy, String str, boolean z) {
C14957gcv.e(str, "");
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
c7411cnl.a(c1203Xy, str, z);
}
@Override // o.InterfaceC9547dlm.HBt
public final void c(C1203Xy c1203Xy, String str, boolean z) {
C14957gcv.e(str, "");
AbstractC13163fSk<Intent> Ge_ = glR.Ge_(getContext(), new IntentFilter("CREDIT_CARD_SUMMARY_UPDATED"));
final Sts sts = new Sts(this, c1203Xy, str, z);
fSQ<? super Intent> fsq = new fSQ(sts) { // from class: o.fsM
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
PointXPurchaseInputFragment.e(this.b, obj);
}
{
this.b = sts;
}
};
final IeS ieS = IeS.a;
this.c = Ge_.subscribe(fsq, new fSQ(ieS) { // from class: o.fsJ
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
PointXPurchaseInputFragment.a(this.e, obj);
}
{
this.e = ieS;
}
});
}
/* loaded from: classes5.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
public static final IeS a = new IeS();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
guQ.a(th);
return C14866gag.c;
}
IeS() {
super(1);
}
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Intent, C14866gag> {
private PointXPurchaseInputFragment a;
private C1203Xy b;
private boolean d;
private String e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Intent intent) {
C7411cnl c7411cnl = this.a.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
c7411cnl.a(this.b, this.e, this.d);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(PointXPurchaseInputFragment pointXPurchaseInputFragment, C1203Xy c1203Xy, String str, boolean z) {
super(1);
this.a = pointXPurchaseInputFragment;
this.b = c1203Xy;
this.e = str;
this.d = z;
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void d(C1203Xy c1203Xy, String str, boolean z) {
C14957gcv.e(str, "");
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
c7411cnl.a(c1203Xy, str, z);
}
@Override // o.InterfaceC9547dlm.HBt
public final void b(String str, String str2, String str3) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
c(str, new pug(str2, str3));
}
@Override // o.InterfaceC9547dlm.HBt
public final void b(double d2, boolean z) {
C7325cmE w = w();
w.k = true;
w.n = true;
C1203Xy o2 = o();
TS s = s();
String r = r();
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
boolean z2 = c7411cnl.k;
C14957gcv.e(r, "");
w.d = d2;
if (o2 != null) {
w.c = o2;
String str = o2.i;
C14957gcv.c((Object) str, "");
w.x = str;
}
w.z = s;
w.u = r;
w.l = z2;
C7324cmD c7324cmD = new C7324cmD(z, w);
if (w.f != 0) {
c7324cmD.e(w.f);
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void c(ArrayList<C6509cV> arrayList) {
C14957gcv.e(arrayList, "");
C7325cmE w = w();
C14957gcv.e(arrayList, "");
w.N = (C6509cV) C14881gav.e((List) arrayList);
w.J = arrayList;
if (!w.p) {
w.c();
return;
}
if (w.f != 0) {
w.f.ar_();
}
C7335cmO c7335cmO = new C7335cmO(null, w);
if (w.f != 0) {
c7335cmO.e(w.f);
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void c(C1193Xr c1193Xr) {
C14957gcv.e(c1193Xr, "");
C7325cmE w = w();
C14957gcv.e(c1193Xr, "");
w.b = c1193Xr;
e(c1193Xr);
}
@Override // o.InterfaceC9547dlm.HBt
public final void a(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
w().d(str, str2);
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment, o.InterfaceC9548dln.IeS
public final void b(TS ts) {
C14957gcv.e(ts, "");
super.b(ts);
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
C14957gcv.e(ts, "");
c7411cnl.q = ts;
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment, o.InterfaceC12857fJa
public final void I() {
n();
}
@Override // o.InterfaceC9547dlm.HBt
public final void n() {
C7325cmE w = w();
w.t = true;
w.m = false;
w.f8655o = false;
w.e(D());
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
C7415cnp c7415cnp = new C7415cnp(c7411cnl);
if (c7411cnl.f != 0) {
c7415cnp.e(c7411cnl.f);
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void k() {
ConstraintLayout constraintLayout = m().a;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
C14957gcv.e(constraintLayout2, "");
fKI.e(constraintLayout2, 24, 0, 24, 0);
}
@Override // o.InterfaceC9547dlm.HBt
public final String l() {
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
return c7411cnl.A;
}
@Override // o.InterfaceC9548dln.IeS
public final void d(String str) {
C14957gcv.e(str, "");
try {
startActivity((Intent) HomeActivity.e(new Object[]{requireContext()}, -1290522472, 1290522474, (int) System.currentTimeMillis()));
startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str)));
} catch (Exception e) {
guQ.e(e);
}
}
@Override // o.InterfaceC9547dlm.HBt
public final void a(C1202Xx c1202Xx) {
e(false, "", c1202Xx);
}
/* JADX WARN: Removed duplicated region for block: B:27:0x00b5 */
/* JADX WARN: Removed duplicated region for block: B:30:0x00da */
/* JADX WARN: Removed duplicated region for block: B:33:0x00e2 */
/* JADX WARN: Removed duplicated region for block: B:36:0x00fc */
/* JADX WARN: Removed duplicated region for block: B:38:0x0100 */
/* JADX WARN: Removed duplicated region for block: B:41:0x0102 */
/* JADX WARN: Removed duplicated region for block: B:42:0x00e5 */
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment, o.InterfaceC12857fJa
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void e(boolean r12, java.lang.String r13, o.C1202Xx r14) {
/*
Method dump skipped, instructions count: 281
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.pointx.PointXPurchaseInputFragment.e(boolean, java.lang.String, o.Xx):void");
}
@Override // o.InterfaceC9547dlm.HBt
public final void b(TW tw) {
C14957gcv.e(tw, "");
huo<Intent> B = B();
PointXPartnerPaymentReviewActivity.Sts sts = PointXPartnerPaymentReviewActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
TS s = s();
String str = s != null ? s.a : null;
if (str == null) {
str = "";
}
C14957gcv.e(requireContext, "");
C14957gcv.e(tw, "");
C14957gcv.e(str, "");
Intent intent = new Intent(requireContext, (Class<?>) PointXPartnerPaymentReviewActivity.class);
intent.putExtra("EXTRA_POINT_X_PAYMENT_REVIEW", tw);
intent.putExtra("EXTRA_POINT_X_CUSTOMER_ID", str);
B.d(intent, null);
}
@Override // o.InterfaceC9547dlm.HBt
public final void c(TY ty) {
C14957gcv.e(ty, "");
huo<Intent> B = B();
PointXPartnerCreditCardReviewActivity.HBt hBt = PointXPartnerCreditCardReviewActivity.b;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
TS s = s();
String str = s != null ? s.a : null;
if (str == null) {
str = "";
}
C14957gcv.e(requireContext, "");
C14957gcv.e(ty, "");
C14957gcv.e(str, "");
Intent intent = new Intent(requireContext, (Class<?>) PointXPartnerCreditCardReviewActivity.class);
intent.putExtra("EXTRA_POINT_X_CREDIT_CARD_REVIEW", ty);
intent.putExtra("EXTRA_POINT_X_CUSTOMER_ID", str);
B.d(intent, null);
}
/* JADX WARN: Code restructure failed: missing block: B:100:0x021c, code lost:
o.C14957gcv.a("");
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:101:0x0220, code lost:
r1 = r0.f;
*/
/* JADX WARN: Code restructure failed: missing block: B:102:0x0222, code lost:
if (r1 == null) goto L140;
*/
/* JADX WARN: Code restructure failed: missing block: B:103:0x0224, code lost:
r1 = r1.c;
*/
/* JADX WARN: Code restructure failed: missing block: B:104:0x0226, code lost:
if (r1 != null) goto L141;
*/
/* JADX WARN: Code restructure failed: missing block: B:105:0x022c, code lost:
r2 = r0.f;
*/
/* JADX WARN: Code restructure failed: missing block: B:106:0x022e, code lost:
if (r2 == null) goto L144;
*/
/* JADX WARN: Code restructure failed: missing block: B:107:0x0230, code lost:
r2 = r2.d;
*/
/* JADX WARN: Code restructure failed: missing block: B:108:0x0234, code lost:
r9 = r0.f;
*/
/* JADX WARN: Code restructure failed: missing block: B:109:0x0236, code lost:
if (r9 == null) goto L148;
*/
/* JADX WARN: Code restructure failed: missing block: B:110:0x0238, code lost:
r9 = r9.e;
*/
/* JADX WARN: Code restructure failed: missing block: B:111:0x023c, code lost:
r1 = r6.c(null, r1, r2, r9);
r2 = r0.i;
r9 = r0.h;
r11 = r0.k;
r12 = r0.n;
r13 = r0.f;
*/
/* JADX WARN: Code restructure failed: missing block: B:112:0x024b, code lost:
if (r13 == null) goto L152;
*/
/* JADX WARN: Code restructure failed: missing block: B:113:0x024d, code lost:
r13 = r13.e;
*/
/* JADX WARN: Code restructure failed: missing block: B:114:0x0251, code lost:
if (r13 == null) goto L155;
*/
/* JADX WARN: Code restructure failed: missing block: B:115:0x0254, code lost:
r13 = "";
*/
/* JADX WARN: Code restructure failed: missing block: B:116:0x0255, code lost:
r0 = r0.e;
r31 = r11;
r11 = r1;
r1 = r2;
r2 = r9;
r9 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:163:0x0250, code lost:
r13 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:164:0x023b, code lost:
r9 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:165:0x0233, code lost:
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:166:0x0228, code lost:
r1 = o.C14851gaI.c;
*/
/* JADX WARN: Code restructure failed: missing block: B:98:0x0218, code lost:
r0 = r6.y;
*/
/* JADX WARN: Code restructure failed: missing block: B:99:0x021a, code lost:
if (r0 != null) goto L136;
*/
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:219:0x0393 */
/* JADX WARN: Removed duplicated region for block: B:262:0x0137 */
/* JADX WARN: Removed duplicated region for block: B:263:0x0119 */
/* JADX WARN: Removed duplicated region for block: B:264:0x00e9 */
/* JADX WARN: Removed duplicated region for block: B:265:0x00e3 */
/* JADX WARN: Removed duplicated region for block: B:266:0x00da */
/* JADX WARN: Removed duplicated region for block: B:267:0x00d4 */
/* JADX WARN: Removed duplicated region for block: B:37:0x00d1 */
/* JADX WARN: Removed duplicated region for block: B:39:0x00d7 */
/* JADX WARN: Removed duplicated region for block: B:42:0x00e0 */
/* JADX WARN: Removed duplicated region for block: B:44:0x00e6 */
/* JADX WARN: Removed duplicated region for block: B:47:0x0116 */
/* JADX WARN: Removed duplicated region for block: B:49:0x011c */
/* JADX WARN: Removed duplicated region for block: B:52:0x0131 */
/* JADX WARN: Removed duplicated region for block: B:55:0x0162 */
/* JADX WARN: Removed duplicated region for block: B:57:0x0169 */
/* JADX WARN: Type inference failed for: r5v4, types: [V, java.lang.Object, java.lang.String] */
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void H() {
/*
Method dump skipped, instructions count: 1124
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.pointx.PointXPurchaseInputFragment.H():void");
}
@Override // o.InterfaceC9547dlm.HBt
public final void k(String str) {
C14957gcv.e(str, "");
m().j.setText(str);
}
@Override // o.InterfaceC9547dlm.HBt
public final void o(String str) {
C14957gcv.e(str, "");
C2328acY m = m();
CheckBox checkBox = m.b;
C14957gcv.c(checkBox, "");
CheckBox checkBox2 = checkBox;
C14957gcv.e(checkBox2, "");
checkBox2.setVisibility(0);
String string = getString(R.string.pointx_terms_and_conditions_link_left);
C14957gcv.c((Object) string, "");
String string2 = getString(R.string.pointx_terms_and_conditions_link_clickable);
C14957gcv.c((Object) string2, "");
StringBuilder sb = new StringBuilder();
sb.append(string);
sb.append(string2);
String obj = sb.toString();
SpannableString spannableString = new SpannableString(obj);
spannableString.setSpan(new RVV(this), string.length(), obj.length(), 33);
TextView textView = m.L;
textView.setText((CharSequence) null);
textView.append(spannableString);
textView.setMovementMethod(LinkMovementMethod.getInstance());
textView.setHighlightColor(0);
}
/* loaded from: classes5.dex */
public static final class RVV extends ClickableSpan {
private PointXPurchaseInputFragment c;
RVV(PointXPurchaseInputFragment pointXPurchaseInputFragment) {
this.c = pointXPurchaseInputFragment;
}
@Override // android.text.style.ClickableSpan
public final void onClick(View view) {
C14957gcv.e(view, "");
PointXPurchaseInputFragment.c(this.c);
}
@Override // android.text.style.ClickableSpan, android.text.style.CharacterStyle
public final void updateDrawState(TextPaint textPaint) {
C14957gcv.e(textPaint, "");
super.updateDrawState(textPaint);
textPaint.setUnderlineText(true);
textPaint.setColor(nMh.getColor(this.c.requireContext(), R.color.f13682131100876));
}
}
@Override // o.InterfaceC9548dln.IeS
public final void c(TS ts, boolean z) {
d(ts);
a(z);
C7325cmE w = w();
C7331cmK c7331cmK = new C7331cmK();
if (w.f != 0) {
c7331cmK.e(w.f);
}
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment
public final void A() {
E();
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment, com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
c7411cnl.w_();
fSJ fsj = this.c;
if (fsj != null) {
fsj.dispose();
}
super.onDestroyView();
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment.HBt
public final void e() {
w().e(YZ.PAYWISE.code);
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
public static final /* synthetic */ void c(PointXPurchaseInputFragment pointXPurchaseInputFragment) {
PartnerRepaymentTermsAndConditionsActivity.HBt hBt = PartnerRepaymentTermsAndConditionsActivity.k;
Context requireContext = pointXPurchaseInputFragment.requireContext();
C14957gcv.c(requireContext, "");
C7411cnl c7411cnl = pointXPurchaseInputFragment.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
String str = c7411cnl.D;
C14957gcv.e(requireContext, "");
Intent intent = new Intent(requireContext, (Class<?>) PartnerRepaymentTermsAndConditionsActivity.class);
intent.putExtra("EXTRA_DEEJUNG_TERMS_AND_CONDITIONS_URL", str);
pointXPurchaseInputFragment.startActivity(intent);
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment
public final void d(final C1203Xy c1203Xy, final TS ts, final String str, final boolean z) {
Parcelable parcelable;
Parcelable parcelable2;
Parcelable parcelable3;
HM hm;
HS hs;
HS hs2;
C14957gcv.e(str, "");
m(YZ.PAYWISE.code);
Bundle arguments = getArguments();
if (arguments != null) {
C7411cnl c7411cnl = this.pointXPurchaseInputPresenter;
if (c7411cnl == null) {
C14957gcv.a("");
c7411cnl = null;
}
if (Build.VERSION.SDK_INT >= 33) {
parcelable = (Parcelable) arguments.getParcelable("EXTRA_BILL_PAYMENT_PARTNER", C1194Xs.class);
} else {
Parcelable parcelable4 = arguments.getParcelable("EXTRA_BILL_PAYMENT_PARTNER");
if (!(parcelable4 instanceof C1194Xs)) {
parcelable4 = null;
}
parcelable = (C1194Xs) parcelable4;
}
C1194Xs c1194Xs = (C1194Xs) parcelable;
if (c1194Xs != null) {
C14957gcv.e(c1194Xs, "");
c7411cnl.e = c1194Xs;
HM hm2 = c1194Xs.ad;
c7411cnl.A = (hm2 == null || (hs2 = hm2.a) == null) ? null : hs2.e;
}
if (Build.VERSION.SDK_INT >= 33) {
parcelable2 = (Parcelable) arguments.getParcelable("EXTRA_PURCHASE_PAYMENT_PARTNER", HR.class);
} else {
Parcelable parcelable5 = arguments.getParcelable("EXTRA_PURCHASE_PAYMENT_PARTNER");
if (!(parcelable5 instanceof HR)) {
parcelable5 = null;
}
parcelable2 = (HR) parcelable5;
}
HR hr = (HR) parcelable2;
if (hr != null) {
this.j = hr;
C14957gcv.e(hr, "");
c7411cnl.y = hr;
HN hn = hr.f;
c7411cnl.A = (hn == null || (hm = hn.a) == null || (hs = hm.a) == null) ? null : hs.e;
}
if (Build.VERSION.SDK_INT >= 33) {
parcelable3 = (Parcelable) arguments.getParcelable("EXTRA_REPAYMENT_DISPLAY", C1193Xr.class);
} else {
Parcelable parcelable6 = arguments.getParcelable("EXTRA_REPAYMENT_DISPLAY");
if (!(parcelable6 instanceof C1193Xr)) {
parcelable6 = null;
}
parcelable3 = (C1193Xr) parcelable6;
}
C1193Xr c1193Xr = (C1193Xr) parcelable3;
if (c1193Xr != null) {
String string = arguments.getString("EXTRA_REPAYMENT_TERM_AND_COND");
String string2 = arguments.getString("EXTRA_REPAYMENT_CARD_MASK");
if (string2 == null) {
string2 = "";
}
String string3 = arguments.getString("EXTRA_REPAYMENT_NOTE");
if (string3 == null) {
string3 = "";
}
C14957gcv.e(c1193Xr, "");
C14957gcv.e(string2, "");
C14957gcv.e(string3, "");
c7411cnl.b = c1193Xr;
if (string == null) {
string = "";
}
c7411cnl.D = string;
c7411cnl.g = string2;
c7411cnl.n = string3;
c7411cnl.k = true;
C2328acY m = m();
TextView textView = m.u;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
View view = m.Q;
C14957gcv.c(view, "");
C14957gcv.e(view, "");
view.setVisibility(8);
View view2 = m.R;
C14957gcv.c(view2, "");
C14957gcv.e(view2, "");
view2.setVisibility(8);
}
}
if (c1203Xy != null) {
final C7411cnl c7411cnl2 = this.pointXPurchaseInputPresenter;
if (c7411cnl2 == null) {
C14957gcv.a("");
c7411cnl2 = null;
}
c7411cnl2.e((C7411cnl) this);
C14957gcv.e(str, "");
final C7411cnl c7411cnl3 = c7411cnl2;
ZI.IeS ieS = new ZI.IeS(c7411cnl3, ts, c1203Xy, str, z) { // from class: o.cno
private TS a;
private boolean b;
private String c;
private C1203Xy d;
private C7411cnl e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7411cnl.d(this.e, this.a, this.d, this.c, this.b, (InterfaceC9547dlm.HBt) obj);
}
{
this.e = c7411cnl3;
this.a = ts;
this.d = c1203Xy;
this.c = str;
this.b = z;
}
};
if (c7411cnl2.f != 0) {
ieS.e(c7411cnl2.f);
}
TS ts2 = c7411cnl2.q;
String str2 = ts2 != null ? ts2.a : null;
final String str3 = str2 != null ? str2 : "";
ZI.IeS ieS2 = new ZI.IeS(c7411cnl2, str3) { // from class: o.cnu
private String a;
private C7411cnl c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7411cnl.e(this.c, this.a, (InterfaceC9547dlm.HBt) obj);
}
{
this.c = c7411cnl2;
this.a = str3;
}
};
if (c7411cnl2.f != 0) {
ieS2.e(c7411cnl2.f);
}
}
}
@Override // com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment
public final void C() {
n();
}
}