红果免费短剧 v6.2.3.32版本的 MD5 值为:a6b05492607eab2c8a25f26d2f238ae0

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


package com.bytedance.lynx.service.model;

import android.app.Application;
import com.bytedance.lynx.hybrid.base.LogConfig;
import com.ss.android.ad.lynx.geckox.GeckoxBuildAdapter;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

public class a {
    public static final b o = new b(null);

    public final String f21754a;

    public final String f21755b;

    public final String f21756c;
    public final String d;
    public final String e;
    public final String f;
    public final String g;
    public final String h;
    public final String i;
    public final boolean j;
    public final boolean k;
    public final String l;
    public final LogConfig m;
    public final Function0<Unit> n;
    private final Application p;

    public static final class C0775a {

        public boolean f21757a;

        public boolean f21758b;

        public LogConfig f21759c;
        private String d;
        private String e;
        private String f;
        private String g;
        private String h;
        private String i;
        private String j;
        private String k;
        private String l;
        private String m;
        private Function0<Unit> n;
        private Application o;

        public final Application getContext() {
            return this.o;
        }

        public final a a() {
            return new a(this.o, this.l, this.d, this.e, this.g, this.h, this.j, this.k, this.f, this.i, this.f21757a, this.f21758b, this.m, this.f21759c, this.n, null);
        }

        public final void a(Application application) {
            Intrinsics.checkParameterIsNotNull(application, "<set-?>");
            this.o = application;
        }

        public final void b(String host) {
            Intrinsics.checkParameterIsNotNull(host, "host");
            this.d = host;
        }

        public final void c(String dir) {
            Intrinsics.checkParameterIsNotNull(dir, "dir");
            this.e = dir;
        }

        public final void d(String region) {
            Intrinsics.checkParameterIsNotNull(region, "region");
            this.f = region;
        }

        public final void e(String appId) {
            Intrinsics.checkParameterIsNotNull(appId, "appId");
            this.g = appId;
        }

        public final void f(String appVersion) {
            Intrinsics.checkParameterIsNotNull(appVersion, "appVersion");
            this.h = appVersion;
        }

        public final void g(String channel) {
            Intrinsics.checkParameterIsNotNull(channel, "channel");
            this.i = channel;
        }

        public final void h(String updateVersionCode) {
            Intrinsics.checkParameterIsNotNull(updateVersionCode, "updateVersionCode");
            this.j = updateVersionCode;
        }

        public final void j(String monitorHost) {
            Intrinsics.checkParameterIsNotNull(monitorHost, "monitorHost");
            this.m = monitorHost;
        }

        public final void a(String accessKey) {
            Intrinsics.checkParameterIsNotNull(accessKey, "accessKey");
            this.l = accessKey;
        }

        public final void a(Function0<Unit> additionInit) {
            Intrinsics.checkParameterIsNotNull(additionInit, "additionInit");
            this.n = additionInit;
        }

        public final void i(String deviceId) {
            boolean z;
            Intrinsics.checkParameterIsNotNull(deviceId, "deviceId");
            if (deviceId.length() == 0) {
                z = true;
            } else {
                z = false;
            }
            if (z) {
                this.k = "0";
            } else {
                this.k = deviceId;
            }
        }

        public C0775a(Application context) {
            Intrinsics.checkParameterIsNotNull(context, "context");
            this.o = context;
            this.d = GeckoxBuildAdapter.HOST;
            this.e = "offlineX";
            this.f = "CN";
            this.g = "";
            this.h = "";
            this.i = "";
            this.j = "";
            this.k = "";
            this.l = "";
            this.f21758b = true;
            this.m = "https://mon.zijieapi.com";
            this.n = new Function0<Unit>() {
                public final void invoke2() {
                }

                @Override
                public Unit invoke() {
                    invoke2();
                    return Unit.INSTANCE;
                }
            };
        }
    }

    public static final class b {
        private b() {
        }

        public b(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final a a(Application context, Function1<? super C0775a, Unit> block) {
            Intrinsics.checkParameterIsNotNull(context, "context");
            Intrinsics.checkParameterIsNotNull(block, "block");
            C0775a c0775a = new C0775a(context);
            block.invoke(c0775a);
            return c0775a.a();
        }
    }

    public final Application getContext() {
        return this.p;
    }

    private a(Application application, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, boolean z, boolean z2, String str10, LogConfig logConfig, Function0<Unit> function0) {
        this.p = application;
        this.f21754a = str;
        this.f21755b = str2;
        this.f21756c = str3;
        this.d = str4;
        this.e = str5;
        this.f = str6;
        this.g = str7;
        this.h = str8;
        this.i = str9;
        this.j = z;
        this.k = z2;
        this.l = str10;
        this.m = logConfig;
        this.n = function0;
    }

    public a(Application application, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, boolean z, boolean z2, String str10, LogConfig logConfig, Function0 function0, DefaultConstructorMarker defaultConstructorMarker) {
        this(application, str, str2, str3, str4, str5, str6, str7, str8, str9, z, z2, str10, logConfig, function0);
    }
}