导航菜单

页面标题

页面副标题

MX Player v1.97.8 - AFj1iSDK.java 源代码

正在查看: MX Player v1.97.8 应用的 AFj1iSDK.java JAVA 源代码文件

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


package com.appsflyer.internal;

import android.net.Uri;
import com.appsflyer.AFLogger;
import kotlin.Metadata;
import kotlin.jvm.JvmField;
import kotlin.jvm.JvmOverloads;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.text.StringsKt;
import org.jetbrains.annotations.NotNull;

@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0006\b\u0007\u0018\u0000 \u00162\u00020\u0001:\u0001\u0016B\u001b\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\b\b\u0002\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007J\u000f\u0010\t\u001a\u00020\bH\u0002¢\u0006\u0004\b\t\u0010\nJ#\u0010\u000b\u001a\u00020\b2\b\u0010\u0003\u001a\u0004\u0018\u00010\b2\b\u0010\u0005\u001a\u0004\u0018\u00010\bH\u0007¢\u0006\u0004\b\u000b\u0010\fJ\u0017\u0010\u000e\u001a\u00020\b2\u0006\u0010\u0003\u001a\u00020\rH\u0007¢\u0006\u0004\b\u000e\u0010\u000fJ\u001b\u0010\u000e\u001a\u00020\b*\u00020\b2\u0006\u0010\u0003\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u000e\u0010\u0011J\u0013\u0010\u000b\u001a\u00020\b*\u00020\bH\u0002¢\u0006\u0004\b\u000b\u0010\u0012J\u0013\u0010\u0013\u001a\u00020\b*\u00020\bH\u0002¢\u0006\u0004\b\u0013\u0010\u0012R\u0014\u0010\u000e\u001a\u00020\u00028\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u000e\u0010\u0014R\u0014\u0010\t\u001a\u00020\u00048\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u000b\u0010\u0015"}, d2 = {"Lcom/appsflyer/internal/AFj1iSDK;", "", "Lcom/appsflyer/internal/AFd1rSDK;", "p0", "Lcom/appsflyer/internal/AFj1dSDK;", "p1", "<init>", "(Lcom/appsflyer/internal/AFd1rSDK;Lcom/appsflyer/internal/AFj1dSDK;)V", "", "getMediationNetwork", "()Ljava/lang/String;", "getMonetizationNetwork", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "Lcom/appsflyer/internal/AFh1hSDK;", "AFAdRevenueData", "(Lcom/appsflyer/internal/AFh1hSDK;)Ljava/lang/String;", "", "(Ljava/lang/String;Z)Ljava/lang/String;", "(Ljava/lang/String;)Ljava/lang/String;", "getCurrencyIso4217Code", "Lcom/appsflyer/internal/AFd1rSDK;", "Lcom/appsflyer/internal/AFj1dSDK;", "AFa1tSDK"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final class AFj1iSDK {

    @JvmField
    @NotNull
    public static String areAllFieldsValid;

    @NotNull
    private static final String component1;

    @JvmField
    @NotNull
    public static final String component2;

    @JvmField
    @NotNull
    public static final String component3;

    @JvmField
    @NotNull
    public static final String component4;

    @JvmField
    @NotNull
    public static final String getCurrencyIso4217Code;

    @JvmField
    @NotNull
    public static final String getMediationNetwork;

    @JvmField
    @NotNull
    public static final String getRevenue;

    @NotNull
    public final AFd1rSDK AFAdRevenueData;

    @NotNull
    public final AFj1dSDK getMediationNetwork;

    static {
        String str = AFb1rSDK.getCurrencyIso4217Code;
        String d = rg2.d(str, "/androidevent?app_id=");
        component1 = d;
        getCurrencyIso4217Code = bl0.c("https://%sattr.%s/api/v", d);
        getRevenue = "https://%sadrevenue.%s/api/v2/generic/v6.15.1/android?app_id=";
        getMediationNetwork = bl0.c("https://%sconversions.%s/api/v", d);
        component3 = bl0.c("https://%slaunches.%s/api/v", d);
        component2 = bl0.c("https://%sinapps.%s/api/v", d);
        component4 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
        areAllFieldsValid = lg0.e("https://%svalidate.%s/api/v", str, "/androidevent?buildnumber=6.15.1&app_id=");
    }

    @JvmOverloads
    private AFj1iSDK(@NotNull AFd1rSDK aFd1rSDK, @NotNull AFj1dSDK aFj1dSDK) {
        this.AFAdRevenueData = aFd1rSDK;
        this.getMediationNetwork = aFj1dSDK;
    }

    public static String getMediationNetwork() {
        return "https://aps-webhandler.appsflyer.com/api/trigger";
    }

    @NotNull
    public final String AFAdRevenueData(@NotNull AFh1hSDK p0) {
        if (p0 instanceof AFh1iSDK) {
            return this.getMediationNetwork.getMediationNetwork("https://%ssdk-services.%s/validate-android-signature");
        }
        if (p0 instanceof AFi1zSDK) {
            return rg2.d(this.getMediationNetwork.getMediationNetwork(areAllFieldsValid), this.AFAdRevenueData.getMonetizationNetwork.getCurrencyIso4217Code.getPackageName());
        }
        throw new UnsupportedOperationException();
    }

    public final String getCurrencyIso4217Code(String str) {
        return rg2.d(str, this.AFAdRevenueData.getMonetizationNetwork.getCurrencyIso4217Code.getPackageName());
    }

    @NotNull
    public final String getMonetizationNetwork(String p0, String p1) {
        String packageName = this.AFAdRevenueData.getMonetizationNetwork.getCurrencyIso4217Code.getPackageName();
        String areAllFieldsValid2 = this.AFAdRevenueData.areAllFieldsValid();
        if (areAllFieldsValid2 != null && !StringsKt.I(areAllFieldsValid2)) {
            areAllFieldsValid2 = bl0.c("-", StringsKt.Z(areAllFieldsValid2).toString());
        }
        if (areAllFieldsValid2 == null) {
            areAllFieldsValid2 = "";
        }
        String obj = StringsKt.Z(areAllFieldsValid2).toString();
        Uri.Builder appendPath = Uri.parse(this.getMediationNetwork.getMediationNetwork("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
        if (p0 == null || p1 == null) {
            String str = p0 == null ? "devKey" : "timestamp";
            AFLogger.afErrorLog(str.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str.concat(" is null")));
        } else {
            appendPath.appendQueryParameter("af_sig", AFb1kSDK.getCurrencyIso4217Code(p1.concat(p0), p0));
        }
        return appendPath.appendQueryParameter("sdk_version", AFb1rSDK.getCurrencyIso4217Code).build().toString();
    }

    public AFj1iSDK(AFd1rSDK aFd1rSDK, AFj1dSDK aFj1dSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(aFd1rSDK, (i & 2) != 0 ? new AFj1eSDK() : aFj1dSDK);
    }

    @kotlin.jvm.JvmOverloads
    public AFj1iSDK(@org.jetbrains.annotations.NotNull com.appsflyer.internal.AFd1rSDK r3) {
        throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1iSDK.<init>(com.appsflyer.internal.AFd1rSDK):void");
    }

    public static String AFAdRevenueData(String str, boolean z) {
        return rg2.d(str, !z ? "&buildnumber=6.15.1" : "");
    }

    public final String getMonetizationNetwork(String str) {
        String areAllFieldsValid2 = this.AFAdRevenueData.areAllFieldsValid();
        String concat = areAllFieldsValid2 != null ? "&channel=".concat(areAllFieldsValid2) : null;
        if (concat == null) {
            concat = "";
        }
        return rg2.d(str, concat);
    }
}