package o; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.net.ConnectivityManager; import android.net.NetworkCapabilities; import android.net.NetworkInfo; import android.text.SpannableString; import android.text.style.UnderlineSpan; import android.view.View; import android.view.ViewGroup; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebView; import android.widget.FrameLayout; import android.widget.TextView; import com.androidadvance.topsnackbar.TSnackbar; import com.google.android.material.appbar.AppBarLayout; import com.google.firebase.crashlytics.internal.common.AbstractSpiCall; import com.kofax.kmc.kut.utilities.IpLibUtil; import io.github.inflationx.calligraphy3.CalligraphyUtils; import java.io.UnsupportedEncodingException; import java.lang.ref.WeakReference; import java.net.URLEncoder; import java.util.Optional; import java.util.function.Function; import o.C10318eAn; import org.bouncycastle.crypto.tls.CipherSuite; /* renamed from: o.fKz */ /* loaded from: classes5.dex */ public final class C12914fKz { private static int a = 1; private static int d; public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-183)) + (i2 * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384); int i5 = ~i; int i6 = ~i2; int i7 = ~i3; switch (i4 + ((i2 | i5) * (-368)) + ((i | i6 | i7) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) + (((~(i | i2)) | (~(i7 | i)) | (~(i5 | i6))) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256)) { case 1: return b(objArr); case 2: return e(objArr); case 3: return a(objArr); case 4: return c(objArr); case 5: return g(objArr); case 6: return i(objArr); case 7: return f(objArr); case 8: return j(objArr); case 9: return h(objArr); case 10: return n(objArr); case 11: return m(objArr); case 12: return k(objArr); case 13: return l(objArr); case 14: return o(objArr); case 15: return p(objArr); case 16: return r(objArr); case 17: return q(objArr); case 18: return t(objArr); case 19: return s(objArr); default: return d(objArr); } } private static /* synthetic */ Object f(Object[] objArr) { Activity activity = (Activity) objArr[0]; View view = (View) objArr[1]; int intValue = ((Number) objArr[2]).intValue(); String str = (String) objArr[3]; int intValue2 = ((Number) objArr[4]).intValue(); int intValue3 = ((Number) objArr[5]).intValue(); int intValue4 = ((Number) objArr[6]).intValue(); TSnackbar.RVV rvv = (TSnackbar.RVV) objArr[7]; int intValue5 = ((Number) objArr[8]).intValue(); View.OnClickListener onClickListener = (View.OnClickListener) objArr[9]; int i = 2 % 2; int i2 = d; int i3 = (i2 ^ 5) + ((5 & i2) << 1); a = i3 % 128; Object obj = null; if (i3 % 2 == 0) { activity.isFinishing(); throw null; } if (activity.isFinishing()) { int i4 = a + 49; d = i4 % 128; if (i4 % 2 == 0) { return null; } obj.hashCode(); throw null; } if (view == null) { int i5 = a; int i6 = (i5 ^ 22) + ((i5 & 22) << 1); int i7 = (i6 ^ (-1)) + (i6 << 1); d = i7 % 128; int i8 = i7 % 2; guQ.c("view for displaying Snackbar is null", new Object[0]); int i9 = d; int i10 = ((i9 & 70) + (i9 | 70)) - 1; a = i10 % 128; if (i10 % 2 == 0) { int i11 = 27 / 0; } return null; } TSnackbar a2 = TSnackbar.a(view, str); TSnackbar.SnackbarLayout.a(a2.d); if (intValue > 0) { int i12 = a; int i13 = (i12 ^ 111) + ((i12 & 111) << 1); d = i13 % 128; if (i13 % 2 != 0) { a2.e(intValue); TextView textView = a2.d.b; obj.hashCode(); throw null; } a2.e(intValue); a2.d.b.setCompoundDrawablePadding(24); int i14 = a; int i15 = i14 & 121; int i16 = (i15 - (~((i14 ^ 121) | i15))) - 1; d = i16 % 128; int i17 = i16 % 2; } if (rvv != null) { int i18 = a + 81; d = i18 % 128; int i19 = i18 % 2; a2.c = rvv; int i20 = a; int i21 = ((i20 | 67) << 1) - (i20 ^ 67); d = i21 % 128; int i22 = i21 % 2; } if (onClickListener != null) { int i23 = d; int i24 = i23 & 93; int i25 = i24 + ((i23 ^ 93) | i24); a = i25 % 128; if (i25 % 2 == 0) { a2.Dm_(intValue5, onClickListener); int i26 = 93 / 0; } else { a2.Dm_(intValue5, onClickListener); } int i27 = d + 101; a = i27 % 128; int i28 = i27 % 2; } TSnackbar.SnackbarLayout snackbarLayout = a2.d; if (intValue4 > 0) { int i29 = a + 11; d = i29 % 128; int i30 = i29 % 2; FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) snackbarLayout.getLayoutParams(); layoutParams.gravity = 49; int i31 = a; int i32 = (i31 & 7) + (7 | i31); d = i32 % 128; int i33 = i32 % 2; snackbarLayout.setLayoutParams(layoutParams); snackbarLayout.setPadding(0, intValue4, 0, 0); int i34 = a; int i35 = (i34 & (-118)) | ((~i34) & 117); int i36 = (i34 & 117) << 1; int i37 = ((i35 | i36) << 1) - (i36 ^ i35); d = i37 % 128; int i38 = i37 % 2; } snackbarLayout.setBackgroundColor(nMh.getColor(activity, intValue3)); int i39 = d + 91; a = i39 % 128; if (i39 % 2 == 0) { nMh.getColor(activity, intValue2); throw null; } TextView textView2 = (TextView) snackbarLayout.findViewById(com.scb.phone.R.id.snackbar_text); textView2.setTextColor(nMh.getColor(activity, intValue2)); Resources resources = activity.getResources(); int i40 = a; int i41 = (i40 ^ 93) + ((i40 & 93) << 1); d = i41 % 128; int i42 = i41 % 2; textView2.setTextSize(0, resources.getDimension(com.scb.phone.R.dimen.f16092131165375)); textView2.setMaxLines(10); int i43 = d; int i44 = ((i43 ^ 49) | (i43 & 49)) << 1; int i45 = -(((~i43) & 49) | (i43 & (-50))); int i46 = ((i44 | i45) << 1) - (i45 ^ i44); a = i46 % 128; int i47 = i46 % 2; CalligraphyUtils.applyFontToTextView(activity, textView2, "fonts/db_heavent_medium.ttf"); a2.c(); int i48 = d; int i49 = ((i48 | 13) << 1) - (i48 ^ 13); a = i49 % 128; int i50 = i49 % 2; return null; } private static /* synthetic */ Object d(Object[] objArr) { Activity activity = (Activity) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int intValue2 = ((Number) objArr[2]).intValue(); String str = (String) objArr[3]; ((Number) objArr[4]).intValue(); int intValue3 = ((Number) objArr[5]).intValue(); int intValue4 = ((Number) objArr[6]).intValue(); TSnackbar.RVV rvv = (TSnackbar.RVV) objArr[7]; int i = 2 % 2; int i2 = a + 71; d = i2 % 128; Object obj = null; if (i2 % 2 != 0) { activity.findViewById(intValue); obj.hashCode(); throw null; } e(new Object[]{activity, activity.findViewById(intValue), Integer.valueOf(intValue2), str, Integer.valueOf(com.scb.phone.R.color.f14042131100912), Integer.valueOf(intValue3), Integer.valueOf(intValue4), rvv, 0, null}, -902240068, 902240075, intValue2); int i3 = d; int i4 = i3 & 23; int i5 = ((i3 ^ 23) | i4) << 1; int i6 = -((i3 | 23) & (~i4)); int i7 = ((i5 | i6) << 1) - (i6 ^ i5); a = i7 % 128; int i8 = i7 % 2; return null; } private static /* synthetic */ Object t(Object[] objArr) { Activity activity = (Activity) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int intValue2 = ((Number) objArr[2]).intValue(); String str = (String) objArr[3]; int intValue3 = ((Number) objArr[4]).intValue(); int intValue4 = ((Number) objArr[5]).intValue(); int i = 2 % 2; int i2 = d + 3; a = i2 % 128; int i3 = i2 % 2; e(new Object[]{activity, Integer.valueOf(intValue), Integer.valueOf(intValue2), str, Integer.valueOf(com.scb.phone.R.color.f14042131100912), Integer.valueOf(intValue3), Integer.valueOf(intValue4), null}, -12036813, 12036813, intValue); int i4 = d; int i5 = (i4 & 67) + (i4 | 67); a = i5 % 128; if (i5 % 2 != 0) { return null; } throw null; } private static /* synthetic */ Object i(Object[] objArr) { Activity activity = (Activity) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int intValue2 = ((Number) objArr[2]).intValue(); String str = (String) objArr[3]; int intValue3 = ((Number) objArr[4]).intValue(); int i = 2 % 2; int i2 = d; int i3 = i2 & 43; int i4 = (i3 - (~((i2 ^ 43) | i3))) - 1; a = i4 % 128; if (i4 % 2 == 0) { e(new Object[]{activity, Integer.valueOf(intValue), Integer.valueOf(intValue2), str, Integer.valueOf(intValue3), 0}, 1796001485, -1796001467, intValue); return null; } e(new Object[]{activity, Integer.valueOf(intValue), Integer.valueOf(intValue2), str, Integer.valueOf(intValue3), 0}, 1796001485, -1796001467, intValue); return null; } /* JADX WARN: Code restructure failed: missing block: B:27:0x00cd, code lost: if (r10 != null) goto L79; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x00d7, code lost: if ((!r10.hasTransport(0)) == true) goto L83; */ /* JADX WARN: Code restructure failed: missing block: B:31:0x00da, code lost: r1 = o.C12914fKz.a; r4 = ((r1 & 72) + (r1 | 72)) - 1; o.C12914fKz.d = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:32:0x00e8, code lost: if ((r4 % 2) == 0) goto L88; */ /* JADX WARN: Code restructure failed: missing block: B:34:0x00ef, code lost: if ((!r10.hasTransport(0)) == false) goto L91; */ /* JADX WARN: Code restructure failed: missing block: B:38:0x00f7, code lost: if ((!r10.hasTransport(1)) == true) goto L97; */ /* JADX WARN: Code restructure failed: missing block: B:39:0x00f9, code lost: r10 = o.C12914fKz.a; r1 = r10 & 67; r0 = (((r10 ^ 67) | r1) << 1) - ((r10 | 67) & (~r1)); o.C12914fKz.d = r0 % 128; r0 = r0 % 2; r0 = true; */ /* JADX WARN: Code restructure failed: missing block: B:44:0x00d0, code lost: if (r10 != null) goto L79; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object l(java.lang.Object[] r10) { /* Method dump skipped, instructions count: 313 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C12914fKz.l(java.lang.Object[]):java.lang.Object"); } /* JADX WARN: Code restructure failed: missing block: B:21:0x0095, code lost: if (r6 != null) goto L55; */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0098, code lost: if (r6 != null) goto L55; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object q(java.lang.Object[] r6) { /* Method dump skipped, instructions count: 206 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C12914fKz.q(java.lang.Object[]):java.lang.Object"); } private static /* synthetic */ Object p(Object[] objArr) { Optional map; fKM fkm; int i = 2 % 2; Optional map2 = Optional.ofNullable((Context) objArr[0]).map(new Function() { // from class: o.fKC @Override // java.util.function.Function public final Object apply(Object obj) { return (ConnectivityManager) C12914fKz.e(new Object[]{(Context) obj}, -1923238850, 1923238866, (int) System.currentTimeMillis()); } }).map(new Function() { // from class: o.fKF @Override // java.util.function.Function public final Object apply(Object obj) { return (NetworkCapabilities) C12914fKz.e(new Object[]{(ConnectivityManager) obj}, 608664075, -608664071, (int) System.currentTimeMillis()); } }); Function function = new Function() { // from class: o.fKD @Override // java.util.function.Function public final Object apply(Object obj) { return (fKM) C12914fKz.e(new Object[]{(NetworkCapabilities) obj}, -1093392554, 1093392566, (int) System.currentTimeMillis()); } }; int i2 = d; int i3 = i2 & 53; int i4 = i2 | 53; int i5 = (i3 & i4) + (i4 | i3); a = i5 % 128; if (i5 % 2 == 0) { map = map2.map(function); fkm = fKM.NOT_SUPPORTED; int i6 = 70 / 0; } else { map = map2.map(function); fkm = fKM.NOT_SUPPORTED; } int i7 = d; int i8 = i7 & 89; int i9 = (i7 ^ 89) | i8; int i10 = (i8 ^ i9) + ((i9 & i8) << 1); a = i10 % 128; int i11 = i10 % 2; fKM fkm2 = (fKM) map.orElse(fkm); int i12 = d; int i13 = i12 & 123; int i14 = (i12 | 123) & (~i13); int i15 = i13 << 1; int i16 = (i14 ^ i15) + ((i14 & i15) << 1); a = i16 % 128; if (i16 % 2 != 0) { return fkm2; } Object obj = null; obj.hashCode(); throw null; } private static /* synthetic */ Object r(Object[] objArr) { Context context = (Context) objArr[0]; int i = 2 % 2; int i2 = a + 69; d = i2 % 128; int i3 = i2 % 2; ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService("connectivity"); if (i3 != 0) { throw null; } int i4 = d; int i5 = i4 & 33; int i6 = -(-((i4 ^ 33) | i5)); int i7 = (i5 ^ i6) + ((i6 & i5) << 1); a = i7 % 128; if (i7 % 2 != 0) { return connectivityManager; } throw null; } private static /* synthetic */ Object c(Object[] objArr) { ConnectivityManager connectivityManager = (ConnectivityManager) objArr[0]; int i = 2 % 2; int i2 = d; int i3 = i2 & 83; int i4 = (((i2 | 83) & (~i3)) - (~(i3 << 1))) - 1; a = i4 % 128; if (i4 % 2 == 0) { connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); Object obj = null; obj.hashCode(); throw null; } NetworkCapabilities networkCapabilities = connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork()); int i5 = a; int i6 = i5 ^ 33; int i7 = (i5 & 33) << 1; int i8 = ((i6 | i7) << 1) - (i7 ^ i6); d = i8 % 128; int i9 = i8 % 2; return networkCapabilities; } private static /* synthetic */ Object k(Object[] objArr) { NetworkCapabilities networkCapabilities = (NetworkCapabilities) objArr[0]; int i = 2 % 2; int i2 = d; int i3 = (i2 & 17) + (i2 | 17); a = i3 % 128; if (i3 % 2 != 0 ? networkCapabilities.hasTransport(4) : !(!networkCapabilities.hasTransport(5))) { fKM fkm = fKM.NOT_SUPPORTED; int i4 = d; int i5 = i4 & 21; int i6 = (i4 | 21) & (~i5); int i7 = -(-(i5 << 1)); int i8 = ((i6 | i7) << 1) - (i6 ^ i7); a = i8 % 128; if (i8 % 2 == 0) { int i9 = 8 / 0; } return fkm; } if (networkCapabilities.hasTransport(1)) { int i10 = a; int i11 = (((i10 | 24) << 1) - (i10 ^ 24)) - 1; d = i11 % 128; int i12 = i11 % 2; fKM fkm2 = fKM.WIFI; int i13 = a; int i14 = i13 ^ 9; int i15 = -(-((i13 & 9) << 1)); int i16 = ((i14 | i15) << 1) - (i15 ^ i14); d = i16 % 128; if (i16 % 2 != 0) { int i17 = 89 / 0; } return fkm2; } if (!networkCapabilities.hasTransport(0)) { fKM fkm3 = fKM.NOT_SUPPORTED; int i18 = a; int i19 = ((i18 ^ 53) | (i18 & 53)) << 1; int i20 = -(((~i18) & 53) | (i18 & (-54))); int i21 = (i19 ^ i20) + ((i20 & i19) << 1); d = i21 % 128; int i22 = i21 % 2; return fkm3; } int i23 = d; int i24 = i23 & 13; int i25 = ((i23 | 13) & (~i24)) + (i24 << 1); a = i25 % 128; if (i25 % 2 != 0) { return fKM.CELLULAR; } fKM fkm4 = fKM.CELLULAR; Object obj = null; obj.hashCode(); throw null; } private static /* synthetic */ Object g(Object[] objArr) { Context context = (Context) objArr[0]; int i = 2 % 2; int i2 = a; int i3 = ((((i2 ^ 103) | (i2 & 103)) << 1) - (~(-(((~i2) & 103) | (i2 & IpLibUtil.KIPP_BARCODE_DRIVER_FAIL))))) - 1; d = i3 % 128; Object obj = null; if (i3 % 2 != 0) { ((Boolean) e(new Object[]{context}, -2011037208, 2011037225, (int) System.currentTimeMillis())).booleanValue(); obj.hashCode(); throw null; } if (((Boolean) e(new Object[]{context}, -2011037208, 2011037225, (int) System.currentTimeMillis())).booleanValue()) { int i4 = a; int i5 = (i4 ^ 61) + ((i4 & 61) << 1); int i6 = i5 % 128; d = i6; int i7 = i5 % 2; int i8 = ((i6 ^ 71) - (~((i6 & 71) << 1))) - 1; a = i8 % 128; if (i8 % 2 != 0) { return false; } obj.hashCode(); throw null; } ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService("connectivity"); if (connectivityManager != null) { int i9 = d + 109; a = i9 % 128; int i10 = i9 % 2; NetworkInfo activeNetworkInfo = connectivityManager.getActiveNetworkInfo(); if (activeNetworkInfo != null) { int i11 = a + 59; d = i11 % 128; int i12 = i11 % 2; boolean equalsIgnoreCase = "mobile".equalsIgnoreCase(activeNetworkInfo.getTypeName()); int i13 = d; int i14 = (i13 ^ 35) + ((i13 & 35) << 1); a = i14 % 128; int i15 = i14 % 2; return Boolean.valueOf(equalsIgnoreCase); } } int i16 = d; int i17 = (((i16 | 86) << 1) - (i16 ^ 86)) - 1; a = i17 % 128; int i18 = i17 % 2; return false; } /* JADX WARN: Code restructure failed: missing block: B:15:0x0043, code lost: if (r1.getComponent() != null) goto L57; */ /* JADX WARN: Code restructure failed: missing block: B:27:0x00b3, code lost: if (r1.equals(r4.getComponent()) != false) goto L74; */ /* JADX WARN: Code restructure failed: missing block: B:36:0x004a, code lost: if (r1.getComponent() != null) goto L57; */ /* JADX WARN: Code restructure failed: missing block: B:37:0x002e, code lost: if (r9 != null) goto L49; */ /* JADX WARN: Code restructure failed: missing block: B:3:0x0028, code lost: if (r9 != null) goto L49; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object b(java.lang.Object[] r9) { /* Method dump skipped, instructions count: 248 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C12914fKz.b(java.lang.Object[]):java.lang.Object"); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0056, code lost: ((android.widget.TextView) r7.get()).setAlpha(r2); r7 = o.C12914fKz.a; r0 = r7 & 21; r7 = -(-((r7 ^ 21) | r0)); r2 = (r0 & r7) + (r7 | r0); o.C12914fKz.d = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0054, code lost: if (r7.get() != null) goto L23; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x004b, code lost: if (r7.get() != null) goto L23; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object s(java.lang.Object[] r7) { /* r0 = 0 r0 = r7[r0] com.google.android.material.appbar.AppBarLayout r0 = (com.google.android.material.appbar.AppBarLayout) r0 r1 = 1 r2 = r7[r1] java.lang.Number r2 = (java.lang.Number) r2 int r2 = r2.intValue() r3 = 2 r7 = r7[r3] java.lang.ref.WeakReference r7 = (java.lang.ref.WeakReference) r7 int r4 = r3 % r3 int r4 = o.C12914fKz.a r5 = r4 & 49 r4 = r4 ^ 49 r4 = r4 | r5 int r4 = ~r4 int r5 = r5 - r4 int r5 = r5 - r1 int r4 = r5 % 128 o.C12914fKz.d = r4 int r5 = r5 % r3 int r0 = r0.i() int r2 = java.lang.Math.abs(r2) float r2 = (float) r2 int r4 = o.C12914fKz.a r5 = r4 ^ 47 r6 = r4 & 47 r5 = r5 | r6 int r5 = r5 << r1 int r6 = ~r6 r4 = r4 | 47 r4 = r4 & r6 int r4 = -r4 r6 = r5 & r4 r4 = r4 | r5 int r6 = r6 + r4 int r4 = r6 % 128 o.C12914fKz.d = r4 int r6 = r6 % r3 if (r6 == 0) goto L4e float r0 = (float) r0 float r2 = r2 + r0 java.lang.Object r0 = r7.get() if (r0 == 0) goto L71 goto L56 L4e: float r0 = (float) r0 float r2 = r2 / r0 java.lang.Object r0 = r7.get() if (r0 == 0) goto L71 L56: java.lang.Object r7 = r7.get() android.widget.TextView r7 = (android.widget.TextView) r7 r7.setAlpha(r2) int r7 = o.C12914fKz.a r0 = r7 & 21 r7 = r7 ^ 21 r7 = r7 | r0 int r7 = -r7 int r7 = -r7 r2 = r0 & r7 r7 = r7 | r0 int r2 = r2 + r7 int r7 = r2 % 128 o.C12914fKz.d = r7 int r2 = r2 % r3 L71: int r7 = o.C12914fKz.a r0 = r7 ^ 26 r7 = r7 & 26 int r7 = r7 << r1 int r0 = r0 + r7 r7 = r0 ^ (-1) int r0 = r0 << r1 int r7 = r7 + r0 int r0 = r7 % 128 o.C12914fKz.d = r0 int r7 = r7 % r3 r0 = 0 if (r7 != 0) goto L86 return r0 L86: throw r0 */ throw new UnsupportedOperationException("Method not decompiled: o.C12914fKz.s(java.lang.Object[]):java.lang.Object"); } private static /* synthetic */ Object o(Object[] objArr) { int identifier; int dimensionPixelSize; int i = 0; Context context = (Context) objArr[0]; int i2 = 2 % 2; int i3 = d + 67; a = i3 % 128; if (i3 % 2 == 0) { identifier = context.getResources().getIdentifier("status_bar_height", "dimen", AbstractSpiCall.ANDROID_CLIENT_TYPE); int i4 = 38 / 0; } else { identifier = context.getResources().getIdentifier("status_bar_height", "dimen", AbstractSpiCall.ANDROID_CLIENT_TYPE); } if (identifier > 0) { int i5 = a; int i6 = i5 & 97; int i7 = (i5 ^ 97) | i6; int i8 = ((i6 | i7) << 1) - (i7 ^ i6); d = i8 % 128; if (i8 % 2 != 0) { dimensionPixelSize = context.getResources().getDimensionPixelSize(identifier); int i9 = 63 / 0; } else { dimensionPixelSize = context.getResources().getDimensionPixelSize(identifier); } i = dimensionPixelSize; } else { int i10 = d; int i11 = ((i10 & (-30)) | ((~i10) & 29)) + ((i10 & 29) << 1); a = i11 % 128; int i12 = i11 % 2; } int i13 = a; int i14 = (i13 & 111) + (i13 | 111); d = i14 % 128; if (i14 % 2 == 0) { return Integer.valueOf(i); } throw null; } /* JADX WARN: Code restructure failed: missing block: B:13:0x0036, code lost: r0 = o.C12914fKz.d; r1 = ((((r0 ^ 35) | (r0 & 35)) << 1) - (~(-((r0 & (-36)) | ((~r0) & 35))))) - 1; o.C12914fKz.a = r1 % 128; r1 = r1 % 2; r1 = r0 & 111; r0 = ((r0 | 111) & (~r1)) + (r1 << 1); o.C12914fKz.a = r0 % 128; r0 = r0 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0034, code lost: if (r1 == android.os.Looper.getMainLooper().getThread()) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0029, code lost: if (r1 == android.os.Looper.getMainLooper().getThread()) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x005c, code lost: r1 = o.C12914fKz.a; r3 = r1 ^ 19; r1 = -(-((r1 & 19) << 1)); r2 = (r3 & r1) + (r1 | r3); o.C12914fKz.d = r2 % 128; r2 = r2 % 2; r2 = false; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object e(java.lang.Object[] r6) { /* r6 = 2 int r0 = r6 % r6 int r0 = o.C12914fKz.a r1 = r0 ^ 85 r0 = r0 & 85 r0 = r0 | r1 r2 = 1 int r0 = r0 << r2 int r1 = -r1 r3 = r0 ^ r1 r0 = r0 & r1 int r0 = r0 << r2 int r3 = r3 + r0 int r0 = r3 % 128 o.C12914fKz.d = r0 int r3 = r3 % r6 r0 = 0 java.lang.Thread r1 = java.lang.Thread.currentThread() if (r3 == 0) goto L2c android.os.Looper r3 = android.os.Looper.getMainLooper() java.lang.Thread r3 = r3.getThread() r4 = 63 int r4 = r4 / r0 if (r1 != r3) goto L5c goto L36 L2c: android.os.Looper r3 = android.os.Looper.getMainLooper() java.lang.Thread r3 = r3.getThread() if (r1 != r3) goto L5c L36: int r0 = o.C12914fKz.d r1 = r0 ^ 35 r3 = r0 & 35 r1 = r1 | r3 int r1 = r1 << r2 r3 = r0 & (-36) int r4 = ~r0 r5 = 35 r4 = r4 & r5 r3 = r3 | r4 int r3 = -r3 int r3 = ~r3 int r1 = r1 - r3 int r1 = r1 - r2 int r3 = r1 % 128 o.C12914fKz.a = r3 int r1 = r1 % r6 r1 = r0 & 111(0x6f, float:1.56E-43) int r3 = ~r1 r0 = r0 | 111(0x6f, float:1.56E-43) r0 = r0 & r3 int r1 = r1 << r2 int r0 = r0 + r1 int r1 = r0 % 128 o.C12914fKz.a = r1 int r0 = r0 % r6 goto L6f L5c: int r1 = o.C12914fKz.a r3 = r1 ^ 19 r1 = r1 & 19 int r1 = r1 << r2 int r1 = -r1 int r1 = -r1 r2 = r3 & r1 r1 = r1 | r3 int r2 = r2 + r1 int r1 = r2 % 128 o.C12914fKz.d = r1 int r2 = r2 % r6 r2 = r0 L6f: int r0 = o.C12914fKz.d int r0 = r0 + 54 r0 = r0 ^ (-1) int r0 = (-2) - r0 int r1 = r0 % 128 o.C12914fKz.a = r1 int r0 = r0 % r6 if (r0 == 0) goto L83 java.lang.Boolean r6 = java.lang.Boolean.valueOf(r2) return r6 L83: r6 = 0 throw r6 */ throw new UnsupportedOperationException("Method not decompiled: o.C12914fKz.e(java.lang.Object[]):java.lang.Object"); } private static /* synthetic */ Object h(Object[] objArr) { Context context = (Context) objArr[0]; C10318eAn.RVV rvv = (C10318eAn.RVV) objArr[1]; C10318eAn.Sts sts = (C10318eAn.Sts) objArr[2]; C10318eAn.Sts sts2 = (C10318eAn.Sts) objArr[3]; ViewGroup viewGroup = (ViewGroup) objArr[4]; String str = (String) objArr[5]; int i = 2 % 2; WebView webView = new WebView(context); WebChromeClient webChromeClient = new WebChromeClient(); int i2 = d; int i3 = i2 ^ 101; int i4 = (i2 & 101) << 1; int i5 = (i3 & i4) + (i4 | i3); a = i5 % 128; if (i5 % 2 != 0) { webView.setWebChromeClient(webChromeClient); webView.getSettings().setJavaScriptEnabled(true); } else { webView.setWebChromeClient(webChromeClient); webView.getSettings().setJavaScriptEnabled(false); } webView.getSettings().setSupportZoom(true); webView.getSettings().setBuiltInZoomControls(true); webView.getSettings().setDisplayZoomControls(false); C10318eAn c10318eAn = new C10318eAn(rvv, sts, sts2); int i6 = d; int i7 = (((i6 | 68) << 1) - (i6 ^ 68)) - 1; a = i7 % 128; if (i7 % 2 == 0) { webView.setWebViewClient(c10318eAn); } else { webView.setWebViewClient(c10318eAn); } webView.clearCache(true); webView.clearHistory(); try { String encode = URLEncoder.encode(str, "UTF-8"); StringBuilder sb = new StringBuilder("https://docs.google.com/gview?embedded=true&url="); int i8 = a + 33; d = i8 % 128; int i9 = i8 % 2; sb.append(encode); webView.loadUrl(sb.toString()); int i10 = d; int i11 = (i10 & 99) + (i10 | 99); a = i11 % 128; int i12 = i11 % 2; viewGroup.removeAllViews(); viewGroup.addView(webView); int i13 = a; int i14 = i13 & 99; int i15 = (i14 - (~(-(-((i13 ^ 99) | i14))))) - 1; d = i15 % 128; if (i15 % 2 == 0) { return null; } throw null; } catch (UnsupportedEncodingException e) { guQ.e(e); return null; } } private static /* synthetic */ Object n(Object[] objArr) { C10318eAn.RVV rvv = (C10318eAn.RVV) objArr[0]; C10318eAn.Sts sts = (C10318eAn.Sts) objArr[1]; WebView webView = (WebView) objArr[2]; String str = (String) objArr[3]; int i = 2 % 2; webView.setWebChromeClient(new WebChromeClient()); WebSettings settings = webView.getSettings(); int i2 = d; int i3 = ((i2 | 64) << 1) - (i2 ^ 64); int i4 = (i3 ^ (-1)) + (i3 << 1); a = i4 % 128; int i5 = i4 % 2; settings.setJavaScriptEnabled(true); webView.getSettings().setSupportZoom(true); webView.getSettings().setBuiltInZoomControls(true); webView.getSettings().setDisplayZoomControls(false); Object obj = null; C10318eAn c10318eAn = new C10318eAn(rvv, null, sts); int i6 = a; int i7 = i6 & 15; int i8 = (i6 | 15) & (~i7); int i9 = i7 << 1; int i10 = (i8 ^ i9) + ((i8 & i9) << 1); d = i10 % 128; int i11 = i10 % 2; webView.setWebViewClient(c10318eAn); webView.clearCache(true); webView.clearHistory(); try { try { String encode = URLEncoder.encode(str, "UTF-8"); StringBuilder sb = new StringBuilder("https://docs.google.com/gview?embedded=true&url="); sb.append(encode); int i12 = a; int i13 = ((i12 & 26) + (i12 | 26)) - 1; d = i13 % 128; if (i13 % 2 != 0) { webView.loadUrl(sb.toString()); obj.hashCode(); throw null; } webView.loadUrl(sb.toString()); int i14 = d; int i15 = i14 & 37; int i16 = -(-((i14 ^ 37) | i15)); int i17 = (i15 ^ i16) + ((i16 & i15) << 1); a = i17 % 128; int i18 = i17 % 2; return null; } catch (UnsupportedEncodingException e) { guQ.e(e); return null; } } catch (NumberFormatException e2) { throw e2; } } private static /* synthetic */ Object j(Object[] objArr) { TextView textView = (TextView) objArr[0]; int i = 2 % 2; SpannableString spannableString = new SpannableString(textView.getText()); UnderlineSpan underlineSpan = new UnderlineSpan(); int length = spannableString.length(); int i2 = d; int i3 = (i2 & (-116)) | ((~i2) & 115); int i4 = (i2 & 115) << 1; int i5 = (i3 ^ i4) + ((i4 & i3) << 1); a = i5 % 128; int i6 = i5 % 2; spannableString.setSpan(underlineSpan, 0, length, 0); textView.setText(spannableString); int i7 = d + 113; a = i7 % 128; int i8 = i7 % 2; return null; } private static /* synthetic */ Object a(Object[] objArr) { String str = (String) objArr[0]; int i = 2 % 2; int i2 = d; int i3 = i2 & 115; int i4 = i3 + ((i2 ^ 115) | i3); a = i4 % 128; if (i4 % 2 == 0) { C6583cXR.k(str); throw null; } String k = C6583cXR.k(str); int i5 = a; int i6 = i5 & 59; int i7 = (((i5 | 59) & (~i6)) - (~(-(-(i6 << 1))))) - 1; d = i7 % 128; int i8 = i7 % 2; return k; } private static /* synthetic */ Object m(Object[] objArr) { TextView textView = (TextView) objArr[0]; String str = (String) objArr[1]; int i = 2 % 2; int i2 = a + 123; d = i2 % 128; int i3 = i2 % 2; textView.setText(C3172asW.qI_(str, 0)); return null; } public static void aAi_(Activity activity, View view, int i, String str, int i2, int i3, int i4, TSnackbar.RVV rvv, int i5, View.OnClickListener onClickListener) { e(new Object[]{activity, view, Integer.valueOf(i), str, Integer.valueOf(i2), Integer.valueOf(i3), Integer.valueOf(i4), rvv, Integer.valueOf(i5), onClickListener}, -902240068, 902240075, i); } public static void aAh_(Activity activity, int i, int i2, String str, int i3, int i4, int i5, TSnackbar.RVV rvv) { e(new Object[]{activity, Integer.valueOf(i), Integer.valueOf(i2), str, Integer.valueOf(i3), Integer.valueOf(i4), Integer.valueOf(i5), rvv}, -12036813, 12036813, i); } public static void aAg_(Activity activity, int i, int i2, String str, int i3, int i4) { e(new Object[]{activity, Integer.valueOf(i), Integer.valueOf(i2), str, Integer.valueOf(i3), Integer.valueOf(i4)}, 1796001485, -1796001467, i); } public static void aAf_(Activity activity, int i, int i2, String str, int i3) { e(new Object[]{activity, Integer.valueOf(i), Integer.valueOf(i2), str, Integer.valueOf(i3)}, 1259223802, -1259223796, i); } public static void aAe_(C10318eAn.RVV rvv, C10318eAn.Sts sts, WebView webView, String str) { e(new Object[]{rvv, sts, webView, str}, -1306010839, 1306010849, (int) System.currentTimeMillis()); } public static void aAd_(Context context, C10318eAn.RVV rvv, C10318eAn.Sts sts, C10318eAn.Sts sts2, ViewGroup viewGroup, String str) { e(new Object[]{context, rvv, sts, sts2, viewGroup, str}, -793427580, 793427589, (int) System.currentTimeMillis()); } public static boolean aAc_(Intent intent, Context context) { return ((Boolean) e(new Object[]{intent, context}, -1761691613, 1761691614, (int) System.currentTimeMillis())).booleanValue(); } public static void aAb_(TextView textView) { e(new Object[]{textView}, 162025388, -162025380, (int) System.currentTimeMillis()); } public static void aAa_(TextView textView, String str) { e(new Object[]{textView, str}, -2052661820, 2052661831, (int) System.currentTimeMillis()); } public static void b(AppBarLayout appBarLayout, int i, WeakReference weakReference) { e(new Object[]{appBarLayout, Integer.valueOf(i), weakReference}, 650072314, -650072295, i); } static /* synthetic */ fKM azZ_(NetworkCapabilities networkCapabilities) { return (fKM) e(new Object[]{networkCapabilities}, -1093392554, 1093392566, (int) System.currentTimeMillis()); } static /* synthetic */ NetworkCapabilities azY_(ConnectivityManager connectivityManager) { return (NetworkCapabilities) e(new Object[]{connectivityManager}, 608664075, -608664071, (int) System.currentTimeMillis()); } static /* synthetic */ ConnectivityManager azX_(Context context) { return (ConnectivityManager) e(new Object[]{context}, -1923238850, 1923238866, (int) System.currentTimeMillis()); } private static boolean j(Context context) { return ((Boolean) e(new Object[]{context}, -2011037208, 2011037225, (int) System.currentTimeMillis())).booleanValue(); } public static fKM a(Context context) { return (fKM) e(new Object[]{context}, 918356080, -918356065, (int) System.currentTimeMillis()); } public static boolean c(Context context) { return ((Boolean) e(new Object[]{context}, -54286131, 54286144, (int) System.currentTimeMillis())).booleanValue(); } public static boolean b() { return ((Boolean) e(new Object[0], -1840827221, 1840827223, (int) System.currentTimeMillis())).booleanValue(); } public static boolean b(Context context) { return ((Boolean) e(new Object[]{context}, -561036075, 561036080, (int) System.currentTimeMillis())).booleanValue(); } public static String b(String str) { return (String) e(new Object[]{str}, -736699052, 736699055, (int) System.currentTimeMillis()); } public static int e(Context context) { return ((Integer) e(new Object[]{context}, 27586478, -27586464, (int) System.currentTimeMillis())).intValue(); } }