正在查看: Tuna Cash v1.0.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Tuna Cash v1.0.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import android.net.Uri;
import com.appsflyer.AFLogger;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import org.jetbrains.annotations.NotNull;
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\u0018\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001:\u00013B\u001b\b\u0007\u0012\u0006\u0010,\u001a\u00020+\u0012\b\b\u0002\u0010/\u001a\u00020.¢\u0006\u0004\b1\u00102J\b\u0010\u0003\u001a\u00020\u0002H\u0002J\b\u0010\u0004\u001a\u00020\u0002H\u0002J\b\u0010\u0005\u001a\u00020\u0002H\u0002J\b\u0010\u0006\u001a\u00020\u0002H\u0002J\b\u0010\u0007\u001a\u00020\u0002H\u0002J\b\u0010\b\u001a\u00020\u0002H\u0002J\b\u0010\t\u001a\u00020\u0002H\u0002J\u0010\u0010\f\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\nH\u0002J\b\u0010\r\u001a\u00020\u0002H\u0002J\b\u0010\u000e\u001a\u00020\u0002H\u0002J\b\u0010\u000f\u001a\u00020\u0002H\u0002J\b\u0010\u0010\u001a\u00020\u0002H\u0002J\u0010\u0010\u0012\u001a\u00020\u00022\b\u0010\u0011\u001a\u0004\u0018\u00010\u0002J\u001a\u0010\u0015\u001a\u00020\u00022\b\u0010\u0013\u001a\u0004\u0018\u00010\u00022\b\u0010\u0014\u001a\u0004\u0018\u00010\u0002J\u000e\u0010\u0016\u001a\u00020\u00022\u0006\u0010\u000b\u001a\u00020\nJ\u0006\u0010\u0017\u001a\u00020\u0002J\u0006\u0010\u0018\u001a\u00020\u0002J\u0006\u0010\u0019\u001a\u00020\u0002J\u0006\u0010\u001a\u001a\u00020\u0002J\u0006\u0010\u001b\u001a\u00020\u0002J\u0006\u0010\u001c\u001a\u00020\u0002J\u0006\u0010\u001d\u001a\u00020\u0002J\u0010\u0010\u001e\u001a\u00020\u00022\b\u0010\u0011\u001a\u0004\u0018\u00010\u0002J\b\u0010\u001f\u001a\u00020\u0002H\u0002J\b\u0010 \u001a\u00020\u0002H\u0002J\b\u0010!\u001a\u00020\u0002H\u0002J\b\u0010\"\u001a\u00020\u0002H\u0002J\u0016\u0010%\u001a\u00020\u0002*\u00020\u00022\b\b\u0002\u0010$\u001a\u00020#H\u0002J\u0016\u0010'\u001a\u00020\u0002*\u00020\u00022\b\b\u0002\u0010&\u001a\u00020#H\u0002J\f\u0010(\u001a\u00020\u0002*\u00020\u0002H\u0002J \u0010*\u001a\u00020)*\u00020)2\b\u0010\u0013\u001a\u0004\u0018\u00010\u00022\b\u0010\u0014\u001a\u0004\u0018\u00010\u0002H\u0002R\u0014\u0010,\u001a\u00020+8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b,\u0010-R\u0014\u0010/\u001a\u00020.8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b/\u00100¨\u00064"}, d2 = {"Lcom/appsflyer/internal/util/EventUrlResolver;", "", "", "getAdRevenueUrl", "getAppsTrackingUrl", "getArsBilling4", "getArsBilling5", "getDdlUrl", "getEventsTrackingUrl", "getFirstLaunchUrl", "Lcom/appsflyer/internal/model/event/AFEvent;", "event", "getLaunchUrl", "getManualValidatePurchaseUrl", "getPlayIntegrityUrl", "getReferrerTrackingUrl", "getRegisterUrl", "billingVersion", "getUrlForArs", "devKey", "timestamp", "getUrlForDdlEvent", "getUrlForEvent", "getUrlForManualPurchaseValidation", "getUrlForPlayIntegrityReporting", "getUrlForPrivacySandbox", "getUrlForRdMonitor", "getUrlForRegister", "getUrlForValidatePurchase", "getUrlForValidatePurchaseWithWebHandler", "getUrlForViap", "getValidatePurchaseUrl", "getValidatePurchaseWithWebHandlerUrl", "getViapBilling4", "getViapBilling5", "", "isAdRevenueEvent", "appendBuildNumber", "isRegisterEvent", "appendConfiguredChannel", "appendPackageName", "Landroid/net/Uri$Builder;", "appendSigQueryParam", "Lcom/appsflyer/internal/components/IdProvider;", "idProvider", "Lcom/appsflyer/internal/components/IdProvider;", "Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;", "serverConfigUrlFormatter", "Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;", "<init>", "(Lcom/appsflyer/internal/components/IdProvider;Lcom/appsflyer/internal/util/ServerConfigUrlFormatter;)V", "Companion", "SDK_prodRelease"}, k = 1, mv = {1, 8, 0})
public final class AFj1fSDK {
@NotNull
public static final AFa1vSDK AFAdRevenueData = new AFa1vSDK(null);
@NotNull
public static final String areAllFieldsValid;
@NotNull
public static final String component1;
@NotNull
public static final String component2;
@NotNull
public static final String component3;
@NotNull
public static final String component4;
@NotNull
public static final String getCurrencyIso4217Code;
@NotNull
public static final String getMediationNetwork;
@NotNull
public static final String getRevenue;
@NotNull
private static final String toString;
@NotNull
public final AFk1xSDK getMonetizationNetwork;
@NotNull
private final AFc1pSDK hashCode;
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\f\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003R\u0014\u0010\u0007\u001a\u00020\u00048\u0002X\u0083\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\u0006R\u0014\u0010\b\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\b\u0010\u0006R\u0014\u0010\n\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\t\u0010\u0006R\u0014\u0010\f\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u000b\u0010\u0006R\u0014\u0010\t\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\r\u0010\u0006R\u0014\u0010\u000b\u001a\u00020\u00048\u0006X\u0087D¢\u0006\u0006\n\u0004\b\u000e\u0010\u0006R\u0014\u0010\u000e\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\f\u0010\u0006R\u0014\u0010\u0010\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u000f\u0010\u0006R\u0014\u0010\r\u001a\u00020\u00048\u0006X\u0087\u0004¢\u0006\u0006\n\u0004\b\u0010\u0010\u0006"}, d2 = {"Lcom/appsflyer/internal/AFj1fSDK$AFa1vSDK;", "", "<init>", "()V", "", "toString", "Ljava/lang/String;", "AFAdRevenueData", "getCurrencyIso4217Code", "getMediationNetwork", "getMonetizationNetwork", "component2", "getRevenue", "component1", "component4", "areAllFieldsValid", "component3"}, k = 1, mv = {1, 8, 0}, xi = 48)
public static final class AFa1vSDK {
private AFa1vSDK() {
}
public AFa1vSDK(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
static {
String LLiIl = a3d2025050999291218703.lLILIl.LLiIl(AFa1tSDK.getRevenue, "/androidevent?app_id=");
toString = LLiIl;
getRevenue = a3d2025050999291218703.lLILIl.llLii("https://%sattr.%s/api/v", LLiIl);
getCurrencyIso4217Code = "https://%sadrevenue.%s/api/v2/generic/v6.17.0/android?app_id=";
getMediationNetwork = a3d2025050999291218703.lLILIl.llLii("https://%sconversions.%s/api/v", LLiIl);
component1 = a3d2025050999291218703.lLILIl.llLii("https://%slaunches.%s/api/v", LLiIl);
component2 = a3d2025050999291218703.lLILIl.llLii("https://%sinapps.%s/api/v", LLiIl);
areAllFieldsValid = a3d2025050999291218703.lLILIl.llLii("https://%sregister.%s/api/v", LLiIl);
component3 = a3d2025050999291218703.lLILIl.llLii("https://%svalidate.%s/api/v", LLiIl);
component4 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
}
private AFj1fSDK(@NotNull AFc1pSDK aFc1pSDK, @NotNull AFk1xSDK aFk1xSDK) {
Intrinsics.checkNotNullParameter(aFc1pSDK, "");
Intrinsics.checkNotNullParameter(aFk1xSDK, "");
this.hashCode = aFc1pSDK;
this.getMonetizationNetwork = aFk1xSDK;
}
public static String AFAdRevenueData(String str, boolean z) {
return a3d2025050999291218703.lLILIl.LLiIl(str, !z ? "&buildnumber=6.17.0" : "");
}
@NotNull
public static String getCurrencyIso4217Code() {
return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
}
public final String getRevenue(String str, boolean z) {
if (z) {
return str;
}
String component22 = this.hashCode.component2();
String concat = component22 != null ? "&channel=".concat(component22) : null;
if (concat == null) {
concat = "";
}
return a3d2025050999291218703.lLILIl.LLiIl(str, concat);
}
public AFj1fSDK(AFc1pSDK aFc1pSDK, AFk1xSDK aFk1xSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(aFc1pSDK, (i & 2) != 0 ? new AFk1zSDK() : aFk1xSDK);
}
public final String getCurrencyIso4217Code(String str) {
return a3d2025050999291218703.lLILIl.LLiIl(str, this.hashCode.getRevenue.getMonetizationNetwork.getPackageName());
}
public AFj1fSDK(@org.jetbrains.annotations.NotNull com.appsflyer.internal.AFc1pSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1fSDK.<init>(com.appsflyer.internal.AFc1pSDK):void");
}
@NotNull
public final String AFAdRevenueData(String str, String str2) {
String packageName = this.hashCode.getRevenue.getMonetizationNetwork.getPackageName();
Intrinsics.checkNotNullExpressionValue(packageName, "");
String component22 = this.hashCode.component2();
if (component22 != null && !StringsKt.lIlilI(component22)) {
component22 = a3d2025050999291218703.lLILIl.llLii("-", StringsKt.iliLi(component22).toString());
}
if (component22 == null) {
component22 = "";
}
String obj = StringsKt.iliLi(component22).toString();
Uri.Builder appendPath = Uri.parse(this.getMonetizationNetwork.AFAdRevenueData("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
Intrinsics.checkNotNullExpressionValue(appendPath, "");
if (str != null && str2 != null) {
appendPath.appendQueryParameter("af_sig", AFj1cSDK.getRevenue(str2.concat(str), str));
} else {
String str3 = str == null ? "devKey" : "timestamp";
AFLogger.INSTANCE.e(AFg1cSDK.GENERAL, str3.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str3.concat(" is null")), true, false, false, true);
}
String obj2 = appendPath.appendQueryParameter("sdk_version", AFa1tSDK.getRevenue).build().toString();
Intrinsics.checkNotNullExpressionValue(obj2, "");
return obj2;
}
}