what-the-bank/sources/com/scb/phone/view/fragment/investment/purchase/FundPurchaseLandingFragment...

1749 lines
59 KiB
Java

package com.scb.phone.view.fragment.investment.purchase;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.core.widget.NestedScrollView;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.material.tabs.TabLayout;
import com.scb.phone.R;
import com.scb.phone.view.activity.investment.FundActionsSearchActivity;
import com.scb.phone.view.activity.investment.FundFactSheetActivity;
import com.scb.phone.view.activity.investment.assessment.QuestionnaireActivity;
import com.scb.phone.view.activity.profilemanagement.manageaccounts.AccountManagementActivity;
import com.scb.phone.view.activity.singleform.SingleFormLandingActivity;
import com.scb.phone.view.adapter.investment.FundClientListAdapter;
import com.scb.phone.view.adapter.investment.purchase.AccountDetailsAdapter;
import com.scb.phone.view.adapter.investment.purchase.CreditCardDetailsAdapter;
import com.scb.phone.view.custom.common.AmountEditText;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.custom.common.CustomFundSelect;
import com.scb.phone.view.custom.common.DefaultButton;
import com.scb.phone.view.custom.common.FragmentWrapContentViewPager;
import com.scb.phone.view.custom.common.NoSwipeViewPager;
import com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment;
import java.util.List;
import me.relex.circleindicator.CircleIndicator;
import o.AbstractC5728byY;
import o.C0367Fb;
import o.C0386Fk;
import o.C0859Qc;
import o.C12274evC;
import o.C3750bFl;
import o.EnumC0861Qd;
import o.InterfaceC12876fJt;
import o.InterfaceC13391fZD;
import o.InterfaceC6668cZk;
import o.OH;
import o.OK;
import o.ON;
import o.OP;
import o.PY;
import o.VV;
import o.fIF;
import o.fIG;
import o.gjJ;
import o.nMh;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class FundPurchaseLandingFragment extends Hilt_FundPurchaseLandingFragment<C3750bFl> implements ViewPager.ojQ, InterfaceC6668cZk.IeS, fIF, fIG, TabLayout.IeS, InterfaceC12876fJt {
@BindView
DefaultButton btCancel;
@BindView
DefaultButton buttonReview;
private FundClientListAdapter c;
@BindView
LinearLayout clientNoLayout;
private C12274evC d;
@BindView
AmountEditText editAmount;
@InterfaceC13391fZD
public C3750bFl fundPurchasePresenter;
@BindView
CustomFundSelect fundSelect;
@BindView
LinearLayout llLayoutAddPayAccountSection;
@BindView
LinearLayout llLayoutAmount;
@BindView
CircleIndicator mCircleIndicator;
@BindView
LinearLayout mFundPayContainer;
@BindView
LinearLayout mFundPayFragmentContainer;
@BindView
TextView mFundPayTitle;
@BindView
NoSwipeViewPager mViewPager;
@BindView
NestedScrollView nestedScrollView;
@BindView
TabLayout tabLayout;
@BindView
FragmentWrapContentViewPager tabPager;
@BindView
TextView tvAddPayAccountDisclaimer;
@BindView
TextView tvAddPayAccountLink;
@BindView
TextView tvAmount;
@BindView
TextView tvOmnibusAccountRemark;
@BindView
View vAmountSeparator;
private static final byte[] $$a = {29, 33, 79, 109};
private static final int $$b = CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
private static int g = 1;
private static char[] i = {49574};
private static long j = -6697097307750955265L;
public static /* synthetic */ Object b(Object[] objArr, int i2, int i3, int i4) {
int i5 = (i2 * (-623)) + (i3 * (-623));
int i6 = ~i2;
switch (i5 + (i6 * (-624)) + ((i6 | i3) * 624) + ((i2 | i3) * 624)) {
case 1:
return d(objArr);
case 2:
return e(objArr);
case 3:
return b(objArr);
case 4:
return a(objArr);
case 5:
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
int i7 = 2 % 2;
int i8 = g + 113;
h = i8 % 128;
int i9 = i8 % 2;
fundPurchaseLandingFragment.fundPurchasePresenter.s();
int i10 = h + 65;
g = i10 % 128;
int i11 = i10 % 2;
return null;
case 6:
return c(objArr);
case 7:
return j(objArr);
case 8:
return g(objArr);
case 9:
return i(objArr);
case 10:
return h(objArr);
default:
FundPurchaseLandingFragment fundPurchaseLandingFragment2 = (FundPurchaseLandingFragment) objArr[0];
List<? extends C0386Fk> list = (List) objArr[1];
int i12 = 2 % 2;
int i13 = h + 5;
g = i13 % 128;
int i14 = i13 % 2;
fundPurchaseLandingFragment2.fundPurchasePresenter.b(list);
int i15 = g + 95;
h = i15 % 128;
int i16 = i15 % 2;
return null;
}
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void q(int r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r7 = 106 - r7
int r5 = r5 * 3
int r5 = r5 + 4
byte[] r0 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.$$a
int r6 = r6 * 3
int r1 = r6 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r3 = r6
r4 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r3 = r0[r5]
L26:
int r3 = -r3
int r7 = r7 + r3
int r5 = r5 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.q(int, byte, short, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment
public final /* synthetic */ AbstractC5728byY m() {
int i2 = 2 % 2;
int i3 = h + 65;
g = i3 % 128;
if (i3 % 2 != 0) {
return H();
}
H();
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:30:0x03cd */
/* JADX WARN: Removed duplicated region for block: B:32:0x03ce */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void p(char r24, int r25, int r26, java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 983
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.p(char, int, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment, androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
int i2 = 2 % 2;
int i3 = g + 71;
h = i3 % 128;
int i4 = i3 % 2;
View inflate = layoutInflater.inflate(R.layout.2131559845, viewGroup, false);
ButterKnife.c(this, inflate);
super.onCreateView(layoutInflater, viewGroup, bundle);
this.fundPurchasePresenter.e((C3750bFl) this);
if (getActivity() != null) {
int i5 = h + 41;
g = i5 % 128;
int i6 = i5 % 2;
if (getActivity().getIntent() != null) {
Intent intent = getActivity().getIntent();
this.fundPurchasePresenter.d((PY) intent.getParcelableExtra("com.scb.phone.PURCHASE_FUND_SEARCH_SELECTED"), intent.getIntExtra("SELECTED_CLIENT_LIST_POSITION", 0), intent.getParcelableArrayListExtra("CLIENT_LIST"), (ON) intent.getParcelableExtra("INVESTMENT_DETAILS_PROFILE"), intent.getParcelableArrayListExtra("INVESTMENT_DETAILS_CLIENT"));
int i7 = h + 83;
g = i7 % 128;
int i8 = i7 % 2;
}
}
this.mViewPager.addOnPageChangeListener(this);
aa();
I();
v("mfschedule_purchase");
return inflate;
}
@Override // o.InterfaceC6668cZk.IeS
public final void f() {
int i2 = 2 % 2;
int i3 = g + 109;
h = i3 % 128;
int i4 = i3 % 2;
this.fundSelect.setFundTitle(R.string.select_fund_title);
this.fundSelect.setFundCode(getResources().getString(R.string.select_fund_subtitle));
this.mFundPayContainer.setVisibility(8);
int i5 = h + 35;
g = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void b(OH oh) {
int i2 = 2 % 2;
int i3 = g + 103;
h = i3 % 128;
int i4 = i3 % 2;
this.fundPurchasePresenter.e(oh.d);
b(new Object[]{this}, 2038827858, -2038827857, System.identityHashCode(this));
int i5 = g + 35;
h = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object d(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
int i2 = 2 % 2;
int i3 = h + 125;
g = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.fundSelect.setOnFundSelectClickListener(fundPurchaseLandingFragment);
fundPurchaseLandingFragment.s();
int i5 = h + 109;
g = i5 % 128;
int i6 = i5 % 2;
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment
public final void aa() {
int i2 = 2 % 2;
int i3 = h + 25;
g = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
super.aa();
u(getString(R.string.fund_purchase_landing_title));
Y();
int i4 = g + 117;
h = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
super.aa();
u(getString(R.string.fund_purchase_landing_title));
Y();
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6668cZk.IeS
public final void d(int i2, List<OK> list) {
int i3 = 2 % 2;
FundClientListAdapter fundClientListAdapter = new FundClientListAdapter(getContext(), list);
this.c = fundClientListAdapter;
this.mViewPager.setAdapter(fundClientListAdapter);
this.mViewPager.setClipToPadding(false);
this.mViewPager.setPadding(getResources().getDimensionPixelOffset(R.dimen.f28572131166623), 0, getResources().getDimensionPixelOffset(R.dimen.f28572131166623), 0);
this.mViewPager.setOffscreenPageLimit(1);
this.mCircleIndicator.setViewPager(this.mViewPager);
this.c.c = i2;
this.mViewPager.setCurrentItem(i2);
if (list.size() != 1) {
int i4 = h + 105;
g = i4 % 128;
if (i4 % 2 != 0 ? list.size() < 10 : list.size() < 29) {
this.mCircleIndicator.setVisibility(0);
int i5 = g + 43;
h = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 4 % 2;
}
this.fundPurchasePresenter.b(i2);
}
}
this.mCircleIndicator.setVisibility(8);
this.fundPurchasePresenter.b(i2);
}
@Override // o.fIG
public final void c(C0386Fk c0386Fk, C0367Fb c0367Fb) {
int i2 = 2 % 2;
int i3 = g + 83;
h = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
throw null;
}
if (c0386Fk != null) {
this.fundPurchasePresenter.b(c0386Fk.D);
int i4 = h + 1;
g = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
if (c0367Fb != null) {
this.fundPurchasePresenter.c(c0367Fb.g);
this.fundPurchasePresenter.a(c0367Fb.q);
}
int i5 = h + 27;
g = i5 % 128;
int i6 = i5 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x00ab, code lost:
r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h + 89;
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r1 % 128;
r1 = r1 % 2;
r7.mFundPayTitle.setText(com.scb.phone.R.string.fund_pay_by_CREDIT_CARD);
r1 = getChildFragmentManager().a();
r1.b(com.scb.phone.R.id.ll_layout_fund_pay_fragment_container, com.scb.phone.view.fragment.investment.purchase.CreditCardTabFragment.e(r7, 1), getString(com.scb.phone.R.string.fund_pay_credit_card_fragment), 2);
r1.b();
r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g + 33;
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x004b, code lost:
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x00df, code lost:
r7.buttonReview.setVisibility(0);
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x00e4, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0033, code lost:
if (r7.fundPurchasePresenter.o() == false) goto L18;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0035, code lost:
r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g + 97;
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x003e, code lost:
if ((r1 % 2) != 0) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0040, code lost:
F();
r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h + 67;
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x004e, code lost:
F();
r2.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0054, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x002a, code lost:
if (r7.fundPurchasePresenter.j() != true) goto L18;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r7.fundPurchasePresenter.j() != false) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0055, code lost:
r7.tabLayout.setVisibility(8);
r7.tabPager.setVisibility(8);
r7.d = null;
r7.mFundPayFragmentContainer.setVisibility(0);
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0072, code lost:
if ((!r7.fundPurchasePresenter.j()) == false) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0075, code lost:
r7.mFundPayTitle.setText(com.scb.phone.R.string.fund_pay_by_account_no);
r1 = getChildFragmentManager().a();
r1.b(com.scb.phone.R.id.ll_layout_fund_pay_fragment_container, com.scb.phone.view.fragment.investment.purchase.AccountTabFragment.e(r7, r7, 0, r7.fundPurchasePresenter.n(), r7.fundPurchasePresenter.f()), getString(com.scb.phone.R.string.fund_pay_account_fragment), 2);
r1.b();
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x00a8, code lost:
if (r7.fundPurchasePresenter.o() == true) goto L25;
*/
@Override // o.InterfaceC6668cZk.IeS
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void g() {
/*
r7 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h
int r1 = r1 + 29
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r2
int r1 = r1 % r0
r2 = 0
r3 = 0
r4 = 1
if (r1 != 0) goto L1f
android.widget.LinearLayout r1 = r7.mFundPayContainer
r1.setVisibility(r4)
o.bFl r1 = r7.fundPurchasePresenter
boolean r1 = r1.j()
if (r1 == 0) goto L55
goto L2d
L1f:
android.widget.LinearLayout r1 = r7.mFundPayContainer
r1.setVisibility(r3)
o.bFl r1 = r7.fundPurchasePresenter
boolean r1 = r1.j()
if (r1 == r4) goto L2d
goto L55
L2d:
o.bFl r1 = r7.fundPurchasePresenter
boolean r1 = r1.o()
if (r1 == 0) goto L55
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g
int r1 = r1 + 97
int r4 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h = r4
int r1 = r1 % r0
if (r1 != 0) goto L4e
r7.F()
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h
int r1 = r1 + 67
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r2
L4b:
int r1 = r1 % r0
goto Ldf
L4e:
r7.F()
r2.hashCode()
throw r2
L55:
com.google.android.material.tabs.TabLayout r1 = r7.tabLayout
r5 = 8
r1.setVisibility(r5)
com.scb.phone.view.custom.common.FragmentWrapContentViewPager r1 = r7.tabPager
r1.setVisibility(r5)
r7.d = r2
android.widget.LinearLayout r1 = r7.mFundPayFragmentContainer
r1.setVisibility(r3)
o.bFl r1 = r7.fundPurchasePresenter
boolean r1 = r1.j()
r1 = r1 ^ r4
r2 = 2131365162(0x7f0a0d2a, float:1.8350182E38)
if (r1 == 0) goto L75
goto La2
L75:
android.widget.TextView r1 = r7.mFundPayTitle
r5 = 2131955217(0x7f130e11, float:1.9546955E38)
r1.setText(r5)
o.yRS r1 = r7.getChildFragmentManager()
o.fbE r1 = r1.a()
o.bFl r5 = r7.fundPurchasePresenter
boolean r5 = r5.n()
o.bFl r6 = r7.fundPurchasePresenter
java.lang.String r6 = r6.f()
com.scb.phone.view.fragment.investment.purchase.AccountTabFragment r5 = com.scb.phone.view.fragment.investment.purchase.AccountTabFragment.e(r7, r7, r3, r5, r6)
r6 = 2131955214(0x7f130e0e, float:1.954695E38)
java.lang.String r6 = r7.getString(r6)
r1.b(r2, r5, r6, r0)
r1.b()
La2:
o.bFl r1 = r7.fundPurchasePresenter
boolean r1 = r1.o()
if (r1 == r4) goto Lab
goto Ldf
Lab:
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h
int r1 = r1 + 89
int r5 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r5
int r1 = r1 % r0
android.widget.TextView r1 = r7.mFundPayTitle
r5 = 2131955216(0x7f130e10, float:1.9546953E38)
r1.setText(r5)
o.yRS r1 = r7.getChildFragmentManager()
o.fbE r1 = r1.a()
com.scb.phone.view.fragment.investment.purchase.CreditCardTabFragment r4 = com.scb.phone.view.fragment.investment.purchase.CreditCardTabFragment.e(r7, r4)
r5 = 2131955218(0x7f130e12, float:1.9546957E38)
java.lang.String r5 = r7.getString(r5)
r1.b(r2, r4, r5, r0)
r1.b()
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g
int r1 = r1 + 33
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h = r2
goto L4b
Ldf:
com.scb.phone.view.custom.common.DefaultButton r0 = r7.buttonReview
r0.setVisibility(r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g():void");
}
private void F() {
int i2 = 2 % 2;
this.mFundPayFragmentContainer.setVisibility(8);
this.mFundPayTitle.setText(R.string.fund_pay_by);
this.tabLayout.setVisibility(0);
this.tabPager.setVisibility(0);
C12274evC c12274evC = new C12274evC(getChildFragmentManager(), getContext(), this, this, this.fundPurchasePresenter.n(), this.fundPurchasePresenter.f());
this.d = c12274evC;
this.tabPager.setAdapter(c12274evC);
this.tabLayout.setupWithViewPager(this.tabPager);
TabLayout tabLayout = this.tabLayout;
if (!tabLayout.d.contains(this)) {
int i3 = g + 3;
h = i3 % 128;
if (i3 % 2 == 0) {
tabLayout.d.add(this);
} else {
tabLayout.d.add(this);
throw null;
}
}
}
private void e(int i2) {
int[] iArr;
int i3 = 2 % 2;
int i4 = g + 45;
h = i4 % 128;
if (i4 % 2 != 0) {
this.fundPurchasePresenter.a(i2);
iArr = new int[]{i2, i2 >>> 1};
iArr[5] = 0;
} else {
this.fundPurchasePresenter.a(i2);
iArr = new int[]{i2 - 1, i2, i2 + 1};
}
for (int i5 = 0; i5 < 3; i5++) {
int i6 = iArr[i5];
NoSwipeViewPager noSwipeViewPager = this.mViewPager;
View findViewWithTag = noSwipeViewPager != null ? noSwipeViewPager.findViewWithTag("TAG_PURCHASE_CLIENT_LIST_ADAPTER".concat(String.valueOf(i6))) : null;
if (findViewWithTag != null) {
int i7 = h + 23;
g = i7 % 128;
int i8 = i7 % 2;
if (i2 == i6) {
findViewWithTag.setBackground(nMh.getDrawable(getContext(), R.drawable.rounded_purple_view_pager));
} else {
findViewWithTag.setBackground(nMh.getDrawable(getContext(), R.drawable.bg_white_rounded));
}
}
}
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageSelected(int i2) {
int i3 = 2 % 2;
int i4 = h + 121;
g = i4 % 128;
int i5 = i4 % 2;
C3750bFl.c(new Object[]{this.fundPurchasePresenter, Integer.valueOf(i2)}, 184262029, -184262021, i2);
e(i2);
this.fundPurchasePresenter.b(i2);
FundClientListAdapter fundClientListAdapter = this.c;
if (fundClientListAdapter != null) {
fundClientListAdapter.c = i2;
int i6 = h + 55;
g = i6 % 128;
int i7 = i6 % 2;
}
}
@Override // o.fIF
public final void b(View view) {
int i2 = 2 % 2;
int i3 = h + 73;
g = i3 % 128;
if (i3 % 2 == 0) {
this.fundPurchasePresenter.a(EnumC0861Qd.DEFAULT_TAB);
throw null;
}
this.fundPurchasePresenter.a(EnumC0861Qd.DEFAULT_TAB);
int i4 = g + 77;
h = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void b(EnumC0861Qd enumC0861Qd) {
int i2 = 2 % 2;
Intent intent = new Intent(getContext(), (Class<?>) FundActionsSearchActivity.class);
intent.putExtra("com.scb.phone.FUND_ACTION_INDICATOR", "FUND_ACTION_PURCHASE");
intent.putExtra("com.scb.phone.ARGS_FUND_SEARCH_TAB_INDEX", enumC0861Qd);
startActivityForResult(intent, 7001);
int i3 = h + 3;
g = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 49 / 0;
}
}
@Override // o.InterfaceC6668cZk.IeS
public final void a(C0859Qc c0859Qc) {
int i2 = 2 % 2;
int i3 = g + 111;
h = i3 % 128;
if (i3 % 2 != 0) {
getContext();
throw null;
}
Context context = getContext();
if (context != null) {
startActivity(QuestionnaireActivity.ahd_(context, getClass().getName(), c0859Qc, "mfschedule_purchasefundfact"));
int i4 = g + 75;
h = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onActivityResult(int i2, int i3, Intent intent) {
int i4 = 2 % 2;
int i5 = g + 45;
h = i5 % 128;
int i6 = i5 % 2;
if (i2 != 7001) {
super.onActivityResult(i2, i3, intent);
} else if (i3 == -1) {
this.fundPurchasePresenter.a((PY) intent.getParcelableExtra("com.scb.phone.PURCHASE_FUND_SEARCH_SELECTED"));
this.fundPurchasePresenter.i();
C3750bFl c3750bFl = this.fundPurchasePresenter;
d((PY) C3750bFl.c(new Object[]{c3750bFl}, 1512725203, -1512725198, System.identityHashCode(c3750bFl)));
this.fundPurchasePresenter.a(true);
return;
}
int i7 = g + 101;
h = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC6668cZk.IeS
public final void d(PY py) {
int i2 = 2 % 2;
int i3 = h + 111;
g = i3 % 128;
int i4 = i3 % 2;
this.fundSelect.setFundTitle(R.string.select_fund_title);
this.fundSelect.setFundCode(py.a);
this.fundSelect.b.g.setVisibility(0);
this.fundSelect.setDescription(py.d);
CustomFundSelect customFundSelect = this.fundSelect;
C3750bFl c3750bFl = this.fundPurchasePresenter;
customFundSelect.setOmnibusCapsule(((Boolean) C3750bFl.c(new Object[]{c3750bFl}, 1781985744, -1781985733, System.identityHashCode(c3750bFl))).booleanValue());
int i5 = h + 91;
g = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 57 / 0;
}
}
@Override // androidx.fragment.app.Fragment
public void onResume() {
int i2 = 2 % 2;
super.onResume();
if (getActivity() != null) {
int i3 = h + 17;
g = i3 % 128;
int i4 = i3 % 2;
if (getActivity().getIntent() != null) {
String stringExtra = getActivity().getIntent().getStringExtra("com.scb.phone.PURCHASE_FUND_ANOTHER_TRANSACTION");
Object[] objArr = new Object[1];
p((char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 20036), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 1 - KeyEvent.normalizeMetaState(0), objArr);
if (((String) objArr[0]).intern().equals(stringExtra)) {
int i5 = g + 31;
h = i5 % 128;
if (i5 % 2 != 0) {
E();
getActivity().setIntent(null);
int i6 = 20 / 0;
} else {
E();
getActivity().setIntent(null);
}
}
}
}
if (!(!this.fundPurchasePresenter.m())) {
int i7 = h + 29;
g = i7 % 128;
int i8 = i7 % 2;
this.fundPurchasePresenter.a(false);
n();
c();
g();
I();
}
}
private void E() {
int i2 = 2 % 2;
int i3 = g + 111;
h = i3 % 128;
if (i3 % 2 != 0) {
this.fundPurchasePresenter.a(0);
n();
o();
} else {
this.fundPurchasePresenter.a(0);
n();
o();
}
a();
I();
}
private /* synthetic */ void w() {
int i2 = 2 % 2;
int i3 = h + 121;
g = i3 % 128;
int i4 = i3 % 2;
this.clientNoLayout.requestFocus();
int i5 = g + 15;
h = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8937daK
public final void n() {
int i2 = 2 % 2;
C3750bFl c3750bFl = this.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl, Double.valueOf(0.0d)}, 2094704415, -2094704413, System.identityHashCode(c3750bFl));
this.editAmount.setText("");
this.editAmount.setHint(R.string.transfer_to_account_amount_hint);
this.editAmount.post(new Runnable(this) { // from class: o.fib
private FundPurchaseLandingFragment d;
@Override // java.lang.Runnable
public final void run() {
FundPurchaseLandingFragment.a(this.d);
}
{
this.d = this;
}
});
int i3 = h + 109;
g = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8937daK
public final void o() {
TextView textView;
int i2;
int i3 = 2 % 2;
int i4 = h + 77;
g = i4 % 128;
if (i4 % 2 == 0) {
this.fundSelect.setFundCode(getResources().getString(R.string.select_fund_subtitle));
textView = this.fundSelect.b.g;
i2 = 33;
} else {
this.fundSelect.setFundCode(getResources().getString(R.string.select_fund_subtitle));
textView = this.fundSelect.b.g;
i2 = 8;
}
textView.setVisibility(i2);
this.fundSelect.setOmnibusCapsule(false);
int i5 = h + 117;
g = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void e(C0859Qc c0859Qc) {
int i2 = 2 % 2;
int i3 = g + 95;
h = i3 % 128;
int i4 = i3 % 2;
String str = c0859Qc.c;
b(new Object[]{this, c0859Qc}, -1271174396, 1271174402, System.identityHashCode(this));
int i5 = h + 77;
g = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void a() {
LinearLayout linearLayout;
int i2;
int i3 = 2 % 2;
int i4 = g + 117;
h = i4 % 128;
if (i4 % 2 != 0) {
linearLayout = this.mFundPayContainer;
i2 = 48;
} else {
linearLayout = this.mFundPayContainer;
i2 = 8;
}
linearLayout.setVisibility(i2);
int i5 = h + 107;
g = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
VV vv = (VV) objArr[1];
int i2 = 2 % 2;
int i3 = g + 107;
h = i3 % 128;
if (i3 % 2 != 0) {
fundPurchaseLandingFragment.fundPurchasePresenter.a(vv);
throw null;
}
fundPurchaseLandingFragment.fundPurchasePresenter.a(vv);
int i4 = h + 31;
g = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC6668cZk.IeS
public final void a(String str, String str2, final VV vv) {
int i2 = 2 % 2;
aup_(str, str2, R.string.ok, new DialogInterface.OnClickListener(this, vv) { // from class: o.fia
private VV b;
private FundPurchaseLandingFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i3) {
FundPurchaseLandingFragment.b(new Object[]{this.e, this.b}, 119155864, -119155861, (int) System.currentTimeMillis());
}
{
this.e = this;
this.b = vv;
}
});
int i3 = h + 45;
g = i3 % 128;
int i4 = i3 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
C0859Qc c0859Qc = (C0859Qc) objArr[1];
int i2 = 2 % 2;
int i3 = g + 113;
h = i3 % 128;
int i4 = i3 % 2;
Context context = fundPurchaseLandingFragment.getContext();
if (context != null) {
int i5 = g + 61;
h = i5 % 128;
if (i5 % 2 != 0) {
fundPurchaseLandingFragment.startActivity(FundFactSheetActivity.agN_(context, c0859Qc.c, c0859Qc, "mfschedule_purchasefundfact"));
throw null;
}
fundPurchaseLandingFragment.startActivity(FundFactSheetActivity.agN_(context, c0859Qc.c, c0859Qc, "mfschedule_purchasefundfact"));
}
int i6 = h + 25;
g = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 83 / 0;
}
return null;
}
@OnClick
public void onReviewButtonClick() {
int i2;
int i3 = 2 % 2;
aN_();
y();
C3750bFl c3750bFl = this.fundPurchasePresenter;
TabLayout.RVV rvv = this.tabLayout.f;
if (rvv != null) {
int i4 = g + 71;
h = i4 % 128;
int i5 = i4 % 2;
i2 = rvv.i;
} else {
i2 = -1;
}
C3750bFl.c(new Object[]{c3750bFl, Integer.valueOf(i2)}, 1466916246, -1466916237, i2);
int i6 = h + 39;
g = i6 % 128;
int i7 = i6 % 2;
}
private void s() {
int i2 = 2 % 2;
this.editAmount.setOnAmountChangeListener(new AmountEditText.RVV(this) { // from class: com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.5
private FundPurchaseLandingFragment d;
{
this.d = this;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
FundPurchaseLandingFragment.b(new Object[]{this.d, Double.valueOf(d)}, -113476605, 113476609, (int) System.currentTimeMillis());
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.d.aN_();
}
});
int i3 = h + 111;
g = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
private void e(double d) {
int i2 = 2 % 2;
int i3 = h + 89;
g = i3 % 128;
if (i3 % 2 == 0) {
C3750bFl c3750bFl = this.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl, Double.valueOf(d)}, 2094704415, -2094704413, System.identityHashCode(c3750bFl));
I();
int i4 = 40 / 0;
return;
}
C3750bFl c3750bFl2 = this.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl2, Double.valueOf(d)}, 2094704415, -2094704413, System.identityHashCode(c3750bFl2));
I();
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost:
if ((!r4.fundPurchasePresenter.h()) != false) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r4.fundPurchasePresenter.h() != false) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002d, code lost:
r4.buttonReview.setButtonEnabled(true);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void I() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g
int r1 = r1 + 73
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h = r2
int r1 = r1 % r0
r2 = 1
if (r1 == 0) goto L1d
com.scb.phone.view.custom.common.DefaultButton r1 = r4.buttonReview
r1.setButtonEnabled(r2)
o.bFl r1 = r4.fundPurchasePresenter
boolean r1 = r1.h()
if (r1 == 0) goto L32
goto L2d
L1d:
com.scb.phone.view.custom.common.DefaultButton r1 = r4.buttonReview
r3 = 0
r1.setButtonEnabled(r3)
o.bFl r1 = r4.fundPurchasePresenter
boolean r1 = r1.h()
r1 = r1 ^ r2
if (r1 == 0) goto L2d
goto L32
L2d:
com.scb.phone.view.custom.common.DefaultButton r1 = r4.buttonReview
r1.setButtonEnabled(r2)
L32:
int r1 = com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.h
int r1 = r1 + 101
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.g = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.purchase.FundPurchaseLandingFragment.I():void");
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void e(TabLayout.RVV rvv) {
int i2 = 2 % 2;
int i3 = g + 97;
h = i3 % 128;
if (i3 % 2 != 0) {
int i4 = rvv.i;
throw null;
}
int i5 = rvv.i;
if (i5 == 0) {
AccountTabFragment accountTabFragment = (AccountTabFragment) this.d.instantiateItem((ViewGroup) this.tabLayout, 0);
AccountDetailsAdapter accountDetailsAdapter = accountTabFragment.d;
if (accountDetailsAdapter != null) {
int i6 = h + 25;
g = i6 % 128;
int i7 = i6 % 2;
C0386Fk c0386Fk = accountDetailsAdapter.a.get(accountTabFragment.c);
fIG fig = accountTabFragment.h;
if (fig != null) {
int i8 = g + 5;
h = i8 % 128;
if (i8 % 2 != 0) {
int i9 = accountTabFragment.j;
fig.c(c0386Fk, null);
throw null;
}
int i10 = accountTabFragment.j;
fig.c(c0386Fk, null);
}
}
} else if (i5 == 1) {
CreditCardTabFragment creditCardTabFragment = (CreditCardTabFragment) this.d.instantiateItem((ViewGroup) this.tabLayout, 1);
CreditCardDetailsAdapter creditCardDetailsAdapter = creditCardTabFragment.c;
if (creditCardDetailsAdapter != null) {
C0367Fb c0367Fb = creditCardDetailsAdapter.e.get(creditCardTabFragment.d);
fIG fig2 = creditCardTabFragment.j;
if (fig2 != null) {
int i11 = creditCardTabFragment.g;
fig2.c(null, c0367Fb);
return;
}
return;
}
return;
}
int i12 = g + 77;
h = i12 % 128;
int i13 = i12 % 2;
}
private static /* synthetic */ Object j(Object[] objArr) {
int i2;
final FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
final C0859Qc c0859Qc = (C0859Qc) objArr[1];
OP op = (OP) objArr[2];
int i3 = 2 % 2;
int i4 = g + 41;
h = i4 % 128;
int i5 = i4 % 2;
Object obj = null;
if (!op.b.equals("P")) {
i2 = R.string.ok;
} else {
int i6 = g + 105;
h = i6 % 128;
if (i6 % 2 != 0) {
obj.hashCode();
throw null;
}
i2 = R.string.proceed;
}
fundPurchaseLandingFragment.aup_(op.d, op.c, i2, new DialogInterface.OnClickListener(fundPurchaseLandingFragment, c0859Qc) { // from class: o.fih
private C0859Qc b;
private FundPurchaseLandingFragment d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i7) {
FundPurchaseLandingFragment.a(this.d, this.b);
}
{
this.d = fundPurchaseLandingFragment;
this.b = c0859Qc;
}
});
return null;
}
private /* synthetic */ void d(C0859Qc c0859Qc) {
int i2 = 2 % 2;
int i3 = g + 43;
h = i3 % 128;
int i4 = i3 % 2;
this.fundPurchasePresenter.a(c0859Qc);
int i5 = g + 113;
h = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object i(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
int i2 = 2 % 2;
int i3 = g + 61;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.tvOmnibusAccountRemark.setVisibility(0);
int i5 = g + 47;
h = i5 % 128;
int i6 = i5 % 2;
return null;
}
@Override // o.InterfaceC6668cZk.IeS
public final void e() {
TextView textView;
int i2;
int i3 = 2 % 2;
int i4 = h + 31;
g = i4 % 128;
if (i4 % 2 == 0) {
textView = this.tvOmnibusAccountRemark;
i2 = 26;
} else {
textView = this.tvOmnibusAccountRemark;
i2 = 8;
}
textView.setVisibility(i2);
}
private /* synthetic */ void C() {
int i2 = 2 % 2;
int i3 = g + 81;
h = i3 % 128;
int i4 = i3 % 2;
C3750bFl c3750bFl = this.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl}, -905393536, 905393548, System.identityHashCode(c3750bFl));
int i5 = g + 9;
h = i5 % 128;
int i6 = i5 % 2;
}
private /* synthetic */ void D() {
int i2 = 2 % 2;
int i3 = g + 9;
h = i3 % 128;
int i4 = i3 % 2;
this.fundPurchasePresenter.s();
int i5 = g + 9;
h = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void b() {
int i2 = 2 % 2;
int i3 = h + 125;
g = i3 % 128;
if (i3 % 2 != 0) {
CustomDialog b = CustomDialog.b(getContext());
String string = getString(R.string.error_default_title);
if (gjJ.a(string)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
}
String string2 = getString(R.string.error_description_should_open_omnibus_account);
if (gjJ.a(string2)) {
int i4 = g + 7;
h = i4 % 128;
(i4 % 2 != 0 ? b.mTextTextView : b.mTextTextView).setVisibility(0);
b.mTextTextView.setText(string2);
}
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.fif
private FundPurchaseLandingFragment b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i5) {
FundPurchaseLandingFragment.b(this.b);
}
{
this.b = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener(this) { // from class: o.fid
private FundPurchaseLandingFragment d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i5) {
FundPurchaseLandingFragment.d(this.d);
}
{
this.d = this;
}
}});
customDialog.setCancelable(false);
customDialog.show();
return;
}
CustomDialog.b(getContext());
gjJ.a(getString(R.string.error_default_title));
Object obj = null;
obj.hashCode();
throw null;
}
private /* synthetic */ void z() {
int i2 = 2 % 2;
int i3 = g + 105;
h = i3 % 128;
int i4 = i3 % 2;
this.fundPurchasePresenter.s();
int i5 = g + 55;
h = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC6668cZk.IeS
public final void i() {
int i2 = 2 % 2;
CustomDialog b = CustomDialog.b(getContext());
String string = getString(R.string.error_default_title);
if (gjJ.a(string)) {
int i3 = h + 39;
g = i3 % 128;
int i4 = i3 % 2;
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
int i5 = g + 107;
h = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 3 / 4;
}
}
String string2 = getString(R.string.error_description_open_omnibus_account_at_scb_branch);
if (gjJ.a(string2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(string2);
}
CustomDialog aoT_ = b.aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.fic
private FundPurchaseLandingFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i7) {
FundPurchaseLandingFragment.e(this.e);
}
{
this.e = this;
}
});
aoT_.setCancelable(false);
aoT_.show();
}
private static /* synthetic */ Object h(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
int i2 = 2 % 2;
int i3 = g + 9;
h = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
C3750bFl c3750bFl = fundPurchaseLandingFragment.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl}, -905393536, 905393548, System.identityHashCode(c3750bFl));
obj.hashCode();
throw null;
}
C3750bFl c3750bFl2 = fundPurchaseLandingFragment.fundPurchasePresenter;
C3750bFl.c(new Object[]{c3750bFl2}, -905393536, 905393548, System.identityHashCode(c3750bFl2));
int i4 = h + 31;
g = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC6668cZk.IeS
public final void h() {
int i2 = 2 % 2;
CustomDialog b = CustomDialog.b(getContext());
String string = getString(R.string.error_default_title);
if (gjJ.a(string)) {
int i3 = g + 77;
h = i3 % 128;
int i4 = i3 % 2;
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
}
String string2 = getString(R.string.error_description_open_mf_account);
if (gjJ.a(string2)) {
int i5 = h + 27;
g = i5 % 128;
if (i5 % 2 == 0) {
b.mTextTextView.setVisibility(1);
} else {
b.mTextTextView.setVisibility(0);
}
b.mTextTextView.setText(string2);
}
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.fie
private FundPurchaseLandingFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i6) {
FundPurchaseLandingFragment.g(this.e);
}
{
this.e = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener(this) { // from class: o.fig
private FundPurchaseLandingFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i6) {
FundPurchaseLandingFragment.c(this.e);
}
{
this.e = this;
}
}});
customDialog.setCancelable(false);
customDialog.show();
}
@Override // o.InterfaceC6668cZk.IeS
public final void a(Boolean bool) {
int i2 = 2 % 2;
int i3 = h + 97;
g = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 9 / 0;
if (getContext() == null) {
return;
}
} else if (getContext() == null) {
return;
}
SingleFormLandingActivity.e(getContext(), true, bool.booleanValue());
int i5 = h + 99;
g = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void b(String str) {
int i2 = 2 % 2;
int i3 = h + 123;
g = i3 % 128;
int i4 = i3 % 2;
this.mFundPayContainer.setVisibility(8);
this.tvAmount.setVisibility(8);
this.vAmountSeparator.setVisibility(8);
this.llLayoutAmount.setVisibility(8);
this.buttonReview.setVisibility(8);
this.llLayoutAddPayAccountSection.setVisibility(0);
this.tvAddPayAccountDisclaimer.setText(str);
this.btCancel.setVisibility(0);
int i5 = h + 3;
g = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6668cZk.IeS
public final void c() {
int i2 = 2 % 2;
int i3 = h + 19;
g = i3 % 128;
int i4 = i3 % 2;
this.llLayoutAddPayAccountSection.setVisibility(8);
this.btCancel.setVisibility(8);
int i5 = g + 97;
h = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 99 / 0;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onTextAddPayAccountLinkClick() {
int i2 = 2 % 2;
if (getContext() != null) {
int i3 = g + 109;
h = i3 % 128;
int i4 = i3 % 2;
AccountManagementActivity.e(getContext(), true);
int i5 = h + 117;
g = i5 % 128;
int i6 = i5 % 2;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
@OnClick
public void onButtonCancelClick() {
int i2 = 2 % 2;
int i3 = g + 11;
h = i3 % 128;
int i4 = i3 % 2;
k(true);
int i5 = g + 107;
h = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object g(Object[] objArr) {
int i2 = 2 % 2;
int i3 = h + 101;
g = i3 % 128;
if (i3 % 2 != 0) {
return "page_purchase";
}
int i4 = 24 / 0;
return "page_purchase";
}
private static /* synthetic */ Object a(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
double doubleValue = ((Number) objArr[1]).doubleValue();
int i2 = 2 % 2;
int i3 = h + 13;
g = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.e(doubleValue);
if (i4 != 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
FundPurchaseLandingFragment fundPurchaseLandingFragment = (FundPurchaseLandingFragment) objArr[0];
VV vv = (VV) objArr[1];
int i2 = 2 % 2;
int i3 = h + 105;
g = i3 % 128;
int i4 = i3 % 2;
b(new Object[]{fundPurchaseLandingFragment, vv}, -524339361, 524339363, System.identityHashCode(fundPurchaseLandingFragment));
int i5 = g + 39;
h = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 48 / 0;
}
return null;
}
@Override // o.InterfaceC6668cZk.IeS
public final void j() {
b(new Object[]{this}, 1726022731, -1726022722, System.identityHashCode(this));
}
@Override // o.InterfaceC6668cZk.IeS
public final void d(C0859Qc c0859Qc, OP op) {
b(new Object[]{this, c0859Qc, op}, -996467933, 996467940, System.identityHashCode(this));
}
@Override // o.InterfaceC6668cZk.IeS
public final void d() {
b(new Object[]{this}, 2038827858, -2038827857, System.identityHashCode(this));
}
@Override // o.InterfaceC12876fJt
public final void d(List<? extends C0386Fk> list) {
b(new Object[]{this, list}, 1135974983, -1135974983, System.identityHashCode(this));
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void a(TabLayout.RVV rvv) {
int i2 = 2 % 2;
int i3 = g + 53;
h = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void d(TabLayout.RVV rvv) {
int i2 = 2 % 2;
int i3 = h + 55;
g = i3 % 128;
int i4 = i3 % 2;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrolled(int i2, float f, int i3) {
int i4 = 2 % 2;
int i5 = h + 69;
g = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrollStateChanged(int i2) {
int i3 = 2 % 2;
int i4 = h + 57;
g = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
private void c(C0859Qc c0859Qc) {
b(new Object[]{this, c0859Qc}, -1271174396, 1271174402, System.identityHashCode(this));
}
@Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment
public final String l() {
return (String) b(new Object[]{this}, 1671765924, -1671765916, System.identityHashCode(this));
}
private C3750bFl H() {
int i2 = 2 % 2;
int i3 = h;
int i4 = i3 + 3;
g = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
C3750bFl c3750bFl = this.fundPurchasePresenter;
int i5 = i3 + 55;
g = i5 % 128;
if (i5 % 2 != 0) {
return c3750bFl;
}
throw null;
}
private /* synthetic */ void c(VV vv) {
b(new Object[]{this, vv}, -524339361, 524339363, System.identityHashCode(this));
}
private /* synthetic */ void B() {
b(new Object[]{this}, -665789811, 665789816, System.identityHashCode(this));
}
private /* synthetic */ void A() {
b(new Object[]{this}, 2109813288, -2109813278, System.identityHashCode(this));
}
public static /* synthetic */ void g(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = h + 35;
g = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
b(new Object[]{fundPurchaseLandingFragment}, 2109813288, -2109813278, System.identityHashCode(fundPurchaseLandingFragment));
throw null;
}
b(new Object[]{fundPurchaseLandingFragment}, 2109813288, -2109813278, System.identityHashCode(fundPurchaseLandingFragment));
int i4 = g + 93;
h = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public static /* synthetic */ void c(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = g + 67;
h = i3 % 128;
if (i3 % 2 == 0) {
b(new Object[]{fundPurchaseLandingFragment}, -665789811, 665789816, System.identityHashCode(fundPurchaseLandingFragment));
} else {
b(new Object[]{fundPurchaseLandingFragment}, -665789811, 665789816, System.identityHashCode(fundPurchaseLandingFragment));
throw null;
}
}
public static /* synthetic */ void d(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = g + 25;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.D();
if (i4 != 0) {
throw null;
}
int i5 = g + 53;
h = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void b(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = g + 87;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.C();
if (i4 != 0) {
throw null;
}
int i5 = g + 91;
h = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void e(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = g + 21;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.z();
if (i4 != 0) {
int i5 = 54 / 0;
}
}
public static /* synthetic */ void a(FundPurchaseLandingFragment fundPurchaseLandingFragment) {
int i2 = 2 % 2;
int i3 = g + 31;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.w();
if (i4 != 0) {
throw null;
}
}
public static /* synthetic */ void a(FundPurchaseLandingFragment fundPurchaseLandingFragment, C0859Qc c0859Qc) {
int i2 = 2 % 2;
int i3 = g + 99;
h = i3 % 128;
int i4 = i3 % 2;
fundPurchaseLandingFragment.d(c0859Qc);
if (i4 != 0) {
throw null;
}
int i5 = h + 91;
g = i5 % 128;
int i6 = i5 % 2;
}
}