what-the-bank/sources/com/scb/phone/view/activity/ndidcommon/NdidCommonNationalIdInputAc...

4025 lines
158 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndidcommon;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.Editable;
import android.text.InputFilter;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.text.method.DigitsKeyListener;
import android.util.Base64;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
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.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.ndid.NationalIdCameraActivity;
import com.scb.phone.view.activity.ndidcommon.NdidCommonErrorActivity;
import com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity;
import com.scb.phone.view.activity.ntb.ekyc.NationalIdHelpActivity;
import com.scb.phone.view.custom.common.CommonInputViewGroup;
import com.scb.phone.view.custom.common.CustomEditText;
import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.text.SimpleDateFormat;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13175fSw;
import o.AbstractC14961gcz;
import o.C0405Fw;
import o.C0690Mh;
import o.C10965eUa;
import o.C11289ecY;
import o.C12829fId;
import o.C12891fKc;
import o.C13396fZU;
import o.C14866gag;
import o.C14957gcv;
import o.C15600gy;
import o.C15602gz;
import o.C15970jz;
import o.C17524xW;
import o.C17800zpz;
import o.C3172asW;
import o.C3614bBe;
import o.C6691caG;
import o.C6695caK;
import o.C6706caV;
import o.C6896ce;
import o.C7055ch;
import o.C9257dgM;
import o.ELp;
import o.FBq;
import o.IFW;
import o.InterfaceC13391fZD;
import o.InterfaceC14894gbR;
import o.InterfaceC9427djY;
import o.InterfaceC9493dkl;
import o.MYp;
import o.SA;
import o.SC;
import o.SE;
import o.SI;
import o.ZI;
import o.cXH;
import o.fJJ;
import o.fLJ;
import o.fSC;
import o.fSJ;
import o.fSQ;
import o.gdZ;
import o.gjJ;
import o.guQ;
import o.qBc;
import o.vij;
import o.xzZ;
import o.zUI;
import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class NdidCommonNationalIdInputActivity extends Hilt_NdidCommonNationalIdInputActivity implements InterfaceC9427djY.IeS {
/* renamed from: o, reason: collision with root package name */
public static final LWm f7640o;
private static byte p;
private static int r;
private static char[] s;
private static int u;
private static boolean v;
private static int w;
private static boolean x;
@BindView
public Button btNext;
@BindView
public ConstraintLayout csLayoutScanId;
@BindView
public CommonInputViewGroup customNationalIdNumber;
@BindView
public CustomSpinnerWithTitle customSpinnerCountry;
@BindView
public CustomSpinnerWithTitle customSpinnerTitle;
@BindView
public CommonInputViewGroup customViewDateOfBirth;
@BindView
public CommonInputViewGroup customViewDateOfIssued;
@BindView
public CommonInputViewGroup customViewExpiryDate;
@BindView
public CommonInputViewGroup customViewFirstNameEnglish;
@BindView
public CommonInputViewGroup customViewFirstNameThai;
@BindView
public CommonInputViewGroup customViewLastNameEnglish;
@BindView
public CommonInputViewGroup customViewLastNameThai;
@BindView
public EditText etLaserIdFirst;
@BindView
public EditText etLaserIdSecond;
@BindView
public EditText etLaserIdThird;
@BindView
public ImageView ivIconScanId;
private C13396fZU<String, ? extends InterfaceC9493dkl> k;
private String l;
@BindView
public LinearLayout llLaserId;
@BindView
public View llLayoutContainer;
private fSJ m;
@InterfaceC13391fZD
public C6691caG presenter;
private IFW q = new IFW();
@BindView
public RelativeLayout rlLayoutLaserHelper;
@BindView
public RelativeLayout rlLayoutSuccessContainer;
private boolean t;
@BindView
public TextView tvPrivacyNotice;
@BindView
public TextView tvTakingPhotoEditLabel;
@BindView
public TextView tvTitleNationalId;
private static final byte[] $$p = {4, 8, Ascii.DC4, -35};
private static final int $$q = CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
private static void aG(short s2, short s3, byte b, Object[] objArr) {
int i = s2 * 3;
int i2 = 122 - b;
int i3 = 3 - (s3 * 2);
byte[] bArr = $$p;
byte[] bArr2 = new byte[i + 1];
int i4 = -1;
if (bArr == null) {
i2 += i;
}
while (true) {
i4++;
bArr2[i4] = (byte) i2;
i3++;
if (i4 == i) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 += bArr[i3];
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 1649) + (i2 * 825);
int i5 = ~i2;
switch (i4 + ((i | i5) * (-824)) + ((i2 | i) * (-1648)) + (((~i) | i5) * 824)) {
case 1:
return d(objArr);
case 2:
return c(objArr);
case 3:
return b(objArr);
case 4:
return e(objArr);
case 5:
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i6 = 2 % 2;
int i7 = u + 57;
y = i7 % 128;
int i8 = i7 % 2;
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewDateOfIssued;
if (commonInputViewGroup == null) {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
int i9 = u + 113;
y = i9 % 128;
int i10 = i9 % 2;
return null;
case 6:
return f(objArr);
case 7:
return i(objArr);
case 8:
return j(objArr);
case 9:
return g(objArr);
case 10:
return h(objArr);
case 11:
return l(objArr);
case 12:
return m(objArr);
case 13:
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity2 = (NdidCommonNationalIdInputActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int intValue2 = ((Number) objArr[2]).intValue();
Intent intent = (Intent) objArr[3];
int i11 = 2 % 2;
if (intValue2 == -1 && intValue == 123) {
ndidCommonNationalIdInputActivity2.t = true;
RelativeLayout relativeLayout = ndidCommonNationalIdInputActivity2.rlLayoutSuccessContainer;
if (relativeLayout == null) {
C14957gcv.a("");
relativeLayout = null;
}
relativeLayout.requestFocus();
} else if (intValue2 == 0) {
int i12 = u + 3;
y = i12 % 128;
int i13 = i12 % 2;
if (intValue == 123) {
C6691caG c6691caG = ndidCommonNationalIdInputActivity2.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
if (c6691caG.m.l != null) {
int i14 = y + 45;
u = i14 % 128;
int i15 = i14 % 2;
} else {
ndidCommonNationalIdInputActivity2.finish();
}
}
}
super.onActivityResult(intValue, intValue2, intent);
return null;
case 14:
return o(objArr);
default:
return a(objArr);
}
}
private void aF(String str, Object[] objArr) {
int i = 2 % 2;
int i2 = u + 25;
y = i2 % 128;
int i3 = i2 % 2;
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
for (int i4 = 0; i4 < decode.length; i4++) {
int i5 = u + 117;
y = i5 % 128;
int i6 = i5 % 2;
bArr[i4] = (byte) (decode[(decode.length - i4) - 1] ^ p);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
public static final /* synthetic */ void e(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
int i = 2 % 2;
int i2 = y + 29;
u = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
C6691caG c6691caG = ndidCommonNationalIdInputActivity.presenter;
throw null;
}
C6691caG c6691caG2 = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG2 == null) {
C14957gcv.a("");
c6691caG2 = null;
}
EditText editText = ndidCommonNationalIdInputActivity.etLaserIdFirst;
if (editText != null) {
int i3 = u;
int i4 = i3 + 97;
y = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 7;
y = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
editText = null;
}
Editable text = editText.getText();
EditText editText2 = ndidCommonNationalIdInputActivity.etLaserIdSecond;
if (editText2 != null) {
int i8 = u;
int i9 = i8 + 7;
y = i9 % 128;
int i10 = i9 % 2;
int i11 = i8 + 93;
y = i11 % 128;
int i12 = i11 % 2;
} else {
C14957gcv.a("");
editText2 = null;
}
Editable text2 = editText2.getText();
EditText editText3 = ndidCommonNationalIdInputActivity.etLaserIdThird;
if (editText3 == null) {
C14957gcv.a("");
editText3 = null;
}
Editable text3 = editText3.getText();
StringBuilder sb = new StringBuilder();
sb.append((Object) text);
sb.append((Object) text2);
sb.append((Object) text3);
c6691caG2.m.k = sb.toString();
C6706caV c6706caV = new C6706caV(c6691caG2);
if (c6691caG2.f != 0) {
int i13 = y + 53;
u = i13 % 128;
if (i13 % 2 != 0) {
c6706caV.e(c6691caG2.f);
} else {
c6706caV.e(c6691caG2.f);
obj.hashCode();
throw null;
}
}
}
private static void aE(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(w)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(144 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), View.MeasureSpec.getSize(0) + 7, (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aG(b, b2, (byte) (b2 | 53), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 342, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (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)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aG(b3, b4, (byte) (b4 | 46), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i6 = $10 + 97;
$11 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
int i8 = $10 + 49;
$11 = i8 % 128;
int i9 = i8 % 2;
}
if (!(!z)) {
int i10 = $10 + 97;
$11 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i12 = $10 + 37;
$11 = i12 % 128;
if (i12 % 2 == 0) {
int i13 = zui.d;
int i14 = i / zui.d;
cArr4[i13] = cArr2[0];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 342, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aG(b5, b6, (byte) (b6 | 46), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - View.MeasureSpec.getMode(0), 5 - Color.alpha(0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aG(b7, b8, (byte) (b8 | 46), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
private static void aD(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = s;
if (cArr3 != null) {
int i3 = $11 + 121;
$10 = i3 % 128;
int i4 = i3 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
for (int i5 = 0; i5 < length; i5++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i5])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.alpha(0) + 337, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aG(b, b2, (byte) (b2 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i6 = $11 + 63;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr3 = cArr4;
}
try {
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 283, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (39813 - (ViewConfiguration.getJumpTapTimeout() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aG(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (x) {
int i8 = $10 + 115;
$11 = i8 % 128;
if (i8 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getTapTimeout() >> 16), 5 - TextUtils.getOffsetBefore("", 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
return;
}
if (!v) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 37;
$10 = i9 % 128;
if (i9 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[c3614bBe.c % c3614bBe.a] * i] / intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - View.combineMeasuredStates(0, 0), ImageFormat.getBitsPerPixel(0) + 6, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
/* loaded from: classes5.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<File, C14866gag> {
private NdidCommonNationalIdInputActivity e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(File file) {
String str;
SA sa;
String str2;
File file2 = file;
C14957gcv.e(file2, "");
C6691caG c6691caG = this.e.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
C14957gcv.e(file2, "");
if (c6691caG.f != 0) {
c6691caG.f.y();
}
SA sa2 = c6691caG.l;
if (sa2 != null && (str = sa2.u) != null && (sa = c6691caG.l) != null && (str2 = sa.c) != null) {
C15970jz c15970jz = c6691caG.e;
C17524xW c17524xW = c6691caG.f8631o;
String absolutePath = file2.getAbsolutePath();
C14957gcv.c((Object) absolutePath, "");
C14957gcv.e(absolutePath, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
MultipartBody.Part a = C15600gy.a("cidPhoto", absolutePath);
C14957gcv.e(str, "");
RequestBody create = RequestBody.Companion.create(str, MediaType.Companion.parse("text/plain"));
C14957gcv.e(str2, "");
C6896ce c6896ce = new C6896ce(a, create, RequestBody.Companion.create(str2, MediaType.Companion.parse("text/plain")));
C6691caG.tOB tob = new C6691caG.tOB(c6691caG);
C6691caG.jbe jbeVar = new C6691caG.jbe(c6691caG);
C14957gcv.e(c6896ce, "");
C14957gcv.e(tob, "");
C14957gcv.e(jbeVar, "");
c15970jz.p.d(tob, jbeVar, new FBq.RVV(c6896ce), new fSC());
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
super(1);
this.e = ndidCommonNationalIdInputActivity;
}
}
/* loaded from: classes5.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private NdidCommonNationalIdInputActivity d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C6691caG c6691caG = this.d.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c6691caG.b(th2)) {
c6691caG.d(c6691caG.j.d(th2, ieS));
}
c6691caG.b = true;
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
super(1);
this.d = ndidCommonNationalIdInputActivity;
}
}
/* loaded from: classes5.dex */
public static final class Heg implements C10965eUa.RVV {
private NdidCommonNationalIdInputActivity a;
Heg(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.a = ndidCommonNationalIdInputActivity;
}
@Override // o.C10965eUa.RVV
public final boolean b(final String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.a.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
C14957gcv.e(str, "");
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.caR
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6691caG.c(this.b, (InterfaceC9427djY.IeS) obj);
}
{
this.b = str;
}
};
if (c6691caG.f == 0) {
return true;
}
ieS.e(c6691caG.f);
return true;
}
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity, 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 final void onCreate(Bundle bundle) {
int i;
C14866gag c14866gag;
String str;
int i2 = 2 % 2;
C6691caG c6691caG = null;
Object[] objArr = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_pin_setup_confirmation_page_description).substring(19, 20).codePointAt(0) + 95, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_transaction_successful).substring(23, 24).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_recognition_description).substring(18, 20).codePointAt(1) - 6, new char[]{1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_scb_promptpay_landing_title).substring(6, 11).codePointAt(1) - 82, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_line).substring(0, 3).codePointAt(1) + 3, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, -112, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -109, -110, -110, -111, -112, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -113, ISOFileInfo.LCS_BYTE}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[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(View.MeasureSpec.getSize(0) + 492, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.are_you_sure_want_delete_recipient).substring(16, 17).codePointAt(0) + 95, new byte[]{-106, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.LCS_BYTE, -98, -102, -106, -101, -105, -105, ISOFileInfo.SECURITY_ATTR_EXP, -103, -108, -100, -98, -108, -108, ISOFileInfo.FILE_IDENTIFIER, -102, ISOFileInfo.LCS_BYTE, -98, ISOFileInfo.LCS_BYTE, -99, -103, -102, ISOFileInfo.DATA_BYTES2, -106, -104, -100, -101, -104, -105, -100, -104, -105, -104, ISOFileInfo.DATA_BYTES2, -101, -102, -105, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.LCS_BYTE, -104, -105, -106, -107, -108}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(null, null, 128 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -105, -99, -100, -108, ISOFileInfo.LCS_BYTE, -100, -105, -98, -100, ISOFileInfo.LCS_BYTE, -107, -103, -100, ISOFileInfo.FILE_IDENTIFIER, -105, -99, -108, -98, -99, ISOFileInfo.DATA_BYTES2, -105, -99, -105, -105, -100, -98, ISOFileInfo.DATA_BYTES2, -98, -107, -107, -100, -97, -102, -101, ISOFileInfo.LCS_BYTE, -97, -99, -104, -106, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.LCS_BYTE, -101, -108, -106, -99, -108, -107, -99, -101, -99, -101, -98, ISOFileInfo.SECURITY_ATTR_EXP, -102, -106, -105, -99, ISOFileInfo.SECURITY_ATTR_EXP, -99, -105, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_bank_statement).substring(0, 2).codePointAt(0) - 8162, new char[]{' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_header).substring(0, 29).length() + 122, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 70, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 25, new char[]{18, 65535, 3, 16, 6, 18, 65484, '\t', '\f', 65535, 0, '\n', 65535, 7, 1, 16, 3, 11, 11, '\r', 1, 11, 65535, 7, 17, 65485, 65485, 65496, 17, 14, 18, 18, 6, 17, 18, '\f', 3, 20, 3, 65485, 65488, 20, 65485, 18, 17, 3, 5, '\f', 7, 65485, 7, 14, 65535, 65485, 11, '\r', 1, 65484, 3, 16, 65535, 19, 15, 17, 2, 16, 65535, 19, 5, 65484, 18, 17, 65535, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_transfer_speedy_cash_about).substring(273, 274).codePointAt(0) + CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, true, 33 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 28, new byte[]{-97, ISOFileInfo.FCI_EXT, -100, ISOFileInfo.FCI_EXT, -102}, objArr9);
String str6 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 65, new char[]{65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.suitability_assessment_offshore_derivatives_error).substring(54, 55).length() + CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85, 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(View.getDefaultSize(0, 0) + 487, 4 - ImageFormat.getBitsPerPixel(0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558687);
ButterKnife.Dg_(this);
Z();
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameThai;
if (commonInputViewGroup != null) {
int i3 = u + 29;
y = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setNameThaiType();
CommonInputViewGroup commonInputViewGroup2 = this.customViewLastNameThai;
if (commonInputViewGroup2 != null) {
int i5 = u + 95;
y = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
commonInputViewGroup2 = null;
}
commonInputViewGroup2.setNameThaiType();
CommonInputViewGroup commonInputViewGroup3 = this.customViewFirstNameEnglish;
if (commonInputViewGroup3 == null) {
C14957gcv.a("");
commonInputViewGroup3 = null;
}
commonInputViewGroup3.setNameEnglishType();
CommonInputViewGroup commonInputViewGroup4 = this.customViewLastNameEnglish;
if (commonInputViewGroup4 == null) {
C14957gcv.a("");
commonInputViewGroup4 = null;
}
commonInputViewGroup4.setNameEnglishType();
CommonInputViewGroup commonInputViewGroup5 = this.customNationalIdNumber;
if (commonInputViewGroup5 == null) {
C14957gcv.a("");
commonInputViewGroup5 = null;
}
CustomEditText customEditText = commonInputViewGroup5.mEditText;
customEditText.setInputType(2);
customEditText.setKeyListener(DigitsKeyListener.getInstance("0123456789-"));
fLJ flj = new fLJ(customEditText, "X-XXXX-XXXXX-XX-X", new fLJ.Sts(this) { // from class: o.ecS
private NdidCommonNationalIdInputActivity a;
@Override // o.fLJ.Sts
public final String c(String str7) {
return NdidCommonNationalIdInputActivity.d(this.a, str7);
}
{
this.a = this;
}
});
flj.b = new jbe(this, commonInputViewGroup5);
flj.e = true;
customEditText.addTextChangedListener(flj);
EditText editText = this.etLaserIdFirst;
if (editText == null) {
C14957gcv.a("");
editText = null;
}
editText.setFilters(new InputFilter[]{new InputFilter.AllCaps(), new InputFilter.LengthFilter(3)});
EditText editText2 = this.etLaserIdSecond;
if (editText2 == null) {
C14957gcv.a("");
editText2 = null;
}
editText2.setFilters(new InputFilter[]{new InputFilter.AllCaps(), new InputFilter.LengthFilter(7)});
EditText editText3 = this.etLaserIdThird;
if (editText3 == null) {
C14957gcv.a("");
editText3 = null;
}
editText3.setFilters(new InputFilter[]{new InputFilter.AllCaps(), new InputFilter.LengthFilter(2)});
EditText editText4 = this.etLaserIdFirst;
if (editText4 == null) {
C14957gcv.a("");
editText4 = null;
}
EditText editText5 = this.etLaserIdFirst;
if (editText5 == null) {
C14957gcv.a("");
editText5 = null;
}
EditText editText6 = this.etLaserIdSecond;
if (editText6 == null) {
C14957gcv.a("");
editText6 = null;
}
editText4.addTextChangedListener(new HBt(this, editText5, 3, editText6));
EditText editText7 = this.etLaserIdSecond;
if (editText7 == null) {
C14957gcv.a("");
editText7 = null;
}
EditText editText8 = this.etLaserIdSecond;
if (editText8 != null) {
int i6 = y + 45;
u = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
editText8 = null;
}
EditText editText9 = this.etLaserIdThird;
if (editText9 == null) {
C14957gcv.a("");
editText9 = null;
}
editText7.addTextChangedListener(new HBt(this, editText8, 7, editText9));
EditText editText10 = this.etLaserIdThird;
if (editText10 == null) {
C14957gcv.a("");
editText10 = null;
}
EditText editText11 = this.etLaserIdThird;
if (editText11 != null) {
int i8 = u + 57;
y = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
editText11 = null;
}
CommonInputViewGroup commonInputViewGroup6 = this.customViewDateOfIssued;
if (commonInputViewGroup6 == null) {
C14957gcv.a("");
commonInputViewGroup6 = null;
}
CustomEditText customEditText2 = commonInputViewGroup6.mEditText;
C14957gcv.c(customEditText2, "");
editText10.addTextChangedListener(new HBt(this, editText11, 2, customEditText2));
CommonInputViewGroup commonInputViewGroup7 = this.customViewDateOfBirth;
if (commonInputViewGroup7 == null) {
C14957gcv.a("");
commonInputViewGroup7 = null;
}
CustomEditText customEditText3 = commonInputViewGroup7.mEditText;
customEditText3.setInputType(2);
customEditText3.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
fLJ flj2 = new fLJ(customEditText3, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.ecQ
private NdidCommonNationalIdInputActivity d;
@Override // o.fLJ.Sts
public final String c(String str7) {
return NdidCommonNationalIdInputActivity.a(this.d, str7);
}
{
this.d = this;
}
});
flj2.b = new saX(this);
flj2.e = true;
customEditText3.addTextChangedListener(flj2);
ajt_(customEditText3);
CommonInputViewGroup commonInputViewGroup8 = this.customViewDateOfIssued;
if (commonInputViewGroup8 == null) {
C14957gcv.a("");
commonInputViewGroup8 = null;
}
CustomEditText customEditText4 = commonInputViewGroup8.mEditText;
customEditText4.setInputType(2);
customEditText4.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
fLJ flj3 = new fLJ(customEditText4, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.ecT
private NdidCommonNationalIdInputActivity e;
@Override // o.fLJ.Sts
public final String c(String str7) {
return NdidCommonNationalIdInputActivity.b(this.e, str7);
}
{
this.e = this;
}
});
flj3.b = new tOB(this);
flj3.e = true;
customEditText4.addTextChangedListener(flj3);
ajt_(customEditText4);
CommonInputViewGroup commonInputViewGroup9 = this.customViewExpiryDate;
if (commonInputViewGroup9 != null) {
int i9 = y + 65;
u = i9 % 128;
i = 2;
int i10 = i9 % 2;
} else {
i = 2;
C14957gcv.a("");
commonInputViewGroup9 = null;
}
CustomEditText customEditText5 = commonInputViewGroup9.mEditText;
customEditText5.setInputType(i);
customEditText5.setKeyListener(DigitsKeyListener.getInstance("0123456789/"));
fLJ flj4 = new fLJ(customEditText5, "XX/XX/XXXX", new fLJ.Sts(this) { // from class: o.ecW
private NdidCommonNationalIdInputActivity a;
@Override // o.fLJ.Sts
public final String c(String str7) {
return NdidCommonNationalIdInputActivity.e(this.a, str7);
}
{
this.a = this;
}
});
flj4.b = new ZqN(this);
flj4.e = true;
customEditText5.addTextChangedListener(flj4);
ajt_(customEditText5);
CommonInputViewGroup commonInputViewGroup10 = this.customViewFirstNameThai;
if (commonInputViewGroup10 == null) {
C14957gcv.a("");
commonInputViewGroup10 = null;
}
jNh jnh = new jNh(this);
commonInputViewGroup10.mEditText.addTextChangedListener(jnh);
commonInputViewGroup10.d.add(jnh);
CommonInputViewGroup commonInputViewGroup11 = this.customViewLastNameThai;
if (commonInputViewGroup11 != null) {
int i11 = u + 87;
y = i11 % 128;
if (i11 % 2 != 0) {
c6691caG.hashCode();
throw null;
}
} else {
C14957gcv.a("");
commonInputViewGroup11 = null;
}
vUG vug = new vUG(this);
commonInputViewGroup11.mEditText.addTextChangedListener(vug);
commonInputViewGroup11.d.add(vug);
CommonInputViewGroup commonInputViewGroup12 = this.customViewFirstNameEnglish;
if (commonInputViewGroup12 == null) {
C14957gcv.a("");
commonInputViewGroup12 = null;
}
NHB nhb = new NHB(this);
commonInputViewGroup12.mEditText.addTextChangedListener(nhb);
commonInputViewGroup12.d.add(nhb);
CommonInputViewGroup commonInputViewGroup13 = this.customViewLastNameEnglish;
if (commonInputViewGroup13 != null) {
int i12 = u + 71;
y = i12 % 128;
if (i12 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
commonInputViewGroup13 = null;
}
ZnX znX = new ZnX(this);
commonInputViewGroup13.mEditText.addTextChangedListener(znX);
commonInputViewGroup13.d.add(znX);
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerTitle;
if (customSpinnerWithTitle == null) {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setOnCustomSpinnerWithTitleCompletion(new dAO(this, customSpinnerWithTitle));
customSpinnerWithTitle.d.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.ecX
private NdidCommonNationalIdInputActivity c;
@Override // android.view.View.OnTouchListener
public final boolean onTouch(View view, MotionEvent motionEvent) {
return NdidCommonNationalIdInputActivity.ajq_(this.c, motionEvent);
}
{
this.c = this;
}
});
customSpinnerWithTitle.b.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.ecZ
private NdidCommonNationalIdInputActivity c;
@Override // android.view.View.OnTouchListener
public final boolean onTouch(View view, MotionEvent motionEvent) {
return NdidCommonNationalIdInputActivity.ajr_(this.c, motionEvent);
}
{
this.c = this;
}
});
List<String> singletonList = Collections.singletonList(getString(R.string.ndid_national_id_input_title_name_placeholder));
C14957gcv.c(singletonList, "");
customSpinnerWithTitle.setItems(singletonList, false, false);
CustomSpinnerWithTitle customSpinnerWithTitle2 = this.customSpinnerCountry;
if (customSpinnerWithTitle2 == null) {
C14957gcv.a("");
customSpinnerWithTitle2 = null;
}
customSpinnerWithTitle2.setOnCustomSpinnerWithTitleCompletion(new ojQ(this));
CustomSpinnerWithTitle customSpinnerWithTitle3 = this.customSpinnerTitle;
if (customSpinnerWithTitle3 != null) {
int i13 = u + 69;
y = i13 % 128;
if (i13 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
customSpinnerWithTitle3 = null;
}
CommonInputViewGroup commonInputViewGroup14 = this.customViewFirstNameThai;
if (commonInputViewGroup14 == null) {
C14957gcv.a("");
commonInputViewGroup14 = null;
}
ViewGroup.LayoutParams layoutParams = commonInputViewGroup14.mEditText.getLayoutParams();
C14957gcv.c(layoutParams, "");
ajs_(customSpinnerWithTitle3, layoutParams);
CustomSpinnerWithTitle customSpinnerWithTitle4 = this.customSpinnerCountry;
if (customSpinnerWithTitle4 == null) {
C14957gcv.a("");
customSpinnerWithTitle4 = null;
}
CommonInputViewGroup commonInputViewGroup15 = this.customViewFirstNameThai;
if (commonInputViewGroup15 == null) {
C14957gcv.a("");
commonInputViewGroup15 = null;
}
ViewGroup.LayoutParams layoutParams2 = commonInputViewGroup15.mEditText.getLayoutParams();
C14957gcv.c(layoutParams2, "");
ajs_(customSpinnerWithTitle4, layoutParams2);
CustomSpinnerWithTitle customSpinnerWithTitle5 = this.customSpinnerTitle;
if (customSpinnerWithTitle5 == null) {
C14957gcv.a("");
customSpinnerWithTitle5 = null;
}
customSpinnerWithTitle5.setHintTextColor(R.color.f3412131099849);
CustomSpinnerWithTitle customSpinnerWithTitle6 = this.customSpinnerCountry;
if (customSpinnerWithTitle6 == null) {
C14957gcv.a("");
customSpinnerWithTitle6 = null;
}
customSpinnerWithTitle6.setHintTextColor(R.color.f3412131099849);
EditText editText12 = this.etLaserIdFirst;
if (editText12 == null) {
C14957gcv.a("");
editText12 = null;
}
editText12.setTextColor(getColor(R.color.f3412131099849));
EditText editText13 = this.etLaserIdSecond;
if (editText13 == null) {
C14957gcv.a("");
editText13 = null;
}
editText13.setTextColor(getColor(R.color.f3412131099849));
EditText editText14 = this.etLaserIdThird;
if (editText14 == null) {
C14957gcv.a("");
editText14 = null;
}
editText14.setTextColor(getColor(R.color.f3412131099849));
C6691caG c6691caG2 = this.presenter;
if (c6691caG2 == null) {
C14957gcv.a("");
c6691caG2 = null;
}
c6691caG2.e((C6691caG) this);
final C6691caG c6691caG3 = this.presenter;
if (c6691caG3 == null) {
C14957gcv.a("");
c6691caG3 = null;
}
Bundle extras = getIntent().getExtras();
SA sa = extras != null ? (SA) extras.getParcelable("EXTRA_NDID_DATA_INITIAL") : null;
C6706caV c6706caV = new C6706caV(c6691caG3);
if (c6691caG3.f != 0) {
c6706caV.e(c6691caG3.f);
}
c6691caG3.l = sa;
String str7 = c6691caG3.n;
C14957gcv.e(str7, "");
if (c6691caG3.f != 0) {
c6691caG3.f.y();
}
c6691caG3.d.e();
vij vijVar = c6691caG3.d;
vijVar.d(vijVar.i, new C6691caG.ZnX(c6691caG3, str7));
if (sa != null) {
String str8 = sa.f8354o;
if (C14957gcv.b((Object) str8, (Object) "FastEasy")) {
c6691caG3.g = true;
if (!(!(c6691caG3.f != 0))) {
c6691caG3.f.y();
}
C15970jz c15970jz = c6691caG3.e;
SA sa2 = c6691caG3.l;
if (sa2 != null) {
int i14 = y + 39;
u = i14 % 128;
int i15 = i14 % 2;
str = sa2.u;
} else {
str = null;
}
if (str == null) {
str = "";
}
C7055ch c7055ch = new C7055ch(str, "FastEasy");
C6691caG.LWm lWm = new C6691caG.LWm(c6691caG3);
C6691caG.HBt hBt = new C6691caG.HBt(c6691caG3);
C14957gcv.e(c7055ch, "");
C14957gcv.e(lWm, "");
C14957gcv.e(hBt, "");
c15970jz.j.e(lWm, hBt, new ELp.IeS(c7055ch), new fSC());
final Boolean bool = sa.e;
ZI.IeS ieS = new ZI.IeS(bool, c6691caG3) { // from class: o.cba
private C6691caG a;
private Boolean e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C6691caG.a(this.e, this.a, (InterfaceC9427djY.IeS) obj3);
}
{
this.e = bool;
this.a = c6691caG3;
}
};
if (c6691caG3.f != 0) {
ieS.e(c6691caG3.f);
}
} else if (C14957gcv.b((Object) str8, (Object) "DEFAULT")) {
final Boolean bool2 = sa.e;
ZI.IeS ieS2 = new ZI.IeS(bool2, c6691caG3) { // from class: o.cba
private C6691caG a;
private Boolean e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C6691caG.a(this.e, this.a, (InterfaceC9427djY.IeS) obj3);
}
{
this.e = bool2;
this.a = c6691caG3;
}
};
if (c6691caG3.f != 0) {
ieS2.e(c6691caG3.f);
}
} else {
c6691caG3.g = false;
ZI.IeS ieS3 = new ZI.IeS(c6691caG3) { // from class: o.caQ
private C6691caG d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C6691caG.b(this.d, (InterfaceC9427djY.IeS) obj3);
}
{
this.d = c6691caG3;
}
};
if (c6691caG3.f != 0) {
ieS3.e(c6691caG3.f);
}
}
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag == null) {
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.caY
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9427djY.IeS) obj3).R();
}
};
if (c6691caG3.f != 0) {
ieS4.e(c6691caG3.f);
}
}
C6691caG c6691caG4 = this.presenter;
if (c6691caG4 != null) {
c6691caG = c6691caG4;
} else {
C14957gcv.a("");
}
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.caW
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9427djY.IeS) obj3).I();
}
};
if (c6691caG.f != 0) {
ieS5.e(c6691caG.f);
int i16 = u + 91;
y = i16 % 128;
int i17 = i16 % 2;
}
this.q.d("feature", "open_account");
this.q.c(((BaseActivity) this).scbAnalytics, "ndid_rp_fill_info");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = u + 87;
y = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
p(getString(R.string.ntb_ekyc_title));
this.i.d(this.i.c() | 16);
this.i.f();
int i4 = y + 29;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = y + 35;
u = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == 16908332) {
int i3 = u + 61;
y = i3 % 128;
int i4 = i3 % 2;
super.onBackPressed();
return true;
}
return super.onOptionsItemSelected(menuItem);
}
C14957gcv.e(menuItem, "");
menuItem.getItemId();
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = u + 61;
y = i2 % 128;
if (i2 % 2 != 0) {
NationalIdHelpActivity.b(ndidCommonNationalIdInputActivity, ndidCommonNationalIdInputActivity.getString(R.string.laser_id_help_title));
int i3 = 88 / 0;
} else {
NationalIdHelpActivity.b(ndidCommonNationalIdInputActivity, ndidCommonNationalIdInputActivity.getString(R.string.laser_id_help_title));
}
int i4 = u + 21;
y = i4 % 128;
int i5 = i4 % 2;
return null;
}
private static /* synthetic */ Object i(Object[] objArr) {
InterfaceC9493dkl interfaceC9493dkl;
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
int i = 2 % 2;
NdidCommonErrorActivity.RVV rvv = NdidCommonErrorActivity.m;
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity2 = ndidCommonNationalIdInputActivity;
String string = ndidCommonNationalIdInputActivity.getString(R.string.ntb_ekyc_title);
String string2 = ndidCommonNationalIdInputActivity.getString(R.string.error_default_title);
String string3 = ndidCommonNationalIdInputActivity.getString(R.string.common_ndid_dopa_or_detica_error);
C13396fZU<String, ? extends InterfaceC9493dkl> c13396fZU = ndidCommonNationalIdInputActivity.k;
String str3 = c13396fZU != null ? c13396fZU.d : null;
C13396fZU<String, ? extends InterfaceC9493dkl> c13396fZU2 = ndidCommonNationalIdInputActivity.k;
if (c13396fZU2 != null) {
int i2 = y + 115;
u = i2 % 128;
if (i2 % 2 != 0) {
interfaceC9493dkl = (InterfaceC9493dkl) c13396fZU2.e;
} else {
throw null;
}
} else {
interfaceC9493dkl = null;
}
ndidCommonNationalIdInputActivity.startActivity(NdidCommonErrorActivity.RVV.ajm_(ndidCommonNationalIdInputActivity2, new SC(R.drawable.ic_notice, string, string2, string3, (String) null, str3, (InterfaceC9493dkl) null, interfaceC9493dkl, false, "DETICA_OR_DOPA", 848), str, str2));
int i3 = y + 55;
u = i3 % 128;
int i4 = i3 % 2;
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void J() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 49;
u = i3 % 128;
int i4 = i3 % 2;
CommonInputViewGroup commonInputViewGroup = this.customNationalIdNumber;
if (commonInputViewGroup != null) {
int i5 = i2 + 87;
u = i5 % 128;
int i6 = i5 % 2;
int i7 = i2 + 41;
u = i7 % 128;
int i8 = i7 % 2;
} else {
C14957gcv.a("");
int i9 = u + 87;
y = i9 % 128;
int i10 = i9 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.c();
}
@Override // o.InterfaceC9427djY.IeS
public final void E() {
int i = 2 % 2;
int i2 = y + 51;
u = i2 % 128;
int i3 = i2 % 2;
ImageView imageView = this.ivIconScanId;
TextView textView = null;
if (imageView == null) {
C14957gcv.a("");
imageView = null;
}
imageView.setImageResource(R.drawable.icon_green_tick);
TextView textView2 = this.tvTakingPhotoEditLabel;
if (textView2 != null) {
int i4 = y + 91;
u = i4 % 128;
int i5 = i4 % 2;
textView = textView2;
} else {
C14957gcv.a("");
}
textView.setVisibility(0);
}
@Override // o.InterfaceC9427djY.IeS
public final void a(String str, int i) {
int i2 = 2 % 2;
AbstractC13175fSw<File> d = C12891fKc.d(str, i);
final RVV rvv = new RVV(this);
fSQ<? super File> fsq = new fSQ(rvv) { // from class: o.ecR
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj) {
NdidCommonNationalIdInputActivity.a(this.c, obj);
}
{
this.c = rvv;
}
};
final Sts sts = new Sts(this);
this.m = d.b(fsq, new fSQ(sts) { // from class: o.ecU
private InterfaceC14894gbR a;
@Override // o.fSQ
public final void c(Object obj) {
NdidCommonNationalIdInputActivity.c(this.a, obj);
}
{
this.a = sts;
}
});
int i3 = y + 101;
u = i3 % 128;
if (i3 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9427djY.IeS
public final void I() {
int i = 2 % 2;
C10965eUa c10965eUa = new C10965eUa(new Heg(this));
TextView textView = this.tvPrivacyNotice;
if (textView != null) {
int i2 = u + 53;
y = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = u + 5;
y = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 5;
}
textView = null;
}
textView.setMovementMethod(c10965eUa);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002c, code lost:
r4 = "";
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002f, code lost:
r4 = null;
r4.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0033, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x001f, code lost:
if (r4 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r4 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0021, code lost:
r4 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y + 69;
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost:
if ((r4 % 2) == 0) goto L12;
*/
@Override // o.InterfaceC9427djY.IeS
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c(java.lang.String r4) {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u
int r1 = r1 + 67
int r2 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y = r2
int r1 = r1 % r0
if (r1 == 0) goto L1a
com.scb.phone.view.activity.csent.PrivacyCSentWebViewActivity$IeS r1 = com.scb.phone.view.activity.csent.PrivacyCSentWebViewActivity.b
r1 = r3
android.content.Context r1 = (android.content.Context) r1
r2 = 58
int r2 = r2 / 0
if (r4 != 0) goto L34
goto L21
L1a:
com.scb.phone.view.activity.csent.PrivacyCSentWebViewActivity$IeS r1 = com.scb.phone.view.activity.csent.PrivacyCSentWebViewActivity.b
r1 = r3
android.content.Context r1 = (android.content.Context) r1
if (r4 != 0) goto L34
L21:
int r4 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y
int r4 = r4 + 69
int r2 = r4 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u = r2
int r4 = r4 % r0
if (r4 == 0) goto L2f
java.lang.String r4 = ""
goto L34
L2f:
r4 = 0
r4.hashCode()
throw r4
L34:
android.content.Intent r4 = com.scb.phone.view.activity.csent.PrivacyCSentWebViewActivity.IeS.aaM_(r1, r4)
r3.startActivity(r4)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.c(java.lang.String):void");
}
private static /* synthetic */ Object e(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
SE se = (SE) objArr[1];
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("NATIONAL_ID_INPUT_EXTRA", se);
ndidCommonNationalIdInputActivity.setResult(-1, intent);
ndidCommonNationalIdInputActivity.finish();
int i2 = y + 51;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 20 / 0;
}
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void a(String str, String str2) {
int i = 2 % 2;
NdidCommonErrorActivity.RVV rvv = NdidCommonErrorActivity.m;
startActivity(NdidCommonErrorActivity.RVV.ajm_(this, new SC(R.drawable.ic_notice, getString(R.string.ntb_ekyc_title), getString(R.string.error_default_title), getString(R.string.ndid_under_age_error_message), (String) null, (String) null, (InterfaceC9493dkl) null, (InterfaceC9493dkl) null, false, (String) null, 2032), str, str2));
finish();
int i2 = u + 89;
y = i2 % 128;
int i3 = i2 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x001a, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001d, code lost:
o.C14957gcv.a("");
r1 = null;
*/
@Override // o.InterfaceC9427djY.IeS
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void K() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y
int r1 = r1 + 103
int r2 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L18
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.customViewDateOfIssued
r3 = 28
int r3 = r3 / 0
if (r1 == 0) goto L1d
goto L23
L18:
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.customViewDateOfIssued
if (r1 == 0) goto L1d
goto L23
L1d:
java.lang.String r1 = ""
o.C14957gcv.a(r1)
r1 = r2
L23:
r1.c()
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u
int r1 = r1 + 55
int r3 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y = r3
int r1 = r1 % r0
if (r1 != 0) goto L32
return
L32:
r2.hashCode()
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.K():void");
}
@Override // o.InterfaceC9427djY.IeS
public final void d(C0405Fw c0405Fw, int i) {
int i2 = 2 % 2;
if (c0405Fw != null) {
int i3 = u + 35;
y = i3 % 128;
int i4 = i3 % 2;
List<String> list = c0405Fw.c;
if (list != null) {
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerCountry;
CustomSpinnerWithTitle customSpinnerWithTitle2 = null;
if (customSpinnerWithTitle != null) {
int i5 = u + 9;
y = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setItemsWithPlaceholder(list, false, false);
if (list.size() >= i) {
int i7 = u;
int i8 = i7 + 71;
y = i8 % 128;
if (i8 % 2 != 0) {
customSpinnerWithTitle2.hashCode();
throw null;
}
CustomSpinnerWithTitle customSpinnerWithTitle3 = this.customSpinnerCountry;
if (customSpinnerWithTitle3 != null) {
int i9 = i7 + 35;
y = i9 % 128;
int i10 = i9 % 2;
customSpinnerWithTitle2 = customSpinnerWithTitle3;
} else {
C14957gcv.a("");
}
customSpinnerWithTitle2.setSelectionIndex(i);
}
}
}
}
@Override // o.InterfaceC9427djY.IeS
public final void R() {
int i = 2 % 2;
d_("ndid_common_national_id_scan");
if (Build.VERSION.SDK_INT >= 33) {
int i2 = u + 17;
y = i2 % 128;
if (i2 % 2 == 0) {
C11289ecY.a(this);
return;
} else {
C11289ecY.a(this);
int i3 = 25 / 0;
return;
}
}
int i4 = y + 81;
u = i4 % 128;
int i5 = i4 % 2;
C11289ecY.d(this);
}
/* JADX WARN: Code restructure failed: missing block: B:17:0x001c, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001f, code lost:
o.C14957gcv.a("");
r1 = null;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u
int r1 = r1 + 89
int r2 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y = r2
int r1 = r1 % r0
r2 = 0
java.lang.String r3 = ""
if (r1 == 0) goto L1a
o.caG r1 = r5.presenter
r4 = 55
int r4 = r4 / 0
if (r1 == 0) goto L1f
goto L23
L1a:
o.caG r1 = r5.presenter
if (r1 == 0) goto L1f
goto L23
L1f:
o.C14957gcv.a(r3)
r1 = r2
L23:
r1.c()
o.caG r1 = r5.presenter
if (r1 == 0) goto L35
int r2 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y
int r2 = r2 + 25
int r3 = r2 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u = r3
int r2 = r2 % r0
r2 = r1
goto L38
L35:
o.C14957gcv.a(r3)
L38:
r2.w_()
o.fSJ r0 = r5.m
if (r0 == 0) goto L42
r0.dispose()
L42:
super.onDestroy()
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.onDestroy():void");
}
@Override // o.InterfaceC9427djY.IeS
public final void r() {
int i = 2 % 2;
NdidCommonErrorActivity.RVV rvv = NdidCommonErrorActivity.m;
startActivity(NdidCommonErrorActivity.RVV.ajm_(this, new SC(R.drawable.ic_notice, getString(R.string.ntb_ekyc_title), getString(R.string.error_default_title), getString(R.string.ekyc_user_exists_description), getString(R.string.ekyc_register_scb_easy_app), (String) null, (InterfaceC9493dkl) new C12829fId(), (InterfaceC9493dkl) null, false, (String) null, 1952), "NTF", null));
finish();
int i2 = u + 51;
y = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 67 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void e(boolean z) {
int i = 2 % 2;
Button button = this.btNext;
if (button != null) {
int i2 = y + 1;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
button = null;
}
button.setEnabled(z);
int i4 = y + 45;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 94 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void M() {
int i = 2 % 2;
int i2 = y + 91;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfBirth;
if (commonInputViewGroup != null) {
int i5 = i3 + 1;
y = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.c();
}
private static /* synthetic */ Object h(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = y + 9;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewExpiryDate;
if (commonInputViewGroup != null) {
int i5 = i3 + 105;
y = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
int i7 = u + 23;
y = i7 % 128;
int i8 = i7 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.c();
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void d(List<String> list) {
int i = 2 % 2;
int i2 = y + 101;
u = i2 % 128;
CustomSpinnerWithTitle customSpinnerWithTitle = null;
if (i2 % 2 == 0) {
customSpinnerWithTitle.hashCode();
throw null;
}
if (list != null) {
CustomSpinnerWithTitle customSpinnerWithTitle2 = this.customSpinnerTitle;
if (customSpinnerWithTitle2 != null) {
customSpinnerWithTitle = customSpinnerWithTitle2;
} else {
C14957gcv.a("");
}
customSpinnerWithTitle.setItemsWithPlaceholder(list, true, true);
int i3 = u + 99;
y = i3 % 128;
int i4 = i3 % 2;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void l() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 29;
u = i3 % 128;
int i4 = i3 % 2;
ConstraintLayout constraintLayout = this.csLayoutScanId;
if (constraintLayout != null) {
int i5 = i2 + 109;
u = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
constraintLayout = null;
}
constraintLayout.setVisibility(8);
int i6 = u + 61;
y = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void c() {
int i = 2 % 2;
int i2 = y + 45;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfBirth;
if (commonInputViewGroup == null) {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.e();
int i3 = u + 89;
y = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void n() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfIssued;
Object obj = null;
if (commonInputViewGroup != null) {
int i2 = u + 15;
y = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.e();
int i3 = y + 9;
u = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 1 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void h() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewExpiryDate;
if (commonInputViewGroup != null) {
int i2 = y + 109;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = y + 83;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.e();
int i6 = y + 7;
u = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void a() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 59;
u = i3 % 128;
CommonInputViewGroup commonInputViewGroup = null;
if (i3 % 2 == 0) {
throw null;
}
CommonInputViewGroup commonInputViewGroup2 = this.customNationalIdNumber;
if (commonInputViewGroup2 != null) {
int i4 = i2 + 41;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = commonInputViewGroup2;
} else {
C14957gcv.a("");
int i6 = y + 105;
u = i6 % 128;
int i7 = i6 % 2;
}
commonInputViewGroup.e();
}
private static /* synthetic */ Object d(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
SI si = (SI) objArr[1];
int i = 2 % 2;
int i2 = y + 5;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(si, "");
TextView textView = ndidCommonNationalIdInputActivity.tvTitleNationalId;
Object obj = null;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setText(C3172asW.qI_(ndidCommonNationalIdInputActivity.getString(R.string.ndid_level_up_title), 0));
TextView textView2 = ndidCommonNationalIdInputActivity.tvTitleNationalId;
if (textView2 != null) {
int i4 = u + 79;
y = i4 % 128;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
textView2 = null;
}
textView2.setAllCaps(false);
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewDateOfBirth;
if (commonInputViewGroup == null) {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setTitle(ndidCommonNationalIdInputActivity.getString(R.string.ndid_level_up_birth_date));
TextView textView3 = ndidCommonNationalIdInputActivity.tvPrivacyNotice;
if (textView3 != null) {
int i5 = u + 125;
y = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
textView3 = null;
}
textView3.setText(C3172asW.qI_(ndidCommonNationalIdInputActivity.getString(R.string.ndid_level_up_privacy), 0));
CommonInputViewGroup commonInputViewGroup2 = ndidCommonNationalIdInputActivity.customNationalIdNumber;
if (commonInputViewGroup2 == null) {
C14957gcv.a("");
commonInputViewGroup2 = null;
}
commonInputViewGroup2.setTitle(ndidCommonNationalIdInputActivity.getString(R.string.ndid_level_up_national_id));
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void s() {
int i = 2 % 2;
int i2 = y + 107;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerTitle;
if (customSpinnerWithTitle != null) {
int i5 = i3 + 97;
y = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void j() {
int i = 2 % 2;
int i2 = y + 11;
u = i2 % 128;
int i3 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameThai;
if (commonInputViewGroup == null) {
C14957gcv.a("");
int i4 = y + 73;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
}
private static /* synthetic */ Object m(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = u + 123;
y = i2 % 128;
int i3 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewLastNameThai;
if (commonInputViewGroup == null) {
C14957gcv.a("");
int i4 = y + 69;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 4 / 3;
}
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void i() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 57;
y = i3 % 128;
int i4 = i3 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameEnglish;
if (commonInputViewGroup != null) {
int i5 = i2 + 51;
y = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 7 / 0;
}
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void o() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 25;
u = i3 % 128;
CommonInputViewGroup commonInputViewGroup = null;
if (i3 % 2 == 0) {
throw null;
}
CommonInputViewGroup commonInputViewGroup2 = this.customViewLastNameEnglish;
if (commonInputViewGroup2 != null) {
int i4 = i2 + 37;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = commonInputViewGroup2;
} else {
C14957gcv.a("");
int i6 = y + 23;
u = i6 % 128;
int i7 = i6 % 2;
}
commonInputViewGroup.setVisibility(8);
}
private static /* synthetic */ Object a(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 3;
u = i3 % 128;
int i4 = i3 % 2;
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customNationalIdNumber;
if (commonInputViewGroup != null) {
int i5 = i2 + 45;
u = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
int i7 = u + 93;
y = i7 % 128;
int i8 = i7 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
return null;
}
private static /* synthetic */ Object l(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
int i = 2 % 2;
int i2 = u + 27;
y = i2 % 128;
int i3 = i2 % 2;
CustomSpinnerWithTitle customSpinnerWithTitle = ndidCommonNationalIdInputActivity.customSpinnerCountry;
Object obj = null;
if (customSpinnerWithTitle == null) {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setVisibility(8);
int i4 = u + 75;
y = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9427djY.IeS
public final void b() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 21;
y = i3 % 128;
int i4 = i3 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfBirth;
if (commonInputViewGroup != null) {
int i5 = i2 + 21;
y = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 5 / 0;
}
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void m() {
int i = 2 % 2;
int i2 = y + 83;
int i3 = i2 % 128;
u = i3;
RelativeLayout relativeLayout = null;
if (i2 % 2 == 0) {
relativeLayout.hashCode();
throw null;
}
LinearLayout linearLayout = this.llLaserId;
if (linearLayout != null) {
int i4 = i3 + 45;
y = i4 % 128;
if (i4 % 2 != 0) {
relativeLayout.hashCode();
throw null;
}
} else {
C14957gcv.a("");
linearLayout = null;
}
linearLayout.setVisibility(8);
RelativeLayout relativeLayout2 = this.rlLayoutLaserHelper;
if (relativeLayout2 != null) {
int i5 = y + 19;
u = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 79 / 0;
}
relativeLayout = relativeLayout2;
} else {
C14957gcv.a("");
}
relativeLayout.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void g() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfIssued;
if (commonInputViewGroup != null) {
int i2 = u + 9;
y = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = y + 69;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void f() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewExpiryDate;
if (commonInputViewGroup != null) {
int i2 = y;
int i3 = i2 + 109;
u = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 55;
u = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setVisibility(8);
}
@Override // o.InterfaceC9427djY.IeS
public final void n(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerTitle;
if (customSpinnerWithTitle != null) {
int i2 = u + 31;
y = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 23 / 0;
}
} else {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setTitle(str);
int i4 = y + 121;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 61 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void f(String str) {
int i = 2 % 2;
int i2 = u + 41;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameThai;
if (commonInputViewGroup == null) {
C14957gcv.a("");
int i4 = y + 69;
u = i4 % 128;
int i5 = i4 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setText(str);
}
@Override // o.InterfaceC9427djY.IeS
public final void l(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup = this.customViewLastNameThai;
if (commonInputViewGroup != null) {
int i2 = y + 115;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 33 / 0;
}
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setText(str);
int i4 = y + 109;
u = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object g(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = u + 91;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewFirstNameEnglish;
if (commonInputViewGroup != null) {
int i4 = u + 3;
y = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setText(str);
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void k(String str) {
int i = 2 % 2;
int i2 = y + 91;
u = i2 % 128;
CommonInputViewGroup commonInputViewGroup = null;
if (i2 % 2 == 0) {
C14957gcv.e(str, "");
throw null;
}
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup2 = this.customViewLastNameEnglish;
if (commonInputViewGroup2 != null) {
commonInputViewGroup = commonInputViewGroup2;
} else {
C14957gcv.a("");
int i3 = y + 115;
u = i3 % 128;
int i4 = i3 % 2;
}
commonInputViewGroup.setText(str);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002c, code lost:
if ((r2 % 2) == 0) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002e, code lost:
r0 = 8 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0021, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0033, code lost:
o.C14957gcv.a("");
r1 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0023, code lost:
r2 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u + 35;
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y = r2 % 128;
*/
@Override // o.InterfaceC9427djY.IeS
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a(java.lang.String r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y
int r1 = r1 + 49
int r2 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u = r2
int r1 = r1 % r0
java.lang.String r2 = ""
if (r1 != 0) goto L1c
o.C14957gcv.e(r5, r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.customNationalIdNumber
r3 = 45
int r3 = r3 / 0
if (r1 == 0) goto L33
goto L23
L1c:
o.C14957gcv.e(r5, r2)
com.scb.phone.view.custom.common.CommonInputViewGroup r1 = r4.customNationalIdNumber
if (r1 == 0) goto L33
L23:
int r2 = com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.u
int r2 = r2 + 35
int r3 = r2 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.y = r3
int r2 = r2 % r0
if (r2 == 0) goto L37
r0 = 8
int r0 = r0 / 0
goto L37
L33:
o.C14957gcv.a(r2)
r1 = 0
L37:
r1.setText(r5)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.a(java.lang.String):void");
}
@Override // o.InterfaceC9427djY.IeS
public final void e(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerCountry;
if (customSpinnerWithTitle != null) {
int i2 = y + 25;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = y + 25;
u = i4 % 128;
int i5 = i4 % 2;
customSpinnerWithTitle = null;
}
customSpinnerWithTitle.setTitle(str);
int i6 = y + 45;
u = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
private static /* synthetic */ Object o(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = y + 109;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup = ndidCommonNationalIdInputActivity.customViewDateOfBirth;
Object obj = null;
if (commonInputViewGroup != null) {
int i4 = y + 101;
u = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
int i5 = u + 113;
y = i5 % 128;
int i6 = i5 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setText(str);
int i7 = u + 13;
y = i7 % 128;
if (i7 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9427djY.IeS
public final void m(String str) {
int i = 2 % 2;
int i2 = y + 119;
u = i2 % 128;
CommonInputViewGroup commonInputViewGroup = null;
if (i2 % 2 == 0) {
C14957gcv.e(str, "");
commonInputViewGroup.hashCode();
throw null;
}
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup2 = this.customViewDateOfIssued;
if (commonInputViewGroup2 != null) {
commonInputViewGroup = commonInputViewGroup2;
} else {
C14957gcv.a("");
}
commonInputViewGroup.setText(str);
int i3 = y + 59;
u = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 88 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void h(String str) {
int i = 2 % 2;
int i2 = u + 57;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
CommonInputViewGroup commonInputViewGroup = this.customViewExpiryDate;
if (commonInputViewGroup != null) {
int i4 = y + 103;
u = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
int i6 = u + 15;
y = i6 % 128;
int i7 = i6 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setText(str);
}
@Override // o.InterfaceC9427djY.IeS
public final void H() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 103;
u = i3 % 128;
CustomSpinnerWithTitle customSpinnerWithTitle = null;
if (i3 % 2 == 0) {
throw null;
}
CustomSpinnerWithTitle customSpinnerWithTitle2 = this.customSpinnerTitle;
if (customSpinnerWithTitle2 != null) {
int i4 = i2 + 27;
u = i4 % 128;
int i5 = i4 % 2;
customSpinnerWithTitle = customSpinnerWithTitle2;
} else {
C14957gcv.a("");
}
customSpinnerWithTitle.setEnabled(false);
int i6 = y + 123;
u = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void C() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameThai;
if (commonInputViewGroup != null) {
int i2 = y + 65;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
int i3 = y + 33;
u = i3 % 128;
int i4 = i3 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
}
@Override // o.InterfaceC9427djY.IeS
public final void G() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewLastNameThai;
if (commonInputViewGroup != null) {
int i2 = y + 51;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
int i3 = y + 45;
u = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void A() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewFirstNameEnglish;
if (commonInputViewGroup != null) {
int i2 = u + 33;
y = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = u + 65;
y = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 / 2;
}
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
}
@Override // o.InterfaceC9427djY.IeS
public final void F() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 7;
u = i3 % 128;
int i4 = i3 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewLastNameEnglish;
if (commonInputViewGroup != null) {
int i5 = i2 + 79;
u = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
int i7 = u + 59;
y = i7 % 128;
int i8 = i7 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
}
private static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = ((NdidCommonNationalIdInputActivity) objArr[0]).customNationalIdNumber;
if (commonInputViewGroup != null) {
int i2 = y + 121;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
int i3 = u + 121;
y = i3 % 128;
int i4 = i3 % 2;
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void c(boolean z) {
int i = 2 % 2;
int i2 = y + 107;
u = i2 % 128;
int i3 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfBirth;
if (commonInputViewGroup == null) {
C14957gcv.a("");
int i4 = y + 69;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 / 3;
}
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(z);
}
@Override // o.InterfaceC9427djY.IeS
public final void z() {
int i = 2 % 2;
int i2 = u + 95;
y = i2 % 128;
int i3 = i2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewDateOfIssued;
if (commonInputViewGroup == null) {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
int i4 = y + 93;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 62 / 0;
}
}
@Override // o.InterfaceC9427djY.IeS
public final void D() {
int i = 2 % 2;
CommonInputViewGroup commonInputViewGroup = this.customViewExpiryDate;
if (commonInputViewGroup != null) {
int i2 = u + 69;
y = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.setEnabled(false);
int i4 = y + 5;
u = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object j(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = u + 45;
y = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
ndidCommonNationalIdInputActivity.d_(str);
int i3 = 91 / 0;
} else {
C14957gcv.e(str, "");
ndidCommonNationalIdInputActivity.d_(str);
}
int i4 = y + 17;
u = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC9427djY.IeS
public final void e(int i) {
int i2 = 2 % 2;
String string = getString(i);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
aF(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
int i3 = u + 35;
y = i3 % 128;
int i4 = i3 % 2;
}
this.k = new C13396fZU<>(string, new C12829fId());
}
public final void ay() {
boolean z;
Uri uri;
int i = 2 % 2;
try {
if (!(!C14957gcv.b((Object) "mounted", (Object) Environment.getExternalStorageState())) || C14957gcv.b((Object) "mounted_ro", (Object) Environment.getExternalStorageState())) {
z = true;
} else {
int i2 = u + 91;
y = i2 % 128;
int i3 = i2 % 2;
z = false;
}
String format = new SimpleDateFormat("yyyyMMdd_HHmmss").format(new Date());
StringBuilder sb = new StringBuilder("JPEG_");
sb.append(format);
sb.append("_");
File createTempFile = File.createTempFile(sb.toString(), ".jpg", getExternalFilesDir(Environment.DIRECTORY_PICTURES));
if (createTempFile != null) {
int i4 = y + 19;
u = i4 % 128;
int i5 = i4 % 2;
uri = !z ? C9257dgM.getUriForFile(this, cXH.RVV.b, createTempFile) : C9257dgM.getUriForFile(this, cXH.RVV.e, createTempFile);
} else {
uri = null;
}
Intent intent = new Intent(this, (Class<?>) NationalIdCameraActivity.class);
intent.putExtra("output", uri);
intent.putExtra("EXTRA_CROP_RATIO", 1.0f);
startActivityForResult(intent, 123);
this.t = false;
this.l = createTempFile != null ? createTempFile.getAbsolutePath() : null;
} catch (IOException e) {
guQ.e(e);
}
}
/* loaded from: classes5.dex */
public final class HBt extends fJJ {
private final EditText a;
private final int c;
private final View d;
private NdidCommonNationalIdInputActivity e;
public HBt(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, EditText editText, int i, View view) {
C14957gcv.e(editText, "");
C14957gcv.e(view, "");
this.e = ndidCommonNationalIdInputActivity;
this.a = editText;
this.c = i;
this.d = view;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0037, code lost:
if (o.C14957gcv.b(r4, r0) != false) goto L16;
*/
@Override // o.fJJ, android.text.TextWatcher
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onTextChanged(java.lang.CharSequence r2, int r3, int r4, int r5) {
/*
r1 = this;
java.lang.String r3 = ""
o.C14957gcv.e(r2, r3)
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r4 = r1.e
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.e(r4)
int r4 = r2.length()
int r5 = r1.c
if (r4 != r5) goto L4a
android.view.View r4 = r1.d
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r5 = r1.e
android.widget.EditText r5 = r5.etLaserIdSecond
r0 = 0
if (r5 == 0) goto L1c
goto L20
L1c:
o.C14957gcv.a(r3)
r5 = r0
L20:
boolean r4 = o.C14957gcv.b(r4, r5)
if (r4 != 0) goto L39
android.view.View r4 = r1.d
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r5 = r1.e
android.widget.EditText r5 = r5.etLaserIdThird
if (r5 == 0) goto L30
r0 = r5
goto L33
L30:
o.C14957gcv.a(r3)
L33:
boolean r4 = o.C14957gcv.b(r4, r0)
if (r4 == 0) goto L45
L39:
android.view.View r4 = r1.d
o.C14957gcv.d(r4, r3)
android.widget.EditText r4 = (android.widget.EditText) r4
java.lang.CharSequence r3 = (java.lang.CharSequence) r3
r4.setText(r3)
L45:
android.view.View r3 = r1.d
r3.requestFocus()
L4a:
int r2 = r2.length()
if (r2 <= 0) goto L5f
android.widget.EditText r2 = r1.a
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r3 = r1.e
r4 = 2131099805(0x7f06009d, float:1.7811974E38)
int r3 = r3.getColor(r4)
r2.setTextColor(r3)
return
L5f:
android.widget.EditText r2 = r1.a
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r3 = r1.e
r4 = 2131099849(0x7f0600c9, float:1.7812063E38)
int r3 = r3.getColor(r4)
r2.setTextColor(r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.HBt.onTextChanged(java.lang.CharSequence, int, int, int):void");
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x001d, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0026, code lost:
r9 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aE(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534}, android.text.TextUtils.lastIndexOf("", '0', 0, 0) + org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, false, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_landing_amount_too_low).substring(11, 12).codePointAt(0) - 31, r8);
r8 = java.lang.Class.forName((java.lang.String) r8[0]);
r10 = new java.lang.Object[1];
aD(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 81, new byte[]{-126, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, -112, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -122, -109, -110, -110, -111, -112, -126, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -113, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE}, r10);
r2 = (android.content.Context) r8.getMethod((java.lang.String) r10[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0024, code lost:
if (r2 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onResume() {
/*
Method dump skipped, instructions count: 665
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.onResume():void");
}
/* loaded from: classes5.dex */
public static final class jbe implements fLJ.IeS {
private NdidCommonNationalIdInputActivity b;
private CommonInputViewGroup e;
jbe(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, CommonInputViewGroup commonInputViewGroup) {
this.b = ndidCommonNationalIdInputActivity;
this.e = commonInputViewGroup;
}
@Override // o.fLJ.IeS
public final void b(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.b.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.d(str, false);
}
@Override // o.fLJ.IeS
public final void e(String str) {
C14957gcv.e(str, "");
if (gjJ.a(str)) {
CommonInputViewGroup commonInputViewGroup = this.e;
commonInputViewGroup.e = true;
commonInputViewGroup.mEditClearImageButton.setVisibility(0);
} else {
CommonInputViewGroup commonInputViewGroup2 = this.e;
commonInputViewGroup2.e = false;
commonInputViewGroup2.mEditClearImageButton.setVisibility(8);
}
C6691caG c6691caG = this.b.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.d(str, true);
}
}
@OnClick
public final void onEditTextClicked() {
int i = 2 % 2;
C6691caG c6691caG = this.presenter;
if (c6691caG != null) {
int i2 = u + 61;
y = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
c6691caG = null;
}
if (c6691caG.b) {
c6691caG.b = false;
C6695caK c6695caK = new C6695caK();
if (c6691caG.f == 0) {
int i3 = y + 15;
u = i3 % 128;
int i4 = i3 % 2;
return;
}
int i5 = y + 95;
int i6 = i5 % 128;
u = i6;
if (i5 % 2 != 0) {
int i7 = i6 + 115;
y = i7 % 128;
int i8 = i7 % 2;
c6695caK.e(c6691caG.f);
}
}
}
@OnClick
public final void onIconScanIdClicked() {
int i = 2 % 2;
int i2 = u + 111;
int i3 = i2 % 128;
y = i3;
if (i2 % 2 != 0) {
throw null;
}
C6691caG c6691caG = this.presenter;
if (c6691caG != null) {
int i4 = i3 + 123;
u = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c6691caG = null;
}
if (c6691caG.b) {
c6691caG.b = false;
C6695caK c6695caK = new C6695caK();
if (c6691caG.f != 0) {
int i6 = y + 113;
u = i6 % 128;
if (i6 % 2 != 0) {
c6695caK.e(c6691caG.f);
} else {
c6695caK.e(c6691caG.f);
throw null;
}
}
}
}
/* JADX WARN: Removed duplicated region for block: B:15:0x0045 */
/* JADX WARN: Removed duplicated region for block: B:18:0x005b */
/* JADX WARN: Removed duplicated region for block: B:21:0x0068 */
/* JADX WARN: Removed duplicated region for block: B:70:0x0158 */
/* JADX WARN: Removed duplicated region for block: B:74:0x0162 */
@butterknife.OnClick
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onButtonNextClicked() {
/*
Method dump skipped, instructions count: 362
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.onButtonNextClicked():void");
}
@OnClick
public final void onButtonHelpClicked() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 97;
y = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
throw null;
}
C6691caG c6691caG = this.presenter;
if (c6691caG != null) {
int i4 = i2 + 59;
y = i4 % 128;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
c6691caG = null;
}
if (c6691caG.b) {
c6691caG.b = false;
ZI.IeS ieS = new ZI.IeS() { // from class: o.caU
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9427djY.IeS) obj2).L();
}
};
if (!(!(c6691caG.f != 0))) {
int i5 = y + 105;
u = i5 % 128;
if (i5 % 2 != 0) {
ieS.e(c6691caG.f);
} else {
ieS.e(c6691caG.f);
obj.hashCode();
throw null;
}
}
}
}
/* loaded from: classes5.dex */
public static final class saX implements fLJ.IeS {
private NdidCommonNationalIdInputActivity e;
saX(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.e = ndidCommonNationalIdInputActivity;
}
@Override // o.fLJ.IeS
public final void b(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.e.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.e(str, false);
}
@Override // o.fLJ.IeS
public final void e(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.e.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.e(str, true);
}
}
/* loaded from: classes5.dex */
public static final class tOB implements fLJ.IeS {
private NdidCommonNationalIdInputActivity c;
tOB(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.c = ndidCommonNationalIdInputActivity;
}
@Override // o.fLJ.IeS
public final void b(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.c.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.c(str, false);
}
@Override // o.fLJ.IeS
public final void e(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.c.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.c(str, true);
}
}
/* loaded from: classes5.dex */
public static final class ZqN implements fLJ.IeS {
private NdidCommonNationalIdInputActivity d;
ZqN(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.d = ndidCommonNationalIdInputActivity;
}
@Override // o.fLJ.IeS
public final void b(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.d.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.b(str, false);
}
@Override // o.fLJ.IeS
public final void e(String str) {
C14957gcv.e(str, "");
C6691caG c6691caG = this.d.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
c6691caG.b(str, true);
}
}
/* loaded from: classes5.dex */
public static final class jNh extends IeS {
private NdidCommonNationalIdInputActivity d;
jNh(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.d = ndidCommonNationalIdInputActivity;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
String str = "";
C14957gcv.e(charSequence, "");
C6691caG c6691caG = this.d.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
String obj = charSequence.toString();
SE se = c6691caG.m;
if (obj != null) {
String str2 = gdZ.d((CharSequence) obj) ^ true ? obj : null;
if (str2 != null) {
str = str2;
}
}
se.a = str;
C6706caV c6706caV = new C6706caV(c6691caG);
if (c6691caG.f != 0) {
c6706caV.e(c6691caG.f);
}
}
}
/* loaded from: classes5.dex */
public static final class vUG extends IeS {
private NdidCommonNationalIdInputActivity e;
vUG(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.e = ndidCommonNationalIdInputActivity;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
String str = "";
C14957gcv.e(charSequence, "");
C6691caG c6691caG = this.e.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
String obj = charSequence.toString();
SE se = c6691caG.m;
if (obj != null) {
String str2 = gdZ.d((CharSequence) obj) ^ true ? obj : null;
if (str2 != null) {
str = str2;
}
}
se.j = str;
C6706caV c6706caV = new C6706caV(c6691caG);
if (c6691caG.f != 0) {
c6706caV.e(c6691caG.f);
}
}
}
/* loaded from: classes5.dex */
public static final class NHB extends IeS {
private NdidCommonNationalIdInputActivity c;
NHB(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.c = ndidCommonNationalIdInputActivity;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
String str = "";
C14957gcv.e(charSequence, "");
C6691caG c6691caG = this.c.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
String obj = charSequence.toString();
SE se = c6691caG.m;
if (obj != null) {
String str2 = gdZ.d((CharSequence) obj) ^ true ? obj : null;
if (str2 != null) {
str = str2;
}
}
se.b = str;
C6706caV c6706caV = new C6706caV(c6691caG);
if (c6691caG.f != 0) {
c6706caV.e(c6691caG.f);
}
}
}
/* loaded from: classes5.dex */
public static final class ZnX extends IeS {
private NdidCommonNationalIdInputActivity d;
ZnX(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.d = ndidCommonNationalIdInputActivity;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
String str = "";
C14957gcv.e(charSequence, "");
C6691caG c6691caG = this.d.presenter;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
String obj = charSequence.toString();
SE se = c6691caG.m;
if (obj != null) {
String str2 = gdZ.d((CharSequence) obj) ^ true ? obj : null;
if (str2 != null) {
str = str2;
}
}
se.i = str;
C6706caV c6706caV = new C6706caV(c6691caG);
if (c6691caG.f != 0) {
c6706caV.e(c6691caG.f);
}
}
}
/* loaded from: classes5.dex */
public static final class dAO implements CustomSpinnerWithTitle.LWm {
private NdidCommonNationalIdInputActivity a;
private CustomSpinnerWithTitle c;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
dAO(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, CustomSpinnerWithTitle customSpinnerWithTitle) {
this.a = ndidCommonNationalIdInputActivity;
this.c = customSpinnerWithTitle;
}
/* JADX WARN: Removed duplicated region for block: B:15:0x0048 */
/* JADX WARN: Removed duplicated region for block: B:18:? A[RETURN, SYNTHETIC] */
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void bo_() {
/*
r5 = this;
com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity r0 = r5.a
o.caG r0 = r0.presenter
r1 = 0
if (r0 == 0) goto L8
goto Le
L8:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r0 = r1
Le:
com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle r2 = r5.c
o.fZL r2 = r2.c
java.lang.Object r2 = r2.e()
o.MYp r2 = (o.MYp) r2
com.scb.phone.view.custom.investment.onboarding.CustomDropdownAwareSpinner r2 = r2.c
int r2 = r2.getSelectedItemPosition()
java.util.List<? extends o.Ta> r3 = r0.a
if (r3 == 0) goto L4d
if (r2 <= 0) goto L3b
int r2 = r2 + (-1)
java.lang.Object r4 = r3.get(r2)
if (r4 == 0) goto L3b
o.SE r4 = r0.m
java.lang.Object r2 = r3.get(r2)
o.Ta r2 = (o.C0985Ta) r2
if (r2 == 0) goto L38
java.lang.String r1 = r2.j
L38:
r4.h = r1
goto L3f
L3b:
o.SE r2 = r0.m
r2.h = r1
L3f:
o.caV r1 = new o.caV
r1.<init>(r0)
T extends o.cYp r2 = r0.f
if (r2 == 0) goto L4d
T extends o.cYp r0 = r0.f
r1.e(r0)
L4d:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonNationalIdInputActivity.dAO.bo_():void");
}
}
/* loaded from: classes5.dex */
public static final class ojQ implements CustomSpinnerWithTitle.LWm {
private NdidCommonNationalIdInputActivity a;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
ojQ(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity) {
this.a = ndidCommonNationalIdInputActivity;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
C6691caG c6691caG = this.a.presenter;
String str = null;
if (c6691caG == null) {
C14957gcv.a("");
c6691caG = null;
}
CustomSpinnerWithTitle customSpinnerWithTitle = this.a.customSpinnerCountry;
if (customSpinnerWithTitle == null) {
C14957gcv.a("");
customSpinnerWithTitle = null;
}
int selectedItemPosition = ((MYp) customSpinnerWithTitle.c.e()).c.getSelectedItemPosition();
List<? extends C0405Fw> list = c6691caG.c;
if (list != null && list.size() > selectedItemPosition) {
str = list.get(selectedItemPosition).b;
}
c6691caG.m.g = str;
C6706caV c6706caV = new C6706caV(c6691caG);
if (c6691caG.f != 0) {
c6706caV.e(c6691caG.f);
}
}
}
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void ajt_(EditText editText) {
int i = 2 % 2;
int i2 = u + 73;
int i3 = i2 % 128;
y = i3;
int i4 = i2 % 2;
if (editText != null) {
int i5 = i3 + 11;
u = i5 % 128;
int i6 = i5 % 2;
ViewGroup.LayoutParams layoutParams = editText.getLayoutParams();
C14957gcv.d(layoutParams, "");
RelativeLayout.LayoutParams layoutParams2 = (RelativeLayout.LayoutParams) layoutParams;
((ViewGroup.LayoutParams) layoutParams2).width = -2;
editText.setLayoutParams(layoutParams2);
int i7 = y + 31;
u = i7 % 128;
int i8 = i7 % 2;
}
int i9 = y + 91;
u = i9 % 128;
int i10 = i9 % 2;
}
private static void ajs_(CustomSpinnerWithTitle customSpinnerWithTitle, ViewGroup.LayoutParams layoutParams) {
int i = 2 % 2;
int i2 = y + 117;
u = i2 % 128;
int i3 = i2 % 2;
ViewGroup.LayoutParams layoutParams2 = customSpinnerWithTitle.f.getLayoutParams();
if (layoutParams2 == null || !(layoutParams2 instanceof LinearLayout.LayoutParams)) {
return;
}
int i4 = y + 103;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 90 / 0;
if (!(layoutParams instanceof RelativeLayout.LayoutParams)) {
return;
}
} else if (!(layoutParams instanceof RelativeLayout.LayoutParams)) {
return;
}
layoutParams2.height = layoutParams.height;
((ViewGroup.MarginLayoutParams) ((LinearLayout.LayoutParams) layoutParams2)).topMargin = ((ViewGroup.MarginLayoutParams) ((RelativeLayout.LayoutParams) layoutParams)).topMargin;
customSpinnerWithTitle.d.setLayoutParams(layoutParams2);
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity, 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 final void onPause() {
int i = 2 % 2;
int i2 = u + 105;
y = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = y + 27;
u = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_address).substring(0, 20).length() + 6, new char[]{1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.isprint_force_set_new_pin_message).substring(22, 23).length(), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, -112, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -109, -110, -110, -111, -112, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -113, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = y + 111;
u = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) Color.green(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = 21 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), View.MeasureSpec.getSize(0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((Process.myPid() >> 22) + 487, 5 - Color.green(0), (char) View.combineMeasuredStates(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(null, null, 127 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((byte) KeyEvent.getModifierMetaStateMask()) + 128, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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 i2 = u + 29;
y = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = u + 69;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(null, null, 127 - (ViewConfiguration.getPressedStateDuration() >> 16), new byte[]{-106, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.LCS_BYTE, -98, -102, -106, -101, -105, -105, ISOFileInfo.SECURITY_ATTR_EXP, -103, -108, -100, -98, -108, -108, ISOFileInfo.FILE_IDENTIFIER, -102, ISOFileInfo.LCS_BYTE, -98, ISOFileInfo.LCS_BYTE, -99, -103, -102, ISOFileInfo.DATA_BYTES2, -106, -104, -100, -101, -104, -105, -100, -104, -105, -104, ISOFileInfo.DATA_BYTES2, -101, -102, -105, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.LCS_BYTE, -104, -105, -106, -107, -108}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(null, null, 127 - (ViewConfiguration.getFadingEdgeLength() >> 16), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -105, -99, -100, -108, ISOFileInfo.LCS_BYTE, -100, -105, -98, -100, ISOFileInfo.LCS_BYTE, -107, -103, -100, ISOFileInfo.FILE_IDENTIFIER, -105, -99, -108, -98, -99, ISOFileInfo.DATA_BYTES2, -105, -99, -105, -105, -100, -98, ISOFileInfo.DATA_BYTES2, -98, -107, -107, -100, -97, -102, -101, ISOFileInfo.LCS_BYTE, -97, -99, -104, -106, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.LCS_BYTE, -101, -108, -106, -99, -108, -107, -99, -101, -99, -101, -98, ISOFileInfo.SECURITY_ATTR_EXP, -102, -106, -105, -99, ISOFileInfo.SECURITY_ATTR_EXP, -99, -105, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(64 - ExpandableListView.getPackedPositionType(0L), new char[]{' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29}, (ViewConfiguration.getPressedStateDuration() >> 16) + 151, true, 45 - ExpandableListView.getPackedPositionGroup(0L), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(73 - ExpandableListView.getPackedPositionChild(0L), new char[]{18, 65535, 3, 16, 6, 18, 65484, '\t', '\f', 65535, 0, '\n', 65535, 7, 1, 16, 3, 11, 11, '\r', 1, 11, 65535, 7, 17, 65485, 65485, 65496, 17, 14, 18, 18, 6, 17, 18, '\f', 3, 20, 3, 65485, 65488, 20, 65485, 18, 17, 3, 5, '\f', 7, 65485, 7, 14, 65535, 65485, 11, '\r', 1, 65484, 3, 16, 65535, 19, 15, 17, 2, 16, 65535, 19, 5, 65484, 18, 17, 65535, 1}, 179 - (Process.myPid() >> 22), true, KeyEvent.getDeadChar(0, 0) + 33, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(null, null, 127 - Color.blue(0), new byte[]{-97, ISOFileInfo.FCI_EXT, -100, ISOFileInfo.FCI_EXT, -102}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 36, new char[]{65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521}, 150 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), false, 26 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 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((ViewConfiguration.getTapTimeout() >> 16) + 487, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 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;
}
}
}
int i6 = u + 27;
y = i6 % 128;
int i7 = i6 % 2;
}
public static /* synthetic */ boolean ajq_(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, MotionEvent motionEvent) {
int i = 2 % 2;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
if (motionEvent == null || motionEvent.getAction() != 0) {
return false;
}
int i2 = y;
int i3 = i2 + 103;
u = i3 % 128;
C6691caG c6691caG = null;
if (i3 % 2 == 0) {
C6691caG c6691caG2 = ndidCommonNationalIdInputActivity.presenter;
c6691caG.hashCode();
throw null;
}
C6691caG c6691caG3 = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG3 != null) {
int i4 = i2 + 73;
u = i4 % 128;
int i5 = i4 % 2;
c6691caG = c6691caG3;
} else {
C14957gcv.a("");
}
c6691caG.b();
int i6 = y + 121;
u = i6 % 128;
int i7 = i6 % 2;
return false;
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = y + 107;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = u + 119;
y = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 32 / 0;
}
}
public static /* synthetic */ String d(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, String str) {
int i = 2 % 2;
int i2 = u + 79;
y = i2 % 128;
int i3 = i2 % 2;
C6691caG c6691caG = null;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
if (i3 == 0) {
C6691caG c6691caG2 = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG2 != null) {
int i4 = u + 39;
y = i4 % 128;
int i5 = i4 % 2;
c6691caG = c6691caG2;
} else {
C14957gcv.a("");
}
C17800zpz c17800zpz = c6691caG.i;
return C15602gz.b(str, "[^0-9]", "X-XXXX-XXXXX-XX-X");
}
C6691caG c6691caG3 = ndidCommonNationalIdInputActivity.presenter;
throw null;
}
public static /* synthetic */ String e(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, String str) {
int i = 2 % 2;
int i2 = y + 53;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
C6691caG c6691caG = ndidCommonNationalIdInputActivity.presenter;
Object obj = null;
if (c6691caG != null) {
int i4 = u + 53;
int i5 = i4 % 128;
y = i5;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
int i6 = i5 + 121;
u = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
c6691caG = null;
}
qBc qbc = c6691caG.h;
return C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
}
public static /* synthetic */ String b(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, String str) {
int i = 2 % 2;
int i2 = y + 81;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
if (i3 == 0) {
C6691caG c6691caG = ndidCommonNationalIdInputActivity.presenter;
throw null;
}
C6691caG c6691caG2 = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG2 == null) {
C14957gcv.a("");
c6691caG2 = null;
}
qBc qbc = c6691caG2.h;
String b = C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
int i4 = u + 53;
y = i4 % 128;
if (i4 % 2 == 0) {
return b;
}
throw null;
}
private static /* synthetic */ Object f(Object[] objArr) {
NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity = (NdidCommonNationalIdInputActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = y + 93;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
C6691caG c6691caG = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG != null) {
int i4 = y + 83;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 31 / 0;
}
} else {
C14957gcv.a("");
c6691caG = null;
}
qBc qbc = c6691caG.h;
return C15602gz.b(str, "[^0-9]", "XX/XX/XXXX");
}
public static /* synthetic */ void c(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 89;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 != 0) {
interfaceC14894gbR.invoke(obj);
int i4 = 79 / 0;
} else {
interfaceC14894gbR.invoke(obj);
}
}
public static /* synthetic */ boolean ajr_(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, MotionEvent motionEvent) {
int i = 2 % 2;
C14957gcv.e(ndidCommonNationalIdInputActivity, "");
if (motionEvent != null) {
int i2 = y + 53;
u = i2 % 128;
int i3 = i2 % 2;
if (motionEvent.getAction() == 0) {
int i4 = u + 107;
y = i4 % 128;
C6691caG c6691caG = null;
if (i4 % 2 != 0) {
C6691caG c6691caG2 = ndidCommonNationalIdInputActivity.presenter;
c6691caG.hashCode();
throw null;
}
C6691caG c6691caG3 = ndidCommonNationalIdInputActivity.presenter;
if (c6691caG3 != null) {
c6691caG = c6691caG3;
} else {
C14957gcv.a("");
}
c6691caG.b();
}
}
int i5 = y + 35;
u = i5 % 128;
int i6 = i5 % 2;
return false;
}
static void aA() {
s = new char[]{16100, 15889, 16103, 15893, 15890, 15900, 16081, 15894, 16115, 16102, 15896, 15888, 15884, 16104, 15880, 15895, 16068, 15891, 15903, 16084, 16074, 16087, 16101, 16086, 15897, 16076, 16085, 16075, 16073, 16072, 16083};
r = 1934311043;
v = true;
x = true;
w = 2015661686;
}
static void ax() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 69;
y = i3 % 128;
int i4 = i3 % 2;
p = (byte) 6;
int i5 = i2 + 3;
y = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 6 / 0;
}
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonNationalIdInputActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = y + 75;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 16 / 0;
}
int i5 = y + 51;
u = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void L() {
d(new Object[]{this}, -948435096, 948435099, System.identityHashCode(this));
}
@Override // o.InterfaceC9427djY.IeS
public final void N() {
d(new Object[]{this}, -1601137777, 1601137787, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_minute_suffix).substring(0, 5).codePointAt(2) - 995829522);
}
@Override // o.InterfaceC9427djY.IeS
public final void g(String str) {
d(new Object[]{this, str}, -554511926, 554511935, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1012343380);
}
@Override // o.InterfaceC9427djY.IeS
public final void b(String str) {
d(new Object[]{this, str}, -569413212, 569413226, System.identityHashCode(this));
}
public final void setLlLayoutContainer(View view) {
int i = 2 % 2;
int i2 = u + 15;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(view, "");
this.llLayoutContainer = view;
if (i3 != 0) {
int i4 = 34 / 0;
}
int i5 = y + 121;
u = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9427djY.IeS
public final void c(SI si) {
d(new Object[]{this, si}, -678124045, 678124046, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 571532637);
}
@Override // o.InterfaceC9427djY.IeS
public final void B() {
d(new Object[]{this}, 630945562, -630945557, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 870564126);
}
@Override // o.InterfaceC9427djY.IeS
public final void w() {
d(new Object[]{this}, 1817254209, -1817254207, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1848477507);
}
@Override // o.InterfaceC9427djY.IeS
public final void d(String str) {
d(new Object[]{this, str}, 1913519135, -1913519127, System.identityHashCode(this));
}
@Override // o.InterfaceC9427djY.IeS
public final void c(String str, String str2) {
d(new Object[]{this, str, str2}, -468387207, 468387214, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_banking_action).substring(18, 19).codePointAt(0) + 1123970204);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onActivityResult(int i, int i2, Intent intent) {
d(new Object[]{this, Integer.valueOf(i), Integer.valueOf(i2), intent}, -1167384150, 1167384163, i);
}
@Override // o.InterfaceC9427djY.IeS
public final void k() {
d(new Object[]{this}, -161005264, 161005276, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_mask_on_sample).substring(9, 12).codePointAt(1) + 1137950757);
}
@Override // o.InterfaceC9427djY.IeS
public final void e() {
d(new Object[]{this}, 532598002, -532597991, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_bank_book).substring(0, 2).length() - 918300799);
}
@Override // o.InterfaceC9427djY.IeS
public final void d() {
d(new Object[]{this}, -963344492, 963344492, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 471358034);
}
/* loaded from: classes5.dex */
public static abstract class IeS implements TextWatcher {
@Override // android.text.TextWatcher
public void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C14957gcv.e(charSequence, "");
}
@Override // android.text.TextWatcher
public void afterTextChanged(Editable editable) {
C14957gcv.e(editable, "");
}
}
@Override // o.InterfaceC9427djY.IeS
public final void a(SE se) {
d(new Object[]{this, se}, -650956130, 650956134, System.identityHashCode(this));
}
static {
u = 1;
aA();
ax();
f7640o = new LWm((byte) 0);
int i = y + 83;
u = i % 128;
int i2 = i % 2;
}
public static /* synthetic */ String a(NdidCommonNationalIdInputActivity ndidCommonNationalIdInputActivity, String str) {
return (String) d(new Object[]{ndidCommonNationalIdInputActivity, str}, -1898484532, 1898484538, (int) System.currentTimeMillis());
}
}