导航菜单

页面标题

页面副标题

漫天星 v3.0.2 - b.java 源代码

正在查看: 漫天星 v3.0.2 应用的 b.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package f.p.e.a.d;

import com.google.gson.JsonParseException;
import com.junyue.basic.analysis.LogAnalysis;
import com.junyue.basic.app.App;
import com.junyue.basic.mmkv.TKBeanOtherSw;
import com.junyue.basic.util.Apps;
import com.junyue.modules.adapter.api.bean.NXFilterBean;
import com.junyue.novel.sharebean.ChannelInfo;
import f.p.c.z.q0;
import i.b0.c.p;
import i.b0.c.u;
import i.j;
import i.l;
import i.t;
import i.w.i0;
import i.w.x;
import i.y.j.a.k;
import j.a.c1;
import j.a.f0;
import j.a.i1;
import j.a.u0;
import java.util.ArrayList;
import java.util.HashMap;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;

public class b extends f.p.e.a.d.d.a<f.p.e.a.d.c> {
    public static final String i = "https://game-mj-1252954235.cos.ap-chengdu.myqcloud.com/";
    public static final String j = "http://175.178.96.110:8080/api/v1/";
    public static final String k = "http://124.223.0.123:5208";
    public static final a l = new a(null);

    public final String f108f = j;

    public final i.d f109g = i.f.b(new g());
    public final i.d h = i.f.b(h.n);

    public static final class a {
        public a() {
        }

        public final String a() {
            return b.i;
        }

        public a(p pVar) {
            this();
        }
    }

    @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager", f = "Api1Manager.kt", l = {95}, m = "getYumi1")
    public static final class C0082b extends i.y.j.a.d {
        public Object q;
        public int r;
        public Object t;

        public C0082b(i.y.d dVar) {
            super(dVar);
        }

        public final Object g(Object obj) {
            this.q = obj;
            this.r |= Integer.MIN_VALUE;
            return b.this.R0(this);
        }
    }

    public static final class c extends u implements Function1<TKBeanOtherSw, t> {
        public final NXFilterBean n;

        public c(NXFilterBean nXFilterBean) {
            super(1);
            this.n = nXFilterBean;
        }

        public final void b(TKBeanOtherSw tKBeanOtherSw) {
            NXFilterBean nXFilterBean;
            LogAnalysis fixed;
            i.b0.c.t.e(tKBeanOtherSw, "it");
            if (tKBeanOtherSw.getEup() == null || (nXFilterBean = this.n) == null || (fixed = nXFilterBean.fixed()) == null) {
                return;
            }
            tKBeanOtherSw.setEup(fixed);
        }

        public Object invoke(Object obj) {
            b((TKBeanOtherSw) obj);
            return t.a;
        }
    }

    @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager", f = "Api1Manager.kt", l = {120}, m = "getYumi2")
    public static final class d extends i.y.j.a.d {
        public Object q;
        public int r;
        public Object t;
        public Object u;

        public d(i.y.d dVar) {
            super(dVar);
        }

        public final Object g(Object obj) {
            this.q = obj;
            this.r |= Integer.MIN_VALUE;
            return b.this.S0(null, this);
        }
    }

    @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager", f = "Api1Manager.kt", l = {152}, m = "getZheZhi0")
    public static final class e extends i.y.j.a.d {
        public Object q;
        public int r;
        public Object t;
        public Object u;

        public e(i.y.d dVar) {
            super(dVar);
        }

        public final Object g(Object obj) {
            this.q = obj;
            this.r |= Integer.MIN_VALUE;
            return b.this.T0(null, this);
        }
    }

    @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager", f = "Api1Manager.kt", l = {172}, m = "getZheZhi1")
    public static final class f extends i.y.j.a.d {
        public Object q;
        public int r;
        public Object t;

        public f(i.y.d dVar) {
            super(dVar);
        }

        public final Object g(Object obj) {
            this.q = obj;
            this.r |= Integer.MIN_VALUE;
            return b.this.U0(this);
        }
    }

    public static final class g extends u implements Function0<HashMap<String, String>> {
        public g() {
            super(0);
        }

        public final HashMap<String, String> invoke() {
            f.p.e.a.b.f(f.p.e.a.b.c, "Context11 ---------> : " + App.r(), null, 2, null);
            String valueOf = String.valueOf(Apps.a(App.r()));
            HashMap<String, String> e = i0.e(new j[]{i.p.a("User-Agent", b.this.Q0()), i.p.a("versionName", Apps.e(App.r())), i.p.a("versionNumber", String.valueOf(Apps.d(App.r()))), i.p.a("device", Apps.getDevicesId(App.r())), i.p.a("an", f.p.l.a.b(valueOf)), i.p.a("ch", b.this.O0(valueOf))});
            ChannelInfo c = ChannelInfo.c();
            i.b0.c.t.d(c, "ChannelInfo.getInstance()");
            e.put("channelId", c.b());
            e.put("appId", c.getAppId());
            e.put("platformId", c.a());
            e.a.b.c.c r = App.r();
            i.b0.c.t.d(r, "App.getInstance()");
            e.put("AppPkgID", r.getPackageName());
            return e;
        }
    }

    public static final class h extends u implements Function0<String> {
        public static final h n = new h();

        public h() {
            super(0);
        }

        public final String invoke() {
            String b = q0.b();
            i.b0.c.t.d(b, "SystemUtil.getSystemModel()");
            String c = q0.c();
            i.b0.c.t.d(c, "SystemUtil.getSystemVersion()");
            String a = q0.a();
            i.b0.c.t.d(a, "SystemUtil.getDeviceBrand()");
            return "Android//" + a + '-' + b + '/' + c + '/' + Apps.b();
        }
    }

    @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager$update$1", f = "Api1Manager.kt", l = {}, m = "invokeSuspend")
    public static final class i extends k implements Function2<f0, i.y.d<? super i1>, Object> {
        public int r;

        @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager$update$1$1", f = "Api1Manager.kt", l = {63, 67, 74}, m = "invokeSuspend")
        public static final class a extends k implements Function2<f0, i.y.d<? super t>, Object> {
            public int r;

            @i.y.j.a.e(c = "com.junyue.modules.adapter.api.Api1Manager$update$1$1$1", f = "Api1Manager.kt", l = {59}, m = "invokeSuspend")
            public static final class C0083a extends k implements Function2<f0, i.y.d<? super t>, Object> {
                public int r;

                public static final class C0084a extends u implements Function1<LogAnalysis, t> {
                    public static final C0084a n = new C0084a();

                    public C0084a() {
                        super(1);
                    }

                    public final void b(LogAnalysis logAnalysis) {
                        i.b0.c.t.e(logAnalysis, "it");
                    }

                    public Object invoke(Object obj) {
                        b((LogAnalysis) obj);
                        return t.a;
                    }
                }

                public C0083a(i.y.d dVar) {
                    super(2, dVar);
                }

                public final i.y.d<t> b(Object obj, i.y.d<?> dVar) {
                    i.b0.c.t.e(dVar, "completion");
                    return a.this.new C0083a(dVar);
                }

                public final Object g(Object obj) {
                    Object c = i.y.i.c.c();
                    int i = this.r;
                    if (i == 0) {
                        l.b(obj);
                        b bVar = b.this;
                        C0084a c0084a = C0084a.n;
                        this.r = 1;
                        if (bVar.T0(c0084a, this) == c) {
                            return c;
                        }
                    } else {
                        if (i != 1) {
                            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                        }
                        l.b(obj);
                    }
                    return t.a;
                }

                public final Object invoke(Object obj, Object obj2) {
                    return b(obj, (i.y.d) obj2).g(t.a);
                }
            }

            public a(i.y.d dVar) {
                super(2, dVar);
            }

            public final i.y.d<t> b(Object obj, i.y.d<?> dVar) {
                i.b0.c.t.e(dVar, "completion");
                return i.this.new a(dVar);
            }

            public final java.lang.Object g(java.lang.Object r13) {
                throw new UnsupportedOperationException("Method not decompiled: f.p.e.a.d.b.i.a.g(java.lang.Object):java.lang.Object");
            }

            public final Object invoke(Object obj, Object obj2) {
                return b(obj, (i.y.d) obj2).g(t.a);
            }
        }

        public i(i.y.d dVar) {
            super(2, dVar);
        }

        public final i.y.d<t> b(Object obj, i.y.d<?> dVar) {
            i.b0.c.t.e(dVar, "completion");
            return b.this.new i(dVar);
        }

        public final Object g(Object obj) {
            i.y.i.c.c();
            if (this.r != 0) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            l.b(obj);
            return j.a.g.b(c1.n, u0.b(), (j.a.i0) null, new a(null), 2, (Object) null);
        }

        public final Object invoke(Object obj, Object obj2) {
            return b(obj, (i.y.d) obj2).g(t.a);
        }
    }

    @Override
    public String F0() {
        return this.f108f;
    }

    public final String M0() {
        return "";
    }

    public final String N0(char c2) {
        return "\\u" + W0(c2);
    }

    public final String O0(String str) {
        if (str == null) {
            throw new NullPointerException("null cannot be cast to non-null type java.lang.String");
        }
        char[] charArray = str.toCharArray();
        i.b0.c.t.d(charArray, "(this as java.lang.String).toCharArray()");
        ArrayList arrayList = new ArrayList(charArray.length);
        for (char c2 : charArray) {
            arrayList.add(N0(c2));
        }
        return x.O(arrayList, "", (CharSequence) null, (CharSequence) null, 0, "", (Function1) null, 46, (Object) null);
    }

    public final HashMap<String, String> P0() {
        return (HashMap) this.f109g.getValue();
    }

    public final String Q0() {
        return (String) this.h.getValue();
    }

    public final java.lang.Object R0(i.y.d<? super java.lang.Boolean> r10) {
        throw new UnsupportedOperationException("Method not decompiled: f.p.e.a.d.b.R0(i.y.d):java.lang.Object");
    }

    public final java.lang.Object S0(com.junyue.modules.adapter.api.bean.NXFilterBean r8, i.y.d<? super i.t> r9) {
        throw new UnsupportedOperationException("Method not decompiled: f.p.e.a.d.b.S0(com.junyue.modules.adapter.api.bean.NXFilterBean, i.y.d):java.lang.Object");
    }

    public final java.lang.Object T0(kotlin.jvm.functions.Function1<? super com.junyue.basic.analysis.LogAnalysis, i.t> r10, i.y.d<? super i.t> r11) {
        throw new UnsupportedOperationException("Method not decompiled: f.p.e.a.d.b.T0(kotlin.jvm.functions.Function1, i.y.d):java.lang.Object");
    }

    public final java.lang.Object U0(i.y.d<? super com.junyue.modules.adapter.api.bean.NXFilterBean> r10) {
        throw new UnsupportedOperationException("Method not decompiled: f.p.e.a.d.b.U0(i.y.d):java.lang.Object");
    }

    public final boolean V0() {
        return LogAnalysis.Companion.b() == null;
    }

    public final String W0(int i2) {
        String hexString = Integer.toHexString(i2);
        i.b0.c.t.d(hexString, "Integer.toHexString(this)");
        return hexString;
    }

    public final void update() {
        try {
            j.a.g.d((i.y.g) null, new i(null), 1, (Object) null);
        } catch (JsonParseException e2) {
            e2.printStackTrace();
        } catch (n.j e3) {
            e3.printStackTrace();
        }
    }
}