正在查看: Bhakti v5.4.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Bhakti v5.4.0 应用的 AFj1fSDK.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.appsflyer.internal;
import Ai.o;
import android.net.Uri;
import androidx.compose.foundation.lazy.layout.dS.zSXJwvlyd;
import com.appsflyer.AFLogger;
import j.e;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
@Metadata
public final class AFj1fSDK {
public static final AFa1vSDK AFAdRevenueData = new AFa1vSDK((DefaultConstructorMarker) null);
public static final String areAllFieldsValid;
public static final String component1;
public static final String component2;
public static final String component3;
public static final String component4;
public static final String getCurrencyIso4217Code;
public static final String getMediationNetwork;
public static final String getRevenue;
private static final String toString;
public final AFk1xSDK getMonetizationNetwork;
private final AFc1pSDK hashCode;
static {
String e = e.e(AFa1tSDK.getRevenue, "/androidevent?app_id=");
toString = e;
getRevenue = o.h("https://%sattr.%s/api/v", e);
getCurrencyIso4217Code = "https://%sadrevenue.%s/api/v2/generic/v6.17.0/android?app_id=";
getMediationNetwork = o.h("https://%sconversions.%s/api/v", e);
component1 = o.h("https://%slaunches.%s/api/v", e);
component2 = o.h("https://%sinapps.%s/api/v", e);
areAllFieldsValid = o.h("https://%sregister.%s/api/v", e);
component3 = o.h("https://%svalidate.%s/api/v", e);
component4 = "https://%smonitorsdk.%s/api/remote-debug/v2.0?app_id=";
}
private AFj1fSDK(AFc1pSDK aFc1pSDK, AFk1xSDK aFk1xSDK) {
Intrinsics.checkNotNullParameter(aFc1pSDK, "");
Intrinsics.checkNotNullParameter(aFk1xSDK, "");
this.hashCode = aFc1pSDK;
this.getMonetizationNetwork = aFk1xSDK;
}
public static String getCurrencyIso4217Code() {
return "https://privacy-sandbox.appsflyersdk.com/api/trigger";
}
public final String AFAdRevenueData(String str, String str2) {
String packageName = this.hashCode.getRevenue.getMonetizationNetwork.getPackageName();
String str3 = zSXJwvlyd.vObpAqfl;
Intrinsics.checkNotNullExpressionValue(packageName, str3);
String component22 = this.hashCode.component2();
if (component22 != null && !StringsKt.H(component22)) {
component22 = o.h("-", StringsKt.a0(component22).toString());
}
if (component22 == null) {
component22 = str3;
}
String obj = StringsKt.a0(component22).toString();
Uri.Builder appendPath = Uri.parse(this.getMonetizationNetwork.AFAdRevenueData("https://%sdlsdk.%s/v1.0/android/")).buildUpon().appendPath(packageName + obj);
Intrinsics.checkNotNullExpressionValue(appendPath, str3);
if (str == null || str2 == null) {
String str4 = str == null ? "devKey" : "timestamp";
AFLogger.INSTANCE.e(AFg1cSDK.i, str4.concat(" is null at attempt to generate ddl event url"), new IllegalStateException(str4.concat(" is null")), true, false, false, true);
} else {
appendPath.appendQueryParameter("af_sig", AFj1cSDK.getRevenue(str2.concat(str), str));
}
String obj2 = appendPath.appendQueryParameter("sdk_version", AFa1tSDK.getRevenue).build().toString();
Intrinsics.checkNotNullExpressionValue(obj2, str3);
return obj2;
}
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 e.e(str, concat);
}
public final String getCurrencyIso4217Code(String str) {
return e.e(str, this.hashCode.getRevenue.getMonetizationNetwork.getPackageName());
}
public AFj1fSDK(AFc1pSDK aFc1pSDK, AFk1xSDK aFk1xSDK, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(aFc1pSDK, (i & 2) != 0 ? new AFk1zSDK() : aFk1xSDK);
}
public AFj1fSDK(com.appsflyer.internal.AFc1pSDK r3) {
throw new UnsupportedOperationException("Method not decompiled: com.appsflyer.internal.AFj1fSDK.<init>(com.appsflyer.internal.AFc1pSDK):void");
}
public static String AFAdRevenueData(String str, boolean z) {
return e.e(str, !z ? "&buildnumber=6.17.0" : "");
}
}