Spermatid v6.1.8版本的 MD5 值为:a375ce51a42d528ba6e2583c10478296

以下内容为反编译后的 c.java 源代码,内容仅作参考


package com.maoyanym.c;

import com.czhj.sdk.common.Constants;
import com.kuaishou.weapon.p0.bi;
import com.maoyanym.utils.p;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.json.JSONArray;
import org.json.JSONObject;

public class c {

    private static String f17758a;

    private static String f17759b;

    private static String f17760c;

    private static String f17761d;

    private static String f17762e;

    private static String f17763f;

    private static String f17775r;

    private static Set<String> f17764g = new HashSet();

    private static Map<String, String> f17765h = new HashMap();

    private static boolean f17766i = true;

    private static boolean f17767j = false;

    private static boolean f17768k = false;

    private static boolean f17769l = true;

    private static boolean f17770m = true;

    private static String f17771n = "https://";

    private static boolean f17772o = false;

    private static int f17773p = 60;

    private static int f17774q = 300;

    private static boolean f17776s = true;

    private static long f17777t = bi.f16082s;

    private static boolean f17778u = true;

    private static int f17779v = 10;

    private static boolean f17780w = true;

    private static int f17781x = 7;

    private static long f17782y = 1000;

    private static long f17783z = 10;
    private static Set<String> A = new HashSet();
    public static String B = "var Helper = (function () {\n        var CONTAINER_NAME = '.ibk-container';\n        return {\n          _queryElRects: function (selector) {\n            var ads = document.querySelectorAll(selector);\n            var results = [];\n            for (var i = 0; i < ads.length; i++) {\n              var el = ads[i];\n              var rect=el.getBoundingClientRect();\n              var rectObj={\n                width:rect.width,\n                height:rect.height,\n                top:rect.top,\n                right:rect.right,\n                bottom:rect.bottom,\n                left:rect.left\n              };\n              results.push({\n                rect:rectObj,\n                params:el.dataset\n              });\n            }\n            return results;\n          },\n          queryIBKAdContainer: function () {\n            return this._queryElRects(CONTAINER_NAME);\n          },\n          postToClient: function (rects) {\n            try {\n              var jsonStr = JSON.stringify(rects);\n              console.log(rects);\n              window.Client.getIframes(jsonStr, document.getElementsByClassName('scroll-content')[0].scrollHeight);\n            } catch (e) {\n              console.error(e);\n            }\n          },\n          run: function () {\n            var results = this.queryIBKAdContainer();\n            this.postToClient(results);\n          }\n        }\n      })();\nHelper.run();";
    public static String C = "var Helper=(function(){\n    return {\n      queryAllLinkAndPos:function(){\n        var $links=document.querySelectorAll('a');\n        var links=[].slice.call($links);\n        return links.map(function($linkEl){\n          var rect=$linkEl.getBoundingClientRect();\n          var rectObj={\n            width:rect.width,\n            height:rect.height,\n            top:rect.top,\n            right:rect.right,\n            bottom:rect.bottom,\n            left:rect.left\n          };\n          return {\n            href:$linkEl.getAttribute('href'),\n            pos:rectObj\n          };\n        });\n      },\n      sendToClient:function(links){\n        links=links||[];\n        window.Client&&window.Client.getHrefs(JSON.stringify(links));\n      }\n    }\n  })();\n  var results=Helper.queryAllLinkAndPos();\n  Helper.sendToClient(results);";
    public static String D = "window.Client&&window.Client.isIBK(!!document.querySelector('.ibk-container'));";
    public static String E = "document.getElementsByClassName('scroll-content')[0].scrollTo(0, %s);";

    private static String a() {
        char[] cArr = {'i', 'b', 'o', 'o', 'k', 'S', 't', 'a', 'r', 'a', 'd', '1', '9', '0', '3'};
        StringBuilder sb2 = new StringBuilder();
        for (int i10 = 0; i10 < 15; i10++) {
            sb2.append(cArr[i10]);
        }
        return sb2.toString();
    }

    public static String a(String str) {
        int a10 = b.a(b("hascoin"), -1);
        if (a10 <= 0) {
            return str;
        }
        return str + "@" + a10;
    }

    public static String a(String str, String str2) {
        String str3 = f17765h.get(str);
        return p.c(str3) ? str3 : str2;
    }

    public static void a(boolean z10) {
        f17772o = z10;
    }

    public static String b() {
        if (f17775r == null) {
            f17775r = a();
        }
        return f17775r;
    }

    public static String b(String str) {
        String a10 = b.a("current_entrance", (String) null);
        if (!p.c(a10)) {
            return str;
        }
        return str + "@" + a10;
    }

    public static String c() {
        if (f17760c == null) {
            synchronized (c.class) {
                if (f17760c == null) {
                    z();
                }
            }
        }
        if (f17760c.startsWith(Constants.HTTP)) {
            return f17760c;
        }
        return h() + f17760c;
    }

    public static boolean c(String str) {
        return f17764g.contains(str);
    }

    public static String d() {
        if (f17758a == null) {
            synchronized (c.class) {
                if (f17758a == null) {
                    z();
                }
            }
        }
        if (f17758a.startsWith(Constants.HTTP)) {
            return f17758a;
        }
        return h() + f17758a;
    }

    public static String e() {
        if (f17759b == null) {
            synchronized (c.class) {
                if (f17759b == null) {
                    z();
                }
            }
        }
        if (f17759b.startsWith(Constants.HTTP)) {
            return f17759b;
        }
        return h() + f17759b;
    }

    public static int f() {
        return f17781x;
    }

    public static String g() {
        if (f17761d == null) {
            synchronized (c.class) {
                if (f17761d == null) {
                    z();
                }
            }
        }
        if (f17761d.startsWith(Constants.HTTP)) {
            return f17761d;
        }
        return h() + f17761d;
    }

    public static String h() {
        return t() ? "http://" : f17771n;
    }

    public static long i() {
        return (long) ((f17773p + ((f17774q - r0) * Math.random())) * 1000.0d);
    }

    public static int j() {
        return f17779v;
    }

    public static long k() {
        return f17777t;
    }

    public static long l() {
        return f17782y;
    }

    public static long m() {
        return f17783z;
    }

    public static String n() {
        if (f17763f == null) {
            synchronized (c.class) {
                if (f17763f == null) {
                    z();
                }
            }
        }
        if (f17763f.startsWith(Constants.HTTP)) {
            return f17763f;
        }
        return h() + f17763f;
    }

    public static String o() {
        if (f17762e == null) {
            synchronized (c.class) {
                if (f17762e == null) {
                    z();
                }
            }
        }
        if (f17762e.startsWith(Constants.HTTP)) {
            return f17762e;
        }
        return h() + f17762e;
    }

    public static Set<String> p() {
        if (t()) {
            return null;
        }
        return A;
    }

    public static boolean q() {
        if (t()) {
            return false;
        }
        return f17780w;
    }

    public static boolean r() {
        return f17767j;
    }

    public static boolean s() {
        if (t()) {
            return false;
        }
        return f17769l;
    }

    public static boolean t() {
        return f17772o;
    }

    public static boolean u() {
        return f17768k;
    }

    public static boolean v() {
        if (t()) {
            return false;
        }
        return f17770m;
    }

    public static boolean w() {
        if (t()) {
            return false;
        }
        return f17776s;
    }

    public static boolean x() {
        if (t()) {
            return false;
        }
        return f17778u;
    }

    public static boolean y() {
        if (t()) {
            return false;
        }
        return f17766i;
    }

    public static void z() {
        String str;
        String str2;
        String[] strArr;
        String str3;
        String str4;
        String str5;
        String[] strArr2;
        String[] strArr3;
        String str6;
        String str7;
        String str8;
        String str9;
        String[] strArr4;
        String str10;
        String str11;
        String str12;
        String[] strArr5;
        ?? r32;
        ?? r62;
        String str13;
        String str14;
        String[] strArr6;
        String str15;
        String str16;
        String str17;
        String str18;
        String optString;
        String optString2;
        String optString3;
        String optString4;
        String optString5;
        String optString6;
        String optString7;
        String optString8;
        String optString9;
        String optString10;
        String optString11;
        String optString12;
        String optString13;
        String optString14;
        String optString15;
        String optString16;
        String[] strArr7;
        String[] strArr8;
        JSONArray jSONArray;
        String str19;
        JSONArray jSONArray2;
        String str20;
        JSONArray jSONArray3;
        String str21;
        JSONArray jSONArray4;
        String[] strArr9;
        JSONArray jSONArray5;
        String a10;
        try {
            String[] split = b.a("keepTime", "60-180").split("-");
            f17773p = Integer.parseInt(split[0]);
            f17774q = Integer.parseInt(split[1]);
            f17771n = b.a("httpProtocol", "https://");
            JSONArray jSONArray6 = new JSONArray(b.a("server_ips", "[]"));
            if (jSONArray6.length() > 0) {
                strArr = new String[jSONArray6.length()];
                str = "tyhq_1";
                str2 = "thd_2";
                for (int i10 = 0; i10 < jSONArray6.length(); i10++) {
                    try {
                        strArr[i10] = jSONArray6.getString(i10);
                    } catch (Throwable unused) {
                        str3 = null;
                        str4 = null;
                        str5 = null;
                        strArr2 = null;
                        strArr3 = null;
                        str6 = null;
                        str7 = null;
                        str8 = null;
                        str9 = null;
                        strArr4 = strArr;
                        str10 = str4;
                        str11 = "tjs_2";
                        str12 = "tjs_1";
                        strArr5 = strArr2;
                        r32 = str6;
                        r62 = str7;
                        str13 = str9;
                        str14 = "thd_1";
                        strArr6 = strArr3;
                        str15 = str5;
                        ?? r42 = str8;
                        if (p.c(str3)) {
                        }
                        if (p.c(str10)) {
                        }
                        if (p.c(str15)) {
                        }
                        if (p.c(str13)) {
                        }
                        if (strArr4 != null) {
                        }
                        str16 = "api_2";
                        str17 = "api_1";
                        str18 = "sdk.ipadview.com";
                        f17758a = str18;
                        f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                        f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                        f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                        f17762e = (r42 != 0 || r42.length <= 0) ? "sso.juliyuemeng.com" : r42[(int) (Math.random() * r42.length)];
                        f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                        JSONObject jSONObject = new JSONObject(b.a("monitorDesc", "{}"));
                        optString = jSONObject.optString("js_1");
                        if (p.c(optString)) {
                        }
                        optString2 = jSONObject.optString("js_2");
                        if (p.c(optString2)) {
                        }
                        optString3 = jSONObject.optString("hd_1");
                        if (p.c(optString3)) {
                        }
                        optString4 = jSONObject.optString("hd_2");
                        if (p.c(optString4)) {
                        }
                        optString5 = jSONObject.optString("yhq_1");
                        if (p.c(optString5)) {
                        }
                        optString6 = jSONObject.optString("yhq_2");
                        if (p.c(optString6)) {
                        }
                        String str22 = str17;
                        optString7 = jSONObject.optString(str22);
                        if (p.c(optString7)) {
                        }
                        String str23 = str16;
                        optString8 = jSONObject.optString(str23);
                        if (p.c(optString8)) {
                        }
                        String str24 = str12;
                        optString9 = jSONObject.optString(str24);
                        if (p.c(optString9)) {
                        }
                        String str25 = str11;
                        optString10 = jSONObject.optString(str25);
                        if (p.c(optString10)) {
                        }
                        String str26 = str14;
                        optString11 = jSONObject.optString(str26);
                        if (p.c(optString11)) {
                        }
                        String str27 = str2;
                        optString12 = jSONObject.optString(str27);
                        if (p.c(optString12)) {
                        }
                        String str28 = str;
                        optString13 = jSONObject.optString(str28);
                        if (p.c(optString13)) {
                        }
                        optString14 = jSONObject.optString("tyhq_2");
                        if (p.c(optString14)) {
                        }
                        optString15 = jSONObject.optString("tapi_1");
                        if (p.c(optString15)) {
                        }
                        optString16 = jSONObject.optString("tapi_2");
                        if (p.c(optString16)) {
                        }
                    }
                }
            } else {
                str = "tyhq_1";
                str2 = "thd_2";
                strArr = null;
            }
            try {
                JSONArray jSONArray7 = new JSONArray(b.a("server_opt_ips", "[]"));
                if (jSONArray7.length() > 0) {
                    strArr8 = new String[jSONArray7.length()];
                    strArr7 = strArr;
                    for (int i11 = 0; i11 < jSONArray7.length(); i11++) {
                        try {
                            strArr8[i11] = jSONArray7.getString(i11);
                        } catch (Throwable unused2) {
                            strArr3 = strArr8;
                            strArr = strArr7;
                            str3 = null;
                            str4 = null;
                            str5 = null;
                            strArr2 = null;
                            str6 = null;
                            str7 = null;
                            str8 = null;
                            str9 = null;
                            strArr4 = strArr;
                            str10 = str4;
                            str11 = "tjs_2";
                            str12 = "tjs_1";
                            strArr5 = strArr2;
                            r32 = str6;
                            r62 = str7;
                            str13 = str9;
                            str14 = "thd_1";
                            strArr6 = strArr3;
                            str15 = str5;
                            ?? r422 = str8;
                            if (p.c(str3)) {
                            }
                            if (p.c(str10)) {
                            }
                            if (p.c(str15)) {
                            }
                            if (p.c(str13)) {
                            }
                            if (strArr4 != null) {
                            }
                            str16 = "api_2";
                            str17 = "api_1";
                            str18 = "sdk.ipadview.com";
                            f17758a = str18;
                            f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                            f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                            f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                            f17762e = (r422 != 0 || r422.length <= 0) ? "sso.juliyuemeng.com" : r422[(int) (Math.random() * r422.length)];
                            f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                            JSONObject jSONObject2 = new JSONObject(b.a("monitorDesc", "{}"));
                            optString = jSONObject2.optString("js_1");
                            if (p.c(optString)) {
                            }
                            optString2 = jSONObject2.optString("js_2");
                            if (p.c(optString2)) {
                            }
                            optString3 = jSONObject2.optString("hd_1");
                            if (p.c(optString3)) {
                            }
                            optString4 = jSONObject2.optString("hd_2");
                            if (p.c(optString4)) {
                            }
                            optString5 = jSONObject2.optString("yhq_1");
                            if (p.c(optString5)) {
                            }
                            optString6 = jSONObject2.optString("yhq_2");
                            if (p.c(optString6)) {
                            }
                            String str222 = str17;
                            optString7 = jSONObject2.optString(str222);
                            if (p.c(optString7)) {
                            }
                            String str232 = str16;
                            optString8 = jSONObject2.optString(str232);
                            if (p.c(optString8)) {
                            }
                            String str242 = str12;
                            optString9 = jSONObject2.optString(str242);
                            if (p.c(optString9)) {
                            }
                            String str252 = str11;
                            optString10 = jSONObject2.optString(str252);
                            if (p.c(optString10)) {
                            }
                            String str262 = str14;
                            optString11 = jSONObject2.optString(str262);
                            if (p.c(optString11)) {
                            }
                            String str272 = str2;
                            optString12 = jSONObject2.optString(str272);
                            if (p.c(optString12)) {
                            }
                            String str282 = str;
                            optString13 = jSONObject2.optString(str282);
                            if (p.c(optString13)) {
                            }
                            optString14 = jSONObject2.optString("tyhq_2");
                            if (p.c(optString14)) {
                            }
                            optString15 = jSONObject2.optString("tapi_1");
                            if (p.c(optString15)) {
                            }
                            optString16 = jSONObject2.optString("tapi_2");
                            if (p.c(optString16)) {
                            }
                        }
                    }
                } else {
                    strArr7 = strArr;
                    strArr8 = null;
                }
                try {
                    jSONArray = new JSONArray(b.a("server_api_ips", "[]"));
                } catch (Throwable unused3) {
                    strArr3 = strArr8;
                    str3 = null;
                    str4 = null;
                    str5 = null;
                    strArr2 = null;
                    str6 = null;
                    str7 = str6;
                    str8 = str7;
                    str9 = str8;
                    strArr = strArr7;
                    strArr4 = strArr;
                    str10 = str4;
                    str11 = "tjs_2";
                    str12 = "tjs_1";
                    strArr5 = strArr2;
                    r32 = str6;
                    r62 = str7;
                    str13 = str9;
                    str14 = "thd_1";
                    strArr6 = strArr3;
                    str15 = str5;
                    ?? r4222 = str8;
                    if (p.c(str3)) {
                    }
                    if (p.c(str10)) {
                    }
                    if (p.c(str15)) {
                    }
                    if (p.c(str13)) {
                    }
                    if (strArr4 != null) {
                    }
                    str16 = "api_2";
                    str17 = "api_1";
                    str18 = "sdk.ipadview.com";
                    f17758a = str18;
                    f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                    f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                    f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                    f17762e = (r4222 != 0 || r4222.length <= 0) ? "sso.juliyuemeng.com" : r4222[(int) (Math.random() * r4222.length)];
                    f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                    JSONObject jSONObject22 = new JSONObject(b.a("monitorDesc", "{}"));
                    optString = jSONObject22.optString("js_1");
                    if (p.c(optString)) {
                    }
                    optString2 = jSONObject22.optString("js_2");
                    if (p.c(optString2)) {
                    }
                    optString3 = jSONObject22.optString("hd_1");
                    if (p.c(optString3)) {
                    }
                    optString4 = jSONObject22.optString("hd_2");
                    if (p.c(optString4)) {
                    }
                    optString5 = jSONObject22.optString("yhq_1");
                    if (p.c(optString5)) {
                    }
                    optString6 = jSONObject22.optString("yhq_2");
                    if (p.c(optString6)) {
                    }
                    String str2222 = str17;
                    optString7 = jSONObject22.optString(str2222);
                    if (p.c(optString7)) {
                    }
                    String str2322 = str16;
                    optString8 = jSONObject22.optString(str2322);
                    if (p.c(optString8)) {
                    }
                    String str2422 = str12;
                    optString9 = jSONObject22.optString(str2422);
                    if (p.c(optString9)) {
                    }
                    String str2522 = str11;
                    optString10 = jSONObject22.optString(str2522);
                    if (p.c(optString10)) {
                    }
                    String str2622 = str14;
                    optString11 = jSONObject22.optString(str2622);
                    if (p.c(optString11)) {
                    }
                    String str2722 = str2;
                    optString12 = jSONObject22.optString(str2722);
                    if (p.c(optString12)) {
                    }
                    String str2822 = str;
                    optString13 = jSONObject22.optString(str2822);
                    if (p.c(optString13)) {
                    }
                    optString14 = jSONObject22.optString("tyhq_2");
                    if (p.c(optString14)) {
                    }
                    optString15 = jSONObject22.optString("tapi_1");
                    if (p.c(optString15)) {
                    }
                    optString16 = jSONObject22.optString("tapi_2");
                    if (p.c(optString16)) {
                    }
                }
            } catch (Throwable unused4) {
                strArr7 = strArr;
                str3 = null;
                str4 = null;
                str5 = null;
                strArr2 = null;
                strArr3 = null;
                str6 = null;
            }
        } catch (Throwable unused5) {
            str = "tyhq_1";
            str2 = "thd_2";
            strArr = null;
            str3 = null;
            str4 = null;
            str5 = null;
            strArr2 = null;
            strArr3 = null;
            str6 = null;
            str7 = null;
            str8 = null;
            str9 = null;
        }
        try {
            if (jSONArray.length() > 0) {
                ?? r12 = new String[jSONArray.length()];
                strArr3 = strArr8;
                int i12 = 0;
                while (true) {
                    try {
                        str19 = r12;
                        if (i12 < jSONArray.length()) {
                            r12[i12] = jSONArray.getString(i12);
                            i12++;
                        }
                    } catch (Throwable unused6) {
                        str6 = r12;
                        strArr = strArr7;
                        str3 = null;
                        str4 = null;
                        str5 = null;
                        strArr2 = null;
                        str7 = null;
                        str8 = null;
                        str9 = null;
                        strArr4 = strArr;
                        str10 = str4;
                        str11 = "tjs_2";
                        str12 = "tjs_1";
                        strArr5 = strArr2;
                        r32 = str6;
                        r62 = str7;
                        str13 = str9;
                        str14 = "thd_1";
                        strArr6 = strArr3;
                        str15 = str5;
                        ?? r42222 = str8;
                        if (p.c(str3)) {
                        }
                        if (p.c(str10)) {
                        }
                        if (p.c(str15)) {
                        }
                        if (p.c(str13)) {
                        }
                        if (strArr4 != null) {
                        }
                        str16 = "api_2";
                        str17 = "api_1";
                        str18 = "sdk.ipadview.com";
                        f17758a = str18;
                        f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                        f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                        f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                        f17762e = (r42222 != 0 || r42222.length <= 0) ? "sso.juliyuemeng.com" : r42222[(int) (Math.random() * r42222.length)];
                        f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                        JSONObject jSONObject222 = new JSONObject(b.a("monitorDesc", "{}"));
                        optString = jSONObject222.optString("js_1");
                        if (p.c(optString)) {
                        }
                        optString2 = jSONObject222.optString("js_2");
                        if (p.c(optString2)) {
                        }
                        optString3 = jSONObject222.optString("hd_1");
                        if (p.c(optString3)) {
                        }
                        optString4 = jSONObject222.optString("hd_2");
                        if (p.c(optString4)) {
                        }
                        optString5 = jSONObject222.optString("yhq_1");
                        if (p.c(optString5)) {
                        }
                        optString6 = jSONObject222.optString("yhq_2");
                        if (p.c(optString6)) {
                        }
                        String str22222 = str17;
                        optString7 = jSONObject222.optString(str22222);
                        if (p.c(optString7)) {
                        }
                        String str23222 = str16;
                        optString8 = jSONObject222.optString(str23222);
                        if (p.c(optString8)) {
                        }
                        String str24222 = str12;
                        optString9 = jSONObject222.optString(str24222);
                        if (p.c(optString9)) {
                        }
                        String str25222 = str11;
                        optString10 = jSONObject222.optString(str25222);
                        if (p.c(optString10)) {
                        }
                        String str26222 = str14;
                        optString11 = jSONObject222.optString(str26222);
                        if (p.c(optString11)) {
                        }
                        String str27222 = str2;
                        optString12 = jSONObject222.optString(str27222);
                        if (p.c(optString12)) {
                        }
                        String str28222 = str;
                        optString13 = jSONObject222.optString(str28222);
                        if (p.c(optString13)) {
                        }
                        optString14 = jSONObject222.optString("tyhq_2");
                        if (p.c(optString14)) {
                        }
                        optString15 = jSONObject222.optString("tapi_1");
                        if (p.c(optString15)) {
                        }
                        optString16 = jSONObject222.optString("tapi_2");
                        if (p.c(optString16)) {
                        }
                    }
                }
                jSONArray2 = new JSONArray(b.a("server_hb_ips", "[]"));
                if (jSONArray2.length() <= 0) {
                    ?? r22 = new String[jSONArray2.length()];
                    str6 = str19;
                    int i13 = 0;
                    while (true) {
                        try {
                            str20 = r22;
                            if (i13 < jSONArray2.length()) {
                                r22[i13] = jSONArray2.getString(i13);
                                i13++;
                            }
                        } catch (Throwable unused7) {
                            str7 = r22;
                            strArr = strArr7;
                            str3 = null;
                            str4 = null;
                            str5 = null;
                            strArr2 = null;
                            str8 = null;
                            str9 = null;
                            strArr4 = strArr;
                            str10 = str4;
                            str11 = "tjs_2";
                            str12 = "tjs_1";
                            strArr5 = strArr2;
                            r32 = str6;
                            r62 = str7;
                            str13 = str9;
                            str14 = "thd_1";
                            strArr6 = strArr3;
                            str15 = str5;
                            ?? r422222 = str8;
                            if (p.c(str3)) {
                            }
                            if (p.c(str10)) {
                            }
                            if (p.c(str15)) {
                            }
                            if (p.c(str13)) {
                            }
                            if (strArr4 != null) {
                            }
                            str16 = "api_2";
                            str17 = "api_1";
                            str18 = "sdk.ipadview.com";
                            f17758a = str18;
                            f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                            f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                            f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                            f17762e = (r422222 != 0 || r422222.length <= 0) ? "sso.juliyuemeng.com" : r422222[(int) (Math.random() * r422222.length)];
                            f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                            JSONObject jSONObject2222 = new JSONObject(b.a("monitorDesc", "{}"));
                            optString = jSONObject2222.optString("js_1");
                            if (p.c(optString)) {
                            }
                            optString2 = jSONObject2222.optString("js_2");
                            if (p.c(optString2)) {
                            }
                            optString3 = jSONObject2222.optString("hd_1");
                            if (p.c(optString3)) {
                            }
                            optString4 = jSONObject2222.optString("hd_2");
                            if (p.c(optString4)) {
                            }
                            optString5 = jSONObject2222.optString("yhq_1");
                            if (p.c(optString5)) {
                            }
                            optString6 = jSONObject2222.optString("yhq_2");
                            if (p.c(optString6)) {
                            }
                            String str222222 = str17;
                            optString7 = jSONObject2222.optString(str222222);
                            if (p.c(optString7)) {
                            }
                            String str232222 = str16;
                            optString8 = jSONObject2222.optString(str232222);
                            if (p.c(optString8)) {
                            }
                            String str242222 = str12;
                            optString9 = jSONObject2222.optString(str242222);
                            if (p.c(optString9)) {
                            }
                            String str252222 = str11;
                            optString10 = jSONObject2222.optString(str252222);
                            if (p.c(optString10)) {
                            }
                            String str262222 = str14;
                            optString11 = jSONObject2222.optString(str262222);
                            if (p.c(optString11)) {
                            }
                            String str272222 = str2;
                            optString12 = jSONObject2222.optString(str272222);
                            if (p.c(optString12)) {
                            }
                            String str282222 = str;
                            optString13 = jSONObject2222.optString(str282222);
                            if (p.c(optString13)) {
                            }
                            optString14 = jSONObject2222.optString("tyhq_2");
                            if (p.c(optString14)) {
                            }
                            optString15 = jSONObject2222.optString("tapi_1");
                            if (p.c(optString15)) {
                            }
                            optString16 = jSONObject2222.optString("tapi_2");
                            if (p.c(optString16)) {
                            }
                        }
                    }
                    jSONArray3 = new JSONArray(b.a("server_sso_ips", "[]"));
                    if (jSONArray3.length() > 0) {
                        ?? r13 = new String[jSONArray3.length()];
                        str7 = str20;
                        int i14 = 0;
                        while (true) {
                            try {
                                str21 = r13;
                                if (i14 < jSONArray3.length()) {
                                    r13[i14] = jSONArray3.getString(i14);
                                    i14++;
                                }
                            } catch (Throwable unused8) {
                                str8 = r13;
                                strArr = strArr7;
                                str3 = null;
                                str4 = null;
                                str5 = null;
                                strArr2 = null;
                                str9 = null;
                                strArr4 = strArr;
                                str10 = str4;
                                str11 = "tjs_2";
                                str12 = "tjs_1";
                                strArr5 = strArr2;
                                r32 = str6;
                                r62 = str7;
                                str13 = str9;
                                str14 = "thd_1";
                                strArr6 = strArr3;
                                str15 = str5;
                                ?? r4222222 = str8;
                                if (p.c(str3)) {
                                }
                                if (p.c(str10)) {
                                }
                                if (p.c(str15)) {
                                }
                                if (p.c(str13)) {
                                }
                                if (strArr4 != null) {
                                }
                                str16 = "api_2";
                                str17 = "api_1";
                                str18 = "sdk.ipadview.com";
                                f17758a = str18;
                                f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                                f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                                f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                                f17762e = (r4222222 != 0 || r4222222.length <= 0) ? "sso.juliyuemeng.com" : r4222222[(int) (Math.random() * r4222222.length)];
                                f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                                JSONObject jSONObject22222 = new JSONObject(b.a("monitorDesc", "{}"));
                                optString = jSONObject22222.optString("js_1");
                                if (p.c(optString)) {
                                }
                                optString2 = jSONObject22222.optString("js_2");
                                if (p.c(optString2)) {
                                }
                                optString3 = jSONObject22222.optString("hd_1");
                                if (p.c(optString3)) {
                                }
                                optString4 = jSONObject22222.optString("hd_2");
                                if (p.c(optString4)) {
                                }
                                optString5 = jSONObject22222.optString("yhq_1");
                                if (p.c(optString5)) {
                                }
                                optString6 = jSONObject22222.optString("yhq_2");
                                if (p.c(optString6)) {
                                }
                                String str2222222 = str17;
                                optString7 = jSONObject22222.optString(str2222222);
                                if (p.c(optString7)) {
                                }
                                String str2322222 = str16;
                                optString8 = jSONObject22222.optString(str2322222);
                                if (p.c(optString8)) {
                                }
                                String str2422222 = str12;
                                optString9 = jSONObject22222.optString(str2422222);
                                if (p.c(optString9)) {
                                }
                                String str2522222 = str11;
                                optString10 = jSONObject22222.optString(str2522222);
                                if (p.c(optString10)) {
                                }
                                String str2622222 = str14;
                                optString11 = jSONObject22222.optString(str2622222);
                                if (p.c(optString11)) {
                                }
                                String str2722222 = str2;
                                optString12 = jSONObject22222.optString(str2722222);
                                if (p.c(optString12)) {
                                }
                                String str2822222 = str;
                                optString13 = jSONObject22222.optString(str2822222);
                                if (p.c(optString13)) {
                                }
                                optString14 = jSONObject22222.optString("tyhq_2");
                                if (p.c(optString14)) {
                                }
                                optString15 = jSONObject22222.optString("tapi_1");
                                if (p.c(optString15)) {
                                }
                                optString16 = jSONObject22222.optString("tapi_2");
                                if (p.c(optString16)) {
                                }
                            }
                        }
                        jSONArray4 = new JSONArray(b.a("server_rp_ips", "[]"));
                        if (jSONArray4.length() <= 0) {
                            strArr9 = new String[jSONArray4.length()];
                            str8 = str21;
                            for (int i15 = 0; i15 < jSONArray4.length(); i15++) {
                                try {
                                    strArr9[i15] = jSONArray4.getString(i15);
                                } catch (Throwable unused9) {
                                    strArr2 = strArr9;
                                    strArr = strArr7;
                                    str3 = null;
                                    str4 = null;
                                    str5 = null;
                                    str9 = null;
                                    strArr4 = strArr;
                                    str10 = str4;
                                    str11 = "tjs_2";
                                    str12 = "tjs_1";
                                    strArr5 = strArr2;
                                    r32 = str6;
                                    r62 = str7;
                                    str13 = str9;
                                    str14 = "thd_1";
                                    strArr6 = strArr3;
                                    str15 = str5;
                                    ?? r42222222 = str8;
                                    if (p.c(str3)) {
                                    }
                                    if (p.c(str10)) {
                                    }
                                    if (p.c(str15)) {
                                    }
                                    if (p.c(str13)) {
                                    }
                                    if (strArr4 != null) {
                                    }
                                    str16 = "api_2";
                                    str17 = "api_1";
                                    str18 = "sdk.ipadview.com";
                                    f17758a = str18;
                                    f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                                    f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                                    f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                                    f17762e = (r42222222 != 0 || r42222222.length <= 0) ? "sso.juliyuemeng.com" : r42222222[(int) (Math.random() * r42222222.length)];
                                    f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                                    JSONObject jSONObject222222 = new JSONObject(b.a("monitorDesc", "{}"));
                                    optString = jSONObject222222.optString("js_1");
                                    if (p.c(optString)) {
                                    }
                                    optString2 = jSONObject222222.optString("js_2");
                                    if (p.c(optString2)) {
                                    }
                                    optString3 = jSONObject222222.optString("hd_1");
                                    if (p.c(optString3)) {
                                    }
                                    optString4 = jSONObject222222.optString("hd_2");
                                    if (p.c(optString4)) {
                                    }
                                    optString5 = jSONObject222222.optString("yhq_1");
                                    if (p.c(optString5)) {
                                    }
                                    optString6 = jSONObject222222.optString("yhq_2");
                                    if (p.c(optString6)) {
                                    }
                                    String str22222222 = str17;
                                    optString7 = jSONObject222222.optString(str22222222);
                                    if (p.c(optString7)) {
                                    }
                                    String str23222222 = str16;
                                    optString8 = jSONObject222222.optString(str23222222);
                                    if (p.c(optString8)) {
                                    }
                                    String str24222222 = str12;
                                    optString9 = jSONObject222222.optString(str24222222);
                                    if (p.c(optString9)) {
                                    }
                                    String str25222222 = str11;
                                    optString10 = jSONObject222222.optString(str25222222);
                                    if (p.c(optString10)) {
                                    }
                                    String str26222222 = str14;
                                    optString11 = jSONObject222222.optString(str26222222);
                                    if (p.c(optString11)) {
                                    }
                                    String str27222222 = str2;
                                    optString12 = jSONObject222222.optString(str27222222);
                                    if (p.c(optString12)) {
                                    }
                                    String str28222222 = str;
                                    optString13 = jSONObject222222.optString(str28222222);
                                    if (p.c(optString13)) {
                                    }
                                    optString14 = jSONObject222222.optString("tyhq_2");
                                    if (p.c(optString14)) {
                                    }
                                    optString15 = jSONObject222222.optString("tapi_1");
                                    if (p.c(optString15)) {
                                    }
                                    optString16 = jSONObject222222.optString("tapi_2");
                                    if (p.c(optString16)) {
                                    }
                                }
                            }
                        } else {
                            str8 = str21;
                            strArr9 = null;
                        }
                        f17764g.clear();
                        jSONArray5 = new JSONArray(b.a("schemewhitelist", "[]"));
                        if (jSONArray5.length() > 0) {
                            for (int i16 = 0; i16 < jSONArray5.length(); i16++) {
                                f17764g.add(jSONArray5.getString(i16));
                            }
                        }
                        A.clear();
                        String str29 = null;
                        a10 = b.a("trustDomains", (String) null);
                        if (p.c(a10)) {
                            A.add("ipadview.com");
                            A.add("adipman.net");
                            A.add("juliyuemeng.com");
                            A.add("yizhehua.com");
                        } else {
                            JSONArray jSONArray8 = new JSONArray(a10);
                            for (int i17 = 0; i17 < jSONArray8.length(); i17++) {
                                A.add(jSONArray8.getString(i17));
                            }
                        }
                        str29 = null;
                        String a11 = b.a("queryiframejs", (String) null);
                        str4 = b.a("queryhrefjs", (String) null);
                        str5 = b.a("queryibkjs", (String) null);
                        String str30 = a11;
                        str9 = b.a("adscrolljs", (String) null);
                        f17766i = b.a("proxyControl", true);
                        f17769l = b.a("debugControl", true);
                        f17767j = b.a("adCoinTask", false);
                        f17768k = b.a("fullWebClear", false);
                        f17770m = b.a("headerEncrypt", true);
                        f17776s = b.a("optEncrypt", true);
                        String[] strArr10 = strArr9;
                        f17777t = b.a("optInterval", bi.f16082s);
                        f17778u = b.a("optIntervalEnable", true);
                        f17779v = b.a("loadPageTimeout", 10);
                        f17780w = b.a("abortSslError", true);
                        f17781x = b.a("checkPageHijackMode", 7);
                        f17782y = b.a("pageHijackNovelDelay", 1000L);
                        f17783z = b.a("pageHijackRequestDelay", 10L);
                        str12 = "tjs_1";
                        str3 = str30;
                        strArr5 = strArr10;
                        strArr4 = strArr7;
                        str13 = str9;
                        str10 = str4;
                        str14 = "thd_1";
                        str11 = "tjs_2";
                        strArr6 = strArr3;
                        r32 = str6;
                        r62 = str7;
                        str15 = str5;
                        ?? r422222222 = str8;
                        if (p.c(str3)) {
                            B = str3;
                        }
                        if (p.c(str10)) {
                            C = str3;
                        }
                        if (p.c(str15)) {
                            D = str15;
                        }
                        if (p.c(str13)) {
                            E = str13;
                        }
                        if (strArr4 != null || strArr4.length <= 0) {
                            str16 = "api_2";
                            str17 = "api_1";
                            str18 = "sdk.ipadview.com";
                        } else {
                            str16 = "api_2";
                            str17 = "api_1";
                            str18 = strArr4[(int) (Math.random() * strArr4.length)];
                        }
                        f17758a = str18;
                        f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                        f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                        f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                        f17762e = (r422222222 != 0 || r422222222.length <= 0) ? "sso.juliyuemeng.com" : r422222222[(int) (Math.random() * r422222222.length)];
                        f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                        JSONObject jSONObject2222222 = new JSONObject(b.a("monitorDesc", "{}"));
                        optString = jSONObject2222222.optString("js_1");
                        if (p.c(optString)) {
                            f17765h.put("js_1", optString);
                        }
                        optString2 = jSONObject2222222.optString("js_2");
                        if (p.c(optString2)) {
                            f17765h.put("js_2", optString2);
                        }
                        optString3 = jSONObject2222222.optString("hd_1");
                        if (p.c(optString3)) {
                            f17765h.put("hd_1", optString3);
                        }
                        optString4 = jSONObject2222222.optString("hd_2");
                        if (p.c(optString4)) {
                            f17765h.put("hd_2", optString4);
                        }
                        optString5 = jSONObject2222222.optString("yhq_1");
                        if (p.c(optString5)) {
                            f17765h.put("yhq_1", optString5);
                        }
                        optString6 = jSONObject2222222.optString("yhq_2");
                        if (p.c(optString6)) {
                            f17765h.put("yhq_2", optString6);
                        }
                        String str222222222 = str17;
                        optString7 = jSONObject2222222.optString(str222222222);
                        if (p.c(optString7)) {
                            f17765h.put(str222222222, optString7);
                        }
                        String str232222222 = str16;
                        optString8 = jSONObject2222222.optString(str232222222);
                        if (p.c(optString8)) {
                            f17765h.put(str232222222, optString8);
                        }
                        String str242222222 = str12;
                        optString9 = jSONObject2222222.optString(str242222222);
                        if (p.c(optString9)) {
                            f17765h.put(str242222222, optString9);
                        }
                        String str252222222 = str11;
                        optString10 = jSONObject2222222.optString(str252222222);
                        if (p.c(optString10)) {
                            f17765h.put(str252222222, optString10);
                        }
                        String str262222222 = str14;
                        optString11 = jSONObject2222222.optString(str262222222);
                        if (p.c(optString11)) {
                            f17765h.put(str262222222, optString11);
                        }
                        String str272222222 = str2;
                        optString12 = jSONObject2222222.optString(str272222222);
                        if (p.c(optString12)) {
                            f17765h.put(str272222222, optString12);
                        }
                        String str282222222 = str;
                        optString13 = jSONObject2222222.optString(str282222222);
                        if (p.c(optString13)) {
                            f17765h.put(str282222222, optString13);
                        }
                        optString14 = jSONObject2222222.optString("tyhq_2");
                        if (p.c(optString14)) {
                            f17765h.put("tyhq_2", optString14);
                        }
                        optString15 = jSONObject2222222.optString("tapi_1");
                        if (p.c(optString15)) {
                            f17765h.put("tapi_1", optString15);
                        }
                        optString16 = jSONObject2222222.optString("tapi_2");
                        if (p.c(optString16)) {
                            return;
                        }
                        f17765h.put("tapi_2", optString16);
                        return;
                    }
                    str7 = str20;
                    str21 = null;
                    jSONArray4 = new JSONArray(b.a("server_rp_ips", "[]"));
                    if (jSONArray4.length() <= 0) {
                    }
                    f17764g.clear();
                    jSONArray5 = new JSONArray(b.a("schemewhitelist", "[]"));
                    if (jSONArray5.length() > 0) {
                    }
                    A.clear();
                    String str292 = null;
                    a10 = b.a("trustDomains", (String) null);
                    if (p.c(a10)) {
                    }
                    str292 = null;
                    String a112 = b.a("queryiframejs", (String) null);
                    str4 = b.a("queryhrefjs", (String) null);
                    str5 = b.a("queryibkjs", (String) null);
                    String str302 = a112;
                    str9 = b.a("adscrolljs", (String) null);
                    f17766i = b.a("proxyControl", true);
                    f17769l = b.a("debugControl", true);
                    f17767j = b.a("adCoinTask", false);
                    f17768k = b.a("fullWebClear", false);
                    f17770m = b.a("headerEncrypt", true);
                    f17776s = b.a("optEncrypt", true);
                    String[] strArr102 = strArr9;
                    f17777t = b.a("optInterval", bi.f16082s);
                    f17778u = b.a("optIntervalEnable", true);
                    f17779v = b.a("loadPageTimeout", 10);
                    f17780w = b.a("abortSslError", true);
                    f17781x = b.a("checkPageHijackMode", 7);
                    f17782y = b.a("pageHijackNovelDelay", 1000L);
                    f17783z = b.a("pageHijackRequestDelay", 10L);
                    str12 = "tjs_1";
                    str3 = str302;
                    strArr5 = strArr102;
                    strArr4 = strArr7;
                    str13 = str9;
                    str10 = str4;
                    str14 = "thd_1";
                    str11 = "tjs_2";
                    strArr6 = strArr3;
                    r32 = str6;
                    r62 = str7;
                    str15 = str5;
                    ?? r4222222222 = str8;
                    if (p.c(str3)) {
                    }
                    if (p.c(str10)) {
                    }
                    if (p.c(str15)) {
                    }
                    if (p.c(str13)) {
                    }
                    if (strArr4 != null) {
                    }
                    str16 = "api_2";
                    str17 = "api_1";
                    str18 = "sdk.ipadview.com";
                    f17758a = str18;
                    f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                    f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                    f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                    f17762e = (r4222222222 != 0 || r4222222222.length <= 0) ? "sso.juliyuemeng.com" : r4222222222[(int) (Math.random() * r4222222222.length)];
                    f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                    JSONObject jSONObject22222222 = new JSONObject(b.a("monitorDesc", "{}"));
                    optString = jSONObject22222222.optString("js_1");
                    if (p.c(optString)) {
                    }
                    optString2 = jSONObject22222222.optString("js_2");
                    if (p.c(optString2)) {
                    }
                    optString3 = jSONObject22222222.optString("hd_1");
                    if (p.c(optString3)) {
                    }
                    optString4 = jSONObject22222222.optString("hd_2");
                    if (p.c(optString4)) {
                    }
                    optString5 = jSONObject22222222.optString("yhq_1");
                    if (p.c(optString5)) {
                    }
                    optString6 = jSONObject22222222.optString("yhq_2");
                    if (p.c(optString6)) {
                    }
                    String str2222222222 = str17;
                    optString7 = jSONObject22222222.optString(str2222222222);
                    if (p.c(optString7)) {
                    }
                    String str2322222222 = str16;
                    optString8 = jSONObject22222222.optString(str2322222222);
                    if (p.c(optString8)) {
                    }
                    String str2422222222 = str12;
                    optString9 = jSONObject22222222.optString(str2422222222);
                    if (p.c(optString9)) {
                    }
                    String str2522222222 = str11;
                    optString10 = jSONObject22222222.optString(str2522222222);
                    if (p.c(optString10)) {
                    }
                    String str2622222222 = str14;
                    optString11 = jSONObject22222222.optString(str2622222222);
                    if (p.c(optString11)) {
                    }
                    String str2722222222 = str2;
                    optString12 = jSONObject22222222.optString(str2722222222);
                    if (p.c(optString12)) {
                    }
                    String str2822222222 = str;
                    optString13 = jSONObject22222222.optString(str2822222222);
                    if (p.c(optString13)) {
                    }
                    optString14 = jSONObject22222222.optString("tyhq_2");
                    if (p.c(optString14)) {
                    }
                    optString15 = jSONObject22222222.optString("tapi_1");
                    if (p.c(optString15)) {
                    }
                    optString16 = jSONObject22222222.optString("tapi_2");
                    if (p.c(optString16)) {
                    }
                } else {
                    str6 = str19;
                    str20 = null;
                }
                jSONArray3 = new JSONArray(b.a("server_sso_ips", "[]"));
                if (jSONArray3.length() > 0) {
                }
                jSONArray4 = new JSONArray(b.a("server_rp_ips", "[]"));
                if (jSONArray4.length() <= 0) {
                }
                f17764g.clear();
                jSONArray5 = new JSONArray(b.a("schemewhitelist", "[]"));
                if (jSONArray5.length() > 0) {
                }
                A.clear();
                String str2922 = null;
                a10 = b.a("trustDomains", (String) null);
                if (p.c(a10)) {
                }
                str2922 = null;
                String a1122 = b.a("queryiframejs", (String) null);
                str4 = b.a("queryhrefjs", (String) null);
                str5 = b.a("queryibkjs", (String) null);
                String str3022 = a1122;
                str9 = b.a("adscrolljs", (String) null);
                f17766i = b.a("proxyControl", true);
                f17769l = b.a("debugControl", true);
                f17767j = b.a("adCoinTask", false);
                f17768k = b.a("fullWebClear", false);
                f17770m = b.a("headerEncrypt", true);
                f17776s = b.a("optEncrypt", true);
                String[] strArr1022 = strArr9;
                f17777t = b.a("optInterval", bi.f16082s);
                f17778u = b.a("optIntervalEnable", true);
                f17779v = b.a("loadPageTimeout", 10);
                f17780w = b.a("abortSslError", true);
                f17781x = b.a("checkPageHijackMode", 7);
                f17782y = b.a("pageHijackNovelDelay", 1000L);
                f17783z = b.a("pageHijackRequestDelay", 10L);
                str12 = "tjs_1";
                str3 = str3022;
                strArr5 = strArr1022;
                strArr4 = strArr7;
                str13 = str9;
                str10 = str4;
                str14 = "thd_1";
                str11 = "tjs_2";
                strArr6 = strArr3;
                r32 = str6;
                r62 = str7;
                str15 = str5;
                ?? r42222222222 = str8;
                if (p.c(str3)) {
                }
                if (p.c(str10)) {
                }
                if (p.c(str15)) {
                }
                if (p.c(str13)) {
                }
                if (strArr4 != null) {
                }
                str16 = "api_2";
                str17 = "api_1";
                str18 = "sdk.ipadview.com";
                f17758a = str18;
                f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
                f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
                f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
                f17762e = (r42222222222 != 0 || r42222222222.length <= 0) ? "sso.juliyuemeng.com" : r42222222222[(int) (Math.random() * r42222222222.length)];
                f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
                JSONObject jSONObject222222222 = new JSONObject(b.a("monitorDesc", "{}"));
                optString = jSONObject222222222.optString("js_1");
                if (p.c(optString)) {
                }
                optString2 = jSONObject222222222.optString("js_2");
                if (p.c(optString2)) {
                }
                optString3 = jSONObject222222222.optString("hd_1");
                if (p.c(optString3)) {
                }
                optString4 = jSONObject222222222.optString("hd_2");
                if (p.c(optString4)) {
                }
                optString5 = jSONObject222222222.optString("yhq_1");
                if (p.c(optString5)) {
                }
                optString6 = jSONObject222222222.optString("yhq_2");
                if (p.c(optString6)) {
                }
                String str22222222222 = str17;
                optString7 = jSONObject222222222.optString(str22222222222);
                if (p.c(optString7)) {
                }
                String str23222222222 = str16;
                optString8 = jSONObject222222222.optString(str23222222222);
                if (p.c(optString8)) {
                }
                String str24222222222 = str12;
                optString9 = jSONObject222222222.optString(str24222222222);
                if (p.c(optString9)) {
                }
                String str25222222222 = str11;
                optString10 = jSONObject222222222.optString(str25222222222);
                if (p.c(optString10)) {
                }
                String str26222222222 = str14;
                optString11 = jSONObject222222222.optString(str26222222222);
                if (p.c(optString11)) {
                }
                String str27222222222 = str2;
                optString12 = jSONObject222222222.optString(str27222222222);
                if (p.c(optString12)) {
                }
                String str28222222222 = str;
                optString13 = jSONObject222222222.optString(str28222222222);
                if (p.c(optString13)) {
                }
                optString14 = jSONObject222222222.optString("tyhq_2");
                if (p.c(optString14)) {
                }
                optString15 = jSONObject222222222.optString("tapi_1");
                if (p.c(optString15)) {
                }
                optString16 = jSONObject222222222.optString("tapi_2");
                if (p.c(optString16)) {
                }
            } else {
                strArr3 = strArr8;
                str19 = null;
            }
            JSONObject jSONObject2222222222 = new JSONObject(b.a("monitorDesc", "{}"));
            optString = jSONObject2222222222.optString("js_1");
            if (p.c(optString)) {
            }
            optString2 = jSONObject2222222222.optString("js_2");
            if (p.c(optString2)) {
            }
            optString3 = jSONObject2222222222.optString("hd_1");
            if (p.c(optString3)) {
            }
            optString4 = jSONObject2222222222.optString("hd_2");
            if (p.c(optString4)) {
            }
            optString5 = jSONObject2222222222.optString("yhq_1");
            if (p.c(optString5)) {
            }
            optString6 = jSONObject2222222222.optString("yhq_2");
            if (p.c(optString6)) {
            }
            String str222222222222 = str17;
            optString7 = jSONObject2222222222.optString(str222222222222);
            if (p.c(optString7)) {
            }
            String str232222222222 = str16;
            optString8 = jSONObject2222222222.optString(str232222222222);
            if (p.c(optString8)) {
            }
            String str242222222222 = str12;
            optString9 = jSONObject2222222222.optString(str242222222222);
            if (p.c(optString9)) {
            }
            String str252222222222 = str11;
            optString10 = jSONObject2222222222.optString(str252222222222);
            if (p.c(optString10)) {
            }
            String str262222222222 = str14;
            optString11 = jSONObject2222222222.optString(str262222222222);
            if (p.c(optString11)) {
            }
            String str272222222222 = str2;
            optString12 = jSONObject2222222222.optString(str272222222222);
            if (p.c(optString12)) {
            }
            String str282222222222 = str;
            optString13 = jSONObject2222222222.optString(str282222222222);
            if (p.c(optString13)) {
            }
            optString14 = jSONObject2222222222.optString("tyhq_2");
            if (p.c(optString14)) {
            }
            optString15 = jSONObject2222222222.optString("tapi_1");
            if (p.c(optString15)) {
            }
            optString16 = jSONObject2222222222.optString("tapi_2");
            if (p.c(optString16)) {
            }
        } catch (Throwable unused10) {
            return;
        }
        jSONArray2 = new JSONArray(b.a("server_hb_ips", "[]"));
        if (jSONArray2.length() <= 0) {
        }
        jSONArray3 = new JSONArray(b.a("server_sso_ips", "[]"));
        if (jSONArray3.length() > 0) {
        }
        jSONArray4 = new JSONArray(b.a("server_rp_ips", "[]"));
        if (jSONArray4.length() <= 0) {
        }
        f17764g.clear();
        jSONArray5 = new JSONArray(b.a("schemewhitelist", "[]"));
        if (jSONArray5.length() > 0) {
        }
        A.clear();
        String str29222 = null;
        a10 = b.a("trustDomains", (String) null);
        if (p.c(a10)) {
        }
        str29222 = null;
        String a11222 = b.a("queryiframejs", (String) null);
        str4 = b.a("queryhrefjs", (String) null);
        str5 = b.a("queryibkjs", (String) null);
        String str30222 = a11222;
        str9 = b.a("adscrolljs", (String) null);
        f17766i = b.a("proxyControl", true);
        f17769l = b.a("debugControl", true);
        f17767j = b.a("adCoinTask", false);
        f17768k = b.a("fullWebClear", false);
        f17770m = b.a("headerEncrypt", true);
        f17776s = b.a("optEncrypt", true);
        String[] strArr10222 = strArr9;
        f17777t = b.a("optInterval", bi.f16082s);
        f17778u = b.a("optIntervalEnable", true);
        f17779v = b.a("loadPageTimeout", 10);
        f17780w = b.a("abortSslError", true);
        f17781x = b.a("checkPageHijackMode", 7);
        f17782y = b.a("pageHijackNovelDelay", 1000L);
        f17783z = b.a("pageHijackRequestDelay", 10L);
        str12 = "tjs_1";
        str3 = str30222;
        strArr5 = strArr10222;
        strArr4 = strArr7;
        str13 = str9;
        str10 = str4;
        str14 = "thd_1";
        str11 = "tjs_2";
        strArr6 = strArr3;
        r32 = str6;
        r62 = str7;
        str15 = str5;
        ?? r422222222222 = str8;
        if (p.c(str3)) {
        }
        if (p.c(str10)) {
        }
        if (p.c(str15)) {
        }
        if (p.c(str13)) {
        }
        if (strArr4 != null) {
        }
        str16 = "api_2";
        str17 = "api_1";
        str18 = "sdk.ipadview.com";
        f17758a = str18;
        f17759b = (strArr6 != null || strArr6.length <= 0) ? "speed.adipman.net" : strArr6[(int) (Math.random() * strArr6.length)];
        f17760c = (r32 != 0 || r32.length <= 0) ? "api.juliyuemeng.com" : r32[(int) (Math.random() * r32.length)];
        f17761d = (r62 != 0 || r62.length <= 0) ? "hb.juliyuemeng.com" : r62[(int) (Math.random() * r62.length)];
        f17762e = (r422222222222 != 0 || r422222222222.length <= 0) ? "sso.juliyuemeng.com" : r422222222222[(int) (Math.random() * r422222222222.length)];
        f17763f = (strArr5 != null || strArr5.length <= 0) ? "http://rp.juliyuemeng.com" : strArr5[(int) (Math.random() * strArr5.length)];
    }
}