what-the-bank/sources/com/scb/phone/view/activity/additionaldocument/CropDocumentActivity.java

2200 lines
91 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.additionaldocument;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.kmc.ken.engines.data.Image;
import com.kofax.kmc.ken.engines.data.QuickAnalysisFeedback;
import com.kofax.kmc.kui.uicontrols.ImgReviewEditCntrl;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity;
import com.scb.phone.view.activity.additionaldocument.CropDocumentActivity;
import com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity;
import com.scb.phone.view.activity.hml.submission.HmlDocumentSubmissionTutorialsActivity;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import o.AbstractC13175fSw;
import o.AbstractC14961gcz;
import o.BES;
import o.C0690Mh;
import o.C0693Mj;
import o.C0795Or;
import o.C12891fKc;
import o.C12914fKz;
import o.C13366fYe;
import o.C14866gag;
import o.C14954gcs;
import o.C14957gcv;
import o.C2420aeK;
import o.C2434aeY;
import o.C4403bZM;
import o.DialogC10413eDd;
import o.InterfaceC13391fZD;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC9015dbj;
import o.ZI;
import o.cXH;
import o.fSD;
import o.fSJ;
import o.fSQ;
import o.fSS;
import o.gdZ;
import o.jTb;
import o.nMh;
import o.pAC;
import o.wUt;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class CropDocumentActivity extends Hilt_CropDocumentActivity implements InterfaceC9015dbj {
public static final Sts b;
private static char p;
private static int[] q;
private static char r;
private static byte t;
private static char v;
private static char w;
private static int x;
@BindView
public ImgReviewEditCntrl imageReview;
@BindView
public TextView instructionsInfoText;
private final boolean k;
private final boolean l;
private final boolean m;
/* renamed from: o, reason: collision with root package name */
private final boolean f6552o;
@InterfaceC13391fZD
public C2420aeK presenter;
@BindView
public TextView retakeButton;
@BindView
public View rootView;
private fSJ s;
@BindView
public TextView seeInstructionsButton;
private static final byte[] $$g = {Ascii.SYN, 77, -47, -12};
private static final int $$h = CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 1;
/* 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:0x002a). 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 az(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = r8 + 4
int r6 = r6 + 66
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r0 = com.scb.phone.view.activity.additionaldocument.CropDocumentActivity.$$g
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r4 = r0[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2a:
int r6 = r6 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.CropDocumentActivity.az(short, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * (-1831)) + (i2 * 917) + ((~(i4 | i2)) * 2748);
int i6 = i4 | (~i2);
int i7 = i5 + (i6 * (-916)) + (((~(i | i2)) | (~i6)) * 916);
if (i7 != 1) {
return i7 != 2 ? i7 != 3 ? i7 != 4 ? d(objArr) : a(objArr) : c(objArr) : e(objArr);
}
CropDocumentActivity cropDocumentActivity = (CropDocumentActivity) objArr[0];
int i8 = 2 % 2;
int i9 = u + 13;
x = i9 % 128;
int i10 = i9 % 2;
boolean z = cropDocumentActivity.l;
Object[] objArr2 = {cropDocumentActivity, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_blurry), Integer.valueOf(R.string.crop_document_warning_blurry)};
b(objArr2, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
int i11 = u + 33;
x = i11 % 128;
int i12 = i11 % 2;
return null;
}
private void aA(String str, Object[] objArr) {
int i = 2 % 2;
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
int i2 = 0;
while (i2 < decode.length) {
int i3 = x;
int i4 = i3 + 91;
u = i4 % 128;
if (i4 % 2 == 0) {
bArr[i2] = (byte) (decode[(decode.length - i2) + 1] ^ t);
i2 += 20;
} else {
bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ t);
i2++;
}
int i5 = i3 + 79;
u = i5 % 128;
int i6 = i5 % 2;
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
public static final /* synthetic */ void d(CropDocumentActivity cropDocumentActivity, Image image) {
int i = 2 % 2;
QuickAnalysisFeedback imageQuickAnalysisFeedBack = image.getImageQuickAnalysisFeedBack();
C2420aeK c2420aeK = cropDocumentActivity.presenter;
Object obj = null;
if (c2420aeK == null) {
C14957gcv.a("");
c2420aeK = null;
}
boolean isBlurry = imageQuickAnalysisFeedBack.isBlurry();
final boolean isUndersaturated = imageQuickAnalysisFeedBack.isUndersaturated();
final boolean isLowContrastBackground = imageQuickAnalysisFeedBack.isLowContrastBackground();
final boolean isMissingBorders = imageQuickAnalysisFeedBack.isMissingBorders();
final boolean isOversaturated = imageQuickAnalysisFeedBack.isOversaturated();
String str = c2420aeK.e;
if (str == null) {
int i2 = x + 31;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
str = null;
}
if (!gdZ.a(str, "HML", true)) {
if (isBlurry) {
c2420aeK.h(new Throwable(cXH.Sts.BLURRY.error));
return;
}
if (isLowContrastBackground) {
c2420aeK.h(new Throwable(cXH.Sts.LOW_CONTRAST.error));
return;
}
if (isUndersaturated || isOversaturated) {
c2420aeK.h(new Throwable(cXH.Sts.WRONG_SATURATION.error));
return;
}
int i4 = u + 125;
x = i4 % 128;
int i5 = i4 % 2;
if (c2420aeK.f != 0) {
int i6 = x + 51;
u = i6 % 128;
int i7 = i6 % 2;
c2420aeK.f.ar_();
return;
}
return;
}
wUt wut = c2420aeK.a;
pAC pac = new pAC(isBlurry, isMissingBorders, isLowContrastBackground, isOversaturated, isUndersaturated);
C14957gcv.e(pac, "");
wut.a.e(pac);
if (!isUndersaturated) {
int i8 = x;
int i9 = i8 + 37;
u = i9 % 128;
int i10 = i9 % 2;
if (!isLowContrastBackground && !isMissingBorders) {
int i11 = i8 + 121;
u = i11 % 128;
int i12 = i11 % 2;
if (!isOversaturated) {
if (c2420aeK.f != 0) {
int i13 = x + 77;
int i14 = i13 % 128;
u = i14;
if (i13 % 2 != 0) {
int i15 = i14 + 7;
x = i15 % 128;
if (i15 % 2 != 0) {
c2420aeK.f.ar_();
obj.hashCode();
throw null;
}
c2420aeK.f.ar_();
}
}
C2434aeY c2434aeY = new C2434aeY(c2420aeK);
if (c2420aeK.f != 0) {
int i16 = u + 67;
x = i16 % 128;
int i17 = i16 % 2;
c2434aeY.e(c2420aeK.f);
return;
}
return;
}
}
}
final C2420aeK c2420aeK2 = c2420aeK;
ZI.IeS ieS = new ZI.IeS(isLowContrastBackground, isUndersaturated, isOversaturated, isMissingBorders, c2420aeK2) { // from class: o.aeT
private boolean a;
private boolean b;
private boolean c;
private C2420aeK d;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2420aeK.b(this.e, this.a, this.b, this.c, this.d, (InterfaceC9015dbj) obj2);
}
{
this.e = isLowContrastBackground;
this.a = isUndersaturated;
this.b = isOversaturated;
this.c = isMissingBorders;
this.d = c2420aeK2;
}
};
if (c2420aeK.f == 0) {
int i18 = x + 85;
u = i18 % 128;
int i19 = i18 % 2;
return;
}
int i20 = x + 81;
u = i20 % 128;
if (i20 % 2 != 0) {
ieS.e(c2420aeK.f);
} else {
ieS.e(c2420aeK.f);
int i21 = 43 / 0;
}
}
@OnClick
public final void onDoneClicked() {
int i = 2 % 2;
final C2420aeK c2420aeK = this.presenter;
Object obj = null;
if (c2420aeK == null) {
C14957gcv.a("");
c2420aeK = null;
}
if (c2420aeK.f != 0) {
c2420aeK.f.y();
}
String str = c2420aeK.e;
if (str == null) {
int i2 = u + 5;
x = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.a("");
obj.hashCode();
throw null;
}
C14957gcv.a("");
str = null;
}
if (gdZ.a(str, "HML", true)) {
String str2 = c2420aeK.d;
if (str2 == null) {
C14957gcv.a("");
str2 = null;
}
if (gdZ.a(str2, "SALARY", true)) {
ZI.IeS ieS = new ZI.IeS(c2420aeK) { // from class: o.aeS
private C2420aeK e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2420aeK.a(this.e, (InterfaceC9015dbj) obj2);
}
{
this.e = c2420aeK;
}
};
if (c2420aeK.f != 0) {
ieS.e(c2420aeK.f);
return;
}
return;
}
}
ZI.IeS ieS2 = new ZI.IeS(c2420aeK) { // from class: o.aff
private C2420aeK b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2420aeK.e(this.b, (InterfaceC9015dbj) obj2);
}
{
this.b = c2420aeK;
}
};
if (c2420aeK.f != 0) {
int i3 = x + 119;
u = i3 % 128;
int i4 = i3 % 2;
ieS2.e(c2420aeK.f);
}
int i5 = u + 123;
x = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@OnClick
public final void onRetakeClicked() {
int i = 2 % 2;
C2420aeK c2420aeK = this.presenter;
if (c2420aeK != null) {
int i2 = u + 15;
x = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = x + 93;
u = i4 % 128;
int i5 = i4 % 2;
c2420aeK = null;
}
c2420aeK.a();
}
@OnClick
public final void onSeeInstructionsClicked() {
int i = 2 % 2;
int i2 = x + 73;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
C2420aeK c2420aeK = this.presenter;
if (c2420aeK != null) {
int i5 = i3 + 15;
x = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c2420aeK = null;
}
C2434aeY c2434aeY = new C2434aeY(c2420aeK);
if (!(c2420aeK.f == 0)) {
c2434aeY.e(c2420aeK.f);
}
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public static Intent Ye_(Context context, String str, String str2, String str3, String str4, String str5, boolean z) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
Intent intent = new Intent(context, (Class<?>) CropDocumentActivity.class);
intent.putExtra("IMAGE_PATH_TAG", str2);
intent.putExtra("APPLICATION_ID_TAG", str);
intent.putExtra("DOCUMENT_TYPE_TAG", str3);
intent.putExtra("PRODUCT_TYPE_TAG", str4);
intent.putExtra("FLOW_TAG", str5);
intent.putExtra("FROM_GALLERY_TAG", z);
return intent;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i5 = $10 + 97;
$11 = i5 % 128;
int i6 = i5 % 2;
while (jtb.b < cArr.length) {
int i7 = $10 + 115;
$11 = i7 % 128;
int i8 = 58224;
if (i7 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[i4] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i4;
}
while (i2 < 16) {
char c = cArr3[1];
char c2 = cArr3[i4];
int i9 = (c2 + i8) ^ ((c2 << 4) + ((char) (v ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(w);
objArr2[2] = Integer.valueOf(i10);
objArr2[1] = Integer.valueOf(i9);
objArr2[i4] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.indexOf("", ""), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b2 = (byte) i4;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
String str = (String) objArr3[i4];
Class<?>[] clsArr = new Class[4];
clsArr[i4] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (r ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(p)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (Process.myTid() >> 22), View.getDefaultSize(0, 0) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i2++;
cArr3 = cArr4;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(99 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b6 = (byte) ($$h & 7);
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i4 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void ax(int[] iArr, int i, Object[] objArr) {
Object method;
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = q;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 47;
$10 = i8 % 128;
if (i8 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - TextUtils.indexOf("", ""), 5 - View.getDefaultSize(i6, i6), (char) (58134 - (ViewConfiguration.getLongPressTimeout() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr3 = {Integer.valueOf(iArr3[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (58133 - TextUtils.lastIndexOf("", '0')))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr4[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i9 = $10 + 43;
$11 = i9 % 128;
if (i9 % 2 == 0) {
int i10 = 2 % 3;
}
i2 = 2;
i6 = 0;
i4 = 729798706;
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = q;
if (iArr6 != null) {
int i11 = $11 + 115;
$10 = i11 % 128;
int i12 = i11 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i13 = 0;
while (i13 < length3) {
try {
Object[] objArr4 = new Object[i5];
objArr4[0] = Integer.valueOf(iArr6[i13]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr2 = iArr6;
} else {
iArr2 = iArr6;
obj3 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (View.resolveSize(0, 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr7[i13] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i13++;
iArr6 = iArr2;
i5 = 1;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 119, KeyEvent.normalizeMetaState(0) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b2 = (byte) 0;
Object[] objArr6 = new Object[1];
az((byte) 38, b2, b2, objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 != null) {
method = obj5;
} else {
Class cls3 = (Class) xzZ.c(98 - View.combineMeasuredStates(0, 0), 5 - (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)), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b3 = (byte) 0;
Object[] objArr8 = new Object[1];
az((byte) 36, b3, b3, objArr8);
method = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr7);
int i19 = $10 + 89;
$11 = i19 % 128;
int i20 = i19 % 2;
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Image, C14866gag> {
private CropDocumentActivity b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Image image) {
Image image2 = image;
ImgReviewEditCntrl imgReviewEditCntrl = this.b.imageReview;
ImgReviewEditCntrl imgReviewEditCntrl2 = null;
if (imgReviewEditCntrl == null) {
C14957gcv.a("");
imgReviewEditCntrl = null;
}
imgReviewEditCntrl.setImage(image2);
ImgReviewEditCntrl imgReviewEditCntrl3 = this.b.imageReview;
if (imgReviewEditCntrl3 != null) {
imgReviewEditCntrl2 = imgReviewEditCntrl3;
} else {
C14957gcv.a("");
}
imgReviewEditCntrl2.setCropTetragon(image2.getImageQuickAnalysisFeedBack().getTetragonCorners());
CropDocumentActivity cropDocumentActivity = this.b;
C14957gcv.c(image2, "");
CropDocumentActivity.d(cropDocumentActivity, image2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(CropDocumentActivity cropDocumentActivity) {
super(1);
this.b = cropDocumentActivity;
}
}
/* loaded from: classes4.dex */
final /* synthetic */ class RVV extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
((C2420aeK) this.f).h(th2);
return C14866gag.c;
}
RVV(Object obj) {
super(1, obj, C2420aeK.class, "analysisCompleteError", "analysisCompleteError(Ljava/lang/Throwable;)V");
}
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_CropDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
String str = null;
Object[] objArr = new Object[1];
ax(new int[]{864381555, 384233570, -167367601, -1487419156, -940288871, -27296035, 1263453379, -73829401, -713892707, -598047908}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_data_sharing_decline_tc_description).substring(31, 32).codePointAt(0) - 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{46128, 6710, 24184, 54479, 7322, 17542}, KeyEvent.keyCodeFromString("") + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(new char[]{43249, 11361, 61953, 8901, 43451, 42002, 53178, 56929, 50898, 43140, 57697, 47106, 26853, 44131, 25425, 44819, 53500, 15513, 64289, 25441, 4432, 59587, 53993, 32653, 29424, 33744}, TextUtils.lastIndexOf("", '0') + 27, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{1194511722, 1175861967, 1407365967, 1987239384, -454753578, -1622875382, 1386756952, 1328982251, 255301746, 1477191644}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = u + 29;
x = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{55093, 54778, 51466, 27073, 63311, 2804, 4243, 26566, 52757, 45254, 45097, 37368, 40445, 4448, 25899, 62195, 28399, 19982, 26589, 20991, 21251, 12987, 12994, 5097, 7127, 36157, 12758, 22921, 59423, 7881, 55234, 16260, 17489, 11817, 12188, 24548, 44671, 23308, 60189, 21262, 40933, 45012, 61459, 7984, 23425, 21345, 31857, 20940}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transfer_email_notification_message).substring(33, 34).length() + 47, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{-1559298740, 1346743107, 115103669, -40598852, 1159381006, 1893956763, -1046372420, -1378020356, -546226897, -2006032219, -450206053, 2070137462, 788304943, 493822843, -1177627308, 1984233922, -946122479, 1047904803, -1395485427, 132185902, 1136040397, -1602904823, 127489504, -591047227, 1823637580, 1364808643, -467096346, 2063437415, 322928840, -1203409666, -262040937, 1125489696}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_4).substring(0, 3).length() + 61, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{57335, 43778, 41029, 53984, 7384, 15165, 17933, 65118, 8888, 24307, 56591, 28884, 12769, 53875, 4585, 32152, 60286, 3785, 3127, 61944, 3787, 48573, 10689, 27253, 23425, 21345, 44671, 23308, 65224, 52735, 42196, 49849, 51466, 27073, 26455, 7956, 55138, 22026, 33615, 48970, 2143, 13848, 44725, 64976, 61932, 2941, 49728, 35792, 56004, 43593, 26589, 20991, 1235, 33949, 40087, 44316, 61561, 37454, 4243, 26566, 6556, 13370, 6846, 16257}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_request_promo_code_success_title).substring(4, 8).codePointAt(2) + 27, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{62353, 14686, 43192, 65015, 17396, 8611, 56905, 25169, 60715, 479, 41361, 61243, 1318, 32564, 33663, 12923, 57152, 38486, 60452, 28804, 15743, 62289, 27381, 49459, 63477, 50742, 40247, 45748, 24230, 7669, 3664, 25628, 3681, 32109, 61787, 16212, 14700, 52823, 26728, 30606, 31743, 23378, 33352, 29526, 18447, 29914, 31743, 23378, 47905, 50891, 1318, 32564, 36740, 36377, 50898, 43140, 25171, 38988, 46526, 46020, 5005, 8875, 37916, 2156, 19945, 11467, 45294, 38908, 52999, 55133, 57397, 56215, 19661, 26834}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 38, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{176, 14931, 17410, 27246, 30587, 226}, 5 - Color.green(0), objArr9);
String str6 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{184006834, -1829132984, 811098468, -614104611, -229360852, 1556348366, 1647801069, 9987112, 905503692, -1063760537, -1445238453, -1527928167, 1254779216, -998414696, 1365092908, -647632852, -1589506947, 939132933}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_national_id_consent_b2k).substring(0, 249).length() - 213, objArr10);
Object[] objArr11 = {baseContext, str2, str3, str4, str5, true, str6, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - TextUtils.getOffsetAfter("", 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = x + 5;
u = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558491);
ButterKnife.Dg_(this);
C2420aeK c2420aeK = this.presenter;
if (c2420aeK != null) {
int i6 = x + 55;
u = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 5 / 0;
}
} else {
C14957gcv.a("");
c2420aeK = null;
}
c2420aeK.e((C2420aeK) this);
Intent intent = getIntent();
C2420aeK c2420aeK2 = this.presenter;
if (c2420aeK2 == null) {
C14957gcv.a("");
c2420aeK2 = null;
}
final String stringExtra = intent.getStringExtra("IMAGE_PATH_TAG");
if (stringExtra == null) {
stringExtra = "";
}
String stringExtra2 = intent.getStringExtra("APPLICATION_ID_TAG");
if (stringExtra2 == null) {
stringExtra2 = "";
}
final String stringExtra3 = intent.getStringExtra("DOCUMENT_TYPE_TAG");
if (stringExtra3 == null) {
stringExtra3 = "";
}
String stringExtra4 = intent.getStringExtra("PRODUCT_TYPE_TAG");
if (stringExtra4 == null) {
stringExtra4 = "";
}
String stringExtra5 = intent.getStringExtra("FLOW_TAG");
if (stringExtra5 == null) {
stringExtra5 = "";
}
boolean booleanExtra = intent.getBooleanExtra("FROM_GALLERY_TAG", false);
C14957gcv.e(stringExtra, "");
C14957gcv.e(stringExtra2, "");
C14957gcv.e(stringExtra3, "");
C14957gcv.e(stringExtra4, "");
C14957gcv.e(stringExtra5, "");
c2420aeK2.c = stringExtra2;
c2420aeK2.i = stringExtra;
c2420aeK2.d = stringExtra3;
c2420aeK2.h = stringExtra4;
c2420aeK2.e = stringExtra5;
c2420aeK2.b = booleanExtra;
if (c2420aeK2.f != 0) {
c2420aeK2.f.y();
}
ZI.IeS ieS = new ZI.IeS(stringExtra) { // from class: o.aeO
private String d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C2420aeK.e(this.d, (InterfaceC9015dbj) obj3);
}
{
this.d = stringExtra;
}
};
if (c2420aeK2.f != 0) {
ieS.e(c2420aeK2.f);
} else {
int i8 = x + 25;
u = i8 % 128;
int i9 = i8 % 2;
}
String str7 = c2420aeK2.e;
if (str7 == null) {
C14957gcv.a("");
} else {
str = str7;
}
if (gdZ.a(str, "HML", true)) {
ZI.IeS ieS2 = new ZI.IeS(stringExtra3) { // from class: o.aeX
private String d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C2420aeK.b(this.d, (InterfaceC9015dbj) obj3);
}
{
this.d = stringExtra3;
}
};
if (c2420aeK2.f != 0) {
ieS2.e(c2420aeK2.f);
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<BES, fSD<? extends BES>> {
private CropDocumentActivity d;
private String e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends BES> invoke(BES bes) {
return C12891fKc.e(this.d, bes.c, this.e);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(CropDocumentActivity cropDocumentActivity, String str) {
super(1);
this.d = cropDocumentActivity;
this.e = str;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<BES, C14866gag> {
private CropDocumentActivity a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(BES bes) {
BES bes2 = bes;
C2420aeK c2420aeK = this.a.presenter;
if (c2420aeK == null) {
C14957gcv.a("");
c2420aeK = null;
}
c2420aeK.b(bes2.c);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(CropDocumentActivity cropDocumentActivity) {
super(1);
this.a = cropDocumentActivity;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class ZqN extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C2420aeK c2420aeK = (C2420aeK) this.f;
C14957gcv.e(th2, "");
if (c2420aeK.b(th2)) {
c2420aeK.d(c2420aeK.j.e(th2));
}
return C14866gag.c;
}
ZqN(Object obj) {
super(1, obj, C2420aeK.class, "documentProcessError", "documentProcessError(Ljava/lang/Throwable;)V");
}
}
/* loaded from: classes4.dex */
static final class saX extends AbstractC14961gcz implements InterfaceC14894gbR<BES, fSD<? extends String>> {
private CropDocumentActivity d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends String> invoke(BES bes) {
return C12891fKc.d(this.d, bes.c);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(CropDocumentActivity cropDocumentActivity) {
super(1);
this.d = cropDocumentActivity;
}
}
@Override // o.InterfaceC9015dbj
public final void c() {
int i = 2 % 2;
ImgReviewEditCntrl imgReviewEditCntrl = this.imageReview;
TextView textView = null;
if (imgReviewEditCntrl != null) {
int i2 = u + 19;
x = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 79 / 0;
}
} else {
C14957gcv.a("");
imgReviewEditCntrl = null;
}
imgReviewEditCntrl.showCropRectangle(true);
ImgReviewEditCntrl imgReviewEditCntrl2 = this.imageReview;
if (imgReviewEditCntrl2 != null) {
int i4 = u + 85;
x = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
imgReviewEditCntrl2 = null;
}
CropDocumentActivity cropDocumentActivity = this;
imgReviewEditCntrl2.setCropLineColor(nMh.getColor(cropDocumentActivity, R.color.f2252131099731));
ImgReviewEditCntrl imgReviewEditCntrl3 = this.imageReview;
if (imgReviewEditCntrl3 == null) {
C14957gcv.a("");
imgReviewEditCntrl3 = null;
}
imgReviewEditCntrl3.setCropCornerColor(nMh.getColor(cropDocumentActivity, R.color.f2252131099731));
TextView textView2 = this.seeInstructionsButton;
if (textView2 != null) {
textView = textView2;
} else {
C14957gcv.a("");
}
C12914fKz.e(new Object[]{textView, getString(R.string.auto_kofax_crop_instruction_text)}, -2052661820, 2052661831, (int) System.currentTimeMillis());
}
/* loaded from: classes4.dex */
final /* synthetic */ class jbe extends C14954gcs implements InterfaceC14894gbR<String, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
((C2420aeK) this.f).b(str2);
return C14866gag.c;
}
jbe(Object obj) {
super(1, obj, C2420aeK.class, "documentProcessSuccess", "documentProcessSuccess(Ljava/lang/String;)V");
}
}
/* loaded from: classes4.dex */
final /* synthetic */ class ojQ extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C2420aeK c2420aeK = (C2420aeK) this.f;
C14957gcv.e(th2, "");
if (c2420aeK.b(th2)) {
c2420aeK.d(c2420aeK.j.e(th2));
}
return C14866gag.c;
}
ojQ(Object obj) {
super(1, obj, C2420aeK.class, "documentProcessError", "documentProcessError(Ljava/lang/Throwable;)V");
}
}
@Override // o.InterfaceC9015dbj
public void e(String str, String str2, String str3, String str4, String str5, boolean z) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
ReviewDocumentActivity.IeS ieS = ReviewDocumentActivity.b;
CropDocumentActivity cropDocumentActivity = this;
C14957gcv.e(cropDocumentActivity, "");
C14957gcv.e(str2, "");
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
Intent intent = new Intent(cropDocumentActivity, (Class<?>) ReviewDocumentActivity.class);
intent.putExtra("IMAGE_PATH_TAG", str);
intent.putExtra("APPLICATION_ID_TAG", str2);
intent.putExtra("DOCUMENT_TYPE_TAG", str3);
intent.putExtra("PRODUCT_TYPE_TAG", str4);
intent.putExtra("FLOW_TAG", str5);
intent.putExtra("FROM_GALLERY_TAG", z);
startActivity(intent);
finish();
int i2 = u + 79;
x = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9015dbj
public final void a() {
int i = 2 % 2;
int i2 = x + 71;
u = i2 % 128;
int i3 = i2 % 2;
finish();
if (i3 == 0) {
throw null;
}
}
@Override // o.InterfaceC9015dbj
public void c(String str, String str2, String str3, String str4) {
int i = 2 % 2;
int i2 = x + 125;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
CaptureDocumentActivity.Sts sts = CaptureDocumentActivity.b;
startActivity(CaptureDocumentActivity.Sts.Yb_(this, str, str2, str3, str4));
finish();
int i4 = u + 79;
x = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9015dbj
public final void a(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
AbstractC13175fSw<Image> c = C12891fKc.c(str);
final HBt hBt = new HBt(this);
fSQ<? super Image> fsq = new fSQ(hBt) { // from class: o.drI
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.c(this.b, obj);
}
{
this.b = hBt;
}
};
C2420aeK c2420aeK = this.presenter;
if (c2420aeK == null) {
C14957gcv.a("");
c2420aeK = null;
}
final RVV rvv = new RVV(c2420aeK);
this.s = c.b(fsq, new fSQ(rvv) { // from class: o.drJ
private InterfaceC14894gbR a;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.j(this.a, obj);
}
{
this.a = rvv;
}
});
}
private static /* synthetic */ Object e(Object[] objArr) {
CropDocumentActivity cropDocumentActivity = (CropDocumentActivity) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
int i = 2 % 2;
int i2 = u + 95;
x = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
ImgReviewEditCntrl imgReviewEditCntrl = cropDocumentActivity.imageReview;
throw null;
}
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
CropDocumentActivity cropDocumentActivity2 = cropDocumentActivity;
ImgReviewEditCntrl imgReviewEditCntrl2 = cropDocumentActivity.imageReview;
if (imgReviewEditCntrl2 != null) {
int i3 = u + 91;
x = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
imgReviewEditCntrl2 = null;
}
Image image = imgReviewEditCntrl2.getImage();
ImgReviewEditCntrl imgReviewEditCntrl3 = cropDocumentActivity.imageReview;
if (imgReviewEditCntrl3 != null) {
int i5 = x + 45;
u = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
imgReviewEditCntrl3 = null;
}
AbstractC13175fSw<BES> a = C12891fKc.a(cropDocumentActivity2, image, str, imgReviewEditCntrl3.getCropTetragon());
final LWm lWm = new LWm(cropDocumentActivity, str2);
C13366fYe c13366fYe = new C13366fYe(a, new fSS(lWm) { // from class: o.drE
private InterfaceC14894gbR a;
@Override // o.fSS
public final Object a(Object obj) {
return (fSD) CropDocumentActivity.b(new Object[]{this.a, obj}, 1825411772, -1825411772, (int) System.currentTimeMillis());
}
{
this.a = lWm;
}
});
final IeS ieS = new IeS(cropDocumentActivity);
fSQ fsq = new fSQ(ieS) { // from class: o.drC
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.a(this.b, obj);
}
{
this.b = ieS;
}
};
C2420aeK c2420aeK = cropDocumentActivity.presenter;
if (c2420aeK == null) {
C14957gcv.a("");
c2420aeK = null;
}
final ZqN zqN = new ZqN(c2420aeK);
cropDocumentActivity.s = c13366fYe.b(fsq, new fSQ(zqN) { // from class: o.drK
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.b(this.b, obj);
}
{
this.b = zqN;
}
});
return null;
}
@Override // o.InterfaceC9015dbj
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
CropDocumentActivity cropDocumentActivity = this;
ImgReviewEditCntrl imgReviewEditCntrl = this.imageReview;
C2420aeK c2420aeK = null;
if (imgReviewEditCntrl == null) {
C14957gcv.a("");
imgReviewEditCntrl = null;
}
Image image = imgReviewEditCntrl.getImage();
ImgReviewEditCntrl imgReviewEditCntrl2 = this.imageReview;
if (imgReviewEditCntrl2 == null) {
C14957gcv.a("");
imgReviewEditCntrl2 = null;
}
AbstractC13175fSw<BES> a = C12891fKc.a(cropDocumentActivity, image, str, imgReviewEditCntrl2.getCropTetragon());
final saX sax = new saX(this);
C13366fYe c13366fYe = new C13366fYe(a, new fSS(sax) { // from class: o.drL
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
return CropDocumentActivity.i(this.e, obj);
}
{
this.e = sax;
}
});
C2420aeK c2420aeK2 = this.presenter;
if (c2420aeK2 != null) {
int i2 = u + 71;
x = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 3 % 4;
}
} else {
C14957gcv.a("");
c2420aeK2 = null;
}
final jbe jbeVar = new jbe(c2420aeK2);
fSQ fsq = new fSQ(jbeVar) { // from class: o.drH
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.e(this.b, obj);
}
{
this.b = jbeVar;
}
};
C2420aeK c2420aeK3 = this.presenter;
if (c2420aeK3 != null) {
int i4 = u + 89;
x = i4 % 128;
int i5 = i4 % 2;
c2420aeK = c2420aeK3;
} else {
C14957gcv.a("");
}
final ojQ ojq = new ojQ(c2420aeK);
this.s = c13366fYe.b(fsq, new fSQ(ojq) { // from class: o.drP
private InterfaceC14894gbR a;
@Override // o.fSQ
public final void c(Object obj) {
CropDocumentActivity.d(this.a, obj);
}
{
this.a = ojq;
}
});
}
private static /* synthetic */ Object a(Object[] objArr) {
final CropDocumentActivity cropDocumentActivity = (CropDocumentActivity) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int intValue = ((Number) objArr[2]).intValue();
int intValue2 = ((Number) objArr[3]).intValue();
int intValue3 = ((Number) objArr[4]).intValue();
int intValue4 = ((Number) objArr[5]).intValue();
int i = 2 % 2;
C0693Mj c0693Mj = new C0693Mj();
Object obj = null;
if (!booleanValue) {
int i2 = u + 85;
x = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
intValue3 = intValue4;
}
String string = cropDocumentActivity.getString(intValue3);
if (string.startsWith(",*,)")) {
Object[] objArr2 = new Object[1];
cropDocumentActivity.aA(string.substring(4), objArr2);
string = ((String) objArr2[0]).intern();
}
c0693Mj.c = string;
if (!booleanValue) {
intValue = intValue2;
}
String string2 = cropDocumentActivity.getString(intValue);
if (string2.startsWith(",*,)")) {
int i3 = x + 61;
u = i3 % 128;
if (i3 % 2 == 0) {
Object[] objArr3 = new Object[1];
cropDocumentActivity.aA(string2.substring(4), objArr3);
string2 = ((String) objArr3[0]).intern();
int i4 = 16 / 0;
} else {
Object[] objArr4 = new Object[1];
cropDocumentActivity.aA(string2.substring(4), objArr4);
string2 = ((String) objArr4[0]).intern();
}
}
c0693Mj.d = string2;
if (booleanValue) {
C0690Mh c0690Mh = new C0690Mh();
c0690Mh.b = cropDocumentActivity.getString(R.string.ok);
Runnable runnable = new Runnable(cropDocumentActivity) { // from class: o.drM
private CropDocumentActivity d;
@Override // java.lang.Runnable
public final void run() {
CropDocumentActivity.e(this.d);
}
{
this.d = cropDocumentActivity;
}
};
c0690Mh.e = C0690Mh.IeS.CUSTOM;
c0690Mh.d = runnable;
c0693Mj.e = c0690Mh;
} else {
C0690Mh c0690Mh2 = new C0690Mh();
c0690Mh2.b = cropDocumentActivity.getString(R.string.crop_document_error_button_proceed);
c0690Mh2.e = C0690Mh.IeS.JUST_DISMISS;
c0693Mj.e = c0690Mh2;
C0690Mh c0690Mh3 = new C0690Mh();
c0690Mh3.b = cropDocumentActivity.getString(R.string.crop_document_error_button_retake);
Runnable runnable2 = new Runnable(cropDocumentActivity) { // from class: o.drQ
private CropDocumentActivity a;
@Override // java.lang.Runnable
public final void run() {
CropDocumentActivity.c(this.a);
}
{
this.a = cropDocumentActivity;
}
};
c0690Mh3.e = C0690Mh.IeS.CUSTOM;
c0690Mh3.d = runnable2;
c0693Mj.b = c0690Mh3;
}
cropDocumentActivity.e(c0693Mj);
return null;
}
@Override // o.InterfaceC9015dbj
public final void g() {
int i = 2 % 2;
int i2 = x + 85;
u = i2 % 128;
if (i2 % 2 == 0) {
b(new Object[]{this, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_missing_borders), Integer.valueOf(R.string.crop_document_warning_missing_borders)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
} else {
b(new Object[]{this, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_missing_borders), Integer.valueOf(R.string.crop_document_warning_missing_borders)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
}
int i3 = x + 41;
u = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9015dbj
public final void d() {
int i = 2 % 2;
int i2 = u + 11;
x = i2 % 128;
if (i2 % 2 != 0) {
b(new Object[]{this, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_low_contrast), Integer.valueOf(R.string.crop_document_warning_low_contrast)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
return;
}
b(new Object[]{this, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_low_contrast), Integer.valueOf(R.string.crop_document_warning_low_contrast)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
}
@Override // o.InterfaceC9015dbj
public final void i() {
int i = 2 % 2;
int i2 = u + 33;
x = i2 % 128;
int i3 = i2 % 2;
b(new Object[]{this, false, Integer.valueOf(R.string.error_default_title), Integer.valueOf(R.string.crop_document_warning_title), Integer.valueOf(R.string.crop_document_error_saturation), Integer.valueOf(R.string.crop_document_warning_saturation)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
int i4 = u + 79;
x = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9015dbj
public final void j() {
int i = 2 % 2;
int i2 = x + 3;
u = i2 % 128;
if (i2 % 2 == 0) {
b(new Object[]{this, false, Integer.valueOf(R.string.crop_document_error_wrong_file_title), Integer.valueOf(R.string.crop_document_error_wrong_file_title), Integer.valueOf(R.string.crop_document_error_wrong_file), Integer.valueOf(R.string.crop_document_error_wrong_file)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
} else {
b(new Object[]{this, true, Integer.valueOf(R.string.crop_document_error_wrong_file_title), Integer.valueOf(R.string.crop_document_error_wrong_file_title), Integer.valueOf(R.string.crop_document_error_wrong_file), Integer.valueOf(R.string.crop_document_error_wrong_file)}, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
}
int i3 = x + 71;
u = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 82 / 0;
}
}
@Override // o.InterfaceC9015dbj
public final void e(C0795Or c0795Or, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, InterfaceC14890gbN<C14866gag> interfaceC14890gbN2) {
int i = 2 % 2;
C14957gcv.e(c0795Or, "");
C14957gcv.e(interfaceC14890gbN, "");
C14957gcv.e(interfaceC14890gbN2, "");
new DialogC10413eDd(this, c0795Or, interfaceC14890gbN, interfaceC14890gbN2).show();
int i2 = u + 7;
x = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9015dbj
public final void b(boolean z) {
int i;
int i2 = 2 % 2;
int i3 = x + 85;
int i4 = i3 % 128;
u = i4;
TextView textView = null;
if (i3 % 2 == 0) {
throw null;
}
TextView textView2 = this.seeInstructionsButton;
if (textView2 != null) {
int i5 = i4 + 33;
int i6 = i5 % 128;
x = i6;
if (i5 % 2 != 0) {
throw null;
}
int i7 = i6 + 13;
u = i7 % 128;
int i8 = i7 % 2;
textView = textView2;
} else {
C14957gcv.a("");
}
if (z) {
i = 0;
} else {
int i9 = x + 29;
u = i9 % 128;
if (i9 % 2 == 0) {
int i10 = 4 % 4;
}
i = 8;
}
textView.setVisibility(i);
}
@Override // o.InterfaceC9015dbj
public final void b() {
int i = 2 % 2;
int i2 = x + 65;
u = i2 % 128;
TextView textView = null;
if (i2 % 2 == 0) {
textView.hashCode();
throw null;
}
TextView textView2 = this.retakeButton;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
textView2.setVisibility(8);
View view = this.rootView;
if (view != null) {
int i3 = x + 103;
u = i3 % 128;
if (i3 % 2 == 0) {
textView.hashCode();
throw null;
}
} else {
C14957gcv.a("");
view = null;
}
view.setBackgroundColor(nMh.getColor(this, R.color.f2262131099732));
TextView textView3 = this.instructionsInfoText;
if (textView3 != null) {
textView = textView3;
} else {
C14957gcv.a("");
int i4 = u + 51;
x = i4 % 128;
int i5 = i4 % 2;
}
textView.setText(R.string.auto_kofax_crop_desc);
}
private static /* synthetic */ Object c(Object[] objArr) {
CropDocumentActivity cropDocumentActivity = (CropDocumentActivity) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
String str3 = (String) objArr[3];
String str4 = (String) objArr[4];
String str5 = (String) objArr[5];
boolean booleanValue = ((Boolean) objArr[6]).booleanValue();
int i = 2 % 2;
int i2 = u + 47;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
cropDocumentActivity.startActivity(cropDocumentActivity.agG_(cropDocumentActivity, str2, str, str3, str4, str5, booleanValue));
int i4 = u + 75;
x = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC9015dbj
public final void d(String str, String str2, String str3, String str4, String str5, boolean z) {
int i = 2 % 2;
int i2 = x + 99;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
startActivity(agH_(this, str2, str, str3, str4, str5, z));
int i4 = x + 37;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 95 / 0;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = u + 37;
x = i2 % 128;
int i3 = i2 % 2;
C2420aeK c2420aeK = this.presenter;
if (c2420aeK == null) {
C14957gcv.a("");
int i4 = u + 89;
x = i4 % 128;
int i5 = i4 % 2;
c2420aeK = null;
}
c2420aeK.c();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
ImgReviewEditCntrl imgReviewEditCntrl = this.imageReview;
if (imgReviewEditCntrl != null) {
int i2 = x + 103;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
imgReviewEditCntrl = null;
}
if (imgReviewEditCntrl.getImage() != null) {
int i4 = u + 45;
x = i4 % 128;
int i5 = i4 % 2;
ImgReviewEditCntrl imgReviewEditCntrl2 = this.imageReview;
if (imgReviewEditCntrl2 == null) {
C14957gcv.a("");
imgReviewEditCntrl2 = null;
}
imgReviewEditCntrl2.getImage().imageClearBitmap();
ImgReviewEditCntrl imgReviewEditCntrl3 = this.imageReview;
if (imgReviewEditCntrl3 == null) {
C14957gcv.a("");
imgReviewEditCntrl3 = null;
}
imgReviewEditCntrl3.clearImage();
}
fSJ fsj = this.s;
if (fsj != null) {
fsj.dispose();
}
super.onDestroy();
int i6 = x + 49;
u = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
public Intent agG_(Context context, String str, String str2, String str3, String str4, String str5, boolean z) {
int i = 2 % 2;
int i2 = u + 1;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
HmlDocumentSubmissionTutorialsActivity.RVV rvv = HmlDocumentSubmissionTutorialsActivity.b;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
C14957gcv.e(str2, "");
Intent agE_ = HmlDocumentSubmissionTutorialsActivity.RVV.agE_(context, str, str3, str4, str5);
agE_.putExtra("STEP_TAG", "CROP_TUTORIAL_STEP");
agE_.putExtra("IMAGE_PATH_TAG", str2);
agE_.putExtra("FROM_GALLERY_TAG", z);
agE_.putExtra("ENABLE_NAVIGATION_TAG", false);
int i4 = x + 51;
u = i4 % 128;
int i5 = i4 % 2;
return agE_;
}
public Intent agH_(Context context, String str, String str2, String str3, String str4, String str5, boolean z) {
int i = 2 % 2;
int i2 = u + 57;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
HmlDocumentSubmissionTutorialsActivity.RVV rvv = HmlDocumentSubmissionTutorialsActivity.b;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
C14957gcv.e(str2, "");
Intent agE_ = HmlDocumentSubmissionTutorialsActivity.RVV.agE_(context, str, str3, str4, str5);
agE_.putExtra("STEP_TAG", "REVIEW_TUTORIAL_STEP");
agE_.putExtra("IMAGE_PATH_TAG", str2);
agE_.putExtra("FROM_GALLERY_TAG", z);
int i4 = u + 119;
x = i4 % 128;
int i5 = i4 % 2;
return agE_;
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_CropDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{43249, 11361, 61953, 8901, 43451, 42002, 53178, 56929, 50898, 43140, 57697, 47106, 26853, 44131, 25425, 44819, 53500, 15513, 64289, 25441, 4432, 59587, 53993, 32653, 29424, 33744}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1194511722, 1175861967, 1407365967, 1987239384, -454753578, -1622875382, 1386756952, 1328982251, 255301746, 1477191644}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = u + 29;
x = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), MotionEvent.axisFromString("") + 6, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 487, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = u + 123;
x = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_CropDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = u + 61;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = x + 97;
u = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{43249, 11361, 61953, 8901, 43451, 42002, 53178, 56929, 50898, 43140, 57697, 47106, 26853, 44131, 25425, 44819, 53500, 15513, 64289, 25441, 4432, 59587, 53993, 32653, 29424, 33744}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1194511722, 1175861967, 1407365967, 1987239384, -454753578, -1622875382, 1386756952, 1328982251, 255301746, 1477191644}, (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), 5 - KeyEvent.normalizeMetaState(0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_CropDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = x + 33;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{864381555, 384233570, -167367601, -1487419156, -940288871, -27296035, 1263453379, -73829401, -713892707, -598047908}, 17 - MotionEvent.axisFromString(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{46128, 6710, 24184, 54479, 7322, 17542}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = x + 81;
u = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{55093, 54778, 51466, 27073, 63311, 2804, 4243, 26566, 52757, 45254, 45097, 37368, 40445, 4448, 25899, 62195, 28399, 19982, 26589, 20991, 21251, 12987, 12994, 5097, 7127, 36157, 12758, 22921, 59423, 7881, 55234, 16260, 17489, 11817, 12188, 24548, 44671, 23308, 60189, 21262, 40933, 45012, 61459, 7984, 23425, 21345, 31857, 20940}, 48 - (ViewConfiguration.getScrollBarSize() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{-1559298740, 1346743107, 115103669, -40598852, 1159381006, 1893956763, -1046372420, -1378020356, -546226897, -2006032219, -450206053, 2070137462, 788304943, 493822843, -1177627308, 1984233922, -946122479, 1047904803, -1395485427, 132185902, 1136040397, -1602904823, 127489504, -591047227, 1823637580, 1364808643, -467096346, 2063437415, 322928840, -1203409666, -262040937, 1125489696}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{57335, 43778, 41029, 53984, 7384, 15165, 17933, 65118, 8888, 24307, 56591, 28884, 12769, 53875, 4585, 32152, 60286, 3785, 3127, 61944, 3787, 48573, 10689, 27253, 23425, 21345, 44671, 23308, 65224, 52735, 42196, 49849, 51466, 27073, 26455, 7956, 55138, 22026, 33615, 48970, 2143, 13848, 44725, 64976, 61932, 2941, 49728, 35792, 56004, 43593, 26589, 20991, 1235, 33949, 40087, 44316, 61561, 37454, 4243, 26566, 6556, 13370, 6846, 16257}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 63, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{62353, 14686, 43192, 65015, 17396, 8611, 56905, 25169, 60715, 479, 41361, 61243, 1318, 32564, 33663, 12923, 57152, 38486, 60452, 28804, 15743, 62289, 27381, 49459, 63477, 50742, 40247, 45748, 24230, 7669, 3664, 25628, 3681, 32109, 61787, 16212, 14700, 52823, 26728, 30606, 31743, 23378, 33352, 29526, 18447, 29914, 31743, 23378, 47905, 50891, 1318, 32564, 36740, 36377, 50898, 43140, 25171, 38988, 46526, 46020, 5005, 8875, 37916, 2156, 19945, 11467, 45294, 38908, 52999, 55133, 57397, 56215, 19661, 26834}, 73 - TextUtils.lastIndexOf("", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{176, 14931, 17410, 27246, 30587, 226}, 5 - View.getDefaultSize(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{184006834, -1829132984, 811098468, -614104611, -229360852, 1556348366, 1647801069, 9987112, 905503692, -1063760537, -1445238453, -1527928167, 1254779216, -998414696, 1365092908, -647632852, -1589506947, 939132933}, TextUtils.getCapsMode("", 0, 0) + 36, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - Process.getGidForName(""), Color.rgb(0, 0, 0) + 16777221, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
public static /* synthetic */ void e(CropDocumentActivity cropDocumentActivity) {
int i = 2 % 2;
C14957gcv.e(cropDocumentActivity, "");
C2420aeK c2420aeK = cropDocumentActivity.presenter;
if (c2420aeK != null) {
int i2 = x + 71;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = u + 23;
x = i4 % 128;
int i5 = i4 % 2;
c2420aeK = null;
}
c2420aeK.c();
}
public static /* synthetic */ void b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 29;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = x + 11;
u = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 119;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 != 0) {
interfaceC14894gbR.invoke(obj);
} else {
interfaceC14894gbR.invoke(obj);
throw null;
}
}
public static /* synthetic */ void d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 17;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
interfaceC14894gbR.invoke(obj);
int i4 = 77 / 0;
} else {
interfaceC14894gbR.invoke(obj);
}
int i5 = x + 7;
u = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 67;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = u + 89;
x = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void c(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 9;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = x + 93;
u = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object d(Object[] objArr) {
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
Object obj = objArr[1];
int i = 2 % 2;
int i2 = x + 113;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
fSD fsd = (fSD) interfaceC14894gbR.invoke(obj);
int i4 = x + 31;
u = i4 % 128;
int i5 = i4 % 2;
return fsd;
}
public static /* synthetic */ fSD i(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 103;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
return (fSD) interfaceC14894gbR.invoke(obj);
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
public static /* synthetic */ void c(CropDocumentActivity cropDocumentActivity) {
int i = 2 % 2;
int i2 = u + 49;
x = i2 % 128;
int i3 = i2 % 2;
C2420aeK c2420aeK = null;
C14957gcv.e(cropDocumentActivity, "");
if (i3 != 0) {
C2420aeK c2420aeK2 = cropDocumentActivity.presenter;
c2420aeK.hashCode();
throw null;
}
C2420aeK c2420aeK3 = cropDocumentActivity.presenter;
if (c2420aeK3 != null) {
int i4 = u + 123;
x = i4 % 128;
int i5 = i4 % 2;
c2420aeK = c2420aeK3;
} else {
C14957gcv.a("");
}
c2420aeK.c();
}
public static /* synthetic */ void j(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 27;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
interfaceC14894gbR.invoke(obj);
int i4 = 17 / 0;
} else {
interfaceC14894gbR.invoke(obj);
}
int i5 = x + 99;
u = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
static void h() {
q = new int[]{331718990, -52244836, -1298673073, -1902031036, 2109527868, -914748466, 1623011736, 1703117352, -1590977089, -1832920135, 882889699, 678383576, 1105038763, 657823191, 1605463913, -1654940288, -1275586949, 1821320460};
r = (char) 24183;
p = (char) 23815;
v = (char) 25256;
w = (char) 9287;
}
static void f() {
int i = 2 % 2;
int i2 = u + 121;
int i3 = i2 % 128;
x = i3;
int i4 = i2 % 2;
t = (byte) 6;
int i5 = i3 + 7;
u = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_CropDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = x + 37;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = x + 27;
u = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9015dbj
public final void e() {
b(new Object[]{this}, -570190528, 570190529, System.identityHashCode(this));
}
public final void setRootView(View view) {
int i = 2 % 2;
int i2 = x + 89;
u = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
C14957gcv.e(view, "");
this.rootView = view;
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = u + 81;
x = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9015dbj
public final void a(String str, String str2) {
b(new Object[]{this, str, str2}, 1530550952, -1530550950, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 475377800);
}
@Override // o.InterfaceC9015dbj
public final void b(String str, String str2, String str3, String str4, String str5, boolean z) {
b(new Object[]{this, str, str2, str3, str4, str5, Boolean.valueOf(z)}, -1165858610, 1165858613, System.identityHashCode(this));
}
private final void c(boolean z, int i, int i2, int i3, int i4) {
Object[] objArr = {this, Boolean.valueOf(z), Integer.valueOf(i), Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4)};
b(objArr, -1630620987, 1630620991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1084095366);
}
static {
x = 0;
h();
f();
b = new Sts((byte) 0);
int i = u + 91;
x = i % 128;
if (i % 2 != 0) {
throw null;
}
}
public static /* synthetic */ fSD f(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
return (fSD) b(new Object[]{interfaceC14894gbR, obj}, 1825411772, -1825411772, (int) System.currentTimeMillis());
}
}