English Books v1.2.1.1版本的 MD5 值为:9f4daf2c280cad25d94d488349a089ac

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


package com.yandex.metrica.impl.ob;

import android.content.Context;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.yandex.metrica.impl.ob.C1580dh;
import com.yandex.metrica.impl.ob.C1655gh;
import com.yandex.metrica.impl.ob.P3;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
public class C1754kh extends C1655gh {
    @Nullable
    private List<String> f35839o;
    @Nullable
    private List<String> f35840p;
    @Nullable
    private String f35841q;
    @Nullable
    private String r;
    @Nullable
    private Map<String, String> s;
    @NonNull
    private P3.a t;
    @Nullable
    private List<String> u;
    private boolean v;
    private boolean f35842w;
    private String f35843x;
    private long f35844y;
    @NonNull
    private final Ug f35845z;

    public static class b extends C1580dh.a<b, b> {
        @Nullable
        public final String d;
        @Nullable
        public final String f35846e;
        @Nullable
        public final Map<String, String> f35847f;
        public final boolean f35848g;
        @Nullable
        public final List<String> f35849h;

        public b() {
            this(null, null, null, null, null, null, false, null);
        }

        public b(@NonNull T3 t32) {
            this(t32.b().f32964c.getAsString("CFG_DEVICE_SIZE_TYPE"), t32.b().f32964c.getAsString("CFG_APP_VERSION"), t32.b().f32964c.getAsString("CFG_APP_VERSION_CODE"), t32.a().d(), t32.a().e(), t32.a().a(), t32.a().j(), t32.a().b());
        }

        public b(@Nullable String str, @Nullable String str2, @Nullable String str3, @Nullable String str4, @Nullable String str5, @Nullable Map<String, String> map, boolean z10, @Nullable List<String> list) {
            super(str, str2, str3);
            this.d = str4;
            this.f35846e = str5;
            this.f35847f = map;
            this.f35848g = z10;
            this.f35849h = list;
        }

        @Override
        @NonNull
        public b a(@NonNull b bVar) {
            String str = this.f35157a;
            String str2 = bVar.f35157a;
            if (str != null) {
                str2 = str;
            }
            String str3 = this.f35158b;
            String str4 = bVar.f35158b;
            if (str3 != null) {
                str4 = str3;
            }
            String str5 = this.f35159c;
            String str6 = bVar.f35159c;
            if (str5 != null) {
                str6 = str5;
            }
            String str7 = this.d;
            String str8 = bVar.d;
            if (str7 != null) {
                str8 = str7;
            }
            String str9 = this.f35846e;
            String str10 = bVar.f35846e;
            if (str9 != null) {
                str10 = str9;
            }
            Map<String, String> map = this.f35847f;
            Map<String, String> map2 = bVar.f35847f;
            if (map != null) {
                map2 = map;
            }
            return new b(str2, str4, str6, str8, str10, map2, this.f35848g || bVar.f35848g, bVar.f35848g ? bVar.f35849h : this.f35849h);
        }

        @Override
        public boolean b(@NonNull Object obj) {
            b bVar = (b) obj;
            return false;
        }
    }

    public static class c extends C1655gh.a<C1754kh, b> {
        @NonNull
        private final Q d;

        public c(@NonNull Context context, @NonNull String str) {
            this(context, str, new Wn(), P0.i().e());
        }

        public c(@NonNull Context context, @NonNull String str, @NonNull Wn wn, @NonNull Q q10) {
            super(context, str, wn);
            this.d = q10;
        }

        @Override
        @NonNull
        public C1580dh a() {
            return new C1754kh();
        }

        @Override
        public C1580dh a(@NonNull Object obj) {
            C1580dh.c cVar = (C1580dh.c) obj;
            C1754kh a10 = a(cVar);
            Qi qi = cVar.f35162a;
            a10.c(qi.t());
            a10.b(qi.s());
            String str = ((b) cVar.f35163b).d;
            if (str != null) {
                C1754kh.a(a10, str);
                C1754kh.b(a10, ((b) cVar.f35163b).f35846e);
            }
            Map<String, String> map = ((b) cVar.f35163b).f35847f;
            a10.a(map);
            a10.a(this.d.a(new P3.a(map, E0.APP)));
            a10.a(((b) cVar.f35163b).f35848g);
            a10.a(((b) cVar.f35163b).f35849h);
            a10.b(cVar.f35162a.r());
            a10.h(cVar.f35162a.g());
            a10.b(cVar.f35162a.p());
            return a10;
        }
    }

    private C1754kh() {
        this(P0.i().o());
    }

    @VisibleForTesting
    public C1754kh(@NonNull Ug ug) {
        this.t = new P3.a(null, E0.APP);
        this.f35844y = 0L;
        this.f35845z = ug;
    }

    public static void a(C1754kh c1754kh, String str) {
        c1754kh.f35841q = str;
    }

    public static void b(C1754kh c1754kh, String str) {
        c1754kh.r = str;
    }

    @NonNull
    public P3.a C() {
        return this.t;
    }

    @Nullable
    public Map<String, String> D() {
        return this.s;
    }

    public String E() {
        return this.f35843x;
    }

    @Nullable
    public String F() {
        return this.f35841q;
    }

    @Nullable
    public String G() {
        return this.r;
    }

    @Nullable
    public List<String> H() {
        return this.u;
    }

    @NonNull
    public Ug I() {
        return this.f35845z;
    }

    public List<String> J() {
        LinkedHashSet linkedHashSet = new LinkedHashSet();
        if (!U2.b(this.f35839o)) {
            linkedHashSet.addAll(this.f35839o);
        }
        if (!U2.b(this.f35840p)) {
            linkedHashSet.addAll(this.f35840p);
        }
        linkedHashSet.add("https://startup.mobile.yandex.net/");
        if (!TextUtils.isEmpty("")) {
            linkedHashSet.add("");
        }
        if (!TextUtils.isEmpty("")) {
            linkedHashSet.add("");
        }
        if (!TextUtils.isEmpty("")) {
            linkedHashSet.add("");
        }
        return new ArrayList(linkedHashSet);
    }

    public List<String> K() {
        return this.f35840p;
    }

    @Nullable
    public boolean L() {
        return this.v;
    }

    public boolean M() {
        return this.f35842w;
    }

    public long a(long j10) {
        if (this.f35844y == 0) {
            this.f35844y = j10;
        }
        return this.f35844y;
    }

    public void a(@NonNull P3.a aVar) {
        this.t = aVar;
    }

    public void a(@Nullable List<String> list) {
        this.u = list;
    }

    public void a(@Nullable Map<String, String> map) {
        this.s = map;
    }

    public void a(boolean z10) {
        this.v = z10;
    }

    public void b(long j10) {
        if (this.f35844y == 0) {
            this.f35844y = j10;
        }
    }

    public void b(@Nullable List<String> list) {
        this.f35840p = list;
    }

    public void b(boolean z10) {
        this.f35842w = z10;
    }

    public void c(@Nullable List<String> list) {
        this.f35839o = list;
    }

    public void h(String str) {
        this.f35843x = str;
    }

    @Override
    public String toString() {
        return "StartupRequestConfig{mStartupHostsFromStartup=" + this.f35839o + ", mStartupHostsFromClient=" + this.f35840p + ", mDistributionReferrer='" + this.f35841q + "', mInstallReferrerSource='" + this.r + "', mClidsFromClient=" + this.s + ", mNewCustomHosts=" + this.u + ", mHasNewCustomHosts=" + this.v + ", mSuccessfulStartup=" + this.f35842w + ", mCountryInit='" + this.f35843x + "', mFirstStartupTime=" + this.f35844y + ", mReferrerHolder=" + this.f35845z + "} " + super.toString();
    }
}