package com.scb.phone.view.fragment.dji; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import androidx.constraintlayout.widget.ConstraintLayout; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.google.common.primitives.SignedBytes; import com.kofax.kmc.kut.utilities.IpLibUtil; import com.scb.phone.R; import com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment; import com.scb.phone.view.fragment.dji.DeejungInstallmentTransactionFragment; import java.lang.reflect.Method; import java.util.List; import o.AbstractC14961gcz; import o.C0419Ge; import o.C0425Gi; import o.C0693Mj; import o.C10383eCj; import o.C12109erx; import o.C14957gcv; import o.C1816aPI; import o.Dip; import o.InterfaceC13391fZD; import o.InterfaceC13393fZL; import o.InterfaceC14890gbN; import o.InterfaceC9077dcs; import o.InterfaceC9236dfs; import o.InterfaceC9237dft; import o.TVH; import o.fZZ; import o.qeC; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes5.dex */ public final class DeejungInstallmentTransactionFragment extends Hilt_DeejungInstallmentTransactionFragment implements InterfaceC9237dft, InterfaceC9077dcs, SelectPurchaseFragment.Sts { private String c; private final InterfaceC13393fZL d; private InterfaceC9236dfs g; private C12109erx h = new C12109erx(); private String i; private String j; @InterfaceC13391fZD public C1816aPI mPresenter; private static final byte[] $$a = {85, SignedBytes.MAX_POWER_OF_TWO, 74, 69}; private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256; private static int $10 = 0; private static int $11 = 1; private static int m = 0; private static int l = 1; private static char[] f = {39997, 40038}; public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~i2; int i6 = (i * (-103)) + (i2 * (-103)) + (((~(i4 | i5)) | (~(i5 | i3))) * 104) + ((~(i2 | (~i3) | i)) * IpLibUtil.KIPP_BARCODE_DRIVER_FAIL) + ((i | i3) * 104); if (i6 == 1) { return d(objArr); } if (i6 == 2) { return e(objArr); } if (i6 != 3) { DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = (DeejungInstallmentTransactionFragment) objArr[0]; String str = (String) objArr[1]; String str2 = (String) objArr[2]; int i7 = 2 % 2; int i8 = m + 45; l = i8 % 128; int i9 = i8 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); deejungInstallmentTransactionFragment.a(str, str2, R.drawable.ic_coming_soon); LinearLayout linearLayout = deejungInstallmentTransactionFragment.d().c; C14957gcv.c(linearLayout, ""); LinearLayout linearLayout2 = linearLayout; C14957gcv.e(linearLayout2, ""); linearLayout2.setVisibility(8); int i10 = m + 19; l = i10 % 128; int i11 = i10 % 2; return null; } return b(objArr); } /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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(byte r6, byte r7, int r8, java.lang.Object[] r9) { /* int r7 = r7 * 2 int r7 = r7 + 71 byte[] r0 = com.scb.phone.view.fragment.dji.DeejungInstallmentTransactionFragment.$$a int r6 = r6 * 3 int r6 = 4 - r6 int r8 = r8 * 3 int r8 = r8 + 1 byte[] r1 = new byte[r8] r2 = 0 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L28 L16: r3 = r2 L17: int r4 = r3 + 1 byte r5 = (byte) r7 r1[r3] = r5 if (r4 != r8) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r3 = r0[r6] L28: int r3 = -r3 int r7 = r7 + r3 int r6 = r6 + 1 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.dji.DeejungInstallmentTransactionFragment.o(byte, byte, int, java.lang.Object[]):void"); } public DeejungInstallmentTransactionFragment() { Object[] objArr = new Object[1]; n(new byte[]{1, 0}, new int[]{0, 2, 61, 0}, false, objArr); this.c = ((String) objArr[0]).intern(); this.j = ""; LWm lWm = new LWm(this); C14957gcv.e(lWm, ""); this.d = new fZZ(lWm); } private C1816aPI f() { int i = 2 % 2; int i2 = l + 49; int i3 = i2 % 128; m = i3; if (i2 % 2 != 0) { throw null; } C1816aPI c1816aPI = this.mPresenter; if (c1816aPI == null) { C14957gcv.a(""); return null; } int i4 = i3 + 33; l = i4 % 128; int i5 = i4 % 2; return c1816aPI; } /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes5.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN { private DeejungInstallmentTransactionFragment e; @Override // o.InterfaceC14890gbN public final /* synthetic */ Dip invoke() { View inflate = this.e.getLayoutInflater().inflate(R.layout.2131559552, (ViewGroup) null, false); int i = R.id.clError; ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.clError); if (constraintLayout != null) { i = R.id.divider; View e = qeC.e(inflate, R.id.divider); if (e != null) { i = R.id.ivError; ImageView imageView = (ImageView) qeC.e(inflate, R.id.ivError); if (imageView != null) { i = R.id.llMore; LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.llMore); if (linearLayout != null) { i = R.id.rvTransactions; RecyclerView recyclerView = (RecyclerView) qeC.e(inflate, R.id.rvTransactions); if (recyclerView != null) { i = R.id.tvErrorDescription; TextView textView = (TextView) qeC.e(inflate, R.id.tvErrorDescription); if (textView != null) { i = R.id.tvErrorTitle; TextView textView2 = (TextView) qeC.e(inflate, R.id.tvErrorTitle); if (textView2 != null) { return new Dip((ConstraintLayout) inflate, constraintLayout, e, imageView, linearLayout, recyclerView, textView, textView2); } } } } } } } 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) */ LWm(DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment) { super(0); this.e = deejungInstallmentTransactionFragment; } } private final Dip d() { int i = 2 % 2; int i2 = l + 47; m = i2 % 128; if (i2 % 2 == 0) { return (Dip) this.d.e(); } int i3 = 80 / 0; return (Dip) this.d.e(); } @Override // androidx.fragment.app.Fragment public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { int i = 2 % 2; int i2 = m + 35; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(layoutInflater, ""); f().e((C1816aPI) this); C1816aPI f2 = f(); Object[] objArr = {f2, this.j, this.c, this.i}; System.identityHashCode(f2); C1816aPI.a(objArr); i(); ConstraintLayout constraintLayout = d().d; C14957gcv.c(constraintLayout, ""); ConstraintLayout constraintLayout2 = constraintLayout; int i4 = m + 87; l = i4 % 128; if (i4 % 2 != 0) { return constraintLayout2; } throw null; } @Override // o.InterfaceC9077dcs public final boolean c() { int i = 2 % 2; InterfaceC9236dfs interfaceC9236dfs = this.g; if (interfaceC9236dfs == null) { int i2 = m + 33; l = i2 % 128; int i3 = i2 % 2; return true; } if (!interfaceC9236dfs.e()) { interfaceC9236dfs.d(); return true; } int i4 = l + 47; m = i4 % 128; int i5 = i4 % 2; return false; } private static /* synthetic */ Object b(Object[] objArr) { DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = (DeejungInstallmentTransactionFragment) objArr[0]; C0419Ge c0419Ge = (C0419Ge) objArr[1]; boolean booleanValue = ((Boolean) objArr[2]).booleanValue(); int i = 2 % 2; int i2 = l + 53; m = i2 % 128; if (i2 % 2 != 0) { C14957gcv.e(c0419Ge, ""); InterfaceC9236dfs interfaceC9236dfs = deejungInstallmentTransactionFragment.g; throw null; } C14957gcv.e(c0419Ge, ""); InterfaceC9236dfs interfaceC9236dfs2 = deejungInstallmentTransactionFragment.g; if (interfaceC9236dfs2 != null) { interfaceC9236dfs2.b(c0419Ge, booleanValue); int i3 = l + 89; m = i3 % 128; int i4 = i3 % 2; } return null; } @Override // o.InterfaceC9237dft public final void b(C0425Gi c0425Gi) { int i = 2 % 2; int i2 = l + 29; m = i2 % 128; if (i2 % 2 == 0) { C14957gcv.e(c0425Gi, ""); b(c0425Gi.d); InterfaceC9236dfs interfaceC9236dfs = this.g; if (interfaceC9236dfs != null) { interfaceC9236dfs.e(c0425Gi); } int i3 = l + 15; m = i3 % 128; int i4 = i3 % 2; return; } C14957gcv.e(c0425Gi, ""); b(c0425Gi.d); Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9237dft public final void a(String str, String str2) { int i = 2 % 2; int i2 = m + 85; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); a(str, str2, R.drawable.empty_state_icon); LinearLayout linearLayout = d().c; C14957gcv.c(linearLayout, ""); LinearLayout linearLayout2 = linearLayout; C14957gcv.e(linearLayout2, ""); linearLayout2.setVisibility(8); int i4 = m + 81; l = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9237dft public final void c(C0693Mj c0693Mj) { int i = 2 % 2; int i2 = l + 65; m = i2 % 128; int i3 = i2 % 2; C14957gcv.e(c0693Mj, ""); String str = c0693Mj.d; C14957gcv.c((Object) str, ""); String str2 = c0693Mj.c; C14957gcv.c((Object) str2, ""); a(str, str2, R.drawable.ic_notice); LinearLayout linearLayout = d().c; C14957gcv.c(linearLayout, ""); LinearLayout linearLayout2 = linearLayout; C14957gcv.e(linearLayout2, ""); linearLayout2.setVisibility(8); int i4 = l + 43; m = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC9237dft public final void e(String str, String str2) { int i = 2 % 2; int i2 = m + 61; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); a(str, str2, R.drawable.empty_state_icon); LinearLayout linearLayout = d().c; C14957gcv.c(linearLayout, ""); LinearLayout linearLayout2 = linearLayout; C14957gcv.e(linearLayout2, ""); linearLayout2.setVisibility(0); int i4 = l + 87; m = i4 % 128; int i5 = i4 % 2; } private final void a(String str, String str2, int i) { int i2 = 2 % 2; int i3 = l + 81; m = i3 % 128; int i4 = i3 % 2; Dip d = d(); ConstraintLayout constraintLayout = d.b; C14957gcv.c(constraintLayout, ""); ConstraintLayout constraintLayout2 = constraintLayout; C14957gcv.e(constraintLayout2, ""); constraintLayout2.setVisibility(0); d.f.setText(str); d.j.setText(str2); d.a.setImageResource(i); int i5 = m + 123; l = i5 % 128; int i6 = i5 % 2; } public static /* synthetic */ void e(DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment, String str, String str2) { int i = 2 % 2; int i2 = l + 17; m = i2 % 128; int i3 = i2 % 2; deejungInstallmentTransactionFragment.b(str, str2, null); int i4 = m + 45; l = i4 % 128; int i5 = i4 % 2; } private final void i() { int i = 2 % 2; RecyclerView recyclerView = d().e; getContext(); recyclerView.setLayoutManager(new LinearLayoutManager(1, false)); recyclerView.setNestedScrollingEnabled(false); recyclerView.d(new C10383eCj(), -1); recyclerView.setAdapter(this.h); Dip d = d(); C12109erx c12109erx = this.h; DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = this; C14957gcv.e(deejungInstallmentTransactionFragment, ""); c12109erx.c = deejungInstallmentTransactionFragment; d.c.setOnClickListener(new View.OnClickListener(this) { // from class: o.eSu private DeejungInstallmentTransactionFragment d; @Override // android.view.View.OnClickListener public final void onClick(View view) { DeejungInstallmentTransactionFragment.d(this.d); } { this.d = this; } }); int i2 = l + 69; m = i2 % 128; if (i2 % 2 != 0) { throw null; } } private static final void b(DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment) { int i = 2 % 2; C14957gcv.e(deejungInstallmentTransactionFragment, ""); InterfaceC9236dfs interfaceC9236dfs = deejungInstallmentTransactionFragment.g; if (interfaceC9236dfs != null) { int i2 = m + 73; l = i2 % 128; int i3 = i2 % 2; interfaceC9236dfs.c(); int i4 = l + 51; m = i4 % 128; int i5 = i4 % 2; } } private final void b(List list) { int i = 2 % 2; int i2 = m + 93; l = i2 % 128; int i3 = i2 % 2; C12109erx c12109erx = this.h; C14957gcv.e(list, ""); c12109erx.b = list; c12109erx.notifyDataSetChanged(); int i4 = m + 65; l = i4 % 128; if (i4 % 2 == 0) { throw null; } } private static /* synthetic */ Object d(Object[] objArr) { DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = (DeejungInstallmentTransactionFragment) objArr[0]; int i = 2 % 2; int i2 = m + 61; l = i2 % 128; int i3 = i2 % 2; String b = deejungInstallmentTransactionFragment.f().b(); int i4 = l + 7; m = i4 % 128; if (i4 % 2 != 0) { int i5 = 83 / 0; } return b; } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public final void onDestroy() { int i = 2 % 2; int i2 = l + 27; m = i2 % 128; int i3 = i2 % 2; f().w_(); super.onDestroy(); int i4 = l + 83; m = i4 % 128; int i5 = i4 % 2; } private static void n(byte[] bArr, int[] iArr, boolean z, Object[] objArr) { int i; char[] cArr; 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[] cArr2 = f; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i8 = 0; while (i8 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr2[i8]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr = cArr2; } else { Class cls = (Class) xzZ.c(TextUtils.getOffsetAfter("", i3) + 223, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (View.getDefaultSize(i3, i3) + 41977)); byte b = (byte) i3; byte b2 = b; cArr = cArr2; Object[] objArr3 = new Object[1]; o(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; cArr2 = cArr; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } char[] cArr4 = new char[i5]; System.arraycopy(cArr2, i4, cArr4, 0, i5); if (bArr != null) { int i9 = $10 + 53; $11 = i9 % 128; int i10 = i9 % 2; char[] cArr5 = new char[i5]; tvh.c = 0; char c = 0; while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i11 = $10 + 119; $11 = i11 % 128; int i12 = i11 % 2; int i13 = tvh.c; try { Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - View.MeasureSpec.getSize(0), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) ((KeyEvent.getMaxKeyCode() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr5[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { int i14 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(16 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), KeyEvent.keyCodeFromString("") + 5, (char) (Process.getGidForName("") + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr5[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } c = cArr5[tvh.c]; try { Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 402, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (21608 - (Process.myTid() >> 22))); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr7 = new Object[1]; o(b3, b4, (byte) (b4 - 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } cArr4 = cArr5; } if (i7 > 0) { int i15 = $10 + 17; $11 = i15 % 128; int i16 = i15 % 2; char[] cArr6 = new char[i5]; i = 0; System.arraycopy(cArr4, 0, cArr6, 0, i5); int i17 = i5 - i7; System.arraycopy(cArr6, 0, cArr4, i17, i7); System.arraycopy(cArr6, i7, cArr4, 0, i17); } else { i = 0; } if (z) { char[] cArr7 = new char[i5]; while (true) { tvh.c = i; if (tvh.c >= i5) { break; } cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1]; i = tvh.c + 1; } cArr4 = cArr7; } if (i6 > 0) { int i18 = 0; loop3: while (true) { tvh.c = i18; while (tvh.c < i5) { int i19 = $11 + 77; $10 = i19 % 128; if (i19 % 2 != 0) { cArr4[tvh.c] = (char) (cArr4[tvh.c] + iArr[4]); tvh.c >>= 1; } } cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]); i18 = tvh.c + 1; } } objArr[0] = new String(cArr4); } private static /* synthetic */ Object e(Object[] objArr) { DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment = (DeejungInstallmentTransactionFragment) objArr[0]; InterfaceC9236dfs interfaceC9236dfs = (InterfaceC9236dfs) objArr[1]; int i = 2 % 2; int i2 = m + 25; l = i2 % 128; int i3 = i2 % 2; C14957gcv.e(interfaceC9236dfs, ""); deejungInstallmentTransactionFragment.g = interfaceC9236dfs; int i4 = m + 85; l = i4 % 128; if (i4 % 2 == 0) { int i5 = 0 / 0; } return null; } @Override // o.InterfaceC9237dft public final void b(String str, String str2) { a(new Object[]{this, str, str2}, 1854072227, -1854072227, System.identityHashCode(this)); } public final void e(InterfaceC9236dfs interfaceC9236dfs) { a(new Object[]{this, interfaceC9236dfs}, 1149074337, -1149074335, System.identityHashCode(this)); } @Override // o.InterfaceC9077dcs public final void b(C0419Ge c0419Ge, boolean z) { a(new Object[]{this, c0419Ge, Boolean.valueOf(z)}, 1936233984, -1936233981, System.identityHashCode(this)); } public final void b(String str, String str2, String str3) { int i = 2 % 2; int i2 = l + 57; m = i2 % 128; int i3 = i2 % 2; Object obj = null; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); this.c = str2; this.j = str; this.i = str3; if (i3 != 0) { obj.hashCode(); throw null; } int i4 = m + 81; l = i4 % 128; if (i4 % 2 != 0) { return; } obj.hashCode(); throw null; } @Override // com.scb.phone.view.fragment.cardmanagement.SelectPurchaseFragment.Sts public final String a() { return (String) a(new Object[]{this}, -230969497, 230969498, System.identityHashCode(this)); } public static /* synthetic */ void d(DeejungInstallmentTransactionFragment deejungInstallmentTransactionFragment) { int i = 2 % 2; int i2 = m + 7; l = i2 % 128; int i3 = i2 % 2; Object obj = null; b(deejungInstallmentTransactionFragment); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = m + 113; l = i4 % 128; if (i4 % 2 == 0) { throw null; } } }