package com.facetec.sdk; import android.animation.Animator; import android.animation.ArgbEvaluator; import android.animation.ValueAnimator; import android.app.Activity; import android.app.FragmentTransaction; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import android.graphics.PointF; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.media.AudioTrack; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.Process; import android.os.SystemClock; import android.provider.Settings; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.Base64; import android.view.Gravity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.view.ViewOutlineProvider; import android.view.ViewPropertyAnimator; import android.view.Window; import android.view.WindowManager; import android.view.animation.LinearInterpolator; import android.widget.ExpandableListView; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import com.facetec.sdk.FaceTecCancelButtonCustomization; import com.facetec.sdk.FaceTecSDK; import com.facetec.sdk.FaceTecVocalGuidanceCustomization; import com.facetec.sdk.aq; import com.facetec.sdk.be; import com.facetec.sdk.bg; import com.facetec.sdk.bi; import com.facetec.sdk.co; import com.facetec.sdk.cs; import com.facetec.sdk.dl; import com.facetec.sdk.dp; import com.facetec.sdk.t; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.internal.common.zzd; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.prolificinteractive.materialcalendarview.TitleChanger; import java.lang.reflect.Method; import java.util.Objects; import java.util.Timer; import java.util.TimerTask; import java.util.UUID; import o.C4403bZM; import o.GuL; import o.nMh; import o.xzZ; import org.bouncycastle.asn1.cmp.PKIFailureInfo; import org.bouncycastle.asn1.x509.DisplayText; import org.json.JSONException; import org.json.JSONObject; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public abstract class bg extends be implements cs.e { private static int[] aM = null; private static long aO = 0; private static int aP = 0; private static int aQ = 1; private static int aV; private volatile b A; private volatile byte[][] B; private volatile byte[] C; private String U; private bu V; private dl W; private ah X; private ImageView aB; private cv aC; private Integer aD; private Integer aE; private Integer aG; private int aa; private View ab; private RelativeLayout ad; private RelativeLayout ae; private RelativeLayout af; private RelativeLayout ag; private RelativeLayout ah; private LinearLayout ai; private RelativeLayout aj; private View ak; private RelativeLayout al; private RelativeLayout am; private String ap; private FaceTecIDScanResult ar; private Timer as; private TimerTask au; private ValueAnimator ay; private volatile ay e; float g; private volatile bp i; float k; o l; bi m; String n; /* renamed from: o, reason: collision with root package name */ ImageView f6412o; Bitmap p; protected boolean q; FaceTecSessionResult r; View u; private volatile cn v; private volatile by w; private volatile co x; private volatile byte[][] z; private static final byte[] $$g = {101, -49, 33, 116}; private static final int $$h = DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE; private static int $10 = 0; private static int $11 = 1; private static int aN = 0; private boolean D = false; private boolean F = false; private boolean E = false; private boolean H = false; private boolean I = false; private boolean G = false; private boolean M = false; private boolean N = false; private boolean J = false; private boolean K = false; private boolean L = false; private boolean R = false; private boolean P = false; private boolean Q = false; boolean h = false; String f = ""; boolean j = false; private boolean O = false; private boolean S = false; private boolean T = false; private boolean Y = false; private boolean Z = false; private boolean ac = false; private boolean aq = false; private boolean ao = false; private int an = 0; FaceTecIDScanNextStep s = FaceTecIDScanNextStep.SELECTION_SCREEN; private JSONObject at = null; private int av = 0; private boolean aw = false; boolean t = false; private co.e aA = co.e.DEFAULT; a y = a.NOT_STARTED; private boolean ax = false; private boolean az = false; private final Object aF = new Object(); private float aI = BitmapDescriptorFactory.HUE_RED; private boolean aJ = false; private boolean aK = false; private boolean aL = false; private final dl.d aH = new dl.d(this) { // from class: com.facetec.sdk.bg.3 private bg e; { this.e = this; } @Override // com.facetec.sdk.dl.d public final void e() { this.e.I(); } @Override // com.facetec.sdk.dl.d public final void c(dm dmVar, String str) { this.e.a(dmVar, str); } }; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes.dex */ public enum a { NOT_STARTED, PRE_SESSION_STARTED, FACESCAN_SESSION_STARTED } /* JADX INFO: Access modifiers changed from: package-private */ @FunctionalInterface /* loaded from: classes.dex */ public interface d { byte[] getIdScanBytes(String str); } /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002e). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void bf(short r6, int r7, int r8, java.lang.Object[] r9) { /* byte[] r0 = com.facetec.sdk.bg.$$g int r6 = r6 + 102 int r7 = r7 + 4 int r8 = r8 * 3 int r1 = 1 - r8 byte[] r1 = new byte[r1] r2 = 0 int r8 = 0 - r8 if (r0 != 0) goto L15 r3 = r7 r7 = r8 r4 = r2 goto L2e L15: r3 = r2 L16: int r7 = r7 + 1 byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r8) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 r4 = r0[r7] r5 = r7 r7 = r6 r6 = r4 r4 = r3 r3 = r5 L2e: int r6 = -r6 int r6 = r6 + r7 r7 = r3 r3 = r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.bf(short, int, int, java.lang.Object[]):void"); } private static void bd(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(aO ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (guL.a < a2.length) { int i3 = $10 + 115; $11 = i3 % 128; int i4 = i3 % 2; guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(aO)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(209 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 1706)); byte b = (byte) (-1); Object[] objArr3 = new Object[1]; bf((byte) 17, b, (byte) (b + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c(393 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), KeyEvent.normalizeMetaState(0) + 5, (char) KeyEvent.normalizeMetaState(0)); byte b2 = (byte) (-1); Object[] objArr5 = new Object[1]; bf((byte) 19, b2, (byte) (b2 + 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $11 + 13; $10 = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } private static void be(int[] iArr, int i, Object[] objArr) { char c; int i2; int i3 = 2; int i4 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr2 = aM; int i5 = 16; int i6 = 1; int i7 = 0; if (iArr2 != null) { int i8 = $10 + 45; $11 = i8 % 128; int i9 = i8 % 2; int length = iArr2.length; int[] iArr3 = new int[length]; int i10 = 0; while (i10 < length) { int i11 = $11 + 5; $10 = i11 % 128; if (i11 % i3 != 0) { try { Object[] objArr2 = {Integer.valueOf(iArr2[i10])}; Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(15 - (ViewConfiguration.getKeyRepeatDelay() >> i5), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (58134 - View.combineMeasuredStates(0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr3[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i10 %= 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { Object[] objArr3 = {Integer.valueOf(iArr2[i10])}; Object obj2 = xzZ.y.get(729798706); if (obj2 == null) { obj2 = ((Class) xzZ.c(15 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (58134 - Drawable.resolveOpacity(0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj2); } iArr3[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i10++; } i3 = 2; i5 = 16; } iArr2 = iArr3; } int length2 = iArr2.length; int[] iArr4 = new int[length2]; int[] iArr5 = aM; if (iArr5 != null) { int length3 = iArr5.length; int[] iArr6 = new int[length3]; int i12 = 0; while (i12 < length3) { int i13 = $10 + 97; $11 = i13 % 128; if (i13 % 2 == 0) { Object[] objArr4 = new Object[i6]; objArr4[i7] = Integer.valueOf(iArr5[i12]); Object obj3 = xzZ.y.get(729798706); if (obj3 != null) { i2 = length3; } else { obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((Process.myTid() >> 22) + 58134))).getMethod("i", Integer.TYPE); i2 = length3; xzZ.y.put(729798706, obj3); } iArr6[i12] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); i12 %= 1; length3 = i2; } else { int i14 = length3; Object[] objArr5 = {Integer.valueOf(iArr5[i12])}; Object obj4 = xzZ.y.get(729798706); if (obj4 != null) { c = 55346; } else { obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 15, 4 - Process.getGidForName(""), (char) (View.combineMeasuredStates(0, 0) + 58134))).getMethod("i", Integer.TYPE); c = 55346; xzZ.y.put(729798706, obj4); } iArr6[i12] = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue(); i12++; length3 = i14; } i6 = 1; i7 = 0; } iArr5 = iArr6; } int i15 = i7; System.arraycopy(iArr5, i15, iArr4, i15, length2); c4403bZM.b = i15; while (c4403bZM.b < iArr.length) { int i16 = $11 + 91; $10 = i16 % 128; int i17 = i16 % 2; cArr[0] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr4); int i18 = 0; for (int i19 = 16; i18 < i19; i19 = 16) { c4403bZM.e ^= iArr4[i18]; Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj5 = xzZ.y.get(-1196964548); if (obj5 == null) { Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 118, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)))); byte b = (byte) 2; byte b2 = (byte) (b - 3); Object[] objArr7 = new Object[1]; bf(b, b2, (byte) (b2 + 1), objArr7); obj5 = cls.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj5); } int intValue = ((Integer) ((Method) obj5).invoke(null, objArr6)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i18++; } int i20 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i20; c4403bZM.a ^= iArr4[16]; c4403bZM.e ^= iArr4[17]; int i21 = c4403bZM.e; int i22 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr4); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; Object[] objArr8 = {c4403bZM, c4403bZM}; Object obj6 = xzZ.y.get(1914371176); if (obj6 == null) { Class cls2 = (Class) xzZ.c(98 - KeyEvent.getDeadChar(0, 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16)); byte b3 = (byte) 0; byte b4 = (byte) (b3 - 1); Object[] objArr9 = new Object[1]; bf(b3, b4, (byte) (b4 + 1), objArr9); obj6 = cls2.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1914371176, obj6); } ((Method) obj6).invoke(null, objArr8); } objArr[0] = new String(cArr2, 0, i); } private boolean E() { synchronized (this) { if (!this.F) { if (!isFinishing()) { return false; } } return true; } } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.facetec.sdk.be, android.app.Activity public void onCreate(Bundle bundle) { int i; int i2; FaceTecSessionStatus faceTecSessionStatus; String obj; Object[] objArr = new Object[1]; bd(new char[]{22902, 22807, 36309, 19410, 13820, 47434, 5330, 18331, 16573, 43958, 8024, 30755, 27217, 45584, 31102, 37377, 5608, 22760, 24727, 46224, 16277, 26456}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; be(new int[]{-132263057, -766318610, -221953216, -568649074}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.customer_info_title).substring(0, 19).codePointAt(4) - 3636, 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]; bd(new char[]{57861, 57956, 48632, 31743, 12906, 48860, 28435, 15450, 64462, 39835, 6350, 994, 53548, 33342, 32438, 59838, 44712, 26825, 26390, 53085, 34019, 22383, 19914, 54945, 25189, 15626, 45992, 48153, 31676, 7130}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; bd(new char[]{56360, 56395, 13999, 61619, 26511, 60207, 39756, 51205, 50665, 4304, 19757, 63442, 61200, 2418, 11097, 7590, 37031, 58247, 13029, 15106, 47831, 56356}, (-16777215) - Color.rgb(0, 0, 0), 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 obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, Color.green(0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr5 = new Object[1]; be(new int[]{-1147438397, -1931038277, 676869127, -540184067, 268885708, -1163268681, 164799736, 1994944419, -1360197077, -533450958, -1675640370, -603108526, 663134758, -1912701852, -912539898, -876346583, -1780136062, 1904143351, 667621324, 91911871, 1008424136, -500925899, 1184296663, -618094822}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; be(new int[]{1907302093, 1879100894, -1501451619, 287230632, -932445077, -1140221493, 321440038, -1653696405, -165337153, 1914443942, 950381777, 462546999, 2136819085, -242946779, -1612800431, -273890432, 1527000783, 337658035, 1246862679, 582457866, -1687787753, -386506277, 687168622, 75964730, 721672208, -861124538, -272310087, 226211881, 701262789, -2072259824, 468441150, -1667414792}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; bd(new char[]{32525, 32620, 2387, 52994, 757, 36375, 4167, 17231, 26312, 12092, 10244, 31997, 19575, 13962, 20030, 38561, 13187, 56419, 22425, 45144, 6652, 58265, 32019, 43452, 65288, 35247, 33574, 49946, 59062, 44923, 43227, 64817, 52297, 46801, 52832, 5780, 45593, 23785, 55172, 12329, 39420, 25117, 64944, 10633, 32592, 2531, 792, 17367, 25959, 12052, 10495, 32101, 19679, 13694, 20135, 38548, 12911, 56454, 21505, 45230, 6597, 57858, 32187, 43541, 65444, 34879, 33562, 50087}, -Process.getGidForName(""), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; be(new int[]{1804180239, -169700968, 118919893, 230169197, 1006824639, 851910487, 352785609, -1323655905, 883819825, -1722576404, 245513748, 1978164266, -2065997827, -1996385022, 1553563313, -259396810, 1294165862, -1305236322, -1956418972, -157840628, 591480368, -31894774, -428800998, -1146512100, -1339710456, 1505792095, -1255929785, 1161325237, 2059686207, 474319294, -1904735774, 118649242, 633042839, 999530866, 577202125, 1917476799, 1679522583, -199123374}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.speedy_loan_cdx_maximum_loan).substring(0, 21).codePointAt(12) - 3531, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; bd(new char[]{15342, 15319, 19457, 35398, 10954, 42528, 24450, 3223, 8826}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_external_instruction_first_step).substring(0, 3).codePointAt(1) - 45, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; be(new int[]{194720700, -2143428436, 266904037, -1111634184, 992392468, 1755054431, -806328444, 1781705087, -1706796643, -428128142, -156860353, 387690863, -452191121, 1892191825, 1151632627, -45880437, -1629382401, 89039184}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.new_transaction_successful).substring(23, 24).length() + 35, objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } synchronized (this) { super.onCreate(null); if (bundle != null) { setResult(0); finish(); return; } this.aC = new cv(); cx.c(this); db.bp(); this.h = getIntent().getBooleanExtra("facetec.idScanOnlyMode", false); if (FaceTecSessionActivity.e == null && !this.h) { ao.e("FaceTecSessionActivity must be launched with the constructor FaceTecSDK.createAndLaunchSession(...)."); setResult(0); finish(); return; } t.a(this, com.facetec.sdk.d.FULL_SESSION_START, (String) null); Window window = getWindow(); window.clearFlags(zzd.zza); window.addFlags(PKIFailureInfo.systemUnavail); if (!FaceTecSDK.c.e) { getWindow().addFlags(8192); } if (FaceTecCustomization.activityThemeId != 0) { setTheme(FaceTecCustomization.activityThemeId); } String stringExtra = getIntent().getStringExtra("zoom.serverSessionToken"); this.f = stringExtra; if (stringExtra == null) { this.f = ""; } setContentView(R.layout.facetec_main_activity); this.aa = R.id.signupContainer; this.ab = findViewById(R.id.mainLayout); this.ak = findViewById(R.id.zoomFrameShadowView); this.af = (RelativeLayout) findViewById(R.id.outerContainer); this.ae = (RelativeLayout) findViewById(R.id.faceScanCameraContainer); this.ah = (RelativeLayout) findViewById(R.id.faceScanCameraTransitionView); this.ag = (RelativeLayout) findViewById(R.id.faceScanCameraLayout); this.ad = (RelativeLayout) findViewById(R.id.signupContainer); this.am = (RelativeLayout) findViewById(R.id.borderCover); this.aj = (RelativeLayout) findViewById(R.id.subZoomFrame); this.ai = (LinearLayout) findViewById(R.id.brandingLogoContainer); this.al = (RelativeLayout) findViewById(R.id.faceScanSessionLayout); this.aB = (ImageView) findViewById(R.id.brandingLogoBottom); this.u = findViewById(R.id.overlayBackgroundView); setTitle(" "); try { FaceTecSDK.setCustomization(db.d(FaceTecSDK.c)); bk.a = FaceTecSDK.c.f.subtextFont; Typeface typeface = FaceTecSDK.c.f.buttonFont; bk.e = FaceTecSDK.c.f.headerFont; this.c = (RelativeLayout) findViewById(R.id.backgroundCover); this.c.setAlpha(BitmapDescriptorFactory.HUE_RED); if (FaceTecSDK.c.l.backgroundColor == 0) { this.c.setBackgroundColor(getResources().getColor(R.color.facetec_outline_shadow_dark)); } else { this.c.setBackgroundColor(FaceTecSDK.c.l.backgroundColor); } this.d = findViewById(R.id.backgroundColor); db.e(findViewById(R.id.backgroundColor)); this.a = new Handler(); int aN2 = db.aN(); int aR = db.aR(); if (FaceTecSDK.c.g.brandingImage != 0) { i = FaceTecSDK.c.g.brandingImage; } else { i = R.drawable.facetec_your_app_logo; } if (FaceTecSDK.c.k.customImage != 0) { i2 = FaceTecSDK.c.k.customImage; } else { i2 = R.drawable.facetec_cancel; } boolean z = FaceTecSDK.c.k.b != FaceTecCancelButtonCustomization.ButtonLocation.DISABLED && i2 == 0; if (FaceTecSessionActivity.e != null && (aR == 0 || i == 0)) { z = true; } if (aN2 != 0 && !z) { FaceTecSDK.c.f.retryScreenIdealImage = aN2; FaceTecSDK.c.f.cameraPermissionsScreenImage = aR; FaceTecSDK.c.g.brandingImage = i; FaceTecSDK.c.k.customImage = i2; if (FaceTecSDK.c.k.b == FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM && FaceTecSDK.c.k.c != null) { ImageView imageView = (ImageView) findViewById(R.id.customLocationBackButton); this.f6412o = imageView; imageView.setAlpha(BitmapDescriptorFactory.HUE_RED); this.f6412o.setVisibility(0); RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-2, -2); layoutParams.setMarginStart((int) av.b(FaceTecSDK.c.k.c.left)); ((ViewGroup.MarginLayoutParams) layoutParams).topMargin = (int) av.b(FaceTecSDK.c.k.c.top); ((ViewGroup.LayoutParams) layoutParams).width = (int) av.b(FaceTecSDK.c.k.c.right); ((ViewGroup.LayoutParams) layoutParams).height = (int) av.b(FaceTecSDK.c.k.c.bottom); this.f6412o.setLayoutParams(layoutParams); if (FaceTecSDK.c.k.customImage != 0) { this.f6412o.setImageDrawable(nMh.getDrawable(this, db.aL())); } this.f6412o.setOnClickListener(new View.OnClickListener(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda22 public final bg f$0; @Override // android.view.View.OnClickListener public final void onClick(View view) { bg.$r8$lambda$UynigIsSpiv3wiM9o2FwnttYfRs(this.f$0, view); } { this.f$0 = this; } }); this.f6412o.setOnTouchListener(new View.OnTouchListener(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda33 public final bg f$0; @Override // android.view.View.OnTouchListener public final boolean onTouch(View view, MotionEvent motionEvent) { return bg.$r8$lambda$jxE4HEA5s6GzzLt84XEIeSpY7IE(this.f$0, view, motionEvent); } { this.f$0 = this; } }); } FaceTecSDKStatus b = bf.b(this); if (b == FaceTecSDKStatus.INITIALIZED) { db.a(this.u); dp.d(this); this.b = cd.a((Activity) this); cy.b(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda44 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$LGHAZ1wtRg0Nj4ug6GEaL8RjLeA(this.f$0); } { this.f$0 = this; } }); this.l = new o(); cd.h(); cg.D(FaceTecSDK.c.p); cg.b(bf.h(), bf.e); this.b.c(); bq.c(this); ah.d = false; if (!ba.c) { ah.b(this); } else { ah.a(this); } db.c(); al.c(this, ap.FT_EVENT_VERIFY_SESSION_START, new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda55 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m89$r8$lambda$qv662PH7LqtylYOBJZZzffF1_E(this.f$0); } { this.f$0 = this; } }); cy.c(new Runnable() { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda66 @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$QYjUwlZ0fWKIQg6y7EdXyJV3v8c(); } }); int b2 = (int) (av.b(db.g()) * db.d()); db.j(); if (db.d() < 1.0f) { float e = ah.e(); int i3 = Resources.getSystem().getDisplayMetrics().widthPixels; float d2 = db.d(); float f = i3; this.g = d2 * f; this.k = ((int) (Resources.getSystem().getDisplayMetrics().widthPixels * e)) * d2; RelativeLayout.LayoutParams layoutParams2 = new RelativeLayout.LayoutParams((int) this.g, (int) this.k); int i4 = (int) (f - this.g); layoutParams2.setMargins(i4 / 2, (b2 / 2) + 10, i4 / 2, 0); this.af.setLayoutParams(layoutParams2); RelativeLayout.LayoutParams layoutParams3 = new RelativeLayout.LayoutParams(((int) this.g) + b2, ((int) this.k) + b2); int i5 = (int) (f - (this.g + b2)); layoutParams3.setMargins(i5 / 2, 10, i5 / 2, 0); this.am.setLayoutParams(layoutParams3); ((View) this.ak.getParent()).setLayoutParams(layoutParams3); RelativeLayout.LayoutParams layoutParams4 = new RelativeLayout.LayoutParams((int) this.g, (int) this.k); layoutParams4.setMargins(0, 0, 0, 0); this.ag.setLayoutParams(layoutParams4); RelativeLayout.LayoutParams layoutParams5 = new RelativeLayout.LayoutParams((int) this.g, (int) this.k); layoutParams5.setMargins(0, 0, 0, 0); this.ad.setLayoutParams(layoutParams5); GradientDrawable gradientDrawable = new GradientDrawable(); float b3 = av.b(db.x()) * d2; gradientDrawable.setCornerRadius(b3); int d3 = db.d(this, FaceTecSDK.c.l.borderColor); gradientDrawable.setStroke(b2, d3); this.af.setBackground(gradientDrawable); this.am.setBackground(gradientDrawable); this.af.setOutlineProvider(ViewOutlineProvider.BACKGROUND); this.af.setClipToOutline(true); if (FaceTecSDK.c.l.elevation > 0) { GradientDrawable gradientDrawable2 = new GradientDrawable(); gradientDrawable2.setCornerRadius(b3); gradientDrawable2.setStroke(b2, d3); gradientDrawable2.setColor(db.d(this, db.J())); this.ak.setBackground(gradientDrawable2); this.ak.setElevation(av.b(FaceTecSDK.c.l.elevation)); this.ak.setOutlineProvider(ViewOutlineProvider.BACKGROUND); this.ak.setClipToOutline(false); this.ak.requestLayout(); } } if (FaceTecSDK.c.g.brandingImage != 0 && FaceTecSDK.c.g.showBrandingImage) { this.aB.setImageDrawable(nMh.getDrawable(this, FaceTecSDK.c.g.brandingImage)); this.aB.setVisibility(0); float f2 = this.g; if (f2 > BitmapDescriptorFactory.HUE_RED) { this.aB.setMaxWidth((int) f2); } else { this.aB.setMaxWidth(Resources.getSystem().getDisplayMetrics().widthPixels); } if ((getResources().getConfiguration().screenLayout & 15) >= 3) { this.ai.setWeightSum(1.0f); this.aB.setMaxHeight((int) av.b(50)); LinearLayout.LayoutParams layoutParams6 = (LinearLayout.LayoutParams) this.aB.getLayoutParams(); ((ViewGroup.MarginLayoutParams) layoutParams6).topMargin = (int) av.b(15); layoutParams6.gravity = 48; this.aB.setLayoutParams(layoutParams6); this.aB.requestLayout(); this.ai.requestLayout(); } } db.c(this.ah); if (a() == be.a.GRANTED) { aa(); } U(); return; } if (b == FaceTecSDKStatus.NEVER_INITIALIZED) { if (this.h) { obj = FaceTecIDScanStatus.INITIALIZATION_NOT_COMPLETED.toString(); b(FaceTecIDScanStatus.INITIALIZATION_NOT_COMPLETED); } else { obj = FaceTecSessionStatus.INITIALIZATION_NOT_COMPLETED.toString(); d(FaceTecSessionStatus.INITIALIZATION_NOT_COMPLETED, (FaceTecIDScanStatus) null); } t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, obj); return; } switch (AnonymousClass1.d[b.ordinal()]) { case 1: faceTecSessionStatus = FaceTecSessionStatus.NON_PRODUCTION_MODE_KEY_INVALID; break; case 2: faceTecSessionStatus = FaceTecSessionStatus.NON_PRODUCTION_MODE_NETWORK_REQUIRED; break; case 3: faceTecSessionStatus = FaceTecSessionStatus.LOCKED_OUT; break; case 4: faceTecSessionStatus = FaceTecSessionStatus.ENCRYPTION_KEY_INVALID; break; case 5: faceTecSessionStatus = FaceTecSessionStatus.LANDSCAPE_MODE_NOT_ALLOWED; break; case 6: faceTecSessionStatus = FaceTecSessionStatus.REVERSE_PORTRAIT_NOT_ALLOWED; break; case 7: faceTecSessionStatus = FaceTecSessionStatus.DEVICE_NOT_SUPPORTED; break; default: faceTecSessionStatus = null; break; } if (this.h && b == FaceTecSDKStatus.DEVICE_LOCKED_OUT) { FaceTecIDScanStatus faceTecIDScanStatus = FaceTecIDScanStatus.LOCKED_OUT; t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, faceTecIDScanStatus.toString()); b(faceTecIDScanStatus); return; } else { if (faceTecSessionStatus != null) { t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, faceTecSessionStatus.toString()); d(faceTecSessionStatus, (FaceTecIDScanStatus) null); return; } com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder("Couldn't start session with status: "); sb.append(b.name()); t.a(this, dVar, sb.toString()); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); return; } } d(FaceTecSessionStatus.MISSING_GUIDANCE_IMAGES, (FaceTecIDScanStatus) null); } catch (ae e2) { com.facetec.sdk.d dVar2 = com.facetec.sdk.d.CAMERA_ERROR; StringBuilder sb2 = new StringBuilder("FTCameraException: "); sb2.append(e2.getMessage()); t.d(this, e2, dVar2, sb2.toString(), !ah.d); d(FaceTecSessionStatus.CAMERA_INITIALIZATION_ISSUE, (FaceTecIDScanStatus) null); } catch (ar e3) { com.facetec.sdk.d dVar3 = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb3 = new StringBuilder("FTInternalException: "); sb3.append(e3.getMessage()); t.d(this, e3, dVar3, sb3.toString(), !ah.d); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); } catch (Throwable th2) { com.facetec.sdk.d dVar4 = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb4 = new StringBuilder("Unknown error: "); sb4.append(th2.getMessage()); t.d(this, th2, dVar4, sb4.toString(), !ah.d); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); } } } private /* synthetic */ void aT() { int i = 2 % 2; int i2 = aN + 21; aV = i2 % 128; int i3 = i2 % 2; Object obj = null; dp.e(this); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = aN + 49; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } private void H() { int i = 2 % 2; if (bf.e()) { int i2 = aV + 29; aN = i2 % 128; if (i2 % 2 != 0) { d(FaceTecSessionStatus.NON_PRODUCTION_MODE_NETWORK_REQUIRED); Object obj = null; obj.hashCode(); throw null; } d(FaceTecSessionStatus.NON_PRODUCTION_MODE_NETWORK_REQUIRED); } int i3 = aN + 117; aV = i3 % 128; int i4 = i3 % 2; } @Override // android.app.Activity, android.view.Window.Callback public void onWindowFocusChanged(boolean z) { this.S = z; if (a() != be.a.GRANTED) { return; } if (!z) { if (d() || isFinishing()) { return; } e(); return; } if (E()) { return; } synchronized (this) { boolean z2 = this.J; if (z2 && !this.h) { e(FaceTecIDScanNextStep.SELECTION_SCREEN); } else if (z2 && this.h && !this.aq) { u(); } else if (this.K) { J(); } else if (this.m != null && this.ao) { K(); } else if (this.L) { M(); } else if (this.R) { N(); } } } private /* synthetic */ void aR() { int i = 2 % 2; int i2 = aV + 53; aN = i2 % 128; int i3 = i2 % 2; S(); int i4 = aV + 107; aN = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.facetec.sdk.be, android.app.Activity public void onPause() { int i = 2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { int i2 = aN + 75; aV = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; bd(new char[]{57861, 57956, 48632, 31743, 12906, 48860, 28435, 15450, 64462, 39835, 6350, 994, 53548, 33342, 32438, 59838, 44712, 26825, 26390, 53085, 34019, 22383, 19914, 54945, 25189, 15626, 45992, 48153, 31676, 7130}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; bd(new char[]{56360, 56395, 13999, 61619, 26511, 60207, 39756, 51205, 50665, 4304, 19757, 63442, 61200, 2418, 11097, 7590, 37031, 58247, 13029, 15106, 47831, 56356}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 98, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i4 = aV + 67; aN = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { int i6 = aN + 113; aV = i6 % 128; if (i6 % 2 == 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, 4 - ExpandableListView.getPackedPositionChild(0L), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); if (a() != be.a.GRANTED) { return; } Z(); if (this.P) { this.Y = true; return; } if (ah.d) { int i7 = aN + 45; aV = i7 % 128; int i8 = i7 % 2; return; } if (isFinishing()) { cy.b(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda60 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$EsBE7Db9iFeCWZQW1mORcfhOTPk(this.f$0); } { this.f$0 = this; } }); int i9 = aV + 111; aN = i9 % 128; int i10 = i9 % 2; } else if (!d()) { e(); } dp.d(); } /* JADX WARN: Code restructure failed: missing block: B:12:0x002e, code lost: if (r5.K == false) goto L16; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0038, code lost: if ((!r5.G) == false) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x003a, code lost: r2 = r2 + 17; com.facetec.sdk.bg.aV = r2 % 128; r2 = r2 % 2; b(true); com.facetec.sdk.dp.d(); r1 = r5.X; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0049, code lost: if (r1 == null) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x004d, code lost: if ((r1 instanceof com.facetec.sdk.an) != false) goto L24; */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0053, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0051, code lost: if (r5.S == false) goto L25; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0054, code lost: S(); */ /* JADX WARN: Code restructure failed: missing block: B:23:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0033, code lost: if (r5.K == false) goto L16; */ @Override // android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ protected void onStop() { /* r5 = this; r0 = 2 int r1 = r0 % r0 super.onStop() com.facetec.sdk.be$a r1 = r5.a() com.facetec.sdk.be$a r2 = com.facetec.sdk.be.a.GRANTED if (r1 == r2) goto Lf return Lf: r5.ag() r1 = 1 r5.q = r1 boolean r2 = com.facetec.sdk.ah.d if (r2 != 0) goto L57 boolean r2 = r5.J if (r2 != 0) goto L57 int r2 = com.facetec.sdk.bg.aN int r3 = r2 + 79 int r4 = r3 % 128 com.facetec.sdk.bg.aV = r4 int r3 = r3 % r0 if (r3 != 0) goto L31 boolean r3 = r5.K r4 = 60 int r4 = r4 / 0 if (r3 != 0) goto L57 goto L35 L31: boolean r3 = r5.K if (r3 != 0) goto L57 L35: boolean r3 = r5.G r3 = r3 ^ r1 if (r3 == 0) goto L57 int r2 = r2 + 17 int r3 = r2 % 128 com.facetec.sdk.bg.aV = r3 int r2 = r2 % r0 r5.b(r1) com.facetec.sdk.dp.d() com.facetec.sdk.ah r1 = r5.X if (r1 == 0) goto L4f boolean r1 = r1 instanceof com.facetec.sdk.an if (r1 != 0) goto L53 L4f: boolean r1 = r5.S if (r1 == 0) goto L54 L53: return L54: r5.S() L57: int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 51 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.onStop():void"); } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.facetec.sdk.be, android.app.Activity public void onResume() { bi biVar; bi biVar2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; bd(new char[]{57861, 57956, 48632, 31743, 12906, 48860, 28435, 15450, 64462, 39835, 6350, 994, 53548, 33342, 32438, 59838, 44712, 26825, 26390, 53085, 34019, 22383, 19914, 54945, 25189, 15626, 45992, 48153, 31676, 7130}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 1, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; bd(new char[]{56360, 56395, 13999, 61619, 26511, 60207, 39756, 51205, 50665, 4304, 19757, 63442, 61200, 2418, 11097, 7590, 37031, 58247, 13029, 15106, 47831, 56356}, -TextUtils.indexOf((CharSequence) "", '0', 0), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), AndroidCharacter.getMirror('0') - '+', (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0), TextUtils.indexOf("", "", 0, 0) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } synchronized (this) { super.onResume(); if (a() != be.a.GRANTED) { return; } this.q = false; ah ahVar = this.X; if (ahVar != null && (ahVar instanceof an)) { ((an) ahVar).g(); } bi biVar3 = this.m; if (biVar3 != null && biVar3.a() != null) { ((an) this.m.a()).g(); } if (ah.d && !this.P && (biVar2 = this.m) != null && !biVar2.f6413o) { this.m.e(); } if (this.Y) { this.Y = false; F(); return; } if (this.D) { if (this.ac) { return; } this.D = false; if (this.aq && (biVar = this.m) != null && biVar.isAdded()) { this.m.L(); return; } try { this.b = cd.a((Activity) this); if (!this.J) { V(); this.X.b(); } if (!E()) { if (this.J) { return; } if (this.K) { return; } if (this.m != null && this.ao) { return; } if (this.L) { } else { J(); } } } catch (Throwable th2) { com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder("Unknown error: "); sb.append(th2.getMessage()); t.d(this, th2, dVar, sb.toString(), true ^ ah.d); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); } } } } /* JADX WARN: Code restructure failed: missing block: B:10:0x0024, code lost: if (com.facetec.sdk.bt.j(r7) != false) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x001d, code lost: if (com.facetec.sdk.bt.j(r7) != false) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x002b, code lost: com.facetec.sdk.bt.c(r7); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0026, code lost: b(com.facetec.sdk.FaceTecSessionStatus.LOCKED_OUT); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void J() { /* r7 = this; r0 = 2 int r1 = r0 % r0 com.facetec.sdk.dp.d() boolean r1 = r7.K r2 = 0 if (r1 == 0) goto L2e int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 89 int r3 = r1 % 128 com.facetec.sdk.bg.aV = r3 int r1 = r1 % r0 if (r1 != 0) goto L20 boolean r1 = com.facetec.sdk.bt.j(r7) r3 = 98 int r3 = r3 / r2 if (r1 == 0) goto L2b goto L26 L20: boolean r1 = com.facetec.sdk.bt.j(r7) if (r1 == 0) goto L2b L26: com.facetec.sdk.FaceTecSessionStatus r1 = com.facetec.sdk.FaceTecSessionStatus.LOCKED_OUT r7.b(r1) L2b: com.facetec.sdk.bt.c(r7) L2e: com.facetec.sdk.cn r1 = r7.v r3 = 1 java.lang.String r4 = "RetryZoom" if (r1 == 0) goto L45 android.app.FragmentManager r1 = r7.getFragmentManager() android.app.Fragment r1 = r1.findFragmentByTag(r4) if (r1 == 0) goto L45 com.facetec.sdk.cn r1 = r7.v r1.c(r7, r3) goto L8c L45: com.facetec.sdk.cn r1 = r7.v if (r1 != 0) goto L4f com.facetec.sdk.cn r1 = com.facetec.sdk.cn.l() r7.v = r1 L4f: boolean r1 = r7.K if (r1 == 0) goto L79 int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 65 int r5 = r1 % 128 com.facetec.sdk.bg.aV = r5 int r1 = r1 % r0 android.app.FragmentManager r1 = r7.getFragmentManager() android.app.FragmentTransaction r1 = r1.beginTransaction() int r5 = r7.aa com.facetec.sdk.cn r6 = r7.v android.app.FragmentTransaction r1 = r1.add(r5, r6, r4) r1.commitAllowingStateLoss() int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 3 int r4 = r1 % 128 com.facetec.sdk.bg.aV = r4 int r1 = r1 % r0 goto L8c L79: android.app.FragmentManager r1 = r7.getFragmentManager() android.app.FragmentTransaction r1 = r1.beginTransaction() int r5 = r7.aa com.facetec.sdk.cn r6 = r7.v android.app.FragmentTransaction r1 = r1.replace(r5, r6, r4) r1.commitAllowingStateLoss() L8c: r7.K = r2 com.facetec.sdk.FaceTecCustomization r1 = com.facetec.sdk.FaceTecSDK.c com.facetec.sdk.FaceTecCancelButtonCustomization r1 = r1.k com.facetec.sdk.FaceTecCancelButtonCustomization$ButtonLocation r1 = r1.b com.facetec.sdk.FaceTecCancelButtonCustomization$ButtonLocation r4 = com.facetec.sdk.FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM if (r1 != r4) goto Lae int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 83 int r4 = r1 % 128 com.facetec.sdk.bg.aV = r4 int r1 = r1 % r0 if (r1 != 0) goto La9 r0 = 27591(0x6bc7, float:3.8663E-41) r7.c(r0, r3) goto Lae La9: r0 = 300(0x12c, float:4.2E-43) r7.c(r0, r2) Lae: r0 = 1000(0x3e8, float:1.401E-42) r7.c(r0) return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.J():void"); } /* JADX INFO: Access modifiers changed from: package-private */ public final void w() { int i = 2 % 2; if (isFinishing()) { return; } int i2 = aV + 63; int i3 = i2 % 128; aN = i3; Object obj = null; if (i2 % 2 != 0) { obj.hashCode(); throw null; } bi biVar = this.m; if (biVar != null) { int i4 = i3 + 43; aV = i4 % 128; int i5 = i4 % 2; if (biVar.i == bi.d.FRONT) { int i6 = aV + 115; aN = i6 % 128; if (i6 % 2 != 0) { this.aA = co.e.FRONT_SIDE; throw null; } this.aA = co.e.FRONT_SIDE; } else { this.aA = co.e.BACK_SIDE; } if (!isFinishing() && this.m != null) { this.b.a(this.m.m); getFragmentManager().beginTransaction().remove(this.m).commitAllowingStateLoss(); this.m = null; } this.x = co.d(true, this.aA); getFragmentManager().beginTransaction().add(this.aa, this.x, "Results").commitAllowingStateLoss(); if (FaceTecSDK.c.k.b == FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM) { int i7 = aN + 97; aV = i7 % 128; if (i7 % 2 == 0) { ah(); int i8 = 52 / 0; } else { ah(); } } c(new d(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda64 public final bg f$0; @Override // com.facetec.sdk.bg.d public final byte[] getIdScanBytes(String str) { return bg.$r8$lambda$0KC37gChie_8QWkAFQZQACOpYI0(this.f$0, str); } { this.f$0 = this; } }); } } private /* synthetic */ byte[] f(String str) { int i = 2 % 2; int i2 = aN + 105; aV = i2 % 128; int i3 = i2 % 2; byte[] s = cg.s(str, this.n, ""); int i4 = aV + 45; aN = i4 % 128; int i5 = i4 % 2; return s; } /* JADX WARN: Code restructure failed: missing block: B:10:0x003b, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x001b, code lost: d(r5, false); r4.J = false; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0020, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0019, code lost: if (r4.x == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r4.x == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0021, code lost: r4.x.c(new com.facetec.sdk.bg$$ExternalSyntheticLambda2(r4, r5)); r5 = com.facetec.sdk.bg.aV + 119; com.facetec.sdk.bg.aN = r5 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0034, code lost: if ((r5 % 2) != 0) goto L14; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0036, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0037, code lost: r5 = null; r5.hashCode(); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void e(final com.facetec.sdk.FaceTecIDScanNextStep r5) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 77 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto L17 com.facetec.sdk.co r1 = r4.x r3 = 37 int r3 = r3 / r2 if (r1 != 0) goto L21 goto L1b L17: com.facetec.sdk.co r1 = r4.x if (r1 != 0) goto L21 L1b: r4.d(r5, r2) r4.J = r2 return L21: com.facetec.sdk.co r1 = r4.x com.facetec.sdk.bg$$ExternalSyntheticLambda2 r2 = new com.facetec.sdk.bg$$ExternalSyntheticLambda2 r2.(r4, r5) r1.c(r2) int r5 = com.facetec.sdk.bg.aV int r5 = r5 + 119 int r1 = r5 % 128 com.facetec.sdk.bg.aN = r1 int r5 = r5 % r0 if (r5 != 0) goto L37 return L37: r5 = 0 r5.hashCode() throw r5 */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.e(com.facetec.sdk.FaceTecIDScanNextStep):void"); } private /* synthetic */ void j(final FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; co coVar = this.x; co coVar2 = this.x; Objects.requireNonNull(coVar2); coVar.a((Runnable) new aq.e(coVar2, new Runnable(this, faceTecIDScanNextStep) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda6 public final bg f$0; public final FaceTecIDScanNextStep f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$1hWZf9OBDzp2qehzEWmdCYmo2D4(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = faceTecIDScanNextStep; } })); int i2 = aV + 95; aN = i2 % 128; if (i2 % 2 != 0) { int i3 = 85 / 0; } } private /* synthetic */ void aV() { int i = 2 % 2; int i2 = aN + 97; aV = i2 % 128; int i3 = i2 % 2; c(0); int i4 = aV + 43; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } /* JADX INFO: Access modifiers changed from: package-private */ public final void u() { int i = 2 % 2; int i2 = aV + 7; aN = i2 % 128; int i3 = i2 % 2; d(this.s, true); this.J = true; int i4 = aV + 65; aN = i4 % 128; int i5 = i4 % 2; } private /* synthetic */ void aS() { int i = 2 % 2; if (isFinishing() || (!hasWindowFocus())) { return; } int i2 = aN + 113; aV = i2 % 128; int i3 = i2 % 2; if (this.m != null) { runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda63 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m83$r8$lambda$Umv70TV6oTi3rfiVVWHPLO1gwc(this.f$0); } { this.f$0 = this; } }); int i4 = aN + 121; aV = i4 % 128; int i5 = i4 % 2; } } private /* synthetic */ void aU() { int i; int i2 = 2 % 2; int i3 = aN + 97; aV = i3 % 128; if (i3 % 2 == 0) { L(); i = 24535; } else { L(); i = 300; } c(i); int i4 = aN + 117; aV = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private void K() { int i = 2 % 2; int i2 = aN + 83; aV = i2 % 128; int i3 = i2 % 2; if (this.x == null) { L(); return; } this.x.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda48 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$2ymW4GY2ElgazbHeucdgfJOCaCY(this.f$0); } { this.f$0 = this; } }); int i4 = aN + 119; aV = i4 % 128; int i5 = i4 % 2; } private void L() { int i = 2 % 2; this.ao = false; getFragmentManager().beginTransaction().replace(this.aa, this.m, "IDScan").commitAllowingStateLoss(); this.b.b(this.m.m); this.m.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda24 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$7FzjyLrs09o6XEfp9T6mCktGzyI(this.f$0); } { this.f$0 = this; } }, 100L); int i2 = aN + 77; aV = i2 % 128; int i3 = i2 % 2; } private /* synthetic */ void aP() { int i = 2 % 2; int i2 = aN + 71; aV = i2 % 128; if (i2 % 2 == 0) { this.m.b(); int i3 = 58 / 0; } else { this.m.b(); } int i4 = aN + 97; aV = i4 % 128; int i5 = i4 % 2; } private void d(int i) { int i2 = 2 % 2; t.d(this, new Throwable("FaceTec SDK has experienced an unexpected camera error."), com.facetec.sdk.d.CAMERA_ERROR, "FaceScan: camera is null unexpectedly ".concat(String.valueOf(i)), true); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); int i3 = aN + 45; aV = i3 % 128; int i4 = i3 % 2; } private void M() { int i = 2 % 2; int i2 = aN + 121; aV = i2 % 128; int i3 = i2 % 2; this.L = false; FragmentTransaction beginTransaction = getFragmentManager().beginTransaction(); this.w = by.d(this.at); beginTransaction.setCustomAnimations(R.animator.facetec_no_delay_fade_in, 0).add(this.aa, this.w, "OCRConfirmation").commitAllowingStateLoss(); c(1000); t.e(ct.RESULT_OCR); int i4 = aV + 105; aN = i4 % 128; int i5 = i4 % 2; } private void N() { int i = 2 % 2; this.R = false; FragmentTransaction beginTransaction = getFragmentManager().beginTransaction(); this.A = new b(); beginTransaction.setCustomAnimations(R.animator.facetec_no_delay_fade_in, 0).add(this.aa, this.A, "AdditionalReview").commitAllowingStateLoss(); c(1000); t.e(ct.RESULT_ADDITIONAL_REVIEW); int i2 = aN + 35; aV = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void aM() { int i = 2 % 2; int i2 = aV + 71; int i3 = i2 % 128; aN = i3; if (i2 % 2 != 0) { throw null; } ValueAnimator valueAnimator = this.ay; if (valueAnimator != null) { int i4 = i3 + 49; aV = i4 % 128; if (i4 % 2 != 0) { valueAnimator.cancel(); this.ay.removeAllUpdateListeners(); } else { valueAnimator.cancel(); this.ay.removeAllUpdateListeners(); throw null; } } } /* JADX INFO: Access modifiers changed from: protected */ @Override // com.facetec.sdk.be, android.app.Activity public void onDestroy() { int i = 2 % 2; super.onDestroy(); dp.c(); FaceTecSDK.d = FaceTecSDK.e.NORMAL; if (this.y == a.PRE_SESSION_STARTED) { cg.f(true); } else if (this.y == a.FACESCAN_SESSION_STARTED) { int i2 = aV + 79; aN = i2 % 128; int i3 = i2 % 2; cg.e(true); } this.y = a.NOT_STARTED; if (this.a != null) { this.a.removeCallbacksAndMessages(null); } if (this.ay != null && P() != this.aI) { this.aK = true; a(P(), this.aI, 0); new Handler().postDelayed(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda67 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$vwpp4dNI7zVICp95KPEqWxIsgtE(this.f$0); } { this.f$0 = this; } }, 800L); int i4 = aN + 111; aV = i4 % 128; int i5 = i4 % 2; } S(); dp.d(); O(); } /* JADX WARN: Code restructure failed: missing block: B:60:0x00bd, code lost: if (getFragmentManager().findFragmentByTag("Zoom") != null) goto L48; */ /* JADX WARN: Code restructure failed: missing block: B:61:0x00ca, code lost: r1 = r5.e.e; */ /* JADX WARN: Code restructure failed: missing block: B:63:0x00c8, code lost: if (getFragmentManager().findFragmentByTag("Zoom") != null) goto L48; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private boolean Q() { /* Method dump skipped, instructions count: 316 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.Q():boolean"); } private void S() { ah ahVar; synchronized (this.aF) { ahVar = this.X; this.X = null; } if (ahVar != null) { ahVar.a(); } } /* JADX INFO: Access modifiers changed from: package-private */ public final void d(boolean z) { int i = 2 % 2; int i2 = aN + 13; aV = i2 % 128; int i3 = i2 % 2; if (FaceTecSDK.d != FaceTecSDK.e.LOW_LIGHT) { int i4 = aN + 87; aV = i4 % 128; if (i4 % 2 == 0) { FaceTecSDK.e eVar = FaceTecSDK.d; FaceTecSDK.e eVar2 = FaceTecSDK.e.LOW_LIGHT_FROM_SENSOR; Object obj = null; obj.hashCode(); throw null; } if (FaceTecSDK.d != FaceTecSDK.e.LOW_LIGHT_FROM_SENSOR) { if (z) { int i5 = aN + 89; aV = i5 % 128; int i6 = i5 % 2; FaceTecSDK.d = FaceTecSDK.e.LOW_LIGHT_FROM_SENSOR; } else { FaceTecSDK.d = FaceTecSDK.e.LOW_LIGHT; } cg.x(); runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda62 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$MPjzDNP5t9KkdG0Lyh8xBnnPptc(this.f$0); } { this.f$0 = this; } }); } } } private /* synthetic */ void aO() { int i = 2 % 2; int i2 = aN + 9; aV = i2 % 128; int i3 = i2 % 2; this.ax = false; this.aJ = true; a(P(), this.aC.c(), 0); R(); int i4 = aV + 45; aN = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ public final void v() { int i = 2 % 2; int i2 = aV + 95; aN = i2 % 128; Object obj = null; if (i2 % 2 == 0) { if (FaceTecSDK.d != FaceTecSDK.e.BRIGHT_LIGHT) { FaceTecSDK.d = FaceTecSDK.e.BRIGHT_LIGHT; cg.x(); runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda31 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$DURup41A2B9b66BKaqjBrj5PBRo(this.f$0); } { this.f$0 = this; } }); return; } else { int i3 = aV + 91; aN = i3 % 128; if (i3 % 2 == 0) { return; } obj.hashCode(); throw null; } } FaceTecSDK.e eVar = FaceTecSDK.d; FaceTecSDK.e eVar2 = FaceTecSDK.e.BRIGHT_LIGHT; throw null; } private /* synthetic */ void aQ() { int i = 2 % 2; int i2 = aV + 1; aN = i2 % 128; int i3 = i2 % 2; this.ax = false; this.aJ = true; a(P(), this.aC.b(), 0); R(); int i4 = aV + 77; aN = i4 % 128; int i5 = i4 % 2; } private void R() { int i = 2 % 2; int i2 = aV + 107; aN = i2 % 128; if (i2 % 2 != 0) { throw null; } if (this.aG == null) { this.aG = Integer.valueOf(db.d(this, FaceTecSDK.c.g.backgroundColor)); } if (this.aE == null) { this.aE = Integer.valueOf(db.d(this, FaceTecSDK.c.f.backgroundColors)); } if (this.aD == null) { this.aD = Integer.valueOf(db.d(this, FaceTecSDK.c.l.borderColor)); int i3 = aV + 13; aN = i3 % 128; int i4 = i3 % 2; } runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda50 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$KMFuXLZxjv7FghHliG9v4xQFsXY(this.f$0); } { this.f$0 = this; } }); } private /* synthetic */ void e(ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aV + 51; aN = i2 % 128; if (i2 % 2 != 0) { Integer num = (Integer) valueAnimator.getAnimatedValue(); this.aE = num; this.ah.setBackgroundColor(num.intValue()); this.ah.invalidate(); int i3 = 78 / 0; return; } Integer num2 = (Integer) valueAnimator.getAnimatedValue(); this.aE = num2; this.ah.setBackgroundColor(num2.intValue()); this.ah.invalidate(); } private /* synthetic */ void d(ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aN + 39; aV = i2 % 128; int i3 = i2 % 2; Integer num = (Integer) valueAnimator.getAnimatedValue(); this.aG = num; this.u.setBackgroundColor(num.intValue()); this.u.invalidate(); int i4 = aV + 63; aN = i4 % 128; int i5 = i4 % 2; } private /* synthetic */ void b(GradientDrawable gradientDrawable, int i, ValueAnimator valueAnimator) { int i2 = 2 % 2; int i3 = aV + 107; aN = i3 % 128; int i4 = i3 % 2; Integer num = (Integer) valueAnimator.getAnimatedValue(); this.aD = num; gradientDrawable.setStroke(i, num.intValue()); this.af.setBackground(gradientDrawable); this.am.setBackground(gradientDrawable); this.ak.setBackground(gradientDrawable); this.af.invalidate(); this.am.invalidate(); this.ak.invalidate(); int i5 = aV + 7; aN = i5 % 128; if (i5 % 2 != 0) { int i6 = 52 / 0; } } private /* synthetic */ void aN() { int i = 2 % 2; int i2 = aN + 47; aV = i2 % 128; int i3 = i2 % 2; if (FaceTecSDK.c.k.b == FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM && FaceTecSDK.c.k.c != null) { int i4 = aV + 89; aN = i4 % 128; int i5 = i4 % 2; int aL = db.aL(); ImageView imageView = this.f6412o; if (imageView != null && aL != 0) { int i6 = aV + 111; aN = i6 % 128; int i7 = i6 % 2; imageView.setImageDrawable(nMh.getDrawable(this, aL)); } } int aC = db.aC(); if (FaceTecSDK.c.g.showBrandingImage && aC != 0) { this.aB.setImageDrawable(nMh.getDrawable(this, aC)); } this.ah.setBackground(db.s(this)); ValueAnimator ofObject = ValueAnimator.ofObject(new ArgbEvaluator(), this.aE, Integer.valueOf(db.d(this, db.J()))); ofObject.setDuration(1000L); ofObject.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda3 public final bg f$0; @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator) { bg.$r8$lambda$8TiEPpqzMGTOxUAqMhzB8Qwml1Y(this.f$0, valueAnimator); } { this.f$0 = this; } }); ofObject.start(); ValueAnimator ofObject2 = ValueAnimator.ofObject(new ArgbEvaluator(), this.aG, Integer.valueOf(db.d(this, db.P()))); ofObject2.setDuration(1000L); ofObject2.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda4 public final bg f$0; @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator) { bg.$r8$lambda$vy3eHD4TvBMcLIM3Z17Lv3ehHmc(this.f$0, valueAnimator); } { this.f$0 = this; } }); ofObject2.start(); final GradientDrawable gradientDrawable = (GradientDrawable) this.af.getBackground(); final int b = (int) (av.b(db.g()) * db.d()); ValueAnimator ofObject3 = ValueAnimator.ofObject(new ArgbEvaluator(), this.aD, Integer.valueOf(db.i(this))); ofObject3.setDuration(1000L); ofObject3.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this, gradientDrawable, b) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda5 public final bg f$0; public final GradientDrawable f$1; public final int f$2; @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator) { bg.$r8$lambda$uDyQt5o7uSJliammx8Nju87Ov5o(this.f$0, this.f$1, this.f$2, valueAnimator); } { this.f$0 = this; this.f$1 = gradientDrawable; this.f$2 = b; } }); ofObject3.start(); if (this.i != null) { int i8 = aV + 103; aN = i8 % 128; int i9 = i8 % 2; this.i.i(); } if (this.v != null) { this.v.i(); } } private /* synthetic */ void d(View view) { int i = 2 % 2; int i2 = aV + 101; aN = i2 % 128; int i3 = i2 % 2; this.f6412o.setAlpha(1.0f); onBackPressed(); this.f6412o.setEnabled(false); int i4 = aN + 109; aV = i4 % 128; int i5 = i4 % 2; } private /* synthetic */ boolean e(View view, MotionEvent motionEvent) { int i = 2 % 2; if (motionEvent.getAction() == 0) { this.f6412o.setAlpha(0.4f); } else { if (motionEvent.getAction() != 3) { int i2 = aV + 113; aN = i2 % 128; int i3 = i2 % 2; if (motionEvent.getX() >= BitmapDescriptorFactory.HUE_RED && motionEvent.getX() <= this.f6412o.getWidth() + this.f6412o.getLeft() + 10) { int i4 = aV + 91; aN = i4 % 128; int i5 = i4 % 2; if (motionEvent.getY() >= BitmapDescriptorFactory.HUE_RED && motionEvent.getY() <= this.f6412o.getHeight() + this.f6412o.getTop() + 10) { if (motionEvent.getAction() == 1) { this.f6412o.performClick(); } } } } this.f6412o.setAlpha(1.0f); } int i6 = aV + 113; aN = i6 % 128; if (i6 % 2 != 0) { int i7 = 99 / 0; } return true; } /* JADX INFO: Access modifiers changed from: package-private */ public final void x() { ValueAnimator valueAnimator; int i = 2 % 2; int i2 = aV + 65; aN = i2 % 128; if (i2 % 2 != 0) { this.ax = true; this.az = false; valueAnimator = this.ay; if (valueAnimator == null) { return; } } else { this.ax = false; this.az = false; valueAnimator = this.ay; if (valueAnimator == null) { return; } } valueAnimator.cancel(); this.ay.removeAllUpdateListeners(); int i3 = aN + 113; aV = i3 % 128; if (i3 % 2 == 0) { int i4 = 2 / 3; } } private /* synthetic */ void a(ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aN + 111; aV = i2 % 128; if (i2 % 2 != 0) { WindowManager.LayoutParams attributes = getWindow().getAttributes(); attributes.screenBrightness = ((Float) valueAnimator.getAnimatedValue()).floatValue(); getWindow().setAttributes(attributes); } else { WindowManager.LayoutParams attributes2 = getWindow().getAttributes(); attributes2.screenBrightness = ((Float) valueAnimator.getAnimatedValue()).floatValue(); getWindow().setAttributes(attributes2); Object obj = null; obj.hashCode(); throw null; } } private /* synthetic */ void c(float f, float f2, Animator animator) { float f3; int i = 2 % 2; int i2 = aN; int i3 = i2 + 111; aV = i3 % 128; int i4 = i3 % 2; if (!this.aJ) { int i5 = i2 + 125; aV = i5 % 128; int i6 = i5 % 2; if (!this.aK) { int i7 = i2 + 83; aV = i7 % 128; int i8 = i7 % 2; if (this.ax && cg.g() == ci.ZOOM_CLOSE) { int i9 = aN + 25; aV = i9 % 128; if (i9 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } if ((!this.az) && f == this.aC.c()) { this.az = true; float b = this.aC.b(); if (!(!this.aC.c)) { int i10 = aV + 69; aN = i10 % 128; if (i10 % 2 != 0) { int i11 = 4 / 5; } f3 = 0.5f; } else { int i12 = aV + 41; aN = i12 % 128; int i13 = i12 % 2; f3 = 0.8f; } a(b, f3, 1000); return; } } if (this.ax) { int i14 = aV + 85; aN = i14 % 128; int i15 = i14 % 2; a(f, f2, 1000); int i16 = aN + 25; aV = i16 % 128; int i17 = i16 % 2; return; } return; } } this.aJ = false; this.aK = false; } private void a(final float f, final float f2, int i) { int i2; int i3 = 2 % 2; if (this.aK) { int i4 = aN + 103; aV = i4 % 128; int i5 = i4 % 2; i2 = 750; } else { int i6 = aV + 1; aN = i6 % 128; int i7 = i6 % 2; i2 = ConnectionResult.DRIVE_EXTERNAL_STORAGE_REQUIRED; } ValueAnimator valueAnimator = this.ay; if (valueAnimator != null) { int i8 = aV + 59; aN = i8 % 128; if (i8 % 2 != 0) { valueAnimator.cancel(); this.ay.removeAllUpdateListeners(); int i9 = 49 / 0; } else { valueAnimator.cancel(); this.ay.removeAllUpdateListeners(); } } ValueAnimator ofFloat = ValueAnimator.ofFloat(f, f2); this.ay = ofFloat; ofFloat.setDuration(i2); this.ay.addUpdateListener(new ValueAnimator.AnimatorUpdateListener(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda28 public final bg f$0; @Override // android.animation.ValueAnimator.AnimatorUpdateListener public final void onAnimationUpdate(ValueAnimator valueAnimator2) { bg.m77$r8$lambda$EnG2Btf_G4b9YCaqouxmEQuQ54(this.f$0, valueAnimator2); } { this.f$0 = this; } }); this.ay.setInterpolator(new LinearInterpolator()); this.ay.setStartDelay(i); this.ay.addListener(new e(this, f2, f) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda29 public final bg f$0; public final float f$1; public final float f$2; @Override // android.animation.Animator.AnimatorListener public final void onAnimationEnd(Animator animator) { bg.m91$r8$lambda$vwC3esecdKZp4WW8vbuIym39T8(this.f$0, this.f$1, this.f$2, animator); } { this.f$0 = this; this.f$1 = f2; this.f$2 = f; } }); this.ay.start(); } private float P() { float X; int i = 2 % 2; float f = getWindow().getAttributes().screenBrightness; if (f >= BitmapDescriptorFactory.HUE_RED) { return f; } int i2 = aV + 115; aN = i2 % 128; int i3 = i2 % 2; try { if (Settings.System.getInt(getContentResolver(), "screen_brightness_mode") == 1) { int i4 = aN + 39; aV = i4 % 128; try { if (i4 % 2 == 0) { X = Settings.System.getFloat(getContentResolver(), "screen_auto_brightness_adj"); int i5 = 10 / 0; } else { X = Settings.System.getFloat(getContentResolver(), "screen_auto_brightness_adj"); } } catch (Settings.SettingNotFoundException unused) { X = X(); } } else { X = X(); } return X; } catch (Settings.SettingNotFoundException unused2) { return 0.5f; } } private static /* synthetic */ void aI() { int i = 2 % 2; int i2 = aV + 113; aN = i2 % 128; int i3 = i2 % 2; cg.b(); cg.c(); cg.A(c.a()); int i4 = aV + 61; aN = i4 % 128; if (i4 % 2 != 0) { int i5 = 27 / 0; } } private float X() throws Settings.SettingNotFoundException { int i = 2 % 2; int i2 = aV + 95; aN = i2 % 128; int i3 = i2 % 2; float f = Settings.System.getInt(getContentResolver(), "screen_brightness") / 255.0f; int i4 = aV + 13; aN = i4 % 128; if (i4 % 2 == 0) { return f; } Object obj = null; obj.hashCode(); throw null; } private void T() { int i = 2 % 2; int i2 = aV + 95; aN = i2 % 128; int i3 = i2 % 2; if (this.aL) { this.aL = false; runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda53 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$zI3NIgkkIyDBQVIyFftSyxSN89U(this.f$0); } { this.f$0 = this; } }); int i4 = aN + 67; aV = i4 % 128; int i5 = i4 % 2; } } private /* synthetic */ void aK() { int i = 2 % 2; int i2 = aN + 119; aV = i2 % 128; int i3 = i2 % 2; Object obj = null; this.ah.animate().alpha(BitmapDescriptorFactory.HUE_RED).setDuration(300L).setListener(null).start(); int i4 = aN + 37; aV = i4 % 128; if (i4 % 2 != 0) { return; } obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ public final void D() { int i; int i2 = 2 % 2; int i3 = aN + 87; int i4 = i3 % 128; aV = i4; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } if (this.O) { return; } this.O = true; if (this.h) { int i5 = i4 + 67; aN = i5 % 128; i = i5 % 2 != 0 ? 106 : 50; } else { i = TitleChanger.DEFAULT_ANIMATION_DELAY; } new Handler(Looper.getMainLooper()).postDelayed(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda17 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m81$r8$lambda$QobsRjsSIIooadA3cH9_FWfRJs(this.f$0); } { this.f$0 = this; } }, i); } private /* synthetic */ void aL() { int i = 2 % 2; if (a() != be.a.GRANTED || this.h) { return; } this.ae.setVisibility(0); this.ae.setAlpha(1.0f); if (this.aL) { ah ahVar = this.X; if (ahVar == null) { int i2 = aN + 125; aV = i2 % 128; if (i2 % 2 == 0) { d(5); return; } else { d(3); return; } } ahVar.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda41 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$af7ePBocnbyZbKr9UipstcA4hoY(this.f$0); } { this.f$0 = this; } }); int i3 = aN + 49; aV = i3 % 128; if (i3 % 2 == 0) { int i4 = 3 / 4; } } } private /* synthetic */ void aH() { int i = 2 % 2; if (E()) { return; } this.ab.animate().alpha(1.0f).setDuration(800L).setListener(null).withEndAction(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda12 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m84$r8$lambda$_R8Wmi3Z_Vt2jqcwJO7hqKY6po(this.f$0); } { this.f$0 = this; } }).start(); if (!this.h) { int i2 = aV + 91; aN = i2 % 128; c(i2 % 2 != 0 ? 241 : 800, 0); } int i3 = aV + 77; aN = i3 % 128; int i4 = i3 % 2; } private void U() { synchronized (this) { be.a a2 = a(); cg.a(); float P = P(); this.aI = P; if (P > 0.70000005f) { this.aJ = true; a(P, 0.6f, 0); } if (a2 == be.a.GRANTED && !this.h) { if (this.X == null) { d(1); return; } this.aL = true; try { if (this.T) { this.ae.setVisibility(0); this.X.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda30 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$AQVVcup4cBhMCLRvyyaUiGkuCk0(this.f$0); } { this.f$0 = this; } }); } } catch (Exception unused) { } this.X.b(); } t.c = true; t.a = 0; this.i = bp.c(a2, this.h); getFragmentManager().beginTransaction().replace(this.aa, this.i, "PreEnroll").commitAllowingStateLoss(); } } private /* synthetic */ void aJ() { int i = 2 % 2; int i2 = aN + 41; aV = i2 % 128; int i3 = i2 % 2; T(); if (i3 == 0) { throw null; } int i4 = aV + 5; aN = i4 % 128; int i5 = i4 % 2; } private void W() { synchronized (this) { if (E()) { return; } if (this.X == null) { d(2); return; } ImageView imageView = this.f6412o; if (imageView != null) { imageView.setEnabled(false); new Handler(Looper.getMainLooper()).postDelayed(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda0 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$rd5GT7wcdR_CcZKjnLymwrl749w(this.f$0); } { this.f$0 = this; } }, 800L); } this.X.b(); if ((FaceTecSDK.d == FaceTecSDK.e.LOW_LIGHT || FaceTecSDK.d == FaceTecSDK.e.LOW_LIGHT_FROM_SENSOR) && !this.ax) { this.ax = true; this.aJ = false; this.aK = false; a(this.aC.c(), this.aC.c ? 0.55f : 0.8f, 0); } FragmentTransaction beginTransaction = getFragmentManager().beginTransaction(); if (this.i == null && this.v == null) { beginTransaction.setCustomAnimations(R.animator.facetec_no_delay_fade_in, 0).replace(this.aa, this.e, "Zoom").commitAllowingStateLoss(); dp.c(this); } beginTransaction.replace(this.aa, this.e, "Zoom").commitAllowingStateLoss(); this.i = null; this.v = null; dp.c(this); } } private /* synthetic */ void aG() { int i = 2 % 2; int i2 = aV + 91; aN = i2 % 128; int i3 = i2 % 2; ImageView imageView = this.f6412o; if (imageView != null) { imageView.setEnabled(true); int i4 = aV + 19; aN = i4 % 128; int i5 = i4 % 2; } } private void a(boolean z) throws NullPointerException { int i = 2 % 2; int i2 = aN + 59; aV = i2 % 128; int i3 = i2 % 2; c(z); this.b.a = true; this.b.f(); int i4 = aN + 5; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } @Override // com.facetec.sdk.be final void e() { synchronized (this) { boolean z = this.aq; if (z) { bi biVar = this.m; if (biVar != null) { biVar.f(); } return; } if (this.D) { return; } this.D = true; if (this.F) { return; } if (!z && !this.h) { if (a() != be.a.GRANTED) { d(FaceTecSessionStatus.CONTEXT_SWITCH, (FaceTecIDScanStatus) null); } else if (!E()) { this.l.a(this, t.d.SESSION_CONTEXT_SWITCH); c(false); } t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecSessionStatus.CONTEXT_SWITCH.toString()); return; } t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecIDScanStatus.CONTEXT_SWITCH.toString()); } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void r() { int i = 2 % 2; if (!(!this.h)) { int i2 = aV + 57; aN = i2 % 128; int i3 = i2 % 2; b(FaceTecIDScanStatus.CAMERA_PERMISSION_DENIED); int i4 = aV + 99; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } return; } d(FaceTecSessionStatus.CAMERA_PERMISSION_DENIED); } private /* synthetic */ void aC() { int i = 2 % 2; int i2 = aN + 23; aV = i2 % 128; if (i2 % 2 == 0) { getFragmentManager().beginTransaction().replace(this.aa, this.x, "Results").addToBackStack("zoom").commitAllowingStateLoss(); int i3 = 50 / 0; } else { getFragmentManager().beginTransaction().replace(this.aa, this.x, "Results").addToBackStack("zoom").commitAllowingStateLoss(); } int i4 = aV + 83; aN = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void j() { synchronized (this) { cg.h(); if (FaceTecSessionActivity.e != null) { this.x = co.d(false, this.aA); if (FaceTecSDK.c.k.b == FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM) { ah(); } this.e.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda11 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m87$r8$lambda$oLoYRLGud1Hrj0etYchD5xDbwY(this.f$0); } { this.f$0 = this; } }, 400L); } } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void b() { synchronized (this) { as.c(this); this.l.a(this, t.d.USER_WAS_SUCCESSFUL); ad(); try { bt.d(this); } catch (Throwable th) { t.a(this, com.facetec.sdk.d.LOG_SUCCESSFUL_ENROLLMENT_ERROR, th.getMessage()); } this.F = true; this.E = true; if (FaceTecSDK.c.vocalGuidanceCustomization.mode == FaceTecVocalGuidanceCustomization.VocalGuidanceMode.FULL_VOCAL_GUIDANCE) { dp.b(this, dp.b.UPLOADING); } try { ac(); } catch (Throwable th2) { t.d(this, th2, com.facetec.sdk.d.ASYNC_FACE_SCAN_SUCCESS_TASK_ERROR, th2.getMessage(), true); b(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); } } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void f() { synchronized (this) { this.l.a(this, t.d.USER_FAILED); ad(); try { a(true); this.v = cn.l(); this.e.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda51 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$X1UAFmMMUSNhhanc248_28JPg9U(this.f$0); } { this.f$0 = this; } }, 400L); } catch (Throwable th) { com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder(); sb.append(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); sb.append(": "); sb.append(th.getMessage()); t.d(this, th, dVar, sb.toString(), true); b(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); } } } private /* synthetic */ void aF() { int i = 2 % 2; int i2 = aV + 9; aN = i2 % 128; int i3 = i2 % 2; J(); int i4 = aV + 13; aN = i4 % 128; int i5 = i4 % 2; } @Override // com.facetec.sdk.be final void t() { synchronized (this) { b(false); t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecIDScanStatus.LANDSCAPE_MODE_NOT_ALLOWED.toString()); if (this.aq) { d(this.r.getStatus(), FaceTecIDScanStatus.LANDSCAPE_MODE_NOT_ALLOWED); } else { d(FaceTecSessionStatus.LANDSCAPE_MODE_NOT_ALLOWED, (FaceTecIDScanStatus) null); } } } private void b(FaceTecSessionStatus faceTecSessionStatus) { synchronized (this) { d(faceTecSessionStatus, (FaceTecIDScanStatus) null); } } /* JADX INFO: Access modifiers changed from: package-private */ public final void d(FaceTecSessionStatus faceTecSessionStatus) { int i = 2 % 2; int i2 = aV + 5; aN = i2 % 128; int i3 = i2 % 2; e(faceTecSessionStatus, (FaceTecIDScanStatus) null); if (i3 != 0) { int i4 = 75 / 0; } } /* JADX INFO: Access modifiers changed from: package-private */ public final void c(FaceTecIDScanStatus faceTecIDScanStatus) { int i = 2 % 2; int i2 = aN + 115; aV = i2 % 128; int i3 = i2 % 2; e(FaceTecSessionStatus.SESSION_COMPLETED_SUCCESSFULLY, faceTecIDScanStatus); if (i3 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void aE() { int i = 2 % 2; int i2 = aV + 115; aN = i2 % 128; int i3 = i2 % 2; Object obj = null; S(); if (i3 != 0) { throw null; } int i4 = aN + 125; aV = i4 % 128; if (i4 % 2 != 0) { return; } obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:37:0x0127, code lost: if (r9 == null) goto L65; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void e(com.facetec.sdk.FaceTecSessionStatus r8, com.facetec.sdk.FaceTecIDScanStatus r9) { /* Method dump skipped, instructions count: 386 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.e(com.facetec.sdk.FaceTecSessionStatus, com.facetec.sdk.FaceTecIDScanStatus):void"); } private void b(int i) { int i2 = 2 % 2; int i3 = aV + 105; aN = i3 % 128; int i4 = i3 % 2; if (isFinishing()) { return; } final cn l = cn.l(); this.a.postDelayed(new Runnable(this, l) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda42 public final bg f$0; public final cn f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$6CzisR_77RbiUsXk8hr_cbONGhc(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = l; } }, i); int i5 = aN + 25; aV = i5 % 128; int i6 = i5 % 2; } private /* synthetic */ void b(cn cnVar) { int i = 2 % 2; int i2 = aN + 3; aV = i2 % 128; int i3 = i2 % 2; if (isFinishing()) { return; } getFragmentManager().beginTransaction().replace(this.aa, cnVar, "RetryZoom").commitAllowingStateLoss(); this.v = cnVar; int i4 = aV + 41; aN = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: Code restructure failed: missing block: B:21:0x009e, code lost: if (r1 != false) goto L31; */ /* JADX WARN: Code restructure failed: missing block: B:46:0x0034, code lost: r11.l.a(r11, com.facetec.sdk.t.d.PRE_SESSION_PHASE_1_TIMEOUT); */ /* JADX WARN: Code restructure failed: missing block: B:48:0x0021, code lost: if (com.facetec.sdk.ay.a != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost: if ((!com.facetec.sdk.ay.a) != false) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost: r11.l.a(r11, com.facetec.sdk.t.d.PRE_SESSION_PHASE_2_TIMEOUT); r1 = com.facetec.sdk.bg.aV + 97; com.facetec.sdk.bg.aN = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Removed duplicated region for block: B:15:0x0083 A[Catch: all -> 0x0116, TryCatch #0 {all -> 0x0116, blocks: (B:8:0x003e, B:13:0x0054, B:15:0x0083, B:17:0x008b, B:25:0x00a5, B:26:0x0112, B:28:0x00c2, B:31:0x00d1, B:36:0x00e2, B:38:0x00e8), top: B:7:0x003e }] */ /* JADX WARN: Removed duplicated region for block: B:31:0x00d1 A[Catch: all -> 0x0116, TRY_ENTER, TRY_LEAVE, TryCatch #0 {all -> 0x0116, blocks: (B:8:0x003e, B:13:0x0054, B:15:0x0083, B:17:0x008b, B:25:0x00a5, B:26:0x0112, B:28:0x00c2, B:31:0x00d1, B:36:0x00e2, B:38:0x00e8), top: B:7:0x003e }] */ @Override // com.facetec.sdk.be /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void g() { /* Method dump skipped, instructions count: 316 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.g():void"); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void h() { int i = 2 % 2; int i2 = aV + 55; aN = i2 % 128; int i3 = i2 % 2; dp.d(); this.l.a(this, t.d.SESSION_TIMEOUT); ad(); try { a(false); b(TitleChanger.DEFAULT_ANIMATION_DELAY); int i4 = aN + 125; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 15 / 0; } } catch (Throwable th) { com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder(); sb.append(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); sb.append(": "); sb.append(th.getMessage()); t.d(this, th, dVar, sb.toString(), true); b(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void e(int i) { int i2 = 2 % 2; com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder(); sb.append(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR); sb.append(": "); sb.append(i); t.d(this, null, dVar, sb.toString(), !ah.d); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); int i3 = aV + 11; aN = i3 % 128; if (i3 % 2 != 0) { throw null; } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void e(String str) { int i = 2 % 2; int i2 = aV + 23; aN = i2 % 128; int i3 = i2 % 2; if (!(!this.aq)) { t.a(this, com.facetec.sdk.d.UNEXPECTED_EARLY_EXIT_IDSCAN, "IDScan Camera Error: ".concat(String.valueOf(str))); c(FaceTecIDScanStatus.CAMERA_ERROR); int i4 = aN + 75; aV = i4 % 128; int i5 = i4 % 2; return; } t.a(this, com.facetec.sdk.d.UNEXPECTED_EARLY_EXIT_FACESCAN, "FaceScan Camera Error: ".concat(String.valueOf(str))); d(FaceTecSessionStatus.CAMERA_INITIALIZATION_ISSUE, (FaceTecIDScanStatus) null); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void m() { int i = 2 % 2; int i2 = aV + 109; aN = i2 % 128; if (i2 % 2 != 0) { this.e = ay.d(); this.H = false; cg.X(dp.e()); } else { this.e = ay.d(); this.H = false; cg.X(dp.e()); } ay.a = true; W(); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void o() { synchronized (this) { this.l.a(this, t.d.USER_CANCELLED); t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecSessionStatus.USER_CANCELLED.toString()); d(FaceTecSessionStatus.USER_CANCELLED, (FaceTecIDScanStatus) null); } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void k() { synchronized (this) { t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecSessionStatus.USER_CANCELLED.toString()); if (this.b == null) { return; } this.b.i(); this.b.e(true); if (!this.b.e((Context) this, false)) { e(ak.r); } this.v.s(); } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void q() { synchronized (this) { if (this.aq) { c(FaceTecIDScanStatus.SUCCESS); } else { d(FaceTecSessionStatus.SESSION_COMPLETED_SUCCESSFULLY); } } } @Override // android.app.Activity public void onBackPressed() { bi biVar; synchronized (this) { if (E()) { return; } if (Q()) { if (!this.P) { if (!this.aq || (biVar = this.m) == null) { if (d()) { e(false); d(FaceTecSessionStatus.CAMERA_PERMISSION_DENIED); return; } else if (this.v != null && getFragmentManager().findFragmentByTag("RetryZoom") != null) { ((bb) getFragmentManager().findFragmentByTag("RetryZoom")).c(); return; } else if (this.i != null && getFragmentManager().findFragmentByTag("PreEnroll") != null) { if (a() != be.a.GRANTED) { r(); return; } else { s(); return; } } } else { biVar.j.c(false, true); biVar.g.c(false, true); biVar.e.c(false, true); biVar.c.c(false, true); c(FaceTecIDScanStatus.USER_CANCELED); return; } } l(); } } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void l() { synchronized (this) { if (this.a != null) { this.a.removeCallbacks(null); } if (this.aq) { b(false); if (this.h) { d(FaceTecSessionStatus.USER_CANCELLED, FaceTecIDScanStatus.USER_CANCELED); return; } else if (this.H) { this.l.a(this, t.d.USER_CANCELLED); cy.c(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda52 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m92$r8$lambda$yBqdCIgsQ5z1d02UZW_cWFJg0s(this.f$0); } { this.f$0 = this; } }); return; } else { d(this.r.getStatus(), FaceTecIDScanStatus.USER_CANCELED); return; } } this.l.a(this, t.d.USER_CANCELLED); c(false); if (this.b != null) { this.b.a = true; this.b.c = true; if (this.y == a.PRE_SESSION_STARTED) { this.b.i(); } else if (this.y == a.FACESCAN_SESSION_STARTED) { this.b.e(true); } } try { b(TitleChanger.DEFAULT_ANIMATION_DELAY); } catch (Throwable th) { com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder("Unknown error: "); sb.append(th.getMessage()); t.d(this, th, dVar, sb.toString(), true); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); } } } private /* synthetic */ void aD() { int i = 2 % 2; int i2 = aV + 19; aN = i2 % 128; int i3 = i2 % 2; d(this.r.getStatus(), FaceTecIDScanStatus.USER_CANCELED); int i4 = aV + 9; aN = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: com.facetec.sdk.bg$1, reason: invalid class name */ /* loaded from: classes.dex */ public static final /* synthetic */ class AnonymousClass1 { static final int[] c; static final int[] d; static { int[] iArr = new int[FaceTecSessionStatus.values().length]; c = iArr; try { iArr[FaceTecSessionStatus.SESSION_COMPLETED_SUCCESSFULLY.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { c[FaceTecSessionStatus.TIMEOUT.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { c[FaceTecSessionStatus.CONTEXT_SWITCH.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { c[FaceTecSessionStatus.REVERSE_PORTRAIT_NOT_ALLOWED.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { c[FaceTecSessionStatus.LANDSCAPE_MODE_NOT_ALLOWED.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { c[FaceTecSessionStatus.NON_PRODUCTION_MODE_KEY_INVALID.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { c[FaceTecSessionStatus.USER_CANCELLED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } try { c[FaceTecSessionStatus.CAMERA_PERMISSION_DENIED.ordinal()] = 8; } catch (NoSuchFieldError unused8) { } try { c[FaceTecSessionStatus.SESSION_UNSUCCESSFUL.ordinal()] = 9; } catch (NoSuchFieldError unused9) { } int[] iArr2 = new int[FaceTecSDKStatus.values().length]; d = iArr2; try { iArr2[FaceTecSDKStatus.INVALID_DEVICE_KEY_IDENTIFIER.ordinal()] = 1; } catch (NoSuchFieldError unused10) { } try { d[FaceTecSDKStatus.NETWORK_ISSUES.ordinal()] = 2; } catch (NoSuchFieldError unused11) { } try { d[FaceTecSDKStatus.DEVICE_LOCKED_OUT.ordinal()] = 3; } catch (NoSuchFieldError unused12) { } try { d[FaceTecSDKStatus.ENCRYPTION_KEY_INVALID.ordinal()] = 4; } catch (NoSuchFieldError unused13) { } try { d[FaceTecSDKStatus.DEVICE_IN_LANDSCAPE_MODE.ordinal()] = 5; } catch (NoSuchFieldError unused14) { } try { d[FaceTecSDKStatus.DEVICE_IN_REVERSE_PORTRAIT_MODE.ordinal()] = 6; } catch (NoSuchFieldError unused15) { } try { d[FaceTecSDKStatus.DEVICE_NOT_SUPPORTED.ordinal()] = 7; } catch (NoSuchFieldError unused16) { } } } private /* synthetic */ void aB() { int i = 2 % 2; int i2 = aN + 43; aV = i2 % 128; int i3 = i2 % 2; d(FaceTecSessionStatus.USER_CANCELLED_VIA_CLICKABLE_READY_SCREEN_SUBTEXT, (FaceTecIDScanStatus) null); int i4 = aN + 107; aV = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ public final void B() { int i = 2 % 2; int i2 = aN + 97; aV = i2 % 128; int i3 = i2 % 2; b(false); Object obj = null; if (this.a != null) { int i4 = aN + 49; aV = i4 % 128; if (i4 % 2 == 0) { this.a.removeCallbacks(null); obj.hashCode(); throw null; } this.a.removeCallbacks(null); } if (!this.H) { d(FaceTecSessionStatus.USER_CANCELLED_VIA_CLICKABLE_READY_SCREEN_SUBTEXT, (FaceTecIDScanStatus) null); return; } this.l.a(this, t.d.USER_CANCELLED); cy.c(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda32 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$BTk6vVsnlU_iX9RjzfBVcTJrkoU(this.f$0); } { this.f$0 = this; } }); int i5 = aV + 53; aN = i5 % 128; if (i5 % 2 != 0) { int i6 = 64 / 0; } } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void n() { int i = 2 % 2; int i2 = aV + 41; aN = i2 % 128; int i3 = i2 % 2; cg.X(dp.e()); ay.a = true; W(); int i4 = aN + 77; aV = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void s() { int i = 2 % 2; int i2 = aN + 73; aV = i2 % 128; c(i2 % 2 == 0); this.l.a(this, t.d.USER_CANCELLED); t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecSessionStatus.USER_CANCELLED.toString()); d(FaceTecSessionStatus.USER_CANCELLED, (FaceTecIDScanStatus) null); } @Override // android.app.Activity public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { synchronized (this) { super.onRequestPermissionsResult(i, strArr, iArr); e(false); if (i == 0) { try { SharedPreferences.Editor edit = bf.j(this).edit(); edit.putBoolean("cameraPermissionsShown", true); edit.apply(); if (iArr.length != 1 || iArr[0] != 0) { if (this.h) { t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecIDScanStatus.CAMERA_PERMISSION_DENIED.toString()); b(FaceTecIDScanStatus.CAMERA_PERMISSION_DENIED); return; } else { t.a(this, com.facetec.sdk.d.NON_FATAL_ERROR, FaceTecSessionStatus.CAMERA_PERMISSION_DENIED.toString()); d(FaceTecSessionStatus.CAMERA_PERMISSION_DENIED, (FaceTecIDScanStatus) null); return; } } aa(); if (!this.h) { runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda18 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m85$r8$lambda$c4dT0BzpMyimEuV0XMh6oODFTY(this.f$0); } { this.f$0 = this; } }); ah ahVar = this.X; if (ahVar == null) { d(4); return; } else { this.aL = true; ahVar.a(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda19 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$hwpeLvECR0PLu8rpt7JTIgiRNoY(this.f$0); } { this.f$0 = this; } }); this.X.b(); } } this.i.k(); } catch (Exception e) { com.facetec.sdk.d dVar = com.facetec.sdk.d.SEVERE_ERROR; StringBuilder sb = new StringBuilder("Camera Permission Request Error: "); sb.append(e.getMessage()); t.d(this, e, dVar, sb.toString(), true ^ ah.d); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, (FaceTecIDScanStatus) null); } } } } private /* synthetic */ void ay() { RelativeLayout relativeLayout; float f; int i = 2 % 2; int i2 = aN + 111; aV = i2 % 128; if (i2 % 2 == 0) { this.ae.setVisibility(0); relativeLayout = this.ae; f = 2.0f; } else { this.ae.setVisibility(0); relativeLayout = this.ae; f = 1.0f; } relativeLayout.setAlpha(f); int i3 = aN + 13; aV = i3 % 128; int i4 = i3 % 2; } private /* synthetic */ void ax() { int i = 2 % 2; int i2 = aV + 49; aN = i2 % 128; int i3 = i2 % 2; T(); if (i3 != 0) { int i4 = 80 / 0; } } private void V() throws ae { synchronized (this) { this.e = ay.d(); if (this.X == null) { ah c = ah.c((ViewGroup) this.ae, (Activity) this, false); this.X = c; this.T = c instanceof af; } } } private void aa() throws ae { synchronized (this) { if (FaceTecSessionActivity.e != null) { V(); return; } boolean z = this.h; if (z) { this.m = bi.d(false, z); } else { t.a(this, com.facetec.sdk.d.UNEXPECTED_EARLY_EXIT_FACESCAN, "Error when setting up primary fragment"); d(FaceTecSessionStatus.UNKNOWN_INTERNAL_ERROR, FaceTecIDScanStatus.UNSUCCESS); } } } private /* synthetic */ void b(View view) { int i = 2 % 2; int i2 = aN; int i3 = i2 + 7; aV = i3 % 128; int i4 = i3 % 2; if (view != null) { int i5 = i2 + 85; aV = i5 % 128; int i6 = i5 % 2; view.setVisibility(4); } this.ag.setVisibility(4); int i7 = aN + 15; aV = i7 % 128; int i8 = i7 % 2; } private void Y() { final View view; int i = 2 % 2; int i2 = aV + 63; int i3 = i2 % 128; aN = i3; int i4 = i2 % 2; ah ahVar = this.X; if (ahVar != null) { int i5 = i3 + 31; aV = i5 % 128; if (i5 % 2 == 0) { view = ahVar.d(); int i6 = 83 / 0; } else { view = ahVar.d(); } } else { view = null; } db.f(this.ah); this.ah.animate().alpha(1.0f).setDuration(300L).setListener(null).withEndAction(new Runnable(this, view) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda59 public final bg f$0; public final View f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$9KmNQduO8mkN9WtdG3ZsDXArB0c(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = view; } }).start(); S(); } private void b(FaceTecIDScanStatus faceTecIDScanStatus) { synchronized (this) { this.F = true; this.E = false; if (this.b != null) { this.b.e(); } c(faceTecIDScanStatus); } } /* JADX INFO: Access modifiers changed from: package-private */ public final void d(FaceTecSessionStatus faceTecSessionStatus, FaceTecIDScanStatus faceTecIDScanStatus) { synchronized (this) { this.E = false; if (this.b != null && faceTecIDScanStatus == null) { this.b.a = true; this.b.e(); } if (E() && faceTecIDScanStatus != FaceTecIDScanStatus.SKIPPED) { this.G = false; return; } if (this.aq) { c(faceTecIDScanStatus); return; } this.F = true; this.E = false; if (faceTecIDScanStatus == FaceTecIDScanStatus.SKIPPED) { e(faceTecSessionStatus, faceTecIDScanStatus); } else { d(faceTecSessionStatus); } } } private void b(boolean z) { boolean z2; synchronized (this) { if (this.b != null) { this.b.o(); if (z) { cd.b(); this.b = null; } else { z2 = true; } } z2 = false; } if (z2) { Thread thread = new Thread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda25 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m86$r8$lambda$dD8uhsYYOZcRRUBdrT0th77ZrY(this.f$0); } { this.f$0 = this; } }); thread.setPriority(10); thread.start(); } } private /* synthetic */ void aA() { int i = 2 % 2; int i2 = aN + 3; aV = i2 % 128; int i3 = i2 % 2; b(true); int i4 = aV + 3; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } private void d(FaceTecIDScanNextStep faceTecIDScanNextStep) { synchronized (this) { if (FaceTecSessionActivity.i == null) { d(this.r.getStatus()); return; } if (faceTecIDScanNextStep == FaceTecIDScanNextStep.SKIP) { d(this.r.getStatus(), FaceTecIDScanStatus.SKIPPED); return; } this.F = false; if (this.b != null && hasWindowFocus()) { e(faceTecIDScanNextStep); } } } /* JADX INFO: Access modifiers changed from: protected */ public final void d(final String str) { int i = 2 % 2; runOnUiThread(new Runnable(this, str) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda43 public final bg f$0; public final String f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$2QPTpkkn6617GIA8gSc78CJRGqU(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = str; } }); int i2 = aV + 105; aN = i2 % 128; int i3 = i2 % 2; } private /* synthetic */ void h(String str) { int i = 2 % 2; int i2 = aN + 61; aV = i2 % 128; int i3 = i2 % 2; if (this.x != null) { int i4 = aN + 9; aV = i4 % 128; if (i4 % 2 != 0) { this.x.b(str); } else { this.x.b(str); throw null; } } } /* JADX INFO: Access modifiers changed from: protected */ public final void a(final float f) { int i = 2 % 2; runOnUiThread(new Runnable(this, f) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda47 public final bg f$0; public final float f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$bC4cUk7DAHnMjxOcbyePZKCy7Oo(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = f; } }); int i2 = aN + 1; aV = i2 % 128; if (i2 % 2 == 0) { int i3 = 16 / 0; } } private /* synthetic */ void d(float f) { int i = 2 % 2; int i2 = aV + 111; aN = i2 % 128; int i3 = i2 % 2; if (this.x != null) { int i4 = aN + 5; aV = i4 % 128; if (i4 % 2 == 0) { this.x.b(f); throw null; } this.x.b(f); } int i5 = aV + 111; aN = i5 % 128; if (i5 % 2 != 0) { int i6 = 61 / 0; } } /* JADX INFO: Access modifiers changed from: protected */ public final void b(final FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; t.a(this, com.facetec.sdk.d.DEVELOPER_USED_FACESCAN_CALLBACK, "succeed"); if (FaceTecSDK.c.vocalGuidanceCustomization.mode == FaceTecVocalGuidanceCustomization.VocalGuidanceMode.FULL_VOCAL_GUIDANCE) { int i2 = aN + 101; aV = i2 % 128; int i3 = i2 % 2; dp.b(this, dp.b.SUCCESS); } else if (!dp.e) { SharedPreferences.Editor edit = dp.b.edit(); edit.putBoolean("facetecMoveCloserSoundHasBeenPlayed", true); edit.apply(); } if (FaceTecSessionActivity.i != null) { int i4 = aV + 117; aN = i4 % 128; if (i4 % 2 != 0) { this.J = false; } else { this.J = true; } } runOnUiThread(new Runnable(this, faceTecIDScanNextStep) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda40 public final bg f$0; public final FaceTecIDScanNextStep f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$etgSkKwGi_nQpHPDBUZWqAmTqqk(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = faceTecIDScanNextStep; } }); } private /* synthetic */ void a(FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aV + 9; aN = i2 % 128; int i3 = i2 % 2; d(faceTecIDScanNextStep); if (i3 != 0) { int i4 = 81 / 0; } int i5 = aN + 37; aV = i5 % 128; if (i5 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void c(final FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aN + 39; aV = i2 % 128; if (i2 % 2 == 0) { int i3 = 69 / 0; if (this.x == null) { return; } } else if (this.x == null) { return; } this.x.e(true, FaceTecCustomization.overrideResultScreenSuccessMessage, new Runnable(this, faceTecIDScanNextStep) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda45 public final bg f$0; public final FaceTecIDScanNextStep f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$GeN9RPfIOAWNZVTgknKiPFQoszE(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = faceTecIDScanNextStep; } }); int i4 = aV + 125; aN = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: protected */ /* JADX WARN: Code restructure failed: missing block: B:10:0x002f, code lost: if (r5.b != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001f, code lost: if (r5.b != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0031, code lost: r5.b.a = false; r5.b.e(true); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void A() { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 113 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 java.lang.String r2 = "retry" r3 = 0 r4 = 1 if (r1 != 0) goto L22 com.facetec.sdk.d r1 = com.facetec.sdk.d.DEVELOPER_USED_FACESCAN_CALLBACK com.facetec.sdk.t.a(r5, r1, r2) r5.F = r4 r5.E = r4 r5.G = r4 com.facetec.sdk.cd r1 = r5.b if (r1 == 0) goto L3a goto L31 L22: com.facetec.sdk.d r1 = com.facetec.sdk.d.DEVELOPER_USED_FACESCAN_CALLBACK com.facetec.sdk.t.a(r5, r1, r2) r5.F = r3 r5.E = r3 r5.G = r3 com.facetec.sdk.cd r1 = r5.b if (r1 == 0) goto L3a L31: com.facetec.sdk.cd r1 = r5.b r1.a = r3 com.facetec.sdk.cd r1 = r5.b r1.e(r4) L3a: r5.K = r4 com.facetec.sdk.bg$$ExternalSyntheticLambda57 r1 = new com.facetec.sdk.bg$$ExternalSyntheticLambda57 r1.(r5) r5.runOnUiThread(r1) int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 3 int r2 = r1 % 128 com.facetec.sdk.bg.aN = r2 int r1 = r1 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.A():void"); } private /* synthetic */ void at() { int i = 2 % 2; int i2 = aN + 67; aV = i2 % 128; Object obj = null; if (i2 % 2 == 0) { obj.hashCode(); throw null; } if (this.x != null) { this.x.e(false, (String) null, new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda26 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$BLHvuZCqURSG3HOyKm1GiwsWUJU(this.f$0); } { this.f$0 = this; } }); int i3 = aN + 105; aV = i3 % 128; if (i3 % 2 == 0) { int i4 = 4 % 2; } } } private /* synthetic */ void az() { int i = 2 % 2; if (!isFinishing()) { int i2 = aN + 115; aV = i2 % 128; if (i2 % 2 == 0) { hasWindowFocus(); throw null; } if (hasWindowFocus()) { J(); int i3 = aN + 19; aV = i3 % 128; int i4 = i3 % 2; } } int i5 = aN + 17; aV = i5 % 128; int i6 = i5 % 2; } /* JADX INFO: Access modifiers changed from: protected */ public final boolean c(String str, FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aN + 75; aV = i2 % 128; int i3 = i2 % 2; String aa = cg.aa(str, false); if (aa.isEmpty()) { int i4 = aN + 111; aV = i4 % 128; int i5 = i4 % 2; t.a(this, com.facetec.sdk.d.SCAN_RESULT_BLOB_DECODE_ERROR, (String) null); A(); return false; } try { if (!new JSONObject(aa).optBoolean("success", false)) { A(); return false; } int i6 = aN + 57; aV = i6 % 128; int i7 = i6 % 2; b(faceTecIDScanNextStep); return true; } catch (JSONException unused) { A(); return false; } } /* JADX INFO: Access modifiers changed from: protected */ public final boolean a(String str) { boolean z; boolean z2; boolean z3; boolean z4; boolean z5; boolean z6; boolean z7; boolean z8; boolean z9; int i = 2 % 2; try { JSONObject jSONObject = new JSONObject(cg.aa(str, true)); JSONObject optJSONObject = jSONObject.optJSONObject("data"); if (optJSONObject == null) { C(); return false; } JSONObject optJSONObject2 = optJSONObject.optJSONObject("flags"); if (optJSONObject2 == null) { C(); return false; } int optInt = optJSONObject2.optInt("nextStep"); boolean optBoolean = optJSONObject2.optBoolean("isPassport", false); boolean optBoolean2 = jSONObject.optBoolean("success"); JSONObject optJSONObject3 = optJSONObject.optJSONObject("resultsFlags"); if (optJSONObject3 != null) { z4 = optJSONObject3.optBoolean("matchedHighlyEnough"); z5 = optJSONObject3.optBoolean("wasFullID"); z6 = optJSONObject3.optBoolean("idTypeNotSupported"); z7 = optJSONObject3.optBoolean("overzoomedDocument"); z3 = optJSONObject3.optBoolean("retryDueToBarcode"); z2 = optJSONObject3.optBoolean("wasLikelyRealID"); z = !FaceTecSDK.c.h.disableAdditionalReviewScreen ? optJSONObject3.optBoolean("additionalReviewRequired") : false; } else { z = false; z2 = false; z3 = false; z4 = false; z5 = false; z6 = false; z7 = false; } int i2 = this.an; if (i2 == 1 || i2 == 2) { z8 = true; } else { int i3 = aN + 5; aV = i3 % 128; int i4 = i3 % 2; z8 = false; } this.an = optInt; this.m = bi.d(z7, this.h); cm cmVar = cm.UNKNOWN; if (!optBoolean2) { int i5 = aV + 31; aN = i5 % 128; if (i5 % 2 != 0) { throw null; } cmVar = z6 ? cm.IDSCAN_RETRY_ID_TYPE_NOT_SUPPORTED : !z5 ? cm.IDSCAN_RETRY_ID_NOT_FULLY_VISIBLE : (z4 || !z2) ? z3 ? cm.IDSCAN_RETRY_BARCODE_NOT_READ : cm.IDSCAN_RETRY_OCR_RESULTS_NOT_GOOD_ENOUGH : cm.IDSCAN_RETRY_FACE_DID_NOT_MATCH; } else if (optInt == 1) { cmVar = cm.IDSCAN_SUCCESS_FRONT_SIDE_BACK_NEXT; } else if (optInt == 3) { int i6 = aN; int i7 = i6 + 45; aV = i7 % 128; int i8 = i7 % 2; if (!this.P) { cmVar = z8 ? cm.IDSCAN_SUCCESS_BACK_SIDE : optBoolean ? cm.IDSCAN_SUCCESS_PASSPORT : cm.IDSCAN_SUCCESS_FRONT_SIDE; } else if (this.aw) { int i9 = i6 + 113; aV = i9 % 128; if (i9 % 2 == 0) { cm cmVar2 = cm.IDSCAN_SKIP_OR_ERROR_NFC; Object obj = null; obj.hashCode(); throw null; } cmVar = cm.IDSCAN_SKIP_OR_ERROR_NFC; } else { cmVar = cm.IDSCAN_SUCCESS_NFC; } } else if (optInt == 4) { if (z) { int i10 = aV + 9; aN = i10 % 128; if (i10 % 2 != 0) { cmVar = cm.IDSCAN_SUCCESS_ADDITIONAL_REVIEW; int i11 = 31 / 0; } else { cmVar = cm.IDSCAN_SUCCESS_ADDITIONAL_REVIEW; } } else { cmVar = cm.IDSCAN_SUCCESS_USER_CONFIRMATION; } } else if (optInt == 5) { int i12 = aV + 77; aN = i12 % 128; if (i12 % 2 != 0) { throw null; } cmVar = z8 ? cm.IDSCAN_SUCCESS_BACK_SIDE_NFC_NEXT : optBoolean ? cm.IDSCAN_SUCCESS_PASSPORT_NFC_NEXT : cm.IDSCAN_SUCCESS_FRONT_SIDE_NFC_NEXT; } if (optInt == 3) { int i13 = aV + 93; int i14 = i13 % 128; aN = i14; int i15 = i13 % 2; if (!(!this.P)) { if (this.aw) { int i16 = i14 + 89; aV = i16 % 128; if (i16 % 2 == 0) { cm cmVar3 = cm.IDSCAN_SKIP_OR_ERROR_NFC; throw null; } cmVar = cm.IDSCAN_SKIP_OR_ERROR_NFC; } else { cmVar = cm.IDSCAN_SUCCESS_NFC; } } } this.ap = db.d(cmVar); if (optInt == 4) { if (!z) { z(); return true; } this.R = true; c(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda34 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m80$r8$lambda$L_qlGHX6I6y7x1Sykp5vGiuRD8(this.f$0); } { this.f$0 = this; } }); return true; } if (optInt != 0) { if (optInt == 1) { int i17 = aV + 7; aN = i17 % 128; int i18 = i17 % 2; this.m.i = bi.d.BACK; e(true, bn.BACK, this.ap); } else if (optInt == 2) { this.m.i = bi.d.BACK; z9 = false; e(false, bn.BACK, this.ap); } else if (optInt == 3) { int i19 = aV + 27; aN = i19 % 128; int i20 = i19 % 2; if (this.b != null) { this.b.g(); this.at = optJSONObject; this.L = true; c(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda35 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$KhWXlpNE3d8DS8nY1yCZtsZMolo(this.f$0); } { this.f$0 = this; } }); } else { com.facetec.sdk.d dVar = com.facetec.sdk.d.UNEXPECTED_NULL; StringBuilder sb = new StringBuilder("phoenixHandler is null inside onIDScanResultNextStep(). Session is finished: "); sb.append(isFinishing()); t.a(this, dVar, sb.toString()); } } else if (optInt == 5) { if (optJSONObject2.optBoolean("hasNFC") && !optJSONObject2.optBoolean("isPassport")) { this.ac = true; } this.U = optJSONObject.optString("mrzKey"); this.av = 0; S(); this.P = true; runOnUiThread(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda36 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$AlYq9rTRBeTM8ni_hH3MOALrYPY(this.f$0); } { this.f$0 = this; } }); t.e(ct.NFC_START); } else { C(); } return false; } this.m.i = bi.d.FRONT; z9 = false; e(false, bn.FRONT, this.ap); return z9; } catch (JSONException unused) { c((FaceTecIDScanStatus) null); return false; } } private void c(final Runnable runnable) { int i = 2 % 2; t.a(this, com.facetec.sdk.d.DEVELOPER_USED_ID_SCAN_CALLBACK, "succeed"); runOnUiThread(new Runnable(this, runnable) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda49 public final bg f$0; public final Runnable f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$AXaE4r9GdWRe2ScPUppdQEfsot8(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = runnable; } }); int i2 = aV + 113; aN = i2 % 128; int i3 = i2 % 2; } private /* synthetic */ void d(final Runnable runnable) { int i = 2 % 2; int i2 = aV + 5; aN = i2 % 128; if (i2 % 2 != 0) { int i3 = 5 / 0; if (this.x == null) { return; } } else if (this.x == null) { return; } this.x.e(true, this.ap, new Runnable(this, runnable) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda15 public final bg f$0; public final Runnable f$1; @Override // java.lang.Runnable public final void run() { bg.m76$r8$lambda$16OmIa1G5GAYVu4EhdHkRJ_8iQ(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = runnable; } }); int i4 = aV + 39; aN = i4 % 128; int i5 = i4 % 2; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost: if (r4 != null) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0027, code lost: if (r4 != null) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002c, code lost: r4.run(); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private /* synthetic */ void b(java.lang.Runnable r4) { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 27 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 boolean r1 = r3.isFinishing() if (r1 != 0) goto L2f boolean r1 = r3.hasWindowFocus() if (r1 == 0) goto L2f int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 27 int r2 = r1 % 128 com.facetec.sdk.bg.aN = r2 int r1 = r1 % r0 if (r1 == 0) goto L2a r1 = 20 int r1 = r1 / 0 if (r4 == 0) goto L2f goto L2c L2a: if (r4 == 0) goto L2f L2c: r4.run() L2f: int r4 = com.facetec.sdk.bg.aV int r4 = r4 + 97 int r1 = r4 % 128 com.facetec.sdk.bg.aN = r1 int r4 = r4 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.b(java.lang.Runnable):void"); } private /* synthetic */ void au() { int i = 2 % 2; int i2 = aV + 29; aN = i2 % 128; int i3 = i2 % 2; N(); int i4 = aV + 123; aN = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void as() { int i = 2 % 2; int i2 = aV + 113; aN = i2 % 128; int i3 = i2 % 2; M(); int i4 = aV + 123; aN = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ /* JADX WARN: Code restructure failed: missing block: B:11:0x003f, code lost: if (r5.x == null) goto L20; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0041, code lost: c(new com.facetec.sdk.bg$$ExternalSyntheticLambda58(r5)); r1 = com.facetec.sdk.bg.aV + 107; com.facetec.sdk.bg.aN = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x0052, code lost: if ((r1 % 2) != 0) goto L16; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0054, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0055, code lost: r2.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:16:0x0058, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x0059, code lost: r2.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:18:0x005c, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x002f, code lost: if (r5.A == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001f, code lost: if (r5.A == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0031, code lost: r1 = com.facetec.sdk.bg.aN + 59; com.facetec.sdk.bg.aV = r1 % 128; r2 = null; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x003b, code lost: if ((r1 % 2) == 0) goto L18; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void z() { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 33 int r2 = r1 % 128 com.facetec.sdk.bg.aN = r2 int r1 = r1 % r0 if (r1 == 0) goto L22 com.facetec.sdk.o r1 = r5.l com.facetec.sdk.t$d r2 = com.facetec.sdk.t.d.USER_WAS_SUCCESSFUL java.lang.String r3 = r5.n boolean r4 = r5.h r1.e(r5, r2, r3, r4) com.facetec.sdk.b r1 = r5.A r2 = 82 int r2 = r2 / 0 if (r1 != 0) goto L5d goto L31 L22: com.facetec.sdk.o r1 = r5.l com.facetec.sdk.t$d r2 = com.facetec.sdk.t.d.USER_WAS_SUCCESSFUL java.lang.String r3 = r5.n boolean r4 = r5.h r1.e(r5, r2, r3, r4) com.facetec.sdk.b r1 = r5.A if (r1 != 0) goto L5d L31: int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 59 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 r2 = 0 if (r1 == 0) goto L59 com.facetec.sdk.co r1 = r5.x if (r1 == 0) goto L5d com.facetec.sdk.bg$$ExternalSyntheticLambda58 r1 = new com.facetec.sdk.bg$$ExternalSyntheticLambda58 r1.(r5) r5.c(r1) int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 107 int r3 = r1 % 128 com.facetec.sdk.bg.aN = r3 int r1 = r1 % r0 if (r1 != 0) goto L55 return L55: r2.hashCode() throw r2 L59: r2.hashCode() throw r2 L5d: com.facetec.sdk.FaceTecIDScanResult r0 = r5.ar com.facetec.sdk.FaceTecIDScanStatus r0 = r0.getStatus() r5.c(r0) return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.z():void"); } private /* synthetic */ void av() { int i = 2 % 2; int i2 = aV + 13; aN = i2 % 128; int i3 = i2 % 2; c(this.ar.getStatus()); int i4 = aV + 5; aN = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } private void e(final boolean z, bn bnVar, final String str) { int i = 2 % 2; t.a(this, com.facetec.sdk.d.DEVELOPER_USED_ID_SCAN_CALLBACK, "retry"); this.ao = true; this.M = false; this.m.k = !z; this.m.f = bnVar; runOnUiThread(new Runnable(this, z, str) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda39 public final bg f$0; public final boolean f$1; public final String f$2; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$gQAX5Itcct_WYCXn540ONoRskgw(this.f$0, this.f$1, this.f$2); } { this.f$0 = this; this.f$1 = z; this.f$2 = str; } }); int i2 = aN + 103; aV = i2 % 128; if (i2 % 2 == 0) { int i3 = 46 / 0; } } private /* synthetic */ void b(boolean z, String str) { int i = 2 % 2; int i2 = aN + 115; aV = i2 % 128; if (i2 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } if (this.x != null) { this.x.e(z, str, new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda61 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m90$r8$lambda$vGrjpmjRrA8vFUuYKL7q8PTsw(this.f$0); } { this.f$0 = this; } }); int i3 = aN + 19; aV = i3 % 128; int i4 = i3 % 2; } } private /* synthetic */ void aw() { int i = 2 % 2; if (!isFinishing()) { int i2 = aN + 21; aV = i2 % 128; int i3 = i2 % 2; if (!hasWindowFocus() || this.x == null) { return; } int i4 = aV + 1; aN = i4 % 128; int i5 = i4 % 2; K(); if (i5 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } } /* JADX INFO: Access modifiers changed from: protected */ public final void C() { int i = 2 % 2; int i2 = aN + 49; aV = i2 % 128; if (i2 % 2 != 0) { t.a(this, com.facetec.sdk.d.DEVELOPER_USED_ID_SCAN_CALLBACK, "cancel"); c(this.ar.getStatus()); int i3 = aN + 29; aV = i3 % 128; int i4 = i3 % 2; return; } t.a(this, com.facetec.sdk.d.DEVELOPER_USED_ID_SCAN_CALLBACK, "cancel"); c(this.ar.getStatus()); Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void aq() { int i = 2 % 2; int i2 = aN + 13; aV = i2 % 128; int i3 = i2 % 2; ab(); int i4 = aV + 85; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } private void c(int i) { int i2 = 2 % 2; int i3 = aN + 49; aV = i3 % 128; int i4 = i3 % 2; if (this.x == null || isFinishing()) { return; } if (i == 0) { int i5 = aN + 77; aV = i5 % 128; int i6 = i5 % 2; ab(); return; } this.x.e(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda38 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$SGyGzlQhRAoHvtxjhJrBkjj3454(this.f$0); } { this.f$0 = this; } }, i); } private void ab() { int i = 2 % 2; int i2 = aV + 41; aN = i2 % 128; if (i2 % 2 == 0) { if (isFinishing()) { int i3 = aN + 17; aV = i3 % 128; int i4 = i3 % 2; return; } else { getFragmentManager().beginTransaction().remove(this.x).commitAllowingStateLoss(); this.x = null; return; } } isFinishing(); throw null; } private /* synthetic */ void f(boolean z) { int i = 2 % 2; int i2 = aV + 27; aN = i2 % 128; int i3 = i2 % 2; if (!(!bf.d())) { this.B = cg.D(); this.z = cg.A(); if (this.z.length > 0) { int i4 = aN + 111; aV = i4 % 128; int i5 = i4 % 2; this.p = BitmapFactory.decodeByteArray(this.z[0], 0, this.z[0].length); } } try { if (bf.e() && z) { FaceTecSessionResult faceTecSessionResult = new FaceTecSessionResult(FaceTecSessionStatus.SESSION_UNSUCCESSFUL, this.B, this.z, cg.t()); faceTecSessionResult.d(cd.d); this.l.e(this, faceTecSessionResult, bf.e); int i6 = aV + 53; aN = i6 % 128; int i7 = i6 % 2; } } catch (Exception unused) { } this.l.a(); if (this.e != null) { this.e.j(); } } private void c(final boolean z) { int i = 2 % 2; int i2 = aN + 1; int i3 = i2 % 128; aV = i3; int i4 = i2 % 2; int i5 = aP; aQ = ((i5 & 41) + (i5 | 41)) % 128; if (!this.N) { this.N = true; dp.d(); cy.b(new Runnable(this, z) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda70 public final bg f$0; public final boolean f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$deSlHiOhX6qAakKjQhJ4fL59OYc(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = z; } }).d(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda1 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$3btV8H6qxZ_UY1wl07uKJmEBS1o(this.f$0); } { this.f$0 = this; } }); aQ = (aP + 91) % 128; return; } aQ = (i5 + 1) % 128; int i6 = i3 + 103; aN = i6 % 128; if (i6 % 2 != 0) { throw null; } } private /* synthetic */ void ar() { int i = 2 % 2; try { this.C = cg.t(); } catch (Exception e) { av.e(e.getMessage()); } if (!(!bf.d()) && this.H) { this.B = cg.D(); this.z = cg.A(); if (this.z.length > 0) { int i2 = aV + 89; aN = i2 % 128; int i3 = i2 % 2; this.p = BitmapFactory.decodeByteArray(this.z[0], 0, this.z[0].length); int i4 = aV + 41; aN = i4 % 128; int i5 = i4 % 2; } } this.l.a(); if (this.e != null) { int i6 = aV + 1; aN = i6 % 128; int i7 = i6 % 2; this.e.j(); } } private void ac() { int i = 2 % 2; aP = (aQ + 73) % 128; cy.b(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda13 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m75$r8$lambda$0SsE3KGjTLnquelw6qlmuUDHgo(this.f$0); } { this.f$0 = this; } }).d(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda14 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m79$r8$lambda$HslRkRznUqTntFC02kSbPma5Jc(this.f$0); } { this.f$0 = this; } }); aQ = (aP + 45) % 128; int i2 = aV + 51; aN = i2 % 128; if (i2 % 2 != 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x003d, code lost: com.facetec.sdk.t.a(r7, com.facetec.sdk.d.FACESCAN_CALLBACK_CALLED, r7.r.getStatus().toString()); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x003b, code lost: if (r2.getStatus() != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x002f, code lost: if (r2.getStatus() != null) goto L11; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private /* synthetic */ void ao() { /* r7 = this; r0 = 2 int r1 = r0 % r0 r1 = 0 r7.E = r1 com.facetec.sdk.FaceTecSessionResult r2 = new com.facetec.sdk.FaceTecSessionResult com.facetec.sdk.FaceTecSessionStatus r3 = com.facetec.sdk.FaceTecSessionStatus.SESSION_COMPLETED_SUCCESSFULLY byte[][] r4 = r7.B byte[][] r5 = r7.z byte[] r6 = r7.C r2.(r3, r4, r5, r6) java.lang.String r3 = com.facetec.sdk.cd.d r2.d(r3) com.facetec.sdk.FaceTecFaceScanProcessor r3 = com.facetec.sdk.FaceTecSessionActivity.e if (r3 == 0) goto L57 int r3 = com.facetec.sdk.bg.aV int r3 = r3 + 31 int r4 = r3 % 128 com.facetec.sdk.bg.aN = r4 int r3 = r3 % r0 if (r3 == 0) goto L32 r7.G = r1 r7.r = r2 com.facetec.sdk.FaceTecSessionStatus r0 = r2.getStatus() if (r0 == 0) goto L4c goto L3d L32: r0 = 1 r7.G = r0 r7.r = r2 com.facetec.sdk.FaceTecSessionStatus r0 = r2.getStatus() if (r0 == 0) goto L4c L3d: com.facetec.sdk.d r0 = com.facetec.sdk.d.FACESCAN_CALLBACK_CALLED com.facetec.sdk.FaceTecSessionResult r1 = r7.r com.facetec.sdk.FaceTecSessionStatus r1 = r1.getStatus() java.lang.String r1 = r1.toString() com.facetec.sdk.t.a(r7, r0, r1) L4c: com.facetec.sdk.FaceTecFaceScanProcessor r0 = com.facetec.sdk.FaceTecSessionActivity.e com.facetec.sdk.bc r1 = new com.facetec.sdk.bc r1.(r7) r0.processSessionWhileFaceTecSDKWaits(r2, r1) return L57: com.facetec.sdk.FaceTecSessionStatus r1 = com.facetec.sdk.FaceTecSessionStatus.SESSION_COMPLETED_SUCCESSFULLY r7.d(r1) int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 125 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 if (r1 == 0) goto L68 return L68: r0 = 0 throw r0 */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.ao():void"); } /* JADX INFO: Access modifiers changed from: package-private */ public final void F() { int i = 2 % 2; Z(); this.au = new da(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda65 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$3eSELk0zVWZSCdxYLiioMBK1xFQ(this.f$0); } { this.f$0 = this; } }); Timer timer = new Timer(); this.as = timer; timer.scheduleAtFixedRate(this.au, 250L, 500L); int i2 = aN + 97; aV = i2 % 128; int i3 = i2 % 2; } private void Z() { int i = 2 % 2; Timer timer = this.as; if (timer != null) { int i2 = aN + 69; aV = i2 % 128; int i3 = i2 % 2; timer.cancel(); this.as = null; } TimerTask timerTask = this.au; if (timerTask != null) { timerTask.cancel(); this.au = null; } int i4 = aV + 63; aN = i4 % 128; if (i4 % 2 != 0) { int i5 = 53 / 0; } } private void d(FaceTecIDScanNextStep faceTecIDScanNextStep, boolean z) { int i = 2 % 2; if (this.b == null) { return; } this.b.d(); Y(); if (this.e != null) { if (getFragmentManager().findFragmentByTag("Zoom") != null) { int i2 = aN + 33; aV = i2 % 128; int i3 = i2 % 2; getFragmentManager().beginTransaction().remove(this.e).commitAllowingStateLoss(); } this.e = null; int i4 = aN + 87; aV = i4 % 128; int i5 = i4 % 2; } if (this.m == null) { this.m = bi.d(false, this.h); } if (!this.h) { this.r = new FaceTecSessionResult(this.r.getStatus(), this.B, this.z, this.C); if (this.y == a.FACESCAN_SESSION_STARTED) { int i6 = aN + 53; aV = i6 % 128; int i7 = i6 % 2; this.b.e(true); } } this.s = faceTecIDScanNextStep; this.m.d(z); this.m.e(this.j); ae(); } private void ae() { int i = 2 % 2; int i2 = aN + 57; aV = i2 % 128; int i3 = i2 % 2; this.aq = true; this.n = UUID.randomUUID().toString(); this.b.b(this.m.m); getFragmentManager().beginTransaction().replace(this.aa, this.m, "IDScan").commitAllowingStateLoss(); int i4 = aN + 91; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 67 / 0; } } public void p() { synchronized (this) { this.m.c(); } } /* JADX INFO: Access modifiers changed from: package-private */ public final void e(final JSONObject jSONObject) { int i = 2 % 2; c(0); co.e eVar = co.e.USER_CONFIRMED_INFO; this.aA = eVar; this.x = co.d(true, eVar); getFragmentManager().beginTransaction().setCustomAnimations(R.animator.facetec_no_delay_fade_in, 0).add(this.aa, this.x, "Results").commitAllowingStateLoss(); c(new d(this, jSONObject) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda37 public final bg f$0; public final JSONObject f$1; @Override // com.facetec.sdk.bg.d public final byte[] getIdScanBytes(String str) { return bg.$r8$lambda$GG_aQo4tx0rUV57SNocZJ3xexn4(this.f$0, this.f$1, str); } { this.f$0 = this; this.f$1 = jSONObject; } }); int i2 = aN + 11; aV = i2 % 128; int i3 = i2 % 2; } private /* synthetic */ byte[] a(JSONObject jSONObject, String str) { int i = 2 % 2; int i2 = aV + 21; aN = i2 % 128; if (i2 % 2 != 0) { byte[] s = cg.s(str, this.n, jSONObject.toString()); int i3 = 53 / 0; return s; } return cg.s(str, this.n, jSONObject.toString()); } private /* synthetic */ void ak() { ImageView imageView; boolean z; int i = 2 % 2; int i2 = aN + 125; aV = i2 % 128; if (i2 % 2 == 0) { imageView = this.f6412o; z = false; } else { imageView = this.f6412o; z = true; } imageView.setEnabled(z); } /* JADX INFO: Access modifiers changed from: package-private */ public final void c(int i, int i2) { int i3 = 2 % 2; if (this.f6412o != null && FaceTecSDK.c.k.b == FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM) { this.f6412o.animate().alpha(1.0f).setDuration(i).setStartDelay(i2).setListener(null).withEndAction(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda8 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$EgSDuqajsATVz8iAZB3EFUgykQY(this.f$0); } { this.f$0 = this; } }).start(); int i4 = aV + 51; aN = i4 % 128; int i5 = i4 % 2; } int i6 = aV + 67; aN = i6 % 128; if (i6 % 2 != 0) { int i7 = 39 / 0; } } private void ah() { ViewPropertyAnimator animate; float f; int i = 2 % 2; int i2 = aV + 87; aN = i2 % 128; int i3 = i2 % 2; if (this.f6412o == null || FaceTecSDK.c.k.b != FaceTecCancelButtonCustomization.ButtonLocation.CUSTOM) { return; } int i4 = aV + 17; aN = i4 % 128; if (i4 % 2 != 0) { this.f6412o.setEnabled(true); animate = this.f6412o.animate(); f = 2.0f; } else { this.f6412o.setEnabled(false); animate = this.f6412o.animate(); f = BitmapDescriptorFactory.HUE_RED; } animate.alpha(f).setDuration(300L).setStartDelay(0L).setListener(null).withEndAction(null).start(); } private void c(final d dVar) { int i = 2 % 2; final String obj = UUID.randomUUID().toString(); this.ar = new FaceTecIDScanResult(FaceTecIDScanStatus.SUCCESS); cy.b(new Runnable(this, obj, dVar) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda68 public final bg f$0; public final String f$1; public final bg.d f$2; @Override // java.lang.Runnable public final void run() { bg.m78$r8$lambda$Grbeq017VFz79gKBlP7V7BD93w(this.f$0, this.f$1, this.f$2); } { this.f$0 = this; this.f$1 = obj; this.f$2 = dVar; } }).d(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda69 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$DE7NQocyBlPYGcylJaFDqIRvjAo(this.f$0); } { this.f$0 = this; } }); int i2 = aN + 117; aV = i2 % 128; int i3 = i2 % 2; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002f, code lost: com.facetec.sdk.t.a(r3, com.facetec.sdk.d.ID_SCAN_CALLBACK_CALLED, r3.ar.getStatus().toString()); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x003f, code lost: com.facetec.sdk.t.a(r3, com.facetec.sdk.d.ID_SCAN_CALLBACK_CALLED, r3.ar.getStatus().toString()); r0 = null; r0.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0052, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0022, code lost: if (r3.ar.getStatus() != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (r3.ar.getStatus() != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0024, code lost: r1 = com.facetec.sdk.bg.aN + 53; com.facetec.sdk.bg.aV = r1 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x002d, code lost: if ((r1 % 2) == 0) goto L12; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private /* synthetic */ void al() { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 113 int r2 = r1 % 128 com.facetec.sdk.bg.aN = r2 int r1 = r1 % r0 r2 = 1 if (r1 == 0) goto L1a r3.M = r2 com.facetec.sdk.FaceTecIDScanResult r1 = r3.ar com.facetec.sdk.FaceTecIDScanStatus r1 = r1.getStatus() if (r1 == 0) goto L53 goto L24 L1a: r3.M = r2 com.facetec.sdk.FaceTecIDScanResult r1 = r3.ar com.facetec.sdk.FaceTecIDScanStatus r1 = r1.getStatus() if (r1 == 0) goto L53 L24: int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 53 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 if (r1 == 0) goto L3f com.facetec.sdk.d r0 = com.facetec.sdk.d.ID_SCAN_CALLBACK_CALLED com.facetec.sdk.FaceTecIDScanResult r1 = r3.ar com.facetec.sdk.FaceTecIDScanStatus r1 = r1.getStatus() java.lang.String r1 = r1.toString() com.facetec.sdk.t.a(r3, r0, r1) goto L53 L3f: com.facetec.sdk.d r0 = com.facetec.sdk.d.ID_SCAN_CALLBACK_CALLED com.facetec.sdk.FaceTecIDScanResult r1 = r3.ar com.facetec.sdk.FaceTecIDScanStatus r1 = r1.getStatus() java.lang.String r1 = r1.toString() com.facetec.sdk.t.a(r3, r0, r1) r0 = 0 r0.hashCode() throw r0 L53: com.facetec.sdk.FaceTecIDScanProcessor r0 = com.facetec.sdk.FaceTecSessionActivity.i com.facetec.sdk.FaceTecIDScanResult r1 = r3.ar com.facetec.sdk.bm r2 = new com.facetec.sdk.bm r2.(r3) r0.processIDScanWhileFaceTecSDKWaits(r1, r2) return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.al():void"); } private void d(boolean z, boolean z2) { int i = 2 % 2; if (this.Q || this.Z) { return; } if (this.V == null) { this.V = new bu(this.x, this.ac); } if (this.W == null) { this.W = dl.d(this); } dl dlVar = this.W; if (dlVar == null) { j(false); return; } if (this.q) { return; } try { if (!dlVar.b(getClass(), this.U)) { int i2 = aN + 9; aV = i2 % 128; int i3 = i2 % 2; t.a(this, dm.Unknown, "did not start"); G(); return; } if (z) { return; } int i4 = aN + 47; aV = i4 % 128; if (i4 % 2 != 0) { this.V.d(z2); return; } this.V.d(z2); Object obj = null; obj.hashCode(); throw null; } catch (Exception e) { t.a(this, dm.Unknown, e.getMessage()); G(); } } private void ag() { int i = 2 % 2; int i2 = aN; int i3 = i2 + 121; aV = i3 % 128; int i4 = i3 % 2; dl dlVar = this.W; if (dlVar != null) { int i5 = i2 + 87; aV = i5 % 128; Object obj = null; if (i5 % 2 == 0) { obj.hashCode(); throw null; } if (!this.q) { try { dlVar.e(); } catch (Exception unused) { } } this.W = null; } } @Override // android.app.Activity public void onNewIntent(Intent intent) { int i = 2 % 2; int i2 = aN + 75; aV = i2 % 128; int i3 = i2 % 2; super.onNewIntent(intent); dl dlVar = this.W; if (dlVar != null) { this.Z = true; if (dlVar.b(intent, this.aH)) { int i4 = aN + 7; aV = i4 % 128; int i5 = i4 % 2; this.V.d(); } } int i6 = aN + 113; aV = i6 % 128; if (i6 % 2 == 0) { int i7 = 28 / 0; } } protected final void I() { int i = 2 % 2; int i2 = aN + 79; aV = i2 % 128; int i3 = i2 % 2; this.Z = false; ag(); j(true); int i4 = aN + 13; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } private /* synthetic */ void b(String str) { int i = 2 % 2; this.x.e(false, true, str, new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda54 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.m82$r8$lambda$RmUN6KsuhGqEXCLdtKPSeSQ_HI(this.f$0); } { this.f$0 = this; } }); int i2 = aN + 115; aV = i2 % 128; int i3 = i2 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ public final void G() { int i = 2 % 2; ag(); this.V.e(); this.Q = true; this.aw = true; final String e = db.e(bw.SKIPPED, this.ac); this.x.a(new Runnable(this, e) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda7 public final bg f$0; public final String f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$5gpXbrbf0wYi3r_tNnbqYyeQh5g(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = e; } }, 800L); int i2 = aN + 61; aV = i2 % 128; if (i2 % 2 == 0) { throw null; } } private /* synthetic */ void ai() { int i = 2 % 2; this.x.b(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda21 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$k35Ae2WnHoLq3wMWvR7iOQMXR9o(this.f$0); } { this.f$0 = this; } }); int i2 = aV + 41; aN = i2 % 128; int i3 = i2 % 2; } private /* synthetic */ void am() { int i = 2 % 2; getFragmentManager().beginTransaction().remove(this.x).commitAllowingStateLoss(); this.x = null; co.e eVar = co.e.SKIPPED_NFC; this.aA = eVar; this.x = co.d(true, eVar); getFragmentManager().beginTransaction().add(this.aa, this.x, "Results").commitAllowingStateLoss(); c(new d(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda46 public final bg f$0; @Override // com.facetec.sdk.bg.d public final byte[] getIdScanBytes(String str) { return bg.$r8$lambda$1QImLdWpXK_KIYIw2aVukxFLdhY(this.f$0, str); } { this.f$0 = this; } }); int i2 = aN + 107; aV = i2 % 128; if (i2 % 2 == 0) { throw null; } } private /* synthetic */ byte[] c(String str) { int i = 2 % 2; int i2 = aV + 97; aN = i2 % 128; byte[] q = cg.q(str, i2 % 2 != 0 ? this.n : this.n, false, true); int i3 = aV + 21; aN = i3 % 128; if (i3 % 2 == 0) { return q; } Object obj = null; obj.hashCode(); throw null; } private void j(final boolean z) { final String str; int i = 2 % 2; int i2 = aV + 75; aN = i2 % 128; int i3 = i2 % 2; this.V.e(); this.Q = true; if (z) { str = db.e(bw.FINISHED_WITH_SUCCESS, this.ac); } else { String e = db.e(bw.FINISHED_WITH_ERROR, this.ac); int i4 = aV + 77; aN = i4 % 128; int i5 = i4 % 2; str = e; } this.x.a(new Runnable(this, z, str) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda16 public final bg f$0; public final boolean f$1; public final String f$2; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$0hbVs9Bwddw5UvOHONewxsbt1sU(this.f$0, this.f$1, this.f$2); } { this.f$0 = this; this.f$1 = z; this.f$2 = str; } }, 800L); } private /* synthetic */ void a(final boolean z, String str) { int i = 2 % 2; this.x.e(z, z, str, new Runnable(this, z) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda56 public final bg f$0; public final boolean f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$VaRWocEGF1Dz_SYvDnYMkBvqp_o(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = z; } }); int i2 = aN + 57; aV = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private /* synthetic */ void g(final boolean z) { int i = 2 % 2; this.x.b(new Runnable(this, z) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda9 public final bg f$0; public final boolean f$1; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$01GBLM7BUlLZCYZRhG4Ei8T4580(this.f$0, this.f$1); } { this.f$0 = this; this.f$1 = z; } }); int i2 = aV + 1; aN = i2 % 128; if (i2 % 2 != 0) { throw null; } } private /* synthetic */ void h(final boolean z) { int i = 2 % 2; getFragmentManager().beginTransaction().remove(this.x).commitAllowingStateLoss(); this.x = null; co.e eVar = co.e.NFC; this.aA = eVar; this.x = co.d(true, eVar); getFragmentManager().beginTransaction().add(this.aa, this.x, "Results").commitAllowingStateLoss(); c(new d(this, z) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda23 public final bg f$0; public final boolean f$1; @Override // com.facetec.sdk.bg.d public final byte[] getIdScanBytes(String str) { return bg.$r8$lambda$NA3xNlvVuSBIXNqyZcZKKlPGoBQ(this.f$0, this.f$1, str); } { this.f$0 = this; this.f$1 = z; } }); int i2 = aV + 9; aN = i2 % 128; if (i2 % 2 != 0) { int i3 = 55 / 0; } } private /* synthetic */ byte[] c(boolean z, String str) { int i = 2 % 2; int i2 = aN + 79; aV = i2 % 128; byte[] q = cg.q(str, i2 % 2 == 0 ? this.n : this.n, z, false); int i3 = aN + 25; aV = i3 % 128; if (i3 % 2 == 0) { int i4 = 74 / 0; } return q; } private /* synthetic */ void af() { int i = 2 % 2; int i2 = aN + 9; aV = i2 % 128; if (i2 % 2 == 0) { this.ae.setVisibility(4); if (this.x == null) { return; } } else { this.ae.setVisibility(4); if (this.x == null) { return; } } int i3 = aN + 53; aV = i3 % 128; if (i3 % 2 == 0) { int i4 = 89 / 0; if (this.m == null) { return; } } else if (this.m == null) { return; } this.x.e(true, this.ap, new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda27 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$g3lZQExNS14QBp3eFwzbppV5uG8(this.f$0); } { this.f$0 = this; } }); } private /* synthetic */ void aj() { int i = 2 % 2; int i2 = aV + 97; aN = i2 % 128; if (i2 % 2 != 0) { d(true, false); } else { d(false, false); } int i3 = aN + 3; aV = i3 % 128; if (i3 % 2 == 0) { throw null; } } protected final void a(dm dmVar, String str) { int i = 2 % 2; this.Z = false; ag(); t.a(this, dmVar, str); if (dmVar != dm.ConnectionError && dmVar != dm.UnknownRetry) { j(false); return; } this.av++; if (this.x != null) { int i2 = aV + 123; aN = i2 % 128; int i3 = i2 % 2; if (this.av > 5) { j(false); return; } } d(true, false); this.V.c(); int i4 = aN + 49; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } private /* synthetic */ void d(String str, d dVar) { int i = 2 % 2; this.ar.b = str; byte[][] w = cg.w(); byte[][] v = cg.v(); FaceTecIDScanResult faceTecIDScanResult = this.ar; if (w != null) { int i2 = 0; while (i2 < w.length) { faceTecIDScanResult.c.add(Base64.encodeToString(w[i2], 2)); i2++; int i3 = aV + 63; aN = i3 % 128; int i4 = i3 % 2; } } FaceTecIDScanResult faceTecIDScanResult2 = this.ar; if (v != null) { for (byte[] bArr : v) { faceTecIDScanResult2.d.add(Base64.encodeToString(bArr, 2)); } } this.ar.e = dVar.getIdScanBytes(str); int i5 = aV + 121; aN = i5 % 128; if (i5 % 2 != 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x001d, code lost: if (com.facetec.sdk.dl.a(r4) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (com.facetec.sdk.dl.a(r4) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost: d(false, true); Z(); */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private /* synthetic */ void ap() { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.facetec.sdk.bg.aN int r1 = r1 + 23 int r2 = r1 % 128 com.facetec.sdk.bg.aV = r2 int r1 = r1 % r0 r2 = 0 if (r1 != 0) goto L19 boolean r1 = com.facetec.sdk.dl.a(r4) r3 = 69 int r3 = r3 / r2 if (r1 == 0) goto L26 goto L1f L19: boolean r1 = com.facetec.sdk.dl.a(r4) if (r1 == 0) goto L26 L1f: r1 = 1 r4.d(r2, r1) r4.Z() L26: int r1 = com.facetec.sdk.bg.aV int r1 = r1 + 39 int r2 = r1 % 128 com.facetec.sdk.bg.aN = r2 int r1 = r1 % r0 return */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.ap():void"); } private /* synthetic */ void an() { FaceTecSessionActivity faceTecSessionActivity; int i = 2 % 2; this.N = false; this.v = (cn) getFragmentManager().findFragmentByTag("RetryZoom"); if (this.v == null || this.v.m == null) { return; } cu cuVar = this.v.m; if (cuVar.g != null || (faceTecSessionActivity = (FaceTecSessionActivity) cuVar.getActivity()) == null) { return; } int i2 = aN + 11; aV = i2 % 128; if (i2 % 2 == 0) { cuVar.g = faceTecSessionActivity.p; cuVar.e.setAlpha(1.0f); } else { cuVar.g = faceTecSessionActivity.p; cuVar.e.setAlpha(BitmapDescriptorFactory.HUE_RED); } cuVar.d(); cuVar.e.animate().alpha(1.0f).setDuration(400L).setListener(null); int i3 = aN + 17; aV = i3 % 128; int i4 = i3 % 2; } /* JADX WARN: Code restructure failed: missing block: B:6:0x0071, code lost: if (r4 > 99999) goto L11; */ @Override // com.facetec.sdk.be, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void attachBaseContext(android.content.Context r20) { /* Method dump skipped, instructions count: 846 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.bg.attachBaseContext(android.content.Context):void"); } private /* synthetic */ void h(FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aN + 19; aV = i2 % 128; int i3 = i2 % 2; if (!isFinishing()) { d(faceTecIDScanNextStep, false); this.J = false; co coVar = this.x; coVar.c.animate().alpha(BitmapDescriptorFactory.HUE_RED).setDuration(500L).setStartDelay(500L).setListener(null).withEndAction(new Runnable(this) { // from class: com.facetec.sdk.bg$$ExternalSyntheticLambda20 public final bg f$0; @Override // java.lang.Runnable public final void run() { bg.$r8$lambda$S5n7PdLA7qeVSdMDTuSIEPKskW4(this.f$0); } { this.f$0 = this; } }).start(); return; } int i4 = aN + 23; aV = i4 % 128; int i5 = i4 % 2; } static void ba() { aO = -4616833567986672074L; aM = new int[]{-896667707, -1623587318, -1865653838, -391404062, -1352181789, 963843235, 689920681, 265793022, 321066084, 1857962079, -744361000, -276577744, -952846684, -922748011, -2040692297, 820980827, -953507779, 158599766}; } @Override // com.facetec.sdk.be, android.app.Activity public void onStart() { int i = 2 % 2; int i2 = aV + 49; aN = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = aN + 39; aV = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean y() { int i = 2 % 2; int i2 = aV + 81; aN = i2 % 128; if (i2 % 2 == 0) { return this.D; } Object obj = null; obj.hashCode(); throw null; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // com.facetec.sdk.be public final void i() { int i = 2 % 2; int i2 = aN + 11; aV = i2 % 128; int i3 = i2 % 2; this.H = true; } @Override // com.facetec.sdk.be, android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context public Resources getResources() { int i = 2 % 2; int i2 = aV + 85; aN = i2 % 128; int i3 = i2 % 2; Resources resources = super.getResources(); int i4 = aV + 111; aN = i4 % 128; if (i4 % 2 == 0) { return resources; } Object obj = null; obj.hashCode(); throw null; } @Override // com.facetec.sdk.be, android.content.ContextWrapper public Context getBaseContext() { Context baseContext; int i = 2 % 2; int i2 = aN + 5; aV = i2 % 128; if (i2 % 2 == 0) { baseContext = super.getBaseContext(); int i3 = 29 / 0; } else { baseContext = super.getBaseContext(); } int i4 = aV + 101; aN = i4 % 128; if (i4 % 2 == 0) { return baseContext; } throw null; } @Override // com.facetec.sdk.be, android.content.ContextWrapper, android.content.Context public Context getApplicationContext() { int i = 2 % 2; int i2 = aV + 103; aN = i2 % 128; int i3 = i2 % 2; Context applicationContext = super.getApplicationContext(); int i4 = aV + 93; aN = i4 % 128; if (i4 % 2 == 0) { return applicationContext; } Object obj = null; obj.hashCode(); throw null; } private void ad() { int i = 2 % 2; int i2 = aN + 91; aV = i2 % 128; int i3 = i2 % 2; this.B = null; this.z = null; this.C = null; int i4 = aN + 49; aV = i4 % 128; int i5 = i4 % 2; } private void O() { int i = 2 % 2; int i2 = aN + 79; aV = i2 % 128; int i3 = i2 % 2; this.e = null; this.i = null; this.v = null; this.x = null; this.w = null; this.A = null; int i4 = aV + 99; aN = i4 % 128; int i5 = i4 % 2; } static { aV = 1; ba(); int i = aN + 97; aV = i % 128; if (i % 2 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$zuJ2ykx4Ir3gxM774aGh83Uz2HY(bg bgVar) { int i = 2 % 2; int i2 = aN + 117; aV = i2 % 128; int i3 = i2 % 2; bgVar.aE(); int i4 = aN + 105; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$zI3NIgkkIyDBQVIyFftSyxSN89U(bg bgVar) { int i = 2 % 2; int i2 = aN + 105; aV = i2 % 128; int i3 = i2 % 2; bgVar.aK(); if (i3 == 0) { throw null; } } /* renamed from: $r8$lambda$yBqdCIgsQ5z1d02UZW_-cWFJg0s, reason: not valid java name */ public static /* synthetic */ void m92$r8$lambda$yBqdCIgsQ5z1d02UZW_cWFJg0s(bg bgVar) { int i = 2 % 2; int i2 = aV + 61; aN = i2 % 128; int i3 = i2 % 2; bgVar.aD(); int i4 = aV + 115; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$vy3eHD4TvBMcLIM3Z17Lv3ehHmc(bg bgVar, ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aN + 113; aV = i2 % 128; int i3 = i2 % 2; bgVar.d(valueAnimator); int i4 = aV + 45; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$vwpp4dNI7zVICp95KPEqWxIsgtE(bg bgVar) { int i = 2 % 2; int i2 = aN + 27; aV = i2 % 128; int i3 = i2 % 2; bgVar.aM(); if (i3 == 0) { int i4 = 60 / 0; } } /* renamed from: $r8$lambda$vwC3esec-dKZp4WW8vbuIym39T8, reason: not valid java name */ public static /* synthetic */ void m91$r8$lambda$vwC3esecdKZp4WW8vbuIym39T8(bg bgVar, float f, float f2, Animator animator) { int i = 2 % 2; int i2 = aV + 85; aN = i2 % 128; int i3 = i2 % 2; bgVar.c(f, f2, animator); if (i3 != 0) { throw null; } } /* renamed from: $r8$lambda$vGrjpmjRrA8vFUuYKL7q8P-Ts-w, reason: not valid java name */ public static /* synthetic */ void m90$r8$lambda$vGrjpmjRrA8vFUuYKL7q8PTsw(bg bgVar) { int i = 2 % 2; int i2 = aN + 49; aV = i2 % 128; int i3 = i2 % 2; bgVar.aw(); int i4 = aV + 47; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$uDyQt5o7uSJliammx8Nju87Ov5o(bg bgVar, GradientDrawable gradientDrawable, int i, ValueAnimator valueAnimator) { int i2 = 2 % 2; int i3 = aN + 7; aV = i3 % 128; int i4 = i3 % 2; bgVar.b(gradientDrawable, i, valueAnimator); if (i4 == 0) { int i5 = 62 / 0; } } public static /* synthetic */ void $r8$lambda$rd5GT7wcdR_CcZKjnLymwrl749w(bg bgVar) { int i = 2 % 2; int i2 = aV + 89; aN = i2 % 128; int i3 = i2 % 2; bgVar.aG(); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* renamed from: $r8$lambda$qv662PH7LqtylYOBJZZ-zffF1_E, reason: not valid java name */ public static /* synthetic */ void m89$r8$lambda$qv662PH7LqtylYOBJZZzffF1_E(bg bgVar) { int i = 2 % 2; int i2 = aV + 107; aN = i2 % 128; int i3 = i2 % 2; bgVar.H(); if (i3 != 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = aV + 49; aN = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$qEZ2lUjbZAWK-Qkc9LgnfDgW1kE, reason: not valid java name */ public static /* synthetic */ void m88$r8$lambda$qEZ2lUjbZAWKQkc9LgnfDgW1kE(bg bgVar) { int i = 2 % 2; int i2 = aN + 83; aV = i2 % 128; int i3 = i2 % 2; bgVar.av(); int i4 = aN + 45; aV = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$oLoYRLG-ud1Hrj0etYchD5xDbwY, reason: not valid java name */ public static /* synthetic */ void m87$r8$lambda$oLoYRLGud1Hrj0etYchD5xDbwY(bg bgVar) { int i = 2 % 2; int i2 = aV + 49; aN = i2 % 128; int i3 = i2 % 2; bgVar.aC(); int i4 = aV + 55; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$k35Ae2WnHoLq3wMWvR7iOQMXR9o(bg bgVar) { int i = 2 % 2; int i2 = aV + 97; aN = i2 % 128; int i3 = i2 % 2; bgVar.am(); if (i3 != 0) { throw null; } int i4 = aN + 103; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 24 / 0; } } public static /* synthetic */ boolean $r8$lambda$jxE4HEA5s6GzzLt84XEIeSpY7IE(bg bgVar, View view, MotionEvent motionEvent) { int i = 2 % 2; int i2 = aN + 39; aV = i2 % 128; if (i2 % 2 != 0) { return bgVar.e(view, motionEvent); } bgVar.e(view, motionEvent); throw null; } public static /* synthetic */ void $r8$lambda$hwpeLvECR0PLu8rpt7JTIgiRNoY(bg bgVar) { int i = 2 % 2; int i2 = aN + 43; aV = i2 % 128; int i3 = i2 % 2; bgVar.ax(); int i4 = aV + 31; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$gQAX5Itcct_WYCXn540ONoRskgw(bg bgVar, boolean z, String str) { int i = 2 % 2; int i2 = aV + 119; aN = i2 % 128; int i3 = i2 % 2; bgVar.b(z, str); int i4 = aV + 109; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$g3lZQExNS14QBp3eFwzbppV5uG8(bg bgVar) { int i = 2 % 2; int i2 = aV + 57; aN = i2 % 128; int i3 = i2 % 2; bgVar.aj(); if (i3 != 0) { throw null; } int i4 = aN + 113; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$etgSkKwGi_nQpHPDBUZWqAmTqqk(bg bgVar, FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aV + 9; aN = i2 % 128; int i3 = i2 % 2; bgVar.c(faceTecIDScanNextStep); if (i3 != 0) { throw null; } int i4 = aV + 109; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$deSlHiOhX6qAakKjQhJ4fL59OYc(bg bgVar, boolean z) { int i = 2 % 2; int i2 = aV + 79; aN = i2 % 128; int i3 = i2 % 2; bgVar.f(z); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* renamed from: $r8$lambda$dD8uhsYYOZcRR-UBdrT0th77ZrY, reason: not valid java name */ public static /* synthetic */ void m86$r8$lambda$dD8uhsYYOZcRRUBdrT0th77ZrY(bg bgVar) { int i = 2 % 2; int i2 = aV + 105; aN = i2 % 128; int i3 = i2 % 2; bgVar.aA(); if (i3 != 0) { int i4 = 16 / 0; } } /* renamed from: $r8$lambda$c4dT0Bz-pMyimEuV0XMh6oODFTY, reason: not valid java name */ public static /* synthetic */ void m85$r8$lambda$c4dT0BzpMyimEuV0XMh6oODFTY(bg bgVar) { int i = 2 % 2; int i2 = aN + 71; aV = i2 % 128; int i3 = i2 % 2; bgVar.ay(); int i4 = aN + 95; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$bC4cUk7DAHnMjxOcbyePZKCy7Oo(bg bgVar, float f) { int i = 2 % 2; int i2 = aV + 87; aN = i2 % 128; int i3 = i2 % 2; bgVar.d(f); int i4 = aN + 125; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$af7ePBocnbyZbKr9UipstcA4hoY(bg bgVar) { int i = 2 % 2; int i2 = aN + 75; aV = i2 % 128; int i3 = i2 % 2; bgVar.T(); int i4 = aN + 99; aV = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$_R8Wmi3Z_Vt2jqcwJO7hqK-Y6po, reason: not valid java name */ public static /* synthetic */ void m84$r8$lambda$_R8Wmi3Z_Vt2jqcwJO7hqKY6po(bg bgVar) { int i = 2 % 2; int i2 = aN + 1; aV = i2 % 128; int i3 = i2 % 2; bgVar.aL(); int i4 = aN + 25; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 92 / 0; } } public static /* synthetic */ void $r8$lambda$X1UAFmMMUSNhhanc248_28JPg9U(bg bgVar) { int i = 2 % 2; int i2 = aN + 55; aV = i2 % 128; int i3 = i2 % 2; bgVar.aF(); if (i3 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void $r8$lambda$VaRWocEGF1Dz_SYvDnYMkBvqp_o(bg bgVar, boolean z) { int i = 2 % 2; int i2 = aN + 77; aV = i2 % 128; int i3 = i2 % 2; bgVar.g(z); int i4 = aV + 23; aN = i4 % 128; if (i4 % 2 != 0) { int i5 = 14 / 0; } } public static /* synthetic */ void $r8$lambda$UynigIsSpiv3wiM9o2FwnttYfRs(bg bgVar, View view) { int i = 2 % 2; int i2 = aN + 73; aV = i2 % 128; int i3 = i2 % 2; bgVar.d(view); if (i3 == 0) { int i4 = 12 / 0; } int i5 = aV + 25; aN = i5 % 128; int i6 = i5 % 2; } /* renamed from: $r8$lambda$Umv70TV6oTi3rfiV-VWHPLO1gwc, reason: not valid java name */ public static /* synthetic */ void m83$r8$lambda$Umv70TV6oTi3rfiVVWHPLO1gwc(bg bgVar) { int i = 2 % 2; int i2 = aN + 47; aV = i2 % 128; int i3 = i2 % 2; bgVar.aU(); int i4 = aN + 101; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$TKER38Zbk1RGuUruJJmSPBJ8o0I(bg bgVar) { int i = 2 % 2; int i2 = aN + 9; aV = i2 % 128; int i3 = i2 % 2; bgVar.at(); int i4 = aN + 87; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$SGyGzlQhRAoHvtxjhJrBkjj3454(bg bgVar) { int i = 2 % 2; int i2 = aV + 83; aN = i2 % 128; int i3 = i2 % 2; bgVar.aq(); int i4 = aV + 51; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$S5n7PdLA7qeVSdMDTuSIEPKskW4(bg bgVar) { int i = 2 % 2; int i2 = aV + 103; aN = i2 % 128; int i3 = i2 % 2; Object obj = null; bgVar.aV(); if (i3 != 0) { obj.hashCode(); throw null; } int i4 = aV + 21; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } /* renamed from: $r8$lambda$RmUN6KsuhG-qEXCLdtKPSeSQ_HI, reason: not valid java name */ public static /* synthetic */ void m82$r8$lambda$RmUN6KsuhGqEXCLdtKPSeSQ_HI(bg bgVar) { int i = 2 % 2; int i2 = aN + 71; aV = i2 % 128; int i3 = i2 % 2; bgVar.ai(); int i4 = aN + 81; aV = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$QobsRjsS-IIooadA3cH9_FWfRJs, reason: not valid java name */ public static /* synthetic */ void m81$r8$lambda$QobsRjsSIIooadA3cH9_FWfRJs(bg bgVar) { int i = 2 % 2; int i2 = aN + 27; aV = i2 % 128; int i3 = i2 % 2; bgVar.aH(); if (i3 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void $r8$lambda$QYjUwlZ0fWKIQg6y7EdXyJV3v8c() { int i = 2 % 2; int i2 = aN + 125; aV = i2 % 128; int i3 = i2 % 2; aI(); if (i3 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ byte[] $r8$lambda$NA3xNlvVuSBIXNqyZcZKKlPGoBQ(bg bgVar, boolean z, String str) { int i = 2 % 2; int i2 = aV + 7; aN = i2 % 128; if (i2 % 2 == 0) { return bgVar.c(z, str); } bgVar.c(z, str); throw null; } public static /* synthetic */ void $r8$lambda$MPjzDNP5t9KkdG0Lyh8xBnnPptc(bg bgVar) { int i = 2 % 2; int i2 = aV + 123; aN = i2 % 128; int i3 = i2 % 2; bgVar.aO(); if (i3 != 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = aN + 85; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 37 / 0; } } /* renamed from: $r8$lambda$L_qlGHX6I6-y7x1Sykp5vGiuRD8, reason: not valid java name */ public static /* synthetic */ void m80$r8$lambda$L_qlGHX6I6y7x1Sykp5vGiuRD8(bg bgVar) { int i = 2 % 2; int i2 = aN + 11; aV = i2 % 128; int i3 = i2 % 2; bgVar.au(); if (i3 == 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = aN + 9; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$LGHAZ1wtRg0Nj4ug6GEaL8RjLeA(bg bgVar) { int i = 2 % 2; int i2 = aV + 51; aN = i2 % 128; int i3 = i2 % 2; bgVar.aT(); int i4 = aN + 21; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$KhWXlpNE3d8DS8nY1yCZtsZMolo(bg bgVar) { int i = 2 % 2; int i2 = aV + 13; aN = i2 % 128; int i3 = i2 % 2; bgVar.as(); int i4 = aN + 29; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$KMFuXLZxjv7FghHliG9v4xQFsXY(bg bgVar) { int i = 2 % 2; int i2 = aN + 63; aV = i2 % 128; int i3 = i2 % 2; bgVar.aN(); if (i3 == 0) { int i4 = 40 / 0; } int i5 = aV + 69; aN = i5 % 128; if (i5 % 2 != 0) { throw null; } } /* renamed from: $r8$lambda$HslRkRznUqTnt-FC02kSbPma5Jc, reason: not valid java name */ public static /* synthetic */ void m79$r8$lambda$HslRkRznUqTntFC02kSbPma5Jc(bg bgVar) { int i = 2 % 2; int i2 = aN + 11; aV = i2 % 128; int i3 = i2 % 2; bgVar.ao(); if (i3 == 0) { int i4 = 7 / 0; } } /* renamed from: $r8$lambda$Grbeq0-17VFz79gKBlP7V7BD93w, reason: not valid java name */ public static /* synthetic */ void m78$r8$lambda$Grbeq017VFz79gKBlP7V7BD93w(bg bgVar, String str, d dVar) { int i = 2 % 2; int i2 = aN + 13; aV = i2 % 128; int i3 = i2 % 2; bgVar.d(str, dVar); if (i3 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$GeN9RPfIOAWNZVTgknKiPFQoszE(bg bgVar, FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aV + 11; aN = i2 % 128; int i3 = i2 % 2; bgVar.a(faceTecIDScanNextStep); int i4 = aN + 15; aV = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ byte[] $r8$lambda$GG_aQo4tx0rUV57SNocZJ3xexn4(bg bgVar, JSONObject jSONObject, String str) { int i = 2 % 2; int i2 = aN + 105; aV = i2 % 128; int i3 = i2 % 2; byte[] a2 = bgVar.a(jSONObject, str); int i4 = aV + 15; aN = i4 % 128; int i5 = i4 % 2; return a2; } public static /* synthetic */ void $r8$lambda$EsBE7Db9iFeCWZQW1mORcfhOTPk(bg bgVar) { int i = 2 % 2; int i2 = aN + 47; aV = i2 % 128; int i3 = i2 % 2; bgVar.aR(); int i4 = aV + 119; aN = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$EnG2Btf_G4b9YCaqou-xmEQuQ54, reason: not valid java name */ public static /* synthetic */ void m77$r8$lambda$EnG2Btf_G4b9YCaqouxmEQuQ54(bg bgVar, ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aV + 61; aN = i2 % 128; int i3 = i2 % 2; bgVar.a(valueAnimator); if (i3 != 0) { throw null; } int i4 = aN + 29; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$EgSDuqajsATVz8iAZB3EFUgykQY(bg bgVar) { int i = 2 % 2; int i2 = aN + 109; aV = i2 % 128; int i3 = i2 % 2; bgVar.ak(); if (i3 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$DURup41A2B9b66BKaqjBrj5PBRo(bg bgVar) { int i = 2 % 2; int i2 = aN + 73; aV = i2 % 128; int i3 = i2 % 2; bgVar.aQ(); int i4 = aV + 31; aN = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void $r8$lambda$DE7NQocyBlPYGcylJaFDqIRvjAo(bg bgVar) { int i = 2 % 2; int i2 = aV + 43; aN = i2 % 128; int i3 = i2 % 2; bgVar.al(); if (i3 != 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = aN + 107; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$BTk6vVsnlU_iX9RjzfBVcTJrkoU(bg bgVar) { int i = 2 % 2; int i2 = aN + 97; aV = i2 % 128; int i3 = i2 % 2; bgVar.aB(); if (i3 == 0) { throw null; } int i4 = aV + 53; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$BLHvuZCqURSG3HOyKm1GiwsWUJU(bg bgVar) { int i = 2 % 2; int i2 = aV + 71; aN = i2 % 128; int i3 = i2 % 2; bgVar.az(); int i4 = aV + 51; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$AlYq9rTRBeTM8ni_hH3MOALrYPY(bg bgVar) { int i = 2 % 2; int i2 = aN + 53; aV = i2 % 128; int i3 = i2 % 2; bgVar.af(); int i4 = aV + 27; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$AXaE4r9GdWRe2ScPUppdQEfsot8(bg bgVar, Runnable runnable) { int i = 2 % 2; int i2 = aN + 91; aV = i2 % 128; int i3 = i2 % 2; bgVar.d(runnable); int i4 = aN + 51; aV = i4 % 128; if (i4 % 2 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$AQVVcup4cBhMCLRvyyaUiGkuCk0(bg bgVar) { int i = 2 % 2; int i2 = aN + 13; aV = i2 % 128; int i3 = i2 % 2; bgVar.aJ(); if (i3 == 0) { throw null; } int i4 = aN + 5; aV = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$9KmNQduO8mkN9WtdG3ZsDXArB0c(bg bgVar, View view) { int i = 2 % 2; int i2 = aN + 19; aV = i2 % 128; int i3 = i2 % 2; bgVar.b(view); if (i3 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$8TiEPpqzMGTOxUAqMhzB8Qwml1Y(bg bgVar, ValueAnimator valueAnimator) { int i = 2 % 2; int i2 = aV + 67; aN = i2 % 128; int i3 = i2 % 2; bgVar.e(valueAnimator); int i4 = aV + 51; aN = i4 % 128; if (i4 % 2 != 0) { int i5 = 97 / 0; } } public static /* synthetic */ void $r8$lambda$7FzjyLrs09o6XEfp9T6mCktGzyI(bg bgVar) { int i = 2 % 2; int i2 = aV + 77; aN = i2 % 128; int i3 = i2 % 2; bgVar.aP(); int i4 = aN + 21; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 18 / 0; } } public static /* synthetic */ void $r8$lambda$6CzisR_77RbiUsXk8hr_cbONGhc(bg bgVar, cn cnVar) { int i = 2 % 2; int i2 = aV + 87; aN = i2 % 128; int i3 = i2 % 2; bgVar.b(cnVar); if (i3 != 0) { int i4 = 33 / 0; } int i5 = aV + 111; aN = i5 % 128; if (i5 % 2 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$5gpXbrbf0wYi3r_tNnbqYyeQh5g(bg bgVar, String str) { int i = 2 % 2; int i2 = aN + 89; aV = i2 % 128; int i3 = i2 % 2; bgVar.b(str); if (i3 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$3eSELk0zVWZSCdxYLiioMBK1xFQ(bg bgVar) { int i = 2 % 2; int i2 = aV + 63; aN = i2 % 128; int i3 = i2 % 2; bgVar.ap(); int i4 = aN + 113; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 30 / 0; } } public static /* synthetic */ void $r8$lambda$3btV8H6qxZ_UY1wl07uKJmEBS1o(bg bgVar) { int i = 2 % 2; int i2 = aV + 51; aN = i2 % 128; int i3 = i2 % 2; bgVar.an(); int i4 = aV + 109; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ void $r8$lambda$2ymW4GY2ElgazbHeucdgfJOCaCY(bg bgVar) { int i = 2 % 2; int i2 = aN + 1; aV = i2 % 128; int i3 = i2 % 2; bgVar.aS(); int i4 = aN + 17; aV = i4 % 128; if (i4 % 2 == 0) { int i5 = 10 / 0; } } public static /* synthetic */ void $r8$lambda$2QPTpkkn6617GIA8gSc78CJRGqU(bg bgVar, String str) { int i = 2 % 2; int i2 = aV + 47; aN = i2 % 128; int i3 = i2 % 2; bgVar.h(str); if (i3 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$1n3ZizcpEsDmVr61FsL1xISJLVU(bg bgVar, FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aN + 31; aV = i2 % 128; int i3 = i2 % 2; bgVar.j(faceTecIDScanNextStep); if (i3 == 0) { throw null; } } public static /* synthetic */ void $r8$lambda$1hWZf9OBDzp2qehzEWmdCYmo2D4(bg bgVar, FaceTecIDScanNextStep faceTecIDScanNextStep) { int i = 2 % 2; int i2 = aV + 81; aN = i2 % 128; int i3 = i2 % 2; bgVar.h(faceTecIDScanNextStep); int i4 = aV + 119; aN = i4 % 128; int i5 = i4 % 2; } public static /* synthetic */ byte[] $r8$lambda$1QImLdWpXK_KIYIw2aVukxFLdhY(bg bgVar, String str) { int i = 2 % 2; int i2 = aV + 49; aN = i2 % 128; if (i2 % 2 == 0) { return bgVar.c(str); } bgVar.c(str); Object obj = null; obj.hashCode(); throw null; } /* renamed from: $r8$lambda$16OmIa1G5GAY-Vu4EhdHkRJ_8iQ, reason: not valid java name */ public static /* synthetic */ void m76$r8$lambda$16OmIa1G5GAYVu4EhdHkRJ_8iQ(bg bgVar, Runnable runnable) { int i = 2 % 2; int i2 = aV + 55; aN = i2 % 128; int i3 = i2 % 2; bgVar.b(runnable); if (i3 != 0) { throw null; } } public static /* synthetic */ void $r8$lambda$0hbVs9Bwddw5UvOHONewxsbt1sU(bg bgVar, boolean z, String str) { int i = 2 % 2; int i2 = aN + 95; aV = i2 % 128; int i3 = i2 % 2; bgVar.a(z, str); int i4 = aV + 19; aN = i4 % 128; int i5 = i4 % 2; } /* renamed from: $r8$lambda$0SsE3KGjTLnquelw-6qlmuUDHgo, reason: not valid java name */ public static /* synthetic */ void m75$r8$lambda$0SsE3KGjTLnquelw6qlmuUDHgo(bg bgVar) { int i = 2 % 2; int i2 = aV + 103; aN = i2 % 128; int i3 = i2 % 2; bgVar.ar(); int i4 = aV + 75; aN = i4 % 128; if (i4 % 2 != 0) { throw null; } } public static /* synthetic */ byte[] $r8$lambda$0KC37gChie_8QWkAFQZQACOpYI0(bg bgVar, String str) { int i = 2 % 2; int i2 = aV + 25; aN = i2 % 128; int i3 = i2 % 2; byte[] f = bgVar.f(str); if (i3 != 0) { int i4 = 77 / 0; } int i5 = aV + 115; aN = i5 % 128; if (i5 % 2 == 0) { return f; } throw null; } public static /* synthetic */ void $r8$lambda$01GBLM7BUlLZCYZRhG4Ei8T4580(bg bgVar, boolean z) { int i = 2 % 2; int i2 = aV + 65; aN = i2 % 128; int i3 = i2 % 2; bgVar.h(z); int i4 = aN + 17; aV = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } }