Proxy Master v3.4.9版本的 MD5 值为:14d0aa2468d13530c8f6e96bcc114bf5

以下内容为反编译后的 l6.java 源代码,内容仅作参考


package com.my.target;

import android.content.Context;
import com.my.target.nativeads.banners.NativeBanner;
import com.my.target.nativeads.banners.NativePromoBanner;
import com.tenjin.android.utils.adnetwork.IronSourceHelper;
import org.json.JSONException;
import org.json.JSONObject;
public final class l6 {
    public static String a(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, float f10, int i10, boolean z6, Context context) {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put(IronSourceHelper.KEY_INSTANCE_ID, q1.b().a(context));
            jSONObject.put("network", str);
            jSONObject.put("navigationType", str2);
            if (a(str3)) {
                jSONObject.put("title", str3);
            }
            if (a(str4)) {
                jSONObject.put("ctaText", str4);
            }
            if (a(str5)) {
                jSONObject.put("domain", str5);
            }
            if (a(str6)) {
                jSONObject.put("ageRestrictions", str6);
            }
            if (a(str7)) {
                jSONObject.put("disclaimer", str7);
            }
            if (f10 > 0.0f) {
                jSONObject.put("rating", String.valueOf(f10));
            }
            if (i10 > 0) {
                jSONObject.put("votes", String.valueOf(i10));
            }
            if (a(str8)) {
                jSONObject.put("description", str8);
            }
            if (z6) {
                jSONObject.put("hasVideo", "true");
            }
            return jSONObject.toString();
        } catch (JSONException unused) {
            return null;
        }
    }

    public static void a(String str, Context context) {
        if (str == null) {
            return;
        }
        z1.a().a("https://ad.mail.ru/mobile/adcontext", m1.b(str), context);
    }

    public static void a(String str, NativeBanner nativeBanner, Context context) {
        a(a(str, nativeBanner.getNavigationType(), nativeBanner.getTitle(), nativeBanner.getCtaText(), nativeBanner.getDomain(), nativeBanner.getAgeRestrictions(), nativeBanner.getDisclaimer(), nativeBanner.getDescription(), nativeBanner.getRating(), nativeBanner.getVotes(), false, context), context);
    }

    public static void a(String str, NativePromoBanner nativePromoBanner, Context context) {
        a(a(str, nativePromoBanner.getNavigationType(), nativePromoBanner.getTitle(), nativePromoBanner.getCtaText(), nativePromoBanner.getDomain(), nativePromoBanner.getAgeRestrictions(), nativePromoBanner.getDisclaimer(), nativePromoBanner.getDescription(), nativePromoBanner.getRating(), nativePromoBanner.getVotes(), nativePromoBanner.hasVideo(), context), context);
    }

    public static boolean a(String str) {
        return str != null && str.length() > 0;
    }

    public static void b(String str, NativeBanner nativeBanner, Context context) {
        c0.c(new androidx.fragment.app.c(str, 6, nativeBanner, context));
    }

    public static void b(String str, NativePromoBanner nativePromoBanner, Context context) {
        c0.c(new p0.d(str, 6, nativePromoBanner, context));
    }
}