导航菜单

页面标题

页面副标题

Chaupal v3.2 - m.java 源代码

正在查看: Chaupal v3.2 应用的 m.java JAVA 源代码文件

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


package io.branch.referral;

import android.content.Context;
import in.juspay.hypersdk.core.PaymentConstants;
import io.branch.referral.Branch;
import java.net.URL;
import okhttp3.HttpUrl;
import org.json.JSONObject;

class m extends ServerRequest {
    private d j;
    private boolean k;
    private Branch.d l;
    private boolean m;

    public m(Defines$RequestPath defines$RequestPath, JSONObject jSONObject, Context context) {
        super(defines$RequestPath, jSONObject, context);
        this.k = true;
        this.m = true;
    }

    private String O(String str) {
        try {
            boolean c0 = Branch.J().c0();
            String str2 = HttpUrl.FRAGMENT_ENCODE_SET;
            if (c0 && !str.contains("https://bnc.lt/a/")) {
                str = str.replace(new URL(str).getQuery(), HttpUrl.FRAGMENT_ENCODE_SET);
            }
            StringBuilder sb = new StringBuilder();
            sb.append(str);
            sb.append(str.contains("?") ? HttpUrl.FRAGMENT_ENCODE_SET : "?");
            String sb2 = sb.toString();
            StringBuilder sb3 = new StringBuilder();
            sb3.append(sb2);
            if (!sb2.endsWith("?")) {
                str2 = "&";
            }
            sb3.append(str2);
            str = sb3.toString();
            throw null;
        } catch (Exception e) {
            BranchLogger.b("Caught Exception " + BranchLogger.j(e));
            this.l.a(null, new zd.b("Trouble creating a URL.", -116));
            return str;
        }
    }

    public d P() {
        return this.j;
    }

    public String Q() {
        if (!this.c.W().equals("bnc_no_value")) {
            return O(this.c.W());
        }
        return O("https://bnc.lt/a/" + this.c.n());
    }

    public void R() {
        Branch.d dVar = this.l;
        if (dVar != null) {
            dVar.a(null, new zd.b("Trouble creating a URL.", -105));
        }
    }

    @Override
    public void c() {
        this.l = null;
    }

    @Override
    public void n(int i, String str) {
        if (this.l != null) {
            String Q = this.m ? Q() : null;
            this.l.a(Q, new zd.b("Trouble creating a URL. " + str, i));
        }
    }

    @Override
    public boolean p() {
        return false;
    }

    @Override
    boolean r() {
        return false;
    }

    @Override
    public void u(zd.d dVar, Branch branch) {
        try {
            String string = dVar.c().getString(PaymentConstants.URL);
            Branch.d dVar2 = this.l;
            if (dVar2 != null) {
                dVar2.a(string, null);
            }
        } catch (Exception e) {
            BranchLogger.b("Caught Exception " + BranchLogger.j(e));
        }
    }

    @Override
    protected boolean w() {
        return true;
    }
}