package com.ironsource.adqualitysdk.sdk.i; import android.graphics.Bitmap; import android.graphics.Color; import android.net.http.SslError; import android.os.Message; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import android.view.ViewConfiguration; import android.webkit.ClientCertRequest; import android.webkit.HttpAuthHandler; import android.webkit.RenderProcessGoneDetail; import android.webkit.SslErrorHandler; import android.webkit.WebResourceError; import android.webkit.WebResourceRequest; import android.webkit.WebResourceResponse; import android.webkit.WebView; import android.webkit.WebViewClient; import androidx.annotation.RequiresApi; import com.applovin.exoplayer2.common.base.Ascii; import com.ironsource.adqualitysdk.sdk.i.au; import java.util.List; /* loaded from: classes4.dex */ public class hk extends WebViewClient implements au.c, cj { /* renamed from: ﱡ, reason: contains not printable characters */ private static int f2219 = 1; /* renamed from: ﻏ, reason: contains not printable characters */ private static int f2220; /* renamed from: ヌ, reason: contains not printable characters */ private WebViewClient f2224; /* renamed from: メ, reason: contains not printable characters */ private WebViewClient f2225; /* renamed from: ﻐ, reason: contains not printable characters */ private static char[] f2221 = {'<', 128, 133, '~', 129, 137, 144, Ascii.MAX, 'y', 140, 137, 139, 147, '~', 'v', 134, 139, 146, 139, 140, 147, 146, ':', 138, 161, 159, 159, 'x', 's', 154, 'v', 'u', 143, 138, 134, 137, 157, 162, 155, 152, 152, 154, 'x', 'v', 157, 142, 135, 147, 149, 139, 146, 153, 152, 162, 155, 147, 'R', 162, '{', 128, 167, 167, 169, 146, 147, 170, 163, 164, 170, 162, 146, 154, 169, 161, 155, 161, 162, 163, 168, 146, 141, 159, 167, 169, 162, 164, 128, 128, 162, 160, 160, 163, 170, 165, 145, 142, 146, 151, '}', ':', 'l', 'd', 'V', 'X', 'n', 's', 'q', 'p', 'u', '_', '[', 'r', 'p', 'p', 'I', 'D', 'k', 'G', 'F', '`', '[', 'W', 'Z', 'n', 's', 'l', 'i', 'i', 'k', 'I', 'B', 'i', 'b', 'b', 'j', 'b', 'j', 'l', ']', '_', 'n', 'n', '9', 'p', 'p', 'r', '[', 'X', 'o', 'c', '[', 'd', 'm', 'o', 'g', 'd', 'd', '[', '`', 'n', 'G', 'I', 'k', 'i', 'i', 'l', 's', 'n', 'Z', 'W', '[', '`', 'F', 'G', 'k', 'D', 'I', 'p', 'p', 'r', '[', 'H', 146, 153, 158, 151, 153, 142, 133, 148, 156, 158, 151, 153, 'u', 'u', 151, 149, 149, 152, 159, 154, 134, 131, 135, 140, 'r', 's', 151, 'p', 'u', 156, 156, 158, 135, 136, 157, 149, 153, 137, 139, 155, 132, 132, '4', 'Z', 'W', '[', '`', 'F', 'G', 'k', 'D', 'I', 'p', 'p', 'r', '[', '[', 'p', 'p', 'r', '[', 'Z', 'r', 't', '^', 'V', 'd', 'm', 'o', 'g', 'd', 'd', '[', '`', 'n', 'G', 'I', 'k', 'i', 'i', 'l', 's', 'U', 174, 179, 160, 162, 184, 177, 169, 174, 181, 166, 166, 176, 169, 174, 174, 160, 165, 179, 140, 142, 176, 174, 174, 177, 184, 179, 159, 156, 160, 165, 139, 140, 176, 137, 142, 181, 181, 183, 160, '*', '[', '\\', '^', 'c', '\\', '_', 'g', 'n', ']', 'W', 'j', 'g', 'i', 'q', 'm', 'f', 'l'}; /* renamed from: ﱟ, reason: contains not printable characters */ private static boolean f2218 = true; /* renamed from: ﮐ, reason: contains not printable characters */ private static boolean f2217 = true; /* renamed from: k, reason: contains not printable characters */ private static int f2223 = 141; /* renamed from: ﻛ, reason: contains not printable characters */ private static char[] f2222 = {210, 255, 252, 173, 246, 251, 250, 225, 239, 217, 256, 257, 242, 245, 258, 249, 241, 220, 259, 226, 238, 244, 181, 182, 208, 254, 221, 211, 223, 240, 218, 262, 213, 253, 206, 216, 224, 228, 227, 260}; public hk(WebViewClient webViewClient, WebViewClient webViewClient2) { this.f2225 = webViewClient; this.f2224 = webViewClient2; } /* renamed from: ヌ, reason: contains not printable characters */ private WebViewClient m2817() { int i = f2220; int i2 = i + 73; f2219 = i2 % 128; int i3 = i2 % 2; WebViewClient webViewClient = this.f2225; int i4 = i + 101; f2219 = i4 % 128; int i5 = i4 % 2; return webViewClient; } /* renamed from: k, reason: contains not printable characters */ private Object m2816() { int i = f2219; int i2 = i + 67; f2220 = i2 % 128; int i3 = i2 % 2; WebViewClient webViewClient = this.f2224; int i4 = i + 11; f2220 = i4 % 128; if (i4 % 2 == 0) { return webViewClient; } throw null; } /* renamed from: ﻛ, reason: contains not printable characters */ private boolean m2815() { WebViewClient webViewClient = this.f2225; if (webViewClient == null) { return false; } int i = f2220 + 3; f2219 = i % 128; int i2 = i % 2; Class cls = webViewClient.getClass(); if (i2 == 0) { cls.equals(WebViewClient.class); throw null; } if (cls.equals(WebViewClient.class)) { return false; } int i3 = f2220 + 65; f2219 = i3 % 128; int i4 = i3 % 2; return true; } @Override // android.webkit.WebViewClient public boolean shouldOverrideUrlLoading(WebView webView, String str) { int i = f2220 + 73; f2219 = i % 128; int i2 = i % 2; boolean m2813 = m2813(webView, str, false); int i3 = f2219 + 31; f2220 = i3 % 128; if (i3 % 2 != 0) { int i4 = 95 / 0; } return m2813; } /* renamed from: ﻐ, reason: contains not printable characters */ private boolean m2813(WebView webView, String str, boolean z) { int i = f2219 + 35; f2220 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 126 - TextUtils.lastIndexOf("", '0', 0), "\u0098\u0090\u0082\u008f\u0097\u0096\u0086\u0085\u0091\u0095\u0083\u008a\u0090\u0082\u0094\u008d\u0091\u0085\u0082\u0082\u008d\u0093\u0092\u0091\u0090\u008f\u0083\u008e\u008b\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } if (i % 2 == 0) { if (this.f2224.shouldOverrideUrlLoading(webView, str) || z) { WebViewClient webViewClient = this.f2225; if (webViewClient instanceof hk) { ((hk) webViewClient).m2813(webView, str, true); } return true; } int i2 = f2220 + 119; f2219 = i2 % 128; int i3 = i2 % 2; if (m2815()) { int i4 = f2219 + 19; f2220 = i4 % 128; int i5 = i4 % 2; try { boolean shouldOverrideUrlLoading = this.f2225.shouldOverrideUrlLoading(webView, str); int i6 = f2220 + 29; f2219 = i6 % 128; if (i6 % 2 != 0) { return shouldOverrideUrlLoading; } throw null; } catch (Throwable th2) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, AndroidCharacter.getMirror('0') + 'O', "\u0098\u0090\u0082\u008f\u0097\u0096\u0086\u0085\u0091\u0095\u0083\u008a\u0090\u0082\u0094\u008d\u0091\u0085\u0082\u0082\u008d\u0093\u0092\u0091\u0090\u008f\u0083\u008e\u008b\u0084\u008c\u0086\u008d\u0085\u0090\u0099\u0086\u0085\u0096\u0085\u0082\u0092\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th2, false); } } return super.shouldOverrideUrlLoading(webView, str); } this.f2224.shouldOverrideUrlLoading(webView, str); throw null; } @Override // android.webkit.WebViewClient @RequiresApi(api = 24) public boolean shouldOverrideUrlLoading(WebView webView, WebResourceRequest webResourceRequest) { int i = f2219 + 67; f2220 = i % 128; int i2 = i % 2; boolean m2818 = m2818(webView, webResourceRequest, false); int i3 = f2220 + 115; f2219 = i3 % 128; int i4 = i3 % 2; return m2818; } @RequiresApi(api = 24) /* renamed from: ヌ, reason: contains not printable characters */ private boolean m2818(WebView webView, WebResourceRequest webResourceRequest, boolean z) { int i = f2220 + 93; f2219 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, KeyEvent.keyCodeFromString("") + 127, "\u0098\u008c\u008b\u008d\u008f\u009a\u008d\u0082\u0097\u0096\u0086\u0085\u0091\u0095\u0083\u008a\u0090\u0082\u0094\u008d\u0091\u0085\u0082\u0082\u008d\u0093\u0092\u0091\u0090\u008f\u0083\u008e\u008b\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } if (i % 2 != 0) { if (this.f2224.shouldOverrideUrlLoading(webView, webResourceRequest) || z) { WebViewClient webViewClient = this.f2225; if (webViewClient instanceof hk) { ((hk) webViewClient).m2818(webView, webResourceRequest, true); } return true; } WebViewClient webViewClient2 = this.f2225; if (webViewClient2 != null) { int i2 = f2220 + 85; f2219 = i2 % 128; int i3 = i2 % 2; try { return webViewClient2.shouldOverrideUrlLoading(webView, webResourceRequest); } catch (Throwable th2) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 127 - TextUtils.getOffsetBefore("", 0), "\u0098\u008c\u008b\u008d\u008f\u009a\u008d\u0082\u0097\u0096\u0086\u0085\u0091\u0095\u0083\u008a\u0090\u0082\u0094\u008d\u0091\u0085\u0082\u0082\u008d\u0093\u0092\u0091\u0090\u008f\u0083\u008e\u008b\u0084\u008c\u0086\u008d\u0085\u0090\u0099\u0086\u0085\u0096\u0085\u0082\u0092\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th2, false); } } return super.shouldOverrideUrlLoading(webView, webResourceRequest); } this.f2224.shouldOverrideUrlLoading(webView, webResourceRequest); throw null; } @Override // android.webkit.WebViewClient public void onPageStarted(WebView webView, String str, Bitmap bitmap) { try { this.f2224.onPageStarted(webView, str, bitmap); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0001", false, new int[]{22, 34, 47, 0}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i = f2219 + 23; f2220 = i % 128; if (i % 2 == 0) { webViewClient.onPageStarted(webView, str, bitmap); int i2 = f2220 + 51; f2219 = i2 % 128; if (i2 % 2 == 0) { throw null; } return; } webViewClient.onPageStarted(webView, str, bitmap); throw null; } super.onPageStarted(webView, str, bitmap); } @Override // android.webkit.WebViewClient public void onPageFinished(WebView webView, String str) { try { this.f2224.onPageFinished(webView, str); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, KeyEvent.keyCodeFromString("") + 127, "\u0091\u008d\u008e\u008b\u0085\u0086\u0085\u009c\u008d\u0096\u0095\u009b\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient == null) { super.onPageFinished(webView, str); return; } int i = f2220 + 23; f2219 = i % 128; int i2 = i % 2; webViewClient.onPageFinished(webView, str); int i3 = f2220 + 91; f2219 = i3 % 128; if (i3 % 2 == 0) { int i4 = 13 / 0; } } @Override // android.webkit.WebViewClient public void onLoadResource(WebView webView, String str) { int i = f2219 + 53; f2220 = i % 128; int i2 = i % 2; try { this.f2224.onLoadResource(webView, str); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 127 - (KeyEvent.getMaxKeyCode() >> 16), "\u008d\u009e\u0082\u008f\u0083\u008b\u008d\u009d\u0091\u0095\u0083\u008a\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 103; f2219 = i3 % 128; int i4 = i3 % 2; webViewClient.onLoadResource(webView, str); return; } super.onLoadResource(webView, str); } @Override // android.webkit.WebViewClient public WebResourceResponse shouldInterceptRequest(WebView webView, String str) { int i = f2220 + 71; f2219 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0001", true, new int[]{56, 43, 55, 8}).intern(), th, false); } if (i % 2 == 0) { this.f2224.shouldInterceptRequest(webView, str); throw null; } this.f2224.shouldInterceptRequest(webView, str); WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i2 = f2219 + 67; f2220 = i2 % 128; int i3 = i2 % 2; WebResourceResponse shouldInterceptRequest = webViewClient.shouldInterceptRequest(webView, str); int i4 = f2220 + 67; f2219 = i4 % 128; if (i4 % 2 != 0) { return shouldInterceptRequest; } throw null; } WebResourceResponse shouldInterceptRequest2 = super.shouldInterceptRequest(webView, str); int i5 = f2220 + 21; f2219 = i5 % 128; int i6 = i5 % 2; return shouldInterceptRequest2; } @Override // android.webkit.WebViewClient @RequiresApi(api = 21) public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest webResourceRequest) { int i = f2219 + 7; f2220 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0001", true, new int[]{56, 43, 55, 8}).intern(), th, false); } if (i % 2 != 0) { this.f2224.shouldInterceptRequest(webView, webResourceRequest); throw null; } this.f2224.shouldInterceptRequest(webView, webResourceRequest); WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i2 = f2220 + 15; f2219 = i2 % 128; int i3 = i2 % 2; return webViewClient.shouldInterceptRequest(webView, webResourceRequest); } WebResourceResponse shouldInterceptRequest = super.shouldInterceptRequest(webView, webResourceRequest); int i4 = f2220 + 113; f2219 = i4 % 128; int i5 = i4 % 2; return shouldInterceptRequest; } @Override // android.webkit.WebViewClient public void onTooManyRedirects(WebView webView, Message message, Message message2) { int i = f2220 + 121; f2219 = i % 128; try { if (i % 2 == 0) { this.f2224.onTooManyRedirects(webView, message, message2); int i2 = 98 / 0; } else { this.f2224.onTooManyRedirects(webView, message, message2); } } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 128 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), "\u008b\u008c\u009e\u008d\u0082\u0085\u0091\u008d\u009d \u0086\u0095\u009f\u0083\u0083\u0088\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 59; f2219 = i3 % 128; int i4 = i3 % 2; webViewClient.onTooManyRedirects(webView, message, message2); return; } super.onTooManyRedirects(webView, message, message2); } @Override // android.webkit.WebViewClient public void onReceivedError(WebView webView, int i, String str, String str2) { int i2 = f2219 + 33; f2220 = i2 % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, Color.rgb(0, 0, 0) + 16777343, "\u0082\u0083\u0082\u0082\u0081\u0091\u008d\u0093\u0085\u008d\u009e\u008d\u009d\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } if (i2 % 2 != 0) { this.f2224.onReceivedError(webView, i, str, str2); throw null; } this.f2224.onReceivedError(webView, i, str, str2); WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 45; f2219 = i3 % 128; if (i3 % 2 != 0) { webViewClient.onReceivedError(webView, i, str, str2); return; } else { webViewClient.onReceivedError(webView, i, str, str2); throw null; } } super.onReceivedError(webView, i, str, str2); } @Override // android.webkit.WebViewClient public void onFormResubmission(WebView webView, Message message, Message message2) { int i = f2220 + 125; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onFormResubmission(webView, message, message2); int i3 = f2219 + 87; f2220 = i3 % 128; int i4 = i3 % 2; } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 126 - TextUtils.lastIndexOf("", '0', 0), "\u0086\u0083\u0085\u008b\u008b\u0085\u0087\u0089\u008f\u008b\u008d\u009d\u0087\u0082\u0083\u009c\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } try { WebViewClient webViewClient = this.f2225; if (webViewClient == null) { super.onFormResubmission(webView, message, message2); int i5 = f2219 + 33; f2220 = i5 % 128; if (i5 % 2 != 0) { throw null; } return; } int i6 = f2220 + 49; f2219 = i6 % 128; int i7 = i6 % 2; webViewClient.onFormResubmission(webView, message, message2); int i8 = f2220 + 113; f2219 = i8 % 128; if (i8 % 2 == 0) { throw null; } } catch (Error e) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, TextUtils.indexOf("", "", 0) + 127, "\u0086\u0083\u0085\u008b\u008b\u0085\u0087\u0089\u008f\u008b\u008d\u009d\u0087\u0082\u0083\u009c\u0086\u0083\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), (Throwable) e, false); } } @Override // android.webkit.WebViewClient public void doUpdateVisitedHistory(WebView webView, String str, boolean z) { try { this.f2224.doUpdateVisitedHistory(webView, str, z); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0000", false, new int[]{99, 43, 0, 10}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i = f2219 + 99; f2220 = i % 128; int i2 = i % 2; webViewClient.doUpdateVisitedHistory(webView, str, z); return; } super.doUpdateVisitedHistory(webView, str, z); int i3 = f2219 + 47; f2220 = i3 % 128; if (i3 % 2 != 0) { throw null; } } @Override // android.webkit.WebViewClient public void onReceivedSslError(WebView webView, SslErrorHandler sslErrorHandler, SslError sslError) { int i = f2220 + 9; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onReceivedSslError(webView, sslErrorHandler, sslError); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001", true, new int[]{142, 39, 0, 0}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2219 + 115; f2220 = i3 % 128; int i4 = i3 % 2; webViewClient.onReceivedSslError(webView, sslErrorHandler, sslError); return; } super.onReceivedSslError(webView, sslErrorHandler, sslError); int i5 = f2219 + 27; f2220 = i5 % 128; if (i5 % 2 != 0) { throw null; } } @Override // android.webkit.WebViewClient @RequiresApi(api = 21) public void onReceivedClientCertRequest(WebView webView, ClientCertRequest clientCertRequest) { int i = f2219 + 117; f2220 = i % 128; int i2 = i % 2; try { this.f2224.onReceivedClientCertRequest(webView, clientCertRequest); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 127 - (ViewConfiguration.getTapTimeout() >> 16), "\u008c\u008b\u008d\u008f\u009a\u008d\u009d\u008c\u0082\u008d\u0099\u008c\u0086\u008d\u0085\u0090\u0099\u0091\u008d\u0093\u0085\u008d\u009e\u008d\u009d\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 21; f2219 = i3 % 128; int i4 = i3 % 2; webViewClient.onReceivedClientCertRequest(webView, clientCertRequest); return; } super.onReceivedClientCertRequest(webView, clientCertRequest); } @Override // android.webkit.WebViewClient public void onReceivedHttpAuthRequest(WebView webView, HttpAuthHandler httpAuthHandler, String str, String str2) { int i = f2219 + 25; f2220 = i % 128; int i2 = i % 2; try { this.f2224.onReceivedHttpAuthRequest(webView, httpAuthHandler, str, str2); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, TextUtils.indexOf("", "", 0, 0) + 127, "\u008c\u008b\u008d\u008f\u009a\u008d\u009d\u008e\u008c\u008f£¢\u008c\u008c¡\u0091\u008d\u0093\u0085\u008d\u009e\u008d\u009d\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 83; f2219 = i3 % 128; int i4 = i3 % 2; webViewClient.onReceivedHttpAuthRequest(webView, httpAuthHandler, str, str2); return; } super.onReceivedHttpAuthRequest(webView, httpAuthHandler, str, str2); } @Override // android.webkit.WebViewClient public boolean shouldOverrideKeyEvent(WebView webView, KeyEvent keyEvent) { int i = f2220 + 75; f2219 = i % 128; int i2 = i % 2; try { this.f2224.shouldOverrideKeyEvent(webView, keyEvent); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0000", true, new int[]{181, 43, 44, 34}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 83; f2219 = i3 % 128; if (i3 % 2 != 0) { return webViewClient.shouldOverrideKeyEvent(webView, keyEvent); } boolean shouldOverrideKeyEvent = webViewClient.shouldOverrideKeyEvent(webView, keyEvent); int i4 = 84 / 0; return shouldOverrideKeyEvent; } return super.shouldOverrideKeyEvent(webView, keyEvent); } @Override // android.webkit.WebViewClient public void onUnhandledKeyEvent(WebView webView, KeyEvent keyEvent) { int i = f2220 + 11; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onUnhandledKeyEvent(webView, keyEvent); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, ((Process.getThreadPriority(0) + 20) >> 6) + 127, "\u008c\u0086\u008d\u0093\u0081 \u008d¤\u0091\u008d\u0090\u0091\u0086\u0095\u008e\u0086\u0094\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 45; f2219 = i3 % 128; int i4 = i3 % 2; webViewClient.onUnhandledKeyEvent(webView, keyEvent); return; } super.onUnhandledKeyEvent(webView, keyEvent); } @Override // android.webkit.WebViewClient public void onScaleChanged(WebView webView, float f, float f2) { int i = f2219 + 111; f2220 = i % 128; int i2 = i % 2; try { this.f2224.onScaleChanged(webView, f, f2); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 128 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), "\u0091\u008d\u0096\u0086\u0095\u008e\u0099\u008d\u0090\u0095\u009e¥\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2219 + 7; f2220 = i3 % 128; int i4 = i3 % 2; webViewClient.onScaleChanged(webView, f, f2); return; } super.onScaleChanged(webView, f, f2); } @Override // android.webkit.WebViewClient public void onReceivedLoginRequest(WebView webView, String str, String str2, String str3) { int i = f2219 + 85; f2220 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 127 - Gravity.getAbsoluteGravity(0, 0), "\u008c\u008b\u008d\u008f\u009a\u008d\u009d\u0086\u0085\u0096\u0083\u008a\u0091\u008d\u0093\u0085\u008d\u009e\u008d\u009d\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } if (i % 2 == 0) { this.f2224.onReceivedLoginRequest(webView, str, str2, str3); int i2 = f2220 + 13; f2219 = i2 % 128; int i3 = i2 % 2; WebViewClient webViewClient = this.f2225; if (webViewClient != null) { webViewClient.onReceivedLoginRequest(webView, str, str2, str3); int i4 = f2219 + 27; f2220 = i4 % 128; int i5 = i4 % 2; return; } super.onReceivedLoginRequest(webView, str, str2, str3); return; } this.f2224.onReceivedLoginRequest(webView, str, str2, str3); throw null; } @Override // android.webkit.WebViewClient @RequiresApi(api = 23) public void onPageCommitVisible(WebView webView, String str) { int i = f2220 + 47; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onPageCommitVisible(webView, str); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0001", false, new int[]{22, 34, 47, 0}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i3 = f2220 + 103; f2219 = i3 % 128; if (i3 % 2 != 0) { webViewClient.onPageCommitVisible(webView, str); return; } else { webViewClient.onPageCommitVisible(webView, str); int i4 = 87 / 0; return; } } super.onPageCommitVisible(webView, str); } @Override // android.webkit.WebViewClient @RequiresApi(api = 23) public void onReceivedError(WebView webView, WebResourceRequest webResourceRequest, WebResourceError webResourceError) { int i = f2220 + 91; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onReceivedError(webView, webResourceRequest, webResourceError); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2814((String) null, (int[]) null, 127 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), "\u0082\u0083\u0082\u0082\u0081\u0091\u008d\u0093\u0085\u008d\u009e\u008d\u009d\u0086\u0083\u0084\u0082\u008d\u0086\u008d\u008c\u008b\u0085\u008a\u0089\u0088\u0087\u0084\u0086\u0085\u0084\u0082\u0083\u0082\u0082\u0081").intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient == null) { super.onReceivedError(webView, webResourceRequest, webResourceError); return; } webViewClient.onReceivedError(webView, webResourceRequest, webResourceError); int i3 = f2220 + 29; f2219 = i3 % 128; int i4 = i3 % 2; } @Override // android.webkit.WebViewClient @RequiresApi(api = 23) public void onReceivedHttpError(WebView webView, WebResourceRequest webResourceRequest, WebResourceResponse webResourceResponse) { int i = f2219 + 97; f2220 = i % 128; try { } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0001\u0001\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001", true, new int[]{224, 40, 0, 14}).intern(), th, false); } if (i % 2 != 0) { this.f2224.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); throw null; } this.f2224.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); WebViewClient webViewClient = this.f2225; if (webViewClient != null) { int i2 = f2220 + 103; f2219 = i2 % 128; if (i2 % 2 != 0) { webViewClient.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); return; } else { webViewClient.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); int i3 = 98 / 0; return; } } super.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); } @Override // android.webkit.WebViewClient @RequiresApi(api = 26) public boolean onRenderProcessGone(WebView webView, RenderProcessGoneDetail renderProcessGoneDetail) { int i = f2220 + 55; f2219 = i % 128; int i2 = i % 2; try { this.f2224.onRenderProcessGone(webView, renderProcessGoneDetail); } catch (Throwable th) { jw.m3315(m2812("\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0001\u0001", false, new int[]{0, 22, 34, 0}).intern(), m2812("\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0000\u0001\u0000\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001\u0001\u0000\u0001", true, new int[]{264, 40, 69, 0}).intern(), th, false); } WebViewClient webViewClient = this.f2225; if (webViewClient == null) { return true; } int i3 = f2219 + 103; f2220 = i3 % 128; int i4 = i3 % 2; return webViewClient.onRenderProcessGone(webView, renderProcessGoneDetail); } @Override // com.ironsource.adqualitysdk.sdk.i.cj /* renamed from: ﻛ */ public final Object mo1335(String str, List list, ch chVar) { int i = f2220 + 69; f2219 = i % 128; int i2 = i % 2; int hashCode = str.hashCode(); char c = 0; if (hashCode != 368095040) { if (hashCode == 381550901 && str.equals(m2814((String) null, (int[]) null, (ViewConfiguration.getTouchSlop() >> 8) + 127, "\u008c\u0086\u008d\u0085\u0090\u0099¨\u008d\u0085§\u0089\u008d¦\u0091\u008d¢¢\u0095\u0082¦\u008c\u008d\u0096").intern())) { int i3 = f2220 + 91; f2219 = i3 % 128; int i4 = i3 % 2; } c = 65535; } else { if (str.equals(m2812("\u0000\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0000\u0000\u0001\u0001\u0000\u0001\u0000\u0001\u0000\u0001", false, new int[]{304, 18, 0, 15}).intern())) { int i5 = f2220; int i6 = i5 + 87; f2219 = i6 % 128; int i7 = i6 % 2; int i8 = i5 + 65; f2219 = i8 % 128; int i9 = i8 % 2; c = 1; } c = 65535; } if (c == 0) { return m2817(); } if (c != 1) { return null; } return m2816(); } /* renamed from: ﻐ, reason: contains not printable characters */ private static String m2812(String str, boolean z, int[] iArr) { String str2; byte[] bArr = str; if (str != null) { bArr = str.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; synchronized (g.f2033) { try { int i = iArr[0]; int i2 = iArr[1]; int i3 = iArr[2]; int i4 = iArr[3]; char[] cArr = new char[i2]; System.arraycopy(f2221, i, cArr, 0, i2); if (bArr2 != null) { char[] cArr2 = new char[i2]; g.f2032 = 0; char c = 0; while (true) { int i5 = g.f2032; if (i5 >= i2) { break; } if (bArr2[i5] == 1) { cArr2[i5] = (char) (((cArr[i5] << 1) + 1) - c); } else { cArr2[i5] = (char) ((cArr[i5] << 1) - c); } c = cArr2[i5]; g.f2032 = i5 + 1; } cArr = cArr2; } if (i4 > 0) { char[] cArr3 = new char[i2]; System.arraycopy(cArr, 0, cArr3, 0, i2); int i6 = i2 - i4; System.arraycopy(cArr3, 0, cArr, i6, i4); System.arraycopy(cArr3, i4, cArr, 0, i6); } if (z) { char[] cArr4 = new char[i2]; g.f2032 = 0; while (true) { int i7 = g.f2032; if (i7 >= i2) { break; } cArr4[i7] = cArr[(i2 - i7) - 1]; g.f2032 = i7 + 1; } cArr = cArr4; } if (i3 > 0) { g.f2032 = 0; while (true) { int i8 = g.f2032; if (i8 >= i2) { break; } cArr[i8] = (char) (cArr[i8] - iArr[2]); g.f2032 = i8 + 1; } } str2 = new String(cArr); } catch (Throwable th) { throw th; } } return str2; } /* renamed from: ﻛ, reason: contains not printable characters */ private static String m2814(String str, int[] iArr, int i, String str2) { byte[] bArr = str2; if (str2 != null) { bArr = str2.getBytes("ISO-8859-1"); } byte[] bArr2 = bArr; char[] cArr = str; if (str != null) { cArr = str.toCharArray(); } char[] cArr2 = cArr; synchronized (o.f2842) { try { char[] cArr3 = f2222; int i2 = f2223; if (f2217) { int length = bArr2.length; o.f2841 = length; char[] cArr4 = new char[length]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i3 = o.f2840; int i4 = o.f2841 - 1; int i5 = o.f2840; cArr4[i3] = (char) (cArr3[bArr2[i4 - i5] + i] - i2); o.f2840 = i5 + 1; } return new String(cArr4); } if (f2218) { int length2 = cArr2.length; o.f2841 = length2; char[] cArr5 = new char[length2]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i6 = o.f2840; int i7 = o.f2841 - 1; int i8 = o.f2840; cArr5[i6] = (char) (cArr3[cArr2[i7 - i8] - i] - i2); o.f2840 = i8 + 1; } return new String(cArr5); } int length3 = iArr.length; o.f2841 = length3; char[] cArr6 = new char[length3]; o.f2840 = 0; while (o.f2840 < o.f2841) { int i9 = o.f2840; int i10 = o.f2841 - 1; int i11 = o.f2840; cArr6[i9] = (char) (cArr3[iArr[i10 - i11] - i] - i2); o.f2840 = i11 + 1; } return new String(cArr6); } catch (Throwable th) { throw th; } } } }