360 Wi-Fi v1.0.1版本的 MD5 值为:53dc85b63eb655b13344ce30ddaccae2
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.anythink.core.d;
import android.text.TextUtils;
import androidx.datastore.preferences.protobuf.llLiiILlllII;
import com.anythink.core.common.b.h;
import com.anythink.core.common.b.p;
import com.anythink.core.common.b.s;
import com.anythink.core.common.f.af;
import com.anythink.core.common.f.v;
import com.inmobi.commons.core.configs.CrashConfig;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.json.JSONArray;
import org.json.JSONObject;
public class a extends c {
public static final String a = "a";
private int A;
private Map B;
private String C;
private String D;
private String E;
private String F;
private ConcurrentHashMap<String, af> G;
private int H;
private int f2059I;
private Map<String, String> J;
private Map<String, String> K;
private Map<String, String> f2060L;
private Map<String, Map<String, String>> M;
private Map<String, Map<String, String>> N;
private int O;
private String P;
private int Q;
private String R;
private int S;
private String T;
private String U;
private String V;
private g W;
private v X;
private int Y;
private int Z;
private List<String> aA;
private List<String> aB;
private String aa;
private String ab;
private String ac;
private String ad;
private String ae;
private String af;
private String ag;
private String ah;
private int ai;
private String aj;
private String ak;
private String al;
private int am;
private String an;
private String ao;
private JSONObject ap;
private JSONObject aq;
private int ar;
private com.anythink.core.common.n.d as;
private JSONObject at;
private int au = 1;
private boolean av;
private String aw;
private String ax;
private String ay;
private List<String> az;
protected boolean b;
Map<String, Object> c;
private long e;
private String f;
private long g;
private int h;
private int f2061i;
private String j;
private String k;
private int f2062l;
private long m;
private String n;
private String o;
private String p;
private int q;
private long r;
private int[] s;
private String t;
private int u;
private long v;
private String w;
private String x;
private long y;
private long z;
public static class C0054a {
private static String A = "tk_interval";
private static String B = "da_address";
private static String C = "da_max_amount";
private static String D = "da_interval";
private static String E = "n_psid_tm";
private static String F = "c_a";
private static String G = "tk_firm";
private static String H = "n_l";
private static String f2063I = "preinit";
private static String J = "nw_eu_def";
private static String K = "t_c";
private static String f2064L = "data_level";
private static String M = "psid_hl";
private static String N = "la_sw";
private static String O = "da_rt_keys_ft";
private static String P = "tk_no_t_ft";
private static String Q = "da_not_keys_ft";
private static String R = "abtest_id";
private static String S = "crash_sw";
private static String T = "crash_list";
private static String U = "tcp_domain";
private static String V = "tcp_port";
private static String W = "tcp_tk_da_type";
private static String X = "tcp_rate";
private static String Y = "sy_id";
private static String Z = "adx";
public static String a = "pil";
private static String aa = "req_addr";
private static String ab = "bid_addr";
private static String ac = "tk_addr";
private static String ad = "ol_req_addr";
private static String ae = "ofm_data";
private static String af = "ccpa_sw";
private static String ag = "coppa_sw";
private static String ah = "tk_no_nt_t";
private static String ai = "da_no_nt_k";
private static String aj = "s2s_addr";
private static String ak = "cn_gdpr_nu";
private static String al = "cn_s2s_addr";
private static String am = "cn_req_addr";
private static String an = "cn_bid_addr";
private static String ao = "cn_tk_addr";
private static String ap = "cn_ol_req_addr";
private static String aq = "cn_tk_address";
private static String ar = "cn_da_address";
private static String as = "cn_tcp_domain";
private static String at = "cn_tcp_port";
private static String au = "show_delay_url";
private static String av = "show_delay_text";
private static String aw = "store_wakup";
private static String ax = "admob_m_sw";
public static String b = "tk_rt_sp_ft";
public static String c = "da_rt_sp_ft";
public static String d = "lrqf_interval";
public static String e = "a_c";
public static String f = "upd_alg";
public static String g = "device_perf_sw";
public static String h = "at_a_cg";
public static String f2065i = "at_a_re";
public static String j = "at_a_rc";
public static String k = "s_p_data";
public static String f2066l = "nw_ext";
public static String m = "sens_sw";
public static String n = "adx_getimgwh_sw";
private static String o = "scet";
private static String p = "req_ver";
private static String q = "gdpr_sdcs";
private static String r = "gdpr_so";
private static String s = "gdpr_nu";
private static String t = "gdpr_a";
private static String u = "gdpr_ia";
private static String v = "pl_n";
private static String w = "upid";
private static String x = "logger";
private static String y = "tk_address";
private static String z = "tk_max_amount";
}
private String aA() {
return this.ae;
}
private String aB() {
return this.af;
}
private String aC() {
return this.ag;
}
private String aD() {
return this.ah;
}
private int aE() {
return this.ai;
}
private String aF() {
return this.f;
}
private String aG() {
return this.k;
}
private String aH() {
return this.o;
}
private Map<String, Object> aI() {
return this.c;
}
public static boolean at() {
boolean z;
a IllLLLIil = llLiiILlllII.IllLLLIil(llLiiILlllII.IiILLLILLilLl());
if (IllLLLIil != null && IllLLLIil.A == 1) {
z = true;
} else {
z = false;
}
s a2 = s.a(p.a().f());
if (IllLLLIil.b) {
if (a2.a() == 2) {
return false;
}
} else if (a2.a() == 2 && (IllLLLIil.f2062l == 0 || z)) {
return false;
}
return true;
}
private String aw() {
return this.V;
}
private ConcurrentHashMap<String, af> ax() {
return this.G;
}
private String ay() {
return this.C;
}
private String az() {
return this.ad;
}
private void f(String str) {
this.ao = str;
}
private void g(String str) {
this.aw = str;
this.az = new ArrayList();
if (TextUtils.isEmpty(str)) {
return;
}
try {
JSONArray jSONArray = new JSONArray(str);
for (int i2 = 0; i2 < jSONArray.length(); i2++) {
this.az.add(jSONArray.optString(i2));
}
} catch (Throwable unused) {
}
}
private static void h(Map<String, Object> map) {
a IllLLLIil = llLiiILlllII.IllLLLIil(llLiiILlllII.IiILLLILLilLl());
boolean z = false;
boolean z2 = IllLLLIil != null && IllLLLIil.f2062l == 1;
boolean z3 = IllLLLIil != null && IllLLLIil.A == 1;
s a2 = s.a(p.a().f());
map.put("gdpr_consent", Boolean.valueOf(a2.c()));
map.put("is_eu", Boolean.valueOf(z2));
if (!IllLLLIil.b ? a2.a() != 2 || (IllLLLIil.f2062l != 0 && !z3) : a2.a() != 2) {
z = true;
}
map.put("need_set_gdpr", Boolean.valueOf(z));
}
private void i(String str) {
this.ay = str;
this.aB = new ArrayList();
if (!TextUtils.isEmpty(str)) {
try {
JSONArray jSONArray = new JSONArray(str);
for (int i2 = 0; i2 < jSONArray.length(); i2++) {
this.aB.add(jSONArray.optString(i2));
}
return;
} catch (Throwable unused) {
return;
}
}
this.aB.add("https://mores.toponad.com/image/adx_animate/animate5_recommend1.png");
this.aB.add("https://mores.toponad.com/image/adx_animate/animate5_recommend2.png");
this.aB.add("https://mores.toponad.com/image/adx_animate/animate5_recommend3.png");
this.aB.add("https://mores.toponad.com/image/adx_animate/animate5_recommend4.png");
}
public final void A() {
this.O = 1;
}
public final String B() {
return this.P;
}
public final String C() {
return this.F;
}
public final int D() {
return this.H;
}
public final void E() {
this.H = 30000;
}
public final int F() {
return this.f2059I;
}
public final void G() {
this.f2059I = 0;
}
public final String H() {
return this.E;
}
public final boolean I() {
return this.b;
}
public final String J() {
return this.D;
}
public final int K() {
return this.A;
}
public final long L() {
return this.z;
}
public final void M() {
this.z = 51200L;
}
public final long N() {
return this.g;
}
public final Map<String, String> O() {
return this.B;
}
public final JSONObject P() {
return this.aq;
}
public final JSONObject Q() {
return this.at;
}
public final long R() {
return this.y;
}
public final void S() {
this.y = CrashConfig.DEFAULT_INCOMPLETE_LOG_THRESHOLD_INTERVAL;
}
public final long T() {
return this.e;
}
public final void U() {
this.e = h.C0039h.a;
}
public final int V() {
return this.h;
}
public final int W() {
return this.f2061i;
}
public final String X() {
return this.j;
}
public final int Y() {
return this.f2062l;
}
public final long Z() {
return this.m;
}
public final g a() {
return this.W;
}
public final void aa() {
this.m = 5000L;
}
public final String ab() {
return this.p;
}
public final int ac() {
return this.q;
}
public final void ad() {
this.q = 1;
}
public final long ae() {
return this.r;
}
public final void af() {
this.r = 0L;
}
public final String ag() {
return this.t;
}
public final int ah() {
return this.u;
}
public final void ai() {
this.u = 1;
}
public final long aj() {
return this.v;
}
public final void ak() {
this.v = 0L;
}
public final Map<String, String> al() {
return this.J;
}
public final Map<String, String> am() {
return this.K;
}
public final Map<String, String> an() {
return this.f2060L;
}
public final String ao() {
return this.aa;
}
public final String ap() {
return this.ab;
}
public final boolean aq() {
if (this.au == 1) {
return true;
}
return false;
}
public final JSONObject ar() {
return this.ap;
}
public final boolean as() {
return this.av;
}
public final com.anythink.core.common.n.d b() {
return this.as;
}
public final boolean c() {
return this.ar == 1;
}
public final String d() {
return this.ao;
}
public final String e() {
return this.aw;
}
public final List<String> j() {
return this.aA;
}
public final String k() {
return this.an;
}
public final int l() {
return this.am;
}
public final void m() {
this.am = 1;
}
public final String n() {
return this.al;
}
public final String o() {
return this.ak;
}
public final String p() {
return this.aj;
}
public final String q() {
return this.ac;
}
public final int r() {
return this.Y;
}
public final int s() {
return this.Z;
}
public final v t() {
return this.X;
}
public final String u() {
return this.U;
}
public final String v() {
return this.T;
}
public final int w() {
return this.Q;
}
public final String x() {
return this.R;
}
public final int y() {
return this.S;
}
public final int z() {
return this.O;
}
private void A(String str) {
this.ah = str;
}
private void B(String str) {
this.j = str;
}
private void C(String str) {
this.k = str;
}
private void D(String str) {
this.o = str;
}
private void E(String str) {
this.aa = str;
}
private void F(String str) {
this.ab = str;
}
private void a(g gVar) {
this.W = gVar;
}
private void b(int i2) {
this.ar = i2;
}
private void c(int i2) {
this.Y = i2;
}
private void d(int i2) {
this.Z = i2;
}
private void e(int i2) {
this.Q = i2;
}
private void j(String str) {
this.an = str;
}
private void k(String str) {
this.al = str;
}
private void l(String str) {
this.ak = str;
}
private void m(String str) {
this.aj = str;
}
private void n(String str) {
this.ac = str;
}
private void o(String str) {
this.U = str;
}
private void p(String str) {
this.V = str;
}
private void q(String str) {
this.T = str;
}
private void r(String str) {
this.R = str;
}
private void s(String str) {
this.F = str;
}
private void t(String str) {
this.E = str;
}
private void u(String str) {
this.D = str;
}
private void v(String str) {
this.C = str;
}
private void w(String str) {
this.ad = str;
}
private void x(String str) {
this.ae = str;
}
private void y(String str) {
this.af = str;
}
private void z(String str) {
this.ag = str;
}
public final String f() {
return this.ax;
}
private void a(com.anythink.core.common.n.d dVar) {
this.as = dVar;
}
private void e(JSONObject jSONObject) {
this.aq = jSONObject;
}
private void f(int i2) {
this.S = i2;
}
private void j(int i2) {
this.f2061i = i2;
}
private void k(int i2) {
this.f2062l = i2;
}
private void l(int i2) {
this.au = i2;
}
public final void b(String str) {
this.f = str;
}
public final void c(String str) {
this.p = str;
}
public final void d(String str) {
this.t = str;
}
private void a(v vVar) {
this.X = vVar;
}
private void b(Map<String, String> map) {
this.J = map;
}
private void c(Map<String, String> map) {
this.K = map;
}
private void d(Map<String, String> map) {
this.f2060L = map;
}
private void e(Map<String, Object> map) {
this.c = map;
}
private void f(JSONObject jSONObject) {
this.at = jSONObject;
}
private void f(Map<String, Map<String, String>> map) {
this.M = map;
}
public final void a(String str) {
this.P = str;
}
public final Map<String, String> e(String str) {
Map<String, Map<String, String>> map = this.N;
if (map != null) {
return map.get(str);
}
return null;
}
private void a(ConcurrentHashMap<String, af> concurrentHashMap) {
this.G = concurrentHashMap;
}
public final void a(long j) {
this.g = j;
}
private void a(Map map) {
this.B = map;
}
public final String g() {
return this.ay;
}
public static a a(JSONObject jSONObject) {
JSONObject optJSONObject;
Map<String, Map<String, String>> map = null;
if (jSONObject == null) {
return null;
}
a aVar = new a();
try {
aVar.b(jSONObject);
aVar.c(jSONObject);
aVar.d(jSONObject);
if (jSONObject.isNull(C0054a.p)) {
aVar.f = "unkown";
} else {
aVar.f = jSONObject.optString(C0054a.p);
}
if (jSONObject.isNull(C0054a.o)) {
aVar.e = h.C0039h.a;
} else {
aVar.e = jSONObject.optLong(C0054a.o);
}
int i2 = 0;
if (jSONObject.isNull(C0054a.q)) {
aVar.h = 0;
} else {
aVar.h = jSONObject.optInt(C0054a.q);
}
if (jSONObject.isNull(C0054a.r)) {
aVar.f2061i = 0;
} else {
aVar.f2061i = jSONObject.optInt(C0054a.r);
}
if (jSONObject.isNull(C0054a.s)) {
aVar.j = "";
} else {
aVar.j = jSONObject.optString(C0054a.s);
}
if (jSONObject.isNull(C0054a.t)) {
aVar.k = "[\"AT\",\"BE\",\"BG\",\"HR\",\"CY\",\"CZ\",\"DK\",\"EE\",\"FI\",\"FR\",\"DE\",\"GR\",\"HU\",\"IS\",\"IE\",\"IT\",\"LV\",\"LI\",\"LT\",\"LU\",\"MT\",\"NL\",\"NO\",\"PL\",\"PT\",\"RO\",\"SK\",\"SI\",\"ES\",\"SE\",\"GB\",\"UK\"]";
} else {
aVar.k = jSONObject.optString(C0054a.t);
}
if (jSONObject.isNull(C0054a.u)) {
aVar.f2062l = 0;
} else {
aVar.f2062l = jSONObject.optInt(C0054a.u);
}
if (jSONObject.isNull(C0054a.v)) {
aVar.m = 5000L;
} else {
aVar.m = jSONObject.optLong(C0054a.v);
}
if (!jSONObject.isNull(C0054a.x)) {
JSONObject optJSONObject2 = jSONObject.optJSONObject(C0054a.x);
aVar.o = optJSONObject2.toString();
aVar.p = optJSONObject2.optString(C0054a.y);
aVar.q = optJSONObject2.optInt(C0054a.z);
aVar.r = optJSONObject2.optLong(C0054a.A);
aVar.t = optJSONObject2.optString(C0054a.B);
aVar.u = optJSONObject2.optInt(C0054a.C);
aVar.v = optJSONObject2.optLong(C0054a.D);
ConcurrentHashMap<String, af> concurrentHashMap = new ConcurrentHashMap<>();
try {
if (!optJSONObject2.isNull(C0054a.G)) {
JSONObject jSONObject2 = new JSONObject(optJSONObject2.optString(C0054a.G));
Iterator<String> keys = jSONObject2.keys();
while (keys.hasNext()) {
String next = keys.next();
af afVar = new af();
JSONObject optJSONObject3 = jSONObject2.optJSONObject(next);
afVar.a = optJSONObject3.optInt("tk_fi_re_sw");
afVar.b = optJSONObject3.optInt("tk_im_sw");
afVar.c = optJSONObject3.optInt("tk_sh_sw");
afVar.d = optJSONObject3.optInt("tk_ck_sw");
afVar.e = optJSONObject3.optString("pg_m_li");
concurrentHashMap.put(next, afVar);
}
}
} catch (Exception unused) {
}
aVar.G = concurrentHashMap;
if (optJSONObject2.isNull(C0054a.O)) {
aVar.J = null;
} else {
JSONObject jSONObject3 = new JSONObject(optJSONObject2.optString(C0054a.O));
Iterator<String> keys2 = jSONObject3.keys();
HashMap hashMap = new HashMap();
while (keys2.hasNext()) {
String next2 = keys2.next();
hashMap.put(next2, jSONObject3.optString(next2));
}
aVar.J = hashMap;
}
if (optJSONObject2.isNull(C0054a.Q)) {
aVar.f2060L = null;
} else {
JSONObject jSONObject4 = new JSONObject(optJSONObject2.optString(C0054a.Q));
Iterator<String> keys3 = jSONObject4.keys();
HashMap hashMap2 = new HashMap();
while (keys3.hasNext()) {
String next3 = keys3.next();
hashMap2.put(next3, jSONObject4.optString(next3));
}
aVar.f2060L = hashMap2;
}
if (optJSONObject2.isNull(C0054a.P)) {
aVar.K = null;
} else {
JSONObject jSONObject5 = new JSONObject(optJSONObject2.optString(C0054a.P));
Iterator<String> keys4 = jSONObject5.keys();
HashMap hashMap3 = new HashMap();
while (keys4.hasNext()) {
String next4 = keys4.next();
hashMap3.put(next4, jSONObject5.optString(next4));
}
aVar.K = hashMap3;
}
aVar.R = optJSONObject2.optString(C0054a.U);
aVar.S = optJSONObject2.optInt(C0054a.V);
aVar.Q = optJSONObject2.optInt(C0054a.W);
aVar.T = optJSONObject2.optString(C0054a.X);
if (optJSONObject2.isNull(C0054a.ah)) {
aVar.aa = null;
} else {
aVar.aa = optJSONObject2.optString(C0054a.ah);
}
if (optJSONObject2.isNull(C0054a.ai)) {
aVar.ab = null;
} else {
aVar.ab = optJSONObject2.optString(C0054a.ai);
}
if (!optJSONObject2.isNull(C0054a.aq)) {
aVar.af = optJSONObject2.optString(C0054a.aq);
}
if (!optJSONObject2.isNull(C0054a.ar)) {
aVar.ag = optJSONObject2.optString(C0054a.ar);
}
if (!optJSONObject2.isNull(C0054a.as)) {
aVar.ah = optJSONObject2.optString(C0054a.as);
}
if (!optJSONObject2.isNull(C0054a.at)) {
aVar.ai = optJSONObject2.optInt(C0054a.at);
}
if (optJSONObject2.isNull(C0054a.b)) {
aVar.M = null;
} else {
try {
JSONObject jSONObject6 = new JSONObject(optJSONObject2.optString(C0054a.b));
Iterator<String> keys5 = jSONObject6.keys();
HashMap hashMap4 = new HashMap();
while (keys5.hasNext()) {
String next5 = keys5.next();
HashMap hashMap5 = new HashMap();
JSONObject jSONObject7 = new JSONObject(jSONObject6.optString(next5));
JSONArray optJSONArray = jSONObject7.optJSONArray("ids");
String optString = jSONObject7.optString("formats");
if (optJSONArray.length() > 0 && !TextUtils.isEmpty(optString)) {
while (i2 < optJSONArray.length()) {
try {
hashMap5.put(optJSONArray.optString(i2), optString);
i2++;
} catch (Throwable unused2) {
map = null;
aVar.M = map;
if (!optJSONObject2.isNull(C0054a.c)) {
}
if (!jSONObject.isNull(C0054a.E)) {
}
if (!jSONObject.isNull(C0054a.F)) {
}
if (!jSONObject.isNull(C0054a.H)) {
}
if (!jSONObject.isNull(C0054a.K)) {
}
if (!jSONObject.isNull(C0054a.J)) {
}
if (!jSONObject.isNull(C0054a.f2064L)) {
}
if (!jSONObject.isNull(C0054a.M)) {
}
if (!jSONObject.isNull(C0054a.N)) {
}
if (!jSONObject.isNull(C0054a.R)) {
}
if (!jSONObject.isNull(C0054a.S)) {
}
if (!jSONObject.isNull(C0054a.T)) {
}
if (!jSONObject.isNull(C0054a.Y)) {
}
if (!jSONObject.isNull(C0054a.Z)) {
}
aVar.W = g.a(jSONObject.optString(C0054a.ae));
if (!jSONObject.isNull("custom")) {
}
aVar.Y = jSONObject.optInt(C0054a.af);
aVar.Z = jSONObject.optInt(C0054a.ag);
aVar.ac = jSONObject.optString(C0054a.aj);
if (!jSONObject.isNull(C0054a.ak)) {
}
if (!jSONObject.isNull(C0054a.al)) {
}
if (!jSONObject.isNull(C0054a.au)) {
}
if (!jSONObject.isNull(C0054a.av)) {
}
if (jSONObject.isNull(C0054a.aw)) {
}
if (jSONObject.isNull(C0054a.ax)) {
}
if (!jSONObject.isNull(C0054a.a)) {
}
if (!jSONObject.isNull(C0054a.d)) {
}
if (!jSONObject.isNull(C0054a.e)) {
}
if (!jSONObject.isNull(C0054a.f)) {
aVar.aq = optJSONObject;
}
aVar.ar = jSONObject.optInt(C0054a.g, 0);
aVar.g(jSONObject.optString(C0054a.h, ""));
aVar.h(jSONObject.optString(C0054a.f2065i, ""));
aVar.i(jSONObject.optString(C0054a.j, ""));
aVar.as = com.anythink.core.common.n.d.a(jSONObject.optJSONObject(C0054a.k));
aVar.at = jSONObject.optJSONObject(C0054a.f2066l);
aVar.au = jSONObject.optInt(C0054a.m, 1);
aVar.av = jSONObject.optInt(C0054a.n, 2) != 1;
return aVar;
}
}
}
hashMap4.put(next5, hashMap5);
map = null;
i2 = 0;
}
aVar.M = hashMap4;
map = null;
} catch (Throwable unused3) {
}
}
if (!optJSONObject2.isNull(C0054a.c)) {
aVar.N = map;
} else {
JSONObject jSONObject8 = new JSONObject(optJSONObject2.optString(C0054a.c));
Iterator<String> keys6 = jSONObject8.keys();
HashMap hashMap6 = new HashMap();
while (keys6.hasNext()) {
String next6 = keys6.next();
HashMap hashMap7 = new HashMap();
JSONObject jSONObject9 = new JSONObject(jSONObject8.optString(next6));
JSONArray optJSONArray2 = jSONObject9.optJSONArray("ids");
String optString2 = jSONObject9.optString("formats");
if (optJSONArray2.length() > 0 && !TextUtils.isEmpty(optString2)) {
for (int i3 = 0; i3 < optJSONArray2.length(); i3++) {
hashMap7.put(optJSONArray2.optString(i3), optString2);
}
}
hashMap6.put(next6, hashMap7);
}
aVar.N = hashMap6;
}
}
if (!jSONObject.isNull(C0054a.E)) {
aVar.y = jSONObject.optLong(C0054a.E);
}
if (!jSONObject.isNull(C0054a.F)) {
aVar.z = jSONObject.optLong(C0054a.F);
}
if (!jSONObject.isNull(C0054a.H)) {
JSONObject jSONObject10 = new JSONObject(jSONObject.optString(C0054a.H));
Iterator<String> keys7 = jSONObject10.keys();
HashMap hashMap8 = new HashMap();
while (keys7.hasNext()) {
String next7 = keys7.next();
hashMap8.put(next7, jSONObject10.optString(next7));
}
aVar.B = hashMap8;
}
if (!jSONObject.isNull(C0054a.K)) {
aVar.D = jSONObject.optString(C0054a.K);
}
if (!jSONObject.isNull(C0054a.J)) {
aVar.A = jSONObject.optInt(C0054a.J);
}
if (!jSONObject.isNull(C0054a.f2064L)) {
aVar.E = jSONObject.optString(C0054a.f2064L);
}
if (!jSONObject.isNull(C0054a.M)) {
aVar.H = 60000;
} else {
aVar.H = jSONObject.optInt(C0054a.M);
}
if (!jSONObject.isNull(C0054a.N)) {
aVar.f2059I = 0;
} else {
aVar.f2059I = jSONObject.optInt(C0054a.N);
}
if (!jSONObject.isNull(C0054a.R)) {
aVar.F = "";
} else {
aVar.F = jSONObject.optString(C0054a.R);
}
if (!jSONObject.isNull(C0054a.S)) {
aVar.O = 1;
} else {
aVar.O = jSONObject.optInt(C0054a.S);
}
if (!jSONObject.isNull(C0054a.T)) {
aVar.P = "";
} else {
aVar.P = jSONObject.optString(C0054a.T);
}
if (!jSONObject.isNull(C0054a.Y)) {
aVar.U = "";
} else {
aVar.U = jSONObject.optString(C0054a.Y);
}
if (!jSONObject.isNull(C0054a.Z)) {
aVar.X = null;
} else {
v vVar = new v();
JSONObject optJSONObject4 = jSONObject.optJSONObject(C0054a.Z);
vVar.b(optJSONObject4.optString(C0054a.aa));
vVar.c(optJSONObject4.optString(C0054a.ab));
vVar.d(optJSONObject4.optString(C0054a.ac));
vVar.a(optJSONObject4.optString(C0054a.ad));
if (!jSONObject.isNull(C0054a.am)) {
vVar.e(optJSONObject4.optString(C0054a.am));
}
if (!jSONObject.isNull(C0054a.an)) {
vVar.f(optJSONObject4.optString(C0054a.an));
}
if (!jSONObject.isNull(C0054a.ao)) {
vVar.g(optJSONObject4.optString(C0054a.ao));
}
if (!jSONObject.isNull(C0054a.ap)) {
vVar.h(optJSONObject4.optString(C0054a.ap));
}
aVar.X = vVar;
}
aVar.W = g.a(jSONObject.optString(C0054a.ae));
if (!jSONObject.isNull("custom")) {
aVar.c = null;
} else {
try {
JSONObject jSONObject11 = new JSONObject(jSONObject.optString("custom"));
HashMap hashMap9 = new HashMap();
Iterator<String> keys8 = jSONObject11.keys();
while (keys8.hasNext()) {
String next8 = keys8.next();
hashMap9.put(next8, jSONObject11.opt(next8));
}
aVar.c = hashMap9;
} catch (Throwable unused4) {
}
}
aVar.Y = jSONObject.optInt(C0054a.af);
aVar.Z = jSONObject.optInt(C0054a.ag);
aVar.ac = jSONObject.optString(C0054a.aj);
if (!jSONObject.isNull(C0054a.ak)) {
aVar.ad = jSONObject.optString(C0054a.ak);
}
if (!jSONObject.isNull(C0054a.al)) {
aVar.ae = jSONObject.optString(C0054a.al);
}
if (!jSONObject.isNull(C0054a.au)) {
aVar.aj = jSONObject.optString(C0054a.au);
}
if (!jSONObject.isNull(C0054a.av)) {
aVar.ak = jSONObject.optString(C0054a.av);
}
if (jSONObject.isNull(C0054a.aw)) {
aVar.al = jSONObject.optString(C0054a.aw);
} else {
aVar.al = "1";
}
if (jSONObject.isNull(C0054a.ax)) {
aVar.am = jSONObject.optInt(C0054a.ax);
} else {
aVar.am = 1;
}
if (!jSONObject.isNull(C0054a.a)) {
aVar.an = jSONObject.optString(C0054a.a);
}
if (!jSONObject.isNull(C0054a.d)) {
aVar.ao = jSONObject.optString(C0054a.d);
}
if (!jSONObject.isNull(C0054a.e)) {
aVar.ap = jSONObject.optJSONObject(C0054a.e);
}
if (!jSONObject.isNull(C0054a.f) && (optJSONObject = jSONObject.optJSONObject(C0054a.f)) != null) {
aVar.aq = optJSONObject;
}
aVar.ar = jSONObject.optInt(C0054a.g, 0);
aVar.g(jSONObject.optString(C0054a.h, ""));
aVar.h(jSONObject.optString(C0054a.f2065i, ""));
aVar.i(jSONObject.optString(C0054a.j, ""));
aVar.as = com.anythink.core.common.n.d.a(jSONObject.optJSONObject(C0054a.k));
aVar.at = jSONObject.optJSONObject(C0054a.f2066l);
aVar.au = jSONObject.optInt(C0054a.m, 1);
aVar.av = jSONObject.optInt(C0054a.n, 2) != 1;
} catch (Exception unused5) {
}
return aVar;
}
private void g(int i2) {
this.A = i2;
}
private void g(Map<String, Map<String, String>> map) {
this.N = map;
}
private void g(JSONObject jSONObject) {
this.ap = jSONObject;
}
public final List<String> i() {
return this.aB;
}
private void i(int i2) {
this.h = i2;
}
private void h(String str) {
this.ax = str;
this.aA = new ArrayList();
if (TextUtils.isEmpty(str)) {
return;
}
try {
JSONArray jSONArray = new JSONArray(str);
for (int i2 = 0; i2 < jSONArray.length(); i2++) {
this.aA.add(jSONArray.optString(i2));
}
} catch (Throwable unused) {
}
}
public final List<String> h() {
return this.az;
}
private void h(int i2) {
this.ai = i2;
}
public final Map<String, String> a(int i2) {
Map<String, Map<String, String>> map = this.M;
if (map != null) {
return map.get(String.valueOf(i2));
}
return null;
}
private void a(boolean z) {
this.av = z;
}
}