导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - AbstractC2024c.java 源代码

正在查看: Perplexity v2.48.1 应用的 AbstractC2024c.java JAVA 源代码文件

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


package aa;

import Hb.v;
import Ob.G;
import Ok.o;
import ba.C2310a;
import e9.C3292a1;
import ea.C3342a;
import ea.C3343b;
import gm.AbstractC3840d;
import ha.q;
import java.util.Collections;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import u2.AbstractC6698a;

public abstract class AbstractC2024c {

    public static final Bn.b f31188j = Bn.d.b(AbstractC2024c.class);

    public final v f31189a;

    public final C2027f f31190b;

    public final InterfaceC2030i f31191c;

    public final C3292a1 f31192d;

    public final String f31193e;

    public final String f31194f;

    public final boolean f31195g;

    public final Z3.b f31196h;

    public final CompletableFuture f31197i;

    public AbstractC2024c(String str, C3292a1 c3292a1, C2310a c2310a, CompletableFuture completableFuture, Z3.b bVar) {
        CompletableFuture completableFuture2;
        String str2;
        v vVar = new v();
        vVar.j(AbstractC3840d.n());
        this.f31189a = vVar;
        this.f31196h = bVar;
        C2031j c2031j = new C2031j(str);
        String str3 = "https://fscdn.eppo.cloud/api";
        if ("https://fscdn.eppo.cloud/api".equals("https://fscdn.eppo.cloud/api") && !c2031j.f31217a.isEmpty() && (str2 = (String) c2031j.f31217a.get("cs")) != null) {
            str3 = AbstractC6698a.g(str2, ".", "https://fscdn.eppo.cloud/api".replaceAll("^(https?:)?//", ""));
        }
        String replaceAll = str3.replaceAll("/+$", "");
        C2029h c2029h = new C2029h(replaceAll.matches("^(https?://|//).*") ? replaceAll : "https://".concat(replaceAll), str);
        C2310a c2310a2 = c2310a;
        if (c2310a == null) {
            C2028g c2028g = new C2028g();
            Map map = Collections.EMPTY_MAP;
            c2028g.f31211a = new C3342a(map, map, false, C3342a.f43231f);
            c2310a2 = c2028g;
        }
        this.f31191c = c2310a2;
        C2027f c2027f = new C2027f(c2310a2, c2029h);
        this.f31190b = c2027f;
        if (completableFuture == null) {
            completableFuture2 = null;
        } else {
            if (c2027f.f31209f || c2027f.f31208e != null) {
                throw new IllegalStateException("Configuration future has already been set");
            }
            completableFuture2 = completableFuture.thenApply((Function) new C2026e(c2027f, 0)).exceptionally((Function) new G(3));
            c2027f.f31208e = completableFuture2;
        }
        this.f31197i = completableFuture2;
        this.f31192d = c3292a1;
        this.f31195g = true;
        this.f31193e = "android";
        this.f31194f = "4.9.0";
    }

    public final String a(String str, String str2, o oVar, String str3) {
        try {
        } catch (Exception e10) {
            e = e10;
        }
        try {
            return b(str, str2, oVar, new C3343b(str3), q.JSON).f43240d;
        } catch (Exception e11) {
            e = e11;
            c(e, str3);
            return str3;
        }
    }

    public abstract C3343b b(String str, String str2, o oVar, C3343b c3343b, q qVar);

    public final void c(Exception exc, Object obj) {
        if (!this.f31195g) {
            throw new RuntimeException(exc);
        }
        f31188j.t("error getting assignment value: {}", exc.getMessage());
    }
}