导航菜单

页面标题

页面副标题

RummyCircle v11000.89 - AFj1jSDK.java 源代码

正在查看: RummyCircle v11000.89 应用的 AFj1jSDK.java JAVA 源代码文件

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


package com.appsflyer.internal;

import android.net.Uri;
import com.appsflyer.AFLogger;
import com.cashfree.pg.cf_analytics.database.CFDatabaseHelper;
import com.games24x7.nae.NativeAttributionModule.Constants;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import org.jetbrains.annotations.NotNull;

@Metadata
public final class AFj1jSDK {

    @NotNull
    public static final AFa1ySDK AFa1ySDK = new AFa1ySDK(null);

    @NotNull
    public static final String areAllFieldsValid;

    @NotNull
    public static final String component1;

    @NotNull
    public static final String component2;

    @NotNull
    public static String component3;

    @NotNull
    private static final String component4;

    @NotNull
    public static final String getCurrencyIso4217Code;

    @NotNull
    public static final String getMediationNetwork;

    @NotNull
    public static final String getMonetizationNetwork;

    @NotNull
    public final AFj1bSDK AFAdRevenueData;

    @NotNull
    public final AFd1qSDK getRevenue;

    @Metadata
    public static final class AFa1ySDK {
        private AFa1ySDK() {
        }

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

    static {
        String str = AFb1rSDK.AFAdRevenueData;
        String b = androidx.activity.result.e.b(str, "/androidevent?app_id=");
        component4 = b;
        getMonetizationNetwork = androidx.camera.core.impl.utils.i.b("https://%sattr.%s/api/v", b);
        getCurrencyIso4217Code = "https://%sadrevenue.%s/api/v2/generic/v6.15.2/android?app_id=";
        getMediationNetwork = androidx.camera.core.impl.utils.i.b("https://%sconversions.%s/api/v", b);
        areAllFieldsValid = androidx.camera.core.impl.utils.i.b("https://%slaunches.%s/api/v", b);
        component1 = androidx.camera.core.impl.utils.i.b("https://%sinapps.%s/api/v", b);
        component2 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
        component3 = androidx.camera.core.impl.utils.i.c("https://%svalidate.%s/api/v", str, "/androidevent?buildnumber=6.15.2&app_id=");
    }

    private AFj1jSDK(@NotNull AFd1qSDK aFd1qSDK, @NotNull AFj1bSDK aFj1bSDK) {
        Intrinsics.checkNotNullParameter(aFd1qSDK, "");
        Intrinsics.checkNotNullParameter(aFj1bSDK, "");
        this.getRevenue = aFd1qSDK;
        this.AFAdRevenueData = aFj1bSDK;
    }

    @NotNull
    public static String getCurrencyIso4217Code() {
        return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
    }

    public static String getMonetizationNetwork(String str, boolean z) {
        return androidx.activity.result.e.b(str, !z ? "&buildnumber=6.15.2" : "");
    }

    @NotNull
    public final String getMediationNetwork(@NotNull AFh1gSDK aFh1gSDK) {
        Intrinsics.checkNotNullParameter(aFh1gSDK, "");
        if (aFh1gSDK instanceof AFh1bSDK) {
            return this.AFAdRevenueData.getMonetizationNetwork("https://%ssdk-services.%s/validate-android-signature");
        }
        if (aFh1gSDK instanceof AFh1aSDK) {
            return androidx.activity.result.e.b(this.AFAdRevenueData.getMonetizationNetwork(component3), this.getRevenue.getMonetizationNetwork.AFAdRevenueData.getPackageName());
        }
        throw new UnsupportedOperationException();
    }

    public final String getRevenue(String str) {
        String component42 = this.getRevenue.component4();
        String concat = component42 != null ? "&channel=".concat(component42) : null;
        if (concat == null) {
            concat = "";
        }
        return androidx.activity.result.e.b(str, concat);
    }

    public AFj1jSDK(AFd1qSDK aFd1qSDK, AFj1bSDK aFj1bSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(aFd1qSDK, (i & 2) != 0 ? new AFj1eSDK() : aFj1bSDK);
    }

    public AFj1jSDK(@NotNull AFd1qSDK aFd1qSDK) {
        this(aFd1qSDK, null, 2, 0 == true ? 1 : 0);
        Intrinsics.checkNotNullParameter(aFd1qSDK, "");
    }

    @NotNull
    public final String getRevenue(String str, String str2) {
        String packageName = this.getRevenue.getMonetizationNetwork.AFAdRevenueData.getPackageName();
        Intrinsics.checkNotNullExpressionValue(packageName, "");
        String component42 = this.getRevenue.component4();
        if (component42 != null && !kotlin.text.o.i(component42)) {
            component42 = androidx.camera.core.impl.utils.i.b(Constants.DEFAULT_DIRECTORY_FINGERPRINT_SEPARATOR, StringsKt.X(component42).toString());
        }
        if (component42 == null) {
            component42 = "";
        }
        String obj = StringsKt.X(component42).toString();
        Uri.Builder appendPath = Uri.parse(this.AFAdRevenueData.getMonetizationNetwork("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
        Intrinsics.checkNotNullExpressionValue(appendPath, "");
        if (str != null && str2 != null) {
            appendPath.appendQueryParameter("af_sig", AFb1jSDK.getMonetizationNetwork(str2.concat(str), str));
        } else {
            String str3 = str == null ? "devKey" : CFDatabaseHelper.COLUMN_TIMESTAMP;
            AFLogger.afErrorLog(str3.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str3.concat(" is null")));
        }
        String obj2 = appendPath.appendQueryParameter(CFDatabaseHelper.COLUMN_SDK_VERSION, AFb1rSDK.AFAdRevenueData).build().toString();
        Intrinsics.checkNotNullExpressionValue(obj2, "");
        return obj2;
    }

    public final String getMediationNetwork(String str) {
        return androidx.activity.result.e.b(str, this.getRevenue.getMonetizationNetwork.AFAdRevenueData.getPackageName());
    }
}