我要上王者 v1.1版本的 MD5 值为:b7d3566522def961cabeb92cb17f5db9
以下内容为反编译后的 c.java 源代码,内容仅作参考
package com.anythink.expressad.splash.c;
import android.content.Context;
import android.net.Uri;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.text.TextUtils;
import android.view.View;
import com.anythink.core.common.b.n;
import com.anythink.expressad.foundation.h.p;
import com.anythink.expressad.foundation.h.t;
import com.anythink.expressad.foundation.h.x;
import com.anythink.expressad.splash.a.b;
import com.anythink.expressad.splash.c.a;
import com.anythink.expressad.splash.c.e;
import com.anythink.expressad.splash.view.ATSplashView;
import com.anythink.expressad.videocommon.b.i;
import java.io.File;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.List;
public final class c {
private static String c = "SplashLoadManager";
private static final int l = 1;
private static final int m = 2;
private static final int n = 3;
private int B;
com.anythink.expressad.foundation.d.c f4165b;
private String d;
private String e;
private long f;
private long g;
private com.anythink.expressad.splash.b.c h;
private ATSplashView j;
private com.anythink.expressad.d.c k;
private boolean o;
private int p;
private int q;
private int r;
private String s;
private int t;
private boolean u;
private volatile boolean v;
private com.anythink.expressad.videocommon.d.c w;
private i.d x;
private String y;
private int z;
private String A = "";
private Handler C = new Handler(Looper.getMainLooper()) {
@Override
public final void handleMessage(Message message) {
super.handleMessage(message);
int i = message.what;
if (i == 1) {
Object obj = message.obj;
int i2 = message.arg1;
if (obj instanceof com.anythink.expressad.foundation.d.c) {
com.anythink.expressad.foundation.d.c cVar = (com.anythink.expressad.foundation.d.c) obj;
c.a(c.this, i.a().c(cVar.c()), cVar, i2);
}
} else if (i != 2) {
if (i != 3) {
return;
}
Object obj2 = message.obj;
if (obj2 instanceof com.anythink.expressad.foundation.d.c) {
c cVar2 = c.this;
cVar2.b((com.anythink.expressad.foundation.d.c) obj2, cVar2.t);
}
} else {
Object obj3 = message.obj;
if (obj3 instanceof String) {
c cVar3 = c.this;
String obj4 = obj3.toString();
String unused = c.this.s;
int unused2 = c.this.t;
cVar3.a(obj4);
}
}
}
};
private Runnable D = new Runnable() {
@Override
public final void run() {
c cVar = c.this;
String unused = cVar.s;
int unused2 = c.this.t;
cVar.a("load timeout");
}
};
boolean f4164a = false;
private Context i = n.a().f();
private static void h() {
}
private static void i() {
}
private static void k() {
}
public c(String str, String str2, long j) {
this.e = str;
this.d = str2;
this.g = j;
}
public final void a(int i) {
this.B = i;
}
public final void a(boolean z) {
this.f4164a = z;
}
public final void a(com.anythink.expressad.d.c cVar) {
this.k = cVar;
}
public final void a(ATSplashView aTSplashView) {
this.j = aTSplashView;
}
private boolean e() {
return this.o;
}
public final void b(boolean z) {
this.o = z;
}
private int f() {
return this.p;
}
public final void b(int i) {
this.p = i;
}
public final void a(int i, int i2) {
this.r = i;
this.q = i2;
}
public final String a() {
return this.A;
}
public final void a(com.anythink.expressad.foundation.d.d dVar) {
ArrayList arrayList;
this.v = false;
this.s = "";
this.t = 2;
if (dVar == null || dVar.J == null) {
arrayList = null;
} else {
arrayList = new ArrayList();
com.anythink.expressad.foundation.d.c cVar = dVar.J.get(0);
cVar.l(this.d);
this.y = dVar.c();
if (cVar.O() != 99 && (!TextUtils.isEmpty(cVar.c()) || !TextUtils.isEmpty(cVar.d()))) {
if (t.a(cVar)) {
cVar.i(t.a(this.i, cVar.ba()) ? 1 : 2);
}
if (cVar.ae() == 1 || !t.a(this.i, cVar.ba())) {
arrayList.add(cVar);
} else if (t.a(cVar)) {
arrayList.add(cVar);
}
}
}
if (arrayList != null && arrayList.size() > 0) {
g();
new StringBuilder("onload load suc size:").append(arrayList.size());
com.anythink.expressad.foundation.d.c cVar2 = (com.anythink.expressad.foundation.d.c) arrayList.get(0);
if (!TextUtils.isEmpty(cVar2.c()) || (!TextUtils.isEmpty(cVar2.d()) && cVar2.d().contains("<MBTPLMARK>"))) {
cVar2.a(true);
cVar2.b(false);
} else {
cVar2.a(false);
cVar2.b(true);
}
ATSplashView aTSplashView = this.j;
if (aTSplashView != null) {
aTSplashView.setDynamicView(false);
}
if (cVar2.j()) {
d(cVar2, 2);
}
if (b.a(this.j, cVar2)) {
b(cVar2, 2);
return;
}
this.j.clearResState();
if (!TextUtils.isEmpty(cVar2.c()) && !cVar2.j()) {
this.x = new AnonymousClass5(cVar2, 2);
i.a().b(cVar2.c(), (i.a) this.x);
}
if (cVar2.j()) {
return;
}
if (!TextUtils.isEmpty(cVar2.d())) {
com.anythink.core.common.o.b.b.a().a(new AnonymousClass4(cVar2, 2));
}
if (!TextUtils.isEmpty(cVar2.S())) {
this.w = new AnonymousClass8(cVar2);
ArrayList arrayList2 = new ArrayList();
arrayList2.add(cVar2);
com.anythink.expressad.videocommon.b.e.a().a(this.d, arrayList2, com.anythink.expressad.foundation.g.a.aV, this.w);
if (!com.anythink.expressad.videocommon.b.e.a().a(com.anythink.expressad.foundation.g.a.aV, this.d, cVar2.A())) {
com.anythink.expressad.videocommon.b.e.a().d(this.d);
} else {
this.j.setVideoReady(true);
b(cVar2, 2);
}
}
if (TextUtils.isEmpty(cVar2.be())) {
return;
}
d(cVar2, 2);
return;
}
a("invalid campaign");
}
private void a(long j) {
this.C.postDelayed(this.D, j);
}
private void g() {
try {
int i = this.z + 1;
this.z = i;
com.anythink.expressad.d.c cVar = this.k;
if (cVar == null || i > cVar.t()) {
this.z = 0;
}
new StringBuilder("onload,next offset is:").append(this.z);
} catch (Exception e) {
e.printStackTrace();
}
}
private void j() {
this.z = 0;
}
public final void a(com.anythink.expressad.splash.b.c cVar) {
this.h = cVar;
}
public final void b() {
if (this.h != null) {
this.h = null;
}
if (this.w != null) {
this.w = null;
}
if (this.x != null) {
this.x = null;
}
}
private void a(com.anythink.expressad.foundation.d.c cVar, int i) {
ATSplashView aTSplashView = this.j;
if (aTSplashView != null) {
aTSplashView.setDynamicView(false);
}
if (cVar.j()) {
d(cVar, i);
}
if (b.a(this.j, cVar)) {
b(cVar, i);
return;
}
this.j.clearResState();
if (!TextUtils.isEmpty(cVar.c()) && !cVar.j()) {
this.x = new AnonymousClass5(cVar, i);
i.a().b(cVar.c(), (i.a) this.x);
}
if (cVar.j()) {
return;
}
if (!TextUtils.isEmpty(cVar.d())) {
com.anythink.core.common.o.b.b.a().a(new AnonymousClass4(cVar, i));
}
if (!TextUtils.isEmpty(cVar.S())) {
this.w = new AnonymousClass8(cVar);
ArrayList arrayList = new ArrayList();
arrayList.add(cVar);
com.anythink.expressad.videocommon.b.e.a().a(this.d, arrayList, com.anythink.expressad.foundation.g.a.aV, this.w);
if (!com.anythink.expressad.videocommon.b.e.a().a(com.anythink.expressad.foundation.g.a.aV, this.d, cVar.A())) {
com.anythink.expressad.videocommon.b.e.a().d(this.d);
} else {
this.j.setVideoReady(true);
b(cVar, i);
}
}
if (TextUtils.isEmpty(cVar.be())) {
return;
}
d(cVar, i);
}
public final com.anythink.expressad.foundation.d.c c() {
return this.f4165b;
}
public void b(com.anythink.expressad.foundation.d.c cVar, int i) {
if (!b.a(this.j, cVar) || this.v) {
return;
}
l();
this.f4165b = cVar;
this.v = true;
com.anythink.expressad.splash.b.c cVar2 = this.h;
if (cVar2 != null) {
cVar2.a(cVar, i);
}
}
public void a(String str) {
if (this.u) {
this.u = false;
} else {
b(str);
}
}
private void b(String str) {
if (this.v) {
return;
}
l();
this.v = true;
com.anythink.expressad.splash.b.c cVar = this.h;
if (cVar != null) {
cVar.a(str);
}
}
private void l() {
this.C.removeCallbacks(this.D);
}
private void c(com.anythink.expressad.foundation.d.c cVar, int i) {
this.j.clearResState();
if (!TextUtils.isEmpty(cVar.c()) && !cVar.j()) {
this.x = new AnonymousClass5(cVar, i);
i.a().b(cVar.c(), (i.a) this.x);
}
if (cVar.j()) {
return;
}
if (!TextUtils.isEmpty(cVar.d())) {
com.anythink.core.common.o.b.b.a().a(new AnonymousClass4(cVar, i));
}
if (!TextUtils.isEmpty(cVar.S())) {
this.w = new AnonymousClass8(cVar);
ArrayList arrayList = new ArrayList();
arrayList.add(cVar);
com.anythink.expressad.videocommon.b.e.a().a(this.d, arrayList, com.anythink.expressad.foundation.g.a.aV, this.w);
if (!com.anythink.expressad.videocommon.b.e.a().a(com.anythink.expressad.foundation.g.a.aV, this.d, cVar.A())) {
com.anythink.expressad.videocommon.b.e.a().d(this.d);
} else {
this.j.setVideoReady(true);
b(cVar, i);
}
}
if (TextUtils.isEmpty(cVar.be())) {
return;
}
d(cVar, i);
}
private void d(final com.anythink.expressad.foundation.d.c cVar, final int i) {
b.a(this.j, cVar, new com.anythink.expressad.splash.view.a() {
@Override
public final void a() {
if (cVar.j() && c.this.j != null) {
c.this.j.setImageReady(true);
c.b(c.this, cVar, i);
}
c.this.b(cVar, i);
}
@Override
public final void b() {
if (!cVar.j() || c.this.j == null) {
return;
}
c.this.j.setImageReady(false);
c cVar2 = c.this;
String unused = cVar2.s;
cVar2.a("Image resource load faile");
}
});
}
final class AnonymousClass4 implements Runnable {
final com.anythink.expressad.foundation.d.c f4170a;
final int f4171b;
AnonymousClass4(com.anythink.expressad.foundation.d.c cVar, int i) {
this.f4170a = cVar;
this.f4171b = i;
}
@Override
public final void run() {
File file;
final File file2;
FileOutputStream fileOutputStream = null;
try {
try {
try {
file2 = new File(this.f4170a.d());
try {
if (!file2.exists()) {
String b2 = com.anythink.expressad.foundation.g.c.d.b(com.anythink.expressad.foundation.g.c.a.ANYTHINK_700_HTML);
String a2 = p.a(x.a(this.f4170a.d()));
if (TextUtils.isEmpty(a2)) {
a2 = String.valueOf(System.currentTimeMillis());
}
file = new File(b2, a2.concat(".html"));
try {
if (!file.exists()) {
FileOutputStream fileOutputStream2 = new FileOutputStream(file);
try {
StringBuilder sb = new StringBuilder();
sb.append("<script>");
com.anythink.expressad.d.b.a.a();
sb.append(com.anythink.expressad.d.b.a.b());
sb.append("</script>");
sb.append(this.f4170a.d());
fileOutputStream2.write(sb.toString().getBytes());
fileOutputStream2.flush();
fileOutputStream = fileOutputStream2;
} catch (Exception e) {
e = e;
fileOutputStream = fileOutputStream2;
e.printStackTrace();
this.f4170a.j("");
if (fileOutputStream != null) {
fileOutputStream.close();
}
file2 = file;
if (!file2.exists()) {
}
c cVar = c.this;
String unused = cVar.s;
cVar.a("html file write failed");
} catch (Throwable th) {
th = th;
fileOutputStream = fileOutputStream2;
if (fileOutputStream != null) {
fileOutputStream.close();
}
throw th;
}
}
file2 = file;
} catch (Exception e2) {
e = e2;
}
}
if (fileOutputStream != null) {
fileOutputStream.close();
}
} catch (Exception e3) {
e = e3;
file = file2;
}
} catch (Exception e4) {
c cVar2 = c.this;
String message = e4.getMessage();
String unused2 = c.this.s;
cVar2.a(message);
return;
}
} catch (Throwable th2) {
th = th2;
}
} catch (Exception e5) {
e = e5;
file = null;
}
if (!file2.exists() && file2.isFile() && file2.canRead()) {
this.f4170a.b(file2.getAbsolutePath());
n.a().b(new Runnable() {
@Override
public final void run() {
c cVar3 = c.this;
c.a(cVar3, "file:////" + file2.getAbsolutePath(), AnonymousClass4.this.f4170a, AnonymousClass4.this.f4171b);
}
});
return;
}
c cVar3 = c.this;
String unused3 = cVar3.s;
cVar3.a("html file write failed");
}
}
private void e(com.anythink.expressad.foundation.d.c cVar, int i) {
com.anythink.core.common.o.b.b.a().a(new AnonymousClass4(cVar, i));
}
private void f(com.anythink.expressad.foundation.d.c cVar, int i) {
if (cVar.j()) {
return;
}
this.x = new AnonymousClass5(cVar, i);
i.a().b(cVar.c(), (i.a) this.x);
}
final class AnonymousClass5 implements i.d {
final com.anythink.expressad.foundation.d.c f4174a;
final int f4175b;
AnonymousClass5(com.anythink.expressad.foundation.d.c cVar, int i) {
this.f4174a = cVar;
this.f4175b = i;
}
@Override
public final void a(String str) {
Message obtain = Message.obtain();
obtain.what = 1;
obtain.obj = this.f4174a;
obtain.arg1 = this.f4175b;
c.this.C.sendMessage(obtain);
}
@Override
public final void a(String str, String str2) {
c cVar = c.this;
String unused = cVar.s;
cVar.a(str);
Message obtain = Message.obtain();
obtain.what = 2;
obtain.obj = str;
c.this.C.sendMessage(obtain);
}
}
private void g(com.anythink.expressad.foundation.d.c cVar, int i) {
if (cVar.j()) {
b.a aVar = new b.a();
aVar.b(this.d).a(this.e).a(this.o).a(cVar).a(this.p).h(this.B);
try {
if (!TextUtils.isEmpty(cVar.c())) {
Uri parse = Uri.parse(cVar.c());
String queryParameter = parse.getQueryParameter("hdbtn");
String queryParameter2 = parse.getQueryParameter(com.anythink.expressad.video.dynview.a.a.L);
String queryParameter3 = parse.getQueryParameter("hdinfo");
String queryParameter4 = parse.getQueryParameter("shake_show");
String queryParameter5 = parse.getQueryParameter("shake_strength");
String queryParameter6 = parse.getQueryParameter("shake_time");
String queryParameter7 = parse.getQueryParameter("n_logo");
if (!TextUtils.isEmpty(queryParameter)) {
aVar.b(Integer.parseInt(queryParameter));
}
if (!TextUtils.isEmpty(queryParameter2)) {
aVar.c(Integer.parseInt(queryParameter2));
}
if (!TextUtils.isEmpty(queryParameter3)) {
aVar.d(Integer.parseInt(queryParameter3));
}
if (!TextUtils.isEmpty(queryParameter4)) {
aVar.e(Integer.parseInt(queryParameter4));
}
if (!TextUtils.isEmpty(queryParameter5)) {
aVar.f(Integer.parseInt(queryParameter5));
}
if (!TextUtils.isEmpty(queryParameter6)) {
aVar.g(Integer.parseInt(queryParameter6));
}
if (!TextUtils.isEmpty(queryParameter7)) {
aVar.i(Integer.parseInt(queryParameter7) == 0 ? 0 : 1);
}
}
} catch (Throwable th) {
th.getMessage();
}
a.C0141a.a();
a.a(this.j, new com.anythink.expressad.splash.a.b(aVar), new AnonymousClass6(cVar, i));
}
}
public final class AnonymousClass6 implements com.anythink.expressad.splash.b.a {
final com.anythink.expressad.foundation.d.c f4176a;
final int f4177b;
AnonymousClass6(com.anythink.expressad.foundation.d.c cVar, int i) {
this.f4176a = cVar;
this.f4177b = i;
}
@Override
public final void a(View view) {
if (c.this.j != null) {
c.this.j.setDynamicView(true);
c.this.j.setSplashNativeView(view);
c.this.b(this.f4176a, this.f4177b);
}
}
@Override
public final void a(String str) {
c cVar = c.this;
String unused = cVar.s;
cVar.a(str);
}
}
private void a(String str, com.anythink.expressad.foundation.d.c cVar, int i) {
e.c cVar2 = new e.c();
cVar2.c(this.d);
cVar2.b(this.e);
cVar2.a(cVar);
cVar2.a(str);
cVar2.b(this.o);
cVar2.a(this.p);
cVar2.a(this.f4164a);
e.a.a().a(this.j, cVar2, new AnonymousClass7(cVar, i));
}
public final class AnonymousClass7 implements e.b {
final com.anythink.expressad.foundation.d.c f4178a;
final int f4179b;
AnonymousClass7(com.anythink.expressad.foundation.d.c cVar, int i) {
this.f4178a = cVar;
this.f4179b = i;
}
@Override
public final void a() {
if (this.f4178a.s()) {
return;
}
c.c(c.this, this.f4178a, this.f4179b);
}
@Override
public final void a(String str) {
c.this.a(str);
}
@Override
public final void a(int i) {
if (i == 1) {
c.c(c.this, this.f4178a, this.f4179b);
} else {
c.this.a("readyState 2");
}
}
}
private void c(String str) {
a(str);
}
private void h(com.anythink.expressad.foundation.d.c cVar, int i) {
if (this.j.isH5Ready()) {
return;
}
this.j.setH5Ready(true);
b(cVar, i);
}
final class AnonymousClass8 implements com.anythink.expressad.videocommon.d.c {
final com.anythink.expressad.foundation.d.c f4180a;
AnonymousClass8(com.anythink.expressad.foundation.d.c cVar) {
this.f4180a = cVar;
}
@Override
public final void a(String str) {
c.this.j.setVideoReady(true);
String unused = c.c;
Message obtain = Message.obtain();
obtain.obj = this.f4180a;
obtain.what = 3;
c.this.C.sendMessage(obtain);
}
@Override
public final void a(String str, String str2) {
c.this.j.setVideoReady(false);
String unused = c.c;
Message obtain = Message.obtain();
obtain.obj = str;
obtain.what = 2;
c.this.C.sendMessage(obtain);
}
}
private void i(com.anythink.expressad.foundation.d.c cVar, int i) {
this.w = new AnonymousClass8(cVar);
ArrayList arrayList = new ArrayList();
arrayList.add(cVar);
com.anythink.expressad.videocommon.b.e.a().a(this.d, arrayList, com.anythink.expressad.foundation.g.a.aV, this.w);
if (!com.anythink.expressad.videocommon.b.e.a().a(com.anythink.expressad.foundation.g.a.aV, this.d, cVar.A())) {
com.anythink.expressad.videocommon.b.e.a().d(this.d);
return;
}
this.j.setVideoReady(true);
b(cVar, i);
}
private void a(com.anythink.expressad.foundation.d.d dVar, int i) {
ArrayList arrayList;
if (dVar == null || dVar.J == null) {
arrayList = null;
} else {
arrayList = new ArrayList();
com.anythink.expressad.foundation.d.c cVar = dVar.J.get(0);
cVar.l(this.d);
this.y = dVar.c();
if (cVar.O() != 99 && (!TextUtils.isEmpty(cVar.c()) || !TextUtils.isEmpty(cVar.d()))) {
if (t.a(cVar)) {
cVar.i(t.a(this.i, cVar.ba()) ? 1 : 2);
}
if (cVar.ae() == 1 || !t.a(this.i, cVar.ba())) {
arrayList.add(cVar);
} else if (t.a(cVar)) {
arrayList.add(cVar);
}
}
}
if (arrayList != null && arrayList.size() > 0) {
g();
new StringBuilder("onload load suc size:").append(arrayList.size());
com.anythink.expressad.foundation.d.c cVar2 = (com.anythink.expressad.foundation.d.c) arrayList.get(0);
if (!TextUtils.isEmpty(cVar2.c()) || (!TextUtils.isEmpty(cVar2.d()) && cVar2.d().contains("<MBTPLMARK>"))) {
cVar2.a(true);
cVar2.b(false);
} else {
cVar2.a(false);
cVar2.b(true);
}
ATSplashView aTSplashView = this.j;
if (aTSplashView != null) {
aTSplashView.setDynamicView(false);
}
if (cVar2.j()) {
d(cVar2, i);
}
if (b.a(this.j, cVar2)) {
b(cVar2, i);
return;
}
this.j.clearResState();
if (!TextUtils.isEmpty(cVar2.c()) && !cVar2.j()) {
this.x = new AnonymousClass5(cVar2, i);
i.a().b(cVar2.c(), (i.a) this.x);
}
if (cVar2.j()) {
return;
}
if (!TextUtils.isEmpty(cVar2.d())) {
com.anythink.core.common.o.b.b.a().a(new AnonymousClass4(cVar2, i));
}
if (!TextUtils.isEmpty(cVar2.S())) {
this.w = new AnonymousClass8(cVar2);
ArrayList arrayList2 = new ArrayList();
arrayList2.add(cVar2);
com.anythink.expressad.videocommon.b.e.a().a(this.d, arrayList2, com.anythink.expressad.foundation.g.a.aV, this.w);
if (!com.anythink.expressad.videocommon.b.e.a().a(com.anythink.expressad.foundation.g.a.aV, this.d, cVar2.A())) {
com.anythink.expressad.videocommon.b.e.a().d(this.d);
} else {
this.j.setVideoReady(true);
b(cVar2, i);
}
}
if (TextUtils.isEmpty(cVar2.be())) {
return;
}
d(cVar2, i);
return;
}
a("invalid campaign");
}
private List<com.anythink.expressad.foundation.d.c> b(com.anythink.expressad.foundation.d.d dVar) {
if (dVar == null || dVar.J == null) {
return null;
}
ArrayList arrayList = new ArrayList();
com.anythink.expressad.foundation.d.c cVar = dVar.J.get(0);
cVar.l(this.d);
this.y = dVar.c();
if (cVar.O() != 99) {
if (TextUtils.isEmpty(cVar.c()) && TextUtils.isEmpty(cVar.d())) {
return arrayList;
}
if (t.a(cVar)) {
cVar.i(t.a(this.i, cVar.ba()) ? 1 : 2);
}
if (cVar.ae() == 1 || !t.a(this.i, cVar.ba())) {
arrayList.add(cVar);
return arrayList;
} else if (t.a(cVar)) {
arrayList.add(cVar);
return arrayList;
} else {
return arrayList;
}
}
return arrayList;
}
static void a(c cVar, String str, com.anythink.expressad.foundation.d.c cVar2, int i) {
e.c cVar3 = new e.c();
cVar3.c(cVar.d);
cVar3.b(cVar.e);
cVar3.a(cVar2);
cVar3.a(str);
cVar3.b(cVar.o);
cVar3.a(cVar.p);
cVar3.a(cVar.f4164a);
e.a.a().a(cVar.j, cVar3, new AnonymousClass7(cVar2, i));
}
static void b(c cVar, com.anythink.expressad.foundation.d.c cVar2, int i) {
if (cVar2.j()) {
b.a aVar = new b.a();
aVar.b(cVar.d).a(cVar.e).a(cVar.o).a(cVar2).a(cVar.p).h(cVar.B);
try {
if (!TextUtils.isEmpty(cVar2.c())) {
Uri parse = Uri.parse(cVar2.c());
String queryParameter = parse.getQueryParameter("hdbtn");
String queryParameter2 = parse.getQueryParameter(com.anythink.expressad.video.dynview.a.a.L);
String queryParameter3 = parse.getQueryParameter("hdinfo");
String queryParameter4 = parse.getQueryParameter("shake_show");
String queryParameter5 = parse.getQueryParameter("shake_strength");
String queryParameter6 = parse.getQueryParameter("shake_time");
String queryParameter7 = parse.getQueryParameter("n_logo");
if (!TextUtils.isEmpty(queryParameter)) {
aVar.b(Integer.parseInt(queryParameter));
}
if (!TextUtils.isEmpty(queryParameter2)) {
aVar.c(Integer.parseInt(queryParameter2));
}
if (!TextUtils.isEmpty(queryParameter3)) {
aVar.d(Integer.parseInt(queryParameter3));
}
if (!TextUtils.isEmpty(queryParameter4)) {
aVar.e(Integer.parseInt(queryParameter4));
}
if (!TextUtils.isEmpty(queryParameter5)) {
aVar.f(Integer.parseInt(queryParameter5));
}
if (!TextUtils.isEmpty(queryParameter6)) {
aVar.g(Integer.parseInt(queryParameter6));
}
if (!TextUtils.isEmpty(queryParameter7)) {
aVar.i(Integer.parseInt(queryParameter7) == 0 ? 0 : 1);
}
}
} catch (Throwable th) {
th.getMessage();
}
a.C0141a.a();
a.a(cVar.j, new com.anythink.expressad.splash.a.b(aVar), new AnonymousClass6(cVar2, i));
}
}
static void c(c cVar, com.anythink.expressad.foundation.d.c cVar2, int i) {
if (cVar.j.isH5Ready()) {
return;
}
cVar.j.setH5Ready(true);
cVar.b(cVar2, i);
}
}