package com.scb.phone.view.fragment.investment.fundswitch; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.PointF; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.os.Process; import android.text.TextUtils; import android.util.Base64; import android.view.LayoutInflater; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.widget.ExpandableListView; import android.widget.TextView; import androidx.fragment.app.FragmentActivity; import androidx.viewpager.widget.ViewPager; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.google.android.gms.maps.model.BitmapDescriptorFactory; 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.adapter.investment.FundClientListAdapter; 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.fundswitch.FundSwitchLandingFragment; import java.lang.reflect.Method; import java.math.BigDecimal; import java.nio.charset.StandardCharsets; import java.util.List; import me.relex.circleindicator.CircleIndicator; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractC14961gcz; import o.AbstractC5728byY; import o.C11560ehe; import o.C12285evN; import o.C14866gag; import o.C14881gav; import o.C14957gcv; import o.C5725byV; import o.Heg; import o.InterfaceC0834Plv; import o.InterfaceC13391fZD; import o.InterfaceC14890gbN; import o.InterfaceC14894gbR; import o.InterfaceC6671cZn; import o.OH; import o.OK; import o.OP; import o.PA; import o.PB; import o.PC; import o.PD; import o.PE; import o.TVH; import o.VV; import o.bCE; import o.fIF; import o.fIH; import o.huo; import o.nMh; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes5.dex */ public final class FundSwitchLandingFragment extends Hilt_FundSwitchLandingFragment implements ViewPager.ojQ, InterfaceC6671cZn, fIF, fIH { private static char[] l; private static byte m; private static int n; @BindView public DefaultButton btReview; private List c; private String d = ""; private boolean f; @BindView public TextView fundSelectTitle; @BindView public CustomFundSelect fundSwitchIn; @BindView public CustomFundSelect fundSwitchOut; private C12285evN g; private huo h; private int i; private FundClientListAdapter j; private huo k; @BindView public CircleIndicator mCircleIndicator; @BindView public NoSwipeViewPager mViewPager; @InterfaceC13391fZD public bCE presenter; @BindView public TabLayout tabLayout; @BindView public FragmentWrapContentViewPager tabPager; @BindView public TextView tvOmnibusAccountRemark; private static final byte[] $$a = {ISOFileInfo.FCI_BYTE, -31, ISO7816.INS_MANAGE_CHANNEL, 54}; private static final int $$b = 226; private static int $10 = 0; private static int $11 = 1; /* renamed from: o, reason: collision with root package name */ private static int f8048o = 1; public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~i2; int i6 = (i * (-209)) + (i2 * (-209)) + ((~(i4 | i5)) * 210); int i7 = ~i3; switch (i6 + (((~(i5 | i7)) | (~(i4 | i3))) * 210) + (((~(i | i5 | i3)) | (~(i2 | i4 | i7))) * 210)) { case 1: return b(objArr); case 2: return c(objArr); case 3: FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; CustomFundSelect customFundSelect = (CustomFundSelect) objArr[1]; int i8 = 2 % 2; String string = customFundSelect.getResources().getString(((Number) objArr[2]).intValue()); if (string.startsWith(",*,)")) { int i9 = f8048o + 71; n = i9 % 128; int i10 = i9 % 2; Object[] objArr2 = new Object[1]; fundSwitchLandingFragment.t(string.substring(4), objArr2); string = ((String) objArr2[0]).intern(); int i11 = f8048o + 81; n = i11 % 128; int i12 = i11 % 2; } customFundSelect.setFundCode(string); customFundSelect.b.e.setVisibility(8); customFundSelect.b.g.setVisibility(8); int i13 = f8048o + 107; n = i13 % 128; int i14 = i13 % 2; return null; case 4: return e(objArr); case 5: return d(objArr); case 6: return i(objArr); case 7: return j(objArr); case 8: return g(objArr); case 9: return h(objArr); case 10: final FundSwitchLandingFragment fundSwitchLandingFragment2 = (FundSwitchLandingFragment) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); final PC pc = (PC) objArr[2]; OP op = (OP) objArr[3]; int i15 = 2 % 2; C14957gcv.e(pc, ""); C14957gcv.e(op, ""); fundSwitchLandingFragment2.aup_(op.d, op.c, intValue, new DialogInterface.OnClickListener(fundSwitchLandingFragment2, pc) { // from class: o.fhf private FundSwitchLandingFragment c; private PC d; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i16) { FundSwitchLandingFragment.d(new Object[]{this.c, this.d}, -841413551, 841413558, (int) System.currentTimeMillis()); } { this.c = fundSwitchLandingFragment2; this.d = pc; } }); int i16 = f8048o + 117; n = i16 % 128; int i17 = i16 % 2; return null; case 11: return f(objArr); case 12: return k(objArr); case 13: return m(objArr); default: return a(objArr); } } private static void q(int i, int i2, short s, Object[] objArr) { int i3 = s * 2; int i4 = (i * 2) + 71; int i5 = i2 + 4; byte[] bArr = $$a; byte[] bArr2 = new byte[i3 + 1]; int i6 = -1; if (bArr == null) { int i7 = i5 + (-i3); i5 = i5; i4 = i7; } while (true) { i6++; bArr2[i6] = (byte) i4; if (i6 == i3) { objArr[0] = new String(bArr2, 0); return; } int i8 = i5 + 1; i5 = i8; i4 += -bArr[i8]; } } private void t(String str, Object[] objArr) { int i = 2 % 2; int i2 = n + 33; f8048o = i2 % 128; int i3 = i2 % 2; byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; int i4 = n + 33; f8048o = i4 % 128; int i5 = i4 % 2; int i6 = 0; while (i6 < decode.length) { int i7 = f8048o + 5; n = i7 % 128; if (i7 % 2 != 0) { bArr[i6] = (byte) (decode[(decode.length * i6) - 1] ^ m); i6 += 51; } else { bArr[i6] = (byte) (decode[(decode.length - i6) - 1] ^ m); i6++; } } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } private static /* synthetic */ Object c(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); List list = (List) objArr[2]; int i = 2 % 2; int i2 = n + 7; f8048o = i2 % 128; int i3 = i2 % 2; Object obj = null; fundSwitchLandingFragment.e(intValue, list); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = n + 27; f8048o = i4 % 128; int i5 = i4 % 2; return null; } public static final /* synthetic */ void c(FundSwitchLandingFragment fundSwitchLandingFragment, int i) { int i2 = 2 % 2; int i3 = n + 71; f8048o = i3 % 128; int i4 = i3 % 2; d(new Object[]{fundSwitchLandingFragment, Integer.valueOf(i)}, -710544977, 710544977, i); int i5 = n + 53; f8048o = i5 % 128; int i6 = i5 % 2; } public static final /* synthetic */ List d(FundSwitchLandingFragment fundSwitchLandingFragment) { int i = 2 % 2; int i2 = n + 27; f8048o = i2 % 128; int i3 = i2 % 2; List list = fundSwitchLandingFragment.c; if (i3 != 0) { return list; } throw null; } public static final /* synthetic */ int e(FundSwitchLandingFragment fundSwitchLandingFragment) { int i = 2 % 2; int i2 = n + 27; int i3 = i2 % 128; f8048o = i3; int i4 = i2 % 2; int i5 = fundSwitchLandingFragment.i; int i6 = i3 + 33; n = i6 % 128; if (i6 % 2 != 0) { int i7 = 6 / 0; } return i5; } private static /* synthetic */ Object i(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; String str = (String) objArr[1]; int i = 2 % 2; int i2 = n; int i3 = i2 + 75; f8048o = i3 % 128; int i4 = i3 % 2; fundSwitchLandingFragment.d = str; int i5 = i2 + 1; f8048o = i5 % 128; if (i5 % 2 != 0) { return null; } throw null; } @Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment public final /* synthetic */ AbstractC5728byY m() { int i = 2 % 2; int i2 = n + 111; f8048o = i2 % 128; int i3 = i2 % 2; bCE bce = (bCE) d(new Object[]{this}, -1890330514, 1890330526, System.identityHashCode(this)); int i4 = f8048o + 31; n = i4 % 128; int i5 = i4 % 2; return bce; } private NoSwipeViewPager K() { int i = 2 % 2; int i2 = n + 71; int i3 = i2 % 128; f8048o = i3; int i4 = i2 % 2; NoSwipeViewPager noSwipeViewPager = this.mViewPager; if (noSwipeViewPager != null) { int i5 = i3 + 35; n = i5 % 128; int i6 = i5 % 2; return noSwipeViewPager; } C14957gcv.a(""); int i7 = f8048o + 25; n = i7 % 128; int i8 = i7 % 2; return null; } private CircleIndicator H() { int i = 2 % 2; int i2 = n + 55; f8048o = i2 % 128; int i3 = i2 % 2; CircleIndicator circleIndicator = this.mCircleIndicator; if (circleIndicator != null) { return circleIndicator; } C14957gcv.a(""); int i4 = f8048o + 65; n = i4 % 128; int i5 = i4 % 2; return null; } private TabLayout L() { int i = 2 % 2; TabLayout tabLayout = this.tabLayout; Object obj = null; if (tabLayout != null) { int i2 = n + 69; f8048o = i2 % 128; if (i2 % 2 != 0) { return tabLayout; } obj.hashCode(); throw null; } C14957gcv.a(""); int i3 = n + 61; f8048o = i3 % 128; if (i3 % 2 == 0) { int i4 = 5 / 0; } return null; } private FragmentWrapContentViewPager J() { int i = 2 % 2; FragmentWrapContentViewPager fragmentWrapContentViewPager = this.tabPager; if (fragmentWrapContentViewPager != null) { int i2 = n + 67; f8048o = i2 % 128; int i3 = i2 % 2; return fragmentWrapContentViewPager; } C14957gcv.a(""); int i4 = f8048o + 125; n = i4 % 128; int i5 = i4 % 2; return null; } private DefaultButton E() { int i = 2 % 2; DefaultButton defaultButton = this.btReview; if (defaultButton == null) { C14957gcv.a(""); return null; } int i2 = n; int i3 = i2 + 7; f8048o = i3 % 128; if (i3 % 2 == 0) { throw null; } int i4 = i2 + 101; f8048o = i4 % 128; int i5 = i4 % 2; return defaultButton; } public final CustomFundSelect g() { int i = 2 % 2; int i2 = n; int i3 = i2 + 89; f8048o = i3 % 128; if (i3 % 2 == 0) { throw null; } CustomFundSelect customFundSelect = this.fundSwitchOut; if (customFundSelect == null) { C14957gcv.a(""); return null; } int i4 = i2 + 83; f8048o = i4 % 128; int i5 = i4 % 2; return customFundSelect; } public final CustomFundSelect j() { int i = 2 % 2; int i2 = f8048o + 95; int i3 = i2 % 128; n = i3; int i4 = i2 % 2; CustomFundSelect customFundSelect = this.fundSwitchIn; if (customFundSelect == null) { C14957gcv.a(""); return null; } int i5 = i3 + 7; f8048o = i5 % 128; int i6 = i5 % 2; return customFundSelect; } private TextView auD_() { int i = 2 % 2; TextView textView = this.fundSelectTitle; if (textView == null) { C14957gcv.a(""); return null; } int i2 = f8048o + 61; int i3 = i2 % 128; n = i3; int i4 = i2 % 2; int i5 = i3 + 115; f8048o = i5 % 128; int i6 = i5 % 2; return textView; } private static /* synthetic */ Object h(Object[] objArr) { int i = 2 % 2; TextView textView = ((FundSwitchLandingFragment) objArr[0]).tvOmnibusAccountRemark; if (textView == null) { C14957gcv.a(""); int i2 = n + 43; f8048o = i2 % 128; int i3 = i2 % 2; return null; } int i4 = f8048o; int i5 = i4 + 1; n = i5 % 128; int i6 = i5 % 2; int i7 = i4 + 15; n = i7 % 128; if (i7 % 2 != 0) { int i8 = 80 / 0; } return textView; } public final bCE h() { int i = 2 % 2; int i2 = f8048o; int i3 = i2 + 73; n = i3 % 128; if (i3 % 2 != 0) { throw null; } bCE bce = this.presenter; if (bce == null) { C14957gcv.a(""); return null; } int i4 = i2 + 75; n = i4 % 128; int i5 = i4 % 2; return bce; } @Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment, androidx.fragment.app.Fragment public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { int i = 2 % 2; int i2 = f8048o + 95; n = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(layoutInflater, ""); } else { C14957gcv.e(layoutInflater, ""); } View inflate = layoutInflater.inflate(R.layout.2131559856, viewGroup, false); ButterKnife.c(this, inflate); super.onCreateView(layoutInflater, viewGroup, bundle); h().e((bCE) this); int i3 = n + 55; f8048o = i3 % 128; if (i3 % 2 != 0) { return inflate; } throw null; } @Override // androidx.fragment.app.Fragment public final void onViewCreated(View view, Bundle bundle) { Intent intent; int i = 2 % 2; C14957gcv.e(view, ""); super.onViewCreated(view, bundle); s(); FragmentActivity activity = getActivity(); if (activity != null && (intent = activity.getIntent()) != null) { int i2 = n + 39; f8048o = i2 % 128; int i3 = i2 % 2; this.i = intent.getIntExtra("SELECTED_CLIENT_LIST_POSITION", 0); if (Build.VERSION.SDK_INT >= 33) { Bundle extras = intent.getExtras(); if (extras != null) { int i4 = f8048o + 9; n = i4 % 128; int i5 = i4 % 2; r3 = (Parcelable) extras.getParcelable("SWITCH_INPUT_DISPLAY", OH.class); } } else { Bundle extras2 = intent.getExtras(); Parcelable parcelable = extras2 != null ? extras2.getParcelable("SWITCH_INPUT_DISPLAY") : null; r3 = (OH) (parcelable instanceof OH ? parcelable : null); } h().d((OH) r3); } aa(); G(); d(new Object[]{this}, -88361143, 88361148, System.identityHashCode(this)); C(); D(); v("mfschedule_switch"); } private static /* synthetic */ Object k(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; int i = 2 % 2; int i2 = f8048o + 125; n = i2 % 128; int i3 = i2 % 2; bCE h = fundSwitchLandingFragment.h(); int i4 = n + 59; f8048o = i4 % 128; if (i4 % 2 != 0) { return h; } throw null; } private final void s() { int i = 2 % 2; int i2 = n + 87; f8048o = i2 % 128; int i3 = i2 % 2; auD_().setText(R.string.mf_switch_input_3); CustomFundSelect g = g(); g.setFundTitle(R.string.mf_switch_input_4); g.setFundCode(g.getResources().getString(R.string.mf_switch_input_5)); FundSwitchLandingFragment fundSwitchLandingFragment = this; g.setOnFundSelectClickListener(fundSwitchLandingFragment); CustomFundSelect j = j(); CustomFundSelect customFundSelect = j; C14957gcv.e(customFundSelect, ""); customFundSelect.setVisibility(0); j.setTopDividerVisibility(8); j.setFundTitle(R.string.mf_switch_input_6); j.setFundCode(j.getResources().getString(R.string.mf_switch_input_7)); j.setOnFundSelectClickListener(fundSwitchLandingFragment); j.setEnableFund(false); K().addOnPageChangeListener(this); int i4 = f8048o + 37; n = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // com.scb.phone.view.fragment.BaseFragment public final void aa() { int i = 2 % 2; int i2 = f8048o + 43; n = i2 % 128; int i3 = i2 % 2; super.aa(); u(getString(R.string.mf_switch_input_1)); Y(); int i4 = n + 61; f8048o = i4 % 128; if (i4 % 2 == 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x0071, code lost: if (r7 != null) goto L16; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private final void e(int r7, java.util.List r8) { /* r6 = this; r0 = 2 int r1 = r0 % r0 com.scb.phone.view.adapter.investment.FundClientListAdapter r1 = new com.scb.phone.view.adapter.investment.FundClientListAdapter android.content.Context r2 = r6.getContext() r1.(r2, r8) r6.j = r1 com.scb.phone.view.custom.common.NoSwipeViewPager r1 = r6.K() com.scb.phone.view.adapter.investment.FundClientListAdapter r2 = r6.j o.WYJ r2 = (o.WYJ) r2 r1.setAdapter(r2) r2 = 0 r1.setClipToPadding(r2) android.content.res.Resources r3 = r1.getResources() r4 = 2131166623(0x7f07059f, float:1.7947497E38) int r3 = r3.getDimensionPixelOffset(r4) android.content.res.Resources r5 = r1.getResources() int r4 = r5.getDimensionPixelOffset(r4) r1.setPadding(r3, r2, r4, r2) r2 = 1 r1.setOffscreenPageLimit(r2) me.relex.circleindicator.CircleIndicator r2 = r6.H() r3 = r1 androidx.viewpager.widget.ViewPager r3 = (androidx.viewpager.widget.ViewPager) r3 r2.setViewPager(r3) com.scb.phone.view.adapter.investment.FundClientListAdapter r2 = r6.j if (r2 == 0) goto L50 int r3 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n int r3 = r3 + 85 int r4 = r3 % 128 com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r4 int r3 = r3 % r0 r2.c = r7 L50: r1.setCurrentItem(r7) o.bCE r1 = r6.h() r1.e(r8) if (r8 == 0) goto L76 int r1 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n int r1 = r1 + 71 int r2 = r1 % 128 com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r2 int r1 = r1 % r0 java.lang.Object r7 = o.C14881gav.b(r8, r7) o.OK r7 = (o.OK) r7 if (r1 == 0) goto L74 if (r7 == 0) goto L76 java.lang.String r7 = r7.a if (r7 != 0) goto L78 goto L76 L74: r7 = 0 throw r7 L76: java.lang.String r7 = "" L78: r6.d = r7 return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.e(int, java.util.List):void"); } private final void e(int i) { int i2 = 2 % 2; int i3 = f8048o + 63; n = i3 % 128; int i4 = i3 % 2; this.i = i; int[] iArr = {i - 1, i, i + 1}; for (int i5 = 0; i5 < 3; i5++) { int i6 = iArr[i5]; View findViewWithTag = K().findViewWithTag("TAG_PURCHASE_CLIENT_LIST_ADAPTER".concat(String.valueOf(i6))); if (findViewWithTag != null) { int i7 = f8048o + 3; n = i7 % 128; if (i7 % 2 != 0) { getContext(); throw null; } if (getContext() != null) { int i8 = n + 13; f8048o = i8 % 128; if (i8 % 2 == 0) { throw null; } if (i == i6) { findViewWithTag.setBackground(nMh.getDrawable(requireContext(), R.drawable.rounded_purple_view_pager)); } else { findViewWithTag.setBackground(nMh.getDrawable(requireContext(), R.drawable.bg_white_rounded)); } } else { continue; } } } } private static void p(byte[] bArr, int[] iArr, boolean z, Object[] objArr) { int i; char[] cArr; char c; char[] cArr2; int i2 = 2 % 2; TVH tvh = new TVH(); int i3 = 0; int i4 = iArr[0]; int i5 = iArr[1]; int i6 = iArr[2]; int i7 = iArr[3]; char[] cArr3 = l; char c2 = '0'; if (cArr3 != null) { int length = cArr3.length; char[] cArr4 = new char[length]; int i8 = 0; while (i8 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr3[i8]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr2 = cArr3; } else { Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 223, 4 - TextUtils.indexOf("", c2, i3, i3), (char) (41977 - (Process.myPid() >> 22))); byte b = (byte) i3; byte b2 = (byte) (b - 1); cArr2 = cArr3; Object[] objArr3 = new Object[1]; q(b, b2, (byte) (b2 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr4[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; int i9 = $11 + 71; $10 = i9 % 128; int i10 = i9 % 2; cArr3 = cArr2; i3 = 0; c2 = '0'; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr3 = cArr4; } char[] cArr5 = new char[i5]; System.arraycopy(cArr3, i4, cArr5, 0, i5); if (bArr != null) { int i11 = $10 + 33; $11 = i11 % 128; if (i11 % 2 == 0) { cArr = new char[i5]; tvh.c = 1; c = 1; } else { cArr = new char[i5]; tvh.c = 0; c = 0; } while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i12 = $11 + 111; $10 = i12 % 128; if (i12 % 2 != 0) { int i13 = tvh.c; try { Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getPressedStateDuration() >> 16), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (54 - Color.blue(0)))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); int i14 = 0 / 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { int i15 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(850398076); if (obj3 == null) { obj3 = ((Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 502, 5 - Color.red(0), (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj3); } cArr[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } } else { int i16 = tvh.c; Object[] objArr6 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)}; Object obj4 = xzZ.y.get(1084521042); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 14, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0') + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj4); } cArr[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); } c = cArr[tvh.c]; Object[] objArr7 = {tvh, tvh}; Object obj5 = xzZ.y.get(1698744941); if (obj5 == null) { Class cls2 = (Class) xzZ.c(402 - ExpandableListView.getPackedPositionType(0L), ExpandableListView.getPackedPositionType(0L) + 5, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 21608)); byte b3 = (byte) 1; byte b4 = (byte) (-b3); Object[] objArr8 = new Object[1]; q(b3, b4, (byte) (b4 + 1), objArr8); obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class); xzZ.y.put(1698744941, obj5); } ((Method) obj5).invoke(null, objArr7); } cArr5 = cArr; } if (i7 > 0) { char[] cArr6 = new char[i5]; i = 0; System.arraycopy(cArr5, 0, cArr6, 0, i5); int i17 = i5 - i7; System.arraycopy(cArr6, 0, cArr5, i17, i7); System.arraycopy(cArr6, i7, cArr5, 0, i17); } else { i = 0; } if (z) { char[] cArr7 = new char[i5]; while (true) { tvh.c = i; if (tvh.c >= i5) { break; } int i18 = $10 + 41; $11 = i18 % 128; int i19 = i18 % 2; cArr7[tvh.c] = cArr5[(i5 - tvh.c) - 1]; i = tvh.c + 1; } cArr5 = cArr7; } if (i6 > 0) { int i20 = 0; while (true) { tvh.c = i20; if (tvh.c >= i5) { break; } cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]); i20 = tvh.c + 1; } } objArr[0] = new String(cArr5); } /* loaded from: classes5.dex */ public static final class tOB implements ViewPager.ojQ { private FundSwitchLandingFragment c; @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageScrollStateChanged(int i) { } @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageScrolled(int i, float f, int i2) { } tOB(FundSwitchLandingFragment fundSwitchLandingFragment) { this.c = fundSwitchLandingFragment; } @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageSelected(int i) { FundSwitchLandingFragment.c(this.c, i); } } private final void G() { int i = 2 % 2; this.g = new C12285evN(getChildFragmentManager(), getContext(), true, h().o(), h().m()); h().i(); TabLayout L = L(); C14957gcv.e(L, ""); L.setVisibility(0); FragmentWrapContentViewPager J = J(); J.setAdapter(this.g); J.setOffscreenPageLimit(3); J.addOnPageChangeListener(new tOB(this)); FragmentWrapContentViewPager fragmentWrapContentViewPager = J; C14957gcv.e(fragmentWrapContentViewPager, ""); fragmentWrapContentViewPager.setVisibility(0); L().setupWithViewPager(J); d(new Object[]{this, 0}, -710544977, 710544977, 0); int i2 = f8048o + 49; n = i2 % 128; int i3 = i2 % 2; } private static /* synthetic */ Object a(Object[] objArr) { String str; FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int i = 2 % 2; C12285evN c12285evN = fundSwitchLandingFragment.g; Object obj = null; if (c12285evN != null) { int i2 = n + 49; f8048o = i2 % 128; if (i2 % 2 == 0) { str = c12285evN.c.get(intValue); int i3 = 2 / 0; } else { str = c12285evN.c.get(intValue); } } else { str = null; } fundSwitchLandingFragment.h().d(str); int i4 = f8048o + 109; n = i4 % 128; if (i4 % 2 == 0) { return null; } obj.hashCode(); throw null; } @Override // o.InterfaceC6671cZn public final void d(PB pb) { int i = 2 % 2; C14957gcv.e(pb, ""); C12285evN c12285evN = this.g; Object obj = null; if (c12285evN != null) { c12285evN.a(pb.b, pb.a, pb.f, null); int i2 = f8048o + 37; n = i2 % 128; int i3 = i2 % 2; } C12285evN c12285evN2 = this.g; if (c12285evN2 != null) { int i4 = n + 73; f8048o = i4 % 128; int i5 = i4 % 2; c12285evN2.notifyDataSetChanged(); if (i5 == 0) { obj.hashCode(); throw null; } } int i6 = f8048o + 77; n = i6 % 128; int i7 = i6 % 2; } /* loaded from: classes5.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private FundSwitchLandingFragment b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(String str) { String str2 = str; C14957gcv.e(str2, ""); FundSwitchLandingFragment.c(this.b, str2); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(FundSwitchLandingFragment fundSwitchLandingFragment) { super(1); this.b = fundSwitchLandingFragment; } } /* loaded from: classes5.dex */ static final class RVV extends AbstractC14961gcz implements InterfaceC14890gbN { private FundSwitchLandingFragment a; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { this.a.h().c(R.string.error_generic_resource); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(FundSwitchLandingFragment fundSwitchLandingFragment) { super(0); this.a = fundSwitchLandingFragment; } } @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageSelected(int i) { int i2 = 2 % 2; e(i); h().a(i); e(i, new HBt(this), new RVV(this)); FundClientListAdapter fundClientListAdapter = this.j; if (fundClientListAdapter != null) { fundClientListAdapter.c = i; } bCE h = h(); h.c = null; C5725byV c5725byV = new C5725byV(); if (h.f != 0) { int i3 = n + 55; f8048o = i3 % 128; if (i3 % 2 == 0) { c5725byV.e(h.f); throw null; } c5725byV.e(h.f); } else { int i4 = n + 115; f8048o = i4 % 128; int i5 = i4 % 2; } A(); int i6 = n + 51; f8048o = i6 % 128; int i7 = i6 % 2; } private static /* synthetic */ void b(FundSwitchLandingFragment fundSwitchLandingFragment, int i, InterfaceC14894gbR interfaceC14894gbR) { int i2 = 2 % 2; int i3 = n + 89; f8048o = i3 % 128; if (i3 % 2 != 0) { fundSwitchLandingFragment.e(i, interfaceC14894gbR, Sts.b); int i4 = n + 53; f8048o = i4 % 128; int i5 = i4 % 2; return; } fundSwitchLandingFragment.e(i, interfaceC14894gbR, Sts.b); Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes5.dex */ public static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN { public static final Sts b = new Sts(); @Override // o.InterfaceC14890gbN public final /* bridge */ /* synthetic */ C14866gag invoke() { return C14866gag.c; } Sts() { super(0); } } private final void e(int i, InterfaceC14894gbR interfaceC14894gbR, InterfaceC14890gbN interfaceC14890gbN) { C14866gag c14866gag; OK ok; String str; int i2 = 2 % 2; List list = this.c; Object obj = null; if (list == null || (ok = (OK) C14881gav.b(list, i)) == null || (str = ok.a) == null) { c14866gag = null; } else { int i3 = f8048o + 123; n = i3 % 128; if (i3 % 2 != 0) { interfaceC14894gbR.invoke(str); C14866gag c14866gag2 = C14866gag.c; obj.hashCode(); throw null; } interfaceC14894gbR.invoke(str); c14866gag = C14866gag.c; } if (c14866gag == null) { interfaceC14890gbN.invoke(); } int i4 = f8048o + 35; n = i4 % 128; if (i4 % 2 == 0) { return; } obj.hashCode(); throw null; } private static /* synthetic */ Object d(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; int i = 2 % 2; int i2 = n + 3; f8048o = i2 % 128; int i3 = i2 % 2; fundSwitchLandingFragment.h().f(); if (i3 == 0) { int i4 = 62 / 0; } int i5 = n + 19; f8048o = i5 % 128; Object obj = null; if (i5 % 2 != 0) { return null; } obj.hashCode(); throw null; } /* loaded from: classes5.dex */ static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private FundSwitchLandingFragment a; private View b; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(String str) { String str2 = str; C14957gcv.e(str2, ""); if (C14957gcv.b(this.b, this.a.g())) { this.a.h().c(str2); } else if (C14957gcv.b(this.b, this.a.j())) { this.a.h().j(); } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ IeS(View view, FundSwitchLandingFragment fundSwitchLandingFragment) { super(1); this.b = view; this.a = fundSwitchLandingFragment; } } @Override // o.fIF public final void b(View view) { int i = 2 % 2; C14957gcv.e(view, ""); b(this, this.i, new IeS(view, this)); int i2 = n + 37; f8048o = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private final void C() { int i = 2 % 2; huo registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fhc private FundSwitchLandingFragment e; @Override // o.InterfaceC0834Plv public final void d(Object obj) { FundSwitchLandingFragment.d(this.e, (Heg) obj); } { this.e = this; } }); C14957gcv.c(registerForActivityResult, ""); this.k = registerForActivityResult; int i2 = n + 119; f8048o = i2 % 128; int i3 = i2 % 2; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002d, code lost: r3 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n + 27; com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r3 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0039, code lost: if ((r3 % 2) != 0) goto L16; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x003d, code lost: if (android.os.Build.VERSION.SDK_INT < 27) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x005f, code lost: r7 = r7.getExtras(); */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0063, code lost: if (r7 == null) goto L24; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0065, code lost: r7 = r7.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED"); */ /* JADX WARN: Code restructure failed: missing block: B:18:0x006d, code lost: if ((r7 instanceof o.PB) != false) goto L28; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0070, code lost: r2 = r7; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x0071, code lost: r2 = (o.PB) r2; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0075, code lost: r2 = (o.PB) r2; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x006a, code lost: r7 = null; */ /* JADX WARN: Code restructure failed: missing block: B:23:0x0046, code lost: r7 = r7.getExtras(); */ /* JADX WARN: Code restructure failed: missing block: B:24:0x004a, code lost: if (r7 == null) goto L30; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x004c, code lost: r2 = (android.os.Parcelable) r7.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED", o.PB.class); r7 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n + 13; com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x0044, code lost: if (android.os.Build.VERSION.SDK_INT < 33) goto L21; */ /* JADX WARN: Code restructure failed: missing block: B:29:0x002b, code lost: if (r7 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0022, code lost: if (r7 != null) goto L11; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static final void e(com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment r6, o.Heg r7) { /* r0 = 2 int r1 = r0 % r0 java.lang.String r1 = "" o.C14957gcv.e(r6, r1) int r1 = r7.e r2 = -1 if (r1 != r2) goto L9b int r1 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n int r1 = r1 + 17 int r2 = r1 % 128 com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto L25 o.bCE r1 = r6.h() android.content.Intent r7 = r7.b r3 = 5 int r3 = r3 / 0 if (r7 == 0) goto L77 goto L2d L25: o.bCE r1 = r6.h() android.content.Intent r7 = r7.b if (r7 == 0) goto L77 L2d: int r3 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n r4 = 27 int r3 = r3 + r4 int r5 = r3 % 128 com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r5 int r3 = r3 % r0 java.lang.String r5 = "com.scb.phone.SWITCH_FUND_SEARCH_SELECTED" if (r3 != 0) goto L40 int r3 = android.os.Build.VERSION.SDK_INT if (r3 < r4) goto L5f goto L46 L40: int r3 = android.os.Build.VERSION.SDK_INT r4 = 33 if (r3 < r4) goto L5f L46: android.os.Bundle r7 = r7.getExtras() if (r7 == 0) goto L75 java.lang.Class r2 = o.PB.class java.lang.Object r7 = r7.getParcelable(r5, r2) r2 = r7 android.os.Parcelable r2 = (android.os.Parcelable) r2 int r7 = com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.n int r7 = r7 + 13 int r3 = r7 % 128 com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.f8048o = r3 int r7 = r7 % r0 goto L75 L5f: android.os.Bundle r7 = r7.getExtras() if (r7 == 0) goto L6a android.os.Parcelable r7 = r7.getParcelable(r5) goto L6b L6a: r7 = r2 L6b: boolean r0 = r7 instanceof o.PB if (r0 != 0) goto L70 goto L71 L70: r2 = r7 L71: o.PB r2 = (o.PB) r2 android.os.Parcelable r2 = (android.os.Parcelable) r2 L75: o.PB r2 = (o.PB) r2 L77: java.lang.Object[] r7 = new java.lang.Object[]{r1, r2} int r0 = java.lang.System.identityHashCode(r1) r1 = 1692538242(0x64e21582, float:3.3364112E22) r2 = -1692538230(0xffffffff9b1dea8a, float:-1.3062519E-22) o.bCE.e(r7, r1, r2, r0) r7 = 1 r6.f = r7 r6.G() r6.n() r6.z() com.scb.phone.view.custom.common.CustomFundSelect r6 = r6.j() r6.setEnableFund(r7) L9b: return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment.e(com.scb.phone.view.fragment.investment.fundswitch.FundSwitchLandingFragment, o.Heg):void"); } private final void D() { int i = 2 % 2; huo registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fhg private FundSwitchLandingFragment e; @Override // o.InterfaceC0834Plv public final void d(Object obj) { FundSwitchLandingFragment.c(this.e, (Heg) obj); } { this.e = this; } }); C14957gcv.c(registerForActivityResult, ""); this.h = registerForActivityResult; int i2 = n + 103; f8048o = i2 % 128; if (i2 % 2 == 0) { throw null; } } private static final void b(FundSwitchLandingFragment fundSwitchLandingFragment, Heg heg) { Object obj; int i = 2 % 2; int i2 = n + 59; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.e(fundSwitchLandingFragment, ""); if (heg.e == -1) { bCE h = fundSwitchLandingFragment.h(); Intent intent = heg.b; PD pd = null; Object obj2 = null; if (intent != null) { if (Build.VERSION.SDK_INT >= 33) { Bundle extras = intent.getExtras(); if (extras != null) { int i4 = f8048o + 97; n = i4 % 128; if (i4 % 2 != 0) { pd.hashCode(); throw null; } obj2 = (Parcelable) extras.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED", PD.class); } } else { Bundle extras2 = intent.getExtras(); if (extras2 != null) { obj = extras2.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED"); int i5 = f8048o + 87; n = i5 % 128; int i6 = i5 % 2; } else { obj = null; } obj2 = (Parcelable) ((PD) (obj instanceof PD ? obj : null)); } pd = (PD) obj2; } h.c(pd); fundSwitchLandingFragment.n(); fundSwitchLandingFragment.f = true; } int i7 = f8048o + 59; n = i7 % 128; int i8 = i7 % 2; } @Override // o.InterfaceC6671cZn public final void b(String str, String str2) { int i = 2 % 2; int i2 = f8048o + 45; n = i2 % 128; Object obj = null; if (i2 % 2 != 0) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); d(g(), str, str2); obj.hashCode(); throw null; } C14957gcv.e(str, ""); C14957gcv.e(str2, ""); d(g(), str, str2); int i3 = f8048o + 123; n = i3 % 128; if (i3 % 2 == 0) { return; } obj.hashCode(); throw null; } @Override // o.InterfaceC6671cZn public final void e(String str, String str2) { int i = 2 % 2; int i2 = n + 81; f8048o = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); d(j(), str, str2); } else { C14957gcv.e(str, ""); C14957gcv.e(str2, ""); d(j(), str, str2); throw null; } } private static /* synthetic */ Object f(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; PB pb = (PB) objArr[1]; int i = 2 % 2; int i2 = n + 11; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.e(pb, ""); bCE h = fundSwitchLandingFragment.h(); bCE.e(new Object[]{h, pb}, 1692538242, -1692538230, System.identityHashCode(h)); fundSwitchLandingFragment.j().setEnableFund(true); fundSwitchLandingFragment.G(); int i4 = n + 121; f8048o = i4 % 128; if (i4 % 2 != 0) { return null; } throw null; } @Override // o.InterfaceC6671cZn public final void d(PD pd) { int i = 2 % 2; int i2 = n + 61; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.e(pd, ""); h().c(pd); int i4 = f8048o + 79; n = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC6671cZn public final void e() { CircleIndicator H; int i; int i2 = 2 % 2; int i3 = f8048o + 121; n = i3 % 128; if (i3 % 2 != 0) { H = H(); C14957gcv.e(H, ""); i = 1; } else { H = H(); C14957gcv.e(H, ""); i = 0; } H.setVisibility(i); } @Override // o.InterfaceC6671cZn public final void d() { CircleIndicator H; int i; int i2 = 2 % 2; int i3 = f8048o + 69; n = i3 % 128; if (i3 % 2 != 0) { H = H(); C14957gcv.e(H, ""); i = 44; } else { H = H(); C14957gcv.e(H, ""); i = 8; } H.setVisibility(i); } private static void d(CustomFundSelect customFundSelect, String str, String str2) { int i = 2 % 2; int i2 = f8048o + 95; n = i2 % 128; int i3 = i2 % 2; customFundSelect.setFundCode(str); customFundSelect.b.g.setVisibility(0); customFundSelect.setDescription(str2); int i4 = n + 5; f8048o = i4 % 128; int i5 = i4 % 2; } @Override // androidx.fragment.app.Fragment public final void onResume() { Intent intent; int i = 2 % 2; super.onResume(); FragmentActivity activity = getActivity(); if (activity != null && (intent = activity.getIntent()) != null) { Object[] objArr = new Object[1]; p(new byte[]{1}, new int[]{0, 1, CipherSuite.TLS_PSK_WITH_NULL_SHA256, 1}, true, objArr); if (C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) intent.getStringExtra("SELECTED_CLIENT_LIST_POSITION"))) { A(); FragmentActivity activity2 = getActivity(); if (activity2 != null) { int i2 = f8048o + 25; n = i2 % 128; int i3 = i2 % 2; activity2.setIntent(null); } } } if (this.f) { int i4 = n + 103; f8048o = i4 % 128; if (i4 % 2 == 0) { this.f = false; G(); d(new Object[]{this}, -88361143, 88361148, System.identityHashCode(this)); } else { this.f = false; G(); d(new Object[]{this}, -88361143, 88361148, System.identityHashCode(this)); } } } private final void A() { int i = 2 % 2; int i2 = n + 123; f8048o = i2 % 128; if (i2 % 2 != 0) { B(); w(); } else { B(); w(); Object obj = null; obj.hashCode(); throw null; } } private final void w() { int i = 2 % 2; int i2 = n + 23; f8048o = i2 % 128; int i3 = i2 % 2; o(); G(); n(); d(new Object[]{this}, -88361143, 88361148, System.identityHashCode(this)); int i4 = n + 59; f8048o = i4 % 128; int i5 = i4 % 2; } private static /* synthetic */ Object e(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; double doubleValue = ((Number) objArr[1]).doubleValue(); int i = 2 % 2; int i2 = n + 77; f8048o = i2 % 128; if (i2 % 2 == 0) { fundSwitchLandingFragment.h().b(doubleValue); d(new Object[]{fundSwitchLandingFragment}, -88361143, 88361148, System.identityHashCode(fundSwitchLandingFragment)); int i3 = 25 / 0; return null; } fundSwitchLandingFragment.h().b(doubleValue); d(new Object[]{fundSwitchLandingFragment}, -88361143, 88361148, System.identityHashCode(fundSwitchLandingFragment)); return null; } private static /* synthetic */ Object m(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; BigDecimal bigDecimal = (BigDecimal) objArr[1]; int i = 2 % 2; int i2 = n + 105; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.e(bigDecimal, ""); bCE h = fundSwitchLandingFragment.h(); bCE.e(new Object[]{h, Double.valueOf(bigDecimal.doubleValue())}, 846115392, -846115389, System.identityHashCode(h)); d(new Object[]{fundSwitchLandingFragment}, -88361143, 88361148, System.identityHashCode(fundSwitchLandingFragment)); int i4 = f8048o + 43; n = i4 % 128; if (i4 % 2 == 0) { return null; } throw null; } @OnClick public final void onReviewButtonClick() { int i = 2 % 2; int i2 = f8048o + 61; n = i2 % 128; int i3 = i2 % 2; aN_(); h().e(this.d); int i4 = f8048o + 31; n = i4 % 128; if (i4 % 2 != 0) { throw null; } } /* loaded from: classes5.dex */ static final class ZqN extends AbstractC14961gcz implements InterfaceC14890gbN { private FundSwitchLandingFragment a; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { this.a.h().c(R.string.error_generic_resource); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ ZqN(FundSwitchLandingFragment fundSwitchLandingFragment) { super(0); this.a = fundSwitchLandingFragment; } } /* loaded from: classes5.dex */ static final class jbe extends AbstractC14961gcz implements InterfaceC14894gbR { private FundSwitchLandingFragment a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(String str) { C14957gcv.e(str, ""); FundSwitchLandingFragment fundSwitchLandingFragment = this.a; FundSwitchLandingFragment.d(fundSwitchLandingFragment, FundSwitchLandingFragment.e(fundSwitchLandingFragment), FundSwitchLandingFragment.d(this.a)); this.a.h().a(FundSwitchLandingFragment.e(this.a)); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ jbe(FundSwitchLandingFragment fundSwitchLandingFragment) { super(1); this.a = fundSwitchLandingFragment; } } @Override // o.InterfaceC6671cZn public final void a(OH oh) { Intent intent; Parcelable parcelable; int i = 2 % 2; C14957gcv.e(oh, ""); this.c = oh.d; e(this.i, new jbe(this), new ZqN(this)); FragmentActivity activity = getActivity(); if (activity == null || (intent = activity.getIntent()) == null) { return; } int i2 = f8048o + 89; n = i2 % 128; PB pb = null; if (i2 % 2 == 0 ? Build.VERSION.SDK_INT < 33 : Build.VERSION.SDK_INT < 92) { Bundle extras = intent.getExtras(); if (extras != null) { int i3 = f8048o + 103; n = i3 % 128; int i4 = i3 % 2; parcelable = extras.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED"); } else { parcelable = null; } if (parcelable instanceof PB) { pb = parcelable; } else { int i5 = f8048o + 1; n = i5 % 128; int i6 = i5 % 2; } pb = (PB) pb; } else { Bundle extras2 = intent.getExtras(); if (extras2 != null) { pb = (Parcelable) extras2.getParcelable("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED", PB.class); } } h().e((PB) pb); } private static /* synthetic */ Object b(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; PE pe = (PE) objArr[1]; int i = 2 % 2; C14957gcv.e(pe, ""); Intent intent = new Intent(fundSwitchLandingFragment.getContext(), (Class) FundActionsSearchActivity.class); intent.putExtra("com.scb.phone.FUND_ACTION_INDICATOR", "FUND_ACTION_SWITCH_OUT"); intent.putExtra("com.scb.phone.ARGS_FUND_SEARCH_DATA", pe); huo huoVar = fundSwitchLandingFragment.k; if (huoVar == null) { int i2 = n + 3; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.a(""); int i4 = f8048o + 123; n = i4 % 128; int i5 = i4 % 2; huoVar = null; } huoVar.d(intent, null); return null; } @Override // o.InterfaceC6671cZn public final void c(PA pa) { int i = 2 % 2; C14957gcv.e(pa, ""); Intent intent = new Intent(getContext(), (Class) FundActionsSearchActivity.class); intent.putExtra("com.scb.phone.FUND_ACTION_INDICATOR", "FUND_ACTION_SWITCH_IN"); intent.putExtra("com.scb.phone.ARGS_FUND_SEARCH_DATA", pa); huo huoVar = this.h; if (huoVar == null) { int i2 = f8048o + 95; n = i2 % 128; int i3 = i2 % 2; C14957gcv.a(""); if (i3 != 0) { int i4 = 60 / 0; } huoVar = null; } huoVar.d(intent, null); } @Override // o.InterfaceC6671cZn public final void a(PC pc) { int i = 2 % 2; C14957gcv.e(pc, ""); Context context = getContext(); if (context != null) { int i2 = f8048o + 91; n = i2 % 128; int i3 = i2 % 2; QuestionnaireActivity.RVV rvv = QuestionnaireActivity.m; String name = getClass().getName(); C14957gcv.c((Object) name, ""); startActivity(QuestionnaireActivity.RVV.ahe_(context, name, pc, "mfschedule_switchinfundfact")); } int i4 = f8048o + 57; n = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.InterfaceC6671cZn public final void a(String str, String str2, final VV vv) { int i = 2 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); C14957gcv.e(vv, ""); aup_(str, str2, R.string.ok, new DialogInterface.OnClickListener(this, vv) { // from class: o.fhe private FundSwitchLandingFragment c; private VV d; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { FundSwitchLandingFragment.b(this.c, this.d); } { this.c = this; this.d = vv; } }); int i2 = f8048o + 91; n = i2 % 128; int i3 = i2 % 2; } private static final void d(FundSwitchLandingFragment fundSwitchLandingFragment, VV vv) { int i = 2 % 2; int i2 = f8048o + 77; n = i2 % 128; int i3 = i2 % 2; C14957gcv.e(fundSwitchLandingFragment, ""); C14957gcv.e(vv, ""); fundSwitchLandingFragment.h().a(vv); int i4 = f8048o + 123; n = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC6671cZn public final void a(String str, PC pc) { int i = 2 % 2; int i2 = n + 7; f8048o = i2 % 128; if (i2 % 2 == 0) { C14957gcv.e(str, ""); C14957gcv.e(pc, ""); int i3 = 41 / 0; if (getContext() == null) { return; } } else { C14957gcv.e(str, ""); C14957gcv.e(pc, ""); if (getContext() == null) { return; } } int i4 = n + 83; f8048o = i4 % 128; if (i4 % 2 != 0) { startActivity(FundFactSheetActivity.agN_(getContext(), pc.c, pc, "mfschedule_switchinfundfact")); } else { startActivity(FundFactSheetActivity.agN_(getContext(), pc.c, pc, "mfschedule_switchinfundfact")); int i5 = 37 / 0; } } private static final void d(FundSwitchLandingFragment fundSwitchLandingFragment, PC pc) { int i = 2 % 2; int i2 = n + 35; f8048o = i2 % 128; int i3 = i2 % 2; C14957gcv.e(fundSwitchLandingFragment, ""); C14957gcv.e(pc, ""); fundSwitchLandingFragment.h().e(pc); int i4 = f8048o + 87; n = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } private static /* synthetic */ Object g(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; boolean booleanValue = ((Boolean) objArr[1]).booleanValue(); int i = 2 % 2; int i2 = n + 107; f8048o = i2 % 128; int i3 = i2 % 2; fundSwitchLandingFragment.E().setButtonEnabled(booleanValue); int i4 = n + 37; f8048o = i4 % 128; Object obj = null; if (i4 % 2 != 0) { return null; } obj.hashCode(); throw null; } @Override // o.InterfaceC8937daK public final void o() { int i = 2 % 2; int i2 = f8048o + 111; n = i2 % 128; int i3 = i2 % 2; z(); B(); int i4 = f8048o + 31; n = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.InterfaceC8937daK public final void n() { int i = 2 % 2; int i2 = n + 19; f8048o = i2 % 128; int i3 = i2 % 2; bCE h = h(); h.b(0.0d); bCE.e(new Object[]{h, Double.valueOf(0.0d)}, 846115392, -846115389, System.identityHashCode(h)); G(); int i4 = n + 25; f8048o = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC6671cZn public final void a() { int i = 2 % 2; int i2 = f8048o + 31; n = i2 % 128; int i3 = i2 % 2; TextView textView = (TextView) d(new Object[]{this}, 1975017259, -1975017250, System.identityHashCode(this)); C14957gcv.e(textView, ""); textView.setVisibility(0); int i4 = n + 93; f8048o = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC6671cZn public final void b() { TextView textView; int i; int i2 = 2 % 2; int i3 = n + 87; f8048o = i3 % 128; if (i3 % 2 == 0) { textView = (TextView) d(new Object[]{this}, 1975017259, -1975017250, System.identityHashCode(this)); C14957gcv.e(textView, ""); i = 73; } else { textView = (TextView) d(new Object[]{this}, 1975017259, -1975017250, System.identityHashCode(this)); C14957gcv.e(textView, ""); i = 8; } textView.setVisibility(i); int i4 = f8048o + 83; n = i4 % 128; int i5 = i4 % 2; } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public final void onDestroyView() { int i = 2 % 2; int i2 = f8048o + 9; n = i2 % 128; int i3 = i2 % 2; h().w_(); huo huoVar = this.k; huo huoVar2 = null; if (huoVar == null) { int i4 = n + 59; f8048o = i4 % 128; int i5 = i4 % 2; C14957gcv.a(""); huoVar = null; } huoVar.e(); huo huoVar3 = this.h; if (huoVar3 == null) { int i6 = n + 5; f8048o = i6 % 128; if (i6 % 2 == 0) { C14957gcv.a(""); throw null; } C14957gcv.a(""); } else { huoVar2 = huoVar3; } huoVar2.e(); super.onDestroyView(); } private final void z() { CustomFundSelect j; boolean z; int i = 2 % 2; int i2 = f8048o + 19; n = i2 % 128; if (i2 % 2 != 0) { d(new Object[]{this, j(), Integer.valueOf(R.string.mf_switch_input_7)}, 394963958, -394963955, R.string.mf_switch_input_7); h().h(); j = j(); z = true; } else { d(new Object[]{this, j(), Integer.valueOf(R.string.mf_switch_input_7)}, 394963958, -394963955, R.string.mf_switch_input_7); h().h(); j = j(); z = false; } j.setEnableFund(z); int i3 = f8048o + 113; n = i3 % 128; int i4 = i3 % 2; } private final void B() { int i = 2 % 2; int i2 = n + 117; f8048o = i2 % 128; int i3 = i2 % 2; d(new Object[]{this, g(), Integer.valueOf(R.string.mf_switch_input_5)}, 394963958, -394963955, R.string.mf_switch_input_5); h().g(); int i4 = n + 9; f8048o = i4 % 128; int i5 = i4 % 2; } /* loaded from: classes5.dex */ public static final class LWm { private LWm() { } public /* synthetic */ LWm(byte b) { this(); } } private static /* synthetic */ Object j(Object[] objArr) { FundSwitchLandingFragment fundSwitchLandingFragment = (FundSwitchLandingFragment) objArr[0]; PC pc = (PC) objArr[1]; int i = 2 % 2; int i2 = f8048o + 7; n = i2 % 128; int i3 = i2 % 2; Object obj = null; d(fundSwitchLandingFragment, pc); if (i3 != 0) { obj.hashCode(); throw null; } int i4 = f8048o + 33; n = i4 % 128; int i5 = i4 % 2; return null; } static void f() { l = new char[]{40059}; } static void i() { int i = 2 % 2; int i2 = f8048o + 41; n = i2 % 128; m = i2 % 2 != 0 ? (byte) 33 : (byte) 6; } @Override // o.InterfaceC6671cZn public final void a(int i, PC pc, OP op) { d(new Object[]{this, Integer.valueOf(i), pc, op}, 1140619281, -1140619271, i); } @Override // o.InterfaceC6671cZn public final void d(PE pe) { d(new Object[]{this, pe}, -1188883174, 1188883175, System.identityHashCode(this)); } @Override // o.InterfaceC6671cZn public final void b(boolean z) { d(new Object[]{this, Boolean.valueOf(z)}, -1765112160, 1765112168, System.identityHashCode(this)); } private void N() { d(new Object[]{this}, -88361143, 88361148, System.identityHashCode(this)); } @Override // o.InterfaceC6671cZn public final void b(PB pb) { d(new Object[]{this, pb}, 827370550, -827370539, System.identityHashCode(this)); } @Override // o.fIH public final void e(BigDecimal bigDecimal) { d(new Object[]{this, bigDecimal}, -1526984801, 1526984814, System.identityHashCode(this)); } @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageScrolled(int i, float f, int i2) { int i3 = 2 % 2; int i4 = n + 43; f8048o = i4 % 128; int i5 = i4 % 2; } @Override // androidx.viewpager.widget.ViewPager.ojQ public final void onPageScrollStateChanged(int i) { int i2 = 2 % 2; int i3 = n + 75; f8048o = i3 % 128; if (i3 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.fIH public final void a(double d) { d(new Object[]{this, Double.valueOf(d)}, -154969826, 154969830, System.identityHashCode(this)); } private TextView auE_() { return (TextView) d(new Object[]{this}, 1975017259, -1975017250, System.identityHashCode(this)); } @Override // com.scb.phone.view.fragment.investment.BaseScheduleFragment public final String l() { int i = 2 % 2; int i2 = f8048o + 71; n = i2 % 128; if (i2 % 2 == 0) { return "page_switch"; } throw null; } private bCE F() { return (bCE) d(new Object[]{this}, -1890330514, 1890330526, System.identityHashCode(this)); } private final void c(CustomFundSelect customFundSelect, int i) { d(new Object[]{this, customFundSelect, Integer.valueOf(i)}, 394963958, -394963955, i); } private final void b(int i) { d(new Object[]{this, Integer.valueOf(i)}, -710544977, 710544977, i); } public static final /* synthetic */ void d(FundSwitchLandingFragment fundSwitchLandingFragment, int i, List list) { d(new Object[]{fundSwitchLandingFragment, Integer.valueOf(i), list}, -318043834, 318043836, i); } public static final /* synthetic */ void c(FundSwitchLandingFragment fundSwitchLandingFragment, String str) { d(new Object[]{fundSwitchLandingFragment, str}, 70427449, -70427443, (int) System.currentTimeMillis()); } static { n = 0; f(); i(); new LWm((byte) 0); int i = f8048o + 71; n = i % 128; int i2 = i % 2; } public static /* synthetic */ void c(FundSwitchLandingFragment fundSwitchLandingFragment, Heg heg) { int i = 2 % 2; int i2 = f8048o + 109; n = i2 % 128; int i3 = i2 % 2; b(fundSwitchLandingFragment, heg); int i4 = f8048o + 81; n = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void b(FundSwitchLandingFragment fundSwitchLandingFragment, VV vv) { int i = 2 % 2; int i2 = n + 111; f8048o = i2 % 128; int i3 = i2 % 2; d(fundSwitchLandingFragment, vv); if (i3 == 0) { int i4 = 6 / 0; } } public static /* synthetic */ void d(FundSwitchLandingFragment fundSwitchLandingFragment, Heg heg) { int i = 2 % 2; int i2 = f8048o + 107; n = i2 % 128; int i3 = i2 % 2; e(fundSwitchLandingFragment, heg); int i4 = f8048o + 37; n = i4 % 128; if (i4 % 2 != 0) { int i5 = 64 / 0; } } }