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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
package com.fyber.inneractive.sdk.flow.vast;
import android.view.View;
import java.util.Comparator;
/* loaded from: classes2.dex */
public class a {
public int d;
public String e;
public boolean a = false;
public View b = null;
public boolean c = false;
public final EnumC0072a f = EnumC0072a.HIGH;
/* renamed from: com.fyber.inneractive.sdk.flow.vast.a$a, reason: collision with other inner class name */
public enum EnumC0072a {
HIGH,
LOW
}
public static class b implements Comparator<a> {
@Override // java.util.Comparator
public final int compare(a aVar, a aVar2) {
return aVar.f.ordinal() - aVar2.f.ordinal();
}
}
public void a() {
this.b = null;
this.a = false;
}
public final void a(com.fyber.inneractive.sdk.web.h hVar) {
this.b = hVar;
}
}

View File

@@ -0,0 +1,41 @@
package com.fyber.inneractive.sdk.flow.vast;
import com.fyber.inneractive.sdk.config.enums.UnitDisplayType;
import com.fyber.inneractive.sdk.config.f0;
/* loaded from: classes2.dex */
public final class b {
public final UnitDisplayType a;
public final boolean b;
public final int c;
public final int d;
public final f0 e;
public b(UnitDisplayType unitDisplayType, boolean z, int i, int i2, f0 f0Var) {
this.a = unitDisplayType;
this.b = z;
this.c = i;
this.d = i2;
this.e = f0Var;
}
public final int a() {
return this.d;
}
public final f0 b() {
return this.e;
}
public final UnitDisplayType c() {
return this.a;
}
public final int d() {
return this.c;
}
public final boolean e() {
return this.b;
}
}

View File

@@ -0,0 +1,15 @@
package com.fyber.inneractive.sdk.flow.vast;
/* loaded from: classes2.dex */
public final class c extends e {
public boolean h;
public boolean i;
public boolean j;
public c(com.fyber.inneractive.sdk.player.controller.c cVar) {
super(cVar);
this.h = false;
this.i = false;
this.j = false;
}
}

View File

@@ -0,0 +1,500 @@
package com.fyber.inneractive.sdk.flow.vast;
import android.text.TextUtils;
import com.facebook.internal.security.CertificateUtil;
import com.fyber.inneractive.sdk.config.IAConfigManager;
import com.fyber.inneractive.sdk.flow.vast.g;
import com.fyber.inneractive.sdk.model.vast.l;
import com.fyber.inneractive.sdk.model.vast.m;
import com.fyber.inneractive.sdk.model.vast.n;
import com.fyber.inneractive.sdk.model.vast.p;
import com.fyber.inneractive.sdk.model.vast.q;
import com.fyber.inneractive.sdk.model.vast.r;
import com.fyber.inneractive.sdk.model.vast.s;
import com.fyber.inneractive.sdk.model.vast.u;
import com.fyber.inneractive.sdk.model.vast.v;
import com.fyber.inneractive.sdk.model.vast.x;
import com.fyber.inneractive.sdk.util.IAlog;
import com.fyber.inneractive.sdk.util.a0;
import com.fyber.inneractive.sdk.util.o;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
/* loaded from: classes2.dex */
public final class d {
public int a = -1;
public int b = -1;
public int c = -1;
public boolean d = false;
public boolean e = false;
public final LinkedHashMap f = new LinkedHashMap();
public final ArrayList g = new ArrayList();
public final ArrayList h = new ArrayList();
public final ArrayList i = new ArrayList();
public final ArrayList j = new ArrayList();
public class a extends Exception {
public final int a;
public a(String str, int i) {
super(str);
this.a = i;
}
}
public final void a(com.fyber.inneractive.sdk.model.vast.b bVar, com.fyber.inneractive.sdk.model.vast.g gVar, int i) throws a {
String str;
ArrayList arrayList;
Integer num;
Integer num2;
String str2;
ArrayList arrayList2 = gVar.h;
if (arrayList2.size() > 0) {
Iterator it = arrayList2.iterator();
while (it.hasNext()) {
if (!a0.f((String) it.next())) {
throw new a("Found non-secure click tracking url for companion: " + gVar, 0);
}
}
if (i > 0) {
this.h.add(gVar);
}
}
String str3 = gVar.g;
if (!a0.f(str3)) {
throw new a("Found non-secure click through url: " + str3, 0);
}
if (TextUtils.isEmpty(gVar.f) && TextUtils.isEmpty(gVar.e) && gVar.d == null) {
if (this.i.contains(gVar)) {
return;
}
this.i.add(gVar);
return;
}
Integer num3 = gVar.a;
Integer num4 = gVar.b;
if (num3 == null || num4 == null || num3.intValue() < 100 || num4.intValue() < 100) {
throw new a("Incompatible size: " + num3 + "," + num4, 16);
}
ArrayList arrayList3 = gVar.j;
Iterator it2 = arrayList3.iterator();
while (it2.hasNext()) {
u uVar = (u) it2.next();
if (!a0.f(uVar.b)) {
throw new a("Found non-secure tracking event: " + uVar, 0);
}
}
String str4 = gVar.c;
com.fyber.inneractive.sdk.model.vast.k kVar = gVar.d;
if (kVar != null) {
com.fyber.inneractive.sdk.model.vast.j a2 = com.fyber.inneractive.sdk.model.vast.j.a(kVar.a);
if (a2 == null) {
throw new a("Found invalid creative type:" + kVar.a, 0);
}
str = str4;
arrayList = arrayList3;
num = num4;
num2 = num3;
str2 = str3;
a(bVar, com.fyber.inneractive.sdk.model.vast.h.Static, i, num3.intValue(), num4.intValue(), str4, str3, arrayList2, arrayList, kVar.b, a2);
} else {
str = str4;
arrayList = arrayList3;
num = num4;
num2 = num3;
str2 = str3;
}
String str5 = gVar.e;
if (!TextUtils.isEmpty(str5)) {
if (!a0.f(str5)) {
throw new a("Found non-secure iframe url:" + str5, 0);
}
a(bVar, com.fyber.inneractive.sdk.model.vast.h.Iframe, i, num2.intValue(), num.intValue(), str, str2, arrayList2, arrayList, str5, null);
}
String str6 = gVar.f;
if (!TextUtils.isEmpty(str6)) {
a(bVar, com.fyber.inneractive.sdk.model.vast.h.Html, i, num2.intValue(), num.intValue(), str, str2, arrayList2, arrayList, str6, null);
}
bVar.g.size();
}
public final com.fyber.inneractive.sdk.model.vast.b a(com.fyber.inneractive.sdk.model.vast.e eVar, ArrayList arrayList, String str) throws i {
int g = o.g();
int f = o.f();
IAlog.a("%sprocess started", "VastProcessor: ");
if (eVar != null && eVar.c != null) {
com.fyber.inneractive.sdk.model.vast.b bVar = new com.fyber.inneractive.sdk.model.vast.b(new h(this.c, g, f), new f(g, f));
bVar.a = str;
ArrayList arrayList2 = eVar.c.c;
if (arrayList2 != null && !arrayList2.isEmpty()) {
if (arrayList == null && eVar.b != null) {
arrayList = new ArrayList();
arrayList.add(eVar);
}
if (arrayList != null) {
Iterator it = arrayList.iterator();
while (it.hasNext()) {
x xVar = ((com.fyber.inneractive.sdk.model.vast.e) it.next()).b;
if (xVar != null) {
a(bVar, xVar);
}
}
}
a(bVar, eVar.c);
if (bVar.d.size() == 0) {
if (this.f.isEmpty()) {
throw new i("ErrorNoMediaFiles", "No media files exist after merge");
}
throw new i("ErrorNoCompatibleMediaFile", "No compatible media files after filtering");
}
ArrayList arrayList3 = new ArrayList(bVar.g);
Collections.sort(arrayList3, bVar.h);
if (!arrayList3.isEmpty()) {
Iterator it2 = this.i.iterator();
while (it2.hasNext()) {
com.fyber.inneractive.sdk.model.vast.g gVar = (com.fyber.inneractive.sdk.model.vast.g) it2.next();
if (TextUtils.isEmpty(gVar.f) && TextUtils.isEmpty(gVar.e) && gVar.d == null) {
Iterator it3 = arrayList3.iterator();
while (it3.hasNext()) {
com.fyber.inneractive.sdk.model.vast.c cVar = (com.fyber.inneractive.sdk.model.vast.c) it3.next();
ArrayList arrayList4 = gVar.h;
if (arrayList4 != null) {
Iterator it4 = arrayList4.iterator();
while (it4.hasNext()) {
cVar.a(v.EVENT_CLICK, (String) it4.next());
}
}
String str2 = gVar.g;
if (TextUtils.isEmpty(cVar.g)) {
cVar.g = str2;
}
ArrayList arrayList5 = gVar.j;
if (arrayList5 != null) {
Iterator it5 = arrayList5.iterator();
while (it5.hasNext()) {
u uVar = (u) it5.next();
v a2 = v.a(uVar.a);
String str3 = uVar.b;
if (a2 != null && str3 != null) {
cVar.a(a2, str3);
}
}
}
}
}
}
}
int i = 0;
if (IAlog.a == 2) {
IAlog.e("%sLogging merged model media files: ", "VastProcessor: ");
Iterator it6 = bVar.c().iterator();
int i2 = 0;
while (it6.hasNext()) {
IAlog.e("%s(%d) %s", "VastProcessor: ", Integer.valueOf(i2), (q) it6.next());
i2++;
}
}
if (IAlog.a == 2) {
IAlog.e("%sLogging merged model companion ads: ", "VastProcessor: ");
ArrayList arrayList6 = new ArrayList(bVar.g);
Collections.sort(arrayList6, bVar.h);
if (arrayList6.size() > 0) {
Iterator it7 = arrayList6.iterator();
while (it7.hasNext()) {
IAlog.e("%s(%d) %s", "VastProcessor: ", Integer.valueOf(i), ((com.fyber.inneractive.sdk.model.vast.c) it7.next()).a());
i++;
}
} else {
IAlog.e("%sNo companion ads found!", "VastProcessor: ");
}
}
return bVar;
}
throw new i("ErrorNoMediaFiles", "Empty inline with no creatives");
}
IAlog.a("%sno inline found", "VastProcessor: ");
throw new i("ErrorNoMediaFiles", "Empty inline ad found");
}
public final void a(com.fyber.inneractive.sdk.model.vast.b bVar, com.fyber.inneractive.sdk.model.vast.f fVar) {
String[] split;
g gVar;
Integer num;
HashMap hashMap;
List list;
String str;
IAlog.a("%sprocessing ad element: %s", "VastProcessor: ", fVar);
ArrayList arrayList = fVar.b;
if (arrayList != null) {
Iterator it = arrayList.iterator();
while (it.hasNext()) {
String str2 = (String) it.next();
IAlog.a("%sadding impression url: %s", "VastProcessor: ", str2);
v vVar = v.EVENT_IMPRESSION;
if (a0.f(str2)) {
bVar.a(vVar, str2);
} else {
throw new i("VastErrorUnsecure", "found unsecure tracking event: " + vVar.e());
}
}
}
String str3 = fVar.a;
if (!TextUtils.isEmpty(str3)) {
IAlog.a("%sadding error url: %s", "VastProcessor: ", str3);
bVar.a(v.EVENT_ERROR, str3);
}
if (IAConfigManager.L.I != null) {
Iterator it2 = fVar.d.iterator();
while (it2.hasNext()) {
com.fyber.inneractive.sdk.measurement.f fVar2 = (com.fyber.inneractive.sdk.measurement.f) it2.next();
if (fVar2.g && fVar2.a != null && ((str = fVar2.b) == null || (!TextUtils.isEmpty(str) && fVar2.b.equalsIgnoreCase(CampaignEx.KEY_OMID)))) {
bVar.e.add(fVar2);
} else {
v vVar2 = v.EVENT_VERIFICATION_NOT_EXECUTED;
if (vVar2 != null && (hashMap = fVar2.c) != null && (list = (List) hashMap.get(vVar2)) != null && list.size() > 0) {
com.fyber.inneractive.sdk.player.e.a(new com.fyber.inneractive.sdk.measurement.e(fVar2.a(vVar2), com.fyber.inneractive.sdk.measurement.g.VERIFICATION_NOT_SUPPORTED), vVar2);
}
this.j.add(fVar2);
}
}
}
n nVar = fVar.e;
if (nVar != null) {
bVar.f = nVar;
}
Iterator it3 = fVar.c.iterator();
while (true) {
if (it3.hasNext()) {
l lVar = (l) it3.next();
p pVar = lVar.a;
if (pVar != null) {
ArrayList arrayList2 = pVar.a;
if (arrayList2 != null) {
bVar.k = arrayList2.size();
Iterator it4 = arrayList2.iterator();
while (it4.hasNext()) {
q qVar = (q) it4.next();
String str4 = qVar.a;
r rVar = r.progressive;
if (!str4.equals(rVar.e())) {
gVar = new g(g.a.UNSUPPORTED_DELIVERY, rVar.e());
} else {
if (this.b > -1 && (num = qVar.e) != null && num.intValue() != 0) {
int intValue = qVar.e.intValue();
int i = this.a;
if (intValue < i) {
gVar = new g(g.a.BITRATE_NOT_IN_RANGE, Integer.valueOf(i));
} else {
int intValue2 = qVar.e.intValue();
int i2 = this.b;
if (intValue2 > i2) {
gVar = new g(g.a.BITRATE_NOT_IN_RANGE, Integer.valueOf(i2));
}
}
}
if (s.a(qVar.d) == s.UNKNOWN) {
gVar = new g(g.a.UNSUPPORTED_MIME_TYPE, null);
} else if (this.d && qVar.b.intValue() >= qVar.c.intValue()) {
gVar = new g(g.a.VERTICAL_VIDEO_EXPECTED, null);
} else {
String str5 = qVar.f;
if (str5 != null && this.e && str5.equalsIgnoreCase("VPAID")) {
gVar = new g(g.a.FILTERED_BY_APP_OR_UNIT, null);
} else if (TextUtils.isEmpty(qVar.g)) {
gVar = new g(g.a.NO_CONTENT, null);
} else {
gVar = !a0.f(qVar.g) ? new g(g.a.UNSECURED_VIDEO_URL, null) : null;
}
}
}
if (gVar != null) {
IAlog.a("%smedia file filtered!: %s", "VastProcessor: ", qVar);
IAlog.a("%s-- %s", "VastProcessor: ", qVar);
IAlog.a("%s-- %s", "VastProcessor: ", gVar);
this.f.put(qVar, gVar);
} else {
IAlog.a("%sadding media file: %s", "VastProcessor: ", qVar);
bVar.d.add(qVar);
bVar.l.add(qVar);
bVar.j++;
}
}
}
ArrayList arrayList3 = pVar.d;
if (arrayList3 != null) {
Iterator it5 = arrayList3.iterator();
while (it5.hasNext()) {
String str6 = (String) it5.next();
v vVar3 = v.EVENT_CLICK;
if (a0.f(str6)) {
bVar.a(vVar3, str6);
} else {
throw new i("VastErrorUnsecure", "found unsecure tracking event: " + vVar3.e());
}
}
}
ArrayList arrayList4 = pVar.b;
if (arrayList4 != null) {
Iterator it6 = arrayList4.iterator();
while (it6.hasNext()) {
u uVar = (u) it6.next();
v a2 = v.a(uVar.a);
if (a2 != v.UNKNOWN) {
bVar.a(a2, uVar.b);
}
if (a2 == v.EVENT_PROGRESS) {
String str7 = uVar.b;
String str8 = uVar.c;
com.fyber.inneractive.sdk.model.vast.d dVar = new com.fyber.inneractive.sdk.model.vast.d(str7, str8);
if (!TextUtils.isEmpty(str7) && !TextUtils.isEmpty(str8) && dVar.d != 0) {
bVar.n.add(dVar);
}
}
}
}
if (!TextUtils.isEmpty(pVar.c)) {
bVar.b = pVar.c;
}
String str9 = pVar.e;
if (!TextUtils.isEmpty(str9) && (split = str9.split(CertificateUtil.DELIMITER)) != null && split.length <= 3 && split.length != 1) {
if (split.length == 2) {
try {
String str10 = split[1];
String str11 = split[0];
} catch (NumberFormatException unused) {
}
} else {
String str12 = split[2];
String str13 = split[1];
String str14 = split[0];
}
}
}
com.fyber.inneractive.sdk.model.vast.i iVar = lVar.b;
ArrayList<com.fyber.inneractive.sdk.model.vast.g> arrayList5 = iVar != null ? iVar.a : null;
if (arrayList5 != null) {
for (com.fyber.inneractive.sdk.model.vast.g gVar2 : arrayList5) {
try {
a(bVar, gVar2, fVar.f);
} catch (a e) {
IAlog.a("Failed processing companion ad: %s error = %s", gVar2, e.getMessage());
gVar2.i = e;
this.g.add(gVar2);
}
}
}
} else {
ArrayList arrayList6 = fVar.g;
String str15 = arrayList6.isEmpty() ? null : ((m) arrayList6.get(0)).a;
if (TextUtils.isEmpty(str15)) {
return;
}
bVar.o = str15;
return;
}
}
}
public final void a(com.fyber.inneractive.sdk.model.vast.b bVar, com.fyber.inneractive.sdk.model.vast.h hVar, int i, int i2, int i3, String str, String str2, ArrayList arrayList, ArrayList arrayList2, String str3, com.fyber.inneractive.sdk.model.vast.j jVar) {
com.fyber.inneractive.sdk.model.vast.c cVar = new com.fyber.inneractive.sdk.model.vast.c(hVar, i2, i3, str, i);
cVar.g = str2;
Iterator it = arrayList2.iterator();
while (it.hasNext()) {
u uVar = (u) it.next();
cVar.a(v.a(uVar.a), uVar.b);
}
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
cVar.a(v.EVENT_CLICK, (String) it2.next());
}
a(cVar);
cVar.f = str3;
cVar.b = jVar;
bVar.g.add(cVar);
bVar.m.add(cVar);
}
/* JADX ERROR: NullPointerException in pass: LoopRegionVisitor
java.lang.NullPointerException: Cannot invoke "jadx.core.dex.instructions.args.SSAVar.use(jadx.core.dex.instructions.args.RegisterArg)" because "ssaVar" is null
at jadx.core.dex.nodes.InsnNode.rebindArgs(InsnNode.java:493)
at jadx.core.dex.nodes.InsnNode.rebindArgs(InsnNode.java:496)
*/
public final void a(com.fyber.inneractive.sdk.model.vast.c r7) {
/*
r6 = this;
java.util.ArrayList r0 = r6.h
boolean r0 = r0.isEmpty()
if (r0 != 0) goto L90
int r0 = r7.h
if (r0 <= 0) goto L1b
java.util.ArrayList r0 = r6.h
int r1 = r0.size()
int r1 = r1 + (-1)
java.lang.Object r0 = r0.remove(r1)
com.fyber.inneractive.sdk.model.vast.g r0 = (com.fyber.inneractive.sdk.model.vast.g) r0
goto L1c
L1b:
r0 = 0
L1c:
java.lang.String r1 = r7.e
java.util.ArrayList r2 = r6.h
java.util.Iterator r2 = r2.iterator()
L24:
boolean r3 = r2.hasNext()
if (r3 == 0) goto L89
java.lang.Object r3 = r2.next()
com.fyber.inneractive.sdk.model.vast.g r3 = (com.fyber.inneractive.sdk.model.vast.g) r3
java.lang.String r4 = r3.c
if (r1 == 0) goto L3a
boolean r5 = r1.equals(r4)
if (r5 != 0) goto L65
L3a:
if (r4 != 0) goto L50
int r4 = r7.c
java.lang.Integer r5 = r3.a
int r5 = r5.intValue()
if (r4 != r5) goto L50
int r4 = r7.d
java.lang.Integer r5 = r3.b
int r5 = r5.intValue()
if (r4 == r5) goto L65
L50:
java.lang.String r4 = r3.f
boolean r4 = android.text.TextUtils.isEmpty(r4)
if (r4 == 0) goto L24
java.lang.String r4 = r3.e
boolean r4 = android.text.TextUtils.isEmpty(r4)
if (r4 == 0) goto L24
com.fyber.inneractive.sdk.model.vast.k r4 = r3.d
if (r4 == 0) goto L65
goto L24
L65:
java.util.ArrayList r3 = r3.h
int r4 = r3.size()
if (r4 <= 0) goto L24
java.util.Iterator r3 = r3.iterator()
L71:
boolean r4 = r3.hasNext()
if (r4 == 0) goto L24
java.lang.Object r4 = r3.next()
java.lang.String r4 = (java.lang.String) r4
boolean r5 = com.fyber.inneractive.sdk.util.a0.f(r4)
if (r5 == 0) goto L71
com.fyber.inneractive.sdk.model.vast.v r5 = com.fyber.inneractive.sdk.model.vast.v.EVENT_CLICK
r7.a(r5, r4)
goto L71
L89:
if (r0 == 0) goto L90
java.util.ArrayList r7 = r6.h
r7.add(r0)
L90:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.flow.vast.d.a(com.fyber.inneractive.sdk.model.vast.c):void");
}
}

View File

@@ -0,0 +1,24 @@
package com.fyber.inneractive.sdk.flow.vast;
import com.fyber.inneractive.sdk.web.g0;
/* loaded from: classes2.dex */
public class e extends a {
public final com.fyber.inneractive.sdk.player.controller.c g;
public e(com.fyber.inneractive.sdk.player.controller.c cVar) {
this.g = cVar;
a(cVar.a());
}
@Override // com.fyber.inneractive.sdk.flow.vast.a
public final void a() {
super.a();
com.fyber.inneractive.sdk.player.controller.c cVar = this.g;
g0 g0Var = cVar.a;
if (g0Var != null) {
g0Var.d();
cVar.a = null;
}
}
}

View File

@@ -0,0 +1,46 @@
package com.fyber.inneractive.sdk.flow.vast;
import com.fyber.inneractive.sdk.util.t;
import java.util.Comparator;
/* loaded from: classes2.dex */
public final class f implements Comparator<com.fyber.inneractive.sdk.model.vast.c> {
public final int a;
public final float b;
public f(int i, int i2) {
this.a = i * i2;
this.b = i / i2;
}
@Override // java.util.Comparator
public final int compare(com.fyber.inneractive.sdk.model.vast.c cVar, com.fyber.inneractive.sdk.model.vast.c cVar2) {
com.fyber.inneractive.sdk.model.vast.c cVar3 = cVar;
com.fyber.inneractive.sdk.model.vast.c cVar4 = cVar2;
int a = t.a(cVar3.h, cVar4.h);
if (a != 0) {
return a;
}
com.fyber.inneractive.sdk.model.vast.h hVar = cVar3.a;
com.fyber.inneractive.sdk.model.vast.h hVar2 = com.fyber.inneractive.sdk.model.vast.h.Html;
int i = Integer.MAX_VALUE;
int i2 = hVar == hVar2 ? 1 : hVar == com.fyber.inneractive.sdk.model.vast.h.Iframe ? 2 : hVar == com.fyber.inneractive.sdk.model.vast.h.Static ? 3 : Integer.MAX_VALUE;
com.fyber.inneractive.sdk.model.vast.h hVar3 = cVar4.a;
if (hVar3 == hVar2) {
i = 1;
} else if (hVar3 == com.fyber.inneractive.sdk.model.vast.h.Iframe) {
i = 2;
} else if (hVar3 == com.fyber.inneractive.sdk.model.vast.h.Static) {
i = 3;
}
int a2 = t.a(i2, i);
if (a2 != 0) {
return a2;
}
int a3 = t.a(Math.abs((cVar3.c * cVar3.d) - this.a), Math.abs((cVar4.c * cVar4.d) - this.a));
if (a3 != 0) {
return a3;
}
return Float.compare(Math.abs((cVar3.c / cVar3.d) - this.b), Math.abs((cVar4.c / cVar4.d) - this.b));
}
}

View File

@@ -0,0 +1,36 @@
package com.fyber.inneractive.sdk.flow.vast;
/* loaded from: classes2.dex */
public final class g {
public final a a;
public final Object b;
public enum a {
BITRATE_NOT_IN_RANGE("BITRATE_NOT_IN_RANGE"),
UNSUPPORTED_MIME_TYPE("UNSUPPORTED_MIME_TYPE"),
UNSUPPORTED_DELIVERY("UNSUPPORTED_DELIVERY"),
UNSECURED_VIDEO_URL("UNSECURED_VIDEO_URL"),
VERTICAL_VIDEO_EXPECTED("VERTICAL_VIDEO_EXPECTED"),
FILTERED_BY_APP_OR_UNIT("FILTERED_BY_APP_OR_UNIT"),
NO_CONTENT("NO_CONTENT");
int value;
a(String str) {
this.value = r2;
}
}
public g() {
throw null;
}
public g(a aVar, Object obj) {
this.a = aVar;
this.b = obj;
}
public final String toString() {
return "Media File inc error:: type = " + this.a + " expected value = " + this.b;
}
}

View File

@@ -0,0 +1,80 @@
package com.fyber.inneractive.sdk.flow.vast;
import android.text.TextUtils;
import com.fyber.inneractive.sdk.model.vast.q;
import com.fyber.inneractive.sdk.model.vast.s;
import java.util.Comparator;
/* loaded from: classes2.dex */
public final class h implements Comparator<q> {
public final int a;
public final int b;
public final int c;
public h(int i, int i2, int i3) {
this.a = i;
this.b = i2;
this.c = i3;
}
@Override // java.util.Comparator
public final int compare(q qVar, q qVar2) {
q qVar3 = qVar;
q qVar4 = qVar2;
int i = -1;
if (TextUtils.equals("VPAID", qVar4.f)) {
return -1;
}
if (!TextUtils.equals("VPAID", qVar3.f)) {
Integer num = qVar3.e;
int intValue = num == null ? 0 : num.intValue();
Integer num2 = qVar4.e;
int intValue2 = num2 == null ? 0 : num2.intValue();
int i2 = this.a;
if (intValue2 > i2 && intValue <= i2) {
return -1;
}
if (intValue <= i2 || intValue2 > i2) {
s a = s.a(qVar4.d);
s sVar = s.MEDIA_TYPE_MP4;
Integer num3 = a == sVar ? 3 : a == s.MEDIA_TYPE_3GPP ? 2 : a == s.MEDIA_TYPE_WEBM ? 1 : -1;
s a2 = s.a(qVar3.d);
if (a2 == sVar) {
i = 3;
} else if (a2 == s.MEDIA_TYPE_3GPP) {
i = 2;
} else if (a2 == s.MEDIA_TYPE_WEBM) {
i = 1;
}
int compareTo = num3.compareTo(i);
if (compareTo != 0) {
return compareTo;
}
if (intValue >= intValue2) {
if (intValue > intValue2) {
return -1;
}
Integer num4 = qVar3.b;
int intValue3 = num4 == null ? 0 : num4.intValue();
Integer num5 = qVar3.c;
int intValue4 = num5 == null ? 0 : num5.intValue();
Integer num6 = qVar4.b;
int intValue5 = num6 == null ? 0 : num6.intValue();
Integer num7 = qVar4.c;
int i3 = intValue3 * intValue4;
int intValue6 = intValue5 * (num7 == null ? 0 : num7.intValue());
int i4 = this.b * this.c;
int abs = Math.abs(i3 - i4);
int abs2 = Math.abs(intValue6 - i4);
if (abs < abs2) {
return -1;
}
if (abs <= abs2) {
return 0;
}
}
}
}
return 1;
}
}

View File

@@ -0,0 +1,8 @@
package com.fyber.inneractive.sdk.flow.vast;
/* loaded from: classes2.dex */
public final class i extends Error {
public i(String str, String str2) {
super(str, new Throwable(str2));
}
}

View File

@@ -0,0 +1,11 @@
package com.fyber.inneractive.sdk.flow.vast;
import java.util.ArrayList;
/* loaded from: classes2.dex */
public final class j extends ArrayList<com.fyber.inneractive.sdk.measurement.f> {
public j(com.fyber.inneractive.sdk.response.g gVar) {
addAll(gVar.d().d());
addAll(gVar.c());
}
}

View File

@@ -0,0 +1,36 @@
package com.fyber.inneractive.sdk.flow.vast;
/* loaded from: classes2.dex */
public final class k {
/* JADX WARN: Can't wrap try/catch for region: R(20:0|1|(3:3|(1:5)|132)(2:133|(3:135|(4:141|(8:144|145|146|(1:148)(1:156)|149|(2:151|152)(2:154|155)|153|142)|159|160)|132)(2:161|(1:163)(3:164|(1:166)(2:167|(1:169)(2:170|(1:172)(16:173|(5:8|(1:10)(1:15)|11|(1:13)|14)|16|(9:20|(1:22)(1:59)|23|(14:26|27|28|29|(1:31)(1:46)|32|(1:34)|35|(1:37)|(1:39)|40|(2:42|43)(1:45)|44|24)|52|53|54|55|56)|60|(1:62)(1:131)|63|(1:65)(1:130)|66|(1:68)(1:129)|69|70|71|72|(2:74|(9:76|(1:78)(1:124)|79|(10:82|83|84|85|(1:114)(1:95)|96|(1:113)|112|111|80)|117|118|119|120|121))|125)))|132)))|6|(0)|16|(10:18|20|(0)(0)|23|(1:24)|52|53|54|55|56)|60|(0)(0)|63|(0)(0)|66|(0)(0)|69|70|71|72|(0)|125|(1:(2:112|111))) */
/* JADX WARN: Code restructure failed: missing block: B:109:0x02c2, code lost:
r8.put(r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:128:0x0223, code lost:
com.fyber.inneractive.sdk.util.IAlog.f("Got exception adding param to json object: %s, %s", "number_of_endcards", r0);
*/
/* JADX WARN: Removed duplicated region for block: B:129:0x020c */
/* JADX WARN: Removed duplicated region for block: B:130:0x0203 */
/* JADX WARN: Removed duplicated region for block: B:131:0x01f9 */
/* JADX WARN: Removed duplicated region for block: B:22:0x013c */
/* JADX WARN: Removed duplicated region for block: B:26:0x0159 */
/* JADX WARN: Removed duplicated region for block: B:59:0x013e */
/* JADX WARN: Removed duplicated region for block: B:62:0x01f2 */
/* JADX WARN: Removed duplicated region for block: B:65:0x01fe */
/* JADX WARN: Removed duplicated region for block: B:68:0x020a */
/* JADX WARN: Removed duplicated region for block: B:74:0x0236 */
/* JADX WARN: Removed duplicated region for block: B:8:0x0111 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static com.fyber.inneractive.sdk.external.InneractiveErrorCode a(com.fyber.inneractive.sdk.external.InneractiveAdRequest r17, com.fyber.inneractive.sdk.response.g r18, com.fyber.inneractive.sdk.config.global.s r19) {
/*
Method dump skipped, instructions count: 732
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.flow.vast.k.a(com.fyber.inneractive.sdk.external.InneractiveAdRequest, com.fyber.inneractive.sdk.response.g, com.fyber.inneractive.sdk.config.global.s):com.fyber.inneractive.sdk.external.InneractiveErrorCode");
}
}