what-the-bank/sources/com/scb/phone/view/fragment/cardmanagement/SelectPurchaseFragment.java

1227 lines
46 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.cardmanagement;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.Fragment;
import androidx.viewpager.widget.ViewPager;
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.cardmanagement.CCAboutActivity;
import com.scb.phone.view.activity.cardmanagement.DeejungPlansActivity;
import com.scb.phone.view.activity.cardmanagement.SelectPurchasesActivity;
import com.scb.phone.view.fragment.BaseFragment;
import com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment;
import com.scb.phone.view.fragment.dji.DeejungInstallmentTransactionFragment;
import java.lang.reflect.Method;
import o.AbstractC14961gcz;
import o.C0367Fb;
import o.C0419Ge;
import o.C0425Gi;
import o.C0437Go;
import o.C1110Vvh;
import o.C12195etd;
import o.C14957gcv;
import o.C2897anK;
import o.GC;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9061dcc;
import o.InterfaceC9236dfs;
import o.fZZ;
import o.gdZ;
import o.gxQ;
import o.qeC;
import o.xzZ;
import o.yRS;
/* loaded from: classes5.dex */
public final class SelectPurchaseFragment extends Hilt_SelectPurchaseFragment implements InterfaceC9061dcc, SelectPurchasesActivity.RVV {
private static long h;
private static int i;
private C0425Gi c;
private final InterfaceC13393fZL d;
private C0367Fb f;
private Sts g;
private C0425Gi j;
@InterfaceC13391fZD
public C2897anK presenter;
private static final byte[] $$a = {67, 63, -31, 118};
private static final int $$b = 71;
private static int $10 = 0;
private static int $11 = 1;
private static int n = 1;
/* loaded from: classes5.dex */
public interface Sts {
String a();
}
public static /* synthetic */ Object e(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = (i2 * (-380)) + (i3 * 382) + ((i3 | i4 | i5) * (-381)) + (((~(i2 | i3)) | (~((~i4) | i3)) | (~((~i3) | i5))) * 381) + ((~(i5 | i3)) * 381);
if (i6 == 1) {
return a(objArr);
}
if (i6 == 2) {
return b(objArr);
}
if (i6 == 3) {
return d(objArr);
}
if (i6 != 4) {
return c(objArr);
}
SelectPurchaseFragment selectPurchaseFragment = (SelectPurchaseFragment) objArr[0];
int i7 = 2 % 2;
int i8 = n + 31;
i = i8 % 128;
int i9 = i8 % 2;
Integer num = ((C2897anK) e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).c;
if (num != null) {
int i10 = n + 41;
i = i10 % 128;
int i11 = i10 % 2;
selectPurchaseFragment.g().c.setText(selectPurchaseFragment.getResources().getString(R.string.deejung_transaction_limit_label, String.valueOf(num.intValue())));
int i12 = i + 75;
n = i12 % 128;
if (i12 % 2 == 0) {
int i13 = 2 % 3;
}
}
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:0x002c). 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 o(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.$$a
int r8 = r8 * 3
int r1 = r8 + 1
int r7 = r7 * 4
int r7 = r7 + 4
int r6 = r6 * 2
int r6 = 121 - r6
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L16
r3 = r7
r4 = r2
goto L2c
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
int r3 = r3 + 1
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2c:
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.o(int, int, int, java.lang.Object[]):void");
}
private static /* synthetic */ Object a(Object[] objArr) {
SelectPurchaseFragment selectPurchaseFragment = (SelectPurchaseFragment) objArr[0];
int i2 = 2 % 2;
int i3 = n + 121;
int i4 = i3 % 128;
i = i4;
int i5 = i3 % 2;
C0425Gi c0425Gi = selectPurchaseFragment.c;
int i6 = i4 + 37;
n = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 81 / 0;
}
return c0425Gi;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0034, code lost:
r4.c(r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0038, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0023, code lost:
if (r3 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x001c, code lost:
if (r3 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0025, code lost:
r1 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i + 87;
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002e, code lost:
if ((r1 % 2) == 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0030, code lost:
r4.c(r3);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final /* synthetic */ void a(com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment r3, com.scb.phone.view.fragment.BaseFragment.HBt r4) {
/*
r0 = 2
int r1 = r0 % r0
boolean r1 = r3.isAdded()
if (r1 == 0) goto L39
int r1 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r1 = r1 + 45
int r2 = r1 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r2
int r1 = r1 % r0
if (r1 == 0) goto L1f
androidx.fragment.app.FragmentActivity r3 = r3.getActivity()
r1 = 86
int r1 = r1 / 0
if (r3 == 0) goto L39
goto L25
L1f:
androidx.fragment.app.FragmentActivity r3 = r3.getActivity()
if (r3 == 0) goto L39
L25:
int r1 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i
int r1 = r1 + 87
int r2 = r1 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r2
int r1 = r1 % r0
if (r1 == 0) goto L34
r4.c(r3)
goto L39
L34:
r4.c(r3)
r3 = 0
throw r3
L39:
int r3 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r3 = r3 + 75
int r4 = r3 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r4
int r3 = r3 % r0
if (r3 == 0) goto L48
r3 = 15
int r3 = r3 / 0
L48:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.a(com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment, com.scb.phone.view.fragment.BaseFragment$HBt):void");
}
public static final /* synthetic */ void c(SelectPurchaseFragment selectPurchaseFragment, C0425Gi c0425Gi) {
int i2 = 2 % 2;
int i3 = i;
int i4 = i3 + 83;
n = i4 % 128;
int i5 = i4 % 2;
selectPurchaseFragment.c = c0425Gi;
int i6 = i3 + 73;
n = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 10 / 0;
}
}
public static final /* synthetic */ C0425Gi d(SelectPurchaseFragment selectPurchaseFragment) {
int i2 = 2 % 2;
int i3 = n + 87;
i = i3 % 128;
int i4 = i3 % 2;
C0425Gi c0425Gi = selectPurchaseFragment.j;
if (i4 == 0) {
return c0425Gi;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static final /* synthetic */ void d(SelectPurchaseFragment selectPurchaseFragment, C0425Gi c0425Gi) {
int i2 = 2 % 2;
int i3 = i;
int i4 = i3 + 45;
n = i4 % 128;
int i5 = i4 % 2;
selectPurchaseFragment.j = c0425Gi;
int i6 = i3 + 75;
n = i6 % 128;
int i7 = i6 % 2;
}
public static final /* synthetic */ C0367Fb e(SelectPurchaseFragment selectPurchaseFragment) {
int i2 = 2 % 2;
int i3 = n + 27;
i = i3 % 128;
int i4 = i3 % 2;
C0367Fb c0367Fb = selectPurchaseFragment.f;
if (i4 != 0) {
int i5 = 29 / 0;
}
return c0367Fb;
}
public SelectPurchaseFragment() {
HBt hBt = new HBt(this);
C14957gcv.e(hBt, "");
this.d = new fZZ(hBt);
}
private static /* synthetic */ Object c(Object[] objArr) {
int i2 = 2 % 2;
C2897anK c2897anK = ((SelectPurchaseFragment) objArr[0]).presenter;
if (c2897anK != null) {
int i3 = n + 89;
i = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 90 / 0;
}
return c2897anK;
}
C14957gcv.a("");
int i5 = n + 117;
i = i5 % 128;
int i6 = i5 % 2;
return null;
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C1110Vvh> {
private SelectPurchaseFragment a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C1110Vvh invoke() {
View inflate = this.a.getLayoutInflater().inflate(R.layout.2131559907, (ViewGroup) null, false);
int i = R.id.btn_done;
Button button = (Button) qeC.e(inflate, R.id.btn_done);
if (button != null) {
i = R.id.layout_footer;
ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.layout_footer);
if (constraintLayout != null) {
i = R.id.purchase_limit;
TextView textView = (TextView) qeC.e(inflate, R.id.purchase_limit);
if (textView != null) {
i = R.id.tlDeejung;
TabLayout tabLayout = (TabLayout) qeC.e(inflate, R.id.tlDeejung);
if (tabLayout != null) {
i = R.id.total_amount;
TextView textView2 = (TextView) qeC.e(inflate, R.id.total_amount);
if (textView2 != null) {
i = R.id.total_amount_label;
TextView textView3 = (TextView) qeC.e(inflate, R.id.total_amount_label);
if (textView3 != null) {
i = R.id.vpDeejung;
ViewPager viewPager = (ViewPager) qeC.e(inflate, R.id.vpDeejung);
if (viewPager != null) {
return new C1110Vvh((ConstraintLayout) inflate, button, constraintLayout, textView, tabLayout, textView2, textView3, viewPager);
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(SelectPurchaseFragment selectPurchaseFragment) {
super(0);
this.a = selectPurchaseFragment;
}
}
private final C1110Vvh g() {
int i2 = 2 % 2;
int i3 = i + 5;
n = i3 % 128;
int i4 = i3 % 2;
C1110Vvh c1110Vvh = (C1110Vvh) this.d.e();
int i5 = n + 119;
i = i5 % 128;
int i6 = i5 % 2;
return c1110Vvh;
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
int i2 = 2 % 2;
int i3 = i + 45;
n = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(layoutInflater, "");
ConstraintLayout constraintLayout = g().b;
C14957gcv.c(constraintLayout, "");
ConstraintLayout constraintLayout2 = constraintLayout;
int i5 = n + 65;
i = i5 % 128;
int i6 = i5 % 2;
return constraintLayout2;
}
private static void m(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(h ^ (-7538262848231253921L), cArr, i2);
guL.a = 4;
int i4 = $10 + 91;
$11 = i4 % 128;
int i5 = i4 % 2;
while (guL.a < a.length) {
guL.c = guL.a - 4;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(h)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 208, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1705));
byte b = (byte) ($$b & 1);
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
o(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 392, 4 - TextUtils.lastIndexOf("", '0'), (char) Color.blue(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
o(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $11 + 49;
$10 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0084, code lost:
if ((r7 instanceof o.C0367Fb) != false) goto L27;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0086, code lost:
r7 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n + 43;
r8 = r7 % 128;
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r8;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x008f, code lost:
if ((r7 % 2) != 0) goto L25;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0091, code lost:
r8 = r8 + 77;
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r8 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0098, code lost:
if ((r8 % 2) != 0) goto L28;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x009a, code lost:
r7 = 4 % 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x00a2, code lost:
r5 = (o.C0367Fb) r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x009d, code lost:
r5.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x00a0, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x00a1, code lost:
r5 = r7;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0078, code lost:
r7 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i + 65;
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r7 % 128;
r7 = r7 % 2;
r7 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x005d, code lost:
r7 = r7.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0061, code lost:
if (r7 == null) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0063, code lost:
r5 = (android.os.Parcelable) r7.getParcelable("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY", o.C0367Fb.class);
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x005b, code lost:
if (android.os.Build.VERSION.SDK_INT >= 33) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x004d, code lost:
if (android.os.Build.VERSION.SDK_INT >= 34) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x006d, code lost:
r7 = r7.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0071, code lost:
if (r7 == null) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0073, code lost:
r7 = r7.getParcelable("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY");
*/
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onViewCreated(android.view.View r7, android.os.Bundle r8) {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r1 = r1 + 35
int r2 = r1 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r2
int r1 = r1 % r0
java.lang.String r1 = ""
o.C14957gcv.e(r7, r1)
super.onViewCreated(r7, r8)
java.lang.Object[] r7 = new java.lang.Object[]{r6}
int r8 = java.lang.System.identityHashCode(r6)
r2 = 1614504640(0x603b62c0, float:5.4010263E19)
r3 = -1614504640(0xffffffff9fc49d40, float:-8.326938E-20)
java.lang.Object r7 = e(r7, r2, r3, r8)
o.anK r7 = (o.C2897anK) r7
r8 = r6
o.cYp r8 = (o.InterfaceC6638cYp) r8
r7.e(r8)
androidx.fragment.app.FragmentActivity r7 = r6.getActivity()
if (r7 == 0) goto Laa
int r8 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r8 = r8 + 67
int r4 = r8 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r4
int r8 = r8 % r0
java.lang.String r4 = "com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY"
r5 = 0
if (r8 == 0) goto L50
android.content.Intent r7 = r7.getIntent()
o.C14957gcv.c(r7, r1)
int r8 = android.os.Build.VERSION.SDK_INT
r1 = 34
if (r8 < r1) goto L6d
goto L5d
L50:
android.content.Intent r7 = r7.getIntent()
o.C14957gcv.c(r7, r1)
int r8 = android.os.Build.VERSION.SDK_INT
r1 = 33
if (r8 < r1) goto L6d
L5d:
android.os.Bundle r7 = r7.getExtras()
if (r7 == 0) goto La6
java.lang.Class<o.Fb> r8 = o.C0367Fb.class
java.lang.Object r7 = r7.getParcelable(r4, r8)
r5 = r7
android.os.Parcelable r5 = (android.os.Parcelable) r5
goto La6
L6d:
android.os.Bundle r7 = r7.getExtras()
if (r7 == 0) goto L78
android.os.Parcelable r7 = r7.getParcelable(r4)
goto L82
L78:
int r7 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i
int r7 = r7 + 65
int r8 = r7 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r8
int r7 = r7 % r0
r7 = r5
L82:
boolean r8 = r7 instanceof o.C0367Fb
if (r8 != 0) goto La1
int r7 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r7 = r7 + 43
int r8 = r7 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r8
int r7 = r7 % r0
if (r7 != 0) goto L9d
int r8 = r8 + 77
int r7 = r8 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r7
int r8 = r8 % r0
if (r8 != 0) goto La2
r7 = 4
int r7 = r7 % r7
goto La2
L9d:
r5.hashCode()
throw r5
La1:
r5 = r7
La2:
o.Fb r5 = (o.C0367Fb) r5
android.os.Parcelable r5 = (android.os.Parcelable) r5
La6:
o.Fb r5 = (o.C0367Fb) r5
r6.f = r5
Laa:
r6.j()
r6.h()
java.lang.Object[] r7 = new java.lang.Object[]{r6}
int r8 = java.lang.System.identityHashCode(r6)
java.lang.Object r7 = e(r7, r2, r3, r8)
o.anK r7 = (o.C2897anK) r7
r7.c()
o.pug r7 = new o.pug
java.lang.String r8 = "screen_type"
java.lang.String r0 = "unbilled_items"
r7.<init>(r8, r0)
r8 = 1
o.pug[] r8 = new o.pug[r8]
r0 = 0
r8[r0] = r7
java.lang.String r7 = "deejung_installment_selectpurchases"
r6.c(r7, r8)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.onViewCreated(android.view.View, android.os.Bundle):void");
}
private final void h() {
int i2 = 2 % 2;
Button button = g().a;
button.setEnabled(false);
button.setOnClickListener(new View.OnClickListener(this) { // from class: o.eJo
private SelectPurchaseFragment e;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
SelectPurchaseFragment.a(this.e);
}
{
this.e = this;
}
});
int i3 = n + 107;
i = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0037, code lost:
if (r3 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0044, code lost:
r7 = (o.C2897anK) e(new java.lang.Object[]{r7}, 1614504640, -1614504640, java.lang.System.identityHashCode(r7));
r3 = r3.g;
o.C14957gcv.c((java.lang.Object) r3, "");
r7.c(r3, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0042, code lost:
if (r3 != null) goto L11;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static final void c(com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment r7) {
/*
r0 = 2
int r1 = r0 % r0
java.lang.String r1 = ""
o.C14957gcv.e(r7, r1)
java.lang.Object[] r2 = new java.lang.Object[]{r7}
int r3 = java.lang.System.identityHashCode(r7)
r4 = 1614504640(0x603b62c0, float:5.4010263E19)
r5 = -1614504640(0xffffffff9fc49d40, float:-8.326938E-20)
java.lang.Object r2 = e(r2, r4, r5, r3)
o.anK r2 = (o.C2897anK) r2
java.lang.Integer r2 = r2.c
if (r2 == 0) goto L5a
int r3 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r3 = r3 + 103
int r6 = r3 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r6
int r3 = r3 % r0
if (r3 == 0) goto L3a
java.lang.Number r2 = (java.lang.Number) r2
int r2 = r2.intValue()
o.Fb r3 = r7.f
r6 = 31
int r6 = r6 / 0
if (r3 == 0) goto L5a
goto L44
L3a:
java.lang.Number r2 = (java.lang.Number) r2
int r2 = r2.intValue()
o.Fb r3 = r7.f
if (r3 == 0) goto L5a
L44:
java.lang.Object[] r6 = new java.lang.Object[]{r7}
int r7 = java.lang.System.identityHashCode(r7)
java.lang.Object r7 = e(r6, r4, r5, r7)
o.anK r7 = (o.C2897anK) r7
java.lang.String r3 = r3.g
o.C14957gcv.c(r3, r1)
r7.c(r3, r2)
L5a:
int r7 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r7 = r7 + 117
int r1 = r7 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r1
int r7 = r7 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.c(com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment):void");
}
private static /* synthetic */ Object b(Object[] objArr) {
SelectPurchaseFragment selectPurchaseFragment = (SelectPurchaseFragment) objArr[0];
Context context = (Context) objArr[1];
int i2 = 2 % 2;
int i3 = i + 91;
n = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(context, "");
super.onAttach(context);
selectPurchaseFragment.n();
int i5 = i + 19;
n = i5 % 128;
int i6 = i5 % 2;
return null;
}
@Override // o.InterfaceC9061dcc
public final void a(boolean z) {
int i2 = 2 % 2;
int i3 = i + 75;
n = i3 % 128;
int i4 = i3 % 2;
g().a.setEnabled(z);
int i5 = n + 13;
i = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 73 / 0;
}
}
@Override // o.InterfaceC9061dcc
public final void e(String str) {
int i2 = 2 % 2;
int i3 = n + 23;
i = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.e(str, "");
g().d.setText(str);
int i4 = 21 / 0;
} else {
C14957gcv.e(str, "");
g().d.setText(str);
}
int i5 = i + 53;
n = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9061dcc
public final void b(int i2) {
int i3 = 2 % 2;
int i4 = i + 83;
n = i4 % 128;
int i5 = i4 % 2;
g().c.setText(String.format(getResources().getString(R.string.deejung_transaction_update_label), String.valueOf(i2)));
int i6 = i + 89;
n = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9061dcc
public final void d(C0437Go c0437Go) {
int i2 = 2 % 2;
DeejungPlansActivity.LWm lWm = DeejungPlansActivity.b;
Context context = getContext();
C0367Fb c0367Fb = this.f;
String i3 = i();
Intent intent = new Intent(context, (Class<?>) DeejungPlansActivity.class);
intent.putExtra("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_DEEJUNG_PLANS_DATA", c0437Go);
intent.putExtra("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY", c0367Fb);
intent.putExtra("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_TERM_AND_CON", i3);
startActivity(intent);
int i4 = i + 27;
n = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
int i2 = 2 % 2;
int i3 = n + 39;
i = i3 % 128;
if (i3 % 2 == 0) {
((C2897anK) e(new Object[]{this}, 1614504640, -1614504640, System.identityHashCode(this))).w_();
super.onDestroyView();
int i4 = n + 21;
i = i4 % 128;
int i5 = i4 % 2;
return;
}
((C2897anK) e(new Object[]{this}, 1614504640, -1614504640, System.identityHashCode(this))).w_();
super.onDestroyView();
throw null;
}
/* loaded from: classes5.dex */
public static final class LWm extends RVV {
private C1110Vvh c;
private SelectPurchaseFragment d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(SelectPurchaseFragment selectPurchaseFragment, C1110Vvh c1110Vvh) {
super(selectPurchaseFragment);
this.d = selectPurchaseFragment;
this.c = c1110Vvh;
}
@Override // o.InterfaceC9236dfs
public final void e(C0425Gi c0425Gi) {
C14957gcv.e(c0425Gi, "");
SelectPurchaseFragment.c(this.d, c0425Gi);
C0425Gi c0425Gi2 = (C0425Gi) SelectPurchaseFragment.e(new Object[]{this.d}, -1263224096, 1263224097, (int) System.currentTimeMillis());
if (c0425Gi2 != null) {
SelectPurchaseFragment selectPurchaseFragment = this.d;
C1110Vvh c1110Vvh = this.c;
((C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).c = c0425Gi2.c;
c1110Vvh.c.setText(selectPurchaseFragment.getResources().getString(R.string.deejung_transaction_limit_label, String.valueOf(((C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).c)));
}
}
}
/* loaded from: classes5.dex */
public static final class jbe extends RVV {
private SelectPurchaseFragment c;
private C1110Vvh d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jbe(SelectPurchaseFragment selectPurchaseFragment, C1110Vvh c1110Vvh) {
super(selectPurchaseFragment);
this.c = selectPurchaseFragment;
this.d = c1110Vvh;
}
@Override // o.InterfaceC9236dfs
public final void e(C0425Gi c0425Gi) {
C14957gcv.e(c0425Gi, "");
SelectPurchaseFragment.d(this.c, c0425Gi);
C0425Gi d = SelectPurchaseFragment.d(this.c);
if (d != null) {
SelectPurchaseFragment selectPurchaseFragment = this.c;
C1110Vvh c1110Vvh = this.d;
((C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).c = d.c;
c1110Vvh.c.setText(selectPurchaseFragment.getResources().getString(R.string.deejung_transaction_limit_label, String.valueOf(((C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).c)));
}
}
}
private final void j() {
int i2 = 2 % 2;
DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = new DeejungInstallmentTransactionFragment();
DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment2 = new DeejungInstallmentTransactionFragment();
C1110Vvh g = g();
DeejungInstallmentTransactionFragment.a(new Object[]{deejungInstallmentTransactionFragment, new LWm(this, g)}, 1149074337, -1149074335, System.identityHashCode(deejungInstallmentTransactionFragment));
DeejungInstallmentTransactionFragment.a(new Object[]{deejungInstallmentTransactionFragment2, new jbe(this, g)}, 1149074337, -1149074335, System.identityHashCode(deejungInstallmentTransactionFragment2));
C0367Fb c0367Fb = this.f;
if (c0367Fb != null) {
int i3 = n + 25;
i = i3 % 128;
int i4 = i3 % 2;
String str = c0367Fb.g;
C14957gcv.c((Object) str, "");
String str2 = c0367Fb.ak;
Object[] objArr = new Object[1];
m(new char[]{39740, 39692, 42605, 18921, 19487, 23448}, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1, objArr);
deejungInstallmentTransactionFragment.b(str, ((String) objArr[0]).intern(), str2);
String str3 = c0367Fb.g;
C14957gcv.c((Object) str3, "");
Object[] objArr2 = new Object[1];
m(new char[]{49278, 49230, 29213, 40344, 27367, 38866}, 1 - (ViewConfiguration.getPressedStateDuration() >> 16), objArr2);
DeejungInstallmentTransactionFragment.e(deejungInstallmentTransactionFragment2, str3, ((String) objArr2[0]).intern());
}
yRS childFragmentManager = getChildFragmentManager();
Context context = getContext();
if (context != null) {
C14957gcv.c(childFragmentManager, "");
C14957gcv.c(context, "");
g.j.setAdapter(new C12195etd(childFragmentManager, context, deejungInstallmentTransactionFragment, deejungInstallmentTransactionFragment2));
g.e.setupWithViewPager(g.j);
}
int i5 = n + 107;
i = i5 % 128;
int i6 = i5 % 2;
}
/* loaded from: classes5.dex */
abstract class RVV implements InterfaceC9236dfs {
private SelectPurchaseFragment a;
public RVV(SelectPurchaseFragment selectPurchaseFragment) {
this.a = selectPurchaseFragment;
}
@Override // o.InterfaceC9236dfs
public final void b(C0419Ge c0419Ge, boolean z) {
String a;
String a2;
C14957gcv.e(c0419Ge, "");
SelectPurchaseFragment selectPurchaseFragment = this.a;
C2897anK c2897anK = (C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment));
C14957gcv.e(c0419Ge, "");
double d = 0.0d;
if (z) {
GC gc = c2897anK.b;
if (c0419Ge == null) {
throw new IllegalArgumentException("Required value was null.".toString());
}
gc.a.add(c0419Ge);
double d2 = gc.d;
String str = c0419Ge.h;
if (str != null && (a2 = gdZ.a(str, ",", "")) != null) {
d = Double.parseDouble(a2);
}
gc.d = d2 + d;
} else {
GC gc2 = c2897anK.b;
if (c0419Ge == null) {
throw new IllegalArgumentException("Required value was null.".toString());
}
if (gc2.a.contains(c0419Ge)) {
gc2.a.remove(c0419Ge);
double d3 = gc2.d;
String str2 = c0419Ge.h;
if (str2 != null && (a = gdZ.a(str2, ",", "")) != null) {
d = Double.parseDouble(a);
}
gc2.d = d3 - d;
}
}
c2897anK.c();
}
@Override // o.InterfaceC9236dfs
public final void c() {
final SelectPurchaseFragment selectPurchaseFragment = this.a;
SelectPurchaseFragment.a(selectPurchaseFragment, new BaseFragment.HBt(selectPurchaseFragment) { // from class: o.eJs
private SelectPurchaseFragment a;
@Override // com.scb.phone.view.fragment.BaseFragment.HBt
public final void c(Context context) {
SelectPurchaseFragment selectPurchaseFragment2 = this.a;
C14957gcv.e(selectPurchaseFragment2, "");
C14957gcv.e(context, "");
CCAboutActivity.Sts sts = CCAboutActivity.b;
C0367Fb e = SelectPurchaseFragment.e(selectPurchaseFragment2);
selectPurchaseFragment2.startActivity(CCAboutActivity.Sts.YX_(context, C2897anK.d(e != null ? e.K : false), selectPurchaseFragment2.a()));
}
{
this.a = selectPurchaseFragment;
}
});
}
@Override // o.InterfaceC9236dfs
public final boolean e() {
SelectPurchaseFragment selectPurchaseFragment = this.a;
C2897anK c2897anK = (C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment));
Integer num = c2897anK.c;
if (num != null) {
if (c2897anK.b.a.size() < num.intValue()) {
return true;
}
}
return false;
}
@Override // o.InterfaceC9236dfs
public final void d() {
SelectPurchaseFragment selectPurchaseFragment = this.a;
selectPurchaseFragment.e(((C2897anK) SelectPurchaseFragment.e(new Object[]{selectPurchaseFragment}, 1614504640, -1614504640, System.identityHashCode(selectPurchaseFragment))).d());
}
}
/* JADX WARN: Multi-variable type inference failed */
private static final void d(SelectPurchaseFragment selectPurchaseFragment, yRS yrs, Fragment fragment) {
int i2 = 2 % 2;
int i3 = i + 107;
n = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
C14957gcv.e(selectPurchaseFragment, "");
C14957gcv.e(yrs, "");
C14957gcv.e(fragment, "");
if (fragment instanceof Sts) {
int i4 = n + 39;
i = i4 % 128;
int i5 = i4 % 2;
selectPurchaseFragment.g = (Sts) fragment;
if (i5 != 0) {
throw null;
}
}
int i6 = i + 89;
n = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
return;
}
C14957gcv.e(selectPurchaseFragment, "");
C14957gcv.e(yrs, "");
C14957gcv.e(fragment, "");
boolean z = fragment instanceof Sts;
obj.hashCode();
throw null;
}
private final void n() {
int i2 = 2 % 2;
getChildFragmentManager().a(new gxQ(this) { // from class: o.eJx
private SelectPurchaseFragment e;
@Override // o.gxQ
public final void d(yRS yrs, Fragment fragment) {
SelectPurchaseFragment.e(new Object[]{this.e, yrs, fragment}, -1520353240, 1520353243, (int) System.currentTimeMillis());
}
{
this.e = this;
}
});
int i3 = i + 23;
n = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.cardmanagement.SelectPurchasesActivity.RVV
public final String a() {
int i2 = 2 % 2;
int i3 = n + 109;
i = i3 % 128;
int i4 = i3 % 2;
String i5 = i();
if (i4 != 0) {
int i6 = 68 / 0;
}
return i5;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x001b, code lost:
r0 = r1.a();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0020, code lost:
r2 = r2 + 119;
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r2 % 128;
r2 = r2 % 2;
r0 = null;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final java.lang.String i() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n
int r1 = r1 + 103
int r2 = r1 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i = r2
int r1 = r1 % r0
if (r1 == 0) goto L17
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment$Sts r1 = r4.g
r3 = 99
int r3 = r3 / 0
if (r1 == 0) goto L20
goto L1b
L17:
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment$Sts r1 = r4.g
if (r1 == 0) goto L20
L1b:
java.lang.String r0 = r1.a()
goto L28
L20:
int r2 = r2 + 119
int r1 = r2 % 128
com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.n = r1
int r2 = r2 % r0
r0 = 0
L28:
if (r0 != 0) goto L2c
java.lang.String r0 = ""
L2c:
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.i():java.lang.String");
}
private static /* synthetic */ Object d(Object[] objArr) {
SelectPurchaseFragment selectPurchaseFragment = (SelectPurchaseFragment) objArr[0];
yRS yrs = (yRS) objArr[1];
Fragment fragment = (Fragment) objArr[2];
int i2 = 2 % 2;
int i3 = n + 57;
i = i3 % 128;
int i4 = i3 % 2;
d(selectPurchaseFragment, yrs, fragment);
int i5 = n + 113;
i = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 39 / 0;
}
return null;
}
static void f() {
h = -4116688322094024726L;
}
@Override // o.InterfaceC9061dcc
public final void b() {
e(new Object[]{this}, 8231652, -8231648, System.identityHashCode(this));
}
@Override // com.scb.phone.view.fragment.cardmanagement.Hilt_SelectPurchaseFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
public final void onAttach(Context context) {
e(new Object[]{this, context}, -374804595, 374804597, System.identityHashCode(this));
}
public final C2897anK d() {
return (C2897anK) e(new Object[]{this}, 1614504640, -1614504640, System.identityHashCode(this));
}
public static final /* synthetic */ C0425Gi b(SelectPurchaseFragment selectPurchaseFragment) {
return (C0425Gi) e(new Object[]{selectPurchaseFragment}, -1263224096, 1263224097, (int) System.currentTimeMillis());
}
static {
i = 0;
f();
new IeS((byte) 0);
int i2 = n + 55;
i = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void a(SelectPurchaseFragment selectPurchaseFragment) {
int i2 = 2 % 2;
int i3 = n + 115;
i = i3 % 128;
int i4 = i3 % 2;
c(selectPurchaseFragment);
int i5 = n + 111;
i = i5 % 128;
int i6 = i5 % 2;
}
}