Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

330 lines
13 KiB
Java
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.ironsource.adqualitysdk.sdk.i;
import android.graphics.Color;
import android.text.TextUtils;
import android.view.View;
import android.webkit.WebView;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.WeakHashMap;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public abstract class y<T> extends u<WebView, T> {
/* renamed from: ﻛ, reason: contains not printable characters */
private ac f3010;
/* renamed from: メ, reason: contains not printable characters */
private ip f3012;
/* renamed from: , reason: contains not printable characters */
private Map<T, ac> f3011 = new WeakHashMap();
/* renamed from: ﻐ, reason: contains not printable characters */
private y<T>.a f3009 = new a();
/* renamed from: ﻛ */
public abstract q<WebView, T> mo877();
/* renamed from: ﻛ */
public abstract void mo879(T t, List<WebView> list);
/* renamed from: ヌ */
public abstract ac mo881();
/* renamed from: メ */
public abstract View mo882(T t);
/* renamed from: メ, reason: contains not printable characters */
public final void m3584(ip ipVar) {
this.f3012 = ipVar;
}
/* renamed from: メ, reason: contains not printable characters */
public final void m3585(y<T>.a aVar) {
this.f3009 = aVar;
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.ironsource.adqualitysdk.sdk.i.u, com.ironsource.adqualitysdk.sdk.i.q
/* renamed from: ﻐ */
public final /* synthetic */ void mo906(JSONObject jSONObject, Object obj, Object obj2) {
super.mo914(jSONObject, (JSONObject) obj, (WebView) obj2);
}
public y(ip ipVar) {
this.f3012 = ipVar;
}
/* renamed from: */
public void mo3564(T t, String str) {
m3583(new JSONObject(), (JSONObject) t, str);
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final void m3583(final JSONObject jSONObject, final T t, String str) {
boolean z = ((a) this.f3009).f3032 && !TextUtils.isEmpty(((a) this.f3009).f3033);
ac acVar = ((a) this.f3009).f3027 ? this.f3011.get(t) : this.f3010;
if (acVar == null) {
acVar = mo881();
if (((a) this.f3009).f3027) {
this.f3011.put(t, acVar);
} else {
this.f3010 = acVar;
}
acVar.m3521(mo877());
}
acVar.m907();
acVar.m908(((a) this.f3009).f3033, ((a) this.f3009).f3031, z, ((a) this.f3009).f3028, ((a) this.f3009).f3030);
acVar.m911(str);
if (((a) this.f3009).f3026) {
ArrayList arrayList = new ArrayList();
mo879((y<T>) t, (List<WebView>) arrayList);
List<WebView> arrayList2 = new ArrayList<>();
ip ipVar = this.f3012;
if (ipVar != null) {
arrayList2 = ipVar.mo2228(t);
}
final List<WebView> m3251 = jp.m3251(arrayList, arrayList2);
if (m3251.isEmpty() || ((a) this.f3009).f3029) {
View mo882 = mo882((y<T>) t);
if (mo882 != null) {
mo882.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { // from class: com.ironsource.adqualitysdk.sdk.i.y.3
/* renamed from: ﱟ, reason: contains not printable characters */
private static char f3017 = 788;
/* renamed from: ﺙ, reason: contains not printable characters */
private static int f3018 = 1;
/* renamed from: ﻏ, reason: contains not printable characters */
private static int f3019 = 0;
/* renamed from: ﻐ, reason: contains not printable characters */
private static char f3020 = 63082;
/* renamed from: ﻛ, reason: contains not printable characters */
private static char f3021 = 771;
/* renamed from: メ, reason: contains not printable characters */
private static char f3022 = 19028;
/* JADX WARN: Multi-variable type inference failed */
@Override // android.view.View.OnLayoutChangeListener
public final void onLayoutChange(View view, int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8) {
try {
ArrayList arrayList3 = new ArrayList();
y.this.mo879((y) t, (List<WebView>) arrayList3);
if (arrayList3.isEmpty()) {
return;
}
int i9 = f3019 + 79;
f3018 = i9 % 128;
int i10 = i9 % 2;
View mo8822 = y.this.mo882((y) t);
if (mo8822 != null && (!y.this.f3009.f3029)) {
int i11 = f3019 + 93;
f3018 = i11 % 128;
int i12 = i11 % 2;
mo8822.removeOnLayoutChangeListener(this);
}
y.this.m3581((y) t, (List<WebView>) arrayList3);
y.this.mo2200(new JSONObject(), arrayList3.get(0), t);
} catch (Throwable th) {
jw.m3315(m3586("珡ţ馠挻ꜚ♹鉦\udfef矠폧农幁纈檿蒪纾䔍㐠킉컡", 19 - Color.blue(0)).intern(), m3586("☂ፌ⏸풪Ԇ〪㍁焮ꅶ魰^偺\udd4d―罋㡴岸\udbd2\u2fef靇퉒㨯徭䬜", View.MeasureSpec.getMode(0) + 23).intern(), th, false);
}
}
/* renamed from: メ, reason: contains not printable characters */
private static String m3586(String str2, int i) {
String str3;
char[] cArr = str2;
if (str2 != null) {
cArr = str2.toCharArray();
}
char[] cArr2 = cArr;
synchronized (k.f2799) {
try {
char[] cArr3 = new char[cArr2.length];
k.f2798 = 0;
char[] cArr4 = new char[2];
while (true) {
int i2 = k.f2798;
if (i2 < cArr2.length) {
cArr4[0] = cArr2[i2];
cArr4[1] = cArr2[i2 + 1];
int i3 = 58224;
for (int i4 = 0; i4 < 16; i4++) {
char c = cArr4[1];
char c2 = cArr4[0];
char c3 = (char) (c - (((c2 + i3) ^ ((c2 << 4) + f3022)) ^ ((c2 >>> 5) + f3017)));
cArr4[1] = c3;
cArr4[0] = (char) (c2 - (((c3 >>> 5) + f3021) ^ ((c3 + i3) ^ ((c3 << 4) + f3020))));
i3 -= 40503;
}
int i5 = k.f2798;
cArr3[i5] = cArr4[0];
cArr3[i5 + 1] = cArr4[1];
k.f2798 = i5 + 2;
} else {
str3 = new String(cArr3, 0, i);
}
}
} catch (Throwable th) {
throw th;
}
}
return str3;
}
});
}
if (m3251.isEmpty()) {
super.mo906(jSONObject, (JSONObject) null, t);
return;
}
}
if (!((a) this.f3009).f3025) {
m3581((y<T>) t, m3251);
super.mo906(jSONObject, (JSONObject) m3251.get(0), (WebView) t);
return;
} else {
t.m3505().post(new Runnable() { // from class: com.ironsource.adqualitysdk.sdk.i.y.1
@Override // java.lang.Runnable
public final void run() {
y.this.m3581((y) t, (List<WebView>) m3251);
y.super.mo906(jSONObject, (JSONObject) m3251.get(0), (WebView) t);
}
});
return;
}
}
super.mo906(jSONObject, (JSONObject) null, t);
}
/* renamed from: ﻐ */
public void mo3559(T t) {
mo2193(new JSONObject(), (JSONObject) (((a) this.f3009).f3027 ? this.f3011.get(t) : this.f3010).m905(), (WebView) t);
}
public class a {
/* renamed from: ﭖ, reason: contains not printable characters */
private boolean f3025;
/* renamed from: ﮐ, reason: contains not printable characters */
private boolean f3026;
/* renamed from: ﱟ, reason: contains not printable characters */
private boolean f3027;
/* renamed from: ﱡ, reason: contains not printable characters */
private boolean f3028;
/* renamed from: ﺙ, reason: contains not printable characters */
private boolean f3029;
/* renamed from: ﻏ, reason: contains not printable characters */
private boolean f3030;
/* renamed from: ﻐ, reason: contains not printable characters */
private List<String> f3031;
/* renamed from: ﻛ, reason: contains not printable characters */
private boolean f3032;
/* renamed from: , reason: contains not printable characters */
private String f3033;
/* renamed from: ヌ, reason: contains not printable characters */
protected List<String> f3034 = new ArrayList();
/* renamed from: メ, reason: contains not printable characters */
private boolean f3035;
/* renamed from: ﮐ, reason: contains not printable characters */
public final y<T>.a m3597(boolean z) {
this.f3027 = z;
return this;
}
/* renamed from: ﱟ, reason: contains not printable characters */
public final y<T>.a m3598(boolean z) {
this.f3025 = z;
return this;
}
/* renamed from: ﺙ, reason: contains not printable characters */
public final y<T>.a m3599(boolean z) {
this.f3030 = z;
return this;
}
/* renamed from: ﻐ, reason: contains not printable characters */
public final y<T>.a m3600(boolean z) {
this.f3026 = z;
return this;
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final y<T>.a m3601(List<String> list) {
this.f3031 = list;
return this;
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final y<T>.a m3602(boolean z) {
this.f3032 = z;
return this;
}
/* renamed from: , reason: contains not printable characters */
public final y<T>.a m3603(boolean z) {
this.f3035 = z;
return this;
}
/* renamed from: ヌ, reason: contains not printable characters */
public final y<T>.a m3604(List<String> list) {
if (list != null) {
this.f3034 = list;
}
return this;
}
/* renamed from: ヌ, reason: contains not printable characters */
public final y<T>.a m3605(boolean z) {
this.f3029 = z;
return this;
}
/* renamed from: メ, reason: contains not printable characters */
public final y<T>.a m3606(String str) {
this.f3033 = str;
return this;
}
/* renamed from: メ, reason: contains not printable characters */
public final y<T>.a m3607(boolean z) {
this.f3028 = z;
return this;
}
}
/* JADX INFO: Access modifiers changed from: private */
/* renamed from: ﻐ, reason: contains not printable characters */
public void m3581(T t, List<WebView> list) {
(((a) this.f3009).f3027 ? this.f3011.get(t) : this.f3010).m909(list);
if (((a) this.f3009).f3035) {
(((a) this.f3009).f3027 ? this.f3011.get(t) : this.f3010).m911(Integer.toHexString(list.get(0).hashCode()));
}
}
@Override // com.ironsource.adqualitysdk.sdk.i.u
/* renamed from: */
public final String mo910(T t) {
return (((a) this.f3009).f3027 ? this.f3011.get(t) : this.f3010).mo910((ac) t);
}
}